httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject cvs commit: httpd-2.0/support apxs.in
Date Fri, 27 Apr 2001 15:30:25 GMT
martin      01/04/27 08:30:25

  Modified:    support  apxs.in
  Log:
  Fix APXS: treat sbindir as expected, fix "link" command.
  
  Submitted by:	GOMEZ Henri <hgomez@slib.fr>
  
  Revision  Changes    Path
  1.18      +14 -3     httpd-2.0/support/apxs.in
  
  Index: apxs.in
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/support/apxs.in,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -u -r1.17 -r1.18
  --- apxs.in	2001/02/16 04:26:53	1.17
  +++ apxs.in	2001/04/27 15:30:21	1.18
  @@ -73,7 +73,7 @@
   my $prefix            = "$CFG_PREFIX";
   my $CFG_EXEC_PREFIX   = "@exec_prefix@";
   my $exec_prefix       = "$CFG_EXEC_PREFIX";
  -my $CFG_SBINDIR       = "@bindir@";
  +my $CFG_SBINDIR       = "@sbindir@";
   my $CFG_INCLUDEDIR    = "@includedir@";
   my $CFG_LIBEXECDIR    = "@libexecdir@";
   my $CFG_SYSCONFDIR    = "@sysconfdir@";
  @@ -372,6 +372,7 @@
       }
       my $cflags = "$CFG_CFLAGS";
       my $s;
  +    my $mod;
       foreach $s (@srcs) {
           my $slo = $s;
           $slo =~ s|\.c$|.slo|;
  @@ -379,10 +380,20 @@
           $lo =~ s|\.c$|.lo|;
           my $la = $s;
           $la =~ s|\.c$|.la|;
  -        push(@cmds, "libtool --silent --mode=compile $CFG_CC $cflags -I$CFG_INCLUDEDIR
$opt -c $s && touch $slo");
  -        push(@cmds, "libtool --silent --mode=link $CFG_CC $cflags -o $la -rpath $CFG_LIBEXECDIR
-module -avoid-version $lo");
  +        my $o = $s;
  +        $o =~ s|\.c$|.o|;
  +        push(@cmds, "libtool --silent --mode=compile $CFG_CC $cflags -I$CFG_INCLUDEDIR
$opt -c -o $lo $s && touch $slo");
  +        unshift(@objs, $lo);
  +    }
   
  +    #   create link command
  +    my $o;
  +    my $lo;	
  +    foreach $o (@objs) {
  +        $lo .= " $o";
       }
  +
  +    push(@cmds, "libtool --silent --mode=link $CFG_CC $cflags -o $dso_file -rpath $CFG_LIBEXECDIR
-module -avoid-version $lo");
   
       #   execute the commands
       &execute_cmds(@cmds);
  
  
  

Mime
View raw message