Diff for /libaitcfg/configure.in between versions 1.1.2.1 and 1.24

version 1.1.2.1, 2008/09/30 14:33:36 version 1.24, 2017/06/30 08:44:44
Line 1 Line 1
AC_INIT(libaitcfg, 3.0, misho@openbsd-bg.org)#
 # $Author$
 # $Id$
 #
 AC_INIT(libaitcfg, 7.9, misho@elwix.org)
 AC_CONFIG_SRCDIR([src/aitcfg.c])  AC_CONFIG_SRCDIR([src/aitcfg.c])
 AC_CONFIG_HEADERS([inc/config.h])  AC_CONFIG_HEADERS([inc/config.h])
   
   ac_cv_func_malloc_0_nonnull="yes"
   ac_cv_func_realloc_0_nonnull="yes"
   
 # Checks for programs.  # Checks for programs.
 AC_PROG_CC  AC_PROG_CC
 AC_PROG_INSTALL  AC_PROG_INSTALL
   AC_PROG_RANLIB
   
 AC_CANONICAL_HOST  AC_CANONICAL_HOST
 AC_CANONICAL_TARGET  AC_CANONICAL_TARGET
   
AC_CHECK_TOOL(MKDEP, mkdep, no)AC_CHECK_TOOL(MKDEP, mkdep, ../mkdep)
 AC_SUBST(MKDEP)  AC_SUBST(MKDEP)
   
CFLAGS="-Wall -O2 -fPIC -I/usr/local/include ${CFLAGS}"CFLAGS="-Wall -O2 -fPIC ${CFLAGS}"
LDFLAGS="-L/usr/local/lib ${LDFLAGS}"LDFLAGS="${LDFLAGS}"
   
 # Checks for libraries.  # Checks for libraries.
   AC_CHECK_LIB([pthread], [pthread_mutex_lock])
   AC_CHECK_LIB([elwix], [str_Trim])
   
 # Checks for header files.  # Checks for header files.
   
Line 28  AC_FUNC_MALLOC Line 38  AC_FUNC_MALLOC
 AC_FUNC_REALLOC  AC_FUNC_REALLOC
 AC_CHECK_FUNCS([bzero memmove memset strchr strspn])  AC_CHECK_FUNCS([bzero memmove memset strchr strspn])
   
   DEBUG=no
 AC_MSG_CHECKING(Debug Build)  AC_MSG_CHECKING(Debug Build)
 AC_ARG_ENABLE(debug,  AC_ARG_ENABLE(debug,
         [  --enable-debug          Build library with debug information and additional messages],          [  --enable-debug          Build library with debug information and additional messages],
Line 35  AC_ARG_ENABLE(debug, Line 46  AC_ARG_ENABLE(debug,
                 case "$enableval" in                  case "$enableval" in
                         yes)                          yes)
                                 AC_DEFINE(__DEBUG,, [Build libraries with debug information and additional messages])                                  AC_DEFINE(__DEBUG,, [Build libraries with debug information and additional messages])
                                   CFLAGS="-g ${CFLAGS}"
                                 ;;                                  ;;
                         *)                          *)
                                   AC_DEFINE(NDEBUG,, [No debug, remove asserts])
                                 ;;                                  ;;
                 esac ],)                  esac ],)
 AC_MSG_RESULT($DEBUG)  AC_MSG_RESULT($DEBUG)

Removed from v.1.1.2.1  
changed lines
  Added in v.1.24


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>