summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorStephen Torri <storri@users.sourceforge.net>2004-08-08 00:34:17 +0000
committerStephen Torri <storri@users.sourceforge.net>2004-08-08 00:34:17 +0000
commit3d1a29736bd6f8197b4e10d54603797f271d3bbc (patch)
tree415b4b5b212fbdad8d420963199aa3a2ffa52098 /configure.ac
parent12e358e72e094a2bc192526c374a6bb0ff82e968 (diff)
downloadxine-lib-3d1a29736bd6f8197b4e10d54603797f271d3bbc.tar.gz
xine-lib-3d1a29736bd6f8197b4e10d54603797f271d3bbc.tar.bz2
Added two AM_CONDITIONAL for handling if sgmltools and fig2dev are
available. HAVE_SGMLTOOLS is set if sgmltools is installed and similar HAVE_FIG2DEV set for fig2dev. Fixed error in 'uninstall' rule in Makefile.in.in in the po/ directory. It was using the $(PACKAGE) variable in the line to remove the install po libraries. So it was looking for xine-lib.mo in all the $(localedir)/<catalog>/LC_Messages directory. Switched this to look for $(LIBNAME).mo files. This change matches the 'install' rule which names the files libxine1.mo CVS patchset: 6878 CVS date: 2004/08/08 00:34:17
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c6d70d312..cab74c3c7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1985,8 +1985,10 @@ dnl Check for documentation formatting tool
dnl ---------------------------------------------
AC_CHECK_PROG(SGMLTOOLS, sgmltools, sgmltools, no)
-AC_CHECK_PROG(FIG2DEV, fig2dev, fig2dev, no)
+AM_CONDITIONAL([HAVE_SGMLTOOLS], [test "$sgmltools" != "no"])
+AC_CHECK_PROG(FIG2DEV, fig2dev, fig2dev, no)
+AM_CONDITIONAL([HAVE_FIG2DEV], [test "$fig2dev" != "no"])
dnl ---------------------------------------------
dnl Newest automake workaround