forked from enlightenment/efl
parent
813c77c392
commit
fdfa8157c6
|
@ -705,6 +705,49 @@ else
|
|||
AM_CONDITIONAL(BUILD_ECORE_CONFIG, false)
|
||||
fi
|
||||
|
||||
AC_MSG_CHECKING(wheter ecore_file module is to be built)
|
||||
|
||||
have_ecore_file="no"
|
||||
ecore_file_libs=""
|
||||
|
||||
AC_ARG_ENABLE(ecore-file,
|
||||
[ --disable-ecore-file disable the ecore_file module], [
|
||||
if [ test "$enableval" = "yes" ]; then
|
||||
AC_MSG_RESULT(yes)
|
||||
have_ecore_file="yes"
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
], [
|
||||
AC_MSG_RESULT(yes)
|
||||
have_ecore_file="yes"
|
||||
]
|
||||
)
|
||||
|
||||
fam_libs=""
|
||||
if [ test "x$have_ecore_file" = "xyes" ]; then
|
||||
AM_CONDITIONAL(BUILD_ECORE_FILE, true)
|
||||
ecore_file_libs="-lecore_file"
|
||||
AC_DEFINE(HAVE_POLL, 1, [ File monitoring with polling ])
|
||||
# I'm to stupid to get fam working right :)
|
||||
# PKG_CHECK_MODULES(FAM, gamin >= 0.0.23,
|
||||
# AC_CHECK_LIB(fam, FAMOpen,
|
||||
# [
|
||||
# AC_DEFINE(HAVE_FAM, 1, [ File monitoring with FAM ])
|
||||
# use_fam="yes"
|
||||
# fam_libs="-lfam"
|
||||
# ], [
|
||||
# use_fam="no"
|
||||
# ]
|
||||
# )
|
||||
else
|
||||
AM_CONDITIONAL(BUILD_ECORE_FILE, false)
|
||||
fi
|
||||
ecore_file_libs="$ecore_file_libs $fam_libs"
|
||||
AC_SUBST(fam_libs)
|
||||
AC_SUBST(ecore_file_libs)
|
||||
|
||||
|
||||
AC_ARG_ENABLE(pthreads,
|
||||
[--disable-pthreads disable building with pthread support],
|
||||
[
|
||||
|
@ -779,6 +822,7 @@ src/lib/ecore_con/Makefile
|
|||
src/lib/ecore_ipc/Makefile
|
||||
src/lib/ecore_txt/Makefile
|
||||
src/lib/ecore_config/Makefile
|
||||
src/lib/ecore_file/Makefile
|
||||
debian/Makefile
|
||||
examples/Makefile
|
||||
], [
|
||||
|
@ -802,6 +846,7 @@ echo " Ecore_Evas FB Support...: $have_ecore_evas_fb"
|
|||
echo " Ecore_Buffer............: $have_ecore_evas_buffer"
|
||||
echo " Ecore_Ipc...............: $have_ecore_ipc (OpenSSL: $use_openssl)"
|
||||
echo " Ecore_Config............: $have_ecore_config"
|
||||
echo " Ecore_File..............: $have_ecore_file (FAM: $use_fam)"
|
||||
echo
|
||||
echo "Now type 'make' ('gmake' on some systems) to compile $PACKAGE."
|
||||
echo
|
||||
|
|
|
@ -46,7 +46,7 @@ while test $# -gt 0; do
|
|||
;;
|
||||
--libs)
|
||||
libdirs=-L@libdir@
|
||||
echo $libdirs -lecore @ecore_job_libs@ @ecore_x_libs@ @ecore_evas_libs@ @ecore_con_libs@ @ecore_ipc_libs@ @ecore_txt_libs@ @ecore_fb_libs@ @ecore_config_libs@ @eet_libs@ -lm
|
||||
echo $libdirs -lecore @ecore_job_libs@ @ecore_x_libs@ @ecore_evas_libs@ @ecore_con_libs@ @ecore_ipc_libs@ @ecore_txt_libs@ @ecore_fb_libs@ @ecore_config_libs@ @ecore_file_libs@ @eet_libs@ -lm
|
||||
;;
|
||||
*)
|
||||
echo "${usage}" 1>&2
|
||||
|
|
|
@ -7,5 +7,5 @@ Name: ecore
|
|||
Description: Ecore event abstraction library (FIXME)
|
||||
Requires: @requirements@
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lecore @ecore_txt_libs@ @ecore_x_libs@ @ecore_job_libs@ @ecore_fb_libs@ @ecore_evas_libs@ @ecore_con_libs@ @ecore_ipc_libs@ @ecore_config_libs@
|
||||
Libs: -L${libdir} -lecore @ecore_txt_libs@ @ecore_x_libs@ @ecore_job_libs@ @ecore_fb_libs@ @ecore_evas_libs@ @ecore_con_libs@ @ecore_ipc_libs@ @ecore_config_libs@ @ecore_file_libs@
|
||||
Cflags: -I${includedir}
|
||||
|
|
|
@ -8,4 +8,5 @@ ecore_con \
|
|||
ecore_x \
|
||||
ecore_ipc \
|
||||
ecore_evas \
|
||||
ecore_config
|
||||
ecore_config \
|
||||
ecore_file
|
||||
|
|
Loading…
Reference in New Issue