#! /bin/sh

# This is the config.site file for configuring GNU packages
# which are to be built with DJGPP tools.


# Include the djgpp subdirectory in PATH, so that getconf is found
PATH="$srcdir/djgpp:$PATH"

# 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
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'}
#GMSGFMT=${GMSGFMT='/dev/env/DJDIR/bin/msgfmt'}
#MSGFMT=${MSGFMT='/dev/env/DJDIR/bin/msgfmt'}
#XGETTEXT=${XGETTEXT='/dev/env/DJDIR/bin/xgettext'}
AWK=${AWK='gawk'}

# A sane default for emacs.
ac_cv_path_EMACS=${EMACS='/dev/env/DJDIR/gnu/emacs/bin/emacs'}

# A sane default for m4.
ac_cv_path_M4=${M4='/dev/env/DJDIR/bin/m4'}

# A sane default for grep.
ac_cv_path_GREP=${GREP='/dev/env/DJDIR/bin/grep'}

# A sane default for egrep.
ac_cv_path_EGREP=${EGREP='/dev/env/DJDIR/bin/egrep'}

# A sane default for fgrep.
ac_cv_path_FGREP=${FGREP='/dev/env/DJDIR/bin/fgrep'}

# A sane default for sed.
ac_cv_path_SED=${SED='/dev/env/DJDIR/bin/sed'}

# A sane default for makeinfo.
ac_cv_path_MAKEINFO=${MAKEINFO='/dev/env/DJDIR/bin/makeinfo'}

# A sane default for makeinfo.
ac_cv_path_INSTALL_INFO=${INSTALL_INFO='/dev/env/DJDIR/bin/install-info'}

# A sane default for roff.
ac_cv_path_ROFF=${ROFF='/dev/env/DJDIR/bin/groff'}

# A sane default for groff.
ac_cv_path_GROFF=${GROFF='/dev/env/DJDIR/bin/groff'}

# A sane default for nroff.
ac_cv_path_NROFF=${NROFF='/dev/env/DJDIR/bin/nroff'}

# A sane default for perl.
ac_cv_path_PERL=${PERL='/dev/env/DJDIR/bin/perl'}

# A sane default for mkdir.
ac_cv_path_mkdir=${MKDIR_P='/dev/env/DJDIR/bin/mkdir -p'}

# A sane default for rm.
ac_cv_path_RM=${RM='/dev/env/DJDIR/bin/rm'}

# A sane default for mv.
ac_cv_path_MV=${MV='/dev/env/DJDIR/bin/mv'}

# A sane default for tar.
ac_cv_path_TAR=${TAR='/dev/env/DJDIR/bin/tar'}

# A sane default for pr.
ac_cv_path_PR_PROGRAM=${PR='/dev/env/DJDIR/bin/pr'}

# A sane default for ed.
ac_cv_path_ed_PROGRAM=${ED='/dev/env/DJDIR/bin/ed'}

# A sane default for bash.
ac_cv_path_TEST_SHELL=${TEST_SHELL='/dev/env/DJDIR/bin/bash'}

# A sane default for mktemp.
ac_cv_path_MKTEMP=${MKTEMP='/dev/env/DJDIR/bin/mktemp'}

# These are set here so the generated libtool will be good
# for every DJGPP installation, not only the one where the
# package was configured.
AR=${AR='/dev/env/DJDIR/bin/ar'}
LD=${LD='/dev/env/DJDIR/bin/ld'}
NM=${NM='/dev/env/DJDIR/bin/nm'}
STRIP=${STRIP='/dev/env/DJDIR/bin/strip'}
RANLIB=${RANLIB='/dev/env/DJDIR/bin/ranlib'}

# These are set here so the generated config.h will be good
# for every DJGPP installation, not only the one where the
# package was configured.
gl_cv_absolute_stdint_h=${gl_cv_absolute_stdint_h='/dev/env/DJDIR/include/stdint.h'}
gl_cv_absolute_string_h=${gl_cv_absolute_string_h='/dev/env/DJDIR/include/string.h'}
gl_cv_absolute_sys_stat_h=${gl_cv_absolute_sys_stat_h='/dev/env/DJDIR/include/sys/stat.h'}
gl_cv_absolute_sys_time_h=${gl_cv_absolute_sys_time_h='/dev/env/DJDIR/include/sys/time.h'}
gl_cv_absolute_inttypes_h=${gl_cv_absolute_inttypes_h='/dev/env/DJDIR/include/inttypes.h'}
gl_cv_absolute_unistd_h=${gl_cv_absolute_unistd_h='/dev/env/DJDIR/include/unistd.h'}
gl_cv_absolute_wchar_h=${gl_cv_absolute_wchar_h='/dev/env/DJDIR/include/wchar.h'}
gl_cv_absolute_wctype_h=${gl_cv_absolute_wctype_h='/dev/env/DJDIR/include/wctype.h'}
gl_cv_absolute_stdlib_h=${gl_cv_absolute_stdlib_h='/dev/env/DJDIR/include/stdlib.h'}

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

# There is no fork and vfork functionality.
ac_cv_func_fork=no
ac_cv_func_fork_works=no
ac_cv_func_vfork=no
ac_cv_func_vfork_works=no
ac_cv_func_pipe=no

# Discard iconv support.
ac_cv_header_iconv_h=no
am_cv_func_iconv=no
am_cv_lib_iconv=no
am_cv_func_iconv_works=no

# Ensure that always old GNU extern inline semantics is used
# (aka -fgnu89-inline) even if ISO C99 semantics has been specified.
CFLAGS=${CFLAGS='-g -O2 -fgnu89-inline'}
