~ubuntu-branches/ubuntu/utopic/xdm/utopic

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): David Nusinow, Eugene Konev
  • Date: 2006-06-30 00:42:11 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060630004211-m2ntbay7eepml8pb
Tags: 1:1.0.5-1
[ Eugene Konev ]
* New upstream release. Fixes security bug on linux-2.6 kernels.
* Don't build-depend on libselinux1-dev on non-linux arches, thanks
  Michael Banck and Christian Perrier (closes: #369519)
* Fix init script reload target, thanks Alexandr Kazda (closes: #365548)
* Fix authDir reference in xdm(1), thanks Kevin Ryde (closes: #373138)
* Update README.Debian, thanks Kevin Ryde (closes: #373870)
* Pass APP_MAN_SUFFIX=1 to configure explicitely.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
dnl
22
22
dnl Process this file with autoconf to create configure.
23
23
 
 
24
dnl $XdotOrg: app/xdm/configure.ac,v 1.40.2.1 2006/06/22 22:39:02 alanc Exp $
 
25
 
24
26
AC_PREREQ([2.57])
25
 
AC_INIT(xdm,[1.0.1], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],xdm)
 
27
AC_INIT(xdm,[1.0.5],[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],xdm)
26
28
AM_INIT_AUTOMAKE([dist-bzip2])
27
29
AM_MAINTAINER_MODE
28
30
 
29
31
AM_CONFIG_HEADER(config.h)
30
32
 
31
33
AC_PROG_CC
 
34
AC_C_INLINE
32
35
AC_LIBTOOL_WIN32_DLL
33
36
AM_PROG_LIBTOOL
34
37
AC_PROG_INSTALL
35
38
 
36
39
XORG_PROG_RAWCPP
37
40
 
 
41
# Check for mktemp to prevent security issue noted in Xorg bug #5898
 
42
# See https://bugs.freedesktop.org/show_bug.cgi?id=5898 for details.
 
43
AC_PATH_PROG(MKTEMP_COMMAND, mktemp)
 
44
AM_CONDITIONAL(HAVE_MKTEMP_COMMAND, test x$MKTEMP_COMMAND != x)
 
45
 
38
46
AC_FUNC_FORK
39
47
 
40
48
dnl If you're looking here because you got a message that said
68
76
                [Define to 1 if you have the 'setusercontext' function.])
69
77
fi
70
78
 
 
79
AC_CHECK_FUNCS([daemon])
 
80
AC_CHECK_HEADERS([grp.h])
 
81
 
71
82
XTRANS_CONNECTION_FLAGS
72
83
dnl Sets $SECURE_RPC to "yes" or "no"
73
84
XTRANS_SECURE_RPC_FLAGS
74
85
AM_CONDITIONAL(HAS_SECURE_RPC, test x$SECURE_RPC = xyes)
75
86
 
 
87
dnl Is key_setnet defined in a header file?
 
88
AC_CHECK_DECL(key_setnet, 
 
89
        AC_DEFINE(HAVE_DECL_KEY_SETNET,1,
 
90
             [Define to 1 if your headers define the key_setnet() function.]),
 
91
        [],[
 
92
#include <rpc/rpc.h>
 
93
#include <rpc/key_prot.h>
 
94
])
 
95
 
76
96
# darwin could have PAM support, but not yet
77
97
case $host_os in
78
98
    darwin*)
109
129
        OS_CFLAGS="-D__DARWIN__ -DNO_LASTLOG"
110
130
        SU="su -m"
111
131
        ;;
112
 
    *bsd*)
 
132
    *bsd*|dragonfly*)
113
133
        OS_CFLAGS="-DCSRG_BASED"
114
134
        SU="su -m"
115
135
        ;;
208
228
AC_SUBST(SERVERSTYPE)
209
229
 
210
230
case $host_os in
211
 
    *sco*)      SHELL_CMD="/bin/ksh"    ;;
 
231
    *sco*|*solaris*)
 
232
                SHELL_CMD="/bin/ksh"    ;;
212
233
    *)          SHELL_CMD="/bin/sh"     ;;
213
234
esac
214
235
AC_SUBST(SHELL_CMD)
468
489
PKG_CHECK_MODULES(APPDEFS, xt)
469
490
appdefaultdir=$(pkg-config --variable=appdefaultdir xt)
470
491
AC_SUBST(appdefaultdir)
 
492
AC_SUBST(MKTEMP_COMMAND)
471
493
 
472
494
XORG_MANPAGE_SECTIONS
473
495
XORG_RELEASE_VERSION