--- Configure.orig	Fri Jul  4 16:55:52 1997
+++ Configure	Fri Jul  4 16:56:50 1997
@@ -91,11 +91,11 @@
 *)	CDPATH='' ;;
 esac
 
-: Sanity checks
-if test ! -t 0; then
-	echo "Say 'sh $me', not 'sh <$me'"
-	exit 1
-fi
+: Sanity checks Disabled for FreeBSD port building - MarkM - May 1997
+: if test ! -t 0; : then
+:	echo "Say 'sh $me', not 'sh <$me'"
+:	exit 1
+: fi
 
 : Test and see if we are running under ksh, either blatantly or in disguise.
 if (PATH=.; alias -x) >/dev/null 2>&1; then
@@ -756,7 +756,7 @@
 : List of libraries we want.
 libswanted='sfio net socket inet nsl nm ndbm gdbm dbm db malloc dl'
 libswanted="$libswanted dld ld sun m c cposix posix ndir dir crypt"
-libswanted="$libswanted ucb bsd BSD PW x"
+libswanted="xpg4 $libswanted ucb bsd BSD PW x"
 : We probably want to search /usr/shlib before most other libraries.
 : This is only used by the lib/ExtUtils/MakeMaker.pm routine extliblist.
 glibpth=`echo " $glibpth " | sed -e 's! /usr/shlib ! !'`
