Add new BUILD_* knobs, and switch our definition & setting of BUILD_*

and configured settings.
This commit is contained in:
David E. O'Brien 2007-12-05 16:23:34 +00:00
parent c640c5f4d9
commit 105f3b4415
2 changed files with 8 additions and 6 deletions

View File

@ -1,6 +1,8 @@
/* do not edit this file by hand */
/* auto-generated by update_build_version script */
/* #define AMU_BUILD_VERSION 1 */
/* $FreeBSD$ */
#include <sys/param.h>
/*#define AMU_BUILD_VERSION 1 */
#define AMU_BUILD_VERSION __FreeBSD_version
#define USER_NAME "David O'Brien <obrien"
#define HOST_NAME "FreeBSD.org>"
#define CONFIG_DATE "4-December-2007 PST"

View File

@ -32,12 +32,12 @@ fi
cat << __EOF
/* Define name of host */
#define HOST_NAME "`hostname`"
#define BUILD_HOST "`hostname`"
/* Define user name */
#define USER_NAME "`whoami`"
#define BUILD_USER "`whoami`"
/* Define configuration date */
#define CONFIG_DATE "`LC_ALL=C date`"
#define BUILD_DATE "`LC_ALL=C date`"
__EOF