Comparison

configure @ 5145:53f741a5a73a

configure, Makefile: Allow runtime to be overridden.
author Kim Alvefur <zash@zash.se>
date Fri, 28 Sep 2012 12:04:07 +0200
parent 5048:e02161ba20e0
child 5401:456c1998638d
comparison
equal deleted inserted replaced
5144:a30507061526 5145:53f741a5a73a
14 ICU_FLAGS="-licui18n -licudata -licuuc" 14 ICU_FLAGS="-licui18n -licudata -licuuc"
15 OPENSSL_LIB=crypto 15 OPENSSL_LIB=crypto
16 CC=gcc 16 CC=gcc
17 CXX=g++ 17 CXX=g++
18 LD=gcc 18 LD=gcc
19 RUNWITH=lua
19 20
20 CFLAGS="-fPIC -Wall" 21 CFLAGS="-fPIC -Wall"
21 LDFLAGS="-shared" 22 LDFLAGS="-shared"
22 23
23 IDN_LIBRARY=idn 24 IDN_LIBRARY=idn
169 CC="$value" 170 CC="$value"
170 ;; 171 ;;
171 --linker=*) 172 --linker=*)
172 LD="$value" 173 LD="$value"
173 ;; 174 ;;
175 --runwith=*)
176 RUNWITH="$value"
177 ;;
174 *) 178 *)
175 echo "Error: Unknown flag: $1" 179 echo "Error: Unknown flag: $1"
176 exit 1 180 exit 1
177 ;; 181 ;;
178 esac 182 esac
339 CFLAGS=$CFLAGS 343 CFLAGS=$CFLAGS
340 LDFLAGS=$LDFLAGS 344 LDFLAGS=$LDFLAGS
341 CC=$CC 345 CC=$CC
342 CXX=$CXX 346 CXX=$CXX
343 LD=$LD 347 LD=$LD
348 RUNWITH=$RUNWITH
344 349
345 EOF 350 EOF
346 351
347 echo "Installation prefix: $PREFIX" 352 echo "Installation prefix: $PREFIX"
348 echo "Prosody configuration directory: $SYSCONFDIR" 353 echo "Prosody configuration directory: $SYSCONFDIR"