1AC_INIT(libfputils, 1.0, andreas@sandberg.pp.se) 2 3AC_CONFIG_MACRO_DIR([m4]) 4 5AM_INIT_AUTOMAKE([foreign -Wall]) 6 7DX_PDF_FEATURE(OFF) 8DX_PS_FEATURE(OFF) 9DX_MAN_FEATURE(OFF) 10DX_INIT_DOXYGEN([libfputils]) 11 12AC_REQUIRE_AUX_FILE([tap-driver.sh]) 13 14AC_PROG_CC 15AC_PROG_CC_C99 16AC_PROG_LIBTOOL 17AC_PROG_AWK 18 19if test "x$ac_cv_prog_cc_c99" = "xno"; then 20 AC_MSG_ERROR([Could not enable C99 support in compiler.]) 21fi 22 23AM_CFLAGS="-Wall -Werror" 24AM_CPPFLAGS="-I\$(abs_top_srcdir)/include" 25 26AC_SUBST(AM_CFLAGS) 27AC_SUBST(AM_CPPFLAGS) 28 29AC_CONFIG_HEADERS([config.h]) 30 31AC_CONFIG_FILES([ \ 32 Doxyfile \ 33 Makefile \ 34 tests/Makefile \ 35]) 36AC_OUTPUT 37