From: Gary V. Vaughan Date: Wed, 9 Jun 1999 12:54:48 +0000 (+0000) Subject: * ltconfig.in (exeext): autoconf's AC_EXEEXT uses "no" to indicate X-Git-Tag: release-1-3-3~16 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=43e792683fe034a94b27d23c142ce418bacb67f3;p=thirdparty%2Flibtool.git * ltconfig.in (exeext): autoconf's AC_EXEEXT uses "no" to indicate no extension, and we must do the same in order to share the cache value. Also we must ignore conftest.err which HPsUX (at least) fills with gratuitous warnings. Reported by Pavel Roskin --- diff --git a/ChangeLog b/ChangeLog index 63914958d..53dd4f97f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +1999-06-09 Gary V. Vaughan + + * ltconfig.in (exeext): autoconf's AC_EXEEXT uses "no" to indicate + no extension, and we must do the same in order to share the cache + value. Also we must ignore conftest.err which HPsUX (at least) + fills with gratuitous warnings. + Reported by Pavel Roskin + 1999-06-09 Pavel Roskin * ltconfig.in (exeext): Use quotes in the test, to prevent a diff --git a/ltconfig.in b/ltconfig.in index 7f395690d..c639d7d44 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -623,7 +623,7 @@ echo $ac_n "checking for executable suffix... $ac_c" 1>&6 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else - ac_cv_exeext="none" + ac_cv_exeext="no" $rm conftest* echo 'main () { return 0; }' > conftest.c echo "$progname:@LINENO@: checking for executable suffix" >& 5 @@ -633,7 +633,7 @@ else for ac_file in conftest.*; do case $ac_file in - *.c | *.$objext ) ;; + *.c | *.err | *.$objext ) ;; *) ac_cv_exeext=.`echo $ac_file | sed -e s/conftest.//` ;; esac done @@ -644,7 +644,9 @@ else fi $rm conftest* fi -if test "X$ac_cv_exeext" != Xnone; then +if test "X$ac_cv_exeext" = Xno; then + exeext="" +else exeext="$ac_cv_exeext" fi echo "$ac_t$ac_cv_exeext" 1>&6