[gnome-applets] configure.ac: replace deprecated AM_PROG_LIBTOOL with LT_INIT
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-applets] configure.ac: replace deprecated AM_PROG_LIBTOOL with LT_INIT
- Date: Wed, 30 Sep 2015 17:31:36 +0000 (UTC)
commit b36d39faf382976e3754a224a7103dbbde8cd516
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Wed Sep 30 20:29:46 2015 +0300
configure.ac: replace deprecated AM_PROG_LIBTOOL with LT_INIT
configure.ac | 11 +++++++----
windowpicker/src/Makefile.am | 2 +-
2 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 26aa8f2..1faee21 100644
--- a/configure.ac
+++ b/configure.ac
@@ -49,6 +49,13 @@ AM_INIT_AUTOMAKE([1.13 no-dist-gzip dist-xz tar-ustar -Wno-portability])
AM_MAINTAINER_MODE([enable])
AM_SILENT_RULES([yes])
+dnl **************************************************************************
+dnl Initialize libtool
+dnl **************************************************************************
+
+LT_INIT([dlopen disable-static])
+LT_LIB_M
+
dnl ***************************************************************************
dnl *** Minimum library versions for GNOME-APPLETS ***
dnl ***************************************************************************
@@ -80,16 +87,12 @@ fi
AC_PROG_CC
AC_ISC_POSIX
AC_STDC_HEADERS
-AM_PROG_LIBTOOL
AC_PATH_XTRA
AM_PATH_PYTHON(3)
X_LIBS="$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
AC_SUBST(X_LIBS)
-dnl Check for libm
-LT_LIB_M
-
dnl Check for non-portable headers
AC_CHECK_HEADERS([pty.h values.h])
diff --git a/windowpicker/src/Makefile.am b/windowpicker/src/Makefile.am
index c2d273d..f537941 100644
--- a/windowpicker/src/Makefile.am
+++ b/windowpicker/src/Makefile.am
@@ -10,7 +10,7 @@ libwindow_picker_applet_la_CFLAGS = \
-DGTK_DISABLE_SINGLE_INCLUDES \
-I$(top_builddir) \
-I$(top_srcdir) \
- -lm \
+ $(LIBM) \
$(GNOME_APPLETS_CFLAGS) \
$(LIBWNCK_CFLAGS) \
$(GCC_FLAGS) \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]