# This file is a shell script fragment that supplies the information
# necessary to tailor a template configure script into the configure
# script appropriate for this directory.  For more information, check
# any existing configure script.

srctrigger=xconq.c
srcname="x11"

# per-host:

host_makefile_frag=`${srcdir}/../config.host ${host} ..`

# per-target:

# post-target:

if [ "${with_xpm}" = "yes" ] ; then
	sed -e '/# End of host and/i\
\
XPM_CFLAGS = -DHAVE_XPM\
WITH_LIBS = $(XPM_LIB)\
' < Makefile > Makefile.tem
	mv -f Makefile.tem Makefile
fi

if [ "${enable_selfile}" = "no" ] ; then
	sed -e '/# End of host and/i\
\
SELFILE_CFLAGS = \
SELFILE_LIB = \
' < Makefile > Makefile.tem
	mv -f Makefile.tem Makefile
fi
