summaryrefslogtreecommitdiff
blob: 27debd5b67c525c4c05e9431ee7faa27e5bd9cdc (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
28
29
30
31
32
33
34
35
36
37
38
39
--- configure.old	2004-09-03 06:49:36.454205056 +0900
+++ configure	2004-09-03 09:24:10.924271296 +0900
@@ -19247,6 +19247,7 @@
 done
 
 
+CFLAGS="${CFLAGS}"
 
 # Check whether --enable-doc-compilation or --disable-doc-compilation was given.
 if test "${enable_doc_compilation+set}" = set; then
@@ -19844,16 +19845,16 @@
   enableval="$enable_debug"
   echo FEATURE enable-debug... $enableval;
 if test "$enableval" = "yes"; then
-	SELLIB=libsdif-debug.la; CFLAGS="-g2";
+	SELLIB=libsdif-debug.la; CFLAGS="${CFLAGS} -g2";
 	PROGLIST="querysdif-debug\$(EXEEXT) sdifextract-debug\$(EXEEXT) sdiftotext-debug\$(EXEEXT) tosdif-debug\$(EXEEXT)";
 
 else
-	SELLIB=libsdif.la;  CFLAGS="-O3";
+	SELLIB=libsdif.la;
 	PROGLIST="querysdif\$(EXEEXT) sdifextract\$(EXEEXT) sdiftotext\$(EXEEXT) tosdif\$(EXEEXT)";
 fi
 else
 
-SELLIB=libsdif.la; CFLAGS="-O3";
+SELLIB=libsdif.la;
 PROGLIST="querysdif\$(EXEXT) sdifextract\$(EXEEXT) sdiftotext\$(EXEEXT) tosdif\$(EXEEXT)";
 
 fi;
@@ -19865,7 +19866,7 @@
   enableval="$enable_profile"
   echo FEATURE enable-profile... $enableval;
 if test "$enableval" = "yes"; then
-	SELLIB=libsdif-profile.la; CFLAGS="-g -pg -fprofile-arcs";
+	SELLIB=libsdif-profile.la; CFLAGS="${CFLAGS} -g -pg -fprofile-arcs";
 	PROGLIST="querysdif-profile\$(EXEEXT) sdifextract-profile\$(EXEEXT) sdiftotext-profile\$(EXEEXT) tosdif-profile\$(EXEEXT)";
 fi
 else