1
0
mirror of git://sigrok.org/libserialport synced 2023-08-10 21:13:24 +03:00

configure.ac: Use $host_os instead of $target_os.

$build and $build_os refer to the machine on which the software is
built, $host and $host_os refer to the machine for which the software
is (cross-)built.

The variables $target and $target_os (despite the confusing names)
are only relevant in the context of building cross-compilers.
This commit is contained in:
Uwe Hermann 2015-04-04 18:10:18 +02:00
parent cd71af4b93
commit 3cb7aa98c2

View File

@ -33,8 +33,6 @@ AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([autostuff])
AC_CONFIG_AUX_DIR([autostuff])
AC_CANONICAL_TARGET
# We require at least automake 1.11 (needed for 'silent rules').
AM_INIT_AUTOMAKE([1.11 -Wall -Werror check-news])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
@ -79,7 +77,7 @@ AC_SUBST(SP_LIB_LDFLAGS)
SP_PKGLIBS=""
SP_LIBS=""
case $target_os in
case $host_os in
*linux*)
AM_CONDITIONAL([LINUX], true)
AM_CONDITIONAL([WIN32], false)