aboutsummaryrefslogtreecommitdiff
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
parentfa2a8f6fb8cdf93e4da6e9aae6d1460cdb713779 (diff)
Skip data type check in DO_CURL_OFF_T_CHECK macro when argument is empty.
-rw-r--r--CHANGES2
-rw-r--r--acinclude.m44
2 files changed, 4 insertions, 2 deletions
diff --git a/CHANGES b/CHANGES
index 09c74603d..b5ab4b713 100644
--- a/CHANGES
+++ b/CHANGES
@@ -18,6 +18,8 @@ Yang Tse (7 Aug 2008)
expansion which consists of a single double-quoted string as the result of
concatenating all of them.
+- Skip data type check in DO_CURL_OFF_T_CHECK macro when argument is empty.
+
- Prevent buildconf from removing 'Makefile' and 'missing' files. This would
blow away our CVS checked files 'missing' and 'hiper/Makefile'.
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=""