:

mydir=$1
smtp_ok=''

if $test "$d_netdb" = "$define" ; then
	if $test $d_dynamic_main = "$define" ; then
		smtp_ok="$define"
	else
		$cat <<EOM
Unable to found how resolve mail program symbols from dynamic libary,
therefore SMTP is not available...

EOM
	smtp_ok="$undef"
	fi
else
	$echo "No <netdb.h> therefore SMTP is not available..."
	smtp_ok="$undef"
fi

$spitshell <<EOT > ../$mydir/config.res 
#  Support for SMTP
smtp_ok='$smtp_ok'

EOT
