1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.71 for ndisc6 1.0.5. 4# 5# Report bugs to <remi_no_bulk_mail@remlab.net>. 6# 7# Copyright (C) 2005-2021 Remi Denis-Courmont 8# 9# 10# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, 11# Inc. 12# 13# 14# This configure script is free software; the Free Software Foundation 15# gives unlimited permission to copy, distribute and modify it. 16## -------------------- ## 17## M4sh Initialization. ## 18## -------------------- ## 19 20# Be more Bourne compatible 21DUALCASE=1; export DUALCASE # for MKS sh 22as_nop=: 23if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 24then : 25 emulate sh 26 NULLCMD=: 27 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 28 # is contrary to our usage. Disable this feature. 29 alias -g '${1+"$@"}'='"$@"' 30 setopt NO_GLOB_SUBST 31else $as_nop 32 case `(set -o) 2>/dev/null` in #( 33 *posix*) : 34 set -o posix ;; #( 35 *) : 36 ;; 37esac 38fi 39 40 41 42# Reset variables that may have inherited troublesome values from 43# the environment. 44 45# IFS needs to be set, to space, tab, and newline, in precisely that order. 46# (If _AS_PATH_WALK were called with IFS unset, it would have the 47# side effect of setting IFS to empty, thus disabling word splitting.) 48# Quoting is to prevent editors from complaining about space-tab. 49as_nl=' 50' 51export as_nl 52IFS=" "" $as_nl" 53 54PS1='$ ' 55PS2='> ' 56PS4='+ ' 57 58# Ensure predictable behavior from utilities with locale-dependent output. 59LC_ALL=C 60export LC_ALL 61LANGUAGE=C 62export LANGUAGE 63 64# We cannot yet rely on "unset" to work, but we need these variables 65# to be unset--not just set to an empty or harmless value--now, to 66# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 67# also avoids known problems related to "unset" and subshell syntax 68# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 69for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 70do eval test \${$as_var+y} \ 71 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 72done 73 74# Ensure that fds 0, 1, and 2 are open. 75if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 76if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 77if (exec 3>&2) ; then :; else exec 2>/dev/null; fi 78 79# The user is always right. 80if ${PATH_SEPARATOR+false} :; then 81 PATH_SEPARATOR=: 82 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 83 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 84 PATH_SEPARATOR=';' 85 } 86fi 87 88 89# Find who we are. Look in the path if we contain no directory separator. 90as_myself= 91case $0 in #(( 92 *[\\/]* ) as_myself=$0 ;; 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94for as_dir in $PATH 95do 96 IFS=$as_save_IFS 97 case $as_dir in #((( 98 '') as_dir=./ ;; 99 */) ;; 100 *) as_dir=$as_dir/ ;; 101 esac 102 test -r "$as_dir$0" && as_myself=$as_dir$0 && break 103 done 104IFS=$as_save_IFS 105 106 ;; 107esac 108# We did not find ourselves, most probably we were run as `sh COMMAND' 109# in which case we are not to be found in the path. 110if test "x$as_myself" = x; then 111 as_myself=$0 112fi 113if test ! -f "$as_myself"; then 114 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 115 exit 1 116fi 117 118 119# Use a proper internal environment variable to ensure we don't fall 120 # into an infinite loop, continuously re-executing ourselves. 121 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 122 _as_can_reexec=no; export _as_can_reexec; 123 # We cannot yet assume a decent shell, so we have to provide a 124# neutralization value for shells without unset; and this also 125# works around shells that cannot unset nonexistent variables. 126# Preserve -v and -x to the replacement shell. 127BASH_ENV=/dev/null 128ENV=/dev/null 129(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 130case $- in # (((( 131 *v*x* | *x*v* ) as_opts=-vx ;; 132 *v* ) as_opts=-v ;; 133 *x* ) as_opts=-x ;; 134 * ) as_opts= ;; 135esac 136exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 137# Admittedly, this is quite paranoid, since all the known shells bail 138# out after a failed `exec'. 139printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 140exit 255 141 fi 142 # We don't want this to propagate to other subprocesses. 143 { _as_can_reexec=; unset _as_can_reexec;} 144if test "x$CONFIG_SHELL" = x; then 145 as_bourne_compatible="as_nop=: 146if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 147then : 148 emulate sh 149 NULLCMD=: 150 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 151 # is contrary to our usage. Disable this feature. 152 alias -g '\${1+\"\$@\"}'='\"\$@\"' 153 setopt NO_GLOB_SUBST 154else \$as_nop 155 case \`(set -o) 2>/dev/null\` in #( 156 *posix*) : 157 set -o posix ;; #( 158 *) : 159 ;; 160esac 161fi 162" 163 as_required="as_fn_return () { (exit \$1); } 164as_fn_success () { as_fn_return 0; } 165as_fn_failure () { as_fn_return 1; } 166as_fn_ret_success () { return 0; } 167as_fn_ret_failure () { return 1; } 168 169exitcode=0 170as_fn_success || { exitcode=1; echo as_fn_success failed.; } 171as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 172as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 173as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 174if ( set x; as_fn_ret_success y && test x = \"\$1\" ) 175then : 176 177else \$as_nop 178 exitcode=1; echo positional parameters were not saved. 179fi 180test x\$exitcode = x0 || exit 1 181blah=\$(echo \$(echo blah)) 182test x\"\$blah\" = xblah || exit 1 183test -x / || exit 1" 184 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 185 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 186 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 187 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 188test \$(( 1 + 1 )) = 2 || exit 1" 189 if (eval "$as_required") 2>/dev/null 190then : 191 as_have_required=yes 192else $as_nop 193 as_have_required=no 194fi 195 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null 196then : 197 198else $as_nop 199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 200as_found=false 201for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 202do 203 IFS=$as_save_IFS 204 case $as_dir in #((( 205 '') as_dir=./ ;; 206 */) ;; 207 *) as_dir=$as_dir/ ;; 208 esac 209 as_found=: 210 case $as_dir in #( 211 /*) 212 for as_base in sh bash ksh sh5; do 213 # Try only shells that exist, to save several forks. 214 as_shell=$as_dir$as_base 215 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 216 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null 217then : 218 CONFIG_SHELL=$as_shell as_have_required=yes 219 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null 220then : 221 break 2 222fi 223fi 224 done;; 225 esac 226 as_found=false 227done 228IFS=$as_save_IFS 229if $as_found 230then : 231 232else $as_nop 233 if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 234 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null 235then : 236 CONFIG_SHELL=$SHELL as_have_required=yes 237fi 238fi 239 240 241 if test "x$CONFIG_SHELL" != x 242then : 243 export CONFIG_SHELL 244 # We cannot yet assume a decent shell, so we have to provide a 245# neutralization value for shells without unset; and this also 246# works around shells that cannot unset nonexistent variables. 247# Preserve -v and -x to the replacement shell. 248BASH_ENV=/dev/null 249ENV=/dev/null 250(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 251case $- in # (((( 252 *v*x* | *x*v* ) as_opts=-vx ;; 253 *v* ) as_opts=-v ;; 254 *x* ) as_opts=-x ;; 255 * ) as_opts= ;; 256esac 257exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 258# Admittedly, this is quite paranoid, since all the known shells bail 259# out after a failed `exec'. 260printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 261exit 255 262fi 263 264 if test x$as_have_required = xno 265then : 266 printf "%s\n" "$0: This script requires a shell more modern than all" 267 printf "%s\n" "$0: the shells that I found on your system." 268 if test ${ZSH_VERSION+y} ; then 269 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" 270 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." 271 else 272 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and 273$0: remi_no_bulk_mail@remlab.net about your system, 274$0: including any error possibly output before this 275$0: message. Then install a modern shell, or manually run 276$0: the script under such a shell if you do have one." 277 fi 278 exit 1 279fi 280fi 281fi 282SHELL=${CONFIG_SHELL-/bin/sh} 283export SHELL 284# Unset more variables known to interfere with behavior of common tools. 285CLICOLOR_FORCE= GREP_OPTIONS= 286unset CLICOLOR_FORCE GREP_OPTIONS 287 288## --------------------- ## 289## M4sh Shell Functions. ## 290## --------------------- ## 291# as_fn_unset VAR 292# --------------- 293# Portably unset VAR. 294as_fn_unset () 295{ 296 { eval $1=; unset $1;} 297} 298as_unset=as_fn_unset 299 300 301# as_fn_set_status STATUS 302# ----------------------- 303# Set $? to STATUS, without forking. 304as_fn_set_status () 305{ 306 return $1 307} # as_fn_set_status 308 309# as_fn_exit STATUS 310# ----------------- 311# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 312as_fn_exit () 313{ 314 set +e 315 as_fn_set_status $1 316 exit $1 317} # as_fn_exit 318# as_fn_nop 319# --------- 320# Do nothing but, unlike ":", preserve the value of $?. 321as_fn_nop () 322{ 323 return $? 324} 325as_nop=as_fn_nop 326 327# as_fn_mkdir_p 328# ------------- 329# Create "$as_dir" as a directory, including parents if necessary. 330as_fn_mkdir_p () 331{ 332 333 case $as_dir in #( 334 -*) as_dir=./$as_dir;; 335 esac 336 test -d "$as_dir" || eval $as_mkdir_p || { 337 as_dirs= 338 while :; do 339 case $as_dir in #( 340 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 341 *) as_qdir=$as_dir;; 342 esac 343 as_dirs="'$as_qdir' $as_dirs" 344 as_dir=`$as_dirname -- "$as_dir" || 345$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 346 X"$as_dir" : 'X\(//\)[^/]' \| \ 347 X"$as_dir" : 'X\(//\)$' \| \ 348 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 349printf "%s\n" X"$as_dir" | 350 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 351 s//\1/ 352 q 353 } 354 /^X\(\/\/\)[^/].*/{ 355 s//\1/ 356 q 357 } 358 /^X\(\/\/\)$/{ 359 s//\1/ 360 q 361 } 362 /^X\(\/\).*/{ 363 s//\1/ 364 q 365 } 366 s/.*/./; q'` 367 test -d "$as_dir" && break 368 done 369 test -z "$as_dirs" || eval "mkdir $as_dirs" 370 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 371 372 373} # as_fn_mkdir_p 374 375# as_fn_executable_p FILE 376# ----------------------- 377# Test if FILE is an executable regular file. 378as_fn_executable_p () 379{ 380 test -f "$1" && test -x "$1" 381} # as_fn_executable_p 382# as_fn_append VAR VALUE 383# ---------------------- 384# Append the text in VALUE to the end of the definition contained in VAR. Take 385# advantage of any shell optimizations that allow amortized linear growth over 386# repeated appends, instead of the typical quadratic growth present in naive 387# implementations. 388if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 389then : 390 eval 'as_fn_append () 391 { 392 eval $1+=\$2 393 }' 394else $as_nop 395 as_fn_append () 396 { 397 eval $1=\$$1\$2 398 } 399fi # as_fn_append 400 401# as_fn_arith ARG... 402# ------------------ 403# Perform arithmetic evaluation on the ARGs, and store the result in the 404# global $as_val. Take advantage of shells that can avoid forks. The arguments 405# must be portable across $(()) and expr. 406if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 407then : 408 eval 'as_fn_arith () 409 { 410 as_val=$(( $* )) 411 }' 412else $as_nop 413 as_fn_arith () 414 { 415 as_val=`expr "$@" || test $? -eq 1` 416 } 417fi # as_fn_arith 418 419# as_fn_nop 420# --------- 421# Do nothing but, unlike ":", preserve the value of $?. 422as_fn_nop () 423{ 424 return $? 425} 426as_nop=as_fn_nop 427 428# as_fn_error STATUS ERROR [LINENO LOG_FD] 429# ---------------------------------------- 430# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 431# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 432# script with STATUS, using 1 if that was 0. 433as_fn_error () 434{ 435 as_status=$1; test $as_status -eq 0 && as_status=1 436 if test "$4"; then 437 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 438 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 439 fi 440 printf "%s\n" "$as_me: error: $2" >&2 441 as_fn_exit $as_status 442} # as_fn_error 443 444if expr a : '\(a\)' >/dev/null 2>&1 && 445 test "X`expr 00001 : '.*\(...\)'`" = X001; then 446 as_expr=expr 447else 448 as_expr=false 449fi 450 451if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 452 as_basename=basename 453else 454 as_basename=false 455fi 456 457if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 458 as_dirname=dirname 459else 460 as_dirname=false 461fi 462 463as_me=`$as_basename -- "$0" || 464$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 465 X"$0" : 'X\(//\)$' \| \ 466 X"$0" : 'X\(/\)' \| . 2>/dev/null || 467printf "%s\n" X/"$0" | 468 sed '/^.*\/\([^/][^/]*\)\/*$/{ 469 s//\1/ 470 q 471 } 472 /^X\/\(\/\/\)$/{ 473 s//\1/ 474 q 475 } 476 /^X\/\(\/\).*/{ 477 s//\1/ 478 q 479 } 480 s/.*/./; q'` 481 482# Avoid depending upon Character Ranges. 483as_cr_letters='abcdefghijklmnopqrstuvwxyz' 484as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 485as_cr_Letters=$as_cr_letters$as_cr_LETTERS 486as_cr_digits='0123456789' 487as_cr_alnum=$as_cr_Letters$as_cr_digits 488 489 490 as_lineno_1=$LINENO as_lineno_1a=$LINENO 491 as_lineno_2=$LINENO as_lineno_2a=$LINENO 492 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 493 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 494 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 495 sed -n ' 496 p 497 /[$]LINENO/= 498 ' <$as_myself | 499 sed ' 500 s/[$]LINENO.*/&-/ 501 t lineno 502 b 503 :lineno 504 N 505 :loop 506 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 507 t loop 508 s/-\n.*// 509 ' >$as_me.lineno && 510 chmod +x "$as_me.lineno" || 511 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 512 513 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 514 # already done that, so ensure we don't try to do so again and fall 515 # in an infinite loop. This has already happened in practice. 516 _as_can_reexec=no; export _as_can_reexec 517 # Don't try to exec as it changes $[0], causing all sort of problems 518 # (the dirname of $[0] is not the place where we might find the 519 # original and so on. Autoconf is especially sensitive to this). 520 . "./$as_me.lineno" 521 # Exit status is that of the last command. 522 exit 523} 524 525 526# Determine whether it's possible to make 'echo' print without a newline. 527# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 528# for compatibility with existing Makefiles. 529ECHO_C= ECHO_N= ECHO_T= 530case `echo -n x` in #((((( 531-n*) 532 case `echo 'xy\c'` in 533 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 534 xy) ECHO_C='\c';; 535 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 536 ECHO_T=' ';; 537 esac;; 538*) 539 ECHO_N='-n';; 540esac 541 542# For backward compatibility with old third-party macros, we provide 543# the shell variables $as_echo and $as_echo_n. New code should use 544# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 545as_echo='printf %s\n' 546as_echo_n='printf %s' 547 548 549rm -f conf$$ conf$$.exe conf$$.file 550if test -d conf$$.dir; then 551 rm -f conf$$.dir/conf$$.file 552else 553 rm -f conf$$.dir 554 mkdir conf$$.dir 2>/dev/null 555fi 556if (echo >conf$$.file) 2>/dev/null; then 557 if ln -s conf$$.file conf$$ 2>/dev/null; then 558 as_ln_s='ln -s' 559 # ... but there are two gotchas: 560 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 561 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 562 # In both cases, we have to default to `cp -pR'. 563 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 564 as_ln_s='cp -pR' 565 elif ln conf$$.file conf$$ 2>/dev/null; then 566 as_ln_s=ln 567 else 568 as_ln_s='cp -pR' 569 fi 570else 571 as_ln_s='cp -pR' 572fi 573rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 574rmdir conf$$.dir 2>/dev/null 575 576if mkdir -p . 2>/dev/null; then 577 as_mkdir_p='mkdir -p "$as_dir"' 578else 579 test -d ./-p && rmdir ./-p 580 as_mkdir_p=false 581fi 582 583as_test_x='test -x' 584as_executable_p=as_fn_executable_p 585 586# Sed expression to map a string onto a valid CPP name. 587as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 588 589# Sed expression to map a string onto a valid variable name. 590as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 591 592 593test -n "$DJDIR" || exec 7<&0 </dev/null 594exec 6>&1 595 596# Name of the host. 597# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 598# so uname gets run too. 599ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 600 601# 602# Initializations. 603# 604ac_default_prefix=/usr/local 605ac_clean_files= 606ac_config_libobj_dir=. 607LIBOBJS= 608cross_compiling=no 609subdirs= 610MFLAGS= 611MAKEFLAGS= 612 613# Identity of this package. 614PACKAGE_NAME='ndisc6' 615PACKAGE_TARNAME='ndisc6' 616PACKAGE_VERSION='1.0.5' 617PACKAGE_STRING='ndisc6 1.0.5' 618PACKAGE_BUGREPORT='remi_no_bulk_mail@remlab.net' 619PACKAGE_URL='' 620 621ac_unique_file="configure.ac" 622ac_config_libobj_dir=compat 623# Factoring default headers for most tests. 624ac_includes_default="\ 625#include <stddef.h> 626#ifdef HAVE_STDIO_H 627# include <stdio.h> 628#endif 629#ifdef HAVE_STDLIB_H 630# include <stdlib.h> 631#endif 632#ifdef HAVE_STRING_H 633# include <string.h> 634#endif 635#ifdef HAVE_INTTYPES_H 636# include <inttypes.h> 637#endif 638#ifdef HAVE_STDINT_H 639# include <stdint.h> 640#endif 641#ifdef HAVE_STRINGS_H 642# include <strings.h> 643#endif 644#ifdef HAVE_SYS_TYPES_H 645# include <sys/types.h> 646#endif 647#ifdef HAVE_SYS_STAT_H 648# include <sys/stat.h> 649#endif 650#ifdef HAVE_UNISTD_H 651# include <unistd.h> 652#endif" 653 654ac_header_c_list= 655gt_needs= 656ac_subst_vars='am__EXEEXT_FALSE 657am__EXEEXT_TRUE 658LTLIBOBJS 659NOSUID_FALSE 660NOSUID_TRUE 661LIBOBJS 662POSUB 663LTLIBINTL 664LIBINTL 665INTLLIBS 666LTLIBICONV 667LIBICONV 668INTL_MACOSX_LIBS 669EGREP 670GREP 671CPP 672host_os 673host_vendor 674host_cpu 675host 676build_os 677build_vendor 678build_cpu 679build 680XGETTEXT_EXTRA_OPTIONS 681MSGMERGE 682XGETTEXT_015 683XGETTEXT 684GMSGFMT_015 685MSGFMT_015 686GMSGFMT 687MSGFMT 688GETTEXT_MACRO_VERSION 689USE_NLS 690SED 691LIBRT 692AM_BACKSLASH 693AM_DEFAULT_VERBOSITY 694AM_DEFAULT_V 695AM_V 696CSCOPE 697ETAGS 698CTAGS 699am__fastdepCC_FALSE 700am__fastdepCC_TRUE 701CCDEPMODE 702am__nodep 703AMDEPBACKSLASH 704AMDEP_FALSE 705AMDEP_TRUE 706am__include 707DEPDIR 708am__untar 709am__tar 710AMTAR 711am__leading_dot 712SET_MAKE 713AWK 714mkdir_p 715MKDIR_P 716INSTALL_STRIP_PROGRAM 717STRIP 718install_sh 719MAKEINFO 720AUTOHEADER 721AUTOMAKE 722AUTOCONF 723ACLOCAL 724VERSION 725PACKAGE 726CYGPATH_W 727am__isrc 728INSTALL_DATA 729INSTALL_SCRIPT 730INSTALL_PROGRAM 731PERL 732ac_ct_AR 733AR 734RANLIB 735OBJEXT 736EXEEXT 737ac_ct_CC 738CPPFLAGS 739LDFLAGS 740CFLAGS 741CC 742target_alias 743host_alias 744build_alias 745LIBS 746ECHO_T 747ECHO_N 748ECHO_C 749DEFS 750mandir 751localedir 752libdir 753psdir 754pdfdir 755dvidir 756htmldir 757infodir 758docdir 759oldincludedir 760includedir 761runstatedir 762localstatedir 763sharedstatedir 764sysconfdir 765datadir 766datarootdir 767libexecdir 768sbindir 769bindir 770program_transform_name 771prefix 772exec_prefix 773PACKAGE_URL 774PACKAGE_BUGREPORT 775PACKAGE_STRING 776PACKAGE_VERSION 777PACKAGE_TARNAME 778PACKAGE_NAME 779PATH_SEPARATOR 780SHELL 781am__quote' 782ac_subst_files='' 783ac_user_opts=' 784enable_option_checking 785enable_dependency_tracking 786enable_silent_rules 787enable_nls 788with_gnu_ld 789enable_rpath 790with_libiconv_prefix 791with_libintl_prefix 792enable_assert 793enable_suid_install 794' 795 ac_precious_vars='build_alias 796host_alias 797target_alias 798CC 799CFLAGS 800LDFLAGS 801LIBS 802CPPFLAGS 803PERL 804CPP' 805 806 807# Initialize some variables set by options. 808ac_init_help= 809ac_init_version=false 810ac_unrecognized_opts= 811ac_unrecognized_sep= 812# The variables have the same names as the options, with 813# dashes changed to underlines. 814cache_file=/dev/null 815exec_prefix=NONE 816no_create= 817no_recursion= 818prefix=NONE 819program_prefix=NONE 820program_suffix=NONE 821program_transform_name=s,x,x, 822silent= 823site= 824srcdir= 825verbose= 826x_includes=NONE 827x_libraries=NONE 828 829# Installation directory options. 830# These are left unexpanded so users can "make install exec_prefix=/foo" 831# and all the variables that are supposed to be based on exec_prefix 832# by default will actually change. 833# Use braces instead of parens because sh, perl, etc. also accept them. 834# (The list follows the same order as the GNU Coding Standards.) 835bindir='${exec_prefix}/bin' 836sbindir='${exec_prefix}/sbin' 837libexecdir='${exec_prefix}/libexec' 838datarootdir='${prefix}/share' 839datadir='${datarootdir}' 840sysconfdir='${prefix}/etc' 841sharedstatedir='${prefix}/com' 842localstatedir='${prefix}/var' 843runstatedir='${localstatedir}/run' 844includedir='${prefix}/include' 845oldincludedir='/usr/include' 846docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 847infodir='${datarootdir}/info' 848htmldir='${docdir}' 849dvidir='${docdir}' 850pdfdir='${docdir}' 851psdir='${docdir}' 852libdir='${exec_prefix}/lib' 853localedir='${datarootdir}/locale' 854mandir='${datarootdir}/man' 855 856ac_prev= 857ac_dashdash= 858for ac_option 859do 860 # If the previous option needs an argument, assign it. 861 if test -n "$ac_prev"; then 862 eval $ac_prev=\$ac_option 863 ac_prev= 864 continue 865 fi 866 867 case $ac_option in 868 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 869 *=) ac_optarg= ;; 870 *) ac_optarg=yes ;; 871 esac 872 873 case $ac_dashdash$ac_option in 874 --) 875 ac_dashdash=yes ;; 876 877 -bindir | --bindir | --bindi | --bind | --bin | --bi) 878 ac_prev=bindir ;; 879 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 880 bindir=$ac_optarg ;; 881 882 -build | --build | --buil | --bui | --bu) 883 ac_prev=build_alias ;; 884 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 885 build_alias=$ac_optarg ;; 886 887 -cache-file | --cache-file | --cache-fil | --cache-fi \ 888 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 889 ac_prev=cache_file ;; 890 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 891 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 892 cache_file=$ac_optarg ;; 893 894 --config-cache | -C) 895 cache_file=config.cache ;; 896 897 -datadir | --datadir | --datadi | --datad) 898 ac_prev=datadir ;; 899 -datadir=* | --datadir=* | --datadi=* | --datad=*) 900 datadir=$ac_optarg ;; 901 902 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 903 | --dataroo | --dataro | --datar) 904 ac_prev=datarootdir ;; 905 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 906 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 907 datarootdir=$ac_optarg ;; 908 909 -disable-* | --disable-*) 910 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 911 # Reject names that are not valid shell variable names. 912 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 913 as_fn_error $? "invalid feature name: \`$ac_useropt'" 914 ac_useropt_orig=$ac_useropt 915 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 916 case $ac_user_opts in 917 *" 918"enable_$ac_useropt" 919"*) ;; 920 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 921 ac_unrecognized_sep=', ';; 922 esac 923 eval enable_$ac_useropt=no ;; 924 925 -docdir | --docdir | --docdi | --doc | --do) 926 ac_prev=docdir ;; 927 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 928 docdir=$ac_optarg ;; 929 930 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 931 ac_prev=dvidir ;; 932 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 933 dvidir=$ac_optarg ;; 934 935 -enable-* | --enable-*) 936 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 937 # Reject names that are not valid shell variable names. 938 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 939 as_fn_error $? "invalid feature name: \`$ac_useropt'" 940 ac_useropt_orig=$ac_useropt 941 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 942 case $ac_user_opts in 943 *" 944"enable_$ac_useropt" 945"*) ;; 946 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 947 ac_unrecognized_sep=', ';; 948 esac 949 eval enable_$ac_useropt=\$ac_optarg ;; 950 951 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 952 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 953 | --exec | --exe | --ex) 954 ac_prev=exec_prefix ;; 955 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 956 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 957 | --exec=* | --exe=* | --ex=*) 958 exec_prefix=$ac_optarg ;; 959 960 -gas | --gas | --ga | --g) 961 # Obsolete; use --with-gas. 962 with_gas=yes ;; 963 964 -help | --help | --hel | --he | -h) 965 ac_init_help=long ;; 966 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 967 ac_init_help=recursive ;; 968 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 969 ac_init_help=short ;; 970 971 -host | --host | --hos | --ho) 972 ac_prev=host_alias ;; 973 -host=* | --host=* | --hos=* | --ho=*) 974 host_alias=$ac_optarg ;; 975 976 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 977 ac_prev=htmldir ;; 978 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 979 | --ht=*) 980 htmldir=$ac_optarg ;; 981 982 -includedir | --includedir | --includedi | --included | --include \ 983 | --includ | --inclu | --incl | --inc) 984 ac_prev=includedir ;; 985 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 986 | --includ=* | --inclu=* | --incl=* | --inc=*) 987 includedir=$ac_optarg ;; 988 989 -infodir | --infodir | --infodi | --infod | --info | --inf) 990 ac_prev=infodir ;; 991 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 992 infodir=$ac_optarg ;; 993 994 -libdir | --libdir | --libdi | --libd) 995 ac_prev=libdir ;; 996 -libdir=* | --libdir=* | --libdi=* | --libd=*) 997 libdir=$ac_optarg ;; 998 999 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1000 | --libexe | --libex | --libe) 1001 ac_prev=libexecdir ;; 1002 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1003 | --libexe=* | --libex=* | --libe=*) 1004 libexecdir=$ac_optarg ;; 1005 1006 -localedir | --localedir | --localedi | --localed | --locale) 1007 ac_prev=localedir ;; 1008 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1009 localedir=$ac_optarg ;; 1010 1011 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1012 | --localstate | --localstat | --localsta | --localst | --locals) 1013 ac_prev=localstatedir ;; 1014 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1015 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1016 localstatedir=$ac_optarg ;; 1017 1018 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1019 ac_prev=mandir ;; 1020 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1021 mandir=$ac_optarg ;; 1022 1023 -nfp | --nfp | --nf) 1024 # Obsolete; use --without-fp. 1025 with_fp=no ;; 1026 1027 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1028 | --no-cr | --no-c | -n) 1029 no_create=yes ;; 1030 1031 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1032 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1033 no_recursion=yes ;; 1034 1035 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1036 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1037 | --oldin | --oldi | --old | --ol | --o) 1038 ac_prev=oldincludedir ;; 1039 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1040 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1041 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1042 oldincludedir=$ac_optarg ;; 1043 1044 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1045 ac_prev=prefix ;; 1046 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1047 prefix=$ac_optarg ;; 1048 1049 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1050 | --program-pre | --program-pr | --program-p) 1051 ac_prev=program_prefix ;; 1052 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1053 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1054 program_prefix=$ac_optarg ;; 1055 1056 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1057 | --program-suf | --program-su | --program-s) 1058 ac_prev=program_suffix ;; 1059 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1060 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1061 program_suffix=$ac_optarg ;; 1062 1063 -program-transform-name | --program-transform-name \ 1064 | --program-transform-nam | --program-transform-na \ 1065 | --program-transform-n | --program-transform- \ 1066 | --program-transform | --program-transfor \ 1067 | --program-transfo | --program-transf \ 1068 | --program-trans | --program-tran \ 1069 | --progr-tra | --program-tr | --program-t) 1070 ac_prev=program_transform_name ;; 1071 -program-transform-name=* | --program-transform-name=* \ 1072 | --program-transform-nam=* | --program-transform-na=* \ 1073 | --program-transform-n=* | --program-transform-=* \ 1074 | --program-transform=* | --program-transfor=* \ 1075 | --program-transfo=* | --program-transf=* \ 1076 | --program-trans=* | --program-tran=* \ 1077 | --progr-tra=* | --program-tr=* | --program-t=*) 1078 program_transform_name=$ac_optarg ;; 1079 1080 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1081 ac_prev=pdfdir ;; 1082 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1083 pdfdir=$ac_optarg ;; 1084 1085 -psdir | --psdir | --psdi | --psd | --ps) 1086 ac_prev=psdir ;; 1087 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1088 psdir=$ac_optarg ;; 1089 1090 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1091 | -silent | --silent | --silen | --sile | --sil) 1092 silent=yes ;; 1093 1094 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1095 | --runstate | --runstat | --runsta | --runst | --runs \ 1096 | --run | --ru | --r) 1097 ac_prev=runstatedir ;; 1098 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1099 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1100 | --run=* | --ru=* | --r=*) 1101 runstatedir=$ac_optarg ;; 1102 1103 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1104 ac_prev=sbindir ;; 1105 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1106 | --sbi=* | --sb=*) 1107 sbindir=$ac_optarg ;; 1108 1109 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1110 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1111 | --sharedst | --shareds | --shared | --share | --shar \ 1112 | --sha | --sh) 1113 ac_prev=sharedstatedir ;; 1114 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1115 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1116 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1117 | --sha=* | --sh=*) 1118 sharedstatedir=$ac_optarg ;; 1119 1120 -site | --site | --sit) 1121 ac_prev=site ;; 1122 -site=* | --site=* | --sit=*) 1123 site=$ac_optarg ;; 1124 1125 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1126 ac_prev=srcdir ;; 1127 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1128 srcdir=$ac_optarg ;; 1129 1130 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1131 | --syscon | --sysco | --sysc | --sys | --sy) 1132 ac_prev=sysconfdir ;; 1133 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1134 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1135 sysconfdir=$ac_optarg ;; 1136 1137 -target | --target | --targe | --targ | --tar | --ta | --t) 1138 ac_prev=target_alias ;; 1139 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1140 target_alias=$ac_optarg ;; 1141 1142 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1143 verbose=yes ;; 1144 1145 -version | --version | --versio | --versi | --vers | -V) 1146 ac_init_version=: ;; 1147 1148 -with-* | --with-*) 1149 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1150 # Reject names that are not valid shell variable names. 1151 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1152 as_fn_error $? "invalid package name: \`$ac_useropt'" 1153 ac_useropt_orig=$ac_useropt 1154 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1155 case $ac_user_opts in 1156 *" 1157"with_$ac_useropt" 1158"*) ;; 1159 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1160 ac_unrecognized_sep=', ';; 1161 esac 1162 eval with_$ac_useropt=\$ac_optarg ;; 1163 1164 -without-* | --without-*) 1165 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1166 # Reject names that are not valid shell variable names. 1167 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1168 as_fn_error $? "invalid package name: \`$ac_useropt'" 1169 ac_useropt_orig=$ac_useropt 1170 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1171 case $ac_user_opts in 1172 *" 1173"with_$ac_useropt" 1174"*) ;; 1175 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1176 ac_unrecognized_sep=', ';; 1177 esac 1178 eval with_$ac_useropt=no ;; 1179 1180 --x) 1181 # Obsolete; use --with-x. 1182 with_x=yes ;; 1183 1184 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1185 | --x-incl | --x-inc | --x-in | --x-i) 1186 ac_prev=x_includes ;; 1187 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1188 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1189 x_includes=$ac_optarg ;; 1190 1191 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1192 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1193 ac_prev=x_libraries ;; 1194 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1195 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1196 x_libraries=$ac_optarg ;; 1197 1198 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1199Try \`$0 --help' for more information" 1200 ;; 1201 1202 *=*) 1203 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1204 # Reject names that are not valid shell variable names. 1205 case $ac_envvar in #( 1206 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1207 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1208 esac 1209 eval $ac_envvar=\$ac_optarg 1210 export $ac_envvar ;; 1211 1212 *) 1213 # FIXME: should be removed in autoconf 3.0. 1214 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 1215 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1216 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 1217 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1218 ;; 1219 1220 esac 1221done 1222 1223if test -n "$ac_prev"; then 1224 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1225 as_fn_error $? "missing argument to $ac_option" 1226fi 1227 1228if test -n "$ac_unrecognized_opts"; then 1229 case $enable_option_checking in 1230 no) ;; 1231 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1232 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1233 esac 1234fi 1235 1236# Check all directory arguments for consistency. 1237for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1238 datadir sysconfdir sharedstatedir localstatedir includedir \ 1239 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1240 libdir localedir mandir runstatedir 1241do 1242 eval ac_val=\$$ac_var 1243 # Remove trailing slashes. 1244 case $ac_val in 1245 */ ) 1246 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1247 eval $ac_var=\$ac_val;; 1248 esac 1249 # Be sure to have absolute directory names. 1250 case $ac_val in 1251 [\\/$]* | ?:[\\/]* ) continue;; 1252 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1253 esac 1254 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1255done 1256 1257# There might be people who depend on the old broken behavior: `$host' 1258# used to hold the argument of --host etc. 1259# FIXME: To remove some day. 1260build=$build_alias 1261host=$host_alias 1262target=$target_alias 1263 1264# FIXME: To remove some day. 1265if test "x$host_alias" != x; then 1266 if test "x$build_alias" = x; then 1267 cross_compiling=maybe 1268 elif test "x$build_alias" != "x$host_alias"; then 1269 cross_compiling=yes 1270 fi 1271fi 1272 1273ac_tool_prefix= 1274test -n "$host_alias" && ac_tool_prefix=$host_alias- 1275 1276test "$silent" = yes && exec 6>/dev/null 1277 1278 1279ac_pwd=`pwd` && test -n "$ac_pwd" && 1280ac_ls_di=`ls -di .` && 1281ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1282 as_fn_error $? "working directory cannot be determined" 1283test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1284 as_fn_error $? "pwd does not report name of working directory" 1285 1286 1287# Find the source files, if location was not specified. 1288if test -z "$srcdir"; then 1289 ac_srcdir_defaulted=yes 1290 # Try the directory containing this script, then the parent directory. 1291 ac_confdir=`$as_dirname -- "$as_myself" || 1292$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1293 X"$as_myself" : 'X\(//\)[^/]' \| \ 1294 X"$as_myself" : 'X\(//\)$' \| \ 1295 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1296printf "%s\n" X"$as_myself" | 1297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1298 s//\1/ 1299 q 1300 } 1301 /^X\(\/\/\)[^/].*/{ 1302 s//\1/ 1303 q 1304 } 1305 /^X\(\/\/\)$/{ 1306 s//\1/ 1307 q 1308 } 1309 /^X\(\/\).*/{ 1310 s//\1/ 1311 q 1312 } 1313 s/.*/./; q'` 1314 srcdir=$ac_confdir 1315 if test ! -r "$srcdir/$ac_unique_file"; then 1316 srcdir=.. 1317 fi 1318else 1319 ac_srcdir_defaulted=no 1320fi 1321if test ! -r "$srcdir/$ac_unique_file"; then 1322 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1323 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1324fi 1325ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1326ac_abs_confdir=`( 1327 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1328 pwd)` 1329# When building in place, set srcdir=. 1330if test "$ac_abs_confdir" = "$ac_pwd"; then 1331 srcdir=. 1332fi 1333# Remove unnecessary trailing slashes from srcdir. 1334# Double slashes in file names in object file debugging info 1335# mess up M-x gdb in Emacs. 1336case $srcdir in 1337*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1338esac 1339for ac_var in $ac_precious_vars; do 1340 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1341 eval ac_env_${ac_var}_value=\$${ac_var} 1342 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1343 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1344done 1345 1346# 1347# Report the --help message. 1348# 1349if test "$ac_init_help" = "long"; then 1350 # Omit some internal or obsolete options to make the list less imposing. 1351 # This message is too long to be a string in the A/UX 3.1 sh. 1352 cat <<_ACEOF 1353\`configure' configures ndisc6 1.0.5 to adapt to many kinds of systems. 1354 1355Usage: $0 [OPTION]... [VAR=VALUE]... 1356 1357To assign environment variables (e.g., CC, CFLAGS...), specify them as 1358VAR=VALUE. See below for descriptions of some of the useful variables. 1359 1360Defaults for the options are specified in brackets. 1361 1362Configuration: 1363 -h, --help display this help and exit 1364 --help=short display options specific to this package 1365 --help=recursive display the short help of all the included packages 1366 -V, --version display version information and exit 1367 -q, --quiet, --silent do not print \`checking ...' messages 1368 --cache-file=FILE cache test results in FILE [disabled] 1369 -C, --config-cache alias for \`--cache-file=config.cache' 1370 -n, --no-create do not create output files 1371 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1372 1373Installation directories: 1374 --prefix=PREFIX install architecture-independent files in PREFIX 1375 [$ac_default_prefix] 1376 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1377 [PREFIX] 1378 1379By default, \`make install' will install all the files in 1380\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1381an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1382for instance \`--prefix=\$HOME'. 1383 1384For better control, use the options below. 1385 1386Fine tuning of the installation directories: 1387 --bindir=DIR user executables [EPREFIX/bin] 1388 --sbindir=DIR system admin executables [EPREFIX/sbin] 1389 --libexecdir=DIR program executables [EPREFIX/libexec] 1390 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1391 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1392 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1393 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1394 --libdir=DIR object code libraries [EPREFIX/lib] 1395 --includedir=DIR C header files [PREFIX/include] 1396 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1397 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1398 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1399 --infodir=DIR info documentation [DATAROOTDIR/info] 1400 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1401 --mandir=DIR man documentation [DATAROOTDIR/man] 1402 --docdir=DIR documentation root [DATAROOTDIR/doc/ndisc6] 1403 --htmldir=DIR html documentation [DOCDIR] 1404 --dvidir=DIR dvi documentation [DOCDIR] 1405 --pdfdir=DIR pdf documentation [DOCDIR] 1406 --psdir=DIR ps documentation [DOCDIR] 1407_ACEOF 1408 1409 cat <<\_ACEOF 1410 1411Program names: 1412 --program-prefix=PREFIX prepend PREFIX to installed program names 1413 --program-suffix=SUFFIX append SUFFIX to installed program names 1414 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1415 1416System types: 1417 --build=BUILD configure for building on BUILD [guessed] 1418 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1419_ACEOF 1420fi 1421 1422if test -n "$ac_init_help"; then 1423 case $ac_init_help in 1424 short | recursive ) echo "Configuration of ndisc6 1.0.5:";; 1425 esac 1426 cat <<\_ACEOF 1427 1428Optional Features: 1429 --disable-option-checking ignore unrecognized --enable/--with options 1430 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1431 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1432 --enable-dependency-tracking 1433 do not reject slow dependency extractors 1434 --disable-dependency-tracking 1435 speeds up one-time build 1436 --enable-silent-rules less verbose build output (undo: "make V=1") 1437 --disable-silent-rules verbose build output (undo: "make V=0") 1438 --disable-nls do not use Native Language Support 1439 --disable-rpath do not hardcode runtime library paths 1440 --disable-assert turn off assertions 1441 --disable-suid-install do not set the SetUID bit on installed programs 1442 1443Optional Packages: 1444 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1445 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1446 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1447 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib 1448 --without-libiconv-prefix don't search for libiconv in includedir and libdir 1449 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib 1450 --without-libintl-prefix don't search for libintl in includedir and libdir 1451 1452Some influential environment variables: 1453 CC C compiler command 1454 CFLAGS C compiler flags 1455 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1456 nonstandard directory <lib dir> 1457 LIBS libraries to pass to the linker, e.g. -l<library> 1458 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1459 you have headers in a nonstandard directory <include dir> 1460 PERL Perl interpreter 1461 CPP C preprocessor 1462 1463Use these variables to override the choices made by `configure' or to help 1464it to find libraries and programs with nonstandard names/locations. 1465 1466Report bugs to <remi_no_bulk_mail@remlab.net>. 1467_ACEOF 1468ac_status=$? 1469fi 1470 1471if test "$ac_init_help" = "recursive"; then 1472 # If there are subdirs, report their specific --help. 1473 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1474 test -d "$ac_dir" || 1475 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1476 continue 1477 ac_builddir=. 1478 1479case "$ac_dir" in 1480.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1481*) 1482 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 1483 # A ".." for each directory in $ac_dir_suffix. 1484 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1485 case $ac_top_builddir_sub in 1486 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1487 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1488 esac ;; 1489esac 1490ac_abs_top_builddir=$ac_pwd 1491ac_abs_builddir=$ac_pwd$ac_dir_suffix 1492# for backward compatibility: 1493ac_top_builddir=$ac_top_build_prefix 1494 1495case $srcdir in 1496 .) # We are building in place. 1497 ac_srcdir=. 1498 ac_top_srcdir=$ac_top_builddir_sub 1499 ac_abs_top_srcdir=$ac_pwd ;; 1500 [\\/]* | ?:[\\/]* ) # Absolute name. 1501 ac_srcdir=$srcdir$ac_dir_suffix; 1502 ac_top_srcdir=$srcdir 1503 ac_abs_top_srcdir=$srcdir ;; 1504 *) # Relative name. 1505 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1506 ac_top_srcdir=$ac_top_build_prefix$srcdir 1507 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1508esac 1509ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1510 1511 cd "$ac_dir" || { ac_status=$?; continue; } 1512 # Check for configure.gnu first; this name is used for a wrapper for 1513 # Metaconfig's "Configure" on case-insensitive file systems. 1514 if test -f "$ac_srcdir/configure.gnu"; then 1515 echo && 1516 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1517 elif test -f "$ac_srcdir/configure"; then 1518 echo && 1519 $SHELL "$ac_srcdir/configure" --help=recursive 1520 else 1521 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1522 fi || ac_status=$? 1523 cd "$ac_pwd" || { ac_status=$?; break; } 1524 done 1525fi 1526 1527test -n "$ac_init_help" && exit $ac_status 1528if $ac_init_version; then 1529 cat <<\_ACEOF 1530ndisc6 configure 1.0.5 1531generated by GNU Autoconf 2.71 1532 1533Copyright (C) 2021 Free Software Foundation, Inc. 1534This configure script is free software; the Free Software Foundation 1535gives unlimited permission to copy, distribute and modify it. 1536 1537Copyright (C) 2005-2021 Remi Denis-Courmont 1538_ACEOF 1539 exit 1540fi 1541 1542## ------------------------ ## 1543## Autoconf initialization. ## 1544## ------------------------ ## 1545 1546# ac_fn_c_try_compile LINENO 1547# -------------------------- 1548# Try to compile conftest.$ac_ext, and return whether this succeeded. 1549ac_fn_c_try_compile () 1550{ 1551 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1552 rm -f conftest.$ac_objext conftest.beam 1553 if { { ac_try="$ac_compile" 1554case "(($ac_try" in 1555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1556 *) ac_try_echo=$ac_try;; 1557esac 1558eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1559printf "%s\n" "$ac_try_echo"; } >&5 1560 (eval "$ac_compile") 2>conftest.err 1561 ac_status=$? 1562 if test -s conftest.err; then 1563 grep -v '^ *+' conftest.err >conftest.er1 1564 cat conftest.er1 >&5 1565 mv -f conftest.er1 conftest.err 1566 fi 1567 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1568 test $ac_status = 0; } && { 1569 test -z "$ac_c_werror_flag" || 1570 test ! -s conftest.err 1571 } && test -s conftest.$ac_objext 1572then : 1573 ac_retval=0 1574else $as_nop 1575 printf "%s\n" "$as_me: failed program was:" >&5 1576sed 's/^/| /' conftest.$ac_ext >&5 1577 1578 ac_retval=1 1579fi 1580 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1581 as_fn_set_status $ac_retval 1582 1583} # ac_fn_c_try_compile 1584 1585# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1586# ------------------------------------------------------- 1587# Tests whether HEADER exists and can be compiled using the include files in 1588# INCLUDES, setting the cache variable VAR accordingly. 1589ac_fn_c_check_header_compile () 1590{ 1591 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1593printf %s "checking for $2... " >&6; } 1594if eval test \${$3+y} 1595then : 1596 printf %s "(cached) " >&6 1597else $as_nop 1598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1599/* end confdefs.h. */ 1600$4 1601#include <$2> 1602_ACEOF 1603if ac_fn_c_try_compile "$LINENO" 1604then : 1605 eval "$3=yes" 1606else $as_nop 1607 eval "$3=no" 1608fi 1609rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 1610fi 1611eval ac_res=\$$3 1612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1613printf "%s\n" "$ac_res" >&6; } 1614 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1615 1616} # ac_fn_c_check_header_compile 1617 1618# ac_fn_c_try_link LINENO 1619# ----------------------- 1620# Try to link conftest.$ac_ext, and return whether this succeeded. 1621ac_fn_c_try_link () 1622{ 1623 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1624 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext 1625 if { { ac_try="$ac_link" 1626case "(($ac_try" in 1627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1628 *) ac_try_echo=$ac_try;; 1629esac 1630eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1631printf "%s\n" "$ac_try_echo"; } >&5 1632 (eval "$ac_link") 2>conftest.err 1633 ac_status=$? 1634 if test -s conftest.err; then 1635 grep -v '^ *+' conftest.err >conftest.er1 1636 cat conftest.er1 >&5 1637 mv -f conftest.er1 conftest.err 1638 fi 1639 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1640 test $ac_status = 0; } && { 1641 test -z "$ac_c_werror_flag" || 1642 test ! -s conftest.err 1643 } && test -s conftest$ac_exeext && { 1644 test "$cross_compiling" = yes || 1645 test -x conftest$ac_exeext 1646 } 1647then : 1648 ac_retval=0 1649else $as_nop 1650 printf "%s\n" "$as_me: failed program was:" >&5 1651sed 's/^/| /' conftest.$ac_ext >&5 1652 1653 ac_retval=1 1654fi 1655 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1656 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1657 # interfere with the next link command; also delete a directory that is 1658 # left behind by Apple's compiler. We do this before executing the actions. 1659 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1660 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1661 as_fn_set_status $ac_retval 1662 1663} # ac_fn_c_try_link 1664 1665# ac_fn_c_try_cpp LINENO 1666# ---------------------- 1667# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1668ac_fn_c_try_cpp () 1669{ 1670 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1671 if { { ac_try="$ac_cpp conftest.$ac_ext" 1672case "(($ac_try" in 1673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1674 *) ac_try_echo=$ac_try;; 1675esac 1676eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1677printf "%s\n" "$ac_try_echo"; } >&5 1678 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1679 ac_status=$? 1680 if test -s conftest.err; then 1681 grep -v '^ *+' conftest.err >conftest.er1 1682 cat conftest.er1 >&5 1683 mv -f conftest.er1 conftest.err 1684 fi 1685 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1686 test $ac_status = 0; } > conftest.i && { 1687 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1688 test ! -s conftest.err 1689 } 1690then : 1691 ac_retval=0 1692else $as_nop 1693 printf "%s\n" "$as_me: failed program was:" >&5 1694sed 's/^/| /' conftest.$ac_ext >&5 1695 1696 ac_retval=1 1697fi 1698 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1699 as_fn_set_status $ac_retval 1700 1701} # ac_fn_c_try_cpp 1702 1703# ac_fn_c_try_run LINENO 1704# ---------------------- 1705# Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that 1706# executables *can* be run. 1707ac_fn_c_try_run () 1708{ 1709 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1710 if { { ac_try="$ac_link" 1711case "(($ac_try" in 1712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1713 *) ac_try_echo=$ac_try;; 1714esac 1715eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1716printf "%s\n" "$ac_try_echo"; } >&5 1717 (eval "$ac_link") 2>&5 1718 ac_status=$? 1719 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1720 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1721 { { case "(($ac_try" in 1722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1723 *) ac_try_echo=$ac_try;; 1724esac 1725eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1726printf "%s\n" "$ac_try_echo"; } >&5 1727 (eval "$ac_try") 2>&5 1728 ac_status=$? 1729 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1730 test $ac_status = 0; }; } 1731then : 1732 ac_retval=0 1733else $as_nop 1734 printf "%s\n" "$as_me: program exited with status $ac_status" >&5 1735 printf "%s\n" "$as_me: failed program was:" >&5 1736sed 's/^/| /' conftest.$ac_ext >&5 1737 1738 ac_retval=$ac_status 1739fi 1740 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1741 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1742 as_fn_set_status $ac_retval 1743 1744} # ac_fn_c_try_run 1745 1746# ac_fn_c_check_func LINENO FUNC VAR 1747# ---------------------------------- 1748# Tests whether FUNC exists, setting the cache variable VAR accordingly 1749ac_fn_c_check_func () 1750{ 1751 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1753printf %s "checking for $2... " >&6; } 1754if eval test \${$3+y} 1755then : 1756 printf %s "(cached) " >&6 1757else $as_nop 1758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1759/* end confdefs.h. */ 1760/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1761 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1762#define $2 innocuous_$2 1763 1764/* System header to define __stub macros and hopefully few prototypes, 1765 which can conflict with char $2 (); below. */ 1766 1767#include <limits.h> 1768#undef $2 1769 1770/* Override any GCC internal prototype to avoid an error. 1771 Use char because int might match the return type of a GCC 1772 builtin and then its argument prototype would still apply. */ 1773#ifdef __cplusplus 1774extern "C" 1775#endif 1776char $2 (); 1777/* The GNU C library defines this for functions which it implements 1778 to always fail with ENOSYS. Some functions are actually named 1779 something starting with __ and the normal name is an alias. */ 1780#if defined __stub_$2 || defined __stub___$2 1781choke me 1782#endif 1783 1784int 1785main (void) 1786{ 1787return $2 (); 1788 ; 1789 return 0; 1790} 1791_ACEOF 1792if ac_fn_c_try_link "$LINENO" 1793then : 1794 eval "$3=yes" 1795else $as_nop 1796 eval "$3=no" 1797fi 1798rm -f core conftest.err conftest.$ac_objext conftest.beam \ 1799 conftest$ac_exeext conftest.$ac_ext 1800fi 1801eval ac_res=\$$3 1802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1803printf "%s\n" "$ac_res" >&6; } 1804 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1805 1806} # ac_fn_c_check_func 1807ac_configure_args_raw= 1808for ac_arg 1809do 1810 case $ac_arg in 1811 *\'*) 1812 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1813 esac 1814 as_fn_append ac_configure_args_raw " '$ac_arg'" 1815done 1816 1817case $ac_configure_args_raw in 1818 *$as_nl*) 1819 ac_safe_unquote= ;; 1820 *) 1821 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. 1822 ac_unsafe_a="$ac_unsafe_z#~" 1823 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" 1824 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; 1825esac 1826 1827cat >config.log <<_ACEOF 1828This file contains any messages produced by compilers while 1829running configure, to aid debugging if configure makes a mistake. 1830 1831It was created by ndisc6 $as_me 1.0.5, which was 1832generated by GNU Autoconf 2.71. Invocation command line was 1833 1834 $ $0$ac_configure_args_raw 1835 1836_ACEOF 1837exec 5>>config.log 1838{ 1839cat <<_ASUNAME 1840## --------- ## 1841## Platform. ## 1842## --------- ## 1843 1844hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1845uname -m = `(uname -m) 2>/dev/null || echo unknown` 1846uname -r = `(uname -r) 2>/dev/null || echo unknown` 1847uname -s = `(uname -s) 2>/dev/null || echo unknown` 1848uname -v = `(uname -v) 2>/dev/null || echo unknown` 1849 1850/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1851/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1852 1853/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1854/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1855/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1856/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1857/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1858/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1859/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1860 1861_ASUNAME 1862 1863as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1864for as_dir in $PATH 1865do 1866 IFS=$as_save_IFS 1867 case $as_dir in #((( 1868 '') as_dir=./ ;; 1869 */) ;; 1870 *) as_dir=$as_dir/ ;; 1871 esac 1872 printf "%s\n" "PATH: $as_dir" 1873 done 1874IFS=$as_save_IFS 1875 1876} >&5 1877 1878cat >&5 <<_ACEOF 1879 1880 1881## ----------- ## 1882## Core tests. ## 1883## ----------- ## 1884 1885_ACEOF 1886 1887 1888# Keep a trace of the command line. 1889# Strip out --no-create and --no-recursion so they do not pile up. 1890# Strip out --silent because we don't want to record it for future runs. 1891# Also quote any args containing shell meta-characters. 1892# Make two passes to allow for proper duplicate-argument suppression. 1893ac_configure_args= 1894ac_configure_args0= 1895ac_configure_args1= 1896ac_must_keep_next=false 1897for ac_pass in 1 2 1898do 1899 for ac_arg 1900 do 1901 case $ac_arg in 1902 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1903 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1904 | -silent | --silent | --silen | --sile | --sil) 1905 continue ;; 1906 *\'*) 1907 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1908 esac 1909 case $ac_pass in 1910 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1911 2) 1912 as_fn_append ac_configure_args1 " '$ac_arg'" 1913 if test $ac_must_keep_next = true; then 1914 ac_must_keep_next=false # Got value, back to normal. 1915 else 1916 case $ac_arg in 1917 *=* | --config-cache | -C | -disable-* | --disable-* \ 1918 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1919 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1920 | -with-* | --with-* | -without-* | --without-* | --x) 1921 case "$ac_configure_args0 " in 1922 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1923 esac 1924 ;; 1925 -* ) ac_must_keep_next=true ;; 1926 esac 1927 fi 1928 as_fn_append ac_configure_args " '$ac_arg'" 1929 ;; 1930 esac 1931 done 1932done 1933{ ac_configure_args0=; unset ac_configure_args0;} 1934{ ac_configure_args1=; unset ac_configure_args1;} 1935 1936# When interrupted or exit'd, cleanup temporary files, and complete 1937# config.log. We remove comments because anyway the quotes in there 1938# would cause problems or look ugly. 1939# WARNING: Use '\'' to represent an apostrophe within the trap. 1940# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1941trap 'exit_status=$? 1942 # Sanitize IFS. 1943 IFS=" "" $as_nl" 1944 # Save into config.log some information that might help in debugging. 1945 { 1946 echo 1947 1948 printf "%s\n" "## ---------------- ## 1949## Cache variables. ## 1950## ---------------- ##" 1951 echo 1952 # The following way of writing the cache mishandles newlines in values, 1953( 1954 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1955 eval ac_val=\$$ac_var 1956 case $ac_val in #( 1957 *${as_nl}*) 1958 case $ac_var in #( 1959 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1960printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1961 esac 1962 case $ac_var in #( 1963 _ | IFS | as_nl) ;; #( 1964 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1965 *) { eval $ac_var=; unset $ac_var;} ;; 1966 esac ;; 1967 esac 1968 done 1969 (set) 2>&1 | 1970 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1971 *${as_nl}ac_space=\ *) 1972 sed -n \ 1973 "s/'\''/'\''\\\\'\'''\''/g; 1974 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1975 ;; #( 1976 *) 1977 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1978 ;; 1979 esac | 1980 sort 1981) 1982 echo 1983 1984 printf "%s\n" "## ----------------- ## 1985## Output variables. ## 1986## ----------------- ##" 1987 echo 1988 for ac_var in $ac_subst_vars 1989 do 1990 eval ac_val=\$$ac_var 1991 case $ac_val in 1992 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1993 esac 1994 printf "%s\n" "$ac_var='\''$ac_val'\''" 1995 done | sort 1996 echo 1997 1998 if test -n "$ac_subst_files"; then 1999 printf "%s\n" "## ------------------- ## 2000## File substitutions. ## 2001## ------------------- ##" 2002 echo 2003 for ac_var in $ac_subst_files 2004 do 2005 eval ac_val=\$$ac_var 2006 case $ac_val in 2007 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2008 esac 2009 printf "%s\n" "$ac_var='\''$ac_val'\''" 2010 done | sort 2011 echo 2012 fi 2013 2014 if test -s confdefs.h; then 2015 printf "%s\n" "## ----------- ## 2016## confdefs.h. ## 2017## ----------- ##" 2018 echo 2019 cat confdefs.h 2020 echo 2021 fi 2022 test "$ac_signal" != 0 && 2023 printf "%s\n" "$as_me: caught signal $ac_signal" 2024 printf "%s\n" "$as_me: exit $exit_status" 2025 } >&5 2026 rm -f core *.core core.conftest.* && 2027 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2028 exit $exit_status 2029' 0 2030for ac_signal in 1 2 13 15; do 2031 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2032done 2033ac_signal=0 2034 2035# confdefs.h avoids OS command line length limits that DEFS can exceed. 2036rm -f -r conftest* confdefs.h 2037 2038printf "%s\n" "/* confdefs.h */" > confdefs.h 2039 2040# Predefined preprocessor variables. 2041 2042printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h 2043 2044printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h 2045 2046printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h 2047 2048printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h 2049 2050printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h 2051 2052printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h 2053 2054 2055# Let the site file select an alternate cache file if it wants to. 2056# Prefer an explicitly selected file to automatically selected ones. 2057if test -n "$CONFIG_SITE"; then 2058 ac_site_files="$CONFIG_SITE" 2059elif test "x$prefix" != xNONE; then 2060 ac_site_files="$prefix/share/config.site $prefix/etc/config.site" 2061else 2062 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 2063fi 2064 2065for ac_site_file in $ac_site_files 2066do 2067 case $ac_site_file in #( 2068 */*) : 2069 ;; #( 2070 *) : 2071 ac_site_file=./$ac_site_file ;; 2072esac 2073 if test -f "$ac_site_file" && test -r "$ac_site_file"; then 2074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2075printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} 2076 sed 's/^/| /' "$ac_site_file" >&5 2077 . "$ac_site_file" \ 2078 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2079printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 2080as_fn_error $? "failed to load site script $ac_site_file 2081See \`config.log' for more details" "$LINENO" 5; } 2082 fi 2083done 2084 2085if test -r "$cache_file"; then 2086 # Some versions of bash will fail to source /dev/null (special files 2087 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2088 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2090printf "%s\n" "$as_me: loading cache $cache_file" >&6;} 2091 case $cache_file in 2092 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2093 *) . "./$cache_file";; 2094 esac 2095 fi 2096else 2097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2098printf "%s\n" "$as_me: creating cache $cache_file" >&6;} 2099 >$cache_file 2100fi 2101 2102# Test code for whether the C compiler supports C89 (global declarations) 2103ac_c_conftest_c89_globals=' 2104/* Does the compiler advertise C89 conformance? 2105 Do not test the value of __STDC__, because some compilers set it to 0 2106 while being otherwise adequately conformant. */ 2107#if !defined __STDC__ 2108# error "Compiler does not advertise C89 conformance" 2109#endif 2110 2111#include <stddef.h> 2112#include <stdarg.h> 2113struct stat; 2114/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ 2115struct buf { int x; }; 2116struct buf * (*rcsopen) (struct buf *, struct stat *, int); 2117static char *e (p, i) 2118 char **p; 2119 int i; 2120{ 2121 return p[i]; 2122} 2123static char *f (char * (*g) (char **, int), char **p, ...) 2124{ 2125 char *s; 2126 va_list v; 2127 va_start (v,p); 2128 s = g (p, va_arg (v,int)); 2129 va_end (v); 2130 return s; 2131} 2132 2133/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2134 function prototypes and stuff, but not \xHH hex character constants. 2135 These do not provoke an error unfortunately, instead are silently treated 2136 as an "x". The following induces an error, until -std is added to get 2137 proper ANSI mode. Curiously \x00 != x always comes out true, for an 2138 array size at least. It is necessary to write \x00 == 0 to get something 2139 that is true only with -std. */ 2140int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; 2141 2142/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2143 inside strings and character constants. */ 2144#define FOO(x) '\''x'\'' 2145int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; 2146 2147int test (int i, double x); 2148struct s1 {int (*f) (int a);}; 2149struct s2 {int (*f) (double a);}; 2150int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), 2151 int, int);' 2152 2153# Test code for whether the C compiler supports C89 (body of main). 2154ac_c_conftest_c89_main=' 2155ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); 2156' 2157 2158# Test code for whether the C compiler supports C99 (global declarations) 2159ac_c_conftest_c99_globals=' 2160// Does the compiler advertise C99 conformance? 2161#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L 2162# error "Compiler does not advertise C99 conformance" 2163#endif 2164 2165#include <stdbool.h> 2166extern int puts (const char *); 2167extern int printf (const char *, ...); 2168extern int dprintf (int, const char *, ...); 2169extern void *malloc (size_t); 2170 2171// Check varargs macros. These examples are taken from C99 6.10.3.5. 2172// dprintf is used instead of fprintf to avoid needing to declare 2173// FILE and stderr. 2174#define debug(...) dprintf (2, __VA_ARGS__) 2175#define showlist(...) puts (#__VA_ARGS__) 2176#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 2177static void 2178test_varargs_macros (void) 2179{ 2180 int x = 1234; 2181 int y = 5678; 2182 debug ("Flag"); 2183 debug ("X = %d\n", x); 2184 showlist (The first, second, and third items.); 2185 report (x>y, "x is %d but y is %d", x, y); 2186} 2187 2188// Check long long types. 2189#define BIG64 18446744073709551615ull 2190#define BIG32 4294967295ul 2191#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 2192#if !BIG_OK 2193 #error "your preprocessor is broken" 2194#endif 2195#if BIG_OK 2196#else 2197 #error "your preprocessor is broken" 2198#endif 2199static long long int bignum = -9223372036854775807LL; 2200static unsigned long long int ubignum = BIG64; 2201 2202struct incomplete_array 2203{ 2204 int datasize; 2205 double data[]; 2206}; 2207 2208struct named_init { 2209 int number; 2210 const wchar_t *name; 2211 double average; 2212}; 2213 2214typedef const char *ccp; 2215 2216static inline int 2217test_restrict (ccp restrict text) 2218{ 2219 // See if C++-style comments work. 2220 // Iterate through items via the restricted pointer. 2221 // Also check for declarations in for loops. 2222 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) 2223 continue; 2224 return 0; 2225} 2226 2227// Check varargs and va_copy. 2228static bool 2229test_varargs (const char *format, ...) 2230{ 2231 va_list args; 2232 va_start (args, format); 2233 va_list args_copy; 2234 va_copy (args_copy, args); 2235 2236 const char *str = ""; 2237 int number = 0; 2238 float fnumber = 0; 2239 2240 while (*format) 2241 { 2242 switch (*format++) 2243 { 2244 case '\''s'\'': // string 2245 str = va_arg (args_copy, const char *); 2246 break; 2247 case '\''d'\'': // int 2248 number = va_arg (args_copy, int); 2249 break; 2250 case '\''f'\'': // float 2251 fnumber = va_arg (args_copy, double); 2252 break; 2253 default: 2254 break; 2255 } 2256 } 2257 va_end (args_copy); 2258 va_end (args); 2259 2260 return *str && number && fnumber; 2261} 2262' 2263 2264# Test code for whether the C compiler supports C99 (body of main). 2265ac_c_conftest_c99_main=' 2266 // Check bool. 2267 _Bool success = false; 2268 success |= (argc != 0); 2269 2270 // Check restrict. 2271 if (test_restrict ("String literal") == 0) 2272 success = true; 2273 char *restrict newvar = "Another string"; 2274 2275 // Check varargs. 2276 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); 2277 test_varargs_macros (); 2278 2279 // Check flexible array members. 2280 struct incomplete_array *ia = 2281 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 2282 ia->datasize = 10; 2283 for (int i = 0; i < ia->datasize; ++i) 2284 ia->data[i] = i * 1.234; 2285 2286 // Check named initializers. 2287 struct named_init ni = { 2288 .number = 34, 2289 .name = L"Test wide string", 2290 .average = 543.34343, 2291 }; 2292 2293 ni.number = 58; 2294 2295 int dynamic_array[ni.number]; 2296 dynamic_array[0] = argv[0][0]; 2297 dynamic_array[ni.number - 1] = 543; 2298 2299 // work around unused variable warnings 2300 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' 2301 || dynamic_array[ni.number - 1] != 543); 2302' 2303 2304# Test code for whether the C compiler supports C11 (global declarations) 2305ac_c_conftest_c11_globals=' 2306// Does the compiler advertise C11 conformance? 2307#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L 2308# error "Compiler does not advertise C11 conformance" 2309#endif 2310 2311// Check _Alignas. 2312char _Alignas (double) aligned_as_double; 2313char _Alignas (0) no_special_alignment; 2314extern char aligned_as_int; 2315char _Alignas (0) _Alignas (int) aligned_as_int; 2316 2317// Check _Alignof. 2318enum 2319{ 2320 int_alignment = _Alignof (int), 2321 int_array_alignment = _Alignof (int[100]), 2322 char_alignment = _Alignof (char) 2323}; 2324_Static_assert (0 < -_Alignof (int), "_Alignof is signed"); 2325 2326// Check _Noreturn. 2327int _Noreturn does_not_return (void) { for (;;) continue; } 2328 2329// Check _Static_assert. 2330struct test_static_assert 2331{ 2332 int x; 2333 _Static_assert (sizeof (int) <= sizeof (long int), 2334 "_Static_assert does not work in struct"); 2335 long int y; 2336}; 2337 2338// Check UTF-8 literals. 2339#define u8 syntax error! 2340char const utf8_literal[] = u8"happens to be ASCII" "another string"; 2341 2342// Check duplicate typedefs. 2343typedef long *long_ptr; 2344typedef long int *long_ptr; 2345typedef long_ptr long_ptr; 2346 2347// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. 2348struct anonymous 2349{ 2350 union { 2351 struct { int i; int j; }; 2352 struct { int k; long int l; } w; 2353 }; 2354 int m; 2355} v1; 2356' 2357 2358# Test code for whether the C compiler supports C11 (body of main). 2359ac_c_conftest_c11_main=' 2360 _Static_assert ((offsetof (struct anonymous, i) 2361 == offsetof (struct anonymous, w.k)), 2362 "Anonymous union alignment botch"); 2363 v1.i = 2; 2364 v1.w.k = 5; 2365 ok |= v1.i != 5; 2366' 2367 2368# Test code for whether the C compiler supports C11 (complete). 2369ac_c_conftest_c11_program="${ac_c_conftest_c89_globals} 2370${ac_c_conftest_c99_globals} 2371${ac_c_conftest_c11_globals} 2372 2373int 2374main (int argc, char **argv) 2375{ 2376 int ok = 0; 2377 ${ac_c_conftest_c89_main} 2378 ${ac_c_conftest_c99_main} 2379 ${ac_c_conftest_c11_main} 2380 return ok; 2381} 2382" 2383 2384# Test code for whether the C compiler supports C99 (complete). 2385ac_c_conftest_c99_program="${ac_c_conftest_c89_globals} 2386${ac_c_conftest_c99_globals} 2387 2388int 2389main (int argc, char **argv) 2390{ 2391 int ok = 0; 2392 ${ac_c_conftest_c89_main} 2393 ${ac_c_conftest_c99_main} 2394 return ok; 2395} 2396" 2397 2398# Test code for whether the C compiler supports C89 (complete). 2399ac_c_conftest_c89_program="${ac_c_conftest_c89_globals} 2400 2401int 2402main (int argc, char **argv) 2403{ 2404 int ok = 0; 2405 ${ac_c_conftest_c89_main} 2406 return ok; 2407} 2408" 2409 2410as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" 2411as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" 2412as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" 2413as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" 2414as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" 2415as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" 2416as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" 2417as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" 2418as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" 2419as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" 2420as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" 2421gt_needs="$gt_needs need-ngettext" 2422 2423# Auxiliary files required by this configure script. 2424ac_aux_files="config.guess config.sub config.rpath missing install-sh ar-lib compile" 2425 2426# Locations in which to look for auxiliary files. 2427ac_aux_dir_candidates="${srcdir}/admin" 2428 2429# Search for a directory containing all of the required auxiliary files, 2430# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. 2431# If we don't find one directory that contains all the files we need, 2432# we report the set of missing files from the *first* directory in 2433# $ac_aux_dir_candidates and give up. 2434ac_missing_aux_files="" 2435ac_first_candidate=: 2436printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 2437as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2438as_found=false 2439for as_dir in $ac_aux_dir_candidates 2440do 2441 IFS=$as_save_IFS 2442 case $as_dir in #((( 2443 '') as_dir=./ ;; 2444 */) ;; 2445 *) as_dir=$as_dir/ ;; 2446 esac 2447 as_found=: 2448 2449 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 2450 ac_aux_dir_found=yes 2451 ac_install_sh= 2452 for ac_aux in $ac_aux_files 2453 do 2454 # As a special case, if "install-sh" is required, that requirement 2455 # can be satisfied by any of "install-sh", "install.sh", or "shtool", 2456 # and $ac_install_sh is set appropriately for whichever one is found. 2457 if test x"$ac_aux" = x"install-sh" 2458 then 2459 if test -f "${as_dir}install-sh"; then 2460 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 2461 ac_install_sh="${as_dir}install-sh -c" 2462 elif test -f "${as_dir}install.sh"; then 2463 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 2464 ac_install_sh="${as_dir}install.sh -c" 2465 elif test -f "${as_dir}shtool"; then 2466 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 2467 ac_install_sh="${as_dir}shtool install -c" 2468 else 2469 ac_aux_dir_found=no 2470 if $ac_first_candidate; then 2471 ac_missing_aux_files="${ac_missing_aux_files} install-sh" 2472 else 2473 break 2474 fi 2475 fi 2476 else 2477 if test -f "${as_dir}${ac_aux}"; then 2478 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 2479 else 2480 ac_aux_dir_found=no 2481 if $ac_first_candidate; then 2482 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" 2483 else 2484 break 2485 fi 2486 fi 2487 fi 2488 done 2489 if test "$ac_aux_dir_found" = yes; then 2490 ac_aux_dir="$as_dir" 2491 break 2492 fi 2493 ac_first_candidate=false 2494 2495 as_found=false 2496done 2497IFS=$as_save_IFS 2498if $as_found 2499then : 2500 2501else $as_nop 2502 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 2503fi 2504 2505 2506# These three variables are undocumented and unsupported, 2507# and are intended to be withdrawn in a future Autoconf release. 2508# They can cause serious problems if a builder's source tree is in a directory 2509# whose full name contains unusual characters. 2510if test -f "${ac_aux_dir}config.guess"; then 2511 ac_config_guess="$SHELL ${ac_aux_dir}config.guess" 2512fi 2513if test -f "${ac_aux_dir}config.sub"; then 2514 ac_config_sub="$SHELL ${ac_aux_dir}config.sub" 2515fi 2516if test -f "$ac_aux_dir/configure"; then 2517 ac_configure="$SHELL ${ac_aux_dir}configure" 2518fi 2519 2520# Check that the precious variables saved in the cache have kept the same 2521# value. 2522ac_cache_corrupted=false 2523for ac_var in $ac_precious_vars; do 2524 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2525 eval ac_new_set=\$ac_env_${ac_var}_set 2526 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2527 eval ac_new_val=\$ac_env_${ac_var}_value 2528 case $ac_old_set,$ac_new_set in 2529 set,) 2530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2531printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2532 ac_cache_corrupted=: ;; 2533 ,set) 2534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2535printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2536 ac_cache_corrupted=: ;; 2537 ,);; 2538 *) 2539 if test "x$ac_old_val" != "x$ac_new_val"; then 2540 # differences in whitespace do not lead to failure. 2541 ac_old_val_w=`echo x $ac_old_val` 2542 ac_new_val_w=`echo x $ac_new_val` 2543 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2545printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2546 ac_cache_corrupted=: 2547 else 2548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2549printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2550 eval $ac_var=\$ac_old_val 2551 fi 2552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2553printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} 2554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2555printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} 2556 fi;; 2557 esac 2558 # Pass precious variables to config.status. 2559 if test "$ac_new_set" = set; then 2560 case $ac_new_val in 2561 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2562 *) ac_arg=$ac_var=$ac_new_val ;; 2563 esac 2564 case " $ac_configure_args " in 2565 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2566 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2567 esac 2568 fi 2569done 2570if $ac_cache_corrupted; then 2571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2572printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 2573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2574printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} 2575 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' 2576 and start over" "$LINENO" 5 2577fi 2578## -------------------- ## 2579## Main body of script. ## 2580## -------------------- ## 2581 2582ac_ext=c 2583ac_cpp='$CPP $CPPFLAGS' 2584ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2585ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2586ac_compiler_gnu=$ac_cv_c_compiler_gnu 2587 2588 2589 2590INVOCATION="`echo "$0 $ac_configure_args" | sed -e 's/\\\/\\\\\\\/g'`" 2591 2592{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking system..." >&5 2593printf "%s\n" "$as_me: checking system..." >&6;} 2594 2595 2596 2597 2598ac_config_headers="$ac_config_headers config.h" 2599 2600 2601 2602printf "%s\n" "#define PACKAGE_CONFIGURE_INVOCATION \"$INVOCATION\"" >>confdefs.h 2603 2604{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for build hostname" >&5 2605printf %s "checking for build hostname... " >&6; } 2606if test ${rdc_cv_build_hostname+y} 2607then : 2608 printf %s "(cached) " >&6 2609else $as_nop 2610 rdc_cv_build_hostname=`hostname -f 2>/dev/null || uname -n 2>/dev/null || hostname 2>/dev/null || echo "unknown"` 2611 2612fi 2613{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rdc_cv_build_hostname" >&5 2614printf "%s\n" "$rdc_cv_build_hostname" >&6; } 2615 2616printf "%s\n" "#define PACKAGE_BUILD_HOSTNAME \"$rdc_cv_build_hostname\"" >>confdefs.h 2617 2618 2619 2620 2621# Checks for programs. 2622{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking required programs..." >&5 2623printf "%s\n" "$as_me: checking required programs..." >&6;} 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635# Expand $ac_aux_dir to an absolute path. 2636am_aux_dir=`cd "$ac_aux_dir" && pwd` 2637 2638ac_ext=c 2639ac_cpp='$CPP $CPPFLAGS' 2640ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2641ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2642ac_compiler_gnu=$ac_cv_c_compiler_gnu 2643if test -n "$ac_tool_prefix"; then 2644 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2645set dummy ${ac_tool_prefix}gcc; ac_word=$2 2646{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2647printf %s "checking for $ac_word... " >&6; } 2648if test ${ac_cv_prog_CC+y} 2649then : 2650 printf %s "(cached) " >&6 2651else $as_nop 2652 if test -n "$CC"; then 2653 ac_cv_prog_CC="$CC" # Let the user override the test. 2654else 2655as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2656for as_dir in $PATH 2657do 2658 IFS=$as_save_IFS 2659 case $as_dir in #((( 2660 '') as_dir=./ ;; 2661 */) ;; 2662 *) as_dir=$as_dir/ ;; 2663 esac 2664 for ac_exec_ext in '' $ac_executable_extensions; do 2665 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2666 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2667 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2668 break 2 2669 fi 2670done 2671 done 2672IFS=$as_save_IFS 2673 2674fi 2675fi 2676CC=$ac_cv_prog_CC 2677if test -n "$CC"; then 2678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2679printf "%s\n" "$CC" >&6; } 2680else 2681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2682printf "%s\n" "no" >&6; } 2683fi 2684 2685 2686fi 2687if test -z "$ac_cv_prog_CC"; then 2688 ac_ct_CC=$CC 2689 # Extract the first word of "gcc", so it can be a program name with args. 2690set dummy gcc; ac_word=$2 2691{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2692printf %s "checking for $ac_word... " >&6; } 2693if test ${ac_cv_prog_ac_ct_CC+y} 2694then : 2695 printf %s "(cached) " >&6 2696else $as_nop 2697 if test -n "$ac_ct_CC"; then 2698 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2699else 2700as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2701for as_dir in $PATH 2702do 2703 IFS=$as_save_IFS 2704 case $as_dir in #((( 2705 '') as_dir=./ ;; 2706 */) ;; 2707 *) as_dir=$as_dir/ ;; 2708 esac 2709 for ac_exec_ext in '' $ac_executable_extensions; do 2710 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2711 ac_cv_prog_ac_ct_CC="gcc" 2712 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2713 break 2 2714 fi 2715done 2716 done 2717IFS=$as_save_IFS 2718 2719fi 2720fi 2721ac_ct_CC=$ac_cv_prog_ac_ct_CC 2722if test -n "$ac_ct_CC"; then 2723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2724printf "%s\n" "$ac_ct_CC" >&6; } 2725else 2726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2727printf "%s\n" "no" >&6; } 2728fi 2729 2730 if test "x$ac_ct_CC" = x; then 2731 CC="" 2732 else 2733 case $cross_compiling:$ac_tool_warned in 2734yes:) 2735{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2736printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2737ac_tool_warned=yes ;; 2738esac 2739 CC=$ac_ct_CC 2740 fi 2741else 2742 CC="$ac_cv_prog_CC" 2743fi 2744 2745if test -z "$CC"; then 2746 if test -n "$ac_tool_prefix"; then 2747 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2748set dummy ${ac_tool_prefix}cc; ac_word=$2 2749{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2750printf %s "checking for $ac_word... " >&6; } 2751if test ${ac_cv_prog_CC+y} 2752then : 2753 printf %s "(cached) " >&6 2754else $as_nop 2755 if test -n "$CC"; then 2756 ac_cv_prog_CC="$CC" # Let the user override the test. 2757else 2758as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2759for as_dir in $PATH 2760do 2761 IFS=$as_save_IFS 2762 case $as_dir in #((( 2763 '') as_dir=./ ;; 2764 */) ;; 2765 *) as_dir=$as_dir/ ;; 2766 esac 2767 for ac_exec_ext in '' $ac_executable_extensions; do 2768 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2769 ac_cv_prog_CC="${ac_tool_prefix}cc" 2770 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2771 break 2 2772 fi 2773done 2774 done 2775IFS=$as_save_IFS 2776 2777fi 2778fi 2779CC=$ac_cv_prog_CC 2780if test -n "$CC"; then 2781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2782printf "%s\n" "$CC" >&6; } 2783else 2784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2785printf "%s\n" "no" >&6; } 2786fi 2787 2788 2789 fi 2790fi 2791if test -z "$CC"; then 2792 # Extract the first word of "cc", so it can be a program name with args. 2793set dummy cc; ac_word=$2 2794{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2795printf %s "checking for $ac_word... " >&6; } 2796if test ${ac_cv_prog_CC+y} 2797then : 2798 printf %s "(cached) " >&6 2799else $as_nop 2800 if test -n "$CC"; then 2801 ac_cv_prog_CC="$CC" # Let the user override the test. 2802else 2803 ac_prog_rejected=no 2804as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2805for as_dir in $PATH 2806do 2807 IFS=$as_save_IFS 2808 case $as_dir in #((( 2809 '') as_dir=./ ;; 2810 */) ;; 2811 *) as_dir=$as_dir/ ;; 2812 esac 2813 for ac_exec_ext in '' $ac_executable_extensions; do 2814 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2815 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2816 ac_prog_rejected=yes 2817 continue 2818 fi 2819 ac_cv_prog_CC="cc" 2820 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2821 break 2 2822 fi 2823done 2824 done 2825IFS=$as_save_IFS 2826 2827if test $ac_prog_rejected = yes; then 2828 # We found a bogon in the path, so make sure we never use it. 2829 set dummy $ac_cv_prog_CC 2830 shift 2831 if test $# != 0; then 2832 # We chose a different compiler from the bogus one. 2833 # However, it has the same basename, so the bogon will be chosen 2834 # first if we set CC to just the basename; use the full file name. 2835 shift 2836 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" 2837 fi 2838fi 2839fi 2840fi 2841CC=$ac_cv_prog_CC 2842if test -n "$CC"; then 2843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2844printf "%s\n" "$CC" >&6; } 2845else 2846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2847printf "%s\n" "no" >&6; } 2848fi 2849 2850 2851fi 2852if test -z "$CC"; then 2853 if test -n "$ac_tool_prefix"; then 2854 for ac_prog in cl.exe 2855 do 2856 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2857set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2858{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2859printf %s "checking for $ac_word... " >&6; } 2860if test ${ac_cv_prog_CC+y} 2861then : 2862 printf %s "(cached) " >&6 2863else $as_nop 2864 if test -n "$CC"; then 2865 ac_cv_prog_CC="$CC" # Let the user override the test. 2866else 2867as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2868for as_dir in $PATH 2869do 2870 IFS=$as_save_IFS 2871 case $as_dir in #((( 2872 '') as_dir=./ ;; 2873 */) ;; 2874 *) as_dir=$as_dir/ ;; 2875 esac 2876 for ac_exec_ext in '' $ac_executable_extensions; do 2877 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2878 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2879 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2880 break 2 2881 fi 2882done 2883 done 2884IFS=$as_save_IFS 2885 2886fi 2887fi 2888CC=$ac_cv_prog_CC 2889if test -n "$CC"; then 2890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2891printf "%s\n" "$CC" >&6; } 2892else 2893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2894printf "%s\n" "no" >&6; } 2895fi 2896 2897 2898 test -n "$CC" && break 2899 done 2900fi 2901if test -z "$CC"; then 2902 ac_ct_CC=$CC 2903 for ac_prog in cl.exe 2904do 2905 # Extract the first word of "$ac_prog", so it can be a program name with args. 2906set dummy $ac_prog; ac_word=$2 2907{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2908printf %s "checking for $ac_word... " >&6; } 2909if test ${ac_cv_prog_ac_ct_CC+y} 2910then : 2911 printf %s "(cached) " >&6 2912else $as_nop 2913 if test -n "$ac_ct_CC"; then 2914 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2915else 2916as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2917for as_dir in $PATH 2918do 2919 IFS=$as_save_IFS 2920 case $as_dir in #((( 2921 '') as_dir=./ ;; 2922 */) ;; 2923 *) as_dir=$as_dir/ ;; 2924 esac 2925 for ac_exec_ext in '' $ac_executable_extensions; do 2926 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2927 ac_cv_prog_ac_ct_CC="$ac_prog" 2928 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2929 break 2 2930 fi 2931done 2932 done 2933IFS=$as_save_IFS 2934 2935fi 2936fi 2937ac_ct_CC=$ac_cv_prog_ac_ct_CC 2938if test -n "$ac_ct_CC"; then 2939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2940printf "%s\n" "$ac_ct_CC" >&6; } 2941else 2942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2943printf "%s\n" "no" >&6; } 2944fi 2945 2946 2947 test -n "$ac_ct_CC" && break 2948done 2949 2950 if test "x$ac_ct_CC" = x; then 2951 CC="" 2952 else 2953 case $cross_compiling:$ac_tool_warned in 2954yes:) 2955{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2956printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2957ac_tool_warned=yes ;; 2958esac 2959 CC=$ac_ct_CC 2960 fi 2961fi 2962 2963fi 2964if test -z "$CC"; then 2965 if test -n "$ac_tool_prefix"; then 2966 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. 2967set dummy ${ac_tool_prefix}clang; ac_word=$2 2968{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2969printf %s "checking for $ac_word... " >&6; } 2970if test ${ac_cv_prog_CC+y} 2971then : 2972 printf %s "(cached) " >&6 2973else $as_nop 2974 if test -n "$CC"; then 2975 ac_cv_prog_CC="$CC" # Let the user override the test. 2976else 2977as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2978for as_dir in $PATH 2979do 2980 IFS=$as_save_IFS 2981 case $as_dir in #((( 2982 '') as_dir=./ ;; 2983 */) ;; 2984 *) as_dir=$as_dir/ ;; 2985 esac 2986 for ac_exec_ext in '' $ac_executable_extensions; do 2987 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2988 ac_cv_prog_CC="${ac_tool_prefix}clang" 2989 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2990 break 2 2991 fi 2992done 2993 done 2994IFS=$as_save_IFS 2995 2996fi 2997fi 2998CC=$ac_cv_prog_CC 2999if test -n "$CC"; then 3000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3001printf "%s\n" "$CC" >&6; } 3002else 3003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3004printf "%s\n" "no" >&6; } 3005fi 3006 3007 3008fi 3009if test -z "$ac_cv_prog_CC"; then 3010 ac_ct_CC=$CC 3011 # Extract the first word of "clang", so it can be a program name with args. 3012set dummy clang; ac_word=$2 3013{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3014printf %s "checking for $ac_word... " >&6; } 3015if test ${ac_cv_prog_ac_ct_CC+y} 3016then : 3017 printf %s "(cached) " >&6 3018else $as_nop 3019 if test -n "$ac_ct_CC"; then 3020 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3021else 3022as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3023for as_dir in $PATH 3024do 3025 IFS=$as_save_IFS 3026 case $as_dir in #((( 3027 '') as_dir=./ ;; 3028 */) ;; 3029 *) as_dir=$as_dir/ ;; 3030 esac 3031 for ac_exec_ext in '' $ac_executable_extensions; do 3032 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3033 ac_cv_prog_ac_ct_CC="clang" 3034 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3035 break 2 3036 fi 3037done 3038 done 3039IFS=$as_save_IFS 3040 3041fi 3042fi 3043ac_ct_CC=$ac_cv_prog_ac_ct_CC 3044if test -n "$ac_ct_CC"; then 3045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3046printf "%s\n" "$ac_ct_CC" >&6; } 3047else 3048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3049printf "%s\n" "no" >&6; } 3050fi 3051 3052 if test "x$ac_ct_CC" = x; then 3053 CC="" 3054 else 3055 case $cross_compiling:$ac_tool_warned in 3056yes:) 3057{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3058printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3059ac_tool_warned=yes ;; 3060esac 3061 CC=$ac_ct_CC 3062 fi 3063else 3064 CC="$ac_cv_prog_CC" 3065fi 3066 3067fi 3068 3069 3070test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3071printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3072as_fn_error $? "no acceptable C compiler found in \$PATH 3073See \`config.log' for more details" "$LINENO" 5; } 3074 3075# Provide some information about the compiler. 3076printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3077set X $ac_compile 3078ac_compiler=$2 3079for ac_option in --version -v -V -qversion -version; do 3080 { { ac_try="$ac_compiler $ac_option >&5" 3081case "(($ac_try" in 3082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3083 *) ac_try_echo=$ac_try;; 3084esac 3085eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3086printf "%s\n" "$ac_try_echo"; } >&5 3087 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3088 ac_status=$? 3089 if test -s conftest.err; then 3090 sed '10a\ 3091... rest of stderr output deleted ... 3092 10q' conftest.err >conftest.er1 3093 cat conftest.er1 >&5 3094 fi 3095 rm -f conftest.er1 conftest.err 3096 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3097 test $ac_status = 0; } 3098done 3099 3100cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3101/* end confdefs.h. */ 3102 3103int 3104main (void) 3105{ 3106 3107 ; 3108 return 0; 3109} 3110_ACEOF 3111ac_clean_files_save=$ac_clean_files 3112ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3113# Try to create an executable without -o first, disregard a.out. 3114# It will help us diagnose broken compilers, and finding out an intuition 3115# of exeext. 3116{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3117printf %s "checking whether the C compiler works... " >&6; } 3118ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3119 3120# The possible output files: 3121ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3122 3123ac_rmfiles= 3124for ac_file in $ac_files 3125do 3126 case $ac_file in 3127 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3128 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3129 esac 3130done 3131rm -f $ac_rmfiles 3132 3133if { { ac_try="$ac_link_default" 3134case "(($ac_try" in 3135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3136 *) ac_try_echo=$ac_try;; 3137esac 3138eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3139printf "%s\n" "$ac_try_echo"; } >&5 3140 (eval "$ac_link_default") 2>&5 3141 ac_status=$? 3142 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3143 test $ac_status = 0; } 3144then : 3145 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3146# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3147# in a Makefile. We should not override ac_cv_exeext if it was cached, 3148# so that the user can short-circuit this test for compilers unknown to 3149# Autoconf. 3150for ac_file in $ac_files '' 3151do 3152 test -f "$ac_file" || continue 3153 case $ac_file in 3154 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3155 ;; 3156 [ab].out ) 3157 # We found the default executable, but exeext='' is most 3158 # certainly right. 3159 break;; 3160 *.* ) 3161 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no; 3162 then :; else 3163 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3164 fi 3165 # We set ac_cv_exeext here because the later test for it is not 3166 # safe: cross compilers may not add the suffix if given an `-o' 3167 # argument, so we may need to know it at that point already. 3168 # Even if this section looks crufty: it has the advantage of 3169 # actually working. 3170 break;; 3171 * ) 3172 break;; 3173 esac 3174done 3175test "$ac_cv_exeext" = no && ac_cv_exeext= 3176 3177else $as_nop 3178 ac_file='' 3179fi 3180if test -z "$ac_file" 3181then : 3182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3183printf "%s\n" "no" >&6; } 3184printf "%s\n" "$as_me: failed program was:" >&5 3185sed 's/^/| /' conftest.$ac_ext >&5 3186 3187{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3188printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3189as_fn_error 77 "C compiler cannot create executables 3190See \`config.log' for more details" "$LINENO" 5; } 3191else $as_nop 3192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3193printf "%s\n" "yes" >&6; } 3194fi 3195{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3196printf %s "checking for C compiler default output file name... " >&6; } 3197{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3198printf "%s\n" "$ac_file" >&6; } 3199ac_exeext=$ac_cv_exeext 3200 3201rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3202ac_clean_files=$ac_clean_files_save 3203{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3204printf %s "checking for suffix of executables... " >&6; } 3205if { { ac_try="$ac_link" 3206case "(($ac_try" in 3207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3208 *) ac_try_echo=$ac_try;; 3209esac 3210eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3211printf "%s\n" "$ac_try_echo"; } >&5 3212 (eval "$ac_link") 2>&5 3213 ac_status=$? 3214 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3215 test $ac_status = 0; } 3216then : 3217 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3218# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3219# work properly (i.e., refer to `conftest.exe'), while it won't with 3220# `rm'. 3221for ac_file in conftest.exe conftest conftest.*; do 3222 test -f "$ac_file" || continue 3223 case $ac_file in 3224 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3225 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3226 break;; 3227 * ) break;; 3228 esac 3229done 3230else $as_nop 3231 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3232printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3233as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3234See \`config.log' for more details" "$LINENO" 5; } 3235fi 3236rm -f conftest conftest$ac_cv_exeext 3237{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3238printf "%s\n" "$ac_cv_exeext" >&6; } 3239 3240rm -f conftest.$ac_ext 3241EXEEXT=$ac_cv_exeext 3242ac_exeext=$EXEEXT 3243cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3244/* end confdefs.h. */ 3245#include <stdio.h> 3246int 3247main (void) 3248{ 3249FILE *f = fopen ("conftest.out", "w"); 3250 return ferror (f) || fclose (f) != 0; 3251 3252 ; 3253 return 0; 3254} 3255_ACEOF 3256ac_clean_files="$ac_clean_files conftest.out" 3257# Check that the compiler produces executables we can run. If not, either 3258# the compiler is broken, or we cross compile. 3259{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3260printf %s "checking whether we are cross compiling... " >&6; } 3261if test "$cross_compiling" != yes; then 3262 { { ac_try="$ac_link" 3263case "(($ac_try" in 3264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3265 *) ac_try_echo=$ac_try;; 3266esac 3267eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3268printf "%s\n" "$ac_try_echo"; } >&5 3269 (eval "$ac_link") 2>&5 3270 ac_status=$? 3271 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3272 test $ac_status = 0; } 3273 if { ac_try='./conftest$ac_cv_exeext' 3274 { { case "(($ac_try" in 3275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3276 *) ac_try_echo=$ac_try;; 3277esac 3278eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3279printf "%s\n" "$ac_try_echo"; } >&5 3280 (eval "$ac_try") 2>&5 3281 ac_status=$? 3282 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3283 test $ac_status = 0; }; }; then 3284 cross_compiling=no 3285 else 3286 if test "$cross_compiling" = maybe; then 3287 cross_compiling=yes 3288 else 3289 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3290printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3291as_fn_error 77 "cannot run C compiled programs. 3292If you meant to cross compile, use \`--host'. 3293See \`config.log' for more details" "$LINENO" 5; } 3294 fi 3295 fi 3296fi 3297{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3298printf "%s\n" "$cross_compiling" >&6; } 3299 3300rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3301ac_clean_files=$ac_clean_files_save 3302{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3303printf %s "checking for suffix of object files... " >&6; } 3304if test ${ac_cv_objext+y} 3305then : 3306 printf %s "(cached) " >&6 3307else $as_nop 3308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3309/* end confdefs.h. */ 3310 3311int 3312main (void) 3313{ 3314 3315 ; 3316 return 0; 3317} 3318_ACEOF 3319rm -f conftest.o conftest.obj 3320if { { ac_try="$ac_compile" 3321case "(($ac_try" in 3322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3323 *) ac_try_echo=$ac_try;; 3324esac 3325eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3326printf "%s\n" "$ac_try_echo"; } >&5 3327 (eval "$ac_compile") 2>&5 3328 ac_status=$? 3329 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3330 test $ac_status = 0; } 3331then : 3332 for ac_file in conftest.o conftest.obj conftest.*; do 3333 test -f "$ac_file" || continue; 3334 case $ac_file in 3335 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3336 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3337 break;; 3338 esac 3339done 3340else $as_nop 3341 printf "%s\n" "$as_me: failed program was:" >&5 3342sed 's/^/| /' conftest.$ac_ext >&5 3343 3344{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3345printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3346as_fn_error $? "cannot compute suffix of object files: cannot compile 3347See \`config.log' for more details" "$LINENO" 5; } 3348fi 3349rm -f conftest.$ac_cv_objext conftest.$ac_ext 3350fi 3351{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3352printf "%s\n" "$ac_cv_objext" >&6; } 3353OBJEXT=$ac_cv_objext 3354ac_objext=$OBJEXT 3355{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 3356printf %s "checking whether the compiler supports GNU C... " >&6; } 3357if test ${ac_cv_c_compiler_gnu+y} 3358then : 3359 printf %s "(cached) " >&6 3360else $as_nop 3361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3362/* end confdefs.h. */ 3363 3364int 3365main (void) 3366{ 3367#ifndef __GNUC__ 3368 choke me 3369#endif 3370 3371 ; 3372 return 0; 3373} 3374_ACEOF 3375if ac_fn_c_try_compile "$LINENO" 3376then : 3377 ac_compiler_gnu=yes 3378else $as_nop 3379 ac_compiler_gnu=no 3380fi 3381rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3382ac_cv_c_compiler_gnu=$ac_compiler_gnu 3383 3384fi 3385{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3386printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } 3387ac_compiler_gnu=$ac_cv_c_compiler_gnu 3388 3389if test $ac_compiler_gnu = yes; then 3390 GCC=yes 3391else 3392 GCC= 3393fi 3394ac_test_CFLAGS=${CFLAGS+y} 3395ac_save_CFLAGS=$CFLAGS 3396{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3397printf %s "checking whether $CC accepts -g... " >&6; } 3398if test ${ac_cv_prog_cc_g+y} 3399then : 3400 printf %s "(cached) " >&6 3401else $as_nop 3402 ac_save_c_werror_flag=$ac_c_werror_flag 3403 ac_c_werror_flag=yes 3404 ac_cv_prog_cc_g=no 3405 CFLAGS="-g" 3406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3407/* end confdefs.h. */ 3408 3409int 3410main (void) 3411{ 3412 3413 ; 3414 return 0; 3415} 3416_ACEOF 3417if ac_fn_c_try_compile "$LINENO" 3418then : 3419 ac_cv_prog_cc_g=yes 3420else $as_nop 3421 CFLAGS="" 3422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3423/* end confdefs.h. */ 3424 3425int 3426main (void) 3427{ 3428 3429 ; 3430 return 0; 3431} 3432_ACEOF 3433if ac_fn_c_try_compile "$LINENO" 3434then : 3435 3436else $as_nop 3437 ac_c_werror_flag=$ac_save_c_werror_flag 3438 CFLAGS="-g" 3439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3440/* end confdefs.h. */ 3441 3442int 3443main (void) 3444{ 3445 3446 ; 3447 return 0; 3448} 3449_ACEOF 3450if ac_fn_c_try_compile "$LINENO" 3451then : 3452 ac_cv_prog_cc_g=yes 3453fi 3454rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3455fi 3456rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3457fi 3458rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3459 ac_c_werror_flag=$ac_save_c_werror_flag 3460fi 3461{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3462printf "%s\n" "$ac_cv_prog_cc_g" >&6; } 3463if test $ac_test_CFLAGS; then 3464 CFLAGS=$ac_save_CFLAGS 3465elif test $ac_cv_prog_cc_g = yes; then 3466 if test "$GCC" = yes; then 3467 CFLAGS="-g -O2" 3468 else 3469 CFLAGS="-g" 3470 fi 3471else 3472 if test "$GCC" = yes; then 3473 CFLAGS="-O2" 3474 else 3475 CFLAGS= 3476 fi 3477fi 3478ac_prog_cc_stdc=no 3479if test x$ac_prog_cc_stdc = xno 3480then : 3481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 3482printf %s "checking for $CC option to enable C11 features... " >&6; } 3483if test ${ac_cv_prog_cc_c11+y} 3484then : 3485 printf %s "(cached) " >&6 3486else $as_nop 3487 ac_cv_prog_cc_c11=no 3488ac_save_CC=$CC 3489cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3490/* end confdefs.h. */ 3491$ac_c_conftest_c11_program 3492_ACEOF 3493for ac_arg in '' -std=gnu11 3494do 3495 CC="$ac_save_CC $ac_arg" 3496 if ac_fn_c_try_compile "$LINENO" 3497then : 3498 ac_cv_prog_cc_c11=$ac_arg 3499fi 3500rm -f core conftest.err conftest.$ac_objext conftest.beam 3501 test "x$ac_cv_prog_cc_c11" != "xno" && break 3502done 3503rm -f conftest.$ac_ext 3504CC=$ac_save_CC 3505fi 3506 3507if test "x$ac_cv_prog_cc_c11" = xno 3508then : 3509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3510printf "%s\n" "unsupported" >&6; } 3511else $as_nop 3512 if test "x$ac_cv_prog_cc_c11" = x 3513then : 3514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3515printf "%s\n" "none needed" >&6; } 3516else $as_nop 3517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 3518printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } 3519 CC="$CC $ac_cv_prog_cc_c11" 3520fi 3521 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 3522 ac_prog_cc_stdc=c11 3523fi 3524fi 3525if test x$ac_prog_cc_stdc = xno 3526then : 3527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 3528printf %s "checking for $CC option to enable C99 features... " >&6; } 3529if test ${ac_cv_prog_cc_c99+y} 3530then : 3531 printf %s "(cached) " >&6 3532else $as_nop 3533 ac_cv_prog_cc_c99=no 3534ac_save_CC=$CC 3535cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3536/* end confdefs.h. */ 3537$ac_c_conftest_c99_program 3538_ACEOF 3539for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= 3540do 3541 CC="$ac_save_CC $ac_arg" 3542 if ac_fn_c_try_compile "$LINENO" 3543then : 3544 ac_cv_prog_cc_c99=$ac_arg 3545fi 3546rm -f core conftest.err conftest.$ac_objext conftest.beam 3547 test "x$ac_cv_prog_cc_c99" != "xno" && break 3548done 3549rm -f conftest.$ac_ext 3550CC=$ac_save_CC 3551fi 3552 3553if test "x$ac_cv_prog_cc_c99" = xno 3554then : 3555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3556printf "%s\n" "unsupported" >&6; } 3557else $as_nop 3558 if test "x$ac_cv_prog_cc_c99" = x 3559then : 3560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3561printf "%s\n" "none needed" >&6; } 3562else $as_nop 3563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 3564printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } 3565 CC="$CC $ac_cv_prog_cc_c99" 3566fi 3567 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 3568 ac_prog_cc_stdc=c99 3569fi 3570fi 3571if test x$ac_prog_cc_stdc = xno 3572then : 3573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 3574printf %s "checking for $CC option to enable C89 features... " >&6; } 3575if test ${ac_cv_prog_cc_c89+y} 3576then : 3577 printf %s "(cached) " >&6 3578else $as_nop 3579 ac_cv_prog_cc_c89=no 3580ac_save_CC=$CC 3581cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3582/* end confdefs.h. */ 3583$ac_c_conftest_c89_program 3584_ACEOF 3585for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3586do 3587 CC="$ac_save_CC $ac_arg" 3588 if ac_fn_c_try_compile "$LINENO" 3589then : 3590 ac_cv_prog_cc_c89=$ac_arg 3591fi 3592rm -f core conftest.err conftest.$ac_objext conftest.beam 3593 test "x$ac_cv_prog_cc_c89" != "xno" && break 3594done 3595rm -f conftest.$ac_ext 3596CC=$ac_save_CC 3597fi 3598 3599if test "x$ac_cv_prog_cc_c89" = xno 3600then : 3601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3602printf "%s\n" "unsupported" >&6; } 3603else $as_nop 3604 if test "x$ac_cv_prog_cc_c89" = x 3605then : 3606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3607printf "%s\n" "none needed" >&6; } 3608else $as_nop 3609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3610printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } 3611 CC="$CC $ac_cv_prog_cc_c89" 3612fi 3613 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 3614 ac_prog_cc_stdc=c89 3615fi 3616fi 3617 3618ac_ext=c 3619ac_cpp='$CPP $CPPFLAGS' 3620ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3621ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3622ac_compiler_gnu=$ac_cv_c_compiler_gnu 3623 3624 3625 ac_ext=c 3626ac_cpp='$CPP $CPPFLAGS' 3627ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3628ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3629ac_compiler_gnu=$ac_cv_c_compiler_gnu 3630{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3631printf %s "checking whether $CC understands -c and -o together... " >&6; } 3632if test ${am_cv_prog_cc_c_o+y} 3633then : 3634 printf %s "(cached) " >&6 3635else $as_nop 3636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3637/* end confdefs.h. */ 3638 3639int 3640main (void) 3641{ 3642 3643 ; 3644 return 0; 3645} 3646_ACEOF 3647 # Make sure it works both with $CC and with simple cc. 3648 # Following AC_PROG_CC_C_O, we do the test twice because some 3649 # compilers refuse to overwrite an existing .o file with -o, 3650 # though they will create one. 3651 am_cv_prog_cc_c_o=yes 3652 for am_i in 1 2; do 3653 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3654 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3655 ac_status=$? 3656 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3657 (exit $ac_status); } \ 3658 && test -f conftest2.$ac_objext; then 3659 : OK 3660 else 3661 am_cv_prog_cc_c_o=no 3662 break 3663 fi 3664 done 3665 rm -f core conftest* 3666 unset am_i 3667fi 3668{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3669printf "%s\n" "$am_cv_prog_cc_c_o" >&6; } 3670if test "$am_cv_prog_cc_c_o" != yes; then 3671 # Losing compiler, so override with the script. 3672 # FIXME: It is wrong to rewrite CC. 3673 # But if we don't then we get into trouble of one sort or another. 3674 # A longer-term fix would be to have automake use am__CC in this case, 3675 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3676 CC="$am_aux_dir/compile $CC" 3677fi 3678ac_ext=c 3679ac_cpp='$CPP $CPPFLAGS' 3680ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3681ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3682ac_compiler_gnu=$ac_cv_c_compiler_gnu 3683 3684 3685 3686 3687 3688ac_header= ac_cache= 3689for ac_item in $ac_header_c_list 3690do 3691 if test $ac_cache; then 3692 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" 3693 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then 3694 printf "%s\n" "#define $ac_item 1" >> confdefs.h 3695 fi 3696 ac_header= ac_cache= 3697 elif test $ac_header; then 3698 ac_cache=$ac_item 3699 else 3700 ac_header=$ac_item 3701 fi 3702done 3703 3704 3705 3706 3707 3708 3709 3710 3711if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes 3712then : 3713 3714printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h 3715 3716fi 3717 3718 3719 3720 3721 3722 3723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 3724printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } 3725if test ${ac_cv_safe_to_define___extensions__+y} 3726then : 3727 printf %s "(cached) " >&6 3728else $as_nop 3729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3730/* end confdefs.h. */ 3731 3732# define __EXTENSIONS__ 1 3733 $ac_includes_default 3734int 3735main (void) 3736{ 3737 3738 ; 3739 return 0; 3740} 3741_ACEOF 3742if ac_fn_c_try_compile "$LINENO" 3743then : 3744 ac_cv_safe_to_define___extensions__=yes 3745else $as_nop 3746 ac_cv_safe_to_define___extensions__=no 3747fi 3748rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3749fi 3750{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 3751printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } 3752 3753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 3754printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } 3755if test ${ac_cv_should_define__xopen_source+y} 3756then : 3757 printf %s "(cached) " >&6 3758else $as_nop 3759 ac_cv_should_define__xopen_source=no 3760 if test $ac_cv_header_wchar_h = yes 3761then : 3762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3763/* end confdefs.h. */ 3764 3765 #include <wchar.h> 3766 mbstate_t x; 3767int 3768main (void) 3769{ 3770 3771 ; 3772 return 0; 3773} 3774_ACEOF 3775if ac_fn_c_try_compile "$LINENO" 3776then : 3777 3778else $as_nop 3779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3780/* end confdefs.h. */ 3781 3782 #define _XOPEN_SOURCE 500 3783 #include <wchar.h> 3784 mbstate_t x; 3785int 3786main (void) 3787{ 3788 3789 ; 3790 return 0; 3791} 3792_ACEOF 3793if ac_fn_c_try_compile "$LINENO" 3794then : 3795 ac_cv_should_define__xopen_source=yes 3796fi 3797rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3798fi 3799rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3800fi 3801fi 3802{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 3803printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } 3804 3805 printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h 3806 3807 printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h 3808 3809 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h 3810 3811 printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h 3812 3813 printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h 3814 3815 printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h 3816 3817 printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 3818 3819 printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h 3820 3821 printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h 3822 3823 printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h 3824 3825 printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h 3826 3827 printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h 3828 3829 printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h 3830 3831 printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h 3832 3833 printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h 3834 3835 if test $ac_cv_header_minix_config_h = yes 3836then : 3837 MINIX=yes 3838 printf "%s\n" "#define _MINIX 1" >>confdefs.h 3839 3840 printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h 3841 3842 printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h 3843 3844else $as_nop 3845 MINIX= 3846fi 3847 if test $ac_cv_safe_to_define___extensions__ = yes 3848then : 3849 printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h 3850 3851fi 3852 if test $ac_cv_should_define__xopen_source = yes 3853then : 3854 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h 3855 3856fi 3857 3858 3859if test -n "$ac_tool_prefix"; then 3860 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3861set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3862{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3863printf %s "checking for $ac_word... " >&6; } 3864if test ${ac_cv_prog_RANLIB+y} 3865then : 3866 printf %s "(cached) " >&6 3867else $as_nop 3868 if test -n "$RANLIB"; then 3869 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 3870else 3871as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3872for as_dir in $PATH 3873do 3874 IFS=$as_save_IFS 3875 case $as_dir in #((( 3876 '') as_dir=./ ;; 3877 */) ;; 3878 *) as_dir=$as_dir/ ;; 3879 esac 3880 for ac_exec_ext in '' $ac_executable_extensions; do 3881 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3882 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3883 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3884 break 2 3885 fi 3886done 3887 done 3888IFS=$as_save_IFS 3889 3890fi 3891fi 3892RANLIB=$ac_cv_prog_RANLIB 3893if test -n "$RANLIB"; then 3894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 3895printf "%s\n" "$RANLIB" >&6; } 3896else 3897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3898printf "%s\n" "no" >&6; } 3899fi 3900 3901 3902fi 3903if test -z "$ac_cv_prog_RANLIB"; then 3904 ac_ct_RANLIB=$RANLIB 3905 # Extract the first word of "ranlib", so it can be a program name with args. 3906set dummy ranlib; ac_word=$2 3907{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3908printf %s "checking for $ac_word... " >&6; } 3909if test ${ac_cv_prog_ac_ct_RANLIB+y} 3910then : 3911 printf %s "(cached) " >&6 3912else $as_nop 3913 if test -n "$ac_ct_RANLIB"; then 3914 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 3915else 3916as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3917for as_dir in $PATH 3918do 3919 IFS=$as_save_IFS 3920 case $as_dir in #((( 3921 '') as_dir=./ ;; 3922 */) ;; 3923 *) as_dir=$as_dir/ ;; 3924 esac 3925 for ac_exec_ext in '' $ac_executable_extensions; do 3926 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3927 ac_cv_prog_ac_ct_RANLIB="ranlib" 3928 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3929 break 2 3930 fi 3931done 3932 done 3933IFS=$as_save_IFS 3934 3935fi 3936fi 3937ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3938if test -n "$ac_ct_RANLIB"; then 3939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 3940printf "%s\n" "$ac_ct_RANLIB" >&6; } 3941else 3942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3943printf "%s\n" "no" >&6; } 3944fi 3945 3946 if test "x$ac_ct_RANLIB" = x; then 3947 RANLIB=":" 3948 else 3949 case $cross_compiling:$ac_tool_warned in 3950yes:) 3951{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3952printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3953ac_tool_warned=yes ;; 3954esac 3955 RANLIB=$ac_ct_RANLIB 3956 fi 3957else 3958 RANLIB="$ac_cv_prog_RANLIB" 3959fi 3960 3961 3962 if test -n "$ac_tool_prefix"; then 3963 for ac_prog in ar lib "link -lib" 3964 do 3965 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3966set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3967{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3968printf %s "checking for $ac_word... " >&6; } 3969if test ${ac_cv_prog_AR+y} 3970then : 3971 printf %s "(cached) " >&6 3972else $as_nop 3973 if test -n "$AR"; then 3974 ac_cv_prog_AR="$AR" # Let the user override the test. 3975else 3976as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3977for as_dir in $PATH 3978do 3979 IFS=$as_save_IFS 3980 case $as_dir in #((( 3981 '') as_dir=./ ;; 3982 */) ;; 3983 *) as_dir=$as_dir/ ;; 3984 esac 3985 for ac_exec_ext in '' $ac_executable_extensions; do 3986 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3987 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 3988 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3989 break 2 3990 fi 3991done 3992 done 3993IFS=$as_save_IFS 3994 3995fi 3996fi 3997AR=$ac_cv_prog_AR 3998if test -n "$AR"; then 3999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 4000printf "%s\n" "$AR" >&6; } 4001else 4002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4003printf "%s\n" "no" >&6; } 4004fi 4005 4006 4007 test -n "$AR" && break 4008 done 4009fi 4010if test -z "$AR"; then 4011 ac_ct_AR=$AR 4012 for ac_prog in ar lib "link -lib" 4013do 4014 # Extract the first word of "$ac_prog", so it can be a program name with args. 4015set dummy $ac_prog; ac_word=$2 4016{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4017printf %s "checking for $ac_word... " >&6; } 4018if test ${ac_cv_prog_ac_ct_AR+y} 4019then : 4020 printf %s "(cached) " >&6 4021else $as_nop 4022 if test -n "$ac_ct_AR"; then 4023 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 4024else 4025as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4026for as_dir in $PATH 4027do 4028 IFS=$as_save_IFS 4029 case $as_dir in #((( 4030 '') as_dir=./ ;; 4031 */) ;; 4032 *) as_dir=$as_dir/ ;; 4033 esac 4034 for ac_exec_ext in '' $ac_executable_extensions; do 4035 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4036 ac_cv_prog_ac_ct_AR="$ac_prog" 4037 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4038 break 2 4039 fi 4040done 4041 done 4042IFS=$as_save_IFS 4043 4044fi 4045fi 4046ac_ct_AR=$ac_cv_prog_ac_ct_AR 4047if test -n "$ac_ct_AR"; then 4048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 4049printf "%s\n" "$ac_ct_AR" >&6; } 4050else 4051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4052printf "%s\n" "no" >&6; } 4053fi 4054 4055 4056 test -n "$ac_ct_AR" && break 4057done 4058 4059 if test "x$ac_ct_AR" = x; then 4060 AR="false" 4061 else 4062 case $cross_compiling:$ac_tool_warned in 4063yes:) 4064{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4065printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4066ac_tool_warned=yes ;; 4067esac 4068 AR=$ac_ct_AR 4069 fi 4070fi 4071 4072: ${AR=ar} 4073 4074{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5 4075printf %s "checking the archiver ($AR) interface... " >&6; } 4076if test ${am_cv_ar_interface+y} 4077then : 4078 printf %s "(cached) " >&6 4079else $as_nop 4080 ac_ext=c 4081ac_cpp='$CPP $CPPFLAGS' 4082ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4083ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4084ac_compiler_gnu=$ac_cv_c_compiler_gnu 4085 4086 am_cv_ar_interface=ar 4087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4088/* end confdefs.h. */ 4089int some_variable = 0; 4090_ACEOF 4091if ac_fn_c_try_compile "$LINENO" 4092then : 4093 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5' 4094 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 4095 (eval $am_ar_try) 2>&5 4096 ac_status=$? 4097 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4098 test $ac_status = 0; } 4099 if test "$ac_status" -eq 0; then 4100 am_cv_ar_interface=ar 4101 else 4102 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5' 4103 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 4104 (eval $am_ar_try) 2>&5 4105 ac_status=$? 4106 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4107 test $ac_status = 0; } 4108 if test "$ac_status" -eq 0; then 4109 am_cv_ar_interface=lib 4110 else 4111 am_cv_ar_interface=unknown 4112 fi 4113 fi 4114 rm -f conftest.lib libconftest.a 4115 4116fi 4117rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4118 ac_ext=c 4119ac_cpp='$CPP $CPPFLAGS' 4120ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4121ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4122ac_compiler_gnu=$ac_cv_c_compiler_gnu 4123 4124fi 4125{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5 4126printf "%s\n" "$am_cv_ar_interface" >&6; } 4127 4128case $am_cv_ar_interface in 4129ar) 4130 ;; 4131lib) 4132 # Microsoft lib, so override with the ar-lib wrapper script. 4133 # FIXME: It is wrong to rewrite AR. 4134 # But if we don't then we get into trouble of one sort or another. 4135 # A longer-term fix would be to have automake use am__AR in this case, 4136 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something 4137 # similar. 4138 AR="$am_aux_dir/ar-lib $AR" 4139 ;; 4140unknown) 4141 as_fn_error $? "could not determine $AR interface" "$LINENO" 5 4142 ;; 4143esac 4144 4145 4146# Extract the first word of "perl", so it can be a program name with args. 4147set dummy perl; ac_word=$2 4148{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4149printf %s "checking for $ac_word... " >&6; } 4150if test ${ac_cv_path_PERL+y} 4151then : 4152 printf %s "(cached) " >&6 4153else $as_nop 4154 case $PERL in 4155 [\\/]* | ?:[\\/]*) 4156 ac_cv_path_PERL="$PERL" # Let the user override the test with a path. 4157 ;; 4158 *) 4159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4160for as_dir in $PATH 4161do 4162 IFS=$as_save_IFS 4163 case $as_dir in #((( 4164 '') as_dir=./ ;; 4165 */) ;; 4166 *) as_dir=$as_dir/ ;; 4167 esac 4168 for ac_exec_ext in '' $ac_executable_extensions; do 4169 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4170 ac_cv_path_PERL="$as_dir$ac_word$ac_exec_ext" 4171 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4172 break 2 4173 fi 4174done 4175 done 4176IFS=$as_save_IFS 4177 4178 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL=":" 4179 ;; 4180esac 4181fi 4182PERL=$ac_cv_path_PERL 4183if test -n "$PERL"; then 4184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 4185printf "%s\n" "$PERL" >&6; } 4186else 4187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4188printf "%s\n" "no" >&6; } 4189fi 4190 4191 4192 4193 4194if test "x${enable_silent_rules}" = "x" 4195then : 4196 4197 enable_silent_rules="yes" 4198 4199fi 4200am__api_version='1.16' 4201 4202 4203 # Find a good install program. We prefer a C program (faster), 4204# so one script is as good as another. But avoid the broken or 4205# incompatible versions: 4206# SysV /etc/install, /usr/sbin/install 4207# SunOS /usr/etc/install 4208# IRIX /sbin/install 4209# AIX /bin/install 4210# AmigaOS /C/install, which installs bootblocks on floppy discs 4211# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 4212# AFS /usr/afsws/bin/install, which mishandles nonexistent args 4213# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 4214# OS/2's system install, which has a completely different semantic 4215# ./install, which can be erroneously created by make from ./install.sh. 4216# Reject install programs that cannot install multiple files. 4217{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 4218printf %s "checking for a BSD-compatible install... " >&6; } 4219if test -z "$INSTALL"; then 4220if test ${ac_cv_path_install+y} 4221then : 4222 printf %s "(cached) " >&6 4223else $as_nop 4224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4225for as_dir in $PATH 4226do 4227 IFS=$as_save_IFS 4228 case $as_dir in #((( 4229 '') as_dir=./ ;; 4230 */) ;; 4231 *) as_dir=$as_dir/ ;; 4232 esac 4233 # Account for fact that we put trailing slashes in our PATH walk. 4234case $as_dir in #(( 4235 ./ | /[cC]/* | \ 4236 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 4237 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 4238 /usr/ucb/* ) ;; 4239 *) 4240 # OSF1 and SCO ODT 3.0 have their own names for install. 4241 # Don't use installbsd from OSF since it installs stuff as root 4242 # by default. 4243 for ac_prog in ginstall scoinst install; do 4244 for ac_exec_ext in '' $ac_executable_extensions; do 4245 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then 4246 if test $ac_prog = install && 4247 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 4248 # AIX install. It has an incompatible calling convention. 4249 : 4250 elif test $ac_prog = install && 4251 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 4252 # program-specific install script used by HP pwplus--don't use. 4253 : 4254 else 4255 rm -rf conftest.one conftest.two conftest.dir 4256 echo one > conftest.one 4257 echo two > conftest.two 4258 mkdir conftest.dir 4259 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && 4260 test -s conftest.one && test -s conftest.two && 4261 test -s conftest.dir/conftest.one && 4262 test -s conftest.dir/conftest.two 4263 then 4264 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" 4265 break 3 4266 fi 4267 fi 4268 fi 4269 done 4270 done 4271 ;; 4272esac 4273 4274 done 4275IFS=$as_save_IFS 4276 4277rm -rf conftest.one conftest.two conftest.dir 4278 4279fi 4280 if test ${ac_cv_path_install+y}; then 4281 INSTALL=$ac_cv_path_install 4282 else 4283 # As a last resort, use the slow shell script. Don't cache a 4284 # value for INSTALL within a source directory, because that will 4285 # break other packages using the cache if that directory is 4286 # removed, or if the value is a relative name. 4287 INSTALL=$ac_install_sh 4288 fi 4289fi 4290{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 4291printf "%s\n" "$INSTALL" >&6; } 4292 4293# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 4294# It thinks the first close brace ends the variable substitution. 4295test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 4296 4297test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 4298 4299test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 4300 4301{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 4302printf %s "checking whether build environment is sane... " >&6; } 4303# Reject unsafe characters in $srcdir or the absolute working directory 4304# name. Accept space and tab only in the latter. 4305am_lf=' 4306' 4307case `pwd` in 4308 *[\\\"\#\$\&\'\`$am_lf]*) 4309 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 4310esac 4311case $srcdir in 4312 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 4313 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 4314esac 4315 4316# Do 'set' in a subshell so we don't clobber the current shell's 4317# arguments. Must try -L first in case configure is actually a 4318# symlink; some systems play weird games with the mod time of symlinks 4319# (eg FreeBSD returns the mod time of the symlink's containing 4320# directory). 4321if ( 4322 am_has_slept=no 4323 for am_try in 1 2; do 4324 echo "timestamp, slept: $am_has_slept" > conftest.file 4325 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 4326 if test "$*" = "X"; then 4327 # -L didn't work. 4328 set X `ls -t "$srcdir/configure" conftest.file` 4329 fi 4330 if test "$*" != "X $srcdir/configure conftest.file" \ 4331 && test "$*" != "X conftest.file $srcdir/configure"; then 4332 4333 # If neither matched, then we have a broken ls. This can happen 4334 # if, for instance, CONFIG_SHELL is bash and it inherits a 4335 # broken ls alias from the environment. This has actually 4336 # happened. Such a system could not be considered "sane". 4337 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 4338 alias in your environment" "$LINENO" 5 4339 fi 4340 if test "$2" = conftest.file || test $am_try -eq 2; then 4341 break 4342 fi 4343 # Just in case. 4344 sleep 1 4345 am_has_slept=yes 4346 done 4347 test "$2" = conftest.file 4348 ) 4349then 4350 # Ok. 4351 : 4352else 4353 as_fn_error $? "newly created file is older than distributed files! 4354Check your system clock" "$LINENO" 5 4355fi 4356{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4357printf "%s\n" "yes" >&6; } 4358# If we didn't sleep, we still need to ensure time stamps of config.status and 4359# generated files are strictly newer. 4360am_sleep_pid= 4361if grep 'slept: no' conftest.file >/dev/null 2>&1; then 4362 ( sleep 1 ) & 4363 am_sleep_pid=$! 4364fi 4365 4366rm -f conftest.file 4367 4368test "$program_prefix" != NONE && 4369 program_transform_name="s&^&$program_prefix&;$program_transform_name" 4370# Use a double $ so make ignores it. 4371test "$program_suffix" != NONE && 4372 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 4373# Double any \ or $. 4374# By default was `s,x,x', remove it if useless. 4375ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 4376program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` 4377 4378 4379 if test x"${MISSING+set}" != xset; then 4380 MISSING="\${SHELL} '$am_aux_dir/missing'" 4381fi 4382# Use eval to expand $SHELL 4383if eval "$MISSING --is-lightweight"; then 4384 am_missing_run="$MISSING " 4385else 4386 am_missing_run= 4387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 4388printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 4389fi 4390 4391if test x"${install_sh+set}" != xset; then 4392 case $am_aux_dir in 4393 *\ * | *\ *) 4394 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 4395 *) 4396 install_sh="\${SHELL} $am_aux_dir/install-sh" 4397 esac 4398fi 4399 4400# Installed binaries are usually stripped using 'strip' when the user 4401# run "make install-strip". However 'strip' might not be the right 4402# tool to use in cross-compilation environments, therefore Automake 4403# will honor the 'STRIP' environment variable to overrule this program. 4404if test "$cross_compiling" != no; then 4405 if test -n "$ac_tool_prefix"; then 4406 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 4407set dummy ${ac_tool_prefix}strip; ac_word=$2 4408{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4409printf %s "checking for $ac_word... " >&6; } 4410if test ${ac_cv_prog_STRIP+y} 4411then : 4412 printf %s "(cached) " >&6 4413else $as_nop 4414 if test -n "$STRIP"; then 4415 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 4416else 4417as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4418for as_dir in $PATH 4419do 4420 IFS=$as_save_IFS 4421 case $as_dir in #((( 4422 '') as_dir=./ ;; 4423 */) ;; 4424 *) as_dir=$as_dir/ ;; 4425 esac 4426 for ac_exec_ext in '' $ac_executable_extensions; do 4427 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4428 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 4429 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4430 break 2 4431 fi 4432done 4433 done 4434IFS=$as_save_IFS 4435 4436fi 4437fi 4438STRIP=$ac_cv_prog_STRIP 4439if test -n "$STRIP"; then 4440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 4441printf "%s\n" "$STRIP" >&6; } 4442else 4443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4444printf "%s\n" "no" >&6; } 4445fi 4446 4447 4448fi 4449if test -z "$ac_cv_prog_STRIP"; then 4450 ac_ct_STRIP=$STRIP 4451 # Extract the first word of "strip", so it can be a program name with args. 4452set dummy strip; ac_word=$2 4453{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4454printf %s "checking for $ac_word... " >&6; } 4455if test ${ac_cv_prog_ac_ct_STRIP+y} 4456then : 4457 printf %s "(cached) " >&6 4458else $as_nop 4459 if test -n "$ac_ct_STRIP"; then 4460 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 4461else 4462as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4463for as_dir in $PATH 4464do 4465 IFS=$as_save_IFS 4466 case $as_dir in #((( 4467 '') as_dir=./ ;; 4468 */) ;; 4469 *) as_dir=$as_dir/ ;; 4470 esac 4471 for ac_exec_ext in '' $ac_executable_extensions; do 4472 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4473 ac_cv_prog_ac_ct_STRIP="strip" 4474 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4475 break 2 4476 fi 4477done 4478 done 4479IFS=$as_save_IFS 4480 4481fi 4482fi 4483ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 4484if test -n "$ac_ct_STRIP"; then 4485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 4486printf "%s\n" "$ac_ct_STRIP" >&6; } 4487else 4488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4489printf "%s\n" "no" >&6; } 4490fi 4491 4492 if test "x$ac_ct_STRIP" = x; then 4493 STRIP=":" 4494 else 4495 case $cross_compiling:$ac_tool_warned in 4496yes:) 4497{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4498printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4499ac_tool_warned=yes ;; 4500esac 4501 STRIP=$ac_ct_STRIP 4502 fi 4503else 4504 STRIP="$ac_cv_prog_STRIP" 4505fi 4506 4507fi 4508INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 4509 4510 4511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 4512printf %s "checking for a race-free mkdir -p... " >&6; } 4513if test -z "$MKDIR_P"; then 4514 if test ${ac_cv_path_mkdir+y} 4515then : 4516 printf %s "(cached) " >&6 4517else $as_nop 4518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4519for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 4520do 4521 IFS=$as_save_IFS 4522 case $as_dir in #((( 4523 '') as_dir=./ ;; 4524 */) ;; 4525 *) as_dir=$as_dir/ ;; 4526 esac 4527 for ac_prog in mkdir gmkdir; do 4528 for ac_exec_ext in '' $ac_executable_extensions; do 4529 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue 4530 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( 4531 'mkdir ('*'coreutils) '* | \ 4532 'BusyBox '* | \ 4533 'mkdir (fileutils) '4.1*) 4534 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext 4535 break 3;; 4536 esac 4537 done 4538 done 4539 done 4540IFS=$as_save_IFS 4541 4542fi 4543 4544 test -d ./--version && rmdir ./--version 4545 if test ${ac_cv_path_mkdir+y}; then 4546 MKDIR_P="$ac_cv_path_mkdir -p" 4547 else 4548 # As a last resort, use the slow shell script. Don't cache a 4549 # value for MKDIR_P within a source directory, because that will 4550 # break other packages using the cache if that directory is 4551 # removed, or if the value is a relative name. 4552 MKDIR_P="$ac_install_sh -d" 4553 fi 4554fi 4555{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 4556printf "%s\n" "$MKDIR_P" >&6; } 4557 4558for ac_prog in gawk mawk nawk awk 4559do 4560 # Extract the first word of "$ac_prog", so it can be a program name with args. 4561set dummy $ac_prog; ac_word=$2 4562{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4563printf %s "checking for $ac_word... " >&6; } 4564if test ${ac_cv_prog_AWK+y} 4565then : 4566 printf %s "(cached) " >&6 4567else $as_nop 4568 if test -n "$AWK"; then 4569 ac_cv_prog_AWK="$AWK" # Let the user override the test. 4570else 4571as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4572for as_dir in $PATH 4573do 4574 IFS=$as_save_IFS 4575 case $as_dir in #((( 4576 '') as_dir=./ ;; 4577 */) ;; 4578 *) as_dir=$as_dir/ ;; 4579 esac 4580 for ac_exec_ext in '' $ac_executable_extensions; do 4581 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4582 ac_cv_prog_AWK="$ac_prog" 4583 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4584 break 2 4585 fi 4586done 4587 done 4588IFS=$as_save_IFS 4589 4590fi 4591fi 4592AWK=$ac_cv_prog_AWK 4593if test -n "$AWK"; then 4594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 4595printf "%s\n" "$AWK" >&6; } 4596else 4597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4598printf "%s\n" "no" >&6; } 4599fi 4600 4601 4602 test -n "$AWK" && break 4603done 4604 4605{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 4606printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 4607set x ${MAKE-make} 4608ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 4609if eval test \${ac_cv_prog_make_${ac_make}_set+y} 4610then : 4611 printf %s "(cached) " >&6 4612else $as_nop 4613 cat >conftest.make <<\_ACEOF 4614SHELL = /bin/sh 4615all: 4616 @echo '@@@%%%=$(MAKE)=@@@%%%' 4617_ACEOF 4618# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 4619case `${MAKE-make} -f conftest.make 2>/dev/null` in 4620 *@@@%%%=?*=@@@%%%*) 4621 eval ac_cv_prog_make_${ac_make}_set=yes;; 4622 *) 4623 eval ac_cv_prog_make_${ac_make}_set=no;; 4624esac 4625rm -f conftest.make 4626fi 4627if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 4628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4629printf "%s\n" "yes" >&6; } 4630 SET_MAKE= 4631else 4632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4633printf "%s\n" "no" >&6; } 4634 SET_MAKE="MAKE=${MAKE-make}" 4635fi 4636 4637rm -rf .tst 2>/dev/null 4638mkdir .tst 2>/dev/null 4639if test -d .tst; then 4640 am__leading_dot=. 4641else 4642 am__leading_dot=_ 4643fi 4644rmdir .tst 2>/dev/null 4645 4646DEPDIR="${am__leading_dot}deps" 4647 4648ac_config_commands="$ac_config_commands depfiles" 4649 4650{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 4651printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; } 4652cat > confinc.mk << 'END' 4653am__doit: 4654 @echo this is the am__doit target >confinc.out 4655.PHONY: am__doit 4656END 4657am__include="#" 4658am__quote= 4659# BSD make does it like this. 4660echo '.include "confinc.mk" # ignored' > confmf.BSD 4661# Other make implementations (GNU, Solaris 10, AIX) do it like this. 4662echo 'include confinc.mk # ignored' > confmf.GNU 4663_am_result=no 4664for s in GNU BSD; do 4665 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 4666 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 4667 ac_status=$? 4668 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4669 (exit $ac_status); } 4670 case $?:`cat confinc.out 2>/dev/null` in #( 4671 '0:this is the am__doit target') : 4672 case $s in #( 4673 BSD) : 4674 am__include='.include' am__quote='"' ;; #( 4675 *) : 4676 am__include='include' am__quote='' ;; 4677esac ;; #( 4678 *) : 4679 ;; 4680esac 4681 if test "$am__include" != "#"; then 4682 _am_result="yes ($s style)" 4683 break 4684 fi 4685done 4686rm -f confinc.* confmf.* 4687{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 4688printf "%s\n" "${_am_result}" >&6; } 4689 4690# Check whether --enable-dependency-tracking was given. 4691if test ${enable_dependency_tracking+y} 4692then : 4693 enableval=$enable_dependency_tracking; 4694fi 4695 4696if test "x$enable_dependency_tracking" != xno; then 4697 am_depcomp="$ac_aux_dir/depcomp" 4698 AMDEPBACKSLASH='\' 4699 am__nodep='_no' 4700fi 4701 if test "x$enable_dependency_tracking" != xno; then 4702 AMDEP_TRUE= 4703 AMDEP_FALSE='#' 4704else 4705 AMDEP_TRUE='#' 4706 AMDEP_FALSE= 4707fi 4708 4709 4710# Check whether --enable-silent-rules was given. 4711if test ${enable_silent_rules+y} 4712then : 4713 enableval=$enable_silent_rules; 4714fi 4715 4716case $enable_silent_rules in # ((( 4717 yes) AM_DEFAULT_VERBOSITY=0;; 4718 no) AM_DEFAULT_VERBOSITY=1;; 4719 *) AM_DEFAULT_VERBOSITY=1;; 4720esac 4721am_make=${MAKE-make} 4722{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 4723printf %s "checking whether $am_make supports nested variables... " >&6; } 4724if test ${am_cv_make_support_nested_variables+y} 4725then : 4726 printf %s "(cached) " >&6 4727else $as_nop 4728 if printf "%s\n" 'TRUE=$(BAR$(V)) 4729BAR0=false 4730BAR1=true 4731V=1 4732am__doit: 4733 @$(TRUE) 4734.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 4735 am_cv_make_support_nested_variables=yes 4736else 4737 am_cv_make_support_nested_variables=no 4738fi 4739fi 4740{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 4741printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 4742if test $am_cv_make_support_nested_variables = yes; then 4743 AM_V='$(V)' 4744 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 4745else 4746 AM_V=$AM_DEFAULT_VERBOSITY 4747 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 4748fi 4749AM_BACKSLASH='\' 4750 4751if test "`cd $srcdir && pwd`" != "`pwd`"; then 4752 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 4753 # is not polluted with repeated "-I." 4754 am__isrc=' -I$(srcdir)' 4755 # test to see if srcdir already configured 4756 if test -f $srcdir/config.status; then 4757 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 4758 fi 4759fi 4760 4761# test whether we have cygpath 4762if test -z "$CYGPATH_W"; then 4763 if (cygpath --version) >/dev/null 2>/dev/null; then 4764 CYGPATH_W='cygpath -w' 4765 else 4766 CYGPATH_W=echo 4767 fi 4768fi 4769 4770 4771# Define the identity of the package. 4772 PACKAGE='ndisc6' 4773 VERSION='1.0.5' 4774 4775 4776printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h 4777 4778 4779printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h 4780 4781# Some tools Automake needs. 4782 4783ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 4784 4785 4786AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 4787 4788 4789AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 4790 4791 4792AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 4793 4794 4795MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 4796 4797# For better backward compatibility. To be removed once Automake 1.9.x 4798# dies out for good. For more background, see: 4799# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 4800# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 4801mkdir_p='$(MKDIR_P)' 4802 4803# We need awk for the "check" target (and possibly the TAP driver). The 4804# system "awk" is bad on some platforms. 4805# Always define AMTAR for backward compatibility. Yes, it's still used 4806# in the wild :-( We should find a proper way to deprecate it ... 4807AMTAR='$${TAR-tar}' 4808 4809 4810# We'll loop over all known methods to create a tar archive until one works. 4811_am_tools='gnutar pax cpio none' 4812 4813am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 4814 4815 4816 4817 4818 4819depcc="$CC" am_compiler_list= 4820 4821{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4822printf %s "checking dependency style of $depcc... " >&6; } 4823if test ${am_cv_CC_dependencies_compiler_type+y} 4824then : 4825 printf %s "(cached) " >&6 4826else $as_nop 4827 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4828 # We make a subdir and do the tests there. Otherwise we can end up 4829 # making bogus files that we don't know about and never remove. For 4830 # instance it was reported that on HP-UX the gcc test will end up 4831 # making a dummy file named 'D' -- because '-MD' means "put the output 4832 # in D". 4833 rm -rf conftest.dir 4834 mkdir conftest.dir 4835 # Copy depcomp to subdir because otherwise we won't find it if we're 4836 # using a relative directory. 4837 cp "$am_depcomp" conftest.dir 4838 cd conftest.dir 4839 # We will build objects and dependencies in a subdirectory because 4840 # it helps to detect inapplicable dependency modes. For instance 4841 # both Tru64's cc and ICC support -MD to output dependencies as a 4842 # side effect of compilation, but ICC will put the dependencies in 4843 # the current directory while Tru64 will put them in the object 4844 # directory. 4845 mkdir sub 4846 4847 am_cv_CC_dependencies_compiler_type=none 4848 if test "$am_compiler_list" = ""; then 4849 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4850 fi 4851 am__universal=false 4852 case " $depcc " in #( 4853 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4854 esac 4855 4856 for depmode in $am_compiler_list; do 4857 # Setup a source with many dependencies, because some compilers 4858 # like to wrap large dependency lists on column 80 (with \), and 4859 # we should not choose a depcomp mode which is confused by this. 4860 # 4861 # We need to recreate these files for each test, as the compiler may 4862 # overwrite some of them when testing with obscure command lines. 4863 # This happens at least with the AIX C compiler. 4864 : > sub/conftest.c 4865 for i in 1 2 3 4 5 6; do 4866 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4867 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4868 # Solaris 10 /bin/sh. 4869 echo '/* dummy */' > sub/conftst$i.h 4870 done 4871 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4872 4873 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4874 # mode. It turns out that the SunPro C++ compiler does not properly 4875 # handle '-M -o', and we need to detect this. Also, some Intel 4876 # versions had trouble with output in subdirs. 4877 am__obj=sub/conftest.${OBJEXT-o} 4878 am__minus_obj="-o $am__obj" 4879 case $depmode in 4880 gcc) 4881 # This depmode causes a compiler race in universal mode. 4882 test "$am__universal" = false || continue 4883 ;; 4884 nosideeffect) 4885 # After this tag, mechanisms are not by side-effect, so they'll 4886 # only be used when explicitly requested. 4887 if test "x$enable_dependency_tracking" = xyes; then 4888 continue 4889 else 4890 break 4891 fi 4892 ;; 4893 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4894 # This compiler won't grok '-c -o', but also, the minuso test has 4895 # not run yet. These depmodes are late enough in the game, and 4896 # so weak that their functioning should not be impacted. 4897 am__obj=conftest.${OBJEXT-o} 4898 am__minus_obj= 4899 ;; 4900 none) break ;; 4901 esac 4902 if depmode=$depmode \ 4903 source=sub/conftest.c object=$am__obj \ 4904 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4905 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4906 >/dev/null 2>conftest.err && 4907 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4908 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4909 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4910 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4911 # icc doesn't choke on unknown options, it will just issue warnings 4912 # or remarks (even with -Werror). So we grep stderr for any message 4913 # that says an option was ignored or not supported. 4914 # When given -MP, icc 7.0 and 7.1 complain thusly: 4915 # icc: Command line warning: ignoring option '-M'; no argument required 4916 # The diagnosis changed in icc 8.0: 4917 # icc: Command line remark: option '-MP' not supported 4918 if (grep 'ignoring option' conftest.err || 4919 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4920 am_cv_CC_dependencies_compiler_type=$depmode 4921 break 4922 fi 4923 fi 4924 done 4925 4926 cd .. 4927 rm -rf conftest.dir 4928else 4929 am_cv_CC_dependencies_compiler_type=none 4930fi 4931 4932fi 4933{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4934printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; } 4935CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4936 4937 if 4938 test "x$enable_dependency_tracking" != xno \ 4939 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4940 am__fastdepCC_TRUE= 4941 am__fastdepCC_FALSE='#' 4942else 4943 am__fastdepCC_TRUE='#' 4944 am__fastdepCC_FALSE= 4945fi 4946 4947 4948# Variables for tags utilities; see am/tags.am 4949if test -z "$CTAGS"; then 4950 CTAGS=ctags 4951fi 4952 4953if test -z "$ETAGS"; then 4954 ETAGS=etags 4955fi 4956 4957if test -z "$CSCOPE"; then 4958 CSCOPE=cscope 4959fi 4960 4961 4962 4963# POSIX will say in a future version that running "rm -f" with no argument 4964# is OK; and we want to be able to make that assumption in our Makefile 4965# recipes. So use an aggressive probe to check that the usage we want is 4966# actually supported "in the wild" to an acceptable degree. 4967# See automake bug#10828. 4968# To make any issue more visible, cause the running configure to be aborted 4969# by default if the 'rm' program in use doesn't match our expectations; the 4970# user can still override this though. 4971if rm -f && rm -fr && rm -rf; then : OK; else 4972 cat >&2 <<'END' 4973Oops! 4974 4975Your 'rm' program seems unable to run without file operands specified 4976on the command line, even when the '-f' option is present. This is contrary 4977to the behaviour of most rm programs out there, and not conforming with 4978the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 4979 4980Please tell bug-automake@gnu.org about your system, including the value 4981of your $PATH and any error possibly output before this message. This 4982can help us improve future automake versions. 4983 4984END 4985 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 4986 echo 'Configuration will proceed anyway, since you have set the' >&2 4987 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 4988 echo >&2 4989 else 4990 cat >&2 <<'END' 4991Aborting the configuration process, to ensure you take notice of the issue. 4992 4993You can download and install GNU coreutils to get an 'rm' implementation 4994that behaves properly: <https://www.gnu.org/software/coreutils/>. 4995 4996If you want to complete the configuration process using your problematic 4997'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 4998to "yes", and re-run configure. 4999 5000END 5001 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 5002 fi 5003fi 5004 5005# Check whether --enable-silent-rules was given. 5006if test ${enable_silent_rules+y} 5007then : 5008 enableval=$enable_silent_rules; 5009fi 5010 5011case $enable_silent_rules in # ((( 5012 yes) AM_DEFAULT_VERBOSITY=0;; 5013 no) AM_DEFAULT_VERBOSITY=1;; 5014 *) AM_DEFAULT_VERBOSITY=1;; 5015esac 5016am_make=${MAKE-make} 5017{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 5018printf %s "checking whether $am_make supports nested variables... " >&6; } 5019if test ${am_cv_make_support_nested_variables+y} 5020then : 5021 printf %s "(cached) " >&6 5022else $as_nop 5023 if printf "%s\n" 'TRUE=$(BAR$(V)) 5024BAR0=false 5025BAR1=true 5026V=1 5027am__doit: 5028 @$(TRUE) 5029.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 5030 am_cv_make_support_nested_variables=yes 5031else 5032 am_cv_make_support_nested_variables=no 5033fi 5034fi 5035{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 5036printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 5037if test $am_cv_make_support_nested_variables = yes; then 5038 AM_V='$(V)' 5039 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 5040else 5041 AM_V=$AM_DEFAULT_VERBOSITY 5042 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 5043fi 5044AM_BACKSLASH='\' 5045 5046 5047# Checks for libraries. 5048{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking required libraries..." >&5 5049printf "%s\n" "$as_me: checking required libraries..." >&6;} 5050 5051LIBRT="" 5052{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 5053printf %s "checking for clock_gettime in -lrt... " >&6; } 5054if test ${ac_cv_lib_rt_clock_gettime+y} 5055then : 5056 printf %s "(cached) " >&6 5057else $as_nop 5058 ac_check_lib_save_LIBS=$LIBS 5059LIBS="-lrt $LIBS" 5060cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5061/* end confdefs.h. */ 5062 5063/* Override any GCC internal prototype to avoid an error. 5064 Use char because int might match the return type of a GCC 5065 builtin and then its argument prototype would still apply. */ 5066char clock_gettime (); 5067int 5068main (void) 5069{ 5070return clock_gettime (); 5071 ; 5072 return 0; 5073} 5074_ACEOF 5075if ac_fn_c_try_link "$LINENO" 5076then : 5077 ac_cv_lib_rt_clock_gettime=yes 5078else $as_nop 5079 ac_cv_lib_rt_clock_gettime=no 5080fi 5081rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5082 conftest$ac_exeext conftest.$ac_ext 5083LIBS=$ac_check_lib_save_LIBS 5084fi 5085{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 5086printf "%s\n" "$ac_cv_lib_rt_clock_gettime" >&6; } 5087if test "x$ac_cv_lib_rt_clock_gettime" = xyes 5088then : 5089 LIBRT="-lrt" 5090fi 5091 5092 5093 5094 5095{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 5096printf %s "checking for a sed that does not truncate output... " >&6; } 5097if test ${ac_cv_path_SED+y} 5098then : 5099 printf %s "(cached) " >&6 5100else $as_nop 5101 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 5102 for ac_i in 1 2 3 4 5 6 7; do 5103 ac_script="$ac_script$as_nl$ac_script" 5104 done 5105 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 5106 { ac_script=; unset ac_script;} 5107 if test -z "$SED"; then 5108 ac_path_SED_found=false 5109 # Loop through the user's path and test for each of PROGNAME-LIST 5110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5111for as_dir in $PATH 5112do 5113 IFS=$as_save_IFS 5114 case $as_dir in #((( 5115 '') as_dir=./ ;; 5116 */) ;; 5117 *) as_dir=$as_dir/ ;; 5118 esac 5119 for ac_prog in sed gsed 5120 do 5121 for ac_exec_ext in '' $ac_executable_extensions; do 5122 ac_path_SED="$as_dir$ac_prog$ac_exec_ext" 5123 as_fn_executable_p "$ac_path_SED" || continue 5124# Check for GNU ac_path_SED and select it if it is found. 5125 # Check for GNU $ac_path_SED 5126case `"$ac_path_SED" --version 2>&1` in 5127*GNU*) 5128 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 5129*) 5130 ac_count=0 5131 printf %s 0123456789 >"conftest.in" 5132 while : 5133 do 5134 cat "conftest.in" "conftest.in" >"conftest.tmp" 5135 mv "conftest.tmp" "conftest.in" 5136 cp "conftest.in" "conftest.nl" 5137 printf "%s\n" '' >> "conftest.nl" 5138 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 5139 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5140 as_fn_arith $ac_count + 1 && ac_count=$as_val 5141 if test $ac_count -gt ${ac_path_SED_max-0}; then 5142 # Best one so far, save it but keep looking for a better one 5143 ac_cv_path_SED="$ac_path_SED" 5144 ac_path_SED_max=$ac_count 5145 fi 5146 # 10*(2^10) chars as input seems more than enough 5147 test $ac_count -gt 10 && break 5148 done 5149 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5150esac 5151 5152 $ac_path_SED_found && break 3 5153 done 5154 done 5155 done 5156IFS=$as_save_IFS 5157 if test -z "$ac_cv_path_SED"; then 5158 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 5159 fi 5160else 5161 ac_cv_path_SED=$SED 5162fi 5163 5164fi 5165{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 5166printf "%s\n" "$ac_cv_path_SED" >&6; } 5167 SED="$ac_cv_path_SED" 5168 rm -f conftest.sed 5169 5170 5171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 5172printf %s "checking whether NLS is requested... " >&6; } 5173 # Check whether --enable-nls was given. 5174if test ${enable_nls+y} 5175then : 5176 enableval=$enable_nls; USE_NLS=$enableval 5177else $as_nop 5178 USE_NLS=yes 5179fi 5180 5181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 5182printf "%s\n" "$USE_NLS" >&6; } 5183 5184 5185 5186 5187 GETTEXT_MACRO_VERSION=0.19 5188 5189 5190 5191 5192# Prepare PATH_SEPARATOR. 5193# The user is always right. 5194if test "${PATH_SEPARATOR+set}" != set; then 5195 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 5196 # contains only /bin. Note that ksh looks also at the FPATH variable, 5197 # so we have to set that as well for the test. 5198 PATH_SEPARATOR=: 5199 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 5200 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 5201 || PATH_SEPARATOR=';' 5202 } 5203fi 5204 5205# Find out how to test for executable files. Don't use a zero-byte file, 5206# as systems may use methods other than mode bits to determine executability. 5207cat >conf$$.file <<_ASEOF 5208#! /bin/sh 5209exit 0 5210_ASEOF 5211chmod +x conf$$.file 5212if test -x conf$$.file >/dev/null 2>&1; then 5213 ac_executable_p="test -x" 5214else 5215 ac_executable_p="test -f" 5216fi 5217rm -f conf$$.file 5218 5219# Extract the first word of "msgfmt", so it can be a program name with args. 5220set dummy msgfmt; ac_word=$2 5221{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5222printf %s "checking for $ac_word... " >&6; } 5223if test ${ac_cv_path_MSGFMT+y} 5224then : 5225 printf %s "(cached) " >&6 5226else $as_nop 5227 case "$MSGFMT" in 5228 [\\/]* | ?:[\\/]*) 5229 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 5230 ;; 5231 *) 5232 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 5233 for ac_dir in $PATH; do 5234 IFS="$ac_save_IFS" 5235 test -z "$ac_dir" && ac_dir=. 5236 for ac_exec_ext in '' $ac_executable_extensions; do 5237 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 5238 echo "$as_me: trying $ac_dir/$ac_word..." >&5 5239 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && 5240 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 5241 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" 5242 break 2 5243 fi 5244 fi 5245 done 5246 done 5247 IFS="$ac_save_IFS" 5248 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" 5249 ;; 5250esac 5251fi 5252MSGFMT="$ac_cv_path_MSGFMT" 5253if test "$MSGFMT" != ":"; then 5254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 5255printf "%s\n" "$MSGFMT" >&6; } 5256else 5257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5258printf "%s\n" "no" >&6; } 5259fi 5260 5261 # Extract the first word of "gmsgfmt", so it can be a program name with args. 5262set dummy gmsgfmt; ac_word=$2 5263{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5264printf %s "checking for $ac_word... " >&6; } 5265if test ${ac_cv_path_GMSGFMT+y} 5266then : 5267 printf %s "(cached) " >&6 5268else $as_nop 5269 case $GMSGFMT in 5270 [\\/]* | ?:[\\/]*) 5271 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 5272 ;; 5273 *) 5274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5275for as_dir in $PATH 5276do 5277 IFS=$as_save_IFS 5278 case $as_dir in #((( 5279 '') as_dir=./ ;; 5280 */) ;; 5281 *) as_dir=$as_dir/ ;; 5282 esac 5283 for ac_exec_ext in '' $ac_executable_extensions; do 5284 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5285 ac_cv_path_GMSGFMT="$as_dir$ac_word$ac_exec_ext" 5286 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5287 break 2 5288 fi 5289done 5290 done 5291IFS=$as_save_IFS 5292 5293 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 5294 ;; 5295esac 5296fi 5297GMSGFMT=$ac_cv_path_GMSGFMT 5298if test -n "$GMSGFMT"; then 5299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 5300printf "%s\n" "$GMSGFMT" >&6; } 5301else 5302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5303printf "%s\n" "no" >&6; } 5304fi 5305 5306 5307 5308 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 5309 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; 5310 *) MSGFMT_015=$MSGFMT ;; 5311 esac 5312 5313 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 5314 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; 5315 *) GMSGFMT_015=$GMSGFMT ;; 5316 esac 5317 5318 5319 5320# Prepare PATH_SEPARATOR. 5321# The user is always right. 5322if test "${PATH_SEPARATOR+set}" != set; then 5323 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 5324 # contains only /bin. Note that ksh looks also at the FPATH variable, 5325 # so we have to set that as well for the test. 5326 PATH_SEPARATOR=: 5327 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 5328 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 5329 || PATH_SEPARATOR=';' 5330 } 5331fi 5332 5333# Find out how to test for executable files. Don't use a zero-byte file, 5334# as systems may use methods other than mode bits to determine executability. 5335cat >conf$$.file <<_ASEOF 5336#! /bin/sh 5337exit 0 5338_ASEOF 5339chmod +x conf$$.file 5340if test -x conf$$.file >/dev/null 2>&1; then 5341 ac_executable_p="test -x" 5342else 5343 ac_executable_p="test -f" 5344fi 5345rm -f conf$$.file 5346 5347# Extract the first word of "xgettext", so it can be a program name with args. 5348set dummy xgettext; ac_word=$2 5349{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5350printf %s "checking for $ac_word... " >&6; } 5351if test ${ac_cv_path_XGETTEXT+y} 5352then : 5353 printf %s "(cached) " >&6 5354else $as_nop 5355 case "$XGETTEXT" in 5356 [\\/]* | ?:[\\/]*) 5357 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 5358 ;; 5359 *) 5360 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 5361 for ac_dir in $PATH; do 5362 IFS="$ac_save_IFS" 5363 test -z "$ac_dir" && ac_dir=. 5364 for ac_exec_ext in '' $ac_executable_extensions; do 5365 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 5366 echo "$as_me: trying $ac_dir/$ac_word..." >&5 5367 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && 5368 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 5369 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" 5370 break 2 5371 fi 5372 fi 5373 done 5374 done 5375 IFS="$ac_save_IFS" 5376 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 5377 ;; 5378esac 5379fi 5380XGETTEXT="$ac_cv_path_XGETTEXT" 5381if test "$XGETTEXT" != ":"; then 5382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 5383printf "%s\n" "$XGETTEXT" >&6; } 5384else 5385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5386printf "%s\n" "no" >&6; } 5387fi 5388 5389 rm -f messages.po 5390 5391 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 5392 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; 5393 *) XGETTEXT_015=$XGETTEXT ;; 5394 esac 5395 5396 5397 5398# Prepare PATH_SEPARATOR. 5399# The user is always right. 5400if test "${PATH_SEPARATOR+set}" != set; then 5401 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 5402 # contains only /bin. Note that ksh looks also at the FPATH variable, 5403 # so we have to set that as well for the test. 5404 PATH_SEPARATOR=: 5405 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 5406 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 5407 || PATH_SEPARATOR=';' 5408 } 5409fi 5410 5411# Find out how to test for executable files. Don't use a zero-byte file, 5412# as systems may use methods other than mode bits to determine executability. 5413cat >conf$$.file <<_ASEOF 5414#! /bin/sh 5415exit 0 5416_ASEOF 5417chmod +x conf$$.file 5418if test -x conf$$.file >/dev/null 2>&1; then 5419 ac_executable_p="test -x" 5420else 5421 ac_executable_p="test -f" 5422fi 5423rm -f conf$$.file 5424 5425# Extract the first word of "msgmerge", so it can be a program name with args. 5426set dummy msgmerge; ac_word=$2 5427{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5428printf %s "checking for $ac_word... " >&6; } 5429if test ${ac_cv_path_MSGMERGE+y} 5430then : 5431 printf %s "(cached) " >&6 5432else $as_nop 5433 case "$MSGMERGE" in 5434 [\\/]* | ?:[\\/]*) 5435 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 5436 ;; 5437 *) 5438 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 5439 for ac_dir in $PATH; do 5440 IFS="$ac_save_IFS" 5441 test -z "$ac_dir" && ac_dir=. 5442 for ac_exec_ext in '' $ac_executable_extensions; do 5443 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 5444 echo "$as_me: trying $ac_dir/$ac_word..." >&5 5445 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then 5446 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" 5447 break 2 5448 fi 5449 fi 5450 done 5451 done 5452 IFS="$ac_save_IFS" 5453 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" 5454 ;; 5455esac 5456fi 5457MSGMERGE="$ac_cv_path_MSGMERGE" 5458if test "$MSGMERGE" != ":"; then 5459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 5460printf "%s\n" "$MSGMERGE" >&6; } 5461else 5462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5463printf "%s\n" "no" >&6; } 5464fi 5465 5466 5467 test -n "$localedir" || localedir='${datadir}/locale' 5468 5469 5470 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= 5471 5472 5473 ac_config_commands="$ac_config_commands po-directories" 5474 5475 5476 5477 if test "X$prefix" = "XNONE"; then 5478 acl_final_prefix="$ac_default_prefix" 5479 else 5480 acl_final_prefix="$prefix" 5481 fi 5482 if test "X$exec_prefix" = "XNONE"; then 5483 acl_final_exec_prefix='${prefix}' 5484 else 5485 acl_final_exec_prefix="$exec_prefix" 5486 fi 5487 acl_save_prefix="$prefix" 5488 prefix="$acl_final_prefix" 5489 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 5490 prefix="$acl_save_prefix" 5491 5492 5493 5494 # Make sure we can run config.sub. 5495$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || 5496 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 5497 5498{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 5499printf %s "checking build system type... " >&6; } 5500if test ${ac_cv_build+y} 5501then : 5502 printf %s "(cached) " >&6 5503else $as_nop 5504 ac_build_alias=$build_alias 5505test "x$ac_build_alias" = x && 5506 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` 5507test "x$ac_build_alias" = x && 5508 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 5509ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || 5510 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 5511 5512fi 5513{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 5514printf "%s\n" "$ac_cv_build" >&6; } 5515case $ac_cv_build in 5516*-*-*) ;; 5517*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 5518esac 5519build=$ac_cv_build 5520ac_save_IFS=$IFS; IFS='-' 5521set x $ac_cv_build 5522shift 5523build_cpu=$1 5524build_vendor=$2 5525shift; shift 5526# Remember, the first character of IFS is used to create $*, 5527# except with old shells: 5528build_os=$* 5529IFS=$ac_save_IFS 5530case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 5531 5532 5533{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 5534printf %s "checking host system type... " >&6; } 5535if test ${ac_cv_host+y} 5536then : 5537 printf %s "(cached) " >&6 5538else $as_nop 5539 if test "x$host_alias" = x; then 5540 ac_cv_host=$ac_cv_build 5541else 5542 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || 5543 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 5544fi 5545 5546fi 5547{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 5548printf "%s\n" "$ac_cv_host" >&6; } 5549case $ac_cv_host in 5550*-*-*) ;; 5551*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 5552esac 5553host=$ac_cv_host 5554ac_save_IFS=$IFS; IFS='-' 5555set x $ac_cv_host 5556shift 5557host_cpu=$1 5558host_vendor=$2 5559shift; shift 5560# Remember, the first character of IFS is used to create $*, 5561# except with old shells: 5562host_os=$* 5563IFS=$ac_save_IFS 5564case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 5565 5566 5567 5568 5569# Check whether --with-gnu-ld was given. 5570if test ${with_gnu_ld+y} 5571then : 5572 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 5573else $as_nop 5574 with_gnu_ld=no 5575fi 5576 5577# Prepare PATH_SEPARATOR. 5578# The user is always right. 5579if test "${PATH_SEPARATOR+set}" != set; then 5580 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 5581 # contains only /bin. Note that ksh looks also at the FPATH variable, 5582 # so we have to set that as well for the test. 5583 PATH_SEPARATOR=: 5584 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 5585 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 5586 || PATH_SEPARATOR=';' 5587 } 5588fi 5589 5590ac_prog=ld 5591if test "$GCC" = yes; then 5592 # Check if gcc -print-prog-name=ld gives a path. 5593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 5594printf %s "checking for ld used by $CC... " >&6; } 5595 case $host in 5596 *-*-mingw*) 5597 # gcc leaves a trailing carriage return which upsets mingw 5598 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5599 *) 5600 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5601 esac 5602 case $ac_prog in 5603 # Accept absolute paths. 5604 [\\/]* | ?:[\\/]*) 5605 re_direlt='/[^/][^/]*/\.\./' 5606 # Canonicalize the pathname of ld 5607 ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'` 5608 while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do 5609 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` 5610 done 5611 test -z "$LD" && LD="$ac_prog" 5612 ;; 5613 "") 5614 # If it fails, then pretend we aren't using GCC. 5615 ac_prog=ld 5616 ;; 5617 *) 5618 # If it is relative, then search for the first ld in PATH. 5619 with_gnu_ld=unknown 5620 ;; 5621 esac 5622elif test "$with_gnu_ld" = yes; then 5623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5624printf %s "checking for GNU ld... " >&6; } 5625else 5626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5627printf %s "checking for non-GNU ld... " >&6; } 5628fi 5629if test ${acl_cv_path_LD+y} 5630then : 5631 printf %s "(cached) " >&6 5632else $as_nop 5633 if test -z "$LD"; then 5634 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5635 for ac_dir in $PATH; do 5636 IFS="$acl_save_ifs" 5637 test -z "$ac_dir" && ac_dir=. 5638 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5639 acl_cv_path_LD="$ac_dir/$ac_prog" 5640 # Check to see if the program is GNU ld. I'd rather use --version, 5641 # but apparently some variants of GNU ld only accept -v. 5642 # Break only if it was the GNU/non-GNU ld that we prefer. 5643 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in 5644 *GNU* | *'with BFD'*) 5645 test "$with_gnu_ld" != no && break 5646 ;; 5647 *) 5648 test "$with_gnu_ld" != yes && break 5649 ;; 5650 esac 5651 fi 5652 done 5653 IFS="$acl_save_ifs" 5654else 5655 acl_cv_path_LD="$LD" # Let the user override the test with a path. 5656fi 5657fi 5658 5659LD="$acl_cv_path_LD" 5660if test -n "$LD"; then 5661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5662printf "%s\n" "$LD" >&6; } 5663else 5664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5665printf "%s\n" "no" >&6; } 5666fi 5667test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 5668{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5669printf %s "checking if the linker ($LD) is GNU ld... " >&6; } 5670if test ${acl_cv_prog_gnu_ld+y} 5671then : 5672 printf %s "(cached) " >&6 5673else $as_nop 5674 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5675case `$LD -v 2>&1 </dev/null` in 5676*GNU* | *'with BFD'*) 5677 acl_cv_prog_gnu_ld=yes 5678 ;; 5679*) 5680 acl_cv_prog_gnu_ld=no 5681 ;; 5682esac 5683fi 5684{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 5685printf "%s\n" "$acl_cv_prog_gnu_ld" >&6; } 5686with_gnu_ld=$acl_cv_prog_gnu_ld 5687 5688 5689 5690 5691 5692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 5693printf %s "checking for shared library run path origin... " >&6; } 5694if test ${acl_cv_rpath+y} 5695then : 5696 printf %s "(cached) " >&6 5697else $as_nop 5698 5699 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 5700 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 5701 . ./conftest.sh 5702 rm -f ./conftest.sh 5703 acl_cv_rpath=done 5704 5705fi 5706{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 5707printf "%s\n" "$acl_cv_rpath" >&6; } 5708 wl="$acl_cv_wl" 5709 acl_libext="$acl_cv_libext" 5710 acl_shlibext="$acl_cv_shlibext" 5711 acl_libname_spec="$acl_cv_libname_spec" 5712 acl_library_names_spec="$acl_cv_library_names_spec" 5713 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 5714 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 5715 acl_hardcode_direct="$acl_cv_hardcode_direct" 5716 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" 5717 # Check whether --enable-rpath was given. 5718if test ${enable_rpath+y} 5719then : 5720 enableval=$enable_rpath; : 5721else $as_nop 5722 enable_rpath=yes 5723fi 5724 5725 5726ac_ext=c 5727ac_cpp='$CPP $CPPFLAGS' 5728ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5729ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5730ac_compiler_gnu=$ac_cv_c_compiler_gnu 5731{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 5732printf %s "checking how to run the C preprocessor... " >&6; } 5733# On Suns, sometimes $CPP names a directory. 5734if test -n "$CPP" && test -d "$CPP"; then 5735 CPP= 5736fi 5737if test -z "$CPP"; then 5738 if test ${ac_cv_prog_CPP+y} 5739then : 5740 printf %s "(cached) " >&6 5741else $as_nop 5742 # Double quotes because $CC needs to be expanded 5743 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp 5744 do 5745 ac_preproc_ok=false 5746for ac_c_preproc_warn_flag in '' yes 5747do 5748 # Use a header file that comes with gcc, so configuring glibc 5749 # with a fresh cross-compiler works. 5750 # On the NeXT, cc -E runs the code through the compiler's parser, 5751 # not just through cpp. "Syntax error" is here to catch this case. 5752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5753/* end confdefs.h. */ 5754#include <limits.h> 5755 Syntax error 5756_ACEOF 5757if ac_fn_c_try_cpp "$LINENO" 5758then : 5759 5760else $as_nop 5761 # Broken: fails on valid input. 5762continue 5763fi 5764rm -f conftest.err conftest.i conftest.$ac_ext 5765 5766 # OK, works on sane cases. Now check whether nonexistent headers 5767 # can be detected and how. 5768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5769/* end confdefs.h. */ 5770#include <ac_nonexistent.h> 5771_ACEOF 5772if ac_fn_c_try_cpp "$LINENO" 5773then : 5774 # Broken: success on invalid input. 5775continue 5776else $as_nop 5777 # Passes both tests. 5778ac_preproc_ok=: 5779break 5780fi 5781rm -f conftest.err conftest.i conftest.$ac_ext 5782 5783done 5784# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5785rm -f conftest.i conftest.err conftest.$ac_ext 5786if $ac_preproc_ok 5787then : 5788 break 5789fi 5790 5791 done 5792 ac_cv_prog_CPP=$CPP 5793 5794fi 5795 CPP=$ac_cv_prog_CPP 5796else 5797 ac_cv_prog_CPP=$CPP 5798fi 5799{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 5800printf "%s\n" "$CPP" >&6; } 5801ac_preproc_ok=false 5802for ac_c_preproc_warn_flag in '' yes 5803do 5804 # Use a header file that comes with gcc, so configuring glibc 5805 # with a fresh cross-compiler works. 5806 # On the NeXT, cc -E runs the code through the compiler's parser, 5807 # not just through cpp. "Syntax error" is here to catch this case. 5808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5809/* end confdefs.h. */ 5810#include <limits.h> 5811 Syntax error 5812_ACEOF 5813if ac_fn_c_try_cpp "$LINENO" 5814then : 5815 5816else $as_nop 5817 # Broken: fails on valid input. 5818continue 5819fi 5820rm -f conftest.err conftest.i conftest.$ac_ext 5821 5822 # OK, works on sane cases. Now check whether nonexistent headers 5823 # can be detected and how. 5824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5825/* end confdefs.h. */ 5826#include <ac_nonexistent.h> 5827_ACEOF 5828if ac_fn_c_try_cpp "$LINENO" 5829then : 5830 # Broken: success on invalid input. 5831continue 5832else $as_nop 5833 # Passes both tests. 5834ac_preproc_ok=: 5835break 5836fi 5837rm -f conftest.err conftest.i conftest.$ac_ext 5838 5839done 5840# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5841rm -f conftest.i conftest.err conftest.$ac_ext 5842if $ac_preproc_ok 5843then : 5844 5845else $as_nop 5846 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5847printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 5848as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 5849See \`config.log' for more details" "$LINENO" 5; } 5850fi 5851 5852ac_ext=c 5853ac_cpp='$CPP $CPPFLAGS' 5854ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5855ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5856ac_compiler_gnu=$ac_cv_c_compiler_gnu 5857 5858 5859{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5860printf %s "checking for grep that handles long lines and -e... " >&6; } 5861if test ${ac_cv_path_GREP+y} 5862then : 5863 printf %s "(cached) " >&6 5864else $as_nop 5865 if test -z "$GREP"; then 5866 ac_path_GREP_found=false 5867 # Loop through the user's path and test for each of PROGNAME-LIST 5868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5869for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5870do 5871 IFS=$as_save_IFS 5872 case $as_dir in #((( 5873 '') as_dir=./ ;; 5874 */) ;; 5875 *) as_dir=$as_dir/ ;; 5876 esac 5877 for ac_prog in grep ggrep 5878 do 5879 for ac_exec_ext in '' $ac_executable_extensions; do 5880 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext" 5881 as_fn_executable_p "$ac_path_GREP" || continue 5882# Check for GNU ac_path_GREP and select it if it is found. 5883 # Check for GNU $ac_path_GREP 5884case `"$ac_path_GREP" --version 2>&1` in 5885*GNU*) 5886 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5887*) 5888 ac_count=0 5889 printf %s 0123456789 >"conftest.in" 5890 while : 5891 do 5892 cat "conftest.in" "conftest.in" >"conftest.tmp" 5893 mv "conftest.tmp" "conftest.in" 5894 cp "conftest.in" "conftest.nl" 5895 printf "%s\n" 'GREP' >> "conftest.nl" 5896 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5897 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5898 as_fn_arith $ac_count + 1 && ac_count=$as_val 5899 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5900 # Best one so far, save it but keep looking for a better one 5901 ac_cv_path_GREP="$ac_path_GREP" 5902 ac_path_GREP_max=$ac_count 5903 fi 5904 # 10*(2^10) chars as input seems more than enough 5905 test $ac_count -gt 10 && break 5906 done 5907 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5908esac 5909 5910 $ac_path_GREP_found && break 3 5911 done 5912 done 5913 done 5914IFS=$as_save_IFS 5915 if test -z "$ac_cv_path_GREP"; then 5916 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5917 fi 5918else 5919 ac_cv_path_GREP=$GREP 5920fi 5921 5922fi 5923{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5924printf "%s\n" "$ac_cv_path_GREP" >&6; } 5925 GREP="$ac_cv_path_GREP" 5926 5927 5928{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5929printf %s "checking for egrep... " >&6; } 5930if test ${ac_cv_path_EGREP+y} 5931then : 5932 printf %s "(cached) " >&6 5933else $as_nop 5934 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5935 then ac_cv_path_EGREP="$GREP -E" 5936 else 5937 if test -z "$EGREP"; then 5938 ac_path_EGREP_found=false 5939 # Loop through the user's path and test for each of PROGNAME-LIST 5940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5941for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5942do 5943 IFS=$as_save_IFS 5944 case $as_dir in #((( 5945 '') as_dir=./ ;; 5946 */) ;; 5947 *) as_dir=$as_dir/ ;; 5948 esac 5949 for ac_prog in egrep 5950 do 5951 for ac_exec_ext in '' $ac_executable_extensions; do 5952 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext" 5953 as_fn_executable_p "$ac_path_EGREP" || continue 5954# Check for GNU ac_path_EGREP and select it if it is found. 5955 # Check for GNU $ac_path_EGREP 5956case `"$ac_path_EGREP" --version 2>&1` in 5957*GNU*) 5958 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5959*) 5960 ac_count=0 5961 printf %s 0123456789 >"conftest.in" 5962 while : 5963 do 5964 cat "conftest.in" "conftest.in" >"conftest.tmp" 5965 mv "conftest.tmp" "conftest.in" 5966 cp "conftest.in" "conftest.nl" 5967 printf "%s\n" 'EGREP' >> "conftest.nl" 5968 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5969 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5970 as_fn_arith $ac_count + 1 && ac_count=$as_val 5971 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5972 # Best one so far, save it but keep looking for a better one 5973 ac_cv_path_EGREP="$ac_path_EGREP" 5974 ac_path_EGREP_max=$ac_count 5975 fi 5976 # 10*(2^10) chars as input seems more than enough 5977 test $ac_count -gt 10 && break 5978 done 5979 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5980esac 5981 5982 $ac_path_EGREP_found && break 3 5983 done 5984 done 5985 done 5986IFS=$as_save_IFS 5987 if test -z "$ac_cv_path_EGREP"; then 5988 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5989 fi 5990else 5991 ac_cv_path_EGREP=$EGREP 5992fi 5993 5994 fi 5995fi 5996{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5997printf "%s\n" "$ac_cv_path_EGREP" >&6; } 5998 EGREP="$ac_cv_path_EGREP" 5999 6000 6001 6002 6003 acl_libdirstem=lib 6004 acl_libdirstem2= 6005 case "$host_os" in 6006 solaris*) 6007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 6008printf %s "checking for 64-bit host... " >&6; } 6009if test ${gl_cv_solaris_64bit+y} 6010then : 6011 printf %s "(cached) " >&6 6012else $as_nop 6013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6014/* end confdefs.h. */ 6015 6016#ifdef _LP64 6017sixtyfour bits 6018#endif 6019 6020_ACEOF 6021if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6022 $EGREP "sixtyfour bits" >/dev/null 2>&1 6023then : 6024 gl_cv_solaris_64bit=yes 6025else $as_nop 6026 gl_cv_solaris_64bit=no 6027fi 6028rm -rf conftest* 6029 6030 6031fi 6032{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 6033printf "%s\n" "$gl_cv_solaris_64bit" >&6; } 6034 if test $gl_cv_solaris_64bit = yes; then 6035 acl_libdirstem=lib/64 6036 case "$host_cpu" in 6037 sparc*) acl_libdirstem2=lib/sparcv9 ;; 6038 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; 6039 esac 6040 fi 6041 ;; 6042 *) 6043 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` 6044 if test -n "$searchpath"; then 6045 acl_save_IFS="${IFS= }"; IFS=":" 6046 for searchdir in $searchpath; do 6047 if test -d "$searchdir"; then 6048 case "$searchdir" in 6049 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; 6050 */../ | */.. ) 6051 # Better ignore directories of this form. They are misleading. 6052 ;; 6053 *) searchdir=`cd "$searchdir" && pwd` 6054 case "$searchdir" in 6055 */lib64 ) acl_libdirstem=lib64 ;; 6056 esac ;; 6057 esac 6058 fi 6059 done 6060 IFS="$acl_save_IFS" 6061 fi 6062 ;; 6063 esac 6064 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 use_additional=yes 6078 6079 acl_save_prefix="$prefix" 6080 prefix="$acl_final_prefix" 6081 acl_save_exec_prefix="$exec_prefix" 6082 exec_prefix="$acl_final_exec_prefix" 6083 6084 eval additional_includedir=\"$includedir\" 6085 eval additional_libdir=\"$libdir\" 6086 6087 exec_prefix="$acl_save_exec_prefix" 6088 prefix="$acl_save_prefix" 6089 6090 6091# Check whether --with-libiconv-prefix was given. 6092if test ${with_libiconv_prefix+y} 6093then : 6094 withval=$with_libiconv_prefix; 6095 if test "X$withval" = "Xno"; then 6096 use_additional=no 6097 else 6098 if test "X$withval" = "X"; then 6099 6100 acl_save_prefix="$prefix" 6101 prefix="$acl_final_prefix" 6102 acl_save_exec_prefix="$exec_prefix" 6103 exec_prefix="$acl_final_exec_prefix" 6104 6105 eval additional_includedir=\"$includedir\" 6106 eval additional_libdir=\"$libdir\" 6107 6108 exec_prefix="$acl_save_exec_prefix" 6109 prefix="$acl_save_prefix" 6110 6111 else 6112 additional_includedir="$withval/include" 6113 additional_libdir="$withval/$acl_libdirstem" 6114 if test "$acl_libdirstem2" != "$acl_libdirstem" \ 6115 && ! test -d "$withval/$acl_libdirstem"; then 6116 additional_libdir="$withval/$acl_libdirstem2" 6117 fi 6118 fi 6119 fi 6120 6121fi 6122 6123 LIBICONV= 6124 LTLIBICONV= 6125 INCICONV= 6126 LIBICONV_PREFIX= 6127 HAVE_LIBICONV= 6128 rpathdirs= 6129 ltrpathdirs= 6130 names_already_handled= 6131 names_next_round='iconv ' 6132 while test -n "$names_next_round"; do 6133 names_this_round="$names_next_round" 6134 names_next_round= 6135 for name in $names_this_round; do 6136 already_handled= 6137 for n in $names_already_handled; do 6138 if test "$n" = "$name"; then 6139 already_handled=yes 6140 break 6141 fi 6142 done 6143 if test -z "$already_handled"; then 6144 names_already_handled="$names_already_handled $name" 6145 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` 6146 eval value=\"\$HAVE_LIB$uppername\" 6147 if test -n "$value"; then 6148 if test "$value" = yes; then 6149 eval value=\"\$LIB$uppername\" 6150 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" 6151 eval value=\"\$LTLIB$uppername\" 6152 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" 6153 else 6154 : 6155 fi 6156 else 6157 found_dir= 6158 found_la= 6159 found_so= 6160 found_a= 6161 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 6162 if test -n "$acl_shlibext"; then 6163 shrext=".$acl_shlibext" # typically: shrext=.so 6164 else 6165 shrext= 6166 fi 6167 if test $use_additional = yes; then 6168 dir="$additional_libdir" 6169 if test -n "$acl_shlibext"; then 6170 if test -f "$dir/$libname$shrext"; then 6171 found_dir="$dir" 6172 found_so="$dir/$libname$shrext" 6173 else 6174 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 6175 ver=`(cd "$dir" && \ 6176 for f in "$libname$shrext".*; do echo "$f"; done \ 6177 | sed -e "s,^$libname$shrext\\\\.,," \ 6178 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 6179 | sed 1q ) 2>/dev/null` 6180 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 6181 found_dir="$dir" 6182 found_so="$dir/$libname$shrext.$ver" 6183 fi 6184 else 6185 eval library_names=\"$acl_library_names_spec\" 6186 for f in $library_names; do 6187 if test -f "$dir/$f"; then 6188 found_dir="$dir" 6189 found_so="$dir/$f" 6190 break 6191 fi 6192 done 6193 fi 6194 fi 6195 fi 6196 if test "X$found_dir" = "X"; then 6197 if test -f "$dir/$libname.$acl_libext"; then 6198 found_dir="$dir" 6199 found_a="$dir/$libname.$acl_libext" 6200 fi 6201 fi 6202 if test "X$found_dir" != "X"; then 6203 if test -f "$dir/$libname.la"; then 6204 found_la="$dir/$libname.la" 6205 fi 6206 fi 6207 fi 6208 if test "X$found_dir" = "X"; then 6209 for x in $LDFLAGS $LTLIBICONV; do 6210 6211 acl_save_prefix="$prefix" 6212 prefix="$acl_final_prefix" 6213 acl_save_exec_prefix="$exec_prefix" 6214 exec_prefix="$acl_final_exec_prefix" 6215 eval x=\"$x\" 6216 exec_prefix="$acl_save_exec_prefix" 6217 prefix="$acl_save_prefix" 6218 6219 case "$x" in 6220 -L*) 6221 dir=`echo "X$x" | sed -e 's/^X-L//'` 6222 if test -n "$acl_shlibext"; then 6223 if test -f "$dir/$libname$shrext"; then 6224 found_dir="$dir" 6225 found_so="$dir/$libname$shrext" 6226 else 6227 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 6228 ver=`(cd "$dir" && \ 6229 for f in "$libname$shrext".*; do echo "$f"; done \ 6230 | sed -e "s,^$libname$shrext\\\\.,," \ 6231 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 6232 | sed 1q ) 2>/dev/null` 6233 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 6234 found_dir="$dir" 6235 found_so="$dir/$libname$shrext.$ver" 6236 fi 6237 else 6238 eval library_names=\"$acl_library_names_spec\" 6239 for f in $library_names; do 6240 if test -f "$dir/$f"; then 6241 found_dir="$dir" 6242 found_so="$dir/$f" 6243 break 6244 fi 6245 done 6246 fi 6247 fi 6248 fi 6249 if test "X$found_dir" = "X"; then 6250 if test -f "$dir/$libname.$acl_libext"; then 6251 found_dir="$dir" 6252 found_a="$dir/$libname.$acl_libext" 6253 fi 6254 fi 6255 if test "X$found_dir" != "X"; then 6256 if test -f "$dir/$libname.la"; then 6257 found_la="$dir/$libname.la" 6258 fi 6259 fi 6260 ;; 6261 esac 6262 if test "X$found_dir" != "X"; then 6263 break 6264 fi 6265 done 6266 fi 6267 if test "X$found_dir" != "X"; then 6268 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" 6269 if test "X$found_so" != "X"; then 6270 if test "$enable_rpath" = no \ 6271 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 6272 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then 6273 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 6274 else 6275 haveit= 6276 for x in $ltrpathdirs; do 6277 if test "X$x" = "X$found_dir"; then 6278 haveit=yes 6279 break 6280 fi 6281 done 6282 if test -z "$haveit"; then 6283 ltrpathdirs="$ltrpathdirs $found_dir" 6284 fi 6285 if test "$acl_hardcode_direct" = yes; then 6286 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 6287 else 6288 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 6289 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 6290 haveit= 6291 for x in $rpathdirs; do 6292 if test "X$x" = "X$found_dir"; then 6293 haveit=yes 6294 break 6295 fi 6296 done 6297 if test -z "$haveit"; then 6298 rpathdirs="$rpathdirs $found_dir" 6299 fi 6300 else 6301 haveit= 6302 for x in $LDFLAGS $LIBICONV; do 6303 6304 acl_save_prefix="$prefix" 6305 prefix="$acl_final_prefix" 6306 acl_save_exec_prefix="$exec_prefix" 6307 exec_prefix="$acl_final_exec_prefix" 6308 eval x=\"$x\" 6309 exec_prefix="$acl_save_exec_prefix" 6310 prefix="$acl_save_prefix" 6311 6312 if test "X$x" = "X-L$found_dir"; then 6313 haveit=yes 6314 break 6315 fi 6316 done 6317 if test -z "$haveit"; then 6318 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" 6319 fi 6320 if test "$acl_hardcode_minus_L" != no; then 6321 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 6322 else 6323 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 6324 fi 6325 fi 6326 fi 6327 fi 6328 else 6329 if test "X$found_a" != "X"; then 6330 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" 6331 else 6332 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" 6333 fi 6334 fi 6335 additional_includedir= 6336 case "$found_dir" in 6337 */$acl_libdirstem | */$acl_libdirstem/) 6338 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 6339 if test "$name" = 'iconv'; then 6340 LIBICONV_PREFIX="$basedir" 6341 fi 6342 additional_includedir="$basedir/include" 6343 ;; 6344 */$acl_libdirstem2 | */$acl_libdirstem2/) 6345 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 6346 if test "$name" = 'iconv'; then 6347 LIBICONV_PREFIX="$basedir" 6348 fi 6349 additional_includedir="$basedir/include" 6350 ;; 6351 esac 6352 if test "X$additional_includedir" != "X"; then 6353 if test "X$additional_includedir" != "X/usr/include"; then 6354 haveit= 6355 if test "X$additional_includedir" = "X/usr/local/include"; then 6356 if test -n "$GCC"; then 6357 case $host_os in 6358 linux* | gnu* | k*bsd*-gnu | freebsd* ) haveit=yes;; 6359 esac 6360 fi 6361 fi 6362 if test -z "$haveit"; then 6363 for x in $CPPFLAGS $INCICONV; do 6364 6365 acl_save_prefix="$prefix" 6366 prefix="$acl_final_prefix" 6367 acl_save_exec_prefix="$exec_prefix" 6368 exec_prefix="$acl_final_exec_prefix" 6369 eval x=\"$x\" 6370 exec_prefix="$acl_save_exec_prefix" 6371 prefix="$acl_save_prefix" 6372 6373 if test "X$x" = "X-I$additional_includedir"; then 6374 haveit=yes 6375 break 6376 fi 6377 done 6378 if test -z "$haveit"; then 6379 if test -d "$additional_includedir"; then 6380 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" 6381 fi 6382 fi 6383 fi 6384 fi 6385 fi 6386 if test -n "$found_la"; then 6387 save_libdir="$libdir" 6388 case "$found_la" in 6389 */* | *\\*) . "$found_la" ;; 6390 *) . "./$found_la" ;; 6391 esac 6392 libdir="$save_libdir" 6393 for dep in $dependency_libs; do 6394 case "$dep" in 6395 -L*) 6396 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 6397 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ 6398 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then 6399 haveit= 6400 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ 6401 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then 6402 if test -n "$GCC"; then 6403 case $host_os in 6404 linux* | gnu* | k*bsd*-gnu | freebsd* ) haveit=yes;; 6405 esac 6406 fi 6407 fi 6408 if test -z "$haveit"; then 6409 haveit= 6410 for x in $LDFLAGS $LIBICONV; do 6411 6412 acl_save_prefix="$prefix" 6413 prefix="$acl_final_prefix" 6414 acl_save_exec_prefix="$exec_prefix" 6415 exec_prefix="$acl_final_exec_prefix" 6416 eval x=\"$x\" 6417 exec_prefix="$acl_save_exec_prefix" 6418 prefix="$acl_save_prefix" 6419 6420 if test "X$x" = "X-L$additional_libdir"; then 6421 haveit=yes 6422 break 6423 fi 6424 done 6425 if test -z "$haveit"; then 6426 if test -d "$additional_libdir"; then 6427 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" 6428 fi 6429 fi 6430 haveit= 6431 for x in $LDFLAGS $LTLIBICONV; do 6432 6433 acl_save_prefix="$prefix" 6434 prefix="$acl_final_prefix" 6435 acl_save_exec_prefix="$exec_prefix" 6436 exec_prefix="$acl_final_exec_prefix" 6437 eval x=\"$x\" 6438 exec_prefix="$acl_save_exec_prefix" 6439 prefix="$acl_save_prefix" 6440 6441 if test "X$x" = "X-L$additional_libdir"; then 6442 haveit=yes 6443 break 6444 fi 6445 done 6446 if test -z "$haveit"; then 6447 if test -d "$additional_libdir"; then 6448 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" 6449 fi 6450 fi 6451 fi 6452 fi 6453 ;; 6454 -R*) 6455 dir=`echo "X$dep" | sed -e 's/^X-R//'` 6456 if test "$enable_rpath" != no; then 6457 haveit= 6458 for x in $rpathdirs; do 6459 if test "X$x" = "X$dir"; then 6460 haveit=yes 6461 break 6462 fi 6463 done 6464 if test -z "$haveit"; then 6465 rpathdirs="$rpathdirs $dir" 6466 fi 6467 haveit= 6468 for x in $ltrpathdirs; do 6469 if test "X$x" = "X$dir"; then 6470 haveit=yes 6471 break 6472 fi 6473 done 6474 if test -z "$haveit"; then 6475 ltrpathdirs="$ltrpathdirs $dir" 6476 fi 6477 fi 6478 ;; 6479 -l*) 6480 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 6481 ;; 6482 *.la) 6483 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 6484 ;; 6485 *) 6486 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" 6487 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" 6488 ;; 6489 esac 6490 done 6491 fi 6492 else 6493 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 6494 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" 6495 fi 6496 fi 6497 fi 6498 done 6499 done 6500 if test "X$rpathdirs" != "X"; then 6501 if test -n "$acl_hardcode_libdir_separator"; then 6502 alldirs= 6503 for found_dir in $rpathdirs; do 6504 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 6505 done 6506 acl_save_libdir="$libdir" 6507 libdir="$alldirs" 6508 eval flag=\"$acl_hardcode_libdir_flag_spec\" 6509 libdir="$acl_save_libdir" 6510 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 6511 else 6512 for found_dir in $rpathdirs; do 6513 acl_save_libdir="$libdir" 6514 libdir="$found_dir" 6515 eval flag=\"$acl_hardcode_libdir_flag_spec\" 6516 libdir="$acl_save_libdir" 6517 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 6518 done 6519 fi 6520 fi 6521 if test "X$ltrpathdirs" != "X"; then 6522 for found_dir in $ltrpathdirs; do 6523 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" 6524 done 6525 fi 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 6558printf %s "checking for CFPreferencesCopyAppValue... " >&6; } 6559if test ${gt_cv_func_CFPreferencesCopyAppValue+y} 6560then : 6561 printf %s "(cached) " >&6 6562else $as_nop 6563 gt_save_LIBS="$LIBS" 6564 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 6565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6566/* end confdefs.h. */ 6567#include <CoreFoundation/CFPreferences.h> 6568int 6569main (void) 6570{ 6571CFPreferencesCopyAppValue(NULL, NULL) 6572 ; 6573 return 0; 6574} 6575_ACEOF 6576if ac_fn_c_try_link "$LINENO" 6577then : 6578 gt_cv_func_CFPreferencesCopyAppValue=yes 6579else $as_nop 6580 gt_cv_func_CFPreferencesCopyAppValue=no 6581fi 6582rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6583 conftest$ac_exeext conftest.$ac_ext 6584 LIBS="$gt_save_LIBS" 6585fi 6586{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 6587printf "%s\n" "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } 6588 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 6589 6590printf "%s\n" "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h 6591 6592 fi 6593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 6594printf %s "checking for CFLocaleCopyCurrent... " >&6; } 6595if test ${gt_cv_func_CFLocaleCopyCurrent+y} 6596then : 6597 printf %s "(cached) " >&6 6598else $as_nop 6599 gt_save_LIBS="$LIBS" 6600 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 6601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6602/* end confdefs.h. */ 6603#include <CoreFoundation/CFLocale.h> 6604int 6605main (void) 6606{ 6607CFLocaleCopyCurrent(); 6608 ; 6609 return 0; 6610} 6611_ACEOF 6612if ac_fn_c_try_link "$LINENO" 6613then : 6614 gt_cv_func_CFLocaleCopyCurrent=yes 6615else $as_nop 6616 gt_cv_func_CFLocaleCopyCurrent=no 6617fi 6618rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6619 conftest$ac_exeext conftest.$ac_ext 6620 LIBS="$gt_save_LIBS" 6621fi 6622{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 6623printf "%s\n" "$gt_cv_func_CFLocaleCopyCurrent" >&6; } 6624 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then 6625 6626printf "%s\n" "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h 6627 6628 fi 6629 INTL_MACOSX_LIBS= 6630 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then 6631 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 6632 fi 6633 6634 6635 6636 6637 6638 6639 LIBINTL= 6640 LTLIBINTL= 6641 POSUB= 6642 6643 case " $gt_needs " in 6644 *" need-formatstring-macros "*) gt_api_version=3 ;; 6645 *" need-ngettext "*) gt_api_version=2 ;; 6646 *) gt_api_version=1 ;; 6647 esac 6648 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" 6649 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" 6650 6651 if test "$USE_NLS" = "yes"; then 6652 gt_use_preinstalled_gnugettext=no 6653 6654 6655 if test $gt_api_version -ge 3; then 6656 gt_revision_test_code=' 6657#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 6658#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) 6659#endif 6660typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; 6661' 6662 else 6663 gt_revision_test_code= 6664 fi 6665 if test $gt_api_version -ge 2; then 6666 gt_expression_test_code=' + * ngettext ("", "", 0)' 6667 else 6668 gt_expression_test_code= 6669 fi 6670 6671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 6672printf %s "checking for GNU gettext in libc... " >&6; } 6673if eval test \${$gt_func_gnugettext_libc+y} 6674then : 6675 printf %s "(cached) " >&6 6676else $as_nop 6677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6678/* end confdefs.h. */ 6679 6680#include <libintl.h> 6681$gt_revision_test_code 6682extern int _nl_msg_cat_cntr; 6683extern int *_nl_domain_bindings; 6684 6685int 6686main (void) 6687{ 6688 6689bindtextdomain ("", ""); 6690return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings 6691 6692 ; 6693 return 0; 6694} 6695_ACEOF 6696if ac_fn_c_try_link "$LINENO" 6697then : 6698 eval "$gt_func_gnugettext_libc=yes" 6699else $as_nop 6700 eval "$gt_func_gnugettext_libc=no" 6701fi 6702rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6703 conftest$ac_exeext conftest.$ac_ext 6704fi 6705eval ac_res=\$$gt_func_gnugettext_libc 6706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 6707printf "%s\n" "$ac_res" >&6; } 6708 6709 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then 6710 6711 6712 6713 6714 6715 am_save_CPPFLAGS="$CPPFLAGS" 6716 6717 for element in $INCICONV; do 6718 haveit= 6719 for x in $CPPFLAGS; do 6720 6721 acl_save_prefix="$prefix" 6722 prefix="$acl_final_prefix" 6723 acl_save_exec_prefix="$exec_prefix" 6724 exec_prefix="$acl_final_exec_prefix" 6725 eval x=\"$x\" 6726 exec_prefix="$acl_save_exec_prefix" 6727 prefix="$acl_save_prefix" 6728 6729 if test "X$x" = "X$element"; then 6730 haveit=yes 6731 break 6732 fi 6733 done 6734 if test -z "$haveit"; then 6735 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 6736 fi 6737 done 6738 6739 6740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 6741printf %s "checking for iconv... " >&6; } 6742if test ${am_cv_func_iconv+y} 6743then : 6744 printf %s "(cached) " >&6 6745else $as_nop 6746 6747 am_cv_func_iconv="no, consider installing GNU libiconv" 6748 am_cv_lib_iconv=no 6749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6750/* end confdefs.h. */ 6751 6752#include <stdlib.h> 6753#include <iconv.h> 6754 6755int 6756main (void) 6757{ 6758iconv_t cd = iconv_open("",""); 6759 iconv(cd,NULL,NULL,NULL,NULL); 6760 iconv_close(cd); 6761 ; 6762 return 0; 6763} 6764_ACEOF 6765if ac_fn_c_try_link "$LINENO" 6766then : 6767 am_cv_func_iconv=yes 6768fi 6769rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6770 conftest$ac_exeext conftest.$ac_ext 6771 if test "$am_cv_func_iconv" != yes; then 6772 am_save_LIBS="$LIBS" 6773 LIBS="$LIBS $LIBICONV" 6774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6775/* end confdefs.h. */ 6776 6777#include <stdlib.h> 6778#include <iconv.h> 6779 6780int 6781main (void) 6782{ 6783iconv_t cd = iconv_open("",""); 6784 iconv(cd,NULL,NULL,NULL,NULL); 6785 iconv_close(cd); 6786 ; 6787 return 0; 6788} 6789_ACEOF 6790if ac_fn_c_try_link "$LINENO" 6791then : 6792 am_cv_lib_iconv=yes 6793 am_cv_func_iconv=yes 6794fi 6795rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6796 conftest$ac_exeext conftest.$ac_ext 6797 LIBS="$am_save_LIBS" 6798 fi 6799 6800fi 6801{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 6802printf "%s\n" "$am_cv_func_iconv" >&6; } 6803 if test "$am_cv_func_iconv" = yes; then 6804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 6805printf %s "checking for working iconv... " >&6; } 6806if test ${am_cv_func_iconv_works+y} 6807then : 6808 printf %s "(cached) " >&6 6809else $as_nop 6810 6811 am_save_LIBS="$LIBS" 6812 if test $am_cv_lib_iconv = yes; then 6813 LIBS="$LIBS $LIBICONV" 6814 fi 6815 if test "$cross_compiling" = yes 6816then : 6817 6818 case "$host_os" in 6819 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; 6820 *) am_cv_func_iconv_works="guessing yes" ;; 6821 esac 6822 6823else $as_nop 6824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6825/* end confdefs.h. */ 6826 6827#include <iconv.h> 6828#include <string.h> 6829int main () 6830{ 6831 int result = 0; 6832 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful 6833 returns. */ 6834 { 6835 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); 6836 if (cd_utf8_to_88591 != (iconv_t)(-1)) 6837 { 6838 static const char input[] = "\342\202\254"; /* EURO SIGN */ 6839 char buf[10]; 6840 const char *inptr = input; 6841 size_t inbytesleft = strlen (input); 6842 char *outptr = buf; 6843 size_t outbytesleft = sizeof (buf); 6844 size_t res = iconv (cd_utf8_to_88591, 6845 (char **) &inptr, &inbytesleft, 6846 &outptr, &outbytesleft); 6847 if (res == 0) 6848 result |= 1; 6849 iconv_close (cd_utf8_to_88591); 6850 } 6851 } 6852 /* Test against Solaris 10 bug: Failures are not distinguishable from 6853 successful returns. */ 6854 { 6855 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); 6856 if (cd_ascii_to_88591 != (iconv_t)(-1)) 6857 { 6858 static const char input[] = "\263"; 6859 char buf[10]; 6860 const char *inptr = input; 6861 size_t inbytesleft = strlen (input); 6862 char *outptr = buf; 6863 size_t outbytesleft = sizeof (buf); 6864 size_t res = iconv (cd_ascii_to_88591, 6865 (char **) &inptr, &inbytesleft, 6866 &outptr, &outbytesleft); 6867 if (res == 0) 6868 result |= 2; 6869 iconv_close (cd_ascii_to_88591); 6870 } 6871 } 6872 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ 6873 { 6874 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); 6875 if (cd_88591_to_utf8 != (iconv_t)(-1)) 6876 { 6877 static const char input[] = "\304"; 6878 static char buf[2] = { (char)0xDE, (char)0xAD }; 6879 const char *inptr = input; 6880 size_t inbytesleft = 1; 6881 char *outptr = buf; 6882 size_t outbytesleft = 1; 6883 size_t res = iconv (cd_88591_to_utf8, 6884 (char **) &inptr, &inbytesleft, 6885 &outptr, &outbytesleft); 6886 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) 6887 result |= 4; 6888 iconv_close (cd_88591_to_utf8); 6889 } 6890 } 6891#if 0 /* This bug could be worked around by the caller. */ 6892 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ 6893 { 6894 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); 6895 if (cd_88591_to_utf8 != (iconv_t)(-1)) 6896 { 6897 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; 6898 char buf[50]; 6899 const char *inptr = input; 6900 size_t inbytesleft = strlen (input); 6901 char *outptr = buf; 6902 size_t outbytesleft = sizeof (buf); 6903 size_t res = iconv (cd_88591_to_utf8, 6904 (char **) &inptr, &inbytesleft, 6905 &outptr, &outbytesleft); 6906 if ((int)res > 0) 6907 result |= 8; 6908 iconv_close (cd_88591_to_utf8); 6909 } 6910 } 6911#endif 6912 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is 6913 provided. */ 6914 if (/* Try standardized names. */ 6915 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) 6916 /* Try IRIX, OSF/1 names. */ 6917 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) 6918 /* Try AIX names. */ 6919 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) 6920 /* Try HP-UX names. */ 6921 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) 6922 result |= 16; 6923 return result; 6924} 6925_ACEOF 6926if ac_fn_c_try_run "$LINENO" 6927then : 6928 am_cv_func_iconv_works=yes 6929else $as_nop 6930 am_cv_func_iconv_works=no 6931fi 6932rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6933 conftest.$ac_objext conftest.beam conftest.$ac_ext 6934fi 6935 6936 LIBS="$am_save_LIBS" 6937 6938fi 6939{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 6940printf "%s\n" "$am_cv_func_iconv_works" >&6; } 6941 case "$am_cv_func_iconv_works" in 6942 *no) am_func_iconv=no am_cv_lib_iconv=no ;; 6943 *) am_func_iconv=yes ;; 6944 esac 6945 else 6946 am_func_iconv=no am_cv_lib_iconv=no 6947 fi 6948 if test "$am_func_iconv" = yes; then 6949 6950printf "%s\n" "#define HAVE_ICONV 1" >>confdefs.h 6951 6952 fi 6953 if test "$am_cv_lib_iconv" = yes; then 6954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 6955printf %s "checking how to link with libiconv... " >&6; } 6956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 6957printf "%s\n" "$LIBICONV" >&6; } 6958 else 6959 CPPFLAGS="$am_save_CPPFLAGS" 6960 LIBICONV= 6961 LTLIBICONV= 6962 fi 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 use_additional=yes 6975 6976 acl_save_prefix="$prefix" 6977 prefix="$acl_final_prefix" 6978 acl_save_exec_prefix="$exec_prefix" 6979 exec_prefix="$acl_final_exec_prefix" 6980 6981 eval additional_includedir=\"$includedir\" 6982 eval additional_libdir=\"$libdir\" 6983 6984 exec_prefix="$acl_save_exec_prefix" 6985 prefix="$acl_save_prefix" 6986 6987 6988# Check whether --with-libintl-prefix was given. 6989if test ${with_libintl_prefix+y} 6990then : 6991 withval=$with_libintl_prefix; 6992 if test "X$withval" = "Xno"; then 6993 use_additional=no 6994 else 6995 if test "X$withval" = "X"; then 6996 6997 acl_save_prefix="$prefix" 6998 prefix="$acl_final_prefix" 6999 acl_save_exec_prefix="$exec_prefix" 7000 exec_prefix="$acl_final_exec_prefix" 7001 7002 eval additional_includedir=\"$includedir\" 7003 eval additional_libdir=\"$libdir\" 7004 7005 exec_prefix="$acl_save_exec_prefix" 7006 prefix="$acl_save_prefix" 7007 7008 else 7009 additional_includedir="$withval/include" 7010 additional_libdir="$withval/$acl_libdirstem" 7011 if test "$acl_libdirstem2" != "$acl_libdirstem" \ 7012 && ! test -d "$withval/$acl_libdirstem"; then 7013 additional_libdir="$withval/$acl_libdirstem2" 7014 fi 7015 fi 7016 fi 7017 7018fi 7019 7020 LIBINTL= 7021 LTLIBINTL= 7022 INCINTL= 7023 LIBINTL_PREFIX= 7024 HAVE_LIBINTL= 7025 rpathdirs= 7026 ltrpathdirs= 7027 names_already_handled= 7028 names_next_round='intl ' 7029 while test -n "$names_next_round"; do 7030 names_this_round="$names_next_round" 7031 names_next_round= 7032 for name in $names_this_round; do 7033 already_handled= 7034 for n in $names_already_handled; do 7035 if test "$n" = "$name"; then 7036 already_handled=yes 7037 break 7038 fi 7039 done 7040 if test -z "$already_handled"; then 7041 names_already_handled="$names_already_handled $name" 7042 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` 7043 eval value=\"\$HAVE_LIB$uppername\" 7044 if test -n "$value"; then 7045 if test "$value" = yes; then 7046 eval value=\"\$LIB$uppername\" 7047 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" 7048 eval value=\"\$LTLIB$uppername\" 7049 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" 7050 else 7051 : 7052 fi 7053 else 7054 found_dir= 7055 found_la= 7056 found_so= 7057 found_a= 7058 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 7059 if test -n "$acl_shlibext"; then 7060 shrext=".$acl_shlibext" # typically: shrext=.so 7061 else 7062 shrext= 7063 fi 7064 if test $use_additional = yes; then 7065 dir="$additional_libdir" 7066 if test -n "$acl_shlibext"; then 7067 if test -f "$dir/$libname$shrext"; then 7068 found_dir="$dir" 7069 found_so="$dir/$libname$shrext" 7070 else 7071 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 7072 ver=`(cd "$dir" && \ 7073 for f in "$libname$shrext".*; do echo "$f"; done \ 7074 | sed -e "s,^$libname$shrext\\\\.,," \ 7075 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 7076 | sed 1q ) 2>/dev/null` 7077 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 7078 found_dir="$dir" 7079 found_so="$dir/$libname$shrext.$ver" 7080 fi 7081 else 7082 eval library_names=\"$acl_library_names_spec\" 7083 for f in $library_names; do 7084 if test -f "$dir/$f"; then 7085 found_dir="$dir" 7086 found_so="$dir/$f" 7087 break 7088 fi 7089 done 7090 fi 7091 fi 7092 fi 7093 if test "X$found_dir" = "X"; then 7094 if test -f "$dir/$libname.$acl_libext"; then 7095 found_dir="$dir" 7096 found_a="$dir/$libname.$acl_libext" 7097 fi 7098 fi 7099 if test "X$found_dir" != "X"; then 7100 if test -f "$dir/$libname.la"; then 7101 found_la="$dir/$libname.la" 7102 fi 7103 fi 7104 fi 7105 if test "X$found_dir" = "X"; then 7106 for x in $LDFLAGS $LTLIBINTL; do 7107 7108 acl_save_prefix="$prefix" 7109 prefix="$acl_final_prefix" 7110 acl_save_exec_prefix="$exec_prefix" 7111 exec_prefix="$acl_final_exec_prefix" 7112 eval x=\"$x\" 7113 exec_prefix="$acl_save_exec_prefix" 7114 prefix="$acl_save_prefix" 7115 7116 case "$x" in 7117 -L*) 7118 dir=`echo "X$x" | sed -e 's/^X-L//'` 7119 if test -n "$acl_shlibext"; then 7120 if test -f "$dir/$libname$shrext"; then 7121 found_dir="$dir" 7122 found_so="$dir/$libname$shrext" 7123 else 7124 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 7125 ver=`(cd "$dir" && \ 7126 for f in "$libname$shrext".*; do echo "$f"; done \ 7127 | sed -e "s,^$libname$shrext\\\\.,," \ 7128 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 7129 | sed 1q ) 2>/dev/null` 7130 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 7131 found_dir="$dir" 7132 found_so="$dir/$libname$shrext.$ver" 7133 fi 7134 else 7135 eval library_names=\"$acl_library_names_spec\" 7136 for f in $library_names; do 7137 if test -f "$dir/$f"; then 7138 found_dir="$dir" 7139 found_so="$dir/$f" 7140 break 7141 fi 7142 done 7143 fi 7144 fi 7145 fi 7146 if test "X$found_dir" = "X"; then 7147 if test -f "$dir/$libname.$acl_libext"; then 7148 found_dir="$dir" 7149 found_a="$dir/$libname.$acl_libext" 7150 fi 7151 fi 7152 if test "X$found_dir" != "X"; then 7153 if test -f "$dir/$libname.la"; then 7154 found_la="$dir/$libname.la" 7155 fi 7156 fi 7157 ;; 7158 esac 7159 if test "X$found_dir" != "X"; then 7160 break 7161 fi 7162 done 7163 fi 7164 if test "X$found_dir" != "X"; then 7165 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" 7166 if test "X$found_so" != "X"; then 7167 if test "$enable_rpath" = no \ 7168 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 7169 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then 7170 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 7171 else 7172 haveit= 7173 for x in $ltrpathdirs; do 7174 if test "X$x" = "X$found_dir"; then 7175 haveit=yes 7176 break 7177 fi 7178 done 7179 if test -z "$haveit"; then 7180 ltrpathdirs="$ltrpathdirs $found_dir" 7181 fi 7182 if test "$acl_hardcode_direct" = yes; then 7183 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 7184 else 7185 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 7186 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 7187 haveit= 7188 for x in $rpathdirs; do 7189 if test "X$x" = "X$found_dir"; then 7190 haveit=yes 7191 break 7192 fi 7193 done 7194 if test -z "$haveit"; then 7195 rpathdirs="$rpathdirs $found_dir" 7196 fi 7197 else 7198 haveit= 7199 for x in $LDFLAGS $LIBINTL; do 7200 7201 acl_save_prefix="$prefix" 7202 prefix="$acl_final_prefix" 7203 acl_save_exec_prefix="$exec_prefix" 7204 exec_prefix="$acl_final_exec_prefix" 7205 eval x=\"$x\" 7206 exec_prefix="$acl_save_exec_prefix" 7207 prefix="$acl_save_prefix" 7208 7209 if test "X$x" = "X-L$found_dir"; then 7210 haveit=yes 7211 break 7212 fi 7213 done 7214 if test -z "$haveit"; then 7215 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" 7216 fi 7217 if test "$acl_hardcode_minus_L" != no; then 7218 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 7219 else 7220 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 7221 fi 7222 fi 7223 fi 7224 fi 7225 else 7226 if test "X$found_a" != "X"; then 7227 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" 7228 else 7229 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" 7230 fi 7231 fi 7232 additional_includedir= 7233 case "$found_dir" in 7234 */$acl_libdirstem | */$acl_libdirstem/) 7235 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 7236 if test "$name" = 'intl'; then 7237 LIBINTL_PREFIX="$basedir" 7238 fi 7239 additional_includedir="$basedir/include" 7240 ;; 7241 */$acl_libdirstem2 | */$acl_libdirstem2/) 7242 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 7243 if test "$name" = 'intl'; then 7244 LIBINTL_PREFIX="$basedir" 7245 fi 7246 additional_includedir="$basedir/include" 7247 ;; 7248 esac 7249 if test "X$additional_includedir" != "X"; then 7250 if test "X$additional_includedir" != "X/usr/include"; then 7251 haveit= 7252 if test "X$additional_includedir" = "X/usr/local/include"; then 7253 if test -n "$GCC"; then 7254 case $host_os in 7255 linux* | gnu* | k*bsd*-gnu | freebsd* ) haveit=yes;; 7256 esac 7257 fi 7258 fi 7259 if test -z "$haveit"; then 7260 for x in $CPPFLAGS $INCINTL; do 7261 7262 acl_save_prefix="$prefix" 7263 prefix="$acl_final_prefix" 7264 acl_save_exec_prefix="$exec_prefix" 7265 exec_prefix="$acl_final_exec_prefix" 7266 eval x=\"$x\" 7267 exec_prefix="$acl_save_exec_prefix" 7268 prefix="$acl_save_prefix" 7269 7270 if test "X$x" = "X-I$additional_includedir"; then 7271 haveit=yes 7272 break 7273 fi 7274 done 7275 if test -z "$haveit"; then 7276 if test -d "$additional_includedir"; then 7277 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" 7278 fi 7279 fi 7280 fi 7281 fi 7282 fi 7283 if test -n "$found_la"; then 7284 save_libdir="$libdir" 7285 case "$found_la" in 7286 */* | *\\*) . "$found_la" ;; 7287 *) . "./$found_la" ;; 7288 esac 7289 libdir="$save_libdir" 7290 for dep in $dependency_libs; do 7291 case "$dep" in 7292 -L*) 7293 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 7294 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ 7295 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then 7296 haveit= 7297 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ 7298 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then 7299 if test -n "$GCC"; then 7300 case $host_os in 7301 linux* | gnu* | k*bsd*-gnu | freebsd* ) haveit=yes;; 7302 esac 7303 fi 7304 fi 7305 if test -z "$haveit"; then 7306 haveit= 7307 for x in $LDFLAGS $LIBINTL; do 7308 7309 acl_save_prefix="$prefix" 7310 prefix="$acl_final_prefix" 7311 acl_save_exec_prefix="$exec_prefix" 7312 exec_prefix="$acl_final_exec_prefix" 7313 eval x=\"$x\" 7314 exec_prefix="$acl_save_exec_prefix" 7315 prefix="$acl_save_prefix" 7316 7317 if test "X$x" = "X-L$additional_libdir"; then 7318 haveit=yes 7319 break 7320 fi 7321 done 7322 if test -z "$haveit"; then 7323 if test -d "$additional_libdir"; then 7324 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" 7325 fi 7326 fi 7327 haveit= 7328 for x in $LDFLAGS $LTLIBINTL; do 7329 7330 acl_save_prefix="$prefix" 7331 prefix="$acl_final_prefix" 7332 acl_save_exec_prefix="$exec_prefix" 7333 exec_prefix="$acl_final_exec_prefix" 7334 eval x=\"$x\" 7335 exec_prefix="$acl_save_exec_prefix" 7336 prefix="$acl_save_prefix" 7337 7338 if test "X$x" = "X-L$additional_libdir"; then 7339 haveit=yes 7340 break 7341 fi 7342 done 7343 if test -z "$haveit"; then 7344 if test -d "$additional_libdir"; then 7345 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" 7346 fi 7347 fi 7348 fi 7349 fi 7350 ;; 7351 -R*) 7352 dir=`echo "X$dep" | sed -e 's/^X-R//'` 7353 if test "$enable_rpath" != no; then 7354 haveit= 7355 for x in $rpathdirs; do 7356 if test "X$x" = "X$dir"; then 7357 haveit=yes 7358 break 7359 fi 7360 done 7361 if test -z "$haveit"; then 7362 rpathdirs="$rpathdirs $dir" 7363 fi 7364 haveit= 7365 for x in $ltrpathdirs; do 7366 if test "X$x" = "X$dir"; then 7367 haveit=yes 7368 break 7369 fi 7370 done 7371 if test -z "$haveit"; then 7372 ltrpathdirs="$ltrpathdirs $dir" 7373 fi 7374 fi 7375 ;; 7376 -l*) 7377 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 7378 ;; 7379 *.la) 7380 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 7381 ;; 7382 *) 7383 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" 7384 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" 7385 ;; 7386 esac 7387 done 7388 fi 7389 else 7390 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 7391 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" 7392 fi 7393 fi 7394 fi 7395 done 7396 done 7397 if test "X$rpathdirs" != "X"; then 7398 if test -n "$acl_hardcode_libdir_separator"; then 7399 alldirs= 7400 for found_dir in $rpathdirs; do 7401 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 7402 done 7403 acl_save_libdir="$libdir" 7404 libdir="$alldirs" 7405 eval flag=\"$acl_hardcode_libdir_flag_spec\" 7406 libdir="$acl_save_libdir" 7407 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 7408 else 7409 for found_dir in $rpathdirs; do 7410 acl_save_libdir="$libdir" 7411 libdir="$found_dir" 7412 eval flag=\"$acl_hardcode_libdir_flag_spec\" 7413 libdir="$acl_save_libdir" 7414 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 7415 done 7416 fi 7417 fi 7418 if test "X$ltrpathdirs" != "X"; then 7419 for found_dir in $ltrpathdirs; do 7420 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" 7421 done 7422 fi 7423 7424 7425 7426 7427 7428 7429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 7430printf %s "checking for GNU gettext in libintl... " >&6; } 7431if eval test \${$gt_func_gnugettext_libintl+y} 7432then : 7433 printf %s "(cached) " >&6 7434else $as_nop 7435 gt_save_CPPFLAGS="$CPPFLAGS" 7436 CPPFLAGS="$CPPFLAGS $INCINTL" 7437 gt_save_LIBS="$LIBS" 7438 LIBS="$LIBS $LIBINTL" 7439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7440/* end confdefs.h. */ 7441 7442#include <libintl.h> 7443$gt_revision_test_code 7444extern int _nl_msg_cat_cntr; 7445extern 7446#ifdef __cplusplus 7447"C" 7448#endif 7449const char *_nl_expand_alias (const char *); 7450 7451int 7452main (void) 7453{ 7454 7455bindtextdomain ("", ""); 7456return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 7457 7458 ; 7459 return 0; 7460} 7461_ACEOF 7462if ac_fn_c_try_link "$LINENO" 7463then : 7464 eval "$gt_func_gnugettext_libintl=yes" 7465else $as_nop 7466 eval "$gt_func_gnugettext_libintl=no" 7467fi 7468rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7469 conftest$ac_exeext conftest.$ac_ext 7470 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then 7471 LIBS="$LIBS $LIBICONV" 7472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7473/* end confdefs.h. */ 7474 7475#include <libintl.h> 7476$gt_revision_test_code 7477extern int _nl_msg_cat_cntr; 7478extern 7479#ifdef __cplusplus 7480"C" 7481#endif 7482const char *_nl_expand_alias (const char *); 7483 7484int 7485main (void) 7486{ 7487 7488bindtextdomain ("", ""); 7489return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 7490 7491 ; 7492 return 0; 7493} 7494_ACEOF 7495if ac_fn_c_try_link "$LINENO" 7496then : 7497 LIBINTL="$LIBINTL $LIBICONV" 7498 LTLIBINTL="$LTLIBINTL $LTLIBICONV" 7499 eval "$gt_func_gnugettext_libintl=yes" 7500 7501fi 7502rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7503 conftest$ac_exeext conftest.$ac_ext 7504 fi 7505 CPPFLAGS="$gt_save_CPPFLAGS" 7506 LIBS="$gt_save_LIBS" 7507fi 7508eval ac_res=\$$gt_func_gnugettext_libintl 7509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 7510printf "%s\n" "$ac_res" >&6; } 7511 fi 7512 7513 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ 7514 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ 7515 && test "$PACKAGE" != gettext-runtime \ 7516 && test "$PACKAGE" != gettext-tools; }; then 7517 gt_use_preinstalled_gnugettext=yes 7518 else 7519 LIBINTL= 7520 LTLIBINTL= 7521 INCINTL= 7522 fi 7523 7524 7525 7526 if test -n "$INTL_MACOSX_LIBS"; then 7527 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 7528 || test "$nls_cv_use_gnu_gettext" = "yes"; then 7529 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" 7530 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" 7531 fi 7532 fi 7533 7534 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 7535 || test "$nls_cv_use_gnu_gettext" = "yes"; then 7536 7537printf "%s\n" "#define ENABLE_NLS 1" >>confdefs.h 7538 7539 else 7540 USE_NLS=no 7541 fi 7542 fi 7543 7544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 7545printf %s "checking whether to use NLS... " >&6; } 7546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 7547printf "%s\n" "$USE_NLS" >&6; } 7548 if test "$USE_NLS" = "yes"; then 7549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 7550printf %s "checking where the gettext function comes from... " >&6; } 7551 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 7552 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 7553 gt_source="external libintl" 7554 else 7555 gt_source="libc" 7556 fi 7557 else 7558 gt_source="included intl directory" 7559 fi 7560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 7561printf "%s\n" "$gt_source" >&6; } 7562 fi 7563 7564 if test "$USE_NLS" = "yes"; then 7565 7566 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 7567 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 7568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 7569printf %s "checking how to link with libintl... " >&6; } 7570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 7571printf "%s\n" "$LIBINTL" >&6; } 7572 7573 for element in $INCINTL; do 7574 haveit= 7575 for x in $CPPFLAGS; do 7576 7577 acl_save_prefix="$prefix" 7578 prefix="$acl_final_prefix" 7579 acl_save_exec_prefix="$exec_prefix" 7580 exec_prefix="$acl_final_exec_prefix" 7581 eval x=\"$x\" 7582 exec_prefix="$acl_save_exec_prefix" 7583 prefix="$acl_save_prefix" 7584 7585 if test "X$x" = "X$element"; then 7586 haveit=yes 7587 break 7588 fi 7589 done 7590 if test -z "$haveit"; then 7591 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 7592 fi 7593 done 7594 7595 fi 7596 7597 7598printf "%s\n" "#define HAVE_GETTEXT 1" >>confdefs.h 7599 7600 7601printf "%s\n" "#define HAVE_DCGETTEXT 1" >>confdefs.h 7602 7603 fi 7604 7605 POSUB=po 7606 fi 7607 7608 7609 7610 INTLLIBS="$LIBINTL" 7611 7612 7613 7614 7615 7616 7617 7618 7619# Checks for header files. 7620{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking header files..." >&5 7621printf "%s\n" "$as_me: checking header files..." >&6;} 7622 7623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable assertions" >&5 7624printf %s "checking whether to enable assertions... " >&6; } 7625 # Check whether --enable-assert was given. 7626if test ${enable_assert+y} 7627then : 7628 enableval=$enable_assert; ac_enable_assert=$enableval 7629 if test "x$enableval" = xno 7630then : 7631 7632printf "%s\n" "#define NDEBUG 1" >>confdefs.h 7633 7634elif test "x$enableval" != xyes 7635then : 7636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: invalid argument supplied to --enable-assert" >&5 7637printf "%s\n" "$as_me: WARNING: invalid argument supplied to --enable-assert" >&2;} 7638 ac_enable_assert=yes 7639fi 7640else $as_nop 7641 ac_enable_assert=yes 7642fi 7643 7644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_enable_assert" >&5 7645printf "%s\n" "$ac_enable_assert" >&6; } 7646 7647 7648 7649 7650# Checks for typedefs, structures, and compiler characteristics. 7651 7652 7653# Checks for library functions. 7654{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking library functions..." >&5 7655printf "%s\n" "$as_me: checking library functions..." >&6;} 7656 7657ac_fn_c_check_header_compile "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" 7658if test "x$ac_cv_header_getopt_h" = xyes 7659then : 7660 printf "%s\n" "#define HAVE_GETOPT_H 1" >>confdefs.h 7661 7662fi 7663 7664 7665{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing getopt_long" >&5 7666printf %s "checking for library containing getopt_long... " >&6; } 7667if test ${ac_cv_search_getopt_long+y} 7668then : 7669 printf %s "(cached) " >&6 7670else $as_nop 7671 ac_func_search_save_LIBS=$LIBS 7672cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7673/* end confdefs.h. */ 7674 7675/* Override any GCC internal prototype to avoid an error. 7676 Use char because int might match the return type of a GCC 7677 builtin and then its argument prototype would still apply. */ 7678char getopt_long (); 7679int 7680main (void) 7681{ 7682return getopt_long (); 7683 ; 7684 return 0; 7685} 7686_ACEOF 7687for ac_lib in '' gnugetopt 7688do 7689 if test -z "$ac_lib"; then 7690 ac_res="none required" 7691 else 7692 ac_res=-l$ac_lib 7693 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 7694 fi 7695 if ac_fn_c_try_link "$LINENO" 7696then : 7697 ac_cv_search_getopt_long=$ac_res 7698fi 7699rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7700 conftest$ac_exeext 7701 if test ${ac_cv_search_getopt_long+y} 7702then : 7703 break 7704fi 7705done 7706if test ${ac_cv_search_getopt_long+y} 7707then : 7708 7709else $as_nop 7710 ac_cv_search_getopt_long=no 7711fi 7712rm conftest.$ac_ext 7713LIBS=$ac_func_search_save_LIBS 7714fi 7715{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getopt_long" >&5 7716printf "%s\n" "$ac_cv_search_getopt_long" >&6; } 7717ac_res=$ac_cv_search_getopt_long 7718if test "$ac_res" != no 7719then : 7720 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 7721 have_getopt_long=yes 7722else $as_nop 7723 have_getopt_long=no 7724fi 7725 7726if test $have_getopt_long = yes; then 7727 printf "%s\n" "#define HAVE_GETOPT_LONG 1" >>confdefs.h 7728 7729 7730else 7731 7732 false 7733fi 7734 7735 7736ac_fn_c_check_func "$LINENO" "fdatasync" "ac_cv_func_fdatasync" 7737if test "x$ac_cv_func_fdatasync" = xyes 7738then : 7739 printf "%s\n" "#define HAVE_FDATASYNC 1" >>confdefs.h 7740 7741else $as_nop 7742 case " $LIBOBJS " in 7743 *" fdatasync.$ac_objext "* ) ;; 7744 *) LIBOBJS="$LIBOBJS fdatasync.$ac_objext" 7745 ;; 7746esac 7747 7748fi 7749ac_fn_c_check_func "$LINENO" "inet6_rth_add" "ac_cv_func_inet6_rth_add" 7750if test "x$ac_cv_func_inet6_rth_add" = xyes 7751then : 7752 printf "%s\n" "#define HAVE_INET6_RTH_ADD 1" >>confdefs.h 7753 7754else $as_nop 7755 case " $LIBOBJS " in 7756 *" inet6_rth_add.$ac_objext "* ) ;; 7757 *) LIBOBJS="$LIBOBJS inet6_rth_add.$ac_objext" 7758 ;; 7759esac 7760 7761fi 7762ac_fn_c_check_func "$LINENO" "ppoll" "ac_cv_func_ppoll" 7763if test "x$ac_cv_func_ppoll" = xyes 7764then : 7765 printf "%s\n" "#define HAVE_PPOLL 1" >>confdefs.h 7766 7767else $as_nop 7768 case " $LIBOBJS " in 7769 *" ppoll.$ac_objext "* ) ;; 7770 *) LIBOBJS="$LIBOBJS ppoll.$ac_objext" 7771 ;; 7772esac 7773 7774fi 7775 7776 7777# Network stuff 7778 7779{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 7780printf %s "checking for library containing socket... " >&6; } 7781if test ${ac_cv_search_socket+y} 7782then : 7783 printf %s "(cached) " >&6 7784else $as_nop 7785 ac_func_search_save_LIBS=$LIBS 7786cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7787/* end confdefs.h. */ 7788 7789/* Override any GCC internal prototype to avoid an error. 7790 Use char because int might match the return type of a GCC 7791 builtin and then its argument prototype would still apply. */ 7792char socket (); 7793int 7794main (void) 7795{ 7796return socket (); 7797 ; 7798 return 0; 7799} 7800_ACEOF 7801for ac_lib in '' socket 7802do 7803 if test -z "$ac_lib"; then 7804 ac_res="none required" 7805 else 7806 ac_res=-l$ac_lib 7807 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 7808 fi 7809 if ac_fn_c_try_link "$LINENO" 7810then : 7811 ac_cv_search_socket=$ac_res 7812fi 7813rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7814 conftest$ac_exeext 7815 if test ${ac_cv_search_socket+y} 7816then : 7817 break 7818fi 7819done 7820if test ${ac_cv_search_socket+y} 7821then : 7822 7823else $as_nop 7824 ac_cv_search_socket=no 7825fi 7826rm conftest.$ac_ext 7827LIBS=$ac_func_search_save_LIBS 7828fi 7829{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 7830printf "%s\n" "$ac_cv_search_socket" >&6; } 7831ac_res=$ac_cv_search_socket 7832if test "$ac_res" != no 7833then : 7834 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 7835 rdc_cv_func_socket=yes 7836else $as_nop 7837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socket in -lws2_32" >&5 7838printf %s "checking for socket in -lws2_32... " >&6; } 7839if test ${rdc_cv_func_socket_ws2_32+y} 7840then : 7841 printf %s "(cached) " >&6 7842else $as_nop 7843 rdc_func_socket_save_LIBS=$LIBS 7844LIBS="-lws2_32 $LIBS" 7845cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7846/* end confdefs.h. */ 7847 7848#if HAVE_WINSOCK2_H 7849# include <winsock2.h> 7850#endif 7851int 7852main (void) 7853{ 7854socket(0, 0, 0); 7855 ; 7856 return 0; 7857} 7858_ACEOF 7859if ac_fn_c_try_link "$LINENO" 7860then : 7861 rdc_cv_func_socket_ws2_32=yes 7862else $as_nop 7863 rdc_cv_func_socket_ws2_32=no 7864fi 7865rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7866 conftest$ac_exeext conftest.$ac_ext 7867LIBS=$rdv_func_socket_save_LIBS 7868fi 7869{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rdc_cv_func_socket_ws2_32" >&5 7870printf "%s\n" "$rdc_cv_func_socket_ws2_32" >&6; } 7871if test "$rdc_cv_func_socket_ws2_32" = yes 7872then : 7873 rdc_cv_func_socket=yes; LIBS="-lws2_32 $LIBS" 7874fi 7875 7876fi 7877 7878if test "$rdc_cv_func_socket" = yes 7879then : 7880 7881fi 7882 7883{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntop" >&5 7884printf %s "checking for library containing inet_ntop... " >&6; } 7885if test ${ac_cv_search_inet_ntop+y} 7886then : 7887 printf %s "(cached) " >&6 7888else $as_nop 7889 ac_func_search_save_LIBS=$LIBS 7890cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7891/* end confdefs.h. */ 7892 7893/* Override any GCC internal prototype to avoid an error. 7894 Use char because int might match the return type of a GCC 7895 builtin and then its argument prototype would still apply. */ 7896char inet_ntop (); 7897int 7898main (void) 7899{ 7900return inet_ntop (); 7901 ; 7902 return 0; 7903} 7904_ACEOF 7905for ac_lib in '' nsl 7906do 7907 if test -z "$ac_lib"; then 7908 ac_res="none required" 7909 else 7910 ac_res=-l$ac_lib 7911 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 7912 fi 7913 if ac_fn_c_try_link "$LINENO" 7914then : 7915 ac_cv_search_inet_ntop=$ac_res 7916fi 7917rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7918 conftest$ac_exeext 7919 if test ${ac_cv_search_inet_ntop+y} 7920then : 7921 break 7922fi 7923done 7924if test ${ac_cv_search_inet_ntop+y} 7925then : 7926 7927else $as_nop 7928 ac_cv_search_inet_ntop=no 7929fi 7930rm conftest.$ac_ext 7931LIBS=$ac_func_search_save_LIBS 7932fi 7933{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntop" >&5 7934printf "%s\n" "$ac_cv_search_inet_ntop" >&6; } 7935ac_res=$ac_cv_search_inet_ntop 7936if test "$ac_res" != no 7937then : 7938 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 7939 7940fi 7941 7942 7943# Checks for optionnal features 7944{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking optional features..." >&5 7945printf "%s\n" "$as_me: checking optional features..." >&6;} 7946{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if installed programs should be setuid" >&5 7947printf %s "checking if installed programs should be setuid... " >&6; } 7948# Check whether --enable-suid-install was given. 7949if test ${enable_suid_install+y} 7950then : 7951 enableval=$enable_suid_install; 7952fi 7953 7954if test "x${enable_suid_install}" != "xno" 7955then : 7956 enable_suid_install=yes 7957fi 7958 if test "${enable_suid_install}" = "no"; then 7959 NOSUID_TRUE= 7960 NOSUID_FALSE='#' 7961else 7962 NOSUID_TRUE='#' 7963 NOSUID_FALSE= 7964fi 7965 7966{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${enable_suid_install}" >&5 7967printf "%s\n" "${enable_suid_install}" >&6; } 7968 7969 7970# Defines for <config.h> 7971 7972 7973 7974# END 7975{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: writing results..." >&5 7976printf "%s\n" "$as_me: writing results..." >&6;} 7977ac_config_files="$ac_config_files Makefile po/Makefile.in" 7978 7979cat >confcache <<\_ACEOF 7980# This file is a shell script that caches the results of configure 7981# tests run on this system so they can be shared between configure 7982# scripts and configure runs, see configure's option --config-cache. 7983# It is not useful on other systems. If it contains results you don't 7984# want to keep, you may remove or edit it. 7985# 7986# config.status only pays attention to the cache file if you give it 7987# the --recheck option to rerun configure. 7988# 7989# `ac_cv_env_foo' variables (set or unset) will be overridden when 7990# loading this file, other *unset* `ac_cv_foo' will be assigned the 7991# following values. 7992 7993_ACEOF 7994 7995# The following way of writing the cache mishandles newlines in values, 7996# but we know of no workaround that is simple, portable, and efficient. 7997# So, we kill variables containing newlines. 7998# Ultrix sh set writes to stderr and can't be redirected directly, 7999# and sets the high bit in the cache file unless we assign to the vars. 8000( 8001 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 8002 eval ac_val=\$$ac_var 8003 case $ac_val in #( 8004 *${as_nl}*) 8005 case $ac_var in #( 8006 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 8007printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 8008 esac 8009 case $ac_var in #( 8010 _ | IFS | as_nl) ;; #( 8011 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 8012 *) { eval $ac_var=; unset $ac_var;} ;; 8013 esac ;; 8014 esac 8015 done 8016 8017 (set) 2>&1 | 8018 case $as_nl`(ac_space=' '; set) 2>&1` in #( 8019 *${as_nl}ac_space=\ *) 8020 # `set' does not quote correctly, so add quotes: double-quote 8021 # substitution turns \\\\ into \\, and sed turns \\ into \. 8022 sed -n \ 8023 "s/'/'\\\\''/g; 8024 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 8025 ;; #( 8026 *) 8027 # `set' quotes correctly as required by POSIX, so do not add quotes. 8028 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 8029 ;; 8030 esac | 8031 sort 8032) | 8033 sed ' 8034 /^ac_cv_env_/b end 8035 t clear 8036 :clear 8037 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ 8038 t end 8039 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 8040 :end' >>confcache 8041if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 8042 if test -w "$cache_file"; then 8043 if test "x$cache_file" != "x/dev/null"; then 8044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 8045printf "%s\n" "$as_me: updating cache $cache_file" >&6;} 8046 if test ! -f "$cache_file" || test -h "$cache_file"; then 8047 cat confcache >"$cache_file" 8048 else 8049 case $cache_file in #( 8050 */* | ?:*) 8051 mv -f confcache "$cache_file"$$ && 8052 mv -f "$cache_file"$$ "$cache_file" ;; #( 8053 *) 8054 mv -f confcache "$cache_file" ;; 8055 esac 8056 fi 8057 fi 8058 else 8059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 8060printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} 8061 fi 8062fi 8063rm -f confcache 8064 8065test "x$prefix" = xNONE && prefix=$ac_default_prefix 8066# Let make expand exec_prefix. 8067test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 8068 8069DEFS=-DHAVE_CONFIG_H 8070 8071ac_libobjs= 8072ac_ltlibobjs= 8073U= 8074for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 8075 # 1. Remove the extension, and $U if already installed. 8076 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 8077 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` 8078 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 8079 # will be set to the directory where LIBOBJS objects are built. 8080 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 8081 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 8082done 8083LIBOBJS=$ac_libobjs 8084 8085LTLIBOBJS=$ac_ltlibobjs 8086 8087 8088{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 8089printf %s "checking that generated files are newer than configure... " >&6; } 8090 if test -n "$am_sleep_pid"; then 8091 # Hide warnings about reused PIDs. 8092 wait $am_sleep_pid 2>/dev/null 8093 fi 8094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 8095printf "%s\n" "done" >&6; } 8096if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 8097 as_fn_error $? "conditional \"AMDEP\" was never defined. 8098Usually this means the macro was only invoked conditionally." "$LINENO" 5 8099fi 8100if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 8101 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 8102Usually this means the macro was only invoked conditionally." "$LINENO" 5 8103fi 8104 if test -n "$EXEEXT"; then 8105 am__EXEEXT_TRUE= 8106 am__EXEEXT_FALSE='#' 8107else 8108 am__EXEEXT_TRUE='#' 8109 am__EXEEXT_FALSE= 8110fi 8111 8112if test -z "${NOSUID_TRUE}" && test -z "${NOSUID_FALSE}"; then 8113 as_fn_error $? "conditional \"NOSUID\" was never defined. 8114Usually this means the macro was only invoked conditionally." "$LINENO" 5 8115fi 8116 8117: "${CONFIG_STATUS=./config.status}" 8118ac_write_fail=0 8119ac_clean_files_save=$ac_clean_files 8120ac_clean_files="$ac_clean_files $CONFIG_STATUS" 8121{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 8122printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} 8123as_write_fail=0 8124cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 8125#! $SHELL 8126# Generated by $as_me. 8127# Run this file to recreate the current configuration. 8128# Compiler output produced by configure, useful for debugging 8129# configure, is in config.log if it exists. 8130 8131debug=false 8132ac_cs_recheck=false 8133ac_cs_silent=false 8134 8135SHELL=\${CONFIG_SHELL-$SHELL} 8136export SHELL 8137_ASEOF 8138cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 8139## -------------------- ## 8140## M4sh Initialization. ## 8141## -------------------- ## 8142 8143# Be more Bourne compatible 8144DUALCASE=1; export DUALCASE # for MKS sh 8145as_nop=: 8146if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 8147then : 8148 emulate sh 8149 NULLCMD=: 8150 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 8151 # is contrary to our usage. Disable this feature. 8152 alias -g '${1+"$@"}'='"$@"' 8153 setopt NO_GLOB_SUBST 8154else $as_nop 8155 case `(set -o) 2>/dev/null` in #( 8156 *posix*) : 8157 set -o posix ;; #( 8158 *) : 8159 ;; 8160esac 8161fi 8162 8163 8164 8165# Reset variables that may have inherited troublesome values from 8166# the environment. 8167 8168# IFS needs to be set, to space, tab, and newline, in precisely that order. 8169# (If _AS_PATH_WALK were called with IFS unset, it would have the 8170# side effect of setting IFS to empty, thus disabling word splitting.) 8171# Quoting is to prevent editors from complaining about space-tab. 8172as_nl=' 8173' 8174export as_nl 8175IFS=" "" $as_nl" 8176 8177PS1='$ ' 8178PS2='> ' 8179PS4='+ ' 8180 8181# Ensure predictable behavior from utilities with locale-dependent output. 8182LC_ALL=C 8183export LC_ALL 8184LANGUAGE=C 8185export LANGUAGE 8186 8187# We cannot yet rely on "unset" to work, but we need these variables 8188# to be unset--not just set to an empty or harmless value--now, to 8189# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 8190# also avoids known problems related to "unset" and subshell syntax 8191# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 8192for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 8193do eval test \${$as_var+y} \ 8194 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 8195done 8196 8197# Ensure that fds 0, 1, and 2 are open. 8198if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 8199if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 8200if (exec 3>&2) ; then :; else exec 2>/dev/null; fi 8201 8202# The user is always right. 8203if ${PATH_SEPARATOR+false} :; then 8204 PATH_SEPARATOR=: 8205 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 8206 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 8207 PATH_SEPARATOR=';' 8208 } 8209fi 8210 8211 8212# Find who we are. Look in the path if we contain no directory separator. 8213as_myself= 8214case $0 in #(( 8215 *[\\/]* ) as_myself=$0 ;; 8216 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8217for as_dir in $PATH 8218do 8219 IFS=$as_save_IFS 8220 case $as_dir in #((( 8221 '') as_dir=./ ;; 8222 */) ;; 8223 *) as_dir=$as_dir/ ;; 8224 esac 8225 test -r "$as_dir$0" && as_myself=$as_dir$0 && break 8226 done 8227IFS=$as_save_IFS 8228 8229 ;; 8230esac 8231# We did not find ourselves, most probably we were run as `sh COMMAND' 8232# in which case we are not to be found in the path. 8233if test "x$as_myself" = x; then 8234 as_myself=$0 8235fi 8236if test ! -f "$as_myself"; then 8237 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 8238 exit 1 8239fi 8240 8241 8242 8243# as_fn_error STATUS ERROR [LINENO LOG_FD] 8244# ---------------------------------------- 8245# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 8246# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 8247# script with STATUS, using 1 if that was 0. 8248as_fn_error () 8249{ 8250 as_status=$1; test $as_status -eq 0 && as_status=1 8251 if test "$4"; then 8252 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 8253 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 8254 fi 8255 printf "%s\n" "$as_me: error: $2" >&2 8256 as_fn_exit $as_status 8257} # as_fn_error 8258 8259 8260 8261# as_fn_set_status STATUS 8262# ----------------------- 8263# Set $? to STATUS, without forking. 8264as_fn_set_status () 8265{ 8266 return $1 8267} # as_fn_set_status 8268 8269# as_fn_exit STATUS 8270# ----------------- 8271# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 8272as_fn_exit () 8273{ 8274 set +e 8275 as_fn_set_status $1 8276 exit $1 8277} # as_fn_exit 8278 8279# as_fn_unset VAR 8280# --------------- 8281# Portably unset VAR. 8282as_fn_unset () 8283{ 8284 { eval $1=; unset $1;} 8285} 8286as_unset=as_fn_unset 8287 8288# as_fn_append VAR VALUE 8289# ---------------------- 8290# Append the text in VALUE to the end of the definition contained in VAR. Take 8291# advantage of any shell optimizations that allow amortized linear growth over 8292# repeated appends, instead of the typical quadratic growth present in naive 8293# implementations. 8294if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 8295then : 8296 eval 'as_fn_append () 8297 { 8298 eval $1+=\$2 8299 }' 8300else $as_nop 8301 as_fn_append () 8302 { 8303 eval $1=\$$1\$2 8304 } 8305fi # as_fn_append 8306 8307# as_fn_arith ARG... 8308# ------------------ 8309# Perform arithmetic evaluation on the ARGs, and store the result in the 8310# global $as_val. Take advantage of shells that can avoid forks. The arguments 8311# must be portable across $(()) and expr. 8312if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 8313then : 8314 eval 'as_fn_arith () 8315 { 8316 as_val=$(( $* )) 8317 }' 8318else $as_nop 8319 as_fn_arith () 8320 { 8321 as_val=`expr "$@" || test $? -eq 1` 8322 } 8323fi # as_fn_arith 8324 8325 8326if expr a : '\(a\)' >/dev/null 2>&1 && 8327 test "X`expr 00001 : '.*\(...\)'`" = X001; then 8328 as_expr=expr 8329else 8330 as_expr=false 8331fi 8332 8333if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 8334 as_basename=basename 8335else 8336 as_basename=false 8337fi 8338 8339if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 8340 as_dirname=dirname 8341else 8342 as_dirname=false 8343fi 8344 8345as_me=`$as_basename -- "$0" || 8346$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 8347 X"$0" : 'X\(//\)$' \| \ 8348 X"$0" : 'X\(/\)' \| . 2>/dev/null || 8349printf "%s\n" X/"$0" | 8350 sed '/^.*\/\([^/][^/]*\)\/*$/{ 8351 s//\1/ 8352 q 8353 } 8354 /^X\/\(\/\/\)$/{ 8355 s//\1/ 8356 q 8357 } 8358 /^X\/\(\/\).*/{ 8359 s//\1/ 8360 q 8361 } 8362 s/.*/./; q'` 8363 8364# Avoid depending upon Character Ranges. 8365as_cr_letters='abcdefghijklmnopqrstuvwxyz' 8366as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 8367as_cr_Letters=$as_cr_letters$as_cr_LETTERS 8368as_cr_digits='0123456789' 8369as_cr_alnum=$as_cr_Letters$as_cr_digits 8370 8371 8372# Determine whether it's possible to make 'echo' print without a newline. 8373# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 8374# for compatibility with existing Makefiles. 8375ECHO_C= ECHO_N= ECHO_T= 8376case `echo -n x` in #((((( 8377-n*) 8378 case `echo 'xy\c'` in 8379 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 8380 xy) ECHO_C='\c';; 8381 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 8382 ECHO_T=' ';; 8383 esac;; 8384*) 8385 ECHO_N='-n';; 8386esac 8387 8388# For backward compatibility with old third-party macros, we provide 8389# the shell variables $as_echo and $as_echo_n. New code should use 8390# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 8391as_echo='printf %s\n' 8392as_echo_n='printf %s' 8393 8394rm -f conf$$ conf$$.exe conf$$.file 8395if test -d conf$$.dir; then 8396 rm -f conf$$.dir/conf$$.file 8397else 8398 rm -f conf$$.dir 8399 mkdir conf$$.dir 2>/dev/null 8400fi 8401if (echo >conf$$.file) 2>/dev/null; then 8402 if ln -s conf$$.file conf$$ 2>/dev/null; then 8403 as_ln_s='ln -s' 8404 # ... but there are two gotchas: 8405 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 8406 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 8407 # In both cases, we have to default to `cp -pR'. 8408 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 8409 as_ln_s='cp -pR' 8410 elif ln conf$$.file conf$$ 2>/dev/null; then 8411 as_ln_s=ln 8412 else 8413 as_ln_s='cp -pR' 8414 fi 8415else 8416 as_ln_s='cp -pR' 8417fi 8418rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 8419rmdir conf$$.dir 2>/dev/null 8420 8421 8422# as_fn_mkdir_p 8423# ------------- 8424# Create "$as_dir" as a directory, including parents if necessary. 8425as_fn_mkdir_p () 8426{ 8427 8428 case $as_dir in #( 8429 -*) as_dir=./$as_dir;; 8430 esac 8431 test -d "$as_dir" || eval $as_mkdir_p || { 8432 as_dirs= 8433 while :; do 8434 case $as_dir in #( 8435 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 8436 *) as_qdir=$as_dir;; 8437 esac 8438 as_dirs="'$as_qdir' $as_dirs" 8439 as_dir=`$as_dirname -- "$as_dir" || 8440$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8441 X"$as_dir" : 'X\(//\)[^/]' \| \ 8442 X"$as_dir" : 'X\(//\)$' \| \ 8443 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 8444printf "%s\n" X"$as_dir" | 8445 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8446 s//\1/ 8447 q 8448 } 8449 /^X\(\/\/\)[^/].*/{ 8450 s//\1/ 8451 q 8452 } 8453 /^X\(\/\/\)$/{ 8454 s//\1/ 8455 q 8456 } 8457 /^X\(\/\).*/{ 8458 s//\1/ 8459 q 8460 } 8461 s/.*/./; q'` 8462 test -d "$as_dir" && break 8463 done 8464 test -z "$as_dirs" || eval "mkdir $as_dirs" 8465 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 8466 8467 8468} # as_fn_mkdir_p 8469if mkdir -p . 2>/dev/null; then 8470 as_mkdir_p='mkdir -p "$as_dir"' 8471else 8472 test -d ./-p && rmdir ./-p 8473 as_mkdir_p=false 8474fi 8475 8476 8477# as_fn_executable_p FILE 8478# ----------------------- 8479# Test if FILE is an executable regular file. 8480as_fn_executable_p () 8481{ 8482 test -f "$1" && test -x "$1" 8483} # as_fn_executable_p 8484as_test_x='test -x' 8485as_executable_p=as_fn_executable_p 8486 8487# Sed expression to map a string onto a valid CPP name. 8488as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 8489 8490# Sed expression to map a string onto a valid variable name. 8491as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 8492 8493 8494exec 6>&1 8495## ----------------------------------- ## 8496## Main body of $CONFIG_STATUS script. ## 8497## ----------------------------------- ## 8498_ASEOF 8499test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 8500 8501cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8502# Save the log message, to keep $0 and so on meaningful, and to 8503# report actual input values of CONFIG_FILES etc. instead of their 8504# values after options handling. 8505ac_log=" 8506This file was extended by ndisc6 $as_me 1.0.5, which was 8507generated by GNU Autoconf 2.71. Invocation command line was 8508 8509 CONFIG_FILES = $CONFIG_FILES 8510 CONFIG_HEADERS = $CONFIG_HEADERS 8511 CONFIG_LINKS = $CONFIG_LINKS 8512 CONFIG_COMMANDS = $CONFIG_COMMANDS 8513 $ $0 $@ 8514 8515on `(hostname || uname -n) 2>/dev/null | sed 1q` 8516" 8517 8518_ACEOF 8519 8520case $ac_config_files in *" 8521"*) set x $ac_config_files; shift; ac_config_files=$*;; 8522esac 8523 8524case $ac_config_headers in *" 8525"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 8526esac 8527 8528 8529cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8530# Files that config.status was made for. 8531config_files="$ac_config_files" 8532config_headers="$ac_config_headers" 8533config_commands="$ac_config_commands" 8534 8535_ACEOF 8536 8537cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8538ac_cs_usage="\ 8539\`$as_me' instantiates files and other configuration actions 8540from templates according to the current configuration. Unless the files 8541and actions are specified as TAGs, all are instantiated by default. 8542 8543Usage: $0 [OPTION]... [TAG]... 8544 8545 -h, --help print this help, then exit 8546 -V, --version print version number and configuration settings, then exit 8547 --config print configuration, then exit 8548 -q, --quiet, --silent 8549 do not print progress messages 8550 -d, --debug don't remove temporary files 8551 --recheck update $as_me by reconfiguring in the same conditions 8552 --file=FILE[:TEMPLATE] 8553 instantiate the configuration file FILE 8554 --header=FILE[:TEMPLATE] 8555 instantiate the configuration header FILE 8556 8557Configuration files: 8558$config_files 8559 8560Configuration headers: 8561$config_headers 8562 8563Configuration commands: 8564$config_commands 8565 8566Report bugs to <remi_no_bulk_mail@remlab.net>." 8567 8568_ACEOF 8569ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` 8570ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` 8571cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8572ac_cs_config='$ac_cs_config_escaped' 8573ac_cs_version="\\ 8574ndisc6 config.status 1.0.5 8575configured by $0, generated by GNU Autoconf 2.71, 8576 with options \\"\$ac_cs_config\\" 8577 8578Copyright (C) 2021 Free Software Foundation, Inc. 8579This config.status script is free software; the Free Software Foundation 8580gives unlimited permission to copy, distribute and modify it." 8581 8582ac_pwd='$ac_pwd' 8583srcdir='$srcdir' 8584INSTALL='$INSTALL' 8585MKDIR_P='$MKDIR_P' 8586AWK='$AWK' 8587test -n "\$AWK" || AWK=awk 8588_ACEOF 8589 8590cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8591# The default lists apply if the user does not specify any file. 8592ac_need_defaults=: 8593while test $# != 0 8594do 8595 case $1 in 8596 --*=?*) 8597 ac_option=`expr "X$1" : 'X\([^=]*\)='` 8598 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 8599 ac_shift=: 8600 ;; 8601 --*=) 8602 ac_option=`expr "X$1" : 'X\([^=]*\)='` 8603 ac_optarg= 8604 ac_shift=: 8605 ;; 8606 *) 8607 ac_option=$1 8608 ac_optarg=$2 8609 ac_shift=shift 8610 ;; 8611 esac 8612 8613 case $ac_option in 8614 # Handling of the options. 8615 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 8616 ac_cs_recheck=: ;; 8617 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 8618 printf "%s\n" "$ac_cs_version"; exit ;; 8619 --config | --confi | --conf | --con | --co | --c ) 8620 printf "%s\n" "$ac_cs_config"; exit ;; 8621 --debug | --debu | --deb | --de | --d | -d ) 8622 debug=: ;; 8623 --file | --fil | --fi | --f ) 8624 $ac_shift 8625 case $ac_optarg in 8626 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 8627 '') as_fn_error $? "missing file argument" ;; 8628 esac 8629 as_fn_append CONFIG_FILES " '$ac_optarg'" 8630 ac_need_defaults=false;; 8631 --header | --heade | --head | --hea ) 8632 $ac_shift 8633 case $ac_optarg in 8634 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 8635 esac 8636 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 8637 ac_need_defaults=false;; 8638 --he | --h) 8639 # Conflict between --help and --header 8640 as_fn_error $? "ambiguous option: \`$1' 8641Try \`$0 --help' for more information.";; 8642 --help | --hel | -h ) 8643 printf "%s\n" "$ac_cs_usage"; exit ;; 8644 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 8645 | -silent | --silent | --silen | --sile | --sil | --si | --s) 8646 ac_cs_silent=: ;; 8647 8648 # This is an error. 8649 -*) as_fn_error $? "unrecognized option: \`$1' 8650Try \`$0 --help' for more information." ;; 8651 8652 *) as_fn_append ac_config_targets " $1" 8653 ac_need_defaults=false ;; 8654 8655 esac 8656 shift 8657done 8658 8659ac_configure_extra_args= 8660 8661if $ac_cs_silent; then 8662 exec 6>/dev/null 8663 ac_configure_extra_args="$ac_configure_extra_args --silent" 8664fi 8665 8666_ACEOF 8667cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8668if \$ac_cs_recheck; then 8669 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8670 shift 8671 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 8672 CONFIG_SHELL='$SHELL' 8673 export CONFIG_SHELL 8674 exec "\$@" 8675fi 8676 8677_ACEOF 8678cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8679exec 5>>config.log 8680{ 8681 echo 8682 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 8683## Running $as_me. ## 8684_ASBOX 8685 printf "%s\n" "$ac_log" 8686} >&5 8687 8688_ACEOF 8689cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8690# 8691# INIT-COMMANDS 8692# 8693AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 8694# Capture the value of obsolete ALL_LINGUAS because we need it to compute 8695 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it 8696 # from automake < 1.5. 8697 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' 8698 # Capture the value of LINGUAS because we need it to compute CATALOGS. 8699 LINGUAS="${LINGUAS-%UNSET%}" 8700 8701 8702_ACEOF 8703 8704cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8705 8706# Handling of arguments. 8707for ac_config_target in $ac_config_targets 8708do 8709 case $ac_config_target in 8710 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 8711 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 8712 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; 8713 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 8714 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 8715 8716 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 8717 esac 8718done 8719 8720 8721# If the user did not use the arguments to specify the items to instantiate, 8722# then the envvar interface is used. Set only those that are not. 8723# We use the long form for the default assignment because of an extremely 8724# bizarre bug on SunOS 4.1.3. 8725if $ac_need_defaults; then 8726 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files 8727 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers 8728 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands 8729fi 8730 8731# Have a temporary directory for convenience. Make it in the build tree 8732# simply because there is no reason against having it here, and in addition, 8733# creating and moving files from /tmp can sometimes cause problems. 8734# Hook for its removal unless debugging. 8735# Note that there is a small window in which the directory will not be cleaned: 8736# after its creation but before its name has been assigned to `$tmp'. 8737$debug || 8738{ 8739 tmp= ac_tmp= 8740 trap 'exit_status=$? 8741 : "${ac_tmp:=$tmp}" 8742 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 8743' 0 8744 trap 'as_fn_exit 1' 1 2 13 15 8745} 8746# Create a (secure) tmp directory for tmp files. 8747 8748{ 8749 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 8750 test -d "$tmp" 8751} || 8752{ 8753 tmp=./conf$$-$RANDOM 8754 (umask 077 && mkdir "$tmp") 8755} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 8756ac_tmp=$tmp 8757 8758# Set up the scripts for CONFIG_FILES section. 8759# No need to generate them if there are no CONFIG_FILES. 8760# This happens for instance with `./config.status config.h'. 8761if test -n "$CONFIG_FILES"; then 8762 8763 8764ac_cr=`echo X | tr X '\015'` 8765# On cygwin, bash can eat \r inside `` if the user requested igncr. 8766# But we know of no other shell where ac_cr would be empty at this 8767# point, so we can use a bashism as a fallback. 8768if test "x$ac_cr" = x; then 8769 eval ac_cr=\$\'\\r\' 8770fi 8771ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 8772if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 8773 ac_cs_awk_cr='\\r' 8774else 8775 ac_cs_awk_cr=$ac_cr 8776fi 8777 8778echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 8779_ACEOF 8780 8781 8782{ 8783 echo "cat >conf$$subs.awk <<_ACEOF" && 8784 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 8785 echo "_ACEOF" 8786} >conf$$subs.sh || 8787 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 8788ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 8789ac_delim='%!_!# ' 8790for ac_last_try in false false false false false :; do 8791 . ./conf$$subs.sh || 8792 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 8793 8794 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 8795 if test $ac_delim_n = $ac_delim_num; then 8796 break 8797 elif $ac_last_try; then 8798 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 8799 else 8800 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 8801 fi 8802done 8803rm -f conf$$subs.sh 8804 8805cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8806cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 8807_ACEOF 8808sed -n ' 8809h 8810s/^/S["/; s/!.*/"]=/ 8811p 8812g 8813s/^[^!]*!// 8814:repl 8815t repl 8816s/'"$ac_delim"'$// 8817t delim 8818:nl 8819h 8820s/\(.\{148\}\)..*/\1/ 8821t more1 8822s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 8823p 8824n 8825b repl 8826:more1 8827s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 8828p 8829g 8830s/.\{148\}// 8831t nl 8832:delim 8833h 8834s/\(.\{148\}\)..*/\1/ 8835t more2 8836s/["\\]/\\&/g; s/^/"/; s/$/"/ 8837p 8838b 8839:more2 8840s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 8841p 8842g 8843s/.\{148\}// 8844t delim 8845' <conf$$subs.awk | sed ' 8846/^[^""]/{ 8847 N 8848 s/\n// 8849} 8850' >>$CONFIG_STATUS || ac_write_fail=1 8851rm -f conf$$subs.awk 8852cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8853_ACAWK 8854cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 8855 for (key in S) S_is_set[key] = 1 8856 FS = "" 8857 8858} 8859{ 8860 line = $ 0 8861 nfields = split(line, field, "@") 8862 substed = 0 8863 len = length(field[1]) 8864 for (i = 2; i < nfields; i++) { 8865 key = field[i] 8866 keylen = length(key) 8867 if (S_is_set[key]) { 8868 value = S[key] 8869 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 8870 len += length(value) + length(field[++i]) 8871 substed = 1 8872 } else 8873 len += 1 + keylen 8874 } 8875 8876 print line 8877} 8878 8879_ACAWK 8880_ACEOF 8881cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8882if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 8883 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 8884else 8885 cat 8886fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 8887 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 8888_ACEOF 8889 8890# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 8891# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 8892# trailing colons and then remove the whole line if VPATH becomes empty 8893# (actually we leave an empty line to preserve line numbers). 8894if test "x$srcdir" = x.; then 8895 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 8896h 8897s/// 8898s/^/:/ 8899s/[ ]*$/:/ 8900s/:\$(srcdir):/:/g 8901s/:\${srcdir}:/:/g 8902s/:@srcdir@:/:/g 8903s/^:*// 8904s/:*$// 8905x 8906s/\(=[ ]*\).*/\1/ 8907G 8908s/\n// 8909s/^[^=]*=[ ]*$// 8910}' 8911fi 8912 8913cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8914fi # test -n "$CONFIG_FILES" 8915 8916# Set up the scripts for CONFIG_HEADERS section. 8917# No need to generate them if there are no CONFIG_HEADERS. 8918# This happens for instance with `./config.status Makefile'. 8919if test -n "$CONFIG_HEADERS"; then 8920cat >"$ac_tmp/defines.awk" <<\_ACAWK || 8921BEGIN { 8922_ACEOF 8923 8924# Transform confdefs.h into an awk script `defines.awk', embedded as 8925# here-document in config.status, that substitutes the proper values into 8926# config.h.in to produce config.h. 8927 8928# Create a delimiter string that does not exist in confdefs.h, to ease 8929# handling of long lines. 8930ac_delim='%!_!# ' 8931for ac_last_try in false false :; do 8932 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 8933 if test -z "$ac_tt"; then 8934 break 8935 elif $ac_last_try; then 8936 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 8937 else 8938 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 8939 fi 8940done 8941 8942# For the awk script, D is an array of macro values keyed by name, 8943# likewise P contains macro parameters if any. Preserve backslash 8944# newline sequences. 8945 8946ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 8947sed -n ' 8948s/.\{148\}/&'"$ac_delim"'/g 8949t rset 8950:rset 8951s/^[ ]*#[ ]*define[ ][ ]*/ / 8952t def 8953d 8954:def 8955s/\\$// 8956t bsnl 8957s/["\\]/\\&/g 8958s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 8959D["\1"]=" \3"/p 8960s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 8961d 8962:bsnl 8963s/["\\]/\\&/g 8964s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 8965D["\1"]=" \3\\\\\\n"\\/p 8966t cont 8967s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 8968t cont 8969d 8970:cont 8971n 8972s/.\{148\}/&'"$ac_delim"'/g 8973t clear 8974:clear 8975s/\\$// 8976t bsnlc 8977s/["\\]/\\&/g; s/^/"/; s/$/"/p 8978d 8979:bsnlc 8980s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 8981b cont 8982' <confdefs.h | sed ' 8983s/'"$ac_delim"'/"\\\ 8984"/g' >>$CONFIG_STATUS || ac_write_fail=1 8985 8986cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8987 for (key in D) D_is_set[key] = 1 8988 FS = "" 8989} 8990/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 8991 line = \$ 0 8992 split(line, arg, " ") 8993 if (arg[1] == "#") { 8994 defundef = arg[2] 8995 mac1 = arg[3] 8996 } else { 8997 defundef = substr(arg[1], 2) 8998 mac1 = arg[2] 8999 } 9000 split(mac1, mac2, "(") #) 9001 macro = mac2[1] 9002 prefix = substr(line, 1, index(line, defundef) - 1) 9003 if (D_is_set[macro]) { 9004 # Preserve the white space surrounding the "#". 9005 print prefix "define", macro P[macro] D[macro] 9006 next 9007 } else { 9008 # Replace #undef with comments. This is necessary, for example, 9009 # in the case of _POSIX_SOURCE, which is predefined and required 9010 # on some systems where configure will not decide to define it. 9011 if (defundef == "undef") { 9012 print "/*", prefix defundef, macro, "*/" 9013 next 9014 } 9015 } 9016} 9017{ print } 9018_ACAWK 9019_ACEOF 9020cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9021 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 9022fi # test -n "$CONFIG_HEADERS" 9023 9024 9025eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 9026shift 9027for ac_tag 9028do 9029 case $ac_tag in 9030 :[FHLC]) ac_mode=$ac_tag; continue;; 9031 esac 9032 case $ac_mode$ac_tag in 9033 :[FHL]*:*);; 9034 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 9035 :[FH]-) ac_tag=-:-;; 9036 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 9037 esac 9038 ac_save_IFS=$IFS 9039 IFS=: 9040 set x $ac_tag 9041 IFS=$ac_save_IFS 9042 shift 9043 ac_file=$1 9044 shift 9045 9046 case $ac_mode in 9047 :L) ac_source=$1;; 9048 :[FH]) 9049 ac_file_inputs= 9050 for ac_f 9051 do 9052 case $ac_f in 9053 -) ac_f="$ac_tmp/stdin";; 9054 *) # Look for the file first in the build tree, then in the source tree 9055 # (if the path is not absolute). The absolute path cannot be DOS-style, 9056 # because $ac_f cannot contain `:'. 9057 test -f "$ac_f" || 9058 case $ac_f in 9059 [\\/$]*) false;; 9060 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 9061 esac || 9062 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 9063 esac 9064 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 9065 as_fn_append ac_file_inputs " '$ac_f'" 9066 done 9067 9068 # Let's still pretend it is `configure' which instantiates (i.e., don't 9069 # use $as_me), people would be surprised to read: 9070 # /* config.h. Generated by config.status. */ 9071 configure_input='Generated from '` 9072 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 9073 `' by configure.' 9074 if test x"$ac_file" != x-; then 9075 configure_input="$ac_file. $configure_input" 9076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 9077printf "%s\n" "$as_me: creating $ac_file" >&6;} 9078 fi 9079 # Neutralize special characters interpreted by sed in replacement strings. 9080 case $configure_input in #( 9081 *\&* | *\|* | *\\* ) 9082 ac_sed_conf_input=`printf "%s\n" "$configure_input" | 9083 sed 's/[\\\\&|]/\\\\&/g'`;; #( 9084 *) ac_sed_conf_input=$configure_input;; 9085 esac 9086 9087 case $ac_tag in 9088 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 9089 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 9090 esac 9091 ;; 9092 esac 9093 9094 ac_dir=`$as_dirname -- "$ac_file" || 9095$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9096 X"$ac_file" : 'X\(//\)[^/]' \| \ 9097 X"$ac_file" : 'X\(//\)$' \| \ 9098 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 9099printf "%s\n" X"$ac_file" | 9100 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9101 s//\1/ 9102 q 9103 } 9104 /^X\(\/\/\)[^/].*/{ 9105 s//\1/ 9106 q 9107 } 9108 /^X\(\/\/\)$/{ 9109 s//\1/ 9110 q 9111 } 9112 /^X\(\/\).*/{ 9113 s//\1/ 9114 q 9115 } 9116 s/.*/./; q'` 9117 as_dir="$ac_dir"; as_fn_mkdir_p 9118 ac_builddir=. 9119 9120case "$ac_dir" in 9121.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 9122*) 9123 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 9124 # A ".." for each directory in $ac_dir_suffix. 9125 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 9126 case $ac_top_builddir_sub in 9127 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 9128 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 9129 esac ;; 9130esac 9131ac_abs_top_builddir=$ac_pwd 9132ac_abs_builddir=$ac_pwd$ac_dir_suffix 9133# for backward compatibility: 9134ac_top_builddir=$ac_top_build_prefix 9135 9136case $srcdir in 9137 .) # We are building in place. 9138 ac_srcdir=. 9139 ac_top_srcdir=$ac_top_builddir_sub 9140 ac_abs_top_srcdir=$ac_pwd ;; 9141 [\\/]* | ?:[\\/]* ) # Absolute name. 9142 ac_srcdir=$srcdir$ac_dir_suffix; 9143 ac_top_srcdir=$srcdir 9144 ac_abs_top_srcdir=$srcdir ;; 9145 *) # Relative name. 9146 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 9147 ac_top_srcdir=$ac_top_build_prefix$srcdir 9148 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 9149esac 9150ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 9151 9152 9153 case $ac_mode in 9154 :F) 9155 # 9156 # CONFIG_FILE 9157 # 9158 9159 case $INSTALL in 9160 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 9161 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 9162 esac 9163 ac_MKDIR_P=$MKDIR_P 9164 case $MKDIR_P in 9165 [\\/$]* | ?:[\\/]* ) ;; 9166 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 9167 esac 9168_ACEOF 9169 9170cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9171# If the template does not know about datarootdir, expand it. 9172# FIXME: This hack should be removed a few years after 2.60. 9173ac_datarootdir_hack=; ac_datarootdir_seen= 9174ac_sed_dataroot=' 9175/datarootdir/ { 9176 p 9177 q 9178} 9179/@datadir@/p 9180/@docdir@/p 9181/@infodir@/p 9182/@localedir@/p 9183/@mandir@/p' 9184case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 9185*datarootdir*) ac_datarootdir_seen=yes;; 9186*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 9187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 9188printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 9189_ACEOF 9190cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9191 ac_datarootdir_hack=' 9192 s&@datadir@&$datadir&g 9193 s&@docdir@&$docdir&g 9194 s&@infodir@&$infodir&g 9195 s&@localedir@&$localedir&g 9196 s&@mandir@&$mandir&g 9197 s&\\\${datarootdir}&$datarootdir&g' ;; 9198esac 9199_ACEOF 9200 9201# Neutralize VPATH when `$srcdir' = `.'. 9202# Shell code in configure.ac might set extrasub. 9203# FIXME: do we really want to maintain this feature? 9204cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9205ac_sed_extra="$ac_vpsub 9206$extrasub 9207_ACEOF 9208cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9209:t 9210/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 9211s|@configure_input@|$ac_sed_conf_input|;t t 9212s&@top_builddir@&$ac_top_builddir_sub&;t t 9213s&@top_build_prefix@&$ac_top_build_prefix&;t t 9214s&@srcdir@&$ac_srcdir&;t t 9215s&@abs_srcdir@&$ac_abs_srcdir&;t t 9216s&@top_srcdir@&$ac_top_srcdir&;t t 9217s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 9218s&@builddir@&$ac_builddir&;t t 9219s&@abs_builddir@&$ac_abs_builddir&;t t 9220s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 9221s&@INSTALL@&$ac_INSTALL&;t t 9222s&@MKDIR_P@&$ac_MKDIR_P&;t t 9223$ac_datarootdir_hack 9224" 9225eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 9226 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9227 9228test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 9229 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 9230 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 9231 "$ac_tmp/out"`; test -z "$ac_out"; } && 9232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9233which seems to be undefined. Please make sure it is defined" >&5 9234printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9235which seems to be undefined. Please make sure it is defined" >&2;} 9236 9237 rm -f "$ac_tmp/stdin" 9238 case $ac_file in 9239 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 9240 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 9241 esac \ 9242 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9243 ;; 9244 :H) 9245 # 9246 # CONFIG_HEADER 9247 # 9248 if test x"$ac_file" != x-; then 9249 { 9250 printf "%s\n" "/* $configure_input */" >&1 \ 9251 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 9252 } >"$ac_tmp/config.h" \ 9253 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9254 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 9255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 9256printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} 9257 else 9258 rm -f "$ac_file" 9259 mv "$ac_tmp/config.h" "$ac_file" \ 9260 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9261 fi 9262 else 9263 printf "%s\n" "/* $configure_input */" >&1 \ 9264 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 9265 || as_fn_error $? "could not create -" "$LINENO" 5 9266 fi 9267# Compute "$ac_file"'s index in $config_headers. 9268_am_arg="$ac_file" 9269_am_stamp_count=1 9270for _am_header in $config_headers :; do 9271 case $_am_header in 9272 $_am_arg | $_am_arg:* ) 9273 break ;; 9274 * ) 9275 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 9276 esac 9277done 9278echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 9279$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9280 X"$_am_arg" : 'X\(//\)[^/]' \| \ 9281 X"$_am_arg" : 'X\(//\)$' \| \ 9282 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 9283printf "%s\n" X"$_am_arg" | 9284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9285 s//\1/ 9286 q 9287 } 9288 /^X\(\/\/\)[^/].*/{ 9289 s//\1/ 9290 q 9291 } 9292 /^X\(\/\/\)$/{ 9293 s//\1/ 9294 q 9295 } 9296 /^X\(\/\).*/{ 9297 s//\1/ 9298 q 9299 } 9300 s/.*/./; q'`/stamp-h$_am_stamp_count 9301 ;; 9302 9303 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 9304printf "%s\n" "$as_me: executing $ac_file commands" >&6;} 9305 ;; 9306 esac 9307 9308 9309 case $ac_file$ac_mode in 9310 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 9311 # Older Autoconf quotes --file arguments for eval, but not when files 9312 # are listed without --file. Let's play safe and only enable the eval 9313 # if we detect the quoting. 9314 # TODO: see whether this extra hack can be removed once we start 9315 # requiring Autoconf 2.70 or later. 9316 case $CONFIG_FILES in #( 9317 *\'*) : 9318 eval set x "$CONFIG_FILES" ;; #( 9319 *) : 9320 set x $CONFIG_FILES ;; #( 9321 *) : 9322 ;; 9323esac 9324 shift 9325 # Used to flag and report bootstrapping failures. 9326 am_rc=0 9327 for am_mf 9328 do 9329 # Strip MF so we end up with the name of the file. 9330 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'` 9331 # Check whether this is an Automake generated Makefile which includes 9332 # dependency-tracking related rules and includes. 9333 # Grep'ing the whole file directly is not great: AIX grep has a line 9334 # limit of 2048, but all sed's we know have understand at least 4000. 9335 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 9336 || continue 9337 am_dirpart=`$as_dirname -- "$am_mf" || 9338$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9339 X"$am_mf" : 'X\(//\)[^/]' \| \ 9340 X"$am_mf" : 'X\(//\)$' \| \ 9341 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 9342printf "%s\n" X"$am_mf" | 9343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9344 s//\1/ 9345 q 9346 } 9347 /^X\(\/\/\)[^/].*/{ 9348 s//\1/ 9349 q 9350 } 9351 /^X\(\/\/\)$/{ 9352 s//\1/ 9353 q 9354 } 9355 /^X\(\/\).*/{ 9356 s//\1/ 9357 q 9358 } 9359 s/.*/./; q'` 9360 am_filepart=`$as_basename -- "$am_mf" || 9361$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 9362 X"$am_mf" : 'X\(//\)$' \| \ 9363 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 9364printf "%s\n" X/"$am_mf" | 9365 sed '/^.*\/\([^/][^/]*\)\/*$/{ 9366 s//\1/ 9367 q 9368 } 9369 /^X\/\(\/\/\)$/{ 9370 s//\1/ 9371 q 9372 } 9373 /^X\/\(\/\).*/{ 9374 s//\1/ 9375 q 9376 } 9377 s/.*/./; q'` 9378 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 9379 && sed -e '/# am--include-marker/d' "$am_filepart" \ 9380 | $MAKE -f - am--depfiles" >&5 9381 (cd "$am_dirpart" \ 9382 && sed -e '/# am--include-marker/d' "$am_filepart" \ 9383 | $MAKE -f - am--depfiles) >&5 2>&5 9384 ac_status=$? 9385 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9386 (exit $ac_status); } || am_rc=$? 9387 done 9388 if test $am_rc -ne 0; then 9389 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9390printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 9391as_fn_error $? "Something went wrong bootstrapping makefile fragments 9392 for automatic dependency tracking. If GNU make was not used, consider 9393 re-running the configure script with MAKE=\"gmake\" (or whatever is 9394 necessary). You can also try re-running configure with the 9395 '--disable-dependency-tracking' option to at least be able to build 9396 the package (albeit without support for automatic dependency tracking). 9397See \`config.log' for more details" "$LINENO" 5; } 9398 fi 9399 { am_dirpart=; unset am_dirpart;} 9400 { am_filepart=; unset am_filepart;} 9401 { am_mf=; unset am_mf;} 9402 { am_rc=; unset am_rc;} 9403 rm -f conftest-deps.mk 9404} 9405 ;; 9406 "po-directories":C) 9407 for ac_file in $CONFIG_FILES; do 9408 # Support "outfile[:infile[:infile...]]" 9409 case "$ac_file" in 9410 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 9411 esac 9412 # PO directories have a Makefile.in generated from Makefile.in.in. 9413 case "$ac_file" in */Makefile.in) 9414 # Adjust a relative srcdir. 9415 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 9416 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` 9417 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 9418 # In autoconf-2.13 it is called $ac_given_srcdir. 9419 # In autoconf-2.50 it is called $srcdir. 9420 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 9421 case "$ac_given_srcdir" in 9422 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 9423 /*) top_srcdir="$ac_given_srcdir" ;; 9424 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 9425 esac 9426 # Treat a directory as a PO directory if and only if it has a 9427 # POTFILES.in file. This allows packages to have multiple PO 9428 # directories under different names or in different locations. 9429 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 9430 rm -f "$ac_dir/POTFILES" 9431 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 9432 gt_tab=`printf '\t'` 9433 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" 9434 POMAKEFILEDEPS="POTFILES.in" 9435 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 9436 # on $ac_dir but don't depend on user-specified configuration 9437 # parameters. 9438 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 9439 # The LINGUAS file contains the set of available languages. 9440 if test -n "$OBSOLETE_ALL_LINGUAS"; then 9441 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 9442 fi 9443 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 9444 # Hide the ALL_LINGUAS assignment from automake < 1.5. 9445 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 9446 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 9447 else 9448 # The set of available languages was given in configure.in. 9449 # Hide the ALL_LINGUAS assignment from automake < 1.5. 9450 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' 9451 fi 9452 # Compute POFILES 9453 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 9454 # Compute UPDATEPOFILES 9455 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 9456 # Compute DUMMYPOFILES 9457 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 9458 # Compute GMOFILES 9459 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 9460 case "$ac_given_srcdir" in 9461 .) srcdirpre= ;; 9462 *) srcdirpre='$(srcdir)/' ;; 9463 esac 9464 POFILES= 9465 UPDATEPOFILES= 9466 DUMMYPOFILES= 9467 GMOFILES= 9468 for lang in $ALL_LINGUAS; do 9469 POFILES="$POFILES $srcdirpre$lang.po" 9470 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 9471 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 9472 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 9473 done 9474 # CATALOGS depends on both $ac_dir and the user's LINGUAS 9475 # environment variable. 9476 INST_LINGUAS= 9477 if test -n "$ALL_LINGUAS"; then 9478 for presentlang in $ALL_LINGUAS; do 9479 useit=no 9480 if test "%UNSET%" != "$LINGUAS"; then 9481 desiredlanguages="$LINGUAS" 9482 else 9483 desiredlanguages="$ALL_LINGUAS" 9484 fi 9485 for desiredlang in $desiredlanguages; do 9486 # Use the presentlang catalog if desiredlang is 9487 # a. equal to presentlang, or 9488 # b. a variant of presentlang (because in this case, 9489 # presentlang can be used as a fallback for messages 9490 # which are not translated in the desiredlang catalog). 9491 case "$desiredlang" in 9492 "$presentlang"*) useit=yes;; 9493 esac 9494 done 9495 if test $useit = yes; then 9496 INST_LINGUAS="$INST_LINGUAS $presentlang" 9497 fi 9498 done 9499 fi 9500 CATALOGS= 9501 if test -n "$INST_LINGUAS"; then 9502 for lang in $INST_LINGUAS; do 9503 CATALOGS="$CATALOGS $lang.gmo" 9504 done 9505 fi 9506 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 9507 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" 9508 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 9509 if test -f "$f"; then 9510 case "$f" in 9511 *.orig | *.bak | *~) ;; 9512 *) cat "$f" >> "$ac_dir/Makefile" ;; 9513 esac 9514 fi 9515 done 9516 fi 9517 ;; 9518 esac 9519 done ;; 9520 9521 esac 9522done # for ac_tag 9523 9524 9525as_fn_exit 0 9526_ACEOF 9527ac_clean_files=$ac_clean_files_save 9528 9529test $ac_write_fail = 0 || 9530 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 9531 9532 9533# configure is writing to config.log, and then calls config.status. 9534# config.status does its own redirection, appending to config.log. 9535# Unfortunately, on DOS this fails, as config.log is still kept open 9536# by configure, so config.status won't be able to write to it; its 9537# output is simply discarded. So we exec the FD to /dev/null, 9538# effectively closing config.log, so it can be properly (re)opened and 9539# appended to by config.status. When coming back to configure, we 9540# need to make the FD available again. 9541if test "$no_create" != yes; then 9542 ac_cs_success=: 9543 ac_config_status_args= 9544 test "$silent" = yes && 9545 ac_config_status_args="$ac_config_status_args --quiet" 9546 exec 5>/dev/null 9547 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 9548 exec 5>>config.log 9549 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 9550 # would make configure fail if this is the last instruction. 9551 $ac_cs_success || as_fn_exit 1 9552fi 9553if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 9554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 9555printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 9556fi 9557 9558 9559