1 # DO NOT EDIT! GENERATED AUTOMATICALLY!
2 # Copyright (C) 2002-2008 Free Software Foundation, Inc.
4 # This file is free software, distributed under the terms of the GNU
5 # General Public License. As a special exception to the GNU General
6 # Public License, this file may be distributed as part of a program
7 # that contains a configuration script generated by Autoconf, under
8 # the same distribution terms as the rest of that program.
10 # Generated by gnulib-tool.
12 # This file represents the compiled summary of the specification in
13 # gnulib-cache.m4. It lists the computed macro invocations that need
14 # to be invoked from configure.ac.
15 # In projects using CVS, this file can be treated like other built files.
18 # This macro should be invoked from ./configure.ac, in the section
19 # "Checks for programs", right after AC_PROG_CC, and certainly before
20 # any checks for libraries, header files, types and library functions.
23 m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace
24 m4_pattern_allow([^gl_ES$])dnl a valid locale name
25 m4_pattern_allow([^gl_LIBOBJS$])dnl a variable
26 m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable
27 AC_REQUIRE([AC_PROG_RANLIB])
30 # This macro should be invoked from ./configure.ac, in the section
31 # "Check for header files, types and library functions".
34 AM_CONDITIONAL([GL_COND_LIBTOOL], [false])
38 m4_pushdef([AC_LIBOBJ], m4_defn([md5_LIBOBJ]))
39 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([md5_REPLACE_FUNCS]))
40 m4_pushdef([AC_LIBSOURCES], m4_defn([md5_LIBSOURCES]))
45 m4_popdef([AC_LIBSOURCES])
46 m4_popdef([AC_REPLACE_FUNCS])
47 m4_popdef([AC_LIBOBJ])
48 AC_CONFIG_COMMANDS_PRE([
51 if test -n "$md5_LIBOBJS"; then
52 # Remove the extension.
53 sed_drop_objext='s/\.o$//;s/\.obj$//'
54 for i in `for i in $md5_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
55 md5_libobjs="$md5_libobjs $i.$ac_objext"
56 md5_ltlibobjs="$md5_ltlibobjs $i.lo"
59 AC_SUBST([md5_LIBOBJS], [$md5_libobjs])
60 AC_SUBST([md5_LTLIBOBJS], [$md5_ltlibobjs])
64 m4_pushdef([AC_LIBOBJ], m4_defn([md5tests_LIBOBJ]))
65 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([md5tests_REPLACE_FUNCS]))
66 m4_pushdef([AC_LIBSOURCES], m4_defn([md5tests_LIBSOURCES]))
67 gl_source_base='tests'
68 m4_popdef([AC_LIBSOURCES])
69 m4_popdef([AC_REPLACE_FUNCS])
70 m4_popdef([AC_LIBOBJ])
71 AC_CONFIG_COMMANDS_PRE([
74 if test -n "$md5tests_LIBOBJS"; then
75 # Remove the extension.
76 sed_drop_objext='s/\.o$//;s/\.obj$//'
77 for i in `for i in $md5tests_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
78 md5tests_libobjs="$md5tests_libobjs $i.$ac_objext"
79 md5tests_ltlibobjs="$md5tests_ltlibobjs $i.lo"
82 AC_SUBST([md5tests_LIBOBJS], [$md5tests_libobjs])
83 AC_SUBST([md5tests_LTLIBOBJS], [$md5tests_ltlibobjs])
85 LIBMD5_LIBDEPS="$gl_libdeps"
86 AC_SUBST([LIBMD5_LIBDEPS])
87 LIBMD5_LTLIBDEPS="$gl_ltlibdeps"
88 AC_SUBST([LIBMD5_LTLIBDEPS])
91 # Like AC_LIBOBJ, except that the module name goes
92 # into md5_LIBOBJS instead of into LIBOBJS.
93 AC_DEFUN([md5_LIBOBJ], [
94 AS_LITERAL_IF([$1], [md5_LIBSOURCES([$1.c])])dnl
95 md5_LIBOBJS="$md5_LIBOBJS $1.$ac_objext"
98 # m4_foreach_w is provided by autoconf-2.59c and later.
99 # This definition is to accommodate developers using versions
100 # of autoconf older than that.
101 m4_ifndef([m4_foreach_w],
102 [m4_define([m4_foreach_w],
103 [m4_foreach([$1], m4_split(m4_normalize([$2]), [ ]), [$3])])])
105 # Like AC_REPLACE_FUNCS, except that the module name goes
106 # into md5_LIBOBJS instead of into LIBOBJS.
107 AC_DEFUN([md5_REPLACE_FUNCS], [
108 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
109 AC_CHECK_FUNCS([$1], , [md5_LIBOBJ($ac_func)])
112 # Like AC_LIBSOURCES, except the directory where the source file is
113 # expected is derived from the gnulib-tool parametrization,
114 # and alloca is special cased (for the alloca-opt module).
115 # We could also entirely rely on EXTRA_lib..._SOURCES.
116 AC_DEFUN([md5_LIBSOURCES], [
117 m4_foreach([_gl_NAME], [$1], [
118 m4_if(_gl_NAME, [alloca.c], [], [
119 m4_syscmd([test -r md5/]_gl_NAME[ || test ! -d md5])dnl
120 m4_if(m4_sysval, [0], [],
121 [AC_FATAL([missing md5/]_gl_NAME)])
126 # Like AC_LIBOBJ, except that the module name goes
127 # into md5tests_LIBOBJS instead of into LIBOBJS.
128 AC_DEFUN([md5tests_LIBOBJ], [
129 AS_LITERAL_IF([$1], [md5tests_LIBSOURCES([$1.c])])dnl
130 md5tests_LIBOBJS="$md5tests_LIBOBJS $1.$ac_objext"
133 # m4_foreach_w is provided by autoconf-2.59c and later.
134 # This definition is to accommodate developers using versions
135 # of autoconf older than that.
136 m4_ifndef([m4_foreach_w],
137 [m4_define([m4_foreach_w],
138 [m4_foreach([$1], m4_split(m4_normalize([$2]), [ ]), [$3])])])
140 # Like AC_REPLACE_FUNCS, except that the module name goes
141 # into md5tests_LIBOBJS instead of into LIBOBJS.
142 AC_DEFUN([md5tests_REPLACE_FUNCS], [
143 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
144 AC_CHECK_FUNCS([$1], , [md5tests_LIBOBJ($ac_func)])
147 # Like AC_LIBSOURCES, except the directory where the source file is
148 # expected is derived from the gnulib-tool parametrization,
149 # and alloca is special cased (for the alloca-opt module).
150 # We could also entirely rely on EXTRA_lib..._SOURCES.
151 AC_DEFUN([md5tests_LIBSOURCES], [
152 m4_foreach([_gl_NAME], [$1], [
153 m4_if(_gl_NAME, [alloca.c], [], [
154 m4_syscmd([test -r tests/]_gl_NAME[ || test ! -d tests])dnl
155 m4_if(m4_sysval, [0], [],
156 [AC_FATAL([missing tests/]_gl_NAME)])
161 # This macro records the list of files which have been installed by
162 # gnulib-tool and may be removed by future gnulib-tool invocations.
163 AC_DEFUN([md5_FILE_LIST], [
164 build-aux/link-warning.h