From: David B. <dba...@cr...> - 2003-12-09 19:56:36
|
Its a series of scripts. So keep makeinfo, but don't install texi2dvi if TeX isn't installed. In any case, thinking about it again the test I have in configure.base is a bit simplistic, in that it only tests if texi2dvi exists and then if it can use the "--clean" option. What I should really do is test that it exists, test that it runs with no options and then with the "--clean" option. This would avoid your problem... Something like dnl Test for the texi2dvi program AC_CHECK_PROG(TEXI2DVI,texi2dvi,texi2dvi) if [ test -z "$TEXI2DVI" ]; then STATUS="no" STATUS_MSG="$STATUS_MSG Texi2dvi: no" else dnl ok we have texi2dvi, does it actually run cat > conftest.texi << EOF \ input texinfo @bye EOF AC_MSG_CHECKING([for texi2dvi]) ac_try="$TEXI2DVI conftest.texi > /dev/null" if AC_TRY_EVAL(ac_try) ; then AC_MSG_CHECKING([for texi2dvi]) ac_try=="$TEXI2DVI --clean conftest.texi > /dev/null" if AC_TRY_EVAL(ac_try) ; then TEXI2DVI="$TEXI2DVI --clean" AC_MSG_RESULT(yes) else AC_MSG_RESULT(yes) fi else TEXI2DVI="" AC_MSG_RESULT(no) fi rm -f conftest.* STATUS_MSG="$STATUS_MSG Texi2dvi: $TEXI2DVI" fi I can't test this at the moment, as I'm current running under Windows writing some slideware. But the above change should address your problem. D. ----- Original Message ----- From: "Per Persson" <per...@ma...> To: "David Bateman" <Dav...@mo...>; "Paul Kienzle" <pki...@us...> Cc: <oct...@li...> Sent: Tuesday, December 09, 2003 6:18 PM Subject: Re: [OctDev] Problems with comm docs and history on OS X > On Tuesday, December 9, 2003, at 01:24 PM, Paul Kienzle wrote: > > > The problem is that texinfo doesn't have teTeX as a prerequisite. > > > > - Paul > > > > On Tuesday, December 9, 2003, at 11:39 AM, David Bateman wrote: > > > According to Per Persson <per...@ma...> (on 12/07/03): > >> i) In current CVS, does main/comm check for presence of tex? > > > > Yes. The tests are for texinfo, makeinfo, etc... If they don't exist > > then > > it should build the docs in main/comm... I'm not sure how he managed to > > get this error, as the test in configure.base should have prevented it. > > In any case the error message implies that texinfo is installed without > > tex (not latex).... So the dependencies on their machine are all messed > > up in any case..... > > > > D. > > > > OK. I can change texinfo in DarwinPorts to depend on tex, but first > "I'd like an argument, please" ;-) > > One may consider texinfo useful on its own rights, without tex. > Furthermore, I don't want to force teTeX on somone who doesn't need it > but wants texinfo. > > The only change required (I think) in comm/ is to drop PSDOC if tex > isn't present. Would that be possible? > > If you all object, I'll add teTeX as a prerequisite. > > /Per > > |