summaryrefslogtreecommitdiff
blob: 57cc2d41e130994aac8b11127e003e571a3160c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
diff -urNp quick-lounge-applet-2.12.5-orig/configure.in quick-lounge-applet-2.12.5/configure.in
--- quick-lounge-applet-2.12.5-orig/configure.in	2008-07-27 22:08:29.000000000 +0530
+++ quick-lounge-applet-2.12.5/configure.in	2008-07-27 22:09:44.000000000 +0530
@@ -7,7 +7,7 @@ AC_CONFIG_SRCDIR(src/quick-lounge.c)
 AM_INIT_AUTOMAKE([1.9 foreign no-dist-gzip dist-bzip2])
 AC_CONFIG_HEADERS([config.h])
 
-LT_PROG_LIBTOOL
+AM_PROG_LIBTOOL
 
 dnl ==========================================================================
 dnl
@@ -53,37 +53,6 @@ PKG_CHECK_MODULES(QL,					\
 AC_SUBST(QL_CFLAGS)
 AC_SUBST(QL_LIBS)
 
-#
-# 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_CHECK_LIB(Xau, XauFileName, [X_LIBS="$X_LIBS -lXau"])
-
-AC_SUBST(X_LIBS)
 
 dnl ******************************