--- configure.in.orig 2003-08-16 00:53:55.000000000 -0500 +++ configure.in 2011-10-26 07:05:16.000000000 -0500 @@ -19,8 +19,8 @@ AC_PATH_X -CFLAGS="-I $x_includes" -LDFLAGS="-L/usr/local/lib -L$x_libraries -L$libdir" +CFLAGS="$CFLAGS -I $x_includes" +LDFLAGS="$LDFLAGS -L$x_libraries -L$libdir" CXXFLAGS="$CFLAGS -Wall" dnl Checks for libraries.