autotools: only turn on auto testing on linux.
authorCedric BAIL <cedric.bail@samsung.com>
Wed, 11 Dec 2013 04:46:33 +0000 (13:46 +0900)
committerCedric BAIL <cedric.bail@samsung.com>
Wed, 11 Dec 2013 04:46:33 +0000 (13:46 +0900)
configure.ac

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