Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
aa7c4102
L
libvirt
项目概览
openeuler
/
libvirt
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
libvirt
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
aa7c4102
编写于
1月 27, 2009
作者:
J
Jim Meyering
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update from gnulib
上级
339cc9d9
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
74 addition
and
10 deletion
+74
-10
ChangeLog
ChangeLog
+4
-0
gnulib/lib/Makefile.am
gnulib/lib/Makefile.am
+1
-0
gnulib/lib/stdlib.in.h
gnulib/lib/stdlib.in.h
+7
-1
gnulib/m4/00gnulib.m4
gnulib/m4/00gnulib.m4
+30
-0
gnulib/m4/extensions.m4
gnulib/m4/extensions.m4
+15
-5
gnulib/m4/gnulib-common.m4
gnulib/m4/gnulib-common.m4
+2
-1
gnulib/m4/gnulib-comp.m4
gnulib/m4/gnulib-comp.m4
+1
-0
gnulib/m4/stdlib_h.m4
gnulib/m4/stdlib_h.m4
+14
-3
未找到文件。
ChangeLog
浏览文件 @
aa7c4102
Tue Jan 27 10:38:09 +0100 2009 Jim Meyering <meyering@redhat.com>
update from gnulib
Mon Jan 26 20:40:35 +0100 2009 Jim Meyering <meyering@redhat.com>
build: avoid format warnings
...
...
gnulib/lib/Makefile.am
浏览文件 @
aa7c4102
...
...
@@ -686,6 +686,7 @@ stdlib.h: stdlib.in.h
sed
-e
's|@''INCLUDE_NEXT''@|
$(INCLUDE_NEXT)
|g'
\
-e
's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g'
\
-e
's|@''NEXT_STDLIB_H''@|
$(NEXT_STDLIB_H)
|g'
\
-e
's|@''HAVE_RANDOM_H''@|
$(HAVE_RANDOM_H)
|g'
\
-e
's|@''GNULIB_MALLOC_POSIX''@|
$(GNULIB_MALLOC_POSIX)
|g'
\
-e
's|@''GNULIB_REALLOC_POSIX''@|
$(GNULIB_REALLOC_POSIX)
|g'
\
-e
's|@''GNULIB_CALLOC_POSIX''@|
$(GNULIB_CALLOC_POSIX)
|g'
\
...
...
gnulib/lib/stdlib.in.h
浏览文件 @
aa7c4102
/* A GNU-like <stdlib.h>.
Copyright (C) 1995, 2001-2004, 2006-200
8
Free Software Foundation, Inc.
Copyright (C) 1995, 2001-2004, 2006-200
9
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
...
...
@@ -41,6 +41,12 @@
# include <sys/loadavg.h>
#endif
/* OSF/1 5.1 declares 'struct random_data' in <random.h>, which is included
from <stdlib.h> if _REENTRANT is defined. Include it always. */
#if @HAVE_RANDOM_H@
# include <random.h>
#endif
#if @GNULIB_RANDOM_R@ || !@HAVE_STRUCT_RANDOM_DATA@
# include <stdint.h>
#endif
...
...
gnulib/m4/00gnulib.m4
0 → 100644
浏览文件 @
aa7c4102
# 00gnulib.m4 serial 1
dnl Copyright (C) 2009 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
dnl This file must be named something that sorts before all other
dnl gnulib-provided .m4 files. It is needed until such time as we can
dnl assume Autoconf 2.64, with its improved AC_DEFUN_ONCE semantics.
# AC_DEFUN_ONCE(NAME, VALUE)
# --------------------------
# Define NAME to expand to VALUE on the first use (whether by direct
# expansion, or by AC_REQUIRE), and to nothing on all subsequent uses.
# Avoid bugs in AC_REQUIRE in Autoconf 2.63 and earlier. This
# definition is slower than the version in Autoconf 2.64, because it
# can only use interfaces that existed since 2.59; but it achieves the
# same effect. Quoting is necessary to avoid confusing Automake.
m4_version_prereq([2.63.263], [],
[m4_define([AC][_DEFUN_ONCE],
[AC][_DEFUN([$1],
[AC_REQUIRE([_gl_DEFUN_ONCE([$1])],
[m4_indir([_gl_DEFUN_ONCE([$1])])])])]dnl
[AC][_DEFUN([_gl_DEFUN_ONCE([$1])], [$2])])])
# gl_00GNULIB
# -----------
# Witness macro that this file has been included. Needed to force
# Automake to include this file prior to all other gnulib .m4 files.
AC_DEFUN([gl_00GNULIB])
gnulib/m4/extensions.m4
浏览文件 @
aa7c4102
# serial
6
-*- Autoconf -*-
# serial
8
-*- Autoconf -*-
# Enable extensions on systems that normally disable them.
# Copyright (C) 2003, 2006-200
8
Free Software Foundation, Inc.
# Copyright (C) 2003, 2006-200
9
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.
...
...
@@ -20,7 +20,7 @@
# AC_DEFINE. The goal here is to define all known feature-enabling
# macros, then, if reports of conflicts are made, disable macros that
# cause problems on some platforms (such as __EXTENSIONS__).
AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS],
AC_DEFUN
_ONCE
([AC_USE_SYSTEM_EXTENSIONS],
[AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl
AC_BEFORE([$0], [AC_RUN_IFELSE])dnl
...
...
@@ -90,5 +90,15 @@ AC_BEFORE([$0], [AC_RUN_IFELSE])dnl
# ------------------------
# Enable extensions on systems that normally disable them,
# typically due to standards-conformance issues.
AC_DEFUN([gl_USE_SYSTEM_EXTENSIONS],
[AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])])
AC_DEFUN_ONCE([gl_USE_SYSTEM_EXTENSIONS],
[
dnl Require this macro before AC_USE_SYSTEM_EXTENSIONS.
dnl gnulib does not need it. But if it gets required by third-party macros
dnl after AC_USE_SYSTEM_EXTENSIONS is required, autoconf 2.62..2.63 emit a
dnl warning: "AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS".
dnl Note: We can do this only for one of the macros AC_AIX, AC_GNU_SOURCE,
dnl AC_MINIX. If people still use AC_AIX or AC_MINIX, they are out of luck.
AC_REQUIRE([AC_GNU_SOURCE])
AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
])
gnulib/m4/gnulib-common.m4
浏览文件 @
aa7c4102
# gnulib-common.m4 serial
8
# gnulib-common.m4 serial
9
dnl Copyright (C) 2007-2009 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
...
...
@@ -8,6 +8,7 @@ dnl with or without modifications, as long as this notice is preserved.
# is expanded unconditionally through gnulib-tool magic.
AC_DEFUN([gl_COMMON], [
dnl Use AC_REQUIRE here, so that the code is expanded once only.
AC_REQUIRE([gl_00GNULIB])
AC_REQUIRE([gl_COMMON_BODY])
])
AC_DEFUN([gl_COMMON_BODY], [
...
...
gnulib/m4/gnulib-comp.m4
浏览文件 @
aa7c4102
...
...
@@ -408,6 +408,7 @@ AC_DEFUN([gl_FILE_LIST], [
lib/w32sock.h
lib/wchar.in.h
lib/xsize.h
m4/00gnulib.m4
m4/alloca.m4
m4/arpa_inet_h.m4
m4/close.m4
...
...
gnulib/m4/stdlib_h.m4
浏览文件 @
aa7c4102
# stdlib_h.m4 serial 1
3
dnl Copyright (C) 2007
, 2008
Free Software Foundation, Inc.
# stdlib_h.m4 serial 1
4
dnl Copyright (C) 2007
-2009
Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
...
...
@@ -8,9 +8,20 @@ AC_DEFUN([gl_STDLIB_H],
[
AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
gl_CHECK_NEXT_HEADERS([stdlib.h])
AC_CHECK_HEADERS([random.h])
if test $ac_cv_header_random_h = yes; then
HAVE_RANDOM_H=1
else
HAVE_RANDOM_H=0
fi
AC_SUBST([HAVE_RANDOM_H])
AC_CHECK_TYPES([struct random_data],
[], [HAVE_STRUCT_RANDOM_DATA=0],
[[#include <stdlib.h>]])
[[#include <stdlib.h>
#if HAVE_RANDOM_H
# include <random.h>
#endif
]])
])
AC_DEFUN([gl_STDLIB_MODULE_INDICATOR],
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录