diff options
author | Ted Gould <ted@gould.cx> | 2012-02-17 16:18:45 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2012-02-17 16:18:45 -0600 |
commit | f8ca95b2f833a22f559ccd101c612081a6a089a3 (patch) | |
tree | 70418cc37784f6f2a9c5c43639f1d2ec9723b5fc /m4/ltoptions.m4 | |
parent | 6e60a40ec583b507aef6254a744631f30f9e072d (diff) | |
parent | 52d15e402e4ada9c8f1ee1f4b7e3a9ada473772c (diff) | |
download | ayatana-indicator-datetime-f8ca95b2f833a22f559ccd101c612081a6a089a3.tar.gz ayatana-indicator-datetime-f8ca95b2f833a22f559ccd101c612081a6a089a3.tar.bz2 ayatana-indicator-datetime-f8ca95b2f833a22f559ccd101c612081a6a089a3.zip |
* New upstream release.
* Still need to distribute these files even if we're not building it
* Adding some extra ignore stuff in
* Adding in code coverage calculation
* Allow ccpanel to be optional
* Move to use libtimezone map
* Add a name hint on the indicator
* Build fixes for updated dependencies
* Fixing Geoclue support
Diffstat (limited to 'm4/ltoptions.m4')
-rw-r--r-- | m4/ltoptions.m4 | 19 |
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]) |