1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.59. 4# 5# Copyright (C) 2003 Free Software Foundation, Inc. 6# This configure script is free software; the Free Software Foundation 7# gives unlimited permission to copy, distribute and modify it. 8## --------------------- ## 9## M4sh Initialization. ## 10## --------------------- ## 11 12# Be Bourne compatible 13if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14 emulate sh 15 NULLCMD=: 16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 17 # is contrary to our usage. Disable this feature. 18 alias -g '${1+"$@"}'='"$@"' 19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21fi 22DUALCASE=1; export DUALCASE # for MKS sh 23 24# Support unset when possible. 25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27else 28 as_unset=false 29fi 30 31 32# Work around bugs in pre-3.0 UWIN ksh. 33$as_unset ENV MAIL MAILPATH 34PS1='$ ' 35PS2='> ' 36PS4='+ ' 37 38# NLS nuisances. 39for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 43do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 49done 50 51# Required to use basename. 52if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54else 55 as_expr=false 56fi 57 58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60else 61 as_basename=false 62fi 63 64 65# Name of the executable. 66as_me=`$as_basename "$0" || 67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78# PATH needs CR, and LINENO needs CR and PATH. 79# Avoid depending upon Character Ranges. 80as_cr_letters='abcdefghijklmnopqrstuvwxyz' 81as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 82as_cr_Letters=$as_cr_letters$as_cr_LETTERS 83as_cr_digits='0123456789' 84as_cr_alnum=$as_cr_Letters$as_cr_digits 85 86# The user is always right. 87if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110for as_dir in $PATH 111do 112 IFS=$as_save_IFS 113 test -z "$as_dir" && as_dir=. 114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 132do 133 IFS=$as_save_IFS 134 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 137 /*) 138 if ("$as_dir/$as_base" -c ' 139 as_lineno_1=$LINENO 140 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 142 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152done 153;; 154 esac 155 156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 165 sed ' 166 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 170 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 173 ' >$as_me.lineno && 174 chmod +x $as_me.lineno || 175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 { (exit 1); exit 1; }; } 177 178 # Don't try to exec as it changes $[0], causing all sort of problems 179 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensible to this). 181 . ./$as_me.lineno 182 # Exit status is that of the last command. 183 exit 184} 185 186 187case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 192esac 193 194if expr a : '\(a\)' >/dev/null 2>&1; then 195 as_expr=expr 196else 197 as_expr=false 198fi 199 200rm -f conf$$ conf$$.exe conf$$.file 201echo >conf$$.file 202if ln -s conf$$.file conf$$ 2>/dev/null; then 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 207 as_ln_s='cp -p' 208 else 209 as_ln_s='ln -s' 210 fi 211elif ln conf$$.file conf$$ 2>/dev/null; then 212 as_ln_s=ln 213else 214 as_ln_s='cp -p' 215fi 216rm -f conf$$ conf$$.exe conf$$.file 217 218if mkdir -p . 2>/dev/null; then 219 as_mkdir_p=: 220else 221 test -d ./-p && rmdir ./-p 222 as_mkdir_p=false 223fi 224 225as_executable_p="test -f" 226 227# Sed expression to map a string onto a valid CPP name. 228as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 229 230# Sed expression to map a string onto a valid variable name. 231as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 232 233 234# IFS 235# We need space, tab and new line, in precisely that order. 236as_nl=' 237' 238IFS=" $as_nl" 239 240# CDPATH. 241$as_unset CDPATH 242 243 244# Name of the host. 245# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 246# so uname gets run too. 247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 248 249exec 6>&1 250 251# 252# Initializations. 253# 254ac_default_prefix=/usr/local 255ac_config_libobj_dir=. 256cross_compiling=no 257subdirs= 258MFLAGS= 259MAKEFLAGS= 260SHELL=${CONFIG_SHELL-/bin/sh} 261 262# Maximum number of lines to put in a shell here document. 263# This variable seems obsolete. It should probably be removed, and 264# only ac_max_sed_lines should be used. 265: ${ac_max_here_lines=38} 266 267# Identity of this package. 268PACKAGE_NAME= 269PACKAGE_TARNAME= 270PACKAGE_VERSION= 271PACKAGE_STRING= 272PACKAGE_BUGREPORT= 273 274ac_unique_file="configure.ac" 275ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBRPATHX LTLIBRPATHX LIBRPATHY LTLIBRPATHY LIBRPATHZ LTLIBRPATHZ global_top_auxdir LIBOBJS LTLIBOBJS' 276ac_subst_files='' 277 278# Initialize some variables set by options. 279ac_init_help= 280ac_init_version=false 281# The variables have the same names as the options, with 282# dashes changed to underlines. 283cache_file=/dev/null 284exec_prefix=NONE 285no_create= 286no_recursion= 287prefix=NONE 288program_prefix=NONE 289program_suffix=NONE 290program_transform_name=s,x,x, 291silent= 292site= 293srcdir= 294verbose= 295x_includes=NONE 296x_libraries=NONE 297 298# Installation directory options. 299# These are left unexpanded so users can "make install exec_prefix=/foo" 300# and all the variables that are supposed to be based on exec_prefix 301# by default will actually change. 302# Use braces instead of parens because sh, perl, etc. also accept them. 303bindir='${exec_prefix}/bin' 304sbindir='${exec_prefix}/sbin' 305libexecdir='${exec_prefix}/libexec' 306datadir='${prefix}/share' 307sysconfdir='${prefix}/etc' 308sharedstatedir='${prefix}/com' 309localstatedir='${prefix}/var' 310libdir='${exec_prefix}/lib' 311includedir='${prefix}/include' 312oldincludedir='/usr/include' 313infodir='${prefix}/info' 314mandir='${prefix}/man' 315 316ac_prev= 317for ac_option 318do 319 # If the previous option needs an argument, assign it. 320 if test -n "$ac_prev"; then 321 eval "$ac_prev=\$ac_option" 322 ac_prev= 323 continue 324 fi 325 326 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 327 328 # Accept the important Cygnus configure options, so we can diagnose typos. 329 330 case $ac_option in 331 332 -bindir | --bindir | --bindi | --bind | --bin | --bi) 333 ac_prev=bindir ;; 334 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 335 bindir=$ac_optarg ;; 336 337 -build | --build | --buil | --bui | --bu) 338 ac_prev=build_alias ;; 339 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 340 build_alias=$ac_optarg ;; 341 342 -cache-file | --cache-file | --cache-fil | --cache-fi \ 343 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 344 ac_prev=cache_file ;; 345 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 346 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 347 cache_file=$ac_optarg ;; 348 349 --config-cache | -C) 350 cache_file=config.cache ;; 351 352 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 353 ac_prev=datadir ;; 354 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 355 | --da=*) 356 datadir=$ac_optarg ;; 357 358 -disable-* | --disable-*) 359 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 360 # Reject names that are not valid shell variable names. 361 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 362 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 363 { (exit 1); exit 1; }; } 364 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 365 eval "enable_$ac_feature=no" ;; 366 367 -enable-* | --enable-*) 368 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 369 # Reject names that are not valid shell variable names. 370 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 371 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 372 { (exit 1); exit 1; }; } 373 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 374 case $ac_option in 375 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 376 *) ac_optarg=yes ;; 377 esac 378 eval "enable_$ac_feature='$ac_optarg'" ;; 379 380 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 381 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 382 | --exec | --exe | --ex) 383 ac_prev=exec_prefix ;; 384 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 385 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 386 | --exec=* | --exe=* | --ex=*) 387 exec_prefix=$ac_optarg ;; 388 389 -gas | --gas | --ga | --g) 390 # Obsolete; use --with-gas. 391 with_gas=yes ;; 392 393 -help | --help | --hel | --he | -h) 394 ac_init_help=long ;; 395 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 396 ac_init_help=recursive ;; 397 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 398 ac_init_help=short ;; 399 400 -host | --host | --hos | --ho) 401 ac_prev=host_alias ;; 402 -host=* | --host=* | --hos=* | --ho=*) 403 host_alias=$ac_optarg ;; 404 405 -includedir | --includedir | --includedi | --included | --include \ 406 | --includ | --inclu | --incl | --inc) 407 ac_prev=includedir ;; 408 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 409 | --includ=* | --inclu=* | --incl=* | --inc=*) 410 includedir=$ac_optarg ;; 411 412 -infodir | --infodir | --infodi | --infod | --info | --inf) 413 ac_prev=infodir ;; 414 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 415 infodir=$ac_optarg ;; 416 417 -libdir | --libdir | --libdi | --libd) 418 ac_prev=libdir ;; 419 -libdir=* | --libdir=* | --libdi=* | --libd=*) 420 libdir=$ac_optarg ;; 421 422 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 423 | --libexe | --libex | --libe) 424 ac_prev=libexecdir ;; 425 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 426 | --libexe=* | --libex=* | --libe=*) 427 libexecdir=$ac_optarg ;; 428 429 -localstatedir | --localstatedir | --localstatedi | --localstated \ 430 | --localstate | --localstat | --localsta | --localst \ 431 | --locals | --local | --loca | --loc | --lo) 432 ac_prev=localstatedir ;; 433 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 434 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 435 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 436 localstatedir=$ac_optarg ;; 437 438 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 439 ac_prev=mandir ;; 440 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 441 mandir=$ac_optarg ;; 442 443 -nfp | --nfp | --nf) 444 # Obsolete; use --without-fp. 445 with_fp=no ;; 446 447 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 448 | --no-cr | --no-c | -n) 449 no_create=yes ;; 450 451 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 452 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 453 no_recursion=yes ;; 454 455 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 456 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 457 | --oldin | --oldi | --old | --ol | --o) 458 ac_prev=oldincludedir ;; 459 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 460 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 461 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 462 oldincludedir=$ac_optarg ;; 463 464 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 465 ac_prev=prefix ;; 466 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 467 prefix=$ac_optarg ;; 468 469 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 470 | --program-pre | --program-pr | --program-p) 471 ac_prev=program_prefix ;; 472 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 473 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 474 program_prefix=$ac_optarg ;; 475 476 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 477 | --program-suf | --program-su | --program-s) 478 ac_prev=program_suffix ;; 479 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 480 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 481 program_suffix=$ac_optarg ;; 482 483 -program-transform-name | --program-transform-name \ 484 | --program-transform-nam | --program-transform-na \ 485 | --program-transform-n | --program-transform- \ 486 | --program-transform | --program-transfor \ 487 | --program-transfo | --program-transf \ 488 | --program-trans | --program-tran \ 489 | --progr-tra | --program-tr | --program-t) 490 ac_prev=program_transform_name ;; 491 -program-transform-name=* | --program-transform-name=* \ 492 | --program-transform-nam=* | --program-transform-na=* \ 493 | --program-transform-n=* | --program-transform-=* \ 494 | --program-transform=* | --program-transfor=* \ 495 | --program-transfo=* | --program-transf=* \ 496 | --program-trans=* | --program-tran=* \ 497 | --progr-tra=* | --program-tr=* | --program-t=*) 498 program_transform_name=$ac_optarg ;; 499 500 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 501 | -silent | --silent | --silen | --sile | --sil) 502 silent=yes ;; 503 504 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 505 ac_prev=sbindir ;; 506 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 507 | --sbi=* | --sb=*) 508 sbindir=$ac_optarg ;; 509 510 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 511 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 512 | --sharedst | --shareds | --shared | --share | --shar \ 513 | --sha | --sh) 514 ac_prev=sharedstatedir ;; 515 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 516 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 517 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 518 | --sha=* | --sh=*) 519 sharedstatedir=$ac_optarg ;; 520 521 -site | --site | --sit) 522 ac_prev=site ;; 523 -site=* | --site=* | --sit=*) 524 site=$ac_optarg ;; 525 526 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 527 ac_prev=srcdir ;; 528 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 529 srcdir=$ac_optarg ;; 530 531 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 532 | --syscon | --sysco | --sysc | --sys | --sy) 533 ac_prev=sysconfdir ;; 534 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 535 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 536 sysconfdir=$ac_optarg ;; 537 538 -target | --target | --targe | --targ | --tar | --ta | --t) 539 ac_prev=target_alias ;; 540 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 541 target_alias=$ac_optarg ;; 542 543 -v | -verbose | --verbose | --verbos | --verbo | --verb) 544 verbose=yes ;; 545 546 -version | --version | --versio | --versi | --vers | -V) 547 ac_init_version=: ;; 548 549 -with-* | --with-*) 550 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 551 # Reject names that are not valid shell variable names. 552 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 553 { echo "$as_me: error: invalid package name: $ac_package" >&2 554 { (exit 1); exit 1; }; } 555 ac_package=`echo $ac_package| sed 's/-/_/g'` 556 case $ac_option in 557 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 558 *) ac_optarg=yes ;; 559 esac 560 eval "with_$ac_package='$ac_optarg'" ;; 561 562 -without-* | --without-*) 563 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 564 # Reject names that are not valid shell variable names. 565 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 566 { echo "$as_me: error: invalid package name: $ac_package" >&2 567 { (exit 1); exit 1; }; } 568 ac_package=`echo $ac_package | sed 's/-/_/g'` 569 eval "with_$ac_package=no" ;; 570 571 --x) 572 # Obsolete; use --with-x. 573 with_x=yes ;; 574 575 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 576 | --x-incl | --x-inc | --x-in | --x-i) 577 ac_prev=x_includes ;; 578 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 579 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 580 x_includes=$ac_optarg ;; 581 582 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 583 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 584 ac_prev=x_libraries ;; 585 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 586 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 587 x_libraries=$ac_optarg ;; 588 589 -*) { echo "$as_me: error: unrecognized option: $ac_option 590Try \`$0 --help' for more information." >&2 591 { (exit 1); exit 1; }; } 592 ;; 593 594 *=*) 595 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 596 # Reject names that are not valid shell variable names. 597 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 598 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 599 { (exit 1); exit 1; }; } 600 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 601 eval "$ac_envvar='$ac_optarg'" 602 export $ac_envvar ;; 603 604 *) 605 # FIXME: should be removed in autoconf 3.0. 606 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 607 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 608 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 609 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 610 ;; 611 612 esac 613done 614 615if test -n "$ac_prev"; then 616 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 617 { echo "$as_me: error: missing argument to $ac_option" >&2 618 { (exit 1); exit 1; }; } 619fi 620 621# Be sure to have absolute paths. 622for ac_var in exec_prefix prefix 623do 624 eval ac_val=$`echo $ac_var` 625 case $ac_val in 626 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 627 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 628 { (exit 1); exit 1; }; };; 629 esac 630done 631 632# Be sure to have absolute paths. 633for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 634 localstatedir libdir includedir oldincludedir infodir mandir 635do 636 eval ac_val=$`echo $ac_var` 637 case $ac_val in 638 [\\/$]* | ?:[\\/]* ) ;; 639 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 640 { (exit 1); exit 1; }; };; 641 esac 642done 643 644# There might be people who depend on the old broken behavior: `$host' 645# used to hold the argument of --host etc. 646# FIXME: To remove some day. 647build=$build_alias 648host=$host_alias 649target=$target_alias 650 651# FIXME: To remove some day. 652if test "x$host_alias" != x; then 653 if test "x$build_alias" = x; then 654 cross_compiling=maybe 655 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 656 If a cross compiler is detected then cross compile mode will be used." >&2 657 elif test "x$build_alias" != "x$host_alias"; then 658 cross_compiling=yes 659 fi 660fi 661 662ac_tool_prefix= 663test -n "$host_alias" && ac_tool_prefix=$host_alias- 664 665test "$silent" = yes && exec 6>/dev/null 666 667 668# Find the source files, if location was not specified. 669if test -z "$srcdir"; then 670 ac_srcdir_defaulted=yes 671 # Try the directory containing this script, then its parent. 672 ac_confdir=`(dirname "$0") 2>/dev/null || 673$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 674 X"$0" : 'X\(//\)[^/]' \| \ 675 X"$0" : 'X\(//\)$' \| \ 676 X"$0" : 'X\(/\)' \| \ 677 . : '\(.\)' 2>/dev/null || 678echo X"$0" | 679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 680 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 681 /^X\(\/\/\)$/{ s//\1/; q; } 682 /^X\(\/\).*/{ s//\1/; q; } 683 s/.*/./; q'` 684 srcdir=$ac_confdir 685 if test ! -r $srcdir/$ac_unique_file; then 686 srcdir=.. 687 fi 688else 689 ac_srcdir_defaulted=no 690fi 691if test ! -r $srcdir/$ac_unique_file; then 692 if test "$ac_srcdir_defaulted" = yes; then 693 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 694 { (exit 1); exit 1; }; } 695 else 696 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 697 { (exit 1); exit 1; }; } 698 fi 699fi 700(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 701 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 702 { (exit 1); exit 1; }; } 703srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 704ac_env_build_alias_set=${build_alias+set} 705ac_env_build_alias_value=$build_alias 706ac_cv_env_build_alias_set=${build_alias+set} 707ac_cv_env_build_alias_value=$build_alias 708ac_env_host_alias_set=${host_alias+set} 709ac_env_host_alias_value=$host_alias 710ac_cv_env_host_alias_set=${host_alias+set} 711ac_cv_env_host_alias_value=$host_alias 712ac_env_target_alias_set=${target_alias+set} 713ac_env_target_alias_value=$target_alias 714ac_cv_env_target_alias_set=${target_alias+set} 715ac_cv_env_target_alias_value=$target_alias 716ac_env_CC_set=${CC+set} 717ac_env_CC_value=$CC 718ac_cv_env_CC_set=${CC+set} 719ac_cv_env_CC_value=$CC 720ac_env_CFLAGS_set=${CFLAGS+set} 721ac_env_CFLAGS_value=$CFLAGS 722ac_cv_env_CFLAGS_set=${CFLAGS+set} 723ac_cv_env_CFLAGS_value=$CFLAGS 724ac_env_LDFLAGS_set=${LDFLAGS+set} 725ac_env_LDFLAGS_value=$LDFLAGS 726ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 727ac_cv_env_LDFLAGS_value=$LDFLAGS 728ac_env_CPPFLAGS_set=${CPPFLAGS+set} 729ac_env_CPPFLAGS_value=$CPPFLAGS 730ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 731ac_cv_env_CPPFLAGS_value=$CPPFLAGS 732 733# 734# Report the --help message. 735# 736if test "$ac_init_help" = "long"; then 737 # Omit some internal or obsolete options to make the list less imposing. 738 # This message is too long to be a string in the A/UX 3.1 sh. 739 cat <<_ACEOF 740\`configure' configures this package to adapt to many kinds of systems. 741 742Usage: $0 [OPTION]... [VAR=VALUE]... 743 744To assign environment variables (e.g., CC, CFLAGS...), specify them as 745VAR=VALUE. See below for descriptions of some of the useful variables. 746 747Defaults for the options are specified in brackets. 748 749Configuration: 750 -h, --help display this help and exit 751 --help=short display options specific to this package 752 --help=recursive display the short help of all the included packages 753 -V, --version display version information and exit 754 -q, --quiet, --silent do not print \`checking...' messages 755 --cache-file=FILE cache test results in FILE [disabled] 756 -C, --config-cache alias for \`--cache-file=config.cache' 757 -n, --no-create do not create output files 758 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 759 760_ACEOF 761 762 cat <<_ACEOF 763Installation directories: 764 --prefix=PREFIX install architecture-independent files in PREFIX 765 [$ac_default_prefix] 766 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 767 [PREFIX] 768 769By default, \`make install' will install all the files in 770\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 771an installation prefix other than \`$ac_default_prefix' using \`--prefix', 772for instance \`--prefix=\$HOME'. 773 774For better control, use the options below. 775 776Fine tuning of the installation directories: 777 --bindir=DIR user executables [EPREFIX/bin] 778 --sbindir=DIR system admin executables [EPREFIX/sbin] 779 --libexecdir=DIR program executables [EPREFIX/libexec] 780 --datadir=DIR read-only architecture-independent data [PREFIX/share] 781 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 782 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 783 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 784 --libdir=DIR object code libraries [EPREFIX/lib] 785 --includedir=DIR C header files [PREFIX/include] 786 --oldincludedir=DIR C header files for non-gcc [/usr/include] 787 --infodir=DIR info documentation [PREFIX/info] 788 --mandir=DIR man documentation [PREFIX/man] 789_ACEOF 790 791 cat <<\_ACEOF 792 793Program names: 794 --program-prefix=PREFIX prepend PREFIX to installed program names 795 --program-suffix=SUFFIX append SUFFIX to installed program names 796 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 797 798System types: 799 --build=BUILD configure for building on BUILD [guessed] 800 --host=HOST cross-compile to build programs to run on HOST [BUILD] 801_ACEOF 802fi 803 804if test -n "$ac_init_help"; then 805 806 cat <<\_ACEOF 807 808Optional Features: 809 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 810 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 811 --disable-dependency-tracking speeds up one-time build 812 --enable-dependency-tracking do not reject slow dependency extractors 813 --disable-rpath do not hardcode runtime library paths 814 815Optional Packages: 816 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 817 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 818 --with-gnu-ld assume the C compiler uses GNU ld default=no 819 --with-librpathx-prefix[=DIR] search for librpathx in DIR/include and DIR/lib 820 --without-librpathx-prefix don't search for librpathx in includedir and libdir 821 --with-librpathy-prefix[=DIR] search for librpathy in DIR/include and DIR/lib 822 --without-librpathy-prefix don't search for librpathy in includedir and libdir 823 --with-librpathz-prefix[=DIR] search for librpathz in DIR/include and DIR/lib 824 --without-librpathz-prefix don't search for librpathz in includedir and libdir 825 826Some influential environment variables: 827 CC C compiler command 828 CFLAGS C compiler flags 829 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 830 nonstandard directory <lib dir> 831 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 832 headers in a nonstandard directory <include dir> 833 834Use these variables to override the choices made by `configure' or to help 835it to find libraries and programs with nonstandard names/locations. 836 837_ACEOF 838fi 839 840if test "$ac_init_help" = "recursive"; then 841 # If there are subdirs, report their specific --help. 842 ac_popdir=`pwd` 843 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 844 test -d $ac_dir || continue 845 ac_builddir=. 846 847if test "$ac_dir" != .; then 848 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 849 # A "../" for each directory in $ac_dir_suffix. 850 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 851else 852 ac_dir_suffix= ac_top_builddir= 853fi 854 855case $srcdir in 856 .) # No --srcdir option. We are building in place. 857 ac_srcdir=. 858 if test -z "$ac_top_builddir"; then 859 ac_top_srcdir=. 860 else 861 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 862 fi ;; 863 [\\/]* | ?:[\\/]* ) # Absolute path. 864 ac_srcdir=$srcdir$ac_dir_suffix; 865 ac_top_srcdir=$srcdir ;; 866 *) # Relative path. 867 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 868 ac_top_srcdir=$ac_top_builddir$srcdir ;; 869esac 870 871# Do not use `cd foo && pwd` to compute absolute paths, because 872# the directories may not exist. 873case `pwd` in 874.) ac_abs_builddir="$ac_dir";; 875*) 876 case "$ac_dir" in 877 .) ac_abs_builddir=`pwd`;; 878 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 879 *) ac_abs_builddir=`pwd`/"$ac_dir";; 880 esac;; 881esac 882case $ac_abs_builddir in 883.) ac_abs_top_builddir=${ac_top_builddir}.;; 884*) 885 case ${ac_top_builddir}. in 886 .) ac_abs_top_builddir=$ac_abs_builddir;; 887 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 888 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 889 esac;; 890esac 891case $ac_abs_builddir in 892.) ac_abs_srcdir=$ac_srcdir;; 893*) 894 case $ac_srcdir in 895 .) ac_abs_srcdir=$ac_abs_builddir;; 896 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 897 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 898 esac;; 899esac 900case $ac_abs_builddir in 901.) ac_abs_top_srcdir=$ac_top_srcdir;; 902*) 903 case $ac_top_srcdir in 904 .) ac_abs_top_srcdir=$ac_abs_builddir;; 905 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 906 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 907 esac;; 908esac 909 910 cd $ac_dir 911 # Check for guested configure; otherwise get Cygnus style configure. 912 if test -f $ac_srcdir/configure.gnu; then 913 echo 914 $SHELL $ac_srcdir/configure.gnu --help=recursive 915 elif test -f $ac_srcdir/configure; then 916 echo 917 $SHELL $ac_srcdir/configure --help=recursive 918 elif test -f $ac_srcdir/configure.ac || 919 test -f $ac_srcdir/configure.in; then 920 echo 921 $ac_configure --help 922 else 923 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 924 fi 925 cd $ac_popdir 926 done 927fi 928 929test -n "$ac_init_help" && exit 0 930if $ac_init_version; then 931 cat <<\_ACEOF 932 933Copyright (C) 2003 Free Software Foundation, Inc. 934This configure script is free software; the Free Software Foundation 935gives unlimited permission to copy, distribute and modify it. 936_ACEOF 937 exit 0 938fi 939exec 5>config.log 940cat >&5 <<_ACEOF 941This file contains any messages produced by compilers while 942running configure, to aid debugging if configure makes a mistake. 943 944It was created by $as_me, which was 945generated by GNU Autoconf 2.59. Invocation command line was 946 947 $ $0 $@ 948 949_ACEOF 950{ 951cat <<_ASUNAME 952## --------- ## 953## Platform. ## 954## --------- ## 955 956hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 957uname -m = `(uname -m) 2>/dev/null || echo unknown` 958uname -r = `(uname -r) 2>/dev/null || echo unknown` 959uname -s = `(uname -s) 2>/dev/null || echo unknown` 960uname -v = `(uname -v) 2>/dev/null || echo unknown` 961 962/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 963/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 964 965/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 966/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 967/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 968hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 969/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 970/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 971/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 972 973_ASUNAME 974 975as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 976for as_dir in $PATH 977do 978 IFS=$as_save_IFS 979 test -z "$as_dir" && as_dir=. 980 echo "PATH: $as_dir" 981done 982 983} >&5 984 985cat >&5 <<_ACEOF 986 987 988## ----------- ## 989## Core tests. ## 990## ----------- ## 991 992_ACEOF 993 994 995# Keep a trace of the command line. 996# Strip out --no-create and --no-recursion so they do not pile up. 997# Strip out --silent because we don't want to record it for future runs. 998# Also quote any args containing shell meta-characters. 999# Make two passes to allow for proper duplicate-argument suppression. 1000ac_configure_args= 1001ac_configure_args0= 1002ac_configure_args1= 1003ac_sep= 1004ac_must_keep_next=false 1005for ac_pass in 1 2 1006do 1007 for ac_arg 1008 do 1009 case $ac_arg in 1010 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1011 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1012 | -silent | --silent | --silen | --sile | --sil) 1013 continue ;; 1014 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1015 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1016 esac 1017 case $ac_pass in 1018 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1019 2) 1020 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1021 if test $ac_must_keep_next = true; then 1022 ac_must_keep_next=false # Got value, back to normal. 1023 else 1024 case $ac_arg in 1025 *=* | --config-cache | -C | -disable-* | --disable-* \ 1026 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1027 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1028 | -with-* | --with-* | -without-* | --without-* | --x) 1029 case "$ac_configure_args0 " in 1030 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1031 esac 1032 ;; 1033 -* ) ac_must_keep_next=true ;; 1034 esac 1035 fi 1036 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1037 # Get rid of the leading space. 1038 ac_sep=" " 1039 ;; 1040 esac 1041 done 1042done 1043$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1044$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1045 1046# When interrupted or exit'd, cleanup temporary files, and complete 1047# config.log. We remove comments because anyway the quotes in there 1048# would cause problems or look ugly. 1049# WARNING: Be sure not to use single quotes in there, as some shells, 1050# such as our DU 5.0 friend, will then `close' the trap. 1051trap 'exit_status=$? 1052 # Save into config.log some information that might help in debugging. 1053 { 1054 echo 1055 1056 cat <<\_ASBOX 1057## ---------------- ## 1058## Cache variables. ## 1059## ---------------- ## 1060_ASBOX 1061 echo 1062 # The following way of writing the cache mishandles newlines in values, 1063{ 1064 (set) 2>&1 | 1065 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1066 *ac_space=\ *) 1067 sed -n \ 1068 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1069 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1070 ;; 1071 *) 1072 sed -n \ 1073 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1074 ;; 1075 esac; 1076} 1077 echo 1078 1079 cat <<\_ASBOX 1080## ----------------- ## 1081## Output variables. ## 1082## ----------------- ## 1083_ASBOX 1084 echo 1085 for ac_var in $ac_subst_vars 1086 do 1087 eval ac_val=$`echo $ac_var` 1088 echo "$ac_var='"'"'$ac_val'"'"'" 1089 done | sort 1090 echo 1091 1092 if test -n "$ac_subst_files"; then 1093 cat <<\_ASBOX 1094## ------------- ## 1095## Output files. ## 1096## ------------- ## 1097_ASBOX 1098 echo 1099 for ac_var in $ac_subst_files 1100 do 1101 eval ac_val=$`echo $ac_var` 1102 echo "$ac_var='"'"'$ac_val'"'"'" 1103 done | sort 1104 echo 1105 fi 1106 1107 if test -s confdefs.h; then 1108 cat <<\_ASBOX 1109## ----------- ## 1110## confdefs.h. ## 1111## ----------- ## 1112_ASBOX 1113 echo 1114 sed "/^$/d" confdefs.h | sort 1115 echo 1116 fi 1117 test "$ac_signal" != 0 && 1118 echo "$as_me: caught signal $ac_signal" 1119 echo "$as_me: exit $exit_status" 1120 } >&5 1121 rm -f core *.core && 1122 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1123 exit $exit_status 1124 ' 0 1125for ac_signal in 1 2 13 15; do 1126 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1127done 1128ac_signal=0 1129 1130# confdefs.h avoids OS command line length limits that DEFS can exceed. 1131rm -rf conftest* confdefs.h 1132# AIX cpp loses on an empty file, so make sure it contains at least a newline. 1133echo >confdefs.h 1134 1135# Predefined preprocessor variables. 1136 1137cat >>confdefs.h <<_ACEOF 1138#define PACKAGE_NAME "$PACKAGE_NAME" 1139_ACEOF 1140 1141 1142cat >>confdefs.h <<_ACEOF 1143#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1144_ACEOF 1145 1146 1147cat >>confdefs.h <<_ACEOF 1148#define PACKAGE_VERSION "$PACKAGE_VERSION" 1149_ACEOF 1150 1151 1152cat >>confdefs.h <<_ACEOF 1153#define PACKAGE_STRING "$PACKAGE_STRING" 1154_ACEOF 1155 1156 1157cat >>confdefs.h <<_ACEOF 1158#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1159_ACEOF 1160 1161 1162# Let the site file select an alternate cache file if it wants to. 1163# Prefer explicitly selected file to automatically selected ones. 1164if test -z "$CONFIG_SITE"; then 1165 if test "x$prefix" != xNONE; then 1166 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1167 else 1168 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1169 fi 1170fi 1171for ac_site_file in $CONFIG_SITE; do 1172 if test -r "$ac_site_file"; then 1173 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1174echo "$as_me: loading site script $ac_site_file" >&6;} 1175 sed 's/^/| /' "$ac_site_file" >&5 1176 . "$ac_site_file" 1177 fi 1178done 1179 1180if test -r "$cache_file"; then 1181 # Some versions of bash will fail to source /dev/null (special 1182 # files actually), so we avoid doing that. 1183 if test -f "$cache_file"; then 1184 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1185echo "$as_me: loading cache $cache_file" >&6;} 1186 case $cache_file in 1187 [\\/]* | ?:[\\/]* ) . $cache_file;; 1188 *) . ./$cache_file;; 1189 esac 1190 fi 1191else 1192 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1193echo "$as_me: creating cache $cache_file" >&6;} 1194 >$cache_file 1195fi 1196 1197# Check that the precious variables saved in the cache have kept the same 1198# value. 1199ac_cache_corrupted=false 1200for ac_var in `(set) 2>&1 | 1201 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1202 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1203 eval ac_new_set=\$ac_env_${ac_var}_set 1204 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1205 eval ac_new_val="\$ac_env_${ac_var}_value" 1206 case $ac_old_set,$ac_new_set in 1207 set,) 1208 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1209echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1210 ac_cache_corrupted=: ;; 1211 ,set) 1212 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1213echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1214 ac_cache_corrupted=: ;; 1215 ,);; 1216 *) 1217 if test "x$ac_old_val" != "x$ac_new_val"; then 1218 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1219echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1220 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1221echo "$as_me: former value: $ac_old_val" >&2;} 1222 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1223echo "$as_me: current value: $ac_new_val" >&2;} 1224 ac_cache_corrupted=: 1225 fi;; 1226 esac 1227 # Pass precious variables to config.status. 1228 if test "$ac_new_set" = set; then 1229 case $ac_new_val in 1230 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1231 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1232 *) ac_arg=$ac_var=$ac_new_val ;; 1233 esac 1234 case " $ac_configure_args " in 1235 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1236 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1237 esac 1238 fi 1239done 1240if $ac_cache_corrupted; then 1241 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1242echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1243 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1244echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1245 { (exit 1); exit 1; }; } 1246fi 1247 1248ac_ext=c 1249ac_cpp='$CPP $CPPFLAGS' 1250ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1251ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1252ac_compiler_gnu=$ac_cv_c_compiler_gnu 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272ac_aux_dir= 1273for ac_dir in ../../../build-aux $srcdir/../../../build-aux; do 1274 if test -f $ac_dir/install-sh; then 1275 ac_aux_dir=$ac_dir 1276 ac_install_sh="$ac_aux_dir/install-sh -c" 1277 break 1278 elif test -f $ac_dir/install.sh; then 1279 ac_aux_dir=$ac_dir 1280 ac_install_sh="$ac_aux_dir/install.sh -c" 1281 break 1282 elif test -f $ac_dir/shtool; then 1283 ac_aux_dir=$ac_dir 1284 ac_install_sh="$ac_aux_dir/shtool install -c" 1285 break 1286 fi 1287done 1288if test -z "$ac_aux_dir"; then 1289 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../../build-aux $srcdir/../../../build-aux" >&5 1290echo "$as_me: error: cannot find install-sh or install.sh in ../../../build-aux $srcdir/../../../build-aux" >&2;} 1291 { (exit 1); exit 1; }; } 1292fi 1293ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1294ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1295ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1296 1297am__api_version="1.9" 1298# Find a good install program. We prefer a C program (faster), 1299# so one script is as good as another. But avoid the broken or 1300# incompatible versions: 1301# SysV /etc/install, /usr/sbin/install 1302# SunOS /usr/etc/install 1303# IRIX /sbin/install 1304# AIX /bin/install 1305# AmigaOS /C/install, which installs bootblocks on floppy discs 1306# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1307# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1308# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1309# OS/2's system install, which has a completely different semantic 1310# ./install, which can be erroneously created by make from ./install.sh. 1311echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1312echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 1313if test -z "$INSTALL"; then 1314if test "${ac_cv_path_install+set}" = set; then 1315 echo $ECHO_N "(cached) $ECHO_C" >&6 1316else 1317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1318for as_dir in $PATH 1319do 1320 IFS=$as_save_IFS 1321 test -z "$as_dir" && as_dir=. 1322 # Account for people who put trailing slashes in PATH elements. 1323case $as_dir/ in 1324 ./ | .// | /cC/* | \ 1325 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1326 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1327 /usr/ucb/* ) ;; 1328 *) 1329 # OSF1 and SCO ODT 3.0 have their own names for install. 1330 # Don't use installbsd from OSF since it installs stuff as root 1331 # by default. 1332 for ac_prog in ginstall scoinst install; do 1333 for ac_exec_ext in '' $ac_executable_extensions; do 1334 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 1335 if test $ac_prog = install && 1336 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1337 # AIX install. It has an incompatible calling convention. 1338 : 1339 elif test $ac_prog = install && 1340 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1341 # program-specific install script used by HP pwplus--don't use. 1342 : 1343 else 1344 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1345 break 3 1346 fi 1347 fi 1348 done 1349 done 1350 ;; 1351esac 1352done 1353 1354 1355fi 1356 if test "${ac_cv_path_install+set}" = set; then 1357 INSTALL=$ac_cv_path_install 1358 else 1359 # As a last resort, use the slow shell script. We don't cache a 1360 # path for INSTALL within a source directory, because that will 1361 # break other packages using the cache if that directory is 1362 # removed, or if the path is relative. 1363 INSTALL=$ac_install_sh 1364 fi 1365fi 1366echo "$as_me:$LINENO: result: $INSTALL" >&5 1367echo "${ECHO_T}$INSTALL" >&6 1368 1369# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1370# It thinks the first close brace ends the variable substitution. 1371test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1372 1373test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1374 1375test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1376 1377echo "$as_me:$LINENO: checking whether build environment is sane" >&5 1378echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 1379# Just in case 1380sleep 1 1381echo timestamp > conftest.file 1382# Do `set' in a subshell so we don't clobber the current shell's 1383# arguments. Must try -L first in case configure is actually a 1384# symlink; some systems play weird games with the mod time of symlinks 1385# (eg FreeBSD returns the mod time of the symlink's containing 1386# directory). 1387if ( 1388 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 1389 if test "$*" = "X"; then 1390 # -L didn't work. 1391 set X `ls -t $srcdir/configure conftest.file` 1392 fi 1393 rm -f conftest.file 1394 if test "$*" != "X $srcdir/configure conftest.file" \ 1395 && test "$*" != "X conftest.file $srcdir/configure"; then 1396 1397 # If neither matched, then we have a broken ls. This can happen 1398 # if, for instance, CONFIG_SHELL is bash and it inherits a 1399 # broken ls alias from the environment. This has actually 1400 # happened. Such a system could not be considered "sane". 1401 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 1402alias in your environment" >&5 1403echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1404alias in your environment" >&2;} 1405 { (exit 1); exit 1; }; } 1406 fi 1407 1408 test "$2" = conftest.file 1409 ) 1410then 1411 # Ok. 1412 : 1413else 1414 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 1415Check your system clock" >&5 1416echo "$as_me: error: newly created file is older than distributed files! 1417Check your system clock" >&2;} 1418 { (exit 1); exit 1; }; } 1419fi 1420echo "$as_me:$LINENO: result: yes" >&5 1421echo "${ECHO_T}yes" >&6 1422test "$program_prefix" != NONE && 1423 program_transform_name="s,^,$program_prefix,;$program_transform_name" 1424# Use a double $ so make ignores it. 1425test "$program_suffix" != NONE && 1426 program_transform_name="s,\$,$program_suffix,;$program_transform_name" 1427# Double any \ or $. echo might interpret backslashes. 1428# By default was `s,x,x', remove it if useless. 1429cat <<\_ACEOF >conftest.sed 1430s/[\\$]/&&/g;s/;s,x,x,$// 1431_ACEOF 1432program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1433rm conftest.sed 1434 1435# expand $ac_aux_dir to an absolute path 1436am_aux_dir=`cd $ac_aux_dir && pwd` 1437 1438test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1439# Use eval to expand $SHELL 1440if eval "$MISSING --run true"; then 1441 am_missing_run="$MISSING --run " 1442else 1443 am_missing_run= 1444 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1445echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1446fi 1447 1448if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 1449 # We used to keeping the `.' as first argument, in order to 1450 # allow $(mkdir_p) to be used without argument. As in 1451 # $(mkdir_p) $(somedir) 1452 # where $(somedir) is conditionally defined. However this is wrong 1453 # for two reasons: 1454 # 1. if the package is installed by a user who cannot write `.' 1455 # make install will fail, 1456 # 2. the above comment should most certainly read 1457 # $(mkdir_p) $(DESTDIR)$(somedir) 1458 # so it does not work when $(somedir) is undefined and 1459 # $(DESTDIR) is not. 1460 # To support the latter case, we have to write 1461 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), 1462 # so the `.' trick is pointless. 1463 mkdir_p='mkdir -p --' 1464else 1465 # On NextStep and OpenStep, the `mkdir' command does not 1466 # recognize any option. It will interpret all options as 1467 # directories to create, and then abort because `.' already 1468 # exists. 1469 for d in ./-p ./--version; 1470 do 1471 test -d $d && rmdir $d 1472 done 1473 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 1474 if test -f "$ac_aux_dir/mkinstalldirs"; then 1475 mkdir_p='$(mkinstalldirs)' 1476 else 1477 mkdir_p='$(install_sh) -d' 1478 fi 1479fi 1480 1481for ac_prog in gawk mawk nawk awk 1482do 1483 # Extract the first word of "$ac_prog", so it can be a program name with args. 1484set dummy $ac_prog; ac_word=$2 1485echo "$as_me:$LINENO: checking for $ac_word" >&5 1486echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1487if test "${ac_cv_prog_AWK+set}" = set; then 1488 echo $ECHO_N "(cached) $ECHO_C" >&6 1489else 1490 if test -n "$AWK"; then 1491 ac_cv_prog_AWK="$AWK" # Let the user override the test. 1492else 1493as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1494for as_dir in $PATH 1495do 1496 IFS=$as_save_IFS 1497 test -z "$as_dir" && as_dir=. 1498 for ac_exec_ext in '' $ac_executable_extensions; do 1499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1500 ac_cv_prog_AWK="$ac_prog" 1501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1502 break 2 1503 fi 1504done 1505done 1506 1507fi 1508fi 1509AWK=$ac_cv_prog_AWK 1510if test -n "$AWK"; then 1511 echo "$as_me:$LINENO: result: $AWK" >&5 1512echo "${ECHO_T}$AWK" >&6 1513else 1514 echo "$as_me:$LINENO: result: no" >&5 1515echo "${ECHO_T}no" >&6 1516fi 1517 1518 test -n "$AWK" && break 1519done 1520 1521echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1522echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 1523set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 1524if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1525 echo $ECHO_N "(cached) $ECHO_C" >&6 1526else 1527 cat >conftest.make <<\_ACEOF 1528all: 1529 @echo 'ac_maketemp="$(MAKE)"' 1530_ACEOF 1531# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1532eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 1533if test -n "$ac_maketemp"; then 1534 eval ac_cv_prog_make_${ac_make}_set=yes 1535else 1536 eval ac_cv_prog_make_${ac_make}_set=no 1537fi 1538rm -f conftest.make 1539fi 1540if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 1541 echo "$as_me:$LINENO: result: yes" >&5 1542echo "${ECHO_T}yes" >&6 1543 SET_MAKE= 1544else 1545 echo "$as_me:$LINENO: result: no" >&5 1546echo "${ECHO_T}no" >&6 1547 SET_MAKE="MAKE=${MAKE-make}" 1548fi 1549 1550rm -rf .tst 2>/dev/null 1551mkdir .tst 2>/dev/null 1552if test -d .tst; then 1553 am__leading_dot=. 1554else 1555 am__leading_dot=_ 1556fi 1557rmdir .tst 2>/dev/null 1558 1559# test to see if srcdir already configured 1560if test "`cd $srcdir && pwd`" != "`pwd`" && 1561 test -f $srcdir/config.status; then 1562 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 1563echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 1564 { (exit 1); exit 1; }; } 1565fi 1566 1567# test whether we have cygpath 1568if test -z "$CYGPATH_W"; then 1569 if (cygpath --version) >/dev/null 2>/dev/null; then 1570 CYGPATH_W='cygpath -w' 1571 else 1572 CYGPATH_W=echo 1573 fi 1574fi 1575 1576 1577# Define the identity of the package. 1578 PACKAGE=gettext_rpathlzyx 1579 VERSION=0 1580 1581 1582cat >>confdefs.h <<_ACEOF 1583#define PACKAGE "$PACKAGE" 1584_ACEOF 1585 1586 1587cat >>confdefs.h <<_ACEOF 1588#define VERSION "$VERSION" 1589_ACEOF 1590 1591# Some tools Automake needs. 1592 1593ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 1594 1595 1596AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 1597 1598 1599AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 1600 1601 1602AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 1603 1604 1605MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 1606 1607install_sh=${install_sh-"$am_aux_dir/install-sh"} 1608 1609# Installed binaries are usually stripped using `strip' when the user 1610# run `make install-strip'. However `strip' might not be the right 1611# tool to use in cross-compilation environments, therefore Automake 1612# will honor the `STRIP' environment variable to overrule this program. 1613if test "$cross_compiling" != no; then 1614 if test -n "$ac_tool_prefix"; then 1615 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 1616set dummy ${ac_tool_prefix}strip; ac_word=$2 1617echo "$as_me:$LINENO: checking for $ac_word" >&5 1618echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1619if test "${ac_cv_prog_STRIP+set}" = set; then 1620 echo $ECHO_N "(cached) $ECHO_C" >&6 1621else 1622 if test -n "$STRIP"; then 1623 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 1624else 1625as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1626for as_dir in $PATH 1627do 1628 IFS=$as_save_IFS 1629 test -z "$as_dir" && as_dir=. 1630 for ac_exec_ext in '' $ac_executable_extensions; do 1631 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1632 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 1633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1634 break 2 1635 fi 1636done 1637done 1638 1639fi 1640fi 1641STRIP=$ac_cv_prog_STRIP 1642if test -n "$STRIP"; then 1643 echo "$as_me:$LINENO: result: $STRIP" >&5 1644echo "${ECHO_T}$STRIP" >&6 1645else 1646 echo "$as_me:$LINENO: result: no" >&5 1647echo "${ECHO_T}no" >&6 1648fi 1649 1650fi 1651if test -z "$ac_cv_prog_STRIP"; then 1652 ac_ct_STRIP=$STRIP 1653 # Extract the first word of "strip", so it can be a program name with args. 1654set dummy strip; ac_word=$2 1655echo "$as_me:$LINENO: checking for $ac_word" >&5 1656echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1657if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 1658 echo $ECHO_N "(cached) $ECHO_C" >&6 1659else 1660 if test -n "$ac_ct_STRIP"; then 1661 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 1662else 1663as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1664for as_dir in $PATH 1665do 1666 IFS=$as_save_IFS 1667 test -z "$as_dir" && as_dir=. 1668 for ac_exec_ext in '' $ac_executable_extensions; do 1669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1670 ac_cv_prog_ac_ct_STRIP="strip" 1671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1672 break 2 1673 fi 1674done 1675done 1676 1677 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" 1678fi 1679fi 1680ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 1681if test -n "$ac_ct_STRIP"; then 1682 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 1683echo "${ECHO_T}$ac_ct_STRIP" >&6 1684else 1685 echo "$as_me:$LINENO: result: no" >&5 1686echo "${ECHO_T}no" >&6 1687fi 1688 1689 STRIP=$ac_ct_STRIP 1690else 1691 STRIP="$ac_cv_prog_STRIP" 1692fi 1693 1694fi 1695INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 1696 1697# We need awk for the "check" target. The system "awk" is bad on 1698# some platforms. 1699# Always define AMTAR for backward compatibility. 1700 1701AMTAR=${AMTAR-"${am_missing_run}tar"} 1702 1703am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 1704 1705 1706 1707 1708 1709ac_ext=c 1710ac_cpp='$CPP $CPPFLAGS' 1711ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1712ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1713ac_compiler_gnu=$ac_cv_c_compiler_gnu 1714if test -n "$ac_tool_prefix"; then 1715 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1716set dummy ${ac_tool_prefix}gcc; ac_word=$2 1717echo "$as_me:$LINENO: checking for $ac_word" >&5 1718echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1719if test "${ac_cv_prog_CC+set}" = set; then 1720 echo $ECHO_N "(cached) $ECHO_C" >&6 1721else 1722 if test -n "$CC"; then 1723 ac_cv_prog_CC="$CC" # Let the user override the test. 1724else 1725as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1726for as_dir in $PATH 1727do 1728 IFS=$as_save_IFS 1729 test -z "$as_dir" && as_dir=. 1730 for ac_exec_ext in '' $ac_executable_extensions; do 1731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1732 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1734 break 2 1735 fi 1736done 1737done 1738 1739fi 1740fi 1741CC=$ac_cv_prog_CC 1742if test -n "$CC"; then 1743 echo "$as_me:$LINENO: result: $CC" >&5 1744echo "${ECHO_T}$CC" >&6 1745else 1746 echo "$as_me:$LINENO: result: no" >&5 1747echo "${ECHO_T}no" >&6 1748fi 1749 1750fi 1751if test -z "$ac_cv_prog_CC"; then 1752 ac_ct_CC=$CC 1753 # Extract the first word of "gcc", so it can be a program name with args. 1754set dummy gcc; ac_word=$2 1755echo "$as_me:$LINENO: checking for $ac_word" >&5 1756echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1757if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1758 echo $ECHO_N "(cached) $ECHO_C" >&6 1759else 1760 if test -n "$ac_ct_CC"; then 1761 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1762else 1763as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1764for as_dir in $PATH 1765do 1766 IFS=$as_save_IFS 1767 test -z "$as_dir" && as_dir=. 1768 for ac_exec_ext in '' $ac_executable_extensions; do 1769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1770 ac_cv_prog_ac_ct_CC="gcc" 1771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1772 break 2 1773 fi 1774done 1775done 1776 1777fi 1778fi 1779ac_ct_CC=$ac_cv_prog_ac_ct_CC 1780if test -n "$ac_ct_CC"; then 1781 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1782echo "${ECHO_T}$ac_ct_CC" >&6 1783else 1784 echo "$as_me:$LINENO: result: no" >&5 1785echo "${ECHO_T}no" >&6 1786fi 1787 1788 CC=$ac_ct_CC 1789else 1790 CC="$ac_cv_prog_CC" 1791fi 1792 1793if test -z "$CC"; then 1794 if test -n "$ac_tool_prefix"; then 1795 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1796set dummy ${ac_tool_prefix}cc; ac_word=$2 1797echo "$as_me:$LINENO: checking for $ac_word" >&5 1798echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1799if test "${ac_cv_prog_CC+set}" = set; then 1800 echo $ECHO_N "(cached) $ECHO_C" >&6 1801else 1802 if test -n "$CC"; then 1803 ac_cv_prog_CC="$CC" # Let the user override the test. 1804else 1805as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1806for as_dir in $PATH 1807do 1808 IFS=$as_save_IFS 1809 test -z "$as_dir" && as_dir=. 1810 for ac_exec_ext in '' $ac_executable_extensions; do 1811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1812 ac_cv_prog_CC="${ac_tool_prefix}cc" 1813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1814 break 2 1815 fi 1816done 1817done 1818 1819fi 1820fi 1821CC=$ac_cv_prog_CC 1822if test -n "$CC"; then 1823 echo "$as_me:$LINENO: result: $CC" >&5 1824echo "${ECHO_T}$CC" >&6 1825else 1826 echo "$as_me:$LINENO: result: no" >&5 1827echo "${ECHO_T}no" >&6 1828fi 1829 1830fi 1831if test -z "$ac_cv_prog_CC"; then 1832 ac_ct_CC=$CC 1833 # Extract the first word of "cc", so it can be a program name with args. 1834set dummy cc; ac_word=$2 1835echo "$as_me:$LINENO: checking for $ac_word" >&5 1836echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1837if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1838 echo $ECHO_N "(cached) $ECHO_C" >&6 1839else 1840 if test -n "$ac_ct_CC"; then 1841 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1842else 1843as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1844for as_dir in $PATH 1845do 1846 IFS=$as_save_IFS 1847 test -z "$as_dir" && as_dir=. 1848 for ac_exec_ext in '' $ac_executable_extensions; do 1849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1850 ac_cv_prog_ac_ct_CC="cc" 1851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1852 break 2 1853 fi 1854done 1855done 1856 1857fi 1858fi 1859ac_ct_CC=$ac_cv_prog_ac_ct_CC 1860if test -n "$ac_ct_CC"; then 1861 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1862echo "${ECHO_T}$ac_ct_CC" >&6 1863else 1864 echo "$as_me:$LINENO: result: no" >&5 1865echo "${ECHO_T}no" >&6 1866fi 1867 1868 CC=$ac_ct_CC 1869else 1870 CC="$ac_cv_prog_CC" 1871fi 1872 1873fi 1874if test -z "$CC"; then 1875 # Extract the first word of "cc", so it can be a program name with args. 1876set dummy cc; ac_word=$2 1877echo "$as_me:$LINENO: checking for $ac_word" >&5 1878echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1879if test "${ac_cv_prog_CC+set}" = set; then 1880 echo $ECHO_N "(cached) $ECHO_C" >&6 1881else 1882 if test -n "$CC"; then 1883 ac_cv_prog_CC="$CC" # Let the user override the test. 1884else 1885 ac_prog_rejected=no 1886as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1887for as_dir in $PATH 1888do 1889 IFS=$as_save_IFS 1890 test -z "$as_dir" && as_dir=. 1891 for ac_exec_ext in '' $ac_executable_extensions; do 1892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1893 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1894 ac_prog_rejected=yes 1895 continue 1896 fi 1897 ac_cv_prog_CC="cc" 1898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1899 break 2 1900 fi 1901done 1902done 1903 1904if test $ac_prog_rejected = yes; then 1905 # We found a bogon in the path, so make sure we never use it. 1906 set dummy $ac_cv_prog_CC 1907 shift 1908 if test $# != 0; then 1909 # We chose a different compiler from the bogus one. 1910 # However, it has the same basename, so the bogon will be chosen 1911 # first if we set CC to just the basename; use the full file name. 1912 shift 1913 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 1914 fi 1915fi 1916fi 1917fi 1918CC=$ac_cv_prog_CC 1919if test -n "$CC"; then 1920 echo "$as_me:$LINENO: result: $CC" >&5 1921echo "${ECHO_T}$CC" >&6 1922else 1923 echo "$as_me:$LINENO: result: no" >&5 1924echo "${ECHO_T}no" >&6 1925fi 1926 1927fi 1928if test -z "$CC"; then 1929 if test -n "$ac_tool_prefix"; then 1930 for ac_prog in cl 1931 do 1932 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1933set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1934echo "$as_me:$LINENO: checking for $ac_word" >&5 1935echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1936if test "${ac_cv_prog_CC+set}" = set; then 1937 echo $ECHO_N "(cached) $ECHO_C" >&6 1938else 1939 if test -n "$CC"; then 1940 ac_cv_prog_CC="$CC" # Let the user override the test. 1941else 1942as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1943for as_dir in $PATH 1944do 1945 IFS=$as_save_IFS 1946 test -z "$as_dir" && as_dir=. 1947 for ac_exec_ext in '' $ac_executable_extensions; do 1948 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1949 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1951 break 2 1952 fi 1953done 1954done 1955 1956fi 1957fi 1958CC=$ac_cv_prog_CC 1959if test -n "$CC"; then 1960 echo "$as_me:$LINENO: result: $CC" >&5 1961echo "${ECHO_T}$CC" >&6 1962else 1963 echo "$as_me:$LINENO: result: no" >&5 1964echo "${ECHO_T}no" >&6 1965fi 1966 1967 test -n "$CC" && break 1968 done 1969fi 1970if test -z "$CC"; then 1971 ac_ct_CC=$CC 1972 for ac_prog in cl 1973do 1974 # Extract the first word of "$ac_prog", so it can be a program name with args. 1975set dummy $ac_prog; ac_word=$2 1976echo "$as_me:$LINENO: checking for $ac_word" >&5 1977echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1978if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1979 echo $ECHO_N "(cached) $ECHO_C" >&6 1980else 1981 if test -n "$ac_ct_CC"; then 1982 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1983else 1984as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1985for as_dir in $PATH 1986do 1987 IFS=$as_save_IFS 1988 test -z "$as_dir" && as_dir=. 1989 for ac_exec_ext in '' $ac_executable_extensions; do 1990 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1991 ac_cv_prog_ac_ct_CC="$ac_prog" 1992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1993 break 2 1994 fi 1995done 1996done 1997 1998fi 1999fi 2000ac_ct_CC=$ac_cv_prog_ac_ct_CC 2001if test -n "$ac_ct_CC"; then 2002 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2003echo "${ECHO_T}$ac_ct_CC" >&6 2004else 2005 echo "$as_me:$LINENO: result: no" >&5 2006echo "${ECHO_T}no" >&6 2007fi 2008 2009 test -n "$ac_ct_CC" && break 2010done 2011 2012 CC=$ac_ct_CC 2013fi 2014 2015fi 2016 2017 2018test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2019See \`config.log' for more details." >&5 2020echo "$as_me: error: no acceptable C compiler found in \$PATH 2021See \`config.log' for more details." >&2;} 2022 { (exit 1); exit 1; }; } 2023 2024# Provide some information about the compiler. 2025echo "$as_me:$LINENO:" \ 2026 "checking for C compiler version" >&5 2027ac_compiler=`set X $ac_compile; echo $2` 2028{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2029 (eval $ac_compiler --version </dev/null >&5) 2>&5 2030 ac_status=$? 2031 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2032 (exit $ac_status); } 2033{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2034 (eval $ac_compiler -v </dev/null >&5) 2>&5 2035 ac_status=$? 2036 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2037 (exit $ac_status); } 2038{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2039 (eval $ac_compiler -V </dev/null >&5) 2>&5 2040 ac_status=$? 2041 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2042 (exit $ac_status); } 2043 2044cat >conftest.$ac_ext <<_ACEOF 2045/* confdefs.h. */ 2046_ACEOF 2047cat confdefs.h >>conftest.$ac_ext 2048cat >>conftest.$ac_ext <<_ACEOF 2049/* end confdefs.h. */ 2050 2051int 2052main () 2053{ 2054 2055 ; 2056 return 0; 2057} 2058_ACEOF 2059ac_clean_files_save=$ac_clean_files 2060ac_clean_files="$ac_clean_files a.out a.exe b.out" 2061# Try to create an executable without -o first, disregard a.out. 2062# It will help us diagnose broken compilers, and finding out an intuition 2063# of exeext. 2064echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2065echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 2066ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2067if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 2068 (eval $ac_link_default) 2>&5 2069 ac_status=$? 2070 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2071 (exit $ac_status); }; then 2072 # Find the output, starting from the most likely. This scheme is 2073# not robust to junk in `.', hence go to wildcards (a.*) only as a last 2074# resort. 2075 2076# Be careful to initialize this variable, since it used to be cached. 2077# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 2078ac_cv_exeext= 2079# b.out is created by i960 compilers. 2080for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2081do 2082 test -f "$ac_file" || continue 2083 case $ac_file in 2084 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 2085 ;; 2086 conftest.$ac_ext ) 2087 # This is the source file. 2088 ;; 2089 [ab].out ) 2090 # We found the default executable, but exeext='' is most 2091 # certainly right. 2092 break;; 2093 *.* ) 2094 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2095 # FIXME: I believe we export ac_cv_exeext for Libtool, 2096 # but it would be cool to find out if it's true. Does anybody 2097 # maintain Libtool? --akim. 2098 export ac_cv_exeext 2099 break;; 2100 * ) 2101 break;; 2102 esac 2103done 2104else 2105 echo "$as_me: failed program was:" >&5 2106sed 's/^/| /' conftest.$ac_ext >&5 2107 2108{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 2109See \`config.log' for more details." >&5 2110echo "$as_me: error: C compiler cannot create executables 2111See \`config.log' for more details." >&2;} 2112 { (exit 77); exit 77; }; } 2113fi 2114 2115ac_exeext=$ac_cv_exeext 2116echo "$as_me:$LINENO: result: $ac_file" >&5 2117echo "${ECHO_T}$ac_file" >&6 2118 2119# Check the compiler produces executables we can run. If not, either 2120# the compiler is broken, or we cross compile. 2121echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2122echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2123# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2124# If not cross compiling, check that we can run a simple program. 2125if test "$cross_compiling" != yes; then 2126 if { ac_try='./$ac_file' 2127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2128 (eval $ac_try) 2>&5 2129 ac_status=$? 2130 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2131 (exit $ac_status); }; }; then 2132 cross_compiling=no 2133 else 2134 if test "$cross_compiling" = maybe; then 2135 cross_compiling=yes 2136 else 2137 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2138If you meant to cross compile, use \`--host'. 2139See \`config.log' for more details." >&5 2140echo "$as_me: error: cannot run C compiled programs. 2141If you meant to cross compile, use \`--host'. 2142See \`config.log' for more details." >&2;} 2143 { (exit 1); exit 1; }; } 2144 fi 2145 fi 2146fi 2147echo "$as_me:$LINENO: result: yes" >&5 2148echo "${ECHO_T}yes" >&6 2149 2150rm -f a.out a.exe conftest$ac_cv_exeext b.out 2151ac_clean_files=$ac_clean_files_save 2152# Check the compiler produces executables we can run. If not, either 2153# the compiler is broken, or we cross compile. 2154echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2155echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2156echo "$as_me:$LINENO: result: $cross_compiling" >&5 2157echo "${ECHO_T}$cross_compiling" >&6 2158 2159echo "$as_me:$LINENO: checking for suffix of executables" >&5 2160echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2161if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2162 (eval $ac_link) 2>&5 2163 ac_status=$? 2164 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2165 (exit $ac_status); }; then 2166 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2167# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2168# work properly (i.e., refer to `conftest.exe'), while it won't with 2169# `rm'. 2170for ac_file in conftest.exe conftest conftest.*; do 2171 test -f "$ac_file" || continue 2172 case $ac_file in 2173 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2174 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2175 export ac_cv_exeext 2176 break;; 2177 * ) break;; 2178 esac 2179done 2180else 2181 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2182See \`config.log' for more details." >&5 2183echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2184See \`config.log' for more details." >&2;} 2185 { (exit 1); exit 1; }; } 2186fi 2187 2188rm -f conftest$ac_cv_exeext 2189echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2190echo "${ECHO_T}$ac_cv_exeext" >&6 2191 2192rm -f conftest.$ac_ext 2193EXEEXT=$ac_cv_exeext 2194ac_exeext=$EXEEXT 2195echo "$as_me:$LINENO: checking for suffix of object files" >&5 2196echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2197if test "${ac_cv_objext+set}" = set; then 2198 echo $ECHO_N "(cached) $ECHO_C" >&6 2199else 2200 cat >conftest.$ac_ext <<_ACEOF 2201/* confdefs.h. */ 2202_ACEOF 2203cat confdefs.h >>conftest.$ac_ext 2204cat >>conftest.$ac_ext <<_ACEOF 2205/* end confdefs.h. */ 2206 2207int 2208main () 2209{ 2210 2211 ; 2212 return 0; 2213} 2214_ACEOF 2215rm -f conftest.o conftest.obj 2216if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2217 (eval $ac_compile) 2>&5 2218 ac_status=$? 2219 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2220 (exit $ac_status); }; then 2221 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2222 case $ac_file in 2223 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 2224 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2225 break;; 2226 esac 2227done 2228else 2229 echo "$as_me: failed program was:" >&5 2230sed 's/^/| /' conftest.$ac_ext >&5 2231 2232{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2233See \`config.log' for more details." >&5 2234echo "$as_me: error: cannot compute suffix of object files: cannot compile 2235See \`config.log' for more details." >&2;} 2236 { (exit 1); exit 1; }; } 2237fi 2238 2239rm -f conftest.$ac_cv_objext conftest.$ac_ext 2240fi 2241echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2242echo "${ECHO_T}$ac_cv_objext" >&6 2243OBJEXT=$ac_cv_objext 2244ac_objext=$OBJEXT 2245echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2246echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2247if test "${ac_cv_c_compiler_gnu+set}" = set; then 2248 echo $ECHO_N "(cached) $ECHO_C" >&6 2249else 2250 cat >conftest.$ac_ext <<_ACEOF 2251/* confdefs.h. */ 2252_ACEOF 2253cat confdefs.h >>conftest.$ac_ext 2254cat >>conftest.$ac_ext <<_ACEOF 2255/* end confdefs.h. */ 2256 2257int 2258main () 2259{ 2260#ifndef __GNUC__ 2261 choke me 2262#endif 2263 2264 ; 2265 return 0; 2266} 2267_ACEOF 2268rm -f conftest.$ac_objext 2269if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2270 (eval $ac_compile) 2>conftest.er1 2271 ac_status=$? 2272 grep -v '^ *+' conftest.er1 >conftest.err 2273 rm -f conftest.er1 2274 cat conftest.err >&5 2275 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2276 (exit $ac_status); } && 2277 { ac_try='test -z "$ac_c_werror_flag" 2278 || test ! -s conftest.err' 2279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2280 (eval $ac_try) 2>&5 2281 ac_status=$? 2282 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2283 (exit $ac_status); }; } && 2284 { ac_try='test -s conftest.$ac_objext' 2285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2286 (eval $ac_try) 2>&5 2287 ac_status=$? 2288 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2289 (exit $ac_status); }; }; then 2290 ac_compiler_gnu=yes 2291else 2292 echo "$as_me: failed program was:" >&5 2293sed 's/^/| /' conftest.$ac_ext >&5 2294 2295ac_compiler_gnu=no 2296fi 2297rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2298ac_cv_c_compiler_gnu=$ac_compiler_gnu 2299 2300fi 2301echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2302echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2303GCC=`test $ac_compiler_gnu = yes && echo yes` 2304ac_test_CFLAGS=${CFLAGS+set} 2305ac_save_CFLAGS=$CFLAGS 2306CFLAGS="-g" 2307echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2308echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2309if test "${ac_cv_prog_cc_g+set}" = set; then 2310 echo $ECHO_N "(cached) $ECHO_C" >&6 2311else 2312 cat >conftest.$ac_ext <<_ACEOF 2313/* confdefs.h. */ 2314_ACEOF 2315cat confdefs.h >>conftest.$ac_ext 2316cat >>conftest.$ac_ext <<_ACEOF 2317/* end confdefs.h. */ 2318 2319int 2320main () 2321{ 2322 2323 ; 2324 return 0; 2325} 2326_ACEOF 2327rm -f conftest.$ac_objext 2328if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2329 (eval $ac_compile) 2>conftest.er1 2330 ac_status=$? 2331 grep -v '^ *+' conftest.er1 >conftest.err 2332 rm -f conftest.er1 2333 cat conftest.err >&5 2334 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2335 (exit $ac_status); } && 2336 { ac_try='test -z "$ac_c_werror_flag" 2337 || test ! -s conftest.err' 2338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2339 (eval $ac_try) 2>&5 2340 ac_status=$? 2341 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2342 (exit $ac_status); }; } && 2343 { ac_try='test -s conftest.$ac_objext' 2344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2345 (eval $ac_try) 2>&5 2346 ac_status=$? 2347 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2348 (exit $ac_status); }; }; then 2349 ac_cv_prog_cc_g=yes 2350else 2351 echo "$as_me: failed program was:" >&5 2352sed 's/^/| /' conftest.$ac_ext >&5 2353 2354ac_cv_prog_cc_g=no 2355fi 2356rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2357fi 2358echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2359echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2360if test "$ac_test_CFLAGS" = set; then 2361 CFLAGS=$ac_save_CFLAGS 2362elif test $ac_cv_prog_cc_g = yes; then 2363 if test "$GCC" = yes; then 2364 CFLAGS="-g -O2" 2365 else 2366 CFLAGS="-g" 2367 fi 2368else 2369 if test "$GCC" = yes; then 2370 CFLAGS="-O2" 2371 else 2372 CFLAGS= 2373 fi 2374fi 2375echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2376echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2377if test "${ac_cv_prog_cc_stdc+set}" = set; then 2378 echo $ECHO_N "(cached) $ECHO_C" >&6 2379else 2380 ac_cv_prog_cc_stdc=no 2381ac_save_CC=$CC 2382cat >conftest.$ac_ext <<_ACEOF 2383/* confdefs.h. */ 2384_ACEOF 2385cat confdefs.h >>conftest.$ac_ext 2386cat >>conftest.$ac_ext <<_ACEOF 2387/* end confdefs.h. */ 2388#include <stdarg.h> 2389#include <stdio.h> 2390#include <sys/types.h> 2391#include <sys/stat.h> 2392/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2393struct buf { int x; }; 2394FILE * (*rcsopen) (struct buf *, struct stat *, int); 2395static char *e (p, i) 2396 char **p; 2397 int i; 2398{ 2399 return p[i]; 2400} 2401static char *f (char * (*g) (char **, int), char **p, ...) 2402{ 2403 char *s; 2404 va_list v; 2405 va_start (v,p); 2406 s = g (p, va_arg (v,int)); 2407 va_end (v); 2408 return s; 2409} 2410 2411/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2412 function prototypes and stuff, but not '\xHH' hex character constants. 2413 These don't provoke an error unfortunately, instead are silently treated 2414 as 'x'. The following induces an error, until -std1 is added to get 2415 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2416 array size at least. It's necessary to write '\x00'==0 to get something 2417 that's true only with -std1. */ 2418int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2419 2420int test (int i, double x); 2421struct s1 {int (*f) (int a);}; 2422struct s2 {int (*f) (double a);}; 2423int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2424int argc; 2425char **argv; 2426int 2427main () 2428{ 2429return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2430 ; 2431 return 0; 2432} 2433_ACEOF 2434# Don't try gcc -ansi; that turns off useful extensions and 2435# breaks some systems' header files. 2436# AIX -qlanglvl=ansi 2437# Ultrix and OSF/1 -std1 2438# HP-UX 10.20 and later -Ae 2439# HP-UX older versions -Aa -D_HPUX_SOURCE 2440# SVR4 -Xc -D__EXTENSIONS__ 2441for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2442do 2443 CC="$ac_save_CC $ac_arg" 2444 rm -f conftest.$ac_objext 2445if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2446 (eval $ac_compile) 2>conftest.er1 2447 ac_status=$? 2448 grep -v '^ *+' conftest.er1 >conftest.err 2449 rm -f conftest.er1 2450 cat conftest.err >&5 2451 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2452 (exit $ac_status); } && 2453 { ac_try='test -z "$ac_c_werror_flag" 2454 || test ! -s conftest.err' 2455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2456 (eval $ac_try) 2>&5 2457 ac_status=$? 2458 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2459 (exit $ac_status); }; } && 2460 { ac_try='test -s conftest.$ac_objext' 2461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2462 (eval $ac_try) 2>&5 2463 ac_status=$? 2464 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2465 (exit $ac_status); }; }; then 2466 ac_cv_prog_cc_stdc=$ac_arg 2467break 2468else 2469 echo "$as_me: failed program was:" >&5 2470sed 's/^/| /' conftest.$ac_ext >&5 2471 2472fi 2473rm -f conftest.err conftest.$ac_objext 2474done 2475rm -f conftest.$ac_ext conftest.$ac_objext 2476CC=$ac_save_CC 2477 2478fi 2479 2480case "x$ac_cv_prog_cc_stdc" in 2481 x|xno) 2482 echo "$as_me:$LINENO: result: none needed" >&5 2483echo "${ECHO_T}none needed" >&6 ;; 2484 *) 2485 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2486echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2487 CC="$CC $ac_cv_prog_cc_stdc" ;; 2488esac 2489 2490# Some people use a C++ compiler to compile C. Since we use `exit', 2491# in C++ we need to declare it. In case someone uses the same compiler 2492# for both compiling C and C++ we need to have the C++ compiler decide 2493# the declaration of exit, since it's the most demanding environment. 2494cat >conftest.$ac_ext <<_ACEOF 2495#ifndef __cplusplus 2496 choke me 2497#endif 2498_ACEOF 2499rm -f conftest.$ac_objext 2500if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2501 (eval $ac_compile) 2>conftest.er1 2502 ac_status=$? 2503 grep -v '^ *+' conftest.er1 >conftest.err 2504 rm -f conftest.er1 2505 cat conftest.err >&5 2506 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2507 (exit $ac_status); } && 2508 { ac_try='test -z "$ac_c_werror_flag" 2509 || test ! -s conftest.err' 2510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2511 (eval $ac_try) 2>&5 2512 ac_status=$? 2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2514 (exit $ac_status); }; } && 2515 { ac_try='test -s conftest.$ac_objext' 2516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2517 (eval $ac_try) 2>&5 2518 ac_status=$? 2519 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2520 (exit $ac_status); }; }; then 2521 for ac_declaration in \ 2522 '' \ 2523 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2524 'extern "C" void std::exit (int); using std::exit;' \ 2525 'extern "C" void exit (int) throw ();' \ 2526 'extern "C" void exit (int);' \ 2527 'void exit (int);' 2528do 2529 cat >conftest.$ac_ext <<_ACEOF 2530/* confdefs.h. */ 2531_ACEOF 2532cat confdefs.h >>conftest.$ac_ext 2533cat >>conftest.$ac_ext <<_ACEOF 2534/* end confdefs.h. */ 2535$ac_declaration 2536#include <stdlib.h> 2537int 2538main () 2539{ 2540exit (42); 2541 ; 2542 return 0; 2543} 2544_ACEOF 2545rm -f conftest.$ac_objext 2546if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2547 (eval $ac_compile) 2>conftest.er1 2548 ac_status=$? 2549 grep -v '^ *+' conftest.er1 >conftest.err 2550 rm -f conftest.er1 2551 cat conftest.err >&5 2552 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2553 (exit $ac_status); } && 2554 { ac_try='test -z "$ac_c_werror_flag" 2555 || test ! -s conftest.err' 2556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2557 (eval $ac_try) 2>&5 2558 ac_status=$? 2559 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2560 (exit $ac_status); }; } && 2561 { ac_try='test -s conftest.$ac_objext' 2562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2563 (eval $ac_try) 2>&5 2564 ac_status=$? 2565 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2566 (exit $ac_status); }; }; then 2567 : 2568else 2569 echo "$as_me: failed program was:" >&5 2570sed 's/^/| /' conftest.$ac_ext >&5 2571 2572continue 2573fi 2574rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2575 cat >conftest.$ac_ext <<_ACEOF 2576/* confdefs.h. */ 2577_ACEOF 2578cat confdefs.h >>conftest.$ac_ext 2579cat >>conftest.$ac_ext <<_ACEOF 2580/* end confdefs.h. */ 2581$ac_declaration 2582int 2583main () 2584{ 2585exit (42); 2586 ; 2587 return 0; 2588} 2589_ACEOF 2590rm -f conftest.$ac_objext 2591if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2592 (eval $ac_compile) 2>conftest.er1 2593 ac_status=$? 2594 grep -v '^ *+' conftest.er1 >conftest.err 2595 rm -f conftest.er1 2596 cat conftest.err >&5 2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2598 (exit $ac_status); } && 2599 { ac_try='test -z "$ac_c_werror_flag" 2600 || test ! -s conftest.err' 2601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2602 (eval $ac_try) 2>&5 2603 ac_status=$? 2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2605 (exit $ac_status); }; } && 2606 { ac_try='test -s conftest.$ac_objext' 2607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2608 (eval $ac_try) 2>&5 2609 ac_status=$? 2610 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2611 (exit $ac_status); }; }; then 2612 break 2613else 2614 echo "$as_me: failed program was:" >&5 2615sed 's/^/| /' conftest.$ac_ext >&5 2616 2617fi 2618rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2619done 2620rm -f conftest* 2621if test -n "$ac_declaration"; then 2622 echo '#ifdef __cplusplus' >>confdefs.h 2623 echo $ac_declaration >>confdefs.h 2624 echo '#endif' >>confdefs.h 2625fi 2626 2627else 2628 echo "$as_me: failed program was:" >&5 2629sed 's/^/| /' conftest.$ac_ext >&5 2630 2631fi 2632rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2633ac_ext=c 2634ac_cpp='$CPP $CPPFLAGS' 2635ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2636ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2637ac_compiler_gnu=$ac_cv_c_compiler_gnu 2638DEPDIR="${am__leading_dot}deps" 2639 2640 ac_config_commands="$ac_config_commands depfiles" 2641 2642 2643am_make=${MAKE-make} 2644cat > confinc << 'END' 2645am__doit: 2646 @echo done 2647.PHONY: am__doit 2648END 2649# If we don't find an include directive, just comment out the code. 2650echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 2651echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 2652am__include="#" 2653am__quote= 2654_am_result=none 2655# First try GNU make style include. 2656echo "include confinc" > confmf 2657# We grep out `Entering directory' and `Leaving directory' 2658# messages which can occur if `w' ends up in MAKEFLAGS. 2659# In particular we don't look at `^make:' because GNU make might 2660# be invoked under some other name (usually "gmake"), in which 2661# case it prints its new name instead of `make'. 2662if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 2663 am__include=include 2664 am__quote= 2665 _am_result=GNU 2666fi 2667# Now try BSD make style include. 2668if test "$am__include" = "#"; then 2669 echo '.include "confinc"' > confmf 2670 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 2671 am__include=.include 2672 am__quote="\"" 2673 _am_result=BSD 2674 fi 2675fi 2676 2677 2678echo "$as_me:$LINENO: result: $_am_result" >&5 2679echo "${ECHO_T}$_am_result" >&6 2680rm -f confinc confmf 2681 2682# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. 2683if test "${enable_dependency_tracking+set}" = set; then 2684 enableval="$enable_dependency_tracking" 2685 2686fi; 2687if test "x$enable_dependency_tracking" != xno; then 2688 am_depcomp="$ac_aux_dir/depcomp" 2689 AMDEPBACKSLASH='\' 2690fi 2691 2692 2693if test "x$enable_dependency_tracking" != xno; then 2694 AMDEP_TRUE= 2695 AMDEP_FALSE='#' 2696else 2697 AMDEP_TRUE='#' 2698 AMDEP_FALSE= 2699fi 2700 2701 2702 2703 2704depcc="$CC" am_compiler_list= 2705 2706echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 2707echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 2708if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 2709 echo $ECHO_N "(cached) $ECHO_C" >&6 2710else 2711 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 2712 # We make a subdir and do the tests there. Otherwise we can end up 2713 # making bogus files that we don't know about and never remove. For 2714 # instance it was reported that on HP-UX the gcc test will end up 2715 # making a dummy file named `D' -- because `-MD' means `put the output 2716 # in D'. 2717 mkdir conftest.dir 2718 # Copy depcomp to subdir because otherwise we won't find it if we're 2719 # using a relative directory. 2720 cp "$am_depcomp" conftest.dir 2721 cd conftest.dir 2722 # We will build objects and dependencies in a subdirectory because 2723 # it helps to detect inapplicable dependency modes. For instance 2724 # both Tru64's cc and ICC support -MD to output dependencies as a 2725 # side effect of compilation, but ICC will put the dependencies in 2726 # the current directory while Tru64 will put them in the object 2727 # directory. 2728 mkdir sub 2729 2730 am_cv_CC_dependencies_compiler_type=none 2731 if test "$am_compiler_list" = ""; then 2732 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 2733 fi 2734 for depmode in $am_compiler_list; do 2735 # Setup a source with many dependencies, because some compilers 2736 # like to wrap large dependency lists on column 80 (with \), and 2737 # we should not choose a depcomp mode which is confused by this. 2738 # 2739 # We need to recreate these files for each test, as the compiler may 2740 # overwrite some of them when testing with obscure command lines. 2741 # This happens at least with the AIX C compiler. 2742 : > sub/conftest.c 2743 for i in 1 2 3 4 5 6; do 2744 echo '#include "conftst'$i'.h"' >> sub/conftest.c 2745 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 2746 # Solaris 8's {/usr,}/bin/sh. 2747 touch sub/conftst$i.h 2748 done 2749 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 2750 2751 case $depmode in 2752 nosideeffect) 2753 # after this tag, mechanisms are not by side-effect, so they'll 2754 # only be used when explicitly requested 2755 if test "x$enable_dependency_tracking" = xyes; then 2756 continue 2757 else 2758 break 2759 fi 2760 ;; 2761 none) break ;; 2762 esac 2763 # We check with `-c' and `-o' for the sake of the "dashmstdout" 2764 # mode. It turns out that the SunPro C++ compiler does not properly 2765 # handle `-M -o', and we need to detect this. 2766 if depmode=$depmode \ 2767 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 2768 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 2769 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 2770 >/dev/null 2>conftest.err && 2771 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 2772 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 2773 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 2774 # icc doesn't choke on unknown options, it will just issue warnings 2775 # or remarks (even with -Werror). So we grep stderr for any message 2776 # that says an option was ignored or not supported. 2777 # When given -MP, icc 7.0 and 7.1 complain thusly: 2778 # icc: Command line warning: ignoring option '-M'; no argument required 2779 # The diagnosis changed in icc 8.0: 2780 # icc: Command line remark: option '-MP' not supported 2781 if (grep 'ignoring option' conftest.err || 2782 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 2783 am_cv_CC_dependencies_compiler_type=$depmode 2784 break 2785 fi 2786 fi 2787 done 2788 2789 cd .. 2790 rm -rf conftest.dir 2791else 2792 am_cv_CC_dependencies_compiler_type=none 2793fi 2794 2795fi 2796echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 2797echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 2798CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 2799 2800 2801 2802if 2803 test "x$enable_dependency_tracking" != xno \ 2804 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 2805 am__fastdepCC_TRUE= 2806 am__fastdepCC_FALSE='#' 2807else 2808 am__fastdepCC_TRUE='#' 2809 am__fastdepCC_FALSE= 2810fi 2811 2812 2813 2814 if test "X$prefix" = "XNONE"; then 2815 acl_final_prefix="$ac_default_prefix" 2816 else 2817 acl_final_prefix="$prefix" 2818 fi 2819 if test "X$exec_prefix" = "XNONE"; then 2820 acl_final_exec_prefix='${prefix}' 2821 else 2822 acl_final_exec_prefix="$exec_prefix" 2823 fi 2824 acl_save_prefix="$prefix" 2825 prefix="$acl_final_prefix" 2826 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 2827 prefix="$acl_save_prefix" 2828 2829# Make sure we can run config.sub. 2830$ac_config_sub sun4 >/dev/null 2>&1 || 2831 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 2832echo "$as_me: error: cannot run $ac_config_sub" >&2;} 2833 { (exit 1); exit 1; }; } 2834 2835echo "$as_me:$LINENO: checking build system type" >&5 2836echo $ECHO_N "checking build system type... $ECHO_C" >&6 2837if test "${ac_cv_build+set}" = set; then 2838 echo $ECHO_N "(cached) $ECHO_C" >&6 2839else 2840 ac_cv_build_alias=$build_alias 2841test -z "$ac_cv_build_alias" && 2842 ac_cv_build_alias=`$ac_config_guess` 2843test -z "$ac_cv_build_alias" && 2844 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 2845echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 2846 { (exit 1); exit 1; }; } 2847ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 2848 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 2849echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 2850 { (exit 1); exit 1; }; } 2851 2852fi 2853echo "$as_me:$LINENO: result: $ac_cv_build" >&5 2854echo "${ECHO_T}$ac_cv_build" >&6 2855build=$ac_cv_build 2856build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2857build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2858build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2859 2860 2861echo "$as_me:$LINENO: checking host system type" >&5 2862echo $ECHO_N "checking host system type... $ECHO_C" >&6 2863if test "${ac_cv_host+set}" = set; then 2864 echo $ECHO_N "(cached) $ECHO_C" >&6 2865else 2866 ac_cv_host_alias=$host_alias 2867test -z "$ac_cv_host_alias" && 2868 ac_cv_host_alias=$ac_cv_build_alias 2869ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 2870 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 2871echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 2872 { (exit 1); exit 1; }; } 2873 2874fi 2875echo "$as_me:$LINENO: result: $ac_cv_host" >&5 2876echo "${ECHO_T}$ac_cv_host" >&6 2877host=$ac_cv_host 2878host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2879host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2880host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2881 2882 2883 2884# Check whether --with-gnu-ld or --without-gnu-ld was given. 2885if test "${with_gnu_ld+set}" = set; then 2886 withval="$with_gnu_ld" 2887 test "$withval" = no || with_gnu_ld=yes 2888else 2889 with_gnu_ld=no 2890fi; 2891# Prepare PATH_SEPARATOR. 2892# The user is always right. 2893if test "${PATH_SEPARATOR+set}" != set; then 2894 echo "#! /bin/sh" >conf$$.sh 2895 echo "exit 0" >>conf$$.sh 2896 chmod +x conf$$.sh 2897 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 2898 PATH_SEPARATOR=';' 2899 else 2900 PATH_SEPARATOR=: 2901 fi 2902 rm -f conf$$.sh 2903fi 2904ac_prog=ld 2905if test "$GCC" = yes; then 2906 # Check if gcc -print-prog-name=ld gives a path. 2907 echo "$as_me:$LINENO: checking for ld used by GCC" >&5 2908echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 2909 case $host in 2910 *-*-mingw*) 2911 # gcc leaves a trailing carriage return which upsets mingw 2912 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 2913 *) 2914 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 2915 esac 2916 case $ac_prog in 2917 # Accept absolute paths. 2918 [\\/]* | [A-Za-z]:[\\/]*) 2919 re_direlt='/[^/][^/]*/\.\./' 2920 # Canonicalize the path of ld 2921 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` 2922 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do 2923 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` 2924 done 2925 test -z "$LD" && LD="$ac_prog" 2926 ;; 2927 "") 2928 # If it fails, then pretend we aren't using GCC. 2929 ac_prog=ld 2930 ;; 2931 *) 2932 # If it is relative, then search for the first ld in PATH. 2933 with_gnu_ld=unknown 2934 ;; 2935 esac 2936elif test "$with_gnu_ld" = yes; then 2937 echo "$as_me:$LINENO: checking for GNU ld" >&5 2938echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 2939else 2940 echo "$as_me:$LINENO: checking for non-GNU ld" >&5 2941echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 2942fi 2943if test "${acl_cv_path_LD+set}" = set; then 2944 echo $ECHO_N "(cached) $ECHO_C" >&6 2945else 2946 if test -z "$LD"; then 2947 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 2948 for ac_dir in $PATH; do 2949 test -z "$ac_dir" && ac_dir=. 2950 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 2951 acl_cv_path_LD="$ac_dir/$ac_prog" 2952 # Check to see if the program is GNU ld. I'd rather use --version, 2953 # but apparently some GNU ld's only accept -v. 2954 # Break only if it was the GNU/non-GNU ld that we prefer. 2955 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in 2956 *GNU* | *'with BFD'*) 2957 test "$with_gnu_ld" != no && break ;; 2958 *) 2959 test "$with_gnu_ld" != yes && break ;; 2960 esac 2961 fi 2962 done 2963 IFS="$ac_save_ifs" 2964else 2965 acl_cv_path_LD="$LD" # Let the user override the test with a path. 2966fi 2967fi 2968 2969LD="$acl_cv_path_LD" 2970if test -n "$LD"; then 2971 echo "$as_me:$LINENO: result: $LD" >&5 2972echo "${ECHO_T}$LD" >&6 2973else 2974 echo "$as_me:$LINENO: result: no" >&5 2975echo "${ECHO_T}no" >&6 2976fi 2977test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 2978echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 2979 { (exit 1); exit 1; }; } 2980echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 2981echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 2982if test "${acl_cv_prog_gnu_ld+set}" = set; then 2983 echo $ECHO_N "(cached) $ECHO_C" >&6 2984else 2985 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 2986case `$LD -v 2>&1 </dev/null` in 2987*GNU* | *'with BFD'*) 2988 acl_cv_prog_gnu_ld=yes ;; 2989*) 2990 acl_cv_prog_gnu_ld=no ;; 2991esac 2992fi 2993echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5 2994echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6 2995with_gnu_ld=$acl_cv_prog_gnu_ld 2996 2997 2998 2999 3000 echo "$as_me:$LINENO: checking for shared library run path origin" >&5 3001echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6 3002if test "${acl_cv_rpath+set}" = set; then 3003 echo $ECHO_N "(cached) $ECHO_C" >&6 3004else 3005 3006 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 3007 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 3008 . ./conftest.sh 3009 rm -f ./conftest.sh 3010 acl_cv_rpath=done 3011 3012fi 3013echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5 3014echo "${ECHO_T}$acl_cv_rpath" >&6 3015 wl="$acl_cv_wl" 3016 libext="$acl_cv_libext" 3017 shlibext="$acl_cv_shlibext" 3018 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 3019 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 3020 hardcode_direct="$acl_cv_hardcode_direct" 3021 hardcode_minus_L="$acl_cv_hardcode_minus_L" 3022 # Check whether --enable-rpath or --disable-rpath was given. 3023if test "${enable_rpath+set}" = set; then 3024 enableval="$enable_rpath" 3025 : 3026else 3027 enable_rpath=yes 3028fi; 3029 3030 3031 3032 3033 3034 3035 echo "$as_me:$LINENO: checking how to link with librpathx" >&5 3036echo $ECHO_N "checking how to link with librpathx... $ECHO_C" >&6 3037if test "${ac_cv_librpathx_libs+set}" = set; then 3038 echo $ECHO_N "(cached) $ECHO_C" >&6 3039else 3040 3041 3042 3043 use_additional=yes 3044 3045 acl_save_prefix="$prefix" 3046 prefix="$acl_final_prefix" 3047 acl_save_exec_prefix="$exec_prefix" 3048 exec_prefix="$acl_final_exec_prefix" 3049 3050 eval additional_includedir=\"$includedir\" 3051 eval additional_libdir=\"$libdir\" 3052 3053 exec_prefix="$acl_save_exec_prefix" 3054 prefix="$acl_save_prefix" 3055 3056 3057# Check whether --with-librpathx-prefix or --without-librpathx-prefix was given. 3058if test "${with_librpathx_prefix+set}" = set; then 3059 withval="$with_librpathx_prefix" 3060 3061 if test "X$withval" = "Xno"; then 3062 use_additional=no 3063 else 3064 if test "X$withval" = "X"; then 3065 3066 acl_save_prefix="$prefix" 3067 prefix="$acl_final_prefix" 3068 acl_save_exec_prefix="$exec_prefix" 3069 exec_prefix="$acl_final_exec_prefix" 3070 3071 eval additional_includedir=\"$includedir\" 3072 eval additional_libdir=\"$libdir\" 3073 3074 exec_prefix="$acl_save_exec_prefix" 3075 prefix="$acl_save_prefix" 3076 3077 else 3078 additional_includedir="$withval/include" 3079 additional_libdir="$withval/lib" 3080 fi 3081 fi 3082 3083fi; 3084 LIBRPATHX= 3085 LTLIBRPATHX= 3086 INCRPATHX= 3087 rpathdirs= 3088 ltrpathdirs= 3089 names_already_handled= 3090 names_next_round='rpathx ' 3091 while test -n "$names_next_round"; do 3092 names_this_round="$names_next_round" 3093 names_next_round= 3094 for name in $names_this_round; do 3095 already_handled= 3096 for n in $names_already_handled; do 3097 if test "$n" = "$name"; then 3098 already_handled=yes 3099 break 3100 fi 3101 done 3102 if test -z "$already_handled"; then 3103 names_already_handled="$names_already_handled $name" 3104 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 3105 eval value=\"\$HAVE_LIB$uppername\" 3106 if test -n "$value"; then 3107 if test "$value" = yes; then 3108 eval value=\"\$LIB$uppername\" 3109 test -z "$value" || LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$value" 3110 eval value=\"\$LTLIB$uppername\" 3111 test -z "$value" || LTLIBRPATHX="${LTLIBRPATHX}${LTLIBRPATHX:+ }$value" 3112 else 3113 : 3114 fi 3115 else 3116 found_dir= 3117 found_la= 3118 found_so= 3119 found_a= 3120 if test $use_additional = yes; then 3121 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then 3122 found_dir="$additional_libdir" 3123 found_so="$additional_libdir/lib$name.$shlibext" 3124 if test -f "$additional_libdir/lib$name.la"; then 3125 found_la="$additional_libdir/lib$name.la" 3126 fi 3127 else 3128 if test -f "$additional_libdir/lib$name.$libext"; then 3129 found_dir="$additional_libdir" 3130 found_a="$additional_libdir/lib$name.$libext" 3131 if test -f "$additional_libdir/lib$name.la"; then 3132 found_la="$additional_libdir/lib$name.la" 3133 fi 3134 fi 3135 fi 3136 fi 3137 if test "X$found_dir" = "X"; then 3138 for x in $LDFLAGS $LTLIBRPATHX; do 3139 3140 acl_save_prefix="$prefix" 3141 prefix="$acl_final_prefix" 3142 acl_save_exec_prefix="$exec_prefix" 3143 exec_prefix="$acl_final_exec_prefix" 3144 eval x=\"$x\" 3145 exec_prefix="$acl_save_exec_prefix" 3146 prefix="$acl_save_prefix" 3147 3148 case "$x" in 3149 -L*) 3150 dir=`echo "X$x" | sed -e 's/^X-L//'` 3151 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then 3152 found_dir="$dir" 3153 found_so="$dir/lib$name.$shlibext" 3154 if test -f "$dir/lib$name.la"; then 3155 found_la="$dir/lib$name.la" 3156 fi 3157 else 3158 if test -f "$dir/lib$name.$libext"; then 3159 found_dir="$dir" 3160 found_a="$dir/lib$name.$libext" 3161 if test -f "$dir/lib$name.la"; then 3162 found_la="$dir/lib$name.la" 3163 fi 3164 fi 3165 fi 3166 ;; 3167 esac 3168 if test "X$found_dir" != "X"; then 3169 break 3170 fi 3171 done 3172 fi 3173 if test "X$found_dir" != "X"; then 3174 LTLIBRPATHX="${LTLIBRPATHX}${LTLIBRPATHX:+ }-L$found_dir -l$name" 3175 if test "X$found_so" != "X"; then 3176 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then 3177 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$found_so" 3178 else 3179 haveit= 3180 for x in $ltrpathdirs; do 3181 if test "X$x" = "X$found_dir"; then 3182 haveit=yes 3183 break 3184 fi 3185 done 3186 if test -z "$haveit"; then 3187 ltrpathdirs="$ltrpathdirs $found_dir" 3188 fi 3189 if test "$hardcode_direct" = yes; then 3190 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$found_so" 3191 else 3192 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then 3193 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$found_so" 3194 haveit= 3195 for x in $rpathdirs; do 3196 if test "X$x" = "X$found_dir"; then 3197 haveit=yes 3198 break 3199 fi 3200 done 3201 if test -z "$haveit"; then 3202 rpathdirs="$rpathdirs $found_dir" 3203 fi 3204 else 3205 haveit= 3206 for x in $LDFLAGS $LIBRPATHX; do 3207 3208 acl_save_prefix="$prefix" 3209 prefix="$acl_final_prefix" 3210 acl_save_exec_prefix="$exec_prefix" 3211 exec_prefix="$acl_final_exec_prefix" 3212 eval x=\"$x\" 3213 exec_prefix="$acl_save_exec_prefix" 3214 prefix="$acl_save_prefix" 3215 3216 if test "X$x" = "X-L$found_dir"; then 3217 haveit=yes 3218 break 3219 fi 3220 done 3221 if test -z "$haveit"; then 3222 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }-L$found_dir" 3223 fi 3224 if test "$hardcode_minus_L" != no; then 3225 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$found_so" 3226 else 3227 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }-l$name" 3228 fi 3229 fi 3230 fi 3231 fi 3232 else 3233 if test "X$found_a" != "X"; then 3234 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$found_a" 3235 else 3236 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }-L$found_dir -l$name" 3237 fi 3238 fi 3239 additional_includedir= 3240 case "$found_dir" in 3241 */lib | */lib/) 3242 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` 3243 additional_includedir="$basedir/include" 3244 ;; 3245 esac 3246 if test "X$additional_includedir" != "X"; then 3247 if test "X$additional_includedir" != "X/usr/include"; then 3248 haveit= 3249 if test "X$additional_includedir" = "X/usr/local/include"; then 3250 if test -n "$GCC"; then 3251 case $host_os in 3252 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 3253 esac 3254 fi 3255 fi 3256 if test -z "$haveit"; then 3257 for x in $CPPFLAGS $INCRPATHX; do 3258 3259 acl_save_prefix="$prefix" 3260 prefix="$acl_final_prefix" 3261 acl_save_exec_prefix="$exec_prefix" 3262 exec_prefix="$acl_final_exec_prefix" 3263 eval x=\"$x\" 3264 exec_prefix="$acl_save_exec_prefix" 3265 prefix="$acl_save_prefix" 3266 3267 if test "X$x" = "X-I$additional_includedir"; then 3268 haveit=yes 3269 break 3270 fi 3271 done 3272 if test -z "$haveit"; then 3273 if test -d "$additional_includedir"; then 3274 INCRPATHX="${INCRPATHX}${INCRPATHX:+ }-I$additional_includedir" 3275 fi 3276 fi 3277 fi 3278 fi 3279 fi 3280 if test -n "$found_la"; then 3281 save_libdir="$libdir" 3282 case "$found_la" in 3283 */* | *\\*) . "$found_la" ;; 3284 *) . "./$found_la" ;; 3285 esac 3286 libdir="$save_libdir" 3287 for dep in $dependency_libs; do 3288 case "$dep" in 3289 -L*) 3290 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 3291 if test "X$additional_libdir" != "X/usr/lib"; then 3292 haveit= 3293 if test "X$additional_libdir" = "X/usr/local/lib"; then 3294 if test -n "$GCC"; then 3295 case $host_os in 3296 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 3297 esac 3298 fi 3299 fi 3300 if test -z "$haveit"; then 3301 haveit= 3302 for x in $LDFLAGS $LIBRPATHX; do 3303 3304 acl_save_prefix="$prefix" 3305 prefix="$acl_final_prefix" 3306 acl_save_exec_prefix="$exec_prefix" 3307 exec_prefix="$acl_final_exec_prefix" 3308 eval x=\"$x\" 3309 exec_prefix="$acl_save_exec_prefix" 3310 prefix="$acl_save_prefix" 3311 3312 if test "X$x" = "X-L$additional_libdir"; then 3313 haveit=yes 3314 break 3315 fi 3316 done 3317 if test -z "$haveit"; then 3318 if test -d "$additional_libdir"; then 3319 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }-L$additional_libdir" 3320 fi 3321 fi 3322 haveit= 3323 for x in $LDFLAGS $LTLIBRPATHX; do 3324 3325 acl_save_prefix="$prefix" 3326 prefix="$acl_final_prefix" 3327 acl_save_exec_prefix="$exec_prefix" 3328 exec_prefix="$acl_final_exec_prefix" 3329 eval x=\"$x\" 3330 exec_prefix="$acl_save_exec_prefix" 3331 prefix="$acl_save_prefix" 3332 3333 if test "X$x" = "X-L$additional_libdir"; then 3334 haveit=yes 3335 break 3336 fi 3337 done 3338 if test -z "$haveit"; then 3339 if test -d "$additional_libdir"; then 3340 LTLIBRPATHX="${LTLIBRPATHX}${LTLIBRPATHX:+ }-L$additional_libdir" 3341 fi 3342 fi 3343 fi 3344 fi 3345 ;; 3346 -R*) 3347 dir=`echo "X$dep" | sed -e 's/^X-R//'` 3348 if test "$enable_rpath" != no; then 3349 haveit= 3350 for x in $rpathdirs; do 3351 if test "X$x" = "X$dir"; then 3352 haveit=yes 3353 break 3354 fi 3355 done 3356 if test -z "$haveit"; then 3357 rpathdirs="$rpathdirs $dir" 3358 fi 3359 haveit= 3360 for x in $ltrpathdirs; do 3361 if test "X$x" = "X$dir"; then 3362 haveit=yes 3363 break 3364 fi 3365 done 3366 if test -z "$haveit"; then 3367 ltrpathdirs="$ltrpathdirs $dir" 3368 fi 3369 fi 3370 ;; 3371 -l*) 3372 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 3373 ;; 3374 *.la) 3375 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 3376 ;; 3377 *) 3378 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$dep" 3379 LTLIBRPATHX="${LTLIBRPATHX}${LTLIBRPATHX:+ }$dep" 3380 ;; 3381 esac 3382 done 3383 fi 3384 else 3385 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }-l$name" 3386 LTLIBRPATHX="${LTLIBRPATHX}${LTLIBRPATHX:+ }-l$name" 3387 fi 3388 fi 3389 fi 3390 done 3391 done 3392 if test "X$rpathdirs" != "X"; then 3393 if test -n "$hardcode_libdir_separator"; then 3394 alldirs= 3395 for found_dir in $rpathdirs; do 3396 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" 3397 done 3398 acl_save_libdir="$libdir" 3399 libdir="$alldirs" 3400 eval flag=\"$hardcode_libdir_flag_spec\" 3401 libdir="$acl_save_libdir" 3402 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$flag" 3403 else 3404 for found_dir in $rpathdirs; do 3405 acl_save_libdir="$libdir" 3406 libdir="$found_dir" 3407 eval flag=\"$hardcode_libdir_flag_spec\" 3408 libdir="$acl_save_libdir" 3409 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$flag" 3410 done 3411 fi 3412 fi 3413 if test "X$ltrpathdirs" != "X"; then 3414 for found_dir in $ltrpathdirs; do 3415 LTLIBRPATHX="${LTLIBRPATHX}${LTLIBRPATHX:+ }-R$found_dir" 3416 done 3417 fi 3418 3419 ac_cv_librpathx_libs="$LIBRPATHX" 3420 ac_cv_librpathx_ltlibs="$LTLIBRPATHX" 3421 ac_cv_librpathx_cppflags="$INCRPATHX" 3422 3423fi 3424echo "$as_me:$LINENO: result: $ac_cv_librpathx_libs" >&5 3425echo "${ECHO_T}$ac_cv_librpathx_libs" >&6 3426 LIBRPATHX="$ac_cv_librpathx_libs" 3427 LTLIBRPATHX="$ac_cv_librpathx_ltlibs" 3428 INCRPATHX="$ac_cv_librpathx_cppflags" 3429 3430 for element in $INCRPATHX; do 3431 haveit= 3432 for x in $CPPFLAGS; do 3433 3434 acl_save_prefix="$prefix" 3435 prefix="$acl_final_prefix" 3436 acl_save_exec_prefix="$exec_prefix" 3437 exec_prefix="$acl_final_exec_prefix" 3438 eval x=\"$x\" 3439 exec_prefix="$acl_save_exec_prefix" 3440 prefix="$acl_save_prefix" 3441 3442 if test "X$x" = "X$element"; then 3443 haveit=yes 3444 break 3445 fi 3446 done 3447 if test -z "$haveit"; then 3448 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 3449 fi 3450 done 3451 3452 3453 3454 HAVE_LIBRPATHX=yes 3455 3456 3457 3458 3459 3460 3461 3462 3463 echo "$as_me:$LINENO: checking how to link with librpathy" >&5 3464echo $ECHO_N "checking how to link with librpathy... $ECHO_C" >&6 3465if test "${ac_cv_librpathy_libs+set}" = set; then 3466 echo $ECHO_N "(cached) $ECHO_C" >&6 3467else 3468 3469 3470 3471 use_additional=yes 3472 3473 acl_save_prefix="$prefix" 3474 prefix="$acl_final_prefix" 3475 acl_save_exec_prefix="$exec_prefix" 3476 exec_prefix="$acl_final_exec_prefix" 3477 3478 eval additional_includedir=\"$includedir\" 3479 eval additional_libdir=\"$libdir\" 3480 3481 exec_prefix="$acl_save_exec_prefix" 3482 prefix="$acl_save_prefix" 3483 3484 3485# Check whether --with-librpathy-prefix or --without-librpathy-prefix was given. 3486if test "${with_librpathy_prefix+set}" = set; then 3487 withval="$with_librpathy_prefix" 3488 3489 if test "X$withval" = "Xno"; then 3490 use_additional=no 3491 else 3492 if test "X$withval" = "X"; then 3493 3494 acl_save_prefix="$prefix" 3495 prefix="$acl_final_prefix" 3496 acl_save_exec_prefix="$exec_prefix" 3497 exec_prefix="$acl_final_exec_prefix" 3498 3499 eval additional_includedir=\"$includedir\" 3500 eval additional_libdir=\"$libdir\" 3501 3502 exec_prefix="$acl_save_exec_prefix" 3503 prefix="$acl_save_prefix" 3504 3505 else 3506 additional_includedir="$withval/include" 3507 additional_libdir="$withval/lib" 3508 fi 3509 fi 3510 3511fi; 3512 LIBRPATHY= 3513 LTLIBRPATHY= 3514 INCRPATHY= 3515 rpathdirs= 3516 ltrpathdirs= 3517 names_already_handled= 3518 names_next_round='rpathy rpathx' 3519 while test -n "$names_next_round"; do 3520 names_this_round="$names_next_round" 3521 names_next_round= 3522 for name in $names_this_round; do 3523 already_handled= 3524 for n in $names_already_handled; do 3525 if test "$n" = "$name"; then 3526 already_handled=yes 3527 break 3528 fi 3529 done 3530 if test -z "$already_handled"; then 3531 names_already_handled="$names_already_handled $name" 3532 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 3533 eval value=\"\$HAVE_LIB$uppername\" 3534 if test -n "$value"; then 3535 if test "$value" = yes; then 3536 eval value=\"\$LIB$uppername\" 3537 test -z "$value" || LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$value" 3538 eval value=\"\$LTLIB$uppername\" 3539 test -z "$value" || LTLIBRPATHY="${LTLIBRPATHY}${LTLIBRPATHY:+ }$value" 3540 else 3541 : 3542 fi 3543 else 3544 found_dir= 3545 found_la= 3546 found_so= 3547 found_a= 3548 if test $use_additional = yes; then 3549 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then 3550 found_dir="$additional_libdir" 3551 found_so="$additional_libdir/lib$name.$shlibext" 3552 if test -f "$additional_libdir/lib$name.la"; then 3553 found_la="$additional_libdir/lib$name.la" 3554 fi 3555 else 3556 if test -f "$additional_libdir/lib$name.$libext"; then 3557 found_dir="$additional_libdir" 3558 found_a="$additional_libdir/lib$name.$libext" 3559 if test -f "$additional_libdir/lib$name.la"; then 3560 found_la="$additional_libdir/lib$name.la" 3561 fi 3562 fi 3563 fi 3564 fi 3565 if test "X$found_dir" = "X"; then 3566 for x in $LDFLAGS $LTLIBRPATHY; do 3567 3568 acl_save_prefix="$prefix" 3569 prefix="$acl_final_prefix" 3570 acl_save_exec_prefix="$exec_prefix" 3571 exec_prefix="$acl_final_exec_prefix" 3572 eval x=\"$x\" 3573 exec_prefix="$acl_save_exec_prefix" 3574 prefix="$acl_save_prefix" 3575 3576 case "$x" in 3577 -L*) 3578 dir=`echo "X$x" | sed -e 's/^X-L//'` 3579 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then 3580 found_dir="$dir" 3581 found_so="$dir/lib$name.$shlibext" 3582 if test -f "$dir/lib$name.la"; then 3583 found_la="$dir/lib$name.la" 3584 fi 3585 else 3586 if test -f "$dir/lib$name.$libext"; then 3587 found_dir="$dir" 3588 found_a="$dir/lib$name.$libext" 3589 if test -f "$dir/lib$name.la"; then 3590 found_la="$dir/lib$name.la" 3591 fi 3592 fi 3593 fi 3594 ;; 3595 esac 3596 if test "X$found_dir" != "X"; then 3597 break 3598 fi 3599 done 3600 fi 3601 if test "X$found_dir" != "X"; then 3602 LTLIBRPATHY="${LTLIBRPATHY}${LTLIBRPATHY:+ }-L$found_dir -l$name" 3603 if test "X$found_so" != "X"; then 3604 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then 3605 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$found_so" 3606 else 3607 haveit= 3608 for x in $ltrpathdirs; do 3609 if test "X$x" = "X$found_dir"; then 3610 haveit=yes 3611 break 3612 fi 3613 done 3614 if test -z "$haveit"; then 3615 ltrpathdirs="$ltrpathdirs $found_dir" 3616 fi 3617 if test "$hardcode_direct" = yes; then 3618 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$found_so" 3619 else 3620 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then 3621 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$found_so" 3622 haveit= 3623 for x in $rpathdirs; do 3624 if test "X$x" = "X$found_dir"; then 3625 haveit=yes 3626 break 3627 fi 3628 done 3629 if test -z "$haveit"; then 3630 rpathdirs="$rpathdirs $found_dir" 3631 fi 3632 else 3633 haveit= 3634 for x in $LDFLAGS $LIBRPATHY; do 3635 3636 acl_save_prefix="$prefix" 3637 prefix="$acl_final_prefix" 3638 acl_save_exec_prefix="$exec_prefix" 3639 exec_prefix="$acl_final_exec_prefix" 3640 eval x=\"$x\" 3641 exec_prefix="$acl_save_exec_prefix" 3642 prefix="$acl_save_prefix" 3643 3644 if test "X$x" = "X-L$found_dir"; then 3645 haveit=yes 3646 break 3647 fi 3648 done 3649 if test -z "$haveit"; then 3650 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }-L$found_dir" 3651 fi 3652 if test "$hardcode_minus_L" != no; then 3653 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$found_so" 3654 else 3655 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }-l$name" 3656 fi 3657 fi 3658 fi 3659 fi 3660 else 3661 if test "X$found_a" != "X"; then 3662 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$found_a" 3663 else 3664 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }-L$found_dir -l$name" 3665 fi 3666 fi 3667 additional_includedir= 3668 case "$found_dir" in 3669 */lib | */lib/) 3670 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` 3671 additional_includedir="$basedir/include" 3672 ;; 3673 esac 3674 if test "X$additional_includedir" != "X"; then 3675 if test "X$additional_includedir" != "X/usr/include"; then 3676 haveit= 3677 if test "X$additional_includedir" = "X/usr/local/include"; then 3678 if test -n "$GCC"; then 3679 case $host_os in 3680 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 3681 esac 3682 fi 3683 fi 3684 if test -z "$haveit"; then 3685 for x in $CPPFLAGS $INCRPATHY; do 3686 3687 acl_save_prefix="$prefix" 3688 prefix="$acl_final_prefix" 3689 acl_save_exec_prefix="$exec_prefix" 3690 exec_prefix="$acl_final_exec_prefix" 3691 eval x=\"$x\" 3692 exec_prefix="$acl_save_exec_prefix" 3693 prefix="$acl_save_prefix" 3694 3695 if test "X$x" = "X-I$additional_includedir"; then 3696 haveit=yes 3697 break 3698 fi 3699 done 3700 if test -z "$haveit"; then 3701 if test -d "$additional_includedir"; then 3702 INCRPATHY="${INCRPATHY}${INCRPATHY:+ }-I$additional_includedir" 3703 fi 3704 fi 3705 fi 3706 fi 3707 fi 3708 if test -n "$found_la"; then 3709 save_libdir="$libdir" 3710 case "$found_la" in 3711 */* | *\\*) . "$found_la" ;; 3712 *) . "./$found_la" ;; 3713 esac 3714 libdir="$save_libdir" 3715 for dep in $dependency_libs; do 3716 case "$dep" in 3717 -L*) 3718 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 3719 if test "X$additional_libdir" != "X/usr/lib"; then 3720 haveit= 3721 if test "X$additional_libdir" = "X/usr/local/lib"; then 3722 if test -n "$GCC"; then 3723 case $host_os in 3724 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 3725 esac 3726 fi 3727 fi 3728 if test -z "$haveit"; then 3729 haveit= 3730 for x in $LDFLAGS $LIBRPATHY; do 3731 3732 acl_save_prefix="$prefix" 3733 prefix="$acl_final_prefix" 3734 acl_save_exec_prefix="$exec_prefix" 3735 exec_prefix="$acl_final_exec_prefix" 3736 eval x=\"$x\" 3737 exec_prefix="$acl_save_exec_prefix" 3738 prefix="$acl_save_prefix" 3739 3740 if test "X$x" = "X-L$additional_libdir"; then 3741 haveit=yes 3742 break 3743 fi 3744 done 3745 if test -z "$haveit"; then 3746 if test -d "$additional_libdir"; then 3747 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }-L$additional_libdir" 3748 fi 3749 fi 3750 haveit= 3751 for x in $LDFLAGS $LTLIBRPATHY; do 3752 3753 acl_save_prefix="$prefix" 3754 prefix="$acl_final_prefix" 3755 acl_save_exec_prefix="$exec_prefix" 3756 exec_prefix="$acl_final_exec_prefix" 3757 eval x=\"$x\" 3758 exec_prefix="$acl_save_exec_prefix" 3759 prefix="$acl_save_prefix" 3760 3761 if test "X$x" = "X-L$additional_libdir"; then 3762 haveit=yes 3763 break 3764 fi 3765 done 3766 if test -z "$haveit"; then 3767 if test -d "$additional_libdir"; then 3768 LTLIBRPATHY="${LTLIBRPATHY}${LTLIBRPATHY:+ }-L$additional_libdir" 3769 fi 3770 fi 3771 fi 3772 fi 3773 ;; 3774 -R*) 3775 dir=`echo "X$dep" | sed -e 's/^X-R//'` 3776 if test "$enable_rpath" != no; then 3777 haveit= 3778 for x in $rpathdirs; do 3779 if test "X$x" = "X$dir"; then 3780 haveit=yes 3781 break 3782 fi 3783 done 3784 if test -z "$haveit"; then 3785 rpathdirs="$rpathdirs $dir" 3786 fi 3787 haveit= 3788 for x in $ltrpathdirs; do 3789 if test "X$x" = "X$dir"; then 3790 haveit=yes 3791 break 3792 fi 3793 done 3794 if test -z "$haveit"; then 3795 ltrpathdirs="$ltrpathdirs $dir" 3796 fi 3797 fi 3798 ;; 3799 -l*) 3800 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 3801 ;; 3802 *.la) 3803 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 3804 ;; 3805 *) 3806 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$dep" 3807 LTLIBRPATHY="${LTLIBRPATHY}${LTLIBRPATHY:+ }$dep" 3808 ;; 3809 esac 3810 done 3811 fi 3812 else 3813 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }-l$name" 3814 LTLIBRPATHY="${LTLIBRPATHY}${LTLIBRPATHY:+ }-l$name" 3815 fi 3816 fi 3817 fi 3818 done 3819 done 3820 if test "X$rpathdirs" != "X"; then 3821 if test -n "$hardcode_libdir_separator"; then 3822 alldirs= 3823 for found_dir in $rpathdirs; do 3824 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" 3825 done 3826 acl_save_libdir="$libdir" 3827 libdir="$alldirs" 3828 eval flag=\"$hardcode_libdir_flag_spec\" 3829 libdir="$acl_save_libdir" 3830 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$flag" 3831 else 3832 for found_dir in $rpathdirs; do 3833 acl_save_libdir="$libdir" 3834 libdir="$found_dir" 3835 eval flag=\"$hardcode_libdir_flag_spec\" 3836 libdir="$acl_save_libdir" 3837 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$flag" 3838 done 3839 fi 3840 fi 3841 if test "X$ltrpathdirs" != "X"; then 3842 for found_dir in $ltrpathdirs; do 3843 LTLIBRPATHY="${LTLIBRPATHY}${LTLIBRPATHY:+ }-R$found_dir" 3844 done 3845 fi 3846 3847 ac_cv_librpathy_libs="$LIBRPATHY" 3848 ac_cv_librpathy_ltlibs="$LTLIBRPATHY" 3849 ac_cv_librpathy_cppflags="$INCRPATHY" 3850 3851fi 3852echo "$as_me:$LINENO: result: $ac_cv_librpathy_libs" >&5 3853echo "${ECHO_T}$ac_cv_librpathy_libs" >&6 3854 LIBRPATHY="$ac_cv_librpathy_libs" 3855 LTLIBRPATHY="$ac_cv_librpathy_ltlibs" 3856 INCRPATHY="$ac_cv_librpathy_cppflags" 3857 3858 for element in $INCRPATHY; do 3859 haveit= 3860 for x in $CPPFLAGS; do 3861 3862 acl_save_prefix="$prefix" 3863 prefix="$acl_final_prefix" 3864 acl_save_exec_prefix="$exec_prefix" 3865 exec_prefix="$acl_final_exec_prefix" 3866 eval x=\"$x\" 3867 exec_prefix="$acl_save_exec_prefix" 3868 prefix="$acl_save_prefix" 3869 3870 if test "X$x" = "X$element"; then 3871 haveit=yes 3872 break 3873 fi 3874 done 3875 if test -z "$haveit"; then 3876 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 3877 fi 3878 done 3879 3880 3881 3882 HAVE_LIBRPATHY=yes 3883 3884 3885 3886 3887 3888 3889 3890 3891 echo "$as_me:$LINENO: checking how to link with librpathz" >&5 3892echo $ECHO_N "checking how to link with librpathz... $ECHO_C" >&6 3893if test "${ac_cv_librpathz_libs+set}" = set; then 3894 echo $ECHO_N "(cached) $ECHO_C" >&6 3895else 3896 3897 3898 3899 use_additional=yes 3900 3901 acl_save_prefix="$prefix" 3902 prefix="$acl_final_prefix" 3903 acl_save_exec_prefix="$exec_prefix" 3904 exec_prefix="$acl_final_exec_prefix" 3905 3906 eval additional_includedir=\"$includedir\" 3907 eval additional_libdir=\"$libdir\" 3908 3909 exec_prefix="$acl_save_exec_prefix" 3910 prefix="$acl_save_prefix" 3911 3912 3913# Check whether --with-librpathz-prefix or --without-librpathz-prefix was given. 3914if test "${with_librpathz_prefix+set}" = set; then 3915 withval="$with_librpathz_prefix" 3916 3917 if test "X$withval" = "Xno"; then 3918 use_additional=no 3919 else 3920 if test "X$withval" = "X"; then 3921 3922 acl_save_prefix="$prefix" 3923 prefix="$acl_final_prefix" 3924 acl_save_exec_prefix="$exec_prefix" 3925 exec_prefix="$acl_final_exec_prefix" 3926 3927 eval additional_includedir=\"$includedir\" 3928 eval additional_libdir=\"$libdir\" 3929 3930 exec_prefix="$acl_save_exec_prefix" 3931 prefix="$acl_save_prefix" 3932 3933 else 3934 additional_includedir="$withval/include" 3935 additional_libdir="$withval/lib" 3936 fi 3937 fi 3938 3939fi; 3940 LIBRPATHZ= 3941 LTLIBRPATHZ= 3942 INCRPATHZ= 3943 rpathdirs= 3944 ltrpathdirs= 3945 names_already_handled= 3946 names_next_round='rpathz rpathx rpathy' 3947 while test -n "$names_next_round"; do 3948 names_this_round="$names_next_round" 3949 names_next_round= 3950 for name in $names_this_round; do 3951 already_handled= 3952 for n in $names_already_handled; do 3953 if test "$n" = "$name"; then 3954 already_handled=yes 3955 break 3956 fi 3957 done 3958 if test -z "$already_handled"; then 3959 names_already_handled="$names_already_handled $name" 3960 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 3961 eval value=\"\$HAVE_LIB$uppername\" 3962 if test -n "$value"; then 3963 if test "$value" = yes; then 3964 eval value=\"\$LIB$uppername\" 3965 test -z "$value" || LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }$value" 3966 eval value=\"\$LTLIB$uppername\" 3967 test -z "$value" || LTLIBRPATHZ="${LTLIBRPATHZ}${LTLIBRPATHZ:+ }$value" 3968 else 3969 : 3970 fi 3971 else 3972 found_dir= 3973 found_la= 3974 found_so= 3975 found_a= 3976 if test $use_additional = yes; then 3977 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then 3978 found_dir="$additional_libdir" 3979 found_so="$additional_libdir/lib$name.$shlibext" 3980 if test -f "$additional_libdir/lib$name.la"; then 3981 found_la="$additional_libdir/lib$name.la" 3982 fi 3983 else 3984 if test -f "$additional_libdir/lib$name.$libext"; then 3985 found_dir="$additional_libdir" 3986 found_a="$additional_libdir/lib$name.$libext" 3987 if test -f "$additional_libdir/lib$name.la"; then 3988 found_la="$additional_libdir/lib$name.la" 3989 fi 3990 fi 3991 fi 3992 fi 3993 if test "X$found_dir" = "X"; then 3994 for x in $LDFLAGS $LTLIBRPATHZ; do 3995 3996 acl_save_prefix="$prefix" 3997 prefix="$acl_final_prefix" 3998 acl_save_exec_prefix="$exec_prefix" 3999 exec_prefix="$acl_final_exec_prefix" 4000 eval x=\"$x\" 4001 exec_prefix="$acl_save_exec_prefix" 4002 prefix="$acl_save_prefix" 4003 4004 case "$x" in 4005 -L*) 4006 dir=`echo "X$x" | sed -e 's/^X-L//'` 4007 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then 4008 found_dir="$dir" 4009 found_so="$dir/lib$name.$shlibext" 4010 if test -f "$dir/lib$name.la"; then 4011 found_la="$dir/lib$name.la" 4012 fi 4013 else 4014 if test -f "$dir/lib$name.$libext"; then 4015 found_dir="$dir" 4016 found_a="$dir/lib$name.$libext" 4017 if test -f "$dir/lib$name.la"; then 4018 found_la="$dir/lib$name.la" 4019 fi 4020 fi 4021 fi 4022 ;; 4023 esac 4024 if test "X$found_dir" != "X"; then 4025 break 4026 fi 4027 done 4028 fi 4029 if test "X$found_dir" != "X"; then 4030 LTLIBRPATHZ="${LTLIBRPATHZ}${LTLIBRPATHZ:+ }-L$found_dir -l$name" 4031 if test "X$found_so" != "X"; then 4032 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then 4033 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }$found_so" 4034 else 4035 haveit= 4036 for x in $ltrpathdirs; do 4037 if test "X$x" = "X$found_dir"; then 4038 haveit=yes 4039 break 4040 fi 4041 done 4042 if test -z "$haveit"; then 4043 ltrpathdirs="$ltrpathdirs $found_dir" 4044 fi 4045 if test "$hardcode_direct" = yes; then 4046 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }$found_so" 4047 else 4048 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then 4049 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }$found_so" 4050 haveit= 4051 for x in $rpathdirs; do 4052 if test "X$x" = "X$found_dir"; then 4053 haveit=yes 4054 break 4055 fi 4056 done 4057 if test -z "$haveit"; then 4058 rpathdirs="$rpathdirs $found_dir" 4059 fi 4060 else 4061 haveit= 4062 for x in $LDFLAGS $LIBRPATHZ; do 4063 4064 acl_save_prefix="$prefix" 4065 prefix="$acl_final_prefix" 4066 acl_save_exec_prefix="$exec_prefix" 4067 exec_prefix="$acl_final_exec_prefix" 4068 eval x=\"$x\" 4069 exec_prefix="$acl_save_exec_prefix" 4070 prefix="$acl_save_prefix" 4071 4072 if test "X$x" = "X-L$found_dir"; then 4073 haveit=yes 4074 break 4075 fi 4076 done 4077 if test -z "$haveit"; then 4078 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }-L$found_dir" 4079 fi 4080 if test "$hardcode_minus_L" != no; then 4081 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }$found_so" 4082 else 4083 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }-l$name" 4084 fi 4085 fi 4086 fi 4087 fi 4088 else 4089 if test "X$found_a" != "X"; then 4090 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }$found_a" 4091 else 4092 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }-L$found_dir -l$name" 4093 fi 4094 fi 4095 additional_includedir= 4096 case "$found_dir" in 4097 */lib | */lib/) 4098 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` 4099 additional_includedir="$basedir/include" 4100 ;; 4101 esac 4102 if test "X$additional_includedir" != "X"; then 4103 if test "X$additional_includedir" != "X/usr/include"; then 4104 haveit= 4105 if test "X$additional_includedir" = "X/usr/local/include"; then 4106 if test -n "$GCC"; then 4107 case $host_os in 4108 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 4109 esac 4110 fi 4111 fi 4112 if test -z "$haveit"; then 4113 for x in $CPPFLAGS $INCRPATHZ; do 4114 4115 acl_save_prefix="$prefix" 4116 prefix="$acl_final_prefix" 4117 acl_save_exec_prefix="$exec_prefix" 4118 exec_prefix="$acl_final_exec_prefix" 4119 eval x=\"$x\" 4120 exec_prefix="$acl_save_exec_prefix" 4121 prefix="$acl_save_prefix" 4122 4123 if test "X$x" = "X-I$additional_includedir"; then 4124 haveit=yes 4125 break 4126 fi 4127 done 4128 if test -z "$haveit"; then 4129 if test -d "$additional_includedir"; then 4130 INCRPATHZ="${INCRPATHZ}${INCRPATHZ:+ }-I$additional_includedir" 4131 fi 4132 fi 4133 fi 4134 fi 4135 fi 4136 if test -n "$found_la"; then 4137 save_libdir="$libdir" 4138 case "$found_la" in 4139 */* | *\\*) . "$found_la" ;; 4140 *) . "./$found_la" ;; 4141 esac 4142 libdir="$save_libdir" 4143 for dep in $dependency_libs; do 4144 case "$dep" in 4145 -L*) 4146 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 4147 if test "X$additional_libdir" != "X/usr/lib"; then 4148 haveit= 4149 if test "X$additional_libdir" = "X/usr/local/lib"; then 4150 if test -n "$GCC"; then 4151 case $host_os in 4152 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 4153 esac 4154 fi 4155 fi 4156 if test -z "$haveit"; then 4157 haveit= 4158 for x in $LDFLAGS $LIBRPATHZ; do 4159 4160 acl_save_prefix="$prefix" 4161 prefix="$acl_final_prefix" 4162 acl_save_exec_prefix="$exec_prefix" 4163 exec_prefix="$acl_final_exec_prefix" 4164 eval x=\"$x\" 4165 exec_prefix="$acl_save_exec_prefix" 4166 prefix="$acl_save_prefix" 4167 4168 if test "X$x" = "X-L$additional_libdir"; then 4169 haveit=yes 4170 break 4171 fi 4172 done 4173 if test -z "$haveit"; then 4174 if test -d "$additional_libdir"; then 4175 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }-L$additional_libdir" 4176 fi 4177 fi 4178 haveit= 4179 for x in $LDFLAGS $LTLIBRPATHZ; do 4180 4181 acl_save_prefix="$prefix" 4182 prefix="$acl_final_prefix" 4183 acl_save_exec_prefix="$exec_prefix" 4184 exec_prefix="$acl_final_exec_prefix" 4185 eval x=\"$x\" 4186 exec_prefix="$acl_save_exec_prefix" 4187 prefix="$acl_save_prefix" 4188 4189 if test "X$x" = "X-L$additional_libdir"; then 4190 haveit=yes 4191 break 4192 fi 4193 done 4194 if test -z "$haveit"; then 4195 if test -d "$additional_libdir"; then 4196 LTLIBRPATHZ="${LTLIBRPATHZ}${LTLIBRPATHZ:+ }-L$additional_libdir" 4197 fi 4198 fi 4199 fi 4200 fi 4201 ;; 4202 -R*) 4203 dir=`echo "X$dep" | sed -e 's/^X-R//'` 4204 if test "$enable_rpath" != no; then 4205 haveit= 4206 for x in $rpathdirs; do 4207 if test "X$x" = "X$dir"; then 4208 haveit=yes 4209 break 4210 fi 4211 done 4212 if test -z "$haveit"; then 4213 rpathdirs="$rpathdirs $dir" 4214 fi 4215 haveit= 4216 for x in $ltrpathdirs; do 4217 if test "X$x" = "X$dir"; then 4218 haveit=yes 4219 break 4220 fi 4221 done 4222 if test -z "$haveit"; then 4223 ltrpathdirs="$ltrpathdirs $dir" 4224 fi 4225 fi 4226 ;; 4227 -l*) 4228 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 4229 ;; 4230 *.la) 4231 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 4232 ;; 4233 *) 4234 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }$dep" 4235 LTLIBRPATHZ="${LTLIBRPATHZ}${LTLIBRPATHZ:+ }$dep" 4236 ;; 4237 esac 4238 done 4239 fi 4240 else 4241 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }-l$name" 4242 LTLIBRPATHZ="${LTLIBRPATHZ}${LTLIBRPATHZ:+ }-l$name" 4243 fi 4244 fi 4245 fi 4246 done 4247 done 4248 if test "X$rpathdirs" != "X"; then 4249 if test -n "$hardcode_libdir_separator"; then 4250 alldirs= 4251 for found_dir in $rpathdirs; do 4252 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" 4253 done 4254 acl_save_libdir="$libdir" 4255 libdir="$alldirs" 4256 eval flag=\"$hardcode_libdir_flag_spec\" 4257 libdir="$acl_save_libdir" 4258 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }$flag" 4259 else 4260 for found_dir in $rpathdirs; do 4261 acl_save_libdir="$libdir" 4262 libdir="$found_dir" 4263 eval flag=\"$hardcode_libdir_flag_spec\" 4264 libdir="$acl_save_libdir" 4265 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }$flag" 4266 done 4267 fi 4268 fi 4269 if test "X$ltrpathdirs" != "X"; then 4270 for found_dir in $ltrpathdirs; do 4271 LTLIBRPATHZ="${LTLIBRPATHZ}${LTLIBRPATHZ:+ }-R$found_dir" 4272 done 4273 fi 4274 4275 ac_cv_librpathz_libs="$LIBRPATHZ" 4276 ac_cv_librpathz_ltlibs="$LTLIBRPATHZ" 4277 ac_cv_librpathz_cppflags="$INCRPATHZ" 4278 4279fi 4280echo "$as_me:$LINENO: result: $ac_cv_librpathz_libs" >&5 4281echo "${ECHO_T}$ac_cv_librpathz_libs" >&6 4282 LIBRPATHZ="$ac_cv_librpathz_libs" 4283 LTLIBRPATHZ="$ac_cv_librpathz_ltlibs" 4284 INCRPATHZ="$ac_cv_librpathz_cppflags" 4285 4286 for element in $INCRPATHZ; do 4287 haveit= 4288 for x in $CPPFLAGS; do 4289 4290 acl_save_prefix="$prefix" 4291 prefix="$acl_final_prefix" 4292 acl_save_exec_prefix="$exec_prefix" 4293 exec_prefix="$acl_final_exec_prefix" 4294 eval x=\"$x\" 4295 exec_prefix="$acl_save_exec_prefix" 4296 prefix="$acl_save_prefix" 4297 4298 if test "X$x" = "X$element"; then 4299 haveit=yes 4300 break 4301 fi 4302 done 4303 if test -z "$haveit"; then 4304 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 4305 fi 4306 done 4307 4308 4309 4310 HAVE_LIBRPATHZ=yes 4311 4312 4313 4314LIBRPATHZ="$LIBRPATHZ $LIBRPATHY $LIBRPATHX" 4315 4316 ac_config_files="$ac_config_files Makefile" 4317cat >confcache <<\_ACEOF 4318# This file is a shell script that caches the results of configure 4319# tests run on this system so they can be shared between configure 4320# scripts and configure runs, see configure's option --config-cache. 4321# It is not useful on other systems. If it contains results you don't 4322# want to keep, you may remove or edit it. 4323# 4324# config.status only pays attention to the cache file if you give it 4325# the --recheck option to rerun configure. 4326# 4327# `ac_cv_env_foo' variables (set or unset) will be overridden when 4328# loading this file, other *unset* `ac_cv_foo' will be assigned the 4329# following values. 4330 4331_ACEOF 4332 4333# The following way of writing the cache mishandles newlines in values, 4334# but we know of no workaround that is simple, portable, and efficient. 4335# So, don't put newlines in cache variables' values. 4336# Ultrix sh set writes to stderr and can't be redirected directly, 4337# and sets the high bit in the cache file unless we assign to the vars. 4338{ 4339 (set) 2>&1 | 4340 case `(ac_space=' '; set | grep ac_space) 2>&1` in 4341 *ac_space=\ *) 4342 # `set' does not quote correctly, so add quotes (double-quote 4343 # substitution turns \\\\ into \\, and sed turns \\ into \). 4344 sed -n \ 4345 "s/'/'\\\\''/g; 4346 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 4347 ;; 4348 *) 4349 # `set' quotes correctly as required by POSIX, so do not add quotes. 4350 sed -n \ 4351 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 4352 ;; 4353 esac; 4354} | 4355 sed ' 4356 t clear 4357 : clear 4358 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 4359 t end 4360 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4361 : end' >>confcache 4362if diff $cache_file confcache >/dev/null 2>&1; then :; else 4363 if test -w $cache_file; then 4364 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 4365 cat confcache >$cache_file 4366 else 4367 echo "not updating unwritable cache $cache_file" 4368 fi 4369fi 4370rm -f confcache 4371 4372test "x$prefix" = xNONE && prefix=$ac_default_prefix 4373# Let make expand exec_prefix. 4374test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4375 4376# VPATH may cause trouble with some makes, so we remove $(srcdir), 4377# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 4378# trailing colons and then remove the whole line if VPATH becomes empty 4379# (actually we leave an empty line to preserve line numbers). 4380if test "x$srcdir" = x.; then 4381 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 4382s/:*\$(srcdir):*/:/; 4383s/:*\${srcdir}:*/:/; 4384s/:*@srcdir@:*/:/; 4385s/^\([^=]*=[ ]*\):*/\1/; 4386s/:*$//; 4387s/^[^=]*=[ ]*$//; 4388}' 4389fi 4390 4391# Transform confdefs.h into DEFS. 4392# Protect against shell expansion while executing Makefile rules. 4393# Protect against Makefile macro expansion. 4394# 4395# If the first sed substitution is executed (which looks for macros that 4396# take arguments), then we branch to the quote section. Otherwise, 4397# look for a macro that doesn't take arguments. 4398cat >confdef2opt.sed <<\_ACEOF 4399t clear 4400: clear 4401s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g 4402t quote 4403s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g 4404t quote 4405d 4406: quote 4407s,[ `~#$^&*(){}\\|;'"<>?],\\&,g 4408s,\[,\\&,g 4409s,\],\\&,g 4410s,\$,$$,g 4411p 4412_ACEOF 4413# We use echo to avoid assuming a particular line-breaking character. 4414# The extra dot is to prevent the shell from consuming trailing 4415# line-breaks from the sub-command output. A line-break within 4416# single-quotes doesn't work because, if this script is created in a 4417# platform that uses two characters for line-breaks (e.g., DOS), tr 4418# would break. 4419ac_LF_and_DOT=`echo; echo .` 4420DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` 4421rm -f confdef2opt.sed 4422 4423 4424ac_libobjs= 4425ac_ltlibobjs= 4426for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 4427 # 1. Remove the extension, and $U if already installed. 4428 ac_i=`echo "$ac_i" | 4429 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 4430 # 2. Add them. 4431 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 4432 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 4433done 4434LIBOBJS=$ac_libobjs 4435 4436LTLIBOBJS=$ac_ltlibobjs 4437 4438 4439if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 4440 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 4441Usually this means the macro was only invoked conditionally." >&5 4442echo "$as_me: error: conditional \"AMDEP\" was never defined. 4443Usually this means the macro was only invoked conditionally." >&2;} 4444 { (exit 1); exit 1; }; } 4445fi 4446if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 4447 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 4448Usually this means the macro was only invoked conditionally." >&5 4449echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 4450Usually this means the macro was only invoked conditionally." >&2;} 4451 { (exit 1); exit 1; }; } 4452fi 4453 4454: ${CONFIG_STATUS=./config.status} 4455ac_clean_files_save=$ac_clean_files 4456ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4457{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 4458echo "$as_me: creating $CONFIG_STATUS" >&6;} 4459cat >$CONFIG_STATUS <<_ACEOF 4460#! $SHELL 4461# Generated by $as_me. 4462# Run this file to recreate the current configuration. 4463# Compiler output produced by configure, useful for debugging 4464# configure, is in config.log if it exists. 4465 4466debug=false 4467ac_cs_recheck=false 4468ac_cs_silent=false 4469SHELL=\${CONFIG_SHELL-$SHELL} 4470_ACEOF 4471 4472cat >>$CONFIG_STATUS <<\_ACEOF 4473## --------------------- ## 4474## M4sh Initialization. ## 4475## --------------------- ## 4476 4477# Be Bourne compatible 4478if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 4479 emulate sh 4480 NULLCMD=: 4481 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 4482 # is contrary to our usage. Disable this feature. 4483 alias -g '${1+"$@"}'='"$@"' 4484elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 4485 set -o posix 4486fi 4487DUALCASE=1; export DUALCASE # for MKS sh 4488 4489# Support unset when possible. 4490if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4491 as_unset=unset 4492else 4493 as_unset=false 4494fi 4495 4496 4497# Work around bugs in pre-3.0 UWIN ksh. 4498$as_unset ENV MAIL MAILPATH 4499PS1='$ ' 4500PS2='> ' 4501PS4='+ ' 4502 4503# NLS nuisances. 4504for as_var in \ 4505 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 4506 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 4507 LC_TELEPHONE LC_TIME 4508do 4509 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 4510 eval $as_var=C; export $as_var 4511 else 4512 $as_unset $as_var 4513 fi 4514done 4515 4516# Required to use basename. 4517if expr a : '\(a\)' >/dev/null 2>&1; then 4518 as_expr=expr 4519else 4520 as_expr=false 4521fi 4522 4523if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 4524 as_basename=basename 4525else 4526 as_basename=false 4527fi 4528 4529 4530# Name of the executable. 4531as_me=`$as_basename "$0" || 4532$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4533 X"$0" : 'X\(//\)$' \| \ 4534 X"$0" : 'X\(/\)$' \| \ 4535 . : '\(.\)' 2>/dev/null || 4536echo X/"$0" | 4537 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 4538 /^X\/\(\/\/\)$/{ s//\1/; q; } 4539 /^X\/\(\/\).*/{ s//\1/; q; } 4540 s/.*/./; q'` 4541 4542 4543# PATH needs CR, and LINENO needs CR and PATH. 4544# Avoid depending upon Character Ranges. 4545as_cr_letters='abcdefghijklmnopqrstuvwxyz' 4546as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4547as_cr_Letters=$as_cr_letters$as_cr_LETTERS 4548as_cr_digits='0123456789' 4549as_cr_alnum=$as_cr_Letters$as_cr_digits 4550 4551# The user is always right. 4552if test "${PATH_SEPARATOR+set}" != set; then 4553 echo "#! /bin/sh" >conf$$.sh 4554 echo "exit 0" >>conf$$.sh 4555 chmod +x conf$$.sh 4556 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 4557 PATH_SEPARATOR=';' 4558 else 4559 PATH_SEPARATOR=: 4560 fi 4561 rm -f conf$$.sh 4562fi 4563 4564 4565 as_lineno_1=$LINENO 4566 as_lineno_2=$LINENO 4567 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 4568 test "x$as_lineno_1" != "x$as_lineno_2" && 4569 test "x$as_lineno_3" = "x$as_lineno_2" || { 4570 # Find who we are. Look in the path if we contain no path at all 4571 # relative or not. 4572 case $0 in 4573 *[\\/]* ) as_myself=$0 ;; 4574 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4575for as_dir in $PATH 4576do 4577 IFS=$as_save_IFS 4578 test -z "$as_dir" && as_dir=. 4579 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 4580done 4581 4582 ;; 4583 esac 4584 # We did not find ourselves, most probably we were run as `sh COMMAND' 4585 # in which case we are not to be found in the path. 4586 if test "x$as_myself" = x; then 4587 as_myself=$0 4588 fi 4589 if test ! -f "$as_myself"; then 4590 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 4591echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 4592 { (exit 1); exit 1; }; } 4593 fi 4594 case $CONFIG_SHELL in 4595 '') 4596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4597for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 4598do 4599 IFS=$as_save_IFS 4600 test -z "$as_dir" && as_dir=. 4601 for as_base in sh bash ksh sh5; do 4602 case $as_dir in 4603 /*) 4604 if ("$as_dir/$as_base" -c ' 4605 as_lineno_1=$LINENO 4606 as_lineno_2=$LINENO 4607 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 4608 test "x$as_lineno_1" != "x$as_lineno_2" && 4609 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 4610 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 4611 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 4612 CONFIG_SHELL=$as_dir/$as_base 4613 export CONFIG_SHELL 4614 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 4615 fi;; 4616 esac 4617 done 4618done 4619;; 4620 esac 4621 4622 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 4623 # uniformly replaced by the line number. The first 'sed' inserts a 4624 # line-number line before each line; the second 'sed' does the real 4625 # work. The second script uses 'N' to pair each line-number line 4626 # with the numbered line, and appends trailing '-' during 4627 # substitution so that $LINENO is not a special case at line end. 4628 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 4629 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 4630 sed '=' <$as_myself | 4631 sed ' 4632 N 4633 s,$,-, 4634 : loop 4635 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 4636 t loop 4637 s,-$,, 4638 s,^['$as_cr_digits']*\n,, 4639 ' >$as_me.lineno && 4640 chmod +x $as_me.lineno || 4641 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 4642echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 4643 { (exit 1); exit 1; }; } 4644 4645 # Don't try to exec as it changes $[0], causing all sort of problems 4646 # (the dirname of $[0] is not the place where we might find the 4647 # original and so on. Autoconf is especially sensible to this). 4648 . ./$as_me.lineno 4649 # Exit status is that of the last command. 4650 exit 4651} 4652 4653 4654case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 4655 *c*,-n*) ECHO_N= ECHO_C=' 4656' ECHO_T=' ' ;; 4657 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 4658 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 4659esac 4660 4661if expr a : '\(a\)' >/dev/null 2>&1; then 4662 as_expr=expr 4663else 4664 as_expr=false 4665fi 4666 4667rm -f conf$$ conf$$.exe conf$$.file 4668echo >conf$$.file 4669if ln -s conf$$.file conf$$ 2>/dev/null; then 4670 # We could just check for DJGPP; but this test a) works b) is more generic 4671 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 4672 if test -f conf$$.exe; then 4673 # Don't use ln at all; we don't have any links 4674 as_ln_s='cp -p' 4675 else 4676 as_ln_s='ln -s' 4677 fi 4678elif ln conf$$.file conf$$ 2>/dev/null; then 4679 as_ln_s=ln 4680else 4681 as_ln_s='cp -p' 4682fi 4683rm -f conf$$ conf$$.exe conf$$.file 4684 4685if mkdir -p . 2>/dev/null; then 4686 as_mkdir_p=: 4687else 4688 test -d ./-p && rmdir ./-p 4689 as_mkdir_p=false 4690fi 4691 4692as_executable_p="test -f" 4693 4694# Sed expression to map a string onto a valid CPP name. 4695as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 4696 4697# Sed expression to map a string onto a valid variable name. 4698as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 4699 4700 4701# IFS 4702# We need space, tab and new line, in precisely that order. 4703as_nl=' 4704' 4705IFS=" $as_nl" 4706 4707# CDPATH. 4708$as_unset CDPATH 4709 4710exec 6>&1 4711 4712# Open the log real soon, to keep \$[0] and so on meaningful, and to 4713# report actual input values of CONFIG_FILES etc. instead of their 4714# values after options handling. Logging --version etc. is OK. 4715exec 5>>config.log 4716{ 4717 echo 4718 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 4719## Running $as_me. ## 4720_ASBOX 4721} >&5 4722cat >&5 <<_CSEOF 4723 4724This file was extended by $as_me, which was 4725generated by GNU Autoconf 2.59. Invocation command line was 4726 4727 CONFIG_FILES = $CONFIG_FILES 4728 CONFIG_HEADERS = $CONFIG_HEADERS 4729 CONFIG_LINKS = $CONFIG_LINKS 4730 CONFIG_COMMANDS = $CONFIG_COMMANDS 4731 $ $0 $@ 4732 4733_CSEOF 4734echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 4735echo >&5 4736_ACEOF 4737 4738# Files that config.status was made for. 4739if test -n "$ac_config_files"; then 4740 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 4741fi 4742 4743if test -n "$ac_config_headers"; then 4744 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 4745fi 4746 4747if test -n "$ac_config_links"; then 4748 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 4749fi 4750 4751if test -n "$ac_config_commands"; then 4752 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 4753fi 4754 4755cat >>$CONFIG_STATUS <<\_ACEOF 4756 4757ac_cs_usage="\ 4758\`$as_me' instantiates files from templates according to the 4759current configuration. 4760 4761Usage: $0 [OPTIONS] [FILE]... 4762 4763 -h, --help print this help, then exit 4764 -V, --version print version number, then exit 4765 -q, --quiet do not print progress messages 4766 -d, --debug don't remove temporary files 4767 --recheck update $as_me by reconfiguring in the same conditions 4768 --file=FILE[:TEMPLATE] 4769 instantiate the configuration file FILE 4770 4771Configuration files: 4772$config_files 4773 4774Configuration commands: 4775$config_commands 4776 4777Report bugs to <bug-autoconf@gnu.org>." 4778_ACEOF 4779 4780cat >>$CONFIG_STATUS <<_ACEOF 4781ac_cs_version="\\ 4782config.status 4783configured by $0, generated by GNU Autoconf 2.59, 4784 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 4785 4786Copyright (C) 2003 Free Software Foundation, Inc. 4787This config.status script is free software; the Free Software Foundation 4788gives unlimited permission to copy, distribute and modify it." 4789srcdir=$srcdir 4790INSTALL="$INSTALL" 4791_ACEOF 4792 4793cat >>$CONFIG_STATUS <<\_ACEOF 4794# If no file are specified by the user, then we need to provide default 4795# value. By we need to know if files were specified by the user. 4796ac_need_defaults=: 4797while test $# != 0 4798do 4799 case $1 in 4800 --*=*) 4801 ac_option=`expr "x$1" : 'x\([^=]*\)='` 4802 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 4803 ac_shift=: 4804 ;; 4805 -*) 4806 ac_option=$1 4807 ac_optarg=$2 4808 ac_shift=shift 4809 ;; 4810 *) # This is not an option, so the user has probably given explicit 4811 # arguments. 4812 ac_option=$1 4813 ac_need_defaults=false;; 4814 esac 4815 4816 case $ac_option in 4817 # Handling of the options. 4818_ACEOF 4819cat >>$CONFIG_STATUS <<\_ACEOF 4820 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4821 ac_cs_recheck=: ;; 4822 --version | --vers* | -V ) 4823 echo "$ac_cs_version"; exit 0 ;; 4824 --he | --h) 4825 # Conflict between --help and --header 4826 { { echo "$as_me:$LINENO: error: ambiguous option: $1 4827Try \`$0 --help' for more information." >&5 4828echo "$as_me: error: ambiguous option: $1 4829Try \`$0 --help' for more information." >&2;} 4830 { (exit 1); exit 1; }; };; 4831 --help | --hel | -h ) 4832 echo "$ac_cs_usage"; exit 0 ;; 4833 --debug | --d* | -d ) 4834 debug=: ;; 4835 --file | --fil | --fi | --f ) 4836 $ac_shift 4837 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 4838 ac_need_defaults=false;; 4839 --header | --heade | --head | --hea ) 4840 $ac_shift 4841 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 4842 ac_need_defaults=false;; 4843 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4844 | -silent | --silent | --silen | --sile | --sil | --si | --s) 4845 ac_cs_silent=: ;; 4846 4847 # This is an error. 4848 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 4849Try \`$0 --help' for more information." >&5 4850echo "$as_me: error: unrecognized option: $1 4851Try \`$0 --help' for more information." >&2;} 4852 { (exit 1); exit 1; }; } ;; 4853 4854 *) ac_config_targets="$ac_config_targets $1" ;; 4855 4856 esac 4857 shift 4858done 4859 4860ac_configure_extra_args= 4861 4862if $ac_cs_silent; then 4863 exec 6>/dev/null 4864 ac_configure_extra_args="$ac_configure_extra_args --silent" 4865fi 4866 4867_ACEOF 4868cat >>$CONFIG_STATUS <<_ACEOF 4869if \$ac_cs_recheck; then 4870 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 4871 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4872fi 4873 4874_ACEOF 4875 4876cat >>$CONFIG_STATUS <<_ACEOF 4877# 4878# INIT-COMMANDS section. 4879# 4880 4881AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 4882 4883_ACEOF 4884 4885 4886 4887cat >>$CONFIG_STATUS <<\_ACEOF 4888for ac_config_target in $ac_config_targets 4889do 4890 case "$ac_config_target" in 4891 # Handling of arguments. 4892 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 4893 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 4894 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 4895echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 4896 { (exit 1); exit 1; }; };; 4897 esac 4898done 4899 4900# If the user did not use the arguments to specify the items to instantiate, 4901# then the envvar interface is used. Set only those that are not. 4902# We use the long form for the default assignment because of an extremely 4903# bizarre bug on SunOS 4.1.3. 4904if $ac_need_defaults; then 4905 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 4906 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 4907fi 4908 4909# Have a temporary directory for convenience. Make it in the build tree 4910# simply because there is no reason to put it here, and in addition, 4911# creating and moving files from /tmp can sometimes cause problems. 4912# Create a temporary directory, and hook for its removal unless debugging. 4913$debug || 4914{ 4915 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 4916 trap '{ (exit 1); exit 1; }' 1 2 13 15 4917} 4918 4919# Create a (secure) tmp directory for tmp files. 4920 4921{ 4922 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 4923 test -n "$tmp" && test -d "$tmp" 4924} || 4925{ 4926 tmp=./confstat$$-$RANDOM 4927 (umask 077 && mkdir $tmp) 4928} || 4929{ 4930 echo "$me: cannot create a temporary directory in ." >&2 4931 { (exit 1); exit 1; } 4932} 4933 4934_ACEOF 4935 4936cat >>$CONFIG_STATUS <<_ACEOF 4937 4938# 4939# CONFIG_FILES section. 4940# 4941 4942# No need to generate the scripts if there are no CONFIG_FILES. 4943# This happens for instance when ./config.status config.h 4944if test -n "\$CONFIG_FILES"; then 4945 # Protect against being on the right side of a sed subst in config.status. 4946 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 4947 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 4948s,@SHELL@,$SHELL,;t t 4949s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 4950s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 4951s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 4952s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 4953s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 4954s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 4955s,@exec_prefix@,$exec_prefix,;t t 4956s,@prefix@,$prefix,;t t 4957s,@program_transform_name@,$program_transform_name,;t t 4958s,@bindir@,$bindir,;t t 4959s,@sbindir@,$sbindir,;t t 4960s,@libexecdir@,$libexecdir,;t t 4961s,@datadir@,$datadir,;t t 4962s,@sysconfdir@,$sysconfdir,;t t 4963s,@sharedstatedir@,$sharedstatedir,;t t 4964s,@localstatedir@,$localstatedir,;t t 4965s,@libdir@,$libdir,;t t 4966s,@includedir@,$includedir,;t t 4967s,@oldincludedir@,$oldincludedir,;t t 4968s,@infodir@,$infodir,;t t 4969s,@mandir@,$mandir,;t t 4970s,@build_alias@,$build_alias,;t t 4971s,@host_alias@,$host_alias,;t t 4972s,@target_alias@,$target_alias,;t t 4973s,@DEFS@,$DEFS,;t t 4974s,@ECHO_C@,$ECHO_C,;t t 4975s,@ECHO_N@,$ECHO_N,;t t 4976s,@ECHO_T@,$ECHO_T,;t t 4977s,@LIBS@,$LIBS,;t t 4978s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 4979s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 4980s,@INSTALL_DATA@,$INSTALL_DATA,;t t 4981s,@CYGPATH_W@,$CYGPATH_W,;t t 4982s,@PACKAGE@,$PACKAGE,;t t 4983s,@VERSION@,$VERSION,;t t 4984s,@ACLOCAL@,$ACLOCAL,;t t 4985s,@AUTOCONF@,$AUTOCONF,;t t 4986s,@AUTOMAKE@,$AUTOMAKE,;t t 4987s,@AUTOHEADER@,$AUTOHEADER,;t t 4988s,@MAKEINFO@,$MAKEINFO,;t t 4989s,@install_sh@,$install_sh,;t t 4990s,@STRIP@,$STRIP,;t t 4991s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 4992s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 4993s,@mkdir_p@,$mkdir_p,;t t 4994s,@AWK@,$AWK,;t t 4995s,@SET_MAKE@,$SET_MAKE,;t t 4996s,@am__leading_dot@,$am__leading_dot,;t t 4997s,@AMTAR@,$AMTAR,;t t 4998s,@am__tar@,$am__tar,;t t 4999s,@am__untar@,$am__untar,;t t 5000s,@CC@,$CC,;t t 5001s,@CFLAGS@,$CFLAGS,;t t 5002s,@LDFLAGS@,$LDFLAGS,;t t 5003s,@CPPFLAGS@,$CPPFLAGS,;t t 5004s,@ac_ct_CC@,$ac_ct_CC,;t t 5005s,@EXEEXT@,$EXEEXT,;t t 5006s,@OBJEXT@,$OBJEXT,;t t 5007s,@DEPDIR@,$DEPDIR,;t t 5008s,@am__include@,$am__include,;t t 5009s,@am__quote@,$am__quote,;t t 5010s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t 5011s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t 5012s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t 5013s,@CCDEPMODE@,$CCDEPMODE,;t t 5014s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t 5015s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t 5016s,@build@,$build,;t t 5017s,@build_cpu@,$build_cpu,;t t 5018s,@build_vendor@,$build_vendor,;t t 5019s,@build_os@,$build_os,;t t 5020s,@host@,$host,;t t 5021s,@host_cpu@,$host_cpu,;t t 5022s,@host_vendor@,$host_vendor,;t t 5023s,@host_os@,$host_os,;t t 5024s,@LIBRPATHX@,$LIBRPATHX,;t t 5025s,@LTLIBRPATHX@,$LTLIBRPATHX,;t t 5026s,@LIBRPATHY@,$LIBRPATHY,;t t 5027s,@LTLIBRPATHY@,$LTLIBRPATHY,;t t 5028s,@LIBRPATHZ@,$LIBRPATHZ,;t t 5029s,@LTLIBRPATHZ@,$LTLIBRPATHZ,;t t 5030s,@global_top_auxdir@,$global_top_auxdir,;t t 5031s,@LIBOBJS@,$LIBOBJS,;t t 5032s,@LTLIBOBJS@,$LTLIBOBJS,;t t 5033CEOF 5034 5035_ACEOF 5036 5037 cat >>$CONFIG_STATUS <<\_ACEOF 5038 # Split the substitutions into bite-sized pieces for seds with 5039 # small command number limits, like on Digital OSF/1 and HP-UX. 5040 ac_max_sed_lines=48 5041 ac_sed_frag=1 # Number of current file. 5042 ac_beg=1 # First line for current file. 5043 ac_end=$ac_max_sed_lines # Line after last line for current file. 5044 ac_more_lines=: 5045 ac_sed_cmds= 5046 while $ac_more_lines; do 5047 if test $ac_beg -gt 1; then 5048 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 5049 else 5050 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 5051 fi 5052 if test ! -s $tmp/subs.frag; then 5053 ac_more_lines=false 5054 else 5055 # The purpose of the label and of the branching condition is to 5056 # speed up the sed processing (if there are no `@' at all, there 5057 # is no need to browse any of the substitutions). 5058 # These are the two extra sed commands mentioned above. 5059 (echo ':t 5060 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 5061 if test -z "$ac_sed_cmds"; then 5062 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 5063 else 5064 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 5065 fi 5066 ac_sed_frag=`expr $ac_sed_frag + 1` 5067 ac_beg=$ac_end 5068 ac_end=`expr $ac_end + $ac_max_sed_lines` 5069 fi 5070 done 5071 if test -z "$ac_sed_cmds"; then 5072 ac_sed_cmds=cat 5073 fi 5074fi # test -n "$CONFIG_FILES" 5075 5076_ACEOF 5077cat >>$CONFIG_STATUS <<\_ACEOF 5078for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 5079 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 5080 case $ac_file in 5081 - | *:- | *:-:* ) # input from stdin 5082 cat >$tmp/stdin 5083 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 5084 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 5085 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 5086 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 5087 * ) ac_file_in=$ac_file.in ;; 5088 esac 5089 5090 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 5091 ac_dir=`(dirname "$ac_file") 2>/dev/null || 5092$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5093 X"$ac_file" : 'X\(//\)[^/]' \| \ 5094 X"$ac_file" : 'X\(//\)$' \| \ 5095 X"$ac_file" : 'X\(/\)' \| \ 5096 . : '\(.\)' 2>/dev/null || 5097echo X"$ac_file" | 5098 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 5099 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 5100 /^X\(\/\/\)$/{ s//\1/; q; } 5101 /^X\(\/\).*/{ s//\1/; q; } 5102 s/.*/./; q'` 5103 { if $as_mkdir_p; then 5104 mkdir -p "$ac_dir" 5105 else 5106 as_dir="$ac_dir" 5107 as_dirs= 5108 while test ! -d "$as_dir"; do 5109 as_dirs="$as_dir $as_dirs" 5110 as_dir=`(dirname "$as_dir") 2>/dev/null || 5111$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5112 X"$as_dir" : 'X\(//\)[^/]' \| \ 5113 X"$as_dir" : 'X\(//\)$' \| \ 5114 X"$as_dir" : 'X\(/\)' \| \ 5115 . : '\(.\)' 2>/dev/null || 5116echo X"$as_dir" | 5117 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 5118 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 5119 /^X\(\/\/\)$/{ s//\1/; q; } 5120 /^X\(\/\).*/{ s//\1/; q; } 5121 s/.*/./; q'` 5122 done 5123 test ! -n "$as_dirs" || mkdir $as_dirs 5124 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 5125echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 5126 { (exit 1); exit 1; }; }; } 5127 5128 ac_builddir=. 5129 5130if test "$ac_dir" != .; then 5131 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 5132 # A "../" for each directory in $ac_dir_suffix. 5133 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 5134else 5135 ac_dir_suffix= ac_top_builddir= 5136fi 5137 5138case $srcdir in 5139 .) # No --srcdir option. We are building in place. 5140 ac_srcdir=. 5141 if test -z "$ac_top_builddir"; then 5142 ac_top_srcdir=. 5143 else 5144 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 5145 fi ;; 5146 [\\/]* | ?:[\\/]* ) # Absolute path. 5147 ac_srcdir=$srcdir$ac_dir_suffix; 5148 ac_top_srcdir=$srcdir ;; 5149 *) # Relative path. 5150 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 5151 ac_top_srcdir=$ac_top_builddir$srcdir ;; 5152esac 5153 5154# Do not use `cd foo && pwd` to compute absolute paths, because 5155# the directories may not exist. 5156case `pwd` in 5157.) ac_abs_builddir="$ac_dir";; 5158*) 5159 case "$ac_dir" in 5160 .) ac_abs_builddir=`pwd`;; 5161 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 5162 *) ac_abs_builddir=`pwd`/"$ac_dir";; 5163 esac;; 5164esac 5165case $ac_abs_builddir in 5166.) ac_abs_top_builddir=${ac_top_builddir}.;; 5167*) 5168 case ${ac_top_builddir}. in 5169 .) ac_abs_top_builddir=$ac_abs_builddir;; 5170 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 5171 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 5172 esac;; 5173esac 5174case $ac_abs_builddir in 5175.) ac_abs_srcdir=$ac_srcdir;; 5176*) 5177 case $ac_srcdir in 5178 .) ac_abs_srcdir=$ac_abs_builddir;; 5179 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 5180 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 5181 esac;; 5182esac 5183case $ac_abs_builddir in 5184.) ac_abs_top_srcdir=$ac_top_srcdir;; 5185*) 5186 case $ac_top_srcdir in 5187 .) ac_abs_top_srcdir=$ac_abs_builddir;; 5188 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 5189 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 5190 esac;; 5191esac 5192 5193 5194 case $INSTALL in 5195 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 5196 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 5197 esac 5198 5199 if test x"$ac_file" != x-; then 5200 { echo "$as_me:$LINENO: creating $ac_file" >&5 5201echo "$as_me: creating $ac_file" >&6;} 5202 rm -f "$ac_file" 5203 fi 5204 # Let's still pretend it is `configure' which instantiates (i.e., don't 5205 # use $as_me), people would be surprised to read: 5206 # /* config.h. Generated by config.status. */ 5207 if test x"$ac_file" = x-; then 5208 configure_input= 5209 else 5210 configure_input="$ac_file. " 5211 fi 5212 configure_input=$configure_input"Generated from `echo $ac_file_in | 5213 sed 's,.*/,,'` by configure." 5214 5215 # First look for the input files in the build tree, otherwise in the 5216 # src tree. 5217 ac_file_inputs=`IFS=: 5218 for f in $ac_file_in; do 5219 case $f in 5220 -) echo $tmp/stdin ;; 5221 [\\/$]*) 5222 # Absolute (can't be DOS-style, as IFS=:) 5223 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 5224echo "$as_me: error: cannot find input file: $f" >&2;} 5225 { (exit 1); exit 1; }; } 5226 echo "$f";; 5227 *) # Relative 5228 if test -f "$f"; then 5229 # Build tree 5230 echo "$f" 5231 elif test -f "$srcdir/$f"; then 5232 # Source tree 5233 echo "$srcdir/$f" 5234 else 5235 # /dev/null tree 5236 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 5237echo "$as_me: error: cannot find input file: $f" >&2;} 5238 { (exit 1); exit 1; }; } 5239 fi;; 5240 esac 5241 done` || { (exit 1); exit 1; } 5242_ACEOF 5243cat >>$CONFIG_STATUS <<_ACEOF 5244 sed "$ac_vpsub 5245$extrasub 5246_ACEOF 5247cat >>$CONFIG_STATUS <<\_ACEOF 5248:t 5249/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 5250s,@configure_input@,$configure_input,;t t 5251s,@srcdir@,$ac_srcdir,;t t 5252s,@abs_srcdir@,$ac_abs_srcdir,;t t 5253s,@top_srcdir@,$ac_top_srcdir,;t t 5254s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 5255s,@builddir@,$ac_builddir,;t t 5256s,@abs_builddir@,$ac_abs_builddir,;t t 5257s,@top_builddir@,$ac_top_builddir,;t t 5258s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 5259s,@INSTALL@,$ac_INSTALL,;t t 5260" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 5261 rm -f $tmp/stdin 5262 if test x"$ac_file" != x-; then 5263 mv $tmp/out $ac_file 5264 else 5265 cat $tmp/out 5266 rm -f $tmp/out 5267 fi 5268 5269done 5270_ACEOF 5271cat >>$CONFIG_STATUS <<\_ACEOF 5272 5273# 5274# CONFIG_COMMANDS section. 5275# 5276for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 5277 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 5278 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 5279 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 5280$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5281 X"$ac_dest" : 'X\(//\)[^/]' \| \ 5282 X"$ac_dest" : 'X\(//\)$' \| \ 5283 X"$ac_dest" : 'X\(/\)' \| \ 5284 . : '\(.\)' 2>/dev/null || 5285echo X"$ac_dest" | 5286 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 5287 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 5288 /^X\(\/\/\)$/{ s//\1/; q; } 5289 /^X\(\/\).*/{ s//\1/; q; } 5290 s/.*/./; q'` 5291 { if $as_mkdir_p; then 5292 mkdir -p "$ac_dir" 5293 else 5294 as_dir="$ac_dir" 5295 as_dirs= 5296 while test ! -d "$as_dir"; do 5297 as_dirs="$as_dir $as_dirs" 5298 as_dir=`(dirname "$as_dir") 2>/dev/null || 5299$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5300 X"$as_dir" : 'X\(//\)[^/]' \| \ 5301 X"$as_dir" : 'X\(//\)$' \| \ 5302 X"$as_dir" : 'X\(/\)' \| \ 5303 . : '\(.\)' 2>/dev/null || 5304echo X"$as_dir" | 5305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 5306 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 5307 /^X\(\/\/\)$/{ s//\1/; q; } 5308 /^X\(\/\).*/{ s//\1/; q; } 5309 s/.*/./; q'` 5310 done 5311 test ! -n "$as_dirs" || mkdir $as_dirs 5312 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 5313echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 5314 { (exit 1); exit 1; }; }; } 5315 5316 ac_builddir=. 5317 5318if test "$ac_dir" != .; then 5319 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 5320 # A "../" for each directory in $ac_dir_suffix. 5321 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 5322else 5323 ac_dir_suffix= ac_top_builddir= 5324fi 5325 5326case $srcdir in 5327 .) # No --srcdir option. We are building in place. 5328 ac_srcdir=. 5329 if test -z "$ac_top_builddir"; then 5330 ac_top_srcdir=. 5331 else 5332 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 5333 fi ;; 5334 [\\/]* | ?:[\\/]* ) # Absolute path. 5335 ac_srcdir=$srcdir$ac_dir_suffix; 5336 ac_top_srcdir=$srcdir ;; 5337 *) # Relative path. 5338 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 5339 ac_top_srcdir=$ac_top_builddir$srcdir ;; 5340esac 5341 5342# Do not use `cd foo && pwd` to compute absolute paths, because 5343# the directories may not exist. 5344case `pwd` in 5345.) ac_abs_builddir="$ac_dir";; 5346*) 5347 case "$ac_dir" in 5348 .) ac_abs_builddir=`pwd`;; 5349 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 5350 *) ac_abs_builddir=`pwd`/"$ac_dir";; 5351 esac;; 5352esac 5353case $ac_abs_builddir in 5354.) ac_abs_top_builddir=${ac_top_builddir}.;; 5355*) 5356 case ${ac_top_builddir}. in 5357 .) ac_abs_top_builddir=$ac_abs_builddir;; 5358 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 5359 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 5360 esac;; 5361esac 5362case $ac_abs_builddir in 5363.) ac_abs_srcdir=$ac_srcdir;; 5364*) 5365 case $ac_srcdir in 5366 .) ac_abs_srcdir=$ac_abs_builddir;; 5367 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 5368 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 5369 esac;; 5370esac 5371case $ac_abs_builddir in 5372.) ac_abs_top_srcdir=$ac_top_srcdir;; 5373*) 5374 case $ac_top_srcdir in 5375 .) ac_abs_top_srcdir=$ac_abs_builddir;; 5376 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 5377 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 5378 esac;; 5379esac 5380 5381 5382 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 5383echo "$as_me: executing $ac_dest commands" >&6;} 5384 case $ac_dest in 5385 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 5386 # Strip MF so we end up with the name of the file. 5387 mf=`echo "$mf" | sed -e 's/:.*$//'` 5388 # Check whether this is an Automake generated Makefile or not. 5389 # We used to match only the files named `Makefile.in', but 5390 # some people rename them; so instead we look at the file content. 5391 # Grep'ing the first line is not enough: some people post-process 5392 # each Makefile.in and add a new line on top of each file to say so. 5393 # So let's grep whole file. 5394 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 5395 dirpart=`(dirname "$mf") 2>/dev/null || 5396$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5397 X"$mf" : 'X\(//\)[^/]' \| \ 5398 X"$mf" : 'X\(//\)$' \| \ 5399 X"$mf" : 'X\(/\)' \| \ 5400 . : '\(.\)' 2>/dev/null || 5401echo X"$mf" | 5402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 5403 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 5404 /^X\(\/\/\)$/{ s//\1/; q; } 5405 /^X\(\/\).*/{ s//\1/; q; } 5406 s/.*/./; q'` 5407 else 5408 continue 5409 fi 5410 # Extract the definition of DEPDIR, am__include, and am__quote 5411 # from the Makefile without running `make'. 5412 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 5413 test -z "$DEPDIR" && continue 5414 am__include=`sed -n 's/^am__include = //p' < "$mf"` 5415 test -z "am__include" && continue 5416 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 5417 # When using ansi2knr, U may be empty or an underscore; expand it 5418 U=`sed -n 's/^U = //p' < "$mf"` 5419 # Find all dependency output files, they are included files with 5420 # $(DEPDIR) in their names. We invoke sed twice because it is the 5421 # simplest approach to changing $(DEPDIR) to its actual value in the 5422 # expansion. 5423 for file in `sed -n " 5424 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 5425 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 5426 # Make sure the directory exists. 5427 test -f "$dirpart/$file" && continue 5428 fdir=`(dirname "$file") 2>/dev/null || 5429$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5430 X"$file" : 'X\(//\)[^/]' \| \ 5431 X"$file" : 'X\(//\)$' \| \ 5432 X"$file" : 'X\(/\)' \| \ 5433 . : '\(.\)' 2>/dev/null || 5434echo X"$file" | 5435 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 5436 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 5437 /^X\(\/\/\)$/{ s//\1/; q; } 5438 /^X\(\/\).*/{ s//\1/; q; } 5439 s/.*/./; q'` 5440 { if $as_mkdir_p; then 5441 mkdir -p $dirpart/$fdir 5442 else 5443 as_dir=$dirpart/$fdir 5444 as_dirs= 5445 while test ! -d "$as_dir"; do 5446 as_dirs="$as_dir $as_dirs" 5447 as_dir=`(dirname "$as_dir") 2>/dev/null || 5448$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5449 X"$as_dir" : 'X\(//\)[^/]' \| \ 5450 X"$as_dir" : 'X\(//\)$' \| \ 5451 X"$as_dir" : 'X\(/\)' \| \ 5452 . : '\(.\)' 2>/dev/null || 5453echo X"$as_dir" | 5454 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 5455 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 5456 /^X\(\/\/\)$/{ s//\1/; q; } 5457 /^X\(\/\).*/{ s//\1/; q; } 5458 s/.*/./; q'` 5459 done 5460 test ! -n "$as_dirs" || mkdir $as_dirs 5461 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 5462echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} 5463 { (exit 1); exit 1; }; }; } 5464 5465 # echo "creating $dirpart/$file" 5466 echo '# dummy' > "$dirpart/$file" 5467 done 5468done 5469 ;; 5470 esac 5471done 5472_ACEOF 5473 5474cat >>$CONFIG_STATUS <<\_ACEOF 5475 5476{ (exit 0); exit 0; } 5477_ACEOF 5478chmod +x $CONFIG_STATUS 5479ac_clean_files=$ac_clean_files_save 5480 5481 5482# configure is writing to config.log, and then calls config.status. 5483# config.status does its own redirection, appending to config.log. 5484# Unfortunately, on DOS this fails, as config.log is still kept open 5485# by configure, so config.status won't be able to write to it; its 5486# output is simply discarded. So we exec the FD to /dev/null, 5487# effectively closing config.log, so it can be properly (re)opened and 5488# appended to by config.status. When coming back to configure, we 5489# need to make the FD available again. 5490if test "$no_create" != yes; then 5491 ac_cs_success=: 5492 ac_config_status_args= 5493 test "$silent" = yes && 5494 ac_config_status_args="$ac_config_status_args --quiet" 5495 exec 5>/dev/null 5496 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 5497 exec 5>>config.log 5498 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 5499 # would make configure fail if this is the last instruction. 5500 $ac_cs_success || { (exit 1); exit 1; } 5501fi 5502 5503