[yelp] Stop checking for pangox and X11



commit a272ad303e854d0ae56589146f9ad0c2064ad026
Author: Emilio Pozuelo Monfort <pochu27 gmail com>
Date:   Wed Feb 27 11:58:33 2013 +0100

    Stop checking for pangox and X11
    
    Yelp doesn't use pangox or X11 directly, so there's no need
    for these checks.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=694793

 configure.ac    |   30 ------------------------------
 src/Makefile.am |    3 +--
 2 files changed, 1 insertions(+), 32 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 60feceb..a63f6f0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -160,36 +160,6 @@ AC_SUBST(YELP_ICON_PATH)
 GLIB_GENMARSHAL="`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`"
 AC_SUBST(GLIB_GENMARSHAL)
 
-#
-# 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
-
-AC_SUBST(X_LIBS)
-
 
 # Set flags
 AM_CPPFLAGS="$AM_CPPFLAGS $DEPRECATION_FLAGS"
diff --git a/src/Makefile.am b/src/Makefile.am
index f1c3296..4667c92 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -27,8 +27,7 @@ yelp_CFLAGS =                                 \
 yelp_LDADD =                                   \
        $(top_builddir)/libyelp/libyelp.la      \
        $(YELP_LIBS)                            \
-       $(POPT_LIBS)                            \
-       $(X_LIBS)
+       $(POPT_LIBS)
 
 yelp_LDFLAGS = $(AM_LDFLAGS)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]