zenity/zenity-2.14.0-x.patch

43 lines
1.9 KiB
Diff
Raw Normal View History

--- zenity-2.14.0/configure.in.x 2006-04-11 11:37:09.000000000 -0400
+++ zenity-2.14.0/configure.in 2006-04-11 11:37:47.000000000 -0400
@@ -26,38 +26,7 @@
AC_MSG_ERROR(Couldn't find scrollkeeper-config. Please install the scrollkeeper package)
fi
-dnl ***********************************************
-dnl X development libraries check
-dnl ***********************************************
-
-#
-# If Pango included the shared library dependencies from X11 in
-# the pkg-config output, then we use that (to avoid duplicates).
-# but if they were omitted to avoid binary compatibility problems
-# then we need to repeat the checks.
-#
-if $PKG_CONFIG --exists pangoxft ; then
- PANGO_PACKAGES="pangox pangoxft"
-else
- PANGO_PACKAGES="pangox"
-fi
-
-x_libs="`$PKG_CONFIG --libs $PANGO_PACKAGES`"
-case x_libs in
- *-lX11*) pango_omitted_x_deps=no ;;
- *) pango_omitted_x_deps=yes ;;
-esac
-
-if test $pango_omitted_x_deps = yes ; then
- AC_PATH_XTRA
-
- if test x$no_x = xyes ; then
- AC_MSG_ERROR([X development libraries not found])
- else
- X_LIBS="$X_PRE_LIBS $X_LIBS -lX11 $X_EXTRA_LIBS"
- fi
-fi
-
+X_LIBS=
AC_SUBST(X_LIBS)
dnl *******************************