1#! /bin/sh
2
3# This is the config.site file for configuring GNU packages
4# which are to be built with DJGPP tools.
5
6# Copyright (C) 2005, 2006 Free Software Foundation, Inc.
7
8# This program is free software; you can redistribute it and/or modify
9# it under the terms of the GNU General Public License as published by
10# the Free Software Foundation; either version 2, or (at your option)
11# any later version.
12
13# This program is distributed in the hope that it will be useful,
14# but WITHOUT ANY WARRANTY; without even the implied warranty of
15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16# GNU General Public License for more details.
17
18# You should have received a copy of the GNU General Public License
19# along with this program; if not, write to the Free Software Foundation,
20# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21
22
23# Include the djgpp subdirectory in PATH, so that getconf is found
24PATH="$srcdir/djgpp:$PATH"
25
26# These two variables are required, otherwise looking for
27# programs along the PATH will not work.
28PATH_SEPARATOR=:
29PATH_EXPAND=y
30
31# This is required in for "test -f foo" to find foo.exe
32export TEST_FINDS_EXE=y
33
34# The root of the DJGPP tree serves as the default prefix
35test "x$prefix" = xNONE && prefix='/dev/env/DJDIR'
36
37# This is required for config.status script to be run, since
38# ./configure runs it by invoking ${CONFIG_SHELL-/bin/sh}
39CONFIG_SHELL=${CONFIG_SHELL='sh'}
40
41# These are set here so the generated Makefile's will be good
42# for every DJGPP installation, not only the one where the
43# package was configured.
44# $INSTALL must be an absolute path name, otherwise config.status
45# will try to prepend ./ and ../ to it when it goes into subdirs.
46INSTALL=${INSTALL='/dev/env/DJDIR/bin/ginstall -c'}
47RANLIB=${RANLIB='ranlib'}
48GMSGFMT=${GMSGFMT='/dev/env/DJDIR/bin/msgfmt'}
49MSGFMT=${MSGFMT='/dev/env/DJDIR/bin/msgfmt'}
50XGETTEXT=${XGETTEXT='/dev/env/DJDIR/bin/xgettext'}
51AWK=${AWK='gawk'}
52
53# A sane default for emacs.
54ac_cv_path_EMACS=${EMACS='/dev/env/DJDIR/gnu/emacs/bin/emacs'}
55
56# A sane default for m4.
57ac_cv_path_M4=${M4='/dev/env/DJDIR/bin/m4'}
58
59# A sane default for grep.
60ac_cv_path_GREP=${GREP='/dev/env/DJDIR/bin/grep'}
61
62# A sane default for egrep.
63ac_cv_path_EGREP=${EGREP='/dev/env/DJDIR/bin/egrep'}
64
65# A sane default for fgrep.
66ac_cv_path_FGREP=${FGREP='/dev/env/DJDIR/bin/fgrep'}
67
68# A sane default for sed.
69ac_cv_path_SED=${SED='/dev/env/DJDIR/bin/sed'}
70
71# These are set here so the generated libtool will be good
72# for every DJGPP installation, not only the one where the
73# package was configured.
74NM=${NM='nm'}
75LD=${LD='ld'}
76
77# Force the test for 'ln -s' to report 'cp -pf'.
78ac_cv_prog_LN_S='cp -pf'
79
80# There is no fork and vfork functionality.
81ac_cv_func_fork=no
82ac_cv_func_vfork=no
83ac_cv_func_pipe=no
84