Tweaks from Erik Hofman.
This commit is contained in:
parent
54b980854c
commit
36d3d7fab6
1 changed files with 12 additions and 4 deletions
16
configure.ac
16
configure.ac
|
@ -24,16 +24,20 @@ AC_PROG_LN_S
|
||||||
dnl set the $host variable based on local machine/os
|
dnl set the $host variable based on local machine/os
|
||||||
AC_CANONICAL_HOST
|
AC_CANONICAL_HOST
|
||||||
|
|
||||||
dnl Used on the Irix platform
|
|
||||||
AR="ar"
|
|
||||||
ARFLAGS="cru"
|
|
||||||
case "${host}" in
|
case "${host}" in
|
||||||
*-*-irix*)
|
*-*-irix*)
|
||||||
if test "$CXX" = "CC"; then
|
if test "$CXX" = "CC"; then
|
||||||
AR="CC -ar"
|
AR="CC -ar"
|
||||||
ARFLAGS="-o"
|
ARFLAGS="-o"
|
||||||
|
else
|
||||||
|
AR="ar"
|
||||||
|
ARFLAGS="cru"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
*)
|
||||||
|
AR="ar"
|
||||||
|
ARFLAGS="cru"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
AC_SUBST(AR)
|
AC_SUBST(AR)
|
||||||
AC_SUBST(ARFLAGS)
|
AC_SUBST(ARFLAGS)
|
||||||
|
@ -276,7 +280,11 @@ case "${host}" in
|
||||||
AC_CHECK_LIB(MesaGLU, gluLookAt)
|
AC_CHECK_LIB(MesaGLU, gluLookAt)
|
||||||
fi
|
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
|
esac
|
||||||
|
|
Loading…
Add table
Reference in a new issue