Simplify compiler detection.
[enscript.git] / configure.in
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