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.
49 lines
1.1 KiB
49 lines
1.1 KiB
12 years ago
|
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])
|
||
|
AM_CONFIG_HEADER([config.h])
|
||
|
|
||
|
AC_ISC_POSIX
|
||
|
AC_PROG_CC
|
||
|
AM_PROG_CC_STDC
|
||
|
AC_HEADER_STDC
|
||
|
AC_C_CONST
|
||
|
|
||
|
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
|
||
|
])
|
||
|
|
||
|
AC_OUTPUT([
|
||
|
Makefile
|
||
|
src/Makefile
|
||
|
src/bin/Makefile
|
||
|
src/lib/Makefile
|
||
|
src/scripts/Makefile
|
||
|
])
|