[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Portability of AC_ARG_PROGRAM
From: |
Pavel Roskin |
Subject: |
Re: Portability of AC_ARG_PROGRAM |
Date: |
Wed, 20 Jun 2001 17:03:44 -0400 (EDT) |
Hi. Akim!
> I'm in favor of removing AC_ARG_PROGRAM and considering it as part of
> the standard ./configure interface. The worse part being that without
> AC_ARG_PROGRAM, --program-prefix etc. are accepted, but ignored.
I agree.
As a side note, it would be nice to modify AC_DEFUN_ONCE (used to define
AC_ARG_PROGRAM) so that it only warns about unneeded calls in the
top-level configure.in code, but not in the macros defined with AC_DEFUN.
Otherwise users will be annoyed by the warnings they cannot fix. The same
story as with AC_PROG_LEX.
> * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
Fine with me.
> +cat <<\EOF >conftest.sed
> +s/\\/\\\\/g;
> +s/\$/$$/g
> +s/;*$//
> +s/^$/s,x,x/
> +EOF
I'm impressed :-)
--
Regards,
Pavel Roskin