From 99213d9d36f368eaaaba6169623657aef311a150 Mon Sep 17 00:00:00 2001 From: Kevin Ryde Date: Sat, 30 Sep 2000 23:48:52 +0200 Subject: Correction to: * acinclude.m4 (GMP_C_SIZES): New macro. (Add a -I$srcdir for the benefit of srcdir!=builddir, or when another gmp.h is in /usr/include.) --- acinclude.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'acinclude.m4') 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]) -- cgit v1.2.1