mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-23 03:42:19 +00:00
m4: update from gnulib to avoid warnings from cutting-edge autoconf
* gnulib/m4/errno_h.m4 * gnulib/m4/gnulib-comp.m4 * gnulib/m4/multiarch.m4
This commit is contained in:
parent
48dc345f2d
commit
3b22f80f07
@ -1,3 +1,10 @@
|
|||||||
|
Fri Jan 23 14:30:59 +0100 2009 Jim Meyering <meyering@redhat.com>
|
||||||
|
|
||||||
|
m4: update from gnulib to avoid warnings from cutting-edge autoconf
|
||||||
|
* gnulib/m4/errno_h.m4
|
||||||
|
* gnulib/m4/gnulib-comp.m4
|
||||||
|
* gnulib/m4/multiarch.m4
|
||||||
|
|
||||||
Fri Jan 23 14:30:59 +0100 2009 Jim Meyering <meyering@redhat.com>
|
Fri Jan 23 14:30:59 +0100 2009 Jim Meyering <meyering@redhat.com>
|
||||||
|
|
||||||
correct and tighten up .*ignore files
|
correct and tighten up .*ignore files
|
||||||
|
@ -1,17 +1,11 @@
|
|||||||
# errno_h.m4 serial 3
|
# errno_h.m4 serial 4
|
||||||
dnl Copyright (C) 2004, 2006, 2008, 2009 Free Software Foundation, Inc.
|
dnl Copyright (C) 2004, 2006, 2008, 2009 Free Software Foundation, Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
dnl with or without modifications, as long as this notice is preserved.
|
dnl with or without modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
AC_DEFUN([gl_HEADER_ERRNO_H],
|
dnl This macro must pass through AC_REQUIRE (never directly invoke it).
|
||||||
[
|
AC_DEFUN_ONCE([gl_HEADER_ERRNO_H],
|
||||||
dnl Use AC_REQUIRE here, so that the default behavior below is expanded
|
|
||||||
dnl once only, before all statements that occur in other macros.
|
|
||||||
AC_REQUIRE([gl_HEADER_ERRNO_H_BODY])
|
|
||||||
])
|
|
||||||
|
|
||||||
AC_DEFUN([gl_HEADER_ERRNO_H_BODY],
|
|
||||||
[
|
[
|
||||||
AC_REQUIRE([AC_PROG_CC])
|
AC_REQUIRE([AC_PROG_CC])
|
||||||
AC_CACHE_CHECK([for complete errno.h], [gl_cv_header_errno_h_complete], [
|
AC_CACHE_CHECK([for complete errno.h], [gl_cv_header_errno_h_complete], [
|
||||||
|
@ -25,7 +25,6 @@ AC_DEFUN([gl_EARLY],
|
|||||||
m4_pattern_allow([^gl_LIBOBJS$])dnl a variable
|
m4_pattern_allow([^gl_LIBOBJS$])dnl a variable
|
||||||
m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable
|
m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable
|
||||||
AC_REQUIRE([AC_PROG_RANLIB])
|
AC_REQUIRE([AC_PROG_RANLIB])
|
||||||
AC_REQUIRE([AC_GNU_SOURCE])
|
|
||||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||||
AC_REQUIRE([AC_FUNC_FSEEKO])
|
AC_REQUIRE([AC_FUNC_FSEEKO])
|
||||||
])
|
])
|
||||||
@ -57,7 +56,7 @@ AC_SUBST([LTALLOCA])
|
|||||||
AC_LIBOBJ([connect])
|
AC_LIBOBJ([connect])
|
||||||
fi
|
fi
|
||||||
gl_SYS_SOCKET_MODULE_INDICATOR([connect])
|
gl_SYS_SOCKET_MODULE_INDICATOR([connect])
|
||||||
gl_HEADER_ERRNO_H
|
AC_REQUIRE([gl_HEADER_ERRNO_H])
|
||||||
gl_FUNC_FCLOSE
|
gl_FUNC_FCLOSE
|
||||||
gl_STDIO_MODULE_INDICATOR([fclose])
|
gl_STDIO_MODULE_INDICATOR([fclose])
|
||||||
gl_FLOAT_H
|
gl_FLOAT_H
|
||||||
@ -97,7 +96,7 @@ AC_SUBST([LTALLOCA])
|
|||||||
gl_STDLIB_MODULE_INDICATOR([malloc-posix])
|
gl_STDLIB_MODULE_INDICATOR([malloc-posix])
|
||||||
gl_FUNC_MKSTEMP
|
gl_FUNC_MKSTEMP
|
||||||
gl_STDLIB_MODULE_INDICATOR([mkstemp])
|
gl_STDLIB_MODULE_INDICATOR([mkstemp])
|
||||||
gl_MULTIARCH
|
AC_REQUIRE([gl_MULTIARCH])
|
||||||
gl_HEADER_NETDB
|
gl_HEADER_NETDB
|
||||||
gl_HEADER_NETINET_IN
|
gl_HEADER_NETINET_IN
|
||||||
AC_PROG_MKDIR_P
|
AC_PROG_MKDIR_P
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# multiarch.m4 serial 3
|
# multiarch.m4 serial 4
|
||||||
dnl Copyright (C) 2008 Free Software Foundation, Inc.
|
dnl Copyright (C) 2008, 2009 Free Software Foundation, Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
dnl with or without modifications, as long as this notice is preserved.
|
dnl with or without modifications, as long as this notice is preserved.
|
||||||
@ -19,16 +19,8 @@ dnl with or without modifications, as long as this notice is preserved.
|
|||||||
# Detect this situation and set the macro AA_APPLE_UNIVERSAL_BUILD at the
|
# Detect this situation and set the macro AA_APPLE_UNIVERSAL_BUILD at the
|
||||||
# beginning of config.h and set APPLE_UNIVERSAL_BUILD accordingly.
|
# beginning of config.h and set APPLE_UNIVERSAL_BUILD accordingly.
|
||||||
|
|
||||||
AC_DEFUN([gl_MULTIARCH],
|
dnl This macro must pass through AC_REQUIRE (never directly invoke it).
|
||||||
[
|
AC_DEFUN_ONCE([gl_MULTIARCH],
|
||||||
dnl This AC_REQUIRE is not necessary in theory. It works around a bug in
|
|
||||||
dnl autoconf <= 2.63: AC_REQUIRE invocations inside AC_REQUIREd macros are
|
|
||||||
dnl being handled better than AC_REQUIRE invocations inside normally invoked
|
|
||||||
dnl macros.
|
|
||||||
AC_REQUIRE([gl_MULTIARCH_BODY])
|
|
||||||
])
|
|
||||||
|
|
||||||
AC_DEFUN([gl_MULTIARCH_BODY],
|
|
||||||
[
|
[
|
||||||
dnl Code similar to autoconf-2.63 AC_C_BIGENDIAN.
|
dnl Code similar to autoconf-2.63 AC_C_BIGENDIAN.
|
||||||
gl_cv_c_multiarch=no
|
gl_cv_c_multiarch=no
|
||||||
|
Loading…
x
Reference in New Issue
Block a user