do not check the existence of itstool on win32
This commit is contained in:
parent
f8e22fd646
commit
5cfd594c71
21
configure.ac
21
configure.ac
|
@ -89,6 +89,16 @@ AC_SUBST(LIBT_CURRENT_MINUS_AGE)
|
|||
PKGCONFIG_REQUIRES=
|
||||
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 gettext stuff
|
||||
dnl ==========================================================================
|
||||
|
@ -99,22 +109,15 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext package])
|
|||
AM_GNU_GETTEXT_VERSION([0.19.8])
|
||||
AM_GNU_GETTEXT([external])
|
||||
|
||||
if test "$os_win32" = "no"; then
|
||||
AC_PATH_PROG(ITSTOOL, [itstool])
|
||||
if test -z "$ITSTOOL"; then
|
||||
AC_MSG_ERROR([The itstool were not found. Please install itstool.])
|
||||
fi
|
||||
fi
|
||||
|
||||
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
|
||||
AC_CHECK_PROG(ms_librarian, lib.exe, yes, no)
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue