From a8436b5631e0aa2e5f42240db6bfa0aa4dd923dd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lars=20Gullik=20Bj=C3=B8nnes?= Date: Sun, 7 Apr 2002 15:34:34 +0000 Subject: [PATCH] handle xfonts better (more work comming) and some ws changes git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3933 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/ChangeLog | 2 ++ lib/Makefile.am | 2 +- lib/configure.m4 | 46 +++++++++++++++++++++++----------------------- 3 files changed, 26 insertions(+), 24 deletions(-) diff --git a/lib/ChangeLog b/lib/ChangeLog index dfe9113db2..5cee8912e0 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,5 +1,7 @@ 2002-04-06 Lars Gullik Bjønnes + * Makefile.am (LYXLIBDIRS): xfonts should not be named here + * bind/sv_menus.bind: change RightAddress to Right_Address * bind/de_menus.bind: ditto * bind/fi_menus.bind: ditto diff --git a/lib/Makefile.am b/lib/Makefile.am index c14d46c1ea..d263239173 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -32,7 +32,7 @@ pkgdata_DATA = lyxrc.example CREDITS chkconfig.ltx lyxrc.defaults \ encodings languages symbols LYXLIBDIRS = bind clipart doc examples help images kbd layouts scripts \ - templates tex ui xfonts + templates tex ui EXTRA_DIST = CREDITS chkconfig.ltx configure.cmd lyxrc.example \ external_templates $(LYXLIBDIRS) \ diff --git a/lib/configure.m4 b/lib/configure.m4 index addc8a8d40..2101970ba7 100644 --- a/lib/configure.m4 +++ b/lib/configure.m4 @@ -37,7 +37,7 @@ do set dummy $ac_prog ; ac_word=$[2] if test -n "$ac_word"; then MSG_CHECKING([for \"$ac_word\"],[+]) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -x [$ac_dir/$ac_word]; then @@ -83,7 +83,7 @@ dnl dnl PROVIDE_DEFAULT_FILE(FILE, DEFAULT-VALUE) dnl define(PROVIDE_DEFAULT_FILE,[dnl -# if $1 does not exist (because LaTeX did not run), +# if $1 does not exist (because LaTeX did not run), # then provide a standard version. if test ! -f $1 ; then cat >$1 <chklatex.ltx </dev/null \ - | grep 'ThisIsLaTeX2e' >/dev/null; then + | grep 'ThisIsLaTeX2e' >/dev/null; then : else LATEX= @@ -368,11 +368,11 @@ esac SEARCH_PROG([for a Image -> XPM converter], TOXPM, convert) if test "$TOXPM" = "convert"; then gif_to_xpm="convert GIF:\$\$i XPM:\$\$o" - eps_to_xpm="convert EPS:\$\$i XPM:\$\$o" + eps_to_xpm="convert EPS:\$\$i XPM:\$\$o" jpg_to_xpm="convert JPG:\$\$i XPM:\$\$o" png_to_xpm="convert PNG:\$\$i XPM:\$\$o" - ps_to_xpm="convert PS:\$\$i XPM:\$\$o" - xbm_to_xpm="convert XBM:\$\$i XPM:\$\$o" + ps_to_xpm="convert PS:\$\$i XPM:\$\$o" + xbm_to_xpm="convert XBM:\$\$i XPM:\$\$o" fi SEARCH_PROG([For an EPS -> PDF converter], EPSTOPDF, epstopdf) @@ -396,15 +396,15 @@ ${docbook_cmd} \\input{${srcdir}/chkconfig.ltx} EOF ## Construct the list of classes to test for. - # build the list of available layout files and convert it to commands - # for chkconfig.ltx - for file in ./layouts/*.layout ${srcdir}/layouts/*.layout ; do + # build the list of available layout files and convert it to commands + # for chkconfig.ltx + for file in ./layouts/*.layout ${srcdir}/layouts/*.layout ; do case $file in */\*.layout) ;; *) test -r "$file" && echo $file ;; esac done | sed -e 's%^.*layouts/\(.*\)\.layout$%\\TestDocClass{\1}%'\ - > chklayouts.tex + > chklayouts.tex changequote([,])dnl [eval] ${LATEX} wrap_chkconfig.ltx 2>/dev/null | grep '^\+' [eval] `cat chkconfig.vars | sed 's/-/_/g'` @@ -413,13 +413,13 @@ fi # Do we have all the files we need? Useful if latex did not run changequote([,])dnl -echo "creating textclass.lst" +echo "creating textclass.lst" PROVIDE_DEFAULT_FILE(textclass.lst,dnl [# This file declares layouts and their associated definition files # (include dir. relative to the place where this file is). -# It contains only default values, since chkconfig.ltx could not be run +# It contains only default values, since chkconfig.ltx could not be run # for some reason. Run ./configure if you need to update it after a -# configuration change. +# configuration change. article article article report report report book book book @@ -456,7 +456,7 @@ cat >$outfile <$outfile </dev/null 2>/dev/null ; - then + if test -r $srcdir/$file && diff $file.new $srcdir/$file >/dev/null 2>/dev/null ; + then echo "removing $file, which is identical to the system global version" rm -f $file.new else -- 2.39.2