autogen.sh 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. #!/bin/sh
  2. # pkg-config --cflags gtk+-3.0
  3. # pkg-config --cflags gtk+-2.0
  4. # pkg-config --cflags gtk+-1.0
  5. # (or use sh -x to see what is going on)
  6. #
  7. # /*
  8. # * This program is free software: you can redistribute it and/or modify
  9. # * it under the terms of the GNU General Public License as published by
  10. # * the Free Software Foundation, either version 3 of the License, or
  11. # * (at your option) any later version.
  12. # *
  13. # * This program is distributed in the hope that it will be useful,
  14. # * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. # * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. # * GNU General Public License for more details.
  17. # *
  18. # * You should have received a copy of the GNU General Public License
  19. # * along with this program. If not, see <http://www.gnu.org/licenses/>.
  20. # *
  21. # * SPDX-License-Identifier: GPL-3.0+
  22. # * License-Filename: LICENSE
  23. # *
  24. # *
  25. # */
  26. #
  27. # sparse llvm c compiler CC=sparsec
  28. # llvm-clang compiler CC=clang
  29. #
  30. # If environment variable DRYRUN is set, no configuring will be done -
  31. # (e.g. in bash) DRYRUN=1 ./autogen.sh
  32. # will not do any configuring but will emit the programs that would be run.
  33. #
  34. # This is basically:
  35. # aclocal -I m4
  36. # autoheader
  37. # autoconf
  38. # automake --copy --add-missing --force-missing --include-deps --foreign
  39. #
  40. # or: autoreconf -fvim
  41. #
  42. # libtool version 2.2, 2.4 tested http://ftp.gnu.org/gnu/libtool
  43. #
  44. rm -f -r -d m4
  45. rm -f -r -d autom4te.cache
  46. rm -f ./configure
  47. rm -f ./Makefile
  48. rm -f ./Makefile.in
  49. mkdir m4
  50. aclocal
  51. autoheader
  52. libtoolize --force --copy
  53. automake --add-missing --copy --foreign
  54. autoconf
  55. ./configure
  56. make clean
  57. ./dmake
  58. # end.