mirror of
https://github.com/transmission/transmission
synced 2025-02-20 21:26:53 +00:00
fix the "./configure --without-gtk" --> "po/Makefile is not ready" issue (#389)
This commit is contained in:
parent
e3764e732b
commit
caa5c24cf3
1 changed files with 10 additions and 15 deletions
25
configure.ac
25
configure.ac
|
@ -89,15 +89,13 @@ AM_CONDITIONAL([WITH_GTK],[test "x$use_gtk" = "xyes"])
|
|||
AC_SUBST(GTK_LIBS)
|
||||
AC_SUBST(GTK_CFLAGS)
|
||||
|
||||
if test "x$use_gtk" = "xyes"; then
|
||||
IT_PROG_INTLTOOL([0.23],[no-xml])
|
||||
GETTEXT_PACKAGE=transmission
|
||||
AC_SUBST(GETTEXT_PACKAGE)
|
||||
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[Gettext package])
|
||||
AM_GLIB_GNU_GETTEXT
|
||||
transmissionlocaledir='${prefix}/${DATADIRNAME}/locale'
|
||||
AC_SUBST(transmissionlocaledir)
|
||||
fi
|
||||
IT_PROG_INTLTOOL([0.23],[no-xml])
|
||||
GETTEXT_PACKAGE=transmission
|
||||
AC_SUBST(GETTEXT_PACKAGE)
|
||||
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[Gettext package])
|
||||
AM_GLIB_GNU_GETTEXT
|
||||
transmissionlocaledir='${prefix}/${DATADIRNAME}/locale'
|
||||
AC_SUBST(transmissionlocaledir)
|
||||
|
||||
dnl ----------------------------------------------------------------------------
|
||||
dnl
|
||||
|
@ -211,12 +209,9 @@ AC_CONFIG_FILES([Makefile
|
|||
third-party/Makefile
|
||||
macosx/Makefile
|
||||
wx/Makefile
|
||||
wx/images/Makefile])
|
||||
|
||||
if test "x$use_gtk" = "xyes"; then
|
||||
AC_CONFIG_FILES([gtk/Makefile
|
||||
po/Makefile.in])
|
||||
fi
|
||||
wx/images/Makefile
|
||||
gtk/Makefile
|
||||
po/Makefile.in])
|
||||
|
||||
ac_configure_args="$ac_configure_args --enable-static --disable-shared -q"
|
||||
AC_OUTPUT
|
||||
|
|
Loading…
Reference in a new issue