1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for GNU Midnight Commander 4.8.27-git. 4# 5# Report bugs to <https://www.midnight-commander.org/wiki/NewTicket>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation 12# gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137# Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142# neutralization value for shells without unset; and this also 143# works around shells that cannot unset nonexistent variables. 144# Preserve -v and -x to the replacement shell. 145BASH_ENV=/dev/null 146ENV=/dev/null 147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153esac 154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155# Admittedly, this is quite paranoid, since all the known shells bail 156# out after a failed `exec'. 157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176esac 177fi 178" 179 as_required="as_fn_return () { (exit \$1); } 180as_fn_success () { as_fn_return 0; } 181as_fn_failure () { as_fn_return 1; } 182as_fn_ret_success () { return 0; } 183as_fn_ret_failure () { return 1; } 184 185exitcode=0 186as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192else 193 exitcode=1; echo positional parameters were not saved. 194fi 195test x\$exitcode = x0 || exit 1 196test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201test \$(( 1 + 1 )) = 2 || exit 1 202 203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 207 PATH=/empty FPATH=/empty; export PATH FPATH 208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" 210 if (eval "$as_required") 2>/dev/null; then : 211 as_have_required=yes 212else 213 as_have_required=no 214fi 215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 216 217else 218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 219as_found=false 220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 221do 222 IFS=$as_save_IFS 223 test -z "$as_dir" && as_dir=. 224 as_found=: 225 case $as_dir in #( 226 /*) 227 for as_base in sh bash ksh sh5; do 228 # Try only shells that exist, to save several forks. 229 as_shell=$as_dir/$as_base 230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 CONFIG_SHELL=$as_shell as_have_required=yes 233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 234 break 2 235fi 236fi 237 done;; 238 esac 239 as_found=false 240done 241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 243 CONFIG_SHELL=$SHELL as_have_required=yes 244fi; } 245IFS=$as_save_IFS 246 247 248 if test "x$CONFIG_SHELL" != x; then : 249 export CONFIG_SHELL 250 # We cannot yet assume a decent shell, so we have to provide a 251# neutralization value for shells without unset; and this also 252# works around shells that cannot unset nonexistent variables. 253# Preserve -v and -x to the replacement shell. 254BASH_ENV=/dev/null 255ENV=/dev/null 256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 257case $- in # (((( 258 *v*x* | *x*v* ) as_opts=-vx ;; 259 *v* ) as_opts=-v ;; 260 *x* ) as_opts=-x ;; 261 * ) as_opts= ;; 262esac 263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 264# Admittedly, this is quite paranoid, since all the known shells bail 265# out after a failed `exec'. 266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 267exit 255 268fi 269 270 if test x$as_have_required = xno; then : 271 $as_echo "$0: This script requires a shell more modern than all" 272 $as_echo "$0: the shells that I found on your system." 273 if test x${ZSH_VERSION+set} = xset ; then 274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 275 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 276 else 277 $as_echo "$0: Please tell bug-autoconf@gnu.org and 278$0: https://www.midnight-commander.org/wiki/NewTicket about 279$0: your system, including any error possibly output before 280$0: this message. Then install a modern shell, or manually 281$0: run the script under such a shell if you do have one." 282 fi 283 exit 1 284fi 285fi 286fi 287SHELL=${CONFIG_SHELL-/bin/sh} 288export SHELL 289# Unset more variables known to interfere with behavior of common tools. 290CLICOLOR_FORCE= GREP_OPTIONS= 291unset CLICOLOR_FORCE GREP_OPTIONS 292 293## --------------------- ## 294## M4sh Shell Functions. ## 295## --------------------- ## 296# as_fn_unset VAR 297# --------------- 298# Portably unset VAR. 299as_fn_unset () 300{ 301 { eval $1=; unset $1;} 302} 303as_unset=as_fn_unset 304 305# as_fn_set_status STATUS 306# ----------------------- 307# Set $? to STATUS, without forking. 308as_fn_set_status () 309{ 310 return $1 311} # as_fn_set_status 312 313# as_fn_exit STATUS 314# ----------------- 315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 316as_fn_exit () 317{ 318 set +e 319 as_fn_set_status $1 320 exit $1 321} # as_fn_exit 322 323# as_fn_mkdir_p 324# ------------- 325# Create "$as_dir" as a directory, including parents if necessary. 326as_fn_mkdir_p () 327{ 328 329 case $as_dir in #( 330 -*) as_dir=./$as_dir;; 331 esac 332 test -d "$as_dir" || eval $as_mkdir_p || { 333 as_dirs= 334 while :; do 335 case $as_dir in #( 336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 337 *) as_qdir=$as_dir;; 338 esac 339 as_dirs="'$as_qdir' $as_dirs" 340 as_dir=`$as_dirname -- "$as_dir" || 341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 342 X"$as_dir" : 'X\(//\)[^/]' \| \ 343 X"$as_dir" : 'X\(//\)$' \| \ 344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 345$as_echo X"$as_dir" | 346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 347 s//\1/ 348 q 349 } 350 /^X\(\/\/\)[^/].*/{ 351 s//\1/ 352 q 353 } 354 /^X\(\/\/\)$/{ 355 s//\1/ 356 q 357 } 358 /^X\(\/\).*/{ 359 s//\1/ 360 q 361 } 362 s/.*/./; q'` 363 test -d "$as_dir" && break 364 done 365 test -z "$as_dirs" || eval "mkdir $as_dirs" 366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 367 368 369} # as_fn_mkdir_p 370 371# as_fn_executable_p FILE 372# ----------------------- 373# Test if FILE is an executable regular file. 374as_fn_executable_p () 375{ 376 test -f "$1" && test -x "$1" 377} # as_fn_executable_p 378# as_fn_append VAR VALUE 379# ---------------------- 380# Append the text in VALUE to the end of the definition contained in VAR. Take 381# advantage of any shell optimizations that allow amortized linear growth over 382# repeated appends, instead of the typical quadratic growth present in naive 383# implementations. 384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 385 eval 'as_fn_append () 386 { 387 eval $1+=\$2 388 }' 389else 390 as_fn_append () 391 { 392 eval $1=\$$1\$2 393 } 394fi # as_fn_append 395 396# as_fn_arith ARG... 397# ------------------ 398# Perform arithmetic evaluation on the ARGs, and store the result in the 399# global $as_val. Take advantage of shells that can avoid forks. The arguments 400# must be portable across $(()) and expr. 401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 402 eval 'as_fn_arith () 403 { 404 as_val=$(( $* )) 405 }' 406else 407 as_fn_arith () 408 { 409 as_val=`expr "$@" || test $? -eq 1` 410 } 411fi # as_fn_arith 412 413 414# as_fn_error STATUS ERROR [LINENO LOG_FD] 415# ---------------------------------------- 416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 418# script with STATUS, using 1 if that was 0. 419as_fn_error () 420{ 421 as_status=$1; test $as_status -eq 0 && as_status=1 422 if test "$4"; then 423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 425 fi 426 $as_echo "$as_me: error: $2" >&2 427 as_fn_exit $as_status 428} # as_fn_error 429 430if expr a : '\(a\)' >/dev/null 2>&1 && 431 test "X`expr 00001 : '.*\(...\)'`" = X001; then 432 as_expr=expr 433else 434 as_expr=false 435fi 436 437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 438 as_basename=basename 439else 440 as_basename=false 441fi 442 443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 444 as_dirname=dirname 445else 446 as_dirname=false 447fi 448 449as_me=`$as_basename -- "$0" || 450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 451 X"$0" : 'X\(//\)$' \| \ 452 X"$0" : 'X\(/\)' \| . 2>/dev/null || 453$as_echo X/"$0" | 454 sed '/^.*\/\([^/][^/]*\)\/*$/{ 455 s//\1/ 456 q 457 } 458 /^X\/\(\/\/\)$/{ 459 s//\1/ 460 q 461 } 462 /^X\/\(\/\).*/{ 463 s//\1/ 464 q 465 } 466 s/.*/./; q'` 467 468# Avoid depending upon Character Ranges. 469as_cr_letters='abcdefghijklmnopqrstuvwxyz' 470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 471as_cr_Letters=$as_cr_letters$as_cr_LETTERS 472as_cr_digits='0123456789' 473as_cr_alnum=$as_cr_Letters$as_cr_digits 474 475 476 as_lineno_1=$LINENO as_lineno_1a=$LINENO 477 as_lineno_2=$LINENO as_lineno_2a=$LINENO 478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 481 sed -n ' 482 p 483 /[$]LINENO/= 484 ' <$as_myself | 485 sed ' 486 s/[$]LINENO.*/&-/ 487 t lineno 488 b 489 :lineno 490 N 491 :loop 492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 493 t loop 494 s/-\n.*// 495 ' >$as_me.lineno && 496 chmod +x "$as_me.lineno" || 497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 498 499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 500 # already done that, so ensure we don't try to do so again and fall 501 # in an infinite loop. This has already happened in practice. 502 _as_can_reexec=no; export _as_can_reexec 503 # Don't try to exec as it changes $[0], causing all sort of problems 504 # (the dirname of $[0] is not the place where we might find the 505 # original and so on. Autoconf is especially sensitive to this). 506 . "./$as_me.lineno" 507 # Exit status is that of the last command. 508 exit 509} 510 511ECHO_C= ECHO_N= ECHO_T= 512case `echo -n x` in #((((( 513-n*) 514 case `echo 'xy\c'` in 515 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 516 xy) ECHO_C='\c';; 517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 518 ECHO_T=' ';; 519 esac;; 520*) 521 ECHO_N='-n';; 522esac 523 524rm -f conf$$ conf$$.exe conf$$.file 525if test -d conf$$.dir; then 526 rm -f conf$$.dir/conf$$.file 527else 528 rm -f conf$$.dir 529 mkdir conf$$.dir 2>/dev/null 530fi 531if (echo >conf$$.file) 2>/dev/null; then 532 if ln -s conf$$.file conf$$ 2>/dev/null; then 533 as_ln_s='ln -s' 534 # ... but there are two gotchas: 535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 537 # In both cases, we have to default to `cp -pR'. 538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 539 as_ln_s='cp -pR' 540 elif ln conf$$.file conf$$ 2>/dev/null; then 541 as_ln_s=ln 542 else 543 as_ln_s='cp -pR' 544 fi 545else 546 as_ln_s='cp -pR' 547fi 548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 549rmdir conf$$.dir 2>/dev/null 550 551if mkdir -p . 2>/dev/null; then 552 as_mkdir_p='mkdir -p "$as_dir"' 553else 554 test -d ./-p && rmdir ./-p 555 as_mkdir_p=false 556fi 557 558as_test_x='test -x' 559as_executable_p=as_fn_executable_p 560 561# Sed expression to map a string onto a valid CPP name. 562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 563 564# Sed expression to map a string onto a valid variable name. 565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 566 567SHELL=${CONFIG_SHELL-/bin/sh} 568 569 570test -n "$DJDIR" || exec 7<&0 </dev/null 571exec 6>&1 572 573# Name of the host. 574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 575# so uname gets run too. 576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 577 578# 579# Initializations. 580# 581ac_default_prefix=/usr/local 582ac_clean_files= 583ac_config_libobj_dir=. 584LIBOBJS= 585cross_compiling=no 586subdirs= 587MFLAGS= 588MAKEFLAGS= 589 590# Identity of this package. 591PACKAGE_NAME='GNU Midnight Commander' 592PACKAGE_TARNAME='mc' 593PACKAGE_VERSION='4.8.27-git' 594PACKAGE_STRING='GNU Midnight Commander 4.8.27-git' 595PACKAGE_BUGREPORT='https://www.midnight-commander.org/wiki/NewTicket' 596PACKAGE_URL='https://www.midnight-commander.org/' 597 598ac_unique_file="src/main.c" 599# Factoring default headers for most tests. 600ac_includes_default="\ 601#include <stdio.h> 602#ifdef HAVE_SYS_TYPES_H 603# include <sys/types.h> 604#endif 605#ifdef HAVE_SYS_STAT_H 606# include <sys/stat.h> 607#endif 608#ifdef STDC_HEADERS 609# include <stdlib.h> 610# include <stddef.h> 611#else 612# ifdef HAVE_STDLIB_H 613# include <stdlib.h> 614# endif 615#endif 616#ifdef HAVE_STRING_H 617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 618# include <memory.h> 619# endif 620# include <string.h> 621#endif 622#ifdef HAVE_STRINGS_H 623# include <strings.h> 624#endif 625#ifdef HAVE_INTTYPES_H 626# include <inttypes.h> 627#endif 628#ifdef HAVE_STDINT_H 629# include <stdint.h> 630#endif 631#ifdef HAVE_UNISTD_H 632# include <unistd.h> 633#endif" 634 635ac_header_list= 636gt_needs= 637enable_option_checking=no 638ac_subst_vars='am__EXEEXT_FALSE 639am__EXEEXT_TRUE 640LTLIBOBJS 641HAVE_GMODULE_FALSE 642HAVE_GMODULE_TRUE 643CONS_SAVER_FALSE 644CONS_SAVER_TRUE 645CHARSET_FALSE 646CHARSET_TRUE 647USE_DIFF_FALSE 648USE_DIFF_TRUE 649USE_ASPELL_FALSE 650USE_ASPELL_TRUE 651USE_INTERNAL_EDIT_FALSE 652USE_INTERNAL_EDIT_TRUE 653USE_SCREEN_SLANG_FALSE 654USE_SCREEN_SLANG_TRUE 655USE_MAINTAINER_MODE_FALSE 656USE_MAINTAINER_MODE_TRUE 657USE_NLS_FALSE 658USE_NLS_TRUE 659MCLIBS 660DOXYGEN_PAPER_SIZE 661DX_COND_latex_FALSE 662DX_COND_latex_TRUE 663DX_COND_pdf_FALSE 664DX_COND_pdf_TRUE 665DX_PDFLATEX 666DX_FLAG_pdf 667DX_COND_ps_FALSE 668DX_COND_ps_TRUE 669DX_EGREP 670DX_DVIPS 671DX_MAKEINDEX 672DX_LATEX 673DX_FLAG_ps 674DX_COND_html_FALSE 675DX_COND_html_TRUE 676DX_FLAG_html 677DX_COND_chi_FALSE 678DX_COND_chi_TRUE 679DX_FLAG_chi 680DX_COND_chm_FALSE 681DX_COND_chm_TRUE 682DX_HHC 683DX_FLAG_chm 684DX_COND_xml_FALSE 685DX_COND_xml_TRUE 686DX_FLAG_xml 687DX_COND_rtf_FALSE 688DX_COND_rtf_TRUE 689DX_FLAG_rtf 690DX_COND_man_FALSE 691DX_COND_man_TRUE 692DX_FLAG_man 693DX_COND_dot_FALSE 694DX_COND_dot_TRUE 695DX_DOT 696DX_FLAG_dot 697DX_COND_doc_FALSE 698DX_COND_doc_TRUE 699DX_PERL 700DX_DOXYGEN 701DX_FLAG_doc 702DX_ENV 703DX_DOCDIR 704DX_CONFIG 705DX_PROJECT 706DOC_LINGUAS 707MAN_DATE 708EXTHELPERSDIR 709ENABLE_VFS_NET_FALSE 710ENABLE_VFS_NET_TRUE 711ENABLE_VFS_FALSE 712ENABLE_VFS_TRUE 713ENABLE_VFS_UNDELFS_FALSE 714ENABLE_VFS_UNDELFS_TRUE 715COM_ERR_LIBS 716COM_ERR_CFLAGS 717ENABLE_VFS_TAR_FALSE 718ENABLE_VFS_TAR_TRUE 719smbconfigdir 720ENABLE_VFS_SMB_FALSE 721ENABLE_VFS_SMB_TRUE 722subdirs 723ENABLE_VFS_SFTP_FALSE 724ENABLE_VFS_SFTP_TRUE 725LIBSSH_LIBS 726LIBSSH_CFLAGS 727ENABLE_VFS_SFS_FALSE 728ENABLE_VFS_SFS_TRUE 729ENABLE_VFS_FTP_FALSE 730ENABLE_VFS_FTP_TRUE 731ENABLE_VFS_FISH_FALSE 732ENABLE_VFS_FISH_TRUE 733ENABLE_VFS_EXTFS_FALSE 734ENABLE_VFS_EXTFS_TRUE 735HAVE_ZIPINFO 736UNZIP 737ZIP 738ENABLE_VFS_CPIO_FALSE 739ENABLE_VFS_CPIO_TRUE 740ENABLE_EXT2FS_ATTR_FALSE 741ENABLE_EXT2FS_ATTR_TRUE 742E2P_LIBS 743E2P_CFLAGS 744EXT2FS_LIBS 745EXT2FS_CFLAGS 746ENABLE_BACKGROUND_FALSE 747ENABLE_BACKGROUND_TRUE 748ENABLE_SUBSHELL_FALSE 749ENABLE_SUBSHELL_TRUE 750ENABLE_MCLIB_FALSE 751ENABLE_MCLIB_TRUE 752LIBMC_RELEASE 753LIBMC_VERSION 754RUBY 755PYTHON 756PERL 757CP1251 758POSUB 759LTLIBINTL 760LIBINTL 761INTLLIBS 762LTLIBICONV 763LIBICONV 764INTL_MACOSX_LIBS 765XGETTEXT_EXTRA_OPTIONS 766MSGMERGE 767XGETTEXT_015 768XGETTEXT 769GMSGFMT_015 770MSGFMT_015 771GMSGFMT 772MSGFMT 773GETTEXT_MACRO_VERSION 774USE_NLS 775LIBOBJS 776HAVE_TEXTMODE_X11_SUPPORT_FALSE 777HAVE_TEXTMODE_X11_SUPPORT_TRUE 778X_EXTRA_LIBS 779X_LIBS 780X_PRE_LIBS 781X_CFLAGS 782XMKMF 783PCRE_CPPFLAGS 784PCRE_LIBS 785SLANG_LIBS 786SLANG_CFLAGS 787GMODULE_LIBS 788GMODULE_CFLAGS 789GLIB_LIBS 790GLIB_CFLAGS 791TESTS_LDFLAGS 792HAVE_TESTS_FALSE 793HAVE_TESTS_TRUE 794CHECK_LIBS 795CHECK_CFLAGS 796X11_WWW 797HAVE_FILECMD 798MAN_FLAGS 799MANDOC 800HAVE_nroff 801PKG_CONFIG_LIBDIR 802PKG_CONFIG_PATH 803PKG_CONFIG 804LT_SYS_LIBRARY_PATH 805OTOOL64 806OTOOL 807LIPO 808NMEDIT 809DSYMUTIL 810MANIFEST_TOOL 811RANLIB 812ac_ct_AR 813AR 814DLLTOOL 815OBJDUMP 816LN_S 817NM 818ac_ct_DUMPBIN 819DUMPBIN 820LD 821FGREP 822SED 823LIBTOOL 824EGREP 825GREP 826CPP 827am__fastdepCC_FALSE 828am__fastdepCC_TRUE 829CCDEPMODE 830am__nodep 831AMDEPBACKSLASH 832AMDEP_FALSE 833AMDEP_TRUE 834am__include 835DEPDIR 836OBJEXT 837EXEEXT 838ac_ct_CC 839CPPFLAGS 840LDFLAGS 841CFLAGS 842CC 843host_os 844host_vendor 845host_cpu 846host 847build_os 848build_vendor 849build_cpu 850build 851MAINT 852MAINTAINER_MODE_FALSE 853MAINTAINER_MODE_TRUE 854MAN_VERSION 855AM_BACKSLASH 856AM_DEFAULT_VERBOSITY 857AM_DEFAULT_V 858AM_V 859am__untar 860am__tar 861AMTAR 862am__leading_dot 863SET_MAKE 864AWK 865mkdir_p 866MKDIR_P 867INSTALL_STRIP_PROGRAM 868STRIP 869install_sh 870MAKEINFO 871AUTOHEADER 872AUTOMAKE 873AUTOCONF 874ACLOCAL 875VERSION 876PACKAGE 877CYGPATH_W 878am__isrc 879INSTALL_DATA 880INSTALL_SCRIPT 881INSTALL_PROGRAM 882target_alias 883host_alias 884build_alias 885LIBS 886ECHO_T 887ECHO_N 888ECHO_C 889DEFS 890mandir 891localedir 892libdir 893psdir 894pdfdir 895dvidir 896htmldir 897infodir 898docdir 899oldincludedir 900includedir 901localstatedir 902sharedstatedir 903sysconfdir 904datadir 905datarootdir 906libexecdir 907sbindir 908bindir 909program_transform_name 910prefix 911exec_prefix 912PACKAGE_URL 913PACKAGE_BUGREPORT 914PACKAGE_STRING 915PACKAGE_VERSION 916PACKAGE_TARNAME 917PACKAGE_NAME 918PATH_SEPARATOR 919SHELL 920am__quote' 921ac_subst_files='' 922ac_user_opts=' 923enable_option_checking 924enable_silent_rules 925enable_maintainer_mode 926enable_dependency_tracking 927enable_werror 928enable_shared 929enable_static 930with_pic 931enable_fast_install 932with_aix_soname 933with_gnu_ld 934with_sysroot 935enable_libtool_lock 936enable_tests 937with_glib_static 938with_screen 939with_ncurses_includes 940with_ncurses_libs 941with_search_engine 942with_pcre 943with_x 944enable_largefile 945with_mmap 946enable_nls 947enable_rpath 948with_libiconv_prefix 949with_libintl_prefix 950enable_charset 951with_gpm_mouse 952enable_mclib 953enable_assert 954with_internal_edit 955enable_aspell 956with_diff_viewer 957with_subshell 958enable_background 959enable_vfs 960enable_vfs_cpio 961enable_vfs_extfs 962enable_vfs_fish 963enable_vfs_ftp 964enable_vfs_sfs 965enable_vfs_sftp 966enable_vfs_smb 967with_smb_configdir 968with_smb_codepagedir 969enable_vfs_tar 970enable_vfs_undelfs 971enable_doxygen_doc 972enable_doxygen_dot 973enable_doxygen_man 974enable_doxygen_rtf 975enable_doxygen_xml 976enable_doxygen_chm 977enable_doxygen_chi 978enable_doxygen_html 979enable_doxygen_ps 980enable_doxygen_pdf 981enable_configure_args 982' 983 ac_precious_vars='build_alias 984host_alias 985target_alias 986CC 987CFLAGS 988LDFLAGS 989LIBS 990CPPFLAGS 991CPP 992LT_SYS_LIBRARY_PATH 993PKG_CONFIG 994PKG_CONFIG_PATH 995PKG_CONFIG_LIBDIR 996CHECK_CFLAGS 997CHECK_LIBS 998GLIB_CFLAGS 999GLIB_LIBS 1000GMODULE_CFLAGS 1001GMODULE_LIBS 1002SLANG_CFLAGS 1003SLANG_LIBS 1004XMKMF 1005EXT2FS_CFLAGS 1006EXT2FS_LIBS 1007E2P_CFLAGS 1008E2P_LIBS 1009LIBSSH_CFLAGS 1010LIBSSH_LIBS 1011COM_ERR_CFLAGS 1012COM_ERR_LIBS 1013DOXYGEN_PAPER_SIZE' 1014ac_subdirs_all='src/vfs/smbfs/helpers' 1015 1016# Initialize some variables set by options. 1017ac_init_help= 1018ac_init_version=false 1019ac_unrecognized_opts= 1020ac_unrecognized_sep= 1021# The variables have the same names as the options, with 1022# dashes changed to underlines. 1023cache_file=/dev/null 1024exec_prefix=NONE 1025no_create= 1026no_recursion= 1027prefix=NONE 1028program_prefix=NONE 1029program_suffix=NONE 1030program_transform_name=s,x,x, 1031silent= 1032site= 1033srcdir= 1034verbose= 1035x_includes=NONE 1036x_libraries=NONE 1037 1038# Installation directory options. 1039# These are left unexpanded so users can "make install exec_prefix=/foo" 1040# and all the variables that are supposed to be based on exec_prefix 1041# by default will actually change. 1042# Use braces instead of parens because sh, perl, etc. also accept them. 1043# (The list follows the same order as the GNU Coding Standards.) 1044bindir='${exec_prefix}/bin' 1045sbindir='${exec_prefix}/sbin' 1046libexecdir='${exec_prefix}/libexec' 1047datarootdir='${prefix}/share' 1048datadir='${datarootdir}' 1049sysconfdir='${prefix}/etc' 1050sharedstatedir='${prefix}/com' 1051localstatedir='${prefix}/var' 1052includedir='${prefix}/include' 1053oldincludedir='/usr/include' 1054docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 1055infodir='${datarootdir}/info' 1056htmldir='${docdir}' 1057dvidir='${docdir}' 1058pdfdir='${docdir}' 1059psdir='${docdir}' 1060libdir='${exec_prefix}/lib' 1061localedir='${datarootdir}/locale' 1062mandir='${datarootdir}/man' 1063 1064ac_prev= 1065ac_dashdash= 1066for ac_option 1067do 1068 # If the previous option needs an argument, assign it. 1069 if test -n "$ac_prev"; then 1070 eval $ac_prev=\$ac_option 1071 ac_prev= 1072 continue 1073 fi 1074 1075 case $ac_option in 1076 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1077 *=) ac_optarg= ;; 1078 *) ac_optarg=yes ;; 1079 esac 1080 1081 # Accept the important Cygnus configure options, so we can diagnose typos. 1082 1083 case $ac_dashdash$ac_option in 1084 --) 1085 ac_dashdash=yes ;; 1086 1087 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1088 ac_prev=bindir ;; 1089 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1090 bindir=$ac_optarg ;; 1091 1092 -build | --build | --buil | --bui | --bu) 1093 ac_prev=build_alias ;; 1094 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1095 build_alias=$ac_optarg ;; 1096 1097 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1098 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1099 ac_prev=cache_file ;; 1100 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1101 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1102 cache_file=$ac_optarg ;; 1103 1104 --config-cache | -C) 1105 cache_file=config.cache ;; 1106 1107 -datadir | --datadir | --datadi | --datad) 1108 ac_prev=datadir ;; 1109 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1110 datadir=$ac_optarg ;; 1111 1112 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1113 | --dataroo | --dataro | --datar) 1114 ac_prev=datarootdir ;; 1115 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1116 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1117 datarootdir=$ac_optarg ;; 1118 1119 -disable-* | --disable-*) 1120 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1121 # Reject names that are not valid shell variable names. 1122 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1123 as_fn_error $? "invalid feature name: $ac_useropt" 1124 ac_useropt_orig=$ac_useropt 1125 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1126 case $ac_user_opts in 1127 *" 1128"enable_$ac_useropt" 1129"*) ;; 1130 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1131 ac_unrecognized_sep=', ';; 1132 esac 1133 eval enable_$ac_useropt=no ;; 1134 1135 -docdir | --docdir | --docdi | --doc | --do) 1136 ac_prev=docdir ;; 1137 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1138 docdir=$ac_optarg ;; 1139 1140 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1141 ac_prev=dvidir ;; 1142 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1143 dvidir=$ac_optarg ;; 1144 1145 -enable-* | --enable-*) 1146 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1147 # Reject names that are not valid shell variable names. 1148 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1149 as_fn_error $? "invalid feature name: $ac_useropt" 1150 ac_useropt_orig=$ac_useropt 1151 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1152 case $ac_user_opts in 1153 *" 1154"enable_$ac_useropt" 1155"*) ;; 1156 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1157 ac_unrecognized_sep=', ';; 1158 esac 1159 eval enable_$ac_useropt=\$ac_optarg ;; 1160 1161 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1162 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1163 | --exec | --exe | --ex) 1164 ac_prev=exec_prefix ;; 1165 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1166 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1167 | --exec=* | --exe=* | --ex=*) 1168 exec_prefix=$ac_optarg ;; 1169 1170 -gas | --gas | --ga | --g) 1171 # Obsolete; use --with-gas. 1172 with_gas=yes ;; 1173 1174 -help | --help | --hel | --he | -h) 1175 ac_init_help=long ;; 1176 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1177 ac_init_help=recursive ;; 1178 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1179 ac_init_help=short ;; 1180 1181 -host | --host | --hos | --ho) 1182 ac_prev=host_alias ;; 1183 -host=* | --host=* | --hos=* | --ho=*) 1184 host_alias=$ac_optarg ;; 1185 1186 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1187 ac_prev=htmldir ;; 1188 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1189 | --ht=*) 1190 htmldir=$ac_optarg ;; 1191 1192 -includedir | --includedir | --includedi | --included | --include \ 1193 | --includ | --inclu | --incl | --inc) 1194 ac_prev=includedir ;; 1195 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1196 | --includ=* | --inclu=* | --incl=* | --inc=*) 1197 includedir=$ac_optarg ;; 1198 1199 -infodir | --infodir | --infodi | --infod | --info | --inf) 1200 ac_prev=infodir ;; 1201 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1202 infodir=$ac_optarg ;; 1203 1204 -libdir | --libdir | --libdi | --libd) 1205 ac_prev=libdir ;; 1206 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1207 libdir=$ac_optarg ;; 1208 1209 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1210 | --libexe | --libex | --libe) 1211 ac_prev=libexecdir ;; 1212 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1213 | --libexe=* | --libex=* | --libe=*) 1214 libexecdir=$ac_optarg ;; 1215 1216 -localedir | --localedir | --localedi | --localed | --locale) 1217 ac_prev=localedir ;; 1218 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1219 localedir=$ac_optarg ;; 1220 1221 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1222 | --localstate | --localstat | --localsta | --localst | --locals) 1223 ac_prev=localstatedir ;; 1224 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1225 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1226 localstatedir=$ac_optarg ;; 1227 1228 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1229 ac_prev=mandir ;; 1230 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1231 mandir=$ac_optarg ;; 1232 1233 -nfp | --nfp | --nf) 1234 # Obsolete; use --without-fp. 1235 with_fp=no ;; 1236 1237 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1238 | --no-cr | --no-c | -n) 1239 no_create=yes ;; 1240 1241 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1242 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1243 no_recursion=yes ;; 1244 1245 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1246 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1247 | --oldin | --oldi | --old | --ol | --o) 1248 ac_prev=oldincludedir ;; 1249 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1250 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1251 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1252 oldincludedir=$ac_optarg ;; 1253 1254 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1255 ac_prev=prefix ;; 1256 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1257 prefix=$ac_optarg ;; 1258 1259 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1260 | --program-pre | --program-pr | --program-p) 1261 ac_prev=program_prefix ;; 1262 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1263 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1264 program_prefix=$ac_optarg ;; 1265 1266 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1267 | --program-suf | --program-su | --program-s) 1268 ac_prev=program_suffix ;; 1269 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1270 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1271 program_suffix=$ac_optarg ;; 1272 1273 -program-transform-name | --program-transform-name \ 1274 | --program-transform-nam | --program-transform-na \ 1275 | --program-transform-n | --program-transform- \ 1276 | --program-transform | --program-transfor \ 1277 | --program-transfo | --program-transf \ 1278 | --program-trans | --program-tran \ 1279 | --progr-tra | --program-tr | --program-t) 1280 ac_prev=program_transform_name ;; 1281 -program-transform-name=* | --program-transform-name=* \ 1282 | --program-transform-nam=* | --program-transform-na=* \ 1283 | --program-transform-n=* | --program-transform-=* \ 1284 | --program-transform=* | --program-transfor=* \ 1285 | --program-transfo=* | --program-transf=* \ 1286 | --program-trans=* | --program-tran=* \ 1287 | --progr-tra=* | --program-tr=* | --program-t=*) 1288 program_transform_name=$ac_optarg ;; 1289 1290 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1291 ac_prev=pdfdir ;; 1292 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1293 pdfdir=$ac_optarg ;; 1294 1295 -psdir | --psdir | --psdi | --psd | --ps) 1296 ac_prev=psdir ;; 1297 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1298 psdir=$ac_optarg ;; 1299 1300 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1301 | -silent | --silent | --silen | --sile | --sil) 1302 silent=yes ;; 1303 1304 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1305 ac_prev=sbindir ;; 1306 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1307 | --sbi=* | --sb=*) 1308 sbindir=$ac_optarg ;; 1309 1310 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1311 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1312 | --sharedst | --shareds | --shared | --share | --shar \ 1313 | --sha | --sh) 1314 ac_prev=sharedstatedir ;; 1315 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1316 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1317 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1318 | --sha=* | --sh=*) 1319 sharedstatedir=$ac_optarg ;; 1320 1321 -site | --site | --sit) 1322 ac_prev=site ;; 1323 -site=* | --site=* | --sit=*) 1324 site=$ac_optarg ;; 1325 1326 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1327 ac_prev=srcdir ;; 1328 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1329 srcdir=$ac_optarg ;; 1330 1331 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1332 | --syscon | --sysco | --sysc | --sys | --sy) 1333 ac_prev=sysconfdir ;; 1334 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1335 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1336 sysconfdir=$ac_optarg ;; 1337 1338 -target | --target | --targe | --targ | --tar | --ta | --t) 1339 ac_prev=target_alias ;; 1340 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1341 target_alias=$ac_optarg ;; 1342 1343 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1344 verbose=yes ;; 1345 1346 -version | --version | --versio | --versi | --vers | -V) 1347 ac_init_version=: ;; 1348 1349 -with-* | --with-*) 1350 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1351 # Reject names that are not valid shell variable names. 1352 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1353 as_fn_error $? "invalid package name: $ac_useropt" 1354 ac_useropt_orig=$ac_useropt 1355 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1356 case $ac_user_opts in 1357 *" 1358"with_$ac_useropt" 1359"*) ;; 1360 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1361 ac_unrecognized_sep=', ';; 1362 esac 1363 eval with_$ac_useropt=\$ac_optarg ;; 1364 1365 -without-* | --without-*) 1366 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1367 # Reject names that are not valid shell variable names. 1368 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1369 as_fn_error $? "invalid package name: $ac_useropt" 1370 ac_useropt_orig=$ac_useropt 1371 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1372 case $ac_user_opts in 1373 *" 1374"with_$ac_useropt" 1375"*) ;; 1376 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1377 ac_unrecognized_sep=', ';; 1378 esac 1379 eval with_$ac_useropt=no ;; 1380 1381 --x) 1382 # Obsolete; use --with-x. 1383 with_x=yes ;; 1384 1385 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1386 | --x-incl | --x-inc | --x-in | --x-i) 1387 ac_prev=x_includes ;; 1388 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1389 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1390 x_includes=$ac_optarg ;; 1391 1392 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1393 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1394 ac_prev=x_libraries ;; 1395 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1396 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1397 x_libraries=$ac_optarg ;; 1398 1399 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1400Try \`$0 --help' for more information" 1401 ;; 1402 1403 *=*) 1404 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1405 # Reject names that are not valid shell variable names. 1406 case $ac_envvar in #( 1407 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1408 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1409 esac 1410 eval $ac_envvar=\$ac_optarg 1411 export $ac_envvar ;; 1412 1413 *) 1414 # FIXME: should be removed in autoconf 3.0. 1415 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1416 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1417 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1418 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1419 ;; 1420 1421 esac 1422done 1423 1424if test -n "$ac_prev"; then 1425 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1426 as_fn_error $? "missing argument to $ac_option" 1427fi 1428 1429if test -n "$ac_unrecognized_opts"; then 1430 case $enable_option_checking in 1431 no) ;; 1432 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1433 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1434 esac 1435fi 1436 1437# Check all directory arguments for consistency. 1438for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1439 datadir sysconfdir sharedstatedir localstatedir includedir \ 1440 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1441 libdir localedir mandir 1442do 1443 eval ac_val=\$$ac_var 1444 # Remove trailing slashes. 1445 case $ac_val in 1446 */ ) 1447 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1448 eval $ac_var=\$ac_val;; 1449 esac 1450 # Be sure to have absolute directory names. 1451 case $ac_val in 1452 [\\/$]* | ?:[\\/]* ) continue;; 1453 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1454 esac 1455 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1456done 1457 1458# There might be people who depend on the old broken behavior: `$host' 1459# used to hold the argument of --host etc. 1460# FIXME: To remove some day. 1461build=$build_alias 1462host=$host_alias 1463target=$target_alias 1464 1465# FIXME: To remove some day. 1466if test "x$host_alias" != x; then 1467 if test "x$build_alias" = x; then 1468 cross_compiling=maybe 1469 elif test "x$build_alias" != "x$host_alias"; then 1470 cross_compiling=yes 1471 fi 1472fi 1473 1474ac_tool_prefix= 1475test -n "$host_alias" && ac_tool_prefix=$host_alias- 1476 1477test "$silent" = yes && exec 6>/dev/null 1478 1479 1480ac_pwd=`pwd` && test -n "$ac_pwd" && 1481ac_ls_di=`ls -di .` && 1482ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1483 as_fn_error $? "working directory cannot be determined" 1484test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1485 as_fn_error $? "pwd does not report name of working directory" 1486 1487 1488# Find the source files, if location was not specified. 1489if test -z "$srcdir"; then 1490 ac_srcdir_defaulted=yes 1491 # Try the directory containing this script, then the parent directory. 1492 ac_confdir=`$as_dirname -- "$as_myself" || 1493$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1494 X"$as_myself" : 'X\(//\)[^/]' \| \ 1495 X"$as_myself" : 'X\(//\)$' \| \ 1496 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1497$as_echo X"$as_myself" | 1498 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1499 s//\1/ 1500 q 1501 } 1502 /^X\(\/\/\)[^/].*/{ 1503 s//\1/ 1504 q 1505 } 1506 /^X\(\/\/\)$/{ 1507 s//\1/ 1508 q 1509 } 1510 /^X\(\/\).*/{ 1511 s//\1/ 1512 q 1513 } 1514 s/.*/./; q'` 1515 srcdir=$ac_confdir 1516 if test ! -r "$srcdir/$ac_unique_file"; then 1517 srcdir=.. 1518 fi 1519else 1520 ac_srcdir_defaulted=no 1521fi 1522if test ! -r "$srcdir/$ac_unique_file"; then 1523 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1524 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1525fi 1526ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1527ac_abs_confdir=`( 1528 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1529 pwd)` 1530# When building in place, set srcdir=. 1531if test "$ac_abs_confdir" = "$ac_pwd"; then 1532 srcdir=. 1533fi 1534# Remove unnecessary trailing slashes from srcdir. 1535# Double slashes in file names in object file debugging info 1536# mess up M-x gdb in Emacs. 1537case $srcdir in 1538*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1539esac 1540for ac_var in $ac_precious_vars; do 1541 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1542 eval ac_env_${ac_var}_value=\$${ac_var} 1543 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1544 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1545done 1546 1547# 1548# Report the --help message. 1549# 1550if test "$ac_init_help" = "long"; then 1551 # Omit some internal or obsolete options to make the list less imposing. 1552 # This message is too long to be a string in the A/UX 3.1 sh. 1553 cat <<_ACEOF 1554\`configure' configures GNU Midnight Commander 4.8.27-git to adapt to many kinds of systems. 1555 1556Usage: $0 [OPTION]... [VAR=VALUE]... 1557 1558To assign environment variables (e.g., CC, CFLAGS...), specify them as 1559VAR=VALUE. See below for descriptions of some of the useful variables. 1560 1561Defaults for the options are specified in brackets. 1562 1563Configuration: 1564 -h, --help display this help and exit 1565 --help=short display options specific to this package 1566 --help=recursive display the short help of all the included packages 1567 -V, --version display version information and exit 1568 -q, --quiet, --silent do not print \`checking ...' messages 1569 --cache-file=FILE cache test results in FILE [disabled] 1570 -C, --config-cache alias for \`--cache-file=config.cache' 1571 -n, --no-create do not create output files 1572 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1573 1574Installation directories: 1575 --prefix=PREFIX install architecture-independent files in PREFIX 1576 [$ac_default_prefix] 1577 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1578 [PREFIX] 1579 1580By default, \`make install' will install all the files in 1581\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1582an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1583for instance \`--prefix=\$HOME'. 1584 1585For better control, use the options below. 1586 1587Fine tuning of the installation directories: 1588 --bindir=DIR user executables [EPREFIX/bin] 1589 --sbindir=DIR system admin executables [EPREFIX/sbin] 1590 --libexecdir=DIR program executables [EPREFIX/libexec] 1591 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1592 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1593 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1594 --libdir=DIR object code libraries [EPREFIX/lib] 1595 --includedir=DIR C header files [PREFIX/include] 1596 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1597 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1598 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1599 --infodir=DIR info documentation [DATAROOTDIR/info] 1600 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1601 --mandir=DIR man documentation [DATAROOTDIR/man] 1602 --docdir=DIR documentation root [DATAROOTDIR/doc/mc] 1603 --htmldir=DIR html documentation [DOCDIR] 1604 --dvidir=DIR dvi documentation [DOCDIR] 1605 --pdfdir=DIR pdf documentation [DOCDIR] 1606 --psdir=DIR ps documentation [DOCDIR] 1607_ACEOF 1608 1609 cat <<\_ACEOF 1610 1611Program names: 1612 --program-prefix=PREFIX prepend PREFIX to installed program names 1613 --program-suffix=SUFFIX append SUFFIX to installed program names 1614 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1615 1616X features: 1617 --x-includes=DIR X include files are in DIR 1618 --x-libraries=DIR X library files are in DIR 1619 1620System types: 1621 --build=BUILD configure for building on BUILD [guessed] 1622 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1623_ACEOF 1624fi 1625 1626if test -n "$ac_init_help"; then 1627 case $ac_init_help in 1628 short | recursive ) echo "Configuration of GNU Midnight Commander 4.8.27-git:";; 1629 esac 1630 cat <<\_ACEOF 1631 1632Optional Features: 1633 --disable-option-checking ignore unrecognized --enable/--with options 1634 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1635 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1636 --enable-silent-rules less verbose build output (undo: "make V=1") 1637 --disable-silent-rules verbose build output (undo: "make V=0") 1638 --enable-maintainer-mode 1639 enable make rules and dependencies not useful (and 1640 sometimes confusing) to the casual installer 1641 --enable-dependency-tracking 1642 do not reject slow dependency extractors 1643 --disable-dependency-tracking 1644 speeds up one-time build 1645 --enable-werror Handle all compiler warnings as errors 1646 --enable-shared[=PKGS] build shared libraries [default=yes] 1647 --enable-static[=PKGS] build static libraries [default=yes] 1648 --enable-fast-install[=PKGS] 1649 optimize for fast installation [default=yes] 1650 --disable-libtool-lock avoid locking (might break parallel builds) 1651 --enable-tests Enable unit tests (see 1652 http://libcheck.github.io/check/) [auto] 1653 1654 --disable-largefile omit support for large files 1655 --disable-nls do not use Native Language Support 1656 --disable-rpath do not hardcode runtime library paths 1657 --enable-charset Support for charset selection and conversion [yes] 1658 --enable-mclib Compile shared library libmc.so [no] 1659 --enable-assert turn on assertions [yes] 1660 --enable-aspell Enable aspell support for internal editor [no] 1661 --enable-background Support for background file operations [yes] 1662 --disable-vfs Disable VFS 1663 --enable-vfs-cpio Support for cpio filesystem [yes] 1664 --enable-vfs-extfs Support for extfs filesystem [yes] 1665 --enable-vfs-fish Support for FISH filesystem [yes] 1666 --enable-vfs-ftp Support for FTP filesystem [yes] 1667 --enable-vfs-sfs Support for sfs filesystem [yes] 1668 --enable-vfs-sftp Support for SFTP filesystem [auto] 1669 --enable-vfs-smb Support for SMB filesystem [no] 1670 --enable-vfs-tar Support for tar filesystem [yes] 1671 --enable-vfs-undelfs Support for ext2 undelete filesystem [no] 1672 --disable-doxygen-doc don't generate any doxygen documentation 1673 --disable-doxygen-dot don't generate graphics for doxygen documentation 1674 --enable-doxygen-man generate doxygen manual pages 1675 --enable-doxygen-rtf generate doxygen RTF documentation 1676 --enable-doxygen-xml generate doxygen XML documentation 1677 --enable-doxygen-chm generate doxygen compressed HTML help documentation 1678 --enable-doxygen-chi generate doxygen separate compressed HTML help index 1679 file 1680 --disable-doxygen-html don't generate doxygen plain HTML documentation 1681 --enable-doxygen-ps generate doxygen PostScript documentation 1682 --enable-doxygen-pdf generate doxygen PDF documentation 1683 --enable-configure-args Handle all compiler warnings as errors 1684 1685Optional Packages: 1686 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1687 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1688 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1689 both] 1690 --with-aix-soname=aix|svr4|both 1691 shared library versioning (aka "SONAME") variant to 1692 provide on AIX, [default=aix]. 1693 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1694 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1695 compiler's sysroot if not specified). 1696 --with-glib-static Link glib statically [no] 1697 --with-screen=[LIB] Compile with screen library: slang or ncurses [slang 1698 if found] 1699 --with-ncurses-includes=[DIR] 1700 set path to ncurses includes [default=/usr/include]; 1701 make sense only if --with-screen=ncurses; for 1702 /usr/local/include/ncurses specify 1703 /usr/local/include 1704 --with-ncurses-libs=[DIR] 1705 set path to ncurses library [default=/usr/lib]; make 1706 sense only if --with-screen=ncurses 1707 --with-search-engine=type 1708 Select low-level search engine (since glib >= 2.14) 1709 [glib|pcre] 1710 1711 --with-pcre[=prefix] Compile pcre part (via libpcre check) 1712 --with-x use the X Window System 1713 --with-mmap Use the mmap call [yes if found] 1714 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1715 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib 1716 --without-libiconv-prefix don't search for libiconv in includedir and libdir 1717 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib 1718 --without-libintl-prefix don't search for libintl in includedir and libdir 1719 --with-gpm-mouse Compile with gpm mouse support (Linux only) [yes if 1720 found] 1721 --with-internal-edit Enable internal editor [yes] 1722 --with-diff-viewer Compile with diff viewer [yes] 1723 --with-subshell Compile in concurrent subshell [yes] 1724 --with-subshell=optional Don't run concurrent shell by default [no] 1725 --with-smb-configdir=DIR Where to put configuration files 1726 --with-smb-codepagedir=DIR Where to put codepage files 1727 1728Some influential environment variables: 1729 CC C compiler command 1730 CFLAGS C compiler flags 1731 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1732 nonstandard directory <lib dir> 1733 LIBS libraries to pass to the linker, e.g. -l<library> 1734 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1735 you have headers in a nonstandard directory <include dir> 1736 CPP C preprocessor 1737 LT_SYS_LIBRARY_PATH 1738 User-defined run-time library search path. 1739 PKG_CONFIG path to pkg-config utility 1740 PKG_CONFIG_PATH 1741 directories to add to pkg-config's search path 1742 PKG_CONFIG_LIBDIR 1743 path overriding pkg-config's built-in search path 1744 CHECK_CFLAGS 1745 C compiler flags for CHECK, overriding pkg-config 1746 CHECK_LIBS linker flags for CHECK, overriding pkg-config 1747 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config 1748 GLIB_LIBS linker flags for GLIB, overriding pkg-config 1749 GMODULE_CFLAGS 1750 C compiler flags for GMODULE, overriding pkg-config 1751 GMODULE_LIBS 1752 linker flags for GMODULE, overriding pkg-config 1753 SLANG_CFLAGS 1754 C compiler flags for SLANG, overriding pkg-config 1755 SLANG_LIBS linker flags for SLANG, overriding pkg-config 1756 XMKMF Path to xmkmf, Makefile generator for X Window System 1757 EXT2FS_CFLAGS 1758 C compiler flags for EXT2FS, overriding pkg-config 1759 EXT2FS_LIBS linker flags for EXT2FS, overriding pkg-config 1760 E2P_CFLAGS C compiler flags for E2P, overriding pkg-config 1761 E2P_LIBS linker flags for E2P, overriding pkg-config 1762 LIBSSH_CFLAGS 1763 C compiler flags for LIBSSH, overriding pkg-config 1764 LIBSSH_LIBS linker flags for LIBSSH, overriding pkg-config 1765 COM_ERR_CFLAGS 1766 C compiler flags for COM_ERR, overriding pkg-config 1767 COM_ERR_LIBS 1768 linker flags for COM_ERR, overriding pkg-config 1769 DOXYGEN_PAPER_SIZE 1770 a4wide (default), a4, letter, legal or executive 1771 1772Use these variables to override the choices made by `configure' or to help 1773it to find libraries and programs with nonstandard names/locations. 1774 1775Report bugs to <https://www.midnight-commander.org/wiki/NewTicket>. 1776GNU Midnight Commander home page: <https://www.midnight-commander.org/>. 1777General help using GNU software: <http://www.gnu.org/gethelp/>. 1778_ACEOF 1779ac_status=$? 1780fi 1781 1782if test "$ac_init_help" = "recursive"; then 1783 # If there are subdirs, report their specific --help. 1784 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1785 test -d "$ac_dir" || 1786 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1787 continue 1788 ac_builddir=. 1789 1790case "$ac_dir" in 1791.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1792*) 1793 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1794 # A ".." for each directory in $ac_dir_suffix. 1795 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1796 case $ac_top_builddir_sub in 1797 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1798 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1799 esac ;; 1800esac 1801ac_abs_top_builddir=$ac_pwd 1802ac_abs_builddir=$ac_pwd$ac_dir_suffix 1803# for backward compatibility: 1804ac_top_builddir=$ac_top_build_prefix 1805 1806case $srcdir in 1807 .) # We are building in place. 1808 ac_srcdir=. 1809 ac_top_srcdir=$ac_top_builddir_sub 1810 ac_abs_top_srcdir=$ac_pwd ;; 1811 [\\/]* | ?:[\\/]* ) # Absolute name. 1812 ac_srcdir=$srcdir$ac_dir_suffix; 1813 ac_top_srcdir=$srcdir 1814 ac_abs_top_srcdir=$srcdir ;; 1815 *) # Relative name. 1816 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1817 ac_top_srcdir=$ac_top_build_prefix$srcdir 1818 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1819esac 1820ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1821 1822 cd "$ac_dir" || { ac_status=$?; continue; } 1823 # Check for guested configure. 1824 if test -f "$ac_srcdir/configure.gnu"; then 1825 echo && 1826 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1827 elif test -f "$ac_srcdir/configure"; then 1828 echo && 1829 $SHELL "$ac_srcdir/configure" --help=recursive 1830 else 1831 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1832 fi || ac_status=$? 1833 cd "$ac_pwd" || { ac_status=$?; break; } 1834 done 1835fi 1836 1837test -n "$ac_init_help" && exit $ac_status 1838if $ac_init_version; then 1839 cat <<\_ACEOF 1840GNU Midnight Commander configure 4.8.27-git 1841generated by GNU Autoconf 2.69 1842 1843Copyright (C) 2012 Free Software Foundation, Inc. 1844This configure script is free software; the Free Software Foundation 1845gives unlimited permission to copy, distribute and modify it. 1846_ACEOF 1847 exit 1848fi 1849 1850## ------------------------ ## 1851## Autoconf initialization. ## 1852## ------------------------ ## 1853 1854# ac_fn_c_try_compile LINENO 1855# -------------------------- 1856# Try to compile conftest.$ac_ext, and return whether this succeeded. 1857ac_fn_c_try_compile () 1858{ 1859 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1860 rm -f conftest.$ac_objext 1861 if { { ac_try="$ac_compile" 1862case "(($ac_try" in 1863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1864 *) ac_try_echo=$ac_try;; 1865esac 1866eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1867$as_echo "$ac_try_echo"; } >&5 1868 (eval "$ac_compile") 2>conftest.err 1869 ac_status=$? 1870 if test -s conftest.err; then 1871 grep -v '^ *+' conftest.err >conftest.er1 1872 cat conftest.er1 >&5 1873 mv -f conftest.er1 conftest.err 1874 fi 1875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1876 test $ac_status = 0; } && { 1877 test -z "$ac_c_werror_flag" || 1878 test ! -s conftest.err 1879 } && test -s conftest.$ac_objext; then : 1880 ac_retval=0 1881else 1882 $as_echo "$as_me: failed program was:" >&5 1883sed 's/^/| /' conftest.$ac_ext >&5 1884 1885 ac_retval=1 1886fi 1887 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1888 as_fn_set_status $ac_retval 1889 1890} # ac_fn_c_try_compile 1891 1892# ac_fn_c_try_cpp LINENO 1893# ---------------------- 1894# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1895ac_fn_c_try_cpp () 1896{ 1897 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1898 if { { ac_try="$ac_cpp conftest.$ac_ext" 1899case "(($ac_try" in 1900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1901 *) ac_try_echo=$ac_try;; 1902esac 1903eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1904$as_echo "$ac_try_echo"; } >&5 1905 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1906 ac_status=$? 1907 if test -s conftest.err; then 1908 grep -v '^ *+' conftest.err >conftest.er1 1909 cat conftest.er1 >&5 1910 mv -f conftest.er1 conftest.err 1911 fi 1912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1913 test $ac_status = 0; } > conftest.i && { 1914 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1915 test ! -s conftest.err 1916 }; then : 1917 ac_retval=0 1918else 1919 $as_echo "$as_me: failed program was:" >&5 1920sed 's/^/| /' conftest.$ac_ext >&5 1921 1922 ac_retval=1 1923fi 1924 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1925 as_fn_set_status $ac_retval 1926 1927} # ac_fn_c_try_cpp 1928 1929# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1930# ------------------------------------------------------- 1931# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1932# the include files in INCLUDES and setting the cache variable VAR 1933# accordingly. 1934ac_fn_c_check_header_mongrel () 1935{ 1936 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1937 if eval \${$3+:} false; then : 1938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1939$as_echo_n "checking for $2... " >&6; } 1940if eval \${$3+:} false; then : 1941 $as_echo_n "(cached) " >&6 1942fi 1943eval ac_res=\$$3 1944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1945$as_echo "$ac_res" >&6; } 1946else 1947 # Is the header compilable? 1948{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1949$as_echo_n "checking $2 usability... " >&6; } 1950cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1951/* end confdefs.h. */ 1952$4 1953#include <$2> 1954_ACEOF 1955if ac_fn_c_try_compile "$LINENO"; then : 1956 ac_header_compiler=yes 1957else 1958 ac_header_compiler=no 1959fi 1960rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1961{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1962$as_echo "$ac_header_compiler" >&6; } 1963 1964# Is the header present? 1965{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1966$as_echo_n "checking $2 presence... " >&6; } 1967cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1968/* end confdefs.h. */ 1969#include <$2> 1970_ACEOF 1971if ac_fn_c_try_cpp "$LINENO"; then : 1972 ac_header_preproc=yes 1973else 1974 ac_header_preproc=no 1975fi 1976rm -f conftest.err conftest.i conftest.$ac_ext 1977{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1978$as_echo "$ac_header_preproc" >&6; } 1979 1980# So? What about this header? 1981case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1982 yes:no: ) 1983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1984$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1986$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1987 ;; 1988 no:yes:* ) 1989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1990$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1992$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1994$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1996$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1998$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1999( $as_echo "## ---------------------------------------------------------------- ## 2000## Report this to https://www.midnight-commander.org/wiki/NewTicket ## 2001## ---------------------------------------------------------------- ##" 2002 ) | sed "s/^/$as_me: WARNING: /" >&2 2003 ;; 2004esac 2005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2006$as_echo_n "checking for $2... " >&6; } 2007if eval \${$3+:} false; then : 2008 $as_echo_n "(cached) " >&6 2009else 2010 eval "$3=\$ac_header_compiler" 2011fi 2012eval ac_res=\$$3 2013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2014$as_echo "$ac_res" >&6; } 2015fi 2016 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2017 2018} # ac_fn_c_check_header_mongrel 2019 2020# ac_fn_c_try_run LINENO 2021# ---------------------- 2022# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2023# that executables *can* be run. 2024ac_fn_c_try_run () 2025{ 2026 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2027 if { { ac_try="$ac_link" 2028case "(($ac_try" in 2029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2030 *) ac_try_echo=$ac_try;; 2031esac 2032eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2033$as_echo "$ac_try_echo"; } >&5 2034 (eval "$ac_link") 2>&5 2035 ac_status=$? 2036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2037 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2038 { { case "(($ac_try" in 2039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2040 *) ac_try_echo=$ac_try;; 2041esac 2042eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2043$as_echo "$ac_try_echo"; } >&5 2044 (eval "$ac_try") 2>&5 2045 ac_status=$? 2046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2047 test $ac_status = 0; }; }; then : 2048 ac_retval=0 2049else 2050 $as_echo "$as_me: program exited with status $ac_status" >&5 2051 $as_echo "$as_me: failed program was:" >&5 2052sed 's/^/| /' conftest.$ac_ext >&5 2053 2054 ac_retval=$ac_status 2055fi 2056 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2057 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2058 as_fn_set_status $ac_retval 2059 2060} # ac_fn_c_try_run 2061 2062# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 2063# ------------------------------------------------------- 2064# Tests whether HEADER exists and can be compiled using the include files in 2065# INCLUDES, setting the cache variable VAR accordingly. 2066ac_fn_c_check_header_compile () 2067{ 2068 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2070$as_echo_n "checking for $2... " >&6; } 2071if eval \${$3+:} false; then : 2072 $as_echo_n "(cached) " >&6 2073else 2074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2075/* end confdefs.h. */ 2076$4 2077#include <$2> 2078_ACEOF 2079if ac_fn_c_try_compile "$LINENO"; then : 2080 eval "$3=yes" 2081else 2082 eval "$3=no" 2083fi 2084rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2085fi 2086eval ac_res=\$$3 2087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2088$as_echo "$ac_res" >&6; } 2089 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2090 2091} # ac_fn_c_check_header_compile 2092 2093# ac_fn_c_try_link LINENO 2094# ----------------------- 2095# Try to link conftest.$ac_ext, and return whether this succeeded. 2096ac_fn_c_try_link () 2097{ 2098 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2099 rm -f conftest.$ac_objext conftest$ac_exeext 2100 if { { ac_try="$ac_link" 2101case "(($ac_try" in 2102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2103 *) ac_try_echo=$ac_try;; 2104esac 2105eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2106$as_echo "$ac_try_echo"; } >&5 2107 (eval "$ac_link") 2>conftest.err 2108 ac_status=$? 2109 if test -s conftest.err; then 2110 grep -v '^ *+' conftest.err >conftest.er1 2111 cat conftest.er1 >&5 2112 mv -f conftest.er1 conftest.err 2113 fi 2114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2115 test $ac_status = 0; } && { 2116 test -z "$ac_c_werror_flag" || 2117 test ! -s conftest.err 2118 } && test -s conftest$ac_exeext && { 2119 test "$cross_compiling" = yes || 2120 test -x conftest$ac_exeext 2121 }; then : 2122 ac_retval=0 2123else 2124 $as_echo "$as_me: failed program was:" >&5 2125sed 's/^/| /' conftest.$ac_ext >&5 2126 2127 ac_retval=1 2128fi 2129 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2130 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2131 # interfere with the next link command; also delete a directory that is 2132 # left behind by Apple's compiler. We do this before executing the actions. 2133 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2134 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2135 as_fn_set_status $ac_retval 2136 2137} # ac_fn_c_try_link 2138 2139# ac_fn_c_check_func LINENO FUNC VAR 2140# ---------------------------------- 2141# Tests whether FUNC exists, setting the cache variable VAR accordingly 2142ac_fn_c_check_func () 2143{ 2144 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2146$as_echo_n "checking for $2... " >&6; } 2147if eval \${$3+:} false; then : 2148 $as_echo_n "(cached) " >&6 2149else 2150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2151/* end confdefs.h. */ 2152/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2153 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2154#define $2 innocuous_$2 2155 2156/* System header to define __stub macros and hopefully few prototypes, 2157 which can conflict with char $2 (); below. 2158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2159 <limits.h> exists even on freestanding compilers. */ 2160 2161#ifdef __STDC__ 2162# include <limits.h> 2163#else 2164# include <assert.h> 2165#endif 2166 2167#undef $2 2168 2169/* Override any GCC internal prototype to avoid an error. 2170 Use char because int might match the return type of a GCC 2171 builtin and then its argument prototype would still apply. */ 2172#ifdef __cplusplus 2173extern "C" 2174#endif 2175char $2 (); 2176/* The GNU C library defines this for functions which it implements 2177 to always fail with ENOSYS. Some functions are actually named 2178 something starting with __ and the normal name is an alias. */ 2179#if defined __stub_$2 || defined __stub___$2 2180choke me 2181#endif 2182 2183int 2184main () 2185{ 2186return $2 (); 2187 ; 2188 return 0; 2189} 2190_ACEOF 2191if ac_fn_c_try_link "$LINENO"; then : 2192 eval "$3=yes" 2193else 2194 eval "$3=no" 2195fi 2196rm -f core conftest.err conftest.$ac_objext \ 2197 conftest$ac_exeext conftest.$ac_ext 2198fi 2199eval ac_res=\$$3 2200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2201$as_echo "$ac_res" >&6; } 2202 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2203 2204} # ac_fn_c_check_func 2205 2206# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2207# ------------------------------------------- 2208# Tests whether TYPE exists after having included INCLUDES, setting cache 2209# variable VAR accordingly. 2210ac_fn_c_check_type () 2211{ 2212 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2214$as_echo_n "checking for $2... " >&6; } 2215if eval \${$3+:} false; then : 2216 $as_echo_n "(cached) " >&6 2217else 2218 eval "$3=no" 2219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2220/* end confdefs.h. */ 2221$4 2222int 2223main () 2224{ 2225if (sizeof ($2)) 2226 return 0; 2227 ; 2228 return 0; 2229} 2230_ACEOF 2231if ac_fn_c_try_compile "$LINENO"; then : 2232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2233/* end confdefs.h. */ 2234$4 2235int 2236main () 2237{ 2238if (sizeof (($2))) 2239 return 0; 2240 ; 2241 return 0; 2242} 2243_ACEOF 2244if ac_fn_c_try_compile "$LINENO"; then : 2245 2246else 2247 eval "$3=yes" 2248fi 2249rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2250fi 2251rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2252fi 2253eval ac_res=\$$3 2254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2255$as_echo "$ac_res" >&6; } 2256 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2257 2258} # ac_fn_c_check_type 2259 2260# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 2261# -------------------------------------------- 2262# Tries to find the compile-time value of EXPR in a program that includes 2263# INCLUDES, setting VAR accordingly. Returns whether the value could be 2264# computed 2265ac_fn_c_compute_int () 2266{ 2267 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2268 if test "$cross_compiling" = yes; then 2269 # Depending upon the size, compute the lo and hi bounds. 2270cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2271/* end confdefs.h. */ 2272$4 2273int 2274main () 2275{ 2276static int test_array [1 - 2 * !(($2) >= 0)]; 2277test_array [0] = 0; 2278return test_array [0]; 2279 2280 ; 2281 return 0; 2282} 2283_ACEOF 2284if ac_fn_c_try_compile "$LINENO"; then : 2285 ac_lo=0 ac_mid=0 2286 while :; do 2287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2288/* end confdefs.h. */ 2289$4 2290int 2291main () 2292{ 2293static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2294test_array [0] = 0; 2295return test_array [0]; 2296 2297 ; 2298 return 0; 2299} 2300_ACEOF 2301if ac_fn_c_try_compile "$LINENO"; then : 2302 ac_hi=$ac_mid; break 2303else 2304 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2305 if test $ac_lo -le $ac_mid; then 2306 ac_lo= ac_hi= 2307 break 2308 fi 2309 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2310fi 2311rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2312 done 2313else 2314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2315/* end confdefs.h. */ 2316$4 2317int 2318main () 2319{ 2320static int test_array [1 - 2 * !(($2) < 0)]; 2321test_array [0] = 0; 2322return test_array [0]; 2323 2324 ; 2325 return 0; 2326} 2327_ACEOF 2328if ac_fn_c_try_compile "$LINENO"; then : 2329 ac_hi=-1 ac_mid=-1 2330 while :; do 2331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2332/* end confdefs.h. */ 2333$4 2334int 2335main () 2336{ 2337static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2338test_array [0] = 0; 2339return test_array [0]; 2340 2341 ; 2342 return 0; 2343} 2344_ACEOF 2345if ac_fn_c_try_compile "$LINENO"; then : 2346 ac_lo=$ac_mid; break 2347else 2348 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2349 if test $ac_mid -le $ac_hi; then 2350 ac_lo= ac_hi= 2351 break 2352 fi 2353 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2354fi 2355rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2356 done 2357else 2358 ac_lo= ac_hi= 2359fi 2360rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2361fi 2362rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2363# Binary search between lo and hi bounds. 2364while test "x$ac_lo" != "x$ac_hi"; do 2365 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2367/* end confdefs.h. */ 2368$4 2369int 2370main () 2371{ 2372static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2373test_array [0] = 0; 2374return test_array [0]; 2375 2376 ; 2377 return 0; 2378} 2379_ACEOF 2380if ac_fn_c_try_compile "$LINENO"; then : 2381 ac_hi=$ac_mid 2382else 2383 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2384fi 2385rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2386done 2387case $ac_lo in #(( 2388?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2389'') ac_retval=1 ;; 2390esac 2391 else 2392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2393/* end confdefs.h. */ 2394$4 2395static long int longval () { return $2; } 2396static unsigned long int ulongval () { return $2; } 2397#include <stdio.h> 2398#include <stdlib.h> 2399int 2400main () 2401{ 2402 2403 FILE *f = fopen ("conftest.val", "w"); 2404 if (! f) 2405 return 1; 2406 if (($2) < 0) 2407 { 2408 long int i = longval (); 2409 if (i != ($2)) 2410 return 1; 2411 fprintf (f, "%ld", i); 2412 } 2413 else 2414 { 2415 unsigned long int i = ulongval (); 2416 if (i != ($2)) 2417 return 1; 2418 fprintf (f, "%lu", i); 2419 } 2420 /* Do not output a trailing newline, as this causes \r\n confusion 2421 on some platforms. */ 2422 return ferror (f) || fclose (f) != 0; 2423 2424 ; 2425 return 0; 2426} 2427_ACEOF 2428if ac_fn_c_try_run "$LINENO"; then : 2429 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2430else 2431 ac_retval=1 2432fi 2433rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2434 conftest.$ac_objext conftest.beam conftest.$ac_ext 2435rm -f conftest.val 2436 2437 fi 2438 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2439 as_fn_set_status $ac_retval 2440 2441} # ac_fn_c_compute_int 2442 2443# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES 2444# ---------------------------------------------------- 2445# Tries to find if the field MEMBER exists in type AGGR, after including 2446# INCLUDES, setting cache variable VAR accordingly. 2447ac_fn_c_check_member () 2448{ 2449 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 2451$as_echo_n "checking for $2.$3... " >&6; } 2452if eval \${$4+:} false; then : 2453 $as_echo_n "(cached) " >&6 2454else 2455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2456/* end confdefs.h. */ 2457$5 2458int 2459main () 2460{ 2461static $2 ac_aggr; 2462if (ac_aggr.$3) 2463return 0; 2464 ; 2465 return 0; 2466} 2467_ACEOF 2468if ac_fn_c_try_compile "$LINENO"; then : 2469 eval "$4=yes" 2470else 2471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2472/* end confdefs.h. */ 2473$5 2474int 2475main () 2476{ 2477static $2 ac_aggr; 2478if (sizeof ac_aggr.$3) 2479return 0; 2480 ; 2481 return 0; 2482} 2483_ACEOF 2484if ac_fn_c_try_compile "$LINENO"; then : 2485 eval "$4=yes" 2486else 2487 eval "$4=no" 2488fi 2489rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2490fi 2491rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2492fi 2493eval ac_res=\$$4 2494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2495$as_echo "$ac_res" >&6; } 2496 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2497 2498} # ac_fn_c_check_member 2499cat >config.log <<_ACEOF 2500This file contains any messages produced by compilers while 2501running configure, to aid debugging if configure makes a mistake. 2502 2503It was created by GNU Midnight Commander $as_me 4.8.27-git, which was 2504generated by GNU Autoconf 2.69. Invocation command line was 2505 2506 $ $0 $@ 2507 2508_ACEOF 2509exec 5>>config.log 2510{ 2511cat <<_ASUNAME 2512## --------- ## 2513## Platform. ## 2514## --------- ## 2515 2516hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2517uname -m = `(uname -m) 2>/dev/null || echo unknown` 2518uname -r = `(uname -r) 2>/dev/null || echo unknown` 2519uname -s = `(uname -s) 2>/dev/null || echo unknown` 2520uname -v = `(uname -v) 2>/dev/null || echo unknown` 2521 2522/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2523/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2524 2525/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2526/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2527/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2528/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2529/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2530/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2531/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2532 2533_ASUNAME 2534 2535as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2536for as_dir in $PATH 2537do 2538 IFS=$as_save_IFS 2539 test -z "$as_dir" && as_dir=. 2540 $as_echo "PATH: $as_dir" 2541 done 2542IFS=$as_save_IFS 2543 2544} >&5 2545 2546cat >&5 <<_ACEOF 2547 2548 2549## ----------- ## 2550## Core tests. ## 2551## ----------- ## 2552 2553_ACEOF 2554 2555 2556# Keep a trace of the command line. 2557# Strip out --no-create and --no-recursion so they do not pile up. 2558# Strip out --silent because we don't want to record it for future runs. 2559# Also quote any args containing shell meta-characters. 2560# Make two passes to allow for proper duplicate-argument suppression. 2561ac_configure_args= 2562ac_configure_args0= 2563ac_configure_args1= 2564ac_must_keep_next=false 2565for ac_pass in 1 2 2566do 2567 for ac_arg 2568 do 2569 case $ac_arg in 2570 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2571 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2572 | -silent | --silent | --silen | --sile | --sil) 2573 continue ;; 2574 *\'*) 2575 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2576 esac 2577 case $ac_pass in 2578 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2579 2) 2580 as_fn_append ac_configure_args1 " '$ac_arg'" 2581 if test $ac_must_keep_next = true; then 2582 ac_must_keep_next=false # Got value, back to normal. 2583 else 2584 case $ac_arg in 2585 *=* | --config-cache | -C | -disable-* | --disable-* \ 2586 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2587 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2588 | -with-* | --with-* | -without-* | --without-* | --x) 2589 case "$ac_configure_args0 " in 2590 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2591 esac 2592 ;; 2593 -* ) ac_must_keep_next=true ;; 2594 esac 2595 fi 2596 as_fn_append ac_configure_args " '$ac_arg'" 2597 ;; 2598 esac 2599 done 2600done 2601{ ac_configure_args0=; unset ac_configure_args0;} 2602{ ac_configure_args1=; unset ac_configure_args1;} 2603 2604# When interrupted or exit'd, cleanup temporary files, and complete 2605# config.log. We remove comments because anyway the quotes in there 2606# would cause problems or look ugly. 2607# WARNING: Use '\'' to represent an apostrophe within the trap. 2608# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2609trap 'exit_status=$? 2610 # Save into config.log some information that might help in debugging. 2611 { 2612 echo 2613 2614 $as_echo "## ---------------- ## 2615## Cache variables. ## 2616## ---------------- ##" 2617 echo 2618 # The following way of writing the cache mishandles newlines in values, 2619( 2620 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2621 eval ac_val=\$$ac_var 2622 case $ac_val in #( 2623 *${as_nl}*) 2624 case $ac_var in #( 2625 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2626$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2627 esac 2628 case $ac_var in #( 2629 _ | IFS | as_nl) ;; #( 2630 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2631 *) { eval $ac_var=; unset $ac_var;} ;; 2632 esac ;; 2633 esac 2634 done 2635 (set) 2>&1 | 2636 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2637 *${as_nl}ac_space=\ *) 2638 sed -n \ 2639 "s/'\''/'\''\\\\'\'''\''/g; 2640 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2641 ;; #( 2642 *) 2643 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2644 ;; 2645 esac | 2646 sort 2647) 2648 echo 2649 2650 $as_echo "## ----------------- ## 2651## Output variables. ## 2652## ----------------- ##" 2653 echo 2654 for ac_var in $ac_subst_vars 2655 do 2656 eval ac_val=\$$ac_var 2657 case $ac_val in 2658 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2659 esac 2660 $as_echo "$ac_var='\''$ac_val'\''" 2661 done | sort 2662 echo 2663 2664 if test -n "$ac_subst_files"; then 2665 $as_echo "## ------------------- ## 2666## File substitutions. ## 2667## ------------------- ##" 2668 echo 2669 for ac_var in $ac_subst_files 2670 do 2671 eval ac_val=\$$ac_var 2672 case $ac_val in 2673 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2674 esac 2675 $as_echo "$ac_var='\''$ac_val'\''" 2676 done | sort 2677 echo 2678 fi 2679 2680 if test -s confdefs.h; then 2681 $as_echo "## ----------- ## 2682## confdefs.h. ## 2683## ----------- ##" 2684 echo 2685 cat confdefs.h 2686 echo 2687 fi 2688 test "$ac_signal" != 0 && 2689 $as_echo "$as_me: caught signal $ac_signal" 2690 $as_echo "$as_me: exit $exit_status" 2691 } >&5 2692 rm -f core *.core core.conftest.* && 2693 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2694 exit $exit_status 2695' 0 2696for ac_signal in 1 2 13 15; do 2697 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2698done 2699ac_signal=0 2700 2701# confdefs.h avoids OS command line length limits that DEFS can exceed. 2702rm -f -r conftest* confdefs.h 2703 2704$as_echo "/* confdefs.h */" > confdefs.h 2705 2706# Predefined preprocessor variables. 2707 2708cat >>confdefs.h <<_ACEOF 2709#define PACKAGE_NAME "$PACKAGE_NAME" 2710_ACEOF 2711 2712cat >>confdefs.h <<_ACEOF 2713#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2714_ACEOF 2715 2716cat >>confdefs.h <<_ACEOF 2717#define PACKAGE_VERSION "$PACKAGE_VERSION" 2718_ACEOF 2719 2720cat >>confdefs.h <<_ACEOF 2721#define PACKAGE_STRING "$PACKAGE_STRING" 2722_ACEOF 2723 2724cat >>confdefs.h <<_ACEOF 2725#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2726_ACEOF 2727 2728cat >>confdefs.h <<_ACEOF 2729#define PACKAGE_URL "$PACKAGE_URL" 2730_ACEOF 2731 2732 2733# Let the site file select an alternate cache file if it wants to. 2734# Prefer an explicitly selected file to automatically selected ones. 2735ac_site_file1=NONE 2736ac_site_file2=NONE 2737if test -n "$CONFIG_SITE"; then 2738 # We do not want a PATH search for config.site. 2739 case $CONFIG_SITE in #(( 2740 -*) ac_site_file1=./$CONFIG_SITE;; 2741 */*) ac_site_file1=$CONFIG_SITE;; 2742 *) ac_site_file1=./$CONFIG_SITE;; 2743 esac 2744elif test "x$prefix" != xNONE; then 2745 ac_site_file1=$prefix/share/config.site 2746 ac_site_file2=$prefix/etc/config.site 2747else 2748 ac_site_file1=$ac_default_prefix/share/config.site 2749 ac_site_file2=$ac_default_prefix/etc/config.site 2750fi 2751for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2752do 2753 test "x$ac_site_file" = xNONE && continue 2754 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2755 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2756$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2757 sed 's/^/| /' "$ac_site_file" >&5 2758 . "$ac_site_file" \ 2759 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2760$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2761as_fn_error $? "failed to load site script $ac_site_file 2762See \`config.log' for more details" "$LINENO" 5; } 2763 fi 2764done 2765 2766if test -r "$cache_file"; then 2767 # Some versions of bash will fail to source /dev/null (special files 2768 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2769 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2770 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2771$as_echo "$as_me: loading cache $cache_file" >&6;} 2772 case $cache_file in 2773 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2774 *) . "./$cache_file";; 2775 esac 2776 fi 2777else 2778 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2779$as_echo "$as_me: creating cache $cache_file" >&6;} 2780 >$cache_file 2781fi 2782 2783as_fn_append ac_header_list " sys/types.h" 2784as_fn_append ac_header_list " sys/param.h" 2785as_fn_append ac_header_list " stdlib.h" 2786as_fn_append ac_header_list " unistd.h" 2787as_fn_append ac_header_list " sys/statvfs.h" 2788as_fn_append ac_header_list " sys/vfs.h" 2789as_fn_append ac_header_list " sys/fs_types.h" 2790as_fn_append ac_header_list " OS.h" 2791as_fn_append ac_header_list " netinet/in.h" 2792gt_needs="$gt_needs need-ngettext" 2793# Check that the precious variables saved in the cache have kept the same 2794# value. 2795ac_cache_corrupted=false 2796for ac_var in $ac_precious_vars; do 2797 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2798 eval ac_new_set=\$ac_env_${ac_var}_set 2799 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2800 eval ac_new_val=\$ac_env_${ac_var}_value 2801 case $ac_old_set,$ac_new_set in 2802 set,) 2803 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2804$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2805 ac_cache_corrupted=: ;; 2806 ,set) 2807 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2808$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2809 ac_cache_corrupted=: ;; 2810 ,);; 2811 *) 2812 if test "x$ac_old_val" != "x$ac_new_val"; then 2813 # differences in whitespace do not lead to failure. 2814 ac_old_val_w=`echo x $ac_old_val` 2815 ac_new_val_w=`echo x $ac_new_val` 2816 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2817 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2818$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2819 ac_cache_corrupted=: 2820 else 2821 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2822$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2823 eval $ac_var=\$ac_old_val 2824 fi 2825 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2826$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2827 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2828$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2829 fi;; 2830 esac 2831 # Pass precious variables to config.status. 2832 if test "$ac_new_set" = set; then 2833 case $ac_new_val in 2834 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2835 *) ac_arg=$ac_var=$ac_new_val ;; 2836 esac 2837 case " $ac_configure_args " in 2838 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2839 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2840 esac 2841 fi 2842done 2843if $ac_cache_corrupted; then 2844 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2845$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2846 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2847$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2848 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2849fi 2850## -------------------- ## 2851## Main body of script. ## 2852## -------------------- ## 2853 2854ac_ext=c 2855ac_cpp='$CPP $CPPFLAGS' 2856ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2857ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2858ac_compiler_gnu=$ac_cv_c_compiler_gnu 2859 2860 2861 2862 2863 2864ac_aux_dir= 2865for ac_dir in config "$srcdir"/config; do 2866 if test -f "$ac_dir/install-sh"; then 2867 ac_aux_dir=$ac_dir 2868 ac_install_sh="$ac_aux_dir/install-sh -c" 2869 break 2870 elif test -f "$ac_dir/install.sh"; then 2871 ac_aux_dir=$ac_dir 2872 ac_install_sh="$ac_aux_dir/install.sh -c" 2873 break 2874 elif test -f "$ac_dir/shtool"; then 2875 ac_aux_dir=$ac_dir 2876 ac_install_sh="$ac_aux_dir/shtool install -c" 2877 break 2878 fi 2879done 2880if test -z "$ac_aux_dir"; then 2881 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5 2882fi 2883 2884# These three variables are undocumented and unsupported, 2885# and are intended to be withdrawn in a future Autoconf release. 2886# They can cause serious problems if a builder's source tree is in a directory 2887# whose full name contains unusual characters. 2888ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2889ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2890ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2891 2892 2893 2894ac_config_headers="$ac_config_headers config.h" 2895 2896 2897am__api_version='1.16' 2898 2899# Find a good install program. We prefer a C program (faster), 2900# so one script is as good as another. But avoid the broken or 2901# incompatible versions: 2902# SysV /etc/install, /usr/sbin/install 2903# SunOS /usr/etc/install 2904# IRIX /sbin/install 2905# AIX /bin/install 2906# AmigaOS /C/install, which installs bootblocks on floppy discs 2907# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2908# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2909# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2910# OS/2's system install, which has a completely different semantic 2911# ./install, which can be erroneously created by make from ./install.sh. 2912# Reject install programs that cannot install multiple files. 2913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2914$as_echo_n "checking for a BSD-compatible install... " >&6; } 2915if test -z "$INSTALL"; then 2916if ${ac_cv_path_install+:} false; then : 2917 $as_echo_n "(cached) " >&6 2918else 2919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2920for as_dir in $PATH 2921do 2922 IFS=$as_save_IFS 2923 test -z "$as_dir" && as_dir=. 2924 # Account for people who put trailing slashes in PATH elements. 2925case $as_dir/ in #(( 2926 ./ | .// | /[cC]/* | \ 2927 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2928 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2929 /usr/ucb/* ) ;; 2930 *) 2931 # OSF1 and SCO ODT 3.0 have their own names for install. 2932 # Don't use installbsd from OSF since it installs stuff as root 2933 # by default. 2934 for ac_prog in ginstall scoinst install; do 2935 for ac_exec_ext in '' $ac_executable_extensions; do 2936 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2937 if test $ac_prog = install && 2938 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2939 # AIX install. It has an incompatible calling convention. 2940 : 2941 elif test $ac_prog = install && 2942 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2943 # program-specific install script used by HP pwplus--don't use. 2944 : 2945 else 2946 rm -rf conftest.one conftest.two conftest.dir 2947 echo one > conftest.one 2948 echo two > conftest.two 2949 mkdir conftest.dir 2950 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2951 test -s conftest.one && test -s conftest.two && 2952 test -s conftest.dir/conftest.one && 2953 test -s conftest.dir/conftest.two 2954 then 2955 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2956 break 3 2957 fi 2958 fi 2959 fi 2960 done 2961 done 2962 ;; 2963esac 2964 2965 done 2966IFS=$as_save_IFS 2967 2968rm -rf conftest.one conftest.two conftest.dir 2969 2970fi 2971 if test "${ac_cv_path_install+set}" = set; then 2972 INSTALL=$ac_cv_path_install 2973 else 2974 # As a last resort, use the slow shell script. Don't cache a 2975 # value for INSTALL within a source directory, because that will 2976 # break other packages using the cache if that directory is 2977 # removed, or if the value is a relative name. 2978 INSTALL=$ac_install_sh 2979 fi 2980fi 2981{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2982$as_echo "$INSTALL" >&6; } 2983 2984# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2985# It thinks the first close brace ends the variable substitution. 2986test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2987 2988test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2989 2990test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2991 2992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2993$as_echo_n "checking whether build environment is sane... " >&6; } 2994# Reject unsafe characters in $srcdir or the absolute working directory 2995# name. Accept space and tab only in the latter. 2996am_lf=' 2997' 2998case `pwd` in 2999 *[\\\"\#\$\&\'\`$am_lf]*) 3000 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 3001esac 3002case $srcdir in 3003 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 3004 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 3005esac 3006 3007# Do 'set' in a subshell so we don't clobber the current shell's 3008# arguments. Must try -L first in case configure is actually a 3009# symlink; some systems play weird games with the mod time of symlinks 3010# (eg FreeBSD returns the mod time of the symlink's containing 3011# directory). 3012if ( 3013 am_has_slept=no 3014 for am_try in 1 2; do 3015 echo "timestamp, slept: $am_has_slept" > conftest.file 3016 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 3017 if test "$*" = "X"; then 3018 # -L didn't work. 3019 set X `ls -t "$srcdir/configure" conftest.file` 3020 fi 3021 if test "$*" != "X $srcdir/configure conftest.file" \ 3022 && test "$*" != "X conftest.file $srcdir/configure"; then 3023 3024 # If neither matched, then we have a broken ls. This can happen 3025 # if, for instance, CONFIG_SHELL is bash and it inherits a 3026 # broken ls alias from the environment. This has actually 3027 # happened. Such a system could not be considered "sane". 3028 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 3029 alias in your environment" "$LINENO" 5 3030 fi 3031 if test "$2" = conftest.file || test $am_try -eq 2; then 3032 break 3033 fi 3034 # Just in case. 3035 sleep 1 3036 am_has_slept=yes 3037 done 3038 test "$2" = conftest.file 3039 ) 3040then 3041 # Ok. 3042 : 3043else 3044 as_fn_error $? "newly created file is older than distributed files! 3045Check your system clock" "$LINENO" 5 3046fi 3047{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3048$as_echo "yes" >&6; } 3049# If we didn't sleep, we still need to ensure time stamps of config.status and 3050# generated files are strictly newer. 3051am_sleep_pid= 3052if grep 'slept: no' conftest.file >/dev/null 2>&1; then 3053 ( sleep 1 ) & 3054 am_sleep_pid=$! 3055fi 3056 3057rm -f conftest.file 3058 3059test "$program_prefix" != NONE && 3060 program_transform_name="s&^&$program_prefix&;$program_transform_name" 3061# Use a double $ so make ignores it. 3062test "$program_suffix" != NONE && 3063 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 3064# Double any \ or $. 3065# By default was `s,x,x', remove it if useless. 3066ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 3067program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 3068 3069# Expand $ac_aux_dir to an absolute path. 3070am_aux_dir=`cd "$ac_aux_dir" && pwd` 3071 3072if test x"${MISSING+set}" != xset; then 3073 case $am_aux_dir in 3074 *\ * | *\ *) 3075 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 3076 *) 3077 MISSING="\${SHELL} $am_aux_dir/missing" ;; 3078 esac 3079fi 3080# Use eval to expand $SHELL 3081if eval "$MISSING --is-lightweight"; then 3082 am_missing_run="$MISSING " 3083else 3084 am_missing_run= 3085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 3086$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 3087fi 3088 3089if test x"${install_sh+set}" != xset; then 3090 case $am_aux_dir in 3091 *\ * | *\ *) 3092 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 3093 *) 3094 install_sh="\${SHELL} $am_aux_dir/install-sh" 3095 esac 3096fi 3097 3098# Installed binaries are usually stripped using 'strip' when the user 3099# run "make install-strip". However 'strip' might not be the right 3100# tool to use in cross-compilation environments, therefore Automake 3101# will honor the 'STRIP' environment variable to overrule this program. 3102if test "$cross_compiling" != no; then 3103 if test -n "$ac_tool_prefix"; then 3104 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 3105set dummy ${ac_tool_prefix}strip; ac_word=$2 3106{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3107$as_echo_n "checking for $ac_word... " >&6; } 3108if ${ac_cv_prog_STRIP+:} false; then : 3109 $as_echo_n "(cached) " >&6 3110else 3111 if test -n "$STRIP"; then 3112 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3113else 3114as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3115for as_dir in $PATH 3116do 3117 IFS=$as_save_IFS 3118 test -z "$as_dir" && as_dir=. 3119 for ac_exec_ext in '' $ac_executable_extensions; do 3120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3121 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3123 break 2 3124 fi 3125done 3126 done 3127IFS=$as_save_IFS 3128 3129fi 3130fi 3131STRIP=$ac_cv_prog_STRIP 3132if test -n "$STRIP"; then 3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 3134$as_echo "$STRIP" >&6; } 3135else 3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3137$as_echo "no" >&6; } 3138fi 3139 3140 3141fi 3142if test -z "$ac_cv_prog_STRIP"; then 3143 ac_ct_STRIP=$STRIP 3144 # Extract the first word of "strip", so it can be a program name with args. 3145set dummy strip; ac_word=$2 3146{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3147$as_echo_n "checking for $ac_word... " >&6; } 3148if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 3149 $as_echo_n "(cached) " >&6 3150else 3151 if test -n "$ac_ct_STRIP"; then 3152 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3153else 3154as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3155for as_dir in $PATH 3156do 3157 IFS=$as_save_IFS 3158 test -z "$as_dir" && as_dir=. 3159 for ac_exec_ext in '' $ac_executable_extensions; do 3160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3161 ac_cv_prog_ac_ct_STRIP="strip" 3162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3163 break 2 3164 fi 3165done 3166 done 3167IFS=$as_save_IFS 3168 3169fi 3170fi 3171ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3172if test -n "$ac_ct_STRIP"; then 3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 3174$as_echo "$ac_ct_STRIP" >&6; } 3175else 3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3177$as_echo "no" >&6; } 3178fi 3179 3180 if test "x$ac_ct_STRIP" = x; then 3181 STRIP=":" 3182 else 3183 case $cross_compiling:$ac_tool_warned in 3184yes:) 3185{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3186$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3187ac_tool_warned=yes ;; 3188esac 3189 STRIP=$ac_ct_STRIP 3190 fi 3191else 3192 STRIP="$ac_cv_prog_STRIP" 3193fi 3194 3195fi 3196INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3197 3198{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3199$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3200if test -z "$MKDIR_P"; then 3201 if ${ac_cv_path_mkdir+:} false; then : 3202 $as_echo_n "(cached) " >&6 3203else 3204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3205for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3206do 3207 IFS=$as_save_IFS 3208 test -z "$as_dir" && as_dir=. 3209 for ac_prog in mkdir gmkdir; do 3210 for ac_exec_ext in '' $ac_executable_extensions; do 3211 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 3212 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3213 'mkdir (GNU coreutils) '* | \ 3214 'mkdir (coreutils) '* | \ 3215 'mkdir (fileutils) '4.1*) 3216 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3217 break 3;; 3218 esac 3219 done 3220 done 3221 done 3222IFS=$as_save_IFS 3223 3224fi 3225 3226 test -d ./--version && rmdir ./--version 3227 if test "${ac_cv_path_mkdir+set}" = set; then 3228 MKDIR_P="$ac_cv_path_mkdir -p" 3229 else 3230 # As a last resort, use the slow shell script. Don't cache a 3231 # value for MKDIR_P within a source directory, because that will 3232 # break other packages using the cache if that directory is 3233 # removed, or if the value is a relative name. 3234 MKDIR_P="$ac_install_sh -d" 3235 fi 3236fi 3237{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3238$as_echo "$MKDIR_P" >&6; } 3239 3240for ac_prog in gawk mawk nawk awk 3241do 3242 # Extract the first word of "$ac_prog", so it can be a program name with args. 3243set dummy $ac_prog; ac_word=$2 3244{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3245$as_echo_n "checking for $ac_word... " >&6; } 3246if ${ac_cv_prog_AWK+:} false; then : 3247 $as_echo_n "(cached) " >&6 3248else 3249 if test -n "$AWK"; then 3250 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3251else 3252as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3253for as_dir in $PATH 3254do 3255 IFS=$as_save_IFS 3256 test -z "$as_dir" && as_dir=. 3257 for ac_exec_ext in '' $ac_executable_extensions; do 3258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3259 ac_cv_prog_AWK="$ac_prog" 3260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3261 break 2 3262 fi 3263done 3264 done 3265IFS=$as_save_IFS 3266 3267fi 3268fi 3269AWK=$ac_cv_prog_AWK 3270if test -n "$AWK"; then 3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3272$as_echo "$AWK" >&6; } 3273else 3274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3275$as_echo "no" >&6; } 3276fi 3277 3278 3279 test -n "$AWK" && break 3280done 3281 3282{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3283$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3284set x ${MAKE-make} 3285ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3286if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3287 $as_echo_n "(cached) " >&6 3288else 3289 cat >conftest.make <<\_ACEOF 3290SHELL = /bin/sh 3291all: 3292 @echo '@@@%%%=$(MAKE)=@@@%%%' 3293_ACEOF 3294# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3295case `${MAKE-make} -f conftest.make 2>/dev/null` in 3296 *@@@%%%=?*=@@@%%%*) 3297 eval ac_cv_prog_make_${ac_make}_set=yes;; 3298 *) 3299 eval ac_cv_prog_make_${ac_make}_set=no;; 3300esac 3301rm -f conftest.make 3302fi 3303if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3305$as_echo "yes" >&6; } 3306 SET_MAKE= 3307else 3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3309$as_echo "no" >&6; } 3310 SET_MAKE="MAKE=${MAKE-make}" 3311fi 3312 3313rm -rf .tst 2>/dev/null 3314mkdir .tst 2>/dev/null 3315if test -d .tst; then 3316 am__leading_dot=. 3317else 3318 am__leading_dot=_ 3319fi 3320rmdir .tst 2>/dev/null 3321 3322# Check whether --enable-silent-rules was given. 3323if test "${enable_silent_rules+set}" = set; then : 3324 enableval=$enable_silent_rules; 3325fi 3326 3327case $enable_silent_rules in # ((( 3328 yes) AM_DEFAULT_VERBOSITY=0;; 3329 no) AM_DEFAULT_VERBOSITY=1;; 3330 *) AM_DEFAULT_VERBOSITY=1;; 3331esac 3332am_make=${MAKE-make} 3333{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3334$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3335if ${am_cv_make_support_nested_variables+:} false; then : 3336 $as_echo_n "(cached) " >&6 3337else 3338 if $as_echo 'TRUE=$(BAR$(V)) 3339BAR0=false 3340BAR1=true 3341V=1 3342am__doit: 3343 @$(TRUE) 3344.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3345 am_cv_make_support_nested_variables=yes 3346else 3347 am_cv_make_support_nested_variables=no 3348fi 3349fi 3350{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3351$as_echo "$am_cv_make_support_nested_variables" >&6; } 3352if test $am_cv_make_support_nested_variables = yes; then 3353 AM_V='$(V)' 3354 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3355else 3356 AM_V=$AM_DEFAULT_VERBOSITY 3357 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3358fi 3359AM_BACKSLASH='\' 3360 3361if test "`cd $srcdir && pwd`" != "`pwd`"; then 3362 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3363 # is not polluted with repeated "-I." 3364 am__isrc=' -I$(srcdir)' 3365 # test to see if srcdir already configured 3366 if test -f $srcdir/config.status; then 3367 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3368 fi 3369fi 3370 3371# test whether we have cygpath 3372if test -z "$CYGPATH_W"; then 3373 if (cygpath --version) >/dev/null 2>/dev/null; then 3374 CYGPATH_W='cygpath -w' 3375 else 3376 CYGPATH_W=echo 3377 fi 3378fi 3379 3380 3381# Define the identity of the package. 3382 PACKAGE='mc' 3383 VERSION='4.8.27-git' 3384 3385 3386# Some tools Automake needs. 3387 3388ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3389 3390 3391AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3392 3393 3394AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3395 3396 3397AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3398 3399 3400MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3401 3402# For better backward compatibility. To be removed once Automake 1.9.x 3403# dies out for good. For more background, see: 3404# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3405# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3406mkdir_p='$(MKDIR_P)' 3407 3408# We need awk for the "check" target (and possibly the TAP driver). The 3409# system "awk" is bad on some platforms. 3410# Always define AMTAR for backward compatibility. Yes, it's still used 3411# in the wild :-( We should find a proper way to deprecate it ... 3412AMTAR='$${TAR-tar}' 3413 3414 3415# We'll loop over all known methods to create a tar archive until one works. 3416_am_tools='gnutar pax cpio none' 3417 3418am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 3419 3420 3421 3422 3423 3424 3425# POSIX will say in a future version that running "rm -f" with no argument 3426# is OK; and we want to be able to make that assumption in our Makefile 3427# recipes. So use an aggressive probe to check that the usage we want is 3428# actually supported "in the wild" to an acceptable degree. 3429# See automake bug#10828. 3430# To make any issue more visible, cause the running configure to be aborted 3431# by default if the 'rm' program in use doesn't match our expectations; the 3432# user can still override this though. 3433if rm -f && rm -fr && rm -rf; then : OK; else 3434 cat >&2 <<'END' 3435Oops! 3436 3437Your 'rm' program seems unable to run without file operands specified 3438on the command line, even when the '-f' option is present. This is contrary 3439to the behaviour of most rm programs out there, and not conforming with 3440the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3441 3442Please tell bug-automake@gnu.org about your system, including the value 3443of your $PATH and any error possibly output before this message. This 3444can help us improve future automake versions. 3445 3446END 3447 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3448 echo 'Configuration will proceed anyway, since you have set the' >&2 3449 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3450 echo >&2 3451 else 3452 cat >&2 <<'END' 3453Aborting the configuration process, to ensure you take notice of the issue. 3454 3455You can download and install GNU coreutils to get an 'rm' implementation 3456that behaves properly: <https://www.gnu.org/software/coreutils/>. 3457 3458If you want to complete the configuration process using your problematic 3459'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3460to "yes", and re-run configure. 3461 3462END 3463 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3464 fi 3465fi 3466 3467 3468$as_echo "#define PACKAGE \"mc\"" >>confdefs.h 3469 3470 3471# Check whether --enable-silent-rules was given. 3472if test "${enable_silent_rules+set}" = set; then : 3473 enableval=$enable_silent_rules; 3474fi 3475 3476case $enable_silent_rules in # ((( 3477 yes) AM_DEFAULT_VERBOSITY=0;; 3478 no) AM_DEFAULT_VERBOSITY=1;; 3479 *) AM_DEFAULT_VERBOSITY=0;; 3480esac 3481am_make=${MAKE-make} 3482{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3483$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3484if ${am_cv_make_support_nested_variables+:} false; then : 3485 $as_echo_n "(cached) " >&6 3486else 3487 if $as_echo 'TRUE=$(BAR$(V)) 3488BAR0=false 3489BAR1=true 3490V=1 3491am__doit: 3492 @$(TRUE) 3493.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3494 am_cv_make_support_nested_variables=yes 3495else 3496 am_cv_make_support_nested_variables=no 3497fi 3498fi 3499{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3500$as_echo "$am_cv_make_support_nested_variables" >&6; } 3501if test $am_cv_make_support_nested_variables = yes; then 3502 AM_V='$(V)' 3503 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3504else 3505 AM_V=$AM_DEFAULT_VERBOSITY 3506 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3507fi 3508AM_BACKSLASH='\' 3509 3510 3511 3512 if test -f ${srcdir}/mc-version.h; then 3513 VERSION=$(grep '^#define MC_CURRENT_VERSION' ${srcdir}/mc-version.h | sed 's/.*"\(.*\)"$/\1/') 3514 else 3515 VERSION="unknown" 3516 fi 3517 3518 MAN_VERSION=`echo $VERSION | sed 's/^\([^\-]*\).*/\1/'` 3519 3520 3521 3522 3523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3524$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3525 # Check whether --enable-maintainer-mode was given. 3526if test "${enable_maintainer_mode+set}" = set; then : 3527 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 3528else 3529 USE_MAINTAINER_MODE=no 3530fi 3531 3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3533$as_echo "$USE_MAINTAINER_MODE" >&6; } 3534 if test $USE_MAINTAINER_MODE = yes; then 3535 MAINTAINER_MODE_TRUE= 3536 MAINTAINER_MODE_FALSE='#' 3537else 3538 MAINTAINER_MODE_TRUE='#' 3539 MAINTAINER_MODE_FALSE= 3540fi 3541 3542 MAINT=$MAINTAINER_MODE_TRUE 3543 3544 3545 3546# Make sure we can run config.sub. 3547$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3548 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3549 3550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3551$as_echo_n "checking build system type... " >&6; } 3552if ${ac_cv_build+:} false; then : 3553 $as_echo_n "(cached) " >&6 3554else 3555 ac_build_alias=$build_alias 3556test "x$ac_build_alias" = x && 3557 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3558test "x$ac_build_alias" = x && 3559 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3560ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3561 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3562 3563fi 3564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3565$as_echo "$ac_cv_build" >&6; } 3566case $ac_cv_build in 3567*-*-*) ;; 3568*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3569esac 3570build=$ac_cv_build 3571ac_save_IFS=$IFS; IFS='-' 3572set x $ac_cv_build 3573shift 3574build_cpu=$1 3575build_vendor=$2 3576shift; shift 3577# Remember, the first character of IFS is used to create $*, 3578# except with old shells: 3579build_os=$* 3580IFS=$ac_save_IFS 3581case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3582 3583 3584{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3585$as_echo_n "checking host system type... " >&6; } 3586if ${ac_cv_host+:} false; then : 3587 $as_echo_n "(cached) " >&6 3588else 3589 if test "x$host_alias" = x; then 3590 ac_cv_host=$ac_cv_build 3591else 3592 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3593 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3594fi 3595 3596fi 3597{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3598$as_echo "$ac_cv_host" >&6; } 3599case $ac_cv_host in 3600*-*-*) ;; 3601*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3602esac 3603host=$ac_cv_host 3604ac_save_IFS=$IFS; IFS='-' 3605set x $ac_cv_host 3606shift 3607host_cpu=$1 3608host_vendor=$2 3609shift; shift 3610# Remember, the first character of IFS is used to create $*, 3611# except with old shells: 3612host_os=$* 3613IFS=$ac_save_IFS 3614case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3615 3616 3617 3618DEPDIR="${am__leading_dot}deps" 3619 3620ac_config_commands="$ac_config_commands depfiles" 3621 3622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 3623$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 3624cat > confinc.mk << 'END' 3625am__doit: 3626 @echo this is the am__doit target >confinc.out 3627.PHONY: am__doit 3628END 3629am__include="#" 3630am__quote= 3631# BSD make does it like this. 3632echo '.include "confinc.mk" # ignored' > confmf.BSD 3633# Other make implementations (GNU, Solaris 10, AIX) do it like this. 3634echo 'include confinc.mk # ignored' > confmf.GNU 3635_am_result=no 3636for s in GNU BSD; do 3637 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 3638 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 3639 ac_status=$? 3640 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3641 (exit $ac_status); } 3642 case $?:`cat confinc.out 2>/dev/null` in #( 3643 '0:this is the am__doit target') : 3644 case $s in #( 3645 BSD) : 3646 am__include='.include' am__quote='"' ;; #( 3647 *) : 3648 am__include='include' am__quote='' ;; 3649esac ;; #( 3650 *) : 3651 ;; 3652esac 3653 if test "$am__include" != "#"; then 3654 _am_result="yes ($s style)" 3655 break 3656 fi 3657done 3658rm -f confinc.* confmf.* 3659{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 3660$as_echo "${_am_result}" >&6; } 3661 3662# Check whether --enable-dependency-tracking was given. 3663if test "${enable_dependency_tracking+set}" = set; then : 3664 enableval=$enable_dependency_tracking; 3665fi 3666 3667if test "x$enable_dependency_tracking" != xno; then 3668 am_depcomp="$ac_aux_dir/depcomp" 3669 AMDEPBACKSLASH='\' 3670 am__nodep='_no' 3671fi 3672 if test "x$enable_dependency_tracking" != xno; then 3673 AMDEP_TRUE= 3674 AMDEP_FALSE='#' 3675else 3676 AMDEP_TRUE='#' 3677 AMDEP_FALSE= 3678fi 3679 3680 3681ac_ext=c 3682ac_cpp='$CPP $CPPFLAGS' 3683ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3684ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3685ac_compiler_gnu=$ac_cv_c_compiler_gnu 3686if test -n "$ac_tool_prefix"; then 3687 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3688set dummy ${ac_tool_prefix}gcc; ac_word=$2 3689{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3690$as_echo_n "checking for $ac_word... " >&6; } 3691if ${ac_cv_prog_CC+:} false; then : 3692 $as_echo_n "(cached) " >&6 3693else 3694 if test -n "$CC"; then 3695 ac_cv_prog_CC="$CC" # Let the user override the test. 3696else 3697as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3698for as_dir in $PATH 3699do 3700 IFS=$as_save_IFS 3701 test -z "$as_dir" && as_dir=. 3702 for ac_exec_ext in '' $ac_executable_extensions; do 3703 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3704 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3706 break 2 3707 fi 3708done 3709 done 3710IFS=$as_save_IFS 3711 3712fi 3713fi 3714CC=$ac_cv_prog_CC 3715if test -n "$CC"; then 3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3717$as_echo "$CC" >&6; } 3718else 3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3720$as_echo "no" >&6; } 3721fi 3722 3723 3724fi 3725if test -z "$ac_cv_prog_CC"; then 3726 ac_ct_CC=$CC 3727 # Extract the first word of "gcc", so it can be a program name with args. 3728set dummy gcc; ac_word=$2 3729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3730$as_echo_n "checking for $ac_word... " >&6; } 3731if ${ac_cv_prog_ac_ct_CC+:} false; then : 3732 $as_echo_n "(cached) " >&6 3733else 3734 if test -n "$ac_ct_CC"; then 3735 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3736else 3737as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3738for as_dir in $PATH 3739do 3740 IFS=$as_save_IFS 3741 test -z "$as_dir" && as_dir=. 3742 for ac_exec_ext in '' $ac_executable_extensions; do 3743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3744 ac_cv_prog_ac_ct_CC="gcc" 3745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3746 break 2 3747 fi 3748done 3749 done 3750IFS=$as_save_IFS 3751 3752fi 3753fi 3754ac_ct_CC=$ac_cv_prog_ac_ct_CC 3755if test -n "$ac_ct_CC"; then 3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3757$as_echo "$ac_ct_CC" >&6; } 3758else 3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3760$as_echo "no" >&6; } 3761fi 3762 3763 if test "x$ac_ct_CC" = x; then 3764 CC="" 3765 else 3766 case $cross_compiling:$ac_tool_warned in 3767yes:) 3768{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3769$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3770ac_tool_warned=yes ;; 3771esac 3772 CC=$ac_ct_CC 3773 fi 3774else 3775 CC="$ac_cv_prog_CC" 3776fi 3777 3778if test -z "$CC"; then 3779 if test -n "$ac_tool_prefix"; then 3780 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3781set dummy ${ac_tool_prefix}cc; ac_word=$2 3782{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3783$as_echo_n "checking for $ac_word... " >&6; } 3784if ${ac_cv_prog_CC+:} false; then : 3785 $as_echo_n "(cached) " >&6 3786else 3787 if test -n "$CC"; then 3788 ac_cv_prog_CC="$CC" # Let the user override the test. 3789else 3790as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3791for as_dir in $PATH 3792do 3793 IFS=$as_save_IFS 3794 test -z "$as_dir" && as_dir=. 3795 for ac_exec_ext in '' $ac_executable_extensions; do 3796 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3797 ac_cv_prog_CC="${ac_tool_prefix}cc" 3798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3799 break 2 3800 fi 3801done 3802 done 3803IFS=$as_save_IFS 3804 3805fi 3806fi 3807CC=$ac_cv_prog_CC 3808if test -n "$CC"; then 3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3810$as_echo "$CC" >&6; } 3811else 3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3813$as_echo "no" >&6; } 3814fi 3815 3816 3817 fi 3818fi 3819if test -z "$CC"; then 3820 # Extract the first word of "cc", so it can be a program name with args. 3821set dummy cc; ac_word=$2 3822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3823$as_echo_n "checking for $ac_word... " >&6; } 3824if ${ac_cv_prog_CC+:} false; then : 3825 $as_echo_n "(cached) " >&6 3826else 3827 if test -n "$CC"; then 3828 ac_cv_prog_CC="$CC" # Let the user override the test. 3829else 3830 ac_prog_rejected=no 3831as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3832for as_dir in $PATH 3833do 3834 IFS=$as_save_IFS 3835 test -z "$as_dir" && as_dir=. 3836 for ac_exec_ext in '' $ac_executable_extensions; do 3837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3838 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3839 ac_prog_rejected=yes 3840 continue 3841 fi 3842 ac_cv_prog_CC="cc" 3843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3844 break 2 3845 fi 3846done 3847 done 3848IFS=$as_save_IFS 3849 3850if test $ac_prog_rejected = yes; then 3851 # We found a bogon in the path, so make sure we never use it. 3852 set dummy $ac_cv_prog_CC 3853 shift 3854 if test $# != 0; then 3855 # We chose a different compiler from the bogus one. 3856 # However, it has the same basename, so the bogon will be chosen 3857 # first if we set CC to just the basename; use the full file name. 3858 shift 3859 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3860 fi 3861fi 3862fi 3863fi 3864CC=$ac_cv_prog_CC 3865if test -n "$CC"; then 3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3867$as_echo "$CC" >&6; } 3868else 3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3870$as_echo "no" >&6; } 3871fi 3872 3873 3874fi 3875if test -z "$CC"; then 3876 if test -n "$ac_tool_prefix"; then 3877 for ac_prog in cl.exe 3878 do 3879 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3880set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3882$as_echo_n "checking for $ac_word... " >&6; } 3883if ${ac_cv_prog_CC+:} false; then : 3884 $as_echo_n "(cached) " >&6 3885else 3886 if test -n "$CC"; then 3887 ac_cv_prog_CC="$CC" # Let the user override the test. 3888else 3889as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3890for as_dir in $PATH 3891do 3892 IFS=$as_save_IFS 3893 test -z "$as_dir" && as_dir=. 3894 for ac_exec_ext in '' $ac_executable_extensions; do 3895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3896 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3898 break 2 3899 fi 3900done 3901 done 3902IFS=$as_save_IFS 3903 3904fi 3905fi 3906CC=$ac_cv_prog_CC 3907if test -n "$CC"; then 3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3909$as_echo "$CC" >&6; } 3910else 3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3912$as_echo "no" >&6; } 3913fi 3914 3915 3916 test -n "$CC" && break 3917 done 3918fi 3919if test -z "$CC"; then 3920 ac_ct_CC=$CC 3921 for ac_prog in cl.exe 3922do 3923 # Extract the first word of "$ac_prog", so it can be a program name with args. 3924set dummy $ac_prog; ac_word=$2 3925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3926$as_echo_n "checking for $ac_word... " >&6; } 3927if ${ac_cv_prog_ac_ct_CC+:} false; then : 3928 $as_echo_n "(cached) " >&6 3929else 3930 if test -n "$ac_ct_CC"; then 3931 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3932else 3933as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3934for as_dir in $PATH 3935do 3936 IFS=$as_save_IFS 3937 test -z "$as_dir" && as_dir=. 3938 for ac_exec_ext in '' $ac_executable_extensions; do 3939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3940 ac_cv_prog_ac_ct_CC="$ac_prog" 3941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3942 break 2 3943 fi 3944done 3945 done 3946IFS=$as_save_IFS 3947 3948fi 3949fi 3950ac_ct_CC=$ac_cv_prog_ac_ct_CC 3951if test -n "$ac_ct_CC"; then 3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3953$as_echo "$ac_ct_CC" >&6; } 3954else 3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3956$as_echo "no" >&6; } 3957fi 3958 3959 3960 test -n "$ac_ct_CC" && break 3961done 3962 3963 if test "x$ac_ct_CC" = x; then 3964 CC="" 3965 else 3966 case $cross_compiling:$ac_tool_warned in 3967yes:) 3968{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3969$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3970ac_tool_warned=yes ;; 3971esac 3972 CC=$ac_ct_CC 3973 fi 3974fi 3975 3976fi 3977 3978 3979test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3980$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3981as_fn_error $? "no acceptable C compiler found in \$PATH 3982See \`config.log' for more details" "$LINENO" 5; } 3983 3984# Provide some information about the compiler. 3985$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3986set X $ac_compile 3987ac_compiler=$2 3988for ac_option in --version -v -V -qversion; do 3989 { { ac_try="$ac_compiler $ac_option >&5" 3990case "(($ac_try" in 3991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3992 *) ac_try_echo=$ac_try;; 3993esac 3994eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3995$as_echo "$ac_try_echo"; } >&5 3996 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3997 ac_status=$? 3998 if test -s conftest.err; then 3999 sed '10a\ 4000... rest of stderr output deleted ... 4001 10q' conftest.err >conftest.er1 4002 cat conftest.er1 >&5 4003 fi 4004 rm -f conftest.er1 conftest.err 4005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4006 test $ac_status = 0; } 4007done 4008 4009cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4010/* end confdefs.h. */ 4011 4012int 4013main () 4014{ 4015 4016 ; 4017 return 0; 4018} 4019_ACEOF 4020ac_clean_files_save=$ac_clean_files 4021ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 4022# Try to create an executable without -o first, disregard a.out. 4023# It will help us diagnose broken compilers, and finding out an intuition 4024# of exeext. 4025{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 4026$as_echo_n "checking whether the C compiler works... " >&6; } 4027ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 4028 4029# The possible output files: 4030ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 4031 4032ac_rmfiles= 4033for ac_file in $ac_files 4034do 4035 case $ac_file in 4036 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4037 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 4038 esac 4039done 4040rm -f $ac_rmfiles 4041 4042if { { ac_try="$ac_link_default" 4043case "(($ac_try" in 4044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4045 *) ac_try_echo=$ac_try;; 4046esac 4047eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4048$as_echo "$ac_try_echo"; } >&5 4049 (eval "$ac_link_default") 2>&5 4050 ac_status=$? 4051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4052 test $ac_status = 0; }; then : 4053 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 4054# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 4055# in a Makefile. We should not override ac_cv_exeext if it was cached, 4056# so that the user can short-circuit this test for compilers unknown to 4057# Autoconf. 4058for ac_file in $ac_files '' 4059do 4060 test -f "$ac_file" || continue 4061 case $ac_file in 4062 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 4063 ;; 4064 [ab].out ) 4065 # We found the default executable, but exeext='' is most 4066 # certainly right. 4067 break;; 4068 *.* ) 4069 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 4070 then :; else 4071 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4072 fi 4073 # We set ac_cv_exeext here because the later test for it is not 4074 # safe: cross compilers may not add the suffix if given an `-o' 4075 # argument, so we may need to know it at that point already. 4076 # Even if this section looks crufty: it has the advantage of 4077 # actually working. 4078 break;; 4079 * ) 4080 break;; 4081 esac 4082done 4083test "$ac_cv_exeext" = no && ac_cv_exeext= 4084 4085else 4086 ac_file='' 4087fi 4088if test -z "$ac_file"; then : 4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4090$as_echo "no" >&6; } 4091$as_echo "$as_me: failed program was:" >&5 4092sed 's/^/| /' conftest.$ac_ext >&5 4093 4094{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4095$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4096as_fn_error 77 "C compiler cannot create executables 4097See \`config.log' for more details" "$LINENO" 5; } 4098else 4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4100$as_echo "yes" >&6; } 4101fi 4102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 4103$as_echo_n "checking for C compiler default output file name... " >&6; } 4104{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 4105$as_echo "$ac_file" >&6; } 4106ac_exeext=$ac_cv_exeext 4107 4108rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 4109ac_clean_files=$ac_clean_files_save 4110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 4111$as_echo_n "checking for suffix of executables... " >&6; } 4112if { { ac_try="$ac_link" 4113case "(($ac_try" in 4114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4115 *) ac_try_echo=$ac_try;; 4116esac 4117eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4118$as_echo "$ac_try_echo"; } >&5 4119 (eval "$ac_link") 2>&5 4120 ac_status=$? 4121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4122 test $ac_status = 0; }; then : 4123 # If both `conftest.exe' and `conftest' are `present' (well, observable) 4124# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 4125# work properly (i.e., refer to `conftest.exe'), while it won't with 4126# `rm'. 4127for ac_file in conftest.exe conftest conftest.*; do 4128 test -f "$ac_file" || continue 4129 case $ac_file in 4130 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4131 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4132 break;; 4133 * ) break;; 4134 esac 4135done 4136else 4137 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4138$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4139as_fn_error $? "cannot compute suffix of executables: cannot compile and link 4140See \`config.log' for more details" "$LINENO" 5; } 4141fi 4142rm -f conftest conftest$ac_cv_exeext 4143{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4144$as_echo "$ac_cv_exeext" >&6; } 4145 4146rm -f conftest.$ac_ext 4147EXEEXT=$ac_cv_exeext 4148ac_exeext=$EXEEXT 4149cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4150/* end confdefs.h. */ 4151#include <stdio.h> 4152int 4153main () 4154{ 4155FILE *f = fopen ("conftest.out", "w"); 4156 return ferror (f) || fclose (f) != 0; 4157 4158 ; 4159 return 0; 4160} 4161_ACEOF 4162ac_clean_files="$ac_clean_files conftest.out" 4163# Check that the compiler produces executables we can run. If not, either 4164# the compiler is broken, or we cross compile. 4165{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4166$as_echo_n "checking whether we are cross compiling... " >&6; } 4167if test "$cross_compiling" != yes; then 4168 { { ac_try="$ac_link" 4169case "(($ac_try" in 4170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4171 *) ac_try_echo=$ac_try;; 4172esac 4173eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4174$as_echo "$ac_try_echo"; } >&5 4175 (eval "$ac_link") 2>&5 4176 ac_status=$? 4177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4178 test $ac_status = 0; } 4179 if { ac_try='./conftest$ac_cv_exeext' 4180 { { case "(($ac_try" in 4181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4182 *) ac_try_echo=$ac_try;; 4183esac 4184eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4185$as_echo "$ac_try_echo"; } >&5 4186 (eval "$ac_try") 2>&5 4187 ac_status=$? 4188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4189 test $ac_status = 0; }; }; then 4190 cross_compiling=no 4191 else 4192 if test "$cross_compiling" = maybe; then 4193 cross_compiling=yes 4194 else 4195 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4196$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4197as_fn_error $? "cannot run C compiled programs. 4198If you meant to cross compile, use \`--host'. 4199See \`config.log' for more details" "$LINENO" 5; } 4200 fi 4201 fi 4202fi 4203{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4204$as_echo "$cross_compiling" >&6; } 4205 4206rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4207ac_clean_files=$ac_clean_files_save 4208{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4209$as_echo_n "checking for suffix of object files... " >&6; } 4210if ${ac_cv_objext+:} false; then : 4211 $as_echo_n "(cached) " >&6 4212else 4213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4214/* end confdefs.h. */ 4215 4216int 4217main () 4218{ 4219 4220 ; 4221 return 0; 4222} 4223_ACEOF 4224rm -f conftest.o conftest.obj 4225if { { ac_try="$ac_compile" 4226case "(($ac_try" in 4227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4228 *) ac_try_echo=$ac_try;; 4229esac 4230eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4231$as_echo "$ac_try_echo"; } >&5 4232 (eval "$ac_compile") 2>&5 4233 ac_status=$? 4234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4235 test $ac_status = 0; }; then : 4236 for ac_file in conftest.o conftest.obj conftest.*; do 4237 test -f "$ac_file" || continue; 4238 case $ac_file in 4239 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 4240 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 4241 break;; 4242 esac 4243done 4244else 4245 $as_echo "$as_me: failed program was:" >&5 4246sed 's/^/| /' conftest.$ac_ext >&5 4247 4248{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4249$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4250as_fn_error $? "cannot compute suffix of object files: cannot compile 4251See \`config.log' for more details" "$LINENO" 5; } 4252fi 4253rm -f conftest.$ac_cv_objext conftest.$ac_ext 4254fi 4255{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4256$as_echo "$ac_cv_objext" >&6; } 4257OBJEXT=$ac_cv_objext 4258ac_objext=$OBJEXT 4259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4260$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4261if ${ac_cv_c_compiler_gnu+:} false; then : 4262 $as_echo_n "(cached) " >&6 4263else 4264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4265/* end confdefs.h. */ 4266 4267int 4268main () 4269{ 4270#ifndef __GNUC__ 4271 choke me 4272#endif 4273 4274 ; 4275 return 0; 4276} 4277_ACEOF 4278if ac_fn_c_try_compile "$LINENO"; then : 4279 ac_compiler_gnu=yes 4280else 4281 ac_compiler_gnu=no 4282fi 4283rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4284ac_cv_c_compiler_gnu=$ac_compiler_gnu 4285 4286fi 4287{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4288$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4289if test $ac_compiler_gnu = yes; then 4290 GCC=yes 4291else 4292 GCC= 4293fi 4294ac_test_CFLAGS=${CFLAGS+set} 4295ac_save_CFLAGS=$CFLAGS 4296{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4297$as_echo_n "checking whether $CC accepts -g... " >&6; } 4298if ${ac_cv_prog_cc_g+:} false; then : 4299 $as_echo_n "(cached) " >&6 4300else 4301 ac_save_c_werror_flag=$ac_c_werror_flag 4302 ac_c_werror_flag=yes 4303 ac_cv_prog_cc_g=no 4304 CFLAGS="-g" 4305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4306/* end confdefs.h. */ 4307 4308int 4309main () 4310{ 4311 4312 ; 4313 return 0; 4314} 4315_ACEOF 4316if ac_fn_c_try_compile "$LINENO"; then : 4317 ac_cv_prog_cc_g=yes 4318else 4319 CFLAGS="" 4320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4321/* end confdefs.h. */ 4322 4323int 4324main () 4325{ 4326 4327 ; 4328 return 0; 4329} 4330_ACEOF 4331if ac_fn_c_try_compile "$LINENO"; then : 4332 4333else 4334 ac_c_werror_flag=$ac_save_c_werror_flag 4335 CFLAGS="-g" 4336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4337/* end confdefs.h. */ 4338 4339int 4340main () 4341{ 4342 4343 ; 4344 return 0; 4345} 4346_ACEOF 4347if ac_fn_c_try_compile "$LINENO"; then : 4348 ac_cv_prog_cc_g=yes 4349fi 4350rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4351fi 4352rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4353fi 4354rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4355 ac_c_werror_flag=$ac_save_c_werror_flag 4356fi 4357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4358$as_echo "$ac_cv_prog_cc_g" >&6; } 4359if test "$ac_test_CFLAGS" = set; then 4360 CFLAGS=$ac_save_CFLAGS 4361elif test $ac_cv_prog_cc_g = yes; then 4362 if test "$GCC" = yes; then 4363 CFLAGS="-g -O2" 4364 else 4365 CFLAGS="-g" 4366 fi 4367else 4368 if test "$GCC" = yes; then 4369 CFLAGS="-O2" 4370 else 4371 CFLAGS= 4372 fi 4373fi 4374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4375$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4376if ${ac_cv_prog_cc_c89+:} false; then : 4377 $as_echo_n "(cached) " >&6 4378else 4379 ac_cv_prog_cc_c89=no 4380ac_save_CC=$CC 4381cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4382/* end confdefs.h. */ 4383#include <stdarg.h> 4384#include <stdio.h> 4385struct stat; 4386/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4387struct buf { int x; }; 4388FILE * (*rcsopen) (struct buf *, struct stat *, int); 4389static char *e (p, i) 4390 char **p; 4391 int i; 4392{ 4393 return p[i]; 4394} 4395static char *f (char * (*g) (char **, int), char **p, ...) 4396{ 4397 char *s; 4398 va_list v; 4399 va_start (v,p); 4400 s = g (p, va_arg (v,int)); 4401 va_end (v); 4402 return s; 4403} 4404 4405/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4406 function prototypes and stuff, but not '\xHH' hex character constants. 4407 These don't provoke an error unfortunately, instead are silently treated 4408 as 'x'. The following induces an error, until -std is added to get 4409 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4410 array size at least. It's necessary to write '\x00'==0 to get something 4411 that's true only with -std. */ 4412int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4413 4414/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4415 inside strings and character constants. */ 4416#define FOO(x) 'x' 4417int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4418 4419int test (int i, double x); 4420struct s1 {int (*f) (int a);}; 4421struct s2 {int (*f) (double a);}; 4422int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4423int argc; 4424char **argv; 4425int 4426main () 4427{ 4428return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4429 ; 4430 return 0; 4431} 4432_ACEOF 4433for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4434 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4435do 4436 CC="$ac_save_CC $ac_arg" 4437 if ac_fn_c_try_compile "$LINENO"; then : 4438 ac_cv_prog_cc_c89=$ac_arg 4439fi 4440rm -f core conftest.err conftest.$ac_objext 4441 test "x$ac_cv_prog_cc_c89" != "xno" && break 4442done 4443rm -f conftest.$ac_ext 4444CC=$ac_save_CC 4445 4446fi 4447# AC_CACHE_VAL 4448case "x$ac_cv_prog_cc_c89" in 4449 x) 4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4451$as_echo "none needed" >&6; } ;; 4452 xno) 4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4454$as_echo "unsupported" >&6; } ;; 4455 *) 4456 CC="$CC $ac_cv_prog_cc_c89" 4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4458$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4459esac 4460if test "x$ac_cv_prog_cc_c89" != xno; then : 4461 4462fi 4463 4464ac_ext=c 4465ac_cpp='$CPP $CPPFLAGS' 4466ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4467ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4468ac_compiler_gnu=$ac_cv_c_compiler_gnu 4469 4470ac_ext=c 4471ac_cpp='$CPP $CPPFLAGS' 4472ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4473ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4474ac_compiler_gnu=$ac_cv_c_compiler_gnu 4475{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4476$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4477if ${am_cv_prog_cc_c_o+:} false; then : 4478 $as_echo_n "(cached) " >&6 4479else 4480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4481/* end confdefs.h. */ 4482 4483int 4484main () 4485{ 4486 4487 ; 4488 return 0; 4489} 4490_ACEOF 4491 # Make sure it works both with $CC and with simple cc. 4492 # Following AC_PROG_CC_C_O, we do the test twice because some 4493 # compilers refuse to overwrite an existing .o file with -o, 4494 # though they will create one. 4495 am_cv_prog_cc_c_o=yes 4496 for am_i in 1 2; do 4497 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4498 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4499 ac_status=$? 4500 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4501 (exit $ac_status); } \ 4502 && test -f conftest2.$ac_objext; then 4503 : OK 4504 else 4505 am_cv_prog_cc_c_o=no 4506 break 4507 fi 4508 done 4509 rm -f core conftest* 4510 unset am_i 4511fi 4512{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4513$as_echo "$am_cv_prog_cc_c_o" >&6; } 4514if test "$am_cv_prog_cc_c_o" != yes; then 4515 # Losing compiler, so override with the script. 4516 # FIXME: It is wrong to rewrite CC. 4517 # But if we don't then we get into trouble of one sort or another. 4518 # A longer-term fix would be to have automake use am__CC in this case, 4519 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4520 CC="$am_aux_dir/compile $CC" 4521fi 4522ac_ext=c 4523ac_cpp='$CPP $CPPFLAGS' 4524ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4525ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4526ac_compiler_gnu=$ac_cv_c_compiler_gnu 4527 4528 4529depcc="$CC" am_compiler_list= 4530 4531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4532$as_echo_n "checking dependency style of $depcc... " >&6; } 4533if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4534 $as_echo_n "(cached) " >&6 4535else 4536 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4537 # We make a subdir and do the tests there. Otherwise we can end up 4538 # making bogus files that we don't know about and never remove. For 4539 # instance it was reported that on HP-UX the gcc test will end up 4540 # making a dummy file named 'D' -- because '-MD' means "put the output 4541 # in D". 4542 rm -rf conftest.dir 4543 mkdir conftest.dir 4544 # Copy depcomp to subdir because otherwise we won't find it if we're 4545 # using a relative directory. 4546 cp "$am_depcomp" conftest.dir 4547 cd conftest.dir 4548 # We will build objects and dependencies in a subdirectory because 4549 # it helps to detect inapplicable dependency modes. For instance 4550 # both Tru64's cc and ICC support -MD to output dependencies as a 4551 # side effect of compilation, but ICC will put the dependencies in 4552 # the current directory while Tru64 will put them in the object 4553 # directory. 4554 mkdir sub 4555 4556 am_cv_CC_dependencies_compiler_type=none 4557 if test "$am_compiler_list" = ""; then 4558 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4559 fi 4560 am__universal=false 4561 case " $depcc " in #( 4562 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4563 esac 4564 4565 for depmode in $am_compiler_list; do 4566 # Setup a source with many dependencies, because some compilers 4567 # like to wrap large dependency lists on column 80 (with \), and 4568 # we should not choose a depcomp mode which is confused by this. 4569 # 4570 # We need to recreate these files for each test, as the compiler may 4571 # overwrite some of them when testing with obscure command lines. 4572 # This happens at least with the AIX C compiler. 4573 : > sub/conftest.c 4574 for i in 1 2 3 4 5 6; do 4575 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4576 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4577 # Solaris 10 /bin/sh. 4578 echo '/* dummy */' > sub/conftst$i.h 4579 done 4580 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4581 4582 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4583 # mode. It turns out that the SunPro C++ compiler does not properly 4584 # handle '-M -o', and we need to detect this. Also, some Intel 4585 # versions had trouble with output in subdirs. 4586 am__obj=sub/conftest.${OBJEXT-o} 4587 am__minus_obj="-o $am__obj" 4588 case $depmode in 4589 gcc) 4590 # This depmode causes a compiler race in universal mode. 4591 test "$am__universal" = false || continue 4592 ;; 4593 nosideeffect) 4594 # After this tag, mechanisms are not by side-effect, so they'll 4595 # only be used when explicitly requested. 4596 if test "x$enable_dependency_tracking" = xyes; then 4597 continue 4598 else 4599 break 4600 fi 4601 ;; 4602 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4603 # This compiler won't grok '-c -o', but also, the minuso test has 4604 # not run yet. These depmodes are late enough in the game, and 4605 # so weak that their functioning should not be impacted. 4606 am__obj=conftest.${OBJEXT-o} 4607 am__minus_obj= 4608 ;; 4609 none) break ;; 4610 esac 4611 if depmode=$depmode \ 4612 source=sub/conftest.c object=$am__obj \ 4613 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4614 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4615 >/dev/null 2>conftest.err && 4616 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4617 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4618 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4619 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4620 # icc doesn't choke on unknown options, it will just issue warnings 4621 # or remarks (even with -Werror). So we grep stderr for any message 4622 # that says an option was ignored or not supported. 4623 # When given -MP, icc 7.0 and 7.1 complain thusly: 4624 # icc: Command line warning: ignoring option '-M'; no argument required 4625 # The diagnosis changed in icc 8.0: 4626 # icc: Command line remark: option '-MP' not supported 4627 if (grep 'ignoring option' conftest.err || 4628 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4629 am_cv_CC_dependencies_compiler_type=$depmode 4630 break 4631 fi 4632 fi 4633 done 4634 4635 cd .. 4636 rm -rf conftest.dir 4637else 4638 am_cv_CC_dependencies_compiler_type=none 4639fi 4640 4641fi 4642{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4643$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4644CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4645 4646 if 4647 test "x$enable_dependency_tracking" != xno \ 4648 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4649 am__fastdepCC_TRUE= 4650 am__fastdepCC_FALSE='#' 4651else 4652 am__fastdepCC_TRUE='#' 4653 am__fastdepCC_FALSE= 4654fi 4655 4656 4657 4658ac_ext=c 4659ac_cpp='$CPP $CPPFLAGS' 4660ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4661ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4662ac_compiler_gnu=$ac_cv_c_compiler_gnu 4663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4664$as_echo_n "checking how to run the C preprocessor... " >&6; } 4665# On Suns, sometimes $CPP names a directory. 4666if test -n "$CPP" && test -d "$CPP"; then 4667 CPP= 4668fi 4669if test -z "$CPP"; then 4670 if ${ac_cv_prog_CPP+:} false; then : 4671 $as_echo_n "(cached) " >&6 4672else 4673 # Double quotes because CPP needs to be expanded 4674 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4675 do 4676 ac_preproc_ok=false 4677for ac_c_preproc_warn_flag in '' yes 4678do 4679 # Use a header file that comes with gcc, so configuring glibc 4680 # with a fresh cross-compiler works. 4681 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4682 # <limits.h> exists even on freestanding compilers. 4683 # On the NeXT, cc -E runs the code through the compiler's parser, 4684 # not just through cpp. "Syntax error" is here to catch this case. 4685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4686/* end confdefs.h. */ 4687#ifdef __STDC__ 4688# include <limits.h> 4689#else 4690# include <assert.h> 4691#endif 4692 Syntax error 4693_ACEOF 4694if ac_fn_c_try_cpp "$LINENO"; then : 4695 4696else 4697 # Broken: fails on valid input. 4698continue 4699fi 4700rm -f conftest.err conftest.i conftest.$ac_ext 4701 4702 # OK, works on sane cases. Now check whether nonexistent headers 4703 # can be detected and how. 4704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4705/* end confdefs.h. */ 4706#include <ac_nonexistent.h> 4707_ACEOF 4708if ac_fn_c_try_cpp "$LINENO"; then : 4709 # Broken: success on invalid input. 4710continue 4711else 4712 # Passes both tests. 4713ac_preproc_ok=: 4714break 4715fi 4716rm -f conftest.err conftest.i conftest.$ac_ext 4717 4718done 4719# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4720rm -f conftest.i conftest.err conftest.$ac_ext 4721if $ac_preproc_ok; then : 4722 break 4723fi 4724 4725 done 4726 ac_cv_prog_CPP=$CPP 4727 4728fi 4729 CPP=$ac_cv_prog_CPP 4730else 4731 ac_cv_prog_CPP=$CPP 4732fi 4733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4734$as_echo "$CPP" >&6; } 4735ac_preproc_ok=false 4736for ac_c_preproc_warn_flag in '' yes 4737do 4738 # Use a header file that comes with gcc, so configuring glibc 4739 # with a fresh cross-compiler works. 4740 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4741 # <limits.h> exists even on freestanding compilers. 4742 # On the NeXT, cc -E runs the code through the compiler's parser, 4743 # not just through cpp. "Syntax error" is here to catch this case. 4744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4745/* end confdefs.h. */ 4746#ifdef __STDC__ 4747# include <limits.h> 4748#else 4749# include <assert.h> 4750#endif 4751 Syntax error 4752_ACEOF 4753if ac_fn_c_try_cpp "$LINENO"; then : 4754 4755else 4756 # Broken: fails on valid input. 4757continue 4758fi 4759rm -f conftest.err conftest.i conftest.$ac_ext 4760 4761 # OK, works on sane cases. Now check whether nonexistent headers 4762 # can be detected and how. 4763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4764/* end confdefs.h. */ 4765#include <ac_nonexistent.h> 4766_ACEOF 4767if ac_fn_c_try_cpp "$LINENO"; then : 4768 # Broken: success on invalid input. 4769continue 4770else 4771 # Passes both tests. 4772ac_preproc_ok=: 4773break 4774fi 4775rm -f conftest.err conftest.i conftest.$ac_ext 4776 4777done 4778# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4779rm -f conftest.i conftest.err conftest.$ac_ext 4780if $ac_preproc_ok; then : 4781 4782else 4783 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4784$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4785as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4786See \`config.log' for more details" "$LINENO" 5; } 4787fi 4788 4789ac_ext=c 4790ac_cpp='$CPP $CPPFLAGS' 4791ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4792ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4793ac_compiler_gnu=$ac_cv_c_compiler_gnu 4794 4795 4796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4797$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4798if ${ac_cv_path_GREP+:} false; then : 4799 $as_echo_n "(cached) " >&6 4800else 4801 if test -z "$GREP"; then 4802 ac_path_GREP_found=false 4803 # Loop through the user's path and test for each of PROGNAME-LIST 4804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4805for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4806do 4807 IFS=$as_save_IFS 4808 test -z "$as_dir" && as_dir=. 4809 for ac_prog in grep ggrep; do 4810 for ac_exec_ext in '' $ac_executable_extensions; do 4811 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4812 as_fn_executable_p "$ac_path_GREP" || continue 4813# Check for GNU ac_path_GREP and select it if it is found. 4814 # Check for GNU $ac_path_GREP 4815case `"$ac_path_GREP" --version 2>&1` in 4816*GNU*) 4817 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4818*) 4819 ac_count=0 4820 $as_echo_n 0123456789 >"conftest.in" 4821 while : 4822 do 4823 cat "conftest.in" "conftest.in" >"conftest.tmp" 4824 mv "conftest.tmp" "conftest.in" 4825 cp "conftest.in" "conftest.nl" 4826 $as_echo 'GREP' >> "conftest.nl" 4827 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4828 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4829 as_fn_arith $ac_count + 1 && ac_count=$as_val 4830 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4831 # Best one so far, save it but keep looking for a better one 4832 ac_cv_path_GREP="$ac_path_GREP" 4833 ac_path_GREP_max=$ac_count 4834 fi 4835 # 10*(2^10) chars as input seems more than enough 4836 test $ac_count -gt 10 && break 4837 done 4838 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4839esac 4840 4841 $ac_path_GREP_found && break 3 4842 done 4843 done 4844 done 4845IFS=$as_save_IFS 4846 if test -z "$ac_cv_path_GREP"; then 4847 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4848 fi 4849else 4850 ac_cv_path_GREP=$GREP 4851fi 4852 4853fi 4854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4855$as_echo "$ac_cv_path_GREP" >&6; } 4856 GREP="$ac_cv_path_GREP" 4857 4858 4859{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4860$as_echo_n "checking for egrep... " >&6; } 4861if ${ac_cv_path_EGREP+:} false; then : 4862 $as_echo_n "(cached) " >&6 4863else 4864 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4865 then ac_cv_path_EGREP="$GREP -E" 4866 else 4867 if test -z "$EGREP"; then 4868 ac_path_EGREP_found=false 4869 # Loop through the user's path and test for each of PROGNAME-LIST 4870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4871for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4872do 4873 IFS=$as_save_IFS 4874 test -z "$as_dir" && as_dir=. 4875 for ac_prog in egrep; do 4876 for ac_exec_ext in '' $ac_executable_extensions; do 4877 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4878 as_fn_executable_p "$ac_path_EGREP" || continue 4879# Check for GNU ac_path_EGREP and select it if it is found. 4880 # Check for GNU $ac_path_EGREP 4881case `"$ac_path_EGREP" --version 2>&1` in 4882*GNU*) 4883 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4884*) 4885 ac_count=0 4886 $as_echo_n 0123456789 >"conftest.in" 4887 while : 4888 do 4889 cat "conftest.in" "conftest.in" >"conftest.tmp" 4890 mv "conftest.tmp" "conftest.in" 4891 cp "conftest.in" "conftest.nl" 4892 $as_echo 'EGREP' >> "conftest.nl" 4893 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4894 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4895 as_fn_arith $ac_count + 1 && ac_count=$as_val 4896 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4897 # Best one so far, save it but keep looking for a better one 4898 ac_cv_path_EGREP="$ac_path_EGREP" 4899 ac_path_EGREP_max=$ac_count 4900 fi 4901 # 10*(2^10) chars as input seems more than enough 4902 test $ac_count -gt 10 && break 4903 done 4904 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4905esac 4906 4907 $ac_path_EGREP_found && break 3 4908 done 4909 done 4910 done 4911IFS=$as_save_IFS 4912 if test -z "$ac_cv_path_EGREP"; then 4913 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4914 fi 4915else 4916 ac_cv_path_EGREP=$EGREP 4917fi 4918 4919 fi 4920fi 4921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4922$as_echo "$ac_cv_path_EGREP" >&6; } 4923 EGREP="$ac_cv_path_EGREP" 4924 4925 4926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4927$as_echo_n "checking for ANSI C header files... " >&6; } 4928if ${ac_cv_header_stdc+:} false; then : 4929 $as_echo_n "(cached) " >&6 4930else 4931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4932/* end confdefs.h. */ 4933#include <stdlib.h> 4934#include <stdarg.h> 4935#include <string.h> 4936#include <float.h> 4937 4938int 4939main () 4940{ 4941 4942 ; 4943 return 0; 4944} 4945_ACEOF 4946if ac_fn_c_try_compile "$LINENO"; then : 4947 ac_cv_header_stdc=yes 4948else 4949 ac_cv_header_stdc=no 4950fi 4951rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4952 4953if test $ac_cv_header_stdc = yes; then 4954 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4956/* end confdefs.h. */ 4957#include <string.h> 4958 4959_ACEOF 4960if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4961 $EGREP "memchr" >/dev/null 2>&1; then : 4962 4963else 4964 ac_cv_header_stdc=no 4965fi 4966rm -f conftest* 4967 4968fi 4969 4970if test $ac_cv_header_stdc = yes; then 4971 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4973/* end confdefs.h. */ 4974#include <stdlib.h> 4975 4976_ACEOF 4977if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4978 $EGREP "free" >/dev/null 2>&1; then : 4979 4980else 4981 ac_cv_header_stdc=no 4982fi 4983rm -f conftest* 4984 4985fi 4986 4987if test $ac_cv_header_stdc = yes; then 4988 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4989 if test "$cross_compiling" = yes; then : 4990 : 4991else 4992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4993/* end confdefs.h. */ 4994#include <ctype.h> 4995#include <stdlib.h> 4996#if ((' ' & 0x0FF) == 0x020) 4997# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4998# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4999#else 5000# define ISLOWER(c) \ 5001 (('a' <= (c) && (c) <= 'i') \ 5002 || ('j' <= (c) && (c) <= 'r') \ 5003 || ('s' <= (c) && (c) <= 'z')) 5004# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 5005#endif 5006 5007#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 5008int 5009main () 5010{ 5011 int i; 5012 for (i = 0; i < 256; i++) 5013 if (XOR (islower (i), ISLOWER (i)) 5014 || toupper (i) != TOUPPER (i)) 5015 return 2; 5016 return 0; 5017} 5018_ACEOF 5019if ac_fn_c_try_run "$LINENO"; then : 5020 5021else 5022 ac_cv_header_stdc=no 5023fi 5024rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5025 conftest.$ac_objext conftest.beam conftest.$ac_ext 5026fi 5027 5028fi 5029fi 5030{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 5031$as_echo "$ac_cv_header_stdc" >&6; } 5032if test $ac_cv_header_stdc = yes; then 5033 5034$as_echo "#define STDC_HEADERS 1" >>confdefs.h 5035 5036fi 5037 5038# On IRIX 5.3, sys/types and inttypes.h are conflicting. 5039for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 5040 inttypes.h stdint.h unistd.h 5041do : 5042 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5043ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 5044" 5045if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5046 cat >>confdefs.h <<_ACEOF 5047#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5048_ACEOF 5049 5050fi 5051 5052done 5053 5054 5055 5056 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 5057if test "x$ac_cv_header_minix_config_h" = xyes; then : 5058 MINIX=yes 5059else 5060 MINIX= 5061fi 5062 5063 5064 if test "$MINIX" = yes; then 5065 5066$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 5067 5068 5069$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 5070 5071 5072$as_echo "#define _MINIX 1" >>confdefs.h 5073 5074 fi 5075 5076 5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 5078$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 5079if ${ac_cv_safe_to_define___extensions__+:} false; then : 5080 $as_echo_n "(cached) " >&6 5081else 5082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5083/* end confdefs.h. */ 5084 5085# define __EXTENSIONS__ 1 5086 $ac_includes_default 5087int 5088main () 5089{ 5090 5091 ; 5092 return 0; 5093} 5094_ACEOF 5095if ac_fn_c_try_compile "$LINENO"; then : 5096 ac_cv_safe_to_define___extensions__=yes 5097else 5098 ac_cv_safe_to_define___extensions__=no 5099fi 5100rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5101fi 5102{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 5103$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 5104 test $ac_cv_safe_to_define___extensions__ = yes && 5105 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 5106 5107 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 5108 5109 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 5110 5111 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 5112 5113 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 5114 5115 5116 5117 5118 5119 case $ac_cv_prog_cc_stdc in #( 5120 no) : 5121 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #( 5122 *) : 5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 5124$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 5125if ${ac_cv_prog_cc_c99+:} false; then : 5126 $as_echo_n "(cached) " >&6 5127else 5128 ac_cv_prog_cc_c99=no 5129ac_save_CC=$CC 5130cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5131/* end confdefs.h. */ 5132#include <stdarg.h> 5133#include <stdbool.h> 5134#include <stdlib.h> 5135#include <wchar.h> 5136#include <stdio.h> 5137 5138// Check varargs macros. These examples are taken from C99 6.10.3.5. 5139#define debug(...) fprintf (stderr, __VA_ARGS__) 5140#define showlist(...) puts (#__VA_ARGS__) 5141#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 5142static void 5143test_varargs_macros (void) 5144{ 5145 int x = 1234; 5146 int y = 5678; 5147 debug ("Flag"); 5148 debug ("X = %d\n", x); 5149 showlist (The first, second, and third items.); 5150 report (x>y, "x is %d but y is %d", x, y); 5151} 5152 5153// Check long long types. 5154#define BIG64 18446744073709551615ull 5155#define BIG32 4294967295ul 5156#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 5157#if !BIG_OK 5158 your preprocessor is broken; 5159#endif 5160#if BIG_OK 5161#else 5162 your preprocessor is broken; 5163#endif 5164static long long int bignum = -9223372036854775807LL; 5165static unsigned long long int ubignum = BIG64; 5166 5167struct incomplete_array 5168{ 5169 int datasize; 5170 double data[]; 5171}; 5172 5173struct named_init { 5174 int number; 5175 const wchar_t *name; 5176 double average; 5177}; 5178 5179typedef const char *ccp; 5180 5181static inline int 5182test_restrict (ccp restrict text) 5183{ 5184 // See if C++-style comments work. 5185 // Iterate through items via the restricted pointer. 5186 // Also check for declarations in for loops. 5187 for (unsigned int i = 0; *(text+i) != '\0'; ++i) 5188 continue; 5189 return 0; 5190} 5191 5192// Check varargs and va_copy. 5193static void 5194test_varargs (const char *format, ...) 5195{ 5196 va_list args; 5197 va_start (args, format); 5198 va_list args_copy; 5199 va_copy (args_copy, args); 5200 5201 const char *str; 5202 int number; 5203 float fnumber; 5204 5205 while (*format) 5206 { 5207 switch (*format++) 5208 { 5209 case 's': // string 5210 str = va_arg (args_copy, const char *); 5211 break; 5212 case 'd': // int 5213 number = va_arg (args_copy, int); 5214 break; 5215 case 'f': // float 5216 fnumber = va_arg (args_copy, double); 5217 break; 5218 default: 5219 break; 5220 } 5221 } 5222 va_end (args_copy); 5223 va_end (args); 5224} 5225 5226int 5227main () 5228{ 5229 5230 // Check bool. 5231 _Bool success = false; 5232 5233 // Check restrict. 5234 if (test_restrict ("String literal") == 0) 5235 success = true; 5236 char *restrict newvar = "Another string"; 5237 5238 // Check varargs. 5239 test_varargs ("s, d' f .", "string", 65, 34.234); 5240 test_varargs_macros (); 5241 5242 // Check flexible array members. 5243 struct incomplete_array *ia = 5244 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 5245 ia->datasize = 10; 5246 for (int i = 0; i < ia->datasize; ++i) 5247 ia->data[i] = i * 1.234; 5248 5249 // Check named initializers. 5250 struct named_init ni = { 5251 .number = 34, 5252 .name = L"Test wide string", 5253 .average = 543.34343, 5254 }; 5255 5256 ni.number = 58; 5257 5258 int dynamic_array[ni.number]; 5259 dynamic_array[ni.number - 1] = 543; 5260 5261 // work around unused variable warnings 5262 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 5263 || dynamic_array[ni.number - 1] != 543); 5264 5265 ; 5266 return 0; 5267} 5268_ACEOF 5269for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 5270do 5271 CC="$ac_save_CC $ac_arg" 5272 if ac_fn_c_try_compile "$LINENO"; then : 5273 ac_cv_prog_cc_c99=$ac_arg 5274fi 5275rm -f core conftest.err conftest.$ac_objext 5276 test "x$ac_cv_prog_cc_c99" != "xno" && break 5277done 5278rm -f conftest.$ac_ext 5279CC=$ac_save_CC 5280 5281fi 5282# AC_CACHE_VAL 5283case "x$ac_cv_prog_cc_c99" in 5284 x) 5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 5286$as_echo "none needed" >&6; } ;; 5287 xno) 5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 5289$as_echo "unsupported" >&6; } ;; 5290 *) 5291 CC="$CC $ac_cv_prog_cc_c99" 5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 5293$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 5294esac 5295if test "x$ac_cv_prog_cc_c99" != xno; then : 5296 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 5297else 5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 5299$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 5300if ${ac_cv_prog_cc_c89+:} false; then : 5301 $as_echo_n "(cached) " >&6 5302else 5303 ac_cv_prog_cc_c89=no 5304ac_save_CC=$CC 5305cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5306/* end confdefs.h. */ 5307#include <stdarg.h> 5308#include <stdio.h> 5309struct stat; 5310/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 5311struct buf { int x; }; 5312FILE * (*rcsopen) (struct buf *, struct stat *, int); 5313static char *e (p, i) 5314 char **p; 5315 int i; 5316{ 5317 return p[i]; 5318} 5319static char *f (char * (*g) (char **, int), char **p, ...) 5320{ 5321 char *s; 5322 va_list v; 5323 va_start (v,p); 5324 s = g (p, va_arg (v,int)); 5325 va_end (v); 5326 return s; 5327} 5328 5329/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 5330 function prototypes and stuff, but not '\xHH' hex character constants. 5331 These don't provoke an error unfortunately, instead are silently treated 5332 as 'x'. The following induces an error, until -std is added to get 5333 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 5334 array size at least. It's necessary to write '\x00'==0 to get something 5335 that's true only with -std. */ 5336int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 5337 5338/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 5339 inside strings and character constants. */ 5340#define FOO(x) 'x' 5341int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 5342 5343int test (int i, double x); 5344struct s1 {int (*f) (int a);}; 5345struct s2 {int (*f) (double a);}; 5346int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 5347int argc; 5348char **argv; 5349int 5350main () 5351{ 5352return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 5353 ; 5354 return 0; 5355} 5356_ACEOF 5357for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 5358 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 5359do 5360 CC="$ac_save_CC $ac_arg" 5361 if ac_fn_c_try_compile "$LINENO"; then : 5362 ac_cv_prog_cc_c89=$ac_arg 5363fi 5364rm -f core conftest.err conftest.$ac_objext 5365 test "x$ac_cv_prog_cc_c89" != "xno" && break 5366done 5367rm -f conftest.$ac_ext 5368CC=$ac_save_CC 5369 5370fi 5371# AC_CACHE_VAL 5372case "x$ac_cv_prog_cc_c89" in 5373 x) 5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 5375$as_echo "none needed" >&6; } ;; 5376 xno) 5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 5378$as_echo "unsupported" >&6; } ;; 5379 *) 5380 CC="$CC $ac_cv_prog_cc_c89" 5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 5382$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 5383esac 5384if test "x$ac_cv_prog_cc_c89" != xno; then : 5385 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 5386else 5387 ac_cv_prog_cc_stdc=no 5388fi 5389 5390fi 5391 ;; 5392esac 5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5 5394$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; } 5395 if ${ac_cv_prog_cc_stdc+:} false; then : 5396 $as_echo_n "(cached) " >&6 5397fi 5398 5399 case $ac_cv_prog_cc_stdc in #( 5400 no) : 5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 5402$as_echo "unsupported" >&6; } ;; #( 5403 '') : 5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 5405$as_echo "none needed" >&6; } ;; #( 5406 *) : 5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5 5408$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;; 5409esac 5410 5411 5412 5413 5414 ac_ext=c 5415ac_cpp='$CPP $CPPFLAGS' 5416ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5417ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5418ac_compiler_gnu=$ac_cv_c_compiler_gnu 5419 5420 5421 mc_configured_cflags="" 5422 5423case "$CC" in 5424 gcc*) 5425 5426 5427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fdiagnostics-show-option" >&5 5428$as_echo_n "checking whether ${CC} accepts -fdiagnostics-show-option... " >&6; } 5429 5430 safe_CFLAGS=$CFLAGS 5431 5432 case "$CC" in 5433 *) 5434 CFLAGS="-Werror -fdiagnostics-show-option" 5435 ;; 5436 *) 5437 CFLAGS="-fdiagnostics-show-option" 5438 ;; 5439 esac 5440 5441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5442/* end confdefs.h. */ 5443 5444int 5445main () 5446{ 5447return 0; 5448 ; 5449 return 0; 5450} 5451_ACEOF 5452if ac_fn_c_try_compile "$LINENO"; then : 5453 mc_check_one_cflag=yes 5454else 5455 mc_check_one_cflag=no 5456fi 5457rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5458 5459 CFLAGS=$safe_CFLAGS 5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 5461$as_echo "$mc_check_one_cflag" >&6; } 5462 5463 if test x$mc_check_one_cflag = xyes; then 5464 mc_configured_cflags="$mc_configured_cflags -fdiagnostics-show-option" 5465 fi 5466 5467 ;; 5468 *) 5469 ;; 5470esac 5471 5472 5473 5474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wassign-enum" >&5 5475$as_echo_n "checking whether ${CC} accepts -Wassign-enum... " >&6; } 5476 5477 safe_CFLAGS=$CFLAGS 5478 5479 case "$CC" in 5480 *) 5481 CFLAGS="-Werror -Wassign-enum" 5482 ;; 5483 *) 5484 CFLAGS="-Wassign-enum" 5485 ;; 5486 esac 5487 5488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5489/* end confdefs.h. */ 5490 5491int 5492main () 5493{ 5494return 0; 5495 ; 5496 return 0; 5497} 5498_ACEOF 5499if ac_fn_c_try_compile "$LINENO"; then : 5500 mc_check_one_cflag=yes 5501else 5502 mc_check_one_cflag=no 5503fi 5504rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5505 5506 CFLAGS=$safe_CFLAGS 5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 5508$as_echo "$mc_check_one_cflag" >&6; } 5509 5510 if test x$mc_check_one_cflag = xyes; then 5511 mc_configured_cflags="$mc_configured_cflags -Wassign-enum" 5512 fi 5513 5514 5515 5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbad-function-cast" >&5 5517$as_echo_n "checking whether ${CC} accepts -Wbad-function-cast... " >&6; } 5518 5519 safe_CFLAGS=$CFLAGS 5520 5521 case "$CC" in 5522 *) 5523 CFLAGS="-Werror -Wbad-function-cast" 5524 ;; 5525 *) 5526 CFLAGS="-Wbad-function-cast" 5527 ;; 5528 esac 5529 5530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5531/* end confdefs.h. */ 5532 5533int 5534main () 5535{ 5536return 0; 5537 ; 5538 return 0; 5539} 5540_ACEOF 5541if ac_fn_c_try_compile "$LINENO"; then : 5542 mc_check_one_cflag=yes 5543else 5544 mc_check_one_cflag=no 5545fi 5546rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5547 5548 CFLAGS=$safe_CFLAGS 5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 5550$as_echo "$mc_check_one_cflag" >&6; } 5551 5552 if test x$mc_check_one_cflag = xyes; then 5553 mc_configured_cflags="$mc_configured_cflags -Wbad-function-cast" 5554 fi 5555 5556 5557 5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5 5559$as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; } 5560 5561 safe_CFLAGS=$CFLAGS 5562 5563 case "$CC" in 5564 *) 5565 CFLAGS="-Werror -Wcomment" 5566 ;; 5567 *) 5568 CFLAGS="-Wcomment" 5569 ;; 5570 esac 5571 5572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5573/* end confdefs.h. */ 5574 5575int 5576main () 5577{ 5578return 0; 5579 ; 5580 return 0; 5581} 5582_ACEOF 5583if ac_fn_c_try_compile "$LINENO"; then : 5584 mc_check_one_cflag=yes 5585else 5586 mc_check_one_cflag=no 5587fi 5588rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5589 5590 CFLAGS=$safe_CFLAGS 5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 5592$as_echo "$mc_check_one_cflag" >&6; } 5593 5594 if test x$mc_check_one_cflag = xyes; then 5595 mc_configured_cflags="$mc_configured_cflags -Wcomment" 5596 fi 5597 5598 5599 5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconditional-uninitialized" >&5 5601$as_echo_n "checking whether ${CC} accepts -Wconditional-uninitialized... " >&6; } 5602 5603 safe_CFLAGS=$CFLAGS 5604 5605 case "$CC" in 5606 *) 5607 CFLAGS="-Werror -Wconditional-uninitialized" 5608 ;; 5609 *) 5610 CFLAGS="-Wconditional-uninitialized" 5611 ;; 5612 esac 5613 5614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5615/* end confdefs.h. */ 5616 5617int 5618main () 5619{ 5620return 0; 5621 ; 5622 return 0; 5623} 5624_ACEOF 5625if ac_fn_c_try_compile "$LINENO"; then : 5626 mc_check_one_cflag=yes 5627else 5628 mc_check_one_cflag=no 5629fi 5630rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5631 5632 CFLAGS=$safe_CFLAGS 5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 5634$as_echo "$mc_check_one_cflag" >&6; } 5635 5636 if test x$mc_check_one_cflag = xyes; then 5637 mc_configured_cflags="$mc_configured_cflags -Wconditional-uninitialized" 5638 fi 5639 5640 5641 5642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeclaration-after-statement" >&5 5643$as_echo_n "checking whether ${CC} accepts -Wdeclaration-after-statement... " >&6; } 5644 5645 safe_CFLAGS=$CFLAGS 5646 5647 case "$CC" in 5648 *) 5649 CFLAGS="-Werror -Wdeclaration-after-statement" 5650 ;; 5651 *) 5652 CFLAGS="-Wdeclaration-after-statement" 5653 ;; 5654 esac 5655 5656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5657/* end confdefs.h. */ 5658 5659int 5660main () 5661{ 5662return 0; 5663 ; 5664 return 0; 5665} 5666_ACEOF 5667if ac_fn_c_try_compile "$LINENO"; then : 5668 mc_check_one_cflag=yes 5669else 5670 mc_check_one_cflag=no 5671fi 5672rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5673 5674 CFLAGS=$safe_CFLAGS 5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 5676$as_echo "$mc_check_one_cflag" >&6; } 5677 5678 if test x$mc_check_one_cflag = xyes; then 5679 mc_configured_cflags="$mc_configured_cflags -Wdeclaration-after-statement" 5680 fi 5681 5682 5683 5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wfloat-conversion" >&5 5685$as_echo_n "checking whether ${CC} accepts -Wfloat-conversion... " >&6; } 5686 5687 safe_CFLAGS=$CFLAGS 5688 5689 case "$CC" in 5690 *) 5691 CFLAGS="-Werror -Wfloat-conversion" 5692 ;; 5693 *) 5694 CFLAGS="-Wfloat-conversion" 5695 ;; 5696 esac 5697 5698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5699/* end confdefs.h. */ 5700 5701int 5702main () 5703{ 5704return 0; 5705 ; 5706 return 0; 5707} 5708_ACEOF 5709if ac_fn_c_try_compile "$LINENO"; then : 5710 mc_check_one_cflag=yes 5711else 5712 mc_check_one_cflag=no 5713fi 5714rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5715 5716 CFLAGS=$safe_CFLAGS 5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 5718$as_echo "$mc_check_one_cflag" >&6; } 5719 5720 if test x$mc_check_one_cflag = xyes; then 5721 mc_configured_cflags="$mc_configured_cflags -Wfloat-conversion" 5722 fi 5723 5724 5725 5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wfloat-equal" >&5 5727$as_echo_n "checking whether ${CC} accepts -Wfloat-equal... " >&6; } 5728 5729 safe_CFLAGS=$CFLAGS 5730 5731 case "$CC" in 5732 *) 5733 CFLAGS="-Werror -Wfloat-equal" 5734 ;; 5735 *) 5736 CFLAGS="-Wfloat-equal" 5737 ;; 5738 esac 5739 5740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5741/* end confdefs.h. */ 5742 5743int 5744main () 5745{ 5746return 0; 5747 ; 5748 return 0; 5749} 5750_ACEOF 5751if ac_fn_c_try_compile "$LINENO"; then : 5752 mc_check_one_cflag=yes 5753else 5754 mc_check_one_cflag=no 5755fi 5756rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5757 5758 CFLAGS=$safe_CFLAGS 5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 5760$as_echo "$mc_check_one_cflag" >&6; } 5761 5762 if test x$mc_check_one_cflag = xyes; then 5763 mc_configured_cflags="$mc_configured_cflags -Wfloat-equal" 5764 fi 5765 5766 5767 5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5 5769$as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; } 5770 5771 safe_CFLAGS=$CFLAGS 5772 5773 case "$CC" in 5774 *) 5775 CFLAGS="-Werror -Wformat" 5776 ;; 5777 *) 5778 CFLAGS="-Wformat" 5779 ;; 5780 esac 5781 5782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5783/* end confdefs.h. */ 5784 5785int 5786main () 5787{ 5788return 0; 5789 ; 5790 return 0; 5791} 5792_ACEOF 5793if ac_fn_c_try_compile "$LINENO"; then : 5794 mc_check_one_cflag=yes 5795else 5796 mc_check_one_cflag=no 5797fi 5798rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5799 5800 CFLAGS=$safe_CFLAGS 5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 5802$as_echo "$mc_check_one_cflag" >&6; } 5803 5804 if test x$mc_check_one_cflag = xyes; then 5805 mc_configured_cflags="$mc_configured_cflags -Wformat" 5806 fi 5807 5808 5809 5810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5 5811$as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; } 5812 5813 safe_CFLAGS=$CFLAGS 5814 5815 case "$CC" in 5816 *) 5817 CFLAGS="-Werror -Wformat-security" 5818 ;; 5819 *) 5820 CFLAGS="-Wformat-security" 5821 ;; 5822 esac 5823 5824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5825/* end confdefs.h. */ 5826 5827int 5828main () 5829{ 5830return 0; 5831 ; 5832 return 0; 5833} 5834_ACEOF 5835if ac_fn_c_try_compile "$LINENO"; then : 5836 mc_check_one_cflag=yes 5837else 5838 mc_check_one_cflag=no 5839fi 5840rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5841 5842 CFLAGS=$safe_CFLAGS 5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 5844$as_echo "$mc_check_one_cflag" >&6; } 5845 5846 if test x$mc_check_one_cflag = xyes; then 5847 mc_configured_cflags="$mc_configured_cflags -Wformat-security" 5848 fi 5849 5850 5851 5852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-signedness" >&5 5853$as_echo_n "checking whether ${CC} accepts -Wformat-signedness... " >&6; } 5854 5855 safe_CFLAGS=$CFLAGS 5856 5857 case "$CC" in 5858 *) 5859 CFLAGS="-Werror -Wformat-signedness" 5860 ;; 5861 *) 5862 CFLAGS="-Wformat-signedness" 5863 ;; 5864 esac 5865 5866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5867/* end confdefs.h. */ 5868 5869int 5870main () 5871{ 5872return 0; 5873 ; 5874 return 0; 5875} 5876_ACEOF 5877if ac_fn_c_try_compile "$LINENO"; then : 5878 mc_check_one_cflag=yes 5879else 5880 mc_check_one_cflag=no 5881fi 5882rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5883 5884 CFLAGS=$safe_CFLAGS 5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 5886$as_echo "$mc_check_one_cflag" >&6; } 5887 5888 if test x$mc_check_one_cflag = xyes; then 5889 mc_configured_cflags="$mc_configured_cflags -Wformat-signedness" 5890 fi 5891 5892 5893 5894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit" >&5 5895$as_echo_n "checking whether ${CC} accepts -Wimplicit... " >&6; } 5896 5897 safe_CFLAGS=$CFLAGS 5898 5899 case "$CC" in 5900 *) 5901 CFLAGS="-Werror -Wimplicit" 5902 ;; 5903 *) 5904 CFLAGS="-Wimplicit" 5905 ;; 5906 esac 5907 5908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5909/* end confdefs.h. */ 5910 5911int 5912main () 5913{ 5914return 0; 5915 ; 5916 return 0; 5917} 5918_ACEOF 5919if ac_fn_c_try_compile "$LINENO"; then : 5920 mc_check_one_cflag=yes 5921else 5922 mc_check_one_cflag=no 5923fi 5924rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5925 5926 CFLAGS=$safe_CFLAGS 5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 5928$as_echo "$mc_check_one_cflag" >&6; } 5929 5930 if test x$mc_check_one_cflag = xyes; then 5931 mc_configured_cflags="$mc_configured_cflags -Wimplicit" 5932 fi 5933 5934 5935 5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-fallthrough" >&5 5937$as_echo_n "checking whether ${CC} accepts -Wimplicit-fallthrough... " >&6; } 5938 5939 safe_CFLAGS=$CFLAGS 5940 5941 case "$CC" in 5942 *) 5943 CFLAGS="-Werror -Wimplicit-fallthrough" 5944 ;; 5945 *) 5946 CFLAGS="-Wimplicit-fallthrough" 5947 ;; 5948 esac 5949 5950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5951/* end confdefs.h. */ 5952 5953int 5954main () 5955{ 5956return 0; 5957 ; 5958 return 0; 5959} 5960_ACEOF 5961if ac_fn_c_try_compile "$LINENO"; then : 5962 mc_check_one_cflag=yes 5963else 5964 mc_check_one_cflag=no 5965fi 5966rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5967 5968 CFLAGS=$safe_CFLAGS 5969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 5970$as_echo "$mc_check_one_cflag" >&6; } 5971 5972 if test x$mc_check_one_cflag = xyes; then 5973 mc_configured_cflags="$mc_configured_cflags -Wimplicit-fallthrough" 5974 fi 5975 5976 5977 5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wignored-qualifiers" >&5 5979$as_echo_n "checking whether ${CC} accepts -Wignored-qualifiers... " >&6; } 5980 5981 safe_CFLAGS=$CFLAGS 5982 5983 case "$CC" in 5984 *) 5985 CFLAGS="-Werror -Wignored-qualifiers" 5986 ;; 5987 *) 5988 CFLAGS="-Wignored-qualifiers" 5989 ;; 5990 esac 5991 5992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5993/* end confdefs.h. */ 5994 5995int 5996main () 5997{ 5998return 0; 5999 ; 6000 return 0; 6001} 6002_ACEOF 6003if ac_fn_c_try_compile "$LINENO"; then : 6004 mc_check_one_cflag=yes 6005else 6006 mc_check_one_cflag=no 6007fi 6008rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6009 6010 CFLAGS=$safe_CFLAGS 6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 6012$as_echo "$mc_check_one_cflag" >&6; } 6013 6014 if test x$mc_check_one_cflag = xyes; then 6015 mc_configured_cflags="$mc_configured_cflags -Wignored-qualifiers" 6016 fi 6017 6018 6019 6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5 6021$as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; } 6022 6023 safe_CFLAGS=$CFLAGS 6024 6025 case "$CC" in 6026 *) 6027 CFLAGS="-Werror -Wlogical-not-parentheses" 6028 ;; 6029 *) 6030 CFLAGS="-Wlogical-not-parentheses" 6031 ;; 6032 esac 6033 6034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6035/* end confdefs.h. */ 6036 6037int 6038main () 6039{ 6040return 0; 6041 ; 6042 return 0; 6043} 6044_ACEOF 6045if ac_fn_c_try_compile "$LINENO"; then : 6046 mc_check_one_cflag=yes 6047else 6048 mc_check_one_cflag=no 6049fi 6050rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6051 6052 CFLAGS=$safe_CFLAGS 6053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 6054$as_echo "$mc_check_one_cflag" >&6; } 6055 6056 if test x$mc_check_one_cflag = xyes; then 6057 mc_configured_cflags="$mc_configured_cflags -Wlogical-not-parentheses" 6058 fi 6059 6060 6061 6062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5 6063$as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; } 6064 6065 safe_CFLAGS=$CFLAGS 6066 6067 case "$CC" in 6068 *) 6069 CFLAGS="-Werror -Wmaybe-uninitialized" 6070 ;; 6071 *) 6072 CFLAGS="-Wmaybe-uninitialized" 6073 ;; 6074 esac 6075 6076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6077/* end confdefs.h. */ 6078 6079int 6080main () 6081{ 6082return 0; 6083 ; 6084 return 0; 6085} 6086_ACEOF 6087if ac_fn_c_try_compile "$LINENO"; then : 6088 mc_check_one_cflag=yes 6089else 6090 mc_check_one_cflag=no 6091fi 6092rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6093 6094 CFLAGS=$safe_CFLAGS 6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 6096$as_echo "$mc_check_one_cflag" >&6; } 6097 6098 if test x$mc_check_one_cflag = xyes; then 6099 mc_configured_cflags="$mc_configured_cflags -Wmaybe-uninitialized" 6100 fi 6101 6102 6103 6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5 6105$as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; } 6106 6107 safe_CFLAGS=$CFLAGS 6108 6109 case "$CC" in 6110 *) 6111 CFLAGS="-Werror -Wmissing-braces" 6112 ;; 6113 *) 6114 CFLAGS="-Wmissing-braces" 6115 ;; 6116 esac 6117 6118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6119/* end confdefs.h. */ 6120 6121int 6122main () 6123{ 6124return 0; 6125 ; 6126 return 0; 6127} 6128_ACEOF 6129if ac_fn_c_try_compile "$LINENO"; then : 6130 mc_check_one_cflag=yes 6131else 6132 mc_check_one_cflag=no 6133fi 6134rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6135 6136 CFLAGS=$safe_CFLAGS 6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 6138$as_echo "$mc_check_one_cflag" >&6; } 6139 6140 if test x$mc_check_one_cflag = xyes; then 6141 mc_configured_cflags="$mc_configured_cflags -Wmissing-braces" 6142 fi 6143 6144 6145 6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-declarations" >&5 6147$as_echo_n "checking whether ${CC} accepts -Wmissing-declarations... " >&6; } 6148 6149 safe_CFLAGS=$CFLAGS 6150 6151 case "$CC" in 6152 *) 6153 CFLAGS="-Werror -Wmissing-declarations" 6154 ;; 6155 *) 6156 CFLAGS="-Wmissing-declarations" 6157 ;; 6158 esac 6159 6160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6161/* end confdefs.h. */ 6162 6163int 6164main () 6165{ 6166return 0; 6167 ; 6168 return 0; 6169} 6170_ACEOF 6171if ac_fn_c_try_compile "$LINENO"; then : 6172 mc_check_one_cflag=yes 6173else 6174 mc_check_one_cflag=no 6175fi 6176rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6177 6178 CFLAGS=$safe_CFLAGS 6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 6180$as_echo "$mc_check_one_cflag" >&6; } 6181 6182 if test x$mc_check_one_cflag = xyes; then 6183 mc_configured_cflags="$mc_configured_cflags -Wmissing-declarations" 6184 fi 6185 6186 6187 6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-field-initializers" >&5 6189$as_echo_n "checking whether ${CC} accepts -Wmissing-field-initializers... " >&6; } 6190 6191 safe_CFLAGS=$CFLAGS 6192 6193 case "$CC" in 6194 *) 6195 CFLAGS="-Werror -Wmissing-field-initializers" 6196 ;; 6197 *) 6198 CFLAGS="-Wmissing-field-initializers" 6199 ;; 6200 esac 6201 6202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6203/* end confdefs.h. */ 6204 6205int 6206main () 6207{ 6208return 0; 6209 ; 6210 return 0; 6211} 6212_ACEOF 6213if ac_fn_c_try_compile "$LINENO"; then : 6214 mc_check_one_cflag=yes 6215else 6216 mc_check_one_cflag=no 6217fi 6218rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6219 6220 CFLAGS=$safe_CFLAGS 6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 6222$as_echo "$mc_check_one_cflag" >&6; } 6223 6224 if test x$mc_check_one_cflag = xyes; then 6225 mc_configured_cflags="$mc_configured_cflags -Wmissing-field-initializers" 6226 fi 6227 6228 6229 6230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-format-attribute" >&5 6231$as_echo_n "checking whether ${CC} accepts -Wmissing-format-attribute... " >&6; } 6232 6233 safe_CFLAGS=$CFLAGS 6234 6235 case "$CC" in 6236 *) 6237 CFLAGS="-Werror -Wmissing-format-attribute" 6238 ;; 6239 *) 6240 CFLAGS="-Wmissing-format-attribute" 6241 ;; 6242 esac 6243 6244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6245/* end confdefs.h. */ 6246 6247int 6248main () 6249{ 6250return 0; 6251 ; 6252 return 0; 6253} 6254_ACEOF 6255if ac_fn_c_try_compile "$LINENO"; then : 6256 mc_check_one_cflag=yes 6257else 6258 mc_check_one_cflag=no 6259fi 6260rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6261 6262 CFLAGS=$safe_CFLAGS 6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 6264$as_echo "$mc_check_one_cflag" >&6; } 6265 6266 if test x$mc_check_one_cflag = xyes; then 6267 mc_configured_cflags="$mc_configured_cflags -Wmissing-format-attribute" 6268 fi 6269 6270 6271 6272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-parameter-type" >&5 6273$as_echo_n "checking whether ${CC} accepts -Wmissing-parameter-type... " >&6; } 6274 6275 safe_CFLAGS=$CFLAGS 6276 6277 case "$CC" in 6278 *) 6279 CFLAGS="-Werror -Wmissing-parameter-type" 6280 ;; 6281 *) 6282 CFLAGS="-Wmissing-parameter-type" 6283 ;; 6284 esac 6285 6286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6287/* end confdefs.h. */ 6288 6289int 6290main () 6291{ 6292return 0; 6293 ; 6294 return 0; 6295} 6296_ACEOF 6297if ac_fn_c_try_compile "$LINENO"; then : 6298 mc_check_one_cflag=yes 6299else 6300 mc_check_one_cflag=no 6301fi 6302rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6303 6304 CFLAGS=$safe_CFLAGS 6305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 6306$as_echo "$mc_check_one_cflag" >&6; } 6307 6308 if test x$mc_check_one_cflag = xyes; then 6309 mc_configured_cflags="$mc_configured_cflags -Wmissing-parameter-type" 6310 fi 6311 6312 6313 6314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-prototypes" >&5 6315$as_echo_n "checking whether ${CC} accepts -Wmissing-prototypes... " >&6; } 6316 6317 safe_CFLAGS=$CFLAGS 6318 6319 case "$CC" in 6320 *) 6321 CFLAGS="-Werror -Wmissing-prototypes" 6322 ;; 6323 *) 6324 CFLAGS="-Wmissing-prototypes" 6325 ;; 6326 esac 6327 6328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6329/* end confdefs.h. */ 6330 6331int 6332main () 6333{ 6334return 0; 6335 ; 6336 return 0; 6337} 6338_ACEOF 6339if ac_fn_c_try_compile "$LINENO"; then : 6340 mc_check_one_cflag=yes 6341else 6342 mc_check_one_cflag=no 6343fi 6344rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6345 6346 CFLAGS=$safe_CFLAGS 6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 6348$as_echo "$mc_check_one_cflag" >&6; } 6349 6350 if test x$mc_check_one_cflag = xyes; then 6351 mc_configured_cflags="$mc_configured_cflags -Wmissing-prototypes" 6352 fi 6353 6354 6355 6356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-variable-declarations" >&5 6357$as_echo_n "checking whether ${CC} accepts -Wmissing-variable-declarations... " >&6; } 6358 6359 safe_CFLAGS=$CFLAGS 6360 6361 case "$CC" in 6362 *) 6363 CFLAGS="-Werror -Wmissing-variable-declarations" 6364 ;; 6365 *) 6366 CFLAGS="-Wmissing-variable-declarations" 6367 ;; 6368 esac 6369 6370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6371/* end confdefs.h. */ 6372 6373int 6374main () 6375{ 6376return 0; 6377 ; 6378 return 0; 6379} 6380_ACEOF 6381if ac_fn_c_try_compile "$LINENO"; then : 6382 mc_check_one_cflag=yes 6383else 6384 mc_check_one_cflag=no 6385fi 6386rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6387 6388 CFLAGS=$safe_CFLAGS 6389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 6390$as_echo "$mc_check_one_cflag" >&6; } 6391 6392 if test x$mc_check_one_cflag = xyes; then 6393 mc_configured_cflags="$mc_configured_cflags -Wmissing-variable-declarations" 6394 fi 6395 6396 6397 6398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnested-externs" >&5 6399$as_echo_n "checking whether ${CC} accepts -Wnested-externs... " >&6; } 6400 6401 safe_CFLAGS=$CFLAGS 6402 6403 case "$CC" in 6404 *) 6405 CFLAGS="-Werror -Wnested-externs" 6406 ;; 6407 *) 6408 CFLAGS="-Wnested-externs" 6409 ;; 6410 esac 6411 6412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6413/* end confdefs.h. */ 6414 6415int 6416main () 6417{ 6418return 0; 6419 ; 6420 return 0; 6421} 6422_ACEOF 6423if ac_fn_c_try_compile "$LINENO"; then : 6424 mc_check_one_cflag=yes 6425else 6426 mc_check_one_cflag=no 6427fi 6428rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6429 6430 CFLAGS=$safe_CFLAGS 6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 6432$as_echo "$mc_check_one_cflag" >&6; } 6433 6434 if test x$mc_check_one_cflag = xyes; then 6435 mc_configured_cflags="$mc_configured_cflags -Wnested-externs" 6436 fi 6437 6438 6439 6440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-long-long" >&5 6441$as_echo_n "checking whether ${CC} accepts -Wno-long-long... " >&6; } 6442 6443 safe_CFLAGS=$CFLAGS 6444 6445 case "$CC" in 6446 *) 6447 CFLAGS="-Werror -Wno-long-long" 6448 ;; 6449 *) 6450 CFLAGS="-Wno-long-long" 6451 ;; 6452 esac 6453 6454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6455/* end confdefs.h. */ 6456 6457int 6458main () 6459{ 6460return 0; 6461 ; 6462 return 0; 6463} 6464_ACEOF 6465if ac_fn_c_try_compile "$LINENO"; then : 6466 mc_check_one_cflag=yes 6467else 6468 mc_check_one_cflag=no 6469fi 6470rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6471 6472 CFLAGS=$safe_CFLAGS 6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 6474$as_echo "$mc_check_one_cflag" >&6; } 6475 6476 if test x$mc_check_one_cflag = xyes; then 6477 mc_configured_cflags="$mc_configured_cflags -Wno-long-long" 6478 fi 6479 6480 6481 6482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-unreachable-code" >&5 6483$as_echo_n "checking whether ${CC} accepts -Wno-unreachable-code... " >&6; } 6484 6485 safe_CFLAGS=$CFLAGS 6486 6487 case "$CC" in 6488 *) 6489 CFLAGS="-Werror -Wno-unreachable-code" 6490 ;; 6491 *) 6492 CFLAGS="-Wno-unreachable-code" 6493 ;; 6494 esac 6495 6496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6497/* end confdefs.h. */ 6498 6499int 6500main () 6501{ 6502return 0; 6503 ; 6504 return 0; 6505} 6506_ACEOF 6507if ac_fn_c_try_compile "$LINENO"; then : 6508 mc_check_one_cflag=yes 6509else 6510 mc_check_one_cflag=no 6511fi 6512rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6513 6514 CFLAGS=$safe_CFLAGS 6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 6516$as_echo "$mc_check_one_cflag" >&6; } 6517 6518 if test x$mc_check_one_cflag = xyes; then 6519 mc_configured_cflags="$mc_configured_cflags -Wno-unreachable-code" 6520 fi 6521 6522 6523 6524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5 6525$as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; } 6526 6527 safe_CFLAGS=$CFLAGS 6528 6529 case "$CC" in 6530 *) 6531 CFLAGS="-Werror -Wparentheses" 6532 ;; 6533 *) 6534 CFLAGS="-Wparentheses" 6535 ;; 6536 esac 6537 6538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6539/* end confdefs.h. */ 6540 6541int 6542main () 6543{ 6544return 0; 6545 ; 6546 return 0; 6547} 6548_ACEOF 6549if ac_fn_c_try_compile "$LINENO"; then : 6550 mc_check_one_cflag=yes 6551else 6552 mc_check_one_cflag=no 6553fi 6554rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6555 6556 CFLAGS=$safe_CFLAGS 6557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 6558$as_echo "$mc_check_one_cflag" >&6; } 6559 6560 if test x$mc_check_one_cflag = xyes; then 6561 mc_configured_cflags="$mc_configured_cflags -Wparentheses" 6562 fi 6563 6564 6565 6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-arith" >&5 6567$as_echo_n "checking whether ${CC} accepts -Wpointer-arith... " >&6; } 6568 6569 safe_CFLAGS=$CFLAGS 6570 6571 case "$CC" in 6572 *) 6573 CFLAGS="-Werror -Wpointer-arith" 6574 ;; 6575 *) 6576 CFLAGS="-Wpointer-arith" 6577 ;; 6578 esac 6579 6580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6581/* end confdefs.h. */ 6582 6583int 6584main () 6585{ 6586return 0; 6587 ; 6588 return 0; 6589} 6590_ACEOF 6591if ac_fn_c_try_compile "$LINENO"; then : 6592 mc_check_one_cflag=yes 6593else 6594 mc_check_one_cflag=no 6595fi 6596rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6597 6598 CFLAGS=$safe_CFLAGS 6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 6600$as_echo "$mc_check_one_cflag" >&6; } 6601 6602 if test x$mc_check_one_cflag = xyes; then 6603 mc_configured_cflags="$mc_configured_cflags -Wpointer-arith" 6604 fi 6605 6606 6607 6608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5 6609$as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; } 6610 6611 safe_CFLAGS=$CFLAGS 6612 6613 case "$CC" in 6614 *) 6615 CFLAGS="-Werror -Wpointer-sign" 6616 ;; 6617 *) 6618 CFLAGS="-Wpointer-sign" 6619 ;; 6620 esac 6621 6622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6623/* end confdefs.h. */ 6624 6625int 6626main () 6627{ 6628return 0; 6629 ; 6630 return 0; 6631} 6632_ACEOF 6633if ac_fn_c_try_compile "$LINENO"; then : 6634 mc_check_one_cflag=yes 6635else 6636 mc_check_one_cflag=no 6637fi 6638rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6639 6640 CFLAGS=$safe_CFLAGS 6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 6642$as_echo "$mc_check_one_cflag" >&6; } 6643 6644 if test x$mc_check_one_cflag = xyes; then 6645 mc_configured_cflags="$mc_configured_cflags -Wpointer-sign" 6646 fi 6647 6648 6649 6650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wredundant-decls" >&5 6651$as_echo_n "checking whether ${CC} accepts -Wredundant-decls... " >&6; } 6652 6653 safe_CFLAGS=$CFLAGS 6654 6655 case "$CC" in 6656 *) 6657 CFLAGS="-Werror -Wredundant-decls" 6658 ;; 6659 *) 6660 CFLAGS="-Wredundant-decls" 6661 ;; 6662 esac 6663 6664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6665/* end confdefs.h. */ 6666 6667int 6668main () 6669{ 6670return 0; 6671 ; 6672 return 0; 6673} 6674_ACEOF 6675if ac_fn_c_try_compile "$LINENO"; then : 6676 mc_check_one_cflag=yes 6677else 6678 mc_check_one_cflag=no 6679fi 6680rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6681 6682 CFLAGS=$safe_CFLAGS 6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 6684$as_echo "$mc_check_one_cflag" >&6; } 6685 6686 if test x$mc_check_one_cflag = xyes; then 6687 mc_configured_cflags="$mc_configured_cflags -Wredundant-decls" 6688 fi 6689 6690 6691 6692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wreturn-type" >&5 6693$as_echo_n "checking whether ${CC} accepts -Wreturn-type... " >&6; } 6694 6695 safe_CFLAGS=$CFLAGS 6696 6697 case "$CC" in 6698 *) 6699 CFLAGS="-Werror -Wreturn-type" 6700 ;; 6701 *) 6702 CFLAGS="-Wreturn-type" 6703 ;; 6704 esac 6705 6706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6707/* end confdefs.h. */ 6708 6709int 6710main () 6711{ 6712return 0; 6713 ; 6714 return 0; 6715} 6716_ACEOF 6717if ac_fn_c_try_compile "$LINENO"; then : 6718 mc_check_one_cflag=yes 6719else 6720 mc_check_one_cflag=no 6721fi 6722rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6723 6724 CFLAGS=$safe_CFLAGS 6725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 6726$as_echo "$mc_check_one_cflag" >&6; } 6727 6728 if test x$mc_check_one_cflag = xyes; then 6729 mc_configured_cflags="$mc_configured_cflags -Wreturn-type" 6730 fi 6731 6732 6733 6734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5 6735$as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; } 6736 6737 safe_CFLAGS=$CFLAGS 6738 6739 case "$CC" in 6740 *) 6741 CFLAGS="-Werror -Wsequence-point" 6742 ;; 6743 *) 6744 CFLAGS="-Wsequence-point" 6745 ;; 6746 esac 6747 6748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6749/* end confdefs.h. */ 6750 6751int 6752main () 6753{ 6754return 0; 6755 ; 6756 return 0; 6757} 6758_ACEOF 6759if ac_fn_c_try_compile "$LINENO"; then : 6760 mc_check_one_cflag=yes 6761else 6762 mc_check_one_cflag=no 6763fi 6764rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6765 6766 CFLAGS=$safe_CFLAGS 6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 6768$as_echo "$mc_check_one_cflag" >&6; } 6769 6770 if test x$mc_check_one_cflag = xyes; then 6771 mc_configured_cflags="$mc_configured_cflags -Wsequence-point" 6772 fi 6773 6774 6775 6776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshadow" >&5 6777$as_echo_n "checking whether ${CC} accepts -Wshadow... " >&6; } 6778 6779 safe_CFLAGS=$CFLAGS 6780 6781 case "$CC" in 6782 *) 6783 CFLAGS="-Werror -Wshadow" 6784 ;; 6785 *) 6786 CFLAGS="-Wshadow" 6787 ;; 6788 esac 6789 6790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6791/* end confdefs.h. */ 6792 6793int 6794main () 6795{ 6796return 0; 6797 ; 6798 return 0; 6799} 6800_ACEOF 6801if ac_fn_c_try_compile "$LINENO"; then : 6802 mc_check_one_cflag=yes 6803else 6804 mc_check_one_cflag=no 6805fi 6806rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6807 6808 CFLAGS=$safe_CFLAGS 6809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 6810$as_echo "$mc_check_one_cflag" >&6; } 6811 6812 if test x$mc_check_one_cflag = xyes; then 6813 mc_configured_cflags="$mc_configured_cflags -Wshadow" 6814 fi 6815 6816 6817 6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5 6819$as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; } 6820 6821 safe_CFLAGS=$CFLAGS 6822 6823 case "$CC" in 6824 *) 6825 CFLAGS="-Werror -Wsign-compare" 6826 ;; 6827 *) 6828 CFLAGS="-Wsign-compare" 6829 ;; 6830 esac 6831 6832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6833/* end confdefs.h. */ 6834 6835int 6836main () 6837{ 6838return 0; 6839 ; 6840 return 0; 6841} 6842_ACEOF 6843if ac_fn_c_try_compile "$LINENO"; then : 6844 mc_check_one_cflag=yes 6845else 6846 mc_check_one_cflag=no 6847fi 6848rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6849 6850 CFLAGS=$safe_CFLAGS 6851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 6852$as_echo "$mc_check_one_cflag" >&6; } 6853 6854 if test x$mc_check_one_cflag = xyes; then 6855 mc_configured_cflags="$mc_configured_cflags -Wsign-compare" 6856 fi 6857 6858 6859 6860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5 6861$as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; } 6862 6863 safe_CFLAGS=$CFLAGS 6864 6865 case "$CC" in 6866 *) 6867 CFLAGS="-Werror -Wstrict-prototypes" 6868 ;; 6869 *) 6870 CFLAGS="-Wstrict-prototypes" 6871 ;; 6872 esac 6873 6874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6875/* end confdefs.h. */ 6876 6877int 6878main () 6879{ 6880return 0; 6881 ; 6882 return 0; 6883} 6884_ACEOF 6885if ac_fn_c_try_compile "$LINENO"; then : 6886 mc_check_one_cflag=yes 6887else 6888 mc_check_one_cflag=no 6889fi 6890rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6891 6892 CFLAGS=$safe_CFLAGS 6893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 6894$as_echo "$mc_check_one_cflag" >&6; } 6895 6896 if test x$mc_check_one_cflag = xyes; then 6897 mc_configured_cflags="$mc_configured_cflags -Wstrict-prototypes" 6898 fi 6899 6900 6901 6902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5 6903$as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; } 6904 6905 safe_CFLAGS=$CFLAGS 6906 6907 case "$CC" in 6908 *) 6909 CFLAGS="-Werror -Wswitch" 6910 ;; 6911 *) 6912 CFLAGS="-Wswitch" 6913 ;; 6914 esac 6915 6916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6917/* end confdefs.h. */ 6918 6919int 6920main () 6921{ 6922return 0; 6923 ; 6924 return 0; 6925} 6926_ACEOF 6927if ac_fn_c_try_compile "$LINENO"; then : 6928 mc_check_one_cflag=yes 6929else 6930 mc_check_one_cflag=no 6931fi 6932rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6933 6934 CFLAGS=$safe_CFLAGS 6935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 6936$as_echo "$mc_check_one_cflag" >&6; } 6937 6938 if test x$mc_check_one_cflag = xyes; then 6939 mc_configured_cflags="$mc_configured_cflags -Wswitch" 6940 fi 6941 6942 6943 6944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch-default" >&5 6945$as_echo_n "checking whether ${CC} accepts -Wswitch-default... " >&6; } 6946 6947 safe_CFLAGS=$CFLAGS 6948 6949 case "$CC" in 6950 *) 6951 CFLAGS="-Werror -Wswitch-default" 6952 ;; 6953 *) 6954 CFLAGS="-Wswitch-default" 6955 ;; 6956 esac 6957 6958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6959/* end confdefs.h. */ 6960 6961int 6962main () 6963{ 6964return 0; 6965 ; 6966 return 0; 6967} 6968_ACEOF 6969if ac_fn_c_try_compile "$LINENO"; then : 6970 mc_check_one_cflag=yes 6971else 6972 mc_check_one_cflag=no 6973fi 6974rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6975 6976 CFLAGS=$safe_CFLAGS 6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 6978$as_echo "$mc_check_one_cflag" >&6; } 6979 6980 if test x$mc_check_one_cflag = xyes; then 6981 mc_configured_cflags="$mc_configured_cflags -Wswitch-default" 6982 fi 6983 6984 6985 6986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wtype-limits" >&5 6987$as_echo_n "checking whether ${CC} accepts -Wtype-limits... " >&6; } 6988 6989 safe_CFLAGS=$CFLAGS 6990 6991 case "$CC" in 6992 *) 6993 CFLAGS="-Werror -Wtype-limits" 6994 ;; 6995 *) 6996 CFLAGS="-Wtype-limits" 6997 ;; 6998 esac 6999 7000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7001/* end confdefs.h. */ 7002 7003int 7004main () 7005{ 7006return 0; 7007 ; 7008 return 0; 7009} 7010_ACEOF 7011if ac_fn_c_try_compile "$LINENO"; then : 7012 mc_check_one_cflag=yes 7013else 7014 mc_check_one_cflag=no 7015fi 7016rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7017 7018 CFLAGS=$safe_CFLAGS 7019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 7020$as_echo "$mc_check_one_cflag" >&6; } 7021 7022 if test x$mc_check_one_cflag = xyes; then 7023 mc_configured_cflags="$mc_configured_cflags -Wtype-limits" 7024 fi 7025 7026 7027 7028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wundef" >&5 7029$as_echo_n "checking whether ${CC} accepts -Wundef... " >&6; } 7030 7031 safe_CFLAGS=$CFLAGS 7032 7033 case "$CC" in 7034 *) 7035 CFLAGS="-Werror -Wundef" 7036 ;; 7037 *) 7038 CFLAGS="-Wundef" 7039 ;; 7040 esac 7041 7042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7043/* end confdefs.h. */ 7044 7045int 7046main () 7047{ 7048return 0; 7049 ; 7050 return 0; 7051} 7052_ACEOF 7053if ac_fn_c_try_compile "$LINENO"; then : 7054 mc_check_one_cflag=yes 7055else 7056 mc_check_one_cflag=no 7057fi 7058rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7059 7060 CFLAGS=$safe_CFLAGS 7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 7062$as_echo "$mc_check_one_cflag" >&6; } 7063 7064 if test x$mc_check_one_cflag = xyes; then 7065 mc_configured_cflags="$mc_configured_cflags -Wundef" 7066 fi 7067 7068 7069 7070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5 7071$as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; } 7072 7073 safe_CFLAGS=$CFLAGS 7074 7075 case "$CC" in 7076 *) 7077 CFLAGS="-Werror -Wuninitialized" 7078 ;; 7079 *) 7080 CFLAGS="-Wuninitialized" 7081 ;; 7082 esac 7083 7084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7085/* end confdefs.h. */ 7086 7087int 7088main () 7089{ 7090return 0; 7091 ; 7092 return 0; 7093} 7094_ACEOF 7095if ac_fn_c_try_compile "$LINENO"; then : 7096 mc_check_one_cflag=yes 7097else 7098 mc_check_one_cflag=no 7099fi 7100rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7101 7102 CFLAGS=$safe_CFLAGS 7103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 7104$as_echo "$mc_check_one_cflag" >&6; } 7105 7106 if test x$mc_check_one_cflag = xyes; then 7107 mc_configured_cflags="$mc_configured_cflags -Wuninitialized" 7108 fi 7109 7110 7111 7112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunreachable-code" >&5 7113$as_echo_n "checking whether ${CC} accepts -Wunreachable-code... " >&6; } 7114 7115 safe_CFLAGS=$CFLAGS 7116 7117 case "$CC" in 7118 *) 7119 CFLAGS="-Werror -Wunreachable-code" 7120 ;; 7121 *) 7122 CFLAGS="-Wunreachable-code" 7123 ;; 7124 esac 7125 7126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7127/* end confdefs.h. */ 7128 7129int 7130main () 7131{ 7132return 0; 7133 ; 7134 return 0; 7135} 7136_ACEOF 7137if ac_fn_c_try_compile "$LINENO"; then : 7138 mc_check_one_cflag=yes 7139else 7140 mc_check_one_cflag=no 7141fi 7142rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7143 7144 CFLAGS=$safe_CFLAGS 7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 7146$as_echo "$mc_check_one_cflag" >&6; } 7147 7148 if test x$mc_check_one_cflag = xyes; then 7149 mc_configured_cflags="$mc_configured_cflags -Wunreachable-code" 7150 fi 7151 7152 7153 7154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5 7155$as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; } 7156 7157 safe_CFLAGS=$CFLAGS 7158 7159 case "$CC" in 7160 *) 7161 CFLAGS="-Werror -Wunused-but-set-variable" 7162 ;; 7163 *) 7164 CFLAGS="-Wunused-but-set-variable" 7165 ;; 7166 esac 7167 7168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7169/* end confdefs.h. */ 7170 7171int 7172main () 7173{ 7174return 0; 7175 ; 7176 return 0; 7177} 7178_ACEOF 7179if ac_fn_c_try_compile "$LINENO"; then : 7180 mc_check_one_cflag=yes 7181else 7182 mc_check_one_cflag=no 7183fi 7184rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7185 7186 CFLAGS=$safe_CFLAGS 7187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 7188$as_echo "$mc_check_one_cflag" >&6; } 7189 7190 if test x$mc_check_one_cflag = xyes; then 7191 mc_configured_cflags="$mc_configured_cflags -Wunused-but-set-variable" 7192 fi 7193 7194 7195 7196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5 7197$as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; } 7198 7199 safe_CFLAGS=$CFLAGS 7200 7201 case "$CC" in 7202 *) 7203 CFLAGS="-Werror -Wunused-function" 7204 ;; 7205 *) 7206 CFLAGS="-Wunused-function" 7207 ;; 7208 esac 7209 7210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7211/* end confdefs.h. */ 7212 7213int 7214main () 7215{ 7216return 0; 7217 ; 7218 return 0; 7219} 7220_ACEOF 7221if ac_fn_c_try_compile "$LINENO"; then : 7222 mc_check_one_cflag=yes 7223else 7224 mc_check_one_cflag=no 7225fi 7226rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7227 7228 CFLAGS=$safe_CFLAGS 7229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 7230$as_echo "$mc_check_one_cflag" >&6; } 7231 7232 if test x$mc_check_one_cflag = xyes; then 7233 mc_configured_cflags="$mc_configured_cflags -Wunused-function" 7234 fi 7235 7236 7237 7238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-label" >&5 7239$as_echo_n "checking whether ${CC} accepts -Wunused-label... " >&6; } 7240 7241 safe_CFLAGS=$CFLAGS 7242 7243 case "$CC" in 7244 *) 7245 CFLAGS="-Werror -Wunused-label" 7246 ;; 7247 *) 7248 CFLAGS="-Wunused-label" 7249 ;; 7250 esac 7251 7252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7253/* end confdefs.h. */ 7254 7255int 7256main () 7257{ 7258return 0; 7259 ; 7260 return 0; 7261} 7262_ACEOF 7263if ac_fn_c_try_compile "$LINENO"; then : 7264 mc_check_one_cflag=yes 7265else 7266 mc_check_one_cflag=no 7267fi 7268rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7269 7270 CFLAGS=$safe_CFLAGS 7271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 7272$as_echo "$mc_check_one_cflag" >&6; } 7273 7274 if test x$mc_check_one_cflag = xyes; then 7275 mc_configured_cflags="$mc_configured_cflags -Wunused-label" 7276 fi 7277 7278 7279 7280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5 7281$as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; } 7282 7283 safe_CFLAGS=$CFLAGS 7284 7285 case "$CC" in 7286 *) 7287 CFLAGS="-Werror -Wunused-parameter" 7288 ;; 7289 *) 7290 CFLAGS="-Wunused-parameter" 7291 ;; 7292 esac 7293 7294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7295/* end confdefs.h. */ 7296 7297int 7298main () 7299{ 7300return 0; 7301 ; 7302 return 0; 7303} 7304_ACEOF 7305if ac_fn_c_try_compile "$LINENO"; then : 7306 mc_check_one_cflag=yes 7307else 7308 mc_check_one_cflag=no 7309fi 7310rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7311 7312 CFLAGS=$safe_CFLAGS 7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 7314$as_echo "$mc_check_one_cflag" >&6; } 7315 7316 if test x$mc_check_one_cflag = xyes; then 7317 mc_configured_cflags="$mc_configured_cflags -Wunused-parameter" 7318 fi 7319 7320 7321 7322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-result" >&5 7323$as_echo_n "checking whether ${CC} accepts -Wunused-result... " >&6; } 7324 7325 safe_CFLAGS=$CFLAGS 7326 7327 case "$CC" in 7328 *) 7329 CFLAGS="-Werror -Wunused-result" 7330 ;; 7331 *) 7332 CFLAGS="-Wunused-result" 7333 ;; 7334 esac 7335 7336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7337/* end confdefs.h. */ 7338 7339int 7340main () 7341{ 7342return 0; 7343 ; 7344 return 0; 7345} 7346_ACEOF 7347if ac_fn_c_try_compile "$LINENO"; then : 7348 mc_check_one_cflag=yes 7349else 7350 mc_check_one_cflag=no 7351fi 7352rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7353 7354 CFLAGS=$safe_CFLAGS 7355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 7356$as_echo "$mc_check_one_cflag" >&6; } 7357 7358 if test x$mc_check_one_cflag = xyes; then 7359 mc_configured_cflags="$mc_configured_cflags -Wunused-result" 7360 fi 7361 7362 7363 7364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5 7365$as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; } 7366 7367 safe_CFLAGS=$CFLAGS 7368 7369 case "$CC" in 7370 *) 7371 CFLAGS="-Werror -Wunused-value" 7372 ;; 7373 *) 7374 CFLAGS="-Wunused-value" 7375 ;; 7376 esac 7377 7378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7379/* end confdefs.h. */ 7380 7381int 7382main () 7383{ 7384return 0; 7385 ; 7386 return 0; 7387} 7388_ACEOF 7389if ac_fn_c_try_compile "$LINENO"; then : 7390 mc_check_one_cflag=yes 7391else 7392 mc_check_one_cflag=no 7393fi 7394rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7395 7396 CFLAGS=$safe_CFLAGS 7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 7398$as_echo "$mc_check_one_cflag" >&6; } 7399 7400 if test x$mc_check_one_cflag = xyes; then 7401 mc_configured_cflags="$mc_configured_cflags -Wunused-value" 7402 fi 7403 7404 7405 7406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5 7407$as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; } 7408 7409 safe_CFLAGS=$CFLAGS 7410 7411 case "$CC" in 7412 *) 7413 CFLAGS="-Werror -Wunused-variable" 7414 ;; 7415 *) 7416 CFLAGS="-Wunused-variable" 7417 ;; 7418 esac 7419 7420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7421/* end confdefs.h. */ 7422 7423int 7424main () 7425{ 7426return 0; 7427 ; 7428 return 0; 7429} 7430_ACEOF 7431if ac_fn_c_try_compile "$LINENO"; then : 7432 mc_check_one_cflag=yes 7433else 7434 mc_check_one_cflag=no 7435fi 7436rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7437 7438 CFLAGS=$safe_CFLAGS 7439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 7440$as_echo "$mc_check_one_cflag" >&6; } 7441 7442 if test x$mc_check_one_cflag = xyes; then 7443 mc_configured_cflags="$mc_configured_cflags -Wunused-variable" 7444 fi 7445 7446 7447 7448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5 7449$as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; } 7450 7451 safe_CFLAGS=$CFLAGS 7452 7453 case "$CC" in 7454 *) 7455 CFLAGS="-Werror -Wwrite-strings" 7456 ;; 7457 *) 7458 CFLAGS="-Wwrite-strings" 7459 ;; 7460 esac 7461 7462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7463/* end confdefs.h. */ 7464 7465int 7466main () 7467{ 7468return 0; 7469 ; 7470 return 0; 7471} 7472_ACEOF 7473if ac_fn_c_try_compile "$LINENO"; then : 7474 mc_check_one_cflag=yes 7475else 7476 mc_check_one_cflag=no 7477fi 7478rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7479 7480 CFLAGS=$safe_CFLAGS 7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 7482$as_echo "$mc_check_one_cflag" >&6; } 7483 7484 if test x$mc_check_one_cflag = xyes; then 7485 mc_configured_cflags="$mc_configured_cflags -Wwrite-strings" 7486 fi 7487 7488 7489 ac_ext=c 7490ac_cpp='$CPP $CPPFLAGS' 7491ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7492ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7493ac_compiler_gnu=$ac_cv_c_compiler_gnu 7494 7495 7496 7497CFLAGS_OPTS="" 7498if test "x$CFLAGS" = "x"; then 7499 CFLAGS_OPTS=" -O2 " 7500fi 7501if test x$USE_MAINTAINER_MODE = xyes; then 7502 CFLAGS_OPTS="-g3 -O -ggdb" 7503 7504$as_echo "#define USE_MAINTAINER_MODE 1" >>confdefs.h 7505 7506fi 7507 7508# Check whether --enable-werror was given. 7509if test "${enable_werror+set}" = set; then : 7510 enableval=$enable_werror; 7511fi 7512 7513if test "x$enable_werror" = xyes; then 7514 7515 7516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Werror" >&5 7517$as_echo_n "checking whether ${CC} accepts -Werror... " >&6; } 7518 7519 safe_CFLAGS=$CFLAGS 7520 7521 case "$CC" in 7522 *) 7523 CFLAGS="-Werror -Werror" 7524 ;; 7525 *) 7526 CFLAGS="-Werror" 7527 ;; 7528 esac 7529 7530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7531/* end confdefs.h. */ 7532 7533int 7534main () 7535{ 7536return 0; 7537 ; 7538 return 0; 7539} 7540_ACEOF 7541if ac_fn_c_try_compile "$LINENO"; then : 7542 mc_check_one_cflag=yes 7543else 7544 mc_check_one_cflag=no 7545fi 7546rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7547 7548 CFLAGS=$safe_CFLAGS 7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_check_one_cflag" >&5 7550$as_echo "$mc_check_one_cflag" >&6; } 7551 7552 if test x$mc_check_one_cflag = xyes; then 7553 mc_configured_cflags="$mc_configured_cflags -Werror" 7554 fi 7555 7556fi 7557 7558ax_gcc_func_attribute_save_flags=$CFLAGS 7559CFLAGS= 7560 7561 7562 7563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__((fallthrough))" >&5 7564$as_echo_n "checking for __attribute__((fallthrough))... " >&6; } 7565if ${ax_cv_have_func_attribute_fallthrough+:} false; then : 7566 $as_echo_n "(cached) " >&6 7567else 7568 7569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7570/* end confdefs.h. */ 7571 7572 7573 int foo( void ) {switch (0) { case 1: __attribute__((fallthrough)); case 2: break ; }}; 7574 7575int 7576main () 7577{ 7578 7579 ; 7580 return 0; 7581} 7582 7583_ACEOF 7584if ac_fn_c_try_link "$LINENO"; then : 7585 if test -s conftest.err; then : 7586 ax_cv_have_func_attribute_fallthrough=no 7587else 7588 ax_cv_have_func_attribute_fallthrough=yes 7589fi 7590else 7591 ax_cv_have_func_attribute_fallthrough=no 7592fi 7593rm -f core conftest.err conftest.$ac_objext \ 7594 conftest$ac_exeext conftest.$ac_ext 7595 7596fi 7597{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_func_attribute_fallthrough" >&5 7598$as_echo "$ax_cv_have_func_attribute_fallthrough" >&6; } 7599 7600 if test yes = $ax_cv_have_func_attribute_fallthrough; then : 7601 7602cat >>confdefs.h <<_ACEOF 7603#define HAVE_FUNC_ATTRIBUTE_FALLTHROUGH 1 7604_ACEOF 7605 7606fi 7607 7608 7609 7610CFLAGS=$ax_gcc_func_attribute_save_flags 7611unset ax_gcc_func_attribute_save_flags 7612 7613case `pwd` in 7614 *\ * | *\ *) 7615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 7616$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 7617esac 7618 7619 7620 7621macro_version='2.4.6' 7622macro_revision='2.4.6' 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636ltmain=$ac_aux_dir/ltmain.sh 7637 7638# Backslashify metacharacters that are still active within 7639# double-quoted strings. 7640sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 7641 7642# Same as above, but do not quote variable references. 7643double_quote_subst='s/\(["`\\]\)/\\\1/g' 7644 7645# Sed substitution to delay expansion of an escaped shell variable in a 7646# double_quote_subst'ed string. 7647delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 7648 7649# Sed substitution to delay expansion of an escaped single quote. 7650delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 7651 7652# Sed substitution to avoid accidental globbing in evaled expressions 7653no_glob_subst='s/\*/\\\*/g' 7654 7655ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 7656ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 7657ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 7658 7659{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 7660$as_echo_n "checking how to print strings... " >&6; } 7661# Test print first, because it will be a builtin if present. 7662if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 7663 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 7664 ECHO='print -r --' 7665elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 7666 ECHO='printf %s\n' 7667else 7668 # Use this function as a fallback that always works. 7669 func_fallback_echo () 7670 { 7671 eval 'cat <<_LTECHO_EOF 7672$1 7673_LTECHO_EOF' 7674 } 7675 ECHO='func_fallback_echo' 7676fi 7677 7678# func_echo_all arg... 7679# Invoke $ECHO with all args, space-separated. 7680func_echo_all () 7681{ 7682 $ECHO "" 7683} 7684 7685case $ECHO in 7686 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 7687$as_echo "printf" >&6; } ;; 7688 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 7689$as_echo "print -r" >&6; } ;; 7690 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 7691$as_echo "cat" >&6; } ;; 7692esac 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 7708$as_echo_n "checking for a sed that does not truncate output... " >&6; } 7709if ${ac_cv_path_SED+:} false; then : 7710 $as_echo_n "(cached) " >&6 7711else 7712 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 7713 for ac_i in 1 2 3 4 5 6 7; do 7714 ac_script="$ac_script$as_nl$ac_script" 7715 done 7716 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 7717 { ac_script=; unset ac_script;} 7718 if test -z "$SED"; then 7719 ac_path_SED_found=false 7720 # Loop through the user's path and test for each of PROGNAME-LIST 7721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7722for as_dir in $PATH 7723do 7724 IFS=$as_save_IFS 7725 test -z "$as_dir" && as_dir=. 7726 for ac_prog in sed gsed; do 7727 for ac_exec_ext in '' $ac_executable_extensions; do 7728 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 7729 as_fn_executable_p "$ac_path_SED" || continue 7730# Check for GNU ac_path_SED and select it if it is found. 7731 # Check for GNU $ac_path_SED 7732case `"$ac_path_SED" --version 2>&1` in 7733*GNU*) 7734 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 7735*) 7736 ac_count=0 7737 $as_echo_n 0123456789 >"conftest.in" 7738 while : 7739 do 7740 cat "conftest.in" "conftest.in" >"conftest.tmp" 7741 mv "conftest.tmp" "conftest.in" 7742 cp "conftest.in" "conftest.nl" 7743 $as_echo '' >> "conftest.nl" 7744 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 7745 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 7746 as_fn_arith $ac_count + 1 && ac_count=$as_val 7747 if test $ac_count -gt ${ac_path_SED_max-0}; then 7748 # Best one so far, save it but keep looking for a better one 7749 ac_cv_path_SED="$ac_path_SED" 7750 ac_path_SED_max=$ac_count 7751 fi 7752 # 10*(2^10) chars as input seems more than enough 7753 test $ac_count -gt 10 && break 7754 done 7755 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 7756esac 7757 7758 $ac_path_SED_found && break 3 7759 done 7760 done 7761 done 7762IFS=$as_save_IFS 7763 if test -z "$ac_cv_path_SED"; then 7764 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 7765 fi 7766else 7767 ac_cv_path_SED=$SED 7768fi 7769 7770fi 7771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 7772$as_echo "$ac_cv_path_SED" >&6; } 7773 SED="$ac_cv_path_SED" 7774 rm -f conftest.sed 7775 7776test -z "$SED" && SED=sed 7777Xsed="$SED -e 1s/^X//" 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 7790$as_echo_n "checking for fgrep... " >&6; } 7791if ${ac_cv_path_FGREP+:} false; then : 7792 $as_echo_n "(cached) " >&6 7793else 7794 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 7795 then ac_cv_path_FGREP="$GREP -F" 7796 else 7797 if test -z "$FGREP"; then 7798 ac_path_FGREP_found=false 7799 # Loop through the user's path and test for each of PROGNAME-LIST 7800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7801for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 7802do 7803 IFS=$as_save_IFS 7804 test -z "$as_dir" && as_dir=. 7805 for ac_prog in fgrep; do 7806 for ac_exec_ext in '' $ac_executable_extensions; do 7807 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 7808 as_fn_executable_p "$ac_path_FGREP" || continue 7809# Check for GNU ac_path_FGREP and select it if it is found. 7810 # Check for GNU $ac_path_FGREP 7811case `"$ac_path_FGREP" --version 2>&1` in 7812*GNU*) 7813 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 7814*) 7815 ac_count=0 7816 $as_echo_n 0123456789 >"conftest.in" 7817 while : 7818 do 7819 cat "conftest.in" "conftest.in" >"conftest.tmp" 7820 mv "conftest.tmp" "conftest.in" 7821 cp "conftest.in" "conftest.nl" 7822 $as_echo 'FGREP' >> "conftest.nl" 7823 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 7824 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 7825 as_fn_arith $ac_count + 1 && ac_count=$as_val 7826 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 7827 # Best one so far, save it but keep looking for a better one 7828 ac_cv_path_FGREP="$ac_path_FGREP" 7829 ac_path_FGREP_max=$ac_count 7830 fi 7831 # 10*(2^10) chars as input seems more than enough 7832 test $ac_count -gt 10 && break 7833 done 7834 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 7835esac 7836 7837 $ac_path_FGREP_found && break 3 7838 done 7839 done 7840 done 7841IFS=$as_save_IFS 7842 if test -z "$ac_cv_path_FGREP"; then 7843 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 7844 fi 7845else 7846 ac_cv_path_FGREP=$FGREP 7847fi 7848 7849 fi 7850fi 7851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 7852$as_echo "$ac_cv_path_FGREP" >&6; } 7853 FGREP="$ac_cv_path_FGREP" 7854 7855 7856test -z "$GREP" && GREP=grep 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876# Check whether --with-gnu-ld was given. 7877if test "${with_gnu_ld+set}" = set; then : 7878 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 7879else 7880 with_gnu_ld=no 7881fi 7882 7883ac_prog=ld 7884if test yes = "$GCC"; then 7885 # Check if gcc -print-prog-name=ld gives a path. 7886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 7887$as_echo_n "checking for ld used by $CC... " >&6; } 7888 case $host in 7889 *-*-mingw*) 7890 # gcc leaves a trailing carriage return, which upsets mingw 7891 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 7892 *) 7893 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 7894 esac 7895 case $ac_prog in 7896 # Accept absolute paths. 7897 [\\/]* | ?:[\\/]*) 7898 re_direlt='/[^/][^/]*/\.\./' 7899 # Canonicalize the pathname of ld 7900 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 7901 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 7902 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 7903 done 7904 test -z "$LD" && LD=$ac_prog 7905 ;; 7906 "") 7907 # If it fails, then pretend we aren't using GCC. 7908 ac_prog=ld 7909 ;; 7910 *) 7911 # If it is relative, then search for the first ld in PATH. 7912 with_gnu_ld=unknown 7913 ;; 7914 esac 7915elif test yes = "$with_gnu_ld"; then 7916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 7917$as_echo_n "checking for GNU ld... " >&6; } 7918else 7919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 7920$as_echo_n "checking for non-GNU ld... " >&6; } 7921fi 7922if ${lt_cv_path_LD+:} false; then : 7923 $as_echo_n "(cached) " >&6 7924else 7925 if test -z "$LD"; then 7926 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 7927 for ac_dir in $PATH; do 7928 IFS=$lt_save_ifs 7929 test -z "$ac_dir" && ac_dir=. 7930 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 7931 lt_cv_path_LD=$ac_dir/$ac_prog 7932 # Check to see if the program is GNU ld. I'd rather use --version, 7933 # but apparently some variants of GNU ld only accept -v. 7934 # Break only if it was the GNU/non-GNU ld that we prefer. 7935 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 7936 *GNU* | *'with BFD'*) 7937 test no != "$with_gnu_ld" && break 7938 ;; 7939 *) 7940 test yes != "$with_gnu_ld" && break 7941 ;; 7942 esac 7943 fi 7944 done 7945 IFS=$lt_save_ifs 7946else 7947 lt_cv_path_LD=$LD # Let the user override the test with a path. 7948fi 7949fi 7950 7951LD=$lt_cv_path_LD 7952if test -n "$LD"; then 7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 7954$as_echo "$LD" >&6; } 7955else 7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7957$as_echo "no" >&6; } 7958fi 7959test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 7960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 7961$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 7962if ${lt_cv_prog_gnu_ld+:} false; then : 7963 $as_echo_n "(cached) " >&6 7964else 7965 # I'd rather use --version here, but apparently some GNU lds only accept -v. 7966case `$LD -v 2>&1 </dev/null` in 7967*GNU* | *'with BFD'*) 7968 lt_cv_prog_gnu_ld=yes 7969 ;; 7970*) 7971 lt_cv_prog_gnu_ld=no 7972 ;; 7973esac 7974fi 7975{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 7976$as_echo "$lt_cv_prog_gnu_ld" >&6; } 7977with_gnu_ld=$lt_cv_prog_gnu_ld 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 7988$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 7989if ${lt_cv_path_NM+:} false; then : 7990 $as_echo_n "(cached) " >&6 7991else 7992 if test -n "$NM"; then 7993 # Let the user override the test. 7994 lt_cv_path_NM=$NM 7995else 7996 lt_nm_to_check=${ac_tool_prefix}nm 7997 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 7998 lt_nm_to_check="$lt_nm_to_check nm" 7999 fi 8000 for lt_tmp_nm in $lt_nm_to_check; do 8001 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8002 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 8003 IFS=$lt_save_ifs 8004 test -z "$ac_dir" && ac_dir=. 8005 tmp_nm=$ac_dir/$lt_tmp_nm 8006 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 8007 # Check to see if the nm accepts a BSD-compat flag. 8008 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 8009 # nm: unknown option "B" ignored 8010 # Tru64's nm complains that /dev/null is an invalid object file 8011 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 8012 case $build_os in 8013 mingw*) lt_bad_file=conftest.nm/nofile ;; 8014 *) lt_bad_file=/dev/null ;; 8015 esac 8016 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 8017 *$lt_bad_file* | *'Invalid file or object type'*) 8018 lt_cv_path_NM="$tmp_nm -B" 8019 break 2 8020 ;; 8021 *) 8022 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 8023 */dev/null*) 8024 lt_cv_path_NM="$tmp_nm -p" 8025 break 2 8026 ;; 8027 *) 8028 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 8029 continue # so that we can try to find one that supports BSD flags 8030 ;; 8031 esac 8032 ;; 8033 esac 8034 fi 8035 done 8036 IFS=$lt_save_ifs 8037 done 8038 : ${lt_cv_path_NM=no} 8039fi 8040fi 8041{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 8042$as_echo "$lt_cv_path_NM" >&6; } 8043if test no != "$lt_cv_path_NM"; then 8044 NM=$lt_cv_path_NM 8045else 8046 # Didn't find any BSD compatible name lister, look for dumpbin. 8047 if test -n "$DUMPBIN"; then : 8048 # Let the user override the test. 8049 else 8050 if test -n "$ac_tool_prefix"; then 8051 for ac_prog in dumpbin "link -dump" 8052 do 8053 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 8054set dummy $ac_tool_prefix$ac_prog; ac_word=$2 8055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8056$as_echo_n "checking for $ac_word... " >&6; } 8057if ${ac_cv_prog_DUMPBIN+:} false; then : 8058 $as_echo_n "(cached) " >&6 8059else 8060 if test -n "$DUMPBIN"; then 8061 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 8062else 8063as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8064for as_dir in $PATH 8065do 8066 IFS=$as_save_IFS 8067 test -z "$as_dir" && as_dir=. 8068 for ac_exec_ext in '' $ac_executable_extensions; do 8069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8070 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 8071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8072 break 2 8073 fi 8074done 8075 done 8076IFS=$as_save_IFS 8077 8078fi 8079fi 8080DUMPBIN=$ac_cv_prog_DUMPBIN 8081if test -n "$DUMPBIN"; then 8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 8083$as_echo "$DUMPBIN" >&6; } 8084else 8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8086$as_echo "no" >&6; } 8087fi 8088 8089 8090 test -n "$DUMPBIN" && break 8091 done 8092fi 8093if test -z "$DUMPBIN"; then 8094 ac_ct_DUMPBIN=$DUMPBIN 8095 for ac_prog in dumpbin "link -dump" 8096do 8097 # Extract the first word of "$ac_prog", so it can be a program name with args. 8098set dummy $ac_prog; ac_word=$2 8099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8100$as_echo_n "checking for $ac_word... " >&6; } 8101if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 8102 $as_echo_n "(cached) " >&6 8103else 8104 if test -n "$ac_ct_DUMPBIN"; then 8105 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 8106else 8107as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8108for as_dir in $PATH 8109do 8110 IFS=$as_save_IFS 8111 test -z "$as_dir" && as_dir=. 8112 for ac_exec_ext in '' $ac_executable_extensions; do 8113 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8114 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 8115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8116 break 2 8117 fi 8118done 8119 done 8120IFS=$as_save_IFS 8121 8122fi 8123fi 8124ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 8125if test -n "$ac_ct_DUMPBIN"; then 8126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 8127$as_echo "$ac_ct_DUMPBIN" >&6; } 8128else 8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8130$as_echo "no" >&6; } 8131fi 8132 8133 8134 test -n "$ac_ct_DUMPBIN" && break 8135done 8136 8137 if test "x$ac_ct_DUMPBIN" = x; then 8138 DUMPBIN=":" 8139 else 8140 case $cross_compiling:$ac_tool_warned in 8141yes:) 8142{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8143$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8144ac_tool_warned=yes ;; 8145esac 8146 DUMPBIN=$ac_ct_DUMPBIN 8147 fi 8148fi 8149 8150 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 8151 *COFF*) 8152 DUMPBIN="$DUMPBIN -symbols -headers" 8153 ;; 8154 *) 8155 DUMPBIN=: 8156 ;; 8157 esac 8158 fi 8159 8160 if test : != "$DUMPBIN"; then 8161 NM=$DUMPBIN 8162 fi 8163fi 8164test -z "$NM" && NM=nm 8165 8166 8167 8168 8169 8170 8171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 8172$as_echo_n "checking the name lister ($NM) interface... " >&6; } 8173if ${lt_cv_nm_interface+:} false; then : 8174 $as_echo_n "(cached) " >&6 8175else 8176 lt_cv_nm_interface="BSD nm" 8177 echo "int some_variable = 0;" > conftest.$ac_ext 8178 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 8179 (eval "$ac_compile" 2>conftest.err) 8180 cat conftest.err >&5 8181 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 8182 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 8183 cat conftest.err >&5 8184 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 8185 cat conftest.out >&5 8186 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 8187 lt_cv_nm_interface="MS dumpbin" 8188 fi 8189 rm -f conftest* 8190fi 8191{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 8192$as_echo "$lt_cv_nm_interface" >&6; } 8193 8194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 8195$as_echo_n "checking whether ln -s works... " >&6; } 8196LN_S=$as_ln_s 8197if test "$LN_S" = "ln -s"; then 8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8199$as_echo "yes" >&6; } 8200else 8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 8202$as_echo "no, using $LN_S" >&6; } 8203fi 8204 8205# find the maximum length of command line arguments 8206{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 8207$as_echo_n "checking the maximum length of command line arguments... " >&6; } 8208if ${lt_cv_sys_max_cmd_len+:} false; then : 8209 $as_echo_n "(cached) " >&6 8210else 8211 i=0 8212 teststring=ABCD 8213 8214 case $build_os in 8215 msdosdjgpp*) 8216 # On DJGPP, this test can blow up pretty badly due to problems in libc 8217 # (any single argument exceeding 2000 bytes causes a buffer overrun 8218 # during glob expansion). Even if it were fixed, the result of this 8219 # check would be larger than it should be. 8220 lt_cv_sys_max_cmd_len=12288; # 12K is about right 8221 ;; 8222 8223 gnu*) 8224 # Under GNU Hurd, this test is not required because there is 8225 # no limit to the length of command line arguments. 8226 # Libtool will interpret -1 as no limit whatsoever 8227 lt_cv_sys_max_cmd_len=-1; 8228 ;; 8229 8230 cygwin* | mingw* | cegcc*) 8231 # On Win9x/ME, this test blows up -- it succeeds, but takes 8232 # about 5 minutes as the teststring grows exponentially. 8233 # Worse, since 9x/ME are not pre-emptively multitasking, 8234 # you end up with a "frozen" computer, even though with patience 8235 # the test eventually succeeds (with a max line length of 256k). 8236 # Instead, let's just punt: use the minimum linelength reported by 8237 # all of the supported platforms: 8192 (on NT/2K/XP). 8238 lt_cv_sys_max_cmd_len=8192; 8239 ;; 8240 8241 mint*) 8242 # On MiNT this can take a long time and run out of memory. 8243 lt_cv_sys_max_cmd_len=8192; 8244 ;; 8245 8246 amigaos*) 8247 # On AmigaOS with pdksh, this test takes hours, literally. 8248 # So we just punt and use a minimum line length of 8192. 8249 lt_cv_sys_max_cmd_len=8192; 8250 ;; 8251 8252 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 8253 # This has been around since 386BSD, at least. Likely further. 8254 if test -x /sbin/sysctl; then 8255 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 8256 elif test -x /usr/sbin/sysctl; then 8257 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 8258 else 8259 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 8260 fi 8261 # And add a safety zone 8262 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 8263 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 8264 ;; 8265 8266 interix*) 8267 # We know the value 262144 and hardcode it with a safety zone (like BSD) 8268 lt_cv_sys_max_cmd_len=196608 8269 ;; 8270 8271 os2*) 8272 # The test takes a long time on OS/2. 8273 lt_cv_sys_max_cmd_len=8192 8274 ;; 8275 8276 osf*) 8277 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 8278 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 8279 # nice to cause kernel panics so lets avoid the loop below. 8280 # First set a reasonable default. 8281 lt_cv_sys_max_cmd_len=16384 8282 # 8283 if test -x /sbin/sysconfig; then 8284 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 8285 *1*) lt_cv_sys_max_cmd_len=-1 ;; 8286 esac 8287 fi 8288 ;; 8289 sco3.2v5*) 8290 lt_cv_sys_max_cmd_len=102400 8291 ;; 8292 sysv5* | sco5v6* | sysv4.2uw2*) 8293 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 8294 if test -n "$kargmax"; then 8295 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 8296 else 8297 lt_cv_sys_max_cmd_len=32768 8298 fi 8299 ;; 8300 *) 8301 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 8302 if test -n "$lt_cv_sys_max_cmd_len" && \ 8303 test undefined != "$lt_cv_sys_max_cmd_len"; then 8304 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 8305 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 8306 else 8307 # Make teststring a little bigger before we do anything with it. 8308 # a 1K string should be a reasonable start. 8309 for i in 1 2 3 4 5 6 7 8; do 8310 teststring=$teststring$teststring 8311 done 8312 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 8313 # If test is not a shell built-in, we'll probably end up computing a 8314 # maximum length that is only half of the actual maximum length, but 8315 # we can't tell. 8316 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 8317 = "X$teststring$teststring"; } >/dev/null 2>&1 && 8318 test 17 != "$i" # 1/2 MB should be enough 8319 do 8320 i=`expr $i + 1` 8321 teststring=$teststring$teststring 8322 done 8323 # Only check the string length outside the loop. 8324 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 8325 teststring= 8326 # Add a significant safety factor because C++ compilers can tack on 8327 # massive amounts of additional arguments before passing them to the 8328 # linker. It appears as though 1/2 is a usable value. 8329 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 8330 fi 8331 ;; 8332 esac 8333 8334fi 8335 8336if test -n "$lt_cv_sys_max_cmd_len"; then 8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 8338$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 8339else 8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 8341$as_echo "none" >&6; } 8342fi 8343max_cmd_len=$lt_cv_sys_max_cmd_len 8344 8345 8346 8347 8348 8349 8350: ${CP="cp -f"} 8351: ${MV="mv -f"} 8352: ${RM="rm -f"} 8353 8354if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 8355 lt_unset=unset 8356else 8357 lt_unset=false 8358fi 8359 8360 8361 8362 8363 8364# test EBCDIC or ASCII 8365case `echo X|tr X '\101'` in 8366 A) # ASCII based system 8367 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 8368 lt_SP2NL='tr \040 \012' 8369 lt_NL2SP='tr \015\012 \040\040' 8370 ;; 8371 *) # EBCDIC based system 8372 lt_SP2NL='tr \100 \n' 8373 lt_NL2SP='tr \r\n \100\100' 8374 ;; 8375esac 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 8386$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 8387if ${lt_cv_to_host_file_cmd+:} false; then : 8388 $as_echo_n "(cached) " >&6 8389else 8390 case $host in 8391 *-*-mingw* ) 8392 case $build in 8393 *-*-mingw* ) # actually msys 8394 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 8395 ;; 8396 *-*-cygwin* ) 8397 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 8398 ;; 8399 * ) # otherwise, assume *nix 8400 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 8401 ;; 8402 esac 8403 ;; 8404 *-*-cygwin* ) 8405 case $build in 8406 *-*-mingw* ) # actually msys 8407 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 8408 ;; 8409 *-*-cygwin* ) 8410 lt_cv_to_host_file_cmd=func_convert_file_noop 8411 ;; 8412 * ) # otherwise, assume *nix 8413 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 8414 ;; 8415 esac 8416 ;; 8417 * ) # unhandled hosts (and "normal" native builds) 8418 lt_cv_to_host_file_cmd=func_convert_file_noop 8419 ;; 8420esac 8421 8422fi 8423 8424to_host_file_cmd=$lt_cv_to_host_file_cmd 8425{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 8426$as_echo "$lt_cv_to_host_file_cmd" >&6; } 8427 8428 8429 8430 8431 8432{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 8433$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 8434if ${lt_cv_to_tool_file_cmd+:} false; then : 8435 $as_echo_n "(cached) " >&6 8436else 8437 #assume ordinary cross tools, or native build. 8438lt_cv_to_tool_file_cmd=func_convert_file_noop 8439case $host in 8440 *-*-mingw* ) 8441 case $build in 8442 *-*-mingw* ) # actually msys 8443 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 8444 ;; 8445 esac 8446 ;; 8447esac 8448 8449fi 8450 8451to_tool_file_cmd=$lt_cv_to_tool_file_cmd 8452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 8453$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 8454 8455 8456 8457 8458 8459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 8460$as_echo_n "checking for $LD option to reload object files... " >&6; } 8461if ${lt_cv_ld_reload_flag+:} false; then : 8462 $as_echo_n "(cached) " >&6 8463else 8464 lt_cv_ld_reload_flag='-r' 8465fi 8466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 8467$as_echo "$lt_cv_ld_reload_flag" >&6; } 8468reload_flag=$lt_cv_ld_reload_flag 8469case $reload_flag in 8470"" | " "*) ;; 8471*) reload_flag=" $reload_flag" ;; 8472esac 8473reload_cmds='$LD$reload_flag -o $output$reload_objs' 8474case $host_os in 8475 cygwin* | mingw* | pw32* | cegcc*) 8476 if test yes != "$GCC"; then 8477 reload_cmds=false 8478 fi 8479 ;; 8480 darwin*) 8481 if test yes = "$GCC"; then 8482 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 8483 else 8484 reload_cmds='$LD$reload_flag -o $output$reload_objs' 8485 fi 8486 ;; 8487esac 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497if test -n "$ac_tool_prefix"; then 8498 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 8499set dummy ${ac_tool_prefix}objdump; ac_word=$2 8500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8501$as_echo_n "checking for $ac_word... " >&6; } 8502if ${ac_cv_prog_OBJDUMP+:} false; then : 8503 $as_echo_n "(cached) " >&6 8504else 8505 if test -n "$OBJDUMP"; then 8506 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 8507else 8508as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8509for as_dir in $PATH 8510do 8511 IFS=$as_save_IFS 8512 test -z "$as_dir" && as_dir=. 8513 for ac_exec_ext in '' $ac_executable_extensions; do 8514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8515 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 8516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8517 break 2 8518 fi 8519done 8520 done 8521IFS=$as_save_IFS 8522 8523fi 8524fi 8525OBJDUMP=$ac_cv_prog_OBJDUMP 8526if test -n "$OBJDUMP"; then 8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 8528$as_echo "$OBJDUMP" >&6; } 8529else 8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8531$as_echo "no" >&6; } 8532fi 8533 8534 8535fi 8536if test -z "$ac_cv_prog_OBJDUMP"; then 8537 ac_ct_OBJDUMP=$OBJDUMP 8538 # Extract the first word of "objdump", so it can be a program name with args. 8539set dummy objdump; ac_word=$2 8540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8541$as_echo_n "checking for $ac_word... " >&6; } 8542if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 8543 $as_echo_n "(cached) " >&6 8544else 8545 if test -n "$ac_ct_OBJDUMP"; then 8546 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 8547else 8548as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8549for as_dir in $PATH 8550do 8551 IFS=$as_save_IFS 8552 test -z "$as_dir" && as_dir=. 8553 for ac_exec_ext in '' $ac_executable_extensions; do 8554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8555 ac_cv_prog_ac_ct_OBJDUMP="objdump" 8556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8557 break 2 8558 fi 8559done 8560 done 8561IFS=$as_save_IFS 8562 8563fi 8564fi 8565ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 8566if test -n "$ac_ct_OBJDUMP"; then 8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 8568$as_echo "$ac_ct_OBJDUMP" >&6; } 8569else 8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8571$as_echo "no" >&6; } 8572fi 8573 8574 if test "x$ac_ct_OBJDUMP" = x; then 8575 OBJDUMP="false" 8576 else 8577 case $cross_compiling:$ac_tool_warned in 8578yes:) 8579{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8580$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8581ac_tool_warned=yes ;; 8582esac 8583 OBJDUMP=$ac_ct_OBJDUMP 8584 fi 8585else 8586 OBJDUMP="$ac_cv_prog_OBJDUMP" 8587fi 8588 8589test -z "$OBJDUMP" && OBJDUMP=objdump 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 8600$as_echo_n "checking how to recognize dependent libraries... " >&6; } 8601if ${lt_cv_deplibs_check_method+:} false; then : 8602 $as_echo_n "(cached) " >&6 8603else 8604 lt_cv_file_magic_cmd='$MAGIC_CMD' 8605lt_cv_file_magic_test_file= 8606lt_cv_deplibs_check_method='unknown' 8607# Need to set the preceding variable on all platforms that support 8608# interlibrary dependencies. 8609# 'none' -- dependencies not supported. 8610# 'unknown' -- same as none, but documents that we really don't know. 8611# 'pass_all' -- all dependencies passed with no checks. 8612# 'test_compile' -- check by making test program. 8613# 'file_magic [[regex]]' -- check by looking for files in library path 8614# that responds to the $file_magic_cmd with a given extended regex. 8615# If you have 'file' or equivalent on your system and you're not sure 8616# whether 'pass_all' will *always* work, you probably want this one. 8617 8618case $host_os in 8619aix[4-9]*) 8620 lt_cv_deplibs_check_method=pass_all 8621 ;; 8622 8623beos*) 8624 lt_cv_deplibs_check_method=pass_all 8625 ;; 8626 8627bsdi[45]*) 8628 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 8629 lt_cv_file_magic_cmd='/usr/bin/file -L' 8630 lt_cv_file_magic_test_file=/shlib/libc.so 8631 ;; 8632 8633cygwin*) 8634 # func_win32_libid is a shell function defined in ltmain.sh 8635 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 8636 lt_cv_file_magic_cmd='func_win32_libid' 8637 ;; 8638 8639mingw* | pw32*) 8640 # Base MSYS/MinGW do not provide the 'file' command needed by 8641 # func_win32_libid shell function, so use a weaker test based on 'objdump', 8642 # unless we find 'file', for example because we are cross-compiling. 8643 if ( file / ) >/dev/null 2>&1; then 8644 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 8645 lt_cv_file_magic_cmd='func_win32_libid' 8646 else 8647 # Keep this pattern in sync with the one in func_win32_libid. 8648 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 8649 lt_cv_file_magic_cmd='$OBJDUMP -f' 8650 fi 8651 ;; 8652 8653cegcc*) 8654 # use the weaker test based on 'objdump'. See mingw*. 8655 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 8656 lt_cv_file_magic_cmd='$OBJDUMP -f' 8657 ;; 8658 8659darwin* | rhapsody*) 8660 lt_cv_deplibs_check_method=pass_all 8661 ;; 8662 8663freebsd* | dragonfly*) 8664 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 8665 case $host_cpu in 8666 i*86 ) 8667 # Not sure whether the presence of OpenBSD here was a mistake. 8668 # Let's accept both of them until this is cleared up. 8669 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 8670 lt_cv_file_magic_cmd=/usr/bin/file 8671 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 8672 ;; 8673 esac 8674 else 8675 lt_cv_deplibs_check_method=pass_all 8676 fi 8677 ;; 8678 8679haiku*) 8680 lt_cv_deplibs_check_method=pass_all 8681 ;; 8682 8683hpux10.20* | hpux11*) 8684 lt_cv_file_magic_cmd=/usr/bin/file 8685 case $host_cpu in 8686 ia64*) 8687 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 8688 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 8689 ;; 8690 hppa*64*) 8691 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' 8692 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 8693 ;; 8694 *) 8695 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 8696 lt_cv_file_magic_test_file=/usr/lib/libc.sl 8697 ;; 8698 esac 8699 ;; 8700 8701interix[3-9]*) 8702 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 8703 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 8704 ;; 8705 8706irix5* | irix6* | nonstopux*) 8707 case $LD in 8708 *-32|*"-32 ") libmagic=32-bit;; 8709 *-n32|*"-n32 ") libmagic=N32;; 8710 *-64|*"-64 ") libmagic=64-bit;; 8711 *) libmagic=never-match;; 8712 esac 8713 lt_cv_deplibs_check_method=pass_all 8714 ;; 8715 8716# This must be glibc/ELF. 8717linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 8718 lt_cv_deplibs_check_method=pass_all 8719 ;; 8720 8721netbsd*) 8722 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 8723 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 8724 else 8725 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 8726 fi 8727 ;; 8728 8729newos6*) 8730 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 8731 lt_cv_file_magic_cmd=/usr/bin/file 8732 lt_cv_file_magic_test_file=/usr/lib/libnls.so 8733 ;; 8734 8735*nto* | *qnx*) 8736 lt_cv_deplibs_check_method=pass_all 8737 ;; 8738 8739openbsd* | bitrig*) 8740 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 8741 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 8742 else 8743 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 8744 fi 8745 ;; 8746 8747osf3* | osf4* | osf5*) 8748 lt_cv_deplibs_check_method=pass_all 8749 ;; 8750 8751rdos*) 8752 lt_cv_deplibs_check_method=pass_all 8753 ;; 8754 8755solaris*) 8756 lt_cv_deplibs_check_method=pass_all 8757 ;; 8758 8759sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 8760 lt_cv_deplibs_check_method=pass_all 8761 ;; 8762 8763sysv4 | sysv4.3*) 8764 case $host_vendor in 8765 motorola) 8766 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' 8767 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 8768 ;; 8769 ncr) 8770 lt_cv_deplibs_check_method=pass_all 8771 ;; 8772 sequent) 8773 lt_cv_file_magic_cmd='/bin/file' 8774 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 8775 ;; 8776 sni) 8777 lt_cv_file_magic_cmd='/bin/file' 8778 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 8779 lt_cv_file_magic_test_file=/lib/libc.so 8780 ;; 8781 siemens) 8782 lt_cv_deplibs_check_method=pass_all 8783 ;; 8784 pc) 8785 lt_cv_deplibs_check_method=pass_all 8786 ;; 8787 esac 8788 ;; 8789 8790tpf*) 8791 lt_cv_deplibs_check_method=pass_all 8792 ;; 8793os2*) 8794 lt_cv_deplibs_check_method=pass_all 8795 ;; 8796esac 8797 8798fi 8799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 8800$as_echo "$lt_cv_deplibs_check_method" >&6; } 8801 8802file_magic_glob= 8803want_nocaseglob=no 8804if test "$build" = "$host"; then 8805 case $host_os in 8806 mingw* | pw32*) 8807 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 8808 want_nocaseglob=yes 8809 else 8810 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 8811 fi 8812 ;; 8813 esac 8814fi 8815 8816file_magic_cmd=$lt_cv_file_magic_cmd 8817deplibs_check_method=$lt_cv_deplibs_check_method 8818test -z "$deplibs_check_method" && deplibs_check_method=unknown 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841if test -n "$ac_tool_prefix"; then 8842 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 8843set dummy ${ac_tool_prefix}dlltool; ac_word=$2 8844{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8845$as_echo_n "checking for $ac_word... " >&6; } 8846if ${ac_cv_prog_DLLTOOL+:} false; then : 8847 $as_echo_n "(cached) " >&6 8848else 8849 if test -n "$DLLTOOL"; then 8850 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 8851else 8852as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8853for as_dir in $PATH 8854do 8855 IFS=$as_save_IFS 8856 test -z "$as_dir" && as_dir=. 8857 for ac_exec_ext in '' $ac_executable_extensions; do 8858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8859 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 8860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8861 break 2 8862 fi 8863done 8864 done 8865IFS=$as_save_IFS 8866 8867fi 8868fi 8869DLLTOOL=$ac_cv_prog_DLLTOOL 8870if test -n "$DLLTOOL"; then 8871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 8872$as_echo "$DLLTOOL" >&6; } 8873else 8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8875$as_echo "no" >&6; } 8876fi 8877 8878 8879fi 8880if test -z "$ac_cv_prog_DLLTOOL"; then 8881 ac_ct_DLLTOOL=$DLLTOOL 8882 # Extract the first word of "dlltool", so it can be a program name with args. 8883set dummy dlltool; ac_word=$2 8884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8885$as_echo_n "checking for $ac_word... " >&6; } 8886if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 8887 $as_echo_n "(cached) " >&6 8888else 8889 if test -n "$ac_ct_DLLTOOL"; then 8890 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 8891else 8892as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8893for as_dir in $PATH 8894do 8895 IFS=$as_save_IFS 8896 test -z "$as_dir" && as_dir=. 8897 for ac_exec_ext in '' $ac_executable_extensions; do 8898 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8899 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 8900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8901 break 2 8902 fi 8903done 8904 done 8905IFS=$as_save_IFS 8906 8907fi 8908fi 8909ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 8910if test -n "$ac_ct_DLLTOOL"; then 8911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 8912$as_echo "$ac_ct_DLLTOOL" >&6; } 8913else 8914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8915$as_echo "no" >&6; } 8916fi 8917 8918 if test "x$ac_ct_DLLTOOL" = x; then 8919 DLLTOOL="false" 8920 else 8921 case $cross_compiling:$ac_tool_warned in 8922yes:) 8923{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8924$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8925ac_tool_warned=yes ;; 8926esac 8927 DLLTOOL=$ac_ct_DLLTOOL 8928 fi 8929else 8930 DLLTOOL="$ac_cv_prog_DLLTOOL" 8931fi 8932 8933test -z "$DLLTOOL" && DLLTOOL=dlltool 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 8945$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 8946if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 8947 $as_echo_n "(cached) " >&6 8948else 8949 lt_cv_sharedlib_from_linklib_cmd='unknown' 8950 8951case $host_os in 8952cygwin* | mingw* | pw32* | cegcc*) 8953 # two different shell functions defined in ltmain.sh; 8954 # decide which one to use based on capabilities of $DLLTOOL 8955 case `$DLLTOOL --help 2>&1` in 8956 *--identify-strict*) 8957 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 8958 ;; 8959 *) 8960 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 8961 ;; 8962 esac 8963 ;; 8964*) 8965 # fallback: assume linklib IS sharedlib 8966 lt_cv_sharedlib_from_linklib_cmd=$ECHO 8967 ;; 8968esac 8969 8970fi 8971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 8972$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 8973sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 8974test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 8975 8976 8977 8978 8979 8980 8981 8982if test -n "$ac_tool_prefix"; then 8983 for ac_prog in ar 8984 do 8985 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 8986set dummy $ac_tool_prefix$ac_prog; ac_word=$2 8987{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8988$as_echo_n "checking for $ac_word... " >&6; } 8989if ${ac_cv_prog_AR+:} false; then : 8990 $as_echo_n "(cached) " >&6 8991else 8992 if test -n "$AR"; then 8993 ac_cv_prog_AR="$AR" # Let the user override the test. 8994else 8995as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8996for as_dir in $PATH 8997do 8998 IFS=$as_save_IFS 8999 test -z "$as_dir" && as_dir=. 9000 for ac_exec_ext in '' $ac_executable_extensions; do 9001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9002 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 9003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9004 break 2 9005 fi 9006done 9007 done 9008IFS=$as_save_IFS 9009 9010fi 9011fi 9012AR=$ac_cv_prog_AR 9013if test -n "$AR"; then 9014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 9015$as_echo "$AR" >&6; } 9016else 9017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9018$as_echo "no" >&6; } 9019fi 9020 9021 9022 test -n "$AR" && break 9023 done 9024fi 9025if test -z "$AR"; then 9026 ac_ct_AR=$AR 9027 for ac_prog in ar 9028do 9029 # Extract the first word of "$ac_prog", so it can be a program name with args. 9030set dummy $ac_prog; ac_word=$2 9031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9032$as_echo_n "checking for $ac_word... " >&6; } 9033if ${ac_cv_prog_ac_ct_AR+:} false; then : 9034 $as_echo_n "(cached) " >&6 9035else 9036 if test -n "$ac_ct_AR"; then 9037 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 9038else 9039as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9040for as_dir in $PATH 9041do 9042 IFS=$as_save_IFS 9043 test -z "$as_dir" && as_dir=. 9044 for ac_exec_ext in '' $ac_executable_extensions; do 9045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9046 ac_cv_prog_ac_ct_AR="$ac_prog" 9047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9048 break 2 9049 fi 9050done 9051 done 9052IFS=$as_save_IFS 9053 9054fi 9055fi 9056ac_ct_AR=$ac_cv_prog_ac_ct_AR 9057if test -n "$ac_ct_AR"; then 9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 9059$as_echo "$ac_ct_AR" >&6; } 9060else 9061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9062$as_echo "no" >&6; } 9063fi 9064 9065 9066 test -n "$ac_ct_AR" && break 9067done 9068 9069 if test "x$ac_ct_AR" = x; then 9070 AR="false" 9071 else 9072 case $cross_compiling:$ac_tool_warned in 9073yes:) 9074{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9075$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9076ac_tool_warned=yes ;; 9077esac 9078 AR=$ac_ct_AR 9079 fi 9080fi 9081 9082: ${AR=ar} 9083: ${AR_FLAGS=cru} 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 9096$as_echo_n "checking for archiver @FILE support... " >&6; } 9097if ${lt_cv_ar_at_file+:} false; then : 9098 $as_echo_n "(cached) " >&6 9099else 9100 lt_cv_ar_at_file=no 9101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9102/* end confdefs.h. */ 9103 9104int 9105main () 9106{ 9107 9108 ; 9109 return 0; 9110} 9111_ACEOF 9112if ac_fn_c_try_compile "$LINENO"; then : 9113 echo conftest.$ac_objext > conftest.lst 9114 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 9115 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 9116 (eval $lt_ar_try) 2>&5 9117 ac_status=$? 9118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9119 test $ac_status = 0; } 9120 if test 0 -eq "$ac_status"; then 9121 # Ensure the archiver fails upon bogus file names. 9122 rm -f conftest.$ac_objext libconftest.a 9123 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 9124 (eval $lt_ar_try) 2>&5 9125 ac_status=$? 9126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9127 test $ac_status = 0; } 9128 if test 0 -ne "$ac_status"; then 9129 lt_cv_ar_at_file=@ 9130 fi 9131 fi 9132 rm -f conftest.* libconftest.a 9133 9134fi 9135rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9136 9137fi 9138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 9139$as_echo "$lt_cv_ar_at_file" >&6; } 9140 9141if test no = "$lt_cv_ar_at_file"; then 9142 archiver_list_spec= 9143else 9144 archiver_list_spec=$lt_cv_ar_at_file 9145fi 9146 9147 9148 9149 9150 9151 9152 9153if test -n "$ac_tool_prefix"; then 9154 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 9155set dummy ${ac_tool_prefix}strip; ac_word=$2 9156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9157$as_echo_n "checking for $ac_word... " >&6; } 9158if ${ac_cv_prog_STRIP+:} false; then : 9159 $as_echo_n "(cached) " >&6 9160else 9161 if test -n "$STRIP"; then 9162 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 9163else 9164as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9165for as_dir in $PATH 9166do 9167 IFS=$as_save_IFS 9168 test -z "$as_dir" && as_dir=. 9169 for ac_exec_ext in '' $ac_executable_extensions; do 9170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9171 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 9172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9173 break 2 9174 fi 9175done 9176 done 9177IFS=$as_save_IFS 9178 9179fi 9180fi 9181STRIP=$ac_cv_prog_STRIP 9182if test -n "$STRIP"; then 9183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 9184$as_echo "$STRIP" >&6; } 9185else 9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9187$as_echo "no" >&6; } 9188fi 9189 9190 9191fi 9192if test -z "$ac_cv_prog_STRIP"; then 9193 ac_ct_STRIP=$STRIP 9194 # Extract the first word of "strip", so it can be a program name with args. 9195set dummy strip; ac_word=$2 9196{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9197$as_echo_n "checking for $ac_word... " >&6; } 9198if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 9199 $as_echo_n "(cached) " >&6 9200else 9201 if test -n "$ac_ct_STRIP"; then 9202 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 9203else 9204as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9205for as_dir in $PATH 9206do 9207 IFS=$as_save_IFS 9208 test -z "$as_dir" && as_dir=. 9209 for ac_exec_ext in '' $ac_executable_extensions; do 9210 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9211 ac_cv_prog_ac_ct_STRIP="strip" 9212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9213 break 2 9214 fi 9215done 9216 done 9217IFS=$as_save_IFS 9218 9219fi 9220fi 9221ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 9222if test -n "$ac_ct_STRIP"; then 9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 9224$as_echo "$ac_ct_STRIP" >&6; } 9225else 9226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9227$as_echo "no" >&6; } 9228fi 9229 9230 if test "x$ac_ct_STRIP" = x; then 9231 STRIP=":" 9232 else 9233 case $cross_compiling:$ac_tool_warned in 9234yes:) 9235{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9236$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9237ac_tool_warned=yes ;; 9238esac 9239 STRIP=$ac_ct_STRIP 9240 fi 9241else 9242 STRIP="$ac_cv_prog_STRIP" 9243fi 9244 9245test -z "$STRIP" && STRIP=: 9246 9247 9248 9249 9250 9251 9252if test -n "$ac_tool_prefix"; then 9253 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 9254set dummy ${ac_tool_prefix}ranlib; ac_word=$2 9255{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9256$as_echo_n "checking for $ac_word... " >&6; } 9257if ${ac_cv_prog_RANLIB+:} false; then : 9258 $as_echo_n "(cached) " >&6 9259else 9260 if test -n "$RANLIB"; then 9261 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 9262else 9263as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9264for as_dir in $PATH 9265do 9266 IFS=$as_save_IFS 9267 test -z "$as_dir" && as_dir=. 9268 for ac_exec_ext in '' $ac_executable_extensions; do 9269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9270 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 9271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9272 break 2 9273 fi 9274done 9275 done 9276IFS=$as_save_IFS 9277 9278fi 9279fi 9280RANLIB=$ac_cv_prog_RANLIB 9281if test -n "$RANLIB"; then 9282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 9283$as_echo "$RANLIB" >&6; } 9284else 9285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9286$as_echo "no" >&6; } 9287fi 9288 9289 9290fi 9291if test -z "$ac_cv_prog_RANLIB"; then 9292 ac_ct_RANLIB=$RANLIB 9293 # Extract the first word of "ranlib", so it can be a program name with args. 9294set dummy ranlib; ac_word=$2 9295{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9296$as_echo_n "checking for $ac_word... " >&6; } 9297if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 9298 $as_echo_n "(cached) " >&6 9299else 9300 if test -n "$ac_ct_RANLIB"; then 9301 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 9302else 9303as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9304for as_dir in $PATH 9305do 9306 IFS=$as_save_IFS 9307 test -z "$as_dir" && as_dir=. 9308 for ac_exec_ext in '' $ac_executable_extensions; do 9309 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9310 ac_cv_prog_ac_ct_RANLIB="ranlib" 9311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9312 break 2 9313 fi 9314done 9315 done 9316IFS=$as_save_IFS 9317 9318fi 9319fi 9320ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 9321if test -n "$ac_ct_RANLIB"; then 9322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 9323$as_echo "$ac_ct_RANLIB" >&6; } 9324else 9325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9326$as_echo "no" >&6; } 9327fi 9328 9329 if test "x$ac_ct_RANLIB" = x; then 9330 RANLIB=":" 9331 else 9332 case $cross_compiling:$ac_tool_warned in 9333yes:) 9334{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9335$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9336ac_tool_warned=yes ;; 9337esac 9338 RANLIB=$ac_ct_RANLIB 9339 fi 9340else 9341 RANLIB="$ac_cv_prog_RANLIB" 9342fi 9343 9344test -z "$RANLIB" && RANLIB=: 9345 9346 9347 9348 9349 9350 9351# Determine commands to create old-style static archives. 9352old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 9353old_postinstall_cmds='chmod 644 $oldlib' 9354old_postuninstall_cmds= 9355 9356if test -n "$RANLIB"; then 9357 case $host_os in 9358 bitrig* | openbsd*) 9359 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 9360 ;; 9361 *) 9362 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 9363 ;; 9364 esac 9365 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 9366fi 9367 9368case $host_os in 9369 darwin*) 9370 lock_old_archive_extraction=yes ;; 9371 *) 9372 lock_old_archive_extraction=no ;; 9373esac 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413# If no C compiler was specified, use CC. 9414LTCC=${LTCC-"$CC"} 9415 9416# If no C compiler flags were specified, use CFLAGS. 9417LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 9418 9419# Allow CC to be a program name with arguments. 9420compiler=$CC 9421 9422 9423# Check for command to grab the raw symbol name followed by C symbol from nm. 9424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 9425$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 9426if ${lt_cv_sys_global_symbol_pipe+:} false; then : 9427 $as_echo_n "(cached) " >&6 9428else 9429 9430# These are sane defaults that work on at least a few old systems. 9431# [They come from Ultrix. What could be older than Ultrix?!! ;)] 9432 9433# Character class describing NM global symbol codes. 9434symcode='[BCDEGRST]' 9435 9436# Regexp to match symbols that can be accessed directly from C. 9437sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 9438 9439# Define system-specific variables. 9440case $host_os in 9441aix*) 9442 symcode='[BCDT]' 9443 ;; 9444cygwin* | mingw* | pw32* | cegcc*) 9445 symcode='[ABCDGISTW]' 9446 ;; 9447hpux*) 9448 if test ia64 = "$host_cpu"; then 9449 symcode='[ABCDEGRST]' 9450 fi 9451 ;; 9452irix* | nonstopux*) 9453 symcode='[BCDEGRST]' 9454 ;; 9455osf*) 9456 symcode='[BCDEGQRST]' 9457 ;; 9458solaris*) 9459 symcode='[BDRT]' 9460 ;; 9461sco3.2v5*) 9462 symcode='[DT]' 9463 ;; 9464sysv4.2uw2*) 9465 symcode='[DT]' 9466 ;; 9467sysv5* | sco5v6* | unixware* | OpenUNIX*) 9468 symcode='[ABDT]' 9469 ;; 9470sysv4) 9471 symcode='[DFNSTU]' 9472 ;; 9473esac 9474 9475# If we're using GNU nm, then use its standard symbol codes. 9476case `$NM -V 2>&1` in 9477*GNU* | *'with BFD'*) 9478 symcode='[ABCDGIRSTW]' ;; 9479esac 9480 9481if test "$lt_cv_nm_interface" = "MS dumpbin"; then 9482 # Gets list of data symbols to import. 9483 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 9484 # Adjust the below global symbol transforms to fixup imported variables. 9485 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 9486 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 9487 lt_c_name_lib_hook="\ 9488 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 9489 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 9490else 9491 # Disable hooks by default. 9492 lt_cv_sys_global_symbol_to_import= 9493 lt_cdecl_hook= 9494 lt_c_name_hook= 9495 lt_c_name_lib_hook= 9496fi 9497 9498# Transform an extracted symbol line into a proper C declaration. 9499# Some systems (esp. on ia64) link data and code symbols differently, 9500# so use this general approach. 9501lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 9502$lt_cdecl_hook\ 9503" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 9504" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 9505 9506# Transform an extracted symbol line into symbol name and symbol address 9507lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 9508$lt_c_name_hook\ 9509" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 9510" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 9511 9512# Transform an extracted symbol line into symbol name with lib prefix and 9513# symbol address. 9514lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 9515$lt_c_name_lib_hook\ 9516" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 9517" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 9518" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 9519 9520# Handle CRLF in mingw tool chain 9521opt_cr= 9522case $build_os in 9523mingw*) 9524 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 9525 ;; 9526esac 9527 9528# Try without a prefix underscore, then with it. 9529for ac_symprfx in "" "_"; do 9530 9531 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 9532 symxfrm="\\1 $ac_symprfx\\2 \\2" 9533 9534 # Write the raw and C identifiers. 9535 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 9536 # Fake it for dumpbin and say T for any non-static function, 9537 # D for any global variable and I for any imported variable. 9538 # Also find C++ and __fastcall symbols from MSVC++, 9539 # which start with @ or ?. 9540 lt_cv_sys_global_symbol_pipe="$AWK '"\ 9541" {last_section=section; section=\$ 3};"\ 9542" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 9543" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 9544" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 9545" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 9546" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 9547" \$ 0!~/External *\|/{next};"\ 9548" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 9549" {if(hide[section]) next};"\ 9550" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 9551" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 9552" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 9553" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 9554" ' prfx=^$ac_symprfx" 9555 else 9556 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 9557 fi 9558 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 9559 9560 # Check to see that the pipe works correctly. 9561 pipe_works=no 9562 9563 rm -f conftest* 9564 cat > conftest.$ac_ext <<_LT_EOF 9565#ifdef __cplusplus 9566extern "C" { 9567#endif 9568char nm_test_var; 9569void nm_test_func(void); 9570void nm_test_func(void){} 9571#ifdef __cplusplus 9572} 9573#endif 9574int main(){nm_test_var='a';nm_test_func();return(0);} 9575_LT_EOF 9576 9577 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9578 (eval $ac_compile) 2>&5 9579 ac_status=$? 9580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9581 test $ac_status = 0; }; then 9582 # Now try to grab the symbols. 9583 nlist=conftest.nm 9584 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 9585 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 9586 ac_status=$? 9587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9588 test $ac_status = 0; } && test -s "$nlist"; then 9589 # Try sorting and uniquifying the output. 9590 if sort "$nlist" | uniq > "$nlist"T; then 9591 mv -f "$nlist"T "$nlist" 9592 else 9593 rm -f "$nlist"T 9594 fi 9595 9596 # Make sure that we snagged all the symbols we need. 9597 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 9598 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 9599 cat <<_LT_EOF > conftest.$ac_ext 9600/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 9601#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 9602/* DATA imports from DLLs on WIN32 can't be const, because runtime 9603 relocations are performed -- see ld's documentation on pseudo-relocs. */ 9604# define LT_DLSYM_CONST 9605#elif defined __osf__ 9606/* This system does not cope well with relocations in const data. */ 9607# define LT_DLSYM_CONST 9608#else 9609# define LT_DLSYM_CONST const 9610#endif 9611 9612#ifdef __cplusplus 9613extern "C" { 9614#endif 9615 9616_LT_EOF 9617 # Now generate the symbol file. 9618 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 9619 9620 cat <<_LT_EOF >> conftest.$ac_ext 9621 9622/* The mapping between symbol names and symbols. */ 9623LT_DLSYM_CONST struct { 9624 const char *name; 9625 void *address; 9626} 9627lt__PROGRAM__LTX_preloaded_symbols[] = 9628{ 9629 { "@PROGRAM@", (void *) 0 }, 9630_LT_EOF 9631 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 9632 cat <<\_LT_EOF >> conftest.$ac_ext 9633 {0, (void *) 0} 9634}; 9635 9636/* This works around a problem in FreeBSD linker */ 9637#ifdef FREEBSD_WORKAROUND 9638static const void *lt_preloaded_setup() { 9639 return lt__PROGRAM__LTX_preloaded_symbols; 9640} 9641#endif 9642 9643#ifdef __cplusplus 9644} 9645#endif 9646_LT_EOF 9647 # Now try linking the two files. 9648 mv conftest.$ac_objext conftstm.$ac_objext 9649 lt_globsym_save_LIBS=$LIBS 9650 lt_globsym_save_CFLAGS=$CFLAGS 9651 LIBS=conftstm.$ac_objext 9652 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 9653 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 9654 (eval $ac_link) 2>&5 9655 ac_status=$? 9656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9657 test $ac_status = 0; } && test -s conftest$ac_exeext; then 9658 pipe_works=yes 9659 fi 9660 LIBS=$lt_globsym_save_LIBS 9661 CFLAGS=$lt_globsym_save_CFLAGS 9662 else 9663 echo "cannot find nm_test_func in $nlist" >&5 9664 fi 9665 else 9666 echo "cannot find nm_test_var in $nlist" >&5 9667 fi 9668 else 9669 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 9670 fi 9671 else 9672 echo "$progname: failed program was:" >&5 9673 cat conftest.$ac_ext >&5 9674 fi 9675 rm -rf conftest* conftst* 9676 9677 # Do not use the global_symbol_pipe unless it works. 9678 if test yes = "$pipe_works"; then 9679 break 9680 else 9681 lt_cv_sys_global_symbol_pipe= 9682 fi 9683done 9684 9685fi 9686 9687if test -z "$lt_cv_sys_global_symbol_pipe"; then 9688 lt_cv_sys_global_symbol_to_cdecl= 9689fi 9690if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 9692$as_echo "failed" >&6; } 9693else 9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 9695$as_echo "ok" >&6; } 9696fi 9697 9698# Response file support. 9699if test "$lt_cv_nm_interface" = "MS dumpbin"; then 9700 nm_file_list_spec='@' 9701elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 9702 nm_file_list_spec='@' 9703fi 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 9742$as_echo_n "checking for sysroot... " >&6; } 9743 9744# Check whether --with-sysroot was given. 9745if test "${with_sysroot+set}" = set; then : 9746 withval=$with_sysroot; 9747else 9748 with_sysroot=no 9749fi 9750 9751 9752lt_sysroot= 9753case $with_sysroot in #( 9754 yes) 9755 if test yes = "$GCC"; then 9756 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 9757 fi 9758 ;; #( 9759 /*) 9760 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 9761 ;; #( 9762 no|'') 9763 ;; #( 9764 *) 9765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 9766$as_echo "$with_sysroot" >&6; } 9767 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 9768 ;; 9769esac 9770 9771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 9772$as_echo "${lt_sysroot:-no}" >&6; } 9773 9774 9775 9776 9777 9778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 9779$as_echo_n "checking for a working dd... " >&6; } 9780if ${ac_cv_path_lt_DD+:} false; then : 9781 $as_echo_n "(cached) " >&6 9782else 9783 printf 0123456789abcdef0123456789abcdef >conftest.i 9784cat conftest.i conftest.i >conftest2.i 9785: ${lt_DD:=$DD} 9786if test -z "$lt_DD"; then 9787 ac_path_lt_DD_found=false 9788 # Loop through the user's path and test for each of PROGNAME-LIST 9789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9790for as_dir in $PATH 9791do 9792 IFS=$as_save_IFS 9793 test -z "$as_dir" && as_dir=. 9794 for ac_prog in dd; do 9795 for ac_exec_ext in '' $ac_executable_extensions; do 9796 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 9797 as_fn_executable_p "$ac_path_lt_DD" || continue 9798if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 9799 cmp -s conftest.i conftest.out \ 9800 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 9801fi 9802 $ac_path_lt_DD_found && break 3 9803 done 9804 done 9805 done 9806IFS=$as_save_IFS 9807 if test -z "$ac_cv_path_lt_DD"; then 9808 : 9809 fi 9810else 9811 ac_cv_path_lt_DD=$lt_DD 9812fi 9813 9814rm -f conftest.i conftest2.i conftest.out 9815fi 9816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 9817$as_echo "$ac_cv_path_lt_DD" >&6; } 9818 9819 9820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 9821$as_echo_n "checking how to truncate binary pipes... " >&6; } 9822if ${lt_cv_truncate_bin+:} false; then : 9823 $as_echo_n "(cached) " >&6 9824else 9825 printf 0123456789abcdef0123456789abcdef >conftest.i 9826cat conftest.i conftest.i >conftest2.i 9827lt_cv_truncate_bin= 9828if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 9829 cmp -s conftest.i conftest.out \ 9830 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 9831fi 9832rm -f conftest.i conftest2.i conftest.out 9833test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 9834fi 9835{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 9836$as_echo "$lt_cv_truncate_bin" >&6; } 9837 9838 9839 9840 9841 9842 9843 9844# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 9845func_cc_basename () 9846{ 9847 for cc_temp in $*""; do 9848 case $cc_temp in 9849 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 9850 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 9851 \-*) ;; 9852 *) break;; 9853 esac 9854 done 9855 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 9856} 9857 9858# Check whether --enable-libtool-lock was given. 9859if test "${enable_libtool_lock+set}" = set; then : 9860 enableval=$enable_libtool_lock; 9861fi 9862 9863test no = "$enable_libtool_lock" || enable_libtool_lock=yes 9864 9865# Some flags need to be propagated to the compiler or linker for good 9866# libtool support. 9867case $host in 9868ia64-*-hpux*) 9869 # Find out what ABI is being produced by ac_compile, and set mode 9870 # options accordingly. 9871 echo 'int i;' > conftest.$ac_ext 9872 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9873 (eval $ac_compile) 2>&5 9874 ac_status=$? 9875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9876 test $ac_status = 0; }; then 9877 case `/usr/bin/file conftest.$ac_objext` in 9878 *ELF-32*) 9879 HPUX_IA64_MODE=32 9880 ;; 9881 *ELF-64*) 9882 HPUX_IA64_MODE=64 9883 ;; 9884 esac 9885 fi 9886 rm -rf conftest* 9887 ;; 9888*-*-irix6*) 9889 # Find out what ABI is being produced by ac_compile, and set linker 9890 # options accordingly. 9891 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 9892 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9893 (eval $ac_compile) 2>&5 9894 ac_status=$? 9895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9896 test $ac_status = 0; }; then 9897 if test yes = "$lt_cv_prog_gnu_ld"; then 9898 case `/usr/bin/file conftest.$ac_objext` in 9899 *32-bit*) 9900 LD="${LD-ld} -melf32bsmip" 9901 ;; 9902 *N32*) 9903 LD="${LD-ld} -melf32bmipn32" 9904 ;; 9905 *64-bit*) 9906 LD="${LD-ld} -melf64bmip" 9907 ;; 9908 esac 9909 else 9910 case `/usr/bin/file conftest.$ac_objext` in 9911 *32-bit*) 9912 LD="${LD-ld} -32" 9913 ;; 9914 *N32*) 9915 LD="${LD-ld} -n32" 9916 ;; 9917 *64-bit*) 9918 LD="${LD-ld} -64" 9919 ;; 9920 esac 9921 fi 9922 fi 9923 rm -rf conftest* 9924 ;; 9925 9926mips64*-*linux*) 9927 # Find out what ABI is being produced by ac_compile, and set linker 9928 # options accordingly. 9929 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 9930 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9931 (eval $ac_compile) 2>&5 9932 ac_status=$? 9933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9934 test $ac_status = 0; }; then 9935 emul=elf 9936 case `/usr/bin/file conftest.$ac_objext` in 9937 *32-bit*) 9938 emul="${emul}32" 9939 ;; 9940 *64-bit*) 9941 emul="${emul}64" 9942 ;; 9943 esac 9944 case `/usr/bin/file conftest.$ac_objext` in 9945 *MSB*) 9946 emul="${emul}btsmip" 9947 ;; 9948 *LSB*) 9949 emul="${emul}ltsmip" 9950 ;; 9951 esac 9952 case `/usr/bin/file conftest.$ac_objext` in 9953 *N32*) 9954 emul="${emul}n32" 9955 ;; 9956 esac 9957 LD="${LD-ld} -m $emul" 9958 fi 9959 rm -rf conftest* 9960 ;; 9961 9962x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 9963s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 9964 # Find out what ABI is being produced by ac_compile, and set linker 9965 # options accordingly. Note that the listed cases only cover the 9966 # situations where additional linker options are needed (such as when 9967 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 9968 # vice versa); the common cases where no linker options are needed do 9969 # not appear in the list. 9970 echo 'int i;' > conftest.$ac_ext 9971 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9972 (eval $ac_compile) 2>&5 9973 ac_status=$? 9974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9975 test $ac_status = 0; }; then 9976 case `/usr/bin/file conftest.o` in 9977 *32-bit*) 9978 case $host in 9979 x86_64-*kfreebsd*-gnu) 9980 LD="${LD-ld} -m elf_i386_fbsd" 9981 ;; 9982 x86_64-*linux*) 9983 case `/usr/bin/file conftest.o` in 9984 *x86-64*) 9985 LD="${LD-ld} -m elf32_x86_64" 9986 ;; 9987 *) 9988 LD="${LD-ld} -m elf_i386" 9989 ;; 9990 esac 9991 ;; 9992 powerpc64le-*linux*) 9993 LD="${LD-ld} -m elf32lppclinux" 9994 ;; 9995 powerpc64-*linux*) 9996 LD="${LD-ld} -m elf32ppclinux" 9997 ;; 9998 s390x-*linux*) 9999 LD="${LD-ld} -m elf_s390" 10000 ;; 10001 sparc64-*linux*) 10002 LD="${LD-ld} -m elf32_sparc" 10003 ;; 10004 esac 10005 ;; 10006 *64-bit*) 10007 case $host in 10008 x86_64-*kfreebsd*-gnu) 10009 LD="${LD-ld} -m elf_x86_64_fbsd" 10010 ;; 10011 x86_64-*linux*) 10012 LD="${LD-ld} -m elf_x86_64" 10013 ;; 10014 powerpcle-*linux*) 10015 LD="${LD-ld} -m elf64lppc" 10016 ;; 10017 powerpc-*linux*) 10018 LD="${LD-ld} -m elf64ppc" 10019 ;; 10020 s390*-*linux*|s390*-*tpf*) 10021 LD="${LD-ld} -m elf64_s390" 10022 ;; 10023 sparc*-*linux*) 10024 LD="${LD-ld} -m elf64_sparc" 10025 ;; 10026 esac 10027 ;; 10028 esac 10029 fi 10030 rm -rf conftest* 10031 ;; 10032 10033*-*-sco3.2v5*) 10034 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 10035 SAVE_CFLAGS=$CFLAGS 10036 CFLAGS="$CFLAGS -belf" 10037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 10038$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 10039if ${lt_cv_cc_needs_belf+:} false; then : 10040 $as_echo_n "(cached) " >&6 10041else 10042 ac_ext=c 10043ac_cpp='$CPP $CPPFLAGS' 10044ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 10045ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 10046ac_compiler_gnu=$ac_cv_c_compiler_gnu 10047 10048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10049/* end confdefs.h. */ 10050 10051int 10052main () 10053{ 10054 10055 ; 10056 return 0; 10057} 10058_ACEOF 10059if ac_fn_c_try_link "$LINENO"; then : 10060 lt_cv_cc_needs_belf=yes 10061else 10062 lt_cv_cc_needs_belf=no 10063fi 10064rm -f core conftest.err conftest.$ac_objext \ 10065 conftest$ac_exeext conftest.$ac_ext 10066 ac_ext=c 10067ac_cpp='$CPP $CPPFLAGS' 10068ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 10069ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 10070ac_compiler_gnu=$ac_cv_c_compiler_gnu 10071 10072fi 10073{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 10074$as_echo "$lt_cv_cc_needs_belf" >&6; } 10075 if test yes != "$lt_cv_cc_needs_belf"; then 10076 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 10077 CFLAGS=$SAVE_CFLAGS 10078 fi 10079 ;; 10080*-*solaris*) 10081 # Find out what ABI is being produced by ac_compile, and set linker 10082 # options accordingly. 10083 echo 'int i;' > conftest.$ac_ext 10084 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10085 (eval $ac_compile) 2>&5 10086 ac_status=$? 10087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10088 test $ac_status = 0; }; then 10089 case `/usr/bin/file conftest.o` in 10090 *64-bit*) 10091 case $lt_cv_prog_gnu_ld in 10092 yes*) 10093 case $host in 10094 i?86-*-solaris*|x86_64-*-solaris*) 10095 LD="${LD-ld} -m elf_x86_64" 10096 ;; 10097 sparc*-*-solaris*) 10098 LD="${LD-ld} -m elf64_sparc" 10099 ;; 10100 esac 10101 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 10102 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 10103 LD=${LD-ld}_sol2 10104 fi 10105 ;; 10106 *) 10107 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 10108 LD="${LD-ld} -64" 10109 fi 10110 ;; 10111 esac 10112 ;; 10113 esac 10114 fi 10115 rm -rf conftest* 10116 ;; 10117esac 10118 10119need_locks=$enable_libtool_lock 10120 10121if test -n "$ac_tool_prefix"; then 10122 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 10123set dummy ${ac_tool_prefix}mt; ac_word=$2 10124{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10125$as_echo_n "checking for $ac_word... " >&6; } 10126if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 10127 $as_echo_n "(cached) " >&6 10128else 10129 if test -n "$MANIFEST_TOOL"; then 10130 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 10131else 10132as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10133for as_dir in $PATH 10134do 10135 IFS=$as_save_IFS 10136 test -z "$as_dir" && as_dir=. 10137 for ac_exec_ext in '' $ac_executable_extensions; do 10138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10139 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 10140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10141 break 2 10142 fi 10143done 10144 done 10145IFS=$as_save_IFS 10146 10147fi 10148fi 10149MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 10150if test -n "$MANIFEST_TOOL"; then 10151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 10152$as_echo "$MANIFEST_TOOL" >&6; } 10153else 10154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10155$as_echo "no" >&6; } 10156fi 10157 10158 10159fi 10160if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 10161 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 10162 # Extract the first word of "mt", so it can be a program name with args. 10163set dummy mt; ac_word=$2 10164{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10165$as_echo_n "checking for $ac_word... " >&6; } 10166if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 10167 $as_echo_n "(cached) " >&6 10168else 10169 if test -n "$ac_ct_MANIFEST_TOOL"; then 10170 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 10171else 10172as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10173for as_dir in $PATH 10174do 10175 IFS=$as_save_IFS 10176 test -z "$as_dir" && as_dir=. 10177 for ac_exec_ext in '' $ac_executable_extensions; do 10178 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10179 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 10180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10181 break 2 10182 fi 10183done 10184 done 10185IFS=$as_save_IFS 10186 10187fi 10188fi 10189ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 10190if test -n "$ac_ct_MANIFEST_TOOL"; then 10191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 10192$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 10193else 10194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10195$as_echo "no" >&6; } 10196fi 10197 10198 if test "x$ac_ct_MANIFEST_TOOL" = x; then 10199 MANIFEST_TOOL=":" 10200 else 10201 case $cross_compiling:$ac_tool_warned in 10202yes:) 10203{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 10204$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 10205ac_tool_warned=yes ;; 10206esac 10207 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 10208 fi 10209else 10210 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 10211fi 10212 10213test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 10214{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 10215$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 10216if ${lt_cv_path_mainfest_tool+:} false; then : 10217 $as_echo_n "(cached) " >&6 10218else 10219 lt_cv_path_mainfest_tool=no 10220 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 10221 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 10222 cat conftest.err >&5 10223 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 10224 lt_cv_path_mainfest_tool=yes 10225 fi 10226 rm -f conftest* 10227fi 10228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 10229$as_echo "$lt_cv_path_mainfest_tool" >&6; } 10230if test yes != "$lt_cv_path_mainfest_tool"; then 10231 MANIFEST_TOOL=: 10232fi 10233 10234 10235 10236 10237 10238 10239 case $host_os in 10240 rhapsody* | darwin*) 10241 if test -n "$ac_tool_prefix"; then 10242 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 10243set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 10244{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10245$as_echo_n "checking for $ac_word... " >&6; } 10246if ${ac_cv_prog_DSYMUTIL+:} false; then : 10247 $as_echo_n "(cached) " >&6 10248else 10249 if test -n "$DSYMUTIL"; then 10250 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 10251else 10252as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10253for as_dir in $PATH 10254do 10255 IFS=$as_save_IFS 10256 test -z "$as_dir" && as_dir=. 10257 for ac_exec_ext in '' $ac_executable_extensions; do 10258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10259 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 10260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10261 break 2 10262 fi 10263done 10264 done 10265IFS=$as_save_IFS 10266 10267fi 10268fi 10269DSYMUTIL=$ac_cv_prog_DSYMUTIL 10270if test -n "$DSYMUTIL"; then 10271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 10272$as_echo "$DSYMUTIL" >&6; } 10273else 10274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10275$as_echo "no" >&6; } 10276fi 10277 10278 10279fi 10280if test -z "$ac_cv_prog_DSYMUTIL"; then 10281 ac_ct_DSYMUTIL=$DSYMUTIL 10282 # Extract the first word of "dsymutil", so it can be a program name with args. 10283set dummy dsymutil; ac_word=$2 10284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10285$as_echo_n "checking for $ac_word... " >&6; } 10286if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 10287 $as_echo_n "(cached) " >&6 10288else 10289 if test -n "$ac_ct_DSYMUTIL"; then 10290 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 10291else 10292as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10293for as_dir in $PATH 10294do 10295 IFS=$as_save_IFS 10296 test -z "$as_dir" && as_dir=. 10297 for ac_exec_ext in '' $ac_executable_extensions; do 10298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10299 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 10300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10301 break 2 10302 fi 10303done 10304 done 10305IFS=$as_save_IFS 10306 10307fi 10308fi 10309ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 10310if test -n "$ac_ct_DSYMUTIL"; then 10311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 10312$as_echo "$ac_ct_DSYMUTIL" >&6; } 10313else 10314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10315$as_echo "no" >&6; } 10316fi 10317 10318 if test "x$ac_ct_DSYMUTIL" = x; then 10319 DSYMUTIL=":" 10320 else 10321 case $cross_compiling:$ac_tool_warned in 10322yes:) 10323{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 10324$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 10325ac_tool_warned=yes ;; 10326esac 10327 DSYMUTIL=$ac_ct_DSYMUTIL 10328 fi 10329else 10330 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 10331fi 10332 10333 if test -n "$ac_tool_prefix"; then 10334 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 10335set dummy ${ac_tool_prefix}nmedit; ac_word=$2 10336{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10337$as_echo_n "checking for $ac_word... " >&6; } 10338if ${ac_cv_prog_NMEDIT+:} false; then : 10339 $as_echo_n "(cached) " >&6 10340else 10341 if test -n "$NMEDIT"; then 10342 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 10343else 10344as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10345for as_dir in $PATH 10346do 10347 IFS=$as_save_IFS 10348 test -z "$as_dir" && as_dir=. 10349 for ac_exec_ext in '' $ac_executable_extensions; do 10350 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10351 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 10352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10353 break 2 10354 fi 10355done 10356 done 10357IFS=$as_save_IFS 10358 10359fi 10360fi 10361NMEDIT=$ac_cv_prog_NMEDIT 10362if test -n "$NMEDIT"; then 10363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 10364$as_echo "$NMEDIT" >&6; } 10365else 10366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10367$as_echo "no" >&6; } 10368fi 10369 10370 10371fi 10372if test -z "$ac_cv_prog_NMEDIT"; then 10373 ac_ct_NMEDIT=$NMEDIT 10374 # Extract the first word of "nmedit", so it can be a program name with args. 10375set dummy nmedit; ac_word=$2 10376{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10377$as_echo_n "checking for $ac_word... " >&6; } 10378if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 10379 $as_echo_n "(cached) " >&6 10380else 10381 if test -n "$ac_ct_NMEDIT"; then 10382 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 10383else 10384as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10385for as_dir in $PATH 10386do 10387 IFS=$as_save_IFS 10388 test -z "$as_dir" && as_dir=. 10389 for ac_exec_ext in '' $ac_executable_extensions; do 10390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10391 ac_cv_prog_ac_ct_NMEDIT="nmedit" 10392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10393 break 2 10394 fi 10395done 10396 done 10397IFS=$as_save_IFS 10398 10399fi 10400fi 10401ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 10402if test -n "$ac_ct_NMEDIT"; then 10403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 10404$as_echo "$ac_ct_NMEDIT" >&6; } 10405else 10406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10407$as_echo "no" >&6; } 10408fi 10409 10410 if test "x$ac_ct_NMEDIT" = x; then 10411 NMEDIT=":" 10412 else 10413 case $cross_compiling:$ac_tool_warned in 10414yes:) 10415{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 10416$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 10417ac_tool_warned=yes ;; 10418esac 10419 NMEDIT=$ac_ct_NMEDIT 10420 fi 10421else 10422 NMEDIT="$ac_cv_prog_NMEDIT" 10423fi 10424 10425 if test -n "$ac_tool_prefix"; then 10426 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 10427set dummy ${ac_tool_prefix}lipo; ac_word=$2 10428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10429$as_echo_n "checking for $ac_word... " >&6; } 10430if ${ac_cv_prog_LIPO+:} false; then : 10431 $as_echo_n "(cached) " >&6 10432else 10433 if test -n "$LIPO"; then 10434 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 10435else 10436as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10437for as_dir in $PATH 10438do 10439 IFS=$as_save_IFS 10440 test -z "$as_dir" && as_dir=. 10441 for ac_exec_ext in '' $ac_executable_extensions; do 10442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10443 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 10444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10445 break 2 10446 fi 10447done 10448 done 10449IFS=$as_save_IFS 10450 10451fi 10452fi 10453LIPO=$ac_cv_prog_LIPO 10454if test -n "$LIPO"; then 10455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 10456$as_echo "$LIPO" >&6; } 10457else 10458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10459$as_echo "no" >&6; } 10460fi 10461 10462 10463fi 10464if test -z "$ac_cv_prog_LIPO"; then 10465 ac_ct_LIPO=$LIPO 10466 # Extract the first word of "lipo", so it can be a program name with args. 10467set dummy lipo; ac_word=$2 10468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10469$as_echo_n "checking for $ac_word... " >&6; } 10470if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 10471 $as_echo_n "(cached) " >&6 10472else 10473 if test -n "$ac_ct_LIPO"; then 10474 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 10475else 10476as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10477for as_dir in $PATH 10478do 10479 IFS=$as_save_IFS 10480 test -z "$as_dir" && as_dir=. 10481 for ac_exec_ext in '' $ac_executable_extensions; do 10482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10483 ac_cv_prog_ac_ct_LIPO="lipo" 10484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10485 break 2 10486 fi 10487done 10488 done 10489IFS=$as_save_IFS 10490 10491fi 10492fi 10493ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 10494if test -n "$ac_ct_LIPO"; then 10495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 10496$as_echo "$ac_ct_LIPO" >&6; } 10497else 10498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10499$as_echo "no" >&6; } 10500fi 10501 10502 if test "x$ac_ct_LIPO" = x; then 10503 LIPO=":" 10504 else 10505 case $cross_compiling:$ac_tool_warned in 10506yes:) 10507{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 10508$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 10509ac_tool_warned=yes ;; 10510esac 10511 LIPO=$ac_ct_LIPO 10512 fi 10513else 10514 LIPO="$ac_cv_prog_LIPO" 10515fi 10516 10517 if test -n "$ac_tool_prefix"; then 10518 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 10519set dummy ${ac_tool_prefix}otool; ac_word=$2 10520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10521$as_echo_n "checking for $ac_word... " >&6; } 10522if ${ac_cv_prog_OTOOL+:} false; then : 10523 $as_echo_n "(cached) " >&6 10524else 10525 if test -n "$OTOOL"; then 10526 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 10527else 10528as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10529for as_dir in $PATH 10530do 10531 IFS=$as_save_IFS 10532 test -z "$as_dir" && as_dir=. 10533 for ac_exec_ext in '' $ac_executable_extensions; do 10534 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10535 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 10536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10537 break 2 10538 fi 10539done 10540 done 10541IFS=$as_save_IFS 10542 10543fi 10544fi 10545OTOOL=$ac_cv_prog_OTOOL 10546if test -n "$OTOOL"; then 10547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 10548$as_echo "$OTOOL" >&6; } 10549else 10550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10551$as_echo "no" >&6; } 10552fi 10553 10554 10555fi 10556if test -z "$ac_cv_prog_OTOOL"; then 10557 ac_ct_OTOOL=$OTOOL 10558 # Extract the first word of "otool", so it can be a program name with args. 10559set dummy otool; ac_word=$2 10560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10561$as_echo_n "checking for $ac_word... " >&6; } 10562if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 10563 $as_echo_n "(cached) " >&6 10564else 10565 if test -n "$ac_ct_OTOOL"; then 10566 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 10567else 10568as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10569for as_dir in $PATH 10570do 10571 IFS=$as_save_IFS 10572 test -z "$as_dir" && as_dir=. 10573 for ac_exec_ext in '' $ac_executable_extensions; do 10574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10575 ac_cv_prog_ac_ct_OTOOL="otool" 10576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10577 break 2 10578 fi 10579done 10580 done 10581IFS=$as_save_IFS 10582 10583fi 10584fi 10585ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 10586if test -n "$ac_ct_OTOOL"; then 10587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 10588$as_echo "$ac_ct_OTOOL" >&6; } 10589else 10590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10591$as_echo "no" >&6; } 10592fi 10593 10594 if test "x$ac_ct_OTOOL" = x; then 10595 OTOOL=":" 10596 else 10597 case $cross_compiling:$ac_tool_warned in 10598yes:) 10599{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 10600$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 10601ac_tool_warned=yes ;; 10602esac 10603 OTOOL=$ac_ct_OTOOL 10604 fi 10605else 10606 OTOOL="$ac_cv_prog_OTOOL" 10607fi 10608 10609 if test -n "$ac_tool_prefix"; then 10610 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 10611set dummy ${ac_tool_prefix}otool64; ac_word=$2 10612{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10613$as_echo_n "checking for $ac_word... " >&6; } 10614if ${ac_cv_prog_OTOOL64+:} false; then : 10615 $as_echo_n "(cached) " >&6 10616else 10617 if test -n "$OTOOL64"; then 10618 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 10619else 10620as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10621for as_dir in $PATH 10622do 10623 IFS=$as_save_IFS 10624 test -z "$as_dir" && as_dir=. 10625 for ac_exec_ext in '' $ac_executable_extensions; do 10626 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10627 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 10628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10629 break 2 10630 fi 10631done 10632 done 10633IFS=$as_save_IFS 10634 10635fi 10636fi 10637OTOOL64=$ac_cv_prog_OTOOL64 10638if test -n "$OTOOL64"; then 10639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 10640$as_echo "$OTOOL64" >&6; } 10641else 10642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10643$as_echo "no" >&6; } 10644fi 10645 10646 10647fi 10648if test -z "$ac_cv_prog_OTOOL64"; then 10649 ac_ct_OTOOL64=$OTOOL64 10650 # Extract the first word of "otool64", so it can be a program name with args. 10651set dummy otool64; ac_word=$2 10652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10653$as_echo_n "checking for $ac_word... " >&6; } 10654if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 10655 $as_echo_n "(cached) " >&6 10656else 10657 if test -n "$ac_ct_OTOOL64"; then 10658 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 10659else 10660as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10661for as_dir in $PATH 10662do 10663 IFS=$as_save_IFS 10664 test -z "$as_dir" && as_dir=. 10665 for ac_exec_ext in '' $ac_executable_extensions; do 10666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10667 ac_cv_prog_ac_ct_OTOOL64="otool64" 10668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10669 break 2 10670 fi 10671done 10672 done 10673IFS=$as_save_IFS 10674 10675fi 10676fi 10677ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 10678if test -n "$ac_ct_OTOOL64"; then 10679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 10680$as_echo "$ac_ct_OTOOL64" >&6; } 10681else 10682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10683$as_echo "no" >&6; } 10684fi 10685 10686 if test "x$ac_ct_OTOOL64" = x; then 10687 OTOOL64=":" 10688 else 10689 case $cross_compiling:$ac_tool_warned in 10690yes:) 10691{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 10692$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 10693ac_tool_warned=yes ;; 10694esac 10695 OTOOL64=$ac_ct_OTOOL64 10696 fi 10697else 10698 OTOOL64="$ac_cv_prog_OTOOL64" 10699fi 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 10728$as_echo_n "checking for -single_module linker flag... " >&6; } 10729if ${lt_cv_apple_cc_single_mod+:} false; then : 10730 $as_echo_n "(cached) " >&6 10731else 10732 lt_cv_apple_cc_single_mod=no 10733 if test -z "$LT_MULTI_MODULE"; then 10734 # By default we will add the -single_module flag. You can override 10735 # by either setting the environment variable LT_MULTI_MODULE 10736 # non-empty at configure time, or by adding -multi_module to the 10737 # link flags. 10738 rm -rf libconftest.dylib* 10739 echo "int foo(void){return 1;}" > conftest.c 10740 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 10741-dynamiclib -Wl,-single_module conftest.c" >&5 10742 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 10743 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 10744 _lt_result=$? 10745 # If there is a non-empty error log, and "single_module" 10746 # appears in it, assume the flag caused a linker warning 10747 if test -s conftest.err && $GREP single_module conftest.err; then 10748 cat conftest.err >&5 10749 # Otherwise, if the output was created with a 0 exit code from 10750 # the compiler, it worked. 10751 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 10752 lt_cv_apple_cc_single_mod=yes 10753 else 10754 cat conftest.err >&5 10755 fi 10756 rm -rf libconftest.dylib* 10757 rm -f conftest.* 10758 fi 10759fi 10760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 10761$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 10762 10763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 10764$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 10765if ${lt_cv_ld_exported_symbols_list+:} false; then : 10766 $as_echo_n "(cached) " >&6 10767else 10768 lt_cv_ld_exported_symbols_list=no 10769 save_LDFLAGS=$LDFLAGS 10770 echo "_main" > conftest.sym 10771 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 10772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10773/* end confdefs.h. */ 10774 10775int 10776main () 10777{ 10778 10779 ; 10780 return 0; 10781} 10782_ACEOF 10783if ac_fn_c_try_link "$LINENO"; then : 10784 lt_cv_ld_exported_symbols_list=yes 10785else 10786 lt_cv_ld_exported_symbols_list=no 10787fi 10788rm -f core conftest.err conftest.$ac_objext \ 10789 conftest$ac_exeext conftest.$ac_ext 10790 LDFLAGS=$save_LDFLAGS 10791 10792fi 10793{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 10794$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 10795 10796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 10797$as_echo_n "checking for -force_load linker flag... " >&6; } 10798if ${lt_cv_ld_force_load+:} false; then : 10799 $as_echo_n "(cached) " >&6 10800else 10801 lt_cv_ld_force_load=no 10802 cat > conftest.c << _LT_EOF 10803int forced_loaded() { return 2;} 10804_LT_EOF 10805 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 10806 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 10807 echo "$AR cru libconftest.a conftest.o" >&5 10808 $AR cru libconftest.a conftest.o 2>&5 10809 echo "$RANLIB libconftest.a" >&5 10810 $RANLIB libconftest.a 2>&5 10811 cat > conftest.c << _LT_EOF 10812int main() { return 0;} 10813_LT_EOF 10814 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 10815 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 10816 _lt_result=$? 10817 if test -s conftest.err && $GREP force_load conftest.err; then 10818 cat conftest.err >&5 10819 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 10820 lt_cv_ld_force_load=yes 10821 else 10822 cat conftest.err >&5 10823 fi 10824 rm -f conftest.err libconftest.a conftest conftest.c 10825 rm -rf conftest.dSYM 10826 10827fi 10828{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 10829$as_echo "$lt_cv_ld_force_load" >&6; } 10830 case $host_os in 10831 rhapsody* | darwin1.[012]) 10832 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 10833 darwin1.*) 10834 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 10835 darwin*) # darwin 5.x on 10836 # if running on 10.5 or later, the deployment target defaults 10837 # to the OS version, if on x86, and 10.4, the deployment 10838 # target defaults to 10.4. Don't you love it? 10839 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 10840 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 10841 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 10842 10.[012][,.]*) 10843 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 10844 10.*) 10845 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 10846 esac 10847 ;; 10848 esac 10849 if test yes = "$lt_cv_apple_cc_single_mod"; then 10850 _lt_dar_single_mod='$single_module' 10851 fi 10852 if test yes = "$lt_cv_ld_exported_symbols_list"; then 10853 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 10854 else 10855 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 10856 fi 10857 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 10858 _lt_dsymutil='~$DSYMUTIL $lib || :' 10859 else 10860 _lt_dsymutil= 10861 fi 10862 ;; 10863 esac 10864 10865# func_munge_path_list VARIABLE PATH 10866# ----------------------------------- 10867# VARIABLE is name of variable containing _space_ separated list of 10868# directories to be munged by the contents of PATH, which is string 10869# having a format: 10870# "DIR[:DIR]:" 10871# string "DIR[ DIR]" will be prepended to VARIABLE 10872# ":DIR[:DIR]" 10873# string "DIR[ DIR]" will be appended to VARIABLE 10874# "DIRP[:DIRP]::[DIRA:]DIRA" 10875# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 10876# "DIRA[ DIRA]" will be appended to VARIABLE 10877# "DIR[:DIR]" 10878# VARIABLE will be replaced by "DIR[ DIR]" 10879func_munge_path_list () 10880{ 10881 case x$2 in 10882 x) 10883 ;; 10884 *:) 10885 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 10886 ;; 10887 x:*) 10888 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 10889 ;; 10890 *::*) 10891 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 10892 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 10893 ;; 10894 *) 10895 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 10896 ;; 10897 esac 10898} 10899 10900for ac_header in dlfcn.h 10901do : 10902 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 10903" 10904if test "x$ac_cv_header_dlfcn_h" = xyes; then : 10905 cat >>confdefs.h <<_ACEOF 10906#define HAVE_DLFCN_H 1 10907_ACEOF 10908 10909fi 10910 10911done 10912 10913 10914 10915 10916 10917# Set options 10918 10919 10920 10921 enable_dlopen=no 10922 10923 10924 enable_win32_dll=no 10925 10926 10927 # Check whether --enable-shared was given. 10928if test "${enable_shared+set}" = set; then : 10929 enableval=$enable_shared; p=${PACKAGE-default} 10930 case $enableval in 10931 yes) enable_shared=yes ;; 10932 no) enable_shared=no ;; 10933 *) 10934 enable_shared=no 10935 # Look at the argument we got. We use all the common list separators. 10936 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 10937 for pkg in $enableval; do 10938 IFS=$lt_save_ifs 10939 if test "X$pkg" = "X$p"; then 10940 enable_shared=yes 10941 fi 10942 done 10943 IFS=$lt_save_ifs 10944 ;; 10945 esac 10946else 10947 enable_shared=yes 10948fi 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 # Check whether --enable-static was given. 10959if test "${enable_static+set}" = set; then : 10960 enableval=$enable_static; p=${PACKAGE-default} 10961 case $enableval in 10962 yes) enable_static=yes ;; 10963 no) enable_static=no ;; 10964 *) 10965 enable_static=no 10966 # Look at the argument we got. We use all the common list separators. 10967 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 10968 for pkg in $enableval; do 10969 IFS=$lt_save_ifs 10970 if test "X$pkg" = "X$p"; then 10971 enable_static=yes 10972 fi 10973 done 10974 IFS=$lt_save_ifs 10975 ;; 10976 esac 10977else 10978 enable_static=yes 10979fi 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990# Check whether --with-pic was given. 10991if test "${with_pic+set}" = set; then : 10992 withval=$with_pic; lt_p=${PACKAGE-default} 10993 case $withval in 10994 yes|no) pic_mode=$withval ;; 10995 *) 10996 pic_mode=default 10997 # Look at the argument we got. We use all the common list separators. 10998 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 10999 for lt_pkg in $withval; do 11000 IFS=$lt_save_ifs 11001 if test "X$lt_pkg" = "X$lt_p"; then 11002 pic_mode=yes 11003 fi 11004 done 11005 IFS=$lt_save_ifs 11006 ;; 11007 esac 11008else 11009 pic_mode=default 11010fi 11011 11012 11013 11014 11015 11016 11017 11018 11019 # Check whether --enable-fast-install was given. 11020if test "${enable_fast_install+set}" = set; then : 11021 enableval=$enable_fast_install; p=${PACKAGE-default} 11022 case $enableval in 11023 yes) enable_fast_install=yes ;; 11024 no) enable_fast_install=no ;; 11025 *) 11026 enable_fast_install=no 11027 # Look at the argument we got. We use all the common list separators. 11028 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 11029 for pkg in $enableval; do 11030 IFS=$lt_save_ifs 11031 if test "X$pkg" = "X$p"; then 11032 enable_fast_install=yes 11033 fi 11034 done 11035 IFS=$lt_save_ifs 11036 ;; 11037 esac 11038else 11039 enable_fast_install=yes 11040fi 11041 11042 11043 11044 11045 11046 11047 11048 11049 shared_archive_member_spec= 11050case $host,$enable_shared in 11051power*-*-aix[5-9]*,yes) 11052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 11053$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 11054 11055# Check whether --with-aix-soname was given. 11056if test "${with_aix_soname+set}" = set; then : 11057 withval=$with_aix_soname; case $withval in 11058 aix|svr4|both) 11059 ;; 11060 *) 11061 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 11062 ;; 11063 esac 11064 lt_cv_with_aix_soname=$with_aix_soname 11065else 11066 if ${lt_cv_with_aix_soname+:} false; then : 11067 $as_echo_n "(cached) " >&6 11068else 11069 lt_cv_with_aix_soname=aix 11070fi 11071 11072 with_aix_soname=$lt_cv_with_aix_soname 11073fi 11074 11075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 11076$as_echo "$with_aix_soname" >&6; } 11077 if test aix != "$with_aix_soname"; then 11078 # For the AIX way of multilib, we name the shared archive member 11079 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 11080 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 11081 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 11082 # the AIX toolchain works better with OBJECT_MODE set (default 32). 11083 if test 64 = "${OBJECT_MODE-32}"; then 11084 shared_archive_member_spec=shr_64 11085 else 11086 shared_archive_member_spec=shr 11087 fi 11088 fi 11089 ;; 11090*) 11091 with_aix_soname=aix 11092 ;; 11093esac 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104# This can be used to rebuild libtool when needed 11105LIBTOOL_DEPS=$ltmain 11106 11107# Always use our own libtool. 11108LIBTOOL='$(SHELL) $(top_builddir)/libtool' 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139test -z "$LN_S" && LN_S="ln -s" 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154if test -n "${ZSH_VERSION+set}"; then 11155 setopt NO_GLOB_SUBST 11156fi 11157 11158{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 11159$as_echo_n "checking for objdir... " >&6; } 11160if ${lt_cv_objdir+:} false; then : 11161 $as_echo_n "(cached) " >&6 11162else 11163 rm -f .libs 2>/dev/null 11164mkdir .libs 2>/dev/null 11165if test -d .libs; then 11166 lt_cv_objdir=.libs 11167else 11168 # MS-DOS does not allow filenames that begin with a dot. 11169 lt_cv_objdir=_libs 11170fi 11171rmdir .libs 2>/dev/null 11172fi 11173{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 11174$as_echo "$lt_cv_objdir" >&6; } 11175objdir=$lt_cv_objdir 11176 11177 11178 11179 11180 11181cat >>confdefs.h <<_ACEOF 11182#define LT_OBJDIR "$lt_cv_objdir/" 11183_ACEOF 11184 11185 11186 11187 11188case $host_os in 11189aix3*) 11190 # AIX sometimes has problems with the GCC collect2 program. For some 11191 # reason, if we set the COLLECT_NAMES environment variable, the problems 11192 # vanish in a puff of smoke. 11193 if test set != "${COLLECT_NAMES+set}"; then 11194 COLLECT_NAMES= 11195 export COLLECT_NAMES 11196 fi 11197 ;; 11198esac 11199 11200# Global variables: 11201ofile=libtool 11202can_build_shared=yes 11203 11204# All known linkers require a '.a' archive for static linking (except MSVC, 11205# which needs '.lib'). 11206libext=a 11207 11208with_gnu_ld=$lt_cv_prog_gnu_ld 11209 11210old_CC=$CC 11211old_CFLAGS=$CFLAGS 11212 11213# Set sane defaults for various variables 11214test -z "$CC" && CC=cc 11215test -z "$LTCC" && LTCC=$CC 11216test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 11217test -z "$LD" && LD=ld 11218test -z "$ac_objext" && ac_objext=o 11219 11220func_cc_basename $compiler 11221cc_basename=$func_cc_basename_result 11222 11223 11224# Only perform the check for file, if the check method requires it 11225test -z "$MAGIC_CMD" && MAGIC_CMD=file 11226case $deplibs_check_method in 11227file_magic*) 11228 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 11229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 11230$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 11231if ${lt_cv_path_MAGIC_CMD+:} false; then : 11232 $as_echo_n "(cached) " >&6 11233else 11234 case $MAGIC_CMD in 11235[\\/*] | ?:[\\/]*) 11236 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 11237 ;; 11238*) 11239 lt_save_MAGIC_CMD=$MAGIC_CMD 11240 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 11241 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 11242 for ac_dir in $ac_dummy; do 11243 IFS=$lt_save_ifs 11244 test -z "$ac_dir" && ac_dir=. 11245 if test -f "$ac_dir/${ac_tool_prefix}file"; then 11246 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 11247 if test -n "$file_magic_test_file"; then 11248 case $deplibs_check_method in 11249 "file_magic "*) 11250 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 11251 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 11252 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 11253 $EGREP "$file_magic_regex" > /dev/null; then 11254 : 11255 else 11256 cat <<_LT_EOF 1>&2 11257 11258*** Warning: the command libtool uses to detect shared libraries, 11259*** $file_magic_cmd, produces output that libtool cannot recognize. 11260*** The result is that libtool may fail to recognize shared libraries 11261*** as such. This will affect the creation of libtool libraries that 11262*** depend on shared libraries, but programs linked with such libtool 11263*** libraries will work regardless of this problem. Nevertheless, you 11264*** may want to report the problem to your system manager and/or to 11265*** bug-libtool@gnu.org 11266 11267_LT_EOF 11268 fi ;; 11269 esac 11270 fi 11271 break 11272 fi 11273 done 11274 IFS=$lt_save_ifs 11275 MAGIC_CMD=$lt_save_MAGIC_CMD 11276 ;; 11277esac 11278fi 11279 11280MAGIC_CMD=$lt_cv_path_MAGIC_CMD 11281if test -n "$MAGIC_CMD"; then 11282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 11283$as_echo "$MAGIC_CMD" >&6; } 11284else 11285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11286$as_echo "no" >&6; } 11287fi 11288 11289 11290 11291 11292 11293if test -z "$lt_cv_path_MAGIC_CMD"; then 11294 if test -n "$ac_tool_prefix"; then 11295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 11296$as_echo_n "checking for file... " >&6; } 11297if ${lt_cv_path_MAGIC_CMD+:} false; then : 11298 $as_echo_n "(cached) " >&6 11299else 11300 case $MAGIC_CMD in 11301[\\/*] | ?:[\\/]*) 11302 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 11303 ;; 11304*) 11305 lt_save_MAGIC_CMD=$MAGIC_CMD 11306 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 11307 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 11308 for ac_dir in $ac_dummy; do 11309 IFS=$lt_save_ifs 11310 test -z "$ac_dir" && ac_dir=. 11311 if test -f "$ac_dir/file"; then 11312 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 11313 if test -n "$file_magic_test_file"; then 11314 case $deplibs_check_method in 11315 "file_magic "*) 11316 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 11317 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 11318 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 11319 $EGREP "$file_magic_regex" > /dev/null; then 11320 : 11321 else 11322 cat <<_LT_EOF 1>&2 11323 11324*** Warning: the command libtool uses to detect shared libraries, 11325*** $file_magic_cmd, produces output that libtool cannot recognize. 11326*** The result is that libtool may fail to recognize shared libraries 11327*** as such. This will affect the creation of libtool libraries that 11328*** depend on shared libraries, but programs linked with such libtool 11329*** libraries will work regardless of this problem. Nevertheless, you 11330*** may want to report the problem to your system manager and/or to 11331*** bug-libtool@gnu.org 11332 11333_LT_EOF 11334 fi ;; 11335 esac 11336 fi 11337 break 11338 fi 11339 done 11340 IFS=$lt_save_ifs 11341 MAGIC_CMD=$lt_save_MAGIC_CMD 11342 ;; 11343esac 11344fi 11345 11346MAGIC_CMD=$lt_cv_path_MAGIC_CMD 11347if test -n "$MAGIC_CMD"; then 11348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 11349$as_echo "$MAGIC_CMD" >&6; } 11350else 11351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11352$as_echo "no" >&6; } 11353fi 11354 11355 11356 else 11357 MAGIC_CMD=: 11358 fi 11359fi 11360 11361 fi 11362 ;; 11363esac 11364 11365# Use C for the default configuration in the libtool script 11366 11367lt_save_CC=$CC 11368ac_ext=c 11369ac_cpp='$CPP $CPPFLAGS' 11370ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11371ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11372ac_compiler_gnu=$ac_cv_c_compiler_gnu 11373 11374 11375# Source file extension for C test sources. 11376ac_ext=c 11377 11378# Object file extension for compiled C test sources. 11379objext=o 11380objext=$objext 11381 11382# Code to be used in simple compile tests 11383lt_simple_compile_test_code="int some_variable = 0;" 11384 11385# Code to be used in simple link tests 11386lt_simple_link_test_code='int main(){return(0);}' 11387 11388 11389 11390 11391 11392 11393 11394# If no C compiler was specified, use CC. 11395LTCC=${LTCC-"$CC"} 11396 11397# If no C compiler flags were specified, use CFLAGS. 11398LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 11399 11400# Allow CC to be a program name with arguments. 11401compiler=$CC 11402 11403# Save the default compiler, since it gets overwritten when the other 11404# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 11405compiler_DEFAULT=$CC 11406 11407# save warnings/boilerplate of simple test code 11408ac_outfile=conftest.$ac_objext 11409echo "$lt_simple_compile_test_code" >conftest.$ac_ext 11410eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 11411_lt_compiler_boilerplate=`cat conftest.err` 11412$RM conftest* 11413 11414ac_outfile=conftest.$ac_objext 11415echo "$lt_simple_link_test_code" >conftest.$ac_ext 11416eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 11417_lt_linker_boilerplate=`cat conftest.err` 11418$RM -r conftest* 11419 11420 11421## CAVEAT EMPTOR: 11422## There is no encapsulation within the following macros, do not change 11423## the running order or otherwise move them around unless you know exactly 11424## what you are doing... 11425if test -n "$compiler"; then 11426 11427lt_prog_compiler_no_builtin_flag= 11428 11429if test yes = "$GCC"; then 11430 case $cc_basename in 11431 nvcc*) 11432 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 11433 *) 11434 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 11435 esac 11436 11437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 11438$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 11439if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 11440 $as_echo_n "(cached) " >&6 11441else 11442 lt_cv_prog_compiler_rtti_exceptions=no 11443 ac_outfile=conftest.$ac_objext 11444 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11445 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 11446 # Insert the option either (1) after the last *FLAGS variable, or 11447 # (2) before a word containing "conftest.", or (3) at the end. 11448 # Note that $ac_compile itself does not contain backslashes and begins 11449 # with a dollar sign (not a hyphen), so the echo should work correctly. 11450 # The option is referenced via a variable to avoid confusing sed. 11451 lt_compile=`echo "$ac_compile" | $SED \ 11452 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 11453 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 11454 -e 's:$: $lt_compiler_flag:'` 11455 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 11456 (eval "$lt_compile" 2>conftest.err) 11457 ac_status=$? 11458 cat conftest.err >&5 11459 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11460 if (exit $ac_status) && test -s "$ac_outfile"; then 11461 # The compiler can only warn and ignore the option if not recognized 11462 # So say no if there are warnings other than the usual output. 11463 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 11464 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 11465 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 11466 lt_cv_prog_compiler_rtti_exceptions=yes 11467 fi 11468 fi 11469 $RM conftest* 11470 11471fi 11472{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 11473$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 11474 11475if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 11476 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 11477else 11478 : 11479fi 11480 11481fi 11482 11483 11484 11485 11486 11487 11488 lt_prog_compiler_wl= 11489lt_prog_compiler_pic= 11490lt_prog_compiler_static= 11491 11492 11493 if test yes = "$GCC"; then 11494 lt_prog_compiler_wl='-Wl,' 11495 lt_prog_compiler_static='-static' 11496 11497 case $host_os in 11498 aix*) 11499 # All AIX code is PIC. 11500 if test ia64 = "$host_cpu"; then 11501 # AIX 5 now supports IA64 processor 11502 lt_prog_compiler_static='-Bstatic' 11503 fi 11504 lt_prog_compiler_pic='-fPIC' 11505 ;; 11506 11507 amigaos*) 11508 case $host_cpu in 11509 powerpc) 11510 # see comment about AmigaOS4 .so support 11511 lt_prog_compiler_pic='-fPIC' 11512 ;; 11513 m68k) 11514 # FIXME: we need at least 68020 code to build shared libraries, but 11515 # adding the '-m68020' flag to GCC prevents building anything better, 11516 # like '-m68040'. 11517 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 11518 ;; 11519 esac 11520 ;; 11521 11522 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 11523 # PIC is the default for these OSes. 11524 ;; 11525 11526 mingw* | cygwin* | pw32* | os2* | cegcc*) 11527 # This hack is so that the source file can tell whether it is being 11528 # built for inclusion in a dll (and should export symbols for example). 11529 # Although the cygwin gcc ignores -fPIC, still need this for old-style 11530 # (--disable-auto-import) libraries 11531 lt_prog_compiler_pic='-DDLL_EXPORT' 11532 case $host_os in 11533 os2*) 11534 lt_prog_compiler_static='$wl-static' 11535 ;; 11536 esac 11537 ;; 11538 11539 darwin* | rhapsody*) 11540 # PIC is the default on this platform 11541 # Common symbols not allowed in MH_DYLIB files 11542 lt_prog_compiler_pic='-fno-common' 11543 ;; 11544 11545 haiku*) 11546 # PIC is the default for Haiku. 11547 # The "-static" flag exists, but is broken. 11548 lt_prog_compiler_static= 11549 ;; 11550 11551 hpux*) 11552 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 11553 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 11554 # sets the default TLS model and affects inlining. 11555 case $host_cpu in 11556 hppa*64*) 11557 # +Z the default 11558 ;; 11559 *) 11560 lt_prog_compiler_pic='-fPIC' 11561 ;; 11562 esac 11563 ;; 11564 11565 interix[3-9]*) 11566 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 11567 # Instead, we relocate shared libraries at runtime. 11568 ;; 11569 11570 msdosdjgpp*) 11571 # Just because we use GCC doesn't mean we suddenly get shared libraries 11572 # on systems that don't support them. 11573 lt_prog_compiler_can_build_shared=no 11574 enable_shared=no 11575 ;; 11576 11577 *nto* | *qnx*) 11578 # QNX uses GNU C++, but need to define -shared option too, otherwise 11579 # it will coredump. 11580 lt_prog_compiler_pic='-fPIC -shared' 11581 ;; 11582 11583 sysv4*MP*) 11584 if test -d /usr/nec; then 11585 lt_prog_compiler_pic=-Kconform_pic 11586 fi 11587 ;; 11588 11589 *) 11590 lt_prog_compiler_pic='-fPIC' 11591 ;; 11592 esac 11593 11594 case $cc_basename in 11595 nvcc*) # Cuda Compiler Driver 2.2 11596 lt_prog_compiler_wl='-Xlinker ' 11597 if test -n "$lt_prog_compiler_pic"; then 11598 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 11599 fi 11600 ;; 11601 esac 11602 else 11603 # PORTME Check for flag to pass linker flags through the system compiler. 11604 case $host_os in 11605 aix*) 11606 lt_prog_compiler_wl='-Wl,' 11607 if test ia64 = "$host_cpu"; then 11608 # AIX 5 now supports IA64 processor 11609 lt_prog_compiler_static='-Bstatic' 11610 else 11611 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 11612 fi 11613 ;; 11614 11615 darwin* | rhapsody*) 11616 # PIC is the default on this platform 11617 # Common symbols not allowed in MH_DYLIB files 11618 lt_prog_compiler_pic='-fno-common' 11619 case $cc_basename in 11620 nagfor*) 11621 # NAG Fortran compiler 11622 lt_prog_compiler_wl='-Wl,-Wl,,' 11623 lt_prog_compiler_pic='-PIC' 11624 lt_prog_compiler_static='-Bstatic' 11625 ;; 11626 esac 11627 ;; 11628 11629 mingw* | cygwin* | pw32* | os2* | cegcc*) 11630 # This hack is so that the source file can tell whether it is being 11631 # built for inclusion in a dll (and should export symbols for example). 11632 lt_prog_compiler_pic='-DDLL_EXPORT' 11633 case $host_os in 11634 os2*) 11635 lt_prog_compiler_static='$wl-static' 11636 ;; 11637 esac 11638 ;; 11639 11640 hpux9* | hpux10* | hpux11*) 11641 lt_prog_compiler_wl='-Wl,' 11642 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 11643 # not for PA HP-UX. 11644 case $host_cpu in 11645 hppa*64*|ia64*) 11646 # +Z the default 11647 ;; 11648 *) 11649 lt_prog_compiler_pic='+Z' 11650 ;; 11651 esac 11652 # Is there a better lt_prog_compiler_static that works with the bundled CC? 11653 lt_prog_compiler_static='$wl-a ${wl}archive' 11654 ;; 11655 11656 irix5* | irix6* | nonstopux*) 11657 lt_prog_compiler_wl='-Wl,' 11658 # PIC (with -KPIC) is the default. 11659 lt_prog_compiler_static='-non_shared' 11660 ;; 11661 11662 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 11663 case $cc_basename in 11664 # old Intel for x86_64, which still supported -KPIC. 11665 ecc*) 11666 lt_prog_compiler_wl='-Wl,' 11667 lt_prog_compiler_pic='-KPIC' 11668 lt_prog_compiler_static='-static' 11669 ;; 11670 # icc used to be incompatible with GCC. 11671 # ICC 10 doesn't accept -KPIC any more. 11672 icc* | ifort*) 11673 lt_prog_compiler_wl='-Wl,' 11674 lt_prog_compiler_pic='-fPIC' 11675 lt_prog_compiler_static='-static' 11676 ;; 11677 # Lahey Fortran 8.1. 11678 lf95*) 11679 lt_prog_compiler_wl='-Wl,' 11680 lt_prog_compiler_pic='--shared' 11681 lt_prog_compiler_static='--static' 11682 ;; 11683 nagfor*) 11684 # NAG Fortran compiler 11685 lt_prog_compiler_wl='-Wl,-Wl,,' 11686 lt_prog_compiler_pic='-PIC' 11687 lt_prog_compiler_static='-Bstatic' 11688 ;; 11689 tcc*) 11690 # Fabrice Bellard et al's Tiny C Compiler 11691 lt_prog_compiler_wl='-Wl,' 11692 lt_prog_compiler_pic='-fPIC' 11693 lt_prog_compiler_static='-static' 11694 ;; 11695 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 11696 # Portland Group compilers (*not* the Pentium gcc compiler, 11697 # which looks to be a dead project) 11698 lt_prog_compiler_wl='-Wl,' 11699 lt_prog_compiler_pic='-fpic' 11700 lt_prog_compiler_static='-Bstatic' 11701 ;; 11702 ccc*) 11703 lt_prog_compiler_wl='-Wl,' 11704 # All Alpha code is PIC. 11705 lt_prog_compiler_static='-non_shared' 11706 ;; 11707 xl* | bgxl* | bgf* | mpixl*) 11708 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 11709 lt_prog_compiler_wl='-Wl,' 11710 lt_prog_compiler_pic='-qpic' 11711 lt_prog_compiler_static='-qstaticlink' 11712 ;; 11713 *) 11714 case `$CC -V 2>&1 | sed 5q` in 11715 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 11716 # Sun Fortran 8.3 passes all unrecognized flags to the linker 11717 lt_prog_compiler_pic='-KPIC' 11718 lt_prog_compiler_static='-Bstatic' 11719 lt_prog_compiler_wl='' 11720 ;; 11721 *Sun\ F* | *Sun*Fortran*) 11722 lt_prog_compiler_pic='-KPIC' 11723 lt_prog_compiler_static='-Bstatic' 11724 lt_prog_compiler_wl='-Qoption ld ' 11725 ;; 11726 *Sun\ C*) 11727 # Sun C 5.9 11728 lt_prog_compiler_pic='-KPIC' 11729 lt_prog_compiler_static='-Bstatic' 11730 lt_prog_compiler_wl='-Wl,' 11731 ;; 11732 *Intel*\ [CF]*Compiler*) 11733 lt_prog_compiler_wl='-Wl,' 11734 lt_prog_compiler_pic='-fPIC' 11735 lt_prog_compiler_static='-static' 11736 ;; 11737 *Portland\ Group*) 11738 lt_prog_compiler_wl='-Wl,' 11739 lt_prog_compiler_pic='-fpic' 11740 lt_prog_compiler_static='-Bstatic' 11741 ;; 11742 esac 11743 ;; 11744 esac 11745 ;; 11746 11747 newsos6) 11748 lt_prog_compiler_pic='-KPIC' 11749 lt_prog_compiler_static='-Bstatic' 11750 ;; 11751 11752 *nto* | *qnx*) 11753 # QNX uses GNU C++, but need to define -shared option too, otherwise 11754 # it will coredump. 11755 lt_prog_compiler_pic='-fPIC -shared' 11756 ;; 11757 11758 osf3* | osf4* | osf5*) 11759 lt_prog_compiler_wl='-Wl,' 11760 # All OSF/1 code is PIC. 11761 lt_prog_compiler_static='-non_shared' 11762 ;; 11763 11764 rdos*) 11765 lt_prog_compiler_static='-non_shared' 11766 ;; 11767 11768 solaris*) 11769 lt_prog_compiler_pic='-KPIC' 11770 lt_prog_compiler_static='-Bstatic' 11771 case $cc_basename in 11772 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 11773 lt_prog_compiler_wl='-Qoption ld ';; 11774 *) 11775 lt_prog_compiler_wl='-Wl,';; 11776 esac 11777 ;; 11778 11779 sunos4*) 11780 lt_prog_compiler_wl='-Qoption ld ' 11781 lt_prog_compiler_pic='-PIC' 11782 lt_prog_compiler_static='-Bstatic' 11783 ;; 11784 11785 sysv4 | sysv4.2uw2* | sysv4.3*) 11786 lt_prog_compiler_wl='-Wl,' 11787 lt_prog_compiler_pic='-KPIC' 11788 lt_prog_compiler_static='-Bstatic' 11789 ;; 11790 11791 sysv4*MP*) 11792 if test -d /usr/nec; then 11793 lt_prog_compiler_pic='-Kconform_pic' 11794 lt_prog_compiler_static='-Bstatic' 11795 fi 11796 ;; 11797 11798 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 11799 lt_prog_compiler_wl='-Wl,' 11800 lt_prog_compiler_pic='-KPIC' 11801 lt_prog_compiler_static='-Bstatic' 11802 ;; 11803 11804 unicos*) 11805 lt_prog_compiler_wl='-Wl,' 11806 lt_prog_compiler_can_build_shared=no 11807 ;; 11808 11809 uts4*) 11810 lt_prog_compiler_pic='-pic' 11811 lt_prog_compiler_static='-Bstatic' 11812 ;; 11813 11814 *) 11815 lt_prog_compiler_can_build_shared=no 11816 ;; 11817 esac 11818 fi 11819 11820case $host_os in 11821 # For platforms that do not support PIC, -DPIC is meaningless: 11822 *djgpp*) 11823 lt_prog_compiler_pic= 11824 ;; 11825 *) 11826 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 11827 ;; 11828esac 11829 11830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 11831$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 11832if ${lt_cv_prog_compiler_pic+:} false; then : 11833 $as_echo_n "(cached) " >&6 11834else 11835 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 11836fi 11837{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 11838$as_echo "$lt_cv_prog_compiler_pic" >&6; } 11839lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 11840 11841# 11842# Check to make sure the PIC flag actually works. 11843# 11844if test -n "$lt_prog_compiler_pic"; then 11845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 11846$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 11847if ${lt_cv_prog_compiler_pic_works+:} false; then : 11848 $as_echo_n "(cached) " >&6 11849else 11850 lt_cv_prog_compiler_pic_works=no 11851 ac_outfile=conftest.$ac_objext 11852 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11853 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 11854 # Insert the option either (1) after the last *FLAGS variable, or 11855 # (2) before a word containing "conftest.", or (3) at the end. 11856 # Note that $ac_compile itself does not contain backslashes and begins 11857 # with a dollar sign (not a hyphen), so the echo should work correctly. 11858 # The option is referenced via a variable to avoid confusing sed. 11859 lt_compile=`echo "$ac_compile" | $SED \ 11860 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 11861 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 11862 -e 's:$: $lt_compiler_flag:'` 11863 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 11864 (eval "$lt_compile" 2>conftest.err) 11865 ac_status=$? 11866 cat conftest.err >&5 11867 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11868 if (exit $ac_status) && test -s "$ac_outfile"; then 11869 # The compiler can only warn and ignore the option if not recognized 11870 # So say no if there are warnings other than the usual output. 11871 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 11872 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 11873 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 11874 lt_cv_prog_compiler_pic_works=yes 11875 fi 11876 fi 11877 $RM conftest* 11878 11879fi 11880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 11881$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 11882 11883if test yes = "$lt_cv_prog_compiler_pic_works"; then 11884 case $lt_prog_compiler_pic in 11885 "" | " "*) ;; 11886 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 11887 esac 11888else 11889 lt_prog_compiler_pic= 11890 lt_prog_compiler_can_build_shared=no 11891fi 11892 11893fi 11894 11895 11896 11897 11898 11899 11900 11901 11902 11903 11904 11905# 11906# Check to make sure the static flag actually works. 11907# 11908wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 11909{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 11910$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 11911if ${lt_cv_prog_compiler_static_works+:} false; then : 11912 $as_echo_n "(cached) " >&6 11913else 11914 lt_cv_prog_compiler_static_works=no 11915 save_LDFLAGS=$LDFLAGS 11916 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 11917 echo "$lt_simple_link_test_code" > conftest.$ac_ext 11918 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 11919 # The linker can only warn and ignore the option if not recognized 11920 # So say no if there are warnings 11921 if test -s conftest.err; then 11922 # Append any errors to the config.log. 11923 cat conftest.err 1>&5 11924 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 11925 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 11926 if diff conftest.exp conftest.er2 >/dev/null; then 11927 lt_cv_prog_compiler_static_works=yes 11928 fi 11929 else 11930 lt_cv_prog_compiler_static_works=yes 11931 fi 11932 fi 11933 $RM -r conftest* 11934 LDFLAGS=$save_LDFLAGS 11935 11936fi 11937{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 11938$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 11939 11940if test yes = "$lt_cv_prog_compiler_static_works"; then 11941 : 11942else 11943 lt_prog_compiler_static= 11944fi 11945 11946 11947 11948 11949 11950 11951 11952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 11953$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 11954if ${lt_cv_prog_compiler_c_o+:} false; then : 11955 $as_echo_n "(cached) " >&6 11956else 11957 lt_cv_prog_compiler_c_o=no 11958 $RM -r conftest 2>/dev/null 11959 mkdir conftest 11960 cd conftest 11961 mkdir out 11962 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11963 11964 lt_compiler_flag="-o out/conftest2.$ac_objext" 11965 # Insert the option either (1) after the last *FLAGS variable, or 11966 # (2) before a word containing "conftest.", or (3) at the end. 11967 # Note that $ac_compile itself does not contain backslashes and begins 11968 # with a dollar sign (not a hyphen), so the echo should work correctly. 11969 lt_compile=`echo "$ac_compile" | $SED \ 11970 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 11971 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 11972 -e 's:$: $lt_compiler_flag:'` 11973 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 11974 (eval "$lt_compile" 2>out/conftest.err) 11975 ac_status=$? 11976 cat out/conftest.err >&5 11977 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11978 if (exit $ac_status) && test -s out/conftest2.$ac_objext 11979 then 11980 # The compiler can only warn and ignore the option if not recognized 11981 # So say no if there are warnings 11982 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 11983 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 11984 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 11985 lt_cv_prog_compiler_c_o=yes 11986 fi 11987 fi 11988 chmod u+w . 2>&5 11989 $RM conftest* 11990 # SGI C++ compiler will create directory out/ii_files/ for 11991 # template instantiation 11992 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 11993 $RM out/* && rmdir out 11994 cd .. 11995 $RM -r conftest 11996 $RM conftest* 11997 11998fi 11999{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 12000$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 12001 12002 12003 12004 12005 12006 12007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 12008$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 12009if ${lt_cv_prog_compiler_c_o+:} false; then : 12010 $as_echo_n "(cached) " >&6 12011else 12012 lt_cv_prog_compiler_c_o=no 12013 $RM -r conftest 2>/dev/null 12014 mkdir conftest 12015 cd conftest 12016 mkdir out 12017 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 12018 12019 lt_compiler_flag="-o out/conftest2.$ac_objext" 12020 # Insert the option either (1) after the last *FLAGS variable, or 12021 # (2) before a word containing "conftest.", or (3) at the end. 12022 # Note that $ac_compile itself does not contain backslashes and begins 12023 # with a dollar sign (not a hyphen), so the echo should work correctly. 12024 lt_compile=`echo "$ac_compile" | $SED \ 12025 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 12026 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12027 -e 's:$: $lt_compiler_flag:'` 12028 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 12029 (eval "$lt_compile" 2>out/conftest.err) 12030 ac_status=$? 12031 cat out/conftest.err >&5 12032 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12033 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12034 then 12035 # The compiler can only warn and ignore the option if not recognized 12036 # So say no if there are warnings 12037 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 12038 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 12039 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 12040 lt_cv_prog_compiler_c_o=yes 12041 fi 12042 fi 12043 chmod u+w . 2>&5 12044 $RM conftest* 12045 # SGI C++ compiler will create directory out/ii_files/ for 12046 # template instantiation 12047 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 12048 $RM out/* && rmdir out 12049 cd .. 12050 $RM -r conftest 12051 $RM conftest* 12052 12053fi 12054{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 12055$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 12056 12057 12058 12059 12060hard_links=nottested 12061if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 12062 # do not overwrite the value of need_locks provided by the user 12063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 12064$as_echo_n "checking if we can lock with hard links... " >&6; } 12065 hard_links=yes 12066 $RM conftest* 12067 ln conftest.a conftest.b 2>/dev/null && hard_links=no 12068 touch conftest.a 12069 ln conftest.a conftest.b 2>&5 || hard_links=no 12070 ln conftest.a conftest.b 2>/dev/null && hard_links=no 12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 12072$as_echo "$hard_links" >&6; } 12073 if test no = "$hard_links"; then 12074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 12075$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 12076 need_locks=warn 12077 fi 12078else 12079 need_locks=no 12080fi 12081 12082 12083 12084 12085 12086 12087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 12088$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 12089 12090 runpath_var= 12091 allow_undefined_flag= 12092 always_export_symbols=no 12093 archive_cmds= 12094 archive_expsym_cmds= 12095 compiler_needs_object=no 12096 enable_shared_with_static_runtimes=no 12097 export_dynamic_flag_spec= 12098 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 12099 hardcode_automatic=no 12100 hardcode_direct=no 12101 hardcode_direct_absolute=no 12102 hardcode_libdir_flag_spec= 12103 hardcode_libdir_separator= 12104 hardcode_minus_L=no 12105 hardcode_shlibpath_var=unsupported 12106 inherit_rpath=no 12107 link_all_deplibs=unknown 12108 module_cmds= 12109 module_expsym_cmds= 12110 old_archive_from_new_cmds= 12111 old_archive_from_expsyms_cmds= 12112 thread_safe_flag_spec= 12113 whole_archive_flag_spec= 12114 # include_expsyms should be a list of space-separated symbols to be *always* 12115 # included in the symbol list 12116 include_expsyms= 12117 # exclude_expsyms can be an extended regexp of symbols to exclude 12118 # it will be wrapped by ' (' and ')$', so one must not match beginning or 12119 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 12120 # as well as any symbol that contains 'd'. 12121 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 12122 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 12123 # platforms (ab)use it in PIC code, but their linkers get confused if 12124 # the symbol is explicitly referenced. Since portable code cannot 12125 # rely on this symbol name, it's probably fine to never include it in 12126 # preloaded symbol tables. 12127 # Exclude shared library initialization/finalization symbols. 12128 extract_expsyms_cmds= 12129 12130 case $host_os in 12131 cygwin* | mingw* | pw32* | cegcc*) 12132 # FIXME: the MSVC++ port hasn't been tested in a loooong time 12133 # When not using gcc, we currently assume that we are using 12134 # Microsoft Visual C++. 12135 if test yes != "$GCC"; then 12136 with_gnu_ld=no 12137 fi 12138 ;; 12139 interix*) 12140 # we just hope/assume this is gcc and not c89 (= MSVC++) 12141 with_gnu_ld=yes 12142 ;; 12143 openbsd* | bitrig*) 12144 with_gnu_ld=no 12145 ;; 12146 esac 12147 12148 ld_shlibs=yes 12149 12150 # On some targets, GNU ld is compatible enough with the native linker 12151 # that we're better off using the native interface for both. 12152 lt_use_gnu_ld_interface=no 12153 if test yes = "$with_gnu_ld"; then 12154 case $host_os in 12155 aix*) 12156 # The AIX port of GNU ld has always aspired to compatibility 12157 # with the native linker. However, as the warning in the GNU ld 12158 # block says, versions before 2.19.5* couldn't really create working 12159 # shared libraries, regardless of the interface used. 12160 case `$LD -v 2>&1` in 12161 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 12162 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 12163 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 12164 *) 12165 lt_use_gnu_ld_interface=yes 12166 ;; 12167 esac 12168 ;; 12169 *) 12170 lt_use_gnu_ld_interface=yes 12171 ;; 12172 esac 12173 fi 12174 12175 if test yes = "$lt_use_gnu_ld_interface"; then 12176 # If archive_cmds runs LD, not CC, wlarc should be empty 12177 wlarc='$wl' 12178 12179 # Set some defaults for GNU ld with shared library support. These 12180 # are reset later if shared libraries are not supported. Putting them 12181 # here allows them to be overridden if necessary. 12182 runpath_var=LD_RUN_PATH 12183 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 12184 export_dynamic_flag_spec='$wl--export-dynamic' 12185 # ancient GNU ld didn't support --whole-archive et. al. 12186 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 12187 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 12188 else 12189 whole_archive_flag_spec= 12190 fi 12191 supports_anon_versioning=no 12192 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 12193 *GNU\ gold*) supports_anon_versioning=yes ;; 12194 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 12195 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 12196 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 12197 *\ 2.11.*) ;; # other 2.11 versions 12198 *) supports_anon_versioning=yes ;; 12199 esac 12200 12201 # See if GNU ld supports shared libraries. 12202 case $host_os in 12203 aix[3-9]*) 12204 # On AIX/PPC, the GNU linker is very broken 12205 if test ia64 != "$host_cpu"; then 12206 ld_shlibs=no 12207 cat <<_LT_EOF 1>&2 12208 12209*** Warning: the GNU linker, at least up to release 2.19, is reported 12210*** to be unable to reliably create shared libraries on AIX. 12211*** Therefore, libtool is disabling shared libraries support. If you 12212*** really care for shared libraries, you may want to install binutils 12213*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 12214*** You will then need to restart the configuration process. 12215 12216_LT_EOF 12217 fi 12218 ;; 12219 12220 amigaos*) 12221 case $host_cpu in 12222 powerpc) 12223 # see comment about AmigaOS4 .so support 12224 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 12225 archive_expsym_cmds='' 12226 ;; 12227 m68k) 12228 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 12229 hardcode_libdir_flag_spec='-L$libdir' 12230 hardcode_minus_L=yes 12231 ;; 12232 esac 12233 ;; 12234 12235 beos*) 12236 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 12237 allow_undefined_flag=unsupported 12238 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 12239 # support --undefined. This deserves some investigation. FIXME 12240 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 12241 else 12242 ld_shlibs=no 12243 fi 12244 ;; 12245 12246 cygwin* | mingw* | pw32* | cegcc*) 12247 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 12248 # as there is no search path for DLLs. 12249 hardcode_libdir_flag_spec='-L$libdir' 12250 export_dynamic_flag_spec='$wl--export-all-symbols' 12251 allow_undefined_flag=unsupported 12252 always_export_symbols=no 12253 enable_shared_with_static_runtimes=yes 12254 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' 12255 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 12256 12257 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 12258 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 12259 # If the export-symbols file already is a .def file, use it as 12260 # is; otherwise, prepend EXPORTS... 12261 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 12262 cp $export_symbols $output_objdir/$soname.def; 12263 else 12264 echo EXPORTS > $output_objdir/$soname.def; 12265 cat $export_symbols >> $output_objdir/$soname.def; 12266 fi~ 12267 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 12268 else 12269 ld_shlibs=no 12270 fi 12271 ;; 12272 12273 haiku*) 12274 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 12275 link_all_deplibs=yes 12276 ;; 12277 12278 os2*) 12279 hardcode_libdir_flag_spec='-L$libdir' 12280 hardcode_minus_L=yes 12281 allow_undefined_flag=unsupported 12282 shrext_cmds=.dll 12283 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 12284 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 12285 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 12286 $ECHO EXPORTS >> $output_objdir/$libname.def~ 12287 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 12288 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 12289 emximp -o $lib $output_objdir/$libname.def' 12290 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 12291 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 12292 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 12293 $ECHO EXPORTS >> $output_objdir/$libname.def~ 12294 prefix_cmds="$SED"~ 12295 if test EXPORTS = "`$SED 1q $export_symbols`"; then 12296 prefix_cmds="$prefix_cmds -e 1d"; 12297 fi~ 12298 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 12299 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 12300 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 12301 emximp -o $lib $output_objdir/$libname.def' 12302 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 12303 enable_shared_with_static_runtimes=yes 12304 ;; 12305 12306 interix[3-9]*) 12307 hardcode_direct=no 12308 hardcode_shlibpath_var=no 12309 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 12310 export_dynamic_flag_spec='$wl-E' 12311 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 12312 # Instead, shared libraries are loaded at an image base (0x10000000 by 12313 # default) and relocated if they conflict, which is a slow very memory 12314 # consuming and fragmenting process. To avoid this, we pick a random, 12315 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 12316 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 12317 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 12318 archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 12319 ;; 12320 12321 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 12322 tmp_diet=no 12323 if test linux-dietlibc = "$host_os"; then 12324 case $cc_basename in 12325 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 12326 esac 12327 fi 12328 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 12329 && test no = "$tmp_diet" 12330 then 12331 tmp_addflag=' $pic_flag' 12332 tmp_sharedflag='-shared' 12333 case $cc_basename,$host_cpu in 12334 pgcc*) # Portland Group C compiler 12335 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' 12336 tmp_addflag=' $pic_flag' 12337 ;; 12338 pgf77* | pgf90* | pgf95* | pgfortran*) 12339 # Portland Group f77 and f90 compilers 12340 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' 12341 tmp_addflag=' $pic_flag -Mnomain' ;; 12342 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 12343 tmp_addflag=' -i_dynamic' ;; 12344 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 12345 tmp_addflag=' -i_dynamic -nofor_main' ;; 12346 ifc* | ifort*) # Intel Fortran compiler 12347 tmp_addflag=' -nofor_main' ;; 12348 lf95*) # Lahey Fortran 8.1 12349 whole_archive_flag_spec= 12350 tmp_sharedflag='--shared' ;; 12351 nagfor*) # NAGFOR 5.3 12352 tmp_sharedflag='-Wl,-shared' ;; 12353 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 12354 tmp_sharedflag='-qmkshrobj' 12355 tmp_addflag= ;; 12356 nvcc*) # Cuda Compiler Driver 2.2 12357 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' 12358 compiler_needs_object=yes 12359 ;; 12360 esac 12361 case `$CC -V 2>&1 | sed 5q` in 12362 *Sun\ C*) # Sun C 5.9 12363 whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' 12364 compiler_needs_object=yes 12365 tmp_sharedflag='-G' ;; 12366 *Sun\ F*) # Sun Fortran 8.3 12367 tmp_sharedflag='-G' ;; 12368 esac 12369 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 12370 12371 if test yes = "$supports_anon_versioning"; then 12372 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 12373 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 12374 echo "local: *; };" >> $output_objdir/$libname.ver~ 12375 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 12376 fi 12377 12378 case $cc_basename in 12379 tcc*) 12380 export_dynamic_flag_spec='-rdynamic' 12381 ;; 12382 xlf* | bgf* | bgxlf* | mpixlf*) 12383 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 12384 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 12385 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 12386 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 12387 if test yes = "$supports_anon_versioning"; then 12388 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 12389 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 12390 echo "local: *; };" >> $output_objdir/$libname.ver~ 12391 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 12392 fi 12393 ;; 12394 esac 12395 else 12396 ld_shlibs=no 12397 fi 12398 ;; 12399 12400 netbsd*) 12401 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 12402 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 12403 wlarc= 12404 else 12405 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 12406 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 12407 fi 12408 ;; 12409 12410 solaris*) 12411 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 12412 ld_shlibs=no 12413 cat <<_LT_EOF 1>&2 12414 12415*** Warning: The releases 2.8.* of the GNU linker cannot reliably 12416*** create shared libraries on Solaris systems. Therefore, libtool 12417*** is disabling shared libraries support. We urge you to upgrade GNU 12418*** binutils to release 2.9.1 or newer. Another option is to modify 12419*** your PATH or compiler configuration so that the native linker is 12420*** used, and then restart. 12421 12422_LT_EOF 12423 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 12424 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 12425 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 12426 else 12427 ld_shlibs=no 12428 fi 12429 ;; 12430 12431 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 12432 case `$LD -v 2>&1` in 12433 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 12434 ld_shlibs=no 12435 cat <<_LT_EOF 1>&2 12436 12437*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 12438*** reliably create shared libraries on SCO systems. Therefore, libtool 12439*** is disabling shared libraries support. We urge you to upgrade GNU 12440*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 12441*** your PATH or compiler configuration so that the native linker is 12442*** used, and then restart. 12443 12444_LT_EOF 12445 ;; 12446 *) 12447 # For security reasons, it is highly recommended that you always 12448 # use absolute paths for naming shared libraries, and exclude the 12449 # DT_RUNPATH tag from executables and libraries. But doing so 12450 # requires that you compile everything twice, which is a pain. 12451 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 12452 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 12453 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 12454 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 12455 else 12456 ld_shlibs=no 12457 fi 12458 ;; 12459 esac 12460 ;; 12461 12462 sunos4*) 12463 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 12464 wlarc= 12465 hardcode_direct=yes 12466 hardcode_shlibpath_var=no 12467 ;; 12468 12469 *) 12470 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 12471 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 12472 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 12473 else 12474 ld_shlibs=no 12475 fi 12476 ;; 12477 esac 12478 12479 if test no = "$ld_shlibs"; then 12480 runpath_var= 12481 hardcode_libdir_flag_spec= 12482 export_dynamic_flag_spec= 12483 whole_archive_flag_spec= 12484 fi 12485 else 12486 # PORTME fill in a description of your system's linker (not GNU ld) 12487 case $host_os in 12488 aix3*) 12489 allow_undefined_flag=unsupported 12490 always_export_symbols=yes 12491 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' 12492 # Note: this linker hardcodes the directories in LIBPATH if there 12493 # are no directories specified by -L. 12494 hardcode_minus_L=yes 12495 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 12496 # Neither direct hardcoding nor static linking is supported with a 12497 # broken collect2. 12498 hardcode_direct=unsupported 12499 fi 12500 ;; 12501 12502 aix[4-9]*) 12503 if test ia64 = "$host_cpu"; then 12504 # On IA64, the linker does run time linking by default, so we don't 12505 # have to do anything special. 12506 aix_use_runtimelinking=no 12507 exp_sym_flag='-Bexport' 12508 no_entry_flag= 12509 else 12510 # If we're using GNU nm, then we don't want the "-C" option. 12511 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 12512 # Without the "-l" option, or with the "-B" option, AIX nm treats 12513 # weak defined symbols like other global defined symbols, whereas 12514 # GNU nm marks them as "W". 12515 # While the 'weak' keyword is ignored in the Export File, we need 12516 # it in the Import File for the 'aix-soname' feature, so we have 12517 # to replace the "-B" option with "-P" for AIX nm. 12518 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 12519 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' 12520 else 12521 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' 12522 fi 12523 aix_use_runtimelinking=no 12524 12525 # Test if we are trying to use run time linking or normal 12526 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 12527 # have runtime linking enabled, and use it for executables. 12528 # For shared libraries, we enable/disable runtime linking 12529 # depending on the kind of the shared library created - 12530 # when "with_aix_soname,aix_use_runtimelinking" is: 12531 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 12532 # "aix,yes" lib.so shared, rtl:yes, for executables 12533 # lib.a static archive 12534 # "both,no" lib.so.V(shr.o) shared, rtl:yes 12535 # lib.a(lib.so.V) shared, rtl:no, for executables 12536 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 12537 # lib.a(lib.so.V) shared, rtl:no 12538 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 12539 # lib.a static archive 12540 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 12541 for ld_flag in $LDFLAGS; do 12542 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 12543 aix_use_runtimelinking=yes 12544 break 12545 fi 12546 done 12547 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 12548 # With aix-soname=svr4, we create the lib.so.V shared archives only, 12549 # so we don't have lib.a shared libs to link our executables. 12550 # We have to force runtime linking in this case. 12551 aix_use_runtimelinking=yes 12552 LDFLAGS="$LDFLAGS -Wl,-brtl" 12553 fi 12554 ;; 12555 esac 12556 12557 exp_sym_flag='-bexport' 12558 no_entry_flag='-bnoentry' 12559 fi 12560 12561 # When large executables or shared objects are built, AIX ld can 12562 # have problems creating the table of contents. If linking a library 12563 # or program results in "error TOC overflow" add -mminimal-toc to 12564 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 12565 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 12566 12567 archive_cmds='' 12568 hardcode_direct=yes 12569 hardcode_direct_absolute=yes 12570 hardcode_libdir_separator=':' 12571 link_all_deplibs=yes 12572 file_list_spec='$wl-f,' 12573 case $with_aix_soname,$aix_use_runtimelinking in 12574 aix,*) ;; # traditional, no import file 12575 svr4,* | *,yes) # use import file 12576 # The Import File defines what to hardcode. 12577 hardcode_direct=no 12578 hardcode_direct_absolute=no 12579 ;; 12580 esac 12581 12582 if test yes = "$GCC"; then 12583 case $host_os in aix4.[012]|aix4.[012].*) 12584 # We only want to do this on AIX 4.2 and lower, the check 12585 # below for broken collect2 doesn't work under 4.3+ 12586 collect2name=`$CC -print-prog-name=collect2` 12587 if test -f "$collect2name" && 12588 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 12589 then 12590 # We have reworked collect2 12591 : 12592 else 12593 # We have old collect2 12594 hardcode_direct=unsupported 12595 # It fails to find uninstalled libraries when the uninstalled 12596 # path is not listed in the libpath. Setting hardcode_minus_L 12597 # to unsupported forces relinking 12598 hardcode_minus_L=yes 12599 hardcode_libdir_flag_spec='-L$libdir' 12600 hardcode_libdir_separator= 12601 fi 12602 ;; 12603 esac 12604 shared_flag='-shared' 12605 if test yes = "$aix_use_runtimelinking"; then 12606 shared_flag="$shared_flag "'$wl-G' 12607 fi 12608 # Need to ensure runtime linking is disabled for the traditional 12609 # shared library, or the linker may eventually find shared libraries 12610 # /with/ Import File - we do not want to mix them. 12611 shared_flag_aix='-shared' 12612 shared_flag_svr4='-shared $wl-G' 12613 else 12614 # not using gcc 12615 if test ia64 = "$host_cpu"; then 12616 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 12617 # chokes on -Wl,-G. The following line is correct: 12618 shared_flag='-G' 12619 else 12620 if test yes = "$aix_use_runtimelinking"; then 12621 shared_flag='$wl-G' 12622 else 12623 shared_flag='$wl-bM:SRE' 12624 fi 12625 shared_flag_aix='$wl-bM:SRE' 12626 shared_flag_svr4='$wl-G' 12627 fi 12628 fi 12629 12630 export_dynamic_flag_spec='$wl-bexpall' 12631 # It seems that -bexpall does not export symbols beginning with 12632 # underscore (_), so it is better to generate a list of symbols to export. 12633 always_export_symbols=yes 12634 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 12635 # Warning - without using the other runtime loading flags (-brtl), 12636 # -berok will link without error, but may produce a broken library. 12637 allow_undefined_flag='-berok' 12638 # Determine the default libpath from the value encoded in an 12639 # empty executable. 12640 if test set = "${lt_cv_aix_libpath+set}"; then 12641 aix_libpath=$lt_cv_aix_libpath 12642else 12643 if ${lt_cv_aix_libpath_+:} false; then : 12644 $as_echo_n "(cached) " >&6 12645else 12646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12647/* end confdefs.h. */ 12648 12649int 12650main () 12651{ 12652 12653 ; 12654 return 0; 12655} 12656_ACEOF 12657if ac_fn_c_try_link "$LINENO"; then : 12658 12659 lt_aix_libpath_sed=' 12660 /Import File Strings/,/^$/ { 12661 /^0/ { 12662 s/^0 *\([^ ]*\) *$/\1/ 12663 p 12664 } 12665 }' 12666 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12667 # Check for a 64-bit object if we didn't find anything. 12668 if test -z "$lt_cv_aix_libpath_"; then 12669 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12670 fi 12671fi 12672rm -f core conftest.err conftest.$ac_objext \ 12673 conftest$ac_exeext conftest.$ac_ext 12674 if test -z "$lt_cv_aix_libpath_"; then 12675 lt_cv_aix_libpath_=/usr/lib:/lib 12676 fi 12677 12678fi 12679 12680 aix_libpath=$lt_cv_aix_libpath_ 12681fi 12682 12683 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 12684 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag 12685 else 12686 if test ia64 = "$host_cpu"; then 12687 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 12688 allow_undefined_flag="-z nodefs" 12689 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" 12690 else 12691 # Determine the default libpath from the value encoded in an 12692 # empty executable. 12693 if test set = "${lt_cv_aix_libpath+set}"; then 12694 aix_libpath=$lt_cv_aix_libpath 12695else 12696 if ${lt_cv_aix_libpath_+:} false; then : 12697 $as_echo_n "(cached) " >&6 12698else 12699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12700/* end confdefs.h. */ 12701 12702int 12703main () 12704{ 12705 12706 ; 12707 return 0; 12708} 12709_ACEOF 12710if ac_fn_c_try_link "$LINENO"; then : 12711 12712 lt_aix_libpath_sed=' 12713 /Import File Strings/,/^$/ { 12714 /^0/ { 12715 s/^0 *\([^ ]*\) *$/\1/ 12716 p 12717 } 12718 }' 12719 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12720 # Check for a 64-bit object if we didn't find anything. 12721 if test -z "$lt_cv_aix_libpath_"; then 12722 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12723 fi 12724fi 12725rm -f core conftest.err conftest.$ac_objext \ 12726 conftest$ac_exeext conftest.$ac_ext 12727 if test -z "$lt_cv_aix_libpath_"; then 12728 lt_cv_aix_libpath_=/usr/lib:/lib 12729 fi 12730 12731fi 12732 12733 aix_libpath=$lt_cv_aix_libpath_ 12734fi 12735 12736 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 12737 # Warning - without using the other run time loading flags, 12738 # -berok will link without error, but may produce a broken library. 12739 no_undefined_flag=' $wl-bernotok' 12740 allow_undefined_flag=' $wl-berok' 12741 if test yes = "$with_gnu_ld"; then 12742 # We only use this code for GNU lds that support --whole-archive. 12743 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 12744 else 12745 # Exported symbols can be pulled into shared objects from archives 12746 whole_archive_flag_spec='$convenience' 12747 fi 12748 archive_cmds_need_lc=yes 12749 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 12750 # -brtl affects multiple linker settings, -berok does not and is overridden later 12751 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 12752 if test svr4 != "$with_aix_soname"; then 12753 # This is similar to how AIX traditionally builds its shared libraries. 12754 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' 12755 fi 12756 if test aix != "$with_aix_soname"; then 12757 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' 12758 else 12759 # used by -dlpreopen to get the symbols 12760 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 12761 fi 12762 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 12763 fi 12764 fi 12765 ;; 12766 12767 amigaos*) 12768 case $host_cpu in 12769 powerpc) 12770 # see comment about AmigaOS4 .so support 12771 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 12772 archive_expsym_cmds='' 12773 ;; 12774 m68k) 12775 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 12776 hardcode_libdir_flag_spec='-L$libdir' 12777 hardcode_minus_L=yes 12778 ;; 12779 esac 12780 ;; 12781 12782 bsdi[45]*) 12783 export_dynamic_flag_spec=-rdynamic 12784 ;; 12785 12786 cygwin* | mingw* | pw32* | cegcc*) 12787 # When not using gcc, we currently assume that we are using 12788 # Microsoft Visual C++. 12789 # hardcode_libdir_flag_spec is actually meaningless, as there is 12790 # no search path for DLLs. 12791 case $cc_basename in 12792 cl*) 12793 # Native MSVC 12794 hardcode_libdir_flag_spec=' ' 12795 allow_undefined_flag=unsupported 12796 always_export_symbols=yes 12797 file_list_spec='@' 12798 # Tell ltmain to make .lib files, not .a files. 12799 libext=lib 12800 # Tell ltmain to make .dll files, not .so files. 12801 shrext_cmds=.dll 12802 # FIXME: Setting linknames here is a bad hack. 12803 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 12804 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 12805 cp "$export_symbols" "$output_objdir/$soname.def"; 12806 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 12807 else 12808 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 12809 fi~ 12810 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 12811 linknames=' 12812 # The linker will not automatically build a static lib if we build a DLL. 12813 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 12814 enable_shared_with_static_runtimes=yes 12815 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 12816 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 12817 # Don't use ranlib 12818 old_postinstall_cmds='chmod 644 $oldlib' 12819 postlink_cmds='lt_outputfile="@OUTPUT@"~ 12820 lt_tool_outputfile="@TOOL_OUTPUT@"~ 12821 case $lt_outputfile in 12822 *.exe|*.EXE) ;; 12823 *) 12824 lt_outputfile=$lt_outputfile.exe 12825 lt_tool_outputfile=$lt_tool_outputfile.exe 12826 ;; 12827 esac~ 12828 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 12829 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 12830 $RM "$lt_outputfile.manifest"; 12831 fi' 12832 ;; 12833 *) 12834 # Assume MSVC wrapper 12835 hardcode_libdir_flag_spec=' ' 12836 allow_undefined_flag=unsupported 12837 # Tell ltmain to make .lib files, not .a files. 12838 libext=lib 12839 # Tell ltmain to make .dll files, not .so files. 12840 shrext_cmds=.dll 12841 # FIXME: Setting linknames here is a bad hack. 12842 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 12843 # The linker will automatically build a .lib file if we build a DLL. 12844 old_archive_from_new_cmds='true' 12845 # FIXME: Should let the user specify the lib program. 12846 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 12847 enable_shared_with_static_runtimes=yes 12848 ;; 12849 esac 12850 ;; 12851 12852 darwin* | rhapsody*) 12853 12854 12855 archive_cmds_need_lc=no 12856 hardcode_direct=no 12857 hardcode_automatic=yes 12858 hardcode_shlibpath_var=unsupported 12859 if test yes = "$lt_cv_ld_force_load"; then 12860 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' 12861 12862 else 12863 whole_archive_flag_spec='' 12864 fi 12865 link_all_deplibs=yes 12866 allow_undefined_flag=$_lt_dar_allow_undefined 12867 case $cc_basename in 12868 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 12869 *) _lt_dar_can_shared=$GCC ;; 12870 esac 12871 if test yes = "$_lt_dar_can_shared"; then 12872 output_verbose_link_cmd=func_echo_all 12873 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 12874 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 12875 archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" 12876 module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" 12877 12878 else 12879 ld_shlibs=no 12880 fi 12881 12882 ;; 12883 12884 dgux*) 12885 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 12886 hardcode_libdir_flag_spec='-L$libdir' 12887 hardcode_shlibpath_var=no 12888 ;; 12889 12890 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 12891 # support. Future versions do this automatically, but an explicit c++rt0.o 12892 # does not break anything, and helps significantly (at the cost of a little 12893 # extra space). 12894 freebsd2.2*) 12895 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 12896 hardcode_libdir_flag_spec='-R$libdir' 12897 hardcode_direct=yes 12898 hardcode_shlibpath_var=no 12899 ;; 12900 12901 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 12902 freebsd2.*) 12903 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 12904 hardcode_direct=yes 12905 hardcode_minus_L=yes 12906 hardcode_shlibpath_var=no 12907 ;; 12908 12909 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 12910 freebsd* | dragonfly*) 12911 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 12912 hardcode_libdir_flag_spec='-R$libdir' 12913 hardcode_direct=yes 12914 hardcode_shlibpath_var=no 12915 ;; 12916 12917 hpux9*) 12918 if test yes = "$GCC"; then 12919 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 12920 else 12921 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 12922 fi 12923 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 12924 hardcode_libdir_separator=: 12925 hardcode_direct=yes 12926 12927 # hardcode_minus_L: Not really in the search PATH, 12928 # but as the default location of the library. 12929 hardcode_minus_L=yes 12930 export_dynamic_flag_spec='$wl-E' 12931 ;; 12932 12933 hpux10*) 12934 if test yes,no = "$GCC,$with_gnu_ld"; then 12935 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 12936 else 12937 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 12938 fi 12939 if test no = "$with_gnu_ld"; then 12940 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 12941 hardcode_libdir_separator=: 12942 hardcode_direct=yes 12943 hardcode_direct_absolute=yes 12944 export_dynamic_flag_spec='$wl-E' 12945 # hardcode_minus_L: Not really in the search PATH, 12946 # but as the default location of the library. 12947 hardcode_minus_L=yes 12948 fi 12949 ;; 12950 12951 hpux11*) 12952 if test yes,no = "$GCC,$with_gnu_ld"; then 12953 case $host_cpu in 12954 hppa*64*) 12955 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 12956 ;; 12957 ia64*) 12958 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 12959 ;; 12960 *) 12961 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 12962 ;; 12963 esac 12964 else 12965 case $host_cpu in 12966 hppa*64*) 12967 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 12968 ;; 12969 ia64*) 12970 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 12971 ;; 12972 *) 12973 12974 # Older versions of the 11.00 compiler do not understand -b yet 12975 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 12976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 12977$as_echo_n "checking if $CC understands -b... " >&6; } 12978if ${lt_cv_prog_compiler__b+:} false; then : 12979 $as_echo_n "(cached) " >&6 12980else 12981 lt_cv_prog_compiler__b=no 12982 save_LDFLAGS=$LDFLAGS 12983 LDFLAGS="$LDFLAGS -b" 12984 echo "$lt_simple_link_test_code" > conftest.$ac_ext 12985 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 12986 # The linker can only warn and ignore the option if not recognized 12987 # So say no if there are warnings 12988 if test -s conftest.err; then 12989 # Append any errors to the config.log. 12990 cat conftest.err 1>&5 12991 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 12992 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 12993 if diff conftest.exp conftest.er2 >/dev/null; then 12994 lt_cv_prog_compiler__b=yes 12995 fi 12996 else 12997 lt_cv_prog_compiler__b=yes 12998 fi 12999 fi 13000 $RM -r conftest* 13001 LDFLAGS=$save_LDFLAGS 13002 13003fi 13004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 13005$as_echo "$lt_cv_prog_compiler__b" >&6; } 13006 13007if test yes = "$lt_cv_prog_compiler__b"; then 13008 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 13009else 13010 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 13011fi 13012 13013 ;; 13014 esac 13015 fi 13016 if test no = "$with_gnu_ld"; then 13017 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 13018 hardcode_libdir_separator=: 13019 13020 case $host_cpu in 13021 hppa*64*|ia64*) 13022 hardcode_direct=no 13023 hardcode_shlibpath_var=no 13024 ;; 13025 *) 13026 hardcode_direct=yes 13027 hardcode_direct_absolute=yes 13028 export_dynamic_flag_spec='$wl-E' 13029 13030 # hardcode_minus_L: Not really in the search PATH, 13031 # but as the default location of the library. 13032 hardcode_minus_L=yes 13033 ;; 13034 esac 13035 fi 13036 ;; 13037 13038 irix5* | irix6* | nonstopux*) 13039 if test yes = "$GCC"; then 13040 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' 13041 # Try to use the -exported_symbol ld option, if it does not 13042 # work, assume that -exports_file does not work either and 13043 # implicitly export all symbols. 13044 # This should be the same for all languages, so no per-tag cache variable. 13045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 13046$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 13047if ${lt_cv_irix_exported_symbol+:} false; then : 13048 $as_echo_n "(cached) " >&6 13049else 13050 save_LDFLAGS=$LDFLAGS 13051 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 13052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13053/* end confdefs.h. */ 13054int foo (void) { return 0; } 13055_ACEOF 13056if ac_fn_c_try_link "$LINENO"; then : 13057 lt_cv_irix_exported_symbol=yes 13058else 13059 lt_cv_irix_exported_symbol=no 13060fi 13061rm -f core conftest.err conftest.$ac_objext \ 13062 conftest$ac_exeext conftest.$ac_ext 13063 LDFLAGS=$save_LDFLAGS 13064fi 13065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 13066$as_echo "$lt_cv_irix_exported_symbol" >&6; } 13067 if test yes = "$lt_cv_irix_exported_symbol"; then 13068 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib' 13069 fi 13070 else 13071 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 13072 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib' 13073 fi 13074 archive_cmds_need_lc='no' 13075 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 13076 hardcode_libdir_separator=: 13077 inherit_rpath=yes 13078 link_all_deplibs=yes 13079 ;; 13080 13081 linux*) 13082 case $cc_basename in 13083 tcc*) 13084 # Fabrice Bellard et al's Tiny C Compiler 13085 ld_shlibs=yes 13086 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 13087 ;; 13088 esac 13089 ;; 13090 13091 netbsd*) 13092 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 13093 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 13094 else 13095 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 13096 fi 13097 hardcode_libdir_flag_spec='-R$libdir' 13098 hardcode_direct=yes 13099 hardcode_shlibpath_var=no 13100 ;; 13101 13102 newsos6) 13103 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 13104 hardcode_direct=yes 13105 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 13106 hardcode_libdir_separator=: 13107 hardcode_shlibpath_var=no 13108 ;; 13109 13110 *nto* | *qnx*) 13111 ;; 13112 13113 openbsd* | bitrig*) 13114 if test -f /usr/libexec/ld.so; then 13115 hardcode_direct=yes 13116 hardcode_shlibpath_var=no 13117 hardcode_direct_absolute=yes 13118 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 13119 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 13120 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 13121 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 13122 export_dynamic_flag_spec='$wl-E' 13123 else 13124 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 13125 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 13126 fi 13127 else 13128 ld_shlibs=no 13129 fi 13130 ;; 13131 13132 os2*) 13133 hardcode_libdir_flag_spec='-L$libdir' 13134 hardcode_minus_L=yes 13135 allow_undefined_flag=unsupported 13136 shrext_cmds=.dll 13137 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 13138 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 13139 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 13140 $ECHO EXPORTS >> $output_objdir/$libname.def~ 13141 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 13142 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 13143 emximp -o $lib $output_objdir/$libname.def' 13144 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 13145 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 13146 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 13147 $ECHO EXPORTS >> $output_objdir/$libname.def~ 13148 prefix_cmds="$SED"~ 13149 if test EXPORTS = "`$SED 1q $export_symbols`"; then 13150 prefix_cmds="$prefix_cmds -e 1d"; 13151 fi~ 13152 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 13153 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 13154 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 13155 emximp -o $lib $output_objdir/$libname.def' 13156 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 13157 enable_shared_with_static_runtimes=yes 13158 ;; 13159 13160 osf3*) 13161 if test yes = "$GCC"; then 13162 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 13163 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' 13164 else 13165 allow_undefined_flag=' -expect_unresolved \*' 13166 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 13167 fi 13168 archive_cmds_need_lc='no' 13169 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 13170 hardcode_libdir_separator=: 13171 ;; 13172 13173 osf4* | osf5*) # as osf3* with the addition of -msym flag 13174 if test yes = "$GCC"; then 13175 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 13176 archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' 13177 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 13178 else 13179 allow_undefined_flag=' -expect_unresolved \*' 13180 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 13181 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ 13182 $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp' 13183 13184 # Both c and cxx compiler support -rpath directly 13185 hardcode_libdir_flag_spec='-rpath $libdir' 13186 fi 13187 archive_cmds_need_lc='no' 13188 hardcode_libdir_separator=: 13189 ;; 13190 13191 solaris*) 13192 no_undefined_flag=' -z defs' 13193 if test yes = "$GCC"; then 13194 wlarc='$wl' 13195 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 13196 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 13197 $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 13198 else 13199 case `$CC -V 2>&1` in 13200 *"Compilers 5.0"*) 13201 wlarc='' 13202 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 13203 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 13204 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 13205 ;; 13206 *) 13207 wlarc='$wl' 13208 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 13209 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 13210 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 13211 ;; 13212 esac 13213 fi 13214 hardcode_libdir_flag_spec='-R$libdir' 13215 hardcode_shlibpath_var=no 13216 case $host_os in 13217 solaris2.[0-5] | solaris2.[0-5].*) ;; 13218 *) 13219 # The compiler driver will combine and reorder linker options, 13220 # but understands '-z linker_flag'. GCC discards it without '$wl', 13221 # but is careful enough not to reorder. 13222 # Supported since Solaris 2.6 (maybe 2.5.1?) 13223 if test yes = "$GCC"; then 13224 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 13225 else 13226 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 13227 fi 13228 ;; 13229 esac 13230 link_all_deplibs=yes 13231 ;; 13232 13233 sunos4*) 13234 if test sequent = "$host_vendor"; then 13235 # Use $CC to link under sequent, because it throws in some extra .o 13236 # files that make .init and .fini sections work. 13237 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 13238 else 13239 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 13240 fi 13241 hardcode_libdir_flag_spec='-L$libdir' 13242 hardcode_direct=yes 13243 hardcode_minus_L=yes 13244 hardcode_shlibpath_var=no 13245 ;; 13246 13247 sysv4) 13248 case $host_vendor in 13249 sni) 13250 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 13251 hardcode_direct=yes # is this really true??? 13252 ;; 13253 siemens) 13254 ## LD is ld it makes a PLAMLIB 13255 ## CC just makes a GrossModule. 13256 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 13257 reload_cmds='$CC -r -o $output$reload_objs' 13258 hardcode_direct=no 13259 ;; 13260 motorola) 13261 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 13262 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 13263 ;; 13264 esac 13265 runpath_var='LD_RUN_PATH' 13266 hardcode_shlibpath_var=no 13267 ;; 13268 13269 sysv4.3*) 13270 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 13271 hardcode_shlibpath_var=no 13272 export_dynamic_flag_spec='-Bexport' 13273 ;; 13274 13275 sysv4*MP*) 13276 if test -d /usr/nec; then 13277 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 13278 hardcode_shlibpath_var=no 13279 runpath_var=LD_RUN_PATH 13280 hardcode_runpath_var=yes 13281 ld_shlibs=yes 13282 fi 13283 ;; 13284 13285 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 13286 no_undefined_flag='$wl-z,text' 13287 archive_cmds_need_lc=no 13288 hardcode_shlibpath_var=no 13289 runpath_var='LD_RUN_PATH' 13290 13291 if test yes = "$GCC"; then 13292 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13293 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13294 else 13295 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13296 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13297 fi 13298 ;; 13299 13300 sysv5* | sco3.2v5* | sco5v6*) 13301 # Note: We CANNOT use -z defs as we might desire, because we do not 13302 # link with -lc, and that would cause any symbols used from libc to 13303 # always be unresolved, which means just about no library would 13304 # ever link correctly. If we're not using GNU ld we use -z text 13305 # though, which does catch some bad symbols but isn't as heavy-handed 13306 # as -z defs. 13307 no_undefined_flag='$wl-z,text' 13308 allow_undefined_flag='$wl-z,nodefs' 13309 archive_cmds_need_lc=no 13310 hardcode_shlibpath_var=no 13311 hardcode_libdir_flag_spec='$wl-R,$libdir' 13312 hardcode_libdir_separator=':' 13313 link_all_deplibs=yes 13314 export_dynamic_flag_spec='$wl-Bexport' 13315 runpath_var='LD_RUN_PATH' 13316 13317 if test yes = "$GCC"; then 13318 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13319 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13320 else 13321 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13322 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13323 fi 13324 ;; 13325 13326 uts4*) 13327 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 13328 hardcode_libdir_flag_spec='-L$libdir' 13329 hardcode_shlibpath_var=no 13330 ;; 13331 13332 *) 13333 ld_shlibs=no 13334 ;; 13335 esac 13336 13337 if test sni = "$host_vendor"; then 13338 case $host in 13339 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 13340 export_dynamic_flag_spec='$wl-Blargedynsym' 13341 ;; 13342 esac 13343 fi 13344 fi 13345 13346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 13347$as_echo "$ld_shlibs" >&6; } 13348test no = "$ld_shlibs" && can_build_shared=no 13349 13350with_gnu_ld=$with_gnu_ld 13351 13352 13353 13354 13355 13356 13357 13358 13359 13360 13361 13362 13363 13364 13365 13366# 13367# Do we need to explicitly link libc? 13368# 13369case "x$archive_cmds_need_lc" in 13370x|xyes) 13371 # Assume -lc should be added 13372 archive_cmds_need_lc=yes 13373 13374 if test yes,yes = "$GCC,$enable_shared"; then 13375 case $archive_cmds in 13376 *'~'*) 13377 # FIXME: we may have to deal with multi-command sequences. 13378 ;; 13379 '$CC '*) 13380 # Test whether the compiler implicitly links with -lc since on some 13381 # systems, -lgcc has to come before -lc. If gcc already passes -lc 13382 # to ld, don't add -lc before -lgcc. 13383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 13384$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 13385if ${lt_cv_archive_cmds_need_lc+:} false; then : 13386 $as_echo_n "(cached) " >&6 13387else 13388 $RM conftest* 13389 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 13390 13391 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 13392 (eval $ac_compile) 2>&5 13393 ac_status=$? 13394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13395 test $ac_status = 0; } 2>conftest.err; then 13396 soname=conftest 13397 lib=conftest 13398 libobjs=conftest.$ac_objext 13399 deplibs= 13400 wl=$lt_prog_compiler_wl 13401 pic_flag=$lt_prog_compiler_pic 13402 compiler_flags=-v 13403 linker_flags=-v 13404 verstring= 13405 output_objdir=. 13406 libname=conftest 13407 lt_save_allow_undefined_flag=$allow_undefined_flag 13408 allow_undefined_flag= 13409 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 13410 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 13411 ac_status=$? 13412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13413 test $ac_status = 0; } 13414 then 13415 lt_cv_archive_cmds_need_lc=no 13416 else 13417 lt_cv_archive_cmds_need_lc=yes 13418 fi 13419 allow_undefined_flag=$lt_save_allow_undefined_flag 13420 else 13421 cat conftest.err 1>&5 13422 fi 13423 $RM conftest* 13424 13425fi 13426{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 13427$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 13428 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 13429 ;; 13430 esac 13431 fi 13432 ;; 13433esac 13434 13435 13436 13437 13438 13439 13440 13441 13442 13443 13444 13445 13446 13447 13448 13449 13450 13451 13452 13453 13454 13455 13456 13457 13458 13459 13460 13461 13462 13463 13464 13465 13466 13467 13468 13469 13470 13471 13472 13473 13474 13475 13476 13477 13478 13479 13480 13481 13482 13483 13484 13485 13486 13487 13488 13489 13490 13491 13492 13493 13494 13495 13496 13497 13498 13499 13500 13501 13502 13503 13504 13505 13506 13507 13508 13509 13510 13511 13512 13513 13514 13515 13516 13517 13518 13519 13520 13521 13522 13523 13524 13525 13526 13527 13528 13529 13530 13531 13532 13533 13534 13535 13536 13537 13538 13539 13540 13541 13542 13543 13544 13545 13546 13547 13548 13549 13550 13551 13552 13553 13554 13555 13556 13557 13558 13559 13560 13561 13562 13563 13564 13565 13566 13567 13568 13569 13570 13571 13572 13573 13574 13575 13576 13577 13578 13579 13580 13581 13582 13583 13584 13585 13586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 13587$as_echo_n "checking dynamic linker characteristics... " >&6; } 13588 13589if test yes = "$GCC"; then 13590 case $host_os in 13591 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 13592 *) lt_awk_arg='/^libraries:/' ;; 13593 esac 13594 case $host_os in 13595 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 13596 *) lt_sed_strip_eq='s|=/|/|g' ;; 13597 esac 13598 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 13599 case $lt_search_path_spec in 13600 *\;*) 13601 # if the path contains ";" then we assume it to be the separator 13602 # otherwise default to the standard path separator (i.e. ":") - it is 13603 # assumed that no part of a normal pathname contains ";" but that should 13604 # okay in the real world where ";" in dirpaths is itself problematic. 13605 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 13606 ;; 13607 *) 13608 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 13609 ;; 13610 esac 13611 # Ok, now we have the path, separated by spaces, we can step through it 13612 # and add multilib dir if necessary... 13613 lt_tmp_lt_search_path_spec= 13614 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 13615 # ...but if some path component already ends with the multilib dir we assume 13616 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 13617 case "$lt_multi_os_dir; $lt_search_path_spec " in 13618 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 13619 lt_multi_os_dir= 13620 ;; 13621 esac 13622 for lt_sys_path in $lt_search_path_spec; do 13623 if test -d "$lt_sys_path$lt_multi_os_dir"; then 13624 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 13625 elif test -n "$lt_multi_os_dir"; then 13626 test -d "$lt_sys_path" && \ 13627 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 13628 fi 13629 done 13630 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 13631BEGIN {RS = " "; FS = "/|\n";} { 13632 lt_foo = ""; 13633 lt_count = 0; 13634 for (lt_i = NF; lt_i > 0; lt_i--) { 13635 if ($lt_i != "" && $lt_i != ".") { 13636 if ($lt_i == "..") { 13637 lt_count++; 13638 } else { 13639 if (lt_count == 0) { 13640 lt_foo = "/" $lt_i lt_foo; 13641 } else { 13642 lt_count--; 13643 } 13644 } 13645 } 13646 } 13647 if (lt_foo != "") { lt_freq[lt_foo]++; } 13648 if (lt_freq[lt_foo] == 1) { print lt_foo; } 13649}'` 13650 # AWK program above erroneously prepends '/' to C:/dos/paths 13651 # for these hosts. 13652 case $host_os in 13653 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 13654 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 13655 esac 13656 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 13657else 13658 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 13659fi 13660library_names_spec= 13661libname_spec='lib$name' 13662soname_spec= 13663shrext_cmds=.so 13664postinstall_cmds= 13665postuninstall_cmds= 13666finish_cmds= 13667finish_eval= 13668shlibpath_var= 13669shlibpath_overrides_runpath=unknown 13670version_type=none 13671dynamic_linker="$host_os ld.so" 13672sys_lib_dlsearch_path_spec="/lib /usr/lib" 13673need_lib_prefix=unknown 13674hardcode_into_libs=no 13675 13676# when you set need_version to no, make sure it does not cause -set_version 13677# flags to be left without arguments 13678need_version=unknown 13679 13680 13681 13682case $host_os in 13683aix3*) 13684 version_type=linux # correct to gnu/linux during the next big refactor 13685 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 13686 shlibpath_var=LIBPATH 13687 13688 # AIX 3 has no versioning support, so we append a major version to the name. 13689 soname_spec='$libname$release$shared_ext$major' 13690 ;; 13691 13692aix[4-9]*) 13693 version_type=linux # correct to gnu/linux during the next big refactor 13694 need_lib_prefix=no 13695 need_version=no 13696 hardcode_into_libs=yes 13697 if test ia64 = "$host_cpu"; then 13698 # AIX 5 supports IA64 13699 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 13700 shlibpath_var=LD_LIBRARY_PATH 13701 else 13702 # With GCC up to 2.95.x, collect2 would create an import file 13703 # for dependence libraries. The import file would start with 13704 # the line '#! .'. This would cause the generated library to 13705 # depend on '.', always an invalid library. This was fixed in 13706 # development snapshots of GCC prior to 3.0. 13707 case $host_os in 13708 aix4 | aix4.[01] | aix4.[01].*) 13709 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 13710 echo ' yes ' 13711 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 13712 : 13713 else 13714 can_build_shared=no 13715 fi 13716 ;; 13717 esac 13718 # Using Import Files as archive members, it is possible to support 13719 # filename-based versioning of shared library archives on AIX. While 13720 # this would work for both with and without runtime linking, it will 13721 # prevent static linking of such archives. So we do filename-based 13722 # shared library versioning with .so extension only, which is used 13723 # when both runtime linking and shared linking is enabled. 13724 # Unfortunately, runtime linking may impact performance, so we do 13725 # not want this to be the default eventually. Also, we use the 13726 # versioned .so libs for executables only if there is the -brtl 13727 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 13728 # To allow for filename-based versioning support, we need to create 13729 # libNAME.so.V as an archive file, containing: 13730 # *) an Import File, referring to the versioned filename of the 13731 # archive as well as the shared archive member, telling the 13732 # bitwidth (32 or 64) of that shared object, and providing the 13733 # list of exported symbols of that shared object, eventually 13734 # decorated with the 'weak' keyword 13735 # *) the shared object with the F_LOADONLY flag set, to really avoid 13736 # it being seen by the linker. 13737 # At run time we better use the real file rather than another symlink, 13738 # but for link time we create the symlink libNAME.so -> libNAME.so.V 13739 13740 case $with_aix_soname,$aix_use_runtimelinking in 13741 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 13742 # soname into executable. Probably we can add versioning support to 13743 # collect2, so additional links can be useful in future. 13744 aix,yes) # traditional libtool 13745 dynamic_linker='AIX unversionable lib.so' 13746 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 13747 # instead of lib<name>.a to let people know that these are not 13748 # typical AIX shared libraries. 13749 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13750 ;; 13751 aix,no) # traditional AIX only 13752 dynamic_linker='AIX lib.a(lib.so.V)' 13753 # We preserve .a as extension for shared libraries through AIX4.2 13754 # and later when we are not doing run time linking. 13755 library_names_spec='$libname$release.a $libname.a' 13756 soname_spec='$libname$release$shared_ext$major' 13757 ;; 13758 svr4,*) # full svr4 only 13759 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 13760 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 13761 # We do not specify a path in Import Files, so LIBPATH fires. 13762 shlibpath_overrides_runpath=yes 13763 ;; 13764 *,yes) # both, prefer svr4 13765 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 13766 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 13767 # unpreferred sharedlib libNAME.a needs extra handling 13768 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' 13769 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' 13770 # We do not specify a path in Import Files, so LIBPATH fires. 13771 shlibpath_overrides_runpath=yes 13772 ;; 13773 *,no) # both, prefer aix 13774 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 13775 library_names_spec='$libname$release.a $libname.a' 13776 soname_spec='$libname$release$shared_ext$major' 13777 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 13778 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' 13779 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' 13780 ;; 13781 esac 13782 shlibpath_var=LIBPATH 13783 fi 13784 ;; 13785 13786amigaos*) 13787 case $host_cpu in 13788 powerpc) 13789 # Since July 2007 AmigaOS4 officially supports .so libraries. 13790 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 13791 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13792 ;; 13793 m68k) 13794 library_names_spec='$libname.ixlibrary $libname.a' 13795 # Create ${libname}_ixlibrary.a entries in /sys/libs. 13796 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 13797 ;; 13798 esac 13799 ;; 13800 13801beos*) 13802 library_names_spec='$libname$shared_ext' 13803 dynamic_linker="$host_os ld.so" 13804 shlibpath_var=LIBRARY_PATH 13805 ;; 13806 13807bsdi[45]*) 13808 version_type=linux # correct to gnu/linux during the next big refactor 13809 need_version=no 13810 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13811 soname_spec='$libname$release$shared_ext$major' 13812 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 13813 shlibpath_var=LD_LIBRARY_PATH 13814 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 13815 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 13816 # the default ld.so.conf also contains /usr/contrib/lib and 13817 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 13818 # libtool to hard-code these into programs 13819 ;; 13820 13821cygwin* | mingw* | pw32* | cegcc*) 13822 version_type=windows 13823 shrext_cmds=.dll 13824 need_version=no 13825 need_lib_prefix=no 13826 13827 case $GCC,$cc_basename in 13828 yes,*) 13829 # gcc 13830 library_names_spec='$libname.dll.a' 13831 # DLL is installed to $(libdir)/../bin by postinstall_cmds 13832 postinstall_cmds='base_file=`basename \$file`~ 13833 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 13834 dldir=$destdir/`dirname \$dlpath`~ 13835 test -d \$dldir || mkdir -p \$dldir~ 13836 $install_prog $dir/$dlname \$dldir/$dlname~ 13837 chmod a+x \$dldir/$dlname~ 13838 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 13839 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 13840 fi' 13841 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 13842 dlpath=$dir/\$dldll~ 13843 $RM \$dlpath' 13844 shlibpath_overrides_runpath=yes 13845 13846 case $host_os in 13847 cygwin*) 13848 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 13849 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 13850 13851 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 13852 ;; 13853 mingw* | cegcc*) 13854 # MinGW DLLs use traditional 'lib' prefix 13855 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 13856 ;; 13857 pw32*) 13858 # pw32 DLLs use 'pw' prefix rather than 'lib' 13859 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 13860 ;; 13861 esac 13862 dynamic_linker='Win32 ld.exe' 13863 ;; 13864 13865 *,cl*) 13866 # Native MSVC 13867 libname_spec='$name' 13868 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 13869 library_names_spec='$libname.dll.lib' 13870 13871 case $build_os in 13872 mingw*) 13873 sys_lib_search_path_spec= 13874 lt_save_ifs=$IFS 13875 IFS=';' 13876 for lt_path in $LIB 13877 do 13878 IFS=$lt_save_ifs 13879 # Let DOS variable expansion print the short 8.3 style file name. 13880 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 13881 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 13882 done 13883 IFS=$lt_save_ifs 13884 # Convert to MSYS style. 13885 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 13886 ;; 13887 cygwin*) 13888 # Convert to unix form, then to dos form, then back to unix form 13889 # but this time dos style (no spaces!) so that the unix form looks 13890 # like /cygdrive/c/PROGRA~1:/cygdr... 13891 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 13892 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 13893 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 13894 ;; 13895 *) 13896 sys_lib_search_path_spec=$LIB 13897 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 13898 # It is most probably a Windows format PATH. 13899 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 13900 else 13901 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 13902 fi 13903 # FIXME: find the short name or the path components, as spaces are 13904 # common. (e.g. "Program Files" -> "PROGRA~1") 13905 ;; 13906 esac 13907 13908 # DLL is installed to $(libdir)/../bin by postinstall_cmds 13909 postinstall_cmds='base_file=`basename \$file`~ 13910 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 13911 dldir=$destdir/`dirname \$dlpath`~ 13912 test -d \$dldir || mkdir -p \$dldir~ 13913 $install_prog $dir/$dlname \$dldir/$dlname' 13914 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 13915 dlpath=$dir/\$dldll~ 13916 $RM \$dlpath' 13917 shlibpath_overrides_runpath=yes 13918 dynamic_linker='Win32 link.exe' 13919 ;; 13920 13921 *) 13922 # Assume MSVC wrapper 13923 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 13924 dynamic_linker='Win32 ld.exe' 13925 ;; 13926 esac 13927 # FIXME: first we should search . and the directory the executable is in 13928 shlibpath_var=PATH 13929 ;; 13930 13931darwin* | rhapsody*) 13932 dynamic_linker="$host_os dyld" 13933 version_type=darwin 13934 need_lib_prefix=no 13935 need_version=no 13936 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 13937 soname_spec='$libname$release$major$shared_ext' 13938 shlibpath_overrides_runpath=yes 13939 shlibpath_var=DYLD_LIBRARY_PATH 13940 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 13941 13942 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 13943 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 13944 ;; 13945 13946dgux*) 13947 version_type=linux # correct to gnu/linux during the next big refactor 13948 need_lib_prefix=no 13949 need_version=no 13950 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13951 soname_spec='$libname$release$shared_ext$major' 13952 shlibpath_var=LD_LIBRARY_PATH 13953 ;; 13954 13955freebsd* | dragonfly*) 13956 # DragonFly does not have aout. When/if they implement a new 13957 # versioning mechanism, adjust this. 13958 if test -x /usr/bin/objformat; then 13959 objformat=`/usr/bin/objformat` 13960 else 13961 case $host_os in 13962 freebsd[23].*) objformat=aout ;; 13963 *) objformat=elf ;; 13964 esac 13965 fi 13966 version_type=freebsd-$objformat 13967 case $version_type in 13968 freebsd-elf*) 13969 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13970 soname_spec='$libname$release$shared_ext$major' 13971 need_version=no 13972 need_lib_prefix=no 13973 ;; 13974 freebsd-*) 13975 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 13976 need_version=yes 13977 ;; 13978 esac 13979 shlibpath_var=LD_LIBRARY_PATH 13980 case $host_os in 13981 freebsd2.*) 13982 shlibpath_overrides_runpath=yes 13983 ;; 13984 freebsd3.[01]* | freebsdelf3.[01]*) 13985 shlibpath_overrides_runpath=yes 13986 hardcode_into_libs=yes 13987 ;; 13988 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 13989 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 13990 shlibpath_overrides_runpath=no 13991 hardcode_into_libs=yes 13992 ;; 13993 *) # from 4.6 on, and DragonFly 13994 shlibpath_overrides_runpath=yes 13995 hardcode_into_libs=yes 13996 ;; 13997 esac 13998 ;; 13999 14000haiku*) 14001 version_type=linux # correct to gnu/linux during the next big refactor 14002 need_lib_prefix=no 14003 need_version=no 14004 dynamic_linker="$host_os runtime_loader" 14005 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14006 soname_spec='$libname$release$shared_ext$major' 14007 shlibpath_var=LIBRARY_PATH 14008 shlibpath_overrides_runpath=no 14009 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 14010 hardcode_into_libs=yes 14011 ;; 14012 14013hpux9* | hpux10* | hpux11*) 14014 # Give a soname corresponding to the major version so that dld.sl refuses to 14015 # link against other versions. 14016 version_type=sunos 14017 need_lib_prefix=no 14018 need_version=no 14019 case $host_cpu in 14020 ia64*) 14021 shrext_cmds='.so' 14022 hardcode_into_libs=yes 14023 dynamic_linker="$host_os dld.so" 14024 shlibpath_var=LD_LIBRARY_PATH 14025 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 14026 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14027 soname_spec='$libname$release$shared_ext$major' 14028 if test 32 = "$HPUX_IA64_MODE"; then 14029 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 14030 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 14031 else 14032 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 14033 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 14034 fi 14035 ;; 14036 hppa*64*) 14037 shrext_cmds='.sl' 14038 hardcode_into_libs=yes 14039 dynamic_linker="$host_os dld.sl" 14040 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 14041 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 14042 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14043 soname_spec='$libname$release$shared_ext$major' 14044 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 14045 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 14046 ;; 14047 *) 14048 shrext_cmds='.sl' 14049 dynamic_linker="$host_os dld.sl" 14050 shlibpath_var=SHLIB_PATH 14051 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 14052 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14053 soname_spec='$libname$release$shared_ext$major' 14054 ;; 14055 esac 14056 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 14057 postinstall_cmds='chmod 555 $lib' 14058 # or fails outright, so override atomically: 14059 install_override_mode=555 14060 ;; 14061 14062interix[3-9]*) 14063 version_type=linux # correct to gnu/linux during the next big refactor 14064 need_lib_prefix=no 14065 need_version=no 14066 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14067 soname_spec='$libname$release$shared_ext$major' 14068 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 14069 shlibpath_var=LD_LIBRARY_PATH 14070 shlibpath_overrides_runpath=no 14071 hardcode_into_libs=yes 14072 ;; 14073 14074irix5* | irix6* | nonstopux*) 14075 case $host_os in 14076 nonstopux*) version_type=nonstopux ;; 14077 *) 14078 if test yes = "$lt_cv_prog_gnu_ld"; then 14079 version_type=linux # correct to gnu/linux during the next big refactor 14080 else 14081 version_type=irix 14082 fi ;; 14083 esac 14084 need_lib_prefix=no 14085 need_version=no 14086 soname_spec='$libname$release$shared_ext$major' 14087 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 14088 case $host_os in 14089 irix5* | nonstopux*) 14090 libsuff= shlibsuff= 14091 ;; 14092 *) 14093 case $LD in # libtool.m4 will add one of these switches to LD 14094 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 14095 libsuff= shlibsuff= libmagic=32-bit;; 14096 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 14097 libsuff=32 shlibsuff=N32 libmagic=N32;; 14098 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 14099 libsuff=64 shlibsuff=64 libmagic=64-bit;; 14100 *) libsuff= shlibsuff= libmagic=never-match;; 14101 esac 14102 ;; 14103 esac 14104 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 14105 shlibpath_overrides_runpath=no 14106 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 14107 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 14108 hardcode_into_libs=yes 14109 ;; 14110 14111# No shared lib support for Linux oldld, aout, or coff. 14112linux*oldld* | linux*aout* | linux*coff*) 14113 dynamic_linker=no 14114 ;; 14115 14116linux*android*) 14117 version_type=none # Android doesn't support versioned libraries. 14118 need_lib_prefix=no 14119 need_version=no 14120 library_names_spec='$libname$release$shared_ext' 14121 soname_spec='$libname$release$shared_ext' 14122 finish_cmds= 14123 shlibpath_var=LD_LIBRARY_PATH 14124 shlibpath_overrides_runpath=yes 14125 14126 # This implies no fast_install, which is unacceptable. 14127 # Some rework will be needed to allow for fast_install 14128 # before this can be enabled. 14129 hardcode_into_libs=yes 14130 14131 dynamic_linker='Android linker' 14132 # Don't embed -rpath directories since the linker doesn't support them. 14133 hardcode_libdir_flag_spec='-L$libdir' 14134 ;; 14135 14136# This must be glibc/ELF. 14137linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 14138 version_type=linux # correct to gnu/linux during the next big refactor 14139 need_lib_prefix=no 14140 need_version=no 14141 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14142 soname_spec='$libname$release$shared_ext$major' 14143 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 14144 shlibpath_var=LD_LIBRARY_PATH 14145 shlibpath_overrides_runpath=no 14146 14147 # Some binutils ld are patched to set DT_RUNPATH 14148 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 14149 $as_echo_n "(cached) " >&6 14150else 14151 lt_cv_shlibpath_overrides_runpath=no 14152 save_LDFLAGS=$LDFLAGS 14153 save_libdir=$libdir 14154 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 14155 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 14156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14157/* end confdefs.h. */ 14158 14159int 14160main () 14161{ 14162 14163 ; 14164 return 0; 14165} 14166_ACEOF 14167if ac_fn_c_try_link "$LINENO"; then : 14168 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 14169 lt_cv_shlibpath_overrides_runpath=yes 14170fi 14171fi 14172rm -f core conftest.err conftest.$ac_objext \ 14173 conftest$ac_exeext conftest.$ac_ext 14174 LDFLAGS=$save_LDFLAGS 14175 libdir=$save_libdir 14176 14177fi 14178 14179 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 14180 14181 # This implies no fast_install, which is unacceptable. 14182 # Some rework will be needed to allow for fast_install 14183 # before this can be enabled. 14184 hardcode_into_libs=yes 14185 14186 # Add ABI-specific directories to the system library path. 14187 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 14188 14189 # Ideally, we could use ldconfig to report *all* directores which are 14190 # searched for libraries, however this is still not possible. Aside from not 14191 # being certain /sbin/ldconfig is available, command 14192 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 14193 # even though it is searched at run-time. Try to do the best guess by 14194 # appending ld.so.conf contents (and includes) to the search path. 14195 if test -f /etc/ld.so.conf; then 14196 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` 14197 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 14198 fi 14199 14200 # We used to test for /lib/ld.so.1 and disable shared libraries on 14201 # powerpc, because MkLinux only supported shared libraries with the 14202 # GNU dynamic linker. Since this was broken with cross compilers, 14203 # most powerpc-linux boxes support dynamic linking these days and 14204 # people can always --disable-shared, the test was removed, and we 14205 # assume the GNU/Linux dynamic linker is in use. 14206 dynamic_linker='GNU/Linux ld.so' 14207 ;; 14208 14209netbsd*) 14210 version_type=sunos 14211 need_lib_prefix=no 14212 need_version=no 14213 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 14214 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 14215 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 14216 dynamic_linker='NetBSD (a.out) ld.so' 14217 else 14218 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14219 soname_spec='$libname$release$shared_ext$major' 14220 dynamic_linker='NetBSD ld.elf_so' 14221 fi 14222 shlibpath_var=LD_LIBRARY_PATH 14223 shlibpath_overrides_runpath=yes 14224 hardcode_into_libs=yes 14225 ;; 14226 14227newsos6) 14228 version_type=linux # correct to gnu/linux during the next big refactor 14229 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14230 shlibpath_var=LD_LIBRARY_PATH 14231 shlibpath_overrides_runpath=yes 14232 ;; 14233 14234*nto* | *qnx*) 14235 version_type=qnx 14236 need_lib_prefix=no 14237 need_version=no 14238 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14239 soname_spec='$libname$release$shared_ext$major' 14240 shlibpath_var=LD_LIBRARY_PATH 14241 shlibpath_overrides_runpath=no 14242 hardcode_into_libs=yes 14243 dynamic_linker='ldqnx.so' 14244 ;; 14245 14246openbsd* | bitrig*) 14247 version_type=sunos 14248 sys_lib_dlsearch_path_spec=/usr/lib 14249 need_lib_prefix=no 14250 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 14251 need_version=no 14252 else 14253 need_version=yes 14254 fi 14255 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 14256 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 14257 shlibpath_var=LD_LIBRARY_PATH 14258 shlibpath_overrides_runpath=yes 14259 ;; 14260 14261os2*) 14262 libname_spec='$name' 14263 version_type=windows 14264 shrext_cmds=.dll 14265 need_version=no 14266 need_lib_prefix=no 14267 # OS/2 can only load a DLL with a base name of 8 characters or less. 14268 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 14269 v=$($ECHO $release$versuffix | tr -d .-); 14270 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 14271 $ECHO $n$v`$shared_ext' 14272 library_names_spec='${libname}_dll.$libext' 14273 dynamic_linker='OS/2 ld.exe' 14274 shlibpath_var=BEGINLIBPATH 14275 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 14276 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 14277 postinstall_cmds='base_file=`basename \$file`~ 14278 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 14279 dldir=$destdir/`dirname \$dlpath`~ 14280 test -d \$dldir || mkdir -p \$dldir~ 14281 $install_prog $dir/$dlname \$dldir/$dlname~ 14282 chmod a+x \$dldir/$dlname~ 14283 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 14284 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 14285 fi' 14286 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 14287 dlpath=$dir/\$dldll~ 14288 $RM \$dlpath' 14289 ;; 14290 14291osf3* | osf4* | osf5*) 14292 version_type=osf 14293 need_lib_prefix=no 14294 need_version=no 14295 soname_spec='$libname$release$shared_ext$major' 14296 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14297 shlibpath_var=LD_LIBRARY_PATH 14298 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 14299 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 14300 ;; 14301 14302rdos*) 14303 dynamic_linker=no 14304 ;; 14305 14306solaris*) 14307 version_type=linux # correct to gnu/linux during the next big refactor 14308 need_lib_prefix=no 14309 need_version=no 14310 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14311 soname_spec='$libname$release$shared_ext$major' 14312 shlibpath_var=LD_LIBRARY_PATH 14313 shlibpath_overrides_runpath=yes 14314 hardcode_into_libs=yes 14315 # ldd complains unless libraries are executable 14316 postinstall_cmds='chmod +x $lib' 14317 ;; 14318 14319sunos4*) 14320 version_type=sunos 14321 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 14322 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 14323 shlibpath_var=LD_LIBRARY_PATH 14324 shlibpath_overrides_runpath=yes 14325 if test yes = "$with_gnu_ld"; then 14326 need_lib_prefix=no 14327 fi 14328 need_version=yes 14329 ;; 14330 14331sysv4 | sysv4.3*) 14332 version_type=linux # correct to gnu/linux during the next big refactor 14333 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14334 soname_spec='$libname$release$shared_ext$major' 14335 shlibpath_var=LD_LIBRARY_PATH 14336 case $host_vendor in 14337 sni) 14338 shlibpath_overrides_runpath=no 14339 need_lib_prefix=no 14340 runpath_var=LD_RUN_PATH 14341 ;; 14342 siemens) 14343 need_lib_prefix=no 14344 ;; 14345 motorola) 14346 need_lib_prefix=no 14347 need_version=no 14348 shlibpath_overrides_runpath=no 14349 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 14350 ;; 14351 esac 14352 ;; 14353 14354sysv4*MP*) 14355 if test -d /usr/nec; then 14356 version_type=linux # correct to gnu/linux during the next big refactor 14357 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 14358 soname_spec='$libname$shared_ext.$major' 14359 shlibpath_var=LD_LIBRARY_PATH 14360 fi 14361 ;; 14362 14363sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 14364 version_type=sco 14365 need_lib_prefix=no 14366 need_version=no 14367 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 14368 soname_spec='$libname$release$shared_ext$major' 14369 shlibpath_var=LD_LIBRARY_PATH 14370 shlibpath_overrides_runpath=yes 14371 hardcode_into_libs=yes 14372 if test yes = "$with_gnu_ld"; then 14373 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 14374 else 14375 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 14376 case $host_os in 14377 sco3.2v5*) 14378 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 14379 ;; 14380 esac 14381 fi 14382 sys_lib_dlsearch_path_spec='/usr/lib' 14383 ;; 14384 14385tpf*) 14386 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 14387 version_type=linux # correct to gnu/linux during the next big refactor 14388 need_lib_prefix=no 14389 need_version=no 14390 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14391 shlibpath_var=LD_LIBRARY_PATH 14392 shlibpath_overrides_runpath=no 14393 hardcode_into_libs=yes 14394 ;; 14395 14396uts4*) 14397 version_type=linux # correct to gnu/linux during the next big refactor 14398 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14399 soname_spec='$libname$release$shared_ext$major' 14400 shlibpath_var=LD_LIBRARY_PATH 14401 ;; 14402 14403*) 14404 dynamic_linker=no 14405 ;; 14406esac 14407{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 14408$as_echo "$dynamic_linker" >&6; } 14409test no = "$dynamic_linker" && can_build_shared=no 14410 14411variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 14412if test yes = "$GCC"; then 14413 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 14414fi 14415 14416if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 14417 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 14418fi 14419 14420if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 14421 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 14422fi 14423 14424# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 14425configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 14426 14427# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 14428func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 14429 14430# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 14431configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 14432 14433 14434 14435 14436 14437 14438 14439 14440 14441 14442 14443 14444 14445 14446 14447 14448 14449 14450 14451 14452 14453 14454 14455 14456 14457 14458 14459 14460 14461 14462 14463 14464 14465 14466 14467 14468 14469 14470 14471 14472 14473 14474 14475 14476 14477 14478 14479 14480 14481 14482 14483 14484 14485 14486 14487 14488 14489 14490 14491 14492 14493 14494 14495 14496 14497 14498 14499 14500 14501 14502 14503 14504 14505 14506 14507 14508 14509 14510 14511 14512 14513 14514 14515 14516 14517 14518 14519 14520 14521 14522 14523 14524 14525 14526 14527 14528 14529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 14530$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 14531hardcode_action= 14532if test -n "$hardcode_libdir_flag_spec" || 14533 test -n "$runpath_var" || 14534 test yes = "$hardcode_automatic"; then 14535 14536 # We can hardcode non-existent directories. 14537 if test no != "$hardcode_direct" && 14538 # If the only mechanism to avoid hardcoding is shlibpath_var, we 14539 # have to relink, otherwise we might link with an installed library 14540 # when we should be linking with a yet-to-be-installed one 14541 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 14542 test no != "$hardcode_minus_L"; then 14543 # Linking always hardcodes the temporary library directory. 14544 hardcode_action=relink 14545 else 14546 # We can link without hardcoding, and we can hardcode nonexisting dirs. 14547 hardcode_action=immediate 14548 fi 14549else 14550 # We cannot hardcode anything, or else we can only hardcode existing 14551 # directories. 14552 hardcode_action=unsupported 14553fi 14554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 14555$as_echo "$hardcode_action" >&6; } 14556 14557if test relink = "$hardcode_action" || 14558 test yes = "$inherit_rpath"; then 14559 # Fast installation is not supported 14560 enable_fast_install=no 14561elif test yes = "$shlibpath_overrides_runpath" || 14562 test no = "$enable_shared"; then 14563 # Fast installation is not necessary 14564 enable_fast_install=needless 14565fi 14566 14567 14568 14569 14570 14571 14572 if test yes != "$enable_dlopen"; then 14573 enable_dlopen=unknown 14574 enable_dlopen_self=unknown 14575 enable_dlopen_self_static=unknown 14576else 14577 lt_cv_dlopen=no 14578 lt_cv_dlopen_libs= 14579 14580 case $host_os in 14581 beos*) 14582 lt_cv_dlopen=load_add_on 14583 lt_cv_dlopen_libs= 14584 lt_cv_dlopen_self=yes 14585 ;; 14586 14587 mingw* | pw32* | cegcc*) 14588 lt_cv_dlopen=LoadLibrary 14589 lt_cv_dlopen_libs= 14590 ;; 14591 14592 cygwin*) 14593 lt_cv_dlopen=dlopen 14594 lt_cv_dlopen_libs= 14595 ;; 14596 14597 darwin*) 14598 # if libdl is installed we need to link against it 14599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 14600$as_echo_n "checking for dlopen in -ldl... " >&6; } 14601if ${ac_cv_lib_dl_dlopen+:} false; then : 14602 $as_echo_n "(cached) " >&6 14603else 14604 ac_check_lib_save_LIBS=$LIBS 14605LIBS="-ldl $LIBS" 14606cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14607/* end confdefs.h. */ 14608 14609/* Override any GCC internal prototype to avoid an error. 14610 Use char because int might match the return type of a GCC 14611 builtin and then its argument prototype would still apply. */ 14612#ifdef __cplusplus 14613extern "C" 14614#endif 14615char dlopen (); 14616int 14617main () 14618{ 14619return dlopen (); 14620 ; 14621 return 0; 14622} 14623_ACEOF 14624if ac_fn_c_try_link "$LINENO"; then : 14625 ac_cv_lib_dl_dlopen=yes 14626else 14627 ac_cv_lib_dl_dlopen=no 14628fi 14629rm -f core conftest.err conftest.$ac_objext \ 14630 conftest$ac_exeext conftest.$ac_ext 14631LIBS=$ac_check_lib_save_LIBS 14632fi 14633{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 14634$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 14635if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 14636 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 14637else 14638 14639 lt_cv_dlopen=dyld 14640 lt_cv_dlopen_libs= 14641 lt_cv_dlopen_self=yes 14642 14643fi 14644 14645 ;; 14646 14647 tpf*) 14648 # Don't try to run any link tests for TPF. We know it's impossible 14649 # because TPF is a cross-compiler, and we know how we open DSOs. 14650 lt_cv_dlopen=dlopen 14651 lt_cv_dlopen_libs= 14652 lt_cv_dlopen_self=no 14653 ;; 14654 14655 *) 14656 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 14657if test "x$ac_cv_func_shl_load" = xyes; then : 14658 lt_cv_dlopen=shl_load 14659else 14660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 14661$as_echo_n "checking for shl_load in -ldld... " >&6; } 14662if ${ac_cv_lib_dld_shl_load+:} false; then : 14663 $as_echo_n "(cached) " >&6 14664else 14665 ac_check_lib_save_LIBS=$LIBS 14666LIBS="-ldld $LIBS" 14667cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14668/* end confdefs.h. */ 14669 14670/* Override any GCC internal prototype to avoid an error. 14671 Use char because int might match the return type of a GCC 14672 builtin and then its argument prototype would still apply. */ 14673#ifdef __cplusplus 14674extern "C" 14675#endif 14676char shl_load (); 14677int 14678main () 14679{ 14680return shl_load (); 14681 ; 14682 return 0; 14683} 14684_ACEOF 14685if ac_fn_c_try_link "$LINENO"; then : 14686 ac_cv_lib_dld_shl_load=yes 14687else 14688 ac_cv_lib_dld_shl_load=no 14689fi 14690rm -f core conftest.err conftest.$ac_objext \ 14691 conftest$ac_exeext conftest.$ac_ext 14692LIBS=$ac_check_lib_save_LIBS 14693fi 14694{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 14695$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 14696if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 14697 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 14698else 14699 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 14700if test "x$ac_cv_func_dlopen" = xyes; then : 14701 lt_cv_dlopen=dlopen 14702else 14703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 14704$as_echo_n "checking for dlopen in -ldl... " >&6; } 14705if ${ac_cv_lib_dl_dlopen+:} false; then : 14706 $as_echo_n "(cached) " >&6 14707else 14708 ac_check_lib_save_LIBS=$LIBS 14709LIBS="-ldl $LIBS" 14710cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14711/* end confdefs.h. */ 14712 14713/* Override any GCC internal prototype to avoid an error. 14714 Use char because int might match the return type of a GCC 14715 builtin and then its argument prototype would still apply. */ 14716#ifdef __cplusplus 14717extern "C" 14718#endif 14719char dlopen (); 14720int 14721main () 14722{ 14723return dlopen (); 14724 ; 14725 return 0; 14726} 14727_ACEOF 14728if ac_fn_c_try_link "$LINENO"; then : 14729 ac_cv_lib_dl_dlopen=yes 14730else 14731 ac_cv_lib_dl_dlopen=no 14732fi 14733rm -f core conftest.err conftest.$ac_objext \ 14734 conftest$ac_exeext conftest.$ac_ext 14735LIBS=$ac_check_lib_save_LIBS 14736fi 14737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 14738$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 14739if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 14740 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 14741else 14742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 14743$as_echo_n "checking for dlopen in -lsvld... " >&6; } 14744if ${ac_cv_lib_svld_dlopen+:} false; then : 14745 $as_echo_n "(cached) " >&6 14746else 14747 ac_check_lib_save_LIBS=$LIBS 14748LIBS="-lsvld $LIBS" 14749cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14750/* end confdefs.h. */ 14751 14752/* Override any GCC internal prototype to avoid an error. 14753 Use char because int might match the return type of a GCC 14754 builtin and then its argument prototype would still apply. */ 14755#ifdef __cplusplus 14756extern "C" 14757#endif 14758char dlopen (); 14759int 14760main () 14761{ 14762return dlopen (); 14763 ; 14764 return 0; 14765} 14766_ACEOF 14767if ac_fn_c_try_link "$LINENO"; then : 14768 ac_cv_lib_svld_dlopen=yes 14769else 14770 ac_cv_lib_svld_dlopen=no 14771fi 14772rm -f core conftest.err conftest.$ac_objext \ 14773 conftest$ac_exeext conftest.$ac_ext 14774LIBS=$ac_check_lib_save_LIBS 14775fi 14776{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 14777$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 14778if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 14779 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 14780else 14781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 14782$as_echo_n "checking for dld_link in -ldld... " >&6; } 14783if ${ac_cv_lib_dld_dld_link+:} false; then : 14784 $as_echo_n "(cached) " >&6 14785else 14786 ac_check_lib_save_LIBS=$LIBS 14787LIBS="-ldld $LIBS" 14788cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14789/* end confdefs.h. */ 14790 14791/* Override any GCC internal prototype to avoid an error. 14792 Use char because int might match the return type of a GCC 14793 builtin and then its argument prototype would still apply. */ 14794#ifdef __cplusplus 14795extern "C" 14796#endif 14797char dld_link (); 14798int 14799main () 14800{ 14801return dld_link (); 14802 ; 14803 return 0; 14804} 14805_ACEOF 14806if ac_fn_c_try_link "$LINENO"; then : 14807 ac_cv_lib_dld_dld_link=yes 14808else 14809 ac_cv_lib_dld_dld_link=no 14810fi 14811rm -f core conftest.err conftest.$ac_objext \ 14812 conftest$ac_exeext conftest.$ac_ext 14813LIBS=$ac_check_lib_save_LIBS 14814fi 14815{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 14816$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 14817if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 14818 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 14819fi 14820 14821 14822fi 14823 14824 14825fi 14826 14827 14828fi 14829 14830 14831fi 14832 14833 14834fi 14835 14836 ;; 14837 esac 14838 14839 if test no = "$lt_cv_dlopen"; then 14840 enable_dlopen=no 14841 else 14842 enable_dlopen=yes 14843 fi 14844 14845 case $lt_cv_dlopen in 14846 dlopen) 14847 save_CPPFLAGS=$CPPFLAGS 14848 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 14849 14850 save_LDFLAGS=$LDFLAGS 14851 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 14852 14853 save_LIBS=$LIBS 14854 LIBS="$lt_cv_dlopen_libs $LIBS" 14855 14856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 14857$as_echo_n "checking whether a program can dlopen itself... " >&6; } 14858if ${lt_cv_dlopen_self+:} false; then : 14859 $as_echo_n "(cached) " >&6 14860else 14861 if test yes = "$cross_compiling"; then : 14862 lt_cv_dlopen_self=cross 14863else 14864 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 14865 lt_status=$lt_dlunknown 14866 cat > conftest.$ac_ext <<_LT_EOF 14867#line $LINENO "configure" 14868#include "confdefs.h" 14869 14870#if HAVE_DLFCN_H 14871#include <dlfcn.h> 14872#endif 14873 14874#include <stdio.h> 14875 14876#ifdef RTLD_GLOBAL 14877# define LT_DLGLOBAL RTLD_GLOBAL 14878#else 14879# ifdef DL_GLOBAL 14880# define LT_DLGLOBAL DL_GLOBAL 14881# else 14882# define LT_DLGLOBAL 0 14883# endif 14884#endif 14885 14886/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 14887 find out it does not work in some platform. */ 14888#ifndef LT_DLLAZY_OR_NOW 14889# ifdef RTLD_LAZY 14890# define LT_DLLAZY_OR_NOW RTLD_LAZY 14891# else 14892# ifdef DL_LAZY 14893# define LT_DLLAZY_OR_NOW DL_LAZY 14894# else 14895# ifdef RTLD_NOW 14896# define LT_DLLAZY_OR_NOW RTLD_NOW 14897# else 14898# ifdef DL_NOW 14899# define LT_DLLAZY_OR_NOW DL_NOW 14900# else 14901# define LT_DLLAZY_OR_NOW 0 14902# endif 14903# endif 14904# endif 14905# endif 14906#endif 14907 14908/* When -fvisibility=hidden is used, assume the code has been annotated 14909 correspondingly for the symbols needed. */ 14910#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 14911int fnord () __attribute__((visibility("default"))); 14912#endif 14913 14914int fnord () { return 42; } 14915int main () 14916{ 14917 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 14918 int status = $lt_dlunknown; 14919 14920 if (self) 14921 { 14922 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 14923 else 14924 { 14925 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 14926 else puts (dlerror ()); 14927 } 14928 /* dlclose (self); */ 14929 } 14930 else 14931 puts (dlerror ()); 14932 14933 return status; 14934} 14935_LT_EOF 14936 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 14937 (eval $ac_link) 2>&5 14938 ac_status=$? 14939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14940 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 14941 (./conftest; exit; ) >&5 2>/dev/null 14942 lt_status=$? 14943 case x$lt_status in 14944 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 14945 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 14946 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 14947 esac 14948 else : 14949 # compilation failed 14950 lt_cv_dlopen_self=no 14951 fi 14952fi 14953rm -fr conftest* 14954 14955 14956fi 14957{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 14958$as_echo "$lt_cv_dlopen_self" >&6; } 14959 14960 if test yes = "$lt_cv_dlopen_self"; then 14961 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 14962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 14963$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 14964if ${lt_cv_dlopen_self_static+:} false; then : 14965 $as_echo_n "(cached) " >&6 14966else 14967 if test yes = "$cross_compiling"; then : 14968 lt_cv_dlopen_self_static=cross 14969else 14970 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 14971 lt_status=$lt_dlunknown 14972 cat > conftest.$ac_ext <<_LT_EOF 14973#line $LINENO "configure" 14974#include "confdefs.h" 14975 14976#if HAVE_DLFCN_H 14977#include <dlfcn.h> 14978#endif 14979 14980#include <stdio.h> 14981 14982#ifdef RTLD_GLOBAL 14983# define LT_DLGLOBAL RTLD_GLOBAL 14984#else 14985# ifdef DL_GLOBAL 14986# define LT_DLGLOBAL DL_GLOBAL 14987# else 14988# define LT_DLGLOBAL 0 14989# endif 14990#endif 14991 14992/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 14993 find out it does not work in some platform. */ 14994#ifndef LT_DLLAZY_OR_NOW 14995# ifdef RTLD_LAZY 14996# define LT_DLLAZY_OR_NOW RTLD_LAZY 14997# else 14998# ifdef DL_LAZY 14999# define LT_DLLAZY_OR_NOW DL_LAZY 15000# else 15001# ifdef RTLD_NOW 15002# define LT_DLLAZY_OR_NOW RTLD_NOW 15003# else 15004# ifdef DL_NOW 15005# define LT_DLLAZY_OR_NOW DL_NOW 15006# else 15007# define LT_DLLAZY_OR_NOW 0 15008# endif 15009# endif 15010# endif 15011# endif 15012#endif 15013 15014/* When -fvisibility=hidden is used, assume the code has been annotated 15015 correspondingly for the symbols needed. */ 15016#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 15017int fnord () __attribute__((visibility("default"))); 15018#endif 15019 15020int fnord () { return 42; } 15021int main () 15022{ 15023 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 15024 int status = $lt_dlunknown; 15025 15026 if (self) 15027 { 15028 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 15029 else 15030 { 15031 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 15032 else puts (dlerror ()); 15033 } 15034 /* dlclose (self); */ 15035 } 15036 else 15037 puts (dlerror ()); 15038 15039 return status; 15040} 15041_LT_EOF 15042 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 15043 (eval $ac_link) 2>&5 15044 ac_status=$? 15045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15046 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 15047 (./conftest; exit; ) >&5 2>/dev/null 15048 lt_status=$? 15049 case x$lt_status in 15050 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 15051 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 15052 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 15053 esac 15054 else : 15055 # compilation failed 15056 lt_cv_dlopen_self_static=no 15057 fi 15058fi 15059rm -fr conftest* 15060 15061 15062fi 15063{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 15064$as_echo "$lt_cv_dlopen_self_static" >&6; } 15065 fi 15066 15067 CPPFLAGS=$save_CPPFLAGS 15068 LDFLAGS=$save_LDFLAGS 15069 LIBS=$save_LIBS 15070 ;; 15071 esac 15072 15073 case $lt_cv_dlopen_self in 15074 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 15075 *) enable_dlopen_self=unknown ;; 15076 esac 15077 15078 case $lt_cv_dlopen_self_static in 15079 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 15080 *) enable_dlopen_self_static=unknown ;; 15081 esac 15082fi 15083 15084 15085 15086 15087 15088 15089 15090 15091 15092 15093 15094 15095 15096 15097 15098 15099 15100striplib= 15101old_striplib= 15102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 15103$as_echo_n "checking whether stripping libraries is possible... " >&6; } 15104if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 15105 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 15106 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 15107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15108$as_echo "yes" >&6; } 15109else 15110# FIXME - insert some real tests, host_os isn't really good enough 15111 case $host_os in 15112 darwin*) 15113 if test -n "$STRIP"; then 15114 striplib="$STRIP -x" 15115 old_striplib="$STRIP -S" 15116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15117$as_echo "yes" >&6; } 15118 else 15119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15120$as_echo "no" >&6; } 15121 fi 15122 ;; 15123 *) 15124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15125$as_echo "no" >&6; } 15126 ;; 15127 esac 15128fi 15129 15130 15131 15132 15133 15134 15135 15136 15137 15138 15139 15140 15141 # Report what library types will actually be built 15142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 15143$as_echo_n "checking if libtool supports shared libraries... " >&6; } 15144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 15145$as_echo "$can_build_shared" >&6; } 15146 15147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 15148$as_echo_n "checking whether to build shared libraries... " >&6; } 15149 test no = "$can_build_shared" && enable_shared=no 15150 15151 # On AIX, shared libraries and static libraries use the same namespace, and 15152 # are all built from PIC. 15153 case $host_os in 15154 aix3*) 15155 test yes = "$enable_shared" && enable_static=no 15156 if test -n "$RANLIB"; then 15157 archive_cmds="$archive_cmds~\$RANLIB \$lib" 15158 postinstall_cmds='$RANLIB $lib' 15159 fi 15160 ;; 15161 15162 aix[4-9]*) 15163 if test ia64 != "$host_cpu"; then 15164 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 15165 yes,aix,yes) ;; # shared object as lib.so file only 15166 yes,svr4,*) ;; # shared object as lib.so archive member only 15167 yes,*) enable_static=no ;; # shared object in lib.a archive as well 15168 esac 15169 fi 15170 ;; 15171 esac 15172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 15173$as_echo "$enable_shared" >&6; } 15174 15175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 15176$as_echo_n "checking whether to build static libraries... " >&6; } 15177 # Make sure either enable_shared or enable_static is yes. 15178 test yes = "$enable_shared" || enable_static=yes 15179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 15180$as_echo "$enable_static" >&6; } 15181 15182 15183 15184 15185fi 15186ac_ext=c 15187ac_cpp='$CPP $CPPFLAGS' 15188ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 15189ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 15190ac_compiler_gnu=$ac_cv_c_compiler_gnu 15191 15192CC=$lt_save_CC 15193 15194 15195 15196 15197 15198 15199 15200 15201 15202 15203 15204 15205 15206 15207 15208 ac_config_commands="$ac_config_commands libtool" 15209 15210 15211 15212 15213# Only expand once: 15214 15215 15216 15217 15218 15219 15220 15221 15222 15223 15224 15225 15226if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 15227 if test -n "$ac_tool_prefix"; then 15228 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 15229set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 15230{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15231$as_echo_n "checking for $ac_word... " >&6; } 15232if ${ac_cv_path_PKG_CONFIG+:} false; then : 15233 $as_echo_n "(cached) " >&6 15234else 15235 case $PKG_CONFIG in 15236 [\\/]* | ?:[\\/]*) 15237 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 15238 ;; 15239 *) 15240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15241for as_dir in $PATH 15242do 15243 IFS=$as_save_IFS 15244 test -z "$as_dir" && as_dir=. 15245 for ac_exec_ext in '' $ac_executable_extensions; do 15246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15247 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 15248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15249 break 2 15250 fi 15251done 15252 done 15253IFS=$as_save_IFS 15254 15255 ;; 15256esac 15257fi 15258PKG_CONFIG=$ac_cv_path_PKG_CONFIG 15259if test -n "$PKG_CONFIG"; then 15260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 15261$as_echo "$PKG_CONFIG" >&6; } 15262else 15263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15264$as_echo "no" >&6; } 15265fi 15266 15267 15268fi 15269if test -z "$ac_cv_path_PKG_CONFIG"; then 15270 ac_pt_PKG_CONFIG=$PKG_CONFIG 15271 # Extract the first word of "pkg-config", so it can be a program name with args. 15272set dummy pkg-config; ac_word=$2 15273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15274$as_echo_n "checking for $ac_word... " >&6; } 15275if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 15276 $as_echo_n "(cached) " >&6 15277else 15278 case $ac_pt_PKG_CONFIG in 15279 [\\/]* | ?:[\\/]*) 15280 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 15281 ;; 15282 *) 15283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15284for as_dir in $PATH 15285do 15286 IFS=$as_save_IFS 15287 test -z "$as_dir" && as_dir=. 15288 for ac_exec_ext in '' $ac_executable_extensions; do 15289 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15290 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 15291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15292 break 2 15293 fi 15294done 15295 done 15296IFS=$as_save_IFS 15297 15298 ;; 15299esac 15300fi 15301ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 15302if test -n "$ac_pt_PKG_CONFIG"; then 15303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 15304$as_echo "$ac_pt_PKG_CONFIG" >&6; } 15305else 15306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15307$as_echo "no" >&6; } 15308fi 15309 15310 if test "x$ac_pt_PKG_CONFIG" = x; then 15311 PKG_CONFIG="" 15312 else 15313 case $cross_compiling:$ac_tool_warned in 15314yes:) 15315{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 15316$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 15317ac_tool_warned=yes ;; 15318esac 15319 PKG_CONFIG=$ac_pt_PKG_CONFIG 15320 fi 15321else 15322 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 15323fi 15324 15325fi 15326if test -n "$PKG_CONFIG"; then 15327 _pkg_min_version=0.9.0 15328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 15329$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 15330 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 15331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15332$as_echo "yes" >&6; } 15333 else 15334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15335$as_echo "no" >&6; } 15336 PKG_CONFIG="" 15337 fi 15338fi 15339 15340{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 15341$as_echo_n "checking whether ln -s works... " >&6; } 15342LN_S=$as_ln_s 15343if test "$LN_S" = "ln -s"; then 15344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15345$as_echo "yes" >&6; } 15346else 15347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 15348$as_echo "no, using $LN_S" >&6; } 15349fi 15350 15351 15352# Extract the first word of "nroff", so it can be a program name with args. 15353set dummy nroff; ac_word=$2 15354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15355$as_echo_n "checking for $ac_word... " >&6; } 15356if ${ac_cv_prog_HAVE_nroff+:} false; then : 15357 $as_echo_n "(cached) " >&6 15358else 15359 if test -n "$HAVE_nroff"; then 15360 ac_cv_prog_HAVE_nroff="$HAVE_nroff" # Let the user override the test. 15361else 15362as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15363for as_dir in $PATH 15364do 15365 IFS=$as_save_IFS 15366 test -z "$as_dir" && as_dir=. 15367 for ac_exec_ext in '' $ac_executable_extensions; do 15368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15369 ac_cv_prog_HAVE_nroff="true" 15370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15371 break 2 15372 fi 15373done 15374 done 15375IFS=$as_save_IFS 15376 15377 test -z "$ac_cv_prog_HAVE_nroff" && ac_cv_prog_HAVE_nroff="false" 15378fi 15379fi 15380HAVE_nroff=$ac_cv_prog_HAVE_nroff 15381if test -n "$HAVE_nroff"; then 15382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_nroff" >&5 15383$as_echo "$HAVE_nroff" >&6; } 15384else 15385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15386$as_echo "no" >&6; } 15387fi 15388 15389 15390MANDOC=-man 15391MAN_FLAGS= 15392if $HAVE_nroff; then 15393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for manual formatting macros" >&5 15394$as_echo_n "checking for manual formatting macros... " >&6; } 15395 if ${mc_cv_mandoc+:} false; then : 15396 $as_echo_n "(cached) " >&6 15397else 15398 15399 nroff -mandoc < /dev/null > /dev/null 2>&1 15400 if test $? = 0; then 15401 mc_cv_mandoc=-mandoc 15402 else 15403 mc_cv_mandoc=-man 15404 fi 15405 15406fi 15407 15408 MANDOC=$mc_cv_mandoc 15409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANDOC" >&5 15410$as_echo "$MANDOC" >&6; } 15411 15412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for option to disable ANSI color in manuals" >&5 15413$as_echo_n "checking for option to disable ANSI color in manuals... " >&6; } 15414 if ${mc_cv_man_nocolor+:} false; then : 15415 $as_echo_n "(cached) " >&6 15416else 15417 15418 nroff -c < /dev/null > /dev/null 2>&1 15419 if test $? = 0; then 15420 mc_cv_man_nocolor=-c 15421 else 15422 mc_cv_man_nocolor= 15423 fi 15424 15425fi 15426 15427 MAN_FLAGS=$mc_cv_man_nocolor 15428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${MAN_NOCOLOR-none}" >&5 15429$as_echo "${MAN_NOCOLOR-none}" >&6; } 15430 15431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nroff accepts -Tlatin1 or -Tascii" >&5 15432$as_echo_n "checking if nroff accepts -Tlatin1 or -Tascii... " >&6; } 15433 if ${mc_cv_nroff_tascii+:} false; then : 15434 $as_echo_n "(cached) " >&6 15435else 15436 15437 mc_cv_nroff_tascii= 15438 nroff -Tlatin1 < /dev/null > /dev/null 2>&1 /dev/null 15439 if test $? = 0; then 15440 mc_cv_nroff_tascii=-Tlatin1 15441 else 15442 nroff -Tascii < /dev/null > /dev/null 2>&1 /dev/null 15443 if test $? = 0; then 15444 mc_cv_nroff_tascii=-Tascii 15445 fi 15446 fi 15447 15448fi 15449 15450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${mc_cv_nroff_tascii-no}" >&5 15451$as_echo "${mc_cv_nroff_tascii-no}" >&6; } 15452 MAN_FLAGS="$MAN_FLAGS $mc_cv_nroff_tascii" 15453fi 15454 15455 15456 15457 15458# Extract the first word of "file", so it can be a program name with args. 15459set dummy file; ac_word=$2 15460{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15461$as_echo_n "checking for $ac_word... " >&6; } 15462if ${ac_cv_prog_HAVE_FILECMD+:} false; then : 15463 $as_echo_n "(cached) " >&6 15464else 15465 if test -n "$HAVE_FILECMD"; then 15466 ac_cv_prog_HAVE_FILECMD="$HAVE_FILECMD" # Let the user override the test. 15467else 15468as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15469for as_dir in $PATH 15470do 15471 IFS=$as_save_IFS 15472 test -z "$as_dir" && as_dir=. 15473 for ac_exec_ext in '' $ac_executable_extensions; do 15474 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15475 ac_cv_prog_HAVE_FILECMD="true" 15476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15477 break 2 15478 fi 15479done 15480 done 15481IFS=$as_save_IFS 15482 15483 test -z "$ac_cv_prog_HAVE_FILECMD" && ac_cv_prog_HAVE_FILECMD="false" 15484fi 15485fi 15486HAVE_FILECMD=$ac_cv_prog_HAVE_FILECMD 15487if test -n "$HAVE_FILECMD"; then 15488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_FILECMD" >&5 15489$as_echo "$HAVE_FILECMD" >&6; } 15490else 15491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15492$as_echo "no" >&6; } 15493fi 15494 15495 15496if $HAVE_FILECMD; then 15497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -z option to file command" >&5 15498$as_echo_n "checking for -z option to file command... " >&6; } 15499 if ${mc_cv_file_z+:} false; then : 15500 $as_echo_n "(cached) " >&6 15501else 15502 15503 file -z . > /dev/null 2>&1 15504 if test $? = 0; then 15505 mc_cv_file_z=yes 15506 else 15507 mc_cv_file_z=no 15508 fi 15509 15510fi 15511 15512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_cv_file_z" >&5 15513$as_echo "$mc_cv_file_z" >&6; } 15514 15515 if test x$mc_cv_file_z = xyes; then 15516 15517$as_echo "#define USE_FILE_CMD 1" >>confdefs.h 15518 15519 else 15520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The file command doesn't accept the -z option and will not be used" >&5 15521$as_echo "$as_me: WARNING: The file command doesn't accept the -z option and will not be used" >&2;} 15522 fi 15523 15524 if test x$mc_cv_file_z = xyes; then 15525 15526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -L option to file command" >&5 15527$as_echo_n "checking for -L option to file command... " >&6; } 15528 if ${mc_cv_file_L+:} false; then : 15529 $as_echo_n "(cached) " >&6 15530else 15531 15532 file -L . > /dev/null 2>&1 15533 if test $? = 0; then 15534 mc_cv_file_L=yes 15535 else 15536 mc_cv_file_L=no 15537 fi 15538 15539fi 15540 15541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_cv_file_L" >&5 15542$as_echo "$mc_cv_file_L" >&6; } 15543 15544 if test x$mc_cv_file_L = xyes; then 15545 15546$as_echo "#define FILE_L \"-L \"" >>confdefs.h 15547 15548 else 15549 15550$as_echo "#define FILE_L \"\"" >>confdefs.h 15551 15552 fi 15553 15554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -S option to file command" >&5 15555$as_echo_n "checking for -S option to file command... " >&6; } 15556 if ${mc_cv_file_S+:} false; then : 15557 $as_echo_n "(cached) " >&6 15558else 15559 15560 file -S . > /dev/null 2>&1 15561 if test $? = 0; then 15562 mc_cv_file_S=yes 15563 else 15564 mc_cv_file_S=no 15565 fi 15566 15567fi 15568 15569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_cv_file_S" >&5 15570$as_echo "$mc_cv_file_S" >&6; } 15571 15572 if test x$mc_cv_file_S = xyes; then 15573 15574$as_echo "#define FILE_S \"-S \"" >>confdefs.h 15575 15576 else 15577 15578$as_echo "#define FILE_S \"\"" >>confdefs.h 15579 15580 fi 15581 fi 15582fi 15583 15584for ac_prog in gnome-moz-remote mozilla firefox konqueror opera 15585do 15586 # Extract the first word of "$ac_prog", so it can be a program name with args. 15587set dummy $ac_prog; ac_word=$2 15588{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15589$as_echo_n "checking for $ac_word... " >&6; } 15590if ${ac_cv_prog_X11_WWW+:} false; then : 15591 $as_echo_n "(cached) " >&6 15592else 15593 if test -n "$X11_WWW"; then 15594 ac_cv_prog_X11_WWW="$X11_WWW" # Let the user override the test. 15595else 15596as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15597for as_dir in $PATH 15598do 15599 IFS=$as_save_IFS 15600 test -z "$as_dir" && as_dir=. 15601 for ac_exec_ext in '' $ac_executable_extensions; do 15602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15603 ac_cv_prog_X11_WWW="$ac_prog" 15604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15605 break 2 15606 fi 15607done 15608 done 15609IFS=$as_save_IFS 15610 15611fi 15612fi 15613X11_WWW=$ac_cv_prog_X11_WWW 15614if test -n "$X11_WWW"; then 15615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $X11_WWW" >&5 15616$as_echo "$X11_WWW" >&6; } 15617else 15618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15619$as_echo "no" >&6; } 15620fi 15621 15622 15623 test -n "$X11_WWW" && break 15624done 15625 15626 15627 15628 15629if test -n "$ac_tool_prefix"; then 15630 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 15631set dummy ${ac_tool_prefix}ar; ac_word=$2 15632{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15633$as_echo_n "checking for $ac_word... " >&6; } 15634if ${ac_cv_prog_AR+:} false; then : 15635 $as_echo_n "(cached) " >&6 15636else 15637 if test -n "$AR"; then 15638 ac_cv_prog_AR="$AR" # Let the user override the test. 15639else 15640as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15641for as_dir in $PATH 15642do 15643 IFS=$as_save_IFS 15644 test -z "$as_dir" && as_dir=. 15645 for ac_exec_ext in '' $ac_executable_extensions; do 15646 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15647 ac_cv_prog_AR="${ac_tool_prefix}ar" 15648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15649 break 2 15650 fi 15651done 15652 done 15653IFS=$as_save_IFS 15654 15655fi 15656fi 15657AR=$ac_cv_prog_AR 15658if test -n "$AR"; then 15659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 15660$as_echo "$AR" >&6; } 15661else 15662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15663$as_echo "no" >&6; } 15664fi 15665 15666 15667fi 15668if test -z "$ac_cv_prog_AR"; then 15669 ac_ct_AR=$AR 15670 # Extract the first word of "ar", so it can be a program name with args. 15671set dummy ar; ac_word=$2 15672{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15673$as_echo_n "checking for $ac_word... " >&6; } 15674if ${ac_cv_prog_ac_ct_AR+:} false; then : 15675 $as_echo_n "(cached) " >&6 15676else 15677 if test -n "$ac_ct_AR"; then 15678 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 15679else 15680as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15681for as_dir in $PATH 15682do 15683 IFS=$as_save_IFS 15684 test -z "$as_dir" && as_dir=. 15685 for ac_exec_ext in '' $ac_executable_extensions; do 15686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15687 ac_cv_prog_ac_ct_AR="ar" 15688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15689 break 2 15690 fi 15691done 15692 done 15693IFS=$as_save_IFS 15694 15695fi 15696fi 15697ac_ct_AR=$ac_cv_prog_ac_ct_AR 15698if test -n "$ac_ct_AR"; then 15699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 15700$as_echo "$ac_ct_AR" >&6; } 15701else 15702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15703$as_echo "no" >&6; } 15704fi 15705 15706 if test "x$ac_ct_AR" = x; then 15707 AR="ar" 15708 else 15709 case $cross_compiling:$ac_tool_warned in 15710yes:) 15711{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 15712$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 15713ac_tool_warned=yes ;; 15714esac 15715 AR=$ac_ct_AR 15716 fi 15717else 15718 AR="$ac_cv_prog_AR" 15719fi 15720 15721 15722 15723 # Check whether --enable-tests was given. 15724if test "${enable_tests+set}" = set; then : 15725 enableval=$enable_tests; 15726fi 15727 15728 15729 15730 if test x"$enable_tests" = "xno"; then 15731 tests_msg="no" 15732 else 15733 15734pkg_failed=no 15735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5 15736$as_echo_n "checking for CHECK... " >&6; } 15737 15738if test -n "$CHECK_CFLAGS"; then 15739 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS" 15740 elif test -n "$PKG_CONFIG"; then 15741 if test -n "$PKG_CONFIG" && \ 15742 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.8\""; } >&5 15743 ($PKG_CONFIG --exists --print-errors "check >= 0.9.8") 2>&5 15744 ac_status=$? 15745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15746 test $ac_status = 0; }; then 15747 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.8" 2>/dev/null` 15748 test "x$?" != "x0" && pkg_failed=yes 15749else 15750 pkg_failed=yes 15751fi 15752 else 15753 pkg_failed=untried 15754fi 15755if test -n "$CHECK_LIBS"; then 15756 pkg_cv_CHECK_LIBS="$CHECK_LIBS" 15757 elif test -n "$PKG_CONFIG"; then 15758 if test -n "$PKG_CONFIG" && \ 15759 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.8\""; } >&5 15760 ($PKG_CONFIG --exists --print-errors "check >= 0.9.8") 2>&5 15761 ac_status=$? 15762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15763 test $ac_status = 0; }; then 15764 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.8" 2>/dev/null` 15765 test "x$?" != "x0" && pkg_failed=yes 15766else 15767 pkg_failed=yes 15768fi 15769 else 15770 pkg_failed=untried 15771fi 15772 15773 15774 15775if test $pkg_failed = yes; then 15776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15777$as_echo "no" >&6; } 15778 15779if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15780 _pkg_short_errors_supported=yes 15781else 15782 _pkg_short_errors_supported=no 15783fi 15784 if test $_pkg_short_errors_supported = yes; then 15785 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.8" 2>&1` 15786 else 15787 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.8" 2>&1` 15788 fi 15789 # Put the nasty error message in config.log where it belongs 15790 echo "$CHECK_PKG_ERRORS" >&5 15791 15792 15793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'Check' testing framework not found. Check your environment" >&5 15794$as_echo "$as_me: WARNING: 'Check' testing framework not found. Check your environment" >&2;} 15795 tests_msg="no ('Check' testing framework not found)" 15796 15797 if test x"$enable_tests" = "xyes"; then 15798 as_fn_error $? "You explicitly specified '--enable-tests', but this requirement cannot be met." "$LINENO" 5 15799 fi 15800 15801elif test $pkg_failed = untried; then 15802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15803$as_echo "no" >&6; } 15804 15805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'Check' testing framework not found. Check your environment" >&5 15806$as_echo "$as_me: WARNING: 'Check' testing framework not found. Check your environment" >&2;} 15807 tests_msg="no ('Check' testing framework not found)" 15808 15809 if test x"$enable_tests" = "xyes"; then 15810 as_fn_error $? "You explicitly specified '--enable-tests', but this requirement cannot be met." "$LINENO" 5 15811 fi 15812 15813else 15814 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS 15815 CHECK_LIBS=$pkg_cv_CHECK_LIBS 15816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15817$as_echo "yes" >&6; } 15818 15819 have_check=yes 15820 tests_msg="yes" 15821 15822fi 15823 15824 15825 fi 15826 if test x"$have_check" = "xyes"; then 15827 HAVE_TESTS_TRUE= 15828 HAVE_TESTS_FALSE='#' 15829else 15830 HAVE_TESTS_TRUE='#' 15831 HAVE_TESTS_FALSE= 15832fi 15833 15834 15835 ac_fn_c_check_type "$LINENO" "sighandler_t" "ac_cv_type_sighandler_t" " 15836 #include <signal.h> 15837 15838" 15839if test "x$ac_cv_type_sighandler_t" = xyes; then : 15840 15841cat >>confdefs.h <<_ACEOF 15842#define HAVE_SIGHANDLER_T 1 15843_ACEOF 15844 15845 15846fi 15847 15848 15849 # on cygwin, the linker does not accept the "-z" option 15850 case $host_os in 15851 cygwin*) 15852 TESTS_LDFLAGS="-Wl,--allow-multiple-definition" 15853 ;; 15854 *) 15855 TESTS_LDFLAGS="-Wl,-z,muldefs" 15856 ;; 15857 esac 15858 15859 15860 15861 15862 15863 15864 15865 15866 15867# Check whether --with-glib_static was given. 15868if test "${with_glib_static+set}" = set; then : 15869 withval=$with_glib_static; 15870fi 15871 15872 15873 glib_found=no 15874 15875pkg_failed=no 15876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5 15877$as_echo_n "checking for GLIB... " >&6; } 15878 15879if test -n "$GLIB_CFLAGS"; then 15880 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" 15881 elif test -n "$PKG_CONFIG"; then 15882 if test -n "$PKG_CONFIG" && \ 15883 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30\""; } >&5 15884 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30") 2>&5 15885 ac_status=$? 15886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15887 test $ac_status = 0; }; then 15888 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.30" 2>/dev/null` 15889 test "x$?" != "x0" && pkg_failed=yes 15890else 15891 pkg_failed=yes 15892fi 15893 else 15894 pkg_failed=untried 15895fi 15896if test -n "$GLIB_LIBS"; then 15897 pkg_cv_GLIB_LIBS="$GLIB_LIBS" 15898 elif test -n "$PKG_CONFIG"; then 15899 if test -n "$PKG_CONFIG" && \ 15900 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30\""; } >&5 15901 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30") 2>&5 15902 ac_status=$? 15903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15904 test $ac_status = 0; }; then 15905 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.30" 2>/dev/null` 15906 test "x$?" != "x0" && pkg_failed=yes 15907else 15908 pkg_failed=yes 15909fi 15910 else 15911 pkg_failed=untried 15912fi 15913 15914 15915 15916if test $pkg_failed = yes; then 15917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15918$as_echo "no" >&6; } 15919 15920if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15921 _pkg_short_errors_supported=yes 15922else 15923 _pkg_short_errors_supported=no 15924fi 15925 if test $_pkg_short_errors_supported = yes; then 15926 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.30" 2>&1` 15927 else 15928 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.30" 2>&1` 15929 fi 15930 # Put the nasty error message in config.log where it belongs 15931 echo "$GLIB_PKG_ERRORS" >&5 15932 15933 : 15934elif test $pkg_failed = untried; then 15935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15936$as_echo "no" >&6; } 15937 : 15938else 15939 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS 15940 GLIB_LIBS=$pkg_cv_GLIB_LIBS 15941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15942$as_echo "yes" >&6; } 15943 glib_found=yes 15944fi 15945 if test x"$glib_found" = xno; then 15946 as_fn_error $? "glib-2.0 not found or version too old (must be >= 2.30)" "$LINENO" 5 15947 fi 15948 15949 15950 15951 15952 g_module_supported="" 15953 15954 found_gmodule=no 15955 15956pkg_failed=no 15957{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5 15958$as_echo_n "checking for GMODULE... " >&6; } 15959 15960if test -n "$GMODULE_CFLAGS"; then 15961 pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS" 15962 elif test -n "$PKG_CONFIG"; then 15963 if test -n "$PKG_CONFIG" && \ 15964 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-no-export-2.0 >= 2.30\""; } >&5 15965 ($PKG_CONFIG --exists --print-errors "gmodule-no-export-2.0 >= 2.30") 2>&5 15966 ac_status=$? 15967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15968 test $ac_status = 0; }; then 15969 pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-no-export-2.0 >= 2.30" 2>/dev/null` 15970 test "x$?" != "x0" && pkg_failed=yes 15971else 15972 pkg_failed=yes 15973fi 15974 else 15975 pkg_failed=untried 15976fi 15977if test -n "$GMODULE_LIBS"; then 15978 pkg_cv_GMODULE_LIBS="$GMODULE_LIBS" 15979 elif test -n "$PKG_CONFIG"; then 15980 if test -n "$PKG_CONFIG" && \ 15981 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-no-export-2.0 >= 2.30\""; } >&5 15982 ($PKG_CONFIG --exists --print-errors "gmodule-no-export-2.0 >= 2.30") 2>&5 15983 ac_status=$? 15984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15985 test $ac_status = 0; }; then 15986 pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-no-export-2.0 >= 2.30" 2>/dev/null` 15987 test "x$?" != "x0" && pkg_failed=yes 15988else 15989 pkg_failed=yes 15990fi 15991 else 15992 pkg_failed=untried 15993fi 15994 15995 15996 15997if test $pkg_failed = yes; then 15998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15999$as_echo "no" >&6; } 16000 16001if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16002 _pkg_short_errors_supported=yes 16003else 16004 _pkg_short_errors_supported=no 16005fi 16006 if test $_pkg_short_errors_supported = yes; then 16007 GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmodule-no-export-2.0 >= 2.30" 2>&1` 16008 else 16009 GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmodule-no-export-2.0 >= 2.30" 2>&1` 16010 fi 16011 # Put the nasty error message in config.log where it belongs 16012 echo "$GMODULE_PKG_ERRORS" >&5 16013 16014 : 16015elif test $pkg_failed = untried; then 16016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16017$as_echo "no" >&6; } 16018 : 16019else 16020 GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS 16021 GMODULE_LIBS=$pkg_cv_GMODULE_LIBS 16022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16023$as_echo "yes" >&6; } 16024 found_gmodule=yes 16025fi 16026 if test x"$found_gmodule" = xyes; then 16027 g_module_supported="gmodule-no-export-2.0" 16028 else 16029 16030pkg_failed=no 16031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5 16032$as_echo_n "checking for GMODULE... " >&6; } 16033 16034if test -n "$GMODULE_CFLAGS"; then 16035 pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS" 16036 elif test -n "$PKG_CONFIG"; then 16037 if test -n "$PKG_CONFIG" && \ 16038 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0 >= 2.30\""; } >&5 16039 ($PKG_CONFIG --exists --print-errors "gmodule-2.0 >= 2.30") 2>&5 16040 ac_status=$? 16041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16042 test $ac_status = 0; }; then 16043 pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0 >= 2.30" 2>/dev/null` 16044 test "x$?" != "x0" && pkg_failed=yes 16045else 16046 pkg_failed=yes 16047fi 16048 else 16049 pkg_failed=untried 16050fi 16051if test -n "$GMODULE_LIBS"; then 16052 pkg_cv_GMODULE_LIBS="$GMODULE_LIBS" 16053 elif test -n "$PKG_CONFIG"; then 16054 if test -n "$PKG_CONFIG" && \ 16055 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0 >= 2.30\""; } >&5 16056 ($PKG_CONFIG --exists --print-errors "gmodule-2.0 >= 2.30") 2>&5 16057 ac_status=$? 16058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16059 test $ac_status = 0; }; then 16060 pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0 >= 2.30" 2>/dev/null` 16061 test "x$?" != "x0" && pkg_failed=yes 16062else 16063 pkg_failed=yes 16064fi 16065 else 16066 pkg_failed=untried 16067fi 16068 16069 16070 16071if test $pkg_failed = yes; then 16072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16073$as_echo "no" >&6; } 16074 16075if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16076 _pkg_short_errors_supported=yes 16077else 16078 _pkg_short_errors_supported=no 16079fi 16080 if test $_pkg_short_errors_supported = yes; then 16081 GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmodule-2.0 >= 2.30" 2>&1` 16082 else 16083 GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmodule-2.0 >= 2.30" 2>&1` 16084 fi 16085 # Put the nasty error message in config.log where it belongs 16086 echo "$GMODULE_PKG_ERRORS" >&5 16087 16088 : 16089elif test $pkg_failed = untried; then 16090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16091$as_echo "no" >&6; } 16092 : 16093else 16094 GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS 16095 GMODULE_LIBS=$pkg_cv_GMODULE_LIBS 16096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16097$as_echo "yes" >&6; } 16098 found_gmodule=yes 16099fi 16100 if test x"$found_gmodule" = xyes; then 16101 g_module_supported="gmodule-2.0" 16102 fi 16103 fi 16104 16105 case x"$g_module_supported" in 16106 xgmodule-no-export-2.0|xgmodule-2.0) 16107 if test x`$PKG_CONFIG --variable=gmodule_supported "$g_module_supported"` = xtrue; then 16108 16109$as_echo "#define HAVE_GMODULE 1" >>confdefs.h 16110 16111 else 16112 g_module_supported="" 16113 fi 16114 ;; 16115 *) 16116 g_module_supported="" 16117 ;; 16118 esac 16119 16120 if test x$with_glib_static = xyes; then 16121 new_GLIB_LIBS= 16122 for i in $GLIB_LIBS; do 16123 case x$i in 16124 x-lglib*) 16125 lib=glib ;; 16126 x-lgmodule*) 16127 lib=gmodule ;; 16128 *) 16129 lib= 16130 add="$i" ;; 16131 esac 16132 16133 if test -n "$lib"; then 16134 lib1=`echo $i | sed 's/^-l//'` 16135 if test -f "$GLIB_LIBDIR/lib${lib1}.a"; then 16136 add="$GLIB_LIBDIR/lib${lib1}.a" 16137 else 16138 if test -f "$GLIB_LIBDIR/lib${lib}.a"; then 16139 add="$GLIB_LIBDIR/lib${lib}.a" 16140 else 16141 as_fn_error $? "Cannot find static $lib" "$LINENO" 5 16142 fi 16143 fi 16144 fi 16145 new_GLIB_LIBS="$new_GLIB_LIBS $add" 16146 done 16147 GLIB_LIBS="$new_GLIB_LIBS" 16148 fi 16149 16150 16151 16152 16153 16154# Check whether --with-screen was given. 16155if test "${with_screen+set}" = set; then : 16156 withval=$with_screen; 16157fi 16158 16159 16160 case x$with_screen in 16161 x | xslang) 16162 16163 with_screen=slang 16164 found_slang=no 16165 16166pkg_failed=no 16167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SLANG" >&5 16168$as_echo_n "checking for SLANG... " >&6; } 16169 16170if test -n "$SLANG_CFLAGS"; then 16171 pkg_cv_SLANG_CFLAGS="$SLANG_CFLAGS" 16172 elif test -n "$PKG_CONFIG"; then 16173 if test -n "$PKG_CONFIG" && \ 16174 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"slang >= 2.0\""; } >&5 16175 ($PKG_CONFIG --exists --print-errors "slang >= 2.0") 2>&5 16176 ac_status=$? 16177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16178 test $ac_status = 0; }; then 16179 pkg_cv_SLANG_CFLAGS=`$PKG_CONFIG --cflags "slang >= 2.0" 2>/dev/null` 16180 test "x$?" != "x0" && pkg_failed=yes 16181else 16182 pkg_failed=yes 16183fi 16184 else 16185 pkg_failed=untried 16186fi 16187if test -n "$SLANG_LIBS"; then 16188 pkg_cv_SLANG_LIBS="$SLANG_LIBS" 16189 elif test -n "$PKG_CONFIG"; then 16190 if test -n "$PKG_CONFIG" && \ 16191 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"slang >= 2.0\""; } >&5 16192 ($PKG_CONFIG --exists --print-errors "slang >= 2.0") 2>&5 16193 ac_status=$? 16194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16195 test $ac_status = 0; }; then 16196 pkg_cv_SLANG_LIBS=`$PKG_CONFIG --libs "slang >= 2.0" 2>/dev/null` 16197 test "x$?" != "x0" && pkg_failed=yes 16198else 16199 pkg_failed=yes 16200fi 16201 else 16202 pkg_failed=untried 16203fi 16204 16205 16206 16207if test $pkg_failed = yes; then 16208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16209$as_echo "no" >&6; } 16210 16211if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16212 _pkg_short_errors_supported=yes 16213else 16214 _pkg_short_errors_supported=no 16215fi 16216 if test $_pkg_short_errors_supported = yes; then 16217 SLANG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "slang >= 2.0" 2>&1` 16218 else 16219 SLANG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "slang >= 2.0" 2>&1` 16220 fi 16221 # Put the nasty error message in config.log where it belongs 16222 echo "$SLANG_PKG_ERRORS" >&5 16223 16224 : 16225elif test $pkg_failed = untried; then 16226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16227$as_echo "no" >&6; } 16228 : 16229else 16230 SLANG_CFLAGS=$pkg_cv_SLANG_CFLAGS 16231 SLANG_LIBS=$pkg_cv_SLANG_LIBS 16232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16233$as_echo "yes" >&6; } 16234 found_slang=yes 16235fi 16236 if test x"$found_slang" = xno; then 16237 as_fn_error $? "S-Lang >= 2.0.0 library not found" "$LINENO" 5 16238 fi 16239 16240 MCLIBS="$SLANG_LIBS $MCLIBS" 16241 CPPFLAGS="$SLANG_CFLAGS $CPPFLAGS" 16242 16243 if test x"$found_slang" = x"yes"; then 16244 16245 unset ac_cv_lib_termcap_tgoto 16246 16247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if S-Lang uses termcap" >&5 16248$as_echo_n "checking if S-Lang uses termcap... " >&6; } 16249if ${mc_cv_slang_termcap+:} false; then : 16250 $as_echo_n "(cached) " >&6 16251else 16252 16253 ac_save_LIBS="$LIBS" 16254 LIBS="$LIBS -lslang" 16255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16256/* end confdefs.h. */ 16257 16258#include <slang.h> 16259 16260int 16261main () 16262{ 16263SLtt_get_terminfo(); SLtt_tgetflag((char*)""); 16264 ; 16265 return 0; 16266} 16267_ACEOF 16268if ac_fn_c_try_link "$LINENO"; then : 16269 mc_cv_slang_termcap=no 16270else 16271 mc_cv_slang_termcap=yes 16272fi 16273rm -f core conftest.err conftest.$ac_objext \ 16274 conftest$ac_exeext conftest.$ac_ext 16275 16276 LIBS="$ac_save_LIBS" 16277 16278fi 16279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_cv_slang_termcap" >&5 16280$as_echo "$mc_cv_slang_termcap" >&6; } 16281 16282 if test x"$mc_cv_slang_termcap" = xyes; then 16283 16284 screen_msg="$screen_msg with termcap database" 16285 { $as_echo "$as_me:${as_lineno-$LINENO}: using S-Lang screen library with termcap" >&5 16286$as_echo "$as_me: using S-Lang screen library with termcap" >&6;} 16287 16288$as_echo "#define USE_TERMCAP 1" >>confdefs.h 16289 16290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgoto in -ltermcap" >&5 16291$as_echo_n "checking for tgoto in -ltermcap... " >&6; } 16292if ${ac_cv_lib_termcap_tgoto+:} false; then : 16293 $as_echo_n "(cached) " >&6 16294else 16295 ac_check_lib_save_LIBS=$LIBS 16296LIBS="-ltermcap $LIBS $LIBS" 16297cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16298/* end confdefs.h. */ 16299 16300/* Override any GCC internal prototype to avoid an error. 16301 Use char because int might match the return type of a GCC 16302 builtin and then its argument prototype would still apply. */ 16303#ifdef __cplusplus 16304extern "C" 16305#endif 16306char tgoto (); 16307int 16308main () 16309{ 16310return tgoto (); 16311 ; 16312 return 0; 16313} 16314_ACEOF 16315if ac_fn_c_try_link "$LINENO"; then : 16316 ac_cv_lib_termcap_tgoto=yes 16317else 16318 ac_cv_lib_termcap_tgoto=no 16319fi 16320rm -f core conftest.err conftest.$ac_objext \ 16321 conftest$ac_exeext conftest.$ac_ext 16322LIBS=$ac_check_lib_save_LIBS 16323fi 16324{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgoto" >&5 16325$as_echo "$ac_cv_lib_termcap_tgoto" >&6; } 16326if test "x$ac_cv_lib_termcap_tgoto" = xyes; then : 16327 MCLIBS="$MCLIBS -ltermcap" 16328fi 16329 16330 16331 fi 16332 16333 if test x"$mc_cv_slang_termcap" = x"yes"; then 16334 MCLIBS="$MCLIBS -ltermcap" 16335 fi 16336 fi 16337 16338 screen_type=slang 16339 screen_msg="S-Lang" 16340 16341 16342$as_echo "#define HAVE_SLANG 1" >>confdefs.h 16343 16344 16345 ;; 16346 xncurses) 16347 16348 save_LIBS="$LIBS" 16349 ncursesw_found= 16350 16351 16352# Check whether --with-ncurses-includes was given. 16353if test "${with_ncurses_includes+set}" = set; then : 16354 withval=$with_ncurses_includes; ac_ncurses_inc_path="$withval" 16355else 16356 ac_ncurses_inc_path="" 16357 16358fi 16359 16360 16361 16362# Check whether --with-ncurses-libs was given. 16363if test "${with_ncurses_libs+set}" = set; then : 16364 withval=$with_ncurses_libs; ac_ncurses_lib_path="$withval" 16365else 16366 ac_ncurses_lib_path="" 16367 16368fi 16369 16370 16371 if test x"$ac_ncurses_inc_path" != x; then 16372 16373 16374 ac_ncurses_inc_path=$ac_ncurses_inc_path 16375 ac_ncurses_lib_path=$ac_ncurses_lib_path 16376 16377 if test x"$ac_ncurses_inc_path" != x; then 16378 ac_ncurses_inc_path="-I"$ac_ncurses_inc_path 16379 fi 16380 16381 if test x"$ac_ncurses_lib_path" != x; then 16382 ac_ncurses_lib_path="-L"$ac_ncurses_lib_path 16383 fi 16384 16385 saved_CPPFLAGS="$CPPFLAGS" 16386 saved_LDFLAGS="$LDFLAGS" 16387 CPPFLAGS="$CPPFLAGS $ac_ncurses_inc_path" 16388 LDFLAGS="$LDFLAGS $ac_ncurses_lib_path" 16389 16390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ncurses/ncurses.h and ncurses/term.h" >&5 16391$as_echo_n "checking for ncurses/ncurses.h and ncurses/term.h... " >&6; } 16392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16393/* end confdefs.h. */ 16394 16395 #include <ncurses/ncurses.h> 16396 #include <ncurses/term.h> 16397 16398int 16399main () 16400{ 16401return 0; 16402 ; 16403 return 0; 16404} 16405 16406_ACEOF 16407if ac_fn_c_try_cpp "$LINENO"; then : 16408 16409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16410$as_echo "yes" >&6; } 16411 if test x"$ac_ncurses_inc_path" = x; then 16412 ac_ncurses_inc_path="-I/usr/include" 16413 fi 16414 if test x"$ac_ncurses_lib_path" = x; then 16415 ac_ncurses_lib_path="-L/usr/lib" 16416 fi 16417 found_ncurses=yes 16418 16419$as_echo "#define HAVE_NCURSES_NCURSES_H 1" >>confdefs.h 16420 16421 16422$as_echo "#define HAVE_NCURSES_TERM_H 1" >>confdefs.h 16423 16424 16425else 16426 16427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16428$as_echo "no" >&6; } 16429 found_ncurses=no 16430 error_msg_ncurses="ncurses header not found" 16431 16432fi 16433rm -f conftest.err conftest.i conftest.$ac_ext 16434 16435 if test x"$found_ncurses" = x"yes"; then 16436 screen_type=ncurses 16437 screen_msg="NCurses" 16438 16439 16440$as_echo "#define HAVE_NCURSES 1" >>confdefs.h 16441 16442 16443 MCLIBS="$MCLIBS $ac_ncurses_lib_path" 16444 else 16445 CPPFLAGS="$saved_CPPFLAGS" 16446 LDFLAGS="$saved_LDPFLAGS" 16447 as_fn_error $? "$error_msg_ncurses" "$LINENO" 5 16448 fi 16449 16450 16451 LIBS= 16452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing has_colors" >&5 16453$as_echo_n "checking for library containing has_colors... " >&6; } 16454if ${ac_cv_search_has_colors+:} false; then : 16455 $as_echo_n "(cached) " >&6 16456else 16457 ac_func_search_save_LIBS=$LIBS 16458cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16459/* end confdefs.h. */ 16460 16461/* Override any GCC internal prototype to avoid an error. 16462 Use char because int might match the return type of a GCC 16463 builtin and then its argument prototype would still apply. */ 16464#ifdef __cplusplus 16465extern "C" 16466#endif 16467char has_colors (); 16468int 16469main () 16470{ 16471return has_colors (); 16472 ; 16473 return 0; 16474} 16475_ACEOF 16476for ac_lib in '' ncurses; do 16477 if test -z "$ac_lib"; then 16478 ac_res="none required" 16479 else 16480 ac_res=-l$ac_lib 16481 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 16482 fi 16483 if ac_fn_c_try_link "$LINENO"; then : 16484 ac_cv_search_has_colors=$ac_res 16485fi 16486rm -f core conftest.err conftest.$ac_objext \ 16487 conftest$ac_exeext 16488 if ${ac_cv_search_has_colors+:} false; then : 16489 break 16490fi 16491done 16492if ${ac_cv_search_has_colors+:} false; then : 16493 16494else 16495 ac_cv_search_has_colors=no 16496fi 16497rm conftest.$ac_ext 16498LIBS=$ac_func_search_save_LIBS 16499fi 16500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_has_colors" >&5 16501$as_echo "$ac_cv_search_has_colors" >&6; } 16502ac_res=$ac_cv_search_has_colors 16503if test "$ac_res" != no; then : 16504 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 16505 MCLIBS="$MCLIBS $LIBS" 16506else 16507 as_fn_error $? "Cannot find ncurses library" "$LINENO" 5 16508fi 16509 16510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing stdscr" >&5 16511$as_echo_n "checking for library containing stdscr... " >&6; } 16512if ${ac_cv_search_stdscr+:} false; then : 16513 $as_echo_n "(cached) " >&6 16514else 16515 ac_func_search_save_LIBS=$LIBS 16516cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16517/* end confdefs.h. */ 16518 16519/* Override any GCC internal prototype to avoid an error. 16520 Use char because int might match the return type of a GCC 16521 builtin and then its argument prototype would still apply. */ 16522#ifdef __cplusplus 16523extern "C" 16524#endif 16525char stdscr (); 16526int 16527main () 16528{ 16529return stdscr (); 16530 ; 16531 return 0; 16532} 16533_ACEOF 16534for ac_lib in '' tinfo ncurses; do 16535 if test -z "$ac_lib"; then 16536 ac_res="none required" 16537 else 16538 ac_res=-l$ac_lib 16539 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 16540 fi 16541 if ac_fn_c_try_link "$LINENO"; then : 16542 ac_cv_search_stdscr=$ac_res 16543fi 16544rm -f core conftest.err conftest.$ac_objext \ 16545 conftest$ac_exeext 16546 if ${ac_cv_search_stdscr+:} false; then : 16547 break 16548fi 16549done 16550if ${ac_cv_search_stdscr+:} false; then : 16551 16552else 16553 ac_cv_search_stdscr=no 16554fi 16555rm conftest.$ac_ext 16556LIBS=$ac_func_search_save_LIBS 16557fi 16558{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_stdscr" >&5 16559$as_echo "$ac_cv_search_stdscr" >&6; } 16560ac_res=$ac_cv_search_stdscr 16561if test "$ac_res" != no; then : 16562 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 16563 MCLIBS="$MCLIBS $LIBS" 16564else 16565 as_fn_error $? "Cannot find a library providing stdscr" "$LINENO" 5 16566fi 16567 16568 16569 16570 screen_type=ncurses 16571 screen_msg="NCurses" 16572 16573$as_echo "#define USE_NCURSES 1" >>confdefs.h 16574 16575 else 16576 LIBS= 16577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing addwstr" >&5 16578$as_echo_n "checking for library containing addwstr... " >&6; } 16579if ${ac_cv_search_addwstr+:} false; then : 16580 $as_echo_n "(cached) " >&6 16581else 16582 ac_func_search_save_LIBS=$LIBS 16583cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16584/* end confdefs.h. */ 16585 16586/* Override any GCC internal prototype to avoid an error. 16587 Use char because int might match the return type of a GCC 16588 builtin and then its argument prototype would still apply. */ 16589#ifdef __cplusplus 16590extern "C" 16591#endif 16592char addwstr (); 16593int 16594main () 16595{ 16596return addwstr (); 16597 ; 16598 return 0; 16599} 16600_ACEOF 16601for ac_lib in '' ncursesw ncurses curses; do 16602 if test -z "$ac_lib"; then 16603 ac_res="none required" 16604 else 16605 ac_res=-l$ac_lib 16606 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 16607 fi 16608 if ac_fn_c_try_link "$LINENO"; then : 16609 ac_cv_search_addwstr=$ac_res 16610fi 16611rm -f core conftest.err conftest.$ac_objext \ 16612 conftest$ac_exeext 16613 if ${ac_cv_search_addwstr+:} false; then : 16614 break 16615fi 16616done 16617if ${ac_cv_search_addwstr+:} false; then : 16618 16619else 16620 ac_cv_search_addwstr=no 16621fi 16622rm conftest.$ac_ext 16623LIBS=$ac_func_search_save_LIBS 16624fi 16625{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_addwstr" >&5 16626$as_echo "$ac_cv_search_addwstr" >&6; } 16627ac_res=$ac_cv_search_addwstr 16628if test "$ac_res" != no; then : 16629 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 16630 MCLIBS="$MCLIBS $LIBS";ncursesw_found=yes 16631else 16632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find ncurses library, that support wide characters" >&5 16633$as_echo "$as_me: WARNING: Cannot find ncurses library, that support wide characters" >&2;} 16634fi 16635 16636 16637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing stdscr" >&5 16638$as_echo_n "checking for library containing stdscr... " >&6; } 16639if ${ac_cv_search_stdscr+:} false; then : 16640 $as_echo_n "(cached) " >&6 16641else 16642 ac_func_search_save_LIBS=$LIBS 16643cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16644/* end confdefs.h. */ 16645 16646/* Override any GCC internal prototype to avoid an error. 16647 Use char because int might match the return type of a GCC 16648 builtin and then its argument prototype would still apply. */ 16649#ifdef __cplusplus 16650extern "C" 16651#endif 16652char stdscr (); 16653int 16654main () 16655{ 16656return stdscr (); 16657 ; 16658 return 0; 16659} 16660_ACEOF 16661for ac_lib in '' tinfow tinfo ncursesw ncurses curses; do 16662 if test -z "$ac_lib"; then 16663 ac_res="none required" 16664 else 16665 ac_res=-l$ac_lib 16666 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 16667 fi 16668 if ac_fn_c_try_link "$LINENO"; then : 16669 ac_cv_search_stdscr=$ac_res 16670fi 16671rm -f core conftest.err conftest.$ac_objext \ 16672 conftest$ac_exeext 16673 if ${ac_cv_search_stdscr+:} false; then : 16674 break 16675fi 16676done 16677if ${ac_cv_search_stdscr+:} false; then : 16678 16679else 16680 ac_cv_search_stdscr=no 16681fi 16682rm conftest.$ac_ext 16683LIBS=$ac_func_search_save_LIBS 16684fi 16685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_stdscr" >&5 16686$as_echo "$ac_cv_search_stdscr" >&6; } 16687ac_res=$ac_cv_search_stdscr 16688if test "$ac_res" != no; then : 16689 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 16690 MCLIBS="$MCLIBS $LIBS" 16691else 16692 as_fn_error $? "Cannot find a library providing stdscr" "$LINENO" 5 16693fi 16694 16695 16696 if test x"$ncursesw_found" = "x"; then 16697 LIBS= 16698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing has_colors" >&5 16699$as_echo_n "checking for library containing has_colors... " >&6; } 16700if ${ac_cv_search_has_colors+:} false; then : 16701 $as_echo_n "(cached) " >&6 16702else 16703 ac_func_search_save_LIBS=$LIBS 16704cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16705/* end confdefs.h. */ 16706 16707/* Override any GCC internal prototype to avoid an error. 16708 Use char because int might match the return type of a GCC 16709 builtin and then its argument prototype would still apply. */ 16710#ifdef __cplusplus 16711extern "C" 16712#endif 16713char has_colors (); 16714int 16715main () 16716{ 16717return has_colors (); 16718 ; 16719 return 0; 16720} 16721_ACEOF 16722for ac_lib in '' ncurses curses; do 16723 if test -z "$ac_lib"; then 16724 ac_res="none required" 16725 else 16726 ac_res=-l$ac_lib 16727 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 16728 fi 16729 if ac_fn_c_try_link "$LINENO"; then : 16730 ac_cv_search_has_colors=$ac_res 16731fi 16732rm -f core conftest.err conftest.$ac_objext \ 16733 conftest$ac_exeext 16734 if ${ac_cv_search_has_colors+:} false; then : 16735 break 16736fi 16737done 16738if ${ac_cv_search_has_colors+:} false; then : 16739 16740else 16741 ac_cv_search_has_colors=no 16742fi 16743rm conftest.$ac_ext 16744LIBS=$ac_func_search_save_LIBS 16745fi 16746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_has_colors" >&5 16747$as_echo "$ac_cv_search_has_colors" >&6; } 16748ac_res=$ac_cv_search_has_colors 16749if test "$ac_res" != no; then : 16750 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 16751 MCLIBS="$MCLIBS $LIBS" 16752else 16753 as_fn_error $? "Cannot find ncurses library" "$LINENO" 5 16754fi 16755 16756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing stdscr" >&5 16757$as_echo_n "checking for library containing stdscr... " >&6; } 16758if ${ac_cv_search_stdscr+:} false; then : 16759 $as_echo_n "(cached) " >&6 16760else 16761 ac_func_search_save_LIBS=$LIBS 16762cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16763/* end confdefs.h. */ 16764 16765/* Override any GCC internal prototype to avoid an error. 16766 Use char because int might match the return type of a GCC 16767 builtin and then its argument prototype would still apply. */ 16768#ifdef __cplusplus 16769extern "C" 16770#endif 16771char stdscr (); 16772int 16773main () 16774{ 16775return stdscr (); 16776 ; 16777 return 0; 16778} 16779_ACEOF 16780for ac_lib in '' tinfo ncurses curses; do 16781 if test -z "$ac_lib"; then 16782 ac_res="none required" 16783 else 16784 ac_res=-l$ac_lib 16785 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 16786 fi 16787 if ac_fn_c_try_link "$LINENO"; then : 16788 ac_cv_search_stdscr=$ac_res 16789fi 16790rm -f core conftest.err conftest.$ac_objext \ 16791 conftest$ac_exeext 16792 if ${ac_cv_search_stdscr+:} false; then : 16793 break 16794fi 16795done 16796if ${ac_cv_search_stdscr+:} false; then : 16797 16798else 16799 ac_cv_search_stdscr=no 16800fi 16801rm conftest.$ac_ext 16802LIBS=$ac_func_search_save_LIBS 16803fi 16804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_stdscr" >&5 16805$as_echo "$ac_cv_search_stdscr" >&6; } 16806ac_res=$ac_cv_search_stdscr 16807if test "$ac_res" != no; then : 16808 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 16809 MCLIBS="$MCLIBS $LIBS" 16810else 16811 as_fn_error $? "Cannot find a library providing stdscr" "$LINENO" 5 16812fi 16813 16814 fi 16815 16816 ncurses_h_found= 16817 for ac_header in ncursesw/curses.h ncurses/curses.h ncurses.h curses.h 16818do : 16819 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 16820ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 16821if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 16822 cat >>confdefs.h <<_ACEOF 16823#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 16824_ACEOF 16825 ncurses_h_found=yes; break 16826fi 16827 16828done 16829 16830 16831 if test x"$ncurses_h_found" = "x"; then 16832 as_fn_error $? "Cannot find ncurses header file" "$LINENO" 5 16833 fi 16834 16835 screen_type=ncurses 16836 screen_msg="NCurses" 16837 16838$as_echo "#define USE_NCURSES 1" >>confdefs.h 16839 16840 fi 16841 16842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ESCDELAY variable" >&5 16843$as_echo_n "checking for ESCDELAY variable... " >&6; } 16844if ${mc_cv_ncurses_escdelay+:} false; then : 16845 $as_echo_n "(cached) " >&6 16846else 16847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16848/* end confdefs.h. */ 16849 16850int 16851main () 16852{ 16853 16854 extern int ESCDELAY; 16855 ESCDELAY = 0; 16856 16857 ; 16858 return 0; 16859} 16860_ACEOF 16861if ac_fn_c_try_link "$LINENO"; then : 16862 mc_cv_ncurses_escdelay=yes 16863else 16864 mc_cv_ncurses_escdelay=no 16865fi 16866rm -f core conftest.err conftest.$ac_objext \ 16867 conftest$ac_exeext conftest.$ac_ext 16868 16869fi 16870{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_cv_ncurses_escdelay" >&5 16871$as_echo "$mc_cv_ncurses_escdelay" >&6; } 16872 if test x"$mc_cv_ncurses_escdelay" = xyes; then 16873 16874$as_echo "#define HAVE_ESCDELAY 1" >>confdefs.h 16875 16876 fi 16877 16878 for ac_func in resizeterm 16879do : 16880 ac_fn_c_check_func "$LINENO" "resizeterm" "ac_cv_func_resizeterm" 16881if test "x$ac_cv_func_resizeterm" = xyes; then : 16882 cat >>confdefs.h <<_ACEOF 16883#define HAVE_RESIZETERM 1 16884_ACEOF 16885 16886fi 16887done 16888 16889 LIBS="$save_LIBS" 16890 16891 ;; 16892 xncursesw) 16893 16894 save_LIBS="$LIBS" 16895 LIBS= 16896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing has_colors" >&5 16897$as_echo_n "checking for library containing has_colors... " >&6; } 16898if ${ac_cv_search_has_colors+:} false; then : 16899 $as_echo_n "(cached) " >&6 16900else 16901 ac_func_search_save_LIBS=$LIBS 16902cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16903/* end confdefs.h. */ 16904 16905/* Override any GCC internal prototype to avoid an error. 16906 Use char because int might match the return type of a GCC 16907 builtin and then its argument prototype would still apply. */ 16908#ifdef __cplusplus 16909extern "C" 16910#endif 16911char has_colors (); 16912int 16913main () 16914{ 16915return has_colors (); 16916 ; 16917 return 0; 16918} 16919_ACEOF 16920for ac_lib in '' ncursesw; do 16921 if test -z "$ac_lib"; then 16922 ac_res="none required" 16923 else 16924 ac_res=-l$ac_lib 16925 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 16926 fi 16927 if ac_fn_c_try_link "$LINENO"; then : 16928 ac_cv_search_has_colors=$ac_res 16929fi 16930rm -f core conftest.err conftest.$ac_objext \ 16931 conftest$ac_exeext 16932 if ${ac_cv_search_has_colors+:} false; then : 16933 break 16934fi 16935done 16936if ${ac_cv_search_has_colors+:} false; then : 16937 16938else 16939 ac_cv_search_has_colors=no 16940fi 16941rm conftest.$ac_ext 16942LIBS=$ac_func_search_save_LIBS 16943fi 16944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_has_colors" >&5 16945$as_echo "$ac_cv_search_has_colors" >&6; } 16946ac_res=$ac_cv_search_has_colors 16947if test "$ac_res" != no; then : 16948 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 16949 MCLIBS="$MCLIBS $LIBS" 16950else 16951 as_fn_error $? "Cannot find ncursesw library" "$LINENO" 5 16952fi 16953 16954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing stdscr" >&5 16955$as_echo_n "checking for library containing stdscr... " >&6; } 16956if ${ac_cv_search_stdscr+:} false; then : 16957 $as_echo_n "(cached) " >&6 16958else 16959 ac_func_search_save_LIBS=$LIBS 16960cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16961/* end confdefs.h. */ 16962 16963/* Override any GCC internal prototype to avoid an error. 16964 Use char because int might match the return type of a GCC 16965 builtin and then its argument prototype would still apply. */ 16966#ifdef __cplusplus 16967extern "C" 16968#endif 16969char stdscr (); 16970int 16971main () 16972{ 16973return stdscr (); 16974 ; 16975 return 0; 16976} 16977_ACEOF 16978for ac_lib in '' tinfow ncursesw; do 16979 if test -z "$ac_lib"; then 16980 ac_res="none required" 16981 else 16982 ac_res=-l$ac_lib 16983 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 16984 fi 16985 if ac_fn_c_try_link "$LINENO"; then : 16986 ac_cv_search_stdscr=$ac_res 16987fi 16988rm -f core conftest.err conftest.$ac_objext \ 16989 conftest$ac_exeext 16990 if ${ac_cv_search_stdscr+:} false; then : 16991 break 16992fi 16993done 16994if ${ac_cv_search_stdscr+:} false; then : 16995 16996else 16997 ac_cv_search_stdscr=no 16998fi 16999rm conftest.$ac_ext 17000LIBS=$ac_func_search_save_LIBS 17001fi 17002{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_stdscr" >&5 17003$as_echo "$ac_cv_search_stdscr" >&6; } 17004ac_res=$ac_cv_search_stdscr 17005if test "$ac_res" != no; then : 17006 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 17007 MCLIBS="$MCLIBS $LIBS" 17008else 17009 as_fn_error $? "Cannot find a library providing stdscr" "$LINENO" 5 17010fi 17011 17012 17013 17014 ncurses_h_found= 17015 for ac_header in ncursesw/curses.h 17016do : 17017 ac_fn_c_check_header_mongrel "$LINENO" "ncursesw/curses.h" "ac_cv_header_ncursesw_curses_h" "$ac_includes_default" 17018if test "x$ac_cv_header_ncursesw_curses_h" = xyes; then : 17019 cat >>confdefs.h <<_ACEOF 17020#define HAVE_NCURSESW_CURSES_H 1 17021_ACEOF 17022 ncursesw_h_found=yes; break 17023fi 17024 17025done 17026 17027 17028 if test x"$ncursesw_h_found" = "x"; then 17029 as_fn_error $? "Cannot find ncursesw header file" "$LINENO" 5 17030 fi 17031 17032 screen_type=ncursesw 17033 screen_msg="NCursesw" 17034 17035$as_echo "#define USE_NCURSESW 1" >>confdefs.h 17036 17037 17038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ESCDELAY variable" >&5 17039$as_echo_n "checking for ESCDELAY variable... " >&6; } 17040if ${mc_cv_ncursesw_escdelay+:} false; then : 17041 $as_echo_n "(cached) " >&6 17042else 17043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17044/* end confdefs.h. */ 17045 17046int 17047main () 17048{ 17049 17050 extern int ESCDELAY; 17051 ESCDELAY = 0; 17052 17053 ; 17054 return 0; 17055} 17056_ACEOF 17057if ac_fn_c_try_link "$LINENO"; then : 17058 mc_cv_ncursesw_escdelay=yes 17059else 17060 mc_cv_ncursesw_escdelay=no 17061fi 17062rm -f core conftest.err conftest.$ac_objext \ 17063 conftest$ac_exeext conftest.$ac_ext 17064 17065fi 17066{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_cv_ncursesw_escdelay" >&5 17067$as_echo "$mc_cv_ncursesw_escdelay" >&6; } 17068 if test x"$mc_cv_ncursesw_escdelay" = xyes; then 17069 17070$as_echo "#define HAVE_ESCDELAY 1" >>confdefs.h 17071 17072 fi 17073 17074 for ac_func in resizeterm 17075do : 17076 ac_fn_c_check_func "$LINENO" "resizeterm" "ac_cv_func_resizeterm" 17077if test "x$ac_cv_func_resizeterm" = xyes; then : 17078 cat >>confdefs.h <<_ACEOF 17079#define HAVE_RESIZETERM 1 17080_ACEOF 17081 17082fi 17083done 17084 17085 LIBS="$save_LIBS" 17086 17087 ;; 17088 *) 17089 as_fn_error $? "Value of the screen library is incorrect" "$LINENO" 5 17090 ;; 17091 esac 17092 17093 17094 17095 17096# Check whether --with-search-engine was given. 17097if test "${with_search_engine+set}" = set; then : 17098 withval=$with_search_engine; 17099fi 17100 17101 case x$with_search_engine in 17102 xglib) 17103 SEARCH_TYPE="glib-regexp" 17104 ;; 17105 xpcre) 17106 17107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lib pcre" >&5 17108$as_echo_n "checking lib pcre... " >&6; } 17109 17110# Check whether --with-pcre was given. 17111if test "${with_pcre+set}" = set; then : 17112 withval=$with_pcre; 17113else 17114 with_pcre="yes" 17115 17116fi 17117 17118if test x"$with_pcre" = "xno" ; then 17119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 17120$as_echo "disabled" >&6; } 17121 17122else 17123 17124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (testing)" >&5 17125$as_echo "(testing)" >&6; } 17126 17127 if test "x$with_pcre" = "xyes" ; then 17128 PCRE_CPPFLAGS="`pcre-config --cflags`" 17129 PCRE_LIBS="`pcre-config --libs`" 17130 else 17131 test_PCRE_LIBS="-L$with_pcre/lib" 17132 test_PCRE_CPPFLAGS="-I$with_pcre/include" 17133 17134 OLDLDFLAGS="$LDFLAGS" ; LDFLAGS="$LDFLAGS $test_PCRE_LIBS" 17135 OLDCPPFLAGS="$CPPFLAGS" ; CPPFLAGS="$CPPFLAGS $test_PCRE_CPPFLAGS" 17136 17137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_compile in -lpcre" >&5 17138$as_echo_n "checking for pcre_compile in -lpcre... " >&6; } 17139if ${ac_cv_lib_pcre_pcre_compile+:} false; then : 17140 $as_echo_n "(cached) " >&6 17141else 17142 ac_check_lib_save_LIBS=$LIBS 17143LIBS="-lpcre $LIBS" 17144cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17145/* end confdefs.h. */ 17146 17147/* Override any GCC internal prototype to avoid an error. 17148 Use char because int might match the return type of a GCC 17149 builtin and then its argument prototype would still apply. */ 17150#ifdef __cplusplus 17151extern "C" 17152#endif 17153char pcre_compile (); 17154int 17155main () 17156{ 17157return pcre_compile (); 17158 ; 17159 return 0; 17160} 17161_ACEOF 17162if ac_fn_c_try_link "$LINENO"; then : 17163 ac_cv_lib_pcre_pcre_compile=yes 17164else 17165 ac_cv_lib_pcre_pcre_compile=no 17166fi 17167rm -f core conftest.err conftest.$ac_objext \ 17168 conftest$ac_exeext conftest.$ac_ext 17169LIBS=$ac_check_lib_save_LIBS 17170fi 17171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_compile" >&5 17172$as_echo "$ac_cv_lib_pcre_pcre_compile" >&6; } 17173if test "x$ac_cv_lib_pcre_pcre_compile" = xyes; then : 17174 cat >>confdefs.h <<_ACEOF 17175#define HAVE_LIBPCRE 1 17176_ACEOF 17177 17178 LIBS="-lpcre $LIBS" 17179 17180fi 17181 17182 17183 if test x"$ac_cv_lib_pcre_pcre_compile" = x"yes" ; then 17184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: setting PCRE_LIBS -L$with_pcre/lib -lpcre" >&5 17185$as_echo "setting PCRE_LIBS -L$with_pcre/lib -lpcre" >&6; } 17186 17187 PCRE_LIBS=$test_PCRE_LIBS 17188 PCRE_CPPFLAGS=$test_PCRE_CPPFLAGS 17189 17190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lib pcre" >&5 17191$as_echo_n "checking lib pcre... " >&6; } 17192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PCRE_LIBS" >&5 17193$as_echo "$PCRE_LIBS" >&6; } 17194 17195 else 17196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lib pcre" >&5 17197$as_echo_n "checking lib pcre... " >&6; } 17198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, (WARNING)" >&5 17199$as_echo "no, (WARNING)" >&6; } 17200 17201 fi 17202 17203 CPPFLAGS="$OLDCFPPLAGS" 17204 LDFLAGS="$OLDLDFLAGS" 17205 17206 fi 17207fi 17208 17209 17210 17211 17212 17213 if test x"${PCRE_LIBS}" = x; then 17214 as_fn_error $? "Your system don't have pcre library (or pcre devel stuff)" "$LINENO" 5 17215 else 17216 SEARCH_TYPE="pcre" 17217 17218$as_echo "#define SEARCH_TYPE_PCRE 1" >>confdefs.h 17219 17220 fi 17221 17222 ;; 17223 x) 17224 SEARCH_TYPE="glib-regexp" 17225 ;; 17226 *) 17227 as_fn_error $? "Value of the search-engine is incorrect" "$LINENO" 5 17228 ;; 17229 esac 17230 17231 if test x"$SEARCH_TYPE" = x"glib-regexp"; then 17232 17233 $PKG_CONFIG --max-version 2.14 glib-2.0 17234 if test $? -eq 0; then 17235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Selected 'glib' search engine, but you don't have glib >= 2.14. Trying to use 'pcre' engine, (WARNING)" >&5 17236$as_echo "Selected 'glib' search engine, but you don't have glib >= 2.14. Trying to use 'pcre' engine, (WARNING)" >&6; } 17237 17238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lib pcre" >&5 17239$as_echo_n "checking lib pcre... " >&6; } 17240 17241# Check whether --with-pcre was given. 17242if test "${with_pcre+set}" = set; then : 17243 withval=$with_pcre; 17244else 17245 with_pcre="yes" 17246 17247fi 17248 17249if test x"$with_pcre" = "xno" ; then 17250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 17251$as_echo "disabled" >&6; } 17252 17253else 17254 17255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (testing)" >&5 17256$as_echo "(testing)" >&6; } 17257 17258 if test "x$with_pcre" = "xyes" ; then 17259 PCRE_CPPFLAGS="`pcre-config --cflags`" 17260 PCRE_LIBS="`pcre-config --libs`" 17261 else 17262 test_PCRE_LIBS="-L$with_pcre/lib" 17263 test_PCRE_CPPFLAGS="-I$with_pcre/include" 17264 17265 OLDLDFLAGS="$LDFLAGS" ; LDFLAGS="$LDFLAGS $test_PCRE_LIBS" 17266 OLDCPPFLAGS="$CPPFLAGS" ; CPPFLAGS="$CPPFLAGS $test_PCRE_CPPFLAGS" 17267 17268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_compile in -lpcre" >&5 17269$as_echo_n "checking for pcre_compile in -lpcre... " >&6; } 17270if ${ac_cv_lib_pcre_pcre_compile+:} false; then : 17271 $as_echo_n "(cached) " >&6 17272else 17273 ac_check_lib_save_LIBS=$LIBS 17274LIBS="-lpcre $LIBS" 17275cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17276/* end confdefs.h. */ 17277 17278/* Override any GCC internal prototype to avoid an error. 17279 Use char because int might match the return type of a GCC 17280 builtin and then its argument prototype would still apply. */ 17281#ifdef __cplusplus 17282extern "C" 17283#endif 17284char pcre_compile (); 17285int 17286main () 17287{ 17288return pcre_compile (); 17289 ; 17290 return 0; 17291} 17292_ACEOF 17293if ac_fn_c_try_link "$LINENO"; then : 17294 ac_cv_lib_pcre_pcre_compile=yes 17295else 17296 ac_cv_lib_pcre_pcre_compile=no 17297fi 17298rm -f core conftest.err conftest.$ac_objext \ 17299 conftest$ac_exeext conftest.$ac_ext 17300LIBS=$ac_check_lib_save_LIBS 17301fi 17302{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_compile" >&5 17303$as_echo "$ac_cv_lib_pcre_pcre_compile" >&6; } 17304if test "x$ac_cv_lib_pcre_pcre_compile" = xyes; then : 17305 cat >>confdefs.h <<_ACEOF 17306#define HAVE_LIBPCRE 1 17307_ACEOF 17308 17309 LIBS="-lpcre $LIBS" 17310 17311fi 17312 17313 17314 if test x"$ac_cv_lib_pcre_pcre_compile" = x"yes" ; then 17315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: setting PCRE_LIBS -L$with_pcre/lib -lpcre" >&5 17316$as_echo "setting PCRE_LIBS -L$with_pcre/lib -lpcre" >&6; } 17317 17318 PCRE_LIBS=$test_PCRE_LIBS 17319 PCRE_CPPFLAGS=$test_PCRE_CPPFLAGS 17320 17321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lib pcre" >&5 17322$as_echo_n "checking lib pcre... " >&6; } 17323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PCRE_LIBS" >&5 17324$as_echo "$PCRE_LIBS" >&6; } 17325 17326 else 17327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lib pcre" >&5 17328$as_echo_n "checking lib pcre... " >&6; } 17329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, (WARNING)" >&5 17330$as_echo "no, (WARNING)" >&6; } 17331 17332 fi 17333 17334 CPPFLAGS="$OLDCFPPLAGS" 17335 LDFLAGS="$OLDLDFLAGS" 17336 17337 fi 17338fi 17339 17340 17341 17342 17343 17344 if test x"${PCRE_LIBS}" = x; then 17345 as_fn_error $? "Your system don't have pcre library (or pcre devel stuff)" "$LINENO" 5 17346 else 17347 SEARCH_TYPE="pcre" 17348 17349$as_echo "#define SEARCH_TYPE_PCRE 1" >>confdefs.h 17350 17351 fi 17352 17353 else 17354 17355$as_echo "#define SEARCH_TYPE_GLIB 1" >>confdefs.h 17356 17357 fi 17358 17359 fi 17360 17361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 17362$as_echo_n "checking for X... " >&6; } 17363 17364 17365# Check whether --with-x was given. 17366if test "${with_x+set}" = set; then : 17367 withval=$with_x; 17368fi 17369 17370# $have_x is `yes', `no', `disabled', or empty when we do not yet know. 17371if test "x$with_x" = xno; then 17372 # The user explicitly disabled X. 17373 have_x=disabled 17374else 17375 case $x_includes,$x_libraries in #( 17376 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( 17377 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : 17378 $as_echo_n "(cached) " >&6 17379else 17380 # One or both of the vars are not set, and there is no cached value. 17381ac_x_includes=no ac_x_libraries=no 17382rm -f -r conftest.dir 17383if mkdir conftest.dir; then 17384 cd conftest.dir 17385 cat >Imakefile <<'_ACEOF' 17386incroot: 17387 @echo incroot='${INCROOT}' 17388usrlibdir: 17389 @echo usrlibdir='${USRLIBDIR}' 17390libdir: 17391 @echo libdir='${LIBDIR}' 17392_ACEOF 17393 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 17394 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 17395 for ac_var in incroot usrlibdir libdir; do 17396 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" 17397 done 17398 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. 17399 for ac_extension in a so sl dylib la dll; do 17400 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && 17401 test -f "$ac_im_libdir/libX11.$ac_extension"; then 17402 ac_im_usrlibdir=$ac_im_libdir; break 17403 fi 17404 done 17405 # Screen out bogus values from the imake configuration. They are 17406 # bogus both because they are the default anyway, and because 17407 # using them would break gcc on systems where it needs fixed includes. 17408 case $ac_im_incroot in 17409 /usr/include) ac_x_includes= ;; 17410 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; 17411 esac 17412 case $ac_im_usrlibdir in 17413 /usr/lib | /usr/lib64 | /lib | /lib64) ;; 17414 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; 17415 esac 17416 fi 17417 cd .. 17418 rm -f -r conftest.dir 17419fi 17420 17421# Standard set of common directories for X headers. 17422# Check X11 before X11Rn because it is often a symlink to the current release. 17423ac_x_header_dirs=' 17424/usr/X11/include 17425/usr/X11R7/include 17426/usr/X11R6/include 17427/usr/X11R5/include 17428/usr/X11R4/include 17429 17430/usr/include/X11 17431/usr/include/X11R7 17432/usr/include/X11R6 17433/usr/include/X11R5 17434/usr/include/X11R4 17435 17436/usr/local/X11/include 17437/usr/local/X11R7/include 17438/usr/local/X11R6/include 17439/usr/local/X11R5/include 17440/usr/local/X11R4/include 17441 17442/usr/local/include/X11 17443/usr/local/include/X11R7 17444/usr/local/include/X11R6 17445/usr/local/include/X11R5 17446/usr/local/include/X11R4 17447 17448/usr/X386/include 17449/usr/x386/include 17450/usr/XFree86/include/X11 17451 17452/usr/include 17453/usr/local/include 17454/usr/unsupported/include 17455/usr/athena/include 17456/usr/local/x11r5/include 17457/usr/lpp/Xamples/include 17458 17459/usr/openwin/include 17460/usr/openwin/share/include' 17461 17462if test "$ac_x_includes" = no; then 17463 # Guess where to find include files, by looking for Xlib.h. 17464 # First, try using that file with no special directory specified. 17465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17466/* end confdefs.h. */ 17467#include <X11/Xlib.h> 17468_ACEOF 17469if ac_fn_c_try_cpp "$LINENO"; then : 17470 # We can compile using X headers with no special include directory. 17471ac_x_includes= 17472else 17473 for ac_dir in $ac_x_header_dirs; do 17474 if test -r "$ac_dir/X11/Xlib.h"; then 17475 ac_x_includes=$ac_dir 17476 break 17477 fi 17478done 17479fi 17480rm -f conftest.err conftest.i conftest.$ac_ext 17481fi # $ac_x_includes = no 17482 17483if test "$ac_x_libraries" = no; then 17484 # Check for the libraries. 17485 # See if we find them without any special options. 17486 # Don't add to $LIBS permanently. 17487 ac_save_LIBS=$LIBS 17488 LIBS="-lX11 $LIBS" 17489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17490/* end confdefs.h. */ 17491#include <X11/Xlib.h> 17492int 17493main () 17494{ 17495XrmInitialize () 17496 ; 17497 return 0; 17498} 17499_ACEOF 17500if ac_fn_c_try_link "$LINENO"; then : 17501 LIBS=$ac_save_LIBS 17502# We can link X programs with no special library path. 17503ac_x_libraries= 17504else 17505 LIBS=$ac_save_LIBS 17506for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 17507do 17508 # Don't even attempt the hair of trying to link an X program! 17509 for ac_extension in a so sl dylib la dll; do 17510 if test -r "$ac_dir/libX11.$ac_extension"; then 17511 ac_x_libraries=$ac_dir 17512 break 2 17513 fi 17514 done 17515done 17516fi 17517rm -f core conftest.err conftest.$ac_objext \ 17518 conftest$ac_exeext conftest.$ac_ext 17519fi # $ac_x_libraries = no 17520 17521case $ac_x_includes,$ac_x_libraries in #( 17522 no,* | *,no | *\'*) 17523 # Didn't find X, or a directory has "'" in its name. 17524 ac_cv_have_x="have_x=no";; #( 17525 *) 17526 # Record where we found X for the cache. 17527 ac_cv_have_x="have_x=yes\ 17528 ac_x_includes='$ac_x_includes'\ 17529 ac_x_libraries='$ac_x_libraries'" 17530esac 17531fi 17532;; #( 17533 *) have_x=yes;; 17534 esac 17535 eval "$ac_cv_have_x" 17536fi # $with_x != no 17537 17538if test "$have_x" != yes; then 17539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 17540$as_echo "$have_x" >&6; } 17541 no_x=yes 17542else 17543 # If each of the values was on the command line, it overrides each guess. 17544 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 17545 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 17546 # Update the cache value to reflect the command line values. 17547 ac_cv_have_x="have_x=yes\ 17548 ac_x_includes='$x_includes'\ 17549 ac_x_libraries='$x_libraries'" 17550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 17551$as_echo "libraries $x_libraries, headers $x_includes" >&6; } 17552fi 17553 17554 17555 17556 if test "$no_x" = yes; then 17557 # Not all programs may use this symbol, but it does not hurt to define it. 17558 17559$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h 17560 17561 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= 17562else 17563 if test -n "$x_includes"; then 17564 X_CFLAGS="$X_CFLAGS -I$x_includes" 17565 fi 17566 17567 # It would also be nice to do this for all -L options, not just this one. 17568 if test -n "$x_libraries"; then 17569 X_LIBS="$X_LIBS -L$x_libraries" 17570 # For Solaris; some versions of Sun CC require a space after -R and 17571 # others require no space. Words are not sufficient . . . . 17572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5 17573$as_echo_n "checking whether -R must be followed by a space... " >&6; } 17574 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" 17575 ac_xsave_c_werror_flag=$ac_c_werror_flag 17576 ac_c_werror_flag=yes 17577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17578/* end confdefs.h. */ 17579 17580int 17581main () 17582{ 17583 17584 ; 17585 return 0; 17586} 17587_ACEOF 17588if ac_fn_c_try_link "$LINENO"; then : 17589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17590$as_echo "no" >&6; } 17591 X_LIBS="$X_LIBS -R$x_libraries" 17592else 17593 LIBS="$ac_xsave_LIBS -R $x_libraries" 17594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17595/* end confdefs.h. */ 17596 17597int 17598main () 17599{ 17600 17601 ; 17602 return 0; 17603} 17604_ACEOF 17605if ac_fn_c_try_link "$LINENO"; then : 17606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17607$as_echo "yes" >&6; } 17608 X_LIBS="$X_LIBS -R $x_libraries" 17609else 17610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5 17611$as_echo "neither works" >&6; } 17612fi 17613rm -f core conftest.err conftest.$ac_objext \ 17614 conftest$ac_exeext conftest.$ac_ext 17615fi 17616rm -f core conftest.err conftest.$ac_objext \ 17617 conftest$ac_exeext conftest.$ac_ext 17618 ac_c_werror_flag=$ac_xsave_c_werror_flag 17619 LIBS=$ac_xsave_LIBS 17620 fi 17621 17622 # Check for system-dependent libraries X programs must link with. 17623 # Do this before checking for the system-independent R6 libraries 17624 # (-lICE), since we may need -lsocket or whatever for X linking. 17625 17626 if test "$ISC" = yes; then 17627 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" 17628 else 17629 # Martyn Johnson says this is needed for Ultrix, if the X 17630 # libraries were built with DECnet support. And Karl Berry says 17631 # the Alpha needs dnet_stub (dnet does not exist). 17632 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" 17633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17634/* end confdefs.h. */ 17635 17636/* Override any GCC internal prototype to avoid an error. 17637 Use char because int might match the return type of a GCC 17638 builtin and then its argument prototype would still apply. */ 17639#ifdef __cplusplus 17640extern "C" 17641#endif 17642char XOpenDisplay (); 17643int 17644main () 17645{ 17646return XOpenDisplay (); 17647 ; 17648 return 0; 17649} 17650_ACEOF 17651if ac_fn_c_try_link "$LINENO"; then : 17652 17653else 17654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 17655$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } 17656if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then : 17657 $as_echo_n "(cached) " >&6 17658else 17659 ac_check_lib_save_LIBS=$LIBS 17660LIBS="-ldnet $LIBS" 17661cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17662/* end confdefs.h. */ 17663 17664/* Override any GCC internal prototype to avoid an error. 17665 Use char because int might match the return type of a GCC 17666 builtin and then its argument prototype would still apply. */ 17667#ifdef __cplusplus 17668extern "C" 17669#endif 17670char dnet_ntoa (); 17671int 17672main () 17673{ 17674return dnet_ntoa (); 17675 ; 17676 return 0; 17677} 17678_ACEOF 17679if ac_fn_c_try_link "$LINENO"; then : 17680 ac_cv_lib_dnet_dnet_ntoa=yes 17681else 17682 ac_cv_lib_dnet_dnet_ntoa=no 17683fi 17684rm -f core conftest.err conftest.$ac_objext \ 17685 conftest$ac_exeext conftest.$ac_ext 17686LIBS=$ac_check_lib_save_LIBS 17687fi 17688{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 17689$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } 17690if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then : 17691 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" 17692fi 17693 17694 if test $ac_cv_lib_dnet_dnet_ntoa = no; then 17695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5 17696$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; } 17697if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then : 17698 $as_echo_n "(cached) " >&6 17699else 17700 ac_check_lib_save_LIBS=$LIBS 17701LIBS="-ldnet_stub $LIBS" 17702cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17703/* end confdefs.h. */ 17704 17705/* Override any GCC internal prototype to avoid an error. 17706 Use char because int might match the return type of a GCC 17707 builtin and then its argument prototype would still apply. */ 17708#ifdef __cplusplus 17709extern "C" 17710#endif 17711char dnet_ntoa (); 17712int 17713main () 17714{ 17715return dnet_ntoa (); 17716 ; 17717 return 0; 17718} 17719_ACEOF 17720if ac_fn_c_try_link "$LINENO"; then : 17721 ac_cv_lib_dnet_stub_dnet_ntoa=yes 17722else 17723 ac_cv_lib_dnet_stub_dnet_ntoa=no 17724fi 17725rm -f core conftest.err conftest.$ac_objext \ 17726 conftest$ac_exeext conftest.$ac_ext 17727LIBS=$ac_check_lib_save_LIBS 17728fi 17729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 17730$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } 17731if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then : 17732 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" 17733fi 17734 17735 fi 17736fi 17737rm -f core conftest.err conftest.$ac_objext \ 17738 conftest$ac_exeext conftest.$ac_ext 17739 LIBS="$ac_xsave_LIBS" 17740 17741 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, 17742 # to get the SysV transport functions. 17743 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4) 17744 # needs -lnsl. 17745 # The nsl library prevents programs from opening the X display 17746 # on Irix 5.2, according to T.E. Dickey. 17747 # The functions gethostbyname, getservbyname, and inet_addr are 17748 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. 17749 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" 17750if test "x$ac_cv_func_gethostbyname" = xyes; then : 17751 17752fi 17753 17754 if test $ac_cv_func_gethostbyname = no; then 17755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 17756$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } 17757if ${ac_cv_lib_nsl_gethostbyname+:} false; then : 17758 $as_echo_n "(cached) " >&6 17759else 17760 ac_check_lib_save_LIBS=$LIBS 17761LIBS="-lnsl $LIBS" 17762cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17763/* end confdefs.h. */ 17764 17765/* Override any GCC internal prototype to avoid an error. 17766 Use char because int might match the return type of a GCC 17767 builtin and then its argument prototype would still apply. */ 17768#ifdef __cplusplus 17769extern "C" 17770#endif 17771char gethostbyname (); 17772int 17773main () 17774{ 17775return gethostbyname (); 17776 ; 17777 return 0; 17778} 17779_ACEOF 17780if ac_fn_c_try_link "$LINENO"; then : 17781 ac_cv_lib_nsl_gethostbyname=yes 17782else 17783 ac_cv_lib_nsl_gethostbyname=no 17784fi 17785rm -f core conftest.err conftest.$ac_objext \ 17786 conftest$ac_exeext conftest.$ac_ext 17787LIBS=$ac_check_lib_save_LIBS 17788fi 17789{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 17790$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } 17791if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : 17792 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" 17793fi 17794 17795 if test $ac_cv_lib_nsl_gethostbyname = no; then 17796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 17797$as_echo_n "checking for gethostbyname in -lbsd... " >&6; } 17798if ${ac_cv_lib_bsd_gethostbyname+:} false; then : 17799 $as_echo_n "(cached) " >&6 17800else 17801 ac_check_lib_save_LIBS=$LIBS 17802LIBS="-lbsd $LIBS" 17803cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17804/* end confdefs.h. */ 17805 17806/* Override any GCC internal prototype to avoid an error. 17807 Use char because int might match the return type of a GCC 17808 builtin and then its argument prototype would still apply. */ 17809#ifdef __cplusplus 17810extern "C" 17811#endif 17812char gethostbyname (); 17813int 17814main () 17815{ 17816return gethostbyname (); 17817 ; 17818 return 0; 17819} 17820_ACEOF 17821if ac_fn_c_try_link "$LINENO"; then : 17822 ac_cv_lib_bsd_gethostbyname=yes 17823else 17824 ac_cv_lib_bsd_gethostbyname=no 17825fi 17826rm -f core conftest.err conftest.$ac_objext \ 17827 conftest$ac_exeext conftest.$ac_ext 17828LIBS=$ac_check_lib_save_LIBS 17829fi 17830{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5 17831$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } 17832if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then : 17833 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" 17834fi 17835 17836 fi 17837 fi 17838 17839 # lieder@skyler.mavd.honeywell.com says without -lsocket, 17840 # socket/setsockopt and other routines are undefined under SCO ODT 17841 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary 17842 # on later versions), says Simon Leinen: it contains gethostby* 17843 # variants that don't use the name server (or something). -lsocket 17844 # must be given before -lnsl if both are needed. We assume that 17845 # if connect needs -lnsl, so does gethostbyname. 17846 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect" 17847if test "x$ac_cv_func_connect" = xyes; then : 17848 17849fi 17850 17851 if test $ac_cv_func_connect = no; then 17852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 17853$as_echo_n "checking for connect in -lsocket... " >&6; } 17854if ${ac_cv_lib_socket_connect+:} false; then : 17855 $as_echo_n "(cached) " >&6 17856else 17857 ac_check_lib_save_LIBS=$LIBS 17858LIBS="-lsocket $X_EXTRA_LIBS $LIBS" 17859cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17860/* end confdefs.h. */ 17861 17862/* Override any GCC internal prototype to avoid an error. 17863 Use char because int might match the return type of a GCC 17864 builtin and then its argument prototype would still apply. */ 17865#ifdef __cplusplus 17866extern "C" 17867#endif 17868char connect (); 17869int 17870main () 17871{ 17872return connect (); 17873 ; 17874 return 0; 17875} 17876_ACEOF 17877if ac_fn_c_try_link "$LINENO"; then : 17878 ac_cv_lib_socket_connect=yes 17879else 17880 ac_cv_lib_socket_connect=no 17881fi 17882rm -f core conftest.err conftest.$ac_objext \ 17883 conftest$ac_exeext conftest.$ac_ext 17884LIBS=$ac_check_lib_save_LIBS 17885fi 17886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 17887$as_echo "$ac_cv_lib_socket_connect" >&6; } 17888if test "x$ac_cv_lib_socket_connect" = xyes; then : 17889 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" 17890fi 17891 17892 fi 17893 17894 # Guillermo Gomez says -lposix is necessary on A/UX. 17895 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove" 17896if test "x$ac_cv_func_remove" = xyes; then : 17897 17898fi 17899 17900 if test $ac_cv_func_remove = no; then 17901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 17902$as_echo_n "checking for remove in -lposix... " >&6; } 17903if ${ac_cv_lib_posix_remove+:} false; then : 17904 $as_echo_n "(cached) " >&6 17905else 17906 ac_check_lib_save_LIBS=$LIBS 17907LIBS="-lposix $LIBS" 17908cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17909/* end confdefs.h. */ 17910 17911/* Override any GCC internal prototype to avoid an error. 17912 Use char because int might match the return type of a GCC 17913 builtin and then its argument prototype would still apply. */ 17914#ifdef __cplusplus 17915extern "C" 17916#endif 17917char remove (); 17918int 17919main () 17920{ 17921return remove (); 17922 ; 17923 return 0; 17924} 17925_ACEOF 17926if ac_fn_c_try_link "$LINENO"; then : 17927 ac_cv_lib_posix_remove=yes 17928else 17929 ac_cv_lib_posix_remove=no 17930fi 17931rm -f core conftest.err conftest.$ac_objext \ 17932 conftest$ac_exeext conftest.$ac_ext 17933LIBS=$ac_check_lib_save_LIBS 17934fi 17935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5 17936$as_echo "$ac_cv_lib_posix_remove" >&6; } 17937if test "x$ac_cv_lib_posix_remove" = xyes; then : 17938 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" 17939fi 17940 17941 fi 17942 17943 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 17944 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat" 17945if test "x$ac_cv_func_shmat" = xyes; then : 17946 17947fi 17948 17949 if test $ac_cv_func_shmat = no; then 17950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 17951$as_echo_n "checking for shmat in -lipc... " >&6; } 17952if ${ac_cv_lib_ipc_shmat+:} false; then : 17953 $as_echo_n "(cached) " >&6 17954else 17955 ac_check_lib_save_LIBS=$LIBS 17956LIBS="-lipc $LIBS" 17957cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17958/* end confdefs.h. */ 17959 17960/* Override any GCC internal prototype to avoid an error. 17961 Use char because int might match the return type of a GCC 17962 builtin and then its argument prototype would still apply. */ 17963#ifdef __cplusplus 17964extern "C" 17965#endif 17966char shmat (); 17967int 17968main () 17969{ 17970return shmat (); 17971 ; 17972 return 0; 17973} 17974_ACEOF 17975if ac_fn_c_try_link "$LINENO"; then : 17976 ac_cv_lib_ipc_shmat=yes 17977else 17978 ac_cv_lib_ipc_shmat=no 17979fi 17980rm -f core conftest.err conftest.$ac_objext \ 17981 conftest$ac_exeext conftest.$ac_ext 17982LIBS=$ac_check_lib_save_LIBS 17983fi 17984{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5 17985$as_echo "$ac_cv_lib_ipc_shmat" >&6; } 17986if test "x$ac_cv_lib_ipc_shmat" = xyes; then : 17987 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" 17988fi 17989 17990 fi 17991 fi 17992 17993 # Check for libraries that X11R6 Xt/Xaw programs need. 17994 ac_save_LDFLAGS=$LDFLAGS 17995 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" 17996 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to 17997 # check for ICE first), but we must link in the order -lSM -lICE or 17998 # we get undefined symbols. So assume we have SM if we have ICE. 17999 # These have to be linked with before -lX11, unlike the other 18000 # libraries we check for below, so use a different variable. 18001 # John Interrante, Karl Berry 18002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 18003$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } 18004if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then : 18005 $as_echo_n "(cached) " >&6 18006else 18007 ac_check_lib_save_LIBS=$LIBS 18008LIBS="-lICE $X_EXTRA_LIBS $LIBS" 18009cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18010/* end confdefs.h. */ 18011 18012/* Override any GCC internal prototype to avoid an error. 18013 Use char because int might match the return type of a GCC 18014 builtin and then its argument prototype would still apply. */ 18015#ifdef __cplusplus 18016extern "C" 18017#endif 18018char IceConnectionNumber (); 18019int 18020main () 18021{ 18022return IceConnectionNumber (); 18023 ; 18024 return 0; 18025} 18026_ACEOF 18027if ac_fn_c_try_link "$LINENO"; then : 18028 ac_cv_lib_ICE_IceConnectionNumber=yes 18029else 18030 ac_cv_lib_ICE_IceConnectionNumber=no 18031fi 18032rm -f core conftest.err conftest.$ac_objext \ 18033 conftest$ac_exeext conftest.$ac_ext 18034LIBS=$ac_check_lib_save_LIBS 18035fi 18036{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 18037$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } 18038if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then : 18039 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" 18040fi 18041 18042 LDFLAGS=$ac_save_LDFLAGS 18043 18044fi 18045 18046 18047 if test x"$no_x" = xyes; then 18048 textmode_x11_support="no" 18049 else 18050 18051$as_echo "#define HAVE_TEXTMODE_X11_SUPPORT 1" >>confdefs.h 18052 18053 textmode_x11_support="yes" 18054 18055 CPPFLAGS="$CPPFLAGS $X_CFLAGS" 18056 18057 if test x"$g_module_supported" = x; then 18058 MCLIBS="$MCLIBS $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS" 18059 fi 18060 fi 18061 18062 if test x"$textmode_x11_support" = x"yes"; then 18063 HAVE_TEXTMODE_X11_SUPPORT_TRUE= 18064 HAVE_TEXTMODE_X11_SUPPORT_FALSE='#' 18065else 18066 HAVE_TEXTMODE_X11_SUPPORT_TRUE='#' 18067 HAVE_TEXTMODE_X11_SUPPORT_FALSE= 18068fi 18069 18070 18071 18072 18073 18074for ac_header in string.h memory.h limits.h malloc.h \ 18075 utime.h sys/statfs.h sys/vfs.h \ 18076 sys/select.h sys/ioctl.h stropts.h arpa/inet.h \ 18077 sys/socket.h 18078do : 18079 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 18080ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 18081if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 18082 cat >>confdefs.h <<_ACEOF 18083#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 18084_ACEOF 18085 18086fi 18087 18088done 18089 18090 18091 18092 18093 for ac_header in $ac_header_list 18094do : 18095 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 18096ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 18097" 18098if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 18099 cat >>confdefs.h <<_ACEOF 18100#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 18101_ACEOF 18102 18103fi 18104 18105done 18106 18107 18108 18109 18110ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default" 18111if test "x$ac_cv_header_sys_mkdev_h" = xyes; then : 18112 18113$as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h 18114 18115fi 18116 18117 18118if test $ac_cv_header_sys_mkdev_h = no; then 18119 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default" 18120if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then : 18121 18122$as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h 18123 18124fi 18125 18126 18127fi 18128 18129 18130 18131 18132# Check whether --enable-largefile was given. 18133if test "${enable_largefile+set}" = set; then : 18134 enableval=$enable_largefile; 18135fi 18136 18137if test "$enable_largefile" != no; then 18138 18139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 18140$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 18141if ${ac_cv_sys_largefile_CC+:} false; then : 18142 $as_echo_n "(cached) " >&6 18143else 18144 ac_cv_sys_largefile_CC=no 18145 if test "$GCC" != yes; then 18146 ac_save_CC=$CC 18147 while :; do 18148 # IRIX 6.2 and later do not support large files by default, 18149 # so use the C compiler's -n32 option if that helps. 18150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18151/* end confdefs.h. */ 18152#include <sys/types.h> 18153 /* Check that off_t can represent 2**63 - 1 correctly. 18154 We can't simply define LARGE_OFF_T to be 9223372036854775807, 18155 since some C++ compilers masquerading as C compilers 18156 incorrectly reject 9223372036854775807. */ 18157#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 18158 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 18159 && LARGE_OFF_T % 2147483647 == 1) 18160 ? 1 : -1]; 18161int 18162main () 18163{ 18164 18165 ; 18166 return 0; 18167} 18168_ACEOF 18169 if ac_fn_c_try_compile "$LINENO"; then : 18170 break 18171fi 18172rm -f core conftest.err conftest.$ac_objext 18173 CC="$CC -n32" 18174 if ac_fn_c_try_compile "$LINENO"; then : 18175 ac_cv_sys_largefile_CC=' -n32'; break 18176fi 18177rm -f core conftest.err conftest.$ac_objext 18178 break 18179 done 18180 CC=$ac_save_CC 18181 rm -f conftest.$ac_ext 18182 fi 18183fi 18184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 18185$as_echo "$ac_cv_sys_largefile_CC" >&6; } 18186 if test "$ac_cv_sys_largefile_CC" != no; then 18187 CC=$CC$ac_cv_sys_largefile_CC 18188 fi 18189 18190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 18191$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 18192if ${ac_cv_sys_file_offset_bits+:} false; then : 18193 $as_echo_n "(cached) " >&6 18194else 18195 while :; do 18196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18197/* end confdefs.h. */ 18198#include <sys/types.h> 18199 /* Check that off_t can represent 2**63 - 1 correctly. 18200 We can't simply define LARGE_OFF_T to be 9223372036854775807, 18201 since some C++ compilers masquerading as C compilers 18202 incorrectly reject 9223372036854775807. */ 18203#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 18204 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 18205 && LARGE_OFF_T % 2147483647 == 1) 18206 ? 1 : -1]; 18207int 18208main () 18209{ 18210 18211 ; 18212 return 0; 18213} 18214_ACEOF 18215if ac_fn_c_try_compile "$LINENO"; then : 18216 ac_cv_sys_file_offset_bits=no; break 18217fi 18218rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18220/* end confdefs.h. */ 18221#define _FILE_OFFSET_BITS 64 18222#include <sys/types.h> 18223 /* Check that off_t can represent 2**63 - 1 correctly. 18224 We can't simply define LARGE_OFF_T to be 9223372036854775807, 18225 since some C++ compilers masquerading as C compilers 18226 incorrectly reject 9223372036854775807. */ 18227#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 18228 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 18229 && LARGE_OFF_T % 2147483647 == 1) 18230 ? 1 : -1]; 18231int 18232main () 18233{ 18234 18235 ; 18236 return 0; 18237} 18238_ACEOF 18239if ac_fn_c_try_compile "$LINENO"; then : 18240 ac_cv_sys_file_offset_bits=64; break 18241fi 18242rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18243 ac_cv_sys_file_offset_bits=unknown 18244 break 18245done 18246fi 18247{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 18248$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 18249case $ac_cv_sys_file_offset_bits in #( 18250 no | unknown) ;; 18251 *) 18252cat >>confdefs.h <<_ACEOF 18253#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 18254_ACEOF 18255;; 18256esac 18257rm -rf conftest* 18258 if test $ac_cv_sys_file_offset_bits = unknown; then 18259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 18260$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 18261if ${ac_cv_sys_large_files+:} false; then : 18262 $as_echo_n "(cached) " >&6 18263else 18264 while :; do 18265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18266/* end confdefs.h. */ 18267#include <sys/types.h> 18268 /* Check that off_t can represent 2**63 - 1 correctly. 18269 We can't simply define LARGE_OFF_T to be 9223372036854775807, 18270 since some C++ compilers masquerading as C compilers 18271 incorrectly reject 9223372036854775807. */ 18272#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 18273 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 18274 && LARGE_OFF_T % 2147483647 == 1) 18275 ? 1 : -1]; 18276int 18277main () 18278{ 18279 18280 ; 18281 return 0; 18282} 18283_ACEOF 18284if ac_fn_c_try_compile "$LINENO"; then : 18285 ac_cv_sys_large_files=no; break 18286fi 18287rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18289/* end confdefs.h. */ 18290#define _LARGE_FILES 1 18291#include <sys/types.h> 18292 /* Check that off_t can represent 2**63 - 1 correctly. 18293 We can't simply define LARGE_OFF_T to be 9223372036854775807, 18294 since some C++ compilers masquerading as C compilers 18295 incorrectly reject 9223372036854775807. */ 18296#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 18297 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 18298 && LARGE_OFF_T % 2147483647 == 1) 18299 ? 1 : -1]; 18300int 18301main () 18302{ 18303 18304 ; 18305 return 0; 18306} 18307_ACEOF 18308if ac_fn_c_try_compile "$LINENO"; then : 18309 ac_cv_sys_large_files=1; break 18310fi 18311rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18312 ac_cv_sys_large_files=unknown 18313 break 18314done 18315fi 18316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 18317$as_echo "$ac_cv_sys_large_files" >&6; } 18318case $ac_cv_sys_large_files in #( 18319 no | unknown) ;; 18320 *) 18321cat >>confdefs.h <<_ACEOF 18322#define _LARGE_FILES $ac_cv_sys_large_files 18323_ACEOF 18324;; 18325esac 18326rm -rf conftest* 18327 fi 18328 18329 18330fi 18331 18332 18333# The cast to long int works around a bug in the HP C Compiler 18334# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 18335# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 18336# This bug is HP SR number 8606223364. 18337{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 18338$as_echo_n "checking size of long... " >&6; } 18339if ${ac_cv_sizeof_long+:} false; then : 18340 $as_echo_n "(cached) " >&6 18341else 18342 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 18343 18344else 18345 if test "$ac_cv_type_long" = yes; then 18346 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18347$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18348as_fn_error 77 "cannot compute sizeof (long) 18349See \`config.log' for more details" "$LINENO" 5; } 18350 else 18351 ac_cv_sizeof_long=0 18352 fi 18353fi 18354 18355fi 18356{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 18357$as_echo "$ac_cv_sizeof_long" >&6; } 18358 18359 18360 18361cat >>confdefs.h <<_ACEOF 18362#define SIZEOF_LONG $ac_cv_sizeof_long 18363_ACEOF 18364 18365 18366 18367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 18368$as_echo_n "checking for unsigned long long int... " >&6; } 18369if ${ac_cv_type_unsigned_long_long_int+:} false; then : 18370 $as_echo_n "(cached) " >&6 18371else 18372 ac_cv_type_unsigned_long_long_int=yes 18373 if test "x${ac_cv_prog_cc_c99-no}" = xno; then 18374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18375/* end confdefs.h. */ 18376 18377 /* For now, do not test the preprocessor; as of 2007 there are too many 18378 implementations with broken preprocessors. Perhaps this can 18379 be revisited in 2012. In the meantime, code should not expect 18380 #if to work with literals wider than 32 bits. */ 18381 /* Test literals. */ 18382 long long int ll = 9223372036854775807ll; 18383 long long int nll = -9223372036854775807LL; 18384 unsigned long long int ull = 18446744073709551615ULL; 18385 /* Test constant expressions. */ 18386 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) 18387 ? 1 : -1)]; 18388 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 18389 ? 1 : -1)]; 18390 int i = 63; 18391int 18392main () 18393{ 18394/* Test availability of runtime routines for shift and division. */ 18395 long long int llmax = 9223372036854775807ll; 18396 unsigned long long int ullmax = 18446744073709551615ull; 18397 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) 18398 | (llmax / ll) | (llmax % ll) 18399 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) 18400 | (ullmax / ull) | (ullmax % ull)); 18401 ; 18402 return 0; 18403} 18404 18405_ACEOF 18406if ac_fn_c_try_link "$LINENO"; then : 18407 18408else 18409 ac_cv_type_unsigned_long_long_int=no 18410fi 18411rm -f core conftest.err conftest.$ac_objext \ 18412 conftest$ac_exeext conftest.$ac_ext 18413 fi 18414fi 18415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5 18416$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; } 18417 if test $ac_cv_type_unsigned_long_long_int = yes; then 18418 18419$as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h 18420 18421 fi 18422 18423 18424 18425 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "$ac_includes_default" 18426if test "x$ac_cv_type_uintmax_t" = xyes; then : 18427 18428$as_echo "#define HAVE_UINTMAX_T 1" >>confdefs.h 18429 18430else 18431 test $ac_cv_type_unsigned_long_long_int = yes \ 18432 && ac_type='unsigned long long int' \ 18433 || ac_type='unsigned long int' 18434 18435cat >>confdefs.h <<_ACEOF 18436#define uintmax_t $ac_type 18437_ACEOF 18438 18439fi 18440 18441 18442# The cast to long int works around a bug in the HP C Compiler 18443# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 18444# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 18445# This bug is HP SR number 8606223364. 18446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of uintmax_t" >&5 18447$as_echo_n "checking size of uintmax_t... " >&6; } 18448if ${ac_cv_sizeof_uintmax_t+:} false; then : 18449 $as_echo_n "(cached) " >&6 18450else 18451 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (uintmax_t))" "ac_cv_sizeof_uintmax_t" "$ac_includes_default"; then : 18452 18453else 18454 if test "$ac_cv_type_uintmax_t" = yes; then 18455 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18456$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18457as_fn_error 77 "cannot compute sizeof (uintmax_t) 18458See \`config.log' for more details" "$LINENO" 5; } 18459 else 18460 ac_cv_sizeof_uintmax_t=0 18461 fi 18462fi 18463 18464fi 18465{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uintmax_t" >&5 18466$as_echo "$ac_cv_sizeof_uintmax_t" >&6; } 18467 18468 18469 18470cat >>confdefs.h <<_ACEOF 18471#define SIZEOF_UINTMAX_T $ac_cv_sizeof_uintmax_t 18472_ACEOF 18473 18474 18475ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" 18476if test "x$ac_cv_type_off_t" = xyes; then : 18477 18478else 18479 18480cat >>confdefs.h <<_ACEOF 18481#define off_t long int 18482_ACEOF 18483 18484fi 18485 18486# The cast to long int works around a bug in the HP C Compiler 18487# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 18488# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 18489# This bug is HP SR number 8606223364. 18490{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5 18491$as_echo_n "checking size of off_t... " >&6; } 18492if ${ac_cv_sizeof_off_t+:} false; then : 18493 $as_echo_n "(cached) " >&6 18494else 18495 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then : 18496 18497else 18498 if test "$ac_cv_type_off_t" = yes; then 18499 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18500$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18501as_fn_error 77 "cannot compute sizeof (off_t) 18502See \`config.log' for more details" "$LINENO" 5; } 18503 else 18504 ac_cv_sizeof_off_t=0 18505 fi 18506fi 18507 18508fi 18509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5 18510$as_echo "$ac_cv_sizeof_off_t" >&6; } 18511 18512 18513 18514cat >>confdefs.h <<_ACEOF 18515#define SIZEOF_OFF_T $ac_cv_sizeof_off_t 18516_ACEOF 18517 18518 18519ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" 18520if test "x$ac_cv_type_mode_t" = xyes; then : 18521 18522else 18523 18524cat >>confdefs.h <<_ACEOF 18525#define mode_t int 18526_ACEOF 18527 18528fi 18529 18530 18531 18532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for promoted mode_t type" >&5 18533$as_echo_n "checking for promoted mode_t type... " >&6; } 18534if ${gl_cv_promoted_mode_t+:} false; then : 18535 $as_echo_n "(cached) " >&6 18536else 18537 18538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18539/* end confdefs.h. */ 18540#include <sys/types.h> 18541int 18542main () 18543{ 18544typedef int array[2 * (sizeof (mode_t) < sizeof (int)) - 1]; 18545 ; 18546 return 0; 18547} 18548_ACEOF 18549if ac_fn_c_try_compile "$LINENO"; then : 18550 gl_cv_promoted_mode_t='int' 18551else 18552 gl_cv_promoted_mode_t='mode_t' 18553fi 18554rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18555 18556fi 18557{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_promoted_mode_t" >&5 18558$as_echo "$gl_cv_promoted_mode_t" >&6; } 18559 18560cat >>confdefs.h <<_ACEOF 18561#define PROMOTED_MODE_T $gl_cv_promoted_mode_t 18562_ACEOF 18563 18564 18565ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" 18566if test "x$ac_cv_type_pid_t" = xyes; then : 18567 18568else 18569 18570cat >>confdefs.h <<_ACEOF 18571#define pid_t int 18572_ACEOF 18573 18574fi 18575 18576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 18577$as_echo_n "checking for uid_t in sys/types.h... " >&6; } 18578if ${ac_cv_type_uid_t+:} false; then : 18579 $as_echo_n "(cached) " >&6 18580else 18581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18582/* end confdefs.h. */ 18583#include <sys/types.h> 18584 18585_ACEOF 18586if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 18587 $EGREP "uid_t" >/dev/null 2>&1; then : 18588 ac_cv_type_uid_t=yes 18589else 18590 ac_cv_type_uid_t=no 18591fi 18592rm -f conftest* 18593 18594fi 18595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5 18596$as_echo "$ac_cv_type_uid_t" >&6; } 18597if test $ac_cv_type_uid_t = no; then 18598 18599$as_echo "#define uid_t int" >>confdefs.h 18600 18601 18602$as_echo "#define gid_t int" >>confdefs.h 18603 18604fi 18605 18606 18607ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default" 18608if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then : 18609 18610cat >>confdefs.h <<_ACEOF 18611#define HAVE_STRUCT_STAT_ST_BLOCKS 1 18612_ACEOF 18613 18614 18615$as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h 18616 18617else 18618 case " $LIBOBJS " in 18619 *" fileblocks.$ac_objext "* ) ;; 18620 *) LIBOBJS="$LIBOBJS fileblocks.$ac_objext" 18621 ;; 18622esac 18623 18624fi 18625 18626 18627ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default" 18628if test "x$ac_cv_member_struct_stat_st_blksize" = xyes; then : 18629 18630cat >>confdefs.h <<_ACEOF 18631#define HAVE_STRUCT_STAT_ST_BLKSIZE 1 18632_ACEOF 18633 18634 18635fi 18636ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default" 18637if test "x$ac_cv_member_struct_stat_st_rdev" = xyes; then : 18638 18639cat >>confdefs.h <<_ACEOF 18640#define HAVE_STRUCT_STAT_ST_RDEV 1 18641_ACEOF 18642 18643 18644fi 18645ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default" 18646if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then : 18647 18648cat >>confdefs.h <<_ACEOF 18649#define HAVE_STRUCT_STAT_ST_MTIM 1 18650_ACEOF 18651 18652 18653fi 18654 18655 18656 18657 18658 # Don't call AC_STRUCT_ST_BLOCKS because it causes bugs. Details at 18659 # https://lists.gnu.org/r/bug-gnulib/2011-06/msg00051.html 18660 18661 18662 18663 18664 18665 18666{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sig_atomic_t in signal.h" >&5 18667$as_echo_n "checking for sig_atomic_t in signal.h... " >&6; } 18668cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18669/* end confdefs.h. */ 18670#include <signal.h> 18671 18672_ACEOF 18673if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 18674 $EGREP "sig_atomic_t" >/dev/null 2>&1; then : 18675 18676 ac_cv_type_sig_atomic_t=yes; 18677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18678/* end confdefs.h. */ 18679#include <signal.h> 18680 18681_ACEOF 18682if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 18683 $EGREP "volatile.*sig_atomic_t" >/dev/null 2>&1; then : 18684 18685 is_sig_atomic_t_volatile=yes; 18686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, volatile" >&5 18687$as_echo "yes, volatile" >&6; } 18688 18689else 18690 18691 is_sig_atomic_t_volatile=no; 18692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, non volatile" >&5 18693$as_echo "yes, non volatile" >&6; } 18694 18695fi 18696rm -f conftest* 18697 18698 18699else 18700 18701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18702$as_echo "no" >&6; } 18703 ac_fn_c_check_type "$LINENO" "sig_atomic_t" "ac_cv_type_sig_atomic_t" "$ac_includes_default" 18704if test "x$ac_cv_type_sig_atomic_t" = xyes; then : 18705 18706else 18707 18708cat >>confdefs.h <<_ACEOF 18709#define sig_atomic_t int 18710_ACEOF 18711 18712fi 18713 18714 is_sig_atomic_t_volatile=no 18715 18716fi 18717rm -f conftest* 18718 18719if test $is_sig_atomic_t_volatile = 'yes' 18720then 18721 $as_echo "#define SIG_ATOMIC_VOLATILE_T sig_atomic_t" >>confdefs.h 18722 18723else 18724 $as_echo "#define SIG_ATOMIC_VOLATILE_T volatile sig_atomic_t" >>confdefs.h 18725 18726fi 18727 18728 18729 18730for ac_func in \ 18731 strverscmp \ 18732 strncasecmp \ 18733 realpath 18734 18735do : 18736 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 18737ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 18738if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 18739 cat >>confdefs.h <<_ACEOF 18740#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 18741_ACEOF 18742 18743fi 18744done 18745 18746 18747for ac_func in posix_openpt 18748do : 18749 ac_fn_c_check_func "$LINENO" "posix_openpt" "ac_cv_func_posix_openpt" 18750if test "x$ac_cv_func_posix_openpt" = xyes; then : 18751 cat >>confdefs.h <<_ACEOF 18752#define HAVE_POSIX_OPENPT 1 18753_ACEOF 18754 18755else 18756 for ac_func in getpt 18757do : 18758 ac_fn_c_check_func "$LINENO" "getpt" "ac_cv_func_getpt" 18759if test "x$ac_cv_func_getpt" = xyes; then : 18760 cat >>confdefs.h <<_ACEOF 18761#define HAVE_GETPT 1 18762_ACEOF 18763 18764fi 18765done 18766 18767fi 18768done 18769 18770for ac_func in grantpt 18771do : 18772 ac_fn_c_check_func "$LINENO" "grantpt" "ac_cv_func_grantpt" 18773if test "x$ac_cv_func_grantpt" = xyes; then : 18774 cat >>confdefs.h <<_ACEOF 18775#define HAVE_GRANTPT 1 18776_ACEOF 18777 18778else 18779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grantpt in -lpt" >&5 18780$as_echo_n "checking for grantpt in -lpt... " >&6; } 18781if ${ac_cv_lib_pt_grantpt+:} false; then : 18782 $as_echo_n "(cached) " >&6 18783else 18784 ac_check_lib_save_LIBS=$LIBS 18785LIBS="-lpt $LIBS" 18786cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18787/* end confdefs.h. */ 18788 18789/* Override any GCC internal prototype to avoid an error. 18790 Use char because int might match the return type of a GCC 18791 builtin and then its argument prototype would still apply. */ 18792#ifdef __cplusplus 18793extern "C" 18794#endif 18795char grantpt (); 18796int 18797main () 18798{ 18799return grantpt (); 18800 ; 18801 return 0; 18802} 18803_ACEOF 18804if ac_fn_c_try_link "$LINENO"; then : 18805 ac_cv_lib_pt_grantpt=yes 18806else 18807 ac_cv_lib_pt_grantpt=no 18808fi 18809rm -f core conftest.err conftest.$ac_objext \ 18810 conftest$ac_exeext conftest.$ac_ext 18811LIBS=$ac_check_lib_save_LIBS 18812fi 18813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pt_grantpt" >&5 18814$as_echo "$ac_cv_lib_pt_grantpt" >&6; } 18815if test "x$ac_cv_lib_pt_grantpt" = xyes; then : 18816 cat >>confdefs.h <<_ACEOF 18817#define HAVE_LIBPT 1 18818_ACEOF 18819 18820 LIBS="-lpt $LIBS" 18821 18822fi 18823 18824fi 18825done 18826 18827 18828for ac_func in statlstat 18829do : 18830 ac_fn_c_check_func "$LINENO" "statlstat" "ac_cv_func_statlstat" 18831if test "x$ac_cv_func_statlstat" = xyes; then : 18832 cat >>confdefs.h <<_ACEOF 18833#define HAVE_STATLSTAT 1 18834_ACEOF 18835 18836fi 18837done 18838 18839 18840 18841# Check whether --with-mmap was given. 18842if test "${with_mmap+set}" = set; then : 18843 withval=$with_mmap; 18844fi 18845 18846if test x$with_mmap != xno; then 18847 if test x$with_mmap = x; then 18848 18849 18850 18851 18852 18853for ac_func in getpagesize 18854do : 18855 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" 18856if test "x$ac_cv_func_getpagesize" = xyes; then : 18857 cat >>confdefs.h <<_ACEOF 18858#define HAVE_GETPAGESIZE 1 18859_ACEOF 18860 18861fi 18862done 18863 18864{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5 18865$as_echo_n "checking for working mmap... " >&6; } 18866if ${ac_cv_func_mmap_fixed_mapped+:} false; then : 18867 $as_echo_n "(cached) " >&6 18868else 18869 if test "$cross_compiling" = yes; then : 18870 ac_cv_func_mmap_fixed_mapped=no 18871else 18872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18873/* end confdefs.h. */ 18874$ac_includes_default 18875/* malloc might have been renamed as rpl_malloc. */ 18876#undef malloc 18877 18878/* Thanks to Mike Haertel and Jim Avera for this test. 18879 Here is a matrix of mmap possibilities: 18880 mmap private not fixed 18881 mmap private fixed at somewhere currently unmapped 18882 mmap private fixed at somewhere already mapped 18883 mmap shared not fixed 18884 mmap shared fixed at somewhere currently unmapped 18885 mmap shared fixed at somewhere already mapped 18886 For private mappings, we should verify that changes cannot be read() 18887 back from the file, nor mmap's back from the file at a different 18888 address. (There have been systems where private was not correctly 18889 implemented like the infamous i386 svr4.0, and systems where the 18890 VM page cache was not coherent with the file system buffer cache 18891 like early versions of FreeBSD and possibly contemporary NetBSD.) 18892 For shared mappings, we should conversely verify that changes get 18893 propagated back to all the places they're supposed to be. 18894 18895 Grep wants private fixed already mapped. 18896 The main things grep needs to know about mmap are: 18897 * does it exist and is it safe to write into the mmap'd area 18898 * how to use it (BSD variants) */ 18899 18900#include <fcntl.h> 18901#include <sys/mman.h> 18902 18903#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H 18904char *malloc (); 18905#endif 18906 18907/* This mess was copied from the GNU getpagesize.h. */ 18908#ifndef HAVE_GETPAGESIZE 18909# ifdef _SC_PAGESIZE 18910# define getpagesize() sysconf(_SC_PAGESIZE) 18911# else /* no _SC_PAGESIZE */ 18912# ifdef HAVE_SYS_PARAM_H 18913# include <sys/param.h> 18914# ifdef EXEC_PAGESIZE 18915# define getpagesize() EXEC_PAGESIZE 18916# else /* no EXEC_PAGESIZE */ 18917# ifdef NBPG 18918# define getpagesize() NBPG * CLSIZE 18919# ifndef CLSIZE 18920# define CLSIZE 1 18921# endif /* no CLSIZE */ 18922# else /* no NBPG */ 18923# ifdef NBPC 18924# define getpagesize() NBPC 18925# else /* no NBPC */ 18926# ifdef PAGESIZE 18927# define getpagesize() PAGESIZE 18928# endif /* PAGESIZE */ 18929# endif /* no NBPC */ 18930# endif /* no NBPG */ 18931# endif /* no EXEC_PAGESIZE */ 18932# else /* no HAVE_SYS_PARAM_H */ 18933# define getpagesize() 8192 /* punt totally */ 18934# endif /* no HAVE_SYS_PARAM_H */ 18935# endif /* no _SC_PAGESIZE */ 18936 18937#endif /* no HAVE_GETPAGESIZE */ 18938 18939int 18940main () 18941{ 18942 char *data, *data2, *data3; 18943 const char *cdata2; 18944 int i, pagesize; 18945 int fd, fd2; 18946 18947 pagesize = getpagesize (); 18948 18949 /* First, make a file with some known garbage in it. */ 18950 data = (char *) malloc (pagesize); 18951 if (!data) 18952 return 1; 18953 for (i = 0; i < pagesize; ++i) 18954 *(data + i) = rand (); 18955 umask (0); 18956 fd = creat ("conftest.mmap", 0600); 18957 if (fd < 0) 18958 return 2; 18959 if (write (fd, data, pagesize) != pagesize) 18960 return 3; 18961 close (fd); 18962 18963 /* Next, check that the tail of a page is zero-filled. File must have 18964 non-zero length, otherwise we risk SIGBUS for entire page. */ 18965 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600); 18966 if (fd2 < 0) 18967 return 4; 18968 cdata2 = ""; 18969 if (write (fd2, cdata2, 1) != 1) 18970 return 5; 18971 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L); 18972 if (data2 == MAP_FAILED) 18973 return 6; 18974 for (i = 0; i < pagesize; ++i) 18975 if (*(data2 + i)) 18976 return 7; 18977 close (fd2); 18978 if (munmap (data2, pagesize)) 18979 return 8; 18980 18981 /* Next, try to mmap the file at a fixed address which already has 18982 something else allocated at it. If we can, also make sure that 18983 we see the same garbage. */ 18984 fd = open ("conftest.mmap", O_RDWR); 18985 if (fd < 0) 18986 return 9; 18987 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, 18988 MAP_PRIVATE | MAP_FIXED, fd, 0L)) 18989 return 10; 18990 for (i = 0; i < pagesize; ++i) 18991 if (*(data + i) != *(data2 + i)) 18992 return 11; 18993 18994 /* Finally, make sure that changes to the mapped area do not 18995 percolate back to the file as seen by read(). (This is a bug on 18996 some variants of i386 svr4.0.) */ 18997 for (i = 0; i < pagesize; ++i) 18998 *(data2 + i) = *(data2 + i) + 1; 18999 data3 = (char *) malloc (pagesize); 19000 if (!data3) 19001 return 12; 19002 if (read (fd, data3, pagesize) != pagesize) 19003 return 13; 19004 for (i = 0; i < pagesize; ++i) 19005 if (*(data + i) != *(data3 + i)) 19006 return 14; 19007 close (fd); 19008 return 0; 19009} 19010_ACEOF 19011if ac_fn_c_try_run "$LINENO"; then : 19012 ac_cv_func_mmap_fixed_mapped=yes 19013else 19014 ac_cv_func_mmap_fixed_mapped=no 19015fi 19016rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 19017 conftest.$ac_objext conftest.beam conftest.$ac_ext 19018fi 19019 19020fi 19021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5 19022$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; } 19023if test $ac_cv_func_mmap_fixed_mapped = yes; then 19024 19025$as_echo "#define HAVE_MMAP 1" >>confdefs.h 19026 19027fi 19028rm -f conftest.mmap conftest.txt 19029 19030 else 19031 $as_echo "#define HAVE_MMAP 1" >>confdefs.h 19032 19033 fi 19034fi 19035 19036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_process_stats in -lseq" >&5 19037$as_echo_n "checking for get_process_stats in -lseq... " >&6; } 19038if ${ac_cv_lib_seq_get_process_stats+:} false; then : 19039 $as_echo_n "(cached) " >&6 19040else 19041 ac_check_lib_save_LIBS=$LIBS 19042LIBS="-lseq $LIBS" 19043cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19044/* end confdefs.h. */ 19045 19046/* Override any GCC internal prototype to avoid an error. 19047 Use char because int might match the return type of a GCC 19048 builtin and then its argument prototype would still apply. */ 19049#ifdef __cplusplus 19050extern "C" 19051#endif 19052char get_process_stats (); 19053int 19054main () 19055{ 19056return get_process_stats (); 19057 ; 19058 return 0; 19059} 19060_ACEOF 19061if ac_fn_c_try_link "$LINENO"; then : 19062 ac_cv_lib_seq_get_process_stats=yes 19063else 19064 ac_cv_lib_seq_get_process_stats=no 19065fi 19066rm -f core conftest.err conftest.$ac_objext \ 19067 conftest$ac_exeext conftest.$ac_ext 19068LIBS=$ac_check_lib_save_LIBS 19069fi 19070{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_seq_get_process_stats" >&5 19071$as_echo "$ac_cv_lib_seq_get_process_stats" >&6; } 19072if test "x$ac_cv_lib_seq_get_process_stats" = xyes; then : 19073 19074 LIBS="$LIBS -lseq" 19075 19076$as_echo "#define HAVE_GET_PROCESS_STATS 1" >>confdefs.h 19077 19078fi 19079 19080 19081 19082 19083 19084 19085 19086 19087 19088 19089 19090 19091 19092 for ac_header in fcntl.h utime.h 19093do : 19094 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 19095ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 19096if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 19097 cat >>confdefs.h <<_ACEOF 19098#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 19099_ACEOF 19100 19101fi 19102 19103done 19104 19105 19106 19107 19108 for ac_func in listmntent 19109do : 19110 ac_fn_c_check_func "$LINENO" "listmntent" "ac_cv_func_listmntent" 19111if test "x$ac_cv_func_listmntent" = xyes; then : 19112 cat >>confdefs.h <<_ACEOF 19113#define HAVE_LISTMNTENT 1 19114_ACEOF 19115 19116fi 19117done 19118 19119 19120 19121 # We must include grp.h before ucred.h on OSF V4.0, since ucred.h uses 19122 # NGROUPS (as the array dimension for a struct member) without a definition. 19123 for ac_header in sys/ucred.h 19124do : 19125 ac_fn_c_check_header_compile "$LINENO" "sys/ucred.h" "ac_cv_header_sys_ucred_h" "#include <grp.h> 19126" 19127if test "x$ac_cv_header_sys_ucred_h" = xyes; then : 19128 cat >>confdefs.h <<_ACEOF 19129#define HAVE_SYS_UCRED_H 1 19130_ACEOF 19131 19132fi 19133 19134done 19135 19136 19137 for ac_header in sys/mount.h 19138do : 19139 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "$ac_includes_default 19140 #if HAVE_SYS_PARAM_H 19141 #include <sys/param.h> 19142 #endif 19143 19144" 19145if test "x$ac_cv_header_sys_mount_h" = xyes; then : 19146 cat >>confdefs.h <<_ACEOF 19147#define HAVE_SYS_MOUNT_H 1 19148_ACEOF 19149 19150fi 19151 19152done 19153 19154 19155 for ac_header in mntent.h sys/fs_types.h 19156do : 19157 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 19158ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 19159if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 19160 cat >>confdefs.h <<_ACEOF 19161#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 19162_ACEOF 19163 19164fi 19165 19166done 19167 19168 getfsstat_includes="\ 19169$ac_includes_default 19170#if HAVE_SYS_PARAM_H 19171# include <sys/param.h> /* needed by powerpc-apple-darwin1.3.7 */ 19172#endif 19173#if HAVE_SYS_UCRED_H 19174# include <grp.h> /* needed for definition of NGROUPS */ 19175# include <sys/ucred.h> /* needed by powerpc-apple-darwin1.3.7 */ 19176#endif 19177#if HAVE_SYS_MOUNT_H 19178# include <sys/mount.h> 19179#endif 19180#if HAVE_SYS_FS_TYPES_H 19181# include <sys/fs_types.h> /* needed by powerpc-apple-darwin1.3.7 */ 19182#endif 19183" 19184 ac_fn_c_check_member "$LINENO" "struct fsstat" "f_fstypename" "ac_cv_member_struct_fsstat_f_fstypename" "$getfsstat_includes 19185" 19186if test "x$ac_cv_member_struct_fsstat_f_fstypename" = xyes; then : 19187 19188cat >>confdefs.h <<_ACEOF 19189#define HAVE_STRUCT_FSSTAT_F_FSTYPENAME 1 19190_ACEOF 19191 19192 19193fi 19194 19195 19196 # Determine how to get the list of mounted file systems. 19197 ac_list_mounted_fs= 19198 19199 # If the getmntent function is available but not in the standard library, 19200 # make sure LIBS contains the appropriate -l option. 19201 19202 # getmntent is in the standard C library on most systems, but in -lgen on 19203 # Unixware. 19204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getmntent" >&5 19205$as_echo_n "checking for library containing getmntent... " >&6; } 19206if ${ac_cv_search_getmntent+:} false; then : 19207 $as_echo_n "(cached) " >&6 19208else 19209 ac_func_search_save_LIBS=$LIBS 19210cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19211/* end confdefs.h. */ 19212 19213/* Override any GCC internal prototype to avoid an error. 19214 Use char because int might match the return type of a GCC 19215 builtin and then its argument prototype would still apply. */ 19216#ifdef __cplusplus 19217extern "C" 19218#endif 19219char getmntent (); 19220int 19221main () 19222{ 19223return getmntent (); 19224 ; 19225 return 0; 19226} 19227_ACEOF 19228for ac_lib in '' gen; do 19229 if test -z "$ac_lib"; then 19230 ac_res="none required" 19231 else 19232 ac_res=-l$ac_lib 19233 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 19234 fi 19235 if ac_fn_c_try_link "$LINENO"; then : 19236 ac_cv_search_getmntent=$ac_res 19237fi 19238rm -f core conftest.err conftest.$ac_objext \ 19239 conftest$ac_exeext 19240 if ${ac_cv_search_getmntent+:} false; then : 19241 break 19242fi 19243done 19244if ${ac_cv_search_getmntent+:} false; then : 19245 19246else 19247 ac_cv_search_getmntent=no 19248fi 19249rm conftest.$ac_ext 19250LIBS=$ac_func_search_save_LIBS 19251fi 19252{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getmntent" >&5 19253$as_echo "$ac_cv_search_getmntent" >&6; } 19254ac_res=$ac_cv_search_getmntent 19255if test "$ac_res" != no; then : 19256 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 19257 19258fi 19259 19260 for ac_func in getmntent 19261do : 19262 ac_fn_c_check_func "$LINENO" "getmntent" "ac_cv_func_getmntent" 19263if test "x$ac_cv_func_getmntent" = xyes; then : 19264 cat >>confdefs.h <<_ACEOF 19265#define HAVE_GETMNTENT 1 19266_ACEOF 19267 19268fi 19269done 19270 19271 19272 19273 if test -z "$ac_list_mounted_fs"; then 19274 # AIX. 19275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mntctl function and struct vmount" >&5 19276$as_echo_n "checking for mntctl function and struct vmount... " >&6; } 19277if ${fu_cv_sys_mounted_vmount+:} false; then : 19278 $as_echo_n "(cached) " >&6 19279else 19280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19281/* end confdefs.h. */ 19282#include <fshelp.h> 19283_ACEOF 19284if ac_fn_c_try_cpp "$LINENO"; then : 19285 fu_cv_sys_mounted_vmount=yes 19286else 19287 fu_cv_sys_mounted_vmount=no 19288fi 19289rm -f conftest.err conftest.i conftest.$ac_ext 19290fi 19291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_vmount" >&5 19292$as_echo "$fu_cv_sys_mounted_vmount" >&6; } 19293 if test $fu_cv_sys_mounted_vmount = yes; then 19294 ac_list_mounted_fs=found 19295 19296$as_echo "#define MOUNTED_VMOUNT 1" >>confdefs.h 19297 19298 fi 19299 fi 19300 19301 if test $ac_cv_func_getmntent = yes; then 19302 19303 # This system has the getmntent function. 19304 # Determine whether it's the one-argument variant or the two-argument one. 19305 19306 if test -z "$ac_list_mounted_fs"; then 19307 # glibc, HP-UX, IRIX, Cygwin, Android, also (obsolete) 4.3BSD, SunOS. 19308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for one-argument getmntent function" >&5 19309$as_echo_n "checking for one-argument getmntent function... " >&6; } 19310if ${fu_cv_sys_mounted_getmntent1+:} false; then : 19311 $as_echo_n "(cached) " >&6 19312else 19313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19314/* end confdefs.h. */ 19315 19316/* SunOS 4.1.x /usr/include/mntent.h needs this for FILE */ 19317#include <stdio.h> 19318 19319#include <mntent.h> 19320#if defined __ANDROID__ /* Android */ 19321# undef MOUNTED 19322# define MOUNTED "/proc/mounts" 19323#elif !defined MOUNTED 19324# if defined _PATH_MOUNTED /* GNU libc */ 19325# define MOUNTED _PATH_MOUNTED 19326# endif 19327# if defined MNT_MNTTAB /* HP-UX. */ 19328# define MOUNTED MNT_MNTTAB 19329# endif 19330#endif 19331 19332int 19333main () 19334{ 19335struct mntent *mnt = 0; char *table = MOUNTED; 19336 if (sizeof mnt && sizeof table) return 0; 19337 19338 ; 19339 return 0; 19340} 19341_ACEOF 19342if ac_fn_c_try_compile "$LINENO"; then : 19343 fu_cv_sys_mounted_getmntent1=yes 19344else 19345 fu_cv_sys_mounted_getmntent1=no 19346fi 19347rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19348 19349fi 19350{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_getmntent1" >&5 19351$as_echo "$fu_cv_sys_mounted_getmntent1" >&6; } 19352 if test $fu_cv_sys_mounted_getmntent1 = yes; then 19353 ac_list_mounted_fs=found 19354 19355$as_echo "#define MOUNTED_GETMNTENT1 1" >>confdefs.h 19356 19357 for ac_func in setmntent endmntent hasmntopt 19358do : 19359 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 19360ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 19361if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 19362 cat >>confdefs.h <<_ACEOF 19363#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 19364_ACEOF 19365 19366fi 19367done 19368 19369 fi 19370 fi 19371 19372 if test -z "$ac_list_mounted_fs"; then 19373 # Solaris >= 8. 19374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getextmntent function" >&5 19375$as_echo_n "checking for getextmntent function... " >&6; } 19376if ${fu_cv_sys_mounted_getextmntent+:} false; then : 19377 $as_echo_n "(cached) " >&6 19378else 19379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19380/* end confdefs.h. */ 19381#include <sys/mnttab.h> 19382 19383_ACEOF 19384if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 19385 $EGREP "getextmntent" >/dev/null 2>&1; then : 19386 fu_cv_sys_mounted_getextmntent=yes 19387else 19388 fu_cv_sys_mounted_getextmntent=no 19389fi 19390rm -f conftest* 19391 19392fi 19393{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_getextmntent" >&5 19394$as_echo "$fu_cv_sys_mounted_getextmntent" >&6; } 19395 if test $fu_cv_sys_mounted_getextmntent = yes; then 19396 ac_list_mounted_fs=found 19397 19398$as_echo "#define MOUNTED_GETEXTMNTENT 1" >>confdefs.h 19399 19400 fi 19401 fi 19402 19403 if test -z "$ac_list_mounted_fs"; then 19404 # Solaris < 8, also (obsolete) SVR4. 19405 # Solaris >= 8 has the two-argument getmntent but is already handled above. 19406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for two-argument getmntent function" >&5 19407$as_echo_n "checking for two-argument getmntent function... " >&6; } 19408if ${fu_cv_sys_mounted_getmntent2+:} false; then : 19409 $as_echo_n "(cached) " >&6 19410else 19411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19412/* end confdefs.h. */ 19413#include <sys/mnttab.h> 19414 19415_ACEOF 19416if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 19417 $EGREP "getmntent" >/dev/null 2>&1; then : 19418 fu_cv_sys_mounted_getmntent2=yes 19419else 19420 fu_cv_sys_mounted_getmntent2=no 19421fi 19422rm -f conftest* 19423 19424 19425fi 19426{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_getmntent2" >&5 19427$as_echo "$fu_cv_sys_mounted_getmntent2" >&6; } 19428 if test $fu_cv_sys_mounted_getmntent2 = yes; then 19429 ac_list_mounted_fs=found 19430 19431$as_echo "#define MOUNTED_GETMNTENT2 1" >>confdefs.h 19432 19433 for ac_func in hasmntopt 19434do : 19435 ac_fn_c_check_func "$LINENO" "hasmntopt" "ac_cv_func_hasmntopt" 19436if test "x$ac_cv_func_hasmntopt" = xyes; then : 19437 cat >>confdefs.h <<_ACEOF 19438#define HAVE_HASMNTOPT 1 19439_ACEOF 19440 19441fi 19442done 19443 19444 fi 19445 fi 19446 19447 fi 19448 19449 if test -z "$ac_list_mounted_fs"; then 19450 # OSF/1, also (obsolete) Apple Darwin 1.3. 19451 # powerpc-apple-darwin1.3.7 needs sys/param.h sys/ucred.h sys/fs_types.h 19452 19453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getfsstat function" >&5 19454$as_echo_n "checking for getfsstat function... " >&6; } 19455if ${fu_cv_sys_mounted_getfsstat+:} false; then : 19456 $as_echo_n "(cached) " >&6 19457else 19458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19459/* end confdefs.h. */ 19460 19461#include <sys/types.h> 19462#if HAVE_STRUCT_FSSTAT_F_FSTYPENAME 19463# define FS_TYPE(Ent) ((Ent).f_fstypename) 19464#else 19465# define FS_TYPE(Ent) mnt_names[(Ent).f_type] 19466#endif 19467$getfsstat_includes 19468 19469int 19470main () 19471{ 19472struct statfs *stats; 19473 int numsys = getfsstat ((struct statfs *)0, 0L, MNT_WAIT); 19474 char *t = FS_TYPE (*stats); 19475 19476 ; 19477 return 0; 19478} 19479_ACEOF 19480if ac_fn_c_try_link "$LINENO"; then : 19481 fu_cv_sys_mounted_getfsstat=yes 19482else 19483 fu_cv_sys_mounted_getfsstat=no 19484fi 19485rm -f core conftest.err conftest.$ac_objext \ 19486 conftest$ac_exeext conftest.$ac_ext 19487 19488fi 19489{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_getfsstat" >&5 19490$as_echo "$fu_cv_sys_mounted_getfsstat" >&6; } 19491 if test $fu_cv_sys_mounted_getfsstat = yes; then 19492 ac_list_mounted_fs=found 19493 19494$as_echo "#define MOUNTED_GETFSSTAT 1" >>confdefs.h 19495 19496 fi 19497 fi 19498 19499 if test -z "$ac_list_mounted_fs"; then 19500 # (obsolete) SVR3 19501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FIXME existence of three headers" >&5 19502$as_echo_n "checking for FIXME existence of three headers... " >&6; } 19503if ${fu_cv_sys_mounted_fread_fstyp+:} false; then : 19504 $as_echo_n "(cached) " >&6 19505else 19506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19507/* end confdefs.h. */ 19508 19509#include <sys/statfs.h> 19510#include <sys/fstyp.h> 19511#include <mnttab.h> 19512 19513_ACEOF 19514if ac_fn_c_try_cpp "$LINENO"; then : 19515 fu_cv_sys_mounted_fread_fstyp=yes 19516else 19517 fu_cv_sys_mounted_fread_fstyp=no 19518fi 19519rm -f conftest.err conftest.i conftest.$ac_ext 19520 19521fi 19522{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_fread_fstyp" >&5 19523$as_echo "$fu_cv_sys_mounted_fread_fstyp" >&6; } 19524 if test $fu_cv_sys_mounted_fread_fstyp = yes; then 19525 ac_list_mounted_fs=found 19526 19527$as_echo "#define MOUNTED_FREAD_FSTYP 1" >>confdefs.h 19528 19529 fi 19530 fi 19531 19532 if test -z "$ac_list_mounted_fs"; then 19533 # Mac OS X, FreeBSD, NetBSD, OpenBSD, Minix, also (obsolete) 4.4BSD. 19534 # OSF/1 also has getmntinfo but is already handled above. 19535 # We cannot use AC_CHECK_FUNCS([getmntinfo]) here, because at the linker 19536 # level the function is sometimes called getmntinfo64 or getmntinfo$INODE64 19537 # on Mac OS X, __getmntinfo13 on NetBSD and Minix, _F64_getmntinfo on OSF/1. 19538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getmntinfo function" >&5 19539$as_echo_n "checking for getmntinfo function... " >&6; } 19540if ${fu_cv_sys_mounted_getmntinfo+:} false; then : 19541 $as_echo_n "(cached) " >&6 19542else 19543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19544/* end confdefs.h. */ 19545 19546#if HAVE_SYS_PARAM_H 19547# include <sys/param.h> 19548#endif 19549#include <sys/types.h> 19550#if HAVE_SYS_MOUNT_H 19551# include <sys/mount.h> 19552#endif 19553#if HAVE_SYS_STATVFS_H 19554# include <sys/statvfs.h> 19555#endif 19556#include <stdlib.h> 19557 19558int 19559main () 19560{ 19561int count = getmntinfo (NULL, MNT_WAIT); 19562 19563 ; 19564 return 0; 19565} 19566_ACEOF 19567if ac_fn_c_try_link "$LINENO"; then : 19568 fu_cv_sys_mounted_getmntinfo=yes 19569else 19570 fu_cv_sys_mounted_getmntinfo=no 19571fi 19572rm -f core conftest.err conftest.$ac_objext \ 19573 conftest$ac_exeext conftest.$ac_ext 19574 19575fi 19576{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_getmntinfo" >&5 19577$as_echo "$fu_cv_sys_mounted_getmntinfo" >&6; } 19578 if test $fu_cv_sys_mounted_getmntinfo = yes; then 19579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getmntinfo returns statvfs structures" >&5 19580$as_echo_n "checking whether getmntinfo returns statvfs structures... " >&6; } 19581if ${fu_cv_sys_mounted_getmntinfo2+:} false; then : 19582 $as_echo_n "(cached) " >&6 19583else 19584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19585/* end confdefs.h. */ 19586 19587#if HAVE_SYS_PARAM_H 19588# include <sys/param.h> 19589#endif 19590#include <sys/types.h> 19591#if HAVE_SYS_MOUNT_H 19592# include <sys/mount.h> 19593#endif 19594#if HAVE_SYS_STATVFS_H 19595# include <sys/statvfs.h> 19596#endif 19597extern 19598#ifdef __cplusplus 19599"C" 19600#endif 19601int getmntinfo (struct statfs **, int); 19602 19603int 19604main () 19605{ 19606 19607 ; 19608 return 0; 19609} 19610_ACEOF 19611if ac_fn_c_try_compile "$LINENO"; then : 19612 fu_cv_sys_mounted_getmntinfo2=no 19613else 19614 fu_cv_sys_mounted_getmntinfo2=yes 19615fi 19616rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19617 19618fi 19619{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_getmntinfo2" >&5 19620$as_echo "$fu_cv_sys_mounted_getmntinfo2" >&6; } 19621 if test $fu_cv_sys_mounted_getmntinfo2 = no; then 19622 # Mac OS X, FreeBSD, OpenBSD, also (obsolete) 4.4BSD. 19623 ac_list_mounted_fs=found 19624 19625$as_echo "#define MOUNTED_GETMNTINFO 1" >>confdefs.h 19626 19627 else 19628 # NetBSD, Minix. 19629 ac_list_mounted_fs=found 19630 19631$as_echo "#define MOUNTED_GETMNTINFO2 1" >>confdefs.h 19632 19633 fi 19634 fi 19635 fi 19636 19637 if test -z "$ac_list_mounted_fs"; then 19638 # Haiku, also (obsolete) BeOS. 19639 for ac_func in next_dev fs_stat_dev 19640do : 19641 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 19642ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 19643if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 19644 cat >>confdefs.h <<_ACEOF 19645#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 19646_ACEOF 19647 19648fi 19649done 19650 19651 for ac_header in fs_info.h 19652do : 19653 ac_fn_c_check_header_mongrel "$LINENO" "fs_info.h" "ac_cv_header_fs_info_h" "$ac_includes_default" 19654if test "x$ac_cv_header_fs_info_h" = xyes; then : 19655 cat >>confdefs.h <<_ACEOF 19656#define HAVE_FS_INFO_H 1 19657_ACEOF 19658 19659fi 19660 19661done 19662 19663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BEOS mounted file system support functions" >&5 19664$as_echo_n "checking for BEOS mounted file system support functions... " >&6; } 19665if ${fu_cv_sys_mounted_fs_stat_dev+:} false; then : 19666 $as_echo_n "(cached) " >&6 19667else 19668 if test $ac_cv_header_fs_info_h = yes \ 19669 && test $ac_cv_func_next_dev = yes \ 19670 && test $ac_cv_func_fs_stat_dev = yes; then 19671 fu_cv_sys_mounted_fs_stat_dev=yes 19672 else 19673 fu_cv_sys_mounted_fs_stat_dev=no 19674 fi 19675 19676fi 19677{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_fs_stat_dev" >&5 19678$as_echo "$fu_cv_sys_mounted_fs_stat_dev" >&6; } 19679 if test $fu_cv_sys_mounted_fs_stat_dev = yes; then 19680 ac_list_mounted_fs=found 19681 19682$as_echo "#define MOUNTED_FS_STAT_DEV 1" >>confdefs.h 19683 19684 fi 19685 fi 19686 19687 if test -z "$ac_list_mounted_fs"; then 19688 # Interix / BSD alike statvfs 19689 # the code is really interix specific, so make sure, we're on it. 19690 case "$host" in 19691 *-interix*) 19692 for ac_func in statvfs 19693do : 19694 ac_fn_c_check_func "$LINENO" "statvfs" "ac_cv_func_statvfs" 19695if test "x$ac_cv_func_statvfs" = xyes; then : 19696 cat >>confdefs.h <<_ACEOF 19697#define HAVE_STATVFS 1 19698_ACEOF 19699 19700fi 19701done 19702 19703 if test $ac_cv_func_statvfs = yes; then 19704 ac_list_mounted_fs=found 19705 19706$as_echo "#define MOUNTED_INTERIX_STATVFS 1" >>confdefs.h 19707 19708 fi 19709 ;; 19710 esac 19711 fi 19712 19713 if test -z "$ac_list_mounted_fs"; then 19714 as_fn_error $? "could not determine how to read list of mounted file systems" "$LINENO" 5 19715 # FIXME -- no need to abort building the whole package 19716 # Can't build mountlist.c or anything that needs its functions 19717 fi 19718 19719 if test $ac_list_mounted_fs = found; then 19720 gl_cv_list_mounted_fs=yes 19721 else 19722 gl_cv_list_mounted_fs=no 19723 fi 19724 19725 if test $gl_cv_list_mounted_fs = yes; then 19726 19727 for ac_header in sys/mntent.h 19728do : 19729 ac_fn_c_check_header_mongrel "$LINENO" "sys/mntent.h" "ac_cv_header_sys_mntent_h" "$ac_includes_default" 19730if test "x$ac_cv_header_sys_mntent_h" = xyes; then : 19731 cat >>confdefs.h <<_ACEOF 19732#define HAVE_SYS_MNTENT_H 1 19733_ACEOF 19734 19735fi 19736 19737done 19738 19739 19740ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default" 19741if test "x$ac_cv_header_sys_mkdev_h" = xyes; then : 19742 19743$as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h 19744 19745fi 19746 19747 19748if test $ac_cv_header_sys_mkdev_h = no; then 19749 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default" 19750if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then : 19751 19752$as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h 19753 19754fi 19755 19756 19757fi 19758 19759 ac_fn_c_check_member "$LINENO" "struct statfs" "f_fstypename" "ac_cv_member_struct_statfs_f_fstypename" " 19760 #include <sys/types.h> 19761 #include <sys/param.h> 19762 #include <sys/mount.h> 19763 19764" 19765if test "x$ac_cv_member_struct_statfs_f_fstypename" = xyes; then : 19766 19767cat >>confdefs.h <<_ACEOF 19768#define HAVE_STRUCT_STATFS_F_FSTYPENAME 1 19769_ACEOF 19770 19771 19772fi 19773 19774 19775 19776 19777$as_echo "#define HAVE_INFOMOUNT_LIST 1" >>confdefs.h 19778 19779 else 19780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine how to read list of mounted fs" >&5 19781$as_echo "$as_me: WARNING: could not determine how to read list of mounted fs" >&2;}; 19782 fi 19783 19784 19785 19786 19787 for ac_header in sys/mount.h 19788do : 19789 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "$ac_includes_default 19790 #if HAVE_SYS_PARAM_H 19791 #include <sys/param.h> 19792 #endif 19793" 19794if test "x$ac_cv_header_sys_mount_h" = xyes; then : 19795 cat >>confdefs.h <<_ACEOF 19796#define HAVE_SYS_MOUNT_H 1 19797_ACEOF 19798 19799fi 19800 19801done 19802 19803 19804 19805 19806 ac_fsusage_space=no 19807 19808 # Perform only the link test since it seems there are no variants of the 19809 # statvfs function. This check is more than just AC_CHECK_FUNCS([statvfs]) 19810 # because that got a false positive on SCO OSR5. Adding the declaration 19811 # of a 'struct statvfs' causes this test to fail (as it should) on such 19812 # systems. That system is reported to work fine with STAT_STATFS4 which 19813 # is what it gets when this test fails. 19814 if test $ac_fsusage_space = no; then 19815 # glibc/{Hurd,kFreeBSD}, FreeBSD >= 5.0, NetBSD >= 3.0, 19816 # OpenBSD >= 4.4, AIX, HP-UX, IRIX, Solaris, Cygwin, Interix, BeOS. 19817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs function (SVR4)" >&5 19818$as_echo_n "checking for statvfs function (SVR4)... " >&6; } 19819if ${fu_cv_sys_stat_statvfs+:} false; then : 19820 $as_echo_n "(cached) " >&6 19821else 19822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19823/* end confdefs.h. */ 19824 19825#include <sys/types.h> 19826#ifdef __osf__ 19827"Do not use Tru64's statvfs implementation" 19828#endif 19829 19830#include <sys/statvfs.h> 19831 19832struct statvfs fsd; 19833 19834#if defined __APPLE__ && defined __MACH__ 19835#include <limits.h> 19836/* On Mac OS X >= 10.5, f_blocks in 'struct statvfs' is a 32-bit quantity; 19837 that commonly limits file systems to 4 TiB. Whereas f_blocks in 19838 'struct statfs' is a 64-bit type, thanks to the large-file support 19839 that was enabled above. In this case, don't use statvfs(); use statfs() 19840 instead. */ 19841int check_f_blocks_size[sizeof fsd.f_blocks * CHAR_BIT <= 32 ? -1 : 1]; 19842#endif 19843 19844int 19845main () 19846{ 19847statvfs (0, &fsd); 19848 ; 19849 return 0; 19850} 19851_ACEOF 19852if ac_fn_c_try_link "$LINENO"; then : 19853 fu_cv_sys_stat_statvfs=yes 19854else 19855 fu_cv_sys_stat_statvfs=no 19856fi 19857rm -f core conftest.err conftest.$ac_objext \ 19858 conftest$ac_exeext conftest.$ac_ext 19859 19860fi 19861{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_statvfs" >&5 19862$as_echo "$fu_cv_sys_stat_statvfs" >&6; } 19863 if test $fu_cv_sys_stat_statvfs = yes; then 19864 ac_fsusage_space=yes 19865 # AIX >= 5.2 has statvfs64 that has a wider f_blocks field than statvfs. 19866 # glibc, HP-UX, IRIX, Solaris have statvfs64 as well, but on these systems 19867 # statvfs with large-file support is already equivalent to statvfs64. 19868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use statvfs64" >&5 19869$as_echo_n "checking whether to use statvfs64... " >&6; } 19870if ${fu_cv_sys_stat_statvfs64+:} false; then : 19871 $as_echo_n "(cached) " >&6 19872else 19873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19874/* end confdefs.h. */ 19875#include <sys/types.h> 19876 #include <sys/statvfs.h> 19877 struct statvfs64 fsd; 19878 int check_f_blocks_larger_in_statvfs64 19879 [sizeof (((struct statvfs64 *) 0)->f_blocks) 19880 > sizeof (((struct statvfs *) 0)->f_blocks) 19881 ? 1 : -1]; 19882 19883int 19884main () 19885{ 19886statvfs64 (0, &fsd); 19887 ; 19888 return 0; 19889} 19890_ACEOF 19891if ac_fn_c_try_link "$LINENO"; then : 19892 fu_cv_sys_stat_statvfs64=yes 19893else 19894 fu_cv_sys_stat_statvfs64=no 19895fi 19896rm -f core conftest.err conftest.$ac_objext \ 19897 conftest$ac_exeext conftest.$ac_ext 19898 19899fi 19900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_statvfs64" >&5 19901$as_echo "$fu_cv_sys_stat_statvfs64" >&6; } 19902 if test $fu_cv_sys_stat_statvfs64 = yes; then 19903 19904$as_echo "#define STAT_STATVFS64 1" >>confdefs.h 19905 19906 else 19907 19908$as_echo "#define STAT_STATVFS 1" >>confdefs.h 19909 19910 fi 19911 fi 19912 fi 19913 19914 # Check for this unconditionally so we have a 19915 # good fallback on glibc/Linux > 2.6 < 2.6.36 19916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for two-argument statfs with statfs.f_frsize member" >&5 19917$as_echo_n "checking for two-argument statfs with statfs.f_frsize member... " >&6; } 19918if ${fu_cv_sys_stat_statfs2_frsize+:} false; then : 19919 $as_echo_n "(cached) " >&6 19920else 19921 if test "$cross_compiling" = yes; then : 19922 fu_cv_sys_stat_statfs2_frsize=no 19923else 19924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19925/* end confdefs.h. */ 19926 19927#ifdef HAVE_SYS_PARAM_H 19928#include <sys/param.h> 19929#endif 19930#ifdef HAVE_SYS_MOUNT_H 19931#include <sys/mount.h> 19932#endif 19933#ifdef HAVE_SYS_VFS_H 19934#include <sys/vfs.h> 19935#endif 19936 int 19937 main () 19938 { 19939 struct statfs fsd; 19940 fsd.f_frsize = 0; 19941 return statfs (".", &fsd) != 0; 19942 } 19943_ACEOF 19944if ac_fn_c_try_run "$LINENO"; then : 19945 fu_cv_sys_stat_statfs2_frsize=yes 19946else 19947 fu_cv_sys_stat_statfs2_frsize=no 19948fi 19949rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 19950 conftest.$ac_objext conftest.beam conftest.$ac_ext 19951fi 19952 19953 19954fi 19955{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_statfs2_frsize" >&5 19956$as_echo "$fu_cv_sys_stat_statfs2_frsize" >&6; } 19957 if test $fu_cv_sys_stat_statfs2_frsize = yes; then 19958 ac_fsusage_space=yes 19959 19960$as_echo "#define STAT_STATFS2_FRSIZE 1" >>confdefs.h 19961 19962 fi 19963 19964 if test $ac_fsusage_space = no; then 19965 # DEC Alpha running OSF/1 19966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 3-argument statfs function (DEC OSF/1)" >&5 19967$as_echo_n "checking for 3-argument statfs function (DEC OSF/1)... " >&6; } 19968if ${fu_cv_sys_stat_statfs3_osf1+:} false; then : 19969 $as_echo_n "(cached) " >&6 19970else 19971 if test "$cross_compiling" = yes; then : 19972 fu_cv_sys_stat_statfs3_osf1=no 19973else 19974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19975/* end confdefs.h. */ 19976 19977#include <sys/param.h> 19978#include <sys/types.h> 19979#include <sys/mount.h> 19980 int 19981 main () 19982 { 19983 struct statfs fsd; 19984 fsd.f_fsize = 0; 19985 return statfs (".", &fsd, sizeof (struct statfs)) != 0; 19986 } 19987_ACEOF 19988if ac_fn_c_try_run "$LINENO"; then : 19989 fu_cv_sys_stat_statfs3_osf1=yes 19990else 19991 fu_cv_sys_stat_statfs3_osf1=no 19992fi 19993rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 19994 conftest.$ac_objext conftest.beam conftest.$ac_ext 19995fi 19996 19997 19998fi 19999{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_statfs3_osf1" >&5 20000$as_echo "$fu_cv_sys_stat_statfs3_osf1" >&6; } 20001 if test $fu_cv_sys_stat_statfs3_osf1 = yes; then 20002 ac_fsusage_space=yes 20003 20004$as_echo "#define STAT_STATFS3_OSF1 1" >>confdefs.h 20005 20006 fi 20007 fi 20008 20009 if test $ac_fsusage_space = no; then 20010 # glibc/Linux, Mac OS X, FreeBSD < 5.0, NetBSD < 3.0, OpenBSD < 4.4. 20011 # (glibc/{Hurd,kFreeBSD}, FreeBSD >= 5.0, NetBSD >= 3.0, 20012 # OpenBSD >= 4.4, AIX, HP-UX, OSF/1, Cygwin already handled above.) 20013 # (On IRIX you need to include <sys/statfs.h>, not only <sys/mount.h> and 20014 # <sys/vfs.h>.) 20015 # (On Solaris, statfs has 4 arguments.) 20016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for two-argument statfs with statfs.f_bsize member (AIX, 4.3BSD)" >&5 20017$as_echo_n "checking for two-argument statfs with statfs.f_bsize member (AIX, 4.3BSD)... " >&6; } 20018if ${fu_cv_sys_stat_statfs2_bsize+:} false; then : 20019 $as_echo_n "(cached) " >&6 20020else 20021 if test "$cross_compiling" = yes; then : 20022 fu_cv_sys_stat_statfs2_bsize=no 20023else 20024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20025/* end confdefs.h. */ 20026 20027#ifdef HAVE_SYS_PARAM_H 20028#include <sys/param.h> 20029#endif 20030#ifdef HAVE_SYS_MOUNT_H 20031#include <sys/mount.h> 20032#endif 20033#ifdef HAVE_SYS_VFS_H 20034#include <sys/vfs.h> 20035#endif 20036 int 20037 main () 20038 { 20039 struct statfs fsd; 20040 fsd.f_bsize = 0; 20041 return statfs (".", &fsd) != 0; 20042 } 20043_ACEOF 20044if ac_fn_c_try_run "$LINENO"; then : 20045 fu_cv_sys_stat_statfs2_bsize=yes 20046else 20047 fu_cv_sys_stat_statfs2_bsize=no 20048fi 20049rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 20050 conftest.$ac_objext conftest.beam conftest.$ac_ext 20051fi 20052 20053 20054fi 20055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_statfs2_bsize" >&5 20056$as_echo "$fu_cv_sys_stat_statfs2_bsize" >&6; } 20057 if test $fu_cv_sys_stat_statfs2_bsize = yes; then 20058 ac_fsusage_space=yes 20059 20060$as_echo "#define STAT_STATFS2_BSIZE 1" >>confdefs.h 20061 20062 fi 20063 fi 20064 20065 if test $ac_fsusage_space = no; then 20066 # SVR3 20067 # (Solaris already handled above.) 20068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for four-argument statfs (SVR3)" >&5 20069$as_echo_n "checking for four-argument statfs (SVR3)... " >&6; } 20070if ${fu_cv_sys_stat_statfs4+:} false; then : 20071 $as_echo_n "(cached) " >&6 20072else 20073 if test "$cross_compiling" = yes; then : 20074 fu_cv_sys_stat_statfs4=no 20075else 20076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20077/* end confdefs.h. */ 20078 20079#include <sys/types.h> 20080#include <sys/statfs.h> 20081 int 20082 main () 20083 { 20084 struct statfs fsd; 20085 return statfs (".", &fsd, sizeof fsd, 0) != 0; 20086 } 20087_ACEOF 20088if ac_fn_c_try_run "$LINENO"; then : 20089 fu_cv_sys_stat_statfs4=yes 20090else 20091 fu_cv_sys_stat_statfs4=no 20092fi 20093rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 20094 conftest.$ac_objext conftest.beam conftest.$ac_ext 20095fi 20096 20097 20098fi 20099{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_statfs4" >&5 20100$as_echo "$fu_cv_sys_stat_statfs4" >&6; } 20101 if test $fu_cv_sys_stat_statfs4 = yes; then 20102 ac_fsusage_space=yes 20103 20104$as_echo "#define STAT_STATFS4 1" >>confdefs.h 20105 20106 fi 20107 fi 20108 20109 if test $ac_fsusage_space = no; then 20110 # 4.4BSD and older NetBSD 20111 # (OSF/1 already handled above.) 20112 # (On AIX, you need to include <sys/statfs.h>, not only <sys/mount.h>.) 20113 # (On Solaris, statfs has 4 arguments and 'struct statfs' is not declared in 20114 # <sys/mount.h>.) 20115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for two-argument statfs with statfs.f_fsize member (4.4BSD and NetBSD)" >&5 20116$as_echo_n "checking for two-argument statfs with statfs.f_fsize member (4.4BSD and NetBSD)... " >&6; } 20117if ${fu_cv_sys_stat_statfs2_fsize+:} false; then : 20118 $as_echo_n "(cached) " >&6 20119else 20120 if test "$cross_compiling" = yes; then : 20121 fu_cv_sys_stat_statfs2_fsize=no 20122else 20123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20124/* end confdefs.h. */ 20125 20126#include <sys/types.h> 20127#ifdef HAVE_SYS_PARAM_H 20128#include <sys/param.h> 20129#endif 20130#ifdef HAVE_SYS_MOUNT_H 20131#include <sys/mount.h> 20132#endif 20133 int 20134 main () 20135 { 20136 struct statfs fsd; 20137 fsd.f_fsize = 0; 20138 return statfs (".", &fsd) != 0; 20139 } 20140_ACEOF 20141if ac_fn_c_try_run "$LINENO"; then : 20142 fu_cv_sys_stat_statfs2_fsize=yes 20143else 20144 fu_cv_sys_stat_statfs2_fsize=no 20145fi 20146rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 20147 conftest.$ac_objext conftest.beam conftest.$ac_ext 20148fi 20149 20150 20151fi 20152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_statfs2_fsize" >&5 20153$as_echo "$fu_cv_sys_stat_statfs2_fsize" >&6; } 20154 if test $fu_cv_sys_stat_statfs2_fsize = yes; then 20155 ac_fsusage_space=yes 20156 20157$as_echo "#define STAT_STATFS2_FSIZE 1" >>confdefs.h 20158 20159 fi 20160 fi 20161 20162 if test $ac_fsusage_space = yes; then : 20163 gl_cv_fs_space=yes 20164else 20165 gl_cv_fs_space=no 20166fi 20167 20168 20169 20170 if test $gl_cv_fs_space = yes; then 20171 20172 for ac_header in sys/fs/s5param.h sys/statfs.h 20173do : 20174 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 20175ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 20176if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 20177 cat >>confdefs.h <<_ACEOF 20178#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 20179_ACEOF 20180 20181fi 20182 20183done 20184 20185 20186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs that truncates block counts" >&5 20187$as_echo_n "checking for statfs that truncates block counts... " >&6; } 20188if ${fu_cv_sys_truncating_statfs+:} false; then : 20189 $as_echo_n "(cached) " >&6 20190else 20191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20192/* end confdefs.h. */ 20193 20194#if !defined(sun) && !defined(__sun) 20195choke -- this is a workaround for a Sun-specific problem 20196#endif 20197#include <sys/types.h> 20198#include <sys/vfs.h> 20199 20200int 20201main () 20202{ 20203struct statfs t; long c = *(t.f_spare); 20204 if (c) return 0; 20205 20206 ; 20207 return 0; 20208} 20209_ACEOF 20210if ac_fn_c_try_compile "$LINENO"; then : 20211 fu_cv_sys_truncating_statfs=yes 20212else 20213 fu_cv_sys_truncating_statfs=no 20214fi 20215rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20216 20217fi 20218{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_truncating_statfs" >&5 20219$as_echo "$fu_cv_sys_truncating_statfs" >&6; } 20220 if test $fu_cv_sys_truncating_statfs = yes; then 20221 20222$as_echo "#define STATFS_TRUNCATES_BLOCK_COUNTS 1" >>confdefs.h 20223 20224 fi 20225 20226 20227 fi 20228 20229 ac_fn_c_check_member "$LINENO" "struct statfs" "f_fstypename" "ac_cv_member_struct_statfs_f_fstypename" " 20230 #include <sys/types.h> 20231 #include <sys/param.h> 20232 #include <sys/mount.h> 20233 20234" 20235if test "x$ac_cv_member_struct_statfs_f_fstypename" = xyes; then : 20236 20237cat >>confdefs.h <<_ACEOF 20238#define HAVE_STRUCT_STATFS_F_FSTYPENAME 1 20239_ACEOF 20240 20241 20242fi 20243 20244 20245 20246 20247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20248/* end confdefs.h. */ 20249 20250 #define _XOPEN_SOURCE 600 20251 #include <stdlib.h> 20252 #if defined(__GLIBC__) && (__GLIBC__ < 2 || __GLIBC_MINOR__ < 7) 20253 possibly broken posix_fallocate 20254 #endif 20255 20256int 20257main () 20258{ 20259posix_fallocate(0, 0, 0); 20260 ; 20261 return 0; 20262} 20263_ACEOF 20264if ac_fn_c_try_link "$LINENO"; then : 20265 20266$as_echo "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h 20267 20268 20269fi 20270rm -f core conftest.err conftest.$ac_objext \ 20271 conftest$ac_exeext conftest.$ac_ext 20272 20273 20274 20275 20276 20277 20278 20279 test $ac_cv_header_sys_param_h = yes && 20280 test $ac_cv_header_sys_mount_h = yes && 20281 for ac_header in nfs/vfs.h 20282do : 20283 ac_fn_c_check_header_mongrel "$LINENO" "nfs/vfs.h" "ac_cv_header_nfs_vfs_h" "$ac_includes_default" 20284if test "x$ac_cv_header_nfs_vfs_h" = xyes; then : 20285 cat >>confdefs.h <<_ACEOF 20286#define HAVE_NFS_VFS_H 1 20287_ACEOF 20288 for ac_header in nfs/nfs_client.h 20289do : 20290 ac_fn_c_check_header_mongrel "$LINENO" "nfs/nfs_client.h" "ac_cv_header_nfs_nfs_client_h" "$ac_includes_default" 20291if test "x$ac_cv_header_nfs_nfs_client_h" = xyes; then : 20292 cat >>confdefs.h <<_ACEOF 20293#define HAVE_NFS_NFS_CLIENT_H 1 20294_ACEOF 20295 20296fi 20297 20298done 20299 20300fi 20301 20302done 20303 20304 20305 statvfs_includes="\ 20306$ac_includes_default 20307#include <sys/statvfs.h> 20308" 20309 statfs_includes="\ 20310$ac_includes_default 20311#ifdef HAVE_SYS_VFS_H 20312# include <sys/vfs.h> 20313#elif defined HAVE_SYS_MOUNT_H && defined HAVE_SYS_PARAM_H 20314# include <sys/param.h> 20315# include <sys/mount.h> 20316# if defined HAVE_NETINET_IN_H && defined HAVE_NFS_NFS_CLNT_H && defined HAVE_NFS_VFS_H 20317# include <netinet/in.h> 20318# include <nfs/nfs_clnt.h> 20319# include <nfs/vfs.h> 20320# endif 20321#elif defined HAVE_OS_H 20322# include <fs_info.h> 20323#endif 20324" 20325 if case "$fu_cv_sys_stat_statvfs$fu_cv_sys_stat_statvfs64" in 20326 *yes*) ;; *) false;; esac && 20327 { ac_fn_c_check_member "$LINENO" "struct statvfs" "f_basetype" "ac_cv_member_struct_statvfs_f_basetype" "$statvfs_includes 20328" 20329if test "x$ac_cv_member_struct_statvfs_f_basetype" = xyes; then : 20330 20331cat >>confdefs.h <<_ACEOF 20332#define HAVE_STRUCT_STATVFS_F_BASETYPE 1 20333_ACEOF 20334 20335 20336fi 20337 20338 test $ac_cv_member_struct_statvfs_f_basetype = yes || 20339 { ac_fn_c_check_member "$LINENO" "struct statvfs" "f_fstypename" "ac_cv_member_struct_statvfs_f_fstypename" "$statvfs_includes 20340" 20341if test "x$ac_cv_member_struct_statvfs_f_fstypename" = xyes; then : 20342 20343cat >>confdefs.h <<_ACEOF 20344#define HAVE_STRUCT_STATVFS_F_FSTYPENAME 1 20345_ACEOF 20346 20347 20348fi 20349 20350 test $ac_cv_member_struct_statvfs_f_fstypename = yes || 20351 { test $ac_cv_member_struct_statfs_f_fstypename != yes && 20352 { ac_fn_c_check_member "$LINENO" "struct statvfs" "f_type" "ac_cv_member_struct_statvfs_f_type" "$statvfs_includes 20353" 20354if test "x$ac_cv_member_struct_statvfs_f_type" = xyes; then : 20355 20356cat >>confdefs.h <<_ACEOF 20357#define HAVE_STRUCT_STATVFS_F_TYPE 1 20358_ACEOF 20359 20360 20361fi 20362 20363 test $ac_cv_member_struct_statvfs_f_type = yes; }; }; }; } 20364 then 20365 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_namemax" "ac_cv_member_struct_statvfs_f_namemax" "$statvfs_includes 20366" 20367if test "x$ac_cv_member_struct_statvfs_f_namemax" = xyes; then : 20368 20369cat >>confdefs.h <<_ACEOF 20370#define HAVE_STRUCT_STATVFS_F_NAMEMAX 1 20371_ACEOF 20372 20373 20374fi 20375 20376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20377/* end confdefs.h. */ 20378$statvfs_includes 20379int 20380main () 20381{ 20382static statvfs s; 20383 return (s.s_fsid ^ 0) == 0; 20384 ; 20385 return 0; 20386} 20387_ACEOF 20388if ac_fn_c_try_compile "$LINENO"; then : 20389 20390$as_echo "#define STRUCT_STATVFS_F_FSID_IS_INTEGER 1" >>confdefs.h 20391 20392fi 20393rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20394 else 20395 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "$statfs_includes 20396" 20397if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then : 20398 20399cat >>confdefs.h <<_ACEOF 20400#define HAVE_STRUCT_STATFS_F_NAMELEN 1 20401_ACEOF 20402 20403 20404fi 20405ac_fn_c_check_member "$LINENO" "struct statfs" "f_type" "ac_cv_member_struct_statfs_f_type" "$statfs_includes 20406" 20407if test "x$ac_cv_member_struct_statfs_f_type" = xyes; then : 20408 20409cat >>confdefs.h <<_ACEOF 20410#define HAVE_STRUCT_STATFS_F_TYPE 1 20411_ACEOF 20412 20413 20414fi 20415ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "$statfs_includes 20416" 20417if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then : 20418 20419cat >>confdefs.h <<_ACEOF 20420#define HAVE_STRUCT_STATFS_F_FRSIZE 1 20421_ACEOF 20422 20423 20424fi 20425 20426 if test $ac_cv_header_OS_h != yes; then 20427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20428/* end confdefs.h. */ 20429$statfs_includes 20430int 20431main () 20432{ 20433static statfs s; 20434 return (s.s_fsid ^ 0) == 0; 20435 ; 20436 return 0; 20437} 20438_ACEOF 20439if ac_fn_c_try_compile "$LINENO"; then : 20440 20441$as_echo "#define STRUCT_STATFS_F_FSID_IS_INTEGER 1" >>confdefs.h 20442 20443fi 20444rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20445 fi 20446 fi 20447 20448 20449 20450 20451 20452for ac_func in setlocale 20453do : 20454 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale" 20455if test "x$ac_cv_func_setlocale" = xyes; then : 20456 cat >>confdefs.h <<_ACEOF 20457#define HAVE_SETLOCALE 1 20458_ACEOF 20459 20460fi 20461done 20462 20463 20464 20465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 20466$as_echo_n "checking whether NLS is requested... " >&6; } 20467 # Check whether --enable-nls was given. 20468if test "${enable_nls+set}" = set; then : 20469 enableval=$enable_nls; USE_NLS=$enableval 20470else 20471 USE_NLS=yes 20472fi 20473 20474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 20475$as_echo "$USE_NLS" >&6; } 20476 20477 20478 20479 20480 GETTEXT_MACRO_VERSION=0.18 20481 20482 20483 20484 20485# Prepare PATH_SEPARATOR. 20486# The user is always right. 20487if test "${PATH_SEPARATOR+set}" != set; then 20488 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 20489 # contains only /bin. Note that ksh looks also at the FPATH variable, 20490 # so we have to set that as well for the test. 20491 PATH_SEPARATOR=: 20492 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 20493 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 20494 || PATH_SEPARATOR=';' 20495 } 20496fi 20497 20498# Find out how to test for executable files. Don't use a zero-byte file, 20499# as systems may use methods other than mode bits to determine executability. 20500cat >conf$$.file <<_ASEOF 20501#! /bin/sh 20502exit 0 20503_ASEOF 20504chmod +x conf$$.file 20505if test -x conf$$.file >/dev/null 2>&1; then 20506 ac_executable_p="test -x" 20507else 20508 ac_executable_p="test -f" 20509fi 20510rm -f conf$$.file 20511 20512# Extract the first word of "msgfmt", so it can be a program name with args. 20513set dummy msgfmt; ac_word=$2 20514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 20515$as_echo_n "checking for $ac_word... " >&6; } 20516if ${ac_cv_path_MSGFMT+:} false; then : 20517 $as_echo_n "(cached) " >&6 20518else 20519 case "$MSGFMT" in 20520 [\\/]* | ?:[\\/]*) 20521 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 20522 ;; 20523 *) 20524 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 20525 for ac_dir in $PATH; do 20526 IFS="$ac_save_IFS" 20527 test -z "$ac_dir" && ac_dir=. 20528 for ac_exec_ext in '' $ac_executable_extensions; do 20529 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 20530 echo "$as_me: trying $ac_dir/$ac_word..." >&5 20531 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && 20532 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 20533 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" 20534 break 2 20535 fi 20536 fi 20537 done 20538 done 20539 IFS="$ac_save_IFS" 20540 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" 20541 ;; 20542esac 20543fi 20544MSGFMT="$ac_cv_path_MSGFMT" 20545if test "$MSGFMT" != ":"; then 20546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 20547$as_echo "$MSGFMT" >&6; } 20548else 20549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20550$as_echo "no" >&6; } 20551fi 20552 20553 # Extract the first word of "gmsgfmt", so it can be a program name with args. 20554set dummy gmsgfmt; ac_word=$2 20555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 20556$as_echo_n "checking for $ac_word... " >&6; } 20557if ${ac_cv_path_GMSGFMT+:} false; then : 20558 $as_echo_n "(cached) " >&6 20559else 20560 case $GMSGFMT in 20561 [\\/]* | ?:[\\/]*) 20562 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 20563 ;; 20564 *) 20565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 20566for as_dir in $PATH 20567do 20568 IFS=$as_save_IFS 20569 test -z "$as_dir" && as_dir=. 20570 for ac_exec_ext in '' $ac_executable_extensions; do 20571 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 20572 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 20573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 20574 break 2 20575 fi 20576done 20577 done 20578IFS=$as_save_IFS 20579 20580 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 20581 ;; 20582esac 20583fi 20584GMSGFMT=$ac_cv_path_GMSGFMT 20585if test -n "$GMSGFMT"; then 20586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 20587$as_echo "$GMSGFMT" >&6; } 20588else 20589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20590$as_echo "no" >&6; } 20591fi 20592 20593 20594 20595 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 20596 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; 20597 *) MSGFMT_015=$MSGFMT ;; 20598 esac 20599 20600 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 20601 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; 20602 *) GMSGFMT_015=$GMSGFMT ;; 20603 esac 20604 20605 20606 20607# Prepare PATH_SEPARATOR. 20608# The user is always right. 20609if test "${PATH_SEPARATOR+set}" != set; then 20610 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 20611 # contains only /bin. Note that ksh looks also at the FPATH variable, 20612 # so we have to set that as well for the test. 20613 PATH_SEPARATOR=: 20614 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 20615 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 20616 || PATH_SEPARATOR=';' 20617 } 20618fi 20619 20620# Find out how to test for executable files. Don't use a zero-byte file, 20621# as systems may use methods other than mode bits to determine executability. 20622cat >conf$$.file <<_ASEOF 20623#! /bin/sh 20624exit 0 20625_ASEOF 20626chmod +x conf$$.file 20627if test -x conf$$.file >/dev/null 2>&1; then 20628 ac_executable_p="test -x" 20629else 20630 ac_executable_p="test -f" 20631fi 20632rm -f conf$$.file 20633 20634# Extract the first word of "xgettext", so it can be a program name with args. 20635set dummy xgettext; ac_word=$2 20636{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 20637$as_echo_n "checking for $ac_word... " >&6; } 20638if ${ac_cv_path_XGETTEXT+:} false; then : 20639 $as_echo_n "(cached) " >&6 20640else 20641 case "$XGETTEXT" in 20642 [\\/]* | ?:[\\/]*) 20643 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 20644 ;; 20645 *) 20646 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 20647 for ac_dir in $PATH; do 20648 IFS="$ac_save_IFS" 20649 test -z "$ac_dir" && ac_dir=. 20650 for ac_exec_ext in '' $ac_executable_extensions; do 20651 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 20652 echo "$as_me: trying $ac_dir/$ac_word..." >&5 20653 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && 20654 (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 20655 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" 20656 break 2 20657 fi 20658 fi 20659 done 20660 done 20661 IFS="$ac_save_IFS" 20662 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 20663 ;; 20664esac 20665fi 20666XGETTEXT="$ac_cv_path_XGETTEXT" 20667if test "$XGETTEXT" != ":"; then 20668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 20669$as_echo "$XGETTEXT" >&6; } 20670else 20671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20672$as_echo "no" >&6; } 20673fi 20674 20675 rm -f messages.po 20676 20677 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 20678 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; 20679 *) XGETTEXT_015=$XGETTEXT ;; 20680 esac 20681 20682 20683 20684# Prepare PATH_SEPARATOR. 20685# The user is always right. 20686if test "${PATH_SEPARATOR+set}" != set; then 20687 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 20688 # contains only /bin. Note that ksh looks also at the FPATH variable, 20689 # so we have to set that as well for the test. 20690 PATH_SEPARATOR=: 20691 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 20692 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 20693 || PATH_SEPARATOR=';' 20694 } 20695fi 20696 20697# Find out how to test for executable files. Don't use a zero-byte file, 20698# as systems may use methods other than mode bits to determine executability. 20699cat >conf$$.file <<_ASEOF 20700#! /bin/sh 20701exit 0 20702_ASEOF 20703chmod +x conf$$.file 20704if test -x conf$$.file >/dev/null 2>&1; then 20705 ac_executable_p="test -x" 20706else 20707 ac_executable_p="test -f" 20708fi 20709rm -f conf$$.file 20710 20711# Extract the first word of "msgmerge", so it can be a program name with args. 20712set dummy msgmerge; ac_word=$2 20713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 20714$as_echo_n "checking for $ac_word... " >&6; } 20715if ${ac_cv_path_MSGMERGE+:} false; then : 20716 $as_echo_n "(cached) " >&6 20717else 20718 case "$MSGMERGE" in 20719 [\\/]* | ?:[\\/]*) 20720 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 20721 ;; 20722 *) 20723 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 20724 for ac_dir in $PATH; do 20725 IFS="$ac_save_IFS" 20726 test -z "$ac_dir" && ac_dir=. 20727 for ac_exec_ext in '' $ac_executable_extensions; do 20728 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 20729 echo "$as_me: trying $ac_dir/$ac_word..." >&5 20730 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then 20731 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" 20732 break 2 20733 fi 20734 fi 20735 done 20736 done 20737 IFS="$ac_save_IFS" 20738 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" 20739 ;; 20740esac 20741fi 20742MSGMERGE="$ac_cv_path_MSGMERGE" 20743if test "$MSGMERGE" != ":"; then 20744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 20745$as_echo "$MSGMERGE" >&6; } 20746else 20747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20748$as_echo "no" >&6; } 20749fi 20750 20751 20752 test -n "$localedir" || localedir='${datadir}/locale' 20753 20754 20755 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= 20756 20757 20758 ac_config_commands="$ac_config_commands po-directories" 20759 20760 20761 20762 if test "X$prefix" = "XNONE"; then 20763 acl_final_prefix="$ac_default_prefix" 20764 else 20765 acl_final_prefix="$prefix" 20766 fi 20767 if test "X$exec_prefix" = "XNONE"; then 20768 acl_final_exec_prefix='${prefix}' 20769 else 20770 acl_final_exec_prefix="$exec_prefix" 20771 fi 20772 acl_save_prefix="$prefix" 20773 prefix="$acl_final_prefix" 20774 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 20775 prefix="$acl_save_prefix" 20776 20777 20778 20779# Check whether --with-gnu-ld was given. 20780if test "${with_gnu_ld+set}" = set; then : 20781 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 20782else 20783 with_gnu_ld=no 20784fi 20785 20786# Prepare PATH_SEPARATOR. 20787# The user is always right. 20788if test "${PATH_SEPARATOR+set}" != set; then 20789 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 20790 # contains only /bin. Note that ksh looks also at the FPATH variable, 20791 # so we have to set that as well for the test. 20792 PATH_SEPARATOR=: 20793 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 20794 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 20795 || PATH_SEPARATOR=';' 20796 } 20797fi 20798 20799ac_prog=ld 20800if test "$GCC" = yes; then 20801 # Check if gcc -print-prog-name=ld gives a path. 20802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 20803$as_echo_n "checking for ld used by $CC... " >&6; } 20804 case $host in 20805 *-*-mingw*) 20806 # gcc leaves a trailing carriage return which upsets mingw 20807 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 20808 *) 20809 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 20810 esac 20811 case $ac_prog in 20812 # Accept absolute paths. 20813 [\\/]* | ?:[\\/]*) 20814 re_direlt='/[^/][^/]*/\.\./' 20815 # Canonicalize the pathname of ld 20816 ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'` 20817 while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do 20818 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` 20819 done 20820 test -z "$LD" && LD="$ac_prog" 20821 ;; 20822 "") 20823 # If it fails, then pretend we aren't using GCC. 20824 ac_prog=ld 20825 ;; 20826 *) 20827 # If it is relative, then search for the first ld in PATH. 20828 with_gnu_ld=unknown 20829 ;; 20830 esac 20831elif test "$with_gnu_ld" = yes; then 20832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 20833$as_echo_n "checking for GNU ld... " >&6; } 20834else 20835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 20836$as_echo_n "checking for non-GNU ld... " >&6; } 20837fi 20838if ${acl_cv_path_LD+:} false; then : 20839 $as_echo_n "(cached) " >&6 20840else 20841 if test -z "$LD"; then 20842 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 20843 for ac_dir in $PATH; do 20844 IFS="$acl_save_ifs" 20845 test -z "$ac_dir" && ac_dir=. 20846 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 20847 acl_cv_path_LD="$ac_dir/$ac_prog" 20848 # Check to see if the program is GNU ld. I'd rather use --version, 20849 # but apparently some variants of GNU ld only accept -v. 20850 # Break only if it was the GNU/non-GNU ld that we prefer. 20851 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in 20852 *GNU* | *'with BFD'*) 20853 test "$with_gnu_ld" != no && break 20854 ;; 20855 *) 20856 test "$with_gnu_ld" != yes && break 20857 ;; 20858 esac 20859 fi 20860 done 20861 IFS="$acl_save_ifs" 20862else 20863 acl_cv_path_LD="$LD" # Let the user override the test with a path. 20864fi 20865fi 20866 20867LD="$acl_cv_path_LD" 20868if test -n "$LD"; then 20869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 20870$as_echo "$LD" >&6; } 20871else 20872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20873$as_echo "no" >&6; } 20874fi 20875test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 20876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 20877$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 20878if ${acl_cv_prog_gnu_ld+:} false; then : 20879 $as_echo_n "(cached) " >&6 20880else 20881 # I'd rather use --version here, but apparently some GNU lds only accept -v. 20882case `$LD -v 2>&1 </dev/null` in 20883*GNU* | *'with BFD'*) 20884 acl_cv_prog_gnu_ld=yes 20885 ;; 20886*) 20887 acl_cv_prog_gnu_ld=no 20888 ;; 20889esac 20890fi 20891{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 20892$as_echo "$acl_cv_prog_gnu_ld" >&6; } 20893with_gnu_ld=$acl_cv_prog_gnu_ld 20894 20895 20896 20897 20898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 20899$as_echo_n "checking for shared library run path origin... " >&6; } 20900if ${acl_cv_rpath+:} false; then : 20901 $as_echo_n "(cached) " >&6 20902else 20903 20904 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 20905 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 20906 . ./conftest.sh 20907 rm -f ./conftest.sh 20908 acl_cv_rpath=done 20909 20910fi 20911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 20912$as_echo "$acl_cv_rpath" >&6; } 20913 wl="$acl_cv_wl" 20914 acl_libext="$acl_cv_libext" 20915 acl_shlibext="$acl_cv_shlibext" 20916 acl_libname_spec="$acl_cv_libname_spec" 20917 acl_library_names_spec="$acl_cv_library_names_spec" 20918 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 20919 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 20920 acl_hardcode_direct="$acl_cv_hardcode_direct" 20921 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" 20922 # Check whether --enable-rpath was given. 20923if test "${enable_rpath+set}" = set; then : 20924 enableval=$enable_rpath; : 20925else 20926 enable_rpath=yes 20927fi 20928 20929 20930 20931 20932 acl_libdirstem=lib 20933 acl_libdirstem2= 20934 case "$host_os" in 20935 solaris*) 20936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 20937$as_echo_n "checking for 64-bit host... " >&6; } 20938if ${gl_cv_solaris_64bit+:} false; then : 20939 $as_echo_n "(cached) " >&6 20940else 20941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20942/* end confdefs.h. */ 20943 20944#ifdef _LP64 20945sixtyfour bits 20946#endif 20947 20948_ACEOF 20949if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 20950 $EGREP "sixtyfour bits" >/dev/null 2>&1; then : 20951 gl_cv_solaris_64bit=yes 20952else 20953 gl_cv_solaris_64bit=no 20954fi 20955rm -f conftest* 20956 20957 20958fi 20959{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 20960$as_echo "$gl_cv_solaris_64bit" >&6; } 20961 if test $gl_cv_solaris_64bit = yes; then 20962 acl_libdirstem=lib/64 20963 case "$host_cpu" in 20964 sparc*) acl_libdirstem2=lib/sparcv9 ;; 20965 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; 20966 esac 20967 fi 20968 ;; 20969 *) 20970 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` 20971 if test -n "$searchpath"; then 20972 acl_save_IFS="${IFS= }"; IFS=":" 20973 for searchdir in $searchpath; do 20974 if test -d "$searchdir"; then 20975 case "$searchdir" in 20976 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; 20977 */../ | */.. ) 20978 # Better ignore directories of this form. They are misleading. 20979 ;; 20980 *) searchdir=`cd "$searchdir" && pwd` 20981 case "$searchdir" in 20982 */lib64 ) acl_libdirstem=lib64 ;; 20983 esac ;; 20984 esac 20985 fi 20986 done 20987 IFS="$acl_save_IFS" 20988 fi 20989 ;; 20990 esac 20991 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" 20992 20993 20994 20995 20996 20997 20998 20999 21000 21001 21002 21003 21004 use_additional=yes 21005 21006 acl_save_prefix="$prefix" 21007 prefix="$acl_final_prefix" 21008 acl_save_exec_prefix="$exec_prefix" 21009 exec_prefix="$acl_final_exec_prefix" 21010 21011 eval additional_includedir=\"$includedir\" 21012 eval additional_libdir=\"$libdir\" 21013 21014 exec_prefix="$acl_save_exec_prefix" 21015 prefix="$acl_save_prefix" 21016 21017 21018# Check whether --with-libiconv-prefix was given. 21019if test "${with_libiconv_prefix+set}" = set; then : 21020 withval=$with_libiconv_prefix; 21021 if test "X$withval" = "Xno"; then 21022 use_additional=no 21023 else 21024 if test "X$withval" = "X"; then 21025 21026 acl_save_prefix="$prefix" 21027 prefix="$acl_final_prefix" 21028 acl_save_exec_prefix="$exec_prefix" 21029 exec_prefix="$acl_final_exec_prefix" 21030 21031 eval additional_includedir=\"$includedir\" 21032 eval additional_libdir=\"$libdir\" 21033 21034 exec_prefix="$acl_save_exec_prefix" 21035 prefix="$acl_save_prefix" 21036 21037 else 21038 additional_includedir="$withval/include" 21039 additional_libdir="$withval/$acl_libdirstem" 21040 if test "$acl_libdirstem2" != "$acl_libdirstem" \ 21041 && ! test -d "$withval/$acl_libdirstem"; then 21042 additional_libdir="$withval/$acl_libdirstem2" 21043 fi 21044 fi 21045 fi 21046 21047fi 21048 21049 LIBICONV= 21050 LTLIBICONV= 21051 INCICONV= 21052 LIBICONV_PREFIX= 21053 HAVE_LIBICONV= 21054 rpathdirs= 21055 ltrpathdirs= 21056 names_already_handled= 21057 names_next_round='iconv ' 21058 while test -n "$names_next_round"; do 21059 names_this_round="$names_next_round" 21060 names_next_round= 21061 for name in $names_this_round; do 21062 already_handled= 21063 for n in $names_already_handled; do 21064 if test "$n" = "$name"; then 21065 already_handled=yes 21066 break 21067 fi 21068 done 21069 if test -z "$already_handled"; then 21070 names_already_handled="$names_already_handled $name" 21071 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` 21072 eval value=\"\$HAVE_LIB$uppername\" 21073 if test -n "$value"; then 21074 if test "$value" = yes; then 21075 eval value=\"\$LIB$uppername\" 21076 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" 21077 eval value=\"\$LTLIB$uppername\" 21078 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" 21079 else 21080 : 21081 fi 21082 else 21083 found_dir= 21084 found_la= 21085 found_so= 21086 found_a= 21087 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 21088 if test -n "$acl_shlibext"; then 21089 shrext=".$acl_shlibext" # typically: shrext=.so 21090 else 21091 shrext= 21092 fi 21093 if test $use_additional = yes; then 21094 dir="$additional_libdir" 21095 if test -n "$acl_shlibext"; then 21096 if test -f "$dir/$libname$shrext"; then 21097 found_dir="$dir" 21098 found_so="$dir/$libname$shrext" 21099 else 21100 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 21101 ver=`(cd "$dir" && \ 21102 for f in "$libname$shrext".*; do echo "$f"; done \ 21103 | sed -e "s,^$libname$shrext\\\\.,," \ 21104 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 21105 | sed 1q ) 2>/dev/null` 21106 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 21107 found_dir="$dir" 21108 found_so="$dir/$libname$shrext.$ver" 21109 fi 21110 else 21111 eval library_names=\"$acl_library_names_spec\" 21112 for f in $library_names; do 21113 if test -f "$dir/$f"; then 21114 found_dir="$dir" 21115 found_so="$dir/$f" 21116 break 21117 fi 21118 done 21119 fi 21120 fi 21121 fi 21122 if test "X$found_dir" = "X"; then 21123 if test -f "$dir/$libname.$acl_libext"; then 21124 found_dir="$dir" 21125 found_a="$dir/$libname.$acl_libext" 21126 fi 21127 fi 21128 if test "X$found_dir" != "X"; then 21129 if test -f "$dir/$libname.la"; then 21130 found_la="$dir/$libname.la" 21131 fi 21132 fi 21133 fi 21134 if test "X$found_dir" = "X"; then 21135 for x in $LDFLAGS $LTLIBICONV; do 21136 21137 acl_save_prefix="$prefix" 21138 prefix="$acl_final_prefix" 21139 acl_save_exec_prefix="$exec_prefix" 21140 exec_prefix="$acl_final_exec_prefix" 21141 eval x=\"$x\" 21142 exec_prefix="$acl_save_exec_prefix" 21143 prefix="$acl_save_prefix" 21144 21145 case "$x" in 21146 -L*) 21147 dir=`echo "X$x" | sed -e 's/^X-L//'` 21148 if test -n "$acl_shlibext"; then 21149 if test -f "$dir/$libname$shrext"; then 21150 found_dir="$dir" 21151 found_so="$dir/$libname$shrext" 21152 else 21153 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 21154 ver=`(cd "$dir" && \ 21155 for f in "$libname$shrext".*; do echo "$f"; done \ 21156 | sed -e "s,^$libname$shrext\\\\.,," \ 21157 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 21158 | sed 1q ) 2>/dev/null` 21159 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 21160 found_dir="$dir" 21161 found_so="$dir/$libname$shrext.$ver" 21162 fi 21163 else 21164 eval library_names=\"$acl_library_names_spec\" 21165 for f in $library_names; do 21166 if test -f "$dir/$f"; then 21167 found_dir="$dir" 21168 found_so="$dir/$f" 21169 break 21170 fi 21171 done 21172 fi 21173 fi 21174 fi 21175 if test "X$found_dir" = "X"; then 21176 if test -f "$dir/$libname.$acl_libext"; then 21177 found_dir="$dir" 21178 found_a="$dir/$libname.$acl_libext" 21179 fi 21180 fi 21181 if test "X$found_dir" != "X"; then 21182 if test -f "$dir/$libname.la"; then 21183 found_la="$dir/$libname.la" 21184 fi 21185 fi 21186 ;; 21187 esac 21188 if test "X$found_dir" != "X"; then 21189 break 21190 fi 21191 done 21192 fi 21193 if test "X$found_dir" != "X"; then 21194 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" 21195 if test "X$found_so" != "X"; then 21196 if test "$enable_rpath" = no \ 21197 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 21198 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then 21199 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 21200 else 21201 haveit= 21202 for x in $ltrpathdirs; do 21203 if test "X$x" = "X$found_dir"; then 21204 haveit=yes 21205 break 21206 fi 21207 done 21208 if test -z "$haveit"; then 21209 ltrpathdirs="$ltrpathdirs $found_dir" 21210 fi 21211 if test "$acl_hardcode_direct" = yes; then 21212 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 21213 else 21214 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 21215 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 21216 haveit= 21217 for x in $rpathdirs; do 21218 if test "X$x" = "X$found_dir"; then 21219 haveit=yes 21220 break 21221 fi 21222 done 21223 if test -z "$haveit"; then 21224 rpathdirs="$rpathdirs $found_dir" 21225 fi 21226 else 21227 haveit= 21228 for x in $LDFLAGS $LIBICONV; do 21229 21230 acl_save_prefix="$prefix" 21231 prefix="$acl_final_prefix" 21232 acl_save_exec_prefix="$exec_prefix" 21233 exec_prefix="$acl_final_exec_prefix" 21234 eval x=\"$x\" 21235 exec_prefix="$acl_save_exec_prefix" 21236 prefix="$acl_save_prefix" 21237 21238 if test "X$x" = "X-L$found_dir"; then 21239 haveit=yes 21240 break 21241 fi 21242 done 21243 if test -z "$haveit"; then 21244 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" 21245 fi 21246 if test "$acl_hardcode_minus_L" != no; then 21247 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 21248 else 21249 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 21250 fi 21251 fi 21252 fi 21253 fi 21254 else 21255 if test "X$found_a" != "X"; then 21256 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" 21257 else 21258 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" 21259 fi 21260 fi 21261 additional_includedir= 21262 case "$found_dir" in 21263 */$acl_libdirstem | */$acl_libdirstem/) 21264 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 21265 if test "$name" = 'iconv'; then 21266 LIBICONV_PREFIX="$basedir" 21267 fi 21268 additional_includedir="$basedir/include" 21269 ;; 21270 */$acl_libdirstem2 | */$acl_libdirstem2/) 21271 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 21272 if test "$name" = 'iconv'; then 21273 LIBICONV_PREFIX="$basedir" 21274 fi 21275 additional_includedir="$basedir/include" 21276 ;; 21277 esac 21278 if test "X$additional_includedir" != "X"; then 21279 if test "X$additional_includedir" != "X/usr/include"; then 21280 haveit= 21281 if test "X$additional_includedir" = "X/usr/local/include"; then 21282 if test -n "$GCC"; then 21283 case $host_os in 21284 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 21285 esac 21286 fi 21287 fi 21288 if test -z "$haveit"; then 21289 for x in $CPPFLAGS $INCICONV; do 21290 21291 acl_save_prefix="$prefix" 21292 prefix="$acl_final_prefix" 21293 acl_save_exec_prefix="$exec_prefix" 21294 exec_prefix="$acl_final_exec_prefix" 21295 eval x=\"$x\" 21296 exec_prefix="$acl_save_exec_prefix" 21297 prefix="$acl_save_prefix" 21298 21299 if test "X$x" = "X-I$additional_includedir"; then 21300 haveit=yes 21301 break 21302 fi 21303 done 21304 if test -z "$haveit"; then 21305 if test -d "$additional_includedir"; then 21306 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" 21307 fi 21308 fi 21309 fi 21310 fi 21311 fi 21312 if test -n "$found_la"; then 21313 save_libdir="$libdir" 21314 case "$found_la" in 21315 */* | *\\*) . "$found_la" ;; 21316 *) . "./$found_la" ;; 21317 esac 21318 libdir="$save_libdir" 21319 for dep in $dependency_libs; do 21320 case "$dep" in 21321 -L*) 21322 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 21323 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ 21324 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then 21325 haveit= 21326 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ 21327 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then 21328 if test -n "$GCC"; then 21329 case $host_os in 21330 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 21331 esac 21332 fi 21333 fi 21334 if test -z "$haveit"; then 21335 haveit= 21336 for x in $LDFLAGS $LIBICONV; do 21337 21338 acl_save_prefix="$prefix" 21339 prefix="$acl_final_prefix" 21340 acl_save_exec_prefix="$exec_prefix" 21341 exec_prefix="$acl_final_exec_prefix" 21342 eval x=\"$x\" 21343 exec_prefix="$acl_save_exec_prefix" 21344 prefix="$acl_save_prefix" 21345 21346 if test "X$x" = "X-L$additional_libdir"; then 21347 haveit=yes 21348 break 21349 fi 21350 done 21351 if test -z "$haveit"; then 21352 if test -d "$additional_libdir"; then 21353 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" 21354 fi 21355 fi 21356 haveit= 21357 for x in $LDFLAGS $LTLIBICONV; do 21358 21359 acl_save_prefix="$prefix" 21360 prefix="$acl_final_prefix" 21361 acl_save_exec_prefix="$exec_prefix" 21362 exec_prefix="$acl_final_exec_prefix" 21363 eval x=\"$x\" 21364 exec_prefix="$acl_save_exec_prefix" 21365 prefix="$acl_save_prefix" 21366 21367 if test "X$x" = "X-L$additional_libdir"; then 21368 haveit=yes 21369 break 21370 fi 21371 done 21372 if test -z "$haveit"; then 21373 if test -d "$additional_libdir"; then 21374 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" 21375 fi 21376 fi 21377 fi 21378 fi 21379 ;; 21380 -R*) 21381 dir=`echo "X$dep" | sed -e 's/^X-R//'` 21382 if test "$enable_rpath" != no; then 21383 haveit= 21384 for x in $rpathdirs; do 21385 if test "X$x" = "X$dir"; then 21386 haveit=yes 21387 break 21388 fi 21389 done 21390 if test -z "$haveit"; then 21391 rpathdirs="$rpathdirs $dir" 21392 fi 21393 haveit= 21394 for x in $ltrpathdirs; do 21395 if test "X$x" = "X$dir"; then 21396 haveit=yes 21397 break 21398 fi 21399 done 21400 if test -z "$haveit"; then 21401 ltrpathdirs="$ltrpathdirs $dir" 21402 fi 21403 fi 21404 ;; 21405 -l*) 21406 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 21407 ;; 21408 *.la) 21409 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 21410 ;; 21411 *) 21412 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" 21413 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" 21414 ;; 21415 esac 21416 done 21417 fi 21418 else 21419 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 21420 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" 21421 fi 21422 fi 21423 fi 21424 done 21425 done 21426 if test "X$rpathdirs" != "X"; then 21427 if test -n "$acl_hardcode_libdir_separator"; then 21428 alldirs= 21429 for found_dir in $rpathdirs; do 21430 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 21431 done 21432 acl_save_libdir="$libdir" 21433 libdir="$alldirs" 21434 eval flag=\"$acl_hardcode_libdir_flag_spec\" 21435 libdir="$acl_save_libdir" 21436 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 21437 else 21438 for found_dir in $rpathdirs; do 21439 acl_save_libdir="$libdir" 21440 libdir="$found_dir" 21441 eval flag=\"$acl_hardcode_libdir_flag_spec\" 21442 libdir="$acl_save_libdir" 21443 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 21444 done 21445 fi 21446 fi 21447 if test "X$ltrpathdirs" != "X"; then 21448 for found_dir in $ltrpathdirs; do 21449 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" 21450 done 21451 fi 21452 21453 21454 21455 21456 21457 21458 21459 21460 21461 21462 21463 21464 21465 21466 21467 21468 21469 21470 21471 21472 21473 21474 21475 21476 21477 21478 21479 21480 21481 21482 21483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 21484$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } 21485if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : 21486 $as_echo_n "(cached) " >&6 21487else 21488 gt_save_LIBS="$LIBS" 21489 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 21490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21491/* end confdefs.h. */ 21492#include <CoreFoundation/CFPreferences.h> 21493int 21494main () 21495{ 21496CFPreferencesCopyAppValue(NULL, NULL) 21497 ; 21498 return 0; 21499} 21500_ACEOF 21501if ac_fn_c_try_link "$LINENO"; then : 21502 gt_cv_func_CFPreferencesCopyAppValue=yes 21503else 21504 gt_cv_func_CFPreferencesCopyAppValue=no 21505fi 21506rm -f core conftest.err conftest.$ac_objext \ 21507 conftest$ac_exeext conftest.$ac_ext 21508 LIBS="$gt_save_LIBS" 21509fi 21510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 21511$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } 21512 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 21513 21514$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h 21515 21516 fi 21517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 21518$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } 21519if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : 21520 $as_echo_n "(cached) " >&6 21521else 21522 gt_save_LIBS="$LIBS" 21523 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 21524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21525/* end confdefs.h. */ 21526#include <CoreFoundation/CFLocale.h> 21527int 21528main () 21529{ 21530CFLocaleCopyCurrent(); 21531 ; 21532 return 0; 21533} 21534_ACEOF 21535if ac_fn_c_try_link "$LINENO"; then : 21536 gt_cv_func_CFLocaleCopyCurrent=yes 21537else 21538 gt_cv_func_CFLocaleCopyCurrent=no 21539fi 21540rm -f core conftest.err conftest.$ac_objext \ 21541 conftest$ac_exeext conftest.$ac_ext 21542 LIBS="$gt_save_LIBS" 21543fi 21544{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 21545$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } 21546 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then 21547 21548$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h 21549 21550 fi 21551 INTL_MACOSX_LIBS= 21552 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then 21553 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 21554 fi 21555 21556 21557 21558 21559 21560 21561 LIBINTL= 21562 LTLIBINTL= 21563 POSUB= 21564 21565 case " $gt_needs " in 21566 *" need-formatstring-macros "*) gt_api_version=3 ;; 21567 *" need-ngettext "*) gt_api_version=2 ;; 21568 *) gt_api_version=1 ;; 21569 esac 21570 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" 21571 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" 21572 21573 if test "$USE_NLS" = "yes"; then 21574 gt_use_preinstalled_gnugettext=no 21575 21576 21577 if test $gt_api_version -ge 3; then 21578 gt_revision_test_code=' 21579#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 21580#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) 21581#endif 21582typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; 21583' 21584 else 21585 gt_revision_test_code= 21586 fi 21587 if test $gt_api_version -ge 2; then 21588 gt_expression_test_code=' + * ngettext ("", "", 0)' 21589 else 21590 gt_expression_test_code= 21591 fi 21592 21593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 21594$as_echo_n "checking for GNU gettext in libc... " >&6; } 21595if eval \${$gt_func_gnugettext_libc+:} false; then : 21596 $as_echo_n "(cached) " >&6 21597else 21598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21599/* end confdefs.h. */ 21600 21601#include <libintl.h> 21602$gt_revision_test_code 21603extern int _nl_msg_cat_cntr; 21604extern int *_nl_domain_bindings; 21605 21606int 21607main () 21608{ 21609 21610bindtextdomain ("", ""); 21611return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings 21612 21613 ; 21614 return 0; 21615} 21616_ACEOF 21617if ac_fn_c_try_link "$LINENO"; then : 21618 eval "$gt_func_gnugettext_libc=yes" 21619else 21620 eval "$gt_func_gnugettext_libc=no" 21621fi 21622rm -f core conftest.err conftest.$ac_objext \ 21623 conftest$ac_exeext conftest.$ac_ext 21624fi 21625eval ac_res=\$$gt_func_gnugettext_libc 21626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 21627$as_echo "$ac_res" >&6; } 21628 21629 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then 21630 21631 21632 21633 21634 21635 am_save_CPPFLAGS="$CPPFLAGS" 21636 21637 for element in $INCICONV; do 21638 haveit= 21639 for x in $CPPFLAGS; do 21640 21641 acl_save_prefix="$prefix" 21642 prefix="$acl_final_prefix" 21643 acl_save_exec_prefix="$exec_prefix" 21644 exec_prefix="$acl_final_exec_prefix" 21645 eval x=\"$x\" 21646 exec_prefix="$acl_save_exec_prefix" 21647 prefix="$acl_save_prefix" 21648 21649 if test "X$x" = "X$element"; then 21650 haveit=yes 21651 break 21652 fi 21653 done 21654 if test -z "$haveit"; then 21655 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 21656 fi 21657 done 21658 21659 21660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 21661$as_echo_n "checking for iconv... " >&6; } 21662if ${am_cv_func_iconv+:} false; then : 21663 $as_echo_n "(cached) " >&6 21664else 21665 21666 am_cv_func_iconv="no, consider installing GNU libiconv" 21667 am_cv_lib_iconv=no 21668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21669/* end confdefs.h. */ 21670 21671#include <stdlib.h> 21672#include <iconv.h> 21673 21674int 21675main () 21676{ 21677iconv_t cd = iconv_open("",""); 21678 iconv(cd,NULL,NULL,NULL,NULL); 21679 iconv_close(cd); 21680 ; 21681 return 0; 21682} 21683_ACEOF 21684if ac_fn_c_try_link "$LINENO"; then : 21685 am_cv_func_iconv=yes 21686fi 21687rm -f core conftest.err conftest.$ac_objext \ 21688 conftest$ac_exeext conftest.$ac_ext 21689 if test "$am_cv_func_iconv" != yes; then 21690 am_save_LIBS="$LIBS" 21691 LIBS="$LIBS $LIBICONV" 21692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21693/* end confdefs.h. */ 21694 21695#include <stdlib.h> 21696#include <iconv.h> 21697 21698int 21699main () 21700{ 21701iconv_t cd = iconv_open("",""); 21702 iconv(cd,NULL,NULL,NULL,NULL); 21703 iconv_close(cd); 21704 ; 21705 return 0; 21706} 21707_ACEOF 21708if ac_fn_c_try_link "$LINENO"; then : 21709 am_cv_lib_iconv=yes 21710 am_cv_func_iconv=yes 21711fi 21712rm -f core conftest.err conftest.$ac_objext \ 21713 conftest$ac_exeext conftest.$ac_ext 21714 LIBS="$am_save_LIBS" 21715 fi 21716 21717fi 21718{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 21719$as_echo "$am_cv_func_iconv" >&6; } 21720 if test "$am_cv_func_iconv" = yes; then 21721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 21722$as_echo_n "checking for working iconv... " >&6; } 21723if ${am_cv_func_iconv_works+:} false; then : 21724 $as_echo_n "(cached) " >&6 21725else 21726 21727 am_save_LIBS="$LIBS" 21728 if test $am_cv_lib_iconv = yes; then 21729 LIBS="$LIBS $LIBICONV" 21730 fi 21731 if test "$cross_compiling" = yes; then : 21732 21733 case "$host_os" in 21734 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; 21735 *) am_cv_func_iconv_works="guessing yes" ;; 21736 esac 21737 21738else 21739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21740/* end confdefs.h. */ 21741 21742#include <iconv.h> 21743#include <string.h> 21744int main () 21745{ 21746 int result = 0; 21747 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful 21748 returns. */ 21749 { 21750 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); 21751 if (cd_utf8_to_88591 != (iconv_t)(-1)) 21752 { 21753 static const char input[] = "\342\202\254"; /* EURO SIGN */ 21754 char buf[10]; 21755 const char *inptr = input; 21756 size_t inbytesleft = strlen (input); 21757 char *outptr = buf; 21758 size_t outbytesleft = sizeof (buf); 21759 size_t res = iconv (cd_utf8_to_88591, 21760 (char **) &inptr, &inbytesleft, 21761 &outptr, &outbytesleft); 21762 if (res == 0) 21763 result |= 1; 21764 iconv_close (cd_utf8_to_88591); 21765 } 21766 } 21767 /* Test against Solaris 10 bug: Failures are not distinguishable from 21768 successful returns. */ 21769 { 21770 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); 21771 if (cd_ascii_to_88591 != (iconv_t)(-1)) 21772 { 21773 static const char input[] = "\263"; 21774 char buf[10]; 21775 const char *inptr = input; 21776 size_t inbytesleft = strlen (input); 21777 char *outptr = buf; 21778 size_t outbytesleft = sizeof (buf); 21779 size_t res = iconv (cd_ascii_to_88591, 21780 (char **) &inptr, &inbytesleft, 21781 &outptr, &outbytesleft); 21782 if (res == 0) 21783 result |= 2; 21784 iconv_close (cd_ascii_to_88591); 21785 } 21786 } 21787 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ 21788 { 21789 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); 21790 if (cd_88591_to_utf8 != (iconv_t)(-1)) 21791 { 21792 static const char input[] = "\304"; 21793 static char buf[2] = { (char)0xDE, (char)0xAD }; 21794 const char *inptr = input; 21795 size_t inbytesleft = 1; 21796 char *outptr = buf; 21797 size_t outbytesleft = 1; 21798 size_t res = iconv (cd_88591_to_utf8, 21799 (char **) &inptr, &inbytesleft, 21800 &outptr, &outbytesleft); 21801 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) 21802 result |= 4; 21803 iconv_close (cd_88591_to_utf8); 21804 } 21805 } 21806#if 0 /* This bug could be worked around by the caller. */ 21807 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ 21808 { 21809 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); 21810 if (cd_88591_to_utf8 != (iconv_t)(-1)) 21811 { 21812 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; 21813 char buf[50]; 21814 const char *inptr = input; 21815 size_t inbytesleft = strlen (input); 21816 char *outptr = buf; 21817 size_t outbytesleft = sizeof (buf); 21818 size_t res = iconv (cd_88591_to_utf8, 21819 (char **) &inptr, &inbytesleft, 21820 &outptr, &outbytesleft); 21821 if ((int)res > 0) 21822 result |= 8; 21823 iconv_close (cd_88591_to_utf8); 21824 } 21825 } 21826#endif 21827 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is 21828 provided. */ 21829 if (/* Try standardized names. */ 21830 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) 21831 /* Try IRIX, OSF/1 names. */ 21832 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) 21833 /* Try AIX names. */ 21834 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) 21835 /* Try HP-UX names. */ 21836 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) 21837 result |= 16; 21838 return result; 21839} 21840_ACEOF 21841if ac_fn_c_try_run "$LINENO"; then : 21842 am_cv_func_iconv_works=yes 21843else 21844 am_cv_func_iconv_works=no 21845fi 21846rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 21847 conftest.$ac_objext conftest.beam conftest.$ac_ext 21848fi 21849 21850 LIBS="$am_save_LIBS" 21851 21852fi 21853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 21854$as_echo "$am_cv_func_iconv_works" >&6; } 21855 case "$am_cv_func_iconv_works" in 21856 *no) am_func_iconv=no am_cv_lib_iconv=no ;; 21857 *) am_func_iconv=yes ;; 21858 esac 21859 else 21860 am_func_iconv=no am_cv_lib_iconv=no 21861 fi 21862 if test "$am_func_iconv" = yes; then 21863 21864$as_echo "#define HAVE_ICONV 1" >>confdefs.h 21865 21866 fi 21867 if test "$am_cv_lib_iconv" = yes; then 21868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 21869$as_echo_n "checking how to link with libiconv... " >&6; } 21870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 21871$as_echo "$LIBICONV" >&6; } 21872 else 21873 CPPFLAGS="$am_save_CPPFLAGS" 21874 LIBICONV= 21875 LTLIBICONV= 21876 fi 21877 21878 21879 21880 21881 21882 21883 21884 21885 21886 21887 21888 use_additional=yes 21889 21890 acl_save_prefix="$prefix" 21891 prefix="$acl_final_prefix" 21892 acl_save_exec_prefix="$exec_prefix" 21893 exec_prefix="$acl_final_exec_prefix" 21894 21895 eval additional_includedir=\"$includedir\" 21896 eval additional_libdir=\"$libdir\" 21897 21898 exec_prefix="$acl_save_exec_prefix" 21899 prefix="$acl_save_prefix" 21900 21901 21902# Check whether --with-libintl-prefix was given. 21903if test "${with_libintl_prefix+set}" = set; then : 21904 withval=$with_libintl_prefix; 21905 if test "X$withval" = "Xno"; then 21906 use_additional=no 21907 else 21908 if test "X$withval" = "X"; then 21909 21910 acl_save_prefix="$prefix" 21911 prefix="$acl_final_prefix" 21912 acl_save_exec_prefix="$exec_prefix" 21913 exec_prefix="$acl_final_exec_prefix" 21914 21915 eval additional_includedir=\"$includedir\" 21916 eval additional_libdir=\"$libdir\" 21917 21918 exec_prefix="$acl_save_exec_prefix" 21919 prefix="$acl_save_prefix" 21920 21921 else 21922 additional_includedir="$withval/include" 21923 additional_libdir="$withval/$acl_libdirstem" 21924 if test "$acl_libdirstem2" != "$acl_libdirstem" \ 21925 && ! test -d "$withval/$acl_libdirstem"; then 21926 additional_libdir="$withval/$acl_libdirstem2" 21927 fi 21928 fi 21929 fi 21930 21931fi 21932 21933 LIBINTL= 21934 LTLIBINTL= 21935 INCINTL= 21936 LIBINTL_PREFIX= 21937 HAVE_LIBINTL= 21938 rpathdirs= 21939 ltrpathdirs= 21940 names_already_handled= 21941 names_next_round='intl ' 21942 while test -n "$names_next_round"; do 21943 names_this_round="$names_next_round" 21944 names_next_round= 21945 for name in $names_this_round; do 21946 already_handled= 21947 for n in $names_already_handled; do 21948 if test "$n" = "$name"; then 21949 already_handled=yes 21950 break 21951 fi 21952 done 21953 if test -z "$already_handled"; then 21954 names_already_handled="$names_already_handled $name" 21955 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` 21956 eval value=\"\$HAVE_LIB$uppername\" 21957 if test -n "$value"; then 21958 if test "$value" = yes; then 21959 eval value=\"\$LIB$uppername\" 21960 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" 21961 eval value=\"\$LTLIB$uppername\" 21962 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" 21963 else 21964 : 21965 fi 21966 else 21967 found_dir= 21968 found_la= 21969 found_so= 21970 found_a= 21971 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 21972 if test -n "$acl_shlibext"; then 21973 shrext=".$acl_shlibext" # typically: shrext=.so 21974 else 21975 shrext= 21976 fi 21977 if test $use_additional = yes; then 21978 dir="$additional_libdir" 21979 if test -n "$acl_shlibext"; then 21980 if test -f "$dir/$libname$shrext"; then 21981 found_dir="$dir" 21982 found_so="$dir/$libname$shrext" 21983 else 21984 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 21985 ver=`(cd "$dir" && \ 21986 for f in "$libname$shrext".*; do echo "$f"; done \ 21987 | sed -e "s,^$libname$shrext\\\\.,," \ 21988 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 21989 | sed 1q ) 2>/dev/null` 21990 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 21991 found_dir="$dir" 21992 found_so="$dir/$libname$shrext.$ver" 21993 fi 21994 else 21995 eval library_names=\"$acl_library_names_spec\" 21996 for f in $library_names; do 21997 if test -f "$dir/$f"; then 21998 found_dir="$dir" 21999 found_so="$dir/$f" 22000 break 22001 fi 22002 done 22003 fi 22004 fi 22005 fi 22006 if test "X$found_dir" = "X"; then 22007 if test -f "$dir/$libname.$acl_libext"; then 22008 found_dir="$dir" 22009 found_a="$dir/$libname.$acl_libext" 22010 fi 22011 fi 22012 if test "X$found_dir" != "X"; then 22013 if test -f "$dir/$libname.la"; then 22014 found_la="$dir/$libname.la" 22015 fi 22016 fi 22017 fi 22018 if test "X$found_dir" = "X"; then 22019 for x in $LDFLAGS $LTLIBINTL; do 22020 22021 acl_save_prefix="$prefix" 22022 prefix="$acl_final_prefix" 22023 acl_save_exec_prefix="$exec_prefix" 22024 exec_prefix="$acl_final_exec_prefix" 22025 eval x=\"$x\" 22026 exec_prefix="$acl_save_exec_prefix" 22027 prefix="$acl_save_prefix" 22028 22029 case "$x" in 22030 -L*) 22031 dir=`echo "X$x" | sed -e 's/^X-L//'` 22032 if test -n "$acl_shlibext"; then 22033 if test -f "$dir/$libname$shrext"; then 22034 found_dir="$dir" 22035 found_so="$dir/$libname$shrext" 22036 else 22037 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 22038 ver=`(cd "$dir" && \ 22039 for f in "$libname$shrext".*; do echo "$f"; done \ 22040 | sed -e "s,^$libname$shrext\\\\.,," \ 22041 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 22042 | sed 1q ) 2>/dev/null` 22043 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 22044 found_dir="$dir" 22045 found_so="$dir/$libname$shrext.$ver" 22046 fi 22047 else 22048 eval library_names=\"$acl_library_names_spec\" 22049 for f in $library_names; do 22050 if test -f "$dir/$f"; then 22051 found_dir="$dir" 22052 found_so="$dir/$f" 22053 break 22054 fi 22055 done 22056 fi 22057 fi 22058 fi 22059 if test "X$found_dir" = "X"; then 22060 if test -f "$dir/$libname.$acl_libext"; then 22061 found_dir="$dir" 22062 found_a="$dir/$libname.$acl_libext" 22063 fi 22064 fi 22065 if test "X$found_dir" != "X"; then 22066 if test -f "$dir/$libname.la"; then 22067 found_la="$dir/$libname.la" 22068 fi 22069 fi 22070 ;; 22071 esac 22072 if test "X$found_dir" != "X"; then 22073 break 22074 fi 22075 done 22076 fi 22077 if test "X$found_dir" != "X"; then 22078 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" 22079 if test "X$found_so" != "X"; then 22080 if test "$enable_rpath" = no \ 22081 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 22082 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then 22083 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 22084 else 22085 haveit= 22086 for x in $ltrpathdirs; do 22087 if test "X$x" = "X$found_dir"; then 22088 haveit=yes 22089 break 22090 fi 22091 done 22092 if test -z "$haveit"; then 22093 ltrpathdirs="$ltrpathdirs $found_dir" 22094 fi 22095 if test "$acl_hardcode_direct" = yes; then 22096 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 22097 else 22098 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 22099 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 22100 haveit= 22101 for x in $rpathdirs; do 22102 if test "X$x" = "X$found_dir"; then 22103 haveit=yes 22104 break 22105 fi 22106 done 22107 if test -z "$haveit"; then 22108 rpathdirs="$rpathdirs $found_dir" 22109 fi 22110 else 22111 haveit= 22112 for x in $LDFLAGS $LIBINTL; do 22113 22114 acl_save_prefix="$prefix" 22115 prefix="$acl_final_prefix" 22116 acl_save_exec_prefix="$exec_prefix" 22117 exec_prefix="$acl_final_exec_prefix" 22118 eval x=\"$x\" 22119 exec_prefix="$acl_save_exec_prefix" 22120 prefix="$acl_save_prefix" 22121 22122 if test "X$x" = "X-L$found_dir"; then 22123 haveit=yes 22124 break 22125 fi 22126 done 22127 if test -z "$haveit"; then 22128 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" 22129 fi 22130 if test "$acl_hardcode_minus_L" != no; then 22131 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 22132 else 22133 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 22134 fi 22135 fi 22136 fi 22137 fi 22138 else 22139 if test "X$found_a" != "X"; then 22140 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" 22141 else 22142 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" 22143 fi 22144 fi 22145 additional_includedir= 22146 case "$found_dir" in 22147 */$acl_libdirstem | */$acl_libdirstem/) 22148 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 22149 if test "$name" = 'intl'; then 22150 LIBINTL_PREFIX="$basedir" 22151 fi 22152 additional_includedir="$basedir/include" 22153 ;; 22154 */$acl_libdirstem2 | */$acl_libdirstem2/) 22155 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 22156 if test "$name" = 'intl'; then 22157 LIBINTL_PREFIX="$basedir" 22158 fi 22159 additional_includedir="$basedir/include" 22160 ;; 22161 esac 22162 if test "X$additional_includedir" != "X"; then 22163 if test "X$additional_includedir" != "X/usr/include"; then 22164 haveit= 22165 if test "X$additional_includedir" = "X/usr/local/include"; then 22166 if test -n "$GCC"; then 22167 case $host_os in 22168 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 22169 esac 22170 fi 22171 fi 22172 if test -z "$haveit"; then 22173 for x in $CPPFLAGS $INCINTL; do 22174 22175 acl_save_prefix="$prefix" 22176 prefix="$acl_final_prefix" 22177 acl_save_exec_prefix="$exec_prefix" 22178 exec_prefix="$acl_final_exec_prefix" 22179 eval x=\"$x\" 22180 exec_prefix="$acl_save_exec_prefix" 22181 prefix="$acl_save_prefix" 22182 22183 if test "X$x" = "X-I$additional_includedir"; then 22184 haveit=yes 22185 break 22186 fi 22187 done 22188 if test -z "$haveit"; then 22189 if test -d "$additional_includedir"; then 22190 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" 22191 fi 22192 fi 22193 fi 22194 fi 22195 fi 22196 if test -n "$found_la"; then 22197 save_libdir="$libdir" 22198 case "$found_la" in 22199 */* | *\\*) . "$found_la" ;; 22200 *) . "./$found_la" ;; 22201 esac 22202 libdir="$save_libdir" 22203 for dep in $dependency_libs; do 22204 case "$dep" in 22205 -L*) 22206 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 22207 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ 22208 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then 22209 haveit= 22210 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ 22211 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then 22212 if test -n "$GCC"; then 22213 case $host_os in 22214 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 22215 esac 22216 fi 22217 fi 22218 if test -z "$haveit"; then 22219 haveit= 22220 for x in $LDFLAGS $LIBINTL; do 22221 22222 acl_save_prefix="$prefix" 22223 prefix="$acl_final_prefix" 22224 acl_save_exec_prefix="$exec_prefix" 22225 exec_prefix="$acl_final_exec_prefix" 22226 eval x=\"$x\" 22227 exec_prefix="$acl_save_exec_prefix" 22228 prefix="$acl_save_prefix" 22229 22230 if test "X$x" = "X-L$additional_libdir"; then 22231 haveit=yes 22232 break 22233 fi 22234 done 22235 if test -z "$haveit"; then 22236 if test -d "$additional_libdir"; then 22237 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" 22238 fi 22239 fi 22240 haveit= 22241 for x in $LDFLAGS $LTLIBINTL; do 22242 22243 acl_save_prefix="$prefix" 22244 prefix="$acl_final_prefix" 22245 acl_save_exec_prefix="$exec_prefix" 22246 exec_prefix="$acl_final_exec_prefix" 22247 eval x=\"$x\" 22248 exec_prefix="$acl_save_exec_prefix" 22249 prefix="$acl_save_prefix" 22250 22251 if test "X$x" = "X-L$additional_libdir"; then 22252 haveit=yes 22253 break 22254 fi 22255 done 22256 if test -z "$haveit"; then 22257 if test -d "$additional_libdir"; then 22258 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" 22259 fi 22260 fi 22261 fi 22262 fi 22263 ;; 22264 -R*) 22265 dir=`echo "X$dep" | sed -e 's/^X-R//'` 22266 if test "$enable_rpath" != no; then 22267 haveit= 22268 for x in $rpathdirs; do 22269 if test "X$x" = "X$dir"; then 22270 haveit=yes 22271 break 22272 fi 22273 done 22274 if test -z "$haveit"; then 22275 rpathdirs="$rpathdirs $dir" 22276 fi 22277 haveit= 22278 for x in $ltrpathdirs; do 22279 if test "X$x" = "X$dir"; then 22280 haveit=yes 22281 break 22282 fi 22283 done 22284 if test -z "$haveit"; then 22285 ltrpathdirs="$ltrpathdirs $dir" 22286 fi 22287 fi 22288 ;; 22289 -l*) 22290 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 22291 ;; 22292 *.la) 22293 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 22294 ;; 22295 *) 22296 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" 22297 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" 22298 ;; 22299 esac 22300 done 22301 fi 22302 else 22303 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 22304 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" 22305 fi 22306 fi 22307 fi 22308 done 22309 done 22310 if test "X$rpathdirs" != "X"; then 22311 if test -n "$acl_hardcode_libdir_separator"; then 22312 alldirs= 22313 for found_dir in $rpathdirs; do 22314 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 22315 done 22316 acl_save_libdir="$libdir" 22317 libdir="$alldirs" 22318 eval flag=\"$acl_hardcode_libdir_flag_spec\" 22319 libdir="$acl_save_libdir" 22320 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 22321 else 22322 for found_dir in $rpathdirs; do 22323 acl_save_libdir="$libdir" 22324 libdir="$found_dir" 22325 eval flag=\"$acl_hardcode_libdir_flag_spec\" 22326 libdir="$acl_save_libdir" 22327 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 22328 done 22329 fi 22330 fi 22331 if test "X$ltrpathdirs" != "X"; then 22332 for found_dir in $ltrpathdirs; do 22333 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" 22334 done 22335 fi 22336 22337 22338 22339 22340 22341 22342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 22343$as_echo_n "checking for GNU gettext in libintl... " >&6; } 22344if eval \${$gt_func_gnugettext_libintl+:} false; then : 22345 $as_echo_n "(cached) " >&6 22346else 22347 gt_save_CPPFLAGS="$CPPFLAGS" 22348 CPPFLAGS="$CPPFLAGS $INCINTL" 22349 gt_save_LIBS="$LIBS" 22350 LIBS="$LIBS $LIBINTL" 22351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22352/* end confdefs.h. */ 22353 22354#include <libintl.h> 22355$gt_revision_test_code 22356extern int _nl_msg_cat_cntr; 22357extern 22358#ifdef __cplusplus 22359"C" 22360#endif 22361const char *_nl_expand_alias (const char *); 22362 22363int 22364main () 22365{ 22366 22367bindtextdomain ("", ""); 22368return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 22369 22370 ; 22371 return 0; 22372} 22373_ACEOF 22374if ac_fn_c_try_link "$LINENO"; then : 22375 eval "$gt_func_gnugettext_libintl=yes" 22376else 22377 eval "$gt_func_gnugettext_libintl=no" 22378fi 22379rm -f core conftest.err conftest.$ac_objext \ 22380 conftest$ac_exeext conftest.$ac_ext 22381 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then 22382 LIBS="$LIBS $LIBICONV" 22383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22384/* end confdefs.h. */ 22385 22386#include <libintl.h> 22387$gt_revision_test_code 22388extern int _nl_msg_cat_cntr; 22389extern 22390#ifdef __cplusplus 22391"C" 22392#endif 22393const char *_nl_expand_alias (const char *); 22394 22395int 22396main () 22397{ 22398 22399bindtextdomain ("", ""); 22400return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 22401 22402 ; 22403 return 0; 22404} 22405_ACEOF 22406if ac_fn_c_try_link "$LINENO"; then : 22407 LIBINTL="$LIBINTL $LIBICONV" 22408 LTLIBINTL="$LTLIBINTL $LTLIBICONV" 22409 eval "$gt_func_gnugettext_libintl=yes" 22410 22411fi 22412rm -f core conftest.err conftest.$ac_objext \ 22413 conftest$ac_exeext conftest.$ac_ext 22414 fi 22415 CPPFLAGS="$gt_save_CPPFLAGS" 22416 LIBS="$gt_save_LIBS" 22417fi 22418eval ac_res=\$$gt_func_gnugettext_libintl 22419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 22420$as_echo "$ac_res" >&6; } 22421 fi 22422 22423 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ 22424 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ 22425 && test "$PACKAGE" != gettext-runtime \ 22426 && test "$PACKAGE" != gettext-tools; }; then 22427 gt_use_preinstalled_gnugettext=yes 22428 else 22429 LIBINTL= 22430 LTLIBINTL= 22431 INCINTL= 22432 fi 22433 22434 22435 22436 if test -n "$INTL_MACOSX_LIBS"; then 22437 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 22438 || test "$nls_cv_use_gnu_gettext" = "yes"; then 22439 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" 22440 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" 22441 fi 22442 fi 22443 22444 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 22445 || test "$nls_cv_use_gnu_gettext" = "yes"; then 22446 22447$as_echo "#define ENABLE_NLS 1" >>confdefs.h 22448 22449 else 22450 USE_NLS=no 22451 fi 22452 fi 22453 22454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 22455$as_echo_n "checking whether to use NLS... " >&6; } 22456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 22457$as_echo "$USE_NLS" >&6; } 22458 if test "$USE_NLS" = "yes"; then 22459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 22460$as_echo_n "checking where the gettext function comes from... " >&6; } 22461 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 22462 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 22463 gt_source="external libintl" 22464 else 22465 gt_source="libc" 22466 fi 22467 else 22468 gt_source="included intl directory" 22469 fi 22470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 22471$as_echo "$gt_source" >&6; } 22472 fi 22473 22474 if test "$USE_NLS" = "yes"; then 22475 22476 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 22477 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 22478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 22479$as_echo_n "checking how to link with libintl... " >&6; } 22480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 22481$as_echo "$LIBINTL" >&6; } 22482 22483 for element in $INCINTL; do 22484 haveit= 22485 for x in $CPPFLAGS; do 22486 22487 acl_save_prefix="$prefix" 22488 prefix="$acl_final_prefix" 22489 acl_save_exec_prefix="$exec_prefix" 22490 exec_prefix="$acl_final_exec_prefix" 22491 eval x=\"$x\" 22492 exec_prefix="$acl_save_exec_prefix" 22493 prefix="$acl_save_prefix" 22494 22495 if test "X$x" = "X$element"; then 22496 haveit=yes 22497 break 22498 fi 22499 done 22500 if test -z "$haveit"; then 22501 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 22502 fi 22503 done 22504 22505 fi 22506 22507 22508$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 22509 22510 22511$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h 22512 22513 fi 22514 22515 POSUB=po 22516 fi 22517 22518 22519 22520 INTLLIBS="$LIBINTL" 22521 22522 22523 22524 22525 22526 22527 22528 22529 22530 # Check whether --enable-charset was given. 22531if test "${enable_charset+set}" = set; then : 22532 enableval=$enable_charset; 22533fi 22534 22535 have_charset= 22536 charset_msg="no" 22537 if test "x$enable_charset" != "xno"; then 22538 22539$as_echo "#define HAVE_CHARSET 1" >>confdefs.h 22540 22541 have_charset=yes 22542 charset_msg="yes" 22543 22544 case $host_os in 22545 solaris*) 22546 CP1251="ANSI-1251" 22547 ;; 22548 *) 22549 CP1251="CP1251" 22550 ;; 22551 esac 22552 22553 22554 fi 22555 22556 22557 22558case $host_os in 22559*os400) 22560 # Extract the first word of "perl", so it can be a program name with args. 22561set dummy perl; ac_word=$2 22562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22563$as_echo_n "checking for $ac_word... " >&6; } 22564if ${ac_cv_path_PERL+:} false; then : 22565 $as_echo_n "(cached) " >&6 22566else 22567 case $PERL in 22568 [\\/]* | ?:[\\/]*) 22569 ac_cv_path_PERL="$PERL" # Let the user override the test with a path. 22570 ;; 22571 *) 22572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22573for as_dir in $PATH 22574do 22575 IFS=$as_save_IFS 22576 test -z "$as_dir" && as_dir=. 22577 for ac_exec_ext in '' $ac_executable_extensions; do 22578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 22579 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 22580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22581 break 2 22582 fi 22583done 22584 done 22585IFS=$as_save_IFS 22586 22587 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="/QOpenSys/pkgs/bin/perl" 22588 ;; 22589esac 22590fi 22591PERL=$ac_cv_path_PERL 22592if test -n "$PERL"; then 22593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 22594$as_echo "$PERL" >&6; } 22595else 22596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22597$as_echo "no" >&6; } 22598fi 22599 22600 22601 # Extract the first word of "python", so it can be a program name with args. 22602set dummy python; ac_word=$2 22603{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22604$as_echo_n "checking for $ac_word... " >&6; } 22605if ${ac_cv_path_PYTHON+:} false; then : 22606 $as_echo_n "(cached) " >&6 22607else 22608 case $PYTHON in 22609 [\\/]* | ?:[\\/]*) 22610 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. 22611 ;; 22612 *) 22613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22614for as_dir in $PATH 22615do 22616 IFS=$as_save_IFS 22617 test -z "$as_dir" && as_dir=. 22618 for ac_exec_ext in '' $ac_executable_extensions; do 22619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 22620 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 22621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22622 break 2 22623 fi 22624done 22625 done 22626IFS=$as_save_IFS 22627 22628 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="/QOpenSys/pkgs/bin/python2" 22629 ;; 22630esac 22631fi 22632PYTHON=$ac_cv_path_PYTHON 22633if test -n "$PYTHON"; then 22634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 22635$as_echo "$PYTHON" >&6; } 22636else 22637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22638$as_echo "no" >&6; } 22639fi 22640 22641 22642 # Extract the first word of "ruby", so it can be a program name with args. 22643set dummy ruby; ac_word=$2 22644{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22645$as_echo_n "checking for $ac_word... " >&6; } 22646if ${ac_cv_path_RUBY+:} false; then : 22647 $as_echo_n "(cached) " >&6 22648else 22649 case $RUBY in 22650 [\\/]* | ?:[\\/]*) 22651 ac_cv_path_RUBY="$RUBY" # Let the user override the test with a path. 22652 ;; 22653 *) 22654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22655for as_dir in $PATH 22656do 22657 IFS=$as_save_IFS 22658 test -z "$as_dir" && as_dir=. 22659 for ac_exec_ext in '' $ac_executable_extensions; do 22660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 22661 ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext" 22662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22663 break 2 22664 fi 22665done 22666 done 22667IFS=$as_save_IFS 22668 22669 test -z "$ac_cv_path_RUBY" && ac_cv_path_RUBY="/QOpenSys/pkgs/bin/ruby" 22670 ;; 22671esac 22672fi 22673RUBY=$ac_cv_path_RUBY 22674if test -n "$RUBY"; then 22675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5 22676$as_echo "$RUBY" >&6; } 22677else 22678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22679$as_echo "no" >&6; } 22680fi 22681 22682 22683 ;; 22684*) 22685 # Extract the first word of "perl", so it can be a program name with args. 22686set dummy perl; ac_word=$2 22687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22688$as_echo_n "checking for $ac_word... " >&6; } 22689if ${ac_cv_path_PERL+:} false; then : 22690 $as_echo_n "(cached) " >&6 22691else 22692 case $PERL in 22693 [\\/]* | ?:[\\/]*) 22694 ac_cv_path_PERL="$PERL" # Let the user override the test with a path. 22695 ;; 22696 *) 22697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22698for as_dir in $PATH 22699do 22700 IFS=$as_save_IFS 22701 test -z "$as_dir" && as_dir=. 22702 for ac_exec_ext in '' $ac_executable_extensions; do 22703 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 22704 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 22705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22706 break 2 22707 fi 22708done 22709 done 22710IFS=$as_save_IFS 22711 22712 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="/usr/bin/perl" 22713 ;; 22714esac 22715fi 22716PERL=$ac_cv_path_PERL 22717if test -n "$PERL"; then 22718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 22719$as_echo "$PERL" >&6; } 22720else 22721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22722$as_echo "no" >&6; } 22723fi 22724 22725 22726 # Extract the first word of "python", so it can be a program name with args. 22727set dummy python; ac_word=$2 22728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22729$as_echo_n "checking for $ac_word... " >&6; } 22730if ${ac_cv_path_PYTHON+:} false; then : 22731 $as_echo_n "(cached) " >&6 22732else 22733 case $PYTHON in 22734 [\\/]* | ?:[\\/]*) 22735 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. 22736 ;; 22737 *) 22738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22739for as_dir in $PATH 22740do 22741 IFS=$as_save_IFS 22742 test -z "$as_dir" && as_dir=. 22743 for ac_exec_ext in '' $ac_executable_extensions; do 22744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 22745 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 22746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22747 break 2 22748 fi 22749done 22750 done 22751IFS=$as_save_IFS 22752 22753 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="/usr/bin/python" 22754 ;; 22755esac 22756fi 22757PYTHON=$ac_cv_path_PYTHON 22758if test -n "$PYTHON"; then 22759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 22760$as_echo "$PYTHON" >&6; } 22761else 22762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22763$as_echo "no" >&6; } 22764fi 22765 22766 22767 # Extract the first word of "ruby", so it can be a program name with args. 22768set dummy ruby; ac_word=$2 22769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22770$as_echo_n "checking for $ac_word... " >&6; } 22771if ${ac_cv_path_RUBY+:} false; then : 22772 $as_echo_n "(cached) " >&6 22773else 22774 case $RUBY in 22775 [\\/]* | ?:[\\/]*) 22776 ac_cv_path_RUBY="$RUBY" # Let the user override the test with a path. 22777 ;; 22778 *) 22779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22780for as_dir in $PATH 22781do 22782 IFS=$as_save_IFS 22783 test -z "$as_dir" && as_dir=. 22784 for ac_exec_ext in '' $ac_executable_extensions; do 22785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 22786 ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext" 22787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22788 break 2 22789 fi 22790done 22791 done 22792IFS=$as_save_IFS 22793 22794 test -z "$ac_cv_path_RUBY" && ac_cv_path_RUBY="/usr/bin/ruby" 22795 ;; 22796esac 22797fi 22798RUBY=$ac_cv_path_RUBY 22799if test -n "$RUBY"; then 22800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5 22801$as_echo "$RUBY" >&6; } 22802else 22803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22804$as_echo "no" >&6; } 22805fi 22806 22807 22808esac 22809 22810case $host_os in 22811aux*) 22812 # A/UX 22813 LIBS="$LIBS -lposix" 22814 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 22815 22816 ;; 22817esac 22818 22819{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for AIX defines" >&5 22820$as_echo_n "checking for AIX defines... " >&6; } 22821cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22822/* end confdefs.h. */ 22823 22824 #if defined(AIX) || defined(_AIX) || defined(__aix__) || defined(aix) 22825 yes 22826 #endif 22827 22828_ACEOF 22829if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 22830 $EGREP "yes" >/dev/null 2>&1; then : 22831 22832 22833$as_echo "#define IS_AIX 1" >>confdefs.h 22834 22835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 22836$as_echo "yes" >&6; } 22837 22838else 22839 22840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22841$as_echo "no" >&6; } 22842 22843fi 22844rm -f conftest* 22845 22846 22847case $host_os in 22848*os400 | aix*) 22849 ;; 22850*) 22851 for ac_func in utimensat 22852do : 22853 ac_fn_c_check_func "$LINENO" "utimensat" "ac_cv_func_utimensat" 22854if test "x$ac_cv_func_utimensat" = xyes; then : 22855 cat >>confdefs.h <<_ACEOF 22856#define HAVE_UTIMENSAT 1 22857_ACEOF 22858 22859fi 22860done 22861 22862 ;; 22863esac 22864 22865case $host_os in 22866*os400) 22867 22868$as_echo "#define PTY_ZEROREAD 1" >>confdefs.h 22869 22870esac 22871 22872case $host_os in 22873linux*) 22874 for ac_header in linux/fs.h 22875do : 22876 ac_fn_c_check_header_mongrel "$LINENO" "linux/fs.h" "ac_cv_header_linux_fs_h" "$ac_includes_default" 22877if test "x$ac_cv_header_linux_fs_h" = xyes; then : 22878 cat >>confdefs.h <<_ACEOF 22879#define HAVE_LINUX_FS_H 1 22880_ACEOF 22881 22882fi 22883 22884done 22885 22886esac 22887 22888cons_saver="" 22889case $host_os in 22890linux*) 22891 cons_saver=yes 22892esac 22893 22894mouse_lib="xterm only" 22895 22896# Check whether --with-gpm-mouse was given. 22897if test "${with_gpm_mouse+set}" = set; then : 22898 withval=$with_gpm_mouse; 22899fi 22900 22901 22902case $host_os in 22903linux*) 22904 if test x$with_gpm_mouse != xno; then 22905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gpm_Repeat in -lgpm" >&5 22906$as_echo_n "checking for Gpm_Repeat in -lgpm... " >&6; } 22907if ${ac_cv_lib_gpm_Gpm_Repeat+:} false; then : 22908 $as_echo_n "(cached) " >&6 22909else 22910 ac_check_lib_save_LIBS=$LIBS 22911LIBS="-lgpm $LIBS" 22912cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22913/* end confdefs.h. */ 22914 22915/* Override any GCC internal prototype to avoid an error. 22916 Use char because int might match the return type of a GCC 22917 builtin and then its argument prototype would still apply. */ 22918#ifdef __cplusplus 22919extern "C" 22920#endif 22921char Gpm_Repeat (); 22922int 22923main () 22924{ 22925return Gpm_Repeat (); 22926 ; 22927 return 0; 22928} 22929_ACEOF 22930if ac_fn_c_try_link "$LINENO"; then : 22931 ac_cv_lib_gpm_Gpm_Repeat=yes 22932else 22933 ac_cv_lib_gpm_Gpm_Repeat=no 22934fi 22935rm -f core conftest.err conftest.$ac_objext \ 22936 conftest$ac_exeext conftest.$ac_ext 22937LIBS=$ac_check_lib_save_LIBS 22938fi 22939{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpm_Gpm_Repeat" >&5 22940$as_echo "$ac_cv_lib_gpm_Gpm_Repeat" >&6; } 22941if test "x$ac_cv_lib_gpm_Gpm_Repeat" = xyes; then : 22942 22943$as_echo "#define HAVE_LIBGPM 1" >>confdefs.h 22944 22945 mouse_lib="gpm and xterm" 22946 MCLIBS="$MCLIBS -lgpm" 22947else 22948 if test "x$with_gpm_mouse" = "xyes"; then 22949 as_fn_error $? "libgpm is missing or older than 0.18" "$LINENO" 5 22950 else 22951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgpm is missing or older than 0.18" >&5 22952$as_echo "$as_me: WARNING: libgpm is missing or older than 0.18" >&2;} 22953 fi 22954 22955fi 22956 22957 fi 22958 ;; 22959esac 22960 22961 22962 22963LIBMC_VERSION="0.0.1" 22964LIBMC_RELEASE="1" 22965 22966 22967 22968# Check whether --enable-mclib was given. 22969if test "${enable_mclib+set}" = set; then : 22970 enableval=$enable_mclib; 22971 if test "x$enableval" = "xno" ; then 22972 enable_mclib=no 22973 else 22974 if test "x$enable_shared" = "xno" ; then 22975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Build of shared library is disabled. Specify --enable-shared first" >&5 22976$as_echo "$as_me: WARNING: Build of shared library is disabled. Specify --enable-shared first" >&2;} 22977 enable_mclib=no 22978 else 22979 enable_mclib=yes 22980 fi 22981 fi 22982 22983else 22984 enable_mclib=no 22985fi 22986 22987 22988 if test x$enable_mclib = xyes; then 22989 ENABLE_MCLIB_TRUE= 22990 ENABLE_MCLIB_FALSE='#' 22991else 22992 ENABLE_MCLIB_TRUE='#' 22993 ENABLE_MCLIB_FALSE= 22994fi 22995 22996 22997 22998 22999 23000 # Check whether --enable-assert was given. 23001if test "${enable_assert+set}" = set; then : 23002 enableval=$enable_assert; 23003 if test "x$enableval" = xno; then 23004 enable_assert=no 23005 else 23006 enable_assert=yes 23007 fi 23008 23009else 23010 enable_assert=yes 23011fi 23012 23013 23014 if test "x$enable_assert" = xno; then 23015 23016$as_echo "#define G_DISABLE_ASSERT 1" >>confdefs.h 23017 23018 fi 23019 23020 23021 23022 23023 23024# Check whether --with-internal_edit was given. 23025if test "${with_internal_edit+set}" = set; then : 23026 withval=$with_internal_edit; 23027fi 23028 23029 23030 if test x$with_internal_edit != xno; then 23031 23032$as_echo "#define USE_INTERNAL_EDIT 1" >>confdefs.h 23033 23034 use_internal_edit=yes 23035 { $as_echo "$as_me:${as_lineno-$LINENO}: using internal editor" >&5 23036$as_echo "$as_me: using internal editor" >&6;} 23037 edit_msg="yes" 23038 else 23039 use_internal_edit=no 23040 edit_msg="no" 23041 fi 23042 23043 # Check whether --enable-aspell was given. 23044if test "${enable_aspell+set}" = set; then : 23045 enableval=$enable_aspell; 23046 if test "x$enableval" = xno; then 23047 enable_aspell=no 23048 else 23049 enable_aspell=yes 23050 fi 23051 23052else 23053 enable_aspell=no 23054 23055fi 23056 23057 23058 if test x$with_internal_edit != xno -a x$enable_aspell != xno; then 23059 for ac_header in aspell.h 23060do : 23061 ac_fn_c_check_header_mongrel "$LINENO" "aspell.h" "ac_cv_header_aspell_h" "$ac_includes_default" 23062if test "x$ac_cv_header_aspell_h" = xyes; then : 23063 cat >>confdefs.h <<_ACEOF 23064#define HAVE_ASPELL_H 1 23065_ACEOF 23066 23067else 23068 23069 as_fn_error $? "Could not find aspell development headers" "$LINENO" 5 23070 23071fi 23072 23073done 23074 23075 23076 if test x"$g_module_supported" != x; then 23077 23078$as_echo "#define HAVE_ASPELL 1" >>confdefs.h 23079 23080 edit_msg="yes with aspell support" 23081 { $as_echo "$as_me:${as_lineno-$LINENO}: using aspell for internal editor" >&5 23082$as_echo "$as_me: using aspell for internal editor" >&6;} 23083 else 23084 enable_aspell=no 23085 { $as_echo "$as_me:${as_lineno-$LINENO}: aspell support is disabled because gmodule support is not available" >&5 23086$as_echo "$as_me: aspell support is disabled because gmodule support is not available" >&6;} 23087 fi 23088 fi 23089 23090 23091 23092# Check whether --with-diff_viewer was given. 23093if test "${with_diff_viewer+set}" = set; then : 23094 withval=$with_diff_viewer; 23095fi 23096 23097 23098if test x$with_diff_viewer != xno; then 23099 23100$as_echo "#define USE_DIFF_VIEW 1" >>confdefs.h 23101 23102 use_diff=yes 23103 diff_msg="yes" 23104 { $as_echo "$as_me:${as_lineno-$LINENO}: using diff viewer" >&5 23105$as_echo "$as_me: using diff viewer" >&6;} 23106else 23107 diff_msg="no" 23108fi 23109 23110 23111 23112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for subshell support" >&5 23113$as_echo_n "checking for subshell support... " >&6; } 23114 23115# Check whether --with-subshell was given. 23116if test "${with_subshell+set}" = set; then : 23117 withval=$with_subshell; 23118 case "x$withval" in 23119 xyes) 23120 result="yes" 23121 ;; 23122 xoptional) 23123 result="optional" 23124 ;; 23125 *) 23126 result="no" 23127 ;; 23128 esac 23129 23130else 23131 23132 result="yes" 23133 23134fi 23135 23136 23137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5 23138$as_echo "$result" >&6; } 23139 23140 if test "x$result" != xno; then 23141 23142$as_echo "#define ENABLE_SUBSHELL 1" >>confdefs.h 23143 23144 23145 for ac_header in pty.h libutil.h util.h 23146do : 23147 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 23148ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 23149if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 23150 cat >>confdefs.h <<_ACEOF 23151#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 23152_ACEOF 23153 23154fi 23155 23156done 23157 23158 for ac_func in openpty 23159do : 23160 ac_fn_c_check_func "$LINENO" "openpty" "ac_cv_func_openpty" 23161if test "x$ac_cv_func_openpty" = xyes; then : 23162 cat >>confdefs.h <<_ACEOF 23163#define HAVE_OPENPTY 1 23164_ACEOF 23165 23166else 23167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lutil" >&5 23168$as_echo_n "checking for openpty in -lutil... " >&6; } 23169if ${ac_cv_lib_util_openpty+:} false; then : 23170 $as_echo_n "(cached) " >&6 23171else 23172 ac_check_lib_save_LIBS=$LIBS 23173LIBS="-lutil $LIBS" 23174cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23175/* end confdefs.h. */ 23176 23177/* Override any GCC internal prototype to avoid an error. 23178 Use char because int might match the return type of a GCC 23179 builtin and then its argument prototype would still apply. */ 23180#ifdef __cplusplus 23181extern "C" 23182#endif 23183char openpty (); 23184int 23185main () 23186{ 23187return openpty (); 23188 ; 23189 return 0; 23190} 23191_ACEOF 23192if ac_fn_c_try_link "$LINENO"; then : 23193 ac_cv_lib_util_openpty=yes 23194else 23195 ac_cv_lib_util_openpty=no 23196fi 23197rm -f core conftest.err conftest.$ac_objext \ 23198 conftest$ac_exeext conftest.$ac_ext 23199LIBS=$ac_check_lib_save_LIBS 23200fi 23201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_openpty" >&5 23202$as_echo "$ac_cv_lib_util_openpty" >&6; } 23203if test "x$ac_cv_lib_util_openpty" = xyes; then : 23204 $as_echo "#define HAVE_OPENPTY 1" >>confdefs.h 23205 23206 LIBS="$LIBS -lutil" 23207 23208fi 23209 23210 23211fi 23212done 23213 23214 23215 if test "x$result" = xoptional; then 23216 23217$as_echo "#define SUBSHELL_OPTIONAL 1" >>confdefs.h 23218 23219 fi 23220 fi 23221 23222 subshell="$result" 23223 23224 if test "x$result" != xno; then 23225 ENABLE_SUBSHELL_TRUE= 23226 ENABLE_SUBSHELL_FALSE='#' 23227else 23228 ENABLE_SUBSHELL_TRUE='#' 23229 ENABLE_SUBSHELL_FALSE= 23230fi 23231 23232 23233 23234 # Check whether --enable-background was given. 23235if test "${enable_background+set}" = set; then : 23236 enableval=$enable_background; 23237 if test "x$enableval" = xno; then 23238 enable_background=no 23239 else 23240 enable_background=yes 23241 fi 23242 23243else 23244 enable_background=yes 23245fi 23246 23247 23248 if test "x$enable_background" = xyes; then 23249 23250$as_echo "#define ENABLE_BACKGROUND 1" >>confdefs.h 23251 23252 fi 23253 23254 if test "x$enable_background" = xyes; then 23255 ENABLE_BACKGROUND_TRUE= 23256 ENABLE_BACKGROUND_FALSE='#' 23257else 23258 ENABLE_BACKGROUND_TRUE='#' 23259 ENABLE_BACKGROUND_FALSE= 23260fi 23261 23262 23263 23264 ext2fs_attr_msg="no" 23265 23266 23267pkg_failed=no 23268{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXT2FS" >&5 23269$as_echo_n "checking for EXT2FS... " >&6; } 23270 23271if test -n "$EXT2FS_CFLAGS"; then 23272 pkg_cv_EXT2FS_CFLAGS="$EXT2FS_CFLAGS" 23273 elif test -n "$PKG_CONFIG"; then 23274 if test -n "$PKG_CONFIG" && \ 23275 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ext2fs >= 1.42.4\""; } >&5 23276 ($PKG_CONFIG --exists --print-errors "ext2fs >= 1.42.4") 2>&5 23277 ac_status=$? 23278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 23279 test $ac_status = 0; }; then 23280 pkg_cv_EXT2FS_CFLAGS=`$PKG_CONFIG --cflags "ext2fs >= 1.42.4" 2>/dev/null` 23281 test "x$?" != "x0" && pkg_failed=yes 23282else 23283 pkg_failed=yes 23284fi 23285 else 23286 pkg_failed=untried 23287fi 23288if test -n "$EXT2FS_LIBS"; then 23289 pkg_cv_EXT2FS_LIBS="$EXT2FS_LIBS" 23290 elif test -n "$PKG_CONFIG"; then 23291 if test -n "$PKG_CONFIG" && \ 23292 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ext2fs >= 1.42.4\""; } >&5 23293 ($PKG_CONFIG --exists --print-errors "ext2fs >= 1.42.4") 2>&5 23294 ac_status=$? 23295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 23296 test $ac_status = 0; }; then 23297 pkg_cv_EXT2FS_LIBS=`$PKG_CONFIG --libs "ext2fs >= 1.42.4" 2>/dev/null` 23298 test "x$?" != "x0" && pkg_failed=yes 23299else 23300 pkg_failed=yes 23301fi 23302 else 23303 pkg_failed=untried 23304fi 23305 23306 23307 23308if test $pkg_failed = yes; then 23309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23310$as_echo "no" >&6; } 23311 23312if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 23313 _pkg_short_errors_supported=yes 23314else 23315 _pkg_short_errors_supported=no 23316fi 23317 if test $_pkg_short_errors_supported = yes; then 23318 EXT2FS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ext2fs >= 1.42.4" 2>&1` 23319 else 23320 EXT2FS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ext2fs >= 1.42.4" 2>&1` 23321 fi 23322 # Put the nasty error message in config.log where it belongs 23323 echo "$EXT2FS_PKG_ERRORS" >&5 23324 23325 : 23326elif test $pkg_failed = untried; then 23327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23328$as_echo "no" >&6; } 23329 : 23330else 23331 EXT2FS_CFLAGS=$pkg_cv_EXT2FS_CFLAGS 23332 EXT2FS_LIBS=$pkg_cv_EXT2FS_LIBS 23333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 23334$as_echo "yes" >&6; } 23335 found_ext2fs=yes 23336fi 23337 23338 if test x"$found_ext2fs" = "xyes"; then 23339 23340pkg_failed=no 23341{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for E2P" >&5 23342$as_echo_n "checking for E2P... " >&6; } 23343 23344if test -n "$E2P_CFLAGS"; then 23345 pkg_cv_E2P_CFLAGS="$E2P_CFLAGS" 23346 elif test -n "$PKG_CONFIG"; then 23347 if test -n "$PKG_CONFIG" && \ 23348 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"e2p >= 1.42.4\""; } >&5 23349 ($PKG_CONFIG --exists --print-errors "e2p >= 1.42.4") 2>&5 23350 ac_status=$? 23351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 23352 test $ac_status = 0; }; then 23353 pkg_cv_E2P_CFLAGS=`$PKG_CONFIG --cflags "e2p >= 1.42.4" 2>/dev/null` 23354 test "x$?" != "x0" && pkg_failed=yes 23355else 23356 pkg_failed=yes 23357fi 23358 else 23359 pkg_failed=untried 23360fi 23361if test -n "$E2P_LIBS"; then 23362 pkg_cv_E2P_LIBS="$E2P_LIBS" 23363 elif test -n "$PKG_CONFIG"; then 23364 if test -n "$PKG_CONFIG" && \ 23365 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"e2p >= 1.42.4\""; } >&5 23366 ($PKG_CONFIG --exists --print-errors "e2p >= 1.42.4") 2>&5 23367 ac_status=$? 23368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 23369 test $ac_status = 0; }; then 23370 pkg_cv_E2P_LIBS=`$PKG_CONFIG --libs "e2p >= 1.42.4" 2>/dev/null` 23371 test "x$?" != "x0" && pkg_failed=yes 23372else 23373 pkg_failed=yes 23374fi 23375 else 23376 pkg_failed=untried 23377fi 23378 23379 23380 23381if test $pkg_failed = yes; then 23382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23383$as_echo "no" >&6; } 23384 23385if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 23386 _pkg_short_errors_supported=yes 23387else 23388 _pkg_short_errors_supported=no 23389fi 23390 if test $_pkg_short_errors_supported = yes; then 23391 E2P_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "e2p >= 1.42.4" 2>&1` 23392 else 23393 E2P_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "e2p >= 1.42.4" 2>&1` 23394 fi 23395 # Put the nasty error message in config.log where it belongs 23396 echo "$E2P_PKG_ERRORS" >&5 23397 23398 : 23399elif test $pkg_failed = untried; then 23400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23401$as_echo "no" >&6; } 23402 : 23403else 23404 E2P_CFLAGS=$pkg_cv_E2P_CFLAGS 23405 E2P_LIBS=$pkg_cv_E2P_LIBS 23406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 23407$as_echo "yes" >&6; } 23408 found_e2p=disabled 23409fi 23410 23411 if test x"$found_e2p" = "xyes"; then 23412 23413$as_echo "#define ENABLE_EXT2FS_ATTR 1" >>confdefs.h 23414 23415 23416 23417 MCLIBS="$MCLIBS $E2P_LIBS" 23418 ext2fs_attr_msg="yes" 23419 else 23420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: e2p library not found, version too old (must be >= 1.42.4), or disabled" >&5 23421$as_echo "$as_me: WARNING: e2p library not found, version too old (must be >= 1.42.4), or disabled" >&2;} 23422 ext2fs_attr_msg="no" 23423 fi 23424 else 23425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ext2fs library not found or version too old (must be >= 1.42.4)" >&5 23426$as_echo "$as_me: WARNING: ext2fs library not found or version too old (must be >= 1.42.4)" >&2;} 23427 ext2fs_attr_msg="no" 23428 fi 23429 23430 if test "x$ext2fs_attr_msg" = "xyes"; then 23431 ENABLE_EXT2FS_ATTR_TRUE= 23432 ENABLE_EXT2FS_ATTR_FALSE='#' 23433else 23434 ENABLE_EXT2FS_ATTR_TRUE='#' 23435 ENABLE_EXT2FS_ATTR_FALSE= 23436fi 23437 23438 23439 23440 23441 23442 vfs_type="normal" 23443 23444 # Check whether --enable-vfs was given. 23445if test "${enable_vfs+set}" = set; then : 23446 enableval=$enable_vfs; 23447 if test "x$enableval" = "xno"; then 23448 enable_vfs=no 23449 else 23450 enable_vfs=yes 23451 fi 23452 23453else 23454 enable_vfs=yes 23455fi 23456 23457 23458 if test x"$enable_vfs" = x"yes" ; then 23459 vfs_type="Midnight Commander Virtual Filesystem" 23460 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling VFS code" >&5 23461$as_echo "$as_me: Enabling VFS code" >&6;} 23462 23463$as_echo "#define ENABLE_VFS 1" >>confdefs.h 23464 23465 fi 23466 23467 23468 # Check whether --enable-vfs-cpio was given. 23469if test "${enable_vfs_cpio+set}" = set; then : 23470 enableval=$enable_vfs_cpio; 23471fi 23472 23473 if test "$enable_vfs" = "yes" -a x"$enable_vfs_cpio" != x"no"; then 23474 enable_vfs_cpio="yes" 23475 23476$as_echo "#define ENABLE_VFS_CPIO 1" >>confdefs.h 23477 23478 23479 if test x"$vfs_flags" = "x" ; then 23480 vfs_flags="cpio" 23481 else 23482 vfs_flags="$vfs_flags, cpio" 23483 fi 23484 23485 fi 23486 if test "$enable_vfs" = "yes" -a x"$enable_vfs_cpio" = x"yes"; then 23487 ENABLE_VFS_CPIO_TRUE= 23488 ENABLE_VFS_CPIO_FALSE='#' 23489else 23490 ENABLE_VFS_CPIO_TRUE='#' 23491 ENABLE_VFS_CPIO_FALSE= 23492fi 23493 23494 23495 23496 # Check whether --enable-vfs-extfs was given. 23497if test "${enable_vfs_extfs+set}" = set; then : 23498 enableval=$enable_vfs_extfs; 23499fi 23500 23501 if test "$enable_vfs" = "yes" -a x"$enable_vfs_extfs" != x"no"; then 23502 23503 # Extract the first word of "zip", so it can be a program name with args. 23504set dummy zip; ac_word=$2 23505{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23506$as_echo_n "checking for $ac_word... " >&6; } 23507if ${ac_cv_path_ZIP+:} false; then : 23508 $as_echo_n "(cached) " >&6 23509else 23510 case $ZIP in 23511 [\\/]* | ?:[\\/]*) 23512 ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path. 23513 ;; 23514 *) 23515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23516for as_dir in $PATH 23517do 23518 IFS=$as_save_IFS 23519 test -z "$as_dir" && as_dir=. 23520 for ac_exec_ext in '' $ac_executable_extensions; do 23521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 23522 ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext" 23523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23524 break 2 23525 fi 23526done 23527 done 23528IFS=$as_save_IFS 23529 23530 test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP="/usr/bin/zip" 23531 ;; 23532esac 23533fi 23534ZIP=$ac_cv_path_ZIP 23535if test -n "$ZIP"; then 23536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5 23537$as_echo "$ZIP" >&6; } 23538else 23539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23540$as_echo "no" >&6; } 23541fi 23542 23543 23544 # Extract the first word of "unzip", so it can be a program name with args. 23545set dummy unzip; ac_word=$2 23546{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23547$as_echo_n "checking for $ac_word... " >&6; } 23548if ${ac_cv_path_UNZIP+:} false; then : 23549 $as_echo_n "(cached) " >&6 23550else 23551 case $UNZIP in 23552 [\\/]* | ?:[\\/]*) 23553 ac_cv_path_UNZIP="$UNZIP" # Let the user override the test with a path. 23554 ;; 23555 *) 23556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23557for as_dir in $PATH 23558do 23559 IFS=$as_save_IFS 23560 test -z "$as_dir" && as_dir=. 23561 for ac_exec_ext in '' $ac_executable_extensions; do 23562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 23563 ac_cv_path_UNZIP="$as_dir/$ac_word$ac_exec_ext" 23564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23565 break 2 23566 fi 23567done 23568 done 23569IFS=$as_save_IFS 23570 23571 test -z "$ac_cv_path_UNZIP" && ac_cv_path_UNZIP="/usr/bin/unzip" 23572 ;; 23573esac 23574fi 23575UNZIP=$ac_cv_path_UNZIP 23576if test -n "$UNZIP"; then 23577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNZIP" >&5 23578$as_echo "$UNZIP" >&6; } 23579else 23580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23581$as_echo "no" >&6; } 23582fi 23583 23584 23585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zipinfo code in unzip" >&5 23586$as_echo_n "checking for zipinfo code in unzip... " >&6; } 23587if ${mc_cv_have_zipinfo+:} false; then : 23588 $as_echo_n "(cached) " >&6 23589else 23590 mc_cv_have_zipinfo=no 23591 if $UNZIP -Z </dev/null >/dev/null 2>&1; then 23592 mc_cv_have_zipinfo=yes 23593 fi 23594fi 23595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_cv_have_zipinfo" >&5 23596$as_echo "$mc_cv_have_zipinfo" >&6; } 23597 if test x"$mc_cv_have_zipinfo" = xyes; then 23598 HAVE_ZIPINFO=1 23599 else 23600 HAVE_ZIPINFO=0 23601 fi 23602 23603 23604 enable_vfs_extfs="yes" 23605 23606 if test x"$vfs_flags" = "x" ; then 23607 vfs_flags="extfs" 23608 else 23609 vfs_flags="$vfs_flags, extfs" 23610 fi 23611 23612 23613$as_echo "#define ENABLE_VFS_EXTFS 1" >>confdefs.h 23614 23615 fi 23616 if test "$enable_vfs" = "yes" -a x"$enable_vfs_extfs" = x"yes"; then 23617 ENABLE_VFS_EXTFS_TRUE= 23618 ENABLE_VFS_EXTFS_FALSE='#' 23619else 23620 ENABLE_VFS_EXTFS_TRUE='#' 23621 ENABLE_VFS_EXTFS_FALSE= 23622fi 23623 23624 23625 23626 # Check whether --enable-vfs-fish was given. 23627if test "${enable_vfs_fish+set}" = set; then : 23628 enableval=$enable_vfs_fish; 23629fi 23630 23631 if test "$enable_vfs" = "yes" -a "x$enable_vfs_fish" != xno; then 23632 enable_vfs_fish="yes" 23633 23634 if test x"$vfs_flags" = "x" ; then 23635 vfs_flags="fish" 23636 else 23637 vfs_flags="$vfs_flags, fish" 23638 fi 23639 23640 23641$as_echo "#define ENABLE_VFS_FISH 1" >>confdefs.h 23642 23643 fi 23644 if test "$enable_vfs" = "yes" -a x"$enable_vfs_fish" = x"yes"; then 23645 ENABLE_VFS_FISH_TRUE= 23646 ENABLE_VFS_FISH_FALSE='#' 23647else 23648 ENABLE_VFS_FISH_TRUE='#' 23649 ENABLE_VFS_FISH_FALSE= 23650fi 23651 23652 23653 23654 # Check whether --enable-vfs-ftp was given. 23655if test "${enable_vfs_ftp+set}" = set; then : 23656 enableval=$enable_vfs_ftp; 23657fi 23658 23659 if test "$enable_vfs" != "no" -a x"$enable_vfs_ftp" != x"no"; then 23660 enable_vfs_ftp="yes" 23661 23662 if test x"$vfs_flags" = "x" ; then 23663 vfs_flags="ftp" 23664 else 23665 vfs_flags="$vfs_flags, ftp" 23666 fi 23667 23668 23669$as_echo "#define ENABLE_VFS_FTP 1" >>confdefs.h 23670 23671 fi 23672 if test "$enable_vfs" = "yes" -a x"$enable_vfs_ftp" = x"yes"; then 23673 ENABLE_VFS_FTP_TRUE= 23674 ENABLE_VFS_FTP_FALSE='#' 23675else 23676 ENABLE_VFS_FTP_TRUE='#' 23677 ENABLE_VFS_FTP_FALSE= 23678fi 23679 23680 23681 23682 # Check whether --enable-vfs-sfs was given. 23683if test "${enable_vfs_sfs+set}" = set; then : 23684 enableval=$enable_vfs_sfs; 23685fi 23686 23687 if test "$enable_vfs" = "yes" -a x"$enable_vfs_sfs" != x"no"; then 23688 enable_vfs_sfs="yes" 23689 23690 if test x"$vfs_flags" = "x" ; then 23691 vfs_flags="sfs" 23692 else 23693 vfs_flags="$vfs_flags, sfs" 23694 fi 23695 23696 23697$as_echo "#define ENABLE_VFS_SFS 1" >>confdefs.h 23698 23699 fi 23700 if test "$enable_vfs" = "yes" -a x"$enable_vfs_sfs" = x"yes"; then 23701 ENABLE_VFS_SFS_TRUE= 23702 ENABLE_VFS_SFS_FALSE='#' 23703else 23704 ENABLE_VFS_SFS_TRUE='#' 23705 ENABLE_VFS_SFS_FALSE= 23706fi 23707 23708 23709 23710 # Check whether --enable-vfs-sftp was given. 23711if test "${enable_vfs_sftp+set}" = set; then : 23712 enableval=$enable_vfs_sftp; 23713fi 23714 23715 if test "$enable_vfs" != "no" -a x"$enable_vfs_sftp" != x"no"; then 23716 23717pkg_failed=no 23718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSSH" >&5 23719$as_echo_n "checking for LIBSSH... " >&6; } 23720 23721if test -n "$LIBSSH_CFLAGS"; then 23722 pkg_cv_LIBSSH_CFLAGS="$LIBSSH_CFLAGS" 23723 elif test -n "$PKG_CONFIG"; then 23724 if test -n "$PKG_CONFIG" && \ 23725 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libssh2 >= 1.2.8\""; } >&5 23726 ($PKG_CONFIG --exists --print-errors "libssh2 >= 1.2.8") 2>&5 23727 ac_status=$? 23728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 23729 test $ac_status = 0; }; then 23730 pkg_cv_LIBSSH_CFLAGS=`$PKG_CONFIG --cflags "libssh2 >= 1.2.8" 2>/dev/null` 23731 test "x$?" != "x0" && pkg_failed=yes 23732else 23733 pkg_failed=yes 23734fi 23735 else 23736 pkg_failed=untried 23737fi 23738if test -n "$LIBSSH_LIBS"; then 23739 pkg_cv_LIBSSH_LIBS="$LIBSSH_LIBS" 23740 elif test -n "$PKG_CONFIG"; then 23741 if test -n "$PKG_CONFIG" && \ 23742 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libssh2 >= 1.2.8\""; } >&5 23743 ($PKG_CONFIG --exists --print-errors "libssh2 >= 1.2.8") 2>&5 23744 ac_status=$? 23745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 23746 test $ac_status = 0; }; then 23747 pkg_cv_LIBSSH_LIBS=`$PKG_CONFIG --libs "libssh2 >= 1.2.8" 2>/dev/null` 23748 test "x$?" != "x0" && pkg_failed=yes 23749else 23750 pkg_failed=yes 23751fi 23752 else 23753 pkg_failed=untried 23754fi 23755 23756 23757 23758if test $pkg_failed = yes; then 23759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23760$as_echo "no" >&6; } 23761 23762if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 23763 _pkg_short_errors_supported=yes 23764else 23765 _pkg_short_errors_supported=no 23766fi 23767 if test $_pkg_short_errors_supported = yes; then 23768 LIBSSH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libssh2 >= 1.2.8" 2>&1` 23769 else 23770 LIBSSH_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libssh2 >= 1.2.8" 2>&1` 23771 fi 23772 # Put the nasty error message in config.log where it belongs 23773 echo "$LIBSSH_PKG_ERRORS" >&5 23774 23775 : 23776elif test $pkg_failed = untried; then 23777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23778$as_echo "no" >&6; } 23779 : 23780else 23781 LIBSSH_CFLAGS=$pkg_cv_LIBSSH_CFLAGS 23782 LIBSSH_LIBS=$pkg_cv_LIBSSH_LIBS 23783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 23784$as_echo "yes" >&6; } 23785 found_libssh=yes 23786fi 23787 if test x"$found_libssh" = "xyes"; then 23788 23789 if test x"$vfs_flags" = "x" ; then 23790 vfs_flags="sftp" 23791 else 23792 vfs_flags="$vfs_flags, sftp" 23793 fi 23794 23795 23796$as_echo "#define ENABLE_VFS_SFTP 1" >>confdefs.h 23797 23798 MCLIBS="$MCLIBS $LIBSSH_LIBS" 23799 enable_vfs_sftp="yes" 23800 else 23801 if test x"$enable_vfs_sftp" = x"yes"; then 23802 as_fn_error $? "libssh2 >= 1.2.8 library not found" "$LINENO" 5 23803 fi 23804 enable_vfs_sftp="no" 23805 fi 23806 fi 23807 if test "$enable_vfs" = "yes" -a x"$enable_vfs_sftp" = x"yes"; then 23808 ENABLE_VFS_SFTP_TRUE= 23809 ENABLE_VFS_SFTP_FALSE='#' 23810else 23811 ENABLE_VFS_SFTP_TRUE='#' 23812 ENABLE_VFS_SFTP_FALSE= 23813fi 23814 23815 23816 23817 # Check whether --enable-vfs-smb was given. 23818if test "${enable_vfs_smb+set}" = set; then : 23819 enableval=$enable_vfs_smb; 23820 if test "x$enableval" = "xno"; then 23821 enable_vfs_smb=no 23822 else 23823 enable_vfs_smb=yes 23824 fi 23825 23826else 23827 enable_vfs_smb=no 23828fi 23829 23830 23831 if test "$enable_vfs" = "yes" -a x"$enable_vfs_smb" != x"no"; then 23832 enable_vfs_smb="yes" 23833 23834 if test x"$vfs_flags" = "x" ; then 23835 vfs_flags="smb" 23836 else 23837 vfs_flags="$vfs_flags, smb" 23838 fi 23839 23840 23841$as_echo "#define ENABLE_VFS_SMB 1" >>confdefs.h 23842 23843 fi 23844 23845 if test "$enable_vfs_smb" = "yes"; then 23846 subdirs="$subdirs src/vfs/smbfs/helpers" 23847 23848 23849 if test "1" = "1"; then 23850 ENABLE_VFS_SMB_TRUE= 23851 ENABLE_VFS_SMB_FALSE='#' 23852else 23853 ENABLE_VFS_SMB_TRUE='#' 23854 ENABLE_VFS_SMB_FALSE= 23855fi 23856 23857 23858 # set configuration directory location 23859 smbconfigdir="/etc" 23860 23861# Check whether --with-smb-configdir was given. 23862if test "${with_smb_configdir+set}" = set; then : 23863 withval=$with_smb_configdir; case "$withval" in 23864 yes|no) 23865 # Just in case anybody does it 23866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-smb-configdir called without argument - will use default" >&5 23867$as_echo "$as_me: WARNING: --with-smb-configdir called without argument - will use default" >&2;} 23868 ;; 23869 *) 23870 smbconfigdir="$withval" 23871 ;; 23872 esac 23873fi 23874 23875 23876 23877 23878 # set codepage directory location 23879 23880# Check whether --with-smb-codepagedir was given. 23881if test "${with_smb_codepagedir+set}" = set; then : 23882 withval=$with_smb_codepagedir; case "$withval" in 23883 yes|no) 23884 # Just in case anybody does it 23885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-smb-codepagedir called without argument - will use default" >&5 23886$as_echo "$as_me: WARNING: --with-smb-codepagedir called without argument - will use default" >&2;} 23887 ;; 23888 *) 23889 smbcodepagedir="$withval" 23890 ;; 23891 esac 23892fi 23893 23894 23895 # export variable for child process (configure of samba) 23896 export SMBCONFIGDIR="$smbconfigdir" 23897 export SMBCODEPAGEDIR="$smbcodepagedir" 23898 else 23899 if test "1" = "2"; then 23900 ENABLE_VFS_SMB_TRUE= 23901 ENABLE_VFS_SMB_FALSE='#' 23902else 23903 ENABLE_VFS_SMB_TRUE='#' 23904 ENABLE_VFS_SMB_FALSE= 23905fi 23906 23907 fi 23908 23909 23910 # Check whether --enable-vfs-tar was given. 23911if test "${enable_vfs_tar+set}" = set; then : 23912 enableval=$enable_vfs_tar; 23913fi 23914 23915 if test "$enable_vfs" = "yes" -a x"$enable_vfs_tar" != x"no"; then 23916 enable_vfs_tar="yes" 23917 23918 if test x"$vfs_flags" = "x" ; then 23919 vfs_flags="tar" 23920 else 23921 vfs_flags="$vfs_flags, tar" 23922 fi 23923 23924 23925$as_echo "#define ENABLE_VFS_TAR 1" >>confdefs.h 23926 23927 fi 23928 if test "$enable_vfs" = "yes" -a x"$enable_vfs_tar" = x"yes"; then 23929 ENABLE_VFS_TAR_TRUE= 23930 ENABLE_VFS_TAR_FALSE='#' 23931else 23932 ENABLE_VFS_TAR_TRUE='#' 23933 ENABLE_VFS_TAR_FALSE= 23934fi 23935 23936 23937 23938 # Check whether --enable-vfs-undelfs was given. 23939if test "${enable_vfs_undelfs+set}" = set; then : 23940 enableval=$enable_vfs_undelfs; 23941 if test "x$enableval" = "xno"; then 23942 enable_vfs_undelfs=no 23943 else 23944 enable_vfs_undelfs=yes 23945 fi 23946 23947else 23948 enable_vfs_undelfs="no" 23949fi 23950 23951 23952 if test x"$enable_vfs" = x"yes" -a x"$enable_vfs_undelfs" != x"no"; then 23953 23954 ext2fs_undel=no 23955 EXT2FS_UNDEL_LIBS= 23956 23957 if test "x$ext2fs_attr_msg" = "xyes"; then 23958 com_err=no 23959 23960 23961pkg_failed=no 23962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for COM_ERR" >&5 23963$as_echo_n "checking for COM_ERR... " >&6; } 23964 23965if test -n "$COM_ERR_CFLAGS"; then 23966 pkg_cv_COM_ERR_CFLAGS="$COM_ERR_CFLAGS" 23967 elif test -n "$PKG_CONFIG"; then 23968 if test -n "$PKG_CONFIG" && \ 23969 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"com_err >= 1.42.4\""; } >&5 23970 ($PKG_CONFIG --exists --print-errors "com_err >= 1.42.4") 2>&5 23971 ac_status=$? 23972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 23973 test $ac_status = 0; }; then 23974 pkg_cv_COM_ERR_CFLAGS=`$PKG_CONFIG --cflags "com_err >= 1.42.4" 2>/dev/null` 23975 test "x$?" != "x0" && pkg_failed=yes 23976else 23977 pkg_failed=yes 23978fi 23979 else 23980 pkg_failed=untried 23981fi 23982if test -n "$COM_ERR_LIBS"; then 23983 pkg_cv_COM_ERR_LIBS="$COM_ERR_LIBS" 23984 elif test -n "$PKG_CONFIG"; then 23985 if test -n "$PKG_CONFIG" && \ 23986 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"com_err >= 1.42.4\""; } >&5 23987 ($PKG_CONFIG --exists --print-errors "com_err >= 1.42.4") 2>&5 23988 ac_status=$? 23989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 23990 test $ac_status = 0; }; then 23991 pkg_cv_COM_ERR_LIBS=`$PKG_CONFIG --libs "com_err >= 1.42.4" 2>/dev/null` 23992 test "x$?" != "x0" && pkg_failed=yes 23993else 23994 pkg_failed=yes 23995fi 23996 else 23997 pkg_failed=untried 23998fi 23999 24000 24001 24002if test $pkg_failed = yes; then 24003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24004$as_echo "no" >&6; } 24005 24006if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 24007 _pkg_short_errors_supported=yes 24008else 24009 _pkg_short_errors_supported=no 24010fi 24011 if test $_pkg_short_errors_supported = yes; then 24012 COM_ERR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "com_err >= 1.42.4" 2>&1` 24013 else 24014 COM_ERR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "com_err >= 1.42.4" 2>&1` 24015 fi 24016 # Put the nasty error message in config.log where it belongs 24017 echo "$COM_ERR_PKG_ERRORS" >&5 24018 24019 : 24020elif test $pkg_failed = untried; then 24021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24022$as_echo "no" >&6; } 24023 : 24024else 24025 COM_ERR_CFLAGS=$pkg_cv_COM_ERR_CFLAGS 24026 COM_ERR_LIBS=$pkg_cv_COM_ERR_LIBS 24027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24028$as_echo "yes" >&6; } 24029 com_err=yes 24030fi 24031 24032 if test x"$com_err" = "xyes"; then 24033 EXT2FS_UNDEL_LIBS="$EXT2FS_LIBS $COM_ERR_LIBS" 24034 ext2fs_undel=yes 24035 fi 24036 fi 24037 24038 24039 24040 if test x"$ext2fs_undel" = x"yes"; then 24041 enable_vfs_undelfs="yes" 24042 24043 if test x"$vfs_flags" = "x" ; then 24044 vfs_flags="undelfs" 24045 else 24046 vfs_flags="$vfs_flags, undelfs" 24047 fi 24048 24049 24050$as_echo "#define ENABLE_VFS_UNDELFS 1" >>confdefs.h 24051 24052 { $as_echo "$as_me:${as_lineno-$LINENO}: using ext2fs file recovery code" >&5 24053$as_echo "$as_me: using ext2fs file recovery code" >&6;} 24054 MCLIBS="$MCLIBS $EXT2FS_UNDEL_LIBS" 24055 else 24056 as_fn_error $? "Ext2 libraries not found" "$LINENO" 5 24057 fi 24058 fi 24059 if test "$enable_vfs" = "yes" -a x"$enable_vfs_undelfs" = x"yes"; then 24060 ENABLE_VFS_UNDELFS_TRUE= 24061 ENABLE_VFS_UNDELFS_FALSE='#' 24062else 24063 ENABLE_VFS_UNDELFS_TRUE='#' 24064 ENABLE_VFS_UNDELFS_FALSE= 24065fi 24066 24067 24068 24069 if test x"$enable_vfs" = x"yes"; then 24070 ENABLE_VFS_TRUE= 24071 ENABLE_VFS_FALSE='#' 24072else 24073 ENABLE_VFS_TRUE='#' 24074 ENABLE_VFS_FALSE= 24075fi 24076 24077 24078 if test x"$enable_vfs_ftp" = x"yes" -o x"$enable_vfs_fish" = x"yes" -o x"$enable_vfs_smb" = x"yes"; then 24079 24080 24081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 24082$as_echo_n "checking for library containing socket... " >&6; } 24083if ${ac_cv_search_socket+:} false; then : 24084 $as_echo_n "(cached) " >&6 24085else 24086 ac_func_search_save_LIBS=$LIBS 24087cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24088/* end confdefs.h. */ 24089 24090/* Override any GCC internal prototype to avoid an error. 24091 Use char because int might match the return type of a GCC 24092 builtin and then its argument prototype would still apply. */ 24093#ifdef __cplusplus 24094extern "C" 24095#endif 24096char socket (); 24097int 24098main () 24099{ 24100return socket (); 24101 ; 24102 return 0; 24103} 24104_ACEOF 24105for ac_lib in '' xnet bsd socket inet; do 24106 if test -z "$ac_lib"; then 24107 ac_res="none required" 24108 else 24109 ac_res=-l$ac_lib 24110 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 24111 fi 24112 if ac_fn_c_try_link "$LINENO"; then : 24113 ac_cv_search_socket=$ac_res 24114fi 24115rm -f core conftest.err conftest.$ac_objext \ 24116 conftest$ac_exeext 24117 if ${ac_cv_search_socket+:} false; then : 24118 break 24119fi 24120done 24121if ${ac_cv_search_socket+:} false; then : 24122 24123else 24124 ac_cv_search_socket=no 24125fi 24126rm conftest.$ac_ext 24127LIBS=$ac_func_search_save_LIBS 24128fi 24129{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 24130$as_echo "$ac_cv_search_socket" >&6; } 24131ac_res=$ac_cv_search_socket 24132if test "$ac_res" != no; then : 24133 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 24134 have_socket=yes 24135fi 24136 24137 if test x"$have_socket" = x"yes"; then 24138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 24139$as_echo_n "checking for library containing gethostbyname... " >&6; } 24140if ${ac_cv_search_gethostbyname+:} false; then : 24141 $as_echo_n "(cached) " >&6 24142else 24143 ac_func_search_save_LIBS=$LIBS 24144cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24145/* end confdefs.h. */ 24146 24147/* Override any GCC internal prototype to avoid an error. 24148 Use char because int might match the return type of a GCC 24149 builtin and then its argument prototype would still apply. */ 24150#ifdef __cplusplus 24151extern "C" 24152#endif 24153char gethostbyname (); 24154int 24155main () 24156{ 24157return gethostbyname (); 24158 ; 24159 return 0; 24160} 24161_ACEOF 24162for ac_lib in '' bsd socket inet netinet nsl; do 24163 if test -z "$ac_lib"; then 24164 ac_res="none required" 24165 else 24166 ac_res=-l$ac_lib 24167 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 24168 fi 24169 if ac_fn_c_try_link "$LINENO"; then : 24170 ac_cv_search_gethostbyname=$ac_res 24171fi 24172rm -f core conftest.err conftest.$ac_objext \ 24173 conftest$ac_exeext 24174 if ${ac_cv_search_gethostbyname+:} false; then : 24175 break 24176fi 24177done 24178if ${ac_cv_search_gethostbyname+:} false; then : 24179 24180else 24181 ac_cv_search_gethostbyname=no 24182fi 24183rm conftest.$ac_ext 24184LIBS=$ac_func_search_save_LIBS 24185fi 24186{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5 24187$as_echo "$ac_cv_search_gethostbyname" >&6; } 24188ac_res=$ac_cv_search_gethostbyname 24189if test "$ac_res" != no; then : 24190 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 24191 24192fi 24193 24194 ac_fn_c_check_member "$LINENO" "struct linger" "l_linger" "ac_cv_member_struct_linger_l_linger" " 24195#include <sys/types.h> 24196#include <sys/socket.h> 24197 24198" 24199if test "x$ac_cv_member_struct_linger_l_linger" = xyes; then : 24200 24201cat >>confdefs.h <<_ACEOF 24202#define HAVE_STRUCT_LINGER_L_LINGER 1 24203_ACEOF 24204 24205 24206fi 24207 24208 else 24209 as_fn_error $? "Couldnt find socket functions" "$LINENO" 5 24210 fi 24211 24212 if test x"$have_socket" = xyes; then 24213 ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "$ac_includes_default" 24214if test "x$ac_cv_type_nlink_t" = xyes; then : 24215 24216else 24217 24218cat >>confdefs.h <<_ACEOF 24219#define nlink_t unsigned int 24220_ACEOF 24221 24222fi 24223 24224 ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" " 24225#include <sys/types.h> 24226#include <sys/socket.h> 24227 24228" 24229if test "x$ac_cv_type_socklen_t" = xyes; then : 24230 24231cat >>confdefs.h <<_ACEOF 24232#define HAVE_SOCKLEN_T 1 24233_ACEOF 24234 24235 24236fi 24237 24238 24239 24240 for ac_func in pmap_set 24241do : 24242 ac_fn_c_check_func "$LINENO" "pmap_set" "ac_cv_func_pmap_set" 24243if test "x$ac_cv_func_pmap_set" = xyes; then : 24244 cat >>confdefs.h <<_ACEOF 24245#define HAVE_PMAP_SET 1 24246_ACEOF 24247 24248else 24249 24250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pmap_set in -lrpc" >&5 24251$as_echo_n "checking for pmap_set in -lrpc... " >&6; } 24252if ${ac_cv_lib_rpc_pmap_set+:} false; then : 24253 $as_echo_n "(cached) " >&6 24254else 24255 ac_check_lib_save_LIBS=$LIBS 24256LIBS="-lrpc $LIBS" 24257cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24258/* end confdefs.h. */ 24259 24260/* Override any GCC internal prototype to avoid an error. 24261 Use char because int might match the return type of a GCC 24262 builtin and then its argument prototype would still apply. */ 24263#ifdef __cplusplus 24264extern "C" 24265#endif 24266char pmap_set (); 24267int 24268main () 24269{ 24270return pmap_set (); 24271 ; 24272 return 0; 24273} 24274_ACEOF 24275if ac_fn_c_try_link "$LINENO"; then : 24276 ac_cv_lib_rpc_pmap_set=yes 24277else 24278 ac_cv_lib_rpc_pmap_set=no 24279fi 24280rm -f core conftest.err conftest.$ac_objext \ 24281 conftest$ac_exeext conftest.$ac_ext 24282LIBS=$ac_check_lib_save_LIBS 24283fi 24284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rpc_pmap_set" >&5 24285$as_echo "$ac_cv_lib_rpc_pmap_set" >&6; } 24286if test "x$ac_cv_lib_rpc_pmap_set" = xyes; then : 24287 24288 LIBS="-lrpc $LIBS" 24289 $as_echo "#define HAVE_PMAP_SET 1" >>confdefs.h 24290 24291 24292fi 24293 24294fi 24295done 24296 24297 for ac_func in pmap_getport pmap_getmaps rresvport 24298do : 24299 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 24300ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 24301if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 24302 cat >>confdefs.h <<_ACEOF 24303#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 24304_ACEOF 24305 24306fi 24307done 24308 24309 for ac_header in rpc/pmap_clnt.h 24310do : 24311 ac_fn_c_check_header_compile "$LINENO" "rpc/pmap_clnt.h" "ac_cv_header_rpc_pmap_clnt_h" " 24312#include <sys/types.h> 24313#include <sys/socket.h> 24314#include <netinet/in.h> 24315#include <rpc/rpc.h> 24316#include <rpc/pmap_prot.h> 24317 24318" 24319if test "x$ac_cv_header_rpc_pmap_clnt_h" = xyes; then : 24320 cat >>confdefs.h <<_ACEOF 24321#define HAVE_RPC_PMAP_CLNT_H 1 24322_ACEOF 24323 24324fi 24325 24326done 24327 24328 24329 24330 enable_vfs_net=yes 24331 fi 24332 24333 fi 24334 24335 if test x"$enable_vfs_net" = x"yes"; then 24336 ENABLE_VFS_NET_TRUE= 24337 ENABLE_VFS_NET_FALSE='#' 24338else 24339 ENABLE_VFS_NET_TRUE='#' 24340 ENABLE_VFS_NET_FALSE= 24341fi 24342 24343 24344 24345 24346test "x$prefix" = "xNONE" && prefix="$ac_default_prefix" 24347test "x$exec_prefix" = "xNONE" && exec_prefix="${prefix}" 24348 24349if test x${libexecdir} = x'${exec_prefix}/libexec'; then 24350 EXTHELPERSDIR=${prefix}/libexec/${PACKAGE}/ext.d 24351elif test x${libexecdir} = x'${exec_prefix}/lib'; then 24352 EXTHELPERSDIR=${prefix}/lib/${PACKAGE}/ext.d 24353else 24354 EXTHELPERSDIR=${libexecdir}/${PACKAGE}/ext.d 24355fi 24356 24357 24358 24359 24360MAN_DATE="$(LC_ALL=C date "+%B %Y")" 24361 24362 24363ALL_DOC_LINGUAS="es hu it pl ru sr" 24364 24365DOC_LINGUAS= 24366if test "x$USE_NLS" = xyes; then 24367 if test -z "$LINGUAS"; then 24368 langs="`grep -v '^#' $srcdir/po/LINGUAS`" 24369 else 24370 langs="$LINGUAS" 24371 fi 24372else 24373 langs= 24374fi 24375 24376for h_lang in $ALL_DOC_LINGUAS; do 24377 for lang in $langs; do 24378 if test "$lang" = "$h_lang"; then 24379 DOC_LINGUAS="$DOC_LINGUAS $lang" 24380 break 24381 fi 24382 done 24383done 24384 24385 24386 24387 24388 24389 24390 24391 24392 24393 24394 24395 24396# Files: 24397DX_PROJECT=mc 24398 24399DX_CONFIG=doxygen.cfg 24400 24401DX_DOCDIR=devel 24402 24403 24404# Environment variables used inside doxygen.cfg: 24405SRCDIR=`cd $srcdir; pwd` 24406DX_ENV="$DX_ENV SRCDIR='$SRCDIR'" 24407 24408DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'" 24409 24410DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'" 24411 24412DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'" 24413 24414 24415# Doxygen itself: 24416 24417 24418 24419 # Check whether --enable-doxygen-doc was given. 24420if test "${enable_doxygen_doc+set}" = set; then : 24421 enableval=$enable_doxygen_doc; 24422case "$enableval" in 24423#( 24424y|Y|yes|Yes|YES) 24425 DX_FLAG_doc=1 24426 24427 24428;; #( 24429n|N|no|No|NO) 24430 DX_FLAG_doc=0 24431 24432;; #( 24433*) 24434 as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5 24435;; 24436esac 24437 24438else 24439 24440DX_FLAG_doc=1 24441 24442 24443 24444fi 24445 24446if test "$DX_FLAG_doc" = 1; then 24447 24448if test -n "$ac_tool_prefix"; then 24449 # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args. 24450set dummy ${ac_tool_prefix}doxygen; ac_word=$2 24451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24452$as_echo_n "checking for $ac_word... " >&6; } 24453if ${ac_cv_path_DX_DOXYGEN+:} false; then : 24454 $as_echo_n "(cached) " >&6 24455else 24456 case $DX_DOXYGEN in 24457 [\\/]* | ?:[\\/]*) 24458 ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path. 24459 ;; 24460 *) 24461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24462for as_dir in $PATH 24463do 24464 IFS=$as_save_IFS 24465 test -z "$as_dir" && as_dir=. 24466 for ac_exec_ext in '' $ac_executable_extensions; do 24467 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24468 ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext" 24469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24470 break 2 24471 fi 24472done 24473 done 24474IFS=$as_save_IFS 24475 24476 ;; 24477esac 24478fi 24479DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN 24480if test -n "$DX_DOXYGEN"; then 24481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5 24482$as_echo "$DX_DOXYGEN" >&6; } 24483else 24484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24485$as_echo "no" >&6; } 24486fi 24487 24488 24489fi 24490if test -z "$ac_cv_path_DX_DOXYGEN"; then 24491 ac_pt_DX_DOXYGEN=$DX_DOXYGEN 24492 # Extract the first word of "doxygen", so it can be a program name with args. 24493set dummy doxygen; ac_word=$2 24494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24495$as_echo_n "checking for $ac_word... " >&6; } 24496if ${ac_cv_path_ac_pt_DX_DOXYGEN+:} false; then : 24497 $as_echo_n "(cached) " >&6 24498else 24499 case $ac_pt_DX_DOXYGEN in 24500 [\\/]* | ?:[\\/]*) 24501 ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path. 24502 ;; 24503 *) 24504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24505for as_dir in $PATH 24506do 24507 IFS=$as_save_IFS 24508 test -z "$as_dir" && as_dir=. 24509 for ac_exec_ext in '' $ac_executable_extensions; do 24510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24511 ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext" 24512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24513 break 2 24514 fi 24515done 24516 done 24517IFS=$as_save_IFS 24518 24519 ;; 24520esac 24521fi 24522ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN 24523if test -n "$ac_pt_DX_DOXYGEN"; then 24524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5 24525$as_echo "$ac_pt_DX_DOXYGEN" >&6; } 24526else 24527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24528$as_echo "no" >&6; } 24529fi 24530 24531 if test "x$ac_pt_DX_DOXYGEN" = x; then 24532 DX_DOXYGEN="" 24533 else 24534 case $cross_compiling:$ac_tool_warned in 24535yes:) 24536{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 24537$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 24538ac_tool_warned=yes ;; 24539esac 24540 DX_DOXYGEN=$ac_pt_DX_DOXYGEN 24541 fi 24542else 24543 DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN" 24544fi 24545 24546if test x"$DX_FLAG_doc$DX_DOXYGEN" = x1; then 24547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5 24548$as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;} 24549 DX_FLAG_doc=0 24550 24551fi 24552 24553 24554if test -n "$ac_tool_prefix"; then 24555 # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args. 24556set dummy ${ac_tool_prefix}perl; ac_word=$2 24557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24558$as_echo_n "checking for $ac_word... " >&6; } 24559if ${ac_cv_path_DX_PERL+:} false; then : 24560 $as_echo_n "(cached) " >&6 24561else 24562 case $DX_PERL in 24563 [\\/]* | ?:[\\/]*) 24564 ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path. 24565 ;; 24566 *) 24567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24568for as_dir in $PATH 24569do 24570 IFS=$as_save_IFS 24571 test -z "$as_dir" && as_dir=. 24572 for ac_exec_ext in '' $ac_executable_extensions; do 24573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24574 ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext" 24575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24576 break 2 24577 fi 24578done 24579 done 24580IFS=$as_save_IFS 24581 24582 ;; 24583esac 24584fi 24585DX_PERL=$ac_cv_path_DX_PERL 24586if test -n "$DX_PERL"; then 24587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5 24588$as_echo "$DX_PERL" >&6; } 24589else 24590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24591$as_echo "no" >&6; } 24592fi 24593 24594 24595fi 24596if test -z "$ac_cv_path_DX_PERL"; then 24597 ac_pt_DX_PERL=$DX_PERL 24598 # Extract the first word of "perl", so it can be a program name with args. 24599set dummy perl; ac_word=$2 24600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24601$as_echo_n "checking for $ac_word... " >&6; } 24602if ${ac_cv_path_ac_pt_DX_PERL+:} false; then : 24603 $as_echo_n "(cached) " >&6 24604else 24605 case $ac_pt_DX_PERL in 24606 [\\/]* | ?:[\\/]*) 24607 ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path. 24608 ;; 24609 *) 24610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24611for as_dir in $PATH 24612do 24613 IFS=$as_save_IFS 24614 test -z "$as_dir" && as_dir=. 24615 for ac_exec_ext in '' $ac_executable_extensions; do 24616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24617 ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext" 24618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24619 break 2 24620 fi 24621done 24622 done 24623IFS=$as_save_IFS 24624 24625 ;; 24626esac 24627fi 24628ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL 24629if test -n "$ac_pt_DX_PERL"; then 24630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5 24631$as_echo "$ac_pt_DX_PERL" >&6; } 24632else 24633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24634$as_echo "no" >&6; } 24635fi 24636 24637 if test "x$ac_pt_DX_PERL" = x; then 24638 DX_PERL="" 24639 else 24640 case $cross_compiling:$ac_tool_warned in 24641yes:) 24642{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 24643$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 24644ac_tool_warned=yes ;; 24645esac 24646 DX_PERL=$ac_pt_DX_PERL 24647 fi 24648else 24649 DX_PERL="$ac_cv_path_DX_PERL" 24650fi 24651 24652if test x"$DX_FLAG_doc$DX_PERL" = x1; then 24653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5 24654$as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;} 24655 DX_FLAG_doc=0 24656 24657fi 24658 24659 : 24660fi 24661if test "$DX_FLAG_doc" = 1; then 24662 if :; then 24663 DX_COND_doc_TRUE= 24664 DX_COND_doc_FALSE='#' 24665else 24666 DX_COND_doc_TRUE='#' 24667 DX_COND_doc_FALSE= 24668fi 24669 24670 DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'" 24671 24672 : 24673else 24674 if false; then 24675 DX_COND_doc_TRUE= 24676 DX_COND_doc_FALSE='#' 24677else 24678 DX_COND_doc_TRUE='#' 24679 DX_COND_doc_FALSE= 24680fi 24681 24682 24683 : 24684fi 24685 24686 24687# Dot for graphics: 24688 24689 24690 24691 # Check whether --enable-doxygen-dot was given. 24692if test "${enable_doxygen_dot+set}" = set; then : 24693 enableval=$enable_doxygen_dot; 24694case "$enableval" in 24695#( 24696y|Y|yes|Yes|YES) 24697 DX_FLAG_dot=1 24698 24699 24700test x"$DX_FLAG_doc" = x"1" \ 24701|| as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5 24702 24703;; #( 24704n|N|no|No|NO) 24705 DX_FLAG_dot=0 24706 24707;; #( 24708*) 24709 as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5 24710;; 24711esac 24712 24713else 24714 24715DX_FLAG_dot=1 24716 24717 24718test x"$DX_FLAG_doc" = x"1" || DX_FLAG_dot=0 24719 24720 24721 24722fi 24723 24724if test "$DX_FLAG_dot" = 1; then 24725 24726if test -n "$ac_tool_prefix"; then 24727 # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args. 24728set dummy ${ac_tool_prefix}dot; ac_word=$2 24729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24730$as_echo_n "checking for $ac_word... " >&6; } 24731if ${ac_cv_path_DX_DOT+:} false; then : 24732 $as_echo_n "(cached) " >&6 24733else 24734 case $DX_DOT in 24735 [\\/]* | ?:[\\/]*) 24736 ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path. 24737 ;; 24738 *) 24739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24740for as_dir in $PATH 24741do 24742 IFS=$as_save_IFS 24743 test -z "$as_dir" && as_dir=. 24744 for ac_exec_ext in '' $ac_executable_extensions; do 24745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24746 ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext" 24747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24748 break 2 24749 fi 24750done 24751 done 24752IFS=$as_save_IFS 24753 24754 ;; 24755esac 24756fi 24757DX_DOT=$ac_cv_path_DX_DOT 24758if test -n "$DX_DOT"; then 24759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5 24760$as_echo "$DX_DOT" >&6; } 24761else 24762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24763$as_echo "no" >&6; } 24764fi 24765 24766 24767fi 24768if test -z "$ac_cv_path_DX_DOT"; then 24769 ac_pt_DX_DOT=$DX_DOT 24770 # Extract the first word of "dot", so it can be a program name with args. 24771set dummy dot; ac_word=$2 24772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24773$as_echo_n "checking for $ac_word... " >&6; } 24774if ${ac_cv_path_ac_pt_DX_DOT+:} false; then : 24775 $as_echo_n "(cached) " >&6 24776else 24777 case $ac_pt_DX_DOT in 24778 [\\/]* | ?:[\\/]*) 24779 ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path. 24780 ;; 24781 *) 24782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24783for as_dir in $PATH 24784do 24785 IFS=$as_save_IFS 24786 test -z "$as_dir" && as_dir=. 24787 for ac_exec_ext in '' $ac_executable_extensions; do 24788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24789 ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext" 24790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24791 break 2 24792 fi 24793done 24794 done 24795IFS=$as_save_IFS 24796 24797 ;; 24798esac 24799fi 24800ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT 24801if test -n "$ac_pt_DX_DOT"; then 24802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5 24803$as_echo "$ac_pt_DX_DOT" >&6; } 24804else 24805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24806$as_echo "no" >&6; } 24807fi 24808 24809 if test "x$ac_pt_DX_DOT" = x; then 24810 DX_DOT="" 24811 else 24812 case $cross_compiling:$ac_tool_warned in 24813yes:) 24814{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 24815$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 24816ac_tool_warned=yes ;; 24817esac 24818 DX_DOT=$ac_pt_DX_DOT 24819 fi 24820else 24821 DX_DOT="$ac_cv_path_DX_DOT" 24822fi 24823 24824if test x"$DX_FLAG_dot$DX_DOT" = x1; then 24825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5 24826$as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;} 24827 DX_FLAG_dot=0 24828 24829fi 24830 24831 : 24832fi 24833if test "$DX_FLAG_dot" = 1; then 24834 if :; then 24835 DX_COND_dot_TRUE= 24836 DX_COND_dot_FALSE='#' 24837else 24838 DX_COND_dot_TRUE='#' 24839 DX_COND_dot_FALSE= 24840fi 24841 24842 DX_ENV="$DX_ENV HAVE_DOT='YES'" 24843 24844 DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'" 24845 24846 : 24847else 24848 if false; then 24849 DX_COND_dot_TRUE= 24850 DX_COND_dot_FALSE='#' 24851else 24852 DX_COND_dot_TRUE='#' 24853 DX_COND_dot_FALSE= 24854fi 24855 24856 DX_ENV="$DX_ENV HAVE_DOT='NO'" 24857 24858 : 24859fi 24860 24861 24862# Man pages generation: 24863 24864 24865 24866 # Check whether --enable-doxygen-man was given. 24867if test "${enable_doxygen_man+set}" = set; then : 24868 enableval=$enable_doxygen_man; 24869case "$enableval" in 24870#( 24871y|Y|yes|Yes|YES) 24872 DX_FLAG_man=1 24873 24874 24875test x"$DX_FLAG_doc" = x"1" \ 24876|| as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5 24877 24878;; #( 24879n|N|no|No|NO) 24880 DX_FLAG_man=0 24881 24882;; #( 24883*) 24884 as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5 24885;; 24886esac 24887 24888else 24889 24890DX_FLAG_man=0 24891 24892 24893test x"$DX_FLAG_doc" = x"1" || DX_FLAG_man=0 24894 24895 24896 24897fi 24898 24899if test "$DX_FLAG_man" = 1; then 24900 24901 : 24902fi 24903if test "$DX_FLAG_man" = 1; then 24904 if :; then 24905 DX_COND_man_TRUE= 24906 DX_COND_man_FALSE='#' 24907else 24908 DX_COND_man_TRUE='#' 24909 DX_COND_man_FALSE= 24910fi 24911 24912 DX_ENV="$DX_ENV GENERATE_MAN='YES'" 24913 24914 : 24915else 24916 if false; then 24917 DX_COND_man_TRUE= 24918 DX_COND_man_FALSE='#' 24919else 24920 DX_COND_man_TRUE='#' 24921 DX_COND_man_FALSE= 24922fi 24923 24924 DX_ENV="$DX_ENV GENERATE_MAN='NO'" 24925 24926 : 24927fi 24928 24929 24930# RTF file generation: 24931 24932 24933 24934 # Check whether --enable-doxygen-rtf was given. 24935if test "${enable_doxygen_rtf+set}" = set; then : 24936 enableval=$enable_doxygen_rtf; 24937case "$enableval" in 24938#( 24939y|Y|yes|Yes|YES) 24940 DX_FLAG_rtf=1 24941 24942 24943test x"$DX_FLAG_doc" = x"1" \ 24944|| as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5 24945 24946;; #( 24947n|N|no|No|NO) 24948 DX_FLAG_rtf=0 24949 24950;; #( 24951*) 24952 as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5 24953;; 24954esac 24955 24956else 24957 24958DX_FLAG_rtf=0 24959 24960 24961test x"$DX_FLAG_doc" = x"1" || DX_FLAG_rtf=0 24962 24963 24964 24965fi 24966 24967if test "$DX_FLAG_rtf" = 1; then 24968 24969 : 24970fi 24971if test "$DX_FLAG_rtf" = 1; then 24972 if :; then 24973 DX_COND_rtf_TRUE= 24974 DX_COND_rtf_FALSE='#' 24975else 24976 DX_COND_rtf_TRUE='#' 24977 DX_COND_rtf_FALSE= 24978fi 24979 24980 DX_ENV="$DX_ENV GENERATE_RTF='YES'" 24981 24982 : 24983else 24984 if false; then 24985 DX_COND_rtf_TRUE= 24986 DX_COND_rtf_FALSE='#' 24987else 24988 DX_COND_rtf_TRUE='#' 24989 DX_COND_rtf_FALSE= 24990fi 24991 24992 DX_ENV="$DX_ENV GENERATE_RTF='NO'" 24993 24994 : 24995fi 24996 24997 24998# XML file generation: 24999 25000 25001 25002 # Check whether --enable-doxygen-xml was given. 25003if test "${enable_doxygen_xml+set}" = set; then : 25004 enableval=$enable_doxygen_xml; 25005case "$enableval" in 25006#( 25007y|Y|yes|Yes|YES) 25008 DX_FLAG_xml=1 25009 25010 25011test x"$DX_FLAG_doc" = x"1" \ 25012|| as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5 25013 25014;; #( 25015n|N|no|No|NO) 25016 DX_FLAG_xml=0 25017 25018;; #( 25019*) 25020 as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5 25021;; 25022esac 25023 25024else 25025 25026DX_FLAG_xml=0 25027 25028 25029test x"$DX_FLAG_doc" = x"1" || DX_FLAG_xml=0 25030 25031 25032 25033fi 25034 25035if test "$DX_FLAG_xml" = 1; then 25036 25037 : 25038fi 25039if test "$DX_FLAG_xml" = 1; then 25040 if :; then 25041 DX_COND_xml_TRUE= 25042 DX_COND_xml_FALSE='#' 25043else 25044 DX_COND_xml_TRUE='#' 25045 DX_COND_xml_FALSE= 25046fi 25047 25048 DX_ENV="$DX_ENV GENERATE_XML='YES'" 25049 25050 : 25051else 25052 if false; then 25053 DX_COND_xml_TRUE= 25054 DX_COND_xml_FALSE='#' 25055else 25056 DX_COND_xml_TRUE='#' 25057 DX_COND_xml_FALSE= 25058fi 25059 25060 DX_ENV="$DX_ENV GENERATE_XML='NO'" 25061 25062 : 25063fi 25064 25065 25066# (Compressed) HTML help generation: 25067 25068 25069 25070 # Check whether --enable-doxygen-chm was given. 25071if test "${enable_doxygen_chm+set}" = set; then : 25072 enableval=$enable_doxygen_chm; 25073case "$enableval" in 25074#( 25075y|Y|yes|Yes|YES) 25076 DX_FLAG_chm=1 25077 25078 25079test x"$DX_FLAG_doc" = x"1" \ 25080|| as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5 25081 25082;; #( 25083n|N|no|No|NO) 25084 DX_FLAG_chm=0 25085 25086;; #( 25087*) 25088 as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5 25089;; 25090esac 25091 25092else 25093 25094DX_FLAG_chm=0 25095 25096 25097test x"$DX_FLAG_doc" = x"1" || DX_FLAG_chm=0 25098 25099 25100 25101fi 25102 25103if test "$DX_FLAG_chm" = 1; then 25104 25105if test -n "$ac_tool_prefix"; then 25106 # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args. 25107set dummy ${ac_tool_prefix}hhc; ac_word=$2 25108{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 25109$as_echo_n "checking for $ac_word... " >&6; } 25110if ${ac_cv_path_DX_HHC+:} false; then : 25111 $as_echo_n "(cached) " >&6 25112else 25113 case $DX_HHC in 25114 [\\/]* | ?:[\\/]*) 25115 ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path. 25116 ;; 25117 *) 25118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25119for as_dir in $PATH 25120do 25121 IFS=$as_save_IFS 25122 test -z "$as_dir" && as_dir=. 25123 for ac_exec_ext in '' $ac_executable_extensions; do 25124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 25125 ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext" 25126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 25127 break 2 25128 fi 25129done 25130 done 25131IFS=$as_save_IFS 25132 25133 ;; 25134esac 25135fi 25136DX_HHC=$ac_cv_path_DX_HHC 25137if test -n "$DX_HHC"; then 25138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5 25139$as_echo "$DX_HHC" >&6; } 25140else 25141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25142$as_echo "no" >&6; } 25143fi 25144 25145 25146fi 25147if test -z "$ac_cv_path_DX_HHC"; then 25148 ac_pt_DX_HHC=$DX_HHC 25149 # Extract the first word of "hhc", so it can be a program name with args. 25150set dummy hhc; ac_word=$2 25151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 25152$as_echo_n "checking for $ac_word... " >&6; } 25153if ${ac_cv_path_ac_pt_DX_HHC+:} false; then : 25154 $as_echo_n "(cached) " >&6 25155else 25156 case $ac_pt_DX_HHC in 25157 [\\/]* | ?:[\\/]*) 25158 ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path. 25159 ;; 25160 *) 25161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25162for as_dir in $PATH 25163do 25164 IFS=$as_save_IFS 25165 test -z "$as_dir" && as_dir=. 25166 for ac_exec_ext in '' $ac_executable_extensions; do 25167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 25168 ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext" 25169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 25170 break 2 25171 fi 25172done 25173 done 25174IFS=$as_save_IFS 25175 25176 ;; 25177esac 25178fi 25179ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC 25180if test -n "$ac_pt_DX_HHC"; then 25181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5 25182$as_echo "$ac_pt_DX_HHC" >&6; } 25183else 25184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25185$as_echo "no" >&6; } 25186fi 25187 25188 if test "x$ac_pt_DX_HHC" = x; then 25189 DX_HHC="" 25190 else 25191 case $cross_compiling:$ac_tool_warned in 25192yes:) 25193{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 25194$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 25195ac_tool_warned=yes ;; 25196esac 25197 DX_HHC=$ac_pt_DX_HHC 25198 fi 25199else 25200 DX_HHC="$ac_cv_path_DX_HHC" 25201fi 25202 25203if test x"$DX_FLAG_chm$DX_HHC" = x1; then 25204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5 25205$as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;} 25206 DX_FLAG_chm=0 25207 25208fi 25209 25210 : 25211fi 25212if test "$DX_FLAG_chm" = 1; then 25213 if :; then 25214 DX_COND_chm_TRUE= 25215 DX_COND_chm_FALSE='#' 25216else 25217 DX_COND_chm_TRUE='#' 25218 DX_COND_chm_FALSE= 25219fi 25220 25221 DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'" 25222 25223 DX_ENV="$DX_ENV GENERATE_HTML='YES'" 25224 25225 DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'" 25226 25227 : 25228else 25229 if false; then 25230 DX_COND_chm_TRUE= 25231 DX_COND_chm_FALSE='#' 25232else 25233 DX_COND_chm_TRUE='#' 25234 DX_COND_chm_FALSE= 25235fi 25236 25237 DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'" 25238 25239 : 25240fi 25241 25242 25243# Separate CHI file generation. 25244 25245 25246 25247 # Check whether --enable-doxygen-chi was given. 25248if test "${enable_doxygen_chi+set}" = set; then : 25249 enableval=$enable_doxygen_chi; 25250case "$enableval" in 25251#( 25252y|Y|yes|Yes|YES) 25253 DX_FLAG_chi=1 25254 25255 25256test x"$DX_FLAG_chm" = x"1" \ 25257|| as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5 25258 25259;; #( 25260n|N|no|No|NO) 25261 DX_FLAG_chi=0 25262 25263;; #( 25264*) 25265 as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5 25266;; 25267esac 25268 25269else 25270 25271DX_FLAG_chi=0 25272 25273 25274test x"$DX_FLAG_chm" = x"1" || DX_FLAG_chi=0 25275 25276 25277 25278fi 25279 25280if test "$DX_FLAG_chi" = 1; then 25281 25282 : 25283fi 25284if test "$DX_FLAG_chi" = 1; then 25285 if :; then 25286 DX_COND_chi_TRUE= 25287 DX_COND_chi_FALSE='#' 25288else 25289 DX_COND_chi_TRUE='#' 25290 DX_COND_chi_FALSE= 25291fi 25292 25293 DX_ENV="$DX_ENV GENERATE_CHI='YES'" 25294 25295 : 25296else 25297 if false; then 25298 DX_COND_chi_TRUE= 25299 DX_COND_chi_FALSE='#' 25300else 25301 DX_COND_chi_TRUE='#' 25302 DX_COND_chi_FALSE= 25303fi 25304 25305 DX_ENV="$DX_ENV GENERATE_CHI='NO'" 25306 25307 : 25308fi 25309 25310 25311# Plain HTML pages generation: 25312 25313 25314 25315 # Check whether --enable-doxygen-html was given. 25316if test "${enable_doxygen_html+set}" = set; then : 25317 enableval=$enable_doxygen_html; 25318case "$enableval" in 25319#( 25320y|Y|yes|Yes|YES) 25321 DX_FLAG_html=1 25322 25323 25324test x"$DX_FLAG_doc" = x"1" \ 25325|| as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5 25326 25327test x"$DX_FLAG_chm" = x"0" \ 25328|| as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5 25329 25330;; #( 25331n|N|no|No|NO) 25332 DX_FLAG_html=0 25333 25334;; #( 25335*) 25336 as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5 25337;; 25338esac 25339 25340else 25341 25342DX_FLAG_html=1 25343 25344 25345test x"$DX_FLAG_doc" = x"1" || DX_FLAG_html=0 25346 25347 25348test x"$DX_FLAG_chm" = x"0" || DX_FLAG_html=0 25349 25350 25351 25352fi 25353 25354if test "$DX_FLAG_html" = 1; then 25355 25356 : 25357fi 25358if test "$DX_FLAG_html" = 1; then 25359 if :; then 25360 DX_COND_html_TRUE= 25361 DX_COND_html_FALSE='#' 25362else 25363 DX_COND_html_TRUE='#' 25364 DX_COND_html_FALSE= 25365fi 25366 25367 DX_ENV="$DX_ENV GENERATE_HTML='YES'" 25368 25369 : 25370else 25371 if false; then 25372 DX_COND_html_TRUE= 25373 DX_COND_html_FALSE='#' 25374else 25375 DX_COND_html_TRUE='#' 25376 DX_COND_html_FALSE= 25377fi 25378 25379 test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'" 25380 25381 : 25382fi 25383 25384 25385# PostScript file generation: 25386 25387 25388 25389 # Check whether --enable-doxygen-ps was given. 25390if test "${enable_doxygen_ps+set}" = set; then : 25391 enableval=$enable_doxygen_ps; 25392case "$enableval" in 25393#( 25394y|Y|yes|Yes|YES) 25395 DX_FLAG_ps=1 25396 25397 25398test x"$DX_FLAG_doc" = x"1" \ 25399|| as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5 25400 25401;; #( 25402n|N|no|No|NO) 25403 DX_FLAG_ps=0 25404 25405;; #( 25406*) 25407 as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5 25408;; 25409esac 25410 25411else 25412 25413DX_FLAG_ps=0 25414 25415 25416test x"$DX_FLAG_doc" = x"1" || DX_FLAG_ps=0 25417 25418 25419 25420fi 25421 25422if test "$DX_FLAG_ps" = 1; then 25423 25424if test -n "$ac_tool_prefix"; then 25425 # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args. 25426set dummy ${ac_tool_prefix}latex; ac_word=$2 25427{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 25428$as_echo_n "checking for $ac_word... " >&6; } 25429if ${ac_cv_path_DX_LATEX+:} false; then : 25430 $as_echo_n "(cached) " >&6 25431else 25432 case $DX_LATEX in 25433 [\\/]* | ?:[\\/]*) 25434 ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path. 25435 ;; 25436 *) 25437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25438for as_dir in $PATH 25439do 25440 IFS=$as_save_IFS 25441 test -z "$as_dir" && as_dir=. 25442 for ac_exec_ext in '' $ac_executable_extensions; do 25443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 25444 ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext" 25445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 25446 break 2 25447 fi 25448done 25449 done 25450IFS=$as_save_IFS 25451 25452 ;; 25453esac 25454fi 25455DX_LATEX=$ac_cv_path_DX_LATEX 25456if test -n "$DX_LATEX"; then 25457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5 25458$as_echo "$DX_LATEX" >&6; } 25459else 25460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25461$as_echo "no" >&6; } 25462fi 25463 25464 25465fi 25466if test -z "$ac_cv_path_DX_LATEX"; then 25467 ac_pt_DX_LATEX=$DX_LATEX 25468 # Extract the first word of "latex", so it can be a program name with args. 25469set dummy latex; ac_word=$2 25470{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 25471$as_echo_n "checking for $ac_word... " >&6; } 25472if ${ac_cv_path_ac_pt_DX_LATEX+:} false; then : 25473 $as_echo_n "(cached) " >&6 25474else 25475 case $ac_pt_DX_LATEX in 25476 [\\/]* | ?:[\\/]*) 25477 ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path. 25478 ;; 25479 *) 25480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25481for as_dir in $PATH 25482do 25483 IFS=$as_save_IFS 25484 test -z "$as_dir" && as_dir=. 25485 for ac_exec_ext in '' $ac_executable_extensions; do 25486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 25487 ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext" 25488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 25489 break 2 25490 fi 25491done 25492 done 25493IFS=$as_save_IFS 25494 25495 ;; 25496esac 25497fi 25498ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX 25499if test -n "$ac_pt_DX_LATEX"; then 25500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5 25501$as_echo "$ac_pt_DX_LATEX" >&6; } 25502else 25503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25504$as_echo "no" >&6; } 25505fi 25506 25507 if test "x$ac_pt_DX_LATEX" = x; then 25508 DX_LATEX="" 25509 else 25510 case $cross_compiling:$ac_tool_warned in 25511yes:) 25512{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 25513$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 25514ac_tool_warned=yes ;; 25515esac 25516 DX_LATEX=$ac_pt_DX_LATEX 25517 fi 25518else 25519 DX_LATEX="$ac_cv_path_DX_LATEX" 25520fi 25521 25522if test x"$DX_FLAG_ps$DX_LATEX" = x1; then 25523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5 25524$as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;} 25525 DX_FLAG_ps=0 25526 25527fi 25528 25529 25530if test -n "$ac_tool_prefix"; then 25531 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args. 25532set dummy ${ac_tool_prefix}makeindex; ac_word=$2 25533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 25534$as_echo_n "checking for $ac_word... " >&6; } 25535if ${ac_cv_path_DX_MAKEINDEX+:} false; then : 25536 $as_echo_n "(cached) " >&6 25537else 25538 case $DX_MAKEINDEX in 25539 [\\/]* | ?:[\\/]*) 25540 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path. 25541 ;; 25542 *) 25543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25544for as_dir in $PATH 25545do 25546 IFS=$as_save_IFS 25547 test -z "$as_dir" && as_dir=. 25548 for ac_exec_ext in '' $ac_executable_extensions; do 25549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 25550 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext" 25551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 25552 break 2 25553 fi 25554done 25555 done 25556IFS=$as_save_IFS 25557 25558 ;; 25559esac 25560fi 25561DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX 25562if test -n "$DX_MAKEINDEX"; then 25563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5 25564$as_echo "$DX_MAKEINDEX" >&6; } 25565else 25566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25567$as_echo "no" >&6; } 25568fi 25569 25570 25571fi 25572if test -z "$ac_cv_path_DX_MAKEINDEX"; then 25573 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX 25574 # Extract the first word of "makeindex", so it can be a program name with args. 25575set dummy makeindex; ac_word=$2 25576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 25577$as_echo_n "checking for $ac_word... " >&6; } 25578if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then : 25579 $as_echo_n "(cached) " >&6 25580else 25581 case $ac_pt_DX_MAKEINDEX in 25582 [\\/]* | ?:[\\/]*) 25583 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path. 25584 ;; 25585 *) 25586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25587for as_dir in $PATH 25588do 25589 IFS=$as_save_IFS 25590 test -z "$as_dir" && as_dir=. 25591 for ac_exec_ext in '' $ac_executable_extensions; do 25592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 25593 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext" 25594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 25595 break 2 25596 fi 25597done 25598 done 25599IFS=$as_save_IFS 25600 25601 ;; 25602esac 25603fi 25604ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX 25605if test -n "$ac_pt_DX_MAKEINDEX"; then 25606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5 25607$as_echo "$ac_pt_DX_MAKEINDEX" >&6; } 25608else 25609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25610$as_echo "no" >&6; } 25611fi 25612 25613 if test "x$ac_pt_DX_MAKEINDEX" = x; then 25614 DX_MAKEINDEX="" 25615 else 25616 case $cross_compiling:$ac_tool_warned in 25617yes:) 25618{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 25619$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 25620ac_tool_warned=yes ;; 25621esac 25622 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX 25623 fi 25624else 25625 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX" 25626fi 25627 25628if test x"$DX_FLAG_ps$DX_MAKEINDEX" = x1; then 25629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5 25630$as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;} 25631 DX_FLAG_ps=0 25632 25633fi 25634 25635 25636if test -n "$ac_tool_prefix"; then 25637 # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args. 25638set dummy ${ac_tool_prefix}dvips; ac_word=$2 25639{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 25640$as_echo_n "checking for $ac_word... " >&6; } 25641if ${ac_cv_path_DX_DVIPS+:} false; then : 25642 $as_echo_n "(cached) " >&6 25643else 25644 case $DX_DVIPS in 25645 [\\/]* | ?:[\\/]*) 25646 ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path. 25647 ;; 25648 *) 25649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25650for as_dir in $PATH 25651do 25652 IFS=$as_save_IFS 25653 test -z "$as_dir" && as_dir=. 25654 for ac_exec_ext in '' $ac_executable_extensions; do 25655 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 25656 ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext" 25657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 25658 break 2 25659 fi 25660done 25661 done 25662IFS=$as_save_IFS 25663 25664 ;; 25665esac 25666fi 25667DX_DVIPS=$ac_cv_path_DX_DVIPS 25668if test -n "$DX_DVIPS"; then 25669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5 25670$as_echo "$DX_DVIPS" >&6; } 25671else 25672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25673$as_echo "no" >&6; } 25674fi 25675 25676 25677fi 25678if test -z "$ac_cv_path_DX_DVIPS"; then 25679 ac_pt_DX_DVIPS=$DX_DVIPS 25680 # Extract the first word of "dvips", so it can be a program name with args. 25681set dummy dvips; ac_word=$2 25682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 25683$as_echo_n "checking for $ac_word... " >&6; } 25684if ${ac_cv_path_ac_pt_DX_DVIPS+:} false; then : 25685 $as_echo_n "(cached) " >&6 25686else 25687 case $ac_pt_DX_DVIPS in 25688 [\\/]* | ?:[\\/]*) 25689 ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path. 25690 ;; 25691 *) 25692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25693for as_dir in $PATH 25694do 25695 IFS=$as_save_IFS 25696 test -z "$as_dir" && as_dir=. 25697 for ac_exec_ext in '' $ac_executable_extensions; do 25698 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 25699 ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext" 25700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 25701 break 2 25702 fi 25703done 25704 done 25705IFS=$as_save_IFS 25706 25707 ;; 25708esac 25709fi 25710ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS 25711if test -n "$ac_pt_DX_DVIPS"; then 25712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5 25713$as_echo "$ac_pt_DX_DVIPS" >&6; } 25714else 25715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25716$as_echo "no" >&6; } 25717fi 25718 25719 if test "x$ac_pt_DX_DVIPS" = x; then 25720 DX_DVIPS="" 25721 else 25722 case $cross_compiling:$ac_tool_warned in 25723yes:) 25724{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 25725$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 25726ac_tool_warned=yes ;; 25727esac 25728 DX_DVIPS=$ac_pt_DX_DVIPS 25729 fi 25730else 25731 DX_DVIPS="$ac_cv_path_DX_DVIPS" 25732fi 25733 25734if test x"$DX_FLAG_ps$DX_DVIPS" = x1; then 25735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5 25736$as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;} 25737 DX_FLAG_ps=0 25738 25739fi 25740 25741 25742if test -n "$ac_tool_prefix"; then 25743 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args. 25744set dummy ${ac_tool_prefix}egrep; ac_word=$2 25745{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 25746$as_echo_n "checking for $ac_word... " >&6; } 25747if ${ac_cv_path_DX_EGREP+:} false; then : 25748 $as_echo_n "(cached) " >&6 25749else 25750 case $DX_EGREP in 25751 [\\/]* | ?:[\\/]*) 25752 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path. 25753 ;; 25754 *) 25755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25756for as_dir in $PATH 25757do 25758 IFS=$as_save_IFS 25759 test -z "$as_dir" && as_dir=. 25760 for ac_exec_ext in '' $ac_executable_extensions; do 25761 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 25762 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext" 25763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 25764 break 2 25765 fi 25766done 25767 done 25768IFS=$as_save_IFS 25769 25770 ;; 25771esac 25772fi 25773DX_EGREP=$ac_cv_path_DX_EGREP 25774if test -n "$DX_EGREP"; then 25775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5 25776$as_echo "$DX_EGREP" >&6; } 25777else 25778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25779$as_echo "no" >&6; } 25780fi 25781 25782 25783fi 25784if test -z "$ac_cv_path_DX_EGREP"; then 25785 ac_pt_DX_EGREP=$DX_EGREP 25786 # Extract the first word of "egrep", so it can be a program name with args. 25787set dummy egrep; ac_word=$2 25788{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 25789$as_echo_n "checking for $ac_word... " >&6; } 25790if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then : 25791 $as_echo_n "(cached) " >&6 25792else 25793 case $ac_pt_DX_EGREP in 25794 [\\/]* | ?:[\\/]*) 25795 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path. 25796 ;; 25797 *) 25798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25799for as_dir in $PATH 25800do 25801 IFS=$as_save_IFS 25802 test -z "$as_dir" && as_dir=. 25803 for ac_exec_ext in '' $ac_executable_extensions; do 25804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 25805 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext" 25806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 25807 break 2 25808 fi 25809done 25810 done 25811IFS=$as_save_IFS 25812 25813 ;; 25814esac 25815fi 25816ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP 25817if test -n "$ac_pt_DX_EGREP"; then 25818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5 25819$as_echo "$ac_pt_DX_EGREP" >&6; } 25820else 25821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25822$as_echo "no" >&6; } 25823fi 25824 25825 if test "x$ac_pt_DX_EGREP" = x; then 25826 DX_EGREP="" 25827 else 25828 case $cross_compiling:$ac_tool_warned in 25829yes:) 25830{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 25831$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 25832ac_tool_warned=yes ;; 25833esac 25834 DX_EGREP=$ac_pt_DX_EGREP 25835 fi 25836else 25837 DX_EGREP="$ac_cv_path_DX_EGREP" 25838fi 25839 25840if test x"$DX_FLAG_ps$DX_EGREP" = x1; then 25841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5 25842$as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;} 25843 DX_FLAG_ps=0 25844 25845fi 25846 25847 : 25848fi 25849if test "$DX_FLAG_ps" = 1; then 25850 if :; then 25851 DX_COND_ps_TRUE= 25852 DX_COND_ps_FALSE='#' 25853else 25854 DX_COND_ps_TRUE='#' 25855 DX_COND_ps_FALSE= 25856fi 25857 25858 25859 : 25860else 25861 if false; then 25862 DX_COND_ps_TRUE= 25863 DX_COND_ps_FALSE='#' 25864else 25865 DX_COND_ps_TRUE='#' 25866 DX_COND_ps_FALSE= 25867fi 25868 25869 25870 : 25871fi 25872 25873 25874# PDF file generation: 25875 25876 25877 25878 # Check whether --enable-doxygen-pdf was given. 25879if test "${enable_doxygen_pdf+set}" = set; then : 25880 enableval=$enable_doxygen_pdf; 25881case "$enableval" in 25882#( 25883y|Y|yes|Yes|YES) 25884 DX_FLAG_pdf=1 25885 25886 25887test x"$DX_FLAG_doc" = x"1" \ 25888|| as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5 25889 25890;; #( 25891n|N|no|No|NO) 25892 DX_FLAG_pdf=0 25893 25894;; #( 25895*) 25896 as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5 25897;; 25898esac 25899 25900else 25901 25902DX_FLAG_pdf=0 25903 25904 25905test x"$DX_FLAG_doc" = x"1" || DX_FLAG_pdf=0 25906 25907 25908 25909fi 25910 25911if test "$DX_FLAG_pdf" = 1; then 25912 25913if test -n "$ac_tool_prefix"; then 25914 # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args. 25915set dummy ${ac_tool_prefix}pdflatex; ac_word=$2 25916{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 25917$as_echo_n "checking for $ac_word... " >&6; } 25918if ${ac_cv_path_DX_PDFLATEX+:} false; then : 25919 $as_echo_n "(cached) " >&6 25920else 25921 case $DX_PDFLATEX in 25922 [\\/]* | ?:[\\/]*) 25923 ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path. 25924 ;; 25925 *) 25926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25927for as_dir in $PATH 25928do 25929 IFS=$as_save_IFS 25930 test -z "$as_dir" && as_dir=. 25931 for ac_exec_ext in '' $ac_executable_extensions; do 25932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 25933 ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext" 25934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 25935 break 2 25936 fi 25937done 25938 done 25939IFS=$as_save_IFS 25940 25941 ;; 25942esac 25943fi 25944DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX 25945if test -n "$DX_PDFLATEX"; then 25946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5 25947$as_echo "$DX_PDFLATEX" >&6; } 25948else 25949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25950$as_echo "no" >&6; } 25951fi 25952 25953 25954fi 25955if test -z "$ac_cv_path_DX_PDFLATEX"; then 25956 ac_pt_DX_PDFLATEX=$DX_PDFLATEX 25957 # Extract the first word of "pdflatex", so it can be a program name with args. 25958set dummy pdflatex; ac_word=$2 25959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 25960$as_echo_n "checking for $ac_word... " >&6; } 25961if ${ac_cv_path_ac_pt_DX_PDFLATEX+:} false; then : 25962 $as_echo_n "(cached) " >&6 25963else 25964 case $ac_pt_DX_PDFLATEX in 25965 [\\/]* | ?:[\\/]*) 25966 ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path. 25967 ;; 25968 *) 25969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25970for as_dir in $PATH 25971do 25972 IFS=$as_save_IFS 25973 test -z "$as_dir" && as_dir=. 25974 for ac_exec_ext in '' $ac_executable_extensions; do 25975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 25976 ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext" 25977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 25978 break 2 25979 fi 25980done 25981 done 25982IFS=$as_save_IFS 25983 25984 ;; 25985esac 25986fi 25987ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX 25988if test -n "$ac_pt_DX_PDFLATEX"; then 25989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5 25990$as_echo "$ac_pt_DX_PDFLATEX" >&6; } 25991else 25992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25993$as_echo "no" >&6; } 25994fi 25995 25996 if test "x$ac_pt_DX_PDFLATEX" = x; then 25997 DX_PDFLATEX="" 25998 else 25999 case $cross_compiling:$ac_tool_warned in 26000yes:) 26001{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 26002$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 26003ac_tool_warned=yes ;; 26004esac 26005 DX_PDFLATEX=$ac_pt_DX_PDFLATEX 26006 fi 26007else 26008 DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX" 26009fi 26010 26011if test x"$DX_FLAG_pdf$DX_PDFLATEX" = x1; then 26012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5 26013$as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;} 26014 DX_FLAG_pdf=0 26015 26016fi 26017 26018 26019if test -n "$ac_tool_prefix"; then 26020 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args. 26021set dummy ${ac_tool_prefix}makeindex; ac_word=$2 26022{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 26023$as_echo_n "checking for $ac_word... " >&6; } 26024if ${ac_cv_path_DX_MAKEINDEX+:} false; then : 26025 $as_echo_n "(cached) " >&6 26026else 26027 case $DX_MAKEINDEX in 26028 [\\/]* | ?:[\\/]*) 26029 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path. 26030 ;; 26031 *) 26032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26033for as_dir in $PATH 26034do 26035 IFS=$as_save_IFS 26036 test -z "$as_dir" && as_dir=. 26037 for ac_exec_ext in '' $ac_executable_extensions; do 26038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 26039 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext" 26040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 26041 break 2 26042 fi 26043done 26044 done 26045IFS=$as_save_IFS 26046 26047 ;; 26048esac 26049fi 26050DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX 26051if test -n "$DX_MAKEINDEX"; then 26052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5 26053$as_echo "$DX_MAKEINDEX" >&6; } 26054else 26055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26056$as_echo "no" >&6; } 26057fi 26058 26059 26060fi 26061if test -z "$ac_cv_path_DX_MAKEINDEX"; then 26062 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX 26063 # Extract the first word of "makeindex", so it can be a program name with args. 26064set dummy makeindex; ac_word=$2 26065{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 26066$as_echo_n "checking for $ac_word... " >&6; } 26067if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then : 26068 $as_echo_n "(cached) " >&6 26069else 26070 case $ac_pt_DX_MAKEINDEX in 26071 [\\/]* | ?:[\\/]*) 26072 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path. 26073 ;; 26074 *) 26075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26076for as_dir in $PATH 26077do 26078 IFS=$as_save_IFS 26079 test -z "$as_dir" && as_dir=. 26080 for ac_exec_ext in '' $ac_executable_extensions; do 26081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 26082 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext" 26083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 26084 break 2 26085 fi 26086done 26087 done 26088IFS=$as_save_IFS 26089 26090 ;; 26091esac 26092fi 26093ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX 26094if test -n "$ac_pt_DX_MAKEINDEX"; then 26095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5 26096$as_echo "$ac_pt_DX_MAKEINDEX" >&6; } 26097else 26098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26099$as_echo "no" >&6; } 26100fi 26101 26102 if test "x$ac_pt_DX_MAKEINDEX" = x; then 26103 DX_MAKEINDEX="" 26104 else 26105 case $cross_compiling:$ac_tool_warned in 26106yes:) 26107{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 26108$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 26109ac_tool_warned=yes ;; 26110esac 26111 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX 26112 fi 26113else 26114 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX" 26115fi 26116 26117if test x"$DX_FLAG_pdf$DX_MAKEINDEX" = x1; then 26118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5 26119$as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;} 26120 DX_FLAG_pdf=0 26121 26122fi 26123 26124 26125if test -n "$ac_tool_prefix"; then 26126 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args. 26127set dummy ${ac_tool_prefix}egrep; ac_word=$2 26128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 26129$as_echo_n "checking for $ac_word... " >&6; } 26130if ${ac_cv_path_DX_EGREP+:} false; then : 26131 $as_echo_n "(cached) " >&6 26132else 26133 case $DX_EGREP in 26134 [\\/]* | ?:[\\/]*) 26135 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path. 26136 ;; 26137 *) 26138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26139for as_dir in $PATH 26140do 26141 IFS=$as_save_IFS 26142 test -z "$as_dir" && as_dir=. 26143 for ac_exec_ext in '' $ac_executable_extensions; do 26144 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 26145 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext" 26146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 26147 break 2 26148 fi 26149done 26150 done 26151IFS=$as_save_IFS 26152 26153 ;; 26154esac 26155fi 26156DX_EGREP=$ac_cv_path_DX_EGREP 26157if test -n "$DX_EGREP"; then 26158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5 26159$as_echo "$DX_EGREP" >&6; } 26160else 26161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26162$as_echo "no" >&6; } 26163fi 26164 26165 26166fi 26167if test -z "$ac_cv_path_DX_EGREP"; then 26168 ac_pt_DX_EGREP=$DX_EGREP 26169 # Extract the first word of "egrep", so it can be a program name with args. 26170set dummy egrep; ac_word=$2 26171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 26172$as_echo_n "checking for $ac_word... " >&6; } 26173if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then : 26174 $as_echo_n "(cached) " >&6 26175else 26176 case $ac_pt_DX_EGREP in 26177 [\\/]* | ?:[\\/]*) 26178 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path. 26179 ;; 26180 *) 26181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26182for as_dir in $PATH 26183do 26184 IFS=$as_save_IFS 26185 test -z "$as_dir" && as_dir=. 26186 for ac_exec_ext in '' $ac_executable_extensions; do 26187 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 26188 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext" 26189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 26190 break 2 26191 fi 26192done 26193 done 26194IFS=$as_save_IFS 26195 26196 ;; 26197esac 26198fi 26199ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP 26200if test -n "$ac_pt_DX_EGREP"; then 26201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5 26202$as_echo "$ac_pt_DX_EGREP" >&6; } 26203else 26204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26205$as_echo "no" >&6; } 26206fi 26207 26208 if test "x$ac_pt_DX_EGREP" = x; then 26209 DX_EGREP="" 26210 else 26211 case $cross_compiling:$ac_tool_warned in 26212yes:) 26213{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 26214$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 26215ac_tool_warned=yes ;; 26216esac 26217 DX_EGREP=$ac_pt_DX_EGREP 26218 fi 26219else 26220 DX_EGREP="$ac_cv_path_DX_EGREP" 26221fi 26222 26223if test x"$DX_FLAG_pdf$DX_EGREP" = x1; then 26224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5 26225$as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;} 26226 DX_FLAG_pdf=0 26227 26228fi 26229 26230 : 26231fi 26232if test "$DX_FLAG_pdf" = 1; then 26233 if :; then 26234 DX_COND_pdf_TRUE= 26235 DX_COND_pdf_FALSE='#' 26236else 26237 DX_COND_pdf_TRUE='#' 26238 DX_COND_pdf_FALSE= 26239fi 26240 26241 26242 : 26243else 26244 if false; then 26245 DX_COND_pdf_TRUE= 26246 DX_COND_pdf_FALSE='#' 26247else 26248 DX_COND_pdf_TRUE='#' 26249 DX_COND_pdf_FALSE= 26250fi 26251 26252 26253 : 26254fi 26255 26256 26257# LaTeX generation for PS and/or PDF: 26258if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then 26259 if :; then 26260 DX_COND_latex_TRUE= 26261 DX_COND_latex_FALSE='#' 26262else 26263 DX_COND_latex_TRUE='#' 26264 DX_COND_latex_FALSE= 26265fi 26266 26267 DX_ENV="$DX_ENV GENERATE_LATEX='YES'" 26268 26269else 26270 if false; then 26271 DX_COND_latex_TRUE= 26272 DX_COND_latex_FALSE='#' 26273else 26274 DX_COND_latex_TRUE='#' 26275 DX_COND_latex_FALSE= 26276fi 26277 26278 DX_ENV="$DX_ENV GENERATE_LATEX='NO'" 26279 26280fi 26281 26282# Paper size for PS and/or PDF: 26283 26284case "$DOXYGEN_PAPER_SIZE" in 26285#( 26286"") 26287 DOXYGEN_PAPER_SIZE="" 26288 26289;; #( 26290a4wide|a4|letter|legal|executive) 26291 DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" 26292 26293;; #( 26294*) 26295 as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5 26296;; 26297esac 26298 26299#For debugging: 26300#echo DX_FLAG_doc=$DX_FLAG_doc 26301#echo DX_FLAG_dot=$DX_FLAG_dot 26302#echo DX_FLAG_man=$DX_FLAG_man 26303#echo DX_FLAG_html=$DX_FLAG_html 26304#echo DX_FLAG_chm=$DX_FLAG_chm 26305#echo DX_FLAG_chi=$DX_FLAG_chi 26306#echo DX_FLAG_rtf=$DX_FLAG_rtf 26307#echo DX_FLAG_xml=$DX_FLAG_xml 26308#echo DX_FLAG_pdf=$DX_FLAG_pdf 26309#echo DX_FLAG_ps=$DX_FLAG_ps 26310#echo DX_ENV=$DX_ENV 26311 26312 26313 26314 26315CFLAGS="$mc_configured_cflags $CFLAGS_OPTS $CFLAGS" 26316 26317 26318 26319 26320 26321 26322 26323 if test x"$USE_NLS" = xyes; then 26324 USE_NLS_TRUE= 26325 USE_NLS_FALSE='#' 26326else 26327 USE_NLS_TRUE='#' 26328 USE_NLS_FALSE= 26329fi 26330 26331 if test x"$USE_MAINTAINER_MODE" = xyes; then 26332 USE_MAINTAINER_MODE_TRUE= 26333 USE_MAINTAINER_MODE_FALSE='#' 26334else 26335 USE_MAINTAINER_MODE_TRUE='#' 26336 USE_MAINTAINER_MODE_FALSE= 26337fi 26338 26339 if test x"$with_screen" = xslang; then 26340 USE_SCREEN_SLANG_TRUE= 26341 USE_SCREEN_SLANG_FALSE='#' 26342else 26343 USE_SCREEN_SLANG_TRUE='#' 26344 USE_SCREEN_SLANG_FALSE= 26345fi 26346 26347 if test x"$use_internal_edit" = xyes ; then 26348 USE_INTERNAL_EDIT_TRUE= 26349 USE_INTERNAL_EDIT_FALSE='#' 26350else 26351 USE_INTERNAL_EDIT_TRUE='#' 26352 USE_INTERNAL_EDIT_FALSE= 26353fi 26354 26355 if test x"$enable_aspell" = xyes ; then 26356 USE_ASPELL_TRUE= 26357 USE_ASPELL_FALSE='#' 26358else 26359 USE_ASPELL_TRUE='#' 26360 USE_ASPELL_FALSE= 26361fi 26362 26363 if test -n "$use_diff"; then 26364 USE_DIFF_TRUE= 26365 USE_DIFF_FALSE='#' 26366else 26367 USE_DIFF_TRUE='#' 26368 USE_DIFF_FALSE= 26369fi 26370 26371 if test -n "$have_charset"; then 26372 CHARSET_TRUE= 26373 CHARSET_FALSE='#' 26374else 26375 CHARSET_TRUE='#' 26376 CHARSET_FALSE= 26377fi 26378 26379 if test -n "$cons_saver"; then 26380 CONS_SAVER_TRUE= 26381 CONS_SAVER_FALSE='#' 26382else 26383 CONS_SAVER_TRUE='#' 26384 CONS_SAVER_FALSE= 26385fi 26386 26387 if test -n "$g_module_supported" && \ 26388 test x"$textmode_x11_support" = x"yes" -o x"$enable_aspell" = x"yes"; then 26389 HAVE_GMODULE_TRUE= 26390 HAVE_GMODULE_FALSE='#' 26391else 26392 HAVE_GMODULE_TRUE='#' 26393 HAVE_GMODULE_FALSE= 26394fi 26395 26396 26397# Check whether --enable-configure-args was given. 26398if test "${enable_configure_args+set}" = set; then : 26399 enableval=$enable_configure_args; 26400fi 26401 26402if test "x$enable_configure_args" != xno; then 26403 26404$as_echo "#define ENABLE_CONFIGURE_ARGS 1" >>confdefs.h 26405 26406 26407cat >>confdefs.h <<_ACEOF 26408#define MC_CONFIGURE_ARGS "$ac_configure_args" 26409_ACEOF 26410 26411fi 26412 26413 26414ac_config_files="$ac_config_files src/man2hlp/man2hlp" 26415 26416 26417ac_config_files="$ac_config_files Makefile contrib/Makefile misc/Makefile misc/mc.charsets misc/mc.menu misc/mcedit.menu misc/skins/Makefile misc/ext.d/Makefile misc/ext.d/doc.sh misc/ext.d/misc.sh misc/ext.d/text.sh misc/ext.d/web.sh misc/macros.d/Makefile misc/mc.ext src/Makefile src/consaver/Makefile src/editor/Makefile src/man2hlp/Makefile src/subshell/Makefile src/viewer/Makefile src/diffviewer/Makefile src/filemanager/Makefile src/vfs/Makefile src/vfs/cpio/Makefile src/vfs/extfs/Makefile src/vfs/extfs/helpers/Makefile src/vfs/extfs/helpers/a+ src/vfs/extfs/helpers/apt+ src/vfs/extfs/helpers/audio src/vfs/extfs/helpers/deb src/vfs/extfs/helpers/deba src/vfs/extfs/helpers/debd src/vfs/extfs/helpers/dpkg+ src/vfs/extfs/helpers/iso9660 src/vfs/extfs/helpers/hp48+ src/vfs/extfs/helpers/lslR src/vfs/extfs/helpers/mailfs src/vfs/extfs/helpers/patchfs src/vfs/extfs/helpers/rpms+ src/vfs/extfs/helpers/s3+ src/vfs/extfs/helpers/uace src/vfs/extfs/helpers/ualz src/vfs/extfs/helpers/uar src/vfs/extfs/helpers/uarc src/vfs/extfs/helpers/uarj src/vfs/extfs/helpers/ucab src/vfs/extfs/helpers/uha src/vfs/extfs/helpers/ulha src/vfs/extfs/helpers/ulib src/vfs/extfs/helpers/unar src/vfs/extfs/helpers/urar src/vfs/extfs/helpers/uwim src/vfs/extfs/helpers/uzip src/vfs/extfs/helpers/uzoo src/vfs/fish/Makefile src/vfs/fish/helpers/Makefile src/vfs/ftpfs/Makefile src/vfs/sftpfs/Makefile src/vfs/local/Makefile src/vfs/sfs/Makefile src/vfs/smbfs/Makefile src/vfs/tar/Makefile src/vfs/undelfs/Makefile lib/Makefile lib/event/Makefile lib/filehighlight/Makefile lib/mcconfig/Makefile lib/search/Makefile lib/skin/Makefile lib/strutil/Makefile lib/tty/Makefile lib/vfs/Makefile lib/widget/Makefile misc/syntax/Makefile misc/syntax/Syntax doc/Makefile doc/hints/Makefile doc/hints/l10n/Makefile doc/man/Makefile doc/man/es/Makefile doc/man/hu/Makefile doc/man/it/Makefile doc/man/pl/Makefile doc/man/ru/Makefile doc/man/sr/Makefile doc/hlp/Makefile doc/hlp/es/Makefile doc/hlp/hu/Makefile doc/hlp/it/Makefile doc/hlp/pl/Makefile doc/hlp/ru/Makefile doc/hlp/sr/Makefile po/Makefile.in" 26418 26419 26420ac_config_files="$ac_config_files tests/Makefile tests/lib/Makefile tests/lib/mcconfig/Makefile tests/lib/search/Makefile tests/lib/strutil/Makefile tests/lib/vfs/Makefile tests/lib/widget/Makefile tests/src/Makefile tests/src/filemanager/Makefile tests/src/editor/Makefile tests/src/editor/test-data.txt tests/src/vfs/Makefile tests/src/vfs/extfs/Makefile tests/src/vfs/extfs/helpers-list/Makefile tests/src/vfs/extfs/helpers-list/data/config.sh tests/src/vfs/extfs/helpers-list/misc/Makefile tests/src/vfs/ftpfs/Makefile" 26421 26422 26423cat >confcache <<\_ACEOF 26424# This file is a shell script that caches the results of configure 26425# tests run on this system so they can be shared between configure 26426# scripts and configure runs, see configure's option --config-cache. 26427# It is not useful on other systems. If it contains results you don't 26428# want to keep, you may remove or edit it. 26429# 26430# config.status only pays attention to the cache file if you give it 26431# the --recheck option to rerun configure. 26432# 26433# `ac_cv_env_foo' variables (set or unset) will be overridden when 26434# loading this file, other *unset* `ac_cv_foo' will be assigned the 26435# following values. 26436 26437_ACEOF 26438 26439# The following way of writing the cache mishandles newlines in values, 26440# but we know of no workaround that is simple, portable, and efficient. 26441# So, we kill variables containing newlines. 26442# Ultrix sh set writes to stderr and can't be redirected directly, 26443# and sets the high bit in the cache file unless we assign to the vars. 26444( 26445 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 26446 eval ac_val=\$$ac_var 26447 case $ac_val in #( 26448 *${as_nl}*) 26449 case $ac_var in #( 26450 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 26451$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 26452 esac 26453 case $ac_var in #( 26454 _ | IFS | as_nl) ;; #( 26455 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 26456 *) { eval $ac_var=; unset $ac_var;} ;; 26457 esac ;; 26458 esac 26459 done 26460 26461 (set) 2>&1 | 26462 case $as_nl`(ac_space=' '; set) 2>&1` in #( 26463 *${as_nl}ac_space=\ *) 26464 # `set' does not quote correctly, so add quotes: double-quote 26465 # substitution turns \\\\ into \\, and sed turns \\ into \. 26466 sed -n \ 26467 "s/'/'\\\\''/g; 26468 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 26469 ;; #( 26470 *) 26471 # `set' quotes correctly as required by POSIX, so do not add quotes. 26472 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 26473 ;; 26474 esac | 26475 sort 26476) | 26477 sed ' 26478 /^ac_cv_env_/b end 26479 t clear 26480 :clear 26481 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 26482 t end 26483 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 26484 :end' >>confcache 26485if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 26486 if test -w "$cache_file"; then 26487 if test "x$cache_file" != "x/dev/null"; then 26488 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 26489$as_echo "$as_me: updating cache $cache_file" >&6;} 26490 if test ! -f "$cache_file" || test -h "$cache_file"; then 26491 cat confcache >"$cache_file" 26492 else 26493 case $cache_file in #( 26494 */* | ?:*) 26495 mv -f confcache "$cache_file"$$ && 26496 mv -f "$cache_file"$$ "$cache_file" ;; #( 26497 *) 26498 mv -f confcache "$cache_file" ;; 26499 esac 26500 fi 26501 fi 26502 else 26503 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 26504$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 26505 fi 26506fi 26507rm -f confcache 26508 26509test "x$prefix" = xNONE && prefix=$ac_default_prefix 26510# Let make expand exec_prefix. 26511test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 26512 26513DEFS=-DHAVE_CONFIG_H 26514 26515ac_libobjs= 26516ac_ltlibobjs= 26517U= 26518for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 26519 # 1. Remove the extension, and $U if already installed. 26520 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 26521 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 26522 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 26523 # will be set to the directory where LIBOBJS objects are built. 26524 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 26525 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 26526done 26527LIBOBJS=$ac_libobjs 26528 26529LTLIBOBJS=$ac_ltlibobjs 26530 26531 26532{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 26533$as_echo_n "checking that generated files are newer than configure... " >&6; } 26534 if test -n "$am_sleep_pid"; then 26535 # Hide warnings about reused PIDs. 26536 wait $am_sleep_pid 2>/dev/null 26537 fi 26538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 26539$as_echo "done" >&6; } 26540 if test -n "$EXEEXT"; then 26541 am__EXEEXT_TRUE= 26542 am__EXEEXT_FALSE='#' 26543else 26544 am__EXEEXT_TRUE='#' 26545 am__EXEEXT_FALSE= 26546fi 26547 26548if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 26549 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 26550Usually this means the macro was only invoked conditionally." "$LINENO" 5 26551fi 26552if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 26553 as_fn_error $? "conditional \"AMDEP\" was never defined. 26554Usually this means the macro was only invoked conditionally." "$LINENO" 5 26555fi 26556if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 26557 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 26558Usually this means the macro was only invoked conditionally." "$LINENO" 5 26559fi 26560if test -z "${HAVE_TESTS_TRUE}" && test -z "${HAVE_TESTS_FALSE}"; then 26561 as_fn_error $? "conditional \"HAVE_TESTS\" was never defined. 26562Usually this means the macro was only invoked conditionally." "$LINENO" 5 26563fi 26564if test -z "${HAVE_TEXTMODE_X11_SUPPORT_TRUE}" && test -z "${HAVE_TEXTMODE_X11_SUPPORT_FALSE}"; then 26565 as_fn_error $? "conditional \"HAVE_TEXTMODE_X11_SUPPORT\" was never defined. 26566Usually this means the macro was only invoked conditionally." "$LINENO" 5 26567fi 26568if test -z "${ENABLE_MCLIB_TRUE}" && test -z "${ENABLE_MCLIB_FALSE}"; then 26569 as_fn_error $? "conditional \"ENABLE_MCLIB\" was never defined. 26570Usually this means the macro was only invoked conditionally." "$LINENO" 5 26571fi 26572if test -z "${ENABLE_SUBSHELL_TRUE}" && test -z "${ENABLE_SUBSHELL_FALSE}"; then 26573 as_fn_error $? "conditional \"ENABLE_SUBSHELL\" was never defined. 26574Usually this means the macro was only invoked conditionally." "$LINENO" 5 26575fi 26576if test -z "${ENABLE_BACKGROUND_TRUE}" && test -z "${ENABLE_BACKGROUND_FALSE}"; then 26577 as_fn_error $? "conditional \"ENABLE_BACKGROUND\" was never defined. 26578Usually this means the macro was only invoked conditionally." "$LINENO" 5 26579fi 26580if test -z "${ENABLE_EXT2FS_ATTR_TRUE}" && test -z "${ENABLE_EXT2FS_ATTR_FALSE}"; then 26581 as_fn_error $? "conditional \"ENABLE_EXT2FS_ATTR\" was never defined. 26582Usually this means the macro was only invoked conditionally." "$LINENO" 5 26583fi 26584if test -z "${ENABLE_VFS_CPIO_TRUE}" && test -z "${ENABLE_VFS_CPIO_FALSE}"; then 26585 as_fn_error $? "conditional \"ENABLE_VFS_CPIO\" was never defined. 26586Usually this means the macro was only invoked conditionally." "$LINENO" 5 26587fi 26588if test -z "${ENABLE_VFS_EXTFS_TRUE}" && test -z "${ENABLE_VFS_EXTFS_FALSE}"; then 26589 as_fn_error $? "conditional \"ENABLE_VFS_EXTFS\" was never defined. 26590Usually this means the macro was only invoked conditionally." "$LINENO" 5 26591fi 26592if test -z "${ENABLE_VFS_FISH_TRUE}" && test -z "${ENABLE_VFS_FISH_FALSE}"; then 26593 as_fn_error $? "conditional \"ENABLE_VFS_FISH\" was never defined. 26594Usually this means the macro was only invoked conditionally." "$LINENO" 5 26595fi 26596if test -z "${ENABLE_VFS_FTP_TRUE}" && test -z "${ENABLE_VFS_FTP_FALSE}"; then 26597 as_fn_error $? "conditional \"ENABLE_VFS_FTP\" was never defined. 26598Usually this means the macro was only invoked conditionally." "$LINENO" 5 26599fi 26600if test -z "${ENABLE_VFS_SFS_TRUE}" && test -z "${ENABLE_VFS_SFS_FALSE}"; then 26601 as_fn_error $? "conditional \"ENABLE_VFS_SFS\" was never defined. 26602Usually this means the macro was only invoked conditionally." "$LINENO" 5 26603fi 26604if test -z "${ENABLE_VFS_SFTP_TRUE}" && test -z "${ENABLE_VFS_SFTP_FALSE}"; then 26605 as_fn_error $? "conditional \"ENABLE_VFS_SFTP\" was never defined. 26606Usually this means the macro was only invoked conditionally." "$LINENO" 5 26607fi 26608if test -z "${ENABLE_VFS_SMB_TRUE}" && test -z "${ENABLE_VFS_SMB_FALSE}"; then 26609 as_fn_error $? "conditional \"ENABLE_VFS_SMB\" was never defined. 26610Usually this means the macro was only invoked conditionally." "$LINENO" 5 26611fi 26612if test -z "${ENABLE_VFS_SMB_TRUE}" && test -z "${ENABLE_VFS_SMB_FALSE}"; then 26613 as_fn_error $? "conditional \"ENABLE_VFS_SMB\" was never defined. 26614Usually this means the macro was only invoked conditionally." "$LINENO" 5 26615fi 26616if test -z "${ENABLE_VFS_TAR_TRUE}" && test -z "${ENABLE_VFS_TAR_FALSE}"; then 26617 as_fn_error $? "conditional \"ENABLE_VFS_TAR\" was never defined. 26618Usually this means the macro was only invoked conditionally." "$LINENO" 5 26619fi 26620if test -z "${ENABLE_VFS_UNDELFS_TRUE}" && test -z "${ENABLE_VFS_UNDELFS_FALSE}"; then 26621 as_fn_error $? "conditional \"ENABLE_VFS_UNDELFS\" was never defined. 26622Usually this means the macro was only invoked conditionally." "$LINENO" 5 26623fi 26624if test -z "${ENABLE_VFS_TRUE}" && test -z "${ENABLE_VFS_FALSE}"; then 26625 as_fn_error $? "conditional \"ENABLE_VFS\" was never defined. 26626Usually this means the macro was only invoked conditionally." "$LINENO" 5 26627fi 26628if test -z "${ENABLE_VFS_NET_TRUE}" && test -z "${ENABLE_VFS_NET_FALSE}"; then 26629 as_fn_error $? "conditional \"ENABLE_VFS_NET\" was never defined. 26630Usually this means the macro was only invoked conditionally." "$LINENO" 5 26631fi 26632if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then 26633 as_fn_error $? "conditional \"DX_COND_doc\" was never defined. 26634Usually this means the macro was only invoked conditionally." "$LINENO" 5 26635fi 26636if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then 26637 as_fn_error $? "conditional \"DX_COND_doc\" was never defined. 26638Usually this means the macro was only invoked conditionally." "$LINENO" 5 26639fi 26640if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then 26641 as_fn_error $? "conditional \"DX_COND_dot\" was never defined. 26642Usually this means the macro was only invoked conditionally." "$LINENO" 5 26643fi 26644if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then 26645 as_fn_error $? "conditional \"DX_COND_dot\" was never defined. 26646Usually this means the macro was only invoked conditionally." "$LINENO" 5 26647fi 26648if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then 26649 as_fn_error $? "conditional \"DX_COND_man\" was never defined. 26650Usually this means the macro was only invoked conditionally." "$LINENO" 5 26651fi 26652if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then 26653 as_fn_error $? "conditional \"DX_COND_man\" was never defined. 26654Usually this means the macro was only invoked conditionally." "$LINENO" 5 26655fi 26656if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then 26657 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined. 26658Usually this means the macro was only invoked conditionally." "$LINENO" 5 26659fi 26660if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then 26661 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined. 26662Usually this means the macro was only invoked conditionally." "$LINENO" 5 26663fi 26664if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then 26665 as_fn_error $? "conditional \"DX_COND_xml\" was never defined. 26666Usually this means the macro was only invoked conditionally." "$LINENO" 5 26667fi 26668if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then 26669 as_fn_error $? "conditional \"DX_COND_xml\" was never defined. 26670Usually this means the macro was only invoked conditionally." "$LINENO" 5 26671fi 26672if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then 26673 as_fn_error $? "conditional \"DX_COND_chm\" was never defined. 26674Usually this means the macro was only invoked conditionally." "$LINENO" 5 26675fi 26676if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then 26677 as_fn_error $? "conditional \"DX_COND_chm\" was never defined. 26678Usually this means the macro was only invoked conditionally." "$LINENO" 5 26679fi 26680if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then 26681 as_fn_error $? "conditional \"DX_COND_chi\" was never defined. 26682Usually this means the macro was only invoked conditionally." "$LINENO" 5 26683fi 26684if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then 26685 as_fn_error $? "conditional \"DX_COND_chi\" was never defined. 26686Usually this means the macro was only invoked conditionally." "$LINENO" 5 26687fi 26688if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then 26689 as_fn_error $? "conditional \"DX_COND_html\" was never defined. 26690Usually this means the macro was only invoked conditionally." "$LINENO" 5 26691fi 26692if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then 26693 as_fn_error $? "conditional \"DX_COND_html\" was never defined. 26694Usually this means the macro was only invoked conditionally." "$LINENO" 5 26695fi 26696if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then 26697 as_fn_error $? "conditional \"DX_COND_ps\" was never defined. 26698Usually this means the macro was only invoked conditionally." "$LINENO" 5 26699fi 26700if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then 26701 as_fn_error $? "conditional \"DX_COND_ps\" was never defined. 26702Usually this means the macro was only invoked conditionally." "$LINENO" 5 26703fi 26704if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then 26705 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined. 26706Usually this means the macro was only invoked conditionally." "$LINENO" 5 26707fi 26708if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then 26709 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined. 26710Usually this means the macro was only invoked conditionally." "$LINENO" 5 26711fi 26712if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then 26713 as_fn_error $? "conditional \"DX_COND_latex\" was never defined. 26714Usually this means the macro was only invoked conditionally." "$LINENO" 5 26715fi 26716if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then 26717 as_fn_error $? "conditional \"DX_COND_latex\" was never defined. 26718Usually this means the macro was only invoked conditionally." "$LINENO" 5 26719fi 26720if test -z "${USE_NLS_TRUE}" && test -z "${USE_NLS_FALSE}"; then 26721 as_fn_error $? "conditional \"USE_NLS\" was never defined. 26722Usually this means the macro was only invoked conditionally." "$LINENO" 5 26723fi 26724if test -z "${USE_MAINTAINER_MODE_TRUE}" && test -z "${USE_MAINTAINER_MODE_FALSE}"; then 26725 as_fn_error $? "conditional \"USE_MAINTAINER_MODE\" was never defined. 26726Usually this means the macro was only invoked conditionally." "$LINENO" 5 26727fi 26728if test -z "${USE_SCREEN_SLANG_TRUE}" && test -z "${USE_SCREEN_SLANG_FALSE}"; then 26729 as_fn_error $? "conditional \"USE_SCREEN_SLANG\" was never defined. 26730Usually this means the macro was only invoked conditionally." "$LINENO" 5 26731fi 26732if test -z "${USE_INTERNAL_EDIT_TRUE}" && test -z "${USE_INTERNAL_EDIT_FALSE}"; then 26733 as_fn_error $? "conditional \"USE_INTERNAL_EDIT\" was never defined. 26734Usually this means the macro was only invoked conditionally." "$LINENO" 5 26735fi 26736if test -z "${USE_ASPELL_TRUE}" && test -z "${USE_ASPELL_FALSE}"; then 26737 as_fn_error $? "conditional \"USE_ASPELL\" was never defined. 26738Usually this means the macro was only invoked conditionally." "$LINENO" 5 26739fi 26740if test -z "${USE_DIFF_TRUE}" && test -z "${USE_DIFF_FALSE}"; then 26741 as_fn_error $? "conditional \"USE_DIFF\" was never defined. 26742Usually this means the macro was only invoked conditionally." "$LINENO" 5 26743fi 26744if test -z "${CHARSET_TRUE}" && test -z "${CHARSET_FALSE}"; then 26745 as_fn_error $? "conditional \"CHARSET\" was never defined. 26746Usually this means the macro was only invoked conditionally." "$LINENO" 5 26747fi 26748if test -z "${CONS_SAVER_TRUE}" && test -z "${CONS_SAVER_FALSE}"; then 26749 as_fn_error $? "conditional \"CONS_SAVER\" was never defined. 26750Usually this means the macro was only invoked conditionally." "$LINENO" 5 26751fi 26752if test -z "${HAVE_GMODULE_TRUE}" && test -z "${HAVE_GMODULE_FALSE}"; then 26753 as_fn_error $? "conditional \"HAVE_GMODULE\" was never defined. 26754Usually this means the macro was only invoked conditionally." "$LINENO" 5 26755fi 26756 26757: "${CONFIG_STATUS=./config.status}" 26758ac_write_fail=0 26759ac_clean_files_save=$ac_clean_files 26760ac_clean_files="$ac_clean_files $CONFIG_STATUS" 26761{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 26762$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 26763as_write_fail=0 26764cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 26765#! $SHELL 26766# Generated by $as_me. 26767# Run this file to recreate the current configuration. 26768# Compiler output produced by configure, useful for debugging 26769# configure, is in config.log if it exists. 26770 26771debug=false 26772ac_cs_recheck=false 26773ac_cs_silent=false 26774 26775SHELL=\${CONFIG_SHELL-$SHELL} 26776export SHELL 26777_ASEOF 26778cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 26779## -------------------- ## 26780## M4sh Initialization. ## 26781## -------------------- ## 26782 26783# Be more Bourne compatible 26784DUALCASE=1; export DUALCASE # for MKS sh 26785if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 26786 emulate sh 26787 NULLCMD=: 26788 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 26789 # is contrary to our usage. Disable this feature. 26790 alias -g '${1+"$@"}'='"$@"' 26791 setopt NO_GLOB_SUBST 26792else 26793 case `(set -o) 2>/dev/null` in #( 26794 *posix*) : 26795 set -o posix ;; #( 26796 *) : 26797 ;; 26798esac 26799fi 26800 26801 26802as_nl=' 26803' 26804export as_nl 26805# Printing a long string crashes Solaris 7 /usr/bin/printf. 26806as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 26807as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 26808as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 26809# Prefer a ksh shell builtin over an external printf program on Solaris, 26810# but without wasting forks for bash or zsh. 26811if test -z "$BASH_VERSION$ZSH_VERSION" \ 26812 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 26813 as_echo='print -r --' 26814 as_echo_n='print -rn --' 26815elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 26816 as_echo='printf %s\n' 26817 as_echo_n='printf %s' 26818else 26819 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 26820 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 26821 as_echo_n='/usr/ucb/echo -n' 26822 else 26823 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 26824 as_echo_n_body='eval 26825 arg=$1; 26826 case $arg in #( 26827 *"$as_nl"*) 26828 expr "X$arg" : "X\\(.*\\)$as_nl"; 26829 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 26830 esac; 26831 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 26832 ' 26833 export as_echo_n_body 26834 as_echo_n='sh -c $as_echo_n_body as_echo' 26835 fi 26836 export as_echo_body 26837 as_echo='sh -c $as_echo_body as_echo' 26838fi 26839 26840# The user is always right. 26841if test "${PATH_SEPARATOR+set}" != set; then 26842 PATH_SEPARATOR=: 26843 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 26844 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 26845 PATH_SEPARATOR=';' 26846 } 26847fi 26848 26849 26850# IFS 26851# We need space, tab and new line, in precisely that order. Quoting is 26852# there to prevent editors from complaining about space-tab. 26853# (If _AS_PATH_WALK were called with IFS unset, it would disable word 26854# splitting by setting IFS to empty value.) 26855IFS=" "" $as_nl" 26856 26857# Find who we are. Look in the path if we contain no directory separator. 26858as_myself= 26859case $0 in #(( 26860 *[\\/]* ) as_myself=$0 ;; 26861 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26862for as_dir in $PATH 26863do 26864 IFS=$as_save_IFS 26865 test -z "$as_dir" && as_dir=. 26866 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 26867 done 26868IFS=$as_save_IFS 26869 26870 ;; 26871esac 26872# We did not find ourselves, most probably we were run as `sh COMMAND' 26873# in which case we are not to be found in the path. 26874if test "x$as_myself" = x; then 26875 as_myself=$0 26876fi 26877if test ! -f "$as_myself"; then 26878 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 26879 exit 1 26880fi 26881 26882# Unset variables that we do not need and which cause bugs (e.g. in 26883# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 26884# suppresses any "Segmentation fault" message there. '((' could 26885# trigger a bug in pdksh 5.2.14. 26886for as_var in BASH_ENV ENV MAIL MAILPATH 26887do eval test x\${$as_var+set} = xset \ 26888 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 26889done 26890PS1='$ ' 26891PS2='> ' 26892PS4='+ ' 26893 26894# NLS nuisances. 26895LC_ALL=C 26896export LC_ALL 26897LANGUAGE=C 26898export LANGUAGE 26899 26900# CDPATH. 26901(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 26902 26903 26904# as_fn_error STATUS ERROR [LINENO LOG_FD] 26905# ---------------------------------------- 26906# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 26907# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 26908# script with STATUS, using 1 if that was 0. 26909as_fn_error () 26910{ 26911 as_status=$1; test $as_status -eq 0 && as_status=1 26912 if test "$4"; then 26913 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 26914 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 26915 fi 26916 $as_echo "$as_me: error: $2" >&2 26917 as_fn_exit $as_status 26918} # as_fn_error 26919 26920 26921# as_fn_set_status STATUS 26922# ----------------------- 26923# Set $? to STATUS, without forking. 26924as_fn_set_status () 26925{ 26926 return $1 26927} # as_fn_set_status 26928 26929# as_fn_exit STATUS 26930# ----------------- 26931# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 26932as_fn_exit () 26933{ 26934 set +e 26935 as_fn_set_status $1 26936 exit $1 26937} # as_fn_exit 26938 26939# as_fn_unset VAR 26940# --------------- 26941# Portably unset VAR. 26942as_fn_unset () 26943{ 26944 { eval $1=; unset $1;} 26945} 26946as_unset=as_fn_unset 26947# as_fn_append VAR VALUE 26948# ---------------------- 26949# Append the text in VALUE to the end of the definition contained in VAR. Take 26950# advantage of any shell optimizations that allow amortized linear growth over 26951# repeated appends, instead of the typical quadratic growth present in naive 26952# implementations. 26953if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 26954 eval 'as_fn_append () 26955 { 26956 eval $1+=\$2 26957 }' 26958else 26959 as_fn_append () 26960 { 26961 eval $1=\$$1\$2 26962 } 26963fi # as_fn_append 26964 26965# as_fn_arith ARG... 26966# ------------------ 26967# Perform arithmetic evaluation on the ARGs, and store the result in the 26968# global $as_val. Take advantage of shells that can avoid forks. The arguments 26969# must be portable across $(()) and expr. 26970if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 26971 eval 'as_fn_arith () 26972 { 26973 as_val=$(( $* )) 26974 }' 26975else 26976 as_fn_arith () 26977 { 26978 as_val=`expr "$@" || test $? -eq 1` 26979 } 26980fi # as_fn_arith 26981 26982 26983if expr a : '\(a\)' >/dev/null 2>&1 && 26984 test "X`expr 00001 : '.*\(...\)'`" = X001; then 26985 as_expr=expr 26986else 26987 as_expr=false 26988fi 26989 26990if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 26991 as_basename=basename 26992else 26993 as_basename=false 26994fi 26995 26996if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 26997 as_dirname=dirname 26998else 26999 as_dirname=false 27000fi 27001 27002as_me=`$as_basename -- "$0" || 27003$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 27004 X"$0" : 'X\(//\)$' \| \ 27005 X"$0" : 'X\(/\)' \| . 2>/dev/null || 27006$as_echo X/"$0" | 27007 sed '/^.*\/\([^/][^/]*\)\/*$/{ 27008 s//\1/ 27009 q 27010 } 27011 /^X\/\(\/\/\)$/{ 27012 s//\1/ 27013 q 27014 } 27015 /^X\/\(\/\).*/{ 27016 s//\1/ 27017 q 27018 } 27019 s/.*/./; q'` 27020 27021# Avoid depending upon Character Ranges. 27022as_cr_letters='abcdefghijklmnopqrstuvwxyz' 27023as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 27024as_cr_Letters=$as_cr_letters$as_cr_LETTERS 27025as_cr_digits='0123456789' 27026as_cr_alnum=$as_cr_Letters$as_cr_digits 27027 27028ECHO_C= ECHO_N= ECHO_T= 27029case `echo -n x` in #((((( 27030-n*) 27031 case `echo 'xy\c'` in 27032 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 27033 xy) ECHO_C='\c';; 27034 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 27035 ECHO_T=' ';; 27036 esac;; 27037*) 27038 ECHO_N='-n';; 27039esac 27040 27041rm -f conf$$ conf$$.exe conf$$.file 27042if test -d conf$$.dir; then 27043 rm -f conf$$.dir/conf$$.file 27044else 27045 rm -f conf$$.dir 27046 mkdir conf$$.dir 2>/dev/null 27047fi 27048if (echo >conf$$.file) 2>/dev/null; then 27049 if ln -s conf$$.file conf$$ 2>/dev/null; then 27050 as_ln_s='ln -s' 27051 # ... but there are two gotchas: 27052 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 27053 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 27054 # In both cases, we have to default to `cp -pR'. 27055 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 27056 as_ln_s='cp -pR' 27057 elif ln conf$$.file conf$$ 2>/dev/null; then 27058 as_ln_s=ln 27059 else 27060 as_ln_s='cp -pR' 27061 fi 27062else 27063 as_ln_s='cp -pR' 27064fi 27065rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 27066rmdir conf$$.dir 2>/dev/null 27067 27068 27069# as_fn_mkdir_p 27070# ------------- 27071# Create "$as_dir" as a directory, including parents if necessary. 27072as_fn_mkdir_p () 27073{ 27074 27075 case $as_dir in #( 27076 -*) as_dir=./$as_dir;; 27077 esac 27078 test -d "$as_dir" || eval $as_mkdir_p || { 27079 as_dirs= 27080 while :; do 27081 case $as_dir in #( 27082 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 27083 *) as_qdir=$as_dir;; 27084 esac 27085 as_dirs="'$as_qdir' $as_dirs" 27086 as_dir=`$as_dirname -- "$as_dir" || 27087$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 27088 X"$as_dir" : 'X\(//\)[^/]' \| \ 27089 X"$as_dir" : 'X\(//\)$' \| \ 27090 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 27091$as_echo X"$as_dir" | 27092 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 27093 s//\1/ 27094 q 27095 } 27096 /^X\(\/\/\)[^/].*/{ 27097 s//\1/ 27098 q 27099 } 27100 /^X\(\/\/\)$/{ 27101 s//\1/ 27102 q 27103 } 27104 /^X\(\/\).*/{ 27105 s//\1/ 27106 q 27107 } 27108 s/.*/./; q'` 27109 test -d "$as_dir" && break 27110 done 27111 test -z "$as_dirs" || eval "mkdir $as_dirs" 27112 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 27113 27114 27115} # as_fn_mkdir_p 27116if mkdir -p . 2>/dev/null; then 27117 as_mkdir_p='mkdir -p "$as_dir"' 27118else 27119 test -d ./-p && rmdir ./-p 27120 as_mkdir_p=false 27121fi 27122 27123 27124# as_fn_executable_p FILE 27125# ----------------------- 27126# Test if FILE is an executable regular file. 27127as_fn_executable_p () 27128{ 27129 test -f "$1" && test -x "$1" 27130} # as_fn_executable_p 27131as_test_x='test -x' 27132as_executable_p=as_fn_executable_p 27133 27134# Sed expression to map a string onto a valid CPP name. 27135as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 27136 27137# Sed expression to map a string onto a valid variable name. 27138as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 27139 27140 27141exec 6>&1 27142## ----------------------------------- ## 27143## Main body of $CONFIG_STATUS script. ## 27144## ----------------------------------- ## 27145_ASEOF 27146test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 27147 27148cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 27149# Save the log message, to keep $0 and so on meaningful, and to 27150# report actual input values of CONFIG_FILES etc. instead of their 27151# values after options handling. 27152ac_log=" 27153This file was extended by GNU Midnight Commander $as_me 4.8.27-git, which was 27154generated by GNU Autoconf 2.69. Invocation command line was 27155 27156 CONFIG_FILES = $CONFIG_FILES 27157 CONFIG_HEADERS = $CONFIG_HEADERS 27158 CONFIG_LINKS = $CONFIG_LINKS 27159 CONFIG_COMMANDS = $CONFIG_COMMANDS 27160 $ $0 $@ 27161 27162on `(hostname || uname -n) 2>/dev/null | sed 1q` 27163" 27164 27165_ACEOF 27166 27167case $ac_config_files in *" 27168"*) set x $ac_config_files; shift; ac_config_files=$*;; 27169esac 27170 27171case $ac_config_headers in *" 27172"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 27173esac 27174 27175 27176cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 27177# Files that config.status was made for. 27178config_files="$ac_config_files" 27179config_headers="$ac_config_headers" 27180config_commands="$ac_config_commands" 27181 27182_ACEOF 27183 27184cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 27185ac_cs_usage="\ 27186\`$as_me' instantiates files and other configuration actions 27187from templates according to the current configuration. Unless the files 27188and actions are specified as TAGs, all are instantiated by default. 27189 27190Usage: $0 [OPTION]... [TAG]... 27191 27192 -h, --help print this help, then exit 27193 -V, --version print version number and configuration settings, then exit 27194 --config print configuration, then exit 27195 -q, --quiet, --silent 27196 do not print progress messages 27197 -d, --debug don't remove temporary files 27198 --recheck update $as_me by reconfiguring in the same conditions 27199 --file=FILE[:TEMPLATE] 27200 instantiate the configuration file FILE 27201 --header=FILE[:TEMPLATE] 27202 instantiate the configuration header FILE 27203 27204Configuration files: 27205$config_files 27206 27207Configuration headers: 27208$config_headers 27209 27210Configuration commands: 27211$config_commands 27212 27213Report bugs to <https://www.midnight-commander.org/wiki/NewTicket>. 27214GNU Midnight Commander home page: <https://www.midnight-commander.org/>. 27215General help using GNU software: <http://www.gnu.org/gethelp/>." 27216 27217_ACEOF 27218cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 27219ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 27220ac_cs_version="\\ 27221GNU Midnight Commander config.status 4.8.27-git 27222configured by $0, generated by GNU Autoconf 2.69, 27223 with options \\"\$ac_cs_config\\" 27224 27225Copyright (C) 2012 Free Software Foundation, Inc. 27226This config.status script is free software; the Free Software Foundation 27227gives unlimited permission to copy, distribute and modify it." 27228 27229ac_pwd='$ac_pwd' 27230srcdir='$srcdir' 27231INSTALL='$INSTALL' 27232MKDIR_P='$MKDIR_P' 27233AWK='$AWK' 27234test -n "\$AWK" || AWK=awk 27235_ACEOF 27236 27237cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 27238# The default lists apply if the user does not specify any file. 27239ac_need_defaults=: 27240while test $# != 0 27241do 27242 case $1 in 27243 --*=?*) 27244 ac_option=`expr "X$1" : 'X\([^=]*\)='` 27245 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 27246 ac_shift=: 27247 ;; 27248 --*=) 27249 ac_option=`expr "X$1" : 'X\([^=]*\)='` 27250 ac_optarg= 27251 ac_shift=: 27252 ;; 27253 *) 27254 ac_option=$1 27255 ac_optarg=$2 27256 ac_shift=shift 27257 ;; 27258 esac 27259 27260 case $ac_option in 27261 # Handling of the options. 27262 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 27263 ac_cs_recheck=: ;; 27264 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 27265 $as_echo "$ac_cs_version"; exit ;; 27266 --config | --confi | --conf | --con | --co | --c ) 27267 $as_echo "$ac_cs_config"; exit ;; 27268 --debug | --debu | --deb | --de | --d | -d ) 27269 debug=: ;; 27270 --file | --fil | --fi | --f ) 27271 $ac_shift 27272 case $ac_optarg in 27273 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 27274 '') as_fn_error $? "missing file argument" ;; 27275 esac 27276 as_fn_append CONFIG_FILES " '$ac_optarg'" 27277 ac_need_defaults=false;; 27278 --header | --heade | --head | --hea ) 27279 $ac_shift 27280 case $ac_optarg in 27281 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 27282 esac 27283 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 27284 ac_need_defaults=false;; 27285 --he | --h) 27286 # Conflict between --help and --header 27287 as_fn_error $? "ambiguous option: \`$1' 27288Try \`$0 --help' for more information.";; 27289 --help | --hel | -h ) 27290 $as_echo "$ac_cs_usage"; exit ;; 27291 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 27292 | -silent | --silent | --silen | --sile | --sil | --si | --s) 27293 ac_cs_silent=: ;; 27294 27295 # This is an error. 27296 -*) as_fn_error $? "unrecognized option: \`$1' 27297Try \`$0 --help' for more information." ;; 27298 27299 *) as_fn_append ac_config_targets " $1" 27300 ac_need_defaults=false ;; 27301 27302 esac 27303 shift 27304done 27305 27306ac_configure_extra_args= 27307 27308if $ac_cs_silent; then 27309 exec 6>/dev/null 27310 ac_configure_extra_args="$ac_configure_extra_args --silent" 27311fi 27312 27313_ACEOF 27314cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 27315if \$ac_cs_recheck; then 27316 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 27317 shift 27318 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 27319 CONFIG_SHELL='$SHELL' 27320 export CONFIG_SHELL 27321 exec "\$@" 27322fi 27323 27324_ACEOF 27325cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 27326exec 5>>config.log 27327{ 27328 echo 27329 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 27330## Running $as_me. ## 27331_ASBOX 27332 $as_echo "$ac_log" 27333} >&5 27334 27335_ACEOF 27336cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 27337# 27338# INIT-COMMANDS 27339# 27340AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 27341 27342 27343# The HP-UX ksh and POSIX shell print the target directory to stdout 27344# if CDPATH is set. 27345(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 27346 27347sed_quote_subst='$sed_quote_subst' 27348double_quote_subst='$double_quote_subst' 27349delay_variable_subst='$delay_variable_subst' 27350macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 27351macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 27352enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 27353enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 27354pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 27355enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 27356shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 27357SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 27358ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 27359PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 27360host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 27361host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 27362host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 27363build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 27364build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 27365build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 27366SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 27367Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 27368GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 27369EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 27370FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 27371LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 27372NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 27373LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 27374max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 27375ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 27376exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 27377lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 27378lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 27379lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 27380lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 27381lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 27382reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 27383reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 27384OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 27385deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 27386file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 27387file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 27388want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 27389DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 27390sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 27391AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 27392AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 27393archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 27394STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 27395RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 27396old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 27397old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 27398old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 27399lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 27400CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 27401CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 27402compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 27403GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 27404lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 27405lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 27406lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 27407lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 27408lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' 27409lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 27410nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 27411lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 27412lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 27413objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 27414MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 27415lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 27416lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 27417lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 27418lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 27419lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 27420need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 27421MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 27422DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 27423NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 27424LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 27425OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 27426OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 27427libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 27428shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 27429extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 27430archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 27431enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 27432export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 27433whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 27434compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 27435old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 27436old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 27437archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 27438archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 27439module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 27440module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 27441with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 27442allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 27443no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 27444hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 27445hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 27446hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 27447hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 27448hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 27449hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 27450hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 27451inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 27452link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 27453always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 27454export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 27455exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 27456include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 27457prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 27458postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 27459file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 27460variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 27461need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 27462need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 27463version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 27464runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 27465shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 27466shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 27467libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 27468library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 27469soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 27470install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 27471postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 27472postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 27473finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 27474finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 27475hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 27476sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 27477configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 27478configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 27479hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 27480enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 27481enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 27482enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 27483old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 27484striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 27485 27486LTCC='$LTCC' 27487LTCFLAGS='$LTCFLAGS' 27488compiler='$compiler_DEFAULT' 27489 27490# A function that is used when there is no print builtin or printf. 27491func_fallback_echo () 27492{ 27493 eval 'cat <<_LTECHO_EOF 27494\$1 27495_LTECHO_EOF' 27496} 27497 27498# Quote evaled strings. 27499for var in SHELL \ 27500ECHO \ 27501PATH_SEPARATOR \ 27502SED \ 27503GREP \ 27504EGREP \ 27505FGREP \ 27506LD \ 27507NM \ 27508LN_S \ 27509lt_SP2NL \ 27510lt_NL2SP \ 27511reload_flag \ 27512OBJDUMP \ 27513deplibs_check_method \ 27514file_magic_cmd \ 27515file_magic_glob \ 27516want_nocaseglob \ 27517DLLTOOL \ 27518sharedlib_from_linklib_cmd \ 27519AR \ 27520AR_FLAGS \ 27521archiver_list_spec \ 27522STRIP \ 27523RANLIB \ 27524CC \ 27525CFLAGS \ 27526compiler \ 27527lt_cv_sys_global_symbol_pipe \ 27528lt_cv_sys_global_symbol_to_cdecl \ 27529lt_cv_sys_global_symbol_to_import \ 27530lt_cv_sys_global_symbol_to_c_name_address \ 27531lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 27532lt_cv_nm_interface \ 27533nm_file_list_spec \ 27534lt_cv_truncate_bin \ 27535lt_prog_compiler_no_builtin_flag \ 27536lt_prog_compiler_pic \ 27537lt_prog_compiler_wl \ 27538lt_prog_compiler_static \ 27539lt_cv_prog_compiler_c_o \ 27540need_locks \ 27541MANIFEST_TOOL \ 27542DSYMUTIL \ 27543NMEDIT \ 27544LIPO \ 27545OTOOL \ 27546OTOOL64 \ 27547shrext_cmds \ 27548export_dynamic_flag_spec \ 27549whole_archive_flag_spec \ 27550compiler_needs_object \ 27551with_gnu_ld \ 27552allow_undefined_flag \ 27553no_undefined_flag \ 27554hardcode_libdir_flag_spec \ 27555hardcode_libdir_separator \ 27556exclude_expsyms \ 27557include_expsyms \ 27558file_list_spec \ 27559variables_saved_for_relink \ 27560libname_spec \ 27561library_names_spec \ 27562soname_spec \ 27563install_override_mode \ 27564finish_eval \ 27565old_striplib \ 27566striplib; do 27567 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 27568 *[\\\\\\\`\\"\\\$]*) 27569 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 27570 ;; 27571 *) 27572 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 27573 ;; 27574 esac 27575done 27576 27577# Double-quote double-evaled strings. 27578for var in reload_cmds \ 27579old_postinstall_cmds \ 27580old_postuninstall_cmds \ 27581old_archive_cmds \ 27582extract_expsyms_cmds \ 27583old_archive_from_new_cmds \ 27584old_archive_from_expsyms_cmds \ 27585archive_cmds \ 27586archive_expsym_cmds \ 27587module_cmds \ 27588module_expsym_cmds \ 27589export_symbols_cmds \ 27590prelink_cmds \ 27591postlink_cmds \ 27592postinstall_cmds \ 27593postuninstall_cmds \ 27594finish_cmds \ 27595sys_lib_search_path_spec \ 27596configure_time_dlsearch_path \ 27597configure_time_lt_sys_library_path; do 27598 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 27599 *[\\\\\\\`\\"\\\$]*) 27600 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 27601 ;; 27602 *) 27603 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 27604 ;; 27605 esac 27606done 27607 27608ac_aux_dir='$ac_aux_dir' 27609 27610# See if we are running on zsh, and set the options that allow our 27611# commands through without removal of \ escapes INIT. 27612if test -n "\${ZSH_VERSION+set}"; then 27613 setopt NO_GLOB_SUBST 27614fi 27615 27616 27617 PACKAGE='$PACKAGE' 27618 VERSION='$VERSION' 27619 RM='$RM' 27620 ofile='$ofile' 27621 27622 27623 27624# Capture the value of obsolete ALL_LINGUAS because we need it to compute 27625 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it 27626 # from automake < 1.5. 27627 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' 27628 # Capture the value of LINGUAS because we need it to compute CATALOGS. 27629 LINGUAS="${LINGUAS-%UNSET%}" 27630 27631 27632_ACEOF 27633 27634cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 27635 27636# Handling of arguments. 27637for ac_config_target in $ac_config_targets 27638do 27639 case $ac_config_target in 27640 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 27641 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 27642 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 27643 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; 27644 "src/man2hlp/man2hlp") CONFIG_FILES="$CONFIG_FILES src/man2hlp/man2hlp" ;; 27645 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 27646 "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;; 27647 "misc/Makefile") CONFIG_FILES="$CONFIG_FILES misc/Makefile" ;; 27648 "misc/mc.charsets") CONFIG_FILES="$CONFIG_FILES misc/mc.charsets" ;; 27649 "misc/mc.menu") CONFIG_FILES="$CONFIG_FILES misc/mc.menu" ;; 27650 "misc/mcedit.menu") CONFIG_FILES="$CONFIG_FILES misc/mcedit.menu" ;; 27651 "misc/skins/Makefile") CONFIG_FILES="$CONFIG_FILES misc/skins/Makefile" ;; 27652 "misc/ext.d/Makefile") CONFIG_FILES="$CONFIG_FILES misc/ext.d/Makefile" ;; 27653 "misc/ext.d/doc.sh") CONFIG_FILES="$CONFIG_FILES misc/ext.d/doc.sh" ;; 27654 "misc/ext.d/misc.sh") CONFIG_FILES="$CONFIG_FILES misc/ext.d/misc.sh" ;; 27655 "misc/ext.d/text.sh") CONFIG_FILES="$CONFIG_FILES misc/ext.d/text.sh" ;; 27656 "misc/ext.d/web.sh") CONFIG_FILES="$CONFIG_FILES misc/ext.d/web.sh" ;; 27657 "misc/macros.d/Makefile") CONFIG_FILES="$CONFIG_FILES misc/macros.d/Makefile" ;; 27658 "misc/mc.ext") CONFIG_FILES="$CONFIG_FILES misc/mc.ext" ;; 27659 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 27660 "src/consaver/Makefile") CONFIG_FILES="$CONFIG_FILES src/consaver/Makefile" ;; 27661 "src/editor/Makefile") CONFIG_FILES="$CONFIG_FILES src/editor/Makefile" ;; 27662 "src/man2hlp/Makefile") CONFIG_FILES="$CONFIG_FILES src/man2hlp/Makefile" ;; 27663 "src/subshell/Makefile") CONFIG_FILES="$CONFIG_FILES src/subshell/Makefile" ;; 27664 "src/viewer/Makefile") CONFIG_FILES="$CONFIG_FILES src/viewer/Makefile" ;; 27665 "src/diffviewer/Makefile") CONFIG_FILES="$CONFIG_FILES src/diffviewer/Makefile" ;; 27666 "src/filemanager/Makefile") CONFIG_FILES="$CONFIG_FILES src/filemanager/Makefile" ;; 27667 "src/vfs/Makefile") CONFIG_FILES="$CONFIG_FILES src/vfs/Makefile" ;; 27668 "src/vfs/cpio/Makefile") CONFIG_FILES="$CONFIG_FILES src/vfs/cpio/Makefile" ;; 27669 "src/vfs/extfs/Makefile") CONFIG_FILES="$CONFIG_FILES src/vfs/extfs/Makefile" ;; 27670 "src/vfs/extfs/helpers/Makefile") CONFIG_FILES="$CONFIG_FILES src/vfs/extfs/helpers/Makefile" ;; 27671 "src/vfs/extfs/helpers/a+") CONFIG_FILES="$CONFIG_FILES src/vfs/extfs/helpers/a+" ;; 27672 "src/vfs/extfs/helpers/apt+") CONFIG_FILES="$CONFIG_FILES src/vfs/extfs/helpers/apt+" ;; 27673 "src/vfs/extfs/helpers/audio") CONFIG_FILES="$CONFIG_FILES src/vfs/extfs/helpers/audio" ;; 27674 "src/vfs/extfs/helpers/deb") CONFIG_FILES="$CONFIG_FILES src/vfs/extfs/helpers/deb" ;; 27675 "src/vfs/extfs/helpers/deba") CONFIG_FILES="$CONFIG_FILES src/vfs/extfs/helpers/deba" ;; 27676 "src/vfs/extfs/helpers/debd") CONFIG_FILES="$CONFIG_FILES src/vfs/extfs/helpers/debd" ;; 27677 "src/vfs/extfs/helpers/dpkg+") CONFIG_FILES="$CONFIG_FILES src/vfs/extfs/helpers/dpkg+" ;; 27678 "src/vfs/extfs/helpers/iso9660") CONFIG_FILES="$CONFIG_FILES src/vfs/extfs/helpers/iso9660" ;; 27679 "src/vfs/extfs/helpers/hp48+") CONFIG_FILES="$CONFIG_FILES src/vfs/extfs/helpers/hp48+" ;; 27680 "src/vfs/extfs/helpers/lslR") CONFIG_FILES="$CONFIG_FILES src/vfs/extfs/helpers/lslR" ;; 27681 "src/vfs/extfs/helpers/mailfs") CONFIG_FILES="$CONFIG_FILES src/vfs/extfs/helpers/mailfs" ;; 27682 "src/vfs/extfs/helpers/patchfs") CONFIG_FILES="$CONFIG_FILES src/vfs/extfs/helpers/patchfs" ;; 27683 "src/vfs/extfs/helpers/rpms+") CONFIG_FILES="$CONFIG_FILES src/vfs/extfs/helpers/rpms+" ;; 27684 "src/vfs/extfs/helpers/s3+") CONFIG_FILES="$CONFIG_FILES src/vfs/extfs/helpers/s3+" ;; 27685 "src/vfs/extfs/helpers/uace") CONFIG_FILES="$CONFIG_FILES src/vfs/extfs/helpers/uace" ;; 27686 "src/vfs/extfs/helpers/ualz") CONFIG_FILES="$CONFIG_FILES src/vfs/extfs/helpers/ualz" ;; 27687 "src/vfs/extfs/helpers/uar") CONFIG_FILES="$CONFIG_FILES src/vfs/extfs/helpers/uar" ;; 27688 "src/vfs/extfs/helpers/uarc") CONFIG_FILES="$CONFIG_FILES src/vfs/extfs/helpers/uarc" ;; 27689 "src/vfs/extfs/helpers/uarj") CONFIG_FILES="$CONFIG_FILES src/vfs/extfs/helpers/uarj" ;; 27690 "src/vfs/extfs/helpers/ucab") CONFIG_FILES="$CONFIG_FILES src/vfs/extfs/helpers/ucab" ;; 27691 "src/vfs/extfs/helpers/uha") CONFIG_FILES="$CONFIG_FILES src/vfs/extfs/helpers/uha" ;; 27692 "src/vfs/extfs/helpers/ulha") CONFIG_FILES="$CONFIG_FILES src/vfs/extfs/helpers/ulha" ;; 27693 "src/vfs/extfs/helpers/ulib") CONFIG_FILES="$CONFIG_FILES src/vfs/extfs/helpers/ulib" ;; 27694 "src/vfs/extfs/helpers/unar") CONFIG_FILES="$CONFIG_FILES src/vfs/extfs/helpers/unar" ;; 27695 "src/vfs/extfs/helpers/urar") CONFIG_FILES="$CONFIG_FILES src/vfs/extfs/helpers/urar" ;; 27696 "src/vfs/extfs/helpers/uwim") CONFIG_FILES="$CONFIG_FILES src/vfs/extfs/helpers/uwim" ;; 27697 "src/vfs/extfs/helpers/uzip") CONFIG_FILES="$CONFIG_FILES src/vfs/extfs/helpers/uzip" ;; 27698 "src/vfs/extfs/helpers/uzoo") CONFIG_FILES="$CONFIG_FILES src/vfs/extfs/helpers/uzoo" ;; 27699 "src/vfs/fish/Makefile") CONFIG_FILES="$CONFIG_FILES src/vfs/fish/Makefile" ;; 27700 "src/vfs/fish/helpers/Makefile") CONFIG_FILES="$CONFIG_FILES src/vfs/fish/helpers/Makefile" ;; 27701 "src/vfs/ftpfs/Makefile") CONFIG_FILES="$CONFIG_FILES src/vfs/ftpfs/Makefile" ;; 27702 "src/vfs/sftpfs/Makefile") CONFIG_FILES="$CONFIG_FILES src/vfs/sftpfs/Makefile" ;; 27703 "src/vfs/local/Makefile") CONFIG_FILES="$CONFIG_FILES src/vfs/local/Makefile" ;; 27704 "src/vfs/sfs/Makefile") CONFIG_FILES="$CONFIG_FILES src/vfs/sfs/Makefile" ;; 27705 "src/vfs/smbfs/Makefile") CONFIG_FILES="$CONFIG_FILES src/vfs/smbfs/Makefile" ;; 27706 "src/vfs/tar/Makefile") CONFIG_FILES="$CONFIG_FILES src/vfs/tar/Makefile" ;; 27707 "src/vfs/undelfs/Makefile") CONFIG_FILES="$CONFIG_FILES src/vfs/undelfs/Makefile" ;; 27708 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; 27709 "lib/event/Makefile") CONFIG_FILES="$CONFIG_FILES lib/event/Makefile" ;; 27710 "lib/filehighlight/Makefile") CONFIG_FILES="$CONFIG_FILES lib/filehighlight/Makefile" ;; 27711 "lib/mcconfig/Makefile") CONFIG_FILES="$CONFIG_FILES lib/mcconfig/Makefile" ;; 27712 "lib/search/Makefile") CONFIG_FILES="$CONFIG_FILES lib/search/Makefile" ;; 27713 "lib/skin/Makefile") CONFIG_FILES="$CONFIG_FILES lib/skin/Makefile" ;; 27714 "lib/strutil/Makefile") CONFIG_FILES="$CONFIG_FILES lib/strutil/Makefile" ;; 27715 "lib/tty/Makefile") CONFIG_FILES="$CONFIG_FILES lib/tty/Makefile" ;; 27716 "lib/vfs/Makefile") CONFIG_FILES="$CONFIG_FILES lib/vfs/Makefile" ;; 27717 "lib/widget/Makefile") CONFIG_FILES="$CONFIG_FILES lib/widget/Makefile" ;; 27718 "misc/syntax/Makefile") CONFIG_FILES="$CONFIG_FILES misc/syntax/Makefile" ;; 27719 "misc/syntax/Syntax") CONFIG_FILES="$CONFIG_FILES misc/syntax/Syntax" ;; 27720 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 27721 "doc/hints/Makefile") CONFIG_FILES="$CONFIG_FILES doc/hints/Makefile" ;; 27722 "doc/hints/l10n/Makefile") CONFIG_FILES="$CONFIG_FILES doc/hints/l10n/Makefile" ;; 27723 "doc/man/Makefile") CONFIG_FILES="$CONFIG_FILES doc/man/Makefile" ;; 27724 "doc/man/es/Makefile") CONFIG_FILES="$CONFIG_FILES doc/man/es/Makefile" ;; 27725 "doc/man/hu/Makefile") CONFIG_FILES="$CONFIG_FILES doc/man/hu/Makefile" ;; 27726 "doc/man/it/Makefile") CONFIG_FILES="$CONFIG_FILES doc/man/it/Makefile" ;; 27727 "doc/man/pl/Makefile") CONFIG_FILES="$CONFIG_FILES doc/man/pl/Makefile" ;; 27728 "doc/man/ru/Makefile") CONFIG_FILES="$CONFIG_FILES doc/man/ru/Makefile" ;; 27729 "doc/man/sr/Makefile") CONFIG_FILES="$CONFIG_FILES doc/man/sr/Makefile" ;; 27730 "doc/hlp/Makefile") CONFIG_FILES="$CONFIG_FILES doc/hlp/Makefile" ;; 27731 "doc/hlp/es/Makefile") CONFIG_FILES="$CONFIG_FILES doc/hlp/es/Makefile" ;; 27732 "doc/hlp/hu/Makefile") CONFIG_FILES="$CONFIG_FILES doc/hlp/hu/Makefile" ;; 27733 "doc/hlp/it/Makefile") CONFIG_FILES="$CONFIG_FILES doc/hlp/it/Makefile" ;; 27734 "doc/hlp/pl/Makefile") CONFIG_FILES="$CONFIG_FILES doc/hlp/pl/Makefile" ;; 27735 "doc/hlp/ru/Makefile") CONFIG_FILES="$CONFIG_FILES doc/hlp/ru/Makefile" ;; 27736 "doc/hlp/sr/Makefile") CONFIG_FILES="$CONFIG_FILES doc/hlp/sr/Makefile" ;; 27737 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 27738 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 27739 "tests/lib/Makefile") CONFIG_FILES="$CONFIG_FILES tests/lib/Makefile" ;; 27740 "tests/lib/mcconfig/Makefile") CONFIG_FILES="$CONFIG_FILES tests/lib/mcconfig/Makefile" ;; 27741 "tests/lib/search/Makefile") CONFIG_FILES="$CONFIG_FILES tests/lib/search/Makefile" ;; 27742 "tests/lib/strutil/Makefile") CONFIG_FILES="$CONFIG_FILES tests/lib/strutil/Makefile" ;; 27743 "tests/lib/vfs/Makefile") CONFIG_FILES="$CONFIG_FILES tests/lib/vfs/Makefile" ;; 27744 "tests/lib/widget/Makefile") CONFIG_FILES="$CONFIG_FILES tests/lib/widget/Makefile" ;; 27745 "tests/src/Makefile") CONFIG_FILES="$CONFIG_FILES tests/src/Makefile" ;; 27746 "tests/src/filemanager/Makefile") CONFIG_FILES="$CONFIG_FILES tests/src/filemanager/Makefile" ;; 27747 "tests/src/editor/Makefile") CONFIG_FILES="$CONFIG_FILES tests/src/editor/Makefile" ;; 27748 "tests/src/editor/test-data.txt") CONFIG_FILES="$CONFIG_FILES tests/src/editor/test-data.txt" ;; 27749 "tests/src/vfs/Makefile") CONFIG_FILES="$CONFIG_FILES tests/src/vfs/Makefile" ;; 27750 "tests/src/vfs/extfs/Makefile") CONFIG_FILES="$CONFIG_FILES tests/src/vfs/extfs/Makefile" ;; 27751 "tests/src/vfs/extfs/helpers-list/Makefile") CONFIG_FILES="$CONFIG_FILES tests/src/vfs/extfs/helpers-list/Makefile" ;; 27752 "tests/src/vfs/extfs/helpers-list/data/config.sh") CONFIG_FILES="$CONFIG_FILES tests/src/vfs/extfs/helpers-list/data/config.sh" ;; 27753 "tests/src/vfs/extfs/helpers-list/misc/Makefile") CONFIG_FILES="$CONFIG_FILES tests/src/vfs/extfs/helpers-list/misc/Makefile" ;; 27754 "tests/src/vfs/ftpfs/Makefile") CONFIG_FILES="$CONFIG_FILES tests/src/vfs/ftpfs/Makefile" ;; 27755 27756 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 27757 esac 27758done 27759 27760 27761# If the user did not use the arguments to specify the items to instantiate, 27762# then the envvar interface is used. Set only those that are not. 27763# We use the long form for the default assignment because of an extremely 27764# bizarre bug on SunOS 4.1.3. 27765if $ac_need_defaults; then 27766 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 27767 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 27768 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 27769fi 27770 27771# Have a temporary directory for convenience. Make it in the build tree 27772# simply because there is no reason against having it here, and in addition, 27773# creating and moving files from /tmp can sometimes cause problems. 27774# Hook for its removal unless debugging. 27775# Note that there is a small window in which the directory will not be cleaned: 27776# after its creation but before its name has been assigned to `$tmp'. 27777$debug || 27778{ 27779 tmp= ac_tmp= 27780 trap 'exit_status=$? 27781 : "${ac_tmp:=$tmp}" 27782 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 27783' 0 27784 trap 'as_fn_exit 1' 1 2 13 15 27785} 27786# Create a (secure) tmp directory for tmp files. 27787 27788{ 27789 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 27790 test -d "$tmp" 27791} || 27792{ 27793 tmp=./conf$$-$RANDOM 27794 (umask 077 && mkdir "$tmp") 27795} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 27796ac_tmp=$tmp 27797 27798# Set up the scripts for CONFIG_FILES section. 27799# No need to generate them if there are no CONFIG_FILES. 27800# This happens for instance with `./config.status config.h'. 27801if test -n "$CONFIG_FILES"; then 27802 27803 27804ac_cr=`echo X | tr X '\015'` 27805# On cygwin, bash can eat \r inside `` if the user requested igncr. 27806# But we know of no other shell where ac_cr would be empty at this 27807# point, so we can use a bashism as a fallback. 27808if test "x$ac_cr" = x; then 27809 eval ac_cr=\$\'\\r\' 27810fi 27811ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 27812if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 27813 ac_cs_awk_cr='\\r' 27814else 27815 ac_cs_awk_cr=$ac_cr 27816fi 27817 27818echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 27819_ACEOF 27820 27821 27822{ 27823 echo "cat >conf$$subs.awk <<_ACEOF" && 27824 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 27825 echo "_ACEOF" 27826} >conf$$subs.sh || 27827 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 27828ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 27829ac_delim='%!_!# ' 27830for ac_last_try in false false false false false :; do 27831 . ./conf$$subs.sh || 27832 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 27833 27834 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 27835 if test $ac_delim_n = $ac_delim_num; then 27836 break 27837 elif $ac_last_try; then 27838 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 27839 else 27840 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 27841 fi 27842done 27843rm -f conf$$subs.sh 27844 27845cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 27846cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 27847_ACEOF 27848sed -n ' 27849h 27850s/^/S["/; s/!.*/"]=/ 27851p 27852g 27853s/^[^!]*!// 27854:repl 27855t repl 27856s/'"$ac_delim"'$// 27857t delim 27858:nl 27859h 27860s/\(.\{148\}\)..*/\1/ 27861t more1 27862s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 27863p 27864n 27865b repl 27866:more1 27867s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 27868p 27869g 27870s/.\{148\}// 27871t nl 27872:delim 27873h 27874s/\(.\{148\}\)..*/\1/ 27875t more2 27876s/["\\]/\\&/g; s/^/"/; s/$/"/ 27877p 27878b 27879:more2 27880s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 27881p 27882g 27883s/.\{148\}// 27884t delim 27885' <conf$$subs.awk | sed ' 27886/^[^""]/{ 27887 N 27888 s/\n// 27889} 27890' >>$CONFIG_STATUS || ac_write_fail=1 27891rm -f conf$$subs.awk 27892cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 27893_ACAWK 27894cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 27895 for (key in S) S_is_set[key] = 1 27896 FS = "" 27897 27898} 27899{ 27900 line = $ 0 27901 nfields = split(line, field, "@") 27902 substed = 0 27903 len = length(field[1]) 27904 for (i = 2; i < nfields; i++) { 27905 key = field[i] 27906 keylen = length(key) 27907 if (S_is_set[key]) { 27908 value = S[key] 27909 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 27910 len += length(value) + length(field[++i]) 27911 substed = 1 27912 } else 27913 len += 1 + keylen 27914 } 27915 27916 print line 27917} 27918 27919_ACAWK 27920_ACEOF 27921cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 27922if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 27923 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 27924else 27925 cat 27926fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 27927 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 27928_ACEOF 27929 27930# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 27931# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 27932# trailing colons and then remove the whole line if VPATH becomes empty 27933# (actually we leave an empty line to preserve line numbers). 27934if test "x$srcdir" = x.; then 27935 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 27936h 27937s/// 27938s/^/:/ 27939s/[ ]*$/:/ 27940s/:\$(srcdir):/:/g 27941s/:\${srcdir}:/:/g 27942s/:@srcdir@:/:/g 27943s/^:*// 27944s/:*$// 27945x 27946s/\(=[ ]*\).*/\1/ 27947G 27948s/\n// 27949s/^[^=]*=[ ]*$// 27950}' 27951fi 27952 27953cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 27954fi # test -n "$CONFIG_FILES" 27955 27956# Set up the scripts for CONFIG_HEADERS section. 27957# No need to generate them if there are no CONFIG_HEADERS. 27958# This happens for instance with `./config.status Makefile'. 27959if test -n "$CONFIG_HEADERS"; then 27960cat >"$ac_tmp/defines.awk" <<\_ACAWK || 27961BEGIN { 27962_ACEOF 27963 27964# Transform confdefs.h into an awk script `defines.awk', embedded as 27965# here-document in config.status, that substitutes the proper values into 27966# config.h.in to produce config.h. 27967 27968# Create a delimiter string that does not exist in confdefs.h, to ease 27969# handling of long lines. 27970ac_delim='%!_!# ' 27971for ac_last_try in false false :; do 27972 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 27973 if test -z "$ac_tt"; then 27974 break 27975 elif $ac_last_try; then 27976 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 27977 else 27978 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 27979 fi 27980done 27981 27982# For the awk script, D is an array of macro values keyed by name, 27983# likewise P contains macro parameters if any. Preserve backslash 27984# newline sequences. 27985 27986ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 27987sed -n ' 27988s/.\{148\}/&'"$ac_delim"'/g 27989t rset 27990:rset 27991s/^[ ]*#[ ]*define[ ][ ]*/ / 27992t def 27993d 27994:def 27995s/\\$// 27996t bsnl 27997s/["\\]/\\&/g 27998s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 27999D["\1"]=" \3"/p 28000s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 28001d 28002:bsnl 28003s/["\\]/\\&/g 28004s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 28005D["\1"]=" \3\\\\\\n"\\/p 28006t cont 28007s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 28008t cont 28009d 28010:cont 28011n 28012s/.\{148\}/&'"$ac_delim"'/g 28013t clear 28014:clear 28015s/\\$// 28016t bsnlc 28017s/["\\]/\\&/g; s/^/"/; s/$/"/p 28018d 28019:bsnlc 28020s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 28021b cont 28022' <confdefs.h | sed ' 28023s/'"$ac_delim"'/"\\\ 28024"/g' >>$CONFIG_STATUS || ac_write_fail=1 28025 28026cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 28027 for (key in D) D_is_set[key] = 1 28028 FS = "" 28029} 28030/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 28031 line = \$ 0 28032 split(line, arg, " ") 28033 if (arg[1] == "#") { 28034 defundef = arg[2] 28035 mac1 = arg[3] 28036 } else { 28037 defundef = substr(arg[1], 2) 28038 mac1 = arg[2] 28039 } 28040 split(mac1, mac2, "(") #) 28041 macro = mac2[1] 28042 prefix = substr(line, 1, index(line, defundef) - 1) 28043 if (D_is_set[macro]) { 28044 # Preserve the white space surrounding the "#". 28045 print prefix "define", macro P[macro] D[macro] 28046 next 28047 } else { 28048 # Replace #undef with comments. This is necessary, for example, 28049 # in the case of _POSIX_SOURCE, which is predefined and required 28050 # on some systems where configure will not decide to define it. 28051 if (defundef == "undef") { 28052 print "/*", prefix defundef, macro, "*/" 28053 next 28054 } 28055 } 28056} 28057{ print } 28058_ACAWK 28059_ACEOF 28060cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 28061 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 28062fi # test -n "$CONFIG_HEADERS" 28063 28064 28065eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 28066shift 28067for ac_tag 28068do 28069 case $ac_tag in 28070 :[FHLC]) ac_mode=$ac_tag; continue;; 28071 esac 28072 case $ac_mode$ac_tag in 28073 :[FHL]*:*);; 28074 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 28075 :[FH]-) ac_tag=-:-;; 28076 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 28077 esac 28078 ac_save_IFS=$IFS 28079 IFS=: 28080 set x $ac_tag 28081 IFS=$ac_save_IFS 28082 shift 28083 ac_file=$1 28084 shift 28085 28086 case $ac_mode in 28087 :L) ac_source=$1;; 28088 :[FH]) 28089 ac_file_inputs= 28090 for ac_f 28091 do 28092 case $ac_f in 28093 -) ac_f="$ac_tmp/stdin";; 28094 *) # Look for the file first in the build tree, then in the source tree 28095 # (if the path is not absolute). The absolute path cannot be DOS-style, 28096 # because $ac_f cannot contain `:'. 28097 test -f "$ac_f" || 28098 case $ac_f in 28099 [\\/$]*) false;; 28100 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 28101 esac || 28102 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 28103 esac 28104 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 28105 as_fn_append ac_file_inputs " '$ac_f'" 28106 done 28107 28108 # Let's still pretend it is `configure' which instantiates (i.e., don't 28109 # use $as_me), people would be surprised to read: 28110 # /* config.h. Generated by config.status. */ 28111 configure_input='Generated from '` 28112 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 28113 `' by configure.' 28114 if test x"$ac_file" != x-; then 28115 configure_input="$ac_file. $configure_input" 28116 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 28117$as_echo "$as_me: creating $ac_file" >&6;} 28118 fi 28119 # Neutralize special characters interpreted by sed in replacement strings. 28120 case $configure_input in #( 28121 *\&* | *\|* | *\\* ) 28122 ac_sed_conf_input=`$as_echo "$configure_input" | 28123 sed 's/[\\\\&|]/\\\\&/g'`;; #( 28124 *) ac_sed_conf_input=$configure_input;; 28125 esac 28126 28127 case $ac_tag in 28128 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 28129 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 28130 esac 28131 ;; 28132 esac 28133 28134 ac_dir=`$as_dirname -- "$ac_file" || 28135$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 28136 X"$ac_file" : 'X\(//\)[^/]' \| \ 28137 X"$ac_file" : 'X\(//\)$' \| \ 28138 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 28139$as_echo X"$ac_file" | 28140 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 28141 s//\1/ 28142 q 28143 } 28144 /^X\(\/\/\)[^/].*/{ 28145 s//\1/ 28146 q 28147 } 28148 /^X\(\/\/\)$/{ 28149 s//\1/ 28150 q 28151 } 28152 /^X\(\/\).*/{ 28153 s//\1/ 28154 q 28155 } 28156 s/.*/./; q'` 28157 as_dir="$ac_dir"; as_fn_mkdir_p 28158 ac_builddir=. 28159 28160case "$ac_dir" in 28161.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 28162*) 28163 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 28164 # A ".." for each directory in $ac_dir_suffix. 28165 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 28166 case $ac_top_builddir_sub in 28167 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 28168 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 28169 esac ;; 28170esac 28171ac_abs_top_builddir=$ac_pwd 28172ac_abs_builddir=$ac_pwd$ac_dir_suffix 28173# for backward compatibility: 28174ac_top_builddir=$ac_top_build_prefix 28175 28176case $srcdir in 28177 .) # We are building in place. 28178 ac_srcdir=. 28179 ac_top_srcdir=$ac_top_builddir_sub 28180 ac_abs_top_srcdir=$ac_pwd ;; 28181 [\\/]* | ?:[\\/]* ) # Absolute name. 28182 ac_srcdir=$srcdir$ac_dir_suffix; 28183 ac_top_srcdir=$srcdir 28184 ac_abs_top_srcdir=$srcdir ;; 28185 *) # Relative name. 28186 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 28187 ac_top_srcdir=$ac_top_build_prefix$srcdir 28188 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 28189esac 28190ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 28191 28192 28193 case $ac_mode in 28194 :F) 28195 # 28196 # CONFIG_FILE 28197 # 28198 28199 case $INSTALL in 28200 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 28201 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 28202 esac 28203 ac_MKDIR_P=$MKDIR_P 28204 case $MKDIR_P in 28205 [\\/$]* | ?:[\\/]* ) ;; 28206 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 28207 esac 28208_ACEOF 28209 28210cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 28211# If the template does not know about datarootdir, expand it. 28212# FIXME: This hack should be removed a few years after 2.60. 28213ac_datarootdir_hack=; ac_datarootdir_seen= 28214ac_sed_dataroot=' 28215/datarootdir/ { 28216 p 28217 q 28218} 28219/@datadir@/p 28220/@docdir@/p 28221/@infodir@/p 28222/@localedir@/p 28223/@mandir@/p' 28224case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 28225*datarootdir*) ac_datarootdir_seen=yes;; 28226*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 28227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 28228$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 28229_ACEOF 28230cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 28231 ac_datarootdir_hack=' 28232 s&@datadir@&$datadir&g 28233 s&@docdir@&$docdir&g 28234 s&@infodir@&$infodir&g 28235 s&@localedir@&$localedir&g 28236 s&@mandir@&$mandir&g 28237 s&\\\${datarootdir}&$datarootdir&g' ;; 28238esac 28239_ACEOF 28240 28241# Neutralize VPATH when `$srcdir' = `.'. 28242# Shell code in configure.ac might set extrasub. 28243# FIXME: do we really want to maintain this feature? 28244cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 28245ac_sed_extra="$ac_vpsub 28246$extrasub 28247_ACEOF 28248cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 28249:t 28250/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 28251s|@configure_input@|$ac_sed_conf_input|;t t 28252s&@top_builddir@&$ac_top_builddir_sub&;t t 28253s&@top_build_prefix@&$ac_top_build_prefix&;t t 28254s&@srcdir@&$ac_srcdir&;t t 28255s&@abs_srcdir@&$ac_abs_srcdir&;t t 28256s&@top_srcdir@&$ac_top_srcdir&;t t 28257s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 28258s&@builddir@&$ac_builddir&;t t 28259s&@abs_builddir@&$ac_abs_builddir&;t t 28260s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 28261s&@INSTALL@&$ac_INSTALL&;t t 28262s&@MKDIR_P@&$ac_MKDIR_P&;t t 28263$ac_datarootdir_hack 28264" 28265eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 28266 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 28267 28268test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 28269 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 28270 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 28271 "$ac_tmp/out"`; test -z "$ac_out"; } && 28272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 28273which seems to be undefined. Please make sure it is defined" >&5 28274$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 28275which seems to be undefined. Please make sure it is defined" >&2;} 28276 28277 rm -f "$ac_tmp/stdin" 28278 case $ac_file in 28279 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 28280 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 28281 esac \ 28282 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 28283 ;; 28284 :H) 28285 # 28286 # CONFIG_HEADER 28287 # 28288 if test x"$ac_file" != x-; then 28289 { 28290 $as_echo "/* $configure_input */" \ 28291 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 28292 } >"$ac_tmp/config.h" \ 28293 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 28294 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 28295 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 28296$as_echo "$as_me: $ac_file is unchanged" >&6;} 28297 else 28298 rm -f "$ac_file" 28299 mv "$ac_tmp/config.h" "$ac_file" \ 28300 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 28301 fi 28302 else 28303 $as_echo "/* $configure_input */" \ 28304 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 28305 || as_fn_error $? "could not create -" "$LINENO" 5 28306 fi 28307# Compute "$ac_file"'s index in $config_headers. 28308_am_arg="$ac_file" 28309_am_stamp_count=1 28310for _am_header in $config_headers :; do 28311 case $_am_header in 28312 $_am_arg | $_am_arg:* ) 28313 break ;; 28314 * ) 28315 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 28316 esac 28317done 28318echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 28319$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 28320 X"$_am_arg" : 'X\(//\)[^/]' \| \ 28321 X"$_am_arg" : 'X\(//\)$' \| \ 28322 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 28323$as_echo X"$_am_arg" | 28324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 28325 s//\1/ 28326 q 28327 } 28328 /^X\(\/\/\)[^/].*/{ 28329 s//\1/ 28330 q 28331 } 28332 /^X\(\/\/\)$/{ 28333 s//\1/ 28334 q 28335 } 28336 /^X\(\/\).*/{ 28337 s//\1/ 28338 q 28339 } 28340 s/.*/./; q'`/stamp-h$_am_stamp_count 28341 ;; 28342 28343 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 28344$as_echo "$as_me: executing $ac_file commands" >&6;} 28345 ;; 28346 esac 28347 28348 28349 case $ac_file$ac_mode in 28350 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 28351 # Older Autoconf quotes --file arguments for eval, but not when files 28352 # are listed without --file. Let's play safe and only enable the eval 28353 # if we detect the quoting. 28354 # TODO: see whether this extra hack can be removed once we start 28355 # requiring Autoconf 2.70 or later. 28356 case $CONFIG_FILES in #( 28357 *\'*) : 28358 eval set x "$CONFIG_FILES" ;; #( 28359 *) : 28360 set x $CONFIG_FILES ;; #( 28361 *) : 28362 ;; 28363esac 28364 shift 28365 # Used to flag and report bootstrapping failures. 28366 am_rc=0 28367 for am_mf 28368 do 28369 # Strip MF so we end up with the name of the file. 28370 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 28371 # Check whether this is an Automake generated Makefile which includes 28372 # dependency-tracking related rules and includes. 28373 # Grep'ing the whole file directly is not great: AIX grep has a line 28374 # limit of 2048, but all sed's we know have understand at least 4000. 28375 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 28376 || continue 28377 am_dirpart=`$as_dirname -- "$am_mf" || 28378$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 28379 X"$am_mf" : 'X\(//\)[^/]' \| \ 28380 X"$am_mf" : 'X\(//\)$' \| \ 28381 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 28382$as_echo X"$am_mf" | 28383 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 28384 s//\1/ 28385 q 28386 } 28387 /^X\(\/\/\)[^/].*/{ 28388 s//\1/ 28389 q 28390 } 28391 /^X\(\/\/\)$/{ 28392 s//\1/ 28393 q 28394 } 28395 /^X\(\/\).*/{ 28396 s//\1/ 28397 q 28398 } 28399 s/.*/./; q'` 28400 am_filepart=`$as_basename -- "$am_mf" || 28401$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 28402 X"$am_mf" : 'X\(//\)$' \| \ 28403 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 28404$as_echo X/"$am_mf" | 28405 sed '/^.*\/\([^/][^/]*\)\/*$/{ 28406 s//\1/ 28407 q 28408 } 28409 /^X\/\(\/\/\)$/{ 28410 s//\1/ 28411 q 28412 } 28413 /^X\/\(\/\).*/{ 28414 s//\1/ 28415 q 28416 } 28417 s/.*/./; q'` 28418 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 28419 && sed -e '/# am--include-marker/d' "$am_filepart" \ 28420 | $MAKE -f - am--depfiles" >&5 28421 (cd "$am_dirpart" \ 28422 && sed -e '/# am--include-marker/d' "$am_filepart" \ 28423 | $MAKE -f - am--depfiles) >&5 2>&5 28424 ac_status=$? 28425 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28426 (exit $ac_status); } || am_rc=$? 28427 done 28428 if test $am_rc -ne 0; then 28429 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28430$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28431as_fn_error $? "Something went wrong bootstrapping makefile fragments 28432 for automatic dependency tracking. If GNU make was not used, consider 28433 re-running the configure script with MAKE=\"gmake\" (or whatever is 28434 necessary). You can also try re-running configure with the 28435 '--disable-dependency-tracking' option to at least be able to build 28436 the package (albeit without support for automatic dependency tracking). 28437See \`config.log' for more details" "$LINENO" 5; } 28438 fi 28439 { am_dirpart=; unset am_dirpart;} 28440 { am_filepart=; unset am_filepart;} 28441 { am_mf=; unset am_mf;} 28442 { am_rc=; unset am_rc;} 28443 rm -f conftest-deps.mk 28444} 28445 ;; 28446 "libtool":C) 28447 28448 # See if we are running on zsh, and set the options that allow our 28449 # commands through without removal of \ escapes. 28450 if test -n "${ZSH_VERSION+set}"; then 28451 setopt NO_GLOB_SUBST 28452 fi 28453 28454 cfgfile=${ofile}T 28455 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 28456 $RM "$cfgfile" 28457 28458 cat <<_LT_EOF >> "$cfgfile" 28459#! $SHELL 28460# Generated automatically by $as_me ($PACKAGE) $VERSION 28461# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 28462# NOTE: Changes made to this file will be lost: look at ltmain.sh. 28463 28464# Provide generalized library-building support services. 28465# Written by Gordon Matzigkeit, 1996 28466 28467# Copyright (C) 2014 Free Software Foundation, Inc. 28468# This is free software; see the source for copying conditions. There is NO 28469# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 28470 28471# GNU Libtool is free software; you can redistribute it and/or modify 28472# it under the terms of the GNU General Public License as published by 28473# the Free Software Foundation; either version 2 of of the License, or 28474# (at your option) any later version. 28475# 28476# As a special exception to the GNU General Public License, if you 28477# distribute this file as part of a program or library that is built 28478# using GNU Libtool, you may include this file under the same 28479# distribution terms that you use for the rest of that program. 28480# 28481# GNU Libtool is distributed in the hope that it will be useful, but 28482# WITHOUT ANY WARRANTY; without even the implied warranty of 28483# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 28484# GNU General Public License for more details. 28485# 28486# You should have received a copy of the GNU General Public License 28487# along with this program. If not, see <http://www.gnu.org/licenses/>. 28488 28489 28490# The names of the tagged configurations supported by this script. 28491available_tags='' 28492 28493# Configured defaults for sys_lib_dlsearch_path munging. 28494: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 28495 28496# ### BEGIN LIBTOOL CONFIG 28497 28498# Which release of libtool.m4 was used? 28499macro_version=$macro_version 28500macro_revision=$macro_revision 28501 28502# Whether or not to build shared libraries. 28503build_libtool_libs=$enable_shared 28504 28505# Whether or not to build static libraries. 28506build_old_libs=$enable_static 28507 28508# What type of objects to build. 28509pic_mode=$pic_mode 28510 28511# Whether or not to optimize for fast installation. 28512fast_install=$enable_fast_install 28513 28514# Shared archive member basename,for filename based shared library versioning on AIX. 28515shared_archive_member_spec=$shared_archive_member_spec 28516 28517# Shell to use when invoking shell scripts. 28518SHELL=$lt_SHELL 28519 28520# An echo program that protects backslashes. 28521ECHO=$lt_ECHO 28522 28523# The PATH separator for the build system. 28524PATH_SEPARATOR=$lt_PATH_SEPARATOR 28525 28526# The host system. 28527host_alias=$host_alias 28528host=$host 28529host_os=$host_os 28530 28531# The build system. 28532build_alias=$build_alias 28533build=$build 28534build_os=$build_os 28535 28536# A sed program that does not truncate output. 28537SED=$lt_SED 28538 28539# Sed that helps us avoid accidentally triggering echo(1) options like -n. 28540Xsed="\$SED -e 1s/^X//" 28541 28542# A grep program that handles long lines. 28543GREP=$lt_GREP 28544 28545# An ERE matcher. 28546EGREP=$lt_EGREP 28547 28548# A literal string matcher. 28549FGREP=$lt_FGREP 28550 28551# A BSD- or MS-compatible name lister. 28552NM=$lt_NM 28553 28554# Whether we need soft or hard links. 28555LN_S=$lt_LN_S 28556 28557# What is the maximum length of a command? 28558max_cmd_len=$max_cmd_len 28559 28560# Object file suffix (normally "o"). 28561objext=$ac_objext 28562 28563# Executable file suffix (normally ""). 28564exeext=$exeext 28565 28566# whether the shell understands "unset". 28567lt_unset=$lt_unset 28568 28569# turn spaces into newlines. 28570SP2NL=$lt_lt_SP2NL 28571 28572# turn newlines into spaces. 28573NL2SP=$lt_lt_NL2SP 28574 28575# convert \$build file names to \$host format. 28576to_host_file_cmd=$lt_cv_to_host_file_cmd 28577 28578# convert \$build files to toolchain format. 28579to_tool_file_cmd=$lt_cv_to_tool_file_cmd 28580 28581# An object symbol dumper. 28582OBJDUMP=$lt_OBJDUMP 28583 28584# Method to check whether dependent libraries are shared objects. 28585deplibs_check_method=$lt_deplibs_check_method 28586 28587# Command to use when deplibs_check_method = "file_magic". 28588file_magic_cmd=$lt_file_magic_cmd 28589 28590# How to find potential files when deplibs_check_method = "file_magic". 28591file_magic_glob=$lt_file_magic_glob 28592 28593# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 28594want_nocaseglob=$lt_want_nocaseglob 28595 28596# DLL creation program. 28597DLLTOOL=$lt_DLLTOOL 28598 28599# Command to associate shared and link libraries. 28600sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 28601 28602# The archiver. 28603AR=$lt_AR 28604 28605# Flags to create an archive. 28606AR_FLAGS=$lt_AR_FLAGS 28607 28608# How to feed a file listing to the archiver. 28609archiver_list_spec=$lt_archiver_list_spec 28610 28611# A symbol stripping program. 28612STRIP=$lt_STRIP 28613 28614# Commands used to install an old-style archive. 28615RANLIB=$lt_RANLIB 28616old_postinstall_cmds=$lt_old_postinstall_cmds 28617old_postuninstall_cmds=$lt_old_postuninstall_cmds 28618 28619# Whether to use a lock for old archive extraction. 28620lock_old_archive_extraction=$lock_old_archive_extraction 28621 28622# A C compiler. 28623LTCC=$lt_CC 28624 28625# LTCC compiler flags. 28626LTCFLAGS=$lt_CFLAGS 28627 28628# Take the output of nm and produce a listing of raw symbols and C names. 28629global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 28630 28631# Transform the output of nm in a proper C declaration. 28632global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 28633 28634# Transform the output of nm into a list of symbols to manually relocate. 28635global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 28636 28637# Transform the output of nm in a C name address pair. 28638global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 28639 28640# Transform the output of nm in a C name address pair when lib prefix is needed. 28641global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 28642 28643# The name lister interface. 28644nm_interface=$lt_lt_cv_nm_interface 28645 28646# Specify filename containing input files for \$NM. 28647nm_file_list_spec=$lt_nm_file_list_spec 28648 28649# The root where to search for dependent libraries,and where our libraries should be installed. 28650lt_sysroot=$lt_sysroot 28651 28652# Command to truncate a binary pipe. 28653lt_truncate_bin=$lt_lt_cv_truncate_bin 28654 28655# The name of the directory that contains temporary libtool files. 28656objdir=$objdir 28657 28658# Used to examine libraries when file_magic_cmd begins with "file". 28659MAGIC_CMD=$MAGIC_CMD 28660 28661# Must we lock files when doing compilation? 28662need_locks=$lt_need_locks 28663 28664# Manifest tool. 28665MANIFEST_TOOL=$lt_MANIFEST_TOOL 28666 28667# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 28668DSYMUTIL=$lt_DSYMUTIL 28669 28670# Tool to change global to local symbols on Mac OS X. 28671NMEDIT=$lt_NMEDIT 28672 28673# Tool to manipulate fat objects and archives on Mac OS X. 28674LIPO=$lt_LIPO 28675 28676# ldd/readelf like tool for Mach-O binaries on Mac OS X. 28677OTOOL=$lt_OTOOL 28678 28679# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 28680OTOOL64=$lt_OTOOL64 28681 28682# Old archive suffix (normally "a"). 28683libext=$libext 28684 28685# Shared library suffix (normally ".so"). 28686shrext_cmds=$lt_shrext_cmds 28687 28688# The commands to extract the exported symbol list from a shared archive. 28689extract_expsyms_cmds=$lt_extract_expsyms_cmds 28690 28691# Variables whose values should be saved in libtool wrapper scripts and 28692# restored at link time. 28693variables_saved_for_relink=$lt_variables_saved_for_relink 28694 28695# Do we need the "lib" prefix for modules? 28696need_lib_prefix=$need_lib_prefix 28697 28698# Do we need a version for libraries? 28699need_version=$need_version 28700 28701# Library versioning type. 28702version_type=$version_type 28703 28704# Shared library runtime path variable. 28705runpath_var=$runpath_var 28706 28707# Shared library path variable. 28708shlibpath_var=$shlibpath_var 28709 28710# Is shlibpath searched before the hard-coded library search path? 28711shlibpath_overrides_runpath=$shlibpath_overrides_runpath 28712 28713# Format of library name prefix. 28714libname_spec=$lt_libname_spec 28715 28716# List of archive names. First name is the real one, the rest are links. 28717# The last name is the one that the linker finds with -lNAME 28718library_names_spec=$lt_library_names_spec 28719 28720# The coded name of the library, if different from the real name. 28721soname_spec=$lt_soname_spec 28722 28723# Permission mode override for installation of shared libraries. 28724install_override_mode=$lt_install_override_mode 28725 28726# Command to use after installation of a shared archive. 28727postinstall_cmds=$lt_postinstall_cmds 28728 28729# Command to use after uninstallation of a shared archive. 28730postuninstall_cmds=$lt_postuninstall_cmds 28731 28732# Commands used to finish a libtool library installation in a directory. 28733finish_cmds=$lt_finish_cmds 28734 28735# As "finish_cmds", except a single script fragment to be evaled but 28736# not shown. 28737finish_eval=$lt_finish_eval 28738 28739# Whether we should hardcode library paths into libraries. 28740hardcode_into_libs=$hardcode_into_libs 28741 28742# Compile-time system search path for libraries. 28743sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 28744 28745# Detected run-time system search path for libraries. 28746sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 28747 28748# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 28749configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 28750 28751# Whether dlopen is supported. 28752dlopen_support=$enable_dlopen 28753 28754# Whether dlopen of programs is supported. 28755dlopen_self=$enable_dlopen_self 28756 28757# Whether dlopen of statically linked programs is supported. 28758dlopen_self_static=$enable_dlopen_self_static 28759 28760# Commands to strip libraries. 28761old_striplib=$lt_old_striplib 28762striplib=$lt_striplib 28763 28764 28765# The linker used to build libraries. 28766LD=$lt_LD 28767 28768# How to create reloadable object files. 28769reload_flag=$lt_reload_flag 28770reload_cmds=$lt_reload_cmds 28771 28772# Commands used to build an old-style archive. 28773old_archive_cmds=$lt_old_archive_cmds 28774 28775# A language specific compiler. 28776CC=$lt_compiler 28777 28778# Is the compiler the GNU compiler? 28779with_gcc=$GCC 28780 28781# Compiler flag to turn off builtin functions. 28782no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 28783 28784# Additional compiler flags for building library objects. 28785pic_flag=$lt_lt_prog_compiler_pic 28786 28787# How to pass a linker flag through the compiler. 28788wl=$lt_lt_prog_compiler_wl 28789 28790# Compiler flag to prevent dynamic linking. 28791link_static_flag=$lt_lt_prog_compiler_static 28792 28793# Does compiler simultaneously support -c and -o options? 28794compiler_c_o=$lt_lt_cv_prog_compiler_c_o 28795 28796# Whether or not to add -lc for building shared libraries. 28797build_libtool_need_lc=$archive_cmds_need_lc 28798 28799# Whether or not to disallow shared libs when runtime libs are static. 28800allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 28801 28802# Compiler flag to allow reflexive dlopens. 28803export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 28804 28805# Compiler flag to generate shared objects directly from archives. 28806whole_archive_flag_spec=$lt_whole_archive_flag_spec 28807 28808# Whether the compiler copes with passing no objects directly. 28809compiler_needs_object=$lt_compiler_needs_object 28810 28811# Create an old-style archive from a shared archive. 28812old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 28813 28814# Create a temporary old-style archive to link instead of a shared archive. 28815old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 28816 28817# Commands used to build a shared archive. 28818archive_cmds=$lt_archive_cmds 28819archive_expsym_cmds=$lt_archive_expsym_cmds 28820 28821# Commands used to build a loadable module if different from building 28822# a shared archive. 28823module_cmds=$lt_module_cmds 28824module_expsym_cmds=$lt_module_expsym_cmds 28825 28826# Whether we are building with GNU ld or not. 28827with_gnu_ld=$lt_with_gnu_ld 28828 28829# Flag that allows shared libraries with undefined symbols to be built. 28830allow_undefined_flag=$lt_allow_undefined_flag 28831 28832# Flag that enforces no undefined symbols. 28833no_undefined_flag=$lt_no_undefined_flag 28834 28835# Flag to hardcode \$libdir into a binary during linking. 28836# This must work even if \$libdir does not exist 28837hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 28838 28839# Whether we need a single "-rpath" flag with a separated argument. 28840hardcode_libdir_separator=$lt_hardcode_libdir_separator 28841 28842# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 28843# DIR into the resulting binary. 28844hardcode_direct=$hardcode_direct 28845 28846# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 28847# DIR into the resulting binary and the resulting library dependency is 28848# "absolute",i.e impossible to change by setting \$shlibpath_var if the 28849# library is relocated. 28850hardcode_direct_absolute=$hardcode_direct_absolute 28851 28852# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 28853# into the resulting binary. 28854hardcode_minus_L=$hardcode_minus_L 28855 28856# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 28857# into the resulting binary. 28858hardcode_shlibpath_var=$hardcode_shlibpath_var 28859 28860# Set to "yes" if building a shared library automatically hardcodes DIR 28861# into the library and all subsequent libraries and executables linked 28862# against it. 28863hardcode_automatic=$hardcode_automatic 28864 28865# Set to yes if linker adds runtime paths of dependent libraries 28866# to runtime path list. 28867inherit_rpath=$inherit_rpath 28868 28869# Whether libtool must link a program against all its dependency libraries. 28870link_all_deplibs=$link_all_deplibs 28871 28872# Set to "yes" if exported symbols are required. 28873always_export_symbols=$always_export_symbols 28874 28875# The commands to list exported symbols. 28876export_symbols_cmds=$lt_export_symbols_cmds 28877 28878# Symbols that should not be listed in the preloaded symbols. 28879exclude_expsyms=$lt_exclude_expsyms 28880 28881# Symbols that must always be exported. 28882include_expsyms=$lt_include_expsyms 28883 28884# Commands necessary for linking programs (against libraries) with templates. 28885prelink_cmds=$lt_prelink_cmds 28886 28887# Commands necessary for finishing linking programs. 28888postlink_cmds=$lt_postlink_cmds 28889 28890# Specify filename containing input files. 28891file_list_spec=$lt_file_list_spec 28892 28893# How to hardcode a shared library path into an executable. 28894hardcode_action=$hardcode_action 28895 28896# ### END LIBTOOL CONFIG 28897 28898_LT_EOF 28899 28900 cat <<'_LT_EOF' >> "$cfgfile" 28901 28902# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 28903 28904# func_munge_path_list VARIABLE PATH 28905# ----------------------------------- 28906# VARIABLE is name of variable containing _space_ separated list of 28907# directories to be munged by the contents of PATH, which is string 28908# having a format: 28909# "DIR[:DIR]:" 28910# string "DIR[ DIR]" will be prepended to VARIABLE 28911# ":DIR[:DIR]" 28912# string "DIR[ DIR]" will be appended to VARIABLE 28913# "DIRP[:DIRP]::[DIRA:]DIRA" 28914# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 28915# "DIRA[ DIRA]" will be appended to VARIABLE 28916# "DIR[:DIR]" 28917# VARIABLE will be replaced by "DIR[ DIR]" 28918func_munge_path_list () 28919{ 28920 case x$2 in 28921 x) 28922 ;; 28923 *:) 28924 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 28925 ;; 28926 x:*) 28927 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 28928 ;; 28929 *::*) 28930 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 28931 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 28932 ;; 28933 *) 28934 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 28935 ;; 28936 esac 28937} 28938 28939 28940# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 28941func_cc_basename () 28942{ 28943 for cc_temp in $*""; do 28944 case $cc_temp in 28945 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 28946 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 28947 \-*) ;; 28948 *) break;; 28949 esac 28950 done 28951 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 28952} 28953 28954 28955# ### END FUNCTIONS SHARED WITH CONFIGURE 28956 28957_LT_EOF 28958 28959 case $host_os in 28960 aix3*) 28961 cat <<\_LT_EOF >> "$cfgfile" 28962# AIX sometimes has problems with the GCC collect2 program. For some 28963# reason, if we set the COLLECT_NAMES environment variable, the problems 28964# vanish in a puff of smoke. 28965if test set != "${COLLECT_NAMES+set}"; then 28966 COLLECT_NAMES= 28967 export COLLECT_NAMES 28968fi 28969_LT_EOF 28970 ;; 28971 esac 28972 28973 28974ltmain=$ac_aux_dir/ltmain.sh 28975 28976 28977 # We use sed instead of cat because bash on DJGPP gets confused if 28978 # if finds mixed CR/LF and LF-only lines. Since sed operates in 28979 # text mode, it properly converts lines to CR/LF. This bash problem 28980 # is reportedly fixed, but why not run on old versions too? 28981 sed '$q' "$ltmain" >> "$cfgfile" \ 28982 || (rm -f "$cfgfile"; exit 1) 28983 28984 mv -f "$cfgfile" "$ofile" || 28985 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 28986 chmod +x "$ofile" 28987 28988 ;; 28989 "po-directories":C) 28990 for ac_file in $CONFIG_FILES; do 28991 # Support "outfile[:infile[:infile...]]" 28992 case "$ac_file" in 28993 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 28994 esac 28995 # PO directories have a Makefile.in generated from Makefile.in.in. 28996 case "$ac_file" in */Makefile.in) 28997 # Adjust a relative srcdir. 28998 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 28999 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` 29000 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 29001 # In autoconf-2.13 it is called $ac_given_srcdir. 29002 # In autoconf-2.50 it is called $srcdir. 29003 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 29004 case "$ac_given_srcdir" in 29005 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 29006 /*) top_srcdir="$ac_given_srcdir" ;; 29007 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 29008 esac 29009 # Treat a directory as a PO directory if and only if it has a 29010 # POTFILES.in file. This allows packages to have multiple PO 29011 # directories under different names or in different locations. 29012 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 29013 rm -f "$ac_dir/POTFILES" 29014 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 29015 gt_tab=`printf '\t'` 29016 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" 29017 POMAKEFILEDEPS="POTFILES.in" 29018 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 29019 # on $ac_dir but don't depend on user-specified configuration 29020 # parameters. 29021 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 29022 # The LINGUAS file contains the set of available languages. 29023 if test -n "$OBSOLETE_ALL_LINGUAS"; then 29024 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 29025 fi 29026 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 29027 # Hide the ALL_LINGUAS assignment from automake < 1.5. 29028 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 29029 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 29030 else 29031 # The set of available languages was given in configure.in. 29032 # Hide the ALL_LINGUAS assignment from automake < 1.5. 29033 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' 29034 fi 29035 # Compute POFILES 29036 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 29037 # Compute UPDATEPOFILES 29038 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 29039 # Compute DUMMYPOFILES 29040 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 29041 # Compute GMOFILES 29042 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 29043 case "$ac_given_srcdir" in 29044 .) srcdirpre= ;; 29045 *) srcdirpre='$(srcdir)/' ;; 29046 esac 29047 POFILES= 29048 UPDATEPOFILES= 29049 DUMMYPOFILES= 29050 GMOFILES= 29051 for lang in $ALL_LINGUAS; do 29052 POFILES="$POFILES $srcdirpre$lang.po" 29053 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 29054 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 29055 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 29056 done 29057 # CATALOGS depends on both $ac_dir and the user's LINGUAS 29058 # environment variable. 29059 INST_LINGUAS= 29060 if test -n "$ALL_LINGUAS"; then 29061 for presentlang in $ALL_LINGUAS; do 29062 useit=no 29063 if test "%UNSET%" != "$LINGUAS"; then 29064 desiredlanguages="$LINGUAS" 29065 else 29066 desiredlanguages="$ALL_LINGUAS" 29067 fi 29068 for desiredlang in $desiredlanguages; do 29069 # Use the presentlang catalog if desiredlang is 29070 # a. equal to presentlang, or 29071 # b. a variant of presentlang (because in this case, 29072 # presentlang can be used as a fallback for messages 29073 # which are not translated in the desiredlang catalog). 29074 case "$desiredlang" in 29075 "$presentlang"*) useit=yes;; 29076 esac 29077 done 29078 if test $useit = yes; then 29079 INST_LINGUAS="$INST_LINGUAS $presentlang" 29080 fi 29081 done 29082 fi 29083 CATALOGS= 29084 if test -n "$INST_LINGUAS"; then 29085 for lang in $INST_LINGUAS; do 29086 CATALOGS="$CATALOGS $lang.gmo" 29087 done 29088 fi 29089 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 29090 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" 29091 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 29092 if test -f "$f"; then 29093 case "$f" in 29094 *.orig | *.bak | *~) ;; 29095 *) cat "$f" >> "$ac_dir/Makefile" ;; 29096 esac 29097 fi 29098 done 29099 fi 29100 ;; 29101 esac 29102 done ;; 29103 "src/man2hlp/man2hlp":F) 29104chmod +x src/man2hlp/man2hlp 29105 ;; 29106 29107 esac 29108done # for ac_tag 29109 29110 29111as_fn_exit 0 29112_ACEOF 29113ac_clean_files=$ac_clean_files_save 29114 29115test $ac_write_fail = 0 || 29116 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 29117 29118 29119# configure is writing to config.log, and then calls config.status. 29120# config.status does its own redirection, appending to config.log. 29121# Unfortunately, on DOS this fails, as config.log is still kept open 29122# by configure, so config.status won't be able to write to it; its 29123# output is simply discarded. So we exec the FD to /dev/null, 29124# effectively closing config.log, so it can be properly (re)opened and 29125# appended to by config.status. When coming back to configure, we 29126# need to make the FD available again. 29127if test "$no_create" != yes; then 29128 ac_cs_success=: 29129 ac_config_status_args= 29130 test "$silent" = yes && 29131 ac_config_status_args="$ac_config_status_args --quiet" 29132 exec 5>/dev/null 29133 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 29134 exec 5>>config.log 29135 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 29136 # would make configure fail if this is the last instruction. 29137 $ac_cs_success || as_fn_exit 1 29138fi 29139 29140# 29141# CONFIG_SUBDIRS section. 29142# 29143if test "$no_recursion" != yes; then 29144 29145 # Remove --cache-file, --srcdir, and --disable-option-checking arguments 29146 # so they do not pile up. 29147 ac_sub_configure_args= 29148 ac_prev= 29149 eval "set x $ac_configure_args" 29150 shift 29151 for ac_arg 29152 do 29153 if test -n "$ac_prev"; then 29154 ac_prev= 29155 continue 29156 fi 29157 case $ac_arg in 29158 -cache-file | --cache-file | --cache-fil | --cache-fi \ 29159 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 29160 ac_prev=cache_file ;; 29161 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 29162 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ 29163 | --c=*) 29164 ;; 29165 --config-cache | -C) 29166 ;; 29167 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 29168 ac_prev=srcdir ;; 29169 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 29170 ;; 29171 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 29172 ac_prev=prefix ;; 29173 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 29174 ;; 29175 --disable-option-checking) 29176 ;; 29177 *) 29178 case $ac_arg in 29179 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 29180 esac 29181 as_fn_append ac_sub_configure_args " '$ac_arg'" ;; 29182 esac 29183 done 29184 29185 # Always prepend --prefix to ensure using the same prefix 29186 # in subdir configurations. 29187 ac_arg="--prefix=$prefix" 29188 case $ac_arg in 29189 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 29190 esac 29191 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" 29192 29193 # Pass --silent 29194 if test "$silent" = yes; then 29195 ac_sub_configure_args="--silent $ac_sub_configure_args" 29196 fi 29197 29198 # Always prepend --disable-option-checking to silence warnings, since 29199 # different subdirs can have different --enable and --with options. 29200 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" 29201 29202 ac_popdir=`pwd` 29203 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue 29204 29205 # Do not complain, so a configure script can configure whichever 29206 # parts of a large source tree are present. 29207 test -d "$srcdir/$ac_dir" || continue 29208 29209 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 29210 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 29211 $as_echo "$ac_msg" >&6 29212 as_dir="$ac_dir"; as_fn_mkdir_p 29213 ac_builddir=. 29214 29215case "$ac_dir" in 29216.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 29217*) 29218 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 29219 # A ".." for each directory in $ac_dir_suffix. 29220 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 29221 case $ac_top_builddir_sub in 29222 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 29223 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 29224 esac ;; 29225esac 29226ac_abs_top_builddir=$ac_pwd 29227ac_abs_builddir=$ac_pwd$ac_dir_suffix 29228# for backward compatibility: 29229ac_top_builddir=$ac_top_build_prefix 29230 29231case $srcdir in 29232 .) # We are building in place. 29233 ac_srcdir=. 29234 ac_top_srcdir=$ac_top_builddir_sub 29235 ac_abs_top_srcdir=$ac_pwd ;; 29236 [\\/]* | ?:[\\/]* ) # Absolute name. 29237 ac_srcdir=$srcdir$ac_dir_suffix; 29238 ac_top_srcdir=$srcdir 29239 ac_abs_top_srcdir=$srcdir ;; 29240 *) # Relative name. 29241 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 29242 ac_top_srcdir=$ac_top_build_prefix$srcdir 29243 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 29244esac 29245ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 29246 29247 29248 cd "$ac_dir" 29249 29250 # Check for guested configure; otherwise get Cygnus style configure. 29251 if test -f "$ac_srcdir/configure.gnu"; then 29252 ac_sub_configure=$ac_srcdir/configure.gnu 29253 elif test -f "$ac_srcdir/configure"; then 29254 ac_sub_configure=$ac_srcdir/configure 29255 elif test -f "$ac_srcdir/configure.in"; then 29256 # This should be Cygnus configure. 29257 ac_sub_configure=$ac_aux_dir/configure 29258 else 29259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 29260$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 29261 ac_sub_configure= 29262 fi 29263 29264 # The recursion is here. 29265 if test -n "$ac_sub_configure"; then 29266 # Make the cache file name correct relative to the subdirectory. 29267 case $cache_file in 29268 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; 29269 *) # Relative name. 29270 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; 29271 esac 29272 29273 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 29274$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 29275 # The eval makes quoting arguments work. 29276 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 29277 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 29278 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 29279 fi 29280 29281 cd "$ac_popdir" 29282 done 29283fi 29284if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 29285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 29286$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 29287fi 29288 29289 29290{ $as_echo "$as_me:${as_lineno-$LINENO}: 29291 29292Configuration: 29293 29294 Source code location: ${srcdir} 29295 Compiler: ${CC} 29296 Compiler flags: ${CFLAGS} 29297 Assertions: ${enable_assert} 29298 Unit tests: ${tests_msg} 29299 File system: ${vfs_type} 29300 ${vfs_flags} 29301 Screen library: ${screen_msg} 29302 Mouse support: ${mouse_lib} 29303 X11 events support: ${textmode_x11_support} 29304 With subshell support: ${subshell} 29305 With background operations: ${enable_background} 29306 With ext2fs attributes support: ${ext2fs_attr_msg} 29307 Internal editor: ${edit_msg} 29308 Diff viewer: ${diff_msg} 29309 Support for charset: ${charset_msg} 29310 Search type: ${SEARCH_TYPE} 29311" >&5 29312$as_echo "$as_me: 29313 29314Configuration: 29315 29316 Source code location: ${srcdir} 29317 Compiler: ${CC} 29318 Compiler flags: ${CFLAGS} 29319 Assertions: ${enable_assert} 29320 Unit tests: ${tests_msg} 29321 File system: ${vfs_type} 29322 ${vfs_flags} 29323 Screen library: ${screen_msg} 29324 Mouse support: ${mouse_lib} 29325 X11 events support: ${textmode_x11_support} 29326 With subshell support: ${subshell} 29327 With background operations: ${enable_background} 29328 With ext2fs attributes support: ${ext2fs_attr_msg} 29329 Internal editor: ${edit_msg} 29330 Diff viewer: ${diff_msg} 29331 Support for charset: ${charset_msg} 29332 Search type: ${SEARCH_TYPE} 29333" >&6;} 29334 29335if test -n "$ac_unrecognized_opts"; then 29336 case $enable_option_checking in 29337 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" "$LINENO" 5 ;; 29338 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 29339$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} ;; 29340 esac 29341fi 29342