]> granicus.if.org Git - php/commitdiff
More verbose error message for non-working apxs case
authorSascha Schumann <sas@php.net>
Mon, 13 Nov 2000 12:43:44 +0000 (12:43 +0000)
committerSascha Schumann <sas@php.net>
Mon, 13 Nov 2000 12:43:44 +0000 (12:43 +0000)
sapi/apache/config.m4

index 664ee281a52483300440dcbd625666d63081c2d4..20dc9b3b0dcebf265e7db4c6168d4626e7fc6d52 100644 (file)
@@ -32,7 +32,11 @@ AC_ARG_WITH(apxs,
     else
       AC_MSG_RESULT()
       $APXS
-      AC_MSG_ERROR([Sorry, I cannot run apxs. Either you need to install Perl or you need to pass the absolute path of apxs by using --with-apxs=/absolute/path/to/apxs])
+      AC_MSG_RESULT([Sorry, I was not able to successfully run APXS.  Possible reasons:])
+      AC_MSG_RESULT([1.  Perl is not installed;])
+      AC_MSG_RESULT([2.  Apache was not compiled with DSO support (--enable-module=so);])
+      AC_MSG_RESULT([3.  'apxs' is not in your path.])
+      AC_MSG_ERROR([;]) 
     fi 
 
        APXS_LDFLAGS="@SYBASE_LFLAGS@ @SYBASE_LIBS@ @SYBASE_CT_LFLAGS@ @SYBASE_CT_LIBS@"