--- ./Configure.old 2003-09-30 15:48:47.000000000 -0700 +++ ./Configure 2003-09-30 15:48:18.601269256 -0700 @@ -953,12 +953,14 @@ if [ -d /sbin/init.d -o -d /etc/rc.d/init.d -o -d /etc/init.d ] ; then echo "It looks like you have a System V init file setup." SYSV_INIT=y - if [ -d /sbin/init.d ] ; then - RC_DIR=/sbin/init.d - elif [ -d /etc/rc.d/init.d ] ; then - RC_DIR=/etc/rc.d - else - RC_DIR=/etc + if [ -z "$RC_DIR" ] ; then + if [ -d /sbin/init.d ] ; then + RC_DIR=/sbin/init.d + elif [ -d /etc/rc.d/init.d ] ; then + RC_DIR=/etc/rc.d + else + RC_DIR=/etc + fi fi else echo "It looks like you have a BSD-ish init file setup." @@ -973,6 +975,7 @@ if [ "$SYSV_INIT" = "y" ] ; then write_str RC_DIR ; fi elif [ -z "$PREFIX" ] ; then write_str RC_DIR + write_bool SYSV_INIT else ask_bool "System V init script layout" SYSV_INIT if [ "$SYSV_INIT" = "y" ] ; then @@ -1055,7 +1058,7 @@ if [ -d "$L" ] ; then echo $L ; else echo $2 ; fi } -MANDIR=`md ls /usr/man` +MANDIR=`md ls /usr/share/man` write_str MANDIR XMANDIR=`md xterm /usr/X11R6/man` write_str XMANDIR