From: Tim Retout Date: Tue, 1 Jan 2008 23:45:09 +0000 (+0000) Subject: Simplify compiler detection. X-Git-Tag: v1.6.4.90~36 X-Git-Url: http://git.savannah.gnu.org/gitweb/?p=enscript.git;a=commitdiff_plain;h=42cef2046dd18b649f8423957dbde81b07c186f2 Simplify compiler detection. --- diff --git a/ChangeLog b/ChangeLog index d588d31..577436c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2008-01-01 Tim Retout + * 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 . Change package name to `GNU Enscript'. diff --git a/configure.in b/configure.in index 5ec1988..5aca44d 100644 --- a/configure.in +++ b/configure.in @@ -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