commit 8d6d6fa09de6a490978fced542ca3de8186f9935
parent 1fc3e29f1fd076e62f8e2f1814d4f1d0e79ba927
Author: Kyle Milz <kyle@0x30.net>
Date: Wed, 4 Jan 2017 00:18:55 -0700
configure: add new variables for unix
Diffstat:
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/configure b/configure
@@ -63,9 +63,11 @@ echo
# citrun_inst needs to know the absolute installation path.
#
if [ -z ${PREFIX-} ]; then
- CITRUN_SHARE="`pwd`"
+ CITRUN_COMPILERS="`pwd`/compilers"
+ CITRUN_LIB="`pwd`/libcitrun.a"
else
- CITRUN_SHARE="${PREFIX}/share/citrun"
+ CITRUN_COMPILERS="${PREFIX}/share/citrun"
+ CITRUN_LIB="${PREFIX}/share/citrun/libcitrun.a"
fi
#
@@ -80,7 +82,8 @@ C++FLAGS += -std=c++11 -fno-exceptions -fno-rtti ${CFLAGS-} ;
LINKFLAGS += ${LDFLAGS-} ;
FONT_PATH = "${FONT_PATH}" ;
-CITRUN_SHARE = ${CITRUN_SHARE} ;
+CITRUN_COMPILERS = ${CITRUN_COMPILERS} ;
+CITRUN_LIB = ${CITRUN_LIB} ;
GL_CFLAGS = `pkg-config --cflags glfw3 glew freetype2` ;
GL_LIBS = ${GL_EXTRALIB-} `pkg-config --libs glfw3 glew freetype2` ;
@@ -99,5 +102,5 @@ cat Jamrules.tail >> Jamrules
# Show summary.
#
echo === Configuration Summary ===================================================
-head -n 9 Jamrules
+head -n 10 Jamrules
echo =============================================================================