Author: loonycyborg
Date: Fri Apr  4 15:57:25 2008
New Revision: 25535

URL: http://svn.gna.org/viewcvs/wesnoth?rev=25535&view=rev
Log:
Made use of more sophisticated fribidi check in scons recipe.

Modified:
    trunk/SConstruct

Modified: trunk/SConstruct
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/SConstruct?rev=25535&r1=25534&r2=25535&view=diff
==============================================================================
--- trunk/SConstruct (original)
+++ trunk/SConstruct Fri Apr  4 15:57:25 2008
@@ -339,7 +339,7 @@
     have_X = conf.CheckLib('X11') or Warning("wesnoth_editor cannot be built.")
     have_fribidi = False
     if env['fribidi']:
-        have_fribidi = conf.CheckLib('fribidi') or Die("Can't find libfribidi, 
please install it or rebuild with fribidi=no.")
+        have_fribidi = conf.CheckLibWithHeader('fribidi', 'fribidi/fribidi.h', 
'C', 'fribidi_utf8_to_unicode(NULL,0,NULL);') or Die("Can't find libfribidi, 
please install it or rebuild with fribidi=no.")
 
     have_server_prereqs = conf.CheckSDL('SDL_net') or Warning("Server 
prerequisites are not met. wesnothd and campaignd cannot be built.")
 


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to