summaryrefslogtreecommitdiff
path: root/games/acm/files/patch-03
blob: 79dd7dd1dce796fabbe179b79fa54012649f53b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
*** 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