Terrible hack to make "./configure --config-cache" work again.
authornbk <nbk>
Sat, 21 Jul 2007 13:42:39 +0000 (13:42 +0000)
committernbk <nbk>
Sat, 21 Jul 2007 13:42:39 +0000 (13:42 +0000)
acinclude.m4

index 8253976..49e1f5b 100644 (file)
@@ -594,4 +594,14 @@ $1
  fi
 ])
 
+dnl Autoconf 2.61 breaks the support for chained configure scripts
+dnl in combination with config.cache
+m4_pushdef([AC_OUTPUT],
+[
+  unset ac_cv_env_LIBS_set
+  unset ac_cv_env_LIBS_value
+  m4_popdef([AC_OUTPUT])
+  AC_OUTPUT([$1],[$2],[$3])
+])
+
 AC_INCLUDE(aclocal.m4)