You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.1 KiB
50 lines
1.1 KiB
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_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 |
|
|
|
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 |
|
])
|
|
|