afec5bbcdb
PR: 22987 Submitted by: MAINTAINER
27 lines
624 B
Text
27 lines
624 B
Text
--- configure.orig Mon May 22 01:47:06 1995
|
|
+++ configure Sat Nov 18 02:56:37 2000
|
|
@@ -1,7 +1,7 @@
|
|
#
|
|
# configure script
|
|
#
|
|
-CC=cc
|
|
+alias type=which
|
|
|
|
compile='$CC -o conftest conftest.c >/dev/null 2>&1'
|
|
compiled_ok='test -s conftest && (./conftest) >/dev/null 2>/dev/null;'
|
|
@@ -151,11 +151,11 @@
|
|
#
|
|
echo Checking for cc
|
|
if test -z "$CC" && type cc >/dev/null 2>/dev/null ; then
|
|
- CC=cc
|
|
- CFLAGS="-g $(DEFINES)"
|
|
+ CC="$CC"
|
|
+ CFLAGS="$CFLAGS $(DEFINES)"
|
|
else
|
|
- CC=gcc
|
|
- CFLAGS="-g -W -Wunused -Wpointer-arith -Wswitch \$(DEFINES)"
|
|
+ CC="$CC"
|
|
+ CFLAGS="$CFLAGS -W -Wunused -Wpointer-arith -Wswitch \$(DEFINES)"
|
|
fi
|
|
|
|
#
|