Simplify compiler detection.
authorTim Retout <diocles@gnu.org>
Tue, 1 Jan 2008 23:45:09 +0000 (23:45 +0000)
committerTim Retout <diocles@gnu.org>
Tue, 1 Jan 2008 23:45:09 +0000 (23:45 +0000)
ChangeLog
configure.in

index d588d31..577436c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2008-01-01  Tim Retout  <diocles@gnu.org>
 
+       * configure.in: Remove --with-cc option from configure script.
+       Remove test for empty CC from around AC_PROG_CC macro.
+
        * configure.in (AC_INIT): Change bug report address to
        <bug-enscript@gnu.org>.
        Change package name to `GNU Enscript'.
index 5ec1988..5aca44d 100644 (file)
@@ -11,23 +11,7 @@ AC_REVISION($Revision: 1.1.1.1 $)
 
 AC_PROG_INSTALL
 
-AC_ARG_WITH(cc,
-[  --with-cc(=CC)        use system's native compiler (or compiler CC)],
-  if test "X$withval" != "Xno"; then
-    if test "X$withval" = "Xyes"; then
-      CC='cc'
-    else
-      CC=$withval
-    fi
-    CFLAGS="$CFLAGS -I/usr/local/include"
-    LDFLAGS="$LDFLAGS -L/usr/local/lib"
-    echo "using compiler CC=$CC"
-  fi
-)
-
-if test "X$CC" = "X"; then
-  AC_PROG_CC
-fi
+AC_PROG_CC
 
 AC_ISC_POSIX
 AM_C_PROTOTYPES