mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
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:
parent
9225b16d12
commit
14187f9e3f
1 changed files with 0 additions and 19 deletions
19
configure.ac
19
configure.ac
|
@ -292,21 +292,6 @@ if test $target_cpu = powerpc; then
|
||||||
fi
|
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
|
# 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
|
# * This test needs to be run _before_ testing for the presense of any
|
||||||
# prototypes or other language functinality.
|
# 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"
|
XCXXFLAGS="$CXXFLAGS"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue