~sil2100/nux/precise_sru-1

« back to all changes in this revision

Viewing changes to m4/ltoptions.m4

  • Committer: Didier Roche
  • Date: 2012-02-03 07:31:02 UTC
  • mfrom: (159.3.33)
  • Revision ID: didier.roche@canonical.com-20120203073102-2dhbgqyn99885shx
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
326
326
# MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
327
327
m4_define([_LT_WITH_PIC],
328
328
[AC_ARG_WITH([pic],
329
 
    [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
 
329
    [AS_HELP_STRING([--with-pic],
330
330
        [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
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],
 
331
    [pic_mode="$withval"],
347
332
    [pic_mode=default])
348
333
 
349
334
test -z "$pic_mode" && pic_mode=m4_default([$1], [default])