From aa1fe37ca5d21921b3ccf24b1b7b99bb3eb2d675 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 28 Sep 2012 12:04:07 +0200 Subject: configure, Makefile: Allow runtime to be overridden. --- configure | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'configure') diff --git a/configure b/configure index 209fdccb..df62cc05 100755 --- a/configure +++ b/configure @@ -16,6 +16,7 @@ OPENSSL_LIB=crypto CC=gcc CXX=g++ LD=gcc +RUNWITH=lua CFLAGS="-fPIC -Wall" LDFLAGS="-shared" @@ -171,6 +172,9 @@ do --linker=*) LD="$value" ;; + --runwith=*) + RUNWITH="$value" + ;; *) echo "Error: Unknown flag: $1" exit 1 @@ -341,6 +345,7 @@ LDFLAGS=$LDFLAGS CC=$CC CXX=$CXX LD=$LD +RUNWITH=$RUNWITH EOF -- cgit v1.2.3