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