X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=configure.ac;h=61013ad754ac75918e09a8ec50b1655f26e1b91a;hb=1190c65397e8246bd3b437006bacc5b7dc9d2bde;hp=b86a59ceb5665d40fb12e4678693af311d0432ad;hpb=a0b277ba67169ce4343dc7ce14d350b930ee4eef;p=libsigrok.git diff --git a/configure.ac b/configure.ac index b86a59ce..61013ad7 100644 --- a/configure.ac +++ b/configure.ac @@ -33,9 +33,6 @@ AC_CONFIG_HEADER([config.h]) AC_CONFIG_MACRO_DIR([autostuff]) AC_CONFIG_AUX_DIR([autostuff]) -# We require this to know the target settings if we're cross-compiling. -AC_CANONICAL_SYSTEM - # We require at least automake 1.11 (needed for 'silent rules'). AM_INIT_AUTOMAKE([1.11 -Wall -Werror subdir-objects check-news color-tests]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) @@ -432,9 +429,9 @@ AM_CONDITIONAL(HAVE_CHECK, test x"$have_check" = "xyes") AC_CHECK_HEADERS([sys/mman.h sys/ioctl.h], [], [HW_BEAGLELOGIC="no"]) # The ACME driver can only be built for Linux. -case "$target_os" in - linux*) ;; - *) HW_ACME="no" ;; +case "$host" in + *linux*) ;; + *) HW_BAYLIBRE_ACME="no" ;; esac AC_SUBST(SR_PKGLIBS)