aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-09-28 12:04:07 +0200
committerKim Alvefur <zash@zash.se>2012-09-28 12:04:07 +0200
commitaa1fe37ca5d21921b3ccf24b1b7b99bb3eb2d675 (patch)
tree77e1ae89e7757363e23d4487e00aa48fe99e5b62 /configure
parent1a8ef08c9540f782e647eabb0a1f7c6cc056ff82 (diff)
downloadprosody-aa1fe37ca5d21921b3ccf24b1b7b99bb3eb2d675.tar.gz
prosody-aa1fe37ca5d21921b3ccf24b1b7b99bb3eb2d675.zip
configure, Makefile: Allow runtime to be overridden.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
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