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