autotools: only turn on auto testing on linux.

This commit is contained in:
Cedric BAIL 2013-12-11 13:46:33 +09:00
parent 3392f08f59
commit 85772eb113
1 changed files with 2 additions and 2 deletions

View File

@ -211,6 +211,7 @@ case "$host_os" in
;; ;;
linux*) linux*)
have_linux="yes" have_linux="yes"
want_systemd="auto"
;; ;;
esac esac
@ -567,8 +568,7 @@ AC_ARG_ENABLE([systemd],
else else
want_systemd="no" want_systemd="no"
fi fi
], ])
[want_systemd="auto"])
# check for systemd library if requested # check for systemd library if requested
if test "x${want_systemd}" = "xyes" -o "x${want_systemd}" = "xauto"; then if test "x${want_systemd}" = "xyes" -o "x${want_systemd}" = "xauto"; then