mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-12-27 07:09:26 +08:00
42a1087ff2
m4/ltsugar.m4, m4/ltversion.m4, m4/lt~obsolete.m4: RMS says, 'I think the [license of autoconf macro files] should be: # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is # preserved.'.
33 lines
900 B
Plaintext
33 lines
900 B
Plaintext
# Portability macros for glibc argz. -*- Autoconf -*-
|
|
# Written by Gary V. Vaughan <gary@gnu.org>
|
|
|
|
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
|
|
|
|
# This file is free software; the Free Software Foundation gives
|
|
# unlimited permission to copy and/or distribute it, with or without
|
|
# modifications, as long as this notice is preserved.
|
|
|
|
# serial 2
|
|
|
|
AC_DEFUN([gl_FUNC_ARGZ],
|
|
[gl_PREREQ_ARGZ
|
|
|
|
AC_CHECK_HEADERS([argz.h], [], [], [AC_INCLUDES_DEFAULT])
|
|
|
|
AC_CHECK_TYPES([error_t],
|
|
[],
|
|
[AC_DEFINE([error_t], [int],
|
|
[Define to a type to use for `error_t' if it is not otherwise available.])],
|
|
[#if defined(HAVE_ARGZ_H)
|
|
# include <argz.h>
|
|
#endif])
|
|
|
|
ARGZ_H=
|
|
AC_CHECK_FUNCS([argz_append argz_create_sep argz_insert argz_next \
|
|
argz_stringify], [], [ARGZ_H=argz.h; AC_LIBOBJ([argz])])
|
|
AC_SUBST([ARGZ_H])
|
|
])
|
|
|
|
# Prerequisites of lib/argz.c.
|
|
AC_DEFUN([gl_PREREQ_ARGZ], [:])
|