aboutsummaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorBruno Dilly <bdilly@profusion.mobi>2012-12-13 15:23:49 +0000
committerBruno Dilly <bdilly@profusion.mobi>2012-12-13 15:23:49 +0000
commitd0b3c4a96d4d9ec6fa6f8d71eec21cfdaaad2182 (patch)
tree7016c1c0fda3b699cf752d87474c3b137be44517 /m4
parent2dc790bf47eef4d1e043ca5d7fbfca7b5c4b4dd3 (diff)
downloadefl-d0b3c4a96d4d9ec6fa6f8d71eec21cfdaaad2182.tar.gz
efl-d0b3c4a96d4d9ec6fa6f8d71eec21cfdaaad2182.tar.xz
efl-d0b3c4a96d4d9ec6fa6f8d71eec21cfdaaad2182.zip
efl: fix cflags for the case that x_includes in not empty
By Tomáš Čech <sleep_walker@suse.cz> SVN revision: 80880
Diffstat (limited to 'm4')
-rw-r--r--m4/ecore_check_c_extension.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/ecore_check_c_extension.m4 b/m4/ecore_check_c_extension.m4
index 9918a4b9a..f6e88ac57 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,