1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-04 22:40:25 +02:00

Update ia64 port to work on HP-UX.

* configure.ac: Force -mlp64 to CFLAGS on HP-UX ia64 port.
	It is the only supported mode, and expects gcc as C compiler.

	* include/lightning.h, lib/jit_ia64-cpu.c, lib/jit_ia64.c:
	Correct ia64 port to work on HP-UX that runs it in big endian
	mode.
This commit is contained in:
pcpa 2013-06-14 15:47:13 -03:00
parent 443b7467c8
commit 7807aab036
5 changed files with 218 additions and 73 deletions

View file

@ -21,11 +21,21 @@ AC_CONFIG_MACRO_DIR(m4)
AC_CONFIG_HEADERS(config.h)
case "$target_cpu" in
ia64)
case "$host_os" in
# Only supported mode
*hpux*) CFLAGS="$CFLAGS -mlp64" ;;
*) ;;
esac ;;
*) ;;
esac
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_LIBTOOL
AC_CHECK_FUNCS(mremap,,)
AC_CHECK_FUNCS(mremap ffsl,,)
AC_CHECK_HEADERS([getopt.h],,,)