X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=configure.ac;h=f9282f8844a86d86a9bf8e32ab0da84a204fe8f2;hb=50f3dba07e569f6ef3070e47cc1e5866c3684811;hp=689f89139b8944cf14863e03ff6cbbbffce94b57;hpb=43550d379ea53556183002632da0d23c0c417d03;p=ust.git diff --git a/configure.ac b/configure.ac index 689f891..f9282f8 100644 --- a/configure.ac +++ b/configure.ac @@ -6,8 +6,9 @@ AC_INIT([ust], [0.4], [pierre-marc dot fournier at polymtl dot ca]) AC_CONFIG_AUX_DIR([config]) AC_CANONICAL_TARGET AC_CANONICAL_HOST -AC_CONFIG_MACRO_DIR([m4]) +AC_CONFIG_MACRO_DIR([config]) AM_INIT_AUTOMAKE([foreign]) +m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) AC_CONFIG_SRCDIR([ustctl/ustctl.c]) AC_CONFIG_HEADERS([config.h]) @@ -94,11 +95,11 @@ changequote([,])dnl fi ;; x86_64) LIBFORMAT="elf64-x86-64" ;; - ppc) LIBFORMAT="elf32-powerpc" ;; + powerpc) LIBFORMAT="elf32-powerpc" ;; ppc64) LIBFORMAT="elf64-powerpc" ;; s390) LIBFORMAT="elf32-s390" ;; s390x) LIBFORMAT="elf64-s390" ;; - *) AC_MSG_ERROR([unable to detect library format (unsupported architecture?)]) ;; + *) AC_MSG_ERROR([unable to detect library format (unsupported architecture ($host_cpu)?)]) ;; esac AC_SUBST(LIBFORMAT) AC_MSG_RESULT($LIBFORMAT)