|
|
|
@ -56,7 +56,7 @@ if test "$compile_kdvi" = "yes"; then |
|
|
|
texmf_dir= |
|
|
|
texmf_dir= |
|
|
|
for d in ${texmf_cnf_path} |
|
|
|
for d in ${texmf_cnf_path} |
|
|
|
do |
|
|
|
do |
|
|
|
if test -r "${d}/texmf.cnf" |
|
|
|
if test -r "${d}/texmf.cnf" && test -r "$d/../../texmf/web2c/texmf.cnf" |
|
|
|
then |
|
|
|
then |
|
|
|
texmf_dir="${d}" |
|
|
|
texmf_dir="${d}" |
|
|
|
fi |
|
|
|
fi |
|
|
|
@ -65,7 +65,7 @@ if test "$compile_kdvi" = "yes"; then |
|
|
|
|
|
|
|
|
|
|
|
if test -n "${texmf_dir}" |
|
|
|
if test -n "${texmf_dir}" |
|
|
|
then |
|
|
|
then |
|
|
|
texmf_dir="`echo "${texmf_dir}" | sed 's,/web2c,,'`" |
|
|
|
# texmf_dir="`echo "${texmf_dir}" | sed 's,/web2c,,'`" |
|
|
|
AC_MSG_RESULT([$texmf_dir]) |
|
|
|
AC_MSG_RESULT([$texmf_dir]) |
|
|
|
else |
|
|
|
else |
|
|
|
AC_MSG_RESULT("not found") |
|
|
|
AC_MSG_RESULT("not found") |
|
|
|
@ -86,7 +86,7 @@ if test "$compile_kdvi" = "yes"; then |
|
|
|
|
|
|
|
|
|
|
|
if test -f $srcdir/kdvi/kpathsea/configure; then |
|
|
|
if test -f $srcdir/kdvi/kpathsea/configure; then |
|
|
|
if test -n "$texmf_dir"; 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]) |
|
|
|
AC_CONFIG_SUBDIRS([kdvi/kpathsea]) |
|
|
|
else |
|
|
|
else |
|
|
|
if test $compile_kdvi = "yes"; then |
|
|
|
if test $compile_kdvi = "yes"; then |
|
|
|
|