diff options
author | jlquinn <jlquinn@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-20 18:09:33 +0000 |
---|---|---|
committer | jlquinn <jlquinn@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-20 18:09:33 +0000 |
commit | 80b97ef3a76140a42e7afd767714096f1021d1de (patch) | |
tree | 43e4494cb58e912592695153252c528913b8a986 /libcpp | |
parent | ffbeca59aadc215e559e3dcac8ed918f1844dc8e (diff) | |
download | gcc-80b97ef3a76140a42e7afd767714096f1021d1de.tar.gz |
2009-07-20 Jerry Quinn <jlquinn@optonline.net>
PR regression/40800
* configure.ac: Use = instead of == for testing
ENABLE_BUILD_WITH_CXX.
* configure: Rebuild.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149826 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp')
-rw-r--r-- | libcpp/ChangeLog | 7 | ||||
-rwxr-xr-x | libcpp/configure | 4 | ||||
-rw-r--r-- | libcpp/configure.ac | 4 |
3 files changed, 11 insertions, 4 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 57ba6779feb..7fcfa5649bc 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,10 @@ +2009-07-20 Jerry Quinn <jlquinn@optonline.net> + + PR regression/40800 + * configure.ac: Use = instead of == for testing + ENABLE_BUILD_WITH_CXX. + * configure: Rebuild. + 2009-07-17 Jerry Quinn <jlquinn@optonline.net> * directives.c (do_linemarker, do_line): Use CPP_STRING for diff --git a/libcpp/configure b/libcpp/configure index 35fb663bf87..d622993cfe3 100755 --- a/libcpp/configure +++ b/libcpp/configure @@ -3342,7 +3342,7 @@ DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depdir" -if test "$ENABLE_BUILD_WITH_CXX" == "no"; then +if test "$ENABLE_BUILD_WITH_CXX" = "no"; then depcc="$CC" am_compiler_list= am_depcomp=$ac_aux_dir/depcomp @@ -3674,7 +3674,7 @@ fi # AC_CHECK_HEADERS is repeated to work around apparent autoconf 2.59 bug. If # AC_CHECK_HEADERS comes after the if clause, the last AC_LANG call gets used, # no matter which branch is taken. -if test "$ENABLE_BUILD_WITH_CXX" == "no"; then +if test "$ENABLE_BUILD_WITH_CXX" = "no"; then ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' diff --git a/libcpp/configure.ac b/libcpp/configure.ac index a3ab8f551c3..6c397a98da2 100644 --- a/libcpp/configure.ac +++ b/libcpp/configure.ac @@ -42,7 +42,7 @@ ACX_PROG_CC_WARNINGS_ARE_ERRORS([manual]) # Dependency checking. ZW_CREATE_DEPDIR -if test "$ENABLE_BUILD_WITH_CXX" == "no"; then +if test "$ENABLE_BUILD_WITH_CXX" = "no"; then ZW_PROG_COMPILER_DEPENDENCIES([CC]) else ZW_PROG_COMPILER_DEPENDENCIES([CXX]) @@ -55,7 +55,7 @@ ACX_HEADER_STRING # AC_CHECK_HEADERS is repeated to work around apparent autoconf 2.59 bug. If # AC_CHECK_HEADERS comes after the if clause, the last AC_LANG call gets used, # no matter which branch is taken. -if test "$ENABLE_BUILD_WITH_CXX" == "no"; then +if test "$ENABLE_BUILD_WITH_CXX" = "no"; then AC_LANG(C) AC_CHECK_HEADERS(locale.h fcntl.h limits.h stddef.h \ stdlib.h strings.h string.h sys/file.h unistd.h) |