Index: configure.ac =================================================================== RCS file: /cvs/xorg/app/xdm/configure.ac,v retrieving revision 1.24 diff -u -r1.24 configure.ac --- configure.ac 20 Nov 2005 04:00:36 -0000 1.24 +++ configure.ac 21 Nov 2005 04:44:51 -0000 @@ -53,7 +53,7 @@ # According to the old Imakefile, FreeBSD has this in libutil AC_CHECK_FUNC(setproctitle, [HAS_SETPROCTITLE="yes"], AC_CHECK_LIB(util, setproctitle, - [HAS_SETPROCTITLE="yes" ; XDM_LIBS="$XDM_LIBS -lutil"])) + [HAS_SETPROCTITLE="yes" ; XDM_OS_LIBS="$XDM_OS_LIBS -lutil"])) if test "x$HAS_SETPROCTITLE" = "xyes" ; then AC_DEFINE(HAS_SETPROCTITLE,1, [Define to 1 if you have the 'setproctitle' function.]) @@ -62,7 +62,7 @@ # According to the old Imakefile, BSD/OS has this in libutil AC_CHECK_FUNC(setusercontext, [HAS_SETUSERCONTEXT="yes"], AC_CHECK_LIB(util, setusercontext, - [HAS_SETUSERCONTEXT="yes" ; XDM_LIBS="$XDM_LIBS -lutil"])) + [HAS_SETUSERCONTEXT="yes" ; XDM_OS_LIBS="$XDM_OS_LIBS -lutil"])) if test "x$HAS_SETUSERCONTEXT" = "xyes" ; then AC_DEFINE(HAS_SETUSERCONTEXT,1, [Define to 1 if you have the 'setusercontext' function.]) @@ -201,6 +201,8 @@ PKG_CHECK_MODULES(XDM, xmu x11 xau) +XDM_LIBS="$XDM_LIBS $XDM_OS_LIBS" + PKG_CHECK_EXISTS(xinerama, [ AC_DEFINE([USE_XINERAMA], 1, [Define to 1 to use XINERAMA in greeter & chooser])