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

# Copyright (C) 2001 Free Software Foundation, Inc.

# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.

# Written by Eli Zaretskii.


# These two variables are required, otherwise looking for
# programs along the PATH will not work.
PATH_SEPARATOR=:
PATH_EXPAND=y

# This is required in for "test -f foo" to find foo.exe.
export TEST_FINDS_EXE=y

# 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'

# This is required for config.status script to be run, since
# ./configure runs it by invoking ${CONFIG_SHELL-/bin/sh}
# CONFIG_SHELL=${CONFIG_SHELL='sh'}

# 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 compiled into the package that
# we are about to build.  Use .exe extension so that library functions
# invoking these programs will provide a better diagnostics when a
# program is not found: the library won't need to call the stock DOS
# shell, which always returns a zero status, even if it doesn't find
# the program.
ac_cv_path_PR_PROGRAM=${PR_PROGRAM='/dev/env/DJDIR/bin/pr.exe'}

# 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
