aboutsummaryrefslogtreecommitdiff
path: root/m4/ltoptions.m4
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2012-01-31 10:07:09 -0500
committerKen VanDine <ken.vandine@canonical.com>2012-01-31 10:07:09 -0500
commitc22d308ee469e5e253e694ec812a3d4ab5318ff7 (patch)
tree0f489d0586d6c5701c663893e64d01190819e23e /m4/ltoptions.m4
parent5447fecdeb4a3dda31d951555420105fd31b178e (diff)
parentd4a56efd670ae2432da8be9932df365c75ea0d72 (diff)
downloadlibdbusmenu-c22d308ee469e5e253e694ec812a3d4ab5318ff7.tar.gz
libdbusmenu-c22d308ee469e5e253e694ec812a3d4ab5318ff7.tar.bz2
libdbusmenu-c22d308ee469e5e253e694ec812a3d4ab5318ff7.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])