version 1.11, 2002/03/26 14:37:45 |
version 1.13, 2002/04/16 12:01:39 |
| |
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 ========================================================================= |
| |
| |
| |
AC_ARG_WITH( nel-include, | AC_ARG_WITH( nel-include, |
[ --with-nel-include=<path> | [ --with-nel-include=<path> |
path to the NeL header files directory. | path to the NeL header files directory. |
e.g. /usr/local/nel/stlport]) | e.g. /usr/local/nel/include]) |
| |
AC_ARG_WITH( nel-lib, | AC_ARG_WITH( nel-lib, |
[ --with-nel-lib=<path> | [ --with-nel-lib=<path> |
| |
]) | ]) |
| |
| |
| # ========================================================================= |
| # 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 |
| |