- (djm) Fix printing of $DISPLAY hack if set by system type. Report from

Kevin Steves <stevesk@sweden.hp.com>
This commit is contained in:
Damien Miller 2000-08-30 10:03:33 +11:00
parent 7cfaaf234f
commit 9a94734d25
2 changed files with 19 additions and 12 deletions

View File

@ -5,6 +5,8 @@
- (djm) HPUX 11 needs USE_PIPES as well: Kevin Steves - (djm) HPUX 11 needs USE_PIPES as well: Kevin Steves
<stevesk@sweden.hp.com> <stevesk@sweden.hp.com>
- (djm) Quieten the pam delete credentials error message - (djm) Quieten the pam delete credentials error message
- (djm) Fix printing of $DISPLAY hack if set by system type. Report from
Kevin Steves <stevesk@sweden.hp.com>
20000829 20000829
- (djm) Fix ^C ignored issue on Solaris. Diagnosis from Gert - (djm) Fix ^C ignored issue on Solaris. Diagnosis from Gert

View File

@ -59,7 +59,7 @@ case "$host" in
CFLAGS="$CFLAGS -Ae" CFLAGS="$CFLAGS -Ae"
fi fi
CFLAGS="$CFLAGS -D_HPUX_SOURCE" CFLAGS="$CFLAGS -D_HPUX_SOURCE"
AC_DEFINE(IPADDR_IN_DISPLAY) IPADDR_IN_DISPLAY=yes
AC_DEFINE(USE_PIPES) AC_DEFINE(USE_PIPES)
AC_MSG_CHECKING(for HPUX trusted system password database) AC_MSG_CHECKING(for HPUX trusted system password database)
if test -f /tcb/files/auth/system/default; then if test -f /tcb/files/auth/system/default; then
@ -76,7 +76,7 @@ case "$host" in
;; ;;
*-*-hpux11*) *-*-hpux11*)
CFLAGS="$CFLAGS -D_HPUX_SOURCE" CFLAGS="$CFLAGS -D_HPUX_SOURCE"
AC_DEFINE(IPADDR_IN_DISPLAY) IPADDR_IN_DISPLAY=yes
AC_DEFINE(USE_PIPES) AC_DEFINE(USE_PIPES)
AC_MSG_CHECKING(for HPUX trusted system password database) AC_MSG_CHECKING(for HPUX trusted system password database)
if test -f /tcb/files/auth/system/default; then if test -f /tcb/files/auth/system/default; then
@ -1094,16 +1094,21 @@ if test -z "$disable_shadow" ; then
fi fi
# Use ip address instead of hostname in $DISPLAY # Use ip address instead of hostname in $DISPLAY
DISPLAY_HACK_MSG="no" if test ! -z "$IPADDR_IN_DISPLAY" ; then
AC_ARG_WITH(ipaddr-display, DISPLAY_HACK_MSG="yes"
[ --with-ipaddr-display Use ip address instead of hostname in \$DISPLAY], AC_DEFINE(IPADDR_IN_DISPLAY)
[ else
if test "x$withval" != "xno" ; then DISPLAY_HACK_MSG="no"
AC_DEFINE(IPADDR_IN_DISPLAY) AC_ARG_WITH(ipaddr-display,
DISPLAY_HACK_MSG="yes" [ --with-ipaddr-display Use ip address instead of hostname in \$DISPLAY],
fi [
] if test "x$withval" != "xno" ; then
) AC_DEFINE(IPADDR_IN_DISPLAY)
DISPLAY_HACK_MSG="yes"
fi
]
)
fi
# Whether to mess with the default path # Whether to mess with the default path
SERVER_PATH_MSG="(default)" SERVER_PATH_MSG="(default)"