wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth configure.ac


From: Yann Dirson
Subject: [Wesnoth-cvs-commits] wesnoth configure.ac
Date: Fri, 08 Apr 2005 16:05:25 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Yann Dirson <address@hidden>    05/04/08 20:05:24

Modified files:
        .              : configure.ac 

Log message:
        creation of the po/*/Makefile.in.in links has to be done before 
config.status generates Makefile.in's from them, so it seems we cannot put it 
inside an AC_CONFIG_COMMAND

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/configure.ac.diff?tr1=1.135&tr2=1.136&r1=text&r2=text

Patches:
Index: wesnoth/configure.ac
diff -u wesnoth/configure.ac:1.135 wesnoth/configure.ac:1.136
--- wesnoth/configure.ac:1.135  Wed Apr  6 19:18:41 2005
+++ wesnoth/configure.ac        Fri Apr  8 20:05:24 2005
@@ -37,7 +37,7 @@
 EOF
 ])
 
-AC_REVISION([$Revision: 1.135 $])
+AC_REVISION([$Revision: 1.136 $])
 
 AC_CONFIG_AUX_DIR([config])
 AC_CONFIG_SRCDIR([src/actions.cpp])
@@ -730,12 +730,6 @@
 # Tune gettext stuff for our needs                                    #
 #######################################################################
 
-AC_CONFIG_COMMANDS([translations],
-[rm -rf translations
-case $srcdir in
-/*) topdir=$srcdir ;;
-*)  topdir=`pwd`/$srcdir ;;
-esac
 for domain in `grep ^SUBDIRS $srcdir/po/Makefile.am | cut -d= -f2`
 do
     # Symlinks to the single copy of Makefile.in.in
@@ -743,7 +737,16 @@
     mkdir -p po/$domain
     rm -f po/$domain/Makefile.in.in
     ln -s $topdir/po/Makefile.in.in po/$domain/Makefile.in.in
+done
 
+AC_CONFIG_COMMANDS([translations],
+[rm -rf translations
+case $srcdir in
+/*) topdir=$srcdir ;;
+*)  topdir=`pwd`/$srcdir ;;
+esac
+for domain in `grep ^SUBDIRS $srcdir/po/Makefile.am | cut -d= -f2`
+do
     # Symlinks that allow message catalogs to be used from build tree
     if test -w $srcdir; then
        for lang in `cat $srcdir/po/$domain/LINGUAS`




reply via email to

[Prev in Thread] Current Thread [Next in Thread]