diff --git a/configure.in b/configure.in index 06a5451..eea1d40 100644 --- a/configure.in +++ b/configure.in @@ -181,6 +181,19 @@ AC_INIT(c/scheme48vm.c) AR=${AR-"ar cq"} TMPDIR=${TMPDIR-"/usr/tmp"} case "$host" in + ## IBM AIX + rs6000-ibm-aix*|powerpc-ibm-aix* ) + dir=aix + LDFLAGS="-O" + if test ${CC} = gcc; then + LDFLAGS_AIX="-Xlinker -bexport:exportlist.aix" + else + LDFLAGS_AIX="-bexport:exportlist.aix" + fi + CFLAGS="-O" + AIX_P="exportlist.aix" + ;; + ## Linux *-*-linux* ) dir=linux