aboutsummaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2006-10-26 14:50:03 +0000
committerJörg Mayer <jmayer@loplof.de>2006-10-26 14:50:03 +0000
commit6cd3bd1202c3ff220ad4162542eb371aec76a59c (patch)
tree99446cb98f6357cc484db5b7383f75d74ebfa897 /acinclude.m4
parentf7aa75ba229008e8d3a4b3a24224f5dcab94e1c1 (diff)
Don't include /usr/local if usage of /usr/local has been disabled via
configure option. svn path=/trunk/; revision=19706
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m48
1 files changed, 5 insertions, 3 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index d39338fa4c..1ad3d2d02a 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -1365,9 +1365,11 @@ AC_DEFUN([AC_WIRESHARK_ADNS_CHECK],
if test "x$want_adns" = "xdefaultyes"; then
want_adns=yes
- withval=/usr/local
- if test -d "$withval"; then
- AC_WIRESHARK_ADD_DASH_L(LDFLAGS, ${withval}/lib)
+ if test "x$ac_cv_enable_usr_local" = "xyes" ; then
+ withval=/usr/local
+ if test -d "$withval"; then
+ AC_WIRESHARK_ADD_DASH_L(LDFLAGS, ${withval}/lib)
+ fi
fi
fi