1 --- libtool-1.5/libtool.m4.orig 2003-04-14 23:58:23.000000000 +0200
2 +++ libtool-1.5/libtool.m4 2003-04-20 12:22:06.000000000 +0200
5 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8 + new_sys_lib_search_path_spec=
9 + for d in $sys_lib_search_path_spec ; do
11 + if test -d $d -a -x $d ; then
13 + new_d=$(cd $d ; pwd)
15 + if ! echo "$new_sys_lib_search_path_spec" | grep -q -F -e " $new_d " ; then
16 + new_sys_lib_search_path_spec="$new_sys_lib_search_path_spec $new_d "
21 + sys_lib_search_path_spec=`echo "$new_sys_lib_search_path_spec" | $SED -e 's/^ *//g;s/ \+/ /g;s/ $//g'`
23 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"