Changeset 35656 in webkit
- Timestamp:
- Aug 9, 2008 8:11:28 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r35655 r35656 1 2008-08-09 Marco Barisione <marco.barisione@collabora.co.uk> 2 3 Reviewed by Alp Toker. 4 5 http://bugs.webkit.org/show_bug.cgi?id=19045 6 [gtk] ./configure doesn't check for x toolkit availability 7 8 Some old versions of Xt do not provide xt.pc, in this case use 9 AC_CHECK_LIB to check if the library is installed and then fall back 10 to using just -lXt. 11 12 * configure.ac: 13 1 14 2008-08-09 Alp Toker <alp@nuanti.com> 2 15 -
trunk/configure.ac
r35655 r35656 292 292 if test "$with_target" = "x11"; then 293 293 PKG_CHECK_MODULES([XT], 294 [xt]) 294 [xt], 295 [xt_has_pkg_config=yes], 296 [xt_has_pkg_config=no]) 297 # some old versions of Xt do not provide xt.pc, so try to link against Xt 298 # and if it's installed fall back to just adding -lXt 299 if test "$xt_has_pkg_config" = "no"; then 300 # using AC_CHECK_LIB instead of AC_SEARCH_LIB is fine in this case as 301 # we don't care about the XtOpenDisplay symbol but only about the 302 # existence of libXt 303 AC_CHECK_LIB([Xt], [XtOpenDisplay], 304 [XT_CFLAGS=""; XT_LIBS="-lXt"], 305 [AC_MSG_ERROR([X Toolkit Intrinsics library (libXt) not found])]) 306 fi 295 307 AC_SUBST([XT_CFLAGS]) 296 308 AC_SUBST([XT_LIBS])
Note: See TracChangeset
for help on using the changeset viewer.