--- configure.old 2010-10-18 15:05:02.000000000 +0200 +++ configure 2010-10-18 15:05:31.000000000 +0200 @@ -5520,7 +5520,7 @@ else CFLAGS="" fi -LDFLAGS="-L/usr/local/lib -L$x_libraries -L$libdir" +LDFLAGS="${LDFLAGS} -L/usr/local/lib -L$x_libraries -L$libdir" CXXFLAGS="$CFLAGS -Wall"