E17: fix eeze mount detection and build, reported by Jochen Schröder

SVN revision: 65368
This commit is contained in:
Vincent Torri 2011-11-18 06:56:07 +00:00
parent 7b4bfd893b
commit 3a2cdebbbf
2 changed files with 8 additions and 2 deletions

View File

@ -397,6 +397,10 @@ AC_MSG_RESULT([${e_cv_want_mount_eeze}])
eeze_mount=
EEZE_MOUNT_CONFIG=0
if test "x$e_cv_want_mount_eeze" != "xno" ; then
CPPFLAGS_save="$CPPFLAGS"
LIBS_save="$LIBS"
CPPFLAGS="$EEZE_CFLAGS $CPPFLAGS"
LIBS="$EEZE_LIBS $LIBS"
AC_CHECK_LIB([eeze], [eeze_disk_function],
[
eeze_mount="eeze >= 1.0.999 ecore-con >= 1.0.999"
@ -409,6 +413,8 @@ if test "x$e_cv_want_mount_eeze" != "xno" ; then
e_cv_want_mount_eeze=no
]
)
CPPFLAGS="$CPPFLAGS_save"
LIBS="$LIBS_save"
else
AC_MSG_NOTICE([eeze mounting disabled])
fi

View File

@ -36,8 +36,8 @@ udisks_s =
endif
if HAVE_EEZE_MOUNT
AM_CFLAGS += @EET_CFLAGS@
LIBS += @EET_LIBS@
AM_CFLAGS += @EEZE_CFLAGS@ @EET_CFLAGS@
LIBS += @EEZE_LIBS@ @EET_LIBS@
eeze_s = \
../e_prefix.c \
e_fm_main_eeze.h \