1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by Autoconf 2.52. 4# 5# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 6# Free Software Foundation, Inc. 7# This configure script is free software; the Free Software Foundation 8# gives unlimited permission to copy, distribute and modify it. 9 10# Avoid depending upon Character Ranges. 11as_cr_letters='abcdefghijklmnopqrstuvwxyz' 12as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 13as_cr_Letters=$as_cr_letters$as_cr_LETTERS 14as_cr_digits='0123456789' 15as_cr_alnum=$as_cr_Letters$as_cr_digits 16 17# Sed expression to map a string onto a valid variable name. 18as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 19 20# Sed expression to map a string onto a valid CPP name. 21as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 22 23# Be Bourne compatible 24if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 25 emulate sh 26 NULLCMD=: 27elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 28 set -o posix 29fi 30 31# Name of the executable. 32as_me=`echo "$0" |sed 's,.*[\\/],,'` 33 34if expr a : '\(a\)' >/dev/null 2>&1; then 35 as_expr=expr 36else 37 as_expr=false 38fi 39 40rm -f conf$$ conf$$.exe conf$$.file 41echo >conf$$.file 42if ln -s conf$$.file conf$$ 2>/dev/null; then 43 # We could just check for DJGPP; but this test a) works b) is more generic 44 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 45 if test -f conf$$.exe; then 46 # Don't use ln at all; we don't have any links 47 as_ln_s='cp -p' 48 else 49 as_ln_s='ln -s' 50 fi 51elif ln conf$$.file conf$$ 2>/dev/null; then 52 as_ln_s=ln 53else 54 as_ln_s='cp -p' 55fi 56rm -f conf$$ conf$$.exe conf$$.file 57 58as_executable_p="test -f" 59 60# Support unset when possible. 61if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 62 as_unset=unset 63else 64 as_unset=false 65fi 66 67# NLS nuisances. 68$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } 69$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } 70$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } 71$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } 72$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } 73$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } 74$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } 75$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } 76 77# IFS 78# We need space, tab and new line, in precisely that order. 79as_nl=' 80' 81IFS=" $as_nl" 82 83# CDPATH. 84$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 85 86# Name of the host. 87# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 88# so uname gets run too. 89ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 90 91exec 6>&1 92 93# 94# Initializations. 95# 96ac_default_prefix=/usr/local 97cross_compiling=no 98subdirs= 99MFLAGS= MAKEFLAGS= 100SHELL=${CONFIG_SHELL-/bin/sh} 101 102# Maximum number of lines to put in a shell here document. 103# This variable seems obsolete. It should probably be removed, and 104# only ac_max_sed_lines should be used. 105: ${ac_max_here_lines=38} 106 107ac_unique_file="src/main.cpp" 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= 149PACKAGE_TARNAME= 150PACKAGE_VERSION= 151PACKAGE_STRING= 152PACKAGE_BUGREPORT= 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_CXX_set=${CXX+set} 541ac_env_CXX_value=$CXX 542ac_cv_env_CXX_set=${CXX+set} 543ac_cv_env_CXX_value=$CXX 544ac_env_CXXFLAGS_set=${CXXFLAGS+set} 545ac_env_CXXFLAGS_value=$CXXFLAGS 546ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 547ac_cv_env_CXXFLAGS_value=$CXXFLAGS 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_CC_set=${CC+set} 557ac_env_CC_value=$CC 558ac_cv_env_CC_set=${CC+set} 559ac_cv_env_CC_value=$CC 560ac_env_CFLAGS_set=${CFLAGS+set} 561ac_env_CFLAGS_value=$CFLAGS 562ac_cv_env_CFLAGS_set=${CFLAGS+set} 563ac_cv_env_CFLAGS_value=$CFLAGS 564 565# 566# Report the --help message. 567# 568if test "$ac_init_help" = "long"; then 569 # Omit some internal or obsolete options to make the list less imposing. 570 # This message is too long to be a string in the A/UX 3.1 sh. 571 cat <<EOF 572\`configure' configures this package to adapt to many kinds of systems. 573 574Usage: $0 [OPTION]... [VAR=VALUE]... 575 576To assign environment variables (e.g., CC, CFLAGS...), specify them as 577VAR=VALUE. See below for descriptions of some of the useful variables. 578 579Defaults for the options are specified in brackets. 580 581Configuration: 582 -h, --help display this help and exit 583 --help=short display options specific to this package 584 --help=recursive display the short help of all the included packages 585 -V, --version display version information and exit 586 -q, --quiet, --silent do not print \`checking...' messages 587 --cache-file=FILE cache test results in FILE [disabled] 588 -C, --config-cache alias for \`--cache-file=config.cache' 589 -n, --no-create do not create output files 590 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 591 592EOF 593 594 cat <<EOF 595Installation directories: 596 --prefix=PREFIX install architecture-independent files in PREFIX 597 [$ac_default_prefix] 598 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 599 [PREFIX] 600 601By default, \`make install' will install all the files in 602\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 603an installation prefix other than \`$ac_default_prefix' using \`--prefix', 604for instance \`--prefix=\$HOME'. 605 606For better control, use the options below. 607 608Fine tuning of the installation directories: 609 --bindir=DIR user executables [EPREFIX/bin] 610 --sbindir=DIR system admin executables [EPREFIX/sbin] 611 --libexecdir=DIR program executables [EPREFIX/libexec] 612 --datadir=DIR read-only architecture-independent data [PREFIX/share] 613 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 614 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 615 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 616 --libdir=DIR object code libraries [EPREFIX/lib] 617 --includedir=DIR C header files [PREFIX/include] 618 --oldincludedir=DIR C header files for non-gcc [/usr/include] 619 --infodir=DIR info documentation [PREFIX/info] 620 --mandir=DIR man documentation [PREFIX/man] 621EOF 622 623 cat <<\EOF 624 625Program names: 626 --program-prefix=PREFIX prepend PREFIX to installed program names 627 --program-suffix=SUFFIX append SUFFIX to installed program names 628 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 629 630System types: 631 --build=BUILD configure for building on BUILD [guessed] 632 --host=HOST build programs to run on HOST [BUILD] 633EOF 634fi 635 636if test -n "$ac_init_help"; then 637 638 cat <<\EOF 639 640Optional Features: 641 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 642 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 643 --disable-dependency-tracking Speeds up one-time builds 644 --enable-dependency-tracking Do not reject slow dependency extractors 645 646Some influential environment variables: 647 CXX C++ compiler command 648 CXXFLAGS C++ compiler flags 649 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 650 nonstandard directory <lib dir> 651 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 652 headers in a nonstandard directory <include dir> 653 CC C compiler command 654 CFLAGS C compiler flags 655 656Use these variables to override the choices made by `configure' or to help 657it to find libraries and programs with nonstandard names/locations. 658 659EOF 660fi 661 662if test "$ac_init_help" = "recursive"; then 663 # If there are subdirs, report their specific --help. 664 ac_popdir=`pwd` 665 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue 666 cd $ac_subdir 667 # A "../" for each directory in /$ac_subdir. 668 ac_dots=`echo $ac_subdir | 669 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` 670 671 case $srcdir in 672 .) # No --srcdir option. We are building in place. 673 ac_sub_srcdir=$srcdir ;; 674 [\\/]* | ?:[\\/]* ) # Absolute path. 675 ac_sub_srcdir=$srcdir/$ac_subdir ;; 676 *) # Relative path. 677 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; 678 esac 679 680 # Check for guested configure; otherwise get Cygnus style configure. 681 if test -f $ac_sub_srcdir/configure.gnu; then 682 echo 683 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive 684 elif test -f $ac_sub_srcdir/configure; then 685 echo 686 $SHELL $ac_sub_srcdir/configure --help=recursive 687 elif test -f $ac_sub_srcdir/configure.ac || 688 test -f $ac_sub_srcdir/configure.in; then 689 echo 690 $ac_configure --help 691 else 692 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2 693 fi 694 cd $ac_popdir 695 done 696fi 697 698test -n "$ac_init_help" && exit 0 699if $ac_init_version; then 700 cat <<\EOF 701 702Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 703Free Software Foundation, Inc. 704This configure script is free software; the Free Software Foundation 705gives unlimited permission to copy, distribute and modify it. 706EOF 707 exit 0 708fi 709exec 5>config.log 710cat >&5 <<EOF 711This file contains any messages produced by compilers while 712running configure, to aid debugging if configure makes a mistake. 713 714It was created by $as_me, which was 715generated by GNU Autoconf 2.52. Invocation command line was 716 717 $ $0 $@ 718 719EOF 720{ 721cat <<_ASUNAME 722## ---------- ## 723## Platform. ## 724## ---------- ## 725 726hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 727uname -m = `(uname -m) 2>/dev/null || echo unknown` 728uname -r = `(uname -r) 2>/dev/null || echo unknown` 729uname -s = `(uname -s) 2>/dev/null || echo unknown` 730uname -v = `(uname -v) 2>/dev/null || echo unknown` 731 732/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 733/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 734 735/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 736/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 737/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 738hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 739/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 740/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 741/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 742 743PATH = $PATH 744 745_ASUNAME 746} >&5 747 748cat >&5 <<EOF 749## ------------ ## 750## Core tests. ## 751## ------------ ## 752 753EOF 754 755# Keep a trace of the command line. 756# Strip out --no-create and --no-recursion so they do not pile up. 757# Also quote any args containing shell meta-characters. 758ac_configure_args= 759ac_sep= 760for ac_arg 761do 762 case $ac_arg in 763 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 764 | --no-cr | --no-c) ;; 765 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 766 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; 767 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 768 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` 769 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 770 ac_sep=" " ;; 771 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" 772 ac_sep=" " ;; 773 esac 774 # Get rid of the leading space. 775done 776 777# When interrupted or exit'd, cleanup temporary files, and complete 778# config.log. We remove comments because anyway the quotes in there 779# would cause problems or look ugly. 780trap 'exit_status=$? 781 # Save into config.log some information that might help in debugging. 782 echo >&5 783 echo "## ----------------- ##" >&5 784 echo "## Cache variables. ##" >&5 785 echo "## ----------------- ##" >&5 786 echo >&5 787 # The following way of writing the cache mishandles newlines in values, 788{ 789 (set) 2>&1 | 790 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 791 *ac_space=\ *) 792 sed -n \ 793 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 794 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 795 ;; 796 *) 797 sed -n \ 798 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 799 ;; 800 esac; 801} >&5 802 sed "/^$/d" confdefs.h >conftest.log 803 if test -s conftest.log; then 804 echo >&5 805 echo "## ------------ ##" >&5 806 echo "## confdefs.h. ##" >&5 807 echo "## ------------ ##" >&5 808 echo >&5 809 cat conftest.log >&5 810 fi 811 (echo; echo) >&5 812 test "$ac_signal" != 0 && 813 echo "$as_me: caught signal $ac_signal" >&5 814 echo "$as_me: exit $exit_status" >&5 815 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && 816 exit $exit_status 817 ' 0 818for ac_signal in 1 2 13 15; do 819 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 820done 821ac_signal=0 822 823# confdefs.h avoids OS command line length limits that DEFS can exceed. 824rm -rf conftest* confdefs.h 825# AIX cpp loses on an empty file, so make sure it contains at least a newline. 826echo >confdefs.h 827 828# Let the site file select an alternate cache file if it wants to. 829# Prefer explicitly selected file to automatically selected ones. 830if test -z "$CONFIG_SITE"; then 831 if test "x$prefix" != xNONE; then 832 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 833 else 834 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 835 fi 836fi 837for ac_site_file in $CONFIG_SITE; do 838 if test -r "$ac_site_file"; then 839 { echo "$as_me:839: loading site script $ac_site_file" >&5 840echo "$as_me: loading site script $ac_site_file" >&6;} 841 cat "$ac_site_file" >&5 842 . "$ac_site_file" 843 fi 844done 845 846if test -r "$cache_file"; then 847 # Some versions of bash will fail to source /dev/null (special 848 # files actually), so we avoid doing that. 849 if test -f "$cache_file"; then 850 { echo "$as_me:850: loading cache $cache_file" >&5 851echo "$as_me: loading cache $cache_file" >&6;} 852 case $cache_file in 853 [\\/]* | ?:[\\/]* ) . $cache_file;; 854 *) . ./$cache_file;; 855 esac 856 fi 857else 858 { echo "$as_me:858: creating cache $cache_file" >&5 859echo "$as_me: creating cache $cache_file" >&6;} 860 >$cache_file 861fi 862 863# Check that the precious variables saved in the cache have kept the same 864# value. 865ac_cache_corrupted=false 866for ac_var in `(set) 2>&1 | 867 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 868 eval ac_old_set=\$ac_cv_env_${ac_var}_set 869 eval ac_new_set=\$ac_env_${ac_var}_set 870 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 871 eval ac_new_val="\$ac_env_${ac_var}_value" 872 case $ac_old_set,$ac_new_set in 873 set,) 874 { echo "$as_me:874: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 875echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 876 ac_cache_corrupted=: ;; 877 ,set) 878 { echo "$as_me:878: error: \`$ac_var' was not set in the previous run" >&5 879echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 880 ac_cache_corrupted=: ;; 881 ,);; 882 *) 883 if test "x$ac_old_val" != "x$ac_new_val"; then 884 { echo "$as_me:884: error: \`$ac_var' has changed since the previous run:" >&5 885echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 886 { echo "$as_me:886: former value: $ac_old_val" >&5 887echo "$as_me: former value: $ac_old_val" >&2;} 888 { echo "$as_me:888: current value: $ac_new_val" >&5 889echo "$as_me: current value: $ac_new_val" >&2;} 890 ac_cache_corrupted=: 891 fi;; 892 esac 893 # Pass precious variables to config.status. It doesn't matter if 894 # we pass some twice (in addition to the command line arguments). 895 if test "$ac_new_set" = set; then 896 case $ac_new_val in 897 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 898 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` 899 ac_configure_args="$ac_configure_args '$ac_arg'" 900 ;; 901 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val" 902 ;; 903 esac 904 fi 905done 906if $ac_cache_corrupted; then 907 { echo "$as_me:907: error: changes in the environment can compromise the build" >&5 908echo "$as_me: error: changes in the environment can compromise the build" >&2;} 909 { { echo "$as_me:909: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 910echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 911 { (exit 1); exit 1; }; } 912fi 913 914ac_ext=c 915ac_cpp='$CPP $CPPFLAGS' 916ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 917ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 918ac_compiler_gnu=$ac_cv_c_compiler_gnu 919 920case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 921 *c*,-n*) ECHO_N= ECHO_C=' 922' ECHO_T=' ' ;; 923 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 924 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 925esac 926echo "#! $SHELL" >conftest.sh 927echo "exit 0" >>conftest.sh 928chmod +x conftest.sh 929if { (echo "$as_me:929: PATH=\".;.\"; conftest.sh") >&5 930 (PATH=".;."; conftest.sh) 2>&5 931 ac_status=$? 932 echo "$as_me:932: \$? = $ac_status" >&5 933 (exit $ac_status); }; then 934 ac_path_separator=';' 935else 936 ac_path_separator=: 937fi 938PATH_SEPARATOR="$ac_path_separator" 939rm -f conftest.sh 940 941 ac_config_headers="$ac_config_headers config.h" 942 943ac_aux_dir= 944for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 945 if test -f $ac_dir/install-sh; then 946 ac_aux_dir=$ac_dir 947 ac_install_sh="$ac_aux_dir/install-sh -c" 948 break 949 elif test -f $ac_dir/install.sh; then 950 ac_aux_dir=$ac_dir 951 ac_install_sh="$ac_aux_dir/install.sh -c" 952 break 953 elif test -f $ac_dir/shtool; then 954 ac_aux_dir=$ac_dir 955 ac_install_sh="$ac_aux_dir/shtool install -c" 956 break 957 fi 958done 959if test -z "$ac_aux_dir"; then 960 { { echo "$as_me:960: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 961echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 962 { (exit 1); exit 1; }; } 963fi 964ac_config_guess="$SHELL $ac_aux_dir/config.guess" 965ac_config_sub="$SHELL $ac_aux_dir/config.sub" 966ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 967 968# Make sure we can run config.sub. 969$ac_config_sub sun4 >/dev/null 2>&1 || 970 { { echo "$as_me:970: error: cannot run $ac_config_sub" >&5 971echo "$as_me: error: cannot run $ac_config_sub" >&2;} 972 { (exit 1); exit 1; }; } 973 974echo "$as_me:974: checking build system type" >&5 975echo $ECHO_N "checking build system type... $ECHO_C" >&6 976if test "${ac_cv_build+set}" = set; then 977 echo $ECHO_N "(cached) $ECHO_C" >&6 978else 979 ac_cv_build_alias=$build_alias 980test -z "$ac_cv_build_alias" && 981 ac_cv_build_alias=`$ac_config_guess` 982test -z "$ac_cv_build_alias" && 983 { { echo "$as_me:983: error: cannot guess build type; you must specify one" >&5 984echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 985 { (exit 1); exit 1; }; } 986ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 987 { { echo "$as_me:987: error: $ac_config_sub $ac_cv_build_alias failed." >&5 988echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} 989 { (exit 1); exit 1; }; } 990 991fi 992echo "$as_me:992: result: $ac_cv_build" >&5 993echo "${ECHO_T}$ac_cv_build" >&6 994build=$ac_cv_build 995build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 996build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 997build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 998 999echo "$as_me:999: checking host system type" >&5 1000echo $ECHO_N "checking host system type... $ECHO_C" >&6 1001if test "${ac_cv_host+set}" = set; then 1002 echo $ECHO_N "(cached) $ECHO_C" >&6 1003else 1004 ac_cv_host_alias=$host_alias 1005test -z "$ac_cv_host_alias" && 1006 ac_cv_host_alias=$ac_cv_build_alias 1007ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1008 { { echo "$as_me:1008: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1009echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1010 { (exit 1); exit 1; }; } 1011 1012fi 1013echo "$as_me:1013: result: $ac_cv_host" >&5 1014echo "${ECHO_T}$ac_cv_host" >&6 1015host=$ac_cv_host 1016host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1017host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1018host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1019 1020# Find a good install program. We prefer a C program (faster), 1021# so one script is as good as another. But avoid the broken or 1022# incompatible versions: 1023# SysV /etc/install, /usr/sbin/install 1024# SunOS /usr/etc/install 1025# IRIX /sbin/install 1026# AIX /bin/install 1027# AmigaOS /C/install, which installs bootblocks on floppy discs 1028# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1029# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1030# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1031# ./install, which can be erroneously created by make from ./install.sh. 1032echo "$as_me:1032: checking for a BSD compatible install" >&5 1033echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 1034if test -z "$INSTALL"; then 1035if test "${ac_cv_path_install+set}" = set; then 1036 echo $ECHO_N "(cached) $ECHO_C" >&6 1037else 1038 ac_save_IFS=$IFS; IFS=$ac_path_separator 1039 for ac_dir in $PATH; do 1040 IFS=$ac_save_IFS 1041 # Account for people who put trailing slashes in PATH elements. 1042 case $ac_dir/ in 1043 / | ./ | .// | /cC/* \ 1044 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \ 1045 | /usr/ucb/* ) ;; 1046 *) 1047 # OSF1 and SCO ODT 3.0 have their own names for install. 1048 # Don't use installbsd from OSF since it installs stuff as root 1049 # by default. 1050 for ac_prog in ginstall scoinst install; do 1051 if $as_executable_p "$ac_dir/$ac_prog"; then 1052 if test $ac_prog = install && 1053 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then 1054 # AIX install. It has an incompatible calling convention. 1055 : 1056 elif test $ac_prog = install && 1057 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then 1058 # program-specific install script used by HP pwplus--don't use. 1059 : 1060 else 1061 ac_cv_path_install="$ac_dir/$ac_prog -c" 1062 break 2 1063 fi 1064 fi 1065 done 1066 ;; 1067 esac 1068 done 1069 1070fi 1071 if test "${ac_cv_path_install+set}" = set; then 1072 INSTALL=$ac_cv_path_install 1073 else 1074 # As a last resort, use the slow shell script. We don't cache a 1075 # path for INSTALL within a source directory, because that will 1076 # break other packages using the cache if that directory is 1077 # removed, or if the path is relative. 1078 INSTALL=$ac_install_sh 1079 fi 1080fi 1081echo "$as_me:1081: result: $INSTALL" >&5 1082echo "${ECHO_T}$INSTALL" >&6 1083 1084# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1085# It thinks the first close brace ends the variable substitution. 1086test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1087 1088test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1089 1090test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1091 1092echo "$as_me:1092: checking whether build environment is sane" >&5 1093echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 1094# Just in case 1095sleep 1 1096echo timestamp > conftest.file 1097# Do `set' in a subshell so we don't clobber the current shell's 1098# arguments. Must try -L first in case configure is actually a 1099# symlink; some systems play weird games with the mod time of symlinks 1100# (eg FreeBSD returns the mod time of the symlink's containing 1101# directory). 1102if ( 1103 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 1104 if test "$*" = "X"; then 1105 # -L didn't work. 1106 set X `ls -t $srcdir/configure conftest.file` 1107 fi 1108 rm -f conftest.file 1109 if test "$*" != "X $srcdir/configure conftest.file" \ 1110 && test "$*" != "X conftest.file $srcdir/configure"; then 1111 1112 # If neither matched, then we have a broken ls. This can happen 1113 # if, for instance, CONFIG_SHELL is bash and it inherits a 1114 # broken ls alias from the environment. This has actually 1115 # happened. Such a system could not be considered "sane". 1116 { { echo "$as_me:1116: error: ls -t appears to fail. Make sure there is not a broken 1117alias in your environment" >&5 1118echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1119alias in your environment" >&2;} 1120 { (exit 1); exit 1; }; } 1121 fi 1122 1123 test "$2" = conftest.file 1124 ) 1125then 1126 # Ok. 1127 : 1128else 1129 { { echo "$as_me:1129: error: newly created file is older than distributed files! 1130Check your system clock" >&5 1131echo "$as_me: error: newly created file is older than distributed files! 1132Check your system clock" >&2;} 1133 { (exit 1); exit 1; }; } 1134fi 1135echo "$as_me:1135: result: yes" >&5 1136echo "${ECHO_T}yes" >&6 1137test "$program_prefix" != NONE && 1138 program_transform_name="s,^,$program_prefix,;$program_transform_name" 1139# Use a double $ so make ignores it. 1140test "$program_suffix" != NONE && 1141 program_transform_name="s,\$,$program_suffix,;$program_transform_name" 1142# Double any \ or $. echo might interpret backslashes. 1143# By default was `s,x,x', remove it if useless. 1144cat <<\_ACEOF >conftest.sed 1145s/[\\$]/&&/g;s/;s,x,x,$// 1146_ACEOF 1147program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1148rm conftest.sed 1149 1150# expand $ac_aux_dir to an absolute path 1151am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd` 1152 1153test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1154# Use eval to expand $SHELL 1155if eval "$MISSING --run true"; then 1156 am_missing_run="$MISSING --run " 1157else 1158 am_missing_run= 1159 am_backtick='`' 1160 { echo "$as_me:1160: WARNING: ${am_backtick}missing' script is too old or missing" >&5 1161echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;} 1162fi 1163 1164for ac_prog in mawk gawk nawk awk 1165do 1166 # Extract the first word of "$ac_prog", so it can be a program name with args. 1167set dummy $ac_prog; ac_word=$2 1168echo "$as_me:1168: checking for $ac_word" >&5 1169echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1170if test "${ac_cv_prog_AWK+set}" = set; then 1171 echo $ECHO_N "(cached) $ECHO_C" >&6 1172else 1173 if test -n "$AWK"; then 1174 ac_cv_prog_AWK="$AWK" # Let the user override the test. 1175else 1176 ac_save_IFS=$IFS; IFS=$ac_path_separator 1177ac_dummy="$PATH" 1178for ac_dir in $ac_dummy; do 1179 IFS=$ac_save_IFS 1180 test -z "$ac_dir" && ac_dir=. 1181 $as_executable_p "$ac_dir/$ac_word" || continue 1182ac_cv_prog_AWK="$ac_prog" 1183echo "$as_me:1183: found $ac_dir/$ac_word" >&5 1184break 1185done 1186 1187fi 1188fi 1189AWK=$ac_cv_prog_AWK 1190if test -n "$AWK"; then 1191 echo "$as_me:1191: result: $AWK" >&5 1192echo "${ECHO_T}$AWK" >&6 1193else 1194 echo "$as_me:1194: result: no" >&5 1195echo "${ECHO_T}no" >&6 1196fi 1197 1198 test -n "$AWK" && break 1199done 1200 1201echo "$as_me:1201: checking whether ${MAKE-make} sets \${MAKE}" >&5 1202echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 1203set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 1204if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1205 echo $ECHO_N "(cached) $ECHO_C" >&6 1206else 1207 cat >conftest.make <<\EOF 1208all: 1209 @echo 'ac_maketemp="${MAKE}"' 1210EOF 1211# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1212eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 1213if test -n "$ac_maketemp"; then 1214 eval ac_cv_prog_make_${ac_make}_set=yes 1215else 1216 eval ac_cv_prog_make_${ac_make}_set=no 1217fi 1218rm -f conftest.make 1219fi 1220if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 1221 echo "$as_me:1221: result: yes" >&5 1222echo "${ECHO_T}yes" >&6 1223 SET_MAKE= 1224else 1225 echo "$as_me:1225: result: no" >&5 1226echo "${ECHO_T}no" >&6 1227 SET_MAKE="MAKE=${MAKE-make}" 1228fi 1229 1230# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. 1231if test "${enable_dependency_tracking+set}" = set; then 1232 enableval="$enable_dependency_tracking" 1233 1234fi; 1235if test "x$enable_dependency_tracking" != xno; then 1236 am_depcomp="$ac_aux_dir/depcomp" 1237 AMDEPBACKSLASH='\' 1238fi 1239 1240if test "x$enable_dependency_tracking" != xno; then 1241 AMDEP_TRUE= 1242 AMDEP_FALSE='#' 1243else 1244 AMDEP_TRUE='#' 1245 AMDEP_FALSE= 1246fi 1247 1248rm -f .deps 2>/dev/null 1249mkdir .deps 2>/dev/null 1250if test -d .deps; then 1251 DEPDIR=.deps 1252else 1253 # MS-DOS does not allow filenames that begin with a dot. 1254 DEPDIR=_deps 1255fi 1256rmdir .deps 2>/dev/null 1257 1258# test to see if srcdir already configured 1259if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" && 1260 test -f $srcdir/config.status; then 1261 { { echo "$as_me:1261: error: source directory already configured; run \"make distclean\" there first" >&5 1262echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 1263 { (exit 1); exit 1; }; } 1264fi 1265 1266# Define the identity of the package. 1267PACKAGE=hlmaster 1268VERSION=0.9.3 1269 1270cat >>confdefs.h <<EOF 1271#define PACKAGE "$PACKAGE" 1272EOF 1273 1274cat >>confdefs.h <<EOF 1275#define VERSION "$VERSION" 1276EOF 1277 1278# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow 1279# the ones we care about. 1280 1281# Autoconf 2.50 always computes EXEEXT. However we need to be 1282# compatible with 2.13, for now. So we always define EXEEXT, but we 1283# don't compute it. 1284 1285# Similar for OBJEXT -- only we only use OBJEXT if the user actually 1286# requests that it be used. This is a bit dumb. 1287: ${OBJEXT=o} 1288 1289# Some tools Automake needs. 1290 1291ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"} 1292 1293AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 1294 1295AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"} 1296 1297AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 1298 1299MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 1300 1301AMTAR=${AMTAR-"${am_missing_run}tar"} 1302 1303install_sh=${install_sh-"$am_aux_dir/install-sh"} 1304 1305INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 1306 1307# We need awk for the "check" target. The system "awk" is bad on 1308# some platforms. 1309 1310ac_ext=cc 1311ac_cpp='$CXXCPP $CPPFLAGS' 1312ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1313ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1314ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1315if test -n "$ac_tool_prefix"; then 1316 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 1317 do 1318 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1319set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1320echo "$as_me:1320: checking for $ac_word" >&5 1321echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1322if test "${ac_cv_prog_CXX+set}" = set; then 1323 echo $ECHO_N "(cached) $ECHO_C" >&6 1324else 1325 if test -n "$CXX"; then 1326 ac_cv_prog_CXX="$CXX" # Let the user override the test. 1327else 1328 ac_save_IFS=$IFS; IFS=$ac_path_separator 1329ac_dummy="$PATH" 1330for ac_dir in $ac_dummy; do 1331 IFS=$ac_save_IFS 1332 test -z "$ac_dir" && ac_dir=. 1333 $as_executable_p "$ac_dir/$ac_word" || continue 1334ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 1335echo "$as_me:1335: found $ac_dir/$ac_word" >&5 1336break 1337done 1338 1339fi 1340fi 1341CXX=$ac_cv_prog_CXX 1342if test -n "$CXX"; then 1343 echo "$as_me:1343: result: $CXX" >&5 1344echo "${ECHO_T}$CXX" >&6 1345else 1346 echo "$as_me:1346: result: no" >&5 1347echo "${ECHO_T}no" >&6 1348fi 1349 1350 test -n "$CXX" && break 1351 done 1352fi 1353if test -z "$CXX"; then 1354 ac_ct_CXX=$CXX 1355 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 1356do 1357 # Extract the first word of "$ac_prog", so it can be a program name with args. 1358set dummy $ac_prog; ac_word=$2 1359echo "$as_me:1359: checking for $ac_word" >&5 1360echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1361if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 1362 echo $ECHO_N "(cached) $ECHO_C" >&6 1363else 1364 if test -n "$ac_ct_CXX"; then 1365 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 1366else 1367 ac_save_IFS=$IFS; IFS=$ac_path_separator 1368ac_dummy="$PATH" 1369for ac_dir in $ac_dummy; do 1370 IFS=$ac_save_IFS 1371 test -z "$ac_dir" && ac_dir=. 1372 $as_executable_p "$ac_dir/$ac_word" || continue 1373ac_cv_prog_ac_ct_CXX="$ac_prog" 1374echo "$as_me:1374: found $ac_dir/$ac_word" >&5 1375break 1376done 1377 1378fi 1379fi 1380ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 1381if test -n "$ac_ct_CXX"; then 1382 echo "$as_me:1382: result: $ac_ct_CXX" >&5 1383echo "${ECHO_T}$ac_ct_CXX" >&6 1384else 1385 echo "$as_me:1385: result: no" >&5 1386echo "${ECHO_T}no" >&6 1387fi 1388 1389 test -n "$ac_ct_CXX" && break 1390done 1391test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 1392 1393 CXX=$ac_ct_CXX 1394fi 1395 1396# Provide some information about the compiler. 1397echo "$as_me:1397:" \ 1398 "checking for C++ compiler version" >&5 1399ac_compiler=`set X $ac_compile; echo $2` 1400{ (eval echo "$as_me:1400: \"$ac_compiler --version </dev/null >&5\"") >&5 1401 (eval $ac_compiler --version </dev/null >&5) 2>&5 1402 ac_status=$? 1403 echo "$as_me:1403: \$? = $ac_status" >&5 1404 (exit $ac_status); } 1405{ (eval echo "$as_me:1405: \"$ac_compiler -v </dev/null >&5\"") >&5 1406 (eval $ac_compiler -v </dev/null >&5) 2>&5 1407 ac_status=$? 1408 echo "$as_me:1408: \$? = $ac_status" >&5 1409 (exit $ac_status); } 1410{ (eval echo "$as_me:1410: \"$ac_compiler -V </dev/null >&5\"") >&5 1411 (eval $ac_compiler -V </dev/null >&5) 2>&5 1412 ac_status=$? 1413 echo "$as_me:1413: \$? = $ac_status" >&5 1414 (exit $ac_status); } 1415 1416cat >conftest.$ac_ext <<_ACEOF 1417#line 1417 "configure" 1418#include "confdefs.h" 1419 1420int 1421main () 1422{ 1423 1424 ; 1425 return 0; 1426} 1427_ACEOF 1428ac_clean_files_save=$ac_clean_files 1429ac_clean_files="$ac_clean_files a.out a.exe" 1430# Try to create an executable without -o first, disregard a.out. 1431# It will help us diagnose broken compilers, and finding out an intuition 1432# of exeext. 1433echo "$as_me:1433: checking for C++ compiler default output" >&5 1434echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6 1435ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1436if { (eval echo "$as_me:1436: \"$ac_link_default\"") >&5 1437 (eval $ac_link_default) 2>&5 1438 ac_status=$? 1439 echo "$as_me:1439: \$? = $ac_status" >&5 1440 (exit $ac_status); }; then 1441 # Find the output, starting from the most likely. This scheme is 1442# not robust to junk in `.', hence go to wildcards (a.*) only as a last 1443# resort. 1444for ac_file in `ls a.exe conftest.exe 2>/dev/null; 1445 ls a.out conftest 2>/dev/null; 1446 ls a.* conftest.* 2>/dev/null`; do 1447 case $ac_file in 1448 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 1449 a.out ) # We found the default executable, but exeext='' is most 1450 # certainly right. 1451 break;; 1452 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1453 # FIXME: I believe we export ac_cv_exeext for Libtool --akim. 1454 export ac_cv_exeext 1455 break;; 1456 * ) break;; 1457 esac 1458done 1459else 1460 echo "$as_me: failed program was:" >&5 1461cat conftest.$ac_ext >&5 1462{ { echo "$as_me:1462: error: C++ compiler cannot create executables" >&5 1463echo "$as_me: error: C++ compiler cannot create executables" >&2;} 1464 { (exit 77); exit 77; }; } 1465fi 1466 1467ac_exeext=$ac_cv_exeext 1468echo "$as_me:1468: result: $ac_file" >&5 1469echo "${ECHO_T}$ac_file" >&6 1470 1471# Check the compiler produces executables we can run. If not, either 1472# the compiler is broken, or we cross compile. 1473echo "$as_me:1473: checking whether the C++ compiler works" >&5 1474echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 1475# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1476# If not cross compiling, check that we can run a simple program. 1477if test "$cross_compiling" != yes; then 1478 if { ac_try='./$ac_file' 1479 { (eval echo "$as_me:1479: \"$ac_try\"") >&5 1480 (eval $ac_try) 2>&5 1481 ac_status=$? 1482 echo "$as_me:1482: \$? = $ac_status" >&5 1483 (exit $ac_status); }; }; then 1484 cross_compiling=no 1485 else 1486 if test "$cross_compiling" = maybe; then 1487 cross_compiling=yes 1488 else 1489 { { echo "$as_me:1489: error: cannot run C++ compiled programs. 1490If you meant to cross compile, use \`--host'." >&5 1491echo "$as_me: error: cannot run C++ compiled programs. 1492If you meant to cross compile, use \`--host'." >&2;} 1493 { (exit 1); exit 1; }; } 1494 fi 1495 fi 1496fi 1497echo "$as_me:1497: result: yes" >&5 1498echo "${ECHO_T}yes" >&6 1499 1500rm -f a.out a.exe conftest$ac_cv_exeext 1501ac_clean_files=$ac_clean_files_save 1502# Check the compiler produces executables we can run. If not, either 1503# the compiler is broken, or we cross compile. 1504echo "$as_me:1504: checking whether we are cross compiling" >&5 1505echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1506echo "$as_me:1506: result: $cross_compiling" >&5 1507echo "${ECHO_T}$cross_compiling" >&6 1508 1509echo "$as_me:1509: checking for executable suffix" >&5 1510echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 1511if { (eval echo "$as_me:1511: \"$ac_link\"") >&5 1512 (eval $ac_link) 2>&5 1513 ac_status=$? 1514 echo "$as_me:1514: \$? = $ac_status" >&5 1515 (exit $ac_status); }; then 1516 # If both `conftest.exe' and `conftest' are `present' (well, observable) 1517# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 1518# work properly (i.e., refer to `conftest.exe'), while it won't with 1519# `rm'. 1520for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do 1521 case $ac_file in 1522 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 1523 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1524 export ac_cv_exeext 1525 break;; 1526 * ) break;; 1527 esac 1528done 1529else 1530 { { echo "$as_me:1530: error: cannot compute EXEEXT: cannot compile and link" >&5 1531echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} 1532 { (exit 1); exit 1; }; } 1533fi 1534 1535rm -f conftest$ac_cv_exeext 1536echo "$as_me:1536: result: $ac_cv_exeext" >&5 1537echo "${ECHO_T}$ac_cv_exeext" >&6 1538 1539rm -f conftest.$ac_ext 1540EXEEXT=$ac_cv_exeext 1541ac_exeext=$EXEEXT 1542echo "$as_me:1542: checking for object suffix" >&5 1543echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 1544if test "${ac_cv_objext+set}" = set; then 1545 echo $ECHO_N "(cached) $ECHO_C" >&6 1546else 1547 cat >conftest.$ac_ext <<_ACEOF 1548#line 1548 "configure" 1549#include "confdefs.h" 1550 1551int 1552main () 1553{ 1554 1555 ; 1556 return 0; 1557} 1558_ACEOF 1559rm -f conftest.o conftest.obj 1560if { (eval echo "$as_me:1560: \"$ac_compile\"") >&5 1561 (eval $ac_compile) 2>&5 1562 ac_status=$? 1563 echo "$as_me:1563: \$? = $ac_status" >&5 1564 (exit $ac_status); }; then 1565 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 1566 case $ac_file in 1567 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; 1568 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1569 break;; 1570 esac 1571done 1572else 1573 echo "$as_me: failed program was:" >&5 1574cat conftest.$ac_ext >&5 1575{ { echo "$as_me:1575: error: cannot compute OBJEXT: cannot compile" >&5 1576echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} 1577 { (exit 1); exit 1; }; } 1578fi 1579 1580rm -f conftest.$ac_cv_objext conftest.$ac_ext 1581fi 1582echo "$as_me:1582: result: $ac_cv_objext" >&5 1583echo "${ECHO_T}$ac_cv_objext" >&6 1584OBJEXT=$ac_cv_objext 1585ac_objext=$OBJEXT 1586echo "$as_me:1586: checking whether we are using the GNU C++ compiler" >&5 1587echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 1588if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 1589 echo $ECHO_N "(cached) $ECHO_C" >&6 1590else 1591 cat >conftest.$ac_ext <<_ACEOF 1592#line 1592 "configure" 1593#include "confdefs.h" 1594 1595int 1596main () 1597{ 1598#ifndef __GNUC__ 1599 choke me 1600#endif 1601 1602 ; 1603 return 0; 1604} 1605_ACEOF 1606rm -f conftest.$ac_objext 1607if { (eval echo "$as_me:1607: \"$ac_compile\"") >&5 1608 (eval $ac_compile) 2>&5 1609 ac_status=$? 1610 echo "$as_me:1610: \$? = $ac_status" >&5 1611 (exit $ac_status); } && 1612 { ac_try='test -s conftest.$ac_objext' 1613 { (eval echo "$as_me:1613: \"$ac_try\"") >&5 1614 (eval $ac_try) 2>&5 1615 ac_status=$? 1616 echo "$as_me:1616: \$? = $ac_status" >&5 1617 (exit $ac_status); }; }; then 1618 ac_compiler_gnu=yes 1619else 1620 echo "$as_me: failed program was:" >&5 1621cat conftest.$ac_ext >&5 1622ac_compiler_gnu=no 1623fi 1624rm -f conftest.$ac_objext conftest.$ac_ext 1625ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 1626 1627fi 1628echo "$as_me:1628: result: $ac_cv_cxx_compiler_gnu" >&5 1629echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 1630GXX=`test $ac_compiler_gnu = yes && echo yes` 1631ac_test_CXXFLAGS=${CXXFLAGS+set} 1632ac_save_CXXFLAGS=$CXXFLAGS 1633CXXFLAGS="-g" 1634echo "$as_me:1634: checking whether $CXX accepts -g" >&5 1635echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 1636if test "${ac_cv_prog_cxx_g+set}" = set; then 1637 echo $ECHO_N "(cached) $ECHO_C" >&6 1638else 1639 cat >conftest.$ac_ext <<_ACEOF 1640#line 1640 "configure" 1641#include "confdefs.h" 1642 1643int 1644main () 1645{ 1646 1647 ; 1648 return 0; 1649} 1650_ACEOF 1651rm -f conftest.$ac_objext 1652if { (eval echo "$as_me:1652: \"$ac_compile\"") >&5 1653 (eval $ac_compile) 2>&5 1654 ac_status=$? 1655 echo "$as_me:1655: \$? = $ac_status" >&5 1656 (exit $ac_status); } && 1657 { ac_try='test -s conftest.$ac_objext' 1658 { (eval echo "$as_me:1658: \"$ac_try\"") >&5 1659 (eval $ac_try) 2>&5 1660 ac_status=$? 1661 echo "$as_me:1661: \$? = $ac_status" >&5 1662 (exit $ac_status); }; }; then 1663 ac_cv_prog_cxx_g=yes 1664else 1665 echo "$as_me: failed program was:" >&5 1666cat conftest.$ac_ext >&5 1667ac_cv_prog_cxx_g=no 1668fi 1669rm -f conftest.$ac_objext conftest.$ac_ext 1670fi 1671echo "$as_me:1671: result: $ac_cv_prog_cxx_g" >&5 1672echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 1673if test "$ac_test_CXXFLAGS" = set; then 1674 CXXFLAGS=$ac_save_CXXFLAGS 1675elif test $ac_cv_prog_cxx_g = yes; then 1676 if test "$GXX" = yes; then 1677 CXXFLAGS="-g " 1678 else 1679 CXXFLAGS="-g" 1680 fi 1681else 1682 if test "$GXX" = yes; then 1683 CXXFLAGS="" 1684 else 1685 CXXFLAGS= 1686 fi 1687fi 1688for ac_declaration in \ 1689 ''\ 1690 '#include <stdlib.h>' \ 1691 'extern "C" void std::exit (int) throw (); using std::exit;' \ 1692 'extern "C" void std::exit (int); using std::exit;' \ 1693 'extern "C" void exit (int) throw ();' \ 1694 'extern "C" void exit (int);' \ 1695 'void exit (int);' 1696do 1697 cat >conftest.$ac_ext <<_ACEOF 1698#line 1698 "configure" 1699#include "confdefs.h" 1700#include <stdlib.h> 1701$ac_declaration 1702int 1703main () 1704{ 1705exit (42); 1706 ; 1707 return 0; 1708} 1709_ACEOF 1710rm -f conftest.$ac_objext 1711if { (eval echo "$as_me:1711: \"$ac_compile\"") >&5 1712 (eval $ac_compile) 2>&5 1713 ac_status=$? 1714 echo "$as_me:1714: \$? = $ac_status" >&5 1715 (exit $ac_status); } && 1716 { ac_try='test -s conftest.$ac_objext' 1717 { (eval echo "$as_me:1717: \"$ac_try\"") >&5 1718 (eval $ac_try) 2>&5 1719 ac_status=$? 1720 echo "$as_me:1720: \$? = $ac_status" >&5 1721 (exit $ac_status); }; }; then 1722 : 1723else 1724 echo "$as_me: failed program was:" >&5 1725cat conftest.$ac_ext >&5 1726continue 1727fi 1728rm -f conftest.$ac_objext conftest.$ac_ext 1729 cat >conftest.$ac_ext <<_ACEOF 1730#line 1730 "configure" 1731#include "confdefs.h" 1732$ac_declaration 1733int 1734main () 1735{ 1736exit (42); 1737 ; 1738 return 0; 1739} 1740_ACEOF 1741rm -f conftest.$ac_objext 1742if { (eval echo "$as_me:1742: \"$ac_compile\"") >&5 1743 (eval $ac_compile) 2>&5 1744 ac_status=$? 1745 echo "$as_me:1745: \$? = $ac_status" >&5 1746 (exit $ac_status); } && 1747 { ac_try='test -s conftest.$ac_objext' 1748 { (eval echo "$as_me:1748: \"$ac_try\"") >&5 1749 (eval $ac_try) 2>&5 1750 ac_status=$? 1751 echo "$as_me:1751: \$? = $ac_status" >&5 1752 (exit $ac_status); }; }; then 1753 break 1754else 1755 echo "$as_me: failed program was:" >&5 1756cat conftest.$ac_ext >&5 1757fi 1758rm -f conftest.$ac_objext conftest.$ac_ext 1759done 1760rm -f conftest* 1761if test -n "$ac_declaration"; then 1762 echo '#ifdef __cplusplus' >>confdefs.h 1763 echo $ac_declaration >>confdefs.h 1764 echo '#endif' >>confdefs.h 1765fi 1766 1767ac_ext=c 1768ac_cpp='$CPP $CPPFLAGS' 1769ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1770ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1771ac_compiler_gnu=$ac_cv_c_compiler_gnu 1772 1773ac_config_commands="$ac_config_commands default-1" 1774 1775am_make=${MAKE-make} 1776cat > confinc << 'END' 1777doit: 1778 @echo done 1779END 1780# If we don't find an include directive, just comment out the code. 1781echo "$as_me:1781: checking for style of include used by $am_make" >&5 1782echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 1783am__include='#' 1784am__quote= 1785_am_result=none 1786# First try GNU make style include. 1787echo "include confinc" > confmf 1788# We grep out `Entering directory' and `Leaving directory' 1789# messages which can occur if `w' ends up in MAKEFLAGS. 1790# In particular we don't look at `^make:' because GNU make might 1791# be invoked under some other name (usually "gmake"), in which 1792# case it prints its new name instead of `make'. 1793if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then 1794 am__include=include 1795 am__quote= 1796 _am_result=GNU 1797fi 1798# Now try BSD make style include. 1799if test "$am__include" = "#"; then 1800 echo '.include "confinc"' > confmf 1801 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 1802 am__include=.include 1803 am__quote='"' 1804 _am_result=BSD 1805 fi 1806fi 1807 1808echo "$as_me:1808: result: $_am_result" >&5 1809echo "${ECHO_T}$_am_result" >&6 1810rm -f confinc confmf 1811 1812depcc="$CXX" am_compiler_list= 1813 1814echo "$as_me:1814: checking dependency style of $depcc" >&5 1815echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 1816if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then 1817 echo $ECHO_N "(cached) $ECHO_C" >&6 1818else 1819 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 1820 # We make a subdir and do the tests there. Otherwise we can end up 1821 # making bogus files that we don't know about and never remove. For 1822 # instance it was reported that on HP-UX the gcc test will end up 1823 # making a dummy file named `D' -- because `-MD' means `put the output 1824 # in D'. 1825 mkdir conftest.dir 1826 # Copy depcomp to subdir because otherwise we won't find it if we're 1827 # using a relative directory. 1828 cp "$am_depcomp" conftest.dir 1829 cd conftest.dir 1830 1831 am_cv_CXX_dependencies_compiler_type=none 1832 if test "$am_compiler_list" = ""; then 1833 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 1834 fi 1835 for depmode in $am_compiler_list; do 1836 # We need to recreate these files for each test, as the compiler may 1837 # overwrite some of them when testing with obscure command lines. 1838 # This happens at least with the AIX C compiler. 1839 echo '#include "conftest.h"' > conftest.c 1840 echo 'int i;' > conftest.h 1841 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf 1842 1843 case $depmode in 1844 nosideeffect) 1845 # after this tag, mechanisms are not by side-effect, so they'll 1846 # only be used when explicitly requested 1847 if test "x$enable_dependency_tracking" = xyes; then 1848 continue 1849 else 1850 break 1851 fi 1852 ;; 1853 none) break ;; 1854 esac 1855 # We check with `-c' and `-o' for the sake of the "dashmstdout" 1856 # mode. It turns out that the SunPro C++ compiler does not properly 1857 # handle `-M -o', and we need to detect this. 1858 if depmode=$depmode \ 1859 source=conftest.c object=conftest.o \ 1860 depfile=conftest.Po tmpdepfile=conftest.TPo \ 1861 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && 1862 grep conftest.h conftest.Po > /dev/null 2>&1 && 1863 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 1864 am_cv_CXX_dependencies_compiler_type=$depmode 1865 break 1866 fi 1867 done 1868 1869 cd .. 1870 rm -rf conftest.dir 1871else 1872 am_cv_CXX_dependencies_compiler_type=none 1873fi 1874 1875fi 1876echo "$as_me:1876: result: $am_cv_CXX_dependencies_compiler_type" >&5 1877echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 1878CXXDEPMODE="depmode=$am_cv_CXX_dependencies_compiler_type" 1879 1880if test -n "$ac_tool_prefix"; then 1881 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 1882set dummy ${ac_tool_prefix}ranlib; ac_word=$2 1883echo "$as_me:1883: checking for $ac_word" >&5 1884echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1885if test "${ac_cv_prog_RANLIB+set}" = set; then 1886 echo $ECHO_N "(cached) $ECHO_C" >&6 1887else 1888 if test -n "$RANLIB"; then 1889 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 1890else 1891 ac_save_IFS=$IFS; IFS=$ac_path_separator 1892ac_dummy="$PATH" 1893for ac_dir in $ac_dummy; do 1894 IFS=$ac_save_IFS 1895 test -z "$ac_dir" && ac_dir=. 1896 $as_executable_p "$ac_dir/$ac_word" || continue 1897ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 1898echo "$as_me:1898: found $ac_dir/$ac_word" >&5 1899break 1900done 1901 1902fi 1903fi 1904RANLIB=$ac_cv_prog_RANLIB 1905if test -n "$RANLIB"; then 1906 echo "$as_me:1906: result: $RANLIB" >&5 1907echo "${ECHO_T}$RANLIB" >&6 1908else 1909 echo "$as_me:1909: result: no" >&5 1910echo "${ECHO_T}no" >&6 1911fi 1912 1913fi 1914if test -z "$ac_cv_prog_RANLIB"; then 1915 ac_ct_RANLIB=$RANLIB 1916 # Extract the first word of "ranlib", so it can be a program name with args. 1917set dummy ranlib; ac_word=$2 1918echo "$as_me:1918: checking for $ac_word" >&5 1919echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1920if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 1921 echo $ECHO_N "(cached) $ECHO_C" >&6 1922else 1923 if test -n "$ac_ct_RANLIB"; then 1924 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 1925else 1926 ac_save_IFS=$IFS; IFS=$ac_path_separator 1927ac_dummy="$PATH" 1928for ac_dir in $ac_dummy; do 1929 IFS=$ac_save_IFS 1930 test -z "$ac_dir" && ac_dir=. 1931 $as_executable_p "$ac_dir/$ac_word" || continue 1932ac_cv_prog_ac_ct_RANLIB="ranlib" 1933echo "$as_me:1933: found $ac_dir/$ac_word" >&5 1934break 1935done 1936 1937 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 1938fi 1939fi 1940ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 1941if test -n "$ac_ct_RANLIB"; then 1942 echo "$as_me:1942: result: $ac_ct_RANLIB" >&5 1943echo "${ECHO_T}$ac_ct_RANLIB" >&6 1944else 1945 echo "$as_me:1945: result: no" >&5 1946echo "${ECHO_T}no" >&6 1947fi 1948 1949 RANLIB=$ac_ct_RANLIB 1950else 1951 RANLIB="$ac_cv_prog_RANLIB" 1952fi 1953 1954ac_ext=c 1955ac_cpp='$CPP $CPPFLAGS' 1956ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1957ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1958ac_compiler_gnu=$ac_cv_c_compiler_gnu 1959if test -n "$ac_tool_prefix"; then 1960 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1961set dummy ${ac_tool_prefix}gcc; ac_word=$2 1962echo "$as_me:1962: checking for $ac_word" >&5 1963echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1964if test "${ac_cv_prog_CC+set}" = set; then 1965 echo $ECHO_N "(cached) $ECHO_C" >&6 1966else 1967 if test -n "$CC"; then 1968 ac_cv_prog_CC="$CC" # Let the user override the test. 1969else 1970 ac_save_IFS=$IFS; IFS=$ac_path_separator 1971ac_dummy="$PATH" 1972for ac_dir in $ac_dummy; do 1973 IFS=$ac_save_IFS 1974 test -z "$ac_dir" && ac_dir=. 1975 $as_executable_p "$ac_dir/$ac_word" || continue 1976ac_cv_prog_CC="${ac_tool_prefix}gcc" 1977echo "$as_me:1977: found $ac_dir/$ac_word" >&5 1978break 1979done 1980 1981fi 1982fi 1983CC=$ac_cv_prog_CC 1984if test -n "$CC"; then 1985 echo "$as_me:1985: result: $CC" >&5 1986echo "${ECHO_T}$CC" >&6 1987else 1988 echo "$as_me:1988: result: no" >&5 1989echo "${ECHO_T}no" >&6 1990fi 1991 1992fi 1993if test -z "$ac_cv_prog_CC"; then 1994 ac_ct_CC=$CC 1995 # Extract the first word of "gcc", so it can be a program name with args. 1996set dummy gcc; ac_word=$2 1997echo "$as_me:1997: checking for $ac_word" >&5 1998echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1999if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2000 echo $ECHO_N "(cached) $ECHO_C" >&6 2001else 2002 if test -n "$ac_ct_CC"; then 2003 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2004else 2005 ac_save_IFS=$IFS; IFS=$ac_path_separator 2006ac_dummy="$PATH" 2007for ac_dir in $ac_dummy; do 2008 IFS=$ac_save_IFS 2009 test -z "$ac_dir" && ac_dir=. 2010 $as_executable_p "$ac_dir/$ac_word" || continue 2011ac_cv_prog_ac_ct_CC="gcc" 2012echo "$as_me:2012: found $ac_dir/$ac_word" >&5 2013break 2014done 2015 2016fi 2017fi 2018ac_ct_CC=$ac_cv_prog_ac_ct_CC 2019if test -n "$ac_ct_CC"; then 2020 echo "$as_me:2020: result: $ac_ct_CC" >&5 2021echo "${ECHO_T}$ac_ct_CC" >&6 2022else 2023 echo "$as_me:2023: result: no" >&5 2024echo "${ECHO_T}no" >&6 2025fi 2026 2027 CC=$ac_ct_CC 2028else 2029 CC="$ac_cv_prog_CC" 2030fi 2031 2032if test -z "$CC"; then 2033 if test -n "$ac_tool_prefix"; then 2034 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2035set dummy ${ac_tool_prefix}cc; ac_word=$2 2036echo "$as_me:2036: checking for $ac_word" >&5 2037echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2038if test "${ac_cv_prog_CC+set}" = set; then 2039 echo $ECHO_N "(cached) $ECHO_C" >&6 2040else 2041 if test -n "$CC"; then 2042 ac_cv_prog_CC="$CC" # Let the user override the test. 2043else 2044 ac_save_IFS=$IFS; IFS=$ac_path_separator 2045ac_dummy="$PATH" 2046for ac_dir in $ac_dummy; do 2047 IFS=$ac_save_IFS 2048 test -z "$ac_dir" && ac_dir=. 2049 $as_executable_p "$ac_dir/$ac_word" || continue 2050ac_cv_prog_CC="${ac_tool_prefix}cc" 2051echo "$as_me:2051: found $ac_dir/$ac_word" >&5 2052break 2053done 2054 2055fi 2056fi 2057CC=$ac_cv_prog_CC 2058if test -n "$CC"; then 2059 echo "$as_me:2059: result: $CC" >&5 2060echo "${ECHO_T}$CC" >&6 2061else 2062 echo "$as_me:2062: result: no" >&5 2063echo "${ECHO_T}no" >&6 2064fi 2065 2066fi 2067if test -z "$ac_cv_prog_CC"; then 2068 ac_ct_CC=$CC 2069 # Extract the first word of "cc", so it can be a program name with args. 2070set dummy cc; ac_word=$2 2071echo "$as_me:2071: checking for $ac_word" >&5 2072echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2073if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2074 echo $ECHO_N "(cached) $ECHO_C" >&6 2075else 2076 if test -n "$ac_ct_CC"; then 2077 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2078else 2079 ac_save_IFS=$IFS; IFS=$ac_path_separator 2080ac_dummy="$PATH" 2081for ac_dir in $ac_dummy; do 2082 IFS=$ac_save_IFS 2083 test -z "$ac_dir" && ac_dir=. 2084 $as_executable_p "$ac_dir/$ac_word" || continue 2085ac_cv_prog_ac_ct_CC="cc" 2086echo "$as_me:2086: found $ac_dir/$ac_word" >&5 2087break 2088done 2089 2090fi 2091fi 2092ac_ct_CC=$ac_cv_prog_ac_ct_CC 2093if test -n "$ac_ct_CC"; then 2094 echo "$as_me:2094: result: $ac_ct_CC" >&5 2095echo "${ECHO_T}$ac_ct_CC" >&6 2096else 2097 echo "$as_me:2097: result: no" >&5 2098echo "${ECHO_T}no" >&6 2099fi 2100 2101 CC=$ac_ct_CC 2102else 2103 CC="$ac_cv_prog_CC" 2104fi 2105 2106fi 2107if test -z "$CC"; then 2108 # Extract the first word of "cc", so it can be a program name with args. 2109set dummy cc; ac_word=$2 2110echo "$as_me:2110: checking for $ac_word" >&5 2111echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2112if test "${ac_cv_prog_CC+set}" = set; then 2113 echo $ECHO_N "(cached) $ECHO_C" >&6 2114else 2115 if test -n "$CC"; then 2116 ac_cv_prog_CC="$CC" # Let the user override the test. 2117else 2118 ac_prog_rejected=no 2119 ac_save_IFS=$IFS; IFS=$ac_path_separator 2120ac_dummy="$PATH" 2121for ac_dir in $ac_dummy; do 2122 IFS=$ac_save_IFS 2123 test -z "$ac_dir" && ac_dir=. 2124 $as_executable_p "$ac_dir/$ac_word" || continue 2125if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 2126 ac_prog_rejected=yes 2127 continue 2128fi 2129ac_cv_prog_CC="cc" 2130echo "$as_me:2130: found $ac_dir/$ac_word" >&5 2131break 2132done 2133 2134if test $ac_prog_rejected = yes; then 2135 # We found a bogon in the path, so make sure we never use it. 2136 set dummy $ac_cv_prog_CC 2137 shift 2138 if test $# != 0; then 2139 # We chose a different compiler from the bogus one. 2140 # However, it has the same basename, so the bogon will be chosen 2141 # first if we set CC to just the basename; use the full file name. 2142 shift 2143 set dummy "$ac_dir/$ac_word" ${1+"$@"} 2144 shift 2145 ac_cv_prog_CC="$@" 2146 fi 2147fi 2148fi 2149fi 2150CC=$ac_cv_prog_CC 2151if test -n "$CC"; then 2152 echo "$as_me:2152: result: $CC" >&5 2153echo "${ECHO_T}$CC" >&6 2154else 2155 echo "$as_me:2155: result: no" >&5 2156echo "${ECHO_T}no" >&6 2157fi 2158 2159fi 2160if test -z "$CC"; then 2161 if test -n "$ac_tool_prefix"; then 2162 for ac_prog in cl 2163 do 2164 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2165set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2166echo "$as_me:2166: checking for $ac_word" >&5 2167echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2168if test "${ac_cv_prog_CC+set}" = set; then 2169 echo $ECHO_N "(cached) $ECHO_C" >&6 2170else 2171 if test -n "$CC"; then 2172 ac_cv_prog_CC="$CC" # Let the user override the test. 2173else 2174 ac_save_IFS=$IFS; IFS=$ac_path_separator 2175ac_dummy="$PATH" 2176for ac_dir in $ac_dummy; do 2177 IFS=$ac_save_IFS 2178 test -z "$ac_dir" && ac_dir=. 2179 $as_executable_p "$ac_dir/$ac_word" || continue 2180ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2181echo "$as_me:2181: found $ac_dir/$ac_word" >&5 2182break 2183done 2184 2185fi 2186fi 2187CC=$ac_cv_prog_CC 2188if test -n "$CC"; then 2189 echo "$as_me:2189: result: $CC" >&5 2190echo "${ECHO_T}$CC" >&6 2191else 2192 echo "$as_me:2192: result: no" >&5 2193echo "${ECHO_T}no" >&6 2194fi 2195 2196 test -n "$CC" && break 2197 done 2198fi 2199if test -z "$CC"; then 2200 ac_ct_CC=$CC 2201 for ac_prog in cl 2202do 2203 # Extract the first word of "$ac_prog", so it can be a program name with args. 2204set dummy $ac_prog; ac_word=$2 2205echo "$as_me:2205: checking for $ac_word" >&5 2206echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2207if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2208 echo $ECHO_N "(cached) $ECHO_C" >&6 2209else 2210 if test -n "$ac_ct_CC"; then 2211 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2212else 2213 ac_save_IFS=$IFS; IFS=$ac_path_separator 2214ac_dummy="$PATH" 2215for ac_dir in $ac_dummy; do 2216 IFS=$ac_save_IFS 2217 test -z "$ac_dir" && ac_dir=. 2218 $as_executable_p "$ac_dir/$ac_word" || continue 2219ac_cv_prog_ac_ct_CC="$ac_prog" 2220echo "$as_me:2220: found $ac_dir/$ac_word" >&5 2221break 2222done 2223 2224fi 2225fi 2226ac_ct_CC=$ac_cv_prog_ac_ct_CC 2227if test -n "$ac_ct_CC"; then 2228 echo "$as_me:2228: result: $ac_ct_CC" >&5 2229echo "${ECHO_T}$ac_ct_CC" >&6 2230else 2231 echo "$as_me:2231: result: no" >&5 2232echo "${ECHO_T}no" >&6 2233fi 2234 2235 test -n "$ac_ct_CC" && break 2236done 2237 2238 CC=$ac_ct_CC 2239fi 2240 2241fi 2242 2243test -z "$CC" && { { echo "$as_me:2243: error: no acceptable cc found in \$PATH" >&5 2244echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} 2245 { (exit 1); exit 1; }; } 2246 2247# Provide some information about the compiler. 2248echo "$as_me:2248:" \ 2249 "checking for C compiler version" >&5 2250ac_compiler=`set X $ac_compile; echo $2` 2251{ (eval echo "$as_me:2251: \"$ac_compiler --version </dev/null >&5\"") >&5 2252 (eval $ac_compiler --version </dev/null >&5) 2>&5 2253 ac_status=$? 2254 echo "$as_me:2254: \$? = $ac_status" >&5 2255 (exit $ac_status); } 2256{ (eval echo "$as_me:2256: \"$ac_compiler -v </dev/null >&5\"") >&5 2257 (eval $ac_compiler -v </dev/null >&5) 2>&5 2258 ac_status=$? 2259 echo "$as_me:2259: \$? = $ac_status" >&5 2260 (exit $ac_status); } 2261{ (eval echo "$as_me:2261: \"$ac_compiler -V </dev/null >&5\"") >&5 2262 (eval $ac_compiler -V </dev/null >&5) 2>&5 2263 ac_status=$? 2264 echo "$as_me:2264: \$? = $ac_status" >&5 2265 (exit $ac_status); } 2266 2267echo "$as_me:2267: checking whether we are using the GNU C compiler" >&5 2268echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2269if test "${ac_cv_c_compiler_gnu+set}" = set; then 2270 echo $ECHO_N "(cached) $ECHO_C" >&6 2271else 2272 cat >conftest.$ac_ext <<_ACEOF 2273#line 2273 "configure" 2274#include "confdefs.h" 2275 2276int 2277main () 2278{ 2279#ifndef __GNUC__ 2280 choke me 2281#endif 2282 2283 ; 2284 return 0; 2285} 2286_ACEOF 2287rm -f conftest.$ac_objext 2288if { (eval echo "$as_me:2288: \"$ac_compile\"") >&5 2289 (eval $ac_compile) 2>&5 2290 ac_status=$? 2291 echo "$as_me:2291: \$? = $ac_status" >&5 2292 (exit $ac_status); } && 2293 { ac_try='test -s conftest.$ac_objext' 2294 { (eval echo "$as_me:2294: \"$ac_try\"") >&5 2295 (eval $ac_try) 2>&5 2296 ac_status=$? 2297 echo "$as_me:2297: \$? = $ac_status" >&5 2298 (exit $ac_status); }; }; then 2299 ac_compiler_gnu=yes 2300else 2301 echo "$as_me: failed program was:" >&5 2302cat conftest.$ac_ext >&5 2303ac_compiler_gnu=no 2304fi 2305rm -f conftest.$ac_objext conftest.$ac_ext 2306ac_cv_c_compiler_gnu=$ac_compiler_gnu 2307 2308fi 2309echo "$as_me:2309: result: $ac_cv_c_compiler_gnu" >&5 2310echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2311GCC=`test $ac_compiler_gnu = yes && echo yes` 2312ac_test_CFLAGS=${CFLAGS+set} 2313ac_save_CFLAGS=$CFLAGS 2314CFLAGS="-g" 2315echo "$as_me:2315: checking whether $CC accepts -g" >&5 2316echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2317if test "${ac_cv_prog_cc_g+set}" = set; then 2318 echo $ECHO_N "(cached) $ECHO_C" >&6 2319else 2320 cat >conftest.$ac_ext <<_ACEOF 2321#line 2321 "configure" 2322#include "confdefs.h" 2323 2324int 2325main () 2326{ 2327 2328 ; 2329 return 0; 2330} 2331_ACEOF 2332rm -f conftest.$ac_objext 2333if { (eval echo "$as_me:2333: \"$ac_compile\"") >&5 2334 (eval $ac_compile) 2>&5 2335 ac_status=$? 2336 echo "$as_me:2336: \$? = $ac_status" >&5 2337 (exit $ac_status); } && 2338 { ac_try='test -s conftest.$ac_objext' 2339 { (eval echo "$as_me:2339: \"$ac_try\"") >&5 2340 (eval $ac_try) 2>&5 2341 ac_status=$? 2342 echo "$as_me:2342: \$? = $ac_status" >&5 2343 (exit $ac_status); }; }; then 2344 ac_cv_prog_cc_g=yes 2345else 2346 echo "$as_me: failed program was:" >&5 2347cat conftest.$ac_ext >&5 2348ac_cv_prog_cc_g=no 2349fi 2350rm -f conftest.$ac_objext conftest.$ac_ext 2351fi 2352echo "$as_me:2352: result: $ac_cv_prog_cc_g" >&5 2353echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2354if test "$ac_test_CFLAGS" = set; then 2355 CFLAGS=$ac_save_CFLAGS 2356elif test $ac_cv_prog_cc_g = yes; then 2357 if test "$GCC" = yes; then 2358 CFLAGS="-g " 2359 else 2360 CFLAGS="-g" 2361 fi 2362else 2363 if test "$GCC" = yes; then 2364 CFLAGS="" 2365 else 2366 CFLAGS= 2367 fi 2368fi 2369# Some people use a C++ compiler to compile C. Since we use `exit', 2370# in C++ we need to declare it. In case someone uses the same compiler 2371# for both compiling C and C++ we need to have the C++ compiler decide 2372# the declaration of exit, since it's the most demanding environment. 2373cat >conftest.$ac_ext <<_ACEOF 2374#ifndef __cplusplus 2375 choke me 2376#endif 2377_ACEOF 2378rm -f conftest.$ac_objext 2379if { (eval echo "$as_me:2379: \"$ac_compile\"") >&5 2380 (eval $ac_compile) 2>&5 2381 ac_status=$? 2382 echo "$as_me:2382: \$? = $ac_status" >&5 2383 (exit $ac_status); } && 2384 { ac_try='test -s conftest.$ac_objext' 2385 { (eval echo "$as_me:2385: \"$ac_try\"") >&5 2386 (eval $ac_try) 2>&5 2387 ac_status=$? 2388 echo "$as_me:2388: \$? = $ac_status" >&5 2389 (exit $ac_status); }; }; then 2390 for ac_declaration in \ 2391 ''\ 2392 '#include <stdlib.h>' \ 2393 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2394 'extern "C" void std::exit (int); using std::exit;' \ 2395 'extern "C" void exit (int) throw ();' \ 2396 'extern "C" void exit (int);' \ 2397 'void exit (int);' 2398do 2399 cat >conftest.$ac_ext <<_ACEOF 2400#line 2400 "configure" 2401#include "confdefs.h" 2402#include <stdlib.h> 2403$ac_declaration 2404int 2405main () 2406{ 2407exit (42); 2408 ; 2409 return 0; 2410} 2411_ACEOF 2412rm -f conftest.$ac_objext 2413if { (eval echo "$as_me:2413: \"$ac_compile\"") >&5 2414 (eval $ac_compile) 2>&5 2415 ac_status=$? 2416 echo "$as_me:2416: \$? = $ac_status" >&5 2417 (exit $ac_status); } && 2418 { ac_try='test -s conftest.$ac_objext' 2419 { (eval echo "$as_me:2419: \"$ac_try\"") >&5 2420 (eval $ac_try) 2>&5 2421 ac_status=$? 2422 echo "$as_me:2422: \$? = $ac_status" >&5 2423 (exit $ac_status); }; }; then 2424 : 2425else 2426 echo "$as_me: failed program was:" >&5 2427cat conftest.$ac_ext >&5 2428continue 2429fi 2430rm -f conftest.$ac_objext conftest.$ac_ext 2431 cat >conftest.$ac_ext <<_ACEOF 2432#line 2432 "configure" 2433#include "confdefs.h" 2434$ac_declaration 2435int 2436main () 2437{ 2438exit (42); 2439 ; 2440 return 0; 2441} 2442_ACEOF 2443rm -f conftest.$ac_objext 2444if { (eval echo "$as_me:2444: \"$ac_compile\"") >&5 2445 (eval $ac_compile) 2>&5 2446 ac_status=$? 2447 echo "$as_me:2447: \$? = $ac_status" >&5 2448 (exit $ac_status); } && 2449 { ac_try='test -s conftest.$ac_objext' 2450 { (eval echo "$as_me:2450: \"$ac_try\"") >&5 2451 (eval $ac_try) 2>&5 2452 ac_status=$? 2453 echo "$as_me:2453: \$? = $ac_status" >&5 2454 (exit $ac_status); }; }; then 2455 break 2456else 2457 echo "$as_me: failed program was:" >&5 2458cat conftest.$ac_ext >&5 2459fi 2460rm -f conftest.$ac_objext conftest.$ac_ext 2461done 2462rm -f conftest* 2463if test -n "$ac_declaration"; then 2464 echo '#ifdef __cplusplus' >>confdefs.h 2465 echo $ac_declaration >>confdefs.h 2466 echo '#endif' >>confdefs.h 2467fi 2468 2469else 2470 echo "$as_me: failed program was:" >&5 2471cat conftest.$ac_ext >&5 2472fi 2473rm -f conftest.$ac_objext conftest.$ac_ext 2474ac_ext=c 2475ac_cpp='$CPP $CPPFLAGS' 2476ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2477ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2478ac_compiler_gnu=$ac_cv_c_compiler_gnu 2479 2480depcc="$CC" am_compiler_list= 2481 2482echo "$as_me:2482: checking dependency style of $depcc" >&5 2483echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 2484if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 2485 echo $ECHO_N "(cached) $ECHO_C" >&6 2486else 2487 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 2488 # We make a subdir and do the tests there. Otherwise we can end up 2489 # making bogus files that we don't know about and never remove. For 2490 # instance it was reported that on HP-UX the gcc test will end up 2491 # making a dummy file named `D' -- because `-MD' means `put the output 2492 # in D'. 2493 mkdir conftest.dir 2494 # Copy depcomp to subdir because otherwise we won't find it if we're 2495 # using a relative directory. 2496 cp "$am_depcomp" conftest.dir 2497 cd conftest.dir 2498 2499 am_cv_CC_dependencies_compiler_type=none 2500 if test "$am_compiler_list" = ""; then 2501 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 2502 fi 2503 for depmode in $am_compiler_list; do 2504 # We need to recreate these files for each test, as the compiler may 2505 # overwrite some of them when testing with obscure command lines. 2506 # This happens at least with the AIX C compiler. 2507 echo '#include "conftest.h"' > conftest.c 2508 echo 'int i;' > conftest.h 2509 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf 2510 2511 case $depmode in 2512 nosideeffect) 2513 # after this tag, mechanisms are not by side-effect, so they'll 2514 # only be used when explicitly requested 2515 if test "x$enable_dependency_tracking" = xyes; then 2516 continue 2517 else 2518 break 2519 fi 2520 ;; 2521 none) break ;; 2522 esac 2523 # We check with `-c' and `-o' for the sake of the "dashmstdout" 2524 # mode. It turns out that the SunPro C++ compiler does not properly 2525 # handle `-M -o', and we need to detect this. 2526 if depmode=$depmode \ 2527 source=conftest.c object=conftest.o \ 2528 depfile=conftest.Po tmpdepfile=conftest.TPo \ 2529 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && 2530 grep conftest.h conftest.Po > /dev/null 2>&1 && 2531 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 2532 am_cv_CC_dependencies_compiler_type=$depmode 2533 break 2534 fi 2535 done 2536 2537 cd .. 2538 rm -rf conftest.dir 2539else 2540 am_cv_CC_dependencies_compiler_type=none 2541fi 2542 2543fi 2544echo "$as_me:2544: result: $am_cv_CC_dependencies_compiler_type" >&5 2545echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 2546CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type" 2547 2548 echo "$as_me:2548: checking for strerror in -lcposix" >&5 2549echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6 2550if test "${ac_cv_lib_cposix_strerror+set}" = set; then 2551 echo $ECHO_N "(cached) $ECHO_C" >&6 2552else 2553 ac_check_lib_save_LIBS=$LIBS 2554LIBS="-lcposix $LIBS" 2555cat >conftest.$ac_ext <<_ACEOF 2556#line 2556 "configure" 2557#include "confdefs.h" 2558 2559/* Override any gcc2 internal prototype to avoid an error. */ 2560#ifdef __cplusplus 2561extern "C" 2562#endif 2563/* We use char because int might match the return type of a gcc2 2564 builtin and then its argument prototype would still apply. */ 2565char strerror (); 2566int 2567main () 2568{ 2569strerror (); 2570 ; 2571 return 0; 2572} 2573_ACEOF 2574rm -f conftest.$ac_objext conftest$ac_exeext 2575if { (eval echo "$as_me:2575: \"$ac_link\"") >&5 2576 (eval $ac_link) 2>&5 2577 ac_status=$? 2578 echo "$as_me:2578: \$? = $ac_status" >&5 2579 (exit $ac_status); } && 2580 { ac_try='test -s conftest$ac_exeext' 2581 { (eval echo "$as_me:2581: \"$ac_try\"") >&5 2582 (eval $ac_try) 2>&5 2583 ac_status=$? 2584 echo "$as_me:2584: \$? = $ac_status" >&5 2585 (exit $ac_status); }; }; then 2586 ac_cv_lib_cposix_strerror=yes 2587else 2588 echo "$as_me: failed program was:" >&5 2589cat conftest.$ac_ext >&5 2590ac_cv_lib_cposix_strerror=no 2591fi 2592rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2593LIBS=$ac_check_lib_save_LIBS 2594fi 2595echo "$as_me:2595: result: $ac_cv_lib_cposix_strerror" >&5 2596echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6 2597if test $ac_cv_lib_cposix_strerror = yes; then 2598 LIBS="$LIBS -lcposix" 2599fi 2600 2601ac_config_files="$ac_config_files Makefile include/Makefile src/Makefile doc/Makefile doc/man/Makefile doc/html/Makefile lib/Makefile lib/pfc++/Makefile lib/pfc++/include/Makefile lib/pfc++/include/pfc++/Makefile lib/pfc++/src/Makefile" 2602cat >confcache <<\_ACEOF 2603# This file is a shell script that caches the results of configure 2604# tests run on this system so they can be shared between configure 2605# scripts and configure runs, see configure's option --config-cache. 2606# It is not useful on other systems. If it contains results you don't 2607# want to keep, you may remove or edit it. 2608# 2609# config.status only pays attention to the cache file if you give it 2610# the --recheck option to rerun configure. 2611# 2612# `ac_cv_env_foo' variables (set or unset) will be overriden when 2613# loading this file, other *unset* `ac_cv_foo' will be assigned the 2614# following values. 2615 2616_ACEOF 2617 2618# The following way of writing the cache mishandles newlines in values, 2619# but we know of no workaround that is simple, portable, and efficient. 2620# So, don't put newlines in cache variables' values. 2621# Ultrix sh set writes to stderr and can't be redirected directly, 2622# and sets the high bit in the cache file unless we assign to the vars. 2623{ 2624 (set) 2>&1 | 2625 case `(ac_space=' '; set | grep ac_space) 2>&1` in 2626 *ac_space=\ *) 2627 # `set' does not quote correctly, so add quotes (double-quote 2628 # substitution turns \\\\ into \\, and sed turns \\ into \). 2629 sed -n \ 2630 "s/'/'\\\\''/g; 2631 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 2632 ;; 2633 *) 2634 # `set' quotes correctly as required by POSIX, so do not add quotes. 2635 sed -n \ 2636 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 2637 ;; 2638 esac; 2639} | 2640 sed ' 2641 t clear 2642 : clear 2643 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 2644 t end 2645 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 2646 : end' >>confcache 2647if cmp -s $cache_file confcache; then :; else 2648 if test -w $cache_file; then 2649 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 2650 cat confcache >$cache_file 2651 else 2652 echo "not updating unwritable cache $cache_file" 2653 fi 2654fi 2655rm -f confcache 2656 2657test "x$prefix" = xNONE && prefix=$ac_default_prefix 2658# Let make expand exec_prefix. 2659test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 2660 2661# VPATH may cause trouble with some makes, so we remove $(srcdir), 2662# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 2663# trailing colons and then remove the whole line if VPATH becomes empty 2664# (actually we leave an empty line to preserve line numbers). 2665if test "x$srcdir" = x.; then 2666 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 2667s/:*\$(srcdir):*/:/; 2668s/:*\${srcdir}:*/:/; 2669s/:*@srcdir@:*/:/; 2670s/^\([^=]*=[ ]*\):*/\1/; 2671s/:*$//; 2672s/^[^=]*=[ ]*$//; 2673}' 2674fi 2675 2676DEFS=-DHAVE_CONFIG_H 2677 2678: ${CONFIG_STATUS=./config.status} 2679ac_clean_files_save=$ac_clean_files 2680ac_clean_files="$ac_clean_files $CONFIG_STATUS" 2681{ echo "$as_me:2681: creating $CONFIG_STATUS" >&5 2682echo "$as_me: creating $CONFIG_STATUS" >&6;} 2683cat >$CONFIG_STATUS <<_ACEOF 2684#! $SHELL 2685# Generated automatically by configure. 2686# Run this file to recreate the current configuration. 2687# Compiler output produced by configure, useful for debugging 2688# configure, is in config.log if it exists. 2689 2690debug=false 2691SHELL=\${CONFIG_SHELL-$SHELL} 2692ac_cs_invocation="\$0 \$@" 2693 2694_ACEOF 2695 2696cat >>$CONFIG_STATUS <<\_ACEOF 2697# Be Bourne compatible 2698if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 2699 emulate sh 2700 NULLCMD=: 2701elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 2702 set -o posix 2703fi 2704 2705# Name of the executable. 2706as_me=`echo "$0" |sed 's,.*[\\/],,'` 2707 2708if expr a : '\(a\)' >/dev/null 2>&1; then 2709 as_expr=expr 2710else 2711 as_expr=false 2712fi 2713 2714rm -f conf$$ conf$$.exe conf$$.file 2715echo >conf$$.file 2716if ln -s conf$$.file conf$$ 2>/dev/null; then 2717 # We could just check for DJGPP; but this test a) works b) is more generic 2718 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 2719 if test -f conf$$.exe; then 2720 # Don't use ln at all; we don't have any links 2721 as_ln_s='cp -p' 2722 else 2723 as_ln_s='ln -s' 2724 fi 2725elif ln conf$$.file conf$$ 2>/dev/null; then 2726 as_ln_s=ln 2727else 2728 as_ln_s='cp -p' 2729fi 2730rm -f conf$$ conf$$.exe conf$$.file 2731 2732as_executable_p="test -f" 2733 2734# Support unset when possible. 2735if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 2736 as_unset=unset 2737else 2738 as_unset=false 2739fi 2740 2741# NLS nuisances. 2742$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } 2743$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } 2744$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } 2745$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } 2746$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } 2747$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } 2748$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } 2749$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } 2750 2751# IFS 2752# We need space, tab and new line, in precisely that order. 2753as_nl=' 2754' 2755IFS=" $as_nl" 2756 2757# CDPATH. 2758$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 2759 2760exec 6>&1 2761 2762_ACEOF 2763 2764# Files that config.status was made for. 2765if test -n "$ac_config_files"; then 2766 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 2767fi 2768 2769if test -n "$ac_config_headers"; then 2770 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 2771fi 2772 2773if test -n "$ac_config_links"; then 2774 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 2775fi 2776 2777if test -n "$ac_config_commands"; then 2778 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 2779fi 2780 2781cat >>$CONFIG_STATUS <<\EOF 2782 2783ac_cs_usage="\ 2784\`$as_me' instantiates files from templates according to the 2785current configuration. 2786 2787Usage: $0 [OPTIONS] [FILE]... 2788 2789 -h, --help print this help, then exit 2790 -V, --version print version number, then exit 2791 -d, --debug don't remove temporary files 2792 --recheck update $as_me by reconfiguring in the same conditions 2793 --file=FILE[:TEMPLATE] 2794 instantiate the configuration file FILE 2795 --header=FILE[:TEMPLATE] 2796 instantiate the configuration header FILE 2797 2798Configuration files: 2799$config_files 2800 2801Configuration headers: 2802$config_headers 2803 2804Configuration commands: 2805$config_commands 2806 2807Report bugs to <bug-autoconf@gnu.org>." 2808EOF 2809 2810cat >>$CONFIG_STATUS <<EOF 2811ac_cs_version="\\ 2812config.status 2813configured by $0, generated by GNU Autoconf 2.52, 2814 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 2815 2816Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 2817Free Software Foundation, Inc. 2818This config.status script is free software; the Free Software Foundation 2819gives unlimited permission to copy, distribute and modify it." 2820srcdir=$srcdir 2821INSTALL="$INSTALL" 2822EOF 2823 2824cat >>$CONFIG_STATUS <<\EOF 2825# If no file are specified by the user, then we need to provide default 2826# value. By we need to know if files were specified by the user. 2827ac_need_defaults=: 2828while test $# != 0 2829do 2830 case $1 in 2831 --*=*) 2832 ac_option=`expr "x$1" : 'x\([^=]*\)='` 2833 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 2834 shift 2835 set dummy "$ac_option" "$ac_optarg" ${1+"$@"} 2836 shift 2837 ;; 2838 -*);; 2839 *) # This is not an option, so the user has probably given explicit 2840 # arguments. 2841 ac_need_defaults=false;; 2842 esac 2843 2844 case $1 in 2845 # Handling of the options. 2846EOF 2847cat >>$CONFIG_STATUS <<EOF 2848 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 2849 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" 2850 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; 2851EOF 2852cat >>$CONFIG_STATUS <<\EOF 2853 --version | --vers* | -V ) 2854 echo "$ac_cs_version"; exit 0 ;; 2855 --he | --h) 2856 # Conflict between --help and --header 2857 { { echo "$as_me:2857: error: ambiguous option: $1 2858Try \`$0 --help' for more information." >&5 2859echo "$as_me: error: ambiguous option: $1 2860Try \`$0 --help' for more information." >&2;} 2861 { (exit 1); exit 1; }; };; 2862 --help | --hel | -h ) 2863 echo "$ac_cs_usage"; exit 0 ;; 2864 --debug | --d* | -d ) 2865 debug=: ;; 2866 --file | --fil | --fi | --f ) 2867 shift 2868 CONFIG_FILES="$CONFIG_FILES $1" 2869 ac_need_defaults=false;; 2870 --header | --heade | --head | --hea ) 2871 shift 2872 CONFIG_HEADERS="$CONFIG_HEADERS $1" 2873 ac_need_defaults=false;; 2874 2875 # This is an error. 2876 -*) { { echo "$as_me:2876: error: unrecognized option: $1 2877Try \`$0 --help' for more information." >&5 2878echo "$as_me: error: unrecognized option: $1 2879Try \`$0 --help' for more information." >&2;} 2880 { (exit 1); exit 1; }; } ;; 2881 2882 *) ac_config_targets="$ac_config_targets $1" ;; 2883 2884 esac 2885 shift 2886done 2887 2888exec 5>>config.log 2889cat >&5 << _ACEOF 2890 2891## ----------------------- ## 2892## Running config.status. ## 2893## ----------------------- ## 2894 2895This file was extended by $as_me 2.52, executed with 2896 CONFIG_FILES = $CONFIG_FILES 2897 CONFIG_HEADERS = $CONFIG_HEADERS 2898 CONFIG_LINKS = $CONFIG_LINKS 2899 CONFIG_COMMANDS = $CONFIG_COMMANDS 2900 > $ac_cs_invocation 2901on `(hostname || uname -n) 2>/dev/null | sed 1q` 2902 2903_ACEOF 2904EOF 2905 2906cat >>$CONFIG_STATUS <<EOF 2907# 2908# INIT-COMMANDS section. 2909# 2910 2911AMDEP_TRUE="$AMDEP_TRUE" 2912ac_aux_dir="$ac_aux_dir" 2913 2914EOF 2915 2916cat >>$CONFIG_STATUS <<\EOF 2917for ac_config_target in $ac_config_targets 2918do 2919 case "$ac_config_target" in 2920 # Handling of arguments. 2921 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 2922 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; 2923 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 2924 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 2925 "doc/man/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/man/Makefile" ;; 2926 "doc/html/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/html/Makefile" ;; 2927 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; 2928 "lib/pfc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/pfc++/Makefile" ;; 2929 "lib/pfc++/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/pfc++/include/Makefile" ;; 2930 "lib/pfc++/include/pfc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/pfc++/include/pfc++/Makefile" ;; 2931 "lib/pfc++/src/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/pfc++/src/Makefile" ;; 2932 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 2933 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 2934 *) { { echo "$as_me:2934: error: invalid argument: $ac_config_target" >&5 2935echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 2936 { (exit 1); exit 1; }; };; 2937 esac 2938done 2939 2940# If the user did not use the arguments to specify the items to instantiate, 2941# then the envvar interface is used. Set only those that are not. 2942# We use the long form for the default assignment because of an extremely 2943# bizarre bug on SunOS 4.1.3. 2944if $ac_need_defaults; then 2945 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 2946 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 2947 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 2948fi 2949 2950# Create a temporary directory, and hook for its removal unless debugging. 2951$debug || 2952{ 2953 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 2954 trap '{ (exit 1); exit 1; }' 1 2 13 15 2955} 2956 2957# Create a (secure) tmp directory for tmp files. 2958: ${TMPDIR=/tmp} 2959{ 2960 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && 2961 test -n "$tmp" && test -d "$tmp" 2962} || 2963{ 2964 tmp=$TMPDIR/cs$$-$RANDOM 2965 (umask 077 && mkdir $tmp) 2966} || 2967{ 2968 echo "$me: cannot create a temporary directory in $TMPDIR" >&2 2969 { (exit 1); exit 1; } 2970} 2971 2972EOF 2973 2974cat >>$CONFIG_STATUS <<EOF 2975 2976# 2977# CONFIG_FILES section. 2978# 2979 2980# No need to generate the scripts if there are no CONFIG_FILES. 2981# This happens for instance when ./config.status config.h 2982if test -n "\$CONFIG_FILES"; then 2983 # Protect against being on the right side of a sed subst in config.status. 2984 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 2985 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 2986s,@SHELL@,$SHELL,;t t 2987s,@exec_prefix@,$exec_prefix,;t t 2988s,@prefix@,$prefix,;t t 2989s,@program_transform_name@,$program_transform_name,;t t 2990s,@bindir@,$bindir,;t t 2991s,@sbindir@,$sbindir,;t t 2992s,@libexecdir@,$libexecdir,;t t 2993s,@datadir@,$datadir,;t t 2994s,@sysconfdir@,$sysconfdir,;t t 2995s,@sharedstatedir@,$sharedstatedir,;t t 2996s,@localstatedir@,$localstatedir,;t t 2997s,@libdir@,$libdir,;t t 2998s,@includedir@,$includedir,;t t 2999s,@oldincludedir@,$oldincludedir,;t t 3000s,@infodir@,$infodir,;t t 3001s,@mandir@,$mandir,;t t 3002s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 3003s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 3004s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 3005s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 3006s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 3007s,@build_alias@,$build_alias,;t t 3008s,@host_alias@,$host_alias,;t t 3009s,@target_alias@,$target_alias,;t t 3010s,@ECHO_C@,$ECHO_C,;t t 3011s,@ECHO_N@,$ECHO_N,;t t 3012s,@ECHO_T@,$ECHO_T,;t t 3013s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 3014s,@DEFS@,$DEFS,;t t 3015s,@LIBS@,$LIBS,;t t 3016s,@build@,$build,;t t 3017s,@build_cpu@,$build_cpu,;t t 3018s,@build_vendor@,$build_vendor,;t t 3019s,@build_os@,$build_os,;t t 3020s,@host@,$host,;t t 3021s,@host_cpu@,$host_cpu,;t t 3022s,@host_vendor@,$host_vendor,;t t 3023s,@host_os@,$host_os,;t t 3024s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 3025s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 3026s,@INSTALL_DATA@,$INSTALL_DATA,;t t 3027s,@PACKAGE@,$PACKAGE,;t t 3028s,@VERSION@,$VERSION,;t t 3029s,@EXEEXT@,$EXEEXT,;t t 3030s,@OBJEXT@,$OBJEXT,;t t 3031s,@ACLOCAL@,$ACLOCAL,;t t 3032s,@AUTOCONF@,$AUTOCONF,;t t 3033s,@AUTOMAKE@,$AUTOMAKE,;t t 3034s,@AUTOHEADER@,$AUTOHEADER,;t t 3035s,@MAKEINFO@,$MAKEINFO,;t t 3036s,@AMTAR@,$AMTAR,;t t 3037s,@install_sh@,$install_sh,;t t 3038s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 3039s,@AWK@,$AWK,;t t 3040s,@SET_MAKE@,$SET_MAKE,;t t 3041s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t 3042s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t 3043s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t 3044s,@DEPDIR@,$DEPDIR,;t t 3045s,@CXX@,$CXX,;t t 3046s,@CXXFLAGS@,$CXXFLAGS,;t t 3047s,@LDFLAGS@,$LDFLAGS,;t t 3048s,@CPPFLAGS@,$CPPFLAGS,;t t 3049s,@ac_ct_CXX@,$ac_ct_CXX,;t t 3050s,@am__include@,$am__include,;t t 3051s,@am__quote@,$am__quote,;t t 3052s,@CXXDEPMODE@,$CXXDEPMODE,;t t 3053s,@RANLIB@,$RANLIB,;t t 3054s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 3055s,@CC@,$CC,;t t 3056s,@CFLAGS@,$CFLAGS,;t t 3057s,@ac_ct_CC@,$ac_ct_CC,;t t 3058s,@CCDEPMODE@,$CCDEPMODE,;t t 3059CEOF 3060 3061EOF 3062 3063 cat >>$CONFIG_STATUS <<\EOF 3064 # Split the substitutions into bite-sized pieces for seds with 3065 # small command number limits, like on Digital OSF/1 and HP-UX. 3066 ac_max_sed_lines=48 3067 ac_sed_frag=1 # Number of current file. 3068 ac_beg=1 # First line for current file. 3069 ac_end=$ac_max_sed_lines # Line after last line for current file. 3070 ac_more_lines=: 3071 ac_sed_cmds= 3072 while $ac_more_lines; do 3073 if test $ac_beg -gt 1; then 3074 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 3075 else 3076 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 3077 fi 3078 if test ! -s $tmp/subs.frag; then 3079 ac_more_lines=false 3080 else 3081 # The purpose of the label and of the branching condition is to 3082 # speed up the sed processing (if there are no `@' at all, there 3083 # is no need to browse any of the substitutions). 3084 # These are the two extra sed commands mentioned above. 3085 (echo ':t 3086 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 3087 if test -z "$ac_sed_cmds"; then 3088 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 3089 else 3090 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 3091 fi 3092 ac_sed_frag=`expr $ac_sed_frag + 1` 3093 ac_beg=$ac_end 3094 ac_end=`expr $ac_end + $ac_max_sed_lines` 3095 fi 3096 done 3097 if test -z "$ac_sed_cmds"; then 3098 ac_sed_cmds=cat 3099 fi 3100fi # test -n "$CONFIG_FILES" 3101 3102EOF 3103cat >>$CONFIG_STATUS <<\EOF 3104for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 3105 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 3106 case $ac_file in 3107 - | *:- | *:-:* ) # input from stdin 3108 cat >$tmp/stdin 3109 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 3110 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 3111 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 3112 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 3113 * ) ac_file_in=$ac_file.in ;; 3114 esac 3115 3116 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 3117 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3118 X"$ac_file" : 'X\(//\)[^/]' \| \ 3119 X"$ac_file" : 'X\(//\)$' \| \ 3120 X"$ac_file" : 'X\(/\)' \| \ 3121 . : '\(.\)' 2>/dev/null || 3122echo X"$ac_file" | 3123 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 3124 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 3125 /^X\(\/\/\)$/{ s//\1/; q; } 3126 /^X\(\/\).*/{ s//\1/; q; } 3127 s/.*/./; q'` 3128 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 3129 { case "$ac_dir" in 3130 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 3131 *) as_incr_dir=.;; 3132esac 3133as_dummy="$ac_dir" 3134for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 3135 case $as_mkdir_dir in 3136 # Skip DOS drivespec 3137 ?:) as_incr_dir=$as_mkdir_dir ;; 3138 *) 3139 as_incr_dir=$as_incr_dir/$as_mkdir_dir 3140 test -d "$as_incr_dir" || mkdir "$as_incr_dir" 3141 ;; 3142 esac 3143done; } 3144 3145 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`" 3146 # A "../" for each directory in $ac_dir_suffix. 3147 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'` 3148 else 3149 ac_dir_suffix= ac_dots= 3150 fi 3151 3152 case $srcdir in 3153 .) ac_srcdir=. 3154 if test -z "$ac_dots"; then 3155 ac_top_srcdir=. 3156 else 3157 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` 3158 fi ;; 3159 [\\/]* | ?:[\\/]* ) 3160 ac_srcdir=$srcdir$ac_dir_suffix; 3161 ac_top_srcdir=$srcdir ;; 3162 *) # Relative path. 3163 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix 3164 ac_top_srcdir=$ac_dots$srcdir ;; 3165 esac 3166 3167 case $INSTALL in 3168 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 3169 *) ac_INSTALL=$ac_dots$INSTALL ;; 3170 esac 3171 3172 if test x"$ac_file" != x-; then 3173 { echo "$as_me:3173: creating $ac_file" >&5 3174echo "$as_me: creating $ac_file" >&6;} 3175 rm -f "$ac_file" 3176 fi 3177 # Let's still pretend it is `configure' which instantiates (i.e., don't 3178 # use $as_me), people would be surprised to read: 3179 # /* config.h. Generated automatically by config.status. */ 3180 configure_input="Generated automatically from `echo $ac_file_in | 3181 sed 's,.*/,,'` by configure." 3182 3183 # First look for the input files in the build tree, otherwise in the 3184 # src tree. 3185 ac_file_inputs=`IFS=: 3186 for f in $ac_file_in; do 3187 case $f in 3188 -) echo $tmp/stdin ;; 3189 [\\/$]*) 3190 # Absolute (can't be DOS-style, as IFS=:) 3191 test -f "$f" || { { echo "$as_me:3191: error: cannot find input file: $f" >&5 3192echo "$as_me: error: cannot find input file: $f" >&2;} 3193 { (exit 1); exit 1; }; } 3194 echo $f;; 3195 *) # Relative 3196 if test -f "$f"; then 3197 # Build tree 3198 echo $f 3199 elif test -f "$srcdir/$f"; then 3200 # Source tree 3201 echo $srcdir/$f 3202 else 3203 # /dev/null tree 3204 { { echo "$as_me:3204: error: cannot find input file: $f" >&5 3205echo "$as_me: error: cannot find input file: $f" >&2;} 3206 { (exit 1); exit 1; }; } 3207 fi;; 3208 esac 3209 done` || { (exit 1); exit 1; } 3210EOF 3211cat >>$CONFIG_STATUS <<EOF 3212 sed "$ac_vpsub 3213$extrasub 3214EOF 3215cat >>$CONFIG_STATUS <<\EOF 3216:t 3217/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 3218s,@configure_input@,$configure_input,;t t 3219s,@srcdir@,$ac_srcdir,;t t 3220s,@top_srcdir@,$ac_top_srcdir,;t t 3221s,@INSTALL@,$ac_INSTALL,;t t 3222" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 3223 rm -f $tmp/stdin 3224 if test x"$ac_file" != x-; then 3225 mv $tmp/out $ac_file 3226 else 3227 cat $tmp/out 3228 rm -f $tmp/out 3229 fi 3230 3231done 3232EOF 3233cat >>$CONFIG_STATUS <<\EOF 3234 3235# 3236# CONFIG_HEADER section. 3237# 3238 3239# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 3240# NAME is the cpp macro being defined and VALUE is the value it is being given. 3241# 3242# ac_d sets the value in "#define NAME VALUE" lines. 3243ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 3244ac_dB='[ ].*$,\1#\2' 3245ac_dC=' ' 3246ac_dD=',;t' 3247# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 3248ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 3249ac_uB='$,\1#\2define\3' 3250ac_uC=' ' 3251ac_uD=',;t' 3252 3253for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 3254 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 3255 case $ac_file in 3256 - | *:- | *:-:* ) # input from stdin 3257 cat >$tmp/stdin 3258 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 3259 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 3260 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 3261 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 3262 * ) ac_file_in=$ac_file.in ;; 3263 esac 3264 3265 test x"$ac_file" != x- && { echo "$as_me:3265: creating $ac_file" >&5 3266echo "$as_me: creating $ac_file" >&6;} 3267 3268 # First look for the input files in the build tree, otherwise in the 3269 # src tree. 3270 ac_file_inputs=`IFS=: 3271 for f in $ac_file_in; do 3272 case $f in 3273 -) echo $tmp/stdin ;; 3274 [\\/$]*) 3275 # Absolute (can't be DOS-style, as IFS=:) 3276 test -f "$f" || { { echo "$as_me:3276: error: cannot find input file: $f" >&5 3277echo "$as_me: error: cannot find input file: $f" >&2;} 3278 { (exit 1); exit 1; }; } 3279 echo $f;; 3280 *) # Relative 3281 if test -f "$f"; then 3282 # Build tree 3283 echo $f 3284 elif test -f "$srcdir/$f"; then 3285 # Source tree 3286 echo $srcdir/$f 3287 else 3288 # /dev/null tree 3289 { { echo "$as_me:3289: error: cannot find input file: $f" >&5 3290echo "$as_me: error: cannot find input file: $f" >&2;} 3291 { (exit 1); exit 1; }; } 3292 fi;; 3293 esac 3294 done` || { (exit 1); exit 1; } 3295 # Remove the trailing spaces. 3296 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 3297 3298EOF 3299 3300# Transform confdefs.h into two sed scripts, `conftest.defines' and 3301# `conftest.undefs', that substitutes the proper values into 3302# config.h.in to produce config.h. The first handles `#define' 3303# templates, and the second `#undef' templates. 3304# And first: Protect against being on the right side of a sed subst in 3305# config.status. Protect against being in an unquoted here document 3306# in config.status. 3307rm -f conftest.defines conftest.undefs 3308# Using a here document instead of a string reduces the quoting nightmare. 3309# Putting comments in sed scripts is not portable. 3310# 3311# `end' is used to avoid that the second main sed command (meant for 3312# 0-ary CPP macros) applies to n-ary macro definitions. 3313# See the Autoconf documentation for `clear'. 3314cat >confdef2sed.sed <<\EOF 3315s/[\\&,]/\\&/g 3316s,[\\$`],\\&,g 3317t clear 3318: clear 3319s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp 3320t end 3321s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 3322: end 3323EOF 3324# If some macros were called several times there might be several times 3325# the same #defines, which is useless. Nevertheless, we may not want to 3326# sort them, since we want the *last* AC-DEFINE to be honored. 3327uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 3328sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 3329rm -f confdef2sed.sed 3330 3331# This sed command replaces #undef with comments. This is necessary, for 3332# example, in the case of _POSIX_SOURCE, which is predefined and required 3333# on some systems where configure will not decide to define it. 3334cat >>conftest.undefs <<\EOF 3335s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 3336EOF 3337 3338# Break up conftest.defines because some shells have a limit on the size 3339# of here documents, and old seds have small limits too (100 cmds). 3340echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 3341echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 3342echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 3343echo ' :' >>$CONFIG_STATUS 3344rm -f conftest.tail 3345while grep . conftest.defines >/dev/null 3346do 3347 # Write a limited-size here document to $tmp/defines.sed. 3348 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 3349 # Speed up: don't consider the non `#define' lines. 3350 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 3351 # Work around the forget-to-reset-the-flag bug. 3352 echo 't clr' >>$CONFIG_STATUS 3353 echo ': clr' >>$CONFIG_STATUS 3354 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 3355 echo 'CEOF 3356 sed -f $tmp/defines.sed $tmp/in >$tmp/out 3357 rm -f $tmp/in 3358 mv $tmp/out $tmp/in 3359' >>$CONFIG_STATUS 3360 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 3361 rm -f conftest.defines 3362 mv conftest.tail conftest.defines 3363done 3364rm -f conftest.defines 3365echo ' fi # egrep' >>$CONFIG_STATUS 3366echo >>$CONFIG_STATUS 3367 3368# Break up conftest.undefs because some shells have a limit on the size 3369# of here documents, and old seds have small limits too (100 cmds). 3370echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 3371rm -f conftest.tail 3372while grep . conftest.undefs >/dev/null 3373do 3374 # Write a limited-size here document to $tmp/undefs.sed. 3375 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 3376 # Speed up: don't consider the non `#undef' 3377 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 3378 # Work around the forget-to-reset-the-flag bug. 3379 echo 't clr' >>$CONFIG_STATUS 3380 echo ': clr' >>$CONFIG_STATUS 3381 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 3382 echo 'CEOF 3383 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 3384 rm -f $tmp/in 3385 mv $tmp/out $tmp/in 3386' >>$CONFIG_STATUS 3387 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 3388 rm -f conftest.undefs 3389 mv conftest.tail conftest.undefs 3390done 3391rm -f conftest.undefs 3392 3393cat >>$CONFIG_STATUS <<\EOF 3394 # Let's still pretend it is `configure' which instantiates (i.e., don't 3395 # use $as_me), people would be surprised to read: 3396 # /* config.h. Generated automatically by config.status. */ 3397 if test x"$ac_file" = x-; then 3398 echo "/* Generated automatically by configure. */" >$tmp/config.h 3399 else 3400 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h 3401 fi 3402 cat $tmp/in >>$tmp/config.h 3403 rm -f $tmp/in 3404 if test x"$ac_file" != x-; then 3405 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then 3406 { echo "$as_me:3406: $ac_file is unchanged" >&5 3407echo "$as_me: $ac_file is unchanged" >&6;} 3408 else 3409 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3410 X"$ac_file" : 'X\(//\)[^/]' \| \ 3411 X"$ac_file" : 'X\(//\)$' \| \ 3412 X"$ac_file" : 'X\(/\)' \| \ 3413 . : '\(.\)' 2>/dev/null || 3414echo X"$ac_file" | 3415 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 3416 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 3417 /^X\(\/\/\)$/{ s//\1/; q; } 3418 /^X\(\/\).*/{ s//\1/; q; } 3419 s/.*/./; q'` 3420 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 3421 { case "$ac_dir" in 3422 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 3423 *) as_incr_dir=.;; 3424esac 3425as_dummy="$ac_dir" 3426for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 3427 case $as_mkdir_dir in 3428 # Skip DOS drivespec 3429 ?:) as_incr_dir=$as_mkdir_dir ;; 3430 *) 3431 as_incr_dir=$as_incr_dir/$as_mkdir_dir 3432 test -d "$as_incr_dir" || mkdir "$as_incr_dir" 3433 ;; 3434 esac 3435done; } 3436 3437 fi 3438 rm -f $ac_file 3439 mv $tmp/config.h $ac_file 3440 fi 3441 else 3442 cat $tmp/config.h 3443 rm -f $tmp/config.h 3444 fi 3445 # Run the commands associated with the file. 3446 case $ac_file in 3447 config.h ) # update the timestamp 3448echo timestamp >"./stamp-h1" 3449 ;; 3450 esac 3451done 3452EOF 3453cat >>$CONFIG_STATUS <<\EOF 3454 3455# 3456# CONFIG_COMMANDS section. 3457# 3458for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 3459 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 3460 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 3461 3462 case $ac_dest in 3463 default-1 ) 3464test x"$AMDEP_TRUE" != x"" || 3465for mf in $CONFIG_FILES; do 3466 case "$mf" in 3467 Makefile) dirpart=.;; 3468 */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;; 3469 *) continue;; 3470 esac 3471 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue 3472 # Extract the definition of DEP_FILES from the Makefile without 3473 # running `make'. 3474 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` 3475 test -z "$DEPDIR" && continue 3476 # When using ansi2knr, U may be empty or an underscore; expand it 3477 U=`sed -n -e '/^U = / s///p' < "$mf"` 3478 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 3479 # We invoke sed twice because it is the simplest approach to 3480 # changing $(DEPDIR) to its actual value in the expansion. 3481 for file in `sed -n -e ' 3482 /^DEP_FILES = .*\\\\$/ { 3483 s/^DEP_FILES = // 3484 :loop 3485 s/\\\\$// 3486 p 3487 n 3488 /\\\\$/ b loop 3489 p 3490 } 3491 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ 3492 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 3493 # Make sure the directory exists. 3494 test -f "$dirpart/$file" && continue 3495 fdir=`echo "$file" | sed -e 's|/[^/]*$||'` 3496 $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1 3497 # echo "creating $dirpart/$file" 3498 echo '# dummy' > "$dirpart/$file" 3499 done 3500done 3501 ;; 3502 esac 3503done 3504EOF 3505 3506cat >>$CONFIG_STATUS <<\EOF 3507 3508{ (exit 0); exit 0; } 3509EOF 3510chmod +x $CONFIG_STATUS 3511ac_clean_files=$ac_clean_files_save 3512 3513# configure is writing to config.log, and then calls config.status. 3514# config.status does its own redirection, appending to config.log. 3515# Unfortunately, on DOS this fails, as config.log is still kept open 3516# by configure, so config.status won't be able to write to it; its 3517# output is simply discarded. So we exec the FD to /dev/null, 3518# effectively closing config.log, so it can be properly (re)opened and 3519# appended to by config.status. When coming back to configure, we 3520# need to make the FD available again. 3521if test "$no_create" != yes; then 3522 ac_cs_success=: 3523 exec 5>/dev/null 3524 $SHELL $CONFIG_STATUS || ac_cs_success=false 3525 exec 5>>config.log 3526 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 3527 # would make configure fail if this is the last instruction. 3528 $ac_cs_success || { (exit 1); exit 1; } 3529fi 3530 3531