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: Sat, 22 May 2004 00:42:44 -0700
Reply-to: rt@xxxxxxxxxxx

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

Raimar Falke wrote:

> It should be "/home/hawk/FC/clean". Maybe $top_srcdir and
> $top_builddir aren't set?

Clearly not.

If you don't mind limiting yourself to building from the srcdir this 
patch should work.

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 07:40:46 -0000
@@ -658,6 +658,13 @@
   CFLAGS="$EXTRA_GCC_DEBUG_CFLAGS $CFLAGS"
 fi
 
+# Hack to set @abs_top_srcdir@ and @abs_top_builddir@.  This won't work
+# if srcdir and builddir aren't the same (if you want that, upgrade!)
+abs_top_srcdir=`pwd`
+AC_SUBST(abs_top_srcdir)
+abs_top_builddir=`pwd`
+AC_SUBST(abs_top_builddir)
+
 AC_OUTPUT(Makefile
           data/Makefile 
          data/misc/Makefile 

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