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