Mercurial > repo
comparison interps/egobf/configure.ac @ 996:859f9b4339e6
<Gregor> tar xf egobot.tar.xz
author | HackBot |
---|---|
date | Sun, 09 Dec 2012 19:30:08 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
995:6883f5911eb7 | 996:859f9b4339e6 |
---|---|
1 # -*- Autoconf -*- | |
2 # Process this file with autoconf to produce a configure script. | |
3 | |
4 AC_PREREQ(2.5) | |
5 AC_INIT([egobfi], [0.7], []) | |
6 AC_CONFIG_AUX_DIR([scripts]) | |
7 AM_INIT_AUTOMAKE() | |
8 AC_CONFIG_SRCDIR([src/egobfi.h]) | |
9 AC_CONFIG_HEADER([config.h]) | |
10 | |
11 # Checks for programs. | |
12 AC_PROG_CC | |
13 | |
14 # Checks for libraries. | |
15 | |
16 # Checks for header files. | |
17 AC_HEADER_STDC | |
18 AC_CHECK_HEADERS([stdint.h stdlib.h string.h wchar.h]) | |
19 | |
20 # Checks for typedefs, structures, and compiler characteristics. | |
21 AC_CHECK_TYPE([uint64_t], [INT64=true], [INT64=false], [#include <stdint.h>]) | |
22 AM_CONDITIONAL([USE_INT64], test "x$INT64" = "xtrue") | |
23 | |
24 # Checks for library functions. | |
25 AC_FUNC_MALLOC | |
26 AC_FUNC_REALLOC | |
27 AC_CHECK_FUNCS([memset]) | |
28 | |
29 AC_CONFIG_FILES([Makefile | |
30 src/Makefile | |
31 src/egobfi-wib]) | |
32 AC_OUTPUT |