OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.1/] [gdb/] [gnulib/] [m4/] [gnulib-comp.m4] - Blame information for rev 493

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
# DO NOT EDIT! GENERATED AUTOMATICALLY!
2
# Copyright (C) 2004-2007, 2009, 2010 Free Software Foundation, Inc.
3
#
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.
9
#
10
# Generated by gnulib-tool.
11
#
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.
16
 
17
 
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.
21
AC_DEFUN([gl_EARLY],
22
[
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])
28
  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
29
])
30
 
31
# This macro should be invoked from ./configure.ac, in the section
32
# "Check for header files, types and library functions".
33
AC_DEFUN([gl_INIT],
34
[
35
  AM_CONDITIONAL([GL_COND_LIBTOOL], [false])
36
  gl_cond_libtool=false
37
  gl_libdeps=
38
  gl_ltlibdeps=
39
  m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
40
  m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
41
  m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
42
  gl_source_base='gnulib'
43
  gl_FUNC_MEMCHR
44
  gl_FUNC_MEMCMP
45
  gl_FUNC_MEMMEM
46
  gl_FUNC_MEMMEM_SIMPLE
47
  gl_STRING_MODULE_INDICATOR([memmem])
48
  gl_STDINT_H
49
  gl_HEADER_STRING_H
50
  gl_WCHAR_H
51
  m4_popdef([AC_LIBSOURCES])
52
  m4_popdef([AC_REPLACE_FUNCS])
53
  m4_popdef([AC_LIBOBJ])
54
  AC_CONFIG_COMMANDS_PRE([
55
    gl_libobjs=
56
    gl_ltlibobjs=
57
    if test -n "$gl_LIBOBJS"; then
58
      # Remove the extension.
59
      sed_drop_objext='s/\.o$//;s/\.obj$//'
60
      for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
61
        gl_libobjs="$gl_libobjs $i.$ac_objext"
62
        gl_ltlibobjs="$gl_ltlibobjs $i.lo"
63
      done
64
    fi
65
    AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
66
    AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
67
  ])
68
  gltests_libdeps=
69
  gltests_ltlibdeps=
70
  m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
71
  m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
72
  m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
73
  gl_source_base='tests'
74
  m4_popdef([AC_LIBSOURCES])
75
  m4_popdef([AC_REPLACE_FUNCS])
76
  m4_popdef([AC_LIBOBJ])
77
  AC_CONFIG_COMMANDS_PRE([
78
    gltests_libobjs=
79
    gltests_ltlibobjs=
80
    if test -n "$gltests_LIBOBJS"; then
81
      # Remove the extension.
82
      sed_drop_objext='s/\.o$//;s/\.obj$//'
83
      for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
84
        gltests_libobjs="$gltests_libobjs $i.$ac_objext"
85
        gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
86
      done
87
    fi
88
    AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
89
    AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
90
  ])
91
  LIBGNU_LIBDEPS="$gl_libdeps"
92
  AC_SUBST([LIBGNU_LIBDEPS])
93
  LIBGNU_LTLIBDEPS="$gl_ltlibdeps"
94
  AC_SUBST([LIBGNU_LTLIBDEPS])
95
])
96
 
97
# Like AC_LIBOBJ, except that the module name goes
98
# into gl_LIBOBJS instead of into LIBOBJS.
99
AC_DEFUN([gl_LIBOBJ], [
100
  AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
101
  gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
102
])
103
 
104
# m4_foreach_w is provided by autoconf-2.59c and later.
105
# This definition is to accommodate developers using versions
106
# of autoconf older than that.
107
m4_ifndef([m4_foreach_w],
108
  [m4_define([m4_foreach_w],
109
    [m4_foreach([$1], m4_split(m4_normalize([$2]), [ ]), [$3])])])
110
 
111
# Like AC_REPLACE_FUNCS, except that the module name goes
112
# into gl_LIBOBJS instead of into LIBOBJS.
113
AC_DEFUN([gl_REPLACE_FUNCS], [
114
  m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
115
  AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
116
])
117
 
118
# Like AC_LIBSOURCES, except the directory where the source file is
119
# expected is derived from the gnulib-tool parametrization,
120
# and alloca is special cased (for the alloca-opt module).
121
# We could also entirely rely on EXTRA_lib..._SOURCES.
122
AC_DEFUN([gl_LIBSOURCES], [
123
  m4_foreach([_gl_NAME], [$1], [
124
    m4_if(_gl_NAME, [alloca.c], [], [
125
      m4_syscmd([test -r gnulib/]_gl_NAME[ || test ! -d gnulib])dnl
126
      m4_if(m4_sysval, [0], [],
127
        [AC_FATAL([missing gnulib/]_gl_NAME)])
128
    ])
129
  ])
130
])
131
 
132
# Like AC_LIBOBJ, except that the module name goes
133
# into gltests_LIBOBJS instead of into LIBOBJS.
134
AC_DEFUN([gltests_LIBOBJ], [
135
  AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
136
  gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
137
])
138
 
139
# m4_foreach_w is provided by autoconf-2.59c and later.
140
# This definition is to accommodate developers using versions
141
# of autoconf older than that.
142
m4_ifndef([m4_foreach_w],
143
  [m4_define([m4_foreach_w],
144
    [m4_foreach([$1], m4_split(m4_normalize([$2]), [ ]), [$3])])])
145
 
146
# Like AC_REPLACE_FUNCS, except that the module name goes
147
# into gltests_LIBOBJS instead of into LIBOBJS.
148
AC_DEFUN([gltests_REPLACE_FUNCS], [
149
  m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
150
  AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
151
])
152
 
153
# Like AC_LIBSOURCES, except the directory where the source file is
154
# expected is derived from the gnulib-tool parametrization,
155
# and alloca is special cased (for the alloca-opt module).
156
# We could also entirely rely on EXTRA_lib..._SOURCES.
157
AC_DEFUN([gltests_LIBSOURCES], [
158
  m4_foreach([_gl_NAME], [$1], [
159
    m4_if(_gl_NAME, [alloca.c], [], [
160
      m4_syscmd([test -r tests/]_gl_NAME[ || test ! -d tests])dnl
161
      m4_if(m4_sysval, [0], [],
162
        [AC_FATAL([missing tests/]_gl_NAME)])
163
    ])
164
  ])
165
])
166
 
167
# This macro records the list of files which have been installed by
168
# gnulib-tool and may be removed by future gnulib-tool invocations.
169
AC_DEFUN([gl_FILE_LIST], [
170
  build-aux/link-warning.h
171
  lib/dummy.c
172
  lib/memchr.c
173
  lib/memcmp.c
174
  lib/memmem.c
175
  lib/stdint.in.h
176
  lib/str-two-way.h
177
  lib/string.in.h
178
  lib/wchar.in.h
179
  m4/extensions.m4
180
  m4/gnulib-common.m4
181
  m4/include_next.m4
182
  m4/longlong.m4
183
  m4/memchr.m4
184
  m4/memcmp.m4
185
  m4/memmem.m4
186
  m4/onceonly_2_57.m4
187
  m4/stdint.m4
188
  m4/string_h.m4
189
  m4/wchar.m4
190
])

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.