Hi all.
I have to ask about the "missing" file included in autoconf.
Why does it exit with a non-zero status when a given
file can not be found. This is really strange because
the script prints "WARNING ..." and then exists with
an error status. If this is really a warning then
a the script should exit with a zero exit status.
If you call this missing script from a Makefile, the
non-zero exit status will cause the Makefile to stop
executing.
The following patch "fixes" this problem. (Assuming
it really is a bug).
Index: missing
===================================================================
RCS file: /cvs/automake/automake/missing,v
retrieving revision 1.10
diff -u -r1.10 missing
--- missing 2000/05/15 16:43:40 1.10
+++ missing 2000/06/06 07:33:23
@@ -191,7 +191,6 @@
else
test -z "$file" || exec >$file
echo ".ab help2man is required to generate this page"
- exit 1
fi
;;
@@ -247,7 +246,6 @@
WARNING: I can't seem to be able to run \`tar' with the given arguments.
You may want to install GNU tar or Free paxutils, or check the
command line arguments."
- exit 1
;;
*)
@@ -258,7 +256,6 @@
it often tells you about the needed prerequirements for installing
this package. You may also peek at any GNU archive site, in case
some other package would contain this missing \`$1' program."
- exit 1
;;
esac
Mo Dejong
Red Hat Inc.