configure.ac 406 B

123456789101112131415161718192021222324
  1. AC_INIT([template], 1.0)
  2. AC_CONFIG_MACRO_DIR([m4])
  3. AC_CANONICAL_TARGET
  4. AM_INIT_AUTOMAKE
  5. AC_PROG_CC
  6. AC_PROG_CXX
  7. AC_LANG([C++])
  8. LT_INIT([disable-static])
  9. LT_INIT
  10. CFLAGS="${CFLAGS} -Wall -Wextra -Werror -g3"
  11. CXXFLAGS="${CXXFLAGS} -std=c++11 -O3 -Wall -Wextra -Werror -g3"
  12. AC_SUBST([AM_CXXFLAGS])
  13. AC_SUBST([AM_CFLAGS])
  14. AC_REQUIRE_AUX_FILE([tap-driver.sh])
  15. AC_PROG_AWK
  16. AC_CONFIG_FILES(Makefile)
  17. AC_OUTPUT