aboutsummaryrefslogtreecommitdiff
path: root/m4/ltoptions.m4
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-01-30 23:25:37 -0600
committerTed Gould <ted@gould.cx>2012-01-30 23:25:37 -0600
commitd4a56efd670ae2432da8be9932df365c75ea0d72 (patch)
tree0f489d0586d6c5701c663893e64d01190819e23e /m4/ltoptions.m4
parent8b1876780ab91339e24d51f72f6b8f9c4a5abfed (diff)
parent9332359a3cad3a5f23e7ff0c4bae14159818d026 (diff)
downloadlibdbusmenu-d4a56efd670ae2432da8be9932df365c75ea0d72.tar.gz
libdbusmenu-d4a56efd670ae2432da8be9932df365c75ea0d72.tar.bz2
libdbusmenu-d4a56efd670ae2432da8be9932df365c75ea0d72.zip
* New upstream release.
* Add property for accessible descriptions * Use insert/remove signals on GTK3 build * Change icon data to be a byte stream instead of base64 * Adjust GTK3 include path to match other libs * Don't get objects from boolean values (LP: #870742) * Fix depreactions on GTK3 (LP: #917115)
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 17cfd51..5d9acd8 100644
--- a/m4/ltoptions.m4
+++ b/m4/ltoptions.m4
@@ -326,9 +326,24 @@ dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
m4_define([_LT_WITH_PIC],
[AC_ARG_WITH([pic],
- [AS_HELP_STRING([--with-pic],
+ [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
[try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
- [pic_mode="$withval"],
+ [lt_p=${PACKAGE-default}
+ case $withval in
+ yes|no) pic_mode=$withval ;;
+ *)
+ pic_mode=default
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+ for lt_pkg in $withval; do
+ IFS="$lt_save_ifs"
+ if test "X$lt_pkg" = "X$lt_p"; then
+ pic_mode=yes
+ fi
+ done
+ IFS="$lt_save_ifs"
+ ;;
+ esac],
[pic_mode=default])
test -z "$pic_mode" && pic_mode=m4_default([$1], [default])