aboutsummaryrefslogtreecommitdiffstats
path: root/aclocal-fallback/libsmi.m4
diff options
context:
space:
mode:
Diffstat (limited to 'aclocal-fallback/libsmi.m4')
-rw-r--r--aclocal-fallback/libsmi.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/aclocal-fallback/libsmi.m4 b/aclocal-fallback/libsmi.m4
index 066a92485c..4019528f1f 100644
--- a/aclocal-fallback/libsmi.m4
+++ b/aclocal-fallback/libsmi.m4
@@ -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