Index: configure --- configure.orig 2010-09-07 04:57:22.000000000 +0200 +++ configure 2010-09-09 11:17:36.000000000 +0200 @@ -4906,7 +4906,7 @@ #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF - LIBS="$LIBS -ljasper" + LIBS="-ljasper $LIBS" cat >>confdefs.h <<\_ACEOF #define JP2K 1