From 14187f9e3f3ba14a287803c794b20bd9d913cdab Mon Sep 17 00:00:00 2001 From: David Adam Date: Sat, 7 May 2016 06:29:44 +0800 Subject: configure: drop manual checks for __EXTENSIONS__ 375bef44432a0fad7ebbd3634a3e950e2d457ec1 includes the appropriate autoconf method of checking for this feature flag. Work on #2999. --- configure.ac | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index c97b8c51..7dc9a73e 100644 --- a/configure.ac +++ b/configure.ac @@ -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" -- cgit v1.2.3