Commit 01ef8751 by Alexandre Oliva Committed by Alexandre Oliva

configure.in (AC_EXEEXT): Work around in case it expands to nothing, as in autoconf 2.50.

* configure.in (AC_EXEEXT): Work around in case it expands to
nothing, as in autoconf 2.50.
* configure: Rebuilt.

From-SVN: r43103
parent 54c6cfdc
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> 2001-06-07 Tom Tromey <tromey@redhat.com>
For PR bootstrap/3075: For PR bootstrap/3075:
......
...@@ -137,6 +137,10 @@ AM_MAINTAINER_MODE ...@@ -137,6 +137,10 @@ AM_MAINTAINER_MODE
# automake happy, but we don't execute it, since we don't care about # automake happy, but we don't execute it, since we don't care about
# the result. # the result.
if false; 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.
:
AC_EXEEXT AC_EXEEXT
fi fi
......
...@@ -2550,11 +2550,15 @@ fi ...@@ -2550,11 +2550,15 @@ fi
# automake wants to see AC_EXEEXT. But we don't need it. And having # 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 # it is actually a problem, because the compiler we're passed can't
# necessarily do a full link. So we fool automake here. # 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 $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 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -2564,7 +2568,7 @@ else ...@@ -2564,7 +2568,7 @@ else
rm -f conftest* rm -f conftest*
echo 'int main () { return 0; }' > conftest.$ac_ext echo 'int main () { return 0; }' > conftest.$ac_ext
ac_cv_exeext= 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 for file in conftest.*; do
case $file in case $file in
*.c | *.o | *.obj | *.ilk | *.pdb) ;; *.c | *.o | *.obj | *.ilk | *.pdb) ;;
...@@ -2587,7 +2591,7 @@ ac_exeext=$EXEEXT ...@@ -2587,7 +2591,7 @@ ac_exeext=$EXEEXT
fi fi
echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6 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'` THREADS=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
echo "$ac_t""$THREADS" 1>&6 echo "$ac_t""$THREADS" 1>&6
...@@ -2648,7 +2652,7 @@ esac ...@@ -2648,7 +2652,7 @@ esac
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 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_%'` ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -2656,7 +2660,7 @@ else ...@@ -2656,7 +2660,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-ldl $LIBS" LIBS="-ldl $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2660 "configure" #line 2664 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -2667,7 +2671,7 @@ int main() { ...@@ -2667,7 +2671,7 @@ int main() {
dlopen() dlopen()
; return 0; } ; return 0; }
EOF 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* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
......
...@@ -17,8 +17,12 @@ AM_MAINTAINER_MODE ...@@ -17,8 +17,12 @@ AM_MAINTAINER_MODE
# automake wants to see AC_EXEEXT. But we don't need it. And having # 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 # it is actually a problem, because the compiler we're passed can't
# necessarily do a full link. So we fool automake here. # necessarily do a full link. So we fool automake here.
if test "x" = "y"; then if false; then
AC_EXEEXT # 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 fi
AC_MSG_CHECKING([for thread model used by GCC]) AC_MSG_CHECKING([for thread model used by GCC])
......
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.
ChangeLog file for zlib ChangeLog file for zlib
...@@ -215,7 +221,7 @@ Changes in 1.0.6 (19 Jan 1998) ...@@ -215,7 +221,7 @@ Changes in 1.0.6 (19 Jan 1998)
- use _fdopen instead of fdopen for MSC >= 6.0 (Thomas Fanslau) - use _fdopen instead of fdopen for MSC >= 6.0 (Thomas Fanslau)
- added makelcc.bat for lcc-win32 (Tom St Denis) - added makelcc.bat for lcc-win32 (Tom St Denis)
- in Makefile.dj2, use copy and del instead of install and rm (Frank Donahoe) - in Makefile.dj2, use copy and del instead of install and rm (Frank Donahoe)
- Avoid expanded $Id$. Use "rcs -kb" or "cvs admin -kb" to avoid Id expansion. - Avoid expanded $Id: ChangeLog,v 1.1 1999/05/04 19:30:26 tromey Exp $. Use "rcs -kb" or "cvs admin -kb" to avoid Id expansion.
- check for unistd.h in configure (for off_t) - check for unistd.h in configure (for off_t)
- remove useless check parameter in inflate_blocks_free - remove useless check parameter in inflate_blocks_free
- avoid useless assignment of s->check to itself in inflate_blocks_new - avoid useless assignment of s->check to itself in inflate_blocks_new
......
...@@ -56,6 +56,10 @@ LIB_AC_PROG_CC ...@@ -56,6 +56,10 @@ LIB_AC_PROG_CC
# automake happy, but we dont execute it, since we dont care about # automake happy, but we dont execute it, since we dont care about
# the result. # the result.
if false; 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.
:
AC_EXEEXT AC_EXEEXT
fi fi
AM_PROG_LIBTOOL AM_PROG_LIBTOOL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment