[Groonga-commit] groonga/groonga [master] use $host_os instead of $host.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 10月 25日 (火) 16:16:08 JST


Kouhei Sutou	2011-10-25 07:16:08 +0000 (Tue, 25 Oct 2011)

  New Revision: f3c2d17b152ddaef7561ed4d7ce3c36326ac5294

  Log:
    use $host_os instead of $host.

  Modified files:
    configure.ac

  Modified: configure.ac (+4 -4)
===================================================================
--- configure.ac    2011-10-25 07:12:20 +0000 (c4d4da0)
+++ configure.ac    2011-10-25 07:16:08 +0000 (8d1e66c)
@@ -15,8 +15,8 @@ AC_DEFINE_UNQUOTED(HOST_CPU, ["$host_cpu"], [host CPU])
 AC_DEFINE_UNQUOTED(HOST_OS, ["$host_os"], [host OS])
 
 AC_MSG_CHECKING([for native Win32])
-case "$host" in
-  *-*-mingw*)
+case "$host_os" in
+  mingw*)
     os_win32=yes
     ;;
   *)
@@ -26,8 +26,8 @@ esac
 AC_MSG_RESULT([$os_win32])
 
 AC_MSG_CHECKING([for some Win32 platform])
-case "$host" in
-  *-*-mingw*|*-*-cygwin*)
+case "$host_os" in
+  mingw*|cygwin*)
     platform_win32=yes
     ;;
   *)




Groonga-commit メーリングリストの案内
Back to archive index