check for strcasecmp

This commit is contained in:
Frank Morgner 2013-05-21 14:28:35 +02:00
parent 92096162d2
commit cab30af3ee
2 changed files with 3 additions and 1 deletions

View File

@ -66,7 +66,7 @@ AC_SEARCH_LIBS(getopt, iberty)
AC_CHECK_FUNCS(strtoimax strtoll)
AC_CHECK_FUNCS(mergesort)
AC_CHECK_FUNCS(mkstemps)
AC_CHECK_DECL(alloca)
AC_CHECK_DECLS(alloca strcasecmp)
AC_TRY_LINK_FUNC([symlink],[AC_DEFINE([HAVE_SYMLINK], 1, [Define to 1 if you have the symlink function.])])
AC_OUTPUT( \

View File

@ -27,8 +27,10 @@
#define EX_NOINPUT 66
#define EX_DATAERR 65
#define snprintf _snprintf
#if defined HAVE_DECL_STRCASECMP && !HAVE_DECL_STRCASECMP
#define strcasecmp stricmp
#endif
#endif
#ifndef ETOOMANYREFS
#define ETOOMANYREFS 144