URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
Compare Revisions
- This comparison shows the changes necessary to convert path
/or1k/trunk/rtems-20020807/c/src/wrapup
- from Rev 1028 to Rev 1765
- ↔ Reverse comparison
Rev 1028 → Rev 1765
/configure
0,0 → 1,4097
#! /bin/sh |
# Guess values for system-dependent variables and create Makefiles. |
# Generated by Autoconf 2.52 for rtems-c-src-wrapup ss-20020807. |
# |
# Report bugs to <rtems-bugs@OARcorp.com>. |
# |
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
# Free Software Foundation, Inc. |
# This configure script is free software; the Free Software Foundation |
# gives unlimited permission to copy, distribute and modify it. |
|
# Avoid depending upon Character Ranges. |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
as_cr_digits='0123456789' |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
# Sed expression to map a string onto a valid variable name. |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
|
# 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" |
|
# Be Bourne compatible |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
emulate sh |
NULLCMD=: |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
set -o posix |
fi |
|
# Name of the executable. |
as_me=`echo "$0" |sed 's,.*[\\/],,'` |
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
as_expr=expr |
else |
as_expr=false |
fi |
|
rm -f conf$$ conf$$.exe conf$$.file |
echo >conf$$.file |
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 |
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
if test -f conf$$.exe; then |
# Don't use ln at all; we don't have any links |
as_ln_s='cp -p' |
else |
as_ln_s='ln -s' |
fi |
elif ln conf$$.file conf$$ 2>/dev/null; then |
as_ln_s=ln |
else |
as_ln_s='cp -p' |
fi |
rm -f conf$$ conf$$.exe conf$$.file |
|
as_executable_p="test -f" |
|
# Support unset when possible. |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
as_unset=unset |
else |
as_unset=false |
fi |
|
# NLS nuisances. |
$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_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 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_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; } |
|
# IFS |
# We need space, tab and new line, in precisely that order. |
as_nl=' |
' |
IFS=" $as_nl" |
|
# CDPATH. |
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } |
|
# Name of the host. |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
# so uname gets run too. |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
|
exec 6>&1 |
|
# |
# Initializations. |
# |
ac_default_prefix=/usr/local |
cross_compiling=no |
subdirs= |
MFLAGS= MAKEFLAGS= |
SHELL=${CONFIG_SHELL-/bin/sh} |
|
# Maximum number of lines to put in a shell here document. |
# This variable seems obsolete. It should probably be removed, and |
# only ac_max_sed_lines should be used. |
: ${ac_max_here_lines=38} |
|
ac_unique_file="../libmisc" |
ac_default_prefix=/opt/rtems |
|
# Initialize some variables set by options. |
ac_init_help= |
ac_init_version=false |
# The variables have the same names as the options, with |
# dashes changed to underlines. |
cache_file=/dev/null |
exec_prefix=NONE |
no_create= |
no_recursion= |
prefix=NONE |
program_prefix=NONE |
program_suffix=NONE |
program_transform_name=s,x,x, |
silent= |
site= |
srcdir= |
verbose= |
x_includes=NONE |
x_libraries=NONE |
|
# Installation directory options. |
# 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 |
# by default will actually change. |
# Use braces instead of parens because sh, perl, etc. also accept them. |
bindir='${exec_prefix}/bin' |
sbindir='${exec_prefix}/sbin' |
libexecdir='${exec_prefix}/libexec' |
datadir='${prefix}/share' |
sysconfdir='${prefix}/etc' |
sharedstatedir='${prefix}/com' |
localstatedir='${prefix}/var' |
libdir='${exec_prefix}/lib' |
includedir='${prefix}/include' |
oldincludedir='/usr/include' |
infodir='${prefix}/info' |
mandir='${prefix}/man' |
|
# Identity of this package. |
PACKAGE_NAME='rtems-c-src-wrapup' |
PACKAGE_TARNAME='rtems-c-src-wrapup' |
PACKAGE_VERSION='ss-20020807' |
PACKAGE_STRING='rtems-c-src-wrapup ss-20020807' |
PACKAGE_BUGREPORT='rtems-bugs@OARcorp.com' |
|
ac_prev= |
for ac_option |
do |
# If the previous option needs an argument, assign it. |
if test -n "$ac_prev"; then |
eval "$ac_prev=\$ac_option" |
ac_prev= |
continue |
fi |
|
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
|
# Accept the important Cygnus configure options, so we can diagnose typos. |
|
case $ac_option in |
|
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
ac_prev=bindir ;; |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
bindir=$ac_optarg ;; |
|
-build | --build | --buil | --bui | --bu) |
ac_prev=build_alias ;; |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
build_alias=$ac_optarg ;; |
|
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
ac_prev=cache_file ;; |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
cache_file=$ac_optarg ;; |
|
--config-cache | -C) |
cache_file=config.cache ;; |
|
-datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
ac_prev=datadir ;; |
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
| --da=*) |
datadir=$ac_optarg ;; |
|
-disable-* | --disable-*) |
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
# Reject names that are not valid shell variable names. |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
{ (exit 1); exit 1; }; } |
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
eval "enable_$ac_feature=no" ;; |
|
-enable-* | --enable-*) |
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
# Reject names that are not valid shell variable names. |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
{ (exit 1); exit 1; }; } |
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
case $ac_option in |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
*) ac_optarg=yes ;; |
esac |
eval "enable_$ac_feature='$ac_optarg'" ;; |
|
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
| --exec | --exe | --ex) |
ac_prev=exec_prefix ;; |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
| --exec=* | --exe=* | --ex=*) |
exec_prefix=$ac_optarg ;; |
|
-gas | --gas | --ga | --g) |
# Obsolete; use --with-gas. |
with_gas=yes ;; |
|
-help | --help | --hel | --he | -h) |
ac_init_help=long ;; |
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
ac_init_help=recursive ;; |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
ac_init_help=short ;; |
|
-host | --host | --hos | --ho) |
ac_prev=host_alias ;; |
-host=* | --host=* | --hos=* | --ho=*) |
host_alias=$ac_optarg ;; |
|
-includedir | --includedir | --includedi | --included | --include \ |
| --includ | --inclu | --incl | --inc) |
ac_prev=includedir ;; |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
includedir=$ac_optarg ;; |
|
-infodir | --infodir | --infodi | --infod | --info | --inf) |
ac_prev=infodir ;; |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
infodir=$ac_optarg ;; |
|
-libdir | --libdir | --libdi | --libd) |
ac_prev=libdir ;; |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
libdir=$ac_optarg ;; |
|
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
| --libexe | --libex | --libe) |
ac_prev=libexecdir ;; |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
| --libexe=* | --libex=* | --libe=*) |
libexecdir=$ac_optarg ;; |
|
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
| --localstate | --localstat | --localsta | --localst \ |
| --locals | --local | --loca | --loc | --lo) |
ac_prev=localstatedir ;; |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
| --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
localstatedir=$ac_optarg ;; |
|
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
ac_prev=mandir ;; |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
mandir=$ac_optarg ;; |
|
-nfp | --nfp | --nf) |
# Obsolete; use --without-fp. |
with_fp=no ;; |
|
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
| --no-cr | --no-c) |
no_create=yes ;; |
|
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
no_recursion=yes ;; |
|
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
| --oldin | --oldi | --old | --ol | --o) |
ac_prev=oldincludedir ;; |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
oldincludedir=$ac_optarg ;; |
|
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
ac_prev=prefix ;; |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
prefix=$ac_optarg ;; |
|
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
| --program-pre | --program-pr | --program-p) |
ac_prev=program_prefix ;; |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
program_prefix=$ac_optarg ;; |
|
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
| --program-suf | --program-su | --program-s) |
ac_prev=program_suffix ;; |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
program_suffix=$ac_optarg ;; |
|
-program-transform-name | --program-transform-name \ |
| --program-transform-nam | --program-transform-na \ |
| --program-transform-n | --program-transform- \ |
| --program-transform | --program-transfor \ |
| --program-transfo | --program-transf \ |
| --program-trans | --program-tran \ |
| --progr-tra | --program-tr | --program-t) |
ac_prev=program_transform_name ;; |
-program-transform-name=* | --program-transform-name=* \ |
| --program-transform-nam=* | --program-transform-na=* \ |
| --program-transform-n=* | --program-transform-=* \ |
| --program-transform=* | --program-transfor=* \ |
| --program-transfo=* | --program-transf=* \ |
| --program-trans=* | --program-tran=* \ |
| --progr-tra=* | --program-tr=* | --program-t=*) |
program_transform_name=$ac_optarg ;; |
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| -silent | --silent | --silen | --sile | --sil) |
silent=yes ;; |
|
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
ac_prev=sbindir ;; |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
| --sbi=* | --sb=*) |
sbindir=$ac_optarg ;; |
|
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
| --sharedst | --shareds | --shared | --share | --shar \ |
| --sha | --sh) |
ac_prev=sharedstatedir ;; |
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
| --sha=* | --sh=*) |
sharedstatedir=$ac_optarg ;; |
|
-site | --site | --sit) |
ac_prev=site ;; |
-site=* | --site=* | --sit=*) |
site=$ac_optarg ;; |
|
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
ac_prev=srcdir ;; |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
srcdir=$ac_optarg ;; |
|
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
| --syscon | --sysco | --sysc | --sys | --sy) |
ac_prev=sysconfdir ;; |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
sysconfdir=$ac_optarg ;; |
|
-target | --target | --targe | --targ | --tar | --ta | --t) |
ac_prev=target_alias ;; |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
target_alias=$ac_optarg ;; |
|
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
verbose=yes ;; |
|
-version | --version | --versio | --versi | --vers | -V) |
ac_init_version=: ;; |
|
-with-* | --with-*) |
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
# Reject names that are not valid shell variable names. |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
{ (exit 1); exit 1; }; } |
ac_package=`echo $ac_package| sed 's/-/_/g'` |
case $ac_option in |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
*) ac_optarg=yes ;; |
esac |
eval "with_$ac_package='$ac_optarg'" ;; |
|
-without-* | --without-*) |
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
# Reject names that are not valid shell variable names. |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
{ (exit 1); exit 1; }; } |
ac_package=`echo $ac_package | sed 's/-/_/g'` |
eval "with_$ac_package=no" ;; |
|
--x) |
# Obsolete; use --with-x. |
with_x=yes ;; |
|
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
| --x-incl | --x-inc | --x-in | --x-i) |
ac_prev=x_includes ;; |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
x_includes=$ac_optarg ;; |
|
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
ac_prev=x_libraries ;; |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
x_libraries=$ac_optarg ;; |
|
-*) { echo "$as_me: error: unrecognized option: $ac_option |
Try \`$0 --help' for more information." >&2 |
{ (exit 1); exit 1; }; } |
;; |
|
*=*) |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
# Reject names that are not valid shell variable names. |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
{ (exit 1); exit 1; }; } |
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
eval "$ac_envvar='$ac_optarg'" |
export $ac_envvar ;; |
|
*) |
# FIXME: should be removed in autoconf 3.0. |
echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
;; |
|
esac |
done |
|
if test -n "$ac_prev"; then |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
{ echo "$as_me: error: missing argument to $ac_option" >&2 |
{ (exit 1); exit 1; }; } |
fi |
|
# Be sure to have absolute paths. |
for ac_var in exec_prefix prefix |
do |
eval ac_val=$`echo $ac_var` |
case $ac_val in |
[\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
*) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 |
{ (exit 1); exit 1; }; };; |
esac |
done |
|
# Be sure to have absolute paths. |
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
localstatedir libdir includedir oldincludedir infodir mandir |
do |
eval ac_val=$`echo $ac_var` |
case $ac_val in |
[\\/$]* | ?:[\\/]* ) ;; |
*) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 |
{ (exit 1); exit 1; }; };; |
esac |
done |
|
# There might be people who depend on the old broken behavior: `$host' |
# used to hold the argument of --host etc. |
build=$build_alias |
host=$host_alias |
target=$target_alias |
|
# FIXME: should be removed in autoconf 3.0. |
if test "x$host_alias" != x; then |
if test "x$build_alias" = x; then |
cross_compiling=maybe |
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 |
elif test "x$build_alias" != "x$host_alias"; then |
cross_compiling=yes |
fi |
fi |
|
ac_tool_prefix= |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
|
test "$silent" = yes && exec 6>/dev/null |
|
# Find the source files, if location was not specified. |
if test -z "$srcdir"; then |
ac_srcdir_defaulted=yes |
# Try the directory containing this script, then its parent. |
ac_prog=$0 |
ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` |
test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. |
srcdir=$ac_confdir |
if test ! -r $srcdir/$ac_unique_file; then |
srcdir=.. |
fi |
else |
ac_srcdir_defaulted=no |
fi |
if test ! -r $srcdir/$ac_unique_file; then |
if test "$ac_srcdir_defaulted" = yes; then |
{ echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2 |
{ (exit 1); exit 1; }; } |
else |
{ echo "$as_me: error: cannot find sources in $srcdir" >&2 |
{ (exit 1); exit 1; }; } |
fi |
fi |
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
ac_env_build_alias_set=${build_alias+set} |
ac_env_build_alias_value=$build_alias |
ac_cv_env_build_alias_set=${build_alias+set} |
ac_cv_env_build_alias_value=$build_alias |
ac_env_host_alias_set=${host_alias+set} |
ac_env_host_alias_value=$host_alias |
ac_cv_env_host_alias_set=${host_alias+set} |
ac_cv_env_host_alias_value=$host_alias |
ac_env_target_alias_set=${target_alias+set} |
ac_env_target_alias_value=$target_alias |
ac_cv_env_target_alias_set=${target_alias+set} |
ac_cv_env_target_alias_value=$target_alias |
ac_env_RTEMS_BSP_set=${RTEMS_BSP+set} |
ac_env_RTEMS_BSP_value=$RTEMS_BSP |
ac_cv_env_RTEMS_BSP_set=${RTEMS_BSP+set} |
ac_cv_env_RTEMS_BSP_value=$RTEMS_BSP |
ac_env_CC_set=${CC+set} |
ac_env_CC_value=$CC |
ac_cv_env_CC_set=${CC+set} |
ac_cv_env_CC_value=$CC |
ac_env_CFLAGS_set=${CFLAGS+set} |
ac_env_CFLAGS_value=$CFLAGS |
ac_cv_env_CFLAGS_set=${CFLAGS+set} |
ac_cv_env_CFLAGS_value=$CFLAGS |
ac_env_LDFLAGS_set=${LDFLAGS+set} |
ac_env_LDFLAGS_value=$LDFLAGS |
ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
ac_cv_env_LDFLAGS_value=$LDFLAGS |
ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
ac_env_CPPFLAGS_value=$CPPFLAGS |
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
ac_env_CPP_set=${CPP+set} |
ac_env_CPP_value=$CPP |
ac_cv_env_CPP_set=${CPP+set} |
ac_cv_env_CPP_value=$CPP |
|
# |
# Report the --help message. |
# |
if test "$ac_init_help" = "long"; then |
# 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. |
cat <<EOF |
\`configure' configures rtems-c-src-wrapup ss-20020807 to adapt to many kinds of systems. |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
|
To assign environment variables (e.g., CC, CFLAGS...), specify them as |
VAR=VALUE. See below for descriptions of some of the useful variables. |
|
Defaults for the options are specified in brackets. |
|
Configuration: |
-h, --help display this help and exit |
--help=short display options specific to this package |
--help=recursive display the short help of all the included packages |
-V, --version display version information and exit |
-q, --quiet, --silent do not print \`checking...' messages |
--cache-file=FILE cache test results in FILE [disabled] |
-C, --config-cache alias for \`--cache-file=config.cache' |
-n, --no-create do not create output files |
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
|
EOF |
|
cat <<EOF |
Installation directories: |
--prefix=PREFIX install architecture-independent files in PREFIX |
[$ac_default_prefix] |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
[PREFIX] |
|
By default, \`make install' will install all the files in |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
for instance \`--prefix=\$HOME'. |
|
For better control, use the options below. |
|
Fine tuning of the installation directories: |
--bindir=DIR user executables [EPREFIX/bin] |
--sbindir=DIR system admin executables [EPREFIX/sbin] |
--libexecdir=DIR program executables [EPREFIX/libexec] |
--datadir=DIR read-only architecture-independent data [PREFIX/share] |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
--libdir=DIR object code libraries [EPREFIX/lib] |
--includedir=DIR C header files [PREFIX/include] |
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
--infodir=DIR info documentation [PREFIX/info] |
--mandir=DIR man documentation [PREFIX/man] |
EOF |
|
cat <<\EOF |
|
Program names: |
--program-prefix=PREFIX prepend PREFIX to installed program names |
--program-suffix=SUFFIX append SUFFIX to installed program names |
--program-transform-name=PROGRAM run sed PROGRAM on installed program names |
|
System types: |
--build=BUILD configure for building on BUILD [guessed] |
--host=HOST build programs to run on HOST [BUILD] |
--target=TARGET configure for building compilers for TARGET [HOST] |
EOF |
fi |
|
if test -n "$ac_init_help"; then |
case $ac_init_help in |
short | recursive ) echo "Configuration of rtems-c-src-wrapup ss-20020807:";; |
esac |
cat <<\EOF |
|
Optional Features: |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
--enable-networking enable TCP/IP stack |
--enable-rdbg enable remote debugger |
--enable-maintainer-mode enable make rules and dependencies not useful |
(and sometimes confusing) to the casual installer |
--enable-multilib build many library versions (default=no) |
--enable-bare-cpu-cflags |
specify a particular cpu cflag (bare bsp specific) |
--enable-bare-cpu-model specify a particular cpu model (bare bsp specific) |
--disable-dependency-tracking Speeds up one-time builds |
--enable-dependency-tracking Do not reject slow dependency extractors |
|
Some influential environment variables: |
RTEMS_BSP RTEMS_BSP to build |
CC C compiler command |
CFLAGS C compiler flags |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
nonstandard directory <lib dir> |
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
headers in a nonstandard directory <include dir> |
CPP C preprocessor |
|
Use these variables to override the choices made by `configure' or to help |
it to find libraries and programs with nonstandard names/locations. |
|
Report bugs to <rtems-bugs@OARcorp.com>. |
EOF |
fi |
|
if test "$ac_init_help" = "recursive"; then |
# If there are subdirs, report their specific --help. |
ac_popdir=`pwd` |
for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue |
cd $ac_subdir |
# A "../" for each directory in /$ac_subdir. |
ac_dots=`echo $ac_subdir | |
sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` |
|
case $srcdir in |
.) # No --srcdir option. We are building in place. |
ac_sub_srcdir=$srcdir ;; |
[\\/]* | ?:[\\/]* ) # Absolute path. |
ac_sub_srcdir=$srcdir/$ac_subdir ;; |
*) # Relative path. |
ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; |
esac |
|
# Check for guested configure; otherwise get Cygnus style configure. |
if test -f $ac_sub_srcdir/configure.gnu; then |
echo |
$SHELL $ac_sub_srcdir/configure.gnu --help=recursive |
elif test -f $ac_sub_srcdir/configure; then |
echo |
$SHELL $ac_sub_srcdir/configure --help=recursive |
elif test -f $ac_sub_srcdir/configure.ac || |
test -f $ac_sub_srcdir/configure.in; then |
echo |
$ac_configure --help |
else |
echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2 |
fi |
cd $ac_popdir |
done |
fi |
|
test -n "$ac_init_help" && exit 0 |
if $ac_init_version; then |
cat <<\EOF |
rtems-c-src-wrapup configure ss-20020807 |
generated by GNU Autoconf 2.52 |
|
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
Free Software Foundation, Inc. |
This configure script is free software; the Free Software Foundation |
gives unlimited permission to copy, distribute and modify it. |
EOF |
exit 0 |
fi |
exec 5>config.log |
cat >&5 <<EOF |
This file contains any messages produced by compilers while |
running configure, to aid debugging if configure makes a mistake. |
|
It was created by rtems-c-src-wrapup $as_me ss-20020807, which was |
generated by GNU Autoconf 2.52. Invocation command line was |
|
$ $0 $@ |
|
EOF |
{ |
cat <<_ASUNAME |
## ---------- ## |
## Platform. ## |
## ---------- ## |
|
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
uname -r = `(uname -r) 2>/dev/null || echo unknown` |
uname -s = `(uname -s) 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` |
/bin/uname -X = `(/bin/uname -X) 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/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
hostinfo = `(hostinfo) 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` |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
|
PATH = $PATH |
|
_ASUNAME |
} >&5 |
|
cat >&5 <<EOF |
## ------------ ## |
## Core tests. ## |
## ------------ ## |
|
EOF |
|
# Keep a trace of the command line. |
# Strip out --no-create and --no-recursion so they do not pile up. |
# Also quote any args containing shell meta-characters. |
ac_configure_args= |
ac_sep= |
for ac_arg |
do |
case $ac_arg in |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
| --no-cr | --no-c) ;; |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` |
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
ac_sep=" " ;; |
*) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" |
ac_sep=" " ;; |
esac |
# Get rid of the leading space. |
done |
|
# When interrupted or exit'd, cleanup temporary files, and complete |
# config.log. We remove comments because anyway the quotes in there |
# would cause problems or look ugly. |
trap 'exit_status=$? |
# Save into config.log some information that might help in debugging. |
echo >&5 |
echo "## ----------------- ##" >&5 |
echo "## Cache variables. ##" >&5 |
echo "## ----------------- ##" >&5 |
echo >&5 |
# The following way of writing the cache mishandles newlines in values, |
{ |
(set) 2>&1 | |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
*ac_space=\ *) |
sed -n \ |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
;; |
*) |
sed -n \ |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
;; |
esac; |
} >&5 |
sed "/^$/d" confdefs.h >conftest.log |
if test -s conftest.log; then |
echo >&5 |
echo "## ------------ ##" >&5 |
echo "## confdefs.h. ##" >&5 |
echo "## ------------ ##" >&5 |
echo >&5 |
cat conftest.log >&5 |
fi |
(echo; echo) >&5 |
test "$ac_signal" != 0 && |
echo "$as_me: caught signal $ac_signal" >&5 |
echo "$as_me: exit $exit_status" >&5 |
rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && |
exit $exit_status |
' 0 |
for ac_signal in 1 2 13 15; do |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
done |
ac_signal=0 |
|
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
rm -rf conftest* confdefs.h |
# AIX cpp loses on an empty file, so make sure it contains at least a newline. |
echo >confdefs.h |
|
# Let the site file select an alternate cache file if it wants to. |
# Prefer explicitly selected file to automatically selected ones. |
if test -z "$CONFIG_SITE"; then |
if test "x$prefix" != xNONE; then |
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
else |
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
fi |
fi |
for ac_site_file in $CONFIG_SITE; do |
if test -r "$ac_site_file"; then |
{ echo "$as_me:856: loading site script $ac_site_file" >&5 |
echo "$as_me: loading site script $ac_site_file" >&6;} |
cat "$ac_site_file" >&5 |
. "$ac_site_file" |
fi |
done |
|
if test -r "$cache_file"; then |
# Some versions of bash will fail to source /dev/null (special |
# files actually), so we avoid doing that. |
if test -f "$cache_file"; then |
{ echo "$as_me:867: loading cache $cache_file" >&5 |
echo "$as_me: loading cache $cache_file" >&6;} |
case $cache_file in |
[\\/]* | ?:[\\/]* ) . $cache_file;; |
*) . ./$cache_file;; |
esac |
fi |
else |
{ echo "$as_me:875: creating cache $cache_file" >&5 |
echo "$as_me: creating cache $cache_file" >&6;} |
>$cache_file |
fi |
|
# Check that the precious variables saved in the cache have kept the same |
# value. |
ac_cache_corrupted=false |
for ac_var in `(set) 2>&1 | |
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_new_set=\$ac_env_${ac_var}_set |
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
eval ac_new_val="\$ac_env_${ac_var}_value" |
case $ac_old_set,$ac_new_set in |
set,) |
{ echo "$as_me:891: 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;} |
ac_cache_corrupted=: ;; |
,set) |
{ echo "$as_me:895: 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;} |
ac_cache_corrupted=: ;; |
,);; |
*) |
if test "x$ac_old_val" != "x$ac_new_val"; then |
{ echo "$as_me:901: 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:903: former value: $ac_old_val" >&5 |
echo "$as_me: former value: $ac_old_val" >&2;} |
{ echo "$as_me:905: current value: $ac_new_val" >&5 |
echo "$as_me: current value: $ac_new_val" >&2;} |
ac_cache_corrupted=: |
fi;; |
esac |
# Pass precious variables to config.status. It doesn't matter if |
# we pass some twice (in addition to the command line arguments). |
if test "$ac_new_set" = set; then |
case $ac_new_val in |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
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_var=$ac_new_val" |
;; |
esac |
fi |
done |
if $ac_cache_corrupted; then |
{ echo "$as_me:924: 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:926: 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;} |
{ (exit 1); exit 1; }; } |
fi |
|
ac_ext=c |
ac_cpp='$CPP $CPPFLAGS' |
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_compiler_gnu=$ac_cv_c_compiler_gnu |
|
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
*c*,-n*) ECHO_N= ECHO_C=' |
' ECHO_T=' ' ;; |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
esac |
echo "#! $SHELL" >conftest.sh |
echo "exit 0" >>conftest.sh |
chmod +x conftest.sh |
if { (echo "$as_me:946: PATH=\".;.\"; conftest.sh") >&5 |
(PATH=".;."; conftest.sh) 2>&5 |
ac_status=$? |
echo "$as_me:949: \$? = $ac_status" >&5 |
(exit $ac_status); }; then |
ac_path_separator=';' |
else |
ac_path_separator=: |
fi |
PATH_SEPARATOR="$ac_path_separator" |
rm -f conftest.sh |
|
for ac_prog in gmake make |
do |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
set dummy $ac_prog; ac_word=$2 |
echo "$as_me:962: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_MAKE+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
if test -n "$MAKE"; then |
ac_cv_prog_MAKE="$MAKE" # Let the user override the test. |
else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
ac_dummy="$PATH" |
for ac_dir in $ac_dummy; do |
IFS=$ac_save_IFS |
test -z "$ac_dir" && ac_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
ac_cv_prog_MAKE="$ac_prog" |
echo "$as_me:977: found $ac_dir/$ac_word" >&5 |
break |
done |
|
fi |
fi |
MAKE=$ac_cv_prog_MAKE |
if test -n "$MAKE"; then |
echo "$as_me:985: result: $MAKE" >&5 |
echo "${ECHO_T}$MAKE" >&6 |
else |
echo "$as_me:988: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
fi |
|
test -n "$MAKE" && break |
done |
|
ENDIF=endif |
|
RTEMS_TOPdir="../../.."; |
|
test -n "$with_target_subdir" || with_target_subdir="." |
|
if test "$with_target_subdir" = "." ; then |
# Native |
PROJECT_TOPdir=${RTEMS_TOPdir}/'$(top_builddir)' |
else |
# Cross |
dots=`echo $with_target_subdir|\ |
sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'` |
PROJECT_TOPdir=${dots}${RTEMS_TOPdir}/'$(top_builddir)' |
fi |
|
if test "$with_target_subdir" = "." ; then |
# Native |
PROJECT_ROOT="${RTEMS_TOPdir}/\$(top_builddir)" |
else |
# Cross |
PROJECT_ROOT="${RTEMS_TOPdir}/\$(top_builddir)" |
fi |
|
echo "$as_me:1019: checking for RTEMS Version" >&5 |
echo $ECHO_N "checking for RTEMS Version... $ECHO_C" >&6 |
if test -r "${srcdir}/${RTEMS_TOPdir}/aclocal/version.m4"; then |
: |
else |
{ { echo "$as_me:1024: error: Unable to find ${RTEMS_TOPdir}/aclocal/version.m4" >&5 |
echo "$as_me: error: Unable to find ${RTEMS_TOPdir}/aclocal/version.m4" >&2;} |
{ (exit 1); exit 1; }; } |
fi |
|
echo "$as_me:1029: result: ss-20020807" >&5 |
echo "${ECHO_T}ss-20020807" >&6 |
|
ac_aux_dir= |
for ac_dir in ../../.. $srcdir/../../..; do |
if test -f $ac_dir/install-sh; then |
ac_aux_dir=$ac_dir |
ac_install_sh="$ac_aux_dir/install-sh -c" |
break |
elif test -f $ac_dir/install.sh; then |
ac_aux_dir=$ac_dir |
ac_install_sh="$ac_aux_dir/install.sh -c" |
break |
elif test -f $ac_dir/shtool; then |
ac_aux_dir=$ac_dir |
ac_install_sh="$ac_aux_dir/shtool install -c" |
break |
fi |
done |
if test -z "$ac_aux_dir"; then |
{ { echo "$as_me:1049: 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;} |
{ (exit 1); exit 1; }; } |
fi |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
|
# Check whether --enable-networking or --disable-networking was given. |
if test "${enable_networking+set}" = set; then |
enableval="$enable_networking" |
case "${enableval}" in |
yes) RTEMS_HAS_NETWORKING=yes ;; |
no) RTEMS_HAS_NETWORKING=no ;; |
*) { { echo "$as_me:1063: error: bad value ${enableval} for enable-networking option" >&5 |
echo "$as_me: error: bad value ${enableval} for enable-networking option" >&2;} |
{ (exit 1); exit 1; }; } ;; |
esac |
else |
RTEMS_HAS_NETWORKING=yes |
fi; |
|
# Check whether --enable-rdbg or --disable-rdbg was given. |
if test "${enable_rdbg+set}" = set; then |
enableval="$enable_rdbg" |
case "${enableval}" in |
yes) RTEMS_HAS_RDBG=yes ;; |
no) RTEMS_HAS_RDBG=no ;; |
*) { { echo "$as_me:1077: error: bad value ${enableval} for enable-rdbg option" >&5 |
echo "$as_me: error: bad value ${enableval} for enable-rdbg option" >&2;} |
{ (exit 1); exit 1; }; } ;; |
esac |
else |
RTEMS_HAS_RDBG=no |
fi; |
|
# Make sure we can run config.sub. |
$ac_config_sub sun4 >/dev/null 2>&1 || |
{ { echo "$as_me:1087: error: cannot run $ac_config_sub" >&5 |
echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
{ (exit 1); exit 1; }; } |
|
echo "$as_me:1091: checking build system type" >&5 |
echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
if test "${ac_cv_build+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
ac_cv_build_alias=$build_alias |
test -z "$ac_cv_build_alias" && |
ac_cv_build_alias=`$ac_config_guess` |
test -z "$ac_cv_build_alias" && |
{ { echo "$as_me:1100: error: cannot guess build type; you must specify one" >&5 |
echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
{ (exit 1); exit 1; }; } |
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
{ { echo "$as_me:1104: error: $ac_config_sub $ac_cv_build_alias failed." >&5 |
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} |
{ (exit 1); exit 1; }; } |
|
fi |
echo "$as_me:1109: result: $ac_cv_build" >&5 |
echo "${ECHO_T}$ac_cv_build" >&6 |
build=$ac_cv_build |
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
echo "$as_me:1116: checking host system type" >&5 |
echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
if test "${ac_cv_host+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
ac_cv_host_alias=$host_alias |
test -z "$ac_cv_host_alias" && |
ac_cv_host_alias=$ac_cv_build_alias |
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
{ { echo "$as_me:1125: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
{ (exit 1); exit 1; }; } |
|
fi |
echo "$as_me:1130: result: $ac_cv_host" >&5 |
echo "${ECHO_T}$ac_cv_host" >&6 |
host=$ac_cv_host |
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
echo "$as_me:1137: checking target system type" >&5 |
echo $ECHO_N "checking target system type... $ECHO_C" >&6 |
if test "${ac_cv_target+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
ac_cv_target_alias=$target_alias |
test "x$ac_cv_target_alias" = "x" && |
ac_cv_target_alias=$ac_cv_host_alias |
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || |
{ { echo "$as_me:1146: error: $ac_config_sub $ac_cv_target_alias failed" >&5 |
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} |
{ (exit 1); exit 1; }; } |
|
fi |
echo "$as_me:1151: result: $ac_cv_target" >&5 |
echo "${ECHO_T}$ac_cv_target" >&6 |
target=$ac_cv_target |
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
# The aliases save the names the user supplied, while $host etc. |
# will get canonicalized. |
test -n "$target_alias" && |
test "$program_prefix$program_suffix$program_transform_name" = \ |
NONENONEs,x,x, && |
program_prefix=${target_alias}- |
echo "$as_me:1164: checking rtems target cpu" >&5 |
echo $ECHO_N "checking rtems target cpu... $ECHO_C" >&6 |
case "${target}" in |
# hpux unix port should go here |
i[34567]86-*linux*) # unix "simulator" port |
RTEMS_CPU=unix |
;; |
i[34567]86-*freebsd*) # unix "simulator" port |
RTEMS_CPU=unix |
;; |
i[34567]86-pc-cygwin*) # Cygwin is just enough unix like :) |
RTEMS_CPU=unix |
;; |
no_cpu-*rtems*) |
RTEMS_CPU=no_cpu |
;; |
sparc-sun-solaris*) # unix "simulator" port |
RTEMS_CPU=unix |
;; |
*) |
RTEMS_CPU=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'` |
;; |
esac |
|
echo "$as_me:1188: result: $RTEMS_CPU" >&5 |
echo "${ECHO_T}$RTEMS_CPU" >&6 |
|
RTEMS_HOST=$host_os |
case "${target}" in |
# hpux unix port should go here |
i[34567]86-*linux*) # unix "simulator" port |
RTEMS_HOST=Linux |
;; |
i[34567]86-*freebsd*) # unix "simulator" port |
RTEMS_HOST=FreeBSD |
;; |
i[34567]86-pc-cygwin*) # Cygwin is just enough unix like :) |
RTEMS_HOST=Cygwin |
;; |
sparc-sun-solaris*) # unix "simulator" port |
RTEMS_HOST=Solaris |
;; |
*) |
;; |
esac |
|
am__api_version="1.6" |
# Find a good install program. We prefer a C program (faster), |
# so one script is as good as another. But avoid the broken or |
# incompatible versions: |
# SysV /etc/install, /usr/sbin/install |
# SunOS /usr/etc/install |
# IRIX /sbin/install |
# AIX /bin/install |
# AmigaOS /C/install, which installs bootblocks on floppy discs |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
# ./install, which can be erroneously created by make from ./install.sh. |
echo "$as_me:1223: checking for a BSD compatible install" >&5 |
echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 |
if test -z "$INSTALL"; then |
if test "${ac_cv_path_install+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
for ac_dir in $PATH; do |
IFS=$ac_save_IFS |
# Account for people who put trailing slashes in PATH elements. |
case $ac_dir/ in |
/ | ./ | .// | /cC/* \ |
| /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \ |
| /usr/ucb/* ) ;; |
*) |
# OSF1 and SCO ODT 3.0 have their own names for install. |
# Don't use installbsd from OSF since it installs stuff as root |
# by default. |
for ac_prog in ginstall scoinst install; do |
if $as_executable_p "$ac_dir/$ac_prog"; then |
if test $ac_prog = install && |
grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then |
# AIX install. It has an incompatible calling convention. |
: |
elif test $ac_prog = install && |
grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then |
# program-specific install script used by HP pwplus--don't use. |
: |
else |
ac_cv_path_install="$ac_dir/$ac_prog -c" |
break 2 |
fi |
fi |
done |
;; |
esac |
done |
|
fi |
if test "${ac_cv_path_install+set}" = set; then |
INSTALL=$ac_cv_path_install |
else |
# As a last resort, use the slow shell script. We don't cache a |
# path for INSTALL within a source directory, because that will |
# break other packages using the cache if that directory is |
# removed, or if the path is relative. |
INSTALL=$ac_install_sh |
fi |
fi |
echo "$as_me:1272: result: $INSTALL" >&5 |
echo "${ECHO_T}$INSTALL" >&6 |
|
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
# It thinks the first close brace ends the variable substitution. |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
|
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
|
echo "$as_me:1283: checking whether build environment is sane" >&5 |
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 |
# Just in case |
sleep 1 |
echo timestamp > conftest.file |
# 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 |
# symlink; some systems play weird games with the mod time of symlinks |
# (eg FreeBSD returns the mod time of the symlink's containing |
# directory). |
if ( |
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` |
if test "$*" = "X"; then |
# -L didn't work. |
set X `ls -t $srcdir/configure conftest.file` |
fi |
rm -f conftest.file |
if test "$*" != "X $srcdir/configure conftest.file" \ |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
|
# If neither matched, then we have a broken ls. This can happen |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
# broken ls alias from the environment. This has actually |
# happened. Such a system could not be considered "sane". |
{ { echo "$as_me:1307: error: ls -t appears to fail. Make sure there is not a broken |
alias in your environment" >&5 |
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken |
alias in your environment" >&2;} |
{ (exit 1); exit 1; }; } |
fi |
|
test "$2" = conftest.file |
) |
then |
# Ok. |
: |
else |
{ { echo "$as_me:1320: error: newly created file is older than distributed files! |
Check your system clock" >&5 |
echo "$as_me: error: newly created file is older than distributed files! |
Check your system clock" >&2;} |
{ (exit 1); exit 1; }; } |
fi |
echo "$as_me:1326: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
test "$program_prefix" != NONE && |
program_transform_name="s,^,$program_prefix,;$program_transform_name" |
# Use a double $ so make ignores it. |
test "$program_suffix" != NONE && |
program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
# Double any \ or $. echo might interpret backslashes. |
# By default was `s,x,x', remove it if useless. |
cat <<\_ACEOF >conftest.sed |
s/[\\$]/&&/g;s/;s,x,x,$// |
_ACEOF |
program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
rm conftest.sed |
|
# expand $ac_aux_dir to an absolute path |
am_aux_dir=`cd $ac_aux_dir && pwd` |
|
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
# Use eval to expand $SHELL |
if eval "$MISSING --run true"; then |
am_missing_run="$MISSING --run " |
else |
am_missing_run= |
{ echo "$as_me:1350: WARNING: \`missing' script is too old or missing" >&5 |
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
fi |
|
for ac_prog in mawk gawk nawk awk |
do |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
set dummy $ac_prog; ac_word=$2 |
echo "$as_me:1358: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_AWK+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
if test -n "$AWK"; then |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
ac_dummy="$PATH" |
for ac_dir in $ac_dummy; do |
IFS=$ac_save_IFS |
test -z "$ac_dir" && ac_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
ac_cv_prog_AWK="$ac_prog" |
echo "$as_me:1373: found $ac_dir/$ac_word" >&5 |
break |
done |
|
fi |
fi |
AWK=$ac_cv_prog_AWK |
if test -n "$AWK"; then |
echo "$as_me:1381: result: $AWK" >&5 |
echo "${ECHO_T}$AWK" >&6 |
else |
echo "$as_me:1384: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
fi |
|
test -n "$AWK" && break |
done |
|
echo "$as_me:1391: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
cat >conftest.make <<\EOF |
all: |
@echo 'ac_maketemp="${MAKE}"' |
EOF |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
if test -n "$ac_maketemp"; then |
eval ac_cv_prog_make_${ac_make}_set=yes |
else |
eval ac_cv_prog_make_${ac_make}_set=no |
fi |
rm -f conftest.make |
fi |
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
echo "$as_me:1411: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
SET_MAKE= |
else |
echo "$as_me:1415: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
SET_MAKE="MAKE=${MAKE-make}" |
fi |
|
# test to see if srcdir already configured |
if test "`cd $srcdir && pwd`" != "`pwd`" && |
test -f $srcdir/config.status; then |
{ { echo "$as_me:1423: 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;} |
{ (exit 1); exit 1; }; } |
fi |
|
# Define the identity of the package. |
PACKAGE=rtems-c-src-wrapup |
VERSION=ss-20020807 |
|
# Some tools Automake needs. |
|
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
|
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
|
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
|
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
|
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|
AMTAR=${AMTAR-"${am_missing_run}tar"} |
|
install_sh=${install_sh-"$am_aux_dir/install-sh"} |
|
# Installed binaries are usually stripped using `strip' when the user |
# run `make install-strip'. However `strip' might not be the right |
# tool to use in cross-compilation environments, therefore Automake |
# will honor the `STRIP' environment variable to overrule this program. |
if test "$cross_compiling" != no; 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. |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
echo "$as_me:1456: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_STRIP+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
if test -n "$STRIP"; then |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
ac_dummy="$PATH" |
for ac_dir in $ac_dummy; do |
IFS=$ac_save_IFS |
test -z "$ac_dir" && ac_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
echo "$as_me:1471: found $ac_dir/$ac_word" >&5 |
break |
done |
|
fi |
fi |
STRIP=$ac_cv_prog_STRIP |
if test -n "$STRIP"; then |
echo "$as_me:1479: result: $STRIP" >&5 |
echo "${ECHO_T}$STRIP" >&6 |
else |
echo "$as_me:1482: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
fi |
|
fi |
if test -z "$ac_cv_prog_STRIP"; then |
ac_ct_STRIP=$STRIP |
# Extract the first word of "strip", so it can be a program name with args. |
set dummy strip; ac_word=$2 |
echo "$as_me:1491: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
if test -n "$ac_ct_STRIP"; then |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
ac_dummy="$PATH" |
for ac_dir in $ac_dummy; do |
IFS=$ac_save_IFS |
test -z "$ac_dir" && ac_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
ac_cv_prog_ac_ct_STRIP="strip" |
echo "$as_me:1506: found $ac_dir/$ac_word" >&5 |
break |
done |
|
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" |
fi |
fi |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
if test -n "$ac_ct_STRIP"; then |
echo "$as_me:1515: result: $ac_ct_STRIP" >&5 |
echo "${ECHO_T}$ac_ct_STRIP" >&6 |
else |
echo "$as_me:1518: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
fi |
|
STRIP=$ac_ct_STRIP |
else |
STRIP="$ac_cv_prog_STRIP" |
fi |
|
fi |
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
|
# We need awk for the "check" target. The system "awk" is bad on |
# some platforms. |
|
echo "$as_me:1533: 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 |
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. |
if test "${enable_maintainer_mode+set}" = set; then |
enableval="$enable_maintainer_mode" |
USE_MAINTAINER_MODE=$enableval |
else |
USE_MAINTAINER_MODE=no |
fi; |
echo "$as_me:1542: result: $USE_MAINTAINER_MODE" >&5 |
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 |
|
if test $USE_MAINTAINER_MODE = yes; then |
MAINTAINER_MODE_TRUE= |
MAINTAINER_MODE_FALSE='#' |
else |
MAINTAINER_MODE_TRUE='#' |
MAINTAINER_MODE_FALSE= |
fi |
|
MAINT=$MAINTAINER_MODE_TRUE |
|
# Check whether --enable-multilib or --disable-multilib was given. |
if test "${enable_multilib+set}" = set; then |
enableval="$enable_multilib" |
case "${enableval}" in |
yes) multilib=yes ;; |
no) multilib=no ;; |
*) { { echo "$as_me:1561: error: bad value ${enableval} for multilib option" >&5 |
echo "$as_me: error: bad value ${enableval} for multilib option" >&2;} |
{ (exit 1); exit 1; }; } ;; |
esac |
else |
multilib=no |
fi; |
|
if test x"${multilib}" = x"yes"; then |
MULTILIB_TRUE= |
MULTILIB_FALSE='#' |
else |
MULTILIB_TRUE='#' |
MULTILIB_FALSE= |
fi |
|
echo "$as_me:1577: checking for RTEMS_BSP" >&5 |
echo $ECHO_N "checking for RTEMS_BSP... $ECHO_C" >&6 |
if test "${rtems_cv_RTEMS_BSP+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
test -n "${RTEMS_BSP}" && rtems_cv_RTEMS_BSP="$RTEMS_BSP"; |
|
fi |
if test -z "$rtems_cv_RTEMS_BSP"; then |
{ { echo "$as_me:1586: error: Missing RTEMS_BSP" >&5 |
echo "$as_me: error: Missing RTEMS_BSP" >&2;} |
{ (exit 1); exit 1; }; } |
fi |
RTEMS_BSP="$rtems_cv_RTEMS_BSP" |
echo "$as_me:1591: result: ${RTEMS_BSP}" >&5 |
echo "${ECHO_T}${RTEMS_BSP}" >&6 |
|
RTEMS_BSP_SPECS="-specs bsp_specs -qrtems" |
|
GCC_SPECS="-B\$(PROJECT_ROOT)/lib/ -B\$(PROJECT_ROOT)/$RTEMS_BSP/lib/" |
|
PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include" |
|
PROJECT_RELEASE="\$(PROJECT_ROOT)/$RTEMS_BSP" |
|
RTEMS_ROOT=$PROJECT_ROOT/c/$RTEMS_BSP |
|
# Check whether --enable-bare-cpu-cflags or --disable-bare-cpu-cflags was given. |
if test "${enable_bare_cpu_cflags+set}" = set; then |
enableval="$enable_bare_cpu_cflags" |
case "${enableval}" in |
no) BARE_CPU_CFLAGS="" ;; |
*) BARE_CPU_CFLAGS="${enableval}" ;; |
esac |
else |
BARE_CPU_CFLAGS="" |
fi; |
|
# Check whether --enable-bare-cpu-model or --disable-bare-cpu-model was given. |
if test "${enable_bare_cpu_model+set}" = set; then |
enableval="$enable_bare_cpu_model" |
case "${enableval}" in |
no) BARE_CPU_MODEL="" ;; |
*) BARE_CPU_MODEL="${enableval}" ;; |
esac |
else |
BARE_CPU_MODEL="" |
fi; |
|
if false; then |
MULTILIB_TRUE= |
MULTILIB_FALSE='#' |
else |
MULTILIB_TRUE='#' |
MULTILIB_FALSE= |
fi |
|
includedir="\${exec_prefix}/${RTEMS_BSP}/lib/include" |
libdir="\${exec_prefix}/${RTEMS_BSP}/lib" |
|
bsplibdir="\${exec_prefix}/${RTEMS_BSP}/lib" |
|
# Is this a supported CPU? |
echo "$as_me:1640: checking if cpu $RTEMS_CPU is supported" >&5 |
echo $ECHO_N "checking if cpu $RTEMS_CPU is supported... $ECHO_C" >&6 |
# FIXME: Temporary hack |
if test -d "$srcdir/$RTEMS_TOPdir/cpukit/score/cpu/$RTEMS_CPU"; then |
echo "$as_me:1644: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
else |
{ { echo "$as_me:1647: error: no" >&5 |
echo "$as_me: error: no" >&2;} |
{ (exit 1); exit 1; }; } |
fi |
|
echo "$as_me:1652: checking for make/custom/$RTEMS_BSP.cfg" >&5 |
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 |
echo "$as_me:1655: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
else |
{ { echo "$as_me:1658: error: no" >&5 |
echo "$as_me: error: no" >&2;} |
{ (exit 1); exit 1; }; } |
fi |
|
# account for "aliased" bsps which share source code |
case ${RTEMS_BSP} in |
simcpu32) bspalias=sim68000 ;; # BSVC CPU32 variant |
c3xsim) bspalias=c4xsim ;; # TI C3x Simulator in gdb |
mcp750) bspalias=motorola_powerpc ;; # Motorola PPC board variant |
mvme2307) bspalias=motorola_powerpc ;; # Motorola PPC board variant |
mvme162lx) bspalias=mvme162 ;; # m68k - mvme162 board variant |
gen68360_040) bspalias=gen68360 ;; # m68k - 68360 in companion mode |
p4600) bspalias=p4000 ;; # mips64orion - p4000 board w/IDT 4600 |
p4650) bspalias=p4000 ;; # mips64orion - p4000 board w/IDT 4650 |
mbx8*) bspalias=mbx8xx ;; # MBX821/MBX860 board |
pc386dx) bspalias=pc386 ;; # i386 - PC w/o FPU |
pc486) bspalias=pc386 ;; # i386 - PC with i486DX |
pc586) bspalias=pc386 ;; # i386 - PC with Pentium |
pc686) bspalias=pc386 ;; # i386 - PC with PentiumPro |
pck6) bspalias=pc386 ;; # i386 - PC with K6 |
bare*) bspalias=bare ;; # EXP: bare-aliases |
erc32nfp) bspalias=erc32 ;; # erc32 without fpu |
leon1) bspalias=leon ;; # leon without fpu |
leon2) bspalias=leon ;; # leon with fpu |
simsh7032) bspalias=shsim ;; # SH7032 simulator |
simsh7045) bspalias=shsim ;; # SH7045 simulator |
*) bspalias=${RTEMS_BSP};; |
esac |
|
# The bare bsp doesn't have libbsp.a |
# FIXME: We should use a feature based check, here |
|
if ! test "$bspalias" = "bare"; then |
HAS_LIBBSP_TRUE= |
HAS_LIBBSP_FALSE='#' |
else |
HAS_LIBBSP_TRUE='#' |
HAS_LIBBSP_FALSE= |
fi |
|
echo "$as_me:1699: checking whether BSP supports networking" >&5 |
echo $ECHO_N "checking whether BSP supports networking... $ECHO_C" >&6 |
if test "${rtems_cv_HAS_NETWORKING+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
case "$RTEMS_CPU" in |
unix*) |
rtems_cv_HAS_NETWORKING="no" |
;; |
*) |
if test "${RTEMS_HAS_NETWORKING}" = "yes"; then |
rtems_cv_HAS_NETWORKING="yes"; |
else |
rtems_cv_HAS_NETWORKING="disabled"; |
fi |
;; |
esac |
fi |
echo "$as_me:1717: result: $rtems_cv_HAS_NETWORKING" >&5 |
echo "${ECHO_T}$rtems_cv_HAS_NETWORKING" >&6 |
if test "$rtems_cv_HAS_NETWORKING" = "yes"; then |
HAS_NETWORKING="yes"; |
else |
HAS_NETWORKING="no"; |
fi |
|
if test "$HAS_NETWORKING" = "yes"; then |
if test "$RTEMS_HAS_RDBG" = "yes"; then |
echo "$as_me:1727: checking whether BSP supports librdbg" >&5 |
echo $ECHO_N "checking whether BSP supports librdbg... $ECHO_C" >&6 |
if test "${rtems_cv_HAS_RDBG+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
|
if test -d "$srcdir/${RTEMS_TOPdir}/c/src/librdbg/src/${RTEMS_CPU}/${RTEMS_BSP}"; |
then |
rtems_cv_HAS_RDBG="yes" ; |
elif test -d "$srcdir/${RTEMS_TOPdir}/c/src/librdbg/src/${RTEMS_CPU}/any"; |
then |
rtems_cv_HAS_RDBG="yes" ; |
elif test "${RTEMS_CPU}" = "powerpc"; |
then |
A=`grep -l RTEMS_PPC_EXCEPTION_PROCESSING_MODEL $srcdir/${RTEMS_TOPdir}/make/custom/* 2>/dev/null`; |
C="" |
for i in ${A} ; |
do |
B=`basename ${i} .cfg`; |
C="${C} ${B}"; |
done |
rtems_cv_HAS_RDBG="no"; |
for j in ${C} ; |
do |
if test "${RTEMS_BSP}" = "${j}" ; |
then |
rtems_cv_HAS_RDBG="yes"; |
fi |
done |
else |
rtems_cv_HAS_RDBG="no"; |
fi |
|
fi |
echo "$as_me:1761: result: $rtems_cv_HAS_RDBG" >&5 |
echo "${ECHO_T}$rtems_cv_HAS_RDBG" >&6 |
HAS_RDBG="$rtems_cv_HAS_RDBG" |
|
fi |
fi |
|
if test "$HAS_NETWORKING" = "yes" ; then |
HAS_NETWORKING_TRUE= |
HAS_NETWORKING_FALSE='#' |
else |
HAS_NETWORKING_TRUE='#' |
HAS_NETWORKING_FALSE= |
fi |
|
if test "$HAS_RDBG" = "yes" ; then |
HAS_RDBG_TRUE= |
HAS_RDBG_FALSE='#' |
else |
HAS_RDBG_TRUE='#' |
HAS_RDBG_FALSE= |
fi |
|
PACKHEX="\$(PROJECT_TOPdir)/tools/build/packhex" |
|
rm -f .deps 2>/dev/null |
mkdir .deps 2>/dev/null |
if test -d .deps; then |
DEPDIR=.deps |
else |
# MS-DOS does not allow filenames that begin with a dot. |
DEPDIR=_deps |
fi |
rmdir .deps 2>/dev/null |
|
ac_config_commands="$ac_config_commands depfiles" |
|
am_make=${MAKE-make} |
cat > confinc << 'END' |
doit: |
@echo done |
END |
# If we don't find an include directive, just comment out the code. |
echo "$as_me:1804: 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 |
am__include="#" |
am__quote= |
_am_result=none |
# First try GNU make style include. |
echo "include confinc" > confmf |
# We grep out `Entering directory' and `Leaving directory' |
# messages which can occur if `w' ends up in MAKEFLAGS. |
# In particular we don't look at `^make:' because GNU make might |
# be invoked under some other name (usually "gmake"), in which |
# case it prints its new name instead of `make'. |
if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then |
am__include=include |
am__quote= |
_am_result=GNU |
fi |
# Now try BSD make style include. |
if test "$am__include" = "#"; then |
echo '.include "confinc"' > confmf |
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then |
am__include=.include |
am__quote="\"" |
_am_result=BSD |
fi |
fi |
|
echo "$as_me:1831: result: $_am_result" >&5 |
echo "${ECHO_T}$_am_result" >&6 |
rm -f confinc confmf |
|
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. |
if test "${enable_dependency_tracking+set}" = set; then |
enableval="$enable_dependency_tracking" |
|
fi; |
if test "x$enable_dependency_tracking" != xno; then |
am_depcomp="$ac_aux_dir/depcomp" |
AMDEPBACKSLASH='\' |
fi |
|
if test "x$enable_dependency_tracking" != xno; then |
AMDEP_TRUE= |
AMDEP_FALSE='#' |
else |
AMDEP_TRUE='#' |
AMDEP_FALSE= |
fi |
|
if test "x$build_alias" != "x$host_alias"; then |
rtems_tool_prefix=${ac_tool_prefix} |
fi |
|
# 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 |
echo "$as_me:1859: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_CC+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
if test -n "$CC"; then |
ac_cv_prog_CC="$CC" # Let the user override the test. |
else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
ac_dummy="$PATH" |
for ac_dir in $ac_dummy; do |
IFS=$ac_save_IFS |
test -z "$ac_dir" && ac_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
ac_cv_prog_CC="${rtems_tool_prefix}gcc" |
echo "$as_me:1874: found $ac_dir/$ac_word" >&5 |
break |
done |
|
fi |
fi |
CC=$ac_cv_prog_CC |
if test -n "$CC"; then |
echo "$as_me:1882: result: $CC" >&5 |
echo "${ECHO_T}$CC" >&6 |
else |
echo "$as_me:1885: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
fi |
|
test -z "$CC" && \ |
{ { echo "$as_me:1890: error: no acceptable cc found in \$PATH" >&5 |
echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} |
{ (exit 1); exit 1; }; } |
ac_ext=c |
ac_cpp='$CPP $CPPFLAGS' |
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_compiler_gnu=$ac_cv_c_compiler_gnu |
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. |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
echo "$as_me:1901: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_CC+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
if test -n "$CC"; then |
ac_cv_prog_CC="$CC" # Let the user override the test. |
else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
ac_dummy="$PATH" |
for ac_dir in $ac_dummy; do |
IFS=$ac_save_IFS |
test -z "$ac_dir" && ac_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
echo "$as_me:1916: found $ac_dir/$ac_word" >&5 |
break |
done |
|
fi |
fi |
CC=$ac_cv_prog_CC |
if test -n "$CC"; then |
echo "$as_me:1924: result: $CC" >&5 |
echo "${ECHO_T}$CC" >&6 |
else |
echo "$as_me:1927: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
fi |
|
fi |
if test -z "$ac_cv_prog_CC"; then |
ac_ct_CC=$CC |
# Extract the first word of "gcc", so it can be a program name with args. |
set dummy gcc; ac_word=$2 |
echo "$as_me:1936: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
if test -n "$ac_ct_CC"; then |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
ac_dummy="$PATH" |
for ac_dir in $ac_dummy; do |
IFS=$ac_save_IFS |
test -z "$ac_dir" && ac_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
ac_cv_prog_ac_ct_CC="gcc" |
echo "$as_me:1951: found $ac_dir/$ac_word" >&5 |
break |
done |
|
fi |
fi |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
if test -n "$ac_ct_CC"; then |
echo "$as_me:1959: result: $ac_ct_CC" >&5 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
else |
echo "$as_me:1962: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
fi |
|
CC=$ac_ct_CC |
else |
CC="$ac_cv_prog_CC" |
fi |
|
if test -z "$CC"; 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. |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
echo "$as_me:1975: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_CC+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
if test -n "$CC"; then |
ac_cv_prog_CC="$CC" # Let the user override the test. |
else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
ac_dummy="$PATH" |
for ac_dir in $ac_dummy; do |
IFS=$ac_save_IFS |
test -z "$ac_dir" && ac_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
echo "$as_me:1990: found $ac_dir/$ac_word" >&5 |
break |
done |
|
fi |
fi |
CC=$ac_cv_prog_CC |
if test -n "$CC"; then |
echo "$as_me:1998: result: $CC" >&5 |
echo "${ECHO_T}$CC" >&6 |
else |
echo "$as_me:2001: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
fi |
|
fi |
if test -z "$ac_cv_prog_CC"; then |
ac_ct_CC=$CC |
# Extract the first word of "cc", so it can be a program name with args. |
set dummy cc; ac_word=$2 |
echo "$as_me:2010: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
if test -n "$ac_ct_CC"; then |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
ac_dummy="$PATH" |
for ac_dir in $ac_dummy; do |
IFS=$ac_save_IFS |
test -z "$ac_dir" && ac_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
ac_cv_prog_ac_ct_CC="cc" |
echo "$as_me:2025: found $ac_dir/$ac_word" >&5 |
break |
done |
|
fi |
fi |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
if test -n "$ac_ct_CC"; then |
echo "$as_me:2033: result: $ac_ct_CC" >&5 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
else |
echo "$as_me:2036: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
fi |
|
CC=$ac_ct_CC |
else |
CC="$ac_cv_prog_CC" |
fi |
|
fi |
if test -z "$CC"; then |
# Extract the first word of "cc", so it can be a program name with args. |
set dummy cc; ac_word=$2 |
echo "$as_me:2049: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_CC+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
if test -n "$CC"; then |
ac_cv_prog_CC="$CC" # Let the user override the test. |
else |
ac_prog_rejected=no |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
ac_dummy="$PATH" |
for ac_dir in $ac_dummy; do |
IFS=$ac_save_IFS |
test -z "$ac_dir" && ac_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
ac_prog_rejected=yes |
continue |
fi |
ac_cv_prog_CC="cc" |
echo "$as_me:2069: found $ac_dir/$ac_word" >&5 |
break |
done |
|
if test $ac_prog_rejected = yes; then |
# We found a bogon in the path, so make sure we never use it. |
set dummy $ac_cv_prog_CC |
shift |
if test $# != 0; then |
# We chose a different compiler from the bogus one. |
# 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. |
shift |
set dummy "$ac_dir/$ac_word" ${1+"$@"} |
shift |
ac_cv_prog_CC="$@" |
fi |
fi |
fi |
fi |
CC=$ac_cv_prog_CC |
if test -n "$CC"; then |
echo "$as_me:2091: result: $CC" >&5 |
echo "${ECHO_T}$CC" >&6 |
else |
echo "$as_me:2094: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
fi |
|
fi |
if test -z "$CC"; then |
if test -n "$ac_tool_prefix"; then |
for ac_prog in cl |
do |
# 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 |
echo "$as_me:2105: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_CC+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
if test -n "$CC"; then |
ac_cv_prog_CC="$CC" # Let the user override the test. |
else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
ac_dummy="$PATH" |
for ac_dir in $ac_dummy; do |
IFS=$ac_save_IFS |
test -z "$ac_dir" && ac_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
echo "$as_me:2120: found $ac_dir/$ac_word" >&5 |
break |
done |
|
fi |
fi |
CC=$ac_cv_prog_CC |
if test -n "$CC"; then |
echo "$as_me:2128: result: $CC" >&5 |
echo "${ECHO_T}$CC" >&6 |
else |
echo "$as_me:2131: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
fi |
|
test -n "$CC" && break |
done |
fi |
if test -z "$CC"; then |
ac_ct_CC=$CC |
for ac_prog in cl |
do |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
set dummy $ac_prog; ac_word=$2 |
echo "$as_me:2144: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
if test -n "$ac_ct_CC"; then |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
ac_dummy="$PATH" |
for ac_dir in $ac_dummy; do |
IFS=$ac_save_IFS |
test -z "$ac_dir" && ac_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
ac_cv_prog_ac_ct_CC="$ac_prog" |
echo "$as_me:2159: found $ac_dir/$ac_word" >&5 |
break |
done |
|
fi |
fi |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
if test -n "$ac_ct_CC"; then |
echo "$as_me:2167: result: $ac_ct_CC" >&5 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
else |
echo "$as_me:2170: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
fi |
|
test -n "$ac_ct_CC" && break |
done |
|
CC=$ac_ct_CC |
fi |
|
fi |
|
test -z "$CC" && { { echo "$as_me:2182: error: no acceptable cc found in \$PATH" >&5 |
echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} |
{ (exit 1); exit 1; }; } |
|
# Provide some information about the compiler. |
echo "$as_me:2187:" \ |
"checking for C compiler version" >&5 |
ac_compiler=`set X $ac_compile; echo $2` |
{ (eval echo "$as_me:2190: \"$ac_compiler --version </dev/null >&5\"") >&5 |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
ac_status=$? |
echo "$as_me:2193: \$? = $ac_status" >&5 |
(exit $ac_status); } |
{ (eval echo "$as_me:2195: \"$ac_compiler -v </dev/null >&5\"") >&5 |
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
ac_status=$? |
echo "$as_me:2198: \$? = $ac_status" >&5 |
(exit $ac_status); } |
{ (eval echo "$as_me:2200: \"$ac_compiler -V </dev/null >&5\"") >&5 |
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
ac_status=$? |
echo "$as_me:2203: \$? = $ac_status" >&5 |
(exit $ac_status); } |
|
cat >conftest.$ac_ext <<_ACEOF |
#line 2207 "configure" |
#include "confdefs.h" |
|
int |
main () |
{ |
|
; |
return 0; |
} |
_ACEOF |
ac_clean_files_save=$ac_clean_files |
ac_clean_files="$ac_clean_files a.out a.exe" |
# Try to create an executable without -o first, disregard a.out. |
# It will help us diagnose broken compilers, and finding out an intuition |
# of exeext. |
echo "$as_me:2223: checking for C compiler default output" >&5 |
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
if { (eval echo "$as_me:2226: \"$ac_link_default\"") >&5 |
(eval $ac_link_default) 2>&5 |
ac_status=$? |
echo "$as_me:2229: \$? = $ac_status" >&5 |
(exit $ac_status); }; then |
# 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 |
# resort. |
for ac_file in `ls a.exe conftest.exe 2>/dev/null; |
ls a.out conftest 2>/dev/null; |
ls a.* conftest.* 2>/dev/null`; do |
case $ac_file in |
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; |
a.out ) # We found the default executable, but exeext='' is most |
# certainly right. |
break;; |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
# FIXME: I believe we export ac_cv_exeext for Libtool --akim. |
export ac_cv_exeext |
break;; |
* ) break;; |
esac |
done |
else |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
{ { echo "$as_me:2252: error: C compiler cannot create executables" >&5 |
echo "$as_me: error: C compiler cannot create executables" >&2;} |
{ (exit 77); exit 77; }; } |
fi |
|
ac_exeext=$ac_cv_exeext |
echo "$as_me:2258: result: $ac_file" >&5 |
echo "${ECHO_T}$ac_file" >&6 |
|
# Check the compiler produces executables we can run. If not, either |
# the compiler is broken, or we cross compile. |
echo "$as_me:2263: checking whether the C compiler works" >&5 |
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
# 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 test "$cross_compiling" != yes; then |
if { ac_try='./$ac_file' |
{ (eval echo "$as_me:2269: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
echo "$as_me:2272: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
cross_compiling=no |
else |
if test "$cross_compiling" = maybe; then |
cross_compiling=yes |
else |
{ { echo "$as_me:2279: error: cannot run C compiled programs. |
If you meant to cross compile, use \`--host'." >&5 |
echo "$as_me: error: cannot run C compiled programs. |
If you meant to cross compile, use \`--host'." >&2;} |
{ (exit 1); exit 1; }; } |
fi |
fi |
fi |
echo "$as_me:2287: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
|
rm -f a.out a.exe conftest$ac_cv_exeext |
ac_clean_files=$ac_clean_files_save |
# Check the compiler produces executables we can run. If not, either |
# the compiler is broken, or we cross compile. |
echo "$as_me:2294: checking whether we are cross compiling" >&5 |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
echo "$as_me:2296: result: $cross_compiling" >&5 |
echo "${ECHO_T}$cross_compiling" >&6 |
|
echo "$as_me:2299: checking for executable suffix" >&5 |
echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 |
if { (eval echo "$as_me:2301: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
echo "$as_me:2304: \$? = $ac_status" >&5 |
(exit $ac_status); }; then |
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
# `rm'. |
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do |
case $ac_file in |
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
export ac_cv_exeext |
break;; |
* ) break;; |
esac |
done |
else |
{ { echo "$as_me:2320: error: cannot compute EXEEXT: cannot compile and link" >&5 |
echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} |
{ (exit 1); exit 1; }; } |
fi |
|
rm -f conftest$ac_cv_exeext |
echo "$as_me:2326: result: $ac_cv_exeext" >&5 |
echo "${ECHO_T}$ac_cv_exeext" >&6 |
|
rm -f conftest.$ac_ext |
EXEEXT=$ac_cv_exeext |
ac_exeext=$EXEEXT |
echo "$as_me:2332: checking for object suffix" >&5 |
echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 |
if test "${ac_cv_objext+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
cat >conftest.$ac_ext <<_ACEOF |
#line 2338 "configure" |
#include "confdefs.h" |
|
int |
main () |
{ |
|
; |
return 0; |
} |
_ACEOF |
rm -f conftest.o conftest.obj |
if { (eval echo "$as_me:2350: \"$ac_compile\"") >&5 |
(eval $ac_compile) 2>&5 |
ac_status=$? |
echo "$as_me:2353: \$? = $ac_status" >&5 |
(exit $ac_status); }; then |
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
case $ac_file in |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
break;; |
esac |
done |
else |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
{ { echo "$as_me:2365: error: cannot compute OBJEXT: cannot compile" >&5 |
echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} |
{ (exit 1); exit 1; }; } |
fi |
|
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
fi |
echo "$as_me:2372: result: $ac_cv_objext" >&5 |
echo "${ECHO_T}$ac_cv_objext" >&6 |
OBJEXT=$ac_cv_objext |
ac_objext=$OBJEXT |
echo "$as_me:2376: 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 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
cat >conftest.$ac_ext <<_ACEOF |
#line 2382 "configure" |
#include "confdefs.h" |
|
int |
main () |
{ |
#ifndef __GNUC__ |
choke me |
#endif |
|
; |
return 0; |
} |
_ACEOF |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:2397: \"$ac_compile\"") >&5 |
(eval $ac_compile) 2>&5 |
ac_status=$? |
echo "$as_me:2400: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
{ ac_try='test -s conftest.$ac_objext' |
{ (eval echo "$as_me:2403: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
echo "$as_me:2406: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
ac_compiler_gnu=yes |
else |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
ac_compiler_gnu=no |
fi |
rm -f conftest.$ac_objext conftest.$ac_ext |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
|
fi |
echo "$as_me:2418: result: $ac_cv_c_compiler_gnu" >&5 |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
GCC=`test $ac_compiler_gnu = yes && echo yes` |
ac_test_CFLAGS=${CFLAGS+set} |
ac_save_CFLAGS=$CFLAGS |
CFLAGS="-g" |
echo "$as_me:2424: checking whether $CC accepts -g" >&5 |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
if test "${ac_cv_prog_cc_g+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
cat >conftest.$ac_ext <<_ACEOF |
#line 2430 "configure" |
#include "confdefs.h" |
|
int |
main () |
{ |
|
; |
return 0; |
} |
_ACEOF |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:2442: \"$ac_compile\"") >&5 |
(eval $ac_compile) 2>&5 |
ac_status=$? |
echo "$as_me:2445: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
{ ac_try='test -s conftest.$ac_objext' |
{ (eval echo "$as_me:2448: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
echo "$as_me:2451: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
ac_cv_prog_cc_g=yes |
else |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
ac_cv_prog_cc_g=no |
fi |
rm -f conftest.$ac_objext conftest.$ac_ext |
fi |
echo "$as_me:2461: result: $ac_cv_prog_cc_g" >&5 |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
if test "$ac_test_CFLAGS" = set; then |
CFLAGS=$ac_save_CFLAGS |
elif test $ac_cv_prog_cc_g = yes; then |
if test "$GCC" = yes; then |
CFLAGS="-g -O2" |
else |
CFLAGS="-g" |
fi |
else |
if test "$GCC" = yes; then |
CFLAGS="-O2" |
else |
CFLAGS= |
fi |
fi |
# 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 |
# 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. |
cat >conftest.$ac_ext <<_ACEOF |
#ifndef __cplusplus |
choke me |
#endif |
_ACEOF |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:2488: \"$ac_compile\"") >&5 |
(eval $ac_compile) 2>&5 |
ac_status=$? |
echo "$as_me:2491: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
{ ac_try='test -s conftest.$ac_objext' |
{ (eval echo "$as_me:2494: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
echo "$as_me:2497: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
for ac_declaration in \ |
''\ |
'#include <stdlib.h>' \ |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
'extern "C" void std::exit (int); using std::exit;' \ |
'extern "C" void exit (int) throw ();' \ |
'extern "C" void exit (int);' \ |
'void exit (int);' |
do |
cat >conftest.$ac_ext <<_ACEOF |
#line 2509 "configure" |
#include "confdefs.h" |
#include <stdlib.h> |
$ac_declaration |
int |
main () |
{ |
exit (42); |
; |
return 0; |
} |
_ACEOF |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:2522: \"$ac_compile\"") >&5 |
(eval $ac_compile) 2>&5 |
ac_status=$? |
echo "$as_me:2525: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
{ ac_try='test -s conftest.$ac_objext' |
{ (eval echo "$as_me:2528: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
echo "$as_me:2531: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
: |
else |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
continue |
fi |
rm -f conftest.$ac_objext conftest.$ac_ext |
cat >conftest.$ac_ext <<_ACEOF |
#line 2541 "configure" |
#include "confdefs.h" |
$ac_declaration |
int |
main () |
{ |
exit (42); |
; |
return 0; |
} |
_ACEOF |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:2553: \"$ac_compile\"") >&5 |
(eval $ac_compile) 2>&5 |
ac_status=$? |
echo "$as_me:2556: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
{ ac_try='test -s conftest.$ac_objext' |
{ (eval echo "$as_me:2559: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
echo "$as_me:2562: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
break |
else |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
fi |
rm -f conftest.$ac_objext conftest.$ac_ext |
done |
rm -f conftest* |
if test -n "$ac_declaration"; then |
echo '#ifdef __cplusplus' >>confdefs.h |
echo $ac_declaration >>confdefs.h |
echo '#endif' >>confdefs.h |
fi |
|
else |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
fi |
rm -f conftest.$ac_objext conftest.$ac_ext |
ac_ext=c |
ac_cpp='$CPP $CPPFLAGS' |
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_compiler_gnu=$ac_cv_c_compiler_gnu |
|
depcc="$CC" am_compiler_list= |
|
echo "$as_me:2591: checking dependency style of $depcc" >&5 |
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
# We make a subdir and do the tests there. Otherwise we can end up |
# making bogus files that we don't know about and never remove. For |
# instance it was reported that on HP-UX the gcc test will end up |
# making a dummy file named `D' -- because `-MD' means `put the output |
# in D'. |
mkdir conftest.dir |
# Copy depcomp to subdir because otherwise we won't find it if we're |
# using a relative directory. |
cp "$am_depcomp" conftest.dir |
cd conftest.dir |
|
am_cv_CC_dependencies_compiler_type=none |
if test "$am_compiler_list" = ""; then |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
fi |
for depmode in $am_compiler_list; do |
# We need to recreate these files for each test, as the compiler may |
# overwrite some of them when testing with obscure command lines. |
# This happens at least with the AIX C compiler. |
echo '#include "conftest.h"' > conftest.c |
echo 'int i;' > conftest.h |
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf |
|
case $depmode in |
nosideeffect) |
# after this tag, mechanisms are not by side-effect, so they'll |
# only be used when explicitly requested |
if test "x$enable_dependency_tracking" = xyes; then |
continue |
else |
break |
fi |
;; |
none) break ;; |
esac |
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
# mode. It turns out that the SunPro C++ compiler does not properly |
# handle `-M -o', and we need to detect this. |
if depmode=$depmode \ |
source=conftest.c object=conftest.o \ |
depfile=conftest.Po tmpdepfile=conftest.TPo \ |
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && |
grep conftest.h conftest.Po > /dev/null 2>&1 && |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
am_cv_CC_dependencies_compiler_type=$depmode |
break |
fi |
done |
|
cd .. |
rm -rf conftest.dir |
else |
am_cv_CC_dependencies_compiler_type=none |
fi |
|
fi |
echo "$as_me:2653: result: $am_cv_CC_dependencies_compiler_type" >&5 |
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
|
ac_ext=c |
ac_cpp='$CPP $CPPFLAGS' |
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_compiler_gnu=$ac_cv_c_compiler_gnu |
echo "$as_me:2662: checking how to run the C preprocessor" >&5 |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
# On Suns, sometimes $CPP names a directory. |
if test -n "$CPP" && test -d "$CPP"; then |
CPP= |
fi |
if test -z "$CPP"; then |
if test "${ac_cv_prog_CPP+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
# Double quotes because CPP needs to be expanded |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
do |
ac_preproc_ok=false |
for ac_c_preproc_warn_flag in '' yes |
do |
# Use a header file that comes with gcc, so configuring glibc |
# with a fresh cross-compiler works. |
# 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. |
cat >conftest.$ac_ext <<_ACEOF |
#line 2683 "configure" |
#include "confdefs.h" |
#include <assert.h> |
Syntax error |
_ACEOF |
if { (eval echo "$as_me:2688: \"$ac_cpp conftest.$ac_ext\"") >&5 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
ac_status=$? |
egrep -v '^ *\+' conftest.er1 >conftest.err |
rm -f conftest.er1 |
cat conftest.err >&5 |
echo "$as_me:2694: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then |
if test -s conftest.err; then |
ac_cpp_err=$ac_c_preproc_warn_flag |
else |
ac_cpp_err= |
fi |
else |
ac_cpp_err=yes |
fi |
if test -z "$ac_cpp_err"; then |
: |
else |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
# Broken: fails on valid input. |
continue |
fi |
rm -f conftest.err conftest.$ac_ext |
|
# OK, works on sane cases. Now check whether non-existent headers |
# can be detected and how. |
cat >conftest.$ac_ext <<_ACEOF |
#line 2717 "configure" |
#include "confdefs.h" |
#include <ac_nonexistent.h> |
_ACEOF |
if { (eval echo "$as_me:2721: \"$ac_cpp conftest.$ac_ext\"") >&5 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
ac_status=$? |
egrep -v '^ *\+' conftest.er1 >conftest.err |
rm -f conftest.er1 |
cat conftest.err >&5 |
echo "$as_me:2727: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then |
if test -s conftest.err; then |
ac_cpp_err=$ac_c_preproc_warn_flag |
else |
ac_cpp_err= |
fi |
else |
ac_cpp_err=yes |
fi |
if test -z "$ac_cpp_err"; then |
# Broken: success on invalid input. |
continue |
else |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
# Passes both tests. |
ac_preproc_ok=: |
break |
fi |
rm -f conftest.err conftest.$ac_ext |
|
done |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
rm -f conftest.err conftest.$ac_ext |
if $ac_preproc_ok; then |
break |
fi |
|
done |
ac_cv_prog_CPP=$CPP |
|
fi |
CPP=$ac_cv_prog_CPP |
else |
ac_cv_prog_CPP=$CPP |
fi |
echo "$as_me:2764: result: $CPP" >&5 |
echo "${ECHO_T}$CPP" >&6 |
ac_preproc_ok=false |
for ac_c_preproc_warn_flag in '' yes |
do |
# Use a header file that comes with gcc, so configuring glibc |
# with a fresh cross-compiler works. |
# 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. |
cat >conftest.$ac_ext <<_ACEOF |
#line 2774 "configure" |
#include "confdefs.h" |
#include <assert.h> |
Syntax error |
_ACEOF |
if { (eval echo "$as_me:2779: \"$ac_cpp conftest.$ac_ext\"") >&5 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
ac_status=$? |
egrep -v '^ *\+' conftest.er1 >conftest.err |
rm -f conftest.er1 |
cat conftest.err >&5 |
echo "$as_me:2785: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then |
if test -s conftest.err; then |
ac_cpp_err=$ac_c_preproc_warn_flag |
else |
ac_cpp_err= |
fi |
else |
ac_cpp_err=yes |
fi |
if test -z "$ac_cpp_err"; then |
: |
else |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
# Broken: fails on valid input. |
continue |
fi |
rm -f conftest.err conftest.$ac_ext |
|
# OK, works on sane cases. Now check whether non-existent headers |
# can be detected and how. |
cat >conftest.$ac_ext <<_ACEOF |
#line 2808 "configure" |
#include "confdefs.h" |
#include <ac_nonexistent.h> |
_ACEOF |
if { (eval echo "$as_me:2812: \"$ac_cpp conftest.$ac_ext\"") >&5 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
ac_status=$? |
egrep -v '^ *\+' conftest.er1 >conftest.err |
rm -f conftest.er1 |
cat conftest.err >&5 |
echo "$as_me:2818: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then |
if test -s conftest.err; then |
ac_cpp_err=$ac_c_preproc_warn_flag |
else |
ac_cpp_err= |
fi |
else |
ac_cpp_err=yes |
fi |
if test -z "$ac_cpp_err"; then |
# Broken: success on invalid input. |
continue |
else |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
# Passes both tests. |
ac_preproc_ok=: |
break |
fi |
rm -f conftest.err conftest.$ac_ext |
|
done |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
rm -f conftest.err conftest.$ac_ext |
if $ac_preproc_ok; then |
: |
else |
{ { echo "$as_me:2846: error: C preprocessor \"$CPP\" fails sanity check" >&5 |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} |
{ (exit 1); exit 1; }; } |
fi |
|
ac_ext=c |
ac_cpp='$CPP $CPPFLAGS' |
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_compiler_gnu=$ac_cv_c_compiler_gnu |
|
if test x"$GCC" = x"yes"; then |
RTEMS_USE_GCC_TRUE= |
RTEMS_USE_GCC_FALSE='#' |
else |
RTEMS_USE_GCC_TRUE='#' |
RTEMS_USE_GCC_FALSE= |
fi |
|
echo "$as_me:2865: checking whether $CC accepts -specs" >&5 |
echo $ECHO_N "checking whether $CC accepts -specs... $ECHO_C" >&6 |
if test "${rtems_cv_gcc_specs+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
|
rtems_cv_gcc_specs=no |
if test x"$GCC" = x"yes"; then |
touch confspec |
echo 'void f(){}' >conftest.c |
if test -z "`${CC} -specs confspec -c conftest.c 2>&1`";then |
rtems_cv_gcc_specs=yes |
fi |
fi |
rm -f confspec conftest* |
|
fi |
echo "$as_me:2882: result: $rtems_cv_gcc_specs" >&5 |
echo "${ECHO_T}$rtems_cv_gcc_specs" >&6 |
|
echo "$as_me:2885: checking whether $CC accepts --pipe" >&5 |
echo $ECHO_N "checking whether $CC accepts --pipe... $ECHO_C" >&6 |
if test "${rtems_cv_gcc_pipe+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
|
rtems_cv_gcc_pipe=no |
if test x"$GCC" = x"yes"; then |
echo 'void f(){}' >conftest.c |
if test -z "`${CC} --pipe -c conftest.c 2>&1`";then |
rtems_cv_gcc_pipe=yes |
fi |
rm -f conftest* |
fi |
|
fi |
echo "$as_me:2901: result: $rtems_cv_gcc_pipe" >&5 |
echo "${ECHO_T}$rtems_cv_gcc_pipe" >&6 |
|
# if test "$rtems_cv_gcc_specs" = "no"; then |
# AC_MSG_WARN([*** disabling --enable-gcc28]) |
# RTEMS_USE_GCC272=yes |
# fi |
test "$rtems_cv_gcc_pipe" = "yes" && CC="$CC --pipe" |
|
if test "$GCC" = yes; then |
|
CPPFLAGS="$CPPFLAGS " |
|
CFLAGS="-g -Wall" |
fi |
|
case $build_os in |
*cygwin*) GCCSED="| sed 's%\\\\%/%g'" ;; |
*) ;; |
esac |
|
if test "x$build_alias" != "x$host_alias"; then |
rtems_tool_prefix=${ac_tool_prefix} |
fi |
|
# 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 |
echo "$as_me:2928: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_AR+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
if test -n "$AR"; then |
ac_cv_prog_AR="$AR" # Let the user override the test. |
else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
ac_dummy="$PATH" |
for ac_dir in $ac_dummy; do |
IFS=$ac_save_IFS |
test -z "$ac_dir" && ac_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
ac_cv_prog_AR="${rtems_tool_prefix}ar" |
echo "$as_me:2943: found $ac_dir/$ac_word" >&5 |
break |
done |
|
test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="no" |
fi |
fi |
AR=$ac_cv_prog_AR |
if test -n "$AR"; then |
echo "$as_me:2952: result: $AR" >&5 |
echo "${ECHO_T}$AR" >&6 |
else |
echo "$as_me:2955: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
fi |
|
if test "x$build_alias" != "x$host_alias"; then |
rtems_tool_prefix=${ac_tool_prefix} |
fi |
|
# 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 |
echo "$as_me:2965: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_AS+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
if test -n "$AS"; then |
ac_cv_prog_AS="$AS" # Let the user override the test. |
else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
ac_dummy="$PATH" |
for ac_dir in $ac_dummy; do |
IFS=$ac_save_IFS |
test -z "$ac_dir" && ac_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
ac_cv_prog_AS="${rtems_tool_prefix}as" |
echo "$as_me:2980: found $ac_dir/$ac_word" >&5 |
break |
done |
|
test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="no" |
fi |
fi |
AS=$ac_cv_prog_AS |
if test -n "$AS"; then |
echo "$as_me:2989: result: $AS" >&5 |
echo "${ECHO_T}$AS" >&6 |
else |
echo "$as_me:2992: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
fi |
|
if test "x$build_alias" != "x$host_alias"; then |
rtems_tool_prefix=${ac_tool_prefix} |
fi |
|
# 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 |
echo "$as_me:3002: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_LD+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
if test -n "$LD"; then |
ac_cv_prog_LD="$LD" # Let the user override the test. |
else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
ac_dummy="$PATH" |
for ac_dir in $ac_dummy; do |
IFS=$ac_save_IFS |
test -z "$ac_dir" && ac_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
ac_cv_prog_LD="${rtems_tool_prefix}ld" |
echo "$as_me:3017: found $ac_dir/$ac_word" >&5 |
break |
done |
|
test -z "$ac_cv_prog_LD" && ac_cv_prog_LD="no" |
fi |
fi |
LD=$ac_cv_prog_LD |
if test -n "$LD"; then |
echo "$as_me:3026: result: $LD" >&5 |
echo "${ECHO_T}$LD" >&6 |
else |
echo "$as_me:3029: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
fi |
|
if test "x$build_alias" != "x$host_alias"; then |
rtems_tool_prefix=${ac_tool_prefix} |
fi |
|
# 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 |
echo "$as_me:3039: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_NM+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
if test -n "$NM"; then |
ac_cv_prog_NM="$NM" # Let the user override the test. |
else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
ac_dummy="$PATH" |
for ac_dir in $ac_dummy; do |
IFS=$ac_save_IFS |
test -z "$ac_dir" && ac_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
ac_cv_prog_NM="${rtems_tool_prefix}nm" |
echo "$as_me:3054: found $ac_dir/$ac_word" >&5 |
break |
done |
|
test -z "$ac_cv_prog_NM" && ac_cv_prog_NM="no" |
fi |
fi |
NM=$ac_cv_prog_NM |
if test -n "$NM"; then |
echo "$as_me:3063: result: $NM" >&5 |
echo "${ECHO_T}$NM" >&6 |
else |
echo "$as_me:3066: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
fi |
|
if test "x$build_alias" != "x$host_alias"; then |
rtems_tool_prefix=${ac_tool_prefix} |
fi |
|
# 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 |
echo "$as_me:3076: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_RANLIB+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
if test -n "$RANLIB"; then |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
ac_dummy="$PATH" |
for ac_dir in $ac_dummy; do |
IFS=$ac_save_IFS |
test -z "$ac_dir" && ac_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
ac_cv_prog_RANLIB="${rtems_tool_prefix}ranlib" |
echo "$as_me:3091: found $ac_dir/$ac_word" >&5 |
break |
done |
|
test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" |
fi |
fi |
RANLIB=$ac_cv_prog_RANLIB |
if test -n "$RANLIB"; then |
echo "$as_me:3100: result: $RANLIB" >&5 |
echo "${ECHO_T}$RANLIB" >&6 |
else |
echo "$as_me:3103: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
fi |
|
if test "x$build_alias" != "x$host_alias"; then |
rtems_tool_prefix=${ac_tool_prefix} |
fi |
|
# 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 |
echo "$as_me:3113: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_OBJCOPY+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
if test -n "$OBJCOPY"; then |
ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test. |
else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
ac_dummy="$PATH" |
for ac_dir in $ac_dummy; do |
IFS=$ac_save_IFS |
test -z "$ac_dir" && ac_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
ac_cv_prog_OBJCOPY="${rtems_tool_prefix}objcopy" |
echo "$as_me:3128: found $ac_dir/$ac_word" >&5 |
break |
done |
|
test -z "$ac_cv_prog_OBJCOPY" && ac_cv_prog_OBJCOPY="no" |
fi |
fi |
OBJCOPY=$ac_cv_prog_OBJCOPY |
if test -n "$OBJCOPY"; then |
echo "$as_me:3137: result: $OBJCOPY" >&5 |
echo "${ECHO_T}$OBJCOPY" >&6 |
else |
echo "$as_me:3140: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
fi |
|
if test "x$build_alias" != "x$host_alias"; then |
rtems_tool_prefix=${ac_tool_prefix} |
fi |
|
# 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 |
echo "$as_me:3150: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_SIZE+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
if test -n "$SIZE"; then |
ac_cv_prog_SIZE="$SIZE" # Let the user override the test. |
else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
ac_dummy="$PATH" |
for ac_dir in $ac_dummy; do |
IFS=$ac_save_IFS |
test -z "$ac_dir" && ac_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
ac_cv_prog_SIZE="${rtems_tool_prefix}size" |
echo "$as_me:3165: found $ac_dir/$ac_word" >&5 |
break |
done |
|
test -z "$ac_cv_prog_SIZE" && ac_cv_prog_SIZE="no" |
fi |
fi |
SIZE=$ac_cv_prog_SIZE |
if test -n "$SIZE"; then |
echo "$as_me:3174: result: $SIZE" >&5 |
echo "${ECHO_T}$SIZE" >&6 |
else |
echo "$as_me:3177: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
fi |
|
if test "x$build_alias" != "x$host_alias"; then |
rtems_tool_prefix=${ac_tool_prefix} |
fi |
|
# 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 |
echo "$as_me:3187: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_STRIP+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
if test -n "$STRIP"; then |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
ac_dummy="$PATH" |
for ac_dir in $ac_dummy; do |
IFS=$ac_save_IFS |
test -z "$ac_dir" && ac_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
ac_cv_prog_STRIP="${rtems_tool_prefix}strip" |
echo "$as_me:3202: found $ac_dir/$ac_word" >&5 |
break |
done |
|
test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":" |
fi |
fi |
STRIP=$ac_cv_prog_STRIP |
if test -n "$STRIP"; then |
echo "$as_me:3211: result: $STRIP" >&5 |
echo "${ECHO_T}$STRIP" >&6 |
else |
echo "$as_me:3214: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
fi |
|
if test x"${enable_multilib}" = x"yes"; then |
MULTILIB_TRUE= |
MULTILIB_FALSE='#' |
else |
MULTILIB_TRUE='#' |
MULTILIB_FALSE= |
fi |
|
# Explicitly list all Makefiles here |
ac_config_files="$ac_config_files Makefile" |
|
cat >confcache <<\_ACEOF |
# This file is a shell script that caches the results of configure |
# tests run on this system so they can be shared between configure |
# scripts and configure runs, see configure's option --config-cache. |
# It is not useful on other systems. If it contains results you don't |
# want to keep, you may remove or edit it. |
# |
# config.status only pays attention to the cache file if you give it |
# the --recheck option to rerun configure. |
# |
# `ac_cv_env_foo' variables (set or unset) will be overriden when |
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
# following values. |
|
_ACEOF |
|
# The following way of writing the cache mishandles newlines in values, |
# but we know of no workaround that is simple, portable, and efficient. |
# So, don't put newlines in cache variables' values. |
# 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. |
{ |
(set) 2>&1 | |
case `(ac_space=' '; set | grep ac_space) 2>&1` in |
*ac_space=\ *) |
# `set' does not quote correctly, so add quotes (double-quote |
# substitution turns \\\\ into \\, and sed turns \\ into \). |
sed -n \ |
"s/'/'\\\\''/g; |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
;; |
*) |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
sed -n \ |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
;; |
esac; |
} | |
sed ' |
t clear |
: clear |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
t end |
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
: end' >>confcache |
if cmp -s $cache_file confcache; then :; else |
if test -w $cache_file; then |
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
cat confcache >$cache_file |
else |
echo "not updating unwritable cache $cache_file" |
fi |
fi |
rm -f confcache |
|
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
# Let make expand exec_prefix. |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
|
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
# trailing colons and then remove the whole line if VPATH becomes empty |
# (actually we leave an empty line to preserve line numbers). |
if test "x$srcdir" = x.; then |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
s/:*\$(srcdir):*/:/; |
s/:*\${srcdir}:*/:/; |
s/:*@srcdir@:*/:/; |
s/^\([^=]*=[ ]*\):*/\1/; |
s/:*$//; |
s/^[^=]*=[ ]*$//; |
}' |
fi |
|
# Transform confdefs.h into DEFS. |
# Protect against shell expansion while executing Makefile rules. |
# Protect against Makefile macro expansion. |
# |
# If the first sed substitution is executed (which looks for macros that |
# take arguments), then we branch to the quote section. Otherwise, |
# look for a macro that doesn't take arguments. |
cat >confdef2opt.sed <<\EOF |
t clear |
: clear |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g |
t quote |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g |
t quote |
d |
: quote |
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g |
s,\[,\\&,g |
s,\],\\&,g |
s,\$,$$,g |
p |
EOF |
# We use echo to avoid assuming a particular line-breaking character. |
# The extra dot is to prevent the shell from consuming trailing |
# line-breaks from the sub-command output. A line-break within |
# 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 |
# would break. |
ac_LF_and_DOT=`echo; echo .` |
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` |
rm -f confdef2opt.sed |
|
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
{ { echo "$as_me:3336: error: conditional \"MAINTAINER_MODE\" was never defined. |
Usually this means the macro was only invoked conditionally." >&5 |
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. |
Usually this means the macro was only invoked conditionally." >&2;} |
{ (exit 1); exit 1; }; } |
fi |
if test -z "${MULTILIB_TRUE}" && test -z "${MULTILIB_FALSE}"; then |
{ { echo "$as_me:3343: error: conditional \"MULTILIB\" was never defined. |
Usually this means the macro was only invoked conditionally." >&5 |
echo "$as_me: error: conditional \"MULTILIB\" was never defined. |
Usually this means the macro was only invoked conditionally." >&2;} |
{ (exit 1); exit 1; }; } |
fi |
if test -z "${MULTILIB_TRUE}" && test -z "${MULTILIB_FALSE}"; then |
{ { echo "$as_me:3350: error: conditional \"MULTILIB\" was never defined. |
Usually this means the macro was only invoked conditionally." >&5 |
echo "$as_me: error: conditional \"MULTILIB\" was never defined. |
Usually this means the macro was only invoked conditionally." >&2;} |
{ (exit 1); exit 1; }; } |
fi |
if test -z "${HAS_LIBBSP_TRUE}" && test -z "${HAS_LIBBSP_FALSE}"; then |
{ { echo "$as_me:3357: error: conditional \"HAS_LIBBSP\" was never defined. |
Usually this means the macro was only invoked conditionally." >&5 |
echo "$as_me: error: conditional \"HAS_LIBBSP\" was never defined. |
Usually this means the macro was only invoked conditionally." >&2;} |
{ (exit 1); exit 1; }; } |
fi |
if test -z "${HAS_NETWORKING_TRUE}" && test -z "${HAS_NETWORKING_FALSE}"; then |
{ { echo "$as_me:3364: error: conditional \"HAS_NETWORKING\" was never defined. |
Usually this means the macro was only invoked conditionally." >&5 |
echo "$as_me: error: conditional \"HAS_NETWORKING\" was never defined. |
Usually this means the macro was only invoked conditionally." >&2;} |
{ (exit 1); exit 1; }; } |
fi |
if test -z "${HAS_RDBG_TRUE}" && test -z "${HAS_RDBG_FALSE}"; then |
{ { echo "$as_me:3371: error: conditional \"HAS_RDBG\" was never defined. |
Usually this means the macro was only invoked conditionally." >&5 |
echo "$as_me: error: conditional \"HAS_RDBG\" was never defined. |
Usually this means the macro was only invoked conditionally." >&2;} |
{ (exit 1); exit 1; }; } |
fi |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
{ { echo "$as_me:3378: error: conditional \"AMDEP\" was never defined. |
Usually this means the macro was only invoked conditionally." >&5 |
echo "$as_me: error: conditional \"AMDEP\" was never defined. |
Usually this means the macro was only invoked conditionally." >&2;} |
{ (exit 1); exit 1; }; } |
fi |
if test -z "${RTEMS_USE_GCC_TRUE}" && test -z "${RTEMS_USE_GCC_FALSE}"; then |
{ { echo "$as_me:3385: error: conditional \"RTEMS_USE_GCC\" was never defined. |
Usually this means the macro was only invoked conditionally." >&5 |
echo "$as_me: error: conditional \"RTEMS_USE_GCC\" was never defined. |
Usually this means the macro was only invoked conditionally." >&2;} |
{ (exit 1); exit 1; }; } |
fi |
if test -z "${MULTILIB_TRUE}" && test -z "${MULTILIB_FALSE}"; then |
{ { echo "$as_me:3392: error: conditional \"MULTILIB\" was never defined. |
Usually this means the macro was only invoked conditionally." >&5 |
echo "$as_me: error: conditional \"MULTILIB\" was never defined. |
Usually this means the macro was only invoked conditionally." >&2;} |
{ (exit 1); exit 1; }; } |
fi |
|
: ${CONFIG_STATUS=./config.status} |
ac_clean_files_save=$ac_clean_files |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
{ echo "$as_me:3402: creating $CONFIG_STATUS" >&5 |
echo "$as_me: creating $CONFIG_STATUS" >&6;} |
cat >$CONFIG_STATUS <<_ACEOF |
#! $SHELL |
# Generated automatically by configure. |
# Run this file to recreate the current configuration. |
# Compiler output produced by configure, useful for debugging |
# configure, is in config.log if it exists. |
|
debug=false |
SHELL=\${CONFIG_SHELL-$SHELL} |
ac_cs_invocation="\$0 \$@" |
|
_ACEOF |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
# Be Bourne compatible |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
emulate sh |
NULLCMD=: |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
set -o posix |
fi |
|
# Name of the executable. |
as_me=`echo "$0" |sed 's,.*[\\/],,'` |
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
as_expr=expr |
else |
as_expr=false |
fi |
|
rm -f conf$$ conf$$.exe conf$$.file |
echo >conf$$.file |
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 |
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
if test -f conf$$.exe; then |
# Don't use ln at all; we don't have any links |
as_ln_s='cp -p' |
else |
as_ln_s='ln -s' |
fi |
elif ln conf$$.file conf$$ 2>/dev/null; then |
as_ln_s=ln |
else |
as_ln_s='cp -p' |
fi |
rm -f conf$$ conf$$.exe conf$$.file |
|
as_executable_p="test -f" |
|
# Support unset when possible. |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
as_unset=unset |
else |
as_unset=false |
fi |
|
# NLS nuisances. |
$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_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 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_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; } |
|
# IFS |
# We need space, tab and new line, in precisely that order. |
as_nl=' |
' |
IFS=" $as_nl" |
|
# CDPATH. |
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } |
|
exec 6>&1 |
|
_ACEOF |
|
# Files that config.status was made for. |
if test -n "$ac_config_files"; then |
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
fi |
|
if test -n "$ac_config_headers"; then |
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS |
fi |
|
if test -n "$ac_config_links"; then |
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS |
fi |
|
if test -n "$ac_config_commands"; then |
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
fi |
|
cat >>$CONFIG_STATUS <<\EOF |
|
ac_cs_usage="\ |
\`$as_me' instantiates files from templates according to the |
current configuration. |
|
Usage: $0 [OPTIONS] [FILE]... |
|
-h, --help print this help, then exit |
-V, --version print version number, then exit |
-d, --debug don't remove temporary files |
--recheck update $as_me by reconfiguring in the same conditions |
--file=FILE[:TEMPLATE] |
instantiate the configuration file FILE |
|
Configuration files: |
$config_files |
|
Configuration commands: |
$config_commands |
|
Report bugs to <bug-autoconf@gnu.org>." |
EOF |
|
cat >>$CONFIG_STATUS <<EOF |
ac_cs_version="\\ |
rtems-c-src-wrapup config.status ss-20020807 |
configured by $0, generated by GNU Autoconf 2.52, |
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
|
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
Free Software Foundation, Inc. |
This config.status script is free software; the Free Software Foundation |
gives unlimited permission to copy, distribute and modify it." |
srcdir=$srcdir |
INSTALL="$INSTALL" |
EOF |
|
cat >>$CONFIG_STATUS <<\EOF |
# 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. |
ac_need_defaults=: |
while test $# != 0 |
do |
case $1 in |
--*=*) |
ac_option=`expr "x$1" : 'x\([^=]*\)='` |
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
shift |
set dummy "$ac_option" "$ac_optarg" ${1+"$@"} |
shift |
;; |
-*);; |
*) # This is not an option, so the user has probably given explicit |
# arguments. |
ac_need_defaults=false;; |
esac |
|
case $1 in |
# Handling of the options. |
EOF |
cat >>$CONFIG_STATUS <<EOF |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" |
exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; |
EOF |
cat >>$CONFIG_STATUS <<\EOF |
--version | --vers* | -V ) |
echo "$ac_cs_version"; exit 0 ;; |
--he | --h) |
# Conflict between --help and --header |
{ { echo "$as_me:3573: error: ambiguous option: $1 |
Try \`$0 --help' for more information." >&5 |
echo "$as_me: error: ambiguous option: $1 |
Try \`$0 --help' for more information." >&2;} |
{ (exit 1); exit 1; }; };; |
--help | --hel | -h ) |
echo "$ac_cs_usage"; exit 0 ;; |
--debug | --d* | -d ) |
debug=: ;; |
--file | --fil | --fi | --f ) |
shift |
CONFIG_FILES="$CONFIG_FILES $1" |
ac_need_defaults=false;; |
--header | --heade | --head | --hea ) |
shift |
CONFIG_HEADERS="$CONFIG_HEADERS $1" |
ac_need_defaults=false;; |
|
# This is an error. |
-*) { { echo "$as_me:3592: error: unrecognized option: $1 |
Try \`$0 --help' for more information." >&5 |
echo "$as_me: error: unrecognized option: $1 |
Try \`$0 --help' for more information." >&2;} |
{ (exit 1); exit 1; }; } ;; |
|
*) ac_config_targets="$ac_config_targets $1" ;; |
|
esac |
shift |
done |
|
exec 5>>config.log |
cat >&5 << _ACEOF |
|
## ----------------------- ## |
## Running config.status. ## |
## ----------------------- ## |
|
This file was extended by $as_me (rtems-c-src-wrapup ss-20020807) 2.52, executed with |
CONFIG_FILES = $CONFIG_FILES |
CONFIG_HEADERS = $CONFIG_HEADERS |
CONFIG_LINKS = $CONFIG_LINKS |
CONFIG_COMMANDS = $CONFIG_COMMANDS |
> $ac_cs_invocation |
on `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
_ACEOF |
EOF |
|
cat >>$CONFIG_STATUS <<EOF |
# |
# INIT-COMMANDS section. |
# |
|
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
|
EOF |
|
cat >>$CONFIG_STATUS <<\EOF |
for ac_config_target in $ac_config_targets |
do |
case "$ac_config_target" in |
# Handling of arguments. |
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
*) { { echo "$as_me:3638: error: invalid argument: $ac_config_target" >&5 |
echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
{ (exit 1); exit 1; }; };; |
esac |
done |
|
# 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. |
# We use the long form for the default assignment because of an extremely |
# bizarre bug on SunOS 4.1.3. |
if $ac_need_defaults; then |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
fi |
|
# Create a temporary directory, and hook for its removal unless debugging. |
$debug || |
{ |
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
trap '{ (exit 1); exit 1; }' 1 2 13 15 |
} |
|
# Create a (secure) tmp directory for tmp files. |
: ${TMPDIR=/tmp} |
{ |
tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && |
test -n "$tmp" && test -d "$tmp" |
} || |
{ |
tmp=$TMPDIR/cs$$-$RANDOM |
(umask 077 && mkdir $tmp) |
} || |
{ |
echo "$me: cannot create a temporary directory in $TMPDIR" >&2 |
{ (exit 1); exit 1; } |
} |
|
EOF |
|
cat >>$CONFIG_STATUS <<EOF |
|
# |
# CONFIG_FILES section. |
# |
|
# No need to generate the scripts if there are no CONFIG_FILES. |
# This happens for instance when ./config.status config.h |
if test -n "\$CONFIG_FILES"; then |
# 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; |
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
s,@SHELL@,$SHELL,;t t |
s,@exec_prefix@,$exec_prefix,;t t |
s,@prefix@,$prefix,;t t |
s,@program_transform_name@,$program_transform_name,;t t |
s,@bindir@,$bindir,;t t |
s,@sbindir@,$sbindir,;t t |
s,@libexecdir@,$libexecdir,;t t |
s,@datadir@,$datadir,;t t |
s,@sysconfdir@,$sysconfdir,;t t |
s,@sharedstatedir@,$sharedstatedir,;t t |
s,@localstatedir@,$localstatedir,;t t |
s,@libdir@,$libdir,;t t |
s,@includedir@,$includedir,;t t |
s,@oldincludedir@,$oldincludedir,;t t |
s,@infodir@,$infodir,;t t |
s,@mandir@,$mandir,;t t |
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
s,@build_alias@,$build_alias,;t t |
s,@host_alias@,$host_alias,;t t |
s,@target_alias@,$target_alias,;t t |
s,@ECHO_C@,$ECHO_C,;t t |
s,@ECHO_N@,$ECHO_N,;t t |
s,@ECHO_T@,$ECHO_T,;t t |
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
s,@DEFS@,$DEFS,;t t |
s,@LIBS@,$LIBS,;t t |
s,@MAKE@,$MAKE,;t t |
s,@ENDIF@,$ENDIF,;t t |
s,@RTEMS_TOPdir@,$RTEMS_TOPdir,;t t |
s,@PROJECT_TOPdir@,$PROJECT_TOPdir,;t t |
s,@PROJECT_ROOT@,$PROJECT_ROOT,;t t |
s,@RTEMS_HAS_NETWORKING@,$RTEMS_HAS_NETWORKING,;t t |
s,@RTEMS_HAS_RDBG@,$RTEMS_HAS_RDBG,;t t |
s,@build@,$build,;t t |
s,@build_cpu@,$build_cpu,;t t |
s,@build_vendor@,$build_vendor,;t t |
s,@build_os@,$build_os,;t t |
s,@host@,$host,;t t |
s,@host_cpu@,$host_cpu,;t t |
s,@host_vendor@,$host_vendor,;t t |
s,@host_os@,$host_os,;t t |
s,@target@,$target,;t t |
s,@target_cpu@,$target_cpu,;t t |
s,@target_vendor@,$target_vendor,;t t |
s,@target_os@,$target_os,;t t |
s,@RTEMS_CPU@,$RTEMS_CPU,;t t |
s,@RTEMS_HOST@,$RTEMS_HOST,;t t |
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
s,@PACKAGE@,$PACKAGE,;t t |
s,@VERSION@,$VERSION,;t t |
s,@ACLOCAL@,$ACLOCAL,;t t |
s,@AUTOCONF@,$AUTOCONF,;t t |
s,@AUTOMAKE@,$AUTOMAKE,;t t |
s,@AUTOHEADER@,$AUTOHEADER,;t t |
s,@MAKEINFO@,$MAKEINFO,;t t |
s,@AMTAR@,$AMTAR,;t t |
s,@install_sh@,$install_sh,;t t |
s,@STRIP@,$STRIP,;t t |
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t |
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t |
s,@AWK@,$AWK,;t t |
s,@SET_MAKE@,$SET_MAKE,;t t |
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t |
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t |
s,@MAINT@,$MAINT,;t t |
s,@MULTILIB_TRUE@,$MULTILIB_TRUE,;t t |
s,@MULTILIB_FALSE@,$MULTILIB_FALSE,;t t |
s,@RTEMS_BSP@,$RTEMS_BSP,;t t |
s,@RTEMS_BSP_SPECS@,$RTEMS_BSP_SPECS,;t t |
s,@GCC_SPECS@,$GCC_SPECS,;t t |
s,@PROJECT_INCLUDE@,$PROJECT_INCLUDE,;t t |
s,@PROJECT_RELEASE@,$PROJECT_RELEASE,;t t |
s,@RTEMS_ROOT@,$RTEMS_ROOT,;t t |
s,@BARE_CPU_MODEL@,$BARE_CPU_MODEL,;t t |
s,@BARE_CPU_CFLAGS@,$BARE_CPU_CFLAGS,;t t |
s,@bsplibdir@,$bsplibdir,;t t |
s,@HAS_LIBBSP_TRUE@,$HAS_LIBBSP_TRUE,;t t |
s,@HAS_LIBBSP_FALSE@,$HAS_LIBBSP_FALSE,;t t |
s,@HAS_NETWORKING@,$HAS_NETWORKING,;t t |
s,@HAS_RDBG@,$HAS_RDBG,;t t |
s,@HAS_NETWORKING_TRUE@,$HAS_NETWORKING_TRUE,;t t |
s,@HAS_NETWORKING_FALSE@,$HAS_NETWORKING_FALSE,;t t |
s,@HAS_RDBG_TRUE@,$HAS_RDBG_TRUE,;t t |
s,@HAS_RDBG_FALSE@,$HAS_RDBG_FALSE,;t t |
s,@PACKHEX@,$PACKHEX,;t t |
s,@CC@,$CC,;t t |
s,@CFLAGS@,$CFLAGS,;t t |
s,@LDFLAGS@,$LDFLAGS,;t t |
s,@CPPFLAGS@,$CPPFLAGS,;t t |
s,@ac_ct_CC@,$ac_ct_CC,;t t |
s,@EXEEXT@,$EXEEXT,;t t |
s,@OBJEXT@,$OBJEXT,;t t |
s,@DEPDIR@,$DEPDIR,;t t |
s,@am__include@,$am__include,;t t |
s,@am__quote@,$am__quote,;t t |
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t |
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t |
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t |
s,@CCDEPMODE@,$CCDEPMODE,;t t |
s,@CPP@,$CPP,;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,@GCCSED@,$GCCSED,;t t |
s,@AR@,$AR,;t t |
s,@AS@,$AS,;t t |
s,@LD@,$LD,;t t |
s,@NM@,$NM,;t t |
s,@RANLIB@,$RANLIB,;t t |
s,@OBJCOPY@,$OBJCOPY,;t t |
s,@SIZE@,$SIZE,;t t |
CEOF |
|
EOF |
|
cat >>$CONFIG_STATUS <<\EOF |
# Split the substitutions into bite-sized pieces for seds with |
# small command number limits, like on Digital OSF/1 and HP-UX. |
ac_max_sed_lines=48 |
ac_sed_frag=1 # Number of current file. |
ac_beg=1 # First line for current file. |
ac_end=$ac_max_sed_lines # Line after last line for current file. |
ac_more_lines=: |
ac_sed_cmds= |
while $ac_more_lines; do |
if test $ac_beg -gt 1; then |
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
else |
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
fi |
if test ! -s $tmp/subs.frag; then |
ac_more_lines=false |
else |
# The purpose of the label and of the branching condition is to |
# speed up the sed processing (if there are no `@' at all, there |
# is no need to browse any of the substitutions). |
# These are the two extra sed commands mentioned above. |
(echo ':t |
/@[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 |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
else |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
fi |
ac_sed_frag=`expr $ac_sed_frag + 1` |
ac_beg=$ac_end |
ac_end=`expr $ac_end + $ac_max_sed_lines` |
fi |
done |
if test -z "$ac_sed_cmds"; then |
ac_sed_cmds=cat |
fi |
fi # test -n "$CONFIG_FILES" |
|
EOF |
cat >>$CONFIG_STATUS <<\EOF |
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
case $ac_file in |
- | *:- | *:-:* ) # input from stdin |
cat >$tmp/stdin |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
* ) ac_file_in=$ac_file.in ;; |
esac |
|
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
X"$ac_file" : 'X\(//\)$' \| \ |
X"$ac_file" : 'X\(/\)' \| \ |
. : '\(.\)' 2>/dev/null || |
echo X"$ac_file" | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)$/{ s//\1/; q; } |
/^X\(\/\).*/{ s//\1/; q; } |
s/.*/./; q'` |
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
{ case "$ac_dir" in |
[\\/]* | ?:[\\/]* ) as_incr_dir=;; |
*) as_incr_dir=.;; |
esac |
as_dummy="$ac_dir" |
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do |
case $as_mkdir_dir in |
# Skip DOS drivespec |
?:) as_incr_dir=$as_mkdir_dir ;; |
*) |
as_incr_dir=$as_incr_dir/$as_mkdir_dir |
test -d "$as_incr_dir" || mkdir "$as_incr_dir" |
;; |
esac |
done; } |
|
ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`" |
# A "../" for each directory in $ac_dir_suffix. |
ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'` |
else |
ac_dir_suffix= ac_dots= |
fi |
|
case $srcdir in |
.) ac_srcdir=. |
if test -z "$ac_dots"; then |
ac_top_srcdir=. |
else |
ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` |
fi ;; |
[\\/]* | ?:[\\/]* ) |
ac_srcdir=$srcdir$ac_dir_suffix; |
ac_top_srcdir=$srcdir ;; |
*) # Relative path. |
ac_srcdir=$ac_dots$srcdir$ac_dir_suffix |
ac_top_srcdir=$ac_dots$srcdir ;; |
esac |
|
case $INSTALL in |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
*) ac_INSTALL=$ac_dots$INSTALL ;; |
esac |
|
if test x"$ac_file" != x-; then |
{ echo "$as_me:3919: creating $ac_file" >&5 |
echo "$as_me: creating $ac_file" >&6;} |
rm -f "$ac_file" |
fi |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
# use $as_me), people would be surprised to read: |
# /* config.h. Generated automatically by config.status. */ |
configure_input="Generated automatically from `echo $ac_file_in | |
sed 's,.*/,,'` by configure." |
|
# First look for the input files in the build tree, otherwise in the |
# src tree. |
ac_file_inputs=`IFS=: |
for f in $ac_file_in; do |
case $f in |
-) echo $tmp/stdin ;; |
[\\/$]*) |
# Absolute (can't be DOS-style, as IFS=:) |
test -f "$f" || { { echo "$as_me:3937: error: cannot find input file: $f" >&5 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
{ (exit 1); exit 1; }; } |
echo $f;; |
*) # Relative |
if test -f "$f"; then |
# Build tree |
echo $f |
elif test -f "$srcdir/$f"; then |
# Source tree |
echo $srcdir/$f |
else |
# /dev/null tree |
{ { echo "$as_me:3950: error: cannot find input file: $f" >&5 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
{ (exit 1); exit 1; }; } |
fi;; |
esac |
done` || { (exit 1); exit 1; } |
EOF |
cat >>$CONFIG_STATUS <<EOF |
sed "$ac_vpsub |
$extrasub |
EOF |
cat >>$CONFIG_STATUS <<\EOF |
:t |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
s,@configure_input@,$configure_input,;t t |
s,@srcdir@,$ac_srcdir,;t t |
s,@top_srcdir@,$ac_top_srcdir,;t t |
s,@INSTALL@,$ac_INSTALL,;t t |
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
rm -f $tmp/stdin |
if test x"$ac_file" != x-; then |
mv $tmp/out $ac_file |
else |
cat $tmp/out |
rm -f $tmp/out |
fi |
|
done |
EOF |
cat >>$CONFIG_STATUS <<\EOF |
|
# |
# CONFIG_COMMANDS section. |
# |
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue |
ac_dest=`echo "$ac_file" | sed 's,:.*,,'` |
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
|
case $ac_dest in |
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do |
# Strip MF so we end up with the name of the file. |
mf=`echo "$mf" | sed -e 's/:.*$//'` |
# Check whether this is an Automake generated Makefile or not. |
# We used to match only the files named `Makefile.in', but |
# some people rename them; so instead we look at the file content. |
# 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. |
# So let's grep whole file. |
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
dirpart=`$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
X"$mf" : 'X\(//\)[^/]' \| \ |
X"$mf" : 'X\(//\)$' \| \ |
X"$mf" : 'X\(/\)' \| \ |
. : '\(.\)' 2>/dev/null || |
echo X"$mf" | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)$/{ s//\1/; q; } |
/^X\(\/\).*/{ s//\1/; q; } |
s/.*/./; q'` |
else |
continue |
fi |
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue |
# Extract the definition of DEP_FILES from the Makefile without |
# running `make'. |
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` |
test -z "$DEPDIR" && continue |
# When using ansi2knr, U may be empty or an underscore; expand it |
U=`sed -n -e '/^U = / s///p' < "$mf"` |
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" |
# We invoke sed twice because it is the simplest approach to |
# changing $(DEPDIR) to its actual value in the expansion. |
for file in `sed -n -e ' |
/^DEP_FILES = .*\\\\$/ { |
s/^DEP_FILES = // |
:loop |
s/\\\\$// |
p |
n |
/\\\\$/ b loop |
p |
} |
/^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
# Make sure the directory exists. |
test -f "$dirpart/$file" && continue |
fdir=`$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
X"$file" : 'X\(//\)[^/]' \| \ |
X"$file" : 'X\(//\)$' \| \ |
X"$file" : 'X\(/\)' \| \ |
. : '\(.\)' 2>/dev/null || |
echo X"$file" | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)$/{ s//\1/; q; } |
/^X\(\/\).*/{ s//\1/; q; } |
s/.*/./; q'` |
{ case $dirpart/$fdir in |
[\\/]* | ?:[\\/]* ) as_incr_dir=;; |
*) as_incr_dir=.;; |
esac |
as_dummy=$dirpart/$fdir |
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do |
case $as_mkdir_dir in |
# Skip DOS drivespec |
?:) as_incr_dir=$as_mkdir_dir ;; |
*) |
as_incr_dir=$as_incr_dir/$as_mkdir_dir |
test -d "$as_incr_dir" || mkdir "$as_incr_dir" |
;; |
esac |
done; } |
|
# echo "creating $dirpart/$file" |
echo '# dummy' > "$dirpart/$file" |
done |
done |
;; |
esac |
done |
EOF |
|
cat >>$CONFIG_STATUS <<\EOF |
|
{ (exit 0); exit 0; } |
EOF |
chmod +x $CONFIG_STATUS |
ac_clean_files=$ac_clean_files_save |
|
# configure is writing to config.log, and then calls config.status. |
# config.status does its own redirection, appending to config.log. |
# 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 |
# output is simply discarded. So we exec the FD to /dev/null, |
# effectively closing config.log, so it can be properly (re)opened and |
# appended to by config.status. When coming back to configure, we |
# need to make the FD available again. |
if test "$no_create" != yes; then |
ac_cs_success=: |
exec 5>/dev/null |
$SHELL $CONFIG_STATUS || ac_cs_success=false |
exec 5>>config.log |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
# would make configure fail if this is the last instruction. |
$ac_cs_success || { (exit 1); exit 1; } |
fi |
|
configure
Property changes :
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: Makefile.in
===================================================================
--- Makefile.in (nonexistent)
+++ Makefile.in (revision 1765)
@@ -0,0 +1,620 @@
+# Makefile.in generated by automake 1.6.2 from Makefile.am.
+# @configure_input@
+
+# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+# Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+SHELL = @SHELL@
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+datadir = @datadir@
+sysconfdir = @sysconfdir@
+sharedstatedir = @sharedstatedir@
+localstatedir = @localstatedir@
+libdir = @libdir@
+infodir = @infodir@
+mandir = @mandir@
+includedir = @includedir@
+oldincludedir = /usr/include
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+top_builddir = .
+
+ACLOCAL = @ACLOCAL@
+AUTOCONF = @AUTOCONF@
+AUTOMAKE = @AUTOMAKE@
+AUTOHEADER = @AUTOHEADER@
+
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_DATA = @INSTALL_DATA@
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = @program_transform_name@
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+host_alias = @host_alias@
+host_triplet = @host@
+
+EXEEXT = @EXEEXT@
+OBJEXT = @OBJEXT@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+AMTAR = @AMTAR@
+AWK = @AWK@
+BARE_CPU_CFLAGS = @BARE_CPU_CFLAGS@
+BARE_CPU_MODEL = @BARE_CPU_MODEL@
+
+CC = @CC@ $(GCCSPECS)
+CPP = @CPP@ $(GCCSPECS)
+DEPDIR = @DEPDIR@
+ENDIF = @ENDIF@
+GCCSED = @GCCSED@
+GCC_SPECS = @GCC_SPECS@
+HAS_NETWORKING = @HAS_NETWORKING@
+HAS_RDBG = @HAS_RDBG@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+MAINT = @MAINT@
+MAKE = @MAKE@
+PACKAGE = @PACKAGE@
+PACKHEX = @PACKHEX@
+PROJECT_INCLUDE = @PROJECT_INCLUDE@
+PROJECT_RELEASE = @PROJECT_RELEASE@
+PROJECT_ROOT = @PROJECT_ROOT@
+PROJECT_TOPdir = @PROJECT_TOPdir@
+RTEMS_BSP = @RTEMS_BSP@
+RTEMS_BSP_SPECS = @RTEMS_BSP_SPECS@
+RTEMS_CPU = @RTEMS_CPU@
+RTEMS_HAS_NETWORKING = @RTEMS_HAS_NETWORKING@
+RTEMS_HAS_RDBG = @RTEMS_HAS_RDBG@
+RTEMS_HOST = @RTEMS_HOST@
+RTEMS_ROOT = @RTEMS_ROOT@
+RTEMS_TOPdir = @RTEMS_TOPdir@
+STRIP = @STRIP@
+VERSION = @VERSION@
+am__include = @am__include@
+am__quote = @am__quote@
+bsplibdir = @bsplibdir@
+install_sh = @install_sh@
+
+ACLOCAL_AMFLAGS = -I ../../../aclocal
+
+@RTEMS_USE_GCC_TRUE@CFLAGS_DEFAULT = -g -Wall
+@RTEMS_USE_GCC_TRUE@GCCSPECS = $(GCC_SPECS) $(RTEMS_BSP_SPECS)
+
+DEFS = @DEFS@
+
+CPPFLAGS = @CPPFLAGS@ $(CPU_DEFINES) \
+ $(DEFINES) $(XCPPFLAGS) $(CPPFLAGS_GCC)
+
+CFLAGS = $(CFLAGS_DEFAULT) $(CPU_CFLAGS) $(XCFLAGS)
+CXXFLAGS = $(CFLAGS_DEFAULT) $(CPU_CFLAGS) $(XCXXFLAGS)
+ASFLAGS = $(CPU_ASFLAGS) $(CPU_CFLAGS) $(XASFLAGS)
+
+LINK_LIBS = $(LD_LIBS)
+
+# when debugging, optimize flag: typically empty
+# some compilers do allow optimization with their "-g"
+CFLAGS_DEBUG_OPTIMIZE_V = -g
+CXXFLAGS_DEBUG_OPTIMIZE_V = -g
+LDFLAGS_DEBUG_V =
+
+# profile flag; use gprof(1)
+CFLAGS_PROFILE_V = -pg
+CXXFLAGS_PROFILE_V = -pg
+LDFLAGS_PROFILE_V =
+
+# List of library paths without -L
+LD_PATHS = $(PROJECT_RELEASE)/lib
+
+# ld flag for incomplete link
+LDFLAGS_INCOMPLETE = -r
+
+# ld flags for profiling, debugging
+LDFLAGS = $(LDFLAGS_PROFILE) $(LDFLAGS_DEBUG) $(LD_PATHS:%=-L %)
+
+
+#
+# Client compiler and support tools
+#
+
+#
+# How to compile stuff into ${ARCH} subdirectory
+#
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+
+CCLD = $(CC)
+LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
+
+
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+
+CXXLD = $(CXX)
+CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
+
+
+AS = $(CC)
+ASCOMPILE = $(AS) $(AM_ASFLAGS) $(ASFLAGS)
+
+
+# Dependency files for use by gmake
+# NOTE: we don't put them into $(ARCH)
+# so that 'make clean' doesn't blow it away
+DEPEND = Depends-${ARCH}
+
+CLEAN_DEPEND = $(DEPEND).tmp
+CLOBBER_DEPEND = $(DEPEND)
+
+
+# spell out all the LINK_FILE's, rather than using -lbsp, so
+# that $(LINK_FILES) can be a dependency
+LINK_OBJS = \
+ $(OBJS) \
+ $(MANAGERS_NOT_WANTED:%=$(PROJECT_RELEASE)/lib/no-%$(LIB_VARIANT).rel)
+
+
+LINK_FILES = \
+ $(START_FILE) \
+ $(OBJS) \
+ $(MANAGERS_NOT_WANTED:%=$(PROJECT_RELEASE)/lib/no-%$(LIB_VARIANT).rel)
+
+
+VARIANT = OPTIMIZE
+
+VARIANT_OPTIMIZE_V = OPTIMIZE
+VARIANT_DEBUG_V = DEBUG
+VARIANT_PROFILE_V = PROFILE
+VARIANT_optimize_V = OPTIMIZE
+VARIANT_debug_V = DEBUG
+VARIANT_profile_V = PROFILE
+
+VARIANT_V = $(VARIANT_$(VARIANT)_V)
+
+ARCH_OPTIMIZE_V = o-optimize
+ARCH_DEBUG_V = o-debug
+ARCH_PROFILE_V = o-profile
+
+ARCH__V = $(ARCH_OPTIMIZE_V)
+ARCH = $(ARCH_$(VARIANT_V)_V)
+
+LIBSUFFIX_OPTIMIZE_V =
+LIBSUFFIX_DEBUG_V = _g
+LIBSUFFIX_PROFILE_V = _p
+LIBSUFFIX__V = $(LIBSUFFIX_OPTIMIZE_V)
+
+LIB_VARIANT = $(LIBSUFFIX_$(VARIANT_V)_V)
+LIBSUFFIX_VA = $(LIB_VARIANT).a
+
+CFLAGS__V = $(CFLAGS_OPTIMIZE_V)
+
+@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_OPTIMIZE_V =
+@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_DEBUG_V = -qrtems_debug -Wno-unused
+@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_PROFILE_V =
+
+RTEMS_CFLAGS__V = $(RTEMS_CFLAGS_OPTIMIZE_V)
+CXX = @CXX@ $(GCCSPECS)
+
+LD = @LD@
+OBJCOPY = @OBJCOPY@
+NM = @NM@
+SIZE = @SIZE@
+
+AM_CPPFLAGS = $(RTEMS_CPPFLAGS)
+
+AM_CFLAGS = $(RTEMS_CFLAGS_$(VARIANT_V)_V) $(CFLAGS_$(VARIANT_V)_V)
+AM_CXXFLAGS = $(RTEMS_CFLAGS_$(VARIANT_V)_V) $(CFLAGS_$(VARIANT_V)_V)
+
+AR = @AR@
+RANLIB = @RANLIB@
+
+ARFLAGS = ruv
+
+TMPINSTALL_FILES = $(PROJECT_RELEASE)/lib $(PROJECT_RELEASE)/lib/librtemsbsp${LIB_VARIANT}.a
+
+LIB = $(PROJECT_RELEASE)/lib/librtemsbsp${LIB_VARIANT}.a
+
+@HAS_NETWORKING_TRUE@LIBNETWORKING = ../libnetworking/wrapup/$(ARCH)/libnetapps.a
+
+@HAS_RDBG_TRUE@LIBRDBG = $(PROJECT_RELEASE)/lib/librdbg$(LIB_VARIANT).a
+
+@HAS_LIBBSP_TRUE@LIBBSP = ../lib/libbsp/@RTEMS_CPU@/$(RTEMS_BSP_FAMILY)/wrapup/$(ARCH)/libbsp.a
+
+SRCS = $(LIBBSP) $(LIBNETWORKING) $(LIBRDBG) \
+ $(wildcard $(PROJECT_RELEASE)/lib/libcpu$(LIB_VARIANT).a) \
+ $(wildcard $(PROJECT_RELEASE)/lib/librtcio$(LIB_VARIANT).a) \
+ $(wildcard $(PROJECT_RELEASE)/lib/libserialio$(LIB_VARIANT).a) \
+ $(wildcard $(PROJECT_RELEASE)/lib/libnetchip$(LIB_VARIANT).a) \
+ ../libmisc/wrapup/$(ARCH)/libmisc.a \
+ $(wildcard $(PROJECT_RELEASE)/lib/rtems-ctor$(LIB_VARIANT).o)
+
+
+bsplib_DATA = $(LIB)
+
+PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools
+subdir = .
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+mkinstalldirs = $(SHELL) $(top_srcdir)/../../../mkinstalldirs
+CONFIG_CLEAN_FILES =
+DIST_SOURCES =
+DATA = $(bsplib_DATA)
+
+DIST_COMMON = ../../../COPYING ../../../ChangeLog ../../../INSTALL \
+ ../../../README ../../../acinclude.m4 ../../../config.guess \
+ ../../../config.sub ../../../configure ../../../configure.ac \
+ ../../../depcomp ../../../install-sh ../../../missing \
+ ../../../mkinstalldirs ChangeLog Makefile.am Makefile.in \
+ aclocal.m4 configure configure.ac
+all: all-am
+
+.SUFFIXES:
+
+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/../../../automake/compile.am $(top_srcdir)/../../../automake/lib.am $(top_srcdir)/../../../automake/local.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --foreign Makefile
+Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
+ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
+
+$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ $(SHELL) ./config.status --recheck
+$(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
+ cd $(srcdir) && $(AUTOCONF)
+
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.ac ../../../aclocal/bsp-alias.m4 ../../../aclocal/bsp-arg-enable.m4 ../../../aclocal/bsp-configure.m4 ../../../aclocal/bspopts.m4 ../../../aclocal/canonical-host.m4 ../../../aclocal/canonical-target-name.m4 ../../../aclocal/canonicalize-tools.m4 ../../../aclocal/check-bsp-cache.m4 ../../../aclocal/check-bsps.m4 ../../../aclocal/check-cpu.m4 ../../../aclocal/check-cxx.m4 ../../../aclocal/check-itron.m4 ../../../aclocal/check-multiprocessing.m4 ../../../aclocal/check-networking.m4 ../../../aclocal/check-newlib.m4 ../../../aclocal/check-posix.m4 ../../../aclocal/check-rdbg.m4 ../../../aclocal/check-tool.m4 ../../../aclocal/config-subdirs.m4 ../../../aclocal/enable-bare.m4 ../../../aclocal/enable-cxx.m4 ../../../aclocal/enable-inlines.m4 ../../../aclocal/enable-itron.m4 ../../../aclocal/enable-multiprocessing.m4 ../../../aclocal/enable-networking.m4 ../../../aclocal/enable-posix.m4 ../../../aclocal/enable-rdbg.m4 ../../../aclocal/enable-rtemsbsp.m4 ../../../aclocal/enable-tests.m4 ../../../aclocal/env-rtemsbsp.m4 ../../../aclocal/gcc-pipe.m4 ../../../aclocal/gcc-specs.m4 ../../../aclocal/i386-gas-code16.m4 ../../../aclocal/multilib.m4 ../../../aclocal/path-ksh.m4 ../../../aclocal/path-perl.m4 ../../../aclocal/ppc.m4 ../../../aclocal/prog-cc.m4 ../../../aclocal/prog-cxx.m4 ../../../aclocal/project-root.m4 ../../../aclocal/rtems-cpu-subdirs.m4 ../../../aclocal/rtems-debug.m4 ../../../aclocal/rtems-test-no-pause.m4 ../../../aclocal/rtems-top.m4 ../../../aclocal/sysv-ipc.m4 ../../../aclocal/target.m4 ../../../aclocal/tool-paths.m4 ../../../aclocal/version.m4
+ cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+uninstall-info-am:
+bsplibDATA_INSTALL = $(INSTALL_DATA)
+install-bsplibDATA: $(bsplib_DATA)
+ @$(NORMAL_INSTALL)
+ $(mkinstalldirs) $(DESTDIR)$(bsplibdir)
+ @list='$(bsplib_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " $(bsplibDATA_INSTALL) $$d$$p $(DESTDIR)$(bsplibdir)/$$f"; \
+ $(bsplibDATA_INSTALL) $$d$$p $(DESTDIR)$(bsplibdir)/$$f; \
+ done
+
+uninstall-bsplibDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(bsplib_DATA)'; for p in $$list; do \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " rm -f $(DESTDIR)$(bsplibdir)/$$f"; \
+ rm -f $(DESTDIR)$(bsplibdir)/$$f; \
+ done
+tags: TAGS
+TAGS:
+
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+
+top_distdir = .
+distdir = $(PACKAGE)-$(VERSION)
+
+am__remove_distdir = \
+ { test ! -d $(distdir) \
+ || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
+ && rm -fr $(distdir); }; }
+
+GZIP_ENV = --best
+distcleancheck_listfiles = find . -type f -print
+
+distdir: $(DISTFILES)
+ $(am__remove_distdir)
+ mkdir $(distdir)
+ $(mkinstalldirs) $(distdir)/../../..
+ @list='$(DISTFILES)'; for file in $$list; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ dir="/$$dir"; \
+ $(mkinstalldirs) "$(distdir)$$dir"; \
+ else \
+ dir=''; \
+ fi; \
+ if test -d $$d/$$file; then \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+ -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
+ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
+ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
+ ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
+ || chmod -R a+r $(distdir)
+dist-gzip: distdir
+ $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+ $(am__remove_distdir)
+
+dist dist-all: distdir
+ $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+ $(am__remove_distdir)
+
+# This target untars the dist file and tries a VPATH configuration. Then
+# it guarantees that the distribution is self-contained by making another
+# tarfile.
+distcheck: dist
+ $(am__remove_distdir)
+ GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
+ chmod -R a-w $(distdir); chmod a+w $(distdir)
+ mkdir $(distdir)/=build
+ mkdir $(distdir)/=inst
+ chmod a-w $(distdir)
+ dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \
+ && cd $(distdir)/=build \
+ && ../configure --srcdir=.. --prefix=$$dc_install_base \
+ $(DISTCHECK_CONFIGURE_FLAGS) \
+ && $(MAKE) $(AM_MAKEFLAGS) \
+ && $(MAKE) $(AM_MAKEFLAGS) dvi \
+ && $(MAKE) $(AM_MAKEFLAGS) check \
+ && $(MAKE) $(AM_MAKEFLAGS) install \
+ && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+ && $(MAKE) $(AM_MAKEFLAGS) uninstall \
+ && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
+ || { echo "ERROR: files left after uninstall:" ; \
+ find $$dc_install_base -type f -print ; \
+ exit 1; } >&2 ) \
+ && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
+ && rm -f $(distdir).tar.gz \
+ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
+ $(am__remove_distdir)
+ @echo "$(distdir).tar.gz is ready for distribution" | \
+ sed 'h;s/./=/g;p;x;p;x'
+distcleancheck: distclean
+ if test '$(srcdir)' = . ; then \
+ echo "ERROR: distcleancheck can only run from a VPATH build" ; \
+ exit 1 ; \
+ fi
+ test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
+ || { echo "ERROR: files left after distclean:" ; \
+ $(distcleancheck_listfiles) ; \
+ exit 1; } >&2
+check-am: all-am
+check: check-am
+all-am: Makefile $(DATA) all-local
+
+installdirs:
+ $(mkinstalldirs) $(DESTDIR)$(bsplibdir)
+
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -rm -f Makefile $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-local mostlyclean-am
+
+distclean: distclean-am
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+distclean-am: clean-am distclean-generic distclean-local
+
+dvi: dvi-am
+
+dvi-am:
+
+info: info-am
+
+info-am:
+
+install-data-am: install-bsplibDATA
+
+install-exec-am:
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+ -rm -rf autom4te.cache
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic
+
+uninstall-am: uninstall-bsplibDATA uninstall-info-am
+
+.PHONY: all all-am all-local check check-am clean clean-generic \
+ clean-local dist dist-all dist-gzip distcheck distclean \
+ distclean-generic distclean-local distcleancheck distdir dvi \
+ dvi-am info info-am install install-am install-bsplibDATA \
+ install-data install-data-am install-exec install-exec-am \
+ install-info install-info-am install-man install-strip \
+ installcheck installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-generic \
+ uninstall uninstall-am uninstall-bsplibDATA uninstall-info-am
+
+
+include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
+@RTEMS_USE_GCC_FALSE@include $(CONFIG.CC)
+
+${ARCH}/%.o: %.c
+ test -d $(ARCH) || mkdir $(ARCH)
+ ${COMPILE} -o $@ -c $<
+
+${ARCH}/%.o: %.cc
+ test -d $(ARCH) || mkdir $(ARCH)
+ ${CXXCOMPILE} -o $@ -c $<
+
+${ARCH}/%.o: %.cpp
+ test -d $(ARCH) || mkdir $(ARCH)
+ ${CXXCOMPILE} -o $@ -c $<
+
+${ARCH}/%.o: %.cxx
+ test -d $(ARCH) || mkdir $(ARCH)
+ ${CXXCOMPILE} -o $@ -c $<
+
+${ARCH}/%.o: %.C
+ test -d $(ARCH) || mkdir $(ARCH)
+ ${CXXCOMPILE} -o $@ -c $<
+
+${ARCH}/%.o: %.S
+ test -d $(ARCH) || mkdir $(ARCH)
+ ${ASCOMPILE} -DASM -o $@ -c $<
+
+# Make foo.rel from foo.o
+${ARCH}/%.rel: ${ARCH}/%.o
+ test -d $(ARCH) || mkdir $(ARCH)
+ ${make-rel}
+
+# We deliberately don't have anything depend on the
+# $(DEPEND) file; otherwise it will get rebuilt even
+# on 'make clean'
+#
+
+depend-am: $(C_FILES) $(CC_FILES) $(S_FILES)
+ $(COMPILE) -M $^ | \
+ sed -e 's?^\(.*\)\.o[ ]*:?$$(ARCH)/\1.o:?' \
+ -e 's?$(ARCH)/?$$(ARCH)/?' >$(DEPEND).tmp
+ mv $(DEPEND).tmp $(DEPEND)
+depend: depend-am
+
+# pull in dependencies if they exist
+ifeq (${DEPEND},$(wildcard ${DEPEND}))
+include ${DEPEND}
+@ENDIF@
+
+@RTEMS_USE_GCC_TRUE@define make-rel
+@RTEMS_USE_GCC_TRUE@ $(LINK) -qnolinkcmds -nostdlib -Wl,-r $(XLDFLAGS) $^
+@RTEMS_USE_GCC_TRUE@endef
+@RTEMS_USE_GCC_FALSE@define make-rel
+@RTEMS_USE_GCC_FALSE@ $(LINK) $(XLDFLAGS) $^
+@RTEMS_USE_GCC_FALSE@endef
+
+define make-library
+test -d $(ARCH) || mkdir $(ARCH)
+$(RM) $@
+$(AR) $(ARFLAGS) $@ $^
+$(RANLIB) $@
+endef
+
+$(PROJECT_RELEASE)/lib:
+ @$(mkinstalldirs) $@
+
+.PRECIOUS: $(LIB)
+
+all-local: $(ARCH) $(TMPINSTALL_FILES)
+
+$(LIB): $(SRCS)
+ rm -f $@
+ rm -rf $(ARCH)/*
+ test -d $(ARCH) || mkdir $(ARCH)
+ for f in $(SRCS); do \
+ case $$f in \
+ *.o | *.rel) \
+ if test -f $(ARCH)/`basename $$f`; then \
+ if cmp $$f $(ARCH)/`basename $$f`; then \
+ true; \
+ else \
+ echo 1>&2 "ERROR -- `basename $$f` in multiple files"; \
+ exit 1; \
+ fi; \
+ else \
+ cp $$f $(ARCH)/; \
+ chmod a-w $(ARCH)/`basename $$f`; \
+ fi; \
+ ;; \
+ *.a) \
+ cd $(ARCH); \
+ $(AR) xv ../$$f || exit 1; \
+ chmod a-w * ; \
+ cd ..; \
+ ;; \
+ esac; \
+ done
+ $(AR) rc $@ $(ARCH)/*
+ rm -f $(ARCH)/*
+ $(RANLIB) $@
+
+debug:
+ @echo
+ @echo "\"make debug\" is obsolete, instead use:"
+ @echo " make VARIANT=DEBUG"
+ @echo
+
+.PHONY: debug
+
+profile:
+ @echo
+ @echo "\"make profile\" is obsolete, instead use:"
+ @echo " make VARIANT=PROFILE"
+ @echo
+
+.PHONY: profile
+
+preinstall-am: $(PREINSTALL_FILES)
+preinstall: preinstall-am
+.PHONY: preinstall preinstall-am
+
+depend-am:
+depend: depend-am
+.PHONY: depend depend-am
+
+${ARCH}:
+ mkdir ${ARCH}
+
+clean-local:
+ $(RM) -r o-optimize o-debug o-profile $(CLEANDIRS)
+ $(RM) Depends-o-optimize.tmp Depends-o-debug.tmp Depends-o-profile.tmp
+
+distclean-local:
+ $(RM) Depends-o-optimize Depends-o-debug Depends-o-profile
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Index: configure.ac
===================================================================
--- configure.ac (nonexistent)
+++ configure.ac (revision 1765)
@@ -0,0 +1,48 @@
+## Process this file with autoconf to produce a configure script.
+##
+## configure.ac,v 1.6 2002/07/22 10:20:51 ralf Exp
+
+AC_PREREQ(2.52)
+AC_INIT([rtems-c-src-wrapup],[_RTEMS_VERSION],[rtems-bugs@OARcorp.com])
+AC_CONFIG_SRCDIR([../libmisc])
+RTEMS_TOP(../../..)
+AC_CONFIG_AUX_DIR(../../..)
+
+RTEMS_ENABLE_NETWORKING
+RTEMS_ENABLE_RDBG
+
+RTEMS_CANONICAL_TARGET_CPU
+RTEMS_CANONICAL_HOST
+
+AM_INIT_AUTOMAKE([no-define foreign 1.6])
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_MULTILIB
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CPU
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_BSP_ALIAS(${RTEMS_BSP},bspalias)
+
+# The bare bsp doesn't have libbsp.a
+# FIXME: We should use a feature based check, here
+AM_CONDITIONAL(HAS_LIBBSP,[! test "$bspalias" = "bare"])
+
+RTEMS_CHECK_NETWORKING(RTEMS_BSP)
+if test "$HAS_NETWORKING" = "yes"; then
+ if test "$RTEMS_HAS_RDBG" = "yes"; then
+ RTEMS_CHECK_RDBG(RTEMS_BSP)
+ fi
+fi
+
+AM_CONDITIONAL(HAS_NETWORKING, test "$HAS_NETWORKING" = "yes" )
+AM_CONDITIONAL(HAS_RDBG, test "$HAS_RDBG" = "yes" )
+
+RTEMS_PROJECT_ROOT
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+
+AM_CONDITIONAL([MULTILIB],[test x"${enable_multilib}" = x"yes"])
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
Index: ChangeLog
===================================================================
--- ChangeLog (nonexistent)
+++ ChangeLog (revision 1765)
@@ -0,0 +1,95 @@
+2002-07-22 Ralf Corsepius
+
+ * configure.ac: AC_CONFIG_SRCDIR([../libmisc]).
+
+2002-07-19 Ralf Corsepius
+
+ * Makefile.am: Remove setting up bsplibdir.
+
+2002-07-03 Ralf Corsepius
+
+ * Makefile.am: explicitly create $(ARCH) when building $(LIB).
+ Add bsplib_DATA = $(LIB).
+
+2002-06-30 Ralf Corsepius
+
+ * Makefile.am: Pickup libbsp.a from build directory.
+
+2002-06-26 Ralf Corsepius
+
+ * Makefile.am: Pickup libnetapps.a from build directory.
+
+2002-06-26 Ralf Corsepius
+
+ * Makefile.am: Pickup libmisc.a from build directory.
+ Remove libxdr.a.
+
+2002-05-29 Ralf Corsepius
+
+ * Makefile.am: Reflect moving libnetworking. Use libnetapps instead.
+
+2002-05-18 Ralf Corsepius
+
+ * Makefile.am: Remove libblock, libfs.
+
+2002-05-15 Ralf Corsepius
+
+ * Makefile.am: Remove libcsupport.
+
+2002-03-27 Ralf Corsepius
+
+ * configure.ac:
+ AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
+ AM_INIT_AUTOMAKE([no-define foreign 1.6]).
+ * Makefile.am: Remove AUTOMAKE_OPTIONS.
+
+2002-03-15 Ralf Corsepius
+
+ * configure.ac: Special treatment of the bare BSP.
+ Add RTEMS_BSP_ALIAS. Add HAS_LIBBSP.
+ * Makefile.am: Append libbsp.a to SRC conditionally.
+
+2002-02-28 Victor V. Vengerov
+
+ * DOS filesystem including FAT12, FAT16, and FAT32 support submitted.
+ * Makefile.am: Modified to reflect addition.
+
+2001-12-22 Ralf Corsepius
+
+ * configure.ac: Remove references to POSIX, ITRON, MULTILIB.
+ * Makefile.ac: Remove librtems, libposix, libitron. Build
+ librtemsbsp instead of librtemsall.
+
+2001-12-20 Ralf Corsepius
+
+ * configure.ac: Add AM_CONDITIONAL for enable_multilib,
+ enable_posix, enable_itron.
+ * Makefile.am: Compute MULTISUBDIR on-the-fly. Conditionally add
+ libposix and libitron to SRCS. Apply MULTISUBDIR for picking up
+ librtems, libposix and libitron.
+
+2001-10-11 Ralf Corsepius
+
+ * .cvsignore: Add autom4te.cache for autoconf > 2.52.
+ * configure.in: Remove.
+ * configure.ac: New file, generated from configure.in by autoupdate.
+
+2001-01-05 Ralf Corsepius
+
+ * Makefile.am: Remove subshell from *.a processing in librtemsall.a
+ rule.
+
+2000-11-09 Ralf Corsepius
+
+ * Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
+
+2000-11-02 Ralf Corsepius
+
+ * Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
+
+2000-10-30 Ralf Corsepius
+
+ * ChangeLog: New file.
+ * Makefile.am: Switch to GNU-canonicalized autoconf macros.
+ * configure.in: New file.
+ * .cvsignore: Add aclocal.m4, configure.
Index: Makefile.am
===================================================================
--- Makefile.am (nonexistent)
+++ Makefile.am (revision 1765)
@@ -0,0 +1,72 @@
+##
+## Makefile.am,v 1.25 2002/07/19 04:12:43 ralf Exp
+##
+## build and install "glommed" librtemsbsp.a
+##
+
+ACLOCAL_AMFLAGS = -I ../../../aclocal
+
+include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
+include $(top_srcdir)/../../../automake/compile.am
+include $(top_srcdir)/../../../automake/lib.am
+
+LIB = $(PROJECT_RELEASE)/lib/librtemsbsp${LIB_VARIANT}.a
+
+if HAS_NETWORKING
+LIBNETWORKING = ../libnetworking/wrapup/$(ARCH)/libnetapps.a
+endif
+
+if HAS_RDBG
+LIBRDBG = $(PROJECT_RELEASE)/lib/librdbg$(LIB_VARIANT).a
+endif
+
+if HAS_LIBBSP
+LIBBSP = ../lib/libbsp/@RTEMS_CPU@/$(RTEMS_BSP_FAMILY)/wrapup/$(ARCH)/libbsp.a
+endif
+
+SRCS = $(LIBBSP) $(LIBNETWORKING) $(LIBRDBG) \
+ $(wildcard $(PROJECT_RELEASE)/lib/libcpu$(LIB_VARIANT).a) \
+ $(wildcard $(PROJECT_RELEASE)/lib/librtcio$(LIB_VARIANT).a) \
+ $(wildcard $(PROJECT_RELEASE)/lib/libserialio$(LIB_VARIANT).a) \
+ $(wildcard $(PROJECT_RELEASE)/lib/libnetchip$(LIB_VARIANT).a) \
+ ../libmisc/wrapup/$(ARCH)/libmisc.a \
+ $(wildcard $(PROJECT_RELEASE)/lib/rtems-ctor$(LIB_VARIANT).o)
+
+TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/librtemsbsp${LIB_VARIANT}.a
+
+all-local: $(ARCH) $(TMPINSTALL_FILES)
+
+$(LIB): $(SRCS)
+ rm -f $@
+ rm -rf $(ARCH)/*
+ test -d $(ARCH) || mkdir $(ARCH)
+ for f in $(SRCS); do \
+ case $$f in \
+ *.o | *.rel) \
+ if test -f $(ARCH)/`basename $$f`; then \
+ if cmp $$f $(ARCH)/`basename $$f`; then \
+ true; \
+ else \
+ echo 1>&2 "ERROR -- `basename $$f` in multiple files"; \
+ exit 1; \
+ fi; \
+ else \
+ cp $$f $(ARCH)/; \
+ chmod a-w $(ARCH)/`basename $$f`; \
+ fi; \
+ ;; \
+ *.a) \
+ cd $(ARCH); \
+ $(AR) xv ../$$f || exit 1; \
+ chmod a-w * ; \
+ cd ..; \
+ ;; \
+ esac; \
+ done
+ $(AR) rc $@ $(ARCH)/*
+ rm -f $(ARCH)/*
+ $(RANLIB) $@
+
+bsplib_DATA = $(LIB)
+
+include $(top_srcdir)/../../../automake/local.am
Index: aclocal.m4
===================================================================
--- aclocal.m4 (nonexistent)
+++ aclocal.m4 (revision 1765)
@@ -0,0 +1,1384 @@
+# aclocal.m4 generated automatically by aclocal 1.6.2 -*- Autoconf -*-
+
+# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
+# Free Software Foundation, Inc.
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+dnl rtems-top.m4,v 1.14 2002/03/28 13:53:19 joel Exp
+
+dnl
+dnl RTEMS_TOP($1)
+dnl
+dnl $1 .. relative path from this configure.in to the toplevel configure.in
+dnl
+AC_DEFUN(RTEMS_TOP,
+[dnl
+AC_REQUIRE([RTEMS_VERSIONING])
+AC_CHECK_PROGS(MAKE, gmake make)
+AC_BEFORE([$0], [AC_CONFIG_AUX_DIR])dnl
+AC_BEFORE([$0], [AM_INIT_AUTOMAKE])dnl
+
+AC_PREFIX_DEFAULT([/opt/rtems])
+
+ENDIF=endif
+AC_SUBST(ENDIF)
+
+RTEMS_TOPdir="$1";
+AC_SUBST(RTEMS_TOPdir)
+
+test -n "$with_target_subdir" || with_target_subdir="."
+
+if test "$with_target_subdir" = "." ; then
+# Native
+PROJECT_TOPdir=${RTEMS_TOPdir}/'$(top_builddir)'
+else
+# Cross
+dots=`echo $with_target_subdir|\
+sed -e 's%^\./%%' -e 's%[[^/]]$%&/%' -e 's%[[^/]]*/%../%g'`
+PROJECT_TOPdir=${dots}${RTEMS_TOPdir}/'$(top_builddir)'
+fi
+AC_SUBST(PROJECT_TOPdir)
+
+if test "$with_target_subdir" = "." ; then
+# Native
+PROJECT_ROOT="${RTEMS_TOPdir}/\$(top_builddir)"
+else
+# Cross
+PROJECT_ROOT="${RTEMS_TOPdir}/\$(top_builddir)"
+fi
+AC_SUBST(PROJECT_ROOT)
+
+AC_MSG_CHECKING([for RTEMS Version])
+AS_IF([test -r "${srcdir}/${RTEMS_TOPdir}/aclocal/version.m4"],
+[],
+[AC_MSG_ERROR([Unable to find ${RTEMS_TOPdir}/aclocal/version.m4])])
+AC_MSG_RESULT([_RTEMS_VERSION])
+])dnl
+
+AC_DEFUN([RTEMS_VERSIONING],
+m4_define([_RTEMS_VERSION],[ss-20020807]))
+
+# Do all the work for Automake. -*- Autoconf -*-
+
+# This macro actually does too much some checks are only needed if
+# your package does certain things. But this isn't really a big deal.
+
+# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
+# Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+# serial 8
+
+# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
+# written in clear, in which case automake, when reading aclocal.m4,
+# will think it sees a *use*, and therefore will trigger all it's
+# C support machinery. Also note that it means that autoscan, seeing
+# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
+
+
+AC_PREREQ([2.52])
+
+# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
+# the ones we care about.
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
+
+# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
+# AM_INIT_AUTOMAKE([OPTIONS])
+# -----------------------------------------------
+# The call with PACKAGE and VERSION arguments is the old style
+# call (pre autoconf-2.50), which is being phased out. PACKAGE
+# and VERSION should now be passed to AC_INIT and removed from
+# the call to AM_INIT_AUTOMAKE.
+# We support both call styles for the transition. After
+# the next Automake release, Autoconf can make the AC_INIT
+# arguments mandatory, and then we can depend on a new Autoconf
+# release and drop the old call support.
+AC_DEFUN([AM_INIT_AUTOMAKE],
+[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
+ AC_REQUIRE([AC_PROG_INSTALL])dnl
+# test to see if srcdir already configured
+if test "`cd $srcdir && pwd`" != "`pwd`" &&
+ test -f $srcdir/config.status; then
+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
+fi
+
+# Define the identity of the package.
+dnl Distinguish between old-style and new-style calls.
+m4_ifval([$2],
+[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
+ AC_SUBST([PACKAGE], [$1])dnl
+ AC_SUBST([VERSION], [$2])],
+[_AM_SET_OPTIONS([$1])dnl
+ AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME])dnl
+ AC_SUBST([VERSION], [AC_PACKAGE_VERSION])])dnl
+
+_AM_IF_OPTION([no-define],,
+[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
+ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
+
+# Some tools Automake needs.
+AC_REQUIRE([AM_SANITY_CHECK])dnl
+AC_REQUIRE([AC_ARG_PROGRAM])dnl
+AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
+AM_MISSING_PROG(AUTOCONF, autoconf)
+AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
+AM_MISSING_PROG(AUTOHEADER, autoheader)
+AM_MISSING_PROG(MAKEINFO, makeinfo)
+AM_MISSING_PROG(AMTAR, tar)
+AM_PROG_INSTALL_SH
+AM_PROG_INSTALL_STRIP
+# We need awk for the "check" target. The system "awk" is bad on
+# some platforms.
+AC_REQUIRE([AC_PROG_AWK])dnl
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
+
+_AM_IF_OPTION([no-dependencies],,
+[AC_PROVIDE_IFELSE([AC_PROG_][CC],
+ [_AM_DEPENDENCIES(CC)],
+ [define([AC_PROG_][CC],
+ defn([AC_PROG_][CC])[_AM_DEPENDENCIES(CC)])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_][CXX],
+ [_AM_DEPENDENCIES(CXX)],
+ [define([AC_PROG_][CXX],
+ defn([AC_PROG_][CXX])[_AM_DEPENDENCIES(CXX)])])dnl
+])
+])
+
+# Copyright 2002 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+
+# AM_AUTOMAKE_VERSION(VERSION)
+# ----------------------------
+# Automake X.Y traces this macro to ensure aclocal.m4 has been
+# generated from the m4 files accompanying Automake X.Y.
+AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.6"])
+
+# AM_SET_CURRENT_AUTOMAKE_VERSION
+# -------------------------------
+# Call AM_AUTOMAKE_VERSION so it can be traced.
+# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
+AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
+ [AM_AUTOMAKE_VERSION([1.6.2])])
+
+# Helper functions for option handling. -*- Autoconf -*-
+
+# Copyright 2001, 2002 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+# serial 2
+
+# _AM_MANGLE_OPTION(NAME)
+# -----------------------
+AC_DEFUN([_AM_MANGLE_OPTION],
+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
+
+# _AM_SET_OPTION(NAME)
+# ------------------------------
+# Set option NAME. Presently that only means defining a flag for this option.
+AC_DEFUN([_AM_SET_OPTION],
+[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
+
+# _AM_SET_OPTIONS(OPTIONS)
+# ----------------------------------
+# OPTIONS is a space-separated list of Automake options.
+AC_DEFUN([_AM_SET_OPTIONS],
+[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
+
+# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
+# -------------------------------------------
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
+AC_DEFUN([_AM_IF_OPTION],
+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
+
+#
+# Check to make sure that the build environment is sane.
+#
+
+# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+# serial 3
+
+# AM_SANITY_CHECK
+# ---------------
+AC_DEFUN([AM_SANITY_CHECK],
+[AC_MSG_CHECKING([whether build environment is sane])
+# Just in case
+sleep 1
+echo timestamp > conftest.file
+# 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
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+ set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
+ if test "$[*]" = "X"; then
+ # -L didn't work.
+ set X `ls -t $srcdir/configure conftest.file`
+ fi
+ rm -f conftest.file
+ if test "$[*]" != "X $srcdir/configure conftest.file" \
+ && test "$[*]" != "X conftest.file $srcdir/configure"; then
+
+ # If neither matched, then we have a broken ls. This can happen
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
+ # broken ls alias from the environment. This has actually
+ # happened. Such a system could not be considered "sane".
+ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
+alias in your environment])
+ fi
+
+ test "$[2]" = conftest.file
+ )
+then
+ # Ok.
+ :
+else
+ AC_MSG_ERROR([newly created file is older than distributed files!
+Check your system clock])
+fi
+AC_MSG_RESULT(yes)])
+
+# -*- Autoconf -*-
+
+
+# Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+# serial 3
+
+# AM_MISSING_PROG(NAME, PROGRAM)
+# ------------------------------
+AC_DEFUN([AM_MISSING_PROG],
+[AC_REQUIRE([AM_MISSING_HAS_RUN])
+$1=${$1-"${am_missing_run}$2"}
+AC_SUBST($1)])
+
+
+# AM_MISSING_HAS_RUN
+# ------------------
+# Define MISSING if not defined so far and test if it supports --run.
+# If it does, set am_missing_run to use it, otherwise, to nothing.
+AC_DEFUN([AM_MISSING_HAS_RUN],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
+# Use eval to expand $SHELL
+if eval "$MISSING --run true"; then
+ am_missing_run="$MISSING --run "
+else
+ am_missing_run=
+ AC_MSG_WARN([`missing' script is too old or missing])
+fi
+])
+
+# AM_AUX_DIR_EXPAND
+
+# Copyright 2001 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
+# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
+# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
+#
+# Of course, Automake must honor this variable whenever it calls a
+# tool from the auxiliary directory. The problem is that $srcdir (and
+# therefore $ac_aux_dir as well) can be either absolute or relative,
+# depending on how configure is run. This is pretty annoying, since
+# it makes $ac_aux_dir quite unusable in subdirectories: in the top
+# source directory, any form will work fine, but in subdirectories a
+# relative path needs to be adjusted first.
+#
+# $ac_aux_dir/missing
+# fails when called from a subdirectory if $ac_aux_dir is relative
+# $top_srcdir/$ac_aux_dir/missing
+# fails if $ac_aux_dir is absolute,
+# fails when called from a subdirectory in a VPATH build with
+# a relative $ac_aux_dir
+#
+# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
+# are both prefixed by $srcdir. In an in-source build this is usually
+# harmless because $srcdir is `.', but things will broke when you
+# start a VPATH build or use an absolute $srcdir.
+#
+# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
+# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
+# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
+# and then we would define $MISSING as
+# MISSING="\${SHELL} $am_aux_dir/missing"
+# This will work as long as MISSING is not called from configure, because
+# unfortunately $(top_srcdir) has no meaning in configure.
+# However there are other variables, like CC, which are often used in
+# configure, and could therefore not use this "fixed" $ac_aux_dir.
+#
+# Another solution, used here, is to always expand $ac_aux_dir to an
+# absolute PATH. The drawback is that using absolute paths prevent a
+# configured tree to be moved without reconfiguration.
+
+# Rely on autoconf to set up CDPATH properly.
+AC_PREREQ([2.50])
+
+AC_DEFUN([AM_AUX_DIR_EXPAND], [
+# expand $ac_aux_dir to an absolute path
+am_aux_dir=`cd $ac_aux_dir && pwd`
+])
+
+# AM_PROG_INSTALL_SH
+# ------------------
+# Define $install_sh.
+
+# Copyright 2001 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+AC_DEFUN([AM_PROG_INSTALL_SH],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+install_sh=${install_sh-"$am_aux_dir/install-sh"}
+AC_SUBST(install_sh)])
+
+# AM_PROG_INSTALL_STRIP
+
+# Copyright 2001 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+# One issue with vendor `install' (even GNU) is that you can't
+# specify the program used to strip binaries. This is especially
+# annoying in cross-compiling environments, where the build's strip
+# is unlikely to handle the host's binaries.
+# Fortunately install-sh will honor a STRIPPROG variable, so we
+# always use install-sh in `make install-strip', and initialize
+# STRIPPROG with the value of the STRIP variable (set by the user).
+AC_DEFUN([AM_PROG_INSTALL_STRIP],
+[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+# Installed binaries are usually stripped using `strip' when the user
+# run `make install-strip'. However `strip' might not be the right
+# tool to use in cross-compilation environments, therefore Automake
+# will honor the `STRIP' environment variable to overrule this program.
+dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
+if test "$cross_compiling" != no; then
+ AC_CHECK_TOOL([STRIP], [strip], :)
+fi
+INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
+AC_SUBST([INSTALL_STRIP_PROGRAM])])
+
+# serial 4 -*- Autoconf -*-
+
+# Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+
+# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
+# written in clear, in which case automake, when reading aclocal.m4,
+# will think it sees a *use*, and therefore will trigger all it's
+# C support machinery. Also note that it means that autoscan, seeing
+# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
+
+
+
+# _AM_DEPENDENCIES(NAME)
+# ----------------------
+# See how the compiler implements dependency checking.
+# NAME is "CC", "CXX", "GCJ", or "OBJC".
+# We try a few techniques and use that to set a single cache variable.
+#
+# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
+# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
+# dependency, and given that the user is not expected to run this macro,
+# just rely on AC_PROG_CC.
+AC_DEFUN([_AM_DEPENDENCIES],
+[AC_REQUIRE([AM_SET_DEPDIR])dnl
+AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
+AC_REQUIRE([AM_MAKE_INCLUDE])dnl
+AC_REQUIRE([AM_DEP_TRACK])dnl
+
+ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
+ [$1], CXX, [depcc="$CXX" am_compiler_list=],
+ [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
+ [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
+ [depcc="$$1" am_compiler_list=])
+
+AC_CACHE_CHECK([dependency style of $depcc],
+ [am_cv_$1_dependencies_compiler_type],
+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named `D' -- because `-MD' means `put the output
+ # in D'.
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+
+ am_cv_$1_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
+ fi
+ for depmode in $am_compiler_list; do
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ echo '#include "conftest.h"' > conftest.c
+ echo 'int i;' > conftest.h
+ echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
+
+ case $depmode in
+ nosideeffect)
+ # after this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ none) break ;;
+ esac
+ # We check with `-c' and `-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle `-M -o', and we need to detect this.
+ if depmode=$depmode \
+ source=conftest.c object=conftest.o \
+ depfile=conftest.Po tmpdepfile=conftest.TPo \
+ $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
+ grep conftest.h conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ am_cv_$1_dependencies_compiler_type=$depmode
+ break
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_$1_dependencies_compiler_type=none
+fi
+])
+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
+])
+
+
+# AM_SET_DEPDIR
+# -------------
+# Choose a directory name for dependency files.
+# This macro is AC_REQUIREd in _AM_DEPENDENCIES
+AC_DEFUN([AM_SET_DEPDIR],
+[rm -f .deps 2>/dev/null
+mkdir .deps 2>/dev/null
+if test -d .deps; then
+ DEPDIR=.deps
+else
+ # MS-DOS does not allow filenames that begin with a dot.
+ DEPDIR=_deps
+fi
+rmdir .deps 2>/dev/null
+AC_SUBST([DEPDIR])
+])
+
+
+# AM_DEP_TRACK
+# ------------
+AC_DEFUN([AM_DEP_TRACK],
+[AC_ARG_ENABLE(dependency-tracking,
+[ --disable-dependency-tracking Speeds up one-time builds
+ --enable-dependency-tracking Do not reject slow dependency extractors])
+if test "x$enable_dependency_tracking" != xno; then
+ am_depcomp="$ac_aux_dir/depcomp"
+ AMDEPBACKSLASH='\'
+fi
+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
+AC_SUBST([AMDEPBACKSLASH])
+])
+
+# Generate code to set up dependency tracking. -*- Autoconf -*-
+
+# Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+#serial 2
+
+# _AM_OUTPUT_DEPENDENCY_COMMANDS
+# ------------------------------
+AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
+[for mf in $CONFIG_FILES; do
+ # Strip MF so we end up with the name of the file.
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
+ # Check whether this is an Automake generated Makefile or not.
+ # We used to match only the files named `Makefile.in', but
+ # some people rename them; so instead we look at the file content.
+ # 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.
+ # So let's grep whole file.
+ if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
+ dirpart=`AS_DIRNAME("$mf")`
+ else
+ continue
+ fi
+ grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
+ # Extract the definition of DEP_FILES from the Makefile without
+ # running `make'.
+ DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
+ test -z "$DEPDIR" && continue
+ # When using ansi2knr, U may be empty or an underscore; expand it
+ U=`sed -n -e '/^U = / s///p' < "$mf"`
+ test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
+ # We invoke sed twice because it is the simplest approach to
+ # changing $(DEPDIR) to its actual value in the expansion.
+ for file in `sed -n -e '
+ /^DEP_FILES = .*\\\\$/ {
+ s/^DEP_FILES = //
+ :loop
+ s/\\\\$//
+ p
+ n
+ /\\\\$/ b loop
+ p
+ }
+ /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
+ # Make sure the directory exists.
+ test -f "$dirpart/$file" && continue
+ fdir=`AS_DIRNAME(["$file"])`
+ AS_MKDIR_P([$dirpart/$fdir])
+ # echo "creating $dirpart/$file"
+ echo '# dummy' > "$dirpart/$file"
+ done
+done
+])# _AM_OUTPUT_DEPENDENCY_COMMANDS
+
+
+# AM_OUTPUT_DEPENDENCY_COMMANDS
+# -----------------------------
+# This macro should only be invoked once -- use via AC_REQUIRE.
+#
+# This code is only required when automatic dependency tracking
+# is enabled. FIXME. This creates each `.P' file that we will
+# need in order to bootstrap the dependency handling code.
+AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
+[AC_CONFIG_COMMANDS([depfiles],
+ [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
+ [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
+])
+
+# Copyright 2001 Free Software Foundation, Inc. -*- Autoconf -*-
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+# serial 2
+
+# AM_MAKE_INCLUDE()
+# -----------------
+# Check to see how make treats includes.
+AC_DEFUN([AM_MAKE_INCLUDE],
+[am_make=${MAKE-make}
+cat > confinc << 'END'
+doit:
+ @echo done
+END
+# If we don't find an include directive, just comment out the code.
+AC_MSG_CHECKING([for style of include used by $am_make])
+am__include="#"
+am__quote=
+_am_result=none
+# First try GNU make style include.
+echo "include confinc" > confmf
+# We grep out `Entering directory' and `Leaving directory'
+# messages which can occur if `w' ends up in MAKEFLAGS.
+# In particular we don't look at `^make:' because GNU make might
+# be invoked under some other name (usually "gmake"), in which
+# case it prints its new name instead of `make'.
+if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
+ am__include=include
+ am__quote=
+ _am_result=GNU
+fi
+# Now try BSD make style include.
+if test "$am__include" = "#"; then
+ echo '.include "confinc"' > confmf
+ if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
+ am__include=.include
+ am__quote="\""
+ _am_result=BSD
+ fi
+fi
+AC_SUBST(am__include)
+AC_SUBST(am__quote)
+AC_MSG_RESULT($_am_result)
+rm -f confinc confmf
+])
+
+# AM_CONDITIONAL -*- Autoconf -*-
+
+# Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+# serial 5
+
+AC_PREREQ(2.52)
+
+# AM_CONDITIONAL(NAME, SHELL-CONDITION)
+# -------------------------------------
+# Define a conditional.
+AC_DEFUN([AM_CONDITIONAL],
+[ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
+ [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
+AC_SUBST([$1_TRUE])
+AC_SUBST([$1_FALSE])
+if $2; then
+ $1_TRUE=
+ $1_FALSE='#'
+else
+ $1_TRUE='#'
+ $1_FALSE=
+fi
+AC_CONFIG_COMMANDS_PRE(
+[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
+ AC_MSG_ERROR([conditional \"$1\" was never defined.
+Usually this means the macro was only invoked conditionally.])
+fi])])
+
+dnl enable-networking.m4,v 1.6 2001/09/13 13:14:30 joel Exp
+
+AC_DEFUN(RTEMS_ENABLE_NETWORKING,
+[
+
+AC_ARG_ENABLE(networking,
+AC_HELP_STRING([--enable-networking],[enable TCP/IP stack]),
+[case "${enableval}" in
+ yes) RTEMS_HAS_NETWORKING=yes ;;
+ no) RTEMS_HAS_NETWORKING=no ;;
+ *) AC_MSG_ERROR(bad value ${enableval} for enable-networking option) ;;
+esac],[RTEMS_HAS_NETWORKING=yes])
+AC_SUBST(RTEMS_HAS_NETWORKING)dnl
+])
+
+dnl enable-rdbg.m4,v 1.5 2001/09/13 13:14:30 joel Exp
+
+AC_DEFUN(RTEMS_ENABLE_RDBG,
+[
+AC_BEFORE([$0], [RTEMS_CHECK_RDBG])dnl
+
+AC_ARG_ENABLE(rdbg,
+AC_HELP_STRING([--enable-rdbg],[enable remote debugger]),
+[case "${enableval}" in
+ yes) RTEMS_HAS_RDBG=yes ;;
+ no) RTEMS_HAS_RDBG=no ;;
+ *) AC_MSG_ERROR(bad value ${enableval} for enable-rdbg option) ;;
+esac],[RTEMS_HAS_RDBG=no])
+AC_SUBST(RTEMS_HAS_RDBG)dnl
+])
+
+dnl check-rdbg.m4,v 1.9 2001/10/17 20:30:38 joel Exp
+dnl
+AC_DEFUN(RTEMS_CHECK_RDBG,
+[dnl
+AC_REQUIRE([RTEMS_TOP])dnl
+AC_REQUIRE([RTEMS_CHECK_CPU])dnl
+AC_REQUIRE([RTEMS_CHECK_NETWORKING])dnl
+AC_REQUIRE([RTEMS_ENABLE_RDBG])dnl
+AC_CACHE_CHECK([whether BSP supports librdbg],
+ rtems_cv_HAS_RDBG,
+ [
+ if test -d "$srcdir/${RTEMS_TOPdir}/c/src/librdbg/src/${RTEMS_CPU}/${$1}";
+ then
+ rtems_cv_HAS_RDBG="yes" ;
+ elif test -d "$srcdir/${RTEMS_TOPdir}/c/src/librdbg/src/${RTEMS_CPU}/any";
+ then
+ rtems_cv_HAS_RDBG="yes" ;
+ elif test "${RTEMS_CPU}" = "powerpc";
+ then
+ A=`grep -l RTEMS_PPC_EXCEPTION_PROCESSING_MODEL $srcdir/${RTEMS_TOPdir}/make/custom/* 2>/dev/null`;
+ C=""
+ for i in ${A} ;
+ do
+ B=`basename ${i} .cfg`;
+ C="${C} ${B}";
+ done
+ rtems_cv_HAS_RDBG="no";
+ for j in ${C} ;
+ do
+ if test "${$1}" = "${j}" ;
+ then
+ rtems_cv_HAS_RDBG="yes";
+ fi
+ done
+ else
+ rtems_cv_HAS_RDBG="no";
+ fi
+ ])
+HAS_RDBG="$rtems_cv_HAS_RDBG"
+AC_SUBST(HAS_RDBG)
+])
+
+dnl check-cpu.m4,v 1.6 2002/07/22 10:13:20 ralf Exp
+
+dnl check if RTEMS support a cpu
+AC_DEFUN(RTEMS_CHECK_CPU,
+[dnl
+AC_REQUIRE([RTEMS_TOP])
+AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])
+
+# Is this a supported CPU?
+AC_MSG_CHECKING([if cpu $RTEMS_CPU is supported])
+# FIXME: Temporary hack
+if test -d "$srcdir/$RTEMS_TOPdir/cpukit/score/cpu/$RTEMS_CPU"; then
+ AC_MSG_RESULT(yes)
+else
+ AC_MSG_ERROR(no)
+fi
+])dnl
+
+
+dnl
+dnl canonical-target-name.m4,v 1.12 2001/09/14 17:30:22 joel Exp
+dnl
+
+dnl canonicalize target cpu
+dnl NOTE: Most rtems targets do not fullfil autoconf's
+dnl target naming conventions "processor-vendor-os"
+dnl Therefore autoconf's AC_CANONICAL_TARGET will fail for them
+dnl and we have to fix it for rtems ourselves
+
+AC_DEFUN(RTEMS_CANONICAL_TARGET_CPU,
+[
+AC_CANONICAL_TARGET
+AC_MSG_CHECKING(rtems target cpu)
+case "${target}" in
+ # hpux unix port should go here
+ i[[34567]]86-*linux*) # unix "simulator" port
+ RTEMS_CPU=unix
+ ;;
+ i[[34567]]86-*freebsd*) # unix "simulator" port
+ RTEMS_CPU=unix
+ ;;
+ i[[34567]]86-pc-cygwin*) # Cygwin is just enough unix like :)
+ RTEMS_CPU=unix
+ ;;
+ no_cpu-*rtems*)
+ RTEMS_CPU=no_cpu
+ ;;
+ sparc-sun-solaris*) # unix "simulator" port
+ RTEMS_CPU=unix
+ ;;
+ *)
+ RTEMS_CPU=`echo $target | sed 's%^\([[^-]]*\)-\(.*\)$%\1%'`
+ ;;
+esac
+AC_SUBST(RTEMS_CPU)
+AC_MSG_RESULT($RTEMS_CPU)
+])
+
+dnl check-networking.m4,v 1.4 2000/11/02 15:44:04 joel Exp
+dnl
+AC_DEFUN(RTEMS_CHECK_NETWORKING,
+[dnl
+AC_REQUIRE([RTEMS_CHECK_CPU])dnl
+AC_REQUIRE([RTEMS_ENABLE_NETWORKING])dnl
+
+AC_CACHE_CHECK([whether BSP supports networking],
+ rtems_cv_HAS_NETWORKING,
+ [dnl
+ case "$RTEMS_CPU" in
+ unix*)
+ rtems_cv_HAS_NETWORKING="no"
+ ;;
+ *)
+ if test "${RTEMS_HAS_NETWORKING}" = "yes"; then
+ rtems_cv_HAS_NETWORKING="yes";
+ else
+ rtems_cv_HAS_NETWORKING="disabled";
+ fi
+ ;;
+ esac])
+if test "$rtems_cv_HAS_NETWORKING" = "yes"; then
+ HAS_NETWORKING="yes";
+else
+ HAS_NETWORKING="no";
+fi
+AC_SUBST(HAS_NETWORKING)dnl
+])
+
+dnl canonical-host.m4,v 1.6 2000/11/15 21:56:52 joel Exp
+
+AC_DEFUN(RTEMS_CANONICAL_HOST,
+[dnl
+AC_REQUIRE([AC_CANONICAL_HOST])
+RTEMS_HOST=$host_os
+case "${target}" in
+ # hpux unix port should go here
+ i[[34567]]86-*linux*) # unix "simulator" port
+ RTEMS_HOST=Linux
+ ;;
+ i[[34567]]86-*freebsd*) # unix "simulator" port
+ RTEMS_HOST=FreeBSD
+ ;;
+ i[[34567]]86-pc-cygwin*) # Cygwin is just enough unix like :)
+ RTEMS_HOST=Cygwin
+ ;;
+ sparc-sun-solaris*) # unix "simulator" port
+ RTEMS_HOST=Solaris
+ ;;
+ *)
+ ;;
+esac
+AC_SUBST(RTEMS_HOST)
+])dnl
+
+# Add --enable-maintainer-mode option to configure.
+# From Jim Meyering
+
+# Copyright 1996, 1998, 2000, 2001 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+# serial 1
+
+AC_DEFUN([AM_MAINTAINER_MODE],
+[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
+ dnl maintainer-mode is disabled by default
+ AC_ARG_ENABLE(maintainer-mode,
+[ --enable-maintainer-mode enable make rules and dependencies not useful
+ (and sometimes confusing) to the casual installer],
+ USE_MAINTAINER_MODE=$enableval,
+ USE_MAINTAINER_MODE=no)
+ AC_MSG_RESULT([$USE_MAINTAINER_MODE])
+ AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
+ MAINT=$MAINTAINER_MODE_TRUE
+ AC_SUBST(MAINT)dnl
+]
+)
+
+dnl This provides configure definitions used for multilib support
+
+dnl parts of these macros are derived from newlib-1.8.2's multilib support
+
+AC_DEFUN(RTEMS_ENABLE_MULTILIB,
+[
+AC_ARG_ENABLE(multilib,
+AC_HELP_STRING([--enable-multilib],
+[build many library versions (default=no)]),
+[case "${enableval}" in
+ yes) multilib=yes ;;
+ no) multilib=no ;;
+ *) AC_MSG_ERROR(bad value ${enableval} for multilib option) ;;
+ esac], [multilib=no])dnl
+
+AM_CONDITIONAL(MULTILIB,test x"${multilib}" = x"yes")
+])
+
+dnl env-rtemsbsp.m4,v 1.7 2002/08/06 07:31:47 ralf Exp
+
+dnl Pass a single BSP via an environment variable
+dnl used by per BSP configure scripts
+AC_DEFUN(RTEMS_ENV_RTEMSBSP,
+[dnl
+AC_BEFORE([$0], [RTEMS_ENABLE_RTEMSBSP])dnl
+AC_BEFORE([$0], [RTEMS_PROJECT_ROOT])dnl
+AC_BEFORE([$0], [RTEMS_CHECK_CUSTOM_BSP])dnl
+
+AC_ARG_VAR([RTEMS_BSP],[RTEMS_BSP to build])
+AC_MSG_CHECKING([for RTEMS_BSP])
+AC_CACHE_VAL(rtems_cv_RTEMS_BSP,
+[dnl
+ test -n "${RTEMS_BSP}" && rtems_cv_RTEMS_BSP="$RTEMS_BSP";
+])dnl
+if test -z "$rtems_cv_RTEMS_BSP"; then
+ AC_MSG_ERROR([Missing RTEMS_BSP])
+fi
+RTEMS_BSP="$rtems_cv_RTEMS_BSP"
+AC_MSG_RESULT(${RTEMS_BSP})
+AC_SUBST(RTEMS_BSP)
+
+RTEMS_BSP_SPECS="-specs bsp_specs -qrtems"
+AC_SUBST(RTEMS_BSP_SPECS)
+
+GCC_SPECS="-B\$(PROJECT_ROOT)/lib/ -B\$(PROJECT_ROOT)/$RTEMS_BSP/lib/"
+AC_SUBST(GCC_SPECS)
+
+PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
+AC_SUBST(PROJECT_INCLUDE)
+
+PROJECT_RELEASE="\$(PROJECT_ROOT)/$RTEMS_BSP"
+AC_SUBST(PROJECT_RELEASE)
+
+RTEMS_ROOT=$PROJECT_ROOT/c/$RTEMS_BSP
+AC_SUBST(RTEMS_ROOT)
+
+RTEMS_ENABLE_BARE
+AC_SUBST(BARE_CPU_MODEL)
+AC_SUBST(BARE_CPU_CFLAGS)
+
+AM_CONDITIONAL([MULTILIB],[false])
+
+includedir="\${exec_prefix}/${RTEMS_BSP}/lib/include"
+libdir="\${exec_prefix}/${RTEMS_BSP}/lib"
+
+bsplibdir="\${exec_prefix}/${RTEMS_BSP}/lib"
+AC_SUBST(bsplibdir)
+])
+
+dnl enable-rtemsbsp.m4,v 1.10 2001/09/13 13:14:30 joel Exp
+
+dnl Override the set of BSPs to be built.
+dnl used by the toplevel configure script
+dnl RTEMS_ENABLE_RTEMSBSP(rtems_bsp_list)
+AC_DEFUN(RTEMS_ENABLE_RTEMSBSP,
+[
+AC_BEFORE([$0], [RTEMS_ENV_RTEMSBSP])dnl
+AC_ARG_ENABLE(rtemsbsp,
+AC_HELP_STRING([--enable-rtemsbsp="bsp1 bsp2 .."],
+[BSPs to include in build]),
+[case "${enableval}" in
+ yes|no) AC_MSG_ERROR([missing argument to --enable-rtemsbsp=\"bsp1 bsp2\"]);;
+ *) $1=$enableval;;
+esac],[$1=""])
+])
+
+dnl
+dnl project-root.m4,v 1.6 2001/12/20 17:33:23 joel Exp
+dnl
+
+dnl
+dnl PROJECT_TOPdir .. relative path to the top of the build-tree
+dnl PROJECT_ROOT .. relative path to the top of the temporary
+dnl installation directory inside the build-tree
+dnl RTEMS_TOPdir .. relative path of a subpackage's configure.in to the
+dnl toplevel configure.in of the source-tree
+dnl RTEMS_ROOT .. path to the top of a bsp's build directory
+dnl [Applied by custom/*.cfg, depredicated otherwise]
+dnl
+
+AC_DEFUN(RTEMS_PROJECT_ROOT,
+[dnl
+AC_REQUIRE([RTEMS_TOP])
+
+PACKHEX="\$(PROJECT_TOPdir)/tools/build/packhex"
+AC_SUBST(PACKHEX)
+])
+
+
+dnl check-bsps.m4,v 1.18 2001/11/21 18:36:51 joel Exp
+
+dnl Report all available bsps for a target,
+dnl check if a bsp-subdirectory is present for all bsps found
+dnl
+dnl RTEMS_CHECK_BSPS(bsp_list)
+AC_DEFUN(RTEMS_CHECK_BSPS,
+[
+AC_REQUIRE([RTEMS_CHECK_CPU])dnl sets RTEMS_CPU, target
+AC_REQUIRE([RTEMS_TOP])dnl sets RTEMS_TOPdir
+AC_MSG_CHECKING([for bsps])
+ files=`ls $srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU`
+ for file in $files; do
+ if test -r $srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU/$file/bsp_specs; then
+ case $file in
+ # Now account for BSPs with build variants
+ c4xsim) $1="[$]$1 c4xsim c3xsim";;
+ gen68360) $1="[$]$1 gen68360 gen68360_040";;
+ p4000) $1="[$]$1 p4600 p4650";;
+ mvme162) $1="[$]$1 mvme162 mvme162lx";;
+ mbx8xx) $1="[$]$1 mbx821_001 mbx860_002 mbx860_005b";;
+ motorola_powerpc) $1="[$]$1 mvme2307 mcp750";;
+ pc386) $1="[$]$1 pc386 pc386dx pc486 pc586 pc686 pck6";;
+ erc32) $1="[$]$1 erc32 erc32nfp";;
+ leon) $1="[$]$1 leon1 leon2";;
+ sim68000) $1="[$]$1 sim68000 simcpu32";;
+ shsim) $1="[$]$1 simsh7032 simsh7045";;
+ *) $1="[$]$1 $file";;
+ esac;
+ fi
+ done
+AC_MSG_RESULT([[$]$1 .. done])
+])dnl
+
+AC_DEFUN(RTEMS_CHECK_CUSTOM_BSP,
+[dnl
+AC_REQUIRE([RTEMS_TOP])
+
+AC_MSG_CHECKING([for make/custom/[$]$1.cfg])
+if test -r "$srcdir/$RTEMS_TOPdir/make/custom/[$]$1.cfg"; then
+ AC_MSG_RESULT([yes])
+else
+ AC_MSG_ERROR([no])
+fi
+])dnl
+
+AC_DEFUN(RTEMS_ENABLE_BARE,
+[
+AC_ARG_ENABLE(bare-cpu-cflags,
+AC_HELP_STRING([--enable-bare-cpu-cflags],[specify a particular cpu cflag (bare bsp specific)]),
+[case "${enableval}" in
+ no) BARE_CPU_CFLAGS="" ;;
+ *) BARE_CPU_CFLAGS="${enableval}" ;;
+esac],
+[BARE_CPU_CFLAGS=""])
+
+AC_ARG_ENABLE(bare-cpu-model,
+AC_HELP_STRING([--enable-bare-cpu-model],[specify a particular cpu model (bare bsp specific)]),
+[case "${enableval}" in
+ no) BARE_CPU_MODEL="" ;;
+ *) BARE_CPU_MODEL="${enableval}" ;;
+esac],
+[BARE_CPU_MODEL=""])
+])
+
+
+dnl
+dnl bsp-alias.m4,v 1.15 2001/11/21 18:36:51 joel Exp
+dnl
+
+dnl _RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY)
+dnl Internal subroutine to RTEMS_BSP_ALIAS
+AC_DEFUN(_RTEMS_BSP_ALIAS,
+[# account for "aliased" bsps which share source code
+ case $1 in
+ simcpu32) $2=sim68000 ;; # BSVC CPU32 variant
+ c3xsim) $2=c4xsim ;; # TI C3x Simulator in gdb
+ mcp750) $2=motorola_powerpc ;; # Motorola PPC board variant
+ mvme2307) $2=motorola_powerpc ;; # Motorola PPC board variant
+ mvme162lx) $2=mvme162 ;; # m68k - mvme162 board variant
+ gen68360_040) $2=gen68360 ;; # m68k - 68360 in companion mode
+ p4600) $2=p4000 ;; # mips64orion - p4000 board w/IDT 4600
+ p4650) $2=p4000 ;; # mips64orion - p4000 board w/IDT 4650
+ mbx8*) $2=mbx8xx ;; # MBX821/MBX860 board
+ pc386dx) $2=pc386 ;; # i386 - PC w/o FPU
+ pc486) $2=pc386 ;; # i386 - PC with i486DX
+ pc586) $2=pc386 ;; # i386 - PC with Pentium
+ pc686) $2=pc386 ;; # i386 - PC with PentiumPro
+ pck6) $2=pc386 ;; # i386 - PC with K6
+ bare*) $2=bare ;; # EXP: bare-aliases
+ erc32nfp) $2=erc32 ;; # erc32 without fpu
+ leon1) $2=leon ;; # leon without fpu
+ leon2) $2=leon ;; # leon with fpu
+ simsh7032) $2=shsim ;; # SH7032 simulator
+ simsh7045) $2=shsim ;; # SH7045 simulator
+ *) $2=$1;;
+ esac]
+)
+
+dnl RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY)
+dnl convert a bsp alias $1 into its bsp directory RTEMS_BSP_FAMILY
+AC_DEFUN(RTEMS_BSP_ALIAS,
+[_RTEMS_BSP_ALIAS(m4_if([$1],,[$RTEMS_BSP],[$1]),
+ m4_if([$2],,[RTEMS_BSP_FAMILY],[$2]))]
+)
+
+dnl
+dnl prog-cc.m4,v 1.15 2002/04/17 13:27:29 joel Exp
+dnl
+dnl Check for target gcc
+dnl
+
+AC_DEFUN(RTEMS_PROG_CC,
+[
+AC_BEFORE([$0], [AC_PROG_CPP])dnl
+AC_BEFORE([$0], [AC_PROG_CC])dnl
+AC_BEFORE([$0], [RTEMS_CANONICALIZE_TOOLS])dnl
+
+RTEMS_CHECK_TOOL(CC,gcc)
+test -z "$CC" && \
+ AC_MSG_ERROR([no acceptable cc found in \$PATH])
+AC_PROG_CC
+AC_PROG_CPP
+
+AM_CONDITIONAL(RTEMS_USE_GCC,test x"$GCC" = x"yes")
+])
+
+AC_DEFUN(RTEMS_PROG_CC_FOR_TARGET,
+[
+dnl check target cc
+RTEMS_PROG_CC
+dnl check if the compiler supports --specs
+RTEMS_GCC_SPECS
+dnl check if the target compiler may use --pipe
+RTEMS_GCC_PIPE
+dnl check if the compiler supports --specs if gcc28 is requested
+# if test "$rtems_cv_gcc_specs" = "no"; then
+# AC_MSG_WARN([*** disabling --enable-gcc28])
+# RTEMS_USE_GCC272=yes
+# fi
+test "$rtems_cv_gcc_pipe" = "yes" && CC="$CC --pipe"
+
+if test "$GCC" = yes; then
+]
+m4_if([$1],,[],[CPPFLAGS="$CPPFLAGS $1"])
+[
+CFLAGS="-g -Wall"
+fi
+
+dnl FIXME: HACK for egcs/cygwin mixing '\\' and '/' in gcc -print-*
+case $build_os in
+*cygwin*) GCCSED="| sed 's%\\\\%/%g'" ;;
+*) ;;
+esac
+AC_SUBST(GCCSED)
+])
+
+dnl
+dnl canonicalize-tools.m4,v 1.15 2000/11/02 22:51:12 joel Exp
+dnl
+dnl Set target tools
+dnl
+
+AC_DEFUN(RTEMS_GCC_PRINT,
+[
+ $1=`$CC --print-prog-name=$2`
+])
+
+AC_DEFUN(RTEMS_CANONICALIZE_TOOLS,
+[AC_REQUIRE([RTEMS_PROG_CC])dnl
+
+dnl FIXME: What shall be done if these tools are not available?
+ RTEMS_CHECK_TOOL(AR,ar,no)
+ RTEMS_CHECK_TOOL(AS,as,no)
+ RTEMS_CHECK_TOOL(LD,ld,no)
+ RTEMS_CHECK_TOOL(NM,nm,no)
+
+dnl special treatment of ranlib
+ RTEMS_CHECK_TOOL(RANLIB,ranlib,:)
+
+dnl NOTE: These may not be available if not using gnutools
+ RTEMS_CHECK_TOOL(OBJCOPY,objcopy,no)
+ RTEMS_CHECK_TOOL(SIZE,size,no)
+ RTEMS_CHECK_TOOL(STRIP,strip,:)
+])
+
+dnl check-tool.m4,v 1.2 2002/01/08 12:06:18 joel Exp
+
+dnl RTEMS_CHECK_TOOL(VARIABLE, PROG-TO-CHECK-FOR[, VALUE-IF-NOT-FOUND [, PATH]])
+AC_DEFUN(RTEMS_CHECK_TOOL,
+[
+ AS_IF([test "x$build_alias" != "x$host_alias"],
+ [rtems_tool_prefix=${ac_tool_prefix}])
+ AC_CHECK_PROG($1, ${rtems_tool_prefix}$2, ${rtems_tool_prefix}$2, $3, $4)
+])
+
+dnl
+dnl gcc-specs.m4,v 1.5 2000/11/09 17:04:53 joel Exp
+dnl
+dnl Check whether the target compiler accepts -specs
+dnl
+
+AC_DEFUN(RTEMS_GCC_SPECS,
+[AC_REQUIRE([RTEMS_PROG_CC])
+AC_CACHE_CHECK(whether $CC accepts -specs,rtems_cv_gcc_specs,
+[
+rtems_cv_gcc_specs=no
+if test x"$GCC" = x"yes"; then
+ touch confspec
+ echo 'void f(){}' >conftest.c
+ if test -z "`${CC} -specs confspec -c conftest.c 2>&1`";then
+ rtems_cv_gcc_specs=yes
+ fi
+fi
+rm -f confspec conftest*
+])])
+
+dnl
+dnl gcc-pipe.m4,v 1.8 2000/11/09 17:04:53 joel Exp
+dnl
+dnl Check whether the target compiler accepts -pipe
+dnl
+
+AC_DEFUN(RTEMS_GCC_PIPE,
+[AC_REQUIRE([RTEMS_PROG_CC])
+AC_REQUIRE([AC_CANONICAL_HOST])
+AC_CACHE_CHECK(whether $CC accepts --pipe,rtems_cv_gcc_pipe,
+[
+rtems_cv_gcc_pipe=no
+if test x"$GCC" = x"yes"; then
+ echo 'void f(){}' >conftest.c
+ if test -z "`${CC} --pipe -c conftest.c 2>&1`";then
+ rtems_cv_gcc_pipe=yes
+ fi
+ rm -f conftest*
+fi
+])
+])
+
Index: .
===================================================================
--- . (nonexistent)
+++ . (revision 1765)
.
Property changes :
Added: svn:ignore
## -0,0 +1,5 ##
+Makefile
+Makefile.in
+aclocal.m4
+autom4te.cache
+configure