--- configure.ac 2002/01/02 17:09:13 1.8
+++ configure.ac 2002/03/14 15:49:51 1.9
@@ -2,20 +2,16 @@
dnl ## Autoconf specification for STR library
dnl ##
-AC_PREREQ(2.52)dnl
-AC_REVISION(1.0)
-
-AC_INIT(README)
+AC_PREREQ(2.53)
+AC_INIT
AC_HEADLINE(dnl
-OSSP Str, String Library, dnl
+OSSP str, String Library, dnl
STR_VERSION, str_version.c, dnl
[Copyright (c) 1999-2002 The OSSP Project <http://www.ossp.org>
Copyright (c) 1999-2002 Ralf S. Engelschall <rse@engelschall.com>])
-AC_CONFIG_HEADER(str_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
@@ -35,13 +31,11 @@
AC_CHECK_FUNC(modf, , AC_CHECK_LIB(m, modf))
-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
-str.h dnl
-str-config dnl
-,dnl
-chmod a+x str-config
-)dnl
+AC_CONFIG_HEADERS(str_config.h)
+AC_CONFIG_FILES([Makefile str.h str-config])
+AC_CONFIG_COMMANDS([adjustment], [chmod a+x str-config])
+AC_OUTPUT
|