[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Putting exact text in a define
From: |
akim |
Subject: |
Re: Putting exact text in a define |
Date: |
Wed, 22 Nov 2000 19:38:02 +0100 |
User-agent: |
Mutt/1.2.5i |
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:
>
> ... -DCONFIG_DIR=$(sysconfdir)
>
> The thing I thought would work in configure.in:
> AC_DEFINE(CONFIG_DIR, "$(sysconfdir)")
>
> What it produced in the Makefile:
> -DCONFIG_DIR=\"\$$\(sysconfdir\)\"
See AC_DEFINE_UNQUOTED.