fix ecore_desktop check etc

SVN revision: 28987
This commit is contained in:
tilman 2007-03-24 08:38:33 +00:00 committed by tilman
parent be98c62a12
commit a61eb329cc
1 changed files with 28 additions and 28 deletions

View File

@ -892,40 +892,40 @@ AC_SUBST(fam_libs)
AC_SUBST(ecore_file_libs)
have_ecore_desktop="no"
want_ecore_desktop="no"
ecore_desktop_cflags="";
ecore_desktop_libs="";
if test "x$have_ecore_file" = "xyes"; then
AC_MSG_CHECKING(whether ecore_desktop module is to be built)
want_ecore_desktop="yes";
ecore_desktop_cflags="";
ecore_desktop_libs="";
AC_ARG_ENABLE(ecore-desktop,
AC_HELP_STRING(
[--enable-ecore-desktop],
[enable the ecore_desktop module. [[default=enabled]]]
), [
want_ecore_desktop=$enableval
], [
want_ecore_desktop=yes
]
)
AC_ARG_ENABLE(ecore-desktop,
[ --disable-ecore-desktop disable the ecore_desktop module],
[
if test x"$enableval" = x"yes" ; then
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
want_ecore_desktop="no"
fi
], [
AC_MSG_RESULT(yes)
]
)
AC_MSG_CHECKING(whether ecore_desktop module is to be built)
if test "x$want_ecore_desktop" = "xyes"; then
AC_DEFINE(BUILD_ECORE_DESKTOP, 1, [Build Ecore_Desktop Module])
ecore_desktop_libs="-lecore_desktop";
requirements_ecore_desktop="$requirements_ecore_desktop ecore-file"
fi
AC_SUBST(ecore_desktop_cflags)
AC_SUBST(ecore_desktop_libs)
if test $want_ecore_desktop != yes; then
AC_MSG_RESULT(no)
elif test $have_ecore_file = yes; then
AC_MSG_RESULT(yes)
have_ecore_desktop=yes
else
AC_MSG_RESULT(ecore_file not enabled so ecore_desktop will not be enabled)
AC_MSG_RESULT([no (ecore_file not enabled)])
fi
if test "x$want_ecore_desktop" = "xyes"; then
AC_DEFINE(BUILD_ECORE_DESKTOP, 1, [Build Ecore_Desktop Module])
ecore_desktop_libs="-lecore_desktop";
requirements_ecore_desktop="$requirements_ecore_desktop ecore-file"
fi
AC_SUBST(ecore_desktop_cflags)
AC_SUBST(ecore_desktop_libs)
AC_ARG_ENABLE(pthreads,
[ --disable-pthreads disable building with pthread support],
[