--- Configure.orig 2013-03-04 15:16:21 UTC +++ Configure @@ -3246,6 +3246,8 @@ EOM *) osvers=$tmp;; esac ;; + bsdsunix) osname=bsdsunix + osvers="$3" ;; bsd386) osname=bsd386 osvers=`$uname -r` ;; @@ -3368,6 +3370,7 @@ EOM ;; $2) case "$osname" in *isc*) ;; + *bsdsunix*) ;; *freebsd*) ;; svr*) : svr4.x or possibly later @@ -3625,7 +3628,10 @@ esac . ./posthint.sh : who configured the system -cf_time=`LC_ALL=C; LANGUAGE=C; export LC_ALL; export LANGUAGE; $date 2>&1` +case "$cf_time" in +"") + cf_time=`LC_ALL=C; LANGUAGE=C; export LC_ALL; export LANGUAGE; $date 2>&1` ;; +esac case "$cf_by" in "") cf_by=`(logname) 2>/dev/null` @@ -4721,7 +4727,7 @@ esac libpth='' for xxx in $dlist do - if $test -d $xxx; then + if $test -d $xxx || [ $xxx = $prefix/lib ]; then case " $libpth " in *" $xxx "*) ;; *) libpth="$libpth $xxx";; @@ -8290,7 +8296,7 @@ if "$useshrplib"; then solaris) xxx="-R $shrpdir" ;; - freebsd|mirbsd|netbsd|openbsd|interix|dragonfly) + bsdsunix|freebsd|mirbsd|netbsd|openbsd|interix|dragonfly) xxx="-Wl,-R$shrpdir" ;; bsdos|linux|irix*|dec_osf|gnu*) @@ -9089,8 +9095,7 @@ prefixvar=siteman3dir : determine where add-on public executable scripts go case "$sitescript" in -'') dflt=$siteprefix/script - $test -d $dflt || dflt=$sitebin ;; +'') dflt=$sitebin ;; *) dflt="$sitescript" ;; esac fn=d~+ @@ -15515,7 +15520,7 @@ case "$d_msgctl$d_msgget$d_msgsnd$d_msgr *"$undef"*) h_msg=false;; esac case "$osname" in -freebsd) +bsdsunix|freebsd) case "`ipcs 2>&1`" in "SVID messages"*"not configured"*) echo "Your $osname does not have the msg*(2) configured." >&4 @@ -16741,7 +16746,7 @@ case "$d_semctl$d_semget$d_semop" in *"$undef"*) h_sem=false;; esac case "$osname" in -freebsd) +bsdsunix|freebsd) case "`ipcs 2>&1`" in "SVID messages"*"not configured"*) echo "Your $osname does not have the sem*(2) configured." >&4 @@ -17486,7 +17491,7 @@ case "$d_shmctl$d_shmget$d_shmat$d_shmdt *"$undef"*) h_shm=false;; esac case "$osname" in -freebsd) +bsdsunix|freebsd) case "`ipcs 2>&1`" in "SVID shared memory"*"not configured"*) echo "Your $osname does not have the shm*(2) configured." >&4