Remove unused (and completely bogus) SYSTEM_NAME define from

include/cdk_config.h
This commit is contained in:
simonb 2004-04-26 05:15:17 +00:00
parent f8d7121559
commit ff04be0dcd
4 changed files with 2 additions and 9 deletions

2
dist/cdk/aclocal.m4 vendored
View File

@ -78,8 +78,6 @@ else
system_name="`(hostname) 2>/dev/null`"
fi
fi
test -n "$system_name" && AC_DEFINE_UNQUOTED(SYSTEM_NAME,"$system_name")
AC_CACHE_VAL(cf_cv_system_name,[cf_cv_system_name="$system_name"])
test -z "$system_name" && system_name="$cf_cv_system_name"
test -n "$cf_cv_system_name" && AC_MSG_RESULT("Configuring for $cf_cv_system_name")

3
dist/cdk/configure vendored
View File

@ -588,9 +588,6 @@ else
system_name="`(hostname) 2>/dev/null`"
fi
fi
test -n "$system_name" && cat >> confdefs.h <<EOF
#define SYSTEM_NAME "$system_name"
EOF
if eval "test \"`echo '$''{'cf_cv_system_name'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6

View File

@ -1,6 +1,6 @@
/* include/cdk_config.h. Generated automatically by configure. */
/*
* $Id: cdk_config.h,v 1.1.1.1 2001/01/04 19:58:54 garbled Exp $
* $Id: cdk_config.h,v 1.2 2004/04/26 05:15:17 simonb Exp $
*/
#ifndef CDK_CONFIG_H
@ -26,7 +26,6 @@
/* #undef NCURSES */
#define RETSIGTYPE void
#define STDC_HEADERS 1
#define SYSTEM_NAME "netbsd1.4Y"
#define TYPE_CHTYPE_IS_SCALAR 1
#if !defined(HAVE_LSTAT) && !defined(lstat)

View File

@ -1,5 +1,5 @@
/*
* $Id: config.hin,v 1.1.1.1 2001/01/04 19:58:46 garbled Exp $
* $Id: config.hin,v 1.2 2004/04/26 05:15:17 simonb Exp $
*/
#ifndef CDK_CONFIG_H
@ -25,7 +25,6 @@
#undef NCURSES
#define RETSIGTYPE @RETSIGTYPE@
#undef STDC_HEADERS
#define SYSTEM_NAME @SYSTEM_NAME@
#undef TYPE_CHTYPE_IS_SCALAR
#if !defined(HAVE_LSTAT) && !defined(lstat)