diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2008-03-17 06:58:49 +0100 |
---|---|---|
committer | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2008-03-17 06:59:44 +0100 |
commit | 97a91204c0049588bddf28d9433e849a748dd08b (patch) | |
tree | c31cb07d4d5e2a47717dd2d40370cd362eeba041 /bin | |
parent | 4c32cbb30fc40d9f72935781eaa22c53c9899cf3 (diff) | |
download | autoconf-97a91204c0049588bddf28d9433e849a748dd08b.tar.gz |
Provide a helpful message if autopoint or libtoolize do not exist.
* lib/Autom4te/FileUtils.pm (handle_exec_errors): New argument
$hint, show if the executing program does not exist.
(xsystem_hint): New function, like xsystem but allows to pass
a hint.
* bin/autoreconf.in: Use xsystem_hint for spawning autopoint and
libtoolize.
Report by Bruce Korb.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Diffstat (limited to 'bin')
-rw-r--r-- | bin/autoreconf.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/autoreconf.in b/bin/autoreconf.in index 66da78e3..4ff8fb95 100644 --- a/bin/autoreconf.in +++ b/bin/autoreconf.in @@ -364,7 +364,7 @@ sub autoreconf_current_directory () } else { - xsystem "$autopoint"; + xsystem_hint ("autopoint is needed because this package uses Gettext", "$autopoint"); } @@ -528,7 +528,7 @@ sub autoreconf_current_directory () { $libtoolize .= " --ltdl"; } - xsystem ($libtoolize); + xsystem_hint ("libtoolize is needed because this package uses Libtool", $libtoolize); $rerun_aclocal = 1; } else |