[xml] libxslt 1.0.9 Solaris patch



"test -e" is not portable. It breaks under Solaris 7.

-- 
albert chin (china thewrittenword com)

-- snip snip
--- configure.in.orig   Thu Dec 13 10:11:43 2001
+++ configure.in        Thu Dec 13 12:32:27 2001
@@ -268,11 +268,11 @@
 # try to check if there is already an installed shared lib of the same level
 #
 INSTALLED_XSLT_LIB=""
-if test -e $prefix
+if test -d $prefix
 then
     shared_xslt_lib="$prefix/lib/libxslt.so.$LIBXSLT_MAJOR_VERSION"
     shared_xslt_la="$prefix/lib/libxslt.la"
-    if test -e $shared_xslt_lib -a -e $shared_xslt_la
+    if test -f $shared_xslt_lib -a -f $shared_xslt_la
     then
        INSTALLED_XSLT_LIB="-L$libdir -lxslt"
     fi



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]