dougm       00/12/19 23:10:25

  Modified:    apaci    mod_perl.config.sh
               .        Changes
  Log:
  build fix for using gcc with AIX
  
  Revision  Changes    Path
  1.20      +9 -2      modperl/apaci/mod_perl.config.sh
  
  Index: mod_perl.config.sh
  ===================================================================
  RCS file: /home/cvs/modperl/apaci/mod_perl.config.sh,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- mod_perl.config.sh        2000/09/26 20:15:06     1.19
  +++ mod_perl.config.sh        2000/12/20 07:10:24     1.20
  @@ -118,7 +118,14 @@
   perl_lddlflags="`$perl_interp $config_pm -e 'print $Config{lddlflags}'`"
   
   case "$os_version" in
  -    aix*)  perl_lddlflags="$perl_lddlflags -bI:\$(APACHELIBEXEC)/httpd.exp" ;;
  +    aix*)
  +     case "$perl_cc" in
  +     *gcc*)
  +             XLINKER="-Xlinker "
  +             ;;
  +     esac
  +     perl_lddlflags="$perl_lddlflags $XLINKER-bI:\$(APACHELIBEXEC)/httpd.exp"
  +     ;;
       * )    ;;
   esac
   
  @@ -150,7 +157,7 @@
   if test $build_type = OBJ
   then
        case "$os_version" in
  -         aix*)  perl_libs="$perl_libs -bE:\$(SRCDIR)/modules/perl/mod_perl.exp" ;;
  +         aix*)  perl_libs="$perl_libs 
$XLINKER-bE:\$(SRCDIR)/modules/perl/mod_perl.exp" ;;
            * )    ;;
        esac
   fi
  
  
  
  1.554     +3 -0      modperl/Changes
  
  Index: Changes
  ===================================================================
  RCS file: /home/cvs/modperl/Changes,v
  retrieving revision 1.553
  retrieving revision 1.554
  diff -u -r1.553 -r1.554
  --- Changes   2000/12/20 07:02:48     1.553
  +++ Changes   2000/12/20 07:10:24     1.554
  @@ -10,6 +10,9 @@
   
   =item 1.24_02-dev
   
  +Build fix for using gcc with AIX
  +[Jens-Uwe Mager <[EMAIL PROTECTED]>]
  +
   allow modification of $r->hostname
   [Jim Winstead <[EMAIL PROTECTED]>]
   
  
  
  

Reply via email to