]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
regex patch - Nico Garcia(...@...)
authorRobert Colquhoun <rjc@trump.net.au>
Mon, 4 Jan 1999 09:17:08 +0000 (09:17 +0000)
committerRobert Colquhoun <rjc@trump.net.au>
Mon, 4 Jan 1999 09:17:08 +0000 (09:17 +0000)
Fixes regex on RedHat

configure
defs.in

index ac9d9dced6f5080f39bbab091dfefb33e8482226..e2e08bf56379c1176e2215ed6347a61cc54f3fce 100755 (executable)
--- a/configure
+++ b/configure
@@ -1855,9 +1855,9 @@ EmitConfigurationDefinitions()
        echo "#define CONFIG_GETOPTPROTO"
     fi
     test "$CONFIG_BADSELECTPROTO" || {         # int* vs. fd_set*
+       case $TARGET in
        *-hpux10.20*)   CONFIG_BADSELECTPROTO=no;;
        *-hpux11*)      CONFIG_BADSELECTPROTO=no;;
-       case $TARGET in
        *-hpux*)        CONFIG_BADSELECTPROTO=yes;;
        *)              CONFIG_BADSELECTPROTO=no;;
        esac
diff --git a/defs.in b/defs.in
index 0d9834d97884d71695b53e3e40f0c15503ccf521..3ce79a75d2e7f286308d6c48ff2f29957c46839c 100644 (file)
--- a/defs.in
+++ b/defs.in
@@ -215,8 +215,8 @@ CINCS               = ${VCINCS} ${LCINCS} ${GCINCS}
 
 GCOPTS         = @GCOPTS@ ${OPTIMIZER} @PROTOTYPES@
 GCDEFS         = @ANSICPP@
-GCINCS         = -I. -I${DEPTH} -I${SRCDIR} \
-                   -I${DEPTH}/${TOPSRCDIR}/util -I${TIFFINC} -I${REGEXINC}
+GCINCS         = -I. -I${DEPTH} -I${REGEXINC} -I${SRCDIR} \
+                   -I${DEPTH}/${TOPSRCDIR}/util -I${TIFFINC}
 #
 # C++ flags are decomposed using the same hierarchy as C flags.
 #
@@ -231,8 +231,8 @@ C++DEFS             = ${VC++DEFS} ${LC++DEFS} ${GC++DEFS}
 C++INCS                = ${VC++INCS} ${LC++INCS} ${GC++INCS}
 
 GC++OPTS       = @GCXXOPTS@ ${OPTIMIZER}
-GC++INCS       = -I. -I${DEPTH} -I${SRCDIR} \
-                   -I${DEPTH}/${TOPSRCDIR}/util -I${TIFFINC} -I${REGEXINC}
+GC++INCS       = -I. -I${DEPTH} -I${REGEXINC} -I${SRCDIR} \
+                   -I${DEPTH}/${TOPSRCDIR}/util -I${TIFFINC}
 GC++DEFS       = @ANSICXXPP@
 
 #