summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--acinclude.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 2ba2df166..bac8a4762 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -1001,7 +1001,8 @@ AC_DEFUN(GMP_C_SIZES,
[int test [2*(sizeof($tmp_type) == $tmp_try) - 1];]
EOF
cat conftest.c >>conftest.out
- if ($CC $CFLAGS -c conftest.c) >>conftest.out 2>&1; then
+ echo "$CC $CFLAGS -I$srcdir -c conftest.c" >>conftest.out
+ if ($CC $CFLAGS -I$srcdir -c conftest.c) >>conftest.out 2>&1; then
if test -n "$tmp_val"; then
cat conftest.out 1>&AC_FD_CC
AC_MSG_ERROR([$tmp_def $tmp_type passes both $tmp_val and $tmp_try])