Really make gettext/intltool optionnal if gtk-glade isn't used.

This commit is contained in:
evilynux 2007-07-17 05:24:00 +00:00
parent b691df1e12
commit c835b90792
2 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,5 @@
EXTRA_DIST = README.LIN README.WIN autogen.sh \
intltool-extract.in intltool-merge.in intltool-update.in
DISTCLEANFILES = intltool-extract intltool-merge intltool-update
$(PO_FILES_IN)
DISTCLEANFILES = $(PO_FILES)
SUBDIRS = $(PO_DIR) src

View File

@ -99,6 +99,8 @@ fi
dnl - Determine which UIs to build and if po/ should be included
PO_DIR=""
PO_FILES=""
PO_FILES_IN=""
if test "x$HAVE_SDL" = "xyes"; then
# SDL adds just a cli
UI_DIR="cli $UI_DIR"
@ -119,6 +121,8 @@ if test "x$HAVE_SDL" = "xyes"; then
AM_GLIB_GNU_GETTEXT
AC_PROG_INTLTOOL
PO_DIR="po"
PO_FILES="intltool-extract intltool-merge intltool-update"
PO_FILES_IN="intltool-extract.in intltool-merge.in intltool-update.in"
fi
fi
@ -138,6 +142,8 @@ esac
AC_SUBST(UI_DIR)
AC_SUBST(PO_DIR)
AC_SUBST(PO_FILES)
AC_SUBST(PO_FILES_IN)
dnl - Compiler warnings