aboutsummaryrefslogtreecommitdiff
path: root/m4/ltoptions.m4
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-02-01 21:10:15 +0000
committerChristian Grothoff <christian@grothoff.org>2012-02-01 21:10:15 +0000
commitfec1633e47dc8b9949caaf9aefb5efacd53ba171 (patch)
tree1571b2f37a5bc583f19f043481880ef8cc454ea3 /m4/ltoptions.m4
parent674d30fe0fc12fc2a39ba121a772d29a763d3414 (diff)
downloadgnunet-gtk-fec1633e47dc8b9949caaf9aefb5efacd53ba171.tar.gz
gnunet-gtk-fec1633e47dc8b9949caaf9aefb5efacd53ba171.zip
-support same logging and hardening options as gnunet-main
Diffstat (limited to 'm4/ltoptions.m4')
-rw-r--r--m4/ltoptions.m419
1 files changed, 17 insertions, 2 deletions
diff --git a/m4/ltoptions.m4 b/m4/ltoptions.m4
index 17cfd51c..5d9acd8e 100644
--- a/m4/ltoptions.m4
+++ b/m4/ltoptions.m4
@@ -326,9 +326,24 @@ dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
326# MODE is either `yes' or `no'. If omitted, it defaults to `both'. 326# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
327m4_define([_LT_WITH_PIC], 327m4_define([_LT_WITH_PIC],
328[AC_ARG_WITH([pic], 328[AC_ARG_WITH([pic],
329 [AS_HELP_STRING([--with-pic], 329 [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
330 [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], 330 [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
331 [pic_mode="$withval"], 331 [lt_p=${PACKAGE-default}
332 case $withval in
333 yes|no) pic_mode=$withval ;;
334 *)
335 pic_mode=default
336 # Look at the argument we got. We use all the common list separators.
337 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
338 for lt_pkg in $withval; do
339 IFS="$lt_save_ifs"
340 if test "X$lt_pkg" = "X$lt_p"; then
341 pic_mode=yes
342 fi
343 done
344 IFS="$lt_save_ifs"
345 ;;
346 esac],
332 [pic_mode=default]) 347 [pic_mode=default])
333 348
334test -z "$pic_mode" && pic_mode=m4_default([$1], [default]) 349test -z "$pic_mode" && pic_mode=m4_default([$1], [default])