libunwind-devel
[Top][All Lists]
Advanced

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

[Libunwind-devel] [PATCH 09/27] Run `autoupdate' to stop using obsoleted


From: Tommi Rantala
Subject: [Libunwind-devel] [PATCH 09/27] Run `autoupdate' to stop using obsoleted macros in `configure.in'
Date: Wed, 22 Aug 2012 14:28:35 +0300

---
 configure.in |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/configure.in b/configure.in
index 31bf4bd..081ccee 100644
--- a/configure.in
+++ b/configure.in
@@ -4,20 +4,20 @@ define(pkg_extra, )
 define(pkg_maintainer, address@hidden)
 define(mkvers, $1.$2$3)
 dnl Process this file with autoconf to produce a configure script.
-AC_INIT(libunwind, mkvers(pkg_major, pkg_minor, pkg_extra), pkg_maintainer)
+AC_INIT([libunwind],[mkvers(pkg_major, pkg_minor, pkg_extra)],[pkg_maintainer])
 AC_CONFIG_SRCDIR(src/mi/backtrace.c)
 AC_CONFIG_AUX_DIR(config)
-AC_CANONICAL_SYSTEM
+AC_CANONICAL_TARGET
 AM_INIT_AUTOMAKE([1.6 subdir-objects])
 AM_MAINTAINER_MODE
-AM_CONFIG_HEADER(include/config.h)
+AC_CONFIG_HEADERS([include/config.h])
 
 dnl Checks for programs.
 AC_PROG_CC
 AC_PROG_CXX
 AC_PROG_INSTALL
 AC_PROG_MAKE_SET
-AM_PROG_LIBTOOL
+LT_INIT
 AM_PROG_AS
 AM_PROG_CC_C_O
 
@@ -255,9 +255,9 @@ AM_CONDITIONAL(HAVE_LZMA, test x$enable_minidebuginfo = 
xyes)
 LIBUNWIND___THREAD
 
 AC_MSG_CHECKING([for Intel compiler])
-AC_TRY_COMPILE([], [#ifndef __INTEL_COMPILER
+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[#ifndef __INTEL_COMPILER
 #error choke me
-#endif], [intel_compiler=yes], [intel_compiler=no])
+#endif]])],[intel_compiler=yes],[intel_compiler=no])
 
 if test x$GCC = xyes -a x$intel_compiler != xyes; then
   CFLAGS="${CFLAGS} -fexceptions -Wall -Wsign-compare"
@@ -269,7 +269,7 @@ if test x$intel_compiler = xyes; then
   AC_MSG_CHECKING([if linker supports -static-libcxa])
   save_LDFLAGS="$LDFLAGS"
   LDFLAGS="$LDFLAGS -static-libcxa"
-  AC_TRY_LINK([], [], [have_static_libcxa=yes], [have_static_libcxa=no])
+  AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], 
[[]])],[have_static_libcxa=yes],[have_static_libcxa=no])
   LDFLAGS="$save_LDFLAGS"
   if test "x$have_static_libcxa" = xyes; then
     LDFLAGS_STATIC_LIBCXA="-XCClinker -static-libcxa"
-- 
1.7.9.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]