freebsd-ports/devel/libelf/files/patch-configure
Peter Pentchev 2f094db440 libelf is a public library for manipulation of ELF files.
PR:		26190
Submitted by:	Kevin Van Maren <vanmaren@fast.cs.utah.edu>
2001-04-18 17:36:11 +00:00

20 lines
416 B
Text

--- configure Wed Apr 18 13:20:42 2001
+++ configure Wed Apr 18 13:20:56 2001
@@ -1038,7 +1038,7 @@
fi
-for ac_hdr in unistd.h elf.h sys/elf.h
+for ac_hdr in unistd.h sys/elf.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
@@ -2692,7 +2692,7 @@
fi
case "$host" in
- *-linux*)
+ *-linux*|*-freebsd*)
if test "$GCC" = yes; then