--- ./Configure.old 2003-12-01 00:48:47.000000000 -0600 +++ ./Configure 2003-12-07 17:48:18.601269256 -0600 @@ -981,12 +981,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." @@ -1001,6 +1003,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 @@ -1098,7 +1101,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