Andreas Schwab wrote:

Matthias Langer <[EMAIL PROTECTED]> 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



_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to