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

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

 



Andreas Schwab wrote:

Matthias Langer <mlangc@xxxxxx> 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@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux