aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure.ac
diff options
context:
space:
mode:
author(no author) <(no author)@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-13 00:26:22 +0000
committer(no author) <(no author)@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-13 00:26:22 +0000
commit642b971b14d7107cfe01bf72648ae3b510a2d33c (patch)
treebaf23254fca2fd8d16741acf27572f3219d56c89 /gcc/configure.ac
parent59bc598e01e292d67c32b6ae240b4544d4c234ab (diff)
This commit was manufactured by cvs2svn to create tagapple/gcc-1751
'apple-gcc-1751'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/tags/apple-gcc-1751@81762 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r--gcc/configure.ac16
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 39d6b8e3674..5684d1dff6a 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -282,6 +282,14 @@ AC_TRY_COMPILE(,,ac_cv_prog_cc_no_long_long=yes,
ac_cv_prog_cc_no_long_long=no)
CFLAGS="$save_CFLAGS"])
+AC_CACHE_CHECK(whether ${CC-cc} accepts -Wno-long-double,
+ac_cv_prog_cc_no_long_double,
+[save_CFLAGS="$CFLAGS"
+CFLAGS="-Wno-long-double"
+AC_TRY_COMPILE(,,ac_cv_prog_cc_no_long_double=yes,
+ ac_cv_prog_cc_no_long_double=no)
+CFLAGS="$save_CFLAGS"])
+
AC_PROG_CPP
AC_C_INLINE
@@ -315,6 +323,11 @@ strict1_warn=
if test $ac_cv_prog_cc_no_long_long = yes ; then
strict1_warn="-pedantic -Wno-long-long"
fi
+
+if test $ac_cv_prog_cc_no_long_double = yes ; then
+ strict1_warn="$strict1_warn -Wno-long-double"
+fi
+
AC_SUBST(strict1_warn)
# If the native compiler is GCC, we can enable warnings even in stage1.
@@ -632,6 +645,9 @@ gcc_AC_PROG_LN_S
AC_PROG_RANLIB
gcc_AC_PROG_INSTALL
+# APPLE LOCAL Mach time
+AC_CHECK_HEADERS(mach/mach_time.h)
+
# See if cmp has --ignore-initial.
gcc_AC_PROG_CMP_IGNORE_INITIAL