#!/bin/sh

# $Id: getXDirs,v 1.2 1996/03/15 11:00:39 svein Exp $

# Determine the X Window System directory parameters (without validation)

if test "$XITE_HOSTTYPE" = "SunOS5"
then
	x_inc_dir_def=/usr/openwin/include
	x_lib_dir_def=/usr/openwin/lib
else
	x_inc_dir_def=/usr/include
	x_lib_dir_def=/usr/lib
fi

X_INC_DIR=\
`$getDir "$X_INC_DIR" "$x_inc_dir_def" 'Directory for X Window System include files' "$TMP_INSTALL" "stderr" 1`

X_LIB_DIR=\
`$getDir "$X_LIB_DIR" "$x_lib_dir_def" 'Directory for X Window System libraries' "$TMP_INSTALL" "stderr" 1`

echo "X_INC_DIR=$X_INC_DIR; X_LIB_DIR=$X_LIB_DIR"
echo "export X_INC_DIR X_LIB_DIR"
