diff --git a/aclocal.m4 b/aclocal.m4 index 25ecd5e9..ad7c3f3a 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -175,7 +175,7 @@ mh_solaris_path="" for mh_lib in $mh_libs; do mh_lib_found=no for ac_dir in $mh_lib_dirs ; do - for mh_ext in a so sl dll.a; do + for mh_ext in a so sl dll.a dylib; do if test -r $ac_dir/lib$mh_lib.$mh_ext; then if test "x$mh_prev_dir" != "x$ac_dir" ; then if test "x$mh_prev_dir" = "x" ; then diff --git a/configure b/configure index b8a5a10f..2d094bc4 100755 --- a/configure +++ b/configure @@ -4799,7 +4799,7 @@ mh_solaris_path="" for mh_lib in $mh_libs; do mh_lib_found=no for ac_dir in $mh_lib_dirs ; do - for mh_ext in a so sl dll.a; do + for mh_ext in a so sl dll.a dylib; do if test -r $ac_dir/lib$mh_lib.$mh_ext; then if test "x$mh_prev_dir" != "x$ac_dir" ; then if test "x$mh_prev_dir" = "x" ; then