Commit f73ccc50 by Nathanael Nerode

configure.in: Remove check for whether ${ADAC} accepts -Wno-long-long.

	* configure.in: Remove check for whether ${ADAC} accepts -Wno-long-long.
	* configure: Regenerate.

From-SVN: r73958
parent f627fd15
2003-11-26 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.in: Remove check for whether ${ADAC} accepts -Wno-long-long.
* configure: Regenerate.
2003-11-26 Eric Botcazou <ebotcazou@libertysurf.fr> 2003-11-26 Eric Botcazou <ebotcazou@libertysurf.fr>
Olivier Hainque <hainque@act-europe.fr> Olivier Hainque <hainque@act-europe.fr>
......
...@@ -284,29 +284,12 @@ fi ...@@ -284,29 +284,12 @@ fi
# See if GNAT has been installed # See if GNAT has been installed
gcc_AC_PROG_GNAT gcc_AC_PROG_GNAT
if test x$have_gnat != xno ; then
AC_CACHE_CHECK(whether ${ADAC} accepts -Wno-long-long,
ac_cv_prog_adac_no_long_long,
[cat >conftest.adb <<EOF
procedure conftest is begin null; end conftest;
EOF
if $ADAC -Wno-long-long -c conftest.adb 1>&5 2>&5 ; then
ac_cv_prog_adac_no_long_long=yes
else
ac_cv_prog_adac_no_long_long=no
fi
rm -f conftest*])
else
ac_cv_prog_adac_no_long_long=yes
fi
# --------------------- # ---------------------
# Warnings and checking # Warnings and checking
# --------------------- # ---------------------
strict1_warn= strict1_warn=
if test $ac_cv_prog_cc_no_long_long = yes && \ if test $ac_cv_prog_cc_no_long_long = yes ; then
test $ac_cv_prog_adac_no_long_long = yes ; then
strict1_warn="-pedantic -Wno-long-long" strict1_warn="-pedantic -Wno-long-long"
fi fi
AC_SUBST(strict1_warn) AC_SUBST(strict1_warn)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment