Fix bug in `expr_clone`
[platform/upstream/ltrace.git] / configure.ac
index c6e6bf0..6fe5e3b 100644 (file)
@@ -1,6 +1,6 @@
 # -*- Autoconf -*-
 # This file is part of ltrace.
-# Copyright (C) 2010,2012,2013 Petr Machata, Red Hat Inc.
+# Copyright (C) 2010,2012,2013,2014 Petr Machata, Red Hat Inc.
 # Copyright (C) 2010,2011 Joe Damato
 # Copyright (C) 2010 Marc Kleine-Budde
 # Copyright (C) 2010 Zachary T Welch
@@ -43,7 +43,7 @@ case "${host_cpu}" in
     arm*|sa110)                HOST_CPU="arm" ;;
     cris*)             HOST_CPU="cris" ;;
     mips*)             HOST_CPU="mips" ;;
-    powerpc|powerpc64) HOST_CPU="ppc" ;;
+    powerpc|powerpc64|powerpc64le)     HOST_CPU="ppc" ;;
     sun4u|sparc64)     HOST_CPU="sparc" ;;
     s390x)             HOST_CPU="s390" ;;
     i?86|x86_64)       HOST_CPU="x86" ;;
@@ -210,12 +210,12 @@ AC_MSG_RESULT([$enable_libunwind])
 
 if test x"$enable_libunwind" = xyes; then
   case "${host_cpu}" in
-      arm*|sa110)         UNWIND_ARCH="arm" ;;
-      i?86)               UNWIND_ARCH="x86" ;;
-      powerpc)            UNWIND_ARCH="ppc32" ;;
-      powerpc64)          UNWIND_ARCH="ppc64" ;;
-      mips*)              UNWIND_ARCH="mips" ;;
-      *)                  UNWIND_ARCH="${host_cpu}" ;;
+      arm*|sa110)        UNWIND_ARCH="arm" ;;
+      i?86)              UNWIND_ARCH="x86" ;;
+      powerpc)           UNWIND_ARCH="ppc32" ;;
+      powerpc64|powerpc64le)   UNWIND_ARCH="ppc64" ;;
+      mips*)             UNWIND_ARCH="mips" ;;
+      *)                 UNWIND_ARCH="${host_cpu}" ;;
   esac
 
   saved_LDFLAGS="${LDFLAGS}"
@@ -387,6 +387,7 @@ if test x$use_valgrind = xyes; then
     fi
 fi
 AM_CONDITIONAL(USE_VALGRIND, test "$use_valgrind" = yes)
+AM_CONDITIONAL(HAVE_LIBDW, test x"$enable_elfutils" = xyes)
 
 AC_SUBST(AM_CPPFLAGS)
 AC_SUBST(AM_CFLAGS)
@@ -399,6 +400,7 @@ AC_CONFIG_FILES([
        Makefile
        sysdeps/Makefile
        sysdeps/linux-gnu/Makefile
+       sysdeps/linux-gnu/aarch64/Makefile
        sysdeps/linux-gnu/alpha/Makefile
        sysdeps/linux-gnu/arm/Makefile
        sysdeps/linux-gnu/cris/Makefile