File: configure.ac

package info (click to toggle)
ldm 2:2.2.15-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,408 kB
  • ctags: 548
  • sloc: ansic: 4,582; sh: 277; python: 259; makefile: 111; sed: 16
file content (63 lines) | stat: -rw-r--r-- 1,316 bytes parent folder | download
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
59
60
61
62
63
AC_INIT([src/ldm.c],[gtkgreet/ldmgtkgreeter.c])
AC_CONFIG_HEADER(config.h)
AC_CONFIG_MACRO_DIR([m4])

PACKAGE=ldm
VERSION=2.2.15
AUTHOR=sbalneav@ltsp.org

AM_INIT_AUTOMAKE([$PACKAGE],[$VERSION],[$AUTHOR])

AM_MAINTAINER_MODE([enable])

AC_PROG_CC
AM_PROG_CC_C_O()
AC_PROG_INSTALL
AC_STDC_HEADERS

AC_HEADER_STDC
AC_CHECK_HEADERS([syslog.h sys/wait.h fcntl.h],,AC_MSG_ERROR(Required header missing))

AC_CHECK_LIB([util],[main],[],AC_MSG_ERROR(ldm requires libutil))

PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.6.0)
PKG_CHECK_MODULES(GOBJECT, gobject-2.0 >= 2.6.0)
PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.2)

AC_SUBST(GLIB_CFLAGS)
AC_SUBST(GLIB_LIBS)
AC_SUBST(GOBJECT_CFLAGS)
AC_SUBST(GOBJECT_LIBS)
AC_SUBST(GTK_CFLAGS)
AC_SUBST(GTK_LIBS)

AM_PROG_LIBTOOL
IT_PROG_INTLTOOL([0.35.0])

AC_SUBST(ALL_LINGUAS)
AM_GLIB_GNU_GETTEXT
GETTEXT_PACKAGE=$PACKAGE
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package.])
AC_SUBST(GETTEXT_PACKAGE)

AC_OUTPUT([
Makefile
src/Makefile
src/plugins/ssh/Makefile
src/plugins/rdesktop/Makefile
share/Makefile
man/Makefile
po/Makefile.in
gtkgreet/Makefile
wwm/Makefile
misc/Makefile
themes/Makefile
screen.d/Makefile
rc.d/Makefile
share/ldm-script
ltsp-cluster-info/Makefile
po/rc.d/Makefile.in
po/rc.d/Makefile
po/ltsp-cluster-info/Makefile.in
po/ltsp-cluster-info/Makefile
])