* Lots of warnings about subdirectories. Set an automake
option to deal with this.
* Set an ar flag for explicit 64-bit when on IBM i, due to
it defaulting to 64-bit output with official gcc by default.
AC_CONFIG_HEADERS([irssi-config.h])
AC_CONFIG_MACRO_DIR([m4])
-AM_INIT_AUTOMAKE([1.9 no-define foreign])
+AM_INIT_AUTOMAKE([1.9 no-define foreign subdir-objects])
AM_SILENT_RULES([yes])
hpux*)
CFLAGS="$CFLAGS -D_XOPEN_SOURCE_EXTENDED"
;;
+ os400*)
+ dnl IBM i uses ppc64 gcc by default, but binutils defaults to 32-bit. Force
+ dnl IBM binutils, and force it into ppc64 mode. This isn't set for AIX
+ dnl because gcc there defaults to ppc32.
+ AR="/usr/bin/ar -X64"
+ ;;
*)
;;
esac