[PATCH libXaw 3/3] config: prevent config.status from being generated three times

Gaetan Nadon memsize at videotron.ca
Sun Nov 21 06:39:05 PST 2010


AC_OUTPUT with parameters is deprecated, use AC_CONFIG_FILES.

Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---

	Extending Alan's series.

 configure.ac |   16 +++++++++-------
 1 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/configure.ac b/configure.ac
index d8069cb..687d8e5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -95,16 +95,18 @@ AC_CHECK_HEADERS([wctype.h wchar.h widec.h])
 # Checks for functions
 AC_CHECK_FUNCS([iswalnum getpagesize])
 
-AC_OUTPUT([Makefile
-	  include/Makefile
-	  man/Makefile
-	  specs/Makefile
-	  src/Makefile])
+AC_CONFIG_FILES([Makefile
+		include/Makefile
+		man/Makefile
+		specs/Makefile
+		src/Makefile])
 
 if test "x$build_v6" = xyes; then
-   AC_OUTPUT(xaw6.pc)
+   AC_CONFIG_FILES(xaw6.pc)
 fi
 
 if test "x$build_v7" = xyes; then
-   AC_OUTPUT(xaw7.pc)
+   AC_CONFIG_FILES(xaw7.pc)
 fi
+
+AC_OUTPUT
-- 
1.6.0.4



More information about the xorg-devel mailing list