Index: configure
--- configure.orig	2008-08-04 01:51:05 +0200
+++ configure	2008-08-05 21:45:17 +0200
@@ -22961,7 +22961,7 @@
 }
 
           # Check if we can link with libapr
-       APR_LIB_NAME=`$APRC --apr-la-file | sed -e s/.*lib// -e s/\.la//`
+       APR_LIB_NAME="apr"
        as_ac_Lib=`echo "ac_cv_lib_$APR_LIB_NAME''_apr_palloc" | $as_tr_sh`
 { echo "$as_me:$LINENO: checking for apr_palloc in -l$APR_LIB_NAME" >&5
 echo $ECHO_N "checking for apr_palloc in -l$APR_LIB_NAME... $ECHO_C" >&6; }
@@ -23265,7 +23265,7 @@
 }
 
           # Check if we can link with libapr
-       APU_LIB_NAME=`$APUC --apu-la-file | sed -e s/.*lib// -e s/\.la//`
+       APU_LIB_NAME="aprutil"
        as_ac_Lib=`echo "ac_cv_lib_$APU_LIB_NAME''_apr_brigade_create" | $as_tr_sh`
 { echo "$as_me:$LINENO: checking for apr_brigade_create in -l$APU_LIB_NAME" >&5
 echo $ECHO_N "checking for apr_brigade_create in -l$APU_LIB_NAME... $ECHO_C" >&6; }
Index: utils/Makefile.in
--- utils/Makefile.in.orig	2008-08-04 01:27:22 +0200
+++ utils/Makefile.in	2008-08-05 21:48:52 +0200
@@ -92,7 +92,7 @@
 	$(LIBTOOL) --mode=link --tag=CC $(CC) $(LDFLAGS) -o $@ modxslt-perror.lo
 
 modxslt-parse: modxslt-parse.lo  ../lib/libmodxslt$(LIB_VERSION).la Makefile
-	$(LIBTOOL) --mode=link --tag=CC $(CC) $(LDFLAGS) -o $@ modxslt-parse.lo  ../lib/libmodxslt$(LIB_VERSION).la
+	$(LIBTOOL) --mode=link --tag=CC $(CC) $(LDFLAGS) -static -o $@ modxslt-parse.lo  ../lib/libmodxslt$(LIB_VERSION).la
 
 ../lib/libmodxslt$(LIB_VERSION).la: Makefile
 	$(MAKE) -C ../lib @DEFAULT_TARGET@
