diff --git a/configure.ac b/configure.ac index 2abda9370..61a47f4f3 100644 --- a/configure.ac +++ b/configure.ac @@ -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 diff --git a/src/bin/e_fm/Makefile.am b/src/bin/e_fm/Makefile.am index a0ef6a0d3..d753880be 100644 --- a/src/bin/e_fm/Makefile.am +++ b/src/bin/e_fm/Makefile.am @@ -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 \