Skip to content

Commit 2200bf6

Browse files
committed
acinclude: Remove check for 16-bit curl_off_t
Because it's illogical to check for a 16-bit curl_off_t. Ref: curl#425 (comment)
1 parent 729b92a commit 2200bf6

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

acinclude.m4

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2837,17 +2837,13 @@ AC_DEFUN([CURL_CONFIGURE_CURL_OFF_T], [
28372837
#
28382838
x_LP64_long=""
28392839
x_LP32_long=""
2840-
x_LP16_long=""
28412840
#
28422841
if test "$ac_cv_sizeof_long" -eq "8" &&
28432842
test "$ac_cv_sizeof_voidp" -ge "8"; then
28442843
x_LP64_long="long"
28452844
elif test "$ac_cv_sizeof_long" -eq "4" &&
28462845
test "$ac_cv_sizeof_voidp" -ge "4"; then
28472846
x_LP32_long="long"
2848-
elif test "$ac_cv_sizeof_long" -eq "2" &&
2849-
test "$ac_cv_sizeof_voidp" -ge "2"; then
2850-
x_LP16_long="long"
28512847
fi
28522848
#
28532849
dnl DO_CURL_OFF_T_CHECK results are stored in next 3 vars
@@ -2881,17 +2877,6 @@ AC_DEFUN([CURL_CONFIGURE_CURL_OFF_T], [
28812877
done
28822878
AC_MSG_RESULT([$curl_typeof_curl_off_t])
28832879
fi
2884-
if test "$curl_typeof_curl_off_t" = "unknown"; then
2885-
AC_MSG_CHECKING([for 16-bit curl_off_t data type])
2886-
for t2 in \
2887-
"$x_LP16_long" \
2888-
'int16_t' \
2889-
'__int16' \
2890-
'int' ; do
2891-
DO_CURL_OFF_T_CHECK([$t2], [2])
2892-
done
2893-
AC_MSG_RESULT([$curl_typeof_curl_off_t])
2894-
fi
28952880
if test "$curl_typeof_curl_off_t" = "unknown"; then
28962881
AC_MSG_ERROR([cannot find data type for curl_off_t.])
28972882
fi

0 commit comments

Comments
 (0)