configure: drop manual checks for __EXTENSIONS__

375bef4443 includes the appropriate
autoconf method of checking for this feature flag.

Work on #2999.
This commit is contained in:
David Adam 2016-05-07 06:29:44 +08:00
parent 9225b16d12
commit 14187f9e3f

View file

@ -292,21 +292,6 @@ if test $target_cpu = powerpc; then
fi
#
# Solaris-specific flags go here
#
AC_MSG_CHECKING([if we are under Solaris])
case $target_os in
solaris*)
AC_DEFINE( __EXTENSIONS__, 1, [Macro to enable additional prototypes under Solaris])
AC_MSG_RESULT(yes)
;;
*)
AC_MSG_RESULT(no)
;;
esac
#
# BSD-specific flags go here
#
@ -413,10 +398,6 @@ AC_DEFINE_UNQUOTED([WCHAR_T_BITS], [$WCHAR_T_BITS], [The size of wchar_t in bits
#
# * This test needs to be run _before_ testing for the presense of any
# prototypes or other language functinality.
#
# * This test should be (but does not need to be) run after the
# conditional definition of __EXTENSIONS__, to avoid redundant tests.
#
XCXXFLAGS="$CXXFLAGS"