From: Jürgen Spitzmüller Date: Tue, 18 Aug 2009 10:10:06 +0000 (+0000) Subject: * configure.py: attempt to fix the check for the java version of splitindex. X-Git-Tag: 2.0.0~5666 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=0c4f7f62c15e146ee0a93508fcc5f038421b10f6;p=features.git * configure.py: attempt to fix the check for the java version of splitindex. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31113 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/configure.py b/lib/configure.py index 7f4242795e..fecf2ab952 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -678,8 +678,11 @@ def checkOtherEntries(): alt_rc_entry = [ r'\index_alternatives "%%"' ]) checkProg('an index processor appropriate to Japanese', ['mendex -c -q', 'makeindex -c -q'], rc_entry = [ r'\jindex_command "%%"' ]) - checkProg('the splitindex processor', ['splitindex.pl', 'splitindex', 'java splitindex'], + path, splitindex = checkProg('the splitindex processor', ['splitindex.pl', 'splitindex'], rc_entry = [ r'\splitindex_command "%%"' ]) + if splitindex == '': + checkProg('the splitindex processor (java version)', ['splitindex.class'], + rc_entry = [ r'\splitindex_command "java splitindex"' ]) checkProg('a nomenclature processor', ['makeindex'], rc_entry = [ r'\nomencl_command "makeindex -s nomencl.ist"' ]) ## FIXME: OCTAVE is not used anywhere