]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix the order of branches in a test for sunCC.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 26 Jan 2007 04:10:34 +0000 (04:10 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 26 Jan 2007 04:10:34 +0000 (04:10 +0000)
git-svn-id: https://svn.dealii.org/trunk@14376 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/aclocal.m4
deal.II/configure

index 30f247c933d80bc1484ba66ce4ed22454a127b4f..cd16f80f13d5c034c590a644ed0a1b09fffa425a 100644 (file)
@@ -710,18 +710,17 @@ AC_DEFUN(DEAL_II_SET_CXX_FLAGS, dnl
          AC_MSG_CHECKING(whether -library=stlport4 works)
          AC_TRY_COMPILE(
             [
-#             include <iostream>
            ],
             [ 
-             std::cout << std::endl;
-            ],
-            [
-              AC_MSG_RESULT(no)
+             ;
             ],
             [
               AC_MSG_RESULT(yes)
               CXXFLAGSG="$CXXFLAGSG -library=stlport4"
               CXXFLAGSO="$CXXFLAGSO -library=stlport4"
+            ],
+            [
+              AC_MSG_RESULT(no)
             ])
          ;;
   
index 8b868cbc0226314031d63ce5225e371426c7f65f..8b04ea886ac2522940dcc7df17bdf39a33a4b35d 100755 (executable)
@@ -3586,13 +3586,12 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
-#             include <iostream>
 
 int
 main ()
 {
 
-             std::cout << std::endl;
+             ;
 
   ;
   return 0;
@@ -3621,18 +3620,18 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
 
-              echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6
+              echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6
+              CXXFLAGSG="$CXXFLAGSG -library=stlport4"
+              CXXFLAGSO="$CXXFLAGSO -library=stlport4"
 
 else
   echo "$as_me: failed program was:" >&5
 sed 's/^/| /' conftest.$ac_ext >&5
 
 
-              echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6
-              CXXFLAGSG="$CXXFLAGSG -library=stlport4"
-              CXXFLAGSO="$CXXFLAGSO -library=stlport4"
+              echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
 
 fi
 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.