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

index ff7ba14..a6742a9 100644 (file)
@@ -616,3 +616,13 @@ $1
     eval "ac_cv_type_${ac_safe_type}_has_$3="
  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])
+])