diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-04-19 11:11:10 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-04-19 11:11:10 +0000 |
commit | 2df622fd143e7721c67c403cd372b5bb13580431 (patch) | |
tree | 7cde4cff7b5ed783c7a9c95adf948b7edec1bb67 /configure.ac | |
parent | fede784fa2ca73f8efaca013a4e488736986bf13 (diff) |
detect ICC and pass on "-we 147" so that the configure checks for function
arguments work properly - and the option is not harmful for the rest of the
curl build either!
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 7f4d4fcdf..bb99c696e 100644 --- a/configure.ac +++ b/configure.ac @@ -307,6 +307,13 @@ dnl The actual use of the USE_MANUAL variable is done much later in this dnl script to allow other actions to disable it as well. dnl ********************************************************************** +dnl check if this is the Intel ICC compiler, and if so make it stricter +dnl (convert warning 147 into an error) so that it properly can detect the +dnl gethostbyname_r() version +dnl ********************************************************************** +CURL_DETECT_ICC([CFLAGS="$CFLAGS -we 147"]) + +dnl ********************************************************************** dnl Checks for libraries. dnl ********************************************************************** |