diff build-aux/common.mk @ 19768:9f6ee9cb749c

put OSMESA compiler flag variables in config_options struct * common.mk, toplev.cc, oct-conf.in.h: Put OSMESA compiler flag variables in config_options struct.
author John W. Eaton <jwe@octave.org>
date Tue, 17 Feb 2015 14:37:26 -0500
parents 08033d583435
children a941a65c7cb8
line wrap: on
line diff
--- a/build-aux/common.mk	Tue Feb 17 14:33:05 2015 -0500
+++ b/build-aux/common.mk	Tue Feb 17 14:37:26 2015 -0500
@@ -264,6 +264,10 @@
 
 OPENGL_LIBS = @OPENGL_LIBS@
 
+OSMESA_CPPFLAGS = @OSMESA_CPPFLAGS@
+OSMESA_LDFLAGS = @OSMESA_LDFLAGS@
+OSMESA_LIBS = @OSMESA_LIBS@
+
 PCRE_CPPFLAGS = @PCRE_CPPFLAGS@
 PCRE_LIBS = @PCRE_LIBS@
 
@@ -608,6 +612,9 @@
   -e "s|%OCTAVE_CONF_OCT_LINK_DEPS%|\"${OCT_LINK_DEPS}\"|" \
   -e "s|%OCTAVE_CONF_OCT_LINK_OPTS%|\"${OCT_LINK_OPTS}\"|" \
   -e "s|%OCTAVE_CONF_OPENGL_LIBS%|\"${OPENGL_LIBS}\"|" \
+  -e "s|%OCTAVE_CONF_OSMESA_CPPFLAGS%|\"${OSMESA_CPPFLAGS}\"|" \
+  -e "s|%OCTAVE_CONF_OSMESA_LDFLAGS%|\"${OSMESA_LDFLAGS}\"|" \
+  -e "s|%OCTAVE_CONF_OSMESA_LIBS%|\"${OSMESA_LIBS}\"|" \
   -e "s|%OCTAVE_CONF_PCRE_CPPFLAGS%|\"${PCRE_CPPFLAGS}\"|" \
   -e "s|%OCTAVE_CONF_PCRE_LIBS%|\"${PCRE_LIBS}\"|" \
   -e "s|%OCTAVE_CONF_PREFIX%|\"${prefix}\"|" \