Mercurial > repos > ktnyt > gembassy
diff GEMBASSY-1.0.3/m4/sgi.m4 @ 2:8947fca5f715 draft default tip
Uploaded
author | ktnyt |
---|---|
date | Fri, 26 Jun 2015 05:21:44 -0400 |
parents | 84a17b3fad1f |
children |
line wrap: on
line diff
--- a/GEMBASSY-1.0.3/m4/sgi.m4 Fri Jun 26 05:20:29 2015 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,53 +0,0 @@ -AC_DEFUN([CHECK_SGI], -# -# Handle SGI compiler flags -# -[AC_MSG_CHECKING([for sgiabi]) -AC_ARG_WITH([sgiabi], - [AS_HELP_STRING([--with-sgiabi=@<:@ARG@:>@], - [SGI compiler flags @<:@default=no@:>@])], -[if test "$withval" != no ; then - AC_MSG_RESULT([yes]) - - case $host_os in - irix*) - if test "$withval" = n32m3 ; then - CFLAGS="-n32 -mips3 $CFLAGS" - LD="/usr/bin/ld -n32 -mips3 -IPA -L/usr/lib32" - if test -d /usr/freeware ; then - LDFLAGS="-L/usr/freeware/lib32 $LDFLAGS" - fi - fi - - if test "$withval" = n32m4 ; then - CFLAGS="-n32 -mips4 $CFLAGS" - LD="/usr/bin/ld -n32 -mips4 -IPA -L/usr/lib32" - if test -d /usr/freeware ; then - LDFLAGS="-L/usr/freeware/lib32 $LDFLAGS" - fi - fi - - if test "$withval" = 64m3 ; then - CFLAGS="-64 -mips3 $CFLAGS" - LD="/usr/bin/ld -64 -mips3 -IPA -L/usr/lib64" - if test -d /usr/freeware ; then - LDFLAGS="-L/usr/freeware/lib64 $LDFLAGS" - fi - fi - - if test "$withval" = 64m4 ; then - CFLAGS="-64 -mips4 $CFLAGS" - LD="/usr/bin/ld -64 -mips4 -IPA -L/usr/lib64" - if test -d /usr/freeware ; then - LDFLAGS="-L/usr/freeware/lib64 $LDFLAGS" - fi - fi - ;; - esac - - -fi], [ -AC_MSG_RESULT([no]) -]) -] -)