|
|
@ -11,9 +11,6 @@
|
|
|
|
ac_help=
|
|
|
|
ac_help=
|
|
|
|
ac_default_prefix=/usr/local
|
|
|
|
ac_default_prefix=/usr/local
|
|
|
|
# Any additions from configure.in:
|
|
|
|
# Any additions from configure.in:
|
|
|
|
ac_help="$ac_help
|
|
|
|
|
|
|
|
--disable-dependency-tracking Speeds up one-time builds
|
|
|
|
|
|
|
|
--enable-dependency-tracking Do not reject slow dependency extractors"
|
|
|
|
|
|
|
|
ac_help="$ac_help
|
|
|
|
ac_help="$ac_help
|
|
|
|
--with-sdl-prefix=PFX Prefix where SDL is installed (optional)"
|
|
|
|
--with-sdl-prefix=PFX Prefix where SDL is installed (optional)"
|
|
|
|
ac_help="$ac_help
|
|
|
|
ac_help="$ac_help
|
|
|
@ -549,10 +546,7 @@ ac_config_guess=$ac_aux_dir/config.guess
|
|
|
|
ac_config_sub=$ac_aux_dir/config.sub
|
|
|
|
ac_config_sub=$ac_aux_dir/config.sub
|
|
|
|
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
|
|
|
|
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
am__api_version="1.4"
|
|
|
|
# expand $ac_aux_dir to an absolute path
|
|
|
|
|
|
|
|
am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Find a good install program. We prefer a C program (faster),
|
|
|
|
# Find a good install program. We prefer a C program (faster),
|
|
|
|
# so one script is as good as another. But avoid the broken or
|
|
|
|
# so one script is as good as another. But avoid the broken or
|
|
|
|
# incompatible versions:
|
|
|
|
# incompatible versions:
|
|
|
@ -565,7 +559,7 @@ am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
|
|
|
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
|
|
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
|
|
|
# ./install, which can be erroneously created by make from ./install.sh.
|
|
|
|
# ./install, which can be erroneously created by make from ./install.sh.
|
|
|
|
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
|
|
|
|
echo "configure:569: checking for a BSD compatible install" >&5
|
|
|
|
echo "configure:563: checking for a BSD compatible install" >&5
|
|
|
|
if test -z "$INSTALL"; then
|
|
|
|
if test -z "$INSTALL"; then
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
@ -618,24 +612,23 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
|
|
|
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
|
|
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
|
|
|
|
echo "configure:622: checking whether build environment is sane" >&5
|
|
|
|
echo "configure:616: checking whether build environment is sane" >&5
|
|
|
|
# Just in case
|
|
|
|
# Just in case
|
|
|
|
sleep 1
|
|
|
|
sleep 1
|
|
|
|
echo timestamp > conftest.file
|
|
|
|
echo timestamp > conftestfile
|
|
|
|
# Do `set' in a subshell so we don't clobber the current shell's
|
|
|
|
# Do `set' in a subshell so we don't clobber the current shell's
|
|
|
|
# arguments. Must try -L first in case configure is actually a
|
|
|
|
# arguments. Must try -L first in case configure is actually a
|
|
|
|
# symlink; some systems play weird games with the mod time of symlinks
|
|
|
|
# symlink; some systems play weird games with the mod time of symlinks
|
|
|
|
# (eg FreeBSD returns the mod time of the symlink's containing
|
|
|
|
# (eg FreeBSD returns the mod time of the symlink's containing
|
|
|
|
# directory).
|
|
|
|
# directory).
|
|
|
|
if (
|
|
|
|
if (
|
|
|
|
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
|
|
|
|
set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
|
|
|
|
if test "$*" = "X"; then
|
|
|
|
if test "$*" = "X"; then
|
|
|
|
# -L didn't work.
|
|
|
|
# -L didn't work.
|
|
|
|
set X `ls -t $srcdir/configure conftest.file`
|
|
|
|
set X `ls -t $srcdir/configure conftestfile`
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
rm -f conftest.file
|
|
|
|
if test "$*" != "X $srcdir/configure conftestfile" \
|
|
|
|
if test "$*" != "X $srcdir/configure conftest.file" \
|
|
|
|
&& test "$*" != "X conftestfile $srcdir/configure"; then
|
|
|
|
&& test "$*" != "X conftest.file $srcdir/configure"; then
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# If neither matched, then we have a broken ls. This can happen
|
|
|
|
# If neither matched, then we have a broken ls. This can happen
|
|
|
|
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
|
|
|
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
|
|
@ -645,7 +638,7 @@ if (
|
|
|
|
alias in your environment" 1>&2; exit 1; }
|
|
|
|
alias in your environment" 1>&2; exit 1; }
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
test "$2" = conftest.file
|
|
|
|
test "$2" = conftestfile
|
|
|
|
)
|
|
|
|
)
|
|
|
|
then
|
|
|
|
then
|
|
|
|
# Ok.
|
|
|
|
# Ok.
|
|
|
@ -654,6 +647,7 @@ else
|
|
|
|
{ echo "configure: error: newly created file is older than distributed files!
|
|
|
|
{ echo "configure: error: newly created file is older than distributed files!
|
|
|
|
Check your system clock" 1>&2; exit 1; }
|
|
|
|
Check your system clock" 1>&2; exit 1; }
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
rm -f conftest*
|
|
|
|
echo "$ac_t""yes" 1>&6
|
|
|
|
echo "$ac_t""yes" 1>&6
|
|
|
|
if test "$program_transform_name" = s,x,x,; then
|
|
|
|
if test "$program_transform_name" = s,x,x,; then
|
|
|
|
program_transform_name=
|
|
|
|
program_transform_name=
|
|
|
@ -674,52 +668,8 @@ test "$program_suffix" != NONE &&
|
|
|
|
# sed with no file args requires a program.
|
|
|
|
# sed with no file args requires a program.
|
|
|
|
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
|
|
|
|
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
|
|
|
|
|
|
|
|
|
|
|
|
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
|
|
|
|
|
|
|
|
# Use eval to expand $SHELL
|
|
|
|
|
|
|
|
if eval "$MISSING --run true"; then
|
|
|
|
|
|
|
|
am_missing_run="$MISSING --run "
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
am_missing_run=
|
|
|
|
|
|
|
|
am_backtick='`'
|
|
|
|
|
|
|
|
echo "configure: warning: ${am_backtick}missing' script is too old or missing" 1>&2
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for ac_prog in mawk gawk nawk awk
|
|
|
|
|
|
|
|
do
|
|
|
|
|
|
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
|
|
|
|
|
|
set dummy $ac_prog; ac_word=$2
|
|
|
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
|
|
|
echo "configure:693: checking for $ac_word" >&5
|
|
|
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
|
|
|
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
if test -n "$AWK"; then
|
|
|
|
|
|
|
|
ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
|
|
|
|
|
|
|
ac_dummy="$PATH"
|
|
|
|
|
|
|
|
for ac_dir in $ac_dummy; do
|
|
|
|
|
|
|
|
test -z "$ac_dir" && ac_dir=.
|
|
|
|
|
|
|
|
if test -f $ac_dir/$ac_word; then
|
|
|
|
|
|
|
|
ac_cv_prog_AWK="$ac_prog"
|
|
|
|
|
|
|
|
break
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
IFS="$ac_save_ifs"
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
AWK="$ac_cv_prog_AWK"
|
|
|
|
|
|
|
|
if test -n "$AWK"; then
|
|
|
|
|
|
|
|
echo "$ac_t""$AWK" 1>&6
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
test -n "$AWK" && break
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
|
|
|
|
echo "configure:723: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
|
|
|
echo "configure:673: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
|
|
|
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
|
|
|
|
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
@ -745,49 +695,14 @@ else
|
|
|
|
SET_MAKE="MAKE=${MAKE-make}"
|
|
|
|
SET_MAKE="MAKE=${MAKE-make}"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
|
|
|
|
|
|
|
|
if test "${enable_dependency_tracking+set}" = set; then
|
|
|
|
|
|
|
|
enableval="$enable_dependency_tracking"
|
|
|
|
|
|
|
|
:
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if test "x$enable_dependency_tracking" != xno; then
|
|
|
|
|
|
|
|
am_depcomp="$ac_aux_dir/depcomp"
|
|
|
|
|
|
|
|
AMDEPBACKSLASH='\'
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if test "x$enable_dependency_tracking" != xno; then
|
|
|
|
|
|
|
|
AMDEP_TRUE=
|
|
|
|
|
|
|
|
AMDEP_FALSE='#'
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
AMDEP_TRUE='#'
|
|
|
|
|
|
|
|
AMDEP_FALSE=
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PACKAGE=bomberclone
|
|
|
|
|
|
|
|
|
|
|
|
rm -f .deps 2>/dev/null
|
|
|
|
VERSION=0.9.9
|
|
|
|
mkdir .deps 2>/dev/null
|
|
|
|
|
|
|
|
if test -d .deps; then
|
|
|
|
|
|
|
|
DEPDIR=.deps
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
# MS-DOS does not allow filenames that begin with a dot.
|
|
|
|
|
|
|
|
DEPDIR=_deps
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
rmdir .deps 2>/dev/null
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# test to see if srcdir already configured
|
|
|
|
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
|
|
|
|
if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
|
|
|
|
{ echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
|
|
|
|
test -f $srcdir/config.status; then
|
|
|
|
|
|
|
|
{ echo "configure: error: source directory already configured; run \"make distclean\" there first" 1>&2; exit 1; }
|
|
|
|
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# Define the identity of the package.
|
|
|
|
|
|
|
|
PACKAGE=bomberclone
|
|
|
|
|
|
|
|
VERSION=0.9.8
|
|
|
|
|
|
|
|
cat >> confdefs.h <<EOF
|
|
|
|
cat >> confdefs.h <<EOF
|
|
|
|
#define PACKAGE "$PACKAGE"
|
|
|
|
#define PACKAGE "$PACKAGE"
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
@ -797,51 +712,81 @@ cat >> confdefs.h <<EOF
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
|
|
|
|
|
|
|
|
# the ones we care about.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Autoconf 2.50 always computes EXEEXT. However we need to be
|
|
|
|
|
|
|
|
# compatible with 2.13, for now. So we always define EXEEXT, but we
|
|
|
|
|
|
|
|
# don't compute it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Similar for OBJEXT -- only we only use OBJEXT if the user actually
|
|
|
|
|
|
|
|
# requests that it be used. This is a bit dumb.
|
|
|
|
|
|
|
|
: ${OBJEXT=o}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Some tools Automake needs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
missing_dir=`cd $ac_aux_dir && pwd`
|
|
|
|
|
|
|
|
echo $ac_n "checking for working aclocal-${am__api_version}""... $ac_c" 1>&6
|
|
|
|
|
|
|
|
echo "configure:719: checking for working aclocal-${am__api_version}" >&5
|
|
|
|
|
|
|
|
# Run test in a subshell; some versions of sh will print an error if
|
|
|
|
|
|
|
|
# an executable is not found, even if stderr is redirected.
|
|
|
|
|
|
|
|
# Redirect stdin to placate older versions of autoconf. Sigh.
|
|
|
|
|
|
|
|
if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
|
|
|
|
|
|
|
|
ACLOCAL=aclocal-${am__api_version}
|
|
|
|
|
|
|
|
echo "$ac_t""found" 1>&6
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
|
|
|
|
|
|
|
|
echo "$ac_t""missing" 1>&6
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
|
|
|
|
|
|
|
|
echo "configure:732: checking for working autoconf" >&5
|
|
|
|
|
|
|
|
# Run test in a subshell; some versions of sh will print an error if
|
|
|
|
|
|
|
|
# an executable is not found, even if stderr is redirected.
|
|
|
|
|
|
|
|
# Redirect stdin to placate older versions of autoconf. Sigh.
|
|
|
|
|
|
|
|
if (autoconf --version) < /dev/null > /dev/null 2>&1; then
|
|
|
|
|
|
|
|
AUTOCONF=autoconf
|
|
|
|
|
|
|
|
echo "$ac_t""found" 1>&6
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
AUTOCONF="$missing_dir/missing autoconf"
|
|
|
|
|
|
|
|
echo "$ac_t""missing" 1>&6
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for working automake-${am__api_version}""... $ac_c" 1>&6
|
|
|
|
|
|
|
|
echo "configure:745: checking for working automake-${am__api_version}" >&5
|
|
|
|
|
|
|
|
# Run test in a subshell; some versions of sh will print an error if
|
|
|
|
|
|
|
|
# an executable is not found, even if stderr is redirected.
|
|
|
|
|
|
|
|
# Redirect stdin to placate older versions of autoconf. Sigh.
|
|
|
|
|
|
|
|
if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
|
|
|
|
|
|
|
|
AUTOMAKE=automake-${am__api_version}
|
|
|
|
|
|
|
|
echo "$ac_t""found" 1>&6
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
|
|
|
|
|
|
|
|
echo "$ac_t""missing" 1>&6
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
|
|
|
|
|
|
|
|
echo "configure:758: checking for working autoheader" >&5
|
|
|
|
|
|
|
|
# Run test in a subshell; some versions of sh will print an error if
|
|
|
|
|
|
|
|
# an executable is not found, even if stderr is redirected.
|
|
|
|
|
|
|
|
# Redirect stdin to placate older versions of autoconf. Sigh.
|
|
|
|
|
|
|
|
if (autoheader --version) < /dev/null > /dev/null 2>&1; then
|
|
|
|
|
|
|
|
AUTOHEADER=autoheader
|
|
|
|
|
|
|
|
echo "$ac_t""found" 1>&6
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
AUTOHEADER="$missing_dir/missing autoheader"
|
|
|
|
|
|
|
|
echo "$ac_t""missing" 1>&6
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
|
|
|
|
|
|
|
|
echo "configure:771: checking for working makeinfo" >&5
|
|
|
|
|
|
|
|
# Run test in a subshell; some versions of sh will print an error if
|
|
|
|
|
|
|
|
# an executable is not found, even if stderr is redirected.
|
|
|
|
|
|
|
|
# Redirect stdin to placate older versions of autoconf. Sigh.
|
|
|
|
|
|
|
|
if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
|
|
|
|
|
|
|
|
MAKEINFO=makeinfo
|
|
|
|
|
|
|
|
echo "$ac_t""found" 1>&6
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
MAKEINFO="$missing_dir/missing makeinfo"
|
|
|
|
|
|
|
|
echo "$ac_t""missing" 1>&6
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AMTAR=${AMTAR-"${am_missing_run}tar"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
install_sh=${install_sh-"$am_aux_dir/install-sh"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# We need awk for the "check" target. The system "awk" is bad on
|
|
|
|
|
|
|
|
# some platforms.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
|
|
|
|
echo "configure:845: checking for strerror in -lcposix" >&5
|
|
|
|
echo "configure:790: checking for strerror in -lcposix" >&5
|
|
|
|
ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
|
|
|
|
ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
@ -849,7 +794,7 @@ else
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
LIBS="-lcposix $LIBS"
|
|
|
|
LIBS="-lcposix $LIBS"
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 853 "configure"
|
|
|
|
#line 798 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
|
/* We use char because int might match the return type of a gcc2
|
|
|
|
/* We use char because int might match the return type of a gcc2
|
|
|
@ -860,7 +805,7 @@ int main() {
|
|
|
|
strerror()
|
|
|
|
strerror()
|
|
|
|
; return 0; }
|
|
|
|
; return 0; }
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
if { (eval echo configure:864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
if { (eval echo configure:809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -885,7 +830,7 @@ fi
|
|
|
|
# Extract the first word of "gcc", so it can be a program name with args.
|
|
|
|
# Extract the first word of "gcc", so it can be a program name with args.
|
|
|
|
set dummy gcc; ac_word=$2
|
|
|
|
set dummy gcc; ac_word=$2
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
echo "configure:889: checking for $ac_word" >&5
|
|
|
|
echo "configure:834: checking for $ac_word" >&5
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -915,7 +860,7 @@ if test -z "$CC"; then
|
|
|
|
# Extract the first word of "cc", so it can be a program name with args.
|
|
|
|
# Extract the first word of "cc", so it can be a program name with args.
|
|
|
|
set dummy cc; ac_word=$2
|
|
|
|
set dummy cc; ac_word=$2
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
echo "configure:919: checking for $ac_word" >&5
|
|
|
|
echo "configure:864: checking for $ac_word" >&5
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -966,7 +911,7 @@ fi
|
|
|
|
# Extract the first word of "cl", so it can be a program name with args.
|
|
|
|
# Extract the first word of "cl", so it can be a program name with args.
|
|
|
|
set dummy cl; ac_word=$2
|
|
|
|
set dummy cl; ac_word=$2
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
echo "configure:970: checking for $ac_word" >&5
|
|
|
|
echo "configure:915: checking for $ac_word" >&5
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -998,7 +943,7 @@ fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
|
|
|
|
echo "configure:1002: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
|
|
|
echo "configure:947: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
|
|
|
|
|
|
|
|
|
|
|
ac_ext=c
|
|
|
|
ac_ext=c
|
|
|
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
|
|
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
|
|
@ -1009,12 +954,12 @@ cross_compiling=$ac_cv_prog_cc_cross
|
|
|
|
|
|
|
|
|
|
|
|
cat > conftest.$ac_ext << EOF
|
|
|
|
cat > conftest.$ac_ext << EOF
|
|
|
|
|
|
|
|
|
|
|
|
#line 1013 "configure"
|
|
|
|
#line 958 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
|
|
main(){return(0);}
|
|
|
|
main(){return(0);}
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
if { (eval echo configure:1018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
if { (eval echo configure:963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
ac_cv_prog_cc_works=yes
|
|
|
|
ac_cv_prog_cc_works=yes
|
|
|
|
# If we can't run a trivial program, we are probably using a cross compiler.
|
|
|
|
# If we can't run a trivial program, we are probably using a cross compiler.
|
|
|
|
if (./conftest; exit) 2>/dev/null; then
|
|
|
|
if (./conftest; exit) 2>/dev/null; then
|
|
|
@ -1040,12 +985,12 @@ if test $ac_cv_prog_cc_works = no; then
|
|
|
|
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
|
|
|
|
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
|
|
|
|
echo "configure:1044: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
|
|
|
echo "configure:989: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
|
|
|
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
|
|
|
|
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
|
|
|
|
cross_compiling=$ac_cv_prog_cc_cross
|
|
|
|
cross_compiling=$ac_cv_prog_cc_cross
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
|
|
|
|
echo "configure:1049: checking whether we are using GNU C" >&5
|
|
|
|
echo "configure:994: checking whether we are using GNU C" >&5
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -1054,7 +999,7 @@ else
|
|
|
|
yes;
|
|
|
|
yes;
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
|
|
|
|
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1003: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
|
|
|
|
ac_cv_prog_gcc=yes
|
|
|
|
ac_cv_prog_gcc=yes
|
|
|
|
else
|
|
|
|
else
|
|
|
|
ac_cv_prog_gcc=no
|
|
|
|
ac_cv_prog_gcc=no
|
|
|
@ -1073,7 +1018,7 @@ ac_test_CFLAGS="${CFLAGS+set}"
|
|
|
|
ac_save_CFLAGS="$CFLAGS"
|
|
|
|
ac_save_CFLAGS="$CFLAGS"
|
|
|
|
CFLAGS=
|
|
|
|
CFLAGS=
|
|
|
|
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
|
|
|
|
echo "configure:1077: checking whether ${CC-cc} accepts -g" >&5
|
|
|
|
echo "configure:1022: checking whether ${CC-cc} accepts -g" >&5
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -1105,118 +1050,10 @@ else
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
am_make=${MAKE-make}
|
|
|
|
|
|
|
|
cat > confinc << 'END'
|
|
|
|
|
|
|
|
doit:
|
|
|
|
|
|
|
|
@echo done
|
|
|
|
|
|
|
|
END
|
|
|
|
|
|
|
|
# If we don't find an include directive, just comment out the code.
|
|
|
|
|
|
|
|
echo $ac_n "checking for style of include used by $am_make""... $ac_c" 1>&6
|
|
|
|
|
|
|
|
echo "configure:1116: checking for style of include used by $am_make" >&5
|
|
|
|
|
|
|
|
am__include='#'
|
|
|
|
|
|
|
|
am__quote=
|
|
|
|
|
|
|
|
_am_result=none
|
|
|
|
|
|
|
|
# First try GNU make style include.
|
|
|
|
|
|
|
|
echo "include confinc" > confmf
|
|
|
|
|
|
|
|
# We grep out `Entering directory' and `Leaving directory'
|
|
|
|
|
|
|
|
# messages which can occur if `w' ends up in MAKEFLAGS.
|
|
|
|
|
|
|
|
# In particular we don't look at `^make:' because GNU make might
|
|
|
|
|
|
|
|
# be invoked under some other name (usually "gmake"), in which
|
|
|
|
|
|
|
|
# case it prints its new name instead of `make'.
|
|
|
|
|
|
|
|
if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
|
|
|
|
|
|
|
|
am__include=include
|
|
|
|
|
|
|
|
am__quote=
|
|
|
|
|
|
|
|
_am_result=GNU
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Now try BSD make style include.
|
|
|
|
|
|
|
|
if test "$am__include" = "#"; then
|
|
|
|
|
|
|
|
echo '.include "confinc"' > confmf
|
|
|
|
|
|
|
|
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
|
|
|
|
|
|
|
|
am__include=.include
|
|
|
|
|
|
|
|
am__quote='"'
|
|
|
|
|
|
|
|
_am_result=BSD
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo "$ac_t""$_am_result" 1>&6
|
|
|
|
|
|
|
|
rm -f confinc confmf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
depcc="$CC" am_compiler_list=
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking dependency style of $depcc""... $ac_c" 1>&6
|
|
|
|
|
|
|
|
echo "configure:1150: checking dependency style of $depcc" >&5
|
|
|
|
|
|
|
|
if eval "test \"`echo '$''{'am_cv_CC_dependencies_compiler_type'+set}'`\" = set"; then
|
|
|
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
|
|
|
|
|
|
|
# We make a subdir and do the tests there. Otherwise we can end up
|
|
|
|
|
|
|
|
# making bogus files that we don't know about and never remove. For
|
|
|
|
|
|
|
|
# instance it was reported that on HP-UX the gcc test will end up
|
|
|
|
|
|
|
|
# making a dummy file named `D' -- because `-MD' means `put the output
|
|
|
|
|
|
|
|
# in D'.
|
|
|
|
|
|
|
|
mkdir conftest.dir
|
|
|
|
|
|
|
|
# Copy depcomp to subdir because otherwise we won't find it if we're
|
|
|
|
|
|
|
|
# using a relative directory.
|
|
|
|
|
|
|
|
cp "$am_depcomp" conftest.dir
|
|
|
|
|
|
|
|
cd conftest.dir
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
am_cv_CC_dependencies_compiler_type=none
|
|
|
|
|
|
|
|
if test "$am_compiler_list" = ""; then
|
|
|
|
|
|
|
|
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
for depmode in $am_compiler_list; do
|
|
|
|
|
|
|
|
# We need to recreate these files for each test, as the compiler may
|
|
|
|
|
|
|
|
# overwrite some of them when testing with obscure command lines.
|
|
|
|
|
|
|
|
# This happens at least with the AIX C compiler.
|
|
|
|
|
|
|
|
echo '#include "conftest.h"' > conftest.c
|
|
|
|
|
|
|
|
echo 'int i;' > conftest.h
|
|
|
|
|
|
|
|
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
case $depmode in
|
|
|
|
|
|
|
|
nosideeffect)
|
|
|
|
|
|
|
|
# after this tag, mechanisms are not by side-effect, so they'll
|
|
|
|
|
|
|
|
# only be used when explicitly requested
|
|
|
|
|
|
|
|
if test "x$enable_dependency_tracking" = xyes; then
|
|
|
|
|
|
|
|
continue
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
break
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
none) break ;;
|
|
|
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
|
|
|
|
|
|
|
# mode. It turns out that the SunPro C++ compiler does not properly
|
|
|
|
|
|
|
|
# handle `-M -o', and we need to detect this.
|
|
|
|
|
|
|
|
if depmode=$depmode \
|
|
|
|
|
|
|
|
source=conftest.c object=conftest.o \
|
|
|
|
|
|
|
|
depfile=conftest.Po tmpdepfile=conftest.TPo \
|
|
|
|
|
|
|
|
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
|
|
|
|
|
|
|
|
grep conftest.h conftest.Po > /dev/null 2>&1 &&
|
|
|
|
|
|
|
|
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
|
|
|
|
|
|
|
am_cv_CC_dependencies_compiler_type=$depmode
|
|
|
|
|
|
|
|
break
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
rm -rf conftest.dir
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
am_cv_CC_dependencies_compiler_type=none
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo "$ac_t""$am_cv_CC_dependencies_compiler_type" 1>&6
|
|
|
|
|
|
|
|
CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6
|
|
|
|
echo "configure:1220: checking for ${CC-cc} option to accept ANSI C" >&5
|
|
|
|
echo "configure:1057: checking for ${CC-cc} option to accept ANSI C" >&5
|
|
|
|
if eval "test \"`echo '$''{'am_cv_prog_cc_stdc'+set}'`\" = set"; then
|
|
|
|
if eval "test \"`echo '$''{'am_cv_prog_cc_stdc'+set}'`\" = set"; then
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -1226,14 +1063,13 @@ ac_save_CC="$CC"
|
|
|
|
# breaks some systems' header files.
|
|
|
|
# breaks some systems' header files.
|
|
|
|
# AIX -qlanglvl=ansi
|
|
|
|
# AIX -qlanglvl=ansi
|
|
|
|
# Ultrix and OSF/1 -std1
|
|
|
|
# Ultrix and OSF/1 -std1
|
|
|
|
# HP-UX 10.20 and later -Ae
|
|
|
|
# HP-UX -Aa -D_HPUX_SOURCE
|
|
|
|
# HP-UX older versions -Aa -D_HPUX_SOURCE
|
|
|
|
|
|
|
|
# SVR4 -Xc -D__EXTENSIONS__
|
|
|
|
# SVR4 -Xc -D__EXTENSIONS__
|
|
|
|
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
|
|
|
for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
|
|
|
do
|
|
|
|
do
|
|
|
|
CC="$ac_save_CC $ac_arg"
|
|
|
|
CC="$ac_save_CC $ac_arg"
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 1237 "configure"
|
|
|
|
#line 1073 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdio.h>
|
|
|
@ -1270,7 +1106,7 @@ return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
|
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
; return 0; }
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
if { (eval echo configure:1274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
if { (eval echo configure:1110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
|
am_cv_prog_cc_stdc="$ac_arg"; break
|
|
|
|
am_cv_prog_cc_stdc="$ac_arg"; break
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -1294,7 +1130,7 @@ case "x$am_cv_prog_cc_stdc" in
|
|
|
|
esac
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
|
|
|
|
echo "configure:1298: checking how to run the C preprocessor" >&5
|
|
|
|
echo "configure:1134: checking how to run the C preprocessor" >&5
|
|
|
|
# On Suns, sometimes $CPP names a directory.
|
|
|
|
# On Suns, sometimes $CPP names a directory.
|
|
|
|
if test -n "$CPP" && test -d "$CPP"; then
|
|
|
|
if test -n "$CPP" && test -d "$CPP"; then
|
|
|
|
CPP=
|
|
|
|
CPP=
|
|
|
@ -1309,13 +1145,13 @@ else
|
|
|
|
# On the NeXT, cc -E runs the code through the compiler's parser,
|
|
|
|
# On the NeXT, cc -E runs the code through the compiler's parser,
|
|
|
|
# not just through cpp.
|
|
|
|
# not just through cpp.
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 1313 "configure"
|
|
|
|
#line 1149 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include <assert.h>
|
|
|
|
#include <assert.h>
|
|
|
|
Syntax Error
|
|
|
|
Syntax Error
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
{ (eval echo configure:1319: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
{ (eval echo configure:1155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
:
|
|
|
|
:
|
|
|
@ -1326,13 +1162,13 @@ else
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
|
CPP="${CC-cc} -E -traditional-cpp"
|
|
|
|
CPP="${CC-cc} -E -traditional-cpp"
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 1330 "configure"
|
|
|
|
#line 1166 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include <assert.h>
|
|
|
|
#include <assert.h>
|
|
|
|
Syntax Error
|
|
|
|
Syntax Error
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
{ (eval echo configure:1336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
{ (eval echo configure:1172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
:
|
|
|
|
:
|
|
|
@ -1343,13 +1179,13 @@ else
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
|
CPP="${CC-cc} -nologo -E"
|
|
|
|
CPP="${CC-cc} -nologo -E"
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 1347 "configure"
|
|
|
|
#line 1183 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include <assert.h>
|
|
|
|
#include <assert.h>
|
|
|
|
Syntax Error
|
|
|
|
Syntax Error
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
{ (eval echo configure:1353: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
{ (eval echo configure:1189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
:
|
|
|
|
:
|
|
|
@ -1374,12 +1210,12 @@ fi
|
|
|
|
echo "$ac_t""$CPP" 1>&6
|
|
|
|
echo "$ac_t""$CPP" 1>&6
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
|
|
|
|
echo "configure:1378: checking for ANSI C header files" >&5
|
|
|
|
echo "configure:1214: checking for ANSI C header files" >&5
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
else
|
|
|
|
else
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 1383 "configure"
|
|
|
|
#line 1219 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include <stdarg.h>
|
|
|
@ -1387,7 +1223,7 @@ else
|
|
|
|
#include <float.h>
|
|
|
|
#include <float.h>
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
{ (eval echo configure:1391: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
{ (eval echo configure:1227: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
@ -1404,7 +1240,7 @@ rm -f conftest*
|
|
|
|
if test $ac_cv_header_stdc = yes; then
|
|
|
|
if test $ac_cv_header_stdc = yes; then
|
|
|
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
|
|
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 1408 "configure"
|
|
|
|
#line 1244 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include <string.h>
|
|
|
|
#include <string.h>
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
@ -1422,7 +1258,7 @@ fi
|
|
|
|
if test $ac_cv_header_stdc = yes; then
|
|
|
|
if test $ac_cv_header_stdc = yes; then
|
|
|
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
|
|
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 1426 "configure"
|
|
|
|
#line 1262 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
@ -1443,7 +1279,7 @@ if test "$cross_compiling" = yes; then
|
|
|
|
:
|
|
|
|
:
|
|
|
|
else
|
|
|
|
else
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 1447 "configure"
|
|
|
|
#line 1283 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include <ctype.h>
|
|
|
|
#include <ctype.h>
|
|
|
|
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
|
|
|
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
|
|
@ -1454,7 +1290,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
|
|
|
|
exit (0); }
|
|
|
|
exit (0); }
|
|
|
|
|
|
|
|
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
if { (eval echo configure:1458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
|
|
if { (eval echo configure:1294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
|
|
then
|
|
|
|
then
|
|
|
|
:
|
|
|
|
:
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -1479,7 +1315,7 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking target system type""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking target system type""... $ac_c" 1>&6
|
|
|
|
echo "configure:1483: checking target system type" >&5
|
|
|
|
echo "configure:1319: checking target system type" >&5
|
|
|
|
|
|
|
|
|
|
|
|
target_alias=$target
|
|
|
|
target_alias=$target
|
|
|
|
case "$target_alias" in
|
|
|
|
case "$target_alias" in
|
|
|
@ -1538,7 +1374,7 @@ fi
|
|
|
|
# Extract the first word of "sdl-config", so it can be a program name with args.
|
|
|
|
# Extract the first word of "sdl-config", so it can be a program name with args.
|
|
|
|
set dummy sdl-config; ac_word=$2
|
|
|
|
set dummy sdl-config; ac_word=$2
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
echo "configure:1542: checking for $ac_word" >&5
|
|
|
|
echo "configure:1378: checking for $ac_word" >&5
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_SDL_CONFIG'+set}'`\" = set"; then
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_SDL_CONFIG'+set}'`\" = set"; then
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -1573,7 +1409,7 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
min_sdl_version=1.1.0
|
|
|
|
min_sdl_version=1.1.0
|
|
|
|
echo $ac_n "checking for SDL - version >= $min_sdl_version""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for SDL - version >= $min_sdl_version""... $ac_c" 1>&6
|
|
|
|
echo "configure:1577: checking for SDL - version >= $min_sdl_version" >&5
|
|
|
|
echo "configure:1413: checking for SDL - version >= $min_sdl_version" >&5
|
|
|
|
no_sdl=""
|
|
|
|
no_sdl=""
|
|
|
|
if test "$SDL_CONFIG" = "no" ; then
|
|
|
|
if test "$SDL_CONFIG" = "no" ; then
|
|
|
|
no_sdl=yes
|
|
|
|
no_sdl=yes
|
|
|
@ -1597,7 +1433,7 @@ echo "configure:1577: checking for SDL - version >= $min_sdl_version" >&5
|
|
|
|
echo $ac_n "cross compiling; assumed OK... $ac_c"
|
|
|
|
echo $ac_n "cross compiling; assumed OK... $ac_c"
|
|
|
|
else
|
|
|
|
else
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 1601 "configure"
|
|
|
|
#line 1437 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdio.h>
|
|
|
@ -1658,7 +1494,7 @@ int main (int argc, char *argv[])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
if { (eval echo configure:1662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
|
|
if { (eval echo configure:1498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
|
|
then
|
|
|
|
then
|
|
|
|
:
|
|
|
|
:
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -1692,7 +1528,7 @@ fi
|
|
|
|
CFLAGS="$CFLAGS $SDL_CFLAGS"
|
|
|
|
CFLAGS="$CFLAGS $SDL_CFLAGS"
|
|
|
|
LIBS="$LIBS $SDL_LIBS"
|
|
|
|
LIBS="$LIBS $SDL_LIBS"
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 1696 "configure"
|
|
|
|
#line 1532 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdio.h>
|
|
|
@ -1707,7 +1543,7 @@ int main() {
|
|
|
|
return 0;
|
|
|
|
return 0;
|
|
|
|
; return 0; }
|
|
|
|
; return 0; }
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
if { (eval echo configure:1711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
if { (eval echo configure:1547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
|
echo "*** The test program compiled, but did not run. This usually means"
|
|
|
|
echo "*** The test program compiled, but did not run. This usually means"
|
|
|
|
echo "*** that the run-time linker is not finding SDL or finding the wrong"
|
|
|
|
echo "*** that the run-time linker is not finding SDL or finding the wrong"
|
|
|
@ -1962,26 +1798,13 @@ s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
|
|
|
|
s%@INSTALL_DATA@%$INSTALL_DATA%g
|
|
|
|
s%@INSTALL_DATA@%$INSTALL_DATA%g
|
|
|
|
s%@PACKAGE@%$PACKAGE%g
|
|
|
|
s%@PACKAGE@%$PACKAGE%g
|
|
|
|
s%@VERSION@%$VERSION%g
|
|
|
|
s%@VERSION@%$VERSION%g
|
|
|
|
s%@EXEEXT@%$EXEEXT%g
|
|
|
|
|
|
|
|
s%@OBJEXT@%$OBJEXT%g
|
|
|
|
|
|
|
|
s%@ACLOCAL@%$ACLOCAL%g
|
|
|
|
s%@ACLOCAL@%$ACLOCAL%g
|
|
|
|
s%@AUTOCONF@%$AUTOCONF%g
|
|
|
|
s%@AUTOCONF@%$AUTOCONF%g
|
|
|
|
s%@AUTOMAKE@%$AUTOMAKE%g
|
|
|
|
s%@AUTOMAKE@%$AUTOMAKE%g
|
|
|
|
s%@AUTOHEADER@%$AUTOHEADER%g
|
|
|
|
s%@AUTOHEADER@%$AUTOHEADER%g
|
|
|
|
s%@MAKEINFO@%$MAKEINFO%g
|
|
|
|
s%@MAKEINFO@%$MAKEINFO%g
|
|
|
|
s%@AMTAR@%$AMTAR%g
|
|
|
|
|
|
|
|
s%@install_sh@%$install_sh%g
|
|
|
|
|
|
|
|
s%@INSTALL_STRIP_PROGRAM@%$INSTALL_STRIP_PROGRAM%g
|
|
|
|
|
|
|
|
s%@AWK@%$AWK%g
|
|
|
|
|
|
|
|
s%@SET_MAKE@%$SET_MAKE%g
|
|
|
|
s%@SET_MAKE@%$SET_MAKE%g
|
|
|
|
s%@AMDEP_TRUE@%$AMDEP_TRUE%g
|
|
|
|
|
|
|
|
s%@AMDEP_FALSE@%$AMDEP_FALSE%g
|
|
|
|
|
|
|
|
s%@AMDEPBACKSLASH@%$AMDEPBACKSLASH%g
|
|
|
|
|
|
|
|
s%@DEPDIR@%$DEPDIR%g
|
|
|
|
|
|
|
|
s%@CC@%$CC%g
|
|
|
|
s%@CC@%$CC%g
|
|
|
|
s%@am__include@%$am__include%g
|
|
|
|
|
|
|
|
s%@am__quote@%$am__quote%g
|
|
|
|
|
|
|
|
s%@CCDEPMODE@%$CCDEPMODE%g
|
|
|
|
|
|
|
|
s%@CPP@%$CPP%g
|
|
|
|
s%@CPP@%$CPP%g
|
|
|
|
s%@target@%$target%g
|
|
|
|
s%@target@%$target%g
|
|
|
|
s%@target_alias@%$target_alias%g
|
|
|
|
s%@target_alias@%$target_alias%g
|
|
|
@ -2212,70 +2035,11 @@ fi; done
|
|
|
|
|
|
|
|
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
cat >> $CONFIG_STATUS <<EOF
|
|
|
|
cat >> $CONFIG_STATUS <<EOF
|
|
|
|
am_indx=1
|
|
|
|
|
|
|
|
for am_file in config.h; do
|
|
|
|
|
|
|
|
case " \$CONFIG_HEADERS " in
|
|
|
|
|
|
|
|
*" \$am_file "*)
|
|
|
|
|
|
|
|
am_dir=\`echo \$am_file |sed 's%:.*%%;s%[^/]*\$%%'\`
|
|
|
|
|
|
|
|
if test -n "\$am_dir"; then
|
|
|
|
|
|
|
|
am_tmpdir=\`echo \$am_dir |sed 's%^\(/*\).*\$%\1%'\`
|
|
|
|
|
|
|
|
for am_subdir in \`echo \$am_dir |sed 's%/% %'\`; do
|
|
|
|
|
|
|
|
am_tmpdir=\$am_tmpdir\$am_subdir/
|
|
|
|
|
|
|
|
if test ! -d \$am_tmpdir; then
|
|
|
|
|
|
|
|
mkdir \$am_tmpdir
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
echo timestamp > "\$am_dir"stamp-h\$am_indx
|
|
|
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
am_indx=\`expr \$am_indx + 1\`
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
AMDEP_TRUE="$AMDEP_TRUE"
|
|
|
|
|
|
|
|
ac_aux_dir="$ac_aux_dir"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
cat >> $CONFIG_STATUS <<\EOF
|
|
|
|
cat >> $CONFIG_STATUS <<\EOF
|
|
|
|
test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
|
|
|
|
test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
|
|
|
|
|
|
|
|
|
|
|
|
test x"$AMDEP_TRUE" != x"" ||
|
|
|
|
|
|
|
|
for mf in $CONFIG_FILES; do
|
|
|
|
|
|
|
|
case "$mf" in
|
|
|
|
|
|
|
|
Makefile) dirpart=.;;
|
|
|
|
|
|
|
|
*/Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
|
|
|
|
|
|
|
|
*) continue;;
|
|
|
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
|
|
|
|
|
|
|
|
# Extract the definition of DEP_FILES from the Makefile without
|
|
|
|
|
|
|
|
# running `make'.
|
|
|
|
|
|
|
|
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
|
|
|
|
|
|
|
|
test -z "$DEPDIR" && continue
|
|
|
|
|
|
|
|
# When using ansi2knr, U may be empty or an underscore; expand it
|
|
|
|
|
|
|
|
U=`sed -n -e '/^U = / s///p' < "$mf"`
|
|
|
|
|
|
|
|
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
|
|
|
|
|
|
|
|
# We invoke sed twice because it is the simplest approach to
|
|
|
|
|
|
|
|
# changing $(DEPDIR) to its actual value in the expansion.
|
|
|
|
|
|
|
|
for file in `sed -n -e '
|
|
|
|
|
|
|
|
/^DEP_FILES = .*\\\\$/ {
|
|
|
|
|
|
|
|
s/^DEP_FILES = //
|
|
|
|
|
|
|
|
:loop
|
|
|
|
|
|
|
|
s/\\\\$//
|
|
|
|
|
|
|
|
p
|
|
|
|
|
|
|
|
n
|
|
|
|
|
|
|
|
/\\\\$/ b loop
|
|
|
|
|
|
|
|
p
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
|
|
|
|
|
|
|
|
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
|
|
|
|
|
|
|
# Make sure the directory exists.
|
|
|
|
|
|
|
|
test -f "$dirpart/$file" && continue
|
|
|
|
|
|
|
|
fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
|
|
|
|
|
|
|
|
$ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
|
|
|
|
|
|
|
|
# echo "creating $dirpart/$file"
|
|
|
|
|
|
|
|
echo '# dummy' > "$dirpart/$file"
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
exit 0
|
|
|
|
exit 0
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|