Ignore:
Timestamp:
Apr 16, 2007, 3:31:41 AM (18 years ago)
Author:
bird
Message:

Unixroot and one silly ':' issue.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/essentials/sys-devel/automake-1.9/aclocal.in

    r3086 r3143  
    3030BEGIN
    3131{
    32   my $perllibdir = $ENV{'perllibdir'} || '@datadir@/@PACKAGE@-@APIVERSION@';
     32  my $perllibdir = $ENV{'perllibdir'} || $ENV{'UNIXROOT'}.'@datadir@/@PACKAGE@-@APIVERSION@';
     33  $perllibdir =~ s/$ENV{'UNIXROOT'}\/\@unixroot/$ENV{'UNIXROOT'}/; # The EMX built perl doesn't know @unixroot.
     34  $perllibdir =~ s/\/\@unixroot/$ENV{'UNIXROOT'}/; # The EMX built perl doesn't know @unixroot.
    3335  unshift @INC, (split '@PATH_SEPARATOR@', $perllibdir);
    3436}
     
    4648# Note that this isn't pkgdatadir, but a separate directory.
    4749# Note also that the versioned directory is handled later.
    48 $acdir = '@datadir@/aclocal';
     50$acdir = $ENV{'UNIXROOT'}.'@datadir@/aclocal';
     51$acdir =~ s/$ENV{'UNIXROOT'}\/\@unixroot/$ENV{'UNIXROOT'}/; # The EMX built perl doesn't know @unixroot.
     52$acdir =~ s/\/\@unixroot/$ENV{'UNIXROOT'}/; # The EMX built perl doesn't know @unixroot.
    4953$default_acdir = $acdir;
    5054# contains a list of directories, one per line, to be added
     
    425429    {
    426430      chomp;
    427       my ($file, $macro, $arg1) = split (/:/);
     431      # Stupid, stupid unix guys.
     432      #my ($file, $macro, $arg1) = split (/:/);
     433      my ($file, $macro, $arg1, $dos) = split (/:/);
     434      if (length($file) == 1 && $dos ne '')
     435        {
     436          $file = $file.":".$macro;
     437          $macro = $arg1;
     438          $arg1 = $dos;
     439        }
    428440
    429441      $traced{$macro} = 1 if $macro_seen{$macro};
Note: See TracChangeset for help on using the changeset viewer.