--- configure.orig	Tue Feb  3 16:49:23 2004
+++ configure	Fri Jul 30 04:20:34 2004
@@ -1530,7 +1530,7 @@
 if test "x$LTSHARED" != xno  -o  "x$LTSTATIC" != xno; then
   USELIBTOOL="yes"
   LIBTOOL="./libtool"
-  O="lo"
+  O="o"
   A="la"
   LN='$(LIBTOOL) --mode=link $(CC)'
   INSTALL_LIB='$(LIBTOOL) --mode=install ${INSTALL}'
@@ -1559,7 +1559,8 @@
   if test "x$LTSTATIC" = xno; then
     disable_static="--disable-static"
   fi
-  $srcdir/ltconfig $disable_shared $disable_static $srcdir/ltmain.sh
+  pic_flag="-fPIC"
+  $ac_aux_dir/ltconfig $disable_shared $disable_static $ac_aux_dir/ltmain.sh
 fi
 
 # Select memory manager depending on user input.
