* 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
+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
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