]> git.saurik.com Git - bison.git/blame - djgpp/config.site
2009-08-19 Akim Demaille <demaille@gostai.com>
[bison.git] / djgpp / config.site
CommitLineData
3768a1ae
JMG
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
401b73af
JD
6# Copyright (C) 2005, 2006, 2007, 2008-2009 Free Software Foundation,
7# Inc.
02650b7f 8
f16b0819 9# This program is free software: you can redistribute it and/or modify
02650b7f 10# it under the terms of the GNU General Public License as published by
f16b0819
PE
11# the Free Software Foundation, either version 3 of the License, or
12# (at your option) any later version.
13#
02650b7f
PE
14# This program is distributed in the hope that it will be useful,
15# but WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17# GNU General Public License for more details.
f16b0819 18#
02650b7f 19# You should have received a copy of the GNU General Public License
f16b0819 20# along with this program. If not, see <http://www.gnu.org/licenses/>.
02650b7f
PE
21
22
3768a1ae 23# Include the djgpp subdirectory in PATH, so that getconf is found
b01df036 24PATH="$srcdir/djgpp:$PATH"
3768a1ae
JMG
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
3768a1ae
JMG
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'}
1a1a5826 51AWK=${AWK='gawk'}
3768a1ae
JMG
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
f5d5ecdf
JMG
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
e37c665c 71# A sane default for mkdir.
c7c8ecd1 72ac_cv_path_mkdir=${MKDIR_P='/dev/env/DJDIR/bin/mkdir -p'}
e37c665c 73
3768a1ae
JMG
74# These are set here so the generated libtool will be good
75# for every DJGPP installation, not only the one where the
76# package was configured.
77NM=${NM='nm'}
78LD=${LD='ld'}
79
80# Force the test for 'ln -s' to report 'cp -pf'.
81ac_cv_prog_LN_S='cp -pf'
82
83# There is no fork and vfork functionality.
84ac_cv_func_fork=no
85ac_cv_func_vfork=no
86ac_cv_func_pipe=no