Commit 141ad8f8 authored by Brian Cameron's avatar Brian Cameron Committed by Brian Cameron

Fix configure so it builds the path to use for gdm-ssh-session desktop

2006-05-15  Brian Cameron  <brian.cameron@sun.com>

        * configure.ac: Fix configure so it builds the path to use for
          gdm-ssh-session desktop file properly if --libexecdir isn't
          passed to configure.
parent cfa3a1f9
2006-05-15 Brian Cameron <brian.cameron@sun.com>
* configure.ac: Fix configure so it builds the path to use for
gdm-ssh-session desktop file properly if --libexecdir isn't
passed to configure.
2006-05-15 Brian Cameron <brian.cameron@sun.com>
* gui/gdmcommon.c: Use ngettext. Patch provided by Benoit Dejean
......
......@@ -861,10 +861,23 @@ else
fi
fi
if test ${libexecdir} = "\${exec_prefix}/libexec"; then
if test ${exec_prefix} != "NONE"; then
path_to_check=$exec_prefix
elif test ${prefix} != "NONE"; then
path_to_check=$prefix
else
path_to_check=$ac_default_prefix
fi
ssh_libexec="$path_to_check/libexec"
else
ssh_libexec="${libexecdir}"
fi
if test x$enable_secureremote != xno ; then
SSHDESKTOP="ssh.desktop"
GDMSSHSESSION="gdm-ssh-session"
GDMSSHSESSIONCMD="${libexecdir}/gdm-ssh-session"
GDMSSHSESSIONCMD="${ssh_libexec}/gdm-ssh-session"
fi
AC_SUBST(SSHDESKTOP)
AC_SUBST(GDMSSHSESSION)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment