| 1 | #! /bin/sh | 
|---|
| 2 | # Site defaults for the DJGPP configuration | 
|---|
| 3 |  | 
|---|
| 4 | # Copyright (C) 2001 Free Software Foundation, Inc. | 
|---|
| 5 |  | 
|---|
| 6 | # This program is free software; you can redistribute it and/or modify | 
|---|
| 7 | # it under the terms of the GNU General Public License as published by | 
|---|
| 8 | # the Free Software Foundation; either version 2, or (at your option) | 
|---|
| 9 | # any later version. | 
|---|
| 10 |  | 
|---|
| 11 | # This program is distributed in the hope that it will be useful, | 
|---|
| 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | 
|---|
| 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
|---|
| 14 | # GNU General Public License for more details. | 
|---|
| 15 |  | 
|---|
| 16 | # You should have received a copy of the GNU General Public License | 
|---|
| 17 | # along with this program; if not, write to the Free Software | 
|---|
| 18 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | 
|---|
| 19 | # 02111-1307, USA. | 
|---|
| 20 |  | 
|---|
| 21 | # Written by Eli Zaretskii. | 
|---|
| 22 |  | 
|---|
| 23 |  | 
|---|
| 24 | # These two variables are required, otherwise looking for | 
|---|
| 25 | # programs along the PATH will not work. | 
|---|
| 26 | PATH_SEPARATOR=: | 
|---|
| 27 | PATH_EXPAND=y | 
|---|
| 28 |  | 
|---|
| 29 | # This is required in for "test -f foo" to find foo.exe. | 
|---|
| 30 | export TEST_FINDS_EXE=y | 
|---|
| 31 |  | 
|---|
| 32 | # The root of the DJGPP tree serves as the default prefix | 
|---|
| 33 | # for all paths that are hardcoded in the binaries. | 
|---|
| 34 | # When installing the installation prefix must be supplied. | 
|---|
| 35 | test "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} | 
|---|
| 39 | # CONFIG_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. | 
|---|
| 46 | INSTALL=${INSTALL='/dev/env/DJDIR/bin/ginstall -c'} | 
|---|
| 47 | RANLIB=${RANLIB='ranlib'} | 
|---|
| 48 | GMSGFMT=${GMSGFMT='/dev/env/DJDIR/bin/msgfmt'} | 
|---|
| 49 | MSGFMT=${MSGFMT='/dev/env/DJDIR/bin/msgfmt'} | 
|---|
| 50 | XGETTEXT=${XGETTEXT='/dev/env/DJDIR/bin/xgettext'} | 
|---|
| 51 |  | 
|---|
| 52 | # Sane defaults for standard programs compiled into the package that | 
|---|
| 53 | # we are about to build.  Use .exe extension so that library functions | 
|---|
| 54 | # invoking these programs will provide a better diagnostics when a | 
|---|
| 55 | # program is not found: the library won't need to call the stock DOS | 
|---|
| 56 | # shell, which always returns a zero status, even if it doesn't find | 
|---|
| 57 | # the program. | 
|---|
| 58 | ac_cv_path_PR_PROGRAM=${PR_PROGRAM='/dev/env/DJDIR/bin/pr.exe'} | 
|---|
| 59 |  | 
|---|
| 60 | # Sane defaults for standard programs used by the build process. | 
|---|
| 61 | # We force the values of these variables so that the resultant | 
|---|
| 62 | # Makefile's will work on any DJGPP platform, not only on the | 
|---|
| 63 | # machine where the package was configured. | 
|---|
| 64 | ac_cv_prog_AWK=${AWK='gawk'} | 
|---|
| 65 | ac_cv_prog_INTLBISON=${INTLBISON='bison'} | 
|---|
| 66 | ac_cv_prog_CC=${CC='gcc'} | 
|---|
| 67 |  | 
|---|
| 68 | # These are set here so the generated libtool/Makefile's will | 
|---|
| 69 | # be good for every DJGPP installation, not only the one where | 
|---|
| 70 | # the package was configured. | 
|---|
| 71 | NM=${NM='nm'} | 
|---|
| 72 | LD=${LD='ld'} | 
|---|
| 73 | MAKEINFO=${MAKEINFO='makeinfo'} | 
|---|
| 74 |  | 
|---|
| 75 | # Force the test for 'ln -s' to report 'cp -pf'. | 
|---|
| 76 | ac_cv_prog_LN_S='cp -pf' | 
|---|
| 77 |  | 
|---|
| 78 | # We have `fork', but it always fails.  Don't trust Autoconf to be | 
|---|
| 79 | # smart enough to detect that... | 
|---|
| 80 | ac_cv_func_fork=no | 
|---|
| 81 | ac_cv_func_vfork=no | 
|---|