diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-06-08 20:13:04 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-06-08 20:13:04 +0000 |
commit | 9c4a3cd49e5bcf2ba9995c0e344498060ac0a466 (patch) | |
tree | 987c88a0e849b7f7eca2e863f2194475ebb51f3d /m4/ltsugar.m4 | |
parent | 231af2b9e9f19d407cd174eeca2013d1363bf553 (diff) | |
download | gnunet-9c4a3cd49e5bcf2ba9995c0e344498060ac0a466.tar.gz gnunet-9c4a3cd49e5bcf2ba9995c0e344498060ac0a466.zip |
debug code
Diffstat (limited to 'm4/ltsugar.m4')
-rw-r--r-- | m4/ltsugar.m4 | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/m4/ltsugar.m4 b/m4/ltsugar.m4 index 0d258e070..9000a057d 100644 --- a/m4/ltsugar.m4 +++ b/m4/ltsugar.m4 | |||
@@ -1,13 +1,13 @@ | |||
1 | # ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- | 1 | # ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- |
2 | # | 2 | # |
3 | # Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc. | 3 | # Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. |
4 | # Written by Gary V. Vaughan, 2004 | 4 | # Written by Gary V. Vaughan, 2004 |
5 | # | 5 | # |
6 | # This file is free software; the Free Software Foundation gives | 6 | # This file is free software; the Free Software Foundation gives |
7 | # unlimited permission to copy and/or distribute it, with or without | 7 | # unlimited permission to copy and/or distribute it, with or without |
8 | # modifications, as long as this notice is preserved. | 8 | # modifications, as long as this notice is preserved. |
9 | 9 | ||
10 | # serial 5 ltsugar.m4 | 10 | # serial 6 ltsugar.m4 |
11 | 11 | ||
12 | # This is to help aclocal find these macros, as it can't see m4_define. | 12 | # This is to help aclocal find these macros, as it can't see m4_define. |
13 | AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) | 13 | AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) |
@@ -63,14 +63,14 @@ m4_define([lt_append], | |||
63 | # Produce a SEP delimited list of all paired combinations of elements of | 63 | # Produce a SEP delimited list of all paired combinations of elements of |
64 | # PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list | 64 | # PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list |
65 | # has the form PREFIXmINFIXSUFFIXn. | 65 | # has the form PREFIXmINFIXSUFFIXn. |
66 | # Needed until we can rely on m4_combine added in Autoconf 2.62. | ||
66 | m4_define([lt_combine], | 67 | m4_define([lt_combine], |
67 | [m4_if([$2], [], [], | 68 | [m4_if(m4_eval([$# > 3]), [1], |
68 | [m4_if([$4], [], [], | 69 | [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl |
69 | [lt_join(m4_quote(m4_default([$1], [[, ]])), | 70 | [[m4_foreach([_Lt_prefix], [$2], |
70 | lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_prefix, [$2], | 71 | [m4_foreach([_Lt_suffix], |
71 | [m4_foreach(_Lt_suffix, lt_car([m4_shiftn(3, $@)]), | 72 | ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[, |
72 | [_Lt_prefix[]$3[]_Lt_suffix ])])))))])])dnl | 73 | [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])]) |
73 | ]) | ||
74 | 74 | ||
75 | 75 | ||
76 | # lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ]) | 76 | # lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ]) |