Re: err... this is odd

2000-11-27 Thread Mirar
Akim Demaille <[EMAIL PROTECTED]> writes: > | The following autoconf code: > | AC_CHECK_FUNC(gettext, [AC_DEFINE(HAVE_GETTEXT)], > | AC_CHECK_LIB(intl, gettext, [LIBS="$LIBS -lintl" > | AC_DEFINE(HAVE_GETTEXT)], > | INTLI

RE: Putting exact text in a define

2000-11-27 Thread Town, Brad
[EMAIL PROTECTED] wrote: > On Tue, Nov 21, 2000 at 05:23:08PM -0500, Town, Brad wrote: > > I've searched Google and the mailing list for help on this > to no avail. > > Perhaps someone can help me. (I'm using Autoconf 2.13 with Cygwin.) > > > > How can I add a define to a Makefile such as this:

Re: Putting exact text in a define

2000-11-27 Thread Alexandre Oliva
On Nov 27, 2000, "Town, Brad" <[EMAIL PROTECTED]> wrote: > I tried that as well (I didn't list everything I'd tried). If there's no > way to do it, I'd like to know so I don't keep trying the impossible... Look for AC_DEFINE_DIR or something alike in the autoconf macro archive. http://research

AC_EGREP_CPP and ansi C

2000-11-27 Thread Harlan Stenn
I suspect that AC_EGREP_CPP is using K&R mode instead of ANSI mode under HP-UX. I have a test that attempts to determine how the C compiler will catify tokens and it's botching with CC=cc under HP-UX. I can't easily test this now to be sure. I'll see if I can find a way to dig into this a bit.