Commit 5cfd594c authored by Akira TAGOH's avatar Akira TAGOH

do not check the existence of itstool on win32

parent f8e22fd6
...@@ -89,6 +89,16 @@ AC_SUBST(LIBT_CURRENT_MINUS_AGE) ...@@ -89,6 +89,16 @@ AC_SUBST(LIBT_CURRENT_MINUS_AGE)
PKGCONFIG_REQUIRES= PKGCONFIG_REQUIRES=
PKGCONFIG_REQUIRES_PRIVATELY= PKGCONFIG_REQUIRES_PRIVATELY=
dnl ==========================================================================
case "$host" in
*-*-mingw*)
os_win32=yes
;;
*)
os_win32=no
esac
AM_CONDITIONAL(OS_WIN32, test "$os_win32" = "yes")
dnl ========================================================================== dnl ==========================================================================
dnl gettext stuff dnl gettext stuff
dnl ========================================================================== dnl ==========================================================================
...@@ -99,22 +109,15 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext package]) ...@@ -99,22 +109,15 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext package])
AM_GNU_GETTEXT_VERSION([0.19.8]) AM_GNU_GETTEXT_VERSION([0.19.8])
AM_GNU_GETTEXT([external]) AM_GNU_GETTEXT([external])
if test "$os_win32" = "no"; then
AC_PATH_PROG(ITSTOOL, [itstool]) AC_PATH_PROG(ITSTOOL, [itstool])
if test -z "$ITSTOOL"; then if test -z "$ITSTOOL"; then
AC_MSG_ERROR([The itstool were not found. Please install itstool.]) AC_MSG_ERROR([The itstool were not found. Please install itstool.])
fi fi
fi
dnl ========================================================================== dnl ==========================================================================
case "$host" in
*-*-mingw*)
os_win32=yes
;;
*)
os_win32=no
esac
AM_CONDITIONAL(OS_WIN32, test "$os_win32" = "yes")
if test "$os_win32" = "yes"; then if test "$os_win32" = "yes"; then
AC_CHECK_PROG(ms_librarian, lib.exe, yes, no) AC_CHECK_PROG(ms_librarian, lib.exe, yes, no)
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment