Author: cazfi
Date: Tue Sep 22 21:09:39 2015
New Revision: 29952

URL: http://svn.gna.org/viewcvs/freeciv?rev=29952&view=rev
Log:
Fix compilation with tinycthread enabled.

See bug #23892

Modified:
    trunk/ai/Makefile.am
    trunk/ai/classic/Makefile.am

Modified: trunk/ai/Makefile.am
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/ai/Makefile.am?rev=29952&r1=29951&r2=29952&view=diff
==============================================================================
--- trunk/ai/Makefile.am        (original)
+++ trunk/ai/Makefile.am        Tue Sep 22 21:09:39 2015
@@ -14,7 +14,8 @@
 module_dirs += threaded
 endif
 
-AM_CPPFLAGS = -I$(top_srcdir)/utility -I$(top_srcdir)/common
+AM_CPPFLAGS = -I$(top_srcdir)/utility -I$(top_srcdir)/common \
+ -I$(top_srcdir)/dependencies/tinycthread
 
 if AI_MODULES
 if !AI_MOD_STATIC_CLASSIC

Modified: trunk/ai/classic/Makefile.am
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/ai/classic/Makefile.am?rev=29952&r1=29951&r2=29952&view=diff
==============================================================================
--- trunk/ai/classic/Makefile.am        (original)
+++ trunk/ai/classic/Makefile.am        Tue Sep 22 21:09:39 2015
@@ -6,7 +6,10 @@
 aimodule_LTLIBRARIES = fc_ai_classic.la
 endif
 
-AM_CPPFLAGS = -I$(top_srcdir)/utility -I$(top_srcdir)/common 
-I$(top_srcdir)/common/aicore -I$(top_srcdir)/server 
-I$(top_srcdir)/server/advisors -I$(top_srcdir)/ai/default
+AM_CPPFLAGS = \
+ -I$(top_srcdir)/utility -I$(top_srcdir)/common -I$(top_srcdir)/common/aicore \
+ -I$(top_srcdir)/server -I$(top_srcdir)/server/advisors 
-I$(top_srcdir)/ai/default \
+ -I$(top_srcdir)/dependencies/tinycthread
 
 da_sources = \
        classicai.c     \


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to