Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2004:
[Freeciv-Dev] Re: (PR#8802) ser isn't created from ser.in
Home

[Freeciv-Dev] Re: (PR#8802) ser isn't created from ser.in

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: i-freeciv-lists@xxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#8802) ser isn't created from ser.in
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 21 May 2004 23:52:57 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=8802 >

Raimar Falke wrote:

> I have no idea when this broke.

Your autoconf doesn't support @abs_top_srcdir@/@abs_top_builddir@.

This patch _may_ fix it.  I have no way to test.

jason

Index: configure.in
===================================================================
RCS file: /home/freeciv/CVS/freeciv/configure.in,v
retrieving revision 1.240
diff -u -r1.240 configure.in
--- configure.in        2 May 2004 12:13:51 -0000       1.240
+++ configure.in        22 May 2004 06:47:18 -0000
@@ -658,6 +658,12 @@
   CFLAGS="$EXTRA_GCC_DEBUG_CFLAGS $CFLAGS"
 fi
 
+# Hack to set @abs_top_srcdir@ and @abs_top_builddir@
+abs_top_srcdir=`cd $top_srcdir; pwd`
+AC_SUBST(abs_top_srcdir)
+abs_top_builddir=`cd $top_builddir; pwd`
+AC_SUBST(abs_top_builddir)
+
 AC_OUTPUT(Makefile
           data/Makefile 
          data/misc/Makefile 

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