expedite/configure.ac

80 lines
1.4 KiB
Plaintext
Raw Normal View History

dnl Process this file with autoconf to produce a configure script.
# get rid of that stupid cache mechanism
rm -f config.cache
AC_INIT([expedite], [1.23.0], [enlightenment-devel@lists.sourceforge.net])
AC_PREREQ([2.52])
AC_CONFIG_SRCDIR([configure.ac])
AC_CONFIG_HEADERS([config.h])
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
AM_INIT_AUTOMAKE([1.6 dist-xz])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
PKG_PROG_PKG_CONFIG
### Checks for programs
AC_PROG_CC
### Checks for libraries
2014-08-21 15:47:19 -07:00
# EFL dependencies
efl_version="1.23.0"
2018-06-18 16:18:03 -07:00
requirement_expedite=" \
eo >= ${efl_version} \
efl >= ${efl_version} \
eina >= ${efl_version} \
evas >= ${efl_version} \
eet >= ${efl_version} \
ecore-evas >= ${efl_version} \
ecore >= ${efl_version}"
AC_SUBST(requirement_expedite)
PKG_CHECK_MODULES([EFL], [${requirement_expedite}])
2013-06-27 00:04:44 -07:00
EFL_ENABLE_EO_API_SUPPORT
2013-07-22 19:29:11 -07:00
EFL_ENABLE_BETA_API_SUPPORT
2013-06-27 00:04:44 -07:00
### Checks for header files
### Checks for types
### Checks for structures
### Checks for compiler characteristics
AC_PROG_CC_C99
AM_PROG_CC_C_O
AC_C___ATTRIBUTE__
if test "x${ac_cv_prog_cc_c99}" = "xno" ; then
AC_MSG_ERROR([expedite requires a c99-capable compiler])
fi
### Checks for linker characteristics
### Checks for library functions
AC_CHECK_FUNCS([sync])
AC_OUTPUT([
Makefile
expedite.spec
src/Makefile
src/bin/Makefile
data/Makefile
])
echo
echo " $PACKAGE $VERSION"
echo
echo " Installation:"
echo " prefix.......................: ${prefix}"
echo