changeset 30157:05f3923f11b7

Fix fribidi check to avoid spamming the console with error messages.
author diego
date Mon, 04 Jan 2010 12:12:57 +0000
parents 7c1ce5b56093
children 9c96c5a55b3e
files configure
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Mon Jan 04 11:58:56 2010 +0000
+++ b/configure	Mon Jan 04 12:12:57 2010 +0000
@@ -6271,7 +6271,8 @@
 	_inc_tmp=""
 	_ld_tmp="-lfribidi"
 	cc_check $_inc_tmp $_ld_tmp && _fribidi=yes
-	if test "$_fribidi" = no ; then
+	if $_fribidiconfig --version > /dev/null 2>&1 &&
+	   test "$_fribidi" = no ; then
 	  _inc_tmp="$($_fribidiconfig --cflags)"
 	  _ld_tmp="$($_fribidiconfig --libs)"
 	  cc_check $_inc_tmp $_ld_tmp && _fribidi=yes