[GRASS-dev] where is GRASS looking for these dependencies?

Markus Neteler neteler at osgeo.org
Fri Jul 15 13:31:42 PDT 2016


On Fri, Jul 15, 2016 at 9:27 PM, Michael Barton <Michael.Barton at asu.edu> wrote:
> Can someone familiar with the GRASS build system tell me where it is looking
> for the following items in the configure string when compiling?
>
> --with-x
> --with-cxx
> --with-opengl=aqua
> --with-python
> --with-opencl

The --with-x is AFAIK not used in G7.x (not sure if this applies to
Mac OSX, too).

For the others, as a start, see:

grep opengl aclocal.m4 configure.in
configure.in:LOC_ARG_WITH(opengl, OpenGL)
configure.in:LOC_ARG_WITH_INC(opengl, OpenGL)
configure.in:LOC_ARG_WITH_LIB(opengl, OpenGL)
configure.in:LOC_ARG_WITH_FRAMEWORK(opengl, OpenGL)
configure.in:AC_MSG_RESULT("$with_opengl")
configure.in:case "$with_opengl" in
configure.in:        AC_MSG_ERROR([*** Valid arguments for
--with-opengl= are yes,no,x11,aqua,windows.])
configure.in:LOC_CHECK_INC_PATH(opengl,OpenGL,OPENGLINC)
configure.in:LOC_CHECK_LIB_PATH(opengl,OpenGL,OPENGL_LIB_PATH)
configure.in:LOC_CHECK_FRAMEWORK_PATH(opengl,OpenGL,OPENGLPATH)
configure.in:LOC_CHECK_INC_PATH(opengl,OpenGL,OPENGLINC)
configure.in:LOC_CHECK_LIB_PATH(opengl,OpenGL,OPENGL_LIB_PATH)
configure.in:LOC_CHECK_LINK(opengl32,[#include
<GL/gl.h>],[glEnd();],OpenGL,$OPENGL_LIB_PATH,OPENGLLIB)

grep cxx aclocal.m4 configure.in
configure.in:LOC_ARG_WITH(cxx, C++)
configure.in:    PDAL_CPPFLAGS=`"$PDAL_CONFIG" --cxxflags`
configure.in:LOC_CHECK_USE(cxx,C++,USE_CXX)

etc..

Markus


More information about the grass-dev mailing list