You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

configure.ac 1.4 KiB

1 year ago
1 year ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. AC_INIT([modemu2k],
  2. [0.0.6],
  3. [andy400-dev@yahoo.com],
  4. ,
  5. [https://github.com/theimpossibleastronaut/modemu2k])
  6. AC_CONFIG_AUX_DIR([build-aux])
  7. AC_CONFIG_MACRO_DIRS([build-aux/m4])
  8. AM_INIT_AUTOMAKE([-Wall subdir-objects foreign no-dependencies])
  9. AM_SILENT_RULES([yes])
  10. AC_PREREQ(2.69)
  11. AC_CONFIG_HEADERS([src/config.h:config.in])
  12. AX_IS_RELEASE([git-directory])
  13. # Define the variables listed in the second argument if debug is
  14. # enabled, defaulting to no variables. Defines the variables listed in
  15. # the third argument if debug is disabled, defaulting to NDEBUG. All
  16. # lists of variables should be space-separated.
  17. #
  18. # A "yes" value will be overridden by the value returned by AX_IS_RELEASE()
  19. AX_CHECK_ENABLE_DEBUG([yes])
  20. AC_PROG_CC
  21. AC_PROG_CC_STDC
  22. AX_CFLAGS_WARN_ALL
  23. AC_PROG_INSTALL
  24. # For creating the static test library
  25. AC_PROG_RANLIB
  26. AM_PROG_AR
  27. AM_PROG_LEX
  28. AM_GNU_GETTEXT([external], [need-formatstring-macros])
  29. AM_GNU_GETTEXT_VERSION([0.19.8])
  30. # This prevents the error shown in
  31. # https://github.com/theimpossibleastronaut/rmw/commit/90200c2df06b16f16b5d21d25c51966c0ee65b23#commitcomment-30291627
  32. # and https://github.com/theimpossibleastronaut/rmw/issues/21
  33. AM_MAINTAINER_MODE
  34. AC_CONFIG_FILES([ Makefile
  35. src/Makefile
  36. man/Makefile
  37. tests/Makefile
  38. scripts/Makefile
  39. po/Makefile.in])
  40. AC_CONFIG_FILES([scripts/m2k-minicom.sh], [chmod +x scripts/m2k-minicom.sh])
  41. AC_OUTPUT