Back to the Main Page. | etr_string_strcasecmp |
Download the M4 Source. |
ETR_STRING_STRCASECMP
2001-05-25 0.5.65 : C
Warren Young <warren@etr-usa.com>
license: AllPermissive
ETR_STRING_STRCASECMP
if test x"$ac_cv_string_strcasecmp" = "xno" ; then
ETR_STRINGS_STRCASECMP
fi
AC_DEFUN([ETR_STRING_STRCASECMP], [ AC_CACHE_CHECK([for strcasecmp() in string.h], ac_cv_string_strcasecmp, [ AC_TRY_LINK( [ #include <string.h> ], [ strcasecmp("foo", "bar"); ], ac_cv_string_strcasecmp=yes, ac_cv_string_strcasecmp=no) ]) if test x"$ac_cv_string_strcasecmp" = "xyes" then AC_DEFINE(HAVE_STRING_STRCASECMP, 1, [ Define if your system has strcasecmp() in string.h ]) fi ]) dnl ETR_STRING_STRCASECMP