1#! /bin/sh 2 3# Guess values for system-dependent variables and create Makefiles. 4# Generated automatically using autoconf version 2.13 5# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. 6# 7# This configure script is free software; the Free Software Foundation 8# gives unlimited permission to copy, distribute and modify it. 9 10# Defaults: 11ac_help= 12ac_default_prefix=/usr/local 13# Any additions from configure.in: 14ac_help="$ac_help 15 --enable-multilib build many library versions (default)" 16ac_help="$ac_help 17 --enable-target-optspace optimize for space" 18ac_help="$ac_help 19 --enable-malloc-debugging indicate malloc debugging requested" 20ac_help="$ac_help 21 --enable-newlib-mb enable multibyte support" 22ac_help="$ac_help 23 --enable-newlib-iconv enable iconv library support" 24ac_help="$ac_help 25 --enable-newlib-builtin-converters enable specific comma-separated list of iconv converters to be built-in" 26ac_help="$ac_help 27 --enable-newlib-multithread enable support for multiple threads" 28ac_help="$ac_help 29 --enable-newlib-elix-level supply desired elix library level (1-4)" 30ac_help="$ac_help 31 --disable-newlib-io-float disable printf/scanf family float support" 32ac_help="$ac_help 33 --disable-newlib-supplied-syscalls disable newlib from supplying syscalls" 34ac_help="$ac_help 35 --enable-maintainer-mode enable make rules and dependencies not useful 36 (and sometimes confusing) to the casual installer" 37 38# Initialize some variables set by options. 39# The variables have the same names as the options, with 40# dashes changed to underlines. 41build=NONE 42cache_file=./config.cache 43exec_prefix=NONE 44host=NONE 45no_create= 46nonopt=NONE 47no_recursion= 48prefix=NONE 49program_prefix=NONE 50program_suffix=NONE 51program_transform_name=s,x,x, 52silent= 53site= 54srcdir= 55target=NONE 56verbose= 57x_includes=NONE 58x_libraries=NONE 59bindir='${exec_prefix}/bin' 60sbindir='${exec_prefix}/sbin' 61libexecdir='${exec_prefix}/libexec' 62datadir='${prefix}/share' 63sysconfdir='${prefix}/etc' 64sharedstatedir='${prefix}/com' 65localstatedir='${prefix}/var' 66libdir='${exec_prefix}/lib' 67includedir='${prefix}/include' 68oldincludedir='/usr/include' 69infodir='${prefix}/info' 70mandir='${prefix}/man' 71 72# Initialize some other variables. 73subdirs= 74MFLAGS= MAKEFLAGS= 75SHELL=${CONFIG_SHELL-/bin/sh} 76# Maximum number of lines to put in a shell here document. 77ac_max_here_lines=12 78 79ac_prev= 80for ac_option 81do 82 83 # If the previous option needs an argument, assign it. 84 if test -n "$ac_prev"; then 85 eval "$ac_prev=\$ac_option" 86 ac_prev= 87 continue 88 fi 89 90 case "$ac_option" in 91 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; 92 *) ac_optarg= ;; 93 esac 94 95 # Accept the important Cygnus configure options, so we can diagnose typos. 96 97 case "$ac_option" in 98 99 -bindir | --bindir | --bindi | --bind | --bin | --bi) 100 ac_prev=bindir ;; 101 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 102 bindir="$ac_optarg" ;; 103 104 -build | --build | --buil | --bui | --bu) 105 ac_prev=build ;; 106 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 107 build="$ac_optarg" ;; 108 109 -cache-file | --cache-file | --cache-fil | --cache-fi \ 110 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 111 ac_prev=cache_file ;; 112 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 113 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 114 cache_file="$ac_optarg" ;; 115 116 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 117 ac_prev=datadir ;; 118 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 119 | --da=*) 120 datadir="$ac_optarg" ;; 121 122 -disable-* | --disable-*) 123 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` 124 # Reject names that are not valid shell variable names. 125 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then 126 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } 127 fi 128 ac_feature=`echo $ac_feature| sed 's/-/_/g'` 129 eval "enable_${ac_feature}=no" ;; 130 131 -enable-* | --enable-*) 132 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` 133 # Reject names that are not valid shell variable names. 134 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then 135 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } 136 fi 137 ac_feature=`echo $ac_feature| sed 's/-/_/g'` 138 case "$ac_option" in 139 *=*) ;; 140 *) ac_optarg=yes ;; 141 esac 142 eval "enable_${ac_feature}='$ac_optarg'" ;; 143 144 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 145 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 146 | --exec | --exe | --ex) 147 ac_prev=exec_prefix ;; 148 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 149 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 150 | --exec=* | --exe=* | --ex=*) 151 exec_prefix="$ac_optarg" ;; 152 153 -gas | --gas | --ga | --g) 154 # Obsolete; use --with-gas. 155 with_gas=yes ;; 156 157 -help | --help | --hel | --he) 158 # Omit some internal or obsolete options to make the list less imposing. 159 # This message is too long to be a string in the A/UX 3.1 sh. 160 cat << EOF 161Usage: configure [options] [host] 162Options: [defaults in brackets after descriptions] 163Configuration: 164 --cache-file=FILE cache test results in FILE 165 --help print this message 166 --no-create do not create output files 167 --quiet, --silent do not print \`checking...' messages 168 --version print the version of autoconf that created configure 169Directory and file names: 170 --prefix=PREFIX install architecture-independent files in PREFIX 171 [$ac_default_prefix] 172 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 173 [same as prefix] 174 --bindir=DIR user executables in DIR [EPREFIX/bin] 175 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] 176 --libexecdir=DIR program executables in DIR [EPREFIX/libexec] 177 --datadir=DIR read-only architecture-independent data in DIR 178 [PREFIX/share] 179 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] 180 --sharedstatedir=DIR modifiable architecture-independent data in DIR 181 [PREFIX/com] 182 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] 183 --libdir=DIR object code libraries in DIR [EPREFIX/lib] 184 --includedir=DIR C header files in DIR [PREFIX/include] 185 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] 186 --infodir=DIR info documentation in DIR [PREFIX/info] 187 --mandir=DIR man documentation in DIR [PREFIX/man] 188 --srcdir=DIR find the sources in DIR [configure dir or ..] 189 --program-prefix=PREFIX prepend PREFIX to installed program names 190 --program-suffix=SUFFIX append SUFFIX to installed program names 191 --program-transform-name=PROGRAM 192 run sed PROGRAM on installed program names 193EOF 194 cat << EOF 195Host type: 196 --build=BUILD configure for building on BUILD [BUILD=HOST] 197 --host=HOST configure for HOST [guessed] 198 --target=TARGET configure for TARGET [TARGET=HOST] 199Features and packages: 200 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 201 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 202 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 203 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 204 --x-includes=DIR X include files are in DIR 205 --x-libraries=DIR X library files are in DIR 206EOF 207 if test -n "$ac_help"; then 208 echo "--enable and --with options recognized:$ac_help" 209 fi 210 exit 0 ;; 211 212 -host | --host | --hos | --ho) 213 ac_prev=host ;; 214 -host=* | --host=* | --hos=* | --ho=*) 215 host="$ac_optarg" ;; 216 217 -includedir | --includedir | --includedi | --included | --include \ 218 | --includ | --inclu | --incl | --inc) 219 ac_prev=includedir ;; 220 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 221 | --includ=* | --inclu=* | --incl=* | --inc=*) 222 includedir="$ac_optarg" ;; 223 224 -infodir | --infodir | --infodi | --infod | --info | --inf) 225 ac_prev=infodir ;; 226 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 227 infodir="$ac_optarg" ;; 228 229 -libdir | --libdir | --libdi | --libd) 230 ac_prev=libdir ;; 231 -libdir=* | --libdir=* | --libdi=* | --libd=*) 232 libdir="$ac_optarg" ;; 233 234 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 235 | --libexe | --libex | --libe) 236 ac_prev=libexecdir ;; 237 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 238 | --libexe=* | --libex=* | --libe=*) 239 libexecdir="$ac_optarg" ;; 240 241 -localstatedir | --localstatedir | --localstatedi | --localstated \ 242 | --localstate | --localstat | --localsta | --localst \ 243 | --locals | --local | --loca | --loc | --lo) 244 ac_prev=localstatedir ;; 245 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 246 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 247 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 248 localstatedir="$ac_optarg" ;; 249 250 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 251 ac_prev=mandir ;; 252 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 253 mandir="$ac_optarg" ;; 254 255 -nfp | --nfp | --nf) 256 # Obsolete; use --without-fp. 257 with_fp=no ;; 258 259 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 260 | --no-cr | --no-c) 261 no_create=yes ;; 262 263 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 264 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 265 no_recursion=yes ;; 266 267 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 268 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 269 | --oldin | --oldi | --old | --ol | --o) 270 ac_prev=oldincludedir ;; 271 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 272 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 273 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 274 oldincludedir="$ac_optarg" ;; 275 276 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 277 ac_prev=prefix ;; 278 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 279 prefix="$ac_optarg" ;; 280 281 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 282 | --program-pre | --program-pr | --program-p) 283 ac_prev=program_prefix ;; 284 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 285 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 286 program_prefix="$ac_optarg" ;; 287 288 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 289 | --program-suf | --program-su | --program-s) 290 ac_prev=program_suffix ;; 291 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 292 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 293 program_suffix="$ac_optarg" ;; 294 295 -program-transform-name | --program-transform-name \ 296 | --program-transform-nam | --program-transform-na \ 297 | --program-transform-n | --program-transform- \ 298 | --program-transform | --program-transfor \ 299 | --program-transfo | --program-transf \ 300 | --program-trans | --program-tran \ 301 | --progr-tra | --program-tr | --program-t) 302 ac_prev=program_transform_name ;; 303 -program-transform-name=* | --program-transform-name=* \ 304 | --program-transform-nam=* | --program-transform-na=* \ 305 | --program-transform-n=* | --program-transform-=* \ 306 | --program-transform=* | --program-transfor=* \ 307 | --program-transfo=* | --program-transf=* \ 308 | --program-trans=* | --program-tran=* \ 309 | --progr-tra=* | --program-tr=* | --program-t=*) 310 program_transform_name="$ac_optarg" ;; 311 312 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 313 | -silent | --silent | --silen | --sile | --sil) 314 silent=yes ;; 315 316 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 317 ac_prev=sbindir ;; 318 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 319 | --sbi=* | --sb=*) 320 sbindir="$ac_optarg" ;; 321 322 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 323 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 324 | --sharedst | --shareds | --shared | --share | --shar \ 325 | --sha | --sh) 326 ac_prev=sharedstatedir ;; 327 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 328 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 329 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 330 | --sha=* | --sh=*) 331 sharedstatedir="$ac_optarg" ;; 332 333 -site | --site | --sit) 334 ac_prev=site ;; 335 -site=* | --site=* | --sit=*) 336 site="$ac_optarg" ;; 337 338 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 339 ac_prev=srcdir ;; 340 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 341 srcdir="$ac_optarg" ;; 342 343 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 344 | --syscon | --sysco | --sysc | --sys | --sy) 345 ac_prev=sysconfdir ;; 346 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 347 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 348 sysconfdir="$ac_optarg" ;; 349 350 -target | --target | --targe | --targ | --tar | --ta | --t) 351 ac_prev=target ;; 352 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 353 target="$ac_optarg" ;; 354 355 -v | -verbose | --verbose | --verbos | --verbo | --verb) 356 verbose=yes ;; 357 358 -version | --version | --versio | --versi | --vers) 359 echo "configure generated by autoconf version 2.13" 360 exit 0 ;; 361 362 -with-* | --with-*) 363 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` 364 # Reject names that are not valid shell variable names. 365 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then 366 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } 367 fi 368 ac_package=`echo $ac_package| sed 's/-/_/g'` 369 case "$ac_option" in 370 *=*) ;; 371 *) ac_optarg=yes ;; 372 esac 373 eval "with_${ac_package}='$ac_optarg'" ;; 374 375 -without-* | --without-*) 376 ac_package=`echo $ac_option|sed -e 's/-*without-//'` 377 # Reject names that are not valid shell variable names. 378 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then 379 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } 380 fi 381 ac_package=`echo $ac_package| sed 's/-/_/g'` 382 eval "with_${ac_package}=no" ;; 383 384 --x) 385 # Obsolete; use --with-x. 386 with_x=yes ;; 387 388 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 389 | --x-incl | --x-inc | --x-in | --x-i) 390 ac_prev=x_includes ;; 391 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 392 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 393 x_includes="$ac_optarg" ;; 394 395 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 396 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 397 ac_prev=x_libraries ;; 398 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 399 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 400 x_libraries="$ac_optarg" ;; 401 402 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } 403 ;; 404 405 *) 406 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then 407 echo "configure: warning: $ac_option: invalid host type" 1>&2 408 fi 409 if test "x$nonopt" != xNONE; then 410 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } 411 fi 412 nonopt="$ac_option" 413 ;; 414 415 esac 416done 417 418if test -n "$ac_prev"; then 419 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } 420fi 421 422trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 423 424# File descriptor usage: 425# 0 standard input 426# 1 file creation 427# 2 errors and warnings 428# 3 some systems may open it to /dev/tty 429# 4 used on the Kubota Titan 430# 6 checking for... messages and results 431# 5 compiler messages saved in config.log 432if test "$silent" = yes; then 433 exec 6>/dev/null 434else 435 exec 6>&1 436fi 437exec 5>./config.log 438 439echo "\ 440This file contains any messages produced by compilers while 441running configure, to aid debugging if configure makes a mistake. 442" 1>&5 443 444# Strip out --no-create and --no-recursion so they do not pile up. 445# Also quote any args containing shell metacharacters. 446ac_configure_args= 447for ac_arg 448do 449 case "$ac_arg" in 450 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 451 | --no-cr | --no-c) ;; 452 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 453 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; 454 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) 455 ac_configure_args="$ac_configure_args '$ac_arg'" ;; 456 *) ac_configure_args="$ac_configure_args $ac_arg" ;; 457 esac 458done 459 460# NLS nuisances. 461# Only set these to C if already set. These must not be set unconditionally 462# because not all systems understand e.g. LANG=C (notably SCO). 463# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! 464# Non-C LC_CTYPE values break the ctype check. 465if test "${LANG+set}" = set; then LANG=C; export LANG; fi 466if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi 467if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi 468if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi 469 470# confdefs.h avoids OS command line length limits that DEFS can exceed. 471rm -rf conftest* confdefs.h 472# AIX cpp loses on an empty file, so make sure it contains at least a newline. 473echo > confdefs.h 474 475# A filename unique to this package, relative to the directory that 476# configure is in, which we can look for to find out if srcdir is correct. 477ac_unique_file=cmpsi.c 478 479# Find the source files, if location was not specified. 480if test -z "$srcdir"; then 481 ac_srcdir_defaulted=yes 482 # Try the directory containing this script, then its parent. 483 ac_prog=$0 484 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` 485 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. 486 srcdir=$ac_confdir 487 if test ! -r $srcdir/$ac_unique_file; then 488 srcdir=.. 489 fi 490else 491 ac_srcdir_defaulted=no 492fi 493if test ! -r $srcdir/$ac_unique_file; then 494 if test "$ac_srcdir_defaulted" = yes; then 495 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } 496 else 497 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } 498 fi 499fi 500srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` 501 502# Prefer explicitly selected file to automatically selected ones. 503if test -z "$CONFIG_SITE"; then 504 if test "x$prefix" != xNONE; then 505 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 506 else 507 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 508 fi 509fi 510for ac_site_file in $CONFIG_SITE; do 511 if test -r "$ac_site_file"; then 512 echo "loading site script $ac_site_file" 513 . "$ac_site_file" 514 fi 515done 516 517if test -r "$cache_file"; then 518 echo "loading cache $cache_file" 519 . $cache_file 520else 521 echo "creating cache $cache_file" 522 > $cache_file 523fi 524 525ac_ext=c 526# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 527ac_cpp='$CPP $CPPFLAGS' 528ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 529ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 530cross_compiling=$ac_cv_prog_cc_cross 531 532ac_exeext= 533ac_objext=o 534if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then 535 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. 536 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then 537 ac_n= ac_c=' 538' ac_t=' ' 539 else 540 ac_n=-n ac_c= ac_t= 541 fi 542else 543 ac_n= ac_c='\c' ac_t= 544fi 545 546 547 548ac_aux_dir= 549for ac_dir in ../../../.. $srcdir/../../../..; do 550 if test -f $ac_dir/install-sh; then 551 ac_aux_dir=$ac_dir 552 ac_install_sh="$ac_aux_dir/install-sh -c" 553 break 554 elif test -f $ac_dir/install.sh; then 555 ac_aux_dir=$ac_dir 556 ac_install_sh="$ac_aux_dir/install.sh -c" 557 break 558 fi 559done 560if test -z "$ac_aux_dir"; then 561 { echo "configure: error: can not find install-sh or install.sh in ../../../.. $srcdir/../../../.." 1>&2; exit 1; } 562fi 563ac_config_guess=$ac_aux_dir/config.guess 564ac_config_sub=$ac_aux_dir/config.sub 565ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. 566 567 568am__api_version="1.4" 569# Find a good install program. We prefer a C program (faster), 570# so one script is as good as another. But avoid the broken or 571# incompatible versions: 572# SysV /etc/install, /usr/sbin/install 573# SunOS /usr/etc/install 574# IRIX /sbin/install 575# AIX /bin/install 576# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 577# AFS /usr/afsws/bin/install, which mishandles nonexistent args 578# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 579# ./install, which can be erroneously created by make from ./install.sh. 580echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 581echo "configure:582: checking for a BSD compatible install" >&5 582if test -z "$INSTALL"; then 583if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 584 echo $ac_n "(cached) $ac_c" 1>&6 585else 586 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" 587 for ac_dir in $PATH; do 588 # Account for people who put trailing slashes in PATH elements. 589 case "$ac_dir/" in 590 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; 591 *) 592 # OSF1 and SCO ODT 3.0 have their own names for install. 593 # Don't use installbsd from OSF since it installs stuff as root 594 # by default. 595 for ac_prog in ginstall scoinst install; do 596 if test -f $ac_dir/$ac_prog; then 597 if test $ac_prog = install && 598 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then 599 # AIX install. It has an incompatible calling convention. 600 : 601 else 602 ac_cv_path_install="$ac_dir/$ac_prog -c" 603 break 2 604 fi 605 fi 606 done 607 ;; 608 esac 609 done 610 IFS="$ac_save_IFS" 611 612fi 613 if test "${ac_cv_path_install+set}" = set; then 614 INSTALL="$ac_cv_path_install" 615 else 616 # As a last resort, use the slow shell script. We don't cache a 617 # path for INSTALL within a source directory, because that will 618 # break other packages using the cache if that directory is 619 # removed, or if the path is relative. 620 INSTALL="$ac_install_sh" 621 fi 622fi 623echo "$ac_t""$INSTALL" 1>&6 624 625# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 626# It thinks the first close brace ends the variable substitution. 627test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 628 629test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' 630 631test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 632 633echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 634echo "configure:635: checking whether build environment is sane" >&5 635# Just in case 636sleep 1 637echo timestamp > conftestfile 638# Do `set' in a subshell so we don't clobber the current shell's 639# arguments. Must try -L first in case configure is actually a 640# symlink; some systems play weird games with the mod time of symlinks 641# (eg FreeBSD returns the mod time of the symlink's containing 642# directory). 643if ( 644 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` 645 if test "$*" = "X"; then 646 # -L didn't work. 647 set X `ls -t $srcdir/configure conftestfile` 648 fi 649 if test "$*" != "X $srcdir/configure conftestfile" \ 650 && test "$*" != "X conftestfile $srcdir/configure"; then 651 652 # If neither matched, then we have a broken ls. This can happen 653 # if, for instance, CONFIG_SHELL is bash and it inherits a 654 # broken ls alias from the environment. This has actually 655 # happened. Such a system could not be considered "sane". 656 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken 657alias in your environment" 1>&2; exit 1; } 658 fi 659 660 test "$2" = conftestfile 661 ) 662then 663 # Ok. 664 : 665else 666 { echo "configure: error: newly created file is older than distributed files! 667Check your system clock" 1>&2; exit 1; } 668fi 669rm -f conftest* 670echo "$ac_t""yes" 1>&6 671if test "$program_transform_name" = s,x,x,; then 672 program_transform_name= 673else 674 # Double any \ or $. echo might interpret backslashes. 675 cat <<\EOF_SED > conftestsed 676s,\\,\\\\,g; s,\$,$$,g 677EOF_SED 678 program_transform_name="`echo $program_transform_name|sed -f conftestsed`" 679 rm -f conftestsed 680fi 681test "$program_prefix" != NONE && 682 program_transform_name="s,^,${program_prefix},; $program_transform_name" 683# Use a double $ so make ignores it. 684test "$program_suffix" != NONE && 685 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" 686 687# sed with no file args requires a program. 688test "$program_transform_name" = "" && program_transform_name="s,x,x," 689 690echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 691echo "configure:692: checking whether ${MAKE-make} sets \${MAKE}" >&5 692set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 693if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 694 echo $ac_n "(cached) $ac_c" 1>&6 695else 696 cat > conftestmake <<\EOF 697all: 698 @echo 'ac_maketemp="${MAKE}"' 699EOF 700# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 701eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` 702if test -n "$ac_maketemp"; then 703 eval ac_cv_prog_make_${ac_make}_set=yes 704else 705 eval ac_cv_prog_make_${ac_make}_set=no 706fi 707rm -f conftestmake 708fi 709if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 710 echo "$ac_t""yes" 1>&6 711 SET_MAKE= 712else 713 echo "$ac_t""no" 1>&6 714 SET_MAKE="MAKE=${MAKE-make}" 715fi 716 717if test $host != $build; then 718 ac_tool_prefix=${host_alias}- 719else 720 ac_tool_prefix= 721fi 722 723echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 724echo "configure:725: checking for Cygwin environment" >&5 725if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 726 echo $ac_n "(cached) $ac_c" 1>&6 727else 728 cat > conftest.$ac_ext <<EOF 729#line 730 "configure" 730#include "confdefs.h" 731 732int main() { 733 734#ifndef __CYGWIN__ 735#define __CYGWIN__ __CYGWIN32__ 736#endif 737return __CYGWIN__; 738; return 0; } 739EOF 740if { (eval echo configure:741: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 741 rm -rf conftest* 742 ac_cv_cygwin=yes 743else 744 echo "configure: failed program was:" >&5 745 cat conftest.$ac_ext >&5 746 rm -rf conftest* 747 ac_cv_cygwin=no 748fi 749rm -f conftest* 750rm -f conftest* 751fi 752 753echo "$ac_t""$ac_cv_cygwin" 1>&6 754CYGWIN= 755test "$ac_cv_cygwin" = yes && CYGWIN=yes 756echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 757echo "configure:758: checking for mingw32 environment" >&5 758if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 759 echo $ac_n "(cached) $ac_c" 1>&6 760else 761 cat > conftest.$ac_ext <<EOF 762#line 763 "configure" 763#include "confdefs.h" 764 765int main() { 766return __MINGW32__; 767; return 0; } 768EOF 769if { (eval echo configure:770: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 770 rm -rf conftest* 771 ac_cv_mingw32=yes 772else 773 echo "configure: failed program was:" >&5 774 cat conftest.$ac_ext >&5 775 rm -rf conftest* 776 ac_cv_mingw32=no 777fi 778rm -f conftest* 779rm -f conftest* 780fi 781 782echo "$ac_t""$ac_cv_mingw32" 1>&6 783MINGW32= 784test "$ac_cv_mingw32" = yes && MINGW32=yes 785 786# Check whether --enable-multilib or --disable-multilib was given. 787if test "${enable_multilib+set}" = set; then 788 enableval="$enable_multilib" 789 case "${enableval}" in 790 yes) multilib=yes ;; 791 no) multilib=no ;; 792 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;; 793 esac 794else 795 multilib=yes 796fi 797 798# Check whether --enable-target-optspace or --disable-target-optspace was given. 799if test "${enable_target_optspace+set}" = set; then 800 enableval="$enable_target_optspace" 801 case "${enableval}" in 802 yes) target_optspace=yes ;; 803 no) target_optspace=no ;; 804 *) { echo "configure: error: bad value ${enableval} for target-optspace option" 1>&2; exit 1; } ;; 805 esac 806else 807 target_optspace= 808fi 809 810# Check whether --enable-malloc-debugging or --disable-malloc-debugging was given. 811if test "${enable_malloc_debugging+set}" = set; then 812 enableval="$enable_malloc_debugging" 813 case "${enableval}" in 814 yes) malloc_debugging=yes ;; 815 no) malloc_debugging=no ;; 816 *) { echo "configure: error: bad value ${enableval} for malloc-debugging option" 1>&2; exit 1; } ;; 817 esac 818else 819 malloc_debugging= 820fi 821 822# Check whether --enable-newlib-mb or --disable-newlib-mb was given. 823if test "${enable_newlib_mb+set}" = set; then 824 enableval="$enable_newlib_mb" 825 case "${enableval}" in 826 yes) newlib_mb=yes ;; 827 no) newlib_mb=no ;; 828 *) { echo "configure: error: bad value ${enableval} for newlib-mb option" 1>&2; exit 1; } ;; 829 esac 830else 831 newlib_mb= 832fi 833 834# Check whether --enable-newlib-iconv or --disable-newlib-iconv was given. 835if test "${enable_newlib_iconv+set}" = set; then 836 enableval="$enable_newlib_iconv" 837 case "${enableval}" in 838 yes) newlib_iconv=yes ;; 839 no) newlib_iconv=no ;; 840 *) { echo "configure: error: bad value ${enableval} for newlib-iconv option" 1>&2; exit 1; } ;; 841 esac 842else 843 newlib_iconv= 844fi 845 846# Check whether --enable-newlib-builtin-converters or --disable-newlib-builtin-converters was given. 847if test "${enable_newlib_builtin_converters+set}" = set; then 848 enableval="$enable_newlib_builtin_converters" 849 if test x${enableval} = x; then 850 { echo "configure: error: bad value ${enableval} for newlib-builtin-converters option - use comma-separated list" 1>&2; exit 1; } 851 fi 852 builtin_converters=${enableval} 853 854else 855 builtin_converters= 856fi 857 858# Check whether --enable-newlib-multithread or --disable-newlib-multithread was given. 859if test "${enable_newlib_multithread+set}" = set; then 860 enableval="$enable_newlib_multithread" 861 case "${enableval}" in 862 yes) newlib_multithread=yes ;; 863 no) newlib_multithread=no ;; 864 *) { echo "configure: error: bad value ${enableval} for newlib-multithread option" 1>&2; exit 1; } ;; 865 esac 866else 867 newlib_multithread=yes 868fi 869 870# Check whether --enable-newlib-elix-level or --disable-newlib-elix-level was given. 871if test "${enable_newlib_elix_level+set}" = set; then 872 enableval="$enable_newlib_elix_level" 873 case "${enableval}" in 874 0) newlib_elix_level=0 ;; 875 1) newlib_elix_level=1 ;; 876 2) newlib_elix_level=2 ;; 877 3) newlib_elix_level=3 ;; 878 4) newlib_elix_level=4 ;; 879 *) { echo "configure: error: bad value ${enableval} for newlib-elix-level option" 1>&2; exit 1; } ;; 880 esac 881else 882 newlib_elix_level=0 883fi 884 885# Check whether --enable-newlib-io-float or --disable-newlib-io-float was given. 886if test "${enable_newlib_io_float+set}" = set; then 887 enableval="$enable_newlib_io_float" 888 case "${enableval}" in 889 yes) newlib_io_float=yes ;; 890 no) newlib_io_float=no ;; 891 *) { echo "configure: error: bad value ${enableval} for newlib-io-float option" 1>&2; exit 1; } ;; 892 esac 893else 894 newlib_io_float=yes 895fi 896 897# Check whether --enable-newlib-supplied-syscalls or --disable-newlib-supplied-syscalls was given. 898if test "${enable_newlib_supplied_syscalls+set}" = set; then 899 enableval="$enable_newlib_supplied_syscalls" 900 case "${enableval}" in 901 yes) newlib_may_supply_syscalls=yes ;; 902 no) newlib_may_supply_syscalls=no ;; 903 *) { echo "configure: error: bad value ${enableval} for newlib-supplied-syscalls option" 1>&2; exit 1; } ;; 904 esac 905else 906 newlib_may_supply_syscalls=yes 907fi 908 909 910 911if test x${newlib_may_supply_syscalls} = xyes; then 912 MAY_SUPPLY_SYSCALLS_TRUE= 913 MAY_SUPPLY_SYSCALLS_FALSE='#' 914else 915 MAY_SUPPLY_SYSCALLS_TRUE='#' 916 MAY_SUPPLY_SYSCALLS_FALSE= 917fi 918 919 920test -z "${with_target_subdir}" && with_target_subdir=. 921 922if test "${srcdir}" = "."; then 923 if test "${with_target_subdir}" != "."; then 924 newlib_basedir="${srcdir}/${with_multisrctop}../../../.." 925 else 926 newlib_basedir="${srcdir}/${with_multisrctop}../../.." 927 fi 928else 929 newlib_basedir="${srcdir}/../../.." 930fi 931 932 933 934# Do some error checking and defaulting for the host and target type. 935# The inputs are: 936# configure --host=HOST --target=TARGET --build=BUILD NONOPT 937# 938# The rules are: 939# 1. You are not allowed to specify --host, --target, and nonopt at the 940# same time. 941# 2. Host defaults to nonopt. 942# 3. If nonopt is not specified, then host defaults to the current host, 943# as determined by config.guess. 944# 4. Target and build default to nonopt. 945# 5. If nonopt is not specified, then target and build default to host. 946 947# The aliases save the names the user supplied, while $host etc. 948# will get canonicalized. 949case $host---$target---$nonopt in 950NONE---*---* | *---NONE---* | *---*---NONE) ;; 951*) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; 952esac 953 954 955# Make sure we can run config.sub. 956if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : 957else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } 958fi 959 960echo $ac_n "checking host system type""... $ac_c" 1>&6 961echo "configure:962: checking host system type" >&5 962 963host_alias=$host 964case "$host_alias" in 965NONE) 966 case $nonopt in 967 NONE) 968 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : 969 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } 970 fi ;; 971 *) host_alias=$nonopt ;; 972 esac ;; 973esac 974 975host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` 976host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 977host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 978host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 979echo "$ac_t""$host" 1>&6 980 981echo $ac_n "checking target system type""... $ac_c" 1>&6 982echo "configure:983: checking target system type" >&5 983 984target_alias=$target 985case "$target_alias" in 986NONE) 987 case $nonopt in 988 NONE) target_alias=$host_alias ;; 989 *) target_alias=$nonopt ;; 990 esac ;; 991esac 992 993target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` 994target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 995target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 996target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 997echo "$ac_t""$target" 1>&6 998 999echo $ac_n "checking build system type""... $ac_c" 1>&6 1000echo "configure:1001: checking build system type" >&5 1001 1002build_alias=$build 1003case "$build_alias" in 1004NONE) 1005 case $nonopt in 1006 NONE) build_alias=$host_alias ;; 1007 *) build_alias=$nonopt ;; 1008 esac ;; 1009esac 1010 1011build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` 1012build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1013build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1014build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1015echo "$ac_t""$build" 1>&6 1016 1017test "$host_alias" != "$target_alias" && 1018 test "$program_prefix$program_suffix$program_transform_name" = \ 1019 NONENONEs,x,x, && 1020 program_prefix=${target_alias}- 1021 1022 1023 1024PACKAGE=newlib 1025 1026VERSION=1.12.0 1027 1028if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then 1029 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } 1030fi 1031cat >> confdefs.h <<EOF 1032#define PACKAGE "$PACKAGE" 1033EOF 1034 1035cat >> confdefs.h <<EOF 1036#define VERSION "$VERSION" 1037EOF 1038 1039 1040 1041missing_dir=`cd $ac_aux_dir && pwd` 1042echo $ac_n "checking for working aclocal-${am__api_version}""... $ac_c" 1>&6 1043echo "configure:1044: checking for working aclocal-${am__api_version}" >&5 1044# Run test in a subshell; some versions of sh will print an error if 1045# an executable is not found, even if stderr is redirected. 1046# Redirect stdin to placate older versions of autoconf. Sigh. 1047if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then 1048 ACLOCAL=aclocal-${am__api_version} 1049 echo "$ac_t""found" 1>&6 1050else 1051 ACLOCAL="$missing_dir/missing aclocal-${am__api_version}" 1052 echo "$ac_t""missing" 1>&6 1053fi 1054 1055echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 1056echo "configure:1057: checking for working autoconf" >&5 1057# Run test in a subshell; some versions of sh will print an error if 1058# an executable is not found, even if stderr is redirected. 1059# Redirect stdin to placate older versions of autoconf. Sigh. 1060if (autoconf --version) < /dev/null > /dev/null 2>&1; then 1061 AUTOCONF=autoconf 1062 echo "$ac_t""found" 1>&6 1063else 1064 AUTOCONF="$missing_dir/missing autoconf" 1065 echo "$ac_t""missing" 1>&6 1066fi 1067 1068echo $ac_n "checking for working automake-${am__api_version}""... $ac_c" 1>&6 1069echo "configure:1070: checking for working automake-${am__api_version}" >&5 1070# Run test in a subshell; some versions of sh will print an error if 1071# an executable is not found, even if stderr is redirected. 1072# Redirect stdin to placate older versions of autoconf. Sigh. 1073if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then 1074 AUTOMAKE=automake-${am__api_version} 1075 echo "$ac_t""found" 1>&6 1076else 1077 AUTOMAKE="$missing_dir/missing automake-${am__api_version}" 1078 echo "$ac_t""missing" 1>&6 1079fi 1080 1081echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 1082echo "configure:1083: checking for working autoheader" >&5 1083# Run test in a subshell; some versions of sh will print an error if 1084# an executable is not found, even if stderr is redirected. 1085# Redirect stdin to placate older versions of autoconf. Sigh. 1086if (autoheader --version) < /dev/null > /dev/null 2>&1; then 1087 AUTOHEADER=autoheader 1088 echo "$ac_t""found" 1>&6 1089else 1090 AUTOHEADER="$missing_dir/missing autoheader" 1091 echo "$ac_t""missing" 1>&6 1092fi 1093 1094echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 1095echo "configure:1096: checking for working makeinfo" >&5 1096# Run test in a subshell; some versions of sh will print an error if 1097# an executable is not found, even if stderr is redirected. 1098# Redirect stdin to placate older versions of autoconf. Sigh. 1099if (makeinfo --version) < /dev/null > /dev/null 2>&1; then 1100 MAKEINFO=makeinfo 1101 echo "$ac_t""found" 1>&6 1102else 1103 MAKEINFO="$missing_dir/missing makeinfo" 1104 echo "$ac_t""missing" 1>&6 1105fi 1106 1107 1108 1109# FIXME: We temporarily define our own version of AC_PROG_CC. This is 1110# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We 1111# are probably using a cross compiler, which will not be able to fully 1112# link an executable. This should really be fixed in autoconf 1113# itself. 1114 1115 1116 1117# Extract the first word of "gcc", so it can be a program name with args. 1118set dummy gcc; ac_word=$2 1119echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1120echo "configure:1121: checking for $ac_word" >&5 1121if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1122 echo $ac_n "(cached) $ac_c" 1>&6 1123else 1124 if test -n "$CC"; then 1125 ac_cv_prog_CC="$CC" # Let the user override the test. 1126else 1127 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1128 ac_dummy="$PATH" 1129 for ac_dir in $ac_dummy; do 1130 test -z "$ac_dir" && ac_dir=. 1131 if test -f $ac_dir/$ac_word; then 1132 ac_cv_prog_CC="gcc" 1133 break 1134 fi 1135 done 1136 IFS="$ac_save_ifs" 1137fi 1138fi 1139CC="$ac_cv_prog_CC" 1140if test -n "$CC"; then 1141 echo "$ac_t""$CC" 1>&6 1142else 1143 echo "$ac_t""no" 1>&6 1144fi 1145 1146if test -z "$CC"; then 1147 # Extract the first word of "cc", so it can be a program name with args. 1148set dummy cc; ac_word=$2 1149echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1150echo "configure:1151: checking for $ac_word" >&5 1151if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1152 echo $ac_n "(cached) $ac_c" 1>&6 1153else 1154 if test -n "$CC"; then 1155 ac_cv_prog_CC="$CC" # Let the user override the test. 1156else 1157 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1158 ac_prog_rejected=no 1159 ac_dummy="$PATH" 1160 for ac_dir in $ac_dummy; do 1161 test -z "$ac_dir" && ac_dir=. 1162 if test -f $ac_dir/$ac_word; then 1163 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 1164 ac_prog_rejected=yes 1165 continue 1166 fi 1167 ac_cv_prog_CC="cc" 1168 break 1169 fi 1170 done 1171 IFS="$ac_save_ifs" 1172if test $ac_prog_rejected = yes; then 1173 # We found a bogon in the path, so make sure we never use it. 1174 set dummy $ac_cv_prog_CC 1175 shift 1176 if test $# -gt 0; then 1177 # We chose a different compiler from the bogus one. 1178 # However, it has the same basename, so the bogon will be chosen 1179 # first if we set CC to just the basename; use the full file name. 1180 shift 1181 set dummy "$ac_dir/$ac_word" "$@" 1182 shift 1183 ac_cv_prog_CC="$@" 1184 fi 1185fi 1186fi 1187fi 1188CC="$ac_cv_prog_CC" 1189if test -n "$CC"; then 1190 echo "$ac_t""$CC" 1>&6 1191else 1192 echo "$ac_t""no" 1>&6 1193fi 1194 1195 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 1196fi 1197 1198echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1199echo "configure:1200: checking whether we are using GNU C" >&5 1200if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1201 echo $ac_n "(cached) $ac_c" 1>&6 1202else 1203 cat > conftest.c <<EOF 1204#ifdef __GNUC__ 1205 yes; 1206#endif 1207EOF 1208if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1209: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1209 ac_cv_prog_gcc=yes 1210else 1211 ac_cv_prog_gcc=no 1212fi 1213fi 1214 1215echo "$ac_t""$ac_cv_prog_gcc" 1>&6 1216 1217if test $ac_cv_prog_gcc = yes; then 1218 GCC=yes 1219 ac_test_CFLAGS="${CFLAGS+set}" 1220 ac_save_CFLAGS="$CFLAGS" 1221 CFLAGS= 1222 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1223echo "configure:1224: checking whether ${CC-cc} accepts -g" >&5 1224if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1225 echo $ac_n "(cached) $ac_c" 1>&6 1226else 1227 echo 'void f(){}' > conftest.c 1228if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 1229 ac_cv_prog_cc_g=yes 1230else 1231 ac_cv_prog_cc_g=no 1232fi 1233rm -f conftest* 1234 1235fi 1236 1237echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 1238 if test "$ac_test_CFLAGS" = set; then 1239 CFLAGS="$ac_save_CFLAGS" 1240 elif test $ac_cv_prog_cc_g = yes; then 1241 CFLAGS="-g -O2" 1242 else 1243 CFLAGS="-O2" 1244 fi 1245else 1246 GCC= 1247 test "${CFLAGS+set}" = set || CFLAGS="-g" 1248fi 1249 1250 1251# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 1252set dummy ${ac_tool_prefix}as; ac_word=$2 1253echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1254echo "configure:1255: checking for $ac_word" >&5 1255if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then 1256 echo $ac_n "(cached) $ac_c" 1>&6 1257else 1258 if test -n "$AS"; then 1259 ac_cv_prog_AS="$AS" # Let the user override the test. 1260else 1261 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1262 ac_dummy="$PATH" 1263 for ac_dir in $ac_dummy; do 1264 test -z "$ac_dir" && ac_dir=. 1265 if test -f $ac_dir/$ac_word; then 1266 ac_cv_prog_AS="${ac_tool_prefix}as" 1267 break 1268 fi 1269 done 1270 IFS="$ac_save_ifs" 1271 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as" 1272fi 1273fi 1274AS="$ac_cv_prog_AS" 1275if test -n "$AS"; then 1276 echo "$ac_t""$AS" 1>&6 1277else 1278 echo "$ac_t""no" 1>&6 1279fi 1280 1281 1282 1283# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 1284set dummy ${ac_tool_prefix}ar; ac_word=$2 1285echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1286echo "configure:1287: checking for $ac_word" >&5 1287if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then 1288 echo $ac_n "(cached) $ac_c" 1>&6 1289else 1290 if test -n "$AR"; then 1291 ac_cv_prog_AR="$AR" # Let the user override the test. 1292else 1293 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1294 ac_dummy="$PATH" 1295 for ac_dir in $ac_dummy; do 1296 test -z "$ac_dir" && ac_dir=. 1297 if test -f $ac_dir/$ac_word; then 1298 ac_cv_prog_AR="${ac_tool_prefix}ar" 1299 break 1300 fi 1301 done 1302 IFS="$ac_save_ifs" 1303 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar" 1304fi 1305fi 1306AR="$ac_cv_prog_AR" 1307if test -n "$AR"; then 1308 echo "$ac_t""$AR" 1>&6 1309else 1310 echo "$ac_t""no" 1>&6 1311fi 1312 1313 1314 1315# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 1316set dummy ${ac_tool_prefix}ranlib; ac_word=$2 1317echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1318echo "configure:1319: checking for $ac_word" >&5 1319if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1320 echo $ac_n "(cached) $ac_c" 1>&6 1321else 1322 if test -n "$RANLIB"; then 1323 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 1324else 1325 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1326 ac_dummy="$PATH" 1327 for ac_dir in $ac_dummy; do 1328 test -z "$ac_dir" && ac_dir=. 1329 if test -f $ac_dir/$ac_word; then 1330 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 1331 break 1332 fi 1333 done 1334 IFS="$ac_save_ifs" 1335fi 1336fi 1337RANLIB="$ac_cv_prog_RANLIB" 1338if test -n "$RANLIB"; then 1339 echo "$ac_t""$RANLIB" 1>&6 1340else 1341 echo "$ac_t""no" 1>&6 1342fi 1343 1344 1345if test -z "$ac_cv_prog_RANLIB"; then 1346if test -n "$ac_tool_prefix"; then 1347 # Extract the first word of "ranlib", so it can be a program name with args. 1348set dummy ranlib; ac_word=$2 1349echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1350echo "configure:1351: checking for $ac_word" >&5 1351if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1352 echo $ac_n "(cached) $ac_c" 1>&6 1353else 1354 if test -n "$RANLIB"; then 1355 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 1356else 1357 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1358 ac_dummy="$PATH" 1359 for ac_dir in $ac_dummy; do 1360 test -z "$ac_dir" && ac_dir=. 1361 if test -f $ac_dir/$ac_word; then 1362 ac_cv_prog_RANLIB="ranlib" 1363 break 1364 fi 1365 done 1366 IFS="$ac_save_ifs" 1367 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" 1368fi 1369fi 1370RANLIB="$ac_cv_prog_RANLIB" 1371if test -n "$RANLIB"; then 1372 echo "$ac_t""$RANLIB" 1>&6 1373else 1374 echo "$ac_t""no" 1>&6 1375fi 1376 1377else 1378 RANLIB=":" 1379fi 1380fi 1381 1382 1383# Find a good install program. We prefer a C program (faster), 1384# so one script is as good as another. But avoid the broken or 1385# incompatible versions: 1386# SysV /etc/install, /usr/sbin/install 1387# SunOS /usr/etc/install 1388# IRIX /sbin/install 1389# AIX /bin/install 1390# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1391# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1392# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1393# ./install, which can be erroneously created by make from ./install.sh. 1394echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 1395echo "configure:1396: checking for a BSD compatible install" >&5 1396if test -z "$INSTALL"; then 1397if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 1398 echo $ac_n "(cached) $ac_c" 1>&6 1399else 1400 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" 1401 for ac_dir in $PATH; do 1402 # Account for people who put trailing slashes in PATH elements. 1403 case "$ac_dir/" in 1404 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; 1405 *) 1406 # OSF1 and SCO ODT 3.0 have their own names for install. 1407 # Don't use installbsd from OSF since it installs stuff as root 1408 # by default. 1409 for ac_prog in ginstall scoinst install; do 1410 if test -f $ac_dir/$ac_prog; then 1411 if test $ac_prog = install && 1412 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then 1413 # AIX install. It has an incompatible calling convention. 1414 : 1415 else 1416 ac_cv_path_install="$ac_dir/$ac_prog -c" 1417 break 2 1418 fi 1419 fi 1420 done 1421 ;; 1422 esac 1423 done 1424 IFS="$ac_save_IFS" 1425 1426fi 1427 if test "${ac_cv_path_install+set}" = set; then 1428 INSTALL="$ac_cv_path_install" 1429 else 1430 # As a last resort, use the slow shell script. We don't cache a 1431 # path for INSTALL within a source directory, because that will 1432 # break other packages using the cache if that directory is 1433 # removed, or if the path is relative. 1434 INSTALL="$ac_install_sh" 1435 fi 1436fi 1437echo "$ac_t""$INSTALL" 1>&6 1438 1439# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1440# It thinks the first close brace ends the variable substitution. 1441test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1442 1443test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' 1444 1445test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1446 1447 1448echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 1449echo "configure:1450: checking whether to enable maintainer-specific portions of Makefiles" >&5 1450 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 1451if test "${enable_maintainer_mode+set}" = set; then 1452 enableval="$enable_maintainer_mode" 1453 USE_MAINTAINER_MODE=$enableval 1454else 1455 USE_MAINTAINER_MODE=no 1456fi 1457 1458 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6 1459 1460 1461if test $USE_MAINTAINER_MODE = yes; then 1462 MAINTAINER_MODE_TRUE= 1463 MAINTAINER_MODE_FALSE='#' 1464else 1465 MAINTAINER_MODE_TRUE='#' 1466 MAINTAINER_MODE_FALSE= 1467fi 1468 MAINT=$MAINTAINER_MODE_TRUE 1469 1470 1471 1472# We need AC_EXEEXT to keep automake happy in cygnus mode. However, 1473# at least currently, we never actually build a program, so we never 1474# need to use $(EXEEXT). Moreover, the test for EXEEXT normally 1475# fails, because we are probably configuring with a cross compiler 1476# which can't create executables. So we include AC_EXEEXT to keep 1477# automake happy, but we don't execute it, since we don't care about 1478# the result. 1479if false; then 1480 1481 1482echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 1483echo "configure:1484: checking for executable suffix" >&5 1484if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 1485 echo $ac_n "(cached) $ac_c" 1>&6 1486else 1487 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then 1488 ac_cv_exeext=.exe 1489else 1490 rm -f conftest* 1491 echo 'int main () { return 0; }' > conftest.$ac_ext 1492 ac_cv_exeext= 1493 if { (eval echo configure:1494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1494 for file in conftest.*; do 1495 case $file in 1496 *.c | *.o | *.obj) ;; 1497 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; 1498 esac 1499 done 1500 else 1501 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } 1502 fi 1503 rm -f conftest* 1504 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no 1505fi 1506fi 1507 1508EXEEXT="" 1509test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} 1510echo "$ac_t""${ac_cv_exeext}" 1>&6 1511ac_exeext=$EXEEXT 1512 1513fi 1514 1515. ${newlib_basedir}/configure.host 1516 1517newlib_cflags="${newlib_cflags} -fno-builtin" 1518 1519NEWLIB_CFLAGS=${newlib_cflags} 1520 1521 1522LDFLAGS=${ldflags} 1523 1524 1525 1526 1527if test x${newlib_elix_level} = x0; then 1528 ELIX_LEVEL_0_TRUE= 1529 ELIX_LEVEL_0_FALSE='#' 1530else 1531 ELIX_LEVEL_0_TRUE='#' 1532 ELIX_LEVEL_0_FALSE= 1533fi 1534 1535 1536if test x${newlib_elix_level} = x1; then 1537 ELIX_LEVEL_1_TRUE= 1538 ELIX_LEVEL_1_FALSE='#' 1539else 1540 ELIX_LEVEL_1_TRUE='#' 1541 ELIX_LEVEL_1_FALSE= 1542fi 1543 1544 1545if test x${newlib_elix_level} = x2; then 1546 ELIX_LEVEL_2_TRUE= 1547 ELIX_LEVEL_2_FALSE='#' 1548else 1549 ELIX_LEVEL_2_TRUE='#' 1550 ELIX_LEVEL_2_FALSE= 1551fi 1552 1553 1554if test x${newlib_elix_level} = x3; then 1555 ELIX_LEVEL_3_TRUE= 1556 ELIX_LEVEL_3_FALSE='#' 1557else 1558 ELIX_LEVEL_3_TRUE='#' 1559 ELIX_LEVEL_3_FALSE= 1560fi 1561 1562 1563if test x${newlib_elix_level} = x4; then 1564 ELIX_LEVEL_4_TRUE= 1565 ELIX_LEVEL_4_FALSE='#' 1566else 1567 ELIX_LEVEL_4_TRUE='#' 1568 ELIX_LEVEL_4_FALSE= 1569fi 1570 1571 1572 1573if test x${use_libtool} = xyes; then 1574 USE_LIBTOOL_TRUE= 1575 USE_LIBTOOL_FALSE='#' 1576else 1577 USE_LIBTOOL_TRUE='#' 1578 USE_LIBTOOL_FALSE= 1579fi 1580 1581# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we 1582# use oext, which is set in configure.host based on the target platform. 1583OBJEXT=${oext} 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594trap '' 1 2 15 1595cat > confcache <<\EOF 1596# This file is a shell script that caches the results of configure 1597# tests run on this system so they can be shared between configure 1598# scripts and configure runs. It is not useful on other systems. 1599# If it contains results you don't want to keep, you may remove or edit it. 1600# 1601# By default, configure uses ./config.cache as the cache file, 1602# creating it if it does not exist already. You can give configure 1603# the --cache-file=FILE option to use a different cache file; that is 1604# what configure does when it calls configure scripts in 1605# subdirectories, so they share the cache. 1606# Giving --cache-file=/dev/null disables caching, for debugging configure. 1607# config.status only pays attention to the cache file if you give it the 1608# --recheck option to rerun configure. 1609# 1610EOF 1611# The following way of writing the cache mishandles newlines in values, 1612# but we know of no workaround that is simple, portable, and efficient. 1613# So, don't put newlines in cache variables' values. 1614# Ultrix sh set writes to stderr and can't be redirected directly, 1615# and sets the high bit in the cache file unless we assign to the vars. 1616(set) 2>&1 | 1617 case `(ac_space=' '; set | grep ac_space) 2>&1` in 1618 *ac_space=\ *) 1619 # `set' does not quote correctly, so add quotes (double-quote substitution 1620 # turns \\\\ into \\, and sed turns \\ into \). 1621 sed -n \ 1622 -e "s/'/'\\\\''/g" \ 1623 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" 1624 ;; 1625 *) 1626 # `set' quotes correctly as required by POSIX, so do not add quotes. 1627 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' 1628 ;; 1629 esac >> confcache 1630if cmp -s $cache_file confcache; then 1631 : 1632else 1633 if test -w $cache_file; then 1634 echo "updating cache $cache_file" 1635 cat confcache > $cache_file 1636 else 1637 echo "not updating unwritable cache $cache_file" 1638 fi 1639fi 1640rm -f confcache 1641 1642trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 1643 1644test "x$prefix" = xNONE && prefix=$ac_default_prefix 1645# Let make expand exec_prefix. 1646test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 1647 1648# Any assignment to VPATH causes Sun make to only execute 1649# the first set of double-colon rules, so remove it if not needed. 1650# If there is a colon in the path, we need to keep it. 1651if test "x$srcdir" = x.; then 1652 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' 1653fi 1654 1655trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 1656 1657# Transform confdefs.h into DEFS. 1658# Protect against shell expansion while executing Makefile rules. 1659# Protect against Makefile macro expansion. 1660cat > conftest.defs <<\EOF 1661s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g 1662s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g 1663s%\[%\\&%g 1664s%\]%\\&%g 1665s%\$%$$%g 1666EOF 1667DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '` 1668rm -f conftest.defs 1669 1670 1671# Without the "./", some shells look in PATH for config.status. 1672: ${CONFIG_STATUS=./config.status} 1673 1674echo creating $CONFIG_STATUS 1675rm -f $CONFIG_STATUS 1676cat > $CONFIG_STATUS <<EOF 1677#! /bin/sh 1678# Generated automatically by configure. 1679# Run this file to recreate the current configuration. 1680# This directory was configured as follows, 1681# on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 1682# 1683# $0 $ac_configure_args 1684# 1685# Compiler output produced by configure, useful for debugging 1686# configure, is in ./config.log if it exists. 1687 1688ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" 1689for ac_option 1690do 1691 case "\$ac_option" in 1692 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 1693 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" 1694 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 1695 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) 1696 echo "$CONFIG_STATUS generated by autoconf version 2.13" 1697 exit 0 ;; 1698 -help | --help | --hel | --he | --h) 1699 echo "\$ac_cs_usage"; exit 0 ;; 1700 *) echo "\$ac_cs_usage"; exit 1 ;; 1701 esac 1702done 1703 1704ac_given_srcdir=$srcdir 1705ac_given_INSTALL="$INSTALL" 1706 1707trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 1708EOF 1709cat >> $CONFIG_STATUS <<EOF 1710 1711# Protect against being on the right side of a sed subst in config.status. 1712sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; 1713 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF 1714$ac_vpsub 1715$extrasub 1716s%@SHELL@%$SHELL%g 1717s%@CFLAGS@%$CFLAGS%g 1718s%@CPPFLAGS@%$CPPFLAGS%g 1719s%@CXXFLAGS@%$CXXFLAGS%g 1720s%@FFLAGS@%$FFLAGS%g 1721s%@DEFS@%$DEFS%g 1722s%@LDFLAGS@%$LDFLAGS%g 1723s%@LIBS@%$LIBS%g 1724s%@exec_prefix@%$exec_prefix%g 1725s%@prefix@%$prefix%g 1726s%@program_transform_name@%$program_transform_name%g 1727s%@bindir@%$bindir%g 1728s%@sbindir@%$sbindir%g 1729s%@libexecdir@%$libexecdir%g 1730s%@datadir@%$datadir%g 1731s%@sysconfdir@%$sysconfdir%g 1732s%@sharedstatedir@%$sharedstatedir%g 1733s%@localstatedir@%$localstatedir%g 1734s%@libdir@%$libdir%g 1735s%@includedir@%$includedir%g 1736s%@oldincludedir@%$oldincludedir%g 1737s%@infodir@%$infodir%g 1738s%@mandir@%$mandir%g 1739s%@MAY_SUPPLY_SYSCALLS_TRUE@%$MAY_SUPPLY_SYSCALLS_TRUE%g 1740s%@MAY_SUPPLY_SYSCALLS_FALSE@%$MAY_SUPPLY_SYSCALLS_FALSE%g 1741s%@newlib_basedir@%$newlib_basedir%g 1742s%@host@%$host%g 1743s%@host_alias@%$host_alias%g 1744s%@host_cpu@%$host_cpu%g 1745s%@host_vendor@%$host_vendor%g 1746s%@host_os@%$host_os%g 1747s%@target@%$target%g 1748s%@target_alias@%$target_alias%g 1749s%@target_cpu@%$target_cpu%g 1750s%@target_vendor@%$target_vendor%g 1751s%@target_os@%$target_os%g 1752s%@build@%$build%g 1753s%@build_alias@%$build_alias%g 1754s%@build_cpu@%$build_cpu%g 1755s%@build_vendor@%$build_vendor%g 1756s%@build_os@%$build_os%g 1757s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g 1758s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g 1759s%@INSTALL_DATA@%$INSTALL_DATA%g 1760s%@PACKAGE@%$PACKAGE%g 1761s%@VERSION@%$VERSION%g 1762s%@ACLOCAL@%$ACLOCAL%g 1763s%@AUTOCONF@%$AUTOCONF%g 1764s%@AUTOMAKE@%$AUTOMAKE%g 1765s%@AUTOHEADER@%$AUTOHEADER%g 1766s%@MAKEINFO@%$MAKEINFO%g 1767s%@SET_MAKE@%$SET_MAKE%g 1768s%@CC@%$CC%g 1769s%@AS@%$AS%g 1770s%@AR@%$AR%g 1771s%@RANLIB@%$RANLIB%g 1772s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g 1773s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g 1774s%@MAINT@%$MAINT%g 1775s%@EXEEXT@%$EXEEXT%g 1776s%@NEWLIB_CFLAGS@%$NEWLIB_CFLAGS%g 1777s%@ELIX_LEVEL_0_TRUE@%$ELIX_LEVEL_0_TRUE%g 1778s%@ELIX_LEVEL_0_FALSE@%$ELIX_LEVEL_0_FALSE%g 1779s%@ELIX_LEVEL_1_TRUE@%$ELIX_LEVEL_1_TRUE%g 1780s%@ELIX_LEVEL_1_FALSE@%$ELIX_LEVEL_1_FALSE%g 1781s%@ELIX_LEVEL_2_TRUE@%$ELIX_LEVEL_2_TRUE%g 1782s%@ELIX_LEVEL_2_FALSE@%$ELIX_LEVEL_2_FALSE%g 1783s%@ELIX_LEVEL_3_TRUE@%$ELIX_LEVEL_3_TRUE%g 1784s%@ELIX_LEVEL_3_FALSE@%$ELIX_LEVEL_3_FALSE%g 1785s%@ELIX_LEVEL_4_TRUE@%$ELIX_LEVEL_4_TRUE%g 1786s%@ELIX_LEVEL_4_FALSE@%$ELIX_LEVEL_4_FALSE%g 1787s%@USE_LIBTOOL_TRUE@%$USE_LIBTOOL_TRUE%g 1788s%@USE_LIBTOOL_FALSE@%$USE_LIBTOOL_FALSE%g 1789s%@OBJEXT@%$OBJEXT%g 1790s%@oext@%$oext%g 1791s%@aext@%$aext%g 1792s%@libm_machine_dir@%$libm_machine_dir%g 1793s%@machine_dir@%$machine_dir%g 1794s%@sys_dir@%$sys_dir%g 1795 1796CEOF 1797EOF 1798 1799cat >> $CONFIG_STATUS <<\EOF 1800 1801# Split the substitutions into bite-sized pieces for seds with 1802# small command number limits, like on Digital OSF/1 and HP-UX. 1803ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. 1804ac_file=1 # Number of current file. 1805ac_beg=1 # First line for current file. 1806ac_end=$ac_max_sed_cmds # Line after last line for current file. 1807ac_more_lines=: 1808ac_sed_cmds="" 1809while $ac_more_lines; do 1810 if test $ac_beg -gt 1; then 1811 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file 1812 else 1813 sed "${ac_end}q" conftest.subs > conftest.s$ac_file 1814 fi 1815 if test ! -s conftest.s$ac_file; then 1816 ac_more_lines=false 1817 rm -f conftest.s$ac_file 1818 else 1819 if test -z "$ac_sed_cmds"; then 1820 ac_sed_cmds="sed -f conftest.s$ac_file" 1821 else 1822 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" 1823 fi 1824 ac_file=`expr $ac_file + 1` 1825 ac_beg=$ac_end 1826 ac_end=`expr $ac_end + $ac_max_sed_cmds` 1827 fi 1828done 1829if test -z "$ac_sed_cmds"; then 1830 ac_sed_cmds=cat 1831fi 1832EOF 1833 1834cat >> $CONFIG_STATUS <<EOF 1835 1836CONFIG_FILES=\${CONFIG_FILES-"Makefile"} 1837EOF 1838cat >> $CONFIG_STATUS <<\EOF 1839for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then 1840 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 1841 case "$ac_file" in 1842 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` 1843 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 1844 *) ac_file_in="${ac_file}.in" ;; 1845 esac 1846 1847 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. 1848 1849 # Remove last slash and all that follows it. Not all systems have dirname. 1850 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` 1851 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 1852 # The file is in a subdirectory. 1853 test ! -d "$ac_dir" && mkdir "$ac_dir" 1854 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" 1855 # A "../" for each directory in $ac_dir_suffix. 1856 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` 1857 else 1858 ac_dir_suffix= ac_dots= 1859 fi 1860 1861 case "$ac_given_srcdir" in 1862 .) srcdir=. 1863 if test -z "$ac_dots"; then top_srcdir=. 1864 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; 1865 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; 1866 *) # Relative path. 1867 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" 1868 top_srcdir="$ac_dots$ac_given_srcdir" ;; 1869 esac 1870 1871 case "$ac_given_INSTALL" in 1872 [/$]*) INSTALL="$ac_given_INSTALL" ;; 1873 *) INSTALL="$ac_dots$ac_given_INSTALL" ;; 1874 esac 1875 1876 echo creating "$ac_file" 1877 rm -f "$ac_file" 1878 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." 1879 case "$ac_file" in 1880 *Makefile*) ac_comsub="1i\\ 1881# $configure_input" ;; 1882 *) ac_comsub= ;; 1883 esac 1884 1885 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` 1886 sed -e "$ac_comsub 1887s%@configure_input@%$configure_input%g 1888s%@srcdir@%$srcdir%g 1889s%@top_srcdir@%$top_srcdir%g 1890s%@INSTALL@%$INSTALL%g 1891" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file 1892fi; done 1893rm -f conftest.s* 1894 1895EOF 1896cat >> $CONFIG_STATUS <<EOF 1897 1898EOF 1899cat >> $CONFIG_STATUS <<\EOF 1900 1901exit 0 1902EOF 1903chmod +x $CONFIG_STATUS 1904rm -fr confdefs* $ac_clean_files 1905test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 1906 1907