automake
[Top][All Lists]
Advanced

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

Doubly-shell-quoted AM_MISSING_PROG argument in init.m4


From: Bernd Jendrissek
Subject: Doubly-shell-quoted AM_MISSING_PROG argument in init.m4
Date: Thu, 28 Mar 2002 18:03:06 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

Hello all

An oddity with 1.5d, probably also with 1.6

In m4/missing.m4:
AC_DEFUN([AM_MISSING_PROG],
[AC_REQUIRE([AM_MISSING_HAS_RUN])
$1=${$1-"${am_missing_run}$2"}
AC_SUBST($1)])

In m4/init.m4:
AM_MISSING_PROG(AUTOMAKE, "automake-${am__api_version}")

The result is that in configure (and it doesn't seem to be autoconf's fault)
I have this:

AUTOMAKE=${AUTOMAKE-"${am_missing_run}"automake-${am__api_version}""}

Now this works fine when I use "bash2 ./configure", but not without bash2.

$ rpm -q bash bash2
bash-1.14.7-16
bash2-2.03-6

Vanilla "./configure" produces this in the Makefile:
AUTOMAKE = ${SHELL} /usr/src/home/wallace/missing --run
whereas with bash2 the automake-1.5d appears correctly after --run.


Surely the fix can't be as simple as this?

diff -u -r1.1 init.m4
--- init.m4     2002/03/28 16:00:53     1.1
+++ init.m4     2002/03/28 16:01:16
@@ -73,9 +73,9 @@
 # Some tools Automake needs.
 AC_REQUIRE([AM_SANITY_CHECK])dnl
 AC_REQUIRE([AC_ARG_PROGRAM])dnl
-AM_MISSING_PROG(ACLOCAL, "aclocal-${am__api_version}")
+AM_MISSING_PROG(ACLOCAL, [aclocal-${am__api_version}])
 AM_MISSING_PROG(AUTOCONF, autoconf)
-AM_MISSING_PROG(AUTOMAKE, "automake-${am__api_version}")
+AM_MISSING_PROG(AUTOMAKE, [automake-${am__api_version}])
 AM_MISSING_PROG(AUTOHEADER, autoheader)
 AM_MISSING_PROG(MAKEINFO, makeinfo)
 AM_MISSING_PROG(AMTAR, tar)


Bernd Jendrissek
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8oz5x/FmLrNfLpjMRAmNpAJ95dFLXVna2kf4rZqSgYOvdhbKrlwCfTUC1
6R3CrCMphlc4k0UKHAYtTIw=
=QegN
-----END PGP SIGNATURE-----



reply via email to

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