diff options
author | Marius Halden <marius.h@lden.org> | 2016-04-29 14:48:32 +0200 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2016-04-29 19:30:12 +0200 |
commit | a8b366277db6e19ee4e6667b3e856f187e49a35f (patch) | |
tree | 0348e752cb6cd041487c1260a87779719bf0d386 /configure | |
parent | a244877191da5159d56e34dca57e881a639061ce (diff) |
Configure option for install-dev and install config sample automaticallyinstall-dev
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -47,6 +47,7 @@ asan=0 plugins=1 otr=0 skype=0 +devel=0 events=glib ssl=auto @@ -150,6 +151,7 @@ Option Description Default Disable/enable OTR encryption support $otr --skype=0/1/plugin Disable/enable Skype support $skype +--devel=0/1 Disable/enable header install $devel --events=... Event handler (glib, libevent) $events --ssl=... SSL library to use (gnutls, nss, openssl, auto) @@ -296,6 +298,10 @@ else [ -z "$CFLAGS" ] && CFLAGS="-O2 -fno-strict-aliasing" fi +if [ "$devel" = "1" ]; then + echo 'DEVEL=1' >> Makefile.settings +fi + if [ "$pie" = "1" ]; then echo 'CFLAGS_BITLBEE=-fPIE' >> Makefile.settings echo 'LDFLAGS_BITLBEE=-pie' >> Makefile.settings |