You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by pq...@apache.org on 2004/11/19 07:19:50 UTC
svn commit: r105778 - httpd/httpd/trunk
Author: pquerna
Date: Thu Nov 18 22:19:50 2004
New Revision: 105778
Modified:
httpd/httpd/trunk/buildconf
Log:
Add some magic to buildconf so it will tell you to get both apr and apr-util the
first time you run it.
Modified: httpd/httpd/trunk/buildconf
==============================================================================
--- httpd/httpd/trunk/buildconf (original)
+++ httpd/httpd/trunk/buildconf Thu Nov 18 22:19:50 2004
@@ -51,6 +51,8 @@
# Check to be sure that we have the srclib dependencies checked-out
#
+should_exit=0
+
if [ ! -d "$apr_src_dir" -o ! -f "$apr_src_dir/build/apr_common.m4" ]; then
echo ""
echo "You don't have a copy of the apr source in $apr_src_dir. "
@@ -61,7 +63,7 @@
echo " cd srclib"
echo " svn co https://svn.apache.org/repos/asf/apr/apr/trunk apr"
echo ""
- exit 1
+ should_exit=1
fi
if [ ! -d "$apu_src_dir" -o ! -f "$apu_src_dir/Makefile.in" ]; then
echo ""
@@ -73,6 +75,10 @@
echo " cd srclib"
echo " svn co http://svn.apache.org/repos/asf/apr/apr-util/trunk apr-util"
echo ""
+ should_exit=1
+fi
+
+if [ $should_exit -gt 0 ]; then
exit 1
fi