configure.ac | configure.ac | |||
---|---|---|---|---|
-*- Autoconf -*- | -*- Autoconf -*- | |||
# Process this file with autoconf to produce a configure script. | # Process this file with autoconf to produce a configure script. | |||
AC_PREREQ(2.61) | AC_PREREQ(2.61) | |||
AC_INIT([libee], [0.3.2], [rgerhards@adiscon.com]) | AC_INIT([libee], [0.4.0], [rgerhards@adiscon.com]) | |||
AM_INIT_AUTOMAKE | AM_INIT_AUTOMAKE | |||
AM_SILENT_RULES([yes]) | AM_SILENT_RULES([yes]) | |||
AC_CONFIG_SRCDIR([src/ctx.c]) | AC_CONFIG_SRCDIR([src/ctx.c]) | |||
AC_CONFIG_HEADER([config.h]) | AC_CONFIG_HEADER([config.h]) | |||
# Checks for programs. | # Checks for programs. | |||
AC_PROG_CC | AC_PROG_CC | |||
AM_PROG_CC_C_O | AM_PROG_CC_C_O | |||
if test "$GCC" = "yes" | if test "$GCC" = "yes" | |||
then CFLAGS="$CFLAGS -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpoi nter-arith -Wmissing-format-attribute -g" | then CFLAGS="$CFLAGS -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpoi nter-arith -Wmissing-format-attribute -g" | |||
fi | fi | |||
AC_PROG_LIBTOOL | AC_PROG_LIBTOOL | |||
# Checks for libraries. | # Checks for libraries. | |||
save_LIBS=$LIBS | save_LIBS=$LIBS | |||
LIBS= | LIBS=-lm | |||
#AC_SEARCH_LIBS(clock_gettime, rt) | #AC_SEARCH_LIBS(clock_gettime, rt) | |||
#rt_libs=$LIBS | rt_libs=$LIBS | |||
LIBS=$save_LIBS | LIBS=$save_LIBS | |||
# We CURRENTLY do NOT need libxml, but this will change at a later stage. | # We CURRENTLY do NOT need libxml, but this will change at a later stage. | |||
# If we need libxml, we need it for features which some may not find essent ial. | # If we need libxml, we need it for features which some may not find essent ial. | |||
# The idea is to make these features optional, and thus save the libxml dep endency | # The idea is to make these features optional, and thus save the libxml dep endency | |||
# under some circumstances. This will be added as need arises. As such, for | # under some circumstances. This will be added as need arises. As such, for | |||
# the time being, we simply comment out the code. Please do not remove it, | # the time being, we simply comment out the code. Please do not remove it, | |||
# as we will need it back in again some time in the future. | # as we will need it back in again some time in the future. | |||
# rgerhards, 2011-04-01 (NOT an april fools day joke!) | # rgerhards, 2011-04-01 (NOT an april fools day joke!) | |||
#AC_CHECK_PROG( | #AC_CHECK_PROG( | |||
skipping to change at line 73 | skipping to change at line 73 | |||
#AC_HEADER_TIME | #AC_HEADER_TIME | |||
#AC_STRUCT_TM | #AC_STRUCT_TM | |||
# Checks for library functions. | # Checks for library functions. | |||
AC_FUNC_MALLOC | AC_FUNC_MALLOC | |||
#AC_FUNC_SELECT_ARGTYPES | #AC_FUNC_SELECT_ARGTYPES | |||
#AC_TYPE_SIGNAL | #AC_TYPE_SIGNAL | |||
#AC_CHECK_FUNCS([]) | #AC_CHECK_FUNCS([]) | |||
LIBEE_CFLAGS="-I\$(top_srcdir)/include" | LIBEE_CFLAGS="-I\$(top_srcdir)/include" | |||
LIBEE_LIBS="\$(top_builddir)/src/libee.la" | LIBEE_LIBS="\$(top_builddir)/src/libee.la -lm" | |||
AC_SUBST(LIBEE_CFLAGS) | AC_SUBST(LIBEE_CFLAGS) | |||
AC_SUBST(LIBEE_LIBS) | AC_SUBST(LIBEE_LIBS) | |||
# modules we require | # modules we require | |||
PKG_CHECK_MODULES(LIBESTR, libestr >= 0.0.0) | PKG_CHECK_MODULES(LIBESTR, libestr >= 0.0.0) | |||
# enable/disable the testbench (e.g. because some important parts | # enable/disable the testbench (e.g. because some important parts | |||
# are missing) | # are missing) | |||
AC_ARG_ENABLE(testbench, | AC_ARG_ENABLE(testbench, | |||
[AS_HELP_STRING([--enable-testbench],[file input module enabled @<: @default=yes@:>@])], | [AS_HELP_STRING([--enable-testbench],[file input module enabled @<: @default=yes@:>@])], | |||
End of changes. 4 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |