summaryrefslogtreecommitdiff
path: root/graphics/reallyslick/files/patch-configure
blob: da4910b18e6834a4c661a9c59f5004e814b6abbb (plain) (blame)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
--- configure.bak	2009-05-22 00:53:12.000000000 +0900
+++ configure	2009-05-22 00:55:34.000000000 +0900
@@ -3357,7 +3357,7 @@
   fi
 else
   if test "$GCC" = yes; then
-    CFLAGS="-O2"
+    CFLAGS="$CFLAGS"
   else
     CFLAGS=
   fi
@@ -5047,7 +5047,7 @@
 
 
 if test "x$GCC" = xyes; then
-	CFLAGS="-O2"
+	CFLAGS="$CFLAGS"
 fi
 # Check whether --enable-debug was given.
 if test "${enable_debug+set}" = set; then
@@ -5411,7 +5411,7 @@
   fi
 else
   if test "$GXX" = yes; then
-    CXXFLAGS="-O2"
+    CXXFLAGS="$CXXFLAGS"
   else
     CXXFLAGS=
   fi
@@ -5532,7 +5532,7 @@
 
 
 if test "x$GXX" = xyes; then
-	CXXFLAGS="-O2"
+	CXXFLAGS="$CXXFLAGS"
 fi
 # Check whether --enable-debug was given.
 if test "${enable_debug+set}" = set; then
@@ -7080,7 +7080,7 @@
   fi
 else
   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
-    FFLAGS="-O2"
+    FFLAGS="$FFLAGS"
   else
     FFLAGS=
   fi
@@ -22414,7 +22414,7 @@
 fi
 
 
-if test "x${ac_cv_have_x:0:10}" != "xhave_x=yes"; then
+if test "x${ac_cv_have_x+set}" = set; then
 	{ { echo "$as_me:$LINENO: error: X11 is missing but required." >&5
 echo "$as_me: error: X11 is missing but required." >&2;}
    { (exit 1); exit 1; }; }