make sure BUILD_ECORE_X is accessable

SVN revision: 11402
This commit is contained in:
tsauerbeck 2004-08-27 10:12:31 +00:00 committed by tsauerbeck
parent ae85a8a85c
commit 5a3416ec01
1 changed files with 4 additions and 0 deletions

View File

@ -210,6 +210,7 @@ fi
if test "x$have_ecore_x" = "xyes"; then
AM_CONDITIONAL(BUILD_ECORE_X, true)
AC_DEFINE(BUILD_ECORE_X, 1, [Build Ecore_X Module])
BUILD_ECORE_X=1
x_dir="/usr/X11R6";
x_includes="";
x_cflags="-I"$x_dir"/include"
@ -218,8 +219,11 @@ if test "x$have_ecore_x" = "xyes"; then
ecore_x_libs="-lecore_x";
else
AM_CONDITIONAL(BUILD_ECORE_X, false)
BUILD_ECORE_X=0
fi
AC_SUBST(BUILD_ECORE_X)
AC_SUBST(x_cflags)
AC_SUBST(x_includes)
AC_SUBST(x_ldflags)