Commit 17ec2856 authored by William Jon McCann's avatar William Jon McCann Committed by William Jon McCann

Add libresolv to EXTRA_DAEMON_LIBS on Solaris Patch from Brian Cameron

2007-08-23  William Jon McCann  <mccann@jhu.edu>

	* configure.ac:
	Add libresolv to EXTRA_DAEMON_LIBS on Solaris
	Patch from Brian Cameron <brian.cameron@sun.com>


svn path=/branches/mccann-gobject/; revision=5184
parent 23cffd8d
2007-08-23 William Jon McCann <mccann@jhu.edu>
* configure.ac:
Add libresolv to EXTRA_DAEMON_LIBS on Solaris
Patch from Brian Cameron <brian.cameron@sun.com>
2007-08-22 William Jon McCann <mccann@jhu.edu>
* daemon/INTERNALS:
......
......@@ -1012,18 +1012,6 @@ AC_CHECK_LIB(secdb, chkauthattr, [
EXTRA_DAEMON_LIBS="$EXTRA_DAEMON_LIBS -lsecdb"
EXTRA_GREETER_LIBS="$EXTRA_GREETER_LIBS -lsecdb"])
#
# Subst the extra libs
#
AC_SUBST(EXTRA_DAEMON_LIBS)
AC_SUBST(EXTRA_SLAVE_LIBS)
AC_SUBST(EXTRA_CHOOSER_LIBS)
AC_SUBST(EXTRA_XNEST_LIBS)
AC_SUBST(EXTRA_FLEXI_LIBS)
AC_SUBST(EXTRA_DYNAMIC_LIBS)
AC_SUBST(EXTRA_SETUP_LIBS)
AC_SUBST(EXTRA_GREETER_LIBS)
# Define different Halt, and Reboot commands differently for Solaris.
#
# On Solaris/bin is a symlink to /usr/bin, so don't include it in
......@@ -1034,6 +1022,7 @@ GDM_RBAC_SYSCMD_KEYS=""
case "$host" in
*solaris*)
AC_CHECK_LIB(resolv, daemon, [EXTRA_DAEMON_LIBS="$EXTRA_DAEMON_LIBS -lresolv"])
GDM_USER_PATH="/usr/bin"
HALT_COMMAND="/sbin/init 5"
REBOOT_COMMAND="/sbin/init 6"
......@@ -1063,6 +1052,18 @@ case "$host" in
;;
esac
#
# Subst the extra libs
#
AC_SUBST(EXTRA_DAEMON_LIBS)
AC_SUBST(EXTRA_SLAVE_LIBS)
AC_SUBST(EXTRA_CHOOSER_LIBS)
AC_SUBST(EXTRA_XNEST_LIBS)
AC_SUBST(EXTRA_FLEXI_LIBS)
AC_SUBST(EXTRA_DYNAMIC_LIBS)
AC_SUBST(EXTRA_SETUP_LIBS)
AC_SUBST(EXTRA_GREETER_LIBS)
# First check with "! -h" for /usr/X11R6 and /usr/X11 since they often
# symlink to each other, and configure should use the more stable
# location (the real directory) if possible.
......
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