fielding 01/03/30 21:52:42
Modified: . .cvsignore CHANGES buildconf configure.in
build .cvsignore
Log:
Revert last change -- I forgot that buildconf is run before we create
a release tarball, so it can't be OS-specific.
Revision Changes Path
1.6 +0 -1 apr/.cvsignore
Index: .cvsignore
===================================================================
RCS file: /home/cvs/apr/.cvsignore,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- .cvsignore 2001/03/31 05:23:36 1.5
+++ .cvsignore 2001/03/31 05:52:41 1.6
@@ -1,5 +1,4 @@
Makefile
-aclocal.m4
config.cache
config.log
config.status
1.76 +0 -3 apr/CHANGES
Index: CHANGES
===================================================================
RCS file: /home/cvs/apr/CHANGES,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -r1.75 -r1.76
--- CHANGES 2001/03/31 05:23:36 1.75
+++ CHANGES 2001/03/31 05:52:41 1.76
@@ -1,8 +1,5 @@
Changes with APR b1
- *) Make it easier to replace libtool on OS/2 via aclocal.m4.
- [Roy Fielding]
-
*) Add apr_ipsubnet_create() and apr_ipsubnet_test() for testing
whether or not an address is within a subnet. [Jeff Trawick]
1.15 +32 -37 apr/buildconf
Index: buildconf
===================================================================
RCS file: /home/cvs/apr/buildconf,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- buildconf 2001/03/31 05:23:36 1.14
+++ buildconf 2001/03/31 05:52:41 1.15
@@ -56,43 +56,38 @@
# buildconf: Build the support scripts needed to compile from a
# checked-out version of the source code.
-osname=`build/config.guess`
-case "$osname" in
- *os2_emx*)
- echo "Using OS/2-specific aplibtool"
- cp -f build/os2_libtool.m4 aclocal.m4
- ;;
- *)
- # Verify that the builder has the right config tools installed
- #
- build/buildcheck.sh || exit 1
-
- libtoolize=`build/PrintPath glibtoolize libtoolize`
- if [ "x$libtoolize" = "x" ]; then
- echo "libtoolize not found in path"
- exit 1
- fi
-
- # Create the libtool helper files
- #
- # Note: we copy (rather than link) them to simplify distribution.
- # Note: APR supplies its own config.guess and config.sub -- we do not
- # rely on libtool's versions
- #
- echo "Copying libtool helper files ..."
-
- $libtoolize --copy --automake
-
- ltpath=`dirname $libtoolize`
- ltfile=`cd $ltpath/../share/aclocal ; pwd`/libtool.m4
-
- if [ ! -f $ltfile ]; then
- echo "$ltfile not found"
- exit 1
- fi
- cp -f $ltfile aclocal.m4
- ;;
-esac
+# Verify that the builder has the right config tools installed
+#
+build/buildcheck.sh || exit 1
+
+libtoolize=`build/PrintPath glibtoolize libtoolize`
+if [ "x$libtoolize" = "x" ]; then
+ echo "libtoolize not found in path"
+ exit 1
+fi
+
+# Create the libtool helper files
+#
+# Note: we copy (rather than link) them to simplify distribution.
+# Note: APR supplies its own config.guess and config.sub -- we do not
+# rely on libtool's versions
+#
+echo "Copying libtool helper files ..."
+
+$libtoolize --copy --automake
+
+ltpath=`dirname $libtoolize`
+ltfile=`cd $ltpath/../share/aclocal ; pwd`/libtool.m4
+
+if [ ! -f $ltfile ]; then
+ echo "$ltfile not found"
+ exit 1
+fi
+cp -f $ltfile build/libtool.m4
+
+# This is just temporary until people's workspaces are cleared -- remove
+# any old aclocal.m4 left over from prior build so it doesn't cause errors.
+rm -f aclocal.m4
#
# Generate the autoconf header and ./configure
1.265 +13 -1 apr/configure.in
Index: configure.in
===================================================================
RCS file: /home/cvs/apr/configure.in,v
retrieving revision 1.264
retrieving revision 1.265
diff -u -r1.264 -r1.265
--- configure.in 2001/03/31 05:23:36 1.264
+++ configure.in 2001/03/31 05:52:41 1.265
@@ -15,6 +15,7 @@
sinclude(build/apr_network.m4)
sinclude(build/apr_threads.m4)
sinclude(build/apr_hints.m4)
+sinclude(build/libtool.m4)
AC_CANONICAL_SYSTEM
echo "Configuring APR library"
@@ -78,7 +79,18 @@
dnl prep libtool
dnl
echo "performing libtool configuration..."
-AC_PROG_LIBTOOL
+
+case "$host_alias" in
+*os2*)
+ # Use a custom made libtool replacement
+ echo "using aplibtool"
+ LIBTOOL="$srcdir/build/aplibtool"
+ gcc -o $LIBTOOL.exe $LIBTOOL.c
+ ;;
+*)
+ AC_PROG_LIBTOOL
+ ;;
+esac
dnl #----------------------------- Checks for compiler flags
nl='
1.4 +1 -0 apr/build/.cvsignore
Index: .cvsignore
===================================================================
RCS file: /home/cvs/apr/build/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore 2001/03/31 05:23:37 1.3
+++ .cvsignore 2001/03/31 05:52:42 1.4
@@ -1,3 +1,4 @@
+libtool.m4
ltconfig
ltmain.sh
rules.mk