[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]
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)
|
|