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]))
46 m4_popdef([AC_LIBSOURCES])
47 m4_popdef([AC_REPLACE_FUNCS])
48 m4_popdef([AC_LIBOBJ])
49 AC_CONFIG_COMMANDS_PRE([
52 if test -n "$md5_LIBOBJS"; then
53 # Remove the extension.
54 sed_drop_objext='s/\.o$//;s/\.obj$//'
55 for i in `for i in $md5_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
56 md5_libobjs="$md5_libobjs $i.$ac_objext"
57 md5_ltlibobjs="$md5_ltlibobjs $i.lo"
60 AC_SUBST([md5_LIBOBJS], [$md5_libobjs])
61 AC_SUBST([md5_LTLIBOBJS], [$md5_ltlibobjs])
65 m4_pushdef([AC_LIBOBJ], m4_defn([md5tests_LIBOBJ]))
66 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([md5tests_REPLACE_FUNCS]))
67 m4_pushdef([AC_LIBSOURCES], m4_defn([md5tests_LIBSOURCES]))
69 gl_source_base='tests'
70 m4_popdef([AC_LIBSOURCES])
71 m4_popdef([AC_REPLACE_FUNCS])
72 m4_popdef([AC_LIBOBJ])
73 AC_CONFIG_COMMANDS_PRE([
76 if test -n "$md5tests_LIBOBJS"; then
77 # Remove the extension.
78 sed_drop_objext='s/\.o$//;s/\.obj$//'
79 for i in `for i in $md5tests_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
80 md5tests_libobjs="$md5tests_libobjs $i.$ac_objext"
81 md5tests_ltlibobjs="$md5tests_ltlibobjs $i.lo"
84 AC_SUBST([md5tests_LIBOBJS], [$md5tests_libobjs])
85 AC_SUBST([md5tests_LTLIBOBJS], [$md5tests_ltlibobjs])
87 LIBMD5_LIBDEPS="$gl_libdeps"
88 AC_SUBST([LIBMD5_LIBDEPS])
89 LIBMD5_LTLIBDEPS="$gl_ltlibdeps"
90 AC_SUBST([LIBMD5_LTLIBDEPS])
93 # Like AC_LIBOBJ, except that the module name goes
94 # into md5_LIBOBJS instead of into LIBOBJS.
95 AC_DEFUN([md5_LIBOBJ], [
96 AS_LITERAL_IF([$1], [md5_LIBSOURCES([$1.c])])dnl
97 md5_LIBOBJS="$md5_LIBOBJS $1.$ac_objext"
100 # m4_foreach_w is provided by autoconf-2.59c and later.
101 # This definition is to accommodate developers using versions
102 # of autoconf older than that.
103 m4_ifndef([m4_foreach_w],
104 [m4_define([m4_foreach_w],
105 [m4_foreach([$1], m4_split(m4_normalize([$2]), [ ]), [$3])])])
107 # Like AC_REPLACE_FUNCS, except that the module name goes
108 # into md5_LIBOBJS instead of into LIBOBJS.
109 AC_DEFUN([md5_REPLACE_FUNCS], [
110 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
111 AC_CHECK_FUNCS([$1], , [md5_LIBOBJ($ac_func)])
114 # Like AC_LIBSOURCES, except the directory where the source file is
115 # expected is derived from the gnulib-tool parametrization,
116 # and alloca is special cased (for the alloca-opt module).
117 # We could also entirely rely on EXTRA_lib..._SOURCES.
118 AC_DEFUN([md5_LIBSOURCES], [
119 m4_foreach([_gl_NAME], [$1], [
120 m4_if(_gl_NAME, [alloca.c], [], [
121 m4_syscmd([test -r md5/]_gl_NAME[ || test ! -d md5])dnl
122 m4_if(m4_sysval, [0], [],
123 [AC_FATAL([missing md5/]_gl_NAME)])
128 # Like AC_LIBOBJ, except that the module name goes
129 # into md5tests_LIBOBJS instead of into LIBOBJS.
130 AC_DEFUN([md5tests_LIBOBJ], [
131 AS_LITERAL_IF([$1], [md5tests_LIBSOURCES([$1.c])])dnl
132 md5tests_LIBOBJS="$md5tests_LIBOBJS $1.$ac_objext"
135 # m4_foreach_w is provided by autoconf-2.59c and later.
136 # This definition is to accommodate developers using versions
137 # of autoconf older than that.
138 m4_ifndef([m4_foreach_w],
139 [m4_define([m4_foreach_w],
140 [m4_foreach([$1], m4_split(m4_normalize([$2]), [ ]), [$3])])])
142 # Like AC_REPLACE_FUNCS, except that the module name goes
143 # into md5tests_LIBOBJS instead of into LIBOBJS.
144 AC_DEFUN([md5tests_REPLACE_FUNCS], [
145 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
146 AC_CHECK_FUNCS([$1], , [md5tests_LIBOBJ($ac_func)])
149 # Like AC_LIBSOURCES, except the directory where the source file is
150 # expected is derived from the gnulib-tool parametrization,
151 # and alloca is special cased (for the alloca-opt module).
152 # We could also entirely rely on EXTRA_lib..._SOURCES.
153 AC_DEFUN([md5tests_LIBSOURCES], [
154 m4_foreach([_gl_NAME], [$1], [
155 m4_if(_gl_NAME, [alloca.c], [], [
156 m4_syscmd([test -r tests/]_gl_NAME[ || test ! -d tests])dnl
157 m4_if(m4_sysval, [0], [],
158 [AC_FATAL([missing tests/]_gl_NAME)])
163 # This macro records the list of files which have been installed by
164 # gnulib-tool and may be removed by future gnulib-tool invocations.
165 AC_DEFUN([md5_FILE_LIST], [
166 build-aux/link-warning.h