mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 23:22:53 +08:00
configure: drop manual checks for __EXTENSIONS__
375bef44432a0fad7ebbd3634a3e950e2d457ec1 includes the appropriate autoconf method of checking for this feature flag. Work on #2999.
This commit is contained in:
parent
9225b16d12
commit
14187f9e3f
19
configure.ac
19
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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user