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