Browse Source

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.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@3879 e5f2f494-b856-4b98-b285-d166d9295462

Jeremy C. Reed 14 years ago
parent
commit
fd5a756404
1 changed files with 6 additions and 0 deletions
  1. 6 0
      configure.ac

+ 6 - 0
configure.ac

@@ -205,6 +205,12 @@ AC_DEFUN([BIND10_CXX_TRY_FLAG], [
   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])
 ])