#! /bin/sh # This is the config.site file for configuring GNU packages # which are to be built with DJGPP tools. # Include the djgpp subdirectory in PATH, so that getconf is found PATH="$srcdir/djgpp:$PATH" # These two variables are required, otherwise looking for # programs along the PATH will not work. PATH_SEPARATOR=: PATH_EXPAND=y # This is required in for "test -f foo" to find foo.exe export TEST_FINDS_EXE=y # The root of the DJGPP tree serves as the default prefix test "x$prefix" = xNONE && prefix='/dev/env/DJDIR' # This is required for config.status script to be run, since # ./configure runs it by invoking ${CONFIG_SHELL-/bin/sh} CONFIG_SHELL=${CONFIG_SHELL='sh'} # These are set here so the generated Makefile's will be good # for every DJGPP installation, not only the one where the # package was configured. # $INSTALL must be an absolute path name, otherwise config.status # will try to prepend ./ and ../ to it when it goes into subdirs. INSTALL=${INSTALL='/dev/env/DJDIR/bin/ginstall -c'} GMSGFMT=${GMSGFMT='/dev/env/DJDIR/bin/msgfmt'} MSGFMT=${MSGFMT='/dev/env/DJDIR/bin/msgfmt'} MSGMERGE=${MSGMERGE='/dev/env/DJDIR/bin/msgmerge'} XGETTEXT=${XGETTEXT='/dev/env/DJDIR/bin/xgettext'} AWK=${AWK='gawk'} # A sane default for emacs. ac_cv_path_EMACS=${EMACS='emacs'} # A sane default for m4. ac_cv_path_M4=${M4='m4'} # A sane default for grep. ac_cv_path_GREP=${GREP='grep'} # A sane default for egrep. ac_cv_path_EGREP=${EGREP='egrep'} # A sane default for fgrep. ac_cv_path_FGREP=${FGREP='fgrep'} # A sane default for sed. ac_cv_path_SED=${SED='sed'} # A sane default for makeinfo. ac_cv_path_MAKEINFO=${MAKEINFO='makeinfo'} # A sane default for makeinfo. ac_cv_path_INSTALL_INFO=${INSTALL_INFO='install-info'} # A sane default for roff. ac_cv_path_ROFF=${ROFF='groff'} # A sane default for groff. ac_cv_path_GROFF=${GROFF='groff'} # A sane default for nroff. ac_cv_path_NROFF=${NROFF='nroff'} # A sane default for soelim. ac_cv_path_SOELIM=${SOELIM='soelim'} # A sane default for pic. ac_cv_path_PIC=${PIC='pic'} # A sane default for perl. ac_cv_path_PERL=${PERL='perl'} # A sane default for mkdir. ac_cv_path_mkdir=${MKDIR_P='mkdir -p'} # A sane default for rm. ac_cv_path_RM=${RM='rm'} # A sane default for mv. ac_cv_path_MV=${MV='mv'} # A sane default for sort. ac_cv_path_SORT='sort' # A sane default for tar. ac_cv_path_TAR=${TAR='tar'} # A sane default for pr. ac_cv_path_PR_PROGRAM=${PR='pr'} # A sane default for ed. ac_cv_path_ed_PROGRAM=${ED='ed'} # A sane default for texi2dvi. ac_cv_path_TEXI2DVI=${TEXI2DVI='texi2dvi'} # A sane default for texi2pdf. ac_cv_path_TEXI2PDF=${TEXI2PDF='texi2pdf'} # A sane default for dvips. ac_cv_path_DVIPS=${DVIPS='dvips'} # A sane default for ps2pdf. ac_cv_path_PS2PDF=${PS2PDF='ps2pdf'} # A sane default for bash. ac_cv_path_TEST_SHELL=${TEST_SHELL='bash'} # A sane default for mktemp. ac_cv_path_MKTEMP=${MKTEMP='mktemp'} # A sane default for dd. ac_cv_path_lt_DD=${ac_cv_path_lt_DD='dd'} # These are set here so the generated libtool will be good # for every DJGPP installation, not only the one where the # package was configured. AR=${AR='ar'} LD=${LD='ld'} NM=${NM='nm'} STRIP=${STRIP='strip'} RANLIB=${RANLIB='ranlib'} # These are set here so the generated config.h will be good # for every DJGPP installation, not only the one where the # package was configured. gl_cv_absolute_stdint_h=${gl_cv_absolute_stdint_h='/dev/env/DJDIR/include/stdint.h'} gl_cv_absolute_string_h=${gl_cv_absolute_string_h='/dev/env/DJDIR/include/string.h'} gl_cv_absolute_sys_stat_h=${gl_cv_absolute_sys_stat_h='/dev/env/DJDIR/include/sys/stat.h'} gl_cv_absolute_sys_time_h=${gl_cv_absolute_sys_time_h='/dev/env/DJDIR/include/sys/time.h'} gl_cv_absolute_inttypes_h=${gl_cv_absolute_inttypes_h='/dev/env/DJDIR/include/inttypes.h'} gl_cv_absolute_unistd_h=${gl_cv_absolute_unistd_h='/dev/env/DJDIR/include/unistd.h'} gl_cv_absolute_wchar_h=${gl_cv_absolute_wchar_h='/dev/env/DJDIR/include/wchar.h'} gl_cv_absolute_wctype_h=${gl_cv_absolute_wctype_h='/dev/env/DJDIR/include/wctype.h'} gl_cv_absolute_stdlib_h=${gl_cv_absolute_stdlib_h='/dev/env/DJDIR/include/stdlib.h'} # Assume a working sleep. gl_cv_func_sleep_works=yes # Force the test for 'ln -s' to report 'cp -pf'. ac_cv_prog_LN_S='cp -pf' # There is no fork and vfork functionality. ac_cv_func_fork=no ac_cv_func_fork_works=no ac_cv_func_vfork=no ac_cv_func_vfork_works=no ac_cv_func_pipe=yes # Ensure that always old GNU extern inline semantics is used # (aka -fgnu89-inline) even if ISO C99 semantics has been specified. case $(gcc --version 2>/dev/null | sed "/^.* \([1-9]\+\.[0-9]\+[.0-9]*\).*$/!d;s/^.* \([1-9]\+\.[0-9]\+[.0-9]*\).*$/\1/") in [1-3].*|4.[0-1][.0-9]* ) CFLAGS=${CFLAGS='-g2 -O0 -march=i386 -mtune=i586'};; * ) CFLAGS=${CFLAGS='-g2 -O0 -fgnu89-inline -march=i386 -mtune=i586'};; esac # The default check for functionality provided by # libtiff 3.9.4. does not work well so give same assistance. ac_cv_lib_tiff_TIFFOpen=yes ac_cv_lib_tiff_TIFFClientOpen=yes ac_cv_lib_tiff_TIFFIsByteSwapped=yes # DJGPP's implementation of printf survives out-of-memory conditions. gl_cv_func_printf_enomem=yes