Annotation of embedaddon/confuse/configure.ac, revision 1.1.1.1

1.1       misho       1: dnl Process this file with -*- autoconf -*- to produce a configure script.
                      2: 
                      3: AC_PREREQ(2.50)
                      4: 
                      5: AC_INIT(libConfuse, 2.7, confuse-devel@nongnu.org, confuse)
                      6: AC_CONFIG_AUX_DIR(support)
                      7: AM_MAINTAINER_MODE
                      8: AM_INIT_AUTOMAKE
                      9: AM_CONFIG_HEADER(config.h)
                     10: AC_CONFIG_SRCDIR(src/confuse.c)
                     11: 
                     12: # Checks for programs.
                     13: # disable unnecessary compiler checks
                     14: AC_DEFUN([AC_PROG_F77], [:])
                     15: AC_DEFUN([AC_PROG_FC], [:])
                     16: AC_DEFUN([AC_PROG_CXX], [:])
                     17: AC_DEFUN([AC_PROG_CXXCPP], [:])
                     18: AC_DEFUN([AC_PROG_OBJC], [:])
                     19: AC_DEFUN([AC_PROG_OBJCCPP], [:])
                     20: AC_DEFUN([AC_LIBTOOL_CXX], [:])
                     21: AC_DEFUN([AC_LIBTOOL_F77], [:])
                     22: AC_PROG_CC
                     23: AM_PROG_LEX
                     24: AC_DISABLE_SHARED
                     25: AC_PROG_LIBTOOL
                     26: 
                     27: # optional building of examples:
                     28: AC_ARG_ENABLE([examples],
                     29:        [AC_HELP_STRING([--disable-examples], [don't build examples in examples])],
                     30:        [], [enable_examples=yes])
                     31: AM_CONDITIONAL([ENABLE_EXAMPLES], [test "$enable_examples" = yes])
                     32: 
                     33: AM_GNU_GETTEXT([external])
                     34: AM_GNU_GETTEXT_VERSION([0.16.1])
                     35: 
                     36: # Checks for header files.
                     37: AC_HEADER_STDC
                     38: AC_CHECK_HEADERS([unistd.h])
                     39: 
                     40: # Checks for typedefs, structures, and compiler characteristics.
                     41: AC_C_CONST
                     42: 
                     43: # Checks for library functions.
                     44: AC_CHECK_FUNCS([strcasecmp strdup strndup])
                     45: 
                     46: dnl Check for the library containing inet_aton/inet_ntoa (for tests)
                     47: AC_SEARCH_LIBS([inet_ntoa], [socket nsl])
                     48: 
                     49: AC_CONFIG_FILES([Makefile \
                     50:                 src/Makefile \
                     51:                 examples/Makefile \
                     52:                  po/Makefile.in \
                     53:                 m4/Makefile \
                     54:                 tests/Makefile \
                     55:                 doc/Makefile \
                     56:                  doc/Doxyfile \
                     57:                 libconfuse.pc \
                     58:                 libconfuse.spec])
                     59: AC_OUTPUT
                     60: 

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