build-sys: fix m4 quotation to make upstream autotools to work
authorSami Kerola <kerolasa@iki.fi>
Wed, 19 Jun 2013 20:15:19 +0000 (21:15 +0100)
committerBenjamin Kaduk <kaduk@mit.edu>
Mon, 1 Dec 2014 23:42:41 +0000 (18:42 -0500)
commit7d689390a89823df8a102c844d313c1c7a2c096a
tree66a62a0ecefa2bbe6729b503da8fb5ded561696c
parent23d81757394824702c3e8bce31fd0f6d568dd680
build-sys: fix m4 quotation to make upstream autotools to work

Macro arguments for AC_ARG_WITH, such as AC_CHECK_PROGS, need to be
quoted.  Unless they are the latest version of autoconf will expand
macros slightly wrong way making the configure to fail at line where
there are only two ticks.

$ ./regen.sh
[...]
$ automake -a -f
[...]
automake: error: no 'Makefile.am' found for any configure output
$ ./configure
[...]
checking pkg-config is at least version 0.9.0... yes
./configure: line 13348: syntax error near unexpected token `newline'
./configure: line 13348: `    '''

Notice that the 'automake' run is needed in order to avoid later
configure error, which would look something like.

configure: error: cannot find install-sh, install.sh, or shtool in build-tools "."/build-tools

Change-Id: I39476270f351d2f5b332c5c945d6ac67fe16dd82
Reviewed-on: http://gerrit.openafs.org/9995
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
acinclude.m4