Hello.
Here is a small patch that fixes up a couple of problems that
cause the configure script to break when run in a build
directory that is not the same as the source directory.
It also uses $MKDIR not $MKDIR -p, the -p thing is an
error, it ends up making a directory named -p in the
build dir.
cheers
Mo DeJong
Red Hat Inc
Index: aclocal.m4
===================================================================
RCS file: /home/cvspublic/apr/aclocal.m4,v
retrieving revision 1.34
diff -u -r1.34 aclocal.m4
--- aclocal.m4 2000/12/06 13:08:27 1.34
+++ aclocal.m4 2000/12/15 08:58:33
@@ -328,7 +328,7 @@
AC_DEFUN(APR_PREPARE_MM_DIR,[
dnl #----------------------------- Prepare mm directory for VPATH support
if test -n "$USE_MM" && test -n "$USE_VPATH"; then
- test -d $mm_dir || $MKDIR -p $mm_dir
+ test -d $mm_dir || $MKDIR $mm_dir
for i in shtool config.guess config.sub fbtool ltconfig \
ltmain.sh mm_vers.c; do
Index: configure.in
===================================================================
RCS file: /home/cvspublic/apr/configure.in,v
retrieving revision 1.188
diff -u -r1.188 configure.in
--- configure.in 2000/12/13 22:30:19 1.188
+++ configure.in 2000/12/15 08:58:34
@@ -28,6 +28,12 @@
abs_helpersdir=$abs_srcdir/helpers
MKDIR=$abs_helpersdir/mkdir.sh
+
+dnl # This is a small hack that is needed because old versions
+dnl # of autoconf do not do a mkdir -p for AC_CONFIG_HEADER.
+dir=include/arch/unix
+test -d $dir || $MKDIR $dir
+
if test "$abs_builddir" != "$abs_srcdir"; then
USE_VPATH=1
fi
@@ -801,7 +807,7 @@
SUBDIRS="lib strings passwd tables "
for dir in $MODULES
do
- test -d $dir || $MKDIR -p $dir
+ test -d $dir || $MKDIR $dir
if test -f $srcdir/$dir/$OSDIR/Makefile.in; then
MAKEFILE2="$MAKEFILE2 $dir/$OSDIR/Makefile "
SUBDIRS="$SUBDIRS $dir/$OSDIR "