From: Paul Querna Date: Fri, 19 Nov 2004 06:19:50 +0000 (+0000) Subject: Add some magic to buildconf so it will tell you to get both apr and apr-util the X-Git-Tag: 2.1.1~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cc8900ed92830298a2cab6007c94e42d2a3d35db;p=apache Add some magic to buildconf so it will tell you to get both apr and apr-util the first time you run it. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105778 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/buildconf b/buildconf index 865dc09eaa..ee066b17a3 100755 --- a/buildconf +++ b/buildconf @@ -51,6 +51,8 @@ done # 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 @@ if [ ! -d "$apr_src_dir" -o ! -f "$apr_src_dir/build/apr_common.m4" ]; then 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 @@ if [ ! -d "$apu_src_dir" -o ! -f "$apu_src_dir/Makefile.in" ]; then 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