Annotation of embedaddon/libiconv/srcm4/gnulib-comp.m4, revision 1.1

1.1     ! misho       1: # DO NOT EDIT! GENERATED AUTOMATICALLY!
        !             2: # Copyright (C) 2002-2009 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([AM_PROG_CC_C_O])
        !            29:   AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
        !            30: ])
        !            31: 
        !            32: # This macro should be invoked from ./configure.ac, in the section
        !            33: # "Check for header files, types and library functions".
        !            34: AC_DEFUN([gl_INIT],
        !            35: [
        !            36:   AM_CONDITIONAL([GL_COND_LIBTOOL], [false])
        !            37:   gl_cond_libtool=false
        !            38:   gl_libdeps=
        !            39:   gl_ltlibdeps=
        !            40:   m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
        !            41:   m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
        !            42:   m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
        !            43:   m4_pushdef([gl_LIBSOURCES_LIST], [])
        !            44:   m4_pushdef([gl_LIBSOURCES_DIR], [])
        !            45:   gl_COMMON
        !            46:   gl_source_base='srclib'
        !            47:   gl_FUNC_ALLOCA
        !            48:   gl_CANONICALIZE_LGPL
        !            49:   gl_MODULE_INDICATOR([canonicalize-lgpl])
        !            50:   gl_ENVIRON
        !            51:   gl_UNISTD_MODULE_INDICATOR([environ])
        !            52:   gl_HEADER_ERRNO_H
        !            53:   gl_ERROR
        !            54:   m4_ifdef([AM_XGETTEXT_OPTION],
        !            55:     [AM_XGETTEXT_OPTION([--flag=error:3:c-format])
        !            56:      AM_XGETTEXT_OPTION([--flag=error_at_line:5:c-format])])
        !            57:   dnl you must add AM_GNU_GETTEXT([external]) or similar to configure.ac.
        !            58:   AM_GNU_GETTEXT_VERSION([0.17])
        !            59:   AC_SUBST([LIBINTL])
        !            60:   AC_SUBST([LTLIBINTL])
        !            61:   gl_FUNC_MALLOC_POSIX
        !            62:   gl_STDLIB_MODULE_INDICATOR([malloc-posix])
        !            63:   gl_MALLOCA
        !            64:   AC_TYPE_MBSTATE_T
        !            65:   gl_FUNC_MEMMOVE
        !            66:   gl_MULTIARCH
        !            67:   gl_PATHMAX
        !            68:   gl_FUNC_READLINK
        !            69:   gl_UNISTD_MODULE_INDICATOR([readlink])
        !            70:   gl_RELOCATABLE([$gl_source_base])
        !            71:   gl_FUNC_READLINK_SEPARATE
        !            72:   gl_CANONICALIZE_LGPL_SEPARATE
        !            73:   gl_MALLOCA
        !            74:   gl_RELOCATABLE_LIBRARY_SEPARATE
        !            75:   gl_FUNC_SETENV_SEPARATE
        !            76:   gl_FUNC_STRERROR_SEPARATE
        !            77:   gl_SIGNAL_H
        !            78:   gl_SIGNAL_SIGPIPE
        !            79:   dnl Define the C macro GNULIB_SIGPIPE to 1.
        !            80:   gl_MODULE_INDICATOR([sigpipe])
        !            81:   dnl Define the substituted variable GNULIB_SIGNAL_H_SIGPIPE to 1.
        !            82:   AC_REQUIRE([gl_SIGNAL_H_DEFAULTS])
        !            83:   GNULIB_SIGNAL_H_SIGPIPE=1
        !            84:   dnl Define the substituted variable GNULIB_STDIO_H_SIGPIPE to 1.
        !            85:   AC_REQUIRE([gl_STDIO_H_DEFAULTS])
        !            86:   GNULIB_STDIO_H_SIGPIPE=1
        !            87:   dnl Define the substituted variable GNULIB_UNISTD_H_SIGPIPE to 1.
        !            88:   AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
        !            89:   GNULIB_UNISTD_H_SIGPIPE=1
        !            90:   gl_SIGNALBLOCKING
        !            91:   gl_SIGNAL_MODULE_INDICATOR([sigprocmask])
        !            92:   gt_TYPE_SSIZE_T
        !            93:   AM_STDBOOL_H
        !            94:   gl_STDINT_H
        !            95:   gl_STDIO_H
        !            96:   gl_STDLIB_H
        !            97:   gl_FUNC_STRERROR
        !            98:   gl_STRING_MODULE_INDICATOR([strerror])
        !            99:   gl_HEADER_STRING_H
        !           100:   gl_UNISTD_H
        !           101:   gl_FUNC_GLIBC_UNLOCKED_IO
        !           102:   gl_WCHAR_H
        !           103:   m4_ifval(gl_LIBSOURCES_LIST, [
        !           104:     m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
        !           105:       for gl_file in ]gl_LIBSOURCES_LIST[ ; do
        !           106:         if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
        !           107:           echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
        !           108:           exit 1
        !           109:         fi
        !           110:       done])dnl
        !           111:       m4_if(m4_sysval, [0], [],
        !           112:         [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
        !           113:   ])
        !           114:   m4_popdef([gl_LIBSOURCES_DIR])
        !           115:   m4_popdef([gl_LIBSOURCES_LIST])
        !           116:   m4_popdef([AC_LIBSOURCES])
        !           117:   m4_popdef([AC_REPLACE_FUNCS])
        !           118:   m4_popdef([AC_LIBOBJ])
        !           119:   AC_CONFIG_COMMANDS_PRE([
        !           120:     gl_libobjs=
        !           121:     gl_ltlibobjs=
        !           122:     if test -n "$gl_LIBOBJS"; then
        !           123:       # Remove the extension.
        !           124:       sed_drop_objext='s/\.o$//;s/\.obj$//'
        !           125:       for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
        !           126:         gl_libobjs="$gl_libobjs $i.$ac_objext"
        !           127:         gl_ltlibobjs="$gl_ltlibobjs $i.lo"
        !           128:       done
        !           129:     fi
        !           130:     AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
        !           131:     AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
        !           132:   ])
        !           133:   gltests_libdeps=
        !           134:   gltests_ltlibdeps=
        !           135:   m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
        !           136:   m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
        !           137:   m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
        !           138:   m4_pushdef([gltests_LIBSOURCES_LIST], [])
        !           139:   m4_pushdef([gltests_LIBSOURCES_DIR], [])
        !           140:   gl_COMMON
        !           141:   gl_source_base='tests'
        !           142:   m4_ifval(gltests_LIBSOURCES_LIST, [
        !           143:     m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
        !           144:       for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
        !           145:         if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
        !           146:           echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
        !           147:           exit 1
        !           148:         fi
        !           149:       done])dnl
        !           150:       m4_if(m4_sysval, [0], [],
        !           151:         [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
        !           152:   ])
        !           153:   m4_popdef([gltests_LIBSOURCES_DIR])
        !           154:   m4_popdef([gltests_LIBSOURCES_LIST])
        !           155:   m4_popdef([AC_LIBSOURCES])
        !           156:   m4_popdef([AC_REPLACE_FUNCS])
        !           157:   m4_popdef([AC_LIBOBJ])
        !           158:   AC_CONFIG_COMMANDS_PRE([
        !           159:     gltests_libobjs=
        !           160:     gltests_ltlibobjs=
        !           161:     if test -n "$gltests_LIBOBJS"; then
        !           162:       # Remove the extension.
        !           163:       sed_drop_objext='s/\.o$//;s/\.obj$//'
        !           164:       for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
        !           165:         gltests_libobjs="$gltests_libobjs $i.$ac_objext"
        !           166:         gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
        !           167:       done
        !           168:     fi
        !           169:     AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
        !           170:     AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
        !           171:   ])
        !           172:   LIBICRT_LIBDEPS="$gl_libdeps"
        !           173:   AC_SUBST([LIBICRT_LIBDEPS])
        !           174:   LIBICRT_LTLIBDEPS="$gl_ltlibdeps"
        !           175:   AC_SUBST([LIBICRT_LTLIBDEPS])
        !           176: ])
        !           177: 
        !           178: # Like AC_LIBOBJ, except that the module name goes
        !           179: # into gl_LIBOBJS instead of into LIBOBJS.
        !           180: AC_DEFUN([gl_LIBOBJ], [
        !           181:   AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
        !           182:   gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
        !           183: ])
        !           184: 
        !           185: # Like AC_REPLACE_FUNCS, except that the module name goes
        !           186: # into gl_LIBOBJS instead of into LIBOBJS.
        !           187: AC_DEFUN([gl_REPLACE_FUNCS], [
        !           188:   m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
        !           189:   AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
        !           190: ])
        !           191: 
        !           192: # Like AC_LIBSOURCES, except the directory where the source file is
        !           193: # expected is derived from the gnulib-tool parameterization,
        !           194: # and alloca is special cased (for the alloca-opt module).
        !           195: # We could also entirely rely on EXTRA_lib..._SOURCES.
        !           196: AC_DEFUN([gl_LIBSOURCES], [
        !           197:   m4_foreach([_gl_NAME], [$1], [
        !           198:     m4_if(_gl_NAME, [alloca.c], [], [
        !           199:       m4_define([gl_LIBSOURCES_DIR], [srclib])
        !           200:       m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
        !           201:     ])
        !           202:   ])
        !           203: ])
        !           204: 
        !           205: # Like AC_LIBOBJ, except that the module name goes
        !           206: # into gltests_LIBOBJS instead of into LIBOBJS.
        !           207: AC_DEFUN([gltests_LIBOBJ], [
        !           208:   AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
        !           209:   gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
        !           210: ])
        !           211: 
        !           212: # Like AC_REPLACE_FUNCS, except that the module name goes
        !           213: # into gltests_LIBOBJS instead of into LIBOBJS.
        !           214: AC_DEFUN([gltests_REPLACE_FUNCS], [
        !           215:   m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
        !           216:   AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
        !           217: ])
        !           218: 
        !           219: # Like AC_LIBSOURCES, except the directory where the source file is
        !           220: # expected is derived from the gnulib-tool parameterization,
        !           221: # and alloca is special cased (for the alloca-opt module).
        !           222: # We could also entirely rely on EXTRA_lib..._SOURCES.
        !           223: AC_DEFUN([gltests_LIBSOURCES], [
        !           224:   m4_foreach([_gl_NAME], [$1], [
        !           225:     m4_if(_gl_NAME, [alloca.c], [], [
        !           226:       m4_define([gltests_LIBSOURCES_DIR], [tests])
        !           227:       m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
        !           228:     ])
        !           229:   ])
        !           230: ])
        !           231: 
        !           232: # This macro records the list of files which have been installed by
        !           233: # gnulib-tool and may be removed by future gnulib-tool invocations.
        !           234: AC_DEFUN([gl_FILE_LIST], [
        !           235:   build-aux/config.libpath
        !           236:   build-aux/config.rpath
        !           237:   build-aux/install-reloc
        !           238:   build-aux/link-warning.h
        !           239:   build-aux/reloc-ldflags
        !           240:   doc/relocatable.texi
        !           241:   lib/alloca.in.h
        !           242:   lib/areadlink.c
        !           243:   lib/areadlink.h
        !           244:   lib/binary-io.h
        !           245:   lib/c-ctype.c
        !           246:   lib/c-ctype.h
        !           247:   lib/canonicalize-lgpl.c
        !           248:   lib/canonicalize.h
        !           249:   lib/errno.in.h
        !           250:   lib/error.c
        !           251:   lib/error.h
        !           252:   lib/gettext.h
        !           253:   lib/intprops.h
        !           254:   lib/localcharset.h
        !           255:   lib/malloc.c
        !           256:   lib/malloca.c
        !           257:   lib/malloca.h
        !           258:   lib/malloca.valgrind
        !           259:   lib/memmove.c
        !           260:   lib/pathmax.h
        !           261:   lib/progname.c
        !           262:   lib/progname.h
        !           263:   lib/progreloc.c
        !           264:   lib/readlink.c
        !           265:   lib/relocatable.c
        !           266:   lib/relocatable.h
        !           267:   lib/relocwrapper.c
        !           268:   lib/setenv.c
        !           269:   lib/signal.in.h
        !           270:   lib/sigprocmask.c
        !           271:   lib/stdbool.in.h
        !           272:   lib/stdint.in.h
        !           273:   lib/stdio-write.c
        !           274:   lib/stdio.in.h
        !           275:   lib/stdlib.in.h
        !           276:   lib/streq.h
        !           277:   lib/strerror.c
        !           278:   lib/string.in.h
        !           279:   lib/unistd.in.h
        !           280:   lib/unitypes.h
        !           281:   lib/uniwidth.h
        !           282:   lib/uniwidth/cjk.h
        !           283:   lib/uniwidth/width.c
        !           284:   lib/unlocked-io.h
        !           285:   lib/wchar.in.h
        !           286:   lib/xalloc.h
        !           287:   lib/xmalloc.c
        !           288:   lib/xreadlink.c
        !           289:   lib/xreadlink.h
        !           290:   lib/xstrdup.c
        !           291:   m4/00gnulib.m4
        !           292:   m4/alloca.m4
        !           293:   m4/canonicalize-lgpl.m4
        !           294:   m4/codeset.m4
        !           295:   m4/eealloc.m4
        !           296:   m4/environ.m4
        !           297:   m4/errno_h.m4
        !           298:   m4/error.m4
        !           299:   m4/extensions.m4
        !           300:   m4/gettext.m4
        !           301:   m4/glibc2.m4
        !           302:   m4/glibc21.m4
        !           303:   m4/gnulib-common.m4
        !           304:   m4/iconv.m4
        !           305:   m4/include_next.m4
        !           306:   m4/intdiv0.m4
        !           307:   m4/intl.m4
        !           308:   m4/intldir.m4
        !           309:   m4/intlmacosx.m4
        !           310:   m4/intmax.m4
        !           311:   m4/inttypes-pri.m4
        !           312:   m4/inttypes_h.m4
        !           313:   m4/lcmessage.m4
        !           314:   m4/lib-ld.m4
        !           315:   m4/lib-link.m4
        !           316:   m4/lib-prefix.m4
        !           317:   m4/lock.m4
        !           318:   m4/longlong.m4
        !           319:   m4/malloc.m4
        !           320:   m4/malloca.m4
        !           321:   m4/mbstate_t.m4
        !           322:   m4/memmove.m4
        !           323:   m4/multiarch.m4
        !           324:   m4/nls.m4
        !           325:   m4/pathmax.m4
        !           326:   m4/po.m4
        !           327:   m4/printf-posix.m4
        !           328:   m4/progtest.m4
        !           329:   m4/readlink.m4
        !           330:   m4/relocatable-lib.m4
        !           331:   m4/relocatable.m4
        !           332:   m4/setenv.m4
        !           333:   m4/signal_h.m4
        !           334:   m4/signalblocking.m4
        !           335:   m4/sigpipe.m4
        !           336:   m4/size_max.m4
        !           337:   m4/ssize_t.m4
        !           338:   m4/stdbool.m4
        !           339:   m4/stdint.m4
        !           340:   m4/stdint_h.m4
        !           341:   m4/stdio_h.m4
        !           342:   m4/stdlib_h.m4
        !           343:   m4/strerror.m4
        !           344:   m4/string_h.m4
        !           345:   m4/threadlib.m4
        !           346:   m4/uintmax_t.m4
        !           347:   m4/unistd_h.m4
        !           348:   m4/unlocked-io.m4
        !           349:   m4/visibility.m4
        !           350:   m4/wchar.m4
        !           351:   m4/wchar_t.m4
        !           352:   m4/wint_t.m4
        !           353:   m4/xsize.m4
        !           354: ])

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>