~ubuntu-branches/ubuntu/hardy/gdm/hardy-updates

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2008-05-13 10:44:34 UTC
  • mfrom: (1.4.26 upstream)
  • Revision ID: james.westby@ubuntu.com-20080513104434-xg3oi65kaoz1ux8j
Tags: 2.20.6-0ubuntu1
* New upstream version (lp: #229866):
  - Fix two related bugs that were causing GDM to crash regularly on exit.
    Refer to bug #517526.  
  - Fix a third bug that was causing the GDM daemon to crash occasionally when
    using gdmsetup.  This fix changes GDM so that when it receives an
    UPDATE_CONFIG command, it only updates the key specified rather than
    re-reading the entire configuration file.  Fixes bug #517526.
  - Sync to avoid any XIO errors after session exits.  
  - Fix so that the XDMCP configuration values are read from the configuration
    file when the XDMCP manager is started rather than initialized.  It seems
    the related fixes implemented in 2.20.2 did not fully resolve this issue.
  - Fix bug that was causing GDM session desktop file marked as "Hidden=true"
    to show up in the Session dialog.  
  - Fix gdmsetup bug that caused users to need to restart GDM in order for
    it to notice changes made in the "Server settings" dialog.
  - Fix gdmsetup so it does not save 24HourClock setting as a translated 
    string, which was causing the configuration to get confused.
  - If the user's $HOME/.dmrc file does not exist, avoid calling gkeyfile 
    functions.  This avoids useless gkeyfile warning messages about the file
    being NULL.  A previous fix in 2.20.1 minimized this problem by creating
    the file if it did not exist.  However, that does not always work if the
    user's $HOME directory is not writable (e.g. LiveCD).  So this fix avoids
    the warnings.  
  - Add default OpenBSD Halt, Reboot and Suspend commands to the configure
    script.  
  - Remove broken logic in the configure script that was trying to append
    ${prefix}/bin to the DefaultPath and RootPath.  Please use the 
    --with-post-path configure option if you want to add custom directories
    to the end of DefaultPath and RootPath.  
  - Fix the way the Xsession script is built so that distros can more easily
    add their own custom logic to the Xsession script.  Some Solaris specific
    code was moved to the Xsession.solaris file so that other distros do not
    get affected by this code.  Remove logic to normalize LC_ variables since
    this was causing problems for some users.  Refer to bug #509141
* debian/patches/11_powermanagement.patch,
  debian/patches/56_xnest-wrapper.patch,
  debian/patches/70_mandatory-relibtoolize.patch:
  - updated for the new version
* debian/Xsession:
  - set the USERXSESSIONRC environment variable (lp: #229199)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
AC_INIT(daemon/gdm.h)
3
3
 
4
4
AM_CONFIG_HEADER(config.h)
5
 
AM_INIT_AUTOMAKE(gdm,2.20.5)
 
5
AM_INIT_AUTOMAKE(gdm,2.20.6)
6
6
AC_CONFIG_MACRO_DIR([m4])
7
7
AM_MAINTAINER_MODE
8
8
AC_GNU_SOURCE
1079
1079
        HOST_UTMP_LINE_ATTACHED="/dev/dtlocal"
1080
1080
        HOST_UTMP_LINE_REMOTE="/dev/dtremote"
1081
1081
        HOST_UTMP_PSEUDO_DEVICE="true"
 
1082
        os_solaris=yes
1082
1083
        ;;
1083
1084
*freebsd*)
1084
1085
        HOST_GDM_USER_PATH="/bin:/usr/bin"
1092
1093
        HOST_UTMP_LINE_REMOTE=""
1093
1094
        HOST_UTMP_PSEUDO_DEVICE="false"
1094
1095
        ;;
 
1096
*openbsd*)
 
1097
        HOST_GDM_USER_PATH="/bin:/usr/bin"
 
1098
        HOST_HALT_COMMAND="/sbin/halt -p;/usr/bin/poweroff;/sbin/poweroff;/sbin/shutdown -h now;/usr/sbin/shutdown -h now"
 
1099
        HOST_REBOOT_COMMAND="/usr/bin/reboot;/sbin/reboot;/sbin/shutdown -r now;/usr/sbin/shutdown -r now"
 
1100
        HOST_SUSPEND_COMMAND="/usr/bin/zzz"
 
1101
        HOST_XSESSION_SHELL=/bin/sh
 
1102
        HOST_SOUND_PROGRAM=$(prefix)/bin/play
 
1103
        HOST_GDMGNOMESESSIONCMD=gnome-session
 
1104
        HOST_UTMP_LINE_ATTACHED="/dev/console"
 
1105
        HOST_UTMP_LINE_REMOTE=""
 
1106
        HOST_UTMP_PSEUDO_DEVICE="false"
 
1107
        ;;
1095
1108
*)
1096
1109
        HOST_GDM_USER_PATH="/bin:/usr/bin"
1097
1110
        HOST_HALT_COMMAND="/usr/bin/poweroff;/sbin/poweroff;/sbin/shutdown -h now;/usr/sbin/shutdown -h now"
1202
1215
   X_CONFIG_OPTIONS="-audit 0"
1203
1216
fi
1204
1217
 
1205
 
# Don't add bindir to GDM_USER_PATH if it is already in the PATH.
1206
 
# If it is /bin or /usr/bin, for example.
1207
 
if test "x$real_gdm_prefix" != "x/" -a "x$real_gdm_prefix" != "x/usr"; then
1208
 
    GDM_USER_PATH="$GDM_USER_PATH:${bindir}"
1209
 
fi
1210
 
 
1211
 
 
1212
1218
# Use Xephyr if it is available.  It works better than Xnest since Xephyr
1213
1219
# supports the Xserver extensions, even if on a remote machine.
1214
1220
#
1319
1325
 
1320
1326
# Set configuration choices.
1321
1327
#
 
1328
AM_CONDITIONAL(OS_SOLARIS, test x$os_solaris = xyes)
 
1329
 
1322
1330
AC_SUBST(HALT_COMMAND)
1323
1331
AC_DEFINE_UNQUOTED(HALT_COMMAND,"$HALT_COMMAND")
1324
1332
AC_SUBST(REBOOT_COMMAND)