checking for XauDisposeAuth in -lXau... yes
--- vcl/util/makefile.mk.orig	2006-04-24 19:42:12.000000000 +0200
+++ vcl/util/makefile.mk	2006-04-24 19:42:25.000000000 +0200
@@ -307,6 +307,9 @@
 
 .IF "$(ENABLE_NAS)" != ""
 SHL2STDLIBS += -laudio
+.IF "$(XAU_LIBS)" != ""
+SHL2STDLIBS += $(XAU_LIBS)
+.ENDIF
 .IF "$(OS)"=="SOLARIS"
 # needed by libaudio.a
 SHL2STDLIBS += -ldl -lnsl -lsocket
--- config_office/set_soenv.in.orig	2006-04-24 22:47:28.000000000 +0200
+++ config_office/set_soenv.in	2006-04-24 22:53:54.000000000 +0200
@@ -1790,6 +1790,7 @@
 ToFile( "SYSTEM_MYTHES",     "@SYSTEM_MYTHES@",    "e" );
 ToFile( "PAM_LINK",          "@PAM_LINK@",         "e" );
 ToFile( "CRYPT_LINK",        "@CRYPT_LINK@",       "e" );
+ToFile( "XAU_LIBS",          "@XAU_LIBS@",         "e" );
 ToFile( "GXX_INCLUDE_PATH",  "@GXX_INCLUDE_PATH@", "e" );
 ToFile( "COMMON_BUILD_TOOLS",$COMMON_BUILD_TOOLS,  "e" );
 if ($platform !~ m/cygwin/)
--- config_office/configure.in.orig	2006-04-24 13:35:16.000000000 +0200
+++ config_office/configure.in	2006-04-24 23:18:37.000000000 +0200
@@ -3143,6 +3143,8 @@
    CFLAGS=$X_CFLAGS
    LDFLAGS="$X_LDFLAGS $X_LIBS"
    AC_CHECK_LIB(X11, XOpenDisplay, x_libs="-lX11 $X_EXTRA_LIBS", [AC_MSG_ERROR([X Development libraries not found])])
+   dnl Check if the XauDisposeAuth symbol is provided by libXau.
+   AC_CHECK_LIB(Xau, XauDisposeAuth, XAU_LIBS="-lXau", [])
 else
    x_includes="no_x_includes"
    x_libraries="no_x_libraries"
@@ -3157,6 +3159,7 @@
 AC_SUBST(XINC)
 XLIB="$x_libraries"
 AC_SUBST(XLIB)
+AC_SUBST(XAU_LIBS)
 
 dnl ===================================================================
 dnl Check if fontconfig/fontconfig.h is available 
