From caa5c24cf35a758853f8cafb4f3982bafc32acbb Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Thu, 1 Nov 2007 19:14:40 +0000 Subject: [PATCH] fix the "./configure --without-gtk" --> "po/Makefile is not ready" issue (#389) --- configure.ac | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/configure.ac b/configure.ac index 1bc727f4e..8e898a00b 100644 --- a/configure.ac +++ b/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