Re: PACKAGE and VERSION

2000-03-09 Thread Akim Demaille
| Hello! | > I would like Autoconf to know PACKAGE and VERSION too. Of course it | > is not essential to it as it is for Automake, but I would like it for | > several small issues, each time for esthetic purposes. | > | > 3. It would allow to solve parts of the wishes for a deep --help: each |

Macro to find the options of nice?

2000-03-09 Thread Stephane Bortzmeyer
Apparently, nice can be invoked in many different ways, depending on the Unix you use. Putting "nice -n 20 myprogram" is not portable. Did someone write a AC_CHECK_NICE which yields the actual way to reduce the priority of a process to the lowest possible value

Portability of `?' in sed

2000-03-09 Thread Akim Demaille
Does someone know how `\?' is portable in sed? Akim

adding commands to config.status

2000-03-09 Thread Lars J. Aas
I'd like to add a few commands to config.status to be executed before configu.status creates any files (to run mkdir to facilitate some multi- level SUBDIRS directories). There's a diversion that would let me do this, but since diversions are hidden from users, are there any other ways to do it?

Re: Portability of `?' in sed

2000-03-09 Thread Earnie Boyd
--- Akim Demaille <[EMAIL PROTECTED]> wrote: > > Does someone know how `\?' is portable in sed? > Are you asking about the metacharacter ? which indicates "matches zero or one occurences of the preceding regular expression" or the quoted metacharacter \? which indicates a literal `?'? Earnie.

Re: adding commands to config.status

2000-03-09 Thread Akim Demaille
> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: Lars> I'd like to add a few commands to config.status to be executed Lars> before configu.status creates any files (to run mkdir to Lars> facilitate some multi- level SUBDIRS directories). There's a Lars> diversion that would let me do this,

Re: Portability of `?' in sed

2000-03-09 Thread Akim Demaille
> "Earnie" == Earnie Boyd <[EMAIL PROTECTED]> writes: Earnie> Are you asking about the metacharacter ? which indicates Earnie> "matches zero or one occurences of the preceding regular Earnie> expression" or the quoted metacharacter \? which indicates a Earnie> literal `?'? The meta char. E

Re: Portability of `?' in sed

2000-03-09 Thread Greg A. Woods
[ On , March 9, 2000 at 19:33:12 (+0100), Akim Demaille wrote: ] > Subject: Re: Portability of `?' in sed > > I think the answer from Nicolas Joly demonstrate it is not. Thanks! Indeed the '?' meta-char is not portable in "sed". While almost every Unix-based RE parser I've ever seen have always

Re: PACKAGE and VERSION

2000-03-09 Thread Alexandre Oliva
On Mar 8, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: > If the answer is yes, what is the interface you'd suggest? > AC_PACKAGE(Autoconf, 2.14a)? Sounds good. > I'd like to avoid the Automake third arg trick to disable AC_DEFINE, > there are probably more esthetic means to achieve

Re: PACKAGE and VERSION

2000-03-09 Thread Alexandre Oliva
On Mar 8, 2000, Pavel Roskin <[EMAIL PROTECTED]> wrote: > We need to be able to specify the scope of options, e.g. > ./configure PACKAGE1:--enable-debug PACKAGE2:--disable-debug Sounds good, but what if the package has sub-packages? Should they be affected too or not? Would the user have to