|
a/configure.ac |
|
b/configure.ac |
|
... |
|
... |
33 |
AC_CANONICAL_HOST
|
33 |
AC_CANONICAL_HOST
|
34 |
build_linux=no
|
34 |
build_linux=no
|
35 |
build_mac=no
|
35 |
build_mac=no
|
36 |
# Detect the target system
|
36 |
# Detect the target system
|
37 |
case "${host_os}" in
|
37 |
case "${host_os}" in
|
38 |
linux*) build_linux=yes;;
|
38 |
linux*|uclinux*) build_linux=yes;;
|
39 |
darwin*) build_mac=yes;;
|
39 |
darwin*) build_mac=yes;;
|
40 |
*) AC_MSG_ERROR(["OS $host_os is not supported"]);;
|
40 |
*) AC_MSG_ERROR(["OS $host_os is not supported"]);;
|
41 |
esac
|
41 |
esac
|
42 |
# Pass the conditionals to automake
|
42 |
# Pass the conditionals to automake
|
43 |
AM_CONDITIONAL([LINUX], [test "$build_linux" = "yes"])
|
43 |
AM_CONDITIONAL([LINUX], [test "$build_linux" = "yes"])
|