OSSP CVS Repository

ossp - Check-in [1987]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 1987
Date: 2002-Mar-09 20:39:57 (local)
2002-Mar-09 19:39:57 (UTC)
User:rse
Branch:
Comment: require an ISO-C compliant compiler
Tickets:
Inspections:
Files:
ossp-pkg/var/aclocal.m4      1.5 -> 1.6     8 inserted, 0 deleted
ossp-pkg/var/configure.ac      1.11 -> 1.12     1 inserted, 1 deleted

ossp-pkg/var/aclocal.m4 1.5 -> 1.6

--- aclocal.m4   2002/03/08 12:55:52     1.5
+++ aclocal.m4   2002/03/09 19:39:57     1.6
@@ -28,6 +28,14 @@
 dnl ##  aclocal.m4: GNU Autoconf local macro definitions
 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 ##


ossp-pkg/var/configure.ac 1.11 -> 1.12

--- configure.ac 2002/03/09 19:23:37     1.11
+++ configure.ac 2002/03/09 19:39:57     1.12
@@ -37,7 +37,7 @@
 
 dnl #   checks for build programs
 AC_PROG_MAKE_SET
-AC_PROG_CC
+EN_PROG_CC
 AC_CHECK_DEBUGGING
 sinclude(libtool.m4)
 AC_PROG_LIBTOOL

CVSTrac 2.0.1