Minor bug in configure.in

Chris Hanson <[email protected]> Wed, 14 Aug 2002 20:00:03 -0400
Newsgroups gmane.network.beep.beepcore.c.general
Message-ID <[email protected]>
   Date: Wed, 14 Aug 2002 14:29:16 -0700
   From: Devin Kowatch <[email protected]>

   There is a minor bug in configure.in:
   line 135 is:
   CYRUS_NONE='": "'

   and should be:
   CYRUS_NONE=": "
	      ^   ^ Note the missing '

   Not a big deal but make whines when trying to do a make install because
   it's trying to run the command '": " libtool ....' rather than ': libtool...'

Hmmm... this isn't right.  The extra quoting is needed to make this
work right.  Here's why:

In the configure file, the statement

	CYRUS_NONE='": "'

binds the shell variable CYRUS_NONE to the string

	": "

When configure runs the substitution step, this rewrites Make.defs.in
to have a statement

	CYRUS_NONE=": "

which binds the variable CYRUS_NONE to the string consisting of the
characters colon and space, with no quotes.  The final Makefile
substitution happens later, when $(CYRUS_NONE) expands into the
unquoted string.

If you're seeing something different, there is a problem with your
shell.

Please send me (by MIME attachment if possible) the Make.defs
generated by configure on your machine.

Chris


-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code1