freebsd-ports/games/acm/files/patch-03
1999-02-01 23:32:47 +00:00

60 lines
1.3 KiB
Text

*** configure~ Mon Aug 17 20:15:13 1998
--- configure Mon Feb 1 18:42:53 1999
***************
*** 529,535 ****
if test -d /usr/lib/games ; then
! OBVDIR="/usr/lib/games/acm"
else
! OBVDIR=\$\(prefix\)/games/acm
fi
--- 529,535 ----
if test -d /usr/lib/games ; then
! OBVDIR="/usr/lib/games/acm/"
else
! OBVDIR=\$\(prefix\)/games/acm/
fi
***************
*** 557,560 ****
--- 557,567 ----
fi
+ # *BSD
+ BSD=0
+ if uname -s | grep BSD > /dev/null ; then
+ BSD=1
+ OBVDIR=${prefix}/share/acm/
+ fi
+
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
***************
*** 769,773 ****
! if test "$LINUX" = "0" ; then
echo $ac_n "checking for elf_end in -lelf""... $ac_c" 1>&6
echo "configure:774: checking for elf_end in -lelf" >&5
--- 776,780 ----
! if test "$LINUX" = "0" -a "$BSD" = "0"; then
echo $ac_n "checking for elf_end in -lelf""... $ac_c" 1>&6
echo "configure:774: checking for elf_end in -lelf" >&5
***************
*** 1129,1133 ****
done
! if test "$LINUX" = "0" ; then
ac_safe=`echo "elf.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for elf.h""... $ac_c" 1>&6
--- 1136,1141 ----
done
!
! if test "$LINUX" = "0" -a "$BSD" = "0" ; then
ac_safe=`echo "elf.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for elf.h""... $ac_c" 1>&6