[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_EGREP_CPP expands to invalid shell code
From: |
Akim Demaille |
Subject: |
Re: AC_EGREP_CPP expands to invalid shell code |
Date: |
Fri, 16 May 2003 11:58:07 +0200 |
User-agent: |
Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3 (gnu/linux) |
| Hi,
| Using autoconf-2.57. This small configure.ac file expands to shell code
| that causes a syntax error:
|
| =========================== configure.ac ============================
| AC_INIT(dummy,0)
|
| AC_PROG_CC
|
| AC_CACHE_CHECK([whether <inttypes.h> defines strtoimax as a macro],
| jm_cv_func_strtoimax_macro,
| AC_EGREP_CPP([inttypes_h_defines_strtoimax], [#include <inttypes.h>
| #ifdef strtoimax
| inttypes_h_defines_strtoimax
| #endif],
| jm_cv_func_strtoimax_macro=yes,
| jm_cv_func_strtoimax_macro=no))
|
| AC_OUTPUT
Your second argument, being a literal, must be quoted twice. Or add a
\n before the closing ].
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: AC_EGREP_CPP expands to invalid shell code,
Akim Demaille <=