Lars Hecking on Fri 5/03 12:35 +0000:
> > The fix would involve making `:/usr/sbin:/usr/lib' from line 1159
> > above to be the value of a variable, defined before this line, and
> > expanded in the line instead of that string itself. While I am not
> > familiar with autoconf or m4, the attached patch for `configure.in'
> > seems to produce a correct `configure' script when `autoconf'ed.
>
> No attached patch ... but the proposed fix is ok. Something like
I seem to do that a lot when I don't get any sleep. Anyways, now it
*is* attached.
> ac_aux_path_sendmail=/usr/sbin:/usr/lib
> AC_PATH_PROG(SENDMAIL, sendmail, no, $PATH:$ac_aux_path_sendmail)
This won't work because the remaining colon will still end up in the
expansion of the `for' mapovers; it has to be at the end or $PATH of the
beginning of $ac_aux_path_sendmail to be parsed by the IFS pass.
--
Scott
--- configure.in Thu Mar 4 18:21:48 1999
+++ configure.in.new Fri Mar 5 06:38:19 1999
@@ -30,7 +30,8 @@
;;
esac
-AC_PATH_PROG(SENDMAIL, sendmail, no, $PATH:/usr/sbin:/usr/lib)
+ac_aux_path_sendmail=":/usr/sbin:/usr/lib"
+AC_PATH_PROG(SENDMAIL, sendmail, no, $PATH$ax_aux_path_sendmail)
AC_DEFINE_UNQUOTED(SENDMAIL, "$ac_cv_path_SENDMAIL")
OPS='$(srcdir)/OPS'