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