1
0
Fork 0

Tweaks from Erik Hofman.

This commit is contained in:
curt 2002-12-16 20:50:42 +00:00
parent 54b980854c
commit 36d3d7fab6

View file

@ -24,16 +24,20 @@ AC_PROG_LN_S
dnl set the $host variable based on local machine/os
AC_CANONICAL_HOST
dnl Used on the Irix platform
AR="ar"
ARFLAGS="cru"
case "${host}" in
*-*-irix*)
if test "$CXX" = "CC"; then
AR="CC -ar"
ARFLAGS="-o"
else
AR="ar"
ARFLAGS="cru"
fi
;;
*)
AR="ar"
ARFLAGS="cru"
;;
esac
AC_SUBST(AR)
AC_SUBST(ARFLAGS)
@ -276,7 +280,11 @@ case "${host}" in
AC_CHECK_LIB(MesaGLU, gluLookAt)
fi
LIBS="$LIBS -lglut"
AC_CHECK_LIB(glut, glutGetModifiers)
if test "x$ac_cv_lib_glut_glutGetModifiers" = "xno" ; then
dnl if no "real" glut, check for freeglut
AC_CHECK_LIB(freeglut, glutGetModifiers)
fi
;;
esac