Browse Source

[3107] Move CXX_VERSION initialization closer to where it is used

Mukund Sivaraman 11 years ago
parent
commit
32e3681b8e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      configure.ac

+ 2 - 2
configure.ac

@@ -68,8 +68,6 @@ AC_CHECK_DECL([__SUNPRO_CC], [SUNCXX="yes"], [SUNCXX="no"])
 AC_CHECK_DECL([__clang__], [CLANGPP="yes"], [CLANGPP="no"])
 AC_CHECK_DECL([__clang__], [CLANGPP="yes"], [CLANGPP="no"])
 AM_CONDITIONAL(USE_CLANGPP, test "X${CLANGPP}" = "Xyes")
 AM_CONDITIONAL(USE_CLANGPP, test "X${CLANGPP}" = "Xyes")
 
 
-CXX_VERSION="unknown"
-
 dnl Determine if weare using GNU sed
 dnl Determine if weare using GNU sed
 GNU_SED=no
 GNU_SED=no
 $SED --version 2> /dev/null | grep -q GNU
 $SED --version 2> /dev/null | grep -q GNU
@@ -114,6 +112,8 @@ AC_DEFUN([BIND10_CXX_TRY_FLAG], [
   AC_MSG_RESULT([$bind10_cxx_flag])
   AC_MSG_RESULT([$bind10_cxx_flag])
 ])
 ])
 
 
+CXX_VERSION="unknown"
+
 # SunStudio compiler requires special compiler options for boost
 # SunStudio compiler requires special compiler options for boost
 # (http://blogs.sun.com/sga/entry/boost_mini_howto)
 # (http://blogs.sun.com/sga/entry/boost_mini_howto)
 if test "$SUNCXX" = "yes"; then
 if test "$SUNCXX" = "yes"; then