summaryrefslogtreecommitdiff
path: root/devel/libelf/files/patch-configure
blob: b4699b52e8c92b9677b87b51f0dde3fea7f29a1c (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
--- configure.old	Thu Feb 20 16:26:13 2003
+++ configure	Thu Feb 20 16:28:04 2003
@@ -1123,7 +1123,7 @@
 
 fi
 
-for ac_hdr in unistd.h fcntl.h elf.h sys/elf.h link.h sys/link.h
+for ac_hdr in unistd.h fcntl.h sys/elf.h link.h sys/link.h
 do
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
@@ -1220,7 +1220,7 @@
 # Check whether --enable-compat or --disable-compat was given.
 if test "${enable_compat+set}" = set; then
   enableval="$enable_compat"
-  libelf_enable_compat="$enableval"
+  DO_COMPAT="$enableval"
 else
   
   if test "$ac_cv_header_libelf_h$ac_cv_header_nlist_h$ac_cv_header_gelf_h" = yesyesyes
@@ -3039,7 +3039,7 @@
 fi
 
     case "$host" in
-      *-linux*)
+      *-linux*|*-freebsd*)
 	if test "$GCC" = yes; then