OS='SCO 5'
CFLAGS="$CFLAGS -DSCO5"
LIBS="$LIBS -lsocket -lmalloc -lprot"
- OSBPRINTF="-K noinline"
+ if [ "$CC" = "cc" ] || [ "$COMPILER" = "cc" ]; then
+ OSBPRINTF="-K noinline"
+ fi
DEF_WANTHSREGEX=no
;;
*-solaris2*)
if (dir_config)
dir_conf = (core_dir_config *)get_module_config(dir_config, &core_module);
- if ((!dir_conf) || (type != REMOTE_NOLOOKUP && conn->remote_host == NULL && dir_conf->hostname_lookups))
+ if ((!dir_conf) || (type == REMOTE_FORCE_HOST && conn->remote_host == NULL)
+ || (type != REMOTE_NOLOOKUP
+ && conn->remote_host == NULL && dir_conf->hostname_lookups))
{
#ifdef STATUS
int old_stat = update_child_status(conn->child_num,
return conn->remote_host;
else
{
- if (type == REMOTE_HOST) return NULL;
+ if (type == REMOTE_HOST || type == REMOTE_FORCE_HOST) return NULL;
else return conn->remote_ip;
}
}