3 AC_INIT([efreet], [0.5.0.050], [enlightenment-devel@lists.sourceforge.net])
5 AC_CONFIG_SRCDIR([configure.ac])
6 AC_CONFIG_MACRO_DIR([m4])
10 AM_INIT_AUTOMAKE(1.6 dist-bzip2)
11 AM_CONFIG_HEADER(config.h)
21 define([AC_LIBTOOL_LANG_CXX_CONFIG], [:])dnl
22 define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
25 VMAJ=`echo $PACKAGE_VERSION | awk -F. '{printf("%s", $1);}'`
26 VMIN=`echo $PACKAGE_VERSION | awk -F. '{printf("%s", $2);}'`
27 VMIC=`echo $PACKAGE_VERSION | awk -F. '{printf("%s", $3);}'`
28 SNAP=`echo $PACKAGE_VERSION | awk -F. '{printf("%s", $4);}'`
29 version_info=`expr $VMAJ + $VMIN`":$VMIC:$VMIN"
30 release="ver-pre-svn-00"
31 efreet_release_info="-release $release"
32 efreet_mime_release_info="-release $release"
33 efreet_trash_release_info="-release $release"
34 AC_SUBST(version_info)
35 AC_SUBST(efreet_release_info)
36 AC_SUBST(efreet_mime_release_info)
37 AC_SUBST(efreet_trash_release_info)
42 EFL_EFREET_MIME_BUILD=""
43 EFL_EFREET_TRASH_BUILD=""
47 PKG_CHECK_MODULES([EVIL], [evil])
48 AC_DEFINE(HAVE_EVIL, 1, [Set to 1 if Evil library is installed])
49 EFL_EFREET_BUILD="-DEFL_EFREET_BUILD"
50 EFL_EFREET_MIME_BUILD="-DEFL_EFREET_MIME_BUILD"
51 EFL_EFREET_TRASH_BUILD="-DEFL_EFREET_TRASH_BUILD"
55 AC_SUBST(EFL_EFREET_BUILD)
56 AC_SUBST(EFL_EFREET_MIME_BUILD)
57 AC_SUBST(EFL_EFREET_TRASH_BUILD)
62 AC_CHECK_HEADERS([arpa/inet.h])
64 PKG_CHECK_MODULES(EFREET, [eina-0 ecore >= 0.9.9 ecore-file >= 0.9.9])
65 PKG_CHECK_MODULES(EINA, [eina-0])
67 requirements="ecore-file ecore eina-0"
69 AC_ARG_ENABLE(strict-spec,
70 [AC_HELP_STRING([--enable-strict-spec],[Enable strict spec compliance])],
71 [enable_strict_spec=$enableval], [enable_strict_spec="auto"])
72 if test "x$enable_strict_spec" = "xyes" ; then
73 AC_DEFINE(STRICT_SPEC, 1, [Strict Spec Compliance])
76 AC_ARG_ENABLE(sloppy-spec,
77 [AC_HELP_STRING([--disable-sloppy-spec],[Enable sloppy spec compliance])],
78 [enable_sloppy_spec=$enableval], [enable_sloppy_spec="yes"])
79 if test "x$enable_sloppy_spec" = "xyes" ; then
80 AC_DEFINE(SLOPPY_SPEC, 1, [Sloppy Spec Compliance])
83 AC_ARG_ENABLE(hidden-visibility,
84 [AC_HELP_STRING([--enable-hidden-visibility],[Enable hidden visibility])],
85 [enable_hidden_visibility=$enableval], [enable_hidden_visibility="auto"])
86 if test "x$enable_hidden_visibility" = "xyes" ; then
87 CPPFLAGS="$CPPFLAGS -fvisibility=hidden"
89 AC_DEFINE(DEFAULT_VISIBLITY, 1, [Default visibility])
91 AM_CONDITIONAL(DEFAULT_VISIBILITY, test "x$enable_hidden_visibility" != "xyes")
92 EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"])
94 AC_SUBST(requirements)
106 src/bin/data/Makefile
107 src/bin/data/sub/Makefile
108 src/bin/compare/Makefile