[gupnp] test for $target_os instead of $host_os, which is slightly more correct



commit f1c5728a8668d43551f543505c2b05abd5547697
Author: Jasper Lievisse Adriaanse <jasper humppa nl>
Date:   Mon Jul 4 10:34:42 2011 +0200

    test for $target_os instead of $host_os, which is slightly more correct
    
    https://bugzilla.gnome.org/show_bug.cgi?id=653745

 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 0c958c4..f4f67b3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -27,7 +27,7 @@ LT_INIT
 AC_CANONICAL_HOST
 
 AC_MSG_CHECKING([operating system])
-case "$host_os" in
+case "$target_os" in
      mingw*|cygwin*)
         AC_MSG_RESULT(Win32)
         UUID=uuid
@@ -41,7 +41,7 @@ case "$host_os" in
         UUID=e2fs-uuid
         ;;
      *)
-        AC_MSG_RESULT($host_os)
+        AC_MSG_RESULT($target_os)
         UUID=uuid
         ;;
 esac



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]