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