[xchat-gnome] configure.ac: Remove redundant code
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [xchat-gnome] configure.ac: Remove redundant code
- Date: Fri, 15 Apr 2011 11:25:58 +0000 (UTC)
commit f44add1a6159f3807dd7bd196491a16f074effb7
Author: Javier Jardón <jjardon gnome org>
Date: Fri Apr 15 12:22:14 2011 +0100
configure.ac: Remove redundant code
PKG_CHECK_MODULES already AC_SUBST the _CFLAGS and _LIBS
configure.ac | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index e18ab9d..c475d1e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -73,8 +73,6 @@ PKG_CHECK_MODULES([EGG_SMCLIENT], [\
gtk+-2.0 >= $GTK_REQUIRED \
sm >= $SM_REQUIRED \
])
-AC_SUBST(EGG_SMCLIENT_CFLAGS)
-AC_SUBST(EGG_SMCLIENT_LIBS)
#D-Bus
AC_MSG_CHECKING([whether D-Bus support is requested])
@@ -94,8 +92,6 @@ if test "x$enable_dbus" != "xno"; then
if test "x$dbus" = "xno"; then
AC_MSG_WARN([Library requirements (dbus-1 >= $DBUS_REQUIRED dbus-glib-1 >= $DBUS_GLIB_REQUIRED gthread-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.])
fi
- AC_SUBST([DBUS_CFLAGS])
- AC_SUBST([DBUS_LIBS])
AC_PATH_PROG([DBUS_BINDING_TOOL],[dbus-binding-tool],[no])
if test "x$DBUS_BINDING_TOOL" = "xno"; then
dbus="no"
@@ -128,8 +124,6 @@ AC_MSG_RESULT([$enable_notification])
if test "$enable_notification" = "yes"; then
PKG_CHECK_MODULES([LIBNOTIFY],[libnotify >= $LIBNOTIFY_REQUIRED])
- AC_SUBST([LIBNOTIFY_CFLAGS])
- AC_SUBST([LIBNOTIFY_LIBS])
fi
AM_CONDITIONAL([ENABLE_LIBNOTIFY],[test "x$enable_notification" = "xyes"])
@@ -143,8 +137,6 @@ AC_MSG_RESULT([$enable_canberra])
if test "$enable_canberra" = "yes"; then
PKG_CHECK_MODULES([LIBCANBERRAGTK],[libcanberra-gtk >= $LIBCANBERRAGTK_REQUIRED])
- AC_SUBST([LIBCANBERRAGTK_CFLAGS])
- AC_SUBST([LIBCANBERRAGTK_LIBS])
fi
AM_CONDITIONAL([ENABLE_LIBCANBERRA],[test "x$enable_canberra" = "xyes"])
@@ -293,8 +285,6 @@ fi
# openssl
PKG_CHECK_MODULES([OPENSSL], [openssl], openssl=yes, openssl=no)
if test "x$openssl" = xyes; then
- AC_SUBST([OPENSSL_CFLAGS])
- AC_SUBST([OPENSSL_LIBS])
AC_DEFINE(USE_OPENSSL, [], [Whether to use OpenSSL])
else
AC_MSG_WARN([Library requirements (openssl) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]