1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.63 for gtkspell 2.0.16. 4# 5# Report bugs to <gtkspell-devel@lists.sourceforge.net>. 6# 7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## --------------------- ## 12## M4sh Initialization. ## 13## --------------------- ## 14 15# Be more Bourne compatible 16DUALCASE=1; export DUALCASE # for MKS sh 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in 26 *posix*) set -o posix ;; 27esac 28 29fi 30 31 32 33 34# PATH needs CR 35# Avoid depending upon Character Ranges. 36as_cr_letters='abcdefghijklmnopqrstuvwxyz' 37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 38as_cr_Letters=$as_cr_letters$as_cr_LETTERS 39as_cr_digits='0123456789' 40as_cr_alnum=$as_cr_Letters$as_cr_digits 41 42as_nl=' 43' 44export as_nl 45# Printing a long string crashes Solaris 7 /usr/bin/printf. 46as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 47as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 48as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 49if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83# Support unset when possible. 84if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 85 as_unset=unset 86else 87 as_unset=false 88fi 89 90 91# IFS 92# We need space, tab and new line, in precisely that order. Quoting is 93# there to prevent editors from complaining about space-tab. 94# (If _AS_PATH_WALK were called with IFS unset, it would disable word 95# splitting by setting IFS to empty value.) 96IFS=" "" $as_nl" 97 98# Find who we are. Look in the path if we contain no directory separator. 99case $0 in 100 *[\\/]* ) as_myself=$0 ;; 101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 102for as_dir in $PATH 103do 104 IFS=$as_save_IFS 105 test -z "$as_dir" && as_dir=. 106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 107done 108IFS=$as_save_IFS 109 110 ;; 111esac 112# We did not find ourselves, most probably we were run as `sh COMMAND' 113# in which case we are not to be found in the path. 114if test "x$as_myself" = x; then 115 as_myself=$0 116fi 117if test ! -f "$as_myself"; then 118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 119 { (exit 1); exit 1; } 120fi 121 122# Work around bugs in pre-3.0 UWIN ksh. 123for as_var in ENV MAIL MAILPATH 124do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 125done 126PS1='$ ' 127PS2='> ' 128PS4='+ ' 129 130# NLS nuisances. 131LC_ALL=C 132export LC_ALL 133LANGUAGE=C 134export LANGUAGE 135 136# Required to use basename. 137if expr a : '\(a\)' >/dev/null 2>&1 && 138 test "X`expr 00001 : '.*\(...\)'`" = X001; then 139 as_expr=expr 140else 141 as_expr=false 142fi 143 144if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 145 as_basename=basename 146else 147 as_basename=false 148fi 149 150 151# Name of the executable. 152as_me=`$as_basename -- "$0" || 153$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 154 X"$0" : 'X\(//\)$' \| \ 155 X"$0" : 'X\(/\)' \| . 2>/dev/null || 156$as_echo X/"$0" | 157 sed '/^.*\/\([^/][^/]*\)\/*$/{ 158 s//\1/ 159 q 160 } 161 /^X\/\(\/\/\)$/{ 162 s//\1/ 163 q 164 } 165 /^X\/\(\/\).*/{ 166 s//\1/ 167 q 168 } 169 s/.*/./; q'` 170 171# CDPATH. 172$as_unset CDPATH 173 174 175if test "x$CONFIG_SHELL" = x; then 176 if (eval ":") 2>/dev/null; then 177 as_have_required=yes 178else 179 as_have_required=no 180fi 181 182 if test $as_have_required = yes && (eval ": 183(as_func_return () { 184 (exit \$1) 185} 186as_func_success () { 187 as_func_return 0 188} 189as_func_failure () { 190 as_func_return 1 191} 192as_func_ret_success () { 193 return 0 194} 195as_func_ret_failure () { 196 return 1 197} 198 199exitcode=0 200if as_func_success; then 201 : 202else 203 exitcode=1 204 echo as_func_success failed. 205fi 206 207if as_func_failure; then 208 exitcode=1 209 echo as_func_failure succeeded. 210fi 211 212if as_func_ret_success; then 213 : 214else 215 exitcode=1 216 echo as_func_ret_success failed. 217fi 218 219if as_func_ret_failure; then 220 exitcode=1 221 echo as_func_ret_failure succeeded. 222fi 223 224if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 225 : 226else 227 exitcode=1 228 echo positional parameters were not saved. 229fi 230 231test \$exitcode = 0) || { (exit 1); exit 1; } 232 233( 234 as_lineno_1=\$LINENO 235 as_lineno_2=\$LINENO 236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 238") 2> /dev/null; then 239 : 240else 241 as_candidate_shells= 242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 243for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 244do 245 IFS=$as_save_IFS 246 test -z "$as_dir" && as_dir=. 247 case $as_dir in 248 /*) 249 for as_base in sh bash ksh sh5; do 250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 251 done;; 252 esac 253done 254IFS=$as_save_IFS 255 256 257 for as_shell in $as_candidate_shells $SHELL; do 258 # Try only shells that exist, to save several forks. 259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 260 { ("$as_shell") 2> /dev/null <<\_ASEOF 261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271esac 272 273fi 274 275 276: 277_ASEOF 278}; then 279 CONFIG_SHELL=$as_shell 280 as_have_required=yes 281 if { "$as_shell" 2> /dev/null <<\_ASEOF 282if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 283 emulate sh 284 NULLCMD=: 285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 286 # is contrary to our usage. Disable this feature. 287 alias -g '${1+"$@"}'='"$@"' 288 setopt NO_GLOB_SUBST 289else 290 case `(set -o) 2>/dev/null` in 291 *posix*) set -o posix ;; 292esac 293 294fi 295 296 297: 298(as_func_return () { 299 (exit $1) 300} 301as_func_success () { 302 as_func_return 0 303} 304as_func_failure () { 305 as_func_return 1 306} 307as_func_ret_success () { 308 return 0 309} 310as_func_ret_failure () { 311 return 1 312} 313 314exitcode=0 315if as_func_success; then 316 : 317else 318 exitcode=1 319 echo as_func_success failed. 320fi 321 322if as_func_failure; then 323 exitcode=1 324 echo as_func_failure succeeded. 325fi 326 327if as_func_ret_success; then 328 : 329else 330 exitcode=1 331 echo as_func_ret_success failed. 332fi 333 334if as_func_ret_failure; then 335 exitcode=1 336 echo as_func_ret_failure succeeded. 337fi 338 339if ( set x; as_func_ret_success y && test x = "$1" ); then 340 : 341else 342 exitcode=1 343 echo positional parameters were not saved. 344fi 345 346test $exitcode = 0) || { (exit 1); exit 1; } 347 348( 349 as_lineno_1=$LINENO 350 as_lineno_2=$LINENO 351 test "x$as_lineno_1" != "x$as_lineno_2" && 352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 353 354_ASEOF 355}; then 356 break 357fi 358 359fi 360 361 done 362 363 if test "x$CONFIG_SHELL" != x; then 364 for as_var in BASH_ENV ENV 365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 366 done 367 export CONFIG_SHELL 368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 369fi 370 371 372 if test $as_have_required = no; then 373 echo This script requires a shell more modern than all the 374 echo shells that I found on your system. Please install a 375 echo modern shell, or manually run the script under such a 376 echo shell if you do have one. 377 { (exit 1); exit 1; } 378fi 379 380 381fi 382 383fi 384 385 386 387(eval "as_func_return () { 388 (exit \$1) 389} 390as_func_success () { 391 as_func_return 0 392} 393as_func_failure () { 394 as_func_return 1 395} 396as_func_ret_success () { 397 return 0 398} 399as_func_ret_failure () { 400 return 1 401} 402 403exitcode=0 404if as_func_success; then 405 : 406else 407 exitcode=1 408 echo as_func_success failed. 409fi 410 411if as_func_failure; then 412 exitcode=1 413 echo as_func_failure succeeded. 414fi 415 416if as_func_ret_success; then 417 : 418else 419 exitcode=1 420 echo as_func_ret_success failed. 421fi 422 423if as_func_ret_failure; then 424 exitcode=1 425 echo as_func_ret_failure succeeded. 426fi 427 428if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 429 : 430else 431 exitcode=1 432 echo positional parameters were not saved. 433fi 434 435test \$exitcode = 0") || { 436 echo No shell found that supports shell functions. 437 echo Please tell bug-autoconf@gnu.org about your system, 438 echo including any error possibly output before this message. 439 echo This can help us improve future autoconf versions. 440 echo Configuration will now proceed without shell functions. 441} 442 443 444 445 as_lineno_1=$LINENO 446 as_lineno_2=$LINENO 447 test "x$as_lineno_1" != "x$as_lineno_2" && 448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 449 450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 451 # uniformly replaced by the line number. The first 'sed' inserts a 452 # line-number line after each line using $LINENO; the second 'sed' 453 # does the real work. The second script uses 'N' to pair each 454 # line-number line with the line containing $LINENO, and appends 455 # trailing '-' during substitution so that $LINENO is not a special 456 # case at line end. 457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 458 # scripts with optimization help from Paolo Bonzini. Blame Lee 459 # E. McMahon (1931-1989) for sed's syntax. :-) 460 sed -n ' 461 p 462 /[$]LINENO/= 463 ' <$as_myself | 464 sed ' 465 s/[$]LINENO.*/&-/ 466 t lineno 467 b 468 :lineno 469 N 470 :loop 471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 472 t loop 473 s/-\n.*// 474 ' >$as_me.lineno && 475 chmod +x "$as_me.lineno" || 476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 477 { (exit 1); exit 1; }; } 478 479 # Don't try to exec as it changes $[0], causing all sort of problems 480 # (the dirname of $[0] is not the place where we might find the 481 # original and so on. Autoconf is especially sensitive to this). 482 . "./$as_me.lineno" 483 # Exit status is that of the last command. 484 exit 485} 486 487 488if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 489 as_dirname=dirname 490else 491 as_dirname=false 492fi 493 494ECHO_C= ECHO_N= ECHO_T= 495case `echo -n x` in 496-n*) 497 case `echo 'x\c'` in 498 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 499 *) ECHO_C='\c';; 500 esac;; 501*) 502 ECHO_N='-n';; 503esac 504if expr a : '\(a\)' >/dev/null 2>&1 && 505 test "X`expr 00001 : '.*\(...\)'`" = X001; then 506 as_expr=expr 507else 508 as_expr=false 509fi 510 511rm -f conf$$ conf$$.exe conf$$.file 512if test -d conf$$.dir; then 513 rm -f conf$$.dir/conf$$.file 514else 515 rm -f conf$$.dir 516 mkdir conf$$.dir 2>/dev/null 517fi 518if (echo >conf$$.file) 2>/dev/null; then 519 if ln -s conf$$.file conf$$ 2>/dev/null; then 520 as_ln_s='ln -s' 521 # ... but there are two gotchas: 522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 524 # In both cases, we have to default to `cp -p'. 525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 526 as_ln_s='cp -p' 527 elif ln conf$$.file conf$$ 2>/dev/null; then 528 as_ln_s=ln 529 else 530 as_ln_s='cp -p' 531 fi 532else 533 as_ln_s='cp -p' 534fi 535rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 536rmdir conf$$.dir 2>/dev/null 537 538if mkdir -p . 2>/dev/null; then 539 as_mkdir_p=: 540else 541 test -d ./-p && rmdir ./-p 542 as_mkdir_p=false 543fi 544 545if test -x / >/dev/null 2>&1; then 546 as_test_x='test -x' 547else 548 if ls -dL / >/dev/null 2>&1; then 549 as_ls_L_option=L 550 else 551 as_ls_L_option= 552 fi 553 as_test_x=' 554 eval sh -c '\'' 555 if test -d "$1"; then 556 test -d "$1/."; 557 else 558 case $1 in 559 -*)set "./$1";; 560 esac; 561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 562 ???[sx]*):;;*)false;;esac;fi 563 '\'' sh 564 ' 565fi 566as_executable_p=$as_test_x 567 568# Sed expression to map a string onto a valid CPP name. 569as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 570 571# Sed expression to map a string onto a valid variable name. 572as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 573 574 575 576 577# Check that we are running under the correct shell. 578SHELL=${CONFIG_SHELL-/bin/sh} 579 580case X$lt_ECHO in 581X*--fallback-echo) 582 # Remove one level of quotation (which was required for Make). 583 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` 584 ;; 585esac 586 587ECHO=${lt_ECHO-echo} 588if test "X$1" = X--no-reexec; then 589 # Discard the --no-reexec flag, and continue. 590 shift 591elif test "X$1" = X--fallback-echo; then 592 # Avoid inline document here, it may be left over 593 : 594elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then 595 # Yippee, $ECHO works! 596 : 597else 598 # Restart under the correct shell. 599 exec $SHELL "$0" --no-reexec ${1+"$@"} 600fi 601 602if test "X$1" = X--fallback-echo; then 603 # used as fallback echo 604 shift 605 cat <<_LT_EOF 606$* 607_LT_EOF 608 exit 0 609fi 610 611# The HP-UX ksh and POSIX shell print the target directory to stdout 612# if CDPATH is set. 613(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 614 615if test -z "$lt_ECHO"; then 616 if test "X${echo_test_string+set}" != Xset; then 617 # find a string as large as possible, as long as the shell can cope with it 618 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do 619 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 620 if { echo_test_string=`eval $cmd`; } 2>/dev/null && 621 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null 622 then 623 break 624 fi 625 done 626 fi 627 628 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && 629 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && 630 test "X$echo_testing_string" = "X$echo_test_string"; then 631 : 632 else 633 # The Solaris, AIX, and Digital Unix default echo programs unquote 634 # backslashes. This makes it impossible to quote backslashes using 635 # echo "$something" | sed 's/\\/\\\\/g' 636 # 637 # So, first we look for a working echo in the user's PATH. 638 639 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 640 for dir in $PATH /usr/ucb; do 641 IFS="$lt_save_ifs" 642 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && 643 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && 644 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && 645 test "X$echo_testing_string" = "X$echo_test_string"; then 646 ECHO="$dir/echo" 647 break 648 fi 649 done 650 IFS="$lt_save_ifs" 651 652 if test "X$ECHO" = Xecho; then 653 # We didn't find a better echo, so look for alternatives. 654 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && 655 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && 656 test "X$echo_testing_string" = "X$echo_test_string"; then 657 # This shell has a builtin print -r that does the trick. 658 ECHO='print -r' 659 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && 660 test "X$CONFIG_SHELL" != X/bin/ksh; then 661 # If we have ksh, try running configure again with it. 662 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 663 export ORIGINAL_CONFIG_SHELL 664 CONFIG_SHELL=/bin/ksh 665 export CONFIG_SHELL 666 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} 667 else 668 # Try using printf. 669 ECHO='printf %s\n' 670 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && 671 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && 672 test "X$echo_testing_string" = "X$echo_test_string"; then 673 # Cool, printf works 674 : 675 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 676 test "X$echo_testing_string" = 'X\t' && 677 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 678 test "X$echo_testing_string" = "X$echo_test_string"; then 679 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL 680 export CONFIG_SHELL 681 SHELL="$CONFIG_SHELL" 682 export SHELL 683 ECHO="$CONFIG_SHELL $0 --fallback-echo" 684 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 685 test "X$echo_testing_string" = 'X\t' && 686 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 687 test "X$echo_testing_string" = "X$echo_test_string"; then 688 ECHO="$CONFIG_SHELL $0 --fallback-echo" 689 else 690 # maybe with a smaller string... 691 prev=: 692 693 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do 694 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null 695 then 696 break 697 fi 698 prev="$cmd" 699 done 700 701 if test "$prev" != 'sed 50q "$0"'; then 702 echo_test_string=`eval $prev` 703 export echo_test_string 704 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} 705 else 706 # Oops. We lost completely, so just stick with echo. 707 ECHO=echo 708 fi 709 fi 710 fi 711 fi 712 fi 713fi 714 715# Copy echo and quote the copy suitably for passing to libtool from 716# the Makefile, instead of quoting the original, which is used later. 717lt_ECHO=$ECHO 718if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then 719 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" 720fi 721 722 723 724 725exec 7<&0 </dev/null 6>&1 726 727# Name of the host. 728# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 729# so uname gets run too. 730ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 731 732# 733# Initializations. 734# 735ac_default_prefix=/usr/local 736ac_clean_files= 737ac_config_libobj_dir=. 738LIBOBJS= 739cross_compiling=no 740subdirs= 741MFLAGS= 742MAKEFLAGS= 743SHELL=${CONFIG_SHELL-/bin/sh} 744 745# Identity of this package. 746PACKAGE_NAME='gtkspell' 747PACKAGE_TARNAME='gtkspell' 748PACKAGE_VERSION='2.0.16' 749PACKAGE_STRING='gtkspell 2.0.16' 750PACKAGE_BUGREPORT='gtkspell-devel@lists.sourceforge.net' 751 752ac_unique_file="gtkspell/gtkspell.c" 753# Factoring default headers for most tests. 754ac_includes_default="\ 755#include <stdio.h> 756#ifdef HAVE_SYS_TYPES_H 757# include <sys/types.h> 758#endif 759#ifdef HAVE_SYS_STAT_H 760# include <sys/stat.h> 761#endif 762#ifdef STDC_HEADERS 763# include <stdlib.h> 764# include <stddef.h> 765#else 766# ifdef HAVE_STDLIB_H 767# include <stdlib.h> 768# endif 769#endif 770#ifdef HAVE_STRING_H 771# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 772# include <memory.h> 773# endif 774# include <string.h> 775#endif 776#ifdef HAVE_STRINGS_H 777# include <strings.h> 778#endif 779#ifdef HAVE_INTTYPES_H 780# include <inttypes.h> 781#endif 782#ifdef HAVE_STDINT_H 783# include <stdint.h> 784#endif 785#ifdef HAVE_UNISTD_H 786# include <unistd.h> 787#endif" 788 789ac_subst_vars='LTLIBOBJS 790LIBOBJS 791GTK_DOC_USE_LIBTOOL_FALSE 792GTK_DOC_USE_LIBTOOL_TRUE 793GTKDOC_CHECK 794ALL_LINGUAS 795INTLTOOL_PERL 796MSGMERGE 797INTLTOOL_POLICY_RULE 798INTLTOOL_SERVICE_RULE 799INTLTOOL_THEME_RULE 800INTLTOOL_SCHEMAS_RULE 801INTLTOOL_CAVES_RULE 802INTLTOOL_XML_NOMERGE_RULE 803INTLTOOL_XML_RULE 804INTLTOOL_KBD_RULE 805INTLTOOL_XAM_RULE 806INTLTOOL_UI_RULE 807INTLTOOL_SOUNDLIST_RULE 808INTLTOOL_SHEET_RULE 809INTLTOOL_SERVER_RULE 810INTLTOOL_PONG_RULE 811INTLTOOL_OAF_RULE 812INTLTOOL_PROP_RULE 813INTLTOOL_KEYS_RULE 814INTLTOOL_DIRECTORY_RULE 815INTLTOOL_DESKTOP_RULE 816INTLTOOL_EXTRACT 817INTLTOOL_MERGE 818INTLTOOL_UPDATE 819GETTEXT_PACKAGE 820MKINSTALLDIRS 821POSUB 822POFILES 823PO_IN_DATADIR_FALSE 824PO_IN_DATADIR_TRUE 825INTLLIBS 826INSTOBJEXT 827GMOFILES 828DATADIRNAME 829CATOBJEXT 830CATALOGS 831XGETTEXT 832GMSGFMT 833MSGFMT_OPTS 834MSGFMT 835USE_NLS 836CPP 837OTOOL64 838OTOOL 839LIPO 840NMEDIT 841DSYMUTIL 842lt_ECHO 843RANLIB 844AR 845OBJDUMP 846LN_S 847NM 848ac_ct_DUMPBIN 849DUMPBIN 850LD 851FGREP 852EGREP 853GREP 854SED 855host_os 856host_vendor 857host_cpu 858host 859build_os 860build_vendor 861build_cpu 862build 863LIBTOOL 864am__fastdepCC_FALSE 865am__fastdepCC_TRUE 866CCDEPMODE 867AMDEPBACKSLASH 868AMDEP_FALSE 869AMDEP_TRUE 870am__quote 871am__include 872DEPDIR 873OBJEXT 874EXEEXT 875ac_ct_CC 876CPPFLAGS 877LDFLAGS 878CFLAGS 879CC 880ENABLE_GTK_DOC_FALSE 881ENABLE_GTK_DOC_TRUE 882HTML_DIR 883PANGO_LIBS 884PANGO_CFLAGS 885GTKSPELL_LIBS 886GTKSPELL_CFLAGS 887PKG_CONFIG 888GTKSPELL_PACKAGES 889SPELLER_LIB 890am__untar 891am__tar 892AMTAR 893am__leading_dot 894SET_MAKE 895AWK 896mkdir_p 897MKDIR_P 898INSTALL_STRIP_PROGRAM 899STRIP 900install_sh 901MAKEINFO 902AUTOHEADER 903AUTOMAKE 904AUTOCONF 905ACLOCAL 906VERSION 907PACKAGE 908CYGPATH_W 909am__isrc 910INSTALL_DATA 911INSTALL_SCRIPT 912INSTALL_PROGRAM 913target_alias 914host_alias 915build_alias 916LIBS 917ECHO_T 918ECHO_N 919ECHO_C 920DEFS 921mandir 922localedir 923libdir 924psdir 925pdfdir 926dvidir 927htmldir 928infodir 929docdir 930oldincludedir 931includedir 932localstatedir 933sharedstatedir 934sysconfdir 935datadir 936datarootdir 937libexecdir 938sbindir 939bindir 940program_transform_name 941prefix 942exec_prefix 943PACKAGE_BUGREPORT 944PACKAGE_STRING 945PACKAGE_VERSION 946PACKAGE_TARNAME 947PACKAGE_NAME 948PATH_SEPARATOR 949SHELL' 950ac_subst_files='' 951ac_user_opts=' 952enable_option_checking 953with_html_dir 954enable_gtk_doc 955enable_dependency_tracking 956enable_shared 957enable_static 958with_pic 959enable_fast_install 960with_gnu_ld 961enable_libtool_lock 962enable_nls 963' 964 ac_precious_vars='build_alias 965host_alias 966target_alias 967PKG_CONFIG 968GTKSPELL_CFLAGS 969GTKSPELL_LIBS 970PANGO_CFLAGS 971PANGO_LIBS 972CC 973CFLAGS 974LDFLAGS 975LIBS 976CPPFLAGS 977CPP' 978 979 980# Initialize some variables set by options. 981ac_init_help= 982ac_init_version=false 983ac_unrecognized_opts= 984ac_unrecognized_sep= 985# The variables have the same names as the options, with 986# dashes changed to underlines. 987cache_file=/dev/null 988exec_prefix=NONE 989no_create= 990no_recursion= 991prefix=NONE 992program_prefix=NONE 993program_suffix=NONE 994program_transform_name=s,x,x, 995silent= 996site= 997srcdir= 998verbose= 999x_includes=NONE 1000x_libraries=NONE 1001 1002# Installation directory options. 1003# These are left unexpanded so users can "make install exec_prefix=/foo" 1004# and all the variables that are supposed to be based on exec_prefix 1005# by default will actually change. 1006# Use braces instead of parens because sh, perl, etc. also accept them. 1007# (The list follows the same order as the GNU Coding Standards.) 1008bindir='${exec_prefix}/bin' 1009sbindir='${exec_prefix}/sbin' 1010libexecdir='${exec_prefix}/libexec' 1011datarootdir='${prefix}/share' 1012datadir='${datarootdir}' 1013sysconfdir='${prefix}/etc' 1014sharedstatedir='${prefix}/com' 1015localstatedir='${prefix}/var' 1016includedir='${prefix}/include' 1017oldincludedir='/usr/include' 1018docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 1019infodir='${datarootdir}/info' 1020htmldir='${docdir}' 1021dvidir='${docdir}' 1022pdfdir='${docdir}' 1023psdir='${docdir}' 1024libdir='${exec_prefix}/lib' 1025localedir='${datarootdir}/locale' 1026mandir='${datarootdir}/man' 1027 1028ac_prev= 1029ac_dashdash= 1030for ac_option 1031do 1032 # If the previous option needs an argument, assign it. 1033 if test -n "$ac_prev"; then 1034 eval $ac_prev=\$ac_option 1035 ac_prev= 1036 continue 1037 fi 1038 1039 case $ac_option in 1040 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1041 *) ac_optarg=yes ;; 1042 esac 1043 1044 # Accept the important Cygnus configure options, so we can diagnose typos. 1045 1046 case $ac_dashdash$ac_option in 1047 --) 1048 ac_dashdash=yes ;; 1049 1050 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1051 ac_prev=bindir ;; 1052 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1053 bindir=$ac_optarg ;; 1054 1055 -build | --build | --buil | --bui | --bu) 1056 ac_prev=build_alias ;; 1057 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1058 build_alias=$ac_optarg ;; 1059 1060 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1061 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1062 ac_prev=cache_file ;; 1063 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1064 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1065 cache_file=$ac_optarg ;; 1066 1067 --config-cache | -C) 1068 cache_file=config.cache ;; 1069 1070 -datadir | --datadir | --datadi | --datad) 1071 ac_prev=datadir ;; 1072 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1073 datadir=$ac_optarg ;; 1074 1075 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1076 | --dataroo | --dataro | --datar) 1077 ac_prev=datarootdir ;; 1078 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1079 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1080 datarootdir=$ac_optarg ;; 1081 1082 -disable-* | --disable-*) 1083 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1084 # Reject names that are not valid shell variable names. 1085 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1086 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 1087 { (exit 1); exit 1; }; } 1088 ac_useropt_orig=$ac_useropt 1089 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1090 case $ac_user_opts in 1091 *" 1092"enable_$ac_useropt" 1093"*) ;; 1094 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1095 ac_unrecognized_sep=', ';; 1096 esac 1097 eval enable_$ac_useropt=no ;; 1098 1099 -docdir | --docdir | --docdi | --doc | --do) 1100 ac_prev=docdir ;; 1101 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1102 docdir=$ac_optarg ;; 1103 1104 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1105 ac_prev=dvidir ;; 1106 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1107 dvidir=$ac_optarg ;; 1108 1109 -enable-* | --enable-*) 1110 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1111 # Reject names that are not valid shell variable names. 1112 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1113 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 1114 { (exit 1); exit 1; }; } 1115 ac_useropt_orig=$ac_useropt 1116 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1117 case $ac_user_opts in 1118 *" 1119"enable_$ac_useropt" 1120"*) ;; 1121 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1122 ac_unrecognized_sep=', ';; 1123 esac 1124 eval enable_$ac_useropt=\$ac_optarg ;; 1125 1126 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1127 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1128 | --exec | --exe | --ex) 1129 ac_prev=exec_prefix ;; 1130 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1131 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1132 | --exec=* | --exe=* | --ex=*) 1133 exec_prefix=$ac_optarg ;; 1134 1135 -gas | --gas | --ga | --g) 1136 # Obsolete; use --with-gas. 1137 with_gas=yes ;; 1138 1139 -help | --help | --hel | --he | -h) 1140 ac_init_help=long ;; 1141 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1142 ac_init_help=recursive ;; 1143 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1144 ac_init_help=short ;; 1145 1146 -host | --host | --hos | --ho) 1147 ac_prev=host_alias ;; 1148 -host=* | --host=* | --hos=* | --ho=*) 1149 host_alias=$ac_optarg ;; 1150 1151 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1152 ac_prev=htmldir ;; 1153 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1154 | --ht=*) 1155 htmldir=$ac_optarg ;; 1156 1157 -includedir | --includedir | --includedi | --included | --include \ 1158 | --includ | --inclu | --incl | --inc) 1159 ac_prev=includedir ;; 1160 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1161 | --includ=* | --inclu=* | --incl=* | --inc=*) 1162 includedir=$ac_optarg ;; 1163 1164 -infodir | --infodir | --infodi | --infod | --info | --inf) 1165 ac_prev=infodir ;; 1166 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1167 infodir=$ac_optarg ;; 1168 1169 -libdir | --libdir | --libdi | --libd) 1170 ac_prev=libdir ;; 1171 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1172 libdir=$ac_optarg ;; 1173 1174 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1175 | --libexe | --libex | --libe) 1176 ac_prev=libexecdir ;; 1177 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1178 | --libexe=* | --libex=* | --libe=*) 1179 libexecdir=$ac_optarg ;; 1180 1181 -localedir | --localedir | --localedi | --localed | --locale) 1182 ac_prev=localedir ;; 1183 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1184 localedir=$ac_optarg ;; 1185 1186 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1187 | --localstate | --localstat | --localsta | --localst | --locals) 1188 ac_prev=localstatedir ;; 1189 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1190 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1191 localstatedir=$ac_optarg ;; 1192 1193 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1194 ac_prev=mandir ;; 1195 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1196 mandir=$ac_optarg ;; 1197 1198 -nfp | --nfp | --nf) 1199 # Obsolete; use --without-fp. 1200 with_fp=no ;; 1201 1202 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1203 | --no-cr | --no-c | -n) 1204 no_create=yes ;; 1205 1206 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1207 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1208 no_recursion=yes ;; 1209 1210 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1211 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1212 | --oldin | --oldi | --old | --ol | --o) 1213 ac_prev=oldincludedir ;; 1214 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1215 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1216 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1217 oldincludedir=$ac_optarg ;; 1218 1219 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1220 ac_prev=prefix ;; 1221 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1222 prefix=$ac_optarg ;; 1223 1224 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1225 | --program-pre | --program-pr | --program-p) 1226 ac_prev=program_prefix ;; 1227 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1228 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1229 program_prefix=$ac_optarg ;; 1230 1231 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1232 | --program-suf | --program-su | --program-s) 1233 ac_prev=program_suffix ;; 1234 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1235 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1236 program_suffix=$ac_optarg ;; 1237 1238 -program-transform-name | --program-transform-name \ 1239 | --program-transform-nam | --program-transform-na \ 1240 | --program-transform-n | --program-transform- \ 1241 | --program-transform | --program-transfor \ 1242 | --program-transfo | --program-transf \ 1243 | --program-trans | --program-tran \ 1244 | --progr-tra | --program-tr | --program-t) 1245 ac_prev=program_transform_name ;; 1246 -program-transform-name=* | --program-transform-name=* \ 1247 | --program-transform-nam=* | --program-transform-na=* \ 1248 | --program-transform-n=* | --program-transform-=* \ 1249 | --program-transform=* | --program-transfor=* \ 1250 | --program-transfo=* | --program-transf=* \ 1251 | --program-trans=* | --program-tran=* \ 1252 | --progr-tra=* | --program-tr=* | --program-t=*) 1253 program_transform_name=$ac_optarg ;; 1254 1255 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1256 ac_prev=pdfdir ;; 1257 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1258 pdfdir=$ac_optarg ;; 1259 1260 -psdir | --psdir | --psdi | --psd | --ps) 1261 ac_prev=psdir ;; 1262 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1263 psdir=$ac_optarg ;; 1264 1265 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1266 | -silent | --silent | --silen | --sile | --sil) 1267 silent=yes ;; 1268 1269 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1270 ac_prev=sbindir ;; 1271 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1272 | --sbi=* | --sb=*) 1273 sbindir=$ac_optarg ;; 1274 1275 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1276 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1277 | --sharedst | --shareds | --shared | --share | --shar \ 1278 | --sha | --sh) 1279 ac_prev=sharedstatedir ;; 1280 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1281 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1282 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1283 | --sha=* | --sh=*) 1284 sharedstatedir=$ac_optarg ;; 1285 1286 -site | --site | --sit) 1287 ac_prev=site ;; 1288 -site=* | --site=* | --sit=*) 1289 site=$ac_optarg ;; 1290 1291 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1292 ac_prev=srcdir ;; 1293 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1294 srcdir=$ac_optarg ;; 1295 1296 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1297 | --syscon | --sysco | --sysc | --sys | --sy) 1298 ac_prev=sysconfdir ;; 1299 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1300 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1301 sysconfdir=$ac_optarg ;; 1302 1303 -target | --target | --targe | --targ | --tar | --ta | --t) 1304 ac_prev=target_alias ;; 1305 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1306 target_alias=$ac_optarg ;; 1307 1308 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1309 verbose=yes ;; 1310 1311 -version | --version | --versio | --versi | --vers | -V) 1312 ac_init_version=: ;; 1313 1314 -with-* | --with-*) 1315 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1316 # Reject names that are not valid shell variable names. 1317 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1318 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1319 { (exit 1); exit 1; }; } 1320 ac_useropt_orig=$ac_useropt 1321 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1322 case $ac_user_opts in 1323 *" 1324"with_$ac_useropt" 1325"*) ;; 1326 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1327 ac_unrecognized_sep=', ';; 1328 esac 1329 eval with_$ac_useropt=\$ac_optarg ;; 1330 1331 -without-* | --without-*) 1332 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1333 # Reject names that are not valid shell variable names. 1334 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1335 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1336 { (exit 1); exit 1; }; } 1337 ac_useropt_orig=$ac_useropt 1338 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1339 case $ac_user_opts in 1340 *" 1341"with_$ac_useropt" 1342"*) ;; 1343 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1344 ac_unrecognized_sep=', ';; 1345 esac 1346 eval with_$ac_useropt=no ;; 1347 1348 --x) 1349 # Obsolete; use --with-x. 1350 with_x=yes ;; 1351 1352 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1353 | --x-incl | --x-inc | --x-in | --x-i) 1354 ac_prev=x_includes ;; 1355 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1356 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1357 x_includes=$ac_optarg ;; 1358 1359 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1360 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1361 ac_prev=x_libraries ;; 1362 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1363 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1364 x_libraries=$ac_optarg ;; 1365 1366 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1367Try \`$0 --help' for more information." >&2 1368 { (exit 1); exit 1; }; } 1369 ;; 1370 1371 *=*) 1372 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1373 # Reject names that are not valid shell variable names. 1374 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1375 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1376 { (exit 1); exit 1; }; } 1377 eval $ac_envvar=\$ac_optarg 1378 export $ac_envvar ;; 1379 1380 *) 1381 # FIXME: should be removed in autoconf 3.0. 1382 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1383 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1384 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1385 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1386 ;; 1387 1388 esac 1389done 1390 1391if test -n "$ac_prev"; then 1392 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1393 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1394 { (exit 1); exit 1; }; } 1395fi 1396 1397if test -n "$ac_unrecognized_opts"; then 1398 case $enable_option_checking in 1399 no) ;; 1400 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1401 { (exit 1); exit 1; }; } ;; 1402 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1403 esac 1404fi 1405 1406# Check all directory arguments for consistency. 1407for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1408 datadir sysconfdir sharedstatedir localstatedir includedir \ 1409 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1410 libdir localedir mandir 1411do 1412 eval ac_val=\$$ac_var 1413 # Remove trailing slashes. 1414 case $ac_val in 1415 */ ) 1416 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1417 eval $ac_var=\$ac_val;; 1418 esac 1419 # Be sure to have absolute directory names. 1420 case $ac_val in 1421 [\\/$]* | ?:[\\/]* ) continue;; 1422 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1423 esac 1424 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1425 { (exit 1); exit 1; }; } 1426done 1427 1428# There might be people who depend on the old broken behavior: `$host' 1429# used to hold the argument of --host etc. 1430# FIXME: To remove some day. 1431build=$build_alias 1432host=$host_alias 1433target=$target_alias 1434 1435# FIXME: To remove some day. 1436if test "x$host_alias" != x; then 1437 if test "x$build_alias" = x; then 1438 cross_compiling=maybe 1439 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1440 If a cross compiler is detected then cross compile mode will be used." >&2 1441 elif test "x$build_alias" != "x$host_alias"; then 1442 cross_compiling=yes 1443 fi 1444fi 1445 1446ac_tool_prefix= 1447test -n "$host_alias" && ac_tool_prefix=$host_alias- 1448 1449test "$silent" = yes && exec 6>/dev/null 1450 1451 1452ac_pwd=`pwd` && test -n "$ac_pwd" && 1453ac_ls_di=`ls -di .` && 1454ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1455 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1456 { (exit 1); exit 1; }; } 1457test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1458 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1459 { (exit 1); exit 1; }; } 1460 1461 1462# Find the source files, if location was not specified. 1463if test -z "$srcdir"; then 1464 ac_srcdir_defaulted=yes 1465 # Try the directory containing this script, then the parent directory. 1466 ac_confdir=`$as_dirname -- "$as_myself" || 1467$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1468 X"$as_myself" : 'X\(//\)[^/]' \| \ 1469 X"$as_myself" : 'X\(//\)$' \| \ 1470 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1471$as_echo X"$as_myself" | 1472 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1473 s//\1/ 1474 q 1475 } 1476 /^X\(\/\/\)[^/].*/{ 1477 s//\1/ 1478 q 1479 } 1480 /^X\(\/\/\)$/{ 1481 s//\1/ 1482 q 1483 } 1484 /^X\(\/\).*/{ 1485 s//\1/ 1486 q 1487 } 1488 s/.*/./; q'` 1489 srcdir=$ac_confdir 1490 if test ! -r "$srcdir/$ac_unique_file"; then 1491 srcdir=.. 1492 fi 1493else 1494 ac_srcdir_defaulted=no 1495fi 1496if test ! -r "$srcdir/$ac_unique_file"; then 1497 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1498 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1499 { (exit 1); exit 1; }; } 1500fi 1501ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1502ac_abs_confdir=`( 1503 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1504 { (exit 1); exit 1; }; } 1505 pwd)` 1506# When building in place, set srcdir=. 1507if test "$ac_abs_confdir" = "$ac_pwd"; then 1508 srcdir=. 1509fi 1510# Remove unnecessary trailing slashes from srcdir. 1511# Double slashes in file names in object file debugging info 1512# mess up M-x gdb in Emacs. 1513case $srcdir in 1514*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1515esac 1516for ac_var in $ac_precious_vars; do 1517 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1518 eval ac_env_${ac_var}_value=\$${ac_var} 1519 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1520 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1521done 1522 1523# 1524# Report the --help message. 1525# 1526if test "$ac_init_help" = "long"; then 1527 # Omit some internal or obsolete options to make the list less imposing. 1528 # This message is too long to be a string in the A/UX 3.1 sh. 1529 cat <<_ACEOF 1530\`configure' configures gtkspell 2.0.16 to adapt to many kinds of systems. 1531 1532Usage: $0 [OPTION]... [VAR=VALUE]... 1533 1534To assign environment variables (e.g., CC, CFLAGS...), specify them as 1535VAR=VALUE. See below for descriptions of some of the useful variables. 1536 1537Defaults for the options are specified in brackets. 1538 1539Configuration: 1540 -h, --help display this help and exit 1541 --help=short display options specific to this package 1542 --help=recursive display the short help of all the included packages 1543 -V, --version display version information and exit 1544 -q, --quiet, --silent do not print \`checking...' messages 1545 --cache-file=FILE cache test results in FILE [disabled] 1546 -C, --config-cache alias for \`--cache-file=config.cache' 1547 -n, --no-create do not create output files 1548 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1549 1550Installation directories: 1551 --prefix=PREFIX install architecture-independent files in PREFIX 1552 [$ac_default_prefix] 1553 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1554 [PREFIX] 1555 1556By default, \`make install' will install all the files in 1557\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1558an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1559for instance \`--prefix=\$HOME'. 1560 1561For better control, use the options below. 1562 1563Fine tuning of the installation directories: 1564 --bindir=DIR user executables [EPREFIX/bin] 1565 --sbindir=DIR system admin executables [EPREFIX/sbin] 1566 --libexecdir=DIR program executables [EPREFIX/libexec] 1567 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1568 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1569 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1570 --libdir=DIR object code libraries [EPREFIX/lib] 1571 --includedir=DIR C header files [PREFIX/include] 1572 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1573 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1574 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1575 --infodir=DIR info documentation [DATAROOTDIR/info] 1576 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1577 --mandir=DIR man documentation [DATAROOTDIR/man] 1578 --docdir=DIR documentation root [DATAROOTDIR/doc/gtkspell] 1579 --htmldir=DIR html documentation [DOCDIR] 1580 --dvidir=DIR dvi documentation [DOCDIR] 1581 --pdfdir=DIR pdf documentation [DOCDIR] 1582 --psdir=DIR ps documentation [DOCDIR] 1583_ACEOF 1584 1585 cat <<\_ACEOF 1586 1587Program names: 1588 --program-prefix=PREFIX prepend PREFIX to installed program names 1589 --program-suffix=SUFFIX append SUFFIX to installed program names 1590 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1591 1592System types: 1593 --build=BUILD configure for building on BUILD [guessed] 1594 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1595_ACEOF 1596fi 1597 1598if test -n "$ac_init_help"; then 1599 case $ac_init_help in 1600 short | recursive ) echo "Configuration of gtkspell 2.0.16:";; 1601 esac 1602 cat <<\_ACEOF 1603 1604Optional Features: 1605 --disable-option-checking ignore unrecognized --enable/--with options 1606 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1607 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1608 --enable-gtk-doc Use gtk-doc to build documentation [default=auto] 1609 --disable-dependency-tracking speeds up one-time build 1610 --enable-dependency-tracking do not reject slow dependency extractors 1611 --enable-shared[=PKGS] build shared libraries [default=yes] 1612 --enable-static[=PKGS] build static libraries [default=yes] 1613 --enable-fast-install[=PKGS] 1614 optimize for fast installation [default=yes] 1615 --disable-libtool-lock avoid locking (might break parallel builds) 1616 --disable-nls do not use Native Language Support 1617 --enable-gtk-doc use gtk-doc to build documentation [default=no] 1618 1619Optional Packages: 1620 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1621 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1622 --with-html-dir=PATH path to installed docs 1623 --with-pic try to use only PIC/non-PIC objects [default=use 1624 both] 1625 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1626 1627Some influential environment variables: 1628 PKG_CONFIG path to pkg-config utility 1629 GTKSPELL_CFLAGS 1630 C compiler flags for GTKSPELL, overriding pkg-config 1631 GTKSPELL_LIBS 1632 linker flags for GTKSPELL, overriding pkg-config 1633 PANGO_CFLAGS 1634 C compiler flags for PANGO, overriding pkg-config 1635 PANGO_LIBS linker flags for PANGO, overriding pkg-config 1636 CC C compiler command 1637 CFLAGS C compiler flags 1638 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1639 nonstandard directory <lib dir> 1640 LIBS libraries to pass to the linker, e.g. -l<library> 1641 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1642 you have headers in a nonstandard directory <include dir> 1643 CPP C preprocessor 1644 1645Use these variables to override the choices made by `configure' or to help 1646it to find libraries and programs with nonstandard names/locations. 1647 1648Report bugs to <gtkspell-devel@lists.sourceforge.net>. 1649_ACEOF 1650ac_status=$? 1651fi 1652 1653if test "$ac_init_help" = "recursive"; then 1654 # If there are subdirs, report their specific --help. 1655 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1656 test -d "$ac_dir" || 1657 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1658 continue 1659 ac_builddir=. 1660 1661case "$ac_dir" in 1662.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1663*) 1664 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1665 # A ".." for each directory in $ac_dir_suffix. 1666 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1667 case $ac_top_builddir_sub in 1668 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1669 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1670 esac ;; 1671esac 1672ac_abs_top_builddir=$ac_pwd 1673ac_abs_builddir=$ac_pwd$ac_dir_suffix 1674# for backward compatibility: 1675ac_top_builddir=$ac_top_build_prefix 1676 1677case $srcdir in 1678 .) # We are building in place. 1679 ac_srcdir=. 1680 ac_top_srcdir=$ac_top_builddir_sub 1681 ac_abs_top_srcdir=$ac_pwd ;; 1682 [\\/]* | ?:[\\/]* ) # Absolute name. 1683 ac_srcdir=$srcdir$ac_dir_suffix; 1684 ac_top_srcdir=$srcdir 1685 ac_abs_top_srcdir=$srcdir ;; 1686 *) # Relative name. 1687 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1688 ac_top_srcdir=$ac_top_build_prefix$srcdir 1689 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1690esac 1691ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1692 1693 cd "$ac_dir" || { ac_status=$?; continue; } 1694 # Check for guested configure. 1695 if test -f "$ac_srcdir/configure.gnu"; then 1696 echo && 1697 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1698 elif test -f "$ac_srcdir/configure"; then 1699 echo && 1700 $SHELL "$ac_srcdir/configure" --help=recursive 1701 else 1702 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1703 fi || ac_status=$? 1704 cd "$ac_pwd" || { ac_status=$?; break; } 1705 done 1706fi 1707 1708test -n "$ac_init_help" && exit $ac_status 1709if $ac_init_version; then 1710 cat <<\_ACEOF 1711gtkspell configure 2.0.16 1712generated by GNU Autoconf 2.63 1713 1714Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 17152002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1716This configure script is free software; the Free Software Foundation 1717gives unlimited permission to copy, distribute and modify it. 1718_ACEOF 1719 exit 1720fi 1721cat >config.log <<_ACEOF 1722This file contains any messages produced by compilers while 1723running configure, to aid debugging if configure makes a mistake. 1724 1725It was created by gtkspell $as_me 2.0.16, which was 1726generated by GNU Autoconf 2.63. Invocation command line was 1727 1728 $ $0 $@ 1729 1730_ACEOF 1731exec 5>>config.log 1732{ 1733cat <<_ASUNAME 1734## --------- ## 1735## Platform. ## 1736## --------- ## 1737 1738hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1739uname -m = `(uname -m) 2>/dev/null || echo unknown` 1740uname -r = `(uname -r) 2>/dev/null || echo unknown` 1741uname -s = `(uname -s) 2>/dev/null || echo unknown` 1742uname -v = `(uname -v) 2>/dev/null || echo unknown` 1743 1744/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1745/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1746 1747/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1748/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1749/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1750/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1751/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1752/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1753/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1754 1755_ASUNAME 1756 1757as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1758for as_dir in $PATH 1759do 1760 IFS=$as_save_IFS 1761 test -z "$as_dir" && as_dir=. 1762 $as_echo "PATH: $as_dir" 1763done 1764IFS=$as_save_IFS 1765 1766} >&5 1767 1768cat >&5 <<_ACEOF 1769 1770 1771## ----------- ## 1772## Core tests. ## 1773## ----------- ## 1774 1775_ACEOF 1776 1777 1778# Keep a trace of the command line. 1779# Strip out --no-create and --no-recursion so they do not pile up. 1780# Strip out --silent because we don't want to record it for future runs. 1781# Also quote any args containing shell meta-characters. 1782# Make two passes to allow for proper duplicate-argument suppression. 1783ac_configure_args= 1784ac_configure_args0= 1785ac_configure_args1= 1786ac_must_keep_next=false 1787for ac_pass in 1 2 1788do 1789 for ac_arg 1790 do 1791 case $ac_arg in 1792 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1793 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1794 | -silent | --silent | --silen | --sile | --sil) 1795 continue ;; 1796 *\'*) 1797 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1798 esac 1799 case $ac_pass in 1800 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1801 2) 1802 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1803 if test $ac_must_keep_next = true; then 1804 ac_must_keep_next=false # Got value, back to normal. 1805 else 1806 case $ac_arg in 1807 *=* | --config-cache | -C | -disable-* | --disable-* \ 1808 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1809 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1810 | -with-* | --with-* | -without-* | --without-* | --x) 1811 case "$ac_configure_args0 " in 1812 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1813 esac 1814 ;; 1815 -* ) ac_must_keep_next=true ;; 1816 esac 1817 fi 1818 ac_configure_args="$ac_configure_args '$ac_arg'" 1819 ;; 1820 esac 1821 done 1822done 1823$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1824$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1825 1826# When interrupted or exit'd, cleanup temporary files, and complete 1827# config.log. We remove comments because anyway the quotes in there 1828# would cause problems or look ugly. 1829# WARNING: Use '\'' to represent an apostrophe within the trap. 1830# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1831trap 'exit_status=$? 1832 # Save into config.log some information that might help in debugging. 1833 { 1834 echo 1835 1836 cat <<\_ASBOX 1837## ---------------- ## 1838## Cache variables. ## 1839## ---------------- ## 1840_ASBOX 1841 echo 1842 # The following way of writing the cache mishandles newlines in values, 1843( 1844 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1845 eval ac_val=\$$ac_var 1846 case $ac_val in #( 1847 *${as_nl}*) 1848 case $ac_var in #( 1849 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 1850$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1851 esac 1852 case $ac_var in #( 1853 _ | IFS | as_nl) ;; #( 1854 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1855 *) $as_unset $ac_var ;; 1856 esac ;; 1857 esac 1858 done 1859 (set) 2>&1 | 1860 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1861 *${as_nl}ac_space=\ *) 1862 sed -n \ 1863 "s/'\''/'\''\\\\'\'''\''/g; 1864 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1865 ;; #( 1866 *) 1867 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1868 ;; 1869 esac | 1870 sort 1871) 1872 echo 1873 1874 cat <<\_ASBOX 1875## ----------------- ## 1876## Output variables. ## 1877## ----------------- ## 1878_ASBOX 1879 echo 1880 for ac_var in $ac_subst_vars 1881 do 1882 eval ac_val=\$$ac_var 1883 case $ac_val in 1884 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1885 esac 1886 $as_echo "$ac_var='\''$ac_val'\''" 1887 done | sort 1888 echo 1889 1890 if test -n "$ac_subst_files"; then 1891 cat <<\_ASBOX 1892## ------------------- ## 1893## File substitutions. ## 1894## ------------------- ## 1895_ASBOX 1896 echo 1897 for ac_var in $ac_subst_files 1898 do 1899 eval ac_val=\$$ac_var 1900 case $ac_val in 1901 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1902 esac 1903 $as_echo "$ac_var='\''$ac_val'\''" 1904 done | sort 1905 echo 1906 fi 1907 1908 if test -s confdefs.h; then 1909 cat <<\_ASBOX 1910## ----------- ## 1911## confdefs.h. ## 1912## ----------- ## 1913_ASBOX 1914 echo 1915 cat confdefs.h 1916 echo 1917 fi 1918 test "$ac_signal" != 0 && 1919 $as_echo "$as_me: caught signal $ac_signal" 1920 $as_echo "$as_me: exit $exit_status" 1921 } >&5 1922 rm -f core *.core core.conftest.* && 1923 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1924 exit $exit_status 1925' 0 1926for ac_signal in 1 2 13 15; do 1927 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1928done 1929ac_signal=0 1930 1931# confdefs.h avoids OS command line length limits that DEFS can exceed. 1932rm -f -r conftest* confdefs.h 1933 1934# Predefined preprocessor variables. 1935 1936cat >>confdefs.h <<_ACEOF 1937#define PACKAGE_NAME "$PACKAGE_NAME" 1938_ACEOF 1939 1940 1941cat >>confdefs.h <<_ACEOF 1942#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1943_ACEOF 1944 1945 1946cat >>confdefs.h <<_ACEOF 1947#define PACKAGE_VERSION "$PACKAGE_VERSION" 1948_ACEOF 1949 1950 1951cat >>confdefs.h <<_ACEOF 1952#define PACKAGE_STRING "$PACKAGE_STRING" 1953_ACEOF 1954 1955 1956cat >>confdefs.h <<_ACEOF 1957#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1958_ACEOF 1959 1960 1961# Let the site file select an alternate cache file if it wants to. 1962# Prefer an explicitly selected file to automatically selected ones. 1963ac_site_file1=NONE 1964ac_site_file2=NONE 1965if test -n "$CONFIG_SITE"; then 1966 ac_site_file1=$CONFIG_SITE 1967elif test "x$prefix" != xNONE; then 1968 ac_site_file1=$prefix/share/config.site 1969 ac_site_file2=$prefix/etc/config.site 1970else 1971 ac_site_file1=$ac_default_prefix/share/config.site 1972 ac_site_file2=$ac_default_prefix/etc/config.site 1973fi 1974for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1975do 1976 test "x$ac_site_file" = xNONE && continue 1977 if test -r "$ac_site_file"; then 1978 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1979$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1980 sed 's/^/| /' "$ac_site_file" >&5 1981 . "$ac_site_file" 1982 fi 1983done 1984 1985if test -r "$cache_file"; then 1986 # Some versions of bash will fail to source /dev/null (special 1987 # files actually), so we avoid doing that. 1988 if test -f "$cache_file"; then 1989 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 1990$as_echo "$as_me: loading cache $cache_file" >&6;} 1991 case $cache_file in 1992 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1993 *) . "./$cache_file";; 1994 esac 1995 fi 1996else 1997 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 1998$as_echo "$as_me: creating cache $cache_file" >&6;} 1999 >$cache_file 2000fi 2001 2002# Check that the precious variables saved in the cache have kept the same 2003# value. 2004ac_cache_corrupted=false 2005for ac_var in $ac_precious_vars; do 2006 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2007 eval ac_new_set=\$ac_env_${ac_var}_set 2008 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2009 eval ac_new_val=\$ac_env_${ac_var}_value 2010 case $ac_old_set,$ac_new_set in 2011 set,) 2012 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2013$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2014 ac_cache_corrupted=: ;; 2015 ,set) 2016 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 2017$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2018 ac_cache_corrupted=: ;; 2019 ,);; 2020 *) 2021 if test "x$ac_old_val" != "x$ac_new_val"; then 2022 # differences in whitespace do not lead to failure. 2023 ac_old_val_w=`echo x $ac_old_val` 2024 ac_new_val_w=`echo x $ac_new_val` 2025 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2026 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 2027$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2028 ac_cache_corrupted=: 2029 else 2030 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2031$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2032 eval $ac_var=\$ac_old_val 2033 fi 2034 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 2035$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2036 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 2037$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2038 fi;; 2039 esac 2040 # Pass precious variables to config.status. 2041 if test "$ac_new_set" = set; then 2042 case $ac_new_val in 2043 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2044 *) ac_arg=$ac_var=$ac_new_val ;; 2045 esac 2046 case " $ac_configure_args " in 2047 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2048 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2049 esac 2050 fi 2051done 2052if $ac_cache_corrupted; then 2053 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2054$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2055 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 2056$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2057 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 2058$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 2059 { (exit 1); exit 1; }; } 2060fi 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086ac_ext=c 2087ac_cpp='$CPP $CPPFLAGS' 2088ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2089ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2090ac_compiler_gnu=$ac_cv_c_compiler_gnu 2091 2092 2093 2094am__api_version='1.10' 2095 2096ac_aux_dir= 2097for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2098 if test -f "$ac_dir/install-sh"; then 2099 ac_aux_dir=$ac_dir 2100 ac_install_sh="$ac_aux_dir/install-sh -c" 2101 break 2102 elif test -f "$ac_dir/install.sh"; then 2103 ac_aux_dir=$ac_dir 2104 ac_install_sh="$ac_aux_dir/install.sh -c" 2105 break 2106 elif test -f "$ac_dir/shtool"; then 2107 ac_aux_dir=$ac_dir 2108 ac_install_sh="$ac_aux_dir/shtool install -c" 2109 break 2110 fi 2111done 2112if test -z "$ac_aux_dir"; then 2113 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 2114$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 2115 { (exit 1); exit 1; }; } 2116fi 2117 2118# These three variables are undocumented and unsupported, 2119# and are intended to be withdrawn in a future Autoconf release. 2120# They can cause serious problems if a builder's source tree is in a directory 2121# whose full name contains unusual characters. 2122ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2123ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2124ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2125 2126 2127# Find a good install program. We prefer a C program (faster), 2128# so one script is as good as another. But avoid the broken or 2129# incompatible versions: 2130# SysV /etc/install, /usr/sbin/install 2131# SunOS /usr/etc/install 2132# IRIX /sbin/install 2133# AIX /bin/install 2134# AmigaOS /C/install, which installs bootblocks on floppy discs 2135# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2136# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2137# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2138# OS/2's system install, which has a completely different semantic 2139# ./install, which can be erroneously created by make from ./install.sh. 2140# Reject install programs that cannot install multiple files. 2141{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2142$as_echo_n "checking for a BSD-compatible install... " >&6; } 2143if test -z "$INSTALL"; then 2144if test "${ac_cv_path_install+set}" = set; then 2145 $as_echo_n "(cached) " >&6 2146else 2147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2148for as_dir in $PATH 2149do 2150 IFS=$as_save_IFS 2151 test -z "$as_dir" && as_dir=. 2152 # Account for people who put trailing slashes in PATH elements. 2153case $as_dir/ in 2154 ./ | .// | /cC/* | \ 2155 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2156 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2157 /usr/ucb/* ) ;; 2158 *) 2159 # OSF1 and SCO ODT 3.0 have their own names for install. 2160 # Don't use installbsd from OSF since it installs stuff as root 2161 # by default. 2162 for ac_prog in ginstall scoinst install; do 2163 for ac_exec_ext in '' $ac_executable_extensions; do 2164 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2165 if test $ac_prog = install && 2166 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2167 # AIX install. It has an incompatible calling convention. 2168 : 2169 elif test $ac_prog = install && 2170 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2171 # program-specific install script used by HP pwplus--don't use. 2172 : 2173 else 2174 rm -rf conftest.one conftest.two conftest.dir 2175 echo one > conftest.one 2176 echo two > conftest.two 2177 mkdir conftest.dir 2178 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2179 test -s conftest.one && test -s conftest.two && 2180 test -s conftest.dir/conftest.one && 2181 test -s conftest.dir/conftest.two 2182 then 2183 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2184 break 3 2185 fi 2186 fi 2187 fi 2188 done 2189 done 2190 ;; 2191esac 2192 2193done 2194IFS=$as_save_IFS 2195 2196rm -rf conftest.one conftest.two conftest.dir 2197 2198fi 2199 if test "${ac_cv_path_install+set}" = set; then 2200 INSTALL=$ac_cv_path_install 2201 else 2202 # As a last resort, use the slow shell script. Don't cache a 2203 # value for INSTALL within a source directory, because that will 2204 # break other packages using the cache if that directory is 2205 # removed, or if the value is a relative name. 2206 INSTALL=$ac_install_sh 2207 fi 2208fi 2209{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 2210$as_echo "$INSTALL" >&6; } 2211 2212# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2213# It thinks the first close brace ends the variable substitution. 2214test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2215 2216test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2217 2218test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2219 2220{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 2221$as_echo_n "checking whether build environment is sane... " >&6; } 2222# Just in case 2223sleep 1 2224echo timestamp > conftest.file 2225# Do `set' in a subshell so we don't clobber the current shell's 2226# arguments. Must try -L first in case configure is actually a 2227# symlink; some systems play weird games with the mod time of symlinks 2228# (eg FreeBSD returns the mod time of the symlink's containing 2229# directory). 2230if ( 2231 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 2232 if test "$*" = "X"; then 2233 # -L didn't work. 2234 set X `ls -t $srcdir/configure conftest.file` 2235 fi 2236 rm -f conftest.file 2237 if test "$*" != "X $srcdir/configure conftest.file" \ 2238 && test "$*" != "X conftest.file $srcdir/configure"; then 2239 2240 # If neither matched, then we have a broken ls. This can happen 2241 # if, for instance, CONFIG_SHELL is bash and it inherits a 2242 # broken ls alias from the environment. This has actually 2243 # happened. Such a system could not be considered "sane". 2244 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 2245alias in your environment" >&5 2246$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 2247alias in your environment" >&2;} 2248 { (exit 1); exit 1; }; } 2249 fi 2250 2251 test "$2" = conftest.file 2252 ) 2253then 2254 # Ok. 2255 : 2256else 2257 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! 2258Check your system clock" >&5 2259$as_echo "$as_me: error: newly created file is older than distributed files! 2260Check your system clock" >&2;} 2261 { (exit 1); exit 1; }; } 2262fi 2263{ $as_echo "$as_me:$LINENO: result: yes" >&5 2264$as_echo "yes" >&6; } 2265test "$program_prefix" != NONE && 2266 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2267# Use a double $ so make ignores it. 2268test "$program_suffix" != NONE && 2269 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2270# Double any \ or $. 2271# By default was `s,x,x', remove it if useless. 2272ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2273program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2274 2275# expand $ac_aux_dir to an absolute path 2276am_aux_dir=`cd $ac_aux_dir && pwd` 2277 2278test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 2279# Use eval to expand $SHELL 2280if eval "$MISSING --run true"; then 2281 am_missing_run="$MISSING --run " 2282else 2283 am_missing_run= 2284 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 2285$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2286fi 2287 2288{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 2289$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2290if test -z "$MKDIR_P"; then 2291 if test "${ac_cv_path_mkdir+set}" = set; then 2292 $as_echo_n "(cached) " >&6 2293else 2294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2295for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2296do 2297 IFS=$as_save_IFS 2298 test -z "$as_dir" && as_dir=. 2299 for ac_prog in mkdir gmkdir; do 2300 for ac_exec_ext in '' $ac_executable_extensions; do 2301 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2302 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2303 'mkdir (GNU coreutils) '* | \ 2304 'mkdir (coreutils) '* | \ 2305 'mkdir (fileutils) '4.1*) 2306 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2307 break 3;; 2308 esac 2309 done 2310 done 2311done 2312IFS=$as_save_IFS 2313 2314fi 2315 2316 if test "${ac_cv_path_mkdir+set}" = set; then 2317 MKDIR_P="$ac_cv_path_mkdir -p" 2318 else 2319 # As a last resort, use the slow shell script. Don't cache a 2320 # value for MKDIR_P within a source directory, because that will 2321 # break other packages using the cache if that directory is 2322 # removed, or if the value is a relative name. 2323 test -d ./--version && rmdir ./--version 2324 MKDIR_P="$ac_install_sh -d" 2325 fi 2326fi 2327{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 2328$as_echo "$MKDIR_P" >&6; } 2329 2330mkdir_p="$MKDIR_P" 2331case $mkdir_p in 2332 [\\/$]* | ?:[\\/]*) ;; 2333 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2334esac 2335 2336for ac_prog in gawk mawk nawk awk 2337do 2338 # Extract the first word of "$ac_prog", so it can be a program name with args. 2339set dummy $ac_prog; ac_word=$2 2340{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2341$as_echo_n "checking for $ac_word... " >&6; } 2342if test "${ac_cv_prog_AWK+set}" = set; then 2343 $as_echo_n "(cached) " >&6 2344else 2345 if test -n "$AWK"; then 2346 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2347else 2348as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2349for as_dir in $PATH 2350do 2351 IFS=$as_save_IFS 2352 test -z "$as_dir" && as_dir=. 2353 for ac_exec_ext in '' $ac_executable_extensions; do 2354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2355 ac_cv_prog_AWK="$ac_prog" 2356 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2357 break 2 2358 fi 2359done 2360done 2361IFS=$as_save_IFS 2362 2363fi 2364fi 2365AWK=$ac_cv_prog_AWK 2366if test -n "$AWK"; then 2367 { $as_echo "$as_me:$LINENO: result: $AWK" >&5 2368$as_echo "$AWK" >&6; } 2369else 2370 { $as_echo "$as_me:$LINENO: result: no" >&5 2371$as_echo "no" >&6; } 2372fi 2373 2374 2375 test -n "$AWK" && break 2376done 2377 2378{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2379$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2380set x ${MAKE-make} 2381ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2382if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2383 $as_echo_n "(cached) " >&6 2384else 2385 cat >conftest.make <<\_ACEOF 2386SHELL = /bin/sh 2387all: 2388 @echo '@@@%%%=$(MAKE)=@@@%%%' 2389_ACEOF 2390# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2391case `${MAKE-make} -f conftest.make 2>/dev/null` in 2392 *@@@%%%=?*=@@@%%%*) 2393 eval ac_cv_prog_make_${ac_make}_set=yes;; 2394 *) 2395 eval ac_cv_prog_make_${ac_make}_set=no;; 2396esac 2397rm -f conftest.make 2398fi 2399if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2400 { $as_echo "$as_me:$LINENO: result: yes" >&5 2401$as_echo "yes" >&6; } 2402 SET_MAKE= 2403else 2404 { $as_echo "$as_me:$LINENO: result: no" >&5 2405$as_echo "no" >&6; } 2406 SET_MAKE="MAKE=${MAKE-make}" 2407fi 2408 2409rm -rf .tst 2>/dev/null 2410mkdir .tst 2>/dev/null 2411if test -d .tst; then 2412 am__leading_dot=. 2413else 2414 am__leading_dot=_ 2415fi 2416rmdir .tst 2>/dev/null 2417 2418if test "`cd $srcdir && pwd`" != "`pwd`"; then 2419 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2420 # is not polluted with repeated "-I." 2421 am__isrc=' -I$(srcdir)' 2422 # test to see if srcdir already configured 2423 if test -f $srcdir/config.status; then 2424 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 2425$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2426 { (exit 1); exit 1; }; } 2427 fi 2428fi 2429 2430# test whether we have cygpath 2431if test -z "$CYGPATH_W"; then 2432 if (cygpath --version) >/dev/null 2>/dev/null; then 2433 CYGPATH_W='cygpath -w' 2434 else 2435 CYGPATH_W=echo 2436 fi 2437fi 2438 2439 2440# Define the identity of the package. 2441 PACKAGE=gtkspell 2442 VERSION=2.0.16 2443 2444 2445cat >>confdefs.h <<_ACEOF 2446#define PACKAGE "$PACKAGE" 2447_ACEOF 2448 2449 2450cat >>confdefs.h <<_ACEOF 2451#define VERSION "$VERSION" 2452_ACEOF 2453 2454# Some tools Automake needs. 2455 2456ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2457 2458 2459AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2460 2461 2462AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2463 2464 2465AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2466 2467 2468MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2469 2470install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} 2471 2472# Installed binaries are usually stripped using `strip' when the user 2473# run `make install-strip'. However `strip' might not be the right 2474# tool to use in cross-compilation environments, therefore Automake 2475# will honor the `STRIP' environment variable to overrule this program. 2476if test "$cross_compiling" != no; then 2477 if test -n "$ac_tool_prefix"; then 2478 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2479set dummy ${ac_tool_prefix}strip; ac_word=$2 2480{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2481$as_echo_n "checking for $ac_word... " >&6; } 2482if test "${ac_cv_prog_STRIP+set}" = set; then 2483 $as_echo_n "(cached) " >&6 2484else 2485 if test -n "$STRIP"; then 2486 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2487else 2488as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2489for as_dir in $PATH 2490do 2491 IFS=$as_save_IFS 2492 test -z "$as_dir" && as_dir=. 2493 for ac_exec_ext in '' $ac_executable_extensions; do 2494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2495 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2496 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2497 break 2 2498 fi 2499done 2500done 2501IFS=$as_save_IFS 2502 2503fi 2504fi 2505STRIP=$ac_cv_prog_STRIP 2506if test -n "$STRIP"; then 2507 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 2508$as_echo "$STRIP" >&6; } 2509else 2510 { $as_echo "$as_me:$LINENO: result: no" >&5 2511$as_echo "no" >&6; } 2512fi 2513 2514 2515fi 2516if test -z "$ac_cv_prog_STRIP"; then 2517 ac_ct_STRIP=$STRIP 2518 # Extract the first word of "strip", so it can be a program name with args. 2519set dummy strip; ac_word=$2 2520{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2521$as_echo_n "checking for $ac_word... " >&6; } 2522if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2523 $as_echo_n "(cached) " >&6 2524else 2525 if test -n "$ac_ct_STRIP"; then 2526 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2527else 2528as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2529for as_dir in $PATH 2530do 2531 IFS=$as_save_IFS 2532 test -z "$as_dir" && as_dir=. 2533 for ac_exec_ext in '' $ac_executable_extensions; do 2534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2535 ac_cv_prog_ac_ct_STRIP="strip" 2536 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2537 break 2 2538 fi 2539done 2540done 2541IFS=$as_save_IFS 2542 2543fi 2544fi 2545ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2546if test -n "$ac_ct_STRIP"; then 2547 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2548$as_echo "$ac_ct_STRIP" >&6; } 2549else 2550 { $as_echo "$as_me:$LINENO: result: no" >&5 2551$as_echo "no" >&6; } 2552fi 2553 2554 if test "x$ac_ct_STRIP" = x; then 2555 STRIP=":" 2556 else 2557 case $cross_compiling:$ac_tool_warned in 2558yes:) 2559{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2560$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2561ac_tool_warned=yes ;; 2562esac 2563 STRIP=$ac_ct_STRIP 2564 fi 2565else 2566 STRIP="$ac_cv_prog_STRIP" 2567fi 2568 2569fi 2570INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2571 2572# We need awk for the "check" target. The system "awk" is bad on 2573# some platforms. 2574# Always define AMTAR for backward compatibility. 2575 2576AMTAR=${AMTAR-"${am_missing_run}tar"} 2577 2578am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2579 2580 2581 2582 2583 2584ac_config_headers="$ac_config_headers config.h" 2585 2586 2587SPELLER_LIB=-lenchant 2588 2589 2590GTKSPELL_PACKAGES=gtk+-2.0 2591 2592 2593 2594if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 2595 if test -n "$ac_tool_prefix"; then 2596 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 2597set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 2598{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2599$as_echo_n "checking for $ac_word... " >&6; } 2600if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 2601 $as_echo_n "(cached) " >&6 2602else 2603 case $PKG_CONFIG in 2604 [\\/]* | ?:[\\/]*) 2605 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 2606 ;; 2607 *) 2608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2609for as_dir in $PATH 2610do 2611 IFS=$as_save_IFS 2612 test -z "$as_dir" && as_dir=. 2613 for ac_exec_ext in '' $ac_executable_extensions; do 2614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2615 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 2616 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2617 break 2 2618 fi 2619done 2620done 2621IFS=$as_save_IFS 2622 2623 ;; 2624esac 2625fi 2626PKG_CONFIG=$ac_cv_path_PKG_CONFIG 2627if test -n "$PKG_CONFIG"; then 2628 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 2629$as_echo "$PKG_CONFIG" >&6; } 2630else 2631 { $as_echo "$as_me:$LINENO: result: no" >&5 2632$as_echo "no" >&6; } 2633fi 2634 2635 2636fi 2637if test -z "$ac_cv_path_PKG_CONFIG"; then 2638 ac_pt_PKG_CONFIG=$PKG_CONFIG 2639 # Extract the first word of "pkg-config", so it can be a program name with args. 2640set dummy pkg-config; ac_word=$2 2641{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2642$as_echo_n "checking for $ac_word... " >&6; } 2643if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 2644 $as_echo_n "(cached) " >&6 2645else 2646 case $ac_pt_PKG_CONFIG in 2647 [\\/]* | ?:[\\/]*) 2648 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 2649 ;; 2650 *) 2651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2652for as_dir in $PATH 2653do 2654 IFS=$as_save_IFS 2655 test -z "$as_dir" && as_dir=. 2656 for ac_exec_ext in '' $ac_executable_extensions; do 2657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2658 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 2659 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2660 break 2 2661 fi 2662done 2663done 2664IFS=$as_save_IFS 2665 2666 ;; 2667esac 2668fi 2669ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 2670if test -n "$ac_pt_PKG_CONFIG"; then 2671 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 2672$as_echo "$ac_pt_PKG_CONFIG" >&6; } 2673else 2674 { $as_echo "$as_me:$LINENO: result: no" >&5 2675$as_echo "no" >&6; } 2676fi 2677 2678 if test "x$ac_pt_PKG_CONFIG" = x; then 2679 PKG_CONFIG="" 2680 else 2681 case $cross_compiling:$ac_tool_warned in 2682yes:) 2683{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2684$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2685ac_tool_warned=yes ;; 2686esac 2687 PKG_CONFIG=$ac_pt_PKG_CONFIG 2688 fi 2689else 2690 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 2691fi 2692 2693fi 2694if test -n "$PKG_CONFIG"; then 2695 _pkg_min_version=0.9.0 2696 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 2697$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 2698 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 2699 { $as_echo "$as_me:$LINENO: result: yes" >&5 2700$as_echo "yes" >&6; } 2701 else 2702 { $as_echo "$as_me:$LINENO: result: no" >&5 2703$as_echo "no" >&6; } 2704 PKG_CONFIG="" 2705 fi 2706 2707fi 2708 2709pkg_failed=no 2710{ $as_echo "$as_me:$LINENO: checking for GTKSPELL" >&5 2711$as_echo_n "checking for GTKSPELL... " >&6; } 2712 2713if test -n "$PKG_CONFIG"; then 2714 if test -n "$GTKSPELL_CFLAGS"; then 2715 pkg_cv_GTKSPELL_CFLAGS="$GTKSPELL_CFLAGS" 2716 else 2717 if test -n "$PKG_CONFIG" && \ 2718 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$GTKSPELL_PACKAGES enchant >= 0.4.0 \"") >&5 2719 ($PKG_CONFIG --exists --print-errors "$GTKSPELL_PACKAGES enchant >= 0.4.0 ") 2>&5 2720 ac_status=$? 2721 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2722 (exit $ac_status); }; then 2723 pkg_cv_GTKSPELL_CFLAGS=`$PKG_CONFIG --cflags "$GTKSPELL_PACKAGES enchant >= 0.4.0 " 2>/dev/null` 2724else 2725 pkg_failed=yes 2726fi 2727 fi 2728else 2729 pkg_failed=untried 2730fi 2731if test -n "$PKG_CONFIG"; then 2732 if test -n "$GTKSPELL_LIBS"; then 2733 pkg_cv_GTKSPELL_LIBS="$GTKSPELL_LIBS" 2734 else 2735 if test -n "$PKG_CONFIG" && \ 2736 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$GTKSPELL_PACKAGES enchant >= 0.4.0 \"") >&5 2737 ($PKG_CONFIG --exists --print-errors "$GTKSPELL_PACKAGES enchant >= 0.4.0 ") 2>&5 2738 ac_status=$? 2739 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2740 (exit $ac_status); }; then 2741 pkg_cv_GTKSPELL_LIBS=`$PKG_CONFIG --libs "$GTKSPELL_PACKAGES enchant >= 0.4.0 " 2>/dev/null` 2742else 2743 pkg_failed=yes 2744fi 2745 fi 2746else 2747 pkg_failed=untried 2748fi 2749 2750 2751 2752if test $pkg_failed = yes; then 2753 2754if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 2755 _pkg_short_errors_supported=yes 2756else 2757 _pkg_short_errors_supported=no 2758fi 2759 if test $_pkg_short_errors_supported = yes; then 2760 GTKSPELL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$GTKSPELL_PACKAGES enchant >= 0.4.0 "` 2761 else 2762 GTKSPELL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GTKSPELL_PACKAGES enchant >= 0.4.0 "` 2763 fi 2764 # Put the nasty error message in config.log where it belongs 2765 echo "$GTKSPELL_PKG_ERRORS" >&5 2766 2767 { { $as_echo "$as_me:$LINENO: error: Package requirements ($GTKSPELL_PACKAGES enchant >= 0.4.0 ) were not met: 2768 2769$GTKSPELL_PKG_ERRORS 2770 2771Consider adjusting the PKG_CONFIG_PATH environment variable if you 2772installed software in a non-standard prefix. 2773 2774Alternatively, you may set the environment variables GTKSPELL_CFLAGS 2775and GTKSPELL_LIBS to avoid the need to call pkg-config. 2776See the pkg-config man page for more details. 2777" >&5 2778$as_echo "$as_me: error: Package requirements ($GTKSPELL_PACKAGES enchant >= 0.4.0 ) were not met: 2779 2780$GTKSPELL_PKG_ERRORS 2781 2782Consider adjusting the PKG_CONFIG_PATH environment variable if you 2783installed software in a non-standard prefix. 2784 2785Alternatively, you may set the environment variables GTKSPELL_CFLAGS 2786and GTKSPELL_LIBS to avoid the need to call pkg-config. 2787See the pkg-config man page for more details. 2788" >&2;} 2789 { (exit 1); exit 1; }; } 2790elif test $pkg_failed = untried; then 2791 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2792$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2793{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 2794is in your PATH or set the PKG_CONFIG environment variable to the full 2795path to pkg-config. 2796 2797Alternatively, you may set the environment variables GTKSPELL_CFLAGS 2798and GTKSPELL_LIBS to avoid the need to call pkg-config. 2799See the pkg-config man page for more details. 2800 2801To get pkg-config, see <http://pkg-config.freedesktop.org/>. 2802See \`config.log' for more details." >&5 2803$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 2804is in your PATH or set the PKG_CONFIG environment variable to the full 2805path to pkg-config. 2806 2807Alternatively, you may set the environment variables GTKSPELL_CFLAGS 2808and GTKSPELL_LIBS to avoid the need to call pkg-config. 2809See the pkg-config man page for more details. 2810 2811To get pkg-config, see <http://pkg-config.freedesktop.org/>. 2812See \`config.log' for more details." >&2;} 2813 { (exit 1); exit 1; }; }; } 2814else 2815 GTKSPELL_CFLAGS=$pkg_cv_GTKSPELL_CFLAGS 2816 GTKSPELL_LIBS=$pkg_cv_GTKSPELL_LIBS 2817 { $as_echo "$as_me:$LINENO: result: yes" >&5 2818$as_echo "yes" >&6; } 2819 : 2820fi 2821 2822 2823 2824# check Pango version so we can use PANGO_UNDERLINE_ERROR when available: 2825 2826pkg_failed=no 2827{ $as_echo "$as_me:$LINENO: checking for PANGO" >&5 2828$as_echo_n "checking for PANGO... " >&6; } 2829 2830if test -n "$PKG_CONFIG"; then 2831 if test -n "$PANGO_CFLAGS"; then 2832 pkg_cv_PANGO_CFLAGS="$PANGO_CFLAGS" 2833 else 2834 if test -n "$PKG_CONFIG" && \ 2835 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pango >= 1.3.5\"") >&5 2836 ($PKG_CONFIG --exists --print-errors "pango >= 1.3.5") 2>&5 2837 ac_status=$? 2838 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2839 (exit $ac_status); }; then 2840 pkg_cv_PANGO_CFLAGS=`$PKG_CONFIG --cflags "pango >= 1.3.5" 2>/dev/null` 2841else 2842 pkg_failed=yes 2843fi 2844 fi 2845else 2846 pkg_failed=untried 2847fi 2848if test -n "$PKG_CONFIG"; then 2849 if test -n "$PANGO_LIBS"; then 2850 pkg_cv_PANGO_LIBS="$PANGO_LIBS" 2851 else 2852 if test -n "$PKG_CONFIG" && \ 2853 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pango >= 1.3.5\"") >&5 2854 ($PKG_CONFIG --exists --print-errors "pango >= 1.3.5") 2>&5 2855 ac_status=$? 2856 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2857 (exit $ac_status); }; then 2858 pkg_cv_PANGO_LIBS=`$PKG_CONFIG --libs "pango >= 1.3.5" 2>/dev/null` 2859else 2860 pkg_failed=yes 2861fi 2862 fi 2863else 2864 pkg_failed=untried 2865fi 2866 2867 2868 2869if test $pkg_failed = yes; then 2870 2871if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 2872 _pkg_short_errors_supported=yes 2873else 2874 _pkg_short_errors_supported=no 2875fi 2876 if test $_pkg_short_errors_supported = yes; then 2877 PANGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pango >= 1.3.5"` 2878 else 2879 PANGO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pango >= 1.3.5"` 2880 fi 2881 # Put the nasty error message in config.log where it belongs 2882 echo "$PANGO_PKG_ERRORS" >&5 2883 2884 { $as_echo "$as_me:$LINENO: result: no" >&5 2885$as_echo "no" >&6; } 2886 { $as_echo "$as_me:$LINENO: WARNING: Disabling new error underlining since pango < 1.3.5" >&5 2887$as_echo "$as_me: WARNING: Disabling new error underlining since pango < 1.3.5" >&2;} 2888elif test $pkg_failed = untried; then 2889 { $as_echo "$as_me:$LINENO: WARNING: Disabling new error underlining since pango < 1.3.5" >&5 2890$as_echo "$as_me: WARNING: Disabling new error underlining since pango < 1.3.5" >&2;} 2891else 2892 PANGO_CFLAGS=$pkg_cv_PANGO_CFLAGS 2893 PANGO_LIBS=$pkg_cv_PANGO_LIBS 2894 { $as_echo "$as_me:$LINENO: result: yes" >&5 2895$as_echo "yes" >&6; } 2896 2897cat >>confdefs.h <<\_ACEOF 2898#define HAVE_PANGO_UNDERLINE_ERROR 1 2899_ACEOF 2900 2901fi 2902 2903# check Pango version to see if word breaking bug is fixed: 2904#PKG_CHECK_MODULES(PANGO, [pango >= 1.8.0], 2905# [AC_DEFINE(FIXED_PANGO, 1, [Define to 1 if pango >= 1.8.0.])], 2906# [AC_MSG_WARN([Enabling word-breaking workarounds since pango < 1.8.0])]) 2907 2908# gtk-doc check: 2909# gtk-doc check: 2910# from http://cvs.gnome.org/lxr/source/gtk-doc/examples/configure.in 2911 2912# Check whether --with-html-dir was given. 2913if test "${with_html_dir+set}" = set; then 2914 withval=$with_html_dir; 2915fi 2916 2917 2918if test "x$with_html_dir" = "x" ; then 2919 HTML_DIR='${datadir}/gtk-doc/html' 2920else 2921 HTML_DIR=$with_html_dir 2922fi 2923 2924 2925 2926gtk_doc_min_version=1.0 2927{ $as_echo "$as_me:$LINENO: checking gtk-doc version >= $gtk_doc_min_version" >&5 2928$as_echo_n "checking gtk-doc version >= $gtk_doc_min_version... " >&6; } 2929if pkg-config --atleast-version=$gtk_doc_min_version gtk-doc; then 2930 { $as_echo "$as_me:$LINENO: result: yes" >&5 2931$as_echo "yes" >&6; } 2932 GTKDOC=true 2933else 2934 { $as_echo "$as_me:$LINENO: result: no" >&5 2935$as_echo "no" >&6; } 2936 GTKDOC=false 2937fi 2938 2939# Check whether --enable-gtk-doc was given. 2940if test "${enable_gtk_doc+set}" = set; then 2941 enableval=$enable_gtk_doc; enable_gtk_doc="$enableval" 2942else 2943 enable_gtk_doc=auto 2944fi 2945 2946 2947if test x$enable_gtk_doc = xauto ; then 2948 if test x$GTKDOC = xtrue ; then 2949 enable_gtk_doc=yes 2950 else 2951 enable_gtk_doc=no 2952 fi 2953fi 2954 2955 if test x$enable_gtk_doc = xyes; then 2956 ENABLE_GTK_DOC_TRUE= 2957 ENABLE_GTK_DOC_FALSE='#' 2958else 2959 ENABLE_GTK_DOC_TRUE='#' 2960 ENABLE_GTK_DOC_FALSE= 2961fi 2962 2963 2964# end gtk-doc check. 2965 2966ac_ext=c 2967ac_cpp='$CPP $CPPFLAGS' 2968ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2969ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2970ac_compiler_gnu=$ac_cv_c_compiler_gnu 2971if test -n "$ac_tool_prefix"; then 2972 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2973set dummy ${ac_tool_prefix}gcc; ac_word=$2 2974{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2975$as_echo_n "checking for $ac_word... " >&6; } 2976if test "${ac_cv_prog_CC+set}" = set; then 2977 $as_echo_n "(cached) " >&6 2978else 2979 if test -n "$CC"; then 2980 ac_cv_prog_CC="$CC" # Let the user override the test. 2981else 2982as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2983for as_dir in $PATH 2984do 2985 IFS=$as_save_IFS 2986 test -z "$as_dir" && as_dir=. 2987 for ac_exec_ext in '' $ac_executable_extensions; do 2988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2989 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2990 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2991 break 2 2992 fi 2993done 2994done 2995IFS=$as_save_IFS 2996 2997fi 2998fi 2999CC=$ac_cv_prog_CC 3000if test -n "$CC"; then 3001 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3002$as_echo "$CC" >&6; } 3003else 3004 { $as_echo "$as_me:$LINENO: result: no" >&5 3005$as_echo "no" >&6; } 3006fi 3007 3008 3009fi 3010if test -z "$ac_cv_prog_CC"; then 3011 ac_ct_CC=$CC 3012 # Extract the first word of "gcc", so it can be a program name with args. 3013set dummy gcc; ac_word=$2 3014{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3015$as_echo_n "checking for $ac_word... " >&6; } 3016if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 3017 $as_echo_n "(cached) " >&6 3018else 3019 if test -n "$ac_ct_CC"; then 3020 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3021else 3022as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3023for as_dir in $PATH 3024do 3025 IFS=$as_save_IFS 3026 test -z "$as_dir" && as_dir=. 3027 for ac_exec_ext in '' $ac_executable_extensions; do 3028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3029 ac_cv_prog_ac_ct_CC="gcc" 3030 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3031 break 2 3032 fi 3033done 3034done 3035IFS=$as_save_IFS 3036 3037fi 3038fi 3039ac_ct_CC=$ac_cv_prog_ac_ct_CC 3040if test -n "$ac_ct_CC"; then 3041 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 3042$as_echo "$ac_ct_CC" >&6; } 3043else 3044 { $as_echo "$as_me:$LINENO: result: no" >&5 3045$as_echo "no" >&6; } 3046fi 3047 3048 if test "x$ac_ct_CC" = x; then 3049 CC="" 3050 else 3051 case $cross_compiling:$ac_tool_warned in 3052yes:) 3053{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3054$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3055ac_tool_warned=yes ;; 3056esac 3057 CC=$ac_ct_CC 3058 fi 3059else 3060 CC="$ac_cv_prog_CC" 3061fi 3062 3063if test -z "$CC"; then 3064 if test -n "$ac_tool_prefix"; then 3065 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3066set dummy ${ac_tool_prefix}cc; ac_word=$2 3067{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3068$as_echo_n "checking for $ac_word... " >&6; } 3069if test "${ac_cv_prog_CC+set}" = set; then 3070 $as_echo_n "(cached) " >&6 3071else 3072 if test -n "$CC"; then 3073 ac_cv_prog_CC="$CC" # Let the user override the test. 3074else 3075as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3076for as_dir in $PATH 3077do 3078 IFS=$as_save_IFS 3079 test -z "$as_dir" && as_dir=. 3080 for ac_exec_ext in '' $ac_executable_extensions; do 3081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3082 ac_cv_prog_CC="${ac_tool_prefix}cc" 3083 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3084 break 2 3085 fi 3086done 3087done 3088IFS=$as_save_IFS 3089 3090fi 3091fi 3092CC=$ac_cv_prog_CC 3093if test -n "$CC"; then 3094 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3095$as_echo "$CC" >&6; } 3096else 3097 { $as_echo "$as_me:$LINENO: result: no" >&5 3098$as_echo "no" >&6; } 3099fi 3100 3101 3102 fi 3103fi 3104if test -z "$CC"; then 3105 # Extract the first word of "cc", so it can be a program name with args. 3106set dummy cc; ac_word=$2 3107{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3108$as_echo_n "checking for $ac_word... " >&6; } 3109if test "${ac_cv_prog_CC+set}" = set; then 3110 $as_echo_n "(cached) " >&6 3111else 3112 if test -n "$CC"; then 3113 ac_cv_prog_CC="$CC" # Let the user override the test. 3114else 3115 ac_prog_rejected=no 3116as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3117for as_dir in $PATH 3118do 3119 IFS=$as_save_IFS 3120 test -z "$as_dir" && as_dir=. 3121 for ac_exec_ext in '' $ac_executable_extensions; do 3122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3123 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3124 ac_prog_rejected=yes 3125 continue 3126 fi 3127 ac_cv_prog_CC="cc" 3128 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3129 break 2 3130 fi 3131done 3132done 3133IFS=$as_save_IFS 3134 3135if test $ac_prog_rejected = yes; then 3136 # We found a bogon in the path, so make sure we never use it. 3137 set dummy $ac_cv_prog_CC 3138 shift 3139 if test $# != 0; then 3140 # We chose a different compiler from the bogus one. 3141 # However, it has the same basename, so the bogon will be chosen 3142 # first if we set CC to just the basename; use the full file name. 3143 shift 3144 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3145 fi 3146fi 3147fi 3148fi 3149CC=$ac_cv_prog_CC 3150if test -n "$CC"; then 3151 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3152$as_echo "$CC" >&6; } 3153else 3154 { $as_echo "$as_me:$LINENO: result: no" >&5 3155$as_echo "no" >&6; } 3156fi 3157 3158 3159fi 3160if test -z "$CC"; then 3161 if test -n "$ac_tool_prefix"; then 3162 for ac_prog in cl.exe 3163 do 3164 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3165set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3166{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3167$as_echo_n "checking for $ac_word... " >&6; } 3168if test "${ac_cv_prog_CC+set}" = set; then 3169 $as_echo_n "(cached) " >&6 3170else 3171 if test -n "$CC"; then 3172 ac_cv_prog_CC="$CC" # Let the user override the test. 3173else 3174as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3175for as_dir in $PATH 3176do 3177 IFS=$as_save_IFS 3178 test -z "$as_dir" && as_dir=. 3179 for ac_exec_ext in '' $ac_executable_extensions; do 3180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3181 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3182 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3183 break 2 3184 fi 3185done 3186done 3187IFS=$as_save_IFS 3188 3189fi 3190fi 3191CC=$ac_cv_prog_CC 3192if test -n "$CC"; then 3193 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3194$as_echo "$CC" >&6; } 3195else 3196 { $as_echo "$as_me:$LINENO: result: no" >&5 3197$as_echo "no" >&6; } 3198fi 3199 3200 3201 test -n "$CC" && break 3202 done 3203fi 3204if test -z "$CC"; then 3205 ac_ct_CC=$CC 3206 for ac_prog in cl.exe 3207do 3208 # Extract the first word of "$ac_prog", so it can be a program name with args. 3209set dummy $ac_prog; ac_word=$2 3210{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3211$as_echo_n "checking for $ac_word... " >&6; } 3212if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 3213 $as_echo_n "(cached) " >&6 3214else 3215 if test -n "$ac_ct_CC"; then 3216 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3217else 3218as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3219for as_dir in $PATH 3220do 3221 IFS=$as_save_IFS 3222 test -z "$as_dir" && as_dir=. 3223 for ac_exec_ext in '' $ac_executable_extensions; do 3224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3225 ac_cv_prog_ac_ct_CC="$ac_prog" 3226 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3227 break 2 3228 fi 3229done 3230done 3231IFS=$as_save_IFS 3232 3233fi 3234fi 3235ac_ct_CC=$ac_cv_prog_ac_ct_CC 3236if test -n "$ac_ct_CC"; then 3237 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 3238$as_echo "$ac_ct_CC" >&6; } 3239else 3240 { $as_echo "$as_me:$LINENO: result: no" >&5 3241$as_echo "no" >&6; } 3242fi 3243 3244 3245 test -n "$ac_ct_CC" && break 3246done 3247 3248 if test "x$ac_ct_CC" = x; then 3249 CC="" 3250 else 3251 case $cross_compiling:$ac_tool_warned in 3252yes:) 3253{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3254$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3255ac_tool_warned=yes ;; 3256esac 3257 CC=$ac_ct_CC 3258 fi 3259fi 3260 3261fi 3262 3263 3264test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3265$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3266{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 3267See \`config.log' for more details." >&5 3268$as_echo "$as_me: error: no acceptable C compiler found in \$PATH 3269See \`config.log' for more details." >&2;} 3270 { (exit 1); exit 1; }; }; } 3271 3272# Provide some information about the compiler. 3273$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 3274set X $ac_compile 3275ac_compiler=$2 3276{ (ac_try="$ac_compiler --version >&5" 3277case "(($ac_try" in 3278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3279 *) ac_try_echo=$ac_try;; 3280esac 3281eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3282$as_echo "$ac_try_echo") >&5 3283 (eval "$ac_compiler --version >&5") 2>&5 3284 ac_status=$? 3285 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3286 (exit $ac_status); } 3287{ (ac_try="$ac_compiler -v >&5" 3288case "(($ac_try" in 3289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3290 *) ac_try_echo=$ac_try;; 3291esac 3292eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3293$as_echo "$ac_try_echo") >&5 3294 (eval "$ac_compiler -v >&5") 2>&5 3295 ac_status=$? 3296 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3297 (exit $ac_status); } 3298{ (ac_try="$ac_compiler -V >&5" 3299case "(($ac_try" in 3300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3301 *) ac_try_echo=$ac_try;; 3302esac 3303eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3304$as_echo "$ac_try_echo") >&5 3305 (eval "$ac_compiler -V >&5") 2>&5 3306 ac_status=$? 3307 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3308 (exit $ac_status); } 3309 3310cat >conftest.$ac_ext <<_ACEOF 3311/* confdefs.h. */ 3312_ACEOF 3313cat confdefs.h >>conftest.$ac_ext 3314cat >>conftest.$ac_ext <<_ACEOF 3315/* end confdefs.h. */ 3316 3317int 3318main () 3319{ 3320 3321 ; 3322 return 0; 3323} 3324_ACEOF 3325ac_clean_files_save=$ac_clean_files 3326ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3327# Try to create an executable without -o first, disregard a.out. 3328# It will help us diagnose broken compilers, and finding out an intuition 3329# of exeext. 3330{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 3331$as_echo_n "checking for C compiler default output file name... " >&6; } 3332ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3333 3334# The possible output files: 3335ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3336 3337ac_rmfiles= 3338for ac_file in $ac_files 3339do 3340 case $ac_file in 3341 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3342 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3343 esac 3344done 3345rm -f $ac_rmfiles 3346 3347if { (ac_try="$ac_link_default" 3348case "(($ac_try" in 3349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3350 *) ac_try_echo=$ac_try;; 3351esac 3352eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3353$as_echo "$ac_try_echo") >&5 3354 (eval "$ac_link_default") 2>&5 3355 ac_status=$? 3356 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3357 (exit $ac_status); }; then 3358 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3359# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3360# in a Makefile. We should not override ac_cv_exeext if it was cached, 3361# so that the user can short-circuit this test for compilers unknown to 3362# Autoconf. 3363for ac_file in $ac_files '' 3364do 3365 test -f "$ac_file" || continue 3366 case $ac_file in 3367 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3368 ;; 3369 [ab].out ) 3370 # We found the default executable, but exeext='' is most 3371 # certainly right. 3372 break;; 3373 *.* ) 3374 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3375 then :; else 3376 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3377 fi 3378 # We set ac_cv_exeext here because the later test for it is not 3379 # safe: cross compilers may not add the suffix if given an `-o' 3380 # argument, so we may need to know it at that point already. 3381 # Even if this section looks crufty: it has the advantage of 3382 # actually working. 3383 break;; 3384 * ) 3385 break;; 3386 esac 3387done 3388test "$ac_cv_exeext" = no && ac_cv_exeext= 3389 3390else 3391 ac_file='' 3392fi 3393 3394{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 3395$as_echo "$ac_file" >&6; } 3396if test -z "$ac_file"; then 3397 $as_echo "$as_me: failed program was:" >&5 3398sed 's/^/| /' conftest.$ac_ext >&5 3399 3400{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3401$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3402{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 3403See \`config.log' for more details." >&5 3404$as_echo "$as_me: error: C compiler cannot create executables 3405See \`config.log' for more details." >&2;} 3406 { (exit 77); exit 77; }; }; } 3407fi 3408 3409ac_exeext=$ac_cv_exeext 3410 3411# Check that the compiler produces executables we can run. If not, either 3412# the compiler is broken, or we cross compile. 3413{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 3414$as_echo_n "checking whether the C compiler works... " >&6; } 3415# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 3416# If not cross compiling, check that we can run a simple program. 3417if test "$cross_compiling" != yes; then 3418 if { ac_try='./$ac_file' 3419 { (case "(($ac_try" in 3420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3421 *) ac_try_echo=$ac_try;; 3422esac 3423eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3424$as_echo "$ac_try_echo") >&5 3425 (eval "$ac_try") 2>&5 3426 ac_status=$? 3427 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3428 (exit $ac_status); }; }; then 3429 cross_compiling=no 3430 else 3431 if test "$cross_compiling" = maybe; then 3432 cross_compiling=yes 3433 else 3434 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3435$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3436{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 3437If you meant to cross compile, use \`--host'. 3438See \`config.log' for more details." >&5 3439$as_echo "$as_me: error: cannot run C compiled programs. 3440If you meant to cross compile, use \`--host'. 3441See \`config.log' for more details." >&2;} 3442 { (exit 1); exit 1; }; }; } 3443 fi 3444 fi 3445fi 3446{ $as_echo "$as_me:$LINENO: result: yes" >&5 3447$as_echo "yes" >&6; } 3448 3449rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3450ac_clean_files=$ac_clean_files_save 3451# Check that the compiler produces executables we can run. If not, either 3452# the compiler is broken, or we cross compile. 3453{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 3454$as_echo_n "checking whether we are cross compiling... " >&6; } 3455{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 3456$as_echo "$cross_compiling" >&6; } 3457 3458{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 3459$as_echo_n "checking for suffix of executables... " >&6; } 3460if { (ac_try="$ac_link" 3461case "(($ac_try" in 3462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3463 *) ac_try_echo=$ac_try;; 3464esac 3465eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3466$as_echo "$ac_try_echo") >&5 3467 (eval "$ac_link") 2>&5 3468 ac_status=$? 3469 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3470 (exit $ac_status); }; then 3471 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3472# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3473# work properly (i.e., refer to `conftest.exe'), while it won't with 3474# `rm'. 3475for ac_file in conftest.exe conftest conftest.*; do 3476 test -f "$ac_file" || continue 3477 case $ac_file in 3478 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3479 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3480 break;; 3481 * ) break;; 3482 esac 3483done 3484else 3485 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3486$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3487{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 3488See \`config.log' for more details." >&5 3489$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 3490See \`config.log' for more details." >&2;} 3491 { (exit 1); exit 1; }; }; } 3492fi 3493 3494rm -f conftest$ac_cv_exeext 3495{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3496$as_echo "$ac_cv_exeext" >&6; } 3497 3498rm -f conftest.$ac_ext 3499EXEEXT=$ac_cv_exeext 3500ac_exeext=$EXEEXT 3501{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 3502$as_echo_n "checking for suffix of object files... " >&6; } 3503if test "${ac_cv_objext+set}" = set; then 3504 $as_echo_n "(cached) " >&6 3505else 3506 cat >conftest.$ac_ext <<_ACEOF 3507/* confdefs.h. */ 3508_ACEOF 3509cat confdefs.h >>conftest.$ac_ext 3510cat >>conftest.$ac_ext <<_ACEOF 3511/* end confdefs.h. */ 3512 3513int 3514main () 3515{ 3516 3517 ; 3518 return 0; 3519} 3520_ACEOF 3521rm -f conftest.o conftest.obj 3522if { (ac_try="$ac_compile" 3523case "(($ac_try" in 3524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3525 *) ac_try_echo=$ac_try;; 3526esac 3527eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3528$as_echo "$ac_try_echo") >&5 3529 (eval "$ac_compile") 2>&5 3530 ac_status=$? 3531 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3532 (exit $ac_status); }; then 3533 for ac_file in conftest.o conftest.obj conftest.*; do 3534 test -f "$ac_file" || continue; 3535 case $ac_file in 3536 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3537 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3538 break;; 3539 esac 3540done 3541else 3542 $as_echo "$as_me: failed program was:" >&5 3543sed 's/^/| /' conftest.$ac_ext >&5 3544 3545{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3546$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3547{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 3548See \`config.log' for more details." >&5 3549$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 3550See \`config.log' for more details." >&2;} 3551 { (exit 1); exit 1; }; }; } 3552fi 3553 3554rm -f conftest.$ac_cv_objext conftest.$ac_ext 3555fi 3556{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3557$as_echo "$ac_cv_objext" >&6; } 3558OBJEXT=$ac_cv_objext 3559ac_objext=$OBJEXT 3560{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3561$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3562if test "${ac_cv_c_compiler_gnu+set}" = set; then 3563 $as_echo_n "(cached) " >&6 3564else 3565 cat >conftest.$ac_ext <<_ACEOF 3566/* confdefs.h. */ 3567_ACEOF 3568cat confdefs.h >>conftest.$ac_ext 3569cat >>conftest.$ac_ext <<_ACEOF 3570/* end confdefs.h. */ 3571 3572int 3573main () 3574{ 3575#ifndef __GNUC__ 3576 choke me 3577#endif 3578 3579 ; 3580 return 0; 3581} 3582_ACEOF 3583rm -f conftest.$ac_objext 3584if { (ac_try="$ac_compile" 3585case "(($ac_try" in 3586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3587 *) ac_try_echo=$ac_try;; 3588esac 3589eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3590$as_echo "$ac_try_echo") >&5 3591 (eval "$ac_compile") 2>conftest.er1 3592 ac_status=$? 3593 grep -v '^ *+' conftest.er1 >conftest.err 3594 rm -f conftest.er1 3595 cat conftest.err >&5 3596 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3597 (exit $ac_status); } && { 3598 test -z "$ac_c_werror_flag" || 3599 test ! -s conftest.err 3600 } && test -s conftest.$ac_objext; then 3601 ac_compiler_gnu=yes 3602else 3603 $as_echo "$as_me: failed program was:" >&5 3604sed 's/^/| /' conftest.$ac_ext >&5 3605 3606 ac_compiler_gnu=no 3607fi 3608 3609rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3610ac_cv_c_compiler_gnu=$ac_compiler_gnu 3611 3612fi 3613{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3614$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3615if test $ac_compiler_gnu = yes; then 3616 GCC=yes 3617else 3618 GCC= 3619fi 3620ac_test_CFLAGS=${CFLAGS+set} 3621ac_save_CFLAGS=$CFLAGS 3622{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3623$as_echo_n "checking whether $CC accepts -g... " >&6; } 3624if test "${ac_cv_prog_cc_g+set}" = set; then 3625 $as_echo_n "(cached) " >&6 3626else 3627 ac_save_c_werror_flag=$ac_c_werror_flag 3628 ac_c_werror_flag=yes 3629 ac_cv_prog_cc_g=no 3630 CFLAGS="-g" 3631 cat >conftest.$ac_ext <<_ACEOF 3632/* confdefs.h. */ 3633_ACEOF 3634cat confdefs.h >>conftest.$ac_ext 3635cat >>conftest.$ac_ext <<_ACEOF 3636/* end confdefs.h. */ 3637 3638int 3639main () 3640{ 3641 3642 ; 3643 return 0; 3644} 3645_ACEOF 3646rm -f conftest.$ac_objext 3647if { (ac_try="$ac_compile" 3648case "(($ac_try" in 3649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3650 *) ac_try_echo=$ac_try;; 3651esac 3652eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3653$as_echo "$ac_try_echo") >&5 3654 (eval "$ac_compile") 2>conftest.er1 3655 ac_status=$? 3656 grep -v '^ *+' conftest.er1 >conftest.err 3657 rm -f conftest.er1 3658 cat conftest.err >&5 3659 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3660 (exit $ac_status); } && { 3661 test -z "$ac_c_werror_flag" || 3662 test ! -s conftest.err 3663 } && test -s conftest.$ac_objext; then 3664 ac_cv_prog_cc_g=yes 3665else 3666 $as_echo "$as_me: failed program was:" >&5 3667sed 's/^/| /' conftest.$ac_ext >&5 3668 3669 CFLAGS="" 3670 cat >conftest.$ac_ext <<_ACEOF 3671/* confdefs.h. */ 3672_ACEOF 3673cat confdefs.h >>conftest.$ac_ext 3674cat >>conftest.$ac_ext <<_ACEOF 3675/* end confdefs.h. */ 3676 3677int 3678main () 3679{ 3680 3681 ; 3682 return 0; 3683} 3684_ACEOF 3685rm -f conftest.$ac_objext 3686if { (ac_try="$ac_compile" 3687case "(($ac_try" in 3688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3689 *) ac_try_echo=$ac_try;; 3690esac 3691eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3692$as_echo "$ac_try_echo") >&5 3693 (eval "$ac_compile") 2>conftest.er1 3694 ac_status=$? 3695 grep -v '^ *+' conftest.er1 >conftest.err 3696 rm -f conftest.er1 3697 cat conftest.err >&5 3698 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3699 (exit $ac_status); } && { 3700 test -z "$ac_c_werror_flag" || 3701 test ! -s conftest.err 3702 } && test -s conftest.$ac_objext; then 3703 : 3704else 3705 $as_echo "$as_me: failed program was:" >&5 3706sed 's/^/| /' conftest.$ac_ext >&5 3707 3708 ac_c_werror_flag=$ac_save_c_werror_flag 3709 CFLAGS="-g" 3710 cat >conftest.$ac_ext <<_ACEOF 3711/* confdefs.h. */ 3712_ACEOF 3713cat confdefs.h >>conftest.$ac_ext 3714cat >>conftest.$ac_ext <<_ACEOF 3715/* end confdefs.h. */ 3716 3717int 3718main () 3719{ 3720 3721 ; 3722 return 0; 3723} 3724_ACEOF 3725rm -f conftest.$ac_objext 3726if { (ac_try="$ac_compile" 3727case "(($ac_try" in 3728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3729 *) ac_try_echo=$ac_try;; 3730esac 3731eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3732$as_echo "$ac_try_echo") >&5 3733 (eval "$ac_compile") 2>conftest.er1 3734 ac_status=$? 3735 grep -v '^ *+' conftest.er1 >conftest.err 3736 rm -f conftest.er1 3737 cat conftest.err >&5 3738 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3739 (exit $ac_status); } && { 3740 test -z "$ac_c_werror_flag" || 3741 test ! -s conftest.err 3742 } && test -s conftest.$ac_objext; then 3743 ac_cv_prog_cc_g=yes 3744else 3745 $as_echo "$as_me: failed program was:" >&5 3746sed 's/^/| /' conftest.$ac_ext >&5 3747 3748 3749fi 3750 3751rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3752fi 3753 3754rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3755fi 3756 3757rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3758 ac_c_werror_flag=$ac_save_c_werror_flag 3759fi 3760{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3761$as_echo "$ac_cv_prog_cc_g" >&6; } 3762if test "$ac_test_CFLAGS" = set; then 3763 CFLAGS=$ac_save_CFLAGS 3764elif test $ac_cv_prog_cc_g = yes; then 3765 if test "$GCC" = yes; then 3766 CFLAGS="-g -O2" 3767 else 3768 CFLAGS="-g" 3769 fi 3770else 3771 if test "$GCC" = yes; then 3772 CFLAGS="-O2" 3773 else 3774 CFLAGS= 3775 fi 3776fi 3777{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3778$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3779if test "${ac_cv_prog_cc_c89+set}" = set; then 3780 $as_echo_n "(cached) " >&6 3781else 3782 ac_cv_prog_cc_c89=no 3783ac_save_CC=$CC 3784cat >conftest.$ac_ext <<_ACEOF 3785/* confdefs.h. */ 3786_ACEOF 3787cat confdefs.h >>conftest.$ac_ext 3788cat >>conftest.$ac_ext <<_ACEOF 3789/* end confdefs.h. */ 3790#include <stdarg.h> 3791#include <stdio.h> 3792#include <sys/types.h> 3793#include <sys/stat.h> 3794/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3795struct buf { int x; }; 3796FILE * (*rcsopen) (struct buf *, struct stat *, int); 3797static char *e (p, i) 3798 char **p; 3799 int i; 3800{ 3801 return p[i]; 3802} 3803static char *f (char * (*g) (char **, int), char **p, ...) 3804{ 3805 char *s; 3806 va_list v; 3807 va_start (v,p); 3808 s = g (p, va_arg (v,int)); 3809 va_end (v); 3810 return s; 3811} 3812 3813/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3814 function prototypes and stuff, but not '\xHH' hex character constants. 3815 These don't provoke an error unfortunately, instead are silently treated 3816 as 'x'. The following induces an error, until -std is added to get 3817 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3818 array size at least. It's necessary to write '\x00'==0 to get something 3819 that's true only with -std. */ 3820int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3821 3822/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3823 inside strings and character constants. */ 3824#define FOO(x) 'x' 3825int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3826 3827int test (int i, double x); 3828struct s1 {int (*f) (int a);}; 3829struct s2 {int (*f) (double a);}; 3830int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3831int argc; 3832char **argv; 3833int 3834main () 3835{ 3836return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3837 ; 3838 return 0; 3839} 3840_ACEOF 3841for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3842 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3843do 3844 CC="$ac_save_CC $ac_arg" 3845 rm -f conftest.$ac_objext 3846if { (ac_try="$ac_compile" 3847case "(($ac_try" in 3848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3849 *) ac_try_echo=$ac_try;; 3850esac 3851eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3852$as_echo "$ac_try_echo") >&5 3853 (eval "$ac_compile") 2>conftest.er1 3854 ac_status=$? 3855 grep -v '^ *+' conftest.er1 >conftest.err 3856 rm -f conftest.er1 3857 cat conftest.err >&5 3858 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3859 (exit $ac_status); } && { 3860 test -z "$ac_c_werror_flag" || 3861 test ! -s conftest.err 3862 } && test -s conftest.$ac_objext; then 3863 ac_cv_prog_cc_c89=$ac_arg 3864else 3865 $as_echo "$as_me: failed program was:" >&5 3866sed 's/^/| /' conftest.$ac_ext >&5 3867 3868 3869fi 3870 3871rm -f core conftest.err conftest.$ac_objext 3872 test "x$ac_cv_prog_cc_c89" != "xno" && break 3873done 3874rm -f conftest.$ac_ext 3875CC=$ac_save_CC 3876 3877fi 3878# AC_CACHE_VAL 3879case "x$ac_cv_prog_cc_c89" in 3880 x) 3881 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3882$as_echo "none needed" >&6; } ;; 3883 xno) 3884 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3885$as_echo "unsupported" >&6; } ;; 3886 *) 3887 CC="$CC $ac_cv_prog_cc_c89" 3888 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3889$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3890esac 3891 3892 3893ac_ext=c 3894ac_cpp='$CPP $CPPFLAGS' 3895ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3896ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3897ac_compiler_gnu=$ac_cv_c_compiler_gnu 3898DEPDIR="${am__leading_dot}deps" 3899 3900ac_config_commands="$ac_config_commands depfiles" 3901 3902 3903am_make=${MAKE-make} 3904cat > confinc << 'END' 3905am__doit: 3906 @echo done 3907.PHONY: am__doit 3908END 3909# If we don't find an include directive, just comment out the code. 3910{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 3911$as_echo_n "checking for style of include used by $am_make... " >&6; } 3912am__include="#" 3913am__quote= 3914_am_result=none 3915# First try GNU make style include. 3916echo "include confinc" > confmf 3917# We grep out `Entering directory' and `Leaving directory' 3918# messages which can occur if `w' ends up in MAKEFLAGS. 3919# In particular we don't look at `^make:' because GNU make might 3920# be invoked under some other name (usually "gmake"), in which 3921# case it prints its new name instead of `make'. 3922if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 3923 am__include=include 3924 am__quote= 3925 _am_result=GNU 3926fi 3927# Now try BSD make style include. 3928if test "$am__include" = "#"; then 3929 echo '.include "confinc"' > confmf 3930 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 3931 am__include=.include 3932 am__quote="\"" 3933 _am_result=BSD 3934 fi 3935fi 3936 3937 3938{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5 3939$as_echo "$_am_result" >&6; } 3940rm -f confinc confmf 3941 3942# Check whether --enable-dependency-tracking was given. 3943if test "${enable_dependency_tracking+set}" = set; then 3944 enableval=$enable_dependency_tracking; 3945fi 3946 3947if test "x$enable_dependency_tracking" != xno; then 3948 am_depcomp="$ac_aux_dir/depcomp" 3949 AMDEPBACKSLASH='\' 3950fi 3951 if test "x$enable_dependency_tracking" != xno; then 3952 AMDEP_TRUE= 3953 AMDEP_FALSE='#' 3954else 3955 AMDEP_TRUE='#' 3956 AMDEP_FALSE= 3957fi 3958 3959 3960 3961depcc="$CC" am_compiler_list= 3962 3963{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3964$as_echo_n "checking dependency style of $depcc... " >&6; } 3965if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3966 $as_echo_n "(cached) " >&6 3967else 3968 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3969 # We make a subdir and do the tests there. Otherwise we can end up 3970 # making bogus files that we don't know about and never remove. For 3971 # instance it was reported that on HP-UX the gcc test will end up 3972 # making a dummy file named `D' -- because `-MD' means `put the output 3973 # in D'. 3974 mkdir conftest.dir 3975 # Copy depcomp to subdir because otherwise we won't find it if we're 3976 # using a relative directory. 3977 cp "$am_depcomp" conftest.dir 3978 cd conftest.dir 3979 # We will build objects and dependencies in a subdirectory because 3980 # it helps to detect inapplicable dependency modes. For instance 3981 # both Tru64's cc and ICC support -MD to output dependencies as a 3982 # side effect of compilation, but ICC will put the dependencies in 3983 # the current directory while Tru64 will put them in the object 3984 # directory. 3985 mkdir sub 3986 3987 am_cv_CC_dependencies_compiler_type=none 3988 if test "$am_compiler_list" = ""; then 3989 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3990 fi 3991 for depmode in $am_compiler_list; do 3992 # Setup a source with many dependencies, because some compilers 3993 # like to wrap large dependency lists on column 80 (with \), and 3994 # we should not choose a depcomp mode which is confused by this. 3995 # 3996 # We need to recreate these files for each test, as the compiler may 3997 # overwrite some of them when testing with obscure command lines. 3998 # This happens at least with the AIX C compiler. 3999 : > sub/conftest.c 4000 for i in 1 2 3 4 5 6; do 4001 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4002 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4003 # Solaris 8's {/usr,}/bin/sh. 4004 touch sub/conftst$i.h 4005 done 4006 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4007 4008 case $depmode in 4009 nosideeffect) 4010 # after this tag, mechanisms are not by side-effect, so they'll 4011 # only be used when explicitly requested 4012 if test "x$enable_dependency_tracking" = xyes; then 4013 continue 4014 else 4015 break 4016 fi 4017 ;; 4018 none) break ;; 4019 esac 4020 # We check with `-c' and `-o' for the sake of the "dashmstdout" 4021 # mode. It turns out that the SunPro C++ compiler does not properly 4022 # handle `-M -o', and we need to detect this. 4023 if depmode=$depmode \ 4024 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 4025 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4026 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 4027 >/dev/null 2>conftest.err && 4028 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4029 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4030 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 4031 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4032 # icc doesn't choke on unknown options, it will just issue warnings 4033 # or remarks (even with -Werror). So we grep stderr for any message 4034 # that says an option was ignored or not supported. 4035 # When given -MP, icc 7.0 and 7.1 complain thusly: 4036 # icc: Command line warning: ignoring option '-M'; no argument required 4037 # The diagnosis changed in icc 8.0: 4038 # icc: Command line remark: option '-MP' not supported 4039 if (grep 'ignoring option' conftest.err || 4040 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4041 am_cv_CC_dependencies_compiler_type=$depmode 4042 break 4043 fi 4044 fi 4045 done 4046 4047 cd .. 4048 rm -rf conftest.dir 4049else 4050 am_cv_CC_dependencies_compiler_type=none 4051fi 4052 4053fi 4054{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 4055$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4056CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4057 4058 if 4059 test "x$enable_dependency_tracking" != xno \ 4060 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4061 am__fastdepCC_TRUE= 4062 am__fastdepCC_FALSE='#' 4063else 4064 am__fastdepCC_TRUE='#' 4065 am__fastdepCC_FALSE= 4066fi 4067 4068 4069case `pwd` in 4070 *\ * | *\ *) 4071 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4072$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4073esac 4074 4075 4076 4077macro_version='2.2.6' 4078macro_revision='1.3012' 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092ltmain="$ac_aux_dir/ltmain.sh" 4093 4094# Make sure we can run config.sub. 4095$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4096 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 4097$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 4098 { (exit 1); exit 1; }; } 4099 4100{ $as_echo "$as_me:$LINENO: checking build system type" >&5 4101$as_echo_n "checking build system type... " >&6; } 4102if test "${ac_cv_build+set}" = set; then 4103 $as_echo_n "(cached) " >&6 4104else 4105 ac_build_alias=$build_alias 4106test "x$ac_build_alias" = x && 4107 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4108test "x$ac_build_alias" = x && 4109 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 4110$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 4111 { (exit 1); exit 1; }; } 4112ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4113 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 4114$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 4115 { (exit 1); exit 1; }; } 4116 4117fi 4118{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 4119$as_echo "$ac_cv_build" >&6; } 4120case $ac_cv_build in 4121*-*-*) ;; 4122*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 4123$as_echo "$as_me: error: invalid value of canonical build" >&2;} 4124 { (exit 1); exit 1; }; };; 4125esac 4126build=$ac_cv_build 4127ac_save_IFS=$IFS; IFS='-' 4128set x $ac_cv_build 4129shift 4130build_cpu=$1 4131build_vendor=$2 4132shift; shift 4133# Remember, the first character of IFS is used to create $*, 4134# except with old shells: 4135build_os=$* 4136IFS=$ac_save_IFS 4137case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4138 4139 4140{ $as_echo "$as_me:$LINENO: checking host system type" >&5 4141$as_echo_n "checking host system type... " >&6; } 4142if test "${ac_cv_host+set}" = set; then 4143 $as_echo_n "(cached) " >&6 4144else 4145 if test "x$host_alias" = x; then 4146 ac_cv_host=$ac_cv_build 4147else 4148 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4149 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 4150$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 4151 { (exit 1); exit 1; }; } 4152fi 4153 4154fi 4155{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 4156$as_echo "$ac_cv_host" >&6; } 4157case $ac_cv_host in 4158*-*-*) ;; 4159*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 4160$as_echo "$as_me: error: invalid value of canonical host" >&2;} 4161 { (exit 1); exit 1; }; };; 4162esac 4163host=$ac_cv_host 4164ac_save_IFS=$IFS; IFS='-' 4165set x $ac_cv_host 4166shift 4167host_cpu=$1 4168host_vendor=$2 4169shift; shift 4170# Remember, the first character of IFS is used to create $*, 4171# except with old shells: 4172host_os=$* 4173IFS=$ac_save_IFS 4174case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4175 4176 4177{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 4178$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4179if test "${ac_cv_path_SED+set}" = set; then 4180 $as_echo_n "(cached) " >&6 4181else 4182 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4183 for ac_i in 1 2 3 4 5 6 7; do 4184 ac_script="$ac_script$as_nl$ac_script" 4185 done 4186 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4187 $as_unset ac_script || ac_script= 4188 if test -z "$SED"; then 4189 ac_path_SED_found=false 4190 # Loop through the user's path and test for each of PROGNAME-LIST 4191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4192for as_dir in $PATH 4193do 4194 IFS=$as_save_IFS 4195 test -z "$as_dir" && as_dir=. 4196 for ac_prog in sed gsed; do 4197 for ac_exec_ext in '' $ac_executable_extensions; do 4198 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4199 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 4200# Check for GNU ac_path_SED and select it if it is found. 4201 # Check for GNU $ac_path_SED 4202case `"$ac_path_SED" --version 2>&1` in 4203*GNU*) 4204 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4205*) 4206 ac_count=0 4207 $as_echo_n 0123456789 >"conftest.in" 4208 while : 4209 do 4210 cat "conftest.in" "conftest.in" >"conftest.tmp" 4211 mv "conftest.tmp" "conftest.in" 4212 cp "conftest.in" "conftest.nl" 4213 $as_echo '' >> "conftest.nl" 4214 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4215 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4216 ac_count=`expr $ac_count + 1` 4217 if test $ac_count -gt ${ac_path_SED_max-0}; then 4218 # Best one so far, save it but keep looking for a better one 4219 ac_cv_path_SED="$ac_path_SED" 4220 ac_path_SED_max=$ac_count 4221 fi 4222 # 10*(2^10) chars as input seems more than enough 4223 test $ac_count -gt 10 && break 4224 done 4225 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4226esac 4227 4228 $ac_path_SED_found && break 3 4229 done 4230 done 4231done 4232IFS=$as_save_IFS 4233 if test -z "$ac_cv_path_SED"; then 4234 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5 4235$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;} 4236 { (exit 1); exit 1; }; } 4237 fi 4238else 4239 ac_cv_path_SED=$SED 4240fi 4241 4242fi 4243{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5 4244$as_echo "$ac_cv_path_SED" >&6; } 4245 SED="$ac_cv_path_SED" 4246 rm -f conftest.sed 4247 4248test -z "$SED" && SED=sed 4249Xsed="$SED -e 1s/^X//" 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4262$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4263if test "${ac_cv_path_GREP+set}" = set; then 4264 $as_echo_n "(cached) " >&6 4265else 4266 if test -z "$GREP"; then 4267 ac_path_GREP_found=false 4268 # Loop through the user's path and test for each of PROGNAME-LIST 4269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4270for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4271do 4272 IFS=$as_save_IFS 4273 test -z "$as_dir" && as_dir=. 4274 for ac_prog in grep ggrep; do 4275 for ac_exec_ext in '' $ac_executable_extensions; do 4276 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4277 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4278# Check for GNU ac_path_GREP and select it if it is found. 4279 # Check for GNU $ac_path_GREP 4280case `"$ac_path_GREP" --version 2>&1` in 4281*GNU*) 4282 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4283*) 4284 ac_count=0 4285 $as_echo_n 0123456789 >"conftest.in" 4286 while : 4287 do 4288 cat "conftest.in" "conftest.in" >"conftest.tmp" 4289 mv "conftest.tmp" "conftest.in" 4290 cp "conftest.in" "conftest.nl" 4291 $as_echo 'GREP' >> "conftest.nl" 4292 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4293 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4294 ac_count=`expr $ac_count + 1` 4295 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4296 # Best one so far, save it but keep looking for a better one 4297 ac_cv_path_GREP="$ac_path_GREP" 4298 ac_path_GREP_max=$ac_count 4299 fi 4300 # 10*(2^10) chars as input seems more than enough 4301 test $ac_count -gt 10 && break 4302 done 4303 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4304esac 4305 4306 $ac_path_GREP_found && break 3 4307 done 4308 done 4309done 4310IFS=$as_save_IFS 4311 if test -z "$ac_cv_path_GREP"; then 4312 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4313$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4314 { (exit 1); exit 1; }; } 4315 fi 4316else 4317 ac_cv_path_GREP=$GREP 4318fi 4319 4320fi 4321{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4322$as_echo "$ac_cv_path_GREP" >&6; } 4323 GREP="$ac_cv_path_GREP" 4324 4325 4326{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 4327$as_echo_n "checking for egrep... " >&6; } 4328if test "${ac_cv_path_EGREP+set}" = set; then 4329 $as_echo_n "(cached) " >&6 4330else 4331 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4332 then ac_cv_path_EGREP="$GREP -E" 4333 else 4334 if test -z "$EGREP"; then 4335 ac_path_EGREP_found=false 4336 # Loop through the user's path and test for each of PROGNAME-LIST 4337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4338for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4339do 4340 IFS=$as_save_IFS 4341 test -z "$as_dir" && as_dir=. 4342 for ac_prog in egrep; do 4343 for ac_exec_ext in '' $ac_executable_extensions; do 4344 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4345 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4346# Check for GNU ac_path_EGREP and select it if it is found. 4347 # Check for GNU $ac_path_EGREP 4348case `"$ac_path_EGREP" --version 2>&1` in 4349*GNU*) 4350 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4351*) 4352 ac_count=0 4353 $as_echo_n 0123456789 >"conftest.in" 4354 while : 4355 do 4356 cat "conftest.in" "conftest.in" >"conftest.tmp" 4357 mv "conftest.tmp" "conftest.in" 4358 cp "conftest.in" "conftest.nl" 4359 $as_echo 'EGREP' >> "conftest.nl" 4360 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4361 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4362 ac_count=`expr $ac_count + 1` 4363 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4364 # Best one so far, save it but keep looking for a better one 4365 ac_cv_path_EGREP="$ac_path_EGREP" 4366 ac_path_EGREP_max=$ac_count 4367 fi 4368 # 10*(2^10) chars as input seems more than enough 4369 test $ac_count -gt 10 && break 4370 done 4371 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4372esac 4373 4374 $ac_path_EGREP_found && break 3 4375 done 4376 done 4377done 4378IFS=$as_save_IFS 4379 if test -z "$ac_cv_path_EGREP"; then 4380 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4381$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4382 { (exit 1); exit 1; }; } 4383 fi 4384else 4385 ac_cv_path_EGREP=$EGREP 4386fi 4387 4388 fi 4389fi 4390{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4391$as_echo "$ac_cv_path_EGREP" >&6; } 4392 EGREP="$ac_cv_path_EGREP" 4393 4394 4395{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5 4396$as_echo_n "checking for fgrep... " >&6; } 4397if test "${ac_cv_path_FGREP+set}" = set; then 4398 $as_echo_n "(cached) " >&6 4399else 4400 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4401 then ac_cv_path_FGREP="$GREP -F" 4402 else 4403 if test -z "$FGREP"; then 4404 ac_path_FGREP_found=false 4405 # Loop through the user's path and test for each of PROGNAME-LIST 4406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4407for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4408do 4409 IFS=$as_save_IFS 4410 test -z "$as_dir" && as_dir=. 4411 for ac_prog in fgrep; do 4412 for ac_exec_ext in '' $ac_executable_extensions; do 4413 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4414 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 4415# Check for GNU ac_path_FGREP and select it if it is found. 4416 # Check for GNU $ac_path_FGREP 4417case `"$ac_path_FGREP" --version 2>&1` in 4418*GNU*) 4419 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4420*) 4421 ac_count=0 4422 $as_echo_n 0123456789 >"conftest.in" 4423 while : 4424 do 4425 cat "conftest.in" "conftest.in" >"conftest.tmp" 4426 mv "conftest.tmp" "conftest.in" 4427 cp "conftest.in" "conftest.nl" 4428 $as_echo 'FGREP' >> "conftest.nl" 4429 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4430 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4431 ac_count=`expr $ac_count + 1` 4432 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4433 # Best one so far, save it but keep looking for a better one 4434 ac_cv_path_FGREP="$ac_path_FGREP" 4435 ac_path_FGREP_max=$ac_count 4436 fi 4437 # 10*(2^10) chars as input seems more than enough 4438 test $ac_count -gt 10 && break 4439 done 4440 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4441esac 4442 4443 $ac_path_FGREP_found && break 3 4444 done 4445 done 4446done 4447IFS=$as_save_IFS 4448 if test -z "$ac_cv_path_FGREP"; then 4449 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4450$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4451 { (exit 1); exit 1; }; } 4452 fi 4453else 4454 ac_cv_path_FGREP=$FGREP 4455fi 4456 4457 fi 4458fi 4459{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5 4460$as_echo "$ac_cv_path_FGREP" >&6; } 4461 FGREP="$ac_cv_path_FGREP" 4462 4463 4464test -z "$GREP" && GREP=grep 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484# Check whether --with-gnu-ld was given. 4485if test "${with_gnu_ld+set}" = set; then 4486 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4487else 4488 with_gnu_ld=no 4489fi 4490 4491ac_prog=ld 4492if test "$GCC" = yes; then 4493 # Check if gcc -print-prog-name=ld gives a path. 4494 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5 4495$as_echo_n "checking for ld used by $CC... " >&6; } 4496 case $host in 4497 *-*-mingw*) 4498 # gcc leaves a trailing carriage return which upsets mingw 4499 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4500 *) 4501 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4502 esac 4503 case $ac_prog in 4504 # Accept absolute paths. 4505 [\\/]* | ?:[\\/]*) 4506 re_direlt='/[^/][^/]*/\.\./' 4507 # Canonicalize the pathname of ld 4508 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4509 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4510 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4511 done 4512 test -z "$LD" && LD="$ac_prog" 4513 ;; 4514 "") 4515 # If it fails, then pretend we aren't using GCC. 4516 ac_prog=ld 4517 ;; 4518 *) 4519 # If it is relative, then search for the first ld in PATH. 4520 with_gnu_ld=unknown 4521 ;; 4522 esac 4523elif test "$with_gnu_ld" = yes; then 4524 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 4525$as_echo_n "checking for GNU ld... " >&6; } 4526else 4527 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 4528$as_echo_n "checking for non-GNU ld... " >&6; } 4529fi 4530if test "${lt_cv_path_LD+set}" = set; then 4531 $as_echo_n "(cached) " >&6 4532else 4533 if test -z "$LD"; then 4534 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4535 for ac_dir in $PATH; do 4536 IFS="$lt_save_ifs" 4537 test -z "$ac_dir" && ac_dir=. 4538 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4539 lt_cv_path_LD="$ac_dir/$ac_prog" 4540 # Check to see if the program is GNU ld. I'd rather use --version, 4541 # but apparently some variants of GNU ld only accept -v. 4542 # Break only if it was the GNU/non-GNU ld that we prefer. 4543 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4544 *GNU* | *'with BFD'*) 4545 test "$with_gnu_ld" != no && break 4546 ;; 4547 *) 4548 test "$with_gnu_ld" != yes && break 4549 ;; 4550 esac 4551 fi 4552 done 4553 IFS="$lt_save_ifs" 4554else 4555 lt_cv_path_LD="$LD" # Let the user override the test with a path. 4556fi 4557fi 4558 4559LD="$lt_cv_path_LD" 4560if test -n "$LD"; then 4561 { $as_echo "$as_me:$LINENO: result: $LD" >&5 4562$as_echo "$LD" >&6; } 4563else 4564 { $as_echo "$as_me:$LINENO: result: no" >&5 4565$as_echo "no" >&6; } 4566fi 4567test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 4568$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 4569 { (exit 1); exit 1; }; } 4570{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 4571$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4572if test "${lt_cv_prog_gnu_ld+set}" = set; then 4573 $as_echo_n "(cached) " >&6 4574else 4575 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4576case `$LD -v 2>&1 </dev/null` in 4577*GNU* | *'with BFD'*) 4578 lt_cv_prog_gnu_ld=yes 4579 ;; 4580*) 4581 lt_cv_prog_gnu_ld=no 4582 ;; 4583esac 4584fi 4585{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 4586$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4587with_gnu_ld=$lt_cv_prog_gnu_ld 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5 4598$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4599if test "${lt_cv_path_NM+set}" = set; then 4600 $as_echo_n "(cached) " >&6 4601else 4602 if test -n "$NM"; then 4603 # Let the user override the test. 4604 lt_cv_path_NM="$NM" 4605else 4606 lt_nm_to_check="${ac_tool_prefix}nm" 4607 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4608 lt_nm_to_check="$lt_nm_to_check nm" 4609 fi 4610 for lt_tmp_nm in $lt_nm_to_check; do 4611 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4612 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4613 IFS="$lt_save_ifs" 4614 test -z "$ac_dir" && ac_dir=. 4615 tmp_nm="$ac_dir/$lt_tmp_nm" 4616 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 4617 # Check to see if the nm accepts a BSD-compat flag. 4618 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 4619 # nm: unknown option "B" ignored 4620 # Tru64's nm complains that /dev/null is an invalid object file 4621 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 4622 */dev/null* | *'Invalid file or object type'*) 4623 lt_cv_path_NM="$tmp_nm -B" 4624 break 4625 ;; 4626 *) 4627 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4628 */dev/null*) 4629 lt_cv_path_NM="$tmp_nm -p" 4630 break 4631 ;; 4632 *) 4633 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4634 continue # so that we can try to find one that supports BSD flags 4635 ;; 4636 esac 4637 ;; 4638 esac 4639 fi 4640 done 4641 IFS="$lt_save_ifs" 4642 done 4643 : ${lt_cv_path_NM=no} 4644fi 4645fi 4646{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 4647$as_echo "$lt_cv_path_NM" >&6; } 4648if test "$lt_cv_path_NM" != "no"; then 4649 NM="$lt_cv_path_NM" 4650else 4651 # Didn't find any BSD compatible name lister, look for dumpbin. 4652 if test -n "$ac_tool_prefix"; then 4653 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 4654 do 4655 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4656set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4657{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4658$as_echo_n "checking for $ac_word... " >&6; } 4659if test "${ac_cv_prog_DUMPBIN+set}" = set; then 4660 $as_echo_n "(cached) " >&6 4661else 4662 if test -n "$DUMPBIN"; then 4663 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4664else 4665as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4666for as_dir in $PATH 4667do 4668 IFS=$as_save_IFS 4669 test -z "$as_dir" && as_dir=. 4670 for ac_exec_ext in '' $ac_executable_extensions; do 4671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4672 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4673 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4674 break 2 4675 fi 4676done 4677done 4678IFS=$as_save_IFS 4679 4680fi 4681fi 4682DUMPBIN=$ac_cv_prog_DUMPBIN 4683if test -n "$DUMPBIN"; then 4684 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5 4685$as_echo "$DUMPBIN" >&6; } 4686else 4687 { $as_echo "$as_me:$LINENO: result: no" >&5 4688$as_echo "no" >&6; } 4689fi 4690 4691 4692 test -n "$DUMPBIN" && break 4693 done 4694fi 4695if test -z "$DUMPBIN"; then 4696 ac_ct_DUMPBIN=$DUMPBIN 4697 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 4698do 4699 # Extract the first word of "$ac_prog", so it can be a program name with args. 4700set dummy $ac_prog; ac_word=$2 4701{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4702$as_echo_n "checking for $ac_word... " >&6; } 4703if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then 4704 $as_echo_n "(cached) " >&6 4705else 4706 if test -n "$ac_ct_DUMPBIN"; then 4707 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4708else 4709as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4710for as_dir in $PATH 4711do 4712 IFS=$as_save_IFS 4713 test -z "$as_dir" && as_dir=. 4714 for ac_exec_ext in '' $ac_executable_extensions; do 4715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4716 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4717 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4718 break 2 4719 fi 4720done 4721done 4722IFS=$as_save_IFS 4723 4724fi 4725fi 4726ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4727if test -n "$ac_ct_DUMPBIN"; then 4728 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5 4729$as_echo "$ac_ct_DUMPBIN" >&6; } 4730else 4731 { $as_echo "$as_me:$LINENO: result: no" >&5 4732$as_echo "no" >&6; } 4733fi 4734 4735 4736 test -n "$ac_ct_DUMPBIN" && break 4737done 4738 4739 if test "x$ac_ct_DUMPBIN" = x; then 4740 DUMPBIN=":" 4741 else 4742 case $cross_compiling:$ac_tool_warned in 4743yes:) 4744{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 4745$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4746ac_tool_warned=yes ;; 4747esac 4748 DUMPBIN=$ac_ct_DUMPBIN 4749 fi 4750fi 4751 4752 4753 if test "$DUMPBIN" != ":"; then 4754 NM="$DUMPBIN" 4755 fi 4756fi 4757test -z "$NM" && NM=nm 4758 4759 4760 4761 4762 4763 4764{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5 4765$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4766if test "${lt_cv_nm_interface+set}" = set; then 4767 $as_echo_n "(cached) " >&6 4768else 4769 lt_cv_nm_interface="BSD nm" 4770 echo "int some_variable = 0;" > conftest.$ac_ext 4771 (eval echo "\"\$as_me:4771: $ac_compile\"" >&5) 4772 (eval "$ac_compile" 2>conftest.err) 4773 cat conftest.err >&5 4774 (eval echo "\"\$as_me:4774: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4775 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4776 cat conftest.err >&5 4777 (eval echo "\"\$as_me:4777: output\"" >&5) 4778 cat conftest.out >&5 4779 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4780 lt_cv_nm_interface="MS dumpbin" 4781 fi 4782 rm -f conftest* 4783fi 4784{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5 4785$as_echo "$lt_cv_nm_interface" >&6; } 4786 4787{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 4788$as_echo_n "checking whether ln -s works... " >&6; } 4789LN_S=$as_ln_s 4790if test "$LN_S" = "ln -s"; then 4791 { $as_echo "$as_me:$LINENO: result: yes" >&5 4792$as_echo "yes" >&6; } 4793else 4794 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 4795$as_echo "no, using $LN_S" >&6; } 4796fi 4797 4798# find the maximum length of command line arguments 4799{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 4800$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4801if test "${lt_cv_sys_max_cmd_len+set}" = set; then 4802 $as_echo_n "(cached) " >&6 4803else 4804 i=0 4805 teststring="ABCD" 4806 4807 case $build_os in 4808 msdosdjgpp*) 4809 # On DJGPP, this test can blow up pretty badly due to problems in libc 4810 # (any single argument exceeding 2000 bytes causes a buffer overrun 4811 # during glob expansion). Even if it were fixed, the result of this 4812 # check would be larger than it should be. 4813 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4814 ;; 4815 4816 gnu*) 4817 # Under GNU Hurd, this test is not required because there is 4818 # no limit to the length of command line arguments. 4819 # Libtool will interpret -1 as no limit whatsoever 4820 lt_cv_sys_max_cmd_len=-1; 4821 ;; 4822 4823 cygwin* | mingw* | cegcc*) 4824 # On Win9x/ME, this test blows up -- it succeeds, but takes 4825 # about 5 minutes as the teststring grows exponentially. 4826 # Worse, since 9x/ME are not pre-emptively multitasking, 4827 # you end up with a "frozen" computer, even though with patience 4828 # the test eventually succeeds (with a max line length of 256k). 4829 # Instead, let's just punt: use the minimum linelength reported by 4830 # all of the supported platforms: 8192 (on NT/2K/XP). 4831 lt_cv_sys_max_cmd_len=8192; 4832 ;; 4833 4834 amigaos*) 4835 # On AmigaOS with pdksh, this test takes hours, literally. 4836 # So we just punt and use a minimum line length of 8192. 4837 lt_cv_sys_max_cmd_len=8192; 4838 ;; 4839 4840 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 4841 # This has been around since 386BSD, at least. Likely further. 4842 if test -x /sbin/sysctl; then 4843 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4844 elif test -x /usr/sbin/sysctl; then 4845 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4846 else 4847 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4848 fi 4849 # And add a safety zone 4850 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4851 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4852 ;; 4853 4854 interix*) 4855 # We know the value 262144 and hardcode it with a safety zone (like BSD) 4856 lt_cv_sys_max_cmd_len=196608 4857 ;; 4858 4859 osf*) 4860 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 4861 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 4862 # nice to cause kernel panics so lets avoid the loop below. 4863 # First set a reasonable default. 4864 lt_cv_sys_max_cmd_len=16384 4865 # 4866 if test -x /sbin/sysconfig; then 4867 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 4868 *1*) lt_cv_sys_max_cmd_len=-1 ;; 4869 esac 4870 fi 4871 ;; 4872 sco3.2v5*) 4873 lt_cv_sys_max_cmd_len=102400 4874 ;; 4875 sysv5* | sco5v6* | sysv4.2uw2*) 4876 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 4877 if test -n "$kargmax"; then 4878 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 4879 else 4880 lt_cv_sys_max_cmd_len=32768 4881 fi 4882 ;; 4883 *) 4884 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 4885 if test -n "$lt_cv_sys_max_cmd_len"; then 4886 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4887 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4888 else 4889 # Make teststring a little bigger before we do anything with it. 4890 # a 1K string should be a reasonable start. 4891 for i in 1 2 3 4 5 6 7 8 ; do 4892 teststring=$teststring$teststring 4893 done 4894 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 4895 # If test is not a shell built-in, we'll probably end up computing a 4896 # maximum length that is only half of the actual maximum length, but 4897 # we can't tell. 4898 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ 4899 = "XX$teststring$teststring"; } >/dev/null 2>&1 && 4900 test $i != 17 # 1/2 MB should be enough 4901 do 4902 i=`expr $i + 1` 4903 teststring=$teststring$teststring 4904 done 4905 # Only check the string length outside the loop. 4906 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 4907 teststring= 4908 # Add a significant safety factor because C++ compilers can tack on 4909 # massive amounts of additional arguments before passing them to the 4910 # linker. It appears as though 1/2 is a usable value. 4911 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 4912 fi 4913 ;; 4914 esac 4915 4916fi 4917 4918if test -n $lt_cv_sys_max_cmd_len ; then 4919 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 4920$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 4921else 4922 { $as_echo "$as_me:$LINENO: result: none" >&5 4923$as_echo "none" >&6; } 4924fi 4925max_cmd_len=$lt_cv_sys_max_cmd_len 4926 4927 4928 4929 4930 4931 4932: ${CP="cp -f"} 4933: ${MV="mv -f"} 4934: ${RM="rm -f"} 4935 4936{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5 4937$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 4938# Try some XSI features 4939xsi_shell=no 4940( _lt_dummy="a/b/c" 4941 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ 4942 = c,a/b,, \ 4943 && eval 'test $(( 1 + 1 )) -eq 2 \ 4944 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 4945 && xsi_shell=yes 4946{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5 4947$as_echo "$xsi_shell" >&6; } 4948 4949 4950{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5 4951$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 4952lt_shell_append=no 4953( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 4954 >/dev/null 2>&1 \ 4955 && lt_shell_append=yes 4956{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5 4957$as_echo "$lt_shell_append" >&6; } 4958 4959 4960if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4961 lt_unset=unset 4962else 4963 lt_unset=false 4964fi 4965 4966 4967 4968 4969 4970# test EBCDIC or ASCII 4971case `echo X|tr X '\101'` in 4972 A) # ASCII based system 4973 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 4974 lt_SP2NL='tr \040 \012' 4975 lt_NL2SP='tr \015\012 \040\040' 4976 ;; 4977 *) # EBCDIC based system 4978 lt_SP2NL='tr \100 \n' 4979 lt_NL2SP='tr \r\n \100\100' 4980 ;; 4981esac 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 4992$as_echo_n "checking for $LD option to reload object files... " >&6; } 4993if test "${lt_cv_ld_reload_flag+set}" = set; then 4994 $as_echo_n "(cached) " >&6 4995else 4996 lt_cv_ld_reload_flag='-r' 4997fi 4998{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 4999$as_echo "$lt_cv_ld_reload_flag" >&6; } 5000reload_flag=$lt_cv_ld_reload_flag 5001case $reload_flag in 5002"" | " "*) ;; 5003*) reload_flag=" $reload_flag" ;; 5004esac 5005reload_cmds='$LD$reload_flag -o $output$reload_objs' 5006case $host_os in 5007 darwin*) 5008 if test "$GCC" = yes; then 5009 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5010 else 5011 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5012 fi 5013 ;; 5014esac 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024if test -n "$ac_tool_prefix"; then 5025 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5026set dummy ${ac_tool_prefix}objdump; ac_word=$2 5027{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5028$as_echo_n "checking for $ac_word... " >&6; } 5029if test "${ac_cv_prog_OBJDUMP+set}" = set; then 5030 $as_echo_n "(cached) " >&6 5031else 5032 if test -n "$OBJDUMP"; then 5033 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5034else 5035as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5036for as_dir in $PATH 5037do 5038 IFS=$as_save_IFS 5039 test -z "$as_dir" && as_dir=. 5040 for ac_exec_ext in '' $ac_executable_extensions; do 5041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5042 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5043 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5044 break 2 5045 fi 5046done 5047done 5048IFS=$as_save_IFS 5049 5050fi 5051fi 5052OBJDUMP=$ac_cv_prog_OBJDUMP 5053if test -n "$OBJDUMP"; then 5054 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5 5055$as_echo "$OBJDUMP" >&6; } 5056else 5057 { $as_echo "$as_me:$LINENO: result: no" >&5 5058$as_echo "no" >&6; } 5059fi 5060 5061 5062fi 5063if test -z "$ac_cv_prog_OBJDUMP"; then 5064 ac_ct_OBJDUMP=$OBJDUMP 5065 # Extract the first word of "objdump", so it can be a program name with args. 5066set dummy objdump; ac_word=$2 5067{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5068$as_echo_n "checking for $ac_word... " >&6; } 5069if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then 5070 $as_echo_n "(cached) " >&6 5071else 5072 if test -n "$ac_ct_OBJDUMP"; then 5073 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5074else 5075as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5076for as_dir in $PATH 5077do 5078 IFS=$as_save_IFS 5079 test -z "$as_dir" && as_dir=. 5080 for ac_exec_ext in '' $ac_executable_extensions; do 5081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5082 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5083 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5084 break 2 5085 fi 5086done 5087done 5088IFS=$as_save_IFS 5089 5090fi 5091fi 5092ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5093if test -n "$ac_ct_OBJDUMP"; then 5094 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 5095$as_echo "$ac_ct_OBJDUMP" >&6; } 5096else 5097 { $as_echo "$as_me:$LINENO: result: no" >&5 5098$as_echo "no" >&6; } 5099fi 5100 5101 if test "x$ac_ct_OBJDUMP" = x; then 5102 OBJDUMP="false" 5103 else 5104 case $cross_compiling:$ac_tool_warned in 5105yes:) 5106{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 5107$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5108ac_tool_warned=yes ;; 5109esac 5110 OBJDUMP=$ac_ct_OBJDUMP 5111 fi 5112else 5113 OBJDUMP="$ac_cv_prog_OBJDUMP" 5114fi 5115 5116test -z "$OBJDUMP" && OBJDUMP=objdump 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 5127$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5128if test "${lt_cv_deplibs_check_method+set}" = set; then 5129 $as_echo_n "(cached) " >&6 5130else 5131 lt_cv_file_magic_cmd='$MAGIC_CMD' 5132lt_cv_file_magic_test_file= 5133lt_cv_deplibs_check_method='unknown' 5134# Need to set the preceding variable on all platforms that support 5135# interlibrary dependencies. 5136# 'none' -- dependencies not supported. 5137# `unknown' -- same as none, but documents that we really don't know. 5138# 'pass_all' -- all dependencies passed with no checks. 5139# 'test_compile' -- check by making test program. 5140# 'file_magic [[regex]]' -- check by looking for files in library path 5141# which responds to the $file_magic_cmd with a given extended regex. 5142# If you have `file' or equivalent on your system and you're not sure 5143# whether `pass_all' will *always* work, you probably want this one. 5144 5145case $host_os in 5146aix[4-9]*) 5147 lt_cv_deplibs_check_method=pass_all 5148 ;; 5149 5150beos*) 5151 lt_cv_deplibs_check_method=pass_all 5152 ;; 5153 5154bsdi[45]*) 5155 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5156 lt_cv_file_magic_cmd='/usr/bin/file -L' 5157 lt_cv_file_magic_test_file=/shlib/libc.so 5158 ;; 5159 5160cygwin*) 5161 # func_win32_libid is a shell function defined in ltmain.sh 5162 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5163 lt_cv_file_magic_cmd='func_win32_libid' 5164 ;; 5165 5166mingw* | pw32*) 5167 # Base MSYS/MinGW do not provide the 'file' command needed by 5168 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5169 # unless we find 'file', for example because we are cross-compiling. 5170 if ( file / ) >/dev/null 2>&1; then 5171 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5172 lt_cv_file_magic_cmd='func_win32_libid' 5173 else 5174 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 5175 lt_cv_file_magic_cmd='$OBJDUMP -f' 5176 fi 5177 ;; 5178 5179cegcc) 5180 # use the weaker test based on 'objdump'. See mingw*. 5181 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5182 lt_cv_file_magic_cmd='$OBJDUMP -f' 5183 ;; 5184 5185darwin* | rhapsody*) 5186 lt_cv_deplibs_check_method=pass_all 5187 ;; 5188 5189freebsd* | dragonfly*) 5190 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5191 case $host_cpu in 5192 i*86 ) 5193 # Not sure whether the presence of OpenBSD here was a mistake. 5194 # Let's accept both of them until this is cleared up. 5195 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5196 lt_cv_file_magic_cmd=/usr/bin/file 5197 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5198 ;; 5199 esac 5200 else 5201 lt_cv_deplibs_check_method=pass_all 5202 fi 5203 ;; 5204 5205gnu*) 5206 lt_cv_deplibs_check_method=pass_all 5207 ;; 5208 5209hpux10.20* | hpux11*) 5210 lt_cv_file_magic_cmd=/usr/bin/file 5211 case $host_cpu in 5212 ia64*) 5213 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5214 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5215 ;; 5216 hppa*64*) 5217 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' 5218 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5219 ;; 5220 *) 5221 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 5222 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5223 ;; 5224 esac 5225 ;; 5226 5227interix[3-9]*) 5228 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5229 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5230 ;; 5231 5232irix5* | irix6* | nonstopux*) 5233 case $LD in 5234 *-32|*"-32 ") libmagic=32-bit;; 5235 *-n32|*"-n32 ") libmagic=N32;; 5236 *-64|*"-64 ") libmagic=64-bit;; 5237 *) libmagic=never-match;; 5238 esac 5239 lt_cv_deplibs_check_method=pass_all 5240 ;; 5241 5242# This must be Linux ELF. 5243linux* | k*bsd*-gnu) 5244 lt_cv_deplibs_check_method=pass_all 5245 ;; 5246 5247netbsd* | netbsdelf*-gnu) 5248 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5249 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5250 else 5251 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5252 fi 5253 ;; 5254 5255newos6*) 5256 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5257 lt_cv_file_magic_cmd=/usr/bin/file 5258 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5259 ;; 5260 5261*nto* | *qnx*) 5262 lt_cv_deplibs_check_method=pass_all 5263 ;; 5264 5265openbsd*) 5266 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 5267 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5268 else 5269 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5270 fi 5271 ;; 5272 5273osf3* | osf4* | osf5*) 5274 lt_cv_deplibs_check_method=pass_all 5275 ;; 5276 5277rdos*) 5278 lt_cv_deplibs_check_method=pass_all 5279 ;; 5280 5281solaris*) 5282 lt_cv_deplibs_check_method=pass_all 5283 ;; 5284 5285sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5286 lt_cv_deplibs_check_method=pass_all 5287 ;; 5288 5289sysv4 | sysv4.3*) 5290 case $host_vendor in 5291 motorola) 5292 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]' 5293 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5294 ;; 5295 ncr) 5296 lt_cv_deplibs_check_method=pass_all 5297 ;; 5298 sequent) 5299 lt_cv_file_magic_cmd='/bin/file' 5300 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5301 ;; 5302 sni) 5303 lt_cv_file_magic_cmd='/bin/file' 5304 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5305 lt_cv_file_magic_test_file=/lib/libc.so 5306 ;; 5307 siemens) 5308 lt_cv_deplibs_check_method=pass_all 5309 ;; 5310 pc) 5311 lt_cv_deplibs_check_method=pass_all 5312 ;; 5313 esac 5314 ;; 5315 5316tpf*) 5317 lt_cv_deplibs_check_method=pass_all 5318 ;; 5319esac 5320 5321fi 5322{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 5323$as_echo "$lt_cv_deplibs_check_method" >&6; } 5324file_magic_cmd=$lt_cv_file_magic_cmd 5325deplibs_check_method=$lt_cv_deplibs_check_method 5326test -z "$deplibs_check_method" && deplibs_check_method=unknown 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339if test -n "$ac_tool_prefix"; then 5340 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 5341set dummy ${ac_tool_prefix}ar; ac_word=$2 5342{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5343$as_echo_n "checking for $ac_word... " >&6; } 5344if test "${ac_cv_prog_AR+set}" = set; then 5345 $as_echo_n "(cached) " >&6 5346else 5347 if test -n "$AR"; then 5348 ac_cv_prog_AR="$AR" # Let the user override the test. 5349else 5350as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5351for as_dir in $PATH 5352do 5353 IFS=$as_save_IFS 5354 test -z "$as_dir" && as_dir=. 5355 for ac_exec_ext in '' $ac_executable_extensions; do 5356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5357 ac_cv_prog_AR="${ac_tool_prefix}ar" 5358 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5359 break 2 5360 fi 5361done 5362done 5363IFS=$as_save_IFS 5364 5365fi 5366fi 5367AR=$ac_cv_prog_AR 5368if test -n "$AR"; then 5369 { $as_echo "$as_me:$LINENO: result: $AR" >&5 5370$as_echo "$AR" >&6; } 5371else 5372 { $as_echo "$as_me:$LINENO: result: no" >&5 5373$as_echo "no" >&6; } 5374fi 5375 5376 5377fi 5378if test -z "$ac_cv_prog_AR"; then 5379 ac_ct_AR=$AR 5380 # Extract the first word of "ar", so it can be a program name with args. 5381set dummy ar; ac_word=$2 5382{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5383$as_echo_n "checking for $ac_word... " >&6; } 5384if test "${ac_cv_prog_ac_ct_AR+set}" = set; then 5385 $as_echo_n "(cached) " >&6 5386else 5387 if test -n "$ac_ct_AR"; then 5388 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5389else 5390as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5391for as_dir in $PATH 5392do 5393 IFS=$as_save_IFS 5394 test -z "$as_dir" && as_dir=. 5395 for ac_exec_ext in '' $ac_executable_extensions; do 5396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5397 ac_cv_prog_ac_ct_AR="ar" 5398 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5399 break 2 5400 fi 5401done 5402done 5403IFS=$as_save_IFS 5404 5405fi 5406fi 5407ac_ct_AR=$ac_cv_prog_ac_ct_AR 5408if test -n "$ac_ct_AR"; then 5409 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 5410$as_echo "$ac_ct_AR" >&6; } 5411else 5412 { $as_echo "$as_me:$LINENO: result: no" >&5 5413$as_echo "no" >&6; } 5414fi 5415 5416 if test "x$ac_ct_AR" = x; then 5417 AR="false" 5418 else 5419 case $cross_compiling:$ac_tool_warned in 5420yes:) 5421{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 5422$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5423ac_tool_warned=yes ;; 5424esac 5425 AR=$ac_ct_AR 5426 fi 5427else 5428 AR="$ac_cv_prog_AR" 5429fi 5430 5431test -z "$AR" && AR=ar 5432test -z "$AR_FLAGS" && AR_FLAGS=cru 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444if test -n "$ac_tool_prefix"; then 5445 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5446set dummy ${ac_tool_prefix}strip; ac_word=$2 5447{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5448$as_echo_n "checking for $ac_word... " >&6; } 5449if test "${ac_cv_prog_STRIP+set}" = set; then 5450 $as_echo_n "(cached) " >&6 5451else 5452 if test -n "$STRIP"; then 5453 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5454else 5455as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5456for as_dir in $PATH 5457do 5458 IFS=$as_save_IFS 5459 test -z "$as_dir" && as_dir=. 5460 for ac_exec_ext in '' $ac_executable_extensions; do 5461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5462 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5463 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5464 break 2 5465 fi 5466done 5467done 5468IFS=$as_save_IFS 5469 5470fi 5471fi 5472STRIP=$ac_cv_prog_STRIP 5473if test -n "$STRIP"; then 5474 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 5475$as_echo "$STRIP" >&6; } 5476else 5477 { $as_echo "$as_me:$LINENO: result: no" >&5 5478$as_echo "no" >&6; } 5479fi 5480 5481 5482fi 5483if test -z "$ac_cv_prog_STRIP"; then 5484 ac_ct_STRIP=$STRIP 5485 # Extract the first word of "strip", so it can be a program name with args. 5486set dummy strip; ac_word=$2 5487{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5488$as_echo_n "checking for $ac_word... " >&6; } 5489if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 5490 $as_echo_n "(cached) " >&6 5491else 5492 if test -n "$ac_ct_STRIP"; then 5493 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5494else 5495as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5496for as_dir in $PATH 5497do 5498 IFS=$as_save_IFS 5499 test -z "$as_dir" && as_dir=. 5500 for ac_exec_ext in '' $ac_executable_extensions; do 5501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5502 ac_cv_prog_ac_ct_STRIP="strip" 5503 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5504 break 2 5505 fi 5506done 5507done 5508IFS=$as_save_IFS 5509 5510fi 5511fi 5512ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5513if test -n "$ac_ct_STRIP"; then 5514 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 5515$as_echo "$ac_ct_STRIP" >&6; } 5516else 5517 { $as_echo "$as_me:$LINENO: result: no" >&5 5518$as_echo "no" >&6; } 5519fi 5520 5521 if test "x$ac_ct_STRIP" = x; then 5522 STRIP=":" 5523 else 5524 case $cross_compiling:$ac_tool_warned in 5525yes:) 5526{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 5527$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5528ac_tool_warned=yes ;; 5529esac 5530 STRIP=$ac_ct_STRIP 5531 fi 5532else 5533 STRIP="$ac_cv_prog_STRIP" 5534fi 5535 5536test -z "$STRIP" && STRIP=: 5537 5538 5539 5540 5541 5542 5543if test -n "$ac_tool_prefix"; then 5544 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5545set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5546{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5547$as_echo_n "checking for $ac_word... " >&6; } 5548if test "${ac_cv_prog_RANLIB+set}" = set; then 5549 $as_echo_n "(cached) " >&6 5550else 5551 if test -n "$RANLIB"; then 5552 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5553else 5554as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5555for as_dir in $PATH 5556do 5557 IFS=$as_save_IFS 5558 test -z "$as_dir" && as_dir=. 5559 for ac_exec_ext in '' $ac_executable_extensions; do 5560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5561 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5562 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5563 break 2 5564 fi 5565done 5566done 5567IFS=$as_save_IFS 5568 5569fi 5570fi 5571RANLIB=$ac_cv_prog_RANLIB 5572if test -n "$RANLIB"; then 5573 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 5574$as_echo "$RANLIB" >&6; } 5575else 5576 { $as_echo "$as_me:$LINENO: result: no" >&5 5577$as_echo "no" >&6; } 5578fi 5579 5580 5581fi 5582if test -z "$ac_cv_prog_RANLIB"; then 5583 ac_ct_RANLIB=$RANLIB 5584 # Extract the first word of "ranlib", so it can be a program name with args. 5585set dummy ranlib; ac_word=$2 5586{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5587$as_echo_n "checking for $ac_word... " >&6; } 5588if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 5589 $as_echo_n "(cached) " >&6 5590else 5591 if test -n "$ac_ct_RANLIB"; then 5592 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5593else 5594as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5595for as_dir in $PATH 5596do 5597 IFS=$as_save_IFS 5598 test -z "$as_dir" && as_dir=. 5599 for ac_exec_ext in '' $ac_executable_extensions; do 5600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5601 ac_cv_prog_ac_ct_RANLIB="ranlib" 5602 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5603 break 2 5604 fi 5605done 5606done 5607IFS=$as_save_IFS 5608 5609fi 5610fi 5611ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5612if test -n "$ac_ct_RANLIB"; then 5613 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 5614$as_echo "$ac_ct_RANLIB" >&6; } 5615else 5616 { $as_echo "$as_me:$LINENO: result: no" >&5 5617$as_echo "no" >&6; } 5618fi 5619 5620 if test "x$ac_ct_RANLIB" = x; then 5621 RANLIB=":" 5622 else 5623 case $cross_compiling:$ac_tool_warned in 5624yes:) 5625{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 5626$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5627ac_tool_warned=yes ;; 5628esac 5629 RANLIB=$ac_ct_RANLIB 5630 fi 5631else 5632 RANLIB="$ac_cv_prog_RANLIB" 5633fi 5634 5635test -z "$RANLIB" && RANLIB=: 5636 5637 5638 5639 5640 5641 5642# Determine commands to create old-style static archives. 5643old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 5644old_postinstall_cmds='chmod 644 $oldlib' 5645old_postuninstall_cmds= 5646 5647if test -n "$RANLIB"; then 5648 case $host_os in 5649 openbsd*) 5650 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 5651 ;; 5652 *) 5653 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 5654 ;; 5655 esac 5656 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 5657fi 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692# If no C compiler was specified, use CC. 5693LTCC=${LTCC-"$CC"} 5694 5695# If no C compiler flags were specified, use CFLAGS. 5696LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 5697 5698# Allow CC to be a program name with arguments. 5699compiler=$CC 5700 5701 5702# Check for command to grab the raw symbol name followed by C symbol from nm. 5703{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 5704$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 5705if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then 5706 $as_echo_n "(cached) " >&6 5707else 5708 5709# These are sane defaults that work on at least a few old systems. 5710# [They come from Ultrix. What could be older than Ultrix?!! ;)] 5711 5712# Character class describing NM global symbol codes. 5713symcode='[BCDEGRST]' 5714 5715# Regexp to match symbols that can be accessed directly from C. 5716sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 5717 5718# Define system-specific variables. 5719case $host_os in 5720aix*) 5721 symcode='[BCDT]' 5722 ;; 5723cygwin* | mingw* | pw32* | cegcc*) 5724 symcode='[ABCDGISTW]' 5725 ;; 5726hpux*) 5727 if test "$host_cpu" = ia64; then 5728 symcode='[ABCDEGRST]' 5729 fi 5730 ;; 5731irix* | nonstopux*) 5732 symcode='[BCDEGRST]' 5733 ;; 5734osf*) 5735 symcode='[BCDEGQRST]' 5736 ;; 5737solaris*) 5738 symcode='[BDRT]' 5739 ;; 5740sco3.2v5*) 5741 symcode='[DT]' 5742 ;; 5743sysv4.2uw2*) 5744 symcode='[DT]' 5745 ;; 5746sysv5* | sco5v6* | unixware* | OpenUNIX*) 5747 symcode='[ABDT]' 5748 ;; 5749sysv4) 5750 symcode='[DFNSTU]' 5751 ;; 5752esac 5753 5754# If we're using GNU nm, then use its standard symbol codes. 5755case `$NM -V 2>&1` in 5756*GNU* | *'with BFD'*) 5757 symcode='[ABCDGIRSTW]' ;; 5758esac 5759 5760# Transform an extracted symbol line into a proper C declaration. 5761# Some systems (esp. on ia64) link data and code symbols differently, 5762# so use this general approach. 5763lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 5764 5765# Transform an extracted symbol line into symbol name and symbol address 5766lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 5767lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" 5768 5769# Handle CRLF in mingw tool chain 5770opt_cr= 5771case $build_os in 5772mingw*) 5773 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 5774 ;; 5775esac 5776 5777# Try without a prefix underscore, then with it. 5778for ac_symprfx in "" "_"; do 5779 5780 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 5781 symxfrm="\\1 $ac_symprfx\\2 \\2" 5782 5783 # Write the raw and C identifiers. 5784 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 5785 # Fake it for dumpbin and say T for any non-static function 5786 # and D for any global variable. 5787 # Also find C++ and __fastcall symbols from MSVC++, 5788 # which start with @ or ?. 5789 lt_cv_sys_global_symbol_pipe="$AWK '"\ 5790" {last_section=section; section=\$ 3};"\ 5791" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 5792" \$ 0!~/External *\|/{next};"\ 5793" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 5794" {if(hide[section]) next};"\ 5795" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 5796" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 5797" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 5798" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 5799" ' prfx=^$ac_symprfx" 5800 else 5801 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 5802 fi 5803 5804 # Check to see that the pipe works correctly. 5805 pipe_works=no 5806 5807 rm -f conftest* 5808 cat > conftest.$ac_ext <<_LT_EOF 5809#ifdef __cplusplus 5810extern "C" { 5811#endif 5812char nm_test_var; 5813void nm_test_func(void); 5814void nm_test_func(void){} 5815#ifdef __cplusplus 5816} 5817#endif 5818int main(){nm_test_var='a';nm_test_func();return(0);} 5819_LT_EOF 5820 5821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5822 (eval $ac_compile) 2>&5 5823 ac_status=$? 5824 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5825 (exit $ac_status); }; then 5826 # Now try to grab the symbols. 5827 nlist=conftest.nm 5828 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 5829 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 5830 ac_status=$? 5831 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5832 (exit $ac_status); } && test -s "$nlist"; then 5833 # Try sorting and uniquifying the output. 5834 if sort "$nlist" | uniq > "$nlist"T; then 5835 mv -f "$nlist"T "$nlist" 5836 else 5837 rm -f "$nlist"T 5838 fi 5839 5840 # Make sure that we snagged all the symbols we need. 5841 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 5842 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 5843 cat <<_LT_EOF > conftest.$ac_ext 5844#ifdef __cplusplus 5845extern "C" { 5846#endif 5847 5848_LT_EOF 5849 # Now generate the symbol file. 5850 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 5851 5852 cat <<_LT_EOF >> conftest.$ac_ext 5853 5854/* The mapping between symbol names and symbols. */ 5855const struct { 5856 const char *name; 5857 void *address; 5858} 5859lt__PROGRAM__LTX_preloaded_symbols[] = 5860{ 5861 { "@PROGRAM@", (void *) 0 }, 5862_LT_EOF 5863 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 5864 cat <<\_LT_EOF >> conftest.$ac_ext 5865 {0, (void *) 0} 5866}; 5867 5868/* This works around a problem in FreeBSD linker */ 5869#ifdef FREEBSD_WORKAROUND 5870static const void *lt_preloaded_setup() { 5871 return lt__PROGRAM__LTX_preloaded_symbols; 5872} 5873#endif 5874 5875#ifdef __cplusplus 5876} 5877#endif 5878_LT_EOF 5879 # Now try linking the two files. 5880 mv conftest.$ac_objext conftstm.$ac_objext 5881 lt_save_LIBS="$LIBS" 5882 lt_save_CFLAGS="$CFLAGS" 5883 LIBS="conftstm.$ac_objext" 5884 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 5885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5886 (eval $ac_link) 2>&5 5887 ac_status=$? 5888 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5889 (exit $ac_status); } && test -s conftest${ac_exeext}; then 5890 pipe_works=yes 5891 fi 5892 LIBS="$lt_save_LIBS" 5893 CFLAGS="$lt_save_CFLAGS" 5894 else 5895 echo "cannot find nm_test_func in $nlist" >&5 5896 fi 5897 else 5898 echo "cannot find nm_test_var in $nlist" >&5 5899 fi 5900 else 5901 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 5902 fi 5903 else 5904 echo "$progname: failed program was:" >&5 5905 cat conftest.$ac_ext >&5 5906 fi 5907 rm -rf conftest* conftst* 5908 5909 # Do not use the global_symbol_pipe unless it works. 5910 if test "$pipe_works" = yes; then 5911 break 5912 else 5913 lt_cv_sys_global_symbol_pipe= 5914 fi 5915done 5916 5917fi 5918 5919if test -z "$lt_cv_sys_global_symbol_pipe"; then 5920 lt_cv_sys_global_symbol_to_cdecl= 5921fi 5922if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 5923 { $as_echo "$as_me:$LINENO: result: failed" >&5 5924$as_echo "failed" >&6; } 5925else 5926 { $as_echo "$as_me:$LINENO: result: ok" >&5 5927$as_echo "ok" >&6; } 5928fi 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952# Check whether --enable-libtool-lock was given. 5953if test "${enable_libtool_lock+set}" = set; then 5954 enableval=$enable_libtool_lock; 5955fi 5956 5957test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 5958 5959# Some flags need to be propagated to the compiler or linker for good 5960# libtool support. 5961case $host in 5962ia64-*-hpux*) 5963 # Find out which ABI we are using. 5964 echo 'int i;' > conftest.$ac_ext 5965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5966 (eval $ac_compile) 2>&5 5967 ac_status=$? 5968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5969 (exit $ac_status); }; then 5970 case `/usr/bin/file conftest.$ac_objext` in 5971 *ELF-32*) 5972 HPUX_IA64_MODE="32" 5973 ;; 5974 *ELF-64*) 5975 HPUX_IA64_MODE="64" 5976 ;; 5977 esac 5978 fi 5979 rm -rf conftest* 5980 ;; 5981*-*-irix6*) 5982 # Find out which ABI we are using. 5983 echo '#line 5983 "configure"' > conftest.$ac_ext 5984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5985 (eval $ac_compile) 2>&5 5986 ac_status=$? 5987 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5988 (exit $ac_status); }; then 5989 if test "$lt_cv_prog_gnu_ld" = yes; then 5990 case `/usr/bin/file conftest.$ac_objext` in 5991 *32-bit*) 5992 LD="${LD-ld} -melf32bsmip" 5993 ;; 5994 *N32*) 5995 LD="${LD-ld} -melf32bmipn32" 5996 ;; 5997 *64-bit*) 5998 LD="${LD-ld} -melf64bmip" 5999 ;; 6000 esac 6001 else 6002 case `/usr/bin/file conftest.$ac_objext` in 6003 *32-bit*) 6004 LD="${LD-ld} -32" 6005 ;; 6006 *N32*) 6007 LD="${LD-ld} -n32" 6008 ;; 6009 *64-bit*) 6010 LD="${LD-ld} -64" 6011 ;; 6012 esac 6013 fi 6014 fi 6015 rm -rf conftest* 6016 ;; 6017 6018x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 6019s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6020 # Find out which ABI we are using. 6021 echo 'int i;' > conftest.$ac_ext 6022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6023 (eval $ac_compile) 2>&5 6024 ac_status=$? 6025 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6026 (exit $ac_status); }; then 6027 case `/usr/bin/file conftest.o` in 6028 *32-bit*) 6029 case $host in 6030 x86_64-*kfreebsd*-gnu) 6031 LD="${LD-ld} -m elf_i386_fbsd" 6032 ;; 6033 x86_64-*linux*) 6034 LD="${LD-ld} -m elf_i386" 6035 ;; 6036 ppc64-*linux*|powerpc64-*linux*) 6037 LD="${LD-ld} -m elf32ppclinux" 6038 ;; 6039 s390x-*linux*) 6040 LD="${LD-ld} -m elf_s390" 6041 ;; 6042 sparc64-*linux*) 6043 LD="${LD-ld} -m elf32_sparc" 6044 ;; 6045 esac 6046 ;; 6047 *64-bit*) 6048 case $host in 6049 x86_64-*kfreebsd*-gnu) 6050 LD="${LD-ld} -m elf_x86_64_fbsd" 6051 ;; 6052 x86_64-*linux*) 6053 LD="${LD-ld} -m elf_x86_64" 6054 ;; 6055 ppc*-*linux*|powerpc*-*linux*) 6056 LD="${LD-ld} -m elf64ppc" 6057 ;; 6058 s390*-*linux*|s390*-*tpf*) 6059 LD="${LD-ld} -m elf64_s390" 6060 ;; 6061 sparc*-*linux*) 6062 LD="${LD-ld} -m elf64_sparc" 6063 ;; 6064 esac 6065 ;; 6066 esac 6067 fi 6068 rm -rf conftest* 6069 ;; 6070 6071*-*-sco3.2v5*) 6072 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6073 SAVE_CFLAGS="$CFLAGS" 6074 CFLAGS="$CFLAGS -belf" 6075 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 6076$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6077if test "${lt_cv_cc_needs_belf+set}" = set; then 6078 $as_echo_n "(cached) " >&6 6079else 6080 ac_ext=c 6081ac_cpp='$CPP $CPPFLAGS' 6082ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6083ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6084ac_compiler_gnu=$ac_cv_c_compiler_gnu 6085 6086 cat >conftest.$ac_ext <<_ACEOF 6087/* confdefs.h. */ 6088_ACEOF 6089cat confdefs.h >>conftest.$ac_ext 6090cat >>conftest.$ac_ext <<_ACEOF 6091/* end confdefs.h. */ 6092 6093int 6094main () 6095{ 6096 6097 ; 6098 return 0; 6099} 6100_ACEOF 6101rm -f conftest.$ac_objext conftest$ac_exeext 6102if { (ac_try="$ac_link" 6103case "(($ac_try" in 6104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6105 *) ac_try_echo=$ac_try;; 6106esac 6107eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6108$as_echo "$ac_try_echo") >&5 6109 (eval "$ac_link") 2>conftest.er1 6110 ac_status=$? 6111 grep -v '^ *+' conftest.er1 >conftest.err 6112 rm -f conftest.er1 6113 cat conftest.err >&5 6114 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6115 (exit $ac_status); } && { 6116 test -z "$ac_c_werror_flag" || 6117 test ! -s conftest.err 6118 } && test -s conftest$ac_exeext && { 6119 test "$cross_compiling" = yes || 6120 $as_test_x conftest$ac_exeext 6121 }; then 6122 lt_cv_cc_needs_belf=yes 6123else 6124 $as_echo "$as_me: failed program was:" >&5 6125sed 's/^/| /' conftest.$ac_ext >&5 6126 6127 lt_cv_cc_needs_belf=no 6128fi 6129 6130rm -rf conftest.dSYM 6131rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6132 conftest$ac_exeext conftest.$ac_ext 6133 ac_ext=c 6134ac_cpp='$CPP $CPPFLAGS' 6135ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6136ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6137ac_compiler_gnu=$ac_cv_c_compiler_gnu 6138 6139fi 6140{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 6141$as_echo "$lt_cv_cc_needs_belf" >&6; } 6142 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 6143 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6144 CFLAGS="$SAVE_CFLAGS" 6145 fi 6146 ;; 6147sparc*-*solaris*) 6148 # Find out which ABI we are using. 6149 echo 'int i;' > conftest.$ac_ext 6150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6151 (eval $ac_compile) 2>&5 6152 ac_status=$? 6153 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6154 (exit $ac_status); }; then 6155 case `/usr/bin/file conftest.o` in 6156 *64-bit*) 6157 case $lt_cv_prog_gnu_ld in 6158 yes*) LD="${LD-ld} -m elf64_sparc" ;; 6159 *) 6160 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6161 LD="${LD-ld} -64" 6162 fi 6163 ;; 6164 esac 6165 ;; 6166 esac 6167 fi 6168 rm -rf conftest* 6169 ;; 6170esac 6171 6172need_locks="$enable_libtool_lock" 6173 6174 6175 case $host_os in 6176 rhapsody* | darwin*) 6177 if test -n "$ac_tool_prefix"; then 6178 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6179set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6180{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6181$as_echo_n "checking for $ac_word... " >&6; } 6182if test "${ac_cv_prog_DSYMUTIL+set}" = set; then 6183 $as_echo_n "(cached) " >&6 6184else 6185 if test -n "$DSYMUTIL"; then 6186 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6195 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6196 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6197 break 2 6198 fi 6199done 6200done 6201IFS=$as_save_IFS 6202 6203fi 6204fi 6205DSYMUTIL=$ac_cv_prog_DSYMUTIL 6206if test -n "$DSYMUTIL"; then 6207 { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 6208$as_echo "$DSYMUTIL" >&6; } 6209else 6210 { $as_echo "$as_me:$LINENO: result: no" >&5 6211$as_echo "no" >&6; } 6212fi 6213 6214 6215fi 6216if test -z "$ac_cv_prog_DSYMUTIL"; then 6217 ac_ct_DSYMUTIL=$DSYMUTIL 6218 # Extract the first word of "dsymutil", so it can be a program name with args. 6219set dummy dsymutil; ac_word=$2 6220{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6221$as_echo_n "checking for $ac_word... " >&6; } 6222if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then 6223 $as_echo_n "(cached) " >&6 6224else 6225 if test -n "$ac_ct_DSYMUTIL"; then 6226 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6235 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6236 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6237 break 2 6238 fi 6239done 6240done 6241IFS=$as_save_IFS 6242 6243fi 6244fi 6245ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6246if test -n "$ac_ct_DSYMUTIL"; then 6247 { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 6248$as_echo "$ac_ct_DSYMUTIL" >&6; } 6249else 6250 { $as_echo "$as_me:$LINENO: result: no" >&5 6251$as_echo "no" >&6; } 6252fi 6253 6254 if test "x$ac_ct_DSYMUTIL" = x; then 6255 DSYMUTIL=":" 6256 else 6257 case $cross_compiling:$ac_tool_warned in 6258yes:) 6259{ $as_echo "$as_me:$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 DSYMUTIL=$ac_ct_DSYMUTIL 6264 fi 6265else 6266 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6267fi 6268 6269 if test -n "$ac_tool_prefix"; then 6270 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6271set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6272{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6273$as_echo_n "checking for $ac_word... " >&6; } 6274if test "${ac_cv_prog_NMEDIT+set}" = set; then 6275 $as_echo_n "(cached) " >&6 6276else 6277 if test -n "$NMEDIT"; then 6278 ac_cv_prog_NMEDIT="$NMEDIT" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6287 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6288 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6289 break 2 6290 fi 6291done 6292done 6293IFS=$as_save_IFS 6294 6295fi 6296fi 6297NMEDIT=$ac_cv_prog_NMEDIT 6298if test -n "$NMEDIT"; then 6299 { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5 6300$as_echo "$NMEDIT" >&6; } 6301else 6302 { $as_echo "$as_me:$LINENO: result: no" >&5 6303$as_echo "no" >&6; } 6304fi 6305 6306 6307fi 6308if test -z "$ac_cv_prog_NMEDIT"; then 6309 ac_ct_NMEDIT=$NMEDIT 6310 # Extract the first word of "nmedit", so it can be a program name with args. 6311set dummy nmedit; ac_word=$2 6312{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6313$as_echo_n "checking for $ac_word... " >&6; } 6314if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then 6315 $as_echo_n "(cached) " >&6 6316else 6317 if test -n "$ac_ct_NMEDIT"; then 6318 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6327 ac_cv_prog_ac_ct_NMEDIT="nmedit" 6328 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6329 break 2 6330 fi 6331done 6332done 6333IFS=$as_save_IFS 6334 6335fi 6336fi 6337ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 6338if test -n "$ac_ct_NMEDIT"; then 6339 { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 6340$as_echo "$ac_ct_NMEDIT" >&6; } 6341else 6342 { $as_echo "$as_me:$LINENO: result: no" >&5 6343$as_echo "no" >&6; } 6344fi 6345 6346 if test "x$ac_ct_NMEDIT" = x; then 6347 NMEDIT=":" 6348 else 6349 case $cross_compiling:$ac_tool_warned in 6350yes:) 6351{ $as_echo "$as_me:$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 NMEDIT=$ac_ct_NMEDIT 6356 fi 6357else 6358 NMEDIT="$ac_cv_prog_NMEDIT" 6359fi 6360 6361 if test -n "$ac_tool_prefix"; then 6362 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 6363set dummy ${ac_tool_prefix}lipo; ac_word=$2 6364{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6365$as_echo_n "checking for $ac_word... " >&6; } 6366if test "${ac_cv_prog_LIPO+set}" = set; then 6367 $as_echo_n "(cached) " >&6 6368else 6369 if test -n "$LIPO"; then 6370 ac_cv_prog_LIPO="$LIPO" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6379 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 6380 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6381 break 2 6382 fi 6383done 6384done 6385IFS=$as_save_IFS 6386 6387fi 6388fi 6389LIPO=$ac_cv_prog_LIPO 6390if test -n "$LIPO"; then 6391 { $as_echo "$as_me:$LINENO: result: $LIPO" >&5 6392$as_echo "$LIPO" >&6; } 6393else 6394 { $as_echo "$as_me:$LINENO: result: no" >&5 6395$as_echo "no" >&6; } 6396fi 6397 6398 6399fi 6400if test -z "$ac_cv_prog_LIPO"; then 6401 ac_ct_LIPO=$LIPO 6402 # Extract the first word of "lipo", so it can be a program name with args. 6403set dummy lipo; ac_word=$2 6404{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6405$as_echo_n "checking for $ac_word... " >&6; } 6406if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then 6407 $as_echo_n "(cached) " >&6 6408else 6409 if test -n "$ac_ct_LIPO"; then 6410 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6419 ac_cv_prog_ac_ct_LIPO="lipo" 6420 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6421 break 2 6422 fi 6423done 6424done 6425IFS=$as_save_IFS 6426 6427fi 6428fi 6429ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 6430if test -n "$ac_ct_LIPO"; then 6431 { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5 6432$as_echo "$ac_ct_LIPO" >&6; } 6433else 6434 { $as_echo "$as_me:$LINENO: result: no" >&5 6435$as_echo "no" >&6; } 6436fi 6437 6438 if test "x$ac_ct_LIPO" = x; then 6439 LIPO=":" 6440 else 6441 case $cross_compiling:$ac_tool_warned in 6442yes:) 6443{ $as_echo "$as_me:$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 LIPO=$ac_ct_LIPO 6448 fi 6449else 6450 LIPO="$ac_cv_prog_LIPO" 6451fi 6452 6453 if test -n "$ac_tool_prefix"; then 6454 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 6455set dummy ${ac_tool_prefix}otool; ac_word=$2 6456{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6457$as_echo_n "checking for $ac_word... " >&6; } 6458if test "${ac_cv_prog_OTOOL+set}" = set; then 6459 $as_echo_n "(cached) " >&6 6460else 6461 if test -n "$OTOOL"; then 6462 ac_cv_prog_OTOOL="$OTOOL" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6471 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 6472 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6473 break 2 6474 fi 6475done 6476done 6477IFS=$as_save_IFS 6478 6479fi 6480fi 6481OTOOL=$ac_cv_prog_OTOOL 6482if test -n "$OTOOL"; then 6483 { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5 6484$as_echo "$OTOOL" >&6; } 6485else 6486 { $as_echo "$as_me:$LINENO: result: no" >&5 6487$as_echo "no" >&6; } 6488fi 6489 6490 6491fi 6492if test -z "$ac_cv_prog_OTOOL"; then 6493 ac_ct_OTOOL=$OTOOL 6494 # Extract the first word of "otool", so it can be a program name with args. 6495set dummy otool; ac_word=$2 6496{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6497$as_echo_n "checking for $ac_word... " >&6; } 6498if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then 6499 $as_echo_n "(cached) " >&6 6500else 6501 if test -n "$ac_ct_OTOOL"; then 6502 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6511 ac_cv_prog_ac_ct_OTOOL="otool" 6512 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6513 break 2 6514 fi 6515done 6516done 6517IFS=$as_save_IFS 6518 6519fi 6520fi 6521ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 6522if test -n "$ac_ct_OTOOL"; then 6523 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5 6524$as_echo "$ac_ct_OTOOL" >&6; } 6525else 6526 { $as_echo "$as_me:$LINENO: result: no" >&5 6527$as_echo "no" >&6; } 6528fi 6529 6530 if test "x$ac_ct_OTOOL" = x; then 6531 OTOOL=":" 6532 else 6533 case $cross_compiling:$ac_tool_warned in 6534yes:) 6535{ $as_echo "$as_me:$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 OTOOL=$ac_ct_OTOOL 6540 fi 6541else 6542 OTOOL="$ac_cv_prog_OTOOL" 6543fi 6544 6545 if test -n "$ac_tool_prefix"; then 6546 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 6547set dummy ${ac_tool_prefix}otool64; ac_word=$2 6548{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6549$as_echo_n "checking for $ac_word... " >&6; } 6550if test "${ac_cv_prog_OTOOL64+set}" = set; then 6551 $as_echo_n "(cached) " >&6 6552else 6553 if test -n "$OTOOL64"; then 6554 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 6555else 6556as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6557for as_dir in $PATH 6558do 6559 IFS=$as_save_IFS 6560 test -z "$as_dir" && as_dir=. 6561 for ac_exec_ext in '' $ac_executable_extensions; do 6562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6563 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 6564 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6565 break 2 6566 fi 6567done 6568done 6569IFS=$as_save_IFS 6570 6571fi 6572fi 6573OTOOL64=$ac_cv_prog_OTOOL64 6574if test -n "$OTOOL64"; then 6575 { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5 6576$as_echo "$OTOOL64" >&6; } 6577else 6578 { $as_echo "$as_me:$LINENO: result: no" >&5 6579$as_echo "no" >&6; } 6580fi 6581 6582 6583fi 6584if test -z "$ac_cv_prog_OTOOL64"; then 6585 ac_ct_OTOOL64=$OTOOL64 6586 # Extract the first word of "otool64", so it can be a program name with args. 6587set dummy otool64; ac_word=$2 6588{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6589$as_echo_n "checking for $ac_word... " >&6; } 6590if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then 6591 $as_echo_n "(cached) " >&6 6592else 6593 if test -n "$ac_ct_OTOOL64"; then 6594 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 6595else 6596as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6597for as_dir in $PATH 6598do 6599 IFS=$as_save_IFS 6600 test -z "$as_dir" && as_dir=. 6601 for ac_exec_ext in '' $ac_executable_extensions; do 6602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6603 ac_cv_prog_ac_ct_OTOOL64="otool64" 6604 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6605 break 2 6606 fi 6607done 6608done 6609IFS=$as_save_IFS 6610 6611fi 6612fi 6613ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 6614if test -n "$ac_ct_OTOOL64"; then 6615 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5 6616$as_echo "$ac_ct_OTOOL64" >&6; } 6617else 6618 { $as_echo "$as_me:$LINENO: result: no" >&5 6619$as_echo "no" >&6; } 6620fi 6621 6622 if test "x$ac_ct_OTOOL64" = x; then 6623 OTOOL64=":" 6624 else 6625 case $cross_compiling:$ac_tool_warned in 6626yes:) 6627{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6628$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6629ac_tool_warned=yes ;; 6630esac 6631 OTOOL64=$ac_ct_OTOOL64 6632 fi 6633else 6634 OTOOL64="$ac_cv_prog_OTOOL64" 6635fi 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 6664$as_echo_n "checking for -single_module linker flag... " >&6; } 6665if test "${lt_cv_apple_cc_single_mod+set}" = set; then 6666 $as_echo_n "(cached) " >&6 6667else 6668 lt_cv_apple_cc_single_mod=no 6669 if test -z "${LT_MULTI_MODULE}"; then 6670 # By default we will add the -single_module flag. You can override 6671 # by either setting the environment variable LT_MULTI_MODULE 6672 # non-empty at configure time, or by adding -multi_module to the 6673 # link flags. 6674 rm -rf libconftest.dylib* 6675 echo "int foo(void){return 1;}" > conftest.c 6676 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 6677-dynamiclib -Wl,-single_module conftest.c" >&5 6678 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 6679 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 6680 _lt_result=$? 6681 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then 6682 lt_cv_apple_cc_single_mod=yes 6683 else 6684 cat conftest.err >&5 6685 fi 6686 rm -rf libconftest.dylib* 6687 rm -f conftest.* 6688 fi 6689fi 6690{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 6691$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 6692 { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 6693$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 6694if test "${lt_cv_ld_exported_symbols_list+set}" = set; then 6695 $as_echo_n "(cached) " >&6 6696else 6697 lt_cv_ld_exported_symbols_list=no 6698 save_LDFLAGS=$LDFLAGS 6699 echo "_main" > conftest.sym 6700 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 6701 cat >conftest.$ac_ext <<_ACEOF 6702/* confdefs.h. */ 6703_ACEOF 6704cat confdefs.h >>conftest.$ac_ext 6705cat >>conftest.$ac_ext <<_ACEOF 6706/* end confdefs.h. */ 6707 6708int 6709main () 6710{ 6711 6712 ; 6713 return 0; 6714} 6715_ACEOF 6716rm -f conftest.$ac_objext conftest$ac_exeext 6717if { (ac_try="$ac_link" 6718case "(($ac_try" in 6719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6720 *) ac_try_echo=$ac_try;; 6721esac 6722eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6723$as_echo "$ac_try_echo") >&5 6724 (eval "$ac_link") 2>conftest.er1 6725 ac_status=$? 6726 grep -v '^ *+' conftest.er1 >conftest.err 6727 rm -f conftest.er1 6728 cat conftest.err >&5 6729 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6730 (exit $ac_status); } && { 6731 test -z "$ac_c_werror_flag" || 6732 test ! -s conftest.err 6733 } && test -s conftest$ac_exeext && { 6734 test "$cross_compiling" = yes || 6735 $as_test_x conftest$ac_exeext 6736 }; then 6737 lt_cv_ld_exported_symbols_list=yes 6738else 6739 $as_echo "$as_me: failed program was:" >&5 6740sed 's/^/| /' conftest.$ac_ext >&5 6741 6742 lt_cv_ld_exported_symbols_list=no 6743fi 6744 6745rm -rf conftest.dSYM 6746rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6747 conftest$ac_exeext conftest.$ac_ext 6748 LDFLAGS="$save_LDFLAGS" 6749 6750fi 6751{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 6752$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 6753 case $host_os in 6754 rhapsody* | darwin1.[012]) 6755 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 6756 darwin1.*) 6757 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 6758 darwin*) # darwin 5.x on 6759 # if running on 10.5 or later, the deployment target defaults 6760 # to the OS version, if on x86, and 10.4, the deployment 6761 # target defaults to 10.4. Don't you love it? 6762 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 6763 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 6764 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 6765 10.[012]*) 6766 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 6767 10.*) 6768 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 6769 esac 6770 ;; 6771 esac 6772 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 6773 _lt_dar_single_mod='$single_module' 6774 fi 6775 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 6776 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 6777 else 6778 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 6779 fi 6780 if test "$DSYMUTIL" != ":"; then 6781 _lt_dsymutil='~$DSYMUTIL $lib || :' 6782 else 6783 _lt_dsymutil= 6784 fi 6785 ;; 6786 esac 6787 6788ac_ext=c 6789ac_cpp='$CPP $CPPFLAGS' 6790ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6791ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6792ac_compiler_gnu=$ac_cv_c_compiler_gnu 6793{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 6794$as_echo_n "checking how to run the C preprocessor... " >&6; } 6795# On Suns, sometimes $CPP names a directory. 6796if test -n "$CPP" && test -d "$CPP"; then 6797 CPP= 6798fi 6799if test -z "$CPP"; then 6800 if test "${ac_cv_prog_CPP+set}" = set; then 6801 $as_echo_n "(cached) " >&6 6802else 6803 # Double quotes because CPP needs to be expanded 6804 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 6805 do 6806 ac_preproc_ok=false 6807for ac_c_preproc_warn_flag in '' yes 6808do 6809 # Use a header file that comes with gcc, so configuring glibc 6810 # with a fresh cross-compiler works. 6811 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6812 # <limits.h> exists even on freestanding compilers. 6813 # On the NeXT, cc -E runs the code through the compiler's parser, 6814 # not just through cpp. "Syntax error" is here to catch this case. 6815 cat >conftest.$ac_ext <<_ACEOF 6816/* confdefs.h. */ 6817_ACEOF 6818cat confdefs.h >>conftest.$ac_ext 6819cat >>conftest.$ac_ext <<_ACEOF 6820/* end confdefs.h. */ 6821#ifdef __STDC__ 6822# include <limits.h> 6823#else 6824# include <assert.h> 6825#endif 6826 Syntax error 6827_ACEOF 6828if { (ac_try="$ac_cpp conftest.$ac_ext" 6829case "(($ac_try" in 6830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6831 *) ac_try_echo=$ac_try;; 6832esac 6833eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6834$as_echo "$ac_try_echo") >&5 6835 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6836 ac_status=$? 6837 grep -v '^ *+' conftest.er1 >conftest.err 6838 rm -f conftest.er1 6839 cat conftest.err >&5 6840 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6841 (exit $ac_status); } >/dev/null && { 6842 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6843 test ! -s conftest.err 6844 }; then 6845 : 6846else 6847 $as_echo "$as_me: failed program was:" >&5 6848sed 's/^/| /' conftest.$ac_ext >&5 6849 6850 # Broken: fails on valid input. 6851continue 6852fi 6853 6854rm -f conftest.err conftest.$ac_ext 6855 6856 # OK, works on sane cases. Now check whether nonexistent headers 6857 # can be detected and how. 6858 cat >conftest.$ac_ext <<_ACEOF 6859/* confdefs.h. */ 6860_ACEOF 6861cat confdefs.h >>conftest.$ac_ext 6862cat >>conftest.$ac_ext <<_ACEOF 6863/* end confdefs.h. */ 6864#include <ac_nonexistent.h> 6865_ACEOF 6866if { (ac_try="$ac_cpp conftest.$ac_ext" 6867case "(($ac_try" in 6868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6869 *) ac_try_echo=$ac_try;; 6870esac 6871eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6872$as_echo "$ac_try_echo") >&5 6873 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6874 ac_status=$? 6875 grep -v '^ *+' conftest.er1 >conftest.err 6876 rm -f conftest.er1 6877 cat conftest.err >&5 6878 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6879 (exit $ac_status); } >/dev/null && { 6880 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6881 test ! -s conftest.err 6882 }; then 6883 # Broken: success on invalid input. 6884continue 6885else 6886 $as_echo "$as_me: failed program was:" >&5 6887sed 's/^/| /' conftest.$ac_ext >&5 6888 6889 # Passes both tests. 6890ac_preproc_ok=: 6891break 6892fi 6893 6894rm -f conftest.err conftest.$ac_ext 6895 6896done 6897# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6898rm -f conftest.err conftest.$ac_ext 6899if $ac_preproc_ok; then 6900 break 6901fi 6902 6903 done 6904 ac_cv_prog_CPP=$CPP 6905 6906fi 6907 CPP=$ac_cv_prog_CPP 6908else 6909 ac_cv_prog_CPP=$CPP 6910fi 6911{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 6912$as_echo "$CPP" >&6; } 6913ac_preproc_ok=false 6914for ac_c_preproc_warn_flag in '' yes 6915do 6916 # Use a header file that comes with gcc, so configuring glibc 6917 # with a fresh cross-compiler works. 6918 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6919 # <limits.h> exists even on freestanding compilers. 6920 # On the NeXT, cc -E runs the code through the compiler's parser, 6921 # not just through cpp. "Syntax error" is here to catch this case. 6922 cat >conftest.$ac_ext <<_ACEOF 6923/* confdefs.h. */ 6924_ACEOF 6925cat confdefs.h >>conftest.$ac_ext 6926cat >>conftest.$ac_ext <<_ACEOF 6927/* end confdefs.h. */ 6928#ifdef __STDC__ 6929# include <limits.h> 6930#else 6931# include <assert.h> 6932#endif 6933 Syntax error 6934_ACEOF 6935if { (ac_try="$ac_cpp conftest.$ac_ext" 6936case "(($ac_try" in 6937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6938 *) ac_try_echo=$ac_try;; 6939esac 6940eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6941$as_echo "$ac_try_echo") >&5 6942 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6943 ac_status=$? 6944 grep -v '^ *+' conftest.er1 >conftest.err 6945 rm -f conftest.er1 6946 cat conftest.err >&5 6947 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6948 (exit $ac_status); } >/dev/null && { 6949 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6950 test ! -s conftest.err 6951 }; then 6952 : 6953else 6954 $as_echo "$as_me: failed program was:" >&5 6955sed 's/^/| /' conftest.$ac_ext >&5 6956 6957 # Broken: fails on valid input. 6958continue 6959fi 6960 6961rm -f conftest.err conftest.$ac_ext 6962 6963 # OK, works on sane cases. Now check whether nonexistent headers 6964 # can be detected and how. 6965 cat >conftest.$ac_ext <<_ACEOF 6966/* confdefs.h. */ 6967_ACEOF 6968cat confdefs.h >>conftest.$ac_ext 6969cat >>conftest.$ac_ext <<_ACEOF 6970/* end confdefs.h. */ 6971#include <ac_nonexistent.h> 6972_ACEOF 6973if { (ac_try="$ac_cpp conftest.$ac_ext" 6974case "(($ac_try" in 6975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6976 *) ac_try_echo=$ac_try;; 6977esac 6978eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6979$as_echo "$ac_try_echo") >&5 6980 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6981 ac_status=$? 6982 grep -v '^ *+' conftest.er1 >conftest.err 6983 rm -f conftest.er1 6984 cat conftest.err >&5 6985 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6986 (exit $ac_status); } >/dev/null && { 6987 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6988 test ! -s conftest.err 6989 }; then 6990 # Broken: success on invalid input. 6991continue 6992else 6993 $as_echo "$as_me: failed program was:" >&5 6994sed 's/^/| /' conftest.$ac_ext >&5 6995 6996 # Passes both tests. 6997ac_preproc_ok=: 6998break 6999fi 7000 7001rm -f conftest.err conftest.$ac_ext 7002 7003done 7004# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7005rm -f conftest.err conftest.$ac_ext 7006if $ac_preproc_ok; then 7007 : 7008else 7009 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 7010$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7011{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 7012See \`config.log' for more details." >&5 7013$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 7014See \`config.log' for more details." >&2;} 7015 { (exit 1); exit 1; }; }; } 7016fi 7017 7018ac_ext=c 7019ac_cpp='$CPP $CPPFLAGS' 7020ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7021ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7022ac_compiler_gnu=$ac_cv_c_compiler_gnu 7023 7024 7025{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 7026$as_echo_n "checking for ANSI C header files... " >&6; } 7027if test "${ac_cv_header_stdc+set}" = set; then 7028 $as_echo_n "(cached) " >&6 7029else 7030 cat >conftest.$ac_ext <<_ACEOF 7031/* confdefs.h. */ 7032_ACEOF 7033cat confdefs.h >>conftest.$ac_ext 7034cat >>conftest.$ac_ext <<_ACEOF 7035/* end confdefs.h. */ 7036#include <stdlib.h> 7037#include <stdarg.h> 7038#include <string.h> 7039#include <float.h> 7040 7041int 7042main () 7043{ 7044 7045 ; 7046 return 0; 7047} 7048_ACEOF 7049rm -f conftest.$ac_objext 7050if { (ac_try="$ac_compile" 7051case "(($ac_try" in 7052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7053 *) ac_try_echo=$ac_try;; 7054esac 7055eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7056$as_echo "$ac_try_echo") >&5 7057 (eval "$ac_compile") 2>conftest.er1 7058 ac_status=$? 7059 grep -v '^ *+' conftest.er1 >conftest.err 7060 rm -f conftest.er1 7061 cat conftest.err >&5 7062 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7063 (exit $ac_status); } && { 7064 test -z "$ac_c_werror_flag" || 7065 test ! -s conftest.err 7066 } && test -s conftest.$ac_objext; then 7067 ac_cv_header_stdc=yes 7068else 7069 $as_echo "$as_me: failed program was:" >&5 7070sed 's/^/| /' conftest.$ac_ext >&5 7071 7072 ac_cv_header_stdc=no 7073fi 7074 7075rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7076 7077if test $ac_cv_header_stdc = yes; then 7078 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7079 cat >conftest.$ac_ext <<_ACEOF 7080/* confdefs.h. */ 7081_ACEOF 7082cat confdefs.h >>conftest.$ac_ext 7083cat >>conftest.$ac_ext <<_ACEOF 7084/* end confdefs.h. */ 7085#include <string.h> 7086 7087_ACEOF 7088if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7089 $EGREP "memchr" >/dev/null 2>&1; then 7090 : 7091else 7092 ac_cv_header_stdc=no 7093fi 7094rm -f conftest* 7095 7096fi 7097 7098if test $ac_cv_header_stdc = yes; then 7099 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7100 cat >conftest.$ac_ext <<_ACEOF 7101/* confdefs.h. */ 7102_ACEOF 7103cat confdefs.h >>conftest.$ac_ext 7104cat >>conftest.$ac_ext <<_ACEOF 7105/* end confdefs.h. */ 7106#include <stdlib.h> 7107 7108_ACEOF 7109if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7110 $EGREP "free" >/dev/null 2>&1; then 7111 : 7112else 7113 ac_cv_header_stdc=no 7114fi 7115rm -f conftest* 7116 7117fi 7118 7119if test $ac_cv_header_stdc = yes; then 7120 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7121 if test "$cross_compiling" = yes; then 7122 : 7123else 7124 cat >conftest.$ac_ext <<_ACEOF 7125/* confdefs.h. */ 7126_ACEOF 7127cat confdefs.h >>conftest.$ac_ext 7128cat >>conftest.$ac_ext <<_ACEOF 7129/* end confdefs.h. */ 7130#include <ctype.h> 7131#include <stdlib.h> 7132#if ((' ' & 0x0FF) == 0x020) 7133# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7134# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7135#else 7136# define ISLOWER(c) \ 7137 (('a' <= (c) && (c) <= 'i') \ 7138 || ('j' <= (c) && (c) <= 'r') \ 7139 || ('s' <= (c) && (c) <= 'z')) 7140# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7141#endif 7142 7143#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7144int 7145main () 7146{ 7147 int i; 7148 for (i = 0; i < 256; i++) 7149 if (XOR (islower (i), ISLOWER (i)) 7150 || toupper (i) != TOUPPER (i)) 7151 return 2; 7152 return 0; 7153} 7154_ACEOF 7155rm -f conftest$ac_exeext 7156if { (ac_try="$ac_link" 7157case "(($ac_try" in 7158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7159 *) ac_try_echo=$ac_try;; 7160esac 7161eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7162$as_echo "$ac_try_echo") >&5 7163 (eval "$ac_link") 2>&5 7164 ac_status=$? 7165 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7166 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7167 { (case "(($ac_try" in 7168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7169 *) ac_try_echo=$ac_try;; 7170esac 7171eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7172$as_echo "$ac_try_echo") >&5 7173 (eval "$ac_try") 2>&5 7174 ac_status=$? 7175 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7176 (exit $ac_status); }; }; then 7177 : 7178else 7179 $as_echo "$as_me: program exited with status $ac_status" >&5 7180$as_echo "$as_me: failed program was:" >&5 7181sed 's/^/| /' conftest.$ac_ext >&5 7182 7183( exit $ac_status ) 7184ac_cv_header_stdc=no 7185fi 7186rm -rf conftest.dSYM 7187rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7188fi 7189 7190 7191fi 7192fi 7193{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 7194$as_echo "$ac_cv_header_stdc" >&6; } 7195if test $ac_cv_header_stdc = yes; then 7196 7197cat >>confdefs.h <<\_ACEOF 7198#define STDC_HEADERS 1 7199_ACEOF 7200 7201fi 7202 7203# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7214 inttypes.h stdint.h unistd.h 7215do 7216as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7217{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7218$as_echo_n "checking for $ac_header... " >&6; } 7219if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7220 $as_echo_n "(cached) " >&6 7221else 7222 cat >conftest.$ac_ext <<_ACEOF 7223/* confdefs.h. */ 7224_ACEOF 7225cat confdefs.h >>conftest.$ac_ext 7226cat >>conftest.$ac_ext <<_ACEOF 7227/* end confdefs.h. */ 7228$ac_includes_default 7229 7230#include <$ac_header> 7231_ACEOF 7232rm -f conftest.$ac_objext 7233if { (ac_try="$ac_compile" 7234case "(($ac_try" in 7235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7236 *) ac_try_echo=$ac_try;; 7237esac 7238eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7239$as_echo "$ac_try_echo") >&5 7240 (eval "$ac_compile") 2>conftest.er1 7241 ac_status=$? 7242 grep -v '^ *+' conftest.er1 >conftest.err 7243 rm -f conftest.er1 7244 cat conftest.err >&5 7245 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7246 (exit $ac_status); } && { 7247 test -z "$ac_c_werror_flag" || 7248 test ! -s conftest.err 7249 } && test -s conftest.$ac_objext; then 7250 eval "$as_ac_Header=yes" 7251else 7252 $as_echo "$as_me: failed program was:" >&5 7253sed 's/^/| /' conftest.$ac_ext >&5 7254 7255 eval "$as_ac_Header=no" 7256fi 7257 7258rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7259fi 7260ac_res=`eval 'as_val=${'$as_ac_Header'} 7261 $as_echo "$as_val"'` 7262 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7263$as_echo "$ac_res" >&6; } 7264as_val=`eval 'as_val=${'$as_ac_Header'} 7265 $as_echo "$as_val"'` 7266 if test "x$as_val" = x""yes; then 7267 cat >>confdefs.h <<_ACEOF 7268#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7269_ACEOF 7270 7271fi 7272 7273done 7274 7275 7276 7277for ac_header in dlfcn.h 7278do 7279as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7280{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7281$as_echo_n "checking for $ac_header... " >&6; } 7282if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7283 $as_echo_n "(cached) " >&6 7284else 7285 cat >conftest.$ac_ext <<_ACEOF 7286/* confdefs.h. */ 7287_ACEOF 7288cat confdefs.h >>conftest.$ac_ext 7289cat >>conftest.$ac_ext <<_ACEOF 7290/* end confdefs.h. */ 7291$ac_includes_default 7292 7293#include <$ac_header> 7294_ACEOF 7295rm -f conftest.$ac_objext 7296if { (ac_try="$ac_compile" 7297case "(($ac_try" in 7298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7299 *) ac_try_echo=$ac_try;; 7300esac 7301eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7302$as_echo "$ac_try_echo") >&5 7303 (eval "$ac_compile") 2>conftest.er1 7304 ac_status=$? 7305 grep -v '^ *+' conftest.er1 >conftest.err 7306 rm -f conftest.er1 7307 cat conftest.err >&5 7308 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7309 (exit $ac_status); } && { 7310 test -z "$ac_c_werror_flag" || 7311 test ! -s conftest.err 7312 } && test -s conftest.$ac_objext; then 7313 eval "$as_ac_Header=yes" 7314else 7315 $as_echo "$as_me: failed program was:" >&5 7316sed 's/^/| /' conftest.$ac_ext >&5 7317 7318 eval "$as_ac_Header=no" 7319fi 7320 7321rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7322fi 7323ac_res=`eval 'as_val=${'$as_ac_Header'} 7324 $as_echo "$as_val"'` 7325 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7326$as_echo "$ac_res" >&6; } 7327as_val=`eval 'as_val=${'$as_ac_Header'} 7328 $as_echo "$as_val"'` 7329 if test "x$as_val" = x""yes; then 7330 cat >>confdefs.h <<_ACEOF 7331#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7332_ACEOF 7333 7334fi 7335 7336done 7337 7338 7339 7340# Set options 7341 7342 7343 7344 enable_dlopen=no 7345 7346 7347 enable_win32_dll=no 7348 7349 7350 # Check whether --enable-shared was given. 7351if test "${enable_shared+set}" = set; then 7352 enableval=$enable_shared; p=${PACKAGE-default} 7353 case $enableval in 7354 yes) enable_shared=yes ;; 7355 no) enable_shared=no ;; 7356 *) 7357 enable_shared=no 7358 # Look at the argument we got. We use all the common list separators. 7359 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7360 for pkg in $enableval; do 7361 IFS="$lt_save_ifs" 7362 if test "X$pkg" = "X$p"; then 7363 enable_shared=yes 7364 fi 7365 done 7366 IFS="$lt_save_ifs" 7367 ;; 7368 esac 7369else 7370 enable_shared=yes 7371fi 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 # Check whether --enable-static was given. 7382if test "${enable_static+set}" = set; then 7383 enableval=$enable_static; p=${PACKAGE-default} 7384 case $enableval in 7385 yes) enable_static=yes ;; 7386 no) enable_static=no ;; 7387 *) 7388 enable_static=no 7389 # Look at the argument we got. We use all the common list separators. 7390 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7391 for pkg in $enableval; do 7392 IFS="$lt_save_ifs" 7393 if test "X$pkg" = "X$p"; then 7394 enable_static=yes 7395 fi 7396 done 7397 IFS="$lt_save_ifs" 7398 ;; 7399 esac 7400else 7401 enable_static=yes 7402fi 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413# Check whether --with-pic was given. 7414if test "${with_pic+set}" = set; then 7415 withval=$with_pic; pic_mode="$withval" 7416else 7417 pic_mode=default 7418fi 7419 7420 7421test -z "$pic_mode" && pic_mode=default 7422 7423 7424 7425 7426 7427 7428 7429 # Check whether --enable-fast-install was given. 7430if test "${enable_fast_install+set}" = set; then 7431 enableval=$enable_fast_install; p=${PACKAGE-default} 7432 case $enableval in 7433 yes) enable_fast_install=yes ;; 7434 no) enable_fast_install=no ;; 7435 *) 7436 enable_fast_install=no 7437 # Look at the argument we got. We use all the common list separators. 7438 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7439 for pkg in $enableval; do 7440 IFS="$lt_save_ifs" 7441 if test "X$pkg" = "X$p"; then 7442 enable_fast_install=yes 7443 fi 7444 done 7445 IFS="$lt_save_ifs" 7446 ;; 7447 esac 7448else 7449 enable_fast_install=yes 7450fi 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462# This can be used to rebuild libtool when needed 7463LIBTOOL_DEPS="$ltmain" 7464 7465# Always use our own libtool. 7466LIBTOOL='$(SHELL) $(top_builddir)/libtool' 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492test -z "$LN_S" && LN_S="ln -s" 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507if test -n "${ZSH_VERSION+set}" ; then 7508 setopt NO_GLOB_SUBST 7509fi 7510 7511{ $as_echo "$as_me:$LINENO: checking for objdir" >&5 7512$as_echo_n "checking for objdir... " >&6; } 7513if test "${lt_cv_objdir+set}" = set; then 7514 $as_echo_n "(cached) " >&6 7515else 7516 rm -f .libs 2>/dev/null 7517mkdir .libs 2>/dev/null 7518if test -d .libs; then 7519 lt_cv_objdir=.libs 7520else 7521 # MS-DOS does not allow filenames that begin with a dot. 7522 lt_cv_objdir=_libs 7523fi 7524rmdir .libs 2>/dev/null 7525fi 7526{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 7527$as_echo "$lt_cv_objdir" >&6; } 7528objdir=$lt_cv_objdir 7529 7530 7531 7532 7533 7534cat >>confdefs.h <<_ACEOF 7535#define LT_OBJDIR "$lt_cv_objdir/" 7536_ACEOF 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554case $host_os in 7555aix3*) 7556 # AIX sometimes has problems with the GCC collect2 program. For some 7557 # reason, if we set the COLLECT_NAMES environment variable, the problems 7558 # vanish in a puff of smoke. 7559 if test "X${COLLECT_NAMES+set}" != Xset; then 7560 COLLECT_NAMES= 7561 export COLLECT_NAMES 7562 fi 7563 ;; 7564esac 7565 7566# Sed substitution that helps us do robust quoting. It backslashifies 7567# metacharacters that are still active within double-quoted strings. 7568sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 7569 7570# Same as above, but do not quote variable references. 7571double_quote_subst='s/\(["`\\]\)/\\\1/g' 7572 7573# Sed substitution to delay expansion of an escaped shell variable in a 7574# double_quote_subst'ed string. 7575delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 7576 7577# Sed substitution to delay expansion of an escaped single quote. 7578delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 7579 7580# Sed substitution to avoid accidental globbing in evaled expressions 7581no_glob_subst='s/\*/\\\*/g' 7582 7583# Global variables: 7584ofile=libtool 7585can_build_shared=yes 7586 7587# All known linkers require a `.a' archive for static linking (except MSVC, 7588# which needs '.lib'). 7589libext=a 7590 7591with_gnu_ld="$lt_cv_prog_gnu_ld" 7592 7593old_CC="$CC" 7594old_CFLAGS="$CFLAGS" 7595 7596# Set sane defaults for various variables 7597test -z "$CC" && CC=cc 7598test -z "$LTCC" && LTCC=$CC 7599test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7600test -z "$LD" && LD=ld 7601test -z "$ac_objext" && ac_objext=o 7602 7603for cc_temp in $compiler""; do 7604 case $cc_temp in 7605 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7606 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7607 \-*) ;; 7608 *) break;; 7609 esac 7610done 7611cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 7612 7613 7614# Only perform the check for file, if the check method requires it 7615test -z "$MAGIC_CMD" && MAGIC_CMD=file 7616case $deplibs_check_method in 7617file_magic*) 7618 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7619 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 7620$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 7621if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 7622 $as_echo_n "(cached) " >&6 7623else 7624 case $MAGIC_CMD in 7625[\\/*] | ?:[\\/]*) 7626 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7627 ;; 7628*) 7629 lt_save_MAGIC_CMD="$MAGIC_CMD" 7630 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7631 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7632 for ac_dir in $ac_dummy; do 7633 IFS="$lt_save_ifs" 7634 test -z "$ac_dir" && ac_dir=. 7635 if test -f $ac_dir/${ac_tool_prefix}file; then 7636 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 7637 if test -n "$file_magic_test_file"; then 7638 case $deplibs_check_method in 7639 "file_magic "*) 7640 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7641 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7642 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7643 $EGREP "$file_magic_regex" > /dev/null; then 7644 : 7645 else 7646 cat <<_LT_EOF 1>&2 7647 7648*** Warning: the command libtool uses to detect shared libraries, 7649*** $file_magic_cmd, produces output that libtool cannot recognize. 7650*** The result is that libtool may fail to recognize shared libraries 7651*** as such. This will affect the creation of libtool libraries that 7652*** depend on shared libraries, but programs linked with such libtool 7653*** libraries will work regardless of this problem. Nevertheless, you 7654*** may want to report the problem to your system manager and/or to 7655*** bug-libtool@gnu.org 7656 7657_LT_EOF 7658 fi ;; 7659 esac 7660 fi 7661 break 7662 fi 7663 done 7664 IFS="$lt_save_ifs" 7665 MAGIC_CMD="$lt_save_MAGIC_CMD" 7666 ;; 7667esac 7668fi 7669 7670MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7671if test -n "$MAGIC_CMD"; then 7672 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 7673$as_echo "$MAGIC_CMD" >&6; } 7674else 7675 { $as_echo "$as_me:$LINENO: result: no" >&5 7676$as_echo "no" >&6; } 7677fi 7678 7679 7680 7681 7682 7683if test -z "$lt_cv_path_MAGIC_CMD"; then 7684 if test -n "$ac_tool_prefix"; then 7685 { $as_echo "$as_me:$LINENO: checking for file" >&5 7686$as_echo_n "checking for file... " >&6; } 7687if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 7688 $as_echo_n "(cached) " >&6 7689else 7690 case $MAGIC_CMD in 7691[\\/*] | ?:[\\/]*) 7692 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7693 ;; 7694*) 7695 lt_save_MAGIC_CMD="$MAGIC_CMD" 7696 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7697 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7698 for ac_dir in $ac_dummy; do 7699 IFS="$lt_save_ifs" 7700 test -z "$ac_dir" && ac_dir=. 7701 if test -f $ac_dir/file; then 7702 lt_cv_path_MAGIC_CMD="$ac_dir/file" 7703 if test -n "$file_magic_test_file"; then 7704 case $deplibs_check_method in 7705 "file_magic "*) 7706 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7707 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7708 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7709 $EGREP "$file_magic_regex" > /dev/null; then 7710 : 7711 else 7712 cat <<_LT_EOF 1>&2 7713 7714*** Warning: the command libtool uses to detect shared libraries, 7715*** $file_magic_cmd, produces output that libtool cannot recognize. 7716*** The result is that libtool may fail to recognize shared libraries 7717*** as such. This will affect the creation of libtool libraries that 7718*** depend on shared libraries, but programs linked with such libtool 7719*** libraries will work regardless of this problem. Nevertheless, you 7720*** may want to report the problem to your system manager and/or to 7721*** bug-libtool@gnu.org 7722 7723_LT_EOF 7724 fi ;; 7725 esac 7726 fi 7727 break 7728 fi 7729 done 7730 IFS="$lt_save_ifs" 7731 MAGIC_CMD="$lt_save_MAGIC_CMD" 7732 ;; 7733esac 7734fi 7735 7736MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7737if test -n "$MAGIC_CMD"; then 7738 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 7739$as_echo "$MAGIC_CMD" >&6; } 7740else 7741 { $as_echo "$as_me:$LINENO: result: no" >&5 7742$as_echo "no" >&6; } 7743fi 7744 7745 7746 else 7747 MAGIC_CMD=: 7748 fi 7749fi 7750 7751 fi 7752 ;; 7753esac 7754 7755# Use C for the default configuration in the libtool script 7756 7757lt_save_CC="$CC" 7758ac_ext=c 7759ac_cpp='$CPP $CPPFLAGS' 7760ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7761ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7762ac_compiler_gnu=$ac_cv_c_compiler_gnu 7763 7764 7765# Source file extension for C test sources. 7766ac_ext=c 7767 7768# Object file extension for compiled C test sources. 7769objext=o 7770objext=$objext 7771 7772# Code to be used in simple compile tests 7773lt_simple_compile_test_code="int some_variable = 0;" 7774 7775# Code to be used in simple link tests 7776lt_simple_link_test_code='int main(){return(0);}' 7777 7778 7779 7780 7781 7782 7783 7784# If no C compiler was specified, use CC. 7785LTCC=${LTCC-"$CC"} 7786 7787# If no C compiler flags were specified, use CFLAGS. 7788LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7789 7790# Allow CC to be a program name with arguments. 7791compiler=$CC 7792 7793# Save the default compiler, since it gets overwritten when the other 7794# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 7795compiler_DEFAULT=$CC 7796 7797# save warnings/boilerplate of simple test code 7798ac_outfile=conftest.$ac_objext 7799echo "$lt_simple_compile_test_code" >conftest.$ac_ext 7800eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7801_lt_compiler_boilerplate=`cat conftest.err` 7802$RM conftest* 7803 7804ac_outfile=conftest.$ac_objext 7805echo "$lt_simple_link_test_code" >conftest.$ac_ext 7806eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7807_lt_linker_boilerplate=`cat conftest.err` 7808$RM -r conftest* 7809 7810 7811if test -n "$compiler"; then 7812 7813lt_prog_compiler_no_builtin_flag= 7814 7815if test "$GCC" = yes; then 7816 lt_prog_compiler_no_builtin_flag=' -fno-builtin' 7817 7818 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 7819$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 7820if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then 7821 $as_echo_n "(cached) " >&6 7822else 7823 lt_cv_prog_compiler_rtti_exceptions=no 7824 ac_outfile=conftest.$ac_objext 7825 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7826 lt_compiler_flag="-fno-rtti -fno-exceptions" 7827 # Insert the option either (1) after the last *FLAGS variable, or 7828 # (2) before a word containing "conftest.", or (3) at the end. 7829 # Note that $ac_compile itself does not contain backslashes and begins 7830 # with a dollar sign (not a hyphen), so the echo should work correctly. 7831 # The option is referenced via a variable to avoid confusing sed. 7832 lt_compile=`echo "$ac_compile" | $SED \ 7833 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7834 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7835 -e 's:$: $lt_compiler_flag:'` 7836 (eval echo "\"\$as_me:7836: $lt_compile\"" >&5) 7837 (eval "$lt_compile" 2>conftest.err) 7838 ac_status=$? 7839 cat conftest.err >&5 7840 echo "$as_me:7840: \$? = $ac_status" >&5 7841 if (exit $ac_status) && test -s "$ac_outfile"; then 7842 # The compiler can only warn and ignore the option if not recognized 7843 # So say no if there are warnings other than the usual output. 7844 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 7845 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7846 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 7847 lt_cv_prog_compiler_rtti_exceptions=yes 7848 fi 7849 fi 7850 $RM conftest* 7851 7852fi 7853{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 7854$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 7855 7856if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 7857 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 7858else 7859 : 7860fi 7861 7862fi 7863 7864 7865 7866 7867 7868 7869 lt_prog_compiler_wl= 7870lt_prog_compiler_pic= 7871lt_prog_compiler_static= 7872 7873{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 7874$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 7875 7876 if test "$GCC" = yes; then 7877 lt_prog_compiler_wl='-Wl,' 7878 lt_prog_compiler_static='-static' 7879 7880 case $host_os in 7881 aix*) 7882 # All AIX code is PIC. 7883 if test "$host_cpu" = ia64; then 7884 # AIX 5 now supports IA64 processor 7885 lt_prog_compiler_static='-Bstatic' 7886 fi 7887 ;; 7888 7889 amigaos*) 7890 case $host_cpu in 7891 powerpc) 7892 # see comment about AmigaOS4 .so support 7893 lt_prog_compiler_pic='-fPIC' 7894 ;; 7895 m68k) 7896 # FIXME: we need at least 68020 code to build shared libraries, but 7897 # adding the `-m68020' flag to GCC prevents building anything better, 7898 # like `-m68040'. 7899 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 7900 ;; 7901 esac 7902 ;; 7903 7904 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 7905 # PIC is the default for these OSes. 7906 ;; 7907 7908 mingw* | cygwin* | pw32* | os2* | cegcc*) 7909 # This hack is so that the source file can tell whether it is being 7910 # built for inclusion in a dll (and should export symbols for example). 7911 # Although the cygwin gcc ignores -fPIC, still need this for old-style 7912 # (--disable-auto-import) libraries 7913 lt_prog_compiler_pic='-DDLL_EXPORT' 7914 ;; 7915 7916 darwin* | rhapsody*) 7917 # PIC is the default on this platform 7918 # Common symbols not allowed in MH_DYLIB files 7919 lt_prog_compiler_pic='-fno-common' 7920 ;; 7921 7922 hpux*) 7923 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 7924 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 7925 # sets the default TLS model and affects inlining. 7926 case $host_cpu in 7927 hppa*64*) 7928 # +Z the default 7929 ;; 7930 *) 7931 lt_prog_compiler_pic='-fPIC' 7932 ;; 7933 esac 7934 ;; 7935 7936 interix[3-9]*) 7937 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 7938 # Instead, we relocate shared libraries at runtime. 7939 ;; 7940 7941 msdosdjgpp*) 7942 # Just because we use GCC doesn't mean we suddenly get shared libraries 7943 # on systems that don't support them. 7944 lt_prog_compiler_can_build_shared=no 7945 enable_shared=no 7946 ;; 7947 7948 *nto* | *qnx*) 7949 # QNX uses GNU C++, but need to define -shared option too, otherwise 7950 # it will coredump. 7951 lt_prog_compiler_pic='-fPIC -shared' 7952 ;; 7953 7954 sysv4*MP*) 7955 if test -d /usr/nec; then 7956 lt_prog_compiler_pic=-Kconform_pic 7957 fi 7958 ;; 7959 7960 *) 7961 lt_prog_compiler_pic='-fPIC' 7962 ;; 7963 esac 7964 else 7965 # PORTME Check for flag to pass linker flags through the system compiler. 7966 case $host_os in 7967 aix*) 7968 lt_prog_compiler_wl='-Wl,' 7969 if test "$host_cpu" = ia64; then 7970 # AIX 5 now supports IA64 processor 7971 lt_prog_compiler_static='-Bstatic' 7972 else 7973 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 7974 fi 7975 ;; 7976 7977 mingw* | cygwin* | pw32* | os2* | cegcc*) 7978 # This hack is so that the source file can tell whether it is being 7979 # built for inclusion in a dll (and should export symbols for example). 7980 lt_prog_compiler_pic='-DDLL_EXPORT' 7981 ;; 7982 7983 hpux9* | hpux10* | hpux11*) 7984 lt_prog_compiler_wl='-Wl,' 7985 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 7986 # not for PA HP-UX. 7987 case $host_cpu in 7988 hppa*64*|ia64*) 7989 # +Z the default 7990 ;; 7991 *) 7992 lt_prog_compiler_pic='+Z' 7993 ;; 7994 esac 7995 # Is there a better lt_prog_compiler_static that works with the bundled CC? 7996 lt_prog_compiler_static='${wl}-a ${wl}archive' 7997 ;; 7998 7999 irix5* | irix6* | nonstopux*) 8000 lt_prog_compiler_wl='-Wl,' 8001 # PIC (with -KPIC) is the default. 8002 lt_prog_compiler_static='-non_shared' 8003 ;; 8004 8005 linux* | k*bsd*-gnu) 8006 case $cc_basename in 8007 # old Intel for x86_64 which still supported -KPIC. 8008 ecc*) 8009 lt_prog_compiler_wl='-Wl,' 8010 lt_prog_compiler_pic='-KPIC' 8011 lt_prog_compiler_static='-static' 8012 ;; 8013 # icc used to be incompatible with GCC. 8014 # ICC 10 doesn't accept -KPIC any more. 8015 icc* | ifort*) 8016 lt_prog_compiler_wl='-Wl,' 8017 lt_prog_compiler_pic='-fPIC' 8018 lt_prog_compiler_static='-static' 8019 ;; 8020 # Lahey Fortran 8.1. 8021 lf95*) 8022 lt_prog_compiler_wl='-Wl,' 8023 lt_prog_compiler_pic='--shared' 8024 lt_prog_compiler_static='--static' 8025 ;; 8026 pgcc* | pgf77* | pgf90* | pgf95*) 8027 # Portland Group compilers (*not* the Pentium gcc compiler, 8028 # which looks to be a dead project) 8029 lt_prog_compiler_wl='-Wl,' 8030 lt_prog_compiler_pic='-fpic' 8031 lt_prog_compiler_static='-Bstatic' 8032 ;; 8033 ccc*) 8034 lt_prog_compiler_wl='-Wl,' 8035 # All Alpha code is PIC. 8036 lt_prog_compiler_static='-non_shared' 8037 ;; 8038 xl*) 8039 # IBM XL C 8.0/Fortran 10.1 on PPC 8040 lt_prog_compiler_wl='-Wl,' 8041 lt_prog_compiler_pic='-qpic' 8042 lt_prog_compiler_static='-qstaticlink' 8043 ;; 8044 *) 8045 case `$CC -V 2>&1 | sed 5q` in 8046 *Sun\ C*) 8047 # Sun C 5.9 8048 lt_prog_compiler_pic='-KPIC' 8049 lt_prog_compiler_static='-Bstatic' 8050 lt_prog_compiler_wl='-Wl,' 8051 ;; 8052 *Sun\ F*) 8053 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8054 lt_prog_compiler_pic='-KPIC' 8055 lt_prog_compiler_static='-Bstatic' 8056 lt_prog_compiler_wl='' 8057 ;; 8058 esac 8059 ;; 8060 esac 8061 ;; 8062 8063 newsos6) 8064 lt_prog_compiler_pic='-KPIC' 8065 lt_prog_compiler_static='-Bstatic' 8066 ;; 8067 8068 *nto* | *qnx*) 8069 # QNX uses GNU C++, but need to define -shared option too, otherwise 8070 # it will coredump. 8071 lt_prog_compiler_pic='-fPIC -shared' 8072 ;; 8073 8074 osf3* | osf4* | osf5*) 8075 lt_prog_compiler_wl='-Wl,' 8076 # All OSF/1 code is PIC. 8077 lt_prog_compiler_static='-non_shared' 8078 ;; 8079 8080 rdos*) 8081 lt_prog_compiler_static='-non_shared' 8082 ;; 8083 8084 solaris*) 8085 lt_prog_compiler_pic='-KPIC' 8086 lt_prog_compiler_static='-Bstatic' 8087 case $cc_basename in 8088 f77* | f90* | f95*) 8089 lt_prog_compiler_wl='-Qoption ld ';; 8090 *) 8091 lt_prog_compiler_wl='-Wl,';; 8092 esac 8093 ;; 8094 8095 sunos4*) 8096 lt_prog_compiler_wl='-Qoption ld ' 8097 lt_prog_compiler_pic='-PIC' 8098 lt_prog_compiler_static='-Bstatic' 8099 ;; 8100 8101 sysv4 | sysv4.2uw2* | sysv4.3*) 8102 lt_prog_compiler_wl='-Wl,' 8103 lt_prog_compiler_pic='-KPIC' 8104 lt_prog_compiler_static='-Bstatic' 8105 ;; 8106 8107 sysv4*MP*) 8108 if test -d /usr/nec ;then 8109 lt_prog_compiler_pic='-Kconform_pic' 8110 lt_prog_compiler_static='-Bstatic' 8111 fi 8112 ;; 8113 8114 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8115 lt_prog_compiler_wl='-Wl,' 8116 lt_prog_compiler_pic='-KPIC' 8117 lt_prog_compiler_static='-Bstatic' 8118 ;; 8119 8120 unicos*) 8121 lt_prog_compiler_wl='-Wl,' 8122 lt_prog_compiler_can_build_shared=no 8123 ;; 8124 8125 uts4*) 8126 lt_prog_compiler_pic='-pic' 8127 lt_prog_compiler_static='-Bstatic' 8128 ;; 8129 8130 *) 8131 lt_prog_compiler_can_build_shared=no 8132 ;; 8133 esac 8134 fi 8135 8136case $host_os in 8137 # For platforms which do not support PIC, -DPIC is meaningless: 8138 *djgpp*) 8139 lt_prog_compiler_pic= 8140 ;; 8141 *) 8142 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8143 ;; 8144esac 8145{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 8146$as_echo "$lt_prog_compiler_pic" >&6; } 8147 8148 8149 8150 8151 8152 8153# 8154# Check to make sure the PIC flag actually works. 8155# 8156if test -n "$lt_prog_compiler_pic"; then 8157 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8158$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8159if test "${lt_cv_prog_compiler_pic_works+set}" = set; then 8160 $as_echo_n "(cached) " >&6 8161else 8162 lt_cv_prog_compiler_pic_works=no 8163 ac_outfile=conftest.$ac_objext 8164 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8165 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 8166 # Insert the option either (1) after the last *FLAGS variable, or 8167 # (2) before a word containing "conftest.", or (3) at the end. 8168 # Note that $ac_compile itself does not contain backslashes and begins 8169 # with a dollar sign (not a hyphen), so the echo should work correctly. 8170 # The option is referenced via a variable to avoid confusing sed. 8171 lt_compile=`echo "$ac_compile" | $SED \ 8172 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8173 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8174 -e 's:$: $lt_compiler_flag:'` 8175 (eval echo "\"\$as_me:8175: $lt_compile\"" >&5) 8176 (eval "$lt_compile" 2>conftest.err) 8177 ac_status=$? 8178 cat conftest.err >&5 8179 echo "$as_me:8179: \$? = $ac_status" >&5 8180 if (exit $ac_status) && test -s "$ac_outfile"; then 8181 # The compiler can only warn and ignore the option if not recognized 8182 # So say no if there are warnings other than the usual output. 8183 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 8184 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8185 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8186 lt_cv_prog_compiler_pic_works=yes 8187 fi 8188 fi 8189 $RM conftest* 8190 8191fi 8192{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 8193$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8194 8195if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 8196 case $lt_prog_compiler_pic in 8197 "" | " "*) ;; 8198 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8199 esac 8200else 8201 lt_prog_compiler_pic= 8202 lt_prog_compiler_can_build_shared=no 8203fi 8204 8205fi 8206 8207 8208 8209 8210 8211 8212# 8213# Check to make sure the static flag actually works. 8214# 8215wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8216{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8217$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8218if test "${lt_cv_prog_compiler_static_works+set}" = set; then 8219 $as_echo_n "(cached) " >&6 8220else 8221 lt_cv_prog_compiler_static_works=no 8222 save_LDFLAGS="$LDFLAGS" 8223 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8224 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8225 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8226 # The linker can only warn and ignore the option if not recognized 8227 # So say no if there are warnings 8228 if test -s conftest.err; then 8229 # Append any errors to the config.log. 8230 cat conftest.err 1>&5 8231 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 8232 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8233 if diff conftest.exp conftest.er2 >/dev/null; then 8234 lt_cv_prog_compiler_static_works=yes 8235 fi 8236 else 8237 lt_cv_prog_compiler_static_works=yes 8238 fi 8239 fi 8240 $RM -r conftest* 8241 LDFLAGS="$save_LDFLAGS" 8242 8243fi 8244{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 8245$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8246 8247if test x"$lt_cv_prog_compiler_static_works" = xyes; then 8248 : 8249else 8250 lt_prog_compiler_static= 8251fi 8252 8253 8254 8255 8256 8257 8258 8259 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 8260$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8261if test "${lt_cv_prog_compiler_c_o+set}" = set; then 8262 $as_echo_n "(cached) " >&6 8263else 8264 lt_cv_prog_compiler_c_o=no 8265 $RM -r conftest 2>/dev/null 8266 mkdir conftest 8267 cd conftest 8268 mkdir out 8269 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8270 8271 lt_compiler_flag="-o out/conftest2.$ac_objext" 8272 # Insert the option either (1) after the last *FLAGS variable, or 8273 # (2) before a word containing "conftest.", or (3) at the end. 8274 # Note that $ac_compile itself does not contain backslashes and begins 8275 # with a dollar sign (not a hyphen), so the echo should work correctly. 8276 lt_compile=`echo "$ac_compile" | $SED \ 8277 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8278 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8279 -e 's:$: $lt_compiler_flag:'` 8280 (eval echo "\"\$as_me:8280: $lt_compile\"" >&5) 8281 (eval "$lt_compile" 2>out/conftest.err) 8282 ac_status=$? 8283 cat out/conftest.err >&5 8284 echo "$as_me:8284: \$? = $ac_status" >&5 8285 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8286 then 8287 # The compiler can only warn and ignore the option if not recognized 8288 # So say no if there are warnings 8289 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 8290 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8291 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8292 lt_cv_prog_compiler_c_o=yes 8293 fi 8294 fi 8295 chmod u+w . 2>&5 8296 $RM conftest* 8297 # SGI C++ compiler will create directory out/ii_files/ for 8298 # template instantiation 8299 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8300 $RM out/* && rmdir out 8301 cd .. 8302 $RM -r conftest 8303 $RM conftest* 8304 8305fi 8306{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 8307$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8308 8309 8310 8311 8312 8313 8314 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 8315$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8316if test "${lt_cv_prog_compiler_c_o+set}" = set; then 8317 $as_echo_n "(cached) " >&6 8318else 8319 lt_cv_prog_compiler_c_o=no 8320 $RM -r conftest 2>/dev/null 8321 mkdir conftest 8322 cd conftest 8323 mkdir out 8324 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8325 8326 lt_compiler_flag="-o out/conftest2.$ac_objext" 8327 # Insert the option either (1) after the last *FLAGS variable, or 8328 # (2) before a word containing "conftest.", or (3) at the end. 8329 # Note that $ac_compile itself does not contain backslashes and begins 8330 # with a dollar sign (not a hyphen), so the echo should work correctly. 8331 lt_compile=`echo "$ac_compile" | $SED \ 8332 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8333 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8334 -e 's:$: $lt_compiler_flag:'` 8335 (eval echo "\"\$as_me:8335: $lt_compile\"" >&5) 8336 (eval "$lt_compile" 2>out/conftest.err) 8337 ac_status=$? 8338 cat out/conftest.err >&5 8339 echo "$as_me:8339: \$? = $ac_status" >&5 8340 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8341 then 8342 # The compiler can only warn and ignore the option if not recognized 8343 # So say no if there are warnings 8344 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 8345 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8346 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8347 lt_cv_prog_compiler_c_o=yes 8348 fi 8349 fi 8350 chmod u+w . 2>&5 8351 $RM conftest* 8352 # SGI C++ compiler will create directory out/ii_files/ for 8353 # template instantiation 8354 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8355 $RM out/* && rmdir out 8356 cd .. 8357 $RM -r conftest 8358 $RM conftest* 8359 8360fi 8361{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 8362$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8363 8364 8365 8366 8367hard_links="nottested" 8368if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 8369 # do not overwrite the value of need_locks provided by the user 8370 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 8371$as_echo_n "checking if we can lock with hard links... " >&6; } 8372 hard_links=yes 8373 $RM conftest* 8374 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8375 touch conftest.a 8376 ln conftest.a conftest.b 2>&5 || hard_links=no 8377 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8378 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5 8379$as_echo "$hard_links" >&6; } 8380 if test "$hard_links" = no; then 8381 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 8382$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 8383 need_locks=warn 8384 fi 8385else 8386 need_locks=no 8387fi 8388 8389 8390 8391 8392 8393 8394 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8395$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8396 8397 runpath_var= 8398 allow_undefined_flag= 8399 always_export_symbols=no 8400 archive_cmds= 8401 archive_expsym_cmds= 8402 compiler_needs_object=no 8403 enable_shared_with_static_runtimes=no 8404 export_dynamic_flag_spec= 8405 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8406 hardcode_automatic=no 8407 hardcode_direct=no 8408 hardcode_direct_absolute=no 8409 hardcode_libdir_flag_spec= 8410 hardcode_libdir_flag_spec_ld= 8411 hardcode_libdir_separator= 8412 hardcode_minus_L=no 8413 hardcode_shlibpath_var=unsupported 8414 inherit_rpath=no 8415 link_all_deplibs=unknown 8416 module_cmds= 8417 module_expsym_cmds= 8418 old_archive_from_new_cmds= 8419 old_archive_from_expsyms_cmds= 8420 thread_safe_flag_spec= 8421 whole_archive_flag_spec= 8422 # include_expsyms should be a list of space-separated symbols to be *always* 8423 # included in the symbol list 8424 include_expsyms= 8425 # exclude_expsyms can be an extended regexp of symbols to exclude 8426 # it will be wrapped by ` (' and `)$', so one must not match beginning or 8427 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 8428 # as well as any symbol that contains `d'. 8429 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 8430 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8431 # platforms (ab)use it in PIC code, but their linkers get confused if 8432 # the symbol is explicitly referenced. Since portable code cannot 8433 # rely on this symbol name, it's probably fine to never include it in 8434 # preloaded symbol tables. 8435 # Exclude shared library initialization/finalization symbols. 8436 extract_expsyms_cmds= 8437 8438 case $host_os in 8439 cygwin* | mingw* | pw32* | cegcc*) 8440 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8441 # When not using gcc, we currently assume that we are using 8442 # Microsoft Visual C++. 8443 if test "$GCC" != yes; then 8444 with_gnu_ld=no 8445 fi 8446 ;; 8447 interix*) 8448 # we just hope/assume this is gcc and not c89 (= MSVC++) 8449 with_gnu_ld=yes 8450 ;; 8451 openbsd*) 8452 with_gnu_ld=no 8453 ;; 8454 esac 8455 8456 ld_shlibs=yes 8457 if test "$with_gnu_ld" = yes; then 8458 # If archive_cmds runs LD, not CC, wlarc should be empty 8459 wlarc='${wl}' 8460 8461 # Set some defaults for GNU ld with shared library support. These 8462 # are reset later if shared libraries are not supported. Putting them 8463 # here allows them to be overridden if necessary. 8464 runpath_var=LD_RUN_PATH 8465 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8466 export_dynamic_flag_spec='${wl}--export-dynamic' 8467 # ancient GNU ld didn't support --whole-archive et. al. 8468 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 8469 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 8470 else 8471 whole_archive_flag_spec= 8472 fi 8473 supports_anon_versioning=no 8474 case `$LD -v 2>&1` in 8475 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 8476 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 8477 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 8478 *\ 2.11.*) ;; # other 2.11 versions 8479 *) supports_anon_versioning=yes ;; 8480 esac 8481 8482 # See if GNU ld supports shared libraries. 8483 case $host_os in 8484 aix[3-9]*) 8485 # On AIX/PPC, the GNU linker is very broken 8486 if test "$host_cpu" != ia64; then 8487 ld_shlibs=no 8488 cat <<_LT_EOF 1>&2 8489 8490*** Warning: the GNU linker, at least up to release 2.9.1, is reported 8491*** to be unable to reliably create shared libraries on AIX. 8492*** Therefore, libtool is disabling shared libraries support. If you 8493*** really care for shared libraries, you may want to modify your PATH 8494*** so that a non-GNU linker is found, and then restart. 8495 8496_LT_EOF 8497 fi 8498 ;; 8499 8500 amigaos*) 8501 case $host_cpu in 8502 powerpc) 8503 # see comment about AmigaOS4 .so support 8504 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8505 archive_expsym_cmds='' 8506 ;; 8507 m68k) 8508 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)' 8509 hardcode_libdir_flag_spec='-L$libdir' 8510 hardcode_minus_L=yes 8511 ;; 8512 esac 8513 ;; 8514 8515 beos*) 8516 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8517 allow_undefined_flag=unsupported 8518 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 8519 # support --undefined. This deserves some investigation. FIXME 8520 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8521 else 8522 ld_shlibs=no 8523 fi 8524 ;; 8525 8526 cygwin* | mingw* | pw32* | cegcc*) 8527 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 8528 # as there is no search path for DLLs. 8529 hardcode_libdir_flag_spec='-L$libdir' 8530 allow_undefined_flag=unsupported 8531 always_export_symbols=no 8532 enable_shared_with_static_runtimes=yes 8533 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 8534 8535 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 8536 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8537 # If the export-symbols file already is a .def file (1st line 8538 # is EXPORTS), use it as is; otherwise, prepend... 8539 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 8540 cp $export_symbols $output_objdir/$soname.def; 8541 else 8542 echo EXPORTS > $output_objdir/$soname.def; 8543 cat $export_symbols >> $output_objdir/$soname.def; 8544 fi~ 8545 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8546 else 8547 ld_shlibs=no 8548 fi 8549 ;; 8550 8551 interix[3-9]*) 8552 hardcode_direct=no 8553 hardcode_shlibpath_var=no 8554 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8555 export_dynamic_flag_spec='${wl}-E' 8556 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 8557 # Instead, shared libraries are loaded at an image base (0x10000000 by 8558 # default) and relocated if they conflict, which is a slow very memory 8559 # consuming and fragmenting process. To avoid this, we pick a random, 8560 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 8561 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 8562 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8563 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' 8564 ;; 8565 8566 gnu* | linux* | tpf* | k*bsd*-gnu) 8567 tmp_diet=no 8568 if test "$host_os" = linux-dietlibc; then 8569 case $cc_basename in 8570 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 8571 esac 8572 fi 8573 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 8574 && test "$tmp_diet" = no 8575 then 8576 tmp_addflag= 8577 tmp_sharedflag='-shared' 8578 case $cc_basename,$host_cpu in 8579 pgcc*) # Portland Group C compiler 8580 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' 8581 tmp_addflag=' $pic_flag' 8582 ;; 8583 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 8584 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' 8585 tmp_addflag=' $pic_flag -Mnomain' ;; 8586 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 8587 tmp_addflag=' -i_dynamic' ;; 8588 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 8589 tmp_addflag=' -i_dynamic -nofor_main' ;; 8590 ifc* | ifort*) # Intel Fortran compiler 8591 tmp_addflag=' -nofor_main' ;; 8592 lf95*) # Lahey Fortran 8.1 8593 whole_archive_flag_spec= 8594 tmp_sharedflag='--shared' ;; 8595 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 8596 tmp_sharedflag='-qmkshrobj' 8597 tmp_addflag= ;; 8598 esac 8599 case `$CC -V 2>&1 | sed 5q` in 8600 *Sun\ C*) # Sun C 5.9 8601 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' 8602 compiler_needs_object=yes 8603 tmp_sharedflag='-G' ;; 8604 *Sun\ F*) # Sun Fortran 8.3 8605 tmp_sharedflag='-G' ;; 8606 esac 8607 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8608 8609 if test "x$supports_anon_versioning" = xyes; then 8610 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8611 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8612 echo "local: *; };" >> $output_objdir/$libname.ver~ 8613 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 8614 fi 8615 8616 case $cc_basename in 8617 xlf*) 8618 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 8619 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 8620 hardcode_libdir_flag_spec= 8621 hardcode_libdir_flag_spec_ld='-rpath $libdir' 8622 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' 8623 if test "x$supports_anon_versioning" = xyes; then 8624 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8625 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8626 echo "local: *; };" >> $output_objdir/$libname.ver~ 8627 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 8628 fi 8629 ;; 8630 esac 8631 else 8632 ld_shlibs=no 8633 fi 8634 ;; 8635 8636 netbsd* | netbsdelf*-gnu) 8637 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 8638 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 8639 wlarc= 8640 else 8641 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8642 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8643 fi 8644 ;; 8645 8646 solaris*) 8647 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 8648 ld_shlibs=no 8649 cat <<_LT_EOF 1>&2 8650 8651*** Warning: The releases 2.8.* of the GNU linker cannot reliably 8652*** create shared libraries on Solaris systems. Therefore, libtool 8653*** is disabling shared libraries support. We urge you to upgrade GNU 8654*** binutils to release 2.9.1 or newer. Another option is to modify 8655*** your PATH or compiler configuration so that the native linker is 8656*** used, and then restart. 8657 8658_LT_EOF 8659 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8660 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8661 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8662 else 8663 ld_shlibs=no 8664 fi 8665 ;; 8666 8667 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 8668 case `$LD -v 2>&1` in 8669 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 8670 ld_shlibs=no 8671 cat <<_LT_EOF 1>&2 8672 8673*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 8674*** reliably create shared libraries on SCO systems. Therefore, libtool 8675*** is disabling shared libraries support. We urge you to upgrade GNU 8676*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 8677*** your PATH or compiler configuration so that the native linker is 8678*** used, and then restart. 8679 8680_LT_EOF 8681 ;; 8682 *) 8683 # For security reasons, it is highly recommended that you always 8684 # use absolute paths for naming shared libraries, and exclude the 8685 # DT_RUNPATH tag from executables and libraries. But doing so 8686 # requires that you compile everything twice, which is a pain. 8687 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8688 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8689 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8690 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8691 else 8692 ld_shlibs=no 8693 fi 8694 ;; 8695 esac 8696 ;; 8697 8698 sunos4*) 8699 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8700 wlarc= 8701 hardcode_direct=yes 8702 hardcode_shlibpath_var=no 8703 ;; 8704 8705 *) 8706 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8707 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8708 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8709 else 8710 ld_shlibs=no 8711 fi 8712 ;; 8713 esac 8714 8715 if test "$ld_shlibs" = no; then 8716 runpath_var= 8717 hardcode_libdir_flag_spec= 8718 export_dynamic_flag_spec= 8719 whole_archive_flag_spec= 8720 fi 8721 else 8722 # PORTME fill in a description of your system's linker (not GNU ld) 8723 case $host_os in 8724 aix3*) 8725 allow_undefined_flag=unsupported 8726 always_export_symbols=yes 8727 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' 8728 # Note: this linker hardcodes the directories in LIBPATH if there 8729 # are no directories specified by -L. 8730 hardcode_minus_L=yes 8731 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 8732 # Neither direct hardcoding nor static linking is supported with a 8733 # broken collect2. 8734 hardcode_direct=unsupported 8735 fi 8736 ;; 8737 8738 aix[4-9]*) 8739 if test "$host_cpu" = ia64; then 8740 # On IA64, the linker does run time linking by default, so we don't 8741 # have to do anything special. 8742 aix_use_runtimelinking=no 8743 exp_sym_flag='-Bexport' 8744 no_entry_flag="" 8745 else 8746 # If we're using GNU nm, then we don't want the "-C" option. 8747 # -C means demangle to AIX nm, but means don't demangle with GNU nm 8748 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 8749 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 8750 else 8751 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 8752 fi 8753 aix_use_runtimelinking=no 8754 8755 # Test if we are trying to use run time linking or normal 8756 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 8757 # need to do runtime linking. 8758 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 8759 for ld_flag in $LDFLAGS; do 8760 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 8761 aix_use_runtimelinking=yes 8762 break 8763 fi 8764 done 8765 ;; 8766 esac 8767 8768 exp_sym_flag='-bexport' 8769 no_entry_flag='-bnoentry' 8770 fi 8771 8772 # When large executables or shared objects are built, AIX ld can 8773 # have problems creating the table of contents. If linking a library 8774 # or program results in "error TOC overflow" add -mminimal-toc to 8775 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 8776 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 8777 8778 archive_cmds='' 8779 hardcode_direct=yes 8780 hardcode_direct_absolute=yes 8781 hardcode_libdir_separator=':' 8782 link_all_deplibs=yes 8783 file_list_spec='${wl}-f,' 8784 8785 if test "$GCC" = yes; then 8786 case $host_os in aix4.[012]|aix4.[012].*) 8787 # We only want to do this on AIX 4.2 and lower, the check 8788 # below for broken collect2 doesn't work under 4.3+ 8789 collect2name=`${CC} -print-prog-name=collect2` 8790 if test -f "$collect2name" && 8791 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 8792 then 8793 # We have reworked collect2 8794 : 8795 else 8796 # We have old collect2 8797 hardcode_direct=unsupported 8798 # It fails to find uninstalled libraries when the uninstalled 8799 # path is not listed in the libpath. Setting hardcode_minus_L 8800 # to unsupported forces relinking 8801 hardcode_minus_L=yes 8802 hardcode_libdir_flag_spec='-L$libdir' 8803 hardcode_libdir_separator= 8804 fi 8805 ;; 8806 esac 8807 shared_flag='-shared' 8808 if test "$aix_use_runtimelinking" = yes; then 8809 shared_flag="$shared_flag "'${wl}-G' 8810 fi 8811 link_all_deplibs=no 8812 else 8813 # not using gcc 8814 if test "$host_cpu" = ia64; then 8815 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 8816 # chokes on -Wl,-G. The following line is correct: 8817 shared_flag='-G' 8818 else 8819 if test "$aix_use_runtimelinking" = yes; then 8820 shared_flag='${wl}-G' 8821 else 8822 shared_flag='${wl}-bM:SRE' 8823 fi 8824 fi 8825 fi 8826 8827 export_dynamic_flag_spec='${wl}-bexpall' 8828 # It seems that -bexpall does not export symbols beginning with 8829 # underscore (_), so it is better to generate a list of symbols to export. 8830 always_export_symbols=yes 8831 if test "$aix_use_runtimelinking" = yes; then 8832 # Warning - without using the other runtime loading flags (-brtl), 8833 # -berok will link without error, but may produce a broken library. 8834 allow_undefined_flag='-berok' 8835 # Determine the default libpath from the value encoded in an 8836 # empty executable. 8837 cat >conftest.$ac_ext <<_ACEOF 8838/* confdefs.h. */ 8839_ACEOF 8840cat confdefs.h >>conftest.$ac_ext 8841cat >>conftest.$ac_ext <<_ACEOF 8842/* end confdefs.h. */ 8843 8844int 8845main () 8846{ 8847 8848 ; 8849 return 0; 8850} 8851_ACEOF 8852rm -f conftest.$ac_objext conftest$ac_exeext 8853if { (ac_try="$ac_link" 8854case "(($ac_try" in 8855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8856 *) ac_try_echo=$ac_try;; 8857esac 8858eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8859$as_echo "$ac_try_echo") >&5 8860 (eval "$ac_link") 2>conftest.er1 8861 ac_status=$? 8862 grep -v '^ *+' conftest.er1 >conftest.err 8863 rm -f conftest.er1 8864 cat conftest.err >&5 8865 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8866 (exit $ac_status); } && { 8867 test -z "$ac_c_werror_flag" || 8868 test ! -s conftest.err 8869 } && test -s conftest$ac_exeext && { 8870 test "$cross_compiling" = yes || 8871 $as_test_x conftest$ac_exeext 8872 }; then 8873 8874lt_aix_libpath_sed=' 8875 /Import File Strings/,/^$/ { 8876 /^0/ { 8877 s/^0 *\(.*\)$/\1/ 8878 p 8879 } 8880 }' 8881aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8882# Check for a 64-bit object if we didn't find anything. 8883if test -z "$aix_libpath"; then 8884 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8885fi 8886else 8887 $as_echo "$as_me: failed program was:" >&5 8888sed 's/^/| /' conftest.$ac_ext >&5 8889 8890 8891fi 8892 8893rm -rf conftest.dSYM 8894rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8895 conftest$ac_exeext conftest.$ac_ext 8896if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8897 8898 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8899 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 8900 else 8901 if test "$host_cpu" = ia64; then 8902 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 8903 allow_undefined_flag="-z nodefs" 8904 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" 8905 else 8906 # Determine the default libpath from the value encoded in an 8907 # empty executable. 8908 cat >conftest.$ac_ext <<_ACEOF 8909/* confdefs.h. */ 8910_ACEOF 8911cat confdefs.h >>conftest.$ac_ext 8912cat >>conftest.$ac_ext <<_ACEOF 8913/* end confdefs.h. */ 8914 8915int 8916main () 8917{ 8918 8919 ; 8920 return 0; 8921} 8922_ACEOF 8923rm -f conftest.$ac_objext conftest$ac_exeext 8924if { (ac_try="$ac_link" 8925case "(($ac_try" in 8926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8927 *) ac_try_echo=$ac_try;; 8928esac 8929eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8930$as_echo "$ac_try_echo") >&5 8931 (eval "$ac_link") 2>conftest.er1 8932 ac_status=$? 8933 grep -v '^ *+' conftest.er1 >conftest.err 8934 rm -f conftest.er1 8935 cat conftest.err >&5 8936 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8937 (exit $ac_status); } && { 8938 test -z "$ac_c_werror_flag" || 8939 test ! -s conftest.err 8940 } && test -s conftest$ac_exeext && { 8941 test "$cross_compiling" = yes || 8942 $as_test_x conftest$ac_exeext 8943 }; then 8944 8945lt_aix_libpath_sed=' 8946 /Import File Strings/,/^$/ { 8947 /^0/ { 8948 s/^0 *\(.*\)$/\1/ 8949 p 8950 } 8951 }' 8952aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8953# Check for a 64-bit object if we didn't find anything. 8954if test -z "$aix_libpath"; then 8955 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8956fi 8957else 8958 $as_echo "$as_me: failed program was:" >&5 8959sed 's/^/| /' conftest.$ac_ext >&5 8960 8961 8962fi 8963 8964rm -rf conftest.dSYM 8965rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8966 conftest$ac_exeext conftest.$ac_ext 8967if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8968 8969 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8970 # Warning - without using the other run time loading flags, 8971 # -berok will link without error, but may produce a broken library. 8972 no_undefined_flag=' ${wl}-bernotok' 8973 allow_undefined_flag=' ${wl}-berok' 8974 # Exported symbols can be pulled into shared objects from archives 8975 whole_archive_flag_spec='$convenience' 8976 archive_cmds_need_lc=yes 8977 # This is similar to how AIX traditionally builds its shared libraries. 8978 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 8979 fi 8980 fi 8981 ;; 8982 8983 amigaos*) 8984 case $host_cpu in 8985 powerpc) 8986 # see comment about AmigaOS4 .so support 8987 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8988 archive_expsym_cmds='' 8989 ;; 8990 m68k) 8991 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)' 8992 hardcode_libdir_flag_spec='-L$libdir' 8993 hardcode_minus_L=yes 8994 ;; 8995 esac 8996 ;; 8997 8998 bsdi[45]*) 8999 export_dynamic_flag_spec=-rdynamic 9000 ;; 9001 9002 cygwin* | mingw* | pw32* | cegcc*) 9003 # When not using gcc, we currently assume that we are using 9004 # Microsoft Visual C++. 9005 # hardcode_libdir_flag_spec is actually meaningless, as there is 9006 # no search path for DLLs. 9007 hardcode_libdir_flag_spec=' ' 9008 allow_undefined_flag=unsupported 9009 # Tell ltmain to make .lib files, not .a files. 9010 libext=lib 9011 # Tell ltmain to make .dll files, not .so files. 9012 shrext_cmds=".dll" 9013 # FIXME: Setting linknames here is a bad hack. 9014 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' 9015 # The linker will automatically build a .lib file if we build a DLL. 9016 old_archive_from_new_cmds='true' 9017 # FIXME: Should let the user specify the lib program. 9018 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9019 fix_srcfile_path='`cygpath -w "$srcfile"`' 9020 enable_shared_with_static_runtimes=yes 9021 ;; 9022 9023 darwin* | rhapsody*) 9024 9025 9026 archive_cmds_need_lc=no 9027 hardcode_direct=no 9028 hardcode_automatic=yes 9029 hardcode_shlibpath_var=unsupported 9030 whole_archive_flag_spec='' 9031 link_all_deplibs=yes 9032 allow_undefined_flag="$_lt_dar_allow_undefined" 9033 case $cc_basename in 9034 ifort*) _lt_dar_can_shared=yes ;; 9035 *) _lt_dar_can_shared=$GCC ;; 9036 esac 9037 if test "$_lt_dar_can_shared" = "yes"; then 9038 output_verbose_link_cmd=echo 9039 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 9040 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 9041 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}" 9042 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}" 9043 9044 else 9045 ld_shlibs=no 9046 fi 9047 9048 ;; 9049 9050 dgux*) 9051 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9052 hardcode_libdir_flag_spec='-L$libdir' 9053 hardcode_shlibpath_var=no 9054 ;; 9055 9056 freebsd1*) 9057 ld_shlibs=no 9058 ;; 9059 9060 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9061 # support. Future versions do this automatically, but an explicit c++rt0.o 9062 # does not break anything, and helps significantly (at the cost of a little 9063 # extra space). 9064 freebsd2.2*) 9065 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9066 hardcode_libdir_flag_spec='-R$libdir' 9067 hardcode_direct=yes 9068 hardcode_shlibpath_var=no 9069 ;; 9070 9071 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9072 freebsd2*) 9073 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9074 hardcode_direct=yes 9075 hardcode_minus_L=yes 9076 hardcode_shlibpath_var=no 9077 ;; 9078 9079 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9080 freebsd* | dragonfly*) 9081 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 9082 hardcode_libdir_flag_spec='-R$libdir' 9083 hardcode_direct=yes 9084 hardcode_shlibpath_var=no 9085 ;; 9086 9087 hpux9*) 9088 if test "$GCC" = yes; then 9089 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 9090 else 9091 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 9092 fi 9093 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9094 hardcode_libdir_separator=: 9095 hardcode_direct=yes 9096 9097 # hardcode_minus_L: Not really in the search PATH, 9098 # but as the default location of the library. 9099 hardcode_minus_L=yes 9100 export_dynamic_flag_spec='${wl}-E' 9101 ;; 9102 9103 hpux10*) 9104 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 9105 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9106 else 9107 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9108 fi 9109 if test "$with_gnu_ld" = no; then 9110 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9111 hardcode_libdir_flag_spec_ld='+b $libdir' 9112 hardcode_libdir_separator=: 9113 hardcode_direct=yes 9114 hardcode_direct_absolute=yes 9115 export_dynamic_flag_spec='${wl}-E' 9116 # hardcode_minus_L: Not really in the search PATH, 9117 # but as the default location of the library. 9118 hardcode_minus_L=yes 9119 fi 9120 ;; 9121 9122 hpux11*) 9123 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 9124 case $host_cpu in 9125 hppa*64*) 9126 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9127 ;; 9128 ia64*) 9129 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9130 ;; 9131 *) 9132 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9133 ;; 9134 esac 9135 else 9136 case $host_cpu in 9137 hppa*64*) 9138 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9139 ;; 9140 ia64*) 9141 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9142 ;; 9143 *) 9144 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9145 ;; 9146 esac 9147 fi 9148 if test "$with_gnu_ld" = no; then 9149 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9150 hardcode_libdir_separator=: 9151 9152 case $host_cpu in 9153 hppa*64*|ia64*) 9154 hardcode_direct=no 9155 hardcode_shlibpath_var=no 9156 ;; 9157 *) 9158 hardcode_direct=yes 9159 hardcode_direct_absolute=yes 9160 export_dynamic_flag_spec='${wl}-E' 9161 9162 # hardcode_minus_L: Not really in the search PATH, 9163 # but as the default location of the library. 9164 hardcode_minus_L=yes 9165 ;; 9166 esac 9167 fi 9168 ;; 9169 9170 irix5* | irix6* | nonstopux*) 9171 if test "$GCC" = yes; then 9172 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 9173 # Try to use the -exported_symbol ld option, if it does not 9174 # work, assume that -exports_file does not work either and 9175 # implicitly export all symbols. 9176 save_LDFLAGS="$LDFLAGS" 9177 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 9178 cat >conftest.$ac_ext <<_ACEOF 9179int foo(void) {} 9180_ACEOF 9181rm -f conftest.$ac_objext conftest$ac_exeext 9182if { (ac_try="$ac_link" 9183case "(($ac_try" in 9184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9185 *) ac_try_echo=$ac_try;; 9186esac 9187eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9188$as_echo "$ac_try_echo") >&5 9189 (eval "$ac_link") 2>conftest.er1 9190 ac_status=$? 9191 grep -v '^ *+' conftest.er1 >conftest.err 9192 rm -f conftest.er1 9193 cat conftest.err >&5 9194 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9195 (exit $ac_status); } && { 9196 test -z "$ac_c_werror_flag" || 9197 test ! -s conftest.err 9198 } && test -s conftest$ac_exeext && { 9199 test "$cross_compiling" = yes || 9200 $as_test_x conftest$ac_exeext 9201 }; then 9202 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' 9203 9204else 9205 $as_echo "$as_me: failed program was:" >&5 9206sed 's/^/| /' conftest.$ac_ext >&5 9207 9208 9209fi 9210 9211rm -rf conftest.dSYM 9212rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9213 conftest$ac_exeext conftest.$ac_ext 9214 LDFLAGS="$save_LDFLAGS" 9215 else 9216 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 9217 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' 9218 fi 9219 archive_cmds_need_lc='no' 9220 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9221 hardcode_libdir_separator=: 9222 inherit_rpath=yes 9223 link_all_deplibs=yes 9224 ;; 9225 9226 netbsd* | netbsdelf*-gnu) 9227 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9228 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9229 else 9230 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9231 fi 9232 hardcode_libdir_flag_spec='-R$libdir' 9233 hardcode_direct=yes 9234 hardcode_shlibpath_var=no 9235 ;; 9236 9237 newsos6) 9238 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9239 hardcode_direct=yes 9240 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9241 hardcode_libdir_separator=: 9242 hardcode_shlibpath_var=no 9243 ;; 9244 9245 *nto* | *qnx*) 9246 ;; 9247 9248 openbsd*) 9249 if test -f /usr/libexec/ld.so; then 9250 hardcode_direct=yes 9251 hardcode_shlibpath_var=no 9252 hardcode_direct_absolute=yes 9253 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9254 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9255 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 9256 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9257 export_dynamic_flag_spec='${wl}-E' 9258 else 9259 case $host_os in 9260 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 9261 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9262 hardcode_libdir_flag_spec='-R$libdir' 9263 ;; 9264 *) 9265 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9266 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9267 ;; 9268 esac 9269 fi 9270 else 9271 ld_shlibs=no 9272 fi 9273 ;; 9274 9275 os2*) 9276 hardcode_libdir_flag_spec='-L$libdir' 9277 hardcode_minus_L=yes 9278 allow_undefined_flag=unsupported 9279 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' 9280 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 9281 ;; 9282 9283 osf3*) 9284 if test "$GCC" = yes; then 9285 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9286 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 9287 else 9288 allow_undefined_flag=' -expect_unresolved \*' 9289 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 9290 fi 9291 archive_cmds_need_lc='no' 9292 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9293 hardcode_libdir_separator=: 9294 ;; 9295 9296 osf4* | osf5*) # as osf3* with the addition of -msym flag 9297 if test "$GCC" = yes; then 9298 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9299 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 9300 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9301 else 9302 allow_undefined_flag=' -expect_unresolved \*' 9303 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 9304 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~ 9305 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' 9306 9307 # Both c and cxx compiler support -rpath directly 9308 hardcode_libdir_flag_spec='-rpath $libdir' 9309 fi 9310 archive_cmds_need_lc='no' 9311 hardcode_libdir_separator=: 9312 ;; 9313 9314 solaris*) 9315 no_undefined_flag=' -z defs' 9316 if test "$GCC" = yes; then 9317 wlarc='${wl}' 9318 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$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 -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9321 else 9322 case `$CC -V 2>&1` in 9323 *"Compilers 5.0"*) 9324 wlarc='' 9325 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 9326 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9327 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 9328 ;; 9329 *) 9330 wlarc='${wl}' 9331 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 9332 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9333 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9334 ;; 9335 esac 9336 fi 9337 hardcode_libdir_flag_spec='-R$libdir' 9338 hardcode_shlibpath_var=no 9339 case $host_os in 9340 solaris2.[0-5] | solaris2.[0-5].*) ;; 9341 *) 9342 # The compiler driver will combine and reorder linker options, 9343 # but understands `-z linker_flag'. GCC discards it without `$wl', 9344 # but is careful enough not to reorder. 9345 # Supported since Solaris 2.6 (maybe 2.5.1?) 9346 if test "$GCC" = yes; then 9347 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 9348 else 9349 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 9350 fi 9351 ;; 9352 esac 9353 link_all_deplibs=yes 9354 ;; 9355 9356 sunos4*) 9357 if test "x$host_vendor" = xsequent; then 9358 # Use $CC to link under sequent, because it throws in some extra .o 9359 # files that make .init and .fini sections work. 9360 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 9361 else 9362 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 9363 fi 9364 hardcode_libdir_flag_spec='-L$libdir' 9365 hardcode_direct=yes 9366 hardcode_minus_L=yes 9367 hardcode_shlibpath_var=no 9368 ;; 9369 9370 sysv4) 9371 case $host_vendor in 9372 sni) 9373 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9374 hardcode_direct=yes # is this really true??? 9375 ;; 9376 siemens) 9377 ## LD is ld it makes a PLAMLIB 9378 ## CC just makes a GrossModule. 9379 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 9380 reload_cmds='$CC -r -o $output$reload_objs' 9381 hardcode_direct=no 9382 ;; 9383 motorola) 9384 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9385 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 9386 ;; 9387 esac 9388 runpath_var='LD_RUN_PATH' 9389 hardcode_shlibpath_var=no 9390 ;; 9391 9392 sysv4.3*) 9393 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9394 hardcode_shlibpath_var=no 9395 export_dynamic_flag_spec='-Bexport' 9396 ;; 9397 9398 sysv4*MP*) 9399 if test -d /usr/nec; then 9400 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9401 hardcode_shlibpath_var=no 9402 runpath_var=LD_RUN_PATH 9403 hardcode_runpath_var=yes 9404 ld_shlibs=yes 9405 fi 9406 ;; 9407 9408 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 9409 no_undefined_flag='${wl}-z,text' 9410 archive_cmds_need_lc=no 9411 hardcode_shlibpath_var=no 9412 runpath_var='LD_RUN_PATH' 9413 9414 if test "$GCC" = yes; then 9415 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9416 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9417 else 9418 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9419 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9420 fi 9421 ;; 9422 9423 sysv5* | sco3.2v5* | sco5v6*) 9424 # Note: We can NOT use -z defs as we might desire, because we do not 9425 # link with -lc, and that would cause any symbols used from libc to 9426 # always be unresolved, which means just about no library would 9427 # ever link correctly. If we're not using GNU ld we use -z text 9428 # though, which does catch some bad symbols but isn't as heavy-handed 9429 # as -z defs. 9430 no_undefined_flag='${wl}-z,text' 9431 allow_undefined_flag='${wl}-z,nodefs' 9432 archive_cmds_need_lc=no 9433 hardcode_shlibpath_var=no 9434 hardcode_libdir_flag_spec='${wl}-R,$libdir' 9435 hardcode_libdir_separator=':' 9436 link_all_deplibs=yes 9437 export_dynamic_flag_spec='${wl}-Bexport' 9438 runpath_var='LD_RUN_PATH' 9439 9440 if test "$GCC" = yes; then 9441 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9442 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9443 else 9444 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9445 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9446 fi 9447 ;; 9448 9449 uts4*) 9450 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9451 hardcode_libdir_flag_spec='-L$libdir' 9452 hardcode_shlibpath_var=no 9453 ;; 9454 9455 *) 9456 ld_shlibs=no 9457 ;; 9458 esac 9459 9460 if test x$host_vendor = xsni; then 9461 case $host in 9462 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 9463 export_dynamic_flag_spec='${wl}-Blargedynsym' 9464 ;; 9465 esac 9466 fi 9467 fi 9468 9469{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5 9470$as_echo "$ld_shlibs" >&6; } 9471test "$ld_shlibs" = no && can_build_shared=no 9472 9473with_gnu_ld=$with_gnu_ld 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489# 9490# Do we need to explicitly link libc? 9491# 9492case "x$archive_cmds_need_lc" in 9493x|xyes) 9494 # Assume -lc should be added 9495 archive_cmds_need_lc=yes 9496 9497 if test "$enable_shared" = yes && test "$GCC" = yes; then 9498 case $archive_cmds in 9499 *'~'*) 9500 # FIXME: we may have to deal with multi-command sequences. 9501 ;; 9502 '$CC '*) 9503 # Test whether the compiler implicitly links with -lc since on some 9504 # systems, -lgcc has to come before -lc. If gcc already passes -lc 9505 # to ld, don't add -lc before -lgcc. 9506 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 9507$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 9508 $RM conftest* 9509 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9510 9511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9512 (eval $ac_compile) 2>&5 9513 ac_status=$? 9514 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9515 (exit $ac_status); } 2>conftest.err; then 9516 soname=conftest 9517 lib=conftest 9518 libobjs=conftest.$ac_objext 9519 deplibs= 9520 wl=$lt_prog_compiler_wl 9521 pic_flag=$lt_prog_compiler_pic 9522 compiler_flags=-v 9523 linker_flags=-v 9524 verstring= 9525 output_objdir=. 9526 libname=conftest 9527 lt_save_allow_undefined_flag=$allow_undefined_flag 9528 allow_undefined_flag= 9529 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 9530 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 9531 ac_status=$? 9532 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9533 (exit $ac_status); } 9534 then 9535 archive_cmds_need_lc=no 9536 else 9537 archive_cmds_need_lc=yes 9538 fi 9539 allow_undefined_flag=$lt_save_allow_undefined_flag 9540 else 9541 cat conftest.err 1>&5 9542 fi 9543 $RM conftest* 9544 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 9545$as_echo "$archive_cmds_need_lc" >&6; } 9546 ;; 9547 esac 9548 fi 9549 ;; 9550esac 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 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 9709$as_echo_n "checking dynamic linker characteristics... " >&6; } 9710 9711if test "$GCC" = yes; then 9712 case $host_os in 9713 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 9714 *) lt_awk_arg="/^libraries:/" ;; 9715 esac 9716 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` 9717 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then 9718 # if the path contains ";" then we assume it to be the separator 9719 # otherwise default to the standard path separator (i.e. ":") - it is 9720 # assumed that no part of a normal pathname contains ";" but that should 9721 # okay in the real world where ";" in dirpaths is itself problematic. 9722 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` 9723 else 9724 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 9725 fi 9726 # Ok, now we have the path, separated by spaces, we can step through it 9727 # and add multilib dir if necessary. 9728 lt_tmp_lt_search_path_spec= 9729 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 9730 for lt_sys_path in $lt_search_path_spec; do 9731 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 9732 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 9733 else 9734 test -d "$lt_sys_path" && \ 9735 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 9736 fi 9737 done 9738 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' 9739BEGIN {RS=" "; FS="/|\n";} { 9740 lt_foo=""; 9741 lt_count=0; 9742 for (lt_i = NF; lt_i > 0; lt_i--) { 9743 if ($lt_i != "" && $lt_i != ".") { 9744 if ($lt_i == "..") { 9745 lt_count++; 9746 } else { 9747 if (lt_count == 0) { 9748 lt_foo="/" $lt_i lt_foo; 9749 } else { 9750 lt_count--; 9751 } 9752 } 9753 } 9754 } 9755 if (lt_foo != "") { lt_freq[lt_foo]++; } 9756 if (lt_freq[lt_foo] == 1) { print lt_foo; } 9757}'` 9758 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` 9759else 9760 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 9761fi 9762library_names_spec= 9763libname_spec='lib$name' 9764soname_spec= 9765shrext_cmds=".so" 9766postinstall_cmds= 9767postuninstall_cmds= 9768finish_cmds= 9769finish_eval= 9770shlibpath_var= 9771shlibpath_overrides_runpath=unknown 9772version_type=none 9773dynamic_linker="$host_os ld.so" 9774sys_lib_dlsearch_path_spec="/lib /usr/lib" 9775need_lib_prefix=unknown 9776hardcode_into_libs=no 9777 9778# when you set need_version to no, make sure it does not cause -set_version 9779# flags to be left without arguments 9780need_version=unknown 9781 9782case $host_os in 9783aix3*) 9784 version_type=linux 9785 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 9786 shlibpath_var=LIBPATH 9787 9788 # AIX 3 has no versioning support, so we append a major version to the name. 9789 soname_spec='${libname}${release}${shared_ext}$major' 9790 ;; 9791 9792aix[4-9]*) 9793 version_type=linux 9794 need_lib_prefix=no 9795 need_version=no 9796 hardcode_into_libs=yes 9797 if test "$host_cpu" = ia64; then 9798 # AIX 5 supports IA64 9799 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 9800 shlibpath_var=LD_LIBRARY_PATH 9801 else 9802 # With GCC up to 2.95.x, collect2 would create an import file 9803 # for dependence libraries. The import file would start with 9804 # the line `#! .'. This would cause the generated library to 9805 # depend on `.', always an invalid library. This was fixed in 9806 # development snapshots of GCC prior to 3.0. 9807 case $host_os in 9808 aix4 | aix4.[01] | aix4.[01].*) 9809 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 9810 echo ' yes ' 9811 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 9812 : 9813 else 9814 can_build_shared=no 9815 fi 9816 ;; 9817 esac 9818 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 9819 # soname into executable. Probably we can add versioning support to 9820 # collect2, so additional links can be useful in future. 9821 if test "$aix_use_runtimelinking" = yes; then 9822 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 9823 # instead of lib<name>.a to let people know that these are not 9824 # typical AIX shared libraries. 9825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9826 else 9827 # We preserve .a as extension for shared libraries through AIX4.2 9828 # and later when we are not doing run time linking. 9829 library_names_spec='${libname}${release}.a $libname.a' 9830 soname_spec='${libname}${release}${shared_ext}$major' 9831 fi 9832 shlibpath_var=LIBPATH 9833 fi 9834 ;; 9835 9836amigaos*) 9837 case $host_cpu in 9838 powerpc) 9839 # Since July 2007 AmigaOS4 officially supports .so libraries. 9840 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 9841 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9842 ;; 9843 m68k) 9844 library_names_spec='$libname.ixlibrary $libname.a' 9845 # Create ${libname}_ixlibrary.a entries in /sys/libs. 9846 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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' 9847 ;; 9848 esac 9849 ;; 9850 9851beos*) 9852 library_names_spec='${libname}${shared_ext}' 9853 dynamic_linker="$host_os ld.so" 9854 shlibpath_var=LIBRARY_PATH 9855 ;; 9856 9857bsdi[45]*) 9858 version_type=linux 9859 need_version=no 9860 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9861 soname_spec='${libname}${release}${shared_ext}$major' 9862 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 9863 shlibpath_var=LD_LIBRARY_PATH 9864 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 9865 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 9866 # the default ld.so.conf also contains /usr/contrib/lib and 9867 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 9868 # libtool to hard-code these into programs 9869 ;; 9870 9871cygwin* | mingw* | pw32* | cegcc*) 9872 version_type=windows 9873 shrext_cmds=".dll" 9874 need_version=no 9875 need_lib_prefix=no 9876 9877 case $GCC,$host_os in 9878 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) 9879 library_names_spec='$libname.dll.a' 9880 # DLL is installed to $(libdir)/../bin by postinstall_cmds 9881 postinstall_cmds='base_file=`basename \${file}`~ 9882 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 9883 dldir=$destdir/`dirname \$dlpath`~ 9884 test -d \$dldir || mkdir -p \$dldir~ 9885 $install_prog $dir/$dlname \$dldir/$dlname~ 9886 chmod a+x \$dldir/$dlname~ 9887 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 9888 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 9889 fi' 9890 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 9891 dlpath=$dir/\$dldll~ 9892 $RM \$dlpath' 9893 shlibpath_overrides_runpath=yes 9894 9895 case $host_os in 9896 cygwin*) 9897 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 9898 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9899 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 9900 ;; 9901 mingw* | cegcc*) 9902 # MinGW DLLs use traditional 'lib' prefix 9903 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9904 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 9905 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 9906 # It is most probably a Windows format PATH printed by 9907 # mingw gcc, but we are running on Cygwin. Gcc prints its search 9908 # path with ; separators, and with drive letters. We can handle the 9909 # drive letters (cygwin fileutils understands them), so leave them, 9910 # especially as we might pass files found there to a mingw objdump, 9911 # which wouldn't understand a cygwinified path. Ahh. 9912 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 9913 else 9914 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 9915 fi 9916 ;; 9917 pw32*) 9918 # pw32 DLLs use 'pw' prefix rather than 'lib' 9919 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9920 ;; 9921 esac 9922 ;; 9923 9924 *) 9925 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 9926 ;; 9927 esac 9928 dynamic_linker='Win32 ld.exe' 9929 # FIXME: first we should search . and the directory the executable is in 9930 shlibpath_var=PATH 9931 ;; 9932 9933darwin* | rhapsody*) 9934 dynamic_linker="$host_os dyld" 9935 version_type=darwin 9936 need_lib_prefix=no 9937 need_version=no 9938 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 9939 soname_spec='${libname}${release}${major}$shared_ext' 9940 shlibpath_overrides_runpath=yes 9941 shlibpath_var=DYLD_LIBRARY_PATH 9942 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 9943 9944 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 9945 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 9946 ;; 9947 9948dgux*) 9949 version_type=linux 9950 need_lib_prefix=no 9951 need_version=no 9952 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 9953 soname_spec='${libname}${release}${shared_ext}$major' 9954 shlibpath_var=LD_LIBRARY_PATH 9955 ;; 9956 9957freebsd1*) 9958 dynamic_linker=no 9959 ;; 9960 9961freebsd* | dragonfly*) 9962 # DragonFly does not have aout. When/if they implement a new 9963 # versioning mechanism, adjust this. 9964 if test -x /usr/bin/objformat; then 9965 objformat=`/usr/bin/objformat` 9966 else 9967 case $host_os in 9968 freebsd[123]*) objformat=aout ;; 9969 *) objformat=elf ;; 9970 esac 9971 fi 9972 version_type=freebsd-$objformat 9973 case $version_type in 9974 freebsd-elf*) 9975 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 9976 need_version=no 9977 need_lib_prefix=no 9978 ;; 9979 freebsd-*) 9980 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 9981 need_version=yes 9982 ;; 9983 esac 9984 shlibpath_var=LD_LIBRARY_PATH 9985 case $host_os in 9986 freebsd2*) 9987 shlibpath_overrides_runpath=yes 9988 ;; 9989 freebsd3.[01]* | freebsdelf3.[01]*) 9990 shlibpath_overrides_runpath=yes 9991 hardcode_into_libs=yes 9992 ;; 9993 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 9994 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 9995 shlibpath_overrides_runpath=no 9996 hardcode_into_libs=yes 9997 ;; 9998 *) # from 4.6 on, and DragonFly 9999 shlibpath_overrides_runpath=yes 10000 hardcode_into_libs=yes 10001 ;; 10002 esac 10003 ;; 10004 10005gnu*) 10006 version_type=linux 10007 need_lib_prefix=no 10008 need_version=no 10009 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10010 soname_spec='${libname}${release}${shared_ext}$major' 10011 shlibpath_var=LD_LIBRARY_PATH 10012 hardcode_into_libs=yes 10013 ;; 10014 10015hpux9* | hpux10* | hpux11*) 10016 # Give a soname corresponding to the major version so that dld.sl refuses to 10017 # link against other versions. 10018 version_type=sunos 10019 need_lib_prefix=no 10020 need_version=no 10021 case $host_cpu in 10022 ia64*) 10023 shrext_cmds='.so' 10024 hardcode_into_libs=yes 10025 dynamic_linker="$host_os dld.so" 10026 shlibpath_var=LD_LIBRARY_PATH 10027 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10028 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10029 soname_spec='${libname}${release}${shared_ext}$major' 10030 if test "X$HPUX_IA64_MODE" = X32; then 10031 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10032 else 10033 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10034 fi 10035 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10036 ;; 10037 hppa*64*) 10038 shrext_cmds='.sl' 10039 hardcode_into_libs=yes 10040 dynamic_linker="$host_os dld.sl" 10041 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10042 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10043 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10044 soname_spec='${libname}${release}${shared_ext}$major' 10045 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10046 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10047 ;; 10048 *) 10049 shrext_cmds='.sl' 10050 dynamic_linker="$host_os dld.sl" 10051 shlibpath_var=SHLIB_PATH 10052 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10053 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10054 soname_spec='${libname}${release}${shared_ext}$major' 10055 ;; 10056 esac 10057 # HP-UX runs *really* slowly unless shared libraries are mode 555. 10058 postinstall_cmds='chmod 555 $lib' 10059 ;; 10060 10061interix[3-9]*) 10062 version_type=linux 10063 need_lib_prefix=no 10064 need_version=no 10065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10066 soname_spec='${libname}${release}${shared_ext}$major' 10067 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10068 shlibpath_var=LD_LIBRARY_PATH 10069 shlibpath_overrides_runpath=no 10070 hardcode_into_libs=yes 10071 ;; 10072 10073irix5* | irix6* | nonstopux*) 10074 case $host_os in 10075 nonstopux*) version_type=nonstopux ;; 10076 *) 10077 if test "$lt_cv_prog_gnu_ld" = yes; then 10078 version_type=linux 10079 else 10080 version_type=irix 10081 fi ;; 10082 esac 10083 need_lib_prefix=no 10084 need_version=no 10085 soname_spec='${libname}${release}${shared_ext}$major' 10086 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 10087 case $host_os in 10088 irix5* | nonstopux*) 10089 libsuff= shlibsuff= 10090 ;; 10091 *) 10092 case $LD in # libtool.m4 will add one of these switches to LD 10093 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10094 libsuff= shlibsuff= libmagic=32-bit;; 10095 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10096 libsuff=32 shlibsuff=N32 libmagic=N32;; 10097 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10098 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10099 *) libsuff= shlibsuff= libmagic=never-match;; 10100 esac 10101 ;; 10102 esac 10103 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10104 shlibpath_overrides_runpath=no 10105 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 10106 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 10107 hardcode_into_libs=yes 10108 ;; 10109 10110# No shared lib support for Linux oldld, aout, or coff. 10111linux*oldld* | linux*aout* | linux*coff*) 10112 dynamic_linker=no 10113 ;; 10114 10115# This must be Linux ELF. 10116linux* | k*bsd*-gnu) 10117 version_type=linux 10118 need_lib_prefix=no 10119 need_version=no 10120 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10121 soname_spec='${libname}${release}${shared_ext}$major' 10122 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10123 shlibpath_var=LD_LIBRARY_PATH 10124 shlibpath_overrides_runpath=no 10125 # Some binutils ld are patched to set DT_RUNPATH 10126 save_LDFLAGS=$LDFLAGS 10127 save_libdir=$libdir 10128 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10129 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 10130 cat >conftest.$ac_ext <<_ACEOF 10131/* confdefs.h. */ 10132_ACEOF 10133cat confdefs.h >>conftest.$ac_ext 10134cat >>conftest.$ac_ext <<_ACEOF 10135/* end confdefs.h. */ 10136 10137int 10138main () 10139{ 10140 10141 ; 10142 return 0; 10143} 10144_ACEOF 10145rm -f conftest.$ac_objext conftest$ac_exeext 10146if { (ac_try="$ac_link" 10147case "(($ac_try" in 10148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10149 *) ac_try_echo=$ac_try;; 10150esac 10151eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10152$as_echo "$ac_try_echo") >&5 10153 (eval "$ac_link") 2>conftest.er1 10154 ac_status=$? 10155 grep -v '^ *+' conftest.er1 >conftest.err 10156 rm -f conftest.er1 10157 cat conftest.err >&5 10158 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10159 (exit $ac_status); } && { 10160 test -z "$ac_c_werror_flag" || 10161 test ! -s conftest.err 10162 } && test -s conftest$ac_exeext && { 10163 test "$cross_compiling" = yes || 10164 $as_test_x conftest$ac_exeext 10165 }; then 10166 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then 10167 shlibpath_overrides_runpath=yes 10168fi 10169 10170else 10171 $as_echo "$as_me: failed program was:" >&5 10172sed 's/^/| /' conftest.$ac_ext >&5 10173 10174 10175fi 10176 10177rm -rf conftest.dSYM 10178rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10179 conftest$ac_exeext conftest.$ac_ext 10180 LDFLAGS=$save_LDFLAGS 10181 libdir=$save_libdir 10182 10183 # This implies no fast_install, which is unacceptable. 10184 # Some rework will be needed to allow for fast_install 10185 # before this can be enabled. 10186 hardcode_into_libs=yes 10187 10188 # Append ld.so.conf contents to the search path 10189 if test -f /etc/ld.so.conf; then 10190 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;/^$/d' | tr '\n' ' '` 10191 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 10192 fi 10193 10194 # We used to test for /lib/ld.so.1 and disable shared libraries on 10195 # powerpc, because MkLinux only supported shared libraries with the 10196 # GNU dynamic linker. Since this was broken with cross compilers, 10197 # most powerpc-linux boxes support dynamic linking these days and 10198 # people can always --disable-shared, the test was removed, and we 10199 # assume the GNU/Linux dynamic linker is in use. 10200 dynamic_linker='GNU/Linux ld.so' 10201 ;; 10202 10203netbsdelf*-gnu) 10204 version_type=linux 10205 need_lib_prefix=no 10206 need_version=no 10207 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10208 soname_spec='${libname}${release}${shared_ext}$major' 10209 shlibpath_var=LD_LIBRARY_PATH 10210 shlibpath_overrides_runpath=no 10211 hardcode_into_libs=yes 10212 dynamic_linker='NetBSD ld.elf_so' 10213 ;; 10214 10215netbsd*) 10216 version_type=sunos 10217 need_lib_prefix=no 10218 need_version=no 10219 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10220 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10221 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10222 dynamic_linker='NetBSD (a.out) ld.so' 10223 else 10224 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10225 soname_spec='${libname}${release}${shared_ext}$major' 10226 dynamic_linker='NetBSD ld.elf_so' 10227 fi 10228 shlibpath_var=LD_LIBRARY_PATH 10229 shlibpath_overrides_runpath=yes 10230 hardcode_into_libs=yes 10231 ;; 10232 10233newsos6) 10234 version_type=linux 10235 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10236 shlibpath_var=LD_LIBRARY_PATH 10237 shlibpath_overrides_runpath=yes 10238 ;; 10239 10240*nto* | *qnx*) 10241 version_type=qnx 10242 need_lib_prefix=no 10243 need_version=no 10244 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10245 soname_spec='${libname}${release}${shared_ext}$major' 10246 shlibpath_var=LD_LIBRARY_PATH 10247 shlibpath_overrides_runpath=no 10248 hardcode_into_libs=yes 10249 dynamic_linker='ldqnx.so' 10250 ;; 10251 10252openbsd*) 10253 version_type=sunos 10254 sys_lib_dlsearch_path_spec="/usr/lib" 10255 need_lib_prefix=no 10256 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 10257 case $host_os in 10258 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 10259 *) need_version=no ;; 10260 esac 10261 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10262 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10263 shlibpath_var=LD_LIBRARY_PATH 10264 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10265 case $host_os in 10266 openbsd2.[89] | openbsd2.[89].*) 10267 shlibpath_overrides_runpath=no 10268 ;; 10269 *) 10270 shlibpath_overrides_runpath=yes 10271 ;; 10272 esac 10273 else 10274 shlibpath_overrides_runpath=yes 10275 fi 10276 ;; 10277 10278os2*) 10279 libname_spec='$name' 10280 shrext_cmds=".dll" 10281 need_lib_prefix=no 10282 library_names_spec='$libname${shared_ext} $libname.a' 10283 dynamic_linker='OS/2 ld.exe' 10284 shlibpath_var=LIBPATH 10285 ;; 10286 10287osf3* | osf4* | osf5*) 10288 version_type=osf 10289 need_lib_prefix=no 10290 need_version=no 10291 soname_spec='${libname}${release}${shared_ext}$major' 10292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10293 shlibpath_var=LD_LIBRARY_PATH 10294 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 10295 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 10296 ;; 10297 10298rdos*) 10299 dynamic_linker=no 10300 ;; 10301 10302solaris*) 10303 version_type=linux 10304 need_lib_prefix=no 10305 need_version=no 10306 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10307 soname_spec='${libname}${release}${shared_ext}$major' 10308 shlibpath_var=LD_LIBRARY_PATH 10309 shlibpath_overrides_runpath=yes 10310 hardcode_into_libs=yes 10311 # ldd complains unless libraries are executable 10312 postinstall_cmds='chmod +x $lib' 10313 ;; 10314 10315sunos4*) 10316 version_type=sunos 10317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10318 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 10319 shlibpath_var=LD_LIBRARY_PATH 10320 shlibpath_overrides_runpath=yes 10321 if test "$with_gnu_ld" = yes; then 10322 need_lib_prefix=no 10323 fi 10324 need_version=yes 10325 ;; 10326 10327sysv4 | sysv4.3*) 10328 version_type=linux 10329 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10330 soname_spec='${libname}${release}${shared_ext}$major' 10331 shlibpath_var=LD_LIBRARY_PATH 10332 case $host_vendor in 10333 sni) 10334 shlibpath_overrides_runpath=no 10335 need_lib_prefix=no 10336 runpath_var=LD_RUN_PATH 10337 ;; 10338 siemens) 10339 need_lib_prefix=no 10340 ;; 10341 motorola) 10342 need_lib_prefix=no 10343 need_version=no 10344 shlibpath_overrides_runpath=no 10345 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 10346 ;; 10347 esac 10348 ;; 10349 10350sysv4*MP*) 10351 if test -d /usr/nec ;then 10352 version_type=linux 10353 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 10354 soname_spec='$libname${shared_ext}.$major' 10355 shlibpath_var=LD_LIBRARY_PATH 10356 fi 10357 ;; 10358 10359sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 10360 version_type=freebsd-elf 10361 need_lib_prefix=no 10362 need_version=no 10363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10364 soname_spec='${libname}${release}${shared_ext}$major' 10365 shlibpath_var=LD_LIBRARY_PATH 10366 shlibpath_overrides_runpath=yes 10367 hardcode_into_libs=yes 10368 if test "$with_gnu_ld" = yes; then 10369 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 10370 else 10371 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 10372 case $host_os in 10373 sco3.2v5*) 10374 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 10375 ;; 10376 esac 10377 fi 10378 sys_lib_dlsearch_path_spec='/usr/lib' 10379 ;; 10380 10381tpf*) 10382 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 10383 version_type=linux 10384 need_lib_prefix=no 10385 need_version=no 10386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10387 shlibpath_var=LD_LIBRARY_PATH 10388 shlibpath_overrides_runpath=no 10389 hardcode_into_libs=yes 10390 ;; 10391 10392uts4*) 10393 version_type=linux 10394 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10395 soname_spec='${libname}${release}${shared_ext}$major' 10396 shlibpath_var=LD_LIBRARY_PATH 10397 ;; 10398 10399*) 10400 dynamic_linker=no 10401 ;; 10402esac 10403{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 10404$as_echo "$dynamic_linker" >&6; } 10405test "$dynamic_linker" = no && can_build_shared=no 10406 10407variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 10408if test "$GCC" = yes; then 10409 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 10410fi 10411 10412if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 10413 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 10414fi 10415if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 10416 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 10417fi 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 10506$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 10507hardcode_action= 10508if test -n "$hardcode_libdir_flag_spec" || 10509 test -n "$runpath_var" || 10510 test "X$hardcode_automatic" = "Xyes" ; then 10511 10512 # We can hardcode non-existent directories. 10513 if test "$hardcode_direct" != no && 10514 # If the only mechanism to avoid hardcoding is shlibpath_var, we 10515 # have to relink, otherwise we might link with an installed library 10516 # when we should be linking with a yet-to-be-installed one 10517 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 10518 test "$hardcode_minus_L" != no; then 10519 # Linking always hardcodes the temporary library directory. 10520 hardcode_action=relink 10521 else 10522 # We can link without hardcoding, and we can hardcode nonexisting dirs. 10523 hardcode_action=immediate 10524 fi 10525else 10526 # We cannot hardcode anything, or else we can only hardcode existing 10527 # directories. 10528 hardcode_action=unsupported 10529fi 10530{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5 10531$as_echo "$hardcode_action" >&6; } 10532 10533if test "$hardcode_action" = relink || 10534 test "$inherit_rpath" = yes; then 10535 # Fast installation is not supported 10536 enable_fast_install=no 10537elif test "$shlibpath_overrides_runpath" = yes || 10538 test "$enable_shared" = no; then 10539 # Fast installation is not necessary 10540 enable_fast_install=needless 10541fi 10542 10543 10544 10545 10546 10547 10548 if test "x$enable_dlopen" != xyes; then 10549 enable_dlopen=unknown 10550 enable_dlopen_self=unknown 10551 enable_dlopen_self_static=unknown 10552else 10553 lt_cv_dlopen=no 10554 lt_cv_dlopen_libs= 10555 10556 case $host_os in 10557 beos*) 10558 lt_cv_dlopen="load_add_on" 10559 lt_cv_dlopen_libs= 10560 lt_cv_dlopen_self=yes 10561 ;; 10562 10563 mingw* | pw32* | cegcc*) 10564 lt_cv_dlopen="LoadLibrary" 10565 lt_cv_dlopen_libs= 10566 ;; 10567 10568 cygwin*) 10569 lt_cv_dlopen="dlopen" 10570 lt_cv_dlopen_libs= 10571 ;; 10572 10573 darwin*) 10574 # if libdl is installed we need to link against it 10575 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 10576$as_echo_n "checking for dlopen in -ldl... " >&6; } 10577if test "${ac_cv_lib_dl_dlopen+set}" = set; then 10578 $as_echo_n "(cached) " >&6 10579else 10580 ac_check_lib_save_LIBS=$LIBS 10581LIBS="-ldl $LIBS" 10582cat >conftest.$ac_ext <<_ACEOF 10583/* confdefs.h. */ 10584_ACEOF 10585cat confdefs.h >>conftest.$ac_ext 10586cat >>conftest.$ac_ext <<_ACEOF 10587/* end confdefs.h. */ 10588 10589/* Override any GCC internal prototype to avoid an error. 10590 Use char because int might match the return type of a GCC 10591 builtin and then its argument prototype would still apply. */ 10592#ifdef __cplusplus 10593extern "C" 10594#endif 10595char dlopen (); 10596int 10597main () 10598{ 10599return dlopen (); 10600 ; 10601 return 0; 10602} 10603_ACEOF 10604rm -f conftest.$ac_objext conftest$ac_exeext 10605if { (ac_try="$ac_link" 10606case "(($ac_try" in 10607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10608 *) ac_try_echo=$ac_try;; 10609esac 10610eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10611$as_echo "$ac_try_echo") >&5 10612 (eval "$ac_link") 2>conftest.er1 10613 ac_status=$? 10614 grep -v '^ *+' conftest.er1 >conftest.err 10615 rm -f conftest.er1 10616 cat conftest.err >&5 10617 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10618 (exit $ac_status); } && { 10619 test -z "$ac_c_werror_flag" || 10620 test ! -s conftest.err 10621 } && test -s conftest$ac_exeext && { 10622 test "$cross_compiling" = yes || 10623 $as_test_x conftest$ac_exeext 10624 }; then 10625 ac_cv_lib_dl_dlopen=yes 10626else 10627 $as_echo "$as_me: failed program was:" >&5 10628sed 's/^/| /' conftest.$ac_ext >&5 10629 10630 ac_cv_lib_dl_dlopen=no 10631fi 10632 10633rm -rf conftest.dSYM 10634rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10635 conftest$ac_exeext conftest.$ac_ext 10636LIBS=$ac_check_lib_save_LIBS 10637fi 10638{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 10639$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10640if test "x$ac_cv_lib_dl_dlopen" = x""yes; then 10641 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10642else 10643 10644 lt_cv_dlopen="dyld" 10645 lt_cv_dlopen_libs= 10646 lt_cv_dlopen_self=yes 10647 10648fi 10649 10650 ;; 10651 10652 *) 10653 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5 10654$as_echo_n "checking for shl_load... " >&6; } 10655if test "${ac_cv_func_shl_load+set}" = set; then 10656 $as_echo_n "(cached) " >&6 10657else 10658 cat >conftest.$ac_ext <<_ACEOF 10659/* confdefs.h. */ 10660_ACEOF 10661cat confdefs.h >>conftest.$ac_ext 10662cat >>conftest.$ac_ext <<_ACEOF 10663/* end confdefs.h. */ 10664/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. 10665 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 10666#define shl_load innocuous_shl_load 10667 10668/* System header to define __stub macros and hopefully few prototypes, 10669 which can conflict with char shl_load (); below. 10670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 10671 <limits.h> exists even on freestanding compilers. */ 10672 10673#ifdef __STDC__ 10674# include <limits.h> 10675#else 10676# include <assert.h> 10677#endif 10678 10679#undef shl_load 10680 10681/* Override any GCC internal prototype to avoid an error. 10682 Use char because int might match the return type of a GCC 10683 builtin and then its argument prototype would still apply. */ 10684#ifdef __cplusplus 10685extern "C" 10686#endif 10687char shl_load (); 10688/* The GNU C library defines this for functions which it implements 10689 to always fail with ENOSYS. Some functions are actually named 10690 something starting with __ and the normal name is an alias. */ 10691#if defined __stub_shl_load || defined __stub___shl_load 10692choke me 10693#endif 10694 10695int 10696main () 10697{ 10698return shl_load (); 10699 ; 10700 return 0; 10701} 10702_ACEOF 10703rm -f conftest.$ac_objext conftest$ac_exeext 10704if { (ac_try="$ac_link" 10705case "(($ac_try" in 10706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10707 *) ac_try_echo=$ac_try;; 10708esac 10709eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10710$as_echo "$ac_try_echo") >&5 10711 (eval "$ac_link") 2>conftest.er1 10712 ac_status=$? 10713 grep -v '^ *+' conftest.er1 >conftest.err 10714 rm -f conftest.er1 10715 cat conftest.err >&5 10716 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10717 (exit $ac_status); } && { 10718 test -z "$ac_c_werror_flag" || 10719 test ! -s conftest.err 10720 } && test -s conftest$ac_exeext && { 10721 test "$cross_compiling" = yes || 10722 $as_test_x conftest$ac_exeext 10723 }; then 10724 ac_cv_func_shl_load=yes 10725else 10726 $as_echo "$as_me: failed program was:" >&5 10727sed 's/^/| /' conftest.$ac_ext >&5 10728 10729 ac_cv_func_shl_load=no 10730fi 10731 10732rm -rf conftest.dSYM 10733rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10734 conftest$ac_exeext conftest.$ac_ext 10735fi 10736{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 10737$as_echo "$ac_cv_func_shl_load" >&6; } 10738if test "x$ac_cv_func_shl_load" = x""yes; then 10739 lt_cv_dlopen="shl_load" 10740else 10741 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 10742$as_echo_n "checking for shl_load in -ldld... " >&6; } 10743if test "${ac_cv_lib_dld_shl_load+set}" = set; then 10744 $as_echo_n "(cached) " >&6 10745else 10746 ac_check_lib_save_LIBS=$LIBS 10747LIBS="-ldld $LIBS" 10748cat >conftest.$ac_ext <<_ACEOF 10749/* confdefs.h. */ 10750_ACEOF 10751cat confdefs.h >>conftest.$ac_ext 10752cat >>conftest.$ac_ext <<_ACEOF 10753/* end confdefs.h. */ 10754 10755/* Override any GCC internal prototype to avoid an error. 10756 Use char because int might match the return type of a GCC 10757 builtin and then its argument prototype would still apply. */ 10758#ifdef __cplusplus 10759extern "C" 10760#endif 10761char shl_load (); 10762int 10763main () 10764{ 10765return shl_load (); 10766 ; 10767 return 0; 10768} 10769_ACEOF 10770rm -f conftest.$ac_objext conftest$ac_exeext 10771if { (ac_try="$ac_link" 10772case "(($ac_try" in 10773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10774 *) ac_try_echo=$ac_try;; 10775esac 10776eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10777$as_echo "$ac_try_echo") >&5 10778 (eval "$ac_link") 2>conftest.er1 10779 ac_status=$? 10780 grep -v '^ *+' conftest.er1 >conftest.err 10781 rm -f conftest.er1 10782 cat conftest.err >&5 10783 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10784 (exit $ac_status); } && { 10785 test -z "$ac_c_werror_flag" || 10786 test ! -s conftest.err 10787 } && test -s conftest$ac_exeext && { 10788 test "$cross_compiling" = yes || 10789 $as_test_x conftest$ac_exeext 10790 }; then 10791 ac_cv_lib_dld_shl_load=yes 10792else 10793 $as_echo "$as_me: failed program was:" >&5 10794sed 's/^/| /' conftest.$ac_ext >&5 10795 10796 ac_cv_lib_dld_shl_load=no 10797fi 10798 10799rm -rf conftest.dSYM 10800rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10801 conftest$ac_exeext conftest.$ac_ext 10802LIBS=$ac_check_lib_save_LIBS 10803fi 10804{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 10805$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 10806if test "x$ac_cv_lib_dld_shl_load" = x""yes; then 10807 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 10808else 10809 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5 10810$as_echo_n "checking for dlopen... " >&6; } 10811if test "${ac_cv_func_dlopen+set}" = set; then 10812 $as_echo_n "(cached) " >&6 10813else 10814 cat >conftest.$ac_ext <<_ACEOF 10815/* confdefs.h. */ 10816_ACEOF 10817cat confdefs.h >>conftest.$ac_ext 10818cat >>conftest.$ac_ext <<_ACEOF 10819/* end confdefs.h. */ 10820/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. 10821 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 10822#define dlopen innocuous_dlopen 10823 10824/* System header to define __stub macros and hopefully few prototypes, 10825 which can conflict with char dlopen (); below. 10826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 10827 <limits.h> exists even on freestanding compilers. */ 10828 10829#ifdef __STDC__ 10830# include <limits.h> 10831#else 10832# include <assert.h> 10833#endif 10834 10835#undef dlopen 10836 10837/* Override any GCC internal prototype to avoid an error. 10838 Use char because int might match the return type of a GCC 10839 builtin and then its argument prototype would still apply. */ 10840#ifdef __cplusplus 10841extern "C" 10842#endif 10843char dlopen (); 10844/* The GNU C library defines this for functions which it implements 10845 to always fail with ENOSYS. Some functions are actually named 10846 something starting with __ and the normal name is an alias. */ 10847#if defined __stub_dlopen || defined __stub___dlopen 10848choke me 10849#endif 10850 10851int 10852main () 10853{ 10854return dlopen (); 10855 ; 10856 return 0; 10857} 10858_ACEOF 10859rm -f conftest.$ac_objext conftest$ac_exeext 10860if { (ac_try="$ac_link" 10861case "(($ac_try" in 10862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10863 *) ac_try_echo=$ac_try;; 10864esac 10865eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10866$as_echo "$ac_try_echo") >&5 10867 (eval "$ac_link") 2>conftest.er1 10868 ac_status=$? 10869 grep -v '^ *+' conftest.er1 >conftest.err 10870 rm -f conftest.er1 10871 cat conftest.err >&5 10872 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10873 (exit $ac_status); } && { 10874 test -z "$ac_c_werror_flag" || 10875 test ! -s conftest.err 10876 } && test -s conftest$ac_exeext && { 10877 test "$cross_compiling" = yes || 10878 $as_test_x conftest$ac_exeext 10879 }; then 10880 ac_cv_func_dlopen=yes 10881else 10882 $as_echo "$as_me: failed program was:" >&5 10883sed 's/^/| /' conftest.$ac_ext >&5 10884 10885 ac_cv_func_dlopen=no 10886fi 10887 10888rm -rf conftest.dSYM 10889rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10890 conftest$ac_exeext conftest.$ac_ext 10891fi 10892{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 10893$as_echo "$ac_cv_func_dlopen" >&6; } 10894if test "x$ac_cv_func_dlopen" = x""yes; then 10895 lt_cv_dlopen="dlopen" 10896else 10897 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 10898$as_echo_n "checking for dlopen in -ldl... " >&6; } 10899if test "${ac_cv_lib_dl_dlopen+set}" = set; then 10900 $as_echo_n "(cached) " >&6 10901else 10902 ac_check_lib_save_LIBS=$LIBS 10903LIBS="-ldl $LIBS" 10904cat >conftest.$ac_ext <<_ACEOF 10905/* confdefs.h. */ 10906_ACEOF 10907cat confdefs.h >>conftest.$ac_ext 10908cat >>conftest.$ac_ext <<_ACEOF 10909/* end confdefs.h. */ 10910 10911/* Override any GCC internal prototype to avoid an error. 10912 Use char because int might match the return type of a GCC 10913 builtin and then its argument prototype would still apply. */ 10914#ifdef __cplusplus 10915extern "C" 10916#endif 10917char dlopen (); 10918int 10919main () 10920{ 10921return dlopen (); 10922 ; 10923 return 0; 10924} 10925_ACEOF 10926rm -f conftest.$ac_objext conftest$ac_exeext 10927if { (ac_try="$ac_link" 10928case "(($ac_try" in 10929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10930 *) ac_try_echo=$ac_try;; 10931esac 10932eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10933$as_echo "$ac_try_echo") >&5 10934 (eval "$ac_link") 2>conftest.er1 10935 ac_status=$? 10936 grep -v '^ *+' conftest.er1 >conftest.err 10937 rm -f conftest.er1 10938 cat conftest.err >&5 10939 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10940 (exit $ac_status); } && { 10941 test -z "$ac_c_werror_flag" || 10942 test ! -s conftest.err 10943 } && test -s conftest$ac_exeext && { 10944 test "$cross_compiling" = yes || 10945 $as_test_x conftest$ac_exeext 10946 }; then 10947 ac_cv_lib_dl_dlopen=yes 10948else 10949 $as_echo "$as_me: failed program was:" >&5 10950sed 's/^/| /' conftest.$ac_ext >&5 10951 10952 ac_cv_lib_dl_dlopen=no 10953fi 10954 10955rm -rf conftest.dSYM 10956rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10957 conftest$ac_exeext conftest.$ac_ext 10958LIBS=$ac_check_lib_save_LIBS 10959fi 10960{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 10961$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10962if test "x$ac_cv_lib_dl_dlopen" = x""yes; then 10963 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10964else 10965 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 10966$as_echo_n "checking for dlopen in -lsvld... " >&6; } 10967if test "${ac_cv_lib_svld_dlopen+set}" = set; then 10968 $as_echo_n "(cached) " >&6 10969else 10970 ac_check_lib_save_LIBS=$LIBS 10971LIBS="-lsvld $LIBS" 10972cat >conftest.$ac_ext <<_ACEOF 10973/* confdefs.h. */ 10974_ACEOF 10975cat confdefs.h >>conftest.$ac_ext 10976cat >>conftest.$ac_ext <<_ACEOF 10977/* end confdefs.h. */ 10978 10979/* Override any GCC internal prototype to avoid an error. 10980 Use char because int might match the return type of a GCC 10981 builtin and then its argument prototype would still apply. */ 10982#ifdef __cplusplus 10983extern "C" 10984#endif 10985char dlopen (); 10986int 10987main () 10988{ 10989return dlopen (); 10990 ; 10991 return 0; 10992} 10993_ACEOF 10994rm -f conftest.$ac_objext conftest$ac_exeext 10995if { (ac_try="$ac_link" 10996case "(($ac_try" in 10997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10998 *) ac_try_echo=$ac_try;; 10999esac 11000eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11001$as_echo "$ac_try_echo") >&5 11002 (eval "$ac_link") 2>conftest.er1 11003 ac_status=$? 11004 grep -v '^ *+' conftest.er1 >conftest.err 11005 rm -f conftest.er1 11006 cat conftest.err >&5 11007 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11008 (exit $ac_status); } && { 11009 test -z "$ac_c_werror_flag" || 11010 test ! -s conftest.err 11011 } && test -s conftest$ac_exeext && { 11012 test "$cross_compiling" = yes || 11013 $as_test_x conftest$ac_exeext 11014 }; then 11015 ac_cv_lib_svld_dlopen=yes 11016else 11017 $as_echo "$as_me: failed program was:" >&5 11018sed 's/^/| /' conftest.$ac_ext >&5 11019 11020 ac_cv_lib_svld_dlopen=no 11021fi 11022 11023rm -rf conftest.dSYM 11024rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11025 conftest$ac_exeext conftest.$ac_ext 11026LIBS=$ac_check_lib_save_LIBS 11027fi 11028{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 11029$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11030if test "x$ac_cv_lib_svld_dlopen" = x""yes; then 11031 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 11032else 11033 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 11034$as_echo_n "checking for dld_link in -ldld... " >&6; } 11035if test "${ac_cv_lib_dld_dld_link+set}" = set; then 11036 $as_echo_n "(cached) " >&6 11037else 11038 ac_check_lib_save_LIBS=$LIBS 11039LIBS="-ldld $LIBS" 11040cat >conftest.$ac_ext <<_ACEOF 11041/* confdefs.h. */ 11042_ACEOF 11043cat confdefs.h >>conftest.$ac_ext 11044cat >>conftest.$ac_ext <<_ACEOF 11045/* end confdefs.h. */ 11046 11047/* Override any GCC internal prototype to avoid an error. 11048 Use char because int might match the return type of a GCC 11049 builtin and then its argument prototype would still apply. */ 11050#ifdef __cplusplus 11051extern "C" 11052#endif 11053char dld_link (); 11054int 11055main () 11056{ 11057return dld_link (); 11058 ; 11059 return 0; 11060} 11061_ACEOF 11062rm -f conftest.$ac_objext conftest$ac_exeext 11063if { (ac_try="$ac_link" 11064case "(($ac_try" in 11065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11066 *) ac_try_echo=$ac_try;; 11067esac 11068eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11069$as_echo "$ac_try_echo") >&5 11070 (eval "$ac_link") 2>conftest.er1 11071 ac_status=$? 11072 grep -v '^ *+' conftest.er1 >conftest.err 11073 rm -f conftest.er1 11074 cat conftest.err >&5 11075 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11076 (exit $ac_status); } && { 11077 test -z "$ac_c_werror_flag" || 11078 test ! -s conftest.err 11079 } && test -s conftest$ac_exeext && { 11080 test "$cross_compiling" = yes || 11081 $as_test_x conftest$ac_exeext 11082 }; then 11083 ac_cv_lib_dld_dld_link=yes 11084else 11085 $as_echo "$as_me: failed program was:" >&5 11086sed 's/^/| /' conftest.$ac_ext >&5 11087 11088 ac_cv_lib_dld_dld_link=no 11089fi 11090 11091rm -rf conftest.dSYM 11092rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11093 conftest$ac_exeext conftest.$ac_ext 11094LIBS=$ac_check_lib_save_LIBS 11095fi 11096{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 11097$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11098if test "x$ac_cv_lib_dld_dld_link" = x""yes; then 11099 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 11100fi 11101 11102 11103fi 11104 11105 11106fi 11107 11108 11109fi 11110 11111 11112fi 11113 11114 11115fi 11116 11117 ;; 11118 esac 11119 11120 if test "x$lt_cv_dlopen" != xno; then 11121 enable_dlopen=yes 11122 else 11123 enable_dlopen=no 11124 fi 11125 11126 case $lt_cv_dlopen in 11127 dlopen) 11128 save_CPPFLAGS="$CPPFLAGS" 11129 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11130 11131 save_LDFLAGS="$LDFLAGS" 11132 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11133 11134 save_LIBS="$LIBS" 11135 LIBS="$lt_cv_dlopen_libs $LIBS" 11136 11137 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 11138$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11139if test "${lt_cv_dlopen_self+set}" = set; then 11140 $as_echo_n "(cached) " >&6 11141else 11142 if test "$cross_compiling" = yes; then : 11143 lt_cv_dlopen_self=cross 11144else 11145 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11146 lt_status=$lt_dlunknown 11147 cat > conftest.$ac_ext <<_LT_EOF 11148#line 11148 "configure" 11149#include "confdefs.h" 11150 11151#if HAVE_DLFCN_H 11152#include <dlfcn.h> 11153#endif 11154 11155#include <stdio.h> 11156 11157#ifdef RTLD_GLOBAL 11158# define LT_DLGLOBAL RTLD_GLOBAL 11159#else 11160# ifdef DL_GLOBAL 11161# define LT_DLGLOBAL DL_GLOBAL 11162# else 11163# define LT_DLGLOBAL 0 11164# endif 11165#endif 11166 11167/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11168 find out it does not work in some platform. */ 11169#ifndef LT_DLLAZY_OR_NOW 11170# ifdef RTLD_LAZY 11171# define LT_DLLAZY_OR_NOW RTLD_LAZY 11172# else 11173# ifdef DL_LAZY 11174# define LT_DLLAZY_OR_NOW DL_LAZY 11175# else 11176# ifdef RTLD_NOW 11177# define LT_DLLAZY_OR_NOW RTLD_NOW 11178# else 11179# ifdef DL_NOW 11180# define LT_DLLAZY_OR_NOW DL_NOW 11181# else 11182# define LT_DLLAZY_OR_NOW 0 11183# endif 11184# endif 11185# endif 11186# endif 11187#endif 11188 11189void fnord() { int i=42;} 11190int main () 11191{ 11192 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11193 int status = $lt_dlunknown; 11194 11195 if (self) 11196 { 11197 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11198 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11199 /* dlclose (self); */ 11200 } 11201 else 11202 puts (dlerror ()); 11203 11204 return status; 11205} 11206_LT_EOF 11207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11208 (eval $ac_link) 2>&5 11209 ac_status=$? 11210 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11211 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 11212 (./conftest; exit; ) >&5 2>/dev/null 11213 lt_status=$? 11214 case x$lt_status in 11215 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11216 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11217 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11218 esac 11219 else : 11220 # compilation failed 11221 lt_cv_dlopen_self=no 11222 fi 11223fi 11224rm -fr conftest* 11225 11226 11227fi 11228{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 11229$as_echo "$lt_cv_dlopen_self" >&6; } 11230 11231 if test "x$lt_cv_dlopen_self" = xyes; then 11232 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11233 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 11234$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11235if test "${lt_cv_dlopen_self_static+set}" = set; then 11236 $as_echo_n "(cached) " >&6 11237else 11238 if test "$cross_compiling" = yes; then : 11239 lt_cv_dlopen_self_static=cross 11240else 11241 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11242 lt_status=$lt_dlunknown 11243 cat > conftest.$ac_ext <<_LT_EOF 11244#line 11244 "configure" 11245#include "confdefs.h" 11246 11247#if HAVE_DLFCN_H 11248#include <dlfcn.h> 11249#endif 11250 11251#include <stdio.h> 11252 11253#ifdef RTLD_GLOBAL 11254# define LT_DLGLOBAL RTLD_GLOBAL 11255#else 11256# ifdef DL_GLOBAL 11257# define LT_DLGLOBAL DL_GLOBAL 11258# else 11259# define LT_DLGLOBAL 0 11260# endif 11261#endif 11262 11263/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11264 find out it does not work in some platform. */ 11265#ifndef LT_DLLAZY_OR_NOW 11266# ifdef RTLD_LAZY 11267# define LT_DLLAZY_OR_NOW RTLD_LAZY 11268# else 11269# ifdef DL_LAZY 11270# define LT_DLLAZY_OR_NOW DL_LAZY 11271# else 11272# ifdef RTLD_NOW 11273# define LT_DLLAZY_OR_NOW RTLD_NOW 11274# else 11275# ifdef DL_NOW 11276# define LT_DLLAZY_OR_NOW DL_NOW 11277# else 11278# define LT_DLLAZY_OR_NOW 0 11279# endif 11280# endif 11281# endif 11282# endif 11283#endif 11284 11285void fnord() { int i=42;} 11286int main () 11287{ 11288 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11289 int status = $lt_dlunknown; 11290 11291 if (self) 11292 { 11293 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11294 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11295 /* dlclose (self); */ 11296 } 11297 else 11298 puts (dlerror ()); 11299 11300 return status; 11301} 11302_LT_EOF 11303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11304 (eval $ac_link) 2>&5 11305 ac_status=$? 11306 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11307 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 11308 (./conftest; exit; ) >&5 2>/dev/null 11309 lt_status=$? 11310 case x$lt_status in 11311 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11312 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11313 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11314 esac 11315 else : 11316 # compilation failed 11317 lt_cv_dlopen_self_static=no 11318 fi 11319fi 11320rm -fr conftest* 11321 11322 11323fi 11324{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 11325$as_echo "$lt_cv_dlopen_self_static" >&6; } 11326 fi 11327 11328 CPPFLAGS="$save_CPPFLAGS" 11329 LDFLAGS="$save_LDFLAGS" 11330 LIBS="$save_LIBS" 11331 ;; 11332 esac 11333 11334 case $lt_cv_dlopen_self in 11335 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11336 *) enable_dlopen_self=unknown ;; 11337 esac 11338 11339 case $lt_cv_dlopen_self_static in 11340 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11341 *) enable_dlopen_self_static=unknown ;; 11342 esac 11343fi 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361striplib= 11362old_striplib= 11363{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 11364$as_echo_n "checking whether stripping libraries is possible... " >&6; } 11365if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11366 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11367 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11368 { $as_echo "$as_me:$LINENO: result: yes" >&5 11369$as_echo "yes" >&6; } 11370else 11371# FIXME - insert some real tests, host_os isn't really good enough 11372 case $host_os in 11373 darwin*) 11374 if test -n "$STRIP" ; then 11375 striplib="$STRIP -x" 11376 old_striplib="$STRIP -S" 11377 { $as_echo "$as_me:$LINENO: result: yes" >&5 11378$as_echo "yes" >&6; } 11379 else 11380 { $as_echo "$as_me:$LINENO: result: no" >&5 11381$as_echo "no" >&6; } 11382 fi 11383 ;; 11384 *) 11385 { $as_echo "$as_me:$LINENO: result: no" >&5 11386$as_echo "no" >&6; } 11387 ;; 11388 esac 11389fi 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 # Report which library types will actually be built 11403 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 11404$as_echo_n "checking if libtool supports shared libraries... " >&6; } 11405 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5 11406$as_echo "$can_build_shared" >&6; } 11407 11408 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 11409$as_echo_n "checking whether to build shared libraries... " >&6; } 11410 test "$can_build_shared" = "no" && enable_shared=no 11411 11412 # On AIX, shared libraries and static libraries use the same namespace, and 11413 # are all built from PIC. 11414 case $host_os in 11415 aix3*) 11416 test "$enable_shared" = yes && enable_static=no 11417 if test -n "$RANLIB"; then 11418 archive_cmds="$archive_cmds~\$RANLIB \$lib" 11419 postinstall_cmds='$RANLIB $lib' 11420 fi 11421 ;; 11422 11423 aix[4-9]*) 11424 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 11425 test "$enable_shared" = yes && enable_static=no 11426 fi 11427 ;; 11428 esac 11429 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5 11430$as_echo "$enable_shared" >&6; } 11431 11432 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5 11433$as_echo_n "checking whether to build static libraries... " >&6; } 11434 # Make sure either enable_shared or enable_static is yes. 11435 test "$enable_shared" = yes || enable_static=yes 11436 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5 11437$as_echo "$enable_static" >&6; } 11438 11439 11440 11441 11442fi 11443ac_ext=c 11444ac_cpp='$CPP $CPPFLAGS' 11445ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11446ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11447ac_compiler_gnu=$ac_cv_c_compiler_gnu 11448 11449CC="$lt_save_CC" 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 ac_config_commands="$ac_config_commands libtool" 11464 11465 11466 11467 11468# Only expand once: 11469 11470 11471 11472{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 11473$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 11474if test "${ac_cv_c_const+set}" = set; then 11475 $as_echo_n "(cached) " >&6 11476else 11477 cat >conftest.$ac_ext <<_ACEOF 11478/* confdefs.h. */ 11479_ACEOF 11480cat confdefs.h >>conftest.$ac_ext 11481cat >>conftest.$ac_ext <<_ACEOF 11482/* end confdefs.h. */ 11483 11484int 11485main () 11486{ 11487/* FIXME: Include the comments suggested by Paul. */ 11488#ifndef __cplusplus 11489 /* Ultrix mips cc rejects this. */ 11490 typedef int charset[2]; 11491 const charset cs; 11492 /* SunOS 4.1.1 cc rejects this. */ 11493 char const *const *pcpcc; 11494 char **ppc; 11495 /* NEC SVR4.0.2 mips cc rejects this. */ 11496 struct point {int x, y;}; 11497 static struct point const zero = {0,0}; 11498 /* AIX XL C 1.02.0.0 rejects this. 11499 It does not let you subtract one const X* pointer from another in 11500 an arm of an if-expression whose if-part is not a constant 11501 expression */ 11502 const char *g = "string"; 11503 pcpcc = &g + (g ? g-g : 0); 11504 /* HPUX 7.0 cc rejects these. */ 11505 ++pcpcc; 11506 ppc = (char**) pcpcc; 11507 pcpcc = (char const *const *) ppc; 11508 { /* SCO 3.2v4 cc rejects this. */ 11509 char *t; 11510 char const *s = 0 ? (char *) 0 : (char const *) 0; 11511 11512 *t++ = 0; 11513 if (s) return 0; 11514 } 11515 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 11516 int x[] = {25, 17}; 11517 const int *foo = &x[0]; 11518 ++foo; 11519 } 11520 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 11521 typedef const int *iptr; 11522 iptr p = 0; 11523 ++p; 11524 } 11525 { /* AIX XL C 1.02.0.0 rejects this saying 11526 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 11527 struct s { int j; const int *ap[3]; }; 11528 struct s *b; b->j = 5; 11529 } 11530 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 11531 const int foo = 10; 11532 if (!foo) return 0; 11533 } 11534 return !cs[0] && !zero.x; 11535#endif 11536 11537 ; 11538 return 0; 11539} 11540_ACEOF 11541rm -f conftest.$ac_objext 11542if { (ac_try="$ac_compile" 11543case "(($ac_try" in 11544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11545 *) ac_try_echo=$ac_try;; 11546esac 11547eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11548$as_echo "$ac_try_echo") >&5 11549 (eval "$ac_compile") 2>conftest.er1 11550 ac_status=$? 11551 grep -v '^ *+' conftest.er1 >conftest.err 11552 rm -f conftest.er1 11553 cat conftest.err >&5 11554 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11555 (exit $ac_status); } && { 11556 test -z "$ac_c_werror_flag" || 11557 test ! -s conftest.err 11558 } && test -s conftest.$ac_objext; then 11559 ac_cv_c_const=yes 11560else 11561 $as_echo "$as_me: failed program was:" >&5 11562sed 's/^/| /' conftest.$ac_ext >&5 11563 11564 ac_cv_c_const=no 11565fi 11566 11567rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11568fi 11569{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 11570$as_echo "$ac_cv_c_const" >&6; } 11571if test $ac_cv_c_const = no; then 11572 11573cat >>confdefs.h <<\_ACEOF 11574#define const /**/ 11575_ACEOF 11576 11577fi 11578 11579 11580# gettext 11581ALL_LINGUAS="af be cs da de el eo es eu fi fr ga gl hu hy id it ja ky lt lv mn ms nb nl pl pt pt_BR rm ro ru rw sk sl sq sr sv th tr uk vi wa zh_CN zh_HK zh_TW" 11582 11583 11584for ac_header in locale.h 11585do 11586as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11587if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11588 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11589$as_echo_n "checking for $ac_header... " >&6; } 11590if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11591 $as_echo_n "(cached) " >&6 11592fi 11593ac_res=`eval 'as_val=${'$as_ac_Header'} 11594 $as_echo "$as_val"'` 11595 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11596$as_echo "$ac_res" >&6; } 11597else 11598 # Is the header compilable? 11599{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 11600$as_echo_n "checking $ac_header usability... " >&6; } 11601cat >conftest.$ac_ext <<_ACEOF 11602/* confdefs.h. */ 11603_ACEOF 11604cat confdefs.h >>conftest.$ac_ext 11605cat >>conftest.$ac_ext <<_ACEOF 11606/* end confdefs.h. */ 11607$ac_includes_default 11608#include <$ac_header> 11609_ACEOF 11610rm -f conftest.$ac_objext 11611if { (ac_try="$ac_compile" 11612case "(($ac_try" in 11613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11614 *) ac_try_echo=$ac_try;; 11615esac 11616eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11617$as_echo "$ac_try_echo") >&5 11618 (eval "$ac_compile") 2>conftest.er1 11619 ac_status=$? 11620 grep -v '^ *+' conftest.er1 >conftest.err 11621 rm -f conftest.er1 11622 cat conftest.err >&5 11623 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11624 (exit $ac_status); } && { 11625 test -z "$ac_c_werror_flag" || 11626 test ! -s conftest.err 11627 } && test -s conftest.$ac_objext; then 11628 ac_header_compiler=yes 11629else 11630 $as_echo "$as_me: failed program was:" >&5 11631sed 's/^/| /' conftest.$ac_ext >&5 11632 11633 ac_header_compiler=no 11634fi 11635 11636rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11637{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11638$as_echo "$ac_header_compiler" >&6; } 11639 11640# Is the header present? 11641{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 11642$as_echo_n "checking $ac_header presence... " >&6; } 11643cat >conftest.$ac_ext <<_ACEOF 11644/* confdefs.h. */ 11645_ACEOF 11646cat confdefs.h >>conftest.$ac_ext 11647cat >>conftest.$ac_ext <<_ACEOF 11648/* end confdefs.h. */ 11649#include <$ac_header> 11650_ACEOF 11651if { (ac_try="$ac_cpp conftest.$ac_ext" 11652case "(($ac_try" in 11653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11654 *) ac_try_echo=$ac_try;; 11655esac 11656eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11657$as_echo "$ac_try_echo") >&5 11658 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11659 ac_status=$? 11660 grep -v '^ *+' conftest.er1 >conftest.err 11661 rm -f conftest.er1 11662 cat conftest.err >&5 11663 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11664 (exit $ac_status); } >/dev/null && { 11665 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 11666 test ! -s conftest.err 11667 }; then 11668 ac_header_preproc=yes 11669else 11670 $as_echo "$as_me: failed program was:" >&5 11671sed 's/^/| /' conftest.$ac_ext >&5 11672 11673 ac_header_preproc=no 11674fi 11675 11676rm -f conftest.err conftest.$ac_ext 11677{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11678$as_echo "$ac_header_preproc" >&6; } 11679 11680# So? What about this header? 11681case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 11682 yes:no: ) 11683 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 11684$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 11685 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 11686$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 11687 ac_header_preproc=yes 11688 ;; 11689 no:yes:* ) 11690 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 11691$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 11692 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 11693$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 11694 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 11695$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 11696 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 11697$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 11698 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 11699$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 11700 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 11701$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 11702 ( cat <<\_ASBOX 11703## --------------------------------------------------- ## 11704## Report this to gtkspell-devel@lists.sourceforge.net ## 11705## --------------------------------------------------- ## 11706_ASBOX 11707 ) | sed "s/^/$as_me: WARNING: /" >&2 11708 ;; 11709esac 11710{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11711$as_echo_n "checking for $ac_header... " >&6; } 11712if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11713 $as_echo_n "(cached) " >&6 11714else 11715 eval "$as_ac_Header=\$ac_header_preproc" 11716fi 11717ac_res=`eval 'as_val=${'$as_ac_Header'} 11718 $as_echo "$as_val"'` 11719 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11720$as_echo "$ac_res" >&6; } 11721 11722fi 11723as_val=`eval 'as_val=${'$as_ac_Header'} 11724 $as_echo "$as_val"'` 11725 if test "x$as_val" = x""yes; then 11726 cat >>confdefs.h <<_ACEOF 11727#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 11728_ACEOF 11729 11730fi 11731 11732done 11733 11734 if test $ac_cv_header_locale_h = yes; then 11735 { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5 11736$as_echo_n "checking for LC_MESSAGES... " >&6; } 11737if test "${am_cv_val_LC_MESSAGES+set}" = set; then 11738 $as_echo_n "(cached) " >&6 11739else 11740 cat >conftest.$ac_ext <<_ACEOF 11741/* confdefs.h. */ 11742_ACEOF 11743cat confdefs.h >>conftest.$ac_ext 11744cat >>conftest.$ac_ext <<_ACEOF 11745/* end confdefs.h. */ 11746#include <locale.h> 11747int 11748main () 11749{ 11750return LC_MESSAGES 11751 ; 11752 return 0; 11753} 11754_ACEOF 11755rm -f conftest.$ac_objext conftest$ac_exeext 11756if { (ac_try="$ac_link" 11757case "(($ac_try" in 11758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11759 *) ac_try_echo=$ac_try;; 11760esac 11761eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11762$as_echo "$ac_try_echo") >&5 11763 (eval "$ac_link") 2>conftest.er1 11764 ac_status=$? 11765 grep -v '^ *+' conftest.er1 >conftest.err 11766 rm -f conftest.er1 11767 cat conftest.err >&5 11768 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11769 (exit $ac_status); } && { 11770 test -z "$ac_c_werror_flag" || 11771 test ! -s conftest.err 11772 } && test -s conftest$ac_exeext && { 11773 test "$cross_compiling" = yes || 11774 $as_test_x conftest$ac_exeext 11775 }; then 11776 am_cv_val_LC_MESSAGES=yes 11777else 11778 $as_echo "$as_me: failed program was:" >&5 11779sed 's/^/| /' conftest.$ac_ext >&5 11780 11781 am_cv_val_LC_MESSAGES=no 11782fi 11783 11784rm -rf conftest.dSYM 11785rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11786 conftest$ac_exeext conftest.$ac_ext 11787fi 11788{ $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5 11789$as_echo "$am_cv_val_LC_MESSAGES" >&6; } 11790 if test $am_cv_val_LC_MESSAGES = yes; then 11791 11792cat >>confdefs.h <<\_ACEOF 11793#define HAVE_LC_MESSAGES 1 11794_ACEOF 11795 11796 fi 11797 fi 11798 USE_NLS=yes 11799 11800 11801 gt_cv_have_gettext=no 11802 11803 CATOBJEXT=NONE 11804 XGETTEXT=: 11805 INTLLIBS= 11806 11807 if test "${ac_cv_header_libintl_h+set}" = set; then 11808 { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5 11809$as_echo_n "checking for libintl.h... " >&6; } 11810if test "${ac_cv_header_libintl_h+set}" = set; then 11811 $as_echo_n "(cached) " >&6 11812fi 11813{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 11814$as_echo "$ac_cv_header_libintl_h" >&6; } 11815else 11816 # Is the header compilable? 11817{ $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5 11818$as_echo_n "checking libintl.h usability... " >&6; } 11819cat >conftest.$ac_ext <<_ACEOF 11820/* confdefs.h. */ 11821_ACEOF 11822cat confdefs.h >>conftest.$ac_ext 11823cat >>conftest.$ac_ext <<_ACEOF 11824/* end confdefs.h. */ 11825$ac_includes_default 11826#include <libintl.h> 11827_ACEOF 11828rm -f conftest.$ac_objext 11829if { (ac_try="$ac_compile" 11830case "(($ac_try" in 11831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11832 *) ac_try_echo=$ac_try;; 11833esac 11834eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11835$as_echo "$ac_try_echo") >&5 11836 (eval "$ac_compile") 2>conftest.er1 11837 ac_status=$? 11838 grep -v '^ *+' conftest.er1 >conftest.err 11839 rm -f conftest.er1 11840 cat conftest.err >&5 11841 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11842 (exit $ac_status); } && { 11843 test -z "$ac_c_werror_flag" || 11844 test ! -s conftest.err 11845 } && test -s conftest.$ac_objext; then 11846 ac_header_compiler=yes 11847else 11848 $as_echo "$as_me: failed program was:" >&5 11849sed 's/^/| /' conftest.$ac_ext >&5 11850 11851 ac_header_compiler=no 11852fi 11853 11854rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11855{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11856$as_echo "$ac_header_compiler" >&6; } 11857 11858# Is the header present? 11859{ $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5 11860$as_echo_n "checking libintl.h presence... " >&6; } 11861cat >conftest.$ac_ext <<_ACEOF 11862/* confdefs.h. */ 11863_ACEOF 11864cat confdefs.h >>conftest.$ac_ext 11865cat >>conftest.$ac_ext <<_ACEOF 11866/* end confdefs.h. */ 11867#include <libintl.h> 11868_ACEOF 11869if { (ac_try="$ac_cpp conftest.$ac_ext" 11870case "(($ac_try" in 11871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11872 *) ac_try_echo=$ac_try;; 11873esac 11874eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11875$as_echo "$ac_try_echo") >&5 11876 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11877 ac_status=$? 11878 grep -v '^ *+' conftest.er1 >conftest.err 11879 rm -f conftest.er1 11880 cat conftest.err >&5 11881 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11882 (exit $ac_status); } >/dev/null && { 11883 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 11884 test ! -s conftest.err 11885 }; then 11886 ac_header_preproc=yes 11887else 11888 $as_echo "$as_me: failed program was:" >&5 11889sed 's/^/| /' conftest.$ac_ext >&5 11890 11891 ac_header_preproc=no 11892fi 11893 11894rm -f conftest.err conftest.$ac_ext 11895{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11896$as_echo "$ac_header_preproc" >&6; } 11897 11898# So? What about this header? 11899case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 11900 yes:no: ) 11901 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5 11902$as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11903 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5 11904$as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;} 11905 ac_header_preproc=yes 11906 ;; 11907 no:yes:* ) 11908 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5 11909$as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;} 11910 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5 11911$as_echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;} 11912 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5 11913$as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;} 11914 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5 11915$as_echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;} 11916 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5 11917$as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;} 11918 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5 11919$as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;} 11920 ( cat <<\_ASBOX 11921## --------------------------------------------------- ## 11922## Report this to gtkspell-devel@lists.sourceforge.net ## 11923## --------------------------------------------------- ## 11924_ASBOX 11925 ) | sed "s/^/$as_me: WARNING: /" >&2 11926 ;; 11927esac 11928{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5 11929$as_echo_n "checking for libintl.h... " >&6; } 11930if test "${ac_cv_header_libintl_h+set}" = set; then 11931 $as_echo_n "(cached) " >&6 11932else 11933 ac_cv_header_libintl_h=$ac_header_preproc 11934fi 11935{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 11936$as_echo "$ac_cv_header_libintl_h" >&6; } 11937 11938fi 11939if test "x$ac_cv_header_libintl_h" = x""yes; then 11940 gt_cv_func_dgettext_libintl="no" 11941 libintl_extra_libs="" 11942 11943 # 11944 # First check in libc 11945 # 11946 { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5 11947$as_echo_n "checking for ngettext in libc... " >&6; } 11948if test "${gt_cv_func_ngettext_libc+set}" = set; then 11949 $as_echo_n "(cached) " >&6 11950else 11951 cat >conftest.$ac_ext <<_ACEOF 11952/* confdefs.h. */ 11953_ACEOF 11954cat confdefs.h >>conftest.$ac_ext 11955cat >>conftest.$ac_ext <<_ACEOF 11956/* end confdefs.h. */ 11957 11958#include <libintl.h> 11959 11960int 11961main () 11962{ 11963return !ngettext ("","", 1) 11964 ; 11965 return 0; 11966} 11967_ACEOF 11968rm -f conftest.$ac_objext conftest$ac_exeext 11969if { (ac_try="$ac_link" 11970case "(($ac_try" in 11971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11972 *) ac_try_echo=$ac_try;; 11973esac 11974eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11975$as_echo "$ac_try_echo") >&5 11976 (eval "$ac_link") 2>conftest.er1 11977 ac_status=$? 11978 grep -v '^ *+' conftest.er1 >conftest.err 11979 rm -f conftest.er1 11980 cat conftest.err >&5 11981 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11982 (exit $ac_status); } && { 11983 test -z "$ac_c_werror_flag" || 11984 test ! -s conftest.err 11985 } && test -s conftest$ac_exeext && { 11986 test "$cross_compiling" = yes || 11987 $as_test_x conftest$ac_exeext 11988 }; then 11989 gt_cv_func_ngettext_libc=yes 11990else 11991 $as_echo "$as_me: failed program was:" >&5 11992sed 's/^/| /' conftest.$ac_ext >&5 11993 11994 gt_cv_func_ngettext_libc=no 11995fi 11996 11997rm -rf conftest.dSYM 11998rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11999 conftest$ac_exeext conftest.$ac_ext 12000 12001fi 12002{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5 12003$as_echo "$gt_cv_func_ngettext_libc" >&6; } 12004 12005 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 12006 { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5 12007$as_echo_n "checking for dgettext in libc... " >&6; } 12008if test "${gt_cv_func_dgettext_libc+set}" = set; then 12009 $as_echo_n "(cached) " >&6 12010else 12011 cat >conftest.$ac_ext <<_ACEOF 12012/* confdefs.h. */ 12013_ACEOF 12014cat confdefs.h >>conftest.$ac_ext 12015cat >>conftest.$ac_ext <<_ACEOF 12016/* end confdefs.h. */ 12017 12018#include <libintl.h> 12019 12020int 12021main () 12022{ 12023return !dgettext ("","") 12024 ; 12025 return 0; 12026} 12027_ACEOF 12028rm -f conftest.$ac_objext conftest$ac_exeext 12029if { (ac_try="$ac_link" 12030case "(($ac_try" in 12031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12032 *) ac_try_echo=$ac_try;; 12033esac 12034eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12035$as_echo "$ac_try_echo") >&5 12036 (eval "$ac_link") 2>conftest.er1 12037 ac_status=$? 12038 grep -v '^ *+' conftest.er1 >conftest.err 12039 rm -f conftest.er1 12040 cat conftest.err >&5 12041 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12042 (exit $ac_status); } && { 12043 test -z "$ac_c_werror_flag" || 12044 test ! -s conftest.err 12045 } && test -s conftest$ac_exeext && { 12046 test "$cross_compiling" = yes || 12047 $as_test_x conftest$ac_exeext 12048 }; then 12049 gt_cv_func_dgettext_libc=yes 12050else 12051 $as_echo "$as_me: failed program was:" >&5 12052sed 's/^/| /' conftest.$ac_ext >&5 12053 12054 gt_cv_func_dgettext_libc=no 12055fi 12056 12057rm -rf conftest.dSYM 12058rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12059 conftest$ac_exeext conftest.$ac_ext 12060 12061fi 12062{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5 12063$as_echo "$gt_cv_func_dgettext_libc" >&6; } 12064 fi 12065 12066 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 12067 12068for ac_func in bind_textdomain_codeset 12069do 12070as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 12071{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 12072$as_echo_n "checking for $ac_func... " >&6; } 12073if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 12074 $as_echo_n "(cached) " >&6 12075else 12076 cat >conftest.$ac_ext <<_ACEOF 12077/* confdefs.h. */ 12078_ACEOF 12079cat confdefs.h >>conftest.$ac_ext 12080cat >>conftest.$ac_ext <<_ACEOF 12081/* end confdefs.h. */ 12082/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 12083 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12084#define $ac_func innocuous_$ac_func 12085 12086/* System header to define __stub macros and hopefully few prototypes, 12087 which can conflict with char $ac_func (); below. 12088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12089 <limits.h> exists even on freestanding compilers. */ 12090 12091#ifdef __STDC__ 12092# include <limits.h> 12093#else 12094# include <assert.h> 12095#endif 12096 12097#undef $ac_func 12098 12099/* Override any GCC internal prototype to avoid an error. 12100 Use char because int might match the return type of a GCC 12101 builtin and then its argument prototype would still apply. */ 12102#ifdef __cplusplus 12103extern "C" 12104#endif 12105char $ac_func (); 12106/* The GNU C library defines this for functions which it implements 12107 to always fail with ENOSYS. Some functions are actually named 12108 something starting with __ and the normal name is an alias. */ 12109#if defined __stub_$ac_func || defined __stub___$ac_func 12110choke me 12111#endif 12112 12113int 12114main () 12115{ 12116return $ac_func (); 12117 ; 12118 return 0; 12119} 12120_ACEOF 12121rm -f conftest.$ac_objext conftest$ac_exeext 12122if { (ac_try="$ac_link" 12123case "(($ac_try" in 12124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12125 *) ac_try_echo=$ac_try;; 12126esac 12127eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12128$as_echo "$ac_try_echo") >&5 12129 (eval "$ac_link") 2>conftest.er1 12130 ac_status=$? 12131 grep -v '^ *+' conftest.er1 >conftest.err 12132 rm -f conftest.er1 12133 cat conftest.err >&5 12134 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12135 (exit $ac_status); } && { 12136 test -z "$ac_c_werror_flag" || 12137 test ! -s conftest.err 12138 } && test -s conftest$ac_exeext && { 12139 test "$cross_compiling" = yes || 12140 $as_test_x conftest$ac_exeext 12141 }; then 12142 eval "$as_ac_var=yes" 12143else 12144 $as_echo "$as_me: failed program was:" >&5 12145sed 's/^/| /' conftest.$ac_ext >&5 12146 12147 eval "$as_ac_var=no" 12148fi 12149 12150rm -rf conftest.dSYM 12151rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12152 conftest$ac_exeext conftest.$ac_ext 12153fi 12154ac_res=`eval 'as_val=${'$as_ac_var'} 12155 $as_echo "$as_val"'` 12156 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12157$as_echo "$ac_res" >&6; } 12158as_val=`eval 'as_val=${'$as_ac_var'} 12159 $as_echo "$as_val"'` 12160 if test "x$as_val" = x""yes; then 12161 cat >>confdefs.h <<_ACEOF 12162#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 12163_ACEOF 12164 12165fi 12166done 12167 12168 fi 12169 12170 # 12171 # If we don't have everything we want, check in libintl 12172 # 12173 if test "$gt_cv_func_dgettext_libc" != "yes" \ 12174 || test "$gt_cv_func_ngettext_libc" != "yes" \ 12175 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then 12176 12177 { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5 12178$as_echo_n "checking for bindtextdomain in -lintl... " >&6; } 12179if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then 12180 $as_echo_n "(cached) " >&6 12181else 12182 ac_check_lib_save_LIBS=$LIBS 12183LIBS="-lintl $LIBS" 12184cat >conftest.$ac_ext <<_ACEOF 12185/* confdefs.h. */ 12186_ACEOF 12187cat confdefs.h >>conftest.$ac_ext 12188cat >>conftest.$ac_ext <<_ACEOF 12189/* end confdefs.h. */ 12190 12191/* Override any GCC internal prototype to avoid an error. 12192 Use char because int might match the return type of a GCC 12193 builtin and then its argument prototype would still apply. */ 12194#ifdef __cplusplus 12195extern "C" 12196#endif 12197char bindtextdomain (); 12198int 12199main () 12200{ 12201return bindtextdomain (); 12202 ; 12203 return 0; 12204} 12205_ACEOF 12206rm -f conftest.$ac_objext conftest$ac_exeext 12207if { (ac_try="$ac_link" 12208case "(($ac_try" in 12209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12210 *) ac_try_echo=$ac_try;; 12211esac 12212eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12213$as_echo "$ac_try_echo") >&5 12214 (eval "$ac_link") 2>conftest.er1 12215 ac_status=$? 12216 grep -v '^ *+' conftest.er1 >conftest.err 12217 rm -f conftest.er1 12218 cat conftest.err >&5 12219 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12220 (exit $ac_status); } && { 12221 test -z "$ac_c_werror_flag" || 12222 test ! -s conftest.err 12223 } && test -s conftest$ac_exeext && { 12224 test "$cross_compiling" = yes || 12225 $as_test_x conftest$ac_exeext 12226 }; then 12227 ac_cv_lib_intl_bindtextdomain=yes 12228else 12229 $as_echo "$as_me: failed program was:" >&5 12230sed 's/^/| /' conftest.$ac_ext >&5 12231 12232 ac_cv_lib_intl_bindtextdomain=no 12233fi 12234 12235rm -rf conftest.dSYM 12236rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12237 conftest$ac_exeext conftest.$ac_ext 12238LIBS=$ac_check_lib_save_LIBS 12239fi 12240{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5 12241$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } 12242if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then 12243 { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5 12244$as_echo_n "checking for ngettext in -lintl... " >&6; } 12245if test "${ac_cv_lib_intl_ngettext+set}" = set; then 12246 $as_echo_n "(cached) " >&6 12247else 12248 ac_check_lib_save_LIBS=$LIBS 12249LIBS="-lintl $LIBS" 12250cat >conftest.$ac_ext <<_ACEOF 12251/* confdefs.h. */ 12252_ACEOF 12253cat confdefs.h >>conftest.$ac_ext 12254cat >>conftest.$ac_ext <<_ACEOF 12255/* end confdefs.h. */ 12256 12257/* Override any GCC internal prototype to avoid an error. 12258 Use char because int might match the return type of a GCC 12259 builtin and then its argument prototype would still apply. */ 12260#ifdef __cplusplus 12261extern "C" 12262#endif 12263char ngettext (); 12264int 12265main () 12266{ 12267return ngettext (); 12268 ; 12269 return 0; 12270} 12271_ACEOF 12272rm -f conftest.$ac_objext conftest$ac_exeext 12273if { (ac_try="$ac_link" 12274case "(($ac_try" in 12275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12276 *) ac_try_echo=$ac_try;; 12277esac 12278eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12279$as_echo "$ac_try_echo") >&5 12280 (eval "$ac_link") 2>conftest.er1 12281 ac_status=$? 12282 grep -v '^ *+' conftest.er1 >conftest.err 12283 rm -f conftest.er1 12284 cat conftest.err >&5 12285 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12286 (exit $ac_status); } && { 12287 test -z "$ac_c_werror_flag" || 12288 test ! -s conftest.err 12289 } && test -s conftest$ac_exeext && { 12290 test "$cross_compiling" = yes || 12291 $as_test_x conftest$ac_exeext 12292 }; then 12293 ac_cv_lib_intl_ngettext=yes 12294else 12295 $as_echo "$as_me: failed program was:" >&5 12296sed 's/^/| /' conftest.$ac_ext >&5 12297 12298 ac_cv_lib_intl_ngettext=no 12299fi 12300 12301rm -rf conftest.dSYM 12302rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12303 conftest$ac_exeext conftest.$ac_ext 12304LIBS=$ac_check_lib_save_LIBS 12305fi 12306{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5 12307$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 12308if test "x$ac_cv_lib_intl_ngettext" = x""yes; then 12309 { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 12310$as_echo_n "checking for dgettext in -lintl... " >&6; } 12311if test "${ac_cv_lib_intl_dgettext+set}" = set; then 12312 $as_echo_n "(cached) " >&6 12313else 12314 ac_check_lib_save_LIBS=$LIBS 12315LIBS="-lintl $LIBS" 12316cat >conftest.$ac_ext <<_ACEOF 12317/* confdefs.h. */ 12318_ACEOF 12319cat confdefs.h >>conftest.$ac_ext 12320cat >>conftest.$ac_ext <<_ACEOF 12321/* end confdefs.h. */ 12322 12323/* Override any GCC internal prototype to avoid an error. 12324 Use char because int might match the return type of a GCC 12325 builtin and then its argument prototype would still apply. */ 12326#ifdef __cplusplus 12327extern "C" 12328#endif 12329char dgettext (); 12330int 12331main () 12332{ 12333return dgettext (); 12334 ; 12335 return 0; 12336} 12337_ACEOF 12338rm -f conftest.$ac_objext conftest$ac_exeext 12339if { (ac_try="$ac_link" 12340case "(($ac_try" in 12341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12342 *) ac_try_echo=$ac_try;; 12343esac 12344eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12345$as_echo "$ac_try_echo") >&5 12346 (eval "$ac_link") 2>conftest.er1 12347 ac_status=$? 12348 grep -v '^ *+' conftest.er1 >conftest.err 12349 rm -f conftest.er1 12350 cat conftest.err >&5 12351 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12352 (exit $ac_status); } && { 12353 test -z "$ac_c_werror_flag" || 12354 test ! -s conftest.err 12355 } && test -s conftest$ac_exeext && { 12356 test "$cross_compiling" = yes || 12357 $as_test_x conftest$ac_exeext 12358 }; then 12359 ac_cv_lib_intl_dgettext=yes 12360else 12361 $as_echo "$as_me: failed program was:" >&5 12362sed 's/^/| /' conftest.$ac_ext >&5 12363 12364 ac_cv_lib_intl_dgettext=no 12365fi 12366 12367rm -rf conftest.dSYM 12368rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12369 conftest$ac_exeext conftest.$ac_ext 12370LIBS=$ac_check_lib_save_LIBS 12371fi 12372{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 12373$as_echo "$ac_cv_lib_intl_dgettext" >&6; } 12374if test "x$ac_cv_lib_intl_dgettext" = x""yes; then 12375 gt_cv_func_dgettext_libintl=yes 12376fi 12377 12378fi 12379 12380fi 12381 12382 12383 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then 12384 { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5 12385$as_echo_n "checking if -liconv is needed to use gettext... " >&6; } 12386 { $as_echo "$as_me:$LINENO: result: " >&5 12387$as_echo "" >&6; } 12388 { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5 12389$as_echo_n "checking for ngettext in -lintl... " >&6; } 12390if test "${ac_cv_lib_intl_ngettext+set}" = set; then 12391 $as_echo_n "(cached) " >&6 12392else 12393 ac_check_lib_save_LIBS=$LIBS 12394LIBS="-lintl -liconv $LIBS" 12395cat >conftest.$ac_ext <<_ACEOF 12396/* confdefs.h. */ 12397_ACEOF 12398cat confdefs.h >>conftest.$ac_ext 12399cat >>conftest.$ac_ext <<_ACEOF 12400/* end confdefs.h. */ 12401 12402/* Override any GCC internal prototype to avoid an error. 12403 Use char because int might match the return type of a GCC 12404 builtin and then its argument prototype would still apply. */ 12405#ifdef __cplusplus 12406extern "C" 12407#endif 12408char ngettext (); 12409int 12410main () 12411{ 12412return ngettext (); 12413 ; 12414 return 0; 12415} 12416_ACEOF 12417rm -f conftest.$ac_objext conftest$ac_exeext 12418if { (ac_try="$ac_link" 12419case "(($ac_try" in 12420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12421 *) ac_try_echo=$ac_try;; 12422esac 12423eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12424$as_echo "$ac_try_echo") >&5 12425 (eval "$ac_link") 2>conftest.er1 12426 ac_status=$? 12427 grep -v '^ *+' conftest.er1 >conftest.err 12428 rm -f conftest.er1 12429 cat conftest.err >&5 12430 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12431 (exit $ac_status); } && { 12432 test -z "$ac_c_werror_flag" || 12433 test ! -s conftest.err 12434 } && test -s conftest$ac_exeext && { 12435 test "$cross_compiling" = yes || 12436 $as_test_x conftest$ac_exeext 12437 }; then 12438 ac_cv_lib_intl_ngettext=yes 12439else 12440 $as_echo "$as_me: failed program was:" >&5 12441sed 's/^/| /' conftest.$ac_ext >&5 12442 12443 ac_cv_lib_intl_ngettext=no 12444fi 12445 12446rm -rf conftest.dSYM 12447rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12448 conftest$ac_exeext conftest.$ac_ext 12449LIBS=$ac_check_lib_save_LIBS 12450fi 12451{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5 12452$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 12453if test "x$ac_cv_lib_intl_ngettext" = x""yes; then 12454 { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5 12455$as_echo_n "checking for dcgettext in -lintl... " >&6; } 12456if test "${ac_cv_lib_intl_dcgettext+set}" = set; then 12457 $as_echo_n "(cached) " >&6 12458else 12459 ac_check_lib_save_LIBS=$LIBS 12460LIBS="-lintl -liconv $LIBS" 12461cat >conftest.$ac_ext <<_ACEOF 12462/* confdefs.h. */ 12463_ACEOF 12464cat confdefs.h >>conftest.$ac_ext 12465cat >>conftest.$ac_ext <<_ACEOF 12466/* end confdefs.h. */ 12467 12468/* Override any GCC internal prototype to avoid an error. 12469 Use char because int might match the return type of a GCC 12470 builtin and then its argument prototype would still apply. */ 12471#ifdef __cplusplus 12472extern "C" 12473#endif 12474char dcgettext (); 12475int 12476main () 12477{ 12478return dcgettext (); 12479 ; 12480 return 0; 12481} 12482_ACEOF 12483rm -f conftest.$ac_objext conftest$ac_exeext 12484if { (ac_try="$ac_link" 12485case "(($ac_try" in 12486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12487 *) ac_try_echo=$ac_try;; 12488esac 12489eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12490$as_echo "$ac_try_echo") >&5 12491 (eval "$ac_link") 2>conftest.er1 12492 ac_status=$? 12493 grep -v '^ *+' conftest.er1 >conftest.err 12494 rm -f conftest.er1 12495 cat conftest.err >&5 12496 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12497 (exit $ac_status); } && { 12498 test -z "$ac_c_werror_flag" || 12499 test ! -s conftest.err 12500 } && test -s conftest$ac_exeext && { 12501 test "$cross_compiling" = yes || 12502 $as_test_x conftest$ac_exeext 12503 }; then 12504 ac_cv_lib_intl_dcgettext=yes 12505else 12506 $as_echo "$as_me: failed program was:" >&5 12507sed 's/^/| /' conftest.$ac_ext >&5 12508 12509 ac_cv_lib_intl_dcgettext=no 12510fi 12511 12512rm -rf conftest.dSYM 12513rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12514 conftest$ac_exeext conftest.$ac_ext 12515LIBS=$ac_check_lib_save_LIBS 12516fi 12517{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5 12518$as_echo "$ac_cv_lib_intl_dcgettext" >&6; } 12519if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then 12520 gt_cv_func_dgettext_libintl=yes 12521 libintl_extra_libs=-liconv 12522else 12523 : 12524fi 12525 12526else 12527 : 12528fi 12529 12530 fi 12531 12532 # 12533 # If we found libintl, then check in it for bind_textdomain_codeset(); 12534 # we'll prefer libc if neither have bind_textdomain_codeset(), 12535 # and both have dgettext and ngettext 12536 # 12537 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then 12538 glib_save_LIBS="$LIBS" 12539 LIBS="$LIBS -lintl $libintl_extra_libs" 12540 unset ac_cv_func_bind_textdomain_codeset 12541 12542for ac_func in bind_textdomain_codeset 12543do 12544as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 12545{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 12546$as_echo_n "checking for $ac_func... " >&6; } 12547if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 12548 $as_echo_n "(cached) " >&6 12549else 12550 cat >conftest.$ac_ext <<_ACEOF 12551/* confdefs.h. */ 12552_ACEOF 12553cat confdefs.h >>conftest.$ac_ext 12554cat >>conftest.$ac_ext <<_ACEOF 12555/* end confdefs.h. */ 12556/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 12557 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12558#define $ac_func innocuous_$ac_func 12559 12560/* System header to define __stub macros and hopefully few prototypes, 12561 which can conflict with char $ac_func (); below. 12562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12563 <limits.h> exists even on freestanding compilers. */ 12564 12565#ifdef __STDC__ 12566# include <limits.h> 12567#else 12568# include <assert.h> 12569#endif 12570 12571#undef $ac_func 12572 12573/* Override any GCC internal prototype to avoid an error. 12574 Use char because int might match the return type of a GCC 12575 builtin and then its argument prototype would still apply. */ 12576#ifdef __cplusplus 12577extern "C" 12578#endif 12579char $ac_func (); 12580/* The GNU C library defines this for functions which it implements 12581 to always fail with ENOSYS. Some functions are actually named 12582 something starting with __ and the normal name is an alias. */ 12583#if defined __stub_$ac_func || defined __stub___$ac_func 12584choke me 12585#endif 12586 12587int 12588main () 12589{ 12590return $ac_func (); 12591 ; 12592 return 0; 12593} 12594_ACEOF 12595rm -f conftest.$ac_objext conftest$ac_exeext 12596if { (ac_try="$ac_link" 12597case "(($ac_try" in 12598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12599 *) ac_try_echo=$ac_try;; 12600esac 12601eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12602$as_echo "$ac_try_echo") >&5 12603 (eval "$ac_link") 2>conftest.er1 12604 ac_status=$? 12605 grep -v '^ *+' conftest.er1 >conftest.err 12606 rm -f conftest.er1 12607 cat conftest.err >&5 12608 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12609 (exit $ac_status); } && { 12610 test -z "$ac_c_werror_flag" || 12611 test ! -s conftest.err 12612 } && test -s conftest$ac_exeext && { 12613 test "$cross_compiling" = yes || 12614 $as_test_x conftest$ac_exeext 12615 }; then 12616 eval "$as_ac_var=yes" 12617else 12618 $as_echo "$as_me: failed program was:" >&5 12619sed 's/^/| /' conftest.$ac_ext >&5 12620 12621 eval "$as_ac_var=no" 12622fi 12623 12624rm -rf conftest.dSYM 12625rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12626 conftest$ac_exeext conftest.$ac_ext 12627fi 12628ac_res=`eval 'as_val=${'$as_ac_var'} 12629 $as_echo "$as_val"'` 12630 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12631$as_echo "$ac_res" >&6; } 12632as_val=`eval 'as_val=${'$as_ac_var'} 12633 $as_echo "$as_val"'` 12634 if test "x$as_val" = x""yes; then 12635 cat >>confdefs.h <<_ACEOF 12636#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 12637_ACEOF 12638 12639fi 12640done 12641 12642 LIBS="$glib_save_LIBS" 12643 12644 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then 12645 gt_cv_func_dgettext_libc=no 12646 else 12647 if test "$gt_cv_func_dgettext_libc" = "yes" \ 12648 && test "$gt_cv_func_ngettext_libc" = "yes"; then 12649 gt_cv_func_dgettext_libintl=no 12650 fi 12651 fi 12652 fi 12653 fi 12654 12655 if test "$gt_cv_func_dgettext_libc" = "yes" \ 12656 || test "$gt_cv_func_dgettext_libintl" = "yes"; then 12657 gt_cv_have_gettext=yes 12658 fi 12659 12660 if test "$gt_cv_func_dgettext_libintl" = "yes"; then 12661 INTLLIBS="-lintl $libintl_extra_libs" 12662 fi 12663 12664 if test "$gt_cv_have_gettext" = "yes"; then 12665 12666cat >>confdefs.h <<\_ACEOF 12667#define HAVE_GETTEXT 1 12668_ACEOF 12669 12670 # Extract the first word of "msgfmt", so it can be a program name with args. 12671set dummy msgfmt; ac_word=$2 12672{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 12673$as_echo_n "checking for $ac_word... " >&6; } 12674if test "${ac_cv_path_MSGFMT+set}" = set; then 12675 $as_echo_n "(cached) " >&6 12676else 12677 case "$MSGFMT" in 12678 /*) 12679 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 12680 ;; 12681 *) 12682 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 12683 for ac_dir in $PATH; do 12684 test -z "$ac_dir" && ac_dir=. 12685 if test -f $ac_dir/$ac_word; then 12686 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then 12687 ac_cv_path_MSGFMT="$ac_dir/$ac_word" 12688 break 12689 fi 12690 fi 12691 done 12692 IFS="$ac_save_ifs" 12693 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" 12694 ;; 12695esac 12696fi 12697MSGFMT="$ac_cv_path_MSGFMT" 12698if test "$MSGFMT" != "no"; then 12699 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5 12700$as_echo "$MSGFMT" >&6; } 12701else 12702 { $as_echo "$as_me:$LINENO: result: no" >&5 12703$as_echo "no" >&6; } 12704fi 12705 if test "$MSGFMT" != "no"; then 12706 glib_save_LIBS="$LIBS" 12707 LIBS="$LIBS $INTLLIBS" 12708 12709for ac_func in dcgettext 12710do 12711as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 12712{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 12713$as_echo_n "checking for $ac_func... " >&6; } 12714if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 12715 $as_echo_n "(cached) " >&6 12716else 12717 cat >conftest.$ac_ext <<_ACEOF 12718/* confdefs.h. */ 12719_ACEOF 12720cat confdefs.h >>conftest.$ac_ext 12721cat >>conftest.$ac_ext <<_ACEOF 12722/* end confdefs.h. */ 12723/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 12724 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12725#define $ac_func innocuous_$ac_func 12726 12727/* System header to define __stub macros and hopefully few prototypes, 12728 which can conflict with char $ac_func (); below. 12729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12730 <limits.h> exists even on freestanding compilers. */ 12731 12732#ifdef __STDC__ 12733# include <limits.h> 12734#else 12735# include <assert.h> 12736#endif 12737 12738#undef $ac_func 12739 12740/* Override any GCC internal prototype to avoid an error. 12741 Use char because int might match the return type of a GCC 12742 builtin and then its argument prototype would still apply. */ 12743#ifdef __cplusplus 12744extern "C" 12745#endif 12746char $ac_func (); 12747/* The GNU C library defines this for functions which it implements 12748 to always fail with ENOSYS. Some functions are actually named 12749 something starting with __ and the normal name is an alias. */ 12750#if defined __stub_$ac_func || defined __stub___$ac_func 12751choke me 12752#endif 12753 12754int 12755main () 12756{ 12757return $ac_func (); 12758 ; 12759 return 0; 12760} 12761_ACEOF 12762rm -f conftest.$ac_objext conftest$ac_exeext 12763if { (ac_try="$ac_link" 12764case "(($ac_try" in 12765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12766 *) ac_try_echo=$ac_try;; 12767esac 12768eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12769$as_echo "$ac_try_echo") >&5 12770 (eval "$ac_link") 2>conftest.er1 12771 ac_status=$? 12772 grep -v '^ *+' conftest.er1 >conftest.err 12773 rm -f conftest.er1 12774 cat conftest.err >&5 12775 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12776 (exit $ac_status); } && { 12777 test -z "$ac_c_werror_flag" || 12778 test ! -s conftest.err 12779 } && test -s conftest$ac_exeext && { 12780 test "$cross_compiling" = yes || 12781 $as_test_x conftest$ac_exeext 12782 }; then 12783 eval "$as_ac_var=yes" 12784else 12785 $as_echo "$as_me: failed program was:" >&5 12786sed 's/^/| /' conftest.$ac_ext >&5 12787 12788 eval "$as_ac_var=no" 12789fi 12790 12791rm -rf conftest.dSYM 12792rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12793 conftest$ac_exeext conftest.$ac_ext 12794fi 12795ac_res=`eval 'as_val=${'$as_ac_var'} 12796 $as_echo "$as_val"'` 12797 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12798$as_echo "$ac_res" >&6; } 12799as_val=`eval 'as_val=${'$as_ac_var'} 12800 $as_echo "$as_val"'` 12801 if test "x$as_val" = x""yes; then 12802 cat >>confdefs.h <<_ACEOF 12803#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 12804_ACEOF 12805 12806fi 12807done 12808 12809 MSGFMT_OPTS= 12810 { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5 12811$as_echo_n "checking if msgfmt accepts -c... " >&6; } 12812 cat >conftest.foo <<_ACEOF 12813 12814msgid "" 12815msgstr "" 12816"Content-Type: text/plain; charset=UTF-8\n" 12817"Project-Id-Version: test 1.0\n" 12818"PO-Revision-Date: 2007-02-15 12:01+0100\n" 12819"Last-Translator: test <foo@bar.xx>\n" 12820"Language-Team: C <LL@li.org>\n" 12821"MIME-Version: 1.0\n" 12822"Content-Transfer-Encoding: 8bit\n" 12823 12824_ACEOF 12825if { ($as_echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5 12826 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5 12827 ac_status=$? 12828 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12829 (exit $ac_status); }; then 12830 MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5 12831$as_echo "yes" >&6; } 12832else { $as_echo "$as_me:$LINENO: result: no" >&5 12833$as_echo "no" >&6; } 12834echo "$as_me: failed input was:" >&5 12835sed 's/^/| /' conftest.foo >&5 12836fi 12837 12838 # Extract the first word of "gmsgfmt", so it can be a program name with args. 12839set dummy gmsgfmt; ac_word=$2 12840{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 12841$as_echo_n "checking for $ac_word... " >&6; } 12842if test "${ac_cv_path_GMSGFMT+set}" = set; then 12843 $as_echo_n "(cached) " >&6 12844else 12845 case $GMSGFMT in 12846 [\\/]* | ?:[\\/]*) 12847 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 12848 ;; 12849 *) 12850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12851for as_dir in $PATH 12852do 12853 IFS=$as_save_IFS 12854 test -z "$as_dir" && as_dir=. 12855 for ac_exec_ext in '' $ac_executable_extensions; do 12856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12857 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 12858 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 12859 break 2 12860 fi 12861done 12862done 12863IFS=$as_save_IFS 12864 12865 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 12866 ;; 12867esac 12868fi 12869GMSGFMT=$ac_cv_path_GMSGFMT 12870if test -n "$GMSGFMT"; then 12871 { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5 12872$as_echo "$GMSGFMT" >&6; } 12873else 12874 { $as_echo "$as_me:$LINENO: result: no" >&5 12875$as_echo "no" >&6; } 12876fi 12877 12878 12879 # Extract the first word of "xgettext", so it can be a program name with args. 12880set dummy xgettext; ac_word=$2 12881{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 12882$as_echo_n "checking for $ac_word... " >&6; } 12883if test "${ac_cv_path_XGETTEXT+set}" = set; then 12884 $as_echo_n "(cached) " >&6 12885else 12886 case "$XGETTEXT" in 12887 /*) 12888 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 12889 ;; 12890 *) 12891 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 12892 for ac_dir in $PATH; do 12893 test -z "$ac_dir" && ac_dir=. 12894 if test -f $ac_dir/$ac_word; then 12895 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then 12896 ac_cv_path_XGETTEXT="$ac_dir/$ac_word" 12897 break 12898 fi 12899 fi 12900 done 12901 IFS="$ac_save_ifs" 12902 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 12903 ;; 12904esac 12905fi 12906XGETTEXT="$ac_cv_path_XGETTEXT" 12907if test "$XGETTEXT" != ":"; then 12908 { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5 12909$as_echo "$XGETTEXT" >&6; } 12910else 12911 { $as_echo "$as_me:$LINENO: result: no" >&5 12912$as_echo "no" >&6; } 12913fi 12914 12915 cat >conftest.$ac_ext <<_ACEOF 12916/* confdefs.h. */ 12917_ACEOF 12918cat confdefs.h >>conftest.$ac_ext 12919cat >>conftest.$ac_ext <<_ACEOF 12920/* end confdefs.h. */ 12921 12922int 12923main () 12924{ 12925extern int _nl_msg_cat_cntr; 12926 return _nl_msg_cat_cntr 12927 ; 12928 return 0; 12929} 12930_ACEOF 12931rm -f conftest.$ac_objext conftest$ac_exeext 12932if { (ac_try="$ac_link" 12933case "(($ac_try" in 12934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12935 *) ac_try_echo=$ac_try;; 12936esac 12937eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12938$as_echo "$ac_try_echo") >&5 12939 (eval "$ac_link") 2>conftest.er1 12940 ac_status=$? 12941 grep -v '^ *+' conftest.er1 >conftest.err 12942 rm -f conftest.er1 12943 cat conftest.err >&5 12944 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12945 (exit $ac_status); } && { 12946 test -z "$ac_c_werror_flag" || 12947 test ! -s conftest.err 12948 } && test -s conftest$ac_exeext && { 12949 test "$cross_compiling" = yes || 12950 $as_test_x conftest$ac_exeext 12951 }; then 12952 CATOBJEXT=.gmo 12953 DATADIRNAME=share 12954else 12955 $as_echo "$as_me: failed program was:" >&5 12956sed 's/^/| /' conftest.$ac_ext >&5 12957 12958 case $host in 12959 *-*-solaris*) 12960 { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5 12961$as_echo_n "checking for bind_textdomain_codeset... " >&6; } 12962if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then 12963 $as_echo_n "(cached) " >&6 12964else 12965 cat >conftest.$ac_ext <<_ACEOF 12966/* confdefs.h. */ 12967_ACEOF 12968cat confdefs.h >>conftest.$ac_ext 12969cat >>conftest.$ac_ext <<_ACEOF 12970/* end confdefs.h. */ 12971/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset. 12972 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12973#define bind_textdomain_codeset innocuous_bind_textdomain_codeset 12974 12975/* System header to define __stub macros and hopefully few prototypes, 12976 which can conflict with char bind_textdomain_codeset (); below. 12977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12978 <limits.h> exists even on freestanding compilers. */ 12979 12980#ifdef __STDC__ 12981# include <limits.h> 12982#else 12983# include <assert.h> 12984#endif 12985 12986#undef bind_textdomain_codeset 12987 12988/* Override any GCC internal prototype to avoid an error. 12989 Use char because int might match the return type of a GCC 12990 builtin and then its argument prototype would still apply. */ 12991#ifdef __cplusplus 12992extern "C" 12993#endif 12994char bind_textdomain_codeset (); 12995/* The GNU C library defines this for functions which it implements 12996 to always fail with ENOSYS. Some functions are actually named 12997 something starting with __ and the normal name is an alias. */ 12998#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset 12999choke me 13000#endif 13001 13002int 13003main () 13004{ 13005return bind_textdomain_codeset (); 13006 ; 13007 return 0; 13008} 13009_ACEOF 13010rm -f conftest.$ac_objext conftest$ac_exeext 13011if { (ac_try="$ac_link" 13012case "(($ac_try" in 13013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13014 *) ac_try_echo=$ac_try;; 13015esac 13016eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13017$as_echo "$ac_try_echo") >&5 13018 (eval "$ac_link") 2>conftest.er1 13019 ac_status=$? 13020 grep -v '^ *+' conftest.er1 >conftest.err 13021 rm -f conftest.er1 13022 cat conftest.err >&5 13023 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13024 (exit $ac_status); } && { 13025 test -z "$ac_c_werror_flag" || 13026 test ! -s conftest.err 13027 } && test -s conftest$ac_exeext && { 13028 test "$cross_compiling" = yes || 13029 $as_test_x conftest$ac_exeext 13030 }; then 13031 ac_cv_func_bind_textdomain_codeset=yes 13032else 13033 $as_echo "$as_me: failed program was:" >&5 13034sed 's/^/| /' conftest.$ac_ext >&5 13035 13036 ac_cv_func_bind_textdomain_codeset=no 13037fi 13038 13039rm -rf conftest.dSYM 13040rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13041 conftest$ac_exeext conftest.$ac_ext 13042fi 13043{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5 13044$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; } 13045if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then 13046 CATOBJEXT=.gmo 13047 DATADIRNAME=share 13048else 13049 CATOBJEXT=.mo 13050 DATADIRNAME=share 13051fi 13052 13053 ;; 13054 *) 13055 CATOBJEXT=.mo 13056 DATADIRNAME=share 13057 ;; 13058 esac 13059fi 13060 13061rm -rf conftest.dSYM 13062rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13063 conftest$ac_exeext conftest.$ac_ext 13064 LIBS="$glib_save_LIBS" 13065 INSTOBJEXT=.mo 13066 else 13067 gt_cv_have_gettext=no 13068 fi 13069 fi 13070 13071fi 13072 13073 13074 13075 if test "$gt_cv_have_gettext" = "yes" ; then 13076 13077cat >>confdefs.h <<\_ACEOF 13078#define ENABLE_NLS 1 13079_ACEOF 13080 13081 fi 13082 13083 if test "$XGETTEXT" != ":"; then 13084 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then 13085 : ; 13086 else 13087 { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5 13088$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } 13089 XGETTEXT=":" 13090 fi 13091 fi 13092 13093 # We need to process the po/ directory. 13094 POSUB=po 13095 13096 ac_config_commands="$ac_config_commands default-1" 13097 13098 13099 for lang in $ALL_LINGUAS; do 13100 GMOFILES="$GMOFILES $lang.gmo" 13101 POFILES="$POFILES $lang.po" 13102 done 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 if test "$gt_cv_have_gettext" = "yes"; then 13117 if test "x$ALL_LINGUAS" = "x"; then 13118 LINGUAS= 13119 else 13120 { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5 13121$as_echo_n "checking for catalogs to be installed... " >&6; } 13122 NEW_LINGUAS= 13123 for presentlang in $ALL_LINGUAS; do 13124 useit=no 13125 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then 13126 desiredlanguages="$LINGUAS" 13127 else 13128 desiredlanguages="$ALL_LINGUAS" 13129 fi 13130 for desiredlang in $desiredlanguages; do 13131 # Use the presentlang catalog if desiredlang is 13132 # a. equal to presentlang, or 13133 # b. a variant of presentlang (because in this case, 13134 # presentlang can be used as a fallback for messages 13135 # which are not translated in the desiredlang catalog). 13136 case "$desiredlang" in 13137 "$presentlang"*) useit=yes;; 13138 esac 13139 done 13140 if test $useit = yes; then 13141 NEW_LINGUAS="$NEW_LINGUAS $presentlang" 13142 fi 13143 done 13144 LINGUAS=$NEW_LINGUAS 13145 { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5 13146$as_echo "$LINGUAS" >&6; } 13147 fi 13148 13149 if test -n "$LINGUAS"; then 13150 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done 13151 fi 13152 fi 13153 13154 MKINSTALLDIRS= 13155 if test -n "$ac_aux_dir"; then 13156 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" 13157 fi 13158 if test -z "$MKINSTALLDIRS"; then 13159 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" 13160 fi 13161 13162 13163 test -d po || mkdir po 13164 if test "x$srcdir" != "x."; then 13165 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then 13166 posrcprefix="$srcdir/" 13167 else 13168 posrcprefix="../$srcdir/" 13169 fi 13170 else 13171 posrcprefix="../" 13172 fi 13173 rm -f po/POTFILES 13174 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ 13175 < $srcdir/po/POTFILES.in > po/POTFILES 13176 13177GETTEXT_PACKAGE=$PACKAGE 13178 13179 13180cat >>confdefs.h <<_ACEOF 13181#define GETTEXT_PACKAGE "${GETTEXT_PACKAGE}" 13182_ACEOF 13183 13184 13185 { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5 13186$as_echo_n "checking whether NLS is requested... " >&6; } 13187 # Check whether --enable-nls was given. 13188if test "${enable_nls+set}" = set; then 13189 enableval=$enable_nls; USE_NLS=$enableval 13190else 13191 USE_NLS=yes 13192fi 13193 13194 { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5 13195$as_echo "$USE_NLS" >&6; } 13196 13197 13198 13199 13200case "$am__api_version" in 13201 1.01234) 13202 { { $as_echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5 13203$as_echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;} 13204 { (exit 1); exit 1; }; } 13205 ;; 13206 *) 13207 ;; 13208esac 13209 13210if test -n "0.35.0"; then 13211 { $as_echo "$as_me:$LINENO: checking for intltool >= 0.35.0" >&5 13212$as_echo_n "checking for intltool >= 0.35.0... " >&6; } 13213 13214 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 13215 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` 13216 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 13217 13218 { $as_echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5 13219$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } 13220 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || 13221 { { $as_echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool 0.35.0 or later." >&5 13222$as_echo "$as_me: error: Your intltool is too old. You need intltool 0.35.0 or later." >&2;} 13223 { (exit 1); exit 1; }; } 13224fi 13225 13226# Extract the first word of "intltool-update", so it can be a program name with args. 13227set dummy intltool-update; ac_word=$2 13228{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 13229$as_echo_n "checking for $ac_word... " >&6; } 13230if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then 13231 $as_echo_n "(cached) " >&6 13232else 13233 case $INTLTOOL_UPDATE in 13234 [\\/]* | ?:[\\/]*) 13235 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. 13236 ;; 13237 *) 13238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13239for as_dir in $PATH 13240do 13241 IFS=$as_save_IFS 13242 test -z "$as_dir" && as_dir=. 13243 for ac_exec_ext in '' $ac_executable_extensions; do 13244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13245 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" 13246 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 13247 break 2 13248 fi 13249done 13250done 13251IFS=$as_save_IFS 13252 13253 ;; 13254esac 13255fi 13256INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE 13257if test -n "$INTLTOOL_UPDATE"; then 13258 { $as_echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5 13259$as_echo "$INTLTOOL_UPDATE" >&6; } 13260else 13261 { $as_echo "$as_me:$LINENO: result: no" >&5 13262$as_echo "no" >&6; } 13263fi 13264 13265 13266# Extract the first word of "intltool-merge", so it can be a program name with args. 13267set dummy intltool-merge; ac_word=$2 13268{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 13269$as_echo_n "checking for $ac_word... " >&6; } 13270if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then 13271 $as_echo_n "(cached) " >&6 13272else 13273 case $INTLTOOL_MERGE in 13274 [\\/]* | ?:[\\/]*) 13275 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. 13276 ;; 13277 *) 13278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13279for as_dir in $PATH 13280do 13281 IFS=$as_save_IFS 13282 test -z "$as_dir" && as_dir=. 13283 for ac_exec_ext in '' $ac_executable_extensions; do 13284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13285 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" 13286 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 13287 break 2 13288 fi 13289done 13290done 13291IFS=$as_save_IFS 13292 13293 ;; 13294esac 13295fi 13296INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE 13297if test -n "$INTLTOOL_MERGE"; then 13298 { $as_echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5 13299$as_echo "$INTLTOOL_MERGE" >&6; } 13300else 13301 { $as_echo "$as_me:$LINENO: result: no" >&5 13302$as_echo "no" >&6; } 13303fi 13304 13305 13306# Extract the first word of "intltool-extract", so it can be a program name with args. 13307set dummy intltool-extract; ac_word=$2 13308{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 13309$as_echo_n "checking for $ac_word... " >&6; } 13310if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then 13311 $as_echo_n "(cached) " >&6 13312else 13313 case $INTLTOOL_EXTRACT in 13314 [\\/]* | ?:[\\/]*) 13315 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. 13316 ;; 13317 *) 13318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13319for as_dir in $PATH 13320do 13321 IFS=$as_save_IFS 13322 test -z "$as_dir" && as_dir=. 13323 for ac_exec_ext in '' $ac_executable_extensions; do 13324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13325 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" 13326 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 13327 break 2 13328 fi 13329done 13330done 13331IFS=$as_save_IFS 13332 13333 ;; 13334esac 13335fi 13336INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT 13337if test -n "$INTLTOOL_EXTRACT"; then 13338 { $as_echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5 13339$as_echo "$INTLTOOL_EXTRACT" >&6; } 13340else 13341 { $as_echo "$as_me:$LINENO: result: no" >&5 13342$as_echo "no" >&6; } 13343fi 13344 13345 13346if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then 13347 { { $as_echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5 13348$as_echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;} 13349 { (exit 1); exit 1; }; } 13350fi 13351 13352 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13353INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13354 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13355 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13356 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@' 13357 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13358 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13359 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13360INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13361 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13362 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13363 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@' 13364 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13365 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13366 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13367 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13368 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13369 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13370 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 13371 13372 13373 13374 13375 13376 13377 13378 13379 13380 13381 13382 13383 13384 13385 13386 13387 13388 13389 13390 13391 13392 13393 13394 13395 13396 13397 13398 13399 13400 13401 13402 13403 13404 13405 13406 13407 13408 13409 13410 13411 13412 13413 13414 13415 13416 13417 13418 13419 13420 13421 13422 13423 13424 13425 13426 13427 13428 13429 13430 13431 13432 13433 13434 13435 13436 13437 13438 13439 13440 13441 13442 13443 13444 13445 13446 13447 13448 13449 13450 13451 13452 13453 13454 13455 13456 13457 13458 13459 13460 13461 13462 13463 13464 13465 13466 13467 13468# Check the gettext tools to make sure they are GNU 13469# Extract the first word of "xgettext", so it can be a program name with args. 13470set dummy xgettext; ac_word=$2 13471{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 13472$as_echo_n "checking for $ac_word... " >&6; } 13473if test "${ac_cv_path_XGETTEXT+set}" = set; then 13474 $as_echo_n "(cached) " >&6 13475else 13476 case $XGETTEXT in 13477 [\\/]* | ?:[\\/]*) 13478 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 13479 ;; 13480 *) 13481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13482for as_dir in $PATH 13483do 13484 IFS=$as_save_IFS 13485 test -z "$as_dir" && as_dir=. 13486 for ac_exec_ext in '' $ac_executable_extensions; do 13487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13488 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" 13489 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 13490 break 2 13491 fi 13492done 13493done 13494IFS=$as_save_IFS 13495 13496 ;; 13497esac 13498fi 13499XGETTEXT=$ac_cv_path_XGETTEXT 13500if test -n "$XGETTEXT"; then 13501 { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5 13502$as_echo "$XGETTEXT" >&6; } 13503else 13504 { $as_echo "$as_me:$LINENO: result: no" >&5 13505$as_echo "no" >&6; } 13506fi 13507 13508 13509# Extract the first word of "msgmerge", so it can be a program name with args. 13510set dummy msgmerge; ac_word=$2 13511{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 13512$as_echo_n "checking for $ac_word... " >&6; } 13513if test "${ac_cv_path_MSGMERGE+set}" = set; then 13514 $as_echo_n "(cached) " >&6 13515else 13516 case $MSGMERGE in 13517 [\\/]* | ?:[\\/]*) 13518 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 13519 ;; 13520 *) 13521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13522for as_dir in $PATH 13523do 13524 IFS=$as_save_IFS 13525 test -z "$as_dir" && as_dir=. 13526 for ac_exec_ext in '' $ac_executable_extensions; do 13527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13528 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" 13529 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 13530 break 2 13531 fi 13532done 13533done 13534IFS=$as_save_IFS 13535 13536 ;; 13537esac 13538fi 13539MSGMERGE=$ac_cv_path_MSGMERGE 13540if test -n "$MSGMERGE"; then 13541 { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5 13542$as_echo "$MSGMERGE" >&6; } 13543else 13544 { $as_echo "$as_me:$LINENO: result: no" >&5 13545$as_echo "no" >&6; } 13546fi 13547 13548 13549# Extract the first word of "msgfmt", so it can be a program name with args. 13550set dummy msgfmt; ac_word=$2 13551{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 13552$as_echo_n "checking for $ac_word... " >&6; } 13553if test "${ac_cv_path_MSGFMT+set}" = set; then 13554 $as_echo_n "(cached) " >&6 13555else 13556 case $MSGFMT in 13557 [\\/]* | ?:[\\/]*) 13558 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 13559 ;; 13560 *) 13561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13562for as_dir in $PATH 13563do 13564 IFS=$as_save_IFS 13565 test -z "$as_dir" && as_dir=. 13566 for ac_exec_ext in '' $ac_executable_extensions; do 13567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13568 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" 13569 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 13570 break 2 13571 fi 13572done 13573done 13574IFS=$as_save_IFS 13575 13576 ;; 13577esac 13578fi 13579MSGFMT=$ac_cv_path_MSGFMT 13580if test -n "$MSGFMT"; then 13581 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5 13582$as_echo "$MSGFMT" >&6; } 13583else 13584 { $as_echo "$as_me:$LINENO: result: no" >&5 13585$as_echo "no" >&6; } 13586fi 13587 13588 13589# Extract the first word of "gmsgfmt", so it can be a program name with args. 13590set dummy gmsgfmt; ac_word=$2 13591{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 13592$as_echo_n "checking for $ac_word... " >&6; } 13593if test "${ac_cv_path_GMSGFMT+set}" = set; then 13594 $as_echo_n "(cached) " >&6 13595else 13596 case $GMSGFMT in 13597 [\\/]* | ?:[\\/]*) 13598 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 13599 ;; 13600 *) 13601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13602for as_dir in $PATH 13603do 13604 IFS=$as_save_IFS 13605 test -z "$as_dir" && as_dir=. 13606 for ac_exec_ext in '' $ac_executable_extensions; do 13607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13608 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 13609 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 13610 break 2 13611 fi 13612done 13613done 13614IFS=$as_save_IFS 13615 13616 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 13617 ;; 13618esac 13619fi 13620GMSGFMT=$ac_cv_path_GMSGFMT 13621if test -n "$GMSGFMT"; then 13622 { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5 13623$as_echo "$GMSGFMT" >&6; } 13624else 13625 { $as_echo "$as_me:$LINENO: result: no" >&5 13626$as_echo "no" >&6; } 13627fi 13628 13629 13630if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then 13631 { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5 13632$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;} 13633 { (exit 1); exit 1; }; } 13634fi 13635xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" 13636mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" 13637mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" 13638if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then 13639 { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5 13640$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;} 13641 { (exit 1); exit 1; }; } 13642fi 13643 13644# Extract the first word of "perl", so it can be a program name with args. 13645set dummy perl; ac_word=$2 13646{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 13647$as_echo_n "checking for $ac_word... " >&6; } 13648if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then 13649 $as_echo_n "(cached) " >&6 13650else 13651 case $INTLTOOL_PERL in 13652 [\\/]* | ?:[\\/]*) 13653 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. 13654 ;; 13655 *) 13656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13657for as_dir in $PATH 13658do 13659 IFS=$as_save_IFS 13660 test -z "$as_dir" && as_dir=. 13661 for ac_exec_ext in '' $ac_executable_extensions; do 13662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13663 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" 13664 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 13665 break 2 13666 fi 13667done 13668done 13669IFS=$as_save_IFS 13670 13671 ;; 13672esac 13673fi 13674INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL 13675if test -n "$INTLTOOL_PERL"; then 13676 { $as_echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5 13677$as_echo "$INTLTOOL_PERL" >&6; } 13678else 13679 { $as_echo "$as_me:$LINENO: result: no" >&5 13680$as_echo "no" >&6; } 13681fi 13682 13683 13684if test -z "$INTLTOOL_PERL"; then 13685 { { $as_echo "$as_me:$LINENO: error: perl not found" >&5 13686$as_echo "$as_me: error: perl not found" >&2;} 13687 { (exit 1); exit 1; }; } 13688fi 13689{ $as_echo "$as_me:$LINENO: checking for perl >= 5.8.1" >&5 13690$as_echo_n "checking for perl >= 5.8.1... " >&6; } 13691$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 13692if test $? -ne 0; then 13693 { { $as_echo "$as_me:$LINENO: error: perl 5.8.1 is required for intltool" >&5 13694$as_echo "$as_me: error: perl 5.8.1 is required for intltool" >&2;} 13695 { (exit 1); exit 1; }; } 13696else 13697 IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`" 13698 { $as_echo "$as_me:$LINENO: result: $IT_PERL_VERSION" >&5 13699$as_echo "$IT_PERL_VERSION" >&6; } 13700fi 13701if test "x" != "xno-xml"; then 13702 { $as_echo "$as_me:$LINENO: checking for XML::Parser" >&5 13703$as_echo_n "checking for XML::Parser... " >&6; } 13704 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then 13705 { $as_echo "$as_me:$LINENO: result: ok" >&5 13706$as_echo "ok" >&6; } 13707 else 13708 { { $as_echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5 13709$as_echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;} 13710 { (exit 1); exit 1; }; } 13711 fi 13712fi 13713 13714# Substitute ALL_LINGUAS so we can use it in po/Makefile 13715 13716 13717# Set DATADIRNAME correctly if it is not set yet 13718# (copied from glib-gettext.m4) 13719if test -z "$DATADIRNAME"; then 13720 cat >conftest.$ac_ext <<_ACEOF 13721/* confdefs.h. */ 13722_ACEOF 13723cat confdefs.h >>conftest.$ac_ext 13724cat >>conftest.$ac_ext <<_ACEOF 13725/* end confdefs.h. */ 13726 13727int 13728main () 13729{ 13730extern int _nl_msg_cat_cntr; 13731 return _nl_msg_cat_cntr 13732 ; 13733 return 0; 13734} 13735_ACEOF 13736rm -f conftest.$ac_objext conftest$ac_exeext 13737if { (ac_try="$ac_link" 13738case "(($ac_try" in 13739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13740 *) ac_try_echo=$ac_try;; 13741esac 13742eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13743$as_echo "$ac_try_echo") >&5 13744 (eval "$ac_link") 2>conftest.er1 13745 ac_status=$? 13746 grep -v '^ *+' conftest.er1 >conftest.err 13747 rm -f conftest.er1 13748 cat conftest.err >&5 13749 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13750 (exit $ac_status); } && { 13751 test -z "$ac_c_werror_flag" || 13752 test ! -s conftest.err 13753 } && test -s conftest$ac_exeext && { 13754 test "$cross_compiling" = yes || 13755 $as_test_x conftest$ac_exeext 13756 }; then 13757 DATADIRNAME=share 13758else 13759 $as_echo "$as_me: failed program was:" >&5 13760sed 's/^/| /' conftest.$ac_ext >&5 13761 13762 case $host in 13763 *-*-solaris*) 13764 { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5 13765$as_echo_n "checking for bind_textdomain_codeset... " >&6; } 13766if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then 13767 $as_echo_n "(cached) " >&6 13768else 13769 cat >conftest.$ac_ext <<_ACEOF 13770/* confdefs.h. */ 13771_ACEOF 13772cat confdefs.h >>conftest.$ac_ext 13773cat >>conftest.$ac_ext <<_ACEOF 13774/* end confdefs.h. */ 13775/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset. 13776 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13777#define bind_textdomain_codeset innocuous_bind_textdomain_codeset 13778 13779/* System header to define __stub macros and hopefully few prototypes, 13780 which can conflict with char bind_textdomain_codeset (); below. 13781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13782 <limits.h> exists even on freestanding compilers. */ 13783 13784#ifdef __STDC__ 13785# include <limits.h> 13786#else 13787# include <assert.h> 13788#endif 13789 13790#undef bind_textdomain_codeset 13791 13792/* Override any GCC internal prototype to avoid an error. 13793 Use char because int might match the return type of a GCC 13794 builtin and then its argument prototype would still apply. */ 13795#ifdef __cplusplus 13796extern "C" 13797#endif 13798char bind_textdomain_codeset (); 13799/* The GNU C library defines this for functions which it implements 13800 to always fail with ENOSYS. Some functions are actually named 13801 something starting with __ and the normal name is an alias. */ 13802#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset 13803choke me 13804#endif 13805 13806int 13807main () 13808{ 13809return bind_textdomain_codeset (); 13810 ; 13811 return 0; 13812} 13813_ACEOF 13814rm -f conftest.$ac_objext conftest$ac_exeext 13815if { (ac_try="$ac_link" 13816case "(($ac_try" in 13817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13818 *) ac_try_echo=$ac_try;; 13819esac 13820eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13821$as_echo "$ac_try_echo") >&5 13822 (eval "$ac_link") 2>conftest.er1 13823 ac_status=$? 13824 grep -v '^ *+' conftest.er1 >conftest.err 13825 rm -f conftest.er1 13826 cat conftest.err >&5 13827 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13828 (exit $ac_status); } && { 13829 test -z "$ac_c_werror_flag" || 13830 test ! -s conftest.err 13831 } && test -s conftest$ac_exeext && { 13832 test "$cross_compiling" = yes || 13833 $as_test_x conftest$ac_exeext 13834 }; then 13835 ac_cv_func_bind_textdomain_codeset=yes 13836else 13837 $as_echo "$as_me: failed program was:" >&5 13838sed 's/^/| /' conftest.$ac_ext >&5 13839 13840 ac_cv_func_bind_textdomain_codeset=no 13841fi 13842 13843rm -rf conftest.dSYM 13844rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13845 conftest$ac_exeext conftest.$ac_ext 13846fi 13847{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5 13848$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; } 13849if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then 13850 DATADIRNAME=share 13851else 13852 DATADIRNAME=share 13853fi 13854 13855 ;; 13856 *) 13857 DATADIRNAME=share 13858 ;; 13859 esac 13860fi 13861 13862rm -rf conftest.dSYM 13863rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13864 conftest$ac_exeext conftest.$ac_ext 13865fi 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879ac_config_files="$ac_config_files Makefile gtkspell/Makefile examples/Makefile gtkspell-2.0.pc gtkspell.spec docs/Makefile po/Makefile.in" 13880 13881 13882 13883 13884# Check whether --with-html-dir was given. 13885if test "${with_html_dir+set}" = set; then 13886 withval=$with_html_dir; 13887else 13888 with_html_dir='${datadir}/gtk-doc/html' 13889fi 13890 13891 HTML_DIR="$with_html_dir" 13892 13893 13894 # Check whether --enable-gtk-doc was given. 13895if test "${enable_gtk_doc+set}" = set; then 13896 enableval=$enable_gtk_doc; 13897else 13898 enable_gtk_doc=no 13899fi 13900 13901 13902 if test x$enable_gtk_doc = xyes; then 13903 if test -n "$PKG_CONFIG" && \ 13904 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\"") >&5 13905 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.0") 2>&5 13906 ac_status=$? 13907 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13908 (exit $ac_status); }; then 13909 : 13910else 13911 { { $as_echo "$as_me:$LINENO: error: You need to have gtk-doc >= 1.0 installed to build gtk-doc" >&5 13912$as_echo "$as_me: error: You need to have gtk-doc >= 1.0 installed to build gtk-doc" >&2;} 13913 { (exit 1); exit 1; }; } 13914fi 13915 fi 13916 13917 { $as_echo "$as_me:$LINENO: checking whether to build gtk-doc documentation" >&5 13918$as_echo_n "checking whether to build gtk-doc documentation... " >&6; } 13919 { $as_echo "$as_me:$LINENO: result: $enable_gtk_doc" >&5 13920$as_echo "$enable_gtk_doc" >&6; } 13921 13922 for ac_prog in gtkdoc-check 13923do 13924 # Extract the first word of "$ac_prog", so it can be a program name with args. 13925set dummy $ac_prog; ac_word=$2 13926{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 13927$as_echo_n "checking for $ac_word... " >&6; } 13928if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then 13929 $as_echo_n "(cached) " >&6 13930else 13931 case $GTKDOC_CHECK in 13932 [\\/]* | ?:[\\/]*) 13933 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path. 13934 ;; 13935 *) 13936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13937for as_dir in $PATH 13938do 13939 IFS=$as_save_IFS 13940 test -z "$as_dir" && as_dir=. 13941 for ac_exec_ext in '' $ac_executable_extensions; do 13942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13943 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext" 13944 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 13945 break 2 13946 fi 13947done 13948done 13949IFS=$as_save_IFS 13950 13951 ;; 13952esac 13953fi 13954GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK 13955if test -n "$GTKDOC_CHECK"; then 13956 { $as_echo "$as_me:$LINENO: result: $GTKDOC_CHECK" >&5 13957$as_echo "$GTKDOC_CHECK" >&6; } 13958else 13959 { $as_echo "$as_me:$LINENO: result: no" >&5 13960$as_echo "no" >&6; } 13961fi 13962 13963 13964 test -n "$GTKDOC_CHECK" && break 13965done 13966 13967 13968 if test x$enable_gtk_doc = xyes; then 13969 ENABLE_GTK_DOC_TRUE= 13970 ENABLE_GTK_DOC_FALSE='#' 13971else 13972 ENABLE_GTK_DOC_TRUE='#' 13973 ENABLE_GTK_DOC_FALSE= 13974fi 13975 13976 if test -n "$LIBTOOL"; then 13977 GTK_DOC_USE_LIBTOOL_TRUE= 13978 GTK_DOC_USE_LIBTOOL_FALSE='#' 13979else 13980 GTK_DOC_USE_LIBTOOL_TRUE='#' 13981 GTK_DOC_USE_LIBTOOL_FALSE= 13982fi 13983 13984 13985 13986cat >confcache <<\_ACEOF 13987# This file is a shell script that caches the results of configure 13988# tests run on this system so they can be shared between configure 13989# scripts and configure runs, see configure's option --config-cache. 13990# It is not useful on other systems. If it contains results you don't 13991# want to keep, you may remove or edit it. 13992# 13993# config.status only pays attention to the cache file if you give it 13994# the --recheck option to rerun configure. 13995# 13996# `ac_cv_env_foo' variables (set or unset) will be overridden when 13997# loading this file, other *unset* `ac_cv_foo' will be assigned the 13998# following values. 13999 14000_ACEOF 14001 14002# The following way of writing the cache mishandles newlines in values, 14003# but we know of no workaround that is simple, portable, and efficient. 14004# So, we kill variables containing newlines. 14005# Ultrix sh set writes to stderr and can't be redirected directly, 14006# and sets the high bit in the cache file unless we assign to the vars. 14007( 14008 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 14009 eval ac_val=\$$ac_var 14010 case $ac_val in #( 14011 *${as_nl}*) 14012 case $ac_var in #( 14013 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 14014$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 14015 esac 14016 case $ac_var in #( 14017 _ | IFS | as_nl) ;; #( 14018 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 14019 *) $as_unset $ac_var ;; 14020 esac ;; 14021 esac 14022 done 14023 14024 (set) 2>&1 | 14025 case $as_nl`(ac_space=' '; set) 2>&1` in #( 14026 *${as_nl}ac_space=\ *) 14027 # `set' does not quote correctly, so add quotes (double-quote 14028 # substitution turns \\\\ into \\, and sed turns \\ into \). 14029 sed -n \ 14030 "s/'/'\\\\''/g; 14031 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 14032 ;; #( 14033 *) 14034 # `set' quotes correctly as required by POSIX, so do not add quotes. 14035 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 14036 ;; 14037 esac | 14038 sort 14039) | 14040 sed ' 14041 /^ac_cv_env_/b end 14042 t clear 14043 :clear 14044 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 14045 t end 14046 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 14047 :end' >>confcache 14048if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 14049 if test -w "$cache_file"; then 14050 test "x$cache_file" != "x/dev/null" && 14051 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 14052$as_echo "$as_me: updating cache $cache_file" >&6;} 14053 cat confcache >$cache_file 14054 else 14055 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 14056$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 14057 fi 14058fi 14059rm -f confcache 14060 14061test "x$prefix" = xNONE && prefix=$ac_default_prefix 14062# Let make expand exec_prefix. 14063test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 14064 14065DEFS=-DHAVE_CONFIG_H 14066 14067ac_libobjs= 14068ac_ltlibobjs= 14069for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 14070 # 1. Remove the extension, and $U if already installed. 14071 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 14072 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 14073 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 14074 # will be set to the directory where LIBOBJS objects are built. 14075 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 14076 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 14077done 14078LIBOBJS=$ac_libobjs 14079 14080LTLIBOBJS=$ac_ltlibobjs 14081 14082 14083if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then 14084 { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_GTK_DOC\" was never defined. 14085Usually this means the macro was only invoked conditionally." >&5 14086$as_echo "$as_me: error: conditional \"ENABLE_GTK_DOC\" was never defined. 14087Usually this means the macro was only invoked conditionally." >&2;} 14088 { (exit 1); exit 1; }; } 14089fi 14090if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 14091 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 14092Usually this means the macro was only invoked conditionally." >&5 14093$as_echo "$as_me: error: conditional \"AMDEP\" was never defined. 14094Usually this means the macro was only invoked conditionally." >&2;} 14095 { (exit 1); exit 1; }; } 14096fi 14097if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 14098 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 14099Usually this means the macro was only invoked conditionally." >&5 14100$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 14101Usually this means the macro was only invoked conditionally." >&2;} 14102 { (exit 1); exit 1; }; } 14103fi 14104 14105 ac_config_commands="$ac_config_commands po/stamp-it" 14106 14107 14108if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then 14109 { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_GTK_DOC\" was never defined. 14110Usually this means the macro was only invoked conditionally." >&5 14111$as_echo "$as_me: error: conditional \"ENABLE_GTK_DOC\" was never defined. 14112Usually this means the macro was only invoked conditionally." >&2;} 14113 { (exit 1); exit 1; }; } 14114fi 14115if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then 14116 { { $as_echo "$as_me:$LINENO: error: conditional \"GTK_DOC_USE_LIBTOOL\" was never defined. 14117Usually this means the macro was only invoked conditionally." >&5 14118$as_echo "$as_me: error: conditional \"GTK_DOC_USE_LIBTOOL\" was never defined. 14119Usually this means the macro was only invoked conditionally." >&2;} 14120 { (exit 1); exit 1; }; } 14121fi 14122 14123: ${CONFIG_STATUS=./config.status} 14124ac_write_fail=0 14125ac_clean_files_save=$ac_clean_files 14126ac_clean_files="$ac_clean_files $CONFIG_STATUS" 14127{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 14128$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 14129cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14130#! $SHELL 14131# Generated by $as_me. 14132# Run this file to recreate the current configuration. 14133# Compiler output produced by configure, useful for debugging 14134# configure, is in config.log if it exists. 14135 14136debug=false 14137ac_cs_recheck=false 14138ac_cs_silent=false 14139SHELL=\${CONFIG_SHELL-$SHELL} 14140_ACEOF 14141 14142cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14143## --------------------- ## 14144## M4sh Initialization. ## 14145## --------------------- ## 14146 14147# Be more Bourne compatible 14148DUALCASE=1; export DUALCASE # for MKS sh 14149if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14150 emulate sh 14151 NULLCMD=: 14152 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 14153 # is contrary to our usage. Disable this feature. 14154 alias -g '${1+"$@"}'='"$@"' 14155 setopt NO_GLOB_SUBST 14156else 14157 case `(set -o) 2>/dev/null` in 14158 *posix*) set -o posix ;; 14159esac 14160 14161fi 14162 14163 14164 14165 14166# PATH needs CR 14167# Avoid depending upon Character Ranges. 14168as_cr_letters='abcdefghijklmnopqrstuvwxyz' 14169as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 14170as_cr_Letters=$as_cr_letters$as_cr_LETTERS 14171as_cr_digits='0123456789' 14172as_cr_alnum=$as_cr_Letters$as_cr_digits 14173 14174as_nl=' 14175' 14176export as_nl 14177# Printing a long string crashes Solaris 7 /usr/bin/printf. 14178as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 14179as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 14180as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 14181if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 14182 as_echo='printf %s\n' 14183 as_echo_n='printf %s' 14184else 14185 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 14186 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 14187 as_echo_n='/usr/ucb/echo -n' 14188 else 14189 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 14190 as_echo_n_body='eval 14191 arg=$1; 14192 case $arg in 14193 *"$as_nl"*) 14194 expr "X$arg" : "X\\(.*\\)$as_nl"; 14195 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 14196 esac; 14197 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 14198 ' 14199 export as_echo_n_body 14200 as_echo_n='sh -c $as_echo_n_body as_echo' 14201 fi 14202 export as_echo_body 14203 as_echo='sh -c $as_echo_body as_echo' 14204fi 14205 14206# The user is always right. 14207if test "${PATH_SEPARATOR+set}" != set; then 14208 PATH_SEPARATOR=: 14209 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 14210 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 14211 PATH_SEPARATOR=';' 14212 } 14213fi 14214 14215# Support unset when possible. 14216if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 14217 as_unset=unset 14218else 14219 as_unset=false 14220fi 14221 14222 14223# IFS 14224# We need space, tab and new line, in precisely that order. Quoting is 14225# there to prevent editors from complaining about space-tab. 14226# (If _AS_PATH_WALK were called with IFS unset, it would disable word 14227# splitting by setting IFS to empty value.) 14228IFS=" "" $as_nl" 14229 14230# Find who we are. Look in the path if we contain no directory separator. 14231case $0 in 14232 *[\\/]* ) as_myself=$0 ;; 14233 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14234for as_dir in $PATH 14235do 14236 IFS=$as_save_IFS 14237 test -z "$as_dir" && as_dir=. 14238 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 14239done 14240IFS=$as_save_IFS 14241 14242 ;; 14243esac 14244# We did not find ourselves, most probably we were run as `sh COMMAND' 14245# in which case we are not to be found in the path. 14246if test "x$as_myself" = x; then 14247 as_myself=$0 14248fi 14249if test ! -f "$as_myself"; then 14250 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 14251 { (exit 1); exit 1; } 14252fi 14253 14254# Work around bugs in pre-3.0 UWIN ksh. 14255for as_var in ENV MAIL MAILPATH 14256do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 14257done 14258PS1='$ ' 14259PS2='> ' 14260PS4='+ ' 14261 14262# NLS nuisances. 14263LC_ALL=C 14264export LC_ALL 14265LANGUAGE=C 14266export LANGUAGE 14267 14268# Required to use basename. 14269if expr a : '\(a\)' >/dev/null 2>&1 && 14270 test "X`expr 00001 : '.*\(...\)'`" = X001; then 14271 as_expr=expr 14272else 14273 as_expr=false 14274fi 14275 14276if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 14277 as_basename=basename 14278else 14279 as_basename=false 14280fi 14281 14282 14283# Name of the executable. 14284as_me=`$as_basename -- "$0" || 14285$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 14286 X"$0" : 'X\(//\)$' \| \ 14287 X"$0" : 'X\(/\)' \| . 2>/dev/null || 14288$as_echo X/"$0" | 14289 sed '/^.*\/\([^/][^/]*\)\/*$/{ 14290 s//\1/ 14291 q 14292 } 14293 /^X\/\(\/\/\)$/{ 14294 s//\1/ 14295 q 14296 } 14297 /^X\/\(\/\).*/{ 14298 s//\1/ 14299 q 14300 } 14301 s/.*/./; q'` 14302 14303# CDPATH. 14304$as_unset CDPATH 14305 14306 14307 14308 as_lineno_1=$LINENO 14309 as_lineno_2=$LINENO 14310 test "x$as_lineno_1" != "x$as_lineno_2" && 14311 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 14312 14313 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 14314 # uniformly replaced by the line number. The first 'sed' inserts a 14315 # line-number line after each line using $LINENO; the second 'sed' 14316 # does the real work. The second script uses 'N' to pair each 14317 # line-number line with the line containing $LINENO, and appends 14318 # trailing '-' during substitution so that $LINENO is not a special 14319 # case at line end. 14320 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 14321 # scripts with optimization help from Paolo Bonzini. Blame Lee 14322 # E. McMahon (1931-1989) for sed's syntax. :-) 14323 sed -n ' 14324 p 14325 /[$]LINENO/= 14326 ' <$as_myself | 14327 sed ' 14328 s/[$]LINENO.*/&-/ 14329 t lineno 14330 b 14331 :lineno 14332 N 14333 :loop 14334 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 14335 t loop 14336 s/-\n.*// 14337 ' >$as_me.lineno && 14338 chmod +x "$as_me.lineno" || 14339 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 14340 { (exit 1); exit 1; }; } 14341 14342 # Don't try to exec as it changes $[0], causing all sort of problems 14343 # (the dirname of $[0] is not the place where we might find the 14344 # original and so on. Autoconf is especially sensitive to this). 14345 . "./$as_me.lineno" 14346 # Exit status is that of the last command. 14347 exit 14348} 14349 14350 14351if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 14352 as_dirname=dirname 14353else 14354 as_dirname=false 14355fi 14356 14357ECHO_C= ECHO_N= ECHO_T= 14358case `echo -n x` in 14359-n*) 14360 case `echo 'x\c'` in 14361 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 14362 *) ECHO_C='\c';; 14363 esac;; 14364*) 14365 ECHO_N='-n';; 14366esac 14367if expr a : '\(a\)' >/dev/null 2>&1 && 14368 test "X`expr 00001 : '.*\(...\)'`" = X001; then 14369 as_expr=expr 14370else 14371 as_expr=false 14372fi 14373 14374rm -f conf$$ conf$$.exe conf$$.file 14375if test -d conf$$.dir; then 14376 rm -f conf$$.dir/conf$$.file 14377else 14378 rm -f conf$$.dir 14379 mkdir conf$$.dir 2>/dev/null 14380fi 14381if (echo >conf$$.file) 2>/dev/null; then 14382 if ln -s conf$$.file conf$$ 2>/dev/null; then 14383 as_ln_s='ln -s' 14384 # ... but there are two gotchas: 14385 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 14386 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 14387 # In both cases, we have to default to `cp -p'. 14388 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 14389 as_ln_s='cp -p' 14390 elif ln conf$$.file conf$$ 2>/dev/null; then 14391 as_ln_s=ln 14392 else 14393 as_ln_s='cp -p' 14394 fi 14395else 14396 as_ln_s='cp -p' 14397fi 14398rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 14399rmdir conf$$.dir 2>/dev/null 14400 14401if mkdir -p . 2>/dev/null; then 14402 as_mkdir_p=: 14403else 14404 test -d ./-p && rmdir ./-p 14405 as_mkdir_p=false 14406fi 14407 14408if test -x / >/dev/null 2>&1; then 14409 as_test_x='test -x' 14410else 14411 if ls -dL / >/dev/null 2>&1; then 14412 as_ls_L_option=L 14413 else 14414 as_ls_L_option= 14415 fi 14416 as_test_x=' 14417 eval sh -c '\'' 14418 if test -d "$1"; then 14419 test -d "$1/."; 14420 else 14421 case $1 in 14422 -*)set "./$1";; 14423 esac; 14424 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 14425 ???[sx]*):;;*)false;;esac;fi 14426 '\'' sh 14427 ' 14428fi 14429as_executable_p=$as_test_x 14430 14431# Sed expression to map a string onto a valid CPP name. 14432as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 14433 14434# Sed expression to map a string onto a valid variable name. 14435as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 14436 14437 14438exec 6>&1 14439 14440# Save the log message, to keep $[0] and so on meaningful, and to 14441# report actual input values of CONFIG_FILES etc. instead of their 14442# values after options handling. 14443ac_log=" 14444This file was extended by gtkspell $as_me 2.0.16, which was 14445generated by GNU Autoconf 2.63. Invocation command line was 14446 14447 CONFIG_FILES = $CONFIG_FILES 14448 CONFIG_HEADERS = $CONFIG_HEADERS 14449 CONFIG_LINKS = $CONFIG_LINKS 14450 CONFIG_COMMANDS = $CONFIG_COMMANDS 14451 $ $0 $@ 14452 14453on `(hostname || uname -n) 2>/dev/null | sed 1q` 14454" 14455 14456_ACEOF 14457 14458case $ac_config_files in *" 14459"*) set x $ac_config_files; shift; ac_config_files=$*;; 14460esac 14461 14462case $ac_config_headers in *" 14463"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 14464esac 14465 14466 14467cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14468# Files that config.status was made for. 14469config_files="$ac_config_files" 14470config_headers="$ac_config_headers" 14471config_commands="$ac_config_commands" 14472 14473_ACEOF 14474 14475cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14476ac_cs_usage="\ 14477\`$as_me' instantiates files from templates according to the 14478current configuration. 14479 14480Usage: $0 [OPTION]... [FILE]... 14481 14482 -h, --help print this help, then exit 14483 -V, --version print version number and configuration settings, then exit 14484 -q, --quiet, --silent 14485 do not print progress messages 14486 -d, --debug don't remove temporary files 14487 --recheck update $as_me by reconfiguring in the same conditions 14488 --file=FILE[:TEMPLATE] 14489 instantiate the configuration file FILE 14490 --header=FILE[:TEMPLATE] 14491 instantiate the configuration header FILE 14492 14493Configuration files: 14494$config_files 14495 14496Configuration headers: 14497$config_headers 14498 14499Configuration commands: 14500$config_commands 14501 14502Report bugs to <bug-autoconf@gnu.org>." 14503 14504_ACEOF 14505cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14506ac_cs_version="\\ 14507gtkspell config.status 2.0.16 14508configured by $0, generated by GNU Autoconf 2.63, 14509 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 14510 14511Copyright (C) 2008 Free Software Foundation, Inc. 14512This config.status script is free software; the Free Software Foundation 14513gives unlimited permission to copy, distribute and modify it." 14514 14515ac_pwd='$ac_pwd' 14516srcdir='$srcdir' 14517INSTALL='$INSTALL' 14518MKDIR_P='$MKDIR_P' 14519AWK='$AWK' 14520test -n "\$AWK" || AWK=awk 14521_ACEOF 14522 14523cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14524# The default lists apply if the user does not specify any file. 14525ac_need_defaults=: 14526while test $# != 0 14527do 14528 case $1 in 14529 --*=*) 14530 ac_option=`expr "X$1" : 'X\([^=]*\)='` 14531 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 14532 ac_shift=: 14533 ;; 14534 *) 14535 ac_option=$1 14536 ac_optarg=$2 14537 ac_shift=shift 14538 ;; 14539 esac 14540 14541 case $ac_option in 14542 # Handling of the options. 14543 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 14544 ac_cs_recheck=: ;; 14545 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 14546 $as_echo "$ac_cs_version"; exit ;; 14547 --debug | --debu | --deb | --de | --d | -d ) 14548 debug=: ;; 14549 --file | --fil | --fi | --f ) 14550 $ac_shift 14551 case $ac_optarg in 14552 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 14553 esac 14554 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 14555 ac_need_defaults=false;; 14556 --header | --heade | --head | --hea ) 14557 $ac_shift 14558 case $ac_optarg in 14559 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 14560 esac 14561 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 14562 ac_need_defaults=false;; 14563 --he | --h) 14564 # Conflict between --help and --header 14565 { $as_echo "$as_me: error: ambiguous option: $1 14566Try \`$0 --help' for more information." >&2 14567 { (exit 1); exit 1; }; };; 14568 --help | --hel | -h ) 14569 $as_echo "$ac_cs_usage"; exit ;; 14570 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 14571 | -silent | --silent | --silen | --sile | --sil | --si | --s) 14572 ac_cs_silent=: ;; 14573 14574 # This is an error. 14575 -*) { $as_echo "$as_me: error: unrecognized option: $1 14576Try \`$0 --help' for more information." >&2 14577 { (exit 1); exit 1; }; } ;; 14578 14579 *) ac_config_targets="$ac_config_targets $1" 14580 ac_need_defaults=false ;; 14581 14582 esac 14583 shift 14584done 14585 14586ac_configure_extra_args= 14587 14588if $ac_cs_silent; then 14589 exec 6>/dev/null 14590 ac_configure_extra_args="$ac_configure_extra_args --silent" 14591fi 14592 14593_ACEOF 14594cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14595if \$ac_cs_recheck; then 14596 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 14597 shift 14598 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 14599 CONFIG_SHELL='$SHELL' 14600 export CONFIG_SHELL 14601 exec "\$@" 14602fi 14603 14604_ACEOF 14605cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14606exec 5>>config.log 14607{ 14608 echo 14609 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 14610## Running $as_me. ## 14611_ASBOX 14612 $as_echo "$ac_log" 14613} >&5 14614 14615_ACEOF 14616cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14617# 14618# INIT-COMMANDS 14619# 14620AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 14621 14622 14623# The HP-UX ksh and POSIX shell print the target directory to stdout 14624# if CDPATH is set. 14625(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 14626 14627sed_quote_subst='$sed_quote_subst' 14628double_quote_subst='$double_quote_subst' 14629delay_variable_subst='$delay_variable_subst' 14630macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' 14631macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' 14632enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' 14633enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' 14634pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' 14635enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' 14636host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' 14637host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' 14638host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' 14639build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' 14640build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' 14641build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' 14642SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' 14643Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' 14644GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' 14645EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' 14646FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' 14647LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' 14648NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' 14649LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' 14650max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' 14651ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' 14652exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' 14653lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' 14654lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' 14655lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' 14656reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' 14657reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14658OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' 14659deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' 14660file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' 14661AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' 14662AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' 14663STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' 14664RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' 14665old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14666old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14667old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14668CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' 14669CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' 14670compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' 14671GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' 14672lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' 14673lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' 14674lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`' 14675lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' 14676objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' 14677SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' 14678ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' 14679MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' 14680lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' 14681lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' 14682lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' 14683lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' 14684lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' 14685need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' 14686DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' 14687NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' 14688LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' 14689OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' 14690OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' 14691libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' 14692shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14693extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14694archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' 14695enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' 14696export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 14697whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 14698compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' 14699old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14700old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14701archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14702archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14703module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14704module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14705with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' 14706allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 14707no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 14708hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 14709hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' 14710hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' 14711hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' 14712hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' 14713hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' 14714hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 14715hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' 14716inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' 14717link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' 14718fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' 14719always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' 14720export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14721exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 14722include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 14723prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14724file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' 14725variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' 14726need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' 14727need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' 14728version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' 14729runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' 14730shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 14731shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' 14732libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' 14733library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' 14734soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' 14735postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14736postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14737finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14738finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' 14739hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' 14740sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 14741sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 14742hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' 14743enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' 14744enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' 14745enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' 14746old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' 14747striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' 14748 14749LTCC='$LTCC' 14750LTCFLAGS='$LTCFLAGS' 14751compiler='$compiler_DEFAULT' 14752 14753# Quote evaled strings. 14754for var in SED \ 14755GREP \ 14756EGREP \ 14757FGREP \ 14758LD \ 14759NM \ 14760LN_S \ 14761lt_SP2NL \ 14762lt_NL2SP \ 14763reload_flag \ 14764OBJDUMP \ 14765deplibs_check_method \ 14766file_magic_cmd \ 14767AR \ 14768AR_FLAGS \ 14769STRIP \ 14770RANLIB \ 14771CC \ 14772CFLAGS \ 14773compiler \ 14774lt_cv_sys_global_symbol_pipe \ 14775lt_cv_sys_global_symbol_to_cdecl \ 14776lt_cv_sys_global_symbol_to_c_name_address \ 14777lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 14778SHELL \ 14779ECHO \ 14780lt_prog_compiler_no_builtin_flag \ 14781lt_prog_compiler_wl \ 14782lt_prog_compiler_pic \ 14783lt_prog_compiler_static \ 14784lt_cv_prog_compiler_c_o \ 14785need_locks \ 14786DSYMUTIL \ 14787NMEDIT \ 14788LIPO \ 14789OTOOL \ 14790OTOOL64 \ 14791shrext_cmds \ 14792export_dynamic_flag_spec \ 14793whole_archive_flag_spec \ 14794compiler_needs_object \ 14795with_gnu_ld \ 14796allow_undefined_flag \ 14797no_undefined_flag \ 14798hardcode_libdir_flag_spec \ 14799hardcode_libdir_flag_spec_ld \ 14800hardcode_libdir_separator \ 14801fix_srcfile_path \ 14802exclude_expsyms \ 14803include_expsyms \ 14804file_list_spec \ 14805variables_saved_for_relink \ 14806libname_spec \ 14807library_names_spec \ 14808soname_spec \ 14809finish_eval \ 14810old_striplib \ 14811striplib; do 14812 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 14813 *[\\\\\\\`\\"\\\$]*) 14814 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 14815 ;; 14816 *) 14817 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14818 ;; 14819 esac 14820done 14821 14822# Double-quote double-evaled strings. 14823for var in reload_cmds \ 14824old_postinstall_cmds \ 14825old_postuninstall_cmds \ 14826old_archive_cmds \ 14827extract_expsyms_cmds \ 14828old_archive_from_new_cmds \ 14829old_archive_from_expsyms_cmds \ 14830archive_cmds \ 14831archive_expsym_cmds \ 14832module_cmds \ 14833module_expsym_cmds \ 14834export_symbols_cmds \ 14835prelink_cmds \ 14836postinstall_cmds \ 14837postuninstall_cmds \ 14838finish_cmds \ 14839sys_lib_search_path_spec \ 14840sys_lib_dlsearch_path_spec; do 14841 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 14842 *[\\\\\\\`\\"\\\$]*) 14843 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 14844 ;; 14845 *) 14846 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14847 ;; 14848 esac 14849done 14850 14851# Fix-up fallback echo if it was mangled by the above quoting rules. 14852case \$lt_ECHO in 14853*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` 14854 ;; 14855esac 14856 14857ac_aux_dir='$ac_aux_dir' 14858xsi_shell='$xsi_shell' 14859lt_shell_append='$lt_shell_append' 14860 14861# See if we are running on zsh, and set the options which allow our 14862# commands through without removal of \ escapes INIT. 14863if test -n "\${ZSH_VERSION+set}" ; then 14864 setopt NO_GLOB_SUBST 14865fi 14866 14867 14868 PACKAGE='$PACKAGE' 14869 VERSION='$VERSION' 14870 TIMESTAMP='$TIMESTAMP' 14871 RM='$RM' 14872 ofile='$ofile' 14873 14874 14875 14876 14877 14878_ACEOF 14879 14880cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14881 14882# Handling of arguments. 14883for ac_config_target in $ac_config_targets 14884do 14885 case $ac_config_target in 14886 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 14887 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 14888 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 14889 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 14890 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 14891 "gtkspell/Makefile") CONFIG_FILES="$CONFIG_FILES gtkspell/Makefile" ;; 14892 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; 14893 "gtkspell-2.0.pc") CONFIG_FILES="$CONFIG_FILES gtkspell-2.0.pc" ;; 14894 "gtkspell.spec") CONFIG_FILES="$CONFIG_FILES gtkspell.spec" ;; 14895 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; 14896 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 14897 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; 14898 14899 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 14900$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 14901 { (exit 1); exit 1; }; };; 14902 esac 14903done 14904 14905 14906# If the user did not use the arguments to specify the items to instantiate, 14907# then the envvar interface is used. Set only those that are not. 14908# We use the long form for the default assignment because of an extremely 14909# bizarre bug on SunOS 4.1.3. 14910if $ac_need_defaults; then 14911 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 14912 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 14913 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 14914fi 14915 14916# Have a temporary directory for convenience. Make it in the build tree 14917# simply because there is no reason against having it here, and in addition, 14918# creating and moving files from /tmp can sometimes cause problems. 14919# Hook for its removal unless debugging. 14920# Note that there is a small window in which the directory will not be cleaned: 14921# after its creation but before its name has been assigned to `$tmp'. 14922$debug || 14923{ 14924 tmp= 14925 trap 'exit_status=$? 14926 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 14927' 0 14928 trap '{ (exit 1); exit 1; }' 1 2 13 15 14929} 14930# Create a (secure) tmp directory for tmp files. 14931 14932{ 14933 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 14934 test -n "$tmp" && test -d "$tmp" 14935} || 14936{ 14937 tmp=./conf$$-$RANDOM 14938 (umask 077 && mkdir "$tmp") 14939} || 14940{ 14941 $as_echo "$as_me: cannot create a temporary directory in ." >&2 14942 { (exit 1); exit 1; } 14943} 14944 14945# Set up the scripts for CONFIG_FILES section. 14946# No need to generate them if there are no CONFIG_FILES. 14947# This happens for instance with `./config.status config.h'. 14948if test -n "$CONFIG_FILES"; then 14949 14950 14951ac_cr=' 14952' 14953ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 14954if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 14955 ac_cs_awk_cr='\\r' 14956else 14957 ac_cs_awk_cr=$ac_cr 14958fi 14959 14960echo 'BEGIN {' >"$tmp/subs1.awk" && 14961_ACEOF 14962 14963 14964{ 14965 echo "cat >conf$$subs.awk <<_ACEOF" && 14966 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 14967 echo "_ACEOF" 14968} >conf$$subs.sh || 14969 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 14970$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 14971 { (exit 1); exit 1; }; } 14972ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 14973ac_delim='%!_!# ' 14974for ac_last_try in false false false false false :; do 14975 . ./conf$$subs.sh || 14976 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 14977$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 14978 { (exit 1); exit 1; }; } 14979 14980 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 14981 if test $ac_delim_n = $ac_delim_num; then 14982 break 14983 elif $ac_last_try; then 14984 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 14985$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 14986 { (exit 1); exit 1; }; } 14987 else 14988 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14989 fi 14990done 14991rm -f conf$$subs.sh 14992 14993cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14994cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 14995_ACEOF 14996sed -n ' 14997h 14998s/^/S["/; s/!.*/"]=/ 14999p 15000g 15001s/^[^!]*!// 15002:repl 15003t repl 15004s/'"$ac_delim"'$// 15005t delim 15006:nl 15007h 15008s/\(.\{148\}\).*/\1/ 15009t more1 15010s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 15011p 15012n 15013b repl 15014:more1 15015s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 15016p 15017g 15018s/.\{148\}// 15019t nl 15020:delim 15021h 15022s/\(.\{148\}\).*/\1/ 15023t more2 15024s/["\\]/\\&/g; s/^/"/; s/$/"/ 15025p 15026b 15027:more2 15028s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 15029p 15030g 15031s/.\{148\}// 15032t delim 15033' <conf$$subs.awk | sed ' 15034/^[^""]/{ 15035 N 15036 s/\n// 15037} 15038' >>$CONFIG_STATUS || ac_write_fail=1 15039rm -f conf$$subs.awk 15040cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15041_ACAWK 15042cat >>"\$tmp/subs1.awk" <<_ACAWK && 15043 for (key in S) S_is_set[key] = 1 15044 FS = "" 15045 15046} 15047{ 15048 line = $ 0 15049 nfields = split(line, field, "@") 15050 substed = 0 15051 len = length(field[1]) 15052 for (i = 2; i < nfields; i++) { 15053 key = field[i] 15054 keylen = length(key) 15055 if (S_is_set[key]) { 15056 value = S[key] 15057 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 15058 len += length(value) + length(field[++i]) 15059 substed = 1 15060 } else 15061 len += 1 + keylen 15062 } 15063 15064 print line 15065} 15066 15067_ACAWK 15068_ACEOF 15069cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15070if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 15071 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 15072else 15073 cat 15074fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 15075 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 15076$as_echo "$as_me: error: could not setup config files machinery" >&2;} 15077 { (exit 1); exit 1; }; } 15078_ACEOF 15079 15080# VPATH may cause trouble with some makes, so we remove $(srcdir), 15081# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 15082# trailing colons and then remove the whole line if VPATH becomes empty 15083# (actually we leave an empty line to preserve line numbers). 15084if test "x$srcdir" = x.; then 15085 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 15086s/:*\$(srcdir):*/:/ 15087s/:*\${srcdir}:*/:/ 15088s/:*@srcdir@:*/:/ 15089s/^\([^=]*=[ ]*\):*/\1/ 15090s/:*$// 15091s/^[^=]*=[ ]*$// 15092}' 15093fi 15094 15095cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15096fi # test -n "$CONFIG_FILES" 15097 15098# Set up the scripts for CONFIG_HEADERS section. 15099# No need to generate them if there are no CONFIG_HEADERS. 15100# This happens for instance with `./config.status Makefile'. 15101if test -n "$CONFIG_HEADERS"; then 15102cat >"$tmp/defines.awk" <<\_ACAWK || 15103BEGIN { 15104_ACEOF 15105 15106# Transform confdefs.h into an awk script `defines.awk', embedded as 15107# here-document in config.status, that substitutes the proper values into 15108# config.h.in to produce config.h. 15109 15110# Create a delimiter string that does not exist in confdefs.h, to ease 15111# handling of long lines. 15112ac_delim='%!_!# ' 15113for ac_last_try in false false :; do 15114 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 15115 if test -z "$ac_t"; then 15116 break 15117 elif $ac_last_try; then 15118 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 15119$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 15120 { (exit 1); exit 1; }; } 15121 else 15122 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 15123 fi 15124done 15125 15126# For the awk script, D is an array of macro values keyed by name, 15127# likewise P contains macro parameters if any. Preserve backslash 15128# newline sequences. 15129 15130ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 15131sed -n ' 15132s/.\{148\}/&'"$ac_delim"'/g 15133t rset 15134:rset 15135s/^[ ]*#[ ]*define[ ][ ]*/ / 15136t def 15137d 15138:def 15139s/\\$// 15140t bsnl 15141s/["\\]/\\&/g 15142s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 15143D["\1"]=" \3"/p 15144s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 15145d 15146:bsnl 15147s/["\\]/\\&/g 15148s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 15149D["\1"]=" \3\\\\\\n"\\/p 15150t cont 15151s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 15152t cont 15153d 15154:cont 15155n 15156s/.\{148\}/&'"$ac_delim"'/g 15157t clear 15158:clear 15159s/\\$// 15160t bsnlc 15161s/["\\]/\\&/g; s/^/"/; s/$/"/p 15162d 15163:bsnlc 15164s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 15165b cont 15166' <confdefs.h | sed ' 15167s/'"$ac_delim"'/"\\\ 15168"/g' >>$CONFIG_STATUS || ac_write_fail=1 15169 15170cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15171 for (key in D) D_is_set[key] = 1 15172 FS = "" 15173} 15174/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 15175 line = \$ 0 15176 split(line, arg, " ") 15177 if (arg[1] == "#") { 15178 defundef = arg[2] 15179 mac1 = arg[3] 15180 } else { 15181 defundef = substr(arg[1], 2) 15182 mac1 = arg[2] 15183 } 15184 split(mac1, mac2, "(") #) 15185 macro = mac2[1] 15186 prefix = substr(line, 1, index(line, defundef) - 1) 15187 if (D_is_set[macro]) { 15188 # Preserve the white space surrounding the "#". 15189 print prefix "define", macro P[macro] D[macro] 15190 next 15191 } else { 15192 # Replace #undef with comments. This is necessary, for example, 15193 # in the case of _POSIX_SOURCE, which is predefined and required 15194 # on some systems where configure will not decide to define it. 15195 if (defundef == "undef") { 15196 print "/*", prefix defundef, macro, "*/" 15197 next 15198 } 15199 } 15200} 15201{ print } 15202_ACAWK 15203_ACEOF 15204cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15205 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 15206$as_echo "$as_me: error: could not setup config headers machinery" >&2;} 15207 { (exit 1); exit 1; }; } 15208fi # test -n "$CONFIG_HEADERS" 15209 15210 15211eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 15212shift 15213for ac_tag 15214do 15215 case $ac_tag in 15216 :[FHLC]) ac_mode=$ac_tag; continue;; 15217 esac 15218 case $ac_mode$ac_tag in 15219 :[FHL]*:*);; 15220 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 15221$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 15222 { (exit 1); exit 1; }; };; 15223 :[FH]-) ac_tag=-:-;; 15224 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 15225 esac 15226 ac_save_IFS=$IFS 15227 IFS=: 15228 set x $ac_tag 15229 IFS=$ac_save_IFS 15230 shift 15231 ac_file=$1 15232 shift 15233 15234 case $ac_mode in 15235 :L) ac_source=$1;; 15236 :[FH]) 15237 ac_file_inputs= 15238 for ac_f 15239 do 15240 case $ac_f in 15241 -) ac_f="$tmp/stdin";; 15242 *) # Look for the file first in the build tree, then in the source tree 15243 # (if the path is not absolute). The absolute path cannot be DOS-style, 15244 # because $ac_f cannot contain `:'. 15245 test -f "$ac_f" || 15246 case $ac_f in 15247 [\\/$]*) false;; 15248 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 15249 esac || 15250 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 15251$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 15252 { (exit 1); exit 1; }; };; 15253 esac 15254 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 15255 ac_file_inputs="$ac_file_inputs '$ac_f'" 15256 done 15257 15258 # Let's still pretend it is `configure' which instantiates (i.e., don't 15259 # use $as_me), people would be surprised to read: 15260 # /* config.h. Generated by config.status. */ 15261 configure_input='Generated from '` 15262 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 15263 `' by configure.' 15264 if test x"$ac_file" != x-; then 15265 configure_input="$ac_file. $configure_input" 15266 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 15267$as_echo "$as_me: creating $ac_file" >&6;} 15268 fi 15269 # Neutralize special characters interpreted by sed in replacement strings. 15270 case $configure_input in #( 15271 *\&* | *\|* | *\\* ) 15272 ac_sed_conf_input=`$as_echo "$configure_input" | 15273 sed 's/[\\\\&|]/\\\\&/g'`;; #( 15274 *) ac_sed_conf_input=$configure_input;; 15275 esac 15276 15277 case $ac_tag in 15278 *:-:* | *:-) cat >"$tmp/stdin" \ 15279 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 15280$as_echo "$as_me: error: could not create $ac_file" >&2;} 15281 { (exit 1); exit 1; }; } ;; 15282 esac 15283 ;; 15284 esac 15285 15286 ac_dir=`$as_dirname -- "$ac_file" || 15287$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15288 X"$ac_file" : 'X\(//\)[^/]' \| \ 15289 X"$ac_file" : 'X\(//\)$' \| \ 15290 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 15291$as_echo X"$ac_file" | 15292 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15293 s//\1/ 15294 q 15295 } 15296 /^X\(\/\/\)[^/].*/{ 15297 s//\1/ 15298 q 15299 } 15300 /^X\(\/\/\)$/{ 15301 s//\1/ 15302 q 15303 } 15304 /^X\(\/\).*/{ 15305 s//\1/ 15306 q 15307 } 15308 s/.*/./; q'` 15309 { as_dir="$ac_dir" 15310 case $as_dir in #( 15311 -*) as_dir=./$as_dir;; 15312 esac 15313 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 15314 as_dirs= 15315 while :; do 15316 case $as_dir in #( 15317 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 15318 *) as_qdir=$as_dir;; 15319 esac 15320 as_dirs="'$as_qdir' $as_dirs" 15321 as_dir=`$as_dirname -- "$as_dir" || 15322$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15323 X"$as_dir" : 'X\(//\)[^/]' \| \ 15324 X"$as_dir" : 'X\(//\)$' \| \ 15325 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 15326$as_echo X"$as_dir" | 15327 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15328 s//\1/ 15329 q 15330 } 15331 /^X\(\/\/\)[^/].*/{ 15332 s//\1/ 15333 q 15334 } 15335 /^X\(\/\/\)$/{ 15336 s//\1/ 15337 q 15338 } 15339 /^X\(\/\).*/{ 15340 s//\1/ 15341 q 15342 } 15343 s/.*/./; q'` 15344 test -d "$as_dir" && break 15345 done 15346 test -z "$as_dirs" || eval "mkdir $as_dirs" 15347 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 15348$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 15349 { (exit 1); exit 1; }; }; } 15350 ac_builddir=. 15351 15352case "$ac_dir" in 15353.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 15354*) 15355 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 15356 # A ".." for each directory in $ac_dir_suffix. 15357 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 15358 case $ac_top_builddir_sub in 15359 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 15360 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 15361 esac ;; 15362esac 15363ac_abs_top_builddir=$ac_pwd 15364ac_abs_builddir=$ac_pwd$ac_dir_suffix 15365# for backward compatibility: 15366ac_top_builddir=$ac_top_build_prefix 15367 15368case $srcdir in 15369 .) # We are building in place. 15370 ac_srcdir=. 15371 ac_top_srcdir=$ac_top_builddir_sub 15372 ac_abs_top_srcdir=$ac_pwd ;; 15373 [\\/]* | ?:[\\/]* ) # Absolute name. 15374 ac_srcdir=$srcdir$ac_dir_suffix; 15375 ac_top_srcdir=$srcdir 15376 ac_abs_top_srcdir=$srcdir ;; 15377 *) # Relative name. 15378 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 15379 ac_top_srcdir=$ac_top_build_prefix$srcdir 15380 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 15381esac 15382ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 15383 15384 15385 case $ac_mode in 15386 :F) 15387 # 15388 # CONFIG_FILE 15389 # 15390 15391 case $INSTALL in 15392 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 15393 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 15394 esac 15395 ac_MKDIR_P=$MKDIR_P 15396 case $MKDIR_P in 15397 [\\/$]* | ?:[\\/]* ) ;; 15398 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 15399 esac 15400_ACEOF 15401 15402cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15403# If the template does not know about datarootdir, expand it. 15404# FIXME: This hack should be removed a few years after 2.60. 15405ac_datarootdir_hack=; ac_datarootdir_seen= 15406 15407ac_sed_dataroot=' 15408/datarootdir/ { 15409 p 15410 q 15411} 15412/@datadir@/p 15413/@docdir@/p 15414/@infodir@/p 15415/@localedir@/p 15416/@mandir@/p 15417' 15418case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 15419*datarootdir*) ac_datarootdir_seen=yes;; 15420*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 15421 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 15422$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 15423_ACEOF 15424cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15425 ac_datarootdir_hack=' 15426 s&@datadir@&$datadir&g 15427 s&@docdir@&$docdir&g 15428 s&@infodir@&$infodir&g 15429 s&@localedir@&$localedir&g 15430 s&@mandir@&$mandir&g 15431 s&\\\${datarootdir}&$datarootdir&g' ;; 15432esac 15433_ACEOF 15434 15435# Neutralize VPATH when `$srcdir' = `.'. 15436# Shell code in configure.ac might set extrasub. 15437# FIXME: do we really want to maintain this feature? 15438cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15439ac_sed_extra="$ac_vpsub 15440$extrasub 15441_ACEOF 15442cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15443:t 15444/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 15445s|@configure_input@|$ac_sed_conf_input|;t t 15446s&@top_builddir@&$ac_top_builddir_sub&;t t 15447s&@top_build_prefix@&$ac_top_build_prefix&;t t 15448s&@srcdir@&$ac_srcdir&;t t 15449s&@abs_srcdir@&$ac_abs_srcdir&;t t 15450s&@top_srcdir@&$ac_top_srcdir&;t t 15451s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 15452s&@builddir@&$ac_builddir&;t t 15453s&@abs_builddir@&$ac_abs_builddir&;t t 15454s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 15455s&@INSTALL@&$ac_INSTALL&;t t 15456s&@MKDIR_P@&$ac_MKDIR_P&;t t 15457$ac_datarootdir_hack 15458" 15459eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 15460 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 15461$as_echo "$as_me: error: could not create $ac_file" >&2;} 15462 { (exit 1); exit 1; }; } 15463 15464test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 15465 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 15466 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 15467 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 15468which seems to be undefined. Please make sure it is defined." >&5 15469$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 15470which seems to be undefined. Please make sure it is defined." >&2;} 15471 15472 rm -f "$tmp/stdin" 15473 case $ac_file in 15474 -) cat "$tmp/out" && rm -f "$tmp/out";; 15475 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 15476 esac \ 15477 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 15478$as_echo "$as_me: error: could not create $ac_file" >&2;} 15479 { (exit 1); exit 1; }; } 15480 ;; 15481 :H) 15482 # 15483 # CONFIG_HEADER 15484 # 15485 if test x"$ac_file" != x-; then 15486 { 15487 $as_echo "/* $configure_input */" \ 15488 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 15489 } >"$tmp/config.h" \ 15490 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 15491$as_echo "$as_me: error: could not create $ac_file" >&2;} 15492 { (exit 1); exit 1; }; } 15493 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 15494 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 15495$as_echo "$as_me: $ac_file is unchanged" >&6;} 15496 else 15497 rm -f "$ac_file" 15498 mv "$tmp/config.h" "$ac_file" \ 15499 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 15500$as_echo "$as_me: error: could not create $ac_file" >&2;} 15501 { (exit 1); exit 1; }; } 15502 fi 15503 else 15504 $as_echo "/* $configure_input */" \ 15505 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 15506 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 15507$as_echo "$as_me: error: could not create -" >&2;} 15508 { (exit 1); exit 1; }; } 15509 fi 15510# Compute "$ac_file"'s index in $config_headers. 15511_am_arg="$ac_file" 15512_am_stamp_count=1 15513for _am_header in $config_headers :; do 15514 case $_am_header in 15515 $_am_arg | $_am_arg:* ) 15516 break ;; 15517 * ) 15518 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 15519 esac 15520done 15521echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 15522$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15523 X"$_am_arg" : 'X\(//\)[^/]' \| \ 15524 X"$_am_arg" : 'X\(//\)$' \| \ 15525 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 15526$as_echo X"$_am_arg" | 15527 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15528 s//\1/ 15529 q 15530 } 15531 /^X\(\/\/\)[^/].*/{ 15532 s//\1/ 15533 q 15534 } 15535 /^X\(\/\/\)$/{ 15536 s//\1/ 15537 q 15538 } 15539 /^X\(\/\).*/{ 15540 s//\1/ 15541 q 15542 } 15543 s/.*/./; q'`/stamp-h$_am_stamp_count 15544 ;; 15545 15546 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 15547$as_echo "$as_me: executing $ac_file commands" >&6;} 15548 ;; 15549 esac 15550 15551 15552 case $ac_file$ac_mode in 15553 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 15554 # Autoconf 2.62 quotes --file arguments for eval, but not when files 15555 # are listed without --file. Let's play safe and only enable the eval 15556 # if we detect the quoting. 15557 case $CONFIG_FILES in 15558 *\'*) eval set x "$CONFIG_FILES" ;; 15559 *) set x $CONFIG_FILES ;; 15560 esac 15561 shift 15562 for mf 15563 do 15564 # Strip MF so we end up with the name of the file. 15565 mf=`echo "$mf" | sed -e 's/:.*$//'` 15566 # Check whether this is an Automake generated Makefile or not. 15567 # We used to match only the files named `Makefile.in', but 15568 # some people rename them; so instead we look at the file content. 15569 # Grep'ing the first line is not enough: some people post-process 15570 # each Makefile.in and add a new line on top of each file to say so. 15571 # Grep'ing the whole file is not good either: AIX grep has a line 15572 # limit of 2048, but all sed's we know have understand at least 4000. 15573 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 15574 dirpart=`$as_dirname -- "$mf" || 15575$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15576 X"$mf" : 'X\(//\)[^/]' \| \ 15577 X"$mf" : 'X\(//\)$' \| \ 15578 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 15579$as_echo X"$mf" | 15580 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15581 s//\1/ 15582 q 15583 } 15584 /^X\(\/\/\)[^/].*/{ 15585 s//\1/ 15586 q 15587 } 15588 /^X\(\/\/\)$/{ 15589 s//\1/ 15590 q 15591 } 15592 /^X\(\/\).*/{ 15593 s//\1/ 15594 q 15595 } 15596 s/.*/./; q'` 15597 else 15598 continue 15599 fi 15600 # Extract the definition of DEPDIR, am__include, and am__quote 15601 # from the Makefile without running `make'. 15602 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 15603 test -z "$DEPDIR" && continue 15604 am__include=`sed -n 's/^am__include = //p' < "$mf"` 15605 test -z "am__include" && continue 15606 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 15607 # When using ansi2knr, U may be empty or an underscore; expand it 15608 U=`sed -n 's/^U = //p' < "$mf"` 15609 # Find all dependency output files, they are included files with 15610 # $(DEPDIR) in their names. We invoke sed twice because it is the 15611 # simplest approach to changing $(DEPDIR) to its actual value in the 15612 # expansion. 15613 for file in `sed -n " 15614 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 15615 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 15616 # Make sure the directory exists. 15617 test -f "$dirpart/$file" && continue 15618 fdir=`$as_dirname -- "$file" || 15619$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15620 X"$file" : 'X\(//\)[^/]' \| \ 15621 X"$file" : 'X\(//\)$' \| \ 15622 X"$file" : 'X\(/\)' \| . 2>/dev/null || 15623$as_echo X"$file" | 15624 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15625 s//\1/ 15626 q 15627 } 15628 /^X\(\/\/\)[^/].*/{ 15629 s//\1/ 15630 q 15631 } 15632 /^X\(\/\/\)$/{ 15633 s//\1/ 15634 q 15635 } 15636 /^X\(\/\).*/{ 15637 s//\1/ 15638 q 15639 } 15640 s/.*/./; q'` 15641 { as_dir=$dirpart/$fdir 15642 case $as_dir in #( 15643 -*) as_dir=./$as_dir;; 15644 esac 15645 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 15646 as_dirs= 15647 while :; do 15648 case $as_dir in #( 15649 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 15650 *) as_qdir=$as_dir;; 15651 esac 15652 as_dirs="'$as_qdir' $as_dirs" 15653 as_dir=`$as_dirname -- "$as_dir" || 15654$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15655 X"$as_dir" : 'X\(//\)[^/]' \| \ 15656 X"$as_dir" : 'X\(//\)$' \| \ 15657 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 15658$as_echo X"$as_dir" | 15659 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15660 s//\1/ 15661 q 15662 } 15663 /^X\(\/\/\)[^/].*/{ 15664 s//\1/ 15665 q 15666 } 15667 /^X\(\/\/\)$/{ 15668 s//\1/ 15669 q 15670 } 15671 /^X\(\/\).*/{ 15672 s//\1/ 15673 q 15674 } 15675 s/.*/./; q'` 15676 test -d "$as_dir" && break 15677 done 15678 test -z "$as_dirs" || eval "mkdir $as_dirs" 15679 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 15680$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 15681 { (exit 1); exit 1; }; }; } 15682 # echo "creating $dirpart/$file" 15683 echo '# dummy' > "$dirpart/$file" 15684 done 15685 done 15686} 15687 ;; 15688 "libtool":C) 15689 15690 # See if we are running on zsh, and set the options which allow our 15691 # commands through without removal of \ escapes. 15692 if test -n "${ZSH_VERSION+set}" ; then 15693 setopt NO_GLOB_SUBST 15694 fi 15695 15696 cfgfile="${ofile}T" 15697 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 15698 $RM "$cfgfile" 15699 15700 cat <<_LT_EOF >> "$cfgfile" 15701#! $SHELL 15702 15703# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 15704# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 15705# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 15706# NOTE: Changes made to this file will be lost: look at ltmain.sh. 15707# 15708# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 15709# 2006, 2007, 2008 Free Software Foundation, Inc. 15710# Written by Gordon Matzigkeit, 1996 15711# 15712# This file is part of GNU Libtool. 15713# 15714# GNU Libtool is free software; you can redistribute it and/or 15715# modify it under the terms of the GNU General Public License as 15716# published by the Free Software Foundation; either version 2 of 15717# the License, or (at your option) any later version. 15718# 15719# As a special exception to the GNU General Public License, 15720# if you distribute this file as part of a program or library that 15721# is built using GNU Libtool, you may include this file under the 15722# same distribution terms that you use for the rest of that program. 15723# 15724# GNU Libtool is distributed in the hope that it will be useful, 15725# but WITHOUT ANY WARRANTY; without even the implied warranty of 15726# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15727# GNU General Public License for more details. 15728# 15729# You should have received a copy of the GNU General Public License 15730# along with GNU Libtool; see the file COPYING. If not, a copy 15731# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 15732# obtained by writing to the Free Software Foundation, Inc., 15733# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 15734 15735 15736# The names of the tagged configurations supported by this script. 15737available_tags="" 15738 15739# ### BEGIN LIBTOOL CONFIG 15740 15741# Which release of libtool.m4 was used? 15742macro_version=$macro_version 15743macro_revision=$macro_revision 15744 15745# Whether or not to build shared libraries. 15746build_libtool_libs=$enable_shared 15747 15748# Whether or not to build static libraries. 15749build_old_libs=$enable_static 15750 15751# What type of objects to build. 15752pic_mode=$pic_mode 15753 15754# Whether or not to optimize for fast installation. 15755fast_install=$enable_fast_install 15756 15757# The host system. 15758host_alias=$host_alias 15759host=$host 15760host_os=$host_os 15761 15762# The build system. 15763build_alias=$build_alias 15764build=$build 15765build_os=$build_os 15766 15767# A sed program that does not truncate output. 15768SED=$lt_SED 15769 15770# Sed that helps us avoid accidentally triggering echo(1) options like -n. 15771Xsed="\$SED -e 1s/^X//" 15772 15773# A grep program that handles long lines. 15774GREP=$lt_GREP 15775 15776# An ERE matcher. 15777EGREP=$lt_EGREP 15778 15779# A literal string matcher. 15780FGREP=$lt_FGREP 15781 15782# A BSD- or MS-compatible name lister. 15783NM=$lt_NM 15784 15785# Whether we need soft or hard links. 15786LN_S=$lt_LN_S 15787 15788# What is the maximum length of a command? 15789max_cmd_len=$max_cmd_len 15790 15791# Object file suffix (normally "o"). 15792objext=$ac_objext 15793 15794# Executable file suffix (normally ""). 15795exeext=$exeext 15796 15797# whether the shell understands "unset". 15798lt_unset=$lt_unset 15799 15800# turn spaces into newlines. 15801SP2NL=$lt_lt_SP2NL 15802 15803# turn newlines into spaces. 15804NL2SP=$lt_lt_NL2SP 15805 15806# How to create reloadable object files. 15807reload_flag=$lt_reload_flag 15808reload_cmds=$lt_reload_cmds 15809 15810# An object symbol dumper. 15811OBJDUMP=$lt_OBJDUMP 15812 15813# Method to check whether dependent libraries are shared objects. 15814deplibs_check_method=$lt_deplibs_check_method 15815 15816# Command to use when deplibs_check_method == "file_magic". 15817file_magic_cmd=$lt_file_magic_cmd 15818 15819# The archiver. 15820AR=$lt_AR 15821AR_FLAGS=$lt_AR_FLAGS 15822 15823# A symbol stripping program. 15824STRIP=$lt_STRIP 15825 15826# Commands used to install an old-style archive. 15827RANLIB=$lt_RANLIB 15828old_postinstall_cmds=$lt_old_postinstall_cmds 15829old_postuninstall_cmds=$lt_old_postuninstall_cmds 15830 15831# A C compiler. 15832LTCC=$lt_CC 15833 15834# LTCC compiler flags. 15835LTCFLAGS=$lt_CFLAGS 15836 15837# Take the output of nm and produce a listing of raw symbols and C names. 15838global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 15839 15840# Transform the output of nm in a proper C declaration. 15841global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 15842 15843# Transform the output of nm in a C name address pair. 15844global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 15845 15846# Transform the output of nm in a C name address pair when lib prefix is needed. 15847global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 15848 15849# The name of the directory that contains temporary libtool files. 15850objdir=$objdir 15851 15852# Shell to use when invoking shell scripts. 15853SHELL=$lt_SHELL 15854 15855# An echo program that does not interpret backslashes. 15856ECHO=$lt_ECHO 15857 15858# Used to examine libraries when file_magic_cmd begins with "file". 15859MAGIC_CMD=$MAGIC_CMD 15860 15861# Must we lock files when doing compilation? 15862need_locks=$lt_need_locks 15863 15864# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 15865DSYMUTIL=$lt_DSYMUTIL 15866 15867# Tool to change global to local symbols on Mac OS X. 15868NMEDIT=$lt_NMEDIT 15869 15870# Tool to manipulate fat objects and archives on Mac OS X. 15871LIPO=$lt_LIPO 15872 15873# ldd/readelf like tool for Mach-O binaries on Mac OS X. 15874OTOOL=$lt_OTOOL 15875 15876# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 15877OTOOL64=$lt_OTOOL64 15878 15879# Old archive suffix (normally "a"). 15880libext=$libext 15881 15882# Shared library suffix (normally ".so"). 15883shrext_cmds=$lt_shrext_cmds 15884 15885# The commands to extract the exported symbol list from a shared archive. 15886extract_expsyms_cmds=$lt_extract_expsyms_cmds 15887 15888# Variables whose values should be saved in libtool wrapper scripts and 15889# restored at link time. 15890variables_saved_for_relink=$lt_variables_saved_for_relink 15891 15892# Do we need the "lib" prefix for modules? 15893need_lib_prefix=$need_lib_prefix 15894 15895# Do we need a version for libraries? 15896need_version=$need_version 15897 15898# Library versioning type. 15899version_type=$version_type 15900 15901# Shared library runtime path variable. 15902runpath_var=$runpath_var 15903 15904# Shared library path variable. 15905shlibpath_var=$shlibpath_var 15906 15907# Is shlibpath searched before the hard-coded library search path? 15908shlibpath_overrides_runpath=$shlibpath_overrides_runpath 15909 15910# Format of library name prefix. 15911libname_spec=$lt_libname_spec 15912 15913# List of archive names. First name is the real one, the rest are links. 15914# The last name is the one that the linker finds with -lNAME 15915library_names_spec=$lt_library_names_spec 15916 15917# The coded name of the library, if different from the real name. 15918soname_spec=$lt_soname_spec 15919 15920# Command to use after installation of a shared archive. 15921postinstall_cmds=$lt_postinstall_cmds 15922 15923# Command to use after uninstallation of a shared archive. 15924postuninstall_cmds=$lt_postuninstall_cmds 15925 15926# Commands used to finish a libtool library installation in a directory. 15927finish_cmds=$lt_finish_cmds 15928 15929# As "finish_cmds", except a single script fragment to be evaled but 15930# not shown. 15931finish_eval=$lt_finish_eval 15932 15933# Whether we should hardcode library paths into libraries. 15934hardcode_into_libs=$hardcode_into_libs 15935 15936# Compile-time system search path for libraries. 15937sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 15938 15939# Run-time system search path for libraries. 15940sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 15941 15942# Whether dlopen is supported. 15943dlopen_support=$enable_dlopen 15944 15945# Whether dlopen of programs is supported. 15946dlopen_self=$enable_dlopen_self 15947 15948# Whether dlopen of statically linked programs is supported. 15949dlopen_self_static=$enable_dlopen_self_static 15950 15951# Commands to strip libraries. 15952old_striplib=$lt_old_striplib 15953striplib=$lt_striplib 15954 15955 15956# The linker used to build libraries. 15957LD=$lt_LD 15958 15959# Commands used to build an old-style archive. 15960old_archive_cmds=$lt_old_archive_cmds 15961 15962# A language specific compiler. 15963CC=$lt_compiler 15964 15965# Is the compiler the GNU compiler? 15966with_gcc=$GCC 15967 15968# Compiler flag to turn off builtin functions. 15969no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 15970 15971# How to pass a linker flag through the compiler. 15972wl=$lt_lt_prog_compiler_wl 15973 15974# Additional compiler flags for building library objects. 15975pic_flag=$lt_lt_prog_compiler_pic 15976 15977# Compiler flag to prevent dynamic linking. 15978link_static_flag=$lt_lt_prog_compiler_static 15979 15980# Does compiler simultaneously support -c and -o options? 15981compiler_c_o=$lt_lt_cv_prog_compiler_c_o 15982 15983# Whether or not to add -lc for building shared libraries. 15984build_libtool_need_lc=$archive_cmds_need_lc 15985 15986# Whether or not to disallow shared libs when runtime libs are static. 15987allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 15988 15989# Compiler flag to allow reflexive dlopens. 15990export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 15991 15992# Compiler flag to generate shared objects directly from archives. 15993whole_archive_flag_spec=$lt_whole_archive_flag_spec 15994 15995# Whether the compiler copes with passing no objects directly. 15996compiler_needs_object=$lt_compiler_needs_object 15997 15998# Create an old-style archive from a shared archive. 15999old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 16000 16001# Create a temporary old-style archive to link instead of a shared archive. 16002old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 16003 16004# Commands used to build a shared archive. 16005archive_cmds=$lt_archive_cmds 16006archive_expsym_cmds=$lt_archive_expsym_cmds 16007 16008# Commands used to build a loadable module if different from building 16009# a shared archive. 16010module_cmds=$lt_module_cmds 16011module_expsym_cmds=$lt_module_expsym_cmds 16012 16013# Whether we are building with GNU ld or not. 16014with_gnu_ld=$lt_with_gnu_ld 16015 16016# Flag that allows shared libraries with undefined symbols to be built. 16017allow_undefined_flag=$lt_allow_undefined_flag 16018 16019# Flag that enforces no undefined symbols. 16020no_undefined_flag=$lt_no_undefined_flag 16021 16022# Flag to hardcode \$libdir into a binary during linking. 16023# This must work even if \$libdir does not exist 16024hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 16025 16026# If ld is used when linking, flag to hardcode \$libdir into a binary 16027# during linking. This must work even if \$libdir does not exist. 16028hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld 16029 16030# Whether we need a single "-rpath" flag with a separated argument. 16031hardcode_libdir_separator=$lt_hardcode_libdir_separator 16032 16033# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 16034# DIR into the resulting binary. 16035hardcode_direct=$hardcode_direct 16036 16037# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 16038# DIR into the resulting binary and the resulting library dependency is 16039# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 16040# library is relocated. 16041hardcode_direct_absolute=$hardcode_direct_absolute 16042 16043# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 16044# into the resulting binary. 16045hardcode_minus_L=$hardcode_minus_L 16046 16047# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 16048# into the resulting binary. 16049hardcode_shlibpath_var=$hardcode_shlibpath_var 16050 16051# Set to "yes" if building a shared library automatically hardcodes DIR 16052# into the library and all subsequent libraries and executables linked 16053# against it. 16054hardcode_automatic=$hardcode_automatic 16055 16056# Set to yes if linker adds runtime paths of dependent libraries 16057# to runtime path list. 16058inherit_rpath=$inherit_rpath 16059 16060# Whether libtool must link a program against all its dependency libraries. 16061link_all_deplibs=$link_all_deplibs 16062 16063# Fix the shell variable \$srcfile for the compiler. 16064fix_srcfile_path=$lt_fix_srcfile_path 16065 16066# Set to "yes" if exported symbols are required. 16067always_export_symbols=$always_export_symbols 16068 16069# The commands to list exported symbols. 16070export_symbols_cmds=$lt_export_symbols_cmds 16071 16072# Symbols that should not be listed in the preloaded symbols. 16073exclude_expsyms=$lt_exclude_expsyms 16074 16075# Symbols that must always be exported. 16076include_expsyms=$lt_include_expsyms 16077 16078# Commands necessary for linking programs (against libraries) with templates. 16079prelink_cmds=$lt_prelink_cmds 16080 16081# Specify filename containing input files. 16082file_list_spec=$lt_file_list_spec 16083 16084# How to hardcode a shared library path into an executable. 16085hardcode_action=$hardcode_action 16086 16087# ### END LIBTOOL CONFIG 16088 16089_LT_EOF 16090 16091 case $host_os in 16092 aix3*) 16093 cat <<\_LT_EOF >> "$cfgfile" 16094# AIX sometimes has problems with the GCC collect2 program. For some 16095# reason, if we set the COLLECT_NAMES environment variable, the problems 16096# vanish in a puff of smoke. 16097if test "X${COLLECT_NAMES+set}" != Xset; then 16098 COLLECT_NAMES= 16099 export COLLECT_NAMES 16100fi 16101_LT_EOF 16102 ;; 16103 esac 16104 16105 16106ltmain="$ac_aux_dir/ltmain.sh" 16107 16108 16109 # We use sed instead of cat because bash on DJGPP gets confused if 16110 # if finds mixed CR/LF and LF-only lines. Since sed operates in 16111 # text mode, it properly converts lines to CR/LF. This bash problem 16112 # is reportedly fixed, but why not run on old versions too? 16113 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ 16114 || (rm -f "$cfgfile"; exit 1) 16115 16116 case $xsi_shell in 16117 yes) 16118 cat << \_LT_EOF >> "$cfgfile" 16119 16120# func_dirname file append nondir_replacement 16121# Compute the dirname of FILE. If nonempty, add APPEND to the result, 16122# otherwise set result to NONDIR_REPLACEMENT. 16123func_dirname () 16124{ 16125 case ${1} in 16126 */*) func_dirname_result="${1%/*}${2}" ;; 16127 * ) func_dirname_result="${3}" ;; 16128 esac 16129} 16130 16131# func_basename file 16132func_basename () 16133{ 16134 func_basename_result="${1##*/}" 16135} 16136 16137# func_dirname_and_basename file append nondir_replacement 16138# perform func_basename and func_dirname in a single function 16139# call: 16140# dirname: Compute the dirname of FILE. If nonempty, 16141# add APPEND to the result, otherwise set result 16142# to NONDIR_REPLACEMENT. 16143# value returned in "$func_dirname_result" 16144# basename: Compute filename of FILE. 16145# value retuned in "$func_basename_result" 16146# Implementation must be kept synchronized with func_dirname 16147# and func_basename. For efficiency, we do not delegate to 16148# those functions but instead duplicate the functionality here. 16149func_dirname_and_basename () 16150{ 16151 case ${1} in 16152 */*) func_dirname_result="${1%/*}${2}" ;; 16153 * ) func_dirname_result="${3}" ;; 16154 esac 16155 func_basename_result="${1##*/}" 16156} 16157 16158# func_stripname prefix suffix name 16159# strip PREFIX and SUFFIX off of NAME. 16160# PREFIX and SUFFIX must not contain globbing or regex special 16161# characters, hashes, percent signs, but SUFFIX may contain a leading 16162# dot (in which case that matches only a dot). 16163func_stripname () 16164{ 16165 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are 16166 # positional parameters, so assign one to ordinary parameter first. 16167 func_stripname_result=${3} 16168 func_stripname_result=${func_stripname_result#"${1}"} 16169 func_stripname_result=${func_stripname_result%"${2}"} 16170} 16171 16172# func_opt_split 16173func_opt_split () 16174{ 16175 func_opt_split_opt=${1%%=*} 16176 func_opt_split_arg=${1#*=} 16177} 16178 16179# func_lo2o object 16180func_lo2o () 16181{ 16182 case ${1} in 16183 *.lo) func_lo2o_result=${1%.lo}.${objext} ;; 16184 *) func_lo2o_result=${1} ;; 16185 esac 16186} 16187 16188# func_xform libobj-or-source 16189func_xform () 16190{ 16191 func_xform_result=${1%.*}.lo 16192} 16193 16194# func_arith arithmetic-term... 16195func_arith () 16196{ 16197 func_arith_result=$(( $* )) 16198} 16199 16200# func_len string 16201# STRING may not start with a hyphen. 16202func_len () 16203{ 16204 func_len_result=${#1} 16205} 16206 16207_LT_EOF 16208 ;; 16209 *) # Bourne compatible functions. 16210 cat << \_LT_EOF >> "$cfgfile" 16211 16212# func_dirname file append nondir_replacement 16213# Compute the dirname of FILE. If nonempty, add APPEND to the result, 16214# otherwise set result to NONDIR_REPLACEMENT. 16215func_dirname () 16216{ 16217 # Extract subdirectory from the argument. 16218 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` 16219 if test "X$func_dirname_result" = "X${1}"; then 16220 func_dirname_result="${3}" 16221 else 16222 func_dirname_result="$func_dirname_result${2}" 16223 fi 16224} 16225 16226# func_basename file 16227func_basename () 16228{ 16229 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` 16230} 16231 16232 16233# func_stripname prefix suffix name 16234# strip PREFIX and SUFFIX off of NAME. 16235# PREFIX and SUFFIX must not contain globbing or regex special 16236# characters, hashes, percent signs, but SUFFIX may contain a leading 16237# dot (in which case that matches only a dot). 16238# func_strip_suffix prefix name 16239func_stripname () 16240{ 16241 case ${2} in 16242 .*) func_stripname_result=`$ECHO "X${3}" \ 16243 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; 16244 *) func_stripname_result=`$ECHO "X${3}" \ 16245 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; 16246 esac 16247} 16248 16249# sed scripts: 16250my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' 16251my_sed_long_arg='1s/^-[^=]*=//' 16252 16253# func_opt_split 16254func_opt_split () 16255{ 16256 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` 16257 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` 16258} 16259 16260# func_lo2o object 16261func_lo2o () 16262{ 16263 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` 16264} 16265 16266# func_xform libobj-or-source 16267func_xform () 16268{ 16269 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` 16270} 16271 16272# func_arith arithmetic-term... 16273func_arith () 16274{ 16275 func_arith_result=`expr "$@"` 16276} 16277 16278# func_len string 16279# STRING may not start with a hyphen. 16280func_len () 16281{ 16282 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` 16283} 16284 16285_LT_EOF 16286esac 16287 16288case $lt_shell_append in 16289 yes) 16290 cat << \_LT_EOF >> "$cfgfile" 16291 16292# func_append var value 16293# Append VALUE to the end of shell variable VAR. 16294func_append () 16295{ 16296 eval "$1+=\$2" 16297} 16298_LT_EOF 16299 ;; 16300 *) 16301 cat << \_LT_EOF >> "$cfgfile" 16302 16303# func_append var value 16304# Append VALUE to the end of shell variable VAR. 16305func_append () 16306{ 16307 eval "$1=\$$1\$2" 16308} 16309 16310_LT_EOF 16311 ;; 16312 esac 16313 16314 16315 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ 16316 || (rm -f "$cfgfile"; exit 1) 16317 16318 mv -f "$cfgfile" "$ofile" || 16319 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 16320 chmod +x "$ofile" 16321 16322 ;; 16323 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) 16324 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile 16325 esac ;; 16326 "po/stamp-it":C) 16327 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then 16328 { { $as_echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5 16329$as_echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;} 16330 { (exit 1); exit 1; }; } 16331 fi 16332 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" 16333 >"po/stamp-it.tmp" 16334 sed '/^#/d 16335 s/^[[].*] *// 16336 /^[ ]*$/d 16337 '"s|^| $ac_top_srcdir/|" \ 16338 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" 16339 16340 sed '/^POTFILES =/,/[^\\]$/ { 16341 /^POTFILES =/!d 16342 r po/POTFILES 16343 } 16344 ' "po/Makefile.in" >"po/Makefile" 16345 rm -f "po/Makefile.tmp" 16346 mv "po/stamp-it.tmp" "po/stamp-it" 16347 ;; 16348 16349 esac 16350done # for ac_tag 16351 16352 16353{ (exit 0); exit 0; } 16354_ACEOF 16355chmod +x $CONFIG_STATUS 16356ac_clean_files=$ac_clean_files_save 16357 16358test $ac_write_fail = 0 || 16359 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 16360$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 16361 { (exit 1); exit 1; }; } 16362 16363 16364# configure is writing to config.log, and then calls config.status. 16365# config.status does its own redirection, appending to config.log. 16366# Unfortunately, on DOS this fails, as config.log is still kept open 16367# by configure, so config.status won't be able to write to it; its 16368# output is simply discarded. So we exec the FD to /dev/null, 16369# effectively closing config.log, so it can be properly (re)opened and 16370# appended to by config.status. When coming back to configure, we 16371# need to make the FD available again. 16372if test "$no_create" != yes; then 16373 ac_cs_success=: 16374 ac_config_status_args= 16375 test "$silent" = yes && 16376 ac_config_status_args="$ac_config_status_args --quiet" 16377 exec 5>/dev/null 16378 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 16379 exec 5>>config.log 16380 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 16381 # would make configure fail if this is the last instruction. 16382 $ac_cs_success || { (exit 1); exit 1; } 16383fi 16384if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 16385 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 16386$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 16387fi 16388 16389 16390