-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfigure.ac
58 lines (41 loc) · 1.49 KB
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
$PACKAGE = libfounsure
$VERSION = 1.0
LDFLAGS="$LDFLAGS -L/usr/local/lib"
AC_PREREQ([2.69])
AC_INIT([founsure], [1.0], [email protected], [], [http://suaybarslan.com/founsure])
AC_CONFIG_SRCDIR([src/main_enc.c])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])
#AM_INIT_AUTOMAKE($PACKAGE, $VERSION) # old - depreceated.
AM_INIT_AUTOMAKE([1.13 -Wall -Wno-extra-portability])
LT_INIT([disable-static])
# Checks for programs.
AC_PROG_CC
# Checks for libraries.
# AC_PROG_RANLIB
#AC_CHECK_LIB([metis], [METIS_PartGraphKway], [],
# [AC_MSG_FAILURE(
# [You need to have METIS library installed.
# metis is available from http://glaros.dtc.umn.edu/gkhome/metis/metis/download])
# ])
# Checks for header files.
AC_CHECK_HEADERS([fcntl.h inttypes.h stdint.h stdlib.h stdbool.h string.h sys/time.h unistd.h omp.h])
AC_CHECK_HEADERS([metis.h defs.h rename.h struct.h macros.h proto.h])
AC_SEARCH_LIBS([pow], [m])
# Checks for typedefs, structures, and compiler characteristics.
AC_CHECK_HEADER_STDBOOL
AC_C_INLINE
AC_TYPE_INT32_T
AC_TYPE_SIZE_T
AC_TYPE_UINT32_T
AC_TYPE_UINT64_T
# AX_EXT
# Checks for library functions.
AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_CHECK_FUNCS([floor getcwd gettimeofday memset mkdir sqrt strchr strdup strrchr])
AC_CONFIG_FILES(Makefile src/Makefile man/Makefile)
AC_OUTPUT