configure.ac 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. # This file is processed by autoconf to create a configure script
  2. AC_INIT([pinkybar], [1.0.0])
  3. AC_CONFIG_AUX_DIR([temp_dir])
  4. AC_CONFIG_MACRO_DIR([m4])
  5. AC_CONFIG_HEADERS([src/config.h])
  6. # -Werror -Wportability
  7. AM_INIT_AUTOMAKE([1.13 -Wall no-define foreign subdir-objects dist-xz no-dist-gzip std-options])
  8. AM_SILENT_RULES([yes])
  9. {perl will replace this line}
  10. # With the addition of more runtime compile and
  11. # link tests, this option is no longer necessary.
  12. # Any compiler and C library succeeding to pass the
  13. # tests will be able to compile and run the
  14. # program flawlessly.
  15. # If you use OpenBSD uncomment the AC_PROG_CC([])
  16. # line below. Make sure that you have the latest gcc/llvm
  17. # AC_PROG_CC([egcc clang llvm-gcc gcc])
  18. AC_PROG_CC_C99
  19. AC_C_CONST
  20. AC_HEADER_STDC
  21. AM_PROG_CC_C_O
  22. # AM_EXTRA_RECURSIVE_TARGETS([ncurses])
  23. # The linker flags tests in m4 dir
  24. TEST_SOME_FUNCS
  25. TEST_NET
  26. TEST_PCI
  27. TEST_X11
  28. TEST_ALSA
  29. TEST_MPD
  30. TEST_DVD
  31. TEST_SENSORS
  32. TEST_TYPEZ
  33. TEST_WEATHER
  34. TEST_PERL
  35. TEST_PYTHON
  36. TEST_LUA
  37. TEST_RUBY
  38. TEST_CFLAGZ
  39. AC_CONFIG_FILES([
  40. Makefile
  41. src/Makefile
  42. ])
  43. AC_OUTPUT
  44. echo
  45. echo 'Now type \"make\" and \"make install\" afterwards'
  46. echo