2002-05-31 Laszlo Peter <laca@sun.com>
authorlaca <laca@e2bd861d-eb25-0410-b326-f6ed22b6b98c>
Fri, 31 May 2002 14:41:45 +0000 (14:41 +0000)
committerlaca <laca@e2bd861d-eb25-0410-b326-f6ed22b6b98c>
Fri, 31 May 2002 14:41:45 +0000 (14:41 +0000)
* 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
configure.in

index 1bacb02..42439fc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-05-31  Laszlo Peter  <laca@sun.com>
+
+       * 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  <jacob@ximian.com>
 
        * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
index d41f892..5749679 100644 (file)
@@ -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