--- configure.ac 2002/01/31 21:35:13 1.10
+++ configure.ac 2002/03/14 15:39:43 1.11
@@ -28,17 +28,13 @@
dnl ## configure.ac: GNU Autoconf source script
dnl ##
-AC_PREREQ(2.52)
-AC_REVISION(1.0)
-AC_INIT(README)
-
-AC_DIVERT_PUSH(NOTICE)
+AC_PREREQ(2.53)
+AC_INIT
SA_VERSION_STR=`./shtool version -l txt -d long VERSION`
-./shtool echo -e "Configuring %BOSSP sa%b (Socket Abstraction), Version %B${SA_VERSION_STR}%b"
+./shtool echo -e "Configuring %BOSSP sa%b (Socket Abstraction), version %B${SA_VERSION_STR}%b"
AC_SUBST(SA_VERSION_STR)
-AC_DIVERT_POP()
-AC_SET_MAKE
+AC_PROG_MAKE_SET
AC_PROG_CC
AC_CHECK_DEBUGGING
@@ -48,11 +44,11 @@
sinclude(sa.ac)
SA_CHECK_ALL
-AC_CHECK_EXTLIB([OSSP ex], ex, __ex_ctx, ex.h, [AC_DEFINE(WITH_EX)])
+AC_CHECK_EXTLIB([OSSP ex], ex, __ex_ctx, ex.h,
+ [AC_DEFINE(WITH_EX, 1, [Define to 1 if building with OSSP ex])])
AC_CONFIG_HEADERS(config.h)
-AC_CONFIG_FILES(Makefile sa-config)
+AC_CONFIG_FILES([Makefile sa-config])
+AC_CONFIG_COMMANDS([adjustment], [chmod a+x sa-config])
AC_OUTPUT
-chmod a+x sa-config
-
|