autoconf
[Top][All Lists]
Advanced

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

RE: Putting exact text in a define


From: Town, Brad
Subject: RE: Putting exact text in a define
Date: Mon, 27 Nov 2000 09:32:01 -0500

address@hidden 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:
> > 
> > ... -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.

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...

Brad Town



reply via email to

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