2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-03 23:45:27 +00:00

[2340] corrected the position of closing 'fi' for an 'if GXX = yes'.

This commit is contained in:
JINMEI Tatuya
2012-10-10 11:02:24 -07:00
parent 28a6c7133b
commit b10b39f8ac

View File

@@ -166,6 +166,8 @@ if test $with_werror = 1; then
CXXFLAGS="$CXXFLAGS_SAVED" CXXFLAGS="$CXXFLAGS_SAVED"
fi fi
fi dnl GXX = yes
AM_CONDITIONAL(GCC_WERROR_OK, test $werror_ok = 1) AM_CONDITIONAL(GCC_WERROR_OK, test $werror_ok = 1)
# allow building programs with static link. we need to make it selective # allow building programs with static link. we need to make it selective
@@ -354,10 +356,11 @@ fi
# TODO: check for _sqlite3.py module # TODO: check for _sqlite3.py module
# (g++ only check)
# Python 3.2 has an unused parameter in one of its headers. This # Python 3.2 has an unused parameter in one of its headers. This
# has been reported, but not fixed as of yet, so we check if we need # has been reported, but not fixed as of yet, so we check if we need
# to set -Wno-unused-parameter. # to set -Wno-unused-parameter.
if test $werror_ok = 1; then if test "X$GXX" = "Xyes" -a test $werror_ok = 1; then
CPPFLAGS_SAVED="$CPPFLAGS" CPPFLAGS_SAVED="$CPPFLAGS"
CPPFLAGS=${PYTHON_INCLUDES} CPPFLAGS=${PYTHON_INCLUDES}
CXXFLAGS_SAVED="$CXXFLAGS" CXXFLAGS_SAVED="$CXXFLAGS"
@@ -383,8 +386,6 @@ if test $werror_ok = 1; then
CPPFLAGS="$CPPFLAGS_SAVED" CPPFLAGS="$CPPFLAGS_SAVED"
fi fi
fi dnl GXX = yes
# produce PIC unless we disable shared libraries. need this for python bindings. # produce PIC unless we disable shared libraries. need this for python bindings.
if test $enable_shared != "no" -a "X$GXX" = "Xyes"; then if test $enable_shared != "no" -a "X$GXX" = "Xyes"; then
B10_CXXFLAGS="$B10_CXXFLAGS -fPIC" B10_CXXFLAGS="$B10_CXXFLAGS -fPIC"