]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
HP-UX Patch - Robert Colquhoun(rjc@trump.net.au)
authorRobert Colquhoun <rjc@trump.net.au>
Sat, 2 Jan 1999 04:31:13 +0000 (04:31 +0000)
committerRobert Colquhoun <rjc@trump.net.au>
Sat, 2 Jan 1999 04:31:13 +0000 (04:31 +0000)
Patch so configure works properly for HP-UX 10.20

configure

index 92c23ed540dfada9b33991363092c549293e9729..a686452dbab102c662632f2b06d16c540e9cfe82 100755 (executable)
--- a/configure
+++ b/configure
@@ -1853,6 +1853,8 @@ EmitConfigurationDefinitions()
        echo "#define CONFIG_GETOPTPROTO"
     fi
     test "$CONFIG_BADSELECTPROTO" || {         # int* vs. fd_set*
+       *-hpux10.20*)   CONFIG_BADSELECTPROTO=no;;
+       *-hpux11*)      CONFIG_BADSELECTPROTO=no;;
        case $TARGET in
        *-hpux*)        CONFIG_BADSELECTPROTO=yes;;
        *)              CONFIG_BADSELECTPROTO=no;;
@@ -2635,7 +2637,10 @@ BuildPortDotH()
     CheckDefine _PATH_TMP     '_PATH_TMP       "/tmp/"'        paths.h
     if [ $UTMP = auto ]; then
        if CheckForIncludeFile utmpx.h; then
-           UTMP=utmpx;
+           case $TARGET in
+           *-hpux10.20*)       UTMP=utmp;;
+           *)                  UTMP=utmpx;;
+           esac
        else
            UTMP=utmp;
        fi