current configure.in,1.204,1.205

Lee <[email protected]> Sat, 24 Sep 2016 16:16:57 +0000
Newsgroups gmane.comp.web.privoxy.cvs
Message-ID <[email protected]>
Update of /cvsroot/ijbswa/current
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv18172/current

Modified Files:
	configure.in 
Log Message:
add --enable-static-linking option for configure

does the same thing as LDFLAGS=-static; ./configure
but nicer than mixing evars and configure options



Index: configure.in
===================================================================
RCS file: /cvsroot/ijbswa/current/configure.in,v
retrieving revision 1.204
retrieving revision 1.205
diff -C2 -d -r1.204 -r1.205
*** configure.in	19 Sep 2016 14:16:05 -0000	1.204
--- configure.in	24 Sep 2016 16:16:55 -0000	1.205
***************
*** 410,413 ****
--- 410,417 ----
  fi])
  
+ AC_ARG_ENABLE(static-linking,
+ [  --enable-static-linking         Use static linking instead of dynamic linking (ie. LDFLAGS=-static)],
+ [ if test $enableval = yes; then LDFLAGS="$LDFLAGS -static"; fi ])
+ 
  dnl Save old CFLAGS so we can restore them later, then add SPECIAL_CFLAGS
  old_CFLAGS_nospecial=$CFLAGS


------------------------------------------------------------------------------