bug-autoconf
[Top][All Lists]
Advanced

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

Re: Wrong quoting by autoreconf?


From: Philipp Thomas
Subject: Re: Wrong quoting by autoreconf?
Date: Fri, 28 Feb 2014 17:15:08 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

* Eric Blake (address@hidden) [20140228 15:55]:

> On 02/28/2014 07:28 AM, Philipp Thomas wrote:
> > It seems that autoreconf 2.69 will turn double into single quotes, i.e.
> > 
> > use_foo='No (disabled}"
> 
> I need more context.  You mis-typed your example (' vs. ", '(' vs. '}'),
> so I have no idea how to reproduce what you are complaining about.

Sorry for both the typo and for being so terse in the first mail. This comes
from the configure.ac of graphviz 2.36.0.  It has sections such as

if test "x$use_tcl" = "x"; then
  # TCL STUBS support is required
  if test "x${TCL_SUPPORTS_STUBS}" = "x1"; then
    use_tcl="Yes"
    TCL_CFLAGS="${TCL_CFLAGS} -DUSE_TCL_STUBS"
    AC_DEFINE_UNQUOTED(HAVE_TCL,1,
        [Define if you have the tcl library])
  else
    AC_MSG_WARN([Tcl does not have STUBs support, perhaps it is too old? 
 The Tcl packages will not be built])
    use_tcl="No (no STUBs support)" <--------
  fi
fi

And the shell then stops with an error when trying to assign the string with
quotes or so it seems to be because configure errors out at the line which
I've pointed to.


Philipp



reply via email to

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