#! /bin/sh
# Site defaults for the DJGPP configuration

#
# (rich@phekda.freeserve.co.uk): config.site for Fileutils 4.1 - this is
# a copy of the config.site file from the DJGPP port of autoconf 2.50.
#

# NOTE: for optimal functionality, you should NOT have TEST_FINDS_EXE set,
# and PATH_SEPARATOR should either be unset, or set to ';'.

# Feel free to add others (.com, .btm, .sh, .pl, ...) to this list if you
# need configure scripts to find such files.  Try to limit it to things
# you need to avoid false positives.
ac_executable_extensions=".exe .bat"

# Enable these to avoid typical portability problems
#ac_cv_func_fork=no
#ac_cv_func_mkfifo=no
#ac_cv_func_mknod=no
#ac_cv_func_mmap=no
#ac_cv_func_pipe=no
#ac_cv_func_vfork=no

# By using this, results of configure's program checks will be more portable
PATH="/dev/env/DJDIR/bin;$PATH"

# This is REQUIRED: using simply "/bin/(ba)sh" will NOT work (m4 needs this
# to be a full path with executable suffix)
SHELL=/dev/env/DJDIR/bin/bash.exe
CONFIG_SHELL=$SHELL

#
# (rich@phekda.freeserve.co.uk): The following items were copied from
# config.site from the DJGPP port of Texinfo 4.2.
#

# The root of the DJGPP tree serves as the default prefix
# for all paths that are hardcoded in the binaries.
# When installing the installation prefix must be supplied.
test "x$prefix" = xNONE && prefix='/dev/env/DJDIR'

# These are set here so the generated Makefile's will be good
# for every DJGPP installation, not only the one where the
# package was configured.
# $INSTALL must be an absolute path name, otherwise config.status
# will try to prepend ./ and ../ to it when it goes into subdirs.
INSTALL=${INSTALL='/dev/env/DJDIR/bin/ginstall -c'}
RANLIB=${RANLIB='ranlib'}
GMSGFMT=${GMSGFMT='/dev/env/DJDIR/bin/msgfmt'}
MSGFMT=${MSGFMT='/dev/env/DJDIR/bin/msgfmt'}
XGETTEXT=${XGETTEXT='/dev/env/DJDIR/bin/xgettext'}

# Sane defaults for standard programs used by the build process.
# We force the values of these variables so that the resultant
# Makefile's will work on any DJGPP platform, not only on the
# machine where the package was configured.
ac_cv_prog_AWK=${AWK='gawk'}
ac_cv_prog_INTLBISON=${INTLBISON='bison'}
ac_cv_prog_CC=${CC='gcc'}

# These are set here so the generated libtool/Makefile's will
# be good for every DJGPP installation, not only the one where
# the package was configured.
NM=${NM='nm'}
LD=${LD='ld'}
MAKEINFO=${MAKEINFO='makeinfo'}

# Force the test for 'ln -s' to report 'cp -pf'.
ac_cv_prog_LN_S='cp -pf'

# We have `fork', but it always fails.  Don't trust Autoconf to be
# smart enough to detect that...
ac_cv_func_fork=no
ac_cv_func_vfork=no

#
# (rich@phekda.freeserve.co.uk): Fileutils 4.1 specials:
#

# We can't unlink() running programs on some platforms. So disallow it
# on all platforms.
jm_cv_func_unlink_busy_text=no
