]> granicus.if.org Git - curl/commitdiff
Prevent detection of stdint.h on IRIX systems, even when available.
authorYang Tse <yangsita@gmail.com>
Wed, 6 Jan 2010 18:25:10 +0000 (18:25 +0000)
committerYang Tse <yangsita@gmail.com>
Wed, 6 Jan 2010 18:25:10 +0000 (18:25 +0000)
IRIX MIPSpro 7.4 C++ compiler does not tolerate inclusion of stdint.h

m4/curl-functions.m4

index 9cad5ecc173bfc5af814cbcc79e62b9b9160a846..70e57d07379b64226a78a3983158105b003786f6 100644 (file)
@@ -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])