--- /usr/share/aclocal/libtool.m4.orig 2006-08-21 14:03:53.000000000 +0200 +++ /usr/share/aclocal/libtool.m4 2006-08-21 14:05:36.000000000 +0200 @@ -1096,7 +1096,7 @@ dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" if test "$GCC" = yes; then - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g" -e "s,/:,:,g" -e "s,/$,,g" ` if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is