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 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
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
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
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