Bug 425974 - issue a dire warning to those who are still using cygwin to build - and skip the broken AC_CHECK_HEADERS checks, so that they will continue to build for the time being, r=luser a=mconnor

This commit is contained in:
benjamin@smedbergs.us 2008-04-21 06:43:31 -07:00
Родитель e385ad9886
Коммит 6088dc05ae
1 изменённых файлов: 14 добавлений и 5 удалений

Просмотреть файл

@ -2104,12 +2104,21 @@ case "$target" in
;;
esac
AC_CHECK_HEADERS(mmintrin.h oleacc.idl)
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_CHECK_HEADERS(atlbase.h wpcapi.h)
AC_LANG_RESTORE
case "$host_os" in
cygwin*)
AC_MSG_WARN([Using a cygwin build environment is unsupported. Configure cannot check for the presence of neceesary headers. Please upgrade to MozillaBuild; see http://developer.mozilla.org/en/docs/Windows_Build_Prerequisites])
;;
*)
AC_CHECK_HEADERS(mmintrin.h oleacc.idl)
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_CHECK_HEADERS(atlbase.h wpcapi.h)
AC_LANG_RESTORE
;;
esac
case "$target" in
i*86-*)