]> git.saurik.com Git - bison.git/blame - djgpp/config.site
maint: prepare forthcoming changes
[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
34136e65 6# Copyright (C) 2005-2012 Free Software Foundation, Inc.
02650b7f 7
f16b0819 8# This program is free software: you can redistribute it and/or modify
02650b7f 9# it under the terms of the GNU General Public License as published by
f16b0819
PE
10# the Free Software Foundation, either version 3 of the License, or
11# (at your option) any later version.
12#
02650b7f
PE
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.
f16b0819 17#
02650b7f 18# You should have received a copy of the GNU General Public License
f16b0819 19# along with this program. If not, see <http://www.gnu.org/licenses/>.
02650b7f
PE
20
21
3768a1ae 22# Include the djgpp subdirectory in PATH, so that getconf is found
b01df036 23PATH="$srcdir/djgpp:$PATH"
3768a1ae
JMG
24
25# These two variables are required, otherwise looking for
26# programs along the PATH will not work.
27PATH_SEPARATOR=:
28PATH_EXPAND=y
29
30# This is required in for "test -f foo" to find foo.exe
31export TEST_FINDS_EXE=y
32
33# The root of the DJGPP tree serves as the default prefix
34test "x$prefix" = xNONE && prefix='/dev/env/DJDIR'
35
36# This is required for config.status script to be run, since
37# ./configure runs it by invoking ${CONFIG_SHELL-/bin/sh}
38CONFIG_SHELL=${CONFIG_SHELL='sh'}
39
3768a1ae
JMG
40# These are set here so the generated Makefile's will be good
41# for every DJGPP installation, not only the one where the
42# package was configured.
43# $INSTALL must be an absolute path name, otherwise config.status
44# will try to prepend ./ and ../ to it when it goes into subdirs.
45INSTALL=${INSTALL='/dev/env/DJDIR/bin/ginstall -c'}
46RANLIB=${RANLIB='ranlib'}
47GMSGFMT=${GMSGFMT='/dev/env/DJDIR/bin/msgfmt'}
48MSGFMT=${MSGFMT='/dev/env/DJDIR/bin/msgfmt'}
49XGETTEXT=${XGETTEXT='/dev/env/DJDIR/bin/xgettext'}
1a1a5826 50AWK=${AWK='gawk'}
3768a1ae
JMG
51
52# A sane default for emacs.
53ac_cv_path_EMACS=${EMACS='/dev/env/DJDIR/gnu/emacs/bin/emacs'}
54
55# A sane default for m4.
56ac_cv_path_M4=${M4='/dev/env/DJDIR/bin/m4'}
57
f5d5ecdf
JMG
58# A sane default for grep.
59ac_cv_path_GREP=${GREP='/dev/env/DJDIR/bin/grep'}
60
61# A sane default for egrep.
62ac_cv_path_EGREP=${EGREP='/dev/env/DJDIR/bin/egrep'}
63
64# A sane default for fgrep.
65ac_cv_path_FGREP=${FGREP='/dev/env/DJDIR/bin/fgrep'}
66
67# A sane default for sed.
68ac_cv_path_SED=${SED='/dev/env/DJDIR/bin/sed'}
69
e37c665c 70# A sane default for mkdir.
c7c8ecd1 71ac_cv_path_mkdir=${MKDIR_P='/dev/env/DJDIR/bin/mkdir -p'}
e37c665c 72
3768a1ae
JMG
73# These are set here so the generated libtool will be good
74# for every DJGPP installation, not only the one where the
75# package was configured.
76NM=${NM='nm'}
77LD=${LD='ld'}
78
79# Force the test for 'ln -s' to report 'cp -pf'.
80ac_cv_prog_LN_S='cp -pf'
81
82# There is no fork and vfork functionality.
83ac_cv_func_fork=no
84ac_cv_func_vfork=no
85ac_cv_func_pipe=no