6 Star 0 Fork 7

src-openEuler/booth

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
backport-Build-Remove-unneeded-cruft-from-configure.ac.patch 2.11 KB
一键复制 编辑 原始数据 按行查看 历史
From b8c9ff822dfed1d5de2eb99726dff7f77122d956 Mon Sep 17 00:00:00 2001
From: Chris Lumens <clumens@redhat.com>
Date: Wed, 26 Jun 2024 16:17:34 -0400
Subject: [PATCH 46/50] Build: Remove unneeded cruft from configure.ac.
* Whatever WITH_LIST used to do, it is no longer referenced anywhere.
* Remove support for building as ANSI C.
---
configure.ac | 15 +--------------
1 file changed, 1 insertion(+), 14 deletions(-)
diff --git a/configure.ac b/configure.ac
index 3a8ebec..97abbbd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,8 +20,6 @@ AC_CANONICAL_HOST
AC_LANG([C])
-AC_SUBST(WITH_LIST, [""])
-
dnl Fix default variables - "prefix" variable if not specified
if test "$prefix" = "NONE"; then
prefix="/usr"
@@ -436,16 +434,6 @@ else
COVERAGE_LDFLAGS=""
fi
-
-if test "x${enable_ansi}" = xyes && \
- cc_supports_flag -std=iso9899:199409 ; then
- AC_MSG_NOTICE([Enabling ANSI Compatibility])
- ANSI_CPPFLAGS="-ansi -D_GNU_SOURCE -DANSI_ONLY"
- PACKAGE_FEATURES="$PACKAGE_FEATURES ansi"
-else
- ANSI_CPPFLAGS=""
-fi
-
if test "x${enable_fatal_warnings}" = xyes && \
cc_supports_flag -Werror ; then
AC_MSG_NOTICE([Enabling Fatal Warnings (-Werror)])
@@ -465,7 +453,7 @@ fi
# final build of *FLAGS
CFLAGS="$ENV_CFLAGS $OPT_CFLAGS $GDB_FLAGS $OS_CFLAGS \
$COVERAGE_CFLAGS $EXTRA_WARNINGS $WERROR_CFLAGS $LIBGNUTLS_CFLAGS"
-CPPFLAGS="$ENV_CPPFLAGS $ANSI_CPPFLAGS $OS_CPPFLAGS $GLIB_CFLAGS $RESMON_CFLAGS $XML_CFLAGS"
+CPPFLAGS="$ENV_CPPFLAGS $OS_CPPFLAGS $GLIB_CFLAGS $RESMON_CFLAGS $XML_CFLAGS"
LDFLAGS="$ENV_LDFLAGS $COVERAGE_LDFLAGS $OS_LDFLAGS"
LIBS="$LIBS $XML_LIBS $LIBGNUTLS_LIBS"
@@ -521,7 +509,6 @@ AC_MSG_RESULT([ Extra compiler warnings = ${EXTRA_WARNING}])
AC_MSG_RESULT([ Env. defined CFLAG = ${ENV_CFLAGS}])
AC_MSG_RESULT([ Env. defined CPPFLAGS = ${ENV_CPPFLAGS}])
AC_MSG_RESULT([ Env. defined LDFLAGS = ${ENV_LDFLAGS}])
-AC_MSG_RESULT([ ANSI defined CPPFLAGS = ${ANSI_CPPFLAGS}])
AC_MSG_RESULT([ Coverage CFLAGS = ${COVERAGE_CFLAGS}])
AC_MSG_RESULT([ Coverage LDFLAGS = ${COVERAGE_LDFLAGS}])
AC_MSG_RESULT([ Fatal War. CFLAGS = ${WERROR_CFLAGS}])
--
2.25.1
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/booth.git
git@gitee.com:src-openeuler/booth.git
src-openeuler
booth
booth
master

搜索帮助