Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
890528e0
Commit
890528e0
authored
Oct 08, 2004
by
Andy Cedilnik
Browse files
COMP: If compiler know strtoll or strtoi64, then no need for compiling strtooff.c
parent
3b3dd31b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/CTest/Curl/CMakeLists.txt
View file @
890528e0
...
...
@@ -77,7 +77,6 @@ SET(libCurl_SRCS
ssluse.c
strequal.c
strerror.c
strtoofft.c
telnet.c
timeval.c
transfer.c
...
...
@@ -311,6 +310,7 @@ IF(HAVE_SIGNAL_FUNC AND HAVE_SIGNAL_MACRO)
ENDIF
(
HAVE_SIGNAL_FUNC AND HAVE_SIGNAL_MACRO
)
CHECK_SYMBOL_EXISTS
(
uname
"
${
CURL_INCLUDES
}
"
HAVE_UNAME
)
CHECK_SYMBOL_EXISTS
(
strtoll
"
${
CURL_INCLUDES
}
"
HAVE_STRTOLL
)
CHECK_SYMBOL_EXISTS
(
_strtoi64
"
${
CURL_INCLUDES
}
"
HAVE__STRTOI64
)
CHECK_SYMBOL_EXISTS
(
strerror_r
"
${
CURL_INCLUDES
}
"
HAVE_STRERROR_R
)
CHECK_SYMBOL_EXISTS
(
siginterrupt
"
${
CURL_INCLUDES
}
"
HAVE_SIGINTERRUPT
)
CHECK_SYMBOL_EXISTS
(
perror
"
${
CURL_INCLUDES
}
"
HAVE_PERROR
)
...
...
@@ -321,6 +321,11 @@ IF (NOT HAVE_STRTOK_R)
strtok.c
)
ENDIF
(
NOT HAVE_STRTOK_R
)
IF
(
NOT HAVE_STRTOLL AND NOT HAVE__STRTOI64
)
SET
(
libCurl_SRCS
${
libCurl_SRCS
}
strtoofft.c
)
ENDIF
(
NOT HAVE_STRTOLL AND NOT HAVE__STRTOI64
)
# sigaction and sigsetjmp are special. Use special mechanism for
# detecting those, but only if previous attempt failed.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment