1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for rodent-fstab 5.3.16.3. 4# 5# Report bugs to <https://sourceforge.net/p/xffm/bugs/milestone/rodent-pkg/>. 6# 7# "Copyright (c) 2000-2014 Edscott Wilson Garcia. <edscott@users.sf.net>" 8# 9# 10# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 11# 12# 13# This configure script is free software; the Free Software Foundation 14# gives unlimited permission to copy, distribute and modify it. 15## -------------------- ## 16## M4sh Initialization. ## 17## -------------------- ## 18 19# Be more Bourne compatible 20DUALCASE=1; export DUALCASE # for MKS sh 21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 22 emulate sh 23 NULLCMD=: 24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25 # is contrary to our usage. Disable this feature. 26 alias -g '${1+"$@"}'='"$@"' 27 setopt NO_GLOB_SUBST 28else 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 34esac 35fi 36 37 38as_nl=' 39' 40export as_nl 41# Printing a long string crashes Solaris 7 /usr/bin/printf. 42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45# Prefer a ksh shell builtin over an external printf program on Solaris, 46# but without wasting forks for bash or zsh. 47if test -z "$BASH_VERSION$ZSH_VERSION" \ 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='print -r --' 50 as_echo_n='print -rn --' 51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52 as_echo='printf %s\n' 53 as_echo_n='printf %s' 54else 55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 57 as_echo_n='/usr/ucb/echo -n' 58 else 59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 60 as_echo_n_body='eval 61 arg=$1; 62 case $arg in #( 63 *"$as_nl"*) 64 expr "X$arg" : "X\\(.*\\)$as_nl"; 65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 66 esac; 67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 68 ' 69 export as_echo_n_body 70 as_echo_n='sh -c $as_echo_n_body as_echo' 71 fi 72 export as_echo_body 73 as_echo='sh -c $as_echo_body as_echo' 74fi 75 76# The user is always right. 77if test "${PATH_SEPARATOR+set}" != set; then 78 PATH_SEPARATOR=: 79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 81 PATH_SEPARATOR=';' 82 } 83fi 84 85 86# IFS 87# We need space, tab and new line, in precisely that order. Quoting is 88# there to prevent editors from complaining about space-tab. 89# (If _AS_PATH_WALK were called with IFS unset, it would disable word 90# splitting by setting IFS to empty value.) 91IFS=" "" $as_nl" 92 93# Find who we are. Look in the path if we contain no directory separator. 94as_myself= 95case $0 in #(( 96 *[\\/]* ) as_myself=$0 ;; 97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 98for as_dir in $PATH 99do 100 IFS=$as_save_IFS 101 test -z "$as_dir" && as_dir=. 102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 103 done 104IFS=$as_save_IFS 105 106 ;; 107esac 108# We did not find ourselves, most probably we were run as `sh COMMAND' 109# in which case we are not to be found in the path. 110if test "x$as_myself" = x; then 111 as_myself=$0 112fi 113if test ! -f "$as_myself"; then 114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 115 exit 1 116fi 117 118# Unset variables that we do not need and which cause bugs (e.g. in 119# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 120# suppresses any "Segmentation fault" message there. '((' could 121# trigger a bug in pdksh 5.2.14. 122for as_var in BASH_ENV ENV MAIL MAILPATH 123do eval test x\${$as_var+set} = xset \ 124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 125done 126PS1='$ ' 127PS2='> ' 128PS4='+ ' 129 130# NLS nuisances. 131LC_ALL=C 132export LC_ALL 133LANGUAGE=C 134export LANGUAGE 135 136# CDPATH. 137(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 138 139# Use a proper internal environment variable to ensure we don't fall 140 # into an infinite loop, continuously re-executing ourselves. 141 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 142 _as_can_reexec=no; export _as_can_reexec; 143 # We cannot yet assume a decent shell, so we have to provide a 144# neutralization value for shells without unset; and this also 145# works around shells that cannot unset nonexistent variables. 146# Preserve -v and -x to the replacement shell. 147BASH_ENV=/dev/null 148ENV=/dev/null 149(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 150case $- in # (((( 151 *v*x* | *x*v* ) as_opts=-vx ;; 152 *v* ) as_opts=-v ;; 153 *x* ) as_opts=-x ;; 154 * ) as_opts= ;; 155esac 156exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 157# Admittedly, this is quite paranoid, since all the known shells bail 158# out after a failed `exec'. 159$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 160as_fn_exit 255 161 fi 162 # We don't want this to propagate to other subprocesses. 163 { _as_can_reexec=; unset _as_can_reexec;} 164if test "x$CONFIG_SHELL" = x; then 165 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 166 emulate sh 167 NULLCMD=: 168 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 169 # is contrary to our usage. Disable this feature. 170 alias -g '\${1+\"\$@\"}'='\"\$@\"' 171 setopt NO_GLOB_SUBST 172else 173 case \`(set -o) 2>/dev/null\` in #( 174 *posix*) : 175 set -o posix ;; #( 176 *) : 177 ;; 178esac 179fi 180" 181 as_required="as_fn_return () { (exit \$1); } 182as_fn_success () { as_fn_return 0; } 183as_fn_failure () { as_fn_return 1; } 184as_fn_ret_success () { return 0; } 185as_fn_ret_failure () { return 1; } 186 187exitcode=0 188as_fn_success || { exitcode=1; echo as_fn_success failed.; } 189as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 190as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 191as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 192if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 193 194else 195 exitcode=1; echo positional parameters were not saved. 196fi 197test x\$exitcode = x0 || exit 1 198test -x / || exit 1" 199 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 200 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 201 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 202 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 203 204 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 205 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 207 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 208 PATH=/empty FPATH=/empty; export PATH FPATH 209 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 210 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 211test \$(( 1 + 1 )) = 2 || exit 1" 212 if (eval "$as_required") 2>/dev/null; then : 213 as_have_required=yes 214else 215 as_have_required=no 216fi 217 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 218 219else 220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 221as_found=false 222for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 223do 224 IFS=$as_save_IFS 225 test -z "$as_dir" && as_dir=. 226 as_found=: 227 case $as_dir in #( 228 /*) 229 for as_base in sh bash ksh sh5; do 230 # Try only shells that exist, to save several forks. 231 as_shell=$as_dir/$as_base 232 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 233 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 234 CONFIG_SHELL=$as_shell as_have_required=yes 235 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 236 break 2 237fi 238fi 239 done;; 240 esac 241 as_found=false 242done 243$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 244 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 245 CONFIG_SHELL=$SHELL as_have_required=yes 246fi; } 247IFS=$as_save_IFS 248 249 250 if test "x$CONFIG_SHELL" != x; then : 251 export CONFIG_SHELL 252 # We cannot yet assume a decent shell, so we have to provide a 253# neutralization value for shells without unset; and this also 254# works around shells that cannot unset nonexistent variables. 255# Preserve -v and -x to the replacement shell. 256BASH_ENV=/dev/null 257ENV=/dev/null 258(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 259case $- in # (((( 260 *v*x* | *x*v* ) as_opts=-vx ;; 261 *v* ) as_opts=-v ;; 262 *x* ) as_opts=-x ;; 263 * ) as_opts= ;; 264esac 265exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 266# Admittedly, this is quite paranoid, since all the known shells bail 267# out after a failed `exec'. 268$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 269exit 255 270fi 271 272 if test x$as_have_required = xno; then : 273 $as_echo "$0: This script requires a shell more modern than all" 274 $as_echo "$0: the shells that I found on your system." 275 if test x${ZSH_VERSION+set} = xset ; then 276 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 277 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 278 else 279 $as_echo "$0: Please tell bug-autoconf@gnu.org and https://sourceforge.net/p/xffm/bugs/milestone/rodent-pkg/ about 280$0: your system, including any error possibly output before 281$0: this message. Then install a modern shell, or manually 282$0: run the script under such a shell if you do have one." 283 fi 284 exit 1 285fi 286fi 287fi 288SHELL=${CONFIG_SHELL-/bin/sh} 289export SHELL 290# Unset more variables known to interfere with behavior of common tools. 291CLICOLOR_FORCE= GREP_OPTIONS= 292unset CLICOLOR_FORCE GREP_OPTIONS 293 294## --------------------- ## 295## M4sh Shell Functions. ## 296## --------------------- ## 297# as_fn_unset VAR 298# --------------- 299# Portably unset VAR. 300as_fn_unset () 301{ 302 { eval $1=; unset $1;} 303} 304as_unset=as_fn_unset 305 306# as_fn_set_status STATUS 307# ----------------------- 308# Set $? to STATUS, without forking. 309as_fn_set_status () 310{ 311 return $1 312} # as_fn_set_status 313 314# as_fn_exit STATUS 315# ----------------- 316# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 317as_fn_exit () 318{ 319 set +e 320 as_fn_set_status $1 321 exit $1 322} # as_fn_exit 323 324# as_fn_mkdir_p 325# ------------- 326# Create "$as_dir" as a directory, including parents if necessary. 327as_fn_mkdir_p () 328{ 329 330 case $as_dir in #( 331 -*) as_dir=./$as_dir;; 332 esac 333 test -d "$as_dir" || eval $as_mkdir_p || { 334 as_dirs= 335 while :; do 336 case $as_dir in #( 337 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 338 *) as_qdir=$as_dir;; 339 esac 340 as_dirs="'$as_qdir' $as_dirs" 341 as_dir=`$as_dirname -- "$as_dir" || 342$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 343 X"$as_dir" : 'X\(//\)[^/]' \| \ 344 X"$as_dir" : 'X\(//\)$' \| \ 345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 346$as_echo X"$as_dir" | 347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 348 s//\1/ 349 q 350 } 351 /^X\(\/\/\)[^/].*/{ 352 s//\1/ 353 q 354 } 355 /^X\(\/\/\)$/{ 356 s//\1/ 357 q 358 } 359 /^X\(\/\).*/{ 360 s//\1/ 361 q 362 } 363 s/.*/./; q'` 364 test -d "$as_dir" && break 365 done 366 test -z "$as_dirs" || eval "mkdir $as_dirs" 367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 368 369 370} # as_fn_mkdir_p 371 372# as_fn_executable_p FILE 373# ----------------------- 374# Test if FILE is an executable regular file. 375as_fn_executable_p () 376{ 377 test -f "$1" && test -x "$1" 378} # as_fn_executable_p 379# as_fn_append VAR VALUE 380# ---------------------- 381# Append the text in VALUE to the end of the definition contained in VAR. Take 382# advantage of any shell optimizations that allow amortized linear growth over 383# repeated appends, instead of the typical quadratic growth present in naive 384# implementations. 385if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 386 eval 'as_fn_append () 387 { 388 eval $1+=\$2 389 }' 390else 391 as_fn_append () 392 { 393 eval $1=\$$1\$2 394 } 395fi # as_fn_append 396 397# as_fn_arith ARG... 398# ------------------ 399# Perform arithmetic evaluation on the ARGs, and store the result in the 400# global $as_val. Take advantage of shells that can avoid forks. The arguments 401# must be portable across $(()) and expr. 402if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 403 eval 'as_fn_arith () 404 { 405 as_val=$(( $* )) 406 }' 407else 408 as_fn_arith () 409 { 410 as_val=`expr "$@" || test $? -eq 1` 411 } 412fi # as_fn_arith 413 414 415# as_fn_error STATUS ERROR [LINENO LOG_FD] 416# ---------------------------------------- 417# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 418# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 419# script with STATUS, using 1 if that was 0. 420as_fn_error () 421{ 422 as_status=$1; test $as_status -eq 0 && as_status=1 423 if test "$4"; then 424 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 426 fi 427 $as_echo "$as_me: error: $2" >&2 428 as_fn_exit $as_status 429} # as_fn_error 430 431if expr a : '\(a\)' >/dev/null 2>&1 && 432 test "X`expr 00001 : '.*\(...\)'`" = X001; then 433 as_expr=expr 434else 435 as_expr=false 436fi 437 438if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 439 as_basename=basename 440else 441 as_basename=false 442fi 443 444if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 445 as_dirname=dirname 446else 447 as_dirname=false 448fi 449 450as_me=`$as_basename -- "$0" || 451$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 452 X"$0" : 'X\(//\)$' \| \ 453 X"$0" : 'X\(/\)' \| . 2>/dev/null || 454$as_echo X/"$0" | 455 sed '/^.*\/\([^/][^/]*\)\/*$/{ 456 s//\1/ 457 q 458 } 459 /^X\/\(\/\/\)$/{ 460 s//\1/ 461 q 462 } 463 /^X\/\(\/\).*/{ 464 s//\1/ 465 q 466 } 467 s/.*/./; q'` 468 469# Avoid depending upon Character Ranges. 470as_cr_letters='abcdefghijklmnopqrstuvwxyz' 471as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 472as_cr_Letters=$as_cr_letters$as_cr_LETTERS 473as_cr_digits='0123456789' 474as_cr_alnum=$as_cr_Letters$as_cr_digits 475 476 477 as_lineno_1=$LINENO as_lineno_1a=$LINENO 478 as_lineno_2=$LINENO as_lineno_2a=$LINENO 479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 482 sed -n ' 483 p 484 /[$]LINENO/= 485 ' <$as_myself | 486 sed ' 487 s/[$]LINENO.*/&-/ 488 t lineno 489 b 490 :lineno 491 N 492 :loop 493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 494 t loop 495 s/-\n.*// 496 ' >$as_me.lineno && 497 chmod +x "$as_me.lineno" || 498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 499 500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 501 # already done that, so ensure we don't try to do so again and fall 502 # in an infinite loop. This has already happened in practice. 503 _as_can_reexec=no; export _as_can_reexec 504 # Don't try to exec as it changes $[0], causing all sort of problems 505 # (the dirname of $[0] is not the place where we might find the 506 # original and so on. Autoconf is especially sensitive to this). 507 . "./$as_me.lineno" 508 # Exit status is that of the last command. 509 exit 510} 511 512ECHO_C= ECHO_N= ECHO_T= 513case `echo -n x` in #((((( 514-n*) 515 case `echo 'xy\c'` in 516 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 517 xy) ECHO_C='\c';; 518 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 519 ECHO_T=' ';; 520 esac;; 521*) 522 ECHO_N='-n';; 523esac 524 525rm -f conf$$ conf$$.exe conf$$.file 526if test -d conf$$.dir; then 527 rm -f conf$$.dir/conf$$.file 528else 529 rm -f conf$$.dir 530 mkdir conf$$.dir 2>/dev/null 531fi 532if (echo >conf$$.file) 2>/dev/null; then 533 if ln -s conf$$.file conf$$ 2>/dev/null; then 534 as_ln_s='ln -s' 535 # ... but there are two gotchas: 536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 538 # In both cases, we have to default to `cp -pR'. 539 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 540 as_ln_s='cp -pR' 541 elif ln conf$$.file conf$$ 2>/dev/null; then 542 as_ln_s=ln 543 else 544 as_ln_s='cp -pR' 545 fi 546else 547 as_ln_s='cp -pR' 548fi 549rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 550rmdir conf$$.dir 2>/dev/null 551 552if mkdir -p . 2>/dev/null; then 553 as_mkdir_p='mkdir -p "$as_dir"' 554else 555 test -d ./-p && rmdir ./-p 556 as_mkdir_p=false 557fi 558 559as_test_x='test -x' 560as_executable_p=as_fn_executable_p 561 562# Sed expression to map a string onto a valid CPP name. 563as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 564 565# Sed expression to map a string onto a valid variable name. 566as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 567 568SHELL=${CONFIG_SHELL-/bin/sh} 569 570 571test -n "$DJDIR" || exec 7<&0 </dev/null 572exec 6>&1 573 574# Name of the host. 575# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 576# so uname gets run too. 577ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 578 579# 580# Initializations. 581# 582ac_default_prefix=/usr/local 583ac_clean_files= 584ac_config_libobj_dir=. 585LIBOBJS= 586cross_compiling=no 587subdirs= 588MFLAGS= 589MAKEFLAGS= 590 591# Identity of this package. 592PACKAGE_NAME='rodent-fstab' 593PACKAGE_TARNAME='rodent-fstab' 594PACKAGE_VERSION='5.3.16.3' 595PACKAGE_STRING='rodent-fstab 5.3.16.3' 596PACKAGE_BUGREPORT='https://sourceforge.net/p/xffm/bugs/milestone/rodent-pkg/' 597PACKAGE_URL='"http://xffm.org"' 598 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_subst_vars='am__EXEEXT_FALSE 636am__EXEEXT_TRUE 637LTLIBOBJS 638LIBOBJS 639LIBDIR 640HAVE_BSD_W_FALSE 641HAVE_BSD_W_TRUE 642HAVE_BSD_O_FALSE 643HAVE_BSD_O_TRUE 644HAVE_BSD_AUX_FALSE 645HAVE_BSD_AUX_TRUE 646HAVE_BSD_L_FALSE 647HAVE_BSD_L_TRUE 648HAVE_BSD_XF_FALSE 649HAVE_BSD_XF_TRUE 650HAVE_UNIX_W_FALSE 651HAVE_UNIX_W_TRUE 652HAVE_UNIX_O_FALSE 653HAVE_UNIX_O_TRUE 654HAVE_UNIX_EF_FALSE 655HAVE_UNIX_EF_TRUE 656HAVE_UNIX_LY_FALSE 657HAVE_UNIX_LY_TRUE 658HAVE_UNIX_JH_FALSE 659HAVE_UNIX_JH_TRUE 660HAVE_UNIX_O_RSS_FALSE 661HAVE_UNIX_O_RSS_TRUE 662ps 663XGETTEXT_ARGS 664MKINSTALLDIRS 665POSUB 666POFILES 667PO_IN_DATADIR_FALSE 668PO_IN_DATADIR_TRUE 669INTLLIBS 670INSTOBJEXT 671GMOFILES 672CATOBJEXT 673CATALOGS 674MSGFMT_OPTS 675GETTEXT_PACKAGE 676DEBUG_TRACE 677WITH_TRACE 678DEBUG 679WITH_DEBUG 680CORE 681WITH_CORE 682WANT_DEBIAN_FALSE 683WANT_DEBIAN_TRUE 684cv_dpkg 685WANT_GENTOO_FALSE 686WANT_GENTOO_TRUE 687cv_emerge 688DISTRO_X_VERSION 689DISTRO_X 690LIBRSVG_NAME 691WITH_GNU_GS 692GNU_SHRED 693WITH_GNU_SHRED 694GNU_RM 695WITH_GNU_RM 696GNU_LN 697WITH_GNU_LN 698GNU_MV 699WITH_GNU_MV 700GNU_CP 701WITH_GNU_CP 702GNU_LS 703WITH_GNU_LS 704GNU_GREP 705WITH_GNU_GREP 706ONLY_LINUX_FALSE 707ONLY_LINUX_TRUE 708WANT_FREEBSD_FALSE 709WANT_FREEBSD_TRUE 710UNAME_S 711gawk 712intltoolize 713PREFIX 714cv_pkgconfig 715HAVE_PTHREAD_TRYJOIN 716FILE_POINTER 717SIZEOF_FILE_POINTER 718FILE_OFFSET_BITS 719DATADIRNAME 720ALL_LINGUAS 721INTLTOOL_PERL 722GMSGFMT 723MSGFMT 724MSGMERGE 725XGETTEXT 726INTLTOOL_POLICY_RULE 727INTLTOOL_SERVICE_RULE 728INTLTOOL_THEME_RULE 729INTLTOOL_SCHEMAS_RULE 730INTLTOOL_CAVES_RULE 731INTLTOOL_XML_NOMERGE_RULE 732INTLTOOL_XML_RULE 733INTLTOOL_KBD_RULE 734INTLTOOL_XAM_RULE 735INTLTOOL_UI_RULE 736INTLTOOL_SOUNDLIST_RULE 737INTLTOOL_SHEET_RULE 738INTLTOOL_SERVER_RULE 739INTLTOOL_PONG_RULE 740INTLTOOL_OAF_RULE 741INTLTOOL_PROP_RULE 742INTLTOOL_KEYS_RULE 743INTLTOOL_DIRECTORY_RULE 744INTLTOOL_DESKTOP_RULE 745intltool__v_merge_options_0 746intltool__v_merge_options_ 747INTLTOOL_V_MERGE_OPTIONS 748INTLTOOL__v_MERGE_0 749INTLTOOL__v_MERGE_ 750INTLTOOL_V_MERGE 751INTLTOOL_EXTRACT 752INTLTOOL_MERGE 753INTLTOOL_UPDATE 754USE_NLS 755DBH_VERSION 756DBH_FILE_VERSION 757MASTER_SITE 758BUGMAIL 759LICENSE 760SRC_URI 761HOMEPAGE 762DESCRIPTION 763SUMMARY 764WITH_MPT 765MAINT 766MAINTAINER_MODE_FALSE 767MAINTAINER_MODE_TRUE 768RFM_VERINFO 769AM_BACKSLASH 770AM_DEFAULT_VERBOSITY 771am__fastdepCC_FALSE 772am__fastdepCC_TRUE 773CCDEPMODE 774am__nodep 775AMDEPBACKSLASH 776AMDEP_FALSE 777AMDEP_TRUE 778am__quote 779am__include 780DEPDIR 781am__untar 782am__tar 783AMTAR 784am__leading_dot 785SET_MAKE 786mkdir_p 787MKDIR_P 788INSTALL_STRIP_PROGRAM 789install_sh 790MAKEINFO 791AUTOHEADER 792AUTOMAKE 793AUTOCONF 794ACLOCAL 795VERSION 796PACKAGE 797CYGPATH_W 798am__isrc 799TCMALLOC 800RFM_MODULE_DIR 801RFM_PREFIX 802GTK_PREFIX 803GTK_VERSION 804LIBRFM_REQUIRED_VERSION 805LIBRFM_LIBS 806LIBRFM_CFLAGS 807LIBRFM_VERSION 808PKG_CONFIG 809PACKAGE_COPYRIGHT 810COPYRIGHT 811_GNU_SOURCE 812RPM_UDF_REQUIRES 813RPM_FDUPES_REQUIRES 814RPM_GROUP 815RPM_LICENSE 816RPM_COMMENT 817CPP 818LT_SYS_LIBRARY_PATH 819OTOOL64 820OTOOL 821LIPO 822NMEDIT 823DSYMUTIL 824MANIFEST_TOOL 825AWK 826RANLIB 827STRIP 828ac_ct_AR 829AR 830DLLTOOL 831OBJDUMP 832LN_S 833NM 834ac_ct_DUMPBIN 835DUMPBIN 836LD 837FGREP 838EGREP 839GREP 840SED 841OBJEXT 842EXEEXT 843ac_ct_CC 844CPPFLAGS 845LDFLAGS 846CFLAGS 847CC 848host_os 849host_vendor 850host_cpu 851host 852build_os 853build_vendor 854build_cpu 855build 856LIBTOOL 857INSTALL_DATA 858INSTALL_SCRIPT 859INSTALL_PROGRAM 860target_alias 861host_alias 862build_alias 863LIBS 864ECHO_T 865ECHO_N 866ECHO_C 867DEFS 868mandir 869localedir 870libdir 871psdir 872pdfdir 873dvidir 874htmldir 875infodir 876docdir 877oldincludedir 878includedir 879localstatedir 880sharedstatedir 881sysconfdir 882datadir 883datarootdir 884libexecdir 885sbindir 886bindir 887program_transform_name 888prefix 889exec_prefix 890PACKAGE_URL 891PACKAGE_BUGREPORT 892PACKAGE_STRING 893PACKAGE_VERSION 894PACKAGE_TARNAME 895PACKAGE_NAME 896PATH_SEPARATOR 897SHELL' 898ac_subst_files='' 899ac_user_opts=' 900enable_option_checking 901enable_static 902enable_shared 903with_pic 904enable_fast_install 905with_aix_soname 906with_gnu_ld 907with_sysroot 908enable_libtool_lock 909with_centos 910with_tcmalloc 911enable_dependency_tracking 912enable_silent_rules 913enable_maintainer_mode 914with_mpt 915enable_nls 916enable_largefile 917with_debug 918with_trace 919with_core 920with_locales_dir 921' 922 ac_precious_vars='build_alias 923host_alias 924target_alias 925CC 926CFLAGS 927LDFLAGS 928LIBS 929CPPFLAGS 930LT_SYS_LIBRARY_PATH 931CPP' 932 933 934# Initialize some variables set by options. 935ac_init_help= 936ac_init_version=false 937ac_unrecognized_opts= 938ac_unrecognized_sep= 939# The variables have the same names as the options, with 940# dashes changed to underlines. 941cache_file=/dev/null 942exec_prefix=NONE 943no_create= 944no_recursion= 945prefix=NONE 946program_prefix=NONE 947program_suffix=NONE 948program_transform_name=s,x,x, 949silent= 950site= 951srcdir= 952verbose= 953x_includes=NONE 954x_libraries=NONE 955 956# Installation directory options. 957# These are left unexpanded so users can "make install exec_prefix=/foo" 958# and all the variables that are supposed to be based on exec_prefix 959# by default will actually change. 960# Use braces instead of parens because sh, perl, etc. also accept them. 961# (The list follows the same order as the GNU Coding Standards.) 962bindir='${exec_prefix}/bin' 963sbindir='${exec_prefix}/sbin' 964libexecdir='${exec_prefix}/libexec' 965datarootdir='${prefix}/share' 966datadir='${datarootdir}' 967sysconfdir='${prefix}/etc' 968sharedstatedir='${prefix}/com' 969localstatedir='${prefix}/var' 970includedir='${prefix}/include' 971oldincludedir='/usr/include' 972docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 973infodir='${datarootdir}/info' 974htmldir='${docdir}' 975dvidir='${docdir}' 976pdfdir='${docdir}' 977psdir='${docdir}' 978libdir='${exec_prefix}/lib' 979localedir='${datarootdir}/locale' 980mandir='${datarootdir}/man' 981 982ac_prev= 983ac_dashdash= 984for ac_option 985do 986 # If the previous option needs an argument, assign it. 987 if test -n "$ac_prev"; then 988 eval $ac_prev=\$ac_option 989 ac_prev= 990 continue 991 fi 992 993 case $ac_option in 994 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 995 *=) ac_optarg= ;; 996 *) ac_optarg=yes ;; 997 esac 998 999 # Accept the important Cygnus configure options, so we can diagnose typos. 1000 1001 case $ac_dashdash$ac_option in 1002 --) 1003 ac_dashdash=yes ;; 1004 1005 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1006 ac_prev=bindir ;; 1007 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1008 bindir=$ac_optarg ;; 1009 1010 -build | --build | --buil | --bui | --bu) 1011 ac_prev=build_alias ;; 1012 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1013 build_alias=$ac_optarg ;; 1014 1015 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1016 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1017 ac_prev=cache_file ;; 1018 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1019 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1020 cache_file=$ac_optarg ;; 1021 1022 --config-cache | -C) 1023 cache_file=config.cache ;; 1024 1025 -datadir | --datadir | --datadi | --datad) 1026 ac_prev=datadir ;; 1027 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1028 datadir=$ac_optarg ;; 1029 1030 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1031 | --dataroo | --dataro | --datar) 1032 ac_prev=datarootdir ;; 1033 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1034 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1035 datarootdir=$ac_optarg ;; 1036 1037 -disable-* | --disable-*) 1038 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1039 # Reject names that are not valid shell variable names. 1040 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1041 as_fn_error $? "invalid feature name: $ac_useropt" 1042 ac_useropt_orig=$ac_useropt 1043 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1044 case $ac_user_opts in 1045 *" 1046"enable_$ac_useropt" 1047"*) ;; 1048 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1049 ac_unrecognized_sep=', ';; 1050 esac 1051 eval enable_$ac_useropt=no ;; 1052 1053 -docdir | --docdir | --docdi | --doc | --do) 1054 ac_prev=docdir ;; 1055 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1056 docdir=$ac_optarg ;; 1057 1058 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1059 ac_prev=dvidir ;; 1060 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1061 dvidir=$ac_optarg ;; 1062 1063 -enable-* | --enable-*) 1064 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1065 # Reject names that are not valid shell variable names. 1066 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1067 as_fn_error $? "invalid feature name: $ac_useropt" 1068 ac_useropt_orig=$ac_useropt 1069 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1070 case $ac_user_opts in 1071 *" 1072"enable_$ac_useropt" 1073"*) ;; 1074 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1075 ac_unrecognized_sep=', ';; 1076 esac 1077 eval enable_$ac_useropt=\$ac_optarg ;; 1078 1079 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1080 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1081 | --exec | --exe | --ex) 1082 ac_prev=exec_prefix ;; 1083 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1084 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1085 | --exec=* | --exe=* | --ex=*) 1086 exec_prefix=$ac_optarg ;; 1087 1088 -gas | --gas | --ga | --g) 1089 # Obsolete; use --with-gas. 1090 with_gas=yes ;; 1091 1092 -help | --help | --hel | --he | -h) 1093 ac_init_help=long ;; 1094 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1095 ac_init_help=recursive ;; 1096 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1097 ac_init_help=short ;; 1098 1099 -host | --host | --hos | --ho) 1100 ac_prev=host_alias ;; 1101 -host=* | --host=* | --hos=* | --ho=*) 1102 host_alias=$ac_optarg ;; 1103 1104 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1105 ac_prev=htmldir ;; 1106 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1107 | --ht=*) 1108 htmldir=$ac_optarg ;; 1109 1110 -includedir | --includedir | --includedi | --included | --include \ 1111 | --includ | --inclu | --incl | --inc) 1112 ac_prev=includedir ;; 1113 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1114 | --includ=* | --inclu=* | --incl=* | --inc=*) 1115 includedir=$ac_optarg ;; 1116 1117 -infodir | --infodir | --infodi | --infod | --info | --inf) 1118 ac_prev=infodir ;; 1119 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1120 infodir=$ac_optarg ;; 1121 1122 -libdir | --libdir | --libdi | --libd) 1123 ac_prev=libdir ;; 1124 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1125 libdir=$ac_optarg ;; 1126 1127 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1128 | --libexe | --libex | --libe) 1129 ac_prev=libexecdir ;; 1130 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1131 | --libexe=* | --libex=* | --libe=*) 1132 libexecdir=$ac_optarg ;; 1133 1134 -localedir | --localedir | --localedi | --localed | --locale) 1135 ac_prev=localedir ;; 1136 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1137 localedir=$ac_optarg ;; 1138 1139 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1140 | --localstate | --localstat | --localsta | --localst | --locals) 1141 ac_prev=localstatedir ;; 1142 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1143 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1144 localstatedir=$ac_optarg ;; 1145 1146 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1147 ac_prev=mandir ;; 1148 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1149 mandir=$ac_optarg ;; 1150 1151 -nfp | --nfp | --nf) 1152 # Obsolete; use --without-fp. 1153 with_fp=no ;; 1154 1155 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1156 | --no-cr | --no-c | -n) 1157 no_create=yes ;; 1158 1159 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1160 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1161 no_recursion=yes ;; 1162 1163 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1164 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1165 | --oldin | --oldi | --old | --ol | --o) 1166 ac_prev=oldincludedir ;; 1167 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1168 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1169 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1170 oldincludedir=$ac_optarg ;; 1171 1172 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1173 ac_prev=prefix ;; 1174 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1175 prefix=$ac_optarg ;; 1176 1177 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1178 | --program-pre | --program-pr | --program-p) 1179 ac_prev=program_prefix ;; 1180 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1181 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1182 program_prefix=$ac_optarg ;; 1183 1184 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1185 | --program-suf | --program-su | --program-s) 1186 ac_prev=program_suffix ;; 1187 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1188 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1189 program_suffix=$ac_optarg ;; 1190 1191 -program-transform-name | --program-transform-name \ 1192 | --program-transform-nam | --program-transform-na \ 1193 | --program-transform-n | --program-transform- \ 1194 | --program-transform | --program-transfor \ 1195 | --program-transfo | --program-transf \ 1196 | --program-trans | --program-tran \ 1197 | --progr-tra | --program-tr | --program-t) 1198 ac_prev=program_transform_name ;; 1199 -program-transform-name=* | --program-transform-name=* \ 1200 | --program-transform-nam=* | --program-transform-na=* \ 1201 | --program-transform-n=* | --program-transform-=* \ 1202 | --program-transform=* | --program-transfor=* \ 1203 | --program-transfo=* | --program-transf=* \ 1204 | --program-trans=* | --program-tran=* \ 1205 | --progr-tra=* | --program-tr=* | --program-t=*) 1206 program_transform_name=$ac_optarg ;; 1207 1208 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1209 ac_prev=pdfdir ;; 1210 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1211 pdfdir=$ac_optarg ;; 1212 1213 -psdir | --psdir | --psdi | --psd | --ps) 1214 ac_prev=psdir ;; 1215 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1216 psdir=$ac_optarg ;; 1217 1218 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1219 | -silent | --silent | --silen | --sile | --sil) 1220 silent=yes ;; 1221 1222 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1223 ac_prev=sbindir ;; 1224 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1225 | --sbi=* | --sb=*) 1226 sbindir=$ac_optarg ;; 1227 1228 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1229 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1230 | --sharedst | --shareds | --shared | --share | --shar \ 1231 | --sha | --sh) 1232 ac_prev=sharedstatedir ;; 1233 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1234 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1235 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1236 | --sha=* | --sh=*) 1237 sharedstatedir=$ac_optarg ;; 1238 1239 -site | --site | --sit) 1240 ac_prev=site ;; 1241 -site=* | --site=* | --sit=*) 1242 site=$ac_optarg ;; 1243 1244 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1245 ac_prev=srcdir ;; 1246 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1247 srcdir=$ac_optarg ;; 1248 1249 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1250 | --syscon | --sysco | --sysc | --sys | --sy) 1251 ac_prev=sysconfdir ;; 1252 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1253 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1254 sysconfdir=$ac_optarg ;; 1255 1256 -target | --target | --targe | --targ | --tar | --ta | --t) 1257 ac_prev=target_alias ;; 1258 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1259 target_alias=$ac_optarg ;; 1260 1261 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1262 verbose=yes ;; 1263 1264 -version | --version | --versio | --versi | --5.3.16.3 | -V) 1265 ac_init_version=: ;; 1266 1267 -with-* | --with-*) 1268 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1269 # Reject names that are not valid shell variable names. 1270 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1271 as_fn_error $? "invalid rodent-fstab name: $ac_useropt" 1272 ac_useropt_orig=$ac_useropt 1273 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1274 case $ac_user_opts in 1275 *" 1276"with_$ac_useropt" 1277"*) ;; 1278 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1279 ac_unrecognized_sep=', ';; 1280 esac 1281 eval with_$ac_useropt=\$ac_optarg ;; 1282 1283 -without-* | --without-*) 1284 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1285 # Reject names that are not valid shell variable names. 1286 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1287 as_fn_error $? "invalid rodent-fstab name: $ac_useropt" 1288 ac_useropt_orig=$ac_useropt 1289 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1290 case $ac_user_opts in 1291 *" 1292"with_$ac_useropt" 1293"*) ;; 1294 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1295 ac_unrecognized_sep=', ';; 1296 esac 1297 eval with_$ac_useropt=no ;; 1298 1299 --x) 1300 # Obsolete; use --with-x. 1301 with_x=yes ;; 1302 1303 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1304 | --x-incl | --x-inc | --x-in | --x-i) 1305 ac_prev=x_includes ;; 1306 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1307 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1308 x_includes=$ac_optarg ;; 1309 1310 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1311 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1312 ac_prev=x_libraries ;; 1313 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1314 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1315 x_libraries=$ac_optarg ;; 1316 1317 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1318Try \`$0 --help' for more information" 1319 ;; 1320 1321 *=*) 1322 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1323 # Reject names that are not valid shell variable names. 1324 case $ac_envvar in #( 1325 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1326 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1327 esac 1328 eval $ac_envvar=\$ac_optarg 1329 export $ac_envvar ;; 1330 1331 *) 1332 # FIXME: should be removed in autoconf 3.0. 1333 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1334 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1335 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1336 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1337 ;; 1338 1339 esac 1340done 1341 1342if test -n "$ac_prev"; then 1343 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1344 as_fn_error $? "missing argument to $ac_option" 1345fi 1346 1347if test -n "$ac_unrecognized_opts"; then 1348 case $enable_option_checking in 1349 no) ;; 1350 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1351 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1352 esac 1353fi 1354 1355# Check all directory arguments for consistency. 1356for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1357 datadir sysconfdir sharedstatedir localstatedir includedir \ 1358 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1359 libdir localedir mandir 1360do 1361 eval ac_val=\$$ac_var 1362 # Remove trailing slashes. 1363 case $ac_val in 1364 */ ) 1365 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1366 eval $ac_var=\$ac_val;; 1367 esac 1368 # Be sure to have absolute directory names. 1369 case $ac_val in 1370 [\\/$]* | ?:[\\/]* ) continue;; 1371 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1372 esac 1373 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1374done 1375 1376# There might be people who depend on the old broken behavior: `$host' 1377# used to hold the argument of --host etc. 1378# FIXME: To remove some day. 1379build=$build_alias 1380host=$host_alias 1381target=$target_alias 1382 1383# FIXME: To remove some day. 1384if test "x$host_alias" != x; then 1385 if test "x$build_alias" = x; then 1386 cross_compiling=maybe 1387 elif test "x$build_alias" != "x$host_alias"; then 1388 cross_compiling=yes 1389 fi 1390fi 1391 1392ac_tool_prefix= 1393test -n "$host_alias" && ac_tool_prefix=$host_alias- 1394 1395test "$silent" = yes && exec 6>/dev/null 1396 1397 1398ac_pwd=`pwd` && test -n "$ac_pwd" && 1399ac_ls_di=`ls -di .` && 1400ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1401 as_fn_error $? "working directory cannot be determined" 1402test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1403 as_fn_error $? "pwd does not report name of working directory" 1404 1405 1406# Find the source files, if location was not specified. 1407if test -z "$srcdir"; then 1408 ac_srcdir_defaulted=yes 1409 # Try the directory containing this script, then the parent directory. 1410 ac_confdir=`$as_dirname -- "$as_myself" || 1411$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1412 X"$as_myself" : 'X\(//\)[^/]' \| \ 1413 X"$as_myself" : 'X\(//\)$' \| \ 1414 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1415$as_echo X"$as_myself" | 1416 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1417 s//\1/ 1418 q 1419 } 1420 /^X\(\/\/\)[^/].*/{ 1421 s//\1/ 1422 q 1423 } 1424 /^X\(\/\/\)$/{ 1425 s//\1/ 1426 q 1427 } 1428 /^X\(\/\).*/{ 1429 s//\1/ 1430 q 1431 } 1432 s/.*/./; q'` 1433 srcdir=$ac_confdir 1434 if test ! -r "$srcdir/$ac_unique_file"; then 1435 srcdir=.. 1436 fi 1437else 1438 ac_srcdir_defaulted=no 1439fi 1440if test ! -r "$srcdir/$ac_unique_file"; then 1441 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1442 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1443fi 1444ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1445ac_abs_confdir=`( 1446 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1447 pwd)` 1448# When building in place, set srcdir=. 1449if test "$ac_abs_confdir" = "$ac_pwd"; then 1450 srcdir=. 1451fi 1452# Remove unnecessary trailing slashes from srcdir. 1453# Double slashes in file names in object file debugging info 1454# mess up M-x gdb in Emacs. 1455case $srcdir in 1456*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1457esac 1458for ac_var in $ac_precious_vars; do 1459 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1460 eval ac_env_${ac_var}_value=\$${ac_var} 1461 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1462 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1463done 1464 1465# 1466# Report the --help message. 1467# 1468if test "$ac_init_help" = "long"; then 1469 # Omit some internal or obsolete options to make the list less imposing. 1470 # This message is too long to be a string in the A/UX 3.1 sh. 1471 cat <<_ACEOF 1472\`configure' configures rodent-fstab 5.3.16.3 to adapt to many kinds of systems. 1473 1474Usage: $0 [OPTION]... [VAR=VALUE]... 1475 1476To assign environment variables (e.g., CC, CFLAGS...), specify them as 1477VAR=VALUE. See below for descriptions of some of the useful variables. 1478 1479Defaults for the options are specified in brackets. 1480 1481Configuration: 1482 -h, --help display this help and exit 1483 --help=short display options specific to this package 1484 --help=recursive display the short help of all the included packages 1485 -V, --version display version information and exit 1486 -q, --quiet, --silent do not print \`checking ...' messages 1487 --cache-file=FILE cache test results in FILE [disabled] 1488 -C, --config-cache alias for \`--cache-file=config.cache' 1489 -n, --no-create do not create output files 1490 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1491 1492Installation directories: 1493 --prefix=PREFIX install architecture-independent files in PREFIX 1494 [$ac_default_prefix] 1495 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1496 [PREFIX] 1497 1498By default, \`make install' will install all the files in 1499\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1500an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1501for instance \`--prefix=\$HOME'. 1502 1503For better control, use the options below. 1504 1505Fine tuning of the installation directories: 1506 --bindir=DIR user executables [EPREFIX/bin] 1507 --sbindir=DIR system admin executables [EPREFIX/sbin] 1508 --libexecdir=DIR program executables [EPREFIX/libexec] 1509 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1510 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1511 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1512 --libdir=DIR object code libraries [EPREFIX/lib] 1513 --includedir=DIR C header files [PREFIX/include] 1514 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1515 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1516 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1517 --infodir=DIR info documentation [DATAROOTDIR/info] 1518 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1519 --mandir=DIR man documentation [DATAROOTDIR/man] 1520 --docdir=DIR documentation root [DATAROOTDIR/doc/rodent-fstab] 1521 --htmldir=DIR html documentation [DOCDIR] 1522 --dvidir=DIR dvi documentation [DOCDIR] 1523 --pdfdir=DIR pdf documentation [DOCDIR] 1524 --psdir=DIR ps documentation [DOCDIR] 1525_ACEOF 1526 1527 cat <<\_ACEOF 1528 1529Program names: 1530 --program-prefix=PREFIX prepend PREFIX to installed program names 1531 --program-suffix=SUFFIX append SUFFIX to installed program names 1532 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1533 1534System types: 1535 --build=BUILD configure for building on BUILD [guessed] 1536 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1537_ACEOF 1538fi 1539 1540if test -n "$ac_init_help"; then 1541 case $ac_init_help in 1542 short | recursive ) echo "Configuration of rodent-fstab 5.3.16.3:";; 1543 esac 1544 cat <<\_ACEOF 1545 1546Optional Features: 1547 --disable-option-checking ignore unrecognized --enable/--with options 1548 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1549 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1550 --enable-static[=PKGS] build static libraries [default=no] 1551 --enable-shared[=PKGS] build shared libraries [default=yes] 1552 --enable-fast-install[=PKGS] 1553 optimize for fast installation [default=yes] 1554 --disable-libtool-lock avoid locking (might break parallel builds) 1555 --enable-dependency-tracking 1556 do not reject slow dependency extractors 1557 --disable-dependency-tracking 1558 speeds up one-time build 1559 --enable-silent-rules less verbose build output (undo: `make V=1') 1560 --disable-silent-rules verbose build output (undo: `make V=0') 1561 --enable-maintainer-mode 1562 enable make rules and dependencies not useful (and 1563 sometimes confusing) to the casual installer 1564 --disable-nls do not use Native Language Support 1565 --disable-largefile omit support for large files 1566 1567Optional Packages: 1568 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1569 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1570 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1571 both] 1572 --with-aix-soname=aix|svr4|both 1573 shared library versioning (aka "SONAME") variant to 1574 provide on AIX, [default=aix]. 1575 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1576 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1577 compiler's sysroot if not specified). 1578 --with-centos Create CentOS spec file instead of the default 1579 OpenSUSE spec file (packagers only) 1580 --with-tcmalloc enable tcmalloc (developers only) 1581 --with-mpt max preview threads (default=4) 1582 --with-debug Enable debug 1583 --with-trace Enable trace 1584 --with-core Enable core dumps 1585 --with-locales-dir=DIR Install locales into DIR 1586 1587Some influential environment variables: 1588 CC C compiler command 1589 CFLAGS C compiler flags 1590 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1591 nonstandard directory <lib dir> 1592 LIBS libraries to pass to the linker, e.g. -l<library> 1593 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1594 you have headers in a nonstandard directory <include dir> 1595 LT_SYS_LIBRARY_PATH 1596 User-defined run-time library search path. 1597 CPP C preprocessor 1598 1599Use these variables to override the choices made by `configure' or to help 1600it to find libraries and programs with nonstandard names/locations. 1601 1602Report bugs to <https://sourceforge.net/p/xffm/bugs/milestone/rodent-pkg/>. 1603rodent-fstab home page: <"http://xffm.org">. 1604_ACEOF 1605ac_status=$? 1606fi 1607 1608if test "$ac_init_help" = "recursive"; then 1609 # If there are subdirs, report their specific --help. 1610 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1611 test -d "$ac_dir" || 1612 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1613 continue 1614 ac_builddir=. 1615 1616case "$ac_dir" in 1617.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1618*) 1619 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1620 # A ".." for each directory in $ac_dir_suffix. 1621 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1622 case $ac_top_builddir_sub in 1623 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1624 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1625 esac ;; 1626esac 1627ac_abs_top_builddir=$ac_pwd 1628ac_abs_builddir=$ac_pwd$ac_dir_suffix 1629# for backward compatibility: 1630ac_top_builddir=$ac_top_build_prefix 1631 1632case $srcdir in 1633 .) # We are building in place. 1634 ac_srcdir=. 1635 ac_top_srcdir=$ac_top_builddir_sub 1636 ac_abs_top_srcdir=$ac_pwd ;; 1637 [\\/]* | ?:[\\/]* ) # Absolute name. 1638 ac_srcdir=$srcdir$ac_dir_suffix; 1639 ac_top_srcdir=$srcdir 1640 ac_abs_top_srcdir=$srcdir ;; 1641 *) # Relative name. 1642 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1643 ac_top_srcdir=$ac_top_build_prefix$srcdir 1644 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1645esac 1646ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1647 1648 cd "$ac_dir" || { ac_status=$?; continue; } 1649 # Check for guested configure. 1650 if test -f "$ac_srcdir/configure.gnu"; then 1651 echo && 1652 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1653 elif test -f "$ac_srcdir/configure"; then 1654 echo && 1655 $SHELL "$ac_srcdir/configure" --help=recursive 1656 else 1657 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1658 fi || ac_status=$? 1659 cd "$ac_pwd" || { ac_status=$?; break; } 1660 done 1661fi 1662 1663test -n "$ac_init_help" && exit $ac_status 1664if $ac_init_version; then 1665 cat <<\_ACEOF 1666rodent-fstab configure 5.3.16.3 1667generated by GNU Autoconf 2.69 1668 1669Copyright (C) 2012 Free Software Foundation, Inc. 1670This configure script is free software; the Free Software Foundation 1671gives unlimited permission to copy, distribute and modify it. 1672 1673"Copyright (c) 2000-2014 Edscott Wilson Garcia. <edscott@users.sf.net>" 1674_ACEOF 1675 exit 1676fi 1677 1678## ------------------------ ## 1679## Autoconf initialization. ## 1680## ------------------------ ## 1681 1682# ac_fn_c_try_compile LINENO 1683# -------------------------- 1684# Try to compile conftest.$ac_ext, and return whether this succeeded. 1685ac_fn_c_try_compile () 1686{ 1687 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1688 rm -f conftest.$ac_objext 1689 if { { ac_try="$ac_compile" 1690case "(($ac_try" in 1691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1692 *) ac_try_echo=$ac_try;; 1693esac 1694eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1695$as_echo "$ac_try_echo"; } >&5 1696 (eval "$ac_compile") 2>conftest.err 1697 ac_status=$? 1698 if test -s conftest.err; then 1699 grep -v '^ *+' conftest.err >conftest.er1 1700 cat conftest.er1 >&5 1701 mv -f conftest.er1 conftest.err 1702 fi 1703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1704 test $ac_status = 0; } && { 1705 test -z "$ac_c_werror_flag" || 1706 test ! -s conftest.err 1707 } && test -s conftest.$ac_objext; then : 1708 ac_retval=0 1709else 1710 $as_echo "$as_me: failed program was:" >&5 1711sed 's/^/| /' conftest.$ac_ext >&5 1712 1713 ac_retval=1 1714fi 1715 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1716 as_fn_set_status $ac_retval 1717 1718} # ac_fn_c_try_compile 1719 1720# ac_fn_c_try_link LINENO 1721# ----------------------- 1722# Try to link conftest.$ac_ext, and return whether this succeeded. 1723ac_fn_c_try_link () 1724{ 1725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1726 rm -f conftest.$ac_objext conftest$ac_exeext 1727 if { { ac_try="$ac_link" 1728case "(($ac_try" in 1729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1730 *) ac_try_echo=$ac_try;; 1731esac 1732eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1733$as_echo "$ac_try_echo"; } >&5 1734 (eval "$ac_link") 2>conftest.err 1735 ac_status=$? 1736 if test -s conftest.err; then 1737 grep -v '^ *+' conftest.err >conftest.er1 1738 cat conftest.er1 >&5 1739 mv -f conftest.er1 conftest.err 1740 fi 1741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1742 test $ac_status = 0; } && { 1743 test -z "$ac_c_werror_flag" || 1744 test ! -s conftest.err 1745 } && test -s conftest$ac_exeext && { 1746 test "$cross_compiling" = yes || 1747 test -x conftest$ac_exeext 1748 }; then : 1749 ac_retval=0 1750else 1751 $as_echo "$as_me: failed program was:" >&5 1752sed 's/^/| /' conftest.$ac_ext >&5 1753 1754 ac_retval=1 1755fi 1756 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1757 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1758 # interfere with the next link command; also delete a directory that is 1759 # left behind by Apple's compiler. We do this before executing the actions. 1760 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1761 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1762 as_fn_set_status $ac_retval 1763 1764} # ac_fn_c_try_link 1765 1766# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1767# ------------------------------------------------------- 1768# Tests whether HEADER exists and can be compiled using the include files in 1769# INCLUDES, setting the cache variable VAR accordingly. 1770ac_fn_c_check_header_compile () 1771{ 1772 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1774$as_echo_n "checking for $2... " >&6; } 1775if eval \${$3+:} false; then : 1776 $as_echo_n "(cached) " >&6 1777else 1778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1779/* end confdefs.h. */ 1780$4 1781#include <$2> 1782_ACEOF 1783if ac_fn_c_try_compile "$LINENO"; then : 1784 eval "$3=yes" 1785else 1786 eval "$3=no" 1787fi 1788rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1789fi 1790eval ac_res=\$$3 1791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1792$as_echo "$ac_res" >&6; } 1793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1794 1795} # ac_fn_c_check_header_compile 1796 1797# ac_fn_c_try_cpp LINENO 1798# ---------------------- 1799# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1800ac_fn_c_try_cpp () 1801{ 1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1803 if { { ac_try="$ac_cpp conftest.$ac_ext" 1804case "(($ac_try" in 1805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1806 *) ac_try_echo=$ac_try;; 1807esac 1808eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1809$as_echo "$ac_try_echo"; } >&5 1810 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1811 ac_status=$? 1812 if test -s conftest.err; then 1813 grep -v '^ *+' conftest.err >conftest.er1 1814 cat conftest.er1 >&5 1815 mv -f conftest.er1 conftest.err 1816 fi 1817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1818 test $ac_status = 0; } > conftest.i && { 1819 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1820 test ! -s conftest.err 1821 }; then : 1822 ac_retval=0 1823else 1824 $as_echo "$as_me: failed program was:" >&5 1825sed 's/^/| /' conftest.$ac_ext >&5 1826 1827 ac_retval=1 1828fi 1829 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1830 as_fn_set_status $ac_retval 1831 1832} # ac_fn_c_try_cpp 1833 1834# ac_fn_c_try_run LINENO 1835# ---------------------- 1836# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1837# that executables *can* be run. 1838ac_fn_c_try_run () 1839{ 1840 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1841 if { { ac_try="$ac_link" 1842case "(($ac_try" in 1843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1844 *) ac_try_echo=$ac_try;; 1845esac 1846eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1847$as_echo "$ac_try_echo"; } >&5 1848 (eval "$ac_link") 2>&5 1849 ac_status=$? 1850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1851 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1852 { { case "(($ac_try" in 1853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1854 *) ac_try_echo=$ac_try;; 1855esac 1856eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1857$as_echo "$ac_try_echo"; } >&5 1858 (eval "$ac_try") 2>&5 1859 ac_status=$? 1860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1861 test $ac_status = 0; }; }; then : 1862 ac_retval=0 1863else 1864 $as_echo "$as_me: program exited with status $ac_status" >&5 1865 $as_echo "$as_me: failed program was:" >&5 1866sed 's/^/| /' conftest.$ac_ext >&5 1867 1868 ac_retval=$ac_status 1869fi 1870 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1871 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1872 as_fn_set_status $ac_retval 1873 1874} # ac_fn_c_try_run 1875 1876# ac_fn_c_check_func LINENO FUNC VAR 1877# ---------------------------------- 1878# Tests whether FUNC exists, setting the cache variable VAR accordingly 1879ac_fn_c_check_func () 1880{ 1881 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1883$as_echo_n "checking for $2... " >&6; } 1884if eval \${$3+:} false; then : 1885 $as_echo_n "(cached) " >&6 1886else 1887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1888/* end confdefs.h. */ 1889/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1890 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1891#define $2 innocuous_$2 1892 1893/* System header to define __stub macros and hopefully few prototypes, 1894 which can conflict with char $2 (); below. 1895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1896 <limits.h> exists even on freestanding compilers. */ 1897 1898#ifdef __STDC__ 1899# include <limits.h> 1900#else 1901# include <assert.h> 1902#endif 1903 1904#undef $2 1905 1906/* Override any GCC internal prototype to avoid an error. 1907 Use char because int might match the return type of a GCC 1908 builtin and then its argument prototype would still apply. */ 1909#ifdef __cplusplus 1910extern "C" 1911#endif 1912char $2 (); 1913/* The GNU C library defines this for functions which it implements 1914 to always fail with ENOSYS. Some functions are actually named 1915 something starting with __ and the normal name is an alias. */ 1916#if defined __stub_$2 || defined __stub___$2 1917choke me 1918#endif 1919 1920int 1921main () 1922{ 1923return $2 (); 1924 ; 1925 return 0; 1926} 1927_ACEOF 1928if ac_fn_c_try_link "$LINENO"; then : 1929 eval "$3=yes" 1930else 1931 eval "$3=no" 1932fi 1933rm -f core conftest.err conftest.$ac_objext \ 1934 conftest$ac_exeext conftest.$ac_ext 1935fi 1936eval ac_res=\$$3 1937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1938$as_echo "$ac_res" >&6; } 1939 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1940 1941} # ac_fn_c_check_func 1942 1943# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 1944# -------------------------------------------- 1945# Tries to find the compile-time value of EXPR in a program that includes 1946# INCLUDES, setting VAR accordingly. Returns whether the value could be 1947# computed 1948ac_fn_c_compute_int () 1949{ 1950 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1951 if test "$cross_compiling" = yes; then 1952 # Depending upon the size, compute the lo and hi bounds. 1953cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1954/* end confdefs.h. */ 1955$4 1956int 1957main () 1958{ 1959static int test_array [1 - 2 * !(($2) >= 0)]; 1960test_array [0] = 0; 1961return test_array [0]; 1962 1963 ; 1964 return 0; 1965} 1966_ACEOF 1967if ac_fn_c_try_compile "$LINENO"; then : 1968 ac_lo=0 ac_mid=0 1969 while :; do 1970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1971/* end confdefs.h. */ 1972$4 1973int 1974main () 1975{ 1976static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1977test_array [0] = 0; 1978return test_array [0]; 1979 1980 ; 1981 return 0; 1982} 1983_ACEOF 1984if ac_fn_c_try_compile "$LINENO"; then : 1985 ac_hi=$ac_mid; break 1986else 1987 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 1988 if test $ac_lo -le $ac_mid; then 1989 ac_lo= ac_hi= 1990 break 1991 fi 1992 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 1993fi 1994rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1995 done 1996else 1997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1998/* end confdefs.h. */ 1999$4 2000int 2001main () 2002{ 2003static int test_array [1 - 2 * !(($2) < 0)]; 2004test_array [0] = 0; 2005return test_array [0]; 2006 2007 ; 2008 return 0; 2009} 2010_ACEOF 2011if ac_fn_c_try_compile "$LINENO"; then : 2012 ac_hi=-1 ac_mid=-1 2013 while :; do 2014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2015/* end confdefs.h. */ 2016$4 2017int 2018main () 2019{ 2020static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2021test_array [0] = 0; 2022return test_array [0]; 2023 2024 ; 2025 return 0; 2026} 2027_ACEOF 2028if ac_fn_c_try_compile "$LINENO"; then : 2029 ac_lo=$ac_mid; break 2030else 2031 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2032 if test $ac_mid -le $ac_hi; then 2033 ac_lo= ac_hi= 2034 break 2035 fi 2036 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2037fi 2038rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2039 done 2040else 2041 ac_lo= ac_hi= 2042fi 2043rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2044fi 2045rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2046# Binary search between lo and hi bounds. 2047while test "x$ac_lo" != "x$ac_hi"; do 2048 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2050/* end confdefs.h. */ 2051$4 2052int 2053main () 2054{ 2055static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2056test_array [0] = 0; 2057return test_array [0]; 2058 2059 ; 2060 return 0; 2061} 2062_ACEOF 2063if ac_fn_c_try_compile "$LINENO"; then : 2064 ac_hi=$ac_mid 2065else 2066 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2067fi 2068rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2069done 2070case $ac_lo in #(( 2071?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2072'') ac_retval=1 ;; 2073esac 2074 else 2075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2076/* end confdefs.h. */ 2077$4 2078static long int longval () { return $2; } 2079static unsigned long int ulongval () { return $2; } 2080#include <stdio.h> 2081#include <stdlib.h> 2082int 2083main () 2084{ 2085 2086 FILE *f = fopen ("conftest.val", "w"); 2087 if (! f) 2088 return 1; 2089 if (($2) < 0) 2090 { 2091 long int i = longval (); 2092 if (i != ($2)) 2093 return 1; 2094 fprintf (f, "%ld", i); 2095 } 2096 else 2097 { 2098 unsigned long int i = ulongval (); 2099 if (i != ($2)) 2100 return 1; 2101 fprintf (f, "%lu", i); 2102 } 2103 /* Do not output a trailing newline, as this causes \r\n confusion 2104 on some platforms. */ 2105 return ferror (f) || fclose (f) != 0; 2106 2107 ; 2108 return 0; 2109} 2110_ACEOF 2111if ac_fn_c_try_run "$LINENO"; then : 2112 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2113else 2114 ac_retval=1 2115fi 2116rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2117 conftest.$ac_objext conftest.beam conftest.$ac_ext 2118rm -f conftest.val 2119 2120 fi 2121 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2122 as_fn_set_status $ac_retval 2123 2124} # ac_fn_c_compute_int 2125 2126# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2127# ------------------------------------------------------- 2128# Tests whether HEADER exists, giving a warning if it cannot be compiled using 2129# the include files in INCLUDES and setting the cache variable VAR 2130# accordingly. 2131ac_fn_c_check_header_mongrel () 2132{ 2133 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2134 if eval \${$3+:} false; then : 2135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2136$as_echo_n "checking for $2... " >&6; } 2137if eval \${$3+:} false; then : 2138 $as_echo_n "(cached) " >&6 2139fi 2140eval ac_res=\$$3 2141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2142$as_echo "$ac_res" >&6; } 2143else 2144 # Is the header compilable? 2145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2146$as_echo_n "checking $2 usability... " >&6; } 2147cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2148/* end confdefs.h. */ 2149$4 2150#include <$2> 2151_ACEOF 2152if ac_fn_c_try_compile "$LINENO"; then : 2153 ac_header_compiler=yes 2154else 2155 ac_header_compiler=no 2156fi 2157rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2159$as_echo "$ac_header_compiler" >&6; } 2160 2161# Is the header present? 2162{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2163$as_echo_n "checking $2 presence... " >&6; } 2164cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2165/* end confdefs.h. */ 2166#include <$2> 2167_ACEOF 2168if ac_fn_c_try_cpp "$LINENO"; then : 2169 ac_header_preproc=yes 2170else 2171 ac_header_preproc=no 2172fi 2173rm -f conftest.err conftest.i conftest.$ac_ext 2174{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2175$as_echo "$ac_header_preproc" >&6; } 2176 2177# So? What about this header? 2178case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 2179 yes:no: ) 2180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2181$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2183$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2184 ;; 2185 no:yes:* ) 2186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2187$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2189$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2191$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2193$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2195$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2196( $as_echo "## ------------------------------------------------------------------------ ## 2197## Report this to https://sourceforge.net/p/xffm/bugs/milestone/rodent-pkg/ ## 2198## ------------------------------------------------------------------------ ##" 2199 ) | sed "s/^/$as_me: WARNING: /" >&2 2200 ;; 2201esac 2202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2203$as_echo_n "checking for $2... " >&6; } 2204if eval \${$3+:} false; then : 2205 $as_echo_n "(cached) " >&6 2206else 2207 eval "$3=\$ac_header_compiler" 2208fi 2209eval ac_res=\$$3 2210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2211$as_echo "$ac_res" >&6; } 2212fi 2213 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2214 2215} # ac_fn_c_check_header_mongrel 2216 2217# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES 2218# ---------------------------------------------------- 2219# Tries to find if the field MEMBER exists in type AGGR, after including 2220# INCLUDES, setting cache variable VAR accordingly. 2221ac_fn_c_check_member () 2222{ 2223 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 2225$as_echo_n "checking for $2.$3... " >&6; } 2226if eval \${$4+:} false; then : 2227 $as_echo_n "(cached) " >&6 2228else 2229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2230/* end confdefs.h. */ 2231$5 2232int 2233main () 2234{ 2235static $2 ac_aggr; 2236if (ac_aggr.$3) 2237return 0; 2238 ; 2239 return 0; 2240} 2241_ACEOF 2242if ac_fn_c_try_compile "$LINENO"; then : 2243 eval "$4=yes" 2244else 2245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2246/* end confdefs.h. */ 2247$5 2248int 2249main () 2250{ 2251static $2 ac_aggr; 2252if (sizeof ac_aggr.$3) 2253return 0; 2254 ; 2255 return 0; 2256} 2257_ACEOF 2258if ac_fn_c_try_compile "$LINENO"; then : 2259 eval "$4=yes" 2260else 2261 eval "$4=no" 2262fi 2263rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2264fi 2265rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2266fi 2267eval ac_res=\$$4 2268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2269$as_echo "$ac_res" >&6; } 2270 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2271 2272} # ac_fn_c_check_member 2273 2274# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 2275# --------------------------------------------- 2276# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 2277# accordingly. 2278ac_fn_c_check_decl () 2279{ 2280 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2281 as_decl_name=`echo $2|sed 's/ *(.*//'` 2282 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 2283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 2284$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 2285if eval \${$3+:} false; then : 2286 $as_echo_n "(cached) " >&6 2287else 2288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2289/* end confdefs.h. */ 2290$4 2291int 2292main () 2293{ 2294#ifndef $as_decl_name 2295#ifdef __cplusplus 2296 (void) $as_decl_use; 2297#else 2298 (void) $as_decl_name; 2299#endif 2300#endif 2301 2302 ; 2303 return 0; 2304} 2305_ACEOF 2306if ac_fn_c_try_compile "$LINENO"; then : 2307 eval "$3=yes" 2308else 2309 eval "$3=no" 2310fi 2311rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2312fi 2313eval ac_res=\$$3 2314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2315$as_echo "$ac_res" >&6; } 2316 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2317 2318} # ac_fn_c_check_decl 2319cat >config.log <<_ACEOF 2320This file contains any messages produced by compilers while 2321running configure, to aid debugging if configure makes a mistake. 2322 2323It was created by rodent-fstab $as_me 5.3.16.3, which was 2324generated by GNU Autoconf 2.69. Invocation command line was 2325 2326 $ $0 $@ 2327 2328_ACEOF 2329exec 5>>config.log 2330{ 2331cat <<_ASUNAME 2332## --------- ## 2333## Platform. ## 2334## --------- ## 2335 2336hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2337uname -m = `(uname -m) 2>/dev/null || echo unknown` 2338uname -r = `(uname -r) 2>/dev/null || echo unknown` 2339uname -s = `(uname -s) 2>/dev/null || echo unknown` 2340uname -v = `(uname -v) 2>/dev/null || echo unknown` 2341 2342/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2343/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2344 2345/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2346/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2347/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2348/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2349/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2350/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2351/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2352 2353_ASUNAME 2354 2355as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2356for as_dir in $PATH 2357do 2358 IFS=$as_save_IFS 2359 test -z "$as_dir" && as_dir=. 2360 $as_echo "PATH: $as_dir" 2361 done 2362IFS=$as_save_IFS 2363 2364} >&5 2365 2366cat >&5 <<_ACEOF 2367 2368 2369## ----------- ## 2370## Core tests. ## 2371## ----------- ## 2372 2373_ACEOF 2374 2375 2376# Keep a trace of the command line. 2377# Strip out --no-create and --no-recursion so they do not pile up. 2378# Strip out --silent because we don't want to record it for future runs. 2379# Also quote any args containing shell meta-characters. 2380# Make two passes to allow for proper duplicate-argument suppression. 2381ac_configure_args= 2382ac_configure_args0= 2383ac_configure_args1= 2384ac_must_keep_next=false 2385for ac_pass in 1 2 2386do 2387 for ac_arg 2388 do 2389 case $ac_arg in 2390 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2391 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2392 | -silent | --silent | --silen | --sile | --sil) 2393 continue ;; 2394 *\'*) 2395 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2396 esac 2397 case $ac_pass in 2398 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2399 2) 2400 as_fn_append ac_configure_args1 " '$ac_arg'" 2401 if test $ac_must_keep_next = true; then 2402 ac_must_keep_next=false # Got value, back to normal. 2403 else 2404 case $ac_arg in 2405 *=* | --config-cache | -C | -disable-* | --disable-* \ 2406 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2407 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2408 | -with-* | --with-* | -without-* | --without-* | --x) 2409 case "$ac_configure_args0 " in 2410 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2411 esac 2412 ;; 2413 -* ) ac_must_keep_next=true ;; 2414 esac 2415 fi 2416 as_fn_append ac_configure_args " '$ac_arg'" 2417 ;; 2418 esac 2419 done 2420done 2421{ ac_configure_args0=; unset ac_configure_args0;} 2422{ ac_configure_args1=; unset ac_configure_args1;} 2423 2424# When interrupted or exit'd, cleanup temporary files, and complete 2425# config.log. We remove comments because anyway the quotes in there 2426# would cause problems or look ugly. 2427# WARNING: Use '\'' to represent an apostrophe within the trap. 2428# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2429trap 'exit_status=$? 2430 # Save into config.log some information that might help in debugging. 2431 { 2432 echo 2433 2434 $as_echo "## ---------------- ## 2435## Cache variables. ## 2436## ---------------- ##" 2437 echo 2438 # The following way of writing the cache mishandles newlines in values, 2439( 2440 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2441 eval ac_val=\$$ac_var 2442 case $ac_val in #( 2443 *${as_nl}*) 2444 case $ac_var in #( 2445 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2446$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2447 esac 2448 case $ac_var in #( 2449 _ | IFS | as_nl) ;; #( 2450 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2451 *) { eval $ac_var=; unset $ac_var;} ;; 2452 esac ;; 2453 esac 2454 done 2455 (set) 2>&1 | 2456 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2457 *${as_nl}ac_space=\ *) 2458 sed -n \ 2459 "s/'\''/'\''\\\\'\'''\''/g; 2460 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2461 ;; #( 2462 *) 2463 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2464 ;; 2465 esac | 2466 sort 2467) 2468 echo 2469 2470 $as_echo "## ----------------- ## 2471## Output variables. ## 2472## ----------------- ##" 2473 echo 2474 for ac_var in $ac_subst_vars 2475 do 2476 eval ac_val=\$$ac_var 2477 case $ac_val in 2478 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2479 esac 2480 $as_echo "$ac_var='\''$ac_val'\''" 2481 done | sort 2482 echo 2483 2484 if test -n "$ac_subst_files"; then 2485 $as_echo "## ------------------- ## 2486## File substitutions. ## 2487## ------------------- ##" 2488 echo 2489 for ac_var in $ac_subst_files 2490 do 2491 eval ac_val=\$$ac_var 2492 case $ac_val in 2493 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2494 esac 2495 $as_echo "$ac_var='\''$ac_val'\''" 2496 done | sort 2497 echo 2498 fi 2499 2500 if test -s confdefs.h; then 2501 $as_echo "## ----------- ## 2502## confdefs.h. ## 2503## ----------- ##" 2504 echo 2505 cat confdefs.h 2506 echo 2507 fi 2508 test "$ac_signal" != 0 && 2509 $as_echo "$as_me: caught signal $ac_signal" 2510 $as_echo "$as_me: exit $exit_status" 2511 } >&5 2512 rm -f core *.core core.conftest.* && 2513 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2514 exit $exit_status 2515' 0 2516for ac_signal in 1 2 13 15; do 2517 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2518done 2519ac_signal=0 2520 2521# confdefs.h avoids OS command line length limits that DEFS can exceed. 2522rm -f -r conftest* confdefs.h 2523 2524$as_echo "/* confdefs.h */" > confdefs.h 2525 2526# Predefined preprocessor variables. 2527 2528cat >>confdefs.h <<_ACEOF 2529#define PACKAGE_NAME "$PACKAGE_NAME" 2530_ACEOF 2531 2532cat >>confdefs.h <<_ACEOF 2533#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2534_ACEOF 2535 2536cat >>confdefs.h <<_ACEOF 2537#define PACKAGE_VERSION "$PACKAGE_VERSION" 2538_ACEOF 2539 2540cat >>confdefs.h <<_ACEOF 2541#define PACKAGE_STRING "$PACKAGE_STRING" 2542_ACEOF 2543 2544cat >>confdefs.h <<_ACEOF 2545#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2546_ACEOF 2547 2548cat >>confdefs.h <<_ACEOF 2549#define PACKAGE_URL "$PACKAGE_URL" 2550_ACEOF 2551 2552 2553# Let the site file select an alternate cache file if it wants to. 2554# Prefer an explicitly selected file to automatically selected ones. 2555ac_site_file1=NONE 2556ac_site_file2=NONE 2557if test -n "$CONFIG_SITE"; then 2558 # We do not want a PATH search for config.site. 2559 case $CONFIG_SITE in #(( 2560 -*) ac_site_file1=./$CONFIG_SITE;; 2561 */*) ac_site_file1=$CONFIG_SITE;; 2562 *) ac_site_file1=./$CONFIG_SITE;; 2563 esac 2564elif test "x$prefix" != xNONE; then 2565 ac_site_file1=$prefix/share/config.site 2566 ac_site_file2=$prefix/etc/config.site 2567else 2568 ac_site_file1=$ac_default_prefix/share/config.site 2569 ac_site_file2=$ac_default_prefix/etc/config.site 2570fi 2571for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2572do 2573 test "x$ac_site_file" = xNONE && continue 2574 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2575 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2576$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2577 sed 's/^/| /' "$ac_site_file" >&5 2578 . "$ac_site_file" \ 2579 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2580$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2581as_fn_error $? "failed to load site script $ac_site_file 2582See \`config.log' for more details" "$LINENO" 5; } 2583 fi 2584done 2585 2586if test -r "$cache_file"; then 2587 # Some versions of bash will fail to source /dev/null (special files 2588 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2589 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2590 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2591$as_echo "$as_me: loading cache $cache_file" >&6;} 2592 case $cache_file in 2593 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2594 *) . "./$cache_file";; 2595 esac 2596 fi 2597else 2598 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2599$as_echo "$as_me: creating cache $cache_file" >&6;} 2600 >$cache_file 2601fi 2602 2603# Check that the precious variables saved in the cache have kept the same 2604# value. 2605ac_cache_corrupted=false 2606for ac_var in $ac_precious_vars; do 2607 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2608 eval ac_new_set=\$ac_env_${ac_var}_set 2609 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2610 eval ac_new_val=\$ac_env_${ac_var}_value 2611 case $ac_old_set,$ac_new_set in 2612 set,) 2613 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2614$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2615 ac_cache_corrupted=: ;; 2616 ,set) 2617 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2618$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2619 ac_cache_corrupted=: ;; 2620 ,);; 2621 *) 2622 if test "x$ac_old_val" != "x$ac_new_val"; then 2623 # differences in whitespace do not lead to failure. 2624 ac_old_val_w=`echo x $ac_old_val` 2625 ac_new_val_w=`echo x $ac_new_val` 2626 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2627 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2628$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2629 ac_cache_corrupted=: 2630 else 2631 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2632$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2633 eval $ac_var=\$ac_old_val 2634 fi 2635 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2636$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2637 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2638$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2639 fi;; 2640 esac 2641 # Pass precious variables to config.status. 2642 if test "$ac_new_set" = set; then 2643 case $ac_new_val in 2644 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2645 *) ac_arg=$ac_var=$ac_new_val ;; 2646 esac 2647 case " $ac_configure_args " in 2648 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2649 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2650 esac 2651 fi 2652done 2653if $ac_cache_corrupted; then 2654 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2655$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2656 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2657$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2658 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2659fi 2660## -------------------- ## 2661## Main body of script. ## 2662## -------------------- ## 2663 2664ac_ext=c 2665ac_cpp='$CPP $CPPFLAGS' 2666ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2667ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2668ac_compiler_gnu=$ac_cv_c_compiler_gnu 2669 2670 2671 2672ac_aux_dir= 2673for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2674 if test -f "$ac_dir/install-sh"; then 2675 ac_aux_dir=$ac_dir 2676 ac_install_sh="$ac_aux_dir/install-sh -c" 2677 break 2678 elif test -f "$ac_dir/install.sh"; then 2679 ac_aux_dir=$ac_dir 2680 ac_install_sh="$ac_aux_dir/install.sh -c" 2681 break 2682 elif test -f "$ac_dir/shtool"; then 2683 ac_aux_dir=$ac_dir 2684 ac_install_sh="$ac_aux_dir/shtool install -c" 2685 break 2686 fi 2687done 2688if test -z "$ac_aux_dir"; then 2689 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2690fi 2691 2692# These three variables are undocumented and unsupported, 2693# and are intended to be withdrawn in a future Autoconf release. 2694# They can cause serious problems if a builder's source tree is in a directory 2695# whose full name contains unusual characters. 2696ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2697ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2698ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2699 2700 2701# Find a good install program. We prefer a C program (faster), 2702# so one script is as good as another. But avoid the broken or 2703# incompatible versions: 2704# SysV /etc/install, /usr/sbin/install 2705# SunOS /usr/etc/install 2706# IRIX /sbin/install 2707# AIX /bin/install 2708# AmigaOS /C/install, which installs bootblocks on floppy discs 2709# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2710# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2711# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2712# OS/2's system install, which has a completely different semantic 2713# ./install, which can be erroneously created by make from ./install.sh. 2714# Reject install programs that cannot install multiple files. 2715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2716$as_echo_n "checking for a BSD-compatible install... " >&6; } 2717if test -z "$INSTALL"; then 2718if ${ac_cv_path_install+:} false; then : 2719 $as_echo_n "(cached) " >&6 2720else 2721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2722for as_dir in $PATH 2723do 2724 IFS=$as_save_IFS 2725 test -z "$as_dir" && as_dir=. 2726 # Account for people who put trailing slashes in PATH elements. 2727case $as_dir/ in #(( 2728 ./ | .// | /[cC]/* | \ 2729 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2730 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2731 /usr/ucb/* ) ;; 2732 *) 2733 # OSF1 and SCO ODT 3.0 have their own names for install. 2734 # Don't use installbsd from OSF since it installs stuff as root 2735 # by default. 2736 for ac_prog in ginstall scoinst install; do 2737 for ac_exec_ext in '' $ac_executable_extensions; do 2738 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2739 if test $ac_prog = install && 2740 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2741 # AIX install. It has an incompatible calling convention. 2742 : 2743 elif test $ac_prog = install && 2744 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2745 # program-specific install script used by HP pwplus--don't use. 2746 : 2747 else 2748 rm -rf conftest.one conftest.two conftest.dir 2749 echo one > conftest.one 2750 echo two > conftest.two 2751 mkdir conftest.dir 2752 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2753 test -s conftest.one && test -s conftest.two && 2754 test -s conftest.dir/conftest.one && 2755 test -s conftest.dir/conftest.two 2756 then 2757 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2758 break 3 2759 fi 2760 fi 2761 fi 2762 done 2763 done 2764 ;; 2765esac 2766 2767 done 2768IFS=$as_save_IFS 2769 2770rm -rf conftest.one conftest.two conftest.dir 2771 2772fi 2773 if test "${ac_cv_path_install+set}" = set; then 2774 INSTALL=$ac_cv_path_install 2775 else 2776 # As a last resort, use the slow shell script. Don't cache a 2777 # value for INSTALL within a source directory, because that will 2778 # break other packages using the cache if that directory is 2779 # removed, or if the value is a relative name. 2780 INSTALL=$ac_install_sh 2781 fi 2782fi 2783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2784$as_echo "$INSTALL" >&6; } 2785 2786# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2787# It thinks the first close brace ends the variable substitution. 2788test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2789 2790test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2791 2792test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2793 2794case `pwd` in 2795 *\ * | *\ *) 2796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 2797$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 2798esac 2799 2800 2801 2802macro_version='2.4.6' 2803macro_revision='2.4.6' 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817ltmain=$ac_aux_dir/ltmain.sh 2818 2819# Make sure we can run config.sub. 2820$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2821 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2822 2823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2824$as_echo_n "checking build system type... " >&6; } 2825if ${ac_cv_build+:} false; then : 2826 $as_echo_n "(cached) " >&6 2827else 2828 ac_build_alias=$build_alias 2829test "x$ac_build_alias" = x && 2830 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2831test "x$ac_build_alias" = x && 2832 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2833ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2834 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2835 2836fi 2837{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2838$as_echo "$ac_cv_build" >&6; } 2839case $ac_cv_build in 2840*-*-*) ;; 2841*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2842esac 2843build=$ac_cv_build 2844ac_save_IFS=$IFS; IFS='-' 2845set x $ac_cv_build 2846shift 2847build_cpu=$1 2848build_vendor=$2 2849shift; shift 2850# Remember, the first character of IFS is used to create $*, 2851# except with old shells: 2852build_os=$* 2853IFS=$ac_save_IFS 2854case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2855 2856 2857{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2858$as_echo_n "checking host system type... " >&6; } 2859if ${ac_cv_host+:} false; then : 2860 $as_echo_n "(cached) " >&6 2861else 2862 if test "x$host_alias" = x; then 2863 ac_cv_host=$ac_cv_build 2864else 2865 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2866 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2867fi 2868 2869fi 2870{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2871$as_echo "$ac_cv_host" >&6; } 2872case $ac_cv_host in 2873*-*-*) ;; 2874*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2875esac 2876host=$ac_cv_host 2877ac_save_IFS=$IFS; IFS='-' 2878set x $ac_cv_host 2879shift 2880host_cpu=$1 2881host_vendor=$2 2882shift; shift 2883# Remember, the first character of IFS is used to create $*, 2884# except with old shells: 2885host_os=$* 2886IFS=$ac_save_IFS 2887case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2888 2889 2890# Backslashify metacharacters that are still active within 2891# double-quoted strings. 2892sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 2893 2894# Same as above, but do not quote variable references. 2895double_quote_subst='s/\(["`\\]\)/\\\1/g' 2896 2897# Sed substitution to delay expansion of an escaped shell variable in a 2898# double_quote_subst'ed string. 2899delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 2900 2901# Sed substitution to delay expansion of an escaped single quote. 2902delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 2903 2904# Sed substitution to avoid accidental globbing in evaled expressions 2905no_glob_subst='s/\*/\\\*/g' 2906 2907ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 2908ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 2909ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 2910 2911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 2912$as_echo_n "checking how to print strings... " >&6; } 2913# Test print first, because it will be a builtin if present. 2914if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 2915 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 2916 ECHO='print -r --' 2917elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 2918 ECHO='printf %s\n' 2919else 2920 # Use this function as a fallback that always works. 2921 func_fallback_echo () 2922 { 2923 eval 'cat <<_LTECHO_EOF 2924$1 2925_LTECHO_EOF' 2926 } 2927 ECHO='func_fallback_echo' 2928fi 2929 2930# func_echo_all arg... 2931# Invoke $ECHO with all args, space-separated. 2932func_echo_all () 2933{ 2934 $ECHO "" 2935} 2936 2937case $ECHO in 2938 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 2939$as_echo "printf" >&6; } ;; 2940 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 2941$as_echo "print -r" >&6; } ;; 2942 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 2943$as_echo "cat" >&6; } ;; 2944esac 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959# Expand $ac_aux_dir to an absolute path. 2960am_aux_dir=`cd "$ac_aux_dir" && pwd` 2961 2962ac_ext=c 2963ac_cpp='$CPP $CPPFLAGS' 2964ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2965ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2966ac_compiler_gnu=$ac_cv_c_compiler_gnu 2967if test -n "$ac_tool_prefix"; then 2968 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2969set dummy ${ac_tool_prefix}gcc; ac_word=$2 2970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2971$as_echo_n "checking for $ac_word... " >&6; } 2972if ${ac_cv_prog_CC+:} false; then : 2973 $as_echo_n "(cached) " >&6 2974else 2975 if test -n "$CC"; then 2976 ac_cv_prog_CC="$CC" # Let the user override the test. 2977else 2978as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2979for as_dir in $PATH 2980do 2981 IFS=$as_save_IFS 2982 test -z "$as_dir" && as_dir=. 2983 for ac_exec_ext in '' $ac_executable_extensions; do 2984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2985 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2987 break 2 2988 fi 2989done 2990 done 2991IFS=$as_save_IFS 2992 2993fi 2994fi 2995CC=$ac_cv_prog_CC 2996if test -n "$CC"; then 2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2998$as_echo "$CC" >&6; } 2999else 3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3001$as_echo "no" >&6; } 3002fi 3003 3004 3005fi 3006if test -z "$ac_cv_prog_CC"; then 3007 ac_ct_CC=$CC 3008 # Extract the first word of "gcc", so it can be a program name with args. 3009set dummy gcc; ac_word=$2 3010{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3011$as_echo_n "checking for $ac_word... " >&6; } 3012if ${ac_cv_prog_ac_ct_CC+:} false; then : 3013 $as_echo_n "(cached) " >&6 3014else 3015 if test -n "$ac_ct_CC"; then 3016 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3017else 3018as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3019for as_dir in $PATH 3020do 3021 IFS=$as_save_IFS 3022 test -z "$as_dir" && as_dir=. 3023 for ac_exec_ext in '' $ac_executable_extensions; do 3024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3025 ac_cv_prog_ac_ct_CC="gcc" 3026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3027 break 2 3028 fi 3029done 3030 done 3031IFS=$as_save_IFS 3032 3033fi 3034fi 3035ac_ct_CC=$ac_cv_prog_ac_ct_CC 3036if test -n "$ac_ct_CC"; then 3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3038$as_echo "$ac_ct_CC" >&6; } 3039else 3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3041$as_echo "no" >&6; } 3042fi 3043 3044 if test "x$ac_ct_CC" = x; then 3045 CC="" 3046 else 3047 case $cross_compiling:$ac_tool_warned in 3048yes:) 3049{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3050$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3051ac_tool_warned=yes ;; 3052esac 3053 CC=$ac_ct_CC 3054 fi 3055else 3056 CC="$ac_cv_prog_CC" 3057fi 3058 3059if test -z "$CC"; then 3060 if test -n "$ac_tool_prefix"; then 3061 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3062set dummy ${ac_tool_prefix}cc; ac_word=$2 3063{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3064$as_echo_n "checking for $ac_word... " >&6; } 3065if ${ac_cv_prog_CC+:} false; then : 3066 $as_echo_n "(cached) " >&6 3067else 3068 if test -n "$CC"; then 3069 ac_cv_prog_CC="$CC" # Let the user override the test. 3070else 3071as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3072for as_dir in $PATH 3073do 3074 IFS=$as_save_IFS 3075 test -z "$as_dir" && as_dir=. 3076 for ac_exec_ext in '' $ac_executable_extensions; do 3077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3078 ac_cv_prog_CC="${ac_tool_prefix}cc" 3079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3080 break 2 3081 fi 3082done 3083 done 3084IFS=$as_save_IFS 3085 3086fi 3087fi 3088CC=$ac_cv_prog_CC 3089if test -n "$CC"; then 3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3091$as_echo "$CC" >&6; } 3092else 3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3094$as_echo "no" >&6; } 3095fi 3096 3097 3098 fi 3099fi 3100if test -z "$CC"; then 3101 # Extract the first word of "cc", so it can be a program name with args. 3102set dummy cc; ac_word=$2 3103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3104$as_echo_n "checking for $ac_word... " >&6; } 3105if ${ac_cv_prog_CC+:} false; then : 3106 $as_echo_n "(cached) " >&6 3107else 3108 if test -n "$CC"; then 3109 ac_cv_prog_CC="$CC" # Let the user override the test. 3110else 3111 ac_prog_rejected=no 3112as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3113for as_dir in $PATH 3114do 3115 IFS=$as_save_IFS 3116 test -z "$as_dir" && as_dir=. 3117 for ac_exec_ext in '' $ac_executable_extensions; do 3118 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3119 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3120 ac_prog_rejected=yes 3121 continue 3122 fi 3123 ac_cv_prog_CC="cc" 3124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3125 break 2 3126 fi 3127done 3128 done 3129IFS=$as_save_IFS 3130 3131if test $ac_prog_rejected = yes; then 3132 # We found a bogon in the path, so make sure we never use it. 3133 set dummy $ac_cv_prog_CC 3134 shift 3135 if test $# != 0; then 3136 # We chose a different compiler from the bogus one. 3137 # However, it has the same basename, so the bogon will be chosen 3138 # first if we set CC to just the basename; use the full file name. 3139 shift 3140 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3141 fi 3142fi 3143fi 3144fi 3145CC=$ac_cv_prog_CC 3146if test -n "$CC"; then 3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3148$as_echo "$CC" >&6; } 3149else 3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3151$as_echo "no" >&6; } 3152fi 3153 3154 3155fi 3156if test -z "$CC"; then 3157 if test -n "$ac_tool_prefix"; then 3158 for ac_prog in cl.exe 3159 do 3160 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3161set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3162{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3163$as_echo_n "checking for $ac_word... " >&6; } 3164if ${ac_cv_prog_CC+:} false; then : 3165 $as_echo_n "(cached) " >&6 3166else 3167 if test -n "$CC"; then 3168 ac_cv_prog_CC="$CC" # Let the user override the test. 3169else 3170as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3171for as_dir in $PATH 3172do 3173 IFS=$as_save_IFS 3174 test -z "$as_dir" && as_dir=. 3175 for ac_exec_ext in '' $ac_executable_extensions; do 3176 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3177 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3179 break 2 3180 fi 3181done 3182 done 3183IFS=$as_save_IFS 3184 3185fi 3186fi 3187CC=$ac_cv_prog_CC 3188if test -n "$CC"; then 3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3190$as_echo "$CC" >&6; } 3191else 3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3193$as_echo "no" >&6; } 3194fi 3195 3196 3197 test -n "$CC" && break 3198 done 3199fi 3200if test -z "$CC"; then 3201 ac_ct_CC=$CC 3202 for ac_prog in cl.exe 3203do 3204 # Extract the first word of "$ac_prog", so it can be a program name with args. 3205set dummy $ac_prog; ac_word=$2 3206{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3207$as_echo_n "checking for $ac_word... " >&6; } 3208if ${ac_cv_prog_ac_ct_CC+:} false; then : 3209 $as_echo_n "(cached) " >&6 3210else 3211 if test -n "$ac_ct_CC"; then 3212 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3213else 3214as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3215for as_dir in $PATH 3216do 3217 IFS=$as_save_IFS 3218 test -z "$as_dir" && as_dir=. 3219 for ac_exec_ext in '' $ac_executable_extensions; do 3220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3221 ac_cv_prog_ac_ct_CC="$ac_prog" 3222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3223 break 2 3224 fi 3225done 3226 done 3227IFS=$as_save_IFS 3228 3229fi 3230fi 3231ac_ct_CC=$ac_cv_prog_ac_ct_CC 3232if test -n "$ac_ct_CC"; then 3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3234$as_echo "$ac_ct_CC" >&6; } 3235else 3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3237$as_echo "no" >&6; } 3238fi 3239 3240 3241 test -n "$ac_ct_CC" && break 3242done 3243 3244 if test "x$ac_ct_CC" = x; then 3245 CC="" 3246 else 3247 case $cross_compiling:$ac_tool_warned in 3248yes:) 3249{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3250$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3251ac_tool_warned=yes ;; 3252esac 3253 CC=$ac_ct_CC 3254 fi 3255fi 3256 3257fi 3258 3259 3260test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3261$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3262as_fn_error $? "no acceptable C compiler found in \$PATH 3263See \`config.log' for more details" "$LINENO" 5; } 3264 3265# Provide some information about the compiler. 3266$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3267set X $ac_compile 3268ac_compiler=$2 3269for ac_option in --version -v -V -qversion; do 3270 { { ac_try="$ac_compiler $ac_option >&5" 3271case "(($ac_try" in 3272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3273 *) ac_try_echo=$ac_try;; 3274esac 3275eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3276$as_echo "$ac_try_echo"; } >&5 3277 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3278 ac_status=$? 3279 if test -s conftest.err; then 3280 sed '10a\ 3281... rest of stderr output deleted ... 3282 10q' conftest.err >conftest.er1 3283 cat conftest.er1 >&5 3284 fi 3285 rm -f conftest.er1 conftest.err 3286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3287 test $ac_status = 0; } 3288done 3289 3290cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3291/* end confdefs.h. */ 3292 3293int 3294main () 3295{ 3296 3297 ; 3298 return 0; 3299} 3300_ACEOF 3301ac_clean_files_save=$ac_clean_files 3302ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3303# Try to create an executable without -o first, disregard a.out. 3304# It will help us diagnose broken compilers, and finding out an intuition 3305# of exeext. 3306{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3307$as_echo_n "checking whether the C compiler works... " >&6; } 3308ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3309 3310# The possible output files: 3311ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3312 3313ac_rmfiles= 3314for ac_file in $ac_files 3315do 3316 case $ac_file in 3317 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3318 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3319 esac 3320done 3321rm -f $ac_rmfiles 3322 3323if { { ac_try="$ac_link_default" 3324case "(($ac_try" in 3325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3326 *) ac_try_echo=$ac_try;; 3327esac 3328eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3329$as_echo "$ac_try_echo"; } >&5 3330 (eval "$ac_link_default") 2>&5 3331 ac_status=$? 3332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3333 test $ac_status = 0; }; then : 3334 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3335# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3336# in a Makefile. We should not override ac_cv_exeext if it was cached, 3337# so that the user can short-circuit this test for compilers unknown to 3338# Autoconf. 3339for ac_file in $ac_files '' 3340do 3341 test -f "$ac_file" || continue 3342 case $ac_file in 3343 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3344 ;; 3345 [ab].out ) 3346 # We found the default executable, but exeext='' is most 3347 # certainly right. 3348 break;; 3349 *.* ) 3350 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3351 then :; else 3352 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3353 fi 3354 # We set ac_cv_exeext here because the later test for it is not 3355 # safe: cross compilers may not add the suffix if given an `-o' 3356 # argument, so we may need to know it at that point already. 3357 # Even if this section looks crufty: it has the advantage of 3358 # actually working. 3359 break;; 3360 * ) 3361 break;; 3362 esac 3363done 3364test "$ac_cv_exeext" = no && ac_cv_exeext= 3365 3366else 3367 ac_file='' 3368fi 3369if test -z "$ac_file"; then : 3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3371$as_echo "no" >&6; } 3372$as_echo "$as_me: failed program was:" >&5 3373sed 's/^/| /' conftest.$ac_ext >&5 3374 3375{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3376$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3377as_fn_error 77 "C compiler cannot create executables 3378See \`config.log' for more details" "$LINENO" 5; } 3379else 3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3381$as_echo "yes" >&6; } 3382fi 3383{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3384$as_echo_n "checking for C compiler default output file name... " >&6; } 3385{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3386$as_echo "$ac_file" >&6; } 3387ac_exeext=$ac_cv_exeext 3388 3389rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3390ac_clean_files=$ac_clean_files_save 3391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3392$as_echo_n "checking for suffix of executables... " >&6; } 3393if { { ac_try="$ac_link" 3394case "(($ac_try" in 3395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3396 *) ac_try_echo=$ac_try;; 3397esac 3398eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3399$as_echo "$ac_try_echo"; } >&5 3400 (eval "$ac_link") 2>&5 3401 ac_status=$? 3402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3403 test $ac_status = 0; }; then : 3404 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3405# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3406# work properly (i.e., refer to `conftest.exe'), while it won't with 3407# `rm'. 3408for ac_file in conftest.exe conftest conftest.*; do 3409 test -f "$ac_file" || continue 3410 case $ac_file in 3411 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3412 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3413 break;; 3414 * ) break;; 3415 esac 3416done 3417else 3418 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3419$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3420as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3421See \`config.log' for more details" "$LINENO" 5; } 3422fi 3423rm -f conftest conftest$ac_cv_exeext 3424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3425$as_echo "$ac_cv_exeext" >&6; } 3426 3427rm -f conftest.$ac_ext 3428EXEEXT=$ac_cv_exeext 3429ac_exeext=$EXEEXT 3430cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3431/* end confdefs.h. */ 3432#include <stdio.h> 3433int 3434main () 3435{ 3436FILE *f = fopen ("conftest.out", "w"); 3437 return ferror (f) || fclose (f) != 0; 3438 3439 ; 3440 return 0; 3441} 3442_ACEOF 3443ac_clean_files="$ac_clean_files conftest.out" 3444# Check that the compiler produces executables we can run. If not, either 3445# the compiler is broken, or we cross compile. 3446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3447$as_echo_n "checking whether we are cross compiling... " >&6; } 3448if test "$cross_compiling" != yes; then 3449 { { ac_try="$ac_link" 3450case "(($ac_try" in 3451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3452 *) ac_try_echo=$ac_try;; 3453esac 3454eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3455$as_echo "$ac_try_echo"; } >&5 3456 (eval "$ac_link") 2>&5 3457 ac_status=$? 3458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3459 test $ac_status = 0; } 3460 if { ac_try='./conftest$ac_cv_exeext' 3461 { { case "(($ac_try" in 3462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3463 *) ac_try_echo=$ac_try;; 3464esac 3465eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3466$as_echo "$ac_try_echo"; } >&5 3467 (eval "$ac_try") 2>&5 3468 ac_status=$? 3469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3470 test $ac_status = 0; }; }; then 3471 cross_compiling=no 3472 else 3473 if test "$cross_compiling" = maybe; then 3474 cross_compiling=yes 3475 else 3476 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3477$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3478as_fn_error $? "cannot run C compiled programs. 3479If you meant to cross compile, use \`--host'. 3480See \`config.log' for more details" "$LINENO" 5; } 3481 fi 3482 fi 3483fi 3484{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3485$as_echo "$cross_compiling" >&6; } 3486 3487rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3488ac_clean_files=$ac_clean_files_save 3489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3490$as_echo_n "checking for suffix of object files... " >&6; } 3491if ${ac_cv_objext+:} false; then : 3492 $as_echo_n "(cached) " >&6 3493else 3494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3495/* end confdefs.h. */ 3496 3497int 3498main () 3499{ 3500 3501 ; 3502 return 0; 3503} 3504_ACEOF 3505rm -f conftest.o conftest.obj 3506if { { ac_try="$ac_compile" 3507case "(($ac_try" in 3508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3509 *) ac_try_echo=$ac_try;; 3510esac 3511eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3512$as_echo "$ac_try_echo"; } >&5 3513 (eval "$ac_compile") 2>&5 3514 ac_status=$? 3515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3516 test $ac_status = 0; }; then : 3517 for ac_file in conftest.o conftest.obj conftest.*; do 3518 test -f "$ac_file" || continue; 3519 case $ac_file in 3520 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3521 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3522 break;; 3523 esac 3524done 3525else 3526 $as_echo "$as_me: failed program was:" >&5 3527sed 's/^/| /' conftest.$ac_ext >&5 3528 3529{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3530$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3531as_fn_error $? "cannot compute suffix of object files: cannot compile 3532See \`config.log' for more details" "$LINENO" 5; } 3533fi 3534rm -f conftest.$ac_cv_objext conftest.$ac_ext 3535fi 3536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3537$as_echo "$ac_cv_objext" >&6; } 3538OBJEXT=$ac_cv_objext 3539ac_objext=$OBJEXT 3540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3541$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3542if ${ac_cv_c_compiler_gnu+:} false; then : 3543 $as_echo_n "(cached) " >&6 3544else 3545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3546/* end confdefs.h. */ 3547 3548int 3549main () 3550{ 3551#ifndef __GNUC__ 3552 choke me 3553#endif 3554 3555 ; 3556 return 0; 3557} 3558_ACEOF 3559if ac_fn_c_try_compile "$LINENO"; then : 3560 ac_compiler_gnu=yes 3561else 3562 ac_compiler_gnu=no 3563fi 3564rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3565ac_cv_c_compiler_gnu=$ac_compiler_gnu 3566 3567fi 3568{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3569$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3570if test $ac_compiler_gnu = yes; then 3571 GCC=yes 3572else 3573 GCC= 3574fi 3575ac_test_CFLAGS=${CFLAGS+set} 3576ac_save_CFLAGS=$CFLAGS 3577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3578$as_echo_n "checking whether $CC accepts -g... " >&6; } 3579if ${ac_cv_prog_cc_g+:} false; then : 3580 $as_echo_n "(cached) " >&6 3581else 3582 ac_save_c_werror_flag=$ac_c_werror_flag 3583 ac_c_werror_flag=yes 3584 ac_cv_prog_cc_g=no 3585 CFLAGS="-g" 3586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3587/* end confdefs.h. */ 3588 3589int 3590main () 3591{ 3592 3593 ; 3594 return 0; 3595} 3596_ACEOF 3597if ac_fn_c_try_compile "$LINENO"; then : 3598 ac_cv_prog_cc_g=yes 3599else 3600 CFLAGS="" 3601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3602/* end confdefs.h. */ 3603 3604int 3605main () 3606{ 3607 3608 ; 3609 return 0; 3610} 3611_ACEOF 3612if ac_fn_c_try_compile "$LINENO"; then : 3613 3614else 3615 ac_c_werror_flag=$ac_save_c_werror_flag 3616 CFLAGS="-g" 3617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3618/* end confdefs.h. */ 3619 3620int 3621main () 3622{ 3623 3624 ; 3625 return 0; 3626} 3627_ACEOF 3628if ac_fn_c_try_compile "$LINENO"; then : 3629 ac_cv_prog_cc_g=yes 3630fi 3631rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3632fi 3633rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3634fi 3635rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3636 ac_c_werror_flag=$ac_save_c_werror_flag 3637fi 3638{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3639$as_echo "$ac_cv_prog_cc_g" >&6; } 3640if test "$ac_test_CFLAGS" = set; then 3641 CFLAGS=$ac_save_CFLAGS 3642elif test $ac_cv_prog_cc_g = yes; then 3643 if test "$GCC" = yes; then 3644 CFLAGS="-g -O2" 3645 else 3646 CFLAGS="-g" 3647 fi 3648else 3649 if test "$GCC" = yes; then 3650 CFLAGS="-O2" 3651 else 3652 CFLAGS= 3653 fi 3654fi 3655{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3656$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3657if ${ac_cv_prog_cc_c89+:} false; then : 3658 $as_echo_n "(cached) " >&6 3659else 3660 ac_cv_prog_cc_c89=no 3661ac_save_CC=$CC 3662cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3663/* end confdefs.h. */ 3664#include <stdarg.h> 3665#include <stdio.h> 3666struct stat; 3667/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3668struct buf { int x; }; 3669FILE * (*rcsopen) (struct buf *, struct stat *, int); 3670static char *e (p, i) 3671 char **p; 3672 int i; 3673{ 3674 return p[i]; 3675} 3676static char *f (char * (*g) (char **, int), char **p, ...) 3677{ 3678 char *s; 3679 va_list v; 3680 va_start (v,p); 3681 s = g (p, va_arg (v,int)); 3682 va_end (v); 3683 return s; 3684} 3685 3686/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3687 function prototypes and stuff, but not '\xHH' hex character constants. 3688 These don't provoke an error unfortunately, instead are silently treated 3689 as 'x'. The following induces an error, until -std is added to get 3690 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3691 array size at least. It's necessary to write '\x00'==0 to get something 3692 that's true only with -std. */ 3693int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3694 3695/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3696 inside strings and character constants. */ 3697#define FOO(x) 'x' 3698int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3699 3700int test (int i, double x); 3701struct s1 {int (*f) (int a);}; 3702struct s2 {int (*f) (double a);}; 3703int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3704int argc; 3705char **argv; 3706int 3707main () 3708{ 3709return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3710 ; 3711 return 0; 3712} 3713_ACEOF 3714for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3715 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3716do 3717 CC="$ac_save_CC $ac_arg" 3718 if ac_fn_c_try_compile "$LINENO"; then : 3719 ac_cv_prog_cc_c89=$ac_arg 3720fi 3721rm -f core conftest.err conftest.$ac_objext 3722 test "x$ac_cv_prog_cc_c89" != "xno" && break 3723done 3724rm -f conftest.$ac_ext 3725CC=$ac_save_CC 3726 3727fi 3728# AC_CACHE_VAL 3729case "x$ac_cv_prog_cc_c89" in 3730 x) 3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3732$as_echo "none needed" >&6; } ;; 3733 xno) 3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3735$as_echo "unsupported" >&6; } ;; 3736 *) 3737 CC="$CC $ac_cv_prog_cc_c89" 3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3739$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3740esac 3741if test "x$ac_cv_prog_cc_c89" != xno; then : 3742 3743fi 3744 3745ac_ext=c 3746ac_cpp='$CPP $CPPFLAGS' 3747ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3748ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3749ac_compiler_gnu=$ac_cv_c_compiler_gnu 3750 3751ac_ext=c 3752ac_cpp='$CPP $CPPFLAGS' 3753ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3754ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3755ac_compiler_gnu=$ac_cv_c_compiler_gnu 3756{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3757$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3758if ${am_cv_prog_cc_c_o+:} false; then : 3759 $as_echo_n "(cached) " >&6 3760else 3761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3762/* end confdefs.h. */ 3763 3764int 3765main () 3766{ 3767 3768 ; 3769 return 0; 3770} 3771_ACEOF 3772 # Make sure it works both with $CC and with simple cc. 3773 # Following AC_PROG_CC_C_O, we do the test twice because some 3774 # compilers refuse to overwrite an existing .o file with -o, 3775 # though they will create one. 3776 am_cv_prog_cc_c_o=yes 3777 for am_i in 1 2; do 3778 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3779 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3780 ac_status=$? 3781 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3782 (exit $ac_status); } \ 3783 && test -f conftest2.$ac_objext; then 3784 : OK 3785 else 3786 am_cv_prog_cc_c_o=no 3787 break 3788 fi 3789 done 3790 rm -f core conftest* 3791 unset am_i 3792fi 3793{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3794$as_echo "$am_cv_prog_cc_c_o" >&6; } 3795if test "$am_cv_prog_cc_c_o" != yes; then 3796 # Losing compiler, so override with the script. 3797 # FIXME: It is wrong to rewrite CC. 3798 # But if we don't then we get into trouble of one sort or another. 3799 # A longer-term fix would be to have automake use am__CC in this case, 3800 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3801 CC="$am_aux_dir/compile $CC" 3802fi 3803ac_ext=c 3804ac_cpp='$CPP $CPPFLAGS' 3805ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3806ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3807ac_compiler_gnu=$ac_cv_c_compiler_gnu 3808 3809 3810{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 3811$as_echo_n "checking for a sed that does not truncate output... " >&6; } 3812if ${ac_cv_path_SED+:} false; then : 3813 $as_echo_n "(cached) " >&6 3814else 3815 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 3816 for ac_i in 1 2 3 4 5 6 7; do 3817 ac_script="$ac_script$as_nl$ac_script" 3818 done 3819 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 3820 { ac_script=; unset ac_script;} 3821 if test -z "$SED"; then 3822 ac_path_SED_found=false 3823 # Loop through the user's path and test for each of PROGNAME-LIST 3824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3825for as_dir in $PATH 3826do 3827 IFS=$as_save_IFS 3828 test -z "$as_dir" && as_dir=. 3829 for ac_prog in sed gsed; do 3830 for ac_exec_ext in '' $ac_executable_extensions; do 3831 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 3832 as_fn_executable_p "$ac_path_SED" || continue 3833# Check for GNU ac_path_SED and select it if it is found. 3834 # Check for GNU $ac_path_SED 3835case `"$ac_path_SED" --version 2>&1` in 3836*GNU*) 3837 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 3838*) 3839 ac_count=0 3840 $as_echo_n 0123456789 >"conftest.in" 3841 while : 3842 do 3843 cat "conftest.in" "conftest.in" >"conftest.tmp" 3844 mv "conftest.tmp" "conftest.in" 3845 cp "conftest.in" "conftest.nl" 3846 $as_echo '' >> "conftest.nl" 3847 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 3848 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3849 as_fn_arith $ac_count + 1 && ac_count=$as_val 3850 if test $ac_count -gt ${ac_path_SED_max-0}; then 3851 # Best one so far, save it but keep looking for a better one 3852 ac_cv_path_SED="$ac_path_SED" 3853 ac_path_SED_max=$ac_count 3854 fi 3855 # 10*(2^10) chars as input seems more than enough 3856 test $ac_count -gt 10 && break 3857 done 3858 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3859esac 3860 3861 $ac_path_SED_found && break 3 3862 done 3863 done 3864 done 3865IFS=$as_save_IFS 3866 if test -z "$ac_cv_path_SED"; then 3867 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 3868 fi 3869else 3870 ac_cv_path_SED=$SED 3871fi 3872 3873fi 3874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 3875$as_echo "$ac_cv_path_SED" >&6; } 3876 SED="$ac_cv_path_SED" 3877 rm -f conftest.sed 3878 3879test -z "$SED" && SED=sed 3880Xsed="$SED -e 1s/^X//" 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3893$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3894if ${ac_cv_path_GREP+:} false; then : 3895 $as_echo_n "(cached) " >&6 3896else 3897 if test -z "$GREP"; then 3898 ac_path_GREP_found=false 3899 # Loop through the user's path and test for each of PROGNAME-LIST 3900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3901for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3902do 3903 IFS=$as_save_IFS 3904 test -z "$as_dir" && as_dir=. 3905 for ac_prog in grep ggrep; do 3906 for ac_exec_ext in '' $ac_executable_extensions; do 3907 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3908 as_fn_executable_p "$ac_path_GREP" || continue 3909# Check for GNU ac_path_GREP and select it if it is found. 3910 # Check for GNU $ac_path_GREP 3911case `"$ac_path_GREP" --version 2>&1` in 3912*GNU*) 3913 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3914*) 3915 ac_count=0 3916 $as_echo_n 0123456789 >"conftest.in" 3917 while : 3918 do 3919 cat "conftest.in" "conftest.in" >"conftest.tmp" 3920 mv "conftest.tmp" "conftest.in" 3921 cp "conftest.in" "conftest.nl" 3922 $as_echo 'GREP' >> "conftest.nl" 3923 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3924 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3925 as_fn_arith $ac_count + 1 && ac_count=$as_val 3926 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3927 # Best one so far, save it but keep looking for a better one 3928 ac_cv_path_GREP="$ac_path_GREP" 3929 ac_path_GREP_max=$ac_count 3930 fi 3931 # 10*(2^10) chars as input seems more than enough 3932 test $ac_count -gt 10 && break 3933 done 3934 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3935esac 3936 3937 $ac_path_GREP_found && break 3 3938 done 3939 done 3940 done 3941IFS=$as_save_IFS 3942 if test -z "$ac_cv_path_GREP"; then 3943 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3944 fi 3945else 3946 ac_cv_path_GREP=$GREP 3947fi 3948 3949fi 3950{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3951$as_echo "$ac_cv_path_GREP" >&6; } 3952 GREP="$ac_cv_path_GREP" 3953 3954 3955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3956$as_echo_n "checking for egrep... " >&6; } 3957if ${ac_cv_path_EGREP+:} false; then : 3958 $as_echo_n "(cached) " >&6 3959else 3960 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3961 then ac_cv_path_EGREP="$GREP -E" 3962 else 3963 if test -z "$EGREP"; then 3964 ac_path_EGREP_found=false 3965 # Loop through the user's path and test for each of PROGNAME-LIST 3966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3967for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3968do 3969 IFS=$as_save_IFS 3970 test -z "$as_dir" && as_dir=. 3971 for ac_prog in egrep; do 3972 for ac_exec_ext in '' $ac_executable_extensions; do 3973 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3974 as_fn_executable_p "$ac_path_EGREP" || continue 3975# Check for GNU ac_path_EGREP and select it if it is found. 3976 # Check for GNU $ac_path_EGREP 3977case `"$ac_path_EGREP" --version 2>&1` in 3978*GNU*) 3979 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3980*) 3981 ac_count=0 3982 $as_echo_n 0123456789 >"conftest.in" 3983 while : 3984 do 3985 cat "conftest.in" "conftest.in" >"conftest.tmp" 3986 mv "conftest.tmp" "conftest.in" 3987 cp "conftest.in" "conftest.nl" 3988 $as_echo 'EGREP' >> "conftest.nl" 3989 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3990 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3991 as_fn_arith $ac_count + 1 && ac_count=$as_val 3992 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3993 # Best one so far, save it but keep looking for a better one 3994 ac_cv_path_EGREP="$ac_path_EGREP" 3995 ac_path_EGREP_max=$ac_count 3996 fi 3997 # 10*(2^10) chars as input seems more than enough 3998 test $ac_count -gt 10 && break 3999 done 4000 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4001esac 4002 4003 $ac_path_EGREP_found && break 3 4004 done 4005 done 4006 done 4007IFS=$as_save_IFS 4008 if test -z "$ac_cv_path_EGREP"; then 4009 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4010 fi 4011else 4012 ac_cv_path_EGREP=$EGREP 4013fi 4014 4015 fi 4016fi 4017{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4018$as_echo "$ac_cv_path_EGREP" >&6; } 4019 EGREP="$ac_cv_path_EGREP" 4020 4021 4022{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4023$as_echo_n "checking for fgrep... " >&6; } 4024if ${ac_cv_path_FGREP+:} false; then : 4025 $as_echo_n "(cached) " >&6 4026else 4027 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4028 then ac_cv_path_FGREP="$GREP -F" 4029 else 4030 if test -z "$FGREP"; then 4031 ac_path_FGREP_found=false 4032 # Loop through the user's path and test for each of PROGNAME-LIST 4033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4034for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4035do 4036 IFS=$as_save_IFS 4037 test -z "$as_dir" && as_dir=. 4038 for ac_prog in fgrep; do 4039 for ac_exec_ext in '' $ac_executable_extensions; do 4040 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4041 as_fn_executable_p "$ac_path_FGREP" || continue 4042# Check for GNU ac_path_FGREP and select it if it is found. 4043 # Check for GNU $ac_path_FGREP 4044case `"$ac_path_FGREP" --version 2>&1` in 4045*GNU*) 4046 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4047*) 4048 ac_count=0 4049 $as_echo_n 0123456789 >"conftest.in" 4050 while : 4051 do 4052 cat "conftest.in" "conftest.in" >"conftest.tmp" 4053 mv "conftest.tmp" "conftest.in" 4054 cp "conftest.in" "conftest.nl" 4055 $as_echo 'FGREP' >> "conftest.nl" 4056 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4057 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4058 as_fn_arith $ac_count + 1 && ac_count=$as_val 4059 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4060 # Best one so far, save it but keep looking for a better one 4061 ac_cv_path_FGREP="$ac_path_FGREP" 4062 ac_path_FGREP_max=$ac_count 4063 fi 4064 # 10*(2^10) chars as input seems more than enough 4065 test $ac_count -gt 10 && break 4066 done 4067 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4068esac 4069 4070 $ac_path_FGREP_found && break 3 4071 done 4072 done 4073 done 4074IFS=$as_save_IFS 4075 if test -z "$ac_cv_path_FGREP"; then 4076 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4077 fi 4078else 4079 ac_cv_path_FGREP=$FGREP 4080fi 4081 4082 fi 4083fi 4084{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4085$as_echo "$ac_cv_path_FGREP" >&6; } 4086 FGREP="$ac_cv_path_FGREP" 4087 4088 4089test -z "$GREP" && GREP=grep 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109# Check whether --with-gnu-ld was given. 4110if test "${with_gnu_ld+set}" = set; then : 4111 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 4112else 4113 with_gnu_ld=no 4114fi 4115 4116ac_prog=ld 4117if test yes = "$GCC"; then 4118 # Check if gcc -print-prog-name=ld gives a path. 4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4120$as_echo_n "checking for ld used by $CC... " >&6; } 4121 case $host in 4122 *-*-mingw*) 4123 # gcc leaves a trailing carriage return, which upsets mingw 4124 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4125 *) 4126 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4127 esac 4128 case $ac_prog in 4129 # Accept absolute paths. 4130 [\\/]* | ?:[\\/]*) 4131 re_direlt='/[^/][^/]*/\.\./' 4132 # Canonicalize the pathname of ld 4133 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4134 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4135 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4136 done 4137 test -z "$LD" && LD=$ac_prog 4138 ;; 4139 "") 4140 # If it fails, then pretend we aren't using GCC. 4141 ac_prog=ld 4142 ;; 4143 *) 4144 # If it is relative, then search for the first ld in PATH. 4145 with_gnu_ld=unknown 4146 ;; 4147 esac 4148elif test yes = "$with_gnu_ld"; then 4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4150$as_echo_n "checking for GNU ld... " >&6; } 4151else 4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4153$as_echo_n "checking for non-GNU ld... " >&6; } 4154fi 4155if ${lt_cv_path_LD+:} false; then : 4156 $as_echo_n "(cached) " >&6 4157else 4158 if test -z "$LD"; then 4159 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4160 for ac_dir in $PATH; do 4161 IFS=$lt_save_ifs 4162 test -z "$ac_dir" && ac_dir=. 4163 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4164 lt_cv_path_LD=$ac_dir/$ac_prog 4165 # Check to see if the program is GNU ld. I'd rather use --version, 4166 # but apparently some variants of GNU ld only accept -v. 4167 # Break only if it was the GNU/non-GNU ld that we prefer. 4168 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4169 *GNU* | *'with BFD'*) 4170 test no != "$with_gnu_ld" && break 4171 ;; 4172 *) 4173 test yes != "$with_gnu_ld" && break 4174 ;; 4175 esac 4176 fi 4177 done 4178 IFS=$lt_save_ifs 4179else 4180 lt_cv_path_LD=$LD # Let the user override the test with a path. 4181fi 4182fi 4183 4184LD=$lt_cv_path_LD 4185if test -n "$LD"; then 4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4187$as_echo "$LD" >&6; } 4188else 4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4190$as_echo "no" >&6; } 4191fi 4192test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4193{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4194$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4195if ${lt_cv_prog_gnu_ld+:} false; then : 4196 $as_echo_n "(cached) " >&6 4197else 4198 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4199case `$LD -v 2>&1 </dev/null` in 4200*GNU* | *'with BFD'*) 4201 lt_cv_prog_gnu_ld=yes 4202 ;; 4203*) 4204 lt_cv_prog_gnu_ld=no 4205 ;; 4206esac 4207fi 4208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4209$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4210with_gnu_ld=$lt_cv_prog_gnu_ld 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4221$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4222if ${lt_cv_path_NM+:} false; then : 4223 $as_echo_n "(cached) " >&6 4224else 4225 if test -n "$NM"; then 4226 # Let the user override the test. 4227 lt_cv_path_NM=$NM 4228else 4229 lt_nm_to_check=${ac_tool_prefix}nm 4230 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4231 lt_nm_to_check="$lt_nm_to_check nm" 4232 fi 4233 for lt_tmp_nm in $lt_nm_to_check; do 4234 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4235 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4236 IFS=$lt_save_ifs 4237 test -z "$ac_dir" && ac_dir=. 4238 tmp_nm=$ac_dir/$lt_tmp_nm 4239 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 4240 # Check to see if the nm accepts a BSD-compat flag. 4241 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 4242 # nm: unknown option "B" ignored 4243 # Tru64's nm complains that /dev/null is an invalid object file 4244 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 4245 case $build_os in 4246 mingw*) lt_bad_file=conftest.nm/nofile ;; 4247 *) lt_bad_file=/dev/null ;; 4248 esac 4249 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 4250 *$lt_bad_file* | *'Invalid file or object type'*) 4251 lt_cv_path_NM="$tmp_nm -B" 4252 break 2 4253 ;; 4254 *) 4255 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4256 */dev/null*) 4257 lt_cv_path_NM="$tmp_nm -p" 4258 break 2 4259 ;; 4260 *) 4261 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4262 continue # so that we can try to find one that supports BSD flags 4263 ;; 4264 esac 4265 ;; 4266 esac 4267 fi 4268 done 4269 IFS=$lt_save_ifs 4270 done 4271 : ${lt_cv_path_NM=no} 4272fi 4273fi 4274{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4275$as_echo "$lt_cv_path_NM" >&6; } 4276if test no != "$lt_cv_path_NM"; then 4277 NM=$lt_cv_path_NM 4278else 4279 # Didn't find any BSD compatible name lister, look for dumpbin. 4280 if test -n "$DUMPBIN"; then : 4281 # Let the user override the test. 4282 else 4283 if test -n "$ac_tool_prefix"; then 4284 for ac_prog in dumpbin "link -dump" 4285 do 4286 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4287set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4289$as_echo_n "checking for $ac_word... " >&6; } 4290if ${ac_cv_prog_DUMPBIN+:} false; then : 4291 $as_echo_n "(cached) " >&6 4292else 4293 if test -n "$DUMPBIN"; then 4294 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4295else 4296as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4297for as_dir in $PATH 4298do 4299 IFS=$as_save_IFS 4300 test -z "$as_dir" && as_dir=. 4301 for ac_exec_ext in '' $ac_executable_extensions; do 4302 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4303 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4305 break 2 4306 fi 4307done 4308 done 4309IFS=$as_save_IFS 4310 4311fi 4312fi 4313DUMPBIN=$ac_cv_prog_DUMPBIN 4314if test -n "$DUMPBIN"; then 4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4316$as_echo "$DUMPBIN" >&6; } 4317else 4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4319$as_echo "no" >&6; } 4320fi 4321 4322 4323 test -n "$DUMPBIN" && break 4324 done 4325fi 4326if test -z "$DUMPBIN"; then 4327 ac_ct_DUMPBIN=$DUMPBIN 4328 for ac_prog in dumpbin "link -dump" 4329do 4330 # Extract the first word of "$ac_prog", so it can be a program name with args. 4331set dummy $ac_prog; ac_word=$2 4332{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4333$as_echo_n "checking for $ac_word... " >&6; } 4334if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4335 $as_echo_n "(cached) " >&6 4336else 4337 if test -n "$ac_ct_DUMPBIN"; then 4338 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4339else 4340as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4341for as_dir in $PATH 4342do 4343 IFS=$as_save_IFS 4344 test -z "$as_dir" && as_dir=. 4345 for ac_exec_ext in '' $ac_executable_extensions; do 4346 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4347 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4349 break 2 4350 fi 4351done 4352 done 4353IFS=$as_save_IFS 4354 4355fi 4356fi 4357ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4358if test -n "$ac_ct_DUMPBIN"; then 4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4360$as_echo "$ac_ct_DUMPBIN" >&6; } 4361else 4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4363$as_echo "no" >&6; } 4364fi 4365 4366 4367 test -n "$ac_ct_DUMPBIN" && break 4368done 4369 4370 if test "x$ac_ct_DUMPBIN" = x; then 4371 DUMPBIN=":" 4372 else 4373 case $cross_compiling:$ac_tool_warned in 4374yes:) 4375{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4376$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4377ac_tool_warned=yes ;; 4378esac 4379 DUMPBIN=$ac_ct_DUMPBIN 4380 fi 4381fi 4382 4383 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 4384 *COFF*) 4385 DUMPBIN="$DUMPBIN -symbols -headers" 4386 ;; 4387 *) 4388 DUMPBIN=: 4389 ;; 4390 esac 4391 fi 4392 4393 if test : != "$DUMPBIN"; then 4394 NM=$DUMPBIN 4395 fi 4396fi 4397test -z "$NM" && NM=nm 4398 4399 4400 4401 4402 4403 4404{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4405$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4406if ${lt_cv_nm_interface+:} false; then : 4407 $as_echo_n "(cached) " >&6 4408else 4409 lt_cv_nm_interface="BSD nm" 4410 echo "int some_variable = 0;" > conftest.$ac_ext 4411 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 4412 (eval "$ac_compile" 2>conftest.err) 4413 cat conftest.err >&5 4414 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4415 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4416 cat conftest.err >&5 4417 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 4418 cat conftest.out >&5 4419 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4420 lt_cv_nm_interface="MS dumpbin" 4421 fi 4422 rm -f conftest* 4423fi 4424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4425$as_echo "$lt_cv_nm_interface" >&6; } 4426 4427{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4428$as_echo_n "checking whether ln -s works... " >&6; } 4429LN_S=$as_ln_s 4430if test "$LN_S" = "ln -s"; then 4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4432$as_echo "yes" >&6; } 4433else 4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4435$as_echo "no, using $LN_S" >&6; } 4436fi 4437 4438# find the maximum length of command line arguments 4439{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4440$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4441if ${lt_cv_sys_max_cmd_len+:} false; then : 4442 $as_echo_n "(cached) " >&6 4443else 4444 i=0 4445 teststring=ABCD 4446 4447 case $build_os in 4448 msdosdjgpp*) 4449 # On DJGPP, this test can blow up pretty badly due to problems in libc 4450 # (any single argument exceeding 2000 bytes causes a buffer overrun 4451 # during glob expansion). Even if it were fixed, the result of this 4452 # check would be larger than it should be. 4453 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4454 ;; 4455 4456 gnu*) 4457 # Under GNU Hurd, this test is not required because there is 4458 # no limit to the length of command line arguments. 4459 # Libtool will interpret -1 as no limit whatsoever 4460 lt_cv_sys_max_cmd_len=-1; 4461 ;; 4462 4463 cygwin* | mingw* | cegcc*) 4464 # On Win9x/ME, this test blows up -- it succeeds, but takes 4465 # about 5 minutes as the teststring grows exponentially. 4466 # Worse, since 9x/ME are not pre-emptively multitasking, 4467 # you end up with a "frozen" computer, even though with patience 4468 # the test eventually succeeds (with a max line length of 256k). 4469 # Instead, let's just punt: use the minimum linelength reported by 4470 # all of the supported platforms: 8192 (on NT/2K/XP). 4471 lt_cv_sys_max_cmd_len=8192; 4472 ;; 4473 4474 mint*) 4475 # On MiNT this can take a long time and run out of memory. 4476 lt_cv_sys_max_cmd_len=8192; 4477 ;; 4478 4479 amigaos*) 4480 # On AmigaOS with pdksh, this test takes hours, literally. 4481 # So we just punt and use a minimum line length of 8192. 4482 lt_cv_sys_max_cmd_len=8192; 4483 ;; 4484 4485 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 4486 # This has been around since 386BSD, at least. Likely further. 4487 if test -x /sbin/sysctl; then 4488 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4489 elif test -x /usr/sbin/sysctl; then 4490 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4491 else 4492 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4493 fi 4494 # And add a safety zone 4495 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4496 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4497 ;; 4498 4499 interix*) 4500 # We know the value 262144 and hardcode it with a safety zone (like BSD) 4501 lt_cv_sys_max_cmd_len=196608 4502 ;; 4503 4504 os2*) 4505 # The test takes a long time on OS/2. 4506 lt_cv_sys_max_cmd_len=8192 4507 ;; 4508 4509 osf*) 4510 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 4511 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 4512 # nice to cause kernel panics so lets avoid the loop below. 4513 # First set a reasonable default. 4514 lt_cv_sys_max_cmd_len=16384 4515 # 4516 if test -x /sbin/sysconfig; then 4517 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 4518 *1*) lt_cv_sys_max_cmd_len=-1 ;; 4519 esac 4520 fi 4521 ;; 4522 sco3.2v5*) 4523 lt_cv_sys_max_cmd_len=102400 4524 ;; 4525 sysv5* | sco5v6* | sysv4.2uw2*) 4526 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 4527 if test -n "$kargmax"; then 4528 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 4529 else 4530 lt_cv_sys_max_cmd_len=32768 4531 fi 4532 ;; 4533 *) 4534 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 4535 if test -n "$lt_cv_sys_max_cmd_len" && \ 4536 test undefined != "$lt_cv_sys_max_cmd_len"; then 4537 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4538 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4539 else 4540 # Make teststring a little bigger before we do anything with it. 4541 # a 1K string should be a reasonable start. 4542 for i in 1 2 3 4 5 6 7 8; do 4543 teststring=$teststring$teststring 4544 done 4545 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 4546 # If test is not a shell built-in, we'll probably end up computing a 4547 # maximum length that is only half of the actual maximum length, but 4548 # we can't tell. 4549 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 4550 = "X$teststring$teststring"; } >/dev/null 2>&1 && 4551 test 17 != "$i" # 1/2 MB should be enough 4552 do 4553 i=`expr $i + 1` 4554 teststring=$teststring$teststring 4555 done 4556 # Only check the string length outside the loop. 4557 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 4558 teststring= 4559 # Add a significant safety factor because C++ compilers can tack on 4560 # massive amounts of additional arguments before passing them to the 4561 # linker. It appears as though 1/2 is a usable value. 4562 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 4563 fi 4564 ;; 4565 esac 4566 4567fi 4568 4569if test -n "$lt_cv_sys_max_cmd_len"; then 4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 4571$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 4572else 4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 4574$as_echo "none" >&6; } 4575fi 4576max_cmd_len=$lt_cv_sys_max_cmd_len 4577 4578 4579 4580 4581 4582 4583: ${CP="cp -f"} 4584: ${MV="mv -f"} 4585: ${RM="rm -f"} 4586 4587if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4588 lt_unset=unset 4589else 4590 lt_unset=false 4591fi 4592 4593 4594 4595 4596 4597# test EBCDIC or ASCII 4598case `echo X|tr X '\101'` in 4599 A) # ASCII based system 4600 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 4601 lt_SP2NL='tr \040 \012' 4602 lt_NL2SP='tr \015\012 \040\040' 4603 ;; 4604 *) # EBCDIC based system 4605 lt_SP2NL='tr \100 \n' 4606 lt_NL2SP='tr \r\n \100\100' 4607 ;; 4608esac 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 4619$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 4620if ${lt_cv_to_host_file_cmd+:} false; then : 4621 $as_echo_n "(cached) " >&6 4622else 4623 case $host in 4624 *-*-mingw* ) 4625 case $build in 4626 *-*-mingw* ) # actually msys 4627 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 4628 ;; 4629 *-*-cygwin* ) 4630 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 4631 ;; 4632 * ) # otherwise, assume *nix 4633 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 4634 ;; 4635 esac 4636 ;; 4637 *-*-cygwin* ) 4638 case $build in 4639 *-*-mingw* ) # actually msys 4640 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 4641 ;; 4642 *-*-cygwin* ) 4643 lt_cv_to_host_file_cmd=func_convert_file_noop 4644 ;; 4645 * ) # otherwise, assume *nix 4646 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 4647 ;; 4648 esac 4649 ;; 4650 * ) # unhandled hosts (and "normal" native builds) 4651 lt_cv_to_host_file_cmd=func_convert_file_noop 4652 ;; 4653esac 4654 4655fi 4656 4657to_host_file_cmd=$lt_cv_to_host_file_cmd 4658{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 4659$as_echo "$lt_cv_to_host_file_cmd" >&6; } 4660 4661 4662 4663 4664 4665{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 4666$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 4667if ${lt_cv_to_tool_file_cmd+:} false; then : 4668 $as_echo_n "(cached) " >&6 4669else 4670 #assume ordinary cross tools, or native build. 4671lt_cv_to_tool_file_cmd=func_convert_file_noop 4672case $host in 4673 *-*-mingw* ) 4674 case $build in 4675 *-*-mingw* ) # actually msys 4676 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 4677 ;; 4678 esac 4679 ;; 4680esac 4681 4682fi 4683 4684to_tool_file_cmd=$lt_cv_to_tool_file_cmd 4685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 4686$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 4687 4688 4689 4690 4691 4692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 4693$as_echo_n "checking for $LD option to reload object files... " >&6; } 4694if ${lt_cv_ld_reload_flag+:} false; then : 4695 $as_echo_n "(cached) " >&6 4696else 4697 lt_cv_ld_reload_flag='-r' 4698fi 4699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 4700$as_echo "$lt_cv_ld_reload_flag" >&6; } 4701reload_flag=$lt_cv_ld_reload_flag 4702case $reload_flag in 4703"" | " "*) ;; 4704*) reload_flag=" $reload_flag" ;; 4705esac 4706reload_cmds='$LD$reload_flag -o $output$reload_objs' 4707case $host_os in 4708 cygwin* | mingw* | pw32* | cegcc*) 4709 if test yes != "$GCC"; then 4710 reload_cmds=false 4711 fi 4712 ;; 4713 darwin*) 4714 if test yes = "$GCC"; then 4715 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 4716 else 4717 reload_cmds='$LD$reload_flag -o $output$reload_objs' 4718 fi 4719 ;; 4720esac 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730if test -n "$ac_tool_prefix"; then 4731 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4732set dummy ${ac_tool_prefix}objdump; ac_word=$2 4733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4734$as_echo_n "checking for $ac_word... " >&6; } 4735if ${ac_cv_prog_OBJDUMP+:} false; then : 4736 $as_echo_n "(cached) " >&6 4737else 4738 if test -n "$OBJDUMP"; then 4739 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4740else 4741as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4742for as_dir in $PATH 4743do 4744 IFS=$as_save_IFS 4745 test -z "$as_dir" && as_dir=. 4746 for ac_exec_ext in '' $ac_executable_extensions; do 4747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4748 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4750 break 2 4751 fi 4752done 4753 done 4754IFS=$as_save_IFS 4755 4756fi 4757fi 4758OBJDUMP=$ac_cv_prog_OBJDUMP 4759if test -n "$OBJDUMP"; then 4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 4761$as_echo "$OBJDUMP" >&6; } 4762else 4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4764$as_echo "no" >&6; } 4765fi 4766 4767 4768fi 4769if test -z "$ac_cv_prog_OBJDUMP"; then 4770 ac_ct_OBJDUMP=$OBJDUMP 4771 # Extract the first word of "objdump", so it can be a program name with args. 4772set dummy objdump; ac_word=$2 4773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4774$as_echo_n "checking for $ac_word... " >&6; } 4775if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 4776 $as_echo_n "(cached) " >&6 4777else 4778 if test -n "$ac_ct_OBJDUMP"; then 4779 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4780else 4781as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4782for as_dir in $PATH 4783do 4784 IFS=$as_save_IFS 4785 test -z "$as_dir" && as_dir=. 4786 for ac_exec_ext in '' $ac_executable_extensions; do 4787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4788 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4790 break 2 4791 fi 4792done 4793 done 4794IFS=$as_save_IFS 4795 4796fi 4797fi 4798ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4799if test -n "$ac_ct_OBJDUMP"; then 4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 4801$as_echo "$ac_ct_OBJDUMP" >&6; } 4802else 4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4804$as_echo "no" >&6; } 4805fi 4806 4807 if test "x$ac_ct_OBJDUMP" = x; then 4808 OBJDUMP="false" 4809 else 4810 case $cross_compiling:$ac_tool_warned in 4811yes:) 4812{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4813$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4814ac_tool_warned=yes ;; 4815esac 4816 OBJDUMP=$ac_ct_OBJDUMP 4817 fi 4818else 4819 OBJDUMP="$ac_cv_prog_OBJDUMP" 4820fi 4821 4822test -z "$OBJDUMP" && OBJDUMP=objdump 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 4833$as_echo_n "checking how to recognize dependent libraries... " >&6; } 4834if ${lt_cv_deplibs_check_method+:} false; then : 4835 $as_echo_n "(cached) " >&6 4836else 4837 lt_cv_file_magic_cmd='$MAGIC_CMD' 4838lt_cv_file_magic_test_file= 4839lt_cv_deplibs_check_method='unknown' 4840# Need to set the preceding variable on all platforms that support 4841# interlibrary dependencies. 4842# 'none' -- dependencies not supported. 4843# 'unknown' -- same as none, but documents that we really don't know. 4844# 'pass_all' -- all dependencies passed with no checks. 4845# 'test_compile' -- check by making test program. 4846# 'file_magic [[regex]]' -- check by looking for files in library path 4847# that responds to the $file_magic_cmd with a given extended regex. 4848# If you have 'file' or equivalent on your system and you're not sure 4849# whether 'pass_all' will *always* work, you probably want this one. 4850 4851case $host_os in 4852aix[4-9]*) 4853 lt_cv_deplibs_check_method=pass_all 4854 ;; 4855 4856beos*) 4857 lt_cv_deplibs_check_method=pass_all 4858 ;; 4859 4860bsdi[45]*) 4861 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 4862 lt_cv_file_magic_cmd='/usr/bin/file -L' 4863 lt_cv_file_magic_test_file=/shlib/libc.so 4864 ;; 4865 4866cygwin*) 4867 # func_win32_libid is a shell function defined in ltmain.sh 4868 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 4869 lt_cv_file_magic_cmd='func_win32_libid' 4870 ;; 4871 4872mingw* | pw32*) 4873 # Base MSYS/MinGW do not provide the 'file' command needed by 4874 # func_win32_libid shell function, so use a weaker test based on 'objdump', 4875 # unless we find 'file', for example because we are cross-compiling. 4876 if ( file / ) >/dev/null 2>&1; then 4877 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 4878 lt_cv_file_magic_cmd='func_win32_libid' 4879 else 4880 # Keep this pattern in sync with the one in func_win32_libid. 4881 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 4882 lt_cv_file_magic_cmd='$OBJDUMP -f' 4883 fi 4884 ;; 4885 4886cegcc*) 4887 # use the weaker test based on 'objdump'. See mingw*. 4888 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 4889 lt_cv_file_magic_cmd='$OBJDUMP -f' 4890 ;; 4891 4892darwin* | rhapsody*) 4893 lt_cv_deplibs_check_method=pass_all 4894 ;; 4895 4896freebsd* | dragonfly*) 4897 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 4898 case $host_cpu in 4899 i*86 ) 4900 # Not sure whether the presence of OpenBSD here was a mistake. 4901 # Let's accept both of them until this is cleared up. 4902 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 4903 lt_cv_file_magic_cmd=/usr/bin/file 4904 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 4905 ;; 4906 esac 4907 else 4908 lt_cv_deplibs_check_method=pass_all 4909 fi 4910 ;; 4911 4912haiku*) 4913 lt_cv_deplibs_check_method=pass_all 4914 ;; 4915 4916hpux10.20* | hpux11*) 4917 lt_cv_file_magic_cmd=/usr/bin/file 4918 case $host_cpu in 4919 ia64*) 4920 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 4921 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 4922 ;; 4923 hppa*64*) 4924 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]' 4925 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 4926 ;; 4927 *) 4928 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 4929 lt_cv_file_magic_test_file=/usr/lib/libc.sl 4930 ;; 4931 esac 4932 ;; 4933 4934interix[3-9]*) 4935 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 4936 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 4937 ;; 4938 4939irix5* | irix6* | nonstopux*) 4940 case $LD in 4941 *-32|*"-32 ") libmagic=32-bit;; 4942 *-n32|*"-n32 ") libmagic=N32;; 4943 *-64|*"-64 ") libmagic=64-bit;; 4944 *) libmagic=never-match;; 4945 esac 4946 lt_cv_deplibs_check_method=pass_all 4947 ;; 4948 4949# This must be glibc/ELF. 4950linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 4951 lt_cv_deplibs_check_method=pass_all 4952 ;; 4953 4954netbsd*) 4955 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 4956 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 4957 else 4958 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 4959 fi 4960 ;; 4961 4962newos6*) 4963 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 4964 lt_cv_file_magic_cmd=/usr/bin/file 4965 lt_cv_file_magic_test_file=/usr/lib/libnls.so 4966 ;; 4967 4968*nto* | *qnx*) 4969 lt_cv_deplibs_check_method=pass_all 4970 ;; 4971 4972openbsd* | bitrig*) 4973 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 4974 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 4975 else 4976 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 4977 fi 4978 ;; 4979 4980osf3* | osf4* | osf5*) 4981 lt_cv_deplibs_check_method=pass_all 4982 ;; 4983 4984rdos*) 4985 lt_cv_deplibs_check_method=pass_all 4986 ;; 4987 4988solaris*) 4989 lt_cv_deplibs_check_method=pass_all 4990 ;; 4991 4992sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 4993 lt_cv_deplibs_check_method=pass_all 4994 ;; 4995 4996sysv4 | sysv4.3*) 4997 case $host_vendor in 4998 motorola) 4999 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]' 5000 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5001 ;; 5002 ncr) 5003 lt_cv_deplibs_check_method=pass_all 5004 ;; 5005 sequent) 5006 lt_cv_file_magic_cmd='/bin/file' 5007 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5008 ;; 5009 sni) 5010 lt_cv_file_magic_cmd='/bin/file' 5011 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5012 lt_cv_file_magic_test_file=/lib/libc.so 5013 ;; 5014 siemens) 5015 lt_cv_deplibs_check_method=pass_all 5016 ;; 5017 pc) 5018 lt_cv_deplibs_check_method=pass_all 5019 ;; 5020 esac 5021 ;; 5022 5023tpf*) 5024 lt_cv_deplibs_check_method=pass_all 5025 ;; 5026os2*) 5027 lt_cv_deplibs_check_method=pass_all 5028 ;; 5029esac 5030 5031fi 5032{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5033$as_echo "$lt_cv_deplibs_check_method" >&6; } 5034 5035file_magic_glob= 5036want_nocaseglob=no 5037if test "$build" = "$host"; then 5038 case $host_os in 5039 mingw* | pw32*) 5040 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5041 want_nocaseglob=yes 5042 else 5043 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5044 fi 5045 ;; 5046 esac 5047fi 5048 5049file_magic_cmd=$lt_cv_file_magic_cmd 5050deplibs_check_method=$lt_cv_deplibs_check_method 5051test -z "$deplibs_check_method" && deplibs_check_method=unknown 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074if test -n "$ac_tool_prefix"; then 5075 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5076set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5078$as_echo_n "checking for $ac_word... " >&6; } 5079if ${ac_cv_prog_DLLTOOL+:} false; then : 5080 $as_echo_n "(cached) " >&6 5081else 5082 if test -n "$DLLTOOL"; then 5083 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5084else 5085as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5086for as_dir in $PATH 5087do 5088 IFS=$as_save_IFS 5089 test -z "$as_dir" && as_dir=. 5090 for ac_exec_ext in '' $ac_executable_extensions; do 5091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5092 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5094 break 2 5095 fi 5096done 5097 done 5098IFS=$as_save_IFS 5099 5100fi 5101fi 5102DLLTOOL=$ac_cv_prog_DLLTOOL 5103if test -n "$DLLTOOL"; then 5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5105$as_echo "$DLLTOOL" >&6; } 5106else 5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5108$as_echo "no" >&6; } 5109fi 5110 5111 5112fi 5113if test -z "$ac_cv_prog_DLLTOOL"; then 5114 ac_ct_DLLTOOL=$DLLTOOL 5115 # Extract the first word of "dlltool", so it can be a program name with args. 5116set dummy dlltool; ac_word=$2 5117{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5118$as_echo_n "checking for $ac_word... " >&6; } 5119if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5120 $as_echo_n "(cached) " >&6 5121else 5122 if test -n "$ac_ct_DLLTOOL"; then 5123 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5124else 5125as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5126for as_dir in $PATH 5127do 5128 IFS=$as_save_IFS 5129 test -z "$as_dir" && as_dir=. 5130 for ac_exec_ext in '' $ac_executable_extensions; do 5131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5132 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5134 break 2 5135 fi 5136done 5137 done 5138IFS=$as_save_IFS 5139 5140fi 5141fi 5142ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5143if test -n "$ac_ct_DLLTOOL"; then 5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5145$as_echo "$ac_ct_DLLTOOL" >&6; } 5146else 5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5148$as_echo "no" >&6; } 5149fi 5150 5151 if test "x$ac_ct_DLLTOOL" = x; then 5152 DLLTOOL="false" 5153 else 5154 case $cross_compiling:$ac_tool_warned in 5155yes:) 5156{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5157$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5158ac_tool_warned=yes ;; 5159esac 5160 DLLTOOL=$ac_ct_DLLTOOL 5161 fi 5162else 5163 DLLTOOL="$ac_cv_prog_DLLTOOL" 5164fi 5165 5166test -z "$DLLTOOL" && DLLTOOL=dlltool 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5178$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5179if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5180 $as_echo_n "(cached) " >&6 5181else 5182 lt_cv_sharedlib_from_linklib_cmd='unknown' 5183 5184case $host_os in 5185cygwin* | mingw* | pw32* | cegcc*) 5186 # two different shell functions defined in ltmain.sh; 5187 # decide which one to use based on capabilities of $DLLTOOL 5188 case `$DLLTOOL --help 2>&1` in 5189 *--identify-strict*) 5190 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5191 ;; 5192 *) 5193 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5194 ;; 5195 esac 5196 ;; 5197*) 5198 # fallback: assume linklib IS sharedlib 5199 lt_cv_sharedlib_from_linklib_cmd=$ECHO 5200 ;; 5201esac 5202 5203fi 5204{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5205$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5206sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5207test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5208 5209 5210 5211 5212 5213 5214 5215 5216if test -n "$ac_tool_prefix"; then 5217 for ac_prog in ar 5218 do 5219 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5220set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5222$as_echo_n "checking for $ac_word... " >&6; } 5223if ${ac_cv_prog_AR+:} false; then : 5224 $as_echo_n "(cached) " >&6 5225else 5226 if test -n "$AR"; then 5227 ac_cv_prog_AR="$AR" # Let the user override the test. 5228else 5229as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5230for as_dir in $PATH 5231do 5232 IFS=$as_save_IFS 5233 test -z "$as_dir" && as_dir=. 5234 for ac_exec_ext in '' $ac_executable_extensions; do 5235 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5236 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5238 break 2 5239 fi 5240done 5241 done 5242IFS=$as_save_IFS 5243 5244fi 5245fi 5246AR=$ac_cv_prog_AR 5247if test -n "$AR"; then 5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5249$as_echo "$AR" >&6; } 5250else 5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5252$as_echo "no" >&6; } 5253fi 5254 5255 5256 test -n "$AR" && break 5257 done 5258fi 5259if test -z "$AR"; then 5260 ac_ct_AR=$AR 5261 for ac_prog in ar 5262do 5263 # Extract the first word of "$ac_prog", so it can be a program name with args. 5264set dummy $ac_prog; ac_word=$2 5265{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5266$as_echo_n "checking for $ac_word... " >&6; } 5267if ${ac_cv_prog_ac_ct_AR+:} false; then : 5268 $as_echo_n "(cached) " >&6 5269else 5270 if test -n "$ac_ct_AR"; then 5271 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5272else 5273as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5274for as_dir in $PATH 5275do 5276 IFS=$as_save_IFS 5277 test -z "$as_dir" && as_dir=. 5278 for ac_exec_ext in '' $ac_executable_extensions; do 5279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5280 ac_cv_prog_ac_ct_AR="$ac_prog" 5281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5282 break 2 5283 fi 5284done 5285 done 5286IFS=$as_save_IFS 5287 5288fi 5289fi 5290ac_ct_AR=$ac_cv_prog_ac_ct_AR 5291if test -n "$ac_ct_AR"; then 5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5293$as_echo "$ac_ct_AR" >&6; } 5294else 5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5296$as_echo "no" >&6; } 5297fi 5298 5299 5300 test -n "$ac_ct_AR" && break 5301done 5302 5303 if test "x$ac_ct_AR" = x; then 5304 AR="false" 5305 else 5306 case $cross_compiling:$ac_tool_warned in 5307yes:) 5308{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5309$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5310ac_tool_warned=yes ;; 5311esac 5312 AR=$ac_ct_AR 5313 fi 5314fi 5315 5316: ${AR=ar} 5317: ${AR_FLAGS=cru} 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 5330$as_echo_n "checking for archiver @FILE support... " >&6; } 5331if ${lt_cv_ar_at_file+:} false; then : 5332 $as_echo_n "(cached) " >&6 5333else 5334 lt_cv_ar_at_file=no 5335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5336/* end confdefs.h. */ 5337 5338int 5339main () 5340{ 5341 5342 ; 5343 return 0; 5344} 5345_ACEOF 5346if ac_fn_c_try_compile "$LINENO"; then : 5347 echo conftest.$ac_objext > conftest.lst 5348 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 5349 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5350 (eval $lt_ar_try) 2>&5 5351 ac_status=$? 5352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5353 test $ac_status = 0; } 5354 if test 0 -eq "$ac_status"; then 5355 # Ensure the archiver fails upon bogus file names. 5356 rm -f conftest.$ac_objext libconftest.a 5357 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5358 (eval $lt_ar_try) 2>&5 5359 ac_status=$? 5360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5361 test $ac_status = 0; } 5362 if test 0 -ne "$ac_status"; then 5363 lt_cv_ar_at_file=@ 5364 fi 5365 fi 5366 rm -f conftest.* libconftest.a 5367 5368fi 5369rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5370 5371fi 5372{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 5373$as_echo "$lt_cv_ar_at_file" >&6; } 5374 5375if test no = "$lt_cv_ar_at_file"; then 5376 archiver_list_spec= 5377else 5378 archiver_list_spec=$lt_cv_ar_at_file 5379fi 5380 5381 5382 5383 5384 5385 5386 5387if test -n "$ac_tool_prefix"; then 5388 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5389set dummy ${ac_tool_prefix}strip; ac_word=$2 5390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5391$as_echo_n "checking for $ac_word... " >&6; } 5392if ${ac_cv_prog_STRIP+:} false; then : 5393 $as_echo_n "(cached) " >&6 5394else 5395 if test -n "$STRIP"; then 5396 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5397else 5398as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5399for as_dir in $PATH 5400do 5401 IFS=$as_save_IFS 5402 test -z "$as_dir" && as_dir=. 5403 for ac_exec_ext in '' $ac_executable_extensions; do 5404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5405 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5407 break 2 5408 fi 5409done 5410 done 5411IFS=$as_save_IFS 5412 5413fi 5414fi 5415STRIP=$ac_cv_prog_STRIP 5416if test -n "$STRIP"; then 5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5418$as_echo "$STRIP" >&6; } 5419else 5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5421$as_echo "no" >&6; } 5422fi 5423 5424 5425fi 5426if test -z "$ac_cv_prog_STRIP"; then 5427 ac_ct_STRIP=$STRIP 5428 # Extract the first word of "strip", so it can be a program name with args. 5429set dummy strip; ac_word=$2 5430{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5431$as_echo_n "checking for $ac_word... " >&6; } 5432if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 5433 $as_echo_n "(cached) " >&6 5434else 5435 if test -n "$ac_ct_STRIP"; then 5436 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5437else 5438as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5439for as_dir in $PATH 5440do 5441 IFS=$as_save_IFS 5442 test -z "$as_dir" && as_dir=. 5443 for ac_exec_ext in '' $ac_executable_extensions; do 5444 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5445 ac_cv_prog_ac_ct_STRIP="strip" 5446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5447 break 2 5448 fi 5449done 5450 done 5451IFS=$as_save_IFS 5452 5453fi 5454fi 5455ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5456if test -n "$ac_ct_STRIP"; then 5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5458$as_echo "$ac_ct_STRIP" >&6; } 5459else 5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5461$as_echo "no" >&6; } 5462fi 5463 5464 if test "x$ac_ct_STRIP" = x; then 5465 STRIP=":" 5466 else 5467 case $cross_compiling:$ac_tool_warned in 5468yes:) 5469{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5470$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5471ac_tool_warned=yes ;; 5472esac 5473 STRIP=$ac_ct_STRIP 5474 fi 5475else 5476 STRIP="$ac_cv_prog_STRIP" 5477fi 5478 5479test -z "$STRIP" && STRIP=: 5480 5481 5482 5483 5484 5485 5486if test -n "$ac_tool_prefix"; then 5487 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5488set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5490$as_echo_n "checking for $ac_word... " >&6; } 5491if ${ac_cv_prog_RANLIB+:} false; then : 5492 $as_echo_n "(cached) " >&6 5493else 5494 if test -n "$RANLIB"; then 5495 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5496else 5497as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5498for as_dir in $PATH 5499do 5500 IFS=$as_save_IFS 5501 test -z "$as_dir" && as_dir=. 5502 for ac_exec_ext in '' $ac_executable_extensions; do 5503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5504 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5506 break 2 5507 fi 5508done 5509 done 5510IFS=$as_save_IFS 5511 5512fi 5513fi 5514RANLIB=$ac_cv_prog_RANLIB 5515if test -n "$RANLIB"; then 5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5517$as_echo "$RANLIB" >&6; } 5518else 5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5520$as_echo "no" >&6; } 5521fi 5522 5523 5524fi 5525if test -z "$ac_cv_prog_RANLIB"; then 5526 ac_ct_RANLIB=$RANLIB 5527 # Extract the first word of "ranlib", so it can be a program name with args. 5528set dummy ranlib; ac_word=$2 5529{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5530$as_echo_n "checking for $ac_word... " >&6; } 5531if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 5532 $as_echo_n "(cached) " >&6 5533else 5534 if test -n "$ac_ct_RANLIB"; then 5535 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5536else 5537as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5538for as_dir in $PATH 5539do 5540 IFS=$as_save_IFS 5541 test -z "$as_dir" && as_dir=. 5542 for ac_exec_ext in '' $ac_executable_extensions; do 5543 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5544 ac_cv_prog_ac_ct_RANLIB="ranlib" 5545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5546 break 2 5547 fi 5548done 5549 done 5550IFS=$as_save_IFS 5551 5552fi 5553fi 5554ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5555if test -n "$ac_ct_RANLIB"; then 5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 5557$as_echo "$ac_ct_RANLIB" >&6; } 5558else 5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5560$as_echo "no" >&6; } 5561fi 5562 5563 if test "x$ac_ct_RANLIB" = x; then 5564 RANLIB=":" 5565 else 5566 case $cross_compiling:$ac_tool_warned in 5567yes:) 5568{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5569$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5570ac_tool_warned=yes ;; 5571esac 5572 RANLIB=$ac_ct_RANLIB 5573 fi 5574else 5575 RANLIB="$ac_cv_prog_RANLIB" 5576fi 5577 5578test -z "$RANLIB" && RANLIB=: 5579 5580 5581 5582 5583 5584 5585# Determine commands to create old-style static archives. 5586old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 5587old_postinstall_cmds='chmod 644 $oldlib' 5588old_postuninstall_cmds= 5589 5590if test -n "$RANLIB"; then 5591 case $host_os in 5592 bitrig* | openbsd*) 5593 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 5594 ;; 5595 *) 5596 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 5597 ;; 5598 esac 5599 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 5600fi 5601 5602case $host_os in 5603 darwin*) 5604 lock_old_archive_extraction=yes ;; 5605 *) 5606 lock_old_archive_extraction=no ;; 5607esac 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629for ac_prog in gawk mawk nawk awk 5630do 5631 # Extract the first word of "$ac_prog", so it can be a program name with args. 5632set dummy $ac_prog; ac_word=$2 5633{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5634$as_echo_n "checking for $ac_word... " >&6; } 5635if ${ac_cv_prog_AWK+:} false; then : 5636 $as_echo_n "(cached) " >&6 5637else 5638 if test -n "$AWK"; then 5639 ac_cv_prog_AWK="$AWK" # Let the user override the test. 5640else 5641as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5642for as_dir in $PATH 5643do 5644 IFS=$as_save_IFS 5645 test -z "$as_dir" && as_dir=. 5646 for ac_exec_ext in '' $ac_executable_extensions; do 5647 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5648 ac_cv_prog_AWK="$ac_prog" 5649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5650 break 2 5651 fi 5652done 5653 done 5654IFS=$as_save_IFS 5655 5656fi 5657fi 5658AWK=$ac_cv_prog_AWK 5659if test -n "$AWK"; then 5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 5661$as_echo "$AWK" >&6; } 5662else 5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5664$as_echo "no" >&6; } 5665fi 5666 5667 5668 test -n "$AWK" && break 5669done 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689# If no C compiler was specified, use CC. 5690LTCC=${LTCC-"$CC"} 5691 5692# If no C compiler flags were specified, use CFLAGS. 5693LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 5694 5695# Allow CC to be a program name with arguments. 5696compiler=$CC 5697 5698 5699# Check for command to grab the raw symbol name followed by C symbol from nm. 5700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 5701$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 5702if ${lt_cv_sys_global_symbol_pipe+:} false; then : 5703 $as_echo_n "(cached) " >&6 5704else 5705 5706# These are sane defaults that work on at least a few old systems. 5707# [They come from Ultrix. What could be older than Ultrix?!! ;)] 5708 5709# Character class describing NM global symbol codes. 5710symcode='[BCDEGRST]' 5711 5712# Regexp to match symbols that can be accessed directly from C. 5713sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 5714 5715# Define system-specific variables. 5716case $host_os in 5717aix*) 5718 symcode='[BCDT]' 5719 ;; 5720cygwin* | mingw* | pw32* | cegcc*) 5721 symcode='[ABCDGISTW]' 5722 ;; 5723hpux*) 5724 if test ia64 = "$host_cpu"; then 5725 symcode='[ABCDEGRST]' 5726 fi 5727 ;; 5728irix* | nonstopux*) 5729 symcode='[BCDEGRST]' 5730 ;; 5731osf*) 5732 symcode='[BCDEGQRST]' 5733 ;; 5734solaris*) 5735 symcode='[BDRT]' 5736 ;; 5737sco3.2v5*) 5738 symcode='[DT]' 5739 ;; 5740sysv4.2uw2*) 5741 symcode='[DT]' 5742 ;; 5743sysv5* | sco5v6* | unixware* | OpenUNIX*) 5744 symcode='[ABDT]' 5745 ;; 5746sysv4) 5747 symcode='[DFNSTU]' 5748 ;; 5749esac 5750 5751# If we're using GNU nm, then use its standard symbol codes. 5752case `$NM -V 2>&1` in 5753*GNU* | *'with BFD'*) 5754 symcode='[ABCDGIRSTW]' ;; 5755esac 5756 5757if test "$lt_cv_nm_interface" = "MS dumpbin"; then 5758 # Gets list of data symbols to import. 5759 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 5760 # Adjust the below global symbol transforms to fixup imported variables. 5761 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 5762 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 5763 lt_c_name_lib_hook="\ 5764 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 5765 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 5766else 5767 # Disable hooks by default. 5768 lt_cv_sys_global_symbol_to_import= 5769 lt_cdecl_hook= 5770 lt_c_name_hook= 5771 lt_c_name_lib_hook= 5772fi 5773 5774# Transform an extracted symbol line into a proper C declaration. 5775# Some systems (esp. on ia64) link data and code symbols differently, 5776# so use this general approach. 5777lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 5778$lt_cdecl_hook\ 5779" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 5780" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 5781 5782# Transform an extracted symbol line into symbol name and symbol address 5783lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 5784$lt_c_name_hook\ 5785" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 5786" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 5787 5788# Transform an extracted symbol line into symbol name with lib prefix and 5789# symbol address. 5790lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 5791$lt_c_name_lib_hook\ 5792" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 5793" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 5794" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 5795 5796# Handle CRLF in mingw tool chain 5797opt_cr= 5798case $build_os in 5799mingw*) 5800 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 5801 ;; 5802esac 5803 5804# Try without a prefix underscore, then with it. 5805for ac_symprfx in "" "_"; do 5806 5807 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 5808 symxfrm="\\1 $ac_symprfx\\2 \\2" 5809 5810 # Write the raw and C identifiers. 5811 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 5812 # Fake it for dumpbin and say T for any non-static function, 5813 # D for any global variable and I for any imported variable. 5814 # Also find C++ and __fastcall symbols from MSVC++, 5815 # which start with @ or ?. 5816 lt_cv_sys_global_symbol_pipe="$AWK '"\ 5817" {last_section=section; section=\$ 3};"\ 5818" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 5819" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 5820" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 5821" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 5822" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 5823" \$ 0!~/External *\|/{next};"\ 5824" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 5825" {if(hide[section]) next};"\ 5826" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 5827" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 5828" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 5829" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 5830" ' prfx=^$ac_symprfx" 5831 else 5832 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 5833 fi 5834 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 5835 5836 # Check to see that the pipe works correctly. 5837 pipe_works=no 5838 5839 rm -f conftest* 5840 cat > conftest.$ac_ext <<_LT_EOF 5841#ifdef __cplusplus 5842extern "C" { 5843#endif 5844char nm_test_var; 5845void nm_test_func(void); 5846void nm_test_func(void){} 5847#ifdef __cplusplus 5848} 5849#endif 5850int main(){nm_test_var='a';nm_test_func();return(0);} 5851_LT_EOF 5852 5853 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 5854 (eval $ac_compile) 2>&5 5855 ac_status=$? 5856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5857 test $ac_status = 0; }; then 5858 # Now try to grab the symbols. 5859 nlist=conftest.nm 5860 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 5861 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 5862 ac_status=$? 5863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5864 test $ac_status = 0; } && test -s "$nlist"; then 5865 # Try sorting and uniquifying the output. 5866 if sort "$nlist" | uniq > "$nlist"T; then 5867 mv -f "$nlist"T "$nlist" 5868 else 5869 rm -f "$nlist"T 5870 fi 5871 5872 # Make sure that we snagged all the symbols we need. 5873 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 5874 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 5875 cat <<_LT_EOF > conftest.$ac_ext 5876/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 5877#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 5878/* DATA imports from DLLs on WIN32 can't be const, because runtime 5879 relocations are performed -- see ld's documentation on pseudo-relocs. */ 5880# define LT_DLSYM_CONST 5881#elif defined __osf__ 5882/* This system does not cope well with relocations in const data. */ 5883# define LT_DLSYM_CONST 5884#else 5885# define LT_DLSYM_CONST const 5886#endif 5887 5888#ifdef __cplusplus 5889extern "C" { 5890#endif 5891 5892_LT_EOF 5893 # Now generate the symbol file. 5894 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 5895 5896 cat <<_LT_EOF >> conftest.$ac_ext 5897 5898/* The mapping between symbol names and symbols. */ 5899LT_DLSYM_CONST struct { 5900 const char *name; 5901 void *address; 5902} 5903lt__PROGRAM__LTX_preloaded_symbols[] = 5904{ 5905 { "@PROGRAM@", (void *) 0 }, 5906_LT_EOF 5907 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 5908 cat <<\_LT_EOF >> conftest.$ac_ext 5909 {0, (void *) 0} 5910}; 5911 5912/* This works around a problem in FreeBSD linker */ 5913#ifdef FREEBSD_WORKAROUND 5914static const void *lt_preloaded_setup() { 5915 return lt__PROGRAM__LTX_preloaded_symbols; 5916} 5917#endif 5918 5919#ifdef __cplusplus 5920} 5921#endif 5922_LT_EOF 5923 # Now try linking the two files. 5924 mv conftest.$ac_objext conftstm.$ac_objext 5925 lt_globsym_save_LIBS=$LIBS 5926 lt_globsym_save_CFLAGS=$CFLAGS 5927 LIBS=conftstm.$ac_objext 5928 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 5929 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 5930 (eval $ac_link) 2>&5 5931 ac_status=$? 5932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5933 test $ac_status = 0; } && test -s conftest$ac_exeext; then 5934 pipe_works=yes 5935 fi 5936 LIBS=$lt_globsym_save_LIBS 5937 CFLAGS=$lt_globsym_save_CFLAGS 5938 else 5939 echo "cannot find nm_test_func in $nlist" >&5 5940 fi 5941 else 5942 echo "cannot find nm_test_var in $nlist" >&5 5943 fi 5944 else 5945 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 5946 fi 5947 else 5948 echo "$progname: failed program was:" >&5 5949 cat conftest.$ac_ext >&5 5950 fi 5951 rm -rf conftest* conftst* 5952 5953 # Do not use the global_symbol_pipe unless it works. 5954 if test yes = "$pipe_works"; then 5955 break 5956 else 5957 lt_cv_sys_global_symbol_pipe= 5958 fi 5959done 5960 5961fi 5962 5963if test -z "$lt_cv_sys_global_symbol_pipe"; then 5964 lt_cv_sys_global_symbol_to_cdecl= 5965fi 5966if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 5968$as_echo "failed" >&6; } 5969else 5970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 5971$as_echo "ok" >&6; } 5972fi 5973 5974# Response file support. 5975if test "$lt_cv_nm_interface" = "MS dumpbin"; then 5976 nm_file_list_spec='@' 5977elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 5978 nm_file_list_spec='@' 5979fi 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6018$as_echo_n "checking for sysroot... " >&6; } 6019 6020# Check whether --with-sysroot was given. 6021if test "${with_sysroot+set}" = set; then : 6022 withval=$with_sysroot; 6023else 6024 with_sysroot=no 6025fi 6026 6027 6028lt_sysroot= 6029case $with_sysroot in #( 6030 yes) 6031 if test yes = "$GCC"; then 6032 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6033 fi 6034 ;; #( 6035 /*) 6036 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6037 ;; #( 6038 no|'') 6039 ;; #( 6040 *) 6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 6042$as_echo "$with_sysroot" >&6; } 6043 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6044 ;; 6045esac 6046 6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6048$as_echo "${lt_sysroot:-no}" >&6; } 6049 6050 6051 6052 6053 6054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 6055$as_echo_n "checking for a working dd... " >&6; } 6056if ${ac_cv_path_lt_DD+:} false; then : 6057 $as_echo_n "(cached) " >&6 6058else 6059 printf 0123456789abcdef0123456789abcdef >conftest.i 6060cat conftest.i conftest.i >conftest2.i 6061: ${lt_DD:=$DD} 6062if test -z "$lt_DD"; then 6063 ac_path_lt_DD_found=false 6064 # Loop through the user's path and test for each of PROGNAME-LIST 6065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6066for as_dir in $PATH 6067do 6068 IFS=$as_save_IFS 6069 test -z "$as_dir" && as_dir=. 6070 for ac_prog in dd; do 6071 for ac_exec_ext in '' $ac_executable_extensions; do 6072 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 6073 as_fn_executable_p "$ac_path_lt_DD" || continue 6074if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6075 cmp -s conftest.i conftest.out \ 6076 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 6077fi 6078 $ac_path_lt_DD_found && break 3 6079 done 6080 done 6081 done 6082IFS=$as_save_IFS 6083 if test -z "$ac_cv_path_lt_DD"; then 6084 : 6085 fi 6086else 6087 ac_cv_path_lt_DD=$lt_DD 6088fi 6089 6090rm -f conftest.i conftest2.i conftest.out 6091fi 6092{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 6093$as_echo "$ac_cv_path_lt_DD" >&6; } 6094 6095 6096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 6097$as_echo_n "checking how to truncate binary pipes... " >&6; } 6098if ${lt_cv_truncate_bin+:} false; then : 6099 $as_echo_n "(cached) " >&6 6100else 6101 printf 0123456789abcdef0123456789abcdef >conftest.i 6102cat conftest.i conftest.i >conftest2.i 6103lt_cv_truncate_bin= 6104if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6105 cmp -s conftest.i conftest.out \ 6106 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 6107fi 6108rm -f conftest.i conftest2.i conftest.out 6109test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 6110fi 6111{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 6112$as_echo "$lt_cv_truncate_bin" >&6; } 6113 6114 6115 6116 6117 6118 6119 6120# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 6121func_cc_basename () 6122{ 6123 for cc_temp in $*""; do 6124 case $cc_temp in 6125 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 6126 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 6127 \-*) ;; 6128 *) break;; 6129 esac 6130 done 6131 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 6132} 6133 6134# Check whether --enable-libtool-lock was given. 6135if test "${enable_libtool_lock+set}" = set; then : 6136 enableval=$enable_libtool_lock; 6137fi 6138 6139test no = "$enable_libtool_lock" || enable_libtool_lock=yes 6140 6141# Some flags need to be propagated to the compiler or linker for good 6142# libtool support. 6143case $host in 6144ia64-*-hpux*) 6145 # Find out what ABI is being produced by ac_compile, and set mode 6146 # options accordingly. 6147 echo 'int i;' > conftest.$ac_ext 6148 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6149 (eval $ac_compile) 2>&5 6150 ac_status=$? 6151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6152 test $ac_status = 0; }; then 6153 case `/usr/bin/file conftest.$ac_objext` in 6154 *ELF-32*) 6155 HPUX_IA64_MODE=32 6156 ;; 6157 *ELF-64*) 6158 HPUX_IA64_MODE=64 6159 ;; 6160 esac 6161 fi 6162 rm -rf conftest* 6163 ;; 6164*-*-irix6*) 6165 # Find out what ABI is being produced by ac_compile, and set linker 6166 # options accordingly. 6167 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6168 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6169 (eval $ac_compile) 2>&5 6170 ac_status=$? 6171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6172 test $ac_status = 0; }; then 6173 if test yes = "$lt_cv_prog_gnu_ld"; then 6174 case `/usr/bin/file conftest.$ac_objext` in 6175 *32-bit*) 6176 LD="${LD-ld} -melf32bsmip" 6177 ;; 6178 *N32*) 6179 LD="${LD-ld} -melf32bmipn32" 6180 ;; 6181 *64-bit*) 6182 LD="${LD-ld} -melf64bmip" 6183 ;; 6184 esac 6185 else 6186 case `/usr/bin/file conftest.$ac_objext` in 6187 *32-bit*) 6188 LD="${LD-ld} -32" 6189 ;; 6190 *N32*) 6191 LD="${LD-ld} -n32" 6192 ;; 6193 *64-bit*) 6194 LD="${LD-ld} -64" 6195 ;; 6196 esac 6197 fi 6198 fi 6199 rm -rf conftest* 6200 ;; 6201 6202mips64*-*linux*) 6203 # Find out what ABI is being produced by ac_compile, and set linker 6204 # options accordingly. 6205 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6207 (eval $ac_compile) 2>&5 6208 ac_status=$? 6209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6210 test $ac_status = 0; }; then 6211 emul=elf 6212 case `/usr/bin/file conftest.$ac_objext` in 6213 *32-bit*) 6214 emul="${emul}32" 6215 ;; 6216 *64-bit*) 6217 emul="${emul}64" 6218 ;; 6219 esac 6220 case `/usr/bin/file conftest.$ac_objext` in 6221 *MSB*) 6222 emul="${emul}btsmip" 6223 ;; 6224 *LSB*) 6225 emul="${emul}ltsmip" 6226 ;; 6227 esac 6228 case `/usr/bin/file conftest.$ac_objext` in 6229 *N32*) 6230 emul="${emul}n32" 6231 ;; 6232 esac 6233 LD="${LD-ld} -m $emul" 6234 fi 6235 rm -rf conftest* 6236 ;; 6237 6238x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 6239s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6240 # Find out what ABI is being produced by ac_compile, and set linker 6241 # options accordingly. Note that the listed cases only cover the 6242 # situations where additional linker options are needed (such as when 6243 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 6244 # vice versa); the common cases where no linker options are needed do 6245 # not appear in the list. 6246 echo 'int i;' > conftest.$ac_ext 6247 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6248 (eval $ac_compile) 2>&5 6249 ac_status=$? 6250 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6251 test $ac_status = 0; }; then 6252 case `/usr/bin/file conftest.o` in 6253 *32-bit*) 6254 case $host in 6255 x86_64-*kfreebsd*-gnu) 6256 LD="${LD-ld} -m elf_i386_fbsd" 6257 ;; 6258 x86_64-*linux*) 6259 case `/usr/bin/file conftest.o` in 6260 *x86-64*) 6261 LD="${LD-ld} -m elf32_x86_64" 6262 ;; 6263 *) 6264 LD="${LD-ld} -m elf_i386" 6265 ;; 6266 esac 6267 ;; 6268 powerpc64le-*linux*) 6269 LD="${LD-ld} -m elf32lppclinux" 6270 ;; 6271 powerpc64-*linux*) 6272 LD="${LD-ld} -m elf32ppclinux" 6273 ;; 6274 s390x-*linux*) 6275 LD="${LD-ld} -m elf_s390" 6276 ;; 6277 sparc64-*linux*) 6278 LD="${LD-ld} -m elf32_sparc" 6279 ;; 6280 esac 6281 ;; 6282 *64-bit*) 6283 case $host in 6284 x86_64-*kfreebsd*-gnu) 6285 LD="${LD-ld} -m elf_x86_64_fbsd" 6286 ;; 6287 x86_64-*linux*) 6288 LD="${LD-ld} -m elf_x86_64" 6289 ;; 6290 powerpcle-*linux*) 6291 LD="${LD-ld} -m elf64lppc" 6292 ;; 6293 powerpc-*linux*) 6294 LD="${LD-ld} -m elf64ppc" 6295 ;; 6296 s390*-*linux*|s390*-*tpf*) 6297 LD="${LD-ld} -m elf64_s390" 6298 ;; 6299 sparc*-*linux*) 6300 LD="${LD-ld} -m elf64_sparc" 6301 ;; 6302 esac 6303 ;; 6304 esac 6305 fi 6306 rm -rf conftest* 6307 ;; 6308 6309*-*-sco3.2v5*) 6310 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6311 SAVE_CFLAGS=$CFLAGS 6312 CFLAGS="$CFLAGS -belf" 6313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6314$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6315if ${lt_cv_cc_needs_belf+:} false; then : 6316 $as_echo_n "(cached) " >&6 6317else 6318 ac_ext=c 6319ac_cpp='$CPP $CPPFLAGS' 6320ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6321ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6322ac_compiler_gnu=$ac_cv_c_compiler_gnu 6323 6324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6325/* end confdefs.h. */ 6326 6327int 6328main () 6329{ 6330 6331 ; 6332 return 0; 6333} 6334_ACEOF 6335if ac_fn_c_try_link "$LINENO"; then : 6336 lt_cv_cc_needs_belf=yes 6337else 6338 lt_cv_cc_needs_belf=no 6339fi 6340rm -f core conftest.err conftest.$ac_objext \ 6341 conftest$ac_exeext conftest.$ac_ext 6342 ac_ext=c 6343ac_cpp='$CPP $CPPFLAGS' 6344ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6345ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6346ac_compiler_gnu=$ac_cv_c_compiler_gnu 6347 6348fi 6349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6350$as_echo "$lt_cv_cc_needs_belf" >&6; } 6351 if test yes != "$lt_cv_cc_needs_belf"; then 6352 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6353 CFLAGS=$SAVE_CFLAGS 6354 fi 6355 ;; 6356*-*solaris*) 6357 # Find out what ABI is being produced by ac_compile, and set linker 6358 # options accordingly. 6359 echo 'int i;' > conftest.$ac_ext 6360 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6361 (eval $ac_compile) 2>&5 6362 ac_status=$? 6363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6364 test $ac_status = 0; }; then 6365 case `/usr/bin/file conftest.o` in 6366 *64-bit*) 6367 case $lt_cv_prog_gnu_ld in 6368 yes*) 6369 case $host in 6370 i?86-*-solaris*|x86_64-*-solaris*) 6371 LD="${LD-ld} -m elf_x86_64" 6372 ;; 6373 sparc*-*-solaris*) 6374 LD="${LD-ld} -m elf64_sparc" 6375 ;; 6376 esac 6377 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 6378 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 6379 LD=${LD-ld}_sol2 6380 fi 6381 ;; 6382 *) 6383 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6384 LD="${LD-ld} -64" 6385 fi 6386 ;; 6387 esac 6388 ;; 6389 esac 6390 fi 6391 rm -rf conftest* 6392 ;; 6393esac 6394 6395need_locks=$enable_libtool_lock 6396 6397if test -n "$ac_tool_prefix"; then 6398 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6399set dummy ${ac_tool_prefix}mt; ac_word=$2 6400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6401$as_echo_n "checking for $ac_word... " >&6; } 6402if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6403 $as_echo_n "(cached) " >&6 6404else 6405 if test -n "$MANIFEST_TOOL"; then 6406 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 6407else 6408as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6409for as_dir in $PATH 6410do 6411 IFS=$as_save_IFS 6412 test -z "$as_dir" && as_dir=. 6413 for ac_exec_ext in '' $ac_executable_extensions; do 6414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6415 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 6416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6417 break 2 6418 fi 6419done 6420 done 6421IFS=$as_save_IFS 6422 6423fi 6424fi 6425MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6426if test -n "$MANIFEST_TOOL"; then 6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 6428$as_echo "$MANIFEST_TOOL" >&6; } 6429else 6430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6431$as_echo "no" >&6; } 6432fi 6433 6434 6435fi 6436if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 6437 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 6438 # Extract the first word of "mt", so it can be a program name with args. 6439set dummy mt; ac_word=$2 6440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6441$as_echo_n "checking for $ac_word... " >&6; } 6442if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 6443 $as_echo_n "(cached) " >&6 6444else 6445 if test -n "$ac_ct_MANIFEST_TOOL"; then 6446 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 6447else 6448as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6449for as_dir in $PATH 6450do 6451 IFS=$as_save_IFS 6452 test -z "$as_dir" && as_dir=. 6453 for ac_exec_ext in '' $ac_executable_extensions; do 6454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6455 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 6456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6457 break 2 6458 fi 6459done 6460 done 6461IFS=$as_save_IFS 6462 6463fi 6464fi 6465ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 6466if test -n "$ac_ct_MANIFEST_TOOL"; then 6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 6468$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 6469else 6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6471$as_echo "no" >&6; } 6472fi 6473 6474 if test "x$ac_ct_MANIFEST_TOOL" = x; then 6475 MANIFEST_TOOL=":" 6476 else 6477 case $cross_compiling:$ac_tool_warned in 6478yes:) 6479{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6480$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6481ac_tool_warned=yes ;; 6482esac 6483 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 6484 fi 6485else 6486 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 6487fi 6488 6489test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 6490{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 6491$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 6492if ${lt_cv_path_mainfest_tool+:} false; then : 6493 $as_echo_n "(cached) " >&6 6494else 6495 lt_cv_path_mainfest_tool=no 6496 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 6497 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 6498 cat conftest.err >&5 6499 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 6500 lt_cv_path_mainfest_tool=yes 6501 fi 6502 rm -f conftest* 6503fi 6504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 6505$as_echo "$lt_cv_path_mainfest_tool" >&6; } 6506if test yes != "$lt_cv_path_mainfest_tool"; then 6507 MANIFEST_TOOL=: 6508fi 6509 6510 6511 6512 6513 6514 6515 case $host_os in 6516 rhapsody* | darwin*) 6517 if test -n "$ac_tool_prefix"; then 6518 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6519set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6521$as_echo_n "checking for $ac_word... " >&6; } 6522if ${ac_cv_prog_DSYMUTIL+:} false; then : 6523 $as_echo_n "(cached) " >&6 6524else 6525 if test -n "$DSYMUTIL"; then 6526 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6527else 6528as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6529for as_dir in $PATH 6530do 6531 IFS=$as_save_IFS 6532 test -z "$as_dir" && as_dir=. 6533 for ac_exec_ext in '' $ac_executable_extensions; do 6534 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6535 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6537 break 2 6538 fi 6539done 6540 done 6541IFS=$as_save_IFS 6542 6543fi 6544fi 6545DSYMUTIL=$ac_cv_prog_DSYMUTIL 6546if test -n "$DSYMUTIL"; then 6547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6548$as_echo "$DSYMUTIL" >&6; } 6549else 6550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6551$as_echo "no" >&6; } 6552fi 6553 6554 6555fi 6556if test -z "$ac_cv_prog_DSYMUTIL"; then 6557 ac_ct_DSYMUTIL=$DSYMUTIL 6558 # Extract the first word of "dsymutil", so it can be a program name with args. 6559set dummy dsymutil; ac_word=$2 6560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6561$as_echo_n "checking for $ac_word... " >&6; } 6562if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 6563 $as_echo_n "(cached) " >&6 6564else 6565 if test -n "$ac_ct_DSYMUTIL"; then 6566 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6567else 6568as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6569for as_dir in $PATH 6570do 6571 IFS=$as_save_IFS 6572 test -z "$as_dir" && as_dir=. 6573 for ac_exec_ext in '' $ac_executable_extensions; do 6574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6575 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6577 break 2 6578 fi 6579done 6580 done 6581IFS=$as_save_IFS 6582 6583fi 6584fi 6585ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6586if test -n "$ac_ct_DSYMUTIL"; then 6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 6588$as_echo "$ac_ct_DSYMUTIL" >&6; } 6589else 6590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6591$as_echo "no" >&6; } 6592fi 6593 6594 if test "x$ac_ct_DSYMUTIL" = x; then 6595 DSYMUTIL=":" 6596 else 6597 case $cross_compiling:$ac_tool_warned in 6598yes:) 6599{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6600$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6601ac_tool_warned=yes ;; 6602esac 6603 DSYMUTIL=$ac_ct_DSYMUTIL 6604 fi 6605else 6606 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6607fi 6608 6609 if test -n "$ac_tool_prefix"; then 6610 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6611set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6612{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6613$as_echo_n "checking for $ac_word... " >&6; } 6614if ${ac_cv_prog_NMEDIT+:} false; then : 6615 $as_echo_n "(cached) " >&6 6616else 6617 if test -n "$NMEDIT"; then 6618 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6619else 6620as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6621for as_dir in $PATH 6622do 6623 IFS=$as_save_IFS 6624 test -z "$as_dir" && as_dir=. 6625 for ac_exec_ext in '' $ac_executable_extensions; do 6626 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6627 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6629 break 2 6630 fi 6631done 6632 done 6633IFS=$as_save_IFS 6634 6635fi 6636fi 6637NMEDIT=$ac_cv_prog_NMEDIT 6638if test -n "$NMEDIT"; then 6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 6640$as_echo "$NMEDIT" >&6; } 6641else 6642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6643$as_echo "no" >&6; } 6644fi 6645 6646 6647fi 6648if test -z "$ac_cv_prog_NMEDIT"; then 6649 ac_ct_NMEDIT=$NMEDIT 6650 # Extract the first word of "nmedit", so it can be a program name with args. 6651set dummy nmedit; ac_word=$2 6652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6653$as_echo_n "checking for $ac_word... " >&6; } 6654if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 6655 $as_echo_n "(cached) " >&6 6656else 6657 if test -n "$ac_ct_NMEDIT"; then 6658 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6659else 6660as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6661for as_dir in $PATH 6662do 6663 IFS=$as_save_IFS 6664 test -z "$as_dir" && as_dir=. 6665 for ac_exec_ext in '' $ac_executable_extensions; do 6666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6667 ac_cv_prog_ac_ct_NMEDIT="nmedit" 6668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6669 break 2 6670 fi 6671done 6672 done 6673IFS=$as_save_IFS 6674 6675fi 6676fi 6677ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 6678if test -n "$ac_ct_NMEDIT"; then 6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 6680$as_echo "$ac_ct_NMEDIT" >&6; } 6681else 6682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6683$as_echo "no" >&6; } 6684fi 6685 6686 if test "x$ac_ct_NMEDIT" = x; then 6687 NMEDIT=":" 6688 else 6689 case $cross_compiling:$ac_tool_warned in 6690yes:) 6691{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6692$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6693ac_tool_warned=yes ;; 6694esac 6695 NMEDIT=$ac_ct_NMEDIT 6696 fi 6697else 6698 NMEDIT="$ac_cv_prog_NMEDIT" 6699fi 6700 6701 if test -n "$ac_tool_prefix"; then 6702 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 6703set dummy ${ac_tool_prefix}lipo; ac_word=$2 6704{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6705$as_echo_n "checking for $ac_word... " >&6; } 6706if ${ac_cv_prog_LIPO+:} false; then : 6707 $as_echo_n "(cached) " >&6 6708else 6709 if test -n "$LIPO"; then 6710 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 6711else 6712as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6713for as_dir in $PATH 6714do 6715 IFS=$as_save_IFS 6716 test -z "$as_dir" && as_dir=. 6717 for ac_exec_ext in '' $ac_executable_extensions; do 6718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6719 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 6720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6721 break 2 6722 fi 6723done 6724 done 6725IFS=$as_save_IFS 6726 6727fi 6728fi 6729LIPO=$ac_cv_prog_LIPO 6730if test -n "$LIPO"; then 6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 6732$as_echo "$LIPO" >&6; } 6733else 6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6735$as_echo "no" >&6; } 6736fi 6737 6738 6739fi 6740if test -z "$ac_cv_prog_LIPO"; then 6741 ac_ct_LIPO=$LIPO 6742 # Extract the first word of "lipo", so it can be a program name with args. 6743set dummy lipo; ac_word=$2 6744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6745$as_echo_n "checking for $ac_word... " >&6; } 6746if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 6747 $as_echo_n "(cached) " >&6 6748else 6749 if test -n "$ac_ct_LIPO"; then 6750 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 6751else 6752as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6753for as_dir in $PATH 6754do 6755 IFS=$as_save_IFS 6756 test -z "$as_dir" && as_dir=. 6757 for ac_exec_ext in '' $ac_executable_extensions; do 6758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6759 ac_cv_prog_ac_ct_LIPO="lipo" 6760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6761 break 2 6762 fi 6763done 6764 done 6765IFS=$as_save_IFS 6766 6767fi 6768fi 6769ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 6770if test -n "$ac_ct_LIPO"; then 6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 6772$as_echo "$ac_ct_LIPO" >&6; } 6773else 6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6775$as_echo "no" >&6; } 6776fi 6777 6778 if test "x$ac_ct_LIPO" = x; then 6779 LIPO=":" 6780 else 6781 case $cross_compiling:$ac_tool_warned in 6782yes:) 6783{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6784$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6785ac_tool_warned=yes ;; 6786esac 6787 LIPO=$ac_ct_LIPO 6788 fi 6789else 6790 LIPO="$ac_cv_prog_LIPO" 6791fi 6792 6793 if test -n "$ac_tool_prefix"; then 6794 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 6795set dummy ${ac_tool_prefix}otool; ac_word=$2 6796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6797$as_echo_n "checking for $ac_word... " >&6; } 6798if ${ac_cv_prog_OTOOL+:} false; then : 6799 $as_echo_n "(cached) " >&6 6800else 6801 if test -n "$OTOOL"; then 6802 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 6803else 6804as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6805for as_dir in $PATH 6806do 6807 IFS=$as_save_IFS 6808 test -z "$as_dir" && as_dir=. 6809 for ac_exec_ext in '' $ac_executable_extensions; do 6810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6811 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 6812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6813 break 2 6814 fi 6815done 6816 done 6817IFS=$as_save_IFS 6818 6819fi 6820fi 6821OTOOL=$ac_cv_prog_OTOOL 6822if test -n "$OTOOL"; then 6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 6824$as_echo "$OTOOL" >&6; } 6825else 6826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6827$as_echo "no" >&6; } 6828fi 6829 6830 6831fi 6832if test -z "$ac_cv_prog_OTOOL"; then 6833 ac_ct_OTOOL=$OTOOL 6834 # Extract the first word of "otool", so it can be a program name with args. 6835set dummy otool; ac_word=$2 6836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6837$as_echo_n "checking for $ac_word... " >&6; } 6838if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 6839 $as_echo_n "(cached) " >&6 6840else 6841 if test -n "$ac_ct_OTOOL"; then 6842 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 6843else 6844as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6845for as_dir in $PATH 6846do 6847 IFS=$as_save_IFS 6848 test -z "$as_dir" && as_dir=. 6849 for ac_exec_ext in '' $ac_executable_extensions; do 6850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6851 ac_cv_prog_ac_ct_OTOOL="otool" 6852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6853 break 2 6854 fi 6855done 6856 done 6857IFS=$as_save_IFS 6858 6859fi 6860fi 6861ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 6862if test -n "$ac_ct_OTOOL"; then 6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 6864$as_echo "$ac_ct_OTOOL" >&6; } 6865else 6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6867$as_echo "no" >&6; } 6868fi 6869 6870 if test "x$ac_ct_OTOOL" = x; then 6871 OTOOL=":" 6872 else 6873 case $cross_compiling:$ac_tool_warned in 6874yes:) 6875{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6876$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6877ac_tool_warned=yes ;; 6878esac 6879 OTOOL=$ac_ct_OTOOL 6880 fi 6881else 6882 OTOOL="$ac_cv_prog_OTOOL" 6883fi 6884 6885 if test -n "$ac_tool_prefix"; then 6886 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 6887set dummy ${ac_tool_prefix}otool64; ac_word=$2 6888{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6889$as_echo_n "checking for $ac_word... " >&6; } 6890if ${ac_cv_prog_OTOOL64+:} false; then : 6891 $as_echo_n "(cached) " >&6 6892else 6893 if test -n "$OTOOL64"; then 6894 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 6895else 6896as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6897for as_dir in $PATH 6898do 6899 IFS=$as_save_IFS 6900 test -z "$as_dir" && as_dir=. 6901 for ac_exec_ext in '' $ac_executable_extensions; do 6902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6903 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 6904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6905 break 2 6906 fi 6907done 6908 done 6909IFS=$as_save_IFS 6910 6911fi 6912fi 6913OTOOL64=$ac_cv_prog_OTOOL64 6914if test -n "$OTOOL64"; then 6915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 6916$as_echo "$OTOOL64" >&6; } 6917else 6918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6919$as_echo "no" >&6; } 6920fi 6921 6922 6923fi 6924if test -z "$ac_cv_prog_OTOOL64"; then 6925 ac_ct_OTOOL64=$OTOOL64 6926 # Extract the first word of "otool64", so it can be a program name with args. 6927set dummy otool64; ac_word=$2 6928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6929$as_echo_n "checking for $ac_word... " >&6; } 6930if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 6931 $as_echo_n "(cached) " >&6 6932else 6933 if test -n "$ac_ct_OTOOL64"; then 6934 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 6935else 6936as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6937for as_dir in $PATH 6938do 6939 IFS=$as_save_IFS 6940 test -z "$as_dir" && as_dir=. 6941 for ac_exec_ext in '' $ac_executable_extensions; do 6942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6943 ac_cv_prog_ac_ct_OTOOL64="otool64" 6944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6945 break 2 6946 fi 6947done 6948 done 6949IFS=$as_save_IFS 6950 6951fi 6952fi 6953ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 6954if test -n "$ac_ct_OTOOL64"; then 6955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 6956$as_echo "$ac_ct_OTOOL64" >&6; } 6957else 6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6959$as_echo "no" >&6; } 6960fi 6961 6962 if test "x$ac_ct_OTOOL64" = x; then 6963 OTOOL64=":" 6964 else 6965 case $cross_compiling:$ac_tool_warned in 6966yes:) 6967{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6968$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6969ac_tool_warned=yes ;; 6970esac 6971 OTOOL64=$ac_ct_OTOOL64 6972 fi 6973else 6974 OTOOL64="$ac_cv_prog_OTOOL64" 6975fi 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7004$as_echo_n "checking for -single_module linker flag... " >&6; } 7005if ${lt_cv_apple_cc_single_mod+:} false; then : 7006 $as_echo_n "(cached) " >&6 7007else 7008 lt_cv_apple_cc_single_mod=no 7009 if test -z "$LT_MULTI_MODULE"; then 7010 # By default we will add the -single_module flag. You can override 7011 # by either setting the environment variable LT_MULTI_MODULE 7012 # non-empty at configure time, or by adding -multi_module to the 7013 # link flags. 7014 rm -rf libconftest.dylib* 7015 echo "int foo(void){return 1;}" > conftest.c 7016 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7017-dynamiclib -Wl,-single_module conftest.c" >&5 7018 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7019 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7020 _lt_result=$? 7021 # If there is a non-empty error log, and "single_module" 7022 # appears in it, assume the flag caused a linker warning 7023 if test -s conftest.err && $GREP single_module conftest.err; then 7024 cat conftest.err >&5 7025 # Otherwise, if the output was created with a 0 exit code from 7026 # the compiler, it worked. 7027 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 7028 lt_cv_apple_cc_single_mod=yes 7029 else 7030 cat conftest.err >&5 7031 fi 7032 rm -rf libconftest.dylib* 7033 rm -f conftest.* 7034 fi 7035fi 7036{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7037$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7038 7039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7040$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7041if ${lt_cv_ld_exported_symbols_list+:} false; then : 7042 $as_echo_n "(cached) " >&6 7043else 7044 lt_cv_ld_exported_symbols_list=no 7045 save_LDFLAGS=$LDFLAGS 7046 echo "_main" > conftest.sym 7047 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7049/* end confdefs.h. */ 7050 7051int 7052main () 7053{ 7054 7055 ; 7056 return 0; 7057} 7058_ACEOF 7059if ac_fn_c_try_link "$LINENO"; then : 7060 lt_cv_ld_exported_symbols_list=yes 7061else 7062 lt_cv_ld_exported_symbols_list=no 7063fi 7064rm -f core conftest.err conftest.$ac_objext \ 7065 conftest$ac_exeext conftest.$ac_ext 7066 LDFLAGS=$save_LDFLAGS 7067 7068fi 7069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7070$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7071 7072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7073$as_echo_n "checking for -force_load linker flag... " >&6; } 7074if ${lt_cv_ld_force_load+:} false; then : 7075 $as_echo_n "(cached) " >&6 7076else 7077 lt_cv_ld_force_load=no 7078 cat > conftest.c << _LT_EOF 7079int forced_loaded() { return 2;} 7080_LT_EOF 7081 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7082 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7083 echo "$AR cru libconftest.a conftest.o" >&5 7084 $AR cru libconftest.a conftest.o 2>&5 7085 echo "$RANLIB libconftest.a" >&5 7086 $RANLIB libconftest.a 2>&5 7087 cat > conftest.c << _LT_EOF 7088int main() { return 0;} 7089_LT_EOF 7090 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7091 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7092 _lt_result=$? 7093 if test -s conftest.err && $GREP force_load conftest.err; then 7094 cat conftest.err >&5 7095 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 7096 lt_cv_ld_force_load=yes 7097 else 7098 cat conftest.err >&5 7099 fi 7100 rm -f conftest.err libconftest.a conftest conftest.c 7101 rm -rf conftest.dSYM 7102 7103fi 7104{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7105$as_echo "$lt_cv_ld_force_load" >&6; } 7106 case $host_os in 7107 rhapsody* | darwin1.[012]) 7108 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 7109 darwin1.*) 7110 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7111 darwin*) # darwin 5.x on 7112 # if running on 10.5 or later, the deployment target defaults 7113 # to the OS version, if on x86, and 10.4, the deployment 7114 # target defaults to 10.4. Don't you love it? 7115 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7116 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7117 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7118 10.[012][,.]*) 7119 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7120 10.*) 7121 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7122 esac 7123 ;; 7124 esac 7125 if test yes = "$lt_cv_apple_cc_single_mod"; then 7126 _lt_dar_single_mod='$single_module' 7127 fi 7128 if test yes = "$lt_cv_ld_exported_symbols_list"; then 7129 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 7130 else 7131 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 7132 fi 7133 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 7134 _lt_dsymutil='~$DSYMUTIL $lib || :' 7135 else 7136 _lt_dsymutil= 7137 fi 7138 ;; 7139 esac 7140 7141# func_munge_path_list VARIABLE PATH 7142# ----------------------------------- 7143# VARIABLE is name of variable containing _space_ separated list of 7144# directories to be munged by the contents of PATH, which is string 7145# having a format: 7146# "DIR[:DIR]:" 7147# string "DIR[ DIR]" will be prepended to VARIABLE 7148# ":DIR[:DIR]" 7149# string "DIR[ DIR]" will be appended to VARIABLE 7150# "DIRP[:DIRP]::[DIRA:]DIRA" 7151# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 7152# "DIRA[ DIRA]" will be appended to VARIABLE 7153# "DIR[:DIR]" 7154# VARIABLE will be replaced by "DIR[ DIR]" 7155func_munge_path_list () 7156{ 7157 case x$2 in 7158 x) 7159 ;; 7160 *:) 7161 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 7162 ;; 7163 x:*) 7164 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 7165 ;; 7166 *::*) 7167 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 7168 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 7169 ;; 7170 *) 7171 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 7172 ;; 7173 esac 7174} 7175 7176ac_ext=c 7177ac_cpp='$CPP $CPPFLAGS' 7178ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7179ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7180ac_compiler_gnu=$ac_cv_c_compiler_gnu 7181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7182$as_echo_n "checking how to run the C preprocessor... " >&6; } 7183# On Suns, sometimes $CPP names a directory. 7184if test -n "$CPP" && test -d "$CPP"; then 7185 CPP= 7186fi 7187if test -z "$CPP"; then 7188 if ${ac_cv_prog_CPP+:} false; then : 7189 $as_echo_n "(cached) " >&6 7190else 7191 # Double quotes because CPP needs to be expanded 7192 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7193 do 7194 ac_preproc_ok=false 7195for ac_c_preproc_warn_flag in '' yes 7196do 7197 # Use a header file that comes with gcc, so configuring glibc 7198 # with a fresh cross-compiler works. 7199 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7200 # <limits.h> exists even on freestanding compilers. 7201 # On the NeXT, cc -E runs the code through the compiler's parser, 7202 # not just through cpp. "Syntax error" is here to catch this case. 7203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7204/* end confdefs.h. */ 7205#ifdef __STDC__ 7206# include <limits.h> 7207#else 7208# include <assert.h> 7209#endif 7210 Syntax error 7211_ACEOF 7212if ac_fn_c_try_cpp "$LINENO"; then : 7213 7214else 7215 # Broken: fails on valid input. 7216continue 7217fi 7218rm -f conftest.err conftest.i conftest.$ac_ext 7219 7220 # OK, works on sane cases. Now check whether nonexistent headers 7221 # can be detected and how. 7222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7223/* end confdefs.h. */ 7224#include <ac_nonexistent.h> 7225_ACEOF 7226if ac_fn_c_try_cpp "$LINENO"; then : 7227 # Broken: success on invalid input. 7228continue 7229else 7230 # Passes both tests. 7231ac_preproc_ok=: 7232break 7233fi 7234rm -f conftest.err conftest.i conftest.$ac_ext 7235 7236done 7237# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7238rm -f conftest.i conftest.err conftest.$ac_ext 7239if $ac_preproc_ok; then : 7240 break 7241fi 7242 7243 done 7244 ac_cv_prog_CPP=$CPP 7245 7246fi 7247 CPP=$ac_cv_prog_CPP 7248else 7249 ac_cv_prog_CPP=$CPP 7250fi 7251{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7252$as_echo "$CPP" >&6; } 7253ac_preproc_ok=false 7254for ac_c_preproc_warn_flag in '' yes 7255do 7256 # Use a header file that comes with gcc, so configuring glibc 7257 # with a fresh cross-compiler works. 7258 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7259 # <limits.h> exists even on freestanding compilers. 7260 # On the NeXT, cc -E runs the code through the compiler's parser, 7261 # not just through cpp. "Syntax error" is here to catch this case. 7262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7263/* end confdefs.h. */ 7264#ifdef __STDC__ 7265# include <limits.h> 7266#else 7267# include <assert.h> 7268#endif 7269 Syntax error 7270_ACEOF 7271if ac_fn_c_try_cpp "$LINENO"; then : 7272 7273else 7274 # Broken: fails on valid input. 7275continue 7276fi 7277rm -f conftest.err conftest.i conftest.$ac_ext 7278 7279 # OK, works on sane cases. Now check whether nonexistent headers 7280 # can be detected and how. 7281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7282/* end confdefs.h. */ 7283#include <ac_nonexistent.h> 7284_ACEOF 7285if ac_fn_c_try_cpp "$LINENO"; then : 7286 # Broken: success on invalid input. 7287continue 7288else 7289 # Passes both tests. 7290ac_preproc_ok=: 7291break 7292fi 7293rm -f conftest.err conftest.i conftest.$ac_ext 7294 7295done 7296# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7297rm -f conftest.i conftest.err conftest.$ac_ext 7298if $ac_preproc_ok; then : 7299 7300else 7301 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7302$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7303as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7304See \`config.log' for more details" "$LINENO" 5; } 7305fi 7306 7307ac_ext=c 7308ac_cpp='$CPP $CPPFLAGS' 7309ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7310ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7311ac_compiler_gnu=$ac_cv_c_compiler_gnu 7312 7313 7314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7315$as_echo_n "checking for ANSI C header files... " >&6; } 7316if ${ac_cv_header_stdc+:} false; then : 7317 $as_echo_n "(cached) " >&6 7318else 7319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7320/* end confdefs.h. */ 7321#include <stdlib.h> 7322#include <stdarg.h> 7323#include <string.h> 7324#include <float.h> 7325 7326int 7327main () 7328{ 7329 7330 ; 7331 return 0; 7332} 7333_ACEOF 7334if ac_fn_c_try_compile "$LINENO"; then : 7335 ac_cv_header_stdc=yes 7336else 7337 ac_cv_header_stdc=no 7338fi 7339rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7340 7341if test $ac_cv_header_stdc = yes; then 7342 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7344/* end confdefs.h. */ 7345#include <string.h> 7346 7347_ACEOF 7348if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7349 $EGREP "memchr" >/dev/null 2>&1; then : 7350 7351else 7352 ac_cv_header_stdc=no 7353fi 7354rm -f conftest* 7355 7356fi 7357 7358if test $ac_cv_header_stdc = yes; then 7359 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7361/* end confdefs.h. */ 7362#include <stdlib.h> 7363 7364_ACEOF 7365if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7366 $EGREP "free" >/dev/null 2>&1; then : 7367 7368else 7369 ac_cv_header_stdc=no 7370fi 7371rm -f conftest* 7372 7373fi 7374 7375if test $ac_cv_header_stdc = yes; then 7376 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7377 if test "$cross_compiling" = yes; then : 7378 : 7379else 7380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7381/* end confdefs.h. */ 7382#include <ctype.h> 7383#include <stdlib.h> 7384#if ((' ' & 0x0FF) == 0x020) 7385# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7386# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7387#else 7388# define ISLOWER(c) \ 7389 (('a' <= (c) && (c) <= 'i') \ 7390 || ('j' <= (c) && (c) <= 'r') \ 7391 || ('s' <= (c) && (c) <= 'z')) 7392# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7393#endif 7394 7395#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7396int 7397main () 7398{ 7399 int i; 7400 for (i = 0; i < 256; i++) 7401 if (XOR (islower (i), ISLOWER (i)) 7402 || toupper (i) != TOUPPER (i)) 7403 return 2; 7404 return 0; 7405} 7406_ACEOF 7407if ac_fn_c_try_run "$LINENO"; then : 7408 7409else 7410 ac_cv_header_stdc=no 7411fi 7412rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7413 conftest.$ac_objext conftest.beam conftest.$ac_ext 7414fi 7415 7416fi 7417fi 7418{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7419$as_echo "$ac_cv_header_stdc" >&6; } 7420if test $ac_cv_header_stdc = yes; then 7421 7422$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7423 7424fi 7425 7426# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7427for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7428 inttypes.h stdint.h unistd.h 7429do : 7430 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7431ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7432" 7433if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7434 cat >>confdefs.h <<_ACEOF 7435#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7436_ACEOF 7437 7438fi 7439 7440done 7441 7442 7443for ac_header in dlfcn.h 7444do : 7445 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7446" 7447if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7448 cat >>confdefs.h <<_ACEOF 7449#define HAVE_DLFCN_H 1 7450_ACEOF 7451 7452fi 7453 7454done 7455 7456 7457 7458 7459 7460# Set options 7461# Check whether --enable-static was given. 7462if test "${enable_static+set}" = set; then : 7463 enableval=$enable_static; p=${PACKAGE-default} 7464 case $enableval in 7465 yes) enable_static=yes ;; 7466 no) enable_static=no ;; 7467 *) 7468 enable_static=no 7469 # Look at the argument we got. We use all the common list separators. 7470 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7471 for pkg in $enableval; do 7472 IFS=$lt_save_ifs 7473 if test "X$pkg" = "X$p"; then 7474 enable_static=yes 7475 fi 7476 done 7477 IFS=$lt_save_ifs 7478 ;; 7479 esac 7480else 7481 enable_static=no 7482fi 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 enable_dlopen=no 7494 7495 7496 enable_win32_dll=no 7497 7498 7499 # Check whether --enable-shared was given. 7500if test "${enable_shared+set}" = set; then : 7501 enableval=$enable_shared; p=${PACKAGE-default} 7502 case $enableval in 7503 yes) enable_shared=yes ;; 7504 no) enable_shared=no ;; 7505 *) 7506 enable_shared=no 7507 # Look at the argument we got. We use all the common list separators. 7508 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7509 for pkg in $enableval; do 7510 IFS=$lt_save_ifs 7511 if test "X$pkg" = "X$p"; then 7512 enable_shared=yes 7513 fi 7514 done 7515 IFS=$lt_save_ifs 7516 ;; 7517 esac 7518else 7519 enable_shared=yes 7520fi 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532# Check whether --with-pic was given. 7533if test "${with_pic+set}" = set; then : 7534 withval=$with_pic; lt_p=${PACKAGE-default} 7535 case $withval in 7536 yes|no) pic_mode=$withval ;; 7537 *) 7538 pic_mode=default 7539 # Look at the argument we got. We use all the common list separators. 7540 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7541 for lt_pkg in $withval; do 7542 IFS=$lt_save_ifs 7543 if test "X$lt_pkg" = "X$lt_p"; then 7544 pic_mode=yes 7545 fi 7546 done 7547 IFS=$lt_save_ifs 7548 ;; 7549 esac 7550else 7551 pic_mode=default 7552fi 7553 7554 7555 7556 7557 7558 7559 7560 7561 # Check whether --enable-fast-install was given. 7562if test "${enable_fast_install+set}" = set; then : 7563 enableval=$enable_fast_install; p=${PACKAGE-default} 7564 case $enableval in 7565 yes) enable_fast_install=yes ;; 7566 no) enable_fast_install=no ;; 7567 *) 7568 enable_fast_install=no 7569 # Look at the argument we got. We use all the common list separators. 7570 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7571 for pkg in $enableval; do 7572 IFS=$lt_save_ifs 7573 if test "X$pkg" = "X$p"; then 7574 enable_fast_install=yes 7575 fi 7576 done 7577 IFS=$lt_save_ifs 7578 ;; 7579 esac 7580else 7581 enable_fast_install=yes 7582fi 7583 7584 7585 7586 7587 7588 7589 7590 7591 shared_archive_member_spec= 7592case $host,$enable_shared in 7593power*-*-aix[5-9]*,yes) 7594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 7595$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 7596 7597# Check whether --with-aix-soname was given. 7598if test "${with_aix_soname+set}" = set; then : 7599 withval=$with_aix_soname; case $withval in 7600 aix|svr4|both) 7601 ;; 7602 *) 7603 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 7604 ;; 7605 esac 7606 lt_cv_with_aix_soname=$with_aix_soname 7607else 7608 if ${lt_cv_with_aix_soname+:} false; then : 7609 $as_echo_n "(cached) " >&6 7610else 7611 lt_cv_with_aix_soname=aix 7612fi 7613 7614 with_aix_soname=$lt_cv_with_aix_soname 7615fi 7616 7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 7618$as_echo "$with_aix_soname" >&6; } 7619 if test aix != "$with_aix_soname"; then 7620 # For the AIX way of multilib, we name the shared archive member 7621 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 7622 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 7623 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 7624 # the AIX toolchain works better with OBJECT_MODE set (default 32). 7625 if test 64 = "${OBJECT_MODE-32}"; then 7626 shared_archive_member_spec=shr_64 7627 else 7628 shared_archive_member_spec=shr 7629 fi 7630 fi 7631 ;; 7632*) 7633 with_aix_soname=aix 7634 ;; 7635esac 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646# This can be used to rebuild libtool when needed 7647LIBTOOL_DEPS=$ltmain 7648 7649# Always use our own libtool. 7650LIBTOOL='$(SHELL) $(top_builddir)/libtool' 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681test -z "$LN_S" && LN_S="ln -s" 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696if test -n "${ZSH_VERSION+set}"; then 7697 setopt NO_GLOB_SUBST 7698fi 7699 7700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 7701$as_echo_n "checking for objdir... " >&6; } 7702if ${lt_cv_objdir+:} false; then : 7703 $as_echo_n "(cached) " >&6 7704else 7705 rm -f .libs 2>/dev/null 7706mkdir .libs 2>/dev/null 7707if test -d .libs; then 7708 lt_cv_objdir=.libs 7709else 7710 # MS-DOS does not allow filenames that begin with a dot. 7711 lt_cv_objdir=_libs 7712fi 7713rmdir .libs 2>/dev/null 7714fi 7715{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 7716$as_echo "$lt_cv_objdir" >&6; } 7717objdir=$lt_cv_objdir 7718 7719 7720 7721 7722 7723cat >>confdefs.h <<_ACEOF 7724#define LT_OBJDIR "$lt_cv_objdir/" 7725_ACEOF 7726 7727 7728 7729 7730case $host_os in 7731aix3*) 7732 # AIX sometimes has problems with the GCC collect2 program. For some 7733 # reason, if we set the COLLECT_NAMES environment variable, the problems 7734 # vanish in a puff of smoke. 7735 if test set != "${COLLECT_NAMES+set}"; then 7736 COLLECT_NAMES= 7737 export COLLECT_NAMES 7738 fi 7739 ;; 7740esac 7741 7742# Global variables: 7743ofile=libtool 7744can_build_shared=yes 7745 7746# All known linkers require a '.a' archive for static linking (except MSVC, 7747# which needs '.lib'). 7748libext=a 7749 7750with_gnu_ld=$lt_cv_prog_gnu_ld 7751 7752old_CC=$CC 7753old_CFLAGS=$CFLAGS 7754 7755# Set sane defaults for various variables 7756test -z "$CC" && CC=cc 7757test -z "$LTCC" && LTCC=$CC 7758test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7759test -z "$LD" && LD=ld 7760test -z "$ac_objext" && ac_objext=o 7761 7762func_cc_basename $compiler 7763cc_basename=$func_cc_basename_result 7764 7765 7766# Only perform the check for file, if the check method requires it 7767test -z "$MAGIC_CMD" && MAGIC_CMD=file 7768case $deplibs_check_method in 7769file_magic*) 7770 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 7772$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 7773if ${lt_cv_path_MAGIC_CMD+:} false; then : 7774 $as_echo_n "(cached) " >&6 7775else 7776 case $MAGIC_CMD in 7777[\\/*] | ?:[\\/]*) 7778 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 7779 ;; 7780*) 7781 lt_save_MAGIC_CMD=$MAGIC_CMD 7782 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 7783 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7784 for ac_dir in $ac_dummy; do 7785 IFS=$lt_save_ifs 7786 test -z "$ac_dir" && ac_dir=. 7787 if test -f "$ac_dir/${ac_tool_prefix}file"; then 7788 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 7789 if test -n "$file_magic_test_file"; then 7790 case $deplibs_check_method in 7791 "file_magic "*) 7792 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7793 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 7794 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7795 $EGREP "$file_magic_regex" > /dev/null; then 7796 : 7797 else 7798 cat <<_LT_EOF 1>&2 7799 7800*** Warning: the command libtool uses to detect shared libraries, 7801*** $file_magic_cmd, produces output that libtool cannot recognize. 7802*** The result is that libtool may fail to recognize shared libraries 7803*** as such. This will affect the creation of libtool libraries that 7804*** depend on shared libraries, but programs linked with such libtool 7805*** libraries will work regardless of this problem. Nevertheless, you 7806*** may want to report the problem to your system manager and/or to 7807*** bug-libtool@gnu.org 7808 7809_LT_EOF 7810 fi ;; 7811 esac 7812 fi 7813 break 7814 fi 7815 done 7816 IFS=$lt_save_ifs 7817 MAGIC_CMD=$lt_save_MAGIC_CMD 7818 ;; 7819esac 7820fi 7821 7822MAGIC_CMD=$lt_cv_path_MAGIC_CMD 7823if test -n "$MAGIC_CMD"; then 7824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7825$as_echo "$MAGIC_CMD" >&6; } 7826else 7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7828$as_echo "no" >&6; } 7829fi 7830 7831 7832 7833 7834 7835if test -z "$lt_cv_path_MAGIC_CMD"; then 7836 if test -n "$ac_tool_prefix"; then 7837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 7838$as_echo_n "checking for file... " >&6; } 7839if ${lt_cv_path_MAGIC_CMD+:} false; then : 7840 $as_echo_n "(cached) " >&6 7841else 7842 case $MAGIC_CMD in 7843[\\/*] | ?:[\\/]*) 7844 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 7845 ;; 7846*) 7847 lt_save_MAGIC_CMD=$MAGIC_CMD 7848 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 7849 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7850 for ac_dir in $ac_dummy; do 7851 IFS=$lt_save_ifs 7852 test -z "$ac_dir" && ac_dir=. 7853 if test -f "$ac_dir/file"; then 7854 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 7855 if test -n "$file_magic_test_file"; then 7856 case $deplibs_check_method in 7857 "file_magic "*) 7858 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7859 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 7860 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7861 $EGREP "$file_magic_regex" > /dev/null; then 7862 : 7863 else 7864 cat <<_LT_EOF 1>&2 7865 7866*** Warning: the command libtool uses to detect shared libraries, 7867*** $file_magic_cmd, produces output that libtool cannot recognize. 7868*** The result is that libtool may fail to recognize shared libraries 7869*** as such. This will affect the creation of libtool libraries that 7870*** depend on shared libraries, but programs linked with such libtool 7871*** libraries will work regardless of this problem. Nevertheless, you 7872*** may want to report the problem to your system manager and/or to 7873*** bug-libtool@gnu.org 7874 7875_LT_EOF 7876 fi ;; 7877 esac 7878 fi 7879 break 7880 fi 7881 done 7882 IFS=$lt_save_ifs 7883 MAGIC_CMD=$lt_save_MAGIC_CMD 7884 ;; 7885esac 7886fi 7887 7888MAGIC_CMD=$lt_cv_path_MAGIC_CMD 7889if test -n "$MAGIC_CMD"; then 7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7891$as_echo "$MAGIC_CMD" >&6; } 7892else 7893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7894$as_echo "no" >&6; } 7895fi 7896 7897 7898 else 7899 MAGIC_CMD=: 7900 fi 7901fi 7902 7903 fi 7904 ;; 7905esac 7906 7907# Use C for the default configuration in the libtool script 7908 7909lt_save_CC=$CC 7910ac_ext=c 7911ac_cpp='$CPP $CPPFLAGS' 7912ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7913ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7914ac_compiler_gnu=$ac_cv_c_compiler_gnu 7915 7916 7917# Source file extension for C test sources. 7918ac_ext=c 7919 7920# Object file extension for compiled C test sources. 7921objext=o 7922objext=$objext 7923 7924# Code to be used in simple compile tests 7925lt_simple_compile_test_code="int some_variable = 0;" 7926 7927# Code to be used in simple link tests 7928lt_simple_link_test_code='int main(){return(0);}' 7929 7930 7931 7932 7933 7934 7935 7936# If no C compiler was specified, use CC. 7937LTCC=${LTCC-"$CC"} 7938 7939# If no C compiler flags were specified, use CFLAGS. 7940LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7941 7942# Allow CC to be a program name with arguments. 7943compiler=$CC 7944 7945# Save the default compiler, since it gets overwritten when the other 7946# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 7947compiler_DEFAULT=$CC 7948 7949# save warnings/boilerplate of simple test code 7950ac_outfile=conftest.$ac_objext 7951echo "$lt_simple_compile_test_code" >conftest.$ac_ext 7952eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7953_lt_compiler_boilerplate=`cat conftest.err` 7954$RM conftest* 7955 7956ac_outfile=conftest.$ac_objext 7957echo "$lt_simple_link_test_code" >conftest.$ac_ext 7958eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7959_lt_linker_boilerplate=`cat conftest.err` 7960$RM -r conftest* 7961 7962 7963## CAVEAT EMPTOR: 7964## There is no encapsulation within the following macros, do not change 7965## the running order or otherwise move them around unless you know exactly 7966## what you are doing... 7967if test -n "$compiler"; then 7968 7969lt_prog_compiler_no_builtin_flag= 7970 7971if test yes = "$GCC"; then 7972 case $cc_basename in 7973 nvcc*) 7974 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 7975 *) 7976 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 7977 esac 7978 7979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 7980$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 7981if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 7982 $as_echo_n "(cached) " >&6 7983else 7984 lt_cv_prog_compiler_rtti_exceptions=no 7985 ac_outfile=conftest.$ac_objext 7986 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7987 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 7988 # Insert the option either (1) after the last *FLAGS variable, or 7989 # (2) before a word containing "conftest.", or (3) at the end. 7990 # Note that $ac_compile itself does not contain backslashes and begins 7991 # with a dollar sign (not a hyphen), so the echo should work correctly. 7992 # The option is referenced via a variable to avoid confusing sed. 7993 lt_compile=`echo "$ac_compile" | $SED \ 7994 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7995 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7996 -e 's:$: $lt_compiler_flag:'` 7997 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 7998 (eval "$lt_compile" 2>conftest.err) 7999 ac_status=$? 8000 cat conftest.err >&5 8001 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8002 if (exit $ac_status) && test -s "$ac_outfile"; then 8003 # The compiler can only warn and ignore the option if not recognized 8004 # So say no if there are warnings other than the usual output. 8005 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8006 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8007 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8008 lt_cv_prog_compiler_rtti_exceptions=yes 8009 fi 8010 fi 8011 $RM conftest* 8012 8013fi 8014{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8015$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8016 8017if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 8018 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8019else 8020 : 8021fi 8022 8023fi 8024 8025 8026 8027 8028 8029 8030 lt_prog_compiler_wl= 8031lt_prog_compiler_pic= 8032lt_prog_compiler_static= 8033 8034 8035 if test yes = "$GCC"; then 8036 lt_prog_compiler_wl='-Wl,' 8037 lt_prog_compiler_static='-static' 8038 8039 case $host_os in 8040 aix*) 8041 # All AIX code is PIC. 8042 if test ia64 = "$host_cpu"; then 8043 # AIX 5 now supports IA64 processor 8044 lt_prog_compiler_static='-Bstatic' 8045 fi 8046 lt_prog_compiler_pic='-fPIC' 8047 ;; 8048 8049 amigaos*) 8050 case $host_cpu in 8051 powerpc) 8052 # see comment about AmigaOS4 .so support 8053 lt_prog_compiler_pic='-fPIC' 8054 ;; 8055 m68k) 8056 # FIXME: we need at least 68020 code to build shared libraries, but 8057 # adding the '-m68020' flag to GCC prevents building anything better, 8058 # like '-m68040'. 8059 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8060 ;; 8061 esac 8062 ;; 8063 8064 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8065 # PIC is the default for these OSes. 8066 ;; 8067 8068 mingw* | cygwin* | pw32* | os2* | cegcc*) 8069 # This hack is so that the source file can tell whether it is being 8070 # built for inclusion in a dll (and should export symbols for example). 8071 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8072 # (--disable-auto-import) libraries 8073 lt_prog_compiler_pic='-DDLL_EXPORT' 8074 case $host_os in 8075 os2*) 8076 lt_prog_compiler_static='$wl-static' 8077 ;; 8078 esac 8079 ;; 8080 8081 darwin* | rhapsody*) 8082 # PIC is the default on this platform 8083 # Common symbols not allowed in MH_DYLIB files 8084 lt_prog_compiler_pic='-fno-common' 8085 ;; 8086 8087 haiku*) 8088 # PIC is the default for Haiku. 8089 # The "-static" flag exists, but is broken. 8090 lt_prog_compiler_static= 8091 ;; 8092 8093 hpux*) 8094 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8095 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8096 # sets the default TLS model and affects inlining. 8097 case $host_cpu in 8098 hppa*64*) 8099 # +Z the default 8100 ;; 8101 *) 8102 lt_prog_compiler_pic='-fPIC' 8103 ;; 8104 esac 8105 ;; 8106 8107 interix[3-9]*) 8108 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8109 # Instead, we relocate shared libraries at runtime. 8110 ;; 8111 8112 msdosdjgpp*) 8113 # Just because we use GCC doesn't mean we suddenly get shared libraries 8114 # on systems that don't support them. 8115 lt_prog_compiler_can_build_shared=no 8116 enable_shared=no 8117 ;; 8118 8119 *nto* | *qnx*) 8120 # QNX uses GNU C++, but need to define -shared option too, otherwise 8121 # it will coredump. 8122 lt_prog_compiler_pic='-fPIC -shared' 8123 ;; 8124 8125 sysv4*MP*) 8126 if test -d /usr/nec; then 8127 lt_prog_compiler_pic=-Kconform_pic 8128 fi 8129 ;; 8130 8131 *) 8132 lt_prog_compiler_pic='-fPIC' 8133 ;; 8134 esac 8135 8136 case $cc_basename in 8137 nvcc*) # Cuda Compiler Driver 2.2 8138 lt_prog_compiler_wl='-Xlinker ' 8139 if test -n "$lt_prog_compiler_pic"; then 8140 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8141 fi 8142 ;; 8143 esac 8144 else 8145 # PORTME Check for flag to pass linker flags through the system compiler. 8146 case $host_os in 8147 aix*) 8148 lt_prog_compiler_wl='-Wl,' 8149 if test ia64 = "$host_cpu"; then 8150 # AIX 5 now supports IA64 processor 8151 lt_prog_compiler_static='-Bstatic' 8152 else 8153 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8154 fi 8155 ;; 8156 8157 darwin* | rhapsody*) 8158 # PIC is the default on this platform 8159 # Common symbols not allowed in MH_DYLIB files 8160 lt_prog_compiler_pic='-fno-common' 8161 case $cc_basename in 8162 nagfor*) 8163 # NAG Fortran compiler 8164 lt_prog_compiler_wl='-Wl,-Wl,,' 8165 lt_prog_compiler_pic='-PIC' 8166 lt_prog_compiler_static='-Bstatic' 8167 ;; 8168 esac 8169 ;; 8170 8171 mingw* | cygwin* | pw32* | os2* | cegcc*) 8172 # This hack is so that the source file can tell whether it is being 8173 # built for inclusion in a dll (and should export symbols for example). 8174 lt_prog_compiler_pic='-DDLL_EXPORT' 8175 case $host_os in 8176 os2*) 8177 lt_prog_compiler_static='$wl-static' 8178 ;; 8179 esac 8180 ;; 8181 8182 hpux9* | hpux10* | hpux11*) 8183 lt_prog_compiler_wl='-Wl,' 8184 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8185 # not for PA HP-UX. 8186 case $host_cpu in 8187 hppa*64*|ia64*) 8188 # +Z the default 8189 ;; 8190 *) 8191 lt_prog_compiler_pic='+Z' 8192 ;; 8193 esac 8194 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8195 lt_prog_compiler_static='$wl-a ${wl}archive' 8196 ;; 8197 8198 irix5* | irix6* | nonstopux*) 8199 lt_prog_compiler_wl='-Wl,' 8200 # PIC (with -KPIC) is the default. 8201 lt_prog_compiler_static='-non_shared' 8202 ;; 8203 8204 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 8205 case $cc_basename in 8206 # old Intel for x86_64, which still supported -KPIC. 8207 ecc*) 8208 lt_prog_compiler_wl='-Wl,' 8209 lt_prog_compiler_pic='-KPIC' 8210 lt_prog_compiler_static='-static' 8211 ;; 8212 # icc used to be incompatible with GCC. 8213 # ICC 10 doesn't accept -KPIC any more. 8214 icc* | ifort*) 8215 lt_prog_compiler_wl='-Wl,' 8216 lt_prog_compiler_pic='-fPIC' 8217 lt_prog_compiler_static='-static' 8218 ;; 8219 # Lahey Fortran 8.1. 8220 lf95*) 8221 lt_prog_compiler_wl='-Wl,' 8222 lt_prog_compiler_pic='--shared' 8223 lt_prog_compiler_static='--static' 8224 ;; 8225 nagfor*) 8226 # NAG Fortran compiler 8227 lt_prog_compiler_wl='-Wl,-Wl,,' 8228 lt_prog_compiler_pic='-PIC' 8229 lt_prog_compiler_static='-Bstatic' 8230 ;; 8231 tcc*) 8232 # Fabrice Bellard et al's Tiny C Compiler 8233 lt_prog_compiler_wl='-Wl,' 8234 lt_prog_compiler_pic='-fPIC' 8235 lt_prog_compiler_static='-static' 8236 ;; 8237 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8238 # Portland Group compilers (*not* the Pentium gcc compiler, 8239 # which looks to be a dead project) 8240 lt_prog_compiler_wl='-Wl,' 8241 lt_prog_compiler_pic='-fpic' 8242 lt_prog_compiler_static='-Bstatic' 8243 ;; 8244 ccc*) 8245 lt_prog_compiler_wl='-Wl,' 8246 # All Alpha code is PIC. 8247 lt_prog_compiler_static='-non_shared' 8248 ;; 8249 xl* | bgxl* | bgf* | mpixl*) 8250 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8251 lt_prog_compiler_wl='-Wl,' 8252 lt_prog_compiler_pic='-qpic' 8253 lt_prog_compiler_static='-qstaticlink' 8254 ;; 8255 *) 8256 case `$CC -V 2>&1 | sed 5q` in 8257 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8258 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8259 lt_prog_compiler_pic='-KPIC' 8260 lt_prog_compiler_static='-Bstatic' 8261 lt_prog_compiler_wl='' 8262 ;; 8263 *Sun\ F* | *Sun*Fortran*) 8264 lt_prog_compiler_pic='-KPIC' 8265 lt_prog_compiler_static='-Bstatic' 8266 lt_prog_compiler_wl='-Qoption ld ' 8267 ;; 8268 *Sun\ C*) 8269 # Sun C 5.9 8270 lt_prog_compiler_pic='-KPIC' 8271 lt_prog_compiler_static='-Bstatic' 8272 lt_prog_compiler_wl='-Wl,' 8273 ;; 8274 *Intel*\ [CF]*Compiler*) 8275 lt_prog_compiler_wl='-Wl,' 8276 lt_prog_compiler_pic='-fPIC' 8277 lt_prog_compiler_static='-static' 8278 ;; 8279 *Portland\ Group*) 8280 lt_prog_compiler_wl='-Wl,' 8281 lt_prog_compiler_pic='-fpic' 8282 lt_prog_compiler_static='-Bstatic' 8283 ;; 8284 esac 8285 ;; 8286 esac 8287 ;; 8288 8289 newsos6) 8290 lt_prog_compiler_pic='-KPIC' 8291 lt_prog_compiler_static='-Bstatic' 8292 ;; 8293 8294 *nto* | *qnx*) 8295 # QNX uses GNU C++, but need to define -shared option too, otherwise 8296 # it will coredump. 8297 lt_prog_compiler_pic='-fPIC -shared' 8298 ;; 8299 8300 osf3* | osf4* | osf5*) 8301 lt_prog_compiler_wl='-Wl,' 8302 # All OSF/1 code is PIC. 8303 lt_prog_compiler_static='-non_shared' 8304 ;; 8305 8306 rdos*) 8307 lt_prog_compiler_static='-non_shared' 8308 ;; 8309 8310 solaris*) 8311 lt_prog_compiler_pic='-KPIC' 8312 lt_prog_compiler_static='-Bstatic' 8313 case $cc_basename in 8314 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8315 lt_prog_compiler_wl='-Qoption ld ';; 8316 *) 8317 lt_prog_compiler_wl='-Wl,';; 8318 esac 8319 ;; 8320 8321 sunos4*) 8322 lt_prog_compiler_wl='-Qoption ld ' 8323 lt_prog_compiler_pic='-PIC' 8324 lt_prog_compiler_static='-Bstatic' 8325 ;; 8326 8327 sysv4 | sysv4.2uw2* | sysv4.3*) 8328 lt_prog_compiler_wl='-Wl,' 8329 lt_prog_compiler_pic='-KPIC' 8330 lt_prog_compiler_static='-Bstatic' 8331 ;; 8332 8333 sysv4*MP*) 8334 if test -d /usr/nec; then 8335 lt_prog_compiler_pic='-Kconform_pic' 8336 lt_prog_compiler_static='-Bstatic' 8337 fi 8338 ;; 8339 8340 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8341 lt_prog_compiler_wl='-Wl,' 8342 lt_prog_compiler_pic='-KPIC' 8343 lt_prog_compiler_static='-Bstatic' 8344 ;; 8345 8346 unicos*) 8347 lt_prog_compiler_wl='-Wl,' 8348 lt_prog_compiler_can_build_shared=no 8349 ;; 8350 8351 uts4*) 8352 lt_prog_compiler_pic='-pic' 8353 lt_prog_compiler_static='-Bstatic' 8354 ;; 8355 8356 *) 8357 lt_prog_compiler_can_build_shared=no 8358 ;; 8359 esac 8360 fi 8361 8362case $host_os in 8363 # For platforms that do not support PIC, -DPIC is meaningless: 8364 *djgpp*) 8365 lt_prog_compiler_pic= 8366 ;; 8367 *) 8368 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8369 ;; 8370esac 8371 8372{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8373$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8374if ${lt_cv_prog_compiler_pic+:} false; then : 8375 $as_echo_n "(cached) " >&6 8376else 8377 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8378fi 8379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8380$as_echo "$lt_cv_prog_compiler_pic" >&6; } 8381lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8382 8383# 8384# Check to make sure the PIC flag actually works. 8385# 8386if test -n "$lt_prog_compiler_pic"; then 8387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8388$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8389if ${lt_cv_prog_compiler_pic_works+:} false; then : 8390 $as_echo_n "(cached) " >&6 8391else 8392 lt_cv_prog_compiler_pic_works=no 8393 ac_outfile=conftest.$ac_objext 8394 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8395 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 8396 # Insert the option either (1) after the last *FLAGS variable, or 8397 # (2) before a word containing "conftest.", or (3) at the end. 8398 # Note that $ac_compile itself does not contain backslashes and begins 8399 # with a dollar sign (not a hyphen), so the echo should work correctly. 8400 # The option is referenced via a variable to avoid confusing sed. 8401 lt_compile=`echo "$ac_compile" | $SED \ 8402 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8403 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8404 -e 's:$: $lt_compiler_flag:'` 8405 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8406 (eval "$lt_compile" 2>conftest.err) 8407 ac_status=$? 8408 cat conftest.err >&5 8409 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8410 if (exit $ac_status) && test -s "$ac_outfile"; then 8411 # The compiler can only warn and ignore the option if not recognized 8412 # So say no if there are warnings other than the usual output. 8413 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8414 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8415 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8416 lt_cv_prog_compiler_pic_works=yes 8417 fi 8418 fi 8419 $RM conftest* 8420 8421fi 8422{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8423$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8424 8425if test yes = "$lt_cv_prog_compiler_pic_works"; then 8426 case $lt_prog_compiler_pic in 8427 "" | " "*) ;; 8428 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8429 esac 8430else 8431 lt_prog_compiler_pic= 8432 lt_prog_compiler_can_build_shared=no 8433fi 8434 8435fi 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447# 8448# Check to make sure the static flag actually works. 8449# 8450wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8452$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8453if ${lt_cv_prog_compiler_static_works+:} false; then : 8454 $as_echo_n "(cached) " >&6 8455else 8456 lt_cv_prog_compiler_static_works=no 8457 save_LDFLAGS=$LDFLAGS 8458 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8459 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8460 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8461 # The linker can only warn and ignore the option if not recognized 8462 # So say no if there are warnings 8463 if test -s conftest.err; then 8464 # Append any errors to the config.log. 8465 cat conftest.err 1>&5 8466 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 8467 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8468 if diff conftest.exp conftest.er2 >/dev/null; then 8469 lt_cv_prog_compiler_static_works=yes 8470 fi 8471 else 8472 lt_cv_prog_compiler_static_works=yes 8473 fi 8474 fi 8475 $RM -r conftest* 8476 LDFLAGS=$save_LDFLAGS 8477 8478fi 8479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8480$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8481 8482if test yes = "$lt_cv_prog_compiler_static_works"; then 8483 : 8484else 8485 lt_prog_compiler_static= 8486fi 8487 8488 8489 8490 8491 8492 8493 8494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8495$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8496if ${lt_cv_prog_compiler_c_o+:} false; then : 8497 $as_echo_n "(cached) " >&6 8498else 8499 lt_cv_prog_compiler_c_o=no 8500 $RM -r conftest 2>/dev/null 8501 mkdir conftest 8502 cd conftest 8503 mkdir out 8504 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8505 8506 lt_compiler_flag="-o out/conftest2.$ac_objext" 8507 # Insert the option either (1) after the last *FLAGS variable, or 8508 # (2) before a word containing "conftest.", or (3) at the end. 8509 # Note that $ac_compile itself does not contain backslashes and begins 8510 # with a dollar sign (not a hyphen), so the echo should work correctly. 8511 lt_compile=`echo "$ac_compile" | $SED \ 8512 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8513 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8514 -e 's:$: $lt_compiler_flag:'` 8515 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8516 (eval "$lt_compile" 2>out/conftest.err) 8517 ac_status=$? 8518 cat out/conftest.err >&5 8519 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8520 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8521 then 8522 # The compiler can only warn and ignore the option if not recognized 8523 # So say no if there are warnings 8524 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8525 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8526 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8527 lt_cv_prog_compiler_c_o=yes 8528 fi 8529 fi 8530 chmod u+w . 2>&5 8531 $RM conftest* 8532 # SGI C++ compiler will create directory out/ii_files/ for 8533 # template instantiation 8534 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8535 $RM out/* && rmdir out 8536 cd .. 8537 $RM -r conftest 8538 $RM conftest* 8539 8540fi 8541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8542$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8543 8544 8545 8546 8547 8548 8549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8550$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8551if ${lt_cv_prog_compiler_c_o+:} false; then : 8552 $as_echo_n "(cached) " >&6 8553else 8554 lt_cv_prog_compiler_c_o=no 8555 $RM -r conftest 2>/dev/null 8556 mkdir conftest 8557 cd conftest 8558 mkdir out 8559 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8560 8561 lt_compiler_flag="-o out/conftest2.$ac_objext" 8562 # Insert the option either (1) after the last *FLAGS variable, or 8563 # (2) before a word containing "conftest.", or (3) at the end. 8564 # Note that $ac_compile itself does not contain backslashes and begins 8565 # with a dollar sign (not a hyphen), so the echo should work correctly. 8566 lt_compile=`echo "$ac_compile" | $SED \ 8567 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8568 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8569 -e 's:$: $lt_compiler_flag:'` 8570 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8571 (eval "$lt_compile" 2>out/conftest.err) 8572 ac_status=$? 8573 cat out/conftest.err >&5 8574 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8575 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8576 then 8577 # The compiler can only warn and ignore the option if not recognized 8578 # So say no if there are warnings 8579 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8580 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8581 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8582 lt_cv_prog_compiler_c_o=yes 8583 fi 8584 fi 8585 chmod u+w . 2>&5 8586 $RM conftest* 8587 # SGI C++ compiler will create directory out/ii_files/ for 8588 # template instantiation 8589 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8590 $RM out/* && rmdir out 8591 cd .. 8592 $RM -r conftest 8593 $RM conftest* 8594 8595fi 8596{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8597$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8598 8599 8600 8601 8602hard_links=nottested 8603if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 8604 # do not overwrite the value of need_locks provided by the user 8605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 8606$as_echo_n "checking if we can lock with hard links... " >&6; } 8607 hard_links=yes 8608 $RM conftest* 8609 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8610 touch conftest.a 8611 ln conftest.a conftest.b 2>&5 || hard_links=no 8612 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 8614$as_echo "$hard_links" >&6; } 8615 if test no = "$hard_links"; then 8616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 8617$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 8618 need_locks=warn 8619 fi 8620else 8621 need_locks=no 8622fi 8623 8624 8625 8626 8627 8628 8629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8630$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8631 8632 runpath_var= 8633 allow_undefined_flag= 8634 always_export_symbols=no 8635 archive_cmds= 8636 archive_expsym_cmds= 8637 compiler_needs_object=no 8638 enable_shared_with_static_runtimes=no 8639 export_dynamic_flag_spec= 8640 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8641 hardcode_automatic=no 8642 hardcode_direct=no 8643 hardcode_direct_absolute=no 8644 hardcode_libdir_flag_spec= 8645 hardcode_libdir_separator= 8646 hardcode_minus_L=no 8647 hardcode_shlibpath_var=unsupported 8648 inherit_rpath=no 8649 link_all_deplibs=unknown 8650 module_cmds= 8651 module_expsym_cmds= 8652 old_archive_from_new_cmds= 8653 old_archive_from_expsyms_cmds= 8654 thread_safe_flag_spec= 8655 whole_archive_flag_spec= 8656 # include_expsyms should be a list of space-separated symbols to be *always* 8657 # included in the symbol list 8658 include_expsyms= 8659 # exclude_expsyms can be an extended regexp of symbols to exclude 8660 # it will be wrapped by ' (' and ')$', so one must not match beginning or 8661 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 8662 # as well as any symbol that contains 'd'. 8663 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 8664 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8665 # platforms (ab)use it in PIC code, but their linkers get confused if 8666 # the symbol is explicitly referenced. Since portable code cannot 8667 # rely on this symbol name, it's probably fine to never include it in 8668 # preloaded symbol tables. 8669 # Exclude shared library initialization/finalization symbols. 8670 extract_expsyms_cmds= 8671 8672 case $host_os in 8673 cygwin* | mingw* | pw32* | cegcc*) 8674 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8675 # When not using gcc, we currently assume that we are using 8676 # Microsoft Visual C++. 8677 if test yes != "$GCC"; then 8678 with_gnu_ld=no 8679 fi 8680 ;; 8681 interix*) 8682 # we just hope/assume this is gcc and not c89 (= MSVC++) 8683 with_gnu_ld=yes 8684 ;; 8685 openbsd* | bitrig*) 8686 with_gnu_ld=no 8687 ;; 8688 esac 8689 8690 ld_shlibs=yes 8691 8692 # On some targets, GNU ld is compatible enough with the native linker 8693 # that we're better off using the native interface for both. 8694 lt_use_gnu_ld_interface=no 8695 if test yes = "$with_gnu_ld"; then 8696 case $host_os in 8697 aix*) 8698 # The AIX port of GNU ld has always aspired to compatibility 8699 # with the native linker. However, as the warning in the GNU ld 8700 # block says, versions before 2.19.5* couldn't really create working 8701 # shared libraries, regardless of the interface used. 8702 case `$LD -v 2>&1` in 8703 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 8704 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 8705 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 8706 *) 8707 lt_use_gnu_ld_interface=yes 8708 ;; 8709 esac 8710 ;; 8711 *) 8712 lt_use_gnu_ld_interface=yes 8713 ;; 8714 esac 8715 fi 8716 8717 if test yes = "$lt_use_gnu_ld_interface"; then 8718 # If archive_cmds runs LD, not CC, wlarc should be empty 8719 wlarc='$wl' 8720 8721 # Set some defaults for GNU ld with shared library support. These 8722 # are reset later if shared libraries are not supported. Putting them 8723 # here allows them to be overridden if necessary. 8724 runpath_var=LD_RUN_PATH 8725 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 8726 export_dynamic_flag_spec='$wl--export-dynamic' 8727 # ancient GNU ld didn't support --whole-archive et. al. 8728 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 8729 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 8730 else 8731 whole_archive_flag_spec= 8732 fi 8733 supports_anon_versioning=no 8734 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 8735 *GNU\ gold*) supports_anon_versioning=yes ;; 8736 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 8737 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 8738 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 8739 *\ 2.11.*) ;; # other 2.11 versions 8740 *) supports_anon_versioning=yes ;; 8741 esac 8742 8743 # See if GNU ld supports shared libraries. 8744 case $host_os in 8745 aix[3-9]*) 8746 # On AIX/PPC, the GNU linker is very broken 8747 if test ia64 != "$host_cpu"; then 8748 ld_shlibs=no 8749 cat <<_LT_EOF 1>&2 8750 8751*** Warning: the GNU linker, at least up to release 2.19, is reported 8752*** to be unable to reliably create shared libraries on AIX. 8753*** Therefore, libtool is disabling shared libraries support. If you 8754*** really care for shared libraries, you may want to install binutils 8755*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 8756*** You will then need to restart the configuration process. 8757 8758_LT_EOF 8759 fi 8760 ;; 8761 8762 amigaos*) 8763 case $host_cpu in 8764 powerpc) 8765 # see comment about AmigaOS4 .so support 8766 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 8767 archive_expsym_cmds='' 8768 ;; 8769 m68k) 8770 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)' 8771 hardcode_libdir_flag_spec='-L$libdir' 8772 hardcode_minus_L=yes 8773 ;; 8774 esac 8775 ;; 8776 8777 beos*) 8778 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8779 allow_undefined_flag=unsupported 8780 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 8781 # support --undefined. This deserves some investigation. FIXME 8782 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 8783 else 8784 ld_shlibs=no 8785 fi 8786 ;; 8787 8788 cygwin* | mingw* | pw32* | cegcc*) 8789 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 8790 # as there is no search path for DLLs. 8791 hardcode_libdir_flag_spec='-L$libdir' 8792 export_dynamic_flag_spec='$wl--export-all-symbols' 8793 allow_undefined_flag=unsupported 8794 always_export_symbols=no 8795 enable_shared_with_static_runtimes=yes 8796 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' 8797 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 8798 8799 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 8800 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8801 # If the export-symbols file already is a .def file, use it as 8802 # is; otherwise, prepend EXPORTS... 8803 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 8804 cp $export_symbols $output_objdir/$soname.def; 8805 else 8806 echo EXPORTS > $output_objdir/$soname.def; 8807 cat $export_symbols >> $output_objdir/$soname.def; 8808 fi~ 8809 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8810 else 8811 ld_shlibs=no 8812 fi 8813 ;; 8814 8815 haiku*) 8816 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 8817 link_all_deplibs=yes 8818 ;; 8819 8820 os2*) 8821 hardcode_libdir_flag_spec='-L$libdir' 8822 hardcode_minus_L=yes 8823 allow_undefined_flag=unsupported 8824 shrext_cmds=.dll 8825 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 8826 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 8827 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 8828 $ECHO EXPORTS >> $output_objdir/$libname.def~ 8829 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 8830 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 8831 emximp -o $lib $output_objdir/$libname.def' 8832 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 8833 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 8834 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 8835 $ECHO EXPORTS >> $output_objdir/$libname.def~ 8836 prefix_cmds="$SED"~ 8837 if test EXPORTS = "`$SED 1q $export_symbols`"; then 8838 prefix_cmds="$prefix_cmds -e 1d"; 8839 fi~ 8840 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 8841 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 8842 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 8843 emximp -o $lib $output_objdir/$libname.def' 8844 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 8845 enable_shared_with_static_runtimes=yes 8846 ;; 8847 8848 interix[3-9]*) 8849 hardcode_direct=no 8850 hardcode_shlibpath_var=no 8851 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 8852 export_dynamic_flag_spec='$wl-E' 8853 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 8854 # Instead, shared libraries are loaded at an image base (0x10000000 by 8855 # default) and relocated if they conflict, which is a slow very memory 8856 # consuming and fragmenting process. To avoid this, we pick a random, 8857 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 8858 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 8859 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8860 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' 8861 ;; 8862 8863 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 8864 tmp_diet=no 8865 if test linux-dietlibc = "$host_os"; then 8866 case $cc_basename in 8867 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 8868 esac 8869 fi 8870 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 8871 && test no = "$tmp_diet" 8872 then 8873 tmp_addflag=' $pic_flag' 8874 tmp_sharedflag='-shared' 8875 case $cc_basename,$host_cpu in 8876 pgcc*) # Portland Group C compiler 8877 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' 8878 tmp_addflag=' $pic_flag' 8879 ;; 8880 pgf77* | pgf90* | pgf95* | pgfortran*) 8881 # Portland Group f77 and f90 compilers 8882 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' 8883 tmp_addflag=' $pic_flag -Mnomain' ;; 8884 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 8885 tmp_addflag=' -i_dynamic' ;; 8886 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 8887 tmp_addflag=' -i_dynamic -nofor_main' ;; 8888 ifc* | ifort*) # Intel Fortran compiler 8889 tmp_addflag=' -nofor_main' ;; 8890 lf95*) # Lahey Fortran 8.1 8891 whole_archive_flag_spec= 8892 tmp_sharedflag='--shared' ;; 8893 nagfor*) # NAGFOR 5.3 8894 tmp_sharedflag='-Wl,-shared' ;; 8895 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 8896 tmp_sharedflag='-qmkshrobj' 8897 tmp_addflag= ;; 8898 nvcc*) # Cuda Compiler Driver 2.2 8899 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' 8900 compiler_needs_object=yes 8901 ;; 8902 esac 8903 case `$CC -V 2>&1 | sed 5q` in 8904 *Sun\ C*) # Sun C 5.9 8905 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' 8906 compiler_needs_object=yes 8907 tmp_sharedflag='-G' ;; 8908 *Sun\ F*) # Sun Fortran 8.3 8909 tmp_sharedflag='-G' ;; 8910 esac 8911 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 8912 8913 if test yes = "$supports_anon_versioning"; then 8914 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8915 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8916 echo "local: *; };" >> $output_objdir/$libname.ver~ 8917 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 8918 fi 8919 8920 case $cc_basename in 8921 tcc*) 8922 export_dynamic_flag_spec='-rdynamic' 8923 ;; 8924 xlf* | bgf* | bgxlf* | mpixlf*) 8925 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 8926 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 8927 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 8928 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 8929 if test yes = "$supports_anon_versioning"; then 8930 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8931 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8932 echo "local: *; };" >> $output_objdir/$libname.ver~ 8933 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 8934 fi 8935 ;; 8936 esac 8937 else 8938 ld_shlibs=no 8939 fi 8940 ;; 8941 8942 netbsd*) 8943 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 8944 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 8945 wlarc= 8946 else 8947 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 8948 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 8949 fi 8950 ;; 8951 8952 solaris*) 8953 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 8954 ld_shlibs=no 8955 cat <<_LT_EOF 1>&2 8956 8957*** Warning: The releases 2.8.* of the GNU linker cannot reliably 8958*** create shared libraries on Solaris systems. Therefore, libtool 8959*** is disabling shared libraries support. We urge you to upgrade GNU 8960*** binutils to release 2.9.1 or newer. Another option is to modify 8961*** your PATH or compiler configuration so that the native linker is 8962*** used, and then restart. 8963 8964_LT_EOF 8965 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8966 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 8967 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 8968 else 8969 ld_shlibs=no 8970 fi 8971 ;; 8972 8973 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 8974 case `$LD -v 2>&1` in 8975 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 8976 ld_shlibs=no 8977 cat <<_LT_EOF 1>&2 8978 8979*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 8980*** reliably create shared libraries on SCO systems. Therefore, libtool 8981*** is disabling shared libraries support. We urge you to upgrade GNU 8982*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 8983*** your PATH or compiler configuration so that the native linker is 8984*** used, and then restart. 8985 8986_LT_EOF 8987 ;; 8988 *) 8989 # For security reasons, it is highly recommended that you always 8990 # use absolute paths for naming shared libraries, and exclude the 8991 # DT_RUNPATH tag from executables and libraries. But doing so 8992 # requires that you compile everything twice, which is a pain. 8993 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8994 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 8995 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 8996 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 8997 else 8998 ld_shlibs=no 8999 fi 9000 ;; 9001 esac 9002 ;; 9003 9004 sunos4*) 9005 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9006 wlarc= 9007 hardcode_direct=yes 9008 hardcode_shlibpath_var=no 9009 ;; 9010 9011 *) 9012 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9013 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9014 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9015 else 9016 ld_shlibs=no 9017 fi 9018 ;; 9019 esac 9020 9021 if test no = "$ld_shlibs"; then 9022 runpath_var= 9023 hardcode_libdir_flag_spec= 9024 export_dynamic_flag_spec= 9025 whole_archive_flag_spec= 9026 fi 9027 else 9028 # PORTME fill in a description of your system's linker (not GNU ld) 9029 case $host_os in 9030 aix3*) 9031 allow_undefined_flag=unsupported 9032 always_export_symbols=yes 9033 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' 9034 # Note: this linker hardcodes the directories in LIBPATH if there 9035 # are no directories specified by -L. 9036 hardcode_minus_L=yes 9037 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 9038 # Neither direct hardcoding nor static linking is supported with a 9039 # broken collect2. 9040 hardcode_direct=unsupported 9041 fi 9042 ;; 9043 9044 aix[4-9]*) 9045 if test ia64 = "$host_cpu"; then 9046 # On IA64, the linker does run time linking by default, so we don't 9047 # have to do anything special. 9048 aix_use_runtimelinking=no 9049 exp_sym_flag='-Bexport' 9050 no_entry_flag= 9051 else 9052 # If we're using GNU nm, then we don't want the "-C" option. 9053 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 9054 # Without the "-l" option, or with the "-B" option, AIX nm treats 9055 # weak defined symbols like other global defined symbols, whereas 9056 # GNU nm marks them as "W". 9057 # While the 'weak' keyword is ignored in the Export File, we need 9058 # it in the Import File for the 'aix-soname' feature, so we have 9059 # to replace the "-B" option with "-P" for AIX nm. 9060 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9061 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' 9062 else 9063 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' 9064 fi 9065 aix_use_runtimelinking=no 9066 9067 # Test if we are trying to use run time linking or normal 9068 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9069 # have runtime linking enabled, and use it for executables. 9070 # For shared libraries, we enable/disable runtime linking 9071 # depending on the kind of the shared library created - 9072 # when "with_aix_soname,aix_use_runtimelinking" is: 9073 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 9074 # "aix,yes" lib.so shared, rtl:yes, for executables 9075 # lib.a static archive 9076 # "both,no" lib.so.V(shr.o) shared, rtl:yes 9077 # lib.a(lib.so.V) shared, rtl:no, for executables 9078 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 9079 # lib.a(lib.so.V) shared, rtl:no 9080 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 9081 # lib.a static archive 9082 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9083 for ld_flag in $LDFLAGS; do 9084 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 9085 aix_use_runtimelinking=yes 9086 break 9087 fi 9088 done 9089 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 9090 # With aix-soname=svr4, we create the lib.so.V shared archives only, 9091 # so we don't have lib.a shared libs to link our executables. 9092 # We have to force runtime linking in this case. 9093 aix_use_runtimelinking=yes 9094 LDFLAGS="$LDFLAGS -Wl,-brtl" 9095 fi 9096 ;; 9097 esac 9098 9099 exp_sym_flag='-bexport' 9100 no_entry_flag='-bnoentry' 9101 fi 9102 9103 # When large executables or shared objects are built, AIX ld can 9104 # have problems creating the table of contents. If linking a library 9105 # or program results in "error TOC overflow" add -mminimal-toc to 9106 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9107 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9108 9109 archive_cmds='' 9110 hardcode_direct=yes 9111 hardcode_direct_absolute=yes 9112 hardcode_libdir_separator=':' 9113 link_all_deplibs=yes 9114 file_list_spec='$wl-f,' 9115 case $with_aix_soname,$aix_use_runtimelinking in 9116 aix,*) ;; # traditional, no import file 9117 svr4,* | *,yes) # use import file 9118 # The Import File defines what to hardcode. 9119 hardcode_direct=no 9120 hardcode_direct_absolute=no 9121 ;; 9122 esac 9123 9124 if test yes = "$GCC"; then 9125 case $host_os in aix4.[012]|aix4.[012].*) 9126 # We only want to do this on AIX 4.2 and lower, the check 9127 # below for broken collect2 doesn't work under 4.3+ 9128 collect2name=`$CC -print-prog-name=collect2` 9129 if test -f "$collect2name" && 9130 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9131 then 9132 # We have reworked collect2 9133 : 9134 else 9135 # We have old collect2 9136 hardcode_direct=unsupported 9137 # It fails to find uninstalled libraries when the uninstalled 9138 # path is not listed in the libpath. Setting hardcode_minus_L 9139 # to unsupported forces relinking 9140 hardcode_minus_L=yes 9141 hardcode_libdir_flag_spec='-L$libdir' 9142 hardcode_libdir_separator= 9143 fi 9144 ;; 9145 esac 9146 shared_flag='-shared' 9147 if test yes = "$aix_use_runtimelinking"; then 9148 shared_flag="$shared_flag "'$wl-G' 9149 fi 9150 # Need to ensure runtime linking is disabled for the traditional 9151 # shared library, or the linker may eventually find shared libraries 9152 # /with/ Import File - we do not want to mix them. 9153 shared_flag_aix='-shared' 9154 shared_flag_svr4='-shared $wl-G' 9155 else 9156 # not using gcc 9157 if test ia64 = "$host_cpu"; then 9158 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9159 # chokes on -Wl,-G. The following line is correct: 9160 shared_flag='-G' 9161 else 9162 if test yes = "$aix_use_runtimelinking"; then 9163 shared_flag='$wl-G' 9164 else 9165 shared_flag='$wl-bM:SRE' 9166 fi 9167 shared_flag_aix='$wl-bM:SRE' 9168 shared_flag_svr4='$wl-G' 9169 fi 9170 fi 9171 9172 export_dynamic_flag_spec='$wl-bexpall' 9173 # It seems that -bexpall does not export symbols beginning with 9174 # underscore (_), so it is better to generate a list of symbols to export. 9175 always_export_symbols=yes 9176 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 9177 # Warning - without using the other runtime loading flags (-brtl), 9178 # -berok will link without error, but may produce a broken library. 9179 allow_undefined_flag='-berok' 9180 # Determine the default libpath from the value encoded in an 9181 # empty executable. 9182 if test set = "${lt_cv_aix_libpath+set}"; then 9183 aix_libpath=$lt_cv_aix_libpath 9184else 9185 if ${lt_cv_aix_libpath_+:} false; then : 9186 $as_echo_n "(cached) " >&6 9187else 9188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9189/* end confdefs.h. */ 9190 9191int 9192main () 9193{ 9194 9195 ; 9196 return 0; 9197} 9198_ACEOF 9199if ac_fn_c_try_link "$LINENO"; then : 9200 9201 lt_aix_libpath_sed=' 9202 /Import File Strings/,/^$/ { 9203 /^0/ { 9204 s/^0 *\([^ ]*\) *$/\1/ 9205 p 9206 } 9207 }' 9208 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9209 # Check for a 64-bit object if we didn't find anything. 9210 if test -z "$lt_cv_aix_libpath_"; then 9211 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9212 fi 9213fi 9214rm -f core conftest.err conftest.$ac_objext \ 9215 conftest$ac_exeext conftest.$ac_ext 9216 if test -z "$lt_cv_aix_libpath_"; then 9217 lt_cv_aix_libpath_=/usr/lib:/lib 9218 fi 9219 9220fi 9221 9222 aix_libpath=$lt_cv_aix_libpath_ 9223fi 9224 9225 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9226 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 9227 else 9228 if test ia64 = "$host_cpu"; then 9229 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 9230 allow_undefined_flag="-z nodefs" 9231 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" 9232 else 9233 # Determine the default libpath from the value encoded in an 9234 # empty executable. 9235 if test set = "${lt_cv_aix_libpath+set}"; then 9236 aix_libpath=$lt_cv_aix_libpath 9237else 9238 if ${lt_cv_aix_libpath_+:} false; then : 9239 $as_echo_n "(cached) " >&6 9240else 9241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9242/* end confdefs.h. */ 9243 9244int 9245main () 9246{ 9247 9248 ; 9249 return 0; 9250} 9251_ACEOF 9252if ac_fn_c_try_link "$LINENO"; then : 9253 9254 lt_aix_libpath_sed=' 9255 /Import File Strings/,/^$/ { 9256 /^0/ { 9257 s/^0 *\([^ ]*\) *$/\1/ 9258 p 9259 } 9260 }' 9261 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9262 # Check for a 64-bit object if we didn't find anything. 9263 if test -z "$lt_cv_aix_libpath_"; then 9264 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9265 fi 9266fi 9267rm -f core conftest.err conftest.$ac_objext \ 9268 conftest$ac_exeext conftest.$ac_ext 9269 if test -z "$lt_cv_aix_libpath_"; then 9270 lt_cv_aix_libpath_=/usr/lib:/lib 9271 fi 9272 9273fi 9274 9275 aix_libpath=$lt_cv_aix_libpath_ 9276fi 9277 9278 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9279 # Warning - without using the other run time loading flags, 9280 # -berok will link without error, but may produce a broken library. 9281 no_undefined_flag=' $wl-bernotok' 9282 allow_undefined_flag=' $wl-berok' 9283 if test yes = "$with_gnu_ld"; then 9284 # We only use this code for GNU lds that support --whole-archive. 9285 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 9286 else 9287 # Exported symbols can be pulled into shared objects from archives 9288 whole_archive_flag_spec='$convenience' 9289 fi 9290 archive_cmds_need_lc=yes 9291 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 9292 # -brtl affects multiple linker settings, -berok does not and is overridden later 9293 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 9294 if test svr4 != "$with_aix_soname"; then 9295 # This is similar to how AIX traditionally builds its shared libraries. 9296 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' 9297 fi 9298 if test aix != "$with_aix_soname"; then 9299 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' 9300 else 9301 # used by -dlpreopen to get the symbols 9302 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 9303 fi 9304 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 9305 fi 9306 fi 9307 ;; 9308 9309 amigaos*) 9310 case $host_cpu in 9311 powerpc) 9312 # see comment about AmigaOS4 .so support 9313 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9314 archive_expsym_cmds='' 9315 ;; 9316 m68k) 9317 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)' 9318 hardcode_libdir_flag_spec='-L$libdir' 9319 hardcode_minus_L=yes 9320 ;; 9321 esac 9322 ;; 9323 9324 bsdi[45]*) 9325 export_dynamic_flag_spec=-rdynamic 9326 ;; 9327 9328 cygwin* | mingw* | pw32* | cegcc*) 9329 # When not using gcc, we currently assume that we are using 9330 # Microsoft Visual C++. 9331 # hardcode_libdir_flag_spec is actually meaningless, as there is 9332 # no search path for DLLs. 9333 case $cc_basename in 9334 cl*) 9335 # Native MSVC 9336 hardcode_libdir_flag_spec=' ' 9337 allow_undefined_flag=unsupported 9338 always_export_symbols=yes 9339 file_list_spec='@' 9340 # Tell ltmain to make .lib files, not .a files. 9341 libext=lib 9342 # Tell ltmain to make .dll files, not .so files. 9343 shrext_cmds=.dll 9344 # FIXME: Setting linknames here is a bad hack. 9345 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 9346 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9347 cp "$export_symbols" "$output_objdir/$soname.def"; 9348 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 9349 else 9350 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 9351 fi~ 9352 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9353 linknames=' 9354 # The linker will not automatically build a static lib if we build a DLL. 9355 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9356 enable_shared_with_static_runtimes=yes 9357 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 9358 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9359 # Don't use ranlib 9360 old_postinstall_cmds='chmod 644 $oldlib' 9361 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9362 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9363 case $lt_outputfile in 9364 *.exe|*.EXE) ;; 9365 *) 9366 lt_outputfile=$lt_outputfile.exe 9367 lt_tool_outputfile=$lt_tool_outputfile.exe 9368 ;; 9369 esac~ 9370 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 9371 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9372 $RM "$lt_outputfile.manifest"; 9373 fi' 9374 ;; 9375 *) 9376 # Assume MSVC wrapper 9377 hardcode_libdir_flag_spec=' ' 9378 allow_undefined_flag=unsupported 9379 # Tell ltmain to make .lib files, not .a files. 9380 libext=lib 9381 # Tell ltmain to make .dll files, not .so files. 9382 shrext_cmds=.dll 9383 # FIXME: Setting linknames here is a bad hack. 9384 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9385 # The linker will automatically build a .lib file if we build a DLL. 9386 old_archive_from_new_cmds='true' 9387 # FIXME: Should let the user specify the lib program. 9388 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9389 enable_shared_with_static_runtimes=yes 9390 ;; 9391 esac 9392 ;; 9393 9394 darwin* | rhapsody*) 9395 9396 9397 archive_cmds_need_lc=no 9398 hardcode_direct=no 9399 hardcode_automatic=yes 9400 hardcode_shlibpath_var=unsupported 9401 if test yes = "$lt_cv_ld_force_load"; then 9402 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\"`' 9403 9404 else 9405 whole_archive_flag_spec='' 9406 fi 9407 link_all_deplibs=yes 9408 allow_undefined_flag=$_lt_dar_allow_undefined 9409 case $cc_basename in 9410 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 9411 *) _lt_dar_can_shared=$GCC ;; 9412 esac 9413 if test yes = "$_lt_dar_can_shared"; then 9414 output_verbose_link_cmd=func_echo_all 9415 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 9416 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 9417 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" 9418 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" 9419 9420 else 9421 ld_shlibs=no 9422 fi 9423 9424 ;; 9425 9426 dgux*) 9427 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9428 hardcode_libdir_flag_spec='-L$libdir' 9429 hardcode_shlibpath_var=no 9430 ;; 9431 9432 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9433 # support. Future versions do this automatically, but an explicit c++rt0.o 9434 # does not break anything, and helps significantly (at the cost of a little 9435 # extra space). 9436 freebsd2.2*) 9437 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9438 hardcode_libdir_flag_spec='-R$libdir' 9439 hardcode_direct=yes 9440 hardcode_shlibpath_var=no 9441 ;; 9442 9443 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9444 freebsd2.*) 9445 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9446 hardcode_direct=yes 9447 hardcode_minus_L=yes 9448 hardcode_shlibpath_var=no 9449 ;; 9450 9451 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9452 freebsd* | dragonfly*) 9453 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9454 hardcode_libdir_flag_spec='-R$libdir' 9455 hardcode_direct=yes 9456 hardcode_shlibpath_var=no 9457 ;; 9458 9459 hpux9*) 9460 if test yes = "$GCC"; then 9461 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' 9462 else 9463 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' 9464 fi 9465 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9466 hardcode_libdir_separator=: 9467 hardcode_direct=yes 9468 9469 # hardcode_minus_L: Not really in the search PATH, 9470 # but as the default location of the library. 9471 hardcode_minus_L=yes 9472 export_dynamic_flag_spec='$wl-E' 9473 ;; 9474 9475 hpux10*) 9476 if test yes,no = "$GCC,$with_gnu_ld"; then 9477 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9478 else 9479 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9480 fi 9481 if test no = "$with_gnu_ld"; then 9482 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9483 hardcode_libdir_separator=: 9484 hardcode_direct=yes 9485 hardcode_direct_absolute=yes 9486 export_dynamic_flag_spec='$wl-E' 9487 # hardcode_minus_L: Not really in the search PATH, 9488 # but as the default location of the library. 9489 hardcode_minus_L=yes 9490 fi 9491 ;; 9492 9493 hpux11*) 9494 if test yes,no = "$GCC,$with_gnu_ld"; then 9495 case $host_cpu in 9496 hppa*64*) 9497 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 9498 ;; 9499 ia64*) 9500 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9501 ;; 9502 *) 9503 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9504 ;; 9505 esac 9506 else 9507 case $host_cpu in 9508 hppa*64*) 9509 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 9510 ;; 9511 ia64*) 9512 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9513 ;; 9514 *) 9515 9516 # Older versions of the 11.00 compiler do not understand -b yet 9517 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9519$as_echo_n "checking if $CC understands -b... " >&6; } 9520if ${lt_cv_prog_compiler__b+:} false; then : 9521 $as_echo_n "(cached) " >&6 9522else 9523 lt_cv_prog_compiler__b=no 9524 save_LDFLAGS=$LDFLAGS 9525 LDFLAGS="$LDFLAGS -b" 9526 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9527 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9528 # The linker can only warn and ignore the option if not recognized 9529 # So say no if there are warnings 9530 if test -s conftest.err; then 9531 # Append any errors to the config.log. 9532 cat conftest.err 1>&5 9533 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9534 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9535 if diff conftest.exp conftest.er2 >/dev/null; then 9536 lt_cv_prog_compiler__b=yes 9537 fi 9538 else 9539 lt_cv_prog_compiler__b=yes 9540 fi 9541 fi 9542 $RM -r conftest* 9543 LDFLAGS=$save_LDFLAGS 9544 9545fi 9546{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9547$as_echo "$lt_cv_prog_compiler__b" >&6; } 9548 9549if test yes = "$lt_cv_prog_compiler__b"; then 9550 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9551else 9552 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9553fi 9554 9555 ;; 9556 esac 9557 fi 9558 if test no = "$with_gnu_ld"; then 9559 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9560 hardcode_libdir_separator=: 9561 9562 case $host_cpu in 9563 hppa*64*|ia64*) 9564 hardcode_direct=no 9565 hardcode_shlibpath_var=no 9566 ;; 9567 *) 9568 hardcode_direct=yes 9569 hardcode_direct_absolute=yes 9570 export_dynamic_flag_spec='$wl-E' 9571 9572 # hardcode_minus_L: Not really in the search PATH, 9573 # but as the default location of the library. 9574 hardcode_minus_L=yes 9575 ;; 9576 esac 9577 fi 9578 ;; 9579 9580 irix5* | irix6* | nonstopux*) 9581 if test yes = "$GCC"; then 9582 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' 9583 # Try to use the -exported_symbol ld option, if it does not 9584 # work, assume that -exports_file does not work either and 9585 # implicitly export all symbols. 9586 # This should be the same for all languages, so no per-tag cache variable. 9587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 9588$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 9589if ${lt_cv_irix_exported_symbol+:} false; then : 9590 $as_echo_n "(cached) " >&6 9591else 9592 save_LDFLAGS=$LDFLAGS 9593 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 9594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9595/* end confdefs.h. */ 9596int foo (void) { return 0; } 9597_ACEOF 9598if ac_fn_c_try_link "$LINENO"; then : 9599 lt_cv_irix_exported_symbol=yes 9600else 9601 lt_cv_irix_exported_symbol=no 9602fi 9603rm -f core conftest.err conftest.$ac_objext \ 9604 conftest$ac_exeext conftest.$ac_ext 9605 LDFLAGS=$save_LDFLAGS 9606fi 9607{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 9608$as_echo "$lt_cv_irix_exported_symbol" >&6; } 9609 if test yes = "$lt_cv_irix_exported_symbol"; then 9610 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' 9611 fi 9612 else 9613 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' 9614 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' 9615 fi 9616 archive_cmds_need_lc='no' 9617 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9618 hardcode_libdir_separator=: 9619 inherit_rpath=yes 9620 link_all_deplibs=yes 9621 ;; 9622 9623 linux*) 9624 case $cc_basename in 9625 tcc*) 9626 # Fabrice Bellard et al's Tiny C Compiler 9627 ld_shlibs=yes 9628 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9629 ;; 9630 esac 9631 ;; 9632 9633 netbsd*) 9634 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9635 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9636 else 9637 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9638 fi 9639 hardcode_libdir_flag_spec='-R$libdir' 9640 hardcode_direct=yes 9641 hardcode_shlibpath_var=no 9642 ;; 9643 9644 newsos6) 9645 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9646 hardcode_direct=yes 9647 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9648 hardcode_libdir_separator=: 9649 hardcode_shlibpath_var=no 9650 ;; 9651 9652 *nto* | *qnx*) 9653 ;; 9654 9655 openbsd* | bitrig*) 9656 if test -f /usr/libexec/ld.so; then 9657 hardcode_direct=yes 9658 hardcode_shlibpath_var=no 9659 hardcode_direct_absolute=yes 9660 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 9661 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9662 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 9663 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9664 export_dynamic_flag_spec='$wl-E' 9665 else 9666 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9667 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9668 fi 9669 else 9670 ld_shlibs=no 9671 fi 9672 ;; 9673 9674 os2*) 9675 hardcode_libdir_flag_spec='-L$libdir' 9676 hardcode_minus_L=yes 9677 allow_undefined_flag=unsupported 9678 shrext_cmds=.dll 9679 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9680 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9681 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9682 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9683 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 9684 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9685 emximp -o $lib $output_objdir/$libname.def' 9686 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9687 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9688 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9689 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9690 prefix_cmds="$SED"~ 9691 if test EXPORTS = "`$SED 1q $export_symbols`"; then 9692 prefix_cmds="$prefix_cmds -e 1d"; 9693 fi~ 9694 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 9695 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 9696 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9697 emximp -o $lib $output_objdir/$libname.def' 9698 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 9699 enable_shared_with_static_runtimes=yes 9700 ;; 9701 9702 osf3*) 9703 if test yes = "$GCC"; then 9704 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 9705 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' 9706 else 9707 allow_undefined_flag=' -expect_unresolved \*' 9708 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' 9709 fi 9710 archive_cmds_need_lc='no' 9711 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9712 hardcode_libdir_separator=: 9713 ;; 9714 9715 osf4* | osf5*) # as osf3* with the addition of -msym flag 9716 if test yes = "$GCC"; then 9717 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 9718 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' 9719 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9720 else 9721 allow_undefined_flag=' -expect_unresolved \*' 9722 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' 9723 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~ 9724 $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' 9725 9726 # Both c and cxx compiler support -rpath directly 9727 hardcode_libdir_flag_spec='-rpath $libdir' 9728 fi 9729 archive_cmds_need_lc='no' 9730 hardcode_libdir_separator=: 9731 ;; 9732 9733 solaris*) 9734 no_undefined_flag=' -z defs' 9735 if test yes = "$GCC"; then 9736 wlarc='$wl' 9737 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 9738 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9739 $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' 9740 else 9741 case `$CC -V 2>&1` in 9742 *"Compilers 5.0"*) 9743 wlarc='' 9744 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 9745 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9746 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 9747 ;; 9748 *) 9749 wlarc='$wl' 9750 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 9751 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9752 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9753 ;; 9754 esac 9755 fi 9756 hardcode_libdir_flag_spec='-R$libdir' 9757 hardcode_shlibpath_var=no 9758 case $host_os in 9759 solaris2.[0-5] | solaris2.[0-5].*) ;; 9760 *) 9761 # The compiler driver will combine and reorder linker options, 9762 # but understands '-z linker_flag'. GCC discards it without '$wl', 9763 # but is careful enough not to reorder. 9764 # Supported since Solaris 2.6 (maybe 2.5.1?) 9765 if test yes = "$GCC"; then 9766 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 9767 else 9768 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 9769 fi 9770 ;; 9771 esac 9772 link_all_deplibs=yes 9773 ;; 9774 9775 sunos4*) 9776 if test sequent = "$host_vendor"; then 9777 # Use $CC to link under sequent, because it throws in some extra .o 9778 # files that make .init and .fini sections work. 9779 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 9780 else 9781 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 9782 fi 9783 hardcode_libdir_flag_spec='-L$libdir' 9784 hardcode_direct=yes 9785 hardcode_minus_L=yes 9786 hardcode_shlibpath_var=no 9787 ;; 9788 9789 sysv4) 9790 case $host_vendor in 9791 sni) 9792 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9793 hardcode_direct=yes # is this really true??? 9794 ;; 9795 siemens) 9796 ## LD is ld it makes a PLAMLIB 9797 ## CC just makes a GrossModule. 9798 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 9799 reload_cmds='$CC -r -o $output$reload_objs' 9800 hardcode_direct=no 9801 ;; 9802 motorola) 9803 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9804 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 9805 ;; 9806 esac 9807 runpath_var='LD_RUN_PATH' 9808 hardcode_shlibpath_var=no 9809 ;; 9810 9811 sysv4.3*) 9812 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9813 hardcode_shlibpath_var=no 9814 export_dynamic_flag_spec='-Bexport' 9815 ;; 9816 9817 sysv4*MP*) 9818 if test -d /usr/nec; then 9819 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9820 hardcode_shlibpath_var=no 9821 runpath_var=LD_RUN_PATH 9822 hardcode_runpath_var=yes 9823 ld_shlibs=yes 9824 fi 9825 ;; 9826 9827 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 9828 no_undefined_flag='$wl-z,text' 9829 archive_cmds_need_lc=no 9830 hardcode_shlibpath_var=no 9831 runpath_var='LD_RUN_PATH' 9832 9833 if test yes = "$GCC"; then 9834 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9835 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9836 else 9837 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9838 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9839 fi 9840 ;; 9841 9842 sysv5* | sco3.2v5* | sco5v6*) 9843 # Note: We CANNOT use -z defs as we might desire, because we do not 9844 # link with -lc, and that would cause any symbols used from libc to 9845 # always be unresolved, which means just about no library would 9846 # ever link correctly. If we're not using GNU ld we use -z text 9847 # though, which does catch some bad symbols but isn't as heavy-handed 9848 # as -z defs. 9849 no_undefined_flag='$wl-z,text' 9850 allow_undefined_flag='$wl-z,nodefs' 9851 archive_cmds_need_lc=no 9852 hardcode_shlibpath_var=no 9853 hardcode_libdir_flag_spec='$wl-R,$libdir' 9854 hardcode_libdir_separator=':' 9855 link_all_deplibs=yes 9856 export_dynamic_flag_spec='$wl-Bexport' 9857 runpath_var='LD_RUN_PATH' 9858 9859 if test yes = "$GCC"; then 9860 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9861 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9862 else 9863 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9864 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9865 fi 9866 ;; 9867 9868 uts4*) 9869 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9870 hardcode_libdir_flag_spec='-L$libdir' 9871 hardcode_shlibpath_var=no 9872 ;; 9873 9874 *) 9875 ld_shlibs=no 9876 ;; 9877 esac 9878 9879 if test sni = "$host_vendor"; then 9880 case $host in 9881 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 9882 export_dynamic_flag_spec='$wl-Blargedynsym' 9883 ;; 9884 esac 9885 fi 9886 fi 9887 9888{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 9889$as_echo "$ld_shlibs" >&6; } 9890test no = "$ld_shlibs" && can_build_shared=no 9891 9892with_gnu_ld=$with_gnu_ld 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908# 9909# Do we need to explicitly link libc? 9910# 9911case "x$archive_cmds_need_lc" in 9912x|xyes) 9913 # Assume -lc should be added 9914 archive_cmds_need_lc=yes 9915 9916 if test yes,yes = "$GCC,$enable_shared"; then 9917 case $archive_cmds in 9918 *'~'*) 9919 # FIXME: we may have to deal with multi-command sequences. 9920 ;; 9921 '$CC '*) 9922 # Test whether the compiler implicitly links with -lc since on some 9923 # systems, -lgcc has to come before -lc. If gcc already passes -lc 9924 # to ld, don't add -lc before -lgcc. 9925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 9926$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 9927if ${lt_cv_archive_cmds_need_lc+:} false; then : 9928 $as_echo_n "(cached) " >&6 9929else 9930 $RM conftest* 9931 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9932 9933 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9934 (eval $ac_compile) 2>&5 9935 ac_status=$? 9936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9937 test $ac_status = 0; } 2>conftest.err; then 9938 soname=conftest 9939 lib=conftest 9940 libobjs=conftest.$ac_objext 9941 deplibs= 9942 wl=$lt_prog_compiler_wl 9943 pic_flag=$lt_prog_compiler_pic 9944 compiler_flags=-v 9945 linker_flags=-v 9946 verstring= 9947 output_objdir=. 9948 libname=conftest 9949 lt_save_allow_undefined_flag=$allow_undefined_flag 9950 allow_undefined_flag= 9951 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 9952 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 9953 ac_status=$? 9954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9955 test $ac_status = 0; } 9956 then 9957 lt_cv_archive_cmds_need_lc=no 9958 else 9959 lt_cv_archive_cmds_need_lc=yes 9960 fi 9961 allow_undefined_flag=$lt_save_allow_undefined_flag 9962 else 9963 cat conftest.err 1>&5 9964 fi 9965 $RM conftest* 9966 9967fi 9968{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 9969$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 9970 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 9971 ;; 9972 esac 9973 fi 9974 ;; 9975esac 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10129$as_echo_n "checking dynamic linker characteristics... " >&6; } 10130 10131if test yes = "$GCC"; then 10132 case $host_os in 10133 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 10134 *) lt_awk_arg='/^libraries:/' ;; 10135 esac 10136 case $host_os in 10137 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 10138 *) lt_sed_strip_eq='s|=/|/|g' ;; 10139 esac 10140 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10141 case $lt_search_path_spec in 10142 *\;*) 10143 # if the path contains ";" then we assume it to be the separator 10144 # otherwise default to the standard path separator (i.e. ":") - it is 10145 # assumed that no part of a normal pathname contains ";" but that should 10146 # okay in the real world where ";" in dirpaths is itself problematic. 10147 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10148 ;; 10149 *) 10150 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10151 ;; 10152 esac 10153 # Ok, now we have the path, separated by spaces, we can step through it 10154 # and add multilib dir if necessary... 10155 lt_tmp_lt_search_path_spec= 10156 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10157 # ...but if some path component already ends with the multilib dir we assume 10158 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 10159 case "$lt_multi_os_dir; $lt_search_path_spec " in 10160 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 10161 lt_multi_os_dir= 10162 ;; 10163 esac 10164 for lt_sys_path in $lt_search_path_spec; do 10165 if test -d "$lt_sys_path$lt_multi_os_dir"; then 10166 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 10167 elif test -n "$lt_multi_os_dir"; then 10168 test -d "$lt_sys_path" && \ 10169 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10170 fi 10171 done 10172 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10173BEGIN {RS = " "; FS = "/|\n";} { 10174 lt_foo = ""; 10175 lt_count = 0; 10176 for (lt_i = NF; lt_i > 0; lt_i--) { 10177 if ($lt_i != "" && $lt_i != ".") { 10178 if ($lt_i == "..") { 10179 lt_count++; 10180 } else { 10181 if (lt_count == 0) { 10182 lt_foo = "/" $lt_i lt_foo; 10183 } else { 10184 lt_count--; 10185 } 10186 } 10187 } 10188 } 10189 if (lt_foo != "") { lt_freq[lt_foo]++; } 10190 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10191}'` 10192 # AWK program above erroneously prepends '/' to C:/dos/paths 10193 # for these hosts. 10194 case $host_os in 10195 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10196 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 10197 esac 10198 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10199else 10200 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10201fi 10202library_names_spec= 10203libname_spec='lib$name' 10204soname_spec= 10205shrext_cmds=.so 10206postinstall_cmds= 10207postuninstall_cmds= 10208finish_cmds= 10209finish_eval= 10210shlibpath_var= 10211shlibpath_overrides_runpath=unknown 10212version_type=none 10213dynamic_linker="$host_os ld.so" 10214sys_lib_dlsearch_path_spec="/lib /usr/lib" 10215need_lib_prefix=unknown 10216hardcode_into_libs=no 10217 10218# when you set need_version to no, make sure it does not cause -set_version 10219# flags to be left without arguments 10220need_version=unknown 10221 10222 10223 10224case $host_os in 10225aix3*) 10226 version_type=linux # correct to gnu/linux during the next big refactor 10227 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 10228 shlibpath_var=LIBPATH 10229 10230 # AIX 3 has no versioning support, so we append a major version to the name. 10231 soname_spec='$libname$release$shared_ext$major' 10232 ;; 10233 10234aix[4-9]*) 10235 version_type=linux # correct to gnu/linux during the next big refactor 10236 need_lib_prefix=no 10237 need_version=no 10238 hardcode_into_libs=yes 10239 if test ia64 = "$host_cpu"; then 10240 # AIX 5 supports IA64 10241 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 10242 shlibpath_var=LD_LIBRARY_PATH 10243 else 10244 # With GCC up to 2.95.x, collect2 would create an import file 10245 # for dependence libraries. The import file would start with 10246 # the line '#! .'. This would cause the generated library to 10247 # depend on '.', always an invalid library. This was fixed in 10248 # development snapshots of GCC prior to 3.0. 10249 case $host_os in 10250 aix4 | aix4.[01] | aix4.[01].*) 10251 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10252 echo ' yes ' 10253 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 10254 : 10255 else 10256 can_build_shared=no 10257 fi 10258 ;; 10259 esac 10260 # Using Import Files as archive members, it is possible to support 10261 # filename-based versioning of shared library archives on AIX. While 10262 # this would work for both with and without runtime linking, it will 10263 # prevent static linking of such archives. So we do filename-based 10264 # shared library versioning with .so extension only, which is used 10265 # when both runtime linking and shared linking is enabled. 10266 # Unfortunately, runtime linking may impact performance, so we do 10267 # not want this to be the default eventually. Also, we use the 10268 # versioned .so libs for executables only if there is the -brtl 10269 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 10270 # To allow for filename-based versioning support, we need to create 10271 # libNAME.so.V as an archive file, containing: 10272 # *) an Import File, referring to the versioned filename of the 10273 # archive as well as the shared archive member, telling the 10274 # bitwidth (32 or 64) of that shared object, and providing the 10275 # list of exported symbols of that shared object, eventually 10276 # decorated with the 'weak' keyword 10277 # *) the shared object with the F_LOADONLY flag set, to really avoid 10278 # it being seen by the linker. 10279 # At run time we better use the real file rather than another symlink, 10280 # but for link time we create the symlink libNAME.so -> libNAME.so.V 10281 10282 case $with_aix_soname,$aix_use_runtimelinking in 10283 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 10284 # soname into executable. Probably we can add versioning support to 10285 # collect2, so additional links can be useful in future. 10286 aix,yes) # traditional libtool 10287 dynamic_linker='AIX unversionable lib.so' 10288 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10289 # instead of lib<name>.a to let people know that these are not 10290 # typical AIX shared libraries. 10291 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10292 ;; 10293 aix,no) # traditional AIX only 10294 dynamic_linker='AIX lib.a(lib.so.V)' 10295 # We preserve .a as extension for shared libraries through AIX4.2 10296 # and later when we are not doing run time linking. 10297 library_names_spec='$libname$release.a $libname.a' 10298 soname_spec='$libname$release$shared_ext$major' 10299 ;; 10300 svr4,*) # full svr4 only 10301 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 10302 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 10303 # We do not specify a path in Import Files, so LIBPATH fires. 10304 shlibpath_overrides_runpath=yes 10305 ;; 10306 *,yes) # both, prefer svr4 10307 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 10308 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 10309 # unpreferred sharedlib libNAME.a needs extra handling 10310 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"' 10311 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"' 10312 # We do not specify a path in Import Files, so LIBPATH fires. 10313 shlibpath_overrides_runpath=yes 10314 ;; 10315 *,no) # both, prefer aix 10316 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 10317 library_names_spec='$libname$release.a $libname.a' 10318 soname_spec='$libname$release$shared_ext$major' 10319 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 10320 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)' 10321 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"' 10322 ;; 10323 esac 10324 shlibpath_var=LIBPATH 10325 fi 10326 ;; 10327 10328amigaos*) 10329 case $host_cpu in 10330 powerpc) 10331 # Since July 2007 AmigaOS4 officially supports .so libraries. 10332 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10333 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10334 ;; 10335 m68k) 10336 library_names_spec='$libname.ixlibrary $libname.a' 10337 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10338 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' 10339 ;; 10340 esac 10341 ;; 10342 10343beos*) 10344 library_names_spec='$libname$shared_ext' 10345 dynamic_linker="$host_os ld.so" 10346 shlibpath_var=LIBRARY_PATH 10347 ;; 10348 10349bsdi[45]*) 10350 version_type=linux # correct to gnu/linux during the next big refactor 10351 need_version=no 10352 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10353 soname_spec='$libname$release$shared_ext$major' 10354 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10355 shlibpath_var=LD_LIBRARY_PATH 10356 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10357 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10358 # the default ld.so.conf also contains /usr/contrib/lib and 10359 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10360 # libtool to hard-code these into programs 10361 ;; 10362 10363cygwin* | mingw* | pw32* | cegcc*) 10364 version_type=windows 10365 shrext_cmds=.dll 10366 need_version=no 10367 need_lib_prefix=no 10368 10369 case $GCC,$cc_basename in 10370 yes,*) 10371 # gcc 10372 library_names_spec='$libname.dll.a' 10373 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10374 postinstall_cmds='base_file=`basename \$file`~ 10375 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 10376 dldir=$destdir/`dirname \$dlpath`~ 10377 test -d \$dldir || mkdir -p \$dldir~ 10378 $install_prog $dir/$dlname \$dldir/$dlname~ 10379 chmod a+x \$dldir/$dlname~ 10380 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10381 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10382 fi' 10383 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10384 dlpath=$dir/\$dldll~ 10385 $RM \$dlpath' 10386 shlibpath_overrides_runpath=yes 10387 10388 case $host_os in 10389 cygwin*) 10390 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10391 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10392 10393 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10394 ;; 10395 mingw* | cegcc*) 10396 # MinGW DLLs use traditional 'lib' prefix 10397 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10398 ;; 10399 pw32*) 10400 # pw32 DLLs use 'pw' prefix rather than 'lib' 10401 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10402 ;; 10403 esac 10404 dynamic_linker='Win32 ld.exe' 10405 ;; 10406 10407 *,cl*) 10408 # Native MSVC 10409 libname_spec='$name' 10410 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10411 library_names_spec='$libname.dll.lib' 10412 10413 case $build_os in 10414 mingw*) 10415 sys_lib_search_path_spec= 10416 lt_save_ifs=$IFS 10417 IFS=';' 10418 for lt_path in $LIB 10419 do 10420 IFS=$lt_save_ifs 10421 # Let DOS variable expansion print the short 8.3 style file name. 10422 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10423 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10424 done 10425 IFS=$lt_save_ifs 10426 # Convert to MSYS style. 10427 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10428 ;; 10429 cygwin*) 10430 # Convert to unix form, then to dos form, then back to unix form 10431 # but this time dos style (no spaces!) so that the unix form looks 10432 # like /cygdrive/c/PROGRA~1:/cygdr... 10433 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10434 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10435 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10436 ;; 10437 *) 10438 sys_lib_search_path_spec=$LIB 10439 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10440 # It is most probably a Windows format PATH. 10441 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10442 else 10443 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10444 fi 10445 # FIXME: find the short name or the path components, as spaces are 10446 # common. (e.g. "Program Files" -> "PROGRA~1") 10447 ;; 10448 esac 10449 10450 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10451 postinstall_cmds='base_file=`basename \$file`~ 10452 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 10453 dldir=$destdir/`dirname \$dlpath`~ 10454 test -d \$dldir || mkdir -p \$dldir~ 10455 $install_prog $dir/$dlname \$dldir/$dlname' 10456 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10457 dlpath=$dir/\$dldll~ 10458 $RM \$dlpath' 10459 shlibpath_overrides_runpath=yes 10460 dynamic_linker='Win32 link.exe' 10461 ;; 10462 10463 *) 10464 # Assume MSVC wrapper 10465 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 10466 dynamic_linker='Win32 ld.exe' 10467 ;; 10468 esac 10469 # FIXME: first we should search . and the directory the executable is in 10470 shlibpath_var=PATH 10471 ;; 10472 10473darwin* | rhapsody*) 10474 dynamic_linker="$host_os dyld" 10475 version_type=darwin 10476 need_lib_prefix=no 10477 need_version=no 10478 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 10479 soname_spec='$libname$release$major$shared_ext' 10480 shlibpath_overrides_runpath=yes 10481 shlibpath_var=DYLD_LIBRARY_PATH 10482 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10483 10484 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10485 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10486 ;; 10487 10488dgux*) 10489 version_type=linux # correct to gnu/linux during the next big refactor 10490 need_lib_prefix=no 10491 need_version=no 10492 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10493 soname_spec='$libname$release$shared_ext$major' 10494 shlibpath_var=LD_LIBRARY_PATH 10495 ;; 10496 10497freebsd* | dragonfly*) 10498 # DragonFly does not have aout. When/if they implement a new 10499 # versioning mechanism, adjust this. 10500 if test -x /usr/bin/objformat; then 10501 objformat=`/usr/bin/objformat` 10502 else 10503 case $host_os in 10504 freebsd[23].*) objformat=aout ;; 10505 *) objformat=elf ;; 10506 esac 10507 fi 10508 version_type=freebsd-$objformat 10509 case $version_type in 10510 freebsd-elf*) 10511 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10512 soname_spec='$libname$release$shared_ext$major' 10513 need_version=no 10514 need_lib_prefix=no 10515 ;; 10516 freebsd-*) 10517 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 10518 need_version=yes 10519 ;; 10520 esac 10521 shlibpath_var=LD_LIBRARY_PATH 10522 case $host_os in 10523 freebsd2.*) 10524 shlibpath_overrides_runpath=yes 10525 ;; 10526 freebsd3.[01]* | freebsdelf3.[01]*) 10527 shlibpath_overrides_runpath=yes 10528 hardcode_into_libs=yes 10529 ;; 10530 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10531 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10532 shlibpath_overrides_runpath=no 10533 hardcode_into_libs=yes 10534 ;; 10535 *) # from 4.6 on, and DragonFly 10536 shlibpath_overrides_runpath=yes 10537 hardcode_into_libs=yes 10538 ;; 10539 esac 10540 ;; 10541 10542haiku*) 10543 version_type=linux # correct to gnu/linux during the next big refactor 10544 need_lib_prefix=no 10545 need_version=no 10546 dynamic_linker="$host_os runtime_loader" 10547 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10548 soname_spec='$libname$release$shared_ext$major' 10549 shlibpath_var=LIBRARY_PATH 10550 shlibpath_overrides_runpath=no 10551 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 10552 hardcode_into_libs=yes 10553 ;; 10554 10555hpux9* | hpux10* | hpux11*) 10556 # Give a soname corresponding to the major version so that dld.sl refuses to 10557 # link against other versions. 10558 version_type=sunos 10559 need_lib_prefix=no 10560 need_version=no 10561 case $host_cpu in 10562 ia64*) 10563 shrext_cmds='.so' 10564 hardcode_into_libs=yes 10565 dynamic_linker="$host_os dld.so" 10566 shlibpath_var=LD_LIBRARY_PATH 10567 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10568 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10569 soname_spec='$libname$release$shared_ext$major' 10570 if test 32 = "$HPUX_IA64_MODE"; then 10571 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10572 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 10573 else 10574 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10575 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 10576 fi 10577 ;; 10578 hppa*64*) 10579 shrext_cmds='.sl' 10580 hardcode_into_libs=yes 10581 dynamic_linker="$host_os dld.sl" 10582 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10583 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10584 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10585 soname_spec='$libname$release$shared_ext$major' 10586 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10587 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10588 ;; 10589 *) 10590 shrext_cmds='.sl' 10591 dynamic_linker="$host_os dld.sl" 10592 shlibpath_var=SHLIB_PATH 10593 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10594 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10595 soname_spec='$libname$release$shared_ext$major' 10596 ;; 10597 esac 10598 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 10599 postinstall_cmds='chmod 555 $lib' 10600 # or fails outright, so override atomically: 10601 install_override_mode=555 10602 ;; 10603 10604interix[3-9]*) 10605 version_type=linux # correct to gnu/linux during the next big refactor 10606 need_lib_prefix=no 10607 need_version=no 10608 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10609 soname_spec='$libname$release$shared_ext$major' 10610 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10611 shlibpath_var=LD_LIBRARY_PATH 10612 shlibpath_overrides_runpath=no 10613 hardcode_into_libs=yes 10614 ;; 10615 10616irix5* | irix6* | nonstopux*) 10617 case $host_os in 10618 nonstopux*) version_type=nonstopux ;; 10619 *) 10620 if test yes = "$lt_cv_prog_gnu_ld"; then 10621 version_type=linux # correct to gnu/linux during the next big refactor 10622 else 10623 version_type=irix 10624 fi ;; 10625 esac 10626 need_lib_prefix=no 10627 need_version=no 10628 soname_spec='$libname$release$shared_ext$major' 10629 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 10630 case $host_os in 10631 irix5* | nonstopux*) 10632 libsuff= shlibsuff= 10633 ;; 10634 *) 10635 case $LD in # libtool.m4 will add one of these switches to LD 10636 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10637 libsuff= shlibsuff= libmagic=32-bit;; 10638 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10639 libsuff=32 shlibsuff=N32 libmagic=N32;; 10640 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10641 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10642 *) libsuff= shlibsuff= libmagic=never-match;; 10643 esac 10644 ;; 10645 esac 10646 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10647 shlibpath_overrides_runpath=no 10648 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 10649 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 10650 hardcode_into_libs=yes 10651 ;; 10652 10653# No shared lib support for Linux oldld, aout, or coff. 10654linux*oldld* | linux*aout* | linux*coff*) 10655 dynamic_linker=no 10656 ;; 10657 10658linux*android*) 10659 version_type=none # Android doesn't support versioned libraries. 10660 need_lib_prefix=no 10661 need_version=no 10662 library_names_spec='$libname$release$shared_ext' 10663 soname_spec='$libname$release$shared_ext' 10664 finish_cmds= 10665 shlibpath_var=LD_LIBRARY_PATH 10666 shlibpath_overrides_runpath=yes 10667 10668 # This implies no fast_install, which is unacceptable. 10669 # Some rework will be needed to allow for fast_install 10670 # before this can be enabled. 10671 hardcode_into_libs=yes 10672 10673 dynamic_linker='Android linker' 10674 # Don't embed -rpath directories since the linker doesn't support them. 10675 hardcode_libdir_flag_spec='-L$libdir' 10676 ;; 10677 10678# This must be glibc/ELF. 10679linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 10680 version_type=linux # correct to gnu/linux during the next big refactor 10681 need_lib_prefix=no 10682 need_version=no 10683 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10684 soname_spec='$libname$release$shared_ext$major' 10685 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10686 shlibpath_var=LD_LIBRARY_PATH 10687 shlibpath_overrides_runpath=no 10688 10689 # Some binutils ld are patched to set DT_RUNPATH 10690 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 10691 $as_echo_n "(cached) " >&6 10692else 10693 lt_cv_shlibpath_overrides_runpath=no 10694 save_LDFLAGS=$LDFLAGS 10695 save_libdir=$libdir 10696 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10697 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 10698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10699/* end confdefs.h. */ 10700 10701int 10702main () 10703{ 10704 10705 ; 10706 return 0; 10707} 10708_ACEOF 10709if ac_fn_c_try_link "$LINENO"; then : 10710 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 10711 lt_cv_shlibpath_overrides_runpath=yes 10712fi 10713fi 10714rm -f core conftest.err conftest.$ac_objext \ 10715 conftest$ac_exeext conftest.$ac_ext 10716 LDFLAGS=$save_LDFLAGS 10717 libdir=$save_libdir 10718 10719fi 10720 10721 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 10722 10723 # This implies no fast_install, which is unacceptable. 10724 # Some rework will be needed to allow for fast_install 10725 # before this can be enabled. 10726 hardcode_into_libs=yes 10727 10728 # Ideally, we could use ldconfig to report *all* directores which are 10729 # searched for libraries, however this is still not possible. Aside from not 10730 # being certain /sbin/ldconfig is available, command 10731 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 10732 # even though it is searched at run-time. Try to do the best guess by 10733 # appending ld.so.conf contents (and includes) to the search path. 10734 if test -f /etc/ld.so.conf; then 10735 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' ' '` 10736 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 10737 fi 10738 10739 # We used to test for /lib/ld.so.1 and disable shared libraries on 10740 # powerpc, because MkLinux only supported shared libraries with the 10741 # GNU dynamic linker. Since this was broken with cross compilers, 10742 # most powerpc-linux boxes support dynamic linking these days and 10743 # people can always --disable-shared, the test was removed, and we 10744 # assume the GNU/Linux dynamic linker is in use. 10745 dynamic_linker='GNU/Linux ld.so' 10746 ;; 10747 10748netbsd*) 10749 version_type=sunos 10750 need_lib_prefix=no 10751 need_version=no 10752 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10753 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 10754 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10755 dynamic_linker='NetBSD (a.out) ld.so' 10756 else 10757 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10758 soname_spec='$libname$release$shared_ext$major' 10759 dynamic_linker='NetBSD ld.elf_so' 10760 fi 10761 shlibpath_var=LD_LIBRARY_PATH 10762 shlibpath_overrides_runpath=yes 10763 hardcode_into_libs=yes 10764 ;; 10765 10766newsos6) 10767 version_type=linux # correct to gnu/linux during the next big refactor 10768 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10769 shlibpath_var=LD_LIBRARY_PATH 10770 shlibpath_overrides_runpath=yes 10771 ;; 10772 10773*nto* | *qnx*) 10774 version_type=qnx 10775 need_lib_prefix=no 10776 need_version=no 10777 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10778 soname_spec='$libname$release$shared_ext$major' 10779 shlibpath_var=LD_LIBRARY_PATH 10780 shlibpath_overrides_runpath=no 10781 hardcode_into_libs=yes 10782 dynamic_linker='ldqnx.so' 10783 ;; 10784 10785openbsd* | bitrig*) 10786 version_type=sunos 10787 sys_lib_dlsearch_path_spec=/usr/lib 10788 need_lib_prefix=no 10789 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 10790 need_version=no 10791 else 10792 need_version=yes 10793 fi 10794 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 10795 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10796 shlibpath_var=LD_LIBRARY_PATH 10797 shlibpath_overrides_runpath=yes 10798 ;; 10799 10800os2*) 10801 libname_spec='$name' 10802 version_type=windows 10803 shrext_cmds=.dll 10804 need_version=no 10805 need_lib_prefix=no 10806 # OS/2 can only load a DLL with a base name of 8 characters or less. 10807 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 10808 v=$($ECHO $release$versuffix | tr -d .-); 10809 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 10810 $ECHO $n$v`$shared_ext' 10811 library_names_spec='${libname}_dll.$libext' 10812 dynamic_linker='OS/2 ld.exe' 10813 shlibpath_var=BEGINLIBPATH 10814 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10815 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10816 postinstall_cmds='base_file=`basename \$file`~ 10817 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 10818 dldir=$destdir/`dirname \$dlpath`~ 10819 test -d \$dldir || mkdir -p \$dldir~ 10820 $install_prog $dir/$dlname \$dldir/$dlname~ 10821 chmod a+x \$dldir/$dlname~ 10822 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10823 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10824 fi' 10825 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 10826 dlpath=$dir/\$dldll~ 10827 $RM \$dlpath' 10828 ;; 10829 10830osf3* | osf4* | osf5*) 10831 version_type=osf 10832 need_lib_prefix=no 10833 need_version=no 10834 soname_spec='$libname$release$shared_ext$major' 10835 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10836 shlibpath_var=LD_LIBRARY_PATH 10837 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 10838 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10839 ;; 10840 10841rdos*) 10842 dynamic_linker=no 10843 ;; 10844 10845solaris*) 10846 version_type=linux # correct to gnu/linux during the next big refactor 10847 need_lib_prefix=no 10848 need_version=no 10849 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10850 soname_spec='$libname$release$shared_ext$major' 10851 shlibpath_var=LD_LIBRARY_PATH 10852 shlibpath_overrides_runpath=yes 10853 hardcode_into_libs=yes 10854 # ldd complains unless libraries are executable 10855 postinstall_cmds='chmod +x $lib' 10856 ;; 10857 10858sunos4*) 10859 version_type=sunos 10860 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 10861 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 10862 shlibpath_var=LD_LIBRARY_PATH 10863 shlibpath_overrides_runpath=yes 10864 if test yes = "$with_gnu_ld"; then 10865 need_lib_prefix=no 10866 fi 10867 need_version=yes 10868 ;; 10869 10870sysv4 | sysv4.3*) 10871 version_type=linux # correct to gnu/linux during the next big refactor 10872 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10873 soname_spec='$libname$release$shared_ext$major' 10874 shlibpath_var=LD_LIBRARY_PATH 10875 case $host_vendor in 10876 sni) 10877 shlibpath_overrides_runpath=no 10878 need_lib_prefix=no 10879 runpath_var=LD_RUN_PATH 10880 ;; 10881 siemens) 10882 need_lib_prefix=no 10883 ;; 10884 motorola) 10885 need_lib_prefix=no 10886 need_version=no 10887 shlibpath_overrides_runpath=no 10888 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 10889 ;; 10890 esac 10891 ;; 10892 10893sysv4*MP*) 10894 if test -d /usr/nec; then 10895 version_type=linux # correct to gnu/linux during the next big refactor 10896 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 10897 soname_spec='$libname$shared_ext.$major' 10898 shlibpath_var=LD_LIBRARY_PATH 10899 fi 10900 ;; 10901 10902sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 10903 version_type=sco 10904 need_lib_prefix=no 10905 need_version=no 10906 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 10907 soname_spec='$libname$release$shared_ext$major' 10908 shlibpath_var=LD_LIBRARY_PATH 10909 shlibpath_overrides_runpath=yes 10910 hardcode_into_libs=yes 10911 if test yes = "$with_gnu_ld"; then 10912 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 10913 else 10914 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 10915 case $host_os in 10916 sco3.2v5*) 10917 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 10918 ;; 10919 esac 10920 fi 10921 sys_lib_dlsearch_path_spec='/usr/lib' 10922 ;; 10923 10924tpf*) 10925 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 10926 version_type=linux # correct to gnu/linux during the next big refactor 10927 need_lib_prefix=no 10928 need_version=no 10929 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10930 shlibpath_var=LD_LIBRARY_PATH 10931 shlibpath_overrides_runpath=no 10932 hardcode_into_libs=yes 10933 ;; 10934 10935uts4*) 10936 version_type=linux # correct to gnu/linux during the next big refactor 10937 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10938 soname_spec='$libname$release$shared_ext$major' 10939 shlibpath_var=LD_LIBRARY_PATH 10940 ;; 10941 10942*) 10943 dynamic_linker=no 10944 ;; 10945esac 10946{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 10947$as_echo "$dynamic_linker" >&6; } 10948test no = "$dynamic_linker" && can_build_shared=no 10949 10950variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 10951if test yes = "$GCC"; then 10952 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 10953fi 10954 10955if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 10956 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 10957fi 10958 10959if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 10960 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 10961fi 10962 10963# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 10964configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 10965 10966# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 10967func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 10968 10969# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 10970configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11069$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11070hardcode_action= 11071if test -n "$hardcode_libdir_flag_spec" || 11072 test -n "$runpath_var" || 11073 test yes = "$hardcode_automatic"; then 11074 11075 # We can hardcode non-existent directories. 11076 if test no != "$hardcode_direct" && 11077 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11078 # have to relink, otherwise we might link with an installed library 11079 # when we should be linking with a yet-to-be-installed one 11080 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 11081 test no != "$hardcode_minus_L"; then 11082 # Linking always hardcodes the temporary library directory. 11083 hardcode_action=relink 11084 else 11085 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11086 hardcode_action=immediate 11087 fi 11088else 11089 # We cannot hardcode anything, or else we can only hardcode existing 11090 # directories. 11091 hardcode_action=unsupported 11092fi 11093{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11094$as_echo "$hardcode_action" >&6; } 11095 11096if test relink = "$hardcode_action" || 11097 test yes = "$inherit_rpath"; then 11098 # Fast installation is not supported 11099 enable_fast_install=no 11100elif test yes = "$shlibpath_overrides_runpath" || 11101 test no = "$enable_shared"; then 11102 # Fast installation is not necessary 11103 enable_fast_install=needless 11104fi 11105 11106 11107 11108 11109 11110 11111 if test yes != "$enable_dlopen"; then 11112 enable_dlopen=unknown 11113 enable_dlopen_self=unknown 11114 enable_dlopen_self_static=unknown 11115else 11116 lt_cv_dlopen=no 11117 lt_cv_dlopen_libs= 11118 11119 case $host_os in 11120 beos*) 11121 lt_cv_dlopen=load_add_on 11122 lt_cv_dlopen_libs= 11123 lt_cv_dlopen_self=yes 11124 ;; 11125 11126 mingw* | pw32* | cegcc*) 11127 lt_cv_dlopen=LoadLibrary 11128 lt_cv_dlopen_libs= 11129 ;; 11130 11131 cygwin*) 11132 lt_cv_dlopen=dlopen 11133 lt_cv_dlopen_libs= 11134 ;; 11135 11136 darwin*) 11137 # if libdl is installed we need to link against it 11138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11139$as_echo_n "checking for dlopen in -ldl... " >&6; } 11140if ${ac_cv_lib_dl_dlopen+:} false; then : 11141 $as_echo_n "(cached) " >&6 11142else 11143 ac_check_lib_save_LIBS=$LIBS 11144LIBS="-ldl $LIBS" 11145cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11146/* end confdefs.h. */ 11147 11148/* Override any GCC internal prototype to avoid an error. 11149 Use char because int might match the return type of a GCC 11150 builtin and then its argument prototype would still apply. */ 11151#ifdef __cplusplus 11152extern "C" 11153#endif 11154char dlopen (); 11155int 11156main () 11157{ 11158return dlopen (); 11159 ; 11160 return 0; 11161} 11162_ACEOF 11163if ac_fn_c_try_link "$LINENO"; then : 11164 ac_cv_lib_dl_dlopen=yes 11165else 11166 ac_cv_lib_dl_dlopen=no 11167fi 11168rm -f core conftest.err conftest.$ac_objext \ 11169 conftest$ac_exeext conftest.$ac_ext 11170LIBS=$ac_check_lib_save_LIBS 11171fi 11172{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11173$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11174if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11175 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11176else 11177 11178 lt_cv_dlopen=dyld 11179 lt_cv_dlopen_libs= 11180 lt_cv_dlopen_self=yes 11181 11182fi 11183 11184 ;; 11185 11186 tpf*) 11187 # Don't try to run any link tests for TPF. We know it's impossible 11188 # because TPF is a cross-compiler, and we know how we open DSOs. 11189 lt_cv_dlopen=dlopen 11190 lt_cv_dlopen_libs= 11191 lt_cv_dlopen_self=no 11192 ;; 11193 11194 *) 11195 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11196if test "x$ac_cv_func_shl_load" = xyes; then : 11197 lt_cv_dlopen=shl_load 11198else 11199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11200$as_echo_n "checking for shl_load in -ldld... " >&6; } 11201if ${ac_cv_lib_dld_shl_load+:} false; then : 11202 $as_echo_n "(cached) " >&6 11203else 11204 ac_check_lib_save_LIBS=$LIBS 11205LIBS="-ldld $LIBS" 11206cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11207/* end confdefs.h. */ 11208 11209/* Override any GCC internal prototype to avoid an error. 11210 Use char because int might match the return type of a GCC 11211 builtin and then its argument prototype would still apply. */ 11212#ifdef __cplusplus 11213extern "C" 11214#endif 11215char shl_load (); 11216int 11217main () 11218{ 11219return shl_load (); 11220 ; 11221 return 0; 11222} 11223_ACEOF 11224if ac_fn_c_try_link "$LINENO"; then : 11225 ac_cv_lib_dld_shl_load=yes 11226else 11227 ac_cv_lib_dld_shl_load=no 11228fi 11229rm -f core conftest.err conftest.$ac_objext \ 11230 conftest$ac_exeext conftest.$ac_ext 11231LIBS=$ac_check_lib_save_LIBS 11232fi 11233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11234$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11235if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11236 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 11237else 11238 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11239if test "x$ac_cv_func_dlopen" = xyes; then : 11240 lt_cv_dlopen=dlopen 11241else 11242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11243$as_echo_n "checking for dlopen in -ldl... " >&6; } 11244if ${ac_cv_lib_dl_dlopen+:} false; then : 11245 $as_echo_n "(cached) " >&6 11246else 11247 ac_check_lib_save_LIBS=$LIBS 11248LIBS="-ldl $LIBS" 11249cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11250/* end confdefs.h. */ 11251 11252/* Override any GCC internal prototype to avoid an error. 11253 Use char because int might match the return type of a GCC 11254 builtin and then its argument prototype would still apply. */ 11255#ifdef __cplusplus 11256extern "C" 11257#endif 11258char dlopen (); 11259int 11260main () 11261{ 11262return dlopen (); 11263 ; 11264 return 0; 11265} 11266_ACEOF 11267if ac_fn_c_try_link "$LINENO"; then : 11268 ac_cv_lib_dl_dlopen=yes 11269else 11270 ac_cv_lib_dl_dlopen=no 11271fi 11272rm -f core conftest.err conftest.$ac_objext \ 11273 conftest$ac_exeext conftest.$ac_ext 11274LIBS=$ac_check_lib_save_LIBS 11275fi 11276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11277$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11278if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11279 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11280else 11281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11282$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11283if ${ac_cv_lib_svld_dlopen+:} false; then : 11284 $as_echo_n "(cached) " >&6 11285else 11286 ac_check_lib_save_LIBS=$LIBS 11287LIBS="-lsvld $LIBS" 11288cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11289/* end confdefs.h. */ 11290 11291/* Override any GCC internal prototype to avoid an error. 11292 Use char because int might match the return type of a GCC 11293 builtin and then its argument prototype would still apply. */ 11294#ifdef __cplusplus 11295extern "C" 11296#endif 11297char dlopen (); 11298int 11299main () 11300{ 11301return dlopen (); 11302 ; 11303 return 0; 11304} 11305_ACEOF 11306if ac_fn_c_try_link "$LINENO"; then : 11307 ac_cv_lib_svld_dlopen=yes 11308else 11309 ac_cv_lib_svld_dlopen=no 11310fi 11311rm -f core conftest.err conftest.$ac_objext \ 11312 conftest$ac_exeext conftest.$ac_ext 11313LIBS=$ac_check_lib_save_LIBS 11314fi 11315{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11316$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11317if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11318 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 11319else 11320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11321$as_echo_n "checking for dld_link in -ldld... " >&6; } 11322if ${ac_cv_lib_dld_dld_link+:} false; then : 11323 $as_echo_n "(cached) " >&6 11324else 11325 ac_check_lib_save_LIBS=$LIBS 11326LIBS="-ldld $LIBS" 11327cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11328/* end confdefs.h. */ 11329 11330/* Override any GCC internal prototype to avoid an error. 11331 Use char because int might match the return type of a GCC 11332 builtin and then its argument prototype would still apply. */ 11333#ifdef __cplusplus 11334extern "C" 11335#endif 11336char dld_link (); 11337int 11338main () 11339{ 11340return dld_link (); 11341 ; 11342 return 0; 11343} 11344_ACEOF 11345if ac_fn_c_try_link "$LINENO"; then : 11346 ac_cv_lib_dld_dld_link=yes 11347else 11348 ac_cv_lib_dld_dld_link=no 11349fi 11350rm -f core conftest.err conftest.$ac_objext \ 11351 conftest$ac_exeext conftest.$ac_ext 11352LIBS=$ac_check_lib_save_LIBS 11353fi 11354{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11355$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11356if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11357 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 11358fi 11359 11360 11361fi 11362 11363 11364fi 11365 11366 11367fi 11368 11369 11370fi 11371 11372 11373fi 11374 11375 ;; 11376 esac 11377 11378 if test no = "$lt_cv_dlopen"; then 11379 enable_dlopen=no 11380 else 11381 enable_dlopen=yes 11382 fi 11383 11384 case $lt_cv_dlopen in 11385 dlopen) 11386 save_CPPFLAGS=$CPPFLAGS 11387 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11388 11389 save_LDFLAGS=$LDFLAGS 11390 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11391 11392 save_LIBS=$LIBS 11393 LIBS="$lt_cv_dlopen_libs $LIBS" 11394 11395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11396$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11397if ${lt_cv_dlopen_self+:} false; then : 11398 $as_echo_n "(cached) " >&6 11399else 11400 if test yes = "$cross_compiling"; then : 11401 lt_cv_dlopen_self=cross 11402else 11403 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11404 lt_status=$lt_dlunknown 11405 cat > conftest.$ac_ext <<_LT_EOF 11406#line $LINENO "configure" 11407#include "confdefs.h" 11408 11409#if HAVE_DLFCN_H 11410#include <dlfcn.h> 11411#endif 11412 11413#include <stdio.h> 11414 11415#ifdef RTLD_GLOBAL 11416# define LT_DLGLOBAL RTLD_GLOBAL 11417#else 11418# ifdef DL_GLOBAL 11419# define LT_DLGLOBAL DL_GLOBAL 11420# else 11421# define LT_DLGLOBAL 0 11422# endif 11423#endif 11424 11425/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11426 find out it does not work in some platform. */ 11427#ifndef LT_DLLAZY_OR_NOW 11428# ifdef RTLD_LAZY 11429# define LT_DLLAZY_OR_NOW RTLD_LAZY 11430# else 11431# ifdef DL_LAZY 11432# define LT_DLLAZY_OR_NOW DL_LAZY 11433# else 11434# ifdef RTLD_NOW 11435# define LT_DLLAZY_OR_NOW RTLD_NOW 11436# else 11437# ifdef DL_NOW 11438# define LT_DLLAZY_OR_NOW DL_NOW 11439# else 11440# define LT_DLLAZY_OR_NOW 0 11441# endif 11442# endif 11443# endif 11444# endif 11445#endif 11446 11447/* When -fvisibility=hidden is used, assume the code has been annotated 11448 correspondingly for the symbols needed. */ 11449#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11450int fnord () __attribute__((visibility("default"))); 11451#endif 11452 11453int fnord () { return 42; } 11454int main () 11455{ 11456 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11457 int status = $lt_dlunknown; 11458 11459 if (self) 11460 { 11461 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11462 else 11463 { 11464 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11465 else puts (dlerror ()); 11466 } 11467 /* dlclose (self); */ 11468 } 11469 else 11470 puts (dlerror ()); 11471 11472 return status; 11473} 11474_LT_EOF 11475 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11476 (eval $ac_link) 2>&5 11477 ac_status=$? 11478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11479 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 11480 (./conftest; exit; ) >&5 2>/dev/null 11481 lt_status=$? 11482 case x$lt_status in 11483 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11484 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11485 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11486 esac 11487 else : 11488 # compilation failed 11489 lt_cv_dlopen_self=no 11490 fi 11491fi 11492rm -fr conftest* 11493 11494 11495fi 11496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11497$as_echo "$lt_cv_dlopen_self" >&6; } 11498 11499 if test yes = "$lt_cv_dlopen_self"; then 11500 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11502$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11503if ${lt_cv_dlopen_self_static+:} false; then : 11504 $as_echo_n "(cached) " >&6 11505else 11506 if test yes = "$cross_compiling"; then : 11507 lt_cv_dlopen_self_static=cross 11508else 11509 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11510 lt_status=$lt_dlunknown 11511 cat > conftest.$ac_ext <<_LT_EOF 11512#line $LINENO "configure" 11513#include "confdefs.h" 11514 11515#if HAVE_DLFCN_H 11516#include <dlfcn.h> 11517#endif 11518 11519#include <stdio.h> 11520 11521#ifdef RTLD_GLOBAL 11522# define LT_DLGLOBAL RTLD_GLOBAL 11523#else 11524# ifdef DL_GLOBAL 11525# define LT_DLGLOBAL DL_GLOBAL 11526# else 11527# define LT_DLGLOBAL 0 11528# endif 11529#endif 11530 11531/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11532 find out it does not work in some platform. */ 11533#ifndef LT_DLLAZY_OR_NOW 11534# ifdef RTLD_LAZY 11535# define LT_DLLAZY_OR_NOW RTLD_LAZY 11536# else 11537# ifdef DL_LAZY 11538# define LT_DLLAZY_OR_NOW DL_LAZY 11539# else 11540# ifdef RTLD_NOW 11541# define LT_DLLAZY_OR_NOW RTLD_NOW 11542# else 11543# ifdef DL_NOW 11544# define LT_DLLAZY_OR_NOW DL_NOW 11545# else 11546# define LT_DLLAZY_OR_NOW 0 11547# endif 11548# endif 11549# endif 11550# endif 11551#endif 11552 11553/* When -fvisibility=hidden is used, assume the code has been annotated 11554 correspondingly for the symbols needed. */ 11555#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11556int fnord () __attribute__((visibility("default"))); 11557#endif 11558 11559int fnord () { return 42; } 11560int main () 11561{ 11562 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11563 int status = $lt_dlunknown; 11564 11565 if (self) 11566 { 11567 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11568 else 11569 { 11570 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11571 else puts (dlerror ()); 11572 } 11573 /* dlclose (self); */ 11574 } 11575 else 11576 puts (dlerror ()); 11577 11578 return status; 11579} 11580_LT_EOF 11581 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11582 (eval $ac_link) 2>&5 11583 ac_status=$? 11584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11585 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 11586 (./conftest; exit; ) >&5 2>/dev/null 11587 lt_status=$? 11588 case x$lt_status in 11589 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11590 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11591 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11592 esac 11593 else : 11594 # compilation failed 11595 lt_cv_dlopen_self_static=no 11596 fi 11597fi 11598rm -fr conftest* 11599 11600 11601fi 11602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11603$as_echo "$lt_cv_dlopen_self_static" >&6; } 11604 fi 11605 11606 CPPFLAGS=$save_CPPFLAGS 11607 LDFLAGS=$save_LDFLAGS 11608 LIBS=$save_LIBS 11609 ;; 11610 esac 11611 11612 case $lt_cv_dlopen_self in 11613 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11614 *) enable_dlopen_self=unknown ;; 11615 esac 11616 11617 case $lt_cv_dlopen_self_static in 11618 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11619 *) enable_dlopen_self_static=unknown ;; 11620 esac 11621fi 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639striplib= 11640old_striplib= 11641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11642$as_echo_n "checking whether stripping libraries is possible... " >&6; } 11643if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11644 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11645 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11647$as_echo "yes" >&6; } 11648else 11649# FIXME - insert some real tests, host_os isn't really good enough 11650 case $host_os in 11651 darwin*) 11652 if test -n "$STRIP"; then 11653 striplib="$STRIP -x" 11654 old_striplib="$STRIP -S" 11655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11656$as_echo "yes" >&6; } 11657 else 11658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11659$as_echo "no" >&6; } 11660 fi 11661 ;; 11662 *) 11663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11664$as_echo "no" >&6; } 11665 ;; 11666 esac 11667fi 11668 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 # Report what library types will actually be built 11681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 11682$as_echo_n "checking if libtool supports shared libraries... " >&6; } 11683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 11684$as_echo "$can_build_shared" >&6; } 11685 11686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 11687$as_echo_n "checking whether to build shared libraries... " >&6; } 11688 test no = "$can_build_shared" && enable_shared=no 11689 11690 # On AIX, shared libraries and static libraries use the same namespace, and 11691 # are all built from PIC. 11692 case $host_os in 11693 aix3*) 11694 test yes = "$enable_shared" && enable_static=no 11695 if test -n "$RANLIB"; then 11696 archive_cmds="$archive_cmds~\$RANLIB \$lib" 11697 postinstall_cmds='$RANLIB $lib' 11698 fi 11699 ;; 11700 11701 aix[4-9]*) 11702 if test ia64 != "$host_cpu"; then 11703 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 11704 yes,aix,yes) ;; # shared object as lib.so file only 11705 yes,svr4,*) ;; # shared object as lib.so archive member only 11706 yes,*) enable_static=no ;; # shared object in lib.a archive as well 11707 esac 11708 fi 11709 ;; 11710 esac 11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 11712$as_echo "$enable_shared" >&6; } 11713 11714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 11715$as_echo_n "checking whether to build static libraries... " >&6; } 11716 # Make sure either enable_shared or enable_static is yes. 11717 test yes = "$enable_shared" || enable_static=yes 11718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 11719$as_echo "$enable_static" >&6; } 11720 11721 11722 11723 11724fi 11725ac_ext=c 11726ac_cpp='$CPP $CPPFLAGS' 11727ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11728ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11729ac_compiler_gnu=$ac_cv_c_compiler_gnu 11730 11731CC=$lt_save_CC 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 ac_config_commands="$ac_config_commands libtool" 11748 11749 11750 11751 11752# Only expand once: 11753 11754 11755 11756 11757# Check whether --with-centos was given. 11758if test "${with_centos+set}" = set; then : 11759 withval=$with_centos; 11760fi 11761 11762 11763 11764 11765 11766 11767 11768if test "$with_centos" = "yes"; then 11769 RPM_COMMENT="# RPM spec file for RedHat CentOS created by configure script." 11770 RPM_LICENSE="GPLv3" 11771 RPM_GROUP="User Interface/Desktops" 11772 RPM_FDUPES_REQUIRES= 11773 RPM_UDF_REQUIRES= 11774else 11775 RPM_COMMENT="# RPM spec file for SUSE OpenSUSE created by configure script." 11776 RPM_LICENSE="GPL-3.0" 11777 RPM_GROUP="System/GUI/Other" 11778 RPM_FDUPES_REQUIRES="BuildRequires: fdupes" 11779 RPM_UDF_REQUIRES="BuildRequires: update-desktop-files" 11780fi 11781 11782 11783 11784 11785$as_echo "#define _GNU_SOURCE 1" >>confdefs.h 11786 11787 11788 11789$as_echo "#define COPYRIGHT \"Copyright (c) 2000-2014 Edscott Wilson Garcia. <edscott@users.sf.net>\"" >>confdefs.h 11790 11791 11792 11793$as_echo "#define PACKAGE_COPYRIGHT \"Copyright (c) 2000-2014 Edscott Wilson Garcia. <edscott@users.sf.net>\"" >>confdefs.h 11794 11795 11796 11797{ $as_echo "$as_me:${as_lineno-$LINENO}: *** *** You may download librfm from http://sf.net/projects/xffm/files *** ***" >&5 11798$as_echo "$as_me: *** *** You may download librfm from http://sf.net/projects/xffm/files *** ***" >&6;} 11799 11800 11801 # minimum supported version of pkg-config 11802 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 11803 11804 # lookup pkg-config utility 11805 if test x"$PKG_CONFIG" = x""; then 11806 # Extract the first word of "pkg-config", so it can be a program name with args. 11807set dummy pkg-config; ac_word=$2 11808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11809$as_echo_n "checking for $ac_word... " >&6; } 11810if ${ac_cv_path_PKG_CONFIG+:} false; then : 11811 $as_echo_n "(cached) " >&6 11812else 11813 case $PKG_CONFIG in 11814 [\\/]* | ?:[\\/]*) 11815 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 11816 ;; 11817 *) 11818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11819for as_dir in $PATH 11820do 11821 IFS=$as_save_IFS 11822 test -z "$as_dir" && as_dir=. 11823 for ac_exec_ext in '' $ac_executable_extensions; do 11824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11825 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 11826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11827 break 2 11828 fi 11829done 11830 done 11831IFS=$as_save_IFS 11832 11833 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 11834 ;; 11835esac 11836fi 11837PKG_CONFIG=$ac_cv_path_PKG_CONFIG 11838if test -n "$PKG_CONFIG"; then 11839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 11840$as_echo "$PKG_CONFIG" >&6; } 11841else 11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11843$as_echo "no" >&6; } 11844fi 11845 11846 11847 11848 if test x"$PKG_CONFIG" = x"no"; then 11849 echo "*** The pkg-config utility could not be found on your system." 11850 echo "*** Make sure it is in your path, or set the PKG_CONFIG" 11851 echo "*** environment variable to the full path to pkg-config." 11852 echo "*** You can download pkg-config from the freedesktop.org" 11853 echo "*** software repository at" 11854 echo "***" 11855 echo "*** http://www.freedesktop.org/software/pkgconfig" 11856 echo "***" 11857 exit 1 11858 fi 11859 11860 # check pkg-config version 11861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5 11862$as_echo_n "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... " >&6; } 11863 if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then 11864 xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version` 11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5 11866$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; } 11867 else 11868 xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version` 11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5 11870$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; } 11871 echo "*** Your version of pkg-config is too old. You need atleast" 11872 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config " 11873 echo "*** from the freedesktop.org software repository at" 11874 echo "***" 11875 echo "*** http://www.freedesktop.org/software/pkgconfig" 11876 echo "***" 11877 exit 1 11878 fi 11879 fi 11880 11881 11882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for librfm >= 5.3.16.3" >&5 11883$as_echo_n "checking for librfm >= 5.3.16.3... " >&6; } 11884 if $PKG_CONFIG "--atleast-version=5.3.16.3" "librfm" >/dev/null 2>&1; then 11885 LIBRFM_VERSION=`$PKG_CONFIG --modversion "librfm"` 11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBRFM_VERSION" >&5 11887$as_echo "$LIBRFM_VERSION" >&6; } 11888 11889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBRFM_CFLAGS" >&5 11890$as_echo_n "checking LIBRFM_CFLAGS... " >&6; } 11891 LIBRFM_CFLAGS=`$PKG_CONFIG --cflags "librfm"` 11892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBRFM_CFLAGS" >&5 11893$as_echo "$LIBRFM_CFLAGS" >&6; } 11894 11895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBRFM_LIBS" >&5 11896$as_echo_n "checking LIBRFM_LIBS... " >&6; } 11897 LIBRFM_LIBS=`$PKG_CONFIG --libs "librfm"` 11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBRFM_LIBS" >&5 11899$as_echo "$LIBRFM_LIBS" >&6; } 11900 11901 LIBRFM_REQUIRED_VERSION=5.3.16.3 11902 11903 11904 11905 11906 11907 11908 11909 elif $PKG_CONFIG --exists "librfm" >/dev/null 2>&1; then 11910 xdg_cv_version=`$PKG_CONFIG --modversion "librfm"` 11911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 11912$as_echo "found, but $xdt_cv_version" >&6; } 11913 11914 11915 echo "*** The required rodent-fstab librfm was found on your system," 11916 echo "*** but the installed version ($xdt_cv_version) is too old." 11917 echo "*** Please upgrade librfm to atleast version 5.3.16.3, or adjust" 11918 echo "*** the PKG_CONFIG_PATH environment variable if you installed" 11919 echo "*** the new version of the rodent-fstab in a nonstandard prefix so" 11920 echo "*** pkg-config is able to find it." 11921 exit 1 11922 11923 else 11924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 11925$as_echo "not found" >&6; } 11926 11927 11928 echo "*** The required rodent-fstab librfm was not found on your system." 11929 echo "*** Please install librfm (atleast version 5.3.16.3) or adjust" 11930 echo "*** the PKG_CONFIG_PATH environment variable if you" 11931 echo "*** installed the rodent-fstab in a nonstandard prefix so that" 11932 echo "*** pkg-config is able to find it." 11933 exit 1 11934 11935 fi 11936 11937 11938 11939# check for libzip 11940 11941 11942 11943 11944 11945GTK_VERSION=`$PKG_CONFIG --variable gtk_version librfm` 11946GTK_PREFIX=`$PKG_CONFIG --variable prefix $GTK_VERSION` 11947RFM_PREFIX=`$PKG_CONFIG --variable prefix librfm` 11948RFM_MODULE_DIR=`$PKG_CONFIG --variable moduledir librfm` 11949 11950echo "GTK version used in librfm: $GTK_VERSION ($GTK_PREFIX)" 11951 11952 11953# Check whether --with-tcmalloc was given. 11954if test "${with_tcmalloc+set}" = set; then : 11955 withval=$with_tcmalloc; 11956fi 11957 11958 11959if test "$with_tcmalloc" = "yes"; then 11960 11961cat >>confdefs.h <<_ACEOF 11962#define TCMALLOC $with_tcmalloc 11963_ACEOF 11964 11965 TCMALLOC="-L/usr/local/lib/ -ltcmalloc" 11966else 11967 TCMALLOC= 11968fi 11969 11970 11971#deprecated: AM_INIT_AUTOMAKE([package()], [vers()]) 11972#AM_INIT_AUTOMAKE([foreign]) 11973#m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES]) 11974am__api_version='1.15' 11975 11976{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 11977$as_echo_n "checking whether build environment is sane... " >&6; } 11978# Reject unsafe characters in $srcdir or the absolute working directory 11979# name. Accept space and tab only in the latter. 11980am_lf=' 11981' 11982case `pwd` in 11983 *[\\\"\#\$\&\'\`$am_lf]*) 11984 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 11985esac 11986case $srcdir in 11987 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 11988 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 11989esac 11990 11991# Do 'set' in a subshell so we don't clobber the current shell's 11992# arguments. Must try -L first in case configure is actually a 11993# symlink; some systems play weird games with the mod time of symlinks 11994# (eg FreeBSD returns the mod time of the symlink's containing 11995# directory). 11996if ( 11997 am_has_slept=no 11998 for am_try in 1 2; do 11999 echo "timestamp, slept: $am_has_slept" > conftest.file 12000 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 12001 if test "$*" = "X"; then 12002 # -L didn't work. 12003 set X `ls -t "$srcdir/configure" conftest.file` 12004 fi 12005 if test "$*" != "X $srcdir/configure conftest.file" \ 12006 && test "$*" != "X conftest.file $srcdir/configure"; then 12007 12008 # If neither matched, then we have a broken ls. This can happen 12009 # if, for instance, CONFIG_SHELL is bash and it inherits a 12010 # broken ls alias from the environment. This has actually 12011 # happened. Such a system could not be considered "sane". 12012 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 12013 alias in your environment" "$LINENO" 5 12014 fi 12015 if test "$2" = conftest.file || test $am_try -eq 2; then 12016 break 12017 fi 12018 # Just in case. 12019 sleep 1 12020 am_has_slept=yes 12021 done 12022 test "$2" = conftest.file 12023 ) 12024then 12025 # Ok. 12026 : 12027else 12028 as_fn_error $? "newly created file is older than distributed files! 12029Check your system clock" "$LINENO" 5 12030fi 12031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12032$as_echo "yes" >&6; } 12033# If we didn't sleep, we still need to ensure time stamps of config.status and 12034# generated files are strictly newer. 12035am_sleep_pid= 12036if grep 'slept: no' conftest.file >/dev/null 2>&1; then 12037 ( sleep 1 ) & 12038 am_sleep_pid=$! 12039fi 12040 12041rm -f conftest.file 12042 12043test "$program_prefix" != NONE && 12044 program_transform_name="s&^&$program_prefix&;$program_transform_name" 12045# Use a double $ so make ignores it. 12046test "$program_suffix" != NONE && 12047 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 12048# Double any \ or $. 12049# By default was `s,x,x', remove it if useless. 12050ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 12051program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 12052 12053if test x"${MISSING+set}" != xset; then 12054 case $am_aux_dir in 12055 *\ * | *\ *) 12056 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 12057 *) 12058 MISSING="\${SHELL} $am_aux_dir/missing" ;; 12059 esac 12060fi 12061# Use eval to expand $SHELL 12062if eval "$MISSING --is-lightweight"; then 12063 am_missing_run="$MISSING " 12064else 12065 am_missing_run= 12066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 12067$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 12068fi 12069 12070if test x"${install_sh+set}" != xset; then 12071 case $am_aux_dir in 12072 *\ * | *\ *) 12073 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 12074 *) 12075 install_sh="\${SHELL} $am_aux_dir/install-sh" 12076 esac 12077fi 12078 12079# Installed binaries are usually stripped using 'strip' when the user 12080# run "make install-strip". However 'strip' might not be the right 12081# tool to use in cross-compilation environments, therefore Automake 12082# will honor the 'STRIP' environment variable to overrule this program. 12083if test "$cross_compiling" != no; then 12084 if test -n "$ac_tool_prefix"; then 12085 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 12086set dummy ${ac_tool_prefix}strip; ac_word=$2 12087{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12088$as_echo_n "checking for $ac_word... " >&6; } 12089if ${ac_cv_prog_STRIP+:} false; then : 12090 $as_echo_n "(cached) " >&6 12091else 12092 if test -n "$STRIP"; then 12093 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 12094else 12095as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12096for as_dir in $PATH 12097do 12098 IFS=$as_save_IFS 12099 test -z "$as_dir" && as_dir=. 12100 for ac_exec_ext in '' $ac_executable_extensions; do 12101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12102 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 12103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12104 break 2 12105 fi 12106done 12107 done 12108IFS=$as_save_IFS 12109 12110fi 12111fi 12112STRIP=$ac_cv_prog_STRIP 12113if test -n "$STRIP"; then 12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 12115$as_echo "$STRIP" >&6; } 12116else 12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12118$as_echo "no" >&6; } 12119fi 12120 12121 12122fi 12123if test -z "$ac_cv_prog_STRIP"; then 12124 ac_ct_STRIP=$STRIP 12125 # Extract the first word of "strip", so it can be a program name with args. 12126set dummy strip; ac_word=$2 12127{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12128$as_echo_n "checking for $ac_word... " >&6; } 12129if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 12130 $as_echo_n "(cached) " >&6 12131else 12132 if test -n "$ac_ct_STRIP"; then 12133 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 12134else 12135as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12136for as_dir in $PATH 12137do 12138 IFS=$as_save_IFS 12139 test -z "$as_dir" && as_dir=. 12140 for ac_exec_ext in '' $ac_executable_extensions; do 12141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12142 ac_cv_prog_ac_ct_STRIP="strip" 12143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12144 break 2 12145 fi 12146done 12147 done 12148IFS=$as_save_IFS 12149 12150fi 12151fi 12152ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 12153if test -n "$ac_ct_STRIP"; then 12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 12155$as_echo "$ac_ct_STRIP" >&6; } 12156else 12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12158$as_echo "no" >&6; } 12159fi 12160 12161 if test "x$ac_ct_STRIP" = x; then 12162 STRIP=":" 12163 else 12164 case $cross_compiling:$ac_tool_warned in 12165yes:) 12166{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12167$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12168ac_tool_warned=yes ;; 12169esac 12170 STRIP=$ac_ct_STRIP 12171 fi 12172else 12173 STRIP="$ac_cv_prog_STRIP" 12174fi 12175 12176fi 12177INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 12178 12179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 12180$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 12181if test -z "$MKDIR_P"; then 12182 if ${ac_cv_path_mkdir+:} false; then : 12183 $as_echo_n "(cached) " >&6 12184else 12185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12186for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 12187do 12188 IFS=$as_save_IFS 12189 test -z "$as_dir" && as_dir=. 12190 for ac_prog in mkdir gmkdir; do 12191 for ac_exec_ext in '' $ac_executable_extensions; do 12192 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 12193 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 12194 'mkdir (GNU coreutils) '* | \ 12195 'mkdir (coreutils) '* | \ 12196 'mkdir (fileutils) '4.1*) 12197 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 12198 break 3;; 12199 esac 12200 done 12201 done 12202 done 12203IFS=$as_save_IFS 12204 12205fi 12206 12207 test -d ./--version && rmdir ./--version 12208 if test "${ac_cv_path_mkdir+set}" = set; then 12209 MKDIR_P="$ac_cv_path_mkdir -p" 12210 else 12211 # As a last resort, use the slow shell script. Don't cache a 12212 # value for MKDIR_P within a source directory, because that will 12213 # break other packages using the cache if that directory is 12214 # removed, or if the value is a relative name. 12215 MKDIR_P="$ac_install_sh -d" 12216 fi 12217fi 12218{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 12219$as_echo "$MKDIR_P" >&6; } 12220 12221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 12222$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 12223set x ${MAKE-make} 12224ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 12225if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 12226 $as_echo_n "(cached) " >&6 12227else 12228 cat >conftest.make <<\_ACEOF 12229SHELL = /bin/sh 12230all: 12231 @echo '@@@%%%=$(MAKE)=@@@%%%' 12232_ACEOF 12233# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 12234case `${MAKE-make} -f conftest.make 2>/dev/null` in 12235 *@@@%%%=?*=@@@%%%*) 12236 eval ac_cv_prog_make_${ac_make}_set=yes;; 12237 *) 12238 eval ac_cv_prog_make_${ac_make}_set=no;; 12239esac 12240rm -f conftest.make 12241fi 12242if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 12243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12244$as_echo "yes" >&6; } 12245 SET_MAKE= 12246else 12247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12248$as_echo "no" >&6; } 12249 SET_MAKE="MAKE=${MAKE-make}" 12250fi 12251 12252rm -rf .tst 2>/dev/null 12253mkdir .tst 2>/dev/null 12254if test -d .tst; then 12255 am__leading_dot=. 12256else 12257 am__leading_dot=_ 12258fi 12259rmdir .tst 2>/dev/null 12260 12261DEPDIR="${am__leading_dot}deps" 12262 12263ac_config_commands="$ac_config_commands depfiles" 12264 12265 12266am_make=${MAKE-make} 12267cat > confinc << 'END' 12268am__doit: 12269 @echo this is the am__doit target 12270.PHONY: am__doit 12271END 12272# If we don't find an include directive, just comment out the code. 12273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 12274$as_echo_n "checking for style of include used by $am_make... " >&6; } 12275am__include="#" 12276am__quote= 12277_am_result=none 12278# First try GNU make style include. 12279echo "include confinc" > confmf 12280# Ignore all kinds of additional output from 'make'. 12281case `$am_make -s -f confmf 2> /dev/null` in #( 12282*the\ am__doit\ target*) 12283 am__include=include 12284 am__quote= 12285 _am_result=GNU 12286 ;; 12287esac 12288# Now try BSD make style include. 12289if test "$am__include" = "#"; then 12290 echo '.include "confinc"' > confmf 12291 case `$am_make -s -f confmf 2> /dev/null` in #( 12292 *the\ am__doit\ target*) 12293 am__include=.include 12294 am__quote="\"" 12295 _am_result=BSD 12296 ;; 12297 esac 12298fi 12299 12300 12301{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 12302$as_echo "$_am_result" >&6; } 12303rm -f confinc confmf 12304 12305# Check whether --enable-dependency-tracking was given. 12306if test "${enable_dependency_tracking+set}" = set; then : 12307 enableval=$enable_dependency_tracking; 12308fi 12309 12310if test "x$enable_dependency_tracking" != xno; then 12311 am_depcomp="$ac_aux_dir/depcomp" 12312 AMDEPBACKSLASH='\' 12313 am__nodep='_no' 12314fi 12315 if test "x$enable_dependency_tracking" != xno; then 12316 AMDEP_TRUE= 12317 AMDEP_FALSE='#' 12318else 12319 AMDEP_TRUE='#' 12320 AMDEP_FALSE= 12321fi 12322 12323 12324# Check whether --enable-silent-rules was given. 12325if test "${enable_silent_rules+set}" = set; then : 12326 enableval=$enable_silent_rules; 12327fi 12328 12329case $enable_silent_rules in 12330yes) AM_DEFAULT_VERBOSITY=0;; 12331no) AM_DEFAULT_VERBOSITY=1;; 12332*) AM_DEFAULT_VERBOSITY=1;; 12333esac 12334AM_BACKSLASH='\' 12335 12336if test "`cd $srcdir && pwd`" != "`pwd`"; then 12337 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 12338 # is not polluted with repeated "-I." 12339 am__isrc=' -I$(srcdir)' 12340 # test to see if srcdir already configured 12341 if test -f $srcdir/config.status; then 12342 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 12343 fi 12344fi 12345 12346# test whether we have cygpath 12347if test -z "$CYGPATH_W"; then 12348 if (cygpath --version) >/dev/null 2>/dev/null; then 12349 CYGPATH_W='cygpath -w' 12350 else 12351 CYGPATH_W=echo 12352 fi 12353fi 12354 12355 12356# Define the identity of the package. 12357 PACKAGE='rodent-fstab' 12358 VERSION='5.3.16.3' 12359 12360 12361cat >>confdefs.h <<_ACEOF 12362#define PACKAGE "$PACKAGE" 12363_ACEOF 12364 12365 12366cat >>confdefs.h <<_ACEOF 12367#define VERSION "$VERSION" 12368_ACEOF 12369 12370# Some tools Automake needs. 12371 12372ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 12373 12374 12375AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 12376 12377 12378AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 12379 12380 12381AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 12382 12383 12384MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 12385 12386# For better backward compatibility. To be removed once Automake 1.9.x 12387# dies out for good. For more background, see: 12388# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 12389# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 12390mkdir_p='$(MKDIR_P)' 12391 12392# We need awk for the "check" target (and possibly the TAP driver). The 12393# system "awk" is bad on some platforms. 12394# Always define AMTAR for backward compatibility. Yes, it's still used 12395# in the wild :-( We should find a proper way to deprecate it ... 12396AMTAR='$${TAR-tar}' 12397 12398 12399# We'll loop over all known methods to create a tar archive until one works. 12400_am_tools='gnutar pax cpio none' 12401 12402am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 12403 12404 12405 12406 12407 12408depcc="$CC" am_compiler_list= 12409 12410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 12411$as_echo_n "checking dependency style of $depcc... " >&6; } 12412if ${am_cv_CC_dependencies_compiler_type+:} false; then : 12413 $as_echo_n "(cached) " >&6 12414else 12415 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 12416 # We make a subdir and do the tests there. Otherwise we can end up 12417 # making bogus files that we don't know about and never remove. For 12418 # instance it was reported that on HP-UX the gcc test will end up 12419 # making a dummy file named 'D' -- because '-MD' means "put the output 12420 # in D". 12421 rm -rf conftest.dir 12422 mkdir conftest.dir 12423 # Copy depcomp to subdir because otherwise we won't find it if we're 12424 # using a relative directory. 12425 cp "$am_depcomp" conftest.dir 12426 cd conftest.dir 12427 # We will build objects and dependencies in a subdirectory because 12428 # it helps to detect inapplicable dependency modes. For instance 12429 # both Tru64's cc and ICC support -MD to output dependencies as a 12430 # side effect of compilation, but ICC will put the dependencies in 12431 # the current directory while Tru64 will put them in the object 12432 # directory. 12433 mkdir sub 12434 12435 am_cv_CC_dependencies_compiler_type=none 12436 if test "$am_compiler_list" = ""; then 12437 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 12438 fi 12439 am__universal=false 12440 case " $depcc " in #( 12441 *\ -arch\ *\ -arch\ *) am__universal=true ;; 12442 esac 12443 12444 for depmode in $am_compiler_list; do 12445 # Setup a source with many dependencies, because some compilers 12446 # like to wrap large dependency lists on column 80 (with \), and 12447 # we should not choose a depcomp mode which is confused by this. 12448 # 12449 # We need to recreate these files for each test, as the compiler may 12450 # overwrite some of them when testing with obscure command lines. 12451 # This happens at least with the AIX C compiler. 12452 : > sub/conftest.c 12453 for i in 1 2 3 4 5 6; do 12454 echo '#include "conftst'$i'.h"' >> sub/conftest.c 12455 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 12456 # Solaris 10 /bin/sh. 12457 echo '/* dummy */' > sub/conftst$i.h 12458 done 12459 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 12460 12461 # We check with '-c' and '-o' for the sake of the "dashmstdout" 12462 # mode. It turns out that the SunPro C++ compiler does not properly 12463 # handle '-M -o', and we need to detect this. Also, some Intel 12464 # versions had trouble with output in subdirs. 12465 am__obj=sub/conftest.${OBJEXT-o} 12466 am__minus_obj="-o $am__obj" 12467 case $depmode in 12468 gcc) 12469 # This depmode causes a compiler race in universal mode. 12470 test "$am__universal" = false || continue 12471 ;; 12472 nosideeffect) 12473 # After this tag, mechanisms are not by side-effect, so they'll 12474 # only be used when explicitly requested. 12475 if test "x$enable_dependency_tracking" = xyes; then 12476 continue 12477 else 12478 break 12479 fi 12480 ;; 12481 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 12482 # This compiler won't grok '-c -o', but also, the minuso test has 12483 # not run yet. These depmodes are late enough in the game, and 12484 # so weak that their functioning should not be impacted. 12485 am__obj=conftest.${OBJEXT-o} 12486 am__minus_obj= 12487 ;; 12488 none) break ;; 12489 esac 12490 if depmode=$depmode \ 12491 source=sub/conftest.c object=$am__obj \ 12492 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 12493 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 12494 >/dev/null 2>conftest.err && 12495 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 12496 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 12497 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 12498 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 12499 # icc doesn't choke on unknown options, it will just issue warnings 12500 # or remarks (even with -Werror). So we grep stderr for any message 12501 # that says an option was ignored or not supported. 12502 # When given -MP, icc 7.0 and 7.1 complain thusly: 12503 # icc: Command line warning: ignoring option '-M'; no argument required 12504 # The diagnosis changed in icc 8.0: 12505 # icc: Command line remark: option '-MP' not supported 12506 if (grep 'ignoring option' conftest.err || 12507 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 12508 am_cv_CC_dependencies_compiler_type=$depmode 12509 break 12510 fi 12511 fi 12512 done 12513 12514 cd .. 12515 rm -rf conftest.dir 12516else 12517 am_cv_CC_dependencies_compiler_type=none 12518fi 12519 12520fi 12521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 12522$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 12523CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 12524 12525 if 12526 test "x$enable_dependency_tracking" != xno \ 12527 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 12528 am__fastdepCC_TRUE= 12529 am__fastdepCC_FALSE='#' 12530else 12531 am__fastdepCC_TRUE='#' 12532 am__fastdepCC_FALSE= 12533fi 12534 12535 12536 12537# POSIX will say in a future version that running "rm -f" with no argument 12538# is OK; and we want to be able to make that assumption in our Makefile 12539# recipes. So use an aggressive probe to check that the usage we want is 12540# actually supported "in the wild" to an acceptable degree. 12541# See automake bug#10828. 12542# To make any issue more visible, cause the running configure to be aborted 12543# by default if the 'rm' program in use doesn't match our expectations; the 12544# user can still override this though. 12545if rm -f && rm -fr && rm -rf; then : OK; else 12546 cat >&2 <<'END' 12547Oops! 12548 12549Your 'rm' program seems unable to run without file operands specified 12550on the command line, even when the '-f' option is present. This is contrary 12551to the behaviour of most rm programs out there, and not conforming with 12552the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 12553 12554Please tell bug-automake@gnu.org about your system, including the value 12555of your $PATH and any error possibly output before this message. This 12556can help us improve future automake versions. 12557 12558END 12559 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 12560 echo 'Configuration will proceed anyway, since you have set the' >&2 12561 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 12562 echo >&2 12563 else 12564 cat >&2 <<'END' 12565Aborting the configuration process, to ensure you take notice of the issue. 12566 12567You can download and install GNU coreutils to get an 'rm' implementation 12568that behaves properly: <http://www.gnu.org/software/coreutils/>. 12569 12570If you want to complete the configuration process using your problematic 12571'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 12572to "yes", and re-run configure. 12573 12574END 12575 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 12576 fi 12577fi 12578 12579# Check whether --enable-silent-rules was given. 12580if test "${enable_silent_rules+set}" = set; then : 12581 enableval=$enable_silent_rules; 12582fi 12583 12584case $enable_silent_rules in 12585yes) AM_DEFAULT_VERBOSITY=0;; 12586no) AM_DEFAULT_VERBOSITY=1;; 12587*) AM_DEFAULT_VERBOSITY=0;; 12588esac 12589AM_BACKSLASH='\' 12590 12591RFM_VERINFO=1:0:0 12592 12593 12594 12595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 12596$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 12597 # Check whether --enable-maintainer-mode was given. 12598if test "${enable_maintainer_mode+set}" = set; then : 12599 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 12600else 12601 USE_MAINTAINER_MODE=no 12602fi 12603 12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 12605$as_echo "$USE_MAINTAINER_MODE" >&6; } 12606 if test $USE_MAINTAINER_MODE = yes; then 12607 MAINTAINER_MODE_TRUE= 12608 MAINTAINER_MODE_FALSE='#' 12609else 12610 MAINTAINER_MODE_TRUE='#' 12611 MAINTAINER_MODE_FALSE= 12612fi 12613 12614 MAINT=$MAINTAINER_MODE_TRUE 12615 12616 12617ac_config_headers="$ac_config_headers config.h" 12618 12619 12620 12621 12622#RFM_ENABLE_PLUGIN([EXPERIMENTAL], [experimental], [Experimental], [plugins], [no]) 12623 12624 12625# Check whether --with-mpt was given. 12626if test "${with_mpt+set}" = set; then : 12627 withval=$with_mpt; 12628fi 12629 12630if test "$with_mpt" != "" 12631then 12632 WITH_MPT=$with_mpt 12633 12634cat >>confdefs.h <<_ACEOF 12635#define MAX_PREVIEW_THREADS $with_mpt 12636_ACEOF 12637 12638 { $as_echo "$as_me:${as_lineno-$LINENO}: Maximum preview threads set to $with_mpt" >&5 12639$as_echo "$as_me: Maximum preview threads set to $with_mpt" >&6;} 12640else 12641 WITH_MPT=4 12642 12643cat >>confdefs.h <<_ACEOF 12644#define MAX_PREVIEW_THREADS 4 12645_ACEOF 12646 12647 { $as_echo "$as_me:${as_lineno-$LINENO}: Maximum preview threads set to 4" >&5 12648$as_echo "$as_me: Maximum preview threads set to 4" >&6;} 12649fi 12650 12651 12652SUMMARY="Mount point plugin" 12653DESCRIPTION="Mount point plugin" 12654RPM_DESCRIPTION="Mount point plugin" 12655HOMEPAGE="http://xffm.org" 12656 12657cat >>confdefs.h <<_ACEOF 12658#define HOMEPAGE "http://xffm.org" 12659_ACEOF 12660 12661 12662SRC_URI=http://sourceforge.net/projects/xffm/files/5.3.16.3/rodent-fstab-5.3.16.3.tar.gz 12663 12664LICENSE=" GNU General Public License version 3 " 12665 12666 12667cat >>confdefs.h <<_ACEOF 12668#define LICENSE " GNU General Public License version 3 " 12669_ACEOF 12670 12671 12672BUGMAIL="https://sourceforge.net/p/xffm/bugs/" 12673 12674 12675cat >>confdefs.h <<_ACEOF 12676#define BUGMAIL "https://sourceforge.net/p/xffm/bugs/" 12677_ACEOF 12678 12679MASTER_SITE=http://sourceforge.net/projects/xffm/files 12680 12681 12682DBH_FILE_VERSION="DBH_2.0/64bit" 12683 12684 12685DBH_VERSION=5.3.16.3 12686 12687 12688{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 12689$as_echo_n "checking for library containing strerror... " >&6; } 12690if ${ac_cv_search_strerror+:} false; then : 12691 $as_echo_n "(cached) " >&6 12692else 12693 ac_func_search_save_LIBS=$LIBS 12694cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12695/* end confdefs.h. */ 12696 12697/* Override any GCC internal prototype to avoid an error. 12698 Use char because int might match the return type of a GCC 12699 builtin and then its argument prototype would still apply. */ 12700#ifdef __cplusplus 12701extern "C" 12702#endif 12703char strerror (); 12704int 12705main () 12706{ 12707return strerror (); 12708 ; 12709 return 0; 12710} 12711_ACEOF 12712for ac_lib in '' cposix; do 12713 if test -z "$ac_lib"; then 12714 ac_res="none required" 12715 else 12716 ac_res=-l$ac_lib 12717 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 12718 fi 12719 if ac_fn_c_try_link "$LINENO"; then : 12720 ac_cv_search_strerror=$ac_res 12721fi 12722rm -f core conftest.err conftest.$ac_objext \ 12723 conftest$ac_exeext 12724 if ${ac_cv_search_strerror+:} false; then : 12725 break 12726fi 12727done 12728if ${ac_cv_search_strerror+:} false; then : 12729 12730else 12731 ac_cv_search_strerror=no 12732fi 12733rm conftest.$ac_ext 12734LIBS=$ac_func_search_save_LIBS 12735fi 12736{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5 12737$as_echo "$ac_cv_search_strerror" >&6; } 12738ac_res=$ac_cv_search_strerror 12739if test "$ac_res" != no; then : 12740 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 12741 12742fi 12743 12744 12745ac_ext=c 12746ac_cpp='$CPP $CPPFLAGS' 12747ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12748ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12749ac_compiler_gnu=$ac_cv_c_compiler_gnu 12750if test -n "$ac_tool_prefix"; then 12751 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 12752set dummy ${ac_tool_prefix}gcc; ac_word=$2 12753{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12754$as_echo_n "checking for $ac_word... " >&6; } 12755if ${ac_cv_prog_CC+:} false; then : 12756 $as_echo_n "(cached) " >&6 12757else 12758 if test -n "$CC"; then 12759 ac_cv_prog_CC="$CC" # Let the user override the test. 12760else 12761as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12762for as_dir in $PATH 12763do 12764 IFS=$as_save_IFS 12765 test -z "$as_dir" && as_dir=. 12766 for ac_exec_ext in '' $ac_executable_extensions; do 12767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12768 ac_cv_prog_CC="${ac_tool_prefix}gcc" 12769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12770 break 2 12771 fi 12772done 12773 done 12774IFS=$as_save_IFS 12775 12776fi 12777fi 12778CC=$ac_cv_prog_CC 12779if test -n "$CC"; then 12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 12781$as_echo "$CC" >&6; } 12782else 12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12784$as_echo "no" >&6; } 12785fi 12786 12787 12788fi 12789if test -z "$ac_cv_prog_CC"; then 12790 ac_ct_CC=$CC 12791 # Extract the first word of "gcc", so it can be a program name with args. 12792set dummy gcc; ac_word=$2 12793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12794$as_echo_n "checking for $ac_word... " >&6; } 12795if ${ac_cv_prog_ac_ct_CC+:} false; then : 12796 $as_echo_n "(cached) " >&6 12797else 12798 if test -n "$ac_ct_CC"; then 12799 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 12800else 12801as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12802for as_dir in $PATH 12803do 12804 IFS=$as_save_IFS 12805 test -z "$as_dir" && as_dir=. 12806 for ac_exec_ext in '' $ac_executable_extensions; do 12807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12808 ac_cv_prog_ac_ct_CC="gcc" 12809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12810 break 2 12811 fi 12812done 12813 done 12814IFS=$as_save_IFS 12815 12816fi 12817fi 12818ac_ct_CC=$ac_cv_prog_ac_ct_CC 12819if test -n "$ac_ct_CC"; then 12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 12821$as_echo "$ac_ct_CC" >&6; } 12822else 12823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12824$as_echo "no" >&6; } 12825fi 12826 12827 if test "x$ac_ct_CC" = x; then 12828 CC="" 12829 else 12830 case $cross_compiling:$ac_tool_warned in 12831yes:) 12832{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12833$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12834ac_tool_warned=yes ;; 12835esac 12836 CC=$ac_ct_CC 12837 fi 12838else 12839 CC="$ac_cv_prog_CC" 12840fi 12841 12842if test -z "$CC"; then 12843 if test -n "$ac_tool_prefix"; then 12844 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 12845set dummy ${ac_tool_prefix}cc; ac_word=$2 12846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12847$as_echo_n "checking for $ac_word... " >&6; } 12848if ${ac_cv_prog_CC+:} false; then : 12849 $as_echo_n "(cached) " >&6 12850else 12851 if test -n "$CC"; then 12852 ac_cv_prog_CC="$CC" # Let the user override the test. 12853else 12854as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12855for as_dir in $PATH 12856do 12857 IFS=$as_save_IFS 12858 test -z "$as_dir" && as_dir=. 12859 for ac_exec_ext in '' $ac_executable_extensions; do 12860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12861 ac_cv_prog_CC="${ac_tool_prefix}cc" 12862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12863 break 2 12864 fi 12865done 12866 done 12867IFS=$as_save_IFS 12868 12869fi 12870fi 12871CC=$ac_cv_prog_CC 12872if test -n "$CC"; then 12873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 12874$as_echo "$CC" >&6; } 12875else 12876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12877$as_echo "no" >&6; } 12878fi 12879 12880 12881 fi 12882fi 12883if test -z "$CC"; then 12884 # Extract the first word of "cc", so it can be a program name with args. 12885set dummy cc; ac_word=$2 12886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12887$as_echo_n "checking for $ac_word... " >&6; } 12888if ${ac_cv_prog_CC+:} false; then : 12889 $as_echo_n "(cached) " >&6 12890else 12891 if test -n "$CC"; then 12892 ac_cv_prog_CC="$CC" # Let the user override the test. 12893else 12894 ac_prog_rejected=no 12895as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12896for as_dir in $PATH 12897do 12898 IFS=$as_save_IFS 12899 test -z "$as_dir" && as_dir=. 12900 for ac_exec_ext in '' $ac_executable_extensions; do 12901 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12902 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 12903 ac_prog_rejected=yes 12904 continue 12905 fi 12906 ac_cv_prog_CC="cc" 12907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12908 break 2 12909 fi 12910done 12911 done 12912IFS=$as_save_IFS 12913 12914if test $ac_prog_rejected = yes; then 12915 # We found a bogon in the path, so make sure we never use it. 12916 set dummy $ac_cv_prog_CC 12917 shift 12918 if test $# != 0; then 12919 # We chose a different compiler from the bogus one. 12920 # However, it has the same basename, so the bogon will be chosen 12921 # first if we set CC to just the basename; use the full file name. 12922 shift 12923 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 12924 fi 12925fi 12926fi 12927fi 12928CC=$ac_cv_prog_CC 12929if test -n "$CC"; then 12930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 12931$as_echo "$CC" >&6; } 12932else 12933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12934$as_echo "no" >&6; } 12935fi 12936 12937 12938fi 12939if test -z "$CC"; then 12940 if test -n "$ac_tool_prefix"; then 12941 for ac_prog in cl.exe 12942 do 12943 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 12944set dummy $ac_tool_prefix$ac_prog; ac_word=$2 12945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12946$as_echo_n "checking for $ac_word... " >&6; } 12947if ${ac_cv_prog_CC+:} false; then : 12948 $as_echo_n "(cached) " >&6 12949else 12950 if test -n "$CC"; then 12951 ac_cv_prog_CC="$CC" # Let the user override the test. 12952else 12953as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12954for as_dir in $PATH 12955do 12956 IFS=$as_save_IFS 12957 test -z "$as_dir" && as_dir=. 12958 for ac_exec_ext in '' $ac_executable_extensions; do 12959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12960 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 12961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12962 break 2 12963 fi 12964done 12965 done 12966IFS=$as_save_IFS 12967 12968fi 12969fi 12970CC=$ac_cv_prog_CC 12971if test -n "$CC"; then 12972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 12973$as_echo "$CC" >&6; } 12974else 12975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12976$as_echo "no" >&6; } 12977fi 12978 12979 12980 test -n "$CC" && break 12981 done 12982fi 12983if test -z "$CC"; then 12984 ac_ct_CC=$CC 12985 for ac_prog in cl.exe 12986do 12987 # Extract the first word of "$ac_prog", so it can be a program name with args. 12988set dummy $ac_prog; ac_word=$2 12989{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12990$as_echo_n "checking for $ac_word... " >&6; } 12991if ${ac_cv_prog_ac_ct_CC+:} false; then : 12992 $as_echo_n "(cached) " >&6 12993else 12994 if test -n "$ac_ct_CC"; then 12995 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 12996else 12997as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12998for as_dir in $PATH 12999do 13000 IFS=$as_save_IFS 13001 test -z "$as_dir" && as_dir=. 13002 for ac_exec_ext in '' $ac_executable_extensions; do 13003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13004 ac_cv_prog_ac_ct_CC="$ac_prog" 13005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13006 break 2 13007 fi 13008done 13009 done 13010IFS=$as_save_IFS 13011 13012fi 13013fi 13014ac_ct_CC=$ac_cv_prog_ac_ct_CC 13015if test -n "$ac_ct_CC"; then 13016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 13017$as_echo "$ac_ct_CC" >&6; } 13018else 13019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13020$as_echo "no" >&6; } 13021fi 13022 13023 13024 test -n "$ac_ct_CC" && break 13025done 13026 13027 if test "x$ac_ct_CC" = x; then 13028 CC="" 13029 else 13030 case $cross_compiling:$ac_tool_warned in 13031yes:) 13032{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 13033$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 13034ac_tool_warned=yes ;; 13035esac 13036 CC=$ac_ct_CC 13037 fi 13038fi 13039 13040fi 13041 13042 13043test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13044$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13045as_fn_error $? "no acceptable C compiler found in \$PATH 13046See \`config.log' for more details" "$LINENO" 5; } 13047 13048# Provide some information about the compiler. 13049$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 13050set X $ac_compile 13051ac_compiler=$2 13052for ac_option in --version -v -V -qversion; do 13053 { { ac_try="$ac_compiler $ac_option >&5" 13054case "(($ac_try" in 13055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13056 *) ac_try_echo=$ac_try;; 13057esac 13058eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 13059$as_echo "$ac_try_echo"; } >&5 13060 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 13061 ac_status=$? 13062 if test -s conftest.err; then 13063 sed '10a\ 13064... rest of stderr output deleted ... 13065 10q' conftest.err >conftest.er1 13066 cat conftest.er1 >&5 13067 fi 13068 rm -f conftest.er1 conftest.err 13069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13070 test $ac_status = 0; } 13071done 13072 13073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 13074$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 13075if ${ac_cv_c_compiler_gnu+:} false; then : 13076 $as_echo_n "(cached) " >&6 13077else 13078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13079/* end confdefs.h. */ 13080 13081int 13082main () 13083{ 13084#ifndef __GNUC__ 13085 choke me 13086#endif 13087 13088 ; 13089 return 0; 13090} 13091_ACEOF 13092if ac_fn_c_try_compile "$LINENO"; then : 13093 ac_compiler_gnu=yes 13094else 13095 ac_compiler_gnu=no 13096fi 13097rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13098ac_cv_c_compiler_gnu=$ac_compiler_gnu 13099 13100fi 13101{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 13102$as_echo "$ac_cv_c_compiler_gnu" >&6; } 13103if test $ac_compiler_gnu = yes; then 13104 GCC=yes 13105else 13106 GCC= 13107fi 13108ac_test_CFLAGS=${CFLAGS+set} 13109ac_save_CFLAGS=$CFLAGS 13110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 13111$as_echo_n "checking whether $CC accepts -g... " >&6; } 13112if ${ac_cv_prog_cc_g+:} false; then : 13113 $as_echo_n "(cached) " >&6 13114else 13115 ac_save_c_werror_flag=$ac_c_werror_flag 13116 ac_c_werror_flag=yes 13117 ac_cv_prog_cc_g=no 13118 CFLAGS="-g" 13119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13120/* end confdefs.h. */ 13121 13122int 13123main () 13124{ 13125 13126 ; 13127 return 0; 13128} 13129_ACEOF 13130if ac_fn_c_try_compile "$LINENO"; then : 13131 ac_cv_prog_cc_g=yes 13132else 13133 CFLAGS="" 13134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13135/* end confdefs.h. */ 13136 13137int 13138main () 13139{ 13140 13141 ; 13142 return 0; 13143} 13144_ACEOF 13145if ac_fn_c_try_compile "$LINENO"; then : 13146 13147else 13148 ac_c_werror_flag=$ac_save_c_werror_flag 13149 CFLAGS="-g" 13150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13151/* end confdefs.h. */ 13152 13153int 13154main () 13155{ 13156 13157 ; 13158 return 0; 13159} 13160_ACEOF 13161if ac_fn_c_try_compile "$LINENO"; then : 13162 ac_cv_prog_cc_g=yes 13163fi 13164rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13165fi 13166rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13167fi 13168rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13169 ac_c_werror_flag=$ac_save_c_werror_flag 13170fi 13171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 13172$as_echo "$ac_cv_prog_cc_g" >&6; } 13173if test "$ac_test_CFLAGS" = set; then 13174 CFLAGS=$ac_save_CFLAGS 13175elif test $ac_cv_prog_cc_g = yes; then 13176 if test "$GCC" = yes; then 13177 CFLAGS="-g -O2" 13178 else 13179 CFLAGS="-g" 13180 fi 13181else 13182 if test "$GCC" = yes; then 13183 CFLAGS="-O2" 13184 else 13185 CFLAGS= 13186 fi 13187fi 13188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 13189$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 13190if ${ac_cv_prog_cc_c89+:} false; then : 13191 $as_echo_n "(cached) " >&6 13192else 13193 ac_cv_prog_cc_c89=no 13194ac_save_CC=$CC 13195cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13196/* end confdefs.h. */ 13197#include <stdarg.h> 13198#include <stdio.h> 13199struct stat; 13200/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 13201struct buf { int x; }; 13202FILE * (*rcsopen) (struct buf *, struct stat *, int); 13203static char *e (p, i) 13204 char **p; 13205 int i; 13206{ 13207 return p[i]; 13208} 13209static char *f (char * (*g) (char **, int), char **p, ...) 13210{ 13211 char *s; 13212 va_list v; 13213 va_start (v,p); 13214 s = g (p, va_arg (v,int)); 13215 va_end (v); 13216 return s; 13217} 13218 13219/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 13220 function prototypes and stuff, but not '\xHH' hex character constants. 13221 These don't provoke an error unfortunately, instead are silently treated 13222 as 'x'. The following induces an error, until -std is added to get 13223 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 13224 array size at least. It's necessary to write '\x00'==0 to get something 13225 that's true only with -std. */ 13226int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 13227 13228/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 13229 inside strings and character constants. */ 13230#define FOO(x) 'x' 13231int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 13232 13233int test (int i, double x); 13234struct s1 {int (*f) (int a);}; 13235struct s2 {int (*f) (double a);}; 13236int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 13237int argc; 13238char **argv; 13239int 13240main () 13241{ 13242return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 13243 ; 13244 return 0; 13245} 13246_ACEOF 13247for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 13248 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 13249do 13250 CC="$ac_save_CC $ac_arg" 13251 if ac_fn_c_try_compile "$LINENO"; then : 13252 ac_cv_prog_cc_c89=$ac_arg 13253fi 13254rm -f core conftest.err conftest.$ac_objext 13255 test "x$ac_cv_prog_cc_c89" != "xno" && break 13256done 13257rm -f conftest.$ac_ext 13258CC=$ac_save_CC 13259 13260fi 13261# AC_CACHE_VAL 13262case "x$ac_cv_prog_cc_c89" in 13263 x) 13264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 13265$as_echo "none needed" >&6; } ;; 13266 xno) 13267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 13268$as_echo "unsupported" >&6; } ;; 13269 *) 13270 CC="$CC $ac_cv_prog_cc_c89" 13271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 13272$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 13273esac 13274if test "x$ac_cv_prog_cc_c89" != xno; then : 13275 13276fi 13277 13278ac_ext=c 13279ac_cpp='$CPP $CPPFLAGS' 13280ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13281ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13282ac_compiler_gnu=$ac_cv_c_compiler_gnu 13283 13284ac_ext=c 13285ac_cpp='$CPP $CPPFLAGS' 13286ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13287ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13288ac_compiler_gnu=$ac_cv_c_compiler_gnu 13289{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 13290$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 13291if ${am_cv_prog_cc_c_o+:} false; then : 13292 $as_echo_n "(cached) " >&6 13293else 13294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13295/* end confdefs.h. */ 13296 13297int 13298main () 13299{ 13300 13301 ; 13302 return 0; 13303} 13304_ACEOF 13305 # Make sure it works both with $CC and with simple cc. 13306 # Following AC_PROG_CC_C_O, we do the test twice because some 13307 # compilers refuse to overwrite an existing .o file with -o, 13308 # though they will create one. 13309 am_cv_prog_cc_c_o=yes 13310 for am_i in 1 2; do 13311 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 13312 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 13313 ac_status=$? 13314 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13315 (exit $ac_status); } \ 13316 && test -f conftest2.$ac_objext; then 13317 : OK 13318 else 13319 am_cv_prog_cc_c_o=no 13320 break 13321 fi 13322 done 13323 rm -f core conftest* 13324 unset am_i 13325fi 13326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 13327$as_echo "$am_cv_prog_cc_c_o" >&6; } 13328if test "$am_cv_prog_cc_c_o" != yes; then 13329 # Losing compiler, so override with the script. 13330 # FIXME: It is wrong to rewrite CC. 13331 # But if we don't then we get into trouble of one sort or another. 13332 # A longer-term fix would be to have automake use am__CC in this case, 13333 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 13334 CC="$am_aux_dir/compile $CC" 13335fi 13336ac_ext=c 13337ac_cpp='$CPP $CPPFLAGS' 13338ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13339ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13340ac_compiler_gnu=$ac_cv_c_compiler_gnu 13341 13342 13343 13344 13345 13346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 13347$as_echo_n "checking whether NLS is requested... " >&6; } 13348 # Check whether --enable-nls was given. 13349if test "${enable_nls+set}" = set; then : 13350 enableval=$enable_nls; USE_NLS=$enableval 13351else 13352 USE_NLS=yes 13353fi 13354 13355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 13356$as_echo "$USE_NLS" >&6; } 13357 13358 13359 13360 13361case "$am__api_version" in 13362 1.01234) 13363 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 13364 ;; 13365 *) 13366 ;; 13367esac 13368 13369INTLTOOL_REQUIRED_VERSION_AS_INT=`echo | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 13370INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` 13371INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 13372if test -n ""; then 13373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= " >&5 13374$as_echo_n "checking for intltool >= ... " >&6; } 13375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 13376$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } 13377 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || 13378 as_fn_error $? "Your intltool is too old. You need intltool or later." "$LINENO" 5 13379fi 13380 13381# Extract the first word of "intltool-update", so it can be a program name with args. 13382set dummy intltool-update; ac_word=$2 13383{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13384$as_echo_n "checking for $ac_word... " >&6; } 13385if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then : 13386 $as_echo_n "(cached) " >&6 13387else 13388 case $INTLTOOL_UPDATE in 13389 [\\/]* | ?:[\\/]*) 13390 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. 13391 ;; 13392 *) 13393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13394for as_dir in $PATH 13395do 13396 IFS=$as_save_IFS 13397 test -z "$as_dir" && as_dir=. 13398 for ac_exec_ext in '' $ac_executable_extensions; do 13399 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13400 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" 13401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13402 break 2 13403 fi 13404done 13405 done 13406IFS=$as_save_IFS 13407 13408 ;; 13409esac 13410fi 13411INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE 13412if test -n "$INTLTOOL_UPDATE"; then 13413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 13414$as_echo "$INTLTOOL_UPDATE" >&6; } 13415else 13416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13417$as_echo "no" >&6; } 13418fi 13419 13420 13421# Extract the first word of "intltool-merge", so it can be a program name with args. 13422set dummy intltool-merge; ac_word=$2 13423{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13424$as_echo_n "checking for $ac_word... " >&6; } 13425if ${ac_cv_path_INTLTOOL_MERGE+:} false; then : 13426 $as_echo_n "(cached) " >&6 13427else 13428 case $INTLTOOL_MERGE in 13429 [\\/]* | ?:[\\/]*) 13430 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. 13431 ;; 13432 *) 13433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13434for as_dir in $PATH 13435do 13436 IFS=$as_save_IFS 13437 test -z "$as_dir" && as_dir=. 13438 for ac_exec_ext in '' $ac_executable_extensions; do 13439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13440 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" 13441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13442 break 2 13443 fi 13444done 13445 done 13446IFS=$as_save_IFS 13447 13448 ;; 13449esac 13450fi 13451INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE 13452if test -n "$INTLTOOL_MERGE"; then 13453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 13454$as_echo "$INTLTOOL_MERGE" >&6; } 13455else 13456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13457$as_echo "no" >&6; } 13458fi 13459 13460 13461# Extract the first word of "intltool-extract", so it can be a program name with args. 13462set dummy intltool-extract; ac_word=$2 13463{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13464$as_echo_n "checking for $ac_word... " >&6; } 13465if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then : 13466 $as_echo_n "(cached) " >&6 13467else 13468 case $INTLTOOL_EXTRACT in 13469 [\\/]* | ?:[\\/]*) 13470 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. 13471 ;; 13472 *) 13473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13474for as_dir in $PATH 13475do 13476 IFS=$as_save_IFS 13477 test -z "$as_dir" && as_dir=. 13478 for ac_exec_ext in '' $ac_executable_extensions; do 13479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13480 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" 13481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13482 break 2 13483 fi 13484done 13485 done 13486IFS=$as_save_IFS 13487 13488 ;; 13489esac 13490fi 13491INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT 13492if test -n "$INTLTOOL_EXTRACT"; then 13493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 13494$as_echo "$INTLTOOL_EXTRACT" >&6; } 13495else 13496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13497$as_echo "no" >&6; } 13498fi 13499 13500 13501if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then 13502 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 13503fi 13504 13505if test -z "$AM_DEFAULT_VERBOSITY"; then 13506 AM_DEFAULT_VERBOSITY=1 13507fi 13508 13509 13510INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' 13511INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' 13512INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;' 13513 13514 13515 13516 13517INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' 13518intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' 13519intltool__v_merge_options_0='-q' 13520 13521 13522 13523 13524 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13525INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13526 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13527 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13528 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@' 13529 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13530 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13531 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13532INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13533 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13534 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13535if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then 13536 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@' 13537else 13538 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir' 13539fi 13540 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13541 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13542 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13543 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13544 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13545 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13546 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 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 13587 13588 13589 13590 13591 13592 13593 13594 13595 13596 13597 13598 13599 13600 13601 13602 13603 13604 13605 13606 13607 13608 13609 13610 13611 13612 13613 13614 13615 13616 13617 13618 13619 13620 13621 13622 13623 13624 13625 13626 13627 13628 13629 13630 13631 13632 13633 13634 13635 13636 13637 13638 13639 13640 13641 13642 13643 13644# Check the gettext tools to make sure they are GNU 13645# Extract the first word of "xgettext", so it can be a program name with args. 13646set dummy xgettext; ac_word=$2 13647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13648$as_echo_n "checking for $ac_word... " >&6; } 13649if ${ac_cv_path_XGETTEXT+:} false; then : 13650 $as_echo_n "(cached) " >&6 13651else 13652 case $XGETTEXT in 13653 [\\/]* | ?:[\\/]*) 13654 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 13655 ;; 13656 *) 13657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13658for as_dir in $PATH 13659do 13660 IFS=$as_save_IFS 13661 test -z "$as_dir" && as_dir=. 13662 for ac_exec_ext in '' $ac_executable_extensions; do 13663 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13664 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" 13665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13666 break 2 13667 fi 13668done 13669 done 13670IFS=$as_save_IFS 13671 13672 ;; 13673esac 13674fi 13675XGETTEXT=$ac_cv_path_XGETTEXT 13676if test -n "$XGETTEXT"; then 13677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 13678$as_echo "$XGETTEXT" >&6; } 13679else 13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13681$as_echo "no" >&6; } 13682fi 13683 13684 13685# Extract the first word of "msgmerge", so it can be a program name with args. 13686set dummy msgmerge; ac_word=$2 13687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13688$as_echo_n "checking for $ac_word... " >&6; } 13689if ${ac_cv_path_MSGMERGE+:} false; then : 13690 $as_echo_n "(cached) " >&6 13691else 13692 case $MSGMERGE in 13693 [\\/]* | ?:[\\/]*) 13694 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 13695 ;; 13696 *) 13697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13698for as_dir in $PATH 13699do 13700 IFS=$as_save_IFS 13701 test -z "$as_dir" && as_dir=. 13702 for ac_exec_ext in '' $ac_executable_extensions; do 13703 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13704 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" 13705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13706 break 2 13707 fi 13708done 13709 done 13710IFS=$as_save_IFS 13711 13712 ;; 13713esac 13714fi 13715MSGMERGE=$ac_cv_path_MSGMERGE 13716if test -n "$MSGMERGE"; then 13717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 13718$as_echo "$MSGMERGE" >&6; } 13719else 13720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13721$as_echo "no" >&6; } 13722fi 13723 13724 13725# Extract the first word of "msgfmt", so it can be a program name with args. 13726set dummy msgfmt; ac_word=$2 13727{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13728$as_echo_n "checking for $ac_word... " >&6; } 13729if ${ac_cv_path_MSGFMT+:} false; then : 13730 $as_echo_n "(cached) " >&6 13731else 13732 case $MSGFMT in 13733 [\\/]* | ?:[\\/]*) 13734 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 13735 ;; 13736 *) 13737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13738for as_dir in $PATH 13739do 13740 IFS=$as_save_IFS 13741 test -z "$as_dir" && as_dir=. 13742 for ac_exec_ext in '' $ac_executable_extensions; do 13743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13744 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" 13745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13746 break 2 13747 fi 13748done 13749 done 13750IFS=$as_save_IFS 13751 13752 ;; 13753esac 13754fi 13755MSGFMT=$ac_cv_path_MSGFMT 13756if test -n "$MSGFMT"; then 13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 13758$as_echo "$MSGFMT" >&6; } 13759else 13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13761$as_echo "no" >&6; } 13762fi 13763 13764 13765# Extract the first word of "gmsgfmt", so it can be a program name with args. 13766set dummy gmsgfmt; ac_word=$2 13767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13768$as_echo_n "checking for $ac_word... " >&6; } 13769if ${ac_cv_path_GMSGFMT+:} false; then : 13770 $as_echo_n "(cached) " >&6 13771else 13772 case $GMSGFMT in 13773 [\\/]* | ?:[\\/]*) 13774 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 13775 ;; 13776 *) 13777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13778for as_dir in $PATH 13779do 13780 IFS=$as_save_IFS 13781 test -z "$as_dir" && as_dir=. 13782 for ac_exec_ext in '' $ac_executable_extensions; do 13783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13784 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 13785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13786 break 2 13787 fi 13788done 13789 done 13790IFS=$as_save_IFS 13791 13792 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 13793 ;; 13794esac 13795fi 13796GMSGFMT=$ac_cv_path_GMSGFMT 13797if test -n "$GMSGFMT"; then 13798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 13799$as_echo "$GMSGFMT" >&6; } 13800else 13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13802$as_echo "no" >&6; } 13803fi 13804 13805 13806if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then 13807 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 13808fi 13809xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" 13810mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" 13811mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" 13812if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then 13813 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 13814fi 13815 13816# Extract the first word of "perl", so it can be a program name with args. 13817set dummy perl; ac_word=$2 13818{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13819$as_echo_n "checking for $ac_word... " >&6; } 13820if ${ac_cv_path_INTLTOOL_PERL+:} false; then : 13821 $as_echo_n "(cached) " >&6 13822else 13823 case $INTLTOOL_PERL in 13824 [\\/]* | ?:[\\/]*) 13825 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. 13826 ;; 13827 *) 13828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13829for as_dir in $PATH 13830do 13831 IFS=$as_save_IFS 13832 test -z "$as_dir" && as_dir=. 13833 for ac_exec_ext in '' $ac_executable_extensions; do 13834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13835 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" 13836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13837 break 2 13838 fi 13839done 13840 done 13841IFS=$as_save_IFS 13842 13843 ;; 13844esac 13845fi 13846INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL 13847if test -n "$INTLTOOL_PERL"; then 13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 13849$as_echo "$INTLTOOL_PERL" >&6; } 13850else 13851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13852$as_echo "no" >&6; } 13853fi 13854 13855 13856if test -z "$INTLTOOL_PERL"; then 13857 as_fn_error $? "perl not found" "$LINENO" 5 13858fi 13859{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 13860$as_echo_n "checking for perl >= 5.8.1... " >&6; } 13861$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 13862if test $? -ne 0; then 13863 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 13864else 13865 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` 13866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 13867$as_echo "$IT_PERL_VERSION" >&6; } 13868fi 13869if test "x" != "xno-xml"; then 13870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 13871$as_echo_n "checking for XML::Parser... " >&6; } 13872 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then 13873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 13874$as_echo "ok" >&6; } 13875 else 13876 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 13877 fi 13878fi 13879 13880# Substitute ALL_LINGUAS so we can use it in po/Makefile 13881 13882 13883# Set DATADIRNAME correctly if it is not set yet 13884# (copied from glib-gettext.m4) 13885if test -z "$DATADIRNAME"; then 13886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13887/* end confdefs.h. */ 13888 13889int 13890main () 13891{ 13892extern int _nl_msg_cat_cntr; 13893 return _nl_msg_cat_cntr 13894 ; 13895 return 0; 13896} 13897_ACEOF 13898if ac_fn_c_try_link "$LINENO"; then : 13899 DATADIRNAME=share 13900else 13901 case $host in 13902 *-*-solaris*) 13903 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 13904if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 13905 DATADIRNAME=share 13906else 13907 DATADIRNAME=lib 13908fi 13909 13910 ;; 13911 *) 13912 DATADIRNAME=lib 13913 ;; 13914 esac 13915fi 13916rm -f core conftest.err conftest.$ac_objext \ 13917 conftest$ac_exeext conftest.$ac_ext 13918fi 13919 13920 13921 13922 13923 13924{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 13925$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 13926set x ${MAKE-make} 13927ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 13928if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 13929 $as_echo_n "(cached) " >&6 13930else 13931 cat >conftest.make <<\_ACEOF 13932SHELL = /bin/sh 13933all: 13934 @echo '@@@%%%=$(MAKE)=@@@%%%' 13935_ACEOF 13936# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 13937case `${MAKE-make} -f conftest.make 2>/dev/null` in 13938 *@@@%%%=?*=@@@%%%*) 13939 eval ac_cv_prog_make_${ac_make}_set=yes;; 13940 *) 13941 eval ac_cv_prog_make_${ac_make}_set=no;; 13942esac 13943rm -f conftest.make 13944fi 13945if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 13946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13947$as_echo "yes" >&6; } 13948 SET_MAKE= 13949else 13950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13951$as_echo "no" >&6; } 13952 SET_MAKE="MAKE=${MAKE-make}" 13953fi 13954 13955 13956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 13957$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 13958if ${ac_cv_c_bigendian+:} false; then : 13959 $as_echo_n "(cached) " >&6 13960else 13961 ac_cv_c_bigendian=unknown 13962 # See if we're dealing with a universal compiler. 13963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13964/* end confdefs.h. */ 13965#ifndef __APPLE_CC__ 13966 not a universal capable compiler 13967 #endif 13968 typedef int dummy; 13969 13970_ACEOF 13971if ac_fn_c_try_compile "$LINENO"; then : 13972 13973 # Check for potential -arch flags. It is not universal unless 13974 # there are at least two -arch flags with different values. 13975 ac_arch= 13976 ac_prev= 13977 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 13978 if test -n "$ac_prev"; then 13979 case $ac_word in 13980 i?86 | x86_64 | ppc | ppc64) 13981 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 13982 ac_arch=$ac_word 13983 else 13984 ac_cv_c_bigendian=universal 13985 break 13986 fi 13987 ;; 13988 esac 13989 ac_prev= 13990 elif test "x$ac_word" = "x-arch"; then 13991 ac_prev=arch 13992 fi 13993 done 13994fi 13995rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13996 if test $ac_cv_c_bigendian = unknown; then 13997 # See if sys/param.h defines the BYTE_ORDER macro. 13998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13999/* end confdefs.h. */ 14000#include <sys/types.h> 14001 #include <sys/param.h> 14002 14003int 14004main () 14005{ 14006#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 14007 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 14008 && LITTLE_ENDIAN) 14009 bogus endian macros 14010 #endif 14011 14012 ; 14013 return 0; 14014} 14015_ACEOF 14016if ac_fn_c_try_compile "$LINENO"; then : 14017 # It does; now see whether it defined to BIG_ENDIAN or not. 14018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14019/* end confdefs.h. */ 14020#include <sys/types.h> 14021 #include <sys/param.h> 14022 14023int 14024main () 14025{ 14026#if BYTE_ORDER != BIG_ENDIAN 14027 not big endian 14028 #endif 14029 14030 ; 14031 return 0; 14032} 14033_ACEOF 14034if ac_fn_c_try_compile "$LINENO"; then : 14035 ac_cv_c_bigendian=yes 14036else 14037 ac_cv_c_bigendian=no 14038fi 14039rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14040fi 14041rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14042 fi 14043 if test $ac_cv_c_bigendian = unknown; then 14044 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 14045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14046/* end confdefs.h. */ 14047#include <limits.h> 14048 14049int 14050main () 14051{ 14052#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 14053 bogus endian macros 14054 #endif 14055 14056 ; 14057 return 0; 14058} 14059_ACEOF 14060if ac_fn_c_try_compile "$LINENO"; then : 14061 # It does; now see whether it defined to _BIG_ENDIAN or not. 14062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14063/* end confdefs.h. */ 14064#include <limits.h> 14065 14066int 14067main () 14068{ 14069#ifndef _BIG_ENDIAN 14070 not big endian 14071 #endif 14072 14073 ; 14074 return 0; 14075} 14076_ACEOF 14077if ac_fn_c_try_compile "$LINENO"; then : 14078 ac_cv_c_bigendian=yes 14079else 14080 ac_cv_c_bigendian=no 14081fi 14082rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14083fi 14084rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14085 fi 14086 if test $ac_cv_c_bigendian = unknown; then 14087 # Compile a test program. 14088 if test "$cross_compiling" = yes; then : 14089 # Try to guess by grepping values from an object file. 14090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14091/* end confdefs.h. */ 14092short int ascii_mm[] = 14093 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 14094 short int ascii_ii[] = 14095 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 14096 int use_ascii (int i) { 14097 return ascii_mm[i] + ascii_ii[i]; 14098 } 14099 short int ebcdic_ii[] = 14100 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 14101 short int ebcdic_mm[] = 14102 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 14103 int use_ebcdic (int i) { 14104 return ebcdic_mm[i] + ebcdic_ii[i]; 14105 } 14106 extern int foo; 14107 14108int 14109main () 14110{ 14111return use_ascii (foo) == use_ebcdic (foo); 14112 ; 14113 return 0; 14114} 14115_ACEOF 14116if ac_fn_c_try_compile "$LINENO"; then : 14117 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 14118 ac_cv_c_bigendian=yes 14119 fi 14120 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 14121 if test "$ac_cv_c_bigendian" = unknown; then 14122 ac_cv_c_bigendian=no 14123 else 14124 # finding both strings is unlikely to happen, but who knows? 14125 ac_cv_c_bigendian=unknown 14126 fi 14127 fi 14128fi 14129rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14130else 14131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14132/* end confdefs.h. */ 14133$ac_includes_default 14134int 14135main () 14136{ 14137 14138 /* Are we little or big endian? From Harbison&Steele. */ 14139 union 14140 { 14141 long int l; 14142 char c[sizeof (long int)]; 14143 } u; 14144 u.l = 1; 14145 return u.c[sizeof (long int) - 1] == 1; 14146 14147 ; 14148 return 0; 14149} 14150_ACEOF 14151if ac_fn_c_try_run "$LINENO"; then : 14152 ac_cv_c_bigendian=no 14153else 14154 ac_cv_c_bigendian=yes 14155fi 14156rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 14157 conftest.$ac_objext conftest.beam conftest.$ac_ext 14158fi 14159 14160 fi 14161fi 14162{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 14163$as_echo "$ac_cv_c_bigendian" >&6; } 14164 case $ac_cv_c_bigendian in #( 14165 yes) 14166 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 14167;; #( 14168 no) 14169 ;; #( 14170 universal) 14171 14172$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 14173 14174 ;; #( 14175 *) 14176 as_fn_error $? "unknown endianness 14177 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 14178 esac 14179 14180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 14181$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 14182if ${ac_cv_c_const+:} false; then : 14183 $as_echo_n "(cached) " >&6 14184else 14185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14186/* end confdefs.h. */ 14187 14188int 14189main () 14190{ 14191 14192#ifndef __cplusplus 14193 /* Ultrix mips cc rejects this sort of thing. */ 14194 typedef int charset[2]; 14195 const charset cs = { 0, 0 }; 14196 /* SunOS 4.1.1 cc rejects this. */ 14197 char const *const *pcpcc; 14198 char **ppc; 14199 /* NEC SVR4.0.2 mips cc rejects this. */ 14200 struct point {int x, y;}; 14201 static struct point const zero = {0,0}; 14202 /* AIX XL C 1.02.0.0 rejects this. 14203 It does not let you subtract one const X* pointer from another in 14204 an arm of an if-expression whose if-part is not a constant 14205 expression */ 14206 const char *g = "string"; 14207 pcpcc = &g + (g ? g-g : 0); 14208 /* HPUX 7.0 cc rejects these. */ 14209 ++pcpcc; 14210 ppc = (char**) pcpcc; 14211 pcpcc = (char const *const *) ppc; 14212 { /* SCO 3.2v4 cc rejects this sort of thing. */ 14213 char tx; 14214 char *t = &tx; 14215 char const *s = 0 ? (char *) 0 : (char const *) 0; 14216 14217 *t++ = 0; 14218 if (s) return 0; 14219 } 14220 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 14221 int x[] = {25, 17}; 14222 const int *foo = &x[0]; 14223 ++foo; 14224 } 14225 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 14226 typedef const int *iptr; 14227 iptr p = 0; 14228 ++p; 14229 } 14230 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 14231 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 14232 struct s { int j; const int *ap[3]; } bx; 14233 struct s *b = &bx; b->j = 5; 14234 } 14235 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 14236 const int foo = 10; 14237 if (!foo) return 0; 14238 } 14239 return !cs[0] && !zero.x; 14240#endif 14241 14242 ; 14243 return 0; 14244} 14245_ACEOF 14246if ac_fn_c_try_compile "$LINENO"; then : 14247 ac_cv_c_const=yes 14248else 14249 ac_cv_c_const=no 14250fi 14251rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14252fi 14253{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 14254$as_echo "$ac_cv_c_const" >&6; } 14255if test $ac_cv_c_const = no; then 14256 14257$as_echo "#define const /**/" >>confdefs.h 14258 14259fi 14260 14261{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 14262$as_echo_n "checking for inline... " >&6; } 14263if ${ac_cv_c_inline+:} false; then : 14264 $as_echo_n "(cached) " >&6 14265else 14266 ac_cv_c_inline=no 14267for ac_kw in inline __inline__ __inline; do 14268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14269/* end confdefs.h. */ 14270#ifndef __cplusplus 14271typedef int foo_t; 14272static $ac_kw foo_t static_foo () {return 0; } 14273$ac_kw foo_t foo () {return 0; } 14274#endif 14275 14276_ACEOF 14277if ac_fn_c_try_compile "$LINENO"; then : 14278 ac_cv_c_inline=$ac_kw 14279fi 14280rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14281 test "$ac_cv_c_inline" != no && break 14282done 14283 14284fi 14285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 14286$as_echo "$ac_cv_c_inline" >&6; } 14287 14288case $ac_cv_c_inline in 14289 inline | yes) ;; 14290 *) 14291 case $ac_cv_c_inline in 14292 no) ac_val=;; 14293 *) ac_val=$ac_cv_c_inline;; 14294 esac 14295 cat >>confdefs.h <<_ACEOF 14296#ifndef __cplusplus 14297#define inline $ac_val 14298#endif 14299_ACEOF 14300 ;; 14301esac 14302 14303 14304 14305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double with more range or precision than double" >&5 14306$as_echo_n "checking for long double with more range or precision than double... " >&6; } 14307if ${ac_cv_type_long_double_wider+:} false; then : 14308 $as_echo_n "(cached) " >&6 14309else 14310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14311/* end confdefs.h. */ 14312#include <float.h> 14313 long double const a[] = 14314 { 14315 0.0L, DBL_MIN, DBL_MAX, DBL_EPSILON, 14316 LDBL_MIN, LDBL_MAX, LDBL_EPSILON 14317 }; 14318 long double 14319 f (long double x) 14320 { 14321 return ((x + (unsigned long int) 10) * (-1 / x) + a[0] 14322 + (x ? f (x) : 'c')); 14323 } 14324 14325int 14326main () 14327{ 14328static int test_array [1 - 2 * !((0 < ((DBL_MAX_EXP < LDBL_MAX_EXP) 14329 + (DBL_MANT_DIG < LDBL_MANT_DIG) 14330 - (LDBL_MAX_EXP < DBL_MAX_EXP) 14331 - (LDBL_MANT_DIG < DBL_MANT_DIG))) 14332 && (int) LDBL_EPSILON == 0 14333 )]; 14334test_array [0] = 0; 14335return test_array [0]; 14336 14337 ; 14338 return 0; 14339} 14340_ACEOF 14341if ac_fn_c_try_compile "$LINENO"; then : 14342 ac_cv_type_long_double_wider=yes 14343else 14344 ac_cv_type_long_double_wider=no 14345fi 14346rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14347fi 14348{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_double_wider" >&5 14349$as_echo "$ac_cv_type_long_double_wider" >&6; } 14350 if test $ac_cv_type_long_double_wider = yes; then 14351 14352$as_echo "#define HAVE_LONG_DOUBLE_WIDER 1" >>confdefs.h 14353 14354 fi 14355 14356 ac_cv_c_long_double=$ac_cv_type_long_double_wider 14357 if test $ac_cv_c_long_double = yes; then 14358 14359$as_echo "#define HAVE_LONG_DOUBLE 1" >>confdefs.h 14360 14361 fi 14362 14363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5 14364$as_echo_n "checking for working volatile... " >&6; } 14365if ${ac_cv_c_volatile+:} false; then : 14366 $as_echo_n "(cached) " >&6 14367else 14368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14369/* end confdefs.h. */ 14370 14371int 14372main () 14373{ 14374 14375volatile int x; 14376int * volatile y = (int *) 0; 14377return !x && !y; 14378 ; 14379 return 0; 14380} 14381_ACEOF 14382if ac_fn_c_try_compile "$LINENO"; then : 14383 ac_cv_c_volatile=yes 14384else 14385 ac_cv_c_volatile=no 14386fi 14387rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14388fi 14389{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5 14390$as_echo "$ac_cv_c_volatile" >&6; } 14391if test $ac_cv_c_volatile = no; then 14392 14393$as_echo "#define volatile /**/" >>confdefs.h 14394 14395fi 14396 14397ac_header_dirent=no 14398for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 14399 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 14400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 14401$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 14402if eval \${$as_ac_Header+:} false; then : 14403 $as_echo_n "(cached) " >&6 14404else 14405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14406/* end confdefs.h. */ 14407#include <sys/types.h> 14408#include <$ac_hdr> 14409 14410int 14411main () 14412{ 14413if ((DIR *) 0) 14414return 0; 14415 ; 14416 return 0; 14417} 14418_ACEOF 14419if ac_fn_c_try_compile "$LINENO"; then : 14420 eval "$as_ac_Header=yes" 14421else 14422 eval "$as_ac_Header=no" 14423fi 14424rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14425fi 14426eval ac_res=\$$as_ac_Header 14427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 14428$as_echo "$ac_res" >&6; } 14429if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 14430 cat >>confdefs.h <<_ACEOF 14431#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 14432_ACEOF 14433 14434ac_header_dirent=$ac_hdr; break 14435fi 14436 14437done 14438# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 14439if test $ac_header_dirent = dirent.h; then 14440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 14441$as_echo_n "checking for library containing opendir... " >&6; } 14442if ${ac_cv_search_opendir+:} false; then : 14443 $as_echo_n "(cached) " >&6 14444else 14445 ac_func_search_save_LIBS=$LIBS 14446cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14447/* end confdefs.h. */ 14448 14449/* Override any GCC internal prototype to avoid an error. 14450 Use char because int might match the return type of a GCC 14451 builtin and then its argument prototype would still apply. */ 14452#ifdef __cplusplus 14453extern "C" 14454#endif 14455char opendir (); 14456int 14457main () 14458{ 14459return opendir (); 14460 ; 14461 return 0; 14462} 14463_ACEOF 14464for ac_lib in '' dir; do 14465 if test -z "$ac_lib"; then 14466 ac_res="none required" 14467 else 14468 ac_res=-l$ac_lib 14469 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 14470 fi 14471 if ac_fn_c_try_link "$LINENO"; then : 14472 ac_cv_search_opendir=$ac_res 14473fi 14474rm -f core conftest.err conftest.$ac_objext \ 14475 conftest$ac_exeext 14476 if ${ac_cv_search_opendir+:} false; then : 14477 break 14478fi 14479done 14480if ${ac_cv_search_opendir+:} false; then : 14481 14482else 14483 ac_cv_search_opendir=no 14484fi 14485rm conftest.$ac_ext 14486LIBS=$ac_func_search_save_LIBS 14487fi 14488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 14489$as_echo "$ac_cv_search_opendir" >&6; } 14490ac_res=$ac_cv_search_opendir 14491if test "$ac_res" != no; then : 14492 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 14493 14494fi 14495 14496else 14497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 14498$as_echo_n "checking for library containing opendir... " >&6; } 14499if ${ac_cv_search_opendir+:} false; then : 14500 $as_echo_n "(cached) " >&6 14501else 14502 ac_func_search_save_LIBS=$LIBS 14503cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14504/* end confdefs.h. */ 14505 14506/* Override any GCC internal prototype to avoid an error. 14507 Use char because int might match the return type of a GCC 14508 builtin and then its argument prototype would still apply. */ 14509#ifdef __cplusplus 14510extern "C" 14511#endif 14512char opendir (); 14513int 14514main () 14515{ 14516return opendir (); 14517 ; 14518 return 0; 14519} 14520_ACEOF 14521for ac_lib in '' x; do 14522 if test -z "$ac_lib"; then 14523 ac_res="none required" 14524 else 14525 ac_res=-l$ac_lib 14526 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 14527 fi 14528 if ac_fn_c_try_link "$LINENO"; then : 14529 ac_cv_search_opendir=$ac_res 14530fi 14531rm -f core conftest.err conftest.$ac_objext \ 14532 conftest$ac_exeext 14533 if ${ac_cv_search_opendir+:} false; then : 14534 break 14535fi 14536done 14537if ${ac_cv_search_opendir+:} false; then : 14538 14539else 14540 ac_cv_search_opendir=no 14541fi 14542rm conftest.$ac_ext 14543LIBS=$ac_func_search_save_LIBS 14544fi 14545{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 14546$as_echo "$ac_cv_search_opendir" >&6; } 14547ac_res=$ac_cv_search_opendir 14548if test "$ac_res" != no; then : 14549 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 14550 14551fi 14552 14553fi 14554 14555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 14556$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 14557if ${ac_cv_c_const+:} false; then : 14558 $as_echo_n "(cached) " >&6 14559else 14560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14561/* end confdefs.h. */ 14562 14563int 14564main () 14565{ 14566 14567#ifndef __cplusplus 14568 /* Ultrix mips cc rejects this sort of thing. */ 14569 typedef int charset[2]; 14570 const charset cs = { 0, 0 }; 14571 /* SunOS 4.1.1 cc rejects this. */ 14572 char const *const *pcpcc; 14573 char **ppc; 14574 /* NEC SVR4.0.2 mips cc rejects this. */ 14575 struct point {int x, y;}; 14576 static struct point const zero = {0,0}; 14577 /* AIX XL C 1.02.0.0 rejects this. 14578 It does not let you subtract one const X* pointer from another in 14579 an arm of an if-expression whose if-part is not a constant 14580 expression */ 14581 const char *g = "string"; 14582 pcpcc = &g + (g ? g-g : 0); 14583 /* HPUX 7.0 cc rejects these. */ 14584 ++pcpcc; 14585 ppc = (char**) pcpcc; 14586 pcpcc = (char const *const *) ppc; 14587 { /* SCO 3.2v4 cc rejects this sort of thing. */ 14588 char tx; 14589 char *t = &tx; 14590 char const *s = 0 ? (char *) 0 : (char const *) 0; 14591 14592 *t++ = 0; 14593 if (s) return 0; 14594 } 14595 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 14596 int x[] = {25, 17}; 14597 const int *foo = &x[0]; 14598 ++foo; 14599 } 14600 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 14601 typedef const int *iptr; 14602 iptr p = 0; 14603 ++p; 14604 } 14605 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 14606 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 14607 struct s { int j; const int *ap[3]; } bx; 14608 struct s *b = &bx; b->j = 5; 14609 } 14610 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 14611 const int foo = 10; 14612 if (!foo) return 0; 14613 } 14614 return !cs[0] && !zero.x; 14615#endif 14616 14617 ; 14618 return 0; 14619} 14620_ACEOF 14621if ac_fn_c_try_compile "$LINENO"; then : 14622 ac_cv_c_const=yes 14623else 14624 ac_cv_c_const=no 14625fi 14626rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14627fi 14628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 14629$as_echo "$ac_cv_c_const" >&6; } 14630if test $ac_cv_c_const = no; then 14631 14632$as_echo "#define const /**/" >>confdefs.h 14633 14634fi 14635 14636{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 14637$as_echo_n "checking for inline... " >&6; } 14638if ${ac_cv_c_inline+:} false; then : 14639 $as_echo_n "(cached) " >&6 14640else 14641 ac_cv_c_inline=no 14642for ac_kw in inline __inline__ __inline; do 14643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14644/* end confdefs.h. */ 14645#ifndef __cplusplus 14646typedef int foo_t; 14647static $ac_kw foo_t static_foo () {return 0; } 14648$ac_kw foo_t foo () {return 0; } 14649#endif 14650 14651_ACEOF 14652if ac_fn_c_try_compile "$LINENO"; then : 14653 ac_cv_c_inline=$ac_kw 14654fi 14655rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14656 test "$ac_cv_c_inline" != no && break 14657done 14658 14659fi 14660{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 14661$as_echo "$ac_cv_c_inline" >&6; } 14662 14663case $ac_cv_c_inline in 14664 inline | yes) ;; 14665 *) 14666 case $ac_cv_c_inline in 14667 no) ac_val=;; 14668 *) ac_val=$ac_cv_c_inline;; 14669 esac 14670 cat >>confdefs.h <<_ACEOF 14671#ifndef __cplusplus 14672#define inline $ac_val 14673#endif 14674_ACEOF 14675 ;; 14676esac 14677 14678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 14679$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 14680if ${ac_cv_header_time+:} false; then : 14681 $as_echo_n "(cached) " >&6 14682else 14683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14684/* end confdefs.h. */ 14685#include <sys/types.h> 14686#include <sys/time.h> 14687#include <time.h> 14688 14689int 14690main () 14691{ 14692if ((struct tm *) 0) 14693return 0; 14694 ; 14695 return 0; 14696} 14697_ACEOF 14698if ac_fn_c_try_compile "$LINENO"; then : 14699 ac_cv_header_time=yes 14700else 14701 ac_cv_header_time=no 14702fi 14703rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14704fi 14705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 14706$as_echo "$ac_cv_header_time" >&6; } 14707if test $ac_cv_header_time = yes; then 14708 14709$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 14710 14711fi 14712 14713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 14714$as_echo_n "checking return type of signal handlers... " >&6; } 14715if ${ac_cv_type_signal+:} false; then : 14716 $as_echo_n "(cached) " >&6 14717else 14718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14719/* end confdefs.h. */ 14720#include <sys/types.h> 14721#include <signal.h> 14722 14723int 14724main () 14725{ 14726return *(signal (0, 0)) (0) == 1; 14727 ; 14728 return 0; 14729} 14730_ACEOF 14731if ac_fn_c_try_compile "$LINENO"; then : 14732 ac_cv_type_signal=int 14733else 14734 ac_cv_type_signal=void 14735fi 14736rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14737fi 14738{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 14739$as_echo "$ac_cv_type_signal" >&6; } 14740 14741cat >>confdefs.h <<_ACEOF 14742#define RETSIGTYPE $ac_cv_type_signal 14743_ACEOF 14744 14745 14746 14747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking integer bit order" >&5 14748$as_echo_n "checking integer bit order... " >&6; } 14749case xyes in 14750x$ac_cv_c_bigendian) 14751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: bigendian" >&5 14752$as_echo "bigendian" >&6; } 14753 CFLAGS="$CFLAGS -DTURN" 14754 ;; 14755*) 14756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: littleendian" >&5 14757$as_echo "littleendian" >&6; } 14758 ;; 14759esac 14760# The cast to long int works around a bug in the HP C Compiler 14761# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 14762# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14763# This bug is HP SR number 8606223364. 14764{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5 14765$as_echo_n "checking size of short... " >&6; } 14766if ${ac_cv_sizeof_short+:} false; then : 14767 $as_echo_n "(cached) " >&6 14768else 14769 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then : 14770 14771else 14772 if test "$ac_cv_type_short" = yes; then 14773 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14774$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14775as_fn_error 77 "cannot compute sizeof (short) 14776See \`config.log' for more details" "$LINENO" 5; } 14777 else 14778 ac_cv_sizeof_short=0 14779 fi 14780fi 14781 14782fi 14783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5 14784$as_echo "$ac_cv_sizeof_short" >&6; } 14785 14786 14787 14788cat >>confdefs.h <<_ACEOF 14789#define SIZEOF_SHORT $ac_cv_sizeof_short 14790_ACEOF 14791 14792 14793# The cast to long int works around a bug in the HP C Compiler 14794# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 14795# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14796# This bug is HP SR number 8606223364. 14797{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 14798$as_echo_n "checking size of int... " >&6; } 14799if ${ac_cv_sizeof_int+:} false; then : 14800 $as_echo_n "(cached) " >&6 14801else 14802 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 14803 14804else 14805 if test "$ac_cv_type_int" = yes; then 14806 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14807$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14808as_fn_error 77 "cannot compute sizeof (int) 14809See \`config.log' for more details" "$LINENO" 5; } 14810 else 14811 ac_cv_sizeof_int=0 14812 fi 14813fi 14814 14815fi 14816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 14817$as_echo "$ac_cv_sizeof_int" >&6; } 14818 14819 14820 14821cat >>confdefs.h <<_ACEOF 14822#define SIZEOF_INT $ac_cv_sizeof_int 14823_ACEOF 14824 14825 14826# The cast to long int works around a bug in the HP C Compiler 14827# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 14828# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14829# This bug is HP SR number 8606223364. 14830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 14831$as_echo_n "checking size of long... " >&6; } 14832if ${ac_cv_sizeof_long+:} false; then : 14833 $as_echo_n "(cached) " >&6 14834else 14835 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 14836 14837else 14838 if test "$ac_cv_type_long" = yes; then 14839 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14840$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14841as_fn_error 77 "cannot compute sizeof (long) 14842See \`config.log' for more details" "$LINENO" 5; } 14843 else 14844 ac_cv_sizeof_long=0 14845 fi 14846fi 14847 14848fi 14849{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 14850$as_echo "$ac_cv_sizeof_long" >&6; } 14851 14852 14853 14854cat >>confdefs.h <<_ACEOF 14855#define SIZEOF_LONG $ac_cv_sizeof_long 14856_ACEOF 14857 14858 14859# The cast to long int works around a bug in the HP C Compiler 14860# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 14861# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14862# This bug is HP SR number 8606223364. 14863{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 14864$as_echo_n "checking size of long long... " >&6; } 14865if ${ac_cv_sizeof_long_long+:} false; then : 14866 $as_echo_n "(cached) " >&6 14867else 14868 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : 14869 14870else 14871 if test "$ac_cv_type_long_long" = yes; then 14872 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14873$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14874as_fn_error 77 "cannot compute sizeof (long long) 14875See \`config.log' for more details" "$LINENO" 5; } 14876 else 14877 ac_cv_sizeof_long_long=0 14878 fi 14879fi 14880 14881fi 14882{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 14883$as_echo "$ac_cv_sizeof_long_long" >&6; } 14884 14885 14886 14887cat >>confdefs.h <<_ACEOF 14888#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long 14889_ACEOF 14890 14891 14892# The cast to long int works around a bug in the HP C Compiler 14893# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 14894# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14895# This bug is HP SR number 8606223364. 14896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned char *" >&5 14897$as_echo_n "checking size of unsigned char *... " >&6; } 14898if ${ac_cv_sizeof_unsigned_char_p+:} false; then : 14899 $as_echo_n "(cached) " >&6 14900else 14901 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned char *))" "ac_cv_sizeof_unsigned_char_p" "$ac_includes_default"; then : 14902 14903else 14904 if test "$ac_cv_type_unsigned_char_p" = yes; then 14905 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14906$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14907as_fn_error 77 "cannot compute sizeof (unsigned char *) 14908See \`config.log' for more details" "$LINENO" 5; } 14909 else 14910 ac_cv_sizeof_unsigned_char_p=0 14911 fi 14912fi 14913 14914fi 14915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_char_p" >&5 14916$as_echo "$ac_cv_sizeof_unsigned_char_p" >&6; } 14917 14918 14919 14920cat >>confdefs.h <<_ACEOF 14921#define SIZEOF_UNSIGNED_CHAR_P $ac_cv_sizeof_unsigned_char_p 14922_ACEOF 14923 14924 14925# Check whether --enable-largefile was given. 14926if test "${enable_largefile+set}" = set; then : 14927 enableval=$enable_largefile; 14928fi 14929 14930if test "$enable_largefile" != no; then 14931 14932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 14933$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 14934if ${ac_cv_sys_largefile_CC+:} false; then : 14935 $as_echo_n "(cached) " >&6 14936else 14937 ac_cv_sys_largefile_CC=no 14938 if test "$GCC" != yes; then 14939 ac_save_CC=$CC 14940 while :; do 14941 # IRIX 6.2 and later do not support large files by default, 14942 # so use the C compiler's -n32 option if that helps. 14943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14944/* end confdefs.h. */ 14945#include <sys/types.h> 14946 /* Check that off_t can represent 2**63 - 1 correctly. 14947 We can't simply define LARGE_OFF_T to be 9223372036854775807, 14948 since some C++ compilers masquerading as C compilers 14949 incorrectly reject 9223372036854775807. */ 14950#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 14951 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 14952 && LARGE_OFF_T % 2147483647 == 1) 14953 ? 1 : -1]; 14954int 14955main () 14956{ 14957 14958 ; 14959 return 0; 14960} 14961_ACEOF 14962 if ac_fn_c_try_compile "$LINENO"; then : 14963 break 14964fi 14965rm -f core conftest.err conftest.$ac_objext 14966 CC="$CC -n32" 14967 if ac_fn_c_try_compile "$LINENO"; then : 14968 ac_cv_sys_largefile_CC=' -n32'; break 14969fi 14970rm -f core conftest.err conftest.$ac_objext 14971 break 14972 done 14973 CC=$ac_save_CC 14974 rm -f conftest.$ac_ext 14975 fi 14976fi 14977{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 14978$as_echo "$ac_cv_sys_largefile_CC" >&6; } 14979 if test "$ac_cv_sys_largefile_CC" != no; then 14980 CC=$CC$ac_cv_sys_largefile_CC 14981 fi 14982 14983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 14984$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 14985if ${ac_cv_sys_file_offset_bits+:} false; then : 14986 $as_echo_n "(cached) " >&6 14987else 14988 while :; do 14989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14990/* end confdefs.h. */ 14991#include <sys/types.h> 14992 /* Check that off_t can represent 2**63 - 1 correctly. 14993 We can't simply define LARGE_OFF_T to be 9223372036854775807, 14994 since some C++ compilers masquerading as C compilers 14995 incorrectly reject 9223372036854775807. */ 14996#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 14997 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 14998 && LARGE_OFF_T % 2147483647 == 1) 14999 ? 1 : -1]; 15000int 15001main () 15002{ 15003 15004 ; 15005 return 0; 15006} 15007_ACEOF 15008if ac_fn_c_try_compile "$LINENO"; then : 15009 ac_cv_sys_file_offset_bits=no; break 15010fi 15011rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15013/* end confdefs.h. */ 15014#define _FILE_OFFSET_BITS 64 15015#include <sys/types.h> 15016 /* Check that off_t can represent 2**63 - 1 correctly. 15017 We can't simply define LARGE_OFF_T to be 9223372036854775807, 15018 since some C++ compilers masquerading as C compilers 15019 incorrectly reject 9223372036854775807. */ 15020#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 15021 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 15022 && LARGE_OFF_T % 2147483647 == 1) 15023 ? 1 : -1]; 15024int 15025main () 15026{ 15027 15028 ; 15029 return 0; 15030} 15031_ACEOF 15032if ac_fn_c_try_compile "$LINENO"; then : 15033 ac_cv_sys_file_offset_bits=64; break 15034fi 15035rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15036 ac_cv_sys_file_offset_bits=unknown 15037 break 15038done 15039fi 15040{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 15041$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 15042case $ac_cv_sys_file_offset_bits in #( 15043 no | unknown) ;; 15044 *) 15045cat >>confdefs.h <<_ACEOF 15046#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 15047_ACEOF 15048;; 15049esac 15050rm -rf conftest* 15051 if test $ac_cv_sys_file_offset_bits = unknown; then 15052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 15053$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 15054if ${ac_cv_sys_large_files+:} false; then : 15055 $as_echo_n "(cached) " >&6 15056else 15057 while :; do 15058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15059/* end confdefs.h. */ 15060#include <sys/types.h> 15061 /* Check that off_t can represent 2**63 - 1 correctly. 15062 We can't simply define LARGE_OFF_T to be 9223372036854775807, 15063 since some C++ compilers masquerading as C compilers 15064 incorrectly reject 9223372036854775807. */ 15065#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 15066 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 15067 && LARGE_OFF_T % 2147483647 == 1) 15068 ? 1 : -1]; 15069int 15070main () 15071{ 15072 15073 ; 15074 return 0; 15075} 15076_ACEOF 15077if ac_fn_c_try_compile "$LINENO"; then : 15078 ac_cv_sys_large_files=no; break 15079fi 15080rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15082/* end confdefs.h. */ 15083#define _LARGE_FILES 1 15084#include <sys/types.h> 15085 /* Check that off_t can represent 2**63 - 1 correctly. 15086 We can't simply define LARGE_OFF_T to be 9223372036854775807, 15087 since some C++ compilers masquerading as C compilers 15088 incorrectly reject 9223372036854775807. */ 15089#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 15090 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 15091 && LARGE_OFF_T % 2147483647 == 1) 15092 ? 1 : -1]; 15093int 15094main () 15095{ 15096 15097 ; 15098 return 0; 15099} 15100_ACEOF 15101if ac_fn_c_try_compile "$LINENO"; then : 15102 ac_cv_sys_large_files=1; break 15103fi 15104rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15105 ac_cv_sys_large_files=unknown 15106 break 15107done 15108fi 15109{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 15110$as_echo "$ac_cv_sys_large_files" >&6; } 15111case $ac_cv_sys_large_files in #( 15112 no | unknown) ;; 15113 *) 15114cat >>confdefs.h <<_ACEOF 15115#define _LARGE_FILES $ac_cv_sys_large_files 15116_ACEOF 15117;; 15118esac 15119rm -rf conftest* 15120 fi 15121 15122 15123fi 15124 15125 15126if test "x$ac_cv_sys_file_offset_bits" != "xno"; then 15127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits" >&5 15128$as_echo "FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits" >&6; } 15129 FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits 15130 15131fi 15132# The cast to long int works around a bug in the HP C Compiler 15133# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 15134# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 15135# This bug is HP SR number 8606223364. 15136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5 15137$as_echo_n "checking size of size_t... " >&6; } 15138if ${ac_cv_sizeof_size_t+:} false; then : 15139 $as_echo_n "(cached) " >&6 15140else 15141 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then : 15142 15143else 15144 if test "$ac_cv_type_size_t" = yes; then 15145 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15146$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15147as_fn_error 77 "cannot compute sizeof (size_t) 15148See \`config.log' for more details" "$LINENO" 5; } 15149 else 15150 ac_cv_sizeof_size_t=0 15151 fi 15152fi 15153 15154fi 15155{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5 15156$as_echo "$ac_cv_sizeof_size_t" >&6; } 15157 15158 15159 15160cat >>confdefs.h <<_ACEOF 15161#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t 15162_ACEOF 15163 15164 15165# The cast to long int works around a bug in the HP C Compiler 15166# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 15167# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 15168# This bug is HP SR number 8606223364. 15169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5 15170$as_echo_n "checking size of off_t... " >&6; } 15171if ${ac_cv_sizeof_off_t+:} false; then : 15172 $as_echo_n "(cached) " >&6 15173else 15174 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then : 15175 15176else 15177 if test "$ac_cv_type_off_t" = yes; then 15178 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15179$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15180as_fn_error 77 "cannot compute sizeof (off_t) 15181See \`config.log' for more details" "$LINENO" 5; } 15182 else 15183 ac_cv_sizeof_off_t=0 15184 fi 15185fi 15186 15187fi 15188{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5 15189$as_echo "$ac_cv_sizeof_off_t" >&6; } 15190 15191 15192 15193cat >>confdefs.h <<_ACEOF 15194#define SIZEOF_OFF_T $ac_cv_sizeof_off_t 15195_ACEOF 15196 15197 15198 15199SIZEOF_FILE_POINTER=$ac_cv_sizeof_off_t 15200 15201FILE_POINTER="off_t" 15202if test $ac_cv_sizeof_int = $ac_cv_sizeof_off_t; then 15203 FILE_POINTER="int" 15204fi 15205if test $ac_cv_sizeof_long = $ac_cv_sizeof_off_t; then 15206 FILE_POINTER="long" 15207fi 15208if test $ac_cv_sizeof_long_long = $ac_cv_sizeof_off_t; then 15209 FILE_POINTER="long long" 15210fi 15211 15212 15213{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5 15214$as_echo_n "checking whether sys/types.h defines makedev... " >&6; } 15215if ${ac_cv_header_sys_types_h_makedev+:} false; then : 15216 $as_echo_n "(cached) " >&6 15217else 15218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15219/* end confdefs.h. */ 15220#include <sys/types.h> 15221int 15222main () 15223{ 15224return makedev(0, 0); 15225 ; 15226 return 0; 15227} 15228_ACEOF 15229if ac_fn_c_try_link "$LINENO"; then : 15230 ac_cv_header_sys_types_h_makedev=yes 15231else 15232 ac_cv_header_sys_types_h_makedev=no 15233fi 15234rm -f core conftest.err conftest.$ac_objext \ 15235 conftest$ac_exeext conftest.$ac_ext 15236 15237fi 15238{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5 15239$as_echo "$ac_cv_header_sys_types_h_makedev" >&6; } 15240 15241if test $ac_cv_header_sys_types_h_makedev = no; then 15242ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default" 15243if test "x$ac_cv_header_sys_mkdev_h" = xyes; then : 15244 15245$as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h 15246 15247fi 15248 15249 15250 15251 if test $ac_cv_header_sys_mkdev_h = no; then 15252 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default" 15253if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then : 15254 15255$as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h 15256 15257fi 15258 15259 15260 fi 15261fi 15262 15263{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 15264$as_echo_n "checking for ANSI C header files... " >&6; } 15265if ${ac_cv_header_stdc+:} false; then : 15266 $as_echo_n "(cached) " >&6 15267else 15268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15269/* end confdefs.h. */ 15270#include <stdlib.h> 15271#include <stdarg.h> 15272#include <string.h> 15273#include <float.h> 15274 15275int 15276main () 15277{ 15278 15279 ; 15280 return 0; 15281} 15282_ACEOF 15283if ac_fn_c_try_compile "$LINENO"; then : 15284 ac_cv_header_stdc=yes 15285else 15286 ac_cv_header_stdc=no 15287fi 15288rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15289 15290if test $ac_cv_header_stdc = yes; then 15291 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 15292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15293/* end confdefs.h. */ 15294#include <string.h> 15295 15296_ACEOF 15297if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 15298 $EGREP "memchr" >/dev/null 2>&1; then : 15299 15300else 15301 ac_cv_header_stdc=no 15302fi 15303rm -f conftest* 15304 15305fi 15306 15307if test $ac_cv_header_stdc = yes; then 15308 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 15309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15310/* end confdefs.h. */ 15311#include <stdlib.h> 15312 15313_ACEOF 15314if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 15315 $EGREP "free" >/dev/null 2>&1; then : 15316 15317else 15318 ac_cv_header_stdc=no 15319fi 15320rm -f conftest* 15321 15322fi 15323 15324if test $ac_cv_header_stdc = yes; then 15325 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 15326 if test "$cross_compiling" = yes; then : 15327 : 15328else 15329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15330/* end confdefs.h. */ 15331#include <ctype.h> 15332#include <stdlib.h> 15333#if ((' ' & 0x0FF) == 0x020) 15334# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 15335# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 15336#else 15337# define ISLOWER(c) \ 15338 (('a' <= (c) && (c) <= 'i') \ 15339 || ('j' <= (c) && (c) <= 'r') \ 15340 || ('s' <= (c) && (c) <= 'z')) 15341# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 15342#endif 15343 15344#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 15345int 15346main () 15347{ 15348 int i; 15349 for (i = 0; i < 256; i++) 15350 if (XOR (islower (i), ISLOWER (i)) 15351 || toupper (i) != TOUPPER (i)) 15352 return 2; 15353 return 0; 15354} 15355_ACEOF 15356if ac_fn_c_try_run "$LINENO"; then : 15357 15358else 15359 ac_cv_header_stdc=no 15360fi 15361rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 15362 conftest.$ac_objext conftest.beam conftest.$ac_ext 15363fi 15364 15365fi 15366fi 15367{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 15368$as_echo "$ac_cv_header_stdc" >&6; } 15369if test $ac_cv_header_stdc = yes; then 15370 15371$as_echo "#define STDC_HEADERS 1" >>confdefs.h 15372 15373fi 15374 15375 15376for ac_header in features.h time.h utime.h unistd.h stdarg.h signal.h errno.h stdlib.h stdio.h string.h fcntl.h grp.h limits.h paths.h pwd.h regex.h varargs.h ctype.h 15377do : 15378 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 15379ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 15380if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 15381 cat >>confdefs.h <<_ACEOF 15382#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 15383_ACEOF 15384 15385fi 15386 15387done 15388 15389 15390for ac_header in sys/time.h sys/select.h sys/types.h sys/param.h sys/ucred sys/wait.h sys/mman.h 15391do : 15392 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 15393ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 15394if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 15395 cat >>confdefs.h <<_ACEOF 15396#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 15397_ACEOF 15398 15399fi 15400 15401done 15402 15403 15404for ac_header in mntent.h 15405do : 15406 ac_fn_c_check_header_mongrel "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default" 15407if test "x$ac_cv_header_mntent_h" = xyes; then : 15408 cat >>confdefs.h <<_ACEOF 15409#define HAVE_MNTENT_H 1 15410_ACEOF 15411 15412fi 15413 15414done 15415 15416 15417for ac_header in fstab.h sys/param.h sys/ucred.h sys/mount.h 15418do : 15419 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 15420ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 15421if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 15422 cat >>confdefs.h <<_ACEOF 15423#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 15424_ACEOF 15425 15426fi 15427 15428done 15429 15430 15431for ac_func in setenv unsetenv 15432do : 15433 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15434ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 15435if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 15436 cat >>confdefs.h <<_ACEOF 15437#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 15438_ACEOF 15439 15440fi 15441done 15442 15443for ac_func in strlcpy snprintf strlcat lseek snprintf vsnprintf strcasecmp strncasecmp memcpy memmove memset 15444do : 15445 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15446ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 15447if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 15448 cat >>confdefs.h <<_ACEOF 15449#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 15450_ACEOF 15451 15452fi 15453done 15454 15455for ac_func in waitid signal sigaction 15456do : 15457 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15458ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 15459if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 15460 cat >>confdefs.h <<_ACEOF 15461#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 15462_ACEOF 15463 15464fi 15465done 15466 15467{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5 15468$as_echo_n "checking for library containing clock_gettime... " >&6; } 15469if ${ac_cv_search_clock_gettime+:} false; then : 15470 $as_echo_n "(cached) " >&6 15471else 15472 ac_func_search_save_LIBS=$LIBS 15473cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15474/* end confdefs.h. */ 15475 15476/* Override any GCC internal prototype to avoid an error. 15477 Use char because int might match the return type of a GCC 15478 builtin and then its argument prototype would still apply. */ 15479#ifdef __cplusplus 15480extern "C" 15481#endif 15482char clock_gettime (); 15483int 15484main () 15485{ 15486return clock_gettime (); 15487 ; 15488 return 0; 15489} 15490_ACEOF 15491for ac_lib in '' rt posix4; do 15492 if test -z "$ac_lib"; then 15493 ac_res="none required" 15494 else 15495 ac_res=-l$ac_lib 15496 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 15497 fi 15498 if ac_fn_c_try_link "$LINENO"; then : 15499 ac_cv_search_clock_gettime=$ac_res 15500fi 15501rm -f core conftest.err conftest.$ac_objext \ 15502 conftest$ac_exeext 15503 if ${ac_cv_search_clock_gettime+:} false; then : 15504 break 15505fi 15506done 15507if ${ac_cv_search_clock_gettime+:} false; then : 15508 15509else 15510 ac_cv_search_clock_gettime=no 15511fi 15512rm conftest.$ac_ext 15513LIBS=$ac_func_search_save_LIBS 15514fi 15515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5 15516$as_echo "$ac_cv_search_clock_gettime" >&6; } 15517ac_res=$ac_cv_search_clock_gettime 15518if test "$ac_res" != no; then : 15519 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 15520 15521fi 15522 15523for ac_func in clock_gettime localtime localtime_r gettimeofday strftime 15524do : 15525 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15526ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 15527if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 15528 cat >>confdefs.h <<_ACEOF 15529#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 15530_ACEOF 15531 15532fi 15533done 15534 15535for ac_func in getmntinfo getfsent getmntent statfs 15536do : 15537 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15538ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 15539if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 15540 cat >>confdefs.h <<_ACEOF 15541#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 15542_ACEOF 15543 15544fi 15545done 15546 15547for ac_func in signal sigaction 15548do : 15549 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15550ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 15551if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 15552 cat >>confdefs.h <<_ACEOF 15553#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 15554_ACEOF 15555 15556fi 15557done 15558 15559for ac_func in fpathconf dirfd 15560do : 15561 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15562ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 15563if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 15564 cat >>confdefs.h <<_ACEOF 15565#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 15566_ACEOF 15567 15568fi 15569done 15570 15571ac_fn_c_check_member "$LINENO" "struct dirent" "d_type" "ac_cv_member_struct_dirent_d_type" "#include <dirent.h> 15572" 15573if test "x$ac_cv_member_struct_dirent_d_type" = xyes; then : 15574 15575cat >>confdefs.h <<_ACEOF 15576#define HAVE_STRUCT_DIRENT_D_TYPE 1 15577_ACEOF 15578 15579 15580fi 15581 15582 15583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 15584$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 15585if ${ac_cv_struct_tm+:} false; then : 15586 $as_echo_n "(cached) " >&6 15587else 15588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15589/* end confdefs.h. */ 15590#include <sys/types.h> 15591#include <time.h> 15592 15593int 15594main () 15595{ 15596struct tm tm; 15597 int *p = &tm.tm_sec; 15598 return !p; 15599 ; 15600 return 0; 15601} 15602_ACEOF 15603if ac_fn_c_try_compile "$LINENO"; then : 15604 ac_cv_struct_tm=time.h 15605else 15606 ac_cv_struct_tm=sys/time.h 15607fi 15608rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15609fi 15610{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 15611$as_echo "$ac_cv_struct_tm" >&6; } 15612if test $ac_cv_struct_tm = sys/time.h; then 15613 15614$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 15615 15616fi 15617 15618 15619 15620 for ac_func in localtime_r strftime 15621do : 15622 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15623ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 15624if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 15625 cat >>confdefs.h <<_ACEOF 15626#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 15627_ACEOF 15628 15629fi 15630done 15631 15632 15633 for ac_header in limits.h 15634do : 15635 ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 15636if test "x$ac_cv_header_limits_h" = xyes; then : 15637 cat >>confdefs.h <<_ACEOF 15638#define HAVE_LIMITS_H 1 15639_ACEOF 15640 15641fi 15642 15643done 15644 15645 for ac_func in bcopy tzset mempcpy memcpy memset 15646do : 15647 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15648ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 15649if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 15650 cat >>confdefs.h <<_ACEOF 15651#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 15652_ACEOF 15653 15654fi 15655done 15656 15657 15658 # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE. 15659 ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h> 15660#include <$ac_cv_struct_tm> 15661 15662" 15663if test "x$ac_cv_member_struct_tm_tm_zone" = xyes; then : 15664 15665cat >>confdefs.h <<_ACEOF 15666#define HAVE_STRUCT_TM_TM_ZONE 1 15667_ACEOF 15668 15669 15670fi 15671 15672if test "$ac_cv_member_struct_tm_tm_zone" = yes; then 15673 15674$as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h 15675 15676else 15677 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h> 15678" 15679if test "x$ac_cv_have_decl_tzname" = xyes; then : 15680 ac_have_decl=1 15681else 15682 ac_have_decl=0 15683fi 15684 15685cat >>confdefs.h <<_ACEOF 15686#define HAVE_DECL_TZNAME $ac_have_decl 15687_ACEOF 15688 15689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5 15690$as_echo_n "checking for tzname... " >&6; } 15691if ${ac_cv_var_tzname+:} false; then : 15692 $as_echo_n "(cached) " >&6 15693else 15694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15695/* end confdefs.h. */ 15696#include <time.h> 15697#if !HAVE_DECL_TZNAME 15698extern char *tzname[]; 15699#endif 15700 15701int 15702main () 15703{ 15704return tzname[0][0]; 15705 ; 15706 return 0; 15707} 15708_ACEOF 15709if ac_fn_c_try_link "$LINENO"; then : 15710 ac_cv_var_tzname=yes 15711else 15712 ac_cv_var_tzname=no 15713fi 15714rm -f core conftest.err conftest.$ac_objext \ 15715 conftest$ac_exeext conftest.$ac_ext 15716fi 15717{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5 15718$as_echo "$ac_cv_var_tzname" >&6; } 15719 if test $ac_cv_var_tzname = yes; then 15720 15721$as_echo "#define HAVE_TZNAME 1" >>confdefs.h 15722 15723 fi 15724fi 15725 15726 15727 for ac_func in mblen mbrlen 15728do : 15729 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15730ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 15731if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 15732 cat >>confdefs.h <<_ACEOF 15733#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 15734_ACEOF 15735 15736fi 15737done 15738 15739 15740 ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h> 15741" 15742if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes; then : 15743 15744$as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h 15745 15746fi 15747 15748 15749 15750 for ac_header in sys/time.h 15751do : 15752 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" 15753if test "x$ac_cv_header_sys_time_h" = xyes; then : 15754 cat >>confdefs.h <<_ACEOF 15755#define HAVE_SYS_TIME_H 1 15756_ACEOF 15757 15758fi 15759 15760done 15761 15762 15763$as_echo "#define my_strftime nstrftime" >>confdefs.h 15764 15765 15766 15767for ac_header in string.h 15768do : 15769 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 15770if test "x$ac_cv_header_string_h" = xyes; then : 15771 cat >>confdefs.h <<_ACEOF 15772#define HAVE_STRING_H 1 15773_ACEOF 15774 15775fi 15776 15777done 15778 15779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working readdir" >&5 15780$as_echo_n "checking for working readdir... " >&6; } 15781if ${jm_cv_func_working_readdir+:} false; then : 15782 $as_echo_n "(cached) " >&6 15783else 15784 # Arrange for deletion of the temporary directory this test creates, in 15785 # case the test itself fails to delete everything -- as happens on Sunos. 15786 ac_clean_files="$ac_clean_files conf-dir" 15787 15788 if test "$cross_compiling" = yes; then : 15789 jm_cv_func_working_readdir=no 15790else 15791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15792/* end confdefs.h. */ 15793# include <stdio.h> 15794# include <sys/types.h> 15795# if HAVE_STRING_H 15796# include <string.h> 15797# endif 15798 15799# ifdef HAVE_DIRENT_H 15800# include <dirent.h> 15801# define NLENGTH(direct) (strlen((direct)->d_name)) 15802# else /* not HAVE_DIRENT_H */ 15803# define dirent direct 15804# define NLENGTH(direct) ((direct)->d_namlen) 15805# ifdef HAVE_SYS_NDIR_H 15806# include <sys/ndir.h> 15807# endif /* HAVE_SYS_NDIR_H */ 15808# ifdef HAVE_SYS_DIR_H 15809# include <sys/dir.h> 15810# endif /* HAVE_SYS_DIR_H */ 15811# ifdef HAVE_NDIR_H 15812# include <ndir.h> 15813# endif /* HAVE_NDIR_H */ 15814# endif /* HAVE_DIRENT_H */ 15815 15816# define DOT_OR_DOTDOT(Basename) \ 15817 (Basename[0] == '.' && (Basename[1] == '\0' \ 15818 || (Basename[1] == '.' && Basename[2] == '\0'))) 15819 15820/* Don't try to use replacement mkdir; it wouldn't resolve at link time. */ 15821# undef mkdir 15822 15823 static void 15824 create_300_file_dir (const char *dir) 15825 { 15826 int i; 15827 15828 if (mkdir (dir, 0700)) 15829 abort (); 15830 if (chdir (dir)) 15831 abort (); 15832 15833 for (i = 0; i < 300; i++) 15834 { 15835 char file_name[4]; 15836 FILE *out; 15837 15838 sprintf (file_name, "%03d", i); 15839 out = fopen (file_name, "w"); 15840 if (!out) 15841 abort (); 15842 if (fclose (out) == EOF) 15843 abort (); 15844 } 15845 15846 if (chdir ("..")) 15847 abort (); 15848 } 15849 15850 static void 15851 remove_dir (const char *dir) 15852 { 15853 DIR *dirp; 15854 15855 if (chdir (dir)) 15856 abort (); 15857 15858 dirp = opendir ("."); 15859 if (dirp == NULL) 15860 abort (); 15861 15862 while (1) 15863 { 15864 struct dirent *dp = readdir (dirp); 15865 if (dp == NULL) 15866 break; 15867 15868 if (DOT_OR_DOTDOT (dp->d_name)) 15869 continue; 15870 15871 if (unlink (dp->d_name)) 15872 abort (); 15873 } 15874 closedir (dirp); 15875 15876 if (chdir ("..")) 15877 abort (); 15878 15879 if (rmdir (dir)) 15880 exit (1); 15881 } 15882 15883 int 15884 main () 15885 { 15886 const char *dir = "conf-dir"; 15887 create_300_file_dir (dir); 15888 remove_dir (dir); 15889 exit (0); 15890 } 15891_ACEOF 15892if ac_fn_c_try_run "$LINENO"; then : 15893 jm_cv_func_working_readdir=yes 15894else 15895 jm_cv_func_working_readdir=no 15896fi 15897rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 15898 conftest.$ac_objext conftest.beam conftest.$ac_ext 15899fi 15900 15901fi 15902{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_cv_func_working_readdir" >&5 15903$as_echo "$jm_cv_func_working_readdir" >&6; } 15904 15905 if test $jm_cv_func_working_readdir = yes; then 15906 15907$as_echo "#define HAVE_WORKING_READDIR 1" >>confdefs.h 15908 15909 fi 15910 15911 15912 15913 15914# check for POSIX shared memory 15915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in -lrt" >&5 15916$as_echo_n "checking for shm_open in -lrt... " >&6; } 15917if ${ac_cv_lib_rt_shm_open+:} false; then : 15918 $as_echo_n "(cached) " >&6 15919else 15920 ac_check_lib_save_LIBS=$LIBS 15921LIBS="-lrt $LIBS" 15922cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15923/* end confdefs.h. */ 15924 15925/* Override any GCC internal prototype to avoid an error. 15926 Use char because int might match the return type of a GCC 15927 builtin and then its argument prototype would still apply. */ 15928#ifdef __cplusplus 15929extern "C" 15930#endif 15931char shm_open (); 15932int 15933main () 15934{ 15935return shm_open (); 15936 ; 15937 return 0; 15938} 15939_ACEOF 15940if ac_fn_c_try_link "$LINENO"; then : 15941 ac_cv_lib_rt_shm_open=yes 15942else 15943 ac_cv_lib_rt_shm_open=no 15944fi 15945rm -f core conftest.err conftest.$ac_objext \ 15946 conftest$ac_exeext conftest.$ac_ext 15947LIBS=$ac_check_lib_save_LIBS 15948fi 15949{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_shm_open" >&5 15950$as_echo "$ac_cv_lib_rt_shm_open" >&6; } 15951if test "x$ac_cv_lib_rt_shm_open" = xyes; then : 15952 cat >>confdefs.h <<_ACEOF 15953#define HAVE_LIBRT 1 15954_ACEOF 15955 15956 LIBS="-lrt $LIBS" 15957 15958fi 15959 15960# check for POSIX threads 15961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 15962$as_echo_n "checking for pthread_create in -lpthread... " >&6; } 15963if ${ac_cv_lib_pthread_pthread_create+:} false; then : 15964 $as_echo_n "(cached) " >&6 15965else 15966 ac_check_lib_save_LIBS=$LIBS 15967LIBS="-lpthread $LIBS" 15968cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15969/* end confdefs.h. */ 15970 15971/* Override any GCC internal prototype to avoid an error. 15972 Use char because int might match the return type of a GCC 15973 builtin and then its argument prototype would still apply. */ 15974#ifdef __cplusplus 15975extern "C" 15976#endif 15977char pthread_create (); 15978int 15979main () 15980{ 15981return pthread_create (); 15982 ; 15983 return 0; 15984} 15985_ACEOF 15986if ac_fn_c_try_link "$LINENO"; then : 15987 ac_cv_lib_pthread_pthread_create=yes 15988else 15989 ac_cv_lib_pthread_pthread_create=no 15990fi 15991rm -f core conftest.err conftest.$ac_objext \ 15992 conftest$ac_exeext conftest.$ac_ext 15993LIBS=$ac_check_lib_save_LIBS 15994fi 15995{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 15996$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 15997if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then : 15998 cat >>confdefs.h <<_ACEOF 15999#define HAVE_LIBPTHREAD 1 16000_ACEOF 16001 16002 LIBS="-lpthread $LIBS" 16003 16004fi 16005 16006# check for POSIX threads GNU_SOURCE 16007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_tryjoin_np in -lpthread" >&5 16008$as_echo_n "checking for pthread_tryjoin_np in -lpthread... " >&6; } 16009if ${ac_cv_lib_pthread_pthread_tryjoin_np+:} false; then : 16010 $as_echo_n "(cached) " >&6 16011else 16012 ac_check_lib_save_LIBS=$LIBS 16013LIBS="-lpthread $LIBS" 16014cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16015/* end confdefs.h. */ 16016 16017/* Override any GCC internal prototype to avoid an error. 16018 Use char because int might match the return type of a GCC 16019 builtin and then its argument prototype would still apply. */ 16020#ifdef __cplusplus 16021extern "C" 16022#endif 16023char pthread_tryjoin_np (); 16024int 16025main () 16026{ 16027return pthread_tryjoin_np (); 16028 ; 16029 return 0; 16030} 16031_ACEOF 16032if ac_fn_c_try_link "$LINENO"; then : 16033 ac_cv_lib_pthread_pthread_tryjoin_np=yes 16034else 16035 ac_cv_lib_pthread_pthread_tryjoin_np=no 16036fi 16037rm -f core conftest.err conftest.$ac_objext \ 16038 conftest$ac_exeext conftest.$ac_ext 16039LIBS=$ac_check_lib_save_LIBS 16040fi 16041{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_tryjoin_np" >&5 16042$as_echo "$ac_cv_lib_pthread_pthread_tryjoin_np" >&6; } 16043if test "x$ac_cv_lib_pthread_pthread_tryjoin_np" = xyes; then : 16044 cat >>confdefs.h <<_ACEOF 16045#define HAVE_LIBPTHREAD 1 16046_ACEOF 16047 16048 LIBS="-lpthread $LIBS" 16049 16050fi 16051 16052if test "$ac_cv_lib_pthread_pthread_tryjoin_np" = yes; then 16053 { $as_echo "$as_me:${as_lineno-$LINENO}: You have non portable GNU thread extensions. Good for you." >&5 16054$as_echo "$as_me: You have non portable GNU thread extensions. Good for you." >&6;} 16055 16056 16057cat >>confdefs.h <<_ACEOF 16058#define HAVE_PTHREAD_TRYJOIN $ac_cv_lib_pthread_pthread_tryjoin_np 16059_ACEOF 16060 16061fi 16062 16063# Extract the first word of "pkg-config", so it can be a program name with args. 16064set dummy pkg-config; ac_word=$2 16065{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16066$as_echo_n "checking for $ac_word... " >&6; } 16067if ${ac_cv_prog_cv_pkgconfig+:} false; then : 16068 $as_echo_n "(cached) " >&6 16069else 16070 if test -n "$cv_pkgconfig"; then 16071 ac_cv_prog_cv_pkgconfig="$cv_pkgconfig" # Let the user override the test. 16072else 16073as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16074for as_dir in $PATH 16075do 16076 IFS=$as_save_IFS 16077 test -z "$as_dir" && as_dir=. 16078 for ac_exec_ext in '' $ac_executable_extensions; do 16079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16080 ac_cv_prog_cv_pkgconfig="yes" 16081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16082 break 2 16083 fi 16084done 16085 done 16086IFS=$as_save_IFS 16087 16088 test -z "$ac_cv_prog_cv_pkgconfig" && ac_cv_prog_cv_pkgconfig="no" 16089fi 16090fi 16091cv_pkgconfig=$ac_cv_prog_cv_pkgconfig 16092if test -n "$cv_pkgconfig"; then 16093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cv_pkgconfig" >&5 16094$as_echo "$cv_pkgconfig" >&6; } 16095else 16096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16097$as_echo "no" >&6; } 16098fi 16099 16100 16101 16102# check for libmagic (from "file" utility) 16103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_file in -lmagic" >&5 16104$as_echo_n "checking for magic_file in -lmagic... " >&6; } 16105if ${ac_cv_lib_magic_magic_file+:} false; then : 16106 $as_echo_n "(cached) " >&6 16107else 16108 ac_check_lib_save_LIBS=$LIBS 16109LIBS="-lmagic $LIBS" 16110cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16111/* end confdefs.h. */ 16112 16113/* Override any GCC internal prototype to avoid an error. 16114 Use char because int might match the return type of a GCC 16115 builtin and then its argument prototype would still apply. */ 16116#ifdef __cplusplus 16117extern "C" 16118#endif 16119char magic_file (); 16120int 16121main () 16122{ 16123return magic_file (); 16124 ; 16125 return 0; 16126} 16127_ACEOF 16128if ac_fn_c_try_link "$LINENO"; then : 16129 ac_cv_lib_magic_magic_file=yes 16130else 16131 ac_cv_lib_magic_magic_file=no 16132fi 16133rm -f core conftest.err conftest.$ac_objext \ 16134 conftest$ac_exeext conftest.$ac_ext 16135LIBS=$ac_check_lib_save_LIBS 16136fi 16137{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_file" >&5 16138$as_echo "$ac_cv_lib_magic_magic_file" >&6; } 16139if test "x$ac_cv_lib_magic_magic_file" = xyes; then : 16140 cat >>confdefs.h <<_ACEOF 16141#define HAVE_LIBMAGIC 1 16142_ACEOF 16143 16144 LIBS="-lmagic $LIBS" 16145 16146fi 16147 16148if test "yes" = "yes" ; then 16149if test "$ac_cv_lib_magic_magic_file" = "no" ; then 16150 as_fn_error $? "*** Shucks! *** Error: libmagic header files were not found. Debian rodent-fstab is \"libmagic-dev\" or you can obtain the original author´s latest version by anonymous FTP on ftp.astron.com in the directory /pub/file/file-X.YZ.tar.gz. The Debian version adds a number of new magic entries. It can be obtained from every site carrying a Debian distribution (that is ftp.debian.org and mirrors) 16151 In OpenSUSE/Fedora, the rodent-fstab is called \"file-devel\"." "$LINENO" 5 16152fi 16153fi 16154 16155if test $prefix = NONE; then 16156 echo "prefix = $ac_default_prefix" 16157else 16158 echo "prefix = $prefix" 16159 ac_default_prefix=$prefix 16160fi 16161 16162 16163cat >>confdefs.h <<_ACEOF 16164#define PREFIX "$ac_default_prefix" 16165_ACEOF 16166 16167 16168 16169 16170for ac_prog in intltoolize 16171do 16172 # Extract the first word of "$ac_prog", so it can be a program name with args. 16173set dummy $ac_prog; ac_word=$2 16174{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16175$as_echo_n "checking for $ac_word... " >&6; } 16176if ${ac_cv_prog_intltoolize+:} false; then : 16177 $as_echo_n "(cached) " >&6 16178else 16179 if test -n "$intltoolize"; then 16180 ac_cv_prog_intltoolize="$intltoolize" # Let the user override the test. 16181else 16182as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16183for as_dir in $PATH 16184do 16185 IFS=$as_save_IFS 16186 test -z "$as_dir" && as_dir=. 16187 for ac_exec_ext in '' $ac_executable_extensions; do 16188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16189 ac_cv_prog_intltoolize="$ac_prog" 16190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16191 break 2 16192 fi 16193done 16194 done 16195IFS=$as_save_IFS 16196 16197fi 16198fi 16199intltoolize=$ac_cv_prog_intltoolize 16200if test -n "$intltoolize"; then 16201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $intltoolize" >&5 16202$as_echo "$intltoolize" >&6; } 16203else 16204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16205$as_echo "no" >&6; } 16206fi 16207 16208 16209 test -n "$intltoolize" && break 16210done 16211test -n "$intltoolize" || intltoolize="no" 16212 16213if test $intltoolize = "no" ; then 16214 as_fn_error $? "\"intltool utilities not found. Please install intltool to build this rodent-fstab from source.\"" "$LINENO" 5; 16215fi 16216for ac_prog in gawk 16217do 16218 # Extract the first word of "$ac_prog", so it can be a program name with args. 16219set dummy $ac_prog; ac_word=$2 16220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16221$as_echo_n "checking for $ac_word... " >&6; } 16222if ${ac_cv_prog_gawk+:} false; then : 16223 $as_echo_n "(cached) " >&6 16224else 16225 if test -n "$gawk"; then 16226 ac_cv_prog_gawk="$gawk" # Let the user override the test. 16227else 16228as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16229for as_dir in $PATH 16230do 16231 IFS=$as_save_IFS 16232 test -z "$as_dir" && as_dir=. 16233 for ac_exec_ext in '' $ac_executable_extensions; do 16234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16235 ac_cv_prog_gawk="$ac_prog" 16236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16237 break 2 16238 fi 16239done 16240 done 16241IFS=$as_save_IFS 16242 16243fi 16244fi 16245gawk=$ac_cv_prog_gawk 16246if test -n "$gawk"; then 16247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gawk" >&5 16248$as_echo "$gawk" >&6; } 16249else 16250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16251$as_echo "no" >&6; } 16252fi 16253 16254 16255 test -n "$gawk" && break 16256done 16257test -n "$gawk" || gawk="no" 16258 16259if test $gawk = "no" ; then 16260 as_fn_error $? "\"gawk program not found. Please install gawk to build this rodent-fstab from source.\"" "$LINENO" 5; 16261fi 16262 16263 16264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Linux or BSD" >&5 16265$as_echo_n "checking for Linux or BSD... " >&6; } 16266#echo "system: $ac_uname_s" 16267os=`uname -a | grep BSD` 16268if test x"$os" == x ; then 16269 os=`uname -a | grep DragonFly` 16270fi 16271 16272if test x"$os" != x ; then 16273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: System is BSD." >&5 16274$as_echo "System is BSD." >&6; } 16275 rodentman1dir=${prefix}/man/man1 16276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gmake" >&5 16277$as_echo_n "checking for gmake... " >&6; }; 16278 result_gmake=`gmake --version` 16279 if test x"${result_gmake}" = x; then 16280 as_fn_error $? "GNU make (gmake) not found! Please install and then rerun configure." "$LINENO" 5 16281 else 16282 echo "$result_gmake" 16283 fi 16284 16285cat >>confdefs.h <<_ACEOF 16286#define THIS_IS_BSD 1 16287_ACEOF 16288 16289# In FreeBSD gettext is in /usr/local 16290 CFLAGS="$CFLAGS -I/usr/local/include" 16291 LDFLAGS="$LDFLAGS -L/usr/local/lib" 16292else 16293 rodentman1dir=${mandir}/man1 16294 ac_uname_s=`uname -s` 16295 if test "$ac_uname_s" = "Linux" ; then 16296 16297cat >>confdefs.h <<_ACEOF 16298#define THIS_IS_LINUX 1 16299_ACEOF 16300 16301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: System is Linux." >&5 16302$as_echo "System is Linux." >&6; } 16303 else 16304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not Linux." >&5 16305$as_echo "Not Linux." >&6; } 16306 fi 16307 CFLAGS="$CFLAGS" 16308 LDFLAGS="$LDFLAGS" 16309fi 16310ac_uname_s=`uname -s` 16311 UNAME_S=$ac_uname_s 16312 if test x"$os" != x ; then 16313 WANT_FREEBSD_TRUE= 16314 WANT_FREEBSD_FALSE='#' 16315else 16316 WANT_FREEBSD_TRUE='#' 16317 WANT_FREEBSD_FALSE= 16318fi 16319 16320 16321 16322 16323 if test "$ac_uname_s" = "Linux"; then 16324 ONLY_LINUX_TRUE= 16325 ONLY_LINUX_FALSE='#' 16326else 16327 ONLY_LINUX_TRUE='#' 16328 ONLY_LINUX_FALSE= 16329fi 16330 16331 16332{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU Awk" >&5 16333$as_echo_n "checking for GNU Awk... " >&6; } 16334GAWK_VERSION=`gawk --version` 16335INDEX=`expr "$GAWK_VERSION" : "GNU Awk"` 16336#echo "INDEX=$INDEX" 16337if test $INDEX -gt 0 ; then 16338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU gawk found" >&5 16339$as_echo "GNU gawk found" >&6; } 16340else 16341 as_fn_error $? "GNU gawk not found! Please install and then rerun configure." "$LINENO" 5 16342fi 16343 16344 16345 16346{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU grep" >&5 16347$as_echo_n "checking for GNU grep... " >&6; } 16348GAWK_VERSION=`grep --version` 16349INDEX=`expr "$GAWK_VERSION" : ".*GNU"` 16350 16351if test $INDEX -gt 0 ; then 16352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU grep found" >&5 16353$as_echo "GNU grep found" >&6; } 16354 GNU_GREP=1 16355 WITH_GNU_GREP=yes 16356 16357 16358cat >>confdefs.h <<_ACEOF 16359#define GNU_GREP $GNU_GREP 16360_ACEOF 16361 16362else 16363 WITH_GNU_GREP=no 16364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: grep is not GNU. Some features will be define by BSD!" >&5 16365$as_echo "grep is not GNU. Some features will be define by BSD!" >&6; } 16366fi 16367 16368 16369 16370 16371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ls" >&5 16372$as_echo_n "checking for GNU ls... " >&6; } 16373GAWK_VERSION=`ls --version` 16374INDEX=`expr "$GAWK_VERSION" : ".*GNU"` 16375 16376# WITH_GNU_LS subst is for librfm-settings.in, configure script output. 16377# GNU_LS subst is for .h.in preparations 16378if test $INDEX -gt 0 ; then 16379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU ls found" >&5 16380$as_echo "GNU ls found" >&6; } 16381 WITH_GNU_LS=yes 16382 GNU_LS="#define GNU_LS 1" 16383else 16384 GNU_LS="/*#define GNU_LS */" 16385 WITH_GNU_LS=no 16386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ls is not GNU. Some features will be define by BSD ls." >&5 16387$as_echo "ls is not GNU. Some features will be define by BSD ls." >&6; } 16388fi 16389 16390 16391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU cp" >&5 16392$as_echo_n "checking for GNU cp... " >&6; } 16393GAWK_VERSION=`cp --version` 16394INDEX=`expr "$GAWK_VERSION" : ".*GNU"` 16395 16396if test $INDEX -gt 0 ; then 16397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU cp found" >&5 16398$as_echo "GNU cp found" >&6; } 16399 WITH_GNU_CP=yes 16400 GNU_CP="#define GNU_CP 1" 16401else 16402 WITH_GNU_CP=no 16403 GNU_CP="/*#define GNU_CP */" 16404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cp is not GNU. Some features will be define by BSD!" >&5 16405$as_echo "cp is not GNU. Some features will be define by BSD!" >&6; } 16406fi 16407 16408 16409{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU mv" >&5 16410$as_echo_n "checking for GNU mv... " >&6; } 16411GAWK_VERSION=`mv --version` 16412INDEX=`expr "$GAWK_VERSION" : ".*GNU"` 16413 16414if test $INDEX -gt 0 ; then 16415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU mv found" >&5 16416$as_echo "GNU mv found" >&6; } 16417 WITH_GNU_MV=yes 16418 GNU_MV="#define GNU_MV 1" 16419else 16420 WITH_GNU_MV=no 16421 GNU_MV="/*#define GNU_MV */" 16422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mv is not GNU. Some features will be define by BSD!" >&5 16423$as_echo "mv is not GNU. Some features will be define by BSD!" >&6; } 16424fi 16425 16426 16427{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ln" >&5 16428$as_echo_n "checking for GNU ln... " >&6; } 16429GAWK_VERSION=`ln --version` 16430INDEX=`expr "$GAWK_VERSION" : ".*GNU"` 16431 16432if test $INDEX -gt 0 ; then 16433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU ln found" >&5 16434$as_echo "GNU ln found" >&6; } 16435 WITH_GNU_LN=yes 16436 GNU_LN="#define GNU_LN 1" 16437else 16438 WITH_GNU_LN=no 16439 GNU_LN="/*#define GNU_LN */" 16440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ln is not GNU. Some features will not be enabled!" >&5 16441$as_echo "ln is not GNU. Some features will not be enabled!" >&6; } 16442fi 16443 16444 16445{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU rm" >&5 16446$as_echo_n "checking for GNU rm... " >&6; } 16447GAWK_VERSION=`rm --version` 16448INDEX=`expr "$GAWK_VERSION" : ".*GNU"` 16449#echo "INDEX=$INDEX" 16450 16451if test $INDEX -gt 0 ; then 16452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU rm found" >&5 16453$as_echo "GNU rm found" >&6; } 16454 WITH_GNU_RM=yes 16455 GNU_RM="#define GNU_RM 1" 16456else 16457 WITH_GNU_RM=no 16458 GNU_RM="/*#define GNU_RM */" 16459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: rm is not GNU. Some features will not be enabled!" >&5 16460$as_echo "rm is not GNU. Some features will not be enabled!" >&6; } 16461fi 16462 16463 16464{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU shred" >&5 16465$as_echo_n "checking for GNU shred... " >&6; } 16466GAWK_VERSION=`shred --version` 16467INDEX=`expr "$GAWK_VERSION" : ".*GNU"` 16468#echo "INDEX=$INDEX" 16469 16470if test $INDEX -gt 0 ; then 16471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU shred found" >&5 16472$as_echo "GNU shred found" >&6; } 16473 WITH_GNU_SHRED=yes 16474 GNU_SHRED="#define GNU_SHRED 1" 16475else 16476 WITH_GNU_SHRED=no 16477 GNU_SHRED="/*#define GNU_SHRED */" 16478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: shred is not GNU. Some features will not be enabled!" >&5 16479$as_echo "shred is not GNU. Some features will not be enabled!" >&6; } 16480fi 16481 16482 16483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU Ghostscript" >&5 16484$as_echo_n "checking for GNU Ghostscript... " >&6; } 16485GS_VERSION=`gs --version` 16486if test x"$GS_VERSION" = x; then 16487 WITH_GNU_GS=no 16488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU Ghostscript not found" >&5 16489$as_echo "GNU Ghostscript not found" >&6; } 16490else 16491 WITH_GNU_GS=yes 16492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Ghostscript found" >&5 16493$as_echo "Ghostscript found" >&6; } 16494fi 16495 16496 16497 16498 16499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking distro" >&5 16500$as_echo_n "checking distro... " >&6; }; 16501result=`ls -l /sbin/yast 2>/dev/null | grep yast2` 16502 if test x"${result}" = x; then 16503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not Suse." >&5 16504$as_echo " not Suse." >&6; } 16505 LIBRSVG_NAME=librsvg2 16506 DISTRO_X=libSM-devel 16507 DISTRO_X_VERSION=1.2 16508 16509 else 16510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Suse." >&5 16511$as_echo " Suse." >&6; } 16512 LIBRSVG_NAME=librsvg 16513 DISTRO_X=xorg-x11-devel 16514 DISTRO_X_VERSION=7.6 16515 fi 16516 16517{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gentoo emerge" >&5 16518$as_echo_n "checking for gentoo emerge... " >&6; } 16519# Extract the first word of "emerge", so it can be a program name with args. 16520set dummy emerge; ac_word=$2 16521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16522$as_echo_n "checking for $ac_word... " >&6; } 16523if ${ac_cv_prog_cv_emerge+:} false; then : 16524 $as_echo_n "(cached) " >&6 16525else 16526 if test -n "$cv_emerge"; then 16527 ac_cv_prog_cv_emerge="$cv_emerge" # Let the user override the test. 16528else 16529as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16530for as_dir in $PATH 16531do 16532 IFS=$as_save_IFS 16533 test -z "$as_dir" && as_dir=. 16534 for ac_exec_ext in '' $ac_executable_extensions; do 16535 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16536 ac_cv_prog_cv_emerge="yes" 16537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16538 break 2 16539 fi 16540done 16541 done 16542IFS=$as_save_IFS 16543 16544 test -z "$ac_cv_prog_cv_emerge" && ac_cv_prog_cv_emerge="no" 16545fi 16546fi 16547cv_emerge=$ac_cv_prog_cv_emerge 16548if test -n "$cv_emerge"; then 16549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cv_emerge" >&5 16550$as_echo "$cv_emerge" >&6; } 16551else 16552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16553$as_echo "no" >&6; } 16554fi 16555 16556 16557 if test "$cv_emerge" != no; then 16558 WANT_GENTOO_TRUE= 16559 WANT_GENTOO_FALSE='#' 16560else 16561 WANT_GENTOO_TRUE='#' 16562 WANT_GENTOO_FALSE= 16563fi 16564 16565 16566{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for debian dpkg" >&5 16567$as_echo_n "checking for debian dpkg... " >&6; } 16568# Extract the first word of "dpkg", so it can be a program name with args. 16569set dummy dpkg; ac_word=$2 16570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16571$as_echo_n "checking for $ac_word... " >&6; } 16572if ${ac_cv_prog_cv_dpkg+:} false; then : 16573 $as_echo_n "(cached) " >&6 16574else 16575 if test -n "$cv_dpkg"; then 16576 ac_cv_prog_cv_dpkg="$cv_dpkg" # Let the user override the test. 16577else 16578as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16579for as_dir in $PATH 16580do 16581 IFS=$as_save_IFS 16582 test -z "$as_dir" && as_dir=. 16583 for ac_exec_ext in '' $ac_executable_extensions; do 16584 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16585 ac_cv_prog_cv_dpkg="yes" 16586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16587 break 2 16588 fi 16589done 16590 done 16591IFS=$as_save_IFS 16592 16593 test -z "$ac_cv_prog_cv_dpkg" && ac_cv_prog_cv_dpkg="no" 16594fi 16595fi 16596cv_dpkg=$ac_cv_prog_cv_dpkg 16597if test -n "$cv_dpkg"; then 16598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cv_dpkg" >&5 16599$as_echo "$cv_dpkg" >&6; } 16600else 16601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16602$as_echo "no" >&6; } 16603fi 16604 16605 16606 if test "$cv_dpkg" != no; then 16607 WANT_DEBIAN_TRUE= 16608 WANT_DEBIAN_FALSE='#' 16609else 16610 WANT_DEBIAN_TRUE='#' 16611 WANT_DEBIAN_FALSE= 16612fi 16613 16614 16615 16616 16617 16618# Configurable options at script execution 16619# Enable Debug option (implies core dumps) 16620 16621 16622# Check whether --with-debug was given. 16623if test "${with_debug+set}" = set; then : 16624 withval=$with_debug; 16625fi 16626 16627if test "$with_debug" = "yes" 16628then 16629 WITH_CORE=yes 16630 16631 16632cat >>confdefs.h <<_ACEOF 16633#define CORE $with_core 16634_ACEOF 16635 16636 WITH_DEBUG=yes 16637 16638 16639cat >>confdefs.h <<_ACEOF 16640#define DEBUG $with_debug 16641_ACEOF 16642 16643 { $as_echo "$as_me:${as_lineno-$LINENO}: You enabled debug. Good for you." >&5 16644$as_echo "$as_me: You enabled debug. Good for you." >&6;} 16645 DB=--with-debug 16646 CFLAGS="-O0 -ggdb" 16647elif test "$with_debug" != "" 16648then 16649 WITH_CORE=yes 16650 16651 16652cat >>confdefs.h <<_ACEOF 16653#define CORE $with_core 16654_ACEOF 16655 16656 WITH_DEBUG=yes 16657 { $as_echo "$as_me:${as_lineno-$LINENO}: Your specific kind of debug is $with_debug" >&5 16658$as_echo "$as_me: Your specific kind of debug is $with_debug" >&6;} 16659 16660 16661cat >>confdefs.h <<_ACEOF 16662#define DEBUG $with_debug 16663_ACEOF 16664 16665 CFLAGS="-O0 -ggdb" 16666 16667else 16668 WITH_DEBUG=no 16669 { $as_echo "$as_me:${as_lineno-$LINENO}: No debug for you." >&5 16670$as_echo "$as_me: No debug for you." >&6;} 16671 CFLAGS="-O2" 16672fi 16673 16674 16675# Enable Trace option (use with care) 16676 16677 16678# Check whether --with-trace was given. 16679if test "${with_trace+set}" = set; then : 16680 withval=$with_trace; 16681fi 16682 16683if test "$with_trace" = "yes" 16684then 16685 WITH_CORE=yes 16686 16687 16688cat >>confdefs.h <<_ACEOF 16689#define CORE $with_core 16690_ACEOF 16691 16692 { $as_echo "$as_me:${as_lineno-$LINENO}: You enabled trace. Good for you." >&5 16693$as_echo "$as_me: You enabled trace. Good for you." >&6;} 16694 WITH_TRACE=yes 16695 DEBUG_TRACE=yes 16696 16697 16698cat >>confdefs.h <<_ACEOF 16699#define DEBUG_TRACE $with_trace 16700_ACEOF 16701 16702 TR=--with-trace 16703elif test "$with_trace" != "" 16704then 16705 WITH_CORE=yes 16706 16707 16708cat >>confdefs.h <<_ACEOF 16709#define CORE $with_core 16710_ACEOF 16711 16712 WITH_TRACE=yes 16713 DEBUG_TRACE=yes 16714 16715 16716cat >>confdefs.h <<_ACEOF 16717#define DEBUG_TRACE $with_trace 16718_ACEOF 16719 16720 { $as_echo "$as_me:${as_lineno-$LINENO}: Your specific kind of trace is $with_trace" >&5 16721$as_echo "$as_me: Your specific kind of trace is $with_trace" >&6;} 16722else 16723 WITH_TRACE=no 16724 16725 { $as_echo "$as_me:${as_lineno-$LINENO}: No trace for you." >&5 16726$as_echo "$as_me: No trace for you." >&6;} 16727fi 16728 16729# Enable core dumps option 16730 16731 16732# Check whether --with-core was given. 16733if test "${with_core+set}" = set; then : 16734 withval=$with_core; 16735fi 16736 16737if test "$with_core" = "yes" 16738then 16739 WITH_CORE=yes 16740 16741 16742cat >>confdefs.h <<_ACEOF 16743#define CORE $with_core 16744_ACEOF 16745 16746 { $as_echo "$as_me:${as_lineno-$LINENO}: You enabled core dumps. Good for you." >&5 16747$as_echo "$as_me: You enabled core dumps. Good for you." >&6;} 16748 CFLAGS="-O0 -ggdb" 16749elif test "$with_core" != "" 16750then 16751 WITH_CORE=yes 16752 { $as_echo "$as_me:${as_lineno-$LINENO}: Your specific kind of core dumps is $with_core" >&5 16753$as_echo "$as_me: Your specific kind of core dumps is $with_core" >&6;} 16754 16755 16756cat >>confdefs.h <<_ACEOF 16757#define CORE $with_core 16758_ACEOF 16759 16760 CFLAGS="-O0 -ggdb" 16761 16762else 16763 WITH_CORE=no 16764 { $as_echo "$as_me:${as_lineno-$LINENO}: No core dumps for you." >&5 16765$as_echo "$as_me: No core dumps for you." >&6;} 16766fi 16767 16768 16769 16770 16771 GETTEXT_PACKAGE=rodent-fstab 16772 16773cat >>confdefs.h <<_ACEOF 16774#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" 16775_ACEOF 16776 16777 16778 16779 ALL_LINGUAS="af am an ar as ast az be@latin be bg bn_IN bn bo br bs ca ca@valencia crh csb cs cy da de dz el en_AU en_CA en_GB en_US eo es et eu fa fi fr fur fy ga gl gu gv he hi hne hr hsb hu hy ia id ig io is it ja ka kg kk km kn ko ks ku ky lb lg li lt lv mai mg mi mk ml mn mr ms my nb nds ne nl nn no nso oc or pa pl ps pt_BR pt pt_PT ro ru rw se si sk sl sq sr@ijekavianlatin sr@ijekavian sr@ije sr@latin sr sv ta te tg th tk tr tt ug uk ur uz@cyrillic uz vi wa xh yi yo zh_CN zh_HK zh zh_TW.Big5 zh_TW zu" 16780 16781 for ac_header in locale.h 16782do : 16783 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" 16784if test "x$ac_cv_header_locale_h" = xyes; then : 16785 cat >>confdefs.h <<_ACEOF 16786#define HAVE_LOCALE_H 1 16787_ACEOF 16788 16789fi 16790 16791done 16792 16793 if test $ac_cv_header_locale_h = yes; then 16794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 16795$as_echo_n "checking for LC_MESSAGES... " >&6; } 16796if ${am_cv_val_LC_MESSAGES+:} false; then : 16797 $as_echo_n "(cached) " >&6 16798else 16799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16800/* end confdefs.h. */ 16801#include <locale.h> 16802int 16803main () 16804{ 16805return LC_MESSAGES 16806 ; 16807 return 0; 16808} 16809_ACEOF 16810if ac_fn_c_try_link "$LINENO"; then : 16811 am_cv_val_LC_MESSAGES=yes 16812else 16813 am_cv_val_LC_MESSAGES=no 16814fi 16815rm -f core conftest.err conftest.$ac_objext \ 16816 conftest$ac_exeext conftest.$ac_ext 16817fi 16818{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5 16819$as_echo "$am_cv_val_LC_MESSAGES" >&6; } 16820 if test $am_cv_val_LC_MESSAGES = yes; then 16821 16822$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h 16823 16824 fi 16825 fi 16826 USE_NLS=yes 16827 16828 16829 gt_cv_have_gettext=no 16830 16831 CATOBJEXT=NONE 16832 XGETTEXT=: 16833 INTLLIBS= 16834 16835 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" 16836if test "x$ac_cv_header_libintl_h" = xyes; then : 16837 gt_cv_func_dgettext_libintl="no" 16838 libintl_extra_libs="" 16839 16840 # 16841 # First check in libc 16842 # 16843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5 16844$as_echo_n "checking for ngettext in libc... " >&6; } 16845if ${gt_cv_func_ngettext_libc+:} false; then : 16846 $as_echo_n "(cached) " >&6 16847else 16848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16849/* end confdefs.h. */ 16850 16851#include <libintl.h> 16852 16853int 16854main () 16855{ 16856return !ngettext ("","", 1) 16857 ; 16858 return 0; 16859} 16860_ACEOF 16861if ac_fn_c_try_link "$LINENO"; then : 16862 gt_cv_func_ngettext_libc=yes 16863else 16864 gt_cv_func_ngettext_libc=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: $gt_cv_func_ngettext_libc" >&5 16871$as_echo "$gt_cv_func_ngettext_libc" >&6; } 16872 16873 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 16874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5 16875$as_echo_n "checking for dgettext in libc... " >&6; } 16876if ${gt_cv_func_dgettext_libc+:} false; then : 16877 $as_echo_n "(cached) " >&6 16878else 16879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16880/* end confdefs.h. */ 16881 16882#include <libintl.h> 16883 16884int 16885main () 16886{ 16887return !dgettext ("","") 16888 ; 16889 return 0; 16890} 16891_ACEOF 16892if ac_fn_c_try_link "$LINENO"; then : 16893 gt_cv_func_dgettext_libc=yes 16894else 16895 gt_cv_func_dgettext_libc=no 16896fi 16897rm -f core conftest.err conftest.$ac_objext \ 16898 conftest$ac_exeext conftest.$ac_ext 16899 16900fi 16901{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5 16902$as_echo "$gt_cv_func_dgettext_libc" >&6; } 16903 fi 16904 16905 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 16906 for ac_func in bind_textdomain_codeset 16907do : 16908 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 16909if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 16910 cat >>confdefs.h <<_ACEOF 16911#define HAVE_BIND_TEXTDOMAIN_CODESET 1 16912_ACEOF 16913 16914fi 16915done 16916 16917 fi 16918 16919 # 16920 # If we don't have everything we want, check in libintl 16921 # 16922 if test "$gt_cv_func_dgettext_libc" != "yes" \ 16923 || test "$gt_cv_func_ngettext_libc" != "yes" \ 16924 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then 16925 16926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 16927$as_echo_n "checking for bindtextdomain in -lintl... " >&6; } 16928if ${ac_cv_lib_intl_bindtextdomain+:} false; then : 16929 $as_echo_n "(cached) " >&6 16930else 16931 ac_check_lib_save_LIBS=$LIBS 16932LIBS="-lintl $LIBS" 16933cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16934/* end confdefs.h. */ 16935 16936/* Override any GCC internal prototype to avoid an error. 16937 Use char because int might match the return type of a GCC 16938 builtin and then its argument prototype would still apply. */ 16939#ifdef __cplusplus 16940extern "C" 16941#endif 16942char bindtextdomain (); 16943int 16944main () 16945{ 16946return bindtextdomain (); 16947 ; 16948 return 0; 16949} 16950_ACEOF 16951if ac_fn_c_try_link "$LINENO"; then : 16952 ac_cv_lib_intl_bindtextdomain=yes 16953else 16954 ac_cv_lib_intl_bindtextdomain=no 16955fi 16956rm -f core conftest.err conftest.$ac_objext \ 16957 conftest$ac_exeext conftest.$ac_ext 16958LIBS=$ac_check_lib_save_LIBS 16959fi 16960{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 16961$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } 16962if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then : 16963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 16964$as_echo_n "checking for ngettext in -lintl... " >&6; } 16965if ${ac_cv_lib_intl_ngettext+:} false; then : 16966 $as_echo_n "(cached) " >&6 16967else 16968 ac_check_lib_save_LIBS=$LIBS 16969LIBS="-lintl $LIBS" 16970cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16971/* end confdefs.h. */ 16972 16973/* Override any GCC internal prototype to avoid an error. 16974 Use char because int might match the return type of a GCC 16975 builtin and then its argument prototype would still apply. */ 16976#ifdef __cplusplus 16977extern "C" 16978#endif 16979char ngettext (); 16980int 16981main () 16982{ 16983return ngettext (); 16984 ; 16985 return 0; 16986} 16987_ACEOF 16988if ac_fn_c_try_link "$LINENO"; then : 16989 ac_cv_lib_intl_ngettext=yes 16990else 16991 ac_cv_lib_intl_ngettext=no 16992fi 16993rm -f core conftest.err conftest.$ac_objext \ 16994 conftest$ac_exeext conftest.$ac_ext 16995LIBS=$ac_check_lib_save_LIBS 16996fi 16997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 16998$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 16999if test "x$ac_cv_lib_intl_ngettext" = xyes; then : 17000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 17001$as_echo_n "checking for dgettext in -lintl... " >&6; } 17002if ${ac_cv_lib_intl_dgettext+:} false; then : 17003 $as_echo_n "(cached) " >&6 17004else 17005 ac_check_lib_save_LIBS=$LIBS 17006LIBS="-lintl $LIBS" 17007cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17008/* end confdefs.h. */ 17009 17010/* Override any GCC internal prototype to avoid an error. 17011 Use char because int might match the return type of a GCC 17012 builtin and then its argument prototype would still apply. */ 17013#ifdef __cplusplus 17014extern "C" 17015#endif 17016char dgettext (); 17017int 17018main () 17019{ 17020return dgettext (); 17021 ; 17022 return 0; 17023} 17024_ACEOF 17025if ac_fn_c_try_link "$LINENO"; then : 17026 ac_cv_lib_intl_dgettext=yes 17027else 17028 ac_cv_lib_intl_dgettext=no 17029fi 17030rm -f core conftest.err conftest.$ac_objext \ 17031 conftest$ac_exeext conftest.$ac_ext 17032LIBS=$ac_check_lib_save_LIBS 17033fi 17034{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 17035$as_echo "$ac_cv_lib_intl_dgettext" >&6; } 17036if test "x$ac_cv_lib_intl_dgettext" = xyes; then : 17037 gt_cv_func_dgettext_libintl=yes 17038fi 17039 17040fi 17041 17042fi 17043 17044 17045 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then 17046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5 17047$as_echo_n "checking if -liconv is needed to use gettext... " >&6; } 17048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 17049$as_echo "" >&6; } 17050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 17051$as_echo_n "checking for ngettext in -lintl... " >&6; } 17052if ${ac_cv_lib_intl_ngettext+:} false; then : 17053 $as_echo_n "(cached) " >&6 17054else 17055 ac_check_lib_save_LIBS=$LIBS 17056LIBS="-lintl -liconv $LIBS" 17057cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17058/* end confdefs.h. */ 17059 17060/* Override any GCC internal prototype to avoid an error. 17061 Use char because int might match the return type of a GCC 17062 builtin and then its argument prototype would still apply. */ 17063#ifdef __cplusplus 17064extern "C" 17065#endif 17066char ngettext (); 17067int 17068main () 17069{ 17070return ngettext (); 17071 ; 17072 return 0; 17073} 17074_ACEOF 17075if ac_fn_c_try_link "$LINENO"; then : 17076 ac_cv_lib_intl_ngettext=yes 17077else 17078 ac_cv_lib_intl_ngettext=no 17079fi 17080rm -f core conftest.err conftest.$ac_objext \ 17081 conftest$ac_exeext conftest.$ac_ext 17082LIBS=$ac_check_lib_save_LIBS 17083fi 17084{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 17085$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 17086if test "x$ac_cv_lib_intl_ngettext" = xyes; then : 17087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5 17088$as_echo_n "checking for dcgettext in -lintl... " >&6; } 17089if ${ac_cv_lib_intl_dcgettext+:} false; then : 17090 $as_echo_n "(cached) " >&6 17091else 17092 ac_check_lib_save_LIBS=$LIBS 17093LIBS="-lintl -liconv $LIBS" 17094cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17095/* end confdefs.h. */ 17096 17097/* Override any GCC internal prototype to avoid an error. 17098 Use char because int might match the return type of a GCC 17099 builtin and then its argument prototype would still apply. */ 17100#ifdef __cplusplus 17101extern "C" 17102#endif 17103char dcgettext (); 17104int 17105main () 17106{ 17107return dcgettext (); 17108 ; 17109 return 0; 17110} 17111_ACEOF 17112if ac_fn_c_try_link "$LINENO"; then : 17113 ac_cv_lib_intl_dcgettext=yes 17114else 17115 ac_cv_lib_intl_dcgettext=no 17116fi 17117rm -f core conftest.err conftest.$ac_objext \ 17118 conftest$ac_exeext conftest.$ac_ext 17119LIBS=$ac_check_lib_save_LIBS 17120fi 17121{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5 17122$as_echo "$ac_cv_lib_intl_dcgettext" >&6; } 17123if test "x$ac_cv_lib_intl_dcgettext" = xyes; then : 17124 gt_cv_func_dgettext_libintl=yes 17125 libintl_extra_libs=-liconv 17126else 17127 : 17128fi 17129 17130else 17131 : 17132fi 17133 17134 fi 17135 17136 # 17137 # If we found libintl, then check in it for bind_textdomain_codeset(); 17138 # we'll prefer libc if neither have bind_textdomain_codeset(), 17139 # and both have dgettext and ngettext 17140 # 17141 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then 17142 glib_save_LIBS="$LIBS" 17143 LIBS="$LIBS -lintl $libintl_extra_libs" 17144 unset ac_cv_func_bind_textdomain_codeset 17145 for ac_func in bind_textdomain_codeset 17146do : 17147 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 17148if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 17149 cat >>confdefs.h <<_ACEOF 17150#define HAVE_BIND_TEXTDOMAIN_CODESET 1 17151_ACEOF 17152 17153fi 17154done 17155 17156 LIBS="$glib_save_LIBS" 17157 17158 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then 17159 gt_cv_func_dgettext_libc=no 17160 else 17161 if test "$gt_cv_func_dgettext_libc" = "yes" \ 17162 && test "$gt_cv_func_ngettext_libc" = "yes"; then 17163 gt_cv_func_dgettext_libintl=no 17164 fi 17165 fi 17166 fi 17167 fi 17168 17169 if test "$gt_cv_func_dgettext_libc" = "yes" \ 17170 || test "$gt_cv_func_dgettext_libintl" = "yes"; then 17171 gt_cv_have_gettext=yes 17172 fi 17173 17174 if test "$gt_cv_func_dgettext_libintl" = "yes"; then 17175 INTLLIBS="-lintl $libintl_extra_libs" 17176 fi 17177 17178 if test "$gt_cv_have_gettext" = "yes"; then 17179 17180$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 17181 17182 # Extract the first word of "msgfmt", so it can be a program name with args. 17183set dummy msgfmt; ac_word=$2 17184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17185$as_echo_n "checking for $ac_word... " >&6; } 17186if ${ac_cv_path_MSGFMT+:} false; then : 17187 $as_echo_n "(cached) " >&6 17188else 17189 case "$MSGFMT" in 17190 /*) 17191 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 17192 ;; 17193 *) 17194 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 17195 for ac_dir in $PATH; do 17196 test -z "$ac_dir" && ac_dir=. 17197 if test -f $ac_dir/$ac_word; then 17198 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then 17199 ac_cv_path_MSGFMT="$ac_dir/$ac_word" 17200 break 17201 fi 17202 fi 17203 done 17204 IFS="$ac_save_ifs" 17205 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" 17206 ;; 17207esac 17208fi 17209MSGFMT="$ac_cv_path_MSGFMT" 17210if test "$MSGFMT" != "no"; then 17211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 17212$as_echo "$MSGFMT" >&6; } 17213else 17214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17215$as_echo "no" >&6; } 17216fi 17217 if test "$MSGFMT" != "no"; then 17218 glib_save_LIBS="$LIBS" 17219 LIBS="$LIBS $INTLLIBS" 17220 for ac_func in dcgettext 17221do : 17222 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext" 17223if test "x$ac_cv_func_dcgettext" = xyes; then : 17224 cat >>confdefs.h <<_ACEOF 17225#define HAVE_DCGETTEXT 1 17226_ACEOF 17227 17228fi 17229done 17230 17231 MSGFMT_OPTS= 17232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5 17233$as_echo_n "checking if msgfmt accepts -c... " >&6; } 17234 cat >conftest.foo <<_ACEOF 17235 17236msgid "" 17237msgstr "" 17238"Content-Type: text/plain; charset=UTF-8\n" 17239"Project-Id-Version: test 1.0\n" 17240"PO-Revision-Date: 2007-02-15 12:01+0100\n" 17241"Last-Translator: test <foo@bar.xx>\n" 17242"Language-Team: C <LL@li.org>\n" 17243"MIME-Version: 1.0\n" 17244"Content-Transfer-Encoding: 8bit\n" 17245 17246_ACEOF 17247if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5 17248 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5 17249 ac_status=$? 17250 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17251 test $ac_status = 0; }; then 17252 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17253$as_echo "yes" >&6; } 17254else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17255$as_echo "no" >&6; } 17256echo "$as_me: failed input was:" >&5 17257sed 's/^/| /' conftest.foo >&5 17258fi 17259 17260 # Extract the first word of "gmsgfmt", so it can be a program name with args. 17261set dummy gmsgfmt; ac_word=$2 17262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17263$as_echo_n "checking for $ac_word... " >&6; } 17264if ${ac_cv_path_GMSGFMT+:} false; then : 17265 $as_echo_n "(cached) " >&6 17266else 17267 case $GMSGFMT in 17268 [\\/]* | ?:[\\/]*) 17269 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 17270 ;; 17271 *) 17272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17273for as_dir in $PATH 17274do 17275 IFS=$as_save_IFS 17276 test -z "$as_dir" && as_dir=. 17277 for ac_exec_ext in '' $ac_executable_extensions; do 17278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17279 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 17280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17281 break 2 17282 fi 17283done 17284 done 17285IFS=$as_save_IFS 17286 17287 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 17288 ;; 17289esac 17290fi 17291GMSGFMT=$ac_cv_path_GMSGFMT 17292if test -n "$GMSGFMT"; then 17293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 17294$as_echo "$GMSGFMT" >&6; } 17295else 17296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17297$as_echo "no" >&6; } 17298fi 17299 17300 17301 # Extract the first word of "xgettext", so it can be a program name with args. 17302set dummy xgettext; ac_word=$2 17303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17304$as_echo_n "checking for $ac_word... " >&6; } 17305if ${ac_cv_path_XGETTEXT+:} false; then : 17306 $as_echo_n "(cached) " >&6 17307else 17308 case "$XGETTEXT" in 17309 /*) 17310 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 17311 ;; 17312 *) 17313 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 17314 for ac_dir in $PATH; do 17315 test -z "$ac_dir" && ac_dir=. 17316 if test -f $ac_dir/$ac_word; then 17317 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then 17318 ac_cv_path_XGETTEXT="$ac_dir/$ac_word" 17319 break 17320 fi 17321 fi 17322 done 17323 IFS="$ac_save_ifs" 17324 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 17325 ;; 17326esac 17327fi 17328XGETTEXT="$ac_cv_path_XGETTEXT" 17329if test "$XGETTEXT" != ":"; then 17330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 17331$as_echo "$XGETTEXT" >&6; } 17332else 17333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17334$as_echo "no" >&6; } 17335fi 17336 17337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17338/* end confdefs.h. */ 17339 17340int 17341main () 17342{ 17343extern int _nl_msg_cat_cntr; 17344 return _nl_msg_cat_cntr 17345 ; 17346 return 0; 17347} 17348_ACEOF 17349if ac_fn_c_try_link "$LINENO"; then : 17350 CATOBJEXT=.gmo 17351 DATADIRNAME=share 17352else 17353 case $host in 17354 *-*-solaris*) 17355 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 17356if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 17357 CATOBJEXT=.gmo 17358 DATADIRNAME=share 17359else 17360 CATOBJEXT=.mo 17361 DATADIRNAME=lib 17362fi 17363 17364 ;; 17365 *-*-openbsd*) 17366 CATOBJEXT=.mo 17367 DATADIRNAME=share 17368 ;; 17369 *) 17370 CATOBJEXT=.mo 17371 DATADIRNAME=lib 17372 ;; 17373 esac 17374fi 17375rm -f core conftest.err conftest.$ac_objext \ 17376 conftest$ac_exeext conftest.$ac_ext 17377 LIBS="$glib_save_LIBS" 17378 INSTOBJEXT=.mo 17379 else 17380 gt_cv_have_gettext=no 17381 fi 17382 fi 17383 17384fi 17385 17386 17387 17388 if test "$gt_cv_have_gettext" = "yes" ; then 17389 17390$as_echo "#define ENABLE_NLS 1" >>confdefs.h 17391 17392 fi 17393 17394 if test "$XGETTEXT" != ":"; then 17395 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then 17396 : ; 17397 else 17398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 17399$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } 17400 XGETTEXT=":" 17401 fi 17402 fi 17403 17404 # We need to process the po/ directory. 17405 POSUB=po 17406 17407 ac_config_commands="$ac_config_commands default-1" 17408 17409 17410 for lang in $ALL_LINGUAS; do 17411 GMOFILES="$GMOFILES $lang.gmo" 17412 POFILES="$POFILES $lang.po" 17413 done 17414 17415 17416 17417 17418 17419 17420 17421 17422 17423 17424 17425 17426 17427 if test "$gt_cv_have_gettext" = "yes"; then 17428 if test "x$ALL_LINGUAS" = "x"; then 17429 LINGUAS= 17430 else 17431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5 17432$as_echo_n "checking for catalogs to be installed... " >&6; } 17433 NEW_LINGUAS= 17434 for presentlang in $ALL_LINGUAS; do 17435 useit=no 17436 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then 17437 desiredlanguages="$LINGUAS" 17438 else 17439 desiredlanguages="$ALL_LINGUAS" 17440 fi 17441 for desiredlang in $desiredlanguages; do 17442 # Use the presentlang catalog if desiredlang is 17443 # a. equal to presentlang, or 17444 # b. a variant of presentlang (because in this case, 17445 # presentlang can be used as a fallback for messages 17446 # which are not translated in the desiredlang catalog). 17447 case "$desiredlang" in 17448 "$presentlang"*) useit=yes;; 17449 esac 17450 done 17451 if test $useit = yes; then 17452 NEW_LINGUAS="$NEW_LINGUAS $presentlang" 17453 fi 17454 done 17455 LINGUAS=$NEW_LINGUAS 17456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5 17457$as_echo "$LINGUAS" >&6; } 17458 fi 17459 17460 if test -n "$LINGUAS"; then 17461 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done 17462 fi 17463 fi 17464 17465 MKINSTALLDIRS= 17466 if test -n "$ac_aux_dir"; then 17467 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" 17468 fi 17469 if test -z "$MKINSTALLDIRS"; then 17470 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" 17471 fi 17472 17473 17474 test -d po || mkdir po 17475 if test "x$srcdir" != "x."; then 17476 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then 17477 posrcprefix="$srcdir/" 17478 else 17479 posrcprefix="../$srcdir/" 17480 fi 17481 else 17482 posrcprefix="../" 17483 fi 17484 rm -f po/POTFILES 17485 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ 17486 < $srcdir/po/POTFILES.in > po/POTFILES 17487 17488 17489 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 17490if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 17491 17492fi 17493 17494 17495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for locales directory" >&5 17496$as_echo_n "checking for locales directory... " >&6; } 17497 17498# Check whether --with-locales-dir was given. 17499if test "${with_locales_dir+set}" = set; then : 17500 withval=$with_locales_dir; localedir=$withval 17501else 17502 17503 if test x"$CATOBJEXT" = x".mo"; then 17504 localedir=$libdir/locale 17505 else 17506 localedir=$datadir/locale 17507 fi 17508 17509fi 17510 17511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $localedir" >&5 17512$as_echo "$localedir" >&6; } 17513 17514 17515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional xgettext flags" >&5 17516$as_echo_n "checking for additional xgettext flags... " >&6; } 17517 if test x"$XGETTEXT_ARGS" = x""; then 17518 XGETTEXT_ARGS="--keyword=Q_"; 17519 else 17520 XGETTEXT_ARGS="$XGETTEXT_ARGS --keyword=Q_"; 17521 fi 17522 17523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT_ARGS" >&5 17524$as_echo "$XGETTEXT_ARGS" >&6; } 17525 17526 17527{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/pixmaps" >&5 17528$as_echo_n "checking for /usr/share/pixmaps... " >&6; } 17529if ${ac_cv_file__usr_share_pixmaps+:} false; then : 17530 $as_echo_n "(cached) " >&6 17531else 17532 test "$cross_compiling" = yes && 17533 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 17534if test -r "/usr/share/pixmaps"; then 17535 ac_cv_file__usr_share_pixmaps=yes 17536else 17537 ac_cv_file__usr_share_pixmaps=no 17538fi 17539fi 17540{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_pixmaps" >&5 17541$as_echo "$ac_cv_file__usr_share_pixmaps" >&6; } 17542if test "x$ac_cv_file__usr_share_pixmaps" = xyes; then : 17543 17544cat >>confdefs.h <<_ACEOF 17545#define HAVE__USR_SHARE_PIXMAPS 1 17546_ACEOF 17547 17548fi 17549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/local/share/pixmaps" >&5 17550$as_echo_n "checking for /usr/local/share/pixmaps... " >&6; } 17551if ${ac_cv_file__usr_local_share_pixmaps+:} false; then : 17552 $as_echo_n "(cached) " >&6 17553else 17554 test "$cross_compiling" = yes && 17555 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 17556if test -r "/usr/local/share/pixmaps"; then 17557 ac_cv_file__usr_local_share_pixmaps=yes 17558else 17559 ac_cv_file__usr_local_share_pixmaps=no 17560fi 17561fi 17562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_local_share_pixmaps" >&5 17563$as_echo "$ac_cv_file__usr_local_share_pixmaps" >&6; } 17564if test "x$ac_cv_file__usr_local_share_pixmaps" = xyes; then : 17565 17566cat >>confdefs.h <<_ACEOF 17567#define HAVE__USR_LOCAL_SHARE_PIXMAPS 1 17568_ACEOF 17569 17570fi 17571{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/icons" >&5 17572$as_echo_n "checking for /usr/share/icons... " >&6; } 17573if ${ac_cv_file__usr_share_icons+:} false; then : 17574 $as_echo_n "(cached) " >&6 17575else 17576 test "$cross_compiling" = yes && 17577 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 17578if test -r "/usr/share/icons"; then 17579 ac_cv_file__usr_share_icons=yes 17580else 17581 ac_cv_file__usr_share_icons=no 17582fi 17583fi 17584{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_icons" >&5 17585$as_echo "$ac_cv_file__usr_share_icons" >&6; } 17586if test "x$ac_cv_file__usr_share_icons" = xyes; then : 17587 17588cat >>confdefs.h <<_ACEOF 17589#define HAVE__USR_SHARE_ICONS 1 17590_ACEOF 17591 17592fi 17593{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/local/share/icons" >&5 17594$as_echo_n "checking for /usr/local/share/icons... " >&6; } 17595if ${ac_cv_file__usr_local_share_icons+:} false; then : 17596 $as_echo_n "(cached) " >&6 17597else 17598 test "$cross_compiling" = yes && 17599 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 17600if test -r "/usr/local/share/icons"; then 17601 ac_cv_file__usr_local_share_icons=yes 17602else 17603 ac_cv_file__usr_local_share_icons=no 17604fi 17605fi 17606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_local_share_icons" >&5 17607$as_echo "$ac_cv_file__usr_local_share_icons" >&6; } 17608if test "x$ac_cv_file__usr_local_share_icons" = xyes; then : 17609 17610cat >>confdefs.h <<_ACEOF 17611#define HAVE__USR_LOCAL_SHARE_ICONS 1 17612_ACEOF 17613 17614fi 17615 17616 17617 17618 for ac_prog in ps 17619do 17620 # Extract the first word of "$ac_prog", so it can be a program name with args. 17621set dummy $ac_prog; ac_word=$2 17622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17623$as_echo_n "checking for $ac_word... " >&6; } 17624if ${ac_cv_prog_ps+:} false; then : 17625 $as_echo_n "(cached) " >&6 17626else 17627 if test -n "$ps"; then 17628 ac_cv_prog_ps="$ps" # Let the user override the test. 17629else 17630as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17631for as_dir in $PATH 17632do 17633 IFS=$as_save_IFS 17634 test -z "$as_dir" && as_dir=. 17635 for ac_exec_ext in '' $ac_executable_extensions; do 17636 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17637 ac_cv_prog_ps="$ac_prog" 17638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17639 break 2 17640 fi 17641done 17642 done 17643IFS=$as_save_IFS 17644 17645fi 17646fi 17647ps=$ac_cv_prog_ps 17648if test -n "$ps"; then 17649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ps" >&5 17650$as_echo "$ps" >&6; } 17651else 17652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17653$as_echo "no" >&6; } 17654fi 17655 17656 17657 test -n "$ps" && break 17658done 17659test -n "$ps" || ps="no" 17660 17661 if test $ps = "no" ; then 17662 as_fn_error $? "Unable to find the ps application" "$LINENO" 5; 17663 else 17664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ps capabilities" >&5 17665$as_echo_n "checking for ps capabilities... " >&6; } 17666 echo 17667 17668 result=`ps -o rss 2>/dev/null`; 17669 17670 if test x"${result}" = x; then 17671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no -o rss option found" >&5 17672$as_echo "no -o rss option found" >&6; } 17673 OPTION_FOUND=no 17674 else 17675 17676$as_echo "#define HAVE_UNIX_O_RSS 1" >>confdefs.h 17677 17678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: -o rss option found" >&5 17679$as_echo "-o rss option found" >&6; } 17680 OPTION_FOUND=yes 17681 fi 17682 if test x"_OPTION_FOUND" = x"yes"; then 17683 HAVE_UNIX_O_RSS_TRUE= 17684 HAVE_UNIX_O_RSS_FALSE='#' 17685else 17686 HAVE_UNIX_O_RSS_TRUE='#' 17687 HAVE_UNIX_O_RSS_FALSE= 17688fi 17689 17690 17691 result=`ps -jH 2>/dev/null`; 17692 if test x"${result}" = x; then 17693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no -jH option found" >&5 17694$as_echo "no -jH option found" >&6; } 17695 OPTION_FOUND=no 17696 else 17697 17698$as_echo "#define HAVE_UNIX_JH 1" >>confdefs.h 17699 17700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: -jH option found" >&5 17701$as_echo "-jH option found" >&6; } 17702 OPTION_FOUND=yes 17703 fi 17704 if test x"_OPTION_FOUND" = x"yes"; then 17705 HAVE_UNIX_JH_TRUE= 17706 HAVE_UNIX_JH_FALSE='#' 17707else 17708 HAVE_UNIX_JH_TRUE='#' 17709 HAVE_UNIX_JH_FALSE= 17710fi 17711 17712 17713 result=`ps -ly 2>/dev/null`; 17714 if test x"${result}" = x; then 17715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no -ly option found" >&5 17716$as_echo "no -ly option found" >&6; } 17717 OPTION_FOUND=no 17718 else 17719 17720$as_echo "#define HAVE_UNIX_LY 1" >>confdefs.h 17721 17722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: -ly option found" >&5 17723$as_echo "-ly option found" >&6; } 17724 OPTION_FOUND=yes 17725 fi 17726 if test x"OPTION_FOUND" = x"yes"; then 17727 HAVE_UNIX_LY_TRUE= 17728 HAVE_UNIX_LY_FALSE='#' 17729else 17730 HAVE_UNIX_LY_TRUE='#' 17731 HAVE_UNIX_LY_FALSE= 17732fi 17733 17734 17735 result=`ps -ef 2>/dev/null`; 17736 if test x"${result}" = x; then 17737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no -ef option found" >&5 17738$as_echo "no -ef option found" >&6; } 17739 OPTION_FOUND=no 17740 else 17741 17742$as_echo "#define HAVE_UNIX_EF 1" >>confdefs.h 17743 17744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: -ef option found" >&5 17745$as_echo "-ef option found" >&6; } 17746 OPTION_FOUND=yes 17747 fi 17748 if test x"OPTION_FOUND" = x"yes"; then 17749 HAVE_UNIX_EF_TRUE= 17750 HAVE_UNIX_EF_FALSE='#' 17751else 17752 HAVE_UNIX_EF_TRUE='#' 17753 HAVE_UNIX_EF_FALSE= 17754fi 17755 17756 17757 result=`ps -o pcpu 2>/dev/null`; 17758 if test x"${result}" = x; then 17759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no -o option found" >&5 17760$as_echo "no -o option found" >&6; } 17761 OPTION_FOUND=no 17762 else 17763 17764$as_echo "#define HAVE_UNIX_O 1" >>confdefs.h 17765 17766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: -o option found" >&5 17767$as_echo "-o option found" >&6; } 17768 OPTION_FOUND=yes 17769 fi 17770 if test x"OPTION_FOUND" = x"yes"; then 17771 HAVE_UNIX_O_TRUE= 17772 HAVE_UNIX_O_FALSE='#' 17773else 17774 HAVE_UNIX_O_TRUE='#' 17775 HAVE_UNIX_O_FALSE= 17776fi 17777 17778 17779 result=`ps -w 2>/dev/null`; 17780 if test x"${result}" = x; then 17781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no -w option found" >&5 17782$as_echo "no -w option found" >&6; } 17783 OPTION_FOUND=no 17784 else 17785 17786$as_echo "#define HAVE_UNIX_W 1" >>confdefs.h 17787 17788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: -w option found" >&5 17789$as_echo "-w option found" >&6; } 17790 OPTION_FOUND=yes 17791 fi 17792 if test x"OPTION_FOUND" = x"yes"; then 17793 HAVE_UNIX_W_TRUE= 17794 HAVE_UNIX_W_FALSE='#' 17795else 17796 HAVE_UNIX_W_TRUE='#' 17797 HAVE_UNIX_W_FALSE= 17798fi 17799 17800 17801 result=`ps xf 2>/dev/null`; 17802 if test x"${result}" = x; then 17803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no xf option found" >&5 17804$as_echo "no xf option found" >&6; } 17805 OPTION_FOUND=no 17806 else 17807 17808$as_echo "#define HAVE_BSD_XF 1" >>confdefs.h 17809 17810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: xf option found" >&5 17811$as_echo "xf option found" >&6; } 17812 OPTION_FOUND=yes 17813 fi 17814 if test x"OPTION_FOUND" = x"yes"; then 17815 HAVE_BSD_XF_TRUE= 17816 HAVE_BSD_XF_FALSE='#' 17817else 17818 HAVE_BSD_XF_TRUE='#' 17819 HAVE_BSD_XF_FALSE= 17820fi 17821 17822 17823 result=`ps l 2>/dev/null`; 17824 if test x"${result}" = x; then 17825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no l option found" >&5 17826$as_echo "no l option found" >&6; } 17827 OPTION_FOUND=no 17828 else 17829 17830$as_echo "#define HAVE_BSD_L 1" >>confdefs.h 17831 17832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: l option found" >&5 17833$as_echo "l option found" >&6; } 17834 OPTION_FOUND=yes 17835 fi 17836 if test x"OPTION_FOUND" = x"yes"; then 17837 HAVE_BSD_L_TRUE= 17838 HAVE_BSD_L_FALSE='#' 17839else 17840 HAVE_BSD_L_TRUE='#' 17841 HAVE_BSD_L_FALSE= 17842fi 17843 17844 17845 result=`ps aux 2>/dev/null`; 17846 if test x"${result}" = x; then 17847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no aux option found" >&5 17848$as_echo "no aux option found" >&6; } 17849 OPTION_FOUND=no 17850 else 17851 17852$as_echo "#define HAVE_BSD_AUX 1" >>confdefs.h 17853 17854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: aux option found" >&5 17855$as_echo "aux option found" >&6; } 17856 OPTION_FOUND=yes 17857 fi 17858 if test x"OPTION_FOUND" = x"yes"; then 17859 HAVE_BSD_AUX_TRUE= 17860 HAVE_BSD_AUX_FALSE='#' 17861else 17862 HAVE_BSD_AUX_TRUE='#' 17863 HAVE_BSD_AUX_FALSE= 17864fi 17865 17866 17867 result=`ps o pcpu 2>/dev/null`; 17868 if test x"${result}" = x; then 17869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no o option found" >&5 17870$as_echo "no o option found" >&6; } 17871 OPTION_FOUND=no 17872 else 17873 17874$as_echo "#define HAVE_BSD_O 1" >>confdefs.h 17875 17876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: o option found" >&5 17877$as_echo "o option found" >&6; } 17878 OPTION_FOUND=yes 17879 fi 17880 if test x"OPTION_FOUND" = x"yes"; then 17881 HAVE_BSD_O_TRUE= 17882 HAVE_BSD_O_FALSE='#' 17883else 17884 HAVE_BSD_O_TRUE='#' 17885 HAVE_BSD_O_FALSE= 17886fi 17887 17888 17889 result=`ps w 2>/dev/null`; 17890 if test x"${result}" = x; then 17891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no w option found" >&5 17892$as_echo "no w option found" >&6; } 17893 OPTION_FOUND=no 17894 else 17895 17896$as_echo "#define HAVE_BSD_W 1" >>confdefs.h 17897 17898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: w option found" >&5 17899$as_echo "w option found" >&6; } 17900 OPTION_FOUND=yes 17901 fi 17902 if test x"OPTION_FOUND" = x"yes"; then 17903 HAVE_BSD_W_TRUE= 17904 HAVE_BSD_W_FALSE='#' 17905else 17906 HAVE_BSD_W_TRUE='#' 17907 HAVE_BSD_W_FALSE= 17908fi 17909 17910 17911 fi 17912 17913 17914 17915# Extract the first word of "dpkg", so it can be a program name with args. 17916set dummy dpkg; ac_word=$2 17917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17918$as_echo_n "checking for $ac_word... " >&6; } 17919if ${ac_cv_prog_cv_dpkg+:} false; then : 17920 $as_echo_n "(cached) " >&6 17921else 17922 if test -n "$cv_dpkg"; then 17923 ac_cv_prog_cv_dpkg="$cv_dpkg" # Let the user override the test. 17924else 17925as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17926for as_dir in $PATH 17927do 17928 IFS=$as_save_IFS 17929 test -z "$as_dir" && as_dir=. 17930 for ac_exec_ext in '' $ac_executable_extensions; do 17931 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17932 ac_cv_prog_cv_dpkg="yes" 17933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17934 break 2 17935 fi 17936done 17937 done 17938IFS=$as_save_IFS 17939 17940 test -z "$ac_cv_prog_cv_dpkg" && ac_cv_prog_cv_dpkg="no" 17941fi 17942fi 17943cv_dpkg=$ac_cv_prog_cv_dpkg 17944if test -n "$cv_dpkg"; then 17945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cv_dpkg" >&5 17946$as_echo "$cv_dpkg" >&6; } 17947else 17948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17949$as_echo "no" >&6; } 17950fi 17951 17952 17953 if test "$cv_dpkg" = yes; then 17954 WANT_DEBIAN_TRUE= 17955 WANT_DEBIAN_FALSE='#' 17956else 17957 WANT_DEBIAN_TRUE='#' 17958 WANT_DEBIAN_FALSE= 17959fi 17960 17961#debian/changelog 17962 17963 LIBDIR=$libdir; 17964ac_config_files="$ac_config_files rodent-fstab.settings Makefile rodent-fstab.spec Rodent-fstab.desktop.in Rodent-fstab.appdata.xml po/Makefile.in Build/Makefile icons/Makefile icons/png/Makefile icons/svg/Makefile" 17965 17966cat >confcache <<\_ACEOF 17967# This file is a shell script that caches the results of configure 17968# tests run on this system so they can be shared between configure 17969# scripts and configure runs, see configure's option --config-cache. 17970# It is not useful on other systems. If it contains results you don't 17971# want to keep, you may remove or edit it. 17972# 17973# config.status only pays attention to the cache file if you give it 17974# the --recheck option to rerun configure. 17975# 17976# `ac_cv_env_foo' variables (set or unset) will be overridden when 17977# loading this file, other *unset* `ac_cv_foo' will be assigned the 17978# following values. 17979 17980_ACEOF 17981 17982# The following way of writing the cache mishandles newlines in values, 17983# but we know of no workaround that is simple, portable, and efficient. 17984# So, we kill variables containing newlines. 17985# Ultrix sh set writes to stderr and can't be redirected directly, 17986# and sets the high bit in the cache file unless we assign to the vars. 17987( 17988 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 17989 eval ac_val=\$$ac_var 17990 case $ac_val in #( 17991 *${as_nl}*) 17992 case $ac_var in #( 17993 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 17994$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 17995 esac 17996 case $ac_var in #( 17997 _ | IFS | as_nl) ;; #( 17998 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 17999 *) { eval $ac_var=; unset $ac_var;} ;; 18000 esac ;; 18001 esac 18002 done 18003 18004 (set) 2>&1 | 18005 case $as_nl`(ac_space=' '; set) 2>&1` in #( 18006 *${as_nl}ac_space=\ *) 18007 # `set' does not quote correctly, so add quotes: double-quote 18008 # substitution turns \\\\ into \\, and sed turns \\ into \. 18009 sed -n \ 18010 "s/'/'\\\\''/g; 18011 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 18012 ;; #( 18013 *) 18014 # `set' quotes correctly as required by POSIX, so do not add quotes. 18015 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 18016 ;; 18017 esac | 18018 sort 18019) | 18020 sed ' 18021 /^ac_cv_env_/b end 18022 t clear 18023 :clear 18024 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 18025 t end 18026 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 18027 :end' >>confcache 18028if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 18029 if test -w "$cache_file"; then 18030 if test "x$cache_file" != "x/dev/null"; then 18031 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 18032$as_echo "$as_me: updating cache $cache_file" >&6;} 18033 if test ! -f "$cache_file" || test -h "$cache_file"; then 18034 cat confcache >"$cache_file" 18035 else 18036 case $cache_file in #( 18037 */* | ?:*) 18038 mv -f confcache "$cache_file"$$ && 18039 mv -f "$cache_file"$$ "$cache_file" ;; #( 18040 *) 18041 mv -f confcache "$cache_file" ;; 18042 esac 18043 fi 18044 fi 18045 else 18046 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 18047$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 18048 fi 18049fi 18050rm -f confcache 18051 18052test "x$prefix" = xNONE && prefix=$ac_default_prefix 18053# Let make expand exec_prefix. 18054test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 18055 18056DEFS=-DHAVE_CONFIG_H 18057 18058ac_libobjs= 18059ac_ltlibobjs= 18060U= 18061for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 18062 # 1. Remove the extension, and $U if already installed. 18063 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 18064 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 18065 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 18066 # will be set to the directory where LIBOBJS objects are built. 18067 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 18068 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 18069done 18070LIBOBJS=$ac_libobjs 18071 18072LTLIBOBJS=$ac_ltlibobjs 18073 18074 18075{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 18076$as_echo_n "checking that generated files are newer than configure... " >&6; } 18077 if test -n "$am_sleep_pid"; then 18078 # Hide warnings about reused PIDs. 18079 wait $am_sleep_pid 2>/dev/null 18080 fi 18081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 18082$as_echo "done" >&6; } 18083if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 18084 as_fn_error $? "conditional \"AMDEP\" was never defined. 18085Usually this means the macro was only invoked conditionally." "$LINENO" 5 18086fi 18087if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 18088 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 18089Usually this means the macro was only invoked conditionally." "$LINENO" 5 18090fi 18091 if test -n "$EXEEXT"; then 18092 am__EXEEXT_TRUE= 18093 am__EXEEXT_FALSE='#' 18094else 18095 am__EXEEXT_TRUE='#' 18096 am__EXEEXT_FALSE= 18097fi 18098 18099if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 18100 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 18101Usually this means the macro was only invoked conditionally." "$LINENO" 5 18102fi 18103 18104 ac_config_commands="$ac_config_commands po/stamp-it" 18105 18106 18107 18108if test -z "${WANT_FREEBSD_TRUE}" && test -z "${WANT_FREEBSD_FALSE}"; then 18109 as_fn_error $? "conditional \"WANT_FREEBSD\" was never defined. 18110Usually this means the macro was only invoked conditionally." "$LINENO" 5 18111fi 18112if test -z "${ONLY_LINUX_TRUE}" && test -z "${ONLY_LINUX_FALSE}"; then 18113 as_fn_error $? "conditional \"ONLY_LINUX\" was never defined. 18114Usually this means the macro was only invoked conditionally." "$LINENO" 5 18115fi 18116if test -z "${WANT_GENTOO_TRUE}" && test -z "${WANT_GENTOO_FALSE}"; then 18117 as_fn_error $? "conditional \"WANT_GENTOO\" was never defined. 18118Usually this means the macro was only invoked conditionally." "$LINENO" 5 18119fi 18120if test -z "${WANT_DEBIAN_TRUE}" && test -z "${WANT_DEBIAN_FALSE}"; then 18121 as_fn_error $? "conditional \"WANT_DEBIAN\" was never defined. 18122Usually this means the macro was only invoked conditionally." "$LINENO" 5 18123fi 18124if test -z "${HAVE_UNIX_O_RSS_TRUE}" && test -z "${HAVE_UNIX_O_RSS_FALSE}"; then 18125 as_fn_error $? "conditional \"HAVE_UNIX_O_RSS\" was never defined. 18126Usually this means the macro was only invoked conditionally." "$LINENO" 5 18127fi 18128if test -z "${HAVE_UNIX_JH_TRUE}" && test -z "${HAVE_UNIX_JH_FALSE}"; then 18129 as_fn_error $? "conditional \"HAVE_UNIX_JH\" was never defined. 18130Usually this means the macro was only invoked conditionally." "$LINENO" 5 18131fi 18132if test -z "${HAVE_UNIX_LY_TRUE}" && test -z "${HAVE_UNIX_LY_FALSE}"; then 18133 as_fn_error $? "conditional \"HAVE_UNIX_LY\" was never defined. 18134Usually this means the macro was only invoked conditionally." "$LINENO" 5 18135fi 18136if test -z "${HAVE_UNIX_EF_TRUE}" && test -z "${HAVE_UNIX_EF_FALSE}"; then 18137 as_fn_error $? "conditional \"HAVE_UNIX_EF\" was never defined. 18138Usually this means the macro was only invoked conditionally." "$LINENO" 5 18139fi 18140if test -z "${HAVE_UNIX_O_TRUE}" && test -z "${HAVE_UNIX_O_FALSE}"; then 18141 as_fn_error $? "conditional \"HAVE_UNIX_O\" was never defined. 18142Usually this means the macro was only invoked conditionally." "$LINENO" 5 18143fi 18144if test -z "${HAVE_UNIX_W_TRUE}" && test -z "${HAVE_UNIX_W_FALSE}"; then 18145 as_fn_error $? "conditional \"HAVE_UNIX_W\" was never defined. 18146Usually this means the macro was only invoked conditionally." "$LINENO" 5 18147fi 18148if test -z "${HAVE_BSD_XF_TRUE}" && test -z "${HAVE_BSD_XF_FALSE}"; then 18149 as_fn_error $? "conditional \"HAVE_BSD_XF\" was never defined. 18150Usually this means the macro was only invoked conditionally." "$LINENO" 5 18151fi 18152if test -z "${HAVE_BSD_L_TRUE}" && test -z "${HAVE_BSD_L_FALSE}"; then 18153 as_fn_error $? "conditional \"HAVE_BSD_L\" was never defined. 18154Usually this means the macro was only invoked conditionally." "$LINENO" 5 18155fi 18156if test -z "${HAVE_BSD_AUX_TRUE}" && test -z "${HAVE_BSD_AUX_FALSE}"; then 18157 as_fn_error $? "conditional \"HAVE_BSD_AUX\" was never defined. 18158Usually this means the macro was only invoked conditionally." "$LINENO" 5 18159fi 18160if test -z "${HAVE_BSD_O_TRUE}" && test -z "${HAVE_BSD_O_FALSE}"; then 18161 as_fn_error $? "conditional \"HAVE_BSD_O\" was never defined. 18162Usually this means the macro was only invoked conditionally." "$LINENO" 5 18163fi 18164if test -z "${HAVE_BSD_W_TRUE}" && test -z "${HAVE_BSD_W_FALSE}"; then 18165 as_fn_error $? "conditional \"HAVE_BSD_W\" was never defined. 18166Usually this means the macro was only invoked conditionally." "$LINENO" 5 18167fi 18168if test -z "${WANT_DEBIAN_TRUE}" && test -z "${WANT_DEBIAN_FALSE}"; then 18169 as_fn_error $? "conditional \"WANT_DEBIAN\" was never defined. 18170Usually this means the macro was only invoked conditionally." "$LINENO" 5 18171fi 18172 18173: "${CONFIG_STATUS=./config.status}" 18174ac_write_fail=0 18175ac_clean_files_save=$ac_clean_files 18176ac_clean_files="$ac_clean_files $CONFIG_STATUS" 18177{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 18178$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 18179as_write_fail=0 18180cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 18181#! $SHELL 18182# Generated by $as_me. 18183# Run this file to recreate the current configuration. 18184# Compiler output produced by configure, useful for debugging 18185# configure, is in config.log if it exists. 18186 18187debug=false 18188ac_cs_recheck=false 18189ac_cs_silent=false 18190 18191SHELL=\${CONFIG_SHELL-$SHELL} 18192export SHELL 18193_ASEOF 18194cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 18195## -------------------- ## 18196## M4sh Initialization. ## 18197## -------------------- ## 18198 18199# Be more Bourne compatible 18200DUALCASE=1; export DUALCASE # for MKS sh 18201if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18202 emulate sh 18203 NULLCMD=: 18204 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 18205 # is contrary to our usage. Disable this feature. 18206 alias -g '${1+"$@"}'='"$@"' 18207 setopt NO_GLOB_SUBST 18208else 18209 case `(set -o) 2>/dev/null` in #( 18210 *posix*) : 18211 set -o posix ;; #( 18212 *) : 18213 ;; 18214esac 18215fi 18216 18217 18218as_nl=' 18219' 18220export as_nl 18221# Printing a long string crashes Solaris 7 /usr/bin/printf. 18222as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 18223as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 18224as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 18225# Prefer a ksh shell builtin over an external printf program on Solaris, 18226# but without wasting forks for bash or zsh. 18227if test -z "$BASH_VERSION$ZSH_VERSION" \ 18228 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 18229 as_echo='print -r --' 18230 as_echo_n='print -rn --' 18231elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 18232 as_echo='printf %s\n' 18233 as_echo_n='printf %s' 18234else 18235 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 18236 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 18237 as_echo_n='/usr/ucb/echo -n' 18238 else 18239 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 18240 as_echo_n_body='eval 18241 arg=$1; 18242 case $arg in #( 18243 *"$as_nl"*) 18244 expr "X$arg" : "X\\(.*\\)$as_nl"; 18245 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 18246 esac; 18247 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 18248 ' 18249 export as_echo_n_body 18250 as_echo_n='sh -c $as_echo_n_body as_echo' 18251 fi 18252 export as_echo_body 18253 as_echo='sh -c $as_echo_body as_echo' 18254fi 18255 18256# The user is always right. 18257if test "${PATH_SEPARATOR+set}" != set; then 18258 PATH_SEPARATOR=: 18259 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 18260 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 18261 PATH_SEPARATOR=';' 18262 } 18263fi 18264 18265 18266# IFS 18267# We need space, tab and new line, in precisely that order. Quoting is 18268# there to prevent editors from complaining about space-tab. 18269# (If _AS_PATH_WALK were called with IFS unset, it would disable word 18270# splitting by setting IFS to empty value.) 18271IFS=" "" $as_nl" 18272 18273# Find who we are. Look in the path if we contain no directory separator. 18274as_myself= 18275case $0 in #(( 18276 *[\\/]* ) as_myself=$0 ;; 18277 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18278for as_dir in $PATH 18279do 18280 IFS=$as_save_IFS 18281 test -z "$as_dir" && as_dir=. 18282 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 18283 done 18284IFS=$as_save_IFS 18285 18286 ;; 18287esac 18288# We did not find ourselves, most probably we were run as `sh COMMAND' 18289# in which case we are not to be found in the path. 18290if test "x$as_myself" = x; then 18291 as_myself=$0 18292fi 18293if test ! -f "$as_myself"; then 18294 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 18295 exit 1 18296fi 18297 18298# Unset variables that we do not need and which cause bugs (e.g. in 18299# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 18300# suppresses any "Segmentation fault" message there. '((' could 18301# trigger a bug in pdksh 5.2.14. 18302for as_var in BASH_ENV ENV MAIL MAILPATH 18303do eval test x\${$as_var+set} = xset \ 18304 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 18305done 18306PS1='$ ' 18307PS2='> ' 18308PS4='+ ' 18309 18310# NLS nuisances. 18311LC_ALL=C 18312export LC_ALL 18313LANGUAGE=C 18314export LANGUAGE 18315 18316# CDPATH. 18317(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 18318 18319 18320# as_fn_error STATUS ERROR [LINENO LOG_FD] 18321# ---------------------------------------- 18322# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 18323# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 18324# script with STATUS, using 1 if that was 0. 18325as_fn_error () 18326{ 18327 as_status=$1; test $as_status -eq 0 && as_status=1 18328 if test "$4"; then 18329 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 18330 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 18331 fi 18332 $as_echo "$as_me: error: $2" >&2 18333 as_fn_exit $as_status 18334} # as_fn_error 18335 18336 18337# as_fn_set_status STATUS 18338# ----------------------- 18339# Set $? to STATUS, without forking. 18340as_fn_set_status () 18341{ 18342 return $1 18343} # as_fn_set_status 18344 18345# as_fn_exit STATUS 18346# ----------------- 18347# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 18348as_fn_exit () 18349{ 18350 set +e 18351 as_fn_set_status $1 18352 exit $1 18353} # as_fn_exit 18354 18355# as_fn_unset VAR 18356# --------------- 18357# Portably unset VAR. 18358as_fn_unset () 18359{ 18360 { eval $1=; unset $1;} 18361} 18362as_unset=as_fn_unset 18363# as_fn_append VAR VALUE 18364# ---------------------- 18365# Append the text in VALUE to the end of the definition contained in VAR. Take 18366# advantage of any shell optimizations that allow amortized linear growth over 18367# repeated appends, instead of the typical quadratic growth present in naive 18368# implementations. 18369if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 18370 eval 'as_fn_append () 18371 { 18372 eval $1+=\$2 18373 }' 18374else 18375 as_fn_append () 18376 { 18377 eval $1=\$$1\$2 18378 } 18379fi # as_fn_append 18380 18381# as_fn_arith ARG... 18382# ------------------ 18383# Perform arithmetic evaluation on the ARGs, and store the result in the 18384# global $as_val. Take advantage of shells that can avoid forks. The arguments 18385# must be portable across $(()) and expr. 18386if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 18387 eval 'as_fn_arith () 18388 { 18389 as_val=$(( $* )) 18390 }' 18391else 18392 as_fn_arith () 18393 { 18394 as_val=`expr "$@" || test $? -eq 1` 18395 } 18396fi # as_fn_arith 18397 18398 18399if expr a : '\(a\)' >/dev/null 2>&1 && 18400 test "X`expr 00001 : '.*\(...\)'`" = X001; then 18401 as_expr=expr 18402else 18403 as_expr=false 18404fi 18405 18406if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 18407 as_basename=basename 18408else 18409 as_basename=false 18410fi 18411 18412if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 18413 as_dirname=dirname 18414else 18415 as_dirname=false 18416fi 18417 18418as_me=`$as_basename -- "$0" || 18419$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 18420 X"$0" : 'X\(//\)$' \| \ 18421 X"$0" : 'X\(/\)' \| . 2>/dev/null || 18422$as_echo X/"$0" | 18423 sed '/^.*\/\([^/][^/]*\)\/*$/{ 18424 s//\1/ 18425 q 18426 } 18427 /^X\/\(\/\/\)$/{ 18428 s//\1/ 18429 q 18430 } 18431 /^X\/\(\/\).*/{ 18432 s//\1/ 18433 q 18434 } 18435 s/.*/./; q'` 18436 18437# Avoid depending upon Character Ranges. 18438as_cr_letters='abcdefghijklmnopqrstuvwxyz' 18439as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 18440as_cr_Letters=$as_cr_letters$as_cr_LETTERS 18441as_cr_digits='0123456789' 18442as_cr_alnum=$as_cr_Letters$as_cr_digits 18443 18444ECHO_C= ECHO_N= ECHO_T= 18445case `echo -n x` in #((((( 18446-n*) 18447 case `echo 'xy\c'` in 18448 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 18449 xy) ECHO_C='\c';; 18450 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 18451 ECHO_T=' ';; 18452 esac;; 18453*) 18454 ECHO_N='-n';; 18455esac 18456 18457rm -f conf$$ conf$$.exe conf$$.file 18458if test -d conf$$.dir; then 18459 rm -f conf$$.dir/conf$$.file 18460else 18461 rm -f conf$$.dir 18462 mkdir conf$$.dir 2>/dev/null 18463fi 18464if (echo >conf$$.file) 2>/dev/null; then 18465 if ln -s conf$$.file conf$$ 2>/dev/null; then 18466 as_ln_s='ln -s' 18467 # ... but there are two gotchas: 18468 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 18469 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 18470 # In both cases, we have to default to `cp -pR'. 18471 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 18472 as_ln_s='cp -pR' 18473 elif ln conf$$.file conf$$ 2>/dev/null; then 18474 as_ln_s=ln 18475 else 18476 as_ln_s='cp -pR' 18477 fi 18478else 18479 as_ln_s='cp -pR' 18480fi 18481rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 18482rmdir conf$$.dir 2>/dev/null 18483 18484 18485# as_fn_mkdir_p 18486# ------------- 18487# Create "$as_dir" as a directory, including parents if necessary. 18488as_fn_mkdir_p () 18489{ 18490 18491 case $as_dir in #( 18492 -*) as_dir=./$as_dir;; 18493 esac 18494 test -d "$as_dir" || eval $as_mkdir_p || { 18495 as_dirs= 18496 while :; do 18497 case $as_dir in #( 18498 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 18499 *) as_qdir=$as_dir;; 18500 esac 18501 as_dirs="'$as_qdir' $as_dirs" 18502 as_dir=`$as_dirname -- "$as_dir" || 18503$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18504 X"$as_dir" : 'X\(//\)[^/]' \| \ 18505 X"$as_dir" : 'X\(//\)$' \| \ 18506 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 18507$as_echo X"$as_dir" | 18508 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18509 s//\1/ 18510 q 18511 } 18512 /^X\(\/\/\)[^/].*/{ 18513 s//\1/ 18514 q 18515 } 18516 /^X\(\/\/\)$/{ 18517 s//\1/ 18518 q 18519 } 18520 /^X\(\/\).*/{ 18521 s//\1/ 18522 q 18523 } 18524 s/.*/./; q'` 18525 test -d "$as_dir" && break 18526 done 18527 test -z "$as_dirs" || eval "mkdir $as_dirs" 18528 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 18529 18530 18531} # as_fn_mkdir_p 18532if mkdir -p . 2>/dev/null; then 18533 as_mkdir_p='mkdir -p "$as_dir"' 18534else 18535 test -d ./-p && rmdir ./-p 18536 as_mkdir_p=false 18537fi 18538 18539 18540# as_fn_executable_p FILE 18541# ----------------------- 18542# Test if FILE is an executable regular file. 18543as_fn_executable_p () 18544{ 18545 test -f "$1" && test -x "$1" 18546} # as_fn_executable_p 18547as_test_x='test -x' 18548as_executable_p=as_fn_executable_p 18549 18550# Sed expression to map a string onto a valid CPP name. 18551as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 18552 18553# Sed expression to map a string onto a valid variable name. 18554as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 18555 18556 18557exec 6>&1 18558## ----------------------------------- ## 18559## Main body of $CONFIG_STATUS script. ## 18560## ----------------------------------- ## 18561_ASEOF 18562test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 18563 18564cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18565# Save the log message, to keep $0 and so on meaningful, and to 18566# report actual input values of CONFIG_FILES etc. instead of their 18567# values after options handling. 18568ac_log=" 18569This file was extended by rodent-fstab $as_me 5.3.16.3, which was 18570generated by GNU Autoconf 2.69. Invocation command line was 18571 18572 CONFIG_FILES = $CONFIG_FILES 18573 CONFIG_HEADERS = $CONFIG_HEADERS 18574 CONFIG_LINKS = $CONFIG_LINKS 18575 CONFIG_COMMANDS = $CONFIG_COMMANDS 18576 $ $0 $@ 18577 18578on `(hostname || uname -n) 2>/dev/null | sed 1q` 18579" 18580 18581_ACEOF 18582 18583case $ac_config_files in *" 18584"*) set x $ac_config_files; shift; ac_config_files=$*;; 18585esac 18586 18587case $ac_config_headers in *" 18588"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 18589esac 18590 18591 18592cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18593# Files that config.status was made for. 18594config_files="$ac_config_files" 18595config_headers="$ac_config_headers" 18596config_commands="$ac_config_commands" 18597 18598_ACEOF 18599 18600cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18601ac_cs_usage="\ 18602\`$as_me' instantiates files and other configuration actions 18603from templates according to the current configuration. Unless the files 18604and actions are specified as TAGs, all are instantiated by default. 18605 18606Usage: $0 [OPTION]... [TAG]... 18607 18608 -h, --help print this help, then exit 18609 -V, --version print version number and configuration settings, then exit 18610 --config print configuration, then exit 18611 -q, --quiet, --silent 18612 do not print progress messages 18613 -d, --debug don't remove temporary files 18614 --recheck update $as_me by reconfiguring in the same conditions 18615 --file=FILE[:TEMPLATE] 18616 instantiate the configuration file FILE 18617 --header=FILE[:TEMPLATE] 18618 instantiate the configuration header FILE 18619 18620Configuration files: 18621$config_files 18622 18623Configuration headers: 18624$config_headers 18625 18626Configuration commands: 18627$config_commands 18628 18629Report bugs to <https://sourceforge.net/p/xffm/bugs/milestone/rodent-pkg/>. 18630rodent-fstab home page: <"http://xffm.org">." 18631 18632_ACEOF 18633cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18634ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 18635ac_cs_version="\\ 18636rodent-fstab config.status 5.3.16.3 18637configured by $0, generated by GNU Autoconf 2.69, 18638 with options \\"\$ac_cs_config\\" 18639 18640Copyright (C) 2012 Free Software Foundation, Inc. 18641This config.status script is free software; the Free Software Foundation 18642gives unlimited permission to copy, distribute and modify it." 18643 18644ac_pwd='$ac_pwd' 18645srcdir='$srcdir' 18646INSTALL='$INSTALL' 18647MKDIR_P='$MKDIR_P' 18648AWK='$AWK' 18649test -n "\$AWK" || AWK=awk 18650_ACEOF 18651 18652cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18653# The default lists apply if the user does not specify any file. 18654ac_need_defaults=: 18655while test $# != 0 18656do 18657 case $1 in 18658 --*=?*) 18659 ac_option=`expr "X$1" : 'X\([^=]*\)='` 18660 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 18661 ac_shift=: 18662 ;; 18663 --*=) 18664 ac_option=`expr "X$1" : 'X\([^=]*\)='` 18665 ac_optarg= 18666 ac_shift=: 18667 ;; 18668 *) 18669 ac_option=$1 18670 ac_optarg=$2 18671 ac_shift=shift 18672 ;; 18673 esac 18674 18675 case $ac_option in 18676 # Handling of the options. 18677 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 18678 ac_cs_recheck=: ;; 18679 --version | --versio | --versi | --5.3.16.3 | --ver | --ve | --v | -V ) 18680 $as_echo "$ac_cs_version"; exit ;; 18681 --config | --confi | --conf | --con | --co | --c ) 18682 $as_echo "$ac_cs_config"; exit ;; 18683 --debug | --debu | --deb | --de | --d | -d ) 18684 debug=: ;; 18685 --file | --fil | --fi | --f ) 18686 $ac_shift 18687 case $ac_optarg in 18688 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 18689 '') as_fn_error $? "missing file argument" ;; 18690 esac 18691 as_fn_append CONFIG_FILES " '$ac_optarg'" 18692 ac_need_defaults=false;; 18693 --header | --heade | --head | --hea ) 18694 $ac_shift 18695 case $ac_optarg in 18696 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 18697 esac 18698 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 18699 ac_need_defaults=false;; 18700 --he | --h) 18701 # Conflict between --help and --header 18702 as_fn_error $? "ambiguous option: \`$1' 18703Try \`$0 --help' for more information.";; 18704 --help | --hel | -h ) 18705 $as_echo "$ac_cs_usage"; exit ;; 18706 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 18707 | -silent | --silent | --silen | --sile | --sil | --si | --s) 18708 ac_cs_silent=: ;; 18709 18710 # This is an error. 18711 -*) as_fn_error $? "unrecognized option: \`$1' 18712Try \`$0 --help' for more information." ;; 18713 18714 *) as_fn_append ac_config_targets " $1" 18715 ac_need_defaults=false ;; 18716 18717 esac 18718 shift 18719done 18720 18721ac_configure_extra_args= 18722 18723if $ac_cs_silent; then 18724 exec 6>/dev/null 18725 ac_configure_extra_args="$ac_configure_extra_args --silent" 18726fi 18727 18728_ACEOF 18729cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18730if \$ac_cs_recheck; then 18731 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 18732 shift 18733 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 18734 CONFIG_SHELL='$SHELL' 18735 export CONFIG_SHELL 18736 exec "\$@" 18737fi 18738 18739_ACEOF 18740cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18741exec 5>>config.log 18742{ 18743 echo 18744 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 18745## Running $as_me. ## 18746_ASBOX 18747 $as_echo "$ac_log" 18748} >&5 18749 18750_ACEOF 18751cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18752# 18753# INIT-COMMANDS 18754# 18755 18756 18757# The HP-UX ksh and POSIX shell print the target directory to stdout 18758# if CDPATH is set. 18759(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 18760 18761sed_quote_subst='$sed_quote_subst' 18762double_quote_subst='$double_quote_subst' 18763delay_variable_subst='$delay_variable_subst' 18764macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 18765macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 18766enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 18767enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 18768pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 18769enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 18770shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 18771SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 18772ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 18773PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 18774host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 18775host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 18776host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 18777build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 18778build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 18779build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 18780SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 18781Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 18782GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 18783EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 18784FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 18785LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 18786NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 18787LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 18788max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 18789ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 18790exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 18791lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 18792lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 18793lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 18794lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 18795lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 18796reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 18797reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 18798OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 18799deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 18800file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 18801file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 18802want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 18803DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 18804sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 18805AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 18806AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 18807archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 18808STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 18809RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 18810old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 18811old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 18812old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 18813lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 18814CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 18815CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 18816compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 18817GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 18818lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 18819lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 18820lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 18821lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 18822lt_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"`' 18823lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 18824nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 18825lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 18826lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 18827objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 18828MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 18829lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 18830lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 18831lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 18832lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 18833lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 18834need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 18835MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 18836DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 18837NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 18838LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 18839OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 18840OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 18841libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 18842shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 18843extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 18844archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 18845enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 18846export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 18847whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 18848compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 18849old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 18850old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 18851archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 18852archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 18853module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 18854module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 18855with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 18856allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 18857no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 18858hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 18859hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 18860hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 18861hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 18862hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 18863hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 18864hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 18865inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 18866link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 18867always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 18868export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 18869exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 18870include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 18871prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 18872postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 18873file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 18874variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 18875need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 18876need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 18877version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 18878runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 18879shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 18880shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 18881libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 18882library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 18883soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 18884install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 18885postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 18886postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 18887finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 18888finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 18889hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 18890sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 18891configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 18892configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 18893hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 18894enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 18895enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 18896enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 18897old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 18898striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 18899 18900LTCC='$LTCC' 18901LTCFLAGS='$LTCFLAGS' 18902compiler='$compiler_DEFAULT' 18903 18904# A function that is used when there is no print builtin or printf. 18905func_fallback_echo () 18906{ 18907 eval 'cat <<_LTECHO_EOF 18908\$1 18909_LTECHO_EOF' 18910} 18911 18912# Quote evaled strings. 18913for var in SHELL \ 18914ECHO \ 18915PATH_SEPARATOR \ 18916SED \ 18917GREP \ 18918EGREP \ 18919FGREP \ 18920LD \ 18921NM \ 18922LN_S \ 18923lt_SP2NL \ 18924lt_NL2SP \ 18925reload_flag \ 18926OBJDUMP \ 18927deplibs_check_method \ 18928file_magic_cmd \ 18929file_magic_glob \ 18930want_nocaseglob \ 18931DLLTOOL \ 18932sharedlib_from_linklib_cmd \ 18933AR \ 18934AR_FLAGS \ 18935archiver_list_spec \ 18936STRIP \ 18937RANLIB \ 18938CC \ 18939CFLAGS \ 18940compiler \ 18941lt_cv_sys_global_symbol_pipe \ 18942lt_cv_sys_global_symbol_to_cdecl \ 18943lt_cv_sys_global_symbol_to_import \ 18944lt_cv_sys_global_symbol_to_c_name_address \ 18945lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 18946lt_cv_nm_interface \ 18947nm_file_list_spec \ 18948lt_cv_truncate_bin \ 18949lt_prog_compiler_no_builtin_flag \ 18950lt_prog_compiler_pic \ 18951lt_prog_compiler_wl \ 18952lt_prog_compiler_static \ 18953lt_cv_prog_compiler_c_o \ 18954need_locks \ 18955MANIFEST_TOOL \ 18956DSYMUTIL \ 18957NMEDIT \ 18958LIPO \ 18959OTOOL \ 18960OTOOL64 \ 18961shrext_cmds \ 18962export_dynamic_flag_spec \ 18963whole_archive_flag_spec \ 18964compiler_needs_object \ 18965with_gnu_ld \ 18966allow_undefined_flag \ 18967no_undefined_flag \ 18968hardcode_libdir_flag_spec \ 18969hardcode_libdir_separator \ 18970exclude_expsyms \ 18971include_expsyms \ 18972file_list_spec \ 18973variables_saved_for_relink \ 18974libname_spec \ 18975library_names_spec \ 18976soname_spec \ 18977install_override_mode \ 18978finish_eval \ 18979old_striplib \ 18980striplib; do 18981 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 18982 *[\\\\\\\`\\"\\\$]*) 18983 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 18984 ;; 18985 *) 18986 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 18987 ;; 18988 esac 18989done 18990 18991# Double-quote double-evaled strings. 18992for var in reload_cmds \ 18993old_postinstall_cmds \ 18994old_postuninstall_cmds \ 18995old_archive_cmds \ 18996extract_expsyms_cmds \ 18997old_archive_from_new_cmds \ 18998old_archive_from_expsyms_cmds \ 18999archive_cmds \ 19000archive_expsym_cmds \ 19001module_cmds \ 19002module_expsym_cmds \ 19003export_symbols_cmds \ 19004prelink_cmds \ 19005postlink_cmds \ 19006postinstall_cmds \ 19007postuninstall_cmds \ 19008finish_cmds \ 19009sys_lib_search_path_spec \ 19010configure_time_dlsearch_path \ 19011configure_time_lt_sys_library_path; do 19012 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 19013 *[\\\\\\\`\\"\\\$]*) 19014 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 19015 ;; 19016 *) 19017 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 19018 ;; 19019 esac 19020done 19021 19022ac_aux_dir='$ac_aux_dir' 19023 19024# See if we are running on zsh, and set the options that allow our 19025# commands through without removal of \ escapes INIT. 19026if test -n "\${ZSH_VERSION+set}"; then 19027 setopt NO_GLOB_SUBST 19028fi 19029 19030 19031 PACKAGE='$PACKAGE' 19032 VERSION='$VERSION' 19033 RM='$RM' 19034 ofile='$ofile' 19035 19036 19037 19038AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 19039 19040 19041_ACEOF 19042 19043cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19044 19045# Handling of arguments. 19046for ac_config_target in $ac_config_targets 19047do 19048 case $ac_config_target in 19049 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 19050 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 19051 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 19052 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 19053 "rodent-fstab.settings") CONFIG_FILES="$CONFIG_FILES rodent-fstab.settings" ;; 19054 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 19055 "rodent-fstab.spec") CONFIG_FILES="$CONFIG_FILES rodent-fstab.spec" ;; 19056 "Rodent-fstab.desktop.in") CONFIG_FILES="$CONFIG_FILES Rodent-fstab.desktop.in" ;; 19057 "Rodent-fstab.appdata.xml") CONFIG_FILES="$CONFIG_FILES Rodent-fstab.appdata.xml" ;; 19058 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 19059 "Build/Makefile") CONFIG_FILES="$CONFIG_FILES Build/Makefile" ;; 19060 "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;; 19061 "icons/png/Makefile") CONFIG_FILES="$CONFIG_FILES icons/png/Makefile" ;; 19062 "icons/svg/Makefile") CONFIG_FILES="$CONFIG_FILES icons/svg/Makefile" ;; 19063 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; 19064 19065 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 19066 esac 19067done 19068 19069 19070# If the user did not use the arguments to specify the items to instantiate, 19071# then the envvar interface is used. Set only those that are not. 19072# We use the long form for the default assignment because of an extremely 19073# bizarre bug on SunOS 4.1.3. 19074if $ac_need_defaults; then 19075 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 19076 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 19077 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 19078fi 19079 19080# Have a temporary directory for convenience. Make it in the build tree 19081# simply because there is no reason against having it here, and in addition, 19082# creating and moving files from /tmp can sometimes cause problems. 19083# Hook for its removal unless debugging. 19084# Note that there is a small window in which the directory will not be cleaned: 19085# after its creation but before its name has been assigned to `$tmp'. 19086$debug || 19087{ 19088 tmp= ac_tmp= 19089 trap 'exit_status=$? 19090 : "${ac_tmp:=$tmp}" 19091 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 19092' 0 19093 trap 'as_fn_exit 1' 1 2 13 15 19094} 19095# Create a (secure) tmp directory for tmp files. 19096 19097{ 19098 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 19099 test -d "$tmp" 19100} || 19101{ 19102 tmp=./conf$$-$RANDOM 19103 (umask 077 && mkdir "$tmp") 19104} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 19105ac_tmp=$tmp 19106 19107# Set up the scripts for CONFIG_FILES section. 19108# No need to generate them if there are no CONFIG_FILES. 19109# This happens for instance with `./config.status config.h'. 19110if test -n "$CONFIG_FILES"; then 19111 19112 19113ac_cr=`echo X | tr X '\015'` 19114# On cygwin, bash can eat \r inside `` if the user requested igncr. 19115# But we know of no other shell where ac_cr would be empty at this 19116# point, so we can use a bashism as a fallback. 19117if test "x$ac_cr" = x; then 19118 eval ac_cr=\$\'\\r\' 19119fi 19120ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 19121if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 19122 ac_cs_awk_cr='\\r' 19123else 19124 ac_cs_awk_cr=$ac_cr 19125fi 19126 19127echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 19128_ACEOF 19129 19130 19131{ 19132 echo "cat >conf$$subs.awk <<_ACEOF" && 19133 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 19134 echo "_ACEOF" 19135} >conf$$subs.sh || 19136 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 19137ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 19138ac_delim='%!_!# ' 19139for ac_last_try in false false false false false :; do 19140 . ./conf$$subs.sh || 19141 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 19142 19143 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 19144 if test $ac_delim_n = $ac_delim_num; then 19145 break 19146 elif $ac_last_try; then 19147 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 19148 else 19149 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 19150 fi 19151done 19152rm -f conf$$subs.sh 19153 19154cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19155cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 19156_ACEOF 19157sed -n ' 19158h 19159s/^/S["/; s/!.*/"]=/ 19160p 19161g 19162s/^[^!]*!// 19163:repl 19164t repl 19165s/'"$ac_delim"'$// 19166t delim 19167:nl 19168h 19169s/\(.\{148\}\)..*/\1/ 19170t more1 19171s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 19172p 19173n 19174b repl 19175:more1 19176s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 19177p 19178g 19179s/.\{148\}// 19180t nl 19181:delim 19182h 19183s/\(.\{148\}\)..*/\1/ 19184t more2 19185s/["\\]/\\&/g; s/^/"/; s/$/"/ 19186p 19187b 19188:more2 19189s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 19190p 19191g 19192s/.\{148\}// 19193t delim 19194' <conf$$subs.awk | sed ' 19195/^[^""]/{ 19196 N 19197 s/\n// 19198} 19199' >>$CONFIG_STATUS || ac_write_fail=1 19200rm -f conf$$subs.awk 19201cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19202_ACAWK 19203cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 19204 for (key in S) S_is_set[key] = 1 19205 FS = "" 19206 19207} 19208{ 19209 line = $ 0 19210 nfields = split(line, field, "@") 19211 substed = 0 19212 len = length(field[1]) 19213 for (i = 2; i < nfields; i++) { 19214 key = field[i] 19215 keylen = length(key) 19216 if (S_is_set[key]) { 19217 value = S[key] 19218 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 19219 len += length(value) + length(field[++i]) 19220 substed = 1 19221 } else 19222 len += 1 + keylen 19223 } 19224 19225 print line 19226} 19227 19228_ACAWK 19229_ACEOF 19230cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19231if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 19232 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 19233else 19234 cat 19235fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 19236 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 19237_ACEOF 19238 19239# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 19240# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 19241# trailing colons and then remove the whole line if VPATH becomes empty 19242# (actually we leave an empty line to preserve line numbers). 19243if test "x$srcdir" = x.; then 19244 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 19245h 19246s/// 19247s/^/:/ 19248s/[ ]*$/:/ 19249s/:\$(srcdir):/:/g 19250s/:\${srcdir}:/:/g 19251s/:@srcdir@:/:/g 19252s/^:*// 19253s/:*$// 19254x 19255s/\(=[ ]*\).*/\1/ 19256G 19257s/\n// 19258s/^[^=]*=[ ]*$// 19259}' 19260fi 19261 19262cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19263fi # test -n "$CONFIG_FILES" 19264 19265# Set up the scripts for CONFIG_HEADERS section. 19266# No need to generate them if there are no CONFIG_HEADERS. 19267# This happens for instance with `./config.status Makefile'. 19268if test -n "$CONFIG_HEADERS"; then 19269cat >"$ac_tmp/defines.awk" <<\_ACAWK || 19270BEGIN { 19271_ACEOF 19272 19273# Transform confdefs.h into an awk script `defines.awk', embedded as 19274# here-document in config.status, that substitutes the proper values into 19275# config.h.in to produce config.h. 19276 19277# Create a delimiter string that does not exist in confdefs.h, to ease 19278# handling of long lines. 19279ac_delim='%!_!# ' 19280for ac_last_try in false false :; do 19281 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 19282 if test -z "$ac_tt"; then 19283 break 19284 elif $ac_last_try; then 19285 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 19286 else 19287 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 19288 fi 19289done 19290 19291# For the awk script, D is an array of macro values keyed by name, 19292# likewise P contains macro parameters if any. Preserve backslash 19293# newline sequences. 19294 19295ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 19296sed -n ' 19297s/.\{148\}/&'"$ac_delim"'/g 19298t rset 19299:rset 19300s/^[ ]*#[ ]*define[ ][ ]*/ / 19301t def 19302d 19303:def 19304s/\\$// 19305t bsnl 19306s/["\\]/\\&/g 19307s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 19308D["\1"]=" \3"/p 19309s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 19310d 19311:bsnl 19312s/["\\]/\\&/g 19313s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 19314D["\1"]=" \3\\\\\\n"\\/p 19315t cont 19316s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 19317t cont 19318d 19319:cont 19320n 19321s/.\{148\}/&'"$ac_delim"'/g 19322t clear 19323:clear 19324s/\\$// 19325t bsnlc 19326s/["\\]/\\&/g; s/^/"/; s/$/"/p 19327d 19328:bsnlc 19329s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 19330b cont 19331' <confdefs.h | sed ' 19332s/'"$ac_delim"'/"\\\ 19333"/g' >>$CONFIG_STATUS || ac_write_fail=1 19334 19335cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19336 for (key in D) D_is_set[key] = 1 19337 FS = "" 19338} 19339/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 19340 line = \$ 0 19341 split(line, arg, " ") 19342 if (arg[1] == "#") { 19343 defundef = arg[2] 19344 mac1 = arg[3] 19345 } else { 19346 defundef = substr(arg[1], 2) 19347 mac1 = arg[2] 19348 } 19349 split(mac1, mac2, "(") #) 19350 macro = mac2[1] 19351 prefix = substr(line, 1, index(line, defundef) - 1) 19352 if (D_is_set[macro]) { 19353 # Preserve the white space surrounding the "#". 19354 print prefix "define", macro P[macro] D[macro] 19355 next 19356 } else { 19357 # Replace #undef with comments. This is necessary, for example, 19358 # in the case of _POSIX_SOURCE, which is predefined and required 19359 # on some systems where configure will not decide to define it. 19360 if (defundef == "undef") { 19361 print "/*", prefix defundef, macro, "*/" 19362 next 19363 } 19364 } 19365} 19366{ print } 19367_ACAWK 19368_ACEOF 19369cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19370 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 19371fi # test -n "$CONFIG_HEADERS" 19372 19373 19374eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 19375shift 19376for ac_tag 19377do 19378 case $ac_tag in 19379 :[FHLC]) ac_mode=$ac_tag; continue;; 19380 esac 19381 case $ac_mode$ac_tag in 19382 :[FHL]*:*);; 19383 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 19384 :[FH]-) ac_tag=-:-;; 19385 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 19386 esac 19387 ac_save_IFS=$IFS 19388 IFS=: 19389 set x $ac_tag 19390 IFS=$ac_save_IFS 19391 shift 19392 ac_file=$1 19393 shift 19394 19395 case $ac_mode in 19396 :L) ac_source=$1;; 19397 :[FH]) 19398 ac_file_inputs= 19399 for ac_f 19400 do 19401 case $ac_f in 19402 -) ac_f="$ac_tmp/stdin";; 19403 *) # Look for the file first in the build tree, then in the source tree 19404 # (if the path is not absolute). The absolute path cannot be DOS-style, 19405 # because $ac_f cannot contain `:'. 19406 test -f "$ac_f" || 19407 case $ac_f in 19408 [\\/$]*) false;; 19409 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 19410 esac || 19411 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 19412 esac 19413 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 19414 as_fn_append ac_file_inputs " '$ac_f'" 19415 done 19416 19417 # Let's still pretend it is `configure' which instantiates (i.e., don't 19418 # use $as_me), people would be surprised to read: 19419 # /* config.h. Generated by config.status. */ 19420 configure_input='Generated from '` 19421 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 19422 `' by configure.' 19423 if test x"$ac_file" != x-; then 19424 configure_input="$ac_file. $configure_input" 19425 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 19426$as_echo "$as_me: creating $ac_file" >&6;} 19427 fi 19428 # Neutralize special characters interpreted by sed in replacement strings. 19429 case $configure_input in #( 19430 *\&* | *\|* | *\\* ) 19431 ac_sed_conf_input=`$as_echo "$configure_input" | 19432 sed 's/[\\\\&|]/\\\\&/g'`;; #( 19433 *) ac_sed_conf_input=$configure_input;; 19434 esac 19435 19436 case $ac_tag in 19437 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 19438 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 19439 esac 19440 ;; 19441 esac 19442 19443 ac_dir=`$as_dirname -- "$ac_file" || 19444$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19445 X"$ac_file" : 'X\(//\)[^/]' \| \ 19446 X"$ac_file" : 'X\(//\)$' \| \ 19447 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 19448$as_echo X"$ac_file" | 19449 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19450 s//\1/ 19451 q 19452 } 19453 /^X\(\/\/\)[^/].*/{ 19454 s//\1/ 19455 q 19456 } 19457 /^X\(\/\/\)$/{ 19458 s//\1/ 19459 q 19460 } 19461 /^X\(\/\).*/{ 19462 s//\1/ 19463 q 19464 } 19465 s/.*/./; q'` 19466 as_dir="$ac_dir"; as_fn_mkdir_p 19467 ac_builddir=. 19468 19469case "$ac_dir" in 19470.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 19471*) 19472 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 19473 # A ".." for each directory in $ac_dir_suffix. 19474 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 19475 case $ac_top_builddir_sub in 19476 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 19477 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 19478 esac ;; 19479esac 19480ac_abs_top_builddir=$ac_pwd 19481ac_abs_builddir=$ac_pwd$ac_dir_suffix 19482# for backward compatibility: 19483ac_top_builddir=$ac_top_build_prefix 19484 19485case $srcdir in 19486 .) # We are building in place. 19487 ac_srcdir=. 19488 ac_top_srcdir=$ac_top_builddir_sub 19489 ac_abs_top_srcdir=$ac_pwd ;; 19490 [\\/]* | ?:[\\/]* ) # Absolute name. 19491 ac_srcdir=$srcdir$ac_dir_suffix; 19492 ac_top_srcdir=$srcdir 19493 ac_abs_top_srcdir=$srcdir ;; 19494 *) # Relative name. 19495 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 19496 ac_top_srcdir=$ac_top_build_prefix$srcdir 19497 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 19498esac 19499ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 19500 19501 19502 case $ac_mode in 19503 :F) 19504 # 19505 # CONFIG_FILE 19506 # 19507 19508 case $INSTALL in 19509 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 19510 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 19511 esac 19512 ac_MKDIR_P=$MKDIR_P 19513 case $MKDIR_P in 19514 [\\/$]* | ?:[\\/]* ) ;; 19515 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 19516 esac 19517_ACEOF 19518 19519cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19520# If the template does not know about datarootdir, expand it. 19521# FIXME: This hack should be removed a few years after 2.60. 19522ac_datarootdir_hack=; ac_datarootdir_seen= 19523ac_sed_dataroot=' 19524/datarootdir/ { 19525 p 19526 q 19527} 19528/@datadir@/p 19529/@docdir@/p 19530/@infodir@/p 19531/@localedir@/p 19532/@mandir@/p' 19533case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 19534*datarootdir*) ac_datarootdir_seen=yes;; 19535*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 19536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 19537$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 19538_ACEOF 19539cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19540 ac_datarootdir_hack=' 19541 s&@datadir@&$datadir&g 19542 s&@docdir@&$docdir&g 19543 s&@infodir@&$infodir&g 19544 s&@localedir@&$localedir&g 19545 s&@mandir@&$mandir&g 19546 s&\\\${datarootdir}&$datarootdir&g' ;; 19547esac 19548_ACEOF 19549 19550# Neutralize VPATH when `$srcdir' = `.'. 19551# Shell code in configure.ac might set extrasub. 19552# FIXME: do we really want to maintain this feature? 19553cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19554ac_sed_extra="$ac_vpsub 19555$extrasub 19556_ACEOF 19557cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19558:t 19559/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 19560s|@configure_input@|$ac_sed_conf_input|;t t 19561s&@top_builddir@&$ac_top_builddir_sub&;t t 19562s&@top_build_prefix@&$ac_top_build_prefix&;t t 19563s&@srcdir@&$ac_srcdir&;t t 19564s&@abs_srcdir@&$ac_abs_srcdir&;t t 19565s&@top_srcdir@&$ac_top_srcdir&;t t 19566s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 19567s&@builddir@&$ac_builddir&;t t 19568s&@abs_builddir@&$ac_abs_builddir&;t t 19569s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 19570s&@INSTALL@&$ac_INSTALL&;t t 19571s&@MKDIR_P@&$ac_MKDIR_P&;t t 19572$ac_datarootdir_hack 19573" 19574eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 19575 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 19576 19577test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 19578 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 19579 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 19580 "$ac_tmp/out"`; test -z "$ac_out"; } && 19581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 19582which seems to be undefined. Please make sure it is defined" >&5 19583$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 19584which seems to be undefined. Please make sure it is defined" >&2;} 19585 19586 rm -f "$ac_tmp/stdin" 19587 case $ac_file in 19588 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 19589 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 19590 esac \ 19591 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 19592 ;; 19593 :H) 19594 # 19595 # CONFIG_HEADER 19596 # 19597 if test x"$ac_file" != x-; then 19598 { 19599 $as_echo "/* $configure_input */" \ 19600 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 19601 } >"$ac_tmp/config.h" \ 19602 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 19603 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 19604 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 19605$as_echo "$as_me: $ac_file is unchanged" >&6;} 19606 else 19607 rm -f "$ac_file" 19608 mv "$ac_tmp/config.h" "$ac_file" \ 19609 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 19610 fi 19611 else 19612 $as_echo "/* $configure_input */" \ 19613 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 19614 || as_fn_error $? "could not create -" "$LINENO" 5 19615 fi 19616# Compute "$ac_file"'s index in $config_headers. 19617_am_arg="$ac_file" 19618_am_stamp_count=1 19619for _am_header in $config_headers :; do 19620 case $_am_header in 19621 $_am_arg | $_am_arg:* ) 19622 break ;; 19623 * ) 19624 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 19625 esac 19626done 19627echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 19628$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19629 X"$_am_arg" : 'X\(//\)[^/]' \| \ 19630 X"$_am_arg" : 'X\(//\)$' \| \ 19631 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 19632$as_echo X"$_am_arg" | 19633 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19634 s//\1/ 19635 q 19636 } 19637 /^X\(\/\/\)[^/].*/{ 19638 s//\1/ 19639 q 19640 } 19641 /^X\(\/\/\)$/{ 19642 s//\1/ 19643 q 19644 } 19645 /^X\(\/\).*/{ 19646 s//\1/ 19647 q 19648 } 19649 s/.*/./; q'`/stamp-h$_am_stamp_count 19650 ;; 19651 19652 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 19653$as_echo "$as_me: executing $ac_file commands" >&6;} 19654 ;; 19655 esac 19656 19657 19658 case $ac_file$ac_mode in 19659 "libtool":C) 19660 19661 # See if we are running on zsh, and set the options that allow our 19662 # commands through without removal of \ escapes. 19663 if test -n "${ZSH_VERSION+set}"; then 19664 setopt NO_GLOB_SUBST 19665 fi 19666 19667 cfgfile=${ofile}T 19668 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 19669 $RM "$cfgfile" 19670 19671 cat <<_LT_EOF >> "$cfgfile" 19672#! $SHELL 19673# Generated automatically by $as_me ($PACKAGE) $VERSION 19674# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 19675# NOTE: Changes made to this file will be lost: look at ltmain.sh. 19676 19677# Provide generalized library-building support services. 19678# Written by Gordon Matzigkeit, 1996 19679 19680# Copyright (C) 2014 Free Software Foundation, Inc. 19681# This is free software; see the source for copying conditions. There is NO 19682# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 19683 19684# GNU Libtool is free software; you can redistribute it and/or modify 19685# it under the terms of the GNU General Public License as published by 19686# the Free Software Foundation; either version 2 of of the License, or 19687# (at your option) any later version. 19688# 19689# As a special exception to the GNU General Public License, if you 19690# distribute this file as part of a program or library that is built 19691# using GNU Libtool, you may include this file under the same 19692# distribution terms that you use for the rest of that program. 19693# 19694# GNU Libtool is distributed in the hope that it will be useful, but 19695# WITHOUT ANY WARRANTY; without even the implied warranty of 19696# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19697# GNU General Public License for more details. 19698# 19699# You should have received a copy of the GNU General Public License 19700# along with this program. If not, see <http://www.gnu.org/licenses/>. 19701 19702 19703# The names of the tagged configurations supported by this script. 19704available_tags='' 19705 19706# Configured defaults for sys_lib_dlsearch_path munging. 19707: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 19708 19709# ### BEGIN LIBTOOL CONFIG 19710 19711# Which release of libtool.m4 was used? 19712macro_version=$macro_version 19713macro_revision=$macro_revision 19714 19715# Whether or not to build static libraries. 19716build_old_libs=$enable_static 19717 19718# Whether or not to build shared libraries. 19719build_libtool_libs=$enable_shared 19720 19721# What type of objects to build. 19722pic_mode=$pic_mode 19723 19724# Whether or not to optimize for fast installation. 19725fast_install=$enable_fast_install 19726 19727# Shared archive member basename,for filename based shared library versioning on AIX. 19728shared_archive_member_spec=$shared_archive_member_spec 19729 19730# Shell to use when invoking shell scripts. 19731SHELL=$lt_SHELL 19732 19733# An echo program that protects backslashes. 19734ECHO=$lt_ECHO 19735 19736# The PATH separator for the build system. 19737PATH_SEPARATOR=$lt_PATH_SEPARATOR 19738 19739# The host system. 19740host_alias=$host_alias 19741host=$host 19742host_os=$host_os 19743 19744# The build system. 19745build_alias=$build_alias 19746build=$build 19747build_os=$build_os 19748 19749# A sed program that does not truncate output. 19750SED=$lt_SED 19751 19752# Sed that helps us avoid accidentally triggering echo(1) options like -n. 19753Xsed="\$SED -e 1s/^X//" 19754 19755# A grep program that handles long lines. 19756GREP=$lt_GREP 19757 19758# An ERE matcher. 19759EGREP=$lt_EGREP 19760 19761# A literal string matcher. 19762FGREP=$lt_FGREP 19763 19764# A BSD- or MS-compatible name lister. 19765NM=$lt_NM 19766 19767# Whether we need soft or hard links. 19768LN_S=$lt_LN_S 19769 19770# What is the maximum length of a command? 19771max_cmd_len=$max_cmd_len 19772 19773# Object file suffix (normally "o"). 19774objext=$ac_objext 19775 19776# Executable file suffix (normally ""). 19777exeext=$exeext 19778 19779# whether the shell understands "unset". 19780lt_unset=$lt_unset 19781 19782# turn spaces into newlines. 19783SP2NL=$lt_lt_SP2NL 19784 19785# turn newlines into spaces. 19786NL2SP=$lt_lt_NL2SP 19787 19788# convert \$build file names to \$host format. 19789to_host_file_cmd=$lt_cv_to_host_file_cmd 19790 19791# convert \$build files to toolchain format. 19792to_tool_file_cmd=$lt_cv_to_tool_file_cmd 19793 19794# An object symbol dumper. 19795OBJDUMP=$lt_OBJDUMP 19796 19797# Method to check whether dependent libraries are shared objects. 19798deplibs_check_method=$lt_deplibs_check_method 19799 19800# Command to use when deplibs_check_method = "file_magic". 19801file_magic_cmd=$lt_file_magic_cmd 19802 19803# How to find potential files when deplibs_check_method = "file_magic". 19804file_magic_glob=$lt_file_magic_glob 19805 19806# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 19807want_nocaseglob=$lt_want_nocaseglob 19808 19809# DLL creation program. 19810DLLTOOL=$lt_DLLTOOL 19811 19812# Command to associate shared and link libraries. 19813sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 19814 19815# The archiver. 19816AR=$lt_AR 19817 19818# Flags to create an archive. 19819AR_FLAGS=$lt_AR_FLAGS 19820 19821# How to feed a file listing to the archiver. 19822archiver_list_spec=$lt_archiver_list_spec 19823 19824# A symbol stripping program. 19825STRIP=$lt_STRIP 19826 19827# Commands used to install an old-style archive. 19828RANLIB=$lt_RANLIB 19829old_postinstall_cmds=$lt_old_postinstall_cmds 19830old_postuninstall_cmds=$lt_old_postuninstall_cmds 19831 19832# Whether to use a lock for old archive extraction. 19833lock_old_archive_extraction=$lock_old_archive_extraction 19834 19835# A C compiler. 19836LTCC=$lt_CC 19837 19838# LTCC compiler flags. 19839LTCFLAGS=$lt_CFLAGS 19840 19841# Take the output of nm and produce a listing of raw symbols and C names. 19842global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 19843 19844# Transform the output of nm in a proper C declaration. 19845global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 19846 19847# Transform the output of nm into a list of symbols to manually relocate. 19848global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 19849 19850# Transform the output of nm in a C name address pair. 19851global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 19852 19853# Transform the output of nm in a C name address pair when lib prefix is needed. 19854global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 19855 19856# The name lister interface. 19857nm_interface=$lt_lt_cv_nm_interface 19858 19859# Specify filename containing input files for \$NM. 19860nm_file_list_spec=$lt_nm_file_list_spec 19861 19862# The root where to search for dependent libraries,and where our libraries should be installed. 19863lt_sysroot=$lt_sysroot 19864 19865# Command to truncate a binary pipe. 19866lt_truncate_bin=$lt_lt_cv_truncate_bin 19867 19868# The name of the directory that contains temporary libtool files. 19869objdir=$objdir 19870 19871# Used to examine libraries when file_magic_cmd begins with "file". 19872MAGIC_CMD=$MAGIC_CMD 19873 19874# Must we lock files when doing compilation? 19875need_locks=$lt_need_locks 19876 19877# Manifest tool. 19878MANIFEST_TOOL=$lt_MANIFEST_TOOL 19879 19880# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 19881DSYMUTIL=$lt_DSYMUTIL 19882 19883# Tool to change global to local symbols on Mac OS X. 19884NMEDIT=$lt_NMEDIT 19885 19886# Tool to manipulate fat objects and archives on Mac OS X. 19887LIPO=$lt_LIPO 19888 19889# ldd/readelf like tool for Mach-O binaries on Mac OS X. 19890OTOOL=$lt_OTOOL 19891 19892# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 19893OTOOL64=$lt_OTOOL64 19894 19895# Old archive suffix (normally "a"). 19896libext=$libext 19897 19898# Shared library suffix (normally ".so"). 19899shrext_cmds=$lt_shrext_cmds 19900 19901# The commands to extract the exported symbol list from a shared archive. 19902extract_expsyms_cmds=$lt_extract_expsyms_cmds 19903 19904# Variables whose values should be saved in libtool wrapper scripts and 19905# restored at link time. 19906variables_saved_for_relink=$lt_variables_saved_for_relink 19907 19908# Do we need the "lib" prefix for modules? 19909need_lib_prefix=$need_lib_prefix 19910 19911# Do we need a version for libraries? 19912need_version=$need_version 19913 19914# Library versioning type. 19915version_type=$version_type 19916 19917# Shared library runtime path variable. 19918runpath_var=$runpath_var 19919 19920# Shared library path variable. 19921shlibpath_var=$shlibpath_var 19922 19923# Is shlibpath searched before the hard-coded library search path? 19924shlibpath_overrides_runpath=$shlibpath_overrides_runpath 19925 19926# Format of library name prefix. 19927libname_spec=$lt_libname_spec 19928 19929# List of archive names. First name is the real one, the rest are links. 19930# The last name is the one that the linker finds with -lNAME 19931library_names_spec=$lt_library_names_spec 19932 19933# The coded name of the library, if different from the real name. 19934soname_spec=$lt_soname_spec 19935 19936# Permission mode override for installation of shared libraries. 19937install_override_mode=$lt_install_override_mode 19938 19939# Command to use after installation of a shared archive. 19940postinstall_cmds=$lt_postinstall_cmds 19941 19942# Command to use after uninstallation of a shared archive. 19943postuninstall_cmds=$lt_postuninstall_cmds 19944 19945# Commands used to finish a libtool library installation in a directory. 19946finish_cmds=$lt_finish_cmds 19947 19948# As "finish_cmds", except a single script fragment to be evaled but 19949# not shown. 19950finish_eval=$lt_finish_eval 19951 19952# Whether we should hardcode library paths into libraries. 19953hardcode_into_libs=$hardcode_into_libs 19954 19955# Compile-time system search path for libraries. 19956sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 19957 19958# Detected run-time system search path for libraries. 19959sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 19960 19961# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 19962configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 19963 19964# Whether dlopen is supported. 19965dlopen_support=$enable_dlopen 19966 19967# Whether dlopen of programs is supported. 19968dlopen_self=$enable_dlopen_self 19969 19970# Whether dlopen of statically linked programs is supported. 19971dlopen_self_static=$enable_dlopen_self_static 19972 19973# Commands to strip libraries. 19974old_striplib=$lt_old_striplib 19975striplib=$lt_striplib 19976 19977 19978# The linker used to build libraries. 19979LD=$lt_LD 19980 19981# How to create reloadable object files. 19982reload_flag=$lt_reload_flag 19983reload_cmds=$lt_reload_cmds 19984 19985# Commands used to build an old-style archive. 19986old_archive_cmds=$lt_old_archive_cmds 19987 19988# A language specific compiler. 19989CC=$lt_compiler 19990 19991# Is the compiler the GNU compiler? 19992with_gcc=$GCC 19993 19994# Compiler flag to turn off builtin functions. 19995no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 19996 19997# Additional compiler flags for building library objects. 19998pic_flag=$lt_lt_prog_compiler_pic 19999 20000# How to pass a linker flag through the compiler. 20001wl=$lt_lt_prog_compiler_wl 20002 20003# Compiler flag to prevent dynamic linking. 20004link_static_flag=$lt_lt_prog_compiler_static 20005 20006# Does compiler simultaneously support -c and -o options? 20007compiler_c_o=$lt_lt_cv_prog_compiler_c_o 20008 20009# Whether or not to add -lc for building shared libraries. 20010build_libtool_need_lc=$archive_cmds_need_lc 20011 20012# Whether or not to disallow shared libs when runtime libs are static. 20013allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 20014 20015# Compiler flag to allow reflexive dlopens. 20016export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 20017 20018# Compiler flag to generate shared objects directly from archives. 20019whole_archive_flag_spec=$lt_whole_archive_flag_spec 20020 20021# Whether the compiler copes with passing no objects directly. 20022compiler_needs_object=$lt_compiler_needs_object 20023 20024# Create an old-style archive from a shared archive. 20025old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 20026 20027# Create a temporary old-style archive to link instead of a shared archive. 20028old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 20029 20030# Commands used to build a shared archive. 20031archive_cmds=$lt_archive_cmds 20032archive_expsym_cmds=$lt_archive_expsym_cmds 20033 20034# Commands used to build a loadable module if different from building 20035# a shared archive. 20036module_cmds=$lt_module_cmds 20037module_expsym_cmds=$lt_module_expsym_cmds 20038 20039# Whether we are building with GNU ld or not. 20040with_gnu_ld=$lt_with_gnu_ld 20041 20042# Flag that allows shared libraries with undefined symbols to be built. 20043allow_undefined_flag=$lt_allow_undefined_flag 20044 20045# Flag that enforces no undefined symbols. 20046no_undefined_flag=$lt_no_undefined_flag 20047 20048# Flag to hardcode \$libdir into a binary during linking. 20049# This must work even if \$libdir does not exist 20050hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 20051 20052# Whether we need a single "-rpath" flag with a separated argument. 20053hardcode_libdir_separator=$lt_hardcode_libdir_separator 20054 20055# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 20056# DIR into the resulting binary. 20057hardcode_direct=$hardcode_direct 20058 20059# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 20060# DIR into the resulting binary and the resulting library dependency is 20061# "absolute",i.e impossible to change by setting \$shlibpath_var if the 20062# library is relocated. 20063hardcode_direct_absolute=$hardcode_direct_absolute 20064 20065# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 20066# into the resulting binary. 20067hardcode_minus_L=$hardcode_minus_L 20068 20069# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 20070# into the resulting binary. 20071hardcode_shlibpath_var=$hardcode_shlibpath_var 20072 20073# Set to "yes" if building a shared library automatically hardcodes DIR 20074# into the library and all subsequent libraries and executables linked 20075# against it. 20076hardcode_automatic=$hardcode_automatic 20077 20078# Set to yes if linker adds runtime paths of dependent libraries 20079# to runtime path list. 20080inherit_rpath=$inherit_rpath 20081 20082# Whether libtool must link a program against all its dependency libraries. 20083link_all_deplibs=$link_all_deplibs 20084 20085# Set to "yes" if exported symbols are required. 20086always_export_symbols=$always_export_symbols 20087 20088# The commands to list exported symbols. 20089export_symbols_cmds=$lt_export_symbols_cmds 20090 20091# Symbols that should not be listed in the preloaded symbols. 20092exclude_expsyms=$lt_exclude_expsyms 20093 20094# Symbols that must always be exported. 20095include_expsyms=$lt_include_expsyms 20096 20097# Commands necessary for linking programs (against libraries) with templates. 20098prelink_cmds=$lt_prelink_cmds 20099 20100# Commands necessary for finishing linking programs. 20101postlink_cmds=$lt_postlink_cmds 20102 20103# Specify filename containing input files. 20104file_list_spec=$lt_file_list_spec 20105 20106# How to hardcode a shared library path into an executable. 20107hardcode_action=$hardcode_action 20108 20109# ### END LIBTOOL CONFIG 20110 20111_LT_EOF 20112 20113 cat <<'_LT_EOF' >> "$cfgfile" 20114 20115# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 20116 20117# func_munge_path_list VARIABLE PATH 20118# ----------------------------------- 20119# VARIABLE is name of variable containing _space_ separated list of 20120# directories to be munged by the contents of PATH, which is string 20121# having a format: 20122# "DIR[:DIR]:" 20123# string "DIR[ DIR]" will be prepended to VARIABLE 20124# ":DIR[:DIR]" 20125# string "DIR[ DIR]" will be appended to VARIABLE 20126# "DIRP[:DIRP]::[DIRA:]DIRA" 20127# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 20128# "DIRA[ DIRA]" will be appended to VARIABLE 20129# "DIR[:DIR]" 20130# VARIABLE will be replaced by "DIR[ DIR]" 20131func_munge_path_list () 20132{ 20133 case x$2 in 20134 x) 20135 ;; 20136 *:) 20137 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 20138 ;; 20139 x:*) 20140 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 20141 ;; 20142 *::*) 20143 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 20144 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 20145 ;; 20146 *) 20147 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 20148 ;; 20149 esac 20150} 20151 20152 20153# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 20154func_cc_basename () 20155{ 20156 for cc_temp in $*""; do 20157 case $cc_temp in 20158 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 20159 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 20160 \-*) ;; 20161 *) break;; 20162 esac 20163 done 20164 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 20165} 20166 20167 20168# ### END FUNCTIONS SHARED WITH CONFIGURE 20169 20170_LT_EOF 20171 20172 case $host_os in 20173 aix3*) 20174 cat <<\_LT_EOF >> "$cfgfile" 20175# AIX sometimes has problems with the GCC collect2 program. For some 20176# reason, if we set the COLLECT_NAMES environment variable, the problems 20177# vanish in a puff of smoke. 20178if test set != "${COLLECT_NAMES+set}"; then 20179 COLLECT_NAMES= 20180 export COLLECT_NAMES 20181fi 20182_LT_EOF 20183 ;; 20184 esac 20185 20186 20187ltmain=$ac_aux_dir/ltmain.sh 20188 20189 20190 # We use sed instead of cat because bash on DJGPP gets confused if 20191 # if finds mixed CR/LF and LF-only lines. Since sed operates in 20192 # text mode, it properly converts lines to CR/LF. This bash problem 20193 # is reportedly fixed, but why not run on old versions too? 20194 sed '$q' "$ltmain" >> "$cfgfile" \ 20195 || (rm -f "$cfgfile"; exit 1) 20196 20197 mv -f "$cfgfile" "$ofile" || 20198 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 20199 chmod +x "$ofile" 20200 20201 ;; 20202 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 20203 # Older Autoconf quotes --file arguments for eval, but not when files 20204 # are listed without --file. Let's play safe and only enable the eval 20205 # if we detect the quoting. 20206 case $CONFIG_FILES in 20207 *\'*) eval set x "$CONFIG_FILES" ;; 20208 *) set x $CONFIG_FILES ;; 20209 esac 20210 shift 20211 for mf 20212 do 20213 # Strip MF so we end up with the name of the file. 20214 mf=`echo "$mf" | sed -e 's/:.*$//'` 20215 # Check whether this is an Automake generated Makefile or not. 20216 # We used to match only the files named 'Makefile.in', but 20217 # some people rename them; so instead we look at the file content. 20218 # Grep'ing the first line is not enough: some people post-process 20219 # each Makefile.in and add a new line on top of each file to say so. 20220 # Grep'ing the whole file is not good either: AIX grep has a line 20221 # limit of 2048, but all sed's we know have understand at least 4000. 20222 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 20223 dirpart=`$as_dirname -- "$mf" || 20224$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20225 X"$mf" : 'X\(//\)[^/]' \| \ 20226 X"$mf" : 'X\(//\)$' \| \ 20227 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 20228$as_echo X"$mf" | 20229 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 20230 s//\1/ 20231 q 20232 } 20233 /^X\(\/\/\)[^/].*/{ 20234 s//\1/ 20235 q 20236 } 20237 /^X\(\/\/\)$/{ 20238 s//\1/ 20239 q 20240 } 20241 /^X\(\/\).*/{ 20242 s//\1/ 20243 q 20244 } 20245 s/.*/./; q'` 20246 else 20247 continue 20248 fi 20249 # Extract the definition of DEPDIR, am__include, and am__quote 20250 # from the Makefile without running 'make'. 20251 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 20252 test -z "$DEPDIR" && continue 20253 am__include=`sed -n 's/^am__include = //p' < "$mf"` 20254 test -z "$am__include" && continue 20255 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 20256 # Find all dependency output files, they are included files with 20257 # $(DEPDIR) in their names. We invoke sed twice because it is the 20258 # simplest approach to changing $(DEPDIR) to its actual value in the 20259 # expansion. 20260 for file in `sed -n " 20261 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 20262 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 20263 # Make sure the directory exists. 20264 test -f "$dirpart/$file" && continue 20265 fdir=`$as_dirname -- "$file" || 20266$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20267 X"$file" : 'X\(//\)[^/]' \| \ 20268 X"$file" : 'X\(//\)$' \| \ 20269 X"$file" : 'X\(/\)' \| . 2>/dev/null || 20270$as_echo X"$file" | 20271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 20272 s//\1/ 20273 q 20274 } 20275 /^X\(\/\/\)[^/].*/{ 20276 s//\1/ 20277 q 20278 } 20279 /^X\(\/\/\)$/{ 20280 s//\1/ 20281 q 20282 } 20283 /^X\(\/\).*/{ 20284 s//\1/ 20285 q 20286 } 20287 s/.*/./; q'` 20288 as_dir=$dirpart/$fdir; as_fn_mkdir_p 20289 # echo "creating $dirpart/$file" 20290 echo '# dummy' > "$dirpart/$file" 20291 done 20292 done 20293} 20294 ;; 20295 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) 20296 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile 20297 esac ;; 20298 "po/stamp-it":C) 20299 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then 20300 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 20301 fi 20302 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" 20303 >"po/stamp-it.tmp" 20304 sed '/^#/d 20305 s/^[[].*] *// 20306 /^[ ]*$/d 20307 '"s|^| $ac_top_srcdir/|" \ 20308 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" 20309 20310 sed '/^POTFILES =/,/[^\\]$/ { 20311 /^POTFILES =/!d 20312 r po/POTFILES 20313 } 20314 ' "po/Makefile.in" >"po/Makefile" 20315 rm -f "po/Makefile.tmp" 20316 mv "po/stamp-it.tmp" "po/stamp-it" 20317 ;; 20318 20319 esac 20320done # for ac_tag 20321 20322 20323as_fn_exit 0 20324_ACEOF 20325ac_clean_files=$ac_clean_files_save 20326 20327test $ac_write_fail = 0 || 20328 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 20329 20330 20331# configure is writing to config.log, and then calls config.status. 20332# config.status does its own redirection, appending to config.log. 20333# Unfortunately, on DOS this fails, as config.log is still kept open 20334# by configure, so config.status won't be able to write to it; its 20335# output is simply discarded. So we exec the FD to /dev/null, 20336# effectively closing config.log, so it can be properly (re)opened and 20337# appended to by config.status. When coming back to configure, we 20338# need to make the FD available again. 20339if test "$no_create" != yes; then 20340 ac_cs_success=: 20341 ac_config_status_args= 20342 test "$silent" = yes && 20343 ac_config_status_args="$ac_config_status_args --quiet" 20344 exec 5>/dev/null 20345 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 20346 exec 5>>config.log 20347 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 20348 # would make configure fail if this is the last instruction. 20349 $ac_cs_success || as_fn_exit 1 20350fi 20351if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 20352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 20353$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 20354fi 20355 20356 20357cat rodent-fstab.settings 20358echo "Build: $build" 20359 20360echo 'CFLAGS:' $CFLAGS 20361echo 'LDFLAGS:' $LDFLAGS 20362 20363if test "$ac_uname_s" = "Linux"; then 20364 echo 'Now do a make && sudo make install && sudo ldconfig' 20365else 20366 echo 'ATTENTION BSD user: Use gmake instead of make,' 20367 echo 'otherwise make process will halt with an error while building' 20368 echo 'translations.' 20369 echo '...' 20370 echo 'Now do a gmake && sudo gmake install && sudo ldconfig' 20371fi 20372 20373 20374 20375 20376