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 AC_SUBST(version_info)
36 PKG_CHECK_MODULES(ECORE, [ecore >= 0.9.9 ecore-file >= 0.9.9])
37 PKG_CHECK_MODULES([EINA], [eina-0])
39 CFLAGS=$ECORE_CFLAGS" "$CFLAGS
41 requirements="ecore ecore-file"
43 AC_ARG_ENABLE(strict-spec,
44 [AC_HELP_STRING([--enable-strict-spec],[Enable strict spec compliance])],
45 [enable_strict_spec=$enableval], [enable_strict_spec="auto"])
46 if test "x$enable_strict_spec" = "xyes" ; then
47 AC_DEFINE(STRICT_SPEC, 1, [Strict Spec Compliance])
50 AC_ARG_ENABLE(sloppy-spec,
51 [AC_HELP_STRING([--disable-sloppy-spec],[Enable sloppy spec compliance])],
52 [enable_sloppy_spec=$enableval], [enable_sloppy_spec="yes"])
53 if test "x$enable_sloppy_spec" = "xyes" ; then
54 AC_DEFINE(SLOPPY_SPEC, 1, [Sloppy Spec Compliance])
59 AC_ARG_ENABLE(hidden-visibility,
60 [AC_HELP_STRING([--enable-hidden-visibility],[Enable hidden visibility])],
61 [enable_hidden_visibility=$enableval], [enable_hidden_visibility="auto"])
62 if test "x$enable_hidden_visibility" = "xyes" ; then
63 CPPFLAGS="$CPPFLAGS -fvisibility=hidden"
65 AC_DEFINE(DEFAULT_VISIBLITY, 1, [Default visibility])
67 AM_CONDITIONAL(DEFAULT_VISIBILITY, test "x$enable_hidden_visibility" != "xyes")
68 EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"])
70 AC_SUBST(requirements)
83 src/bin/data/sub/Makefile
84 src/bin/compare/Makefile