From d9905069162f9e0c633c26518141b0552e84d7d6 Mon Sep 17 00:00:00 2001 From: Robert Hogan Date: Sun, 27 Feb 2011 20:58:37 +0000 Subject: Only run config.status once at configure time --- configure.in | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/configure.in b/configure.in index a89fa0e..5245a82 100644 --- a/configure.in +++ b/configure.in @@ -635,11 +635,10 @@ AC_ENABLE_SHARED AC_ENABLE_STATIC AC_CONFIG_FILES([src/usewithtor src/torsocks doc/torsocks.conf.5 doc/torsocks.8 doc/usewithtor.1 doc/torsocks.1]) - -dnl Output the Makefile for libtorsocks -AC_OUTPUT(Makefile src/Makefile doc/Makefile) +AC_CONFIG_FILES(Makefile src/Makefile doc/Makefile) dnl Output the Makefile for test/test_torsocks. dnl Dump any LDFLAGS that were only required for linking libtorsocks, such as -dynamiclib on OSX. -LDFLAGS="$TESTLDFLAGS" -AC_OUTPUT(test/Makefile) +AC_CONFIG_FILES(test/Makefile,,[LDFLAGS="$TESTLDFLAGS"]) + +AC_OUTPUT -- cgit v1.2.1