----------------------------------------------------------------- Revision: 049974c7ac8c3a609c1c59f7fd879f611e4b5af9 Ancestor: ebe1c4271a3cd4566c3ad71f2414eb480dd1ace5 Author: nosnilmot@pidgin.im Date: 2007-09-14T15:34:59 Branch: im.pidgin.pidgin Modified files: configure.ac ChangeLog: Hopefully fix the broken detection of X11 stuffs on older X installations that don't have an x11.pc pkgconfig file ============================================================ --- configure.ac 29efbccbb2625521eb8389af98016840814ca6d9 +++ configure.ac 2726a7df0a65baa2c9c36e8fdb0e62b6530bb80a @@ -352,13 +352,19 @@ If you only want to build Finch then spe dnl ####################################################################### if test "x$with_x" = "xyes" ; then PKG_CHECK_MODULES(X11, x11, - [AC_DEFINE(HAVE_X, 1, [Define to 1 if you have X11])], + [AC_DEFINE(HAVE_X11, 1, [Define to 1 if you have X11])], [AC_MSG_RESULT(no) - with_x=no]) + if test "x$x_incpath_add" != "x" -a "x$x_libpath_add" != "x"; then + X11_LIBS="$x_libpath_add" + X11_CFLAGS="$x_incpath_add" + else + with_x=no + fi + ]) AC_SUBST(X11_LIBS) AC_SUBST(X11_CFLAGS) fi - + dnl ####################################################################### dnl # Check for XScreenSaver dnl #######################################################################