diff options
author | Kim Alvefur <zash@zash.se> | 2012-09-28 12:04:07 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2012-09-28 12:04:07 +0200 |
commit | 2b1cd1a3ae436f44ce109e7bf8f020bbc51f4d42 (patch) | |
tree | 77e1ae89e7757363e23d4487e00aa48fe99e5b62 /configure | |
parent | 5db9a6c120a984390287664b3581c4f3796cb3be (diff) | |
download | prosody-2b1cd1a3ae436f44ce109e7bf8f020bbc51f4d42.tar.gz prosody-2b1cd1a3ae436f44ce109e7bf8f020bbc51f4d42.zip |
configure, Makefile: Allow runtime to be overridden.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |