This macro tries to find a header for strcasecmp() in strings.h, then string.h, and AC_DEFINEs AX_STRCASECMP_HEADER to the value it found. Use it in your source like so:
#ifdef AX_STRCASECMP_HEADER #include AX_STRCASECMP_HEADER #endif
Download the latest version of ax_include_strcasecmp.m4 or browse the macro’s revision history.
Copyright © 2012 Leo Davis firstname.lastname@example.org
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.