55 lines
1.2 KiB
Plaintext
55 lines
1.2 KiB
Plaintext
dnl Process this file with autoconf to produce a configure script.
|
|
|
|
AC_INIT([exactness], [0.1.0], [enlightenment-devel@lists.sourceforge.net])
|
|
AC_PREREQ([2.52])
|
|
AC_CONFIG_SRCDIR([configure.ac])
|
|
AC_CONFIG_MACRO_DIR([m4])
|
|
AC_CANONICAL_BUILD
|
|
AC_CANONICAL_HOST
|
|
AC_CANONICAL_TARGET
|
|
|
|
AM_INIT_AUTOMAKE([1.6 dist-bzip2])
|
|
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
|
AC_CONFIG_HEADERS([config.h])
|
|
|
|
AC_ISC_POSIX
|
|
AC_PROG_CC
|
|
AC_HEADER_STDC
|
|
AC_C_CONST
|
|
|
|
AM_PROG_CC_C_O
|
|
|
|
EFL_ENABLE_BETA_API_SUPPORT
|
|
|
|
PKG_PROG_PKG_CONFIG
|
|
AC_PROG_LIBTOOL
|
|
|
|
dnl Checking for __attribute__ support
|
|
AC_MSG_CHECKING([for __attribute__])
|
|
AC_CACHE_VAL([_cv_have___attribute__],
|
|
[
|
|
AC_TRY_COMPILE([#include <stdlib.h>],
|
|
[int func(int x); int foo(int x __attribute__ ((unused))) { exit(1); }],
|
|
[_cv_have___attribute__="yes"],
|
|
[_cv_have___attribute__="no"])
|
|
])
|
|
|
|
if test "x${_cv_have___attribute__}" = "xyes" ; then
|
|
AC_DEFINE([HAVE___ATTRIBUTE__], [1], [Define to 1 if your compiler has __attribute__])
|
|
fi
|
|
AC_MSG_RESULT([${_cv_have___attribute__}])
|
|
|
|
PKG_CHECK_MODULES([EFL],
|
|
[
|
|
elementary >= 0.7.0
|
|
emile >= 1.14.0
|
|
])
|
|
|
|
AC_OUTPUT([
|
|
Makefile
|
|
src/Makefile
|
|
src/bin/Makefile
|
|
src/lib/Makefile
|
|
exactness.pc
|
|
])
|