Diff for /embedaddon/confuse/configure.ac between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2017/01/24 14:48:55 version 1.1.1.2, 2021/03/17 00:49:17
Line 1 Line 1
dnl Process this file with -*- autoconf -*- to produce a configure script.# Process this file with -*- autoconf -*- to produce a configure script.
# The bundled autogen.sh script does this and also calls autoamake. 
 AC_PREREQ(2.50)  AC_PREREQ(2.50)
   
AC_INIT(libConfuse, 2.7, confuse-devel@nongnu.org, confuse)AC_INIT(libConfuse, 3.3, https://github.com/martinh/libconfuse/issues, confuse)
 AC_CONFIG_AUX_DIR(support)  AC_CONFIG_AUX_DIR(support)
AM_MAINTAINER_MODEAM_INIT_AUTOMAKE([foreign dist-xz])
AM_INIT_AUTOMAKEAM_SILENT_RULES([no])
 
 AM_CONFIG_HEADER(config.h)  AM_CONFIG_HEADER(config.h)
 AC_CONFIG_SRCDIR(src/confuse.c)  AC_CONFIG_SRCDIR(src/confuse.c)
   
 # Checks for programs.  # Checks for programs.
 # disable unnecessary compiler checks  
 AC_DEFUN([AC_PROG_F77], [:])  
 AC_DEFUN([AC_PROG_FC], [:])  
 AC_DEFUN([AC_PROG_CXX], [:])  
 AC_DEFUN([AC_PROG_CXXCPP], [:])  
 AC_DEFUN([AC_PROG_OBJC], [:])  
 AC_DEFUN([AC_PROG_OBJCCPP], [:])  
 AC_DEFUN([AC_LIBTOOL_CXX], [:])  
 AC_DEFUN([AC_LIBTOOL_F77], [:])  
 AC_PROG_CC  AC_PROG_CC
   AM_PROG_AR
 AM_PROG_LEX  AM_PROG_LEX
 AC_DISABLE_SHARED  
 AC_PROG_LIBTOOL  
   
   LT_INIT([win32-dll])
   
 # optional building of examples:  # optional building of examples:
 AC_ARG_ENABLE([examples],  AC_ARG_ENABLE([examples],
         [AC_HELP_STRING([--disable-examples], [don't build examples in examples])],          [AC_HELP_STRING([--disable-examples], [don't build examples in examples])],
         [], [enable_examples=yes])          [], [enable_examples=yes])
 AM_CONDITIONAL([ENABLE_EXAMPLES], [test "$enable_examples" = yes])  AM_CONDITIONAL([ENABLE_EXAMPLES], [test "$enable_examples" = yes])
   
   # 0.18.2.1 updates AM_GNU_GETTEXT() to use AC_PROG_MKDIR_P instead of
   # AM_PROG_MKDIR_P, but 0.18.1.1 is included in Ubuntu 12.04 LTS.
   # Fortunately Ubuntu 14.04 LTS ships 0.18.3.1 and Debian Jessie 0.19.3
   # Unfortunately CentOS7, RHEL7 ships 0.18.2.1, so for best compat.
   # level at this point in time we set 0.18.2.
 AM_GNU_GETTEXT([external])  AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION([0.16.1])AM_GNU_GETTEXT_VERSION([0.18.2])
   
 # Checks for header files.  # Checks for header files.
 AC_HEADER_STDC  AC_HEADER_STDC
AC_CHECK_HEADERS([unistd.h])AC_CHECK_HEADERS([unistd.h string.h strings.h sys/stat.h windows.h])
   
 # Checks for typedefs, structures, and compiler characteristics.  # Checks for typedefs, structures, and compiler characteristics.
 AC_C_CONST  AC_C_CONST
   
 # Checks for library functions.  # Checks for library functions.
AC_CHECK_FUNCS([strcasecmp strdup strndup])AC_CHECK_FUNCS([fmemopen funopen reallocarray strcasecmp strdup strndup setenv unsetenv _putenv])
   
dnl Check for the library containing inet_aton/inet_ntoa (for tests)# Set conditional includes in Makefile.am
AC_SEARCH_LIBS([inet_ntoa], [socket nsl])AM_CONDITIONAL(MISSING_FMEMOPEN, [test "x$ac_cv_func_fmemopen" = "xno"])
 AM_CONDITIONAL(MISSING_REALLOCARRAY, [test "x$ac_cv_func_reallocarray" = "xno"])
 AM_CONDITIONAL(WINDOWS_BUILD, [test "x$ac_cv_header_windows_h" = "xyes"])
   
   # Files to generate
 AC_CONFIG_FILES([Makefile \  AC_CONFIG_FILES([Makefile \
                  src/Makefile \                   src/Makefile \
                  examples/Makefile \                   examples/Makefile \

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


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