diff options
author | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-06-09 20:31:13 +0000 |
---|---|---|
committer | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-06-09 20:31:13 +0000 |
commit | 69ab028becb0d35f2907eab626e9ebad0fc6232a (patch) | |
tree | 5d605aac16caa503c3f879d9489af44930f51ec9 /boehm-gc | |
parent | 5027d644e7adc689ef42635ed7da4a0f5c5ef9ff (diff) | |
download | gcc-69ab028becb0d35f2907eab626e9ebad0fc6232a.tar.gz |
* configure.in (AC_EXEEXT): Work around in case it expands to
nothing, as in autoconf 2.50.
* configure: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43103 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc')
-rw-r--r-- | boehm-gc/ChangeLog | 6 | ||||
-rw-r--r-- | boehm-gc/acinclude.m4 | 4 | ||||
-rwxr-xr-x | boehm-gc/configure | 20 | ||||
-rw-r--r-- | boehm-gc/configure.in | 8 |
4 files changed, 28 insertions, 10 deletions
diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog index 7cb64e7a3f4..a0b94459ec5 100644 --- a/boehm-gc/ChangeLog +++ b/boehm-gc/ChangeLog @@ -1,3 +1,9 @@ +2001-06-09 Alexandre Oliva <aoliva@redhat.com>, Stephen L Moshier <moshier@mediaone.net> + + * configure.in (AC_EXEEXT): Work around in case it expands to + nothing, as in autoconf 2.50. + * configure: Rebuilt. + 2001-06-07 Tom Tromey <tromey@redhat.com> For PR bootstrap/3075: diff --git a/boehm-gc/acinclude.m4 b/boehm-gc/acinclude.m4 index 8e5f532533f..67a2fb4031b 100644 --- a/boehm-gc/acinclude.m4 +++ b/boehm-gc/acinclude.m4 @@ -137,6 +137,10 @@ AM_MAINTAINER_MODE # automake happy, but we don't execute it, since we don't care about # the result. if false; then + # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands + # to nothing, so nothing would remain between `then' and `fi' if it + # were not for the `:' below. + : AC_EXEEXT fi diff --git a/boehm-gc/configure b/boehm-gc/configure index b081529007c..74eb7939930 100755 --- a/boehm-gc/configure +++ b/boehm-gc/configure @@ -2550,11 +2550,15 @@ fi # automake wants to see AC_EXEEXT. But we don't need it. And having # it is actually a problem, because the compiler we're passed can't # necessarily do a full link. So we fool automake here. -if test "x" = "y"; then - +if false; then + # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands + # to nothing, so nothing would remain between `then' and `fi' if it + # were not for the `:' below. + : + echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 -echo "configure:2558: checking for executable suffix" >&5 +echo "configure:2562: checking for executable suffix" >&5 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2564,7 +2568,7 @@ else rm -f conftest* echo 'int main () { return 0; }' > conftest.$ac_ext ac_cv_exeext= - if { (eval echo configure:2568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then + if { (eval echo configure:2572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then for file in conftest.*; do case $file in *.c | *.o | *.obj | *.ilk | *.pdb) ;; @@ -2587,7 +2591,7 @@ ac_exeext=$EXEEXT fi echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6 -echo "configure:2591: checking for thread model used by GCC" >&5 +echo "configure:2595: checking for thread model used by GCC" >&5 THREADS=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'` echo "$ac_t""$THREADS" 1>&6 @@ -2648,7 +2652,7 @@ esac echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 -echo "configure:2652: checking for dlopen in -ldl" >&5 +echo "configure:2656: checking for dlopen in -ldl" >&5 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2656,7 +2660,7 @@ else ac_save_LIBS="$LIBS" LIBS="-ldl $LIBS" cat > conftest.$ac_ext <<EOF -#line 2660 "configure" +#line 2664 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -2667,7 +2671,7 @@ int main() { dlopen() ; return 0; } EOF -if { (eval echo configure:2671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else diff --git a/boehm-gc/configure.in b/boehm-gc/configure.in index 4c6685b6ed1..c9a14d37d0f 100644 --- a/boehm-gc/configure.in +++ b/boehm-gc/configure.in @@ -17,8 +17,12 @@ AM_MAINTAINER_MODE # automake wants to see AC_EXEEXT. But we don't need it. And having # it is actually a problem, because the compiler we're passed can't # necessarily do a full link. So we fool automake here. -if test "x" = "y"; then - AC_EXEEXT +if false; then + # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands + # to nothing, so nothing would remain between `then' and `fi' if it + # were not for the `:' below. + : + AC_EXEEXT fi AC_MSG_CHECKING([for thread model used by GCC]) |