Really make gettext/intltool optionnal if gtk-glade isn't used.
This commit is contained in:
parent
b691df1e12
commit
c835b90792
|
@ -1,5 +1,5 @@
|
||||||
EXTRA_DIST = README.LIN README.WIN autogen.sh \
|
EXTRA_DIST = README.LIN README.WIN autogen.sh \
|
||||||
intltool-extract.in intltool-merge.in intltool-update.in
|
$(PO_FILES_IN)
|
||||||
DISTCLEANFILES = intltool-extract intltool-merge intltool-update
|
DISTCLEANFILES = $(PO_FILES)
|
||||||
SUBDIRS = $(PO_DIR) src
|
SUBDIRS = $(PO_DIR) src
|
||||||
|
|
||||||
|
|
|
@ -99,6 +99,8 @@ fi
|
||||||
|
|
||||||
dnl - Determine which UIs to build and if po/ should be included
|
dnl - Determine which UIs to build and if po/ should be included
|
||||||
PO_DIR=""
|
PO_DIR=""
|
||||||
|
PO_FILES=""
|
||||||
|
PO_FILES_IN=""
|
||||||
if test "x$HAVE_SDL" = "xyes"; then
|
if test "x$HAVE_SDL" = "xyes"; then
|
||||||
# SDL adds just a cli
|
# SDL adds just a cli
|
||||||
UI_DIR="cli $UI_DIR"
|
UI_DIR="cli $UI_DIR"
|
||||||
|
@ -119,6 +121,8 @@ if test "x$HAVE_SDL" = "xyes"; then
|
||||||
AM_GLIB_GNU_GETTEXT
|
AM_GLIB_GNU_GETTEXT
|
||||||
AC_PROG_INTLTOOL
|
AC_PROG_INTLTOOL
|
||||||
PO_DIR="po"
|
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
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -138,6 +142,8 @@ esac
|
||||||
|
|
||||||
AC_SUBST(UI_DIR)
|
AC_SUBST(UI_DIR)
|
||||||
AC_SUBST(PO_DIR)
|
AC_SUBST(PO_DIR)
|
||||||
|
AC_SUBST(PO_FILES)
|
||||||
|
AC_SUBST(PO_FILES_IN)
|
||||||
|
|
||||||
dnl - Compiler warnings
|
dnl - Compiler warnings
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue