From 96cc0e83166ac85373a52e5abb9c51f3d287e1d4 Mon Sep 17 00:00:00 2001 From: Tommi Rantala Date: Thu, 2 Aug 2012 11:00:15 +0300 Subject: [PATCH] Run `autoupdate' to stop using obsoleted macros in `configure.in' --- configure.in | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/configure.in b/configure.in index 31bf4bd0..081cceea 100644 --- a/configure.in +++ b/configure.in @@ -4,20 +4,20 @@ define(pkg_extra, ) define(pkg_maintainer, libunwind-devel@nongnu.org) 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"