File locale_fix.diff of Package xine-ui
Index: configure.ac
===================================================================
RCS file: /cvsroot/xine/xine-ui/configure.ac,v
retrieving revision 1.117
retrieving revision 1.118
diff -u -p -r1.117 -r1.118
--- configure.ac 4 May 2007 22:47:26 -0000 1.117
+++ configure.ac 28 May 2007 00:10:17 -0000 1.118
@@ -527,10 +527,10 @@ CFLAGS="$wall -D_FILE_OFFSET_BITS=64 $CF
AC_SUBST(CFLAGS)
AC_ARG_ENABLE([debug],
- AS_HELP_STRING([--enable-debug], [Enable debugging code]))
+ AS_HELP_STRING([--enable-debug], [Compile with debug information]))
if test "x$enable_debug" = "xyes"; then
- CFLAGS="$CFLAGS -DDEBUG"
+ CFLAGS="$CFLAGS -DDEBUG -g"
else
CFLAGS="$CFLAGS -DNDEBUG"
fi
@@ -588,13 +588,6 @@ makeexpand () {
echo "$i"
}
-XITK_LOCALEPATH="`makeexpand ${datadir}/locale`"
-AC_DEFINE_UNQUOTED(XITK_LOCALE, "$XITK_LOCALEPATH", [Location of Xine catalog files])
-
-
-dnl
-dnl NLS, part II
-dnl
if test "x$prefix" = xNONE; then
prefix="${ac_default_prefix}"
fi
@@ -602,6 +595,12 @@ if test "x$exec_prefix" = xNONE; then
exec_prefix='${prefix}'
fi
+dnl
+dnl NLS, part II
+dnl
+XITK_LOCALEPATH="`makeexpand ${datadir}/locale`"
+AC_DEFINE_UNQUOTED(XITK_LOCALE, "$XITK_LOCALEPATH", [Location of Xine catalog files])
+
if test "x$XINE_DOCPATH" = "x"; then
XINE_DOCPATH="${datadir}/doc/xine-ui"
fi