ENH: add a check for basename to cmcurl

This commit is contained in:
Bill Hoffman 2007-09-27 08:53:19 -04:00
parent 1d5dcf7425
commit 8edcbecb7a
1 changed files with 1 additions and 0 deletions

View File

@ -381,6 +381,7 @@ CHECK_SYMBOL_EXISTS(strcasecmp "${CURL_INCLUDES}" HAVE_STRCASECMP)
CHECK_SYMBOL_EXISTS(stricmp "${CURL_INCLUDES}" HAVE_STRICMP)
CHECK_SYMBOL_EXISTS(strcmpi "${CURL_INCLUDES}" HAVE_STRCMPI)
CHECK_SYMBOL_EXISTS(strncmpi "${CURL_INCLUDES}" HAVE_STRNCMPI)
CHECK_SYMBOL_EXISTS(basename "${CURL_INCLUDES}" HAVE_BASENAME)
IF(NOT HAVE_STRNCMPI)
SET(HAVE_STRCMPI)
ENDIF(NOT HAVE_STRNCMPI)