bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnulib] Re: getline AC_LIBOBJs


From: Derek Robert Price
Subject: Re: [Bug-gnulib] Re: getline AC_LIBOBJs
Date: Fri, 24 Oct 2003 09:10:31 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bruno Haible wrote:

| dnl Can be used inside if. Can also be invoked multiple times.
|
|AC_DEFUN([gl_FOO_NONREQUIREABLE], [
|  if test -z "$foo_done"; then
|    foo_done=yes
|    gl_FOO_GUTS
|  fi
|])


Maybe I'm missing something.  Is there some programmatic reason the
above macro is not requirable?

|dnl Undocumented, not an entry point.
|AC_DEFUN([gl_FOO_GUTS], [...Here comes the shell code...])
|
|
|Now one can even create a macro AC_DEFUN_TWICE, in such a way that all
|the code above is expanded from
|
|  AC_DEFUN_TWICE([gl_FOO_REQUIREABLE]. [gl_FOO_NONREQUIREABLE],
|    [...Here comes the shell code...])


If you can just use the AC_DEFUN_TWICE macro, then why even bother
having two entrance points?  Are you simply not listing cases where it
is necessary to define the two functions differently?  If so, could you
please provide me with an example?

Derek

- --
~                *8^)

Email: address@hidden

Get CVS support at <http://ximbiot.com>!
- --
Of liberty I would say that, in the whole plenitude of its extent, it is
unobstructed action according to our will.  But rightful liberty is
unobstructed action according to our will within limits drawn around us
by the equal rights of others.  I do not add 'within the limits of the
law,' because law is often but the tyrant's will, and always so when it
violates the right of an individual.
~            - Thomas Jefferson to I. Tiffany, 1819.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org

iD8DBQE/mSTHLD1OTBfyMaQRAvD0AKC13OxCQMUR7jhlqrqwlrPodryVSgCg6px0
cGYcTu2TdC0+jLGQUpwN2go=
=FGT2
-----END PGP SIGNATURE-----






reply via email to

[Prev in Thread] Current Thread [Next in Thread]