Next: , Previous: , Up: The Macros  


ax_include_strcasecmp

Synopsis

AX_INCLUDE_STRCASECMP

Description

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

Source Code

Download the latest version of ax_include_strcasecmp.m4 or browse the macro’s revision history.

License

Copyright © 2012 Leo Davis ldavis@speechfxinc.com

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.