Complete.Org: Mailing Lists: Archives: freeciv-dev: November 1998:
[Freeciv-Dev] Re: patch for building in another tree than the source tre
Home

[Freeciv-Dev] Re: patch for building in another tree than the source tre

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: patch for building in another tree than the source tree
From: Mirar <mirar@xxxxxxxxx>
Date: 08 Nov 1998 20:24:11 +0100

Here is another patch, to let client know where the datadir
is when they are run as installed.

/Mirar

Index: configure.in
===================================================================
RCS file: /home/freeciv/CVS/freeciv/configure.in,v
retrieving revision 1.15
diff -u -r1.15 configure.in
--- configure.in        1998/09/02 20:37:02     1.15
+++ configure.in        1998/11/08 19:20:56
@@ -54,4 +54,7 @@
 AC_C_CONST
 AC_HEADER_TIME
 
+dnl export where the datadir is going to be installed
+CPPFLAGS="$CPPFLAGS -DFREECIV_DATADIR=\\\"\$(pkgdatadir)\\\""
+
 AC_OUTPUT(Makefile data/Makefile common/Makefile ai/Makefile client/Makefile 
server/Makefile)



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