summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-08-07 19:03:46 +0000
committerYang Tse <yangsita@gmail.com>2008-08-07 19:03:46 +0000
commit479466a495ce3047fd7747b867a7f4b0c7d21965 (patch)
tree4eadd9acf63dcd8a305c79595da81658a684fd88 /acinclude.m4
parentfa2a8f6fb8cdf93e4da6e9aae6d1460cdb713779 (diff)
downloadcurl-479466a495ce3047fd7747b867a7f4b0c7d21965.tar.gz
Skip data type check in DO_CURL_OFF_T_CHECK macro when argument is empty.
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 61669a5a4..dacd9a057 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -3579,13 +3579,13 @@ curl_includes_inttypes="\
])
-dnl DO_CURL_OFF_T_CHECK(TYPE, SIZE)
+dnl DO_CURL_OFF_T_CHECK (TYPE, SIZE)
dnl -------------------------------------------------
dnl Internal macro for CURL_CONFIGURE_CURL_OFF_T
AC_DEFUN([DO_CURL_OFF_T_CHECK], [
AC_REQUIRE([CURL_INCLUDES_INTTYPES])dnl
- if test "$x_typeof" = "unknown"; then
+ if test "$x_typeof" = "unknown" && test ! -z "$1"; then
tmp_includes=""
tmp_source=""
tmp_fmt=""