configure.in, aclocal.m4: Revert to pre-2.5x conversion status.

* configure.in, aclocal.m4: Revert to pre-2.5x conversion status.
	* configure: Regenerate with autoconf 2.13.

From-SVN: r74396
This commit is contained in:
Nathanael Nerode 2003-12-07 16:12:26 +00:00
parent b8ec658649
commit 63cf211af7
4 changed files with 3343 additions and 8197 deletions

View File

@ -1,5 +1,8 @@
2003-12-07 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.in, aclocal.m4: Revert to pre-2.5x conversion status.
* configure: Regenerate with autoconf 2.13.
* configure.in: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM
with modern equivalents.
* configure: Regenerate.

23
gcc/aclocal.m4 vendored
View File

@ -16,6 +16,27 @@ if test $ac_cv_header_stdbool_h = yes; then
fi
])
dnl Fixed AC_CHECK_TYPE that doesn't need anything in acconfig.h.
dnl Remove after migrating to 2.5x.
AC_DEFUN([gcc_AC_CHECK_TYPE],
[AC_REQUIRE([AC_HEADER_STDC])dnl
AC_MSG_CHECKING(for $1)
AC_CACHE_VAL(ac_cv_type_$1,
[AC_EGREP_CPP(dnl
changequote(<<,>>)dnl
<<(^|[^a-zA-Z_0-9])$1[^a-zA-Z_0-9]>>dnl
changequote([,]), [#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stddef.h>
#endif], ac_cv_type_$1=yes, ac_cv_type_$1=no)])dnl
AC_MSG_RESULT($ac_cv_type_$1)
if test $ac_cv_type_$1 = no; then
AC_DEFINE($1, $2, [Define as \`$2' if <sys/types.h> doesn't define.])
fi
])
dnl See whether we can include both string.h and strings.h.
AC_DEFUN([gcc_AC_HEADER_STRING],
[AC_CACHE_CHECK([whether string.h and strings.h may both be included],
@ -732,7 +753,7 @@ AC_DEFUN([gcc_GAS_CHECK_FEATURE],
if test $in_tree_gas = yes; then
gcc_GAS_VERSION_GTE_IFELSE($3, [[$2]=yes])
el])if test x$gcc_cv_as != x; then
echo ifelse(m4_substr([$5],0,1),[$], "[$5]", '[$5]') > conftest.s
echo ifelse(substr([$5],0,1),[$], "[$5]", '[$5]') > conftest.s
if AC_TRY_COMMAND([$gcc_cv_as $4 -o conftest.o conftest.s >&AC_FD_CC])
then
ifelse([$6],, [$2]=yes, [$6])

11489
gcc/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -25,15 +25,12 @@
# Initialization and sanity checks
# --------------------------------
AC_PREREQ(2.57)
AC_INIT
AC_CONFIG_SRCDIR(tree.c)
AC_PREREQ(2.13)
AC_INIT(tree.c)
AC_CONFIG_HEADER(auto-host.h:config.in)
# Determine the host, build, and target systems
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
AC_CANONICAL_SYSTEM
# Determine the noncanonical target name, for directory use.
_GCC_TOPLEV_NONCANONICAL_TARGET
@ -801,7 +798,7 @@ int main()
fi
fi
AC_CHECK_TYPE(ssize_t, int)
gcc_AC_CHECK_TYPE(ssize_t, int)
# Try to determine the array type of the second argument of getgroups
# for the target system (int or gid_t).
@ -1962,16 +1959,15 @@ __FRAME_BEGIN__:
.byte 0x4
.4byte .L1-.LFB1
.LEFDE1:],
[ dnl # For autoconf 2.5x, must protect trailing spaces with @&t@.
cat > conftest.lit <<EOF
[ cat > conftest.lit <<EOF
0000 10000000 00000000 017a0001 781a0004 .........z..x...
0010 01000000 12000000 18000000 00000000 ................
0020 08000000 04080000 0044 .........D @&t@
0020 08000000 04080000 0044 .........D
EOF
cat > conftest.big <<EOF
cat > conftest.big <<EOF
0000 00000010 00000000 017a0001 781a0004 .........z..x...
0010 00000001 00000012 00000018 00000000 ................
0020 00000008 04000000 0844 .........D @&t@
0020 00000008 04000000 0844 .........D
EOF
# If the assembler didn't choke, and we can objdump,
# and we got the correct data, then succeed.
@ -3041,9 +3037,7 @@ fi
# Create the Makefile
# and configure language subdirectories
AC_CONFIG_FILES($all_outputs)
AC_CONFIG_COMMANDS([default],
AC_OUTPUT($all_outputs,
[
case ${CONFIG_HEADERS} in
*auto-host.h:config.in*)
@ -3076,4 +3070,3 @@ else true ; fi
[subdirs='$subdirs'
symbolic_link='$symbolic_link'
])
AC_OUTPUT