diff options
author | Kevin Ryde <user42@zip.com.au> | 2000-09-30 23:48:52 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2000-09-30 23:48:52 +0200 |
commit | 99213d9d36f368eaaaba6169623657aef311a150 (patch) | |
tree | d56972ca36d22ae928b082cf94ef0681dba51a34 /acinclude.m4 | |
parent | a2ec3305d9d137453b8e275538ab152b9508d58c (diff) | |
download | gmp-99213d9d36f368eaaaba6169623657aef311a150.tar.gz |
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.)
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 3 |
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]) |