Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/amd/include PR/17103: FUKAUMI Naoki: Make this prin...



details:   https://anonhg.NetBSD.org/src/rev/5d406218e23b
branches:  trunk
changeset: 557543:5d406218e23b
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jan 11 18:37:01 2004 +0000

description:
PR/17103: FUKAUMI Naoki: Make this print the correct OS version and other
info. This breaks each time someone imports a new amd.

diffstat:

 usr.sbin/amd/include/config.h |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (49 lines):

diff -r 104c3be5441e -r 5d406218e23b usr.sbin/amd/include/config.h
--- a/usr.sbin/amd/include/config.h     Sun Jan 11 17:24:25 2004 +0000
+++ b/usr.sbin/amd/include/config.h     Sun Jan 11 18:37:01 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: config.h,v 1.31 2003/05/18 09:44:28 yamt Exp $ */
+/* $NetBSD: config.h,v 1.32 2004/01/11 18:37:01 christos Exp $ */
 
 /* config.h.  Generated by configure.  */
 /* config.h.in.  Generated from configure.in by autoheader.  */
@@ -22,8 +22,10 @@
 /* Type of the 5rd argument to authunix_create() */
 #define AUTH_CREATE_GIDLIST_TYPE gid_t
 
+#ifndef __NetBSD__
 /* Define configuration date */
 #define CONFIG_DATE "Sat Mar  8 17:15:36 EST 2003"
+#endif
 
 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
    systems. This function is required for `alloca.c' support on those systems.
@@ -1279,6 +1281,9 @@
 /* Name of mount type to hide amd mount from df(1) */
 #define HIDE_MOUNT_TYPE "nfs"
 
+#ifdef __NetBSD__
+#include <config_local.h>
+#else
 /* Define name of host machine's architecture (eg. sun4) */
 #define HOST_ARCH "i386"
 
@@ -1302,6 +1307,7 @@
 
 /* Define name of host machine's vendor (eg. sun) */
 #define HOST_VENDOR "unknown"
+#endif
 
 /* Ignore permission bits */
 /* #undef MNT2_CDFS_OPT_DEFPERM */
@@ -1924,8 +1930,10 @@
 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
 /* #undef TM_IN_SYS_TIME */
 
+#ifndef __NetBSD__
 /* Define user name */
 #define USER_NAME "christos"
+#endif
 
 /* define if must NOT use NFS "noconn" option */
 /* #undef USE_CONNECTED_NFS_SOCKETS */



Home | Main Index | Thread Index | Old Index