diff options
author | dscho <dscho> | 2006-02-21 18:13:23 +0000 |
---|---|---|
committer | dscho <dscho> | 2006-02-21 18:13:23 +0000 |
commit | 880035ad548917ca3dff47a056289691763486ff (patch) | |
tree | d5621272f27b8ff73d24a305a95dc7a28b44dd20 /configure.ac | |
parent | 603b5667b64aa5aaea0aa7e575fb4cb2c2b6d7c7 (diff) | |
download | libtdevnc-880035ad548917ca3dff47a056289691763486ff.tar.gz libtdevnc-880035ad548917ca3dff47a056289691763486ff.zip |
IRIX linker is very picky about order of libraries
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index c136806..0b4c7e0 100644 --- a/configure.ac +++ b/configure.ac @@ -96,18 +96,18 @@ if test "$X_CFLAGS" != "-DX_DISPLAY_MISSING"; then [#include <X11/Xlib.h>]) AC_CHECK_LIB(Xtst, XTestGrabControl, - X_PRELIBS="$X_PRELIBS -lXtst" + X_PRELIBS="-lXtst $X_PRELIBS" [AC_DEFINE(HAVE_XTESTGRABCONTROL) HAVE_XTESTGRABCONTROL="true"], , $X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS) AC_CHECK_LIB(Xtst, XTestFakeKeyEvent, - X_PRELIBS="$X_PRELIBS -lXtst" + X_PRELIBS="-lXtst $X_PRELIBS" [AC_DEFINE(HAVE_XTEST)], , $X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS) if test "x$with_xrecord" != "xno"; then AC_CHECK_LIB(Xtst, XRecordEnableContextAsync, - X_PRELIBS="$X_PRELIBS -lXtst" + X_PRELIBS="-lXtst $X_PRELIBS" [AC_DEFINE(HAVE_RECORD)], , $X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS) fi |