[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] {maint} maintcheck: look for problematic names of testcases
From: |
Ralf Wildenhues |
Subject: |
Re: [PATCH] {maint} maintcheck: look for problematic names of testcases |
Date: |
Wed, 16 Mar 2011 06:53:58 +0100 |
User-agent: |
Mutt/1.5.20 (2010-08-04) |
[ adding bug-autoconf ]
* Ralf Wildenhues wrote on Wed, Mar 16, 2011 at 06:24:28AM CET:
> So, can we just quote the argument so it's not detected by m4?
>
> me_quoted=`echo "$me" | sed 's,..,&@\&t@,g'`
> echo "AC_INIT([$me_quoted], [1.0])"
Hmm, this avoids an error, but also sets several things wrong in the
resulting configure script:
$ egrep '(foo-dnl|fo-)' configure
# Generated by GNU Autoconf 2.68 for foo-dnl 1.0.
PACKAGE_NAME='foo-dnl'
PACKAGE_TARNAME='fo--t-o---t-dn--t-l'
PACKAGE_STRING='foo-dnl 1.0'
\`configure' configures foo-dnl 1.0 to adapt to many kinds of systems.
[DATAROOTDIR/doc/fo--t-o---t-dn--t-l]
short | recursive ) echo "Configuration of foo-dnl 1.0:";;
foo-dnl configure 1.0
It was created by foo-dnl $as_me 1.0, which was
PACKAGE='fo--t-o---t-dn--t-l'
This file was extended by foo-dnl $as_me 1.0, which was
foo-dnl config.status 1.0
Bummer. So, back to your patch I guess ...
Cheers,
Ralf
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH] {maint} maintcheck: look for problematic names of testcases,
Ralf Wildenhues <=