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