aboutsummaryrefslogtreecommitdiff
path: root/m4/ltoptions.m4
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2012-02-06 14:52:41 -0500
committerKen VanDine <ken.vandine@canonical.com>2012-02-06 14:52:41 -0500
commit2c4628f0647760d314a70d227c88005aa4e89017 (patch)
tree9c83ede4648c8e7506c6f297f7997b8eefa4f036 /m4/ltoptions.m4
parent996677f97a04275f47fcc3c540ed7df5333677fe (diff)
parent0ef39fd36500773506b9571cc9475874850a35f1 (diff)
downloadlibayatana-appindicator-2c4628f0647760d314a70d227c88005aa4e89017.tar.gz
libayatana-appindicator-2c4628f0647760d314a70d227c88005aa4e89017.tar.bz2
libayatana-appindicator-2c4628f0647760d314a70d227c88005aa4e89017.zip
* New upstream release.
* Fix include with Dbusmenu 0.5.90 * Fix GTK3 include paths in pkgconfig file (LP: #869373) * Add title property (LP: #923971) * Don't specify pyglib-2.0-python2.6 in LDFLAGS * fix fallback icon of the GtkStatusIcon (LP: #820080) * debian/control: Dbusmneu Dep to 0.5.90 * deibna/*symbols: Updated to add [set|get]_title functions
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])