]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
Fix up bugs triggered in configure by the movement of params from VAR2 to
authorRobert Colquhoun <rjc@trump.net.au>
Thu, 31 May 2001 02:29:46 +0000 (02:29 +0000)
committerRobert Colquhoun <rjc@trump.net.au>
Thu, 31 May 2001 02:29:46 +0000 (02:29 +0000)
VAR1.

configure

index abe130717b5c3bc109eb77a033aec499496493d7..f0662bc9fc5e9d424401202aa6fdb1eee38fcb81 100755 (executable)
--- a/configure
+++ b/configure
@@ -113,14 +113,17 @@ CHGRP
 CHMOD
 CHOWN
 CC
+CCOMPILER
 CMP
 COL
 CP
 CXX
+CXXCOMPILER
 CXXFILE
 DATE
 DBLIB
 DBLIBINC
+DEFPAGESIZE
 DEFVRES
 DIST_ALPHA
 DIST_MAJOR
@@ -1337,10 +1340,9 @@ fi
 
 makeDefs()
 {
-    $RM confsed1
     WARNING="Warning, this file was automatically created by the HylaFAX configure script"
-    dumpvars "$VAR1" CCOMPILER CXXCOMPILER | sort>confsed1
-    dumpvars "$VAR2" CCOMPILER CXXCOMPILER | sort>confsed2
+    $RM confsed1; dumpvars "$VAR1" | sort>confsed1
+    $RM confsed2; dumpvars "$VAR2" | sort>confsed2
     $RM xdefs; sed -f confsed1 $SRCDIR/defs.in | sed -f confsed2 >$1
 }
 
@@ -4444,7 +4446,8 @@ x="`relativize ${LIBREGEX}`"; LIBREGEX="$x"
 x="`relativize ${LIBDB}`"; LIBDB="$x"
 
 # NB: these should be sorted alphabetically
-$RM confsed2; dumpvars "$VAR2" DEFPAGESIZE | sort > confsed2
+$RM confsed1; dumpvars "$VAR1" | sort > confsed1
+$RM confsed2; dumpvars "$VAR2" | sort > confsed2
 
 
 SedConfigFiles()