#! /bin/sh # Sanity check if test "x${DJDIR}" = "x"; then echo "Your DJGPP installation is not set up correctly (DJDIR is not set)." exit 1 fi # The root of the DJGPP tree serves as the default prefix. # # IMHO, this is not needed, as this file is supposed to be loaded # exactly because the user gave --prefix /dev/env/DJDIR -- tvh if test "x$ac_default_prefix" = "x/usr/local"; then ac_default_prefix="/dev/env/DJDIR" fi # The root of the DJGPP tree serves as the default prefix # for all paths that are hardcoded in the binaries. # When installing the installation prefix must be supplied. test "x$prefix" = xNONE && prefix='/dev/env/DJDIR' # This is here for backward compatibility with 2.13 configures; the conditional # ensures it's disabled in the DJGPP package of autoconf 2.50 and above. # FIXME: This conditional may change as autoconf evolves - autoconf should # really have some version variables. if test -z "$as_ln_s"; then echo "Warning: This configure script was generated using an old version of autoconf" echo "Warning: Newer versions have much better DJGPP compatibility" else # autoconf 2.50 or higher # Feel free to add others (.com, .btm, .sh, .pl, ...) to this list if you # need configure scripts to find such files. Try to limit it to things # you need to avoid false positives. ac_executable_extensions=".exe .bat" fi # Uncomment these to avoid typical portability problems # FIXME: Can these be enabled by default? #ac_cv_func_fork=no #ac_cv_func_mkfifo=no #ac_cv_func_mknod=no #ac_cv_func_mmap=no #ac_cv_func_pipe=no #ac_cv_func_vfork=no # By using this, results of configure's program checks will be more portable # FIXME: In order to save environment space, it might be useful to strip # existing $DJDIR/bin entries from the path first. PATH="/dev/env/DJDIR/bin`if [ -z $PATH_SEPARATOR ] ; then echo ";" ; else echo $PATH_SEPARATOR; fi`$PATH" # This is REQUIRED: using simply "/bin/(ba)sh" will NOT work (programs need # need this to be a full path with executable suffix for enhanced shell # support) export SHELL=/dev/env/DJDIR/bin/bash.exe # This is required for config.status script to be run, since # ./configure runs it by invoking ${CONFIG_SHELL-/bin/sh} export CONFIG_SHELL=$SHELL # $INSTALL must be an absolute path name, otherwise config.status # will try to prepend ./ and ../ to it when it goes into subdirs. export INSTALL=${INSTALL='/dev/env/DJDIR/bin/ginstall -c'} export PATH_SEPARATOR=: # In 2.5x, replaced by ac_executable_extensions export TEST_FINDS_EXE=y # Help out libtool ac_exeext=".exe" export lt_cv_sys_max_cmd_len=12288 export lt_cv_prog_cc_pic_works=no # Force the test for 'ln -s' to report no. export LN_S="cp -p" ac_cv_prog_LN_S="cp -p"