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.4.0], [rgerhards@adiscon.com]) | AC_INIT([libee], [0.4.1], [rgerhards@adiscon.com]) | |||
AM_INIT_AUTOMAKE | AM_INIT_AUTOMAKE | |||
AM_SILENT_RULES([yes]) | m4_ifdef([AM_SILENT_RULES], [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 | AC_SEARCH_LIBS(pow, m) | |||
LIBS=-lm | ||||
#AC_SEARCH_LIBS(clock_gettime, rt) | ||||
rt_libs=$LIBS | rt_libs=$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( | |||
# [HAVE_LIBXML2_CONFIG], | # [HAVE_LIBXML2_CONFIG], | |||
End of changes. 4 change blocks. | ||||
6 lines changed or deleted | 3 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/ |