--- aclocal.m4 2002/03/08 15:59:07 1.8
+++ aclocal.m4 2002/03/26 17:11:06 1.9
@@ -1,11 +1,11 @@
dnl ##
dnl ## OSSP rc - Run-command processor
+dnl ## Copyright (c) 2002 Ralf S. Engelschall
dnl ## Copyright (c) 2002 Cable & Wireless Deutschland GmbH
dnl ## Copyright (c) 2002 The OSSP Project <http://www.ossp.org/>
-dnl ## Copyright (c) 2002 Ralf S. Engelschall
dnl ##
dnl ## This file is part of OSSP rc, a portable Run-command processor
-dnl ## which can be found at http://www.ossp.org/pkg/rc/
+dnl ## which can be found at http://www.ossp.org/pkg/lib/rc/
dnl ##
dnl ## Permission to use, copy, modify, and distribute this software for
dnl ## any purpose with or without fee is hereby granted, provided that
@@ -58,7 +58,6 @@
dnl ##
AC_DEFUN(AC_HEADLINE,[dnl
-AC_DIVERT_PUSH(NOTICE)dnl
# configuration header
if test ".`echo dummy [$]@ | grep help`" = .; then
# bootstrapping shtool
@@ -85,10 +84,21 @@
$3_HEX="`$ac_shtool version -l c -d hex $ac_srcdir/$4`"
AC_SUBST($3_HEX)
fi
-AC_DIVERT_POP()
])dnl
dnl ##
+dnl ## Check whether compiler is ISO standard
+dnl ##
+
+AC_DEFUN(EN_PROG_CC,[dnl
+ AC_PROG_CC
+ AC_PROG_CC_STDC
+ if test ".$ac_cv_prog_cc_stdc" = .no; then
+ AC_MSG_ERROR([require an ANSI/ISO C compliant compiler])
+ fi
+])
+
+dnl ##
dnl ## Check whether compiler option works
dnl ##
dnl ## configure.in:
@@ -150,7 +160,7 @@
esac
fi
msg="enabled"
-dnl AC_DEFINE(DEBUG)
+AC_DEFINE(DEBUG, 1, [Define to 1 if you want to enable debugging])
],[
if test ".$ac_cv_prog_gcc" = ".yes"; then
case "$CFLAGS" in
|