#! /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 cat. ac_cv_path_CAT=${CAT='cat'} # 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='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_MINUS_S_SH=${TEST_MINUS_S_SH='bash'} # A sane default for bash. ac_cv_path_TEST_SHELL=${TEST_SHELL='bash'} # A sane default for sh. ac_cv_path_SH=${SH='sh'} # A sane default for mktemp. ac_cv_path_MKTEMP=${MKTEMP='mktemp'} # A sane default for dd. ac_cv_path_lt_DD=${DD='dd'} # A sane default for compress. ac_cv_path_COMPRESS=${COMPRESS='compress'} # A sane default for unzip. ac_cv_path_UNZIP=${UNZIP='unzip'} # A sane default for zip. ac_cv_path_ZIP=${ZIP='zip'} # A sane default for zcat. ac_cv_path_ZCAT=${ZCAT='zcat'} # A sane default for bzip2. ac_cv_path_BZIP2=${BZIP2='bzip2'} # A sane default for gzip. ac_cv_path_GZIP=${GZIP='gzip'} # A sane default for uncompress. ac_cv_path_UNCOMPRESS=${UNCOMPRESS='gunzip'} # A sane default for wget. ac_cv_path_WGET=${WGET='wget'} # A sane default for xmllint. ac_cv_path_XMLLINT=${XMLLINT='xmllint'} # A sane default for xsltproc. ac_cv_path_XSLTPROC=${XSLTPROC='xsltproc'} # A sane default for xml2-config. ac_cv_path_ac_pt_XML_CONFIG=${XML_CONFIG='xml2-config'} # 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 -O2 -std=gnu99 -march=i386 -mtune=i586'};; * ) CFLAGS=${CFLAGS='-g2 -O2 -fgnu89-inline -march=i386 -mtune=i586'};; esac # DJGPP's implementation of printf survives out-of-memory conditions. gl_cv_func_printf_enomem=yes if [ "x${WATT_ROOT}" = "x" ]; then # This is to skip all socket specific tests. # This is the socklen_t equivalent to socklen_t as defined by WATT-32. gl_cv_socklen_t_equiv=${gl_cv_socklen_t_equiv=int} elif [ -d "${WATT_ROOT}" ]; then # If the checks shall work then wat3211b # or later must have been installed. # Ensure that always WATT-32 include path is added. # The WATT_ROOT environment variable must be set. CPPFLAGS=${CPPFLAGS='-I/dev/env/WATT_ROOT/inc'} # Ensure that always WATT-32 library path is added. # The WATT_ROOT environment variable must be set. LIBS=${LIBS='-L/dev/env/WATT_ROOT/lib -lwatt'} fi