From: Wilfredo Sanchez Date: Tue, 7 Dec 1999 00:06:41 +0000 (+0000) Subject: Perform check for "$CFG_SBINDIR/$CFG_TARGET" _after_ the command line X-Git-Tag: 1.3.10~115 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e1f06afda15f253669043b3c820358cd3d63a03a;p=apache Perform check for "$CFG_SBINDIR/$CFG_TARGET" _after_ the command line overrides for CFG_SBINDIR and CFG_TARGET have been evaluated. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84239 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/support/apxs.in b/support/apxs.in index 3bdd35d2b9..5901a4e17b 100644 --- a/support/apxs.in +++ b/support/apxs.in @@ -88,21 +88,6 @@ $CFG_CFLAGS =~ s|^\s+||; $CFG_CFLAGS =~ s|\s+$||; $CFG_CFLAGS =~ s|\s+`.+apaci`||; -## -## Initial shared object support check -## -if (not -x "$CFG_SBINDIR/$CFG_TARGET") { - print STDERR "apxs:Error: $CFG_SBINDIR/$CFG_TARGET not found or not executable\n"; - exit(1); -} -if (not grep(/mod_so/, `$CFG_SBINDIR/$CFG_TARGET -l`)) { - print STDERR "apxs:Error: Sorry, no shared object support for Apache\n"; - print STDERR "apxs:Error: available under your platform. Make sure\n"; - print STDERR "apxs:Error: the Apache module mod_so is compiled into\n"; - print STDERR "apxs:Error: your server binary `$CFG_SBINDIR/$CFG_TARGET'.\n"; - exit(1); -} - ## ## parse argument line ## @@ -233,6 +218,21 @@ if (@opt_S) { } } +## +## Initial shared object support check +## +if (not -x "$CFG_SBINDIR/$CFG_TARGET") { + print STDERR "apxs:Error: $CFG_SBINDIR/$CFG_TARGET not found or not executable\n"; + exit(1); +} +if (not grep(/mod_so/, `$CFG_SBINDIR/$CFG_TARGET -l`)) { + print STDERR "apxs:Error: Sorry, no shared object support for Apache\n"; + print STDERR "apxs:Error: available under your platform. Make sure\n"; + print STDERR "apxs:Error: the Apache module mod_so is compiled into\n"; + print STDERR "apxs:Error: your server binary `$CFG_SBINDIR/$CFG_TARGET'.\n"; + exit(1); +} + ## ## Operation ##