[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to force the caller of configure to pass arguments
From: |
Andreas Schwab |
Subject: |
Re: how to force the caller of configure to pass arguments |
Date: |
Mon, 12 Sep 2005 18:41:41 +0200 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) |
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.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."