[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: better param checking?
From: |
Bruce Korb |
Subject: |
Re: better param checking? |
Date: |
Sun, 13 Oct 2002 08:45:59 -0700 |
Sven Köhler wrote:
>
> hi!
>
> is there a way to tell configure to check params like --with-foo?
>
> ./configure --foo failes with an error
> ./configure --with-foo doesn't fail ... it just ignores the "--with-foo"
> option.
>
> this might also apply to --enable-foo
>
> ./configure --with-foo should fail with the message, that the option
> called "foo" is not available.
>
> any hints?
Look up AC_ARG_WITH or use:
http://autogen.sf.net/conftest.html