You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ws...@hyperreal.org on 1999/12/07 00:55:44 UTC

cvs commit: apache-1.3/src/support apxs.pl

wsanchez    99/12/06 15:55:43

  Modified:    src/support apxs.pl
  Log:
  Perform check for "$CFG_SBINDIR/$CFG_TARGET" _after_ the command line
  overrides for CFG_SBINDIR and CFG_TARGET have been evaluated.
  
  Revision  Changes    Path
  1.29      +15 -15    apache-1.3/src/support/apxs.pl
  
  Index: apxs.pl
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/support/apxs.pl,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- apxs.pl	1999/10/27 07:22:48	1.28
  +++ apxs.pl	1999/12/06 23:55:37	1.29
  @@ -89,21 +89,6 @@
   $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
   ##
   
  @@ -231,6 +216,21 @@
   	    &usage;
   	}	
       }
  +}
  +
  +##
  +##  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);
   }
   
   ##