| 1 |
1026 |
ivang |
#! /bin/sh
|
| 2 |
|
|
# Guess values for system-dependent variables and create Makefiles.
|
| 3 |
|
|
# Generated by Autoconf 2.52 for rtems-c-src ss-20020807.
|
| 4 |
|
|
#
|
| 5 |
|
|
# Report bugs to .
|
| 6 |
|
|
#
|
| 7 |
|
|
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
|
| 8 |
|
|
# Free Software Foundation, Inc.
|
| 9 |
|
|
# This configure script is free software; the Free Software Foundation
|
| 10 |
|
|
# gives unlimited permission to copy, distribute and modify it.
|
| 11 |
|
|
|
| 12 |
|
|
# Avoid depending upon Character Ranges.
|
| 13 |
|
|
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
| 14 |
|
|
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
| 15 |
|
|
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
| 16 |
|
|
as_cr_digits='0123456789'
|
| 17 |
|
|
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
| 18 |
|
|
|
| 19 |
|
|
# Sed expression to map a string onto a valid variable name.
|
| 20 |
|
|
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
|
| 21 |
|
|
|
| 22 |
|
|
# Sed expression to map a string onto a valid CPP name.
|
| 23 |
|
|
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
|
| 24 |
|
|
|
| 25 |
|
|
# Be Bourne compatible
|
| 26 |
|
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
| 27 |
|
|
emulate sh
|
| 28 |
|
|
NULLCMD=:
|
| 29 |
|
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
| 30 |
|
|
set -o posix
|
| 31 |
|
|
fi
|
| 32 |
|
|
|
| 33 |
|
|
# Name of the executable.
|
| 34 |
|
|
as_me=`echo "$0" |sed 's,.*[\\/],,'`
|
| 35 |
|
|
|
| 36 |
|
|
if expr a : '\(a\)' >/dev/null 2>&1; then
|
| 37 |
|
|
as_expr=expr
|
| 38 |
|
|
else
|
| 39 |
|
|
as_expr=false
|
| 40 |
|
|
fi
|
| 41 |
|
|
|
| 42 |
|
|
rm -f conf$$ conf$$.exe conf$$.file
|
| 43 |
|
|
echo >conf$$.file
|
| 44 |
|
|
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
| 45 |
|
|
# We could just check for DJGPP; but this test a) works b) is more generic
|
| 46 |
|
|
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
| 47 |
|
|
if test -f conf$$.exe; then
|
| 48 |
|
|
# Don't use ln at all; we don't have any links
|
| 49 |
|
|
as_ln_s='cp -p'
|
| 50 |
|
|
else
|
| 51 |
|
|
as_ln_s='ln -s'
|
| 52 |
|
|
fi
|
| 53 |
|
|
elif ln conf$$.file conf$$ 2>/dev/null; then
|
| 54 |
|
|
as_ln_s=ln
|
| 55 |
|
|
else
|
| 56 |
|
|
as_ln_s='cp -p'
|
| 57 |
|
|
fi
|
| 58 |
|
|
rm -f conf$$ conf$$.exe conf$$.file
|
| 59 |
|
|
|
| 60 |
|
|
as_executable_p="test -f"
|
| 61 |
|
|
|
| 62 |
|
|
# Support unset when possible.
|
| 63 |
|
|
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
|
| 64 |
|
|
as_unset=unset
|
| 65 |
|
|
else
|
| 66 |
|
|
as_unset=false
|
| 67 |
|
|
fi
|
| 68 |
|
|
|
| 69 |
|
|
# NLS nuisances.
|
| 70 |
|
|
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
|
| 71 |
|
|
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
|
| 72 |
|
|
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
|
| 73 |
|
|
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
|
| 74 |
|
|
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
|
| 75 |
|
|
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
|
| 76 |
|
|
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
|
| 77 |
|
|
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
|
| 78 |
|
|
|
| 79 |
|
|
# IFS
|
| 80 |
|
|
# We need space, tab and new line, in precisely that order.
|
| 81 |
|
|
as_nl='
|
| 82 |
|
|
'
|
| 83 |
|
|
IFS=" $as_nl"
|
| 84 |
|
|
|
| 85 |
|
|
# CDPATH.
|
| 86 |
|
|
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
|
| 87 |
|
|
|
| 88 |
|
|
# Name of the host.
|
| 89 |
|
|
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
| 90 |
|
|
# so uname gets run too.
|
| 91 |
|
|
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
| 92 |
|
|
|
| 93 |
|
|
exec 6>&1
|
| 94 |
|
|
|
| 95 |
|
|
#
|
| 96 |
|
|
# Initializations.
|
| 97 |
|
|
#
|
| 98 |
|
|
ac_default_prefix=/usr/local
|
| 99 |
|
|
cross_compiling=no
|
| 100 |
|
|
subdirs=
|
| 101 |
|
|
MFLAGS= MAKEFLAGS=
|
| 102 |
|
|
SHELL=${CONFIG_SHELL-/bin/sh}
|
| 103 |
|
|
|
| 104 |
|
|
# Maximum number of lines to put in a shell here document.
|
| 105 |
|
|
# This variable seems obsolete. It should probably be removed, and
|
| 106 |
|
|
# only ac_max_sed_lines should be used.
|
| 107 |
|
|
: ${ac_max_here_lines=38}
|
| 108 |
|
|
|
| 109 |
|
|
ac_unique_file="optman"
|
| 110 |
|
|
ac_default_prefix=/opt/rtems
|
| 111 |
|
|
ac_subdirs_all="$ac_subdirs_all make"
|
| 112 |
|
|
ac_subdirs_all="$ac_subdirs_all optman"
|
| 113 |
|
|
ac_subdirs_all="$ac_subdirs_all lib/libcpu"
|
| 114 |
|
|
ac_subdirs_all="$ac_subdirs_all lib/libbsp"
|
| 115 |
|
|
ac_subdirs_all="$ac_subdirs_all libmisc"
|
| 116 |
|
|
ac_subdirs_all="$ac_subdirs_all libchip"
|
| 117 |
|
|
ac_subdirs_all="$ac_subdirs_all libnetworking"
|
| 118 |
|
|
ac_subdirs_all="$ac_subdirs_all librdbg"
|
| 119 |
|
|
ac_subdirs_all="$ac_subdirs_all librtems++"
|
| 120 |
|
|
ac_subdirs_all="$ac_subdirs_all wrapup tests"
|
| 121 |
|
|
|
| 122 |
|
|
# Initialize some variables set by options.
|
| 123 |
|
|
ac_init_help=
|
| 124 |
|
|
ac_init_version=false
|
| 125 |
|
|
# The variables have the same names as the options, with
|
| 126 |
|
|
# dashes changed to underlines.
|
| 127 |
|
|
cache_file=/dev/null
|
| 128 |
|
|
exec_prefix=NONE
|
| 129 |
|
|
no_create=
|
| 130 |
|
|
no_recursion=
|
| 131 |
|
|
prefix=NONE
|
| 132 |
|
|
program_prefix=NONE
|
| 133 |
|
|
program_suffix=NONE
|
| 134 |
|
|
program_transform_name=s,x,x,
|
| 135 |
|
|
silent=
|
| 136 |
|
|
site=
|
| 137 |
|
|
srcdir=
|
| 138 |
|
|
verbose=
|
| 139 |
|
|
x_includes=NONE
|
| 140 |
|
|
x_libraries=NONE
|
| 141 |
|
|
|
| 142 |
|
|
# Installation directory options.
|
| 143 |
|
|
# These are left unexpanded so users can "make install exec_prefix=/foo"
|
| 144 |
|
|
# and all the variables that are supposed to be based on exec_prefix
|
| 145 |
|
|
# by default will actually change.
|
| 146 |
|
|
# Use braces instead of parens because sh, perl, etc. also accept them.
|
| 147 |
|
|
bindir='${exec_prefix}/bin'
|
| 148 |
|
|
sbindir='${exec_prefix}/sbin'
|
| 149 |
|
|
libexecdir='${exec_prefix}/libexec'
|
| 150 |
|
|
datadir='${prefix}/share'
|
| 151 |
|
|
sysconfdir='${prefix}/etc'
|
| 152 |
|
|
sharedstatedir='${prefix}/com'
|
| 153 |
|
|
localstatedir='${prefix}/var'
|
| 154 |
|
|
libdir='${exec_prefix}/lib'
|
| 155 |
|
|
includedir='${prefix}/include'
|
| 156 |
|
|
oldincludedir='/usr/include'
|
| 157 |
|
|
infodir='${prefix}/info'
|
| 158 |
|
|
mandir='${prefix}/man'
|
| 159 |
|
|
|
| 160 |
|
|
# Identity of this package.
|
| 161 |
|
|
PACKAGE_NAME='rtems-c-src'
|
| 162 |
|
|
PACKAGE_TARNAME='rtems-c-src'
|
| 163 |
|
|
PACKAGE_VERSION='ss-20020807'
|
| 164 |
|
|
PACKAGE_STRING='rtems-c-src ss-20020807'
|
| 165 |
|
|
PACKAGE_BUGREPORT='rtems-bugs@OARcorp.com'
|
| 166 |
|
|
|
| 167 |
|
|
ac_prev=
|
| 168 |
|
|
for ac_option
|
| 169 |
|
|
do
|
| 170 |
|
|
# If the previous option needs an argument, assign it.
|
| 171 |
|
|
if test -n "$ac_prev"; then
|
| 172 |
|
|
eval "$ac_prev=\$ac_option"
|
| 173 |
|
|
ac_prev=
|
| 174 |
|
|
continue
|
| 175 |
|
|
fi
|
| 176 |
|
|
|
| 177 |
|
|
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
|
| 178 |
|
|
|
| 179 |
|
|
# Accept the important Cygnus configure options, so we can diagnose typos.
|
| 180 |
|
|
|
| 181 |
|
|
case $ac_option in
|
| 182 |
|
|
|
| 183 |
|
|
-bindir | --bindir | --bindi | --bind | --bin | --bi)
|
| 184 |
|
|
ac_prev=bindir ;;
|
| 185 |
|
|
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
| 186 |
|
|
bindir=$ac_optarg ;;
|
| 187 |
|
|
|
| 188 |
|
|
-build | --build | --buil | --bui | --bu)
|
| 189 |
|
|
ac_prev=build_alias ;;
|
| 190 |
|
|
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
| 191 |
|
|
build_alias=$ac_optarg ;;
|
| 192 |
|
|
|
| 193 |
|
|
-cache-file | --cache-file | --cache-fil | --cache-fi \
|
| 194 |
|
|
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
| 195 |
|
|
ac_prev=cache_file ;;
|
| 196 |
|
|
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
| 197 |
|
|
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
| 198 |
|
|
cache_file=$ac_optarg ;;
|
| 199 |
|
|
|
| 200 |
|
|
--config-cache | -C)
|
| 201 |
|
|
cache_file=config.cache ;;
|
| 202 |
|
|
|
| 203 |
|
|
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
|
| 204 |
|
|
ac_prev=datadir ;;
|
| 205 |
|
|
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
|
| 206 |
|
|
| --da=*)
|
| 207 |
|
|
datadir=$ac_optarg ;;
|
| 208 |
|
|
|
| 209 |
|
|
-disable-* | --disable-*)
|
| 210 |
|
|
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
| 211 |
|
|
# Reject names that are not valid shell variable names.
|
| 212 |
|
|
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
| 213 |
|
|
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
| 214 |
|
|
{ (exit 1); exit 1; }; }
|
| 215 |
|
|
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
| 216 |
|
|
eval "enable_$ac_feature=no" ;;
|
| 217 |
|
|
|
| 218 |
|
|
-enable-* | --enable-*)
|
| 219 |
|
|
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
| 220 |
|
|
# Reject names that are not valid shell variable names.
|
| 221 |
|
|
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
| 222 |
|
|
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
| 223 |
|
|
{ (exit 1); exit 1; }; }
|
| 224 |
|
|
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
| 225 |
|
|
case $ac_option in
|
| 226 |
|
|
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
| 227 |
|
|
*) ac_optarg=yes ;;
|
| 228 |
|
|
esac
|
| 229 |
|
|
eval "enable_$ac_feature='$ac_optarg'" ;;
|
| 230 |
|
|
|
| 231 |
|
|
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
| 232 |
|
|
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
| 233 |
|
|
| --exec | --exe | --ex)
|
| 234 |
|
|
ac_prev=exec_prefix ;;
|
| 235 |
|
|
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
| 236 |
|
|
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
| 237 |
|
|
| --exec=* | --exe=* | --ex=*)
|
| 238 |
|
|
exec_prefix=$ac_optarg ;;
|
| 239 |
|
|
|
| 240 |
|
|
-gas | --gas | --ga | --g)
|
| 241 |
|
|
# Obsolete; use --with-gas.
|
| 242 |
|
|
with_gas=yes ;;
|
| 243 |
|
|
|
| 244 |
|
|
-help | --help | --hel | --he | -h)
|
| 245 |
|
|
ac_init_help=long ;;
|
| 246 |
|
|
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
| 247 |
|
|
ac_init_help=recursive ;;
|
| 248 |
|
|
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
| 249 |
|
|
ac_init_help=short ;;
|
| 250 |
|
|
|
| 251 |
|
|
-host | --host | --hos | --ho)
|
| 252 |
|
|
ac_prev=host_alias ;;
|
| 253 |
|
|
-host=* | --host=* | --hos=* | --ho=*)
|
| 254 |
|
|
host_alias=$ac_optarg ;;
|
| 255 |
|
|
|
| 256 |
|
|
-includedir | --includedir | --includedi | --included | --include \
|
| 257 |
|
|
| --includ | --inclu | --incl | --inc)
|
| 258 |
|
|
ac_prev=includedir ;;
|
| 259 |
|
|
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
| 260 |
|
|
| --includ=* | --inclu=* | --incl=* | --inc=*)
|
| 261 |
|
|
includedir=$ac_optarg ;;
|
| 262 |
|
|
|
| 263 |
|
|
-infodir | --infodir | --infodi | --infod | --info | --inf)
|
| 264 |
|
|
ac_prev=infodir ;;
|
| 265 |
|
|
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
| 266 |
|
|
infodir=$ac_optarg ;;
|
| 267 |
|
|
|
| 268 |
|
|
-libdir | --libdir | --libdi | --libd)
|
| 269 |
|
|
ac_prev=libdir ;;
|
| 270 |
|
|
-libdir=* | --libdir=* | --libdi=* | --libd=*)
|
| 271 |
|
|
libdir=$ac_optarg ;;
|
| 272 |
|
|
|
| 273 |
|
|
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
| 274 |
|
|
| --libexe | --libex | --libe)
|
| 275 |
|
|
ac_prev=libexecdir ;;
|
| 276 |
|
|
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
| 277 |
|
|
| --libexe=* | --libex=* | --libe=*)
|
| 278 |
|
|
libexecdir=$ac_optarg ;;
|
| 279 |
|
|
|
| 280 |
|
|
-localstatedir | --localstatedir | --localstatedi | --localstated \
|
| 281 |
|
|
| --localstate | --localstat | --localsta | --localst \
|
| 282 |
|
|
| --locals | --local | --loca | --loc | --lo)
|
| 283 |
|
|
ac_prev=localstatedir ;;
|
| 284 |
|
|
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
| 285 |
|
|
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
|
| 286 |
|
|
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
|
| 287 |
|
|
localstatedir=$ac_optarg ;;
|
| 288 |
|
|
|
| 289 |
|
|
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
| 290 |
|
|
ac_prev=mandir ;;
|
| 291 |
|
|
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
| 292 |
|
|
mandir=$ac_optarg ;;
|
| 293 |
|
|
|
| 294 |
|
|
-nfp | --nfp | --nf)
|
| 295 |
|
|
# Obsolete; use --without-fp.
|
| 296 |
|
|
with_fp=no ;;
|
| 297 |
|
|
|
| 298 |
|
|
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
| 299 |
|
|
| --no-cr | --no-c)
|
| 300 |
|
|
no_create=yes ;;
|
| 301 |
|
|
|
| 302 |
|
|
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
| 303 |
|
|
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
| 304 |
|
|
no_recursion=yes ;;
|
| 305 |
|
|
|
| 306 |
|
|
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
| 307 |
|
|
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
| 308 |
|
|
| --oldin | --oldi | --old | --ol | --o)
|
| 309 |
|
|
ac_prev=oldincludedir ;;
|
| 310 |
|
|
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
| 311 |
|
|
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
| 312 |
|
|
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
| 313 |
|
|
oldincludedir=$ac_optarg ;;
|
| 314 |
|
|
|
| 315 |
|
|
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
| 316 |
|
|
ac_prev=prefix ;;
|
| 317 |
|
|
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
| 318 |
|
|
prefix=$ac_optarg ;;
|
| 319 |
|
|
|
| 320 |
|
|
-program-prefix | --program-prefix | --program-prefi | --program-pref \
|
| 321 |
|
|
| --program-pre | --program-pr | --program-p)
|
| 322 |
|
|
ac_prev=program_prefix ;;
|
| 323 |
|
|
-program-prefix=* | --program-prefix=* | --program-prefi=* \
|
| 324 |
|
|
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
| 325 |
|
|
program_prefix=$ac_optarg ;;
|
| 326 |
|
|
|
| 327 |
|
|
-program-suffix | --program-suffix | --program-suffi | --program-suff \
|
| 328 |
|
|
| --program-suf | --program-su | --program-s)
|
| 329 |
|
|
ac_prev=program_suffix ;;
|
| 330 |
|
|
-program-suffix=* | --program-suffix=* | --program-suffi=* \
|
| 331 |
|
|
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
| 332 |
|
|
program_suffix=$ac_optarg ;;
|
| 333 |
|
|
|
| 334 |
|
|
-program-transform-name | --program-transform-name \
|
| 335 |
|
|
| --program-transform-nam | --program-transform-na \
|
| 336 |
|
|
| --program-transform-n | --program-transform- \
|
| 337 |
|
|
| --program-transform | --program-transfor \
|
| 338 |
|
|
| --program-transfo | --program-transf \
|
| 339 |
|
|
| --program-trans | --program-tran \
|
| 340 |
|
|
| --progr-tra | --program-tr | --program-t)
|
| 341 |
|
|
ac_prev=program_transform_name ;;
|
| 342 |
|
|
-program-transform-name=* | --program-transform-name=* \
|
| 343 |
|
|
| --program-transform-nam=* | --program-transform-na=* \
|
| 344 |
|
|
| --program-transform-n=* | --program-transform-=* \
|
| 345 |
|
|
| --program-transform=* | --program-transfor=* \
|
| 346 |
|
|
| --program-transfo=* | --program-transf=* \
|
| 347 |
|
|
| --program-trans=* | --program-tran=* \
|
| 348 |
|
|
| --progr-tra=* | --program-tr=* | --program-t=*)
|
| 349 |
|
|
program_transform_name=$ac_optarg ;;
|
| 350 |
|
|
|
| 351 |
|
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
| 352 |
|
|
| -silent | --silent | --silen | --sile | --sil)
|
| 353 |
|
|
silent=yes ;;
|
| 354 |
|
|
|
| 355 |
|
|
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
| 356 |
|
|
ac_prev=sbindir ;;
|
| 357 |
|
|
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
| 358 |
|
|
| --sbi=* | --sb=*)
|
| 359 |
|
|
sbindir=$ac_optarg ;;
|
| 360 |
|
|
|
| 361 |
|
|
-sharedstatedir | --sharedstatedir | --sharedstatedi \
|
| 362 |
|
|
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
| 363 |
|
|
| --sharedst | --shareds | --shared | --share | --shar \
|
| 364 |
|
|
| --sha | --sh)
|
| 365 |
|
|
ac_prev=sharedstatedir ;;
|
| 366 |
|
|
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
| 367 |
|
|
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
| 368 |
|
|
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
| 369 |
|
|
| --sha=* | --sh=*)
|
| 370 |
|
|
sharedstatedir=$ac_optarg ;;
|
| 371 |
|
|
|
| 372 |
|
|
-site | --site | --sit)
|
| 373 |
|
|
ac_prev=site ;;
|
| 374 |
|
|
-site=* | --site=* | --sit=*)
|
| 375 |
|
|
site=$ac_optarg ;;
|
| 376 |
|
|
|
| 377 |
|
|
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
| 378 |
|
|
ac_prev=srcdir ;;
|
| 379 |
|
|
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
| 380 |
|
|
srcdir=$ac_optarg ;;
|
| 381 |
|
|
|
| 382 |
|
|
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
| 383 |
|
|
| --syscon | --sysco | --sysc | --sys | --sy)
|
| 384 |
|
|
ac_prev=sysconfdir ;;
|
| 385 |
|
|
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
| 386 |
|
|
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
| 387 |
|
|
sysconfdir=$ac_optarg ;;
|
| 388 |
|
|
|
| 389 |
|
|
-target | --target | --targe | --targ | --tar | --ta | --t)
|
| 390 |
|
|
ac_prev=target_alias ;;
|
| 391 |
|
|
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
| 392 |
|
|
target_alias=$ac_optarg ;;
|
| 393 |
|
|
|
| 394 |
|
|
-v | -verbose | --verbose | --verbos | --verbo | --verb)
|
| 395 |
|
|
verbose=yes ;;
|
| 396 |
|
|
|
| 397 |
|
|
-version | --version | --versio | --versi | --vers | -V)
|
| 398 |
|
|
ac_init_version=: ;;
|
| 399 |
|
|
|
| 400 |
|
|
-with-* | --with-*)
|
| 401 |
|
|
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
| 402 |
|
|
# Reject names that are not valid shell variable names.
|
| 403 |
|
|
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
| 404 |
|
|
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
| 405 |
|
|
{ (exit 1); exit 1; }; }
|
| 406 |
|
|
ac_package=`echo $ac_package| sed 's/-/_/g'`
|
| 407 |
|
|
case $ac_option in
|
| 408 |
|
|
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
| 409 |
|
|
*) ac_optarg=yes ;;
|
| 410 |
|
|
esac
|
| 411 |
|
|
eval "with_$ac_package='$ac_optarg'" ;;
|
| 412 |
|
|
|
| 413 |
|
|
-without-* | --without-*)
|
| 414 |
|
|
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
| 415 |
|
|
# Reject names that are not valid shell variable names.
|
| 416 |
|
|
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
| 417 |
|
|
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
| 418 |
|
|
{ (exit 1); exit 1; }; }
|
| 419 |
|
|
ac_package=`echo $ac_package | sed 's/-/_/g'`
|
| 420 |
|
|
eval "with_$ac_package=no" ;;
|
| 421 |
|
|
|
| 422 |
|
|
--x)
|
| 423 |
|
|
# Obsolete; use --with-x.
|
| 424 |
|
|
with_x=yes ;;
|
| 425 |
|
|
|
| 426 |
|
|
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
| 427 |
|
|
| --x-incl | --x-inc | --x-in | --x-i)
|
| 428 |
|
|
ac_prev=x_includes ;;
|
| 429 |
|
|
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
| 430 |
|
|
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
| 431 |
|
|
x_includes=$ac_optarg ;;
|
| 432 |
|
|
|
| 433 |
|
|
-x-libraries | --x-libraries | --x-librarie | --x-librari \
|
| 434 |
|
|
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
| 435 |
|
|
ac_prev=x_libraries ;;
|
| 436 |
|
|
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
| 437 |
|
|
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
| 438 |
|
|
x_libraries=$ac_optarg ;;
|
| 439 |
|
|
|
| 440 |
|
|
-*) { echo "$as_me: error: unrecognized option: $ac_option
|
| 441 |
|
|
Try \`$0 --help' for more information." >&2
|
| 442 |
|
|
{ (exit 1); exit 1; }; }
|
| 443 |
|
|
;;
|
| 444 |
|
|
|
| 445 |
|
|
*=*)
|
| 446 |
|
|
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
| 447 |
|
|
# Reject names that are not valid shell variable names.
|
| 448 |
|
|
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
| 449 |
|
|
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
| 450 |
|
|
{ (exit 1); exit 1; }; }
|
| 451 |
|
|
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
|
| 452 |
|
|
eval "$ac_envvar='$ac_optarg'"
|
| 453 |
|
|
export $ac_envvar ;;
|
| 454 |
|
|
|
| 455 |
|
|
*)
|
| 456 |
|
|
# FIXME: should be removed in autoconf 3.0.
|
| 457 |
|
|
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
| 458 |
|
|
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
| 459 |
|
|
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
| 460 |
|
|
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
| 461 |
|
|
;;
|
| 462 |
|
|
|
| 463 |
|
|
esac
|
| 464 |
|
|
done
|
| 465 |
|
|
|
| 466 |
|
|
if test -n "$ac_prev"; then
|
| 467 |
|
|
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
| 468 |
|
|
{ echo "$as_me: error: missing argument to $ac_option" >&2
|
| 469 |
|
|
{ (exit 1); exit 1; }; }
|
| 470 |
|
|
fi
|
| 471 |
|
|
|
| 472 |
|
|
# Be sure to have absolute paths.
|
| 473 |
|
|
for ac_var in exec_prefix prefix
|
| 474 |
|
|
do
|
| 475 |
|
|
eval ac_val=$`echo $ac_var`
|
| 476 |
|
|
case $ac_val in
|
| 477 |
|
|
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
|
| 478 |
|
|
*) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
|
| 479 |
|
|
{ (exit 1); exit 1; }; };;
|
| 480 |
|
|
esac
|
| 481 |
|
|
done
|
| 482 |
|
|
|
| 483 |
|
|
# Be sure to have absolute paths.
|
| 484 |
|
|
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
|
| 485 |
|
|
localstatedir libdir includedir oldincludedir infodir mandir
|
| 486 |
|
|
do
|
| 487 |
|
|
eval ac_val=$`echo $ac_var`
|
| 488 |
|
|
case $ac_val in
|
| 489 |
|
|
[\\/$]* | ?:[\\/]* ) ;;
|
| 490 |
|
|
*) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
|
| 491 |
|
|
{ (exit 1); exit 1; }; };;
|
| 492 |
|
|
esac
|
| 493 |
|
|
done
|
| 494 |
|
|
|
| 495 |
|
|
# There might be people who depend on the old broken behavior: `$host'
|
| 496 |
|
|
# used to hold the argument of --host etc.
|
| 497 |
|
|
build=$build_alias
|
| 498 |
|
|
host=$host_alias
|
| 499 |
|
|
target=$target_alias
|
| 500 |
|
|
|
| 501 |
|
|
# FIXME: should be removed in autoconf 3.0.
|
| 502 |
|
|
if test "x$host_alias" != x; then
|
| 503 |
|
|
if test "x$build_alias" = x; then
|
| 504 |
|
|
cross_compiling=maybe
|
| 505 |
|
|
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
| 506 |
|
|
If a cross compiler is detected then cross compile mode will be used." >&2
|
| 507 |
|
|
elif test "x$build_alias" != "x$host_alias"; then
|
| 508 |
|
|
cross_compiling=yes
|
| 509 |
|
|
fi
|
| 510 |
|
|
fi
|
| 511 |
|
|
|
| 512 |
|
|
ac_tool_prefix=
|
| 513 |
|
|
test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
| 514 |
|
|
|
| 515 |
|
|
test "$silent" = yes && exec 6>/dev/null
|
| 516 |
|
|
|
| 517 |
|
|
# Find the source files, if location was not specified.
|
| 518 |
|
|
if test -z "$srcdir"; then
|
| 519 |
|
|
ac_srcdir_defaulted=yes
|
| 520 |
|
|
# Try the directory containing this script, then its parent.
|
| 521 |
|
|
ac_prog=$0
|
| 522 |
|
|
ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
|
| 523 |
|
|
test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
|
| 524 |
|
|
srcdir=$ac_confdir
|
| 525 |
|
|
if test ! -r $srcdir/$ac_unique_file; then
|
| 526 |
|
|
srcdir=..
|
| 527 |
|
|
fi
|
| 528 |
|
|
else
|
| 529 |
|
|
ac_srcdir_defaulted=no
|
| 530 |
|
|
fi
|
| 531 |
|
|
if test ! -r $srcdir/$ac_unique_file; then
|
| 532 |
|
|
if test "$ac_srcdir_defaulted" = yes; then
|
| 533 |
|
|
{ echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
|
| 534 |
|
|
{ (exit 1); exit 1; }; }
|
| 535 |
|
|
else
|
| 536 |
|
|
{ echo "$as_me: error: cannot find sources in $srcdir" >&2
|
| 537 |
|
|
{ (exit 1); exit 1; }; }
|
| 538 |
|
|
fi
|
| 539 |
|
|
fi
|
| 540 |
|
|
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
|
| 541 |
|
|
ac_env_build_alias_set=${build_alias+set}
|
| 542 |
|
|
ac_env_build_alias_value=$build_alias
|
| 543 |
|
|
ac_cv_env_build_alias_set=${build_alias+set}
|
| 544 |
|
|
ac_cv_env_build_alias_value=$build_alias
|
| 545 |
|
|
ac_env_host_alias_set=${host_alias+set}
|
| 546 |
|
|
ac_env_host_alias_value=$host_alias
|
| 547 |
|
|
ac_cv_env_host_alias_set=${host_alias+set}
|
| 548 |
|
|
ac_cv_env_host_alias_value=$host_alias
|
| 549 |
|
|
ac_env_target_alias_set=${target_alias+set}
|
| 550 |
|
|
ac_env_target_alias_value=$target_alias
|
| 551 |
|
|
ac_cv_env_target_alias_set=${target_alias+set}
|
| 552 |
|
|
ac_cv_env_target_alias_value=$target_alias
|
| 553 |
|
|
ac_env_RTEMS_BSP_set=${RTEMS_BSP+set}
|
| 554 |
|
|
ac_env_RTEMS_BSP_value=$RTEMS_BSP
|
| 555 |
|
|
ac_cv_env_RTEMS_BSP_set=${RTEMS_BSP+set}
|
| 556 |
|
|
ac_cv_env_RTEMS_BSP_value=$RTEMS_BSP
|
| 557 |
|
|
|
| 558 |
|
|
#
|
| 559 |
|
|
# Report the --help message.
|
| 560 |
|
|
#
|
| 561 |
|
|
if test "$ac_init_help" = "long"; then
|
| 562 |
|
|
# Omit some internal or obsolete options to make the list less imposing.
|
| 563 |
|
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
| 564 |
|
|
cat <
|
| 565 |
|
|
\`configure' configures rtems-c-src ss-20020807 to adapt to many kinds of systems.
|
| 566 |
|
|
|
| 567 |
|
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
| 568 |
|
|
|
| 569 |
|
|
To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
| 570 |
|
|
VAR=VALUE. See below for descriptions of some of the useful variables.
|
| 571 |
|
|
|
| 572 |
|
|
Defaults for the options are specified in brackets.
|
| 573 |
|
|
|
| 574 |
|
|
Configuration:
|
| 575 |
|
|
-h, --help display this help and exit
|
| 576 |
|
|
--help=short display options specific to this package
|
| 577 |
|
|
--help=recursive display the short help of all the included packages
|
| 578 |
|
|
-V, --version display version information and exit
|
| 579 |
|
|
-q, --quiet, --silent do not print \`checking...' messages
|
| 580 |
|
|
--cache-file=FILE cache test results in FILE [disabled]
|
| 581 |
|
|
-C, --config-cache alias for \`--cache-file=config.cache'
|
| 582 |
|
|
-n, --no-create do not create output files
|
| 583 |
|
|
--srcdir=DIR find the sources in DIR [configure dir or \`..']
|
| 584 |
|
|
|
| 585 |
|
|
EOF
|
| 586 |
|
|
|
| 587 |
|
|
cat <
|
| 588 |
|
|
Installation directories:
|
| 589 |
|
|
--prefix=PREFIX install architecture-independent files in PREFIX
|
| 590 |
|
|
[$ac_default_prefix]
|
| 591 |
|
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
| 592 |
|
|
[PREFIX]
|
| 593 |
|
|
|
| 594 |
|
|
By default, \`make install' will install all the files in
|
| 595 |
|
|
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
| 596 |
|
|
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
| 597 |
|
|
for instance \`--prefix=\$HOME'.
|
| 598 |
|
|
|
| 599 |
|
|
For better control, use the options below.
|
| 600 |
|
|
|
| 601 |
|
|
Fine tuning of the installation directories:
|
| 602 |
|
|
--bindir=DIR user executables [EPREFIX/bin]
|
| 603 |
|
|
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
| 604 |
|
|
--libexecdir=DIR program executables [EPREFIX/libexec]
|
| 605 |
|
|
--datadir=DIR read-only architecture-independent data [PREFIX/share]
|
| 606 |
|
|
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
| 607 |
|
|
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
| 608 |
|
|
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
| 609 |
|
|
--libdir=DIR object code libraries [EPREFIX/lib]
|
| 610 |
|
|
--includedir=DIR C header files [PREFIX/include]
|
| 611 |
|
|
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
| 612 |
|
|
--infodir=DIR info documentation [PREFIX/info]
|
| 613 |
|
|
--mandir=DIR man documentation [PREFIX/man]
|
| 614 |
|
|
EOF
|
| 615 |
|
|
|
| 616 |
|
|
cat <<\EOF
|
| 617 |
|
|
|
| 618 |
|
|
Program names:
|
| 619 |
|
|
--program-prefix=PREFIX prepend PREFIX to installed program names
|
| 620 |
|
|
--program-suffix=SUFFIX append SUFFIX to installed program names
|
| 621 |
|
|
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
|
| 622 |
|
|
|
| 623 |
|
|
System types:
|
| 624 |
|
|
--build=BUILD configure for building on BUILD [guessed]
|
| 625 |
|
|
--host=HOST build programs to run on HOST [BUILD]
|
| 626 |
|
|
--target=TARGET configure for building compilers for TARGET [HOST]
|
| 627 |
|
|
EOF
|
| 628 |
|
|
fi
|
| 629 |
|
|
|
| 630 |
|
|
if test -n "$ac_init_help"; then
|
| 631 |
|
|
case $ac_init_help in
|
| 632 |
|
|
short | recursive ) echo "Configuration of rtems-c-src ss-20020807:";;
|
| 633 |
|
|
esac
|
| 634 |
|
|
cat <<\EOF
|
| 635 |
|
|
|
| 636 |
|
|
Optional Features:
|
| 637 |
|
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
| 638 |
|
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
| 639 |
|
|
--enable-cxx enable C++ support and build the rtems++ library
|
| 640 |
|
|
--enable-networking enable TCP/IP stack
|
| 641 |
|
|
--enable-rdbg enable remote debugger
|
| 642 |
|
|
--enable-maintainer-mode enable make rules and dependencies not useful
|
| 643 |
|
|
(and sometimes confusing) to the casual installer
|
| 644 |
|
|
--enable-multilib build many library versions (default=no)
|
| 645 |
|
|
--enable-multiprocessing
|
| 646 |
|
|
enable multiprocessing interface
|
| 647 |
|
|
--enable-bare-cpu-cflags
|
| 648 |
|
|
specify a particular cpu cflag (bare bsp specific)
|
| 649 |
|
|
--enable-bare-cpu-model specify a particular cpu model (bare bsp specific)
|
| 650 |
|
|
|
| 651 |
|
|
Some influential environment variables:
|
| 652 |
|
|
RTEMS_BSP RTEMS_BSP to build
|
| 653 |
|
|
|
| 654 |
|
|
Use these variables to override the choices made by `configure' or to help
|
| 655 |
|
|
it to find libraries and programs with nonstandard names/locations.
|
| 656 |
|
|
|
| 657 |
|
|
Report bugs to .
|
| 658 |
|
|
EOF
|
| 659 |
|
|
fi
|
| 660 |
|
|
|
| 661 |
|
|
if test "$ac_init_help" = "recursive"; then
|
| 662 |
|
|
# If there are subdirs, report their specific --help.
|
| 663 |
|
|
ac_popdir=`pwd`
|
| 664 |
|
|
for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
|
| 665 |
|
|
cd $ac_subdir
|
| 666 |
|
|
# A "../" for each directory in /$ac_subdir.
|
| 667 |
|
|
ac_dots=`echo $ac_subdir |
|
| 668 |
|
|
sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
|
| 669 |
|
|
|
| 670 |
|
|
case $srcdir in
|
| 671 |
|
|
.) # No --srcdir option. We are building in place.
|
| 672 |
|
|
ac_sub_srcdir=$srcdir ;;
|
| 673 |
|
|
[\\/]* | ?:[\\/]* ) # Absolute path.
|
| 674 |
|
|
ac_sub_srcdir=$srcdir/$ac_subdir ;;
|
| 675 |
|
|
*) # Relative path.
|
| 676 |
|
|
ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
|
| 677 |
|
|
esac
|
| 678 |
|
|
|
| 679 |
|
|
# Check for guested configure; otherwise get Cygnus style configure.
|
| 680 |
|
|
if test -f $ac_sub_srcdir/configure.gnu; then
|
| 681 |
|
|
echo
|
| 682 |
|
|
$SHELL $ac_sub_srcdir/configure.gnu --help=recursive
|
| 683 |
|
|
elif test -f $ac_sub_srcdir/configure; then
|
| 684 |
|
|
echo
|
| 685 |
|
|
$SHELL $ac_sub_srcdir/configure --help=recursive
|
| 686 |
|
|
elif test -f $ac_sub_srcdir/configure.ac ||
|
| 687 |
|
|
test -f $ac_sub_srcdir/configure.in; then
|
| 688 |
|
|
echo
|
| 689 |
|
|
$ac_configure --help
|
| 690 |
|
|
else
|
| 691 |
|
|
echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
|
| 692 |
|
|
fi
|
| 693 |
|
|
cd $ac_popdir
|
| 694 |
|
|
done
|
| 695 |
|
|
fi
|
| 696 |
|
|
|
| 697 |
|
|
test -n "$ac_init_help" && exit 0
|
| 698 |
|
|
if $ac_init_version; then
|
| 699 |
|
|
cat <<\EOF
|
| 700 |
|
|
rtems-c-src configure ss-20020807
|
| 701 |
|
|
generated by GNU Autoconf 2.52
|
| 702 |
|
|
|
| 703 |
|
|
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
|
| 704 |
|
|
Free Software Foundation, Inc.
|
| 705 |
|
|
This configure script is free software; the Free Software Foundation
|
| 706 |
|
|
gives unlimited permission to copy, distribute and modify it.
|
| 707 |
|
|
EOF
|
| 708 |
|
|
exit 0
|
| 709 |
|
|
fi
|
| 710 |
|
|
exec 5>config.log
|
| 711 |
|
|
cat >&5 <
|
| 712 |
|
|
This file contains any messages produced by compilers while
|
| 713 |
|
|
running configure, to aid debugging if configure makes a mistake.
|
| 714 |
|
|
|
| 715 |
|
|
It was created by rtems-c-src $as_me ss-20020807, which was
|
| 716 |
|
|
generated by GNU Autoconf 2.52. Invocation command line was
|
| 717 |
|
|
|
| 718 |
|
|
$ $0 $@
|
| 719 |
|
|
|
| 720 |
|
|
EOF
|
| 721 |
|
|
{
|
| 722 |
|
|
cat <<_ASUNAME
|
| 723 |
|
|
## ---------- ##
|
| 724 |
|
|
## Platform. ##
|
| 725 |
|
|
## ---------- ##
|
| 726 |
|
|
|
| 727 |
|
|
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
| 728 |
|
|
uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
| 729 |
|
|
uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
| 730 |
|
|
uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
| 731 |
|
|
uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
| 732 |
|
|
|
| 733 |
|
|
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
| 734 |
|
|
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
| 735 |
|
|
|
| 736 |
|
|
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
| 737 |
|
|
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
| 738 |
|
|
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
| 739 |
|
|
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
|
| 740 |
|
|
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
| 741 |
|
|
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
| 742 |
|
|
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
| 743 |
|
|
|
| 744 |
|
|
PATH = $PATH
|
| 745 |
|
|
|
| 746 |
|
|
_ASUNAME
|
| 747 |
|
|
} >&5
|
| 748 |
|
|
|
| 749 |
|
|
cat >&5 <
|
| 750 |
|
|
## ------------ ##
|
| 751 |
|
|
## Core tests. ##
|
| 752 |
|
|
## ------------ ##
|
| 753 |
|
|
|
| 754 |
|
|
EOF
|
| 755 |
|
|
|
| 756 |
|
|
# Keep a trace of the command line.
|
| 757 |
|
|
# Strip out --no-create and --no-recursion so they do not pile up.
|
| 758 |
|
|
# Also quote any args containing shell meta-characters.
|
| 759 |
|
|
ac_configure_args=
|
| 760 |
|
|
ac_sep=
|
| 761 |
|
|
for ac_arg
|
| 762 |
|
|
do
|
| 763 |
|
|
case $ac_arg in
|
| 764 |
|
|
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
| 765 |
|
|
| --no-cr | --no-c) ;;
|
| 766 |
|
|
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
| 767 |
|
|
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
|
| 768 |
|
|
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
| 769 |
|
|
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
|
| 770 |
|
|
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
|
| 771 |
|
|
ac_sep=" " ;;
|
| 772 |
|
|
*) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
|
| 773 |
|
|
ac_sep=" " ;;
|
| 774 |
|
|
esac
|
| 775 |
|
|
# Get rid of the leading space.
|
| 776 |
|
|
done
|
| 777 |
|
|
|
| 778 |
|
|
# When interrupted or exit'd, cleanup temporary files, and complete
|
| 779 |
|
|
# config.log. We remove comments because anyway the quotes in there
|
| 780 |
|
|
# would cause problems or look ugly.
|
| 781 |
|
|
trap 'exit_status=$?
|
| 782 |
|
|
# Save into config.log some information that might help in debugging.
|
| 783 |
|
|
echo >&5
|
| 784 |
|
|
echo "## ----------------- ##" >&5
|
| 785 |
|
|
echo "## Cache variables. ##" >&5
|
| 786 |
|
|
echo "## ----------------- ##" >&5
|
| 787 |
|
|
echo >&5
|
| 788 |
|
|
# The following way of writing the cache mishandles newlines in values,
|
| 789 |
|
|
{
|
| 790 |
|
|
(set) 2>&1 |
|
| 791 |
|
|
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
|
| 792 |
|
|
*ac_space=\ *)
|
| 793 |
|
|
sed -n \
|
| 794 |
|
|
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
|
| 795 |
|
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
|
| 796 |
|
|
;;
|
| 797 |
|
|
*)
|
| 798 |
|
|
sed -n \
|
| 799 |
|
|
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
| 800 |
|
|
;;
|
| 801 |
|
|
esac;
|
| 802 |
|
|
} >&5
|
| 803 |
|
|
sed "/^$/d" confdefs.h >conftest.log
|
| 804 |
|
|
if test -s conftest.log; then
|
| 805 |
|
|
echo >&5
|
| 806 |
|
|
echo "## ------------ ##" >&5
|
| 807 |
|
|
echo "## confdefs.h. ##" >&5
|
| 808 |
|
|
echo "## ------------ ##" >&5
|
| 809 |
|
|
echo >&5
|
| 810 |
|
|
cat conftest.log >&5
|
| 811 |
|
|
fi
|
| 812 |
|
|
(echo; echo) >&5
|
| 813 |
|
|
test "$ac_signal" != 0 &&
|
| 814 |
|
|
echo "$as_me: caught signal $ac_signal" >&5
|
| 815 |
|
|
echo "$as_me: exit $exit_status" >&5
|
| 816 |
|
|
rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
|
| 817 |
|
|
exit $exit_status
|
| 818 |
|
|
' 0
|
| 819 |
|
|
for ac_signal in 1 2 13 15; do
|
| 820 |
|
|
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
| 821 |
|
|
done
|
| 822 |
|
|
ac_signal=0
|
| 823 |
|
|
|
| 824 |
|
|
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
| 825 |
|
|
rm -rf conftest* confdefs.h
|
| 826 |
|
|
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
|
| 827 |
|
|
echo >confdefs.h
|
| 828 |
|
|
|
| 829 |
|
|
# Let the site file select an alternate cache file if it wants to.
|
| 830 |
|
|
# Prefer explicitly selected file to automatically selected ones.
|
| 831 |
|
|
if test -z "$CONFIG_SITE"; then
|
| 832 |
|
|
if test "x$prefix" != xNONE; then
|
| 833 |
|
|
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
|
| 834 |
|
|
else
|
| 835 |
|
|
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
|
| 836 |
|
|
fi
|
| 837 |
|
|
fi
|
| 838 |
|
|
for ac_site_file in $CONFIG_SITE; do
|
| 839 |
|
|
if test -r "$ac_site_file"; then
|
| 840 |
|
|
{ echo "$as_me:840: loading site script $ac_site_file" >&5
|
| 841 |
|
|
echo "$as_me: loading site script $ac_site_file" >&6;}
|
| 842 |
|
|
cat "$ac_site_file" >&5
|
| 843 |
|
|
. "$ac_site_file"
|
| 844 |
|
|
fi
|
| 845 |
|
|
done
|
| 846 |
|
|
|
| 847 |
|
|
if test -r "$cache_file"; then
|
| 848 |
|
|
# Some versions of bash will fail to source /dev/null (special
|
| 849 |
|
|
# files actually), so we avoid doing that.
|
| 850 |
|
|
if test -f "$cache_file"; then
|
| 851 |
|
|
{ echo "$as_me:851: loading cache $cache_file" >&5
|
| 852 |
|
|
echo "$as_me: loading cache $cache_file" >&6;}
|
| 853 |
|
|
case $cache_file in
|
| 854 |
|
|
[\\/]* | ?:[\\/]* ) . $cache_file;;
|
| 855 |
|
|
*) . ./$cache_file;;
|
| 856 |
|
|
esac
|
| 857 |
|
|
fi
|
| 858 |
|
|
else
|
| 859 |
|
|
{ echo "$as_me:859: creating cache $cache_file" >&5
|
| 860 |
|
|
echo "$as_me: creating cache $cache_file" >&6;}
|
| 861 |
|
|
>$cache_file
|
| 862 |
|
|
fi
|
| 863 |
|
|
|
| 864 |
|
|
# Check that the precious variables saved in the cache have kept the same
|
| 865 |
|
|
# value.
|
| 866 |
|
|
ac_cache_corrupted=false
|
| 867 |
|
|
for ac_var in `(set) 2>&1 |
|
| 868 |
|
|
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
|
| 869 |
|
|
eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
| 870 |
|
|
eval ac_new_set=\$ac_env_${ac_var}_set
|
| 871 |
|
|
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
|
| 872 |
|
|
eval ac_new_val="\$ac_env_${ac_var}_value"
|
| 873 |
|
|
case $ac_old_set,$ac_new_set in
|
| 874 |
|
|
set,)
|
| 875 |
|
|
{ echo "$as_me:875: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
| 876 |
|
|
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
| 877 |
|
|
ac_cache_corrupted=: ;;
|
| 878 |
|
|
,set)
|
| 879 |
|
|
{ echo "$as_me:879: error: \`$ac_var' was not set in the previous run" >&5
|
| 880 |
|
|
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
| 881 |
|
|
ac_cache_corrupted=: ;;
|
| 882 |
|
|
,);;
|
| 883 |
|
|
*)
|
| 884 |
|
|
if test "x$ac_old_val" != "x$ac_new_val"; then
|
| 885 |
|
|
{ echo "$as_me:885: error: \`$ac_var' has changed since the previous run:" >&5
|
| 886 |
|
|
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
| 887 |
|
|
{ echo "$as_me:887: former value: $ac_old_val" >&5
|
| 888 |
|
|
echo "$as_me: former value: $ac_old_val" >&2;}
|
| 889 |
|
|
{ echo "$as_me:889: current value: $ac_new_val" >&5
|
| 890 |
|
|
echo "$as_me: current value: $ac_new_val" >&2;}
|
| 891 |
|
|
ac_cache_corrupted=:
|
| 892 |
|
|
fi;;
|
| 893 |
|
|
esac
|
| 894 |
|
|
# Pass precious variables to config.status. It doesn't matter if
|
| 895 |
|
|
# we pass some twice (in addition to the command line arguments).
|
| 896 |
|
|
if test "$ac_new_set" = set; then
|
| 897 |
|
|
case $ac_new_val in
|
| 898 |
|
|
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
| 899 |
|
|
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
|
| 900 |
|
|
ac_configure_args="$ac_configure_args '$ac_arg'"
|
| 901 |
|
|
;;
|
| 902 |
|
|
*) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
|
| 903 |
|
|
;;
|
| 904 |
|
|
esac
|
| 905 |
|
|
fi
|
| 906 |
|
|
done
|
| 907 |
|
|
if $ac_cache_corrupted; then
|
| 908 |
|
|
{ echo "$as_me:908: error: changes in the environment can compromise the build" >&5
|
| 909 |
|
|
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
| 910 |
|
|
{ { echo "$as_me:910: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
| 911 |
|
|
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
| 912 |
|
|
{ (exit 1); exit 1; }; }
|
| 913 |
|
|
fi
|
| 914 |
|
|
|
| 915 |
|
|
ac_ext=c
|
| 916 |
|
|
ac_cpp='$CPP $CPPFLAGS'
|
| 917 |
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
| 918 |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
| 919 |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
| 920 |
|
|
|
| 921 |
|
|
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
| 922 |
|
|
*c*,-n*) ECHO_N= ECHO_C='
|
| 923 |
|
|
' ECHO_T=' ' ;;
|
| 924 |
|
|
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
| 925 |
|
|
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
| 926 |
|
|
esac
|
| 927 |
|
|
echo "#! $SHELL" >conftest.sh
|
| 928 |
|
|
echo "exit 0" >>conftest.sh
|
| 929 |
|
|
chmod +x conftest.sh
|
| 930 |
|
|
if { (echo "$as_me:930: PATH=\".;.\"; conftest.sh") >&5
|
| 931 |
|
|
(PATH=".;."; conftest.sh) 2>&5
|
| 932 |
|
|
ac_status=$?
|
| 933 |
|
|
echo "$as_me:933: \$? = $ac_status" >&5
|
| 934 |
|
|
(exit $ac_status); }; then
|
| 935 |
|
|
ac_path_separator=';'
|
| 936 |
|
|
else
|
| 937 |
|
|
ac_path_separator=:
|
| 938 |
|
|
fi
|
| 939 |
|
|
PATH_SEPARATOR="$ac_path_separator"
|
| 940 |
|
|
rm -f conftest.sh
|
| 941 |
|
|
|
| 942 |
|
|
for ac_prog in gmake make
|
| 943 |
|
|
do
|
| 944 |
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
| 945 |
|
|
set dummy $ac_prog; ac_word=$2
|
| 946 |
|
|
echo "$as_me:946: checking for $ac_word" >&5
|
| 947 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
| 948 |
|
|
if test "${ac_cv_prog_MAKE+set}" = set; then
|
| 949 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
| 950 |
|
|
else
|
| 951 |
|
|
if test -n "$MAKE"; then
|
| 952 |
|
|
ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
|
| 953 |
|
|
else
|
| 954 |
|
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
| 955 |
|
|
ac_dummy="$PATH"
|
| 956 |
|
|
for ac_dir in $ac_dummy; do
|
| 957 |
|
|
IFS=$ac_save_IFS
|
| 958 |
|
|
test -z "$ac_dir" && ac_dir=.
|
| 959 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
| 960 |
|
|
ac_cv_prog_MAKE="$ac_prog"
|
| 961 |
|
|
echo "$as_me:961: found $ac_dir/$ac_word" >&5
|
| 962 |
|
|
break
|
| 963 |
|
|
done
|
| 964 |
|
|
|
| 965 |
|
|
fi
|
| 966 |
|
|
fi
|
| 967 |
|
|
MAKE=$ac_cv_prog_MAKE
|
| 968 |
|
|
if test -n "$MAKE"; then
|
| 969 |
|
|
echo "$as_me:969: result: $MAKE" >&5
|
| 970 |
|
|
echo "${ECHO_T}$MAKE" >&6
|
| 971 |
|
|
else
|
| 972 |
|
|
echo "$as_me:972: result: no" >&5
|
| 973 |
|
|
echo "${ECHO_T}no" >&6
|
| 974 |
|
|
fi
|
| 975 |
|
|
|
| 976 |
|
|
test -n "$MAKE" && break
|
| 977 |
|
|
done
|
| 978 |
|
|
|
| 979 |
|
|
ENDIF=endif
|
| 980 |
|
|
|
| 981 |
|
|
RTEMS_TOPdir="../..";
|
| 982 |
|
|
|
| 983 |
|
|
test -n "$with_target_subdir" || with_target_subdir="."
|
| 984 |
|
|
|
| 985 |
|
|
if test "$with_target_subdir" = "." ; then
|
| 986 |
|
|
# Native
|
| 987 |
|
|
PROJECT_TOPdir=${RTEMS_TOPdir}/'$(top_builddir)'
|
| 988 |
|
|
else
|
| 989 |
|
|
# Cross
|
| 990 |
|
|
dots=`echo $with_target_subdir|\
|
| 991 |
|
|
sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
|
| 992 |
|
|
PROJECT_TOPdir=${dots}${RTEMS_TOPdir}/'$(top_builddir)'
|
| 993 |
|
|
fi
|
| 994 |
|
|
|
| 995 |
|
|
if test "$with_target_subdir" = "." ; then
|
| 996 |
|
|
# Native
|
| 997 |
|
|
PROJECT_ROOT="${RTEMS_TOPdir}/\$(top_builddir)"
|
| 998 |
|
|
else
|
| 999 |
|
|
# Cross
|
| 1000 |
|
|
PROJECT_ROOT="${RTEMS_TOPdir}/\$(top_builddir)"
|
| 1001 |
|
|
fi
|
| 1002 |
|
|
|
| 1003 |
|
|
echo "$as_me:1003: checking for RTEMS Version" >&5
|
| 1004 |
|
|
echo $ECHO_N "checking for RTEMS Version... $ECHO_C" >&6
|
| 1005 |
|
|
if test -r "${srcdir}/${RTEMS_TOPdir}/aclocal/version.m4"; then
|
| 1006 |
|
|
:
|
| 1007 |
|
|
else
|
| 1008 |
|
|
{ { echo "$as_me:1008: error: Unable to find ${RTEMS_TOPdir}/aclocal/version.m4" >&5
|
| 1009 |
|
|
echo "$as_me: error: Unable to find ${RTEMS_TOPdir}/aclocal/version.m4" >&2;}
|
| 1010 |
|
|
{ (exit 1); exit 1; }; }
|
| 1011 |
|
|
fi
|
| 1012 |
|
|
|
| 1013 |
|
|
echo "$as_me:1013: result: ss-20020807" >&5
|
| 1014 |
|
|
echo "${ECHO_T}ss-20020807" >&6
|
| 1015 |
|
|
|
| 1016 |
|
|
ac_aux_dir=
|
| 1017 |
|
|
for ac_dir in ../.. $srcdir/../..; do
|
| 1018 |
|
|
if test -f $ac_dir/install-sh; then
|
| 1019 |
|
|
ac_aux_dir=$ac_dir
|
| 1020 |
|
|
ac_install_sh="$ac_aux_dir/install-sh -c"
|
| 1021 |
|
|
break
|
| 1022 |
|
|
elif test -f $ac_dir/install.sh; then
|
| 1023 |
|
|
ac_aux_dir=$ac_dir
|
| 1024 |
|
|
ac_install_sh="$ac_aux_dir/install.sh -c"
|
| 1025 |
|
|
break
|
| 1026 |
|
|
elif test -f $ac_dir/shtool; then
|
| 1027 |
|
|
ac_aux_dir=$ac_dir
|
| 1028 |
|
|
ac_install_sh="$ac_aux_dir/shtool install -c"
|
| 1029 |
|
|
break
|
| 1030 |
|
|
fi
|
| 1031 |
|
|
done
|
| 1032 |
|
|
if test -z "$ac_aux_dir"; then
|
| 1033 |
|
|
{ { echo "$as_me:1033: error: cannot find install-sh or install.sh in ../.. $srcdir/../.." >&5
|
| 1034 |
|
|
echo "$as_me: error: cannot find install-sh or install.sh in ../.. $srcdir/../.." >&2;}
|
| 1035 |
|
|
{ (exit 1); exit 1; }; }
|
| 1036 |
|
|
fi
|
| 1037 |
|
|
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
|
| 1038 |
|
|
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
|
| 1039 |
|
|
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
|
| 1040 |
|
|
|
| 1041 |
|
|
# Check whether --enable-cxx or --disable-cxx was given.
|
| 1042 |
|
|
if test "${enable_cxx+set}" = set; then
|
| 1043 |
|
|
enableval="$enable_cxx"
|
| 1044 |
|
|
case "${enableval}" in
|
| 1045 |
|
|
yes) RTEMS_HAS_CPLUSPLUS=yes ;;
|
| 1046 |
|
|
no) RTEMS_HAS_CPLUSPLUS=no ;;
|
| 1047 |
|
|
*) { { echo "$as_me:1047: error: bad value ${enableval} for enable-cxx option" >&5
|
| 1048 |
|
|
echo "$as_me: error: bad value ${enableval} for enable-cxx option" >&2;}
|
| 1049 |
|
|
{ (exit 1); exit 1; }; } ;;
|
| 1050 |
|
|
esac
|
| 1051 |
|
|
else
|
| 1052 |
|
|
RTEMS_HAS_CPLUSPLUS=no
|
| 1053 |
|
|
fi;
|
| 1054 |
|
|
|
| 1055 |
|
|
# Check whether --enable-networking or --disable-networking was given.
|
| 1056 |
|
|
if test "${enable_networking+set}" = set; then
|
| 1057 |
|
|
enableval="$enable_networking"
|
| 1058 |
|
|
case "${enableval}" in
|
| 1059 |
|
|
yes) RTEMS_HAS_NETWORKING=yes ;;
|
| 1060 |
|
|
no) RTEMS_HAS_NETWORKING=no ;;
|
| 1061 |
|
|
*) { { echo "$as_me:1061: error: bad value ${enableval} for enable-networking option" >&5
|
| 1062 |
|
|
echo "$as_me: error: bad value ${enableval} for enable-networking option" >&2;}
|
| 1063 |
|
|
{ (exit 1); exit 1; }; } ;;
|
| 1064 |
|
|
esac
|
| 1065 |
|
|
else
|
| 1066 |
|
|
RTEMS_HAS_NETWORKING=yes
|
| 1067 |
|
|
fi;
|
| 1068 |
|
|
|
| 1069 |
|
|
# Check whether --enable-rdbg or --disable-rdbg was given.
|
| 1070 |
|
|
if test "${enable_rdbg+set}" = set; then
|
| 1071 |
|
|
enableval="$enable_rdbg"
|
| 1072 |
|
|
case "${enableval}" in
|
| 1073 |
|
|
yes) RTEMS_HAS_RDBG=yes ;;
|
| 1074 |
|
|
no) RTEMS_HAS_RDBG=no ;;
|
| 1075 |
|
|
*) { { echo "$as_me:1075: error: bad value ${enableval} for enable-rdbg option" >&5
|
| 1076 |
|
|
echo "$as_me: error: bad value ${enableval} for enable-rdbg option" >&2;}
|
| 1077 |
|
|
{ (exit 1); exit 1; }; } ;;
|
| 1078 |
|
|
esac
|
| 1079 |
|
|
else
|
| 1080 |
|
|
RTEMS_HAS_RDBG=no
|
| 1081 |
|
|
fi;
|
| 1082 |
|
|
|
| 1083 |
|
|
# Make sure we can run config.sub.
|
| 1084 |
|
|
$ac_config_sub sun4 >/dev/null 2>&1 ||
|
| 1085 |
|
|
{ { echo "$as_me:1085: error: cannot run $ac_config_sub" >&5
|
| 1086 |
|
|
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
|
| 1087 |
|
|
{ (exit 1); exit 1; }; }
|
| 1088 |
|
|
|
| 1089 |
|
|
echo "$as_me:1089: checking build system type" >&5
|
| 1090 |
|
|
echo $ECHO_N "checking build system type... $ECHO_C" >&6
|
| 1091 |
|
|
if test "${ac_cv_build+set}" = set; then
|
| 1092 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
| 1093 |
|
|
else
|
| 1094 |
|
|
ac_cv_build_alias=$build_alias
|
| 1095 |
|
|
test -z "$ac_cv_build_alias" &&
|
| 1096 |
|
|
ac_cv_build_alias=`$ac_config_guess`
|
| 1097 |
|
|
test -z "$ac_cv_build_alias" &&
|
| 1098 |
|
|
{ { echo "$as_me:1098: error: cannot guess build type; you must specify one" >&5
|
| 1099 |
|
|
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
|
| 1100 |
|
|
{ (exit 1); exit 1; }; }
|
| 1101 |
|
|
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
|
| 1102 |
|
|
{ { echo "$as_me:1102: error: $ac_config_sub $ac_cv_build_alias failed." >&5
|
| 1103 |
|
|
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
|
| 1104 |
|
|
{ (exit 1); exit 1; }; }
|
| 1105 |
|
|
|
| 1106 |
|
|
fi
|
| 1107 |
|
|
echo "$as_me:1107: result: $ac_cv_build" >&5
|
| 1108 |
|
|
echo "${ECHO_T}$ac_cv_build" >&6
|
| 1109 |
|
|
build=$ac_cv_build
|
| 1110 |
|
|
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
| 1111 |
|
|
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
| 1112 |
|
|
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
| 1113 |
|
|
|
| 1114 |
|
|
echo "$as_me:1114: checking host system type" >&5
|
| 1115 |
|
|
echo $ECHO_N "checking host system type... $ECHO_C" >&6
|
| 1116 |
|
|
if test "${ac_cv_host+set}" = set; then
|
| 1117 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
| 1118 |
|
|
else
|
| 1119 |
|
|
ac_cv_host_alias=$host_alias
|
| 1120 |
|
|
test -z "$ac_cv_host_alias" &&
|
| 1121 |
|
|
ac_cv_host_alias=$ac_cv_build_alias
|
| 1122 |
|
|
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
|
| 1123 |
|
|
{ { echo "$as_me:1123: error: $ac_config_sub $ac_cv_host_alias failed" >&5
|
| 1124 |
|
|
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
|
| 1125 |
|
|
{ (exit 1); exit 1; }; }
|
| 1126 |
|
|
|
| 1127 |
|
|
fi
|
| 1128 |
|
|
echo "$as_me:1128: result: $ac_cv_host" >&5
|
| 1129 |
|
|
echo "${ECHO_T}$ac_cv_host" >&6
|
| 1130 |
|
|
host=$ac_cv_host
|
| 1131 |
|
|
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
| 1132 |
|
|
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
| 1133 |
|
|
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
| 1134 |
|
|
|
| 1135 |
|
|
echo "$as_me:1135: checking target system type" >&5
|
| 1136 |
|
|
echo $ECHO_N "checking target system type... $ECHO_C" >&6
|
| 1137 |
|
|
if test "${ac_cv_target+set}" = set; then
|
| 1138 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
| 1139 |
|
|
else
|
| 1140 |
|
|
ac_cv_target_alias=$target_alias
|
| 1141 |
|
|
test "x$ac_cv_target_alias" = "x" &&
|
| 1142 |
|
|
ac_cv_target_alias=$ac_cv_host_alias
|
| 1143 |
|
|
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
|
| 1144 |
|
|
{ { echo "$as_me:1144: error: $ac_config_sub $ac_cv_target_alias failed" >&5
|
| 1145 |
|
|
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
|
| 1146 |
|
|
{ (exit 1); exit 1; }; }
|
| 1147 |
|
|
|
| 1148 |
|
|
fi
|
| 1149 |
|
|
echo "$as_me:1149: result: $ac_cv_target" >&5
|
| 1150 |
|
|
echo "${ECHO_T}$ac_cv_target" >&6
|
| 1151 |
|
|
target=$ac_cv_target
|
| 1152 |
|
|
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
| 1153 |
|
|
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
| 1154 |
|
|
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
| 1155 |
|
|
|
| 1156 |
|
|
# The aliases save the names the user supplied, while $host etc.
|
| 1157 |
|
|
# will get canonicalized.
|
| 1158 |
|
|
test -n "$target_alias" &&
|
| 1159 |
|
|
test "$program_prefix$program_suffix$program_transform_name" = \
|
| 1160 |
|
|
NONENONEs,x,x, &&
|
| 1161 |
|
|
program_prefix=${target_alias}-
|
| 1162 |
|
|
echo "$as_me:1162: checking rtems target cpu" >&5
|
| 1163 |
|
|
echo $ECHO_N "checking rtems target cpu... $ECHO_C" >&6
|
| 1164 |
|
|
case "${target}" in
|
| 1165 |
|
|
# hpux unix port should go here
|
| 1166 |
|
|
i[34567]86-*linux*) # unix "simulator" port
|
| 1167 |
|
|
RTEMS_CPU=unix
|
| 1168 |
|
|
;;
|
| 1169 |
|
|
i[34567]86-*freebsd*) # unix "simulator" port
|
| 1170 |
|
|
RTEMS_CPU=unix
|
| 1171 |
|
|
;;
|
| 1172 |
|
|
i[34567]86-pc-cygwin*) # Cygwin is just enough unix like :)
|
| 1173 |
|
|
RTEMS_CPU=unix
|
| 1174 |
|
|
;;
|
| 1175 |
|
|
no_cpu-*rtems*)
|
| 1176 |
|
|
RTEMS_CPU=no_cpu
|
| 1177 |
|
|
;;
|
| 1178 |
|
|
sparc-sun-solaris*) # unix "simulator" port
|
| 1179 |
|
|
RTEMS_CPU=unix
|
| 1180 |
|
|
;;
|
| 1181 |
|
|
*)
|
| 1182 |
|
|
RTEMS_CPU=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
|
| 1183 |
|
|
;;
|
| 1184 |
|
|
esac
|
| 1185 |
|
|
|
| 1186 |
|
|
echo "$as_me:1186: result: $RTEMS_CPU" >&5
|
| 1187 |
|
|
echo "${ECHO_T}$RTEMS_CPU" >&6
|
| 1188 |
|
|
|
| 1189 |
|
|
RTEMS_HOST=$host_os
|
| 1190 |
|
|
case "${target}" in
|
| 1191 |
|
|
# hpux unix port should go here
|
| 1192 |
|
|
i[34567]86-*linux*) # unix "simulator" port
|
| 1193 |
|
|
RTEMS_HOST=Linux
|
| 1194 |
|
|
;;
|
| 1195 |
|
|
i[34567]86-*freebsd*) # unix "simulator" port
|
| 1196 |
|
|
RTEMS_HOST=FreeBSD
|
| 1197 |
|
|
;;
|
| 1198 |
|
|
i[34567]86-pc-cygwin*) # Cygwin is just enough unix like :)
|
| 1199 |
|
|
RTEMS_HOST=Cygwin
|
| 1200 |
|
|
;;
|
| 1201 |
|
|
sparc-sun-solaris*) # unix "simulator" port
|
| 1202 |
|
|
RTEMS_HOST=Solaris
|
| 1203 |
|
|
;;
|
| 1204 |
|
|
*)
|
| 1205 |
|
|
;;
|
| 1206 |
|
|
esac
|
| 1207 |
|
|
|
| 1208 |
|
|
am__api_version="1.6"
|
| 1209 |
|
|
# Find a good install program. We prefer a C program (faster),
|
| 1210 |
|
|
# so one script is as good as another. But avoid the broken or
|
| 1211 |
|
|
# incompatible versions:
|
| 1212 |
|
|
# SysV /etc/install, /usr/sbin/install
|
| 1213 |
|
|
# SunOS /usr/etc/install
|
| 1214 |
|
|
# IRIX /sbin/install
|
| 1215 |
|
|
# AIX /bin/install
|
| 1216 |
|
|
# AmigaOS /C/install, which installs bootblocks on floppy discs
|
| 1217 |
|
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
| 1218 |
|
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
| 1219 |
|
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
| 1220 |
|
|
# ./install, which can be erroneously created by make from ./install.sh.
|
| 1221 |
|
|
echo "$as_me:1221: checking for a BSD compatible install" >&5
|
| 1222 |
|
|
echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
|
| 1223 |
|
|
if test -z "$INSTALL"; then
|
| 1224 |
|
|
if test "${ac_cv_path_install+set}" = set; then
|
| 1225 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
| 1226 |
|
|
else
|
| 1227 |
|
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
| 1228 |
|
|
for ac_dir in $PATH; do
|
| 1229 |
|
|
IFS=$ac_save_IFS
|
| 1230 |
|
|
# Account for people who put trailing slashes in PATH elements.
|
| 1231 |
|
|
case $ac_dir/ in
|
| 1232 |
|
|
/ | ./ | .// | /cC/* \
|
| 1233 |
|
|
| /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
|
| 1234 |
|
|
| /usr/ucb/* ) ;;
|
| 1235 |
|
|
*)
|
| 1236 |
|
|
# OSF1 and SCO ODT 3.0 have their own names for install.
|
| 1237 |
|
|
# Don't use installbsd from OSF since it installs stuff as root
|
| 1238 |
|
|
# by default.
|
| 1239 |
|
|
for ac_prog in ginstall scoinst install; do
|
| 1240 |
|
|
if $as_executable_p "$ac_dir/$ac_prog"; then
|
| 1241 |
|
|
if test $ac_prog = install &&
|
| 1242 |
|
|
grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
|
| 1243 |
|
|
# AIX install. It has an incompatible calling convention.
|
| 1244 |
|
|
:
|
| 1245 |
|
|
elif test $ac_prog = install &&
|
| 1246 |
|
|
grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
|
| 1247 |
|
|
# program-specific install script used by HP pwplus--don't use.
|
| 1248 |
|
|
:
|
| 1249 |
|
|
else
|
| 1250 |
|
|
ac_cv_path_install="$ac_dir/$ac_prog -c"
|
| 1251 |
|
|
break 2
|
| 1252 |
|
|
fi
|
| 1253 |
|
|
fi
|
| 1254 |
|
|
done
|
| 1255 |
|
|
;;
|
| 1256 |
|
|
esac
|
| 1257 |
|
|
done
|
| 1258 |
|
|
|
| 1259 |
|
|
fi
|
| 1260 |
|
|
if test "${ac_cv_path_install+set}" = set; then
|
| 1261 |
|
|
INSTALL=$ac_cv_path_install
|
| 1262 |
|
|
else
|
| 1263 |
|
|
# As a last resort, use the slow shell script. We don't cache a
|
| 1264 |
|
|
# path for INSTALL within a source directory, because that will
|
| 1265 |
|
|
# break other packages using the cache if that directory is
|
| 1266 |
|
|
# removed, or if the path is relative.
|
| 1267 |
|
|
INSTALL=$ac_install_sh
|
| 1268 |
|
|
fi
|
| 1269 |
|
|
fi
|
| 1270 |
|
|
echo "$as_me:1270: result: $INSTALL" >&5
|
| 1271 |
|
|
echo "${ECHO_T}$INSTALL" >&6
|
| 1272 |
|
|
|
| 1273 |
|
|
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
| 1274 |
|
|
# It thinks the first close brace ends the variable substitution.
|
| 1275 |
|
|
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
| 1276 |
|
|
|
| 1277 |
|
|
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
| 1278 |
|
|
|
| 1279 |
|
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
| 1280 |
|
|
|
| 1281 |
|
|
echo "$as_me:1281: checking whether build environment is sane" >&5
|
| 1282 |
|
|
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
|
| 1283 |
|
|
# Just in case
|
| 1284 |
|
|
sleep 1
|
| 1285 |
|
|
echo timestamp > conftest.file
|
| 1286 |
|
|
# Do `set' in a subshell so we don't clobber the current shell's
|
| 1287 |
|
|
# arguments. Must try -L first in case configure is actually a
|
| 1288 |
|
|
# symlink; some systems play weird games with the mod time of symlinks
|
| 1289 |
|
|
# (eg FreeBSD returns the mod time of the symlink's containing
|
| 1290 |
|
|
# directory).
|
| 1291 |
|
|
if (
|
| 1292 |
|
|
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
|
| 1293 |
|
|
if test "$*" = "X"; then
|
| 1294 |
|
|
# -L didn't work.
|
| 1295 |
|
|
set X `ls -t $srcdir/configure conftest.file`
|
| 1296 |
|
|
fi
|
| 1297 |
|
|
rm -f conftest.file
|
| 1298 |
|
|
if test "$*" != "X $srcdir/configure conftest.file" \
|
| 1299 |
|
|
&& test "$*" != "X conftest.file $srcdir/configure"; then
|
| 1300 |
|
|
|
| 1301 |
|
|
# If neither matched, then we have a broken ls. This can happen
|
| 1302 |
|
|
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
| 1303 |
|
|
# broken ls alias from the environment. This has actually
|
| 1304 |
|
|
# happened. Such a system could not be considered "sane".
|
| 1305 |
|
|
{ { echo "$as_me:1305: error: ls -t appears to fail. Make sure there is not a broken
|
| 1306 |
|
|
alias in your environment" >&5
|
| 1307 |
|
|
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
|
| 1308 |
|
|
alias in your environment" >&2;}
|
| 1309 |
|
|
{ (exit 1); exit 1; }; }
|
| 1310 |
|
|
fi
|
| 1311 |
|
|
|
| 1312 |
|
|
test "$2" = conftest.file
|
| 1313 |
|
|
)
|
| 1314 |
|
|
then
|
| 1315 |
|
|
# Ok.
|
| 1316 |
|
|
:
|
| 1317 |
|
|
else
|
| 1318 |
|
|
{ { echo "$as_me:1318: error: newly created file is older than distributed files!
|
| 1319 |
|
|
Check your system clock" >&5
|
| 1320 |
|
|
echo "$as_me: error: newly created file is older than distributed files!
|
| 1321 |
|
|
Check your system clock" >&2;}
|
| 1322 |
|
|
{ (exit 1); exit 1; }; }
|
| 1323 |
|
|
fi
|
| 1324 |
|
|
echo "$as_me:1324: result: yes" >&5
|
| 1325 |
|
|
echo "${ECHO_T}yes" >&6
|
| 1326 |
|
|
test "$program_prefix" != NONE &&
|
| 1327 |
|
|
program_transform_name="s,^,$program_prefix,;$program_transform_name"
|
| 1328 |
|
|
# Use a double $ so make ignores it.
|
| 1329 |
|
|
test "$program_suffix" != NONE &&
|
| 1330 |
|
|
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
|
| 1331 |
|
|
# Double any \ or $. echo might interpret backslashes.
|
| 1332 |
|
|
# By default was `s,x,x', remove it if useless.
|
| 1333 |
|
|
cat <<\_ACEOF >conftest.sed
|
| 1334 |
|
|
s/[\\$]/&&/g;s/;s,x,x,$//
|
| 1335 |
|
|
_ACEOF
|
| 1336 |
|
|
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
|
| 1337 |
|
|
rm conftest.sed
|
| 1338 |
|
|
|
| 1339 |
|
|
# expand $ac_aux_dir to an absolute path
|
| 1340 |
|
|
am_aux_dir=`cd $ac_aux_dir && pwd`
|
| 1341 |
|
|
|
| 1342 |
|
|
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
|
| 1343 |
|
|
# Use eval to expand $SHELL
|
| 1344 |
|
|
if eval "$MISSING --run true"; then
|
| 1345 |
|
|
am_missing_run="$MISSING --run "
|
| 1346 |
|
|
else
|
| 1347 |
|
|
am_missing_run=
|
| 1348 |
|
|
{ echo "$as_me:1348: WARNING: \`missing' script is too old or missing" >&5
|
| 1349 |
|
|
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
| 1350 |
|
|
fi
|
| 1351 |
|
|
|
| 1352 |
|
|
for ac_prog in mawk gawk nawk awk
|
| 1353 |
|
|
do
|
| 1354 |
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
| 1355 |
|
|
set dummy $ac_prog; ac_word=$2
|
| 1356 |
|
|
echo "$as_me:1356: checking for $ac_word" >&5
|
| 1357 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
| 1358 |
|
|
if test "${ac_cv_prog_AWK+set}" = set; then
|
| 1359 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
| 1360 |
|
|
else
|
| 1361 |
|
|
if test -n "$AWK"; then
|
| 1362 |
|
|
ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
| 1363 |
|
|
else
|
| 1364 |
|
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
| 1365 |
|
|
ac_dummy="$PATH"
|
| 1366 |
|
|
for ac_dir in $ac_dummy; do
|
| 1367 |
|
|
IFS=$ac_save_IFS
|
| 1368 |
|
|
test -z "$ac_dir" && ac_dir=.
|
| 1369 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
| 1370 |
|
|
ac_cv_prog_AWK="$ac_prog"
|
| 1371 |
|
|
echo "$as_me:1371: found $ac_dir/$ac_word" >&5
|
| 1372 |
|
|
break
|
| 1373 |
|
|
done
|
| 1374 |
|
|
|
| 1375 |
|
|
fi
|
| 1376 |
|
|
fi
|
| 1377 |
|
|
AWK=$ac_cv_prog_AWK
|
| 1378 |
|
|
if test -n "$AWK"; then
|
| 1379 |
|
|
echo "$as_me:1379: result: $AWK" >&5
|
| 1380 |
|
|
echo "${ECHO_T}$AWK" >&6
|
| 1381 |
|
|
else
|
| 1382 |
|
|
echo "$as_me:1382: result: no" >&5
|
| 1383 |
|
|
echo "${ECHO_T}no" >&6
|
| 1384 |
|
|
fi
|
| 1385 |
|
|
|
| 1386 |
|
|
test -n "$AWK" && break
|
| 1387 |
|
|
done
|
| 1388 |
|
|
|
| 1389 |
|
|
echo "$as_me:1389: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
| 1390 |
|
|
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
|
| 1391 |
|
|
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
|
| 1392 |
|
|
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
|
| 1393 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
| 1394 |
|
|
else
|
| 1395 |
|
|
cat >conftest.make <<\EOF
|
| 1396 |
|
|
all:
|
| 1397 |
|
|
@echo 'ac_maketemp="${MAKE}"'
|
| 1398 |
|
|
EOF
|
| 1399 |
|
|
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
| 1400 |
|
|
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
|
| 1401 |
|
|
if test -n "$ac_maketemp"; then
|
| 1402 |
|
|
eval ac_cv_prog_make_${ac_make}_set=yes
|
| 1403 |
|
|
else
|
| 1404 |
|
|
eval ac_cv_prog_make_${ac_make}_set=no
|
| 1405 |
|
|
fi
|
| 1406 |
|
|
rm -f conftest.make
|
| 1407 |
|
|
fi
|
| 1408 |
|
|
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
|
| 1409 |
|
|
echo "$as_me:1409: result: yes" >&5
|
| 1410 |
|
|
echo "${ECHO_T}yes" >&6
|
| 1411 |
|
|
SET_MAKE=
|
| 1412 |
|
|
else
|
| 1413 |
|
|
echo "$as_me:1413: result: no" >&5
|
| 1414 |
|
|
echo "${ECHO_T}no" >&6
|
| 1415 |
|
|
SET_MAKE="MAKE=${MAKE-make}"
|
| 1416 |
|
|
fi
|
| 1417 |
|
|
|
| 1418 |
|
|
# test to see if srcdir already configured
|
| 1419 |
|
|
if test "`cd $srcdir && pwd`" != "`pwd`" &&
|
| 1420 |
|
|
test -f $srcdir/config.status; then
|
| 1421 |
|
|
{ { echo "$as_me:1421: error: source directory already configured; run \"make distclean\" there first" >&5
|
| 1422 |
|
|
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
|
| 1423 |
|
|
{ (exit 1); exit 1; }; }
|
| 1424 |
|
|
fi
|
| 1425 |
|
|
|
| 1426 |
|
|
# Define the identity of the package.
|
| 1427 |
|
|
PACKAGE=rtems-c-src
|
| 1428 |
|
|
VERSION=ss-20020807
|
| 1429 |
|
|
|
| 1430 |
|
|
# Some tools Automake needs.
|
| 1431 |
|
|
|
| 1432 |
|
|
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
|
| 1433 |
|
|
|
| 1434 |
|
|
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
|
| 1435 |
|
|
|
| 1436 |
|
|
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
|
| 1437 |
|
|
|
| 1438 |
|
|
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
| 1439 |
|
|
|
| 1440 |
|
|
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
| 1441 |
|
|
|
| 1442 |
|
|
AMTAR=${AMTAR-"${am_missing_run}tar"}
|
| 1443 |
|
|
|
| 1444 |
|
|
install_sh=${install_sh-"$am_aux_dir/install-sh"}
|
| 1445 |
|
|
|
| 1446 |
|
|
# Installed binaries are usually stripped using `strip' when the user
|
| 1447 |
|
|
# run `make install-strip'. However `strip' might not be the right
|
| 1448 |
|
|
# tool to use in cross-compilation environments, therefore Automake
|
| 1449 |
|
|
# will honor the `STRIP' environment variable to overrule this program.
|
| 1450 |
|
|
if test "$cross_compiling" != no; then
|
| 1451 |
|
|
if test -n "$ac_tool_prefix"; then
|
| 1452 |
|
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
| 1453 |
|
|
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
| 1454 |
|
|
echo "$as_me:1454: checking for $ac_word" >&5
|
| 1455 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
| 1456 |
|
|
if test "${ac_cv_prog_STRIP+set}" = set; then
|
| 1457 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
| 1458 |
|
|
else
|
| 1459 |
|
|
if test -n "$STRIP"; then
|
| 1460 |
|
|
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
| 1461 |
|
|
else
|
| 1462 |
|
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
| 1463 |
|
|
ac_dummy="$PATH"
|
| 1464 |
|
|
for ac_dir in $ac_dummy; do
|
| 1465 |
|
|
IFS=$ac_save_IFS
|
| 1466 |
|
|
test -z "$ac_dir" && ac_dir=.
|
| 1467 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
| 1468 |
|
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
| 1469 |
|
|
echo "$as_me:1469: found $ac_dir/$ac_word" >&5
|
| 1470 |
|
|
break
|
| 1471 |
|
|
done
|
| 1472 |
|
|
|
| 1473 |
|
|
fi
|
| 1474 |
|
|
fi
|
| 1475 |
|
|
STRIP=$ac_cv_prog_STRIP
|
| 1476 |
|
|
if test -n "$STRIP"; then
|
| 1477 |
|
|
echo "$as_me:1477: result: $STRIP" >&5
|
| 1478 |
|
|
echo "${ECHO_T}$STRIP" >&6
|
| 1479 |
|
|
else
|
| 1480 |
|
|
echo "$as_me:1480: result: no" >&5
|
| 1481 |
|
|
echo "${ECHO_T}no" >&6
|
| 1482 |
|
|
fi
|
| 1483 |
|
|
|
| 1484 |
|
|
fi
|
| 1485 |
|
|
if test -z "$ac_cv_prog_STRIP"; then
|
| 1486 |
|
|
ac_ct_STRIP=$STRIP
|
| 1487 |
|
|
# Extract the first word of "strip", so it can be a program name with args.
|
| 1488 |
|
|
set dummy strip; ac_word=$2
|
| 1489 |
|
|
echo "$as_me:1489: checking for $ac_word" >&5
|
| 1490 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
| 1491 |
|
|
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
|
| 1492 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
| 1493 |
|
|
else
|
| 1494 |
|
|
if test -n "$ac_ct_STRIP"; then
|
| 1495 |
|
|
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
| 1496 |
|
|
else
|
| 1497 |
|
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
| 1498 |
|
|
ac_dummy="$PATH"
|
| 1499 |
|
|
for ac_dir in $ac_dummy; do
|
| 1500 |
|
|
IFS=$ac_save_IFS
|
| 1501 |
|
|
test -z "$ac_dir" && ac_dir=.
|
| 1502 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
| 1503 |
|
|
ac_cv_prog_ac_ct_STRIP="strip"
|
| 1504 |
|
|
echo "$as_me:1504: found $ac_dir/$ac_word" >&5
|
| 1505 |
|
|
break
|
| 1506 |
|
|
done
|
| 1507 |
|
|
|
| 1508 |
|
|
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
|
| 1509 |
|
|
fi
|
| 1510 |
|
|
fi
|
| 1511 |
|
|
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
| 1512 |
|
|
if test -n "$ac_ct_STRIP"; then
|
| 1513 |
|
|
echo "$as_me:1513: result: $ac_ct_STRIP" >&5
|
| 1514 |
|
|
echo "${ECHO_T}$ac_ct_STRIP" >&6
|
| 1515 |
|
|
else
|
| 1516 |
|
|
echo "$as_me:1516: result: no" >&5
|
| 1517 |
|
|
echo "${ECHO_T}no" >&6
|
| 1518 |
|
|
fi
|
| 1519 |
|
|
|
| 1520 |
|
|
STRIP=$ac_ct_STRIP
|
| 1521 |
|
|
else
|
| 1522 |
|
|
STRIP="$ac_cv_prog_STRIP"
|
| 1523 |
|
|
fi
|
| 1524 |
|
|
|
| 1525 |
|
|
fi
|
| 1526 |
|
|
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
|
| 1527 |
|
|
|
| 1528 |
|
|
# We need awk for the "check" target. The system "awk" is bad on
|
| 1529 |
|
|
# some platforms.
|
| 1530 |
|
|
|
| 1531 |
|
|
echo "$as_me:1531: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
| 1532 |
|
|
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
|
| 1533 |
|
|
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
|
| 1534 |
|
|
if test "${enable_maintainer_mode+set}" = set; then
|
| 1535 |
|
|
enableval="$enable_maintainer_mode"
|
| 1536 |
|
|
USE_MAINTAINER_MODE=$enableval
|
| 1537 |
|
|
else
|
| 1538 |
|
|
USE_MAINTAINER_MODE=no
|
| 1539 |
|
|
fi;
|
| 1540 |
|
|
echo "$as_me:1540: result: $USE_MAINTAINER_MODE" >&5
|
| 1541 |
|
|
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
|
| 1542 |
|
|
|
| 1543 |
|
|
if test $USE_MAINTAINER_MODE = yes; then
|
| 1544 |
|
|
MAINTAINER_MODE_TRUE=
|
| 1545 |
|
|
MAINTAINER_MODE_FALSE='#'
|
| 1546 |
|
|
else
|
| 1547 |
|
|
MAINTAINER_MODE_TRUE='#'
|
| 1548 |
|
|
MAINTAINER_MODE_FALSE=
|
| 1549 |
|
|
fi
|
| 1550 |
|
|
|
| 1551 |
|
|
MAINT=$MAINTAINER_MODE_TRUE
|
| 1552 |
|
|
|
| 1553 |
|
|
# Check whether --enable-multilib or --disable-multilib was given.
|
| 1554 |
|
|
if test "${enable_multilib+set}" = set; then
|
| 1555 |
|
|
enableval="$enable_multilib"
|
| 1556 |
|
|
case "${enableval}" in
|
| 1557 |
|
|
yes) multilib=yes ;;
|
| 1558 |
|
|
no) multilib=no ;;
|
| 1559 |
|
|
*) { { echo "$as_me:1559: error: bad value ${enableval} for multilib option" >&5
|
| 1560 |
|
|
echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
|
| 1561 |
|
|
{ (exit 1); exit 1; }; } ;;
|
| 1562 |
|
|
esac
|
| 1563 |
|
|
else
|
| 1564 |
|
|
multilib=no
|
| 1565 |
|
|
fi;
|
| 1566 |
|
|
|
| 1567 |
|
|
if test x"${multilib}" = x"yes"; then
|
| 1568 |
|
|
MULTILIB_TRUE=
|
| 1569 |
|
|
MULTILIB_FALSE='#'
|
| 1570 |
|
|
else
|
| 1571 |
|
|
MULTILIB_TRUE='#'
|
| 1572 |
|
|
MULTILIB_FALSE=
|
| 1573 |
|
|
fi
|
| 1574 |
|
|
|
| 1575 |
|
|
# Check whether --enable-multiprocessing or --disable-multiprocessing was given.
|
| 1576 |
|
|
if test "${enable_multiprocessing+set}" = set; then
|
| 1577 |
|
|
enableval="$enable_multiprocessing"
|
| 1578 |
|
|
case "${enable_multiprocessing}" in
|
| 1579 |
|
|
yes) ;;
|
| 1580 |
|
|
no) ;;
|
| 1581 |
|
|
*) { { echo "$as_me:1581: error: bad value ${enableval} for enable-multiprocessing option" >&5
|
| 1582 |
|
|
echo "$as_me: error: bad value ${enableval} for enable-multiprocessing option" >&2;}
|
| 1583 |
|
|
{ (exit 1); exit 1; }; } ;;
|
| 1584 |
|
|
esac
|
| 1585 |
|
|
else
|
| 1586 |
|
|
enable_multiprocessing=no
|
| 1587 |
|
|
fi;
|
| 1588 |
|
|
|
| 1589 |
|
|
echo "$as_me:1589: checking for RTEMS_BSP" >&5
|
| 1590 |
|
|
echo $ECHO_N "checking for RTEMS_BSP... $ECHO_C" >&6
|
| 1591 |
|
|
if test "${rtems_cv_RTEMS_BSP+set}" = set; then
|
| 1592 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
| 1593 |
|
|
else
|
| 1594 |
|
|
test -n "${RTEMS_BSP}" && rtems_cv_RTEMS_BSP="$RTEMS_BSP";
|
| 1595 |
|
|
|
| 1596 |
|
|
fi
|
| 1597 |
|
|
if test -z "$rtems_cv_RTEMS_BSP"; then
|
| 1598 |
|
|
{ { echo "$as_me:1598: error: Missing RTEMS_BSP" >&5
|
| 1599 |
|
|
echo "$as_me: error: Missing RTEMS_BSP" >&2;}
|
| 1600 |
|
|
{ (exit 1); exit 1; }; }
|
| 1601 |
|
|
fi
|
| 1602 |
|
|
RTEMS_BSP="$rtems_cv_RTEMS_BSP"
|
| 1603 |
|
|
echo "$as_me:1603: result: ${RTEMS_BSP}" >&5
|
| 1604 |
|
|
echo "${ECHO_T}${RTEMS_BSP}" >&6
|
| 1605 |
|
|
|
| 1606 |
|
|
RTEMS_BSP_SPECS="-specs bsp_specs -qrtems"
|
| 1607 |
|
|
|
| 1608 |
|
|
GCC_SPECS="-B\$(PROJECT_ROOT)/lib/ -B\$(PROJECT_ROOT)/$RTEMS_BSP/lib/"
|
| 1609 |
|
|
|
| 1610 |
|
|
PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
|
| 1611 |
|
|
|
| 1612 |
|
|
PROJECT_RELEASE="\$(PROJECT_ROOT)/$RTEMS_BSP"
|
| 1613 |
|
|
|
| 1614 |
|
|
RTEMS_ROOT=$PROJECT_ROOT/c/$RTEMS_BSP
|
| 1615 |
|
|
|
| 1616 |
|
|
# Check whether --enable-bare-cpu-cflags or --disable-bare-cpu-cflags was given.
|
| 1617 |
|
|
if test "${enable_bare_cpu_cflags+set}" = set; then
|
| 1618 |
|
|
enableval="$enable_bare_cpu_cflags"
|
| 1619 |
|
|
case "${enableval}" in
|
| 1620 |
|
|
no) BARE_CPU_CFLAGS="" ;;
|
| 1621 |
|
|
*) BARE_CPU_CFLAGS="${enableval}" ;;
|
| 1622 |
|
|
esac
|
| 1623 |
|
|
else
|
| 1624 |
|
|
BARE_CPU_CFLAGS=""
|
| 1625 |
|
|
fi;
|
| 1626 |
|
|
|
| 1627 |
|
|
# Check whether --enable-bare-cpu-model or --disable-bare-cpu-model was given.
|
| 1628 |
|
|
if test "${enable_bare_cpu_model+set}" = set; then
|
| 1629 |
|
|
enableval="$enable_bare_cpu_model"
|
| 1630 |
|
|
case "${enableval}" in
|
| 1631 |
|
|
no) BARE_CPU_MODEL="" ;;
|
| 1632 |
|
|
*) BARE_CPU_MODEL="${enableval}" ;;
|
| 1633 |
|
|
esac
|
| 1634 |
|
|
else
|
| 1635 |
|
|
BARE_CPU_MODEL=""
|
| 1636 |
|
|
fi;
|
| 1637 |
|
|
|
| 1638 |
|
|
if false; then
|
| 1639 |
|
|
MULTILIB_TRUE=
|
| 1640 |
|
|
MULTILIB_FALSE='#'
|
| 1641 |
|
|
else
|
| 1642 |
|
|
MULTILIB_TRUE='#'
|
| 1643 |
|
|
MULTILIB_FALSE=
|
| 1644 |
|
|
fi
|
| 1645 |
|
|
|
| 1646 |
|
|
includedir="\${exec_prefix}/${RTEMS_BSP}/lib/include"
|
| 1647 |
|
|
libdir="\${exec_prefix}/${RTEMS_BSP}/lib"
|
| 1648 |
|
|
|
| 1649 |
|
|
bsplibdir="\${exec_prefix}/${RTEMS_BSP}/lib"
|
| 1650 |
|
|
|
| 1651 |
|
|
# Is this a supported CPU?
|
| 1652 |
|
|
echo "$as_me:1652: checking if cpu $RTEMS_CPU is supported" >&5
|
| 1653 |
|
|
echo $ECHO_N "checking if cpu $RTEMS_CPU is supported... $ECHO_C" >&6
|
| 1654 |
|
|
# FIXME: Temporary hack
|
| 1655 |
|
|
if test -d "$srcdir/$RTEMS_TOPdir/cpukit/score/cpu/$RTEMS_CPU"; then
|
| 1656 |
|
|
echo "$as_me:1656: result: yes" >&5
|
| 1657 |
|
|
echo "${ECHO_T}yes" >&6
|
| 1658 |
|
|
else
|
| 1659 |
|
|
{ { echo "$as_me:1659: error: no" >&5
|
| 1660 |
|
|
echo "$as_me: error: no" >&2;}
|
| 1661 |
|
|
{ (exit 1); exit 1; }; }
|
| 1662 |
|
|
fi
|
| 1663 |
|
|
|
| 1664 |
|
|
echo "$as_me:1664: checking for make/custom/$RTEMS_BSP.cfg" >&5
|
| 1665 |
|
|
echo $ECHO_N "checking for make/custom/$RTEMS_BSP.cfg... $ECHO_C" >&6
|
| 1666 |
|
|
if test -r "$srcdir/$RTEMS_TOPdir/make/custom/$RTEMS_BSP.cfg"; then
|
| 1667 |
|
|
echo "$as_me:1667: result: yes" >&5
|
| 1668 |
|
|
echo "${ECHO_T}yes" >&6
|
| 1669 |
|
|
else
|
| 1670 |
|
|
{ { echo "$as_me:1670: error: no" >&5
|
| 1671 |
|
|
echo "$as_me: error: no" >&2;}
|
| 1672 |
|
|
{ (exit 1); exit 1; }; }
|
| 1673 |
|
|
fi
|
| 1674 |
|
|
|
| 1675 |
|
|
echo "$as_me:1675: checking whether BSP supports networking" >&5
|
| 1676 |
|
|
echo $ECHO_N "checking whether BSP supports networking... $ECHO_C" >&6
|
| 1677 |
|
|
if test "${rtems_cv_HAS_NETWORKING+set}" = set; then
|
| 1678 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
| 1679 |
|
|
else
|
| 1680 |
|
|
case "$RTEMS_CPU" in
|
| 1681 |
|
|
unix*)
|
| 1682 |
|
|
rtems_cv_HAS_NETWORKING="no"
|
| 1683 |
|
|
;;
|
| 1684 |
|
|
*)
|
| 1685 |
|
|
if test "${RTEMS_HAS_NETWORKING}" = "yes"; then
|
| 1686 |
|
|
rtems_cv_HAS_NETWORKING="yes";
|
| 1687 |
|
|
else
|
| 1688 |
|
|
rtems_cv_HAS_NETWORKING="disabled";
|
| 1689 |
|
|
fi
|
| 1690 |
|
|
;;
|
| 1691 |
|
|
esac
|
| 1692 |
|
|
fi
|
| 1693 |
|
|
echo "$as_me:1693: result: $rtems_cv_HAS_NETWORKING" >&5
|
| 1694 |
|
|
echo "${ECHO_T}$rtems_cv_HAS_NETWORKING" >&6
|
| 1695 |
|
|
if test "$rtems_cv_HAS_NETWORKING" = "yes"; then
|
| 1696 |
|
|
HAS_NETWORKING="yes";
|
| 1697 |
|
|
else
|
| 1698 |
|
|
HAS_NETWORKING="no";
|
| 1699 |
|
|
fi
|
| 1700 |
|
|
|
| 1701 |
|
|
## Note: the order of the directories below is essential
|
| 1702 |
|
|
|
| 1703 |
|
|
subdirs="$subdirs make"
|
| 1704 |
|
|
|
| 1705 |
|
|
## Configure ${srcdir}/../../cpukit as exec/ if multilibs are enabled
|
| 1706 |
|
|
if test x"$multilib" = x"no"; then
|
| 1707 |
|
|
|
| 1708 |
|
|
# account for "aliased" bsps which share source code
|
| 1709 |
|
|
case $RTEMS_BSP in
|
| 1710 |
|
|
simcpu32) RTEMS_BSP_FAMILY=sim68000 ;; # BSVC CPU32 variant
|
| 1711 |
|
|
c3xsim) RTEMS_BSP_FAMILY=c4xsim ;; # TI C3x Simulator in gdb
|
| 1712 |
|
|
mcp750) RTEMS_BSP_FAMILY=motorola_powerpc ;; # Motorola PPC board variant
|
| 1713 |
|
|
mvme2307) RTEMS_BSP_FAMILY=motorola_powerpc ;; # Motorola PPC board variant
|
| 1714 |
|
|
mvme162lx) RTEMS_BSP_FAMILY=mvme162 ;; # m68k - mvme162 board variant
|
| 1715 |
|
|
gen68360_040) RTEMS_BSP_FAMILY=gen68360 ;; # m68k - 68360 in companion mode
|
| 1716 |
|
|
p4600) RTEMS_BSP_FAMILY=p4000 ;; # mips64orion - p4000 board w/IDT 4600
|
| 1717 |
|
|
p4650) RTEMS_BSP_FAMILY=p4000 ;; # mips64orion - p4000 board w/IDT 4650
|
| 1718 |
|
|
mbx8*) RTEMS_BSP_FAMILY=mbx8xx ;; # MBX821/MBX860 board
|
| 1719 |
|
|
pc386dx) RTEMS_BSP_FAMILY=pc386 ;; # i386 - PC w/o FPU
|
| 1720 |
|
|
pc486) RTEMS_BSP_FAMILY=pc386 ;; # i386 - PC with i486DX
|
| 1721 |
|
|
pc586) RTEMS_BSP_FAMILY=pc386 ;; # i386 - PC with Pentium
|
| 1722 |
|
|
pc686) RTEMS_BSP_FAMILY=pc386 ;; # i386 - PC with PentiumPro
|
| 1723 |
|
|
pck6) RTEMS_BSP_FAMILY=pc386 ;; # i386 - PC with K6
|
| 1724 |
|
|
bare*) RTEMS_BSP_FAMILY=bare ;; # EXP: bare-aliases
|
| 1725 |
|
|
erc32nfp) RTEMS_BSP_FAMILY=erc32 ;; # erc32 without fpu
|
| 1726 |
|
|
leon1) RTEMS_BSP_FAMILY=leon ;; # leon without fpu
|
| 1727 |
|
|
leon2) RTEMS_BSP_FAMILY=leon ;; # leon with fpu
|
| 1728 |
|
|
simsh7032) RTEMS_BSP_FAMILY=shsim ;; # SH7032 simulator
|
| 1729 |
|
|
simsh7045) RTEMS_BSP_FAMILY=shsim ;; # SH7045 simulator
|
| 1730 |
|
|
*) RTEMS_BSP_FAMILY=$RTEMS_BSP;;
|
| 1731 |
|
|
esac
|
| 1732 |
|
|
|
| 1733 |
|
|
echo "$as_me:1733: checking if wanting multiprocessing" >&5
|
| 1734 |
|
|
echo $ECHO_N "checking if wanting multiprocessing... $ECHO_C" >&6
|
| 1735 |
|
|
if test "${rtems_cv_want_multiprocessing+set}" = set; then
|
| 1736 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
| 1737 |
|
|
else
|
| 1738 |
|
|
|
| 1739 |
|
|
if test x"$multilib" = x"no"; then
|
| 1740 |
|
|
# no cpukit
|
| 1741 |
|
|
rtems_cv_want_multiprocessing="$enable_multiprocessing"
|
| 1742 |
|
|
|
| 1743 |
|
|
else
|
| 1744 |
|
|
|
| 1745 |
|
|
#HACK: Should check for RTEMS_MULTIPROCESSING in cpuopts.h, instead
|
| 1746 |
|
|
rtems_cv_want_multiprocessing="$enable_multiprocessing"
|
| 1747 |
|
|
|
| 1748 |
|
|
fi
|
| 1749 |
|
|
|
| 1750 |
|
|
fi
|
| 1751 |
|
|
echo "$as_me:1751: result: $rtems_cv_want_multiprocessing" >&5
|
| 1752 |
|
|
echo "${ECHO_T}$rtems_cv_want_multiprocessing" >&6
|
| 1753 |
|
|
|
| 1754 |
|
|
if test "$rtems_cv_want_multiprocessing" = "yes"; then
|
| 1755 |
|
|
|
| 1756 |
|
|
echo "$as_me:1756: checking whether BSP supports multiprocessing" >&5
|
| 1757 |
|
|
echo $ECHO_N "checking whether BSP supports multiprocessing... $ECHO_C" >&6
|
| 1758 |
|
|
if test "${rtems_cv_HAS_MP+set}" = set; then
|
| 1759 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
| 1760 |
|
|
else
|
| 1761 |
|
|
|
| 1762 |
|
|
if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}/${RTEMS_BSP_FAMILY}/shmsupp"; then
|
| 1763 |
|
|
rtems_cv_HAS_MP="yes" ;
|
| 1764 |
|
|
else
|
| 1765 |
|
|
rtems_cv_HAS_MP="no";
|
| 1766 |
|
|
fi
|
| 1767 |
|
|
|
| 1768 |
|
|
fi
|
| 1769 |
|
|
echo "$as_me:1769: result: $rtems_cv_HAS_MP" >&5
|
| 1770 |
|
|
echo "${ECHO_T}$rtems_cv_HAS_MP" >&6
|
| 1771 |
|
|
if test $rtems_cv_HAS_MP = "no"; then
|
| 1772 |
|
|
{ { echo "$as_me:1772: error: multiprocessing requested but not supported" >&5
|
| 1773 |
|
|
echo "$as_me: error: multiprocessing requested but not supported" >&2;}
|
| 1774 |
|
|
{ (exit 1); exit 1; }; }
|
| 1775 |
|
|
fi
|
| 1776 |
|
|
|
| 1777 |
|
|
else
|
| 1778 |
|
|
rtems_cv_HAS_MP="no";
|
| 1779 |
|
|
fi
|
| 1780 |
|
|
|
| 1781 |
|
|
HAS_MP=$rtems_cv_HAS_MP
|
| 1782 |
|
|
|
| 1783 |
|
|
exec=exec
|
| 1784 |
|
|
|
| 1785 |
|
|
fi
|
| 1786 |
|
|
|
| 1787 |
|
|
subdirs="$subdirs optman"
|
| 1788 |
|
|
|
| 1789 |
|
|
subdirs="$subdirs lib/libcpu"
|
| 1790 |
|
|
|
| 1791 |
|
|
subdirs="$subdirs lib/libbsp"
|
| 1792 |
|
|
|
| 1793 |
|
|
subdirs="$subdirs libmisc"
|
| 1794 |
|
|
|
| 1795 |
|
|
if test "$RTEMS_CPU" != "unix"; then
|
| 1796 |
|
|
|
| 1797 |
|
|
## HACK: Suppress libchip for unix
|
| 1798 |
|
|
|
| 1799 |
|
|
subdirs="$subdirs libchip"
|
| 1800 |
|
|
|
| 1801 |
|
|
fi
|
| 1802 |
|
|
|
| 1803 |
|
|
if test "$HAS_NETWORKING" = "yes"; then
|
| 1804 |
|
|
|
| 1805 |
|
|
subdirs="$subdirs libnetworking"
|
| 1806 |
|
|
|
| 1807 |
|
|
if test "$RTEMS_HAS_RDBG" = "yes"; then
|
| 1808 |
|
|
echo "$as_me:1808: checking whether BSP supports librdbg" >&5
|
| 1809 |
|
|
echo $ECHO_N "checking whether BSP supports librdbg... $ECHO_C" >&6
|
| 1810 |
|
|
if test "${rtems_cv_HAS_RDBG+set}" = set; then
|
| 1811 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
| 1812 |
|
|
else
|
| 1813 |
|
|
|
| 1814 |
|
|
if test -d "$srcdir/${RTEMS_TOPdir}/c/src/librdbg/src/${RTEMS_CPU}/${RTEMS_BSP}";
|
| 1815 |
|
|
then
|
| 1816 |
|
|
rtems_cv_HAS_RDBG="yes" ;
|
| 1817 |
|
|
elif test -d "$srcdir/${RTEMS_TOPdir}/c/src/librdbg/src/${RTEMS_CPU}/any";
|
| 1818 |
|
|
then
|
| 1819 |
|
|
rtems_cv_HAS_RDBG="yes" ;
|
| 1820 |
|
|
elif test "${RTEMS_CPU}" = "powerpc";
|
| 1821 |
|
|
then
|
| 1822 |
|
|
A=`grep -l RTEMS_PPC_EXCEPTION_PROCESSING_MODEL $srcdir/${RTEMS_TOPdir}/make/custom/* 2>/dev/null`;
|
| 1823 |
|
|
C=""
|
| 1824 |
|
|
for i in ${A} ;
|
| 1825 |
|
|
do
|
| 1826 |
|
|
B=`basename ${i} .cfg`;
|
| 1827 |
|
|
C="${C} ${B}";
|
| 1828 |
|
|
done
|
| 1829 |
|
|
rtems_cv_HAS_RDBG="no";
|
| 1830 |
|
|
for j in ${C} ;
|
| 1831 |
|
|
do
|
| 1832 |
|
|
if test "${RTEMS_BSP}" = "${j}" ;
|
| 1833 |
|
|
then
|
| 1834 |
|
|
rtems_cv_HAS_RDBG="yes";
|
| 1835 |
|
|
fi
|
| 1836 |
|
|
done
|
| 1837 |
|
|
else
|
| 1838 |
|
|
rtems_cv_HAS_RDBG="no";
|
| 1839 |
|
|
fi
|
| 1840 |
|
|
|
| 1841 |
|
|
fi
|
| 1842 |
|
|
echo "$as_me:1842: result: $rtems_cv_HAS_RDBG" >&5
|
| 1843 |
|
|
echo "${ECHO_T}$rtems_cv_HAS_RDBG" >&6
|
| 1844 |
|
|
HAS_RDBG="$rtems_cv_HAS_RDBG"
|
| 1845 |
|
|
|
| 1846 |
|
|
fi
|
| 1847 |
|
|
fi
|
| 1848 |
|
|
|
| 1849 |
|
|
if test "$HAS_RDBG" = "yes"; then
|
| 1850 |
|
|
|
| 1851 |
|
|
subdirs="$subdirs librdbg"
|
| 1852 |
|
|
|
| 1853 |
|
|
fi
|
| 1854 |
|
|
|
| 1855 |
|
|
if test "$HAS_NETWORKING" = "yes" ; then
|
| 1856 |
|
|
HAS_NETWORKING_TRUE=
|
| 1857 |
|
|
HAS_NETWORKING_FALSE='#'
|
| 1858 |
|
|
else
|
| 1859 |
|
|
HAS_NETWORKING_TRUE='#'
|
| 1860 |
|
|
HAS_NETWORKING_FALSE=
|
| 1861 |
|
|
fi
|
| 1862 |
|
|
|
| 1863 |
|
|
if test "$HAS_RDBG" = "yes" ; then
|
| 1864 |
|
|
HAS_RDBG_TRUE=
|
| 1865 |
|
|
HAS_RDBG_FALSE='#'
|
| 1866 |
|
|
else
|
| 1867 |
|
|
HAS_RDBG_TRUE='#'
|
| 1868 |
|
|
HAS_RDBG_FALSE=
|
| 1869 |
|
|
fi
|
| 1870 |
|
|
|
| 1871 |
|
|
if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
|
| 1872 |
|
|
|
| 1873 |
|
|
subdirs="$subdirs librtems++"
|
| 1874 |
|
|
|
| 1875 |
|
|
fi
|
| 1876 |
|
|
|
| 1877 |
|
|
subdirs="$subdirs wrapup tests"
|
| 1878 |
|
|
|
| 1879 |
|
|
PACKHEX="\$(PROJECT_TOPdir)/tools/build/packhex"
|
| 1880 |
|
|
|
| 1881 |
|
|
# Explicitly list all Makefiles here
|
| 1882 |
|
|
ac_config_files="$ac_config_files Makefile"
|
| 1883 |
|
|
|
| 1884 |
|
|
cat >confcache <<\_ACEOF
|
| 1885 |
|
|
# This file is a shell script that caches the results of configure
|
| 1886 |
|
|
# tests run on this system so they can be shared between configure
|
| 1887 |
|
|
# scripts and configure runs, see configure's option --config-cache.
|
| 1888 |
|
|
# It is not useful on other systems. If it contains results you don't
|
| 1889 |
|
|
# want to keep, you may remove or edit it.
|
| 1890 |
|
|
#
|
| 1891 |
|
|
# config.status only pays attention to the cache file if you give it
|
| 1892 |
|
|
# the --recheck option to rerun configure.
|
| 1893 |
|
|
#
|
| 1894 |
|
|
# `ac_cv_env_foo' variables (set or unset) will be overriden when
|
| 1895 |
|
|
# loading this file, other *unset* `ac_cv_foo' will be assigned the
|
| 1896 |
|
|
# following values.
|
| 1897 |
|
|
|
| 1898 |
|
|
_ACEOF
|
| 1899 |
|
|
|
| 1900 |
|
|
# The following way of writing the cache mishandles newlines in values,
|
| 1901 |
|
|
# but we know of no workaround that is simple, portable, and efficient.
|
| 1902 |
|
|
# So, don't put newlines in cache variables' values.
|
| 1903 |
|
|
# Ultrix sh set writes to stderr and can't be redirected directly,
|
| 1904 |
|
|
# and sets the high bit in the cache file unless we assign to the vars.
|
| 1905 |
|
|
{
|
| 1906 |
|
|
(set) 2>&1 |
|
| 1907 |
|
|
case `(ac_space=' '; set | grep ac_space) 2>&1` in
|
| 1908 |
|
|
*ac_space=\ *)
|
| 1909 |
|
|
# `set' does not quote correctly, so add quotes (double-quote
|
| 1910 |
|
|
# substitution turns \\\\ into \\, and sed turns \\ into \).
|
| 1911 |
|
|
sed -n \
|
| 1912 |
|
|
"s/'/'\\\\''/g;
|
| 1913 |
|
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
| 1914 |
|
|
;;
|
| 1915 |
|
|
*)
|
| 1916 |
|
|
# `set' quotes correctly as required by POSIX, so do not add quotes.
|
| 1917 |
|
|
sed -n \
|
| 1918 |
|
|
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
| 1919 |
|
|
;;
|
| 1920 |
|
|
esac;
|
| 1921 |
|
|
} |
|
| 1922 |
|
|
sed '
|
| 1923 |
|
|
t clear
|
| 1924 |
|
|
: clear
|
| 1925 |
|
|
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
| 1926 |
|
|
t end
|
| 1927 |
|
|
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
| 1928 |
|
|
: end' >>confcache
|
| 1929 |
|
|
if cmp -s $cache_file confcache; then :; else
|
| 1930 |
|
|
if test -w $cache_file; then
|
| 1931 |
|
|
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
|
| 1932 |
|
|
cat confcache >$cache_file
|
| 1933 |
|
|
else
|
| 1934 |
|
|
echo "not updating unwritable cache $cache_file"
|
| 1935 |
|
|
fi
|
| 1936 |
|
|
fi
|
| 1937 |
|
|
rm -f confcache
|
| 1938 |
|
|
|
| 1939 |
|
|
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
| 1940 |
|
|
# Let make expand exec_prefix.
|
| 1941 |
|
|
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
| 1942 |
|
|
|
| 1943 |
|
|
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
| 1944 |
|
|
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
| 1945 |
|
|
# trailing colons and then remove the whole line if VPATH becomes empty
|
| 1946 |
|
|
# (actually we leave an empty line to preserve line numbers).
|
| 1947 |
|
|
if test "x$srcdir" = x.; then
|
| 1948 |
|
|
ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
| 1949 |
|
|
s/:*\$(srcdir):*/:/;
|
| 1950 |
|
|
s/:*\${srcdir}:*/:/;
|
| 1951 |
|
|
s/:*@srcdir@:*/:/;
|
| 1952 |
|
|
s/^\([^=]*=[ ]*\):*/\1/;
|
| 1953 |
|
|
s/:*$//;
|
| 1954 |
|
|
s/^[^=]*=[ ]*$//;
|
| 1955 |
|
|
}'
|
| 1956 |
|
|
fi
|
| 1957 |
|
|
|
| 1958 |
|
|
# Transform confdefs.h into DEFS.
|
| 1959 |
|
|
# Protect against shell expansion while executing Makefile rules.
|
| 1960 |
|
|
# Protect against Makefile macro expansion.
|
| 1961 |
|
|
#
|
| 1962 |
|
|
# If the first sed substitution is executed (which looks for macros that
|
| 1963 |
|
|
# take arguments), then we branch to the quote section. Otherwise,
|
| 1964 |
|
|
# look for a macro that doesn't take arguments.
|
| 1965 |
|
|
cat >confdef2opt.sed <<\EOF
|
| 1966 |
|
|
t clear
|
| 1967 |
|
|
: clear
|
| 1968 |
|
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
|
| 1969 |
|
|
t quote
|
| 1970 |
|
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
|
| 1971 |
|
|
t quote
|
| 1972 |
|
|
d
|
| 1973 |
|
|
: quote
|
| 1974 |
|
|
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
|
| 1975 |
|
|
s,\[,\\&,g
|
| 1976 |
|
|
s,\],\\&,g
|
| 1977 |
|
|
s,\$,$$,g
|
| 1978 |
|
|
p
|
| 1979 |
|
|
EOF
|
| 1980 |
|
|
# We use echo to avoid assuming a particular line-breaking character.
|
| 1981 |
|
|
# The extra dot is to prevent the shell from consuming trailing
|
| 1982 |
|
|
# line-breaks from the sub-command output. A line-break within
|
| 1983 |
|
|
# single-quotes doesn't work because, if this script is created in a
|
| 1984 |
|
|
# platform that uses two characters for line-breaks (e.g., DOS), tr
|
| 1985 |
|
|
# would break.
|
| 1986 |
|
|
ac_LF_and_DOT=`echo; echo .`
|
| 1987 |
|
|
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
|
| 1988 |
|
|
rm -f confdef2opt.sed
|
| 1989 |
|
|
|
| 1990 |
|
|
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
|
| 1991 |
|
|
{ { echo "$as_me:1991: error: conditional \"MAINTAINER_MODE\" was never defined.
|
| 1992 |
|
|
Usually this means the macro was only invoked conditionally." >&5
|
| 1993 |
|
|
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
|
| 1994 |
|
|
Usually this means the macro was only invoked conditionally." >&2;}
|
| 1995 |
|
|
{ (exit 1); exit 1; }; }
|
| 1996 |
|
|
fi
|
| 1997 |
|
|
if test -z "${MULTILIB_TRUE}" && test -z "${MULTILIB_FALSE}"; then
|
| 1998 |
|
|
{ { echo "$as_me:1998: error: conditional \"MULTILIB\" was never defined.
|
| 1999 |
|
|
Usually this means the macro was only invoked conditionally." >&5
|
| 2000 |
|
|
echo "$as_me: error: conditional \"MULTILIB\" was never defined.
|
| 2001 |
|
|
Usually this means the macro was only invoked conditionally." >&2;}
|
| 2002 |
|
|
{ (exit 1); exit 1; }; }
|
| 2003 |
|
|
fi
|
| 2004 |
|
|
if test -z "${MULTILIB_TRUE}" && test -z "${MULTILIB_FALSE}"; then
|
| 2005 |
|
|
{ { echo "$as_me:2005: error: conditional \"MULTILIB\" was never defined.
|
| 2006 |
|
|
Usually this means the macro was only invoked conditionally." >&5
|
| 2007 |
|
|
echo "$as_me: error: conditional \"MULTILIB\" was never defined.
|
| 2008 |
|
|
Usually this means the macro was only invoked conditionally." >&2;}
|
| 2009 |
|
|
{ (exit 1); exit 1; }; }
|
| 2010 |
|
|
fi
|
| 2011 |
|
|
if test -z "${HAS_NETWORKING_TRUE}" && test -z "${HAS_NETWORKING_FALSE}"; then
|
| 2012 |
|
|
{ { echo "$as_me:2012: error: conditional \"HAS_NETWORKING\" was never defined.
|
| 2013 |
|
|
Usually this means the macro was only invoked conditionally." >&5
|
| 2014 |
|
|
echo "$as_me: error: conditional \"HAS_NETWORKING\" was never defined.
|
| 2015 |
|
|
Usually this means the macro was only invoked conditionally." >&2;}
|
| 2016 |
|
|
{ (exit 1); exit 1; }; }
|
| 2017 |
|
|
fi
|
| 2018 |
|
|
if test -z "${HAS_RDBG_TRUE}" && test -z "${HAS_RDBG_FALSE}"; then
|
| 2019 |
|
|
{ { echo "$as_me:2019: error: conditional \"HAS_RDBG\" was never defined.
|
| 2020 |
|
|
Usually this means the macro was only invoked conditionally." >&5
|
| 2021 |
|
|
echo "$as_me: error: conditional \"HAS_RDBG\" was never defined.
|
| 2022 |
|
|
Usually this means the macro was only invoked conditionally." >&2;}
|
| 2023 |
|
|
{ (exit 1); exit 1; }; }
|
| 2024 |
|
|
fi
|
| 2025 |
|
|
|
| 2026 |
|
|
: ${CONFIG_STATUS=./config.status}
|
| 2027 |
|
|
ac_clean_files_save=$ac_clean_files
|
| 2028 |
|
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
| 2029 |
|
|
{ echo "$as_me:2029: creating $CONFIG_STATUS" >&5
|
| 2030 |
|
|
echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
| 2031 |
|
|
cat >$CONFIG_STATUS <<_ACEOF
|
| 2032 |
|
|
#! $SHELL
|
| 2033 |
|
|
# Generated automatically by configure.
|
| 2034 |
|
|
# Run this file to recreate the current configuration.
|
| 2035 |
|
|
# Compiler output produced by configure, useful for debugging
|
| 2036 |
|
|
# configure, is in config.log if it exists.
|
| 2037 |
|
|
|
| 2038 |
|
|
debug=false
|
| 2039 |
|
|
SHELL=\${CONFIG_SHELL-$SHELL}
|
| 2040 |
|
|
ac_cs_invocation="\$0 \$@"
|
| 2041 |
|
|
|
| 2042 |
|
|
_ACEOF
|
| 2043 |
|
|
|
| 2044 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
| 2045 |
|
|
# Be Bourne compatible
|
| 2046 |
|
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
| 2047 |
|
|
emulate sh
|
| 2048 |
|
|
NULLCMD=:
|
| 2049 |
|
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
| 2050 |
|
|
set -o posix
|
| 2051 |
|
|
fi
|
| 2052 |
|
|
|
| 2053 |
|
|
# Name of the executable.
|
| 2054 |
|
|
as_me=`echo "$0" |sed 's,.*[\\/],,'`
|
| 2055 |
|
|
|
| 2056 |
|
|
if expr a : '\(a\)' >/dev/null 2>&1; then
|
| 2057 |
|
|
as_expr=expr
|
| 2058 |
|
|
else
|
| 2059 |
|
|
as_expr=false
|
| 2060 |
|
|
fi
|
| 2061 |
|
|
|
| 2062 |
|
|
rm -f conf$$ conf$$.exe conf$$.file
|
| 2063 |
|
|
echo >conf$$.file
|
| 2064 |
|
|
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
| 2065 |
|
|
# We could just check for DJGPP; but this test a) works b) is more generic
|
| 2066 |
|
|
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
| 2067 |
|
|
if test -f conf$$.exe; then
|
| 2068 |
|
|
# Don't use ln at all; we don't have any links
|
| 2069 |
|
|
as_ln_s='cp -p'
|
| 2070 |
|
|
else
|
| 2071 |
|
|
as_ln_s='ln -s'
|
| 2072 |
|
|
fi
|
| 2073 |
|
|
elif ln conf$$.file conf$$ 2>/dev/null; then
|
| 2074 |
|
|
as_ln_s=ln
|
| 2075 |
|
|
else
|
| 2076 |
|
|
as_ln_s='cp -p'
|
| 2077 |
|
|
fi
|
| 2078 |
|
|
rm -f conf$$ conf$$.exe conf$$.file
|
| 2079 |
|
|
|
| 2080 |
|
|
as_executable_p="test -f"
|
| 2081 |
|
|
|
| 2082 |
|
|
# Support unset when possible.
|
| 2083 |
|
|
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
|
| 2084 |
|
|
as_unset=unset
|
| 2085 |
|
|
else
|
| 2086 |
|
|
as_unset=false
|
| 2087 |
|
|
fi
|
| 2088 |
|
|
|
| 2089 |
|
|
# NLS nuisances.
|
| 2090 |
|
|
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
|
| 2091 |
|
|
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
|
| 2092 |
|
|
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
|
| 2093 |
|
|
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
|
| 2094 |
|
|
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
|
| 2095 |
|
|
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
|
| 2096 |
|
|
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
|
| 2097 |
|
|
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
|
| 2098 |
|
|
|
| 2099 |
|
|
# IFS
|
| 2100 |
|
|
# We need space, tab and new line, in precisely that order.
|
| 2101 |
|
|
as_nl='
|
| 2102 |
|
|
'
|
| 2103 |
|
|
IFS=" $as_nl"
|
| 2104 |
|
|
|
| 2105 |
|
|
# CDPATH.
|
| 2106 |
|
|
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
|
| 2107 |
|
|
|
| 2108 |
|
|
exec 6>&1
|
| 2109 |
|
|
|
| 2110 |
|
|
_ACEOF
|
| 2111 |
|
|
|
| 2112 |
|
|
# Files that config.status was made for.
|
| 2113 |
|
|
if test -n "$ac_config_files"; then
|
| 2114 |
|
|
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
|
| 2115 |
|
|
fi
|
| 2116 |
|
|
|
| 2117 |
|
|
if test -n "$ac_config_headers"; then
|
| 2118 |
|
|
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
|
| 2119 |
|
|
fi
|
| 2120 |
|
|
|
| 2121 |
|
|
if test -n "$ac_config_links"; then
|
| 2122 |
|
|
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
|
| 2123 |
|
|
fi
|
| 2124 |
|
|
|
| 2125 |
|
|
if test -n "$ac_config_commands"; then
|
| 2126 |
|
|
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
|
| 2127 |
|
|
fi
|
| 2128 |
|
|
|
| 2129 |
|
|
cat >>$CONFIG_STATUS <<\EOF
|
| 2130 |
|
|
|
| 2131 |
|
|
ac_cs_usage="\
|
| 2132 |
|
|
\`$as_me' instantiates files from templates according to the
|
| 2133 |
|
|
current configuration.
|
| 2134 |
|
|
|
| 2135 |
|
|
Usage: $0 [OPTIONS] [FILE]...
|
| 2136 |
|
|
|
| 2137 |
|
|
-h, --help print this help, then exit
|
| 2138 |
|
|
-V, --version print version number, then exit
|
| 2139 |
|
|
-d, --debug don't remove temporary files
|
| 2140 |
|
|
--recheck update $as_me by reconfiguring in the same conditions
|
| 2141 |
|
|
--file=FILE[:TEMPLATE]
|
| 2142 |
|
|
instantiate the configuration file FILE
|
| 2143 |
|
|
|
| 2144 |
|
|
Configuration files:
|
| 2145 |
|
|
$config_files
|
| 2146 |
|
|
|
| 2147 |
|
|
Report bugs to ."
|
| 2148 |
|
|
EOF
|
| 2149 |
|
|
|
| 2150 |
|
|
cat >>$CONFIG_STATUS <
|
| 2151 |
|
|
ac_cs_version="\\
|
| 2152 |
|
|
rtems-c-src config.status ss-20020807
|
| 2153 |
|
|
configured by $0, generated by GNU Autoconf 2.52,
|
| 2154 |
|
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
| 2155 |
|
|
|
| 2156 |
|
|
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
|
| 2157 |
|
|
Free Software Foundation, Inc.
|
| 2158 |
|
|
This config.status script is free software; the Free Software Foundation
|
| 2159 |
|
|
gives unlimited permission to copy, distribute and modify it."
|
| 2160 |
|
|
srcdir=$srcdir
|
| 2161 |
|
|
INSTALL="$INSTALL"
|
| 2162 |
|
|
EOF
|
| 2163 |
|
|
|
| 2164 |
|
|
cat >>$CONFIG_STATUS <<\EOF
|
| 2165 |
|
|
# If no file are specified by the user, then we need to provide default
|
| 2166 |
|
|
# value. By we need to know if files were specified by the user.
|
| 2167 |
|
|
ac_need_defaults=:
|
| 2168 |
|
|
while test $# != 0
|
| 2169 |
|
|
do
|
| 2170 |
|
|
case $1 in
|
| 2171 |
|
|
--*=*)
|
| 2172 |
|
|
ac_option=`expr "x$1" : 'x\([^=]*\)='`
|
| 2173 |
|
|
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
|
| 2174 |
|
|
shift
|
| 2175 |
|
|
set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
|
| 2176 |
|
|
shift
|
| 2177 |
|
|
;;
|
| 2178 |
|
|
-*);;
|
| 2179 |
|
|
*) # This is not an option, so the user has probably given explicit
|
| 2180 |
|
|
# arguments.
|
| 2181 |
|
|
ac_need_defaults=false;;
|
| 2182 |
|
|
esac
|
| 2183 |
|
|
|
| 2184 |
|
|
case $1 in
|
| 2185 |
|
|
# Handling of the options.
|
| 2186 |
|
|
EOF
|
| 2187 |
|
|
cat >>$CONFIG_STATUS <
|
| 2188 |
|
|
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
| 2189 |
|
|
echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
|
| 2190 |
|
|
exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
|
| 2191 |
|
|
EOF
|
| 2192 |
|
|
cat >>$CONFIG_STATUS <<\EOF
|
| 2193 |
|
|
--version | --vers* | -V )
|
| 2194 |
|
|
echo "$ac_cs_version"; exit 0 ;;
|
| 2195 |
|
|
--he | --h)
|
| 2196 |
|
|
# Conflict between --help and --header
|
| 2197 |
|
|
{ { echo "$as_me:2197: error: ambiguous option: $1
|
| 2198 |
|
|
Try \`$0 --help' for more information." >&5
|
| 2199 |
|
|
echo "$as_me: error: ambiguous option: $1
|
| 2200 |
|
|
Try \`$0 --help' for more information." >&2;}
|
| 2201 |
|
|
{ (exit 1); exit 1; }; };;
|
| 2202 |
|
|
--help | --hel | -h )
|
| 2203 |
|
|
echo "$ac_cs_usage"; exit 0 ;;
|
| 2204 |
|
|
--debug | --d* | -d )
|
| 2205 |
|
|
debug=: ;;
|
| 2206 |
|
|
--file | --fil | --fi | --f )
|
| 2207 |
|
|
shift
|
| 2208 |
|
|
CONFIG_FILES="$CONFIG_FILES $1"
|
| 2209 |
|
|
ac_need_defaults=false;;
|
| 2210 |
|
|
--header | --heade | --head | --hea )
|
| 2211 |
|
|
shift
|
| 2212 |
|
|
CONFIG_HEADERS="$CONFIG_HEADERS $1"
|
| 2213 |
|
|
ac_need_defaults=false;;
|
| 2214 |
|
|
|
| 2215 |
|
|
# This is an error.
|
| 2216 |
|
|
-*) { { echo "$as_me:2216: error: unrecognized option: $1
|
| 2217 |
|
|
Try \`$0 --help' for more information." >&5
|
| 2218 |
|
|
echo "$as_me: error: unrecognized option: $1
|
| 2219 |
|
|
Try \`$0 --help' for more information." >&2;}
|
| 2220 |
|
|
{ (exit 1); exit 1; }; } ;;
|
| 2221 |
|
|
|
| 2222 |
|
|
*) ac_config_targets="$ac_config_targets $1" ;;
|
| 2223 |
|
|
|
| 2224 |
|
|
esac
|
| 2225 |
|
|
shift
|
| 2226 |
|
|
done
|
| 2227 |
|
|
|
| 2228 |
|
|
exec 5>>config.log
|
| 2229 |
|
|
cat >&5 << _ACEOF
|
| 2230 |
|
|
|
| 2231 |
|
|
## ----------------------- ##
|
| 2232 |
|
|
## Running config.status. ##
|
| 2233 |
|
|
## ----------------------- ##
|
| 2234 |
|
|
|
| 2235 |
|
|
This file was extended by $as_me (rtems-c-src ss-20020807) 2.52, executed with
|
| 2236 |
|
|
CONFIG_FILES = $CONFIG_FILES
|
| 2237 |
|
|
CONFIG_HEADERS = $CONFIG_HEADERS
|
| 2238 |
|
|
CONFIG_LINKS = $CONFIG_LINKS
|
| 2239 |
|
|
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
| 2240 |
|
|
> $ac_cs_invocation
|
| 2241 |
|
|
on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
| 2242 |
|
|
|
| 2243 |
|
|
_ACEOF
|
| 2244 |
|
|
EOF
|
| 2245 |
|
|
|
| 2246 |
|
|
cat >>$CONFIG_STATUS <<\EOF
|
| 2247 |
|
|
for ac_config_target in $ac_config_targets
|
| 2248 |
|
|
do
|
| 2249 |
|
|
case "$ac_config_target" in
|
| 2250 |
|
|
# Handling of arguments.
|
| 2251 |
|
|
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
| 2252 |
|
|
*) { { echo "$as_me:2252: error: invalid argument: $ac_config_target" >&5
|
| 2253 |
|
|
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
| 2254 |
|
|
{ (exit 1); exit 1; }; };;
|
| 2255 |
|
|
esac
|
| 2256 |
|
|
done
|
| 2257 |
|
|
|
| 2258 |
|
|
# If the user did not use the arguments to specify the items to instantiate,
|
| 2259 |
|
|
# then the envvar interface is used. Set only those that are not.
|
| 2260 |
|
|
# We use the long form for the default assignment because of an extremely
|
| 2261 |
|
|
# bizarre bug on SunOS 4.1.3.
|
| 2262 |
|
|
if $ac_need_defaults; then
|
| 2263 |
|
|
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
| 2264 |
|
|
fi
|
| 2265 |
|
|
|
| 2266 |
|
|
# Create a temporary directory, and hook for its removal unless debugging.
|
| 2267 |
|
|
$debug ||
|
| 2268 |
|
|
{
|
| 2269 |
|
|
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
|
| 2270 |
|
|
trap '{ (exit 1); exit 1; }' 1 2 13 15
|
| 2271 |
|
|
}
|
| 2272 |
|
|
|
| 2273 |
|
|
# Create a (secure) tmp directory for tmp files.
|
| 2274 |
|
|
: ${TMPDIR=/tmp}
|
| 2275 |
|
|
{
|
| 2276 |
|
|
tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
|
| 2277 |
|
|
test -n "$tmp" && test -d "$tmp"
|
| 2278 |
|
|
} ||
|
| 2279 |
|
|
{
|
| 2280 |
|
|
tmp=$TMPDIR/cs$$-$RANDOM
|
| 2281 |
|
|
(umask 077 && mkdir $tmp)
|
| 2282 |
|
|
} ||
|
| 2283 |
|
|
{
|
| 2284 |
|
|
echo "$me: cannot create a temporary directory in $TMPDIR" >&2
|
| 2285 |
|
|
{ (exit 1); exit 1; }
|
| 2286 |
|
|
}
|
| 2287 |
|
|
|
| 2288 |
|
|
EOF
|
| 2289 |
|
|
|
| 2290 |
|
|
cat >>$CONFIG_STATUS <
|
| 2291 |
|
|
|
| 2292 |
|
|
#
|
| 2293 |
|
|
# CONFIG_FILES section.
|
| 2294 |
|
|
#
|
| 2295 |
|
|
|
| 2296 |
|
|
# No need to generate the scripts if there are no CONFIG_FILES.
|
| 2297 |
|
|
# This happens for instance when ./config.status config.h
|
| 2298 |
|
|
if test -n "\$CONFIG_FILES"; then
|
| 2299 |
|
|
# Protect against being on the right side of a sed subst in config.status.
|
| 2300 |
|
|
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
|
| 2301 |
|
|
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
|
| 2302 |
|
|
s,@SHELL@,$SHELL,;t t
|
| 2303 |
|
|
s,@exec_prefix@,$exec_prefix,;t t
|
| 2304 |
|
|
s,@prefix@,$prefix,;t t
|
| 2305 |
|
|
s,@program_transform_name@,$program_transform_name,;t t
|
| 2306 |
|
|
s,@bindir@,$bindir,;t t
|
| 2307 |
|
|
s,@sbindir@,$sbindir,;t t
|
| 2308 |
|
|
s,@libexecdir@,$libexecdir,;t t
|
| 2309 |
|
|
s,@datadir@,$datadir,;t t
|
| 2310 |
|
|
s,@sysconfdir@,$sysconfdir,;t t
|
| 2311 |
|
|
s,@sharedstatedir@,$sharedstatedir,;t t
|
| 2312 |
|
|
s,@localstatedir@,$localstatedir,;t t
|
| 2313 |
|
|
s,@libdir@,$libdir,;t t
|
| 2314 |
|
|
s,@includedir@,$includedir,;t t
|
| 2315 |
|
|
s,@oldincludedir@,$oldincludedir,;t t
|
| 2316 |
|
|
s,@infodir@,$infodir,;t t
|
| 2317 |
|
|
s,@mandir@,$mandir,;t t
|
| 2318 |
|
|
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
|
| 2319 |
|
|
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
|
| 2320 |
|
|
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
|
| 2321 |
|
|
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
|
| 2322 |
|
|
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
|
| 2323 |
|
|
s,@build_alias@,$build_alias,;t t
|
| 2324 |
|
|
s,@host_alias@,$host_alias,;t t
|
| 2325 |
|
|
s,@target_alias@,$target_alias,;t t
|
| 2326 |
|
|
s,@ECHO_C@,$ECHO_C,;t t
|
| 2327 |
|
|
s,@ECHO_N@,$ECHO_N,;t t
|
| 2328 |
|
|
s,@ECHO_T@,$ECHO_T,;t t
|
| 2329 |
|
|
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
|
| 2330 |
|
|
s,@DEFS@,$DEFS,;t t
|
| 2331 |
|
|
s,@LIBS@,$LIBS,;t t
|
| 2332 |
|
|
s,@MAKE@,$MAKE,;t t
|
| 2333 |
|
|
s,@ENDIF@,$ENDIF,;t t
|
| 2334 |
|
|
s,@RTEMS_TOPdir@,$RTEMS_TOPdir,;t t
|
| 2335 |
|
|
s,@PROJECT_TOPdir@,$PROJECT_TOPdir,;t t
|
| 2336 |
|
|
s,@PROJECT_ROOT@,$PROJECT_ROOT,;t t
|
| 2337 |
|
|
s,@RTEMS_HAS_NETWORKING@,$RTEMS_HAS_NETWORKING,;t t
|
| 2338 |
|
|
s,@RTEMS_HAS_RDBG@,$RTEMS_HAS_RDBG,;t t
|
| 2339 |
|
|
s,@build@,$build,;t t
|
| 2340 |
|
|
s,@build_cpu@,$build_cpu,;t t
|
| 2341 |
|
|
s,@build_vendor@,$build_vendor,;t t
|
| 2342 |
|
|
s,@build_os@,$build_os,;t t
|
| 2343 |
|
|
s,@host@,$host,;t t
|
| 2344 |
|
|
s,@host_cpu@,$host_cpu,;t t
|
| 2345 |
|
|
s,@host_vendor@,$host_vendor,;t t
|
| 2346 |
|
|
s,@host_os@,$host_os,;t t
|
| 2347 |
|
|
s,@target@,$target,;t t
|
| 2348 |
|
|
s,@target_cpu@,$target_cpu,;t t
|
| 2349 |
|
|
s,@target_vendor@,$target_vendor,;t t
|
| 2350 |
|
|
s,@target_os@,$target_os,;t t
|
| 2351 |
|
|
s,@RTEMS_CPU@,$RTEMS_CPU,;t t
|
| 2352 |
|
|
s,@RTEMS_HOST@,$RTEMS_HOST,;t t
|
| 2353 |
|
|
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
|
| 2354 |
|
|
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
|
| 2355 |
|
|
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
|
| 2356 |
|
|
s,@PACKAGE@,$PACKAGE,;t t
|
| 2357 |
|
|
s,@VERSION@,$VERSION,;t t
|
| 2358 |
|
|
s,@ACLOCAL@,$ACLOCAL,;t t
|
| 2359 |
|
|
s,@AUTOCONF@,$AUTOCONF,;t t
|
| 2360 |
|
|
s,@AUTOMAKE@,$AUTOMAKE,;t t
|
| 2361 |
|
|
s,@AUTOHEADER@,$AUTOHEADER,;t t
|
| 2362 |
|
|
s,@MAKEINFO@,$MAKEINFO,;t t
|
| 2363 |
|
|
s,@AMTAR@,$AMTAR,;t t
|
| 2364 |
|
|
s,@install_sh@,$install_sh,;t t
|
| 2365 |
|
|
s,@STRIP@,$STRIP,;t t
|
| 2366 |
|
|
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
|
| 2367 |
|
|
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
|
| 2368 |
|
|
s,@AWK@,$AWK,;t t
|
| 2369 |
|
|
s,@SET_MAKE@,$SET_MAKE,;t t
|
| 2370 |
|
|
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
|
| 2371 |
|
|
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
|
| 2372 |
|
|
s,@MAINT@,$MAINT,;t t
|
| 2373 |
|
|
s,@MULTILIB_TRUE@,$MULTILIB_TRUE,;t t
|
| 2374 |
|
|
s,@MULTILIB_FALSE@,$MULTILIB_FALSE,;t t
|
| 2375 |
|
|
s,@RTEMS_BSP@,$RTEMS_BSP,;t t
|
| 2376 |
|
|
s,@RTEMS_BSP_SPECS@,$RTEMS_BSP_SPECS,;t t
|
| 2377 |
|
|
s,@GCC_SPECS@,$GCC_SPECS,;t t
|
| 2378 |
|
|
s,@PROJECT_INCLUDE@,$PROJECT_INCLUDE,;t t
|
| 2379 |
|
|
s,@PROJECT_RELEASE@,$PROJECT_RELEASE,;t t
|
| 2380 |
|
|
s,@RTEMS_ROOT@,$RTEMS_ROOT,;t t
|
| 2381 |
|
|
s,@BARE_CPU_MODEL@,$BARE_CPU_MODEL,;t t
|
| 2382 |
|
|
s,@BARE_CPU_CFLAGS@,$BARE_CPU_CFLAGS,;t t
|
| 2383 |
|
|
s,@bsplibdir@,$bsplibdir,;t t
|
| 2384 |
|
|
s,@HAS_NETWORKING@,$HAS_NETWORKING,;t t
|
| 2385 |
|
|
s,@subdirs@,$subdirs,;t t
|
| 2386 |
|
|
s,@HAS_MP@,$HAS_MP,;t t
|
| 2387 |
|
|
s,@exec@,$exec,;t t
|
| 2388 |
|
|
s,@HAS_RDBG@,$HAS_RDBG,;t t
|
| 2389 |
|
|
s,@HAS_NETWORKING_TRUE@,$HAS_NETWORKING_TRUE,;t t
|
| 2390 |
|
|
s,@HAS_NETWORKING_FALSE@,$HAS_NETWORKING_FALSE,;t t
|
| 2391 |
|
|
s,@HAS_RDBG_TRUE@,$HAS_RDBG_TRUE,;t t
|
| 2392 |
|
|
s,@HAS_RDBG_FALSE@,$HAS_RDBG_FALSE,;t t
|
| 2393 |
|
|
s,@PACKHEX@,$PACKHEX,;t t
|
| 2394 |
|
|
CEOF
|
| 2395 |
|
|
|
| 2396 |
|
|
EOF
|
| 2397 |
|
|
|
| 2398 |
|
|
cat >>$CONFIG_STATUS <<\EOF
|
| 2399 |
|
|
# Split the substitutions into bite-sized pieces for seds with
|
| 2400 |
|
|
# small command number limits, like on Digital OSF/1 and HP-UX.
|
| 2401 |
|
|
ac_max_sed_lines=48
|
| 2402 |
|
|
ac_sed_frag=1 # Number of current file.
|
| 2403 |
|
|
ac_beg=1 # First line for current file.
|
| 2404 |
|
|
ac_end=$ac_max_sed_lines # Line after last line for current file.
|
| 2405 |
|
|
ac_more_lines=:
|
| 2406 |
|
|
ac_sed_cmds=
|
| 2407 |
|
|
while $ac_more_lines; do
|
| 2408 |
|
|
if test $ac_beg -gt 1; then
|
| 2409 |
|
|
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
| 2410 |
|
|
else
|
| 2411 |
|
|
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
| 2412 |
|
|
fi
|
| 2413 |
|
|
if test ! -s $tmp/subs.frag; then
|
| 2414 |
|
|
ac_more_lines=false
|
| 2415 |
|
|
else
|
| 2416 |
|
|
# The purpose of the label and of the branching condition is to
|
| 2417 |
|
|
# speed up the sed processing (if there are no `@' at all, there
|
| 2418 |
|
|
# is no need to browse any of the substitutions).
|
| 2419 |
|
|
# These are the two extra sed commands mentioned above.
|
| 2420 |
|
|
(echo ':t
|
| 2421 |
|
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
|
| 2422 |
|
|
if test -z "$ac_sed_cmds"; then
|
| 2423 |
|
|
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
|
| 2424 |
|
|
else
|
| 2425 |
|
|
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
|
| 2426 |
|
|
fi
|
| 2427 |
|
|
ac_sed_frag=`expr $ac_sed_frag + 1`
|
| 2428 |
|
|
ac_beg=$ac_end
|
| 2429 |
|
|
ac_end=`expr $ac_end + $ac_max_sed_lines`
|
| 2430 |
|
|
fi
|
| 2431 |
|
|
done
|
| 2432 |
|
|
if test -z "$ac_sed_cmds"; then
|
| 2433 |
|
|
ac_sed_cmds=cat
|
| 2434 |
|
|
fi
|
| 2435 |
|
|
fi # test -n "$CONFIG_FILES"
|
| 2436 |
|
|
|
| 2437 |
|
|
EOF
|
| 2438 |
|
|
cat >>$CONFIG_STATUS <<\EOF
|
| 2439 |
|
|
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
|
| 2440 |
|
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
| 2441 |
|
|
case $ac_file in
|
| 2442 |
|
|
- | *:- | *:-:* ) # input from stdin
|
| 2443 |
|
|
cat >$tmp/stdin
|
| 2444 |
|
|
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
| 2445 |
|
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
| 2446 |
|
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
| 2447 |
|
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
| 2448 |
|
|
* ) ac_file_in=$ac_file.in ;;
|
| 2449 |
|
|
esac
|
| 2450 |
|
|
|
| 2451 |
|
|
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
|
| 2452 |
|
|
ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
| 2453 |
|
|
X"$ac_file" : 'X\(//\)[^/]' \| \
|
| 2454 |
|
|
X"$ac_file" : 'X\(//\)$' \| \
|
| 2455 |
|
|
X"$ac_file" : 'X\(/\)' \| \
|
| 2456 |
|
|
. : '\(.\)' 2>/dev/null ||
|
| 2457 |
|
|
echo X"$ac_file" |
|
| 2458 |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
| 2459 |
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
| 2460 |
|
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
| 2461 |
|
|
/^X\(\/\).*/{ s//\1/; q; }
|
| 2462 |
|
|
s/.*/./; q'`
|
| 2463 |
|
|
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
|
| 2464 |
|
|
{ case "$ac_dir" in
|
| 2465 |
|
|
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
|
| 2466 |
|
|
*) as_incr_dir=.;;
|
| 2467 |
|
|
esac
|
| 2468 |
|
|
as_dummy="$ac_dir"
|
| 2469 |
|
|
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
|
| 2470 |
|
|
case $as_mkdir_dir in
|
| 2471 |
|
|
# Skip DOS drivespec
|
| 2472 |
|
|
?:) as_incr_dir=$as_mkdir_dir ;;
|
| 2473 |
|
|
*)
|
| 2474 |
|
|
as_incr_dir=$as_incr_dir/$as_mkdir_dir
|
| 2475 |
|
|
test -d "$as_incr_dir" || mkdir "$as_incr_dir"
|
| 2476 |
|
|
;;
|
| 2477 |
|
|
esac
|
| 2478 |
|
|
done; }
|
| 2479 |
|
|
|
| 2480 |
|
|
ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
|
| 2481 |
|
|
# A "../" for each directory in $ac_dir_suffix.
|
| 2482 |
|
|
ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
|
| 2483 |
|
|
else
|
| 2484 |
|
|
ac_dir_suffix= ac_dots=
|
| 2485 |
|
|
fi
|
| 2486 |
|
|
|
| 2487 |
|
|
case $srcdir in
|
| 2488 |
|
|
.) ac_srcdir=.
|
| 2489 |
|
|
if test -z "$ac_dots"; then
|
| 2490 |
|
|
ac_top_srcdir=.
|
| 2491 |
|
|
else
|
| 2492 |
|
|
ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
|
| 2493 |
|
|
fi ;;
|
| 2494 |
|
|
[\\/]* | ?:[\\/]* )
|
| 2495 |
|
|
ac_srcdir=$srcdir$ac_dir_suffix;
|
| 2496 |
|
|
ac_top_srcdir=$srcdir ;;
|
| 2497 |
|
|
*) # Relative path.
|
| 2498 |
|
|
ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
|
| 2499 |
|
|
ac_top_srcdir=$ac_dots$srcdir ;;
|
| 2500 |
|
|
esac
|
| 2501 |
|
|
|
| 2502 |
|
|
case $INSTALL in
|
| 2503 |
|
|
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
| 2504 |
|
|
*) ac_INSTALL=$ac_dots$INSTALL ;;
|
| 2505 |
|
|
esac
|
| 2506 |
|
|
|
| 2507 |
|
|
if test x"$ac_file" != x-; then
|
| 2508 |
|
|
{ echo "$as_me:2508: creating $ac_file" >&5
|
| 2509 |
|
|
echo "$as_me: creating $ac_file" >&6;}
|
| 2510 |
|
|
rm -f "$ac_file"
|
| 2511 |
|
|
fi
|
| 2512 |
|
|
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
| 2513 |
|
|
# use $as_me), people would be surprised to read:
|
| 2514 |
|
|
# /* config.h. Generated automatically by config.status. */
|
| 2515 |
|
|
configure_input="Generated automatically from `echo $ac_file_in |
|
| 2516 |
|
|
sed 's,.*/,,'` by configure."
|
| 2517 |
|
|
|
| 2518 |
|
|
# First look for the input files in the build tree, otherwise in the
|
| 2519 |
|
|
# src tree.
|
| 2520 |
|
|
ac_file_inputs=`IFS=:
|
| 2521 |
|
|
for f in $ac_file_in; do
|
| 2522 |
|
|
case $f in
|
| 2523 |
|
|
-) echo $tmp/stdin ;;
|
| 2524 |
|
|
[\\/$]*)
|
| 2525 |
|
|
# Absolute (can't be DOS-style, as IFS=:)
|
| 2526 |
|
|
test -f "$f" || { { echo "$as_me:2526: error: cannot find input file: $f" >&5
|
| 2527 |
|
|
echo "$as_me: error: cannot find input file: $f" >&2;}
|
| 2528 |
|
|
{ (exit 1); exit 1; }; }
|
| 2529 |
|
|
echo $f;;
|
| 2530 |
|
|
*) # Relative
|
| 2531 |
|
|
if test -f "$f"; then
|
| 2532 |
|
|
# Build tree
|
| 2533 |
|
|
echo $f
|
| 2534 |
|
|
elif test -f "$srcdir/$f"; then
|
| 2535 |
|
|
# Source tree
|
| 2536 |
|
|
echo $srcdir/$f
|
| 2537 |
|
|
else
|
| 2538 |
|
|
# /dev/null tree
|
| 2539 |
|
|
{ { echo "$as_me:2539: error: cannot find input file: $f" >&5
|
| 2540 |
|
|
echo "$as_me: error: cannot find input file: $f" >&2;}
|
| 2541 |
|
|
{ (exit 1); exit 1; }; }
|
| 2542 |
|
|
fi;;
|
| 2543 |
|
|
esac
|
| 2544 |
|
|
done` || { (exit 1); exit 1; }
|
| 2545 |
|
|
EOF
|
| 2546 |
|
|
cat >>$CONFIG_STATUS <
|
| 2547 |
|
|
sed "$ac_vpsub
|
| 2548 |
|
|
$extrasub
|
| 2549 |
|
|
EOF
|
| 2550 |
|
|
cat >>$CONFIG_STATUS <<\EOF
|
| 2551 |
|
|
:t
|
| 2552 |
|
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
| 2553 |
|
|
s,@configure_input@,$configure_input,;t t
|
| 2554 |
|
|
s,@srcdir@,$ac_srcdir,;t t
|
| 2555 |
|
|
s,@top_srcdir@,$ac_top_srcdir,;t t
|
| 2556 |
|
|
s,@INSTALL@,$ac_INSTALL,;t t
|
| 2557 |
|
|
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
|
| 2558 |
|
|
rm -f $tmp/stdin
|
| 2559 |
|
|
if test x"$ac_file" != x-; then
|
| 2560 |
|
|
mv $tmp/out $ac_file
|
| 2561 |
|
|
else
|
| 2562 |
|
|
cat $tmp/out
|
| 2563 |
|
|
rm -f $tmp/out
|
| 2564 |
|
|
fi
|
| 2565 |
|
|
|
| 2566 |
|
|
done
|
| 2567 |
|
|
EOF
|
| 2568 |
|
|
|
| 2569 |
|
|
cat >>$CONFIG_STATUS <<\EOF
|
| 2570 |
|
|
|
| 2571 |
|
|
{ (exit 0); exit 0; }
|
| 2572 |
|
|
EOF
|
| 2573 |
|
|
chmod +x $CONFIG_STATUS
|
| 2574 |
|
|
ac_clean_files=$ac_clean_files_save
|
| 2575 |
|
|
|
| 2576 |
|
|
if test "$multilib" != "yes"; then
|
| 2577 |
|
|
ac_sub_sourcedir=../../cpukit
|
| 2578 |
|
|
ac_sub_builddir=exec
|
| 2579 |
|
|
|
| 2580 |
|
|
if test "$no_recursion" != yes; then
|
| 2581 |
|
|
|
| 2582 |
|
|
# Remove --cache-file and --srcdir arguments so they do not pile up.
|
| 2583 |
|
|
ac_sub_configure_args=
|
| 2584 |
|
|
ac_prev=
|
| 2585 |
|
|
for ac_arg in $ac_configure_args; do
|
| 2586 |
|
|
if test -n "$ac_prev"; then
|
| 2587 |
|
|
ac_prev=
|
| 2588 |
|
|
continue
|
| 2589 |
|
|
fi
|
| 2590 |
|
|
case $ac_arg in
|
| 2591 |
|
|
-cache-file | --cache-file | --cache-fil | --cache-fi \
|
| 2592 |
|
|
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
| 2593 |
|
|
ac_prev=cache_file ;;
|
| 2594 |
|
|
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
| 2595 |
|
|
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
|
| 2596 |
|
|
| --c=*)
|
| 2597 |
|
|
;;
|
| 2598 |
|
|
--config-cache | -C)
|
| 2599 |
|
|
;;
|
| 2600 |
|
|
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
| 2601 |
|
|
ac_prev=srcdir ;;
|
| 2602 |
|
|
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
| 2603 |
|
|
;;
|
| 2604 |
|
|
*) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
|
| 2605 |
|
|
esac
|
| 2606 |
|
|
done
|
| 2607 |
|
|
|
| 2608 |
|
|
ac_sub_configure_args="$ac_sub_configure_args --with-project-root="../../""
|
| 2609 |
|
|
|
| 2610 |
|
|
for ac_subdir in : $ac_sub_sourcedir; do test "x$ac_subdir" = x: && continue
|
| 2611 |
|
|
|
| 2612 |
|
|
# Do not complain, so a configure script can configure whichever
|
| 2613 |
|
|
# parts of a large source tree are present.
|
| 2614 |
|
|
test -d $srcdir/$ac_subdir || continue
|
| 2615 |
|
|
|
| 2616 |
|
|
{ echo "$as_me:2616: configuring in $ac_subdir" >&5
|
| 2617 |
|
|
echo "$as_me: configuring in $ac_subdir" >&6;}
|
| 2618 |
|
|
case $srcdir in
|
| 2619 |
|
|
.) ;;
|
| 2620 |
|
|
*) { case "./$ac_sub_builddir" in
|
| 2621 |
|
|
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
|
| 2622 |
|
|
*) as_incr_dir=.;;
|
| 2623 |
|
|
esac
|
| 2624 |
|
|
as_dummy="./$ac_sub_builddir"
|
| 2625 |
|
|
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
|
| 2626 |
|
|
case $as_mkdir_dir in
|
| 2627 |
|
|
# Skip DOS drivespec
|
| 2628 |
|
|
?:) as_incr_dir=$as_mkdir_dir ;;
|
| 2629 |
|
|
*)
|
| 2630 |
|
|
as_incr_dir=$as_incr_dir/$as_mkdir_dir
|
| 2631 |
|
|
test -d "$as_incr_dir" || mkdir "$as_incr_dir"
|
| 2632 |
|
|
;;
|
| 2633 |
|
|
esac
|
| 2634 |
|
|
done; }
|
| 2635 |
|
|
|
| 2636 |
|
|
if test -d ./$ac_sub_builddir; then :;
|
| 2637 |
|
|
else
|
| 2638 |
|
|
{ { echo "$as_me:2638: error: cannot create \`pwd\`/$ac_sub_builddir" >&5
|
| 2639 |
|
|
echo "$as_me: error: cannot create \`pwd\`/$ac_sub_builddir" >&2;}
|
| 2640 |
|
|
{ (exit 1); exit 1; }; }
|
| 2641 |
|
|
fi
|
| 2642 |
|
|
;;
|
| 2643 |
|
|
esac
|
| 2644 |
|
|
|
| 2645 |
|
|
ac_popdir=`pwd`
|
| 2646 |
|
|
cd $ac_sub_builddir
|
| 2647 |
|
|
|
| 2648 |
|
|
# A "../" for each directory in /$ac_subdir.
|
| 2649 |
|
|
ac_dots=`echo $ac_sub_builddir |
|
| 2650 |
|
|
sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
|
| 2651 |
|
|
|
| 2652 |
|
|
case $srcdir in
|
| 2653 |
|
|
.) # No --srcdir option. We are building in place.
|
| 2654 |
|
|
ac_sub_srcdir=$srcdir${ac_subdir} ;;
|
| 2655 |
|
|
[\\/]* | ?:[\\/]* ) # Absolute path.
|
| 2656 |
|
|
ac_sub_srcdir=$srcdir/$ac_subdir ;;
|
| 2657 |
|
|
*) # Relative path.
|
| 2658 |
|
|
ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
|
| 2659 |
|
|
esac
|
| 2660 |
|
|
|
| 2661 |
|
|
# Check for guested configure; otherwise get Cygnus style configure.
|
| 2662 |
|
|
if test -f $ac_sub_srcdir/configure.gnu; then
|
| 2663 |
|
|
ac_sub_configure="$SHELL '$ac_sub_srcdir/configure.gnu'"
|
| 2664 |
|
|
elif test -f $ac_sub_srcdir/configure; then
|
| 2665 |
|
|
ac_sub_configure="$SHELL '$ac_sub_srcdir/configure'"
|
| 2666 |
|
|
elif test -f $ac_sub_srcdir/configure.in; then
|
| 2667 |
|
|
ac_sub_configure=$ac_configure
|
| 2668 |
|
|
else
|
| 2669 |
|
|
{ echo "$as_me:2669: WARNING: no configuration information is in $ac_subdir" >&5
|
| 2670 |
|
|
echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2;}
|
| 2671 |
|
|
ac_sub_configure=
|
| 2672 |
|
|
fi
|
| 2673 |
|
|
|
| 2674 |
|
|
# The recursion is here.
|
| 2675 |
|
|
if test -n "$ac_sub_configure"; then
|
| 2676 |
|
|
# Make the cache file name correct relative to the subdirectory.
|
| 2677 |
|
|
case $cache_file in
|
| 2678 |
|
|
[\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
|
| 2679 |
|
|
*) # Relative path.
|
| 2680 |
|
|
ac_sub_cache_file=$ac_dots$cache_file ;;
|
| 2681 |
|
|
esac
|
| 2682 |
|
|
|
| 2683 |
|
|
{ echo "$as_me:2683: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" >&5
|
| 2684 |
|
|
echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" >&6;}
|
| 2685 |
|
|
# The eval makes quoting arguments work.
|
| 2686 |
|
|
eval $ac_sub_configure $ac_sub_configure_args \
|
| 2687 |
|
|
--cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir ||
|
| 2688 |
|
|
{ { echo "$as_me:2688: error: $ac_sub_configure failed for $ac_subdir" >&5
|
| 2689 |
|
|
echo "$as_me: error: $ac_sub_configure failed for $ac_subdir" >&2;}
|
| 2690 |
|
|
{ (exit 1); exit 1; }; }
|
| 2691 |
|
|
fi
|
| 2692 |
|
|
|
| 2693 |
|
|
cd $ac_popdir
|
| 2694 |
|
|
done
|
| 2695 |
|
|
fi
|
| 2696 |
|
|
fi
|
| 2697 |
|
|
|
| 2698 |
|
|
# configure is writing to config.log, and then calls config.status.
|
| 2699 |
|
|
# config.status does its own redirection, appending to config.log.
|
| 2700 |
|
|
# Unfortunately, on DOS this fails, as config.log is still kept open
|
| 2701 |
|
|
# by configure, so config.status won't be able to write to it; its
|
| 2702 |
|
|
# output is simply discarded. So we exec the FD to /dev/null,
|
| 2703 |
|
|
# effectively closing config.log, so it can be properly (re)opened and
|
| 2704 |
|
|
# appended to by config.status. When coming back to configure, we
|
| 2705 |
|
|
# need to make the FD available again.
|
| 2706 |
|
|
if test "$no_create" != yes; then
|
| 2707 |
|
|
ac_cs_success=:
|
| 2708 |
|
|
exec 5>/dev/null
|
| 2709 |
|
|
$SHELL $CONFIG_STATUS || ac_cs_success=false
|
| 2710 |
|
|
exec 5>>config.log
|
| 2711 |
|
|
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
| 2712 |
|
|
# would make configure fail if this is the last instruction.
|
| 2713 |
|
|
$ac_cs_success || { (exit 1); exit 1; }
|
| 2714 |
|
|
fi
|
| 2715 |
|
|
|
| 2716 |
|
|
#
|
| 2717 |
|
|
# CONFIG_SUBDIRS section.
|
| 2718 |
|
|
#
|
| 2719 |
|
|
if test "$no_recursion" != yes; then
|
| 2720 |
|
|
|
| 2721 |
|
|
# Remove --cache-file and --srcdir arguments so they do not pile up.
|
| 2722 |
|
|
ac_sub_configure_args=
|
| 2723 |
|
|
ac_prev=
|
| 2724 |
|
|
for ac_arg in $ac_configure_args; do
|
| 2725 |
|
|
if test -n "$ac_prev"; then
|
| 2726 |
|
|
ac_prev=
|
| 2727 |
|
|
continue
|
| 2728 |
|
|
fi
|
| 2729 |
|
|
case $ac_arg in
|
| 2730 |
|
|
-cache-file | --cache-file | --cache-fil | --cache-fi \
|
| 2731 |
|
|
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
| 2732 |
|
|
ac_prev=cache_file ;;
|
| 2733 |
|
|
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
| 2734 |
|
|
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
|
| 2735 |
|
|
| --c=*)
|
| 2736 |
|
|
;;
|
| 2737 |
|
|
--config-cache | -C)
|
| 2738 |
|
|
;;
|
| 2739 |
|
|
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
| 2740 |
|
|
ac_prev=srcdir ;;
|
| 2741 |
|
|
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
| 2742 |
|
|
;;
|
| 2743 |
|
|
*) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
|
| 2744 |
|
|
esac
|
| 2745 |
|
|
done
|
| 2746 |
|
|
|
| 2747 |
|
|
for ac_subdir in : $subdirs; do test "x$ac_subdir" = x: && continue
|
| 2748 |
|
|
|
| 2749 |
|
|
# Do not complain, so a configure script can configure whichever
|
| 2750 |
|
|
# parts of a large source tree are present.
|
| 2751 |
|
|
test -d $srcdir/$ac_subdir || continue
|
| 2752 |
|
|
|
| 2753 |
|
|
{ echo "$as_me:2753: configuring in $ac_subdir" >&5
|
| 2754 |
|
|
echo "$as_me: configuring in $ac_subdir" >&6;}
|
| 2755 |
|
|
case $srcdir in
|
| 2756 |
|
|
.) ;;
|
| 2757 |
|
|
*) { case "./$ac_subdir" in
|
| 2758 |
|
|
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
|
| 2759 |
|
|
*) as_incr_dir=.;;
|
| 2760 |
|
|
esac
|
| 2761 |
|
|
as_dummy="./$ac_subdir"
|
| 2762 |
|
|
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
|
| 2763 |
|
|
case $as_mkdir_dir in
|
| 2764 |
|
|
# Skip DOS drivespec
|
| 2765 |
|
|
?:) as_incr_dir=$as_mkdir_dir ;;
|
| 2766 |
|
|
*)
|
| 2767 |
|
|
as_incr_dir=$as_incr_dir/$as_mkdir_dir
|
| 2768 |
|
|
test -d "$as_incr_dir" || mkdir "$as_incr_dir"
|
| 2769 |
|
|
;;
|
| 2770 |
|
|
esac
|
| 2771 |
|
|
done; }
|
| 2772 |
|
|
|
| 2773 |
|
|
if test -d ./$ac_subdir; then :;
|
| 2774 |
|
|
else
|
| 2775 |
|
|
{ { echo "$as_me:2775: error: cannot create \`pwd\`/$ac_subdir" >&5
|
| 2776 |
|
|
echo "$as_me: error: cannot create \`pwd\`/$ac_subdir" >&2;}
|
| 2777 |
|
|
{ (exit 1); exit 1; }; }
|
| 2778 |
|
|
fi
|
| 2779 |
|
|
;;
|
| 2780 |
|
|
esac
|
| 2781 |
|
|
|
| 2782 |
|
|
ac_popdir=`pwd`
|
| 2783 |
|
|
cd $ac_subdir
|
| 2784 |
|
|
|
| 2785 |
|
|
# A "../" for each directory in /$ac_subdir.
|
| 2786 |
|
|
ac_dots=`echo $ac_subdir |
|
| 2787 |
|
|
sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
|
| 2788 |
|
|
|
| 2789 |
|
|
case $srcdir in
|
| 2790 |
|
|
.) # No --srcdir option. We are building in place.
|
| 2791 |
|
|
ac_sub_srcdir=$srcdir ;;
|
| 2792 |
|
|
[\\/]* | ?:[\\/]* ) # Absolute path.
|
| 2793 |
|
|
ac_sub_srcdir=$srcdir/$ac_subdir ;;
|
| 2794 |
|
|
*) # Relative path.
|
| 2795 |
|
|
ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
|
| 2796 |
|
|
esac
|
| 2797 |
|
|
|
| 2798 |
|
|
# Check for guested configure; otherwise get Cygnus style configure.
|
| 2799 |
|
|
if test -f $ac_sub_srcdir/configure.gnu; then
|
| 2800 |
|
|
ac_sub_configure="$SHELL '$ac_sub_srcdir/configure.gnu'"
|
| 2801 |
|
|
elif test -f $ac_sub_srcdir/configure; then
|
| 2802 |
|
|
ac_sub_configure="$SHELL '$ac_sub_srcdir/configure'"
|
| 2803 |
|
|
elif test -f $ac_sub_srcdir/configure.in; then
|
| 2804 |
|
|
ac_sub_configure=$ac_configure
|
| 2805 |
|
|
else
|
| 2806 |
|
|
{ echo "$as_me:2806: WARNING: no configuration information is in $ac_subdir" >&5
|
| 2807 |
|
|
echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2;}
|
| 2808 |
|
|
ac_sub_configure=
|
| 2809 |
|
|
fi
|
| 2810 |
|
|
|
| 2811 |
|
|
# The recursion is here.
|
| 2812 |
|
|
if test -n "$ac_sub_configure"; then
|
| 2813 |
|
|
# Make the cache file name correct relative to the subdirectory.
|
| 2814 |
|
|
case $cache_file in
|
| 2815 |
|
|
[\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
|
| 2816 |
|
|
*) # Relative path.
|
| 2817 |
|
|
ac_sub_cache_file=$ac_dots$cache_file ;;
|
| 2818 |
|
|
esac
|
| 2819 |
|
|
|
| 2820 |
|
|
{ echo "$as_me:2820: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" >&5
|
| 2821 |
|
|
echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" >&6;}
|
| 2822 |
|
|
# The eval makes quoting arguments work.
|
| 2823 |
|
|
eval $ac_sub_configure $ac_sub_configure_args \
|
| 2824 |
|
|
--cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir ||
|
| 2825 |
|
|
{ { echo "$as_me:2825: error: $ac_sub_configure failed for $ac_subdir" >&5
|
| 2826 |
|
|
echo "$as_me: error: $ac_sub_configure failed for $ac_subdir" >&2;}
|
| 2827 |
|
|
{ (exit 1); exit 1; }; }
|
| 2828 |
|
|
fi
|
| 2829 |
|
|
|
| 2830 |
|
|
cd $ac_popdir
|
| 2831 |
|
|
done
|
| 2832 |
|
|
fi
|
| 2833 |
|
|
|