From aab0aaad410be0fc8d8105aced6f74a745592ee5 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Fri, 22 Sep 2000 12:14:05 +0000 Subject: [PATCH] Coolo: fixing kdvi compilation for Simon's notebook svn path=/trunk/kdegraphics/kdvi/; revision=64656 --- configure.in.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/configure.in.in b/configure.in.in index 011164919..ea4c92ed9 100644 --- a/configure.in.in +++ b/configure.in.in @@ -43,12 +43,12 @@ if test "$compile_kdvi" = "yes"; then fi AC_DEFINE_UNQUOTED(KDVI_DEFAULT_FONTPATH, "$texmf_font_path", [Where kdvi should look for fonts]) - + texmf_cnf_path="$texmf_cnf_path:/usr/lib/texmf/web2c:/var/lib/texmf/web2c:/usr/share/texmf/web2c:/usr/share/teTeX/texmf/web2c:/opt/local/teTeX/share/texmf/web2c:/opt/teTeX/share/texmf/web2c:/var/texmf/web2c:/usr/local/share/texmf/web2c:/opt/local/share/texmf/web2c:/etc/texmf" # this gets the LAST directory in the path, which is assumed to be the # base installation directory. This also allows us to overwrite it with - # some standard paths. So it rather finds the /etc version than the + # some standard paths. So it rather finds the /etc version than the # /var/share one AC_MSG_CHECKING([for texmf.cnf]) kde_safe_IFS=$IFS @@ -56,7 +56,7 @@ if test "$compile_kdvi" = "yes"; then texmf_dir= for d in ${texmf_cnf_path} do - if test -r "${d}/texmf.cnf" + if test -r "${d}/texmf.cnf" && test -r "$d/../../texmf/web2c/texmf.cnf" then texmf_dir="${d}" fi @@ -65,7 +65,7 @@ if test "$compile_kdvi" = "yes"; then if test -n "${texmf_dir}" then - texmf_dir="`echo "${texmf_dir}" | sed 's,/web2c,,'`" + # texmf_dir="`echo "${texmf_dir}" | sed 's,/web2c,,'`" AC_MSG_RESULT([$texmf_dir]) else AC_MSG_RESULT("not found") @@ -86,9 +86,9 @@ if test "$compile_kdvi" = "yes"; then if test -f $srcdir/kdvi/kpathsea/configure; then if test -n "$texmf_dir"; then - ac_configure_args="$ac_configure_args --with-tex-datadir=$texmf_dir" + ac_configure_args="$ac_configure_args --with-tex-datadir=$texmf_dir/../.." AC_CONFIG_SUBDIRS([kdvi/kpathsea]) - else + else if test $compile_kdvi = "yes"; then DO_NOT_COMPILE="$DO_NOT_COMPILE kdvi" fi