Also check in $prefix for libsmi.
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 10 Aug 2008 15:37:39 +0000 (15:37 +0000)
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 10 Aug 2008 15:37:39 +0000 (15:37 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25976 f5534014-38df-0310-8fa8-9805f1628bb7

aclocal-fallback/libsmi.m4

index 066a92485cc408a6c6f425c546f5d2159cbf733e..4019528f1f613533261eb7de6e6e9b2bb5859935 100644 (file)
@@ -49,7 +49,7 @@ AC_DEFUN([AX_LIBSMI],
             ac_libsmi_ldflags="-L$ac_libsmi_path/lib"
             ac_libsmi_cflags="-I$ac_libsmi_path/include"
         else
-            for ac_libsmi_path_tmp in /usr /usr/local /opt ; do
+            for ac_libsmi_path_tmp in /usr /usr/local /opt $prefix; do
                 if test -f "$ac_libsmi_path_tmp/include/$ac_libsmi_header" \
                     && test -r "$ac_libsmi_path_tmp/include/$ac_libsmi_header"; then
                     ac_libsmi_path=$ac_libsmi_path_tmp