httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/support apxs.in
Date Mon, 29 Apr 2002 18:09:03 GMT
trawick     02/04/29 11:09:02

  Modified:    support  apxs.in
  Log:
  finish getting apxs to work with a binary build
  
  it now picks up any necessary ld environment variables from
  the envvars file when invoking "httpd -l" to verify that
  mod_so was included in the build
  
  Revision  Changes    Path
  1.37      +4 -1      httpd-2.0/support/apxs.in
  
  Index: apxs.in
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/support/apxs.in,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- apxs.in	13 Mar 2002 20:48:05 -0000	1.36
  +++ apxs.in	29 Apr 2002 18:09:02 -0000	1.37
  @@ -223,6 +223,9 @@
   my $httpd = get_vars("sbindir") . "/" . get_vars("progname");
   $httpd = eval qq("$httpd");
   $httpd = eval qq("$httpd");
  +my $envvars = get_vars("bindir") . "/envvars";
  +$envvars = eval qq("$envvars");
  +$envvars = eval qq("$envvars");
   
   #allow apxs to be run from the source tree, before installation
   if ($0 =~ m:support/apxs$:) {
  @@ -234,7 +237,7 @@
   	exit 1;
   }
   
  -unless (grep /mod_so/, `$httpd -l`) {
  +unless (grep /mod_so/, `. $envvars && $httpd -l`) {
       error("Sorry, no shared object support for Apache");
       error("available under your platform. Make sure");
       error("the Apache module mod_so is compiled into");
  
  
  

Mime
View raw message