delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/03/10/02:50:57

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
From: "Tim Van Holder" <tim DOT van DOT holder AT pandora DOT be>
To: <djgpp-workers AT delorie DOT com>
Subject: autoconf / config.site
Date: Sun, 10 Mar 2002 08:50:28 +0100
Message-ID: <000b01c1c808$3f562bb0$8b5f77d5@zastaixp>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.3416
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Importance: Normal
Reply-To: djgpp-workers AT delorie DOT com

Hi!  I send you this file to have your advice!

No, seriously - autoconf 2.53 has been released, so I'll
be packaging it and automake 1.6 up in the near future.
Before I do so, I'd like to submit for review the
config.site I plan to distribute.
I'd also like to discuss the possibility of having
config.site in its own mini-package.  It's now
distributed with both bash and autoconf, and it does not
make sense to update one set of packages whenever the
other set changes.  Having it in its own package would
allow it to have its own lifecycle.


#! /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

# 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

  # 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

  # 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$PATH_SEPARATOR$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)
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}
CONFIG_SHELL=$SHELL

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019