代码拉取完成,页面将自动刷新
# SYNOPSIS
#
# Queries configuration environment.
#
# ACSM_SUMMARIZE_ENV([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
#
# DESCRIPTION
#
# Queries compile environment and SVN revision for use in configure summary
# and pre-processing macros.
#
# COPYLEFT
#
# Copyright (c) 2010 Karl W. Schulz <karl@ices.utexas.edu>
#
# Copying and distribution of this file, with or without modification, are
# permitted in any medium without royalty provided the copyright notice
# and this notice are preserved.
AC_DEFUN([ACSM_SUMMARIZE_ENV],
[
AC_CANONICAL_HOST
BUILD_USER=${USER}
BUILD_ARCH=${host}
BUILD_HOST=${ac_hostname}
BUILD_DATE=`date +'%F %H:%M'`
dnl Determine method for querying Source code revisioning (assumes git)
AC_PATH_PROG(gitquery,git)
AS_IF([test "x${gitquery}" = "x" || test ! -e $srcdir/.git],
[
GIT_REVISION="external"
GIT_CHECKOUT=false
BUILD_DEVSTATUS="External Release"
],
[
GIT_REVISION="`cd $srcdir ; ${gitquery} rev-parse HEAD`"
GIT_CHECKOUT=true
BUILD_DEVSTATUS="Development Build"
])
AC_SUBST(GIT_REVISION)
AC_SUBST(BUILD_DEVSTATUS)
AM_CONDITIONAL(GIT_CHECKOUT,test x${GIT_CHECKOUT} = xtrue )
dnl Query current version.
BUILD_VERSION=${GIT_REVISION}
dnl Versioning info - check local developer version (if checked out)
AC_DEFINE_UNQUOTED([BUILD_USER], "${BUILD_USER}", [The fine user who built the package])
AC_DEFINE_UNQUOTED([BUILD_ARCH], "${BUILD_ARCH}", [Architecture of the build host])
AC_DEFINE_UNQUOTED([BUILD_HOST], "${BUILD_HOST}", [Build host name])
AC_DEFINE_UNQUOTED([BUILD_VERSION], "${BUILD_VERSION}", [SVN revision])
AC_DEFINE_UNQUOTED([BUILD_DEVSTATUS],"${BUILD_DEVSTATUS}",[Dev/Release build])
AC_DEFINE( [BUILD_DATE], __DATE__ " " __TIME__, [Build date])
AC_SUBST(BUILD_USER)
AC_SUBST(BUILD_ARCH)
AC_SUBST(BUILD_HOST)
#AC_SUBST(BUILD_DATE)
AC_SUBST(BUILD_VERSION)
])
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。