1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for rodent-fgr 5.3.16.3. 4# 5# Report bugs to <https://sourceforge.net/p/xffm/bugs/milestone/rodent-fgr/>. 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-fgr/ 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-fgr' 593PACKAGE_TARNAME='rodent-fgr' 594PACKAGE_VERSION='5.3.16.3' 595PACKAGE_STRING='rodent-fgr 5.3.16.3' 596PACKAGE_BUGREPORT='https://sourceforge.net/p/xffm/bugs/milestone/rodent-fgr/' 597PACKAGE_URL='"http://xffm.org/rodent-fgr.html"' 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 639WANT_DEBIAN_FALSE 640WANT_DEBIAN_TRUE 641cv_dpkg 642XGETTEXT_ARGS 643MKINSTALLDIRS 644POSUB 645POFILES 646PO_IN_DATADIR_FALSE 647PO_IN_DATADIR_TRUE 648INTLLIBS 649INSTOBJEXT 650GMOFILES 651CATOBJEXT 652CATALOGS 653MSGFMT_OPTS 654GETTEXT_PACKAGE 655DEBUG_TRACE 656WITH_TRACE 657DEBUG 658WITH_DEBUG 659CORE 660WITH_CORE 661GNU_GREP 662WITH_GNU_GREP 663ONLY_LINUX_FALSE 664ONLY_LINUX_TRUE 665WANT_FREEBSD_FALSE 666WANT_FREEBSD_TRUE 667UNAME_S 668gawk 669intltoolize 670cv_pkgconfig 671DATADIRNAME 672ALL_LINGUAS 673INTLTOOL_PERL 674GMSGFMT 675MSGFMT 676MSGMERGE 677XGETTEXT 678INTLTOOL_POLICY_RULE 679INTLTOOL_SERVICE_RULE 680INTLTOOL_THEME_RULE 681INTLTOOL_SCHEMAS_RULE 682INTLTOOL_CAVES_RULE 683INTLTOOL_XML_NOMERGE_RULE 684INTLTOOL_XML_RULE 685INTLTOOL_KBD_RULE 686INTLTOOL_XAM_RULE 687INTLTOOL_UI_RULE 688INTLTOOL_SOUNDLIST_RULE 689INTLTOOL_SHEET_RULE 690INTLTOOL_SERVER_RULE 691INTLTOOL_PONG_RULE 692INTLTOOL_OAF_RULE 693INTLTOOL_PROP_RULE 694INTLTOOL_KEYS_RULE 695INTLTOOL_DIRECTORY_RULE 696INTLTOOL_DESKTOP_RULE 697intltool__v_merge_options_0 698intltool__v_merge_options_ 699INTLTOOL_V_MERGE_OPTIONS 700INTLTOOL__v_MERGE_0 701INTLTOOL__v_MERGE_ 702INTLTOOL_V_MERGE 703INTLTOOL_EXTRACT 704INTLTOOL_MERGE 705INTLTOOL_UPDATE 706USE_NLS 707MASTER_SITE 708BUGMAIL 709LICENSE 710SRC_URI 711HOMEPAGE 712SUMMARY 713WITH_MPT 714MAINT 715MAINTAINER_MODE_FALSE 716MAINTAINER_MODE_TRUE 717RFM_VERINFO 718AM_BACKSLASH 719AM_DEFAULT_VERBOSITY 720am__fastdepCC_FALSE 721am__fastdepCC_TRUE 722CCDEPMODE 723am__nodep 724AMDEPBACKSLASH 725AMDEP_FALSE 726AMDEP_TRUE 727am__quote 728am__include 729DEPDIR 730am__untar 731am__tar 732AMTAR 733am__leading_dot 734SET_MAKE 735mkdir_p 736MKDIR_P 737INSTALL_STRIP_PROGRAM 738install_sh 739MAKEINFO 740AUTOHEADER 741AUTOMAKE 742AUTOCONF 743ACLOCAL 744VERSION 745PACKAGE 746CYGPATH_W 747am__isrc 748INSTALL_DATA 749INSTALL_SCRIPT 750INSTALL_PROGRAM 751TCMALLOC 752RFM_MODULE_DIR 753RFM_PREFIX 754GTK_PREFIX 755GTK_VERSION 756LIBRFM_REQUIRED_VERSION 757LIBRFM_LIBS 758LIBRFM_CFLAGS 759LIBRFM_VERSION 760PKG_CONFIG 761PACKAGE_COPYRIGHT 762COPYRIGHT 763_GNU_SOURCE 764RPM_UDF_REQUIRES 765RPM_FDUPES_REQUIRES 766RPM_GROUP 767RPM_LICENSE 768RPM_COMMENT 769CPP 770LT_SYS_LIBRARY_PATH 771OTOOL64 772OTOOL 773LIPO 774NMEDIT 775DSYMUTIL 776MANIFEST_TOOL 777AWK 778RANLIB 779STRIP 780ac_ct_AR 781AR 782DLLTOOL 783OBJDUMP 784LN_S 785NM 786ac_ct_DUMPBIN 787DUMPBIN 788LD 789FGREP 790EGREP 791GREP 792SED 793OBJEXT 794EXEEXT 795ac_ct_CC 796CPPFLAGS 797LDFLAGS 798CFLAGS 799CC 800host_os 801host_vendor 802host_cpu 803host 804build_os 805build_vendor 806build_cpu 807build 808LIBTOOL 809target_alias 810host_alias 811build_alias 812LIBS 813ECHO_T 814ECHO_N 815ECHO_C 816DEFS 817mandir 818localedir 819libdir 820psdir 821pdfdir 822dvidir 823htmldir 824infodir 825docdir 826oldincludedir 827includedir 828localstatedir 829sharedstatedir 830sysconfdir 831datadir 832datarootdir 833libexecdir 834sbindir 835bindir 836program_transform_name 837prefix 838exec_prefix 839PACKAGE_URL 840PACKAGE_BUGREPORT 841PACKAGE_STRING 842PACKAGE_VERSION 843PACKAGE_TARNAME 844PACKAGE_NAME 845PATH_SEPARATOR 846SHELL' 847ac_subst_files='' 848ac_user_opts=' 849enable_option_checking 850enable_static 851enable_shared 852with_pic 853enable_fast_install 854with_aix_soname 855with_gnu_ld 856with_sysroot 857enable_libtool_lock 858with_centos 859with_tcmalloc 860enable_dependency_tracking 861enable_silent_rules 862enable_maintainer_mode 863with_mpt 864enable_nls 865with_debug 866with_trace 867with_core 868with_locales_dir 869' 870 ac_precious_vars='build_alias 871host_alias 872target_alias 873CC 874CFLAGS 875LDFLAGS 876LIBS 877CPPFLAGS 878LT_SYS_LIBRARY_PATH 879CPP' 880 881 882# Initialize some variables set by options. 883ac_init_help= 884ac_init_version=false 885ac_unrecognized_opts= 886ac_unrecognized_sep= 887# The variables have the same names as the options, with 888# dashes changed to underlines. 889cache_file=/dev/null 890exec_prefix=NONE 891no_create= 892no_recursion= 893prefix=NONE 894program_prefix=NONE 895program_suffix=NONE 896program_transform_name=s,x,x, 897silent= 898site= 899srcdir= 900verbose= 901x_includes=NONE 902x_libraries=NONE 903 904# Installation directory options. 905# These are left unexpanded so users can "make install exec_prefix=/foo" 906# and all the variables that are supposed to be based on exec_prefix 907# by default will actually change. 908# Use braces instead of parens because sh, perl, etc. also accept them. 909# (The list follows the same order as the GNU Coding Standards.) 910bindir='${exec_prefix}/bin' 911sbindir='${exec_prefix}/sbin' 912libexecdir='${exec_prefix}/libexec' 913datarootdir='${prefix}/share' 914datadir='${datarootdir}' 915sysconfdir='${prefix}/etc' 916sharedstatedir='${prefix}/com' 917localstatedir='${prefix}/var' 918includedir='${prefix}/include' 919oldincludedir='/usr/include' 920docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 921infodir='${datarootdir}/info' 922htmldir='${docdir}' 923dvidir='${docdir}' 924pdfdir='${docdir}' 925psdir='${docdir}' 926libdir='${exec_prefix}/lib' 927localedir='${datarootdir}/locale' 928mandir='${datarootdir}/man' 929 930ac_prev= 931ac_dashdash= 932for ac_option 933do 934 # If the previous option needs an argument, assign it. 935 if test -n "$ac_prev"; then 936 eval $ac_prev=\$ac_option 937 ac_prev= 938 continue 939 fi 940 941 case $ac_option in 942 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 943 *=) ac_optarg= ;; 944 *) ac_optarg=yes ;; 945 esac 946 947 # Accept the important Cygnus configure options, so we can diagnose typos. 948 949 case $ac_dashdash$ac_option in 950 --) 951 ac_dashdash=yes ;; 952 953 -bindir | --bindir | --bindi | --bind | --bin | --bi) 954 ac_prev=bindir ;; 955 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 956 bindir=$ac_optarg ;; 957 958 -build | --build | --buil | --bui | --bu) 959 ac_prev=build_alias ;; 960 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 961 build_alias=$ac_optarg ;; 962 963 -cache-file | --cache-file | --cache-fil | --cache-fi \ 964 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 965 ac_prev=cache_file ;; 966 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 967 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 968 cache_file=$ac_optarg ;; 969 970 --config-cache | -C) 971 cache_file=config.cache ;; 972 973 -datadir | --datadir | --datadi | --datad) 974 ac_prev=datadir ;; 975 -datadir=* | --datadir=* | --datadi=* | --datad=*) 976 datadir=$ac_optarg ;; 977 978 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 979 | --dataroo | --dataro | --datar) 980 ac_prev=datarootdir ;; 981 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 982 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 983 datarootdir=$ac_optarg ;; 984 985 -disable-* | --disable-*) 986 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 987 # Reject names that are not valid shell variable names. 988 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 989 as_fn_error $? "invalid feature name: $ac_useropt" 990 ac_useropt_orig=$ac_useropt 991 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 992 case $ac_user_opts in 993 *" 994"enable_$ac_useropt" 995"*) ;; 996 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 997 ac_unrecognized_sep=', ';; 998 esac 999 eval enable_$ac_useropt=no ;; 1000 1001 -docdir | --docdir | --docdi | --doc | --do) 1002 ac_prev=docdir ;; 1003 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1004 docdir=$ac_optarg ;; 1005 1006 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1007 ac_prev=dvidir ;; 1008 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1009 dvidir=$ac_optarg ;; 1010 1011 -enable-* | --enable-*) 1012 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1013 # Reject names that are not valid shell variable names. 1014 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1015 as_fn_error $? "invalid feature name: $ac_useropt" 1016 ac_useropt_orig=$ac_useropt 1017 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1018 case $ac_user_opts in 1019 *" 1020"enable_$ac_useropt" 1021"*) ;; 1022 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1023 ac_unrecognized_sep=', ';; 1024 esac 1025 eval enable_$ac_useropt=\$ac_optarg ;; 1026 1027 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1028 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1029 | --exec | --exe | --ex) 1030 ac_prev=exec_prefix ;; 1031 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1032 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1033 | --exec=* | --exe=* | --ex=*) 1034 exec_prefix=$ac_optarg ;; 1035 1036 -gas | --gas | --ga | --g) 1037 # Obsolete; use --with-gas. 1038 with_gas=yes ;; 1039 1040 -help | --help | --hel | --he | -h) 1041 ac_init_help=long ;; 1042 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1043 ac_init_help=recursive ;; 1044 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1045 ac_init_help=short ;; 1046 1047 -host | --host | --hos | --ho) 1048 ac_prev=host_alias ;; 1049 -host=* | --host=* | --hos=* | --ho=*) 1050 host_alias=$ac_optarg ;; 1051 1052 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1053 ac_prev=htmldir ;; 1054 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1055 | --ht=*) 1056 htmldir=$ac_optarg ;; 1057 1058 -includedir | --includedir | --includedi | --included | --include \ 1059 | --includ | --inclu | --incl | --inc) 1060 ac_prev=includedir ;; 1061 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1062 | --includ=* | --inclu=* | --incl=* | --inc=*) 1063 includedir=$ac_optarg ;; 1064 1065 -infodir | --infodir | --infodi | --infod | --info | --inf) 1066 ac_prev=infodir ;; 1067 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1068 infodir=$ac_optarg ;; 1069 1070 -libdir | --libdir | --libdi | --libd) 1071 ac_prev=libdir ;; 1072 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1073 libdir=$ac_optarg ;; 1074 1075 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1076 | --libexe | --libex | --libe) 1077 ac_prev=libexecdir ;; 1078 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1079 | --libexe=* | --libex=* | --libe=*) 1080 libexecdir=$ac_optarg ;; 1081 1082 -localedir | --localedir | --localedi | --localed | --locale) 1083 ac_prev=localedir ;; 1084 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1085 localedir=$ac_optarg ;; 1086 1087 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1088 | --localstate | --localstat | --localsta | --localst | --locals) 1089 ac_prev=localstatedir ;; 1090 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1091 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1092 localstatedir=$ac_optarg ;; 1093 1094 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1095 ac_prev=mandir ;; 1096 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1097 mandir=$ac_optarg ;; 1098 1099 -nfp | --nfp | --nf) 1100 # Obsolete; use --without-fp. 1101 with_fp=no ;; 1102 1103 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1104 | --no-cr | --no-c | -n) 1105 no_create=yes ;; 1106 1107 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1108 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1109 no_recursion=yes ;; 1110 1111 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1112 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1113 | --oldin | --oldi | --old | --ol | --o) 1114 ac_prev=oldincludedir ;; 1115 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1116 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1117 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1118 oldincludedir=$ac_optarg ;; 1119 1120 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1121 ac_prev=prefix ;; 1122 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1123 prefix=$ac_optarg ;; 1124 1125 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1126 | --program-pre | --program-pr | --program-p) 1127 ac_prev=program_prefix ;; 1128 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1129 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1130 program_prefix=$ac_optarg ;; 1131 1132 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1133 | --program-suf | --program-su | --program-s) 1134 ac_prev=program_suffix ;; 1135 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1136 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1137 program_suffix=$ac_optarg ;; 1138 1139 -program-transform-name | --program-transform-name \ 1140 | --program-transform-nam | --program-transform-na \ 1141 | --program-transform-n | --program-transform- \ 1142 | --program-transform | --program-transfor \ 1143 | --program-transfo | --program-transf \ 1144 | --program-trans | --program-tran \ 1145 | --progr-tra | --program-tr | --program-t) 1146 ac_prev=program_transform_name ;; 1147 -program-transform-name=* | --program-transform-name=* \ 1148 | --program-transform-nam=* | --program-transform-na=* \ 1149 | --program-transform-n=* | --program-transform-=* \ 1150 | --program-transform=* | --program-transfor=* \ 1151 | --program-transfo=* | --program-transf=* \ 1152 | --program-trans=* | --program-tran=* \ 1153 | --progr-tra=* | --program-tr=* | --program-t=*) 1154 program_transform_name=$ac_optarg ;; 1155 1156 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1157 ac_prev=pdfdir ;; 1158 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1159 pdfdir=$ac_optarg ;; 1160 1161 -psdir | --psdir | --psdi | --psd | --ps) 1162 ac_prev=psdir ;; 1163 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1164 psdir=$ac_optarg ;; 1165 1166 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1167 | -silent | --silent | --silen | --sile | --sil) 1168 silent=yes ;; 1169 1170 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1171 ac_prev=sbindir ;; 1172 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1173 | --sbi=* | --sb=*) 1174 sbindir=$ac_optarg ;; 1175 1176 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1177 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1178 | --sharedst | --shareds | --shared | --share | --shar \ 1179 | --sha | --sh) 1180 ac_prev=sharedstatedir ;; 1181 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1182 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1183 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1184 | --sha=* | --sh=*) 1185 sharedstatedir=$ac_optarg ;; 1186 1187 -site | --site | --sit) 1188 ac_prev=site ;; 1189 -site=* | --site=* | --sit=*) 1190 site=$ac_optarg ;; 1191 1192 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1193 ac_prev=srcdir ;; 1194 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1195 srcdir=$ac_optarg ;; 1196 1197 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1198 | --syscon | --sysco | --sysc | --sys | --sy) 1199 ac_prev=sysconfdir ;; 1200 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1201 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1202 sysconfdir=$ac_optarg ;; 1203 1204 -target | --target | --targe | --targ | --tar | --ta | --t) 1205 ac_prev=target_alias ;; 1206 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1207 target_alias=$ac_optarg ;; 1208 1209 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1210 verbose=yes ;; 1211 1212 -version | --version | --versio | --versi | --5.3.16.3 | -V) 1213 ac_init_version=: ;; 1214 1215 -with-* | --with-*) 1216 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1217 # Reject names that are not valid shell variable names. 1218 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1219 as_fn_error $? "invalid rodent-fgr name: $ac_useropt" 1220 ac_useropt_orig=$ac_useropt 1221 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1222 case $ac_user_opts in 1223 *" 1224"with_$ac_useropt" 1225"*) ;; 1226 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1227 ac_unrecognized_sep=', ';; 1228 esac 1229 eval with_$ac_useropt=\$ac_optarg ;; 1230 1231 -without-* | --without-*) 1232 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1233 # Reject names that are not valid shell variable names. 1234 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1235 as_fn_error $? "invalid rodent-fgr name: $ac_useropt" 1236 ac_useropt_orig=$ac_useropt 1237 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1238 case $ac_user_opts in 1239 *" 1240"with_$ac_useropt" 1241"*) ;; 1242 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1243 ac_unrecognized_sep=', ';; 1244 esac 1245 eval with_$ac_useropt=no ;; 1246 1247 --x) 1248 # Obsolete; use --with-x. 1249 with_x=yes ;; 1250 1251 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1252 | --x-incl | --x-inc | --x-in | --x-i) 1253 ac_prev=x_includes ;; 1254 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1255 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1256 x_includes=$ac_optarg ;; 1257 1258 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1259 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1260 ac_prev=x_libraries ;; 1261 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1262 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1263 x_libraries=$ac_optarg ;; 1264 1265 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1266Try \`$0 --help' for more information" 1267 ;; 1268 1269 *=*) 1270 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1271 # Reject names that are not valid shell variable names. 1272 case $ac_envvar in #( 1273 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1274 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1275 esac 1276 eval $ac_envvar=\$ac_optarg 1277 export $ac_envvar ;; 1278 1279 *) 1280 # FIXME: should be removed in autoconf 3.0. 1281 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1282 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1283 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1284 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1285 ;; 1286 1287 esac 1288done 1289 1290if test -n "$ac_prev"; then 1291 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1292 as_fn_error $? "missing argument to $ac_option" 1293fi 1294 1295if test -n "$ac_unrecognized_opts"; then 1296 case $enable_option_checking in 1297 no) ;; 1298 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1299 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1300 esac 1301fi 1302 1303# Check all directory arguments for consistency. 1304for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1305 datadir sysconfdir sharedstatedir localstatedir includedir \ 1306 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1307 libdir localedir mandir 1308do 1309 eval ac_val=\$$ac_var 1310 # Remove trailing slashes. 1311 case $ac_val in 1312 */ ) 1313 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1314 eval $ac_var=\$ac_val;; 1315 esac 1316 # Be sure to have absolute directory names. 1317 case $ac_val in 1318 [\\/$]* | ?:[\\/]* ) continue;; 1319 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1320 esac 1321 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1322done 1323 1324# There might be people who depend on the old broken behavior: `$host' 1325# used to hold the argument of --host etc. 1326# FIXME: To remove some day. 1327build=$build_alias 1328host=$host_alias 1329target=$target_alias 1330 1331# FIXME: To remove some day. 1332if test "x$host_alias" != x; then 1333 if test "x$build_alias" = x; then 1334 cross_compiling=maybe 1335 elif test "x$build_alias" != "x$host_alias"; then 1336 cross_compiling=yes 1337 fi 1338fi 1339 1340ac_tool_prefix= 1341test -n "$host_alias" && ac_tool_prefix=$host_alias- 1342 1343test "$silent" = yes && exec 6>/dev/null 1344 1345 1346ac_pwd=`pwd` && test -n "$ac_pwd" && 1347ac_ls_di=`ls -di .` && 1348ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1349 as_fn_error $? "working directory cannot be determined" 1350test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1351 as_fn_error $? "pwd does not report name of working directory" 1352 1353 1354# Find the source files, if location was not specified. 1355if test -z "$srcdir"; then 1356 ac_srcdir_defaulted=yes 1357 # Try the directory containing this script, then the parent directory. 1358 ac_confdir=`$as_dirname -- "$as_myself" || 1359$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1360 X"$as_myself" : 'X\(//\)[^/]' \| \ 1361 X"$as_myself" : 'X\(//\)$' \| \ 1362 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1363$as_echo X"$as_myself" | 1364 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1365 s//\1/ 1366 q 1367 } 1368 /^X\(\/\/\)[^/].*/{ 1369 s//\1/ 1370 q 1371 } 1372 /^X\(\/\/\)$/{ 1373 s//\1/ 1374 q 1375 } 1376 /^X\(\/\).*/{ 1377 s//\1/ 1378 q 1379 } 1380 s/.*/./; q'` 1381 srcdir=$ac_confdir 1382 if test ! -r "$srcdir/$ac_unique_file"; then 1383 srcdir=.. 1384 fi 1385else 1386 ac_srcdir_defaulted=no 1387fi 1388if test ! -r "$srcdir/$ac_unique_file"; then 1389 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1390 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1391fi 1392ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1393ac_abs_confdir=`( 1394 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1395 pwd)` 1396# When building in place, set srcdir=. 1397if test "$ac_abs_confdir" = "$ac_pwd"; then 1398 srcdir=. 1399fi 1400# Remove unnecessary trailing slashes from srcdir. 1401# Double slashes in file names in object file debugging info 1402# mess up M-x gdb in Emacs. 1403case $srcdir in 1404*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1405esac 1406for ac_var in $ac_precious_vars; do 1407 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1408 eval ac_env_${ac_var}_value=\$${ac_var} 1409 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1410 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1411done 1412 1413# 1414# Report the --help message. 1415# 1416if test "$ac_init_help" = "long"; then 1417 # Omit some internal or obsolete options to make the list less imposing. 1418 # This message is too long to be a string in the A/UX 3.1 sh. 1419 cat <<_ACEOF 1420\`configure' configures rodent-fgr 5.3.16.3 to adapt to many kinds of systems. 1421 1422Usage: $0 [OPTION]... [VAR=VALUE]... 1423 1424To assign environment variables (e.g., CC, CFLAGS...), specify them as 1425VAR=VALUE. See below for descriptions of some of the useful variables. 1426 1427Defaults for the options are specified in brackets. 1428 1429Configuration: 1430 -h, --help display this help and exit 1431 --help=short display options specific to this package 1432 --help=recursive display the short help of all the included packages 1433 -V, --version display version information and exit 1434 -q, --quiet, --silent do not print \`checking ...' messages 1435 --cache-file=FILE cache test results in FILE [disabled] 1436 -C, --config-cache alias for \`--cache-file=config.cache' 1437 -n, --no-create do not create output files 1438 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1439 1440Installation directories: 1441 --prefix=PREFIX install architecture-independent files in PREFIX 1442 [$ac_default_prefix] 1443 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1444 [PREFIX] 1445 1446By default, \`make install' will install all the files in 1447\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1448an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1449for instance \`--prefix=\$HOME'. 1450 1451For better control, use the options below. 1452 1453Fine tuning of the installation directories: 1454 --bindir=DIR user executables [EPREFIX/bin] 1455 --sbindir=DIR system admin executables [EPREFIX/sbin] 1456 --libexecdir=DIR program executables [EPREFIX/libexec] 1457 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1458 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1459 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1460 --libdir=DIR object code libraries [EPREFIX/lib] 1461 --includedir=DIR C header files [PREFIX/include] 1462 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1463 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1464 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1465 --infodir=DIR info documentation [DATAROOTDIR/info] 1466 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1467 --mandir=DIR man documentation [DATAROOTDIR/man] 1468 --docdir=DIR documentation root [DATAROOTDIR/doc/rodent-fgr] 1469 --htmldir=DIR html documentation [DOCDIR] 1470 --dvidir=DIR dvi documentation [DOCDIR] 1471 --pdfdir=DIR pdf documentation [DOCDIR] 1472 --psdir=DIR ps documentation [DOCDIR] 1473_ACEOF 1474 1475 cat <<\_ACEOF 1476 1477Program names: 1478 --program-prefix=PREFIX prepend PREFIX to installed program names 1479 --program-suffix=SUFFIX append SUFFIX to installed program names 1480 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1481 1482System types: 1483 --build=BUILD configure for building on BUILD [guessed] 1484 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1485_ACEOF 1486fi 1487 1488if test -n "$ac_init_help"; then 1489 case $ac_init_help in 1490 short | recursive ) echo "Configuration of rodent-fgr 5.3.16.3:";; 1491 esac 1492 cat <<\_ACEOF 1493 1494Optional Features: 1495 --disable-option-checking ignore unrecognized --enable/--with options 1496 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1497 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1498 --enable-static[=PKGS] build static libraries [default=no] 1499 --enable-shared[=PKGS] build shared libraries [default=yes] 1500 --enable-fast-install[=PKGS] 1501 optimize for fast installation [default=yes] 1502 --disable-libtool-lock avoid locking (might break parallel builds) 1503 --enable-dependency-tracking 1504 do not reject slow dependency extractors 1505 --disable-dependency-tracking 1506 speeds up one-time build 1507 --enable-silent-rules less verbose build output (undo: `make V=1') 1508 --disable-silent-rules verbose build output (undo: `make V=0') 1509 --enable-maintainer-mode 1510 enable make rules and dependencies not useful (and 1511 sometimes confusing) to the casual installer 1512 --disable-nls do not use Native Language Support 1513 1514Optional Packages: 1515 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1516 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1517 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1518 both] 1519 --with-aix-soname=aix|svr4|both 1520 shared library versioning (aka "SONAME") variant to 1521 provide on AIX, [default=aix]. 1522 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1523 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1524 compiler's sysroot if not specified). 1525 --with-centos Create CentOS spec file instead of the default 1526 OpenSUSE spec file (packagers only) 1527 --with-tcmalloc enable tcmalloc (developers only) 1528 --with-mpt max preview threads (default=4) 1529 --with-debug Enable debug 1530 --with-trace Enable trace 1531 --with-core Enable core dumps 1532 --with-locales-dir=DIR Install locales into DIR 1533 1534Some influential environment variables: 1535 CC C compiler command 1536 CFLAGS C compiler flags 1537 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1538 nonstandard directory <lib dir> 1539 LIBS libraries to pass to the linker, e.g. -l<library> 1540 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1541 you have headers in a nonstandard directory <include dir> 1542 LT_SYS_LIBRARY_PATH 1543 User-defined run-time library search path. 1544 CPP C preprocessor 1545 1546Use these variables to override the choices made by `configure' or to help 1547it to find libraries and programs with nonstandard names/locations. 1548 1549Report bugs to <https://sourceforge.net/p/xffm/bugs/milestone/rodent-fgr/>. 1550rodent-fgr home page: <"http://xffm.org/rodent-fgr.html">. 1551_ACEOF 1552ac_status=$? 1553fi 1554 1555if test "$ac_init_help" = "recursive"; then 1556 # If there are subdirs, report their specific --help. 1557 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1558 test -d "$ac_dir" || 1559 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1560 continue 1561 ac_builddir=. 1562 1563case "$ac_dir" in 1564.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1565*) 1566 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1567 # A ".." for each directory in $ac_dir_suffix. 1568 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1569 case $ac_top_builddir_sub in 1570 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1571 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1572 esac ;; 1573esac 1574ac_abs_top_builddir=$ac_pwd 1575ac_abs_builddir=$ac_pwd$ac_dir_suffix 1576# for backward compatibility: 1577ac_top_builddir=$ac_top_build_prefix 1578 1579case $srcdir in 1580 .) # We are building in place. 1581 ac_srcdir=. 1582 ac_top_srcdir=$ac_top_builddir_sub 1583 ac_abs_top_srcdir=$ac_pwd ;; 1584 [\\/]* | ?:[\\/]* ) # Absolute name. 1585 ac_srcdir=$srcdir$ac_dir_suffix; 1586 ac_top_srcdir=$srcdir 1587 ac_abs_top_srcdir=$srcdir ;; 1588 *) # Relative name. 1589 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1590 ac_top_srcdir=$ac_top_build_prefix$srcdir 1591 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1592esac 1593ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1594 1595 cd "$ac_dir" || { ac_status=$?; continue; } 1596 # Check for guested configure. 1597 if test -f "$ac_srcdir/configure.gnu"; then 1598 echo && 1599 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1600 elif test -f "$ac_srcdir/configure"; then 1601 echo && 1602 $SHELL "$ac_srcdir/configure" --help=recursive 1603 else 1604 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1605 fi || ac_status=$? 1606 cd "$ac_pwd" || { ac_status=$?; break; } 1607 done 1608fi 1609 1610test -n "$ac_init_help" && exit $ac_status 1611if $ac_init_version; then 1612 cat <<\_ACEOF 1613rodent-fgr configure 5.3.16.3 1614generated by GNU Autoconf 2.69 1615 1616Copyright (C) 2012 Free Software Foundation, Inc. 1617This configure script is free software; the Free Software Foundation 1618gives unlimited permission to copy, distribute and modify it. 1619 1620"Copyright (c) 2000-2014 Edscott Wilson Garcia. <edscott@users.sf.net>" 1621_ACEOF 1622 exit 1623fi 1624 1625## ------------------------ ## 1626## Autoconf initialization. ## 1627## ------------------------ ## 1628 1629# ac_fn_c_try_compile LINENO 1630# -------------------------- 1631# Try to compile conftest.$ac_ext, and return whether this succeeded. 1632ac_fn_c_try_compile () 1633{ 1634 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1635 rm -f conftest.$ac_objext 1636 if { { ac_try="$ac_compile" 1637case "(($ac_try" in 1638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1639 *) ac_try_echo=$ac_try;; 1640esac 1641eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1642$as_echo "$ac_try_echo"; } >&5 1643 (eval "$ac_compile") 2>conftest.err 1644 ac_status=$? 1645 if test -s conftest.err; then 1646 grep -v '^ *+' conftest.err >conftest.er1 1647 cat conftest.er1 >&5 1648 mv -f conftest.er1 conftest.err 1649 fi 1650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1651 test $ac_status = 0; } && { 1652 test -z "$ac_c_werror_flag" || 1653 test ! -s conftest.err 1654 } && test -s conftest.$ac_objext; then : 1655 ac_retval=0 1656else 1657 $as_echo "$as_me: failed program was:" >&5 1658sed 's/^/| /' conftest.$ac_ext >&5 1659 1660 ac_retval=1 1661fi 1662 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1663 as_fn_set_status $ac_retval 1664 1665} # ac_fn_c_try_compile 1666 1667# ac_fn_c_try_link LINENO 1668# ----------------------- 1669# Try to link conftest.$ac_ext, and return whether this succeeded. 1670ac_fn_c_try_link () 1671{ 1672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1673 rm -f conftest.$ac_objext conftest$ac_exeext 1674 if { { ac_try="$ac_link" 1675case "(($ac_try" in 1676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1677 *) ac_try_echo=$ac_try;; 1678esac 1679eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1680$as_echo "$ac_try_echo"; } >&5 1681 (eval "$ac_link") 2>conftest.err 1682 ac_status=$? 1683 if test -s conftest.err; then 1684 grep -v '^ *+' conftest.err >conftest.er1 1685 cat conftest.er1 >&5 1686 mv -f conftest.er1 conftest.err 1687 fi 1688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1689 test $ac_status = 0; } && { 1690 test -z "$ac_c_werror_flag" || 1691 test ! -s conftest.err 1692 } && test -s conftest$ac_exeext && { 1693 test "$cross_compiling" = yes || 1694 test -x conftest$ac_exeext 1695 }; then : 1696 ac_retval=0 1697else 1698 $as_echo "$as_me: failed program was:" >&5 1699sed 's/^/| /' conftest.$ac_ext >&5 1700 1701 ac_retval=1 1702fi 1703 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1704 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1705 # interfere with the next link command; also delete a directory that is 1706 # left behind by Apple's compiler. We do this before executing the actions. 1707 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1708 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1709 as_fn_set_status $ac_retval 1710 1711} # ac_fn_c_try_link 1712 1713# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1714# ------------------------------------------------------- 1715# Tests whether HEADER exists and can be compiled using the include files in 1716# INCLUDES, setting the cache variable VAR accordingly. 1717ac_fn_c_check_header_compile () 1718{ 1719 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1721$as_echo_n "checking for $2... " >&6; } 1722if eval \${$3+:} false; then : 1723 $as_echo_n "(cached) " >&6 1724else 1725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1726/* end confdefs.h. */ 1727$4 1728#include <$2> 1729_ACEOF 1730if ac_fn_c_try_compile "$LINENO"; then : 1731 eval "$3=yes" 1732else 1733 eval "$3=no" 1734fi 1735rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1736fi 1737eval ac_res=\$$3 1738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1739$as_echo "$ac_res" >&6; } 1740 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1741 1742} # ac_fn_c_check_header_compile 1743 1744# ac_fn_c_try_cpp LINENO 1745# ---------------------- 1746# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1747ac_fn_c_try_cpp () 1748{ 1749 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1750 if { { ac_try="$ac_cpp conftest.$ac_ext" 1751case "(($ac_try" in 1752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1753 *) ac_try_echo=$ac_try;; 1754esac 1755eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1756$as_echo "$ac_try_echo"; } >&5 1757 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1758 ac_status=$? 1759 if test -s conftest.err; then 1760 grep -v '^ *+' conftest.err >conftest.er1 1761 cat conftest.er1 >&5 1762 mv -f conftest.er1 conftest.err 1763 fi 1764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1765 test $ac_status = 0; } > conftest.i && { 1766 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1767 test ! -s conftest.err 1768 }; then : 1769 ac_retval=0 1770else 1771 $as_echo "$as_me: failed program was:" >&5 1772sed 's/^/| /' conftest.$ac_ext >&5 1773 1774 ac_retval=1 1775fi 1776 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1777 as_fn_set_status $ac_retval 1778 1779} # ac_fn_c_try_cpp 1780 1781# ac_fn_c_try_run LINENO 1782# ---------------------- 1783# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1784# that executables *can* be run. 1785ac_fn_c_try_run () 1786{ 1787 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1788 if { { ac_try="$ac_link" 1789case "(($ac_try" in 1790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1791 *) ac_try_echo=$ac_try;; 1792esac 1793eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1794$as_echo "$ac_try_echo"; } >&5 1795 (eval "$ac_link") 2>&5 1796 ac_status=$? 1797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1798 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1799 { { case "(($ac_try" in 1800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1801 *) ac_try_echo=$ac_try;; 1802esac 1803eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1804$as_echo "$ac_try_echo"; } >&5 1805 (eval "$ac_try") 2>&5 1806 ac_status=$? 1807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1808 test $ac_status = 0; }; }; then : 1809 ac_retval=0 1810else 1811 $as_echo "$as_me: program exited with status $ac_status" >&5 1812 $as_echo "$as_me: failed program was:" >&5 1813sed 's/^/| /' conftest.$ac_ext >&5 1814 1815 ac_retval=$ac_status 1816fi 1817 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1818 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1819 as_fn_set_status $ac_retval 1820 1821} # ac_fn_c_try_run 1822 1823# ac_fn_c_check_func LINENO FUNC VAR 1824# ---------------------------------- 1825# Tests whether FUNC exists, setting the cache variable VAR accordingly 1826ac_fn_c_check_func () 1827{ 1828 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1830$as_echo_n "checking for $2... " >&6; } 1831if eval \${$3+:} false; then : 1832 $as_echo_n "(cached) " >&6 1833else 1834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1835/* end confdefs.h. */ 1836/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1837 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1838#define $2 innocuous_$2 1839 1840/* System header to define __stub macros and hopefully few prototypes, 1841 which can conflict with char $2 (); below. 1842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1843 <limits.h> exists even on freestanding compilers. */ 1844 1845#ifdef __STDC__ 1846# include <limits.h> 1847#else 1848# include <assert.h> 1849#endif 1850 1851#undef $2 1852 1853/* Override any GCC internal prototype to avoid an error. 1854 Use char because int might match the return type of a GCC 1855 builtin and then its argument prototype would still apply. */ 1856#ifdef __cplusplus 1857extern "C" 1858#endif 1859char $2 (); 1860/* The GNU C library defines this for functions which it implements 1861 to always fail with ENOSYS. Some functions are actually named 1862 something starting with __ and the normal name is an alias. */ 1863#if defined __stub_$2 || defined __stub___$2 1864choke me 1865#endif 1866 1867int 1868main () 1869{ 1870return $2 (); 1871 ; 1872 return 0; 1873} 1874_ACEOF 1875if ac_fn_c_try_link "$LINENO"; then : 1876 eval "$3=yes" 1877else 1878 eval "$3=no" 1879fi 1880rm -f core conftest.err conftest.$ac_objext \ 1881 conftest$ac_exeext conftest.$ac_ext 1882fi 1883eval ac_res=\$$3 1884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1885$as_echo "$ac_res" >&6; } 1886 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1887 1888} # ac_fn_c_check_func 1889 1890# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1891# ------------------------------------------------------- 1892# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1893# the include files in INCLUDES and setting the cache variable VAR 1894# accordingly. 1895ac_fn_c_check_header_mongrel () 1896{ 1897 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1898 if eval \${$3+:} false; then : 1899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1900$as_echo_n "checking for $2... " >&6; } 1901if eval \${$3+:} false; then : 1902 $as_echo_n "(cached) " >&6 1903fi 1904eval ac_res=\$$3 1905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1906$as_echo "$ac_res" >&6; } 1907else 1908 # Is the header compilable? 1909{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1910$as_echo_n "checking $2 usability... " >&6; } 1911cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1912/* end confdefs.h. */ 1913$4 1914#include <$2> 1915_ACEOF 1916if ac_fn_c_try_compile "$LINENO"; then : 1917 ac_header_compiler=yes 1918else 1919 ac_header_compiler=no 1920fi 1921rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1923$as_echo "$ac_header_compiler" >&6; } 1924 1925# Is the header present? 1926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1927$as_echo_n "checking $2 presence... " >&6; } 1928cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1929/* end confdefs.h. */ 1930#include <$2> 1931_ACEOF 1932if ac_fn_c_try_cpp "$LINENO"; then : 1933 ac_header_preproc=yes 1934else 1935 ac_header_preproc=no 1936fi 1937rm -f conftest.err conftest.i conftest.$ac_ext 1938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1939$as_echo "$ac_header_preproc" >&6; } 1940 1941# So? What about this header? 1942case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1943 yes:no: ) 1944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1945$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1947$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1948 ;; 1949 no:yes:* ) 1950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1951$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1953$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1955$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1957$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1959$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1960( $as_echo "## ------------------------------------------------------------------------ ## 1961## Report this to https://sourceforge.net/p/xffm/bugs/milestone/rodent-fgr/ ## 1962## ------------------------------------------------------------------------ ##" 1963 ) | sed "s/^/$as_me: WARNING: /" >&2 1964 ;; 1965esac 1966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1967$as_echo_n "checking for $2... " >&6; } 1968if eval \${$3+:} false; then : 1969 $as_echo_n "(cached) " >&6 1970else 1971 eval "$3=\$ac_header_compiler" 1972fi 1973eval ac_res=\$$3 1974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1975$as_echo "$ac_res" >&6; } 1976fi 1977 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1978 1979} # ac_fn_c_check_header_mongrel 1980cat >config.log <<_ACEOF 1981This file contains any messages produced by compilers while 1982running configure, to aid debugging if configure makes a mistake. 1983 1984It was created by rodent-fgr $as_me 5.3.16.3, which was 1985generated by GNU Autoconf 2.69. Invocation command line was 1986 1987 $ $0 $@ 1988 1989_ACEOF 1990exec 5>>config.log 1991{ 1992cat <<_ASUNAME 1993## --------- ## 1994## Platform. ## 1995## --------- ## 1996 1997hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1998uname -m = `(uname -m) 2>/dev/null || echo unknown` 1999uname -r = `(uname -r) 2>/dev/null || echo unknown` 2000uname -s = `(uname -s) 2>/dev/null || echo unknown` 2001uname -v = `(uname -v) 2>/dev/null || echo unknown` 2002 2003/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2004/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2005 2006/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2007/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2008/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2009/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2010/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2011/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2012/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2013 2014_ASUNAME 2015 2016as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2017for as_dir in $PATH 2018do 2019 IFS=$as_save_IFS 2020 test -z "$as_dir" && as_dir=. 2021 $as_echo "PATH: $as_dir" 2022 done 2023IFS=$as_save_IFS 2024 2025} >&5 2026 2027cat >&5 <<_ACEOF 2028 2029 2030## ----------- ## 2031## Core tests. ## 2032## ----------- ## 2033 2034_ACEOF 2035 2036 2037# Keep a trace of the command line. 2038# Strip out --no-create and --no-recursion so they do not pile up. 2039# Strip out --silent because we don't want to record it for future runs. 2040# Also quote any args containing shell meta-characters. 2041# Make two passes to allow for proper duplicate-argument suppression. 2042ac_configure_args= 2043ac_configure_args0= 2044ac_configure_args1= 2045ac_must_keep_next=false 2046for ac_pass in 1 2 2047do 2048 for ac_arg 2049 do 2050 case $ac_arg in 2051 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2052 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2053 | -silent | --silent | --silen | --sile | --sil) 2054 continue ;; 2055 *\'*) 2056 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2057 esac 2058 case $ac_pass in 2059 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2060 2) 2061 as_fn_append ac_configure_args1 " '$ac_arg'" 2062 if test $ac_must_keep_next = true; then 2063 ac_must_keep_next=false # Got value, back to normal. 2064 else 2065 case $ac_arg in 2066 *=* | --config-cache | -C | -disable-* | --disable-* \ 2067 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2068 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2069 | -with-* | --with-* | -without-* | --without-* | --x) 2070 case "$ac_configure_args0 " in 2071 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2072 esac 2073 ;; 2074 -* ) ac_must_keep_next=true ;; 2075 esac 2076 fi 2077 as_fn_append ac_configure_args " '$ac_arg'" 2078 ;; 2079 esac 2080 done 2081done 2082{ ac_configure_args0=; unset ac_configure_args0;} 2083{ ac_configure_args1=; unset ac_configure_args1;} 2084 2085# When interrupted or exit'd, cleanup temporary files, and complete 2086# config.log. We remove comments because anyway the quotes in there 2087# would cause problems or look ugly. 2088# WARNING: Use '\'' to represent an apostrophe within the trap. 2089# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2090trap 'exit_status=$? 2091 # Save into config.log some information that might help in debugging. 2092 { 2093 echo 2094 2095 $as_echo "## ---------------- ## 2096## Cache variables. ## 2097## ---------------- ##" 2098 echo 2099 # The following way of writing the cache mishandles newlines in values, 2100( 2101 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2102 eval ac_val=\$$ac_var 2103 case $ac_val in #( 2104 *${as_nl}*) 2105 case $ac_var in #( 2106 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2107$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2108 esac 2109 case $ac_var in #( 2110 _ | IFS | as_nl) ;; #( 2111 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2112 *) { eval $ac_var=; unset $ac_var;} ;; 2113 esac ;; 2114 esac 2115 done 2116 (set) 2>&1 | 2117 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2118 *${as_nl}ac_space=\ *) 2119 sed -n \ 2120 "s/'\''/'\''\\\\'\'''\''/g; 2121 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2122 ;; #( 2123 *) 2124 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2125 ;; 2126 esac | 2127 sort 2128) 2129 echo 2130 2131 $as_echo "## ----------------- ## 2132## Output variables. ## 2133## ----------------- ##" 2134 echo 2135 for ac_var in $ac_subst_vars 2136 do 2137 eval ac_val=\$$ac_var 2138 case $ac_val in 2139 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2140 esac 2141 $as_echo "$ac_var='\''$ac_val'\''" 2142 done | sort 2143 echo 2144 2145 if test -n "$ac_subst_files"; then 2146 $as_echo "## ------------------- ## 2147## File substitutions. ## 2148## ------------------- ##" 2149 echo 2150 for ac_var in $ac_subst_files 2151 do 2152 eval ac_val=\$$ac_var 2153 case $ac_val in 2154 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2155 esac 2156 $as_echo "$ac_var='\''$ac_val'\''" 2157 done | sort 2158 echo 2159 fi 2160 2161 if test -s confdefs.h; then 2162 $as_echo "## ----------- ## 2163## confdefs.h. ## 2164## ----------- ##" 2165 echo 2166 cat confdefs.h 2167 echo 2168 fi 2169 test "$ac_signal" != 0 && 2170 $as_echo "$as_me: caught signal $ac_signal" 2171 $as_echo "$as_me: exit $exit_status" 2172 } >&5 2173 rm -f core *.core core.conftest.* && 2174 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2175 exit $exit_status 2176' 0 2177for ac_signal in 1 2 13 15; do 2178 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2179done 2180ac_signal=0 2181 2182# confdefs.h avoids OS command line length limits that DEFS can exceed. 2183rm -f -r conftest* confdefs.h 2184 2185$as_echo "/* confdefs.h */" > confdefs.h 2186 2187# Predefined preprocessor variables. 2188 2189cat >>confdefs.h <<_ACEOF 2190#define PACKAGE_NAME "$PACKAGE_NAME" 2191_ACEOF 2192 2193cat >>confdefs.h <<_ACEOF 2194#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2195_ACEOF 2196 2197cat >>confdefs.h <<_ACEOF 2198#define PACKAGE_VERSION "$PACKAGE_VERSION" 2199_ACEOF 2200 2201cat >>confdefs.h <<_ACEOF 2202#define PACKAGE_STRING "$PACKAGE_STRING" 2203_ACEOF 2204 2205cat >>confdefs.h <<_ACEOF 2206#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2207_ACEOF 2208 2209cat >>confdefs.h <<_ACEOF 2210#define PACKAGE_URL "$PACKAGE_URL" 2211_ACEOF 2212 2213 2214# Let the site file select an alternate cache file if it wants to. 2215# Prefer an explicitly selected file to automatically selected ones. 2216ac_site_file1=NONE 2217ac_site_file2=NONE 2218if test -n "$CONFIG_SITE"; then 2219 # We do not want a PATH search for config.site. 2220 case $CONFIG_SITE in #(( 2221 -*) ac_site_file1=./$CONFIG_SITE;; 2222 */*) ac_site_file1=$CONFIG_SITE;; 2223 *) ac_site_file1=./$CONFIG_SITE;; 2224 esac 2225elif test "x$prefix" != xNONE; then 2226 ac_site_file1=$prefix/share/config.site 2227 ac_site_file2=$prefix/etc/config.site 2228else 2229 ac_site_file1=$ac_default_prefix/share/config.site 2230 ac_site_file2=$ac_default_prefix/etc/config.site 2231fi 2232for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2233do 2234 test "x$ac_site_file" = xNONE && continue 2235 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2236 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2237$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2238 sed 's/^/| /' "$ac_site_file" >&5 2239 . "$ac_site_file" \ 2240 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2241$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2242as_fn_error $? "failed to load site script $ac_site_file 2243See \`config.log' for more details" "$LINENO" 5; } 2244 fi 2245done 2246 2247if test -r "$cache_file"; then 2248 # Some versions of bash will fail to source /dev/null (special files 2249 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2250 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2251 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2252$as_echo "$as_me: loading cache $cache_file" >&6;} 2253 case $cache_file in 2254 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2255 *) . "./$cache_file";; 2256 esac 2257 fi 2258else 2259 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2260$as_echo "$as_me: creating cache $cache_file" >&6;} 2261 >$cache_file 2262fi 2263 2264# Check that the precious variables saved in the cache have kept the same 2265# value. 2266ac_cache_corrupted=false 2267for ac_var in $ac_precious_vars; do 2268 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2269 eval ac_new_set=\$ac_env_${ac_var}_set 2270 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2271 eval ac_new_val=\$ac_env_${ac_var}_value 2272 case $ac_old_set,$ac_new_set in 2273 set,) 2274 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2275$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2276 ac_cache_corrupted=: ;; 2277 ,set) 2278 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2279$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2280 ac_cache_corrupted=: ;; 2281 ,);; 2282 *) 2283 if test "x$ac_old_val" != "x$ac_new_val"; then 2284 # differences in whitespace do not lead to failure. 2285 ac_old_val_w=`echo x $ac_old_val` 2286 ac_new_val_w=`echo x $ac_new_val` 2287 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2288 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2289$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2290 ac_cache_corrupted=: 2291 else 2292 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2293$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2294 eval $ac_var=\$ac_old_val 2295 fi 2296 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2297$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2298 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2299$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2300 fi;; 2301 esac 2302 # Pass precious variables to config.status. 2303 if test "$ac_new_set" = set; then 2304 case $ac_new_val in 2305 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2306 *) ac_arg=$ac_var=$ac_new_val ;; 2307 esac 2308 case " $ac_configure_args " in 2309 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2310 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2311 esac 2312 fi 2313done 2314if $ac_cache_corrupted; then 2315 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2316$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2317 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2318$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2319 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2320fi 2321## -------------------- ## 2322## Main body of script. ## 2323## -------------------- ## 2324 2325ac_ext=c 2326ac_cpp='$CPP $CPPFLAGS' 2327ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2328ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2329ac_compiler_gnu=$ac_cv_c_compiler_gnu 2330 2331 2332 2333ac_aux_dir= 2334for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2335 if test -f "$ac_dir/install-sh"; then 2336 ac_aux_dir=$ac_dir 2337 ac_install_sh="$ac_aux_dir/install-sh -c" 2338 break 2339 elif test -f "$ac_dir/install.sh"; then 2340 ac_aux_dir=$ac_dir 2341 ac_install_sh="$ac_aux_dir/install.sh -c" 2342 break 2343 elif test -f "$ac_dir/shtool"; then 2344 ac_aux_dir=$ac_dir 2345 ac_install_sh="$ac_aux_dir/shtool install -c" 2346 break 2347 fi 2348done 2349if test -z "$ac_aux_dir"; then 2350 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2351fi 2352 2353# These three variables are undocumented and unsupported, 2354# and are intended to be withdrawn in a future Autoconf release. 2355# They can cause serious problems if a builder's source tree is in a directory 2356# whose full name contains unusual characters. 2357ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2358ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2359ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2360 2361 2362case `pwd` in 2363 *\ * | *\ *) 2364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 2365$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 2366esac 2367 2368 2369 2370macro_version='2.4.6' 2371macro_revision='2.4.6' 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385ltmain=$ac_aux_dir/ltmain.sh 2386 2387# Make sure we can run config.sub. 2388$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2389 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2390 2391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2392$as_echo_n "checking build system type... " >&6; } 2393if ${ac_cv_build+:} false; then : 2394 $as_echo_n "(cached) " >&6 2395else 2396 ac_build_alias=$build_alias 2397test "x$ac_build_alias" = x && 2398 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2399test "x$ac_build_alias" = x && 2400 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2401ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2402 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2403 2404fi 2405{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2406$as_echo "$ac_cv_build" >&6; } 2407case $ac_cv_build in 2408*-*-*) ;; 2409*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2410esac 2411build=$ac_cv_build 2412ac_save_IFS=$IFS; IFS='-' 2413set x $ac_cv_build 2414shift 2415build_cpu=$1 2416build_vendor=$2 2417shift; shift 2418# Remember, the first character of IFS is used to create $*, 2419# except with old shells: 2420build_os=$* 2421IFS=$ac_save_IFS 2422case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2423 2424 2425{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2426$as_echo_n "checking host system type... " >&6; } 2427if ${ac_cv_host+:} false; then : 2428 $as_echo_n "(cached) " >&6 2429else 2430 if test "x$host_alias" = x; then 2431 ac_cv_host=$ac_cv_build 2432else 2433 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2434 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2435fi 2436 2437fi 2438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2439$as_echo "$ac_cv_host" >&6; } 2440case $ac_cv_host in 2441*-*-*) ;; 2442*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2443esac 2444host=$ac_cv_host 2445ac_save_IFS=$IFS; IFS='-' 2446set x $ac_cv_host 2447shift 2448host_cpu=$1 2449host_vendor=$2 2450shift; shift 2451# Remember, the first character of IFS is used to create $*, 2452# except with old shells: 2453host_os=$* 2454IFS=$ac_save_IFS 2455case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2456 2457 2458# Backslashify metacharacters that are still active within 2459# double-quoted strings. 2460sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 2461 2462# Same as above, but do not quote variable references. 2463double_quote_subst='s/\(["`\\]\)/\\\1/g' 2464 2465# Sed substitution to delay expansion of an escaped shell variable in a 2466# double_quote_subst'ed string. 2467delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 2468 2469# Sed substitution to delay expansion of an escaped single quote. 2470delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 2471 2472# Sed substitution to avoid accidental globbing in evaled expressions 2473no_glob_subst='s/\*/\\\*/g' 2474 2475ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 2476ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 2477ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 2478 2479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 2480$as_echo_n "checking how to print strings... " >&6; } 2481# Test print first, because it will be a builtin if present. 2482if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 2483 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 2484 ECHO='print -r --' 2485elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 2486 ECHO='printf %s\n' 2487else 2488 # Use this function as a fallback that always works. 2489 func_fallback_echo () 2490 { 2491 eval 'cat <<_LTECHO_EOF 2492$1 2493_LTECHO_EOF' 2494 } 2495 ECHO='func_fallback_echo' 2496fi 2497 2498# func_echo_all arg... 2499# Invoke $ECHO with all args, space-separated. 2500func_echo_all () 2501{ 2502 $ECHO "" 2503} 2504 2505case $ECHO in 2506 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 2507$as_echo "printf" >&6; } ;; 2508 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 2509$as_echo "print -r" >&6; } ;; 2510 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 2511$as_echo "cat" >&6; } ;; 2512esac 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527# Expand $ac_aux_dir to an absolute path. 2528am_aux_dir=`cd "$ac_aux_dir" && pwd` 2529 2530ac_ext=c 2531ac_cpp='$CPP $CPPFLAGS' 2532ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2533ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2534ac_compiler_gnu=$ac_cv_c_compiler_gnu 2535if test -n "$ac_tool_prefix"; then 2536 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2537set dummy ${ac_tool_prefix}gcc; ac_word=$2 2538{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2539$as_echo_n "checking for $ac_word... " >&6; } 2540if ${ac_cv_prog_CC+:} false; then : 2541 $as_echo_n "(cached) " >&6 2542else 2543 if test -n "$CC"; then 2544 ac_cv_prog_CC="$CC" # Let the user override the test. 2545else 2546as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2547for as_dir in $PATH 2548do 2549 IFS=$as_save_IFS 2550 test -z "$as_dir" && as_dir=. 2551 for ac_exec_ext in '' $ac_executable_extensions; do 2552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2553 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2555 break 2 2556 fi 2557done 2558 done 2559IFS=$as_save_IFS 2560 2561fi 2562fi 2563CC=$ac_cv_prog_CC 2564if test -n "$CC"; then 2565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2566$as_echo "$CC" >&6; } 2567else 2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2569$as_echo "no" >&6; } 2570fi 2571 2572 2573fi 2574if test -z "$ac_cv_prog_CC"; then 2575 ac_ct_CC=$CC 2576 # Extract the first word of "gcc", so it can be a program name with args. 2577set dummy gcc; ac_word=$2 2578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2579$as_echo_n "checking for $ac_word... " >&6; } 2580if ${ac_cv_prog_ac_ct_CC+:} false; then : 2581 $as_echo_n "(cached) " >&6 2582else 2583 if test -n "$ac_ct_CC"; then 2584 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2585else 2586as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2587for as_dir in $PATH 2588do 2589 IFS=$as_save_IFS 2590 test -z "$as_dir" && as_dir=. 2591 for ac_exec_ext in '' $ac_executable_extensions; do 2592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2593 ac_cv_prog_ac_ct_CC="gcc" 2594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2595 break 2 2596 fi 2597done 2598 done 2599IFS=$as_save_IFS 2600 2601fi 2602fi 2603ac_ct_CC=$ac_cv_prog_ac_ct_CC 2604if test -n "$ac_ct_CC"; then 2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2606$as_echo "$ac_ct_CC" >&6; } 2607else 2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2609$as_echo "no" >&6; } 2610fi 2611 2612 if test "x$ac_ct_CC" = x; then 2613 CC="" 2614 else 2615 case $cross_compiling:$ac_tool_warned in 2616yes:) 2617{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2618$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2619ac_tool_warned=yes ;; 2620esac 2621 CC=$ac_ct_CC 2622 fi 2623else 2624 CC="$ac_cv_prog_CC" 2625fi 2626 2627if test -z "$CC"; then 2628 if test -n "$ac_tool_prefix"; then 2629 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2630set dummy ${ac_tool_prefix}cc; ac_word=$2 2631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2632$as_echo_n "checking for $ac_word... " >&6; } 2633if ${ac_cv_prog_CC+:} false; then : 2634 $as_echo_n "(cached) " >&6 2635else 2636 if test -n "$CC"; then 2637 ac_cv_prog_CC="$CC" # Let the user override the test. 2638else 2639as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2640for as_dir in $PATH 2641do 2642 IFS=$as_save_IFS 2643 test -z "$as_dir" && as_dir=. 2644 for ac_exec_ext in '' $ac_executable_extensions; do 2645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2646 ac_cv_prog_CC="${ac_tool_prefix}cc" 2647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2648 break 2 2649 fi 2650done 2651 done 2652IFS=$as_save_IFS 2653 2654fi 2655fi 2656CC=$ac_cv_prog_CC 2657if test -n "$CC"; then 2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2659$as_echo "$CC" >&6; } 2660else 2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2662$as_echo "no" >&6; } 2663fi 2664 2665 2666 fi 2667fi 2668if test -z "$CC"; then 2669 # Extract the first word of "cc", so it can be a program name with args. 2670set dummy cc; ac_word=$2 2671{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2672$as_echo_n "checking for $ac_word... " >&6; } 2673if ${ac_cv_prog_CC+:} false; then : 2674 $as_echo_n "(cached) " >&6 2675else 2676 if test -n "$CC"; then 2677 ac_cv_prog_CC="$CC" # Let the user override the test. 2678else 2679 ac_prog_rejected=no 2680as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2681for as_dir in $PATH 2682do 2683 IFS=$as_save_IFS 2684 test -z "$as_dir" && as_dir=. 2685 for ac_exec_ext in '' $ac_executable_extensions; do 2686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2687 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2688 ac_prog_rejected=yes 2689 continue 2690 fi 2691 ac_cv_prog_CC="cc" 2692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2693 break 2 2694 fi 2695done 2696 done 2697IFS=$as_save_IFS 2698 2699if test $ac_prog_rejected = yes; then 2700 # We found a bogon in the path, so make sure we never use it. 2701 set dummy $ac_cv_prog_CC 2702 shift 2703 if test $# != 0; then 2704 # We chose a different compiler from the bogus one. 2705 # However, it has the same basename, so the bogon will be chosen 2706 # first if we set CC to just the basename; use the full file name. 2707 shift 2708 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2709 fi 2710fi 2711fi 2712fi 2713CC=$ac_cv_prog_CC 2714if test -n "$CC"; then 2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2716$as_echo "$CC" >&6; } 2717else 2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2719$as_echo "no" >&6; } 2720fi 2721 2722 2723fi 2724if test -z "$CC"; then 2725 if test -n "$ac_tool_prefix"; then 2726 for ac_prog in cl.exe 2727 do 2728 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2729set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2731$as_echo_n "checking for $ac_word... " >&6; } 2732if ${ac_cv_prog_CC+:} false; then : 2733 $as_echo_n "(cached) " >&6 2734else 2735 if test -n "$CC"; then 2736 ac_cv_prog_CC="$CC" # Let the user override the test. 2737else 2738as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2739for as_dir in $PATH 2740do 2741 IFS=$as_save_IFS 2742 test -z "$as_dir" && as_dir=. 2743 for ac_exec_ext in '' $ac_executable_extensions; do 2744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2745 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2747 break 2 2748 fi 2749done 2750 done 2751IFS=$as_save_IFS 2752 2753fi 2754fi 2755CC=$ac_cv_prog_CC 2756if test -n "$CC"; then 2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2758$as_echo "$CC" >&6; } 2759else 2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2761$as_echo "no" >&6; } 2762fi 2763 2764 2765 test -n "$CC" && break 2766 done 2767fi 2768if test -z "$CC"; then 2769 ac_ct_CC=$CC 2770 for ac_prog in cl.exe 2771do 2772 # Extract the first word of "$ac_prog", so it can be a program name with args. 2773set dummy $ac_prog; ac_word=$2 2774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2775$as_echo_n "checking for $ac_word... " >&6; } 2776if ${ac_cv_prog_ac_ct_CC+:} false; then : 2777 $as_echo_n "(cached) " >&6 2778else 2779 if test -n "$ac_ct_CC"; then 2780 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2781else 2782as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2783for as_dir in $PATH 2784do 2785 IFS=$as_save_IFS 2786 test -z "$as_dir" && as_dir=. 2787 for ac_exec_ext in '' $ac_executable_extensions; do 2788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2789 ac_cv_prog_ac_ct_CC="$ac_prog" 2790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2791 break 2 2792 fi 2793done 2794 done 2795IFS=$as_save_IFS 2796 2797fi 2798fi 2799ac_ct_CC=$ac_cv_prog_ac_ct_CC 2800if test -n "$ac_ct_CC"; then 2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2802$as_echo "$ac_ct_CC" >&6; } 2803else 2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2805$as_echo "no" >&6; } 2806fi 2807 2808 2809 test -n "$ac_ct_CC" && break 2810done 2811 2812 if test "x$ac_ct_CC" = x; then 2813 CC="" 2814 else 2815 case $cross_compiling:$ac_tool_warned in 2816yes:) 2817{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2818$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2819ac_tool_warned=yes ;; 2820esac 2821 CC=$ac_ct_CC 2822 fi 2823fi 2824 2825fi 2826 2827 2828test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2829$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2830as_fn_error $? "no acceptable C compiler found in \$PATH 2831See \`config.log' for more details" "$LINENO" 5; } 2832 2833# Provide some information about the compiler. 2834$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2835set X $ac_compile 2836ac_compiler=$2 2837for ac_option in --version -v -V -qversion; do 2838 { { ac_try="$ac_compiler $ac_option >&5" 2839case "(($ac_try" in 2840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2841 *) ac_try_echo=$ac_try;; 2842esac 2843eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2844$as_echo "$ac_try_echo"; } >&5 2845 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2846 ac_status=$? 2847 if test -s conftest.err; then 2848 sed '10a\ 2849... rest of stderr output deleted ... 2850 10q' conftest.err >conftest.er1 2851 cat conftest.er1 >&5 2852 fi 2853 rm -f conftest.er1 conftest.err 2854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2855 test $ac_status = 0; } 2856done 2857 2858cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2859/* end confdefs.h. */ 2860 2861int 2862main () 2863{ 2864 2865 ; 2866 return 0; 2867} 2868_ACEOF 2869ac_clean_files_save=$ac_clean_files 2870ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2871# Try to create an executable without -o first, disregard a.out. 2872# It will help us diagnose broken compilers, and finding out an intuition 2873# of exeext. 2874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2875$as_echo_n "checking whether the C compiler works... " >&6; } 2876ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2877 2878# The possible output files: 2879ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2880 2881ac_rmfiles= 2882for ac_file in $ac_files 2883do 2884 case $ac_file in 2885 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2886 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2887 esac 2888done 2889rm -f $ac_rmfiles 2890 2891if { { ac_try="$ac_link_default" 2892case "(($ac_try" in 2893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2894 *) ac_try_echo=$ac_try;; 2895esac 2896eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2897$as_echo "$ac_try_echo"; } >&5 2898 (eval "$ac_link_default") 2>&5 2899 ac_status=$? 2900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2901 test $ac_status = 0; }; then : 2902 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2903# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2904# in a Makefile. We should not override ac_cv_exeext if it was cached, 2905# so that the user can short-circuit this test for compilers unknown to 2906# Autoconf. 2907for ac_file in $ac_files '' 2908do 2909 test -f "$ac_file" || continue 2910 case $ac_file in 2911 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2912 ;; 2913 [ab].out ) 2914 # We found the default executable, but exeext='' is most 2915 # certainly right. 2916 break;; 2917 *.* ) 2918 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2919 then :; else 2920 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2921 fi 2922 # We set ac_cv_exeext here because the later test for it is not 2923 # safe: cross compilers may not add the suffix if given an `-o' 2924 # argument, so we may need to know it at that point already. 2925 # Even if this section looks crufty: it has the advantage of 2926 # actually working. 2927 break;; 2928 * ) 2929 break;; 2930 esac 2931done 2932test "$ac_cv_exeext" = no && ac_cv_exeext= 2933 2934else 2935 ac_file='' 2936fi 2937if test -z "$ac_file"; then : 2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2939$as_echo "no" >&6; } 2940$as_echo "$as_me: failed program was:" >&5 2941sed 's/^/| /' conftest.$ac_ext >&5 2942 2943{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2944$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2945as_fn_error 77 "C compiler cannot create executables 2946See \`config.log' for more details" "$LINENO" 5; } 2947else 2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2949$as_echo "yes" >&6; } 2950fi 2951{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2952$as_echo_n "checking for C compiler default output file name... " >&6; } 2953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2954$as_echo "$ac_file" >&6; } 2955ac_exeext=$ac_cv_exeext 2956 2957rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2958ac_clean_files=$ac_clean_files_save 2959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2960$as_echo_n "checking for suffix of executables... " >&6; } 2961if { { ac_try="$ac_link" 2962case "(($ac_try" in 2963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2964 *) ac_try_echo=$ac_try;; 2965esac 2966eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2967$as_echo "$ac_try_echo"; } >&5 2968 (eval "$ac_link") 2>&5 2969 ac_status=$? 2970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2971 test $ac_status = 0; }; then : 2972 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2973# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2974# work properly (i.e., refer to `conftest.exe'), while it won't with 2975# `rm'. 2976for ac_file in conftest.exe conftest conftest.*; do 2977 test -f "$ac_file" || continue 2978 case $ac_file in 2979 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2980 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2981 break;; 2982 * ) break;; 2983 esac 2984done 2985else 2986 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2987$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2988as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2989See \`config.log' for more details" "$LINENO" 5; } 2990fi 2991rm -f conftest conftest$ac_cv_exeext 2992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2993$as_echo "$ac_cv_exeext" >&6; } 2994 2995rm -f conftest.$ac_ext 2996EXEEXT=$ac_cv_exeext 2997ac_exeext=$EXEEXT 2998cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2999/* end confdefs.h. */ 3000#include <stdio.h> 3001int 3002main () 3003{ 3004FILE *f = fopen ("conftest.out", "w"); 3005 return ferror (f) || fclose (f) != 0; 3006 3007 ; 3008 return 0; 3009} 3010_ACEOF 3011ac_clean_files="$ac_clean_files conftest.out" 3012# Check that the compiler produces executables we can run. If not, either 3013# the compiler is broken, or we cross compile. 3014{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3015$as_echo_n "checking whether we are cross compiling... " >&6; } 3016if test "$cross_compiling" != yes; then 3017 { { ac_try="$ac_link" 3018case "(($ac_try" in 3019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3020 *) ac_try_echo=$ac_try;; 3021esac 3022eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3023$as_echo "$ac_try_echo"; } >&5 3024 (eval "$ac_link") 2>&5 3025 ac_status=$? 3026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3027 test $ac_status = 0; } 3028 if { ac_try='./conftest$ac_cv_exeext' 3029 { { case "(($ac_try" in 3030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3031 *) ac_try_echo=$ac_try;; 3032esac 3033eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3034$as_echo "$ac_try_echo"; } >&5 3035 (eval "$ac_try") 2>&5 3036 ac_status=$? 3037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3038 test $ac_status = 0; }; }; then 3039 cross_compiling=no 3040 else 3041 if test "$cross_compiling" = maybe; then 3042 cross_compiling=yes 3043 else 3044 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3045$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3046as_fn_error $? "cannot run C compiled programs. 3047If you meant to cross compile, use \`--host'. 3048See \`config.log' for more details" "$LINENO" 5; } 3049 fi 3050 fi 3051fi 3052{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3053$as_echo "$cross_compiling" >&6; } 3054 3055rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3056ac_clean_files=$ac_clean_files_save 3057{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3058$as_echo_n "checking for suffix of object files... " >&6; } 3059if ${ac_cv_objext+:} false; then : 3060 $as_echo_n "(cached) " >&6 3061else 3062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3063/* end confdefs.h. */ 3064 3065int 3066main () 3067{ 3068 3069 ; 3070 return 0; 3071} 3072_ACEOF 3073rm -f conftest.o conftest.obj 3074if { { ac_try="$ac_compile" 3075case "(($ac_try" in 3076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3077 *) ac_try_echo=$ac_try;; 3078esac 3079eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3080$as_echo "$ac_try_echo"; } >&5 3081 (eval "$ac_compile") 2>&5 3082 ac_status=$? 3083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3084 test $ac_status = 0; }; then : 3085 for ac_file in conftest.o conftest.obj conftest.*; do 3086 test -f "$ac_file" || continue; 3087 case $ac_file in 3088 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3089 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3090 break;; 3091 esac 3092done 3093else 3094 $as_echo "$as_me: failed program was:" >&5 3095sed 's/^/| /' conftest.$ac_ext >&5 3096 3097{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3098$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3099as_fn_error $? "cannot compute suffix of object files: cannot compile 3100See \`config.log' for more details" "$LINENO" 5; } 3101fi 3102rm -f conftest.$ac_cv_objext conftest.$ac_ext 3103fi 3104{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3105$as_echo "$ac_cv_objext" >&6; } 3106OBJEXT=$ac_cv_objext 3107ac_objext=$OBJEXT 3108{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3109$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3110if ${ac_cv_c_compiler_gnu+:} false; then : 3111 $as_echo_n "(cached) " >&6 3112else 3113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3114/* end confdefs.h. */ 3115 3116int 3117main () 3118{ 3119#ifndef __GNUC__ 3120 choke me 3121#endif 3122 3123 ; 3124 return 0; 3125} 3126_ACEOF 3127if ac_fn_c_try_compile "$LINENO"; then : 3128 ac_compiler_gnu=yes 3129else 3130 ac_compiler_gnu=no 3131fi 3132rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3133ac_cv_c_compiler_gnu=$ac_compiler_gnu 3134 3135fi 3136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3137$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3138if test $ac_compiler_gnu = yes; then 3139 GCC=yes 3140else 3141 GCC= 3142fi 3143ac_test_CFLAGS=${CFLAGS+set} 3144ac_save_CFLAGS=$CFLAGS 3145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3146$as_echo_n "checking whether $CC accepts -g... " >&6; } 3147if ${ac_cv_prog_cc_g+:} false; then : 3148 $as_echo_n "(cached) " >&6 3149else 3150 ac_save_c_werror_flag=$ac_c_werror_flag 3151 ac_c_werror_flag=yes 3152 ac_cv_prog_cc_g=no 3153 CFLAGS="-g" 3154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3155/* end confdefs.h. */ 3156 3157int 3158main () 3159{ 3160 3161 ; 3162 return 0; 3163} 3164_ACEOF 3165if ac_fn_c_try_compile "$LINENO"; then : 3166 ac_cv_prog_cc_g=yes 3167else 3168 CFLAGS="" 3169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3170/* end confdefs.h. */ 3171 3172int 3173main () 3174{ 3175 3176 ; 3177 return 0; 3178} 3179_ACEOF 3180if ac_fn_c_try_compile "$LINENO"; then : 3181 3182else 3183 ac_c_werror_flag=$ac_save_c_werror_flag 3184 CFLAGS="-g" 3185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3186/* end confdefs.h. */ 3187 3188int 3189main () 3190{ 3191 3192 ; 3193 return 0; 3194} 3195_ACEOF 3196if ac_fn_c_try_compile "$LINENO"; then : 3197 ac_cv_prog_cc_g=yes 3198fi 3199rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3200fi 3201rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3202fi 3203rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3204 ac_c_werror_flag=$ac_save_c_werror_flag 3205fi 3206{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3207$as_echo "$ac_cv_prog_cc_g" >&6; } 3208if test "$ac_test_CFLAGS" = set; then 3209 CFLAGS=$ac_save_CFLAGS 3210elif test $ac_cv_prog_cc_g = yes; then 3211 if test "$GCC" = yes; then 3212 CFLAGS="-g -O2" 3213 else 3214 CFLAGS="-g" 3215 fi 3216else 3217 if test "$GCC" = yes; then 3218 CFLAGS="-O2" 3219 else 3220 CFLAGS= 3221 fi 3222fi 3223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3224$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3225if ${ac_cv_prog_cc_c89+:} false; then : 3226 $as_echo_n "(cached) " >&6 3227else 3228 ac_cv_prog_cc_c89=no 3229ac_save_CC=$CC 3230cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3231/* end confdefs.h. */ 3232#include <stdarg.h> 3233#include <stdio.h> 3234struct stat; 3235/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3236struct buf { int x; }; 3237FILE * (*rcsopen) (struct buf *, struct stat *, int); 3238static char *e (p, i) 3239 char **p; 3240 int i; 3241{ 3242 return p[i]; 3243} 3244static char *f (char * (*g) (char **, int), char **p, ...) 3245{ 3246 char *s; 3247 va_list v; 3248 va_start (v,p); 3249 s = g (p, va_arg (v,int)); 3250 va_end (v); 3251 return s; 3252} 3253 3254/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3255 function prototypes and stuff, but not '\xHH' hex character constants. 3256 These don't provoke an error unfortunately, instead are silently treated 3257 as 'x'. The following induces an error, until -std is added to get 3258 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3259 array size at least. It's necessary to write '\x00'==0 to get something 3260 that's true only with -std. */ 3261int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3262 3263/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3264 inside strings and character constants. */ 3265#define FOO(x) 'x' 3266int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3267 3268int test (int i, double x); 3269struct s1 {int (*f) (int a);}; 3270struct s2 {int (*f) (double a);}; 3271int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3272int argc; 3273char **argv; 3274int 3275main () 3276{ 3277return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3278 ; 3279 return 0; 3280} 3281_ACEOF 3282for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3283 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3284do 3285 CC="$ac_save_CC $ac_arg" 3286 if ac_fn_c_try_compile "$LINENO"; then : 3287 ac_cv_prog_cc_c89=$ac_arg 3288fi 3289rm -f core conftest.err conftest.$ac_objext 3290 test "x$ac_cv_prog_cc_c89" != "xno" && break 3291done 3292rm -f conftest.$ac_ext 3293CC=$ac_save_CC 3294 3295fi 3296# AC_CACHE_VAL 3297case "x$ac_cv_prog_cc_c89" in 3298 x) 3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3300$as_echo "none needed" >&6; } ;; 3301 xno) 3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3303$as_echo "unsupported" >&6; } ;; 3304 *) 3305 CC="$CC $ac_cv_prog_cc_c89" 3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3307$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3308esac 3309if test "x$ac_cv_prog_cc_c89" != xno; then : 3310 3311fi 3312 3313ac_ext=c 3314ac_cpp='$CPP $CPPFLAGS' 3315ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3316ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3317ac_compiler_gnu=$ac_cv_c_compiler_gnu 3318 3319ac_ext=c 3320ac_cpp='$CPP $CPPFLAGS' 3321ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3322ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3323ac_compiler_gnu=$ac_cv_c_compiler_gnu 3324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3325$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3326if ${am_cv_prog_cc_c_o+:} false; then : 3327 $as_echo_n "(cached) " >&6 3328else 3329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3330/* end confdefs.h. */ 3331 3332int 3333main () 3334{ 3335 3336 ; 3337 return 0; 3338} 3339_ACEOF 3340 # Make sure it works both with $CC and with simple cc. 3341 # Following AC_PROG_CC_C_O, we do the test twice because some 3342 # compilers refuse to overwrite an existing .o file with -o, 3343 # though they will create one. 3344 am_cv_prog_cc_c_o=yes 3345 for am_i in 1 2; do 3346 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3347 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3348 ac_status=$? 3349 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3350 (exit $ac_status); } \ 3351 && test -f conftest2.$ac_objext; then 3352 : OK 3353 else 3354 am_cv_prog_cc_c_o=no 3355 break 3356 fi 3357 done 3358 rm -f core conftest* 3359 unset am_i 3360fi 3361{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3362$as_echo "$am_cv_prog_cc_c_o" >&6; } 3363if test "$am_cv_prog_cc_c_o" != yes; then 3364 # Losing compiler, so override with the script. 3365 # FIXME: It is wrong to rewrite CC. 3366 # But if we don't then we get into trouble of one sort or another. 3367 # A longer-term fix would be to have automake use am__CC in this case, 3368 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3369 CC="$am_aux_dir/compile $CC" 3370fi 3371ac_ext=c 3372ac_cpp='$CPP $CPPFLAGS' 3373ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3374ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3375ac_compiler_gnu=$ac_cv_c_compiler_gnu 3376 3377 3378{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 3379$as_echo_n "checking for a sed that does not truncate output... " >&6; } 3380if ${ac_cv_path_SED+:} false; then : 3381 $as_echo_n "(cached) " >&6 3382else 3383 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 3384 for ac_i in 1 2 3 4 5 6 7; do 3385 ac_script="$ac_script$as_nl$ac_script" 3386 done 3387 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 3388 { ac_script=; unset ac_script;} 3389 if test -z "$SED"; then 3390 ac_path_SED_found=false 3391 # Loop through the user's path and test for each of PROGNAME-LIST 3392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3393for as_dir in $PATH 3394do 3395 IFS=$as_save_IFS 3396 test -z "$as_dir" && as_dir=. 3397 for ac_prog in sed gsed; do 3398 for ac_exec_ext in '' $ac_executable_extensions; do 3399 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 3400 as_fn_executable_p "$ac_path_SED" || continue 3401# Check for GNU ac_path_SED and select it if it is found. 3402 # Check for GNU $ac_path_SED 3403case `"$ac_path_SED" --version 2>&1` in 3404*GNU*) 3405 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 3406*) 3407 ac_count=0 3408 $as_echo_n 0123456789 >"conftest.in" 3409 while : 3410 do 3411 cat "conftest.in" "conftest.in" >"conftest.tmp" 3412 mv "conftest.tmp" "conftest.in" 3413 cp "conftest.in" "conftest.nl" 3414 $as_echo '' >> "conftest.nl" 3415 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 3416 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3417 as_fn_arith $ac_count + 1 && ac_count=$as_val 3418 if test $ac_count -gt ${ac_path_SED_max-0}; then 3419 # Best one so far, save it but keep looking for a better one 3420 ac_cv_path_SED="$ac_path_SED" 3421 ac_path_SED_max=$ac_count 3422 fi 3423 # 10*(2^10) chars as input seems more than enough 3424 test $ac_count -gt 10 && break 3425 done 3426 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3427esac 3428 3429 $ac_path_SED_found && break 3 3430 done 3431 done 3432 done 3433IFS=$as_save_IFS 3434 if test -z "$ac_cv_path_SED"; then 3435 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 3436 fi 3437else 3438 ac_cv_path_SED=$SED 3439fi 3440 3441fi 3442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 3443$as_echo "$ac_cv_path_SED" >&6; } 3444 SED="$ac_cv_path_SED" 3445 rm -f conftest.sed 3446 3447test -z "$SED" && SED=sed 3448Xsed="$SED -e 1s/^X//" 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3461$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3462if ${ac_cv_path_GREP+:} false; then : 3463 $as_echo_n "(cached) " >&6 3464else 3465 if test -z "$GREP"; then 3466 ac_path_GREP_found=false 3467 # Loop through the user's path and test for each of PROGNAME-LIST 3468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3469for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3470do 3471 IFS=$as_save_IFS 3472 test -z "$as_dir" && as_dir=. 3473 for ac_prog in grep ggrep; do 3474 for ac_exec_ext in '' $ac_executable_extensions; do 3475 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3476 as_fn_executable_p "$ac_path_GREP" || continue 3477# Check for GNU ac_path_GREP and select it if it is found. 3478 # Check for GNU $ac_path_GREP 3479case `"$ac_path_GREP" --version 2>&1` in 3480*GNU*) 3481 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3482*) 3483 ac_count=0 3484 $as_echo_n 0123456789 >"conftest.in" 3485 while : 3486 do 3487 cat "conftest.in" "conftest.in" >"conftest.tmp" 3488 mv "conftest.tmp" "conftest.in" 3489 cp "conftest.in" "conftest.nl" 3490 $as_echo 'GREP' >> "conftest.nl" 3491 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3492 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3493 as_fn_arith $ac_count + 1 && ac_count=$as_val 3494 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3495 # Best one so far, save it but keep looking for a better one 3496 ac_cv_path_GREP="$ac_path_GREP" 3497 ac_path_GREP_max=$ac_count 3498 fi 3499 # 10*(2^10) chars as input seems more than enough 3500 test $ac_count -gt 10 && break 3501 done 3502 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3503esac 3504 3505 $ac_path_GREP_found && break 3 3506 done 3507 done 3508 done 3509IFS=$as_save_IFS 3510 if test -z "$ac_cv_path_GREP"; then 3511 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3512 fi 3513else 3514 ac_cv_path_GREP=$GREP 3515fi 3516 3517fi 3518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3519$as_echo "$ac_cv_path_GREP" >&6; } 3520 GREP="$ac_cv_path_GREP" 3521 3522 3523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3524$as_echo_n "checking for egrep... " >&6; } 3525if ${ac_cv_path_EGREP+:} false; then : 3526 $as_echo_n "(cached) " >&6 3527else 3528 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3529 then ac_cv_path_EGREP="$GREP -E" 3530 else 3531 if test -z "$EGREP"; then 3532 ac_path_EGREP_found=false 3533 # Loop through the user's path and test for each of PROGNAME-LIST 3534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3535for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3536do 3537 IFS=$as_save_IFS 3538 test -z "$as_dir" && as_dir=. 3539 for ac_prog in egrep; do 3540 for ac_exec_ext in '' $ac_executable_extensions; do 3541 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3542 as_fn_executable_p "$ac_path_EGREP" || continue 3543# Check for GNU ac_path_EGREP and select it if it is found. 3544 # Check for GNU $ac_path_EGREP 3545case `"$ac_path_EGREP" --version 2>&1` in 3546*GNU*) 3547 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3548*) 3549 ac_count=0 3550 $as_echo_n 0123456789 >"conftest.in" 3551 while : 3552 do 3553 cat "conftest.in" "conftest.in" >"conftest.tmp" 3554 mv "conftest.tmp" "conftest.in" 3555 cp "conftest.in" "conftest.nl" 3556 $as_echo 'EGREP' >> "conftest.nl" 3557 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3558 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3559 as_fn_arith $ac_count + 1 && ac_count=$as_val 3560 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3561 # Best one so far, save it but keep looking for a better one 3562 ac_cv_path_EGREP="$ac_path_EGREP" 3563 ac_path_EGREP_max=$ac_count 3564 fi 3565 # 10*(2^10) chars as input seems more than enough 3566 test $ac_count -gt 10 && break 3567 done 3568 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3569esac 3570 3571 $ac_path_EGREP_found && break 3 3572 done 3573 done 3574 done 3575IFS=$as_save_IFS 3576 if test -z "$ac_cv_path_EGREP"; then 3577 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3578 fi 3579else 3580 ac_cv_path_EGREP=$EGREP 3581fi 3582 3583 fi 3584fi 3585{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 3586$as_echo "$ac_cv_path_EGREP" >&6; } 3587 EGREP="$ac_cv_path_EGREP" 3588 3589 3590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 3591$as_echo_n "checking for fgrep... " >&6; } 3592if ${ac_cv_path_FGREP+:} false; then : 3593 $as_echo_n "(cached) " >&6 3594else 3595 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 3596 then ac_cv_path_FGREP="$GREP -F" 3597 else 3598 if test -z "$FGREP"; then 3599 ac_path_FGREP_found=false 3600 # Loop through the user's path and test for each of PROGNAME-LIST 3601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3602for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3603do 3604 IFS=$as_save_IFS 3605 test -z "$as_dir" && as_dir=. 3606 for ac_prog in fgrep; do 3607 for ac_exec_ext in '' $ac_executable_extensions; do 3608 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 3609 as_fn_executable_p "$ac_path_FGREP" || continue 3610# Check for GNU ac_path_FGREP and select it if it is found. 3611 # Check for GNU $ac_path_FGREP 3612case `"$ac_path_FGREP" --version 2>&1` in 3613*GNU*) 3614 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 3615*) 3616 ac_count=0 3617 $as_echo_n 0123456789 >"conftest.in" 3618 while : 3619 do 3620 cat "conftest.in" "conftest.in" >"conftest.tmp" 3621 mv "conftest.tmp" "conftest.in" 3622 cp "conftest.in" "conftest.nl" 3623 $as_echo 'FGREP' >> "conftest.nl" 3624 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 3625 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3626 as_fn_arith $ac_count + 1 && ac_count=$as_val 3627 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 3628 # Best one so far, save it but keep looking for a better one 3629 ac_cv_path_FGREP="$ac_path_FGREP" 3630 ac_path_FGREP_max=$ac_count 3631 fi 3632 # 10*(2^10) chars as input seems more than enough 3633 test $ac_count -gt 10 && break 3634 done 3635 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3636esac 3637 3638 $ac_path_FGREP_found && break 3 3639 done 3640 done 3641 done 3642IFS=$as_save_IFS 3643 if test -z "$ac_cv_path_FGREP"; then 3644 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3645 fi 3646else 3647 ac_cv_path_FGREP=$FGREP 3648fi 3649 3650 fi 3651fi 3652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 3653$as_echo "$ac_cv_path_FGREP" >&6; } 3654 FGREP="$ac_cv_path_FGREP" 3655 3656 3657test -z "$GREP" && GREP=grep 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677# Check whether --with-gnu-ld was given. 3678if test "${with_gnu_ld+set}" = set; then : 3679 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 3680else 3681 with_gnu_ld=no 3682fi 3683 3684ac_prog=ld 3685if test yes = "$GCC"; then 3686 # Check if gcc -print-prog-name=ld gives a path. 3687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 3688$as_echo_n "checking for ld used by $CC... " >&6; } 3689 case $host in 3690 *-*-mingw*) 3691 # gcc leaves a trailing carriage return, which upsets mingw 3692 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 3693 *) 3694 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 3695 esac 3696 case $ac_prog in 3697 # Accept absolute paths. 3698 [\\/]* | ?:[\\/]*) 3699 re_direlt='/[^/][^/]*/\.\./' 3700 # Canonicalize the pathname of ld 3701 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 3702 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 3703 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 3704 done 3705 test -z "$LD" && LD=$ac_prog 3706 ;; 3707 "") 3708 # If it fails, then pretend we aren't using GCC. 3709 ac_prog=ld 3710 ;; 3711 *) 3712 # If it is relative, then search for the first ld in PATH. 3713 with_gnu_ld=unknown 3714 ;; 3715 esac 3716elif test yes = "$with_gnu_ld"; then 3717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 3718$as_echo_n "checking for GNU ld... " >&6; } 3719else 3720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 3721$as_echo_n "checking for non-GNU ld... " >&6; } 3722fi 3723if ${lt_cv_path_LD+:} false; then : 3724 $as_echo_n "(cached) " >&6 3725else 3726 if test -z "$LD"; then 3727 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 3728 for ac_dir in $PATH; do 3729 IFS=$lt_save_ifs 3730 test -z "$ac_dir" && ac_dir=. 3731 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 3732 lt_cv_path_LD=$ac_dir/$ac_prog 3733 # Check to see if the program is GNU ld. I'd rather use --version, 3734 # but apparently some variants of GNU ld only accept -v. 3735 # Break only if it was the GNU/non-GNU ld that we prefer. 3736 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 3737 *GNU* | *'with BFD'*) 3738 test no != "$with_gnu_ld" && break 3739 ;; 3740 *) 3741 test yes != "$with_gnu_ld" && break 3742 ;; 3743 esac 3744 fi 3745 done 3746 IFS=$lt_save_ifs 3747else 3748 lt_cv_path_LD=$LD # Let the user override the test with a path. 3749fi 3750fi 3751 3752LD=$lt_cv_path_LD 3753if test -n "$LD"; then 3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 3755$as_echo "$LD" >&6; } 3756else 3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3758$as_echo "no" >&6; } 3759fi 3760test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 3761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 3762$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 3763if ${lt_cv_prog_gnu_ld+:} false; then : 3764 $as_echo_n "(cached) " >&6 3765else 3766 # I'd rather use --version here, but apparently some GNU lds only accept -v. 3767case `$LD -v 2>&1 </dev/null` in 3768*GNU* | *'with BFD'*) 3769 lt_cv_prog_gnu_ld=yes 3770 ;; 3771*) 3772 lt_cv_prog_gnu_ld=no 3773 ;; 3774esac 3775fi 3776{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 3777$as_echo "$lt_cv_prog_gnu_ld" >&6; } 3778with_gnu_ld=$lt_cv_prog_gnu_ld 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 3789$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 3790if ${lt_cv_path_NM+:} false; then : 3791 $as_echo_n "(cached) " >&6 3792else 3793 if test -n "$NM"; then 3794 # Let the user override the test. 3795 lt_cv_path_NM=$NM 3796else 3797 lt_nm_to_check=${ac_tool_prefix}nm 3798 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 3799 lt_nm_to_check="$lt_nm_to_check nm" 3800 fi 3801 for lt_tmp_nm in $lt_nm_to_check; do 3802 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 3803 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 3804 IFS=$lt_save_ifs 3805 test -z "$ac_dir" && ac_dir=. 3806 tmp_nm=$ac_dir/$lt_tmp_nm 3807 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 3808 # Check to see if the nm accepts a BSD-compat flag. 3809 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 3810 # nm: unknown option "B" ignored 3811 # Tru64's nm complains that /dev/null is an invalid object file 3812 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 3813 case $build_os in 3814 mingw*) lt_bad_file=conftest.nm/nofile ;; 3815 *) lt_bad_file=/dev/null ;; 3816 esac 3817 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 3818 *$lt_bad_file* | *'Invalid file or object type'*) 3819 lt_cv_path_NM="$tmp_nm -B" 3820 break 2 3821 ;; 3822 *) 3823 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 3824 */dev/null*) 3825 lt_cv_path_NM="$tmp_nm -p" 3826 break 2 3827 ;; 3828 *) 3829 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 3830 continue # so that we can try to find one that supports BSD flags 3831 ;; 3832 esac 3833 ;; 3834 esac 3835 fi 3836 done 3837 IFS=$lt_save_ifs 3838 done 3839 : ${lt_cv_path_NM=no} 3840fi 3841fi 3842{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 3843$as_echo "$lt_cv_path_NM" >&6; } 3844if test no != "$lt_cv_path_NM"; then 3845 NM=$lt_cv_path_NM 3846else 3847 # Didn't find any BSD compatible name lister, look for dumpbin. 3848 if test -n "$DUMPBIN"; then : 3849 # Let the user override the test. 3850 else 3851 if test -n "$ac_tool_prefix"; then 3852 for ac_prog in dumpbin "link -dump" 3853 do 3854 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3855set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3856{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3857$as_echo_n "checking for $ac_word... " >&6; } 3858if ${ac_cv_prog_DUMPBIN+:} false; then : 3859 $as_echo_n "(cached) " >&6 3860else 3861 if test -n "$DUMPBIN"; then 3862 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 3863else 3864as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3865for as_dir in $PATH 3866do 3867 IFS=$as_save_IFS 3868 test -z "$as_dir" && as_dir=. 3869 for ac_exec_ext in '' $ac_executable_extensions; do 3870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3871 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 3872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3873 break 2 3874 fi 3875done 3876 done 3877IFS=$as_save_IFS 3878 3879fi 3880fi 3881DUMPBIN=$ac_cv_prog_DUMPBIN 3882if test -n "$DUMPBIN"; then 3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 3884$as_echo "$DUMPBIN" >&6; } 3885else 3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3887$as_echo "no" >&6; } 3888fi 3889 3890 3891 test -n "$DUMPBIN" && break 3892 done 3893fi 3894if test -z "$DUMPBIN"; then 3895 ac_ct_DUMPBIN=$DUMPBIN 3896 for ac_prog in dumpbin "link -dump" 3897do 3898 # Extract the first word of "$ac_prog", so it can be a program name with args. 3899set dummy $ac_prog; ac_word=$2 3900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3901$as_echo_n "checking for $ac_word... " >&6; } 3902if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 3903 $as_echo_n "(cached) " >&6 3904else 3905 if test -n "$ac_ct_DUMPBIN"; then 3906 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 3907else 3908as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3909for as_dir in $PATH 3910do 3911 IFS=$as_save_IFS 3912 test -z "$as_dir" && as_dir=. 3913 for ac_exec_ext in '' $ac_executable_extensions; do 3914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3915 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 3916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3917 break 2 3918 fi 3919done 3920 done 3921IFS=$as_save_IFS 3922 3923fi 3924fi 3925ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 3926if test -n "$ac_ct_DUMPBIN"; then 3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 3928$as_echo "$ac_ct_DUMPBIN" >&6; } 3929else 3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3931$as_echo "no" >&6; } 3932fi 3933 3934 3935 test -n "$ac_ct_DUMPBIN" && break 3936done 3937 3938 if test "x$ac_ct_DUMPBIN" = x; then 3939 DUMPBIN=":" 3940 else 3941 case $cross_compiling:$ac_tool_warned in 3942yes:) 3943{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3944$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3945ac_tool_warned=yes ;; 3946esac 3947 DUMPBIN=$ac_ct_DUMPBIN 3948 fi 3949fi 3950 3951 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 3952 *COFF*) 3953 DUMPBIN="$DUMPBIN -symbols -headers" 3954 ;; 3955 *) 3956 DUMPBIN=: 3957 ;; 3958 esac 3959 fi 3960 3961 if test : != "$DUMPBIN"; then 3962 NM=$DUMPBIN 3963 fi 3964fi 3965test -z "$NM" && NM=nm 3966 3967 3968 3969 3970 3971 3972{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 3973$as_echo_n "checking the name lister ($NM) interface... " >&6; } 3974if ${lt_cv_nm_interface+:} false; then : 3975 $as_echo_n "(cached) " >&6 3976else 3977 lt_cv_nm_interface="BSD nm" 3978 echo "int some_variable = 0;" > conftest.$ac_ext 3979 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 3980 (eval "$ac_compile" 2>conftest.err) 3981 cat conftest.err >&5 3982 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 3983 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 3984 cat conftest.err >&5 3985 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 3986 cat conftest.out >&5 3987 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 3988 lt_cv_nm_interface="MS dumpbin" 3989 fi 3990 rm -f conftest* 3991fi 3992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 3993$as_echo "$lt_cv_nm_interface" >&6; } 3994 3995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 3996$as_echo_n "checking whether ln -s works... " >&6; } 3997LN_S=$as_ln_s 3998if test "$LN_S" = "ln -s"; then 3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4000$as_echo "yes" >&6; } 4001else 4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4003$as_echo "no, using $LN_S" >&6; } 4004fi 4005 4006# find the maximum length of command line arguments 4007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4008$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4009if ${lt_cv_sys_max_cmd_len+:} false; then : 4010 $as_echo_n "(cached) " >&6 4011else 4012 i=0 4013 teststring=ABCD 4014 4015 case $build_os in 4016 msdosdjgpp*) 4017 # On DJGPP, this test can blow up pretty badly due to problems in libc 4018 # (any single argument exceeding 2000 bytes causes a buffer overrun 4019 # during glob expansion). Even if it were fixed, the result of this 4020 # check would be larger than it should be. 4021 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4022 ;; 4023 4024 gnu*) 4025 # Under GNU Hurd, this test is not required because there is 4026 # no limit to the length of command line arguments. 4027 # Libtool will interpret -1 as no limit whatsoever 4028 lt_cv_sys_max_cmd_len=-1; 4029 ;; 4030 4031 cygwin* | mingw* | cegcc*) 4032 # On Win9x/ME, this test blows up -- it succeeds, but takes 4033 # about 5 minutes as the teststring grows exponentially. 4034 # Worse, since 9x/ME are not pre-emptively multitasking, 4035 # you end up with a "frozen" computer, even though with patience 4036 # the test eventually succeeds (with a max line length of 256k). 4037 # Instead, let's just punt: use the minimum linelength reported by 4038 # all of the supported platforms: 8192 (on NT/2K/XP). 4039 lt_cv_sys_max_cmd_len=8192; 4040 ;; 4041 4042 mint*) 4043 # On MiNT this can take a long time and run out of memory. 4044 lt_cv_sys_max_cmd_len=8192; 4045 ;; 4046 4047 amigaos*) 4048 # On AmigaOS with pdksh, this test takes hours, literally. 4049 # So we just punt and use a minimum line length of 8192. 4050 lt_cv_sys_max_cmd_len=8192; 4051 ;; 4052 4053 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 4054 # This has been around since 386BSD, at least. Likely further. 4055 if test -x /sbin/sysctl; then 4056 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4057 elif test -x /usr/sbin/sysctl; then 4058 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4059 else 4060 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4061 fi 4062 # And add a safety zone 4063 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4064 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4065 ;; 4066 4067 interix*) 4068 # We know the value 262144 and hardcode it with a safety zone (like BSD) 4069 lt_cv_sys_max_cmd_len=196608 4070 ;; 4071 4072 os2*) 4073 # The test takes a long time on OS/2. 4074 lt_cv_sys_max_cmd_len=8192 4075 ;; 4076 4077 osf*) 4078 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 4079 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 4080 # nice to cause kernel panics so lets avoid the loop below. 4081 # First set a reasonable default. 4082 lt_cv_sys_max_cmd_len=16384 4083 # 4084 if test -x /sbin/sysconfig; then 4085 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 4086 *1*) lt_cv_sys_max_cmd_len=-1 ;; 4087 esac 4088 fi 4089 ;; 4090 sco3.2v5*) 4091 lt_cv_sys_max_cmd_len=102400 4092 ;; 4093 sysv5* | sco5v6* | sysv4.2uw2*) 4094 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 4095 if test -n "$kargmax"; then 4096 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 4097 else 4098 lt_cv_sys_max_cmd_len=32768 4099 fi 4100 ;; 4101 *) 4102 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 4103 if test -n "$lt_cv_sys_max_cmd_len" && \ 4104 test undefined != "$lt_cv_sys_max_cmd_len"; then 4105 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4106 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4107 else 4108 # Make teststring a little bigger before we do anything with it. 4109 # a 1K string should be a reasonable start. 4110 for i in 1 2 3 4 5 6 7 8; do 4111 teststring=$teststring$teststring 4112 done 4113 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 4114 # If test is not a shell built-in, we'll probably end up computing a 4115 # maximum length that is only half of the actual maximum length, but 4116 # we can't tell. 4117 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 4118 = "X$teststring$teststring"; } >/dev/null 2>&1 && 4119 test 17 != "$i" # 1/2 MB should be enough 4120 do 4121 i=`expr $i + 1` 4122 teststring=$teststring$teststring 4123 done 4124 # Only check the string length outside the loop. 4125 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 4126 teststring= 4127 # Add a significant safety factor because C++ compilers can tack on 4128 # massive amounts of additional arguments before passing them to the 4129 # linker. It appears as though 1/2 is a usable value. 4130 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 4131 fi 4132 ;; 4133 esac 4134 4135fi 4136 4137if test -n "$lt_cv_sys_max_cmd_len"; then 4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 4139$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 4140else 4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 4142$as_echo "none" >&6; } 4143fi 4144max_cmd_len=$lt_cv_sys_max_cmd_len 4145 4146 4147 4148 4149 4150 4151: ${CP="cp -f"} 4152: ${MV="mv -f"} 4153: ${RM="rm -f"} 4154 4155if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4156 lt_unset=unset 4157else 4158 lt_unset=false 4159fi 4160 4161 4162 4163 4164 4165# test EBCDIC or ASCII 4166case `echo X|tr X '\101'` in 4167 A) # ASCII based system 4168 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 4169 lt_SP2NL='tr \040 \012' 4170 lt_NL2SP='tr \015\012 \040\040' 4171 ;; 4172 *) # EBCDIC based system 4173 lt_SP2NL='tr \100 \n' 4174 lt_NL2SP='tr \r\n \100\100' 4175 ;; 4176esac 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 4187$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 4188if ${lt_cv_to_host_file_cmd+:} false; then : 4189 $as_echo_n "(cached) " >&6 4190else 4191 case $host in 4192 *-*-mingw* ) 4193 case $build in 4194 *-*-mingw* ) # actually msys 4195 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 4196 ;; 4197 *-*-cygwin* ) 4198 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 4199 ;; 4200 * ) # otherwise, assume *nix 4201 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 4202 ;; 4203 esac 4204 ;; 4205 *-*-cygwin* ) 4206 case $build in 4207 *-*-mingw* ) # actually msys 4208 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 4209 ;; 4210 *-*-cygwin* ) 4211 lt_cv_to_host_file_cmd=func_convert_file_noop 4212 ;; 4213 * ) # otherwise, assume *nix 4214 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 4215 ;; 4216 esac 4217 ;; 4218 * ) # unhandled hosts (and "normal" native builds) 4219 lt_cv_to_host_file_cmd=func_convert_file_noop 4220 ;; 4221esac 4222 4223fi 4224 4225to_host_file_cmd=$lt_cv_to_host_file_cmd 4226{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 4227$as_echo "$lt_cv_to_host_file_cmd" >&6; } 4228 4229 4230 4231 4232 4233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 4234$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 4235if ${lt_cv_to_tool_file_cmd+:} false; then : 4236 $as_echo_n "(cached) " >&6 4237else 4238 #assume ordinary cross tools, or native build. 4239lt_cv_to_tool_file_cmd=func_convert_file_noop 4240case $host in 4241 *-*-mingw* ) 4242 case $build in 4243 *-*-mingw* ) # actually msys 4244 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 4245 ;; 4246 esac 4247 ;; 4248esac 4249 4250fi 4251 4252to_tool_file_cmd=$lt_cv_to_tool_file_cmd 4253{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 4254$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 4255 4256 4257 4258 4259 4260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 4261$as_echo_n "checking for $LD option to reload object files... " >&6; } 4262if ${lt_cv_ld_reload_flag+:} false; then : 4263 $as_echo_n "(cached) " >&6 4264else 4265 lt_cv_ld_reload_flag='-r' 4266fi 4267{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 4268$as_echo "$lt_cv_ld_reload_flag" >&6; } 4269reload_flag=$lt_cv_ld_reload_flag 4270case $reload_flag in 4271"" | " "*) ;; 4272*) reload_flag=" $reload_flag" ;; 4273esac 4274reload_cmds='$LD$reload_flag -o $output$reload_objs' 4275case $host_os in 4276 cygwin* | mingw* | pw32* | cegcc*) 4277 if test yes != "$GCC"; then 4278 reload_cmds=false 4279 fi 4280 ;; 4281 darwin*) 4282 if test yes = "$GCC"; then 4283 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 4284 else 4285 reload_cmds='$LD$reload_flag -o $output$reload_objs' 4286 fi 4287 ;; 4288esac 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298if test -n "$ac_tool_prefix"; then 4299 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4300set dummy ${ac_tool_prefix}objdump; ac_word=$2 4301{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4302$as_echo_n "checking for $ac_word... " >&6; } 4303if ${ac_cv_prog_OBJDUMP+:} false; then : 4304 $as_echo_n "(cached) " >&6 4305else 4306 if test -n "$OBJDUMP"; then 4307 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4308else 4309as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4310for as_dir in $PATH 4311do 4312 IFS=$as_save_IFS 4313 test -z "$as_dir" && as_dir=. 4314 for ac_exec_ext in '' $ac_executable_extensions; do 4315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4316 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4318 break 2 4319 fi 4320done 4321 done 4322IFS=$as_save_IFS 4323 4324fi 4325fi 4326OBJDUMP=$ac_cv_prog_OBJDUMP 4327if test -n "$OBJDUMP"; then 4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 4329$as_echo "$OBJDUMP" >&6; } 4330else 4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4332$as_echo "no" >&6; } 4333fi 4334 4335 4336fi 4337if test -z "$ac_cv_prog_OBJDUMP"; then 4338 ac_ct_OBJDUMP=$OBJDUMP 4339 # Extract the first word of "objdump", so it can be a program name with args. 4340set dummy objdump; ac_word=$2 4341{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4342$as_echo_n "checking for $ac_word... " >&6; } 4343if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 4344 $as_echo_n "(cached) " >&6 4345else 4346 if test -n "$ac_ct_OBJDUMP"; then 4347 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4348else 4349as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4350for as_dir in $PATH 4351do 4352 IFS=$as_save_IFS 4353 test -z "$as_dir" && as_dir=. 4354 for ac_exec_ext in '' $ac_executable_extensions; do 4355 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4356 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4358 break 2 4359 fi 4360done 4361 done 4362IFS=$as_save_IFS 4363 4364fi 4365fi 4366ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4367if test -n "$ac_ct_OBJDUMP"; then 4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 4369$as_echo "$ac_ct_OBJDUMP" >&6; } 4370else 4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4372$as_echo "no" >&6; } 4373fi 4374 4375 if test "x$ac_ct_OBJDUMP" = x; then 4376 OBJDUMP="false" 4377 else 4378 case $cross_compiling:$ac_tool_warned in 4379yes:) 4380{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4381$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4382ac_tool_warned=yes ;; 4383esac 4384 OBJDUMP=$ac_ct_OBJDUMP 4385 fi 4386else 4387 OBJDUMP="$ac_cv_prog_OBJDUMP" 4388fi 4389 4390test -z "$OBJDUMP" && OBJDUMP=objdump 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 4401$as_echo_n "checking how to recognize dependent libraries... " >&6; } 4402if ${lt_cv_deplibs_check_method+:} false; then : 4403 $as_echo_n "(cached) " >&6 4404else 4405 lt_cv_file_magic_cmd='$MAGIC_CMD' 4406lt_cv_file_magic_test_file= 4407lt_cv_deplibs_check_method='unknown' 4408# Need to set the preceding variable on all platforms that support 4409# interlibrary dependencies. 4410# 'none' -- dependencies not supported. 4411# 'unknown' -- same as none, but documents that we really don't know. 4412# 'pass_all' -- all dependencies passed with no checks. 4413# 'test_compile' -- check by making test program. 4414# 'file_magic [[regex]]' -- check by looking for files in library path 4415# that responds to the $file_magic_cmd with a given extended regex. 4416# If you have 'file' or equivalent on your system and you're not sure 4417# whether 'pass_all' will *always* work, you probably want this one. 4418 4419case $host_os in 4420aix[4-9]*) 4421 lt_cv_deplibs_check_method=pass_all 4422 ;; 4423 4424beos*) 4425 lt_cv_deplibs_check_method=pass_all 4426 ;; 4427 4428bsdi[45]*) 4429 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 4430 lt_cv_file_magic_cmd='/usr/bin/file -L' 4431 lt_cv_file_magic_test_file=/shlib/libc.so 4432 ;; 4433 4434cygwin*) 4435 # func_win32_libid is a shell function defined in ltmain.sh 4436 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 4437 lt_cv_file_magic_cmd='func_win32_libid' 4438 ;; 4439 4440mingw* | pw32*) 4441 # Base MSYS/MinGW do not provide the 'file' command needed by 4442 # func_win32_libid shell function, so use a weaker test based on 'objdump', 4443 # unless we find 'file', for example because we are cross-compiling. 4444 if ( file / ) >/dev/null 2>&1; then 4445 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 4446 lt_cv_file_magic_cmd='func_win32_libid' 4447 else 4448 # Keep this pattern in sync with the one in func_win32_libid. 4449 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 4450 lt_cv_file_magic_cmd='$OBJDUMP -f' 4451 fi 4452 ;; 4453 4454cegcc*) 4455 # use the weaker test based on 'objdump'. See mingw*. 4456 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 4457 lt_cv_file_magic_cmd='$OBJDUMP -f' 4458 ;; 4459 4460darwin* | rhapsody*) 4461 lt_cv_deplibs_check_method=pass_all 4462 ;; 4463 4464freebsd* | dragonfly*) 4465 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 4466 case $host_cpu in 4467 i*86 ) 4468 # Not sure whether the presence of OpenBSD here was a mistake. 4469 # Let's accept both of them until this is cleared up. 4470 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 4471 lt_cv_file_magic_cmd=/usr/bin/file 4472 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 4473 ;; 4474 esac 4475 else 4476 lt_cv_deplibs_check_method=pass_all 4477 fi 4478 ;; 4479 4480haiku*) 4481 lt_cv_deplibs_check_method=pass_all 4482 ;; 4483 4484hpux10.20* | hpux11*) 4485 lt_cv_file_magic_cmd=/usr/bin/file 4486 case $host_cpu in 4487 ia64*) 4488 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 4489 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 4490 ;; 4491 hppa*64*) 4492 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]' 4493 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 4494 ;; 4495 *) 4496 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 4497 lt_cv_file_magic_test_file=/usr/lib/libc.sl 4498 ;; 4499 esac 4500 ;; 4501 4502interix[3-9]*) 4503 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 4504 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 4505 ;; 4506 4507irix5* | irix6* | nonstopux*) 4508 case $LD in 4509 *-32|*"-32 ") libmagic=32-bit;; 4510 *-n32|*"-n32 ") libmagic=N32;; 4511 *-64|*"-64 ") libmagic=64-bit;; 4512 *) libmagic=never-match;; 4513 esac 4514 lt_cv_deplibs_check_method=pass_all 4515 ;; 4516 4517# This must be glibc/ELF. 4518linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 4519 lt_cv_deplibs_check_method=pass_all 4520 ;; 4521 4522netbsd*) 4523 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 4524 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 4525 else 4526 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 4527 fi 4528 ;; 4529 4530newos6*) 4531 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 4532 lt_cv_file_magic_cmd=/usr/bin/file 4533 lt_cv_file_magic_test_file=/usr/lib/libnls.so 4534 ;; 4535 4536*nto* | *qnx*) 4537 lt_cv_deplibs_check_method=pass_all 4538 ;; 4539 4540openbsd* | bitrig*) 4541 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 4542 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 4543 else 4544 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 4545 fi 4546 ;; 4547 4548osf3* | osf4* | osf5*) 4549 lt_cv_deplibs_check_method=pass_all 4550 ;; 4551 4552rdos*) 4553 lt_cv_deplibs_check_method=pass_all 4554 ;; 4555 4556solaris*) 4557 lt_cv_deplibs_check_method=pass_all 4558 ;; 4559 4560sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 4561 lt_cv_deplibs_check_method=pass_all 4562 ;; 4563 4564sysv4 | sysv4.3*) 4565 case $host_vendor in 4566 motorola) 4567 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]' 4568 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 4569 ;; 4570 ncr) 4571 lt_cv_deplibs_check_method=pass_all 4572 ;; 4573 sequent) 4574 lt_cv_file_magic_cmd='/bin/file' 4575 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 4576 ;; 4577 sni) 4578 lt_cv_file_magic_cmd='/bin/file' 4579 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 4580 lt_cv_file_magic_test_file=/lib/libc.so 4581 ;; 4582 siemens) 4583 lt_cv_deplibs_check_method=pass_all 4584 ;; 4585 pc) 4586 lt_cv_deplibs_check_method=pass_all 4587 ;; 4588 esac 4589 ;; 4590 4591tpf*) 4592 lt_cv_deplibs_check_method=pass_all 4593 ;; 4594os2*) 4595 lt_cv_deplibs_check_method=pass_all 4596 ;; 4597esac 4598 4599fi 4600{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 4601$as_echo "$lt_cv_deplibs_check_method" >&6; } 4602 4603file_magic_glob= 4604want_nocaseglob=no 4605if test "$build" = "$host"; then 4606 case $host_os in 4607 mingw* | pw32*) 4608 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 4609 want_nocaseglob=yes 4610 else 4611 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 4612 fi 4613 ;; 4614 esac 4615fi 4616 4617file_magic_cmd=$lt_cv_file_magic_cmd 4618deplibs_check_method=$lt_cv_deplibs_check_method 4619test -z "$deplibs_check_method" && deplibs_check_method=unknown 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642if test -n "$ac_tool_prefix"; then 4643 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 4644set dummy ${ac_tool_prefix}dlltool; ac_word=$2 4645{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4646$as_echo_n "checking for $ac_word... " >&6; } 4647if ${ac_cv_prog_DLLTOOL+:} false; then : 4648 $as_echo_n "(cached) " >&6 4649else 4650 if test -n "$DLLTOOL"; then 4651 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 4652else 4653as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4654for as_dir in $PATH 4655do 4656 IFS=$as_save_IFS 4657 test -z "$as_dir" && as_dir=. 4658 for ac_exec_ext in '' $ac_executable_extensions; do 4659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4660 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 4661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4662 break 2 4663 fi 4664done 4665 done 4666IFS=$as_save_IFS 4667 4668fi 4669fi 4670DLLTOOL=$ac_cv_prog_DLLTOOL 4671if test -n "$DLLTOOL"; then 4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 4673$as_echo "$DLLTOOL" >&6; } 4674else 4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4676$as_echo "no" >&6; } 4677fi 4678 4679 4680fi 4681if test -z "$ac_cv_prog_DLLTOOL"; then 4682 ac_ct_DLLTOOL=$DLLTOOL 4683 # Extract the first word of "dlltool", so it can be a program name with args. 4684set dummy dlltool; ac_word=$2 4685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4686$as_echo_n "checking for $ac_word... " >&6; } 4687if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 4688 $as_echo_n "(cached) " >&6 4689else 4690 if test -n "$ac_ct_DLLTOOL"; then 4691 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 4692else 4693as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4694for as_dir in $PATH 4695do 4696 IFS=$as_save_IFS 4697 test -z "$as_dir" && as_dir=. 4698 for ac_exec_ext in '' $ac_executable_extensions; do 4699 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4700 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 4701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4702 break 2 4703 fi 4704done 4705 done 4706IFS=$as_save_IFS 4707 4708fi 4709fi 4710ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 4711if test -n "$ac_ct_DLLTOOL"; then 4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 4713$as_echo "$ac_ct_DLLTOOL" >&6; } 4714else 4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4716$as_echo "no" >&6; } 4717fi 4718 4719 if test "x$ac_ct_DLLTOOL" = x; then 4720 DLLTOOL="false" 4721 else 4722 case $cross_compiling:$ac_tool_warned in 4723yes:) 4724{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4725$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4726ac_tool_warned=yes ;; 4727esac 4728 DLLTOOL=$ac_ct_DLLTOOL 4729 fi 4730else 4731 DLLTOOL="$ac_cv_prog_DLLTOOL" 4732fi 4733 4734test -z "$DLLTOOL" && DLLTOOL=dlltool 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 4746$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 4747if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 4748 $as_echo_n "(cached) " >&6 4749else 4750 lt_cv_sharedlib_from_linklib_cmd='unknown' 4751 4752case $host_os in 4753cygwin* | mingw* | pw32* | cegcc*) 4754 # two different shell functions defined in ltmain.sh; 4755 # decide which one to use based on capabilities of $DLLTOOL 4756 case `$DLLTOOL --help 2>&1` in 4757 *--identify-strict*) 4758 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 4759 ;; 4760 *) 4761 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 4762 ;; 4763 esac 4764 ;; 4765*) 4766 # fallback: assume linklib IS sharedlib 4767 lt_cv_sharedlib_from_linklib_cmd=$ECHO 4768 ;; 4769esac 4770 4771fi 4772{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 4773$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 4774sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 4775test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 4776 4777 4778 4779 4780 4781 4782 4783 4784if test -n "$ac_tool_prefix"; then 4785 for ac_prog in ar 4786 do 4787 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4788set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4790$as_echo_n "checking for $ac_word... " >&6; } 4791if ${ac_cv_prog_AR+:} false; then : 4792 $as_echo_n "(cached) " >&6 4793else 4794 if test -n "$AR"; then 4795 ac_cv_prog_AR="$AR" # Let the user override the test. 4796else 4797as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4798for as_dir in $PATH 4799do 4800 IFS=$as_save_IFS 4801 test -z "$as_dir" && as_dir=. 4802 for ac_exec_ext in '' $ac_executable_extensions; do 4803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4804 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 4805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4806 break 2 4807 fi 4808done 4809 done 4810IFS=$as_save_IFS 4811 4812fi 4813fi 4814AR=$ac_cv_prog_AR 4815if test -n "$AR"; then 4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 4817$as_echo "$AR" >&6; } 4818else 4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4820$as_echo "no" >&6; } 4821fi 4822 4823 4824 test -n "$AR" && break 4825 done 4826fi 4827if test -z "$AR"; then 4828 ac_ct_AR=$AR 4829 for ac_prog in ar 4830do 4831 # Extract the first word of "$ac_prog", so it can be a program name with args. 4832set dummy $ac_prog; ac_word=$2 4833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4834$as_echo_n "checking for $ac_word... " >&6; } 4835if ${ac_cv_prog_ac_ct_AR+:} false; then : 4836 $as_echo_n "(cached) " >&6 4837else 4838 if test -n "$ac_ct_AR"; then 4839 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 4840else 4841as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4842for as_dir in $PATH 4843do 4844 IFS=$as_save_IFS 4845 test -z "$as_dir" && as_dir=. 4846 for ac_exec_ext in '' $ac_executable_extensions; do 4847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4848 ac_cv_prog_ac_ct_AR="$ac_prog" 4849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4850 break 2 4851 fi 4852done 4853 done 4854IFS=$as_save_IFS 4855 4856fi 4857fi 4858ac_ct_AR=$ac_cv_prog_ac_ct_AR 4859if test -n "$ac_ct_AR"; then 4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 4861$as_echo "$ac_ct_AR" >&6; } 4862else 4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4864$as_echo "no" >&6; } 4865fi 4866 4867 4868 test -n "$ac_ct_AR" && break 4869done 4870 4871 if test "x$ac_ct_AR" = x; then 4872 AR="false" 4873 else 4874 case $cross_compiling:$ac_tool_warned in 4875yes:) 4876{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4877$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4878ac_tool_warned=yes ;; 4879esac 4880 AR=$ac_ct_AR 4881 fi 4882fi 4883 4884: ${AR=ar} 4885: ${AR_FLAGS=cru} 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 4898$as_echo_n "checking for archiver @FILE support... " >&6; } 4899if ${lt_cv_ar_at_file+:} false; then : 4900 $as_echo_n "(cached) " >&6 4901else 4902 lt_cv_ar_at_file=no 4903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4904/* end confdefs.h. */ 4905 4906int 4907main () 4908{ 4909 4910 ; 4911 return 0; 4912} 4913_ACEOF 4914if ac_fn_c_try_compile "$LINENO"; then : 4915 echo conftest.$ac_objext > conftest.lst 4916 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 4917 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 4918 (eval $lt_ar_try) 2>&5 4919 ac_status=$? 4920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4921 test $ac_status = 0; } 4922 if test 0 -eq "$ac_status"; then 4923 # Ensure the archiver fails upon bogus file names. 4924 rm -f conftest.$ac_objext libconftest.a 4925 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 4926 (eval $lt_ar_try) 2>&5 4927 ac_status=$? 4928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4929 test $ac_status = 0; } 4930 if test 0 -ne "$ac_status"; then 4931 lt_cv_ar_at_file=@ 4932 fi 4933 fi 4934 rm -f conftest.* libconftest.a 4935 4936fi 4937rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4938 4939fi 4940{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 4941$as_echo "$lt_cv_ar_at_file" >&6; } 4942 4943if test no = "$lt_cv_ar_at_file"; then 4944 archiver_list_spec= 4945else 4946 archiver_list_spec=$lt_cv_ar_at_file 4947fi 4948 4949 4950 4951 4952 4953 4954 4955if test -n "$ac_tool_prefix"; then 4956 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 4957set dummy ${ac_tool_prefix}strip; ac_word=$2 4958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4959$as_echo_n "checking for $ac_word... " >&6; } 4960if ${ac_cv_prog_STRIP+:} false; then : 4961 $as_echo_n "(cached) " >&6 4962else 4963 if test -n "$STRIP"; then 4964 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 4965else 4966as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4967for as_dir in $PATH 4968do 4969 IFS=$as_save_IFS 4970 test -z "$as_dir" && as_dir=. 4971 for ac_exec_ext in '' $ac_executable_extensions; do 4972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4973 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 4974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4975 break 2 4976 fi 4977done 4978 done 4979IFS=$as_save_IFS 4980 4981fi 4982fi 4983STRIP=$ac_cv_prog_STRIP 4984if test -n "$STRIP"; then 4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 4986$as_echo "$STRIP" >&6; } 4987else 4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4989$as_echo "no" >&6; } 4990fi 4991 4992 4993fi 4994if test -z "$ac_cv_prog_STRIP"; then 4995 ac_ct_STRIP=$STRIP 4996 # Extract the first word of "strip", so it can be a program name with args. 4997set dummy strip; ac_word=$2 4998{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4999$as_echo_n "checking for $ac_word... " >&6; } 5000if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 5001 $as_echo_n "(cached) " >&6 5002else 5003 if test -n "$ac_ct_STRIP"; then 5004 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5005else 5006as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5007for as_dir in $PATH 5008do 5009 IFS=$as_save_IFS 5010 test -z "$as_dir" && as_dir=. 5011 for ac_exec_ext in '' $ac_executable_extensions; do 5012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5013 ac_cv_prog_ac_ct_STRIP="strip" 5014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5015 break 2 5016 fi 5017done 5018 done 5019IFS=$as_save_IFS 5020 5021fi 5022fi 5023ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5024if test -n "$ac_ct_STRIP"; then 5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5026$as_echo "$ac_ct_STRIP" >&6; } 5027else 5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5029$as_echo "no" >&6; } 5030fi 5031 5032 if test "x$ac_ct_STRIP" = x; then 5033 STRIP=":" 5034 else 5035 case $cross_compiling:$ac_tool_warned in 5036yes:) 5037{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5038$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5039ac_tool_warned=yes ;; 5040esac 5041 STRIP=$ac_ct_STRIP 5042 fi 5043else 5044 STRIP="$ac_cv_prog_STRIP" 5045fi 5046 5047test -z "$STRIP" && STRIP=: 5048 5049 5050 5051 5052 5053 5054if test -n "$ac_tool_prefix"; then 5055 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5056set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5057{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5058$as_echo_n "checking for $ac_word... " >&6; } 5059if ${ac_cv_prog_RANLIB+:} false; then : 5060 $as_echo_n "(cached) " >&6 5061else 5062 if test -n "$RANLIB"; then 5063 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5064else 5065as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5066for as_dir in $PATH 5067do 5068 IFS=$as_save_IFS 5069 test -z "$as_dir" && as_dir=. 5070 for ac_exec_ext in '' $ac_executable_extensions; do 5071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5072 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5074 break 2 5075 fi 5076done 5077 done 5078IFS=$as_save_IFS 5079 5080fi 5081fi 5082RANLIB=$ac_cv_prog_RANLIB 5083if test -n "$RANLIB"; then 5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5085$as_echo "$RANLIB" >&6; } 5086else 5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5088$as_echo "no" >&6; } 5089fi 5090 5091 5092fi 5093if test -z "$ac_cv_prog_RANLIB"; then 5094 ac_ct_RANLIB=$RANLIB 5095 # Extract the first word of "ranlib", so it can be a program name with args. 5096set dummy ranlib; ac_word=$2 5097{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5098$as_echo_n "checking for $ac_word... " >&6; } 5099if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 5100 $as_echo_n "(cached) " >&6 5101else 5102 if test -n "$ac_ct_RANLIB"; then 5103 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5104else 5105as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5106for as_dir in $PATH 5107do 5108 IFS=$as_save_IFS 5109 test -z "$as_dir" && as_dir=. 5110 for ac_exec_ext in '' $ac_executable_extensions; do 5111 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5112 ac_cv_prog_ac_ct_RANLIB="ranlib" 5113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5114 break 2 5115 fi 5116done 5117 done 5118IFS=$as_save_IFS 5119 5120fi 5121fi 5122ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5123if test -n "$ac_ct_RANLIB"; then 5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 5125$as_echo "$ac_ct_RANLIB" >&6; } 5126else 5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5128$as_echo "no" >&6; } 5129fi 5130 5131 if test "x$ac_ct_RANLIB" = x; then 5132 RANLIB=":" 5133 else 5134 case $cross_compiling:$ac_tool_warned in 5135yes:) 5136{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5137$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5138ac_tool_warned=yes ;; 5139esac 5140 RANLIB=$ac_ct_RANLIB 5141 fi 5142else 5143 RANLIB="$ac_cv_prog_RANLIB" 5144fi 5145 5146test -z "$RANLIB" && RANLIB=: 5147 5148 5149 5150 5151 5152 5153# Determine commands to create old-style static archives. 5154old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 5155old_postinstall_cmds='chmod 644 $oldlib' 5156old_postuninstall_cmds= 5157 5158if test -n "$RANLIB"; then 5159 case $host_os in 5160 bitrig* | openbsd*) 5161 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 5162 ;; 5163 *) 5164 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 5165 ;; 5166 esac 5167 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 5168fi 5169 5170case $host_os in 5171 darwin*) 5172 lock_old_archive_extraction=yes ;; 5173 *) 5174 lock_old_archive_extraction=no ;; 5175esac 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197for ac_prog in gawk mawk nawk awk 5198do 5199 # Extract the first word of "$ac_prog", so it can be a program name with args. 5200set dummy $ac_prog; ac_word=$2 5201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5202$as_echo_n "checking for $ac_word... " >&6; } 5203if ${ac_cv_prog_AWK+:} false; then : 5204 $as_echo_n "(cached) " >&6 5205else 5206 if test -n "$AWK"; then 5207 ac_cv_prog_AWK="$AWK" # Let the user override the test. 5208else 5209as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5210for as_dir in $PATH 5211do 5212 IFS=$as_save_IFS 5213 test -z "$as_dir" && as_dir=. 5214 for ac_exec_ext in '' $ac_executable_extensions; do 5215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5216 ac_cv_prog_AWK="$ac_prog" 5217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5218 break 2 5219 fi 5220done 5221 done 5222IFS=$as_save_IFS 5223 5224fi 5225fi 5226AWK=$ac_cv_prog_AWK 5227if test -n "$AWK"; then 5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 5229$as_echo "$AWK" >&6; } 5230else 5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5232$as_echo "no" >&6; } 5233fi 5234 5235 5236 test -n "$AWK" && break 5237done 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257# If no C compiler was specified, use CC. 5258LTCC=${LTCC-"$CC"} 5259 5260# If no C compiler flags were specified, use CFLAGS. 5261LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 5262 5263# Allow CC to be a program name with arguments. 5264compiler=$CC 5265 5266 5267# Check for command to grab the raw symbol name followed by C symbol from nm. 5268{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 5269$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 5270if ${lt_cv_sys_global_symbol_pipe+:} false; then : 5271 $as_echo_n "(cached) " >&6 5272else 5273 5274# These are sane defaults that work on at least a few old systems. 5275# [They come from Ultrix. What could be older than Ultrix?!! ;)] 5276 5277# Character class describing NM global symbol codes. 5278symcode='[BCDEGRST]' 5279 5280# Regexp to match symbols that can be accessed directly from C. 5281sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 5282 5283# Define system-specific variables. 5284case $host_os in 5285aix*) 5286 symcode='[BCDT]' 5287 ;; 5288cygwin* | mingw* | pw32* | cegcc*) 5289 symcode='[ABCDGISTW]' 5290 ;; 5291hpux*) 5292 if test ia64 = "$host_cpu"; then 5293 symcode='[ABCDEGRST]' 5294 fi 5295 ;; 5296irix* | nonstopux*) 5297 symcode='[BCDEGRST]' 5298 ;; 5299osf*) 5300 symcode='[BCDEGQRST]' 5301 ;; 5302solaris*) 5303 symcode='[BDRT]' 5304 ;; 5305sco3.2v5*) 5306 symcode='[DT]' 5307 ;; 5308sysv4.2uw2*) 5309 symcode='[DT]' 5310 ;; 5311sysv5* | sco5v6* | unixware* | OpenUNIX*) 5312 symcode='[ABDT]' 5313 ;; 5314sysv4) 5315 symcode='[DFNSTU]' 5316 ;; 5317esac 5318 5319# If we're using GNU nm, then use its standard symbol codes. 5320case `$NM -V 2>&1` in 5321*GNU* | *'with BFD'*) 5322 symcode='[ABCDGIRSTW]' ;; 5323esac 5324 5325if test "$lt_cv_nm_interface" = "MS dumpbin"; then 5326 # Gets list of data symbols to import. 5327 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 5328 # Adjust the below global symbol transforms to fixup imported variables. 5329 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 5330 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 5331 lt_c_name_lib_hook="\ 5332 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 5333 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 5334else 5335 # Disable hooks by default. 5336 lt_cv_sys_global_symbol_to_import= 5337 lt_cdecl_hook= 5338 lt_c_name_hook= 5339 lt_c_name_lib_hook= 5340fi 5341 5342# Transform an extracted symbol line into a proper C declaration. 5343# Some systems (esp. on ia64) link data and code symbols differently, 5344# so use this general approach. 5345lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 5346$lt_cdecl_hook\ 5347" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 5348" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 5349 5350# Transform an extracted symbol line into symbol name and symbol address 5351lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 5352$lt_c_name_hook\ 5353" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 5354" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 5355 5356# Transform an extracted symbol line into symbol name with lib prefix and 5357# symbol address. 5358lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 5359$lt_c_name_lib_hook\ 5360" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 5361" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 5362" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 5363 5364# Handle CRLF in mingw tool chain 5365opt_cr= 5366case $build_os in 5367mingw*) 5368 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 5369 ;; 5370esac 5371 5372# Try without a prefix underscore, then with it. 5373for ac_symprfx in "" "_"; do 5374 5375 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 5376 symxfrm="\\1 $ac_symprfx\\2 \\2" 5377 5378 # Write the raw and C identifiers. 5379 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 5380 # Fake it for dumpbin and say T for any non-static function, 5381 # D for any global variable and I for any imported variable. 5382 # Also find C++ and __fastcall symbols from MSVC++, 5383 # which start with @ or ?. 5384 lt_cv_sys_global_symbol_pipe="$AWK '"\ 5385" {last_section=section; section=\$ 3};"\ 5386" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 5387" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 5388" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 5389" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 5390" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 5391" \$ 0!~/External *\|/{next};"\ 5392" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 5393" {if(hide[section]) next};"\ 5394" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 5395" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 5396" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 5397" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 5398" ' prfx=^$ac_symprfx" 5399 else 5400 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 5401 fi 5402 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 5403 5404 # Check to see that the pipe works correctly. 5405 pipe_works=no 5406 5407 rm -f conftest* 5408 cat > conftest.$ac_ext <<_LT_EOF 5409#ifdef __cplusplus 5410extern "C" { 5411#endif 5412char nm_test_var; 5413void nm_test_func(void); 5414void nm_test_func(void){} 5415#ifdef __cplusplus 5416} 5417#endif 5418int main(){nm_test_var='a';nm_test_func();return(0);} 5419_LT_EOF 5420 5421 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 5422 (eval $ac_compile) 2>&5 5423 ac_status=$? 5424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5425 test $ac_status = 0; }; then 5426 # Now try to grab the symbols. 5427 nlist=conftest.nm 5428 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 5429 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 5430 ac_status=$? 5431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5432 test $ac_status = 0; } && test -s "$nlist"; then 5433 # Try sorting and uniquifying the output. 5434 if sort "$nlist" | uniq > "$nlist"T; then 5435 mv -f "$nlist"T "$nlist" 5436 else 5437 rm -f "$nlist"T 5438 fi 5439 5440 # Make sure that we snagged all the symbols we need. 5441 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 5442 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 5443 cat <<_LT_EOF > conftest.$ac_ext 5444/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 5445#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 5446/* DATA imports from DLLs on WIN32 can't be const, because runtime 5447 relocations are performed -- see ld's documentation on pseudo-relocs. */ 5448# define LT_DLSYM_CONST 5449#elif defined __osf__ 5450/* This system does not cope well with relocations in const data. */ 5451# define LT_DLSYM_CONST 5452#else 5453# define LT_DLSYM_CONST const 5454#endif 5455 5456#ifdef __cplusplus 5457extern "C" { 5458#endif 5459 5460_LT_EOF 5461 # Now generate the symbol file. 5462 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 5463 5464 cat <<_LT_EOF >> conftest.$ac_ext 5465 5466/* The mapping between symbol names and symbols. */ 5467LT_DLSYM_CONST struct { 5468 const char *name; 5469 void *address; 5470} 5471lt__PROGRAM__LTX_preloaded_symbols[] = 5472{ 5473 { "@PROGRAM@", (void *) 0 }, 5474_LT_EOF 5475 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 5476 cat <<\_LT_EOF >> conftest.$ac_ext 5477 {0, (void *) 0} 5478}; 5479 5480/* This works around a problem in FreeBSD linker */ 5481#ifdef FREEBSD_WORKAROUND 5482static const void *lt_preloaded_setup() { 5483 return lt__PROGRAM__LTX_preloaded_symbols; 5484} 5485#endif 5486 5487#ifdef __cplusplus 5488} 5489#endif 5490_LT_EOF 5491 # Now try linking the two files. 5492 mv conftest.$ac_objext conftstm.$ac_objext 5493 lt_globsym_save_LIBS=$LIBS 5494 lt_globsym_save_CFLAGS=$CFLAGS 5495 LIBS=conftstm.$ac_objext 5496 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 5497 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 5498 (eval $ac_link) 2>&5 5499 ac_status=$? 5500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5501 test $ac_status = 0; } && test -s conftest$ac_exeext; then 5502 pipe_works=yes 5503 fi 5504 LIBS=$lt_globsym_save_LIBS 5505 CFLAGS=$lt_globsym_save_CFLAGS 5506 else 5507 echo "cannot find nm_test_func in $nlist" >&5 5508 fi 5509 else 5510 echo "cannot find nm_test_var in $nlist" >&5 5511 fi 5512 else 5513 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 5514 fi 5515 else 5516 echo "$progname: failed program was:" >&5 5517 cat conftest.$ac_ext >&5 5518 fi 5519 rm -rf conftest* conftst* 5520 5521 # Do not use the global_symbol_pipe unless it works. 5522 if test yes = "$pipe_works"; then 5523 break 5524 else 5525 lt_cv_sys_global_symbol_pipe= 5526 fi 5527done 5528 5529fi 5530 5531if test -z "$lt_cv_sys_global_symbol_pipe"; then 5532 lt_cv_sys_global_symbol_to_cdecl= 5533fi 5534if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 5536$as_echo "failed" >&6; } 5537else 5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 5539$as_echo "ok" >&6; } 5540fi 5541 5542# Response file support. 5543if test "$lt_cv_nm_interface" = "MS dumpbin"; then 5544 nm_file_list_spec='@' 5545elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 5546 nm_file_list_spec='@' 5547fi 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 5586$as_echo_n "checking for sysroot... " >&6; } 5587 5588# Check whether --with-sysroot was given. 5589if test "${with_sysroot+set}" = set; then : 5590 withval=$with_sysroot; 5591else 5592 with_sysroot=no 5593fi 5594 5595 5596lt_sysroot= 5597case $with_sysroot in #( 5598 yes) 5599 if test yes = "$GCC"; then 5600 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 5601 fi 5602 ;; #( 5603 /*) 5604 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 5605 ;; #( 5606 no|'') 5607 ;; #( 5608 *) 5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 5610$as_echo "$with_sysroot" >&6; } 5611 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 5612 ;; 5613esac 5614 5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 5616$as_echo "${lt_sysroot:-no}" >&6; } 5617 5618 5619 5620 5621 5622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 5623$as_echo_n "checking for a working dd... " >&6; } 5624if ${ac_cv_path_lt_DD+:} false; then : 5625 $as_echo_n "(cached) " >&6 5626else 5627 printf 0123456789abcdef0123456789abcdef >conftest.i 5628cat conftest.i conftest.i >conftest2.i 5629: ${lt_DD:=$DD} 5630if test -z "$lt_DD"; then 5631 ac_path_lt_DD_found=false 5632 # Loop through the user's path and test for each of PROGNAME-LIST 5633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5634for as_dir in $PATH 5635do 5636 IFS=$as_save_IFS 5637 test -z "$as_dir" && as_dir=. 5638 for ac_prog in dd; do 5639 for ac_exec_ext in '' $ac_executable_extensions; do 5640 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 5641 as_fn_executable_p "$ac_path_lt_DD" || continue 5642if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 5643 cmp -s conftest.i conftest.out \ 5644 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 5645fi 5646 $ac_path_lt_DD_found && break 3 5647 done 5648 done 5649 done 5650IFS=$as_save_IFS 5651 if test -z "$ac_cv_path_lt_DD"; then 5652 : 5653 fi 5654else 5655 ac_cv_path_lt_DD=$lt_DD 5656fi 5657 5658rm -f conftest.i conftest2.i conftest.out 5659fi 5660{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 5661$as_echo "$ac_cv_path_lt_DD" >&6; } 5662 5663 5664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 5665$as_echo_n "checking how to truncate binary pipes... " >&6; } 5666if ${lt_cv_truncate_bin+:} false; then : 5667 $as_echo_n "(cached) " >&6 5668else 5669 printf 0123456789abcdef0123456789abcdef >conftest.i 5670cat conftest.i conftest.i >conftest2.i 5671lt_cv_truncate_bin= 5672if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 5673 cmp -s conftest.i conftest.out \ 5674 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 5675fi 5676rm -f conftest.i conftest2.i conftest.out 5677test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 5678fi 5679{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 5680$as_echo "$lt_cv_truncate_bin" >&6; } 5681 5682 5683 5684 5685 5686 5687 5688# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 5689func_cc_basename () 5690{ 5691 for cc_temp in $*""; do 5692 case $cc_temp in 5693 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 5694 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 5695 \-*) ;; 5696 *) break;; 5697 esac 5698 done 5699 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 5700} 5701 5702# Check whether --enable-libtool-lock was given. 5703if test "${enable_libtool_lock+set}" = set; then : 5704 enableval=$enable_libtool_lock; 5705fi 5706 5707test no = "$enable_libtool_lock" || enable_libtool_lock=yes 5708 5709# Some flags need to be propagated to the compiler or linker for good 5710# libtool support. 5711case $host in 5712ia64-*-hpux*) 5713 # Find out what ABI is being produced by ac_compile, and set mode 5714 # options accordingly. 5715 echo 'int i;' > conftest.$ac_ext 5716 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 5717 (eval $ac_compile) 2>&5 5718 ac_status=$? 5719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5720 test $ac_status = 0; }; then 5721 case `/usr/bin/file conftest.$ac_objext` in 5722 *ELF-32*) 5723 HPUX_IA64_MODE=32 5724 ;; 5725 *ELF-64*) 5726 HPUX_IA64_MODE=64 5727 ;; 5728 esac 5729 fi 5730 rm -rf conftest* 5731 ;; 5732*-*-irix6*) 5733 # Find out what ABI is being produced by ac_compile, and set linker 5734 # options accordingly. 5735 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 5736 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 5737 (eval $ac_compile) 2>&5 5738 ac_status=$? 5739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5740 test $ac_status = 0; }; then 5741 if test yes = "$lt_cv_prog_gnu_ld"; then 5742 case `/usr/bin/file conftest.$ac_objext` in 5743 *32-bit*) 5744 LD="${LD-ld} -melf32bsmip" 5745 ;; 5746 *N32*) 5747 LD="${LD-ld} -melf32bmipn32" 5748 ;; 5749 *64-bit*) 5750 LD="${LD-ld} -melf64bmip" 5751 ;; 5752 esac 5753 else 5754 case `/usr/bin/file conftest.$ac_objext` in 5755 *32-bit*) 5756 LD="${LD-ld} -32" 5757 ;; 5758 *N32*) 5759 LD="${LD-ld} -n32" 5760 ;; 5761 *64-bit*) 5762 LD="${LD-ld} -64" 5763 ;; 5764 esac 5765 fi 5766 fi 5767 rm -rf conftest* 5768 ;; 5769 5770mips64*-*linux*) 5771 # Find out what ABI is being produced by ac_compile, and set linker 5772 # options accordingly. 5773 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 5774 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 5775 (eval $ac_compile) 2>&5 5776 ac_status=$? 5777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5778 test $ac_status = 0; }; then 5779 emul=elf 5780 case `/usr/bin/file conftest.$ac_objext` in 5781 *32-bit*) 5782 emul="${emul}32" 5783 ;; 5784 *64-bit*) 5785 emul="${emul}64" 5786 ;; 5787 esac 5788 case `/usr/bin/file conftest.$ac_objext` in 5789 *MSB*) 5790 emul="${emul}btsmip" 5791 ;; 5792 *LSB*) 5793 emul="${emul}ltsmip" 5794 ;; 5795 esac 5796 case `/usr/bin/file conftest.$ac_objext` in 5797 *N32*) 5798 emul="${emul}n32" 5799 ;; 5800 esac 5801 LD="${LD-ld} -m $emul" 5802 fi 5803 rm -rf conftest* 5804 ;; 5805 5806x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 5807s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 5808 # Find out what ABI is being produced by ac_compile, and set linker 5809 # options accordingly. Note that the listed cases only cover the 5810 # situations where additional linker options are needed (such as when 5811 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 5812 # vice versa); the common cases where no linker options are needed do 5813 # not appear in the list. 5814 echo 'int i;' > conftest.$ac_ext 5815 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 5816 (eval $ac_compile) 2>&5 5817 ac_status=$? 5818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5819 test $ac_status = 0; }; then 5820 case `/usr/bin/file conftest.o` in 5821 *32-bit*) 5822 case $host in 5823 x86_64-*kfreebsd*-gnu) 5824 LD="${LD-ld} -m elf_i386_fbsd" 5825 ;; 5826 x86_64-*linux*) 5827 case `/usr/bin/file conftest.o` in 5828 *x86-64*) 5829 LD="${LD-ld} -m elf32_x86_64" 5830 ;; 5831 *) 5832 LD="${LD-ld} -m elf_i386" 5833 ;; 5834 esac 5835 ;; 5836 powerpc64le-*linux*) 5837 LD="${LD-ld} -m elf32lppclinux" 5838 ;; 5839 powerpc64-*linux*) 5840 LD="${LD-ld} -m elf32ppclinux" 5841 ;; 5842 s390x-*linux*) 5843 LD="${LD-ld} -m elf_s390" 5844 ;; 5845 sparc64-*linux*) 5846 LD="${LD-ld} -m elf32_sparc" 5847 ;; 5848 esac 5849 ;; 5850 *64-bit*) 5851 case $host in 5852 x86_64-*kfreebsd*-gnu) 5853 LD="${LD-ld} -m elf_x86_64_fbsd" 5854 ;; 5855 x86_64-*linux*) 5856 LD="${LD-ld} -m elf_x86_64" 5857 ;; 5858 powerpcle-*linux*) 5859 LD="${LD-ld} -m elf64lppc" 5860 ;; 5861 powerpc-*linux*) 5862 LD="${LD-ld} -m elf64ppc" 5863 ;; 5864 s390*-*linux*|s390*-*tpf*) 5865 LD="${LD-ld} -m elf64_s390" 5866 ;; 5867 sparc*-*linux*) 5868 LD="${LD-ld} -m elf64_sparc" 5869 ;; 5870 esac 5871 ;; 5872 esac 5873 fi 5874 rm -rf conftest* 5875 ;; 5876 5877*-*-sco3.2v5*) 5878 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 5879 SAVE_CFLAGS=$CFLAGS 5880 CFLAGS="$CFLAGS -belf" 5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 5882$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 5883if ${lt_cv_cc_needs_belf+:} false; then : 5884 $as_echo_n "(cached) " >&6 5885else 5886 ac_ext=c 5887ac_cpp='$CPP $CPPFLAGS' 5888ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5889ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5890ac_compiler_gnu=$ac_cv_c_compiler_gnu 5891 5892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5893/* end confdefs.h. */ 5894 5895int 5896main () 5897{ 5898 5899 ; 5900 return 0; 5901} 5902_ACEOF 5903if ac_fn_c_try_link "$LINENO"; then : 5904 lt_cv_cc_needs_belf=yes 5905else 5906 lt_cv_cc_needs_belf=no 5907fi 5908rm -f core conftest.err conftest.$ac_objext \ 5909 conftest$ac_exeext conftest.$ac_ext 5910 ac_ext=c 5911ac_cpp='$CPP $CPPFLAGS' 5912ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5913ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5914ac_compiler_gnu=$ac_cv_c_compiler_gnu 5915 5916fi 5917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 5918$as_echo "$lt_cv_cc_needs_belf" >&6; } 5919 if test yes != "$lt_cv_cc_needs_belf"; then 5920 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 5921 CFLAGS=$SAVE_CFLAGS 5922 fi 5923 ;; 5924*-*solaris*) 5925 # Find out what ABI is being produced by ac_compile, and set linker 5926 # options accordingly. 5927 echo 'int i;' > conftest.$ac_ext 5928 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 5929 (eval $ac_compile) 2>&5 5930 ac_status=$? 5931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5932 test $ac_status = 0; }; then 5933 case `/usr/bin/file conftest.o` in 5934 *64-bit*) 5935 case $lt_cv_prog_gnu_ld in 5936 yes*) 5937 case $host in 5938 i?86-*-solaris*|x86_64-*-solaris*) 5939 LD="${LD-ld} -m elf_x86_64" 5940 ;; 5941 sparc*-*-solaris*) 5942 LD="${LD-ld} -m elf64_sparc" 5943 ;; 5944 esac 5945 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 5946 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 5947 LD=${LD-ld}_sol2 5948 fi 5949 ;; 5950 *) 5951 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 5952 LD="${LD-ld} -64" 5953 fi 5954 ;; 5955 esac 5956 ;; 5957 esac 5958 fi 5959 rm -rf conftest* 5960 ;; 5961esac 5962 5963need_locks=$enable_libtool_lock 5964 5965if test -n "$ac_tool_prefix"; then 5966 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 5967set dummy ${ac_tool_prefix}mt; ac_word=$2 5968{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5969$as_echo_n "checking for $ac_word... " >&6; } 5970if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 5971 $as_echo_n "(cached) " >&6 5972else 5973 if test -n "$MANIFEST_TOOL"; then 5974 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 5975else 5976as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5977for as_dir in $PATH 5978do 5979 IFS=$as_save_IFS 5980 test -z "$as_dir" && as_dir=. 5981 for ac_exec_ext in '' $ac_executable_extensions; do 5982 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5983 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 5984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5985 break 2 5986 fi 5987done 5988 done 5989IFS=$as_save_IFS 5990 5991fi 5992fi 5993MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 5994if test -n "$MANIFEST_TOOL"; then 5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 5996$as_echo "$MANIFEST_TOOL" >&6; } 5997else 5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5999$as_echo "no" >&6; } 6000fi 6001 6002 6003fi 6004if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 6005 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 6006 # Extract the first word of "mt", so it can be a program name with args. 6007set dummy mt; ac_word=$2 6008{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6009$as_echo_n "checking for $ac_word... " >&6; } 6010if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 6011 $as_echo_n "(cached) " >&6 6012else 6013 if test -n "$ac_ct_MANIFEST_TOOL"; then 6014 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 6015else 6016as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6017for as_dir in $PATH 6018do 6019 IFS=$as_save_IFS 6020 test -z "$as_dir" && as_dir=. 6021 for ac_exec_ext in '' $ac_executable_extensions; do 6022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6023 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 6024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6025 break 2 6026 fi 6027done 6028 done 6029IFS=$as_save_IFS 6030 6031fi 6032fi 6033ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 6034if test -n "$ac_ct_MANIFEST_TOOL"; then 6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 6036$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 6037else 6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6039$as_echo "no" >&6; } 6040fi 6041 6042 if test "x$ac_ct_MANIFEST_TOOL" = x; then 6043 MANIFEST_TOOL=":" 6044 else 6045 case $cross_compiling:$ac_tool_warned in 6046yes:) 6047{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6048$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6049ac_tool_warned=yes ;; 6050esac 6051 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 6052 fi 6053else 6054 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 6055fi 6056 6057test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 6058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 6059$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 6060if ${lt_cv_path_mainfest_tool+:} false; then : 6061 $as_echo_n "(cached) " >&6 6062else 6063 lt_cv_path_mainfest_tool=no 6064 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 6065 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 6066 cat conftest.err >&5 6067 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 6068 lt_cv_path_mainfest_tool=yes 6069 fi 6070 rm -f conftest* 6071fi 6072{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 6073$as_echo "$lt_cv_path_mainfest_tool" >&6; } 6074if test yes != "$lt_cv_path_mainfest_tool"; then 6075 MANIFEST_TOOL=: 6076fi 6077 6078 6079 6080 6081 6082 6083 case $host_os in 6084 rhapsody* | darwin*) 6085 if test -n "$ac_tool_prefix"; then 6086 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6087set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6089$as_echo_n "checking for $ac_word... " >&6; } 6090if ${ac_cv_prog_DSYMUTIL+:} false; then : 6091 $as_echo_n "(cached) " >&6 6092else 6093 if test -n "$DSYMUTIL"; then 6094 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6095else 6096as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6097for as_dir in $PATH 6098do 6099 IFS=$as_save_IFS 6100 test -z "$as_dir" && as_dir=. 6101 for ac_exec_ext in '' $ac_executable_extensions; do 6102 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6103 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6105 break 2 6106 fi 6107done 6108 done 6109IFS=$as_save_IFS 6110 6111fi 6112fi 6113DSYMUTIL=$ac_cv_prog_DSYMUTIL 6114if test -n "$DSYMUTIL"; then 6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6116$as_echo "$DSYMUTIL" >&6; } 6117else 6118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6119$as_echo "no" >&6; } 6120fi 6121 6122 6123fi 6124if test -z "$ac_cv_prog_DSYMUTIL"; then 6125 ac_ct_DSYMUTIL=$DSYMUTIL 6126 # Extract the first word of "dsymutil", so it can be a program name with args. 6127set dummy dsymutil; ac_word=$2 6128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6129$as_echo_n "checking for $ac_word... " >&6; } 6130if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 6131 $as_echo_n "(cached) " >&6 6132else 6133 if test -n "$ac_ct_DSYMUTIL"; then 6134 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6135else 6136as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6137for as_dir in $PATH 6138do 6139 IFS=$as_save_IFS 6140 test -z "$as_dir" && as_dir=. 6141 for ac_exec_ext in '' $ac_executable_extensions; do 6142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6143 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6145 break 2 6146 fi 6147done 6148 done 6149IFS=$as_save_IFS 6150 6151fi 6152fi 6153ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6154if test -n "$ac_ct_DSYMUTIL"; then 6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 6156$as_echo "$ac_ct_DSYMUTIL" >&6; } 6157else 6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6159$as_echo "no" >&6; } 6160fi 6161 6162 if test "x$ac_ct_DSYMUTIL" = x; then 6163 DSYMUTIL=":" 6164 else 6165 case $cross_compiling:$ac_tool_warned in 6166yes:) 6167{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6168$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6169ac_tool_warned=yes ;; 6170esac 6171 DSYMUTIL=$ac_ct_DSYMUTIL 6172 fi 6173else 6174 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6175fi 6176 6177 if test -n "$ac_tool_prefix"; then 6178 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6179set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6181$as_echo_n "checking for $ac_word... " >&6; } 6182if ${ac_cv_prog_NMEDIT+:} false; then : 6183 $as_echo_n "(cached) " >&6 6184else 6185 if test -n "$NMEDIT"; then 6186 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6187else 6188as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6189for as_dir in $PATH 6190do 6191 IFS=$as_save_IFS 6192 test -z "$as_dir" && as_dir=. 6193 for ac_exec_ext in '' $ac_executable_extensions; do 6194 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6195 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6197 break 2 6198 fi 6199done 6200 done 6201IFS=$as_save_IFS 6202 6203fi 6204fi 6205NMEDIT=$ac_cv_prog_NMEDIT 6206if test -n "$NMEDIT"; then 6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 6208$as_echo "$NMEDIT" >&6; } 6209else 6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6211$as_echo "no" >&6; } 6212fi 6213 6214 6215fi 6216if test -z "$ac_cv_prog_NMEDIT"; then 6217 ac_ct_NMEDIT=$NMEDIT 6218 # Extract the first word of "nmedit", so it can be a program name with args. 6219set dummy nmedit; ac_word=$2 6220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6221$as_echo_n "checking for $ac_word... " >&6; } 6222if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 6223 $as_echo_n "(cached) " >&6 6224else 6225 if test -n "$ac_ct_NMEDIT"; then 6226 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6227else 6228as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6229for as_dir in $PATH 6230do 6231 IFS=$as_save_IFS 6232 test -z "$as_dir" && as_dir=. 6233 for ac_exec_ext in '' $ac_executable_extensions; do 6234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6235 ac_cv_prog_ac_ct_NMEDIT="nmedit" 6236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6237 break 2 6238 fi 6239done 6240 done 6241IFS=$as_save_IFS 6242 6243fi 6244fi 6245ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 6246if test -n "$ac_ct_NMEDIT"; then 6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 6248$as_echo "$ac_ct_NMEDIT" >&6; } 6249else 6250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6251$as_echo "no" >&6; } 6252fi 6253 6254 if test "x$ac_ct_NMEDIT" = x; then 6255 NMEDIT=":" 6256 else 6257 case $cross_compiling:$ac_tool_warned in 6258yes:) 6259{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6260$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6261ac_tool_warned=yes ;; 6262esac 6263 NMEDIT=$ac_ct_NMEDIT 6264 fi 6265else 6266 NMEDIT="$ac_cv_prog_NMEDIT" 6267fi 6268 6269 if test -n "$ac_tool_prefix"; then 6270 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 6271set dummy ${ac_tool_prefix}lipo; ac_word=$2 6272{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6273$as_echo_n "checking for $ac_word... " >&6; } 6274if ${ac_cv_prog_LIPO+:} false; then : 6275 $as_echo_n "(cached) " >&6 6276else 6277 if test -n "$LIPO"; then 6278 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 6279else 6280as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6281for as_dir in $PATH 6282do 6283 IFS=$as_save_IFS 6284 test -z "$as_dir" && as_dir=. 6285 for ac_exec_ext in '' $ac_executable_extensions; do 6286 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6287 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 6288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6289 break 2 6290 fi 6291done 6292 done 6293IFS=$as_save_IFS 6294 6295fi 6296fi 6297LIPO=$ac_cv_prog_LIPO 6298if test -n "$LIPO"; then 6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 6300$as_echo "$LIPO" >&6; } 6301else 6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6303$as_echo "no" >&6; } 6304fi 6305 6306 6307fi 6308if test -z "$ac_cv_prog_LIPO"; then 6309 ac_ct_LIPO=$LIPO 6310 # Extract the first word of "lipo", so it can be a program name with args. 6311set dummy lipo; ac_word=$2 6312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6313$as_echo_n "checking for $ac_word... " >&6; } 6314if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 6315 $as_echo_n "(cached) " >&6 6316else 6317 if test -n "$ac_ct_LIPO"; then 6318 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 6319else 6320as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6321for as_dir in $PATH 6322do 6323 IFS=$as_save_IFS 6324 test -z "$as_dir" && as_dir=. 6325 for ac_exec_ext in '' $ac_executable_extensions; do 6326 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6327 ac_cv_prog_ac_ct_LIPO="lipo" 6328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6329 break 2 6330 fi 6331done 6332 done 6333IFS=$as_save_IFS 6334 6335fi 6336fi 6337ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 6338if test -n "$ac_ct_LIPO"; then 6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 6340$as_echo "$ac_ct_LIPO" >&6; } 6341else 6342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6343$as_echo "no" >&6; } 6344fi 6345 6346 if test "x$ac_ct_LIPO" = x; then 6347 LIPO=":" 6348 else 6349 case $cross_compiling:$ac_tool_warned in 6350yes:) 6351{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6352$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6353ac_tool_warned=yes ;; 6354esac 6355 LIPO=$ac_ct_LIPO 6356 fi 6357else 6358 LIPO="$ac_cv_prog_LIPO" 6359fi 6360 6361 if test -n "$ac_tool_prefix"; then 6362 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 6363set dummy ${ac_tool_prefix}otool; ac_word=$2 6364{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6365$as_echo_n "checking for $ac_word... " >&6; } 6366if ${ac_cv_prog_OTOOL+:} false; then : 6367 $as_echo_n "(cached) " >&6 6368else 6369 if test -n "$OTOOL"; then 6370 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 6371else 6372as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6373for as_dir in $PATH 6374do 6375 IFS=$as_save_IFS 6376 test -z "$as_dir" && as_dir=. 6377 for ac_exec_ext in '' $ac_executable_extensions; do 6378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6379 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 6380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6381 break 2 6382 fi 6383done 6384 done 6385IFS=$as_save_IFS 6386 6387fi 6388fi 6389OTOOL=$ac_cv_prog_OTOOL 6390if test -n "$OTOOL"; then 6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 6392$as_echo "$OTOOL" >&6; } 6393else 6394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6395$as_echo "no" >&6; } 6396fi 6397 6398 6399fi 6400if test -z "$ac_cv_prog_OTOOL"; then 6401 ac_ct_OTOOL=$OTOOL 6402 # Extract the first word of "otool", so it can be a program name with args. 6403set dummy otool; ac_word=$2 6404{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6405$as_echo_n "checking for $ac_word... " >&6; } 6406if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 6407 $as_echo_n "(cached) " >&6 6408else 6409 if test -n "$ac_ct_OTOOL"; then 6410 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 6411else 6412as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6413for as_dir in $PATH 6414do 6415 IFS=$as_save_IFS 6416 test -z "$as_dir" && as_dir=. 6417 for ac_exec_ext in '' $ac_executable_extensions; do 6418 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6419 ac_cv_prog_ac_ct_OTOOL="otool" 6420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6421 break 2 6422 fi 6423done 6424 done 6425IFS=$as_save_IFS 6426 6427fi 6428fi 6429ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 6430if test -n "$ac_ct_OTOOL"; then 6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 6432$as_echo "$ac_ct_OTOOL" >&6; } 6433else 6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6435$as_echo "no" >&6; } 6436fi 6437 6438 if test "x$ac_ct_OTOOL" = x; then 6439 OTOOL=":" 6440 else 6441 case $cross_compiling:$ac_tool_warned in 6442yes:) 6443{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6444$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6445ac_tool_warned=yes ;; 6446esac 6447 OTOOL=$ac_ct_OTOOL 6448 fi 6449else 6450 OTOOL="$ac_cv_prog_OTOOL" 6451fi 6452 6453 if test -n "$ac_tool_prefix"; then 6454 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 6455set dummy ${ac_tool_prefix}otool64; ac_word=$2 6456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6457$as_echo_n "checking for $ac_word... " >&6; } 6458if ${ac_cv_prog_OTOOL64+:} false; then : 6459 $as_echo_n "(cached) " >&6 6460else 6461 if test -n "$OTOOL64"; then 6462 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 6463else 6464as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6465for as_dir in $PATH 6466do 6467 IFS=$as_save_IFS 6468 test -z "$as_dir" && as_dir=. 6469 for ac_exec_ext in '' $ac_executable_extensions; do 6470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6471 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 6472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6473 break 2 6474 fi 6475done 6476 done 6477IFS=$as_save_IFS 6478 6479fi 6480fi 6481OTOOL64=$ac_cv_prog_OTOOL64 6482if test -n "$OTOOL64"; then 6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 6484$as_echo "$OTOOL64" >&6; } 6485else 6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6487$as_echo "no" >&6; } 6488fi 6489 6490 6491fi 6492if test -z "$ac_cv_prog_OTOOL64"; then 6493 ac_ct_OTOOL64=$OTOOL64 6494 # Extract the first word of "otool64", so it can be a program name with args. 6495set dummy otool64; ac_word=$2 6496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6497$as_echo_n "checking for $ac_word... " >&6; } 6498if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 6499 $as_echo_n "(cached) " >&6 6500else 6501 if test -n "$ac_ct_OTOOL64"; then 6502 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 6503else 6504as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6505for as_dir in $PATH 6506do 6507 IFS=$as_save_IFS 6508 test -z "$as_dir" && as_dir=. 6509 for ac_exec_ext in '' $ac_executable_extensions; do 6510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6511 ac_cv_prog_ac_ct_OTOOL64="otool64" 6512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6513 break 2 6514 fi 6515done 6516 done 6517IFS=$as_save_IFS 6518 6519fi 6520fi 6521ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 6522if test -n "$ac_ct_OTOOL64"; then 6523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 6524$as_echo "$ac_ct_OTOOL64" >&6; } 6525else 6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6527$as_echo "no" >&6; } 6528fi 6529 6530 if test "x$ac_ct_OTOOL64" = x; then 6531 OTOOL64=":" 6532 else 6533 case $cross_compiling:$ac_tool_warned in 6534yes:) 6535{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6536$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6537ac_tool_warned=yes ;; 6538esac 6539 OTOOL64=$ac_ct_OTOOL64 6540 fi 6541else 6542 OTOOL64="$ac_cv_prog_OTOOL64" 6543fi 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 6572$as_echo_n "checking for -single_module linker flag... " >&6; } 6573if ${lt_cv_apple_cc_single_mod+:} false; then : 6574 $as_echo_n "(cached) " >&6 6575else 6576 lt_cv_apple_cc_single_mod=no 6577 if test -z "$LT_MULTI_MODULE"; then 6578 # By default we will add the -single_module flag. You can override 6579 # by either setting the environment variable LT_MULTI_MODULE 6580 # non-empty at configure time, or by adding -multi_module to the 6581 # link flags. 6582 rm -rf libconftest.dylib* 6583 echo "int foo(void){return 1;}" > conftest.c 6584 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 6585-dynamiclib -Wl,-single_module conftest.c" >&5 6586 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 6587 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 6588 _lt_result=$? 6589 # If there is a non-empty error log, and "single_module" 6590 # appears in it, assume the flag caused a linker warning 6591 if test -s conftest.err && $GREP single_module conftest.err; then 6592 cat conftest.err >&5 6593 # Otherwise, if the output was created with a 0 exit code from 6594 # the compiler, it worked. 6595 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 6596 lt_cv_apple_cc_single_mod=yes 6597 else 6598 cat conftest.err >&5 6599 fi 6600 rm -rf libconftest.dylib* 6601 rm -f conftest.* 6602 fi 6603fi 6604{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 6605$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 6606 6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 6608$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 6609if ${lt_cv_ld_exported_symbols_list+:} false; then : 6610 $as_echo_n "(cached) " >&6 6611else 6612 lt_cv_ld_exported_symbols_list=no 6613 save_LDFLAGS=$LDFLAGS 6614 echo "_main" > conftest.sym 6615 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 6616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6617/* end confdefs.h. */ 6618 6619int 6620main () 6621{ 6622 6623 ; 6624 return 0; 6625} 6626_ACEOF 6627if ac_fn_c_try_link "$LINENO"; then : 6628 lt_cv_ld_exported_symbols_list=yes 6629else 6630 lt_cv_ld_exported_symbols_list=no 6631fi 6632rm -f core conftest.err conftest.$ac_objext \ 6633 conftest$ac_exeext conftest.$ac_ext 6634 LDFLAGS=$save_LDFLAGS 6635 6636fi 6637{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 6638$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 6639 6640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 6641$as_echo_n "checking for -force_load linker flag... " >&6; } 6642if ${lt_cv_ld_force_load+:} false; then : 6643 $as_echo_n "(cached) " >&6 6644else 6645 lt_cv_ld_force_load=no 6646 cat > conftest.c << _LT_EOF 6647int forced_loaded() { return 2;} 6648_LT_EOF 6649 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 6650 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 6651 echo "$AR cru libconftest.a conftest.o" >&5 6652 $AR cru libconftest.a conftest.o 2>&5 6653 echo "$RANLIB libconftest.a" >&5 6654 $RANLIB libconftest.a 2>&5 6655 cat > conftest.c << _LT_EOF 6656int main() { return 0;} 6657_LT_EOF 6658 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 6659 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 6660 _lt_result=$? 6661 if test -s conftest.err && $GREP force_load conftest.err; then 6662 cat conftest.err >&5 6663 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 6664 lt_cv_ld_force_load=yes 6665 else 6666 cat conftest.err >&5 6667 fi 6668 rm -f conftest.err libconftest.a conftest conftest.c 6669 rm -rf conftest.dSYM 6670 6671fi 6672{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 6673$as_echo "$lt_cv_ld_force_load" >&6; } 6674 case $host_os in 6675 rhapsody* | darwin1.[012]) 6676 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 6677 darwin1.*) 6678 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 6679 darwin*) # darwin 5.x on 6680 # if running on 10.5 or later, the deployment target defaults 6681 # to the OS version, if on x86, and 10.4, the deployment 6682 # target defaults to 10.4. Don't you love it? 6683 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 6684 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 6685 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 6686 10.[012][,.]*) 6687 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 6688 10.*) 6689 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 6690 esac 6691 ;; 6692 esac 6693 if test yes = "$lt_cv_apple_cc_single_mod"; then 6694 _lt_dar_single_mod='$single_module' 6695 fi 6696 if test yes = "$lt_cv_ld_exported_symbols_list"; then 6697 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 6698 else 6699 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 6700 fi 6701 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 6702 _lt_dsymutil='~$DSYMUTIL $lib || :' 6703 else 6704 _lt_dsymutil= 6705 fi 6706 ;; 6707 esac 6708 6709# func_munge_path_list VARIABLE PATH 6710# ----------------------------------- 6711# VARIABLE is name of variable containing _space_ separated list of 6712# directories to be munged by the contents of PATH, which is string 6713# having a format: 6714# "DIR[:DIR]:" 6715# string "DIR[ DIR]" will be prepended to VARIABLE 6716# ":DIR[:DIR]" 6717# string "DIR[ DIR]" will be appended to VARIABLE 6718# "DIRP[:DIRP]::[DIRA:]DIRA" 6719# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 6720# "DIRA[ DIRA]" will be appended to VARIABLE 6721# "DIR[:DIR]" 6722# VARIABLE will be replaced by "DIR[ DIR]" 6723func_munge_path_list () 6724{ 6725 case x$2 in 6726 x) 6727 ;; 6728 *:) 6729 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 6730 ;; 6731 x:*) 6732 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 6733 ;; 6734 *::*) 6735 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 6736 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 6737 ;; 6738 *) 6739 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 6740 ;; 6741 esac 6742} 6743 6744ac_ext=c 6745ac_cpp='$CPP $CPPFLAGS' 6746ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6747ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6748ac_compiler_gnu=$ac_cv_c_compiler_gnu 6749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 6750$as_echo_n "checking how to run the C preprocessor... " >&6; } 6751# On Suns, sometimes $CPP names a directory. 6752if test -n "$CPP" && test -d "$CPP"; then 6753 CPP= 6754fi 6755if test -z "$CPP"; then 6756 if ${ac_cv_prog_CPP+:} false; then : 6757 $as_echo_n "(cached) " >&6 6758else 6759 # Double quotes because CPP needs to be expanded 6760 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 6761 do 6762 ac_preproc_ok=false 6763for ac_c_preproc_warn_flag in '' yes 6764do 6765 # Use a header file that comes with gcc, so configuring glibc 6766 # with a fresh cross-compiler works. 6767 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6768 # <limits.h> exists even on freestanding compilers. 6769 # On the NeXT, cc -E runs the code through the compiler's parser, 6770 # not just through cpp. "Syntax error" is here to catch this case. 6771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6772/* end confdefs.h. */ 6773#ifdef __STDC__ 6774# include <limits.h> 6775#else 6776# include <assert.h> 6777#endif 6778 Syntax error 6779_ACEOF 6780if ac_fn_c_try_cpp "$LINENO"; then : 6781 6782else 6783 # Broken: fails on valid input. 6784continue 6785fi 6786rm -f conftest.err conftest.i conftest.$ac_ext 6787 6788 # OK, works on sane cases. Now check whether nonexistent headers 6789 # can be detected and how. 6790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6791/* end confdefs.h. */ 6792#include <ac_nonexistent.h> 6793_ACEOF 6794if ac_fn_c_try_cpp "$LINENO"; then : 6795 # Broken: success on invalid input. 6796continue 6797else 6798 # Passes both tests. 6799ac_preproc_ok=: 6800break 6801fi 6802rm -f conftest.err conftest.i conftest.$ac_ext 6803 6804done 6805# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6806rm -f conftest.i conftest.err conftest.$ac_ext 6807if $ac_preproc_ok; then : 6808 break 6809fi 6810 6811 done 6812 ac_cv_prog_CPP=$CPP 6813 6814fi 6815 CPP=$ac_cv_prog_CPP 6816else 6817 ac_cv_prog_CPP=$CPP 6818fi 6819{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 6820$as_echo "$CPP" >&6; } 6821ac_preproc_ok=false 6822for ac_c_preproc_warn_flag in '' yes 6823do 6824 # Use a header file that comes with gcc, so configuring glibc 6825 # with a fresh cross-compiler works. 6826 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6827 # <limits.h> exists even on freestanding compilers. 6828 # On the NeXT, cc -E runs the code through the compiler's parser, 6829 # not just through cpp. "Syntax error" is here to catch this case. 6830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6831/* end confdefs.h. */ 6832#ifdef __STDC__ 6833# include <limits.h> 6834#else 6835# include <assert.h> 6836#endif 6837 Syntax error 6838_ACEOF 6839if ac_fn_c_try_cpp "$LINENO"; then : 6840 6841else 6842 # Broken: fails on valid input. 6843continue 6844fi 6845rm -f conftest.err conftest.i conftest.$ac_ext 6846 6847 # OK, works on sane cases. Now check whether nonexistent headers 6848 # can be detected and how. 6849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6850/* end confdefs.h. */ 6851#include <ac_nonexistent.h> 6852_ACEOF 6853if ac_fn_c_try_cpp "$LINENO"; then : 6854 # Broken: success on invalid input. 6855continue 6856else 6857 # Passes both tests. 6858ac_preproc_ok=: 6859break 6860fi 6861rm -f conftest.err conftest.i conftest.$ac_ext 6862 6863done 6864# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6865rm -f conftest.i conftest.err conftest.$ac_ext 6866if $ac_preproc_ok; then : 6867 6868else 6869 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6870$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6871as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 6872See \`config.log' for more details" "$LINENO" 5; } 6873fi 6874 6875ac_ext=c 6876ac_cpp='$CPP $CPPFLAGS' 6877ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6878ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6879ac_compiler_gnu=$ac_cv_c_compiler_gnu 6880 6881 6882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 6883$as_echo_n "checking for ANSI C header files... " >&6; } 6884if ${ac_cv_header_stdc+:} false; then : 6885 $as_echo_n "(cached) " >&6 6886else 6887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6888/* end confdefs.h. */ 6889#include <stdlib.h> 6890#include <stdarg.h> 6891#include <string.h> 6892#include <float.h> 6893 6894int 6895main () 6896{ 6897 6898 ; 6899 return 0; 6900} 6901_ACEOF 6902if ac_fn_c_try_compile "$LINENO"; then : 6903 ac_cv_header_stdc=yes 6904else 6905 ac_cv_header_stdc=no 6906fi 6907rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6908 6909if test $ac_cv_header_stdc = yes; then 6910 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6912/* end confdefs.h. */ 6913#include <string.h> 6914 6915_ACEOF 6916if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6917 $EGREP "memchr" >/dev/null 2>&1; then : 6918 6919else 6920 ac_cv_header_stdc=no 6921fi 6922rm -f conftest* 6923 6924fi 6925 6926if test $ac_cv_header_stdc = yes; then 6927 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 6928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6929/* end confdefs.h. */ 6930#include <stdlib.h> 6931 6932_ACEOF 6933if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6934 $EGREP "free" >/dev/null 2>&1; then : 6935 6936else 6937 ac_cv_header_stdc=no 6938fi 6939rm -f conftest* 6940 6941fi 6942 6943if test $ac_cv_header_stdc = yes; then 6944 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 6945 if test "$cross_compiling" = yes; then : 6946 : 6947else 6948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6949/* end confdefs.h. */ 6950#include <ctype.h> 6951#include <stdlib.h> 6952#if ((' ' & 0x0FF) == 0x020) 6953# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 6954# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 6955#else 6956# define ISLOWER(c) \ 6957 (('a' <= (c) && (c) <= 'i') \ 6958 || ('j' <= (c) && (c) <= 'r') \ 6959 || ('s' <= (c) && (c) <= 'z')) 6960# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 6961#endif 6962 6963#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 6964int 6965main () 6966{ 6967 int i; 6968 for (i = 0; i < 256; i++) 6969 if (XOR (islower (i), ISLOWER (i)) 6970 || toupper (i) != TOUPPER (i)) 6971 return 2; 6972 return 0; 6973} 6974_ACEOF 6975if ac_fn_c_try_run "$LINENO"; then : 6976 6977else 6978 ac_cv_header_stdc=no 6979fi 6980rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6981 conftest.$ac_objext conftest.beam conftest.$ac_ext 6982fi 6983 6984fi 6985fi 6986{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 6987$as_echo "$ac_cv_header_stdc" >&6; } 6988if test $ac_cv_header_stdc = yes; then 6989 6990$as_echo "#define STDC_HEADERS 1" >>confdefs.h 6991 6992fi 6993 6994# On IRIX 5.3, sys/types and inttypes.h are conflicting. 6995for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 6996 inttypes.h stdint.h unistd.h 6997do : 6998 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6999ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7000" 7001if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7002 cat >>confdefs.h <<_ACEOF 7003#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7004_ACEOF 7005 7006fi 7007 7008done 7009 7010 7011for ac_header in dlfcn.h 7012do : 7013 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7014" 7015if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7016 cat >>confdefs.h <<_ACEOF 7017#define HAVE_DLFCN_H 1 7018_ACEOF 7019 7020fi 7021 7022done 7023 7024 7025 7026 7027 7028# Set options 7029# Check whether --enable-static was given. 7030if test "${enable_static+set}" = set; then : 7031 enableval=$enable_static; p=${PACKAGE-default} 7032 case $enableval in 7033 yes) enable_static=yes ;; 7034 no) enable_static=no ;; 7035 *) 7036 enable_static=no 7037 # Look at the argument we got. We use all the common list separators. 7038 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7039 for pkg in $enableval; do 7040 IFS=$lt_save_ifs 7041 if test "X$pkg" = "X$p"; then 7042 enable_static=yes 7043 fi 7044 done 7045 IFS=$lt_save_ifs 7046 ;; 7047 esac 7048else 7049 enable_static=no 7050fi 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 enable_dlopen=no 7062 7063 7064 enable_win32_dll=no 7065 7066 7067 # Check whether --enable-shared was given. 7068if test "${enable_shared+set}" = set; then : 7069 enableval=$enable_shared; p=${PACKAGE-default} 7070 case $enableval in 7071 yes) enable_shared=yes ;; 7072 no) enable_shared=no ;; 7073 *) 7074 enable_shared=no 7075 # Look at the argument we got. We use all the common list separators. 7076 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7077 for pkg in $enableval; do 7078 IFS=$lt_save_ifs 7079 if test "X$pkg" = "X$p"; then 7080 enable_shared=yes 7081 fi 7082 done 7083 IFS=$lt_save_ifs 7084 ;; 7085 esac 7086else 7087 enable_shared=yes 7088fi 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100# Check whether --with-pic was given. 7101if test "${with_pic+set}" = set; then : 7102 withval=$with_pic; lt_p=${PACKAGE-default} 7103 case $withval in 7104 yes|no) pic_mode=$withval ;; 7105 *) 7106 pic_mode=default 7107 # Look at the argument we got. We use all the common list separators. 7108 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7109 for lt_pkg in $withval; do 7110 IFS=$lt_save_ifs 7111 if test "X$lt_pkg" = "X$lt_p"; then 7112 pic_mode=yes 7113 fi 7114 done 7115 IFS=$lt_save_ifs 7116 ;; 7117 esac 7118else 7119 pic_mode=default 7120fi 7121 7122 7123 7124 7125 7126 7127 7128 7129 # Check whether --enable-fast-install was given. 7130if test "${enable_fast_install+set}" = set; then : 7131 enableval=$enable_fast_install; p=${PACKAGE-default} 7132 case $enableval in 7133 yes) enable_fast_install=yes ;; 7134 no) enable_fast_install=no ;; 7135 *) 7136 enable_fast_install=no 7137 # Look at the argument we got. We use all the common list separators. 7138 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7139 for pkg in $enableval; do 7140 IFS=$lt_save_ifs 7141 if test "X$pkg" = "X$p"; then 7142 enable_fast_install=yes 7143 fi 7144 done 7145 IFS=$lt_save_ifs 7146 ;; 7147 esac 7148else 7149 enable_fast_install=yes 7150fi 7151 7152 7153 7154 7155 7156 7157 7158 7159 shared_archive_member_spec= 7160case $host,$enable_shared in 7161power*-*-aix[5-9]*,yes) 7162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 7163$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 7164 7165# Check whether --with-aix-soname was given. 7166if test "${with_aix_soname+set}" = set; then : 7167 withval=$with_aix_soname; case $withval in 7168 aix|svr4|both) 7169 ;; 7170 *) 7171 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 7172 ;; 7173 esac 7174 lt_cv_with_aix_soname=$with_aix_soname 7175else 7176 if ${lt_cv_with_aix_soname+:} false; then : 7177 $as_echo_n "(cached) " >&6 7178else 7179 lt_cv_with_aix_soname=aix 7180fi 7181 7182 with_aix_soname=$lt_cv_with_aix_soname 7183fi 7184 7185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 7186$as_echo "$with_aix_soname" >&6; } 7187 if test aix != "$with_aix_soname"; then 7188 # For the AIX way of multilib, we name the shared archive member 7189 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 7190 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 7191 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 7192 # the AIX toolchain works better with OBJECT_MODE set (default 32). 7193 if test 64 = "${OBJECT_MODE-32}"; then 7194 shared_archive_member_spec=shr_64 7195 else 7196 shared_archive_member_spec=shr 7197 fi 7198 fi 7199 ;; 7200*) 7201 with_aix_soname=aix 7202 ;; 7203esac 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214# This can be used to rebuild libtool when needed 7215LIBTOOL_DEPS=$ltmain 7216 7217# Always use our own libtool. 7218LIBTOOL='$(SHELL) $(top_builddir)/libtool' 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249test -z "$LN_S" && LN_S="ln -s" 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264if test -n "${ZSH_VERSION+set}"; then 7265 setopt NO_GLOB_SUBST 7266fi 7267 7268{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 7269$as_echo_n "checking for objdir... " >&6; } 7270if ${lt_cv_objdir+:} false; then : 7271 $as_echo_n "(cached) " >&6 7272else 7273 rm -f .libs 2>/dev/null 7274mkdir .libs 2>/dev/null 7275if test -d .libs; then 7276 lt_cv_objdir=.libs 7277else 7278 # MS-DOS does not allow filenames that begin with a dot. 7279 lt_cv_objdir=_libs 7280fi 7281rmdir .libs 2>/dev/null 7282fi 7283{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 7284$as_echo "$lt_cv_objdir" >&6; } 7285objdir=$lt_cv_objdir 7286 7287 7288 7289 7290 7291cat >>confdefs.h <<_ACEOF 7292#define LT_OBJDIR "$lt_cv_objdir/" 7293_ACEOF 7294 7295 7296 7297 7298case $host_os in 7299aix3*) 7300 # AIX sometimes has problems with the GCC collect2 program. For some 7301 # reason, if we set the COLLECT_NAMES environment variable, the problems 7302 # vanish in a puff of smoke. 7303 if test set != "${COLLECT_NAMES+set}"; then 7304 COLLECT_NAMES= 7305 export COLLECT_NAMES 7306 fi 7307 ;; 7308esac 7309 7310# Global variables: 7311ofile=libtool 7312can_build_shared=yes 7313 7314# All known linkers require a '.a' archive for static linking (except MSVC, 7315# which needs '.lib'). 7316libext=a 7317 7318with_gnu_ld=$lt_cv_prog_gnu_ld 7319 7320old_CC=$CC 7321old_CFLAGS=$CFLAGS 7322 7323# Set sane defaults for various variables 7324test -z "$CC" && CC=cc 7325test -z "$LTCC" && LTCC=$CC 7326test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7327test -z "$LD" && LD=ld 7328test -z "$ac_objext" && ac_objext=o 7329 7330func_cc_basename $compiler 7331cc_basename=$func_cc_basename_result 7332 7333 7334# Only perform the check for file, if the check method requires it 7335test -z "$MAGIC_CMD" && MAGIC_CMD=file 7336case $deplibs_check_method in 7337file_magic*) 7338 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 7340$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 7341if ${lt_cv_path_MAGIC_CMD+:} false; then : 7342 $as_echo_n "(cached) " >&6 7343else 7344 case $MAGIC_CMD in 7345[\\/*] | ?:[\\/]*) 7346 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 7347 ;; 7348*) 7349 lt_save_MAGIC_CMD=$MAGIC_CMD 7350 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 7351 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7352 for ac_dir in $ac_dummy; do 7353 IFS=$lt_save_ifs 7354 test -z "$ac_dir" && ac_dir=. 7355 if test -f "$ac_dir/${ac_tool_prefix}file"; then 7356 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 7357 if test -n "$file_magic_test_file"; then 7358 case $deplibs_check_method in 7359 "file_magic "*) 7360 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7361 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 7362 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7363 $EGREP "$file_magic_regex" > /dev/null; then 7364 : 7365 else 7366 cat <<_LT_EOF 1>&2 7367 7368*** Warning: the command libtool uses to detect shared libraries, 7369*** $file_magic_cmd, produces output that libtool cannot recognize. 7370*** The result is that libtool may fail to recognize shared libraries 7371*** as such. This will affect the creation of libtool libraries that 7372*** depend on shared libraries, but programs linked with such libtool 7373*** libraries will work regardless of this problem. Nevertheless, you 7374*** may want to report the problem to your system manager and/or to 7375*** bug-libtool@gnu.org 7376 7377_LT_EOF 7378 fi ;; 7379 esac 7380 fi 7381 break 7382 fi 7383 done 7384 IFS=$lt_save_ifs 7385 MAGIC_CMD=$lt_save_MAGIC_CMD 7386 ;; 7387esac 7388fi 7389 7390MAGIC_CMD=$lt_cv_path_MAGIC_CMD 7391if test -n "$MAGIC_CMD"; then 7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7393$as_echo "$MAGIC_CMD" >&6; } 7394else 7395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7396$as_echo "no" >&6; } 7397fi 7398 7399 7400 7401 7402 7403if test -z "$lt_cv_path_MAGIC_CMD"; then 7404 if test -n "$ac_tool_prefix"; then 7405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 7406$as_echo_n "checking for file... " >&6; } 7407if ${lt_cv_path_MAGIC_CMD+:} false; then : 7408 $as_echo_n "(cached) " >&6 7409else 7410 case $MAGIC_CMD in 7411[\\/*] | ?:[\\/]*) 7412 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 7413 ;; 7414*) 7415 lt_save_MAGIC_CMD=$MAGIC_CMD 7416 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 7417 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7418 for ac_dir in $ac_dummy; do 7419 IFS=$lt_save_ifs 7420 test -z "$ac_dir" && ac_dir=. 7421 if test -f "$ac_dir/file"; then 7422 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 7423 if test -n "$file_magic_test_file"; then 7424 case $deplibs_check_method in 7425 "file_magic "*) 7426 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7427 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 7428 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7429 $EGREP "$file_magic_regex" > /dev/null; then 7430 : 7431 else 7432 cat <<_LT_EOF 1>&2 7433 7434*** Warning: the command libtool uses to detect shared libraries, 7435*** $file_magic_cmd, produces output that libtool cannot recognize. 7436*** The result is that libtool may fail to recognize shared libraries 7437*** as such. This will affect the creation of libtool libraries that 7438*** depend on shared libraries, but programs linked with such libtool 7439*** libraries will work regardless of this problem. Nevertheless, you 7440*** may want to report the problem to your system manager and/or to 7441*** bug-libtool@gnu.org 7442 7443_LT_EOF 7444 fi ;; 7445 esac 7446 fi 7447 break 7448 fi 7449 done 7450 IFS=$lt_save_ifs 7451 MAGIC_CMD=$lt_save_MAGIC_CMD 7452 ;; 7453esac 7454fi 7455 7456MAGIC_CMD=$lt_cv_path_MAGIC_CMD 7457if test -n "$MAGIC_CMD"; then 7458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7459$as_echo "$MAGIC_CMD" >&6; } 7460else 7461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7462$as_echo "no" >&6; } 7463fi 7464 7465 7466 else 7467 MAGIC_CMD=: 7468 fi 7469fi 7470 7471 fi 7472 ;; 7473esac 7474 7475# Use C for the default configuration in the libtool script 7476 7477lt_save_CC=$CC 7478ac_ext=c 7479ac_cpp='$CPP $CPPFLAGS' 7480ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7481ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7482ac_compiler_gnu=$ac_cv_c_compiler_gnu 7483 7484 7485# Source file extension for C test sources. 7486ac_ext=c 7487 7488# Object file extension for compiled C test sources. 7489objext=o 7490objext=$objext 7491 7492# Code to be used in simple compile tests 7493lt_simple_compile_test_code="int some_variable = 0;" 7494 7495# Code to be used in simple link tests 7496lt_simple_link_test_code='int main(){return(0);}' 7497 7498 7499 7500 7501 7502 7503 7504# If no C compiler was specified, use CC. 7505LTCC=${LTCC-"$CC"} 7506 7507# If no C compiler flags were specified, use CFLAGS. 7508LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7509 7510# Allow CC to be a program name with arguments. 7511compiler=$CC 7512 7513# Save the default compiler, since it gets overwritten when the other 7514# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 7515compiler_DEFAULT=$CC 7516 7517# save warnings/boilerplate of simple test code 7518ac_outfile=conftest.$ac_objext 7519echo "$lt_simple_compile_test_code" >conftest.$ac_ext 7520eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7521_lt_compiler_boilerplate=`cat conftest.err` 7522$RM conftest* 7523 7524ac_outfile=conftest.$ac_objext 7525echo "$lt_simple_link_test_code" >conftest.$ac_ext 7526eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7527_lt_linker_boilerplate=`cat conftest.err` 7528$RM -r conftest* 7529 7530 7531## CAVEAT EMPTOR: 7532## There is no encapsulation within the following macros, do not change 7533## the running order or otherwise move them around unless you know exactly 7534## what you are doing... 7535if test -n "$compiler"; then 7536 7537lt_prog_compiler_no_builtin_flag= 7538 7539if test yes = "$GCC"; then 7540 case $cc_basename in 7541 nvcc*) 7542 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 7543 *) 7544 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 7545 esac 7546 7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 7548$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 7549if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 7550 $as_echo_n "(cached) " >&6 7551else 7552 lt_cv_prog_compiler_rtti_exceptions=no 7553 ac_outfile=conftest.$ac_objext 7554 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7555 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 7556 # Insert the option either (1) after the last *FLAGS variable, or 7557 # (2) before a word containing "conftest.", or (3) at the end. 7558 # Note that $ac_compile itself does not contain backslashes and begins 7559 # with a dollar sign (not a hyphen), so the echo should work correctly. 7560 # The option is referenced via a variable to avoid confusing sed. 7561 lt_compile=`echo "$ac_compile" | $SED \ 7562 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7563 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7564 -e 's:$: $lt_compiler_flag:'` 7565 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 7566 (eval "$lt_compile" 2>conftest.err) 7567 ac_status=$? 7568 cat conftest.err >&5 7569 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7570 if (exit $ac_status) && test -s "$ac_outfile"; then 7571 # The compiler can only warn and ignore the option if not recognized 7572 # So say no if there are warnings other than the usual output. 7573 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 7574 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7575 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 7576 lt_cv_prog_compiler_rtti_exceptions=yes 7577 fi 7578 fi 7579 $RM conftest* 7580 7581fi 7582{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 7583$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 7584 7585if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 7586 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 7587else 7588 : 7589fi 7590 7591fi 7592 7593 7594 7595 7596 7597 7598 lt_prog_compiler_wl= 7599lt_prog_compiler_pic= 7600lt_prog_compiler_static= 7601 7602 7603 if test yes = "$GCC"; then 7604 lt_prog_compiler_wl='-Wl,' 7605 lt_prog_compiler_static='-static' 7606 7607 case $host_os in 7608 aix*) 7609 # All AIX code is PIC. 7610 if test ia64 = "$host_cpu"; then 7611 # AIX 5 now supports IA64 processor 7612 lt_prog_compiler_static='-Bstatic' 7613 fi 7614 lt_prog_compiler_pic='-fPIC' 7615 ;; 7616 7617 amigaos*) 7618 case $host_cpu in 7619 powerpc) 7620 # see comment about AmigaOS4 .so support 7621 lt_prog_compiler_pic='-fPIC' 7622 ;; 7623 m68k) 7624 # FIXME: we need at least 68020 code to build shared libraries, but 7625 # adding the '-m68020' flag to GCC prevents building anything better, 7626 # like '-m68040'. 7627 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 7628 ;; 7629 esac 7630 ;; 7631 7632 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 7633 # PIC is the default for these OSes. 7634 ;; 7635 7636 mingw* | cygwin* | pw32* | os2* | cegcc*) 7637 # This hack is so that the source file can tell whether it is being 7638 # built for inclusion in a dll (and should export symbols for example). 7639 # Although the cygwin gcc ignores -fPIC, still need this for old-style 7640 # (--disable-auto-import) libraries 7641 lt_prog_compiler_pic='-DDLL_EXPORT' 7642 case $host_os in 7643 os2*) 7644 lt_prog_compiler_static='$wl-static' 7645 ;; 7646 esac 7647 ;; 7648 7649 darwin* | rhapsody*) 7650 # PIC is the default on this platform 7651 # Common symbols not allowed in MH_DYLIB files 7652 lt_prog_compiler_pic='-fno-common' 7653 ;; 7654 7655 haiku*) 7656 # PIC is the default for Haiku. 7657 # The "-static" flag exists, but is broken. 7658 lt_prog_compiler_static= 7659 ;; 7660 7661 hpux*) 7662 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 7663 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 7664 # sets the default TLS model and affects inlining. 7665 case $host_cpu in 7666 hppa*64*) 7667 # +Z the default 7668 ;; 7669 *) 7670 lt_prog_compiler_pic='-fPIC' 7671 ;; 7672 esac 7673 ;; 7674 7675 interix[3-9]*) 7676 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 7677 # Instead, we relocate shared libraries at runtime. 7678 ;; 7679 7680 msdosdjgpp*) 7681 # Just because we use GCC doesn't mean we suddenly get shared libraries 7682 # on systems that don't support them. 7683 lt_prog_compiler_can_build_shared=no 7684 enable_shared=no 7685 ;; 7686 7687 *nto* | *qnx*) 7688 # QNX uses GNU C++, but need to define -shared option too, otherwise 7689 # it will coredump. 7690 lt_prog_compiler_pic='-fPIC -shared' 7691 ;; 7692 7693 sysv4*MP*) 7694 if test -d /usr/nec; then 7695 lt_prog_compiler_pic=-Kconform_pic 7696 fi 7697 ;; 7698 7699 *) 7700 lt_prog_compiler_pic='-fPIC' 7701 ;; 7702 esac 7703 7704 case $cc_basename in 7705 nvcc*) # Cuda Compiler Driver 2.2 7706 lt_prog_compiler_wl='-Xlinker ' 7707 if test -n "$lt_prog_compiler_pic"; then 7708 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 7709 fi 7710 ;; 7711 esac 7712 else 7713 # PORTME Check for flag to pass linker flags through the system compiler. 7714 case $host_os in 7715 aix*) 7716 lt_prog_compiler_wl='-Wl,' 7717 if test ia64 = "$host_cpu"; then 7718 # AIX 5 now supports IA64 processor 7719 lt_prog_compiler_static='-Bstatic' 7720 else 7721 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 7722 fi 7723 ;; 7724 7725 darwin* | rhapsody*) 7726 # PIC is the default on this platform 7727 # Common symbols not allowed in MH_DYLIB files 7728 lt_prog_compiler_pic='-fno-common' 7729 case $cc_basename in 7730 nagfor*) 7731 # NAG Fortran compiler 7732 lt_prog_compiler_wl='-Wl,-Wl,,' 7733 lt_prog_compiler_pic='-PIC' 7734 lt_prog_compiler_static='-Bstatic' 7735 ;; 7736 esac 7737 ;; 7738 7739 mingw* | cygwin* | pw32* | os2* | cegcc*) 7740 # This hack is so that the source file can tell whether it is being 7741 # built for inclusion in a dll (and should export symbols for example). 7742 lt_prog_compiler_pic='-DDLL_EXPORT' 7743 case $host_os in 7744 os2*) 7745 lt_prog_compiler_static='$wl-static' 7746 ;; 7747 esac 7748 ;; 7749 7750 hpux9* | hpux10* | hpux11*) 7751 lt_prog_compiler_wl='-Wl,' 7752 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 7753 # not for PA HP-UX. 7754 case $host_cpu in 7755 hppa*64*|ia64*) 7756 # +Z the default 7757 ;; 7758 *) 7759 lt_prog_compiler_pic='+Z' 7760 ;; 7761 esac 7762 # Is there a better lt_prog_compiler_static that works with the bundled CC? 7763 lt_prog_compiler_static='$wl-a ${wl}archive' 7764 ;; 7765 7766 irix5* | irix6* | nonstopux*) 7767 lt_prog_compiler_wl='-Wl,' 7768 # PIC (with -KPIC) is the default. 7769 lt_prog_compiler_static='-non_shared' 7770 ;; 7771 7772 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 7773 case $cc_basename in 7774 # old Intel for x86_64, which still supported -KPIC. 7775 ecc*) 7776 lt_prog_compiler_wl='-Wl,' 7777 lt_prog_compiler_pic='-KPIC' 7778 lt_prog_compiler_static='-static' 7779 ;; 7780 # icc used to be incompatible with GCC. 7781 # ICC 10 doesn't accept -KPIC any more. 7782 icc* | ifort*) 7783 lt_prog_compiler_wl='-Wl,' 7784 lt_prog_compiler_pic='-fPIC' 7785 lt_prog_compiler_static='-static' 7786 ;; 7787 # Lahey Fortran 8.1. 7788 lf95*) 7789 lt_prog_compiler_wl='-Wl,' 7790 lt_prog_compiler_pic='--shared' 7791 lt_prog_compiler_static='--static' 7792 ;; 7793 nagfor*) 7794 # NAG Fortran compiler 7795 lt_prog_compiler_wl='-Wl,-Wl,,' 7796 lt_prog_compiler_pic='-PIC' 7797 lt_prog_compiler_static='-Bstatic' 7798 ;; 7799 tcc*) 7800 # Fabrice Bellard et al's Tiny C Compiler 7801 lt_prog_compiler_wl='-Wl,' 7802 lt_prog_compiler_pic='-fPIC' 7803 lt_prog_compiler_static='-static' 7804 ;; 7805 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 7806 # Portland Group compilers (*not* the Pentium gcc compiler, 7807 # which looks to be a dead project) 7808 lt_prog_compiler_wl='-Wl,' 7809 lt_prog_compiler_pic='-fpic' 7810 lt_prog_compiler_static='-Bstatic' 7811 ;; 7812 ccc*) 7813 lt_prog_compiler_wl='-Wl,' 7814 # All Alpha code is PIC. 7815 lt_prog_compiler_static='-non_shared' 7816 ;; 7817 xl* | bgxl* | bgf* | mpixl*) 7818 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 7819 lt_prog_compiler_wl='-Wl,' 7820 lt_prog_compiler_pic='-qpic' 7821 lt_prog_compiler_static='-qstaticlink' 7822 ;; 7823 *) 7824 case `$CC -V 2>&1 | sed 5q` in 7825 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 7826 # Sun Fortran 8.3 passes all unrecognized flags to the linker 7827 lt_prog_compiler_pic='-KPIC' 7828 lt_prog_compiler_static='-Bstatic' 7829 lt_prog_compiler_wl='' 7830 ;; 7831 *Sun\ F* | *Sun*Fortran*) 7832 lt_prog_compiler_pic='-KPIC' 7833 lt_prog_compiler_static='-Bstatic' 7834 lt_prog_compiler_wl='-Qoption ld ' 7835 ;; 7836 *Sun\ C*) 7837 # Sun C 5.9 7838 lt_prog_compiler_pic='-KPIC' 7839 lt_prog_compiler_static='-Bstatic' 7840 lt_prog_compiler_wl='-Wl,' 7841 ;; 7842 *Intel*\ [CF]*Compiler*) 7843 lt_prog_compiler_wl='-Wl,' 7844 lt_prog_compiler_pic='-fPIC' 7845 lt_prog_compiler_static='-static' 7846 ;; 7847 *Portland\ Group*) 7848 lt_prog_compiler_wl='-Wl,' 7849 lt_prog_compiler_pic='-fpic' 7850 lt_prog_compiler_static='-Bstatic' 7851 ;; 7852 esac 7853 ;; 7854 esac 7855 ;; 7856 7857 newsos6) 7858 lt_prog_compiler_pic='-KPIC' 7859 lt_prog_compiler_static='-Bstatic' 7860 ;; 7861 7862 *nto* | *qnx*) 7863 # QNX uses GNU C++, but need to define -shared option too, otherwise 7864 # it will coredump. 7865 lt_prog_compiler_pic='-fPIC -shared' 7866 ;; 7867 7868 osf3* | osf4* | osf5*) 7869 lt_prog_compiler_wl='-Wl,' 7870 # All OSF/1 code is PIC. 7871 lt_prog_compiler_static='-non_shared' 7872 ;; 7873 7874 rdos*) 7875 lt_prog_compiler_static='-non_shared' 7876 ;; 7877 7878 solaris*) 7879 lt_prog_compiler_pic='-KPIC' 7880 lt_prog_compiler_static='-Bstatic' 7881 case $cc_basename in 7882 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 7883 lt_prog_compiler_wl='-Qoption ld ';; 7884 *) 7885 lt_prog_compiler_wl='-Wl,';; 7886 esac 7887 ;; 7888 7889 sunos4*) 7890 lt_prog_compiler_wl='-Qoption ld ' 7891 lt_prog_compiler_pic='-PIC' 7892 lt_prog_compiler_static='-Bstatic' 7893 ;; 7894 7895 sysv4 | sysv4.2uw2* | sysv4.3*) 7896 lt_prog_compiler_wl='-Wl,' 7897 lt_prog_compiler_pic='-KPIC' 7898 lt_prog_compiler_static='-Bstatic' 7899 ;; 7900 7901 sysv4*MP*) 7902 if test -d /usr/nec; then 7903 lt_prog_compiler_pic='-Kconform_pic' 7904 lt_prog_compiler_static='-Bstatic' 7905 fi 7906 ;; 7907 7908 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 7909 lt_prog_compiler_wl='-Wl,' 7910 lt_prog_compiler_pic='-KPIC' 7911 lt_prog_compiler_static='-Bstatic' 7912 ;; 7913 7914 unicos*) 7915 lt_prog_compiler_wl='-Wl,' 7916 lt_prog_compiler_can_build_shared=no 7917 ;; 7918 7919 uts4*) 7920 lt_prog_compiler_pic='-pic' 7921 lt_prog_compiler_static='-Bstatic' 7922 ;; 7923 7924 *) 7925 lt_prog_compiler_can_build_shared=no 7926 ;; 7927 esac 7928 fi 7929 7930case $host_os in 7931 # For platforms that do not support PIC, -DPIC is meaningless: 7932 *djgpp*) 7933 lt_prog_compiler_pic= 7934 ;; 7935 *) 7936 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 7937 ;; 7938esac 7939 7940{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 7941$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 7942if ${lt_cv_prog_compiler_pic+:} false; then : 7943 $as_echo_n "(cached) " >&6 7944else 7945 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 7946fi 7947{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 7948$as_echo "$lt_cv_prog_compiler_pic" >&6; } 7949lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 7950 7951# 7952# Check to make sure the PIC flag actually works. 7953# 7954if test -n "$lt_prog_compiler_pic"; then 7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 7956$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 7957if ${lt_cv_prog_compiler_pic_works+:} false; then : 7958 $as_echo_n "(cached) " >&6 7959else 7960 lt_cv_prog_compiler_pic_works=no 7961 ac_outfile=conftest.$ac_objext 7962 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7963 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 7964 # Insert the option either (1) after the last *FLAGS variable, or 7965 # (2) before a word containing "conftest.", or (3) at the end. 7966 # Note that $ac_compile itself does not contain backslashes and begins 7967 # with a dollar sign (not a hyphen), so the echo should work correctly. 7968 # The option is referenced via a variable to avoid confusing sed. 7969 lt_compile=`echo "$ac_compile" | $SED \ 7970 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7971 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7972 -e 's:$: $lt_compiler_flag:'` 7973 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 7974 (eval "$lt_compile" 2>conftest.err) 7975 ac_status=$? 7976 cat conftest.err >&5 7977 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7978 if (exit $ac_status) && test -s "$ac_outfile"; then 7979 # The compiler can only warn and ignore the option if not recognized 7980 # So say no if there are warnings other than the usual output. 7981 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 7982 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7983 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 7984 lt_cv_prog_compiler_pic_works=yes 7985 fi 7986 fi 7987 $RM conftest* 7988 7989fi 7990{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 7991$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 7992 7993if test yes = "$lt_cv_prog_compiler_pic_works"; then 7994 case $lt_prog_compiler_pic in 7995 "" | " "*) ;; 7996 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 7997 esac 7998else 7999 lt_prog_compiler_pic= 8000 lt_prog_compiler_can_build_shared=no 8001fi 8002 8003fi 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015# 8016# Check to make sure the static flag actually works. 8017# 8018wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8019{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8020$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8021if ${lt_cv_prog_compiler_static_works+:} false; then : 8022 $as_echo_n "(cached) " >&6 8023else 8024 lt_cv_prog_compiler_static_works=no 8025 save_LDFLAGS=$LDFLAGS 8026 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8027 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8028 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8029 # The linker can only warn and ignore the option if not recognized 8030 # So say no if there are warnings 8031 if test -s conftest.err; then 8032 # Append any errors to the config.log. 8033 cat conftest.err 1>&5 8034 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 8035 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8036 if diff conftest.exp conftest.er2 >/dev/null; then 8037 lt_cv_prog_compiler_static_works=yes 8038 fi 8039 else 8040 lt_cv_prog_compiler_static_works=yes 8041 fi 8042 fi 8043 $RM -r conftest* 8044 LDFLAGS=$save_LDFLAGS 8045 8046fi 8047{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8048$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8049 8050if test yes = "$lt_cv_prog_compiler_static_works"; then 8051 : 8052else 8053 lt_prog_compiler_static= 8054fi 8055 8056 8057 8058 8059 8060 8061 8062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8063$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8064if ${lt_cv_prog_compiler_c_o+:} false; then : 8065 $as_echo_n "(cached) " >&6 8066else 8067 lt_cv_prog_compiler_c_o=no 8068 $RM -r conftest 2>/dev/null 8069 mkdir conftest 8070 cd conftest 8071 mkdir out 8072 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8073 8074 lt_compiler_flag="-o out/conftest2.$ac_objext" 8075 # Insert the option either (1) after the last *FLAGS variable, or 8076 # (2) before a word containing "conftest.", or (3) at the end. 8077 # Note that $ac_compile itself does not contain backslashes and begins 8078 # with a dollar sign (not a hyphen), so the echo should work correctly. 8079 lt_compile=`echo "$ac_compile" | $SED \ 8080 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8081 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8082 -e 's:$: $lt_compiler_flag:'` 8083 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8084 (eval "$lt_compile" 2>out/conftest.err) 8085 ac_status=$? 8086 cat out/conftest.err >&5 8087 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8088 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8089 then 8090 # The compiler can only warn and ignore the option if not recognized 8091 # So say no if there are warnings 8092 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8093 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8094 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8095 lt_cv_prog_compiler_c_o=yes 8096 fi 8097 fi 8098 chmod u+w . 2>&5 8099 $RM conftest* 8100 # SGI C++ compiler will create directory out/ii_files/ for 8101 # template instantiation 8102 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8103 $RM out/* && rmdir out 8104 cd .. 8105 $RM -r conftest 8106 $RM conftest* 8107 8108fi 8109{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8110$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8111 8112 8113 8114 8115 8116 8117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8118$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8119if ${lt_cv_prog_compiler_c_o+:} false; then : 8120 $as_echo_n "(cached) " >&6 8121else 8122 lt_cv_prog_compiler_c_o=no 8123 $RM -r conftest 2>/dev/null 8124 mkdir conftest 8125 cd conftest 8126 mkdir out 8127 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8128 8129 lt_compiler_flag="-o out/conftest2.$ac_objext" 8130 # Insert the option either (1) after the last *FLAGS variable, or 8131 # (2) before a word containing "conftest.", or (3) at the end. 8132 # Note that $ac_compile itself does not contain backslashes and begins 8133 # with a dollar sign (not a hyphen), so the echo should work correctly. 8134 lt_compile=`echo "$ac_compile" | $SED \ 8135 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8136 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8137 -e 's:$: $lt_compiler_flag:'` 8138 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8139 (eval "$lt_compile" 2>out/conftest.err) 8140 ac_status=$? 8141 cat out/conftest.err >&5 8142 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8143 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8144 then 8145 # The compiler can only warn and ignore the option if not recognized 8146 # So say no if there are warnings 8147 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8148 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8149 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8150 lt_cv_prog_compiler_c_o=yes 8151 fi 8152 fi 8153 chmod u+w . 2>&5 8154 $RM conftest* 8155 # SGI C++ compiler will create directory out/ii_files/ for 8156 # template instantiation 8157 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8158 $RM out/* && rmdir out 8159 cd .. 8160 $RM -r conftest 8161 $RM conftest* 8162 8163fi 8164{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8165$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8166 8167 8168 8169 8170hard_links=nottested 8171if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 8172 # do not overwrite the value of need_locks provided by the user 8173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 8174$as_echo_n "checking if we can lock with hard links... " >&6; } 8175 hard_links=yes 8176 $RM conftest* 8177 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8178 touch conftest.a 8179 ln conftest.a conftest.b 2>&5 || hard_links=no 8180 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 8182$as_echo "$hard_links" >&6; } 8183 if test no = "$hard_links"; then 8184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 8185$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 8186 need_locks=warn 8187 fi 8188else 8189 need_locks=no 8190fi 8191 8192 8193 8194 8195 8196 8197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8198$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8199 8200 runpath_var= 8201 allow_undefined_flag= 8202 always_export_symbols=no 8203 archive_cmds= 8204 archive_expsym_cmds= 8205 compiler_needs_object=no 8206 enable_shared_with_static_runtimes=no 8207 export_dynamic_flag_spec= 8208 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8209 hardcode_automatic=no 8210 hardcode_direct=no 8211 hardcode_direct_absolute=no 8212 hardcode_libdir_flag_spec= 8213 hardcode_libdir_separator= 8214 hardcode_minus_L=no 8215 hardcode_shlibpath_var=unsupported 8216 inherit_rpath=no 8217 link_all_deplibs=unknown 8218 module_cmds= 8219 module_expsym_cmds= 8220 old_archive_from_new_cmds= 8221 old_archive_from_expsyms_cmds= 8222 thread_safe_flag_spec= 8223 whole_archive_flag_spec= 8224 # include_expsyms should be a list of space-separated symbols to be *always* 8225 # included in the symbol list 8226 include_expsyms= 8227 # exclude_expsyms can be an extended regexp of symbols to exclude 8228 # it will be wrapped by ' (' and ')$', so one must not match beginning or 8229 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 8230 # as well as any symbol that contains 'd'. 8231 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 8232 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8233 # platforms (ab)use it in PIC code, but their linkers get confused if 8234 # the symbol is explicitly referenced. Since portable code cannot 8235 # rely on this symbol name, it's probably fine to never include it in 8236 # preloaded symbol tables. 8237 # Exclude shared library initialization/finalization symbols. 8238 extract_expsyms_cmds= 8239 8240 case $host_os in 8241 cygwin* | mingw* | pw32* | cegcc*) 8242 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8243 # When not using gcc, we currently assume that we are using 8244 # Microsoft Visual C++. 8245 if test yes != "$GCC"; then 8246 with_gnu_ld=no 8247 fi 8248 ;; 8249 interix*) 8250 # we just hope/assume this is gcc and not c89 (= MSVC++) 8251 with_gnu_ld=yes 8252 ;; 8253 openbsd* | bitrig*) 8254 with_gnu_ld=no 8255 ;; 8256 esac 8257 8258 ld_shlibs=yes 8259 8260 # On some targets, GNU ld is compatible enough with the native linker 8261 # that we're better off using the native interface for both. 8262 lt_use_gnu_ld_interface=no 8263 if test yes = "$with_gnu_ld"; then 8264 case $host_os in 8265 aix*) 8266 # The AIX port of GNU ld has always aspired to compatibility 8267 # with the native linker. However, as the warning in the GNU ld 8268 # block says, versions before 2.19.5* couldn't really create working 8269 # shared libraries, regardless of the interface used. 8270 case `$LD -v 2>&1` in 8271 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 8272 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 8273 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 8274 *) 8275 lt_use_gnu_ld_interface=yes 8276 ;; 8277 esac 8278 ;; 8279 *) 8280 lt_use_gnu_ld_interface=yes 8281 ;; 8282 esac 8283 fi 8284 8285 if test yes = "$lt_use_gnu_ld_interface"; then 8286 # If archive_cmds runs LD, not CC, wlarc should be empty 8287 wlarc='$wl' 8288 8289 # Set some defaults for GNU ld with shared library support. These 8290 # are reset later if shared libraries are not supported. Putting them 8291 # here allows them to be overridden if necessary. 8292 runpath_var=LD_RUN_PATH 8293 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 8294 export_dynamic_flag_spec='$wl--export-dynamic' 8295 # ancient GNU ld didn't support --whole-archive et. al. 8296 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 8297 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 8298 else 8299 whole_archive_flag_spec= 8300 fi 8301 supports_anon_versioning=no 8302 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 8303 *GNU\ gold*) supports_anon_versioning=yes ;; 8304 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 8305 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 8306 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 8307 *\ 2.11.*) ;; # other 2.11 versions 8308 *) supports_anon_versioning=yes ;; 8309 esac 8310 8311 # See if GNU ld supports shared libraries. 8312 case $host_os in 8313 aix[3-9]*) 8314 # On AIX/PPC, the GNU linker is very broken 8315 if test ia64 != "$host_cpu"; then 8316 ld_shlibs=no 8317 cat <<_LT_EOF 1>&2 8318 8319*** Warning: the GNU linker, at least up to release 2.19, is reported 8320*** to be unable to reliably create shared libraries on AIX. 8321*** Therefore, libtool is disabling shared libraries support. If you 8322*** really care for shared libraries, you may want to install binutils 8323*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 8324*** You will then need to restart the configuration process. 8325 8326_LT_EOF 8327 fi 8328 ;; 8329 8330 amigaos*) 8331 case $host_cpu in 8332 powerpc) 8333 # see comment about AmigaOS4 .so support 8334 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 8335 archive_expsym_cmds='' 8336 ;; 8337 m68k) 8338 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)' 8339 hardcode_libdir_flag_spec='-L$libdir' 8340 hardcode_minus_L=yes 8341 ;; 8342 esac 8343 ;; 8344 8345 beos*) 8346 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8347 allow_undefined_flag=unsupported 8348 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 8349 # support --undefined. This deserves some investigation. FIXME 8350 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 8351 else 8352 ld_shlibs=no 8353 fi 8354 ;; 8355 8356 cygwin* | mingw* | pw32* | cegcc*) 8357 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 8358 # as there is no search path for DLLs. 8359 hardcode_libdir_flag_spec='-L$libdir' 8360 export_dynamic_flag_spec='$wl--export-all-symbols' 8361 allow_undefined_flag=unsupported 8362 always_export_symbols=no 8363 enable_shared_with_static_runtimes=yes 8364 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' 8365 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 8366 8367 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 8368 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8369 # If the export-symbols file already is a .def file, use it as 8370 # is; otherwise, prepend EXPORTS... 8371 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 8372 cp $export_symbols $output_objdir/$soname.def; 8373 else 8374 echo EXPORTS > $output_objdir/$soname.def; 8375 cat $export_symbols >> $output_objdir/$soname.def; 8376 fi~ 8377 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8378 else 8379 ld_shlibs=no 8380 fi 8381 ;; 8382 8383 haiku*) 8384 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 8385 link_all_deplibs=yes 8386 ;; 8387 8388 os2*) 8389 hardcode_libdir_flag_spec='-L$libdir' 8390 hardcode_minus_L=yes 8391 allow_undefined_flag=unsupported 8392 shrext_cmds=.dll 8393 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 8394 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 8395 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 8396 $ECHO EXPORTS >> $output_objdir/$libname.def~ 8397 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 8398 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 8399 emximp -o $lib $output_objdir/$libname.def' 8400 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 8401 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 8402 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 8403 $ECHO EXPORTS >> $output_objdir/$libname.def~ 8404 prefix_cmds="$SED"~ 8405 if test EXPORTS = "`$SED 1q $export_symbols`"; then 8406 prefix_cmds="$prefix_cmds -e 1d"; 8407 fi~ 8408 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 8409 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 8410 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 8411 emximp -o $lib $output_objdir/$libname.def' 8412 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 8413 enable_shared_with_static_runtimes=yes 8414 ;; 8415 8416 interix[3-9]*) 8417 hardcode_direct=no 8418 hardcode_shlibpath_var=no 8419 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 8420 export_dynamic_flag_spec='$wl-E' 8421 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 8422 # Instead, shared libraries are loaded at an image base (0x10000000 by 8423 # default) and relocated if they conflict, which is a slow very memory 8424 # consuming and fragmenting process. To avoid this, we pick a random, 8425 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 8426 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 8427 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8428 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' 8429 ;; 8430 8431 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 8432 tmp_diet=no 8433 if test linux-dietlibc = "$host_os"; then 8434 case $cc_basename in 8435 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 8436 esac 8437 fi 8438 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 8439 && test no = "$tmp_diet" 8440 then 8441 tmp_addflag=' $pic_flag' 8442 tmp_sharedflag='-shared' 8443 case $cc_basename,$host_cpu in 8444 pgcc*) # Portland Group C compiler 8445 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' 8446 tmp_addflag=' $pic_flag' 8447 ;; 8448 pgf77* | pgf90* | pgf95* | pgfortran*) 8449 # Portland Group f77 and f90 compilers 8450 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' 8451 tmp_addflag=' $pic_flag -Mnomain' ;; 8452 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 8453 tmp_addflag=' -i_dynamic' ;; 8454 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 8455 tmp_addflag=' -i_dynamic -nofor_main' ;; 8456 ifc* | ifort*) # Intel Fortran compiler 8457 tmp_addflag=' -nofor_main' ;; 8458 lf95*) # Lahey Fortran 8.1 8459 whole_archive_flag_spec= 8460 tmp_sharedflag='--shared' ;; 8461 nagfor*) # NAGFOR 5.3 8462 tmp_sharedflag='-Wl,-shared' ;; 8463 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 8464 tmp_sharedflag='-qmkshrobj' 8465 tmp_addflag= ;; 8466 nvcc*) # Cuda Compiler Driver 2.2 8467 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' 8468 compiler_needs_object=yes 8469 ;; 8470 esac 8471 case `$CC -V 2>&1 | sed 5q` in 8472 *Sun\ C*) # Sun C 5.9 8473 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' 8474 compiler_needs_object=yes 8475 tmp_sharedflag='-G' ;; 8476 *Sun\ F*) # Sun Fortran 8.3 8477 tmp_sharedflag='-G' ;; 8478 esac 8479 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 8480 8481 if test yes = "$supports_anon_versioning"; then 8482 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8483 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8484 echo "local: *; };" >> $output_objdir/$libname.ver~ 8485 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 8486 fi 8487 8488 case $cc_basename in 8489 tcc*) 8490 export_dynamic_flag_spec='-rdynamic' 8491 ;; 8492 xlf* | bgf* | bgxlf* | mpixlf*) 8493 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 8494 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 8495 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 8496 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 8497 if test yes = "$supports_anon_versioning"; then 8498 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8499 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8500 echo "local: *; };" >> $output_objdir/$libname.ver~ 8501 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 8502 fi 8503 ;; 8504 esac 8505 else 8506 ld_shlibs=no 8507 fi 8508 ;; 8509 8510 netbsd*) 8511 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 8512 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 8513 wlarc= 8514 else 8515 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 8516 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 8517 fi 8518 ;; 8519 8520 solaris*) 8521 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 8522 ld_shlibs=no 8523 cat <<_LT_EOF 1>&2 8524 8525*** Warning: The releases 2.8.* of the GNU linker cannot reliably 8526*** create shared libraries on Solaris systems. Therefore, libtool 8527*** is disabling shared libraries support. We urge you to upgrade GNU 8528*** binutils to release 2.9.1 or newer. Another option is to modify 8529*** your PATH or compiler configuration so that the native linker is 8530*** used, and then restart. 8531 8532_LT_EOF 8533 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8534 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 8535 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 8536 else 8537 ld_shlibs=no 8538 fi 8539 ;; 8540 8541 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 8542 case `$LD -v 2>&1` in 8543 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 8544 ld_shlibs=no 8545 cat <<_LT_EOF 1>&2 8546 8547*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 8548*** reliably create shared libraries on SCO systems. Therefore, libtool 8549*** is disabling shared libraries support. We urge you to upgrade GNU 8550*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 8551*** your PATH or compiler configuration so that the native linker is 8552*** used, and then restart. 8553 8554_LT_EOF 8555 ;; 8556 *) 8557 # For security reasons, it is highly recommended that you always 8558 # use absolute paths for naming shared libraries, and exclude the 8559 # DT_RUNPATH tag from executables and libraries. But doing so 8560 # requires that you compile everything twice, which is a pain. 8561 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8562 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 8563 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 8564 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 8565 else 8566 ld_shlibs=no 8567 fi 8568 ;; 8569 esac 8570 ;; 8571 8572 sunos4*) 8573 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8574 wlarc= 8575 hardcode_direct=yes 8576 hardcode_shlibpath_var=no 8577 ;; 8578 8579 *) 8580 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8581 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 8582 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 8583 else 8584 ld_shlibs=no 8585 fi 8586 ;; 8587 esac 8588 8589 if test no = "$ld_shlibs"; then 8590 runpath_var= 8591 hardcode_libdir_flag_spec= 8592 export_dynamic_flag_spec= 8593 whole_archive_flag_spec= 8594 fi 8595 else 8596 # PORTME fill in a description of your system's linker (not GNU ld) 8597 case $host_os in 8598 aix3*) 8599 allow_undefined_flag=unsupported 8600 always_export_symbols=yes 8601 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' 8602 # Note: this linker hardcodes the directories in LIBPATH if there 8603 # are no directories specified by -L. 8604 hardcode_minus_L=yes 8605 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 8606 # Neither direct hardcoding nor static linking is supported with a 8607 # broken collect2. 8608 hardcode_direct=unsupported 8609 fi 8610 ;; 8611 8612 aix[4-9]*) 8613 if test ia64 = "$host_cpu"; then 8614 # On IA64, the linker does run time linking by default, so we don't 8615 # have to do anything special. 8616 aix_use_runtimelinking=no 8617 exp_sym_flag='-Bexport' 8618 no_entry_flag= 8619 else 8620 # If we're using GNU nm, then we don't want the "-C" option. 8621 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 8622 # Without the "-l" option, or with the "-B" option, AIX nm treats 8623 # weak defined symbols like other global defined symbols, whereas 8624 # GNU nm marks them as "W". 8625 # While the 'weak' keyword is ignored in the Export File, we need 8626 # it in the Import File for the 'aix-soname' feature, so we have 8627 # to replace the "-B" option with "-P" for AIX nm. 8628 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 8629 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' 8630 else 8631 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' 8632 fi 8633 aix_use_runtimelinking=no 8634 8635 # Test if we are trying to use run time linking or normal 8636 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 8637 # have runtime linking enabled, and use it for executables. 8638 # For shared libraries, we enable/disable runtime linking 8639 # depending on the kind of the shared library created - 8640 # when "with_aix_soname,aix_use_runtimelinking" is: 8641 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 8642 # "aix,yes" lib.so shared, rtl:yes, for executables 8643 # lib.a static archive 8644 # "both,no" lib.so.V(shr.o) shared, rtl:yes 8645 # lib.a(lib.so.V) shared, rtl:no, for executables 8646 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 8647 # lib.a(lib.so.V) shared, rtl:no 8648 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 8649 # lib.a static archive 8650 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 8651 for ld_flag in $LDFLAGS; do 8652 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 8653 aix_use_runtimelinking=yes 8654 break 8655 fi 8656 done 8657 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 8658 # With aix-soname=svr4, we create the lib.so.V shared archives only, 8659 # so we don't have lib.a shared libs to link our executables. 8660 # We have to force runtime linking in this case. 8661 aix_use_runtimelinking=yes 8662 LDFLAGS="$LDFLAGS -Wl,-brtl" 8663 fi 8664 ;; 8665 esac 8666 8667 exp_sym_flag='-bexport' 8668 no_entry_flag='-bnoentry' 8669 fi 8670 8671 # When large executables or shared objects are built, AIX ld can 8672 # have problems creating the table of contents. If linking a library 8673 # or program results in "error TOC overflow" add -mminimal-toc to 8674 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 8675 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 8676 8677 archive_cmds='' 8678 hardcode_direct=yes 8679 hardcode_direct_absolute=yes 8680 hardcode_libdir_separator=':' 8681 link_all_deplibs=yes 8682 file_list_spec='$wl-f,' 8683 case $with_aix_soname,$aix_use_runtimelinking in 8684 aix,*) ;; # traditional, no import file 8685 svr4,* | *,yes) # use import file 8686 # The Import File defines what to hardcode. 8687 hardcode_direct=no 8688 hardcode_direct_absolute=no 8689 ;; 8690 esac 8691 8692 if test yes = "$GCC"; then 8693 case $host_os in aix4.[012]|aix4.[012].*) 8694 # We only want to do this on AIX 4.2 and lower, the check 8695 # below for broken collect2 doesn't work under 4.3+ 8696 collect2name=`$CC -print-prog-name=collect2` 8697 if test -f "$collect2name" && 8698 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 8699 then 8700 # We have reworked collect2 8701 : 8702 else 8703 # We have old collect2 8704 hardcode_direct=unsupported 8705 # It fails to find uninstalled libraries when the uninstalled 8706 # path is not listed in the libpath. Setting hardcode_minus_L 8707 # to unsupported forces relinking 8708 hardcode_minus_L=yes 8709 hardcode_libdir_flag_spec='-L$libdir' 8710 hardcode_libdir_separator= 8711 fi 8712 ;; 8713 esac 8714 shared_flag='-shared' 8715 if test yes = "$aix_use_runtimelinking"; then 8716 shared_flag="$shared_flag "'$wl-G' 8717 fi 8718 # Need to ensure runtime linking is disabled for the traditional 8719 # shared library, or the linker may eventually find shared libraries 8720 # /with/ Import File - we do not want to mix them. 8721 shared_flag_aix='-shared' 8722 shared_flag_svr4='-shared $wl-G' 8723 else 8724 # not using gcc 8725 if test ia64 = "$host_cpu"; then 8726 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 8727 # chokes on -Wl,-G. The following line is correct: 8728 shared_flag='-G' 8729 else 8730 if test yes = "$aix_use_runtimelinking"; then 8731 shared_flag='$wl-G' 8732 else 8733 shared_flag='$wl-bM:SRE' 8734 fi 8735 shared_flag_aix='$wl-bM:SRE' 8736 shared_flag_svr4='$wl-G' 8737 fi 8738 fi 8739 8740 export_dynamic_flag_spec='$wl-bexpall' 8741 # It seems that -bexpall does not export symbols beginning with 8742 # underscore (_), so it is better to generate a list of symbols to export. 8743 always_export_symbols=yes 8744 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 8745 # Warning - without using the other runtime loading flags (-brtl), 8746 # -berok will link without error, but may produce a broken library. 8747 allow_undefined_flag='-berok' 8748 # Determine the default libpath from the value encoded in an 8749 # empty executable. 8750 if test set = "${lt_cv_aix_libpath+set}"; then 8751 aix_libpath=$lt_cv_aix_libpath 8752else 8753 if ${lt_cv_aix_libpath_+:} false; then : 8754 $as_echo_n "(cached) " >&6 8755else 8756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8757/* end confdefs.h. */ 8758 8759int 8760main () 8761{ 8762 8763 ; 8764 return 0; 8765} 8766_ACEOF 8767if ac_fn_c_try_link "$LINENO"; then : 8768 8769 lt_aix_libpath_sed=' 8770 /Import File Strings/,/^$/ { 8771 /^0/ { 8772 s/^0 *\([^ ]*\) *$/\1/ 8773 p 8774 } 8775 }' 8776 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8777 # Check for a 64-bit object if we didn't find anything. 8778 if test -z "$lt_cv_aix_libpath_"; then 8779 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8780 fi 8781fi 8782rm -f core conftest.err conftest.$ac_objext \ 8783 conftest$ac_exeext conftest.$ac_ext 8784 if test -z "$lt_cv_aix_libpath_"; then 8785 lt_cv_aix_libpath_=/usr/lib:/lib 8786 fi 8787 8788fi 8789 8790 aix_libpath=$lt_cv_aix_libpath_ 8791fi 8792 8793 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 8794 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 8795 else 8796 if test ia64 = "$host_cpu"; then 8797 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 8798 allow_undefined_flag="-z nodefs" 8799 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" 8800 else 8801 # Determine the default libpath from the value encoded in an 8802 # empty executable. 8803 if test set = "${lt_cv_aix_libpath+set}"; then 8804 aix_libpath=$lt_cv_aix_libpath 8805else 8806 if ${lt_cv_aix_libpath_+:} false; then : 8807 $as_echo_n "(cached) " >&6 8808else 8809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8810/* end confdefs.h. */ 8811 8812int 8813main () 8814{ 8815 8816 ; 8817 return 0; 8818} 8819_ACEOF 8820if ac_fn_c_try_link "$LINENO"; then : 8821 8822 lt_aix_libpath_sed=' 8823 /Import File Strings/,/^$/ { 8824 /^0/ { 8825 s/^0 *\([^ ]*\) *$/\1/ 8826 p 8827 } 8828 }' 8829 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8830 # Check for a 64-bit object if we didn't find anything. 8831 if test -z "$lt_cv_aix_libpath_"; then 8832 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8833 fi 8834fi 8835rm -f core conftest.err conftest.$ac_objext \ 8836 conftest$ac_exeext conftest.$ac_ext 8837 if test -z "$lt_cv_aix_libpath_"; then 8838 lt_cv_aix_libpath_=/usr/lib:/lib 8839 fi 8840 8841fi 8842 8843 aix_libpath=$lt_cv_aix_libpath_ 8844fi 8845 8846 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 8847 # Warning - without using the other run time loading flags, 8848 # -berok will link without error, but may produce a broken library. 8849 no_undefined_flag=' $wl-bernotok' 8850 allow_undefined_flag=' $wl-berok' 8851 if test yes = "$with_gnu_ld"; then 8852 # We only use this code for GNU lds that support --whole-archive. 8853 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 8854 else 8855 # Exported symbols can be pulled into shared objects from archives 8856 whole_archive_flag_spec='$convenience' 8857 fi 8858 archive_cmds_need_lc=yes 8859 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 8860 # -brtl affects multiple linker settings, -berok does not and is overridden later 8861 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 8862 if test svr4 != "$with_aix_soname"; then 8863 # This is similar to how AIX traditionally builds its shared libraries. 8864 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' 8865 fi 8866 if test aix != "$with_aix_soname"; then 8867 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' 8868 else 8869 # used by -dlpreopen to get the symbols 8870 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 8871 fi 8872 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 8873 fi 8874 fi 8875 ;; 8876 8877 amigaos*) 8878 case $host_cpu in 8879 powerpc) 8880 # see comment about AmigaOS4 .so support 8881 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 8882 archive_expsym_cmds='' 8883 ;; 8884 m68k) 8885 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)' 8886 hardcode_libdir_flag_spec='-L$libdir' 8887 hardcode_minus_L=yes 8888 ;; 8889 esac 8890 ;; 8891 8892 bsdi[45]*) 8893 export_dynamic_flag_spec=-rdynamic 8894 ;; 8895 8896 cygwin* | mingw* | pw32* | cegcc*) 8897 # When not using gcc, we currently assume that we are using 8898 # Microsoft Visual C++. 8899 # hardcode_libdir_flag_spec is actually meaningless, as there is 8900 # no search path for DLLs. 8901 case $cc_basename in 8902 cl*) 8903 # Native MSVC 8904 hardcode_libdir_flag_spec=' ' 8905 allow_undefined_flag=unsupported 8906 always_export_symbols=yes 8907 file_list_spec='@' 8908 # Tell ltmain to make .lib files, not .a files. 8909 libext=lib 8910 # Tell ltmain to make .dll files, not .so files. 8911 shrext_cmds=.dll 8912 # FIXME: Setting linknames here is a bad hack. 8913 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 8914 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 8915 cp "$export_symbols" "$output_objdir/$soname.def"; 8916 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 8917 else 8918 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 8919 fi~ 8920 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 8921 linknames=' 8922 # The linker will not automatically build a static lib if we build a DLL. 8923 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 8924 enable_shared_with_static_runtimes=yes 8925 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 8926 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 8927 # Don't use ranlib 8928 old_postinstall_cmds='chmod 644 $oldlib' 8929 postlink_cmds='lt_outputfile="@OUTPUT@"~ 8930 lt_tool_outputfile="@TOOL_OUTPUT@"~ 8931 case $lt_outputfile in 8932 *.exe|*.EXE) ;; 8933 *) 8934 lt_outputfile=$lt_outputfile.exe 8935 lt_tool_outputfile=$lt_tool_outputfile.exe 8936 ;; 8937 esac~ 8938 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 8939 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 8940 $RM "$lt_outputfile.manifest"; 8941 fi' 8942 ;; 8943 *) 8944 # Assume MSVC wrapper 8945 hardcode_libdir_flag_spec=' ' 8946 allow_undefined_flag=unsupported 8947 # Tell ltmain to make .lib files, not .a files. 8948 libext=lib 8949 # Tell ltmain to make .dll files, not .so files. 8950 shrext_cmds=.dll 8951 # FIXME: Setting linknames here is a bad hack. 8952 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 8953 # The linker will automatically build a .lib file if we build a DLL. 8954 old_archive_from_new_cmds='true' 8955 # FIXME: Should let the user specify the lib program. 8956 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 8957 enable_shared_with_static_runtimes=yes 8958 ;; 8959 esac 8960 ;; 8961 8962 darwin* | rhapsody*) 8963 8964 8965 archive_cmds_need_lc=no 8966 hardcode_direct=no 8967 hardcode_automatic=yes 8968 hardcode_shlibpath_var=unsupported 8969 if test yes = "$lt_cv_ld_force_load"; then 8970 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\"`' 8971 8972 else 8973 whole_archive_flag_spec='' 8974 fi 8975 link_all_deplibs=yes 8976 allow_undefined_flag=$_lt_dar_allow_undefined 8977 case $cc_basename in 8978 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 8979 *) _lt_dar_can_shared=$GCC ;; 8980 esac 8981 if test yes = "$_lt_dar_can_shared"; then 8982 output_verbose_link_cmd=func_echo_all 8983 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 8984 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 8985 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" 8986 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" 8987 8988 else 8989 ld_shlibs=no 8990 fi 8991 8992 ;; 8993 8994 dgux*) 8995 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8996 hardcode_libdir_flag_spec='-L$libdir' 8997 hardcode_shlibpath_var=no 8998 ;; 8999 9000 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9001 # support. Future versions do this automatically, but an explicit c++rt0.o 9002 # does not break anything, and helps significantly (at the cost of a little 9003 # extra space). 9004 freebsd2.2*) 9005 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9006 hardcode_libdir_flag_spec='-R$libdir' 9007 hardcode_direct=yes 9008 hardcode_shlibpath_var=no 9009 ;; 9010 9011 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9012 freebsd2.*) 9013 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9014 hardcode_direct=yes 9015 hardcode_minus_L=yes 9016 hardcode_shlibpath_var=no 9017 ;; 9018 9019 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9020 freebsd* | dragonfly*) 9021 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9022 hardcode_libdir_flag_spec='-R$libdir' 9023 hardcode_direct=yes 9024 hardcode_shlibpath_var=no 9025 ;; 9026 9027 hpux9*) 9028 if test yes = "$GCC"; then 9029 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' 9030 else 9031 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' 9032 fi 9033 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9034 hardcode_libdir_separator=: 9035 hardcode_direct=yes 9036 9037 # hardcode_minus_L: Not really in the search PATH, 9038 # but as the default location of the library. 9039 hardcode_minus_L=yes 9040 export_dynamic_flag_spec='$wl-E' 9041 ;; 9042 9043 hpux10*) 9044 if test yes,no = "$GCC,$with_gnu_ld"; then 9045 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9046 else 9047 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9048 fi 9049 if test no = "$with_gnu_ld"; then 9050 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9051 hardcode_libdir_separator=: 9052 hardcode_direct=yes 9053 hardcode_direct_absolute=yes 9054 export_dynamic_flag_spec='$wl-E' 9055 # hardcode_minus_L: Not really in the search PATH, 9056 # but as the default location of the library. 9057 hardcode_minus_L=yes 9058 fi 9059 ;; 9060 9061 hpux11*) 9062 if test yes,no = "$GCC,$with_gnu_ld"; then 9063 case $host_cpu in 9064 hppa*64*) 9065 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 9066 ;; 9067 ia64*) 9068 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9069 ;; 9070 *) 9071 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9072 ;; 9073 esac 9074 else 9075 case $host_cpu in 9076 hppa*64*) 9077 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 9078 ;; 9079 ia64*) 9080 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9081 ;; 9082 *) 9083 9084 # Older versions of the 11.00 compiler do not understand -b yet 9085 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9087$as_echo_n "checking if $CC understands -b... " >&6; } 9088if ${lt_cv_prog_compiler__b+:} false; then : 9089 $as_echo_n "(cached) " >&6 9090else 9091 lt_cv_prog_compiler__b=no 9092 save_LDFLAGS=$LDFLAGS 9093 LDFLAGS="$LDFLAGS -b" 9094 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9095 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9096 # The linker can only warn and ignore the option if not recognized 9097 # So say no if there are warnings 9098 if test -s conftest.err; then 9099 # Append any errors to the config.log. 9100 cat conftest.err 1>&5 9101 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9102 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9103 if diff conftest.exp conftest.er2 >/dev/null; then 9104 lt_cv_prog_compiler__b=yes 9105 fi 9106 else 9107 lt_cv_prog_compiler__b=yes 9108 fi 9109 fi 9110 $RM -r conftest* 9111 LDFLAGS=$save_LDFLAGS 9112 9113fi 9114{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9115$as_echo "$lt_cv_prog_compiler__b" >&6; } 9116 9117if test yes = "$lt_cv_prog_compiler__b"; then 9118 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9119else 9120 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9121fi 9122 9123 ;; 9124 esac 9125 fi 9126 if test no = "$with_gnu_ld"; then 9127 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9128 hardcode_libdir_separator=: 9129 9130 case $host_cpu in 9131 hppa*64*|ia64*) 9132 hardcode_direct=no 9133 hardcode_shlibpath_var=no 9134 ;; 9135 *) 9136 hardcode_direct=yes 9137 hardcode_direct_absolute=yes 9138 export_dynamic_flag_spec='$wl-E' 9139 9140 # hardcode_minus_L: Not really in the search PATH, 9141 # but as the default location of the library. 9142 hardcode_minus_L=yes 9143 ;; 9144 esac 9145 fi 9146 ;; 9147 9148 irix5* | irix6* | nonstopux*) 9149 if test yes = "$GCC"; then 9150 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' 9151 # Try to use the -exported_symbol ld option, if it does not 9152 # work, assume that -exports_file does not work either and 9153 # implicitly export all symbols. 9154 # This should be the same for all languages, so no per-tag cache variable. 9155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 9156$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 9157if ${lt_cv_irix_exported_symbol+:} false; then : 9158 $as_echo_n "(cached) " >&6 9159else 9160 save_LDFLAGS=$LDFLAGS 9161 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 9162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9163/* end confdefs.h. */ 9164int foo (void) { return 0; } 9165_ACEOF 9166if ac_fn_c_try_link "$LINENO"; then : 9167 lt_cv_irix_exported_symbol=yes 9168else 9169 lt_cv_irix_exported_symbol=no 9170fi 9171rm -f core conftest.err conftest.$ac_objext \ 9172 conftest$ac_exeext conftest.$ac_ext 9173 LDFLAGS=$save_LDFLAGS 9174fi 9175{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 9176$as_echo "$lt_cv_irix_exported_symbol" >&6; } 9177 if test yes = "$lt_cv_irix_exported_symbol"; then 9178 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' 9179 fi 9180 else 9181 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' 9182 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' 9183 fi 9184 archive_cmds_need_lc='no' 9185 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9186 hardcode_libdir_separator=: 9187 inherit_rpath=yes 9188 link_all_deplibs=yes 9189 ;; 9190 9191 linux*) 9192 case $cc_basename in 9193 tcc*) 9194 # Fabrice Bellard et al's Tiny C Compiler 9195 ld_shlibs=yes 9196 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9197 ;; 9198 esac 9199 ;; 9200 9201 netbsd*) 9202 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9203 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9204 else 9205 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9206 fi 9207 hardcode_libdir_flag_spec='-R$libdir' 9208 hardcode_direct=yes 9209 hardcode_shlibpath_var=no 9210 ;; 9211 9212 newsos6) 9213 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9214 hardcode_direct=yes 9215 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9216 hardcode_libdir_separator=: 9217 hardcode_shlibpath_var=no 9218 ;; 9219 9220 *nto* | *qnx*) 9221 ;; 9222 9223 openbsd* | bitrig*) 9224 if test -f /usr/libexec/ld.so; then 9225 hardcode_direct=yes 9226 hardcode_shlibpath_var=no 9227 hardcode_direct_absolute=yes 9228 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 9229 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9230 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 9231 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9232 export_dynamic_flag_spec='$wl-E' 9233 else 9234 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9235 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9236 fi 9237 else 9238 ld_shlibs=no 9239 fi 9240 ;; 9241 9242 os2*) 9243 hardcode_libdir_flag_spec='-L$libdir' 9244 hardcode_minus_L=yes 9245 allow_undefined_flag=unsupported 9246 shrext_cmds=.dll 9247 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9248 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9249 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9250 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9251 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 9252 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9253 emximp -o $lib $output_objdir/$libname.def' 9254 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9255 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9256 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9257 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9258 prefix_cmds="$SED"~ 9259 if test EXPORTS = "`$SED 1q $export_symbols`"; then 9260 prefix_cmds="$prefix_cmds -e 1d"; 9261 fi~ 9262 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 9263 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 9264 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9265 emximp -o $lib $output_objdir/$libname.def' 9266 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 9267 enable_shared_with_static_runtimes=yes 9268 ;; 9269 9270 osf3*) 9271 if test yes = "$GCC"; then 9272 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 9273 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' 9274 else 9275 allow_undefined_flag=' -expect_unresolved \*' 9276 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' 9277 fi 9278 archive_cmds_need_lc='no' 9279 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9280 hardcode_libdir_separator=: 9281 ;; 9282 9283 osf4* | osf5*) # as osf3* with the addition of -msym flag 9284 if test yes = "$GCC"; then 9285 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 9286 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' 9287 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9288 else 9289 allow_undefined_flag=' -expect_unresolved \*' 9290 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' 9291 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~ 9292 $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' 9293 9294 # Both c and cxx compiler support -rpath directly 9295 hardcode_libdir_flag_spec='-rpath $libdir' 9296 fi 9297 archive_cmds_need_lc='no' 9298 hardcode_libdir_separator=: 9299 ;; 9300 9301 solaris*) 9302 no_undefined_flag=' -z defs' 9303 if test yes = "$GCC"; then 9304 wlarc='$wl' 9305 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 9306 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9307 $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' 9308 else 9309 case `$CC -V 2>&1` in 9310 *"Compilers 5.0"*) 9311 wlarc='' 9312 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 9313 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9314 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 9315 ;; 9316 *) 9317 wlarc='$wl' 9318 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 9319 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9320 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9321 ;; 9322 esac 9323 fi 9324 hardcode_libdir_flag_spec='-R$libdir' 9325 hardcode_shlibpath_var=no 9326 case $host_os in 9327 solaris2.[0-5] | solaris2.[0-5].*) ;; 9328 *) 9329 # The compiler driver will combine and reorder linker options, 9330 # but understands '-z linker_flag'. GCC discards it without '$wl', 9331 # but is careful enough not to reorder. 9332 # Supported since Solaris 2.6 (maybe 2.5.1?) 9333 if test yes = "$GCC"; then 9334 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 9335 else 9336 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 9337 fi 9338 ;; 9339 esac 9340 link_all_deplibs=yes 9341 ;; 9342 9343 sunos4*) 9344 if test sequent = "$host_vendor"; then 9345 # Use $CC to link under sequent, because it throws in some extra .o 9346 # files that make .init and .fini sections work. 9347 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 9348 else 9349 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 9350 fi 9351 hardcode_libdir_flag_spec='-L$libdir' 9352 hardcode_direct=yes 9353 hardcode_minus_L=yes 9354 hardcode_shlibpath_var=no 9355 ;; 9356 9357 sysv4) 9358 case $host_vendor in 9359 sni) 9360 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9361 hardcode_direct=yes # is this really true??? 9362 ;; 9363 siemens) 9364 ## LD is ld it makes a PLAMLIB 9365 ## CC just makes a GrossModule. 9366 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 9367 reload_cmds='$CC -r -o $output$reload_objs' 9368 hardcode_direct=no 9369 ;; 9370 motorola) 9371 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9372 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 9373 ;; 9374 esac 9375 runpath_var='LD_RUN_PATH' 9376 hardcode_shlibpath_var=no 9377 ;; 9378 9379 sysv4.3*) 9380 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9381 hardcode_shlibpath_var=no 9382 export_dynamic_flag_spec='-Bexport' 9383 ;; 9384 9385 sysv4*MP*) 9386 if test -d /usr/nec; then 9387 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9388 hardcode_shlibpath_var=no 9389 runpath_var=LD_RUN_PATH 9390 hardcode_runpath_var=yes 9391 ld_shlibs=yes 9392 fi 9393 ;; 9394 9395 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 9396 no_undefined_flag='$wl-z,text' 9397 archive_cmds_need_lc=no 9398 hardcode_shlibpath_var=no 9399 runpath_var='LD_RUN_PATH' 9400 9401 if test yes = "$GCC"; then 9402 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9403 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9404 else 9405 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9406 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9407 fi 9408 ;; 9409 9410 sysv5* | sco3.2v5* | sco5v6*) 9411 # Note: We CANNOT use -z defs as we might desire, because we do not 9412 # link with -lc, and that would cause any symbols used from libc to 9413 # always be unresolved, which means just about no library would 9414 # ever link correctly. If we're not using GNU ld we use -z text 9415 # though, which does catch some bad symbols but isn't as heavy-handed 9416 # as -z defs. 9417 no_undefined_flag='$wl-z,text' 9418 allow_undefined_flag='$wl-z,nodefs' 9419 archive_cmds_need_lc=no 9420 hardcode_shlibpath_var=no 9421 hardcode_libdir_flag_spec='$wl-R,$libdir' 9422 hardcode_libdir_separator=':' 9423 link_all_deplibs=yes 9424 export_dynamic_flag_spec='$wl-Bexport' 9425 runpath_var='LD_RUN_PATH' 9426 9427 if test yes = "$GCC"; then 9428 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9429 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9430 else 9431 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9432 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9433 fi 9434 ;; 9435 9436 uts4*) 9437 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9438 hardcode_libdir_flag_spec='-L$libdir' 9439 hardcode_shlibpath_var=no 9440 ;; 9441 9442 *) 9443 ld_shlibs=no 9444 ;; 9445 esac 9446 9447 if test sni = "$host_vendor"; then 9448 case $host in 9449 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 9450 export_dynamic_flag_spec='$wl-Blargedynsym' 9451 ;; 9452 esac 9453 fi 9454 fi 9455 9456{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 9457$as_echo "$ld_shlibs" >&6; } 9458test no = "$ld_shlibs" && can_build_shared=no 9459 9460with_gnu_ld=$with_gnu_ld 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476# 9477# Do we need to explicitly link libc? 9478# 9479case "x$archive_cmds_need_lc" in 9480x|xyes) 9481 # Assume -lc should be added 9482 archive_cmds_need_lc=yes 9483 9484 if test yes,yes = "$GCC,$enable_shared"; then 9485 case $archive_cmds in 9486 *'~'*) 9487 # FIXME: we may have to deal with multi-command sequences. 9488 ;; 9489 '$CC '*) 9490 # Test whether the compiler implicitly links with -lc since on some 9491 # systems, -lgcc has to come before -lc. If gcc already passes -lc 9492 # to ld, don't add -lc before -lgcc. 9493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 9494$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 9495if ${lt_cv_archive_cmds_need_lc+:} false; then : 9496 $as_echo_n "(cached) " >&6 9497else 9498 $RM conftest* 9499 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9500 9501 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9502 (eval $ac_compile) 2>&5 9503 ac_status=$? 9504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9505 test $ac_status = 0; } 2>conftest.err; then 9506 soname=conftest 9507 lib=conftest 9508 libobjs=conftest.$ac_objext 9509 deplibs= 9510 wl=$lt_prog_compiler_wl 9511 pic_flag=$lt_prog_compiler_pic 9512 compiler_flags=-v 9513 linker_flags=-v 9514 verstring= 9515 output_objdir=. 9516 libname=conftest 9517 lt_save_allow_undefined_flag=$allow_undefined_flag 9518 allow_undefined_flag= 9519 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 9520 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 9521 ac_status=$? 9522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9523 test $ac_status = 0; } 9524 then 9525 lt_cv_archive_cmds_need_lc=no 9526 else 9527 lt_cv_archive_cmds_need_lc=yes 9528 fi 9529 allow_undefined_flag=$lt_save_allow_undefined_flag 9530 else 9531 cat conftest.err 1>&5 9532 fi 9533 $RM conftest* 9534 9535fi 9536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 9537$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 9538 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 9539 ;; 9540 esac 9541 fi 9542 ;; 9543esac 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 9697$as_echo_n "checking dynamic linker characteristics... " >&6; } 9698 9699if test yes = "$GCC"; then 9700 case $host_os in 9701 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 9702 *) lt_awk_arg='/^libraries:/' ;; 9703 esac 9704 case $host_os in 9705 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 9706 *) lt_sed_strip_eq='s|=/|/|g' ;; 9707 esac 9708 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 9709 case $lt_search_path_spec in 9710 *\;*) 9711 # if the path contains ";" then we assume it to be the separator 9712 # otherwise default to the standard path separator (i.e. ":") - it is 9713 # assumed that no part of a normal pathname contains ";" but that should 9714 # okay in the real world where ";" in dirpaths is itself problematic. 9715 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 9716 ;; 9717 *) 9718 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 9719 ;; 9720 esac 9721 # Ok, now we have the path, separated by spaces, we can step through it 9722 # and add multilib dir if necessary... 9723 lt_tmp_lt_search_path_spec= 9724 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 9725 # ...but if some path component already ends with the multilib dir we assume 9726 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 9727 case "$lt_multi_os_dir; $lt_search_path_spec " in 9728 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 9729 lt_multi_os_dir= 9730 ;; 9731 esac 9732 for lt_sys_path in $lt_search_path_spec; do 9733 if test -d "$lt_sys_path$lt_multi_os_dir"; then 9734 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 9735 elif test -n "$lt_multi_os_dir"; then 9736 test -d "$lt_sys_path" && \ 9737 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 9738 fi 9739 done 9740 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 9741BEGIN {RS = " "; FS = "/|\n";} { 9742 lt_foo = ""; 9743 lt_count = 0; 9744 for (lt_i = NF; lt_i > 0; lt_i--) { 9745 if ($lt_i != "" && $lt_i != ".") { 9746 if ($lt_i == "..") { 9747 lt_count++; 9748 } else { 9749 if (lt_count == 0) { 9750 lt_foo = "/" $lt_i lt_foo; 9751 } else { 9752 lt_count--; 9753 } 9754 } 9755 } 9756 } 9757 if (lt_foo != "") { lt_freq[lt_foo]++; } 9758 if (lt_freq[lt_foo] == 1) { print lt_foo; } 9759}'` 9760 # AWK program above erroneously prepends '/' to C:/dos/paths 9761 # for these hosts. 9762 case $host_os in 9763 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 9764 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 9765 esac 9766 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 9767else 9768 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 9769fi 9770library_names_spec= 9771libname_spec='lib$name' 9772soname_spec= 9773shrext_cmds=.so 9774postinstall_cmds= 9775postuninstall_cmds= 9776finish_cmds= 9777finish_eval= 9778shlibpath_var= 9779shlibpath_overrides_runpath=unknown 9780version_type=none 9781dynamic_linker="$host_os ld.so" 9782sys_lib_dlsearch_path_spec="/lib /usr/lib" 9783need_lib_prefix=unknown 9784hardcode_into_libs=no 9785 9786# when you set need_version to no, make sure it does not cause -set_version 9787# flags to be left without arguments 9788need_version=unknown 9789 9790 9791 9792case $host_os in 9793aix3*) 9794 version_type=linux # correct to gnu/linux during the next big refactor 9795 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 9796 shlibpath_var=LIBPATH 9797 9798 # AIX 3 has no versioning support, so we append a major version to the name. 9799 soname_spec='$libname$release$shared_ext$major' 9800 ;; 9801 9802aix[4-9]*) 9803 version_type=linux # correct to gnu/linux during the next big refactor 9804 need_lib_prefix=no 9805 need_version=no 9806 hardcode_into_libs=yes 9807 if test ia64 = "$host_cpu"; then 9808 # AIX 5 supports IA64 9809 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 9810 shlibpath_var=LD_LIBRARY_PATH 9811 else 9812 # With GCC up to 2.95.x, collect2 would create an import file 9813 # for dependence libraries. The import file would start with 9814 # the line '#! .'. This would cause the generated library to 9815 # depend on '.', always an invalid library. This was fixed in 9816 # development snapshots of GCC prior to 3.0. 9817 case $host_os in 9818 aix4 | aix4.[01] | aix4.[01].*) 9819 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 9820 echo ' yes ' 9821 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 9822 : 9823 else 9824 can_build_shared=no 9825 fi 9826 ;; 9827 esac 9828 # Using Import Files as archive members, it is possible to support 9829 # filename-based versioning of shared library archives on AIX. While 9830 # this would work for both with and without runtime linking, it will 9831 # prevent static linking of such archives. So we do filename-based 9832 # shared library versioning with .so extension only, which is used 9833 # when both runtime linking and shared linking is enabled. 9834 # Unfortunately, runtime linking may impact performance, so we do 9835 # not want this to be the default eventually. Also, we use the 9836 # versioned .so libs for executables only if there is the -brtl 9837 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 9838 # To allow for filename-based versioning support, we need to create 9839 # libNAME.so.V as an archive file, containing: 9840 # *) an Import File, referring to the versioned filename of the 9841 # archive as well as the shared archive member, telling the 9842 # bitwidth (32 or 64) of that shared object, and providing the 9843 # list of exported symbols of that shared object, eventually 9844 # decorated with the 'weak' keyword 9845 # *) the shared object with the F_LOADONLY flag set, to really avoid 9846 # it being seen by the linker. 9847 # At run time we better use the real file rather than another symlink, 9848 # but for link time we create the symlink libNAME.so -> libNAME.so.V 9849 9850 case $with_aix_soname,$aix_use_runtimelinking in 9851 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 9852 # soname into executable. Probably we can add versioning support to 9853 # collect2, so additional links can be useful in future. 9854 aix,yes) # traditional libtool 9855 dynamic_linker='AIX unversionable lib.so' 9856 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 9857 # instead of lib<name>.a to let people know that these are not 9858 # typical AIX shared libraries. 9859 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 9860 ;; 9861 aix,no) # traditional AIX only 9862 dynamic_linker='AIX lib.a(lib.so.V)' 9863 # We preserve .a as extension for shared libraries through AIX4.2 9864 # and later when we are not doing run time linking. 9865 library_names_spec='$libname$release.a $libname.a' 9866 soname_spec='$libname$release$shared_ext$major' 9867 ;; 9868 svr4,*) # full svr4 only 9869 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 9870 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 9871 # We do not specify a path in Import Files, so LIBPATH fires. 9872 shlibpath_overrides_runpath=yes 9873 ;; 9874 *,yes) # both, prefer svr4 9875 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 9876 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 9877 # unpreferred sharedlib libNAME.a needs extra handling 9878 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"' 9879 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"' 9880 # We do not specify a path in Import Files, so LIBPATH fires. 9881 shlibpath_overrides_runpath=yes 9882 ;; 9883 *,no) # both, prefer aix 9884 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 9885 library_names_spec='$libname$release.a $libname.a' 9886 soname_spec='$libname$release$shared_ext$major' 9887 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 9888 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)' 9889 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"' 9890 ;; 9891 esac 9892 shlibpath_var=LIBPATH 9893 fi 9894 ;; 9895 9896amigaos*) 9897 case $host_cpu in 9898 powerpc) 9899 # Since July 2007 AmigaOS4 officially supports .so libraries. 9900 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 9901 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 9902 ;; 9903 m68k) 9904 library_names_spec='$libname.ixlibrary $libname.a' 9905 # Create ${libname}_ixlibrary.a entries in /sys/libs. 9906 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' 9907 ;; 9908 esac 9909 ;; 9910 9911beos*) 9912 library_names_spec='$libname$shared_ext' 9913 dynamic_linker="$host_os ld.so" 9914 shlibpath_var=LIBRARY_PATH 9915 ;; 9916 9917bsdi[45]*) 9918 version_type=linux # correct to gnu/linux during the next big refactor 9919 need_version=no 9920 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 9921 soname_spec='$libname$release$shared_ext$major' 9922 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 9923 shlibpath_var=LD_LIBRARY_PATH 9924 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 9925 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 9926 # the default ld.so.conf also contains /usr/contrib/lib and 9927 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 9928 # libtool to hard-code these into programs 9929 ;; 9930 9931cygwin* | mingw* | pw32* | cegcc*) 9932 version_type=windows 9933 shrext_cmds=.dll 9934 need_version=no 9935 need_lib_prefix=no 9936 9937 case $GCC,$cc_basename in 9938 yes,*) 9939 # gcc 9940 library_names_spec='$libname.dll.a' 9941 # DLL is installed to $(libdir)/../bin by postinstall_cmds 9942 postinstall_cmds='base_file=`basename \$file`~ 9943 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 9944 dldir=$destdir/`dirname \$dlpath`~ 9945 test -d \$dldir || mkdir -p \$dldir~ 9946 $install_prog $dir/$dlname \$dldir/$dlname~ 9947 chmod a+x \$dldir/$dlname~ 9948 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 9949 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 9950 fi' 9951 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 9952 dlpath=$dir/\$dldll~ 9953 $RM \$dlpath' 9954 shlibpath_overrides_runpath=yes 9955 9956 case $host_os in 9957 cygwin*) 9958 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 9959 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 9960 9961 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 9962 ;; 9963 mingw* | cegcc*) 9964 # MinGW DLLs use traditional 'lib' prefix 9965 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 9966 ;; 9967 pw32*) 9968 # pw32 DLLs use 'pw' prefix rather than 'lib' 9969 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 9970 ;; 9971 esac 9972 dynamic_linker='Win32 ld.exe' 9973 ;; 9974 9975 *,cl*) 9976 # Native MSVC 9977 libname_spec='$name' 9978 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 9979 library_names_spec='$libname.dll.lib' 9980 9981 case $build_os in 9982 mingw*) 9983 sys_lib_search_path_spec= 9984 lt_save_ifs=$IFS 9985 IFS=';' 9986 for lt_path in $LIB 9987 do 9988 IFS=$lt_save_ifs 9989 # Let DOS variable expansion print the short 8.3 style file name. 9990 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 9991 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 9992 done 9993 IFS=$lt_save_ifs 9994 # Convert to MSYS style. 9995 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 9996 ;; 9997 cygwin*) 9998 # Convert to unix form, then to dos form, then back to unix form 9999 # but this time dos style (no spaces!) so that the unix form looks 10000 # like /cygdrive/c/PROGRA~1:/cygdr... 10001 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10002 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10003 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10004 ;; 10005 *) 10006 sys_lib_search_path_spec=$LIB 10007 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10008 # It is most probably a Windows format PATH. 10009 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10010 else 10011 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10012 fi 10013 # FIXME: find the short name or the path components, as spaces are 10014 # common. (e.g. "Program Files" -> "PROGRA~1") 10015 ;; 10016 esac 10017 10018 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10019 postinstall_cmds='base_file=`basename \$file`~ 10020 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 10021 dldir=$destdir/`dirname \$dlpath`~ 10022 test -d \$dldir || mkdir -p \$dldir~ 10023 $install_prog $dir/$dlname \$dldir/$dlname' 10024 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10025 dlpath=$dir/\$dldll~ 10026 $RM \$dlpath' 10027 shlibpath_overrides_runpath=yes 10028 dynamic_linker='Win32 link.exe' 10029 ;; 10030 10031 *) 10032 # Assume MSVC wrapper 10033 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 10034 dynamic_linker='Win32 ld.exe' 10035 ;; 10036 esac 10037 # FIXME: first we should search . and the directory the executable is in 10038 shlibpath_var=PATH 10039 ;; 10040 10041darwin* | rhapsody*) 10042 dynamic_linker="$host_os dyld" 10043 version_type=darwin 10044 need_lib_prefix=no 10045 need_version=no 10046 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 10047 soname_spec='$libname$release$major$shared_ext' 10048 shlibpath_overrides_runpath=yes 10049 shlibpath_var=DYLD_LIBRARY_PATH 10050 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10051 10052 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10053 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10054 ;; 10055 10056dgux*) 10057 version_type=linux # correct to gnu/linux during the next big refactor 10058 need_lib_prefix=no 10059 need_version=no 10060 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10061 soname_spec='$libname$release$shared_ext$major' 10062 shlibpath_var=LD_LIBRARY_PATH 10063 ;; 10064 10065freebsd* | dragonfly*) 10066 # DragonFly does not have aout. When/if they implement a new 10067 # versioning mechanism, adjust this. 10068 if test -x /usr/bin/objformat; then 10069 objformat=`/usr/bin/objformat` 10070 else 10071 case $host_os in 10072 freebsd[23].*) objformat=aout ;; 10073 *) objformat=elf ;; 10074 esac 10075 fi 10076 version_type=freebsd-$objformat 10077 case $version_type in 10078 freebsd-elf*) 10079 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10080 soname_spec='$libname$release$shared_ext$major' 10081 need_version=no 10082 need_lib_prefix=no 10083 ;; 10084 freebsd-*) 10085 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 10086 need_version=yes 10087 ;; 10088 esac 10089 shlibpath_var=LD_LIBRARY_PATH 10090 case $host_os in 10091 freebsd2.*) 10092 shlibpath_overrides_runpath=yes 10093 ;; 10094 freebsd3.[01]* | freebsdelf3.[01]*) 10095 shlibpath_overrides_runpath=yes 10096 hardcode_into_libs=yes 10097 ;; 10098 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10099 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10100 shlibpath_overrides_runpath=no 10101 hardcode_into_libs=yes 10102 ;; 10103 *) # from 4.6 on, and DragonFly 10104 shlibpath_overrides_runpath=yes 10105 hardcode_into_libs=yes 10106 ;; 10107 esac 10108 ;; 10109 10110haiku*) 10111 version_type=linux # correct to gnu/linux during the next big refactor 10112 need_lib_prefix=no 10113 need_version=no 10114 dynamic_linker="$host_os runtime_loader" 10115 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10116 soname_spec='$libname$release$shared_ext$major' 10117 shlibpath_var=LIBRARY_PATH 10118 shlibpath_overrides_runpath=no 10119 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 10120 hardcode_into_libs=yes 10121 ;; 10122 10123hpux9* | hpux10* | hpux11*) 10124 # Give a soname corresponding to the major version so that dld.sl refuses to 10125 # link against other versions. 10126 version_type=sunos 10127 need_lib_prefix=no 10128 need_version=no 10129 case $host_cpu in 10130 ia64*) 10131 shrext_cmds='.so' 10132 hardcode_into_libs=yes 10133 dynamic_linker="$host_os dld.so" 10134 shlibpath_var=LD_LIBRARY_PATH 10135 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10136 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10137 soname_spec='$libname$release$shared_ext$major' 10138 if test 32 = "$HPUX_IA64_MODE"; then 10139 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10140 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 10141 else 10142 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10143 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 10144 fi 10145 ;; 10146 hppa*64*) 10147 shrext_cmds='.sl' 10148 hardcode_into_libs=yes 10149 dynamic_linker="$host_os dld.sl" 10150 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10151 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10152 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10153 soname_spec='$libname$release$shared_ext$major' 10154 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10155 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10156 ;; 10157 *) 10158 shrext_cmds='.sl' 10159 dynamic_linker="$host_os dld.sl" 10160 shlibpath_var=SHLIB_PATH 10161 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10162 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10163 soname_spec='$libname$release$shared_ext$major' 10164 ;; 10165 esac 10166 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 10167 postinstall_cmds='chmod 555 $lib' 10168 # or fails outright, so override atomically: 10169 install_override_mode=555 10170 ;; 10171 10172interix[3-9]*) 10173 version_type=linux # correct to gnu/linux during the next big refactor 10174 need_lib_prefix=no 10175 need_version=no 10176 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10177 soname_spec='$libname$release$shared_ext$major' 10178 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10179 shlibpath_var=LD_LIBRARY_PATH 10180 shlibpath_overrides_runpath=no 10181 hardcode_into_libs=yes 10182 ;; 10183 10184irix5* | irix6* | nonstopux*) 10185 case $host_os in 10186 nonstopux*) version_type=nonstopux ;; 10187 *) 10188 if test yes = "$lt_cv_prog_gnu_ld"; then 10189 version_type=linux # correct to gnu/linux during the next big refactor 10190 else 10191 version_type=irix 10192 fi ;; 10193 esac 10194 need_lib_prefix=no 10195 need_version=no 10196 soname_spec='$libname$release$shared_ext$major' 10197 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 10198 case $host_os in 10199 irix5* | nonstopux*) 10200 libsuff= shlibsuff= 10201 ;; 10202 *) 10203 case $LD in # libtool.m4 will add one of these switches to LD 10204 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10205 libsuff= shlibsuff= libmagic=32-bit;; 10206 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10207 libsuff=32 shlibsuff=N32 libmagic=N32;; 10208 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10209 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10210 *) libsuff= shlibsuff= libmagic=never-match;; 10211 esac 10212 ;; 10213 esac 10214 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10215 shlibpath_overrides_runpath=no 10216 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 10217 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 10218 hardcode_into_libs=yes 10219 ;; 10220 10221# No shared lib support for Linux oldld, aout, or coff. 10222linux*oldld* | linux*aout* | linux*coff*) 10223 dynamic_linker=no 10224 ;; 10225 10226linux*android*) 10227 version_type=none # Android doesn't support versioned libraries. 10228 need_lib_prefix=no 10229 need_version=no 10230 library_names_spec='$libname$release$shared_ext' 10231 soname_spec='$libname$release$shared_ext' 10232 finish_cmds= 10233 shlibpath_var=LD_LIBRARY_PATH 10234 shlibpath_overrides_runpath=yes 10235 10236 # This implies no fast_install, which is unacceptable. 10237 # Some rework will be needed to allow for fast_install 10238 # before this can be enabled. 10239 hardcode_into_libs=yes 10240 10241 dynamic_linker='Android linker' 10242 # Don't embed -rpath directories since the linker doesn't support them. 10243 hardcode_libdir_flag_spec='-L$libdir' 10244 ;; 10245 10246# This must be glibc/ELF. 10247linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 10248 version_type=linux # correct to gnu/linux during the next big refactor 10249 need_lib_prefix=no 10250 need_version=no 10251 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10252 soname_spec='$libname$release$shared_ext$major' 10253 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10254 shlibpath_var=LD_LIBRARY_PATH 10255 shlibpath_overrides_runpath=no 10256 10257 # Some binutils ld are patched to set DT_RUNPATH 10258 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 10259 $as_echo_n "(cached) " >&6 10260else 10261 lt_cv_shlibpath_overrides_runpath=no 10262 save_LDFLAGS=$LDFLAGS 10263 save_libdir=$libdir 10264 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10265 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 10266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10267/* end confdefs.h. */ 10268 10269int 10270main () 10271{ 10272 10273 ; 10274 return 0; 10275} 10276_ACEOF 10277if ac_fn_c_try_link "$LINENO"; then : 10278 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 10279 lt_cv_shlibpath_overrides_runpath=yes 10280fi 10281fi 10282rm -f core conftest.err conftest.$ac_objext \ 10283 conftest$ac_exeext conftest.$ac_ext 10284 LDFLAGS=$save_LDFLAGS 10285 libdir=$save_libdir 10286 10287fi 10288 10289 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 10290 10291 # This implies no fast_install, which is unacceptable. 10292 # Some rework will be needed to allow for fast_install 10293 # before this can be enabled. 10294 hardcode_into_libs=yes 10295 10296 # Ideally, we could use ldconfig to report *all* directores which are 10297 # searched for libraries, however this is still not possible. Aside from not 10298 # being certain /sbin/ldconfig is available, command 10299 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 10300 # even though it is searched at run-time. Try to do the best guess by 10301 # appending ld.so.conf contents (and includes) to the search path. 10302 if test -f /etc/ld.so.conf; then 10303 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' ' '` 10304 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 10305 fi 10306 10307 # We used to test for /lib/ld.so.1 and disable shared libraries on 10308 # powerpc, because MkLinux only supported shared libraries with the 10309 # GNU dynamic linker. Since this was broken with cross compilers, 10310 # most powerpc-linux boxes support dynamic linking these days and 10311 # people can always --disable-shared, the test was removed, and we 10312 # assume the GNU/Linux dynamic linker is in use. 10313 dynamic_linker='GNU/Linux ld.so' 10314 ;; 10315 10316netbsd*) 10317 version_type=sunos 10318 need_lib_prefix=no 10319 need_version=no 10320 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10321 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 10322 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10323 dynamic_linker='NetBSD (a.out) ld.so' 10324 else 10325 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10326 soname_spec='$libname$release$shared_ext$major' 10327 dynamic_linker='NetBSD ld.elf_so' 10328 fi 10329 shlibpath_var=LD_LIBRARY_PATH 10330 shlibpath_overrides_runpath=yes 10331 hardcode_into_libs=yes 10332 ;; 10333 10334newsos6) 10335 version_type=linux # correct to gnu/linux during the next big refactor 10336 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10337 shlibpath_var=LD_LIBRARY_PATH 10338 shlibpath_overrides_runpath=yes 10339 ;; 10340 10341*nto* | *qnx*) 10342 version_type=qnx 10343 need_lib_prefix=no 10344 need_version=no 10345 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10346 soname_spec='$libname$release$shared_ext$major' 10347 shlibpath_var=LD_LIBRARY_PATH 10348 shlibpath_overrides_runpath=no 10349 hardcode_into_libs=yes 10350 dynamic_linker='ldqnx.so' 10351 ;; 10352 10353openbsd* | bitrig*) 10354 version_type=sunos 10355 sys_lib_dlsearch_path_spec=/usr/lib 10356 need_lib_prefix=no 10357 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 10358 need_version=no 10359 else 10360 need_version=yes 10361 fi 10362 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 10363 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10364 shlibpath_var=LD_LIBRARY_PATH 10365 shlibpath_overrides_runpath=yes 10366 ;; 10367 10368os2*) 10369 libname_spec='$name' 10370 version_type=windows 10371 shrext_cmds=.dll 10372 need_version=no 10373 need_lib_prefix=no 10374 # OS/2 can only load a DLL with a base name of 8 characters or less. 10375 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 10376 v=$($ECHO $release$versuffix | tr -d .-); 10377 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 10378 $ECHO $n$v`$shared_ext' 10379 library_names_spec='${libname}_dll.$libext' 10380 dynamic_linker='OS/2 ld.exe' 10381 shlibpath_var=BEGINLIBPATH 10382 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10383 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10384 postinstall_cmds='base_file=`basename \$file`~ 10385 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 10386 dldir=$destdir/`dirname \$dlpath`~ 10387 test -d \$dldir || mkdir -p \$dldir~ 10388 $install_prog $dir/$dlname \$dldir/$dlname~ 10389 chmod a+x \$dldir/$dlname~ 10390 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10391 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10392 fi' 10393 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 10394 dlpath=$dir/\$dldll~ 10395 $RM \$dlpath' 10396 ;; 10397 10398osf3* | osf4* | osf5*) 10399 version_type=osf 10400 need_lib_prefix=no 10401 need_version=no 10402 soname_spec='$libname$release$shared_ext$major' 10403 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10404 shlibpath_var=LD_LIBRARY_PATH 10405 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 10406 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10407 ;; 10408 10409rdos*) 10410 dynamic_linker=no 10411 ;; 10412 10413solaris*) 10414 version_type=linux # correct to gnu/linux during the next big refactor 10415 need_lib_prefix=no 10416 need_version=no 10417 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10418 soname_spec='$libname$release$shared_ext$major' 10419 shlibpath_var=LD_LIBRARY_PATH 10420 shlibpath_overrides_runpath=yes 10421 hardcode_into_libs=yes 10422 # ldd complains unless libraries are executable 10423 postinstall_cmds='chmod +x $lib' 10424 ;; 10425 10426sunos4*) 10427 version_type=sunos 10428 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 10429 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 10430 shlibpath_var=LD_LIBRARY_PATH 10431 shlibpath_overrides_runpath=yes 10432 if test yes = "$with_gnu_ld"; then 10433 need_lib_prefix=no 10434 fi 10435 need_version=yes 10436 ;; 10437 10438sysv4 | sysv4.3*) 10439 version_type=linux # correct to gnu/linux during the next big refactor 10440 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10441 soname_spec='$libname$release$shared_ext$major' 10442 shlibpath_var=LD_LIBRARY_PATH 10443 case $host_vendor in 10444 sni) 10445 shlibpath_overrides_runpath=no 10446 need_lib_prefix=no 10447 runpath_var=LD_RUN_PATH 10448 ;; 10449 siemens) 10450 need_lib_prefix=no 10451 ;; 10452 motorola) 10453 need_lib_prefix=no 10454 need_version=no 10455 shlibpath_overrides_runpath=no 10456 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 10457 ;; 10458 esac 10459 ;; 10460 10461sysv4*MP*) 10462 if test -d /usr/nec; then 10463 version_type=linux # correct to gnu/linux during the next big refactor 10464 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 10465 soname_spec='$libname$shared_ext.$major' 10466 shlibpath_var=LD_LIBRARY_PATH 10467 fi 10468 ;; 10469 10470sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 10471 version_type=sco 10472 need_lib_prefix=no 10473 need_version=no 10474 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 10475 soname_spec='$libname$release$shared_ext$major' 10476 shlibpath_var=LD_LIBRARY_PATH 10477 shlibpath_overrides_runpath=yes 10478 hardcode_into_libs=yes 10479 if test yes = "$with_gnu_ld"; then 10480 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 10481 else 10482 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 10483 case $host_os in 10484 sco3.2v5*) 10485 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 10486 ;; 10487 esac 10488 fi 10489 sys_lib_dlsearch_path_spec='/usr/lib' 10490 ;; 10491 10492tpf*) 10493 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 10494 version_type=linux # correct to gnu/linux during the next big refactor 10495 need_lib_prefix=no 10496 need_version=no 10497 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10498 shlibpath_var=LD_LIBRARY_PATH 10499 shlibpath_overrides_runpath=no 10500 hardcode_into_libs=yes 10501 ;; 10502 10503uts4*) 10504 version_type=linux # correct to gnu/linux during the next big refactor 10505 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10506 soname_spec='$libname$release$shared_ext$major' 10507 shlibpath_var=LD_LIBRARY_PATH 10508 ;; 10509 10510*) 10511 dynamic_linker=no 10512 ;; 10513esac 10514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 10515$as_echo "$dynamic_linker" >&6; } 10516test no = "$dynamic_linker" && can_build_shared=no 10517 10518variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 10519if test yes = "$GCC"; then 10520 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 10521fi 10522 10523if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 10524 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 10525fi 10526 10527if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 10528 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 10529fi 10530 10531# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 10532configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 10533 10534# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 10535func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 10536 10537# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 10538configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 10637$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 10638hardcode_action= 10639if test -n "$hardcode_libdir_flag_spec" || 10640 test -n "$runpath_var" || 10641 test yes = "$hardcode_automatic"; then 10642 10643 # We can hardcode non-existent directories. 10644 if test no != "$hardcode_direct" && 10645 # If the only mechanism to avoid hardcoding is shlibpath_var, we 10646 # have to relink, otherwise we might link with an installed library 10647 # when we should be linking with a yet-to-be-installed one 10648 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 10649 test no != "$hardcode_minus_L"; then 10650 # Linking always hardcodes the temporary library directory. 10651 hardcode_action=relink 10652 else 10653 # We can link without hardcoding, and we can hardcode nonexisting dirs. 10654 hardcode_action=immediate 10655 fi 10656else 10657 # We cannot hardcode anything, or else we can only hardcode existing 10658 # directories. 10659 hardcode_action=unsupported 10660fi 10661{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 10662$as_echo "$hardcode_action" >&6; } 10663 10664if test relink = "$hardcode_action" || 10665 test yes = "$inherit_rpath"; then 10666 # Fast installation is not supported 10667 enable_fast_install=no 10668elif test yes = "$shlibpath_overrides_runpath" || 10669 test no = "$enable_shared"; then 10670 # Fast installation is not necessary 10671 enable_fast_install=needless 10672fi 10673 10674 10675 10676 10677 10678 10679 if test yes != "$enable_dlopen"; then 10680 enable_dlopen=unknown 10681 enable_dlopen_self=unknown 10682 enable_dlopen_self_static=unknown 10683else 10684 lt_cv_dlopen=no 10685 lt_cv_dlopen_libs= 10686 10687 case $host_os in 10688 beos*) 10689 lt_cv_dlopen=load_add_on 10690 lt_cv_dlopen_libs= 10691 lt_cv_dlopen_self=yes 10692 ;; 10693 10694 mingw* | pw32* | cegcc*) 10695 lt_cv_dlopen=LoadLibrary 10696 lt_cv_dlopen_libs= 10697 ;; 10698 10699 cygwin*) 10700 lt_cv_dlopen=dlopen 10701 lt_cv_dlopen_libs= 10702 ;; 10703 10704 darwin*) 10705 # if libdl is installed we need to link against it 10706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10707$as_echo_n "checking for dlopen in -ldl... " >&6; } 10708if ${ac_cv_lib_dl_dlopen+:} false; then : 10709 $as_echo_n "(cached) " >&6 10710else 10711 ac_check_lib_save_LIBS=$LIBS 10712LIBS="-ldl $LIBS" 10713cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10714/* end confdefs.h. */ 10715 10716/* Override any GCC internal prototype to avoid an error. 10717 Use char because int might match the return type of a GCC 10718 builtin and then its argument prototype would still apply. */ 10719#ifdef __cplusplus 10720extern "C" 10721#endif 10722char dlopen (); 10723int 10724main () 10725{ 10726return dlopen (); 10727 ; 10728 return 0; 10729} 10730_ACEOF 10731if ac_fn_c_try_link "$LINENO"; then : 10732 ac_cv_lib_dl_dlopen=yes 10733else 10734 ac_cv_lib_dl_dlopen=no 10735fi 10736rm -f core conftest.err conftest.$ac_objext \ 10737 conftest$ac_exeext conftest.$ac_ext 10738LIBS=$ac_check_lib_save_LIBS 10739fi 10740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10741$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10742if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 10743 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 10744else 10745 10746 lt_cv_dlopen=dyld 10747 lt_cv_dlopen_libs= 10748 lt_cv_dlopen_self=yes 10749 10750fi 10751 10752 ;; 10753 10754 tpf*) 10755 # Don't try to run any link tests for TPF. We know it's impossible 10756 # because TPF is a cross-compiler, and we know how we open DSOs. 10757 lt_cv_dlopen=dlopen 10758 lt_cv_dlopen_libs= 10759 lt_cv_dlopen_self=no 10760 ;; 10761 10762 *) 10763 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 10764if test "x$ac_cv_func_shl_load" = xyes; then : 10765 lt_cv_dlopen=shl_load 10766else 10767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 10768$as_echo_n "checking for shl_load in -ldld... " >&6; } 10769if ${ac_cv_lib_dld_shl_load+:} false; then : 10770 $as_echo_n "(cached) " >&6 10771else 10772 ac_check_lib_save_LIBS=$LIBS 10773LIBS="-ldld $LIBS" 10774cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10775/* end confdefs.h. */ 10776 10777/* Override any GCC internal prototype to avoid an error. 10778 Use char because int might match the return type of a GCC 10779 builtin and then its argument prototype would still apply. */ 10780#ifdef __cplusplus 10781extern "C" 10782#endif 10783char shl_load (); 10784int 10785main () 10786{ 10787return shl_load (); 10788 ; 10789 return 0; 10790} 10791_ACEOF 10792if ac_fn_c_try_link "$LINENO"; then : 10793 ac_cv_lib_dld_shl_load=yes 10794else 10795 ac_cv_lib_dld_shl_load=no 10796fi 10797rm -f core conftest.err conftest.$ac_objext \ 10798 conftest$ac_exeext conftest.$ac_ext 10799LIBS=$ac_check_lib_save_LIBS 10800fi 10801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 10802$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 10803if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 10804 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 10805else 10806 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 10807if test "x$ac_cv_func_dlopen" = xyes; then : 10808 lt_cv_dlopen=dlopen 10809else 10810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10811$as_echo_n "checking for dlopen in -ldl... " >&6; } 10812if ${ac_cv_lib_dl_dlopen+:} false; then : 10813 $as_echo_n "(cached) " >&6 10814else 10815 ac_check_lib_save_LIBS=$LIBS 10816LIBS="-ldl $LIBS" 10817cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10818/* end confdefs.h. */ 10819 10820/* Override any GCC internal prototype to avoid an error. 10821 Use char because int might match the return type of a GCC 10822 builtin and then its argument prototype would still apply. */ 10823#ifdef __cplusplus 10824extern "C" 10825#endif 10826char dlopen (); 10827int 10828main () 10829{ 10830return dlopen (); 10831 ; 10832 return 0; 10833} 10834_ACEOF 10835if ac_fn_c_try_link "$LINENO"; then : 10836 ac_cv_lib_dl_dlopen=yes 10837else 10838 ac_cv_lib_dl_dlopen=no 10839fi 10840rm -f core conftest.err conftest.$ac_objext \ 10841 conftest$ac_exeext conftest.$ac_ext 10842LIBS=$ac_check_lib_save_LIBS 10843fi 10844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10845$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10846if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 10847 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 10848else 10849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 10850$as_echo_n "checking for dlopen in -lsvld... " >&6; } 10851if ${ac_cv_lib_svld_dlopen+:} false; then : 10852 $as_echo_n "(cached) " >&6 10853else 10854 ac_check_lib_save_LIBS=$LIBS 10855LIBS="-lsvld $LIBS" 10856cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10857/* end confdefs.h. */ 10858 10859/* Override any GCC internal prototype to avoid an error. 10860 Use char because int might match the return type of a GCC 10861 builtin and then its argument prototype would still apply. */ 10862#ifdef __cplusplus 10863extern "C" 10864#endif 10865char dlopen (); 10866int 10867main () 10868{ 10869return dlopen (); 10870 ; 10871 return 0; 10872} 10873_ACEOF 10874if ac_fn_c_try_link "$LINENO"; then : 10875 ac_cv_lib_svld_dlopen=yes 10876else 10877 ac_cv_lib_svld_dlopen=no 10878fi 10879rm -f core conftest.err conftest.$ac_objext \ 10880 conftest$ac_exeext conftest.$ac_ext 10881LIBS=$ac_check_lib_save_LIBS 10882fi 10883{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 10884$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 10885if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 10886 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 10887else 10888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 10889$as_echo_n "checking for dld_link in -ldld... " >&6; } 10890if ${ac_cv_lib_dld_dld_link+:} false; then : 10891 $as_echo_n "(cached) " >&6 10892else 10893 ac_check_lib_save_LIBS=$LIBS 10894LIBS="-ldld $LIBS" 10895cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10896/* end confdefs.h. */ 10897 10898/* Override any GCC internal prototype to avoid an error. 10899 Use char because int might match the return type of a GCC 10900 builtin and then its argument prototype would still apply. */ 10901#ifdef __cplusplus 10902extern "C" 10903#endif 10904char dld_link (); 10905int 10906main () 10907{ 10908return dld_link (); 10909 ; 10910 return 0; 10911} 10912_ACEOF 10913if ac_fn_c_try_link "$LINENO"; then : 10914 ac_cv_lib_dld_dld_link=yes 10915else 10916 ac_cv_lib_dld_dld_link=no 10917fi 10918rm -f core conftest.err conftest.$ac_objext \ 10919 conftest$ac_exeext conftest.$ac_ext 10920LIBS=$ac_check_lib_save_LIBS 10921fi 10922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 10923$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 10924if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 10925 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 10926fi 10927 10928 10929fi 10930 10931 10932fi 10933 10934 10935fi 10936 10937 10938fi 10939 10940 10941fi 10942 10943 ;; 10944 esac 10945 10946 if test no = "$lt_cv_dlopen"; then 10947 enable_dlopen=no 10948 else 10949 enable_dlopen=yes 10950 fi 10951 10952 case $lt_cv_dlopen in 10953 dlopen) 10954 save_CPPFLAGS=$CPPFLAGS 10955 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 10956 10957 save_LDFLAGS=$LDFLAGS 10958 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 10959 10960 save_LIBS=$LIBS 10961 LIBS="$lt_cv_dlopen_libs $LIBS" 10962 10963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 10964$as_echo_n "checking whether a program can dlopen itself... " >&6; } 10965if ${lt_cv_dlopen_self+:} false; then : 10966 $as_echo_n "(cached) " >&6 10967else 10968 if test yes = "$cross_compiling"; then : 10969 lt_cv_dlopen_self=cross 10970else 10971 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10972 lt_status=$lt_dlunknown 10973 cat > conftest.$ac_ext <<_LT_EOF 10974#line $LINENO "configure" 10975#include "confdefs.h" 10976 10977#if HAVE_DLFCN_H 10978#include <dlfcn.h> 10979#endif 10980 10981#include <stdio.h> 10982 10983#ifdef RTLD_GLOBAL 10984# define LT_DLGLOBAL RTLD_GLOBAL 10985#else 10986# ifdef DL_GLOBAL 10987# define LT_DLGLOBAL DL_GLOBAL 10988# else 10989# define LT_DLGLOBAL 0 10990# endif 10991#endif 10992 10993/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 10994 find out it does not work in some platform. */ 10995#ifndef LT_DLLAZY_OR_NOW 10996# ifdef RTLD_LAZY 10997# define LT_DLLAZY_OR_NOW RTLD_LAZY 10998# else 10999# ifdef DL_LAZY 11000# define LT_DLLAZY_OR_NOW DL_LAZY 11001# else 11002# ifdef RTLD_NOW 11003# define LT_DLLAZY_OR_NOW RTLD_NOW 11004# else 11005# ifdef DL_NOW 11006# define LT_DLLAZY_OR_NOW DL_NOW 11007# else 11008# define LT_DLLAZY_OR_NOW 0 11009# endif 11010# endif 11011# endif 11012# endif 11013#endif 11014 11015/* When -fvisibility=hidden is used, assume the code has been annotated 11016 correspondingly for the symbols needed. */ 11017#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11018int fnord () __attribute__((visibility("default"))); 11019#endif 11020 11021int fnord () { return 42; } 11022int main () 11023{ 11024 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11025 int status = $lt_dlunknown; 11026 11027 if (self) 11028 { 11029 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11030 else 11031 { 11032 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11033 else puts (dlerror ()); 11034 } 11035 /* dlclose (self); */ 11036 } 11037 else 11038 puts (dlerror ()); 11039 11040 return status; 11041} 11042_LT_EOF 11043 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11044 (eval $ac_link) 2>&5 11045 ac_status=$? 11046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11047 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 11048 (./conftest; exit; ) >&5 2>/dev/null 11049 lt_status=$? 11050 case x$lt_status in 11051 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11052 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11053 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11054 esac 11055 else : 11056 # compilation failed 11057 lt_cv_dlopen_self=no 11058 fi 11059fi 11060rm -fr conftest* 11061 11062 11063fi 11064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11065$as_echo "$lt_cv_dlopen_self" >&6; } 11066 11067 if test yes = "$lt_cv_dlopen_self"; then 11068 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11070$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11071if ${lt_cv_dlopen_self_static+:} false; then : 11072 $as_echo_n "(cached) " >&6 11073else 11074 if test yes = "$cross_compiling"; then : 11075 lt_cv_dlopen_self_static=cross 11076else 11077 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11078 lt_status=$lt_dlunknown 11079 cat > conftest.$ac_ext <<_LT_EOF 11080#line $LINENO "configure" 11081#include "confdefs.h" 11082 11083#if HAVE_DLFCN_H 11084#include <dlfcn.h> 11085#endif 11086 11087#include <stdio.h> 11088 11089#ifdef RTLD_GLOBAL 11090# define LT_DLGLOBAL RTLD_GLOBAL 11091#else 11092# ifdef DL_GLOBAL 11093# define LT_DLGLOBAL DL_GLOBAL 11094# else 11095# define LT_DLGLOBAL 0 11096# endif 11097#endif 11098 11099/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11100 find out it does not work in some platform. */ 11101#ifndef LT_DLLAZY_OR_NOW 11102# ifdef RTLD_LAZY 11103# define LT_DLLAZY_OR_NOW RTLD_LAZY 11104# else 11105# ifdef DL_LAZY 11106# define LT_DLLAZY_OR_NOW DL_LAZY 11107# else 11108# ifdef RTLD_NOW 11109# define LT_DLLAZY_OR_NOW RTLD_NOW 11110# else 11111# ifdef DL_NOW 11112# define LT_DLLAZY_OR_NOW DL_NOW 11113# else 11114# define LT_DLLAZY_OR_NOW 0 11115# endif 11116# endif 11117# endif 11118# endif 11119#endif 11120 11121/* When -fvisibility=hidden is used, assume the code has been annotated 11122 correspondingly for the symbols needed. */ 11123#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11124int fnord () __attribute__((visibility("default"))); 11125#endif 11126 11127int fnord () { return 42; } 11128int main () 11129{ 11130 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11131 int status = $lt_dlunknown; 11132 11133 if (self) 11134 { 11135 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11136 else 11137 { 11138 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11139 else puts (dlerror ()); 11140 } 11141 /* dlclose (self); */ 11142 } 11143 else 11144 puts (dlerror ()); 11145 11146 return status; 11147} 11148_LT_EOF 11149 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11150 (eval $ac_link) 2>&5 11151 ac_status=$? 11152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11153 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 11154 (./conftest; exit; ) >&5 2>/dev/null 11155 lt_status=$? 11156 case x$lt_status in 11157 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11158 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11159 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11160 esac 11161 else : 11162 # compilation failed 11163 lt_cv_dlopen_self_static=no 11164 fi 11165fi 11166rm -fr conftest* 11167 11168 11169fi 11170{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11171$as_echo "$lt_cv_dlopen_self_static" >&6; } 11172 fi 11173 11174 CPPFLAGS=$save_CPPFLAGS 11175 LDFLAGS=$save_LDFLAGS 11176 LIBS=$save_LIBS 11177 ;; 11178 esac 11179 11180 case $lt_cv_dlopen_self in 11181 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11182 *) enable_dlopen_self=unknown ;; 11183 esac 11184 11185 case $lt_cv_dlopen_self_static in 11186 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11187 *) enable_dlopen_self_static=unknown ;; 11188 esac 11189fi 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207striplib= 11208old_striplib= 11209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11210$as_echo_n "checking whether stripping libraries is possible... " >&6; } 11211if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11212 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11213 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11215$as_echo "yes" >&6; } 11216else 11217# FIXME - insert some real tests, host_os isn't really good enough 11218 case $host_os in 11219 darwin*) 11220 if test -n "$STRIP"; then 11221 striplib="$STRIP -x" 11222 old_striplib="$STRIP -S" 11223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11224$as_echo "yes" >&6; } 11225 else 11226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11227$as_echo "no" >&6; } 11228 fi 11229 ;; 11230 *) 11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11232$as_echo "no" >&6; } 11233 ;; 11234 esac 11235fi 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 # Report what library types will actually be built 11249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 11250$as_echo_n "checking if libtool supports shared libraries... " >&6; } 11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 11252$as_echo "$can_build_shared" >&6; } 11253 11254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 11255$as_echo_n "checking whether to build shared libraries... " >&6; } 11256 test no = "$can_build_shared" && enable_shared=no 11257 11258 # On AIX, shared libraries and static libraries use the same namespace, and 11259 # are all built from PIC. 11260 case $host_os in 11261 aix3*) 11262 test yes = "$enable_shared" && enable_static=no 11263 if test -n "$RANLIB"; then 11264 archive_cmds="$archive_cmds~\$RANLIB \$lib" 11265 postinstall_cmds='$RANLIB $lib' 11266 fi 11267 ;; 11268 11269 aix[4-9]*) 11270 if test ia64 != "$host_cpu"; then 11271 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 11272 yes,aix,yes) ;; # shared object as lib.so file only 11273 yes,svr4,*) ;; # shared object as lib.so archive member only 11274 yes,*) enable_static=no ;; # shared object in lib.a archive as well 11275 esac 11276 fi 11277 ;; 11278 esac 11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 11280$as_echo "$enable_shared" >&6; } 11281 11282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 11283$as_echo_n "checking whether to build static libraries... " >&6; } 11284 # Make sure either enable_shared or enable_static is yes. 11285 test yes = "$enable_shared" || enable_static=yes 11286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 11287$as_echo "$enable_static" >&6; } 11288 11289 11290 11291 11292fi 11293ac_ext=c 11294ac_cpp='$CPP $CPPFLAGS' 11295ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11296ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11297ac_compiler_gnu=$ac_cv_c_compiler_gnu 11298 11299CC=$lt_save_CC 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 ac_config_commands="$ac_config_commands libtool" 11316 11317 11318 11319 11320# Only expand once: 11321 11322 11323 11324 11325# Check whether --with-centos was given. 11326if test "${with_centos+set}" = set; then : 11327 withval=$with_centos; 11328fi 11329 11330 11331 11332 11333 11334 11335 11336if test "$with_centos" = "yes"; then 11337 RPM_COMMENT="# RPM spec file for RedHat CentOS created by configure script." 11338 RPM_LICENSE="GPLv3" 11339 RPM_GROUP="User Interface/Desktops" 11340 RPM_FDUPES_REQUIRES= 11341 RPM_UDF_REQUIRES= 11342else 11343 RPM_COMMENT="# RPM spec file for SUSE OpenSUSE created by configure script." 11344 RPM_LICENSE="GPL-3.0" 11345 RPM_GROUP="System/GUI/Other" 11346 RPM_FDUPES_REQUIRES="BuildRequires: fdupes" 11347 RPM_UDF_REQUIRES="BuildRequires: update-desktop-files" 11348fi 11349 11350 11351 11352 11353$as_echo "#define _GNU_SOURCE 1" >>confdefs.h 11354 11355 11356 11357$as_echo "#define COPYRIGHT \"Copyright (c) 2000-2014 Edscott Wilson Garcia. <edscott@users.sf.net>\"" >>confdefs.h 11358 11359 11360 11361$as_echo "#define PACKAGE_COPYRIGHT \"Copyright (c) 2000-2014 Edscott Wilson Garcia. <edscott@users.sf.net>\"" >>confdefs.h 11362 11363 11364 11365{ $as_echo "$as_me:${as_lineno-$LINENO}: *** *** You may download librfm from http://sf.net/projects/xffm/files *** ***" >&5 11366$as_echo "$as_me: *** *** You may download librfm from http://sf.net/projects/xffm/files *** ***" >&6;} 11367 11368 11369 # minimum supported version of pkg-config 11370 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 11371 11372 # lookup pkg-config utility 11373 if test x"$PKG_CONFIG" = x""; then 11374 # Extract the first word of "pkg-config", so it can be a program name with args. 11375set dummy pkg-config; ac_word=$2 11376{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11377$as_echo_n "checking for $ac_word... " >&6; } 11378if ${ac_cv_path_PKG_CONFIG+:} false; then : 11379 $as_echo_n "(cached) " >&6 11380else 11381 case $PKG_CONFIG in 11382 [\\/]* | ?:[\\/]*) 11383 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 11384 ;; 11385 *) 11386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11387for as_dir in $PATH 11388do 11389 IFS=$as_save_IFS 11390 test -z "$as_dir" && as_dir=. 11391 for ac_exec_ext in '' $ac_executable_extensions; do 11392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11393 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 11394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11395 break 2 11396 fi 11397done 11398 done 11399IFS=$as_save_IFS 11400 11401 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 11402 ;; 11403esac 11404fi 11405PKG_CONFIG=$ac_cv_path_PKG_CONFIG 11406if test -n "$PKG_CONFIG"; then 11407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 11408$as_echo "$PKG_CONFIG" >&6; } 11409else 11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11411$as_echo "no" >&6; } 11412fi 11413 11414 11415 11416 if test x"$PKG_CONFIG" = x"no"; then 11417 echo "*** The pkg-config utility could not be found on your system." 11418 echo "*** Make sure it is in your path, or set the PKG_CONFIG" 11419 echo "*** environment variable to the full path to pkg-config." 11420 echo "*** You can download pkg-config from the freedesktop.org" 11421 echo "*** software repository at" 11422 echo "***" 11423 echo "*** http://www.freedesktop.org/software/pkgconfig" 11424 echo "***" 11425 exit 1 11426 fi 11427 11428 # check pkg-config version 11429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5 11430$as_echo_n "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... " >&6; } 11431 if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then 11432 xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version` 11433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5 11434$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; } 11435 else 11436 xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version` 11437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5 11438$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; } 11439 echo "*** Your version of pkg-config is too old. You need atleast" 11440 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config " 11441 echo "*** from the freedesktop.org software repository at" 11442 echo "***" 11443 echo "*** http://www.freedesktop.org/software/pkgconfig" 11444 echo "***" 11445 exit 1 11446 fi 11447 fi 11448 11449 11450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for librfm >= 5.3.16.3" >&5 11451$as_echo_n "checking for librfm >= 5.3.16.3... " >&6; } 11452 if $PKG_CONFIG "--atleast-version=5.3.16.3" "librfm" >/dev/null 2>&1; then 11453 LIBRFM_VERSION=`$PKG_CONFIG --modversion "librfm"` 11454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBRFM_VERSION" >&5 11455$as_echo "$LIBRFM_VERSION" >&6; } 11456 11457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBRFM_CFLAGS" >&5 11458$as_echo_n "checking LIBRFM_CFLAGS... " >&6; } 11459 LIBRFM_CFLAGS=`$PKG_CONFIG --cflags "librfm"` 11460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBRFM_CFLAGS" >&5 11461$as_echo "$LIBRFM_CFLAGS" >&6; } 11462 11463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBRFM_LIBS" >&5 11464$as_echo_n "checking LIBRFM_LIBS... " >&6; } 11465 LIBRFM_LIBS=`$PKG_CONFIG --libs "librfm"` 11466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBRFM_LIBS" >&5 11467$as_echo "$LIBRFM_LIBS" >&6; } 11468 11469 LIBRFM_REQUIRED_VERSION=5.3.16.3 11470 11471 11472 11473 11474 11475 11476 11477 elif $PKG_CONFIG --exists "librfm" >/dev/null 2>&1; then 11478 xdg_cv_version=`$PKG_CONFIG --modversion "librfm"` 11479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 11480$as_echo "found, but $xdt_cv_version" >&6; } 11481 11482 11483 echo "*** The required rodent-fgr librfm was found on your system," 11484 echo "*** but the installed version ($xdt_cv_version) is too old." 11485 echo "*** Please upgrade librfm to atleast version 5.3.16.3, or adjust" 11486 echo "*** the PKG_CONFIG_PATH environment variable if you installed" 11487 echo "*** the new version of the rodent-fgr in a nonstandard prefix so" 11488 echo "*** pkg-config is able to find it." 11489 exit 1 11490 11491 else 11492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 11493$as_echo "not found" >&6; } 11494 11495 11496 echo "*** The required rodent-fgr librfm was not found on your system." 11497 echo "*** Please install librfm (atleast version 5.3.16.3) or adjust" 11498 echo "*** the PKG_CONFIG_PATH environment variable if you" 11499 echo "*** installed the rodent-fgr in a nonstandard prefix so that" 11500 echo "*** pkg-config is able to find it." 11501 exit 1 11502 11503 fi 11504 11505 11506# check for libzip 11507 11508 11509 11510 11511 11512GTK_VERSION=`$PKG_CONFIG --variable gtk_version librfm` 11513GTK_PREFIX=`$PKG_CONFIG --variable prefix $GTK_VERSION` 11514RFM_PREFIX=`$PKG_CONFIG --variable prefix librfm` 11515RFM_MODULE_DIR=`$PKG_CONFIG --variable moduledir librfm` 11516 11517echo "GTK version used in librfm: $GTK_VERSION ($GTK_PREFIX)" 11518 11519 11520# Check whether --with-tcmalloc was given. 11521if test "${with_tcmalloc+set}" = set; then : 11522 withval=$with_tcmalloc; 11523fi 11524 11525 11526if test "$with_tcmalloc" = "yes"; then 11527 11528cat >>confdefs.h <<_ACEOF 11529#define TCMALLOC $with_tcmalloc 11530_ACEOF 11531 11532 TCMALLOC="-L/usr/local/lib/ -ltcmalloc" 11533else 11534 TCMALLOC= 11535fi 11536 11537 11538am__api_version='1.15' 11539 11540# Find a good install program. We prefer a C program (faster), 11541# so one script is as good as another. But avoid the broken or 11542# incompatible versions: 11543# SysV /etc/install, /usr/sbin/install 11544# SunOS /usr/etc/install 11545# IRIX /sbin/install 11546# AIX /bin/install 11547# AmigaOS /C/install, which installs bootblocks on floppy discs 11548# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 11549# AFS /usr/afsws/bin/install, which mishandles nonexistent args 11550# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 11551# OS/2's system install, which has a completely different semantic 11552# ./install, which can be erroneously created by make from ./install.sh. 11553# Reject install programs that cannot install multiple files. 11554{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 11555$as_echo_n "checking for a BSD-compatible install... " >&6; } 11556if test -z "$INSTALL"; then 11557if ${ac_cv_path_install+:} false; then : 11558 $as_echo_n "(cached) " >&6 11559else 11560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11561for as_dir in $PATH 11562do 11563 IFS=$as_save_IFS 11564 test -z "$as_dir" && as_dir=. 11565 # Account for people who put trailing slashes in PATH elements. 11566case $as_dir/ in #(( 11567 ./ | .// | /[cC]/* | \ 11568 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 11569 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 11570 /usr/ucb/* ) ;; 11571 *) 11572 # OSF1 and SCO ODT 3.0 have their own names for install. 11573 # Don't use installbsd from OSF since it installs stuff as root 11574 # by default. 11575 for ac_prog in ginstall scoinst install; do 11576 for ac_exec_ext in '' $ac_executable_extensions; do 11577 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 11578 if test $ac_prog = install && 11579 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 11580 # AIX install. It has an incompatible calling convention. 11581 : 11582 elif test $ac_prog = install && 11583 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 11584 # program-specific install script used by HP pwplus--don't use. 11585 : 11586 else 11587 rm -rf conftest.one conftest.two conftest.dir 11588 echo one > conftest.one 11589 echo two > conftest.two 11590 mkdir conftest.dir 11591 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 11592 test -s conftest.one && test -s conftest.two && 11593 test -s conftest.dir/conftest.one && 11594 test -s conftest.dir/conftest.two 11595 then 11596 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 11597 break 3 11598 fi 11599 fi 11600 fi 11601 done 11602 done 11603 ;; 11604esac 11605 11606 done 11607IFS=$as_save_IFS 11608 11609rm -rf conftest.one conftest.two conftest.dir 11610 11611fi 11612 if test "${ac_cv_path_install+set}" = set; then 11613 INSTALL=$ac_cv_path_install 11614 else 11615 # As a last resort, use the slow shell script. Don't cache a 11616 # value for INSTALL within a source directory, because that will 11617 # break other packages using the cache if that directory is 11618 # removed, or if the value is a relative name. 11619 INSTALL=$ac_install_sh 11620 fi 11621fi 11622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 11623$as_echo "$INSTALL" >&6; } 11624 11625# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 11626# It thinks the first close brace ends the variable substitution. 11627test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 11628 11629test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 11630 11631test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 11632 11633{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 11634$as_echo_n "checking whether build environment is sane... " >&6; } 11635# Reject unsafe characters in $srcdir or the absolute working directory 11636# name. Accept space and tab only in the latter. 11637am_lf=' 11638' 11639case `pwd` in 11640 *[\\\"\#\$\&\'\`$am_lf]*) 11641 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 11642esac 11643case $srcdir in 11644 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 11645 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 11646esac 11647 11648# Do 'set' in a subshell so we don't clobber the current shell's 11649# arguments. Must try -L first in case configure is actually a 11650# symlink; some systems play weird games with the mod time of symlinks 11651# (eg FreeBSD returns the mod time of the symlink's containing 11652# directory). 11653if ( 11654 am_has_slept=no 11655 for am_try in 1 2; do 11656 echo "timestamp, slept: $am_has_slept" > conftest.file 11657 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 11658 if test "$*" = "X"; then 11659 # -L didn't work. 11660 set X `ls -t "$srcdir/configure" conftest.file` 11661 fi 11662 if test "$*" != "X $srcdir/configure conftest.file" \ 11663 && test "$*" != "X conftest.file $srcdir/configure"; then 11664 11665 # If neither matched, then we have a broken ls. This can happen 11666 # if, for instance, CONFIG_SHELL is bash and it inherits a 11667 # broken ls alias from the environment. This has actually 11668 # happened. Such a system could not be considered "sane". 11669 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 11670 alias in your environment" "$LINENO" 5 11671 fi 11672 if test "$2" = conftest.file || test $am_try -eq 2; then 11673 break 11674 fi 11675 # Just in case. 11676 sleep 1 11677 am_has_slept=yes 11678 done 11679 test "$2" = conftest.file 11680 ) 11681then 11682 # Ok. 11683 : 11684else 11685 as_fn_error $? "newly created file is older than distributed files! 11686Check your system clock" "$LINENO" 5 11687fi 11688{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11689$as_echo "yes" >&6; } 11690# If we didn't sleep, we still need to ensure time stamps of config.status and 11691# generated files are strictly newer. 11692am_sleep_pid= 11693if grep 'slept: no' conftest.file >/dev/null 2>&1; then 11694 ( sleep 1 ) & 11695 am_sleep_pid=$! 11696fi 11697 11698rm -f conftest.file 11699 11700test "$program_prefix" != NONE && 11701 program_transform_name="s&^&$program_prefix&;$program_transform_name" 11702# Use a double $ so make ignores it. 11703test "$program_suffix" != NONE && 11704 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 11705# Double any \ or $. 11706# By default was `s,x,x', remove it if useless. 11707ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 11708program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 11709 11710if test x"${MISSING+set}" != xset; then 11711 case $am_aux_dir in 11712 *\ * | *\ *) 11713 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 11714 *) 11715 MISSING="\${SHELL} $am_aux_dir/missing" ;; 11716 esac 11717fi 11718# Use eval to expand $SHELL 11719if eval "$MISSING --is-lightweight"; then 11720 am_missing_run="$MISSING " 11721else 11722 am_missing_run= 11723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 11724$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 11725fi 11726 11727if test x"${install_sh+set}" != xset; then 11728 case $am_aux_dir in 11729 *\ * | *\ *) 11730 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 11731 *) 11732 install_sh="\${SHELL} $am_aux_dir/install-sh" 11733 esac 11734fi 11735 11736# Installed binaries are usually stripped using 'strip' when the user 11737# run "make install-strip". However 'strip' might not be the right 11738# tool to use in cross-compilation environments, therefore Automake 11739# will honor the 'STRIP' environment variable to overrule this program. 11740if test "$cross_compiling" != no; then 11741 if test -n "$ac_tool_prefix"; then 11742 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 11743set dummy ${ac_tool_prefix}strip; ac_word=$2 11744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11745$as_echo_n "checking for $ac_word... " >&6; } 11746if ${ac_cv_prog_STRIP+:} false; then : 11747 $as_echo_n "(cached) " >&6 11748else 11749 if test -n "$STRIP"; then 11750 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 11751else 11752as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11753for as_dir in $PATH 11754do 11755 IFS=$as_save_IFS 11756 test -z "$as_dir" && as_dir=. 11757 for ac_exec_ext in '' $ac_executable_extensions; do 11758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11759 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 11760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11761 break 2 11762 fi 11763done 11764 done 11765IFS=$as_save_IFS 11766 11767fi 11768fi 11769STRIP=$ac_cv_prog_STRIP 11770if test -n "$STRIP"; then 11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 11772$as_echo "$STRIP" >&6; } 11773else 11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11775$as_echo "no" >&6; } 11776fi 11777 11778 11779fi 11780if test -z "$ac_cv_prog_STRIP"; then 11781 ac_ct_STRIP=$STRIP 11782 # Extract the first word of "strip", so it can be a program name with args. 11783set dummy strip; ac_word=$2 11784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11785$as_echo_n "checking for $ac_word... " >&6; } 11786if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 11787 $as_echo_n "(cached) " >&6 11788else 11789 if test -n "$ac_ct_STRIP"; then 11790 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 11791else 11792as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11793for as_dir in $PATH 11794do 11795 IFS=$as_save_IFS 11796 test -z "$as_dir" && as_dir=. 11797 for ac_exec_ext in '' $ac_executable_extensions; do 11798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11799 ac_cv_prog_ac_ct_STRIP="strip" 11800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11801 break 2 11802 fi 11803done 11804 done 11805IFS=$as_save_IFS 11806 11807fi 11808fi 11809ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 11810if test -n "$ac_ct_STRIP"; then 11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 11812$as_echo "$ac_ct_STRIP" >&6; } 11813else 11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11815$as_echo "no" >&6; } 11816fi 11817 11818 if test "x$ac_ct_STRIP" = x; then 11819 STRIP=":" 11820 else 11821 case $cross_compiling:$ac_tool_warned in 11822yes:) 11823{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 11824$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 11825ac_tool_warned=yes ;; 11826esac 11827 STRIP=$ac_ct_STRIP 11828 fi 11829else 11830 STRIP="$ac_cv_prog_STRIP" 11831fi 11832 11833fi 11834INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 11835 11836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 11837$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 11838if test -z "$MKDIR_P"; then 11839 if ${ac_cv_path_mkdir+:} false; then : 11840 $as_echo_n "(cached) " >&6 11841else 11842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11843for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 11844do 11845 IFS=$as_save_IFS 11846 test -z "$as_dir" && as_dir=. 11847 for ac_prog in mkdir gmkdir; do 11848 for ac_exec_ext in '' $ac_executable_extensions; do 11849 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 11850 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 11851 'mkdir (GNU coreutils) '* | \ 11852 'mkdir (coreutils) '* | \ 11853 'mkdir (fileutils) '4.1*) 11854 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 11855 break 3;; 11856 esac 11857 done 11858 done 11859 done 11860IFS=$as_save_IFS 11861 11862fi 11863 11864 test -d ./--version && rmdir ./--version 11865 if test "${ac_cv_path_mkdir+set}" = set; then 11866 MKDIR_P="$ac_cv_path_mkdir -p" 11867 else 11868 # As a last resort, use the slow shell script. Don't cache a 11869 # value for MKDIR_P within a source directory, because that will 11870 # break other packages using the cache if that directory is 11871 # removed, or if the value is a relative name. 11872 MKDIR_P="$ac_install_sh -d" 11873 fi 11874fi 11875{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 11876$as_echo "$MKDIR_P" >&6; } 11877 11878{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 11879$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 11880set x ${MAKE-make} 11881ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 11882if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 11883 $as_echo_n "(cached) " >&6 11884else 11885 cat >conftest.make <<\_ACEOF 11886SHELL = /bin/sh 11887all: 11888 @echo '@@@%%%=$(MAKE)=@@@%%%' 11889_ACEOF 11890# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 11891case `${MAKE-make} -f conftest.make 2>/dev/null` in 11892 *@@@%%%=?*=@@@%%%*) 11893 eval ac_cv_prog_make_${ac_make}_set=yes;; 11894 *) 11895 eval ac_cv_prog_make_${ac_make}_set=no;; 11896esac 11897rm -f conftest.make 11898fi 11899if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11901$as_echo "yes" >&6; } 11902 SET_MAKE= 11903else 11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11905$as_echo "no" >&6; } 11906 SET_MAKE="MAKE=${MAKE-make}" 11907fi 11908 11909rm -rf .tst 2>/dev/null 11910mkdir .tst 2>/dev/null 11911if test -d .tst; then 11912 am__leading_dot=. 11913else 11914 am__leading_dot=_ 11915fi 11916rmdir .tst 2>/dev/null 11917 11918DEPDIR="${am__leading_dot}deps" 11919 11920ac_config_commands="$ac_config_commands depfiles" 11921 11922 11923am_make=${MAKE-make} 11924cat > confinc << 'END' 11925am__doit: 11926 @echo this is the am__doit target 11927.PHONY: am__doit 11928END 11929# If we don't find an include directive, just comment out the code. 11930{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 11931$as_echo_n "checking for style of include used by $am_make... " >&6; } 11932am__include="#" 11933am__quote= 11934_am_result=none 11935# First try GNU make style include. 11936echo "include confinc" > confmf 11937# Ignore all kinds of additional output from 'make'. 11938case `$am_make -s -f confmf 2> /dev/null` in #( 11939*the\ am__doit\ target*) 11940 am__include=include 11941 am__quote= 11942 _am_result=GNU 11943 ;; 11944esac 11945# Now try BSD make style include. 11946if test "$am__include" = "#"; then 11947 echo '.include "confinc"' > confmf 11948 case `$am_make -s -f confmf 2> /dev/null` in #( 11949 *the\ am__doit\ target*) 11950 am__include=.include 11951 am__quote="\"" 11952 _am_result=BSD 11953 ;; 11954 esac 11955fi 11956 11957 11958{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 11959$as_echo "$_am_result" >&6; } 11960rm -f confinc confmf 11961 11962# Check whether --enable-dependency-tracking was given. 11963if test "${enable_dependency_tracking+set}" = set; then : 11964 enableval=$enable_dependency_tracking; 11965fi 11966 11967if test "x$enable_dependency_tracking" != xno; then 11968 am_depcomp="$ac_aux_dir/depcomp" 11969 AMDEPBACKSLASH='\' 11970 am__nodep='_no' 11971fi 11972 if test "x$enable_dependency_tracking" != xno; then 11973 AMDEP_TRUE= 11974 AMDEP_FALSE='#' 11975else 11976 AMDEP_TRUE='#' 11977 AMDEP_FALSE= 11978fi 11979 11980 11981# Check whether --enable-silent-rules was given. 11982if test "${enable_silent_rules+set}" = set; then : 11983 enableval=$enable_silent_rules; 11984fi 11985 11986case $enable_silent_rules in 11987yes) AM_DEFAULT_VERBOSITY=0;; 11988no) AM_DEFAULT_VERBOSITY=1;; 11989*) AM_DEFAULT_VERBOSITY=1;; 11990esac 11991AM_BACKSLASH='\' 11992 11993if test "`cd $srcdir && pwd`" != "`pwd`"; then 11994 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 11995 # is not polluted with repeated "-I." 11996 am__isrc=' -I$(srcdir)' 11997 # test to see if srcdir already configured 11998 if test -f $srcdir/config.status; then 11999 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 12000 fi 12001fi 12002 12003# test whether we have cygpath 12004if test -z "$CYGPATH_W"; then 12005 if (cygpath --version) >/dev/null 2>/dev/null; then 12006 CYGPATH_W='cygpath -w' 12007 else 12008 CYGPATH_W=echo 12009 fi 12010fi 12011 12012 12013# Define the identity of the package. 12014 PACKAGE='rodent-fgr' 12015 VERSION='5.3.16.3' 12016 12017 12018cat >>confdefs.h <<_ACEOF 12019#define PACKAGE "$PACKAGE" 12020_ACEOF 12021 12022 12023cat >>confdefs.h <<_ACEOF 12024#define VERSION "$VERSION" 12025_ACEOF 12026 12027# Some tools Automake needs. 12028 12029ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 12030 12031 12032AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 12033 12034 12035AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 12036 12037 12038AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 12039 12040 12041MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 12042 12043# For better backward compatibility. To be removed once Automake 1.9.x 12044# dies out for good. For more background, see: 12045# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 12046# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 12047mkdir_p='$(MKDIR_P)' 12048 12049# We need awk for the "check" target (and possibly the TAP driver). The 12050# system "awk" is bad on some platforms. 12051# Always define AMTAR for backward compatibility. Yes, it's still used 12052# in the wild :-( We should find a proper way to deprecate it ... 12053AMTAR='$${TAR-tar}' 12054 12055 12056# We'll loop over all known methods to create a tar archive until one works. 12057_am_tools='gnutar pax cpio none' 12058 12059am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 12060 12061 12062 12063 12064 12065depcc="$CC" am_compiler_list= 12066 12067{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 12068$as_echo_n "checking dependency style of $depcc... " >&6; } 12069if ${am_cv_CC_dependencies_compiler_type+:} false; then : 12070 $as_echo_n "(cached) " >&6 12071else 12072 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 12073 # We make a subdir and do the tests there. Otherwise we can end up 12074 # making bogus files that we don't know about and never remove. For 12075 # instance it was reported that on HP-UX the gcc test will end up 12076 # making a dummy file named 'D' -- because '-MD' means "put the output 12077 # in D". 12078 rm -rf conftest.dir 12079 mkdir conftest.dir 12080 # Copy depcomp to subdir because otherwise we won't find it if we're 12081 # using a relative directory. 12082 cp "$am_depcomp" conftest.dir 12083 cd conftest.dir 12084 # We will build objects and dependencies in a subdirectory because 12085 # it helps to detect inapplicable dependency modes. For instance 12086 # both Tru64's cc and ICC support -MD to output dependencies as a 12087 # side effect of compilation, but ICC will put the dependencies in 12088 # the current directory while Tru64 will put them in the object 12089 # directory. 12090 mkdir sub 12091 12092 am_cv_CC_dependencies_compiler_type=none 12093 if test "$am_compiler_list" = ""; then 12094 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 12095 fi 12096 am__universal=false 12097 case " $depcc " in #( 12098 *\ -arch\ *\ -arch\ *) am__universal=true ;; 12099 esac 12100 12101 for depmode in $am_compiler_list; do 12102 # Setup a source with many dependencies, because some compilers 12103 # like to wrap large dependency lists on column 80 (with \), and 12104 # we should not choose a depcomp mode which is confused by this. 12105 # 12106 # We need to recreate these files for each test, as the compiler may 12107 # overwrite some of them when testing with obscure command lines. 12108 # This happens at least with the AIX C compiler. 12109 : > sub/conftest.c 12110 for i in 1 2 3 4 5 6; do 12111 echo '#include "conftst'$i'.h"' >> sub/conftest.c 12112 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 12113 # Solaris 10 /bin/sh. 12114 echo '/* dummy */' > sub/conftst$i.h 12115 done 12116 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 12117 12118 # We check with '-c' and '-o' for the sake of the "dashmstdout" 12119 # mode. It turns out that the SunPro C++ compiler does not properly 12120 # handle '-M -o', and we need to detect this. Also, some Intel 12121 # versions had trouble with output in subdirs. 12122 am__obj=sub/conftest.${OBJEXT-o} 12123 am__minus_obj="-o $am__obj" 12124 case $depmode in 12125 gcc) 12126 # This depmode causes a compiler race in universal mode. 12127 test "$am__universal" = false || continue 12128 ;; 12129 nosideeffect) 12130 # After this tag, mechanisms are not by side-effect, so they'll 12131 # only be used when explicitly requested. 12132 if test "x$enable_dependency_tracking" = xyes; then 12133 continue 12134 else 12135 break 12136 fi 12137 ;; 12138 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 12139 # This compiler won't grok '-c -o', but also, the minuso test has 12140 # not run yet. These depmodes are late enough in the game, and 12141 # so weak that their functioning should not be impacted. 12142 am__obj=conftest.${OBJEXT-o} 12143 am__minus_obj= 12144 ;; 12145 none) break ;; 12146 esac 12147 if depmode=$depmode \ 12148 source=sub/conftest.c object=$am__obj \ 12149 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 12150 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 12151 >/dev/null 2>conftest.err && 12152 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 12153 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 12154 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 12155 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 12156 # icc doesn't choke on unknown options, it will just issue warnings 12157 # or remarks (even with -Werror). So we grep stderr for any message 12158 # that says an option was ignored or not supported. 12159 # When given -MP, icc 7.0 and 7.1 complain thusly: 12160 # icc: Command line warning: ignoring option '-M'; no argument required 12161 # The diagnosis changed in icc 8.0: 12162 # icc: Command line remark: option '-MP' not supported 12163 if (grep 'ignoring option' conftest.err || 12164 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 12165 am_cv_CC_dependencies_compiler_type=$depmode 12166 break 12167 fi 12168 fi 12169 done 12170 12171 cd .. 12172 rm -rf conftest.dir 12173else 12174 am_cv_CC_dependencies_compiler_type=none 12175fi 12176 12177fi 12178{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 12179$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 12180CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 12181 12182 if 12183 test "x$enable_dependency_tracking" != xno \ 12184 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 12185 am__fastdepCC_TRUE= 12186 am__fastdepCC_FALSE='#' 12187else 12188 am__fastdepCC_TRUE='#' 12189 am__fastdepCC_FALSE= 12190fi 12191 12192 12193 12194# POSIX will say in a future version that running "rm -f" with no argument 12195# is OK; and we want to be able to make that assumption in our Makefile 12196# recipes. So use an aggressive probe to check that the usage we want is 12197# actually supported "in the wild" to an acceptable degree. 12198# See automake bug#10828. 12199# To make any issue more visible, cause the running configure to be aborted 12200# by default if the 'rm' program in use doesn't match our expectations; the 12201# user can still override this though. 12202if rm -f && rm -fr && rm -rf; then : OK; else 12203 cat >&2 <<'END' 12204Oops! 12205 12206Your 'rm' program seems unable to run without file operands specified 12207on the command line, even when the '-f' option is present. This is contrary 12208to the behaviour of most rm programs out there, and not conforming with 12209the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 12210 12211Please tell bug-automake@gnu.org about your system, including the value 12212of your $PATH and any error possibly output before this message. This 12213can help us improve future automake versions. 12214 12215END 12216 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 12217 echo 'Configuration will proceed anyway, since you have set the' >&2 12218 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 12219 echo >&2 12220 else 12221 cat >&2 <<'END' 12222Aborting the configuration process, to ensure you take notice of the issue. 12223 12224You can download and install GNU coreutils to get an 'rm' implementation 12225that behaves properly: <http://www.gnu.org/software/coreutils/>. 12226 12227If you want to complete the configuration process using your problematic 12228'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 12229to "yes", and re-run configure. 12230 12231END 12232 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 12233 fi 12234fi 12235 12236# Check whether --enable-silent-rules was given. 12237if test "${enable_silent_rules+set}" = set; then : 12238 enableval=$enable_silent_rules; 12239fi 12240 12241case $enable_silent_rules in 12242yes) AM_DEFAULT_VERBOSITY=0;; 12243no) AM_DEFAULT_VERBOSITY=1;; 12244*) AM_DEFAULT_VERBOSITY=0;; 12245esac 12246AM_BACKSLASH='\' 12247 12248RFM_VERINFO=1:0:0 12249 12250 12251 12252{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 12253$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 12254 # Check whether --enable-maintainer-mode was given. 12255if test "${enable_maintainer_mode+set}" = set; then : 12256 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 12257else 12258 USE_MAINTAINER_MODE=no 12259fi 12260 12261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 12262$as_echo "$USE_MAINTAINER_MODE" >&6; } 12263 if test $USE_MAINTAINER_MODE = yes; then 12264 MAINTAINER_MODE_TRUE= 12265 MAINTAINER_MODE_FALSE='#' 12266else 12267 MAINTAINER_MODE_TRUE='#' 12268 MAINTAINER_MODE_FALSE= 12269fi 12270 12271 MAINT=$MAINTAINER_MODE_TRUE 12272 12273 12274ac_config_headers="$ac_config_headers config.h" 12275 12276 12277 12278 12279# Check whether --with-mpt was given. 12280if test "${with_mpt+set}" = set; then : 12281 withval=$with_mpt; 12282fi 12283 12284if test "$with_mpt" != "" 12285then 12286 WITH_MPT=$with_mpt 12287 12288cat >>confdefs.h <<_ACEOF 12289#define MAX_PREVIEW_THREADS $with_mpt 12290_ACEOF 12291 12292 { $as_echo "$as_me:${as_lineno-$LINENO}: Maximum preview threads set to $with_mpt" >&5 12293$as_echo "$as_me: Maximum preview threads set to $with_mpt" >&6;} 12294else 12295 WITH_MPT=4 12296 12297cat >>confdefs.h <<_ACEOF 12298#define MAX_PREVIEW_THREADS 4 12299_ACEOF 12300 12301 { $as_echo "$as_me:${as_lineno-$LINENO}: Maximum preview threads set to 4" >&5 12302$as_echo "$as_me: Maximum preview threads set to 4" >&6;} 12303fi 12304 12305 12306SUMMARY="Advanced user search dialog" 12307HOMEPAGE="http://xffm.org/rodent-fgr.html" 12308 12309cat >>confdefs.h <<_ACEOF 12310#define HOMEPAGE "http://xffm.org/rodent-fgr.html" 12311_ACEOF 12312 12313 12314SRC_URI=http://sourceforge.net/projects/xffm/files/5.3.16.3/rodent-fgr-5.3.16.3.tar.gz 12315 12316LICENSE=" GNU General Public License version 3 " 12317 12318 12319cat >>confdefs.h <<_ACEOF 12320#define LICENSE " GNU General Public License version 3 " 12321_ACEOF 12322 12323 12324BUGMAIL="https://sourceforge.net/p/xffm/bugs/milestone/rodent-fgr/" 12325 12326 12327cat >>confdefs.h <<_ACEOF 12328#define BUGMAIL "https://sourceforge.net/p/xffm/bugs/milestone/rodent-fgr/" 12329_ACEOF 12330 12331MASTER_SITE=http://sourceforge.net/projects/xffm/files 12332 12333 12334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 12335$as_echo_n "checking for library containing strerror... " >&6; } 12336if ${ac_cv_search_strerror+:} false; then : 12337 $as_echo_n "(cached) " >&6 12338else 12339 ac_func_search_save_LIBS=$LIBS 12340cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12341/* end confdefs.h. */ 12342 12343/* Override any GCC internal prototype to avoid an error. 12344 Use char because int might match the return type of a GCC 12345 builtin and then its argument prototype would still apply. */ 12346#ifdef __cplusplus 12347extern "C" 12348#endif 12349char strerror (); 12350int 12351main () 12352{ 12353return strerror (); 12354 ; 12355 return 0; 12356} 12357_ACEOF 12358for ac_lib in '' cposix; do 12359 if test -z "$ac_lib"; then 12360 ac_res="none required" 12361 else 12362 ac_res=-l$ac_lib 12363 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 12364 fi 12365 if ac_fn_c_try_link "$LINENO"; then : 12366 ac_cv_search_strerror=$ac_res 12367fi 12368rm -f core conftest.err conftest.$ac_objext \ 12369 conftest$ac_exeext 12370 if ${ac_cv_search_strerror+:} false; then : 12371 break 12372fi 12373done 12374if ${ac_cv_search_strerror+:} false; then : 12375 12376else 12377 ac_cv_search_strerror=no 12378fi 12379rm conftest.$ac_ext 12380LIBS=$ac_func_search_save_LIBS 12381fi 12382{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5 12383$as_echo "$ac_cv_search_strerror" >&6; } 12384ac_res=$ac_cv_search_strerror 12385if test "$ac_res" != no; then : 12386 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 12387 12388fi 12389 12390 12391ac_ext=c 12392ac_cpp='$CPP $CPPFLAGS' 12393ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12394ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12395ac_compiler_gnu=$ac_cv_c_compiler_gnu 12396if test -n "$ac_tool_prefix"; then 12397 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 12398set dummy ${ac_tool_prefix}gcc; ac_word=$2 12399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12400$as_echo_n "checking for $ac_word... " >&6; } 12401if ${ac_cv_prog_CC+:} false; then : 12402 $as_echo_n "(cached) " >&6 12403else 12404 if test -n "$CC"; then 12405 ac_cv_prog_CC="$CC" # Let the user override the test. 12406else 12407as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12408for as_dir in $PATH 12409do 12410 IFS=$as_save_IFS 12411 test -z "$as_dir" && as_dir=. 12412 for ac_exec_ext in '' $ac_executable_extensions; do 12413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12414 ac_cv_prog_CC="${ac_tool_prefix}gcc" 12415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12416 break 2 12417 fi 12418done 12419 done 12420IFS=$as_save_IFS 12421 12422fi 12423fi 12424CC=$ac_cv_prog_CC 12425if test -n "$CC"; then 12426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 12427$as_echo "$CC" >&6; } 12428else 12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12430$as_echo "no" >&6; } 12431fi 12432 12433 12434fi 12435if test -z "$ac_cv_prog_CC"; then 12436 ac_ct_CC=$CC 12437 # Extract the first word of "gcc", so it can be a program name with args. 12438set dummy gcc; ac_word=$2 12439{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12440$as_echo_n "checking for $ac_word... " >&6; } 12441if ${ac_cv_prog_ac_ct_CC+:} false; then : 12442 $as_echo_n "(cached) " >&6 12443else 12444 if test -n "$ac_ct_CC"; then 12445 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 12446else 12447as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12448for as_dir in $PATH 12449do 12450 IFS=$as_save_IFS 12451 test -z "$as_dir" && as_dir=. 12452 for ac_exec_ext in '' $ac_executable_extensions; do 12453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12454 ac_cv_prog_ac_ct_CC="gcc" 12455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12456 break 2 12457 fi 12458done 12459 done 12460IFS=$as_save_IFS 12461 12462fi 12463fi 12464ac_ct_CC=$ac_cv_prog_ac_ct_CC 12465if test -n "$ac_ct_CC"; then 12466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 12467$as_echo "$ac_ct_CC" >&6; } 12468else 12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12470$as_echo "no" >&6; } 12471fi 12472 12473 if test "x$ac_ct_CC" = x; then 12474 CC="" 12475 else 12476 case $cross_compiling:$ac_tool_warned in 12477yes:) 12478{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12479$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12480ac_tool_warned=yes ;; 12481esac 12482 CC=$ac_ct_CC 12483 fi 12484else 12485 CC="$ac_cv_prog_CC" 12486fi 12487 12488if test -z "$CC"; then 12489 if test -n "$ac_tool_prefix"; then 12490 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 12491set dummy ${ac_tool_prefix}cc; ac_word=$2 12492{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12493$as_echo_n "checking for $ac_word... " >&6; } 12494if ${ac_cv_prog_CC+:} false; then : 12495 $as_echo_n "(cached) " >&6 12496else 12497 if test -n "$CC"; then 12498 ac_cv_prog_CC="$CC" # Let the user override the test. 12499else 12500as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12501for as_dir in $PATH 12502do 12503 IFS=$as_save_IFS 12504 test -z "$as_dir" && as_dir=. 12505 for ac_exec_ext in '' $ac_executable_extensions; do 12506 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12507 ac_cv_prog_CC="${ac_tool_prefix}cc" 12508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12509 break 2 12510 fi 12511done 12512 done 12513IFS=$as_save_IFS 12514 12515fi 12516fi 12517CC=$ac_cv_prog_CC 12518if test -n "$CC"; then 12519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 12520$as_echo "$CC" >&6; } 12521else 12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12523$as_echo "no" >&6; } 12524fi 12525 12526 12527 fi 12528fi 12529if test -z "$CC"; then 12530 # Extract the first word of "cc", so it can be a program name with args. 12531set dummy cc; ac_word=$2 12532{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12533$as_echo_n "checking for $ac_word... " >&6; } 12534if ${ac_cv_prog_CC+:} false; then : 12535 $as_echo_n "(cached) " >&6 12536else 12537 if test -n "$CC"; then 12538 ac_cv_prog_CC="$CC" # Let the user override the test. 12539else 12540 ac_prog_rejected=no 12541as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12542for as_dir in $PATH 12543do 12544 IFS=$as_save_IFS 12545 test -z "$as_dir" && as_dir=. 12546 for ac_exec_ext in '' $ac_executable_extensions; do 12547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12548 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 12549 ac_prog_rejected=yes 12550 continue 12551 fi 12552 ac_cv_prog_CC="cc" 12553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12554 break 2 12555 fi 12556done 12557 done 12558IFS=$as_save_IFS 12559 12560if test $ac_prog_rejected = yes; then 12561 # We found a bogon in the path, so make sure we never use it. 12562 set dummy $ac_cv_prog_CC 12563 shift 12564 if test $# != 0; then 12565 # We chose a different compiler from the bogus one. 12566 # However, it has the same basename, so the bogon will be chosen 12567 # first if we set CC to just the basename; use the full file name. 12568 shift 12569 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 12570 fi 12571fi 12572fi 12573fi 12574CC=$ac_cv_prog_CC 12575if test -n "$CC"; then 12576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 12577$as_echo "$CC" >&6; } 12578else 12579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12580$as_echo "no" >&6; } 12581fi 12582 12583 12584fi 12585if test -z "$CC"; then 12586 if test -n "$ac_tool_prefix"; then 12587 for ac_prog in cl.exe 12588 do 12589 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 12590set dummy $ac_tool_prefix$ac_prog; ac_word=$2 12591{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12592$as_echo_n "checking for $ac_word... " >&6; } 12593if ${ac_cv_prog_CC+:} false; then : 12594 $as_echo_n "(cached) " >&6 12595else 12596 if test -n "$CC"; then 12597 ac_cv_prog_CC="$CC" # Let the user override the test. 12598else 12599as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12600for as_dir in $PATH 12601do 12602 IFS=$as_save_IFS 12603 test -z "$as_dir" && as_dir=. 12604 for ac_exec_ext in '' $ac_executable_extensions; do 12605 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12606 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 12607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12608 break 2 12609 fi 12610done 12611 done 12612IFS=$as_save_IFS 12613 12614fi 12615fi 12616CC=$ac_cv_prog_CC 12617if test -n "$CC"; then 12618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 12619$as_echo "$CC" >&6; } 12620else 12621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12622$as_echo "no" >&6; } 12623fi 12624 12625 12626 test -n "$CC" && break 12627 done 12628fi 12629if test -z "$CC"; then 12630 ac_ct_CC=$CC 12631 for ac_prog in cl.exe 12632do 12633 # Extract the first word of "$ac_prog", so it can be a program name with args. 12634set dummy $ac_prog; ac_word=$2 12635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12636$as_echo_n "checking for $ac_word... " >&6; } 12637if ${ac_cv_prog_ac_ct_CC+:} false; then : 12638 $as_echo_n "(cached) " >&6 12639else 12640 if test -n "$ac_ct_CC"; then 12641 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 12642else 12643as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12644for as_dir in $PATH 12645do 12646 IFS=$as_save_IFS 12647 test -z "$as_dir" && as_dir=. 12648 for ac_exec_ext in '' $ac_executable_extensions; do 12649 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12650 ac_cv_prog_ac_ct_CC="$ac_prog" 12651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12652 break 2 12653 fi 12654done 12655 done 12656IFS=$as_save_IFS 12657 12658fi 12659fi 12660ac_ct_CC=$ac_cv_prog_ac_ct_CC 12661if test -n "$ac_ct_CC"; then 12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 12663$as_echo "$ac_ct_CC" >&6; } 12664else 12665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12666$as_echo "no" >&6; } 12667fi 12668 12669 12670 test -n "$ac_ct_CC" && break 12671done 12672 12673 if test "x$ac_ct_CC" = x; then 12674 CC="" 12675 else 12676 case $cross_compiling:$ac_tool_warned in 12677yes:) 12678{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12679$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12680ac_tool_warned=yes ;; 12681esac 12682 CC=$ac_ct_CC 12683 fi 12684fi 12685 12686fi 12687 12688 12689test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12690$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12691as_fn_error $? "no acceptable C compiler found in \$PATH 12692See \`config.log' for more details" "$LINENO" 5; } 12693 12694# Provide some information about the compiler. 12695$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 12696set X $ac_compile 12697ac_compiler=$2 12698for ac_option in --version -v -V -qversion; do 12699 { { ac_try="$ac_compiler $ac_option >&5" 12700case "(($ac_try" in 12701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12702 *) ac_try_echo=$ac_try;; 12703esac 12704eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 12705$as_echo "$ac_try_echo"; } >&5 12706 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 12707 ac_status=$? 12708 if test -s conftest.err; then 12709 sed '10a\ 12710... rest of stderr output deleted ... 12711 10q' conftest.err >conftest.er1 12712 cat conftest.er1 >&5 12713 fi 12714 rm -f conftest.er1 conftest.err 12715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12716 test $ac_status = 0; } 12717done 12718 12719{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 12720$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 12721if ${ac_cv_c_compiler_gnu+:} false; then : 12722 $as_echo_n "(cached) " >&6 12723else 12724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12725/* end confdefs.h. */ 12726 12727int 12728main () 12729{ 12730#ifndef __GNUC__ 12731 choke me 12732#endif 12733 12734 ; 12735 return 0; 12736} 12737_ACEOF 12738if ac_fn_c_try_compile "$LINENO"; then : 12739 ac_compiler_gnu=yes 12740else 12741 ac_compiler_gnu=no 12742fi 12743rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12744ac_cv_c_compiler_gnu=$ac_compiler_gnu 12745 12746fi 12747{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 12748$as_echo "$ac_cv_c_compiler_gnu" >&6; } 12749if test $ac_compiler_gnu = yes; then 12750 GCC=yes 12751else 12752 GCC= 12753fi 12754ac_test_CFLAGS=${CFLAGS+set} 12755ac_save_CFLAGS=$CFLAGS 12756{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 12757$as_echo_n "checking whether $CC accepts -g... " >&6; } 12758if ${ac_cv_prog_cc_g+:} false; then : 12759 $as_echo_n "(cached) " >&6 12760else 12761 ac_save_c_werror_flag=$ac_c_werror_flag 12762 ac_c_werror_flag=yes 12763 ac_cv_prog_cc_g=no 12764 CFLAGS="-g" 12765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12766/* end confdefs.h. */ 12767 12768int 12769main () 12770{ 12771 12772 ; 12773 return 0; 12774} 12775_ACEOF 12776if ac_fn_c_try_compile "$LINENO"; then : 12777 ac_cv_prog_cc_g=yes 12778else 12779 CFLAGS="" 12780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12781/* end confdefs.h. */ 12782 12783int 12784main () 12785{ 12786 12787 ; 12788 return 0; 12789} 12790_ACEOF 12791if ac_fn_c_try_compile "$LINENO"; then : 12792 12793else 12794 ac_c_werror_flag=$ac_save_c_werror_flag 12795 CFLAGS="-g" 12796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12797/* end confdefs.h. */ 12798 12799int 12800main () 12801{ 12802 12803 ; 12804 return 0; 12805} 12806_ACEOF 12807if ac_fn_c_try_compile "$LINENO"; then : 12808 ac_cv_prog_cc_g=yes 12809fi 12810rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12811fi 12812rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12813fi 12814rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12815 ac_c_werror_flag=$ac_save_c_werror_flag 12816fi 12817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 12818$as_echo "$ac_cv_prog_cc_g" >&6; } 12819if test "$ac_test_CFLAGS" = set; then 12820 CFLAGS=$ac_save_CFLAGS 12821elif test $ac_cv_prog_cc_g = yes; then 12822 if test "$GCC" = yes; then 12823 CFLAGS="-g -O2" 12824 else 12825 CFLAGS="-g" 12826 fi 12827else 12828 if test "$GCC" = yes; then 12829 CFLAGS="-O2" 12830 else 12831 CFLAGS= 12832 fi 12833fi 12834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 12835$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 12836if ${ac_cv_prog_cc_c89+:} false; then : 12837 $as_echo_n "(cached) " >&6 12838else 12839 ac_cv_prog_cc_c89=no 12840ac_save_CC=$CC 12841cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12842/* end confdefs.h. */ 12843#include <stdarg.h> 12844#include <stdio.h> 12845struct stat; 12846/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 12847struct buf { int x; }; 12848FILE * (*rcsopen) (struct buf *, struct stat *, int); 12849static char *e (p, i) 12850 char **p; 12851 int i; 12852{ 12853 return p[i]; 12854} 12855static char *f (char * (*g) (char **, int), char **p, ...) 12856{ 12857 char *s; 12858 va_list v; 12859 va_start (v,p); 12860 s = g (p, va_arg (v,int)); 12861 va_end (v); 12862 return s; 12863} 12864 12865/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 12866 function prototypes and stuff, but not '\xHH' hex character constants. 12867 These don't provoke an error unfortunately, instead are silently treated 12868 as 'x'. The following induces an error, until -std is added to get 12869 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 12870 array size at least. It's necessary to write '\x00'==0 to get something 12871 that's true only with -std. */ 12872int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 12873 12874/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 12875 inside strings and character constants. */ 12876#define FOO(x) 'x' 12877int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 12878 12879int test (int i, double x); 12880struct s1 {int (*f) (int a);}; 12881struct s2 {int (*f) (double a);}; 12882int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 12883int argc; 12884char **argv; 12885int 12886main () 12887{ 12888return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 12889 ; 12890 return 0; 12891} 12892_ACEOF 12893for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 12894 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 12895do 12896 CC="$ac_save_CC $ac_arg" 12897 if ac_fn_c_try_compile "$LINENO"; then : 12898 ac_cv_prog_cc_c89=$ac_arg 12899fi 12900rm -f core conftest.err conftest.$ac_objext 12901 test "x$ac_cv_prog_cc_c89" != "xno" && break 12902done 12903rm -f conftest.$ac_ext 12904CC=$ac_save_CC 12905 12906fi 12907# AC_CACHE_VAL 12908case "x$ac_cv_prog_cc_c89" in 12909 x) 12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 12911$as_echo "none needed" >&6; } ;; 12912 xno) 12913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 12914$as_echo "unsupported" >&6; } ;; 12915 *) 12916 CC="$CC $ac_cv_prog_cc_c89" 12917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 12918$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 12919esac 12920if test "x$ac_cv_prog_cc_c89" != xno; then : 12921 12922fi 12923 12924ac_ext=c 12925ac_cpp='$CPP $CPPFLAGS' 12926ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12927ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12928ac_compiler_gnu=$ac_cv_c_compiler_gnu 12929 12930ac_ext=c 12931ac_cpp='$CPP $CPPFLAGS' 12932ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12933ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12934ac_compiler_gnu=$ac_cv_c_compiler_gnu 12935{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 12936$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 12937if ${am_cv_prog_cc_c_o+:} false; then : 12938 $as_echo_n "(cached) " >&6 12939else 12940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12941/* end confdefs.h. */ 12942 12943int 12944main () 12945{ 12946 12947 ; 12948 return 0; 12949} 12950_ACEOF 12951 # Make sure it works both with $CC and with simple cc. 12952 # Following AC_PROG_CC_C_O, we do the test twice because some 12953 # compilers refuse to overwrite an existing .o file with -o, 12954 # though they will create one. 12955 am_cv_prog_cc_c_o=yes 12956 for am_i in 1 2; do 12957 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 12958 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 12959 ac_status=$? 12960 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12961 (exit $ac_status); } \ 12962 && test -f conftest2.$ac_objext; then 12963 : OK 12964 else 12965 am_cv_prog_cc_c_o=no 12966 break 12967 fi 12968 done 12969 rm -f core conftest* 12970 unset am_i 12971fi 12972{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 12973$as_echo "$am_cv_prog_cc_c_o" >&6; } 12974if test "$am_cv_prog_cc_c_o" != yes; then 12975 # Losing compiler, so override with the script. 12976 # FIXME: It is wrong to rewrite CC. 12977 # But if we don't then we get into trouble of one sort or another. 12978 # A longer-term fix would be to have automake use am__CC in this case, 12979 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 12980 CC="$am_aux_dir/compile $CC" 12981fi 12982ac_ext=c 12983ac_cpp='$CPP $CPPFLAGS' 12984ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12985ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12986ac_compiler_gnu=$ac_cv_c_compiler_gnu 12987 12988 12989 12990 12991 12992 12993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 12994$as_echo_n "checking whether NLS is requested... " >&6; } 12995 # Check whether --enable-nls was given. 12996if test "${enable_nls+set}" = set; then : 12997 enableval=$enable_nls; USE_NLS=$enableval 12998else 12999 USE_NLS=yes 13000fi 13001 13002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 13003$as_echo "$USE_NLS" >&6; } 13004 13005 13006 13007 13008case "$am__api_version" in 13009 1.01234) 13010 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 13011 ;; 13012 *) 13013 ;; 13014esac 13015 13016INTLTOOL_REQUIRED_VERSION_AS_INT=`echo | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 13017INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` 13018INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 13019if test -n ""; then 13020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= " >&5 13021$as_echo_n "checking for intltool >= ... " >&6; } 13022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 13023$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } 13024 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || 13025 as_fn_error $? "Your intltool is too old. You need intltool or later." "$LINENO" 5 13026fi 13027 13028# Extract the first word of "intltool-update", so it can be a program name with args. 13029set dummy intltool-update; ac_word=$2 13030{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13031$as_echo_n "checking for $ac_word... " >&6; } 13032if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then : 13033 $as_echo_n "(cached) " >&6 13034else 13035 case $INTLTOOL_UPDATE in 13036 [\\/]* | ?:[\\/]*) 13037 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. 13038 ;; 13039 *) 13040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13041for as_dir in $PATH 13042do 13043 IFS=$as_save_IFS 13044 test -z "$as_dir" && as_dir=. 13045 for ac_exec_ext in '' $ac_executable_extensions; do 13046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13047 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" 13048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13049 break 2 13050 fi 13051done 13052 done 13053IFS=$as_save_IFS 13054 13055 ;; 13056esac 13057fi 13058INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE 13059if test -n "$INTLTOOL_UPDATE"; then 13060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 13061$as_echo "$INTLTOOL_UPDATE" >&6; } 13062else 13063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13064$as_echo "no" >&6; } 13065fi 13066 13067 13068# Extract the first word of "intltool-merge", so it can be a program name with args. 13069set dummy intltool-merge; ac_word=$2 13070{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13071$as_echo_n "checking for $ac_word... " >&6; } 13072if ${ac_cv_path_INTLTOOL_MERGE+:} false; then : 13073 $as_echo_n "(cached) " >&6 13074else 13075 case $INTLTOOL_MERGE in 13076 [\\/]* | ?:[\\/]*) 13077 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. 13078 ;; 13079 *) 13080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13081for as_dir in $PATH 13082do 13083 IFS=$as_save_IFS 13084 test -z "$as_dir" && as_dir=. 13085 for ac_exec_ext in '' $ac_executable_extensions; do 13086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13087 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" 13088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13089 break 2 13090 fi 13091done 13092 done 13093IFS=$as_save_IFS 13094 13095 ;; 13096esac 13097fi 13098INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE 13099if test -n "$INTLTOOL_MERGE"; then 13100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 13101$as_echo "$INTLTOOL_MERGE" >&6; } 13102else 13103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13104$as_echo "no" >&6; } 13105fi 13106 13107 13108# Extract the first word of "intltool-extract", so it can be a program name with args. 13109set dummy intltool-extract; ac_word=$2 13110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13111$as_echo_n "checking for $ac_word... " >&6; } 13112if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then : 13113 $as_echo_n "(cached) " >&6 13114else 13115 case $INTLTOOL_EXTRACT in 13116 [\\/]* | ?:[\\/]*) 13117 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. 13118 ;; 13119 *) 13120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13121for as_dir in $PATH 13122do 13123 IFS=$as_save_IFS 13124 test -z "$as_dir" && as_dir=. 13125 for ac_exec_ext in '' $ac_executable_extensions; do 13126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13127 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" 13128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13129 break 2 13130 fi 13131done 13132 done 13133IFS=$as_save_IFS 13134 13135 ;; 13136esac 13137fi 13138INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT 13139if test -n "$INTLTOOL_EXTRACT"; then 13140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 13141$as_echo "$INTLTOOL_EXTRACT" >&6; } 13142else 13143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13144$as_echo "no" >&6; } 13145fi 13146 13147 13148if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then 13149 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 13150fi 13151 13152if test -z "$AM_DEFAULT_VERBOSITY"; then 13153 AM_DEFAULT_VERBOSITY=1 13154fi 13155 13156 13157INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' 13158INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' 13159INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;' 13160 13161 13162 13163 13164INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' 13165intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' 13166intltool__v_merge_options_0='-q' 13167 13168 13169 13170 13171 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 $< $@' 13172INTLTOOL_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 $< $@' 13173 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 $< $@' 13174 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 $< $@' 13175 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 $< $@' 13176 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 $< $@' 13177 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 $< $@' 13178 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 $< $@' 13179INTLTOOL_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 $< $@' 13180 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 $< $@' 13181 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 $< $@' 13182if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then 13183 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 $< $@' 13184else 13185 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' 13186fi 13187 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 $< $@' 13188 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 $< $@' 13189 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 $< $@' 13190 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 $< $@' 13191 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 $< $@' 13192 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 $< $@' 13193 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 $< $@' 13194 13195 13196 13197 13198 13199 13200 13201 13202 13203 13204 13205 13206 13207 13208 13209 13210 13211 13212 13213 13214 13215 13216 13217 13218 13219 13220 13221 13222 13223 13224 13225 13226 13227 13228 13229 13230 13231 13232 13233 13234 13235 13236 13237 13238 13239 13240 13241 13242 13243 13244 13245 13246 13247 13248 13249 13250 13251 13252 13253 13254 13255 13256 13257 13258 13259 13260 13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 13271 13272 13273 13274 13275 13276 13277 13278 13279 13280 13281 13282 13283 13284 13285 13286 13287 13288 13289 13290 13291# Check the gettext tools to make sure they are GNU 13292# Extract the first word of "xgettext", so it can be a program name with args. 13293set dummy xgettext; ac_word=$2 13294{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13295$as_echo_n "checking for $ac_word... " >&6; } 13296if ${ac_cv_path_XGETTEXT+:} false; then : 13297 $as_echo_n "(cached) " >&6 13298else 13299 case $XGETTEXT in 13300 [\\/]* | ?:[\\/]*) 13301 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 13302 ;; 13303 *) 13304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13305for as_dir in $PATH 13306do 13307 IFS=$as_save_IFS 13308 test -z "$as_dir" && as_dir=. 13309 for ac_exec_ext in '' $ac_executable_extensions; do 13310 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13311 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" 13312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13313 break 2 13314 fi 13315done 13316 done 13317IFS=$as_save_IFS 13318 13319 ;; 13320esac 13321fi 13322XGETTEXT=$ac_cv_path_XGETTEXT 13323if test -n "$XGETTEXT"; then 13324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 13325$as_echo "$XGETTEXT" >&6; } 13326else 13327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13328$as_echo "no" >&6; } 13329fi 13330 13331 13332# Extract the first word of "msgmerge", so it can be a program name with args. 13333set dummy msgmerge; ac_word=$2 13334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13335$as_echo_n "checking for $ac_word... " >&6; } 13336if ${ac_cv_path_MSGMERGE+:} false; then : 13337 $as_echo_n "(cached) " >&6 13338else 13339 case $MSGMERGE in 13340 [\\/]* | ?:[\\/]*) 13341 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 13342 ;; 13343 *) 13344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13345for as_dir in $PATH 13346do 13347 IFS=$as_save_IFS 13348 test -z "$as_dir" && as_dir=. 13349 for ac_exec_ext in '' $ac_executable_extensions; do 13350 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13351 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" 13352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13353 break 2 13354 fi 13355done 13356 done 13357IFS=$as_save_IFS 13358 13359 ;; 13360esac 13361fi 13362MSGMERGE=$ac_cv_path_MSGMERGE 13363if test -n "$MSGMERGE"; then 13364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 13365$as_echo "$MSGMERGE" >&6; } 13366else 13367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13368$as_echo "no" >&6; } 13369fi 13370 13371 13372# Extract the first word of "msgfmt", so it can be a program name with args. 13373set dummy msgfmt; ac_word=$2 13374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13375$as_echo_n "checking for $ac_word... " >&6; } 13376if ${ac_cv_path_MSGFMT+:} false; then : 13377 $as_echo_n "(cached) " >&6 13378else 13379 case $MSGFMT in 13380 [\\/]* | ?:[\\/]*) 13381 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 13382 ;; 13383 *) 13384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13385for as_dir in $PATH 13386do 13387 IFS=$as_save_IFS 13388 test -z "$as_dir" && as_dir=. 13389 for ac_exec_ext in '' $ac_executable_extensions; do 13390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13391 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" 13392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13393 break 2 13394 fi 13395done 13396 done 13397IFS=$as_save_IFS 13398 13399 ;; 13400esac 13401fi 13402MSGFMT=$ac_cv_path_MSGFMT 13403if test -n "$MSGFMT"; then 13404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 13405$as_echo "$MSGFMT" >&6; } 13406else 13407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13408$as_echo "no" >&6; } 13409fi 13410 13411 13412# Extract the first word of "gmsgfmt", so it can be a program name with args. 13413set dummy gmsgfmt; ac_word=$2 13414{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13415$as_echo_n "checking for $ac_word... " >&6; } 13416if ${ac_cv_path_GMSGFMT+:} false; then : 13417 $as_echo_n "(cached) " >&6 13418else 13419 case $GMSGFMT in 13420 [\\/]* | ?:[\\/]*) 13421 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 13422 ;; 13423 *) 13424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13425for as_dir in $PATH 13426do 13427 IFS=$as_save_IFS 13428 test -z "$as_dir" && as_dir=. 13429 for ac_exec_ext in '' $ac_executable_extensions; do 13430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13431 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 13432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13433 break 2 13434 fi 13435done 13436 done 13437IFS=$as_save_IFS 13438 13439 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 13440 ;; 13441esac 13442fi 13443GMSGFMT=$ac_cv_path_GMSGFMT 13444if test -n "$GMSGFMT"; then 13445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 13446$as_echo "$GMSGFMT" >&6; } 13447else 13448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13449$as_echo "no" >&6; } 13450fi 13451 13452 13453if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then 13454 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 13455fi 13456xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" 13457mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" 13458mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" 13459if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then 13460 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 13461fi 13462 13463# Extract the first word of "perl", so it can be a program name with args. 13464set dummy perl; ac_word=$2 13465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13466$as_echo_n "checking for $ac_word... " >&6; } 13467if ${ac_cv_path_INTLTOOL_PERL+:} false; then : 13468 $as_echo_n "(cached) " >&6 13469else 13470 case $INTLTOOL_PERL in 13471 [\\/]* | ?:[\\/]*) 13472 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. 13473 ;; 13474 *) 13475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13476for as_dir in $PATH 13477do 13478 IFS=$as_save_IFS 13479 test -z "$as_dir" && as_dir=. 13480 for ac_exec_ext in '' $ac_executable_extensions; do 13481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13482 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" 13483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13484 break 2 13485 fi 13486done 13487 done 13488IFS=$as_save_IFS 13489 13490 ;; 13491esac 13492fi 13493INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL 13494if test -n "$INTLTOOL_PERL"; then 13495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 13496$as_echo "$INTLTOOL_PERL" >&6; } 13497else 13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13499$as_echo "no" >&6; } 13500fi 13501 13502 13503if test -z "$INTLTOOL_PERL"; then 13504 as_fn_error $? "perl not found" "$LINENO" 5 13505fi 13506{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 13507$as_echo_n "checking for perl >= 5.8.1... " >&6; } 13508$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 13509if test $? -ne 0; then 13510 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 13511else 13512 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` 13513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 13514$as_echo "$IT_PERL_VERSION" >&6; } 13515fi 13516if test "x" != "xno-xml"; then 13517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 13518$as_echo_n "checking for XML::Parser... " >&6; } 13519 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then 13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 13521$as_echo "ok" >&6; } 13522 else 13523 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 13524 fi 13525fi 13526 13527# Substitute ALL_LINGUAS so we can use it in po/Makefile 13528 13529 13530# Set DATADIRNAME correctly if it is not set yet 13531# (copied from glib-gettext.m4) 13532if test -z "$DATADIRNAME"; then 13533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13534/* end confdefs.h. */ 13535 13536int 13537main () 13538{ 13539extern int _nl_msg_cat_cntr; 13540 return _nl_msg_cat_cntr 13541 ; 13542 return 0; 13543} 13544_ACEOF 13545if ac_fn_c_try_link "$LINENO"; then : 13546 DATADIRNAME=share 13547else 13548 case $host in 13549 *-*-solaris*) 13550 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 13551if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 13552 DATADIRNAME=share 13553else 13554 DATADIRNAME=lib 13555fi 13556 13557 ;; 13558 *) 13559 DATADIRNAME=lib 13560 ;; 13561 esac 13562fi 13563rm -f core conftest.err conftest.$ac_objext \ 13564 conftest$ac_exeext conftest.$ac_ext 13565fi 13566 13567 13568 13569 13570 13571{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 13572$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 13573set x ${MAKE-make} 13574ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 13575if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 13576 $as_echo_n "(cached) " >&6 13577else 13578 cat >conftest.make <<\_ACEOF 13579SHELL = /bin/sh 13580all: 13581 @echo '@@@%%%=$(MAKE)=@@@%%%' 13582_ACEOF 13583# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 13584case `${MAKE-make} -f conftest.make 2>/dev/null` in 13585 *@@@%%%=?*=@@@%%%*) 13586 eval ac_cv_prog_make_${ac_make}_set=yes;; 13587 *) 13588 eval ac_cv_prog_make_${ac_make}_set=no;; 13589esac 13590rm -f conftest.make 13591fi 13592if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13594$as_echo "yes" >&6; } 13595 SET_MAKE= 13596else 13597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13598$as_echo "no" >&6; } 13599 SET_MAKE="MAKE=${MAKE-make}" 13600fi 13601 13602 13603{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5 13604$as_echo_n "checking whether sys/types.h defines makedev... " >&6; } 13605if ${ac_cv_header_sys_types_h_makedev+:} false; then : 13606 $as_echo_n "(cached) " >&6 13607else 13608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13609/* end confdefs.h. */ 13610#include <sys/types.h> 13611int 13612main () 13613{ 13614return makedev(0, 0); 13615 ; 13616 return 0; 13617} 13618_ACEOF 13619if ac_fn_c_try_link "$LINENO"; then : 13620 ac_cv_header_sys_types_h_makedev=yes 13621else 13622 ac_cv_header_sys_types_h_makedev=no 13623fi 13624rm -f core conftest.err conftest.$ac_objext \ 13625 conftest$ac_exeext conftest.$ac_ext 13626 13627fi 13628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5 13629$as_echo "$ac_cv_header_sys_types_h_makedev" >&6; } 13630 13631if test $ac_cv_header_sys_types_h_makedev = no; then 13632ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default" 13633if test "x$ac_cv_header_sys_mkdev_h" = xyes; then : 13634 13635$as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h 13636 13637fi 13638 13639 13640 13641 if test $ac_cv_header_sys_mkdev_h = no; then 13642 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default" 13643if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then : 13644 13645$as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h 13646 13647fi 13648 13649 13650 fi 13651fi 13652 13653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 13654$as_echo_n "checking for ANSI C header files... " >&6; } 13655if ${ac_cv_header_stdc+:} false; then : 13656 $as_echo_n "(cached) " >&6 13657else 13658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13659/* end confdefs.h. */ 13660#include <stdlib.h> 13661#include <stdarg.h> 13662#include <string.h> 13663#include <float.h> 13664 13665int 13666main () 13667{ 13668 13669 ; 13670 return 0; 13671} 13672_ACEOF 13673if ac_fn_c_try_compile "$LINENO"; then : 13674 ac_cv_header_stdc=yes 13675else 13676 ac_cv_header_stdc=no 13677fi 13678rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13679 13680if test $ac_cv_header_stdc = yes; then 13681 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 13682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13683/* end confdefs.h. */ 13684#include <string.h> 13685 13686_ACEOF 13687if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13688 $EGREP "memchr" >/dev/null 2>&1; then : 13689 13690else 13691 ac_cv_header_stdc=no 13692fi 13693rm -f conftest* 13694 13695fi 13696 13697if test $ac_cv_header_stdc = yes; then 13698 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 13699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13700/* end confdefs.h. */ 13701#include <stdlib.h> 13702 13703_ACEOF 13704if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13705 $EGREP "free" >/dev/null 2>&1; then : 13706 13707else 13708 ac_cv_header_stdc=no 13709fi 13710rm -f conftest* 13711 13712fi 13713 13714if test $ac_cv_header_stdc = yes; then 13715 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 13716 if test "$cross_compiling" = yes; then : 13717 : 13718else 13719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13720/* end confdefs.h. */ 13721#include <ctype.h> 13722#include <stdlib.h> 13723#if ((' ' & 0x0FF) == 0x020) 13724# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 13725# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 13726#else 13727# define ISLOWER(c) \ 13728 (('a' <= (c) && (c) <= 'i') \ 13729 || ('j' <= (c) && (c) <= 'r') \ 13730 || ('s' <= (c) && (c) <= 'z')) 13731# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 13732#endif 13733 13734#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 13735int 13736main () 13737{ 13738 int i; 13739 for (i = 0; i < 256; i++) 13740 if (XOR (islower (i), ISLOWER (i)) 13741 || toupper (i) != TOUPPER (i)) 13742 return 2; 13743 return 0; 13744} 13745_ACEOF 13746if ac_fn_c_try_run "$LINENO"; then : 13747 13748else 13749 ac_cv_header_stdc=no 13750fi 13751rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 13752 conftest.$ac_objext conftest.beam conftest.$ac_ext 13753fi 13754 13755fi 13756fi 13757{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 13758$as_echo "$ac_cv_header_stdc" >&6; } 13759if test $ac_cv_header_stdc = yes; then 13760 13761$as_echo "#define STDC_HEADERS 1" >>confdefs.h 13762 13763fi 13764 13765 13766for ac_header in stdarg.h varargs.h features.h rodent.h rfm_modules.h 13767do : 13768 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13769ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 13770if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 13771 cat >>confdefs.h <<_ACEOF 13772#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13773_ACEOF 13774 13775fi 13776 13777done 13778 13779 13780 13781# Extract the first word of "pkg-config", so it can be a program name with args. 13782set dummy pkg-config; ac_word=$2 13783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13784$as_echo_n "checking for $ac_word... " >&6; } 13785if ${ac_cv_prog_cv_pkgconfig+:} false; then : 13786 $as_echo_n "(cached) " >&6 13787else 13788 if test -n "$cv_pkgconfig"; then 13789 ac_cv_prog_cv_pkgconfig="$cv_pkgconfig" # Let the user override the test. 13790else 13791as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13792for as_dir in $PATH 13793do 13794 IFS=$as_save_IFS 13795 test -z "$as_dir" && as_dir=. 13796 for ac_exec_ext in '' $ac_executable_extensions; do 13797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13798 ac_cv_prog_cv_pkgconfig="yes" 13799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13800 break 2 13801 fi 13802done 13803 done 13804IFS=$as_save_IFS 13805 13806 test -z "$ac_cv_prog_cv_pkgconfig" && ac_cv_prog_cv_pkgconfig="no" 13807fi 13808fi 13809cv_pkgconfig=$ac_cv_prog_cv_pkgconfig 13810if test -n "$cv_pkgconfig"; then 13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cv_pkgconfig" >&5 13812$as_echo "$cv_pkgconfig" >&6; } 13813else 13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13815$as_echo "no" >&6; } 13816fi 13817 13818 13819for ac_prog in intltoolize 13820do 13821 # Extract the first word of "$ac_prog", so it can be a program name with args. 13822set dummy $ac_prog; ac_word=$2 13823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13824$as_echo_n "checking for $ac_word... " >&6; } 13825if ${ac_cv_prog_intltoolize+:} false; then : 13826 $as_echo_n "(cached) " >&6 13827else 13828 if test -n "$intltoolize"; then 13829 ac_cv_prog_intltoolize="$intltoolize" # Let the user override the test. 13830else 13831as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13832for as_dir in $PATH 13833do 13834 IFS=$as_save_IFS 13835 test -z "$as_dir" && as_dir=. 13836 for ac_exec_ext in '' $ac_executable_extensions; do 13837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13838 ac_cv_prog_intltoolize="$ac_prog" 13839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13840 break 2 13841 fi 13842done 13843 done 13844IFS=$as_save_IFS 13845 13846fi 13847fi 13848intltoolize=$ac_cv_prog_intltoolize 13849if test -n "$intltoolize"; then 13850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $intltoolize" >&5 13851$as_echo "$intltoolize" >&6; } 13852else 13853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13854$as_echo "no" >&6; } 13855fi 13856 13857 13858 test -n "$intltoolize" && break 13859done 13860test -n "$intltoolize" || intltoolize="no" 13861 13862if test $intltoolize = "no" ; then 13863 as_fn_error $? "\"intltool utilities not found. Please install intltool to build this rodent-fgr from source.\"" "$LINENO" 5; 13864fi 13865for ac_prog in gawk 13866do 13867 # Extract the first word of "$ac_prog", so it can be a program name with args. 13868set dummy $ac_prog; ac_word=$2 13869{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13870$as_echo_n "checking for $ac_word... " >&6; } 13871if ${ac_cv_prog_gawk+:} false; then : 13872 $as_echo_n "(cached) " >&6 13873else 13874 if test -n "$gawk"; then 13875 ac_cv_prog_gawk="$gawk" # Let the user override the test. 13876else 13877as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13878for as_dir in $PATH 13879do 13880 IFS=$as_save_IFS 13881 test -z "$as_dir" && as_dir=. 13882 for ac_exec_ext in '' $ac_executable_extensions; do 13883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13884 ac_cv_prog_gawk="$ac_prog" 13885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13886 break 2 13887 fi 13888done 13889 done 13890IFS=$as_save_IFS 13891 13892fi 13893fi 13894gawk=$ac_cv_prog_gawk 13895if test -n "$gawk"; then 13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gawk" >&5 13897$as_echo "$gawk" >&6; } 13898else 13899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13900$as_echo "no" >&6; } 13901fi 13902 13903 13904 test -n "$gawk" && break 13905done 13906test -n "$gawk" || gawk="no" 13907 13908if test $gawk = "no" ; then 13909 as_fn_error $? "\"gawk program not found. Please install gawk to build this rodent-fgr from source.\"" "$LINENO" 5; 13910fi 13911 13912 13913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Linux or BSD" >&5 13914$as_echo_n "checking for Linux or BSD... " >&6; } 13915#echo "system: $ac_uname_s" 13916os=`uname -a | grep BSD` 13917if test x"$os" == x ; then 13918 os=`uname -a | grep DragonFly` 13919fi 13920 13921if test x"$os" != x ; then 13922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: System is BSD." >&5 13923$as_echo "System is BSD." >&6; } 13924 rodentman1dir=${prefix}/man/man1 13925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gmake" >&5 13926$as_echo_n "checking for gmake... " >&6; }; 13927 result_gmake=`gmake --version` 13928 if test x"${result_gmake}" = x; then 13929 as_fn_error $? "GNU make (gmake) not found! Please install and then rerun configure." "$LINENO" 5 13930 else 13931 echo "$result_gmake" 13932 fi 13933 13934cat >>confdefs.h <<_ACEOF 13935#define THIS_IS_BSD 1 13936_ACEOF 13937 13938# In FreeBSD gettext is in /usr/local 13939 CFLAGS="$CFLAGS -I/usr/local/include" 13940 LDFLAGS="$LDFLAGS -L/usr/local/lib" 13941else 13942 rodentman1dir=${mandir}/man1 13943 ac_uname_s=`uname -s` 13944 if test "$ac_uname_s" = "Linux" ; then 13945 13946cat >>confdefs.h <<_ACEOF 13947#define THIS_IS_LINUX 1 13948_ACEOF 13949 13950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: System is Linux." >&5 13951$as_echo "System is Linux." >&6; } 13952 else 13953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not Linux." >&5 13954$as_echo "Not Linux." >&6; } 13955 fi 13956 CFLAGS="$CFLAGS" 13957 LDFLAGS="$LDFLAGS" 13958fi 13959ac_uname_s=`uname -s` 13960 UNAME_S=$ac_uname_s 13961 if test x"$os" != x ; then 13962 WANT_FREEBSD_TRUE= 13963 WANT_FREEBSD_FALSE='#' 13964else 13965 WANT_FREEBSD_TRUE='#' 13966 WANT_FREEBSD_FALSE= 13967fi 13968 13969 13970 13971 if test "$ac_uname_s" = "Linux"; then 13972 ONLY_LINUX_TRUE= 13973 ONLY_LINUX_FALSE='#' 13974else 13975 ONLY_LINUX_TRUE='#' 13976 ONLY_LINUX_FALSE= 13977fi 13978 13979 13980{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU Awk" >&5 13981$as_echo_n "checking for GNU Awk... " >&6; } 13982GAWK_VERSION=`gawk --version` 13983INDEX=`expr "$GAWK_VERSION" : "GNU Awk"` 13984#echo "INDEX=$INDEX" 13985if test $INDEX -gt 0 ; then 13986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU gawk found" >&5 13987$as_echo "GNU gawk found" >&6; } 13988else 13989 as_fn_error $? "GNU gawk not found! Please install and then rerun configure." "$LINENO" 5 13990fi 13991 13992 13993 13994{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU grep" >&5 13995$as_echo_n "checking for GNU grep... " >&6; } 13996GAWK_VERSION=`grep --version` 13997INDEX=`expr "$GAWK_VERSION" : ".*GNU"` 13998 13999if test $INDEX -gt 0 ; then 14000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU grep found" >&5 14001$as_echo "GNU grep found" >&6; } 14002 GNU_GREP=1 14003 WITH_GNU_GREP=yes 14004 14005 14006cat >>confdefs.h <<_ACEOF 14007#define GNU_GREP $GNU_GREP 14008_ACEOF 14009 14010else 14011 WITH_GNU_GREP=no 14012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: grep is not GNU. Some features will be define by BSD!" >&5 14013$as_echo "grep is not GNU. Some features will be define by BSD!" >&6; } 14014fi 14015 14016 14017 14018if test "$ac_uname_s" = "Linux"; then 14019 CFLAGS="$CFLAGS" 14020 LDFLAGS="$LDFLAGS" 14021else 14022 CFLAGS="$CFLAGS -I/usr/local/include" 14023fi 14024 14025# Configurable options at script execution 14026# Enable Debug option (implies core dumps) 14027 14028 14029# Check whether --with-debug was given. 14030if test "${with_debug+set}" = set; then : 14031 withval=$with_debug; 14032fi 14033 14034if test "$with_debug" = "yes" 14035then 14036 WITH_CORE=yes 14037 14038 14039cat >>confdefs.h <<_ACEOF 14040#define CORE $with_core 14041_ACEOF 14042 14043 WITH_DEBUG=yes 14044 14045 14046cat >>confdefs.h <<_ACEOF 14047#define DEBUG $with_debug 14048_ACEOF 14049 14050 { $as_echo "$as_me:${as_lineno-$LINENO}: You enabled debug. Good for you." >&5 14051$as_echo "$as_me: You enabled debug. Good for you." >&6;} 14052 DB=--with-debug 14053 CFLAGS="-O0 -ggdb" 14054elif test "$with_debug" != "" 14055then 14056 WITH_CORE=yes 14057 14058 14059cat >>confdefs.h <<_ACEOF 14060#define CORE $with_core 14061_ACEOF 14062 14063 WITH_DEBUG=yes 14064 { $as_echo "$as_me:${as_lineno-$LINENO}: Your specific kind of debug is $with_debug" >&5 14065$as_echo "$as_me: Your specific kind of debug is $with_debug" >&6;} 14066 14067 14068cat >>confdefs.h <<_ACEOF 14069#define DEBUG $with_debug 14070_ACEOF 14071 14072 CFLAGS="-O0 -ggdb" 14073 14074else 14075 WITH_DEBUG=no 14076 { $as_echo "$as_me:${as_lineno-$LINENO}: No debug for you." >&5 14077$as_echo "$as_me: No debug for you." >&6;} 14078 CFLAGS="-O2" 14079fi 14080 14081 14082# Enable Trace option (use with care) 14083 14084 14085# Check whether --with-trace was given. 14086if test "${with_trace+set}" = set; then : 14087 withval=$with_trace; 14088fi 14089 14090if test "$with_trace" = "yes" 14091then 14092 WITH_CORE=yes 14093 14094 14095cat >>confdefs.h <<_ACEOF 14096#define CORE $with_core 14097_ACEOF 14098 14099 { $as_echo "$as_me:${as_lineno-$LINENO}: You enabled trace. Good for you." >&5 14100$as_echo "$as_me: You enabled trace. Good for you." >&6;} 14101 WITH_TRACE=yes 14102 DEBUG_TRACE=yes 14103 14104 14105cat >>confdefs.h <<_ACEOF 14106#define DEBUG_TRACE $with_trace 14107_ACEOF 14108 14109 TR=--with-trace 14110elif test "$with_trace" != "" 14111then 14112 WITH_CORE=yes 14113 14114 14115cat >>confdefs.h <<_ACEOF 14116#define CORE $with_core 14117_ACEOF 14118 14119 WITH_TRACE=yes 14120 DEBUG_TRACE=yes 14121 14122 14123cat >>confdefs.h <<_ACEOF 14124#define DEBUG_TRACE $with_trace 14125_ACEOF 14126 14127 { $as_echo "$as_me:${as_lineno-$LINENO}: Your specific kind of trace is $with_trace" >&5 14128$as_echo "$as_me: Your specific kind of trace is $with_trace" >&6;} 14129else 14130 WITH_TRACE=no 14131 14132 { $as_echo "$as_me:${as_lineno-$LINENO}: No trace for you." >&5 14133$as_echo "$as_me: No trace for you." >&6;} 14134fi 14135 14136# Enable core dumps option 14137 14138 14139# Check whether --with-core was given. 14140if test "${with_core+set}" = set; then : 14141 withval=$with_core; 14142fi 14143 14144if test "$with_core" = "yes" 14145then 14146 WITH_CORE=yes 14147 14148 14149cat >>confdefs.h <<_ACEOF 14150#define CORE $with_core 14151_ACEOF 14152 14153 { $as_echo "$as_me:${as_lineno-$LINENO}: You enabled core dumps. Good for you." >&5 14154$as_echo "$as_me: You enabled core dumps. Good for you." >&6;} 14155 CFLAGS="-O0 -ggdb" 14156elif test "$with_core" != "" 14157then 14158 WITH_CORE=yes 14159 { $as_echo "$as_me:${as_lineno-$LINENO}: Your specific kind of core dumps is $with_core" >&5 14160$as_echo "$as_me: Your specific kind of core dumps is $with_core" >&6;} 14161 14162 14163cat >>confdefs.h <<_ACEOF 14164#define CORE $with_core 14165_ACEOF 14166 14167 CFLAGS="-O0 -ggdb" 14168 14169else 14170 WITH_CORE=no 14171 { $as_echo "$as_me:${as_lineno-$LINENO}: No core dumps for you." >&5 14172$as_echo "$as_me: No core dumps for you." >&6;} 14173fi 14174 14175 14176 14177linguas="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" 14178 14179 GETTEXT_PACKAGE=rodent-fgr 14180 14181cat >>confdefs.h <<_ACEOF 14182#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" 14183_ACEOF 14184 14185 14186 14187 ALL_LINGUAS="$linguas" 14188 14189 for ac_header in locale.h 14190do : 14191 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" 14192if test "x$ac_cv_header_locale_h" = xyes; then : 14193 cat >>confdefs.h <<_ACEOF 14194#define HAVE_LOCALE_H 1 14195_ACEOF 14196 14197fi 14198 14199done 14200 14201 if test $ac_cv_header_locale_h = yes; then 14202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 14203$as_echo_n "checking for LC_MESSAGES... " >&6; } 14204if ${am_cv_val_LC_MESSAGES+:} false; then : 14205 $as_echo_n "(cached) " >&6 14206else 14207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14208/* end confdefs.h. */ 14209#include <locale.h> 14210int 14211main () 14212{ 14213return LC_MESSAGES 14214 ; 14215 return 0; 14216} 14217_ACEOF 14218if ac_fn_c_try_link "$LINENO"; then : 14219 am_cv_val_LC_MESSAGES=yes 14220else 14221 am_cv_val_LC_MESSAGES=no 14222fi 14223rm -f core conftest.err conftest.$ac_objext \ 14224 conftest$ac_exeext conftest.$ac_ext 14225fi 14226{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5 14227$as_echo "$am_cv_val_LC_MESSAGES" >&6; } 14228 if test $am_cv_val_LC_MESSAGES = yes; then 14229 14230$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h 14231 14232 fi 14233 fi 14234 USE_NLS=yes 14235 14236 14237 gt_cv_have_gettext=no 14238 14239 CATOBJEXT=NONE 14240 XGETTEXT=: 14241 INTLLIBS= 14242 14243 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" 14244if test "x$ac_cv_header_libintl_h" = xyes; then : 14245 gt_cv_func_dgettext_libintl="no" 14246 libintl_extra_libs="" 14247 14248 # 14249 # First check in libc 14250 # 14251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5 14252$as_echo_n "checking for ngettext in libc... " >&6; } 14253if ${gt_cv_func_ngettext_libc+:} false; then : 14254 $as_echo_n "(cached) " >&6 14255else 14256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14257/* end confdefs.h. */ 14258 14259#include <libintl.h> 14260 14261int 14262main () 14263{ 14264return !ngettext ("","", 1) 14265 ; 14266 return 0; 14267} 14268_ACEOF 14269if ac_fn_c_try_link "$LINENO"; then : 14270 gt_cv_func_ngettext_libc=yes 14271else 14272 gt_cv_func_ngettext_libc=no 14273fi 14274rm -f core conftest.err conftest.$ac_objext \ 14275 conftest$ac_exeext conftest.$ac_ext 14276 14277fi 14278{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5 14279$as_echo "$gt_cv_func_ngettext_libc" >&6; } 14280 14281 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 14282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5 14283$as_echo_n "checking for dgettext in libc... " >&6; } 14284if ${gt_cv_func_dgettext_libc+:} false; then : 14285 $as_echo_n "(cached) " >&6 14286else 14287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14288/* end confdefs.h. */ 14289 14290#include <libintl.h> 14291 14292int 14293main () 14294{ 14295return !dgettext ("","") 14296 ; 14297 return 0; 14298} 14299_ACEOF 14300if ac_fn_c_try_link "$LINENO"; then : 14301 gt_cv_func_dgettext_libc=yes 14302else 14303 gt_cv_func_dgettext_libc=no 14304fi 14305rm -f core conftest.err conftest.$ac_objext \ 14306 conftest$ac_exeext conftest.$ac_ext 14307 14308fi 14309{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5 14310$as_echo "$gt_cv_func_dgettext_libc" >&6; } 14311 fi 14312 14313 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 14314 for ac_func in bind_textdomain_codeset 14315do : 14316 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 14317if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 14318 cat >>confdefs.h <<_ACEOF 14319#define HAVE_BIND_TEXTDOMAIN_CODESET 1 14320_ACEOF 14321 14322fi 14323done 14324 14325 fi 14326 14327 # 14328 # If we don't have everything we want, check in libintl 14329 # 14330 if test "$gt_cv_func_dgettext_libc" != "yes" \ 14331 || test "$gt_cv_func_ngettext_libc" != "yes" \ 14332 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then 14333 14334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 14335$as_echo_n "checking for bindtextdomain in -lintl... " >&6; } 14336if ${ac_cv_lib_intl_bindtextdomain+:} false; then : 14337 $as_echo_n "(cached) " >&6 14338else 14339 ac_check_lib_save_LIBS=$LIBS 14340LIBS="-lintl $LIBS" 14341cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14342/* end confdefs.h. */ 14343 14344/* Override any GCC internal prototype to avoid an error. 14345 Use char because int might match the return type of a GCC 14346 builtin and then its argument prototype would still apply. */ 14347#ifdef __cplusplus 14348extern "C" 14349#endif 14350char bindtextdomain (); 14351int 14352main () 14353{ 14354return bindtextdomain (); 14355 ; 14356 return 0; 14357} 14358_ACEOF 14359if ac_fn_c_try_link "$LINENO"; then : 14360 ac_cv_lib_intl_bindtextdomain=yes 14361else 14362 ac_cv_lib_intl_bindtextdomain=no 14363fi 14364rm -f core conftest.err conftest.$ac_objext \ 14365 conftest$ac_exeext conftest.$ac_ext 14366LIBS=$ac_check_lib_save_LIBS 14367fi 14368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 14369$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } 14370if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then : 14371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 14372$as_echo_n "checking for ngettext in -lintl... " >&6; } 14373if ${ac_cv_lib_intl_ngettext+:} false; then : 14374 $as_echo_n "(cached) " >&6 14375else 14376 ac_check_lib_save_LIBS=$LIBS 14377LIBS="-lintl $LIBS" 14378cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14379/* end confdefs.h. */ 14380 14381/* Override any GCC internal prototype to avoid an error. 14382 Use char because int might match the return type of a GCC 14383 builtin and then its argument prototype would still apply. */ 14384#ifdef __cplusplus 14385extern "C" 14386#endif 14387char ngettext (); 14388int 14389main () 14390{ 14391return ngettext (); 14392 ; 14393 return 0; 14394} 14395_ACEOF 14396if ac_fn_c_try_link "$LINENO"; then : 14397 ac_cv_lib_intl_ngettext=yes 14398else 14399 ac_cv_lib_intl_ngettext=no 14400fi 14401rm -f core conftest.err conftest.$ac_objext \ 14402 conftest$ac_exeext conftest.$ac_ext 14403LIBS=$ac_check_lib_save_LIBS 14404fi 14405{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 14406$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 14407if test "x$ac_cv_lib_intl_ngettext" = xyes; then : 14408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 14409$as_echo_n "checking for dgettext in -lintl... " >&6; } 14410if ${ac_cv_lib_intl_dgettext+:} false; then : 14411 $as_echo_n "(cached) " >&6 14412else 14413 ac_check_lib_save_LIBS=$LIBS 14414LIBS="-lintl $LIBS" 14415cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14416/* end confdefs.h. */ 14417 14418/* Override any GCC internal prototype to avoid an error. 14419 Use char because int might match the return type of a GCC 14420 builtin and then its argument prototype would still apply. */ 14421#ifdef __cplusplus 14422extern "C" 14423#endif 14424char dgettext (); 14425int 14426main () 14427{ 14428return dgettext (); 14429 ; 14430 return 0; 14431} 14432_ACEOF 14433if ac_fn_c_try_link "$LINENO"; then : 14434 ac_cv_lib_intl_dgettext=yes 14435else 14436 ac_cv_lib_intl_dgettext=no 14437fi 14438rm -f core conftest.err conftest.$ac_objext \ 14439 conftest$ac_exeext conftest.$ac_ext 14440LIBS=$ac_check_lib_save_LIBS 14441fi 14442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 14443$as_echo "$ac_cv_lib_intl_dgettext" >&6; } 14444if test "x$ac_cv_lib_intl_dgettext" = xyes; then : 14445 gt_cv_func_dgettext_libintl=yes 14446fi 14447 14448fi 14449 14450fi 14451 14452 14453 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then 14454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5 14455$as_echo_n "checking if -liconv is needed to use gettext... " >&6; } 14456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 14457$as_echo "" >&6; } 14458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 14459$as_echo_n "checking for ngettext in -lintl... " >&6; } 14460if ${ac_cv_lib_intl_ngettext+:} false; then : 14461 $as_echo_n "(cached) " >&6 14462else 14463 ac_check_lib_save_LIBS=$LIBS 14464LIBS="-lintl -liconv $LIBS" 14465cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14466/* end confdefs.h. */ 14467 14468/* Override any GCC internal prototype to avoid an error. 14469 Use char because int might match the return type of a GCC 14470 builtin and then its argument prototype would still apply. */ 14471#ifdef __cplusplus 14472extern "C" 14473#endif 14474char ngettext (); 14475int 14476main () 14477{ 14478return ngettext (); 14479 ; 14480 return 0; 14481} 14482_ACEOF 14483if ac_fn_c_try_link "$LINENO"; then : 14484 ac_cv_lib_intl_ngettext=yes 14485else 14486 ac_cv_lib_intl_ngettext=no 14487fi 14488rm -f core conftest.err conftest.$ac_objext \ 14489 conftest$ac_exeext conftest.$ac_ext 14490LIBS=$ac_check_lib_save_LIBS 14491fi 14492{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 14493$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 14494if test "x$ac_cv_lib_intl_ngettext" = xyes; then : 14495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5 14496$as_echo_n "checking for dcgettext in -lintl... " >&6; } 14497if ${ac_cv_lib_intl_dcgettext+:} false; then : 14498 $as_echo_n "(cached) " >&6 14499else 14500 ac_check_lib_save_LIBS=$LIBS 14501LIBS="-lintl -liconv $LIBS" 14502cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14503/* end confdefs.h. */ 14504 14505/* Override any GCC internal prototype to avoid an error. 14506 Use char because int might match the return type of a GCC 14507 builtin and then its argument prototype would still apply. */ 14508#ifdef __cplusplus 14509extern "C" 14510#endif 14511char dcgettext (); 14512int 14513main () 14514{ 14515return dcgettext (); 14516 ; 14517 return 0; 14518} 14519_ACEOF 14520if ac_fn_c_try_link "$LINENO"; then : 14521 ac_cv_lib_intl_dcgettext=yes 14522else 14523 ac_cv_lib_intl_dcgettext=no 14524fi 14525rm -f core conftest.err conftest.$ac_objext \ 14526 conftest$ac_exeext conftest.$ac_ext 14527LIBS=$ac_check_lib_save_LIBS 14528fi 14529{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5 14530$as_echo "$ac_cv_lib_intl_dcgettext" >&6; } 14531if test "x$ac_cv_lib_intl_dcgettext" = xyes; then : 14532 gt_cv_func_dgettext_libintl=yes 14533 libintl_extra_libs=-liconv 14534else 14535 : 14536fi 14537 14538else 14539 : 14540fi 14541 14542 fi 14543 14544 # 14545 # If we found libintl, then check in it for bind_textdomain_codeset(); 14546 # we'll prefer libc if neither have bind_textdomain_codeset(), 14547 # and both have dgettext and ngettext 14548 # 14549 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then 14550 glib_save_LIBS="$LIBS" 14551 LIBS="$LIBS -lintl $libintl_extra_libs" 14552 unset ac_cv_func_bind_textdomain_codeset 14553 for ac_func in bind_textdomain_codeset 14554do : 14555 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 14556if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 14557 cat >>confdefs.h <<_ACEOF 14558#define HAVE_BIND_TEXTDOMAIN_CODESET 1 14559_ACEOF 14560 14561fi 14562done 14563 14564 LIBS="$glib_save_LIBS" 14565 14566 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then 14567 gt_cv_func_dgettext_libc=no 14568 else 14569 if test "$gt_cv_func_dgettext_libc" = "yes" \ 14570 && test "$gt_cv_func_ngettext_libc" = "yes"; then 14571 gt_cv_func_dgettext_libintl=no 14572 fi 14573 fi 14574 fi 14575 fi 14576 14577 if test "$gt_cv_func_dgettext_libc" = "yes" \ 14578 || test "$gt_cv_func_dgettext_libintl" = "yes"; then 14579 gt_cv_have_gettext=yes 14580 fi 14581 14582 if test "$gt_cv_func_dgettext_libintl" = "yes"; then 14583 INTLLIBS="-lintl $libintl_extra_libs" 14584 fi 14585 14586 if test "$gt_cv_have_gettext" = "yes"; then 14587 14588$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 14589 14590 # Extract the first word of "msgfmt", so it can be a program name with args. 14591set dummy msgfmt; ac_word=$2 14592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14593$as_echo_n "checking for $ac_word... " >&6; } 14594if ${ac_cv_path_MSGFMT+:} false; then : 14595 $as_echo_n "(cached) " >&6 14596else 14597 case "$MSGFMT" in 14598 /*) 14599 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 14600 ;; 14601 *) 14602 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 14603 for ac_dir in $PATH; do 14604 test -z "$ac_dir" && ac_dir=. 14605 if test -f $ac_dir/$ac_word; then 14606 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then 14607 ac_cv_path_MSGFMT="$ac_dir/$ac_word" 14608 break 14609 fi 14610 fi 14611 done 14612 IFS="$ac_save_ifs" 14613 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" 14614 ;; 14615esac 14616fi 14617MSGFMT="$ac_cv_path_MSGFMT" 14618if test "$MSGFMT" != "no"; then 14619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 14620$as_echo "$MSGFMT" >&6; } 14621else 14622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14623$as_echo "no" >&6; } 14624fi 14625 if test "$MSGFMT" != "no"; then 14626 glib_save_LIBS="$LIBS" 14627 LIBS="$LIBS $INTLLIBS" 14628 for ac_func in dcgettext 14629do : 14630 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext" 14631if test "x$ac_cv_func_dcgettext" = xyes; then : 14632 cat >>confdefs.h <<_ACEOF 14633#define HAVE_DCGETTEXT 1 14634_ACEOF 14635 14636fi 14637done 14638 14639 MSGFMT_OPTS= 14640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5 14641$as_echo_n "checking if msgfmt accepts -c... " >&6; } 14642 cat >conftest.foo <<_ACEOF 14643 14644msgid "" 14645msgstr "" 14646"Content-Type: text/plain; charset=UTF-8\n" 14647"Project-Id-Version: test 1.0\n" 14648"PO-Revision-Date: 2007-02-15 12:01+0100\n" 14649"Last-Translator: test <foo@bar.xx>\n" 14650"Language-Team: C <LL@li.org>\n" 14651"MIME-Version: 1.0\n" 14652"Content-Transfer-Encoding: 8bit\n" 14653 14654_ACEOF 14655if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5 14656 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5 14657 ac_status=$? 14658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14659 test $ac_status = 0; }; then 14660 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14661$as_echo "yes" >&6; } 14662else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14663$as_echo "no" >&6; } 14664echo "$as_me: failed input was:" >&5 14665sed 's/^/| /' conftest.foo >&5 14666fi 14667 14668 # Extract the first word of "gmsgfmt", so it can be a program name with args. 14669set dummy gmsgfmt; ac_word=$2 14670{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14671$as_echo_n "checking for $ac_word... " >&6; } 14672if ${ac_cv_path_GMSGFMT+:} false; then : 14673 $as_echo_n "(cached) " >&6 14674else 14675 case $GMSGFMT in 14676 [\\/]* | ?:[\\/]*) 14677 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 14678 ;; 14679 *) 14680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14681for as_dir in $PATH 14682do 14683 IFS=$as_save_IFS 14684 test -z "$as_dir" && as_dir=. 14685 for ac_exec_ext in '' $ac_executable_extensions; do 14686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14687 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 14688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14689 break 2 14690 fi 14691done 14692 done 14693IFS=$as_save_IFS 14694 14695 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 14696 ;; 14697esac 14698fi 14699GMSGFMT=$ac_cv_path_GMSGFMT 14700if test -n "$GMSGFMT"; then 14701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 14702$as_echo "$GMSGFMT" >&6; } 14703else 14704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14705$as_echo "no" >&6; } 14706fi 14707 14708 14709 # Extract the first word of "xgettext", so it can be a program name with args. 14710set dummy xgettext; ac_word=$2 14711{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14712$as_echo_n "checking for $ac_word... " >&6; } 14713if ${ac_cv_path_XGETTEXT+:} false; then : 14714 $as_echo_n "(cached) " >&6 14715else 14716 case "$XGETTEXT" in 14717 /*) 14718 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 14719 ;; 14720 *) 14721 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 14722 for ac_dir in $PATH; do 14723 test -z "$ac_dir" && ac_dir=. 14724 if test -f $ac_dir/$ac_word; then 14725 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then 14726 ac_cv_path_XGETTEXT="$ac_dir/$ac_word" 14727 break 14728 fi 14729 fi 14730 done 14731 IFS="$ac_save_ifs" 14732 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 14733 ;; 14734esac 14735fi 14736XGETTEXT="$ac_cv_path_XGETTEXT" 14737if test "$XGETTEXT" != ":"; then 14738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 14739$as_echo "$XGETTEXT" >&6; } 14740else 14741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14742$as_echo "no" >&6; } 14743fi 14744 14745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14746/* end confdefs.h. */ 14747 14748int 14749main () 14750{ 14751extern int _nl_msg_cat_cntr; 14752 return _nl_msg_cat_cntr 14753 ; 14754 return 0; 14755} 14756_ACEOF 14757if ac_fn_c_try_link "$LINENO"; then : 14758 CATOBJEXT=.gmo 14759 DATADIRNAME=share 14760else 14761 case $host in 14762 *-*-solaris*) 14763 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 14764if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 14765 CATOBJEXT=.gmo 14766 DATADIRNAME=share 14767else 14768 CATOBJEXT=.mo 14769 DATADIRNAME=lib 14770fi 14771 14772 ;; 14773 *-*-openbsd*) 14774 CATOBJEXT=.mo 14775 DATADIRNAME=share 14776 ;; 14777 *) 14778 CATOBJEXT=.mo 14779 DATADIRNAME=lib 14780 ;; 14781 esac 14782fi 14783rm -f core conftest.err conftest.$ac_objext \ 14784 conftest$ac_exeext conftest.$ac_ext 14785 LIBS="$glib_save_LIBS" 14786 INSTOBJEXT=.mo 14787 else 14788 gt_cv_have_gettext=no 14789 fi 14790 fi 14791 14792fi 14793 14794 14795 14796 if test "$gt_cv_have_gettext" = "yes" ; then 14797 14798$as_echo "#define ENABLE_NLS 1" >>confdefs.h 14799 14800 fi 14801 14802 if test "$XGETTEXT" != ":"; then 14803 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then 14804 : ; 14805 else 14806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 14807$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } 14808 XGETTEXT=":" 14809 fi 14810 fi 14811 14812 # We need to process the po/ directory. 14813 POSUB=po 14814 14815 ac_config_commands="$ac_config_commands default-1" 14816 14817 14818 for lang in $ALL_LINGUAS; do 14819 GMOFILES="$GMOFILES $lang.gmo" 14820 POFILES="$POFILES $lang.po" 14821 done 14822 14823 14824 14825 14826 14827 14828 14829 14830 14831 14832 14833 14834 14835 if test "$gt_cv_have_gettext" = "yes"; then 14836 if test "x$ALL_LINGUAS" = "x"; then 14837 LINGUAS= 14838 else 14839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5 14840$as_echo_n "checking for catalogs to be installed... " >&6; } 14841 NEW_LINGUAS= 14842 for presentlang in $ALL_LINGUAS; do 14843 useit=no 14844 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then 14845 desiredlanguages="$LINGUAS" 14846 else 14847 desiredlanguages="$ALL_LINGUAS" 14848 fi 14849 for desiredlang in $desiredlanguages; do 14850 # Use the presentlang catalog if desiredlang is 14851 # a. equal to presentlang, or 14852 # b. a variant of presentlang (because in this case, 14853 # presentlang can be used as a fallback for messages 14854 # which are not translated in the desiredlang catalog). 14855 case "$desiredlang" in 14856 "$presentlang"*) useit=yes;; 14857 esac 14858 done 14859 if test $useit = yes; then 14860 NEW_LINGUAS="$NEW_LINGUAS $presentlang" 14861 fi 14862 done 14863 LINGUAS=$NEW_LINGUAS 14864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5 14865$as_echo "$LINGUAS" >&6; } 14866 fi 14867 14868 if test -n "$LINGUAS"; then 14869 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done 14870 fi 14871 fi 14872 14873 MKINSTALLDIRS= 14874 if test -n "$ac_aux_dir"; then 14875 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" 14876 fi 14877 if test -z "$MKINSTALLDIRS"; then 14878 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" 14879 fi 14880 14881 14882 test -d po || mkdir po 14883 if test "x$srcdir" != "x."; then 14884 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then 14885 posrcprefix="$srcdir/" 14886 else 14887 posrcprefix="../$srcdir/" 14888 fi 14889 else 14890 posrcprefix="../" 14891 fi 14892 rm -f po/POTFILES 14893 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ 14894 < $srcdir/po/POTFILES.in > po/POTFILES 14895 14896 14897 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 14898if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 14899 14900fi 14901 14902 14903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for locales directory" >&5 14904$as_echo_n "checking for locales directory... " >&6; } 14905 14906# Check whether --with-locales-dir was given. 14907if test "${with_locales_dir+set}" = set; then : 14908 withval=$with_locales_dir; localedir=$withval 14909else 14910 14911 if test x"$CATOBJEXT" = x".mo"; then 14912 localedir=$libdir/locale 14913 else 14914 localedir=$datadir/locale 14915 fi 14916 14917fi 14918 14919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $localedir" >&5 14920$as_echo "$localedir" >&6; } 14921 14922 14923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional xgettext flags" >&5 14924$as_echo_n "checking for additional xgettext flags... " >&6; } 14925 if test x"$XGETTEXT_ARGS" = x""; then 14926 XGETTEXT_ARGS="--keyword=Q_"; 14927 else 14928 XGETTEXT_ARGS="$XGETTEXT_ARGS --keyword=Q_"; 14929 fi 14930 14931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT_ARGS" >&5 14932$as_echo "$XGETTEXT_ARGS" >&6; } 14933 14934 14935# Extract the first word of "dpkg", so it can be a program name with args. 14936set dummy dpkg; ac_word=$2 14937{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14938$as_echo_n "checking for $ac_word... " >&6; } 14939if ${ac_cv_prog_cv_dpkg+:} false; then : 14940 $as_echo_n "(cached) " >&6 14941else 14942 if test -n "$cv_dpkg"; then 14943 ac_cv_prog_cv_dpkg="$cv_dpkg" # Let the user override the test. 14944else 14945as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14946for as_dir in $PATH 14947do 14948 IFS=$as_save_IFS 14949 test -z "$as_dir" && as_dir=. 14950 for ac_exec_ext in '' $ac_executable_extensions; do 14951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14952 ac_cv_prog_cv_dpkg="yes" 14953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14954 break 2 14955 fi 14956done 14957 done 14958IFS=$as_save_IFS 14959 14960 test -z "$ac_cv_prog_cv_dpkg" && ac_cv_prog_cv_dpkg="no" 14961fi 14962fi 14963cv_dpkg=$ac_cv_prog_cv_dpkg 14964if test -n "$cv_dpkg"; then 14965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cv_dpkg" >&5 14966$as_echo "$cv_dpkg" >&6; } 14967else 14968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14969$as_echo "no" >&6; } 14970fi 14971 14972 14973 if test "$cv_dpkg" = yes; then 14974 WANT_DEBIAN_TRUE= 14975 WANT_DEBIAN_FALSE='#' 14976else 14977 WANT_DEBIAN_TRUE='#' 14978 WANT_DEBIAN_FALSE= 14979fi 14980 14981 14982ac_config_files="$ac_config_files rodent-fgr.settings Rodent-fgr.appdata.xml Makefile rodent-fgr.spec Rodent-fgr.desktop.in po/Makefile.in Build/Makefile man/Makefile icons/Makefile icons/png/Makefile icons/svg/Makefile debian/changelog debian/control" 14983 14984cat >confcache <<\_ACEOF 14985# This file is a shell script that caches the results of configure 14986# tests run on this system so they can be shared between configure 14987# scripts and configure runs, see configure's option --config-cache. 14988# It is not useful on other systems. If it contains results you don't 14989# want to keep, you may remove or edit it. 14990# 14991# config.status only pays attention to the cache file if you give it 14992# the --recheck option to rerun configure. 14993# 14994# `ac_cv_env_foo' variables (set or unset) will be overridden when 14995# loading this file, other *unset* `ac_cv_foo' will be assigned the 14996# following values. 14997 14998_ACEOF 14999 15000# The following way of writing the cache mishandles newlines in values, 15001# but we know of no workaround that is simple, portable, and efficient. 15002# So, we kill variables containing newlines. 15003# Ultrix sh set writes to stderr and can't be redirected directly, 15004# and sets the high bit in the cache file unless we assign to the vars. 15005( 15006 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 15007 eval ac_val=\$$ac_var 15008 case $ac_val in #( 15009 *${as_nl}*) 15010 case $ac_var in #( 15011 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 15012$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 15013 esac 15014 case $ac_var in #( 15015 _ | IFS | as_nl) ;; #( 15016 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 15017 *) { eval $ac_var=; unset $ac_var;} ;; 15018 esac ;; 15019 esac 15020 done 15021 15022 (set) 2>&1 | 15023 case $as_nl`(ac_space=' '; set) 2>&1` in #( 15024 *${as_nl}ac_space=\ *) 15025 # `set' does not quote correctly, so add quotes: double-quote 15026 # substitution turns \\\\ into \\, and sed turns \\ into \. 15027 sed -n \ 15028 "s/'/'\\\\''/g; 15029 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 15030 ;; #( 15031 *) 15032 # `set' quotes correctly as required by POSIX, so do not add quotes. 15033 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 15034 ;; 15035 esac | 15036 sort 15037) | 15038 sed ' 15039 /^ac_cv_env_/b end 15040 t clear 15041 :clear 15042 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 15043 t end 15044 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 15045 :end' >>confcache 15046if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 15047 if test -w "$cache_file"; then 15048 if test "x$cache_file" != "x/dev/null"; then 15049 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 15050$as_echo "$as_me: updating cache $cache_file" >&6;} 15051 if test ! -f "$cache_file" || test -h "$cache_file"; then 15052 cat confcache >"$cache_file" 15053 else 15054 case $cache_file in #( 15055 */* | ?:*) 15056 mv -f confcache "$cache_file"$$ && 15057 mv -f "$cache_file"$$ "$cache_file" ;; #( 15058 *) 15059 mv -f confcache "$cache_file" ;; 15060 esac 15061 fi 15062 fi 15063 else 15064 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 15065$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 15066 fi 15067fi 15068rm -f confcache 15069 15070test "x$prefix" = xNONE && prefix=$ac_default_prefix 15071# Let make expand exec_prefix. 15072test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 15073 15074DEFS=-DHAVE_CONFIG_H 15075 15076ac_libobjs= 15077ac_ltlibobjs= 15078U= 15079for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 15080 # 1. Remove the extension, and $U if already installed. 15081 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 15082 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 15083 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 15084 # will be set to the directory where LIBOBJS objects are built. 15085 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 15086 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 15087done 15088LIBOBJS=$ac_libobjs 15089 15090LTLIBOBJS=$ac_ltlibobjs 15091 15092 15093{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 15094$as_echo_n "checking that generated files are newer than configure... " >&6; } 15095 if test -n "$am_sleep_pid"; then 15096 # Hide warnings about reused PIDs. 15097 wait $am_sleep_pid 2>/dev/null 15098 fi 15099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 15100$as_echo "done" >&6; } 15101if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 15102 as_fn_error $? "conditional \"AMDEP\" was never defined. 15103Usually this means the macro was only invoked conditionally." "$LINENO" 5 15104fi 15105if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 15106 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 15107Usually this means the macro was only invoked conditionally." "$LINENO" 5 15108fi 15109 if test -n "$EXEEXT"; then 15110 am__EXEEXT_TRUE= 15111 am__EXEEXT_FALSE='#' 15112else 15113 am__EXEEXT_TRUE='#' 15114 am__EXEEXT_FALSE= 15115fi 15116 15117if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 15118 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 15119Usually this means the macro was only invoked conditionally." "$LINENO" 5 15120fi 15121 15122 ac_config_commands="$ac_config_commands po/stamp-it" 15123 15124 15125if test -z "${WANT_FREEBSD_TRUE}" && test -z "${WANT_FREEBSD_FALSE}"; then 15126 as_fn_error $? "conditional \"WANT_FREEBSD\" was never defined. 15127Usually this means the macro was only invoked conditionally." "$LINENO" 5 15128fi 15129if test -z "${ONLY_LINUX_TRUE}" && test -z "${ONLY_LINUX_FALSE}"; then 15130 as_fn_error $? "conditional \"ONLY_LINUX\" was never defined. 15131Usually this means the macro was only invoked conditionally." "$LINENO" 5 15132fi 15133if test -z "${WANT_DEBIAN_TRUE}" && test -z "${WANT_DEBIAN_FALSE}"; then 15134 as_fn_error $? "conditional \"WANT_DEBIAN\" was never defined. 15135Usually this means the macro was only invoked conditionally." "$LINENO" 5 15136fi 15137 15138: "${CONFIG_STATUS=./config.status}" 15139ac_write_fail=0 15140ac_clean_files_save=$ac_clean_files 15141ac_clean_files="$ac_clean_files $CONFIG_STATUS" 15142{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 15143$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 15144as_write_fail=0 15145cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 15146#! $SHELL 15147# Generated by $as_me. 15148# Run this file to recreate the current configuration. 15149# Compiler output produced by configure, useful for debugging 15150# configure, is in config.log if it exists. 15151 15152debug=false 15153ac_cs_recheck=false 15154ac_cs_silent=false 15155 15156SHELL=\${CONFIG_SHELL-$SHELL} 15157export SHELL 15158_ASEOF 15159cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 15160## -------------------- ## 15161## M4sh Initialization. ## 15162## -------------------- ## 15163 15164# Be more Bourne compatible 15165DUALCASE=1; export DUALCASE # for MKS sh 15166if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 15167 emulate sh 15168 NULLCMD=: 15169 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 15170 # is contrary to our usage. Disable this feature. 15171 alias -g '${1+"$@"}'='"$@"' 15172 setopt NO_GLOB_SUBST 15173else 15174 case `(set -o) 2>/dev/null` in #( 15175 *posix*) : 15176 set -o posix ;; #( 15177 *) : 15178 ;; 15179esac 15180fi 15181 15182 15183as_nl=' 15184' 15185export as_nl 15186# Printing a long string crashes Solaris 7 /usr/bin/printf. 15187as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 15188as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 15189as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 15190# Prefer a ksh shell builtin over an external printf program on Solaris, 15191# but without wasting forks for bash or zsh. 15192if test -z "$BASH_VERSION$ZSH_VERSION" \ 15193 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 15194 as_echo='print -r --' 15195 as_echo_n='print -rn --' 15196elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 15197 as_echo='printf %s\n' 15198 as_echo_n='printf %s' 15199else 15200 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 15201 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 15202 as_echo_n='/usr/ucb/echo -n' 15203 else 15204 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 15205 as_echo_n_body='eval 15206 arg=$1; 15207 case $arg in #( 15208 *"$as_nl"*) 15209 expr "X$arg" : "X\\(.*\\)$as_nl"; 15210 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 15211 esac; 15212 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 15213 ' 15214 export as_echo_n_body 15215 as_echo_n='sh -c $as_echo_n_body as_echo' 15216 fi 15217 export as_echo_body 15218 as_echo='sh -c $as_echo_body as_echo' 15219fi 15220 15221# The user is always right. 15222if test "${PATH_SEPARATOR+set}" != set; then 15223 PATH_SEPARATOR=: 15224 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 15225 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 15226 PATH_SEPARATOR=';' 15227 } 15228fi 15229 15230 15231# IFS 15232# We need space, tab and new line, in precisely that order. Quoting is 15233# there to prevent editors from complaining about space-tab. 15234# (If _AS_PATH_WALK were called with IFS unset, it would disable word 15235# splitting by setting IFS to empty value.) 15236IFS=" "" $as_nl" 15237 15238# Find who we are. Look in the path if we contain no directory separator. 15239as_myself= 15240case $0 in #(( 15241 *[\\/]* ) as_myself=$0 ;; 15242 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15243for as_dir in $PATH 15244do 15245 IFS=$as_save_IFS 15246 test -z "$as_dir" && as_dir=. 15247 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 15248 done 15249IFS=$as_save_IFS 15250 15251 ;; 15252esac 15253# We did not find ourselves, most probably we were run as `sh COMMAND' 15254# in which case we are not to be found in the path. 15255if test "x$as_myself" = x; then 15256 as_myself=$0 15257fi 15258if test ! -f "$as_myself"; then 15259 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 15260 exit 1 15261fi 15262 15263# Unset variables that we do not need and which cause bugs (e.g. in 15264# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 15265# suppresses any "Segmentation fault" message there. '((' could 15266# trigger a bug in pdksh 5.2.14. 15267for as_var in BASH_ENV ENV MAIL MAILPATH 15268do eval test x\${$as_var+set} = xset \ 15269 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 15270done 15271PS1='$ ' 15272PS2='> ' 15273PS4='+ ' 15274 15275# NLS nuisances. 15276LC_ALL=C 15277export LC_ALL 15278LANGUAGE=C 15279export LANGUAGE 15280 15281# CDPATH. 15282(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 15283 15284 15285# as_fn_error STATUS ERROR [LINENO LOG_FD] 15286# ---------------------------------------- 15287# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 15288# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 15289# script with STATUS, using 1 if that was 0. 15290as_fn_error () 15291{ 15292 as_status=$1; test $as_status -eq 0 && as_status=1 15293 if test "$4"; then 15294 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15295 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 15296 fi 15297 $as_echo "$as_me: error: $2" >&2 15298 as_fn_exit $as_status 15299} # as_fn_error 15300 15301 15302# as_fn_set_status STATUS 15303# ----------------------- 15304# Set $? to STATUS, without forking. 15305as_fn_set_status () 15306{ 15307 return $1 15308} # as_fn_set_status 15309 15310# as_fn_exit STATUS 15311# ----------------- 15312# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 15313as_fn_exit () 15314{ 15315 set +e 15316 as_fn_set_status $1 15317 exit $1 15318} # as_fn_exit 15319 15320# as_fn_unset VAR 15321# --------------- 15322# Portably unset VAR. 15323as_fn_unset () 15324{ 15325 { eval $1=; unset $1;} 15326} 15327as_unset=as_fn_unset 15328# as_fn_append VAR VALUE 15329# ---------------------- 15330# Append the text in VALUE to the end of the definition contained in VAR. Take 15331# advantage of any shell optimizations that allow amortized linear growth over 15332# repeated appends, instead of the typical quadratic growth present in naive 15333# implementations. 15334if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 15335 eval 'as_fn_append () 15336 { 15337 eval $1+=\$2 15338 }' 15339else 15340 as_fn_append () 15341 { 15342 eval $1=\$$1\$2 15343 } 15344fi # as_fn_append 15345 15346# as_fn_arith ARG... 15347# ------------------ 15348# Perform arithmetic evaluation on the ARGs, and store the result in the 15349# global $as_val. Take advantage of shells that can avoid forks. The arguments 15350# must be portable across $(()) and expr. 15351if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 15352 eval 'as_fn_arith () 15353 { 15354 as_val=$(( $* )) 15355 }' 15356else 15357 as_fn_arith () 15358 { 15359 as_val=`expr "$@" || test $? -eq 1` 15360 } 15361fi # as_fn_arith 15362 15363 15364if expr a : '\(a\)' >/dev/null 2>&1 && 15365 test "X`expr 00001 : '.*\(...\)'`" = X001; then 15366 as_expr=expr 15367else 15368 as_expr=false 15369fi 15370 15371if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 15372 as_basename=basename 15373else 15374 as_basename=false 15375fi 15376 15377if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 15378 as_dirname=dirname 15379else 15380 as_dirname=false 15381fi 15382 15383as_me=`$as_basename -- "$0" || 15384$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 15385 X"$0" : 'X\(//\)$' \| \ 15386 X"$0" : 'X\(/\)' \| . 2>/dev/null || 15387$as_echo X/"$0" | 15388 sed '/^.*\/\([^/][^/]*\)\/*$/{ 15389 s//\1/ 15390 q 15391 } 15392 /^X\/\(\/\/\)$/{ 15393 s//\1/ 15394 q 15395 } 15396 /^X\/\(\/\).*/{ 15397 s//\1/ 15398 q 15399 } 15400 s/.*/./; q'` 15401 15402# Avoid depending upon Character Ranges. 15403as_cr_letters='abcdefghijklmnopqrstuvwxyz' 15404as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 15405as_cr_Letters=$as_cr_letters$as_cr_LETTERS 15406as_cr_digits='0123456789' 15407as_cr_alnum=$as_cr_Letters$as_cr_digits 15408 15409ECHO_C= ECHO_N= ECHO_T= 15410case `echo -n x` in #((((( 15411-n*) 15412 case `echo 'xy\c'` in 15413 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 15414 xy) ECHO_C='\c';; 15415 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 15416 ECHO_T=' ';; 15417 esac;; 15418*) 15419 ECHO_N='-n';; 15420esac 15421 15422rm -f conf$$ conf$$.exe conf$$.file 15423if test -d conf$$.dir; then 15424 rm -f conf$$.dir/conf$$.file 15425else 15426 rm -f conf$$.dir 15427 mkdir conf$$.dir 2>/dev/null 15428fi 15429if (echo >conf$$.file) 2>/dev/null; then 15430 if ln -s conf$$.file conf$$ 2>/dev/null; then 15431 as_ln_s='ln -s' 15432 # ... but there are two gotchas: 15433 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 15434 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 15435 # In both cases, we have to default to `cp -pR'. 15436 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 15437 as_ln_s='cp -pR' 15438 elif ln conf$$.file conf$$ 2>/dev/null; then 15439 as_ln_s=ln 15440 else 15441 as_ln_s='cp -pR' 15442 fi 15443else 15444 as_ln_s='cp -pR' 15445fi 15446rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 15447rmdir conf$$.dir 2>/dev/null 15448 15449 15450# as_fn_mkdir_p 15451# ------------- 15452# Create "$as_dir" as a directory, including parents if necessary. 15453as_fn_mkdir_p () 15454{ 15455 15456 case $as_dir in #( 15457 -*) as_dir=./$as_dir;; 15458 esac 15459 test -d "$as_dir" || eval $as_mkdir_p || { 15460 as_dirs= 15461 while :; do 15462 case $as_dir in #( 15463 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 15464 *) as_qdir=$as_dir;; 15465 esac 15466 as_dirs="'$as_qdir' $as_dirs" 15467 as_dir=`$as_dirname -- "$as_dir" || 15468$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15469 X"$as_dir" : 'X\(//\)[^/]' \| \ 15470 X"$as_dir" : 'X\(//\)$' \| \ 15471 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 15472$as_echo X"$as_dir" | 15473 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15474 s//\1/ 15475 q 15476 } 15477 /^X\(\/\/\)[^/].*/{ 15478 s//\1/ 15479 q 15480 } 15481 /^X\(\/\/\)$/{ 15482 s//\1/ 15483 q 15484 } 15485 /^X\(\/\).*/{ 15486 s//\1/ 15487 q 15488 } 15489 s/.*/./; q'` 15490 test -d "$as_dir" && break 15491 done 15492 test -z "$as_dirs" || eval "mkdir $as_dirs" 15493 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 15494 15495 15496} # as_fn_mkdir_p 15497if mkdir -p . 2>/dev/null; then 15498 as_mkdir_p='mkdir -p "$as_dir"' 15499else 15500 test -d ./-p && rmdir ./-p 15501 as_mkdir_p=false 15502fi 15503 15504 15505# as_fn_executable_p FILE 15506# ----------------------- 15507# Test if FILE is an executable regular file. 15508as_fn_executable_p () 15509{ 15510 test -f "$1" && test -x "$1" 15511} # as_fn_executable_p 15512as_test_x='test -x' 15513as_executable_p=as_fn_executable_p 15514 15515# Sed expression to map a string onto a valid CPP name. 15516as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 15517 15518# Sed expression to map a string onto a valid variable name. 15519as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 15520 15521 15522exec 6>&1 15523## ----------------------------------- ## 15524## Main body of $CONFIG_STATUS script. ## 15525## ----------------------------------- ## 15526_ASEOF 15527test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 15528 15529cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15530# Save the log message, to keep $0 and so on meaningful, and to 15531# report actual input values of CONFIG_FILES etc. instead of their 15532# values after options handling. 15533ac_log=" 15534This file was extended by rodent-fgr $as_me 5.3.16.3, which was 15535generated by GNU Autoconf 2.69. Invocation command line was 15536 15537 CONFIG_FILES = $CONFIG_FILES 15538 CONFIG_HEADERS = $CONFIG_HEADERS 15539 CONFIG_LINKS = $CONFIG_LINKS 15540 CONFIG_COMMANDS = $CONFIG_COMMANDS 15541 $ $0 $@ 15542 15543on `(hostname || uname -n) 2>/dev/null | sed 1q` 15544" 15545 15546_ACEOF 15547 15548case $ac_config_files in *" 15549"*) set x $ac_config_files; shift; ac_config_files=$*;; 15550esac 15551 15552case $ac_config_headers in *" 15553"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 15554esac 15555 15556 15557cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15558# Files that config.status was made for. 15559config_files="$ac_config_files" 15560config_headers="$ac_config_headers" 15561config_commands="$ac_config_commands" 15562 15563_ACEOF 15564 15565cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15566ac_cs_usage="\ 15567\`$as_me' instantiates files and other configuration actions 15568from templates according to the current configuration. Unless the files 15569and actions are specified as TAGs, all are instantiated by default. 15570 15571Usage: $0 [OPTION]... [TAG]... 15572 15573 -h, --help print this help, then exit 15574 -V, --version print version number and configuration settings, then exit 15575 --config print configuration, then exit 15576 -q, --quiet, --silent 15577 do not print progress messages 15578 -d, --debug don't remove temporary files 15579 --recheck update $as_me by reconfiguring in the same conditions 15580 --file=FILE[:TEMPLATE] 15581 instantiate the configuration file FILE 15582 --header=FILE[:TEMPLATE] 15583 instantiate the configuration header FILE 15584 15585Configuration files: 15586$config_files 15587 15588Configuration headers: 15589$config_headers 15590 15591Configuration commands: 15592$config_commands 15593 15594Report bugs to <https://sourceforge.net/p/xffm/bugs/milestone/rodent-fgr/>. 15595rodent-fgr home page: <"http://xffm.org/rodent-fgr.html">." 15596 15597_ACEOF 15598cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15599ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 15600ac_cs_version="\\ 15601rodent-fgr config.status 5.3.16.3 15602configured by $0, generated by GNU Autoconf 2.69, 15603 with options \\"\$ac_cs_config\\" 15604 15605Copyright (C) 2012 Free Software Foundation, Inc. 15606This config.status script is free software; the Free Software Foundation 15607gives unlimited permission to copy, distribute and modify it." 15608 15609ac_pwd='$ac_pwd' 15610srcdir='$srcdir' 15611INSTALL='$INSTALL' 15612MKDIR_P='$MKDIR_P' 15613AWK='$AWK' 15614test -n "\$AWK" || AWK=awk 15615_ACEOF 15616 15617cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15618# The default lists apply if the user does not specify any file. 15619ac_need_defaults=: 15620while test $# != 0 15621do 15622 case $1 in 15623 --*=?*) 15624 ac_option=`expr "X$1" : 'X\([^=]*\)='` 15625 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 15626 ac_shift=: 15627 ;; 15628 --*=) 15629 ac_option=`expr "X$1" : 'X\([^=]*\)='` 15630 ac_optarg= 15631 ac_shift=: 15632 ;; 15633 *) 15634 ac_option=$1 15635 ac_optarg=$2 15636 ac_shift=shift 15637 ;; 15638 esac 15639 15640 case $ac_option in 15641 # Handling of the options. 15642 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 15643 ac_cs_recheck=: ;; 15644 --version | --versio | --versi | --5.3.16.3 | --ver | --ve | --v | -V ) 15645 $as_echo "$ac_cs_version"; exit ;; 15646 --config | --confi | --conf | --con | --co | --c ) 15647 $as_echo "$ac_cs_config"; exit ;; 15648 --debug | --debu | --deb | --de | --d | -d ) 15649 debug=: ;; 15650 --file | --fil | --fi | --f ) 15651 $ac_shift 15652 case $ac_optarg in 15653 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 15654 '') as_fn_error $? "missing file argument" ;; 15655 esac 15656 as_fn_append CONFIG_FILES " '$ac_optarg'" 15657 ac_need_defaults=false;; 15658 --header | --heade | --head | --hea ) 15659 $ac_shift 15660 case $ac_optarg in 15661 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 15662 esac 15663 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 15664 ac_need_defaults=false;; 15665 --he | --h) 15666 # Conflict between --help and --header 15667 as_fn_error $? "ambiguous option: \`$1' 15668Try \`$0 --help' for more information.";; 15669 --help | --hel | -h ) 15670 $as_echo "$ac_cs_usage"; exit ;; 15671 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 15672 | -silent | --silent | --silen | --sile | --sil | --si | --s) 15673 ac_cs_silent=: ;; 15674 15675 # This is an error. 15676 -*) as_fn_error $? "unrecognized option: \`$1' 15677Try \`$0 --help' for more information." ;; 15678 15679 *) as_fn_append ac_config_targets " $1" 15680 ac_need_defaults=false ;; 15681 15682 esac 15683 shift 15684done 15685 15686ac_configure_extra_args= 15687 15688if $ac_cs_silent; then 15689 exec 6>/dev/null 15690 ac_configure_extra_args="$ac_configure_extra_args --silent" 15691fi 15692 15693_ACEOF 15694cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15695if \$ac_cs_recheck; then 15696 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 15697 shift 15698 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 15699 CONFIG_SHELL='$SHELL' 15700 export CONFIG_SHELL 15701 exec "\$@" 15702fi 15703 15704_ACEOF 15705cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15706exec 5>>config.log 15707{ 15708 echo 15709 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 15710## Running $as_me. ## 15711_ASBOX 15712 $as_echo "$ac_log" 15713} >&5 15714 15715_ACEOF 15716cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15717# 15718# INIT-COMMANDS 15719# 15720 15721 15722# The HP-UX ksh and POSIX shell print the target directory to stdout 15723# if CDPATH is set. 15724(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 15725 15726sed_quote_subst='$sed_quote_subst' 15727double_quote_subst='$double_quote_subst' 15728delay_variable_subst='$delay_variable_subst' 15729macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 15730macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 15731enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 15732enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 15733pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 15734enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 15735shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 15736SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 15737ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 15738PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 15739host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 15740host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 15741host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 15742build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 15743build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 15744build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 15745SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 15746Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 15747GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 15748EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 15749FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 15750LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 15751NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 15752LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 15753max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 15754ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 15755exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 15756lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 15757lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 15758lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 15759lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 15760lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 15761reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 15762reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 15763OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 15764deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 15765file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 15766file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 15767want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 15768DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 15769sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 15770AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 15771AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 15772archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 15773STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 15774RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 15775old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 15776old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 15777old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 15778lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 15779CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 15780CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 15781compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 15782GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 15783lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 15784lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 15785lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 15786lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 15787lt_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"`' 15788lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 15789nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 15790lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 15791lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 15792objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 15793MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 15794lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 15795lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 15796lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 15797lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 15798lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 15799need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 15800MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 15801DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 15802NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 15803LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 15804OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 15805OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 15806libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 15807shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 15808extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 15809archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 15810enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 15811export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 15812whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 15813compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 15814old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 15815old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 15816archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 15817archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 15818module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 15819module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 15820with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 15821allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 15822no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 15823hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 15824hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 15825hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 15826hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 15827hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 15828hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 15829hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 15830inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 15831link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 15832always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 15833export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 15834exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 15835include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 15836prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 15837postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 15838file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 15839variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 15840need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 15841need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 15842version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 15843runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 15844shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 15845shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 15846libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 15847library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 15848soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 15849install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 15850postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 15851postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 15852finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 15853finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 15854hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 15855sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 15856configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 15857configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 15858hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 15859enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 15860enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 15861enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 15862old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 15863striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 15864 15865LTCC='$LTCC' 15866LTCFLAGS='$LTCFLAGS' 15867compiler='$compiler_DEFAULT' 15868 15869# A function that is used when there is no print builtin or printf. 15870func_fallback_echo () 15871{ 15872 eval 'cat <<_LTECHO_EOF 15873\$1 15874_LTECHO_EOF' 15875} 15876 15877# Quote evaled strings. 15878for var in SHELL \ 15879ECHO \ 15880PATH_SEPARATOR \ 15881SED \ 15882GREP \ 15883EGREP \ 15884FGREP \ 15885LD \ 15886NM \ 15887LN_S \ 15888lt_SP2NL \ 15889lt_NL2SP \ 15890reload_flag \ 15891OBJDUMP \ 15892deplibs_check_method \ 15893file_magic_cmd \ 15894file_magic_glob \ 15895want_nocaseglob \ 15896DLLTOOL \ 15897sharedlib_from_linklib_cmd \ 15898AR \ 15899AR_FLAGS \ 15900archiver_list_spec \ 15901STRIP \ 15902RANLIB \ 15903CC \ 15904CFLAGS \ 15905compiler \ 15906lt_cv_sys_global_symbol_pipe \ 15907lt_cv_sys_global_symbol_to_cdecl \ 15908lt_cv_sys_global_symbol_to_import \ 15909lt_cv_sys_global_symbol_to_c_name_address \ 15910lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 15911lt_cv_nm_interface \ 15912nm_file_list_spec \ 15913lt_cv_truncate_bin \ 15914lt_prog_compiler_no_builtin_flag \ 15915lt_prog_compiler_pic \ 15916lt_prog_compiler_wl \ 15917lt_prog_compiler_static \ 15918lt_cv_prog_compiler_c_o \ 15919need_locks \ 15920MANIFEST_TOOL \ 15921DSYMUTIL \ 15922NMEDIT \ 15923LIPO \ 15924OTOOL \ 15925OTOOL64 \ 15926shrext_cmds \ 15927export_dynamic_flag_spec \ 15928whole_archive_flag_spec \ 15929compiler_needs_object \ 15930with_gnu_ld \ 15931allow_undefined_flag \ 15932no_undefined_flag \ 15933hardcode_libdir_flag_spec \ 15934hardcode_libdir_separator \ 15935exclude_expsyms \ 15936include_expsyms \ 15937file_list_spec \ 15938variables_saved_for_relink \ 15939libname_spec \ 15940library_names_spec \ 15941soname_spec \ 15942install_override_mode \ 15943finish_eval \ 15944old_striplib \ 15945striplib; do 15946 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 15947 *[\\\\\\\`\\"\\\$]*) 15948 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 15949 ;; 15950 *) 15951 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 15952 ;; 15953 esac 15954done 15955 15956# Double-quote double-evaled strings. 15957for var in reload_cmds \ 15958old_postinstall_cmds \ 15959old_postuninstall_cmds \ 15960old_archive_cmds \ 15961extract_expsyms_cmds \ 15962old_archive_from_new_cmds \ 15963old_archive_from_expsyms_cmds \ 15964archive_cmds \ 15965archive_expsym_cmds \ 15966module_cmds \ 15967module_expsym_cmds \ 15968export_symbols_cmds \ 15969prelink_cmds \ 15970postlink_cmds \ 15971postinstall_cmds \ 15972postuninstall_cmds \ 15973finish_cmds \ 15974sys_lib_search_path_spec \ 15975configure_time_dlsearch_path \ 15976configure_time_lt_sys_library_path; do 15977 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 15978 *[\\\\\\\`\\"\\\$]*) 15979 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 15980 ;; 15981 *) 15982 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 15983 ;; 15984 esac 15985done 15986 15987ac_aux_dir='$ac_aux_dir' 15988 15989# See if we are running on zsh, and set the options that allow our 15990# commands through without removal of \ escapes INIT. 15991if test -n "\${ZSH_VERSION+set}"; then 15992 setopt NO_GLOB_SUBST 15993fi 15994 15995 15996 PACKAGE='$PACKAGE' 15997 VERSION='$VERSION' 15998 RM='$RM' 15999 ofile='$ofile' 16000 16001 16002 16003AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 16004 16005 16006_ACEOF 16007 16008cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16009 16010# Handling of arguments. 16011for ac_config_target in $ac_config_targets 16012do 16013 case $ac_config_target in 16014 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 16015 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 16016 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 16017 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 16018 "rodent-fgr.settings") CONFIG_FILES="$CONFIG_FILES rodent-fgr.settings" ;; 16019 "Rodent-fgr.appdata.xml") CONFIG_FILES="$CONFIG_FILES Rodent-fgr.appdata.xml" ;; 16020 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 16021 "rodent-fgr.spec") CONFIG_FILES="$CONFIG_FILES rodent-fgr.spec" ;; 16022 "Rodent-fgr.desktop.in") CONFIG_FILES="$CONFIG_FILES Rodent-fgr.desktop.in" ;; 16023 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 16024 "Build/Makefile") CONFIG_FILES="$CONFIG_FILES Build/Makefile" ;; 16025 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; 16026 "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;; 16027 "icons/png/Makefile") CONFIG_FILES="$CONFIG_FILES icons/png/Makefile" ;; 16028 "icons/svg/Makefile") CONFIG_FILES="$CONFIG_FILES icons/svg/Makefile" ;; 16029 "debian/changelog") CONFIG_FILES="$CONFIG_FILES debian/changelog" ;; 16030 "debian/control") CONFIG_FILES="$CONFIG_FILES debian/control" ;; 16031 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; 16032 16033 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 16034 esac 16035done 16036 16037 16038# If the user did not use the arguments to specify the items to instantiate, 16039# then the envvar interface is used. Set only those that are not. 16040# We use the long form for the default assignment because of an extremely 16041# bizarre bug on SunOS 4.1.3. 16042if $ac_need_defaults; then 16043 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 16044 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 16045 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 16046fi 16047 16048# Have a temporary directory for convenience. Make it in the build tree 16049# simply because there is no reason against having it here, and in addition, 16050# creating and moving files from /tmp can sometimes cause problems. 16051# Hook for its removal unless debugging. 16052# Note that there is a small window in which the directory will not be cleaned: 16053# after its creation but before its name has been assigned to `$tmp'. 16054$debug || 16055{ 16056 tmp= ac_tmp= 16057 trap 'exit_status=$? 16058 : "${ac_tmp:=$tmp}" 16059 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 16060' 0 16061 trap 'as_fn_exit 1' 1 2 13 15 16062} 16063# Create a (secure) tmp directory for tmp files. 16064 16065{ 16066 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 16067 test -d "$tmp" 16068} || 16069{ 16070 tmp=./conf$$-$RANDOM 16071 (umask 077 && mkdir "$tmp") 16072} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 16073ac_tmp=$tmp 16074 16075# Set up the scripts for CONFIG_FILES section. 16076# No need to generate them if there are no CONFIG_FILES. 16077# This happens for instance with `./config.status config.h'. 16078if test -n "$CONFIG_FILES"; then 16079 16080 16081ac_cr=`echo X | tr X '\015'` 16082# On cygwin, bash can eat \r inside `` if the user requested igncr. 16083# But we know of no other shell where ac_cr would be empty at this 16084# point, so we can use a bashism as a fallback. 16085if test "x$ac_cr" = x; then 16086 eval ac_cr=\$\'\\r\' 16087fi 16088ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 16089if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 16090 ac_cs_awk_cr='\\r' 16091else 16092 ac_cs_awk_cr=$ac_cr 16093fi 16094 16095echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 16096_ACEOF 16097 16098 16099{ 16100 echo "cat >conf$$subs.awk <<_ACEOF" && 16101 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 16102 echo "_ACEOF" 16103} >conf$$subs.sh || 16104 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 16105ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 16106ac_delim='%!_!# ' 16107for ac_last_try in false false false false false :; do 16108 . ./conf$$subs.sh || 16109 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 16110 16111 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 16112 if test $ac_delim_n = $ac_delim_num; then 16113 break 16114 elif $ac_last_try; then 16115 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 16116 else 16117 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 16118 fi 16119done 16120rm -f conf$$subs.sh 16121 16122cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16123cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 16124_ACEOF 16125sed -n ' 16126h 16127s/^/S["/; s/!.*/"]=/ 16128p 16129g 16130s/^[^!]*!// 16131:repl 16132t repl 16133s/'"$ac_delim"'$// 16134t delim 16135:nl 16136h 16137s/\(.\{148\}\)..*/\1/ 16138t more1 16139s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 16140p 16141n 16142b repl 16143:more1 16144s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 16145p 16146g 16147s/.\{148\}// 16148t nl 16149:delim 16150h 16151s/\(.\{148\}\)..*/\1/ 16152t more2 16153s/["\\]/\\&/g; s/^/"/; s/$/"/ 16154p 16155b 16156:more2 16157s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 16158p 16159g 16160s/.\{148\}// 16161t delim 16162' <conf$$subs.awk | sed ' 16163/^[^""]/{ 16164 N 16165 s/\n// 16166} 16167' >>$CONFIG_STATUS || ac_write_fail=1 16168rm -f conf$$subs.awk 16169cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16170_ACAWK 16171cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 16172 for (key in S) S_is_set[key] = 1 16173 FS = "" 16174 16175} 16176{ 16177 line = $ 0 16178 nfields = split(line, field, "@") 16179 substed = 0 16180 len = length(field[1]) 16181 for (i = 2; i < nfields; i++) { 16182 key = field[i] 16183 keylen = length(key) 16184 if (S_is_set[key]) { 16185 value = S[key] 16186 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 16187 len += length(value) + length(field[++i]) 16188 substed = 1 16189 } else 16190 len += 1 + keylen 16191 } 16192 16193 print line 16194} 16195 16196_ACAWK 16197_ACEOF 16198cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16199if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 16200 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 16201else 16202 cat 16203fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 16204 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 16205_ACEOF 16206 16207# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 16208# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 16209# trailing colons and then remove the whole line if VPATH becomes empty 16210# (actually we leave an empty line to preserve line numbers). 16211if test "x$srcdir" = x.; then 16212 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 16213h 16214s/// 16215s/^/:/ 16216s/[ ]*$/:/ 16217s/:\$(srcdir):/:/g 16218s/:\${srcdir}:/:/g 16219s/:@srcdir@:/:/g 16220s/^:*// 16221s/:*$// 16222x 16223s/\(=[ ]*\).*/\1/ 16224G 16225s/\n// 16226s/^[^=]*=[ ]*$// 16227}' 16228fi 16229 16230cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16231fi # test -n "$CONFIG_FILES" 16232 16233# Set up the scripts for CONFIG_HEADERS section. 16234# No need to generate them if there are no CONFIG_HEADERS. 16235# This happens for instance with `./config.status Makefile'. 16236if test -n "$CONFIG_HEADERS"; then 16237cat >"$ac_tmp/defines.awk" <<\_ACAWK || 16238BEGIN { 16239_ACEOF 16240 16241# Transform confdefs.h into an awk script `defines.awk', embedded as 16242# here-document in config.status, that substitutes the proper values into 16243# config.h.in to produce config.h. 16244 16245# Create a delimiter string that does not exist in confdefs.h, to ease 16246# handling of long lines. 16247ac_delim='%!_!# ' 16248for ac_last_try in false false :; do 16249 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 16250 if test -z "$ac_tt"; then 16251 break 16252 elif $ac_last_try; then 16253 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 16254 else 16255 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 16256 fi 16257done 16258 16259# For the awk script, D is an array of macro values keyed by name, 16260# likewise P contains macro parameters if any. Preserve backslash 16261# newline sequences. 16262 16263ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 16264sed -n ' 16265s/.\{148\}/&'"$ac_delim"'/g 16266t rset 16267:rset 16268s/^[ ]*#[ ]*define[ ][ ]*/ / 16269t def 16270d 16271:def 16272s/\\$// 16273t bsnl 16274s/["\\]/\\&/g 16275s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 16276D["\1"]=" \3"/p 16277s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 16278d 16279:bsnl 16280s/["\\]/\\&/g 16281s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 16282D["\1"]=" \3\\\\\\n"\\/p 16283t cont 16284s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 16285t cont 16286d 16287:cont 16288n 16289s/.\{148\}/&'"$ac_delim"'/g 16290t clear 16291:clear 16292s/\\$// 16293t bsnlc 16294s/["\\]/\\&/g; s/^/"/; s/$/"/p 16295d 16296:bsnlc 16297s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 16298b cont 16299' <confdefs.h | sed ' 16300s/'"$ac_delim"'/"\\\ 16301"/g' >>$CONFIG_STATUS || ac_write_fail=1 16302 16303cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16304 for (key in D) D_is_set[key] = 1 16305 FS = "" 16306} 16307/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 16308 line = \$ 0 16309 split(line, arg, " ") 16310 if (arg[1] == "#") { 16311 defundef = arg[2] 16312 mac1 = arg[3] 16313 } else { 16314 defundef = substr(arg[1], 2) 16315 mac1 = arg[2] 16316 } 16317 split(mac1, mac2, "(") #) 16318 macro = mac2[1] 16319 prefix = substr(line, 1, index(line, defundef) - 1) 16320 if (D_is_set[macro]) { 16321 # Preserve the white space surrounding the "#". 16322 print prefix "define", macro P[macro] D[macro] 16323 next 16324 } else { 16325 # Replace #undef with comments. This is necessary, for example, 16326 # in the case of _POSIX_SOURCE, which is predefined and required 16327 # on some systems where configure will not decide to define it. 16328 if (defundef == "undef") { 16329 print "/*", prefix defundef, macro, "*/" 16330 next 16331 } 16332 } 16333} 16334{ print } 16335_ACAWK 16336_ACEOF 16337cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16338 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 16339fi # test -n "$CONFIG_HEADERS" 16340 16341 16342eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 16343shift 16344for ac_tag 16345do 16346 case $ac_tag in 16347 :[FHLC]) ac_mode=$ac_tag; continue;; 16348 esac 16349 case $ac_mode$ac_tag in 16350 :[FHL]*:*);; 16351 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 16352 :[FH]-) ac_tag=-:-;; 16353 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 16354 esac 16355 ac_save_IFS=$IFS 16356 IFS=: 16357 set x $ac_tag 16358 IFS=$ac_save_IFS 16359 shift 16360 ac_file=$1 16361 shift 16362 16363 case $ac_mode in 16364 :L) ac_source=$1;; 16365 :[FH]) 16366 ac_file_inputs= 16367 for ac_f 16368 do 16369 case $ac_f in 16370 -) ac_f="$ac_tmp/stdin";; 16371 *) # Look for the file first in the build tree, then in the source tree 16372 # (if the path is not absolute). The absolute path cannot be DOS-style, 16373 # because $ac_f cannot contain `:'. 16374 test -f "$ac_f" || 16375 case $ac_f in 16376 [\\/$]*) false;; 16377 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 16378 esac || 16379 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 16380 esac 16381 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 16382 as_fn_append ac_file_inputs " '$ac_f'" 16383 done 16384 16385 # Let's still pretend it is `configure' which instantiates (i.e., don't 16386 # use $as_me), people would be surprised to read: 16387 # /* config.h. Generated by config.status. */ 16388 configure_input='Generated from '` 16389 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 16390 `' by configure.' 16391 if test x"$ac_file" != x-; then 16392 configure_input="$ac_file. $configure_input" 16393 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 16394$as_echo "$as_me: creating $ac_file" >&6;} 16395 fi 16396 # Neutralize special characters interpreted by sed in replacement strings. 16397 case $configure_input in #( 16398 *\&* | *\|* | *\\* ) 16399 ac_sed_conf_input=`$as_echo "$configure_input" | 16400 sed 's/[\\\\&|]/\\\\&/g'`;; #( 16401 *) ac_sed_conf_input=$configure_input;; 16402 esac 16403 16404 case $ac_tag in 16405 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 16406 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 16407 esac 16408 ;; 16409 esac 16410 16411 ac_dir=`$as_dirname -- "$ac_file" || 16412$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16413 X"$ac_file" : 'X\(//\)[^/]' \| \ 16414 X"$ac_file" : 'X\(//\)$' \| \ 16415 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 16416$as_echo X"$ac_file" | 16417 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16418 s//\1/ 16419 q 16420 } 16421 /^X\(\/\/\)[^/].*/{ 16422 s//\1/ 16423 q 16424 } 16425 /^X\(\/\/\)$/{ 16426 s//\1/ 16427 q 16428 } 16429 /^X\(\/\).*/{ 16430 s//\1/ 16431 q 16432 } 16433 s/.*/./; q'` 16434 as_dir="$ac_dir"; as_fn_mkdir_p 16435 ac_builddir=. 16436 16437case "$ac_dir" in 16438.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 16439*) 16440 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 16441 # A ".." for each directory in $ac_dir_suffix. 16442 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 16443 case $ac_top_builddir_sub in 16444 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 16445 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 16446 esac ;; 16447esac 16448ac_abs_top_builddir=$ac_pwd 16449ac_abs_builddir=$ac_pwd$ac_dir_suffix 16450# for backward compatibility: 16451ac_top_builddir=$ac_top_build_prefix 16452 16453case $srcdir in 16454 .) # We are building in place. 16455 ac_srcdir=. 16456 ac_top_srcdir=$ac_top_builddir_sub 16457 ac_abs_top_srcdir=$ac_pwd ;; 16458 [\\/]* | ?:[\\/]* ) # Absolute name. 16459 ac_srcdir=$srcdir$ac_dir_suffix; 16460 ac_top_srcdir=$srcdir 16461 ac_abs_top_srcdir=$srcdir ;; 16462 *) # Relative name. 16463 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 16464 ac_top_srcdir=$ac_top_build_prefix$srcdir 16465 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 16466esac 16467ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 16468 16469 16470 case $ac_mode in 16471 :F) 16472 # 16473 # CONFIG_FILE 16474 # 16475 16476 case $INSTALL in 16477 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 16478 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 16479 esac 16480 ac_MKDIR_P=$MKDIR_P 16481 case $MKDIR_P in 16482 [\\/$]* | ?:[\\/]* ) ;; 16483 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 16484 esac 16485_ACEOF 16486 16487cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16488# If the template does not know about datarootdir, expand it. 16489# FIXME: This hack should be removed a few years after 2.60. 16490ac_datarootdir_hack=; ac_datarootdir_seen= 16491ac_sed_dataroot=' 16492/datarootdir/ { 16493 p 16494 q 16495} 16496/@datadir@/p 16497/@docdir@/p 16498/@infodir@/p 16499/@localedir@/p 16500/@mandir@/p' 16501case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 16502*datarootdir*) ac_datarootdir_seen=yes;; 16503*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 16504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 16505$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 16506_ACEOF 16507cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16508 ac_datarootdir_hack=' 16509 s&@datadir@&$datadir&g 16510 s&@docdir@&$docdir&g 16511 s&@infodir@&$infodir&g 16512 s&@localedir@&$localedir&g 16513 s&@mandir@&$mandir&g 16514 s&\\\${datarootdir}&$datarootdir&g' ;; 16515esac 16516_ACEOF 16517 16518# Neutralize VPATH when `$srcdir' = `.'. 16519# Shell code in configure.ac might set extrasub. 16520# FIXME: do we really want to maintain this feature? 16521cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16522ac_sed_extra="$ac_vpsub 16523$extrasub 16524_ACEOF 16525cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16526:t 16527/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 16528s|@configure_input@|$ac_sed_conf_input|;t t 16529s&@top_builddir@&$ac_top_builddir_sub&;t t 16530s&@top_build_prefix@&$ac_top_build_prefix&;t t 16531s&@srcdir@&$ac_srcdir&;t t 16532s&@abs_srcdir@&$ac_abs_srcdir&;t t 16533s&@top_srcdir@&$ac_top_srcdir&;t t 16534s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 16535s&@builddir@&$ac_builddir&;t t 16536s&@abs_builddir@&$ac_abs_builddir&;t t 16537s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 16538s&@INSTALL@&$ac_INSTALL&;t t 16539s&@MKDIR_P@&$ac_MKDIR_P&;t t 16540$ac_datarootdir_hack 16541" 16542eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 16543 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16544 16545test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 16546 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 16547 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 16548 "$ac_tmp/out"`; test -z "$ac_out"; } && 16549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16550which seems to be undefined. Please make sure it is defined" >&5 16551$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16552which seems to be undefined. Please make sure it is defined" >&2;} 16553 16554 rm -f "$ac_tmp/stdin" 16555 case $ac_file in 16556 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 16557 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 16558 esac \ 16559 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16560 ;; 16561 :H) 16562 # 16563 # CONFIG_HEADER 16564 # 16565 if test x"$ac_file" != x-; then 16566 { 16567 $as_echo "/* $configure_input */" \ 16568 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 16569 } >"$ac_tmp/config.h" \ 16570 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16571 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 16572 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 16573$as_echo "$as_me: $ac_file is unchanged" >&6;} 16574 else 16575 rm -f "$ac_file" 16576 mv "$ac_tmp/config.h" "$ac_file" \ 16577 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16578 fi 16579 else 16580 $as_echo "/* $configure_input */" \ 16581 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 16582 || as_fn_error $? "could not create -" "$LINENO" 5 16583 fi 16584# Compute "$ac_file"'s index in $config_headers. 16585_am_arg="$ac_file" 16586_am_stamp_count=1 16587for _am_header in $config_headers :; do 16588 case $_am_header in 16589 $_am_arg | $_am_arg:* ) 16590 break ;; 16591 * ) 16592 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 16593 esac 16594done 16595echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 16596$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16597 X"$_am_arg" : 'X\(//\)[^/]' \| \ 16598 X"$_am_arg" : 'X\(//\)$' \| \ 16599 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 16600$as_echo X"$_am_arg" | 16601 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16602 s//\1/ 16603 q 16604 } 16605 /^X\(\/\/\)[^/].*/{ 16606 s//\1/ 16607 q 16608 } 16609 /^X\(\/\/\)$/{ 16610 s//\1/ 16611 q 16612 } 16613 /^X\(\/\).*/{ 16614 s//\1/ 16615 q 16616 } 16617 s/.*/./; q'`/stamp-h$_am_stamp_count 16618 ;; 16619 16620 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 16621$as_echo "$as_me: executing $ac_file commands" >&6;} 16622 ;; 16623 esac 16624 16625 16626 case $ac_file$ac_mode in 16627 "libtool":C) 16628 16629 # See if we are running on zsh, and set the options that allow our 16630 # commands through without removal of \ escapes. 16631 if test -n "${ZSH_VERSION+set}"; then 16632 setopt NO_GLOB_SUBST 16633 fi 16634 16635 cfgfile=${ofile}T 16636 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 16637 $RM "$cfgfile" 16638 16639 cat <<_LT_EOF >> "$cfgfile" 16640#! $SHELL 16641# Generated automatically by $as_me ($PACKAGE) $VERSION 16642# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 16643# NOTE: Changes made to this file will be lost: look at ltmain.sh. 16644 16645# Provide generalized library-building support services. 16646# Written by Gordon Matzigkeit, 1996 16647 16648# Copyright (C) 2014 Free Software Foundation, Inc. 16649# This is free software; see the source for copying conditions. There is NO 16650# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 16651 16652# GNU Libtool is free software; you can redistribute it and/or modify 16653# it under the terms of the GNU General Public License as published by 16654# the Free Software Foundation; either version 2 of of the License, or 16655# (at your option) any later version. 16656# 16657# As a special exception to the GNU General Public License, if you 16658# distribute this file as part of a program or library that is built 16659# using GNU Libtool, you may include this file under the same 16660# distribution terms that you use for the rest of that program. 16661# 16662# GNU Libtool is distributed in the hope that it will be useful, but 16663# WITHOUT ANY WARRANTY; without even the implied warranty of 16664# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16665# GNU General Public License for more details. 16666# 16667# You should have received a copy of the GNU General Public License 16668# along with this program. If not, see <http://www.gnu.org/licenses/>. 16669 16670 16671# The names of the tagged configurations supported by this script. 16672available_tags='' 16673 16674# Configured defaults for sys_lib_dlsearch_path munging. 16675: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 16676 16677# ### BEGIN LIBTOOL CONFIG 16678 16679# Which release of libtool.m4 was used? 16680macro_version=$macro_version 16681macro_revision=$macro_revision 16682 16683# Whether or not to build static libraries. 16684build_old_libs=$enable_static 16685 16686# Whether or not to build shared libraries. 16687build_libtool_libs=$enable_shared 16688 16689# What type of objects to build. 16690pic_mode=$pic_mode 16691 16692# Whether or not to optimize for fast installation. 16693fast_install=$enable_fast_install 16694 16695# Shared archive member basename,for filename based shared library versioning on AIX. 16696shared_archive_member_spec=$shared_archive_member_spec 16697 16698# Shell to use when invoking shell scripts. 16699SHELL=$lt_SHELL 16700 16701# An echo program that protects backslashes. 16702ECHO=$lt_ECHO 16703 16704# The PATH separator for the build system. 16705PATH_SEPARATOR=$lt_PATH_SEPARATOR 16706 16707# The host system. 16708host_alias=$host_alias 16709host=$host 16710host_os=$host_os 16711 16712# The build system. 16713build_alias=$build_alias 16714build=$build 16715build_os=$build_os 16716 16717# A sed program that does not truncate output. 16718SED=$lt_SED 16719 16720# Sed that helps us avoid accidentally triggering echo(1) options like -n. 16721Xsed="\$SED -e 1s/^X//" 16722 16723# A grep program that handles long lines. 16724GREP=$lt_GREP 16725 16726# An ERE matcher. 16727EGREP=$lt_EGREP 16728 16729# A literal string matcher. 16730FGREP=$lt_FGREP 16731 16732# A BSD- or MS-compatible name lister. 16733NM=$lt_NM 16734 16735# Whether we need soft or hard links. 16736LN_S=$lt_LN_S 16737 16738# What is the maximum length of a command? 16739max_cmd_len=$max_cmd_len 16740 16741# Object file suffix (normally "o"). 16742objext=$ac_objext 16743 16744# Executable file suffix (normally ""). 16745exeext=$exeext 16746 16747# whether the shell understands "unset". 16748lt_unset=$lt_unset 16749 16750# turn spaces into newlines. 16751SP2NL=$lt_lt_SP2NL 16752 16753# turn newlines into spaces. 16754NL2SP=$lt_lt_NL2SP 16755 16756# convert \$build file names to \$host format. 16757to_host_file_cmd=$lt_cv_to_host_file_cmd 16758 16759# convert \$build files to toolchain format. 16760to_tool_file_cmd=$lt_cv_to_tool_file_cmd 16761 16762# An object symbol dumper. 16763OBJDUMP=$lt_OBJDUMP 16764 16765# Method to check whether dependent libraries are shared objects. 16766deplibs_check_method=$lt_deplibs_check_method 16767 16768# Command to use when deplibs_check_method = "file_magic". 16769file_magic_cmd=$lt_file_magic_cmd 16770 16771# How to find potential files when deplibs_check_method = "file_magic". 16772file_magic_glob=$lt_file_magic_glob 16773 16774# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 16775want_nocaseglob=$lt_want_nocaseglob 16776 16777# DLL creation program. 16778DLLTOOL=$lt_DLLTOOL 16779 16780# Command to associate shared and link libraries. 16781sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 16782 16783# The archiver. 16784AR=$lt_AR 16785 16786# Flags to create an archive. 16787AR_FLAGS=$lt_AR_FLAGS 16788 16789# How to feed a file listing to the archiver. 16790archiver_list_spec=$lt_archiver_list_spec 16791 16792# A symbol stripping program. 16793STRIP=$lt_STRIP 16794 16795# Commands used to install an old-style archive. 16796RANLIB=$lt_RANLIB 16797old_postinstall_cmds=$lt_old_postinstall_cmds 16798old_postuninstall_cmds=$lt_old_postuninstall_cmds 16799 16800# Whether to use a lock for old archive extraction. 16801lock_old_archive_extraction=$lock_old_archive_extraction 16802 16803# A C compiler. 16804LTCC=$lt_CC 16805 16806# LTCC compiler flags. 16807LTCFLAGS=$lt_CFLAGS 16808 16809# Take the output of nm and produce a listing of raw symbols and C names. 16810global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 16811 16812# Transform the output of nm in a proper C declaration. 16813global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 16814 16815# Transform the output of nm into a list of symbols to manually relocate. 16816global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 16817 16818# Transform the output of nm in a C name address pair. 16819global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 16820 16821# Transform the output of nm in a C name address pair when lib prefix is needed. 16822global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 16823 16824# The name lister interface. 16825nm_interface=$lt_lt_cv_nm_interface 16826 16827# Specify filename containing input files for \$NM. 16828nm_file_list_spec=$lt_nm_file_list_spec 16829 16830# The root where to search for dependent libraries,and where our libraries should be installed. 16831lt_sysroot=$lt_sysroot 16832 16833# Command to truncate a binary pipe. 16834lt_truncate_bin=$lt_lt_cv_truncate_bin 16835 16836# The name of the directory that contains temporary libtool files. 16837objdir=$objdir 16838 16839# Used to examine libraries when file_magic_cmd begins with "file". 16840MAGIC_CMD=$MAGIC_CMD 16841 16842# Must we lock files when doing compilation? 16843need_locks=$lt_need_locks 16844 16845# Manifest tool. 16846MANIFEST_TOOL=$lt_MANIFEST_TOOL 16847 16848# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 16849DSYMUTIL=$lt_DSYMUTIL 16850 16851# Tool to change global to local symbols on Mac OS X. 16852NMEDIT=$lt_NMEDIT 16853 16854# Tool to manipulate fat objects and archives on Mac OS X. 16855LIPO=$lt_LIPO 16856 16857# ldd/readelf like tool for Mach-O binaries on Mac OS X. 16858OTOOL=$lt_OTOOL 16859 16860# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 16861OTOOL64=$lt_OTOOL64 16862 16863# Old archive suffix (normally "a"). 16864libext=$libext 16865 16866# Shared library suffix (normally ".so"). 16867shrext_cmds=$lt_shrext_cmds 16868 16869# The commands to extract the exported symbol list from a shared archive. 16870extract_expsyms_cmds=$lt_extract_expsyms_cmds 16871 16872# Variables whose values should be saved in libtool wrapper scripts and 16873# restored at link time. 16874variables_saved_for_relink=$lt_variables_saved_for_relink 16875 16876# Do we need the "lib" prefix for modules? 16877need_lib_prefix=$need_lib_prefix 16878 16879# Do we need a version for libraries? 16880need_version=$need_version 16881 16882# Library versioning type. 16883version_type=$version_type 16884 16885# Shared library runtime path variable. 16886runpath_var=$runpath_var 16887 16888# Shared library path variable. 16889shlibpath_var=$shlibpath_var 16890 16891# Is shlibpath searched before the hard-coded library search path? 16892shlibpath_overrides_runpath=$shlibpath_overrides_runpath 16893 16894# Format of library name prefix. 16895libname_spec=$lt_libname_spec 16896 16897# List of archive names. First name is the real one, the rest are links. 16898# The last name is the one that the linker finds with -lNAME 16899library_names_spec=$lt_library_names_spec 16900 16901# The coded name of the library, if different from the real name. 16902soname_spec=$lt_soname_spec 16903 16904# Permission mode override for installation of shared libraries. 16905install_override_mode=$lt_install_override_mode 16906 16907# Command to use after installation of a shared archive. 16908postinstall_cmds=$lt_postinstall_cmds 16909 16910# Command to use after uninstallation of a shared archive. 16911postuninstall_cmds=$lt_postuninstall_cmds 16912 16913# Commands used to finish a libtool library installation in a directory. 16914finish_cmds=$lt_finish_cmds 16915 16916# As "finish_cmds", except a single script fragment to be evaled but 16917# not shown. 16918finish_eval=$lt_finish_eval 16919 16920# Whether we should hardcode library paths into libraries. 16921hardcode_into_libs=$hardcode_into_libs 16922 16923# Compile-time system search path for libraries. 16924sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 16925 16926# Detected run-time system search path for libraries. 16927sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 16928 16929# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 16930configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 16931 16932# Whether dlopen is supported. 16933dlopen_support=$enable_dlopen 16934 16935# Whether dlopen of programs is supported. 16936dlopen_self=$enable_dlopen_self 16937 16938# Whether dlopen of statically linked programs is supported. 16939dlopen_self_static=$enable_dlopen_self_static 16940 16941# Commands to strip libraries. 16942old_striplib=$lt_old_striplib 16943striplib=$lt_striplib 16944 16945 16946# The linker used to build libraries. 16947LD=$lt_LD 16948 16949# How to create reloadable object files. 16950reload_flag=$lt_reload_flag 16951reload_cmds=$lt_reload_cmds 16952 16953# Commands used to build an old-style archive. 16954old_archive_cmds=$lt_old_archive_cmds 16955 16956# A language specific compiler. 16957CC=$lt_compiler 16958 16959# Is the compiler the GNU compiler? 16960with_gcc=$GCC 16961 16962# Compiler flag to turn off builtin functions. 16963no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 16964 16965# Additional compiler flags for building library objects. 16966pic_flag=$lt_lt_prog_compiler_pic 16967 16968# How to pass a linker flag through the compiler. 16969wl=$lt_lt_prog_compiler_wl 16970 16971# Compiler flag to prevent dynamic linking. 16972link_static_flag=$lt_lt_prog_compiler_static 16973 16974# Does compiler simultaneously support -c and -o options? 16975compiler_c_o=$lt_lt_cv_prog_compiler_c_o 16976 16977# Whether or not to add -lc for building shared libraries. 16978build_libtool_need_lc=$archive_cmds_need_lc 16979 16980# Whether or not to disallow shared libs when runtime libs are static. 16981allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 16982 16983# Compiler flag to allow reflexive dlopens. 16984export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 16985 16986# Compiler flag to generate shared objects directly from archives. 16987whole_archive_flag_spec=$lt_whole_archive_flag_spec 16988 16989# Whether the compiler copes with passing no objects directly. 16990compiler_needs_object=$lt_compiler_needs_object 16991 16992# Create an old-style archive from a shared archive. 16993old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 16994 16995# Create a temporary old-style archive to link instead of a shared archive. 16996old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 16997 16998# Commands used to build a shared archive. 16999archive_cmds=$lt_archive_cmds 17000archive_expsym_cmds=$lt_archive_expsym_cmds 17001 17002# Commands used to build a loadable module if different from building 17003# a shared archive. 17004module_cmds=$lt_module_cmds 17005module_expsym_cmds=$lt_module_expsym_cmds 17006 17007# Whether we are building with GNU ld or not. 17008with_gnu_ld=$lt_with_gnu_ld 17009 17010# Flag that allows shared libraries with undefined symbols to be built. 17011allow_undefined_flag=$lt_allow_undefined_flag 17012 17013# Flag that enforces no undefined symbols. 17014no_undefined_flag=$lt_no_undefined_flag 17015 17016# Flag to hardcode \$libdir into a binary during linking. 17017# This must work even if \$libdir does not exist 17018hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 17019 17020# Whether we need a single "-rpath" flag with a separated argument. 17021hardcode_libdir_separator=$lt_hardcode_libdir_separator 17022 17023# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 17024# DIR into the resulting binary. 17025hardcode_direct=$hardcode_direct 17026 17027# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 17028# DIR into the resulting binary and the resulting library dependency is 17029# "absolute",i.e impossible to change by setting \$shlibpath_var if the 17030# library is relocated. 17031hardcode_direct_absolute=$hardcode_direct_absolute 17032 17033# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 17034# into the resulting binary. 17035hardcode_minus_L=$hardcode_minus_L 17036 17037# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 17038# into the resulting binary. 17039hardcode_shlibpath_var=$hardcode_shlibpath_var 17040 17041# Set to "yes" if building a shared library automatically hardcodes DIR 17042# into the library and all subsequent libraries and executables linked 17043# against it. 17044hardcode_automatic=$hardcode_automatic 17045 17046# Set to yes if linker adds runtime paths of dependent libraries 17047# to runtime path list. 17048inherit_rpath=$inherit_rpath 17049 17050# Whether libtool must link a program against all its dependency libraries. 17051link_all_deplibs=$link_all_deplibs 17052 17053# Set to "yes" if exported symbols are required. 17054always_export_symbols=$always_export_symbols 17055 17056# The commands to list exported symbols. 17057export_symbols_cmds=$lt_export_symbols_cmds 17058 17059# Symbols that should not be listed in the preloaded symbols. 17060exclude_expsyms=$lt_exclude_expsyms 17061 17062# Symbols that must always be exported. 17063include_expsyms=$lt_include_expsyms 17064 17065# Commands necessary for linking programs (against libraries) with templates. 17066prelink_cmds=$lt_prelink_cmds 17067 17068# Commands necessary for finishing linking programs. 17069postlink_cmds=$lt_postlink_cmds 17070 17071# Specify filename containing input files. 17072file_list_spec=$lt_file_list_spec 17073 17074# How to hardcode a shared library path into an executable. 17075hardcode_action=$hardcode_action 17076 17077# ### END LIBTOOL CONFIG 17078 17079_LT_EOF 17080 17081 cat <<'_LT_EOF' >> "$cfgfile" 17082 17083# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 17084 17085# func_munge_path_list VARIABLE PATH 17086# ----------------------------------- 17087# VARIABLE is name of variable containing _space_ separated list of 17088# directories to be munged by the contents of PATH, which is string 17089# having a format: 17090# "DIR[:DIR]:" 17091# string "DIR[ DIR]" will be prepended to VARIABLE 17092# ":DIR[:DIR]" 17093# string "DIR[ DIR]" will be appended to VARIABLE 17094# "DIRP[:DIRP]::[DIRA:]DIRA" 17095# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 17096# "DIRA[ DIRA]" will be appended to VARIABLE 17097# "DIR[:DIR]" 17098# VARIABLE will be replaced by "DIR[ DIR]" 17099func_munge_path_list () 17100{ 17101 case x$2 in 17102 x) 17103 ;; 17104 *:) 17105 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 17106 ;; 17107 x:*) 17108 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 17109 ;; 17110 *::*) 17111 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 17112 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 17113 ;; 17114 *) 17115 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 17116 ;; 17117 esac 17118} 17119 17120 17121# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 17122func_cc_basename () 17123{ 17124 for cc_temp in $*""; do 17125 case $cc_temp in 17126 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 17127 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 17128 \-*) ;; 17129 *) break;; 17130 esac 17131 done 17132 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 17133} 17134 17135 17136# ### END FUNCTIONS SHARED WITH CONFIGURE 17137 17138_LT_EOF 17139 17140 case $host_os in 17141 aix3*) 17142 cat <<\_LT_EOF >> "$cfgfile" 17143# AIX sometimes has problems with the GCC collect2 program. For some 17144# reason, if we set the COLLECT_NAMES environment variable, the problems 17145# vanish in a puff of smoke. 17146if test set != "${COLLECT_NAMES+set}"; then 17147 COLLECT_NAMES= 17148 export COLLECT_NAMES 17149fi 17150_LT_EOF 17151 ;; 17152 esac 17153 17154 17155ltmain=$ac_aux_dir/ltmain.sh 17156 17157 17158 # We use sed instead of cat because bash on DJGPP gets confused if 17159 # if finds mixed CR/LF and LF-only lines. Since sed operates in 17160 # text mode, it properly converts lines to CR/LF. This bash problem 17161 # is reportedly fixed, but why not run on old versions too? 17162 sed '$q' "$ltmain" >> "$cfgfile" \ 17163 || (rm -f "$cfgfile"; exit 1) 17164 17165 mv -f "$cfgfile" "$ofile" || 17166 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 17167 chmod +x "$ofile" 17168 17169 ;; 17170 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 17171 # Older Autoconf quotes --file arguments for eval, but not when files 17172 # are listed without --file. Let's play safe and only enable the eval 17173 # if we detect the quoting. 17174 case $CONFIG_FILES in 17175 *\'*) eval set x "$CONFIG_FILES" ;; 17176 *) set x $CONFIG_FILES ;; 17177 esac 17178 shift 17179 for mf 17180 do 17181 # Strip MF so we end up with the name of the file. 17182 mf=`echo "$mf" | sed -e 's/:.*$//'` 17183 # Check whether this is an Automake generated Makefile or not. 17184 # We used to match only the files named 'Makefile.in', but 17185 # some people rename them; so instead we look at the file content. 17186 # Grep'ing the first line is not enough: some people post-process 17187 # each Makefile.in and add a new line on top of each file to say so. 17188 # Grep'ing the whole file is not good either: AIX grep has a line 17189 # limit of 2048, but all sed's we know have understand at least 4000. 17190 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 17191 dirpart=`$as_dirname -- "$mf" || 17192$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17193 X"$mf" : 'X\(//\)[^/]' \| \ 17194 X"$mf" : 'X\(//\)$' \| \ 17195 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 17196$as_echo X"$mf" | 17197 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17198 s//\1/ 17199 q 17200 } 17201 /^X\(\/\/\)[^/].*/{ 17202 s//\1/ 17203 q 17204 } 17205 /^X\(\/\/\)$/{ 17206 s//\1/ 17207 q 17208 } 17209 /^X\(\/\).*/{ 17210 s//\1/ 17211 q 17212 } 17213 s/.*/./; q'` 17214 else 17215 continue 17216 fi 17217 # Extract the definition of DEPDIR, am__include, and am__quote 17218 # from the Makefile without running 'make'. 17219 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 17220 test -z "$DEPDIR" && continue 17221 am__include=`sed -n 's/^am__include = //p' < "$mf"` 17222 test -z "$am__include" && continue 17223 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 17224 # Find all dependency output files, they are included files with 17225 # $(DEPDIR) in their names. We invoke sed twice because it is the 17226 # simplest approach to changing $(DEPDIR) to its actual value in the 17227 # expansion. 17228 for file in `sed -n " 17229 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 17230 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 17231 # Make sure the directory exists. 17232 test -f "$dirpart/$file" && continue 17233 fdir=`$as_dirname -- "$file" || 17234$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17235 X"$file" : 'X\(//\)[^/]' \| \ 17236 X"$file" : 'X\(//\)$' \| \ 17237 X"$file" : 'X\(/\)' \| . 2>/dev/null || 17238$as_echo X"$file" | 17239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17240 s//\1/ 17241 q 17242 } 17243 /^X\(\/\/\)[^/].*/{ 17244 s//\1/ 17245 q 17246 } 17247 /^X\(\/\/\)$/{ 17248 s//\1/ 17249 q 17250 } 17251 /^X\(\/\).*/{ 17252 s//\1/ 17253 q 17254 } 17255 s/.*/./; q'` 17256 as_dir=$dirpart/$fdir; as_fn_mkdir_p 17257 # echo "creating $dirpart/$file" 17258 echo '# dummy' > "$dirpart/$file" 17259 done 17260 done 17261} 17262 ;; 17263 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) 17264 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile 17265 esac ;; 17266 "po/stamp-it":C) 17267 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then 17268 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 17269 fi 17270 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" 17271 >"po/stamp-it.tmp" 17272 sed '/^#/d 17273 s/^[[].*] *// 17274 /^[ ]*$/d 17275 '"s|^| $ac_top_srcdir/|" \ 17276 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" 17277 17278 sed '/^POTFILES =/,/[^\\]$/ { 17279 /^POTFILES =/!d 17280 r po/POTFILES 17281 } 17282 ' "po/Makefile.in" >"po/Makefile" 17283 rm -f "po/Makefile.tmp" 17284 mv "po/stamp-it.tmp" "po/stamp-it" 17285 ;; 17286 17287 esac 17288done # for ac_tag 17289 17290 17291as_fn_exit 0 17292_ACEOF 17293ac_clean_files=$ac_clean_files_save 17294 17295test $ac_write_fail = 0 || 17296 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 17297 17298 17299# configure is writing to config.log, and then calls config.status. 17300# config.status does its own redirection, appending to config.log. 17301# Unfortunately, on DOS this fails, as config.log is still kept open 17302# by configure, so config.status won't be able to write to it; its 17303# output is simply discarded. So we exec the FD to /dev/null, 17304# effectively closing config.log, so it can be properly (re)opened and 17305# appended to by config.status. When coming back to configure, we 17306# need to make the FD available again. 17307if test "$no_create" != yes; then 17308 ac_cs_success=: 17309 ac_config_status_args= 17310 test "$silent" = yes && 17311 ac_config_status_args="$ac_config_status_args --quiet" 17312 exec 5>/dev/null 17313 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 17314 exec 5>>config.log 17315 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 17316 # would make configure fail if this is the last instruction. 17317 $ac_cs_success || as_fn_exit 1 17318fi 17319if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 17320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 17321$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 17322fi 17323 17324 17325 17326cat rodent-fgr.settings 17327echo "Build: $build" 17328 17329echo 'CFLAGS:' $CFLAGS 17330echo 'LDFLAGS:' $LDFLAGS 17331 17332if test "$ac_uname_s" = "Linux"; then 17333 echo 'Now do a make && sudo make install && sudo ldconfig' 17334else 17335 echo 'ATTENTION BSD user: Use gmake instead of make,' 17336 echo 'otherwise make process will halt with an error while building' 17337 echo 'translations.' 17338 echo '...' 17339 echo 'Now do a gmake && sudo gmake install && sudo ldconfig' 17340fi 17341 17342 17343 17344 17345 17346