Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: Kris Warkentin <kewarken@qnx.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [Patch] correctly configure wcwidth in readline
Date: Wed, 26 Feb 2003 21:26:00 -0000	[thread overview]
Message-ID: <je7kbm3f9h.fsf@sykes.suse.de> (raw)
In-Reply-To: <20030226175141.GA15347@nevyn.them.org> (Daniel Jacobowitz's message of "Wed, 26 Feb 2003 12:51:41 -0500")

Daniel Jacobowitz <drow@mvista.com> writes:

|> On Wed, Feb 26, 2003 at 12:44:22PM -0500, Kris Warkentin wrote:
|> > Here's what seems to me to be a more elegant solution.  In aclocal.m4, I
|> > just define the obj as wcwidth.o and then the Makefile will either have it
|> > or not.
|> > 
|> > cheers,
|> 
|> > < AC_CHECK_FUNC(wcwidth, AC_DEFINE(HAVE_WCWIDTH))
|> > ---
|> > > AC_CHECK_FUNC(wcwidth, AC_DEFINE(HAVE_WCWIDTH),
|> > AC_SUBST(WCWIDTH_OBJ,wcwidth.o))
|> 
|> [Always use unified or context diffs, please]
|> 
|> Did you try this on a host with wcwidth?  I don't think it'll work
|> right; I have the feeling that a conditional AC_SUBST can leave
|> @WCWIDTH_OBJ@ in the makefile.

AC_SUBST is a kind of declaration, it's mere existence (as long as it is
expanded by autoconf) causes the variable to be substituted.  Only the
assignment of the value happens at runtime.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


  parent reply	other threads:[~2003-02-26 21:26 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-26 17:35 Kris Warkentin
2003-02-26 18:06 ` Daniel Jacobowitz
2003-02-26 17:44   ` Kris Warkentin
2003-02-26 17:51     ` Daniel Jacobowitz
     [not found]       ` <00fd01c2ddc0$28ab75e0$0202040a@catdog>
     [not found]         ` <20030226175915.GA15700@nevyn.them.org>
2003-02-26 18:43           ` Kris Warkentin
2003-02-26 20:14             ` Daniel Jacobowitz
2003-02-26 20:40               ` Kris Warkentin
2003-02-26 20:49                 ` Daniel Jacobowitz
2003-02-26 20:52                   ` Kris Warkentin
2003-03-03  2:55                     ` Elena Zannoni
2003-03-03 14:46                       ` Kris Warkentin
2003-02-26 21:26       ` Andreas Schwab [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-02-26 20:14 Michael Elizabeth Chastain
2003-02-26 16:57 Michael Elizabeth Chastain
2003-02-26 18:23 ` Andrew Cagney
2003-02-26 16:47 Kris Warkentin
2003-02-26 16:54 ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=je7kbm3f9h.fsf@sykes.suse.de \
    --to=schwab@suse.de \
    --cc=gdb-patches@sources.redhat.com \
    --cc=kewarken@qnx.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox