]> git.saurik.com Git - bison.git/blame - djgpp/config.site
* TODO: Add pointer to Sylvain Schmitz's work on static detection
[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
b01df036 6# Copyright (C) 2005, 2006 Free Software Foundation, Inc.
02650b7f
PE
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
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
3768a1ae
JMG
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
f209868e
JMG
77# These are set here so the generated config.h will be good
78# for every DJGPP installation, not only the one where the
79# package was configured.
80gl_cv_absolute_stdint_h=${gl_cv_absolute_stdint_h='/dev/env/DJDIR/include/stdint.h'}
81gl_cv_absolute_inttypes_h=${gl_cv_absolute_inttypes_h='/dev/env/DJDIR/include/inttypes.h'}
82
3768a1ae
JMG
83# Force the test for 'ln -s' to report 'cp -pf'.
84ac_cv_prog_LN_S='cp -pf'
85
86# There is no fork and vfork functionality.
87ac_cv_func_fork=no
88ac_cv_func_vfork=no
89ac_cv_func_pipe=no