* Fix HP-UX crashes by defining ARRAY_BROKEN on this platform.
git-svn-id: svn://svn.zoy.org/elk/trunk@140 55e467fa-43c5-0310-a8a2-de718669efc6
This commit is contained in:
parent
c2282be5c7
commit
284ec7540b
|
@ -36,6 +36,12 @@ AC_SUBST(STDINT_HEADER)
|
|||
# type of system.
|
||||
AC_DEFINE_UNQUOTED(SYSTEMTYPE, ["${target_os}"], [Our operating system])
|
||||
|
||||
case "${target_os}" in
|
||||
*hpux*)
|
||||
AC_DEFINE(ARRAY_BROKEN, 1, [Define if a-=1000; a[1000] doesn't work])
|
||||
;;
|
||||
esac
|
||||
|
||||
# Does the system support the vprintf library function? If not,
|
||||
# availability of the (non-portable) _doprnt function is assumed.
|
||||
AC_CHECK_FUNCS(vprintf)
|
||||
|
|
Loading…
Reference in New Issue