[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mon, 02 Jun 2003 22:41:38 +0200
Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3) Gecko/20030312
Tim Van Holder wrote:
If I have something like this in my configure.ac:
AC_ARG_VAR(SED, [path to sed])
Now everything works fine when sed is in my PATH, but I would like for
./configure to fail if sed isn't in my PATH. Is there a
standard way to do
this? I haven't found any.
If someone here has any pointers I would really appriciate it!
I don't think you looked very hard - just use the third parameter
AC_ARG_VAR([SED], [path to SED])
AC_PATH_PROG([SED], [sed], [no])
if test "$SED" = "no"; then
AC_MSG_ERROR([sed is required])
It seems you're right, I can't have been looking very hard. Thanks
anyhow, for some reason I didn't see that use of the third parameter.