aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Nerode <neroden@gcc.gnu.org>2004-01-03 18:59:32 +0000
committerNathanael Nerode <neroden@gcc.gnu.org>2004-01-03 18:59:32 +0000
commit78c9cb993de7052f334317866885be1481d48bd9 (patch)
treec6f973e65a596e9d239251971895d3f36b4c39cf
parentd44f1a00b9d53b34c85cf986dd67f7100273cab8 (diff)
downloadgcc-78c9cb993de7052f334317866885be1481d48bd9.zip
gcc-78c9cb993de7052f334317866885be1481d48bd9.tar.gz
gcc-78c9cb993de7052f334317866885be1481d48bd9.tar.bz2
configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
* configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE. * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove. * configure: Regenerate. From-SVN: r75364
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/aclocal.m421
-rw-r--r--gcc/configure.ac2
3 files changed, 5 insertions, 22 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index cf0d43a..148b659 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2004-01-03 Nathanael Nerode <neroden@gcc.gnu.org>
+ * configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
+ * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
+ * configure: Regenerate.
+
* doc/install.texi: Note that 'gcc' is now a 2.57 directory.
* configure.in: Rename to configure.ac.
diff --git a/gcc/aclocal.m4 b/gcc/aclocal.m4
index e2ed6b5..054a2bb 100644
--- a/gcc/aclocal.m4
+++ b/gcc/aclocal.m4
@@ -16,27 +16,6 @@ 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],
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 9b6dbcd..cbeb3e1 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -806,7 +806,7 @@ int main()
fi
fi
-gcc_AC_CHECK_TYPE(ssize_t, int)
+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).