[gnome-desktop] configure.ac: Modernize autoconf macros a bit



commit 3e697860bb4b53d1b2a9d1bba72a83eec560f975
Author: Javier Jardón <jjardon gnome org>
Date:   Sat Oct 21 00:30:22 2017 +0100

    configure.ac: Modernize autoconf macros a bit

 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index d7375e4..9396177 100644
--- a/configure.ac
+++ b/configure.ac
@@ -75,7 +75,7 @@ AC_SUBST(GNOME_DATE_COMMENT_END)
 AX_COMPILER_FLAGS([WARN_CFLAGS],[WARN_LDFLAGS])
 
 AC_ARG_ENABLE(deprecation_flags,
-              [AC_HELP_STRING([--enable-deprecation-flags],
+              [AS_HELP_STRING([--enable-deprecation-flags],
                               [use *_DISABLE_DEPRECATED flags @<:@default=no@:>@])],,
               [enable_deprecation_flags=no])
 
@@ -116,7 +116,7 @@ AC_SUBST(GDK_PIXBUF_REQUIRED)
 AC_SUBST(XRANDR_REQUIRED)
 AC_SUBST(XEXT_REQUIRED)
 
-AC_CHECK_LIBM
+LT_LIB_M
 AC_SUBST(LIBM)
 
 AC_CHECK_LIB([rt], [clock_gettime], [LIBRT="-lrt"], [LIBRT=""])


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