]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
BSD compatibility fixes. Contributed by Andy Sparrow <andy@geek4food.org>
authorDarren Nickerson <darren.nickerson@ifax.com>
Sun, 18 Jun 2000 06:27:10 +0000 (06:27 +0000)
committerDarren Nickerson <darren.nickerson@ifax.com>
Sun, 18 Jun 2000 06:27:10 +0000 (06:27 +0000)
configure

index ebd0a81c20d9716d7429c2480da9e4b42d171583..4143bc8c96f76c41e275821b816c3c4930fce462 100755 (executable)
--- a/configure
+++ b/configure
@@ -2423,6 +2423,8 @@ BuildPortDotH()
         *sysv4.2uw2*)  CONFIG_SOCKARGLENTYPE=size_t;;
         *-univel-*)    CONFIG_SOCKARGLENTYPE=size_t;;
         *-UnixWare*)   CONFIG_SOCKARGLENTYPE=size_t;;
+       *-freebsd4*)    CONFIG_SOCKARGLENTYPE=u_int32_t;;
+       *-freebsd5*)    CONFIG_SOCKARGLENTYPE=u_int32_t;;
         *)             CONFIG_SOCKARGLENTYPE=int;;
         esac
     }
@@ -3694,10 +3696,14 @@ getGSFonts()
        return 0
 }
 
-if [ -z "$FONTMAP" ]; then
-       FONTMAP=`getGSFonts`
-fi
 Note "Setting the Fontmap path to $FONTMAP"
+case $TARGET in
+       *-freebsd*)     PATH_AFM=/usr/local/lib/afm ;;
+       *)      if [ -z "$FONTMAP" ]; then
+                       FONTMAP=`getGSFonts`;
+               fi
+               Note "Setting the Fontmap path to $FONTMAP";;
+esac
 
 #
 # Location of Adobe Font Metric files.