summaryrefslogtreecommitdiffstats
path: root/comms/hylafax/files/patch-configure
blob: 80bb4d2eda7d4e77bd84a68015ba834ec740836b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- configure.orig	Wed May 30 19:29:46 2001
+++ configure	Mon Apr  8 22:28:59 2002
@@ -440,7 +440,7 @@
 eval `cat $SRCDIR/VERSION | sed 's/\([0-9][0-9]*\)\.\([0-9][0-9]*\)\(.*\)/DIST_MAJOR=\1; DIST_MINOR=\2; DIST_TYPE=\3/'`
 DIST_ALPHA=`awk '{print $3}' $SRCDIR/dist/hylafax.alpha`
 VERSION="${DIST_MAJOR}.${DIST_MINOR}${DIST_TYPE}"
-if [ $DIST_TYPE = beta ]; then
+if [ "$DIST_TYPE" = beta ]; then
     VERSION="${VERSION}${DIST_ALPHA}"
 fi
 
@@ -2584,7 +2584,7 @@
     }
     CheckFuncDecl unlink 'extern int unlink(const char*);' unistd.h
     CheckFuncDecl read 'extern int read(int, const void*, unsigned int);' unistd.h
-    CheckFuncDecl ioctl 'extern int ioctl(int, int, ...);' unistd.h sys/ioctl.h
+#    CheckFuncDecl ioctl 'extern int ioctl(int, int, ...);' unistd.h sys/ioctl.h
     CheckForFunc fchown && {
 	echo '#define HAS_FCHOWN 1'
 	Note "... configure use of fchown"
OpenPOWER on IntegriCloud