mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 13:57:17 +08:00
Rearrange some macros in configure.ac so that CXXFLAGS can default to -g -O2 again
This commit is contained in:
parent
f934310337
commit
dd6d0e774c
20
configure.ac
20
configure.ac
|
@ -86,6 +86,17 @@ else
|
|||
AC_MSG_RESULT([no])
|
||||
fi
|
||||
|
||||
#
|
||||
# Set up various programs needed for install
|
||||
# Note AC_PROG_CXX sets CXXFLAGS if not set, which we want
|
||||
# So ensure this happens before we modify CXXFLAGS below
|
||||
#
|
||||
|
||||
AC_PROG_CXX([g++ c++])
|
||||
AC_PROG_CPP
|
||||
AC_PROG_INSTALL
|
||||
|
||||
echo "CXXFLAGS: $CXXFLAGS"
|
||||
|
||||
#
|
||||
# Detect directories which may contain additional headers, libraries
|
||||
|
@ -147,15 +158,6 @@ AH_BOTTOM([#if __GNUC__ >= 3
|
|||
#endif])
|
||||
|
||||
|
||||
#
|
||||
# Set up various programs needed for install
|
||||
#
|
||||
|
||||
AC_PROG_CXX([g++ c++])
|
||||
AC_PROG_CPP
|
||||
AC_PROG_INSTALL
|
||||
|
||||
|
||||
#
|
||||
# Optionally drop gettext support
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue
Block a user