version 1.12, 2002/03/29 10:19:10 |
version 1.14, 2002/04/25 17:52:16 |
| |
dnl Description: check the instalation of the OpenGL library and set the | dnl Description: check the instalation of the OpenGL library and set the |
dnl PYTHON_CFLAGS and PYTHON_LIBS variables to use it. | dnl PYTHON_CFLAGS and PYTHON_LIBS variables to use it. |
dnl | dnl |
| dnl AM_PATH_CCACHE |
| dnl |
| dnl Option: none. |
| dnl Description: check the instalation of the Ccache utility. |
| dnl |
dnl ========================================================================= | dnl ========================================================================= |
| |
| |
| |
stlport_libraries="$with_stlport_lib" | stlport_libraries="$with_stlport_lib" |
fi | fi |
| |
| dnl Check for the 'pthread' library. SLTPort needs it. |
| AC_CHECK_LIB(pthread, main, , [AC_MSG_ERROR([cannot find the pthread library.])]) |
| |
AC_LANG_SAVE | AC_LANG_SAVE |
AC_LANG_CPLUSPLUS | AC_LANG_CPLUSPLUS |
| |
| |
]) | ]) |
| |
| |
| # ========================================================================= |
| # AM_PATH_CCACHE : Ccache checking macros |
| |
| AC_DEFUN(AM_PATH_CCACHE, |
| [ |
| |
| AC_ARG_WITH( ccache, |
| [ --with-ccache use ccache for compiling.], |
| [ using_ccache=$with_ccache ] |
| ) |
| |
| AC_PATH_PROG(CCACHE, ccache) |
| if test "$CCACHE" -a "$using_ccache" = "yes" |
| then |
| CC="ccache $CC" |
| CXX="ccache $CXX" |
| fi |
| |
| ]) |
| |
| |
dnl ========================================================================= | dnl ========================================================================= |
dnl End of file | dnl End of file |
| |