autoconf
[Top][All Lists]
Advanced

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

Re: Macros to check for variables, next try


From: Andreas Schwab
Subject: Re: Macros to check for variables, next try
Date: Fri, 12 Apr 2002 19:06:30 +0200
User-agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.2.50 (ia64-suse-linux)

Peter Eisentraut <address@hidden> writes:

|> # AC_LANG_VAR_LINK_TRY(C)(TYPE, VARIABLE, [INCLUDES])
|> # ---------------------------------------------------
|> m4_define([AC_LANG_VAR_LINK_TRY(C)],
|> [AC_LANG_PROGRAM(
|> [AC_INCLUDES_DEFAULT([$3])
|> extern $1 $2;

This won't work with more complex types that requires to put the
identifier in infix position, like arrays (think about sys_errlist).

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

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