Hi,

prevent --with-apache2-src and --with-apache2-apxs at the same time

[EMAIL PROTECTED] /usr/local/dev/repos/ASF/httpd/apreq/trunk> svn diff Index: STATUS

===================================================================
--- STATUS      (revision 209929)
+++ STATUS      (working copy)
@@ -78,8 +78,6 @@
       cgi_log() of src/apreq_env.c?

     - Get env/ (Apache::Test) tests to work for --with-apache2-src option.
-      Also add a test to configure that prevents simultaneous use of
-      --with-apache2-src and --with-apache2-apxs.

     - symbol exports files:
       -# aix needs .exp files

Index: acinclude.m4
===================================================================
--- acinclude.m4        (revision 209929)
+++ acinclude.m4        (working copy)
@@ -36,6 +36,10 @@

         prereq_check="$PERL build/version_check.pl"

+        if test -n "$APACHE2_SRC" && test -n "$APACHE2_APXS"; then
+ AC_MSG_ERROR([You can not specify both --with-apache2-src and --with-apache2-apxs])
+        fi
+
         if test -n "$APACHE2_SRC"; then
                 # no apxs: must compile httpd from source


--
END
------------------------------------------------------------
    What doesn't kill us can only make us stronger.
                Nothing is impossible.
                                
Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Developer / Liquidity Services, Inc.
        http://www.liquidityservicesinc.com

Reply via email to