From: Bruno Dilly Date: Thu, 13 Dec 2012 15:23:49 +0000 (+0000) Subject: efl: fix cflags for the case that x_includes in not empty X-Git-Tag: submit/devel/efl/20131022.203902~2872 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d0b3c4a96d4d9ec6fa6f8d71eec21cfdaaad2182;p=platform%2Fupstream%2Fefl.git efl: fix cflags for the case that x_includes in not empty By Tomáš Čech SVN revision: 80880 --- diff --git a/m4/ecore_check_c_extension.m4 b/m4/ecore_check_c_extension.m4 index 9918a4b..f6e88ac 100644 --- a/m4/ecore_check_c_extension.m4 +++ b/m4/ecore_check_c_extension.m4 @@ -4,7 +4,7 @@ AC_DEFUN([ECORE_CHECK_X_EXTENSION], pushdef([UP], translit([$1], [a-z], [A-Z]))dnl SAVE_CFLAGS=$CFLAGS - CFLAGS="$x_cflags $x_includes" + CFLAGS="$x_cflags ${x_includes:+-I${x_includes}}" AC_CHECK_HEADER(X11/extensions/$2, [ AC_CHECK_LIB($3, $4,