Pulled fix from branch_1_1
[freeradius.git] / 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)