]> git.saurik.com Git - wxWidgets.git/commitdiff
Another fix for the pch bug test.
authorMichael Wetherell <mike.wetherell@ntlworld.com>
Sat, 28 Oct 2006 11:53:44 +0000 (11:53 +0000)
committerMichael Wetherell <mike.wetherell@ntlworld.com>
Sat, 28 Oct 2006 11:53:44 +0000 (11:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure
configure.in

index 7c6f7141cae441c9f4aa890f60e255642816dd61..55357f3ef7b83aea0732eb05521f0d8653a72e8d 100755 (executable)
--- a/configure
+++ b/configure
@@ -47225,9 +47225,10 @@ else
             then
                 wx_cv_gcc_pch_bug=
 
-                if $CXX -o conftest conftest.cpp >/dev/null 2>&1
+                if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
                 then
-                    if tr -dc '[a-z]' < conftest | grep awidetest >/dev/null
+                    if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
+                        grep awidetest >/dev/null
                     then
                         wx_cv_gcc_pch_bug=no
                     else
@@ -47236,7 +47237,7 @@ else
                 fi
             fi
 
-            rm -f conftest.h conftest.gch conftest.cpp conftest
+            rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
 
 fi
 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
index 3898efa2b745e7000fb2244f67fdb227347d53a1..d35c95675e2cd48e969abc37c084d7db422b890b 100644 (file)
@@ -7634,9 +7634,10 @@ then
             then
                 wx_cv_gcc_pch_bug=
 
-                if $CXX -o conftest conftest.cpp >/dev/null 2>&1
+                if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
                 then
-                    if tr -dc '[a-z]' < conftest | grep awidetest >/dev/null
+                    if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
+                        grep awidetest >/dev/null
                     then
                         wx_cv_gcc_pch_bug=no
                     else
@@ -7645,7 +7646,7 @@ then
                 fi
             fi
 
-            rm -f conftest.h conftest.gch conftest.cpp conftest
+            rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
         ]])
 
     if test "$wx_cv_gcc_pch_bug" = yes; then