[Freeciv-Dev] Re: autoconf question
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Fri, 5 Dec 2003, Jason Dorje Short wrote:
> These macros take an action-if-not-found argument. I believe the
> correct configure test for most functions & headers should therefore be
>
> AC_CHECK_FUNCS([strcasecmp], [], AC_MSG_ERROR([no strcasecmp]))
>
> or
>
> AC_CHECK_HEADERS([limits.h], [], AC_MSG_ERROR([no limits.h]))
>
> which will cause configure to fail if the headers or functions aren't
> present.
>
> Is this correct? Does anyone here really know autoconf?
It seems correct to me.
- Per
|
|