autoconf
[Top][All Lists]
Advanced

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

Re: how to force the caller of configure to pass arguments


From: Matthias Langer
Subject: Re: how to force the caller of configure to pass arguments
Date: Mon, 12 Sep 2005 20:10:28 +0200
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050724)

Andreas Schwab wrote:

Matthias Langer <address@hidden> writes:

However, when the caller of configure forgets to pass this option,
configure will work, but make certainly fail. So it would be great, if i can
check if certain arguments were supplied allready in configure and exit with
an error message if not.

The optional fourth parameter of AC_ARG_WITH is executed if no such option
is passed, as described in the manual (hint, hint).  You can use
AC_MSG_ERROR to abort.

Andreas.

Well, thanks for your tipp ... but, which manual did you mean ?
I couldn't find anything very valuable about AC_ARG_WITH in the autoconf
manual nor by googling ...

Matthias Langer





reply via email to

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