Simplify compiler detection. - enscript - GNU Enscript
 (HTM) git clone git://thinkerwim.org/enscript.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 42cef2046dd18b649f8423957dbde81b07c186f2
 (DIR) parent 6d1c76ba8b526f6654474d82fe1fe9f83da6b384
 (HTM) Author: Tim Retout <diocles@gnu.org>
       Date:   Tue,  1 Jan 2008 23:45:09 +0000
       
       Simplify compiler detection.
       
       Diffstat:
         M ChangeLog                           |       3 +++
         M configure.in                        |      18 +-----------------
       
       2 files changed, 4 insertions(+), 17 deletions(-)
       ---
 (DIR) diff --git 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'.
 (DIR) diff --git 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