Changeset 52b649e in mod_gnutls for m4/ltsugar.m4


Ignore:
Timestamp:
Jan 11, 2013, 12:57:39 AM (7 years ago)
Author:
Daniel Kahn Gillmor <dkg@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, upstream
Children:
4e539d3, 66b608e
Parents:
4ecf14f
Message:

Imported Upstream version 0.5.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • m4/ltsugar.m4

    r4ecf14f r52b649e  
    11# ltsugar.m4 -- libtool m4 base layer.                         -*-Autoconf-*-
    22#
    3 #   Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
    4 #   Written by Gary V. Vaughan, 2004
     3# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
     4# Written by Gary V. Vaughan, 2004
    55#
    66# This file is free software; the Free Software Foundation gives
     
    88# modifications, as long as this notice is preserved.
    99
    10 # serial 5 ltsugar.m4
     10# serial 6 ltsugar.m4
    1111
    1212# This is to help aclocal find these macros, as it can't see m4_define.
     
    6464# PREFIX-LIST with SUFFIX1 through SUFFIXn.  Each element of the list
    6565# has the form PREFIXmINFIXSUFFIXn.
     66# Needed until we can rely on m4_combine added in Autoconf 2.62.
    6667m4_define([lt_combine],
    67 [m4_if([$2], [], [],
    68   [m4_if([$4], [], [],
    69     [lt_join(m4_quote(m4_default([$1], [[, ]])),
    70       lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_prefix, [$2],
    71                    [m4_foreach(_Lt_suffix, lt_car([m4_shiftn(3, $@)]),
    72                                [_Lt_prefix[]$3[]_Lt_suffix ])])))))])])dnl
    73 ])
     68[m4_if(m4_eval([$# > 3]), [1],
     69       [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
     70[[m4_foreach([_Lt_prefix], [$2],
     71             [m4_foreach([_Lt_suffix],
     72                ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
     73        [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
    7474
    7575
Note: See TracChangeset for help on using the changeset viewer.