From 8d92795985f7bf6e97545d3fbbd7891062b252f7 Mon Sep 17 00:00:00 2001 From: laca Date: Fri, 31 May 2002 14:41:45 +0000 Subject: [PATCH] 2002-05-31 Laszlo Peter * configure.in: add the Xtst libdir to the runpath on Solaris, since it's not in the default library search path. git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@308 e2bd861d-eb25-0410-b326-f6ed22b6b98c --- ChangeLog | 5 +++++ configure.in | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1bacb02..42439fc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-05-31 Laszlo Peter + + * configure.in: add the Xtst libdir to the runpath on Solaris, + since it's not in the default library search path. + 2002-05-29 jacob berkman * registryd/Makefile.am (EXTRA_DIST): dist the .in.in diff --git a/configure.in b/configure.in index d41f892..5749679 100644 --- a/configure.in +++ b/configure.in @@ -144,10 +144,13 @@ if test "x$XTST_LIBS" = x; then save_LIBS="$LIBS" for xtstpath in /usr/X11R6/lib /usr/openwin/lib; do LIBS="-L$xtstpath -lXtst" + case "$host" in + *solaris*) XTST_RPATH_FLAGS="-R$xtstpath" ;; + esac AC_MSG_CHECKING(for -lXtst in $xtstpath) AC_TRY_LINK([], [XTestFakeKeyEvent()], [ AC_MSG_RESULT(yes) - XTST_LIBS="-L$xtstpath -lXtst" + XTST_LIBS="$XTST_RPATH_FLAGS -L$xtstpath -lXtst" LIBS="$save_LIBS" break],[AC_MSG_RESULT(no)]) done -- 2.7.4