blob: 8f349cd1c23bb8ead21b5eb3e33d097f8ad25acf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
--- 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
#
|