#! /bin/sh
|
#! /bin/sh
|
# Guess values for system-dependent variables and create Makefiles.
|
# Guess values for system-dependent variables and create Makefiles.
|
# Generated by Autoconf 2.52 for rtems-c-src-make ss-20020807.
|
# Generated by Autoconf 2.52 for rtems-c-src-make ss-20020807.
|
#
|
#
|
# Report bugs to .
|
# Report bugs to .
|
#
|
#
|
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
|
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
|
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
# This configure script is free software; the Free Software Foundation
|
# This configure script is free software; the Free Software Foundation
|
# gives unlimited permission to copy, distribute and modify it.
|
# gives unlimited permission to copy, distribute and modify it.
|
|
|
# Avoid depending upon Character Ranges.
|
# Avoid depending upon Character Ranges.
|
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
as_cr_digits='0123456789'
|
as_cr_digits='0123456789'
|
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
|
# Sed expression to map a string onto a valid variable name.
|
# Sed expression to map a string onto a valid variable name.
|
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
|
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
|
|
|
# Sed expression to map a string onto a valid CPP name.
|
# Sed expression to map a string onto a valid CPP name.
|
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
|
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
|
|
|
# Be Bourne compatible
|
# Be Bourne compatible
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
emulate sh
|
emulate sh
|
NULLCMD=:
|
NULLCMD=:
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
set -o posix
|
set -o posix
|
fi
|
fi
|
|
|
# Name of the executable.
|
# Name of the executable.
|
as_me=`echo "$0" |sed 's,.*[\\/],,'`
|
as_me=`echo "$0" |sed 's,.*[\\/],,'`
|
|
|
if expr a : '\(a\)' >/dev/null 2>&1; then
|
if expr a : '\(a\)' >/dev/null 2>&1; then
|
as_expr=expr
|
as_expr=expr
|
else
|
else
|
as_expr=false
|
as_expr=false
|
fi
|
fi
|
|
|
rm -f conf$$ conf$$.exe conf$$.file
|
rm -f conf$$ conf$$.exe conf$$.file
|
echo >conf$$.file
|
echo >conf$$.file
|
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
# We could just check for DJGPP; but this test a) works b) is more generic
|
# We could just check for DJGPP; but this test a) works b) is more generic
|
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
if test -f conf$$.exe; then
|
if test -f conf$$.exe; then
|
# Don't use ln at all; we don't have any links
|
# Don't use ln at all; we don't have any links
|
as_ln_s='cp -p'
|
as_ln_s='cp -p'
|
else
|
else
|
as_ln_s='ln -s'
|
as_ln_s='ln -s'
|
fi
|
fi
|
elif ln conf$$.file conf$$ 2>/dev/null; then
|
elif ln conf$$.file conf$$ 2>/dev/null; then
|
as_ln_s=ln
|
as_ln_s=ln
|
else
|
else
|
as_ln_s='cp -p'
|
as_ln_s='cp -p'
|
fi
|
fi
|
rm -f conf$$ conf$$.exe conf$$.file
|
rm -f conf$$ conf$$.exe conf$$.file
|
|
|
as_executable_p="test -f"
|
as_executable_p="test -f"
|
|
|
# Support unset when possible.
|
# Support unset when possible.
|
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
|
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
|
as_unset=unset
|
as_unset=unset
|
else
|
else
|
as_unset=false
|
as_unset=false
|
fi
|
fi
|
|
|
# NLS nuisances.
|
# NLS nuisances.
|
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
|
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
|
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
|
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
|
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
|
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
|
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
|
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
|
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
|
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
|
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
|
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
|
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
|
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
|
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
|
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
|
|
|
# IFS
|
# IFS
|
# We need space, tab and new line, in precisely that order.
|
# We need space, tab and new line, in precisely that order.
|
as_nl='
|
as_nl='
|
'
|
'
|
IFS=" $as_nl"
|
IFS=" $as_nl"
|
|
|
# CDPATH.
|
# CDPATH.
|
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
|
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
|
|
|
# Name of the host.
|
# Name of the host.
|
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
# so uname gets run too.
|
# so uname gets run too.
|
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
|
|
exec 6>&1
|
exec 6>&1
|
|
|
#
|
#
|
# Initializations.
|
# Initializations.
|
#
|
#
|
ac_default_prefix=/usr/local
|
ac_default_prefix=/usr/local
|
cross_compiling=no
|
cross_compiling=no
|
subdirs=
|
subdirs=
|
MFLAGS= MAKEFLAGS=
|
MFLAGS= MAKEFLAGS=
|
SHELL=${CONFIG_SHELL-/bin/sh}
|
SHELL=${CONFIG_SHELL-/bin/sh}
|
|
|
# Maximum number of lines to put in a shell here document.
|
# Maximum number of lines to put in a shell here document.
|
# This variable seems obsolete. It should probably be removed, and
|
# This variable seems obsolete. It should probably be removed, and
|
# only ac_max_sed_lines should be used.
|
# only ac_max_sed_lines should be used.
|
: ${ac_max_here_lines=38}
|
: ${ac_max_here_lines=38}
|
|
|
ac_unique_file="bsp.cfg.in"
|
ac_unique_file="bsp.cfg.in"
|
ac_default_prefix=/opt/rtems
|
ac_default_prefix=/opt/rtems
|
|
|
# Initialize some variables set by options.
|
# Initialize some variables set by options.
|
ac_init_help=
|
ac_init_help=
|
ac_init_version=false
|
ac_init_version=false
|
# The variables have the same names as the options, with
|
# The variables have the same names as the options, with
|
# dashes changed to underlines.
|
# dashes changed to underlines.
|
cache_file=/dev/null
|
cache_file=/dev/null
|
exec_prefix=NONE
|
exec_prefix=NONE
|
no_create=
|
no_create=
|
no_recursion=
|
no_recursion=
|
prefix=NONE
|
prefix=NONE
|
program_prefix=NONE
|
program_prefix=NONE
|
program_suffix=NONE
|
program_suffix=NONE
|
program_transform_name=s,x,x,
|
program_transform_name=s,x,x,
|
silent=
|
silent=
|
site=
|
site=
|
srcdir=
|
srcdir=
|
verbose=
|
verbose=
|
x_includes=NONE
|
x_includes=NONE
|
x_libraries=NONE
|
x_libraries=NONE
|
|
|
# Installation directory options.
|
# Installation directory options.
|
# These are left unexpanded so users can "make install exec_prefix=/foo"
|
# These are left unexpanded so users can "make install exec_prefix=/foo"
|
# and all the variables that are supposed to be based on exec_prefix
|
# and all the variables that are supposed to be based on exec_prefix
|
# by default will actually change.
|
# by default will actually change.
|
# Use braces instead of parens because sh, perl, etc. also accept them.
|
# Use braces instead of parens because sh, perl, etc. also accept them.
|
bindir='${exec_prefix}/bin'
|
bindir='${exec_prefix}/bin'
|
sbindir='${exec_prefix}/sbin'
|
sbindir='${exec_prefix}/sbin'
|
libexecdir='${exec_prefix}/libexec'
|
libexecdir='${exec_prefix}/libexec'
|
datadir='${prefix}/share'
|
datadir='${prefix}/share'
|
sysconfdir='${prefix}/etc'
|
sysconfdir='${prefix}/etc'
|
sharedstatedir='${prefix}/com'
|
sharedstatedir='${prefix}/com'
|
localstatedir='${prefix}/var'
|
localstatedir='${prefix}/var'
|
libdir='${exec_prefix}/lib'
|
libdir='${exec_prefix}/lib'
|
includedir='${prefix}/include'
|
includedir='${prefix}/include'
|
oldincludedir='/usr/include'
|
oldincludedir='/usr/include'
|
infodir='${prefix}/info'
|
infodir='${prefix}/info'
|
mandir='${prefix}/man'
|
mandir='${prefix}/man'
|
|
|
# Identity of this package.
|
# Identity of this package.
|
PACKAGE_NAME='rtems-c-src-make'
|
PACKAGE_NAME='rtems-c-src-make'
|
PACKAGE_TARNAME='rtems-c-src-make'
|
PACKAGE_TARNAME='rtems-c-src-make'
|
PACKAGE_VERSION='ss-20020807'
|
PACKAGE_VERSION='ss-20020807'
|
PACKAGE_STRING='rtems-c-src-make ss-20020807'
|
PACKAGE_STRING='rtems-c-src-make ss-20020807'
|
PACKAGE_BUGREPORT='rtems-bugs@OARcorp.com'
|
PACKAGE_BUGREPORT='rtems-bugs@OARcorp.com'
|
|
|
ac_prev=
|
ac_prev=
|
for ac_option
|
for ac_option
|
do
|
do
|
# If the previous option needs an argument, assign it.
|
# If the previous option needs an argument, assign it.
|
if test -n "$ac_prev"; then
|
if test -n "$ac_prev"; then
|
eval "$ac_prev=\$ac_option"
|
eval "$ac_prev=\$ac_option"
|
ac_prev=
|
ac_prev=
|
continue
|
continue
|
fi
|
fi
|
|
|
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
|
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
|
|
|
# Accept the important Cygnus configure options, so we can diagnose typos.
|
# Accept the important Cygnus configure options, so we can diagnose typos.
|
|
|
case $ac_option in
|
case $ac_option in
|
|
|
-bindir | --bindir | --bindi | --bind | --bin | --bi)
|
-bindir | --bindir | --bindi | --bind | --bin | --bi)
|
ac_prev=bindir ;;
|
ac_prev=bindir ;;
|
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
bindir=$ac_optarg ;;
|
bindir=$ac_optarg ;;
|
|
|
-build | --build | --buil | --bui | --bu)
|
-build | --build | --buil | --bui | --bu)
|
ac_prev=build_alias ;;
|
ac_prev=build_alias ;;
|
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
build_alias=$ac_optarg ;;
|
build_alias=$ac_optarg ;;
|
|
|
-cache-file | --cache-file | --cache-fil | --cache-fi \
|
-cache-file | --cache-file | --cache-fil | --cache-fi \
|
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
ac_prev=cache_file ;;
|
ac_prev=cache_file ;;
|
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
cache_file=$ac_optarg ;;
|
cache_file=$ac_optarg ;;
|
|
|
--config-cache | -C)
|
--config-cache | -C)
|
cache_file=config.cache ;;
|
cache_file=config.cache ;;
|
|
|
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
|
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
|
ac_prev=datadir ;;
|
ac_prev=datadir ;;
|
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
|
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
|
| --da=*)
|
| --da=*)
|
datadir=$ac_optarg ;;
|
datadir=$ac_optarg ;;
|
|
|
-disable-* | --disable-*)
|
-disable-* | --disable-*)
|
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
# Reject names that are not valid shell variable names.
|
# Reject names that are not valid shell variable names.
|
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
eval "enable_$ac_feature=no" ;;
|
eval "enable_$ac_feature=no" ;;
|
|
|
-enable-* | --enable-*)
|
-enable-* | --enable-*)
|
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
# Reject names that are not valid shell variable names.
|
# Reject names that are not valid shell variable names.
|
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
case $ac_option in
|
case $ac_option in
|
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
*) ac_optarg=yes ;;
|
*) ac_optarg=yes ;;
|
esac
|
esac
|
eval "enable_$ac_feature='$ac_optarg'" ;;
|
eval "enable_$ac_feature='$ac_optarg'" ;;
|
|
|
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
| --exec | --exe | --ex)
|
| --exec | --exe | --ex)
|
ac_prev=exec_prefix ;;
|
ac_prev=exec_prefix ;;
|
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
| --exec=* | --exe=* | --ex=*)
|
| --exec=* | --exe=* | --ex=*)
|
exec_prefix=$ac_optarg ;;
|
exec_prefix=$ac_optarg ;;
|
|
|
-gas | --gas | --ga | --g)
|
-gas | --gas | --ga | --g)
|
# Obsolete; use --with-gas.
|
# Obsolete; use --with-gas.
|
with_gas=yes ;;
|
with_gas=yes ;;
|
|
|
-help | --help | --hel | --he | -h)
|
-help | --help | --hel | --he | -h)
|
ac_init_help=long ;;
|
ac_init_help=long ;;
|
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
ac_init_help=recursive ;;
|
ac_init_help=recursive ;;
|
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
ac_init_help=short ;;
|
ac_init_help=short ;;
|
|
|
-host | --host | --hos | --ho)
|
-host | --host | --hos | --ho)
|
ac_prev=host_alias ;;
|
ac_prev=host_alias ;;
|
-host=* | --host=* | --hos=* | --ho=*)
|
-host=* | --host=* | --hos=* | --ho=*)
|
host_alias=$ac_optarg ;;
|
host_alias=$ac_optarg ;;
|
|
|
-includedir | --includedir | --includedi | --included | --include \
|
-includedir | --includedir | --includedi | --included | --include \
|
| --includ | --inclu | --incl | --inc)
|
| --includ | --inclu | --incl | --inc)
|
ac_prev=includedir ;;
|
ac_prev=includedir ;;
|
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
| --includ=* | --inclu=* | --incl=* | --inc=*)
|
| --includ=* | --inclu=* | --incl=* | --inc=*)
|
includedir=$ac_optarg ;;
|
includedir=$ac_optarg ;;
|
|
|
-infodir | --infodir | --infodi | --infod | --info | --inf)
|
-infodir | --infodir | --infodi | --infod | --info | --inf)
|
ac_prev=infodir ;;
|
ac_prev=infodir ;;
|
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
infodir=$ac_optarg ;;
|
infodir=$ac_optarg ;;
|
|
|
-libdir | --libdir | --libdi | --libd)
|
-libdir | --libdir | --libdi | --libd)
|
ac_prev=libdir ;;
|
ac_prev=libdir ;;
|
-libdir=* | --libdir=* | --libdi=* | --libd=*)
|
-libdir=* | --libdir=* | --libdi=* | --libd=*)
|
libdir=$ac_optarg ;;
|
libdir=$ac_optarg ;;
|
|
|
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
| --libexe | --libex | --libe)
|
| --libexe | --libex | --libe)
|
ac_prev=libexecdir ;;
|
ac_prev=libexecdir ;;
|
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
| --libexe=* | --libex=* | --libe=*)
|
| --libexe=* | --libex=* | --libe=*)
|
libexecdir=$ac_optarg ;;
|
libexecdir=$ac_optarg ;;
|
|
|
-localstatedir | --localstatedir | --localstatedi | --localstated \
|
-localstatedir | --localstatedir | --localstatedi | --localstated \
|
| --localstate | --localstat | --localsta | --localst \
|
| --localstate | --localstat | --localsta | --localst \
|
| --locals | --local | --loca | --loc | --lo)
|
| --locals | --local | --loca | --loc | --lo)
|
ac_prev=localstatedir ;;
|
ac_prev=localstatedir ;;
|
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
|
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
|
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
|
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
|
localstatedir=$ac_optarg ;;
|
localstatedir=$ac_optarg ;;
|
|
|
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
ac_prev=mandir ;;
|
ac_prev=mandir ;;
|
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
mandir=$ac_optarg ;;
|
mandir=$ac_optarg ;;
|
|
|
-nfp | --nfp | --nf)
|
-nfp | --nfp | --nf)
|
# Obsolete; use --without-fp.
|
# Obsolete; use --without-fp.
|
with_fp=no ;;
|
with_fp=no ;;
|
|
|
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
| --no-cr | --no-c)
|
| --no-cr | --no-c)
|
no_create=yes ;;
|
no_create=yes ;;
|
|
|
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
no_recursion=yes ;;
|
no_recursion=yes ;;
|
|
|
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
| --oldin | --oldi | --old | --ol | --o)
|
| --oldin | --oldi | --old | --ol | --o)
|
ac_prev=oldincludedir ;;
|
ac_prev=oldincludedir ;;
|
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
oldincludedir=$ac_optarg ;;
|
oldincludedir=$ac_optarg ;;
|
|
|
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
ac_prev=prefix ;;
|
ac_prev=prefix ;;
|
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
prefix=$ac_optarg ;;
|
prefix=$ac_optarg ;;
|
|
|
-program-prefix | --program-prefix | --program-prefi | --program-pref \
|
-program-prefix | --program-prefix | --program-prefi | --program-pref \
|
| --program-pre | --program-pr | --program-p)
|
| --program-pre | --program-pr | --program-p)
|
ac_prev=program_prefix ;;
|
ac_prev=program_prefix ;;
|
-program-prefix=* | --program-prefix=* | --program-prefi=* \
|
-program-prefix=* | --program-prefix=* | --program-prefi=* \
|
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
program_prefix=$ac_optarg ;;
|
program_prefix=$ac_optarg ;;
|
|
|
-program-suffix | --program-suffix | --program-suffi | --program-suff \
|
-program-suffix | --program-suffix | --program-suffi | --program-suff \
|
| --program-suf | --program-su | --program-s)
|
| --program-suf | --program-su | --program-s)
|
ac_prev=program_suffix ;;
|
ac_prev=program_suffix ;;
|
-program-suffix=* | --program-suffix=* | --program-suffi=* \
|
-program-suffix=* | --program-suffix=* | --program-suffi=* \
|
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
program_suffix=$ac_optarg ;;
|
program_suffix=$ac_optarg ;;
|
|
|
-program-transform-name | --program-transform-name \
|
-program-transform-name | --program-transform-name \
|
| --program-transform-nam | --program-transform-na \
|
| --program-transform-nam | --program-transform-na \
|
| --program-transform-n | --program-transform- \
|
| --program-transform-n | --program-transform- \
|
| --program-transform | --program-transfor \
|
| --program-transform | --program-transfor \
|
| --program-transfo | --program-transf \
|
| --program-transfo | --program-transf \
|
| --program-trans | --program-tran \
|
| --program-trans | --program-tran \
|
| --progr-tra | --program-tr | --program-t)
|
| --progr-tra | --program-tr | --program-t)
|
ac_prev=program_transform_name ;;
|
ac_prev=program_transform_name ;;
|
-program-transform-name=* | --program-transform-name=* \
|
-program-transform-name=* | --program-transform-name=* \
|
| --program-transform-nam=* | --program-transform-na=* \
|
| --program-transform-nam=* | --program-transform-na=* \
|
| --program-transform-n=* | --program-transform-=* \
|
| --program-transform-n=* | --program-transform-=* \
|
| --program-transform=* | --program-transfor=* \
|
| --program-transform=* | --program-transfor=* \
|
| --program-transfo=* | --program-transf=* \
|
| --program-transfo=* | --program-transf=* \
|
| --program-trans=* | --program-tran=* \
|
| --program-trans=* | --program-tran=* \
|
| --progr-tra=* | --program-tr=* | --program-t=*)
|
| --progr-tra=* | --program-tr=* | --program-t=*)
|
program_transform_name=$ac_optarg ;;
|
program_transform_name=$ac_optarg ;;
|
|
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
| -silent | --silent | --silen | --sile | --sil)
|
| -silent | --silent | --silen | --sile | --sil)
|
silent=yes ;;
|
silent=yes ;;
|
|
|
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
ac_prev=sbindir ;;
|
ac_prev=sbindir ;;
|
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
| --sbi=* | --sb=*)
|
| --sbi=* | --sb=*)
|
sbindir=$ac_optarg ;;
|
sbindir=$ac_optarg ;;
|
|
|
-sharedstatedir | --sharedstatedir | --sharedstatedi \
|
-sharedstatedir | --sharedstatedir | --sharedstatedi \
|
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
| --sharedst | --shareds | --shared | --share | --shar \
|
| --sharedst | --shareds | --shared | --share | --shar \
|
| --sha | --sh)
|
| --sha | --sh)
|
ac_prev=sharedstatedir ;;
|
ac_prev=sharedstatedir ;;
|
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
| --sha=* | --sh=*)
|
| --sha=* | --sh=*)
|
sharedstatedir=$ac_optarg ;;
|
sharedstatedir=$ac_optarg ;;
|
|
|
-site | --site | --sit)
|
-site | --site | --sit)
|
ac_prev=site ;;
|
ac_prev=site ;;
|
-site=* | --site=* | --sit=*)
|
-site=* | --site=* | --sit=*)
|
site=$ac_optarg ;;
|
site=$ac_optarg ;;
|
|
|
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
ac_prev=srcdir ;;
|
ac_prev=srcdir ;;
|
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
srcdir=$ac_optarg ;;
|
srcdir=$ac_optarg ;;
|
|
|
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
| --syscon | --sysco | --sysc | --sys | --sy)
|
| --syscon | --sysco | --sysc | --sys | --sy)
|
ac_prev=sysconfdir ;;
|
ac_prev=sysconfdir ;;
|
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
sysconfdir=$ac_optarg ;;
|
sysconfdir=$ac_optarg ;;
|
|
|
-target | --target | --targe | --targ | --tar | --ta | --t)
|
-target | --target | --targe | --targ | --tar | --ta | --t)
|
ac_prev=target_alias ;;
|
ac_prev=target_alias ;;
|
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
target_alias=$ac_optarg ;;
|
target_alias=$ac_optarg ;;
|
|
|
-v | -verbose | --verbose | --verbos | --verbo | --verb)
|
-v | -verbose | --verbose | --verbos | --verbo | --verb)
|
verbose=yes ;;
|
verbose=yes ;;
|
|
|
-version | --version | --versio | --versi | --vers | -V)
|
-version | --version | --versio | --versi | --vers | -V)
|
ac_init_version=: ;;
|
ac_init_version=: ;;
|
|
|
-with-* | --with-*)
|
-with-* | --with-*)
|
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
# Reject names that are not valid shell variable names.
|
# Reject names that are not valid shell variable names.
|
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
ac_package=`echo $ac_package| sed 's/-/_/g'`
|
ac_package=`echo $ac_package| sed 's/-/_/g'`
|
case $ac_option in
|
case $ac_option in
|
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
*) ac_optarg=yes ;;
|
*) ac_optarg=yes ;;
|
esac
|
esac
|
eval "with_$ac_package='$ac_optarg'" ;;
|
eval "with_$ac_package='$ac_optarg'" ;;
|
|
|
-without-* | --without-*)
|
-without-* | --without-*)
|
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
# Reject names that are not valid shell variable names.
|
# Reject names that are not valid shell variable names.
|
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
ac_package=`echo $ac_package | sed 's/-/_/g'`
|
ac_package=`echo $ac_package | sed 's/-/_/g'`
|
eval "with_$ac_package=no" ;;
|
eval "with_$ac_package=no" ;;
|
|
|
--x)
|
--x)
|
# Obsolete; use --with-x.
|
# Obsolete; use --with-x.
|
with_x=yes ;;
|
with_x=yes ;;
|
|
|
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
| --x-incl | --x-inc | --x-in | --x-i)
|
| --x-incl | --x-inc | --x-in | --x-i)
|
ac_prev=x_includes ;;
|
ac_prev=x_includes ;;
|
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
x_includes=$ac_optarg ;;
|
x_includes=$ac_optarg ;;
|
|
|
-x-libraries | --x-libraries | --x-librarie | --x-librari \
|
-x-libraries | --x-libraries | --x-librarie | --x-librari \
|
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
ac_prev=x_libraries ;;
|
ac_prev=x_libraries ;;
|
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
x_libraries=$ac_optarg ;;
|
x_libraries=$ac_optarg ;;
|
|
|
-*) { echo "$as_me: error: unrecognized option: $ac_option
|
-*) { echo "$as_me: error: unrecognized option: $ac_option
|
Try \`$0 --help' for more information." >&2
|
Try \`$0 --help' for more information." >&2
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
;;
|
;;
|
|
|
*=*)
|
*=*)
|
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
# Reject names that are not valid shell variable names.
|
# Reject names that are not valid shell variable names.
|
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
|
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
|
eval "$ac_envvar='$ac_optarg'"
|
eval "$ac_envvar='$ac_optarg'"
|
export $ac_envvar ;;
|
export $ac_envvar ;;
|
|
|
*)
|
*)
|
# FIXME: should be removed in autoconf 3.0.
|
# FIXME: should be removed in autoconf 3.0.
|
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
;;
|
;;
|
|
|
esac
|
esac
|
done
|
done
|
|
|
if test -n "$ac_prev"; then
|
if test -n "$ac_prev"; then
|
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
{ echo "$as_me: error: missing argument to $ac_option" >&2
|
{ echo "$as_me: error: missing argument to $ac_option" >&2
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
fi
|
fi
|
|
|
# Be sure to have absolute paths.
|
# Be sure to have absolute paths.
|
for ac_var in exec_prefix prefix
|
for ac_var in exec_prefix prefix
|
do
|
do
|
eval ac_val=$`echo $ac_var`
|
eval ac_val=$`echo $ac_var`
|
case $ac_val in
|
case $ac_val in
|
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
|
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
|
*) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
|
*) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
|
{ (exit 1); exit 1; }; };;
|
{ (exit 1); exit 1; }; };;
|
esac
|
esac
|
done
|
done
|
|
|
# Be sure to have absolute paths.
|
# Be sure to have absolute paths.
|
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
|
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
|
localstatedir libdir includedir oldincludedir infodir mandir
|
localstatedir libdir includedir oldincludedir infodir mandir
|
do
|
do
|
eval ac_val=$`echo $ac_var`
|
eval ac_val=$`echo $ac_var`
|
case $ac_val in
|
case $ac_val in
|
[\\/$]* | ?:[\\/]* ) ;;
|
[\\/$]* | ?:[\\/]* ) ;;
|
*) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
|
*) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
|
{ (exit 1); exit 1; }; };;
|
{ (exit 1); exit 1; }; };;
|
esac
|
esac
|
done
|
done
|
|
|
# There might be people who depend on the old broken behavior: `$host'
|
# There might be people who depend on the old broken behavior: `$host'
|
# used to hold the argument of --host etc.
|
# used to hold the argument of --host etc.
|
build=$build_alias
|
build=$build_alias
|
host=$host_alias
|
host=$host_alias
|
target=$target_alias
|
target=$target_alias
|
|
|
# FIXME: should be removed in autoconf 3.0.
|
# FIXME: should be removed in autoconf 3.0.
|
if test "x$host_alias" != x; then
|
if test "x$host_alias" != x; then
|
if test "x$build_alias" = x; then
|
if test "x$build_alias" = x; then
|
cross_compiling=maybe
|
cross_compiling=maybe
|
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
If a cross compiler is detected then cross compile mode will be used." >&2
|
If a cross compiler is detected then cross compile mode will be used." >&2
|
elif test "x$build_alias" != "x$host_alias"; then
|
elif test "x$build_alias" != "x$host_alias"; then
|
cross_compiling=yes
|
cross_compiling=yes
|
fi
|
fi
|
fi
|
fi
|
|
|
ac_tool_prefix=
|
ac_tool_prefix=
|
test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
|
|
test "$silent" = yes && exec 6>/dev/null
|
test "$silent" = yes && exec 6>/dev/null
|
|
|
# Find the source files, if location was not specified.
|
# Find the source files, if location was not specified.
|
if test -z "$srcdir"; then
|
if test -z "$srcdir"; then
|
ac_srcdir_defaulted=yes
|
ac_srcdir_defaulted=yes
|
# Try the directory containing this script, then its parent.
|
# Try the directory containing this script, then its parent.
|
ac_prog=$0
|
ac_prog=$0
|
ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
|
ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
|
test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
|
test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
|
srcdir=$ac_confdir
|
srcdir=$ac_confdir
|
if test ! -r $srcdir/$ac_unique_file; then
|
if test ! -r $srcdir/$ac_unique_file; then
|
srcdir=..
|
srcdir=..
|
fi
|
fi
|
else
|
else
|
ac_srcdir_defaulted=no
|
ac_srcdir_defaulted=no
|
fi
|
fi
|
if test ! -r $srcdir/$ac_unique_file; then
|
if test ! -r $srcdir/$ac_unique_file; then
|
if test "$ac_srcdir_defaulted" = yes; then
|
if test "$ac_srcdir_defaulted" = yes; then
|
{ echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
|
{ echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
else
|
else
|
{ echo "$as_me: error: cannot find sources in $srcdir" >&2
|
{ echo "$as_me: error: cannot find sources in $srcdir" >&2
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
fi
|
fi
|
fi
|
fi
|
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
|
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
|
ac_env_build_alias_set=${build_alias+set}
|
ac_env_build_alias_set=${build_alias+set}
|
ac_env_build_alias_value=$build_alias
|
ac_env_build_alias_value=$build_alias
|
ac_cv_env_build_alias_set=${build_alias+set}
|
ac_cv_env_build_alias_set=${build_alias+set}
|
ac_cv_env_build_alias_value=$build_alias
|
ac_cv_env_build_alias_value=$build_alias
|
ac_env_host_alias_set=${host_alias+set}
|
ac_env_host_alias_set=${host_alias+set}
|
ac_env_host_alias_value=$host_alias
|
ac_env_host_alias_value=$host_alias
|
ac_cv_env_host_alias_set=${host_alias+set}
|
ac_cv_env_host_alias_set=${host_alias+set}
|
ac_cv_env_host_alias_value=$host_alias
|
ac_cv_env_host_alias_value=$host_alias
|
ac_env_target_alias_set=${target_alias+set}
|
ac_env_target_alias_set=${target_alias+set}
|
ac_env_target_alias_value=$target_alias
|
ac_env_target_alias_value=$target_alias
|
ac_cv_env_target_alias_set=${target_alias+set}
|
ac_cv_env_target_alias_set=${target_alias+set}
|
ac_cv_env_target_alias_value=$target_alias
|
ac_cv_env_target_alias_value=$target_alias
|
ac_env_RTEMS_BSP_set=${RTEMS_BSP+set}
|
ac_env_RTEMS_BSP_set=${RTEMS_BSP+set}
|
ac_env_RTEMS_BSP_value=$RTEMS_BSP
|
ac_env_RTEMS_BSP_value=$RTEMS_BSP
|
ac_cv_env_RTEMS_BSP_set=${RTEMS_BSP+set}
|
ac_cv_env_RTEMS_BSP_set=${RTEMS_BSP+set}
|
ac_cv_env_RTEMS_BSP_value=$RTEMS_BSP
|
ac_cv_env_RTEMS_BSP_value=$RTEMS_BSP
|
ac_env_CC_set=${CC+set}
|
ac_env_CC_set=${CC+set}
|
ac_env_CC_value=$CC
|
ac_env_CC_value=$CC
|
ac_cv_env_CC_set=${CC+set}
|
ac_cv_env_CC_set=${CC+set}
|
ac_cv_env_CC_value=$CC
|
ac_cv_env_CC_value=$CC
|
ac_env_CFLAGS_set=${CFLAGS+set}
|
ac_env_CFLAGS_set=${CFLAGS+set}
|
ac_env_CFLAGS_value=$CFLAGS
|
ac_env_CFLAGS_value=$CFLAGS
|
ac_cv_env_CFLAGS_set=${CFLAGS+set}
|
ac_cv_env_CFLAGS_set=${CFLAGS+set}
|
ac_cv_env_CFLAGS_value=$CFLAGS
|
ac_cv_env_CFLAGS_value=$CFLAGS
|
ac_env_LDFLAGS_set=${LDFLAGS+set}
|
ac_env_LDFLAGS_set=${LDFLAGS+set}
|
ac_env_LDFLAGS_value=$LDFLAGS
|
ac_env_LDFLAGS_value=$LDFLAGS
|
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
|
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
|
ac_cv_env_LDFLAGS_value=$LDFLAGS
|
ac_cv_env_LDFLAGS_value=$LDFLAGS
|
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
|
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
|
ac_env_CPPFLAGS_value=$CPPFLAGS
|
ac_env_CPPFLAGS_value=$CPPFLAGS
|
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
|
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
|
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
|
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
|
ac_env_CPP_set=${CPP+set}
|
ac_env_CPP_set=${CPP+set}
|
ac_env_CPP_value=$CPP
|
ac_env_CPP_value=$CPP
|
ac_cv_env_CPP_set=${CPP+set}
|
ac_cv_env_CPP_set=${CPP+set}
|
ac_cv_env_CPP_value=$CPP
|
ac_cv_env_CPP_value=$CPP
|
ac_env_CXX_set=${CXX+set}
|
ac_env_CXX_set=${CXX+set}
|
ac_env_CXX_value=$CXX
|
ac_env_CXX_value=$CXX
|
ac_cv_env_CXX_set=${CXX+set}
|
ac_cv_env_CXX_set=${CXX+set}
|
ac_cv_env_CXX_value=$CXX
|
ac_cv_env_CXX_value=$CXX
|
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
|
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
|
ac_env_CXXFLAGS_value=$CXXFLAGS
|
ac_env_CXXFLAGS_value=$CXXFLAGS
|
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
|
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
|
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
|
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
|
|
|
#
|
#
|
# Report the --help message.
|
# Report the --help message.
|
#
|
#
|
if test "$ac_init_help" = "long"; then
|
if test "$ac_init_help" = "long"; then
|
# Omit some internal or obsolete options to make the list less imposing.
|
# Omit some internal or obsolete options to make the list less imposing.
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
cat <
|
cat <
|
\`configure' configures rtems-c-src-make ss-20020807 to adapt to many kinds of systems.
|
\`configure' configures rtems-c-src-make ss-20020807 to adapt to many kinds of systems.
|
|
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
|
|
To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
VAR=VALUE. See below for descriptions of some of the useful variables.
|
VAR=VALUE. See below for descriptions of some of the useful variables.
|
|
|
Defaults for the options are specified in brackets.
|
Defaults for the options are specified in brackets.
|
|
|
Configuration:
|
Configuration:
|
-h, --help display this help and exit
|
-h, --help display this help and exit
|
--help=short display options specific to this package
|
--help=short display options specific to this package
|
--help=recursive display the short help of all the included packages
|
--help=recursive display the short help of all the included packages
|
-V, --version display version information and exit
|
-V, --version display version information and exit
|
-q, --quiet, --silent do not print \`checking...' messages
|
-q, --quiet, --silent do not print \`checking...' messages
|
--cache-file=FILE cache test results in FILE [disabled]
|
--cache-file=FILE cache test results in FILE [disabled]
|
-C, --config-cache alias for \`--cache-file=config.cache'
|
-C, --config-cache alias for \`--cache-file=config.cache'
|
-n, --no-create do not create output files
|
-n, --no-create do not create output files
|
--srcdir=DIR find the sources in DIR [configure dir or \`..']
|
--srcdir=DIR find the sources in DIR [configure dir or \`..']
|
|
|
EOF
|
EOF
|
|
|
cat <
|
cat <
|
Installation directories:
|
Installation directories:
|
--prefix=PREFIX install architecture-independent files in PREFIX
|
--prefix=PREFIX install architecture-independent files in PREFIX
|
[$ac_default_prefix]
|
[$ac_default_prefix]
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
[PREFIX]
|
[PREFIX]
|
|
|
By default, \`make install' will install all the files in
|
By default, \`make install' will install all the files in
|
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
for instance \`--prefix=\$HOME'.
|
for instance \`--prefix=\$HOME'.
|
|
|
For better control, use the options below.
|
For better control, use the options below.
|
|
|
Fine tuning of the installation directories:
|
Fine tuning of the installation directories:
|
--bindir=DIR user executables [EPREFIX/bin]
|
--bindir=DIR user executables [EPREFIX/bin]
|
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
--libexecdir=DIR program executables [EPREFIX/libexec]
|
--libexecdir=DIR program executables [EPREFIX/libexec]
|
--datadir=DIR read-only architecture-independent data [PREFIX/share]
|
--datadir=DIR read-only architecture-independent data [PREFIX/share]
|
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
--libdir=DIR object code libraries [EPREFIX/lib]
|
--libdir=DIR object code libraries [EPREFIX/lib]
|
--includedir=DIR C header files [PREFIX/include]
|
--includedir=DIR C header files [PREFIX/include]
|
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
--infodir=DIR info documentation [PREFIX/info]
|
--infodir=DIR info documentation [PREFIX/info]
|
--mandir=DIR man documentation [PREFIX/man]
|
--mandir=DIR man documentation [PREFIX/man]
|
EOF
|
EOF
|
|
|
cat <<\EOF
|
cat <<\EOF
|
|
|
Program names:
|
Program names:
|
--program-prefix=PREFIX prepend PREFIX to installed program names
|
--program-prefix=PREFIX prepend PREFIX to installed program names
|
--program-suffix=SUFFIX append SUFFIX to installed program names
|
--program-suffix=SUFFIX append SUFFIX to installed program names
|
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
|
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
|
|
|
System types:
|
System types:
|
--build=BUILD configure for building on BUILD [guessed]
|
--build=BUILD configure for building on BUILD [guessed]
|
--host=HOST build programs to run on HOST [BUILD]
|
--host=HOST build programs to run on HOST [BUILD]
|
--target=TARGET configure for building compilers for TARGET [HOST]
|
--target=TARGET configure for building compilers for TARGET [HOST]
|
EOF
|
EOF
|
fi
|
fi
|
|
|
if test -n "$ac_init_help"; then
|
if test -n "$ac_init_help"; then
|
case $ac_init_help in
|
case $ac_init_help in
|
short | recursive ) echo "Configuration of rtems-c-src-make ss-20020807:";;
|
short | recursive ) echo "Configuration of rtems-c-src-make ss-20020807:";;
|
esac
|
esac
|
cat <<\EOF
|
cat <<\EOF
|
|
|
Optional Features:
|
Optional Features:
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
--enable-maintainer-mode enable make rules and dependencies not useful
|
--enable-maintainer-mode enable make rules and dependencies not useful
|
(and sometimes confusing) to the casual installer
|
(and sometimes confusing) to the casual installer
|
--enable-multiprocessing
|
--enable-multiprocessing
|
enable multiprocessing interface
|
enable multiprocessing interface
|
--enable-posix enable posix interface
|
--enable-posix enable posix interface
|
--enable-itron enable itron interface
|
--enable-itron enable itron interface
|
--enable-networking enable TCP/IP stack
|
--enable-networking enable TCP/IP stack
|
--enable-rdbg enable remote debugger
|
--enable-rdbg enable remote debugger
|
--enable-rtems-inlines enable RTEMS inline functions (default:enabled,
|
--enable-rtems-inlines enable RTEMS inline functions (default:enabled,
|
disable to use macros)
|
disable to use macros)
|
--enable-cxx enable C++ support and build the rtems++ library
|
--enable-cxx enable C++ support and build the rtems++ library
|
--enable-bare-cpu-cflags
|
--enable-bare-cpu-cflags
|
specify a particular cpu cflag (bare bsp specific)
|
specify a particular cpu cflag (bare bsp specific)
|
--enable-bare-cpu-model specify a particular cpu model (bare bsp specific)
|
--enable-bare-cpu-model specify a particular cpu model (bare bsp specific)
|
--disable-dependency-tracking Speeds up one-time builds
|
--disable-dependency-tracking Speeds up one-time builds
|
--enable-dependency-tracking Do not reject slow dependency extractors
|
--enable-dependency-tracking Do not reject slow dependency extractors
|
--enable-multilib build many library versions (default=no)
|
--enable-multilib build many library versions (default=no)
|
|
|
Some influential environment variables:
|
Some influential environment variables:
|
RTEMS_BSP RTEMS_BSP to build
|
RTEMS_BSP RTEMS_BSP to build
|
CC C compiler command
|
CC C compiler command
|
CFLAGS C compiler flags
|
CFLAGS C compiler flags
|
LDFLAGS linker flags, e.g. -L if you have libraries in a
|
LDFLAGS linker flags, e.g. -L if you have libraries in a
|
nonstandard directory
|
nonstandard directory
|
CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have
|
CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have
|
headers in a nonstandard directory
|
headers in a nonstandard directory
|
CPP C preprocessor
|
CPP C preprocessor
|
CXX C++ compiler command
|
CXX C++ compiler command
|
CXXFLAGS C++ compiler flags
|
CXXFLAGS C++ compiler flags
|
|
|
Use these variables to override the choices made by `configure' or to help
|
Use these variables to override the choices made by `configure' or to help
|
it to find libraries and programs with nonstandard names/locations.
|
it to find libraries and programs with nonstandard names/locations.
|
|
|
Report bugs to .
|
Report bugs to .
|
EOF
|
EOF
|
fi
|
fi
|
|
|
if test "$ac_init_help" = "recursive"; then
|
if test "$ac_init_help" = "recursive"; then
|
# If there are subdirs, report their specific --help.
|
# If there are subdirs, report their specific --help.
|
ac_popdir=`pwd`
|
ac_popdir=`pwd`
|
for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
|
for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
|
cd $ac_subdir
|
cd $ac_subdir
|
# A "../" for each directory in /$ac_subdir.
|
# A "../" for each directory in /$ac_subdir.
|
ac_dots=`echo $ac_subdir |
|
ac_dots=`echo $ac_subdir |
|
sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
|
sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
|
|
|
case $srcdir in
|
case $srcdir in
|
.) # No --srcdir option. We are building in place.
|
.) # No --srcdir option. We are building in place.
|
ac_sub_srcdir=$srcdir ;;
|
ac_sub_srcdir=$srcdir ;;
|
[\\/]* | ?:[\\/]* ) # Absolute path.
|
[\\/]* | ?:[\\/]* ) # Absolute path.
|
ac_sub_srcdir=$srcdir/$ac_subdir ;;
|
ac_sub_srcdir=$srcdir/$ac_subdir ;;
|
*) # Relative path.
|
*) # Relative path.
|
ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
|
ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
|
esac
|
esac
|
|
|
# Check for guested configure; otherwise get Cygnus style configure.
|
# Check for guested configure; otherwise get Cygnus style configure.
|
if test -f $ac_sub_srcdir/configure.gnu; then
|
if test -f $ac_sub_srcdir/configure.gnu; then
|
echo
|
echo
|
$SHELL $ac_sub_srcdir/configure.gnu --help=recursive
|
$SHELL $ac_sub_srcdir/configure.gnu --help=recursive
|
elif test -f $ac_sub_srcdir/configure; then
|
elif test -f $ac_sub_srcdir/configure; then
|
echo
|
echo
|
$SHELL $ac_sub_srcdir/configure --help=recursive
|
$SHELL $ac_sub_srcdir/configure --help=recursive
|
elif test -f $ac_sub_srcdir/configure.ac ||
|
elif test -f $ac_sub_srcdir/configure.ac ||
|
test -f $ac_sub_srcdir/configure.in; then
|
test -f $ac_sub_srcdir/configure.in; then
|
echo
|
echo
|
$ac_configure --help
|
$ac_configure --help
|
else
|
else
|
echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
|
echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
|
fi
|
fi
|
cd $ac_popdir
|
cd $ac_popdir
|
done
|
done
|
fi
|
fi
|
|
|
test -n "$ac_init_help" && exit 0
|
test -n "$ac_init_help" && exit 0
|
if $ac_init_version; then
|
if $ac_init_version; then
|
cat <<\EOF
|
cat <<\EOF
|
rtems-c-src-make configure ss-20020807
|
rtems-c-src-make configure ss-20020807
|
generated by GNU Autoconf 2.52
|
generated by GNU Autoconf 2.52
|
|
|
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
|
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
|
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
This configure script is free software; the Free Software Foundation
|
This configure script is free software; the Free Software Foundation
|
gives unlimited permission to copy, distribute and modify it.
|
gives unlimited permission to copy, distribute and modify it.
|
EOF
|
EOF
|
exit 0
|
exit 0
|
fi
|
fi
|
exec 5>config.log
|
exec 5>config.log
|
cat >&5 <
|
cat >&5 <
|
This file contains any messages produced by compilers while
|
This file contains any messages produced by compilers while
|
running configure, to aid debugging if configure makes a mistake.
|
running configure, to aid debugging if configure makes a mistake.
|
|
|
It was created by rtems-c-src-make $as_me ss-20020807, which was
|
It was created by rtems-c-src-make $as_me ss-20020807, which was
|
generated by GNU Autoconf 2.52. Invocation command line was
|
generated by GNU Autoconf 2.52. Invocation command line was
|
|
|
$ $0 $@
|
$ $0 $@
|
|
|
EOF
|
EOF
|
{
|
{
|
cat <<_ASUNAME
|
cat <<_ASUNAME
|
## ---------- ##
|
## ---------- ##
|
## Platform. ##
|
## Platform. ##
|
## ---------- ##
|
## ---------- ##
|
|
|
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
|
|
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
|
|
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
|
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
|
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
|
|
PATH = $PATH
|
PATH = $PATH
|
|
|
_ASUNAME
|
_ASUNAME
|
} >&5
|
} >&5
|
|
|
cat >&5 <
|
cat >&5 <
|
## ------------ ##
|
## ------------ ##
|
## Core tests. ##
|
## Core tests. ##
|
## ------------ ##
|
## ------------ ##
|
|
|
EOF
|
EOF
|
|
|
# Keep a trace of the command line.
|
# Keep a trace of the command line.
|
# Strip out --no-create and --no-recursion so they do not pile up.
|
# Strip out --no-create and --no-recursion so they do not pile up.
|
# Also quote any args containing shell meta-characters.
|
# Also quote any args containing shell meta-characters.
|
ac_configure_args=
|
ac_configure_args=
|
ac_sep=
|
ac_sep=
|
for ac_arg
|
for ac_arg
|
do
|
do
|
case $ac_arg in
|
case $ac_arg in
|
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
| --no-cr | --no-c) ;;
|
| --no-cr | --no-c) ;;
|
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
|
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
|
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
|
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
|
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
|
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
|
ac_sep=" " ;;
|
ac_sep=" " ;;
|
*) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
|
*) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
|
ac_sep=" " ;;
|
ac_sep=" " ;;
|
esac
|
esac
|
# Get rid of the leading space.
|
# Get rid of the leading space.
|
done
|
done
|
|
|
# When interrupted or exit'd, cleanup temporary files, and complete
|
# When interrupted or exit'd, cleanup temporary files, and complete
|
# config.log. We remove comments because anyway the quotes in there
|
# config.log. We remove comments because anyway the quotes in there
|
# would cause problems or look ugly.
|
# would cause problems or look ugly.
|
trap 'exit_status=$?
|
trap 'exit_status=$?
|
# Save into config.log some information that might help in debugging.
|
# Save into config.log some information that might help in debugging.
|
echo >&5
|
echo >&5
|
echo "## ----------------- ##" >&5
|
echo "## ----------------- ##" >&5
|
echo "## Cache variables. ##" >&5
|
echo "## Cache variables. ##" >&5
|
echo "## ----------------- ##" >&5
|
echo "## ----------------- ##" >&5
|
echo >&5
|
echo >&5
|
# The following way of writing the cache mishandles newlines in values,
|
# The following way of writing the cache mishandles newlines in values,
|
{
|
{
|
(set) 2>&1 |
|
(set) 2>&1 |
|
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
|
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
|
*ac_space=\ *)
|
*ac_space=\ *)
|
sed -n \
|
sed -n \
|
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
|
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
|
;;
|
;;
|
*)
|
*)
|
sed -n \
|
sed -n \
|
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
;;
|
;;
|
esac;
|
esac;
|
} >&5
|
} >&5
|
sed "/^$/d" confdefs.h >conftest.log
|
sed "/^$/d" confdefs.h >conftest.log
|
if test -s conftest.log; then
|
if test -s conftest.log; then
|
echo >&5
|
echo >&5
|
echo "## ------------ ##" >&5
|
echo "## ------------ ##" >&5
|
echo "## confdefs.h. ##" >&5
|
echo "## confdefs.h. ##" >&5
|
echo "## ------------ ##" >&5
|
echo "## ------------ ##" >&5
|
echo >&5
|
echo >&5
|
cat conftest.log >&5
|
cat conftest.log >&5
|
fi
|
fi
|
(echo; echo) >&5
|
(echo; echo) >&5
|
test "$ac_signal" != 0 &&
|
test "$ac_signal" != 0 &&
|
echo "$as_me: caught signal $ac_signal" >&5
|
echo "$as_me: caught signal $ac_signal" >&5
|
echo "$as_me: exit $exit_status" >&5
|
echo "$as_me: exit $exit_status" >&5
|
rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
|
rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
|
exit $exit_status
|
exit $exit_status
|
' 0
|
' 0
|
for ac_signal in 1 2 13 15; do
|
for ac_signal in 1 2 13 15; do
|
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
done
|
done
|
ac_signal=0
|
ac_signal=0
|
|
|
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
rm -rf conftest* confdefs.h
|
rm -rf conftest* confdefs.h
|
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
|
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
|
echo >confdefs.h
|
echo >confdefs.h
|
|
|
# Let the site file select an alternate cache file if it wants to.
|
# Let the site file select an alternate cache file if it wants to.
|
# Prefer explicitly selected file to automatically selected ones.
|
# Prefer explicitly selected file to automatically selected ones.
|
if test -z "$CONFIG_SITE"; then
|
if test -z "$CONFIG_SITE"; then
|
if test "x$prefix" != xNONE; then
|
if test "x$prefix" != xNONE; then
|
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
|
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
|
else
|
else
|
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
|
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
|
fi
|
fi
|
fi
|
fi
|
for ac_site_file in $CONFIG_SITE; do
|
for ac_site_file in $CONFIG_SITE; do
|
if test -r "$ac_site_file"; then
|
if test -r "$ac_site_file"; then
|
{ echo "$as_me:873: loading site script $ac_site_file" >&5
|
{ echo "$as_me:873: loading site script $ac_site_file" >&5
|
echo "$as_me: loading site script $ac_site_file" >&6;}
|
echo "$as_me: loading site script $ac_site_file" >&6;}
|
cat "$ac_site_file" >&5
|
cat "$ac_site_file" >&5
|
. "$ac_site_file"
|
. "$ac_site_file"
|
fi
|
fi
|
done
|
done
|
|
|
if test -r "$cache_file"; then
|
if test -r "$cache_file"; then
|
# Some versions of bash will fail to source /dev/null (special
|
# Some versions of bash will fail to source /dev/null (special
|
# files actually), so we avoid doing that.
|
# files actually), so we avoid doing that.
|
if test -f "$cache_file"; then
|
if test -f "$cache_file"; then
|
{ echo "$as_me:884: loading cache $cache_file" >&5
|
{ echo "$as_me:884: loading cache $cache_file" >&5
|
echo "$as_me: loading cache $cache_file" >&6;}
|
echo "$as_me: loading cache $cache_file" >&6;}
|
case $cache_file in
|
case $cache_file in
|
[\\/]* | ?:[\\/]* ) . $cache_file;;
|
[\\/]* | ?:[\\/]* ) . $cache_file;;
|
*) . ./$cache_file;;
|
*) . ./$cache_file;;
|
esac
|
esac
|
fi
|
fi
|
else
|
else
|
{ echo "$as_me:892: creating cache $cache_file" >&5
|
{ echo "$as_me:892: creating cache $cache_file" >&5
|
echo "$as_me: creating cache $cache_file" >&6;}
|
echo "$as_me: creating cache $cache_file" >&6;}
|
>$cache_file
|
>$cache_file
|
fi
|
fi
|
|
|
# Check that the precious variables saved in the cache have kept the same
|
# Check that the precious variables saved in the cache have kept the same
|
# value.
|
# value.
|
ac_cache_corrupted=false
|
ac_cache_corrupted=false
|
for ac_var in `(set) 2>&1 |
|
for ac_var in `(set) 2>&1 |
|
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
|
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
|
eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
eval ac_new_set=\$ac_env_${ac_var}_set
|
eval ac_new_set=\$ac_env_${ac_var}_set
|
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
|
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
|
eval ac_new_val="\$ac_env_${ac_var}_value"
|
eval ac_new_val="\$ac_env_${ac_var}_value"
|
case $ac_old_set,$ac_new_set in
|
case $ac_old_set,$ac_new_set in
|
set,)
|
set,)
|
{ echo "$as_me:908: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
{ echo "$as_me:908: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
ac_cache_corrupted=: ;;
|
ac_cache_corrupted=: ;;
|
,set)
|
,set)
|
{ echo "$as_me:912: error: \`$ac_var' was not set in the previous run" >&5
|
{ echo "$as_me:912: error: \`$ac_var' was not set in the previous run" >&5
|
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
ac_cache_corrupted=: ;;
|
ac_cache_corrupted=: ;;
|
,);;
|
,);;
|
*)
|
*)
|
if test "x$ac_old_val" != "x$ac_new_val"; then
|
if test "x$ac_old_val" != "x$ac_new_val"; then
|
{ echo "$as_me:918: error: \`$ac_var' has changed since the previous run:" >&5
|
{ echo "$as_me:918: error: \`$ac_var' has changed since the previous run:" >&5
|
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
{ echo "$as_me:920: former value: $ac_old_val" >&5
|
{ echo "$as_me:920: former value: $ac_old_val" >&5
|
echo "$as_me: former value: $ac_old_val" >&2;}
|
echo "$as_me: former value: $ac_old_val" >&2;}
|
{ echo "$as_me:922: current value: $ac_new_val" >&5
|
{ echo "$as_me:922: current value: $ac_new_val" >&5
|
echo "$as_me: current value: $ac_new_val" >&2;}
|
echo "$as_me: current value: $ac_new_val" >&2;}
|
ac_cache_corrupted=:
|
ac_cache_corrupted=:
|
fi;;
|
fi;;
|
esac
|
esac
|
# Pass precious variables to config.status. It doesn't matter if
|
# Pass precious variables to config.status. It doesn't matter if
|
# we pass some twice (in addition to the command line arguments).
|
# we pass some twice (in addition to the command line arguments).
|
if test "$ac_new_set" = set; then
|
if test "$ac_new_set" = set; then
|
case $ac_new_val in
|
case $ac_new_val in
|
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
|
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
|
ac_configure_args="$ac_configure_args '$ac_arg'"
|
ac_configure_args="$ac_configure_args '$ac_arg'"
|
;;
|
;;
|
*) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
|
*) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
|
;;
|
;;
|
esac
|
esac
|
fi
|
fi
|
done
|
done
|
if $ac_cache_corrupted; then
|
if $ac_cache_corrupted; then
|
{ echo "$as_me:941: error: changes in the environment can compromise the build" >&5
|
{ echo "$as_me:941: error: changes in the environment can compromise the build" >&5
|
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
{ { echo "$as_me:943: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
{ { echo "$as_me:943: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
fi
|
fi
|
|
|
ac_ext=c
|
ac_ext=c
|
ac_cpp='$CPP $CPPFLAGS'
|
ac_cpp='$CPP $CPPFLAGS'
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
*c*,-n*) ECHO_N= ECHO_C='
|
*c*,-n*) ECHO_N= ECHO_C='
|
' ECHO_T=' ' ;;
|
' ECHO_T=' ' ;;
|
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
esac
|
esac
|
echo "#! $SHELL" >conftest.sh
|
echo "#! $SHELL" >conftest.sh
|
echo "exit 0" >>conftest.sh
|
echo "exit 0" >>conftest.sh
|
chmod +x conftest.sh
|
chmod +x conftest.sh
|
if { (echo "$as_me:963: PATH=\".;.\"; conftest.sh") >&5
|
if { (echo "$as_me:963: PATH=\".;.\"; conftest.sh") >&5
|
(PATH=".;."; conftest.sh) 2>&5
|
(PATH=".;."; conftest.sh) 2>&5
|
ac_status=$?
|
ac_status=$?
|
echo "$as_me:966: \$? = $ac_status" >&5
|
echo "$as_me:966: \$? = $ac_status" >&5
|
(exit $ac_status); }; then
|
(exit $ac_status); }; then
|
ac_path_separator=';'
|
ac_path_separator=';'
|
else
|
else
|
ac_path_separator=:
|
ac_path_separator=:
|
fi
|
fi
|
PATH_SEPARATOR="$ac_path_separator"
|
PATH_SEPARATOR="$ac_path_separator"
|
rm -f conftest.sh
|
rm -f conftest.sh
|
|
|
for ac_prog in gmake make
|
for ac_prog in gmake make
|
do
|
do
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
set dummy $ac_prog; ac_word=$2
|
set dummy $ac_prog; ac_word=$2
|
echo "$as_me:979: checking for $ac_word" >&5
|
echo "$as_me:979: checking for $ac_word" >&5
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
if test "${ac_cv_prog_MAKE+set}" = set; then
|
if test "${ac_cv_prog_MAKE+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
if test -n "$MAKE"; then
|
if test -n "$MAKE"; then
|
ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
|
ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
|
else
|
else
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
ac_cv_prog_MAKE="$ac_prog"
|
ac_cv_prog_MAKE="$ac_prog"
|
echo "$as_me:994: found $ac_dir/$ac_word" >&5
|
echo "$as_me:994: found $ac_dir/$ac_word" >&5
|
break
|
break
|
done
|
done
|
|
|
fi
|
fi
|
fi
|
fi
|
MAKE=$ac_cv_prog_MAKE
|
MAKE=$ac_cv_prog_MAKE
|
if test -n "$MAKE"; then
|
if test -n "$MAKE"; then
|
echo "$as_me:1002: result: $MAKE" >&5
|
echo "$as_me:1002: result: $MAKE" >&5
|
echo "${ECHO_T}$MAKE" >&6
|
echo "${ECHO_T}$MAKE" >&6
|
else
|
else
|
echo "$as_me:1005: result: no" >&5
|
echo "$as_me:1005: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
fi
|
fi
|
|
|
test -n "$MAKE" && break
|
test -n "$MAKE" && break
|
done
|
done
|
|
|
ENDIF=endif
|
ENDIF=endif
|
|
|
RTEMS_TOPdir="../../..";
|
RTEMS_TOPdir="../../..";
|
|
|
test -n "$with_target_subdir" || with_target_subdir="."
|
test -n "$with_target_subdir" || with_target_subdir="."
|
|
|
if test "$with_target_subdir" = "." ; then
|
if test "$with_target_subdir" = "." ; then
|
# Native
|
# Native
|
PROJECT_TOPdir=${RTEMS_TOPdir}/'$(top_builddir)'
|
PROJECT_TOPdir=${RTEMS_TOPdir}/'$(top_builddir)'
|
else
|
else
|
# Cross
|
# Cross
|
dots=`echo $with_target_subdir|\
|
dots=`echo $with_target_subdir|\
|
sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
|
sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
|
PROJECT_TOPdir=${dots}${RTEMS_TOPdir}/'$(top_builddir)'
|
PROJECT_TOPdir=${dots}${RTEMS_TOPdir}/'$(top_builddir)'
|
fi
|
fi
|
|
|
if test "$with_target_subdir" = "." ; then
|
if test "$with_target_subdir" = "." ; then
|
# Native
|
# Native
|
PROJECT_ROOT="${RTEMS_TOPdir}/\$(top_builddir)"
|
PROJECT_ROOT="${RTEMS_TOPdir}/\$(top_builddir)"
|
else
|
else
|
# Cross
|
# Cross
|
PROJECT_ROOT="${RTEMS_TOPdir}/\$(top_builddir)"
|
PROJECT_ROOT="${RTEMS_TOPdir}/\$(top_builddir)"
|
fi
|
fi
|
|
|
echo "$as_me:1036: checking for RTEMS Version" >&5
|
echo "$as_me:1036: checking for RTEMS Version" >&5
|
echo $ECHO_N "checking for RTEMS Version... $ECHO_C" >&6
|
echo $ECHO_N "checking for RTEMS Version... $ECHO_C" >&6
|
if test -r "${srcdir}/${RTEMS_TOPdir}/aclocal/version.m4"; then
|
if test -r "${srcdir}/${RTEMS_TOPdir}/aclocal/version.m4"; then
|
:
|
:
|
else
|
else
|
{ { echo "$as_me:1041: error: Unable to find ${RTEMS_TOPdir}/aclocal/version.m4" >&5
|
{ { echo "$as_me:1041: error: Unable to find ${RTEMS_TOPdir}/aclocal/version.m4" >&5
|
echo "$as_me: error: Unable to find ${RTEMS_TOPdir}/aclocal/version.m4" >&2;}
|
echo "$as_me: error: Unable to find ${RTEMS_TOPdir}/aclocal/version.m4" >&2;}
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
fi
|
fi
|
|
|
echo "$as_me:1046: result: ss-20020807" >&5
|
echo "$as_me:1046: result: ss-20020807" >&5
|
echo "${ECHO_T}ss-20020807" >&6
|
echo "${ECHO_T}ss-20020807" >&6
|
|
|
ac_aux_dir=
|
ac_aux_dir=
|
for ac_dir in ../../.. $srcdir/../../..; do
|
for ac_dir in ../../.. $srcdir/../../..; do
|
if test -f $ac_dir/install-sh; then
|
if test -f $ac_dir/install-sh; then
|
ac_aux_dir=$ac_dir
|
ac_aux_dir=$ac_dir
|
ac_install_sh="$ac_aux_dir/install-sh -c"
|
ac_install_sh="$ac_aux_dir/install-sh -c"
|
break
|
break
|
elif test -f $ac_dir/install.sh; then
|
elif test -f $ac_dir/install.sh; then
|
ac_aux_dir=$ac_dir
|
ac_aux_dir=$ac_dir
|
ac_install_sh="$ac_aux_dir/install.sh -c"
|
ac_install_sh="$ac_aux_dir/install.sh -c"
|
break
|
break
|
elif test -f $ac_dir/shtool; then
|
elif test -f $ac_dir/shtool; then
|
ac_aux_dir=$ac_dir
|
ac_aux_dir=$ac_dir
|
ac_install_sh="$ac_aux_dir/shtool install -c"
|
ac_install_sh="$ac_aux_dir/shtool install -c"
|
break
|
break
|
fi
|
fi
|
done
|
done
|
if test -z "$ac_aux_dir"; then
|
if test -z "$ac_aux_dir"; then
|
{ { echo "$as_me:1066: error: cannot find install-sh or install.sh in ../../.. $srcdir/../../.." >&5
|
{ { echo "$as_me:1066: error: cannot find install-sh or install.sh in ../../.. $srcdir/../../.." >&5
|
echo "$as_me: error: cannot find install-sh or install.sh in ../../.. $srcdir/../../.." >&2;}
|
echo "$as_me: error: cannot find install-sh or install.sh in ../../.. $srcdir/../../.." >&2;}
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
fi
|
fi
|
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
|
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
|
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
|
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
|
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
|
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
|
|
|
# Make sure we can run config.sub.
|
# Make sure we can run config.sub.
|
$ac_config_sub sun4 >/dev/null 2>&1 ||
|
$ac_config_sub sun4 >/dev/null 2>&1 ||
|
{ { echo "$as_me:1076: error: cannot run $ac_config_sub" >&5
|
{ { echo "$as_me:1076: error: cannot run $ac_config_sub" >&5
|
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
|
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
|
|
echo "$as_me:1080: checking build system type" >&5
|
echo "$as_me:1080: checking build system type" >&5
|
echo $ECHO_N "checking build system type... $ECHO_C" >&6
|
echo $ECHO_N "checking build system type... $ECHO_C" >&6
|
if test "${ac_cv_build+set}" = set; then
|
if test "${ac_cv_build+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
ac_cv_build_alias=$build_alias
|
ac_cv_build_alias=$build_alias
|
test -z "$ac_cv_build_alias" &&
|
test -z "$ac_cv_build_alias" &&
|
ac_cv_build_alias=`$ac_config_guess`
|
ac_cv_build_alias=`$ac_config_guess`
|
test -z "$ac_cv_build_alias" &&
|
test -z "$ac_cv_build_alias" &&
|
{ { echo "$as_me:1089: error: cannot guess build type; you must specify one" >&5
|
{ { echo "$as_me:1089: error: cannot guess build type; you must specify one" >&5
|
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
|
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
|
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
|
{ { echo "$as_me:1093: error: $ac_config_sub $ac_cv_build_alias failed." >&5
|
{ { echo "$as_me:1093: error: $ac_config_sub $ac_cv_build_alias failed." >&5
|
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
|
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
|
|
fi
|
fi
|
echo "$as_me:1098: result: $ac_cv_build" >&5
|
echo "$as_me:1098: result: $ac_cv_build" >&5
|
echo "${ECHO_T}$ac_cv_build" >&6
|
echo "${ECHO_T}$ac_cv_build" >&6
|
build=$ac_cv_build
|
build=$ac_cv_build
|
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
|
|
echo "$as_me:1105: checking host system type" >&5
|
echo "$as_me:1105: checking host system type" >&5
|
echo $ECHO_N "checking host system type... $ECHO_C" >&6
|
echo $ECHO_N "checking host system type... $ECHO_C" >&6
|
if test "${ac_cv_host+set}" = set; then
|
if test "${ac_cv_host+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
ac_cv_host_alias=$host_alias
|
ac_cv_host_alias=$host_alias
|
test -z "$ac_cv_host_alias" &&
|
test -z "$ac_cv_host_alias" &&
|
ac_cv_host_alias=$ac_cv_build_alias
|
ac_cv_host_alias=$ac_cv_build_alias
|
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
|
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
|
{ { echo "$as_me:1114: error: $ac_config_sub $ac_cv_host_alias failed" >&5
|
{ { echo "$as_me:1114: error: $ac_config_sub $ac_cv_host_alias failed" >&5
|
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
|
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
|
|
fi
|
fi
|
echo "$as_me:1119: result: $ac_cv_host" >&5
|
echo "$as_me:1119: result: $ac_cv_host" >&5
|
echo "${ECHO_T}$ac_cv_host" >&6
|
echo "${ECHO_T}$ac_cv_host" >&6
|
host=$ac_cv_host
|
host=$ac_cv_host
|
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
|
|
echo "$as_me:1126: checking target system type" >&5
|
echo "$as_me:1126: checking target system type" >&5
|
echo $ECHO_N "checking target system type... $ECHO_C" >&6
|
echo $ECHO_N "checking target system type... $ECHO_C" >&6
|
if test "${ac_cv_target+set}" = set; then
|
if test "${ac_cv_target+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
ac_cv_target_alias=$target_alias
|
ac_cv_target_alias=$target_alias
|
test "x$ac_cv_target_alias" = "x" &&
|
test "x$ac_cv_target_alias" = "x" &&
|
ac_cv_target_alias=$ac_cv_host_alias
|
ac_cv_target_alias=$ac_cv_host_alias
|
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
|
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
|
{ { echo "$as_me:1135: error: $ac_config_sub $ac_cv_target_alias failed" >&5
|
{ { echo "$as_me:1135: error: $ac_config_sub $ac_cv_target_alias failed" >&5
|
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
|
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
|
|
fi
|
fi
|
echo "$as_me:1140: result: $ac_cv_target" >&5
|
echo "$as_me:1140: result: $ac_cv_target" >&5
|
echo "${ECHO_T}$ac_cv_target" >&6
|
echo "${ECHO_T}$ac_cv_target" >&6
|
target=$ac_cv_target
|
target=$ac_cv_target
|
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
|
|
# The aliases save the names the user supplied, while $host etc.
|
# The aliases save the names the user supplied, while $host etc.
|
# will get canonicalized.
|
# will get canonicalized.
|
test -n "$target_alias" &&
|
test -n "$target_alias" &&
|
test "$program_prefix$program_suffix$program_transform_name" = \
|
test "$program_prefix$program_suffix$program_transform_name" = \
|
NONENONEs,x,x, &&
|
NONENONEs,x,x, &&
|
program_prefix=${target_alias}-
|
program_prefix=${target_alias}-
|
echo "$as_me:1153: checking rtems target cpu" >&5
|
echo "$as_me:1153: checking rtems target cpu" >&5
|
echo $ECHO_N "checking rtems target cpu... $ECHO_C" >&6
|
echo $ECHO_N "checking rtems target cpu... $ECHO_C" >&6
|
case "${target}" in
|
case "${target}" in
|
# hpux unix port should go here
|
# hpux unix port should go here
|
i[34567]86-*linux*) # unix "simulator" port
|
i[34567]86-*linux*) # unix "simulator" port
|
RTEMS_CPU=unix
|
RTEMS_CPU=unix
|
;;
|
;;
|
i[34567]86-*freebsd*) # unix "simulator" port
|
i[34567]86-*freebsd*) # unix "simulator" port
|
RTEMS_CPU=unix
|
RTEMS_CPU=unix
|
;;
|
;;
|
i[34567]86-pc-cygwin*) # Cygwin is just enough unix like :)
|
i[34567]86-pc-cygwin*) # Cygwin is just enough unix like :)
|
RTEMS_CPU=unix
|
RTEMS_CPU=unix
|
;;
|
;;
|
no_cpu-*rtems*)
|
no_cpu-*rtems*)
|
RTEMS_CPU=no_cpu
|
RTEMS_CPU=no_cpu
|
;;
|
;;
|
sparc-sun-solaris*) # unix "simulator" port
|
sparc-sun-solaris*) # unix "simulator" port
|
RTEMS_CPU=unix
|
RTEMS_CPU=unix
|
;;
|
;;
|
*)
|
*)
|
RTEMS_CPU=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
|
RTEMS_CPU=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
|
;;
|
;;
|
esac
|
esac
|
|
|
echo "$as_me:1177: result: $RTEMS_CPU" >&5
|
echo "$as_me:1177: result: $RTEMS_CPU" >&5
|
echo "${ECHO_T}$RTEMS_CPU" >&6
|
echo "${ECHO_T}$RTEMS_CPU" >&6
|
|
|
am__api_version="1.6"
|
am__api_version="1.6"
|
# 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:
|
# SysV /etc/install, /usr/sbin/install
|
# SysV /etc/install, /usr/sbin/install
|
# SunOS /usr/etc/install
|
# SunOS /usr/etc/install
|
# IRIX /sbin/install
|
# IRIX /sbin/install
|
# AIX /bin/install
|
# AIX /bin/install
|
# AmigaOS /C/install, which installs bootblocks on floppy discs
|
# AmigaOS /C/install, which installs bootblocks on floppy discs
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
# 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 "$as_me:1193: checking for a BSD compatible install" >&5
|
echo "$as_me:1193: checking for a BSD compatible install" >&5
|
echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
|
echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
|
if test -z "$INSTALL"; then
|
if test -z "$INSTALL"; then
|
if test "${ac_cv_path_install+set}" = set; then
|
if test "${ac_cv_path_install+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
for ac_dir in $PATH; do
|
for ac_dir in $PATH; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
# Account for people who put trailing slashes in PATH elements.
|
# Account for people who put trailing slashes in PATH elements.
|
case $ac_dir/ in
|
case $ac_dir/ in
|
/ | ./ | .// | /cC/* \
|
/ | ./ | .// | /cC/* \
|
| /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
|
| /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
|
| /usr/ucb/* ) ;;
|
| /usr/ucb/* ) ;;
|
*)
|
*)
|
# OSF1 and SCO ODT 3.0 have their own names for install.
|
# OSF1 and SCO ODT 3.0 have their own names for install.
|
# Don't use installbsd from OSF since it installs stuff as root
|
# Don't use installbsd from OSF since it installs stuff as root
|
# by default.
|
# by default.
|
for ac_prog in ginstall scoinst install; do
|
for ac_prog in ginstall scoinst install; do
|
if $as_executable_p "$ac_dir/$ac_prog"; then
|
if $as_executable_p "$ac_dir/$ac_prog"; then
|
if test $ac_prog = install &&
|
if test $ac_prog = install &&
|
grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
|
grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
|
# AIX install. It has an incompatible calling convention.
|
# AIX install. It has an incompatible calling convention.
|
:
|
:
|
elif test $ac_prog = install &&
|
elif test $ac_prog = install &&
|
grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
|
grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
|
# program-specific install script used by HP pwplus--don't use.
|
# program-specific install script used by HP pwplus--don't use.
|
:
|
:
|
else
|
else
|
ac_cv_path_install="$ac_dir/$ac_prog -c"
|
ac_cv_path_install="$ac_dir/$ac_prog -c"
|
break 2
|
break 2
|
fi
|
fi
|
fi
|
fi
|
done
|
done
|
;;
|
;;
|
esac
|
esac
|
done
|
done
|
|
|
fi
|
fi
|
if test "${ac_cv_path_install+set}" = set; then
|
if test "${ac_cv_path_install+set}" = set; then
|
INSTALL=$ac_cv_path_install
|
INSTALL=$ac_cv_path_install
|
else
|
else
|
# As a last resort, use the slow shell script. We don't cache a
|
# As a last resort, use the slow shell script. We don't cache a
|
# path for INSTALL within a source directory, because that will
|
# path for INSTALL within a source directory, because that will
|
# break other packages using the cache if that directory is
|
# break other packages using the cache if that directory is
|
# removed, or if the path is relative.
|
# removed, or if the path is relative.
|
INSTALL=$ac_install_sh
|
INSTALL=$ac_install_sh
|
fi
|
fi
|
fi
|
fi
|
echo "$as_me:1242: result: $INSTALL" >&5
|
echo "$as_me:1242: result: $INSTALL" >&5
|
echo "${ECHO_T}$INSTALL" >&6
|
echo "${ECHO_T}$INSTALL" >&6
|
|
|
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
# It thinks the first close brace ends the variable substitution.
|
# It thinks the first close brace ends the variable substitution.
|
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
|
|
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
|
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
|
|
echo "$as_me:1253: checking whether build environment is sane" >&5
|
echo "$as_me:1253: checking whether build environment is sane" >&5
|
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
|
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
|
# Just in case
|
# Just in case
|
sleep 1
|
sleep 1
|
echo timestamp > conftest.file
|
echo timestamp > conftest.file
|
# 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 conftest.file 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 conftest.file`
|
fi
|
fi
|
rm -f conftest.file
|
rm -f conftest.file
|
if test "$*" != "X $srcdir/configure conftest.file" \
|
if test "$*" != "X $srcdir/configure conftest.file" \
|
&& test "$*" != "X conftest.file $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
|
# broken ls alias from the environment. This has actually
|
# broken ls alias from the environment. This has actually
|
# happened. Such a system could not be considered "sane".
|
# happened. Such a system could not be considered "sane".
|
{ { echo "$as_me:1277: error: ls -t appears to fail. Make sure there is not a broken
|
{ { echo "$as_me:1277: error: ls -t appears to fail. Make sure there is not a broken
|
alias in your environment" >&5
|
alias in your environment" >&5
|
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
|
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
|
alias in your environment" >&2;}
|
alias in your environment" >&2;}
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
fi
|
fi
|
|
|
test "$2" = conftest.file
|
test "$2" = conftest.file
|
)
|
)
|
then
|
then
|
# Ok.
|
# Ok.
|
:
|
:
|
else
|
else
|
{ { echo "$as_me:1290: error: newly created file is older than distributed files!
|
{ { echo "$as_me:1290: error: newly created file is older than distributed files!
|
Check your system clock" >&5
|
Check your system clock" >&5
|
echo "$as_me: error: newly created file is older than distributed files!
|
echo "$as_me: error: newly created file is older than distributed files!
|
Check your system clock" >&2;}
|
Check your system clock" >&2;}
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
fi
|
fi
|
echo "$as_me:1296: result: yes" >&5
|
echo "$as_me:1296: result: yes" >&5
|
echo "${ECHO_T}yes" >&6
|
echo "${ECHO_T}yes" >&6
|
test "$program_prefix" != NONE &&
|
test "$program_prefix" != NONE &&
|
program_transform_name="s,^,$program_prefix,;$program_transform_name"
|
program_transform_name="s,^,$program_prefix,;$program_transform_name"
|
# Use a double $ so make ignores it.
|
# Use a double $ so make ignores it.
|
test "$program_suffix" != NONE &&
|
test "$program_suffix" != NONE &&
|
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
|
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
|
# Double any \ or $. echo might interpret backslashes.
|
# Double any \ or $. echo might interpret backslashes.
|
# By default was `s,x,x', remove it if useless.
|
# By default was `s,x,x', remove it if useless.
|
cat <<\_ACEOF >conftest.sed
|
cat <<\_ACEOF >conftest.sed
|
s/[\\$]/&&/g;s/;s,x,x,$//
|
s/[\\$]/&&/g;s/;s,x,x,$//
|
_ACEOF
|
_ACEOF
|
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
|
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
|
rm conftest.sed
|
rm conftest.sed
|
|
|
# expand $ac_aux_dir to an absolute path
|
# expand $ac_aux_dir to an absolute path
|
am_aux_dir=`cd $ac_aux_dir && pwd`
|
am_aux_dir=`cd $ac_aux_dir && pwd`
|
|
|
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
|
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
|
# Use eval to expand $SHELL
|
# Use eval to expand $SHELL
|
if eval "$MISSING --run true"; then
|
if eval "$MISSING --run true"; then
|
am_missing_run="$MISSING --run "
|
am_missing_run="$MISSING --run "
|
else
|
else
|
am_missing_run=
|
am_missing_run=
|
{ echo "$as_me:1320: WARNING: \`missing' script is too old or missing" >&5
|
{ echo "$as_me:1320: WARNING: \`missing' script is too old or missing" >&5
|
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
fi
|
fi
|
|
|
for ac_prog in mawk gawk nawk awk
|
for ac_prog in mawk gawk nawk awk
|
do
|
do
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
set dummy $ac_prog; ac_word=$2
|
set dummy $ac_prog; ac_word=$2
|
echo "$as_me:1328: checking for $ac_word" >&5
|
echo "$as_me:1328: checking for $ac_word" >&5
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
if test "${ac_cv_prog_AWK+set}" = set; then
|
if test "${ac_cv_prog_AWK+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
if test -n "$AWK"; then
|
if test -n "$AWK"; then
|
ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
else
|
else
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
ac_cv_prog_AWK="$ac_prog"
|
ac_cv_prog_AWK="$ac_prog"
|
echo "$as_me:1343: found $ac_dir/$ac_word" >&5
|
echo "$as_me:1343: found $ac_dir/$ac_word" >&5
|
break
|
break
|
done
|
done
|
|
|
fi
|
fi
|
fi
|
fi
|
AWK=$ac_cv_prog_AWK
|
AWK=$ac_cv_prog_AWK
|
if test -n "$AWK"; then
|
if test -n "$AWK"; then
|
echo "$as_me:1351: result: $AWK" >&5
|
echo "$as_me:1351: result: $AWK" >&5
|
echo "${ECHO_T}$AWK" >&6
|
echo "${ECHO_T}$AWK" >&6
|
else
|
else
|
echo "$as_me:1354: result: no" >&5
|
echo "$as_me:1354: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
fi
|
fi
|
|
|
test -n "$AWK" && break
|
test -n "$AWK" && break
|
done
|
done
|
|
|
echo "$as_me:1361: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
echo "$as_me:1361: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
|
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
|
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 \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
|
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
cat >conftest.make <<\EOF
|
cat >conftest.make <<\EOF
|
all:
|
all:
|
@echo 'ac_maketemp="${MAKE}"'
|
@echo 'ac_maketemp="${MAKE}"'
|
EOF
|
EOF
|
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
|
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
|
if test -n "$ac_maketemp"; then
|
if test -n "$ac_maketemp"; then
|
eval ac_cv_prog_make_${ac_make}_set=yes
|
eval ac_cv_prog_make_${ac_make}_set=yes
|
else
|
else
|
eval ac_cv_prog_make_${ac_make}_set=no
|
eval ac_cv_prog_make_${ac_make}_set=no
|
fi
|
fi
|
rm -f conftest.make
|
rm -f conftest.make
|
fi
|
fi
|
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
|
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
|
echo "$as_me:1381: result: yes" >&5
|
echo "$as_me:1381: result: yes" >&5
|
echo "${ECHO_T}yes" >&6
|
echo "${ECHO_T}yes" >&6
|
SET_MAKE=
|
SET_MAKE=
|
else
|
else
|
echo "$as_me:1385: result: no" >&5
|
echo "$as_me:1385: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
SET_MAKE="MAKE=${MAKE-make}"
|
SET_MAKE="MAKE=${MAKE-make}"
|
fi
|
fi
|
|
|
# test to see if srcdir already configured
|
# test to see if srcdir already configured
|
if test "`cd $srcdir && pwd`" != "`pwd`" &&
|
if test "`cd $srcdir && pwd`" != "`pwd`" &&
|
test -f $srcdir/config.status; then
|
test -f $srcdir/config.status; then
|
{ { echo "$as_me:1393: error: source directory already configured; run \"make distclean\" there first" >&5
|
{ { echo "$as_me:1393: error: source directory already configured; run \"make distclean\" there first" >&5
|
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
|
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
fi
|
fi
|
|
|
# Define the identity of the package.
|
# Define the identity of the package.
|
PACKAGE=rtems-c-src-make
|
PACKAGE=rtems-c-src-make
|
VERSION=ss-20020807
|
VERSION=ss-20020807
|
|
|
# Some tools Automake needs.
|
# Some tools Automake needs.
|
|
|
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
|
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
|
|
|
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
|
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
|
|
|
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
|
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
|
|
|
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
|
|
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
|
|
AMTAR=${AMTAR-"${am_missing_run}tar"}
|
AMTAR=${AMTAR-"${am_missing_run}tar"}
|
|
|
install_sh=${install_sh-"$am_aux_dir/install-sh"}
|
install_sh=${install_sh-"$am_aux_dir/install-sh"}
|
|
|
# Installed binaries are usually stripped using `strip' when the user
|
# Installed binaries are usually stripped using `strip' when the user
|
# run `make install-strip'. However `strip' might not be the right
|
# run `make install-strip'. However `strip' might not be the right
|
# tool to use in cross-compilation environments, therefore Automake
|
# tool to use in cross-compilation environments, therefore Automake
|
# will honor the `STRIP' environment variable to overrule this program.
|
# will honor the `STRIP' environment variable to overrule this program.
|
if test "$cross_compiling" != no; then
|
if test "$cross_compiling" != no; then
|
if test -n "$ac_tool_prefix"; then
|
if test -n "$ac_tool_prefix"; then
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
echo "$as_me:1426: checking for $ac_word" >&5
|
echo "$as_me:1426: checking for $ac_word" >&5
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
if test "${ac_cv_prog_STRIP+set}" = set; then
|
if test "${ac_cv_prog_STRIP+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
if test -n "$STRIP"; then
|
if test -n "$STRIP"; then
|
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
else
|
else
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
echo "$as_me:1441: found $ac_dir/$ac_word" >&5
|
echo "$as_me:1441: found $ac_dir/$ac_word" >&5
|
break
|
break
|
done
|
done
|
|
|
fi
|
fi
|
fi
|
fi
|
STRIP=$ac_cv_prog_STRIP
|
STRIP=$ac_cv_prog_STRIP
|
if test -n "$STRIP"; then
|
if test -n "$STRIP"; then
|
echo "$as_me:1449: result: $STRIP" >&5
|
echo "$as_me:1449: result: $STRIP" >&5
|
echo "${ECHO_T}$STRIP" >&6
|
echo "${ECHO_T}$STRIP" >&6
|
else
|
else
|
echo "$as_me:1452: result: no" >&5
|
echo "$as_me:1452: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
fi
|
fi
|
|
|
fi
|
fi
|
if test -z "$ac_cv_prog_STRIP"; then
|
if test -z "$ac_cv_prog_STRIP"; then
|
ac_ct_STRIP=$STRIP
|
ac_ct_STRIP=$STRIP
|
# Extract the first word of "strip", so it can be a program name with args.
|
# Extract the first word of "strip", so it can be a program name with args.
|
set dummy strip; ac_word=$2
|
set dummy strip; ac_word=$2
|
echo "$as_me:1461: checking for $ac_word" >&5
|
echo "$as_me:1461: checking for $ac_word" >&5
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
|
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
if test -n "$ac_ct_STRIP"; then
|
if test -n "$ac_ct_STRIP"; then
|
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
else
|
else
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
ac_cv_prog_ac_ct_STRIP="strip"
|
ac_cv_prog_ac_ct_STRIP="strip"
|
echo "$as_me:1476: found $ac_dir/$ac_word" >&5
|
echo "$as_me:1476: found $ac_dir/$ac_word" >&5
|
break
|
break
|
done
|
done
|
|
|
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
|
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
|
fi
|
fi
|
fi
|
fi
|
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
if test -n "$ac_ct_STRIP"; then
|
if test -n "$ac_ct_STRIP"; then
|
echo "$as_me:1485: result: $ac_ct_STRIP" >&5
|
echo "$as_me:1485: result: $ac_ct_STRIP" >&5
|
echo "${ECHO_T}$ac_ct_STRIP" >&6
|
echo "${ECHO_T}$ac_ct_STRIP" >&6
|
else
|
else
|
echo "$as_me:1488: result: no" >&5
|
echo "$as_me:1488: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
fi
|
fi
|
|
|
STRIP=$ac_ct_STRIP
|
STRIP=$ac_ct_STRIP
|
else
|
else
|
STRIP="$ac_cv_prog_STRIP"
|
STRIP="$ac_cv_prog_STRIP"
|
fi
|
fi
|
|
|
fi
|
fi
|
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
|
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
|
|
|
# We need awk for the "check" target. The system "awk" is bad on
|
# We need awk for the "check" target. The system "awk" is bad on
|
# some platforms.
|
# some platforms.
|
|
|
echo "$as_me:1503: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
echo "$as_me:1503: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
|
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
|
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
|
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
|
if test "${enable_maintainer_mode+set}" = set; then
|
if test "${enable_maintainer_mode+set}" = set; then
|
enableval="$enable_maintainer_mode"
|
enableval="$enable_maintainer_mode"
|
USE_MAINTAINER_MODE=$enableval
|
USE_MAINTAINER_MODE=$enableval
|
else
|
else
|
USE_MAINTAINER_MODE=no
|
USE_MAINTAINER_MODE=no
|
fi;
|
fi;
|
echo "$as_me:1512: result: $USE_MAINTAINER_MODE" >&5
|
echo "$as_me:1512: result: $USE_MAINTAINER_MODE" >&5
|
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
|
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
|
|
|
if test $USE_MAINTAINER_MODE = yes; then
|
if test $USE_MAINTAINER_MODE = yes; then
|
MAINTAINER_MODE_TRUE=
|
MAINTAINER_MODE_TRUE=
|
MAINTAINER_MODE_FALSE='#'
|
MAINTAINER_MODE_FALSE='#'
|
else
|
else
|
MAINTAINER_MODE_TRUE='#'
|
MAINTAINER_MODE_TRUE='#'
|
MAINTAINER_MODE_FALSE=
|
MAINTAINER_MODE_FALSE=
|
fi
|
fi
|
|
|
MAINT=$MAINTAINER_MODE_TRUE
|
MAINT=$MAINTAINER_MODE_TRUE
|
|
|
# Check whether --enable-multiprocessing or --disable-multiprocessing was given.
|
# Check whether --enable-multiprocessing or --disable-multiprocessing was given.
|
if test "${enable_multiprocessing+set}" = set; then
|
if test "${enable_multiprocessing+set}" = set; then
|
enableval="$enable_multiprocessing"
|
enableval="$enable_multiprocessing"
|
case "${enable_multiprocessing}" in
|
case "${enable_multiprocessing}" in
|
yes) ;;
|
yes) ;;
|
no) ;;
|
no) ;;
|
*) { { echo "$as_me:1531: error: bad value ${enableval} for enable-multiprocessing option" >&5
|
*) { { echo "$as_me:1531: error: bad value ${enableval} for enable-multiprocessing option" >&5
|
echo "$as_me: error: bad value ${enableval} for enable-multiprocessing option" >&2;}
|
echo "$as_me: error: bad value ${enableval} for enable-multiprocessing option" >&2;}
|
{ (exit 1); exit 1; }; } ;;
|
{ (exit 1); exit 1; }; } ;;
|
esac
|
esac
|
else
|
else
|
enable_multiprocessing=no
|
enable_multiprocessing=no
|
fi;
|
fi;
|
|
|
# Check whether --enable-posix or --disable-posix was given.
|
# Check whether --enable-posix or --disable-posix was given.
|
if test "${enable_posix+set}" = set; then
|
if test "${enable_posix+set}" = set; then
|
enableval="$enable_posix"
|
enableval="$enable_posix"
|
case "${enableval}" in
|
case "${enableval}" in
|
yes) RTEMS_HAS_POSIX_API=yes ;;
|
yes) RTEMS_HAS_POSIX_API=yes ;;
|
no) RTEMS_HAS_POSIX_API=no ;;
|
no) RTEMS_HAS_POSIX_API=no ;;
|
*) { { echo "$as_me:1545: error: bad value ${enableval} for enable-posix option" >&5
|
*) { { echo "$as_me:1545: error: bad value ${enableval} for enable-posix option" >&5
|
echo "$as_me: error: bad value ${enableval} for enable-posix option" >&2;}
|
echo "$as_me: error: bad value ${enableval} for enable-posix option" >&2;}
|
{ (exit 1); exit 1; }; } ;;
|
{ (exit 1); exit 1; }; } ;;
|
esac
|
esac
|
else
|
else
|
RTEMS_HAS_POSIX_API=yes
|
RTEMS_HAS_POSIX_API=yes
|
fi;
|
fi;
|
|
|
case "${host}" in
|
case "${host}" in
|
# hpux unix port should go here
|
# hpux unix port should go here
|
i[34567]86-pc-linux*) # unix "simulator" port
|
i[34567]86-pc-linux*) # unix "simulator" port
|
RTEMS_HAS_POSIX_API=no
|
RTEMS_HAS_POSIX_API=no
|
;;
|
;;
|
i[34567]86-*freebsd*) # unix "simulator" port
|
i[34567]86-*freebsd*) # unix "simulator" port
|
RTEMS_HAS_POSIX_API=no
|
RTEMS_HAS_POSIX_API=no
|
;;
|
;;
|
no_cpu-*rtems*)
|
no_cpu-*rtems*)
|
RTEMS_HAS_POSIX_API=no
|
RTEMS_HAS_POSIX_API=no
|
;;
|
;;
|
sparc-sun-solaris*) # unix "simulator" port
|
sparc-sun-solaris*) # unix "simulator" port
|
RTEMS_HAS_POSIX_API=no
|
RTEMS_HAS_POSIX_API=no
|
;;
|
;;
|
*)
|
*)
|
;;
|
;;
|
esac
|
esac
|
|
|
# Check whether --enable-itron or --disable-itron was given.
|
# Check whether --enable-itron or --disable-itron was given.
|
if test "${enable_itron+set}" = set; then
|
if test "${enable_itron+set}" = set; then
|
enableval="$enable_itron"
|
enableval="$enable_itron"
|
case "${enableval}" in
|
case "${enableval}" in
|
yes) RTEMS_HAS_ITRON_API=yes ;;
|
yes) RTEMS_HAS_ITRON_API=yes ;;
|
no) RTEMS_HAS_ITRON_API=no ;;
|
no) RTEMS_HAS_ITRON_API=no ;;
|
*) { { echo "$as_me:1577: error: bad value ${enableval} for enable-itron option" >&5
|
*) { { echo "$as_me:1577: error: bad value ${enableval} for enable-itron option" >&5
|
echo "$as_me: error: bad value ${enableval} for enable-itron option" >&2;}
|
echo "$as_me: error: bad value ${enableval} for enable-itron option" >&2;}
|
{ (exit 1); exit 1; }; } ;;
|
{ (exit 1); exit 1; }; } ;;
|
esac
|
esac
|
else
|
else
|
RTEMS_HAS_ITRON_API=yes
|
RTEMS_HAS_ITRON_API=yes
|
fi;
|
fi;
|
|
|
case "${host}" in
|
case "${host}" in
|
# hpux unix port should go here
|
# hpux unix port should go here
|
i[34567]86-pc-linux*) # unix "simulator" port
|
i[34567]86-pc-linux*) # unix "simulator" port
|
RTEMS_HAS_ITRON_API=no
|
RTEMS_HAS_ITRON_API=no
|
;;
|
;;
|
i[34567]86-*freebsd*) # unix "simulator" port
|
i[34567]86-*freebsd*) # unix "simulator" port
|
RTEMS_HAS_ITRON_API=no
|
RTEMS_HAS_ITRON_API=no
|
;;
|
;;
|
no_cpu-*rtems*)
|
no_cpu-*rtems*)
|
RTEMS_HAS_ITRON_API=no
|
RTEMS_HAS_ITRON_API=no
|
;;
|
;;
|
sparc-sun-solaris*) # unix "simulator" port
|
sparc-sun-solaris*) # unix "simulator" port
|
RTEMS_HAS_ITRON_API=no
|
RTEMS_HAS_ITRON_API=no
|
;;
|
;;
|
*)
|
*)
|
;;
|
;;
|
esac
|
esac
|
|
|
# Check whether --enable-networking or --disable-networking was given.
|
# Check whether --enable-networking or --disable-networking was given.
|
if test "${enable_networking+set}" = set; then
|
if test "${enable_networking+set}" = set; then
|
enableval="$enable_networking"
|
enableval="$enable_networking"
|
case "${enableval}" in
|
case "${enableval}" in
|
yes) RTEMS_HAS_NETWORKING=yes ;;
|
yes) RTEMS_HAS_NETWORKING=yes ;;
|
no) RTEMS_HAS_NETWORKING=no ;;
|
no) RTEMS_HAS_NETWORKING=no ;;
|
*) { { echo "$as_me:1609: error: bad value ${enableval} for enable-networking option" >&5
|
*) { { echo "$as_me:1609: error: bad value ${enableval} for enable-networking option" >&5
|
echo "$as_me: error: bad value ${enableval} for enable-networking option" >&2;}
|
echo "$as_me: error: bad value ${enableval} for enable-networking option" >&2;}
|
{ (exit 1); exit 1; }; } ;;
|
{ (exit 1); exit 1; }; } ;;
|
esac
|
esac
|
else
|
else
|
RTEMS_HAS_NETWORKING=yes
|
RTEMS_HAS_NETWORKING=yes
|
fi;
|
fi;
|
|
|
# Check whether --enable-rdbg or --disable-rdbg was given.
|
# Check whether --enable-rdbg or --disable-rdbg was given.
|
if test "${enable_rdbg+set}" = set; then
|
if test "${enable_rdbg+set}" = set; then
|
enableval="$enable_rdbg"
|
enableval="$enable_rdbg"
|
case "${enableval}" in
|
case "${enableval}" in
|
yes) RTEMS_HAS_RDBG=yes ;;
|
yes) RTEMS_HAS_RDBG=yes ;;
|
no) RTEMS_HAS_RDBG=no ;;
|
no) RTEMS_HAS_RDBG=no ;;
|
*) { { echo "$as_me:1623: error: bad value ${enableval} for enable-rdbg option" >&5
|
*) { { echo "$as_me:1623: error: bad value ${enableval} for enable-rdbg option" >&5
|
echo "$as_me: error: bad value ${enableval} for enable-rdbg option" >&2;}
|
echo "$as_me: error: bad value ${enableval} for enable-rdbg option" >&2;}
|
{ (exit 1); exit 1; }; } ;;
|
{ (exit 1); exit 1; }; } ;;
|
esac
|
esac
|
else
|
else
|
RTEMS_HAS_RDBG=no
|
RTEMS_HAS_RDBG=no
|
fi;
|
fi;
|
|
|
# Check whether --enable-rtems-inlines or --disable-rtems-inlines was given.
|
# Check whether --enable-rtems-inlines or --disable-rtems-inlines was given.
|
if test "${enable_rtems_inlines+set}" = set; then
|
if test "${enable_rtems_inlines+set}" = set; then
|
enableval="$enable_rtems_inlines"
|
enableval="$enable_rtems_inlines"
|
case "${enableval}" in
|
case "${enableval}" in
|
yes) RTEMS_USE_MACROS=no ;;
|
yes) RTEMS_USE_MACROS=no ;;
|
no) RTEMS_USE_MACROS=yes ;;
|
no) RTEMS_USE_MACROS=yes ;;
|
*) { { echo "$as_me:1637: error: bad value ${enableval} for disable-rtems-inlines option" >&5
|
*) { { echo "$as_me:1637: error: bad value ${enableval} for disable-rtems-inlines option" >&5
|
echo "$as_me: error: bad value ${enableval} for disable-rtems-inlines option" >&2;}
|
echo "$as_me: error: bad value ${enableval} for disable-rtems-inlines option" >&2;}
|
{ (exit 1); exit 1; }; } ;;
|
{ (exit 1); exit 1; }; } ;;
|
esac
|
esac
|
else
|
else
|
RTEMS_USE_MACROS=no
|
RTEMS_USE_MACROS=no
|
fi;
|
fi;
|
|
|
if test x"${RTEMS_USE_MACROS}" = x"yes";
|
if test x"${RTEMS_USE_MACROS}" = x"yes";
|
then
|
then
|
|
|
cat >>confdefs.h <
|
cat >>confdefs.h <
|
#define USE_MACROS 1
|
#define USE_MACROS 1
|
EOF
|
EOF
|
|
|
else
|
else
|
|
|
cat >>confdefs.h <
|
cat >>confdefs.h <
|
#define USE_INLINES 1
|
#define USE_INLINES 1
|
EOF
|
EOF
|
|
|
fi
|
fi
|
|
|
# Check whether --enable-cxx or --disable-cxx was given.
|
# Check whether --enable-cxx or --disable-cxx was given.
|
if test "${enable_cxx+set}" = set; then
|
if test "${enable_cxx+set}" = set; then
|
enableval="$enable_cxx"
|
enableval="$enable_cxx"
|
case "${enableval}" in
|
case "${enableval}" in
|
yes) RTEMS_HAS_CPLUSPLUS=yes ;;
|
yes) RTEMS_HAS_CPLUSPLUS=yes ;;
|
no) RTEMS_HAS_CPLUSPLUS=no ;;
|
no) RTEMS_HAS_CPLUSPLUS=no ;;
|
*) { { echo "$as_me:1666: error: bad value ${enableval} for enable-cxx option" >&5
|
*) { { echo "$as_me:1666: error: bad value ${enableval} for enable-cxx option" >&5
|
echo "$as_me: error: bad value ${enableval} for enable-cxx option" >&2;}
|
echo "$as_me: error: bad value ${enableval} for enable-cxx option" >&2;}
|
{ (exit 1); exit 1; }; } ;;
|
{ (exit 1); exit 1; }; } ;;
|
esac
|
esac
|
else
|
else
|
RTEMS_HAS_CPLUSPLUS=no
|
RTEMS_HAS_CPLUSPLUS=no
|
fi;
|
fi;
|
|
|
# Check whether --enable-bare-cpu-cflags or --disable-bare-cpu-cflags was given.
|
# Check whether --enable-bare-cpu-cflags or --disable-bare-cpu-cflags was given.
|
if test "${enable_bare_cpu_cflags+set}" = set; then
|
if test "${enable_bare_cpu_cflags+set}" = set; then
|
enableval="$enable_bare_cpu_cflags"
|
enableval="$enable_bare_cpu_cflags"
|
case "${enableval}" in
|
case "${enableval}" in
|
no) BARE_CPU_CFLAGS="" ;;
|
no) BARE_CPU_CFLAGS="" ;;
|
*) BARE_CPU_CFLAGS="${enableval}" ;;
|
*) BARE_CPU_CFLAGS="${enableval}" ;;
|
esac
|
esac
|
else
|
else
|
BARE_CPU_CFLAGS=""
|
BARE_CPU_CFLAGS=""
|
fi;
|
fi;
|
|
|
# Check whether --enable-bare-cpu-model or --disable-bare-cpu-model was given.
|
# Check whether --enable-bare-cpu-model or --disable-bare-cpu-model was given.
|
if test "${enable_bare_cpu_model+set}" = set; then
|
if test "${enable_bare_cpu_model+set}" = set; then
|
enableval="$enable_bare_cpu_model"
|
enableval="$enable_bare_cpu_model"
|
case "${enableval}" in
|
case "${enableval}" in
|
no) BARE_CPU_MODEL="" ;;
|
no) BARE_CPU_MODEL="" ;;
|
*) BARE_CPU_MODEL="${enableval}" ;;
|
*) BARE_CPU_MODEL="${enableval}" ;;
|
esac
|
esac
|
else
|
else
|
BARE_CPU_MODEL=""
|
BARE_CPU_MODEL=""
|
fi;
|
fi;
|
|
|
echo "$as_me:1696: checking for RTEMS_BSP" >&5
|
echo "$as_me:1696: checking for RTEMS_BSP" >&5
|
echo $ECHO_N "checking for RTEMS_BSP... $ECHO_C" >&6
|
echo $ECHO_N "checking for RTEMS_BSP... $ECHO_C" >&6
|
if test "${rtems_cv_RTEMS_BSP+set}" = set; then
|
if test "${rtems_cv_RTEMS_BSP+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
test -n "${RTEMS_BSP}" && rtems_cv_RTEMS_BSP="$RTEMS_BSP";
|
test -n "${RTEMS_BSP}" && rtems_cv_RTEMS_BSP="$RTEMS_BSP";
|
|
|
fi
|
fi
|
if test -z "$rtems_cv_RTEMS_BSP"; then
|
if test -z "$rtems_cv_RTEMS_BSP"; then
|
{ { echo "$as_me:1705: error: Missing RTEMS_BSP" >&5
|
{ { echo "$as_me:1705: error: Missing RTEMS_BSP" >&5
|
echo "$as_me: error: Missing RTEMS_BSP" >&2;}
|
echo "$as_me: error: Missing RTEMS_BSP" >&2;}
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
fi
|
fi
|
RTEMS_BSP="$rtems_cv_RTEMS_BSP"
|
RTEMS_BSP="$rtems_cv_RTEMS_BSP"
|
echo "$as_me:1710: result: ${RTEMS_BSP}" >&5
|
echo "$as_me:1710: result: ${RTEMS_BSP}" >&5
|
echo "${ECHO_T}${RTEMS_BSP}" >&6
|
echo "${ECHO_T}${RTEMS_BSP}" >&6
|
|
|
RTEMS_BSP_SPECS="-specs bsp_specs -qrtems"
|
RTEMS_BSP_SPECS="-specs bsp_specs -qrtems"
|
|
|
GCC_SPECS="-B\$(PROJECT_ROOT)/lib/ -B\$(PROJECT_ROOT)/$RTEMS_BSP/lib/"
|
GCC_SPECS="-B\$(PROJECT_ROOT)/lib/ -B\$(PROJECT_ROOT)/$RTEMS_BSP/lib/"
|
|
|
PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
|
PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
|
|
|
PROJECT_RELEASE="\$(PROJECT_ROOT)/$RTEMS_BSP"
|
PROJECT_RELEASE="\$(PROJECT_ROOT)/$RTEMS_BSP"
|
|
|
RTEMS_ROOT=$PROJECT_ROOT/c/$RTEMS_BSP
|
RTEMS_ROOT=$PROJECT_ROOT/c/$RTEMS_BSP
|
|
|
# Check whether --enable-bare-cpu-cflags or --disable-bare-cpu-cflags was given.
|
# Check whether --enable-bare-cpu-cflags or --disable-bare-cpu-cflags was given.
|
if test "${enable_bare_cpu_cflags+set}" = set; then
|
if test "${enable_bare_cpu_cflags+set}" = set; then
|
enableval="$enable_bare_cpu_cflags"
|
enableval="$enable_bare_cpu_cflags"
|
case "${enableval}" in
|
case "${enableval}" in
|
no) BARE_CPU_CFLAGS="" ;;
|
no) BARE_CPU_CFLAGS="" ;;
|
*) BARE_CPU_CFLAGS="${enableval}" ;;
|
*) BARE_CPU_CFLAGS="${enableval}" ;;
|
esac
|
esac
|
else
|
else
|
BARE_CPU_CFLAGS=""
|
BARE_CPU_CFLAGS=""
|
fi;
|
fi;
|
|
|
# Check whether --enable-bare-cpu-model or --disable-bare-cpu-model was given.
|
# Check whether --enable-bare-cpu-model or --disable-bare-cpu-model was given.
|
if test "${enable_bare_cpu_model+set}" = set; then
|
if test "${enable_bare_cpu_model+set}" = set; then
|
enableval="$enable_bare_cpu_model"
|
enableval="$enable_bare_cpu_model"
|
case "${enableval}" in
|
case "${enableval}" in
|
no) BARE_CPU_MODEL="" ;;
|
no) BARE_CPU_MODEL="" ;;
|
*) BARE_CPU_MODEL="${enableval}" ;;
|
*) BARE_CPU_MODEL="${enableval}" ;;
|
esac
|
esac
|
else
|
else
|
BARE_CPU_MODEL=""
|
BARE_CPU_MODEL=""
|
fi;
|
fi;
|
|
|
if false; then
|
if false; then
|
MULTILIB_TRUE=
|
MULTILIB_TRUE=
|
MULTILIB_FALSE='#'
|
MULTILIB_FALSE='#'
|
else
|
else
|
MULTILIB_TRUE='#'
|
MULTILIB_TRUE='#'
|
MULTILIB_FALSE=
|
MULTILIB_FALSE=
|
fi
|
fi
|
|
|
includedir="\${exec_prefix}/${RTEMS_BSP}/lib/include"
|
includedir="\${exec_prefix}/${RTEMS_BSP}/lib/include"
|
libdir="\${exec_prefix}/${RTEMS_BSP}/lib"
|
libdir="\${exec_prefix}/${RTEMS_BSP}/lib"
|
|
|
bsplibdir="\${exec_prefix}/${RTEMS_BSP}/lib"
|
bsplibdir="\${exec_prefix}/${RTEMS_BSP}/lib"
|
|
|
## BEGIN configure.host.in
|
## BEGIN configure.host.in
|
|
|
# Extract the first word of "cat", so it can be a program name with args.
|
# Extract the first word of "cat", so it can be a program name with args.
|
set dummy cat; ac_word=$2
|
set dummy cat; ac_word=$2
|
echo "$as_me:1762: checking for $ac_word" >&5
|
echo "$as_me:1762: checking for $ac_word" >&5
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
if test "${ac_cv_path_CAT+set}" = set; then
|
if test "${ac_cv_path_CAT+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
case $CAT in
|
case $CAT in
|
[\\/]* | ?:[\\/]*)
|
[\\/]* | ?:[\\/]*)
|
ac_cv_path_CAT="$CAT" # Let the user override the test with a path.
|
ac_cv_path_CAT="$CAT" # Let the user override the test with a path.
|
;;
|
;;
|
*)
|
*)
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
if $as_executable_p "$ac_dir/$ac_word"; then
|
if $as_executable_p "$ac_dir/$ac_word"; then
|
ac_cv_path_CAT="$ac_dir/$ac_word"
|
ac_cv_path_CAT="$ac_dir/$ac_word"
|
echo "$as_me:1779: found $ac_dir/$ac_word" >&5
|
echo "$as_me:1779: found $ac_dir/$ac_word" >&5
|
break
|
break
|
fi
|
fi
|
done
|
done
|
|
|
;;
|
;;
|
esac
|
esac
|
fi
|
fi
|
CAT=$ac_cv_path_CAT
|
CAT=$ac_cv_path_CAT
|
|
|
if test -n "$CAT"; then
|
if test -n "$CAT"; then
|
echo "$as_me:1790: result: $CAT" >&5
|
echo "$as_me:1790: result: $CAT" >&5
|
echo "${ECHO_T}$CAT" >&6
|
echo "${ECHO_T}$CAT" >&6
|
else
|
else
|
echo "$as_me:1793: result: no" >&5
|
echo "$as_me:1793: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
fi
|
fi
|
|
|
# Extract the first word of "cp", so it can be a program name with args.
|
# Extract the first word of "cp", so it can be a program name with args.
|
set dummy cp; ac_word=$2
|
set dummy cp; ac_word=$2
|
echo "$as_me:1799: checking for $ac_word" >&5
|
echo "$as_me:1799: checking for $ac_word" >&5
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
if test "${ac_cv_path_CP+set}" = set; then
|
if test "${ac_cv_path_CP+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
case $CP in
|
case $CP in
|
[\\/]* | ?:[\\/]*)
|
[\\/]* | ?:[\\/]*)
|
ac_cv_path_CP="$CP" # Let the user override the test with a path.
|
ac_cv_path_CP="$CP" # Let the user override the test with a path.
|
;;
|
;;
|
*)
|
*)
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
if $as_executable_p "$ac_dir/$ac_word"; then
|
if $as_executable_p "$ac_dir/$ac_word"; then
|
ac_cv_path_CP="$ac_dir/$ac_word"
|
ac_cv_path_CP="$ac_dir/$ac_word"
|
echo "$as_me:1816: found $ac_dir/$ac_word" >&5
|
echo "$as_me:1816: found $ac_dir/$ac_word" >&5
|
break
|
break
|
fi
|
fi
|
done
|
done
|
|
|
;;
|
;;
|
esac
|
esac
|
fi
|
fi
|
CP=$ac_cv_path_CP
|
CP=$ac_cv_path_CP
|
|
|
if test -n "$CP"; then
|
if test -n "$CP"; then
|
echo "$as_me:1827: result: $CP" >&5
|
echo "$as_me:1827: result: $CP" >&5
|
echo "${ECHO_T}$CP" >&6
|
echo "${ECHO_T}$CP" >&6
|
else
|
else
|
echo "$as_me:1830: result: no" >&5
|
echo "$as_me:1830: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
fi
|
fi
|
|
|
# Extract the first word of "mv", so it can be a program name with args.
|
# Extract the first word of "mv", so it can be a program name with args.
|
set dummy mv; ac_word=$2
|
set dummy mv; ac_word=$2
|
echo "$as_me:1836: checking for $ac_word" >&5
|
echo "$as_me:1836: checking for $ac_word" >&5
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
if test "${ac_cv_path_MV+set}" = set; then
|
if test "${ac_cv_path_MV+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
case $MV in
|
case $MV in
|
[\\/]* | ?:[\\/]*)
|
[\\/]* | ?:[\\/]*)
|
ac_cv_path_MV="$MV" # Let the user override the test with a path.
|
ac_cv_path_MV="$MV" # Let the user override the test with a path.
|
;;
|
;;
|
*)
|
*)
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
if $as_executable_p "$ac_dir/$ac_word"; then
|
if $as_executable_p "$ac_dir/$ac_word"; then
|
ac_cv_path_MV="$ac_dir/$ac_word"
|
ac_cv_path_MV="$ac_dir/$ac_word"
|
echo "$as_me:1853: found $ac_dir/$ac_word" >&5
|
echo "$as_me:1853: found $ac_dir/$ac_word" >&5
|
break
|
break
|
fi
|
fi
|
done
|
done
|
|
|
;;
|
;;
|
esac
|
esac
|
fi
|
fi
|
MV=$ac_cv_path_MV
|
MV=$ac_cv_path_MV
|
|
|
if test -n "$MV"; then
|
if test -n "$MV"; then
|
echo "$as_me:1864: result: $MV" >&5
|
echo "$as_me:1864: result: $MV" >&5
|
echo "${ECHO_T}$MV" >&6
|
echo "${ECHO_T}$MV" >&6
|
else
|
else
|
echo "$as_me:1867: result: no" >&5
|
echo "$as_me:1867: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
fi
|
fi
|
|
|
# Extract the first word of "ln", so it can be a program name with args.
|
# Extract the first word of "ln", so it can be a program name with args.
|
set dummy ln; ac_word=$2
|
set dummy ln; ac_word=$2
|
echo "$as_me:1873: checking for $ac_word" >&5
|
echo "$as_me:1873: checking for $ac_word" >&5
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
if test "${ac_cv_path_LN+set}" = set; then
|
if test "${ac_cv_path_LN+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
case $LN in
|
case $LN in
|
[\\/]* | ?:[\\/]*)
|
[\\/]* | ?:[\\/]*)
|
ac_cv_path_LN="$LN" # Let the user override the test with a path.
|
ac_cv_path_LN="$LN" # Let the user override the test with a path.
|
;;
|
;;
|
*)
|
*)
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
if $as_executable_p "$ac_dir/$ac_word"; then
|
if $as_executable_p "$ac_dir/$ac_word"; then
|
ac_cv_path_LN="$ac_dir/$ac_word"
|
ac_cv_path_LN="$ac_dir/$ac_word"
|
echo "$as_me:1890: found $ac_dir/$ac_word" >&5
|
echo "$as_me:1890: found $ac_dir/$ac_word" >&5
|
break
|
break
|
fi
|
fi
|
done
|
done
|
|
|
;;
|
;;
|
esac
|
esac
|
fi
|
fi
|
LN=$ac_cv_path_LN
|
LN=$ac_cv_path_LN
|
|
|
if test -n "$LN"; then
|
if test -n "$LN"; then
|
echo "$as_me:1901: result: $LN" >&5
|
echo "$as_me:1901: result: $LN" >&5
|
echo "${ECHO_T}$LN" >&6
|
echo "${ECHO_T}$LN" >&6
|
else
|
else
|
echo "$as_me:1904: result: no" >&5
|
echo "$as_me:1904: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
fi
|
fi
|
|
|
echo "$as_me:1908: checking whether ln -s works" >&5
|
echo "$as_me:1908: checking whether ln -s works" >&5
|
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
|
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
|
LN_S=$as_ln_s
|
LN_S=$as_ln_s
|
if test "$LN_S" = "ln -s"; then
|
if test "$LN_S" = "ln -s"; then
|
echo "$as_me:1912: result: yes" >&5
|
echo "$as_me:1912: result: yes" >&5
|
echo "${ECHO_T}yes" >&6
|
echo "${ECHO_T}yes" >&6
|
else
|
else
|
echo "$as_me:1915: result: no, using $LN_S" >&5
|
echo "$as_me:1915: result: no, using $LN_S" >&5
|
echo "${ECHO_T}no, using $LN_S" >&6
|
echo "${ECHO_T}no, using $LN_S" >&6
|
fi
|
fi
|
|
|
# Extract the first word of "chmod", so it can be a program name with args.
|
# Extract the first word of "chmod", so it can be a program name with args.
|
set dummy chmod; ac_word=$2
|
set dummy chmod; ac_word=$2
|
echo "$as_me:1921: checking for $ac_word" >&5
|
echo "$as_me:1921: checking for $ac_word" >&5
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
if test "${ac_cv_path_CHMOD+set}" = set; then
|
if test "${ac_cv_path_CHMOD+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
case $CHMOD in
|
case $CHMOD in
|
[\\/]* | ?:[\\/]*)
|
[\\/]* | ?:[\\/]*)
|
ac_cv_path_CHMOD="$CHMOD" # Let the user override the test with a path.
|
ac_cv_path_CHMOD="$CHMOD" # Let the user override the test with a path.
|
;;
|
;;
|
*)
|
*)
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
if $as_executable_p "$ac_dir/$ac_word"; then
|
if $as_executable_p "$ac_dir/$ac_word"; then
|
ac_cv_path_CHMOD="$ac_dir/$ac_word"
|
ac_cv_path_CHMOD="$ac_dir/$ac_word"
|
echo "$as_me:1938: found $ac_dir/$ac_word" >&5
|
echo "$as_me:1938: found $ac_dir/$ac_word" >&5
|
break
|
break
|
fi
|
fi
|
done
|
done
|
|
|
;;
|
;;
|
esac
|
esac
|
fi
|
fi
|
CHMOD=$ac_cv_path_CHMOD
|
CHMOD=$ac_cv_path_CHMOD
|
|
|
if test -n "$CHMOD"; then
|
if test -n "$CHMOD"; then
|
echo "$as_me:1949: result: $CHMOD" >&5
|
echo "$as_me:1949: result: $CHMOD" >&5
|
echo "${ECHO_T}$CHMOD" >&6
|
echo "${ECHO_T}$CHMOD" >&6
|
else
|
else
|
echo "$as_me:1952: result: no" >&5
|
echo "$as_me:1952: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
fi
|
fi
|
|
|
# Extract the first word of "sort", so it can be a program name with args.
|
# Extract the first word of "sort", so it can be a program name with args.
|
set dummy sort; ac_word=$2
|
set dummy sort; ac_word=$2
|
echo "$as_me:1958: checking for $ac_word" >&5
|
echo "$as_me:1958: checking for $ac_word" >&5
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
if test "${ac_cv_path_SORT+set}" = set; then
|
if test "${ac_cv_path_SORT+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
case $SORT in
|
case $SORT in
|
[\\/]* | ?:[\\/]*)
|
[\\/]* | ?:[\\/]*)
|
ac_cv_path_SORT="$SORT" # Let the user override the test with a path.
|
ac_cv_path_SORT="$SORT" # Let the user override the test with a path.
|
;;
|
;;
|
*)
|
*)
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
if $as_executable_p "$ac_dir/$ac_word"; then
|
if $as_executable_p "$ac_dir/$ac_word"; then
|
ac_cv_path_SORT="$ac_dir/$ac_word"
|
ac_cv_path_SORT="$ac_dir/$ac_word"
|
echo "$as_me:1975: found $ac_dir/$ac_word" >&5
|
echo "$as_me:1975: found $ac_dir/$ac_word" >&5
|
break
|
break
|
fi
|
fi
|
done
|
done
|
|
|
;;
|
;;
|
esac
|
esac
|
fi
|
fi
|
SORT=$ac_cv_path_SORT
|
SORT=$ac_cv_path_SORT
|
|
|
if test -n "$SORT"; then
|
if test -n "$SORT"; then
|
echo "$as_me:1986: result: $SORT" >&5
|
echo "$as_me:1986: result: $SORT" >&5
|
echo "${ECHO_T}$SORT" >&6
|
echo "${ECHO_T}$SORT" >&6
|
else
|
else
|
echo "$as_me:1989: result: no" >&5
|
echo "$as_me:1989: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
fi
|
fi
|
|
|
# Extract the first word of "perl", so it can be a program name with args.
|
# Extract the first word of "perl", so it can be a program name with args.
|
set dummy perl; ac_word=$2
|
set dummy perl; ac_word=$2
|
echo "$as_me:1995: checking for $ac_word" >&5
|
echo "$as_me:1995: checking for $ac_word" >&5
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
if test "${ac_cv_path_PERL+set}" = set; then
|
if test "${ac_cv_path_PERL+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
case $PERL in
|
case $PERL in
|
[\\/]* | ?:[\\/]*)
|
[\\/]* | ?:[\\/]*)
|
ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
|
ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
|
;;
|
;;
|
*)
|
*)
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
if $as_executable_p "$ac_dir/$ac_word"; then
|
if $as_executable_p "$ac_dir/$ac_word"; then
|
ac_cv_path_PERL="$ac_dir/$ac_word"
|
ac_cv_path_PERL="$ac_dir/$ac_word"
|
echo "$as_me:2012: found $ac_dir/$ac_word" >&5
|
echo "$as_me:2012: found $ac_dir/$ac_word" >&5
|
break
|
break
|
fi
|
fi
|
done
|
done
|
|
|
;;
|
;;
|
esac
|
esac
|
fi
|
fi
|
PERL=$ac_cv_path_PERL
|
PERL=$ac_cv_path_PERL
|
|
|
if test -n "$PERL"; then
|
if test -n "$PERL"; then
|
echo "$as_me:2023: result: $PERL" >&5
|
echo "$as_me:2023: result: $PERL" >&5
|
echo "${ECHO_T}$PERL" >&6
|
echo "${ECHO_T}$PERL" >&6
|
else
|
else
|
echo "$as_me:2026: result: no" >&5
|
echo "$as_me:2026: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
fi
|
fi
|
|
|
if test -z "$PERL" ; then
|
if test -z "$PERL" ; then
|
{ echo "$as_me:2031: WARNING: ***
|
{ echo "$as_me:2031: WARNING: ***
|
perl was not found
|
perl was not found
|
Note: Some tools will not be built." >&5
|
Note: Some tools will not be built." >&5
|
echo "$as_me: WARNING: ***
|
echo "$as_me: WARNING: ***
|
perl was not found
|
perl was not found
|
Note: Some tools will not be built." >&2;}
|
Note: Some tools will not be built." >&2;}
|
fi
|
fi
|
|
|
# Extract the first word of "touch", so it can be a program name with args.
|
# Extract the first word of "touch", so it can be a program name with args.
|
set dummy touch; ac_word=$2
|
set dummy touch; ac_word=$2
|
echo "$as_me:2041: checking for $ac_word" >&5
|
echo "$as_me:2041: checking for $ac_word" >&5
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
if test "${ac_cv_path_TOUCH+set}" = set; then
|
if test "${ac_cv_path_TOUCH+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
case $TOUCH in
|
case $TOUCH in
|
[\\/]* | ?:[\\/]*)
|
[\\/]* | ?:[\\/]*)
|
ac_cv_path_TOUCH="$TOUCH" # Let the user override the test with a path.
|
ac_cv_path_TOUCH="$TOUCH" # Let the user override the test with a path.
|
;;
|
;;
|
*)
|
*)
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
if $as_executable_p "$ac_dir/$ac_word"; then
|
if $as_executable_p "$ac_dir/$ac_word"; then
|
ac_cv_path_TOUCH="$ac_dir/$ac_word"
|
ac_cv_path_TOUCH="$ac_dir/$ac_word"
|
echo "$as_me:2058: found $ac_dir/$ac_word" >&5
|
echo "$as_me:2058: found $ac_dir/$ac_word" >&5
|
break
|
break
|
fi
|
fi
|
done
|
done
|
|
|
;;
|
;;
|
esac
|
esac
|
fi
|
fi
|
TOUCH=$ac_cv_path_TOUCH
|
TOUCH=$ac_cv_path_TOUCH
|
|
|
if test -n "$TOUCH"; then
|
if test -n "$TOUCH"; then
|
echo "$as_me:2069: result: $TOUCH" >&5
|
echo "$as_me:2069: result: $TOUCH" >&5
|
echo "${ECHO_T}$TOUCH" >&6
|
echo "${ECHO_T}$TOUCH" >&6
|
else
|
else
|
echo "$as_me:2072: result: no" >&5
|
echo "$as_me:2072: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
fi
|
fi
|
|
|
# Extract the first word of "cmp", so it can be a program name with args.
|
# Extract the first word of "cmp", so it can be a program name with args.
|
set dummy cmp; ac_word=$2
|
set dummy cmp; ac_word=$2
|
echo "$as_me:2078: checking for $ac_word" >&5
|
echo "$as_me:2078: checking for $ac_word" >&5
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
if test "${ac_cv_path_CMP+set}" = set; then
|
if test "${ac_cv_path_CMP+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
case $CMP in
|
case $CMP in
|
[\\/]* | ?:[\\/]*)
|
[\\/]* | ?:[\\/]*)
|
ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
|
ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
|
;;
|
;;
|
*)
|
*)
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
if $as_executable_p "$ac_dir/$ac_word"; then
|
if $as_executable_p "$ac_dir/$ac_word"; then
|
ac_cv_path_CMP="$ac_dir/$ac_word"
|
ac_cv_path_CMP="$ac_dir/$ac_word"
|
echo "$as_me:2095: found $ac_dir/$ac_word" >&5
|
echo "$as_me:2095: found $ac_dir/$ac_word" >&5
|
break
|
break
|
fi
|
fi
|
done
|
done
|
|
|
;;
|
;;
|
esac
|
esac
|
fi
|
fi
|
CMP=$ac_cv_path_CMP
|
CMP=$ac_cv_path_CMP
|
|
|
if test -n "$CMP"; then
|
if test -n "$CMP"; then
|
echo "$as_me:2106: result: $CMP" >&5
|
echo "$as_me:2106: result: $CMP" >&5
|
echo "${ECHO_T}$CMP" >&6
|
echo "${ECHO_T}$CMP" >&6
|
else
|
else
|
echo "$as_me:2109: result: no" >&5
|
echo "$as_me:2109: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
fi
|
fi
|
|
|
# Extract the first word of "sed", so it can be a program name with args.
|
# Extract the first word of "sed", so it can be a program name with args.
|
set dummy sed; ac_word=$2
|
set dummy sed; ac_word=$2
|
echo "$as_me:2115: checking for $ac_word" >&5
|
echo "$as_me:2115: checking for $ac_word" >&5
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
if test "${ac_cv_path_SED+set}" = set; then
|
if test "${ac_cv_path_SED+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
case $SED in
|
case $SED in
|
[\\/]* | ?:[\\/]*)
|
[\\/]* | ?:[\\/]*)
|
ac_cv_path_SED="$SED" # Let the user override the test with a path.
|
ac_cv_path_SED="$SED" # Let the user override the test with a path.
|
;;
|
;;
|
*)
|
*)
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
if $as_executable_p "$ac_dir/$ac_word"; then
|
if $as_executable_p "$ac_dir/$ac_word"; then
|
ac_cv_path_SED="$ac_dir/$ac_word"
|
ac_cv_path_SED="$ac_dir/$ac_word"
|
echo "$as_me:2132: found $ac_dir/$ac_word" >&5
|
echo "$as_me:2132: found $ac_dir/$ac_word" >&5
|
break
|
break
|
fi
|
fi
|
done
|
done
|
|
|
;;
|
;;
|
esac
|
esac
|
fi
|
fi
|
SED=$ac_cv_path_SED
|
SED=$ac_cv_path_SED
|
|
|
if test -n "$SED"; then
|
if test -n "$SED"; then
|
echo "$as_me:2143: result: $SED" >&5
|
echo "$as_me:2143: result: $SED" >&5
|
echo "${ECHO_T}$SED" >&6
|
echo "${ECHO_T}$SED" >&6
|
else
|
else
|
echo "$as_me:2146: result: no" >&5
|
echo "$as_me:2146: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
fi
|
fi
|
|
|
for ac_prog in gm4 m4
|
for ac_prog in gm4 m4
|
do
|
do
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
set dummy $ac_prog; ac_word=$2
|
set dummy $ac_prog; ac_word=$2
|
echo "$as_me:2154: checking for $ac_word" >&5
|
echo "$as_me:2154: checking for $ac_word" >&5
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
if test "${ac_cv_path_M4+set}" = set; then
|
if test "${ac_cv_path_M4+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
case $M4 in
|
case $M4 in
|
[\\/]* | ?:[\\/]*)
|
[\\/]* | ?:[\\/]*)
|
ac_cv_path_M4="$M4" # Let the user override the test with a path.
|
ac_cv_path_M4="$M4" # Let the user override the test with a path.
|
;;
|
;;
|
*)
|
*)
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
if $as_executable_p "$ac_dir/$ac_word"; then
|
if $as_executable_p "$ac_dir/$ac_word"; then
|
ac_cv_path_M4="$ac_dir/$ac_word"
|
ac_cv_path_M4="$ac_dir/$ac_word"
|
echo "$as_me:2171: found $ac_dir/$ac_word" >&5
|
echo "$as_me:2171: found $ac_dir/$ac_word" >&5
|
break
|
break
|
fi
|
fi
|
done
|
done
|
|
|
;;
|
;;
|
esac
|
esac
|
fi
|
fi
|
M4=$ac_cv_path_M4
|
M4=$ac_cv_path_M4
|
|
|
if test -n "$M4"; then
|
if test -n "$M4"; then
|
echo "$as_me:2182: result: $M4" >&5
|
echo "$as_me:2182: result: $M4" >&5
|
echo "${ECHO_T}$M4" >&6
|
echo "${ECHO_T}$M4" >&6
|
else
|
else
|
echo "$as_me:2185: result: no" >&5
|
echo "$as_me:2185: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
fi
|
fi
|
|
|
test -n "$M4" && break
|
test -n "$M4" && break
|
done
|
done
|
|
|
for ac_prog in bash ksh sh
|
for ac_prog in bash ksh sh
|
do
|
do
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
set dummy $ac_prog; ac_word=$2
|
set dummy $ac_prog; ac_word=$2
|
echo "$as_me:2196: checking for $ac_word" >&5
|
echo "$as_me:2196: checking for $ac_word" >&5
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
if test "${ac_cv_path_KSH+set}" = set; then
|
if test "${ac_cv_path_KSH+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
case $KSH in
|
case $KSH in
|
[\\/]* | ?:[\\/]*)
|
[\\/]* | ?:[\\/]*)
|
ac_cv_path_KSH="$KSH" # Let the user override the test with a path.
|
ac_cv_path_KSH="$KSH" # Let the user override the test with a path.
|
;;
|
;;
|
*)
|
*)
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
if $as_executable_p "$ac_dir/$ac_word"; then
|
if $as_executable_p "$ac_dir/$ac_word"; then
|
ac_cv_path_KSH="$ac_dir/$ac_word"
|
ac_cv_path_KSH="$ac_dir/$ac_word"
|
echo "$as_me:2213: found $ac_dir/$ac_word" >&5
|
echo "$as_me:2213: found $ac_dir/$ac_word" >&5
|
break
|
break
|
fi
|
fi
|
done
|
done
|
|
|
;;
|
;;
|
esac
|
esac
|
fi
|
fi
|
KSH=$ac_cv_path_KSH
|
KSH=$ac_cv_path_KSH
|
|
|
if test -n "$KSH"; then
|
if test -n "$KSH"; then
|
echo "$as_me:2224: result: $KSH" >&5
|
echo "$as_me:2224: result: $KSH" >&5
|
echo "${ECHO_T}$KSH" >&6
|
echo "${ECHO_T}$KSH" >&6
|
else
|
else
|
echo "$as_me:2227: result: no" >&5
|
echo "$as_me:2227: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
fi
|
fi
|
|
|
test -n "$KSH" && break
|
test -n "$KSH" && break
|
done
|
done
|
|
|
if test -z "$KSH"; then
|
if test -z "$KSH"; then
|
{ { echo "$as_me:2235: error: ***
|
{ { echo "$as_me:2235: error: ***
|
Cannot determine a usable shell bash/ksh/sh
|
Cannot determine a usable shell bash/ksh/sh
|
Please contact your system administrator " >&5
|
Please contact your system administrator " >&5
|
echo "$as_me: error: ***
|
echo "$as_me: error: ***
|
Cannot determine a usable shell bash/ksh/sh
|
Cannot determine a usable shell bash/ksh/sh
|
Please contact your system administrator " >&2;}
|
Please contact your system administrator " >&2;}
|
{ (exit 1); exit 1; }; };
|
{ (exit 1); exit 1; }; };
|
fi
|
fi
|
|
|
## BEGIN configure.target.in
|
## BEGIN configure.target.in
|
|
|
# Is this a supported CPU?
|
# Is this a supported CPU?
|
echo "$as_me:2247: checking if cpu $RTEMS_CPU is supported" >&5
|
echo "$as_me:2247: checking if cpu $RTEMS_CPU is supported" >&5
|
echo $ECHO_N "checking if cpu $RTEMS_CPU is supported... $ECHO_C" >&6
|
echo $ECHO_N "checking if cpu $RTEMS_CPU is supported... $ECHO_C" >&6
|
# FIXME: Temporary hack
|
# FIXME: Temporary hack
|
if test -d "$srcdir/$RTEMS_TOPdir/cpukit/score/cpu/$RTEMS_CPU"; then
|
if test -d "$srcdir/$RTEMS_TOPdir/cpukit/score/cpu/$RTEMS_CPU"; then
|
echo "$as_me:2251: result: yes" >&5
|
echo "$as_me:2251: result: yes" >&5
|
echo "${ECHO_T}yes" >&6
|
echo "${ECHO_T}yes" >&6
|
else
|
else
|
{ { echo "$as_me:2254: error: no" >&5
|
{ { echo "$as_me:2254: error: no" >&5
|
echo "$as_me: error: no" >&2;}
|
echo "$as_me: error: no" >&2;}
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
fi
|
fi
|
|
|
RTEMS_HOST=$host_os
|
RTEMS_HOST=$host_os
|
case "${target}" in
|
case "${target}" in
|
# hpux unix port should go here
|
# hpux unix port should go here
|
i[34567]86-*linux*) # unix "simulator" port
|
i[34567]86-*linux*) # unix "simulator" port
|
RTEMS_HOST=Linux
|
RTEMS_HOST=Linux
|
;;
|
;;
|
i[34567]86-*freebsd*) # unix "simulator" port
|
i[34567]86-*freebsd*) # unix "simulator" port
|
RTEMS_HOST=FreeBSD
|
RTEMS_HOST=FreeBSD
|
;;
|
;;
|
i[34567]86-pc-cygwin*) # Cygwin is just enough unix like :)
|
i[34567]86-pc-cygwin*) # Cygwin is just enough unix like :)
|
RTEMS_HOST=Cygwin
|
RTEMS_HOST=Cygwin
|
;;
|
;;
|
sparc-sun-solaris*) # unix "simulator" port
|
sparc-sun-solaris*) # unix "simulator" port
|
RTEMS_HOST=Solaris
|
RTEMS_HOST=Solaris
|
;;
|
;;
|
*)
|
*)
|
;;
|
;;
|
esac
|
esac
|
|
|
PACKHEX="\$(PROJECT_TOPdir)/tools/build/packhex"
|
PACKHEX="\$(PROJECT_TOPdir)/tools/build/packhex"
|
|
|
rm -f .deps 2>/dev/null
|
rm -f .deps 2>/dev/null
|
mkdir .deps 2>/dev/null
|
mkdir .deps 2>/dev/null
|
if test -d .deps; then
|
if test -d .deps; then
|
DEPDIR=.deps
|
DEPDIR=.deps
|
else
|
else
|
# MS-DOS does not allow filenames that begin with a dot.
|
# MS-DOS does not allow filenames that begin with a dot.
|
DEPDIR=_deps
|
DEPDIR=_deps
|
fi
|
fi
|
rmdir .deps 2>/dev/null
|
rmdir .deps 2>/dev/null
|
|
|
ac_config_commands="$ac_config_commands depfiles"
|
ac_config_commands="$ac_config_commands depfiles"
|
|
|
am_make=${MAKE-make}
|
am_make=${MAKE-make}
|
cat > confinc << 'END'
|
cat > confinc << 'END'
|
doit:
|
doit:
|
@echo done
|
@echo done
|
END
|
END
|
# If we don't find an include directive, just comment out the code.
|
# If we don't find an include directive, just comment out the code.
|
echo "$as_me:2298: checking for style of include used by $am_make" >&5
|
echo "$as_me:2298: checking for style of include used by $am_make" >&5
|
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
|
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
|
am__include="#"
|
am__include="#"
|
am__quote=
|
am__quote=
|
_am_result=none
|
_am_result=none
|
# First try GNU make style include.
|
# First try GNU make style include.
|
echo "include confinc" > confmf
|
echo "include confinc" > confmf
|
# We grep out `Entering directory' and `Leaving directory'
|
# We grep out `Entering directory' and `Leaving directory'
|
# messages which can occur if `w' ends up in MAKEFLAGS.
|
# messages which can occur if `w' ends up in MAKEFLAGS.
|
# In particular we don't look at `^make:' because GNU make might
|
# In particular we don't look at `^make:' because GNU make might
|
# be invoked under some other name (usually "gmake"), in which
|
# be invoked under some other name (usually "gmake"), in which
|
# case it prints its new name instead of `make'.
|
# 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
|
if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
|
am__include=include
|
am__include=include
|
am__quote=
|
am__quote=
|
_am_result=GNU
|
_am_result=GNU
|
fi
|
fi
|
# Now try BSD make style include.
|
# Now try BSD make style include.
|
if test "$am__include" = "#"; then
|
if test "$am__include" = "#"; then
|
echo '.include "confinc"' > confmf
|
echo '.include "confinc"' > confmf
|
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
|
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
|
am__include=.include
|
am__include=.include
|
am__quote="\""
|
am__quote="\""
|
_am_result=BSD
|
_am_result=BSD
|
fi
|
fi
|
fi
|
fi
|
|
|
echo "$as_me:2325: result: $_am_result" >&5
|
echo "$as_me:2325: result: $_am_result" >&5
|
echo "${ECHO_T}$_am_result" >&6
|
echo "${ECHO_T}$_am_result" >&6
|
rm -f confinc confmf
|
rm -f confinc confmf
|
|
|
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
|
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
|
if test "${enable_dependency_tracking+set}" = set; then
|
if test "${enable_dependency_tracking+set}" = set; then
|
enableval="$enable_dependency_tracking"
|
enableval="$enable_dependency_tracking"
|
|
|
fi;
|
fi;
|
if test "x$enable_dependency_tracking" != xno; then
|
if test "x$enable_dependency_tracking" != xno; then
|
am_depcomp="$ac_aux_dir/depcomp"
|
am_depcomp="$ac_aux_dir/depcomp"
|
AMDEPBACKSLASH='\'
|
AMDEPBACKSLASH='\'
|
fi
|
fi
|
|
|
if test "x$enable_dependency_tracking" != xno; then
|
if test "x$enable_dependency_tracking" != xno; then
|
AMDEP_TRUE=
|
AMDEP_TRUE=
|
AMDEP_FALSE='#'
|
AMDEP_FALSE='#'
|
else
|
else
|
AMDEP_TRUE='#'
|
AMDEP_TRUE='#'
|
AMDEP_FALSE=
|
AMDEP_FALSE=
|
fi
|
fi
|
|
|
if test "x$build_alias" != "x$host_alias"; then
|
if test "x$build_alias" != "x$host_alias"; then
|
rtems_tool_prefix=${ac_tool_prefix}
|
rtems_tool_prefix=${ac_tool_prefix}
|
fi
|
fi
|
|
|
# Extract the first word of "${rtems_tool_prefix}gcc", so it can be a program name with args.
|
# Extract the first word of "${rtems_tool_prefix}gcc", so it can be a program name with args.
|
set dummy ${rtems_tool_prefix}gcc; ac_word=$2
|
set dummy ${rtems_tool_prefix}gcc; ac_word=$2
|
echo "$as_me:2353: checking for $ac_word" >&5
|
echo "$as_me:2353: checking for $ac_word" >&5
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
if test "${ac_cv_prog_CC+set}" = set; then
|
if test "${ac_cv_prog_CC+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
if test -n "$CC"; then
|
if test -n "$CC"; then
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
else
|
else
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
ac_cv_prog_CC="${rtems_tool_prefix}gcc"
|
ac_cv_prog_CC="${rtems_tool_prefix}gcc"
|
echo "$as_me:2368: found $ac_dir/$ac_word" >&5
|
echo "$as_me:2368: found $ac_dir/$ac_word" >&5
|
break
|
break
|
done
|
done
|
|
|
fi
|
fi
|
fi
|
fi
|
CC=$ac_cv_prog_CC
|
CC=$ac_cv_prog_CC
|
if test -n "$CC"; then
|
if test -n "$CC"; then
|
echo "$as_me:2376: result: $CC" >&5
|
echo "$as_me:2376: result: $CC" >&5
|
echo "${ECHO_T}$CC" >&6
|
echo "${ECHO_T}$CC" >&6
|
else
|
else
|
echo "$as_me:2379: result: no" >&5
|
echo "$as_me:2379: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
fi
|
fi
|
|
|
test -z "$CC" && \
|
test -z "$CC" && \
|
{ { echo "$as_me:2384: error: no acceptable cc found in \$PATH" >&5
|
{ { echo "$as_me:2384: error: no acceptable cc found in \$PATH" >&5
|
echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
|
echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
ac_ext=c
|
ac_ext=c
|
ac_cpp='$CPP $CPPFLAGS'
|
ac_cpp='$CPP $CPPFLAGS'
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
if test -n "$ac_tool_prefix"; then
|
if test -n "$ac_tool_prefix"; then
|
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
echo "$as_me:2395: checking for $ac_word" >&5
|
echo "$as_me:2395: checking for $ac_word" >&5
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
if test "${ac_cv_prog_CC+set}" = set; then
|
if test "${ac_cv_prog_CC+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
if test -n "$CC"; then
|
if test -n "$CC"; then
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
else
|
else
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
echo "$as_me:2410: found $ac_dir/$ac_word" >&5
|
echo "$as_me:2410: found $ac_dir/$ac_word" >&5
|
break
|
break
|
done
|
done
|
|
|
fi
|
fi
|
fi
|
fi
|
CC=$ac_cv_prog_CC
|
CC=$ac_cv_prog_CC
|
if test -n "$CC"; then
|
if test -n "$CC"; then
|
echo "$as_me:2418: result: $CC" >&5
|
echo "$as_me:2418: result: $CC" >&5
|
echo "${ECHO_T}$CC" >&6
|
echo "${ECHO_T}$CC" >&6
|
else
|
else
|
echo "$as_me:2421: result: no" >&5
|
echo "$as_me:2421: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
fi
|
fi
|
|
|
fi
|
fi
|
if test -z "$ac_cv_prog_CC"; then
|
if test -z "$ac_cv_prog_CC"; then
|
ac_ct_CC=$CC
|
ac_ct_CC=$CC
|
# 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 "$as_me:2430: checking for $ac_word" >&5
|
echo "$as_me:2430: checking for $ac_word" >&5
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
if test -n "$ac_ct_CC"; then
|
if test -n "$ac_ct_CC"; then
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
else
|
else
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
ac_cv_prog_ac_ct_CC="gcc"
|
ac_cv_prog_ac_ct_CC="gcc"
|
echo "$as_me:2445: found $ac_dir/$ac_word" >&5
|
echo "$as_me:2445: found $ac_dir/$ac_word" >&5
|
break
|
break
|
done
|
done
|
|
|
fi
|
fi
|
fi
|
fi
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
if test -n "$ac_ct_CC"; then
|
if test -n "$ac_ct_CC"; then
|
echo "$as_me:2453: result: $ac_ct_CC" >&5
|
echo "$as_me:2453: result: $ac_ct_CC" >&5
|
echo "${ECHO_T}$ac_ct_CC" >&6
|
echo "${ECHO_T}$ac_ct_CC" >&6
|
else
|
else
|
echo "$as_me:2456: result: no" >&5
|
echo "$as_me:2456: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
fi
|
fi
|
|
|
CC=$ac_ct_CC
|
CC=$ac_ct_CC
|
else
|
else
|
CC="$ac_cv_prog_CC"
|
CC="$ac_cv_prog_CC"
|
fi
|
fi
|
|
|
if test -z "$CC"; then
|
if test -z "$CC"; then
|
if test -n "$ac_tool_prefix"; then
|
if test -n "$ac_tool_prefix"; then
|
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
set dummy ${ac_tool_prefix}cc; ac_word=$2
|
set dummy ${ac_tool_prefix}cc; ac_word=$2
|
echo "$as_me:2469: checking for $ac_word" >&5
|
echo "$as_me:2469: checking for $ac_word" >&5
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
if test "${ac_cv_prog_CC+set}" = set; then
|
if test "${ac_cv_prog_CC+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
if test -n "$CC"; then
|
if test -n "$CC"; then
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
else
|
else
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
echo "$as_me:2484: found $ac_dir/$ac_word" >&5
|
echo "$as_me:2484: found $ac_dir/$ac_word" >&5
|
break
|
break
|
done
|
done
|
|
|
fi
|
fi
|
fi
|
fi
|
CC=$ac_cv_prog_CC
|
CC=$ac_cv_prog_CC
|
if test -n "$CC"; then
|
if test -n "$CC"; then
|
echo "$as_me:2492: result: $CC" >&5
|
echo "$as_me:2492: result: $CC" >&5
|
echo "${ECHO_T}$CC" >&6
|
echo "${ECHO_T}$CC" >&6
|
else
|
else
|
echo "$as_me:2495: result: no" >&5
|
echo "$as_me:2495: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
fi
|
fi
|
|
|
fi
|
fi
|
if test -z "$ac_cv_prog_CC"; then
|
if test -z "$ac_cv_prog_CC"; then
|
ac_ct_CC=$CC
|
ac_ct_CC=$CC
|
# 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 "$as_me:2504: checking for $ac_word" >&5
|
echo "$as_me:2504: checking for $ac_word" >&5
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
if test -n "$ac_ct_CC"; then
|
if test -n "$ac_ct_CC"; then
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
else
|
else
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
ac_cv_prog_ac_ct_CC="cc"
|
ac_cv_prog_ac_ct_CC="cc"
|
echo "$as_me:2519: found $ac_dir/$ac_word" >&5
|
echo "$as_me:2519: found $ac_dir/$ac_word" >&5
|
break
|
break
|
done
|
done
|
|
|
fi
|
fi
|
fi
|
fi
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
if test -n "$ac_ct_CC"; then
|
if test -n "$ac_ct_CC"; then
|
echo "$as_me:2527: result: $ac_ct_CC" >&5
|
echo "$as_me:2527: result: $ac_ct_CC" >&5
|
echo "${ECHO_T}$ac_ct_CC" >&6
|
echo "${ECHO_T}$ac_ct_CC" >&6
|
else
|
else
|
echo "$as_me:2530: result: no" >&5
|
echo "$as_me:2530: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
fi
|
fi
|
|
|
CC=$ac_ct_CC
|
CC=$ac_ct_CC
|
else
|
else
|
CC="$ac_cv_prog_CC"
|
CC="$ac_cv_prog_CC"
|
fi
|
fi
|
|
|
fi
|
fi
|
if test -z "$CC"; then
|
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 "$as_me:2543: checking for $ac_word" >&5
|
echo "$as_me:2543: checking for $ac_word" >&5
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
if test "${ac_cv_prog_CC+set}" = set; then
|
if test "${ac_cv_prog_CC+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
if test -n "$CC"; then
|
if test -n "$CC"; then
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
else
|
else
|
ac_prog_rejected=no
|
ac_prog_rejected=no
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
|
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
|
ac_prog_rejected=yes
|
ac_prog_rejected=yes
|
continue
|
continue
|
fi
|
fi
|
ac_cv_prog_CC="cc"
|
ac_cv_prog_CC="cc"
|
echo "$as_me:2563: found $ac_dir/$ac_word" >&5
|
echo "$as_me:2563: found $ac_dir/$ac_word" >&5
|
break
|
break
|
done
|
done
|
|
|
if test $ac_prog_rejected = yes; then
|
if test $ac_prog_rejected = yes; then
|
# We found a bogon in the path, so make sure we never use it.
|
# We found a bogon in the path, so make sure we never use it.
|
set dummy $ac_cv_prog_CC
|
set dummy $ac_cv_prog_CC
|
shift
|
shift
|
if test $# != 0; then
|
if test $# != 0; then
|
# We chose a different compiler from the bogus one.
|
# We chose a different compiler from the bogus one.
|
# However, it has the same basename, so the bogon will be chosen
|
# However, it has the same basename, so the bogon will be chosen
|
# first if we set CC to just the basename; use the full file name.
|
# first if we set CC to just the basename; use the full file name.
|
shift
|
shift
|
set dummy "$ac_dir/$ac_word" ${1+"$@"}
|
set dummy "$ac_dir/$ac_word" ${1+"$@"}
|
shift
|
shift
|
ac_cv_prog_CC="$@"
|
ac_cv_prog_CC="$@"
|
fi
|
fi
|
fi
|
fi
|
fi
|
fi
|
fi
|
fi
|
CC=$ac_cv_prog_CC
|
CC=$ac_cv_prog_CC
|
if test -n "$CC"; then
|
if test -n "$CC"; then
|
echo "$as_me:2585: result: $CC" >&5
|
echo "$as_me:2585: result: $CC" >&5
|
echo "${ECHO_T}$CC" >&6
|
echo "${ECHO_T}$CC" >&6
|
else
|
else
|
echo "$as_me:2588: result: no" >&5
|
echo "$as_me:2588: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
fi
|
fi
|
|
|
fi
|
fi
|
if test -z "$CC"; then
|
if test -z "$CC"; then
|
if test -n "$ac_tool_prefix"; then
|
if test -n "$ac_tool_prefix"; then
|
for ac_prog in cl
|
for ac_prog in cl
|
do
|
do
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
echo "$as_me:2599: checking for $ac_word" >&5
|
echo "$as_me:2599: checking for $ac_word" >&5
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
if test "${ac_cv_prog_CC+set}" = set; then
|
if test "${ac_cv_prog_CC+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
if test -n "$CC"; then
|
if test -n "$CC"; then
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
else
|
else
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
echo "$as_me:2614: found $ac_dir/$ac_word" >&5
|
echo "$as_me:2614: found $ac_dir/$ac_word" >&5
|
break
|
break
|
done
|
done
|
|
|
fi
|
fi
|
fi
|
fi
|
CC=$ac_cv_prog_CC
|
CC=$ac_cv_prog_CC
|
if test -n "$CC"; then
|
if test -n "$CC"; then
|
echo "$as_me:2622: result: $CC" >&5
|
echo "$as_me:2622: result: $CC" >&5
|
echo "${ECHO_T}$CC" >&6
|
echo "${ECHO_T}$CC" >&6
|
else
|
else
|
echo "$as_me:2625: result: no" >&5
|
echo "$as_me:2625: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
fi
|
fi
|
|
|
test -n "$CC" && break
|
test -n "$CC" && break
|
done
|
done
|
fi
|
fi
|
if test -z "$CC"; then
|
if test -z "$CC"; then
|
ac_ct_CC=$CC
|
ac_ct_CC=$CC
|
for ac_prog in cl
|
for ac_prog in cl
|
do
|
do
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
set dummy $ac_prog; ac_word=$2
|
set dummy $ac_prog; ac_word=$2
|
echo "$as_me:2638: checking for $ac_word" >&5
|
echo "$as_me:2638: checking for $ac_word" >&5
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
if test -n "$ac_ct_CC"; then
|
if test -n "$ac_ct_CC"; then
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
else
|
else
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
ac_cv_prog_ac_ct_CC="$ac_prog"
|
ac_cv_prog_ac_ct_CC="$ac_prog"
|
echo "$as_me:2653: found $ac_dir/$ac_word" >&5
|
echo "$as_me:2653: found $ac_dir/$ac_word" >&5
|
break
|
break
|
done
|
done
|
|
|
fi
|
fi
|
fi
|
fi
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
if test -n "$ac_ct_CC"; then
|
if test -n "$ac_ct_CC"; then
|
echo "$as_me:2661: result: $ac_ct_CC" >&5
|
echo "$as_me:2661: result: $ac_ct_CC" >&5
|
echo "${ECHO_T}$ac_ct_CC" >&6
|
echo "${ECHO_T}$ac_ct_CC" >&6
|
else
|
else
|
echo "$as_me:2664: result: no" >&5
|
echo "$as_me:2664: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
fi
|
fi
|
|
|
test -n "$ac_ct_CC" && break
|
test -n "$ac_ct_CC" && break
|
done
|
done
|
|
|
CC=$ac_ct_CC
|
CC=$ac_ct_CC
|
fi
|
fi
|
|
|
fi
|
fi
|
|
|
test -z "$CC" && { { echo "$as_me:2676: error: no acceptable cc found in \$PATH" >&5
|
test -z "$CC" && { { echo "$as_me:2676: error: no acceptable cc found in \$PATH" >&5
|
echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
|
echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
|
|
# Provide some information about the compiler.
|
# Provide some information about the compiler.
|
echo "$as_me:2681:" \
|
echo "$as_me:2681:" \
|
"checking for C compiler version" >&5
|
"checking for C compiler version" >&5
|
ac_compiler=`set X $ac_compile; echo $2`
|
ac_compiler=`set X $ac_compile; echo $2`
|
{ (eval echo "$as_me:2684: \"$ac_compiler --version &5\"") >&5
|
{ (eval echo "$as_me:2684: \"$ac_compiler --version &5\"") >&5
|
(eval $ac_compiler --version &5) 2>&5
|
(eval $ac_compiler --version &5) 2>&5
|
ac_status=$?
|
ac_status=$?
|
echo "$as_me:2687: \$? = $ac_status" >&5
|
echo "$as_me:2687: \$? = $ac_status" >&5
|
(exit $ac_status); }
|
(exit $ac_status); }
|
{ (eval echo "$as_me:2689: \"$ac_compiler -v &5\"") >&5
|
{ (eval echo "$as_me:2689: \"$ac_compiler -v &5\"") >&5
|
(eval $ac_compiler -v &5) 2>&5
|
(eval $ac_compiler -v &5) 2>&5
|
ac_status=$?
|
ac_status=$?
|
echo "$as_me:2692: \$? = $ac_status" >&5
|
echo "$as_me:2692: \$? = $ac_status" >&5
|
(exit $ac_status); }
|
(exit $ac_status); }
|
{ (eval echo "$as_me:2694: \"$ac_compiler -V &5\"") >&5
|
{ (eval echo "$as_me:2694: \"$ac_compiler -V &5\"") >&5
|
(eval $ac_compiler -V &5) 2>&5
|
(eval $ac_compiler -V &5) 2>&5
|
ac_status=$?
|
ac_status=$?
|
echo "$as_me:2697: \$? = $ac_status" >&5
|
echo "$as_me:2697: \$? = $ac_status" >&5
|
(exit $ac_status); }
|
(exit $ac_status); }
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
#line 2701 "configure"
|
#line 2701 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
|
|
int
|
int
|
main ()
|
main ()
|
{
|
{
|
|
|
;
|
;
|
return 0;
|
return 0;
|
}
|
}
|
_ACEOF
|
_ACEOF
|
ac_clean_files_save=$ac_clean_files
|
ac_clean_files_save=$ac_clean_files
|
ac_clean_files="$ac_clean_files a.out a.exe"
|
ac_clean_files="$ac_clean_files a.out a.exe"
|
# Try to create an executable without -o first, disregard a.out.
|
# Try to create an executable without -o first, disregard a.out.
|
# It will help us diagnose broken compilers, and finding out an intuition
|
# It will help us diagnose broken compilers, and finding out an intuition
|
# of exeext.
|
# of exeext.
|
echo "$as_me:2717: checking for C compiler default output" >&5
|
echo "$as_me:2717: checking for C compiler default output" >&5
|
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
|
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
|
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
if { (eval echo "$as_me:2720: \"$ac_link_default\"") >&5
|
if { (eval echo "$as_me:2720: \"$ac_link_default\"") >&5
|
(eval $ac_link_default) 2>&5
|
(eval $ac_link_default) 2>&5
|
ac_status=$?
|
ac_status=$?
|
echo "$as_me:2723: \$? = $ac_status" >&5
|
echo "$as_me:2723: \$? = $ac_status" >&5
|
(exit $ac_status); }; then
|
(exit $ac_status); }; then
|
# Find the output, starting from the most likely. This scheme is
|
# Find the output, starting from the most likely. This scheme is
|
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
|
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
|
# resort.
|
# resort.
|
for ac_file in `ls a.exe conftest.exe 2>/dev/null;
|
for ac_file in `ls a.exe conftest.exe 2>/dev/null;
|
ls a.out conftest 2>/dev/null;
|
ls a.out conftest 2>/dev/null;
|
ls a.* conftest.* 2>/dev/null`; do
|
ls a.* conftest.* 2>/dev/null`; do
|
case $ac_file in
|
case $ac_file in
|
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
|
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
|
a.out ) # We found the default executable, but exeext='' is most
|
a.out ) # We found the default executable, but exeext='' is most
|
# certainly right.
|
# certainly right.
|
break;;
|
break;;
|
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
# FIXME: I believe we export ac_cv_exeext for Libtool --akim.
|
# FIXME: I believe we export ac_cv_exeext for Libtool --akim.
|
export ac_cv_exeext
|
export ac_cv_exeext
|
break;;
|
break;;
|
* ) break;;
|
* ) break;;
|
esac
|
esac
|
done
|
done
|
else
|
else
|
echo "$as_me: failed program was:" >&5
|
echo "$as_me: failed program was:" >&5
|
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
{ { echo "$as_me:2746: error: C compiler cannot create executables" >&5
|
{ { echo "$as_me:2746: error: C compiler cannot create executables" >&5
|
echo "$as_me: error: C compiler cannot create executables" >&2;}
|
echo "$as_me: error: C compiler cannot create executables" >&2;}
|
{ (exit 77); exit 77; }; }
|
{ (exit 77); exit 77; }; }
|
fi
|
fi
|
|
|
ac_exeext=$ac_cv_exeext
|
ac_exeext=$ac_cv_exeext
|
echo "$as_me:2752: result: $ac_file" >&5
|
echo "$as_me:2752: result: $ac_file" >&5
|
echo "${ECHO_T}$ac_file" >&6
|
echo "${ECHO_T}$ac_file" >&6
|
|
|
# Check the compiler produces executables we can run. If not, either
|
# Check the compiler produces executables we can run. If not, either
|
# the compiler is broken, or we cross compile.
|
# the compiler is broken, or we cross compile.
|
echo "$as_me:2757: checking whether the C compiler works" >&5
|
echo "$as_me:2757: checking whether the C compiler works" >&5
|
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
|
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
|
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
# If not cross compiling, check that we can run a simple program.
|
# If not cross compiling, check that we can run a simple program.
|
if test "$cross_compiling" != yes; then
|
if test "$cross_compiling" != yes; then
|
if { ac_try='./$ac_file'
|
if { ac_try='./$ac_file'
|
{ (eval echo "$as_me:2763: \"$ac_try\"") >&5
|
{ (eval echo "$as_me:2763: \"$ac_try\"") >&5
|
(eval $ac_try) 2>&5
|
(eval $ac_try) 2>&5
|
ac_status=$?
|
ac_status=$?
|
echo "$as_me:2766: \$? = $ac_status" >&5
|
echo "$as_me:2766: \$? = $ac_status" >&5
|
(exit $ac_status); }; }; then
|
(exit $ac_status); }; }; then
|
cross_compiling=no
|
cross_compiling=no
|
else
|
else
|
if test "$cross_compiling" = maybe; then
|
if test "$cross_compiling" = maybe; then
|
cross_compiling=yes
|
cross_compiling=yes
|
else
|
else
|
{ { echo "$as_me:2773: error: cannot run C compiled programs.
|
{ { echo "$as_me:2773: error: cannot run C compiled programs.
|
If you meant to cross compile, use \`--host'." >&5
|
If you meant to cross compile, use \`--host'." >&5
|
echo "$as_me: error: cannot run C compiled programs.
|
echo "$as_me: error: cannot run C compiled programs.
|
If you meant to cross compile, use \`--host'." >&2;}
|
If you meant to cross compile, use \`--host'." >&2;}
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
fi
|
fi
|
fi
|
fi
|
fi
|
fi
|
echo "$as_me:2781: result: yes" >&5
|
echo "$as_me:2781: result: yes" >&5
|
echo "${ECHO_T}yes" >&6
|
echo "${ECHO_T}yes" >&6
|
|
|
rm -f a.out a.exe conftest$ac_cv_exeext
|
rm -f a.out a.exe conftest$ac_cv_exeext
|
ac_clean_files=$ac_clean_files_save
|
ac_clean_files=$ac_clean_files_save
|
# Check the compiler produces executables we can run. If not, either
|
# Check the compiler produces executables we can run. If not, either
|
# the compiler is broken, or we cross compile.
|
# the compiler is broken, or we cross compile.
|
echo "$as_me:2788: checking whether we are cross compiling" >&5
|
echo "$as_me:2788: checking whether we are cross compiling" >&5
|
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
|
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
|
echo "$as_me:2790: result: $cross_compiling" >&5
|
echo "$as_me:2790: result: $cross_compiling" >&5
|
echo "${ECHO_T}$cross_compiling" >&6
|
echo "${ECHO_T}$cross_compiling" >&6
|
|
|
echo "$as_me:2793: checking for executable suffix" >&5
|
echo "$as_me:2793: checking for executable suffix" >&5
|
echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
|
echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
|
if { (eval echo "$as_me:2795: \"$ac_link\"") >&5
|
if { (eval echo "$as_me:2795: \"$ac_link\"") >&5
|
(eval $ac_link) 2>&5
|
(eval $ac_link) 2>&5
|
ac_status=$?
|
ac_status=$?
|
echo "$as_me:2798: \$? = $ac_status" >&5
|
echo "$as_me:2798: \$? = $ac_status" >&5
|
(exit $ac_status); }; then
|
(exit $ac_status); }; then
|
# If both `conftest.exe' and `conftest' are `present' (well, observable)
|
# If both `conftest.exe' and `conftest' are `present' (well, observable)
|
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
# work properly (i.e., refer to `conftest.exe'), while it won't with
|
# work properly (i.e., refer to `conftest.exe'), while it won't with
|
# `rm'.
|
# `rm'.
|
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
|
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
|
case $ac_file in
|
case $ac_file in
|
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
|
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
|
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
export ac_cv_exeext
|
export ac_cv_exeext
|
break;;
|
break;;
|
* ) break;;
|
* ) break;;
|
esac
|
esac
|
done
|
done
|
else
|
else
|
{ { echo "$as_me:2814: error: cannot compute EXEEXT: cannot compile and link" >&5
|
{ { echo "$as_me:2814: error: cannot compute EXEEXT: cannot compile and link" >&5
|
echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
|
echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
fi
|
fi
|
|
|
rm -f conftest$ac_cv_exeext
|
rm -f conftest$ac_cv_exeext
|
echo "$as_me:2820: result: $ac_cv_exeext" >&5
|
echo "$as_me:2820: result: $ac_cv_exeext" >&5
|
echo "${ECHO_T}$ac_cv_exeext" >&6
|
echo "${ECHO_T}$ac_cv_exeext" >&6
|
|
|
rm -f conftest.$ac_ext
|
rm -f conftest.$ac_ext
|
EXEEXT=$ac_cv_exeext
|
EXEEXT=$ac_cv_exeext
|
ac_exeext=$EXEEXT
|
ac_exeext=$EXEEXT
|
echo "$as_me:2826: checking for object suffix" >&5
|
echo "$as_me:2826: checking for object suffix" >&5
|
echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
|
echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
|
if test "${ac_cv_objext+set}" = set; then
|
if test "${ac_cv_objext+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
#line 2832 "configure"
|
#line 2832 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
|
|
int
|
int
|
main ()
|
main ()
|
{
|
{
|
|
|
;
|
;
|
return 0;
|
return 0;
|
}
|
}
|
_ACEOF
|
_ACEOF
|
rm -f conftest.o conftest.obj
|
rm -f conftest.o conftest.obj
|
if { (eval echo "$as_me:2844: \"$ac_compile\"") >&5
|
if { (eval echo "$as_me:2844: \"$ac_compile\"") >&5
|
(eval $ac_compile) 2>&5
|
(eval $ac_compile) 2>&5
|
ac_status=$?
|
ac_status=$?
|
echo "$as_me:2847: \$? = $ac_status" >&5
|
echo "$as_me:2847: \$? = $ac_status" >&5
|
(exit $ac_status); }; then
|
(exit $ac_status); }; then
|
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
|
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
|
case $ac_file in
|
case $ac_file in
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
|
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
break;;
|
break;;
|
esac
|
esac
|
done
|
done
|
else
|
else
|
echo "$as_me: failed program was:" >&5
|
echo "$as_me: failed program was:" >&5
|
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
{ { echo "$as_me:2859: error: cannot compute OBJEXT: cannot compile" >&5
|
{ { echo "$as_me:2859: error: cannot compute OBJEXT: cannot compile" >&5
|
echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
|
echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
fi
|
fi
|
|
|
rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
fi
|
fi
|
echo "$as_me:2866: result: $ac_cv_objext" >&5
|
echo "$as_me:2866: result: $ac_cv_objext" >&5
|
echo "${ECHO_T}$ac_cv_objext" >&6
|
echo "${ECHO_T}$ac_cv_objext" >&6
|
OBJEXT=$ac_cv_objext
|
OBJEXT=$ac_cv_objext
|
ac_objext=$OBJEXT
|
ac_objext=$OBJEXT
|
echo "$as_me:2870: checking whether we are using the GNU C compiler" >&5
|
echo "$as_me:2870: checking whether we are using the GNU C compiler" >&5
|
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
|
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
|
if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
#line 2876 "configure"
|
#line 2876 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
|
|
int
|
int
|
main ()
|
main ()
|
{
|
{
|
#ifndef __GNUC__
|
#ifndef __GNUC__
|
choke me
|
choke me
|
#endif
|
#endif
|
|
|
;
|
;
|
return 0;
|
return 0;
|
}
|
}
|
_ACEOF
|
_ACEOF
|
rm -f conftest.$ac_objext
|
rm -f conftest.$ac_objext
|
if { (eval echo "$as_me:2891: \"$ac_compile\"") >&5
|
if { (eval echo "$as_me:2891: \"$ac_compile\"") >&5
|
(eval $ac_compile) 2>&5
|
(eval $ac_compile) 2>&5
|
ac_status=$?
|
ac_status=$?
|
echo "$as_me:2894: \$? = $ac_status" >&5
|
echo "$as_me:2894: \$? = $ac_status" >&5
|
(exit $ac_status); } &&
|
(exit $ac_status); } &&
|
{ ac_try='test -s conftest.$ac_objext'
|
{ ac_try='test -s conftest.$ac_objext'
|
{ (eval echo "$as_me:2897: \"$ac_try\"") >&5
|
{ (eval echo "$as_me:2897: \"$ac_try\"") >&5
|
(eval $ac_try) 2>&5
|
(eval $ac_try) 2>&5
|
ac_status=$?
|
ac_status=$?
|
echo "$as_me:2900: \$? = $ac_status" >&5
|
echo "$as_me:2900: \$? = $ac_status" >&5
|
(exit $ac_status); }; }; then
|
(exit $ac_status); }; }; then
|
ac_compiler_gnu=yes
|
ac_compiler_gnu=yes
|
else
|
else
|
echo "$as_me: failed program was:" >&5
|
echo "$as_me: failed program was:" >&5
|
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
ac_compiler_gnu=no
|
ac_compiler_gnu=no
|
fi
|
fi
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
|
|
fi
|
fi
|
echo "$as_me:2912: result: $ac_cv_c_compiler_gnu" >&5
|
echo "$as_me:2912: result: $ac_cv_c_compiler_gnu" >&5
|
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
|
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
|
GCC=`test $ac_compiler_gnu = yes && echo yes`
|
GCC=`test $ac_compiler_gnu = yes && echo yes`
|
ac_test_CFLAGS=${CFLAGS+set}
|
ac_test_CFLAGS=${CFLAGS+set}
|
ac_save_CFLAGS=$CFLAGS
|
ac_save_CFLAGS=$CFLAGS
|
CFLAGS="-g"
|
CFLAGS="-g"
|
echo "$as_me:2918: checking whether $CC accepts -g" >&5
|
echo "$as_me:2918: checking whether $CC accepts -g" >&5
|
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
|
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
|
if test "${ac_cv_prog_cc_g+set}" = set; then
|
if test "${ac_cv_prog_cc_g+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
#line 2924 "configure"
|
#line 2924 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
|
|
int
|
int
|
main ()
|
main ()
|
{
|
{
|
|
|
;
|
;
|
return 0;
|
return 0;
|
}
|
}
|
_ACEOF
|
_ACEOF
|
rm -f conftest.$ac_objext
|
rm -f conftest.$ac_objext
|
if { (eval echo "$as_me:2936: \"$ac_compile\"") >&5
|
if { (eval echo "$as_me:2936: \"$ac_compile\"") >&5
|
(eval $ac_compile) 2>&5
|
(eval $ac_compile) 2>&5
|
ac_status=$?
|
ac_status=$?
|
echo "$as_me:2939: \$? = $ac_status" >&5
|
echo "$as_me:2939: \$? = $ac_status" >&5
|
(exit $ac_status); } &&
|
(exit $ac_status); } &&
|
{ ac_try='test -s conftest.$ac_objext'
|
{ ac_try='test -s conftest.$ac_objext'
|
{ (eval echo "$as_me:2942: \"$ac_try\"") >&5
|
{ (eval echo "$as_me:2942: \"$ac_try\"") >&5
|
(eval $ac_try) 2>&5
|
(eval $ac_try) 2>&5
|
ac_status=$?
|
ac_status=$?
|
echo "$as_me:2945: \$? = $ac_status" >&5
|
echo "$as_me:2945: \$? = $ac_status" >&5
|
(exit $ac_status); }; }; then
|
(exit $ac_status); }; }; then
|
ac_cv_prog_cc_g=yes
|
ac_cv_prog_cc_g=yes
|
else
|
else
|
echo "$as_me: failed program was:" >&5
|
echo "$as_me: failed program was:" >&5
|
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
ac_cv_prog_cc_g=no
|
ac_cv_prog_cc_g=no
|
fi
|
fi
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
fi
|
fi
|
echo "$as_me:2955: result: $ac_cv_prog_cc_g" >&5
|
echo "$as_me:2955: result: $ac_cv_prog_cc_g" >&5
|
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
|
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
|
if test "$ac_test_CFLAGS" = set; then
|
if test "$ac_test_CFLAGS" = set; then
|
CFLAGS=$ac_save_CFLAGS
|
CFLAGS=$ac_save_CFLAGS
|
elif test $ac_cv_prog_cc_g = yes; then
|
elif test $ac_cv_prog_cc_g = yes; then
|
if test "$GCC" = yes; then
|
if test "$GCC" = yes; then
|
CFLAGS="-g -O2"
|
CFLAGS="-g -O2"
|
else
|
else
|
CFLAGS="-g"
|
CFLAGS="-g"
|
fi
|
fi
|
else
|
else
|
if test "$GCC" = yes; then
|
if test "$GCC" = yes; then
|
CFLAGS="-O2"
|
CFLAGS="-O2"
|
else
|
else
|
CFLAGS=
|
CFLAGS=
|
fi
|
fi
|
fi
|
fi
|
# Some people use a C++ compiler to compile C. Since we use `exit',
|
# Some people use a C++ compiler to compile C. Since we use `exit',
|
# in C++ we need to declare it. In case someone uses the same compiler
|
# in C++ we need to declare it. In case someone uses the same compiler
|
# for both compiling C and C++ we need to have the C++ compiler decide
|
# for both compiling C and C++ we need to have the C++ compiler decide
|
# the declaration of exit, since it's the most demanding environment.
|
# the declaration of exit, since it's the most demanding environment.
|
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
#ifndef __cplusplus
|
#ifndef __cplusplus
|
choke me
|
choke me
|
#endif
|
#endif
|
_ACEOF
|
_ACEOF
|
rm -f conftest.$ac_objext
|
rm -f conftest.$ac_objext
|
if { (eval echo "$as_me:2982: \"$ac_compile\"") >&5
|
if { (eval echo "$as_me:2982: \"$ac_compile\"") >&5
|
(eval $ac_compile) 2>&5
|
(eval $ac_compile) 2>&5
|
ac_status=$?
|
ac_status=$?
|
echo "$as_me:2985: \$? = $ac_status" >&5
|
echo "$as_me:2985: \$? = $ac_status" >&5
|
(exit $ac_status); } &&
|
(exit $ac_status); } &&
|
{ ac_try='test -s conftest.$ac_objext'
|
{ ac_try='test -s conftest.$ac_objext'
|
{ (eval echo "$as_me:2988: \"$ac_try\"") >&5
|
{ (eval echo "$as_me:2988: \"$ac_try\"") >&5
|
(eval $ac_try) 2>&5
|
(eval $ac_try) 2>&5
|
ac_status=$?
|
ac_status=$?
|
echo "$as_me:2991: \$? = $ac_status" >&5
|
echo "$as_me:2991: \$? = $ac_status" >&5
|
(exit $ac_status); }; }; then
|
(exit $ac_status); }; }; then
|
for ac_declaration in \
|
for ac_declaration in \
|
''\
|
''\
|
'#include ' \
|
'#include ' \
|
'extern "C" void std::exit (int) throw (); using std::exit;' \
|
'extern "C" void std::exit (int) throw (); using std::exit;' \
|
'extern "C" void std::exit (int); using std::exit;' \
|
'extern "C" void std::exit (int); using std::exit;' \
|
'extern "C" void exit (int) throw ();' \
|
'extern "C" void exit (int) throw ();' \
|
'extern "C" void exit (int);' \
|
'extern "C" void exit (int);' \
|
'void exit (int);'
|
'void exit (int);'
|
do
|
do
|
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
#line 3003 "configure"
|
#line 3003 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
#include
|
#include
|
$ac_declaration
|
$ac_declaration
|
int
|
int
|
main ()
|
main ()
|
{
|
{
|
exit (42);
|
exit (42);
|
;
|
;
|
return 0;
|
return 0;
|
}
|
}
|
_ACEOF
|
_ACEOF
|
rm -f conftest.$ac_objext
|
rm -f conftest.$ac_objext
|
if { (eval echo "$as_me:3016: \"$ac_compile\"") >&5
|
if { (eval echo "$as_me:3016: \"$ac_compile\"") >&5
|
(eval $ac_compile) 2>&5
|
(eval $ac_compile) 2>&5
|
ac_status=$?
|
ac_status=$?
|
echo "$as_me:3019: \$? = $ac_status" >&5
|
echo "$as_me:3019: \$? = $ac_status" >&5
|
(exit $ac_status); } &&
|
(exit $ac_status); } &&
|
{ ac_try='test -s conftest.$ac_objext'
|
{ ac_try='test -s conftest.$ac_objext'
|
{ (eval echo "$as_me:3022: \"$ac_try\"") >&5
|
{ (eval echo "$as_me:3022: \"$ac_try\"") >&5
|
(eval $ac_try) 2>&5
|
(eval $ac_try) 2>&5
|
ac_status=$?
|
ac_status=$?
|
echo "$as_me:3025: \$? = $ac_status" >&5
|
echo "$as_me:3025: \$? = $ac_status" >&5
|
(exit $ac_status); }; }; then
|
(exit $ac_status); }; }; then
|
:
|
:
|
else
|
else
|
echo "$as_me: failed program was:" >&5
|
echo "$as_me: failed program was:" >&5
|
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
continue
|
continue
|
fi
|
fi
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
#line 3035 "configure"
|
#line 3035 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
$ac_declaration
|
$ac_declaration
|
int
|
int
|
main ()
|
main ()
|
{
|
{
|
exit (42);
|
exit (42);
|
;
|
;
|
return 0;
|
return 0;
|
}
|
}
|
_ACEOF
|
_ACEOF
|
rm -f conftest.$ac_objext
|
rm -f conftest.$ac_objext
|
if { (eval echo "$as_me:3047: \"$ac_compile\"") >&5
|
if { (eval echo "$as_me:3047: \"$ac_compile\"") >&5
|
(eval $ac_compile) 2>&5
|
(eval $ac_compile) 2>&5
|
ac_status=$?
|
ac_status=$?
|
echo "$as_me:3050: \$? = $ac_status" >&5
|
echo "$as_me:3050: \$? = $ac_status" >&5
|
(exit $ac_status); } &&
|
(exit $ac_status); } &&
|
{ ac_try='test -s conftest.$ac_objext'
|
{ ac_try='test -s conftest.$ac_objext'
|
{ (eval echo "$as_me:3053: \"$ac_try\"") >&5
|
{ (eval echo "$as_me:3053: \"$ac_try\"") >&5
|
(eval $ac_try) 2>&5
|
(eval $ac_try) 2>&5
|
ac_status=$?
|
ac_status=$?
|
echo "$as_me:3056: \$? = $ac_status" >&5
|
echo "$as_me:3056: \$? = $ac_status" >&5
|
(exit $ac_status); }; }; then
|
(exit $ac_status); }; }; then
|
break
|
break
|
else
|
else
|
echo "$as_me: failed program was:" >&5
|
echo "$as_me: failed program was:" >&5
|
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
fi
|
fi
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
done
|
done
|
rm -f conftest*
|
rm -f conftest*
|
if test -n "$ac_declaration"; then
|
if test -n "$ac_declaration"; then
|
echo '#ifdef __cplusplus' >>confdefs.h
|
echo '#ifdef __cplusplus' >>confdefs.h
|
echo $ac_declaration >>confdefs.h
|
echo $ac_declaration >>confdefs.h
|
echo '#endif' >>confdefs.h
|
echo '#endif' >>confdefs.h
|
fi
|
fi
|
|
|
else
|
else
|
echo "$as_me: failed program was:" >&5
|
echo "$as_me: failed program was:" >&5
|
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
fi
|
fi
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
ac_ext=c
|
ac_ext=c
|
ac_cpp='$CPP $CPPFLAGS'
|
ac_cpp='$CPP $CPPFLAGS'
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
depcc="$CC" am_compiler_list=
|
depcc="$CC" am_compiler_list=
|
|
|
echo "$as_me:3085: checking dependency style of $depcc" >&5
|
echo "$as_me:3085: checking dependency style of $depcc" >&5
|
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
|
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
|
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
|
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
# We make a subdir and do the tests there. Otherwise we can end up
|
# 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
|
# 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
|
# 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
|
# making a dummy file named `D' -- because `-MD' means `put the output
|
# in D'.
|
# in D'.
|
mkdir conftest.dir
|
mkdir conftest.dir
|
# Copy depcomp to subdir because otherwise we won't find it if we're
|
# Copy depcomp to subdir because otherwise we won't find it if we're
|
# using a relative directory.
|
# using a relative directory.
|
cp "$am_depcomp" conftest.dir
|
cp "$am_depcomp" conftest.dir
|
cd conftest.dir
|
cd conftest.dir
|
|
|
am_cv_CC_dependencies_compiler_type=none
|
am_cv_CC_dependencies_compiler_type=none
|
if test "$am_compiler_list" = ""; then
|
if test "$am_compiler_list" = ""; then
|
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
fi
|
fi
|
for depmode in $am_compiler_list; do
|
for depmode in $am_compiler_list; do
|
# We need to recreate these files for each test, as the compiler may
|
# We need to recreate these files for each test, as the compiler may
|
# overwrite some of them when testing with obscure command lines.
|
# overwrite some of them when testing with obscure command lines.
|
# This happens at least with the AIX C compiler.
|
# This happens at least with the AIX C compiler.
|
echo '#include "conftest.h"' > conftest.c
|
echo '#include "conftest.h"' > conftest.c
|
echo 'int i;' > conftest.h
|
echo 'int i;' > conftest.h
|
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
|
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
|
|
|
case $depmode in
|
case $depmode in
|
nosideeffect)
|
nosideeffect)
|
# after this tag, mechanisms are not by side-effect, so they'll
|
# after this tag, mechanisms are not by side-effect, so they'll
|
# only be used when explicitly requested
|
# only be used when explicitly requested
|
if test "x$enable_dependency_tracking" = xyes; then
|
if test "x$enable_dependency_tracking" = xyes; then
|
continue
|
continue
|
else
|
else
|
break
|
break
|
fi
|
fi
|
;;
|
;;
|
none) break ;;
|
none) break ;;
|
esac
|
esac
|
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
# mode. It turns out that the SunPro C++ compiler does not properly
|
# mode. It turns out that the SunPro C++ compiler does not properly
|
# handle `-M -o', and we need to detect this.
|
# handle `-M -o', and we need to detect this.
|
if depmode=$depmode \
|
if depmode=$depmode \
|
source=conftest.c object=conftest.o \
|
source=conftest.c object=conftest.o \
|
depfile=conftest.Po tmpdepfile=conftest.TPo \
|
depfile=conftest.Po tmpdepfile=conftest.TPo \
|
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
|
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
|
grep conftest.h conftest.Po > /dev/null 2>&1 &&
|
grep conftest.h conftest.Po > /dev/null 2>&1 &&
|
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
am_cv_CC_dependencies_compiler_type=$depmode
|
am_cv_CC_dependencies_compiler_type=$depmode
|
break
|
break
|
fi
|
fi
|
done
|
done
|
|
|
cd ..
|
cd ..
|
rm -rf conftest.dir
|
rm -rf conftest.dir
|
else
|
else
|
am_cv_CC_dependencies_compiler_type=none
|
am_cv_CC_dependencies_compiler_type=none
|
fi
|
fi
|
|
|
fi
|
fi
|
echo "$as_me:3147: result: $am_cv_CC_dependencies_compiler_type" >&5
|
echo "$as_me:3147: result: $am_cv_CC_dependencies_compiler_type" >&5
|
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
|
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
|
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
|
|
ac_ext=c
|
ac_ext=c
|
ac_cpp='$CPP $CPPFLAGS'
|
ac_cpp='$CPP $CPPFLAGS'
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
echo "$as_me:3156: checking how to run the C preprocessor" >&5
|
echo "$as_me:3156: checking how to run the C preprocessor" >&5
|
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
|
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
|
# 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=
|
fi
|
fi
|
if test -z "$CPP"; then
|
if test -z "$CPP"; then
|
if test "${ac_cv_prog_CPP+set}" = set; then
|
if test "${ac_cv_prog_CPP+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
# Double quotes because CPP needs to be expanded
|
# Double quotes because CPP needs to be expanded
|
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
do
|
do
|
ac_preproc_ok=false
|
ac_preproc_ok=false
|
for ac_c_preproc_warn_flag in '' yes
|
for ac_c_preproc_warn_flag in '' yes
|
do
|
do
|
# Use a header file that comes with gcc, so configuring glibc
|
# Use a header file that comes with gcc, so configuring glibc
|
# with a fresh cross-compiler works.
|
# with a fresh cross-compiler works.
|
# 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. "Syntax error" is here to catch this case.
|
# not just through cpp. "Syntax error" is here to catch this case.
|
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
#line 3177 "configure"
|
#line 3177 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
#include
|
#include
|
Syntax error
|
Syntax error
|
_ACEOF
|
_ACEOF
|
if { (eval echo "$as_me:3182: \"$ac_cpp conftest.$ac_ext\"") >&5
|
if { (eval echo "$as_me:3182: \"$ac_cpp conftest.$ac_ext\"") >&5
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
ac_status=$?
|
ac_status=$?
|
egrep -v '^ *\+' conftest.er1 >conftest.err
|
egrep -v '^ *\+' conftest.er1 >conftest.err
|
rm -f conftest.er1
|
rm -f conftest.er1
|
cat conftest.err >&5
|
cat conftest.err >&5
|
echo "$as_me:3188: \$? = $ac_status" >&5
|
echo "$as_me:3188: \$? = $ac_status" >&5
|
(exit $ac_status); } >/dev/null; then
|
(exit $ac_status); } >/dev/null; then
|
if test -s conftest.err; then
|
if test -s conftest.err; then
|
ac_cpp_err=$ac_c_preproc_warn_flag
|
ac_cpp_err=$ac_c_preproc_warn_flag
|
else
|
else
|
ac_cpp_err=
|
ac_cpp_err=
|
fi
|
fi
|
else
|
else
|
ac_cpp_err=yes
|
ac_cpp_err=yes
|
fi
|
fi
|
if test -z "$ac_cpp_err"; then
|
if test -z "$ac_cpp_err"; then
|
:
|
:
|
else
|
else
|
echo "$as_me: failed program was:" >&5
|
echo "$as_me: failed program was:" >&5
|
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
# Broken: fails on valid input.
|
# Broken: fails on valid input.
|
continue
|
continue
|
fi
|
fi
|
rm -f conftest.err conftest.$ac_ext
|
rm -f conftest.err conftest.$ac_ext
|
|
|
# OK, works on sane cases. Now check whether non-existent headers
|
# OK, works on sane cases. Now check whether non-existent headers
|
# can be detected and how.
|
# can be detected and how.
|
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
#line 3211 "configure"
|
#line 3211 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
#include
|
#include
|
_ACEOF
|
_ACEOF
|
if { (eval echo "$as_me:3215: \"$ac_cpp conftest.$ac_ext\"") >&5
|
if { (eval echo "$as_me:3215: \"$ac_cpp conftest.$ac_ext\"") >&5
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
ac_status=$?
|
ac_status=$?
|
egrep -v '^ *\+' conftest.er1 >conftest.err
|
egrep -v '^ *\+' conftest.er1 >conftest.err
|
rm -f conftest.er1
|
rm -f conftest.er1
|
cat conftest.err >&5
|
cat conftest.err >&5
|
echo "$as_me:3221: \$? = $ac_status" >&5
|
echo "$as_me:3221: \$? = $ac_status" >&5
|
(exit $ac_status); } >/dev/null; then
|
(exit $ac_status); } >/dev/null; then
|
if test -s conftest.err; then
|
if test -s conftest.err; then
|
ac_cpp_err=$ac_c_preproc_warn_flag
|
ac_cpp_err=$ac_c_preproc_warn_flag
|
else
|
else
|
ac_cpp_err=
|
ac_cpp_err=
|
fi
|
fi
|
else
|
else
|
ac_cpp_err=yes
|
ac_cpp_err=yes
|
fi
|
fi
|
if test -z "$ac_cpp_err"; then
|
if test -z "$ac_cpp_err"; then
|
# Broken: success on invalid input.
|
# Broken: success on invalid input.
|
continue
|
continue
|
else
|
else
|
echo "$as_me: failed program was:" >&5
|
echo "$as_me: failed program was:" >&5
|
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
# Passes both tests.
|
# Passes both tests.
|
ac_preproc_ok=:
|
ac_preproc_ok=:
|
break
|
break
|
fi
|
fi
|
rm -f conftest.err conftest.$ac_ext
|
rm -f conftest.err conftest.$ac_ext
|
|
|
done
|
done
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
rm -f conftest.err conftest.$ac_ext
|
rm -f conftest.err conftest.$ac_ext
|
if $ac_preproc_ok; then
|
if $ac_preproc_ok; then
|
break
|
break
|
fi
|
fi
|
|
|
done
|
done
|
ac_cv_prog_CPP=$CPP
|
ac_cv_prog_CPP=$CPP
|
|
|
fi
|
fi
|
CPP=$ac_cv_prog_CPP
|
CPP=$ac_cv_prog_CPP
|
else
|
else
|
ac_cv_prog_CPP=$CPP
|
ac_cv_prog_CPP=$CPP
|
fi
|
fi
|
echo "$as_me:3258: result: $CPP" >&5
|
echo "$as_me:3258: result: $CPP" >&5
|
echo "${ECHO_T}$CPP" >&6
|
echo "${ECHO_T}$CPP" >&6
|
ac_preproc_ok=false
|
ac_preproc_ok=false
|
for ac_c_preproc_warn_flag in '' yes
|
for ac_c_preproc_warn_flag in '' yes
|
do
|
do
|
# Use a header file that comes with gcc, so configuring glibc
|
# Use a header file that comes with gcc, so configuring glibc
|
# with a fresh cross-compiler works.
|
# with a fresh cross-compiler works.
|
# 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. "Syntax error" is here to catch this case.
|
# not just through cpp. "Syntax error" is here to catch this case.
|
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
#line 3268 "configure"
|
#line 3268 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
#include
|
#include
|
Syntax error
|
Syntax error
|
_ACEOF
|
_ACEOF
|
if { (eval echo "$as_me:3273: \"$ac_cpp conftest.$ac_ext\"") >&5
|
if { (eval echo "$as_me:3273: \"$ac_cpp conftest.$ac_ext\"") >&5
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
ac_status=$?
|
ac_status=$?
|
egrep -v '^ *\+' conftest.er1 >conftest.err
|
egrep -v '^ *\+' conftest.er1 >conftest.err
|
rm -f conftest.er1
|
rm -f conftest.er1
|
cat conftest.err >&5
|
cat conftest.err >&5
|
echo "$as_me:3279: \$? = $ac_status" >&5
|
echo "$as_me:3279: \$? = $ac_status" >&5
|
(exit $ac_status); } >/dev/null; then
|
(exit $ac_status); } >/dev/null; then
|
if test -s conftest.err; then
|
if test -s conftest.err; then
|
ac_cpp_err=$ac_c_preproc_warn_flag
|
ac_cpp_err=$ac_c_preproc_warn_flag
|
else
|
else
|
ac_cpp_err=
|
ac_cpp_err=
|
fi
|
fi
|
else
|
else
|
ac_cpp_err=yes
|
ac_cpp_err=yes
|
fi
|
fi
|
if test -z "$ac_cpp_err"; then
|
if test -z "$ac_cpp_err"; then
|
:
|
:
|
else
|
else
|
echo "$as_me: failed program was:" >&5
|
echo "$as_me: failed program was:" >&5
|
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
# Broken: fails on valid input.
|
# Broken: fails on valid input.
|
continue
|
continue
|
fi
|
fi
|
rm -f conftest.err conftest.$ac_ext
|
rm -f conftest.err conftest.$ac_ext
|
|
|
# OK, works on sane cases. Now check whether non-existent headers
|
# OK, works on sane cases. Now check whether non-existent headers
|
# can be detected and how.
|
# can be detected and how.
|
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
#line 3302 "configure"
|
#line 3302 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
#include
|
#include
|
_ACEOF
|
_ACEOF
|
if { (eval echo "$as_me:3306: \"$ac_cpp conftest.$ac_ext\"") >&5
|
if { (eval echo "$as_me:3306: \"$ac_cpp conftest.$ac_ext\"") >&5
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
ac_status=$?
|
ac_status=$?
|
egrep -v '^ *\+' conftest.er1 >conftest.err
|
egrep -v '^ *\+' conftest.er1 >conftest.err
|
rm -f conftest.er1
|
rm -f conftest.er1
|
cat conftest.err >&5
|
cat conftest.err >&5
|
echo "$as_me:3312: \$? = $ac_status" >&5
|
echo "$as_me:3312: \$? = $ac_status" >&5
|
(exit $ac_status); } >/dev/null; then
|
(exit $ac_status); } >/dev/null; then
|
if test -s conftest.err; then
|
if test -s conftest.err; then
|
ac_cpp_err=$ac_c_preproc_warn_flag
|
ac_cpp_err=$ac_c_preproc_warn_flag
|
else
|
else
|
ac_cpp_err=
|
ac_cpp_err=
|
fi
|
fi
|
else
|
else
|
ac_cpp_err=yes
|
ac_cpp_err=yes
|
fi
|
fi
|
if test -z "$ac_cpp_err"; then
|
if test -z "$ac_cpp_err"; then
|
# Broken: success on invalid input.
|
# Broken: success on invalid input.
|
continue
|
continue
|
else
|
else
|
echo "$as_me: failed program was:" >&5
|
echo "$as_me: failed program was:" >&5
|
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
# Passes both tests.
|
# Passes both tests.
|
ac_preproc_ok=:
|
ac_preproc_ok=:
|
break
|
break
|
fi
|
fi
|
rm -f conftest.err conftest.$ac_ext
|
rm -f conftest.err conftest.$ac_ext
|
|
|
done
|
done
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
rm -f conftest.err conftest.$ac_ext
|
rm -f conftest.err conftest.$ac_ext
|
if $ac_preproc_ok; then
|
if $ac_preproc_ok; then
|
:
|
:
|
else
|
else
|
{ { echo "$as_me:3340: error: C preprocessor \"$CPP\" fails sanity check" >&5
|
{ { echo "$as_me:3340: error: C preprocessor \"$CPP\" fails sanity check" >&5
|
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
|
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
fi
|
fi
|
|
|
ac_ext=c
|
ac_ext=c
|
ac_cpp='$CPP $CPPFLAGS'
|
ac_cpp='$CPP $CPPFLAGS'
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
if test x"$GCC" = x"yes"; then
|
if test x"$GCC" = x"yes"; then
|
RTEMS_USE_GCC_TRUE=
|
RTEMS_USE_GCC_TRUE=
|
RTEMS_USE_GCC_FALSE='#'
|
RTEMS_USE_GCC_FALSE='#'
|
else
|
else
|
RTEMS_USE_GCC_TRUE='#'
|
RTEMS_USE_GCC_TRUE='#'
|
RTEMS_USE_GCC_FALSE=
|
RTEMS_USE_GCC_FALSE=
|
fi
|
fi
|
|
|
echo "$as_me:3359: checking whether $CC accepts -specs" >&5
|
echo "$as_me:3359: checking whether $CC accepts -specs" >&5
|
echo $ECHO_N "checking whether $CC accepts -specs... $ECHO_C" >&6
|
echo $ECHO_N "checking whether $CC accepts -specs... $ECHO_C" >&6
|
if test "${rtems_cv_gcc_specs+set}" = set; then
|
if test "${rtems_cv_gcc_specs+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
|
|
rtems_cv_gcc_specs=no
|
rtems_cv_gcc_specs=no
|
if test x"$GCC" = x"yes"; then
|
if test x"$GCC" = x"yes"; then
|
touch confspec
|
touch confspec
|
echo 'void f(){}' >conftest.c
|
echo 'void f(){}' >conftest.c
|
if test -z "`${CC} -specs confspec -c conftest.c 2>&1`";then
|
if test -z "`${CC} -specs confspec -c conftest.c 2>&1`";then
|
rtems_cv_gcc_specs=yes
|
rtems_cv_gcc_specs=yes
|
fi
|
fi
|
fi
|
fi
|
rm -f confspec conftest*
|
rm -f confspec conftest*
|
|
|
fi
|
fi
|
echo "$as_me:3376: result: $rtems_cv_gcc_specs" >&5
|
echo "$as_me:3376: result: $rtems_cv_gcc_specs" >&5
|
echo "${ECHO_T}$rtems_cv_gcc_specs" >&6
|
echo "${ECHO_T}$rtems_cv_gcc_specs" >&6
|
|
|
echo "$as_me:3379: checking whether $CC accepts --pipe" >&5
|
echo "$as_me:3379: checking whether $CC accepts --pipe" >&5
|
echo $ECHO_N "checking whether $CC accepts --pipe... $ECHO_C" >&6
|
echo $ECHO_N "checking whether $CC accepts --pipe... $ECHO_C" >&6
|
if test "${rtems_cv_gcc_pipe+set}" = set; then
|
if test "${rtems_cv_gcc_pipe+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
|
|
rtems_cv_gcc_pipe=no
|
rtems_cv_gcc_pipe=no
|
if test x"$GCC" = x"yes"; then
|
if test x"$GCC" = x"yes"; then
|
echo 'void f(){}' >conftest.c
|
echo 'void f(){}' >conftest.c
|
if test -z "`${CC} --pipe -c conftest.c 2>&1`";then
|
if test -z "`${CC} --pipe -c conftest.c 2>&1`";then
|
rtems_cv_gcc_pipe=yes
|
rtems_cv_gcc_pipe=yes
|
fi
|
fi
|
rm -f conftest*
|
rm -f conftest*
|
fi
|
fi
|
|
|
fi
|
fi
|
echo "$as_me:3395: result: $rtems_cv_gcc_pipe" >&5
|
echo "$as_me:3395: result: $rtems_cv_gcc_pipe" >&5
|
echo "${ECHO_T}$rtems_cv_gcc_pipe" >&6
|
echo "${ECHO_T}$rtems_cv_gcc_pipe" >&6
|
|
|
# if test "$rtems_cv_gcc_specs" = "no"; then
|
# if test "$rtems_cv_gcc_specs" = "no"; then
|
# AC_MSG_WARN([*** disabling --enable-gcc28])
|
# AC_MSG_WARN([*** disabling --enable-gcc28])
|
# RTEMS_USE_GCC272=yes
|
# RTEMS_USE_GCC272=yes
|
# fi
|
# fi
|
test "$rtems_cv_gcc_pipe" = "yes" && CC="$CC --pipe"
|
test "$rtems_cv_gcc_pipe" = "yes" && CC="$CC --pipe"
|
|
|
if test "$GCC" = yes; then
|
if test "$GCC" = yes; then
|
|
|
CPPFLAGS="$CPPFLAGS "
|
CPPFLAGS="$CPPFLAGS "
|
|
|
CFLAGS="-g -Wall"
|
CFLAGS="-g -Wall"
|
fi
|
fi
|
|
|
case $build_os in
|
case $build_os in
|
*cygwin*) GCCSED="| sed 's%\\\\%/%g'" ;;
|
*cygwin*) GCCSED="| sed 's%\\\\%/%g'" ;;
|
*) ;;
|
*) ;;
|
esac
|
esac
|
|
|
## check for g++
|
## check for g++
|
if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
|
if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
|
|
|
if test "x$build_alias" != "x$host_alias"; then
|
if test "x$build_alias" != "x$host_alias"; then
|
rtems_tool_prefix=${ac_tool_prefix}
|
rtems_tool_prefix=${ac_tool_prefix}
|
fi
|
fi
|
|
|
# Extract the first word of "${rtems_tool_prefix}g++", so it can be a program name with args.
|
# Extract the first word of "${rtems_tool_prefix}g++", so it can be a program name with args.
|
set dummy ${rtems_tool_prefix}g++; ac_word=$2
|
set dummy ${rtems_tool_prefix}g++; ac_word=$2
|
echo "$as_me:3425: checking for $ac_word" >&5
|
echo "$as_me:3425: checking for $ac_word" >&5
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
if test "${ac_cv_prog_CXX+set}" = set; then
|
if test "${ac_cv_prog_CXX+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
if test -n "$CXX"; then
|
if test -n "$CXX"; then
|
ac_cv_prog_CXX="$CXX" # Let the user override the test.
|
ac_cv_prog_CXX="$CXX" # Let the user override the test.
|
else
|
else
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
ac_cv_prog_CXX="${rtems_tool_prefix}g++"
|
ac_cv_prog_CXX="${rtems_tool_prefix}g++"
|
echo "$as_me:3440: found $ac_dir/$ac_word" >&5
|
echo "$as_me:3440: found $ac_dir/$ac_word" >&5
|
break
|
break
|
done
|
done
|
|
|
fi
|
fi
|
fi
|
fi
|
CXX=$ac_cv_prog_CXX
|
CXX=$ac_cv_prog_CXX
|
if test -n "$CXX"; then
|
if test -n "$CXX"; then
|
echo "$as_me:3448: result: $CXX" >&5
|
echo "$as_me:3448: result: $CXX" >&5
|
echo "${ECHO_T}$CXX" >&6
|
echo "${ECHO_T}$CXX" >&6
|
else
|
else
|
echo "$as_me:3451: result: no" >&5
|
echo "$as_me:3451: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
fi
|
fi
|
|
|
ac_ext=cc
|
ac_ext=cc
|
ac_cpp='$CXXCPP $CPPFLAGS'
|
ac_cpp='$CXXCPP $CPPFLAGS'
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
if test -n "$ac_tool_prefix"; then
|
if test -n "$ac_tool_prefix"; then
|
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
|
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
|
do
|
do
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
echo "$as_me:3465: checking for $ac_word" >&5
|
echo "$as_me:3465: checking for $ac_word" >&5
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
if test "${ac_cv_prog_CXX+set}" = set; then
|
if test "${ac_cv_prog_CXX+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
if test -n "$CXX"; then
|
if test -n "$CXX"; then
|
ac_cv_prog_CXX="$CXX" # Let the user override the test.
|
ac_cv_prog_CXX="$CXX" # Let the user override the test.
|
else
|
else
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
|
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
|
echo "$as_me:3480: found $ac_dir/$ac_word" >&5
|
echo "$as_me:3480: found $ac_dir/$ac_word" >&5
|
break
|
break
|
done
|
done
|
|
|
fi
|
fi
|
fi
|
fi
|
CXX=$ac_cv_prog_CXX
|
CXX=$ac_cv_prog_CXX
|
if test -n "$CXX"; then
|
if test -n "$CXX"; then
|
echo "$as_me:3488: result: $CXX" >&5
|
echo "$as_me:3488: result: $CXX" >&5
|
echo "${ECHO_T}$CXX" >&6
|
echo "${ECHO_T}$CXX" >&6
|
else
|
else
|
echo "$as_me:3491: result: no" >&5
|
echo "$as_me:3491: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
fi
|
fi
|
|
|
test -n "$CXX" && break
|
test -n "$CXX" && break
|
done
|
done
|
fi
|
fi
|
if test -z "$CXX"; then
|
if test -z "$CXX"; then
|
ac_ct_CXX=$CXX
|
ac_ct_CXX=$CXX
|
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
|
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
|
do
|
do
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
set dummy $ac_prog; ac_word=$2
|
set dummy $ac_prog; ac_word=$2
|
echo "$as_me:3504: checking for $ac_word" >&5
|
echo "$as_me:3504: checking for $ac_word" >&5
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
|
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
if test -n "$ac_ct_CXX"; then
|
if test -n "$ac_ct_CXX"; then
|
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
|
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
|
else
|
else
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
ac_cv_prog_ac_ct_CXX="$ac_prog"
|
ac_cv_prog_ac_ct_CXX="$ac_prog"
|
echo "$as_me:3519: found $ac_dir/$ac_word" >&5
|
echo "$as_me:3519: found $ac_dir/$ac_word" >&5
|
break
|
break
|
done
|
done
|
|
|
fi
|
fi
|
fi
|
fi
|
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
if test -n "$ac_ct_CXX"; then
|
if test -n "$ac_ct_CXX"; then
|
echo "$as_me:3527: result: $ac_ct_CXX" >&5
|
echo "$as_me:3527: result: $ac_ct_CXX" >&5
|
echo "${ECHO_T}$ac_ct_CXX" >&6
|
echo "${ECHO_T}$ac_ct_CXX" >&6
|
else
|
else
|
echo "$as_me:3530: result: no" >&5
|
echo "$as_me:3530: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
fi
|
fi
|
|
|
test -n "$ac_ct_CXX" && break
|
test -n "$ac_ct_CXX" && break
|
done
|
done
|
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
|
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
|
|
|
CXX=$ac_ct_CXX
|
CXX=$ac_ct_CXX
|
fi
|
fi
|
|
|
# Provide some information about the compiler.
|
# Provide some information about the compiler.
|
echo "$as_me:3542:" \
|
echo "$as_me:3542:" \
|
"checking for C++ compiler version" >&5
|
"checking for C++ compiler version" >&5
|
ac_compiler=`set X $ac_compile; echo $2`
|
ac_compiler=`set X $ac_compile; echo $2`
|
{ (eval echo "$as_me:3545: \"$ac_compiler --version &5\"") >&5
|
{ (eval echo "$as_me:3545: \"$ac_compiler --version &5\"") >&5
|
(eval $ac_compiler --version &5) 2>&5
|
(eval $ac_compiler --version &5) 2>&5
|
ac_status=$?
|
ac_status=$?
|
echo "$as_me:3548: \$? = $ac_status" >&5
|
echo "$as_me:3548: \$? = $ac_status" >&5
|
(exit $ac_status); }
|
(exit $ac_status); }
|
{ (eval echo "$as_me:3550: \"$ac_compiler -v &5\"") >&5
|
{ (eval echo "$as_me:3550: \"$ac_compiler -v &5\"") >&5
|
(eval $ac_compiler -v &5) 2>&5
|
(eval $ac_compiler -v &5) 2>&5
|
ac_status=$?
|
ac_status=$?
|
echo "$as_me:3553: \$? = $ac_status" >&5
|
echo "$as_me:3553: \$? = $ac_status" >&5
|
(exit $ac_status); }
|
(exit $ac_status); }
|
{ (eval echo "$as_me:3555: \"$ac_compiler -V &5\"") >&5
|
{ (eval echo "$as_me:3555: \"$ac_compiler -V &5\"") >&5
|
(eval $ac_compiler -V &5) 2>&5
|
(eval $ac_compiler -V &5) 2>&5
|
ac_status=$?
|
ac_status=$?
|
echo "$as_me:3558: \$? = $ac_status" >&5
|
echo "$as_me:3558: \$? = $ac_status" >&5
|
(exit $ac_status); }
|
(exit $ac_status); }
|
|
|
echo "$as_me:3561: checking whether we are using the GNU C++ compiler" >&5
|
echo "$as_me:3561: checking whether we are using the GNU C++ compiler" >&5
|
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
|
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
|
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
|
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
#line 3567 "configure"
|
#line 3567 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
|
|
int
|
int
|
main ()
|
main ()
|
{
|
{
|
#ifndef __GNUC__
|
#ifndef __GNUC__
|
choke me
|
choke me
|
#endif
|
#endif
|
|
|
;
|
;
|
return 0;
|
return 0;
|
}
|
}
|
_ACEOF
|
_ACEOF
|
rm -f conftest.$ac_objext
|
rm -f conftest.$ac_objext
|
if { (eval echo "$as_me:3582: \"$ac_compile\"") >&5
|
if { (eval echo "$as_me:3582: \"$ac_compile\"") >&5
|
(eval $ac_compile) 2>&5
|
(eval $ac_compile) 2>&5
|
ac_status=$?
|
ac_status=$?
|
echo "$as_me:3585: \$? = $ac_status" >&5
|
echo "$as_me:3585: \$? = $ac_status" >&5
|
(exit $ac_status); } &&
|
(exit $ac_status); } &&
|
{ ac_try='test -s conftest.$ac_objext'
|
{ ac_try='test -s conftest.$ac_objext'
|
{ (eval echo "$as_me:3588: \"$ac_try\"") >&5
|
{ (eval echo "$as_me:3588: \"$ac_try\"") >&5
|
(eval $ac_try) 2>&5
|
(eval $ac_try) 2>&5
|
ac_status=$?
|
ac_status=$?
|
echo "$as_me:3591: \$? = $ac_status" >&5
|
echo "$as_me:3591: \$? = $ac_status" >&5
|
(exit $ac_status); }; }; then
|
(exit $ac_status); }; }; then
|
ac_compiler_gnu=yes
|
ac_compiler_gnu=yes
|
else
|
else
|
echo "$as_me: failed program was:" >&5
|
echo "$as_me: failed program was:" >&5
|
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
ac_compiler_gnu=no
|
ac_compiler_gnu=no
|
fi
|
fi
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
|
|
fi
|
fi
|
echo "$as_me:3603: result: $ac_cv_cxx_compiler_gnu" >&5
|
echo "$as_me:3603: result: $ac_cv_cxx_compiler_gnu" >&5
|
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
|
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
|
GXX=`test $ac_compiler_gnu = yes && echo yes`
|
GXX=`test $ac_compiler_gnu = yes && echo yes`
|
ac_test_CXXFLAGS=${CXXFLAGS+set}
|
ac_test_CXXFLAGS=${CXXFLAGS+set}
|
ac_save_CXXFLAGS=$CXXFLAGS
|
ac_save_CXXFLAGS=$CXXFLAGS
|
CXXFLAGS="-g"
|
CXXFLAGS="-g"
|
echo "$as_me:3609: checking whether $CXX accepts -g" >&5
|
echo "$as_me:3609: checking whether $CXX accepts -g" >&5
|
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
|
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
|
if test "${ac_cv_prog_cxx_g+set}" = set; then
|
if test "${ac_cv_prog_cxx_g+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
#line 3615 "configure"
|
#line 3615 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
|
|
int
|
int
|
main ()
|
main ()
|
{
|
{
|
|
|
;
|
;
|
return 0;
|
return 0;
|
}
|
}
|
_ACEOF
|
_ACEOF
|
rm -f conftest.$ac_objext
|
rm -f conftest.$ac_objext
|
if { (eval echo "$as_me:3627: \"$ac_compile\"") >&5
|
if { (eval echo "$as_me:3627: \"$ac_compile\"") >&5
|
(eval $ac_compile) 2>&5
|
(eval $ac_compile) 2>&5
|
ac_status=$?
|
ac_status=$?
|
echo "$as_me:3630: \$? = $ac_status" >&5
|
echo "$as_me:3630: \$? = $ac_status" >&5
|
(exit $ac_status); } &&
|
(exit $ac_status); } &&
|
{ ac_try='test -s conftest.$ac_objext'
|
{ ac_try='test -s conftest.$ac_objext'
|
{ (eval echo "$as_me:3633: \"$ac_try\"") >&5
|
{ (eval echo "$as_me:3633: \"$ac_try\"") >&5
|
(eval $ac_try) 2>&5
|
(eval $ac_try) 2>&5
|
ac_status=$?
|
ac_status=$?
|
echo "$as_me:3636: \$? = $ac_status" >&5
|
echo "$as_me:3636: \$? = $ac_status" >&5
|
(exit $ac_status); }; }; then
|
(exit $ac_status); }; }; then
|
ac_cv_prog_cxx_g=yes
|
ac_cv_prog_cxx_g=yes
|
else
|
else
|
echo "$as_me: failed program was:" >&5
|
echo "$as_me: failed program was:" >&5
|
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
ac_cv_prog_cxx_g=no
|
ac_cv_prog_cxx_g=no
|
fi
|
fi
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
fi
|
fi
|
echo "$as_me:3646: result: $ac_cv_prog_cxx_g" >&5
|
echo "$as_me:3646: result: $ac_cv_prog_cxx_g" >&5
|
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
|
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
|
if test "$ac_test_CXXFLAGS" = set; then
|
if test "$ac_test_CXXFLAGS" = set; then
|
CXXFLAGS=$ac_save_CXXFLAGS
|
CXXFLAGS=$ac_save_CXXFLAGS
|
elif test $ac_cv_prog_cxx_g = yes; then
|
elif test $ac_cv_prog_cxx_g = yes; then
|
if test "$GXX" = yes; then
|
if test "$GXX" = yes; then
|
CXXFLAGS="-g -O2"
|
CXXFLAGS="-g -O2"
|
else
|
else
|
CXXFLAGS="-g"
|
CXXFLAGS="-g"
|
fi
|
fi
|
else
|
else
|
if test "$GXX" = yes; then
|
if test "$GXX" = yes; then
|
CXXFLAGS="-O2"
|
CXXFLAGS="-O2"
|
else
|
else
|
CXXFLAGS=
|
CXXFLAGS=
|
fi
|
fi
|
fi
|
fi
|
for ac_declaration in \
|
for ac_declaration in \
|
''\
|
''\
|
'#include ' \
|
'#include ' \
|
'extern "C" void std::exit (int) throw (); using std::exit;' \
|
'extern "C" void std::exit (int) throw (); using std::exit;' \
|
'extern "C" void std::exit (int); using std::exit;' \
|
'extern "C" void std::exit (int); using std::exit;' \
|
'extern "C" void exit (int) throw ();' \
|
'extern "C" void exit (int) throw ();' \
|
'extern "C" void exit (int);' \
|
'extern "C" void exit (int);' \
|
'void exit (int);'
|
'void exit (int);'
|
do
|
do
|
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
#line 3673 "configure"
|
#line 3673 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
#include
|
#include
|
$ac_declaration
|
$ac_declaration
|
int
|
int
|
main ()
|
main ()
|
{
|
{
|
exit (42);
|
exit (42);
|
;
|
;
|
return 0;
|
return 0;
|
}
|
}
|
_ACEOF
|
_ACEOF
|
rm -f conftest.$ac_objext
|
rm -f conftest.$ac_objext
|
if { (eval echo "$as_me:3686: \"$ac_compile\"") >&5
|
if { (eval echo "$as_me:3686: \"$ac_compile\"") >&5
|
(eval $ac_compile) 2>&5
|
(eval $ac_compile) 2>&5
|
ac_status=$?
|
ac_status=$?
|
echo "$as_me:3689: \$? = $ac_status" >&5
|
echo "$as_me:3689: \$? = $ac_status" >&5
|
(exit $ac_status); } &&
|
(exit $ac_status); } &&
|
{ ac_try='test -s conftest.$ac_objext'
|
{ ac_try='test -s conftest.$ac_objext'
|
{ (eval echo "$as_me:3692: \"$ac_try\"") >&5
|
{ (eval echo "$as_me:3692: \"$ac_try\"") >&5
|
(eval $ac_try) 2>&5
|
(eval $ac_try) 2>&5
|
ac_status=$?
|
ac_status=$?
|
echo "$as_me:3695: \$? = $ac_status" >&5
|
echo "$as_me:3695: \$? = $ac_status" >&5
|
(exit $ac_status); }; }; then
|
(exit $ac_status); }; }; then
|
:
|
:
|
else
|
else
|
echo "$as_me: failed program was:" >&5
|
echo "$as_me: failed program was:" >&5
|
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
continue
|
continue
|
fi
|
fi
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
#line 3705 "configure"
|
#line 3705 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
$ac_declaration
|
$ac_declaration
|
int
|
int
|
main ()
|
main ()
|
{
|
{
|
exit (42);
|
exit (42);
|
;
|
;
|
return 0;
|
return 0;
|
}
|
}
|
_ACEOF
|
_ACEOF
|
rm -f conftest.$ac_objext
|
rm -f conftest.$ac_objext
|
if { (eval echo "$as_me:3717: \"$ac_compile\"") >&5
|
if { (eval echo "$as_me:3717: \"$ac_compile\"") >&5
|
(eval $ac_compile) 2>&5
|
(eval $ac_compile) 2>&5
|
ac_status=$?
|
ac_status=$?
|
echo "$as_me:3720: \$? = $ac_status" >&5
|
echo "$as_me:3720: \$? = $ac_status" >&5
|
(exit $ac_status); } &&
|
(exit $ac_status); } &&
|
{ ac_try='test -s conftest.$ac_objext'
|
{ ac_try='test -s conftest.$ac_objext'
|
{ (eval echo "$as_me:3723: \"$ac_try\"") >&5
|
{ (eval echo "$as_me:3723: \"$ac_try\"") >&5
|
(eval $ac_try) 2>&5
|
(eval $ac_try) 2>&5
|
ac_status=$?
|
ac_status=$?
|
echo "$as_me:3726: \$? = $ac_status" >&5
|
echo "$as_me:3726: \$? = $ac_status" >&5
|
(exit $ac_status); }; }; then
|
(exit $ac_status); }; }; then
|
break
|
break
|
else
|
else
|
echo "$as_me: failed program was:" >&5
|
echo "$as_me: failed program was:" >&5
|
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
fi
|
fi
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
done
|
done
|
rm -f conftest*
|
rm -f conftest*
|
if test -n "$ac_declaration"; then
|
if test -n "$ac_declaration"; then
|
echo '#ifdef __cplusplus' >>confdefs.h
|
echo '#ifdef __cplusplus' >>confdefs.h
|
echo $ac_declaration >>confdefs.h
|
echo $ac_declaration >>confdefs.h
|
echo '#endif' >>confdefs.h
|
echo '#endif' >>confdefs.h
|
fi
|
fi
|
|
|
ac_ext=c
|
ac_ext=c
|
ac_cpp='$CPP $CPPFLAGS'
|
ac_cpp='$CPP $CPPFLAGS'
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
depcc="$CXX" am_compiler_list=
|
depcc="$CXX" am_compiler_list=
|
|
|
echo "$as_me:3750: checking dependency style of $depcc" >&5
|
echo "$as_me:3750: checking dependency style of $depcc" >&5
|
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
|
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
|
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
|
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
# We make a subdir and do the tests there. Otherwise we can end up
|
# 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
|
# 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
|
# 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
|
# making a dummy file named `D' -- because `-MD' means `put the output
|
# in D'.
|
# in D'.
|
mkdir conftest.dir
|
mkdir conftest.dir
|
# Copy depcomp to subdir because otherwise we won't find it if we're
|
# Copy depcomp to subdir because otherwise we won't find it if we're
|
# using a relative directory.
|
# using a relative directory.
|
cp "$am_depcomp" conftest.dir
|
cp "$am_depcomp" conftest.dir
|
cd conftest.dir
|
cd conftest.dir
|
|
|
am_cv_CXX_dependencies_compiler_type=none
|
am_cv_CXX_dependencies_compiler_type=none
|
if test "$am_compiler_list" = ""; then
|
if test "$am_compiler_list" = ""; then
|
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
fi
|
fi
|
for depmode in $am_compiler_list; do
|
for depmode in $am_compiler_list; do
|
# We need to recreate these files for each test, as the compiler may
|
# We need to recreate these files for each test, as the compiler may
|
# overwrite some of them when testing with obscure command lines.
|
# overwrite some of them when testing with obscure command lines.
|
# This happens at least with the AIX C compiler.
|
# This happens at least with the AIX C compiler.
|
echo '#include "conftest.h"' > conftest.c
|
echo '#include "conftest.h"' > conftest.c
|
echo 'int i;' > conftest.h
|
echo 'int i;' > conftest.h
|
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
|
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
|
|
|
case $depmode in
|
case $depmode in
|
nosideeffect)
|
nosideeffect)
|
# after this tag, mechanisms are not by side-effect, so they'll
|
# after this tag, mechanisms are not by side-effect, so they'll
|
# only be used when explicitly requested
|
# only be used when explicitly requested
|
if test "x$enable_dependency_tracking" = xyes; then
|
if test "x$enable_dependency_tracking" = xyes; then
|
continue
|
continue
|
else
|
else
|
break
|
break
|
fi
|
fi
|
;;
|
;;
|
none) break ;;
|
none) break ;;
|
esac
|
esac
|
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
# mode. It turns out that the SunPro C++ compiler does not properly
|
# mode. It turns out that the SunPro C++ compiler does not properly
|
# handle `-M -o', and we need to detect this.
|
# handle `-M -o', and we need to detect this.
|
if depmode=$depmode \
|
if depmode=$depmode \
|
source=conftest.c object=conftest.o \
|
source=conftest.c object=conftest.o \
|
depfile=conftest.Po tmpdepfile=conftest.TPo \
|
depfile=conftest.Po tmpdepfile=conftest.TPo \
|
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
|
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
|
grep conftest.h conftest.Po > /dev/null 2>&1 &&
|
grep conftest.h conftest.Po > /dev/null 2>&1 &&
|
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
am_cv_CXX_dependencies_compiler_type=$depmode
|
am_cv_CXX_dependencies_compiler_type=$depmode
|
break
|
break
|
fi
|
fi
|
done
|
done
|
|
|
cd ..
|
cd ..
|
rm -rf conftest.dir
|
rm -rf conftest.dir
|
else
|
else
|
am_cv_CXX_dependencies_compiler_type=none
|
am_cv_CXX_dependencies_compiler_type=none
|
fi
|
fi
|
|
|
fi
|
fi
|
echo "$as_me:3812: result: $am_cv_CXX_dependencies_compiler_type" >&5
|
echo "$as_me:3812: result: $am_cv_CXX_dependencies_compiler_type" >&5
|
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
|
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
|
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
|
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
|
|
|
test -z "$CXX" \
|
test -z "$CXX" \
|
&& { { echo "$as_me:3817: error: no acceptable c++ found in \$PATH" >&5
|
&& { { echo "$as_me:3817: error: no acceptable c++ found in \$PATH" >&5
|
echo "$as_me: error: no acceptable c++ found in \$PATH" >&2;}
|
echo "$as_me: error: no acceptable c++ found in \$PATH" >&2;}
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
|
|
if test "$ac_cv_prog_cc_cross" != "$ac_cv_prog_cxx_cross"; then
|
if test "$ac_cv_prog_cc_cross" != "$ac_cv_prog_cxx_cross"; then
|
{ { echo "$as_me:3822: error: ***
|
{ { echo "$as_me:3822: error: ***
|
Inconsistency in compiler configuration:
|
Inconsistency in compiler configuration:
|
Target C compiler and target C++ compiler
|
Target C compiler and target C++ compiler
|
must both either be cross compilers or native compilers
|
must both either be cross compilers or native compilers
|
Hint: If building a posix bsp: LD_LIBRARY_PATH? " >&5
|
Hint: If building a posix bsp: LD_LIBRARY_PATH? " >&5
|
echo "$as_me: error: ***
|
echo "$as_me: error: ***
|
Inconsistency in compiler configuration:
|
Inconsistency in compiler configuration:
|
Target C compiler and target C++ compiler
|
Target C compiler and target C++ compiler
|
must both either be cross compilers or native compilers
|
must both either be cross compilers or native compilers
|
Hint: If building a posix bsp: LD_LIBRARY_PATH? " >&2;}
|
Hint: If building a posix bsp: LD_LIBRARY_PATH? " >&2;}
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
fi
|
fi
|
|
|
fi
|
fi
|
|
|
if test "x$build_alias" != "x$host_alias"; then
|
if test "x$build_alias" != "x$host_alias"; then
|
rtems_tool_prefix=${ac_tool_prefix}
|
rtems_tool_prefix=${ac_tool_prefix}
|
fi
|
fi
|
|
|
# Extract the first word of "${rtems_tool_prefix}ar", so it can be a program name with args.
|
# Extract the first word of "${rtems_tool_prefix}ar", so it can be a program name with args.
|
set dummy ${rtems_tool_prefix}ar; ac_word=$2
|
set dummy ${rtems_tool_prefix}ar; ac_word=$2
|
echo "$as_me:3843: checking for $ac_word" >&5
|
echo "$as_me:3843: checking for $ac_word" >&5
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
if test "${ac_cv_prog_AR+set}" = set; then
|
if test "${ac_cv_prog_AR+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
if test -n "$AR"; then
|
if test -n "$AR"; then
|
ac_cv_prog_AR="$AR" # Let the user override the test.
|
ac_cv_prog_AR="$AR" # Let the user override the test.
|
else
|
else
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
ac_cv_prog_AR="${rtems_tool_prefix}ar"
|
ac_cv_prog_AR="${rtems_tool_prefix}ar"
|
echo "$as_me:3858: found $ac_dir/$ac_word" >&5
|
echo "$as_me:3858: found $ac_dir/$ac_word" >&5
|
break
|
break
|
done
|
done
|
|
|
test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="no"
|
test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="no"
|
fi
|
fi
|
fi
|
fi
|
AR=$ac_cv_prog_AR
|
AR=$ac_cv_prog_AR
|
if test -n "$AR"; then
|
if test -n "$AR"; then
|
echo "$as_me:3867: result: $AR" >&5
|
echo "$as_me:3867: result: $AR" >&5
|
echo "${ECHO_T}$AR" >&6
|
echo "${ECHO_T}$AR" >&6
|
else
|
else
|
echo "$as_me:3870: result: no" >&5
|
echo "$as_me:3870: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
fi
|
fi
|
|
|
if test "x$build_alias" != "x$host_alias"; then
|
if test "x$build_alias" != "x$host_alias"; then
|
rtems_tool_prefix=${ac_tool_prefix}
|
rtems_tool_prefix=${ac_tool_prefix}
|
fi
|
fi
|
|
|
# Extract the first word of "${rtems_tool_prefix}as", so it can be a program name with args.
|
# Extract the first word of "${rtems_tool_prefix}as", so it can be a program name with args.
|
set dummy ${rtems_tool_prefix}as; ac_word=$2
|
set dummy ${rtems_tool_prefix}as; ac_word=$2
|
echo "$as_me:3880: checking for $ac_word" >&5
|
echo "$as_me:3880: checking for $ac_word" >&5
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
if test "${ac_cv_prog_AS+set}" = set; then
|
if test "${ac_cv_prog_AS+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
if test -n "$AS"; then
|
if test -n "$AS"; then
|
ac_cv_prog_AS="$AS" # Let the user override the test.
|
ac_cv_prog_AS="$AS" # Let the user override the test.
|
else
|
else
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
ac_cv_prog_AS="${rtems_tool_prefix}as"
|
ac_cv_prog_AS="${rtems_tool_prefix}as"
|
echo "$as_me:3895: found $ac_dir/$ac_word" >&5
|
echo "$as_me:3895: found $ac_dir/$ac_word" >&5
|
break
|
break
|
done
|
done
|
|
|
test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="no"
|
test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="no"
|
fi
|
fi
|
fi
|
fi
|
AS=$ac_cv_prog_AS
|
AS=$ac_cv_prog_AS
|
if test -n "$AS"; then
|
if test -n "$AS"; then
|
echo "$as_me:3904: result: $AS" >&5
|
echo "$as_me:3904: result: $AS" >&5
|
echo "${ECHO_T}$AS" >&6
|
echo "${ECHO_T}$AS" >&6
|
else
|
else
|
echo "$as_me:3907: result: no" >&5
|
echo "$as_me:3907: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
fi
|
fi
|
|
|
if test "x$build_alias" != "x$host_alias"; then
|
if test "x$build_alias" != "x$host_alias"; then
|
rtems_tool_prefix=${ac_tool_prefix}
|
rtems_tool_prefix=${ac_tool_prefix}
|
fi
|
fi
|
|
|
# Extract the first word of "${rtems_tool_prefix}ld", so it can be a program name with args.
|
# Extract the first word of "${rtems_tool_prefix}ld", so it can be a program name with args.
|
set dummy ${rtems_tool_prefix}ld; ac_word=$2
|
set dummy ${rtems_tool_prefix}ld; ac_word=$2
|
echo "$as_me:3917: checking for $ac_word" >&5
|
echo "$as_me:3917: checking for $ac_word" >&5
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
if test "${ac_cv_prog_LD+set}" = set; then
|
if test "${ac_cv_prog_LD+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
if test -n "$LD"; then
|
if test -n "$LD"; then
|
ac_cv_prog_LD="$LD" # Let the user override the test.
|
ac_cv_prog_LD="$LD" # Let the user override the test.
|
else
|
else
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
ac_cv_prog_LD="${rtems_tool_prefix}ld"
|
ac_cv_prog_LD="${rtems_tool_prefix}ld"
|
echo "$as_me:3932: found $ac_dir/$ac_word" >&5
|
echo "$as_me:3932: found $ac_dir/$ac_word" >&5
|
break
|
break
|
done
|
done
|
|
|
test -z "$ac_cv_prog_LD" && ac_cv_prog_LD="no"
|
test -z "$ac_cv_prog_LD" && ac_cv_prog_LD="no"
|
fi
|
fi
|
fi
|
fi
|
LD=$ac_cv_prog_LD
|
LD=$ac_cv_prog_LD
|
if test -n "$LD"; then
|
if test -n "$LD"; then
|
echo "$as_me:3941: result: $LD" >&5
|
echo "$as_me:3941: result: $LD" >&5
|
echo "${ECHO_T}$LD" >&6
|
echo "${ECHO_T}$LD" >&6
|
else
|
else
|
echo "$as_me:3944: result: no" >&5
|
echo "$as_me:3944: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
fi
|
fi
|
|
|
if test "x$build_alias" != "x$host_alias"; then
|
if test "x$build_alias" != "x$host_alias"; then
|
rtems_tool_prefix=${ac_tool_prefix}
|
rtems_tool_prefix=${ac_tool_prefix}
|
fi
|
fi
|
|
|
# Extract the first word of "${rtems_tool_prefix}nm", so it can be a program name with args.
|
# Extract the first word of "${rtems_tool_prefix}nm", so it can be a program name with args.
|
set dummy ${rtems_tool_prefix}nm; ac_word=$2
|
set dummy ${rtems_tool_prefix}nm; ac_word=$2
|
echo "$as_me:3954: checking for $ac_word" >&5
|
echo "$as_me:3954: checking for $ac_word" >&5
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
if test "${ac_cv_prog_NM+set}" = set; then
|
if test "${ac_cv_prog_NM+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
if test -n "$NM"; then
|
if test -n "$NM"; then
|
ac_cv_prog_NM="$NM" # Let the user override the test.
|
ac_cv_prog_NM="$NM" # Let the user override the test.
|
else
|
else
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
ac_cv_prog_NM="${rtems_tool_prefix}nm"
|
ac_cv_prog_NM="${rtems_tool_prefix}nm"
|
echo "$as_me:3969: found $ac_dir/$ac_word" >&5
|
echo "$as_me:3969: found $ac_dir/$ac_word" >&5
|
break
|
break
|
done
|
done
|
|
|
test -z "$ac_cv_prog_NM" && ac_cv_prog_NM="no"
|
test -z "$ac_cv_prog_NM" && ac_cv_prog_NM="no"
|
fi
|
fi
|
fi
|
fi
|
NM=$ac_cv_prog_NM
|
NM=$ac_cv_prog_NM
|
if test -n "$NM"; then
|
if test -n "$NM"; then
|
echo "$as_me:3978: result: $NM" >&5
|
echo "$as_me:3978: result: $NM" >&5
|
echo "${ECHO_T}$NM" >&6
|
echo "${ECHO_T}$NM" >&6
|
else
|
else
|
echo "$as_me:3981: result: no" >&5
|
echo "$as_me:3981: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
fi
|
fi
|
|
|
if test "x$build_alias" != "x$host_alias"; then
|
if test "x$build_alias" != "x$host_alias"; then
|
rtems_tool_prefix=${ac_tool_prefix}
|
rtems_tool_prefix=${ac_tool_prefix}
|
fi
|
fi
|
|
|
# Extract the first word of "${rtems_tool_prefix}ranlib", so it can be a program name with args.
|
# Extract the first word of "${rtems_tool_prefix}ranlib", so it can be a program name with args.
|
set dummy ${rtems_tool_prefix}ranlib; ac_word=$2
|
set dummy ${rtems_tool_prefix}ranlib; ac_word=$2
|
echo "$as_me:3991: checking for $ac_word" >&5
|
echo "$as_me:3991: checking for $ac_word" >&5
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
if test "${ac_cv_prog_RANLIB+set}" = set; then
|
if test "${ac_cv_prog_RANLIB+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
if test -n "$RANLIB"; then
|
if test -n "$RANLIB"; then
|
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
else
|
else
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
ac_cv_prog_RANLIB="${rtems_tool_prefix}ranlib"
|
ac_cv_prog_RANLIB="${rtems_tool_prefix}ranlib"
|
echo "$as_me:4006: found $ac_dir/$ac_word" >&5
|
echo "$as_me:4006: found $ac_dir/$ac_word" >&5
|
break
|
break
|
done
|
done
|
|
|
test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
|
test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
|
fi
|
fi
|
fi
|
fi
|
RANLIB=$ac_cv_prog_RANLIB
|
RANLIB=$ac_cv_prog_RANLIB
|
if test -n "$RANLIB"; then
|
if test -n "$RANLIB"; then
|
echo "$as_me:4015: result: $RANLIB" >&5
|
echo "$as_me:4015: result: $RANLIB" >&5
|
echo "${ECHO_T}$RANLIB" >&6
|
echo "${ECHO_T}$RANLIB" >&6
|
else
|
else
|
echo "$as_me:4018: result: no" >&5
|
echo "$as_me:4018: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
fi
|
fi
|
|
|
if test "x$build_alias" != "x$host_alias"; then
|
if test "x$build_alias" != "x$host_alias"; then
|
rtems_tool_prefix=${ac_tool_prefix}
|
rtems_tool_prefix=${ac_tool_prefix}
|
fi
|
fi
|
|
|
# Extract the first word of "${rtems_tool_prefix}objcopy", so it can be a program name with args.
|
# Extract the first word of "${rtems_tool_prefix}objcopy", so it can be a program name with args.
|
set dummy ${rtems_tool_prefix}objcopy; ac_word=$2
|
set dummy ${rtems_tool_prefix}objcopy; ac_word=$2
|
echo "$as_me:4028: checking for $ac_word" >&5
|
echo "$as_me:4028: checking for $ac_word" >&5
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
if test "${ac_cv_prog_OBJCOPY+set}" = set; then
|
if test "${ac_cv_prog_OBJCOPY+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
if test -n "$OBJCOPY"; then
|
if test -n "$OBJCOPY"; then
|
ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
|
ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
|
else
|
else
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
ac_cv_prog_OBJCOPY="${rtems_tool_prefix}objcopy"
|
ac_cv_prog_OBJCOPY="${rtems_tool_prefix}objcopy"
|
echo "$as_me:4043: found $ac_dir/$ac_word" >&5
|
echo "$as_me:4043: found $ac_dir/$ac_word" >&5
|
break
|
break
|
done
|
done
|
|
|
test -z "$ac_cv_prog_OBJCOPY" && ac_cv_prog_OBJCOPY="no"
|
test -z "$ac_cv_prog_OBJCOPY" && ac_cv_prog_OBJCOPY="no"
|
fi
|
fi
|
fi
|
fi
|
OBJCOPY=$ac_cv_prog_OBJCOPY
|
OBJCOPY=$ac_cv_prog_OBJCOPY
|
if test -n "$OBJCOPY"; then
|
if test -n "$OBJCOPY"; then
|
echo "$as_me:4052: result: $OBJCOPY" >&5
|
echo "$as_me:4052: result: $OBJCOPY" >&5
|
echo "${ECHO_T}$OBJCOPY" >&6
|
echo "${ECHO_T}$OBJCOPY" >&6
|
else
|
else
|
echo "$as_me:4055: result: no" >&5
|
echo "$as_me:4055: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
fi
|
fi
|
|
|
if test "x$build_alias" != "x$host_alias"; then
|
if test "x$build_alias" != "x$host_alias"; then
|
rtems_tool_prefix=${ac_tool_prefix}
|
rtems_tool_prefix=${ac_tool_prefix}
|
fi
|
fi
|
|
|
# Extract the first word of "${rtems_tool_prefix}size", so it can be a program name with args.
|
# Extract the first word of "${rtems_tool_prefix}size", so it can be a program name with args.
|
set dummy ${rtems_tool_prefix}size; ac_word=$2
|
set dummy ${rtems_tool_prefix}size; ac_word=$2
|
echo "$as_me:4065: checking for $ac_word" >&5
|
echo "$as_me:4065: checking for $ac_word" >&5
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
if test "${ac_cv_prog_SIZE+set}" = set; then
|
if test "${ac_cv_prog_SIZE+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
if test -n "$SIZE"; then
|
if test -n "$SIZE"; then
|
ac_cv_prog_SIZE="$SIZE" # Let the user override the test.
|
ac_cv_prog_SIZE="$SIZE" # Let the user override the test.
|
else
|
else
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
ac_cv_prog_SIZE="${rtems_tool_prefix}size"
|
ac_cv_prog_SIZE="${rtems_tool_prefix}size"
|
echo "$as_me:4080: found $ac_dir/$ac_word" >&5
|
echo "$as_me:4080: found $ac_dir/$ac_word" >&5
|
break
|
break
|
done
|
done
|
|
|
test -z "$ac_cv_prog_SIZE" && ac_cv_prog_SIZE="no"
|
test -z "$ac_cv_prog_SIZE" && ac_cv_prog_SIZE="no"
|
fi
|
fi
|
fi
|
fi
|
SIZE=$ac_cv_prog_SIZE
|
SIZE=$ac_cv_prog_SIZE
|
if test -n "$SIZE"; then
|
if test -n "$SIZE"; then
|
echo "$as_me:4089: result: $SIZE" >&5
|
echo "$as_me:4089: result: $SIZE" >&5
|
echo "${ECHO_T}$SIZE" >&6
|
echo "${ECHO_T}$SIZE" >&6
|
else
|
else
|
echo "$as_me:4092: result: no" >&5
|
echo "$as_me:4092: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
fi
|
fi
|
|
|
if test "x$build_alias" != "x$host_alias"; then
|
if test "x$build_alias" != "x$host_alias"; then
|
rtems_tool_prefix=${ac_tool_prefix}
|
rtems_tool_prefix=${ac_tool_prefix}
|
fi
|
fi
|
|
|
# Extract the first word of "${rtems_tool_prefix}strip", so it can be a program name with args.
|
# Extract the first word of "${rtems_tool_prefix}strip", so it can be a program name with args.
|
set dummy ${rtems_tool_prefix}strip; ac_word=$2
|
set dummy ${rtems_tool_prefix}strip; ac_word=$2
|
echo "$as_me:4102: checking for $ac_word" >&5
|
echo "$as_me:4102: checking for $ac_word" >&5
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
if test "${ac_cv_prog_STRIP+set}" = set; then
|
if test "${ac_cv_prog_STRIP+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
if test -n "$STRIP"; then
|
if test -n "$STRIP"; then
|
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
else
|
else
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
IFS=$ac_save_IFS
|
IFS=$ac_save_IFS
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
ac_cv_prog_STRIP="${rtems_tool_prefix}strip"
|
ac_cv_prog_STRIP="${rtems_tool_prefix}strip"
|
echo "$as_me:4117: found $ac_dir/$ac_word" >&5
|
echo "$as_me:4117: found $ac_dir/$ac_word" >&5
|
break
|
break
|
done
|
done
|
|
|
test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
|
test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
|
fi
|
fi
|
fi
|
fi
|
STRIP=$ac_cv_prog_STRIP
|
STRIP=$ac_cv_prog_STRIP
|
if test -n "$STRIP"; then
|
if test -n "$STRIP"; then
|
echo "$as_me:4126: result: $STRIP" >&5
|
echo "$as_me:4126: result: $STRIP" >&5
|
echo "${ECHO_T}$STRIP" >&6
|
echo "${ECHO_T}$STRIP" >&6
|
else
|
else
|
echo "$as_me:4129: result: no" >&5
|
echo "$as_me:4129: result: no" >&5
|
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
fi
|
fi
|
|
|
## if this is an i386, does gas have good code16 support?
|
## if this is an i386, does gas have good code16 support?
|
if test "${host_cpu}" = "i386"; then
|
if test "${host_cpu}" = "i386"; then
|
echo "$as_me:4135: checking for 16 bit mode assembler support" >&5
|
echo "$as_me:4135: checking for 16 bit mode assembler support" >&5
|
echo $ECHO_N "checking for 16 bit mode assembler support... $ECHO_C" >&6
|
echo $ECHO_N "checking for 16 bit mode assembler support... $ECHO_C" >&6
|
if test "${rtems_cv_prog_gas_code16+set}" = set; then
|
if test "${rtems_cv_prog_gas_code16+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
cat > conftest.s << EOF
|
cat > conftest.s << EOF
|
.code16
|
.code16
|
data32
|
data32
|
addr32
|
addr32
|
lgdt 0
|
lgdt 0
|
EOF
|
EOF
|
if { ac_try='$AS -o conftest.o conftest.s'
|
if { ac_try='$AS -o conftest.o conftest.s'
|
{ (eval echo "$as_me:4147: \"$ac_try\"") >&5
|
{ (eval echo "$as_me:4147: \"$ac_try\"") >&5
|
(eval $ac_try) 2>&5
|
(eval $ac_try) 2>&5
|
ac_status=$?
|
ac_status=$?
|
echo "$as_me:4150: \$? = $ac_status" >&5
|
echo "$as_me:4150: \$? = $ac_status" >&5
|
(exit $ac_status); }; }; then
|
(exit $ac_status); }; }; then
|
rtems_cv_prog_gas_code16=yes
|
rtems_cv_prog_gas_code16=yes
|
else
|
else
|
rtems_cv_prog_gas_code16=no
|
rtems_cv_prog_gas_code16=no
|
fi
|
fi
|
fi
|
fi
|
echo "$as_me:4157: result: $rtems_cv_prog_gas_code16" >&5
|
echo "$as_me:4157: result: $rtems_cv_prog_gas_code16" >&5
|
echo "${ECHO_T}$rtems_cv_prog_gas_code16" >&6
|
echo "${ECHO_T}$rtems_cv_prog_gas_code16" >&6
|
RTEMS_GAS_CODE16="$rtems_cv_prog_gas_code16"
|
RTEMS_GAS_CODE16="$rtems_cv_prog_gas_code16"
|
fi
|
fi
|
|
|
if test x"${RTEMS_GAS_CODE16}" = x"yes";
|
if test x"${RTEMS_GAS_CODE16}" = x"yes";
|
then
|
then
|
|
|
cat >>confdefs.h <
|
cat >>confdefs.h <
|
#define NEW_GAS 1
|
#define NEW_GAS 1
|
EOF
|
EOF
|
|
|
fi
|
fi
|
|
|
echo "$as_me:4171: checking for make/custom/$RTEMS_BSP.cfg" >&5
|
echo "$as_me:4171: checking for make/custom/$RTEMS_BSP.cfg" >&5
|
echo $ECHO_N "checking for make/custom/$RTEMS_BSP.cfg... $ECHO_C" >&6
|
echo $ECHO_N "checking for make/custom/$RTEMS_BSP.cfg... $ECHO_C" >&6
|
if test -r "$srcdir/$RTEMS_TOPdir/make/custom/$RTEMS_BSP.cfg"; then
|
if test -r "$srcdir/$RTEMS_TOPdir/make/custom/$RTEMS_BSP.cfg"; then
|
echo "$as_me:4174: result: yes" >&5
|
echo "$as_me:4174: result: yes" >&5
|
echo "${ECHO_T}yes" >&6
|
echo "${ECHO_T}yes" >&6
|
else
|
else
|
{ { echo "$as_me:4177: error: no" >&5
|
{ { echo "$as_me:4177: error: no" >&5
|
echo "$as_me: error: no" >&2;}
|
echo "$as_me: error: no" >&2;}
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
fi
|
fi
|
|
|
# account for "aliased" bsps which share source code
|
# account for "aliased" bsps which share source code
|
case ${RTEMS_BSP} in
|
case ${RTEMS_BSP} in
|
simcpu32) RTEMS_BSP_FAMILY=sim68000 ;; # BSVC CPU32 variant
|
simcpu32) RTEMS_BSP_FAMILY=sim68000 ;; # BSVC CPU32 variant
|
c3xsim) RTEMS_BSP_FAMILY=c4xsim ;; # TI C3x Simulator in gdb
|
c3xsim) RTEMS_BSP_FAMILY=c4xsim ;; # TI C3x Simulator in gdb
|
mcp750) RTEMS_BSP_FAMILY=motorola_powerpc ;; # Motorola PPC board variant
|
mcp750) RTEMS_BSP_FAMILY=motorola_powerpc ;; # Motorola PPC board variant
|
mvme2307) RTEMS_BSP_FAMILY=motorola_powerpc ;; # Motorola PPC board variant
|
mvme2307) RTEMS_BSP_FAMILY=motorola_powerpc ;; # Motorola PPC board variant
|
mvme162lx) RTEMS_BSP_FAMILY=mvme162 ;; # m68k - mvme162 board variant
|
mvme162lx) RTEMS_BSP_FAMILY=mvme162 ;; # m68k - mvme162 board variant
|
gen68360_040) RTEMS_BSP_FAMILY=gen68360 ;; # m68k - 68360 in companion mode
|
gen68360_040) RTEMS_BSP_FAMILY=gen68360 ;; # m68k - 68360 in companion mode
|
p4600) RTEMS_BSP_FAMILY=p4000 ;; # mips64orion - p4000 board w/IDT 4600
|
p4600) RTEMS_BSP_FAMILY=p4000 ;; # mips64orion - p4000 board w/IDT 4600
|
p4650) RTEMS_BSP_FAMILY=p4000 ;; # mips64orion - p4000 board w/IDT 4650
|
p4650) RTEMS_BSP_FAMILY=p4000 ;; # mips64orion - p4000 board w/IDT 4650
|
mbx8*) RTEMS_BSP_FAMILY=mbx8xx ;; # MBX821/MBX860 board
|
mbx8*) RTEMS_BSP_FAMILY=mbx8xx ;; # MBX821/MBX860 board
|
pc386dx) RTEMS_BSP_FAMILY=pc386 ;; # i386 - PC w/o FPU
|
pc386dx) RTEMS_BSP_FAMILY=pc386 ;; # i386 - PC w/o FPU
|
pc486) RTEMS_BSP_FAMILY=pc386 ;; # i386 - PC with i486DX
|
pc486) RTEMS_BSP_FAMILY=pc386 ;; # i386 - PC with i486DX
|
pc586) RTEMS_BSP_FAMILY=pc386 ;; # i386 - PC with Pentium
|
pc586) RTEMS_BSP_FAMILY=pc386 ;; # i386 - PC with Pentium
|
pc686) RTEMS_BSP_FAMILY=pc386 ;; # i386 - PC with PentiumPro
|
pc686) RTEMS_BSP_FAMILY=pc386 ;; # i386 - PC with PentiumPro
|
pck6) RTEMS_BSP_FAMILY=pc386 ;; # i386 - PC with K6
|
pck6) RTEMS_BSP_FAMILY=pc386 ;; # i386 - PC with K6
|
bare*) RTEMS_BSP_FAMILY=bare ;; # EXP: bare-aliases
|
bare*) RTEMS_BSP_FAMILY=bare ;; # EXP: bare-aliases
|
erc32nfp) RTEMS_BSP_FAMILY=erc32 ;; # erc32 without fpu
|
erc32nfp) RTEMS_BSP_FAMILY=erc32 ;; # erc32 without fpu
|
leon1) RTEMS_BSP_FAMILY=leon ;; # leon without fpu
|
leon1) RTEMS_BSP_FAMILY=leon ;; # leon without fpu
|
leon2) RTEMS_BSP_FAMILY=leon ;; # leon with fpu
|
leon2) RTEMS_BSP_FAMILY=leon ;; # leon with fpu
|
simsh7032) RTEMS_BSP_FAMILY=shsim ;; # SH7032 simulator
|
simsh7032) RTEMS_BSP_FAMILY=shsim ;; # SH7032 simulator
|
simsh7045) RTEMS_BSP_FAMILY=shsim ;; # SH7045 simulator
|
simsh7045) RTEMS_BSP_FAMILY=shsim ;; # SH7045 simulator
|
*) RTEMS_BSP_FAMILY=${RTEMS_BSP};;
|
*) RTEMS_BSP_FAMILY=${RTEMS_BSP};;
|
esac
|
esac
|
|
|
# Check whether --enable-multilib or --disable-multilib was given.
|
# Check whether --enable-multilib or --disable-multilib was given.
|
if test "${enable_multilib+set}" = set; then
|
if test "${enable_multilib+set}" = set; then
|
enableval="$enable_multilib"
|
enableval="$enable_multilib"
|
case "${enableval}" in
|
case "${enableval}" in
|
yes) multilib=yes ;;
|
yes) multilib=yes ;;
|
no) multilib=no ;;
|
no) multilib=no ;;
|
*) { { echo "$as_me:4213: error: bad value ${enableval} for multilib option" >&5
|
*) { { echo "$as_me:4213: error: bad value ${enableval} for multilib option" >&5
|
echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
|
echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
|
{ (exit 1); exit 1; }; } ;;
|
{ (exit 1); exit 1; }; } ;;
|
esac
|
esac
|
else
|
else
|
multilib=no
|
multilib=no
|
fi;
|
fi;
|
|
|
if test x"${multilib}" = x"yes"; then
|
if test x"${multilib}" = x"yes"; then
|
MULTILIB_TRUE=
|
MULTILIB_TRUE=
|
MULTILIB_FALSE='#'
|
MULTILIB_FALSE='#'
|
else
|
else
|
MULTILIB_TRUE='#'
|
MULTILIB_TRUE='#'
|
MULTILIB_FALSE=
|
MULTILIB_FALSE=
|
fi
|
fi
|
|
|
echo "$as_me:4229: checking if wanting multiprocessing" >&5
|
echo "$as_me:4229: checking if wanting multiprocessing" >&5
|
echo $ECHO_N "checking if wanting multiprocessing... $ECHO_C" >&6
|
echo $ECHO_N "checking if wanting multiprocessing... $ECHO_C" >&6
|
if test "${rtems_cv_want_multiprocessing+set}" = set; then
|
if test "${rtems_cv_want_multiprocessing+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
|
|
if test x"$multilib" = x"no"; then
|
if test x"$multilib" = x"no"; then
|
# no cpukit
|
# no cpukit
|
rtems_cv_want_multiprocessing="$enable_multiprocessing"
|
rtems_cv_want_multiprocessing="$enable_multiprocessing"
|
|
|
else
|
else
|
|
|
#HACK: Should check for RTEMS_MULTIPROCESSING in cpuopts.h, instead
|
#HACK: Should check for RTEMS_MULTIPROCESSING in cpuopts.h, instead
|
rtems_cv_want_multiprocessing="$enable_multiprocessing"
|
rtems_cv_want_multiprocessing="$enable_multiprocessing"
|
|
|
fi
|
fi
|
|
|
fi
|
fi
|
echo "$as_me:4247: result: $rtems_cv_want_multiprocessing" >&5
|
echo "$as_me:4247: result: $rtems_cv_want_multiprocessing" >&5
|
echo "${ECHO_T}$rtems_cv_want_multiprocessing" >&6
|
echo "${ECHO_T}$rtems_cv_want_multiprocessing" >&6
|
|
|
if test "$rtems_cv_want_multiprocessing" = "yes"; then
|
if test "$rtems_cv_want_multiprocessing" = "yes"; then
|
|
|
echo "$as_me:4252: checking whether BSP supports multiprocessing" >&5
|
echo "$as_me:4252: checking whether BSP supports multiprocessing" >&5
|
echo $ECHO_N "checking whether BSP supports multiprocessing... $ECHO_C" >&6
|
echo $ECHO_N "checking whether BSP supports multiprocessing... $ECHO_C" >&6
|
if test "${rtems_cv_HAS_MP+set}" = set; then
|
if test "${rtems_cv_HAS_MP+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
|
|
if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}/${RTEMS_BSP_FAMILY}/shmsupp"; then
|
if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}/${RTEMS_BSP_FAMILY}/shmsupp"; then
|
rtems_cv_HAS_MP="yes" ;
|
rtems_cv_HAS_MP="yes" ;
|
else
|
else
|
rtems_cv_HAS_MP="no";
|
rtems_cv_HAS_MP="no";
|
fi
|
fi
|
|
|
fi
|
fi
|
echo "$as_me:4265: result: $rtems_cv_HAS_MP" >&5
|
echo "$as_me:4265: result: $rtems_cv_HAS_MP" >&5
|
echo "${ECHO_T}$rtems_cv_HAS_MP" >&6
|
echo "${ECHO_T}$rtems_cv_HAS_MP" >&6
|
if test $rtems_cv_HAS_MP = "no"; then
|
if test $rtems_cv_HAS_MP = "no"; then
|
{ { echo "$as_me:4268: error: multiprocessing requested but not supported" >&5
|
{ { echo "$as_me:4268: error: multiprocessing requested but not supported" >&5
|
echo "$as_me: error: multiprocessing requested but not supported" >&2;}
|
echo "$as_me: error: multiprocessing requested but not supported" >&2;}
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
fi
|
fi
|
|
|
else
|
else
|
rtems_cv_HAS_MP="no";
|
rtems_cv_HAS_MP="no";
|
fi
|
fi
|
|
|
HAS_MP=$rtems_cv_HAS_MP
|
HAS_MP=$rtems_cv_HAS_MP
|
|
|
echo "$as_me:4279: checking whether BSP supports networking" >&5
|
echo "$as_me:4279: checking whether BSP supports networking" >&5
|
echo $ECHO_N "checking whether BSP supports networking... $ECHO_C" >&6
|
echo $ECHO_N "checking whether BSP supports networking... $ECHO_C" >&6
|
if test "${rtems_cv_HAS_NETWORKING+set}" = set; then
|
if test "${rtems_cv_HAS_NETWORKING+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
case "$RTEMS_CPU" in
|
case "$RTEMS_CPU" in
|
unix*)
|
unix*)
|
rtems_cv_HAS_NETWORKING="no"
|
rtems_cv_HAS_NETWORKING="no"
|
;;
|
;;
|
*)
|
*)
|
if test "${RTEMS_HAS_NETWORKING}" = "yes"; then
|
if test "${RTEMS_HAS_NETWORKING}" = "yes"; then
|
rtems_cv_HAS_NETWORKING="yes";
|
rtems_cv_HAS_NETWORKING="yes";
|
else
|
else
|
rtems_cv_HAS_NETWORKING="disabled";
|
rtems_cv_HAS_NETWORKING="disabled";
|
fi
|
fi
|
;;
|
;;
|
esac
|
esac
|
fi
|
fi
|
echo "$as_me:4297: result: $rtems_cv_HAS_NETWORKING" >&5
|
echo "$as_me:4297: result: $rtems_cv_HAS_NETWORKING" >&5
|
echo "${ECHO_T}$rtems_cv_HAS_NETWORKING" >&6
|
echo "${ECHO_T}$rtems_cv_HAS_NETWORKING" >&6
|
if test "$rtems_cv_HAS_NETWORKING" = "yes"; then
|
if test "$rtems_cv_HAS_NETWORKING" = "yes"; then
|
HAS_NETWORKING="yes";
|
HAS_NETWORKING="yes";
|
else
|
else
|
HAS_NETWORKING="no";
|
HAS_NETWORKING="no";
|
fi
|
fi
|
|
|
echo "$as_me:4305: checking whether BSP supports librdbg" >&5
|
echo "$as_me:4305: checking whether BSP supports librdbg" >&5
|
echo $ECHO_N "checking whether BSP supports librdbg... $ECHO_C" >&6
|
echo $ECHO_N "checking whether BSP supports librdbg... $ECHO_C" >&6
|
if test "${rtems_cv_HAS_RDBG+set}" = set; then
|
if test "${rtems_cv_HAS_RDBG+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
|
|
if test -d "$srcdir/${RTEMS_TOPdir}/c/src/librdbg/src/${RTEMS_CPU}/${RTEMS_BSP}";
|
if test -d "$srcdir/${RTEMS_TOPdir}/c/src/librdbg/src/${RTEMS_CPU}/${RTEMS_BSP}";
|
then
|
then
|
rtems_cv_HAS_RDBG="yes" ;
|
rtems_cv_HAS_RDBG="yes" ;
|
elif test -d "$srcdir/${RTEMS_TOPdir}/c/src/librdbg/src/${RTEMS_CPU}/any";
|
elif test -d "$srcdir/${RTEMS_TOPdir}/c/src/librdbg/src/${RTEMS_CPU}/any";
|
then
|
then
|
rtems_cv_HAS_RDBG="yes" ;
|
rtems_cv_HAS_RDBG="yes" ;
|
elif test "${RTEMS_CPU}" = "powerpc";
|
elif test "${RTEMS_CPU}" = "powerpc";
|
then
|
then
|
A=`grep -l RTEMS_PPC_EXCEPTION_PROCESSING_MODEL $srcdir/${RTEMS_TOPdir}/make/custom/* 2>/dev/null`;
|
A=`grep -l RTEMS_PPC_EXCEPTION_PROCESSING_MODEL $srcdir/${RTEMS_TOPdir}/make/custom/* 2>/dev/null`;
|
C=""
|
C=""
|
for i in ${A} ;
|
for i in ${A} ;
|
do
|
do
|
B=`basename ${i} .cfg`;
|
B=`basename ${i} .cfg`;
|
C="${C} ${B}";
|
C="${C} ${B}";
|
done
|
done
|
rtems_cv_HAS_RDBG="no";
|
rtems_cv_HAS_RDBG="no";
|
for j in ${C} ;
|
for j in ${C} ;
|
do
|
do
|
if test "${RTEMS_BSP}" = "${j}" ;
|
if test "${RTEMS_BSP}" = "${j}" ;
|
then
|
then
|
rtems_cv_HAS_RDBG="yes";
|
rtems_cv_HAS_RDBG="yes";
|
fi
|
fi
|
done
|
done
|
else
|
else
|
rtems_cv_HAS_RDBG="no";
|
rtems_cv_HAS_RDBG="no";
|
fi
|
fi
|
|
|
fi
|
fi
|
echo "$as_me:4339: result: $rtems_cv_HAS_RDBG" >&5
|
echo "$as_me:4339: result: $rtems_cv_HAS_RDBG" >&5
|
echo "${ECHO_T}$rtems_cv_HAS_RDBG" >&6
|
echo "${ECHO_T}$rtems_cv_HAS_RDBG" >&6
|
HAS_RDBG="$rtems_cv_HAS_RDBG"
|
HAS_RDBG="$rtems_cv_HAS_RDBG"
|
|
|
echo "$as_me:4343: checking whether CPU supports libposix" >&5
|
echo "$as_me:4343: checking whether CPU supports libposix" >&5
|
echo $ECHO_N "checking whether CPU supports libposix... $ECHO_C" >&6
|
echo $ECHO_N "checking whether CPU supports libposix... $ECHO_C" >&6
|
if test "${rtems_cv_HAS_POSIX_API+set}" = set; then
|
if test "${rtems_cv_HAS_POSIX_API+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
case "$RTEMS_CPU" in
|
case "$RTEMS_CPU" in
|
unix*)
|
unix*)
|
rtems_cv_HAS_POSIX_API="no"
|
rtems_cv_HAS_POSIX_API="no"
|
;;
|
;;
|
*)
|
*)
|
if test "${RTEMS_HAS_POSIX_API}" = "yes"; then
|
if test "${RTEMS_HAS_POSIX_API}" = "yes"; then
|
rtems_cv_HAS_POSIX_API="yes";
|
rtems_cv_HAS_POSIX_API="yes";
|
else
|
else
|
rtems_cv_HAS_POSIX_API="disabled";
|
rtems_cv_HAS_POSIX_API="disabled";
|
fi
|
fi
|
;;
|
;;
|
esac
|
esac
|
fi
|
fi
|
echo "$as_me:4361: result: $rtems_cv_HAS_POSIX_API" >&5
|
echo "$as_me:4361: result: $rtems_cv_HAS_POSIX_API" >&5
|
echo "${ECHO_T}$rtems_cv_HAS_POSIX_API" >&6
|
echo "${ECHO_T}$rtems_cv_HAS_POSIX_API" >&6
|
if test "$rtems_cv_HAS_POSIX_API" = "yes"; then
|
if test "$rtems_cv_HAS_POSIX_API" = "yes"; then
|
HAS_POSIX_API="yes";
|
HAS_POSIX_API="yes";
|
else
|
else
|
HAS_POSIX_API="no";
|
HAS_POSIX_API="no";
|
fi
|
fi
|
|
|
echo "$as_me:4369: checking whether to build rtems++" >&5
|
echo "$as_me:4369: checking whether to build rtems++" >&5
|
echo $ECHO_N "checking whether to build rtems++... $ECHO_C" >&6
|
echo $ECHO_N "checking whether to build rtems++... $ECHO_C" >&6
|
if test "${rtems_cv_HAS_CPLUSPLUS+set}" = set; then
|
if test "${rtems_cv_HAS_CPLUSPLUS+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
|
if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
|
if test -n "$CXX"; then
|
if test -n "$CXX"; then
|
rtems_cv_HAS_CPLUSPLUS="yes"
|
rtems_cv_HAS_CPLUSPLUS="yes"
|
else
|
else
|
rtems_cv_HAS_CPLUSPLUS="no"
|
rtems_cv_HAS_CPLUSPLUS="no"
|
fi
|
fi
|
else
|
else
|
rtems_cv_HAS_CPLUSPLUS="no"
|
rtems_cv_HAS_CPLUSPLUS="no"
|
fi
|
fi
|
fi
|
fi
|
echo "$as_me:4384: result: $rtems_cv_HAS_CPLUSPLUS" >&5
|
echo "$as_me:4384: result: $rtems_cv_HAS_CPLUSPLUS" >&5
|
echo "${ECHO_T}$rtems_cv_HAS_CPLUSPLUS" >&6
|
echo "${ECHO_T}$rtems_cv_HAS_CPLUSPLUS" >&6
|
HAS_CPLUSPLUS="$rtems_cv_HAS_CPLUSPLUS";
|
HAS_CPLUSPLUS="$rtems_cv_HAS_CPLUSPLUS";
|
|
|
if test "$HAS_CPLUSPLUS" = "yes"; then
|
if test "$HAS_CPLUSPLUS" = "yes"; then
|
CPLUS_LD_LIBS='$(PROJECT_RELEASE)/lib/librtems++$(LIBSUFFIX_VA)'
|
CPLUS_LD_LIBS='$(PROJECT_RELEASE)/lib/librtems++$(LIBSUFFIX_VA)'
|
fi
|
fi
|
|
|
echo "$as_me:4392: checking whether CPU supports libitron" >&5
|
echo "$as_me:4392: checking whether CPU supports libitron" >&5
|
echo $ECHO_N "checking whether CPU supports libitron... $ECHO_C" >&6
|
echo $ECHO_N "checking whether CPU supports libitron... $ECHO_C" >&6
|
if test "${rtems_cv_HAS_ITRON_API+set}" = set; then
|
if test "${rtems_cv_HAS_ITRON_API+set}" = set; then
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
else
|
else
|
case "$RTEMS_CPU" in
|
case "$RTEMS_CPU" in
|
unix*)
|
unix*)
|
rtems_cv_HAS_ITRON_API="no"
|
rtems_cv_HAS_ITRON_API="no"
|
;;
|
;;
|
*)
|
*)
|
if test "${RTEMS_HAS_ITRON_API}" = "yes"; then
|
if test "${RTEMS_HAS_ITRON_API}" = "yes"; then
|
rtems_cv_HAS_ITRON_API="yes";
|
rtems_cv_HAS_ITRON_API="yes";
|
else
|
else
|
rtems_cv_HAS_ITRON_API="disabled";
|
rtems_cv_HAS_ITRON_API="disabled";
|
fi
|
fi
|
;;
|
;;
|
esac
|
esac
|
fi
|
fi
|
echo "$as_me:4410: result: $rtems_cv_HAS_ITRON_API" >&5
|
echo "$as_me:4410: result: $rtems_cv_HAS_ITRON_API" >&5
|
echo "${ECHO_T}$rtems_cv_HAS_ITRON_API" >&6
|
echo "${ECHO_T}$rtems_cv_HAS_ITRON_API" >&6
|
if test "$rtems_cv_HAS_ITRON_API" = "yes"; then
|
if test "$rtems_cv_HAS_ITRON_API" = "yes"; then
|
HAS_ITRON_API="yes";
|
HAS_ITRON_API="yes";
|
else
|
else
|
HAS_ITRON_API="no";
|
HAS_ITRON_API="no";
|
fi
|
fi
|
|
|
# Collect the files needed to build a BSP
|
# Collect the files needed to build a BSP
|
cfg_dir="${RTEMS_TOPdir}/make"
|
cfg_dir="${RTEMS_TOPdir}/make"
|
CUSTOM_CFG_FILES=""
|
CUSTOM_CFG_FILES=""
|
f="${RTEMS_BSP}.cfg"
|
f="${RTEMS_BSP}.cfg"
|
while test -n "$f"; do
|
while test -n "$f"; do
|
if test -r "${srcdir}/${cfg_dir}/custom/$f"; then
|
if test -r "${srcdir}/${cfg_dir}/custom/$f"; then
|
ac_config_links="$ac_config_links custom/$f:${cfg_dir}/custom/$f"
|
ac_config_links="$ac_config_links custom/$f:${cfg_dir}/custom/$f"
|
|
|
CUSTOM_CFG_FILES="$CUSTOM_CFG_FILES custom/$f"
|
CUSTOM_CFG_FILES="$CUSTOM_CFG_FILES custom/$f"
|
f=`grep "^include.*make/custom" ${srcdir}/${cfg_dir}/custom/$f \
|
f=`grep "^include.*make/custom" ${srcdir}/${cfg_dir}/custom/$f \
|
| sed \
|
| sed \
|
-e 's%^.*custom\/%%' \
|
-e 's%^.*custom\/%%' \
|
-e s%\$\(RTEMS_HOST\)%${RTEMS_HOST}% \
|
-e s%\$\(RTEMS_HOST\)%${RTEMS_HOST}% \
|
-e 's%default\.cfg%%'`;
|
-e 's%default\.cfg%%'`;
|
else break; fi;
|
else break; fi;
|
done
|
done
|
|
|
# Symlink the *.cfg files from the toplevel make directory into the build
|
# Symlink the *.cfg files from the toplevel make directory into the build
|
# trees c//make subdirectories
|
# trees c//make subdirectories
|
|
|
ac_config_links="$ac_config_links Templates/Makefile.lib:${cfg_dir}/Templates/Makefile.lib Templates/Makefile.leaf:${cfg_dir}/Templates/Makefile.leaf Templates/Makefile.dir:${cfg_dir}/Templates/Makefile.dir compilers/gcc-target-default.cfg:${cfg_dir}/compilers/gcc-target-default.cfg directory.cfg:${cfg_dir}/directory.cfg lib.cfg:${cfg_dir}/lib.cfg README:${cfg_dir}/README leaf.cfg:leaf.cfg"
|
ac_config_links="$ac_config_links Templates/Makefile.lib:${cfg_dir}/Templates/Makefile.lib Templates/Makefile.leaf:${cfg_dir}/Templates/Makefile.leaf Templates/Makefile.dir:${cfg_dir}/Templates/Makefile.dir compilers/gcc-target-default.cfg:${cfg_dir}/compilers/gcc-target-default.cfg directory.cfg:${cfg_dir}/directory.cfg lib.cfg:${cfg_dir}/lib.cfg README:${cfg_dir}/README leaf.cfg:leaf.cfg"
|
|
|
# Explicitly list all Makefiles here
|
# Explicitly list all Makefiles here
|
ac_config_files="$ac_config_files Makefile Makefile.inc host.cfg bsp.cfg custom/default.cfg"
|
ac_config_files="$ac_config_files Makefile Makefile.inc host.cfg bsp.cfg custom/default.cfg"
|
|
|
ac_config_commands="$ac_config_commands default"
|
ac_config_commands="$ac_config_commands default"
|
|
|
cat >confcache <<\_ACEOF
|
cat >confcache <<\_ACEOF
|
# This file is a shell script that caches the results of configure
|
# This file is a shell script that caches the results of configure
|
# tests run on this system so they can be shared between configure
|
# tests run on this system so they can be shared between configure
|
# scripts and configure runs, see configure's option --config-cache.
|
# scripts and configure runs, see configure's option --config-cache.
|
# It is not useful on other systems. If it contains results you don't
|
# It is not useful on other systems. If it contains results you don't
|
# want to keep, you may remove or edit it.
|
# want to keep, you may remove or edit it.
|
#
|
#
|
# config.status only pays attention to the cache file if you give it
|
# config.status only pays attention to the cache file if you give it
|
# the --recheck option to rerun configure.
|
# the --recheck option to rerun configure.
|
#
|
#
|
# `ac_cv_env_foo' variables (set or unset) will be overriden when
|
# `ac_cv_env_foo' variables (set or unset) will be overriden when
|
# loading this file, other *unset* `ac_cv_foo' will be assigned the
|
# loading this file, other *unset* `ac_cv_foo' will be assigned the
|
# following values.
|
# following values.
|
|
|
_ACEOF
|
_ACEOF
|
|
|
# The following way of writing the cache mishandles newlines in values,
|
# The following way of writing the cache mishandles newlines in values,
|
# but we know of no workaround that is simple, portable, and efficient.
|
# but we know of no workaround that is simple, portable, and efficient.
|
# So, don't put newlines in cache variables' values.
|
# So, don't put newlines in cache variables' values.
|
# Ultrix sh set writes to stderr and can't be redirected directly,
|
# Ultrix sh set writes to stderr and can't be redirected directly,
|
# and sets the high bit in the cache file unless we assign to the vars.
|
# and sets the high bit in the cache file unless we assign to the vars.
|
{
|
{
|
(set) 2>&1 |
|
(set) 2>&1 |
|
case `(ac_space=' '; set | grep ac_space) 2>&1` in
|
case `(ac_space=' '; set | grep ac_space) 2>&1` in
|
*ac_space=\ *)
|
*ac_space=\ *)
|
# `set' does not quote correctly, so add quotes (double-quote
|
# `set' does not quote correctly, so add quotes (double-quote
|
# substitution turns \\\\ into \\, and sed turns \\ into \).
|
# substitution turns \\\\ into \\, and sed turns \\ into \).
|
sed -n \
|
sed -n \
|
"s/'/'\\\\''/g;
|
"s/'/'\\\\''/g;
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
;;
|
;;
|
*)
|
*)
|
# `set' quotes correctly as required by POSIX, so do not add quotes.
|
# `set' quotes correctly as required by POSIX, so do not add quotes.
|
sed -n \
|
sed -n \
|
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
;;
|
;;
|
esac;
|
esac;
|
} |
|
} |
|
sed '
|
sed '
|
t clear
|
t clear
|
: clear
|
: clear
|
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
t end
|
t end
|
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
: end' >>confcache
|
: end' >>confcache
|
if cmp -s $cache_file confcache; then :; else
|
if cmp -s $cache_file confcache; then :; else
|
if test -w $cache_file; then
|
if test -w $cache_file; then
|
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
|
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
|
cat confcache >$cache_file
|
cat confcache >$cache_file
|
else
|
else
|
echo "not updating unwritable cache $cache_file"
|
echo "not updating unwritable cache $cache_file"
|
fi
|
fi
|
fi
|
fi
|
rm -f confcache
|
rm -f confcache
|
|
|
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
# Let make expand exec_prefix.
|
# Let make expand exec_prefix.
|
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
|
|
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
# trailing colons and then remove the whole line if VPATH becomes empty
|
# trailing colons and then remove the whole line if VPATH becomes empty
|
# (actually we leave an empty line to preserve line numbers).
|
# (actually we leave an empty line to preserve line numbers).
|
if test "x$srcdir" = x.; then
|
if test "x$srcdir" = x.; then
|
ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
s/:*\$(srcdir):*/:/;
|
s/:*\$(srcdir):*/:/;
|
s/:*\${srcdir}:*/:/;
|
s/:*\${srcdir}:*/:/;
|
s/:*@srcdir@:*/:/;
|
s/:*@srcdir@:*/:/;
|
s/^\([^=]*=[ ]*\):*/\1/;
|
s/^\([^=]*=[ ]*\):*/\1/;
|
s/:*$//;
|
s/:*$//;
|
s/^[^=]*=[ ]*$//;
|
s/^[^=]*=[ ]*$//;
|
}'
|
}'
|
fi
|
fi
|
|
|
# Transform confdefs.h into DEFS.
|
# Transform confdefs.h into DEFS.
|
# Protect against shell expansion while executing Makefile rules.
|
# Protect against shell expansion while executing Makefile rules.
|
# Protect against Makefile macro expansion.
|
# Protect against Makefile macro expansion.
|
#
|
#
|
# If the first sed substitution is executed (which looks for macros that
|
# If the first sed substitution is executed (which looks for macros that
|
# take arguments), then we branch to the quote section. Otherwise,
|
# take arguments), then we branch to the quote section. Otherwise,
|
# look for a macro that doesn't take arguments.
|
# look for a macro that doesn't take arguments.
|
cat >confdef2opt.sed <<\EOF
|
cat >confdef2opt.sed <<\EOF
|
t clear
|
t clear
|
: clear
|
: clear
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
|
t quote
|
t quote
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
|
t quote
|
t quote
|
d
|
d
|
: quote
|
: quote
|
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
|
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
|
s,\[,\\&,g
|
s,\[,\\&,g
|
s,\],\\&,g
|
s,\],\\&,g
|
s,\$,$$,g
|
s,\$,$$,g
|
p
|
p
|
EOF
|
EOF
|
# We use echo to avoid assuming a particular line-breaking character.
|
# We use echo to avoid assuming a particular line-breaking character.
|
# The extra dot is to prevent the shell from consuming trailing
|
# The extra dot is to prevent the shell from consuming trailing
|
# line-breaks from the sub-command output. A line-break within
|
# line-breaks from the sub-command output. A line-break within
|
# single-quotes doesn't work because, if this script is created in a
|
# single-quotes doesn't work because, if this script is created in a
|
# platform that uses two characters for line-breaks (e.g., DOS), tr
|
# platform that uses two characters for line-breaks (e.g., DOS), tr
|
# would break.
|
# would break.
|
ac_LF_and_DOT=`echo; echo .`
|
ac_LF_and_DOT=`echo; echo .`
|
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
|
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
|
rm -f confdef2opt.sed
|
rm -f confdef2opt.sed
|
|
|
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
|
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
|
{ { echo "$as_me:4552: error: conditional \"MAINTAINER_MODE\" was never defined.
|
{ { echo "$as_me:4552: error: conditional \"MAINTAINER_MODE\" was never defined.
|
Usually this means the macro was only invoked conditionally." >&5
|
Usually this means the macro was only invoked conditionally." >&5
|
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
|
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
|
Usually this means the macro was only invoked conditionally." >&2;}
|
Usually this means the macro was only invoked conditionally." >&2;}
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
fi
|
fi
|
if test -z "${MULTILIB_TRUE}" && test -z "${MULTILIB_FALSE}"; then
|
if test -z "${MULTILIB_TRUE}" && test -z "${MULTILIB_FALSE}"; then
|
{ { echo "$as_me:4559: error: conditional \"MULTILIB\" was never defined.
|
{ { echo "$as_me:4559: error: conditional \"MULTILIB\" was never defined.
|
Usually this means the macro was only invoked conditionally." >&5
|
Usually this means the macro was only invoked conditionally." >&5
|
echo "$as_me: error: conditional \"MULTILIB\" was never defined.
|
echo "$as_me: error: conditional \"MULTILIB\" was never defined.
|
Usually this means the macro was only invoked conditionally." >&2;}
|
Usually this means the macro was only invoked conditionally." >&2;}
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
fi
|
fi
|
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
|
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
|
{ { echo "$as_me:4566: error: conditional \"AMDEP\" was never defined.
|
{ { echo "$as_me:4566: error: conditional \"AMDEP\" was never defined.
|
Usually this means the macro was only invoked conditionally." >&5
|
Usually this means the macro was only invoked conditionally." >&5
|
echo "$as_me: error: conditional \"AMDEP\" was never defined.
|
echo "$as_me: error: conditional \"AMDEP\" was never defined.
|
Usually this means the macro was only invoked conditionally." >&2;}
|
Usually this means the macro was only invoked conditionally." >&2;}
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
fi
|
fi
|
if test -z "${RTEMS_USE_GCC_TRUE}" && test -z "${RTEMS_USE_GCC_FALSE}"; then
|
if test -z "${RTEMS_USE_GCC_TRUE}" && test -z "${RTEMS_USE_GCC_FALSE}"; then
|
{ { echo "$as_me:4573: error: conditional \"RTEMS_USE_GCC\" was never defined.
|
{ { echo "$as_me:4573: error: conditional \"RTEMS_USE_GCC\" was never defined.
|
Usually this means the macro was only invoked conditionally." >&5
|
Usually this means the macro was only invoked conditionally." >&5
|
echo "$as_me: error: conditional \"RTEMS_USE_GCC\" was never defined.
|
echo "$as_me: error: conditional \"RTEMS_USE_GCC\" was never defined.
|
Usually this means the macro was only invoked conditionally." >&2;}
|
Usually this means the macro was only invoked conditionally." >&2;}
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
fi
|
fi
|
if test -z "${MULTILIB_TRUE}" && test -z "${MULTILIB_FALSE}"; then
|
if test -z "${MULTILIB_TRUE}" && test -z "${MULTILIB_FALSE}"; then
|
{ { echo "$as_me:4580: error: conditional \"MULTILIB\" was never defined.
|
{ { echo "$as_me:4580: error: conditional \"MULTILIB\" was never defined.
|
Usually this means the macro was only invoked conditionally." >&5
|
Usually this means the macro was only invoked conditionally." >&5
|
echo "$as_me: error: conditional \"MULTILIB\" was never defined.
|
echo "$as_me: error: conditional \"MULTILIB\" was never defined.
|
Usually this means the macro was only invoked conditionally." >&2;}
|
Usually this means the macro was only invoked conditionally." >&2;}
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
fi
|
fi
|
|
|
: ${CONFIG_STATUS=./config.status}
|
: ${CONFIG_STATUS=./config.status}
|
ac_clean_files_save=$ac_clean_files
|
ac_clean_files_save=$ac_clean_files
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
{ echo "$as_me:4590: creating $CONFIG_STATUS" >&5
|
{ echo "$as_me:4590: creating $CONFIG_STATUS" >&5
|
echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
cat >$CONFIG_STATUS <<_ACEOF
|
cat >$CONFIG_STATUS <<_ACEOF
|
#! $SHELL
|
#! $SHELL
|
# Generated automatically by configure.
|
# Generated automatically by configure.
|
# Run this file to recreate the current configuration.
|
# Run this file to recreate the current configuration.
|
# Compiler output produced by configure, useful for debugging
|
# Compiler output produced by configure, useful for debugging
|
# configure, is in config.log if it exists.
|
# configure, is in config.log if it exists.
|
|
|
debug=false
|
debug=false
|
SHELL=\${CONFIG_SHELL-$SHELL}
|
SHELL=\${CONFIG_SHELL-$SHELL}
|
ac_cs_invocation="\$0 \$@"
|
ac_cs_invocation="\$0 \$@"
|
|
|
_ACEOF
|
_ACEOF
|
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
# Be Bourne compatible
|
# Be Bourne compatible
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
emulate sh
|
emulate sh
|
NULLCMD=:
|
NULLCMD=:
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
set -o posix
|
set -o posix
|
fi
|
fi
|
|
|
# Name of the executable.
|
# Name of the executable.
|
as_me=`echo "$0" |sed 's,.*[\\/],,'`
|
as_me=`echo "$0" |sed 's,.*[\\/],,'`
|
|
|
if expr a : '\(a\)' >/dev/null 2>&1; then
|
if expr a : '\(a\)' >/dev/null 2>&1; then
|
as_expr=expr
|
as_expr=expr
|
else
|
else
|
as_expr=false
|
as_expr=false
|
fi
|
fi
|
|
|
rm -f conf$$ conf$$.exe conf$$.file
|
rm -f conf$$ conf$$.exe conf$$.file
|
echo >conf$$.file
|
echo >conf$$.file
|
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
# We could just check for DJGPP; but this test a) works b) is more generic
|
# We could just check for DJGPP; but this test a) works b) is more generic
|
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
if test -f conf$$.exe; then
|
if test -f conf$$.exe; then
|
# Don't use ln at all; we don't have any links
|
# Don't use ln at all; we don't have any links
|
as_ln_s='cp -p'
|
as_ln_s='cp -p'
|
else
|
else
|
as_ln_s='ln -s'
|
as_ln_s='ln -s'
|
fi
|
fi
|
elif ln conf$$.file conf$$ 2>/dev/null; then
|
elif ln conf$$.file conf$$ 2>/dev/null; then
|
as_ln_s=ln
|
as_ln_s=ln
|
else
|
else
|
as_ln_s='cp -p'
|
as_ln_s='cp -p'
|
fi
|
fi
|
rm -f conf$$ conf$$.exe conf$$.file
|
rm -f conf$$ conf$$.exe conf$$.file
|
|
|
as_executable_p="test -f"
|
as_executable_p="test -f"
|
|
|
# Support unset when possible.
|
# Support unset when possible.
|
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
|
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
|
as_unset=unset
|
as_unset=unset
|
else
|
else
|
as_unset=false
|
as_unset=false
|
fi
|
fi
|
|
|
# NLS nuisances.
|
# NLS nuisances.
|
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
|
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
|
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
|
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
|
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
|
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
|
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
|
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
|
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
|
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
|
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
|
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
|
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
|
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
|
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
|
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
|
|
|
# IFS
|
# IFS
|
# We need space, tab and new line, in precisely that order.
|
# We need space, tab and new line, in precisely that order.
|
as_nl='
|
as_nl='
|
'
|
'
|
IFS=" $as_nl"
|
IFS=" $as_nl"
|
|
|
# CDPATH.
|
# CDPATH.
|
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
|
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
|
|
|
exec 6>&1
|
exec 6>&1
|
|
|
_ACEOF
|
_ACEOF
|
|
|
# Files that config.status was made for.
|
# Files that config.status was made for.
|
if test -n "$ac_config_files"; then
|
if test -n "$ac_config_files"; then
|
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
|
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
|
fi
|
fi
|
|
|
if test -n "$ac_config_headers"; then
|
if test -n "$ac_config_headers"; then
|
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
|
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
|
fi
|
fi
|
|
|
if test -n "$ac_config_links"; then
|
if test -n "$ac_config_links"; then
|
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
|
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
|
fi
|
fi
|
|
|
if test -n "$ac_config_commands"; then
|
if test -n "$ac_config_commands"; then
|
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
|
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
|
fi
|
fi
|
|
|
cat >>$CONFIG_STATUS <<\EOF
|
cat >>$CONFIG_STATUS <<\EOF
|
|
|
ac_cs_usage="\
|
ac_cs_usage="\
|
\`$as_me' instantiates files from templates according to the
|
\`$as_me' instantiates files from templates according to the
|
current configuration.
|
current configuration.
|
|
|
Usage: $0 [OPTIONS] [FILE]...
|
Usage: $0 [OPTIONS] [FILE]...
|
|
|
-h, --help print this help, then exit
|
-h, --help print this help, then exit
|
-V, --version print version number, then exit
|
-V, --version print version number, then exit
|
-d, --debug don't remove temporary files
|
-d, --debug don't remove temporary files
|
--recheck update $as_me by reconfiguring in the same conditions
|
--recheck update $as_me by reconfiguring in the same conditions
|
--file=FILE[:TEMPLATE]
|
--file=FILE[:TEMPLATE]
|
instantiate the configuration file FILE
|
instantiate the configuration file FILE
|
|
|
Configuration files:
|
Configuration files:
|
$config_files
|
$config_files
|
|
|
Configuration links:
|
Configuration links:
|
$config_links
|
$config_links
|
|
|
Configuration commands:
|
Configuration commands:
|
$config_commands
|
$config_commands
|
|
|
Report bugs to ."
|
Report bugs to ."
|
EOF
|
EOF
|
|
|
cat >>$CONFIG_STATUS <
|
cat >>$CONFIG_STATUS <
|
ac_cs_version="\\
|
ac_cs_version="\\
|
rtems-c-src-make config.status ss-20020807
|
rtems-c-src-make config.status ss-20020807
|
configured by $0, generated by GNU Autoconf 2.52,
|
configured by $0, generated by GNU Autoconf 2.52,
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
|
|
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
|
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
|
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
This config.status script is free software; the Free Software Foundation
|
This config.status script is free software; the Free Software Foundation
|
gives unlimited permission to copy, distribute and modify it."
|
gives unlimited permission to copy, distribute and modify it."
|
srcdir=$srcdir
|
srcdir=$srcdir
|
INSTALL="$INSTALL"
|
INSTALL="$INSTALL"
|
EOF
|
EOF
|
|
|
cat >>$CONFIG_STATUS <<\EOF
|
cat >>$CONFIG_STATUS <<\EOF
|
# If no file are specified by the user, then we need to provide default
|
# If no file are specified by the user, then we need to provide default
|
# value. By we need to know if files were specified by the user.
|
# value. By we need to know if files were specified by the user.
|
ac_need_defaults=:
|
ac_need_defaults=:
|
while test $# != 0
|
while test $# != 0
|
do
|
do
|
case $1 in
|
case $1 in
|
--*=*)
|
--*=*)
|
ac_option=`expr "x$1" : 'x\([^=]*\)='`
|
ac_option=`expr "x$1" : 'x\([^=]*\)='`
|
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
|
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
|
shift
|
shift
|
set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
|
set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
|
shift
|
shift
|
;;
|
;;
|
-*);;
|
-*);;
|
*) # This is not an option, so the user has probably given explicit
|
*) # This is not an option, so the user has probably given explicit
|
# arguments.
|
# arguments.
|
ac_need_defaults=false;;
|
ac_need_defaults=false;;
|
esac
|
esac
|
|
|
case $1 in
|
case $1 in
|
# Handling of the options.
|
# Handling of the options.
|
EOF
|
EOF
|
cat >>$CONFIG_STATUS <
|
cat >>$CONFIG_STATUS <
|
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
|
echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
|
exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
|
exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
|
EOF
|
EOF
|
cat >>$CONFIG_STATUS <<\EOF
|
cat >>$CONFIG_STATUS <<\EOF
|
--version | --vers* | -V )
|
--version | --vers* | -V )
|
echo "$ac_cs_version"; exit 0 ;;
|
echo "$ac_cs_version"; exit 0 ;;
|
--he | --h)
|
--he | --h)
|
# Conflict between --help and --header
|
# Conflict between --help and --header
|
{ { echo "$as_me:4764: error: ambiguous option: $1
|
{ { echo "$as_me:4764: error: ambiguous option: $1
|
Try \`$0 --help' for more information." >&5
|
Try \`$0 --help' for more information." >&5
|
echo "$as_me: error: ambiguous option: $1
|
echo "$as_me: error: ambiguous option: $1
|
Try \`$0 --help' for more information." >&2;}
|
Try \`$0 --help' for more information." >&2;}
|
{ (exit 1); exit 1; }; };;
|
{ (exit 1); exit 1; }; };;
|
--help | --hel | -h )
|
--help | --hel | -h )
|
echo "$ac_cs_usage"; exit 0 ;;
|
echo "$ac_cs_usage"; exit 0 ;;
|
--debug | --d* | -d )
|
--debug | --d* | -d )
|
debug=: ;;
|
debug=: ;;
|
--file | --fil | --fi | --f )
|
--file | --fil | --fi | --f )
|
shift
|
shift
|
CONFIG_FILES="$CONFIG_FILES $1"
|
CONFIG_FILES="$CONFIG_FILES $1"
|
ac_need_defaults=false;;
|
ac_need_defaults=false;;
|
--header | --heade | --head | --hea )
|
--header | --heade | --head | --hea )
|
shift
|
shift
|
CONFIG_HEADERS="$CONFIG_HEADERS $1"
|
CONFIG_HEADERS="$CONFIG_HEADERS $1"
|
ac_need_defaults=false;;
|
ac_need_defaults=false;;
|
|
|
# This is an error.
|
# This is an error.
|
-*) { { echo "$as_me:4783: error: unrecognized option: $1
|
-*) { { echo "$as_me:4783: error: unrecognized option: $1
|
Try \`$0 --help' for more information." >&5
|
Try \`$0 --help' for more information." >&5
|
echo "$as_me: error: unrecognized option: $1
|
echo "$as_me: error: unrecognized option: $1
|
Try \`$0 --help' for more information." >&2;}
|
Try \`$0 --help' for more information." >&2;}
|
{ (exit 1); exit 1; }; } ;;
|
{ (exit 1); exit 1; }; } ;;
|
|
|
*) ac_config_targets="$ac_config_targets $1" ;;
|
*) ac_config_targets="$ac_config_targets $1" ;;
|
|
|
esac
|
esac
|
shift
|
shift
|
done
|
done
|
|
|
exec 5>>config.log
|
exec 5>>config.log
|
cat >&5 << _ACEOF
|
cat >&5 << _ACEOF
|
|
|
## ----------------------- ##
|
## ----------------------- ##
|
## Running config.status. ##
|
## Running config.status. ##
|
## ----------------------- ##
|
## ----------------------- ##
|
|
|
This file was extended by $as_me (rtems-c-src-make ss-20020807) 2.52, executed with
|
This file was extended by $as_me (rtems-c-src-make ss-20020807) 2.52, executed with
|
CONFIG_FILES = $CONFIG_FILES
|
CONFIG_FILES = $CONFIG_FILES
|
CONFIG_HEADERS = $CONFIG_HEADERS
|
CONFIG_HEADERS = $CONFIG_HEADERS
|
CONFIG_LINKS = $CONFIG_LINKS
|
CONFIG_LINKS = $CONFIG_LINKS
|
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
> $ac_cs_invocation
|
> $ac_cs_invocation
|
on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
|
|
_ACEOF
|
_ACEOF
|
EOF
|
EOF
|
|
|
cat >>$CONFIG_STATUS <
|
cat >>$CONFIG_STATUS <
|
#
|
#
|
# INIT-COMMANDS section.
|
# INIT-COMMANDS section.
|
#
|
#
|
|
|
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
|
|
RTEMS_TOPdir=${RTEMS_TOPdir}
|
RTEMS_TOPdir=${RTEMS_TOPdir}
|
cfg_dir=${cfg_dir}
|
cfg_dir=${cfg_dir}
|
|
|
MAKE=${MAKE-make}
|
MAKE=${MAKE-make}
|
RTEMS_BSP=${RTEMS_BSP}
|
RTEMS_BSP=${RTEMS_BSP}
|
|
|
EOF
|
EOF
|
|
|
cat >>$CONFIG_STATUS <<\EOF
|
cat >>$CONFIG_STATUS <<\EOF
|
for ac_config_target in $ac_config_targets
|
for ac_config_target in $ac_config_targets
|
do
|
do
|
case "$ac_config_target" in
|
case "$ac_config_target" in
|
# Handling of arguments.
|
# Handling of arguments.
|
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
"Makefile.inc" ) CONFIG_FILES="$CONFIG_FILES Makefile.inc" ;;
|
"Makefile.inc" ) CONFIG_FILES="$CONFIG_FILES Makefile.inc" ;;
|
"host.cfg" ) CONFIG_FILES="$CONFIG_FILES host.cfg" ;;
|
"host.cfg" ) CONFIG_FILES="$CONFIG_FILES host.cfg" ;;
|
"bsp.cfg" ) CONFIG_FILES="$CONFIG_FILES bsp.cfg" ;;
|
"bsp.cfg" ) CONFIG_FILES="$CONFIG_FILES bsp.cfg" ;;
|
"custom/default.cfg" ) CONFIG_FILES="$CONFIG_FILES custom/default.cfg" ;;
|
"custom/default.cfg" ) CONFIG_FILES="$CONFIG_FILES custom/default.cfg" ;;
|
"custom/$f" ) CONFIG_LINKS="$CONFIG_LINKS custom/$f:${cfg_dir}/custom/$f" ;;
|
"custom/$f" ) CONFIG_LINKS="$CONFIG_LINKS custom/$f:${cfg_dir}/custom/$f" ;;
|
"Templates/Makefile.lib" ) CONFIG_LINKS="$CONFIG_LINKS Templates/Makefile.lib:${cfg_dir}/Templates/Makefile.lib" ;;
|
"Templates/Makefile.lib" ) CONFIG_LINKS="$CONFIG_LINKS Templates/Makefile.lib:${cfg_dir}/Templates/Makefile.lib" ;;
|
"Templates/Makefile.leaf" ) CONFIG_LINKS="$CONFIG_LINKS Templates/Makefile.leaf:${cfg_dir}/Templates/Makefile.leaf" ;;
|
"Templates/Makefile.leaf" ) CONFIG_LINKS="$CONFIG_LINKS Templates/Makefile.leaf:${cfg_dir}/Templates/Makefile.leaf" ;;
|
"Templates/Makefile.dir" ) CONFIG_LINKS="$CONFIG_LINKS Templates/Makefile.dir:${cfg_dir}/Templates/Makefile.dir" ;;
|
"Templates/Makefile.dir" ) CONFIG_LINKS="$CONFIG_LINKS Templates/Makefile.dir:${cfg_dir}/Templates/Makefile.dir" ;;
|
"compilers/gcc-target-default.cfg" ) CONFIG_LINKS="$CONFIG_LINKS compilers/gcc-target-default.cfg:${cfg_dir}/compilers/gcc-target-default.cfg" ;;
|
"compilers/gcc-target-default.cfg" ) CONFIG_LINKS="$CONFIG_LINKS compilers/gcc-target-default.cfg:${cfg_dir}/compilers/gcc-target-default.cfg" ;;
|
"directory.cfg" ) CONFIG_LINKS="$CONFIG_LINKS directory.cfg:${cfg_dir}/directory.cfg" ;;
|
"directory.cfg" ) CONFIG_LINKS="$CONFIG_LINKS directory.cfg:${cfg_dir}/directory.cfg" ;;
|
"lib.cfg" ) CONFIG_LINKS="$CONFIG_LINKS lib.cfg:${cfg_dir}/lib.cfg" ;;
|
"lib.cfg" ) CONFIG_LINKS="$CONFIG_LINKS lib.cfg:${cfg_dir}/lib.cfg" ;;
|
"README" ) CONFIG_LINKS="$CONFIG_LINKS README:${cfg_dir}/README" ;;
|
"README" ) CONFIG_LINKS="$CONFIG_LINKS README:${cfg_dir}/README" ;;
|
"leaf.cfg" ) CONFIG_LINKS="$CONFIG_LINKS leaf.cfg:leaf.cfg" ;;
|
"leaf.cfg" ) CONFIG_LINKS="$CONFIG_LINKS leaf.cfg:leaf.cfg" ;;
|
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
"default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
|
"default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
|
*) { { echo "$as_me:4849: error: invalid argument: $ac_config_target" >&5
|
*) { { echo "$as_me:4849: error: invalid argument: $ac_config_target" >&5
|
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
{ (exit 1); exit 1; }; };;
|
{ (exit 1); exit 1; }; };;
|
esac
|
esac
|
done
|
done
|
|
|
# If the user did not use the arguments to specify the items to instantiate,
|
# If the user did not use the arguments to specify the items to instantiate,
|
# then the envvar interface is used. Set only those that are not.
|
# then the envvar interface is used. Set only those that are not.
|
# We use the long form for the default assignment because of an extremely
|
# We use the long form for the default assignment because of an extremely
|
# bizarre bug on SunOS 4.1.3.
|
# bizarre bug on SunOS 4.1.3.
|
if $ac_need_defaults; then
|
if $ac_need_defaults; then
|
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
|
test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
|
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
fi
|
fi
|
|
|
# Create a temporary directory, and hook for its removal unless debugging.
|
# Create a temporary directory, and hook for its removal unless debugging.
|
$debug ||
|
$debug ||
|
{
|
{
|
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
|
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
|
trap '{ (exit 1); exit 1; }' 1 2 13 15
|
trap '{ (exit 1); exit 1; }' 1 2 13 15
|
}
|
}
|
|
|
# Create a (secure) tmp directory for tmp files.
|
# Create a (secure) tmp directory for tmp files.
|
: ${TMPDIR=/tmp}
|
: ${TMPDIR=/tmp}
|
{
|
{
|
tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
|
tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
|
test -n "$tmp" && test -d "$tmp"
|
test -n "$tmp" && test -d "$tmp"
|
} ||
|
} ||
|
{
|
{
|
tmp=$TMPDIR/cs$$-$RANDOM
|
tmp=$TMPDIR/cs$$-$RANDOM
|
(umask 077 && mkdir $tmp)
|
(umask 077 && mkdir $tmp)
|
} ||
|
} ||
|
{
|
{
|
echo "$me: cannot create a temporary directory in $TMPDIR" >&2
|
echo "$me: cannot create a temporary directory in $TMPDIR" >&2
|
{ (exit 1); exit 1; }
|
{ (exit 1); exit 1; }
|
}
|
}
|
|
|
EOF
|
EOF
|
|
|
cat >>$CONFIG_STATUS <
|
cat >>$CONFIG_STATUS <
|
|
|
#
|
#
|
# CONFIG_FILES section.
|
# CONFIG_FILES section.
|
#
|
#
|
|
|
# No need to generate the scripts if there are no CONFIG_FILES.
|
# No need to generate the scripts if there are no CONFIG_FILES.
|
# This happens for instance when ./config.status config.h
|
# This happens for instance when ./config.status config.h
|
if test -n "\$CONFIG_FILES"; then
|
if test -n "\$CONFIG_FILES"; then
|
# Protect against being on the right side of a sed subst in config.status.
|
# Protect against being on the right side of a sed subst in config.status.
|
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
|
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
|
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
|
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
|
s,@SHELL@,$SHELL,;t t
|
s,@SHELL@,$SHELL,;t t
|
s,@exec_prefix@,$exec_prefix,;t t
|
s,@exec_prefix@,$exec_prefix,;t t
|
s,@prefix@,$prefix,;t t
|
s,@prefix@,$prefix,;t t
|
s,@program_transform_name@,$program_transform_name,;t t
|
s,@program_transform_name@,$program_transform_name,;t t
|
s,@bindir@,$bindir,;t t
|
s,@bindir@,$bindir,;t t
|
s,@sbindir@,$sbindir,;t t
|
s,@sbindir@,$sbindir,;t t
|
s,@libexecdir@,$libexecdir,;t t
|
s,@libexecdir@,$libexecdir,;t t
|
s,@datadir@,$datadir,;t t
|
s,@datadir@,$datadir,;t t
|
s,@sysconfdir@,$sysconfdir,;t t
|
s,@sysconfdir@,$sysconfdir,;t t
|
s,@sharedstatedir@,$sharedstatedir,;t t
|
s,@sharedstatedir@,$sharedstatedir,;t t
|
s,@localstatedir@,$localstatedir,;t t
|
s,@localstatedir@,$localstatedir,;t t
|
s,@libdir@,$libdir,;t t
|
s,@libdir@,$libdir,;t t
|
s,@includedir@,$includedir,;t t
|
s,@includedir@,$includedir,;t t
|
s,@oldincludedir@,$oldincludedir,;t t
|
s,@oldincludedir@,$oldincludedir,;t t
|
s,@infodir@,$infodir,;t t
|
s,@infodir@,$infodir,;t t
|
s,@mandir@,$mandir,;t t
|
s,@mandir@,$mandir,;t t
|
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
|
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
|
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
|
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
|
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
|
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
|
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
|
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
|
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
|
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
|
s,@build_alias@,$build_alias,;t t
|
s,@build_alias@,$build_alias,;t t
|
s,@host_alias@,$host_alias,;t t
|
s,@host_alias@,$host_alias,;t t
|
s,@target_alias@,$target_alias,;t t
|
s,@target_alias@,$target_alias,;t t
|
s,@ECHO_C@,$ECHO_C,;t t
|
s,@ECHO_C@,$ECHO_C,;t t
|
s,@ECHO_N@,$ECHO_N,;t t
|
s,@ECHO_N@,$ECHO_N,;t t
|
s,@ECHO_T@,$ECHO_T,;t t
|
s,@ECHO_T@,$ECHO_T,;t t
|
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
|
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
|
s,@DEFS@,$DEFS,;t t
|
s,@DEFS@,$DEFS,;t t
|
s,@LIBS@,$LIBS,;t t
|
s,@LIBS@,$LIBS,;t t
|
s,@MAKE@,$MAKE,;t t
|
s,@MAKE@,$MAKE,;t t
|
s,@ENDIF@,$ENDIF,;t t
|
s,@ENDIF@,$ENDIF,;t t
|
s,@RTEMS_TOPdir@,$RTEMS_TOPdir,;t t
|
s,@RTEMS_TOPdir@,$RTEMS_TOPdir,;t t
|
s,@PROJECT_TOPdir@,$PROJECT_TOPdir,;t t
|
s,@PROJECT_TOPdir@,$PROJECT_TOPdir,;t t
|
s,@PROJECT_ROOT@,$PROJECT_ROOT,;t t
|
s,@PROJECT_ROOT@,$PROJECT_ROOT,;t t
|
s,@build@,$build,;t t
|
s,@build@,$build,;t t
|
s,@build_cpu@,$build_cpu,;t t
|
s,@build_cpu@,$build_cpu,;t t
|
s,@build_vendor@,$build_vendor,;t t
|
s,@build_vendor@,$build_vendor,;t t
|
s,@build_os@,$build_os,;t t
|
s,@build_os@,$build_os,;t t
|
s,@host@,$host,;t t
|
s,@host@,$host,;t t
|
s,@host_cpu@,$host_cpu,;t t
|
s,@host_cpu@,$host_cpu,;t t
|
s,@host_vendor@,$host_vendor,;t t
|
s,@host_vendor@,$host_vendor,;t t
|
s,@host_os@,$host_os,;t t
|
s,@host_os@,$host_os,;t t
|
s,@target@,$target,;t t
|
s,@target@,$target,;t t
|
s,@target_cpu@,$target_cpu,;t t
|
s,@target_cpu@,$target_cpu,;t t
|
s,@target_vendor@,$target_vendor,;t t
|
s,@target_vendor@,$target_vendor,;t t
|
s,@target_os@,$target_os,;t t
|
s,@target_os@,$target_os,;t t
|
s,@RTEMS_CPU@,$RTEMS_CPU,;t t
|
s,@RTEMS_CPU@,$RTEMS_CPU,;t t
|
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
|
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
|
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
|
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
|
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
|
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
|
s,@PACKAGE@,$PACKAGE,;t t
|
s,@PACKAGE@,$PACKAGE,;t t
|
s,@VERSION@,$VERSION,;t t
|
s,@VERSION@,$VERSION,;t t
|
s,@ACLOCAL@,$ACLOCAL,;t t
|
s,@ACLOCAL@,$ACLOCAL,;t t
|
s,@AUTOCONF@,$AUTOCONF,;t t
|
s,@AUTOCONF@,$AUTOCONF,;t t
|
s,@AUTOMAKE@,$AUTOMAKE,;t t
|
s,@AUTOMAKE@,$AUTOMAKE,;t t
|
s,@AUTOHEADER@,$AUTOHEADER,;t t
|
s,@AUTOHEADER@,$AUTOHEADER,;t t
|
s,@MAKEINFO@,$MAKEINFO,;t t
|
s,@MAKEINFO@,$MAKEINFO,;t t
|
s,@AMTAR@,$AMTAR,;t t
|
s,@AMTAR@,$AMTAR,;t t
|
s,@install_sh@,$install_sh,;t t
|
s,@install_sh@,$install_sh,;t t
|
s,@STRIP@,$STRIP,;t t
|
s,@STRIP@,$STRIP,;t t
|
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
|
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
|
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
|
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
|
s,@AWK@,$AWK,;t t
|
s,@AWK@,$AWK,;t t
|
s,@SET_MAKE@,$SET_MAKE,;t t
|
s,@SET_MAKE@,$SET_MAKE,;t t
|
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
|
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
|
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
|
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
|
s,@MAINT@,$MAINT,;t t
|
s,@MAINT@,$MAINT,;t t
|
s,@RTEMS_HAS_POSIX_API@,$RTEMS_HAS_POSIX_API,;t t
|
s,@RTEMS_HAS_POSIX_API@,$RTEMS_HAS_POSIX_API,;t t
|
s,@RTEMS_HAS_ITRON_API@,$RTEMS_HAS_ITRON_API,;t t
|
s,@RTEMS_HAS_ITRON_API@,$RTEMS_HAS_ITRON_API,;t t
|
s,@RTEMS_HAS_NETWORKING@,$RTEMS_HAS_NETWORKING,;t t
|
s,@RTEMS_HAS_NETWORKING@,$RTEMS_HAS_NETWORKING,;t t
|
s,@RTEMS_HAS_RDBG@,$RTEMS_HAS_RDBG,;t t
|
s,@RTEMS_HAS_RDBG@,$RTEMS_HAS_RDBG,;t t
|
s,@RTEMS_USE_MACROS@,$RTEMS_USE_MACROS,;t t
|
s,@RTEMS_USE_MACROS@,$RTEMS_USE_MACROS,;t t
|
s,@RTEMS_BSP@,$RTEMS_BSP,;t t
|
s,@RTEMS_BSP@,$RTEMS_BSP,;t t
|
s,@RTEMS_BSP_SPECS@,$RTEMS_BSP_SPECS,;t t
|
s,@RTEMS_BSP_SPECS@,$RTEMS_BSP_SPECS,;t t
|
s,@GCC_SPECS@,$GCC_SPECS,;t t
|
s,@GCC_SPECS@,$GCC_SPECS,;t t
|
s,@PROJECT_INCLUDE@,$PROJECT_INCLUDE,;t t
|
s,@PROJECT_INCLUDE@,$PROJECT_INCLUDE,;t t
|
s,@PROJECT_RELEASE@,$PROJECT_RELEASE,;t t
|
s,@PROJECT_RELEASE@,$PROJECT_RELEASE,;t t
|
s,@RTEMS_ROOT@,$RTEMS_ROOT,;t t
|
s,@RTEMS_ROOT@,$RTEMS_ROOT,;t t
|
s,@BARE_CPU_MODEL@,$BARE_CPU_MODEL,;t t
|
s,@BARE_CPU_MODEL@,$BARE_CPU_MODEL,;t t
|
s,@BARE_CPU_CFLAGS@,$BARE_CPU_CFLAGS,;t t
|
s,@BARE_CPU_CFLAGS@,$BARE_CPU_CFLAGS,;t t
|
s,@MULTILIB_TRUE@,$MULTILIB_TRUE,;t t
|
s,@MULTILIB_TRUE@,$MULTILIB_TRUE,;t t
|
s,@MULTILIB_FALSE@,$MULTILIB_FALSE,;t t
|
s,@MULTILIB_FALSE@,$MULTILIB_FALSE,;t t
|
s,@bsplibdir@,$bsplibdir,;t t
|
s,@bsplibdir@,$bsplibdir,;t t
|
s,@CAT@,$CAT,;t t
|
s,@CAT@,$CAT,;t t
|
s,@CP@,$CP,;t t
|
s,@CP@,$CP,;t t
|
s,@MV@,$MV,;t t
|
s,@MV@,$MV,;t t
|
s,@LN@,$LN,;t t
|
s,@LN@,$LN,;t t
|
s,@LN_S@,$LN_S,;t t
|
s,@LN_S@,$LN_S,;t t
|
s,@CHMOD@,$CHMOD,;t t
|
s,@CHMOD@,$CHMOD,;t t
|
s,@SORT@,$SORT,;t t
|
s,@SORT@,$SORT,;t t
|
s,@PERL@,$PERL,;t t
|
s,@PERL@,$PERL,;t t
|
s,@TOUCH@,$TOUCH,;t t
|
s,@TOUCH@,$TOUCH,;t t
|
s,@CMP@,$CMP,;t t
|
s,@CMP@,$CMP,;t t
|
s,@SED@,$SED,;t t
|
s,@SED@,$SED,;t t
|
s,@M4@,$M4,;t t
|
s,@M4@,$M4,;t t
|
s,@KSH@,$KSH,;t t
|
s,@KSH@,$KSH,;t t
|
s,@RTEMS_HOST@,$RTEMS_HOST,;t t
|
s,@RTEMS_HOST@,$RTEMS_HOST,;t t
|
s,@PACKHEX@,$PACKHEX,;t t
|
s,@PACKHEX@,$PACKHEX,;t t
|
s,@CC@,$CC,;t t
|
s,@CC@,$CC,;t t
|
s,@CFLAGS@,$CFLAGS,;t t
|
s,@CFLAGS@,$CFLAGS,;t t
|
s,@LDFLAGS@,$LDFLAGS,;t t
|
s,@LDFLAGS@,$LDFLAGS,;t t
|
s,@CPPFLAGS@,$CPPFLAGS,;t t
|
s,@CPPFLAGS@,$CPPFLAGS,;t t
|
s,@ac_ct_CC@,$ac_ct_CC,;t t
|
s,@ac_ct_CC@,$ac_ct_CC,;t t
|
s,@EXEEXT@,$EXEEXT,;t t
|
s,@EXEEXT@,$EXEEXT,;t t
|
s,@OBJEXT@,$OBJEXT,;t t
|
s,@OBJEXT@,$OBJEXT,;t t
|
s,@DEPDIR@,$DEPDIR,;t t
|
s,@DEPDIR@,$DEPDIR,;t t
|
s,@am__include@,$am__include,;t t
|
s,@am__include@,$am__include,;t t
|
s,@am__quote@,$am__quote,;t t
|
s,@am__quote@,$am__quote,;t t
|
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
|
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
|
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
|
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
|
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
|
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
|
s,@CCDEPMODE@,$CCDEPMODE,;t t
|
s,@CCDEPMODE@,$CCDEPMODE,;t t
|
s,@CPP@,$CPP,;t t
|
s,@CPP@,$CPP,;t t
|
s,@RTEMS_USE_GCC_TRUE@,$RTEMS_USE_GCC_TRUE,;t t
|
s,@RTEMS_USE_GCC_TRUE@,$RTEMS_USE_GCC_TRUE,;t t
|
s,@RTEMS_USE_GCC_FALSE@,$RTEMS_USE_GCC_FALSE,;t t
|
s,@RTEMS_USE_GCC_FALSE@,$RTEMS_USE_GCC_FALSE,;t t
|
s,@GCCSED@,$GCCSED,;t t
|
s,@GCCSED@,$GCCSED,;t t
|
s,@CXX@,$CXX,;t t
|
s,@CXX@,$CXX,;t t
|
s,@CXXFLAGS@,$CXXFLAGS,;t t
|
s,@CXXFLAGS@,$CXXFLAGS,;t t
|
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
|
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
|
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
|
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
|
s,@AR@,$AR,;t t
|
s,@AR@,$AR,;t t
|
s,@AS@,$AS,;t t
|
s,@AS@,$AS,;t t
|
s,@LD@,$LD,;t t
|
s,@LD@,$LD,;t t
|
s,@NM@,$NM,;t t
|
s,@NM@,$NM,;t t
|
s,@RANLIB@,$RANLIB,;t t
|
s,@RANLIB@,$RANLIB,;t t
|
s,@OBJCOPY@,$OBJCOPY,;t t
|
s,@OBJCOPY@,$OBJCOPY,;t t
|
s,@SIZE@,$SIZE,;t t
|
s,@SIZE@,$SIZE,;t t
|
s,@RTEMS_GAS_CODE16@,$RTEMS_GAS_CODE16,;t t
|
s,@RTEMS_GAS_CODE16@,$RTEMS_GAS_CODE16,;t t
|
s,@HAS_MP@,$HAS_MP,;t t
|
s,@HAS_MP@,$HAS_MP,;t t
|
s,@HAS_NETWORKING@,$HAS_NETWORKING,;t t
|
s,@HAS_NETWORKING@,$HAS_NETWORKING,;t t
|
s,@HAS_RDBG@,$HAS_RDBG,;t t
|
s,@HAS_RDBG@,$HAS_RDBG,;t t
|
s,@HAS_POSIX_API@,$HAS_POSIX_API,;t t
|
s,@HAS_POSIX_API@,$HAS_POSIX_API,;t t
|
s,@HAS_CPLUSPLUS@,$HAS_CPLUSPLUS,;t t
|
s,@HAS_CPLUSPLUS@,$HAS_CPLUSPLUS,;t t
|
s,@CPLUS_LD_LIBS@,$CPLUS_LD_LIBS,;t t
|
s,@CPLUS_LD_LIBS@,$CPLUS_LD_LIBS,;t t
|
s,@HAS_ITRON_API@,$HAS_ITRON_API,;t t
|
s,@HAS_ITRON_API@,$HAS_ITRON_API,;t t
|
s,@rtems_cv_prog_cc_cross@,$rtems_cv_prog_cc_cross,;t t
|
s,@rtems_cv_prog_cc_cross@,$rtems_cv_prog_cc_cross,;t t
|
s,@RTEMS_HAS_CPLUSPLUS@,$RTEMS_HAS_CPLUSPLUS,;t t
|
s,@RTEMS_HAS_CPLUSPLUS@,$RTEMS_HAS_CPLUSPLUS,;t t
|
s,@program_prefix@,$program_prefix,;t t
|
s,@program_prefix@,$program_prefix,;t t
|
s,@CC_CFLAGS_DEFAULT@,$CC_CFLAGS_DEFAULT,;t t
|
s,@CC_CFLAGS_DEFAULT@,$CC_CFLAGS_DEFAULT,;t t
|
s,@CC_CFLAGS_DEBUG_V@,$CC_CFLAGS_DEBUG_V,;t t
|
s,@CC_CFLAGS_DEBUG_V@,$CC_CFLAGS_DEBUG_V,;t t
|
s,@CC_CFLAGS_PROFILE_V@,$CC_CFLAGS_PROFILE_V,;t t
|
s,@CC_CFLAGS_PROFILE_V@,$CC_CFLAGS_PROFILE_V,;t t
|
s,@CC_LDFLAGS_PROFILE_V@,$CC_LDFLAGS_PROFILE_V,;t t
|
s,@CC_LDFLAGS_PROFILE_V@,$CC_LDFLAGS_PROFILE_V,;t t
|
s,@CUSTOM_CFG_FILES@,$CUSTOM_CFG_FILES,;t t
|
s,@CUSTOM_CFG_FILES@,$CUSTOM_CFG_FILES,;t t
|
s,@cfg_dir@,$cfg_dir,;t t
|
s,@cfg_dir@,$cfg_dir,;t t
|
CEOF
|
CEOF
|
|
|
EOF
|
EOF
|
|
|
cat >>$CONFIG_STATUS <<\EOF
|
cat >>$CONFIG_STATUS <<\EOF
|
# Split the substitutions into bite-sized pieces for seds with
|
# Split the substitutions into bite-sized pieces for seds with
|
# small command number limits, like on Digital OSF/1 and HP-UX.
|
# small command number limits, like on Digital OSF/1 and HP-UX.
|
ac_max_sed_lines=48
|
ac_max_sed_lines=48
|
ac_sed_frag=1 # Number of current file.
|
ac_sed_frag=1 # Number of current file.
|
ac_beg=1 # First line for current file.
|
ac_beg=1 # First line for current file.
|
ac_end=$ac_max_sed_lines # Line after last line for current file.
|
ac_end=$ac_max_sed_lines # Line after last line for current file.
|
ac_more_lines=:
|
ac_more_lines=:
|
ac_sed_cmds=
|
ac_sed_cmds=
|
while $ac_more_lines; do
|
while $ac_more_lines; do
|
if test $ac_beg -gt 1; then
|
if test $ac_beg -gt 1; then
|
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
else
|
else
|
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
fi
|
fi
|
if test ! -s $tmp/subs.frag; then
|
if test ! -s $tmp/subs.frag; then
|
ac_more_lines=false
|
ac_more_lines=false
|
else
|
else
|
# The purpose of the label and of the branching condition is to
|
# The purpose of the label and of the branching condition is to
|
# speed up the sed processing (if there are no `@' at all, there
|
# speed up the sed processing (if there are no `@' at all, there
|
# is no need to browse any of the substitutions).
|
# is no need to browse any of the substitutions).
|
# These are the two extra sed commands mentioned above.
|
# These are the two extra sed commands mentioned above.
|
(echo ':t
|
(echo ':t
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
|
if test -z "$ac_sed_cmds"; then
|
if test -z "$ac_sed_cmds"; then
|
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
|
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
|
else
|
else
|
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
|
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
|
fi
|
fi
|
ac_sed_frag=`expr $ac_sed_frag + 1`
|
ac_sed_frag=`expr $ac_sed_frag + 1`
|
ac_beg=$ac_end
|
ac_beg=$ac_end
|
ac_end=`expr $ac_end + $ac_max_sed_lines`
|
ac_end=`expr $ac_end + $ac_max_sed_lines`
|
fi
|
fi
|
done
|
done
|
if test -z "$ac_sed_cmds"; then
|
if test -z "$ac_sed_cmds"; then
|
ac_sed_cmds=cat
|
ac_sed_cmds=cat
|
fi
|
fi
|
fi # test -n "$CONFIG_FILES"
|
fi # test -n "$CONFIG_FILES"
|
|
|
EOF
|
EOF
|
cat >>$CONFIG_STATUS <<\EOF
|
cat >>$CONFIG_STATUS <<\EOF
|
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
|
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
case $ac_file in
|
case $ac_file in
|
- | *:- | *:-:* ) # input from stdin
|
- | *:- | *:-:* ) # input from stdin
|
cat >$tmp/stdin
|
cat >$tmp/stdin
|
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
* ) ac_file_in=$ac_file.in ;;
|
* ) ac_file_in=$ac_file.in ;;
|
esac
|
esac
|
|
|
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
|
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
|
ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
X"$ac_file" : 'X\(//\)[^/]' \| \
|
X"$ac_file" : 'X\(//\)[^/]' \| \
|
X"$ac_file" : 'X\(//\)$' \| \
|
X"$ac_file" : 'X\(//\)$' \| \
|
X"$ac_file" : 'X\(/\)' \| \
|
X"$ac_file" : 'X\(/\)' \| \
|
. : '\(.\)' 2>/dev/null ||
|
. : '\(.\)' 2>/dev/null ||
|
echo X"$ac_file" |
|
echo X"$ac_file" |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
/^X\(\/\).*/{ s//\1/; q; }
|
/^X\(\/\).*/{ s//\1/; q; }
|
s/.*/./; q'`
|
s/.*/./; q'`
|
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
|
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
|
{ case "$ac_dir" in
|
{ case "$ac_dir" in
|
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
|
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
|
*) as_incr_dir=.;;
|
*) as_incr_dir=.;;
|
esac
|
esac
|
as_dummy="$ac_dir"
|
as_dummy="$ac_dir"
|
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
|
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
|
case $as_mkdir_dir in
|
case $as_mkdir_dir in
|
# Skip DOS drivespec
|
# Skip DOS drivespec
|
?:) as_incr_dir=$as_mkdir_dir ;;
|
?:) as_incr_dir=$as_mkdir_dir ;;
|
*)
|
*)
|
as_incr_dir=$as_incr_dir/$as_mkdir_dir
|
as_incr_dir=$as_incr_dir/$as_mkdir_dir
|
test -d "$as_incr_dir" || mkdir "$as_incr_dir"
|
test -d "$as_incr_dir" || mkdir "$as_incr_dir"
|
;;
|
;;
|
esac
|
esac
|
done; }
|
done; }
|
|
|
ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
|
ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
|
# A "../" for each directory in $ac_dir_suffix.
|
# A "../" for each directory in $ac_dir_suffix.
|
ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
|
ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
|
else
|
else
|
ac_dir_suffix= ac_dots=
|
ac_dir_suffix= ac_dots=
|
fi
|
fi
|
|
|
case $srcdir in
|
case $srcdir in
|
.) ac_srcdir=.
|
.) ac_srcdir=.
|
if test -z "$ac_dots"; then
|
if test -z "$ac_dots"; then
|
ac_top_srcdir=.
|
ac_top_srcdir=.
|
else
|
else
|
ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
|
ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
|
fi ;;
|
fi ;;
|
[\\/]* | ?:[\\/]* )
|
[\\/]* | ?:[\\/]* )
|
ac_srcdir=$srcdir$ac_dir_suffix;
|
ac_srcdir=$srcdir$ac_dir_suffix;
|
ac_top_srcdir=$srcdir ;;
|
ac_top_srcdir=$srcdir ;;
|
*) # Relative path.
|
*) # Relative path.
|
ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
|
ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
|
ac_top_srcdir=$ac_dots$srcdir ;;
|
ac_top_srcdir=$ac_dots$srcdir ;;
|
esac
|
esac
|
|
|
case $INSTALL in
|
case $INSTALL in
|
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
*) ac_INSTALL=$ac_dots$INSTALL ;;
|
*) ac_INSTALL=$ac_dots$INSTALL ;;
|
esac
|
esac
|
|
|
if test x"$ac_file" != x-; then
|
if test x"$ac_file" != x-; then
|
{ echo "$as_me:5160: creating $ac_file" >&5
|
{ echo "$as_me:5160: creating $ac_file" >&5
|
echo "$as_me: creating $ac_file" >&6;}
|
echo "$as_me: creating $ac_file" >&6;}
|
rm -f "$ac_file"
|
rm -f "$ac_file"
|
fi
|
fi
|
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
# use $as_me), people would be surprised to read:
|
# use $as_me), people would be surprised to read:
|
# /* config.h. Generated automatically by config.status. */
|
# /* config.h. Generated automatically by config.status. */
|
configure_input="Generated automatically from `echo $ac_file_in |
|
configure_input="Generated automatically from `echo $ac_file_in |
|
sed 's,.*/,,'` by configure."
|
sed 's,.*/,,'` by configure."
|
|
|
# First look for the input files in the build tree, otherwise in the
|
# First look for the input files in the build tree, otherwise in the
|
# src tree.
|
# src tree.
|
ac_file_inputs=`IFS=:
|
ac_file_inputs=`IFS=:
|
for f in $ac_file_in; do
|
for f in $ac_file_in; do
|
case $f in
|
case $f in
|
-) echo $tmp/stdin ;;
|
-) echo $tmp/stdin ;;
|
[\\/$]*)
|
[\\/$]*)
|
# Absolute (can't be DOS-style, as IFS=:)
|
# Absolute (can't be DOS-style, as IFS=:)
|
test -f "$f" || { { echo "$as_me:5178: error: cannot find input file: $f" >&5
|
test -f "$f" || { { echo "$as_me:5178: error: cannot find input file: $f" >&5
|
echo "$as_me: error: cannot find input file: $f" >&2;}
|
echo "$as_me: error: cannot find input file: $f" >&2;}
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
echo $f;;
|
echo $f;;
|
*) # Relative
|
*) # Relative
|
if test -f "$f"; then
|
if test -f "$f"; then
|
# Build tree
|
# Build tree
|
echo $f
|
echo $f
|
elif test -f "$srcdir/$f"; then
|
elif test -f "$srcdir/$f"; then
|
# Source tree
|
# Source tree
|
echo $srcdir/$f
|
echo $srcdir/$f
|
else
|
else
|
# /dev/null tree
|
# /dev/null tree
|
{ { echo "$as_me:5191: error: cannot find input file: $f" >&5
|
{ { echo "$as_me:5191: error: cannot find input file: $f" >&5
|
echo "$as_me: error: cannot find input file: $f" >&2;}
|
echo "$as_me: error: cannot find input file: $f" >&2;}
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
fi;;
|
fi;;
|
esac
|
esac
|
done` || { (exit 1); exit 1; }
|
done` || { (exit 1); exit 1; }
|
EOF
|
EOF
|
cat >>$CONFIG_STATUS <
|
cat >>$CONFIG_STATUS <
|
sed "$ac_vpsub
|
sed "$ac_vpsub
|
$extrasub
|
$extrasub
|
EOF
|
EOF
|
cat >>$CONFIG_STATUS <<\EOF
|
cat >>$CONFIG_STATUS <<\EOF
|
:t
|
:t
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
s,@configure_input@,$configure_input,;t t
|
s,@configure_input@,$configure_input,;t t
|
s,@srcdir@,$ac_srcdir,;t t
|
s,@srcdir@,$ac_srcdir,;t t
|
s,@top_srcdir@,$ac_top_srcdir,;t t
|
s,@top_srcdir@,$ac_top_srcdir,;t t
|
s,@INSTALL@,$ac_INSTALL,;t t
|
s,@INSTALL@,$ac_INSTALL,;t t
|
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
|
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
|
rm -f $tmp/stdin
|
rm -f $tmp/stdin
|
if test x"$ac_file" != x-; then
|
if test x"$ac_file" != x-; then
|
mv $tmp/out $ac_file
|
mv $tmp/out $ac_file
|
else
|
else
|
cat $tmp/out
|
cat $tmp/out
|
rm -f $tmp/out
|
rm -f $tmp/out
|
fi
|
fi
|
|
|
done
|
done
|
EOF
|
EOF
|
cat >>$CONFIG_STATUS <<\EOF
|
cat >>$CONFIG_STATUS <<\EOF
|
|
|
#
|
#
|
# CONFIG_LINKS section.
|
# CONFIG_LINKS section.
|
#
|
#
|
|
|
for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue
|
for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue
|
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
|
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
|
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
|
|
{ echo "$as_me:5230: linking $srcdir/$ac_source to $ac_dest" >&5
|
{ echo "$as_me:5230: linking $srcdir/$ac_source to $ac_dest" >&5
|
echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
|
echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
|
|
|
if test ! -r $srcdir/$ac_source; then
|
if test ! -r $srcdir/$ac_source; then
|
{ { echo "$as_me:5234: error: $srcdir/$ac_source: File not found" >&5
|
{ { echo "$as_me:5234: error: $srcdir/$ac_source: File not found" >&5
|
echo "$as_me: error: $srcdir/$ac_source: File not found" >&2;}
|
echo "$as_me: error: $srcdir/$ac_source: File not found" >&2;}
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
fi
|
fi
|
rm -f $ac_dest
|
rm -f $ac_dest
|
|
|
# Make relative symlinks.
|
# Make relative symlinks.
|
ac_dest_dir=`$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
ac_dest_dir=`$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
X"$ac_dest" : 'X\(//\)[^/]' \| \
|
X"$ac_dest" : 'X\(//\)[^/]' \| \
|
X"$ac_dest" : 'X\(//\)$' \| \
|
X"$ac_dest" : 'X\(//\)$' \| \
|
X"$ac_dest" : 'X\(/\)' \| \
|
X"$ac_dest" : 'X\(/\)' \| \
|
. : '\(.\)' 2>/dev/null ||
|
. : '\(.\)' 2>/dev/null ||
|
echo X"$ac_dest" |
|
echo X"$ac_dest" |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
/^X\(\/\).*/{ s//\1/; q; }
|
/^X\(\/\).*/{ s//\1/; q; }
|
s/.*/./; q'`
|
s/.*/./; q'`
|
if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
|
if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
|
{ case "$ac_dest_dir" in
|
{ case "$ac_dest_dir" in
|
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
|
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
|
*) as_incr_dir=.;;
|
*) as_incr_dir=.;;
|
esac
|
esac
|
as_dummy="$ac_dest_dir"
|
as_dummy="$ac_dest_dir"
|
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
|
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
|
case $as_mkdir_dir in
|
case $as_mkdir_dir in
|
# Skip DOS drivespec
|
# Skip DOS drivespec
|
?:) as_incr_dir=$as_mkdir_dir ;;
|
?:) as_incr_dir=$as_mkdir_dir ;;
|
*)
|
*)
|
as_incr_dir=$as_incr_dir/$as_mkdir_dir
|
as_incr_dir=$as_incr_dir/$as_mkdir_dir
|
test -d "$as_incr_dir" || mkdir "$as_incr_dir"
|
test -d "$as_incr_dir" || mkdir "$as_incr_dir"
|
;;
|
;;
|
esac
|
esac
|
done; }
|
done; }
|
|
|
ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's,^\./,,'`"
|
ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's,^\./,,'`"
|
# A "../" for each directory in $ac_dest_dir_suffix.
|
# A "../" for each directory in $ac_dest_dir_suffix.
|
ac_dots=`echo $ac_dest_dir_suffix|sed 's,/[^/]*,../,g'`
|
ac_dots=`echo $ac_dest_dir_suffix|sed 's,/[^/]*,../,g'`
|
else
|
else
|
ac_dest_dir_suffix= ac_dots=
|
ac_dest_dir_suffix= ac_dots=
|
fi
|
fi
|
|
|
case $srcdir in
|
case $srcdir in
|
[\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
|
[\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
|
*) ac_rel_source=$ac_dots$srcdir/$ac_source ;;
|
*) ac_rel_source=$ac_dots$srcdir/$ac_source ;;
|
esac
|
esac
|
|
|
# Make a symlink if possible; otherwise try a hard link.
|
# Make a symlink if possible; otherwise try a hard link.
|
ln -s $ac_rel_source $ac_dest 2>/dev/null ||
|
ln -s $ac_rel_source $ac_dest 2>/dev/null ||
|
ln $srcdir/$ac_source $ac_dest ||
|
ln $srcdir/$ac_source $ac_dest ||
|
{ { echo "$as_me:5284: error: cannot link $ac_dest to $srcdir/$ac_source" >&5
|
{ { echo "$as_me:5284: error: cannot link $ac_dest to $srcdir/$ac_source" >&5
|
echo "$as_me: error: cannot link $ac_dest to $srcdir/$ac_source" >&2;}
|
echo "$as_me: error: cannot link $ac_dest to $srcdir/$ac_source" >&2;}
|
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
done
|
done
|
EOF
|
EOF
|
cat >>$CONFIG_STATUS <<\EOF
|
cat >>$CONFIG_STATUS <<\EOF
|
|
|
#
|
#
|
# CONFIG_COMMANDS section.
|
# CONFIG_COMMANDS section.
|
#
|
#
|
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
|
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
|
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
|
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
|
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
|
|
case $ac_dest in
|
case $ac_dest in
|
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
|
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
|
# Strip MF so we end up with the name of the file.
|
# Strip MF so we end up with the name of the file.
|
mf=`echo "$mf" | sed -e 's/:.*$//'`
|
mf=`echo "$mf" | sed -e 's/:.*$//'`
|
# Check whether this is an Automake generated Makefile or not.
|
# Check whether this is an Automake generated Makefile or not.
|
# We used to match only the files named `Makefile.in', but
|
# We used to match only the files named `Makefile.in', but
|
# some people rename them; so instead we look at the file content.
|
# some people rename them; so instead we look at the file content.
|
# Grep'ing the first line is not enough: some people post-process
|
# Grep'ing the first line is not enough: some people post-process
|
# each Makefile.in and add a new line on top of each file to say so.
|
# each Makefile.in and add a new line on top of each file to say so.
|
# So let's grep whole file.
|
# So let's grep whole file.
|
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
|
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
|
dirpart=`$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
dirpart=`$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
X"$mf" : 'X\(//\)[^/]' \| \
|
X"$mf" : 'X\(//\)[^/]' \| \
|
X"$mf" : 'X\(//\)$' \| \
|
X"$mf" : 'X\(//\)$' \| \
|
X"$mf" : 'X\(/\)' \| \
|
X"$mf" : 'X\(/\)' \| \
|
. : '\(.\)' 2>/dev/null ||
|
. : '\(.\)' 2>/dev/null ||
|
echo X"$mf" |
|
echo X"$mf" |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
/^X\(\/\).*/{ s//\1/; q; }
|
/^X\(\/\).*/{ s//\1/; q; }
|
s/.*/./; q'`
|
s/.*/./; q'`
|
else
|
else
|
continue
|
continue
|
fi
|
fi
|
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
|
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
|
# Extract the definition of DEP_FILES from the Makefile without
|
# Extract the definition of DEP_FILES from the Makefile without
|
# running `make'.
|
# running `make'.
|
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
|
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
|
test -z "$DEPDIR" && continue
|
test -z "$DEPDIR" && continue
|
# When using ansi2knr, U may be empty or an underscore; expand it
|
# When using ansi2knr, U may be empty or an underscore; expand it
|
U=`sed -n -e '/^U = / s///p' < "$mf"`
|
U=`sed -n -e '/^U = / s///p' < "$mf"`
|
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
|
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
|
# We invoke sed twice because it is the simplest approach to
|
# We invoke sed twice because it is the simplest approach to
|
# changing $(DEPDIR) to its actual value in the expansion.
|
# changing $(DEPDIR) to its actual value in the expansion.
|
for file in `sed -n -e '
|
for file in `sed -n -e '
|
/^DEP_FILES = .*\\\\$/ {
|
/^DEP_FILES = .*\\\\$/ {
|
s/^DEP_FILES = //
|
s/^DEP_FILES = //
|
:loop
|
:loop
|
s/\\\\$//
|
s/\\\\$//
|
p
|
p
|
n
|
n
|
/\\\\$/ b loop
|
/\\\\$/ b loop
|
p
|
p
|
}
|
}
|
/^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
|
/^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
|
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
# Make sure the directory exists.
|
# Make sure the directory exists.
|
test -f "$dirpart/$file" && continue
|
test -f "$dirpart/$file" && continue
|
fdir=`$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
fdir=`$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
X"$file" : 'X\(//\)[^/]' \| \
|
X"$file" : 'X\(//\)[^/]' \| \
|
X"$file" : 'X\(//\)$' \| \
|
X"$file" : 'X\(//\)$' \| \
|
X"$file" : 'X\(/\)' \| \
|
X"$file" : 'X\(/\)' \| \
|
. : '\(.\)' 2>/dev/null ||
|
. : '\(.\)' 2>/dev/null ||
|
echo X"$file" |
|
echo X"$file" |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
/^X\(\/\).*/{ s//\1/; q; }
|
/^X\(\/\).*/{ s//\1/; q; }
|
s/.*/./; q'`
|
s/.*/./; q'`
|
{ case $dirpart/$fdir in
|
{ case $dirpart/$fdir in
|
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
|
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
|
*) as_incr_dir=.;;
|
*) as_incr_dir=.;;
|
esac
|
esac
|
as_dummy=$dirpart/$fdir
|
as_dummy=$dirpart/$fdir
|
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
|
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
|
case $as_mkdir_dir in
|
case $as_mkdir_dir in
|
# Skip DOS drivespec
|
# Skip DOS drivespec
|
?:) as_incr_dir=$as_mkdir_dir ;;
|
?:) as_incr_dir=$as_mkdir_dir ;;
|
*)
|
*)
|
as_incr_dir=$as_incr_dir/$as_mkdir_dir
|
as_incr_dir=$as_incr_dir/$as_mkdir_dir
|
test -d "$as_incr_dir" || mkdir "$as_incr_dir"
|
test -d "$as_incr_dir" || mkdir "$as_incr_dir"
|
;;
|
;;
|
esac
|
esac
|
done; }
|
done; }
|
|
|
# echo "creating $dirpart/$file"
|
# echo "creating $dirpart/$file"
|
echo '# dummy' > "$dirpart/$file"
|
echo '# dummy' > "$dirpart/$file"
|
done
|
done
|
done
|
done
|
;;
|
;;
|
default ) ${MAKE} $RTEMS_BSP.cache
|
default ) ${MAKE} $RTEMS_BSP.cache
|
;;
|
;;
|
esac
|
esac
|
done
|
done
|
EOF
|
EOF
|
|
|
cat >>$CONFIG_STATUS <<\EOF
|
cat >>$CONFIG_STATUS <<\EOF
|
|
|
{ (exit 0); exit 0; }
|
{ (exit 0); exit 0; }
|
EOF
|
EOF
|
chmod +x $CONFIG_STATUS
|
chmod +x $CONFIG_STATUS
|
ac_clean_files=$ac_clean_files_save
|
ac_clean_files=$ac_clean_files_save
|
|
|
# configure is writing to config.log, and then calls config.status.
|
# configure is writing to config.log, and then calls config.status.
|
# config.status does its own redirection, appending to config.log.
|
# config.status does its own redirection, appending to config.log.
|
# Unfortunately, on DOS this fails, as config.log is still kept open
|
# Unfortunately, on DOS this fails, as config.log is still kept open
|
# by configure, so config.status won't be able to write to it; its
|
# by configure, so config.status won't be able to write to it; its
|
# output is simply discarded. So we exec the FD to /dev/null,
|
# output is simply discarded. So we exec the FD to /dev/null,
|
# effectively closing config.log, so it can be properly (re)opened and
|
# effectively closing config.log, so it can be properly (re)opened and
|
# appended to by config.status. When coming back to configure, we
|
# appended to by config.status. When coming back to configure, we
|
# need to make the FD available again.
|
# need to make the FD available again.
|
if test "$no_create" != yes; then
|
if test "$no_create" != yes; then
|
ac_cs_success=:
|
ac_cs_success=:
|
exec 5>/dev/null
|
exec 5>/dev/null
|
$SHELL $CONFIG_STATUS || ac_cs_success=false
|
$SHELL $CONFIG_STATUS || ac_cs_success=false
|
exec 5>>config.log
|
exec 5>>config.log
|
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
# would make configure fail if this is the last instruction.
|
# would make configure fail if this is the last instruction.
|
$ac_cs_success || { (exit 1); exit 1; }
|
$ac_cs_success || { (exit 1); exit 1; }
|
fi
|
fi
|
|
|
|
|