diff --git a/autogen.sh b/autogen.sh index c04594044..06c2f96cb 100755 --- a/autogen.sh +++ b/autogen.sh @@ -36,7 +36,7 @@ echo "Running autoconf" autoconf # fixup Makefiles for Irix -if test "$OS" = "IRIX" -o "$OS" = "IRIX64"; then +if test "$OSTYPE" = "IRIX" -o "$OSTYPE" = "IRIX64"; then echo "Fixing Makefiles for Irix" for n in `find . -name Makefile.in`; do \ mv -f $n $n.ar-new; \