-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.in
47 lines (40 loc) · 1.17 KB
/
configure.in
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
AC_PREREQ(2.59)
AC_INIT(gdm-plugins,0.1.0)
AC_CONFIG_SRCDIR([config.h.in])
AC_CONFIG_HEADER([config.h])
AM_INIT_AUTOMAKE
GTK_REQUIRED=2.3.0
LIBGLADE_REQUIRED=1.99.2
LIBGNOME_REQUIRED=1.96.0
LIBGNOMEUI_REQUIRED=1.96.0
LIBGNOMECANVAS_REQUIRED=1.109.0
# Checks for programs.
AC_PROG_CC
AC_PROG_RANLIB
AC_PROG_LIBTOOL
# Checks for libraries.
AC_CHECK_LIB([dl], [dlopen])
AC_CHECK_LIB([pthread], [pthread_create])
# Checks for header files.
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS([inttypes.h stdlib.h string.h syslog.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_TYPE_SIZE_T
# Checks for library functions.
AC_FUNC_MALLOC
AC_FUNC_MEMCMP
AC_CHECK_FUNCS([memset strchr strdup])
AC_CONFIG_FILES([Makefile
src/Makefile
src/include/Makefile
src/libs/Makefile
src/plugins/Makefile
src/plugins/pkcs11/Makefile
src/plugins/pkcs11/include/Makefile
src/plugins/pcsc/Makefile
src/plugins/pcsc/include/Makefile
src/plugins/pcsc/include/PCSC/Makefile
gdm-plugins.spec])
AC_OUTPUT