This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[v3] fixups for GLIBCPP_ENABLE_PCH


Removes bogus part of AC_TRY_COMPILE.

tested x86/linux

2003-07-01  Benjamin Kosnik  <bkoz@redhat.com>

	* acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix obvious error.
	* aclocal.m4: Regenerated.
	* configure: Regenerated.

Index: acinclude.m4
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/acinclude.m4,v
retrieving revision 1.247
diff -c -p -r1.247 acinclude.m4
*** acinclude.m4	30 Jun 2003 17:40:05 -0000	1.247
--- acinclude.m4	1 Jul 2003 20:47:31 -0000
*************** enable_pch=GLIBCPP_ENABLE_PCH_DEFAULT)dn
*** 1404,1413 ****
        AC_CACHE_VAL(glibcpp_pch_comp, [
          AC_LANG_SAVE
          AC_LANG_CPLUSPLUS
!         AC_TRY_COMPILE([#include <math.h>
! 		     ],
!                      [ $1(0);],
!                      [glibcpp_pch_comp=yes], [glibcpp_pch_comp=no])
          AC_LANG_RESTORE
        ])
      fi
--- 1404,1411 ----
        AC_CACHE_VAL(glibcpp_pch_comp, [
          AC_LANG_SAVE
          AC_LANG_CPLUSPLUS
!         AC_TRY_COMPILE([#include <math.h>], ,
!                        [glibcpp_pch_comp=yes], [glibcpp_pch_comp=no])
          AC_LANG_RESTORE
        ])
      fi


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]