diff --git a/clucene.m4 b/clucene.m4 index 312a97a..01add01 100644 --- a/clucene.m4 +++ b/clucene.m4 @@ -28,7 +28,7 @@ AC_ARG_ENABLE(static-clucene, dnl try to find CLucene library files AC_MSG_CHECKING([for CLucene library files]) -clucene_multiarch_libs="/usr/lib/`uname -m`-linux-gnu" +clucene_multiarch_libs="`find /usr/lib/ -maxdepth 1 -type d | xargs echo`" ac_clucene_library_dirs="$ac_clucene_dir/lib $exec_prefix/lib $prefix/lib /usr/lib /usr/lib64 /usr/local/lib $clucene_multiarch_libs" if test "x$ac_static_clucene" = "xYES"; then