ICU-4752 Verify that non-gcc users are using a valid linker on Windows.

X-SVN-Rev: 18627
This commit is contained in:
George Rhoten 2005-10-05 07:38:03 +00:00
parent 77b7d677da
commit 25d029d6e0
3 changed files with 213 additions and 239 deletions

View File

@ -88,6 +88,18 @@ else
$1_TRUE='#'
fi])
dnl ICU_PROG_LINK - Make sure that the linker is usable
AC_DEFUN(ICU_PROG_LINK,
[
case "${host}" in
*-*-cygwin*|*-*-mingw*)
if test "$GCC" != yes && test -n "`link --version 2>&1 | grep 'GNU coreutils'`"; then
AC_MSG_ERROR([link.exe is not a valid linker. Your PATH is incorrect.
Please follow the directions in ICU's readme.])
fi;;
*);;
esac])
dnl AC_SEARCH_LIBS_FIRST(FUNCTION, SEARCH-LIBS [, ACTION-IF-FOUND
dnl [, ACTION-IF-NOT-FOUND [, OTHER-LIBRARIES]]])
dnl Search for a library defining FUNC, then see if it's not already available.

437
icu4c/source/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -66,6 +66,9 @@ AC_PATH_PROG(DOXYGEN,doxygen,,$PATH:/usr/local/bin:/usr/bin)
dnl Determine the host system and Makefile fragment
AC_CANONICAL_HOST
dnl Check that the linker is usable
ICU_PROG_LINK
dnl Determine the executable suffix
dnl We don't use AC_EXEEXT because some compilers output separate debugging
dnl files, which confuses the AC_EXEEXT macro.