This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Configure differences on rebuild?
- From: neroden at twcny dot rr dot com (Nathanael Nerode)
- To: java-patches at gcc dot gnu dot org
- Date: Tue, 14 Oct 2003 17:07:31 -0400
- Subject: Configure differences on rebuild?
I regenerated libjava/configure, and got different results. The *.$ac_ext
bit is not significant (Debian local modification to autoconf 2.13).
But the other bit I can't quite figure out. :-)
I'd like to commit this change if it's OK because I'm going to be
doing work on the toplevel config/*.m4 files, and every spurious difference
causes confusion when doing that.
(libjava)
* configure: Regenerate.
Index: configure
===================================================================
RCS file: /cvs/gcc/gcc/libjava/configure,v
retrieving revision 1.194
diff -u -r1.194 configure
--- configure 25 Sep 2003 18:26:53 -0000 1.194
+++ configure 14 Oct 2003 21:04:26 -0000
@@ -1634,7 +1634,7 @@
if { (eval echo configure:1635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
for file in conftest.*; do
case $file in
- *.c | *.o | *.obj) ;;
+ *.$ac_ext | *.c | *.o | *.obj) ;;
*) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
esac
done
@@ -8453,7 +8453,7 @@
fi
-for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
+for ac_hdr in unistd.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
@@ -8585,24 +8585,11 @@
#include <fcntl.h>
#include <sys/mman.h>
-#if HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
-#if HAVE_STDLIB_H
-# include <stdlib.h>
-#endif
-
-#if HAVE_SYS_STAT_H
-# include <sys/stat.h>
-#endif
-
-#if HAVE_UNISTD_H
-# include <unistd.h>
-#endif
-
/* This mess was copied from the GNU getpagesize.h. */
#ifndef HAVE_GETPAGESIZE
+# ifdef HAVE_UNISTD_H
+# include <unistd.h>
+# endif
/* Assume that all systems that can run configure have sys/param.h. */
# ifndef HAVE_SYS_PARAM_H
@@ -8710,7 +8697,7 @@
}
EOF
-if { (eval echo configure:8714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:8701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_func_mmap_fixed_mapped=yes
else
@@ -8738,7 +8725,7 @@
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:8742: checking for $ac_word" >&5
+echo "configure:8729: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -9513,7 +9500,7 @@
fi
fi
- cd $ac_popdir
+ cd "$ac_popdir"
done
fi
--
Nathanael Nerode <neroden at gcc.gnu.org>
http://home.twcny.rr.com/nerode/neroden/fdl.html