From f938267227623562711c0847166ef7e4eb9bb6b0 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 20 Dec 2009 09:09:59 -0500 Subject: [PATCH] use AC_CONFIG_FILES to avoid outputting files over and over The current configure ends up generating a lot of common files multiple times because it calls AC_OUTPUT multiplte times. The right way to do this is call AC_CONFIG_FILES multiple times and AC_OUTPUT once. Signed-off-by: Mike Frysinger --- configure.in | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index a30e7eb..f00d70c 100644 --- a/configure.in +++ b/configure.in @@ -140,9 +140,11 @@ fi AC_SUBST(LIBFTDI_MODULES) AC_SUBST(LIBFTDI_MODULES_PKGCONFIG) -AC_OUTPUT([libftdi-config],[chmod a+x libftdi-config]) -AC_OUTPUT(Makefile src/Makefile bindings/Makefile bindings/python/Makefile bindings/python/setup.py examples/Makefile doc/Doxyfile doc/Makefile libftdi.pc libftdi.spec) +AC_CONFIG_FILES([libftdi-config],[chmod a+x libftdi-config]) +AC_CONFIG_FILES(Makefile src/Makefile bindings/Makefile bindings/python/Makefile bindings/python/setup.py examples/Makefile doc/Doxyfile doc/Makefile libftdi.pc libftdi.spec) if test "x$ENABLE_LIBFTDIPP" = "x1"; then - AC_OUTPUT(ftdipp/Makefile libftdipp.pc) + AC_CONFIG_FILES(ftdipp/Makefile libftdipp.pc) fi + +AC_OUTPUT -- 1.7.1