3 AC_INIT(efreet, 0.5.0.050, enlightenment-devel@lists.sourceforge.net)
5 AC_CONFIG_SRCDIR(configure.ac)
9 AM_INIT_AUTOMAKE(1.6 dist-bzip2)
10 AM_CONFIG_HEADER(config.h)
20 define([AC_LIBTOOL_LANG_CXX_CONFIG], [:])dnl
21 define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
24 VMAJ=`echo $PACKAGE_VERSION | awk -F. '{printf("%s", $1);}'`
25 VMIN=`echo $PACKAGE_VERSION | awk -F. '{printf("%s", $2);}'`
26 VMIC=`echo $PACKAGE_VERSION | awk -F. '{printf("%s", $3);}'`
27 SNAP=`echo $PACKAGE_VERSION | awk -F. '{printf("%s", $4);}'`
28 version_info=`expr $VMAJ + $VMIN`":$VMIC:$VMIN"
29 AC_SUBST(version_info)
35 PKG_CHECK_MODULES(ECORE, [ecore >= 0.9.9 ecore-file >= 0.9.9])
36 PKG_CHECK_MODULES([EINA], [eina-0])
38 CFLAGS=$ECORE_CFLAGS" "$CFLAGS
40 requirements="ecore ecore-file"
42 AC_ARG_ENABLE(strict-spec,
43 [AC_HELP_STRING([--enable-strict-spec],[Enable strict spec compliance])],
44 [enable_strict_spec=$enableval], [enable_strict_spec="auto"])
45 if test "x$enable_strict_spec" = "xyes" ; then
46 AC_DEFINE(STRICT_SPEC, 1, [Strict Spec Compliance])
49 AC_ARG_ENABLE(sloppy-spec,
50 [AC_HELP_STRING([--disable-sloppy-spec],[Enable sloppy spec compliance])],
51 [enable_sloppy_spec=$enableval], [enable_sloppy_spec="yes"])
52 if test "x$enable_sloppy_spec" = "xyes" ; then
53 AC_DEFINE(SLOPPY_SPEC, 1, [Sloppy Spec Compliance])
58 AC_ARG_ENABLE(hidden-visibility,
59 [AC_HELP_STRING([--enable-hidden-visibility],[Enable hidden visibility])],
60 [enable_hidden_visibility=$enableval], [enable_hidden_visibility="auto"])
61 if test "x$enable_hidden_visibility" = "xyes" ; then
62 CPPFLAGS="$CPPFLAGS -fvisibility=hidden"
64 AC_DEFINE(DEFAULT_VISIBLITY, 1, [Default visibility])
66 AM_CONDITIONAL(DEFAULT_VISIBILITY, test "x$enable_hidden_visibility" != "xyes")
68 AC_SUBST(requirements)
79 src/bin/data/sub/Makefile
80 src/bin/compare/Makefile