[svn] commit: r3879 - /trunk/configure.ac

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Dec 17 16:04:37 UTC 2010


Author: jreed
Date: Fri Dec 17 16:04:37 2010
New Revision: 3879

Log:
Fix my BIND10_CXX_TRY_FLAG macro so it actually provides results.
This should have been in r3877 but I had removed it in my wrong testing.

Modified:
    trunk/configure.ac

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Fri Dec 17 16:04:37 2010
@@ -204,6 +204,12 @@
 
   AC_COMPILE_IFELSE([ ], [bind10_cxx_flag=yes], [bind10_cxx_flag=no])
   CXXFLAGS="$bind10_save_CXXFLAGS"
+
+  if test "x$bind10_cxx_flag" = "xyes"; then
+    ifelse([$2], , :, [$2])
+  else
+    ifelse([$3], , :, [$3])
+  fi
 
   AC_MSG_RESULT([$bind10_cxx_flag])
 ])




More information about the bind10-changes mailing list