[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: restrict AC_CONFIG_LIBOBJ_DIR
From: |
Paul Eggert |
Subject: |
Re: restrict AC_CONFIG_LIBOBJ_DIR |
Date: |
Wed, 11 May 2005 12:19:10 -0700 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux) |
Stepan Kasal <address@hidden> writes:
> I wanted to implement this:
>
> 1) the string can contain only characters -.a-zA-Z_0-9/
> 2) the first character is not /
In that case your regular expression is right. You also implemented a
3rd restriction "the string must be nonempty" but that's also a POSIX
requirement so it's fine to check this too.
> (Yes, I think path of ../../build-aux can make sense, if the configure
> belongs to a subpackage.)
In that case, why not allow absolute file names too?
Sorry, I'm lost. Why is it important to restrict the file name
choices here?