[svn] commit: r2251 - /branches/trac251/configure.ac

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Jun 24 01:41:29 UTC 2010


Author: jinmei
Date: Thu Jun 24 01:41:29 2010
New Revision: 2251

Log:
adjusted the position of AC_CHECK_DECL

Modified:
    branches/trac251/configure.ac

Modified: branches/trac251/configure.ac
==============================================================================
--- branches/trac251/configure.ac (original)
+++ branches/trac251/configure.ac Thu Jun 24 01:41:29 2010
@@ -11,11 +11,12 @@
 AC_PROG_CXX
 AC_PROG_LIBTOOL
 
+# Use C++ language
+AC_LANG([C++])
+
+# Identify the compiler: this check must be after AC_PROG_CXX and AC_LANG.
 AM_CONDITIONAL(USE_GXX, test "X${GXX}" = "Xyes")
 AC_CHECK_DECL([__SUNPRO_CC], [SUNCXX="yes"], [SUNCXX="no"])
-
-# Use C++ language
-AC_LANG_CPLUSPLUS
 
 # OS dependent compiler flags
 case "$host" in




More information about the bind10-changes mailing list