]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltconfig.in (exeext): autoconf's AC_EXEEXT uses "no" to indicate
authorGary V. Vaughan <gary@gnu.org>
Wed, 9 Jun 1999 12:54:48 +0000 (12:54 +0000)
committerGary V. Vaughan <gary@gnu.org>
Wed, 9 Jun 1999 12:54:48 +0000 (12:54 +0000)
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 <pavel_roskin@geocities.com>

ChangeLog
ltconfig.in

index 63914958d9d26cf44b74c4c6963ff49643259475..53dd4f97fb68e9592ac4022ec38b6d8cd600f822 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+1999-06-09  Gary V. Vaughan  <gary@oranda.demon.co.uk>
+
+       * 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 <pavel_roskin@geocities.com>
+
 1999-06-09  Pavel Roskin  <pavel_roskin@geocities.com>
 
        * ltconfig.in (exeext): Use quotes in the test, to prevent a 
index 7f395690d18a6fde870d533f1895f5809da91bc2..c639d7d444f134b013a97f8d75910cbcdded44ad 100755 (executable)
@@ -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