httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wsanc...@hyperreal.org
Subject cvs commit: apache-2.0/src/support apxs.pl
Date Tue, 07 Dec 1999 00:06:45 GMT
wsanchez    99/12/06 16:06: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.2       +15 -15    apache-2.0/src/support/apxs.pl
  
  Index: apxs.pl
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/support/apxs.pl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- apxs.pl	1999/08/24 06:45:53	1.1
  +++ apxs.pl	1999/12/07 00:06:41	1.2
  @@ -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);
   }
   
   ##
  
  
  

Mime
View raw message