Mail Archives: djgpp-workers/2003/01/10/07:34:31
Hello.
Tim Van Holder wrote:
[snip]
> It shouldn't set it in the 2.50 section (as that has proper support),
> but IIRC there is a compatibility section that gets used for older
> configures; it could be added there (though that would only matter for
> Unix-born configures; our old 2.13 port used test -x anyway I believe).
Tim: In the packages I made of autoconf 2.57, I included the config.site you
sent me in your autoconf 2.57 patch set. Below is the 2.13 compatibility
section from that. It sets TEST_FINDS_EXE for 2.13.
...
# 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"
# In 2.5x, replaced by ac_executable_extensions
export TEST_FINDS_EXE=y
# Set automagically by 2.5x
export PATH_SEPARATOR=:
# $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'}
# 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"
else # autoconf 2.50 or higher
...
> I strongly disagree with TEST_FINDS_EXE in general though; I do NOT want
> test -f to return true for ANY reason if the file does not actually
> exist. Using it as a workaround for getting old, unix-born configure
> scripts to run (better) on DJGPP is about the limit of its usefulness
> IMHO.
I agree with that. Too many special cases just add to the number of things
that can go wrong, when you're using DJGPP in general and porting in
particular.
Bye, Rich =]
--
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]
- Raw text -