]> gcc.gnu.org Git - gcc.git/commitdiff
headers_c.cc (main): New file.
authorBenjamin Kosnik <bkoz@fillmore.constant.com>
Wed, 20 Dec 2000 08:39:55 +0000 (08:39 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Wed, 20 Dec 2000 08:39:55 +0000 (08:39 +0000)
2000-12-20  Benjamin Kosnik  <bkoz@fillmore.constant.com>

* testsuite/17_intro/headers_c.cc (main): New file.

* acinclude.m4 (SECTION_FLAGS): Only set if --enable-debug is not
passed.
(OPT_LDFLAGS): And here.
* aclocal.m4: Regenerate.
* configure: Regenerate.

From-SVN: r38393

libstdc++-v3/ChangeLog
libstdc++-v3/acinclude.m4
libstdc++-v3/aclocal.m4
libstdc++-v3/configure

index 7f1d4219f77c3a161a2fbf21d523a22d49727de9..609820825e9b42086efb565559e5f3395b713674 100644 (file)
@@ -1,3 +1,13 @@
+2000-12-20  Benjamin Kosnik  <bkoz@fillmore.constant.com>
+
+       * testsuite/17_intro/headers_c.cc (main): New file.
+
+       * acinclude.m4 (SECTION_FLAGS): Only set if --enable-debug is not
+       passed.
+       (OPT_LDFLAGS): And here.
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+       
 2000-12-19  Curtis Janssen  <cljanss@ca.sandia.gov>
 
        * src/ios.cc (ios_base::_M_grow_words(int ix)): Fix libstdc++/1089.
index ba89c731a66ff362b02419f9ef39e99cb8b0b086..c5ee25aec8c86f7a20fc98d1bb97380d24b60b1b 100644 (file)
@@ -230,7 +230,7 @@ AC_DEFUN(GLIBCPP_CHECK_COMPILER_FEATURES, [
     # this is the suspicious part
     CXXFLAGS=''
   fi
-  if test "$ac_gabydiags" = "yes"; then
+  if test x"$ac_gabydiags" = x"yes"; then
     WFMT_FLAGS='-fdiagnostics-show-location=once'
   fi
   AC_MSG_RESULT($ac_gabydiags)
@@ -246,7 +246,7 @@ AC_DEFUN(GLIBCPP_CHECK_COMPILER_FEATURES, [
     # this is the suspicious part
     CXXFLAGS=''
   fi
-  if test "$ac_fdsections" = "yes"; then
+  if test x"$ac_fdsections" = x"yes" && x"$enable_debug" = x"no"; then
     SECTION_FLAGS='-ffunction-sections -fdata-sections'
   fi
   AC_MSG_RESULT($ac_fdsections)
@@ -314,7 +314,7 @@ AC_DEFUN(GLIBCPP_CHECK_LINKER_FEATURES, [
   fi
 
   # Set linker optimization flags.
-  if test "$ac_cv_prog_gnu_ld" = "yes"; then
+  if test x"$ac_cv_prog_gnu_ld" = x"yes" && x"$enable_debug" = x"no"; then
     OPT_LDFLAGS='-Wl,-O1'
   fi
 
@@ -1167,7 +1167,7 @@ dnl Option parsed, now set things appropriately
 case "${enable_debug}" in
     yes) 
         DEBUG_FLAGS='-O0 -ggdb3'                        
-        ;;
+        ;; 
     no)   
         DEBUG_FLAGS='-g'
         ;;
index 92f7e7740968eab719b23c272aa549f8bbf8cf9a..95aced96e5f005b3a4654aba0d397fab8e55c116 100644 (file)
@@ -242,7 +242,7 @@ AC_DEFUN(GLIBCPP_CHECK_COMPILER_FEATURES, [
     # this is the suspicious part
     CXXFLAGS=''
   fi
-  if test "$ac_gabydiags" = "yes"; then
+  if test x"$ac_gabydiags" = x"yes"; then
     WFMT_FLAGS='-fdiagnostics-show-location=once'
   fi
   AC_MSG_RESULT($ac_gabydiags)
@@ -258,7 +258,7 @@ AC_DEFUN(GLIBCPP_CHECK_COMPILER_FEATURES, [
     # this is the suspicious part
     CXXFLAGS=''
   fi
-  if test "$ac_fdsections" = "yes"; then
+  if test x"$ac_fdsections" = x"yes" && x"$enable_debug" = x"no"; then
     SECTION_FLAGS='-ffunction-sections -fdata-sections'
   fi
   AC_MSG_RESULT($ac_fdsections)
@@ -326,7 +326,7 @@ AC_DEFUN(GLIBCPP_CHECK_LINKER_FEATURES, [
   fi
 
   # Set linker optimization flags.
-  if test "$ac_cv_prog_gnu_ld" = "yes"; then
+  if test x"$ac_cv_prog_gnu_ld" = x"yes" && x"$enable_debug" = x"no"; then
     OPT_LDFLAGS='-Wl,-O1'
   fi
 
@@ -1179,7 +1179,7 @@ dnl Option parsed, now set things appropriately
 case "${enable_debug}" in
     yes) 
         DEBUG_FLAGS='-O0 -ggdb3'                        
-        ;;
+        ;; 
     no)   
         DEBUG_FLAGS='-g'
         ;;
index 436e11a57fd0f4a86918d17d0a2ecb0e801bfc86..553bfa9562e7e5a51f7728704b7737333acf7581 100755 (executable)
@@ -2593,7 +2593,7 @@ fi
 case "${enable_debug}" in
     yes) 
         DEBUG_FLAGS='-O0 -ggdb3'                        
-        ;;
+        ;; 
     no)   
         DEBUG_FLAGS='-g'
         ;;
@@ -3334,7 +3334,7 @@ fi
   fi
 
   # Set linker optimization flags.
-  if test "$ac_cv_prog_gnu_ld" = "yes"; then
+  if test x"$ac_cv_prog_gnu_ld" = x"yes" && x"$enable_debug" = x"no"; then
     OPT_LDFLAGS='-Wl,-O1'
   fi
 
@@ -4493,7 +4493,7 @@ rm -f conftest*
     # this is the suspicious part
     CXXFLAGS=''
   fi
-  if test "$ac_gabydiags" = "yes"; then
+  if test x"$ac_gabydiags" = x"yes"; then
     WFMT_FLAGS='-fdiagnostics-show-location=once'
   fi
   echo "$ac_t""$ac_gabydiags" 1>&6
@@ -4527,7 +4527,7 @@ rm -f conftest*
     # this is the suspicious part
     CXXFLAGS=''
   fi
-  if test "$ac_fdsections" = "yes"; then
+  if test x"$ac_fdsections" = x"yes" && x"$enable_debug" = x"no"; then
     SECTION_FLAGS='-ffunction-sections -fdata-sections'
   fi
   echo "$ac_t""$ac_fdsections" 1>&6
@@ -4610,7 +4610,7 @@ fi
   fi
 
   # Set linker optimization flags.
-  if test "$ac_cv_prog_gnu_ld" = "yes"; then
+  if test x"$ac_cv_prog_gnu_ld" = x"yes" && x"$enable_debug" = x"no"; then
     OPT_LDFLAGS='-Wl,-O1'
   fi
 
This page took 0.102771 seconds and 5 git commands to generate.