citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit ed43b4d76addb9a1d1dfb239e637afe70a6666dd
parent 22c8964158cea401f2526e1e9ec7f6139a558bcc
Author: kyle <kyle@0x30.net>
Date:   Sun, 29 Jan 2017 10:19:45 -0700

configure: stop creating prefix.h and citrun_wrap

Diffstat:
Mconfigure | 24------------------------
1 file changed, 0 insertions(+), 24 deletions(-)

diff --git a/configure b/configure @@ -73,30 +73,6 @@ INST_LIBS="-lcurses -lLLVMCore -lLLVMSupport" -PREFIX=${PREFIX-`pwd`} -if [ ${PREFIX} == `pwd` ]; then - SHAREDIR=compilers - LIBDIR= -else - SHAREDIR=share/citrun - LIBDIR=lib -fi - -# Write prefix.h -cat <<EOF > prefix.h -static const char *share_dir = R"(${PREFIX}/${SHAREDIR})"; -static const char *lib_dir = R"(${PREFIX}/${LIBDIR})"; -EOF - -# Write citrun_wrap -cat <<EOF > citrun_wrap -#!/bin/sh - -export PATH="${PREFIX}/${SHAREDIR}:\$PATH" -exec \$@ -EOF -chmod +x citrun_wrap - # Write Jamrules. Any errors inside backticks get ignored. cat <<EOF > Jamrules CC = ${CC-cc} ;