diff options
author | Emilio Pozuelo Monfort <pochu27@gmail.com> | 2013-02-27 11:58:33 +0100 |
---|---|---|
committer | Emilio Pozuelo Monfort <pochu27@gmail.com> | 2013-02-28 16:01:57 +0100 |
commit | a272ad303e854d0ae56589146f9ad0c2064ad026 (patch) | |
tree | 0b5b4de52db9a63c8ea0f1f3cbfcdca291d5f1f3 | |
parent | 731e09386c9a5755b6af096406c1af20164d57e7 (diff) | |
download | yelp-a272ad303e854d0ae56589146f9ad0c2064ad026.tar.gz |
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
-rw-r--r-- | configure.ac | 30 | ||||
-rw-r--r-- | src/Makefile.am | 3 |
2 files changed, 1 insertions, 32 deletions
diff --git a/configure.ac b/configure.ac index 60fecebf..a63f6f0e 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 f1c3296b..4667c922 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) |