autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

preventing defines in config.h


From: Andy Howell
Subject: preventing defines in config.h
Date: Thu, 19 Oct 2006 03:22:02 -0500
User-agent: Thunderbird 1.5.0.7 (Windows/20060909)

Hello,

I'm tying to understand how defines get added to config.h. In my configure.ac file I have:

if test "apple" = "orange"; then
        AC_DEFINE_UNQUOTED(HAVE_SOMETHING,1,[Define if SOMETHING])
fi

My test fails, so I don't expect to get

/* Define is SOMETHING */
#define HAVE_SOMETHING 1

in config.h

I did a sh -x on configure, but I never see it do HAVE_SOMETHING.

Thanks,

        Andy




reply via email to

[Prev in Thread] Current Thread [Next in Thread]