-
Notifications
You must be signed in to change notification settings - Fork 2
/
configure.ac
52 lines (33 loc) · 834 Bytes
/
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
# libfq - configure.ac
AC_INIT([libfq], [0.7.0], [[email protected]])
AM_MAINTAINER_MODE([disable])
AC_CONFIG_AUX_DIR([config])
AM_INIT_AUTOMAKE([-Wall foreign])
ibase=/usr/include
fbclient=/usr/lib
AC_SUBST(ibase)
AC_SUBST(fbclient)
AC_PROG_CC
AM_PROG_AR
AC_PROG_LIBTOOL
AC_CONFIG_HEADER(include/config.h)
AC_CONFIG_FILES([Makefile src/Makefile])
AC_CHECK_HEADERS([fcntl.h limits.h string.h stdlib.h math.h sys/time.h unistd.h])
AC_CHECK_FUNCS([memmove memset strchr strdup strstr strtol atoi atof])
AC_ARG_WITH(
ibase,
AS_HELP_STRING(
[--with-ibase=DIR],
[directory containing ibase.h]
),
[ibase="$withval"]
)
AC_ARG_WITH(
fbclient,
AS_HELP_STRING(
[--with-fbclient=DIR],
[directory containing fbclient library]
),
[fbclient="$withval"]
)
AC_OUTPUT