commit 8ba887228caff2dbfb7495bf1c8ac17f1a482e5b
parent 910bb7eebc6a092c7e681e8b3febd4104af54836
Author: Kyle Milz <kyle@0x30.net>
Date: Mon, 9 Jan 2017 23:25:53 -0700
configure: put ascii art back here and trim down script
Diffstat:
2 files changed, 5 insertions(+), 18 deletions(-)
diff --git a/Jamrules.extra b/Jamrules.extra
@@ -1,7 +1,3 @@
-echo ░█▀▀░░░▀█▀░▀█▀░░░█▀▄░█░█░█▀█ ;
-echo ░█░░░░░░█░░░█░░░░█▀▄░█░█░█░█ ;
-echo ░▀▀▀░░░▀▀▀░░▀░░░░▀░▀░▀▀▀░▀░▀ ;
-
# Quote an entire file and add a variable declaration prefixing the string.
rule Stringize
{
diff --git a/configure b/configure
@@ -2,35 +2,29 @@
#
# Checks that a bunch of crap is installed, creates Jamrules file.
#
-uname=`uname`
-echo Configuring C It Run 0.0 for $uname
+echo ░█▀▀░░░▀█▀░▀█▀░░░█▀▄░█░█░█▀█
+echo ░█░░░░░░█░░░█░░░░█▀▄░█░█░█░█
+echo ░▀▀▀░░░▀▀▀░░▀░░░░▀░▀░▀▀▀░▀░▀
+echo Configuring...
echo
-#
# These binaries are assumed throughout so make sure they are available.
-#
type pkg-config
type llvm-config
type jam
echo
-#
# C++11 required.
-#
${CXX-c++} -x c++ -std=c++11 -E - < /dev/null > /dev/null
-#
# citrun_gltest needs osmesa and both it and citrun_gl need the rest.
-#
gl_pkgs="osmesa glfw3 glew freetype2"
for pkg in $gl_pkgs; do
printf "%10s = " $pkg
pkg-config --modversion $pkg || (echo "not found" && exit 1)
done
-#
# citrun_inst needs clang and llvm libraries.
-#
CLANG_LIBS="-lclangAST -lclangAnalysis -lclangBasic -lclangDriver \
-lclangEdit -lclangFrontend -lclangFrontendTool -lclangLex \
-lclangParse -lclangRewrite -lclangRewriteFrontend -lclangSema \
@@ -38,9 +32,8 @@ CLANG_LIBS="-lclangAST -lclangAnalysis -lclangBasic -lclangDriver \
LLVM_LIBS="bitreader mcparser transformutils option"
-#
# Operating system specific variables.
-#
+uname=`uname`
if [ $uname = OpenBSD ]; then
LDGROUP_START="-Wl,--start-group"
LDGROUP_END="-Wl,--end-group"
@@ -59,9 +52,7 @@ else
fi
echo
-#
# Write top of Jamrules. Any errors inside backticks get ignored.
-#
cat <<EOF > Jamrules
CC = ${CC-cc} ;
C++ = ${CXX-c++} ;