[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: reorganized config.status
From: |
Stepan Kasal |
Subject: |
Re: reorganized config.status |
Date: |
Wed, 3 Aug 2005 14:55:12 +0200 |
User-agent: |
Mutt/1.4.1i |
Hello Ralf and all,
On Tue, Aug 02, 2005 at 03:30:34PM +0200, Ralf Wildenhues wrote:
> | m4_ifset([AC_LIST_HEADERS],
> | [CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's,^[[ ]]*,,;s,[[
> :]].*$,,'`],
> | [CONFIG_H=config.h;AC_CONFIG_HEADERS([config.h])])
> | AC_SUBST([CONFIG_H])
>
> We compute CONFIG_H, because we later do a
> | DEFS = -DHAVE_CONFIG_H="<$(CONFIG_H)>" -DLTDL
OK, so it seems you'd like to know what's the name of the first declared
config header. Perhaps the first AC_CONFIG_HEADERS could define a macro, say
AH_HEADER which would hold the name.
You could then do:
m4_ifndef([AH_HEADER], [AC_CONFIG_HEADERS([config.h])])
AC_SUBST([CONFIG_H], ["AH_HEADER"])
Are you willing to write a draft of the documentation?
Perhaps a better name than AH_HEADER shall be found, but that'll be part of
the discussion about the documentation.
What if the first call to AC_CONFIG_HEADERS has a non-literal parameter?
AH_HEADER should be consistent with autoheader, but I don't know what
autoheader does in such a situation.
BTW:
> [...] _AC_LIST_TAGS does not contain a list of tags [...]
Perhaps I haven't chosen the best name possible. Any suggestions?
Looking forward to your help. ;-)
Stepan
- Re: reorganized config.status, Ralf Wildenhues, 2005/08/02
- Re: reorganized config.status,
Stepan Kasal <=
- Re: reorganized config.status, Ralf Wildenhues, 2005/08/08
- Re: reorganized config.status, Stepan Kasal, 2005/08/10
- Re: reorganized config.status, Ralf Wildenhues, 2005/08/10
- Re: reorganized config.status, Stepan Kasal, 2005/08/10
- Re: reorganized config.status, Ralf Wildenhues, 2005/08/12
- Re: reorganized config.status, Stepan Kasal, 2005/08/13
- Re: reorganized config.status, Ralf Wildenhues, 2005/08/13
- Re: reorganized config.status, Stepan Kasal, 2005/08/16
- Re: reorganized config.status, Ralf Wildenhues, 2005/08/18
- Re: reorganized config.status, Stepan Kasal, 2005/08/18