efl: fix cflags for the case that x_includes in not empty

By Tomáš Čech <sleep_walker@suse.cz>



SVN revision: 80880
This commit is contained in:
Bruno Dilly 2012-12-13 15:23:49 +00:00
parent 2dc790bf47
commit d0b3c4a96d
1 changed files with 1 additions and 1 deletions

View File

@ -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,