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