aboutsummaryrefslogtreecommitdiff
path: root/m4/ltsugar.m4
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-06-28 17:08:07 +0000
committerChristian Grothoff <christian@grothoff.org>2009-06-28 17:08:07 +0000
commit3e719ecc0f2252bfb01ce6ee057e6d63dd4b7037 (patch)
tree613635d211366eda3ac83eccee08f49e78e125e5 /m4/ltsugar.m4
parenta913b5f73410eb3f0568670046d3ecf3b233744f (diff)
downloadgnunet-3e719ecc0f2252bfb01ce6ee057e6d63dd4b7037.tar.gz
gnunet-3e719ecc0f2252bfb01ce6ee057e6d63dd4b7037.zip
airplane hackery
Diffstat (limited to 'm4/ltsugar.m4')
-rw-r--r--m4/ltsugar.m420
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.
13AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) 13AC_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.
66m4_define([lt_combine], 67m4_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])