--- configure.ac 2002/01/30 19:28:42 1.19
+++ configure.ac 2002/03/14 15:29:23 1.20
@@ -27,20 +27,17 @@
dnl ## configure.in: Autoconf specification
dnl ##
-AC_PREREQ(2.52)dnl
-AC_REVISION(1.0)
-
-AC_INIT(README)
+AC_PREREQ(2.53)
+AC_INIT
AC_HEADLINE(dnl
OSSP l2, Logging Library, dnl
L2_VERSION, l2_version.c, dnl
[Copyright (c) 2001-2002 The OSSP Project (http://www.ossp.org/)
Copyright (c) 2001-2002 Cable & Wireless Deutschland (http://www.cw.com/de/)])
-AC_CONFIG_HEADER(l2_config.h)
AC_PREFIX_DEFAULT(/usr/local)
AC_PLATFORM(PLATFORM)
-AC_SET_MAKE
+AC_PROG_MAKE_SET
AC_PROG_CC
AC_PROG_CPP
AC_CHECK_DEBUGGING
@@ -80,20 +77,18 @@
case $PLATFORM in
*-*-solaris2.[[6-8]]* )
- AC_DEFINE(HAVE_VSYSLOG_USVALIST)
+ AC_DEFINE(HAVE_VSYSLOG_USVALIST, 1, [Define to 1 if vsyslog has underscored va_list])
;;
esac
sinclude(l2_ut_sa.ac)
SA_CHECK_ALL
-AC_CHECK_EXTLIB([Dmalloc], dmalloc, dmalloc_debug, dmalloc.h, AC_DEFINE(WITH_DMALLOC))
+AC_CHECK_EXTLIB([Dmalloc], dmalloc, dmalloc_debug, dmalloc.h,
+ [AC_DEFINE(WITH_DMALLOC, 1, [Define to 1 if building with Dmalloc])])
-AC_OUTPUT(dnl
-Makefile dnl
-l2.h dnl
-l2-config dnl
-,dnl
-chmod a+x l2-config
-)dnl
+AC_CONFIG_HEADERS(l2_config.h)
+AC_CONFIG_FILES([Makefile l2.h l2-config])
+AC_CONFIG_COMMANDS([adjustment], [chmod a+x l2-config])
+AC_OUTPUT
|