bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Handling `@' sign in paths


From: Alexandre Duret-Lutz
Subject: Re: Handling `@' sign in paths
Date: 15 Sep 2002 19:43:43 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>> "Martin" == Martin MOKREJ© <address@hidden> writes:

 Martin> Hi,
 Martin> we use AFS filesysten on our machines and I think automake-1.6.3 does
 Martin> not handle the situation:

 Martin> ./configure --prefix=/software/@sys/usr

Thanks!  I'm installing the following patch; this will be in Automake 1.7.

2002-09-15  Alexandre Duret-Lutz  <address@hidden>

        * aclocal.in, automake.in: Requote each "@var@" as '@var@'.

Index: aclocal.in
===================================================================
RCS file: /cvs/automake/automake/aclocal.in,v
retrieving revision 1.74
diff -u -r1.74 aclocal.in
--- aclocal.in  13 Sep 2002 07:03:29 -0000      1.74
+++ aclocal.in  15 Sep 2002 17:41:15 -0000
@@ -29,22 +29,22 @@
 
 BEGIN
 {
-  my $prefix = "@prefix@";
-  my $perllibdir = $ENV{'perllibdir'} || 
"@datadir@/@address@hidden@APIVERSION@";
-  unshift @INC, "$perllibdir";
+  my $prefix = '@prefix@';
+  my $perllibdir = $ENV{'perllibdir'} || 
'@datadir@/@address@hidden@APIVERSION@';
+  unshift @INC, $perllibdir;
 }
 
 use Automake::General;
 use Automake::XFile;
 
 # Some constants.
-$VERSION = "@VERSION@";
-$APIVERSION = "@APIVERSION@";
-$PACKAGE = "@PACKAGE@";
-$prefix = "@prefix@";
+$VERSION = '@VERSION@';
+$APIVERSION = '@APIVERSION@';
+$PACKAGE = '@PACKAGE@';
+$prefix = '@prefix@';
 # Note that this isn't pkgdatadir, but a separate directory.
 # Note also that the versioned directory is handled later.
-$acdir = "@datadir@/aclocal";
+$acdir = '@datadir@/aclocal';
 $default_acdir = $acdir;
 # contains a list of directories, one per line, to be added
 # to the dirlist in addition to $acdir, as if -I had been
Index: automake.in
===================================================================
RCS file: /cvs/automake/automake/automake.in,v
retrieving revision 1.1348
diff -u -r1.1348 automake.in
--- automake.in 13 Sep 2002 16:34:40 -0000      1.1348
+++ automake.in 15 Sep 2002 17:41:39 -0000
@@ -31,9 +31,9 @@
 
 BEGIN
 {
-  my $prefix = "@prefix@";
-  my $perllibdir = $ENV{'perllibdir'} || 
"@datadir@/@address@hidden@APIVERSION@";
-  unshift @INC, "$perllibdir";
+  my $prefix = '@prefix@';
+  my $perllibdir = $ENV{'perllibdir'} || 
'@datadir@/@address@hidden@APIVERSION@';
+  unshift @INC, $perllibdir;
 }
 
 use Automake::Struct;
@@ -125,10 +125,10 @@
 
 # Parameters set by configure.  Not to be changed.  NOTE: assign
 # VERSION as string so that eg version 0.30 will print correctly.
-my $VERSION = "@VERSION@";
-my $PACKAGE = "@PACKAGE@";
-my $prefix = "@prefix@";
-my $libdir = "@datadir@/@address@hidden@APIVERSION@";
+my $VERSION = '@VERSION@';
+my $PACKAGE = '@PACKAGE@';
+my $prefix = '@prefix@';
+my $libdir = '@datadir@/@address@hidden@APIVERSION@';
 
 # Some regular expressions.  One reason to put them here is that it
 # makes indentation work better in Emacs.

-- 
Alexandre Duret-Lutz





reply via email to

[Prev in Thread] Current Thread [Next in Thread]