summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-01-06 18:25:10 +0000
committerYang Tse <yangsita@gmail.com>2010-01-06 18:25:10 +0000
commit1e87e4bb4ec946f6a16fcfe78350a616c08d3ad4 (patch)
tree2c245fe3a633d1608636b21c50ce2e7d48c387b9
parent9bd03483ce6983852d41f5f69cb74827c9defc26 (diff)
downloadcurl-1e87e4bb4ec946f6a16fcfe78350a616c08d3ad4.tar.gz
Prevent detection of stdint.h on IRIX systems, even when available.
IRIX MIPSpro 7.4 C++ compiler does not tolerate inclusion of stdint.h
-rw-r--r--m4/curl-functions.m47
1 files changed, 6 insertions, 1 deletions
diff --git a/m4/curl-functions.m4 b/m4/curl-functions.m4
index 9cad5ecc1..70e57d073 100644
--- a/m4/curl-functions.m4
+++ b/m4/curl-functions.m4
@@ -22,7 +22,7 @@
#***************************************************************************
# File version for 'aclocal' use. Keep it a single number.
-# serial 61
+# serial 62
dnl CURL_INCLUDES_ARPA_INET
@@ -121,6 +121,11 @@ curl_includes_inttypes="\
# include <inttypes.h>
#endif
/* includes end */"
+ case $host_os in
+ irix*)
+ ac_cv_header_stdint_h="no"
+ ;;
+ esac
AC_CHECK_HEADERS(
sys/types.h stdint.h inttypes.h,
[], [], [$curl_includes_inttypes])