2013-11-26 19:09:36 +04:00
|
|
|
# gf-complete autoconf template
|
|
|
|
|
|
|
|
# FIXME - add project url as the last argument
|
|
|
|
AC_INIT(gf-complete, 1.0)
|
|
|
|
|
|
|
|
AC_PREREQ([2.61])
|
|
|
|
|
2014-01-07 20:36:44 +04:00
|
|
|
AM_INIT_AUTOMAKE([no-dependencies], [foreign])
|
2013-11-26 19:09:36 +04:00
|
|
|
LT_INIT # libtool
|
|
|
|
|
|
|
|
AC_CONFIG_HEADER(include/config.h)
|
|
|
|
|
|
|
|
dnl Needed when reconfiguring with 'autoreconf -i -s'
|
|
|
|
AC_CONFIG_MACRO_DIR([m4])
|
|
|
|
|
2013-12-31 04:31:54 +04:00
|
|
|
# This prevents './configure; make' from trying to run autotools.
|
|
|
|
AM_MAINTAINER_MODE([disable])
|
|
|
|
|
2013-12-08 04:00:12 +04:00
|
|
|
# Override default CFLAGS
|
2014-04-10 19:20:42 +04:00
|
|
|
CFLAGS="-Wall -Wpointer-arith -O3 -g"
|
2013-12-08 04:00:12 +04:00
|
|
|
|
2013-11-26 19:09:36 +04:00
|
|
|
dnl Compiling with per-target flags requires AM_PROG_CC_C_O.
|
|
|
|
AC_PROG_CC
|
|
|
|
|
|
|
|
AX_EXT()
|
|
|
|
|
|
|
|
AC_CONFIG_FILES([Makefile src/Makefile tools/Makefile test/Makefile examples/Makefile])
|
|
|
|
AC_OUTPUT
|