blob: 007ad1933fd9a81f9b192ac87770268891dc573f (
plain)
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
|
$NetBSD: patch-ab,v 1.2 2013/10/31 02:25:17 minskim Exp $
--- configure.orig 2010-04-05 00:58:26.000000000 +0000
+++ configure
@@ -9872,7 +9872,11 @@ darwin* | rhapsody*)
soname_spec='${libname}${release}${major}$shared_ext'
shlibpath_overrides_runpath=yes
shlibpath_var=DYLD_LIBRARY_PATH
- shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
+ if test .$module = .yes ; then
+ shrext_cmds=".so"
+ else
+ shrext_cmds=".dylib"
+ fi
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
@@ -17353,9 +17357,9 @@ for testdir in $trypcapdir /usr/local /o
LPCAPINC="${testdir}/include/pcap.h"
LPCAPINCDIR="${testdir}/include"
if test $dynamic_link = yes; then
- if test -f "${testdir}/lib64/libpcap${shrext_cmds}" ; then
+ if test -e "${testdir}/lib64/libpcap${shrext_cmds}" ; then
LPCAPLIB="-L${testdir}/lib64 -lpcap"
- elif test -f "${testdir}/lib/libpcap${shrext_cmds}" ; then
+ elif test -e "${testdir}/lib/libpcap${shrext_cmds}" ; then
LPCAPLIB="-L${testdir}/lib -lpcap"
else
as_fn_error "Unable to find libpcap in ${testdir}" "$LINENO" 5
@@ -18172,7 +18176,7 @@ libdnet_version=
enable_fragroute=no
trydnetdir=/usr/local
-if test $have_cygwin == no ; then
+if test $have_cygwin = no ; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libdnet" >&5
$as_echo_n "checking for libdnet... " >&6; }
@@ -18751,7 +18755,7 @@ esac
fi
- if test "$osx_frameworks" == "yes"; then
+ if test "$osx_frameworks" = "yes"; then
ENABLE_OSX_FRAMEWORKS_TRUE=
ENABLE_OSX_FRAMEWORKS_FALSE='#'
else
|