1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.67 for gmpc-albumview 11.8.16. 4# 5# Report bugs to <qball@sarine.nl>. 6# 7# 8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 10# Foundation, Inc. 11# 12# 13# This configure script is free software; the Free Software Foundation 14# gives unlimited permission to copy, distribute and modify it. 15## -------------------- ## 16## M4sh Initialization. ## 17## -------------------- ## 18 19# Be more Bourne compatible 20DUALCASE=1; export DUALCASE # for MKS sh 21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 22 emulate sh 23 NULLCMD=: 24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25 # is contrary to our usage. Disable this feature. 26 alias -g '${1+"$@"}'='"$@"' 27 setopt NO_GLOB_SUBST 28else 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 34esac 35fi 36 37 38as_nl=' 39' 40export as_nl 41# Printing a long string crashes Solaris 7 /usr/bin/printf. 42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45# Prefer a ksh shell builtin over an external printf program on Solaris, 46# but without wasting forks for bash or zsh. 47if test -z "$BASH_VERSION$ZSH_VERSION" \ 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='print -r --' 50 as_echo_n='print -rn --' 51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52 as_echo='printf %s\n' 53 as_echo_n='printf %s' 54else 55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 57 as_echo_n='/usr/ucb/echo -n' 58 else 59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 60 as_echo_n_body='eval 61 arg=$1; 62 case $arg in #( 63 *"$as_nl"*) 64 expr "X$arg" : "X\\(.*\\)$as_nl"; 65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 66 esac; 67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 68 ' 69 export as_echo_n_body 70 as_echo_n='sh -c $as_echo_n_body as_echo' 71 fi 72 export as_echo_body 73 as_echo='sh -c $as_echo_body as_echo' 74fi 75 76# The user is always right. 77if test "${PATH_SEPARATOR+set}" != set; then 78 PATH_SEPARATOR=: 79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 81 PATH_SEPARATOR=';' 82 } 83fi 84 85 86# IFS 87# We need space, tab and new line, in precisely that order. Quoting is 88# there to prevent editors from complaining about space-tab. 89# (If _AS_PATH_WALK were called with IFS unset, it would disable word 90# splitting by setting IFS to empty value.) 91IFS=" "" $as_nl" 92 93# Find who we are. Look in the path if we contain no directory separator. 94case $0 in #(( 95 *[\\/]* ) as_myself=$0 ;; 96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 97for as_dir in $PATH 98do 99 IFS=$as_save_IFS 100 test -z "$as_dir" && as_dir=. 101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 102 done 103IFS=$as_save_IFS 104 105 ;; 106esac 107# We did not find ourselves, most probably we were run as `sh COMMAND' 108# in which case we are not to be found in the path. 109if test "x$as_myself" = x; then 110 as_myself=$0 111fi 112if test ! -f "$as_myself"; then 113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 114 exit 1 115fi 116 117# Unset variables that we do not need and which cause bugs (e.g. in 118# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 119# suppresses any "Segmentation fault" message there. '((' could 120# trigger a bug in pdksh 5.2.14. 121for as_var in BASH_ENV ENV MAIL MAILPATH 122do eval test x\${$as_var+set} = xset \ 123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 124done 125PS1='$ ' 126PS2='> ' 127PS4='+ ' 128 129# NLS nuisances. 130LC_ALL=C 131export LC_ALL 132LANGUAGE=C 133export LANGUAGE 134 135# CDPATH. 136(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 137 138if test "x$CONFIG_SHELL" = x; then 139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 140 emulate sh 141 NULLCMD=: 142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 143 # is contrary to our usage. Disable this feature. 144 alias -g '\${1+\"\$@\"}'='\"\$@\"' 145 setopt NO_GLOB_SUBST 146else 147 case \`(set -o) 2>/dev/null\` in #( 148 *posix*) : 149 set -o posix ;; #( 150 *) : 151 ;; 152esac 153fi 154" 155 as_required="as_fn_return () { (exit \$1); } 156as_fn_success () { as_fn_return 0; } 157as_fn_failure () { as_fn_return 1; } 158as_fn_ret_success () { return 0; } 159as_fn_ret_failure () { return 1; } 160 161exitcode=0 162as_fn_success || { exitcode=1; echo as_fn_success failed.; } 163as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 164as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 165as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 166if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 167 168else 169 exitcode=1; echo positional parameters were not saved. 170fi 171test x\$exitcode = x0 || exit 1" 172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 176test \$(( 1 + 1 )) = 2 || exit 1" 177 if (eval "$as_required") 2>/dev/null; then : 178 as_have_required=yes 179else 180 as_have_required=no 181fi 182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 183 184else 185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 186as_found=false 187for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 188do 189 IFS=$as_save_IFS 190 test -z "$as_dir" && as_dir=. 191 as_found=: 192 case $as_dir in #( 193 /*) 194 for as_base in sh bash ksh sh5; do 195 # Try only shells that exist, to save several forks. 196 as_shell=$as_dir/$as_base 197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 199 CONFIG_SHELL=$as_shell as_have_required=yes 200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 201 break 2 202fi 203fi 204 done;; 205 esac 206 as_found=false 207done 208$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 210 CONFIG_SHELL=$SHELL as_have_required=yes 211fi; } 212IFS=$as_save_IFS 213 214 215 if test "x$CONFIG_SHELL" != x; then : 216 # We cannot yet assume a decent shell, so we have to provide a 217 # neutralization value for shells without unset; and this also 218 # works around shells that cannot unset nonexistent variables. 219 BASH_ENV=/dev/null 220 ENV=/dev/null 221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 222 export CONFIG_SHELL 223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 224fi 225 226 if test x$as_have_required = xno; then : 227 $as_echo "$0: This script requires a shell more modern than all" 228 $as_echo "$0: the shells that I found on your system." 229 if test x${ZSH_VERSION+set} = xset ; then 230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 231 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 232 else 233 $as_echo "$0: Please tell bug-autoconf@gnu.org and qball@sarine.nl 234$0: about your system, including any error possibly output 235$0: before this message. Then install a modern shell, or 236$0: manually run the script under such a shell if you do 237$0: have one." 238 fi 239 exit 1 240fi 241fi 242fi 243SHELL=${CONFIG_SHELL-/bin/sh} 244export SHELL 245# Unset more variables known to interfere with behavior of common tools. 246CLICOLOR_FORCE= GREP_OPTIONS= 247unset CLICOLOR_FORCE GREP_OPTIONS 248 249## --------------------- ## 250## M4sh Shell Functions. ## 251## --------------------- ## 252# as_fn_unset VAR 253# --------------- 254# Portably unset VAR. 255as_fn_unset () 256{ 257 { eval $1=; unset $1;} 258} 259as_unset=as_fn_unset 260 261# as_fn_set_status STATUS 262# ----------------------- 263# Set $? to STATUS, without forking. 264as_fn_set_status () 265{ 266 return $1 267} # as_fn_set_status 268 269# as_fn_exit STATUS 270# ----------------- 271# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 272as_fn_exit () 273{ 274 set +e 275 as_fn_set_status $1 276 exit $1 277} # as_fn_exit 278 279# as_fn_mkdir_p 280# ------------- 281# Create "$as_dir" as a directory, including parents if necessary. 282as_fn_mkdir_p () 283{ 284 285 case $as_dir in #( 286 -*) as_dir=./$as_dir;; 287 esac 288 test -d "$as_dir" || eval $as_mkdir_p || { 289 as_dirs= 290 while :; do 291 case $as_dir in #( 292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 293 *) as_qdir=$as_dir;; 294 esac 295 as_dirs="'$as_qdir' $as_dirs" 296 as_dir=`$as_dirname -- "$as_dir" || 297$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 298 X"$as_dir" : 'X\(//\)[^/]' \| \ 299 X"$as_dir" : 'X\(//\)$' \| \ 300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 301$as_echo X"$as_dir" | 302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 303 s//\1/ 304 q 305 } 306 /^X\(\/\/\)[^/].*/{ 307 s//\1/ 308 q 309 } 310 /^X\(\/\/\)$/{ 311 s//\1/ 312 q 313 } 314 /^X\(\/\).*/{ 315 s//\1/ 316 q 317 } 318 s/.*/./; q'` 319 test -d "$as_dir" && break 320 done 321 test -z "$as_dirs" || eval "mkdir $as_dirs" 322 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 323 324 325} # as_fn_mkdir_p 326# as_fn_append VAR VALUE 327# ---------------------- 328# Append the text in VALUE to the end of the definition contained in VAR. Take 329# advantage of any shell optimizations that allow amortized linear growth over 330# repeated appends, instead of the typical quadratic growth present in naive 331# implementations. 332if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 333 eval 'as_fn_append () 334 { 335 eval $1+=\$2 336 }' 337else 338 as_fn_append () 339 { 340 eval $1=\$$1\$2 341 } 342fi # as_fn_append 343 344# as_fn_arith ARG... 345# ------------------ 346# Perform arithmetic evaluation on the ARGs, and store the result in the 347# global $as_val. Take advantage of shells that can avoid forks. The arguments 348# must be portable across $(()) and expr. 349if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 350 eval 'as_fn_arith () 351 { 352 as_val=$(( $* )) 353 }' 354else 355 as_fn_arith () 356 { 357 as_val=`expr "$@" || test $? -eq 1` 358 } 359fi # as_fn_arith 360 361 362# as_fn_error STATUS ERROR [LINENO LOG_FD] 363# ---------------------------------------- 364# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 365# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 366# script with STATUS, using 1 if that was 0. 367as_fn_error () 368{ 369 as_status=$1; test $as_status -eq 0 && as_status=1 370 if test "$4"; then 371 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 373 fi 374 $as_echo "$as_me: error: $2" >&2 375 as_fn_exit $as_status 376} # as_fn_error 377 378if expr a : '\(a\)' >/dev/null 2>&1 && 379 test "X`expr 00001 : '.*\(...\)'`" = X001; then 380 as_expr=expr 381else 382 as_expr=false 383fi 384 385if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 386 as_basename=basename 387else 388 as_basename=false 389fi 390 391if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 392 as_dirname=dirname 393else 394 as_dirname=false 395fi 396 397as_me=`$as_basename -- "$0" || 398$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 399 X"$0" : 'X\(//\)$' \| \ 400 X"$0" : 'X\(/\)' \| . 2>/dev/null || 401$as_echo X/"$0" | 402 sed '/^.*\/\([^/][^/]*\)\/*$/{ 403 s//\1/ 404 q 405 } 406 /^X\/\(\/\/\)$/{ 407 s//\1/ 408 q 409 } 410 /^X\/\(\/\).*/{ 411 s//\1/ 412 q 413 } 414 s/.*/./; q'` 415 416# Avoid depending upon Character Ranges. 417as_cr_letters='abcdefghijklmnopqrstuvwxyz' 418as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 419as_cr_Letters=$as_cr_letters$as_cr_LETTERS 420as_cr_digits='0123456789' 421as_cr_alnum=$as_cr_Letters$as_cr_digits 422 423 424 as_lineno_1=$LINENO as_lineno_1a=$LINENO 425 as_lineno_2=$LINENO as_lineno_2a=$LINENO 426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 429 sed -n ' 430 p 431 /[$]LINENO/= 432 ' <$as_myself | 433 sed ' 434 s/[$]LINENO.*/&-/ 435 t lineno 436 b 437 :lineno 438 N 439 :loop 440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 441 t loop 442 s/-\n.*// 443 ' >$as_me.lineno && 444 chmod +x "$as_me.lineno" || 445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 446 447 # Don't try to exec as it changes $[0], causing all sort of problems 448 # (the dirname of $[0] is not the place where we might find the 449 # original and so on. Autoconf is especially sensitive to this). 450 . "./$as_me.lineno" 451 # Exit status is that of the last command. 452 exit 453} 454 455ECHO_C= ECHO_N= ECHO_T= 456case `echo -n x` in #((((( 457-n*) 458 case `echo 'xy\c'` in 459 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 460 xy) ECHO_C='\c';; 461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 462 ECHO_T=' ';; 463 esac;; 464*) 465 ECHO_N='-n';; 466esac 467 468rm -f conf$$ conf$$.exe conf$$.file 469if test -d conf$$.dir; then 470 rm -f conf$$.dir/conf$$.file 471else 472 rm -f conf$$.dir 473 mkdir conf$$.dir 2>/dev/null 474fi 475if (echo >conf$$.file) 2>/dev/null; then 476 if ln -s conf$$.file conf$$ 2>/dev/null; then 477 as_ln_s='ln -s' 478 # ... but there are two gotchas: 479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 481 # In both cases, we have to default to `cp -p'. 482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 483 as_ln_s='cp -p' 484 elif ln conf$$.file conf$$ 2>/dev/null; then 485 as_ln_s=ln 486 else 487 as_ln_s='cp -p' 488 fi 489else 490 as_ln_s='cp -p' 491fi 492rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 493rmdir conf$$.dir 2>/dev/null 494 495if mkdir -p . 2>/dev/null; then 496 as_mkdir_p='mkdir -p "$as_dir"' 497else 498 test -d ./-p && rmdir ./-p 499 as_mkdir_p=false 500fi 501 502if test -x / >/dev/null 2>&1; then 503 as_test_x='test -x' 504else 505 if ls -dL / >/dev/null 2>&1; then 506 as_ls_L_option=L 507 else 508 as_ls_L_option= 509 fi 510 as_test_x=' 511 eval sh -c '\'' 512 if test -d "$1"; then 513 test -d "$1/."; 514 else 515 case $1 in #( 516 -*)set "./$1";; 517 esac; 518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 519 ???[sx]*):;;*)false;;esac;fi 520 '\'' sh 521 ' 522fi 523as_executable_p=$as_test_x 524 525# Sed expression to map a string onto a valid CPP name. 526as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 527 528# Sed expression to map a string onto a valid variable name. 529as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 530 531 532 533# Check that we are running under the correct shell. 534SHELL=${CONFIG_SHELL-/bin/sh} 535 536case X$lt_ECHO in 537X*--fallback-echo) 538 # Remove one level of quotation (which was required for Make). 539 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` 540 ;; 541esac 542 543ECHO=${lt_ECHO-echo} 544if test "X$1" = X--no-reexec; then 545 # Discard the --no-reexec flag, and continue. 546 shift 547elif test "X$1" = X--fallback-echo; then 548 # Avoid inline document here, it may be left over 549 : 550elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then 551 # Yippee, $ECHO works! 552 : 553else 554 # Restart under the correct shell. 555 exec $SHELL "$0" --no-reexec ${1+"$@"} 556fi 557 558if test "X$1" = X--fallback-echo; then 559 # used as fallback echo 560 shift 561 cat <<_LT_EOF 562$* 563_LT_EOF 564 exit 0 565fi 566 567# The HP-UX ksh and POSIX shell print the target directory to stdout 568# if CDPATH is set. 569(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 570 571if test -z "$lt_ECHO"; then 572 if test "X${echo_test_string+set}" != Xset; then 573 # find a string as large as possible, as long as the shell can cope with it 574 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do 575 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 576 if { echo_test_string=`eval $cmd`; } 2>/dev/null && 577 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null 578 then 579 break 580 fi 581 done 582 fi 583 584 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && 585 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && 586 test "X$echo_testing_string" = "X$echo_test_string"; then 587 : 588 else 589 # The Solaris, AIX, and Digital Unix default echo programs unquote 590 # backslashes. This makes it impossible to quote backslashes using 591 # echo "$something" | sed 's/\\/\\\\/g' 592 # 593 # So, first we look for a working echo in the user's PATH. 594 595 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 596 for dir in $PATH /usr/ucb; do 597 IFS="$lt_save_ifs" 598 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && 599 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && 600 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && 601 test "X$echo_testing_string" = "X$echo_test_string"; then 602 ECHO="$dir/echo" 603 break 604 fi 605 done 606 IFS="$lt_save_ifs" 607 608 if test "X$ECHO" = Xecho; then 609 # We didn't find a better echo, so look for alternatives. 610 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && 611 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && 612 test "X$echo_testing_string" = "X$echo_test_string"; then 613 # This shell has a builtin print -r that does the trick. 614 ECHO='print -r' 615 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && 616 test "X$CONFIG_SHELL" != X/bin/ksh; then 617 # If we have ksh, try running configure again with it. 618 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 619 export ORIGINAL_CONFIG_SHELL 620 CONFIG_SHELL=/bin/ksh 621 export CONFIG_SHELL 622 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} 623 else 624 # Try using printf. 625 ECHO='printf %s\n' 626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && 627 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && 628 test "X$echo_testing_string" = "X$echo_test_string"; then 629 # Cool, printf works 630 : 631 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 632 test "X$echo_testing_string" = 'X\t' && 633 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 634 test "X$echo_testing_string" = "X$echo_test_string"; then 635 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL 636 export CONFIG_SHELL 637 SHELL="$CONFIG_SHELL" 638 export SHELL 639 ECHO="$CONFIG_SHELL $0 --fallback-echo" 640 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 641 test "X$echo_testing_string" = 'X\t' && 642 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 643 test "X$echo_testing_string" = "X$echo_test_string"; then 644 ECHO="$CONFIG_SHELL $0 --fallback-echo" 645 else 646 # maybe with a smaller string... 647 prev=: 648 649 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do 650 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null 651 then 652 break 653 fi 654 prev="$cmd" 655 done 656 657 if test "$prev" != 'sed 50q "$0"'; then 658 echo_test_string=`eval $prev` 659 export echo_test_string 660 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} 661 else 662 # Oops. We lost completely, so just stick with echo. 663 ECHO=echo 664 fi 665 fi 666 fi 667 fi 668 fi 669fi 670 671# Copy echo and quote the copy suitably for passing to libtool from 672# the Makefile, instead of quoting the original, which is used later. 673lt_ECHO=$ECHO 674if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then 675 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" 676fi 677 678 679 680 681test -n "$DJDIR" || exec 7<&0 </dev/null 682exec 6>&1 683 684# Name of the host. 685# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 686# so uname gets run too. 687ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 688 689# 690# Initializations. 691# 692ac_default_prefix=/usr/local 693ac_clean_files= 694ac_config_libobj_dir=. 695LIBOBJS= 696cross_compiling=no 697subdirs= 698MFLAGS= 699MAKEFLAGS= 700 701# Identity of this package. 702PACKAGE_NAME='gmpc-albumview' 703PACKAGE_TARNAME='gmpc-albumview' 704PACKAGE_VERSION='11.8.16' 705PACKAGE_STRING='gmpc-albumview 11.8.16' 706PACKAGE_BUGREPORT='qball@sarine.nl' 707PACKAGE_URL='' 708 709# Factoring default headers for most tests. 710ac_includes_default="\ 711#include <stdio.h> 712#ifdef HAVE_SYS_TYPES_H 713# include <sys/types.h> 714#endif 715#ifdef HAVE_SYS_STAT_H 716# include <sys/stat.h> 717#endif 718#ifdef STDC_HEADERS 719# include <stdlib.h> 720# include <stddef.h> 721#else 722# ifdef HAVE_STDLIB_H 723# include <stdlib.h> 724# endif 725#endif 726#ifdef HAVE_STRING_H 727# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 728# include <memory.h> 729# endif 730# include <string.h> 731#endif 732#ifdef HAVE_STRINGS_H 733# include <strings.h> 734#endif 735#ifdef HAVE_INTTYPES_H 736# include <inttypes.h> 737#endif 738#ifdef HAVE_STDINT_H 739# include <stdint.h> 740#endif 741#ifdef HAVE_UNISTD_H 742# include <unistd.h> 743#endif" 744 745ac_subst_vars='am__EXEEXT_FALSE 746am__EXEEXT_TRUE 747LTLIBOBJS 748LIBOBJS 749gmpcalbumview_LIBS 750gmpcalbumview_CFLAGS 751PKG_CONFIG_LIBDIR 752PKG_CONFIG_PATH 753PKG_CONFIG 754OTOOL64 755OTOOL 756LIPO 757NMEDIT 758DSYMUTIL 759lt_ECHO 760RANLIB 761AR 762OBJDUMP 763LN_S 764NM 765ac_ct_DUMPBIN 766DUMPBIN 767LD 768FGREP 769SED 770host_os 771host_vendor 772host_cpu 773host 774build_os 775build_vendor 776build_cpu 777build 778LIBTOOL 779MKINSTALLDIRS 780POSUB 781POFILES 782PO_IN_DATADIR_FALSE 783PO_IN_DATADIR_TRUE 784INTLLIBS 785INSTOBJEXT 786GMOFILES 787CATOBJEXT 788CATALOGS 789MSGFMT_OPTS 790EGREP 791GREP 792CPP 793GETTEXT_PACKAGE 794DATADIRNAME 795am__fastdepCC_FALSE 796am__fastdepCC_TRUE 797CCDEPMODE 798AMDEPBACKSLASH 799AMDEP_FALSE 800AMDEP_TRUE 801am__quote 802am__include 803DEPDIR 804OBJEXT 805EXEEXT 806ac_ct_CC 807CPPFLAGS 808LDFLAGS 809CFLAGS 810CC 811ALL_LINGUAS 812INTLTOOL_PERL 813GMSGFMT 814MSGFMT 815MSGMERGE 816XGETTEXT 817INTLTOOL_POLICY_RULE 818INTLTOOL_SERVICE_RULE 819INTLTOOL_THEME_RULE 820INTLTOOL_SCHEMAS_RULE 821INTLTOOL_CAVES_RULE 822INTLTOOL_XML_NOMERGE_RULE 823INTLTOOL_XML_RULE 824INTLTOOL_KBD_RULE 825INTLTOOL_XAM_RULE 826INTLTOOL_UI_RULE 827INTLTOOL_SOUNDLIST_RULE 828INTLTOOL_SHEET_RULE 829INTLTOOL_SERVER_RULE 830INTLTOOL_PONG_RULE 831INTLTOOL_OAF_RULE 832INTLTOOL_PROP_RULE 833INTLTOOL_KEYS_RULE 834INTLTOOL_DIRECTORY_RULE 835INTLTOOL_DESKTOP_RULE 836INTLTOOL_EXTRACT 837INTLTOOL_MERGE 838INTLTOOL_UPDATE 839USE_NLS 840am__untar 841am__tar 842AMTAR 843am__leading_dot 844SET_MAKE 845AWK 846mkdir_p 847MKDIR_P 848INSTALL_STRIP_PROGRAM 849STRIP 850install_sh 851MAKEINFO 852AUTOHEADER 853AUTOMAKE 854AUTOCONF 855ACLOCAL 856VERSION 857PACKAGE 858CYGPATH_W 859am__isrc 860INSTALL_DATA 861INSTALL_SCRIPT 862INSTALL_PROGRAM 863target_alias 864host_alias 865build_alias 866LIBS 867ECHO_T 868ECHO_N 869ECHO_C 870DEFS 871mandir 872localedir 873libdir 874psdir 875pdfdir 876dvidir 877htmldir 878infodir 879docdir 880oldincludedir 881includedir 882localstatedir 883sharedstatedir 884sysconfdir 885datadir 886datarootdir 887libexecdir 888sbindir 889bindir 890program_transform_name 891prefix 892exec_prefix 893PACKAGE_URL 894PACKAGE_BUGREPORT 895PACKAGE_STRING 896PACKAGE_VERSION 897PACKAGE_TARNAME 898PACKAGE_NAME 899PATH_SEPARATOR 900SHELL' 901ac_subst_files='' 902ac_user_opts=' 903enable_option_checking 904enable_nls 905enable_dependency_tracking 906enable_static 907enable_shared 908with_pic 909enable_fast_install 910with_gnu_ld 911enable_libtool_lock 912' 913 ac_precious_vars='build_alias 914host_alias 915target_alias 916CC 917CFLAGS 918LDFLAGS 919LIBS 920CPPFLAGS 921CPP 922PKG_CONFIG 923PKG_CONFIG_PATH 924PKG_CONFIG_LIBDIR 925gmpcalbumview_CFLAGS 926gmpcalbumview_LIBS' 927 928 929# Initialize some variables set by options. 930ac_init_help= 931ac_init_version=false 932ac_unrecognized_opts= 933ac_unrecognized_sep= 934# The variables have the same names as the options, with 935# dashes changed to underlines. 936cache_file=/dev/null 937exec_prefix=NONE 938no_create= 939no_recursion= 940prefix=NONE 941program_prefix=NONE 942program_suffix=NONE 943program_transform_name=s,x,x, 944silent= 945site= 946srcdir= 947verbose= 948x_includes=NONE 949x_libraries=NONE 950 951# Installation directory options. 952# These are left unexpanded so users can "make install exec_prefix=/foo" 953# and all the variables that are supposed to be based on exec_prefix 954# by default will actually change. 955# Use braces instead of parens because sh, perl, etc. also accept them. 956# (The list follows the same order as the GNU Coding Standards.) 957bindir='${exec_prefix}/bin' 958sbindir='${exec_prefix}/sbin' 959libexecdir='${exec_prefix}/libexec' 960datarootdir='${prefix}/share' 961datadir='${datarootdir}' 962sysconfdir='${prefix}/etc' 963sharedstatedir='${prefix}/com' 964localstatedir='${prefix}/var' 965includedir='${prefix}/include' 966oldincludedir='/usr/include' 967docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 968infodir='${datarootdir}/info' 969htmldir='${docdir}' 970dvidir='${docdir}' 971pdfdir='${docdir}' 972psdir='${docdir}' 973libdir='${exec_prefix}/lib' 974localedir='${datarootdir}/locale' 975mandir='${datarootdir}/man' 976 977ac_prev= 978ac_dashdash= 979for ac_option 980do 981 # If the previous option needs an argument, assign it. 982 if test -n "$ac_prev"; then 983 eval $ac_prev=\$ac_option 984 ac_prev= 985 continue 986 fi 987 988 case $ac_option in 989 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 990 *=) ac_optarg= ;; 991 *) ac_optarg=yes ;; 992 esac 993 994 # Accept the important Cygnus configure options, so we can diagnose typos. 995 996 case $ac_dashdash$ac_option in 997 --) 998 ac_dashdash=yes ;; 999 1000 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1001 ac_prev=bindir ;; 1002 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1003 bindir=$ac_optarg ;; 1004 1005 -build | --build | --buil | --bui | --bu) 1006 ac_prev=build_alias ;; 1007 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1008 build_alias=$ac_optarg ;; 1009 1010 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1011 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1012 ac_prev=cache_file ;; 1013 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1014 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1015 cache_file=$ac_optarg ;; 1016 1017 --config-cache | -C) 1018 cache_file=config.cache ;; 1019 1020 -datadir | --datadir | --datadi | --datad) 1021 ac_prev=datadir ;; 1022 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1023 datadir=$ac_optarg ;; 1024 1025 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1026 | --dataroo | --dataro | --datar) 1027 ac_prev=datarootdir ;; 1028 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1029 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1030 datarootdir=$ac_optarg ;; 1031 1032 -disable-* | --disable-*) 1033 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1034 # Reject names that are not valid shell variable names. 1035 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1036 as_fn_error $? "invalid feature name: $ac_useropt" 1037 ac_useropt_orig=$ac_useropt 1038 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1039 case $ac_user_opts in 1040 *" 1041"enable_$ac_useropt" 1042"*) ;; 1043 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1044 ac_unrecognized_sep=', ';; 1045 esac 1046 eval enable_$ac_useropt=no ;; 1047 1048 -docdir | --docdir | --docdi | --doc | --do) 1049 ac_prev=docdir ;; 1050 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1051 docdir=$ac_optarg ;; 1052 1053 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1054 ac_prev=dvidir ;; 1055 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1056 dvidir=$ac_optarg ;; 1057 1058 -enable-* | --enable-*) 1059 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1060 # Reject names that are not valid shell variable names. 1061 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1062 as_fn_error $? "invalid feature name: $ac_useropt" 1063 ac_useropt_orig=$ac_useropt 1064 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1065 case $ac_user_opts in 1066 *" 1067"enable_$ac_useropt" 1068"*) ;; 1069 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1070 ac_unrecognized_sep=', ';; 1071 esac 1072 eval enable_$ac_useropt=\$ac_optarg ;; 1073 1074 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1075 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1076 | --exec | --exe | --ex) 1077 ac_prev=exec_prefix ;; 1078 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1079 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1080 | --exec=* | --exe=* | --ex=*) 1081 exec_prefix=$ac_optarg ;; 1082 1083 -gas | --gas | --ga | --g) 1084 # Obsolete; use --with-gas. 1085 with_gas=yes ;; 1086 1087 -help | --help | --hel | --he | -h) 1088 ac_init_help=long ;; 1089 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1090 ac_init_help=recursive ;; 1091 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1092 ac_init_help=short ;; 1093 1094 -host | --host | --hos | --ho) 1095 ac_prev=host_alias ;; 1096 -host=* | --host=* | --hos=* | --ho=*) 1097 host_alias=$ac_optarg ;; 1098 1099 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1100 ac_prev=htmldir ;; 1101 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1102 | --ht=*) 1103 htmldir=$ac_optarg ;; 1104 1105 -includedir | --includedir | --includedi | --included | --include \ 1106 | --includ | --inclu | --incl | --inc) 1107 ac_prev=includedir ;; 1108 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1109 | --includ=* | --inclu=* | --incl=* | --inc=*) 1110 includedir=$ac_optarg ;; 1111 1112 -infodir | --infodir | --infodi | --infod | --info | --inf) 1113 ac_prev=infodir ;; 1114 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1115 infodir=$ac_optarg ;; 1116 1117 -libdir | --libdir | --libdi | --libd) 1118 ac_prev=libdir ;; 1119 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1120 libdir=$ac_optarg ;; 1121 1122 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1123 | --libexe | --libex | --libe) 1124 ac_prev=libexecdir ;; 1125 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1126 | --libexe=* | --libex=* | --libe=*) 1127 libexecdir=$ac_optarg ;; 1128 1129 -localedir | --localedir | --localedi | --localed | --locale) 1130 ac_prev=localedir ;; 1131 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1132 localedir=$ac_optarg ;; 1133 1134 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1135 | --localstate | --localstat | --localsta | --localst | --locals) 1136 ac_prev=localstatedir ;; 1137 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1138 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1139 localstatedir=$ac_optarg ;; 1140 1141 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1142 ac_prev=mandir ;; 1143 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1144 mandir=$ac_optarg ;; 1145 1146 -nfp | --nfp | --nf) 1147 # Obsolete; use --without-fp. 1148 with_fp=no ;; 1149 1150 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1151 | --no-cr | --no-c | -n) 1152 no_create=yes ;; 1153 1154 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1155 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1156 no_recursion=yes ;; 1157 1158 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1159 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1160 | --oldin | --oldi | --old | --ol | --o) 1161 ac_prev=oldincludedir ;; 1162 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1163 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1164 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1165 oldincludedir=$ac_optarg ;; 1166 1167 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1168 ac_prev=prefix ;; 1169 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1170 prefix=$ac_optarg ;; 1171 1172 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1173 | --program-pre | --program-pr | --program-p) 1174 ac_prev=program_prefix ;; 1175 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1176 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1177 program_prefix=$ac_optarg ;; 1178 1179 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1180 | --program-suf | --program-su | --program-s) 1181 ac_prev=program_suffix ;; 1182 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1183 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1184 program_suffix=$ac_optarg ;; 1185 1186 -program-transform-name | --program-transform-name \ 1187 | --program-transform-nam | --program-transform-na \ 1188 | --program-transform-n | --program-transform- \ 1189 | --program-transform | --program-transfor \ 1190 | --program-transfo | --program-transf \ 1191 | --program-trans | --program-tran \ 1192 | --progr-tra | --program-tr | --program-t) 1193 ac_prev=program_transform_name ;; 1194 -program-transform-name=* | --program-transform-name=* \ 1195 | --program-transform-nam=* | --program-transform-na=* \ 1196 | --program-transform-n=* | --program-transform-=* \ 1197 | --program-transform=* | --program-transfor=* \ 1198 | --program-transfo=* | --program-transf=* \ 1199 | --program-trans=* | --program-tran=* \ 1200 | --progr-tra=* | --program-tr=* | --program-t=*) 1201 program_transform_name=$ac_optarg ;; 1202 1203 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1204 ac_prev=pdfdir ;; 1205 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1206 pdfdir=$ac_optarg ;; 1207 1208 -psdir | --psdir | --psdi | --psd | --ps) 1209 ac_prev=psdir ;; 1210 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1211 psdir=$ac_optarg ;; 1212 1213 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1214 | -silent | --silent | --silen | --sile | --sil) 1215 silent=yes ;; 1216 1217 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1218 ac_prev=sbindir ;; 1219 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1220 | --sbi=* | --sb=*) 1221 sbindir=$ac_optarg ;; 1222 1223 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1224 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1225 | --sharedst | --shareds | --shared | --share | --shar \ 1226 | --sha | --sh) 1227 ac_prev=sharedstatedir ;; 1228 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1229 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1230 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1231 | --sha=* | --sh=*) 1232 sharedstatedir=$ac_optarg ;; 1233 1234 -site | --site | --sit) 1235 ac_prev=site ;; 1236 -site=* | --site=* | --sit=*) 1237 site=$ac_optarg ;; 1238 1239 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1240 ac_prev=srcdir ;; 1241 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1242 srcdir=$ac_optarg ;; 1243 1244 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1245 | --syscon | --sysco | --sysc | --sys | --sy) 1246 ac_prev=sysconfdir ;; 1247 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1248 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1249 sysconfdir=$ac_optarg ;; 1250 1251 -target | --target | --targe | --targ | --tar | --ta | --t) 1252 ac_prev=target_alias ;; 1253 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1254 target_alias=$ac_optarg ;; 1255 1256 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1257 verbose=yes ;; 1258 1259 -version | --version | --versio | --versi | --vers | -V) 1260 ac_init_version=: ;; 1261 1262 -with-* | --with-*) 1263 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1264 # Reject names that are not valid shell variable names. 1265 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1266 as_fn_error $? "invalid package name: $ac_useropt" 1267 ac_useropt_orig=$ac_useropt 1268 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1269 case $ac_user_opts in 1270 *" 1271"with_$ac_useropt" 1272"*) ;; 1273 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1274 ac_unrecognized_sep=', ';; 1275 esac 1276 eval with_$ac_useropt=\$ac_optarg ;; 1277 1278 -without-* | --without-*) 1279 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1280 # Reject names that are not valid shell variable names. 1281 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1282 as_fn_error $? "invalid package name: $ac_useropt" 1283 ac_useropt_orig=$ac_useropt 1284 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1285 case $ac_user_opts in 1286 *" 1287"with_$ac_useropt" 1288"*) ;; 1289 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1290 ac_unrecognized_sep=', ';; 1291 esac 1292 eval with_$ac_useropt=no ;; 1293 1294 --x) 1295 # Obsolete; use --with-x. 1296 with_x=yes ;; 1297 1298 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1299 | --x-incl | --x-inc | --x-in | --x-i) 1300 ac_prev=x_includes ;; 1301 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1302 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1303 x_includes=$ac_optarg ;; 1304 1305 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1306 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1307 ac_prev=x_libraries ;; 1308 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1309 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1310 x_libraries=$ac_optarg ;; 1311 1312 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1313Try \`$0 --help' for more information" 1314 ;; 1315 1316 *=*) 1317 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1318 # Reject names that are not valid shell variable names. 1319 case $ac_envvar in #( 1320 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1321 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1322 esac 1323 eval $ac_envvar=\$ac_optarg 1324 export $ac_envvar ;; 1325 1326 *) 1327 # FIXME: should be removed in autoconf 3.0. 1328 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1329 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1330 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1331 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1332 ;; 1333 1334 esac 1335done 1336 1337if test -n "$ac_prev"; then 1338 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1339 as_fn_error $? "missing argument to $ac_option" 1340fi 1341 1342if test -n "$ac_unrecognized_opts"; then 1343 case $enable_option_checking in 1344 no) ;; 1345 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1346 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1347 esac 1348fi 1349 1350# Check all directory arguments for consistency. 1351for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1352 datadir sysconfdir sharedstatedir localstatedir includedir \ 1353 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1354 libdir localedir mandir 1355do 1356 eval ac_val=\$$ac_var 1357 # Remove trailing slashes. 1358 case $ac_val in 1359 */ ) 1360 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1361 eval $ac_var=\$ac_val;; 1362 esac 1363 # Be sure to have absolute directory names. 1364 case $ac_val in 1365 [\\/$]* | ?:[\\/]* ) continue;; 1366 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1367 esac 1368 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1369done 1370 1371# There might be people who depend on the old broken behavior: `$host' 1372# used to hold the argument of --host etc. 1373# FIXME: To remove some day. 1374build=$build_alias 1375host=$host_alias 1376target=$target_alias 1377 1378# FIXME: To remove some day. 1379if test "x$host_alias" != x; then 1380 if test "x$build_alias" = x; then 1381 cross_compiling=maybe 1382 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1383 If a cross compiler is detected then cross compile mode will be used" >&2 1384 elif test "x$build_alias" != "x$host_alias"; then 1385 cross_compiling=yes 1386 fi 1387fi 1388 1389ac_tool_prefix= 1390test -n "$host_alias" && ac_tool_prefix=$host_alias- 1391 1392test "$silent" = yes && exec 6>/dev/null 1393 1394 1395ac_pwd=`pwd` && test -n "$ac_pwd" && 1396ac_ls_di=`ls -di .` && 1397ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1398 as_fn_error $? "working directory cannot be determined" 1399test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1400 as_fn_error $? "pwd does not report name of working directory" 1401 1402 1403# Find the source files, if location was not specified. 1404if test -z "$srcdir"; then 1405 ac_srcdir_defaulted=yes 1406 # Try the directory containing this script, then the parent directory. 1407 ac_confdir=`$as_dirname -- "$as_myself" || 1408$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1409 X"$as_myself" : 'X\(//\)[^/]' \| \ 1410 X"$as_myself" : 'X\(//\)$' \| \ 1411 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1412$as_echo X"$as_myself" | 1413 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1414 s//\1/ 1415 q 1416 } 1417 /^X\(\/\/\)[^/].*/{ 1418 s//\1/ 1419 q 1420 } 1421 /^X\(\/\/\)$/{ 1422 s//\1/ 1423 q 1424 } 1425 /^X\(\/\).*/{ 1426 s//\1/ 1427 q 1428 } 1429 s/.*/./; q'` 1430 srcdir=$ac_confdir 1431 if test ! -r "$srcdir/$ac_unique_file"; then 1432 srcdir=.. 1433 fi 1434else 1435 ac_srcdir_defaulted=no 1436fi 1437if test ! -r "$srcdir/$ac_unique_file"; then 1438 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1439 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1440fi 1441ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1442ac_abs_confdir=`( 1443 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1444 pwd)` 1445# When building in place, set srcdir=. 1446if test "$ac_abs_confdir" = "$ac_pwd"; then 1447 srcdir=. 1448fi 1449# Remove unnecessary trailing slashes from srcdir. 1450# Double slashes in file names in object file debugging info 1451# mess up M-x gdb in Emacs. 1452case $srcdir in 1453*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1454esac 1455for ac_var in $ac_precious_vars; do 1456 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1457 eval ac_env_${ac_var}_value=\$${ac_var} 1458 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1459 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1460done 1461 1462# 1463# Report the --help message. 1464# 1465if test "$ac_init_help" = "long"; then 1466 # Omit some internal or obsolete options to make the list less imposing. 1467 # This message is too long to be a string in the A/UX 3.1 sh. 1468 cat <<_ACEOF 1469\`configure' configures gmpc-albumview 11.8.16 to adapt to many kinds of systems. 1470 1471Usage: $0 [OPTION]... [VAR=VALUE]... 1472 1473To assign environment variables (e.g., CC, CFLAGS...), specify them as 1474VAR=VALUE. See below for descriptions of some of the useful variables. 1475 1476Defaults for the options are specified in brackets. 1477 1478Configuration: 1479 -h, --help display this help and exit 1480 --help=short display options specific to this package 1481 --help=recursive display the short help of all the included packages 1482 -V, --version display version information and exit 1483 -q, --quiet, --silent do not print \`checking ...' messages 1484 --cache-file=FILE cache test results in FILE [disabled] 1485 -C, --config-cache alias for \`--cache-file=config.cache' 1486 -n, --no-create do not create output files 1487 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1488 1489Installation directories: 1490 --prefix=PREFIX install architecture-independent files in PREFIX 1491 [$ac_default_prefix] 1492 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1493 [PREFIX] 1494 1495By default, \`make install' will install all the files in 1496\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1497an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1498for instance \`--prefix=\$HOME'. 1499 1500For better control, use the options below. 1501 1502Fine tuning of the installation directories: 1503 --bindir=DIR user executables [EPREFIX/bin] 1504 --sbindir=DIR system admin executables [EPREFIX/sbin] 1505 --libexecdir=DIR program executables [EPREFIX/libexec] 1506 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1507 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1508 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1509 --libdir=DIR object code libraries [EPREFIX/lib] 1510 --includedir=DIR C header files [PREFIX/include] 1511 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1512 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1513 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1514 --infodir=DIR info documentation [DATAROOTDIR/info] 1515 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1516 --mandir=DIR man documentation [DATAROOTDIR/man] 1517 --docdir=DIR documentation root [DATAROOTDIR/doc/gmpc-albumview] 1518 --htmldir=DIR html documentation [DOCDIR] 1519 --dvidir=DIR dvi documentation [DOCDIR] 1520 --pdfdir=DIR pdf documentation [DOCDIR] 1521 --psdir=DIR ps documentation [DOCDIR] 1522_ACEOF 1523 1524 cat <<\_ACEOF 1525 1526Program names: 1527 --program-prefix=PREFIX prepend PREFIX to installed program names 1528 --program-suffix=SUFFIX append SUFFIX to installed program names 1529 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1530 1531System types: 1532 --build=BUILD configure for building on BUILD [guessed] 1533 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1534_ACEOF 1535fi 1536 1537if test -n "$ac_init_help"; then 1538 case $ac_init_help in 1539 short | recursive ) echo "Configuration of gmpc-albumview 11.8.16:";; 1540 esac 1541 cat <<\_ACEOF 1542 1543Optional Features: 1544 --disable-option-checking ignore unrecognized --enable/--with options 1545 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1546 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1547 --disable-nls do not use Native Language Support 1548 --disable-dependency-tracking speeds up one-time build 1549 --enable-dependency-tracking do not reject slow dependency extractors 1550 --enable-static[=PKGS] build static libraries [default=no] 1551 --enable-shared[=PKGS] build shared libraries [default=yes] 1552 --enable-fast-install[=PKGS] 1553 optimize for fast installation [default=yes] 1554 --disable-libtool-lock avoid locking (might break parallel builds) 1555 1556Optional Packages: 1557 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1558 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1559 --with-pic try to use only PIC/non-PIC objects [default=use 1560 both] 1561 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1562 1563Some influential environment variables: 1564 CC C compiler command 1565 CFLAGS C compiler flags 1566 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1567 nonstandard directory <lib dir> 1568 LIBS libraries to pass to the linker, e.g. -l<library> 1569 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1570 you have headers in a nonstandard directory <include dir> 1571 CPP C preprocessor 1572 PKG_CONFIG path to pkg-config utility 1573 PKG_CONFIG_PATH 1574 directories to add to pkg-config's search path 1575 PKG_CONFIG_LIBDIR 1576 path overriding pkg-config's built-in search path 1577 gmpcalbumview_CFLAGS 1578 C compiler flags for gmpcalbumview, overriding pkg-config 1579 gmpcalbumview_LIBS 1580 linker flags for gmpcalbumview, overriding pkg-config 1581 1582Use these variables to override the choices made by `configure' or to help 1583it to find libraries and programs with nonstandard names/locations. 1584 1585Report bugs to <qball@sarine.nl>. 1586_ACEOF 1587ac_status=$? 1588fi 1589 1590if test "$ac_init_help" = "recursive"; then 1591 # If there are subdirs, report their specific --help. 1592 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1593 test -d "$ac_dir" || 1594 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1595 continue 1596 ac_builddir=. 1597 1598case "$ac_dir" in 1599.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1600*) 1601 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1602 # A ".." for each directory in $ac_dir_suffix. 1603 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1604 case $ac_top_builddir_sub in 1605 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1606 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1607 esac ;; 1608esac 1609ac_abs_top_builddir=$ac_pwd 1610ac_abs_builddir=$ac_pwd$ac_dir_suffix 1611# for backward compatibility: 1612ac_top_builddir=$ac_top_build_prefix 1613 1614case $srcdir in 1615 .) # We are building in place. 1616 ac_srcdir=. 1617 ac_top_srcdir=$ac_top_builddir_sub 1618 ac_abs_top_srcdir=$ac_pwd ;; 1619 [\\/]* | ?:[\\/]* ) # Absolute name. 1620 ac_srcdir=$srcdir$ac_dir_suffix; 1621 ac_top_srcdir=$srcdir 1622 ac_abs_top_srcdir=$srcdir ;; 1623 *) # Relative name. 1624 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1625 ac_top_srcdir=$ac_top_build_prefix$srcdir 1626 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1627esac 1628ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1629 1630 cd "$ac_dir" || { ac_status=$?; continue; } 1631 # Check for guested configure. 1632 if test -f "$ac_srcdir/configure.gnu"; then 1633 echo && 1634 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1635 elif test -f "$ac_srcdir/configure"; then 1636 echo && 1637 $SHELL "$ac_srcdir/configure" --help=recursive 1638 else 1639 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1640 fi || ac_status=$? 1641 cd "$ac_pwd" || { ac_status=$?; break; } 1642 done 1643fi 1644 1645test -n "$ac_init_help" && exit $ac_status 1646if $ac_init_version; then 1647 cat <<\_ACEOF 1648gmpc-albumview configure 11.8.16 1649generated by GNU Autoconf 2.67 1650 1651Copyright (C) 2010 Free Software Foundation, Inc. 1652This configure script is free software; the Free Software Foundation 1653gives unlimited permission to copy, distribute and modify it. 1654_ACEOF 1655 exit 1656fi 1657 1658## ------------------------ ## 1659## Autoconf initialization. ## 1660## ------------------------ ## 1661 1662# ac_fn_c_try_compile LINENO 1663# -------------------------- 1664# Try to compile conftest.$ac_ext, and return whether this succeeded. 1665ac_fn_c_try_compile () 1666{ 1667 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1668 rm -f conftest.$ac_objext 1669 if { { ac_try="$ac_compile" 1670case "(($ac_try" in 1671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1672 *) ac_try_echo=$ac_try;; 1673esac 1674eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1675$as_echo "$ac_try_echo"; } >&5 1676 (eval "$ac_compile") 2>conftest.err 1677 ac_status=$? 1678 if test -s conftest.err; then 1679 grep -v '^ *+' conftest.err >conftest.er1 1680 cat conftest.er1 >&5 1681 mv -f conftest.er1 conftest.err 1682 fi 1683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1684 test $ac_status = 0; } && { 1685 test -z "$ac_c_werror_flag" || 1686 test ! -s conftest.err 1687 } && test -s conftest.$ac_objext; then : 1688 ac_retval=0 1689else 1690 $as_echo "$as_me: failed program was:" >&5 1691sed 's/^/| /' conftest.$ac_ext >&5 1692 1693 ac_retval=1 1694fi 1695 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1696 as_fn_set_status $ac_retval 1697 1698} # ac_fn_c_try_compile 1699 1700# ac_fn_c_try_link LINENO 1701# ----------------------- 1702# Try to link conftest.$ac_ext, and return whether this succeeded. 1703ac_fn_c_try_link () 1704{ 1705 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1706 rm -f conftest.$ac_objext conftest$ac_exeext 1707 if { { ac_try="$ac_link" 1708case "(($ac_try" in 1709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1710 *) ac_try_echo=$ac_try;; 1711esac 1712eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1713$as_echo "$ac_try_echo"; } >&5 1714 (eval "$ac_link") 2>conftest.err 1715 ac_status=$? 1716 if test -s conftest.err; then 1717 grep -v '^ *+' conftest.err >conftest.er1 1718 cat conftest.er1 >&5 1719 mv -f conftest.er1 conftest.err 1720 fi 1721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1722 test $ac_status = 0; } && { 1723 test -z "$ac_c_werror_flag" || 1724 test ! -s conftest.err 1725 } && test -s conftest$ac_exeext && { 1726 test "$cross_compiling" = yes || 1727 $as_test_x conftest$ac_exeext 1728 }; then : 1729 ac_retval=0 1730else 1731 $as_echo "$as_me: failed program was:" >&5 1732sed 's/^/| /' conftest.$ac_ext >&5 1733 1734 ac_retval=1 1735fi 1736 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1737 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1738 # interfere with the next link command; also delete a directory that is 1739 # left behind by Apple's compiler. We do this before executing the actions. 1740 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1741 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1742 as_fn_set_status $ac_retval 1743 1744} # ac_fn_c_try_link 1745 1746# ac_fn_c_check_func LINENO FUNC VAR 1747# ---------------------------------- 1748# Tests whether FUNC exists, setting the cache variable VAR accordingly 1749ac_fn_c_check_func () 1750{ 1751 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1753$as_echo_n "checking for $2... " >&6; } 1754if eval "test \"\${$3+set}\"" = set; then : 1755 $as_echo_n "(cached) " >&6 1756else 1757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1758/* end confdefs.h. */ 1759/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1760 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1761#define $2 innocuous_$2 1762 1763/* System header to define __stub macros and hopefully few prototypes, 1764 which can conflict with char $2 (); below. 1765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1766 <limits.h> exists even on freestanding compilers. */ 1767 1768#ifdef __STDC__ 1769# include <limits.h> 1770#else 1771# include <assert.h> 1772#endif 1773 1774#undef $2 1775 1776/* Override any GCC internal prototype to avoid an error. 1777 Use char because int might match the return type of a GCC 1778 builtin and then its argument prototype would still apply. */ 1779#ifdef __cplusplus 1780extern "C" 1781#endif 1782char $2 (); 1783/* The GNU C library defines this for functions which it implements 1784 to always fail with ENOSYS. Some functions are actually named 1785 something starting with __ and the normal name is an alias. */ 1786#if defined __stub_$2 || defined __stub___$2 1787choke me 1788#endif 1789 1790int 1791main () 1792{ 1793return $2 (); 1794 ; 1795 return 0; 1796} 1797_ACEOF 1798if ac_fn_c_try_link "$LINENO"; then : 1799 eval "$3=yes" 1800else 1801 eval "$3=no" 1802fi 1803rm -f core conftest.err conftest.$ac_objext \ 1804 conftest$ac_exeext conftest.$ac_ext 1805fi 1806eval ac_res=\$$3 1807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1808$as_echo "$ac_res" >&6; } 1809 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1810 1811} # ac_fn_c_check_func 1812 1813# ac_fn_c_try_cpp LINENO 1814# ---------------------- 1815# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1816ac_fn_c_try_cpp () 1817{ 1818 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1819 if { { ac_try="$ac_cpp conftest.$ac_ext" 1820case "(($ac_try" in 1821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1822 *) ac_try_echo=$ac_try;; 1823esac 1824eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1825$as_echo "$ac_try_echo"; } >&5 1826 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1827 ac_status=$? 1828 if test -s conftest.err; then 1829 grep -v '^ *+' conftest.err >conftest.er1 1830 cat conftest.er1 >&5 1831 mv -f conftest.er1 conftest.err 1832 fi 1833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1834 test $ac_status = 0; } > conftest.i && { 1835 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1836 test ! -s conftest.err 1837 }; then : 1838 ac_retval=0 1839else 1840 $as_echo "$as_me: failed program was:" >&5 1841sed 's/^/| /' conftest.$ac_ext >&5 1842 1843 ac_retval=1 1844fi 1845 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1846 as_fn_set_status $ac_retval 1847 1848} # ac_fn_c_try_cpp 1849 1850# ac_fn_c_try_run LINENO 1851# ---------------------- 1852# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1853# that executables *can* be run. 1854ac_fn_c_try_run () 1855{ 1856 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1857 if { { ac_try="$ac_link" 1858case "(($ac_try" in 1859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1860 *) ac_try_echo=$ac_try;; 1861esac 1862eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1863$as_echo "$ac_try_echo"; } >&5 1864 (eval "$ac_link") 2>&5 1865 ac_status=$? 1866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1867 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1868 { { case "(($ac_try" in 1869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1870 *) ac_try_echo=$ac_try;; 1871esac 1872eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1873$as_echo "$ac_try_echo"; } >&5 1874 (eval "$ac_try") 2>&5 1875 ac_status=$? 1876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1877 test $ac_status = 0; }; }; then : 1878 ac_retval=0 1879else 1880 $as_echo "$as_me: program exited with status $ac_status" >&5 1881 $as_echo "$as_me: failed program was:" >&5 1882sed 's/^/| /' conftest.$ac_ext >&5 1883 1884 ac_retval=$ac_status 1885fi 1886 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1887 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1888 as_fn_set_status $ac_retval 1889 1890} # ac_fn_c_try_run 1891 1892# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1893# ------------------------------------------------------- 1894# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1895# the include files in INCLUDES and setting the cache variable VAR 1896# accordingly. 1897ac_fn_c_check_header_mongrel () 1898{ 1899 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1900 if eval "test \"\${$3+set}\"" = set; then : 1901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1902$as_echo_n "checking for $2... " >&6; } 1903if eval "test \"\${$3+set}\"" = set; then : 1904 $as_echo_n "(cached) " >&6 1905fi 1906eval ac_res=\$$3 1907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1908$as_echo "$ac_res" >&6; } 1909else 1910 # Is the header compilable? 1911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1912$as_echo_n "checking $2 usability... " >&6; } 1913cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1914/* end confdefs.h. */ 1915$4 1916#include <$2> 1917_ACEOF 1918if ac_fn_c_try_compile "$LINENO"; then : 1919 ac_header_compiler=yes 1920else 1921 ac_header_compiler=no 1922fi 1923rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1924{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1925$as_echo "$ac_header_compiler" >&6; } 1926 1927# Is the header present? 1928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1929$as_echo_n "checking $2 presence... " >&6; } 1930cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1931/* end confdefs.h. */ 1932#include <$2> 1933_ACEOF 1934if ac_fn_c_try_cpp "$LINENO"; then : 1935 ac_header_preproc=yes 1936else 1937 ac_header_preproc=no 1938fi 1939rm -f conftest.err conftest.i conftest.$ac_ext 1940{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1941$as_echo "$ac_header_preproc" >&6; } 1942 1943# So? What about this header? 1944case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1945 yes:no: ) 1946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1947$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1949$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1950 ;; 1951 no:yes:* ) 1952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1953$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1955$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1957$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1959$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1961$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1962( $as_echo "## ------------------------------ ## 1963## Report this to qball@sarine.nl ## 1964## ------------------------------ ##" 1965 ) | sed "s/^/$as_me: WARNING: /" >&2 1966 ;; 1967esac 1968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1969$as_echo_n "checking for $2... " >&6; } 1970if eval "test \"\${$3+set}\"" = set; then : 1971 $as_echo_n "(cached) " >&6 1972else 1973 eval "$3=\$ac_header_compiler" 1974fi 1975eval ac_res=\$$3 1976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1977$as_echo "$ac_res" >&6; } 1978fi 1979 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1980 1981} # ac_fn_c_check_header_mongrel 1982 1983# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1984# ------------------------------------------------------- 1985# Tests whether HEADER exists and can be compiled using the include files in 1986# INCLUDES, setting the cache variable VAR accordingly. 1987ac_fn_c_check_header_compile () 1988{ 1989 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1991$as_echo_n "checking for $2... " >&6; } 1992if eval "test \"\${$3+set}\"" = set; then : 1993 $as_echo_n "(cached) " >&6 1994else 1995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1996/* end confdefs.h. */ 1997$4 1998#include <$2> 1999_ACEOF 2000if ac_fn_c_try_compile "$LINENO"; then : 2001 eval "$3=yes" 2002else 2003 eval "$3=no" 2004fi 2005rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2006fi 2007eval ac_res=\$$3 2008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2009$as_echo "$ac_res" >&6; } 2010 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2011 2012} # ac_fn_c_check_header_compile 2013cat >config.log <<_ACEOF 2014This file contains any messages produced by compilers while 2015running configure, to aid debugging if configure makes a mistake. 2016 2017It was created by gmpc-albumview $as_me 11.8.16, which was 2018generated by GNU Autoconf 2.67. Invocation command line was 2019 2020 $ $0 $@ 2021 2022_ACEOF 2023exec 5>>config.log 2024{ 2025cat <<_ASUNAME 2026## --------- ## 2027## Platform. ## 2028## --------- ## 2029 2030hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2031uname -m = `(uname -m) 2>/dev/null || echo unknown` 2032uname -r = `(uname -r) 2>/dev/null || echo unknown` 2033uname -s = `(uname -s) 2>/dev/null || echo unknown` 2034uname -v = `(uname -v) 2>/dev/null || echo unknown` 2035 2036/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2037/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2038 2039/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2040/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2041/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2042/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2043/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2044/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2045/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2046 2047_ASUNAME 2048 2049as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2050for as_dir in $PATH 2051do 2052 IFS=$as_save_IFS 2053 test -z "$as_dir" && as_dir=. 2054 $as_echo "PATH: $as_dir" 2055 done 2056IFS=$as_save_IFS 2057 2058} >&5 2059 2060cat >&5 <<_ACEOF 2061 2062 2063## ----------- ## 2064## Core tests. ## 2065## ----------- ## 2066 2067_ACEOF 2068 2069 2070# Keep a trace of the command line. 2071# Strip out --no-create and --no-recursion so they do not pile up. 2072# Strip out --silent because we don't want to record it for future runs. 2073# Also quote any args containing shell meta-characters. 2074# Make two passes to allow for proper duplicate-argument suppression. 2075ac_configure_args= 2076ac_configure_args0= 2077ac_configure_args1= 2078ac_must_keep_next=false 2079for ac_pass in 1 2 2080do 2081 for ac_arg 2082 do 2083 case $ac_arg in 2084 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2085 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2086 | -silent | --silent | --silen | --sile | --sil) 2087 continue ;; 2088 *\'*) 2089 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2090 esac 2091 case $ac_pass in 2092 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2093 2) 2094 as_fn_append ac_configure_args1 " '$ac_arg'" 2095 if test $ac_must_keep_next = true; then 2096 ac_must_keep_next=false # Got value, back to normal. 2097 else 2098 case $ac_arg in 2099 *=* | --config-cache | -C | -disable-* | --disable-* \ 2100 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2101 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2102 | -with-* | --with-* | -without-* | --without-* | --x) 2103 case "$ac_configure_args0 " in 2104 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2105 esac 2106 ;; 2107 -* ) ac_must_keep_next=true ;; 2108 esac 2109 fi 2110 as_fn_append ac_configure_args " '$ac_arg'" 2111 ;; 2112 esac 2113 done 2114done 2115{ ac_configure_args0=; unset ac_configure_args0;} 2116{ ac_configure_args1=; unset ac_configure_args1;} 2117 2118# When interrupted or exit'd, cleanup temporary files, and complete 2119# config.log. We remove comments because anyway the quotes in there 2120# would cause problems or look ugly. 2121# WARNING: Use '\'' to represent an apostrophe within the trap. 2122# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2123trap 'exit_status=$? 2124 # Save into config.log some information that might help in debugging. 2125 { 2126 echo 2127 2128 $as_echo "## ---------------- ## 2129## Cache variables. ## 2130## ---------------- ##" 2131 echo 2132 # The following way of writing the cache mishandles newlines in values, 2133( 2134 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2135 eval ac_val=\$$ac_var 2136 case $ac_val in #( 2137 *${as_nl}*) 2138 case $ac_var in #( 2139 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2140$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2141 esac 2142 case $ac_var in #( 2143 _ | IFS | as_nl) ;; #( 2144 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2145 *) { eval $ac_var=; unset $ac_var;} ;; 2146 esac ;; 2147 esac 2148 done 2149 (set) 2>&1 | 2150 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2151 *${as_nl}ac_space=\ *) 2152 sed -n \ 2153 "s/'\''/'\''\\\\'\'''\''/g; 2154 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2155 ;; #( 2156 *) 2157 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2158 ;; 2159 esac | 2160 sort 2161) 2162 echo 2163 2164 $as_echo "## ----------------- ## 2165## Output variables. ## 2166## ----------------- ##" 2167 echo 2168 for ac_var in $ac_subst_vars 2169 do 2170 eval ac_val=\$$ac_var 2171 case $ac_val in 2172 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2173 esac 2174 $as_echo "$ac_var='\''$ac_val'\''" 2175 done | sort 2176 echo 2177 2178 if test -n "$ac_subst_files"; then 2179 $as_echo "## ------------------- ## 2180## File substitutions. ## 2181## ------------------- ##" 2182 echo 2183 for ac_var in $ac_subst_files 2184 do 2185 eval ac_val=\$$ac_var 2186 case $ac_val in 2187 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2188 esac 2189 $as_echo "$ac_var='\''$ac_val'\''" 2190 done | sort 2191 echo 2192 fi 2193 2194 if test -s confdefs.h; then 2195 $as_echo "## ----------- ## 2196## confdefs.h. ## 2197## ----------- ##" 2198 echo 2199 cat confdefs.h 2200 echo 2201 fi 2202 test "$ac_signal" != 0 && 2203 $as_echo "$as_me: caught signal $ac_signal" 2204 $as_echo "$as_me: exit $exit_status" 2205 } >&5 2206 rm -f core *.core core.conftest.* && 2207 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2208 exit $exit_status 2209' 0 2210for ac_signal in 1 2 13 15; do 2211 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2212done 2213ac_signal=0 2214 2215# confdefs.h avoids OS command line length limits that DEFS can exceed. 2216rm -f -r conftest* confdefs.h 2217 2218$as_echo "/* confdefs.h */" > confdefs.h 2219 2220# Predefined preprocessor variables. 2221 2222cat >>confdefs.h <<_ACEOF 2223#define PACKAGE_NAME "$PACKAGE_NAME" 2224_ACEOF 2225 2226cat >>confdefs.h <<_ACEOF 2227#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2228_ACEOF 2229 2230cat >>confdefs.h <<_ACEOF 2231#define PACKAGE_VERSION "$PACKAGE_VERSION" 2232_ACEOF 2233 2234cat >>confdefs.h <<_ACEOF 2235#define PACKAGE_STRING "$PACKAGE_STRING" 2236_ACEOF 2237 2238cat >>confdefs.h <<_ACEOF 2239#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2240_ACEOF 2241 2242cat >>confdefs.h <<_ACEOF 2243#define PACKAGE_URL "$PACKAGE_URL" 2244_ACEOF 2245 2246 2247# Let the site file select an alternate cache file if it wants to. 2248# Prefer an explicitly selected file to automatically selected ones. 2249ac_site_file1=NONE 2250ac_site_file2=NONE 2251if test -n "$CONFIG_SITE"; then 2252 # We do not want a PATH search for config.site. 2253 case $CONFIG_SITE in #(( 2254 -*) ac_site_file1=./$CONFIG_SITE;; 2255 */*) ac_site_file1=$CONFIG_SITE;; 2256 *) ac_site_file1=./$CONFIG_SITE;; 2257 esac 2258elif test "x$prefix" != xNONE; then 2259 ac_site_file1=$prefix/share/config.site 2260 ac_site_file2=$prefix/etc/config.site 2261else 2262 ac_site_file1=$ac_default_prefix/share/config.site 2263 ac_site_file2=$ac_default_prefix/etc/config.site 2264fi 2265for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2266do 2267 test "x$ac_site_file" = xNONE && continue 2268 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2269 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2270$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2271 sed 's/^/| /' "$ac_site_file" >&5 2272 . "$ac_site_file" \ 2273 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2274$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2275as_fn_error $? "failed to load site script $ac_site_file 2276See \`config.log' for more details" "$LINENO" 5 ; } 2277 fi 2278done 2279 2280if test -r "$cache_file"; then 2281 # Some versions of bash will fail to source /dev/null (special files 2282 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2283 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2284 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2285$as_echo "$as_me: loading cache $cache_file" >&6;} 2286 case $cache_file in 2287 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2288 *) . "./$cache_file";; 2289 esac 2290 fi 2291else 2292 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2293$as_echo "$as_me: creating cache $cache_file" >&6;} 2294 >$cache_file 2295fi 2296 2297# Check that the precious variables saved in the cache have kept the same 2298# value. 2299ac_cache_corrupted=false 2300for ac_var in $ac_precious_vars; do 2301 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2302 eval ac_new_set=\$ac_env_${ac_var}_set 2303 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2304 eval ac_new_val=\$ac_env_${ac_var}_value 2305 case $ac_old_set,$ac_new_set in 2306 set,) 2307 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2308$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2309 ac_cache_corrupted=: ;; 2310 ,set) 2311 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2312$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2313 ac_cache_corrupted=: ;; 2314 ,);; 2315 *) 2316 if test "x$ac_old_val" != "x$ac_new_val"; then 2317 # differences in whitespace do not lead to failure. 2318 ac_old_val_w=`echo x $ac_old_val` 2319 ac_new_val_w=`echo x $ac_new_val` 2320 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2321 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2322$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2323 ac_cache_corrupted=: 2324 else 2325 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2326$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2327 eval $ac_var=\$ac_old_val 2328 fi 2329 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2330$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2331 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2332$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2333 fi;; 2334 esac 2335 # Pass precious variables to config.status. 2336 if test "$ac_new_set" = set; then 2337 case $ac_new_val in 2338 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2339 *) ac_arg=$ac_var=$ac_new_val ;; 2340 esac 2341 case " $ac_configure_args " in 2342 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2343 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2344 esac 2345 fi 2346done 2347if $ac_cache_corrupted; then 2348 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2349$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2350 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2351$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2352 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2353fi 2354## -------------------- ## 2355## Main body of script. ## 2356## -------------------- ## 2357 2358ac_ext=c 2359ac_cpp='$CPP $CPPFLAGS' 2360ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2361ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2362ac_compiler_gnu=$ac_cv_c_compiler_gnu 2363 2364 2365 2366 2367 2368 2369 2370 2371ac_aux_dir= 2372for ac_dir in . "$srcdir"/.; do 2373 if test -f "$ac_dir/install-sh"; then 2374 ac_aux_dir=$ac_dir 2375 ac_install_sh="$ac_aux_dir/install-sh -c" 2376 break 2377 elif test -f "$ac_dir/install.sh"; then 2378 ac_aux_dir=$ac_dir 2379 ac_install_sh="$ac_aux_dir/install.sh -c" 2380 break 2381 elif test -f "$ac_dir/shtool"; then 2382 ac_aux_dir=$ac_dir 2383 ac_install_sh="$ac_aux_dir/shtool install -c" 2384 break 2385 fi 2386done 2387if test -z "$ac_aux_dir"; then 2388 as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5 2389fi 2390 2391# These three variables are undocumented and unsupported, 2392# and are intended to be withdrawn in a future Autoconf release. 2393# They can cause serious problems if a builder's source tree is in a directory 2394# whose full name contains unusual characters. 2395ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2396ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2397ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2398 2399 2400ac_config_headers="$ac_config_headers config.h" 2401 2402am__api_version='1.11' 2403 2404# Find a good install program. We prefer a C program (faster), 2405# so one script is as good as another. But avoid the broken or 2406# incompatible versions: 2407# SysV /etc/install, /usr/sbin/install 2408# SunOS /usr/etc/install 2409# IRIX /sbin/install 2410# AIX /bin/install 2411# AmigaOS /C/install, which installs bootblocks on floppy discs 2412# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2413# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2414# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2415# OS/2's system install, which has a completely different semantic 2416# ./install, which can be erroneously created by make from ./install.sh. 2417# Reject install programs that cannot install multiple files. 2418{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2419$as_echo_n "checking for a BSD-compatible install... " >&6; } 2420if test -z "$INSTALL"; then 2421if test "${ac_cv_path_install+set}" = set; then : 2422 $as_echo_n "(cached) " >&6 2423else 2424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2425for as_dir in $PATH 2426do 2427 IFS=$as_save_IFS 2428 test -z "$as_dir" && as_dir=. 2429 # Account for people who put trailing slashes in PATH elements. 2430case $as_dir/ in #(( 2431 ./ | .// | /[cC]/* | \ 2432 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2433 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2434 /usr/ucb/* ) ;; 2435 *) 2436 # OSF1 and SCO ODT 3.0 have their own names for install. 2437 # Don't use installbsd from OSF since it installs stuff as root 2438 # by default. 2439 for ac_prog in ginstall scoinst install; do 2440 for ac_exec_ext in '' $ac_executable_extensions; do 2441 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2442 if test $ac_prog = install && 2443 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2444 # AIX install. It has an incompatible calling convention. 2445 : 2446 elif test $ac_prog = install && 2447 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2448 # program-specific install script used by HP pwplus--don't use. 2449 : 2450 else 2451 rm -rf conftest.one conftest.two conftest.dir 2452 echo one > conftest.one 2453 echo two > conftest.two 2454 mkdir conftest.dir 2455 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2456 test -s conftest.one && test -s conftest.two && 2457 test -s conftest.dir/conftest.one && 2458 test -s conftest.dir/conftest.two 2459 then 2460 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2461 break 3 2462 fi 2463 fi 2464 fi 2465 done 2466 done 2467 ;; 2468esac 2469 2470 done 2471IFS=$as_save_IFS 2472 2473rm -rf conftest.one conftest.two conftest.dir 2474 2475fi 2476 if test "${ac_cv_path_install+set}" = set; then 2477 INSTALL=$ac_cv_path_install 2478 else 2479 # As a last resort, use the slow shell script. Don't cache a 2480 # value for INSTALL within a source directory, because that will 2481 # break other packages using the cache if that directory is 2482 # removed, or if the value is a relative name. 2483 INSTALL=$ac_install_sh 2484 fi 2485fi 2486{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2487$as_echo "$INSTALL" >&6; } 2488 2489# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2490# It thinks the first close brace ends the variable substitution. 2491test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2492 2493test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2494 2495test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2496 2497{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2498$as_echo_n "checking whether build environment is sane... " >&6; } 2499# Just in case 2500sleep 1 2501echo timestamp > conftest.file 2502# Reject unsafe characters in $srcdir or the absolute working directory 2503# name. Accept space and tab only in the latter. 2504am_lf=' 2505' 2506case `pwd` in 2507 *[\\\"\#\$\&\'\`$am_lf]*) 2508 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;; 2509esac 2510case $srcdir in 2511 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2512 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;; 2513esac 2514 2515# Do `set' in a subshell so we don't clobber the current shell's 2516# arguments. Must try -L first in case configure is actually a 2517# symlink; some systems play weird games with the mod time of symlinks 2518# (eg FreeBSD returns the mod time of the symlink's containing 2519# directory). 2520if ( 2521 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2522 if test "$*" = "X"; then 2523 # -L didn't work. 2524 set X `ls -t "$srcdir/configure" conftest.file` 2525 fi 2526 rm -f conftest.file 2527 if test "$*" != "X $srcdir/configure conftest.file" \ 2528 && test "$*" != "X conftest.file $srcdir/configure"; then 2529 2530 # If neither matched, then we have a broken ls. This can happen 2531 # if, for instance, CONFIG_SHELL is bash and it inherits a 2532 # broken ls alias from the environment. This has actually 2533 # happened. Such a system could not be considered "sane". 2534 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2535alias in your environment" "$LINENO" 5 2536 fi 2537 2538 test "$2" = conftest.file 2539 ) 2540then 2541 # Ok. 2542 : 2543else 2544 as_fn_error $? "newly created file is older than distributed files! 2545Check your system clock" "$LINENO" 5 2546fi 2547{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2548$as_echo "yes" >&6; } 2549test "$program_prefix" != NONE && 2550 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2551# Use a double $ so make ignores it. 2552test "$program_suffix" != NONE && 2553 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2554# Double any \ or $. 2555# By default was `s,x,x', remove it if useless. 2556ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2557program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2558 2559# expand $ac_aux_dir to an absolute path 2560am_aux_dir=`cd $ac_aux_dir && pwd` 2561 2562if test x"${MISSING+set}" != xset; then 2563 case $am_aux_dir in 2564 *\ * | *\ *) 2565 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2566 *) 2567 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2568 esac 2569fi 2570# Use eval to expand $SHELL 2571if eval "$MISSING --run true"; then 2572 am_missing_run="$MISSING --run " 2573else 2574 am_missing_run= 2575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2576$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2577fi 2578 2579if test x"${install_sh}" != xset; then 2580 case $am_aux_dir in 2581 *\ * | *\ *) 2582 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2583 *) 2584 install_sh="\${SHELL} $am_aux_dir/install-sh" 2585 esac 2586fi 2587 2588# Installed binaries are usually stripped using `strip' when the user 2589# run `make install-strip'. However `strip' might not be the right 2590# tool to use in cross-compilation environments, therefore Automake 2591# will honor the `STRIP' environment variable to overrule this program. 2592if test "$cross_compiling" != no; then 2593 if test -n "$ac_tool_prefix"; then 2594 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2595set dummy ${ac_tool_prefix}strip; ac_word=$2 2596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2597$as_echo_n "checking for $ac_word... " >&6; } 2598if test "${ac_cv_prog_STRIP+set}" = set; then : 2599 $as_echo_n "(cached) " >&6 2600else 2601 if test -n "$STRIP"; then 2602 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2603else 2604as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2605for as_dir in $PATH 2606do 2607 IFS=$as_save_IFS 2608 test -z "$as_dir" && as_dir=. 2609 for ac_exec_ext in '' $ac_executable_extensions; do 2610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2611 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2613 break 2 2614 fi 2615done 2616 done 2617IFS=$as_save_IFS 2618 2619fi 2620fi 2621STRIP=$ac_cv_prog_STRIP 2622if test -n "$STRIP"; then 2623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2624$as_echo "$STRIP" >&6; } 2625else 2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2627$as_echo "no" >&6; } 2628fi 2629 2630 2631fi 2632if test -z "$ac_cv_prog_STRIP"; then 2633 ac_ct_STRIP=$STRIP 2634 # Extract the first word of "strip", so it can be a program name with args. 2635set dummy strip; ac_word=$2 2636{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2637$as_echo_n "checking for $ac_word... " >&6; } 2638if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 2639 $as_echo_n "(cached) " >&6 2640else 2641 if test -n "$ac_ct_STRIP"; then 2642 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2643else 2644as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2645for as_dir in $PATH 2646do 2647 IFS=$as_save_IFS 2648 test -z "$as_dir" && as_dir=. 2649 for ac_exec_ext in '' $ac_executable_extensions; do 2650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2651 ac_cv_prog_ac_ct_STRIP="strip" 2652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2653 break 2 2654 fi 2655done 2656 done 2657IFS=$as_save_IFS 2658 2659fi 2660fi 2661ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2662if test -n "$ac_ct_STRIP"; then 2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2664$as_echo "$ac_ct_STRIP" >&6; } 2665else 2666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2667$as_echo "no" >&6; } 2668fi 2669 2670 if test "x$ac_ct_STRIP" = x; then 2671 STRIP=":" 2672 else 2673 case $cross_compiling:$ac_tool_warned in 2674yes:) 2675{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2676$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2677ac_tool_warned=yes ;; 2678esac 2679 STRIP=$ac_ct_STRIP 2680 fi 2681else 2682 STRIP="$ac_cv_prog_STRIP" 2683fi 2684 2685fi 2686INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2687 2688{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2689$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2690if test -z "$MKDIR_P"; then 2691 if test "${ac_cv_path_mkdir+set}" = set; then : 2692 $as_echo_n "(cached) " >&6 2693else 2694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2695for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2696do 2697 IFS=$as_save_IFS 2698 test -z "$as_dir" && as_dir=. 2699 for ac_prog in mkdir gmkdir; do 2700 for ac_exec_ext in '' $ac_executable_extensions; do 2701 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2702 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2703 'mkdir (GNU coreutils) '* | \ 2704 'mkdir (coreutils) '* | \ 2705 'mkdir (fileutils) '4.1*) 2706 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2707 break 3;; 2708 esac 2709 done 2710 done 2711 done 2712IFS=$as_save_IFS 2713 2714fi 2715 2716 test -d ./--version && rmdir ./--version 2717 if test "${ac_cv_path_mkdir+set}" = set; then 2718 MKDIR_P="$ac_cv_path_mkdir -p" 2719 else 2720 # As a last resort, use the slow shell script. Don't cache a 2721 # value for MKDIR_P within a source directory, because that will 2722 # break other packages using the cache if that directory is 2723 # removed, or if the value is a relative name. 2724 MKDIR_P="$ac_install_sh -d" 2725 fi 2726fi 2727{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2728$as_echo "$MKDIR_P" >&6; } 2729 2730mkdir_p="$MKDIR_P" 2731case $mkdir_p in 2732 [\\/$]* | ?:[\\/]*) ;; 2733 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2734esac 2735 2736for ac_prog in gawk mawk nawk awk 2737do 2738 # Extract the first word of "$ac_prog", so it can be a program name with args. 2739set dummy $ac_prog; ac_word=$2 2740{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2741$as_echo_n "checking for $ac_word... " >&6; } 2742if test "${ac_cv_prog_AWK+set}" = set; then : 2743 $as_echo_n "(cached) " >&6 2744else 2745 if test -n "$AWK"; then 2746 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2747else 2748as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2749for as_dir in $PATH 2750do 2751 IFS=$as_save_IFS 2752 test -z "$as_dir" && as_dir=. 2753 for ac_exec_ext in '' $ac_executable_extensions; do 2754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2755 ac_cv_prog_AWK="$ac_prog" 2756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2757 break 2 2758 fi 2759done 2760 done 2761IFS=$as_save_IFS 2762 2763fi 2764fi 2765AWK=$ac_cv_prog_AWK 2766if test -n "$AWK"; then 2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2768$as_echo "$AWK" >&6; } 2769else 2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2771$as_echo "no" >&6; } 2772fi 2773 2774 2775 test -n "$AWK" && break 2776done 2777 2778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2779$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2780set x ${MAKE-make} 2781ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2782if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 2783 $as_echo_n "(cached) " >&6 2784else 2785 cat >conftest.make <<\_ACEOF 2786SHELL = /bin/sh 2787all: 2788 @echo '@@@%%%=$(MAKE)=@@@%%%' 2789_ACEOF 2790# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2791case `${MAKE-make} -f conftest.make 2>/dev/null` in 2792 *@@@%%%=?*=@@@%%%*) 2793 eval ac_cv_prog_make_${ac_make}_set=yes;; 2794 *) 2795 eval ac_cv_prog_make_${ac_make}_set=no;; 2796esac 2797rm -f conftest.make 2798fi 2799if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2801$as_echo "yes" >&6; } 2802 SET_MAKE= 2803else 2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2805$as_echo "no" >&6; } 2806 SET_MAKE="MAKE=${MAKE-make}" 2807fi 2808 2809rm -rf .tst 2>/dev/null 2810mkdir .tst 2>/dev/null 2811if test -d .tst; then 2812 am__leading_dot=. 2813else 2814 am__leading_dot=_ 2815fi 2816rmdir .tst 2>/dev/null 2817 2818if test "`cd $srcdir && pwd`" != "`pwd`"; then 2819 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2820 # is not polluted with repeated "-I." 2821 am__isrc=' -I$(srcdir)' 2822 # test to see if srcdir already configured 2823 if test -f $srcdir/config.status; then 2824 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2825 fi 2826fi 2827 2828# test whether we have cygpath 2829if test -z "$CYGPATH_W"; then 2830 if (cygpath --version) >/dev/null 2>/dev/null; then 2831 CYGPATH_W='cygpath -w' 2832 else 2833 CYGPATH_W=echo 2834 fi 2835fi 2836 2837 2838# Define the identity of the package. 2839 PACKAGE='gmpc-albumview' 2840 VERSION='11.8.16' 2841 2842 2843cat >>confdefs.h <<_ACEOF 2844#define PACKAGE "$PACKAGE" 2845_ACEOF 2846 2847 2848cat >>confdefs.h <<_ACEOF 2849#define VERSION "$VERSION" 2850_ACEOF 2851 2852# Some tools Automake needs. 2853 2854ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2855 2856 2857AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2858 2859 2860AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2861 2862 2863AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2864 2865 2866MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2867 2868# We need awk for the "check" target. The system "awk" is bad on 2869# some platforms. 2870# Always define AMTAR for backward compatibility. 2871 2872AMTAR=${AMTAR-"${am_missing_run}tar"} 2873 2874am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2875 2876 2877 2878 2879 2880 2881 2882$as_echo "#define PLUGIN_MAJOR_VERSION 11" >>confdefs.h 2883 2884 2885$as_echo "#define PLUGIN_MINOR_VERSION 8" >>confdefs.h 2886 2887 2888$as_echo "#define PLUGIN_MICRO_VERSION 16" >>confdefs.h 2889 2890 2891# i18n support 2892#intltool, libtool. Check for CC compiler 2893 2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 2895$as_echo_n "checking whether NLS is requested... " >&6; } 2896 # Check whether --enable-nls was given. 2897if test "${enable_nls+set}" = set; then : 2898 enableval=$enable_nls; USE_NLS=$enableval 2899else 2900 USE_NLS=yes 2901fi 2902 2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 2904$as_echo "$USE_NLS" >&6; } 2905 2906 2907DEPDIR="${am__leading_dot}deps" 2908 2909ac_config_commands="$ac_config_commands depfiles" 2910 2911 2912am_make=${MAKE-make} 2913cat > confinc << 'END' 2914am__doit: 2915 @echo this is the am__doit target 2916.PHONY: am__doit 2917END 2918# If we don't find an include directive, just comment out the code. 2919{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 2920$as_echo_n "checking for style of include used by $am_make... " >&6; } 2921am__include="#" 2922am__quote= 2923_am_result=none 2924# First try GNU make style include. 2925echo "include confinc" > confmf 2926# Ignore all kinds of additional output from `make'. 2927case `$am_make -s -f confmf 2> /dev/null` in #( 2928*the\ am__doit\ target*) 2929 am__include=include 2930 am__quote= 2931 _am_result=GNU 2932 ;; 2933esac 2934# Now try BSD make style include. 2935if test "$am__include" = "#"; then 2936 echo '.include "confinc"' > confmf 2937 case `$am_make -s -f confmf 2> /dev/null` in #( 2938 *the\ am__doit\ target*) 2939 am__include=.include 2940 am__quote="\"" 2941 _am_result=BSD 2942 ;; 2943 esac 2944fi 2945 2946 2947{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 2948$as_echo "$_am_result" >&6; } 2949rm -f confinc confmf 2950 2951# Check whether --enable-dependency-tracking was given. 2952if test "${enable_dependency_tracking+set}" = set; then : 2953 enableval=$enable_dependency_tracking; 2954fi 2955 2956if test "x$enable_dependency_tracking" != xno; then 2957 am_depcomp="$ac_aux_dir/depcomp" 2958 AMDEPBACKSLASH='\' 2959fi 2960 if test "x$enable_dependency_tracking" != xno; then 2961 AMDEP_TRUE= 2962 AMDEP_FALSE='#' 2963else 2964 AMDEP_TRUE='#' 2965 AMDEP_FALSE= 2966fi 2967 2968 2969ac_ext=c 2970ac_cpp='$CPP $CPPFLAGS' 2971ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2972ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2973ac_compiler_gnu=$ac_cv_c_compiler_gnu 2974if test -n "$ac_tool_prefix"; then 2975 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2976set dummy ${ac_tool_prefix}gcc; ac_word=$2 2977{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2978$as_echo_n "checking for $ac_word... " >&6; } 2979if test "${ac_cv_prog_CC+set}" = set; then : 2980 $as_echo_n "(cached) " >&6 2981else 2982 if test -n "$CC"; then 2983 ac_cv_prog_CC="$CC" # Let the user override the test. 2984else 2985as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2986for as_dir in $PATH 2987do 2988 IFS=$as_save_IFS 2989 test -z "$as_dir" && as_dir=. 2990 for ac_exec_ext in '' $ac_executable_extensions; do 2991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2992 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2994 break 2 2995 fi 2996done 2997 done 2998IFS=$as_save_IFS 2999 3000fi 3001fi 3002CC=$ac_cv_prog_CC 3003if test -n "$CC"; then 3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3005$as_echo "$CC" >&6; } 3006else 3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3008$as_echo "no" >&6; } 3009fi 3010 3011 3012fi 3013if test -z "$ac_cv_prog_CC"; then 3014 ac_ct_CC=$CC 3015 # Extract the first word of "gcc", so it can be a program name with args. 3016set dummy gcc; ac_word=$2 3017{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3018$as_echo_n "checking for $ac_word... " >&6; } 3019if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3020 $as_echo_n "(cached) " >&6 3021else 3022 if test -n "$ac_ct_CC"; then 3023 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3024else 3025as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3026for as_dir in $PATH 3027do 3028 IFS=$as_save_IFS 3029 test -z "$as_dir" && as_dir=. 3030 for ac_exec_ext in '' $ac_executable_extensions; do 3031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3032 ac_cv_prog_ac_ct_CC="gcc" 3033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3034 break 2 3035 fi 3036done 3037 done 3038IFS=$as_save_IFS 3039 3040fi 3041fi 3042ac_ct_CC=$ac_cv_prog_ac_ct_CC 3043if test -n "$ac_ct_CC"; then 3044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3045$as_echo "$ac_ct_CC" >&6; } 3046else 3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3048$as_echo "no" >&6; } 3049fi 3050 3051 if test "x$ac_ct_CC" = x; then 3052 CC="" 3053 else 3054 case $cross_compiling:$ac_tool_warned in 3055yes:) 3056{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3057$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3058ac_tool_warned=yes ;; 3059esac 3060 CC=$ac_ct_CC 3061 fi 3062else 3063 CC="$ac_cv_prog_CC" 3064fi 3065 3066if test -z "$CC"; then 3067 if test -n "$ac_tool_prefix"; then 3068 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3069set dummy ${ac_tool_prefix}cc; ac_word=$2 3070{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3071$as_echo_n "checking for $ac_word... " >&6; } 3072if test "${ac_cv_prog_CC+set}" = set; then : 3073 $as_echo_n "(cached) " >&6 3074else 3075 if test -n "$CC"; then 3076 ac_cv_prog_CC="$CC" # Let the user override the test. 3077else 3078as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3079for as_dir in $PATH 3080do 3081 IFS=$as_save_IFS 3082 test -z "$as_dir" && as_dir=. 3083 for ac_exec_ext in '' $ac_executable_extensions; do 3084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3085 ac_cv_prog_CC="${ac_tool_prefix}cc" 3086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3087 break 2 3088 fi 3089done 3090 done 3091IFS=$as_save_IFS 3092 3093fi 3094fi 3095CC=$ac_cv_prog_CC 3096if test -n "$CC"; then 3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3098$as_echo "$CC" >&6; } 3099else 3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3101$as_echo "no" >&6; } 3102fi 3103 3104 3105 fi 3106fi 3107if test -z "$CC"; then 3108 # Extract the first word of "cc", so it can be a program name with args. 3109set dummy cc; ac_word=$2 3110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3111$as_echo_n "checking for $ac_word... " >&6; } 3112if test "${ac_cv_prog_CC+set}" = set; then : 3113 $as_echo_n "(cached) " >&6 3114else 3115 if test -n "$CC"; then 3116 ac_cv_prog_CC="$CC" # Let the user override the test. 3117else 3118 ac_prog_rejected=no 3119as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3120for as_dir in $PATH 3121do 3122 IFS=$as_save_IFS 3123 test -z "$as_dir" && as_dir=. 3124 for ac_exec_ext in '' $ac_executable_extensions; do 3125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3126 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3127 ac_prog_rejected=yes 3128 continue 3129 fi 3130 ac_cv_prog_CC="cc" 3131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3132 break 2 3133 fi 3134done 3135 done 3136IFS=$as_save_IFS 3137 3138if test $ac_prog_rejected = yes; then 3139 # We found a bogon in the path, so make sure we never use it. 3140 set dummy $ac_cv_prog_CC 3141 shift 3142 if test $# != 0; then 3143 # We chose a different compiler from the bogus one. 3144 # However, it has the same basename, so the bogon will be chosen 3145 # first if we set CC to just the basename; use the full file name. 3146 shift 3147 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3148 fi 3149fi 3150fi 3151fi 3152CC=$ac_cv_prog_CC 3153if test -n "$CC"; then 3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3155$as_echo "$CC" >&6; } 3156else 3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3158$as_echo "no" >&6; } 3159fi 3160 3161 3162fi 3163if test -z "$CC"; then 3164 if test -n "$ac_tool_prefix"; then 3165 for ac_prog in cl.exe 3166 do 3167 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3168set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3170$as_echo_n "checking for $ac_word... " >&6; } 3171if test "${ac_cv_prog_CC+set}" = set; then : 3172 $as_echo_n "(cached) " >&6 3173else 3174 if test -n "$CC"; then 3175 ac_cv_prog_CC="$CC" # Let the user override the test. 3176else 3177as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3178for as_dir in $PATH 3179do 3180 IFS=$as_save_IFS 3181 test -z "$as_dir" && as_dir=. 3182 for ac_exec_ext in '' $ac_executable_extensions; do 3183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3184 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3186 break 2 3187 fi 3188done 3189 done 3190IFS=$as_save_IFS 3191 3192fi 3193fi 3194CC=$ac_cv_prog_CC 3195if test -n "$CC"; then 3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3197$as_echo "$CC" >&6; } 3198else 3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3200$as_echo "no" >&6; } 3201fi 3202 3203 3204 test -n "$CC" && break 3205 done 3206fi 3207if test -z "$CC"; then 3208 ac_ct_CC=$CC 3209 for ac_prog in cl.exe 3210do 3211 # Extract the first word of "$ac_prog", so it can be a program name with args. 3212set dummy $ac_prog; ac_word=$2 3213{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3214$as_echo_n "checking for $ac_word... " >&6; } 3215if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3216 $as_echo_n "(cached) " >&6 3217else 3218 if test -n "$ac_ct_CC"; then 3219 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3220else 3221as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3222for as_dir in $PATH 3223do 3224 IFS=$as_save_IFS 3225 test -z "$as_dir" && as_dir=. 3226 for ac_exec_ext in '' $ac_executable_extensions; do 3227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3228 ac_cv_prog_ac_ct_CC="$ac_prog" 3229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3230 break 2 3231 fi 3232done 3233 done 3234IFS=$as_save_IFS 3235 3236fi 3237fi 3238ac_ct_CC=$ac_cv_prog_ac_ct_CC 3239if test -n "$ac_ct_CC"; then 3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3241$as_echo "$ac_ct_CC" >&6; } 3242else 3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3244$as_echo "no" >&6; } 3245fi 3246 3247 3248 test -n "$ac_ct_CC" && break 3249done 3250 3251 if test "x$ac_ct_CC" = x; then 3252 CC="" 3253 else 3254 case $cross_compiling:$ac_tool_warned in 3255yes:) 3256{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3257$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3258ac_tool_warned=yes ;; 3259esac 3260 CC=$ac_ct_CC 3261 fi 3262fi 3263 3264fi 3265 3266 3267test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3268$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3269as_fn_error $? "no acceptable C compiler found in \$PATH 3270See \`config.log' for more details" "$LINENO" 5 ; } 3271 3272# Provide some information about the compiler. 3273$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3274set X $ac_compile 3275ac_compiler=$2 3276for ac_option in --version -v -V -qversion; do 3277 { { ac_try="$ac_compiler $ac_option >&5" 3278case "(($ac_try" in 3279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3280 *) ac_try_echo=$ac_try;; 3281esac 3282eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3283$as_echo "$ac_try_echo"; } >&5 3284 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3285 ac_status=$? 3286 if test -s conftest.err; then 3287 sed '10a\ 3288... rest of stderr output deleted ... 3289 10q' conftest.err >conftest.er1 3290 cat conftest.er1 >&5 3291 fi 3292 rm -f conftest.er1 conftest.err 3293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3294 test $ac_status = 0; } 3295done 3296 3297cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3298/* end confdefs.h. */ 3299 3300int 3301main () 3302{ 3303 3304 ; 3305 return 0; 3306} 3307_ACEOF 3308ac_clean_files_save=$ac_clean_files 3309ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3310# Try to create an executable without -o first, disregard a.out. 3311# It will help us diagnose broken compilers, and finding out an intuition 3312# of exeext. 3313{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3314$as_echo_n "checking whether the C compiler works... " >&6; } 3315ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3316 3317# The possible output files: 3318ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3319 3320ac_rmfiles= 3321for ac_file in $ac_files 3322do 3323 case $ac_file in 3324 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3325 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3326 esac 3327done 3328rm -f $ac_rmfiles 3329 3330if { { ac_try="$ac_link_default" 3331case "(($ac_try" in 3332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3333 *) ac_try_echo=$ac_try;; 3334esac 3335eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3336$as_echo "$ac_try_echo"; } >&5 3337 (eval "$ac_link_default") 2>&5 3338 ac_status=$? 3339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3340 test $ac_status = 0; }; then : 3341 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3342# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3343# in a Makefile. We should not override ac_cv_exeext if it was cached, 3344# so that the user can short-circuit this test for compilers unknown to 3345# Autoconf. 3346for ac_file in $ac_files '' 3347do 3348 test -f "$ac_file" || continue 3349 case $ac_file in 3350 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3351 ;; 3352 [ab].out ) 3353 # We found the default executable, but exeext='' is most 3354 # certainly right. 3355 break;; 3356 *.* ) 3357 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3358 then :; else 3359 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3360 fi 3361 # We set ac_cv_exeext here because the later test for it is not 3362 # safe: cross compilers may not add the suffix if given an `-o' 3363 # argument, so we may need to know it at that point already. 3364 # Even if this section looks crufty: it has the advantage of 3365 # actually working. 3366 break;; 3367 * ) 3368 break;; 3369 esac 3370done 3371test "$ac_cv_exeext" = no && ac_cv_exeext= 3372 3373else 3374 ac_file='' 3375fi 3376if test -z "$ac_file"; then : 3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3378$as_echo "no" >&6; } 3379$as_echo "$as_me: failed program was:" >&5 3380sed 's/^/| /' conftest.$ac_ext >&5 3381 3382{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3383$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3384as_fn_error 77 "C compiler cannot create executables 3385See \`config.log' for more details" "$LINENO" 5 ; } 3386else 3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3388$as_echo "yes" >&6; } 3389fi 3390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3391$as_echo_n "checking for C compiler default output file name... " >&6; } 3392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3393$as_echo "$ac_file" >&6; } 3394ac_exeext=$ac_cv_exeext 3395 3396rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3397ac_clean_files=$ac_clean_files_save 3398{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3399$as_echo_n "checking for suffix of executables... " >&6; } 3400if { { ac_try="$ac_link" 3401case "(($ac_try" in 3402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3403 *) ac_try_echo=$ac_try;; 3404esac 3405eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3406$as_echo "$ac_try_echo"; } >&5 3407 (eval "$ac_link") 2>&5 3408 ac_status=$? 3409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3410 test $ac_status = 0; }; then : 3411 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3412# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3413# work properly (i.e., refer to `conftest.exe'), while it won't with 3414# `rm'. 3415for ac_file in conftest.exe conftest conftest.*; do 3416 test -f "$ac_file" || continue 3417 case $ac_file in 3418 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3419 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3420 break;; 3421 * ) break;; 3422 esac 3423done 3424else 3425 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3426$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3427as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3428See \`config.log' for more details" "$LINENO" 5 ; } 3429fi 3430rm -f conftest conftest$ac_cv_exeext 3431{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3432$as_echo "$ac_cv_exeext" >&6; } 3433 3434rm -f conftest.$ac_ext 3435EXEEXT=$ac_cv_exeext 3436ac_exeext=$EXEEXT 3437cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3438/* end confdefs.h. */ 3439#include <stdio.h> 3440int 3441main () 3442{ 3443FILE *f = fopen ("conftest.out", "w"); 3444 return ferror (f) || fclose (f) != 0; 3445 3446 ; 3447 return 0; 3448} 3449_ACEOF 3450ac_clean_files="$ac_clean_files conftest.out" 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:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3454$as_echo_n "checking whether we are cross compiling... " >&6; } 3455if test "$cross_compiling" != yes; then 3456 { { ac_try="$ac_link" 3457case "(($ac_try" in 3458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3459 *) ac_try_echo=$ac_try;; 3460esac 3461eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3462$as_echo "$ac_try_echo"; } >&5 3463 (eval "$ac_link") 2>&5 3464 ac_status=$? 3465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3466 test $ac_status = 0; } 3467 if { ac_try='./conftest$ac_cv_exeext' 3468 { { case "(($ac_try" in 3469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3470 *) ac_try_echo=$ac_try;; 3471esac 3472eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3473$as_echo "$ac_try_echo"; } >&5 3474 (eval "$ac_try") 2>&5 3475 ac_status=$? 3476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3477 test $ac_status = 0; }; }; then 3478 cross_compiling=no 3479 else 3480 if test "$cross_compiling" = maybe; then 3481 cross_compiling=yes 3482 else 3483 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3484$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3485as_fn_error $? "cannot run C compiled programs. 3486If you meant to cross compile, use \`--host'. 3487See \`config.log' for more details" "$LINENO" 5 ; } 3488 fi 3489 fi 3490fi 3491{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3492$as_echo "$cross_compiling" >&6; } 3493 3494rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3495ac_clean_files=$ac_clean_files_save 3496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3497$as_echo_n "checking for suffix of object files... " >&6; } 3498if test "${ac_cv_objext+set}" = set; then : 3499 $as_echo_n "(cached) " >&6 3500else 3501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3502/* end confdefs.h. */ 3503 3504int 3505main () 3506{ 3507 3508 ; 3509 return 0; 3510} 3511_ACEOF 3512rm -f conftest.o conftest.obj 3513if { { ac_try="$ac_compile" 3514case "(($ac_try" in 3515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3516 *) ac_try_echo=$ac_try;; 3517esac 3518eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3519$as_echo "$ac_try_echo"; } >&5 3520 (eval "$ac_compile") 2>&5 3521 ac_status=$? 3522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3523 test $ac_status = 0; }; then : 3524 for ac_file in conftest.o conftest.obj conftest.*; do 3525 test -f "$ac_file" || continue; 3526 case $ac_file in 3527 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3528 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3529 break;; 3530 esac 3531done 3532else 3533 $as_echo "$as_me: failed program was:" >&5 3534sed 's/^/| /' conftest.$ac_ext >&5 3535 3536{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3537$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3538as_fn_error $? "cannot compute suffix of object files: cannot compile 3539See \`config.log' for more details" "$LINENO" 5 ; } 3540fi 3541rm -f conftest.$ac_cv_objext conftest.$ac_ext 3542fi 3543{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3544$as_echo "$ac_cv_objext" >&6; } 3545OBJEXT=$ac_cv_objext 3546ac_objext=$OBJEXT 3547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3548$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3549if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3550 $as_echo_n "(cached) " >&6 3551else 3552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3553/* end confdefs.h. */ 3554 3555int 3556main () 3557{ 3558#ifndef __GNUC__ 3559 choke me 3560#endif 3561 3562 ; 3563 return 0; 3564} 3565_ACEOF 3566if ac_fn_c_try_compile "$LINENO"; then : 3567 ac_compiler_gnu=yes 3568else 3569 ac_compiler_gnu=no 3570fi 3571rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3572ac_cv_c_compiler_gnu=$ac_compiler_gnu 3573 3574fi 3575{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3576$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3577if test $ac_compiler_gnu = yes; then 3578 GCC=yes 3579else 3580 GCC= 3581fi 3582ac_test_CFLAGS=${CFLAGS+set} 3583ac_save_CFLAGS=$CFLAGS 3584{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3585$as_echo_n "checking whether $CC accepts -g... " >&6; } 3586if test "${ac_cv_prog_cc_g+set}" = set; then : 3587 $as_echo_n "(cached) " >&6 3588else 3589 ac_save_c_werror_flag=$ac_c_werror_flag 3590 ac_c_werror_flag=yes 3591 ac_cv_prog_cc_g=no 3592 CFLAGS="-g" 3593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3594/* end confdefs.h. */ 3595 3596int 3597main () 3598{ 3599 3600 ; 3601 return 0; 3602} 3603_ACEOF 3604if ac_fn_c_try_compile "$LINENO"; then : 3605 ac_cv_prog_cc_g=yes 3606else 3607 CFLAGS="" 3608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3609/* end confdefs.h. */ 3610 3611int 3612main () 3613{ 3614 3615 ; 3616 return 0; 3617} 3618_ACEOF 3619if ac_fn_c_try_compile "$LINENO"; then : 3620 3621else 3622 ac_c_werror_flag=$ac_save_c_werror_flag 3623 CFLAGS="-g" 3624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3625/* end confdefs.h. */ 3626 3627int 3628main () 3629{ 3630 3631 ; 3632 return 0; 3633} 3634_ACEOF 3635if ac_fn_c_try_compile "$LINENO"; then : 3636 ac_cv_prog_cc_g=yes 3637fi 3638rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3639fi 3640rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3641fi 3642rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3643 ac_c_werror_flag=$ac_save_c_werror_flag 3644fi 3645{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3646$as_echo "$ac_cv_prog_cc_g" >&6; } 3647if test "$ac_test_CFLAGS" = set; then 3648 CFLAGS=$ac_save_CFLAGS 3649elif test $ac_cv_prog_cc_g = yes; then 3650 if test "$GCC" = yes; then 3651 CFLAGS="-g -O2" 3652 else 3653 CFLAGS="-g" 3654 fi 3655else 3656 if test "$GCC" = yes; then 3657 CFLAGS="-O2" 3658 else 3659 CFLAGS= 3660 fi 3661fi 3662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3663$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3664if test "${ac_cv_prog_cc_c89+set}" = set; then : 3665 $as_echo_n "(cached) " >&6 3666else 3667 ac_cv_prog_cc_c89=no 3668ac_save_CC=$CC 3669cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3670/* end confdefs.h. */ 3671#include <stdarg.h> 3672#include <stdio.h> 3673#include <sys/types.h> 3674#include <sys/stat.h> 3675/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3676struct buf { int x; }; 3677FILE * (*rcsopen) (struct buf *, struct stat *, int); 3678static char *e (p, i) 3679 char **p; 3680 int i; 3681{ 3682 return p[i]; 3683} 3684static char *f (char * (*g) (char **, int), char **p, ...) 3685{ 3686 char *s; 3687 va_list v; 3688 va_start (v,p); 3689 s = g (p, va_arg (v,int)); 3690 va_end (v); 3691 return s; 3692} 3693 3694/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3695 function prototypes and stuff, but not '\xHH' hex character constants. 3696 These don't provoke an error unfortunately, instead are silently treated 3697 as 'x'. The following induces an error, until -std is added to get 3698 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3699 array size at least. It's necessary to write '\x00'==0 to get something 3700 that's true only with -std. */ 3701int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3702 3703/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3704 inside strings and character constants. */ 3705#define FOO(x) 'x' 3706int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3707 3708int test (int i, double x); 3709struct s1 {int (*f) (int a);}; 3710struct s2 {int (*f) (double a);}; 3711int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3712int argc; 3713char **argv; 3714int 3715main () 3716{ 3717return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3718 ; 3719 return 0; 3720} 3721_ACEOF 3722for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3723 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3724do 3725 CC="$ac_save_CC $ac_arg" 3726 if ac_fn_c_try_compile "$LINENO"; then : 3727 ac_cv_prog_cc_c89=$ac_arg 3728fi 3729rm -f core conftest.err conftest.$ac_objext 3730 test "x$ac_cv_prog_cc_c89" != "xno" && break 3731done 3732rm -f conftest.$ac_ext 3733CC=$ac_save_CC 3734 3735fi 3736# AC_CACHE_VAL 3737case "x$ac_cv_prog_cc_c89" in 3738 x) 3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3740$as_echo "none needed" >&6; } ;; 3741 xno) 3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3743$as_echo "unsupported" >&6; } ;; 3744 *) 3745 CC="$CC $ac_cv_prog_cc_c89" 3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3747$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3748esac 3749if test "x$ac_cv_prog_cc_c89" != xno; then : 3750 3751fi 3752 3753ac_ext=c 3754ac_cpp='$CPP $CPPFLAGS' 3755ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3756ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3757ac_compiler_gnu=$ac_cv_c_compiler_gnu 3758 3759depcc="$CC" am_compiler_list= 3760 3761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3762$as_echo_n "checking dependency style of $depcc... " >&6; } 3763if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 3764 $as_echo_n "(cached) " >&6 3765else 3766 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3767 # We make a subdir and do the tests there. Otherwise we can end up 3768 # making bogus files that we don't know about and never remove. For 3769 # instance it was reported that on HP-UX the gcc test will end up 3770 # making a dummy file named `D' -- because `-MD' means `put the output 3771 # in D'. 3772 mkdir conftest.dir 3773 # Copy depcomp to subdir because otherwise we won't find it if we're 3774 # using a relative directory. 3775 cp "$am_depcomp" conftest.dir 3776 cd conftest.dir 3777 # We will build objects and dependencies in a subdirectory because 3778 # it helps to detect inapplicable dependency modes. For instance 3779 # both Tru64's cc and ICC support -MD to output dependencies as a 3780 # side effect of compilation, but ICC will put the dependencies in 3781 # the current directory while Tru64 will put them in the object 3782 # directory. 3783 mkdir sub 3784 3785 am_cv_CC_dependencies_compiler_type=none 3786 if test "$am_compiler_list" = ""; then 3787 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3788 fi 3789 am__universal=false 3790 case " $depcc " in #( 3791 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3792 esac 3793 3794 for depmode in $am_compiler_list; do 3795 # Setup a source with many dependencies, because some compilers 3796 # like to wrap large dependency lists on column 80 (with \), and 3797 # we should not choose a depcomp mode which is confused by this. 3798 # 3799 # We need to recreate these files for each test, as the compiler may 3800 # overwrite some of them when testing with obscure command lines. 3801 # This happens at least with the AIX C compiler. 3802 : > sub/conftest.c 3803 for i in 1 2 3 4 5 6; do 3804 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3805 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3806 # Solaris 8's {/usr,}/bin/sh. 3807 touch sub/conftst$i.h 3808 done 3809 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3810 3811 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3812 # mode. It turns out that the SunPro C++ compiler does not properly 3813 # handle `-M -o', and we need to detect this. Also, some Intel 3814 # versions had trouble with output in subdirs 3815 am__obj=sub/conftest.${OBJEXT-o} 3816 am__minus_obj="-o $am__obj" 3817 case $depmode in 3818 gcc) 3819 # This depmode causes a compiler race in universal mode. 3820 test "$am__universal" = false || continue 3821 ;; 3822 nosideeffect) 3823 # after this tag, mechanisms are not by side-effect, so they'll 3824 # only be used when explicitly requested 3825 if test "x$enable_dependency_tracking" = xyes; then 3826 continue 3827 else 3828 break 3829 fi 3830 ;; 3831 msvisualcpp | msvcmsys) 3832 # This compiler won't grok `-c -o', but also, the minuso test has 3833 # not run yet. These depmodes are late enough in the game, and 3834 # so weak that their functioning should not be impacted. 3835 am__obj=conftest.${OBJEXT-o} 3836 am__minus_obj= 3837 ;; 3838 none) break ;; 3839 esac 3840 if depmode=$depmode \ 3841 source=sub/conftest.c object=$am__obj \ 3842 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3843 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3844 >/dev/null 2>conftest.err && 3845 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3846 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3847 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3848 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3849 # icc doesn't choke on unknown options, it will just issue warnings 3850 # or remarks (even with -Werror). So we grep stderr for any message 3851 # that says an option was ignored or not supported. 3852 # When given -MP, icc 7.0 and 7.1 complain thusly: 3853 # icc: Command line warning: ignoring option '-M'; no argument required 3854 # The diagnosis changed in icc 8.0: 3855 # icc: Command line remark: option '-MP' not supported 3856 if (grep 'ignoring option' conftest.err || 3857 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3858 am_cv_CC_dependencies_compiler_type=$depmode 3859 break 3860 fi 3861 fi 3862 done 3863 3864 cd .. 3865 rm -rf conftest.dir 3866else 3867 am_cv_CC_dependencies_compiler_type=none 3868fi 3869 3870fi 3871{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3872$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3873CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3874 3875 if 3876 test "x$enable_dependency_tracking" != xno \ 3877 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3878 am__fastdepCC_TRUE= 3879 am__fastdepCC_FALSE='#' 3880else 3881 am__fastdepCC_TRUE='#' 3882 am__fastdepCC_FALSE= 3883fi 3884 3885 3886 3887 3888 3889case "$am__api_version" in 3890 1.01234) 3891 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 3892 ;; 3893 *) 3894 ;; 3895esac 3896 3897if test -n "0.21"; then 3898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.21" >&5 3899$as_echo_n "checking for intltool >= 0.21... " >&6; } 3900 3901 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.21 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 3902 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` 3903 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 3904 3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 3906$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } 3907 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || 3908 as_fn_error $? "Your intltool is too old. You need intltool 0.21 or later." "$LINENO" 5 3909fi 3910 3911# Extract the first word of "intltool-update", so it can be a program name with args. 3912set dummy intltool-update; ac_word=$2 3913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3914$as_echo_n "checking for $ac_word... " >&6; } 3915if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then : 3916 $as_echo_n "(cached) " >&6 3917else 3918 case $INTLTOOL_UPDATE in 3919 [\\/]* | ?:[\\/]*) 3920 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. 3921 ;; 3922 *) 3923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3924for as_dir in $PATH 3925do 3926 IFS=$as_save_IFS 3927 test -z "$as_dir" && as_dir=. 3928 for ac_exec_ext in '' $ac_executable_extensions; do 3929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3930 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" 3931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3932 break 2 3933 fi 3934done 3935 done 3936IFS=$as_save_IFS 3937 3938 ;; 3939esac 3940fi 3941INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE 3942if test -n "$INTLTOOL_UPDATE"; then 3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 3944$as_echo "$INTLTOOL_UPDATE" >&6; } 3945else 3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3947$as_echo "no" >&6; } 3948fi 3949 3950 3951# Extract the first word of "intltool-merge", so it can be a program name with args. 3952set dummy intltool-merge; ac_word=$2 3953{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3954$as_echo_n "checking for $ac_word... " >&6; } 3955if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then : 3956 $as_echo_n "(cached) " >&6 3957else 3958 case $INTLTOOL_MERGE in 3959 [\\/]* | ?:[\\/]*) 3960 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. 3961 ;; 3962 *) 3963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3964for as_dir in $PATH 3965do 3966 IFS=$as_save_IFS 3967 test -z "$as_dir" && as_dir=. 3968 for ac_exec_ext in '' $ac_executable_extensions; do 3969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3970 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" 3971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3972 break 2 3973 fi 3974done 3975 done 3976IFS=$as_save_IFS 3977 3978 ;; 3979esac 3980fi 3981INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE 3982if test -n "$INTLTOOL_MERGE"; then 3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 3984$as_echo "$INTLTOOL_MERGE" >&6; } 3985else 3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3987$as_echo "no" >&6; } 3988fi 3989 3990 3991# Extract the first word of "intltool-extract", so it can be a program name with args. 3992set dummy intltool-extract; ac_word=$2 3993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3994$as_echo_n "checking for $ac_word... " >&6; } 3995if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then : 3996 $as_echo_n "(cached) " >&6 3997else 3998 case $INTLTOOL_EXTRACT in 3999 [\\/]* | ?:[\\/]*) 4000 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. 4001 ;; 4002 *) 4003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4004for as_dir in $PATH 4005do 4006 IFS=$as_save_IFS 4007 test -z "$as_dir" && as_dir=. 4008 for ac_exec_ext in '' $ac_executable_extensions; do 4009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4010 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" 4011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4012 break 2 4013 fi 4014done 4015 done 4016IFS=$as_save_IFS 4017 4018 ;; 4019esac 4020fi 4021INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT 4022if test -n "$INTLTOOL_EXTRACT"; then 4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 4024$as_echo "$INTLTOOL_EXTRACT" >&6; } 4025else 4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4027$as_echo "no" >&6; } 4028fi 4029 4030 4031if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then 4032 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 4033fi 4034 4035 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 $< $@' 4036INTLTOOL_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 $< $@' 4037 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 $< $@' 4038 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 $< $@' 4039 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@' 4040 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 $< $@' 4041 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 $< $@' 4042 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 $< $@' 4043INTLTOOL_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 $< $@' 4044 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 $< $@' 4045 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 $< $@' 4046 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@' 4047 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 $< $@' 4048 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 $< $@' 4049 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 $< $@' 4050 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 $< $@' 4051 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 $< $@' 4052 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 $< $@' 4053 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 $< $@' 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151# Check the gettext tools to make sure they are GNU 4152# Extract the first word of "xgettext", so it can be a program name with args. 4153set dummy xgettext; ac_word=$2 4154{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4155$as_echo_n "checking for $ac_word... " >&6; } 4156if test "${ac_cv_path_XGETTEXT+set}" = set; then : 4157 $as_echo_n "(cached) " >&6 4158else 4159 case $XGETTEXT in 4160 [\\/]* | ?:[\\/]*) 4161 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 4162 ;; 4163 *) 4164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4165for as_dir in $PATH 4166do 4167 IFS=$as_save_IFS 4168 test -z "$as_dir" && as_dir=. 4169 for ac_exec_ext in '' $ac_executable_extensions; do 4170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4171 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" 4172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4173 break 2 4174 fi 4175done 4176 done 4177IFS=$as_save_IFS 4178 4179 ;; 4180esac 4181fi 4182XGETTEXT=$ac_cv_path_XGETTEXT 4183if test -n "$XGETTEXT"; then 4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 4185$as_echo "$XGETTEXT" >&6; } 4186else 4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4188$as_echo "no" >&6; } 4189fi 4190 4191 4192# Extract the first word of "msgmerge", so it can be a program name with args. 4193set dummy msgmerge; ac_word=$2 4194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4195$as_echo_n "checking for $ac_word... " >&6; } 4196if test "${ac_cv_path_MSGMERGE+set}" = set; then : 4197 $as_echo_n "(cached) " >&6 4198else 4199 case $MSGMERGE in 4200 [\\/]* | ?:[\\/]*) 4201 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 4202 ;; 4203 *) 4204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4205for as_dir in $PATH 4206do 4207 IFS=$as_save_IFS 4208 test -z "$as_dir" && as_dir=. 4209 for ac_exec_ext in '' $ac_executable_extensions; do 4210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4211 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" 4212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4213 break 2 4214 fi 4215done 4216 done 4217IFS=$as_save_IFS 4218 4219 ;; 4220esac 4221fi 4222MSGMERGE=$ac_cv_path_MSGMERGE 4223if test -n "$MSGMERGE"; then 4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 4225$as_echo "$MSGMERGE" >&6; } 4226else 4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4228$as_echo "no" >&6; } 4229fi 4230 4231 4232# Extract the first word of "msgfmt", so it can be a program name with args. 4233set dummy msgfmt; ac_word=$2 4234{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4235$as_echo_n "checking for $ac_word... " >&6; } 4236if test "${ac_cv_path_MSGFMT+set}" = set; then : 4237 $as_echo_n "(cached) " >&6 4238else 4239 case $MSGFMT in 4240 [\\/]* | ?:[\\/]*) 4241 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 4242 ;; 4243 *) 4244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4245for as_dir in $PATH 4246do 4247 IFS=$as_save_IFS 4248 test -z "$as_dir" && as_dir=. 4249 for ac_exec_ext in '' $ac_executable_extensions; do 4250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4251 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" 4252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4253 break 2 4254 fi 4255done 4256 done 4257IFS=$as_save_IFS 4258 4259 ;; 4260esac 4261fi 4262MSGFMT=$ac_cv_path_MSGFMT 4263if test -n "$MSGFMT"; then 4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 4265$as_echo "$MSGFMT" >&6; } 4266else 4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4268$as_echo "no" >&6; } 4269fi 4270 4271 4272# Extract the first word of "gmsgfmt", so it can be a program name with args. 4273set dummy gmsgfmt; ac_word=$2 4274{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4275$as_echo_n "checking for $ac_word... " >&6; } 4276if test "${ac_cv_path_GMSGFMT+set}" = set; then : 4277 $as_echo_n "(cached) " >&6 4278else 4279 case $GMSGFMT in 4280 [\\/]* | ?:[\\/]*) 4281 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 4282 ;; 4283 *) 4284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4285for as_dir in $PATH 4286do 4287 IFS=$as_save_IFS 4288 test -z "$as_dir" && as_dir=. 4289 for ac_exec_ext in '' $ac_executable_extensions; do 4290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4291 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 4292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4293 break 2 4294 fi 4295done 4296 done 4297IFS=$as_save_IFS 4298 4299 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 4300 ;; 4301esac 4302fi 4303GMSGFMT=$ac_cv_path_GMSGFMT 4304if test -n "$GMSGFMT"; then 4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 4306$as_echo "$GMSGFMT" >&6; } 4307else 4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4309$as_echo "no" >&6; } 4310fi 4311 4312 4313if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then 4314 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 4315fi 4316xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" 4317mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" 4318mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" 4319if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then 4320 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 4321fi 4322 4323# Extract the first word of "perl", so it can be a program name with args. 4324set dummy perl; ac_word=$2 4325{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4326$as_echo_n "checking for $ac_word... " >&6; } 4327if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then : 4328 $as_echo_n "(cached) " >&6 4329else 4330 case $INTLTOOL_PERL in 4331 [\\/]* | ?:[\\/]*) 4332 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. 4333 ;; 4334 *) 4335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4336for as_dir in $PATH 4337do 4338 IFS=$as_save_IFS 4339 test -z "$as_dir" && as_dir=. 4340 for ac_exec_ext in '' $ac_executable_extensions; do 4341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4342 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" 4343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4344 break 2 4345 fi 4346done 4347 done 4348IFS=$as_save_IFS 4349 4350 ;; 4351esac 4352fi 4353INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL 4354if test -n "$INTLTOOL_PERL"; then 4355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 4356$as_echo "$INTLTOOL_PERL" >&6; } 4357else 4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4359$as_echo "no" >&6; } 4360fi 4361 4362 4363if test -z "$INTLTOOL_PERL"; then 4364 as_fn_error $? "perl not found" "$LINENO" 5 4365fi 4366{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 4367$as_echo_n "checking for perl >= 5.8.1... " >&6; } 4368$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 4369if test $? -ne 0; then 4370 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 4371else 4372 IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`" 4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 4374$as_echo "$IT_PERL_VERSION" >&6; } 4375fi 4376if test "x" != "xno-xml"; then 4377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 4378$as_echo_n "checking for XML::Parser... " >&6; } 4379 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then 4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 4381$as_echo "ok" >&6; } 4382 else 4383 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 4384 fi 4385fi 4386 4387# Substitute ALL_LINGUAS so we can use it in po/Makefile 4388 4389 4390# Set DATADIRNAME correctly if it is not set yet 4391# (copied from glib-gettext.m4) 4392if test -z "$DATADIRNAME"; then 4393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4394/* end confdefs.h. */ 4395 4396int 4397main () 4398{ 4399extern int _nl_msg_cat_cntr; 4400 return _nl_msg_cat_cntr 4401 ; 4402 return 0; 4403} 4404_ACEOF 4405if ac_fn_c_try_link "$LINENO"; then : 4406 DATADIRNAME=share 4407else 4408 case $host in 4409 *-*-solaris*) 4410 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 4411if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then : 4412 DATADIRNAME=share 4413else 4414 DATADIRNAME=lib 4415fi 4416 4417 ;; 4418 *) 4419 DATADIRNAME=lib 4420 ;; 4421 esac 4422fi 4423rm -f core conftest.err conftest.$ac_objext \ 4424 conftest$ac_exeext conftest.$ac_ext 4425fi 4426 4427 4428 4429 4430 4431ALL_LINGUAS= 4432 4433GETTEXT_PACKAGE=gmpc-albumview 4434 4435 4436cat >>confdefs.h <<_ACEOF 4437#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" 4438_ACEOF 4439 4440ac_ext=c 4441ac_cpp='$CPP $CPPFLAGS' 4442ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4443ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4444ac_compiler_gnu=$ac_cv_c_compiler_gnu 4445{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4446$as_echo_n "checking how to run the C preprocessor... " >&6; } 4447# On Suns, sometimes $CPP names a directory. 4448if test -n "$CPP" && test -d "$CPP"; then 4449 CPP= 4450fi 4451if test -z "$CPP"; then 4452 if test "${ac_cv_prog_CPP+set}" = set; then : 4453 $as_echo_n "(cached) " >&6 4454else 4455 # Double quotes because CPP needs to be expanded 4456 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4457 do 4458 ac_preproc_ok=false 4459for ac_c_preproc_warn_flag in '' yes 4460do 4461 # Use a header file that comes with gcc, so configuring glibc 4462 # with a fresh cross-compiler works. 4463 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4464 # <limits.h> exists even on freestanding compilers. 4465 # On the NeXT, cc -E runs the code through the compiler's parser, 4466 # not just through cpp. "Syntax error" is here to catch this case. 4467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4468/* end confdefs.h. */ 4469#ifdef __STDC__ 4470# include <limits.h> 4471#else 4472# include <assert.h> 4473#endif 4474 Syntax error 4475_ACEOF 4476if ac_fn_c_try_cpp "$LINENO"; then : 4477 4478else 4479 # Broken: fails on valid input. 4480continue 4481fi 4482rm -f conftest.err conftest.i conftest.$ac_ext 4483 4484 # OK, works on sane cases. Now check whether nonexistent headers 4485 # can be detected and how. 4486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4487/* end confdefs.h. */ 4488#include <ac_nonexistent.h> 4489_ACEOF 4490if ac_fn_c_try_cpp "$LINENO"; then : 4491 # Broken: success on invalid input. 4492continue 4493else 4494 # Passes both tests. 4495ac_preproc_ok=: 4496break 4497fi 4498rm -f conftest.err conftest.i conftest.$ac_ext 4499 4500done 4501# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4502rm -f conftest.i conftest.err conftest.$ac_ext 4503if $ac_preproc_ok; then : 4504 break 4505fi 4506 4507 done 4508 ac_cv_prog_CPP=$CPP 4509 4510fi 4511 CPP=$ac_cv_prog_CPP 4512else 4513 ac_cv_prog_CPP=$CPP 4514fi 4515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4516$as_echo "$CPP" >&6; } 4517ac_preproc_ok=false 4518for ac_c_preproc_warn_flag in '' yes 4519do 4520 # Use a header file that comes with gcc, so configuring glibc 4521 # with a fresh cross-compiler works. 4522 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4523 # <limits.h> exists even on freestanding compilers. 4524 # On the NeXT, cc -E runs the code through the compiler's parser, 4525 # not just through cpp. "Syntax error" is here to catch this case. 4526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4527/* end confdefs.h. */ 4528#ifdef __STDC__ 4529# include <limits.h> 4530#else 4531# include <assert.h> 4532#endif 4533 Syntax error 4534_ACEOF 4535if ac_fn_c_try_cpp "$LINENO"; then : 4536 4537else 4538 # Broken: fails on valid input. 4539continue 4540fi 4541rm -f conftest.err conftest.i conftest.$ac_ext 4542 4543 # OK, works on sane cases. Now check whether nonexistent headers 4544 # can be detected and how. 4545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4546/* end confdefs.h. */ 4547#include <ac_nonexistent.h> 4548_ACEOF 4549if ac_fn_c_try_cpp "$LINENO"; then : 4550 # Broken: success on invalid input. 4551continue 4552else 4553 # Passes both tests. 4554ac_preproc_ok=: 4555break 4556fi 4557rm -f conftest.err conftest.i conftest.$ac_ext 4558 4559done 4560# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4561rm -f conftest.i conftest.err conftest.$ac_ext 4562if $ac_preproc_ok; then : 4563 4564else 4565 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4566$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4567as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4568See \`config.log' for more details" "$LINENO" 5 ; } 4569fi 4570 4571ac_ext=c 4572ac_cpp='$CPP $CPPFLAGS' 4573ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4574ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4575ac_compiler_gnu=$ac_cv_c_compiler_gnu 4576 4577 4578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4579$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4580if test "${ac_cv_path_GREP+set}" = set; then : 4581 $as_echo_n "(cached) " >&6 4582else 4583 if test -z "$GREP"; then 4584 ac_path_GREP_found=false 4585 # Loop through the user's path and test for each of PROGNAME-LIST 4586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4587for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4588do 4589 IFS=$as_save_IFS 4590 test -z "$as_dir" && as_dir=. 4591 for ac_prog in grep ggrep; do 4592 for ac_exec_ext in '' $ac_executable_extensions; do 4593 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4594 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4595# Check for GNU ac_path_GREP and select it if it is found. 4596 # Check for GNU $ac_path_GREP 4597case `"$ac_path_GREP" --version 2>&1` in 4598*GNU*) 4599 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4600*) 4601 ac_count=0 4602 $as_echo_n 0123456789 >"conftest.in" 4603 while : 4604 do 4605 cat "conftest.in" "conftest.in" >"conftest.tmp" 4606 mv "conftest.tmp" "conftest.in" 4607 cp "conftest.in" "conftest.nl" 4608 $as_echo 'GREP' >> "conftest.nl" 4609 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4610 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4611 as_fn_arith $ac_count + 1 && ac_count=$as_val 4612 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4613 # Best one so far, save it but keep looking for a better one 4614 ac_cv_path_GREP="$ac_path_GREP" 4615 ac_path_GREP_max=$ac_count 4616 fi 4617 # 10*(2^10) chars as input seems more than enough 4618 test $ac_count -gt 10 && break 4619 done 4620 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4621esac 4622 4623 $ac_path_GREP_found && break 3 4624 done 4625 done 4626 done 4627IFS=$as_save_IFS 4628 if test -z "$ac_cv_path_GREP"; then 4629 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4630 fi 4631else 4632 ac_cv_path_GREP=$GREP 4633fi 4634 4635fi 4636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4637$as_echo "$ac_cv_path_GREP" >&6; } 4638 GREP="$ac_cv_path_GREP" 4639 4640 4641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4642$as_echo_n "checking for egrep... " >&6; } 4643if test "${ac_cv_path_EGREP+set}" = set; then : 4644 $as_echo_n "(cached) " >&6 4645else 4646 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4647 then ac_cv_path_EGREP="$GREP -E" 4648 else 4649 if test -z "$EGREP"; then 4650 ac_path_EGREP_found=false 4651 # Loop through the user's path and test for each of PROGNAME-LIST 4652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4653for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4654do 4655 IFS=$as_save_IFS 4656 test -z "$as_dir" && as_dir=. 4657 for ac_prog in egrep; do 4658 for ac_exec_ext in '' $ac_executable_extensions; do 4659 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4660 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4661# Check for GNU ac_path_EGREP and select it if it is found. 4662 # Check for GNU $ac_path_EGREP 4663case `"$ac_path_EGREP" --version 2>&1` in 4664*GNU*) 4665 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4666*) 4667 ac_count=0 4668 $as_echo_n 0123456789 >"conftest.in" 4669 while : 4670 do 4671 cat "conftest.in" "conftest.in" >"conftest.tmp" 4672 mv "conftest.tmp" "conftest.in" 4673 cp "conftest.in" "conftest.nl" 4674 $as_echo 'EGREP' >> "conftest.nl" 4675 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4676 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4677 as_fn_arith $ac_count + 1 && ac_count=$as_val 4678 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4679 # Best one so far, save it but keep looking for a better one 4680 ac_cv_path_EGREP="$ac_path_EGREP" 4681 ac_path_EGREP_max=$ac_count 4682 fi 4683 # 10*(2^10) chars as input seems more than enough 4684 test $ac_count -gt 10 && break 4685 done 4686 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4687esac 4688 4689 $ac_path_EGREP_found && break 3 4690 done 4691 done 4692 done 4693IFS=$as_save_IFS 4694 if test -z "$ac_cv_path_EGREP"; then 4695 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4696 fi 4697else 4698 ac_cv_path_EGREP=$EGREP 4699fi 4700 4701 fi 4702fi 4703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4704$as_echo "$ac_cv_path_EGREP" >&6; } 4705 EGREP="$ac_cv_path_EGREP" 4706 4707 4708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4709$as_echo_n "checking for ANSI C header files... " >&6; } 4710if test "${ac_cv_header_stdc+set}" = set; then : 4711 $as_echo_n "(cached) " >&6 4712else 4713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4714/* end confdefs.h. */ 4715#include <stdlib.h> 4716#include <stdarg.h> 4717#include <string.h> 4718#include <float.h> 4719 4720int 4721main () 4722{ 4723 4724 ; 4725 return 0; 4726} 4727_ACEOF 4728if ac_fn_c_try_compile "$LINENO"; then : 4729 ac_cv_header_stdc=yes 4730else 4731 ac_cv_header_stdc=no 4732fi 4733rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4734 4735if test $ac_cv_header_stdc = yes; then 4736 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4738/* end confdefs.h. */ 4739#include <string.h> 4740 4741_ACEOF 4742if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4743 $EGREP "memchr" >/dev/null 2>&1; then : 4744 4745else 4746 ac_cv_header_stdc=no 4747fi 4748rm -f conftest* 4749 4750fi 4751 4752if test $ac_cv_header_stdc = yes; then 4753 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4755/* end confdefs.h. */ 4756#include <stdlib.h> 4757 4758_ACEOF 4759if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4760 $EGREP "free" >/dev/null 2>&1; then : 4761 4762else 4763 ac_cv_header_stdc=no 4764fi 4765rm -f conftest* 4766 4767fi 4768 4769if test $ac_cv_header_stdc = yes; then 4770 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4771 if test "$cross_compiling" = yes; then : 4772 : 4773else 4774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4775/* end confdefs.h. */ 4776#include <ctype.h> 4777#include <stdlib.h> 4778#if ((' ' & 0x0FF) == 0x020) 4779# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4780# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4781#else 4782# define ISLOWER(c) \ 4783 (('a' <= (c) && (c) <= 'i') \ 4784 || ('j' <= (c) && (c) <= 'r') \ 4785 || ('s' <= (c) && (c) <= 'z')) 4786# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4787#endif 4788 4789#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4790int 4791main () 4792{ 4793 int i; 4794 for (i = 0; i < 256; i++) 4795 if (XOR (islower (i), ISLOWER (i)) 4796 || toupper (i) != TOUPPER (i)) 4797 return 2; 4798 return 0; 4799} 4800_ACEOF 4801if ac_fn_c_try_run "$LINENO"; then : 4802 4803else 4804 ac_cv_header_stdc=no 4805fi 4806rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4807 conftest.$ac_objext conftest.beam conftest.$ac_ext 4808fi 4809 4810fi 4811fi 4812{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4813$as_echo "$ac_cv_header_stdc" >&6; } 4814if test $ac_cv_header_stdc = yes; then 4815 4816$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4817 4818fi 4819 4820# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4821for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4822 inttypes.h stdint.h unistd.h 4823do : 4824 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4825ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4826" 4827if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4828 cat >>confdefs.h <<_ACEOF 4829#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4830_ACEOF 4831 4832fi 4833 4834done 4835 4836 4837 4838 for ac_header in locale.h 4839do : 4840 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" 4841if test "x$ac_cv_header_locale_h" = x""yes; then : 4842 cat >>confdefs.h <<_ACEOF 4843#define HAVE_LOCALE_H 1 4844_ACEOF 4845 4846fi 4847 4848done 4849 4850 if test $ac_cv_header_locale_h = yes; then 4851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 4852$as_echo_n "checking for LC_MESSAGES... " >&6; } 4853if test "${am_cv_val_LC_MESSAGES+set}" = set; then : 4854 $as_echo_n "(cached) " >&6 4855else 4856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4857/* end confdefs.h. */ 4858#include <locale.h> 4859int 4860main () 4861{ 4862return LC_MESSAGES 4863 ; 4864 return 0; 4865} 4866_ACEOF 4867if ac_fn_c_try_link "$LINENO"; then : 4868 am_cv_val_LC_MESSAGES=yes 4869else 4870 am_cv_val_LC_MESSAGES=no 4871fi 4872rm -f core conftest.err conftest.$ac_objext \ 4873 conftest$ac_exeext conftest.$ac_ext 4874fi 4875{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5 4876$as_echo "$am_cv_val_LC_MESSAGES" >&6; } 4877 if test $am_cv_val_LC_MESSAGES = yes; then 4878 4879$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h 4880 4881 fi 4882 fi 4883 USE_NLS=yes 4884 4885 4886 gt_cv_have_gettext=no 4887 4888 CATOBJEXT=NONE 4889 XGETTEXT=: 4890 INTLLIBS= 4891 4892 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" 4893if test "x$ac_cv_header_libintl_h" = x""yes; then : 4894 gt_cv_func_dgettext_libintl="no" 4895 libintl_extra_libs="" 4896 4897 # 4898 # First check in libc 4899 # 4900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5 4901$as_echo_n "checking for ngettext in libc... " >&6; } 4902if test "${gt_cv_func_ngettext_libc+set}" = set; then : 4903 $as_echo_n "(cached) " >&6 4904else 4905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4906/* end confdefs.h. */ 4907 4908#include <libintl.h> 4909 4910int 4911main () 4912{ 4913return !ngettext ("","", 1) 4914 ; 4915 return 0; 4916} 4917_ACEOF 4918if ac_fn_c_try_link "$LINENO"; then : 4919 gt_cv_func_ngettext_libc=yes 4920else 4921 gt_cv_func_ngettext_libc=no 4922fi 4923rm -f core conftest.err conftest.$ac_objext \ 4924 conftest$ac_exeext conftest.$ac_ext 4925 4926fi 4927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5 4928$as_echo "$gt_cv_func_ngettext_libc" >&6; } 4929 4930 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5 4932$as_echo_n "checking for dgettext in libc... " >&6; } 4933if test "${gt_cv_func_dgettext_libc+set}" = set; then : 4934 $as_echo_n "(cached) " >&6 4935else 4936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4937/* end confdefs.h. */ 4938 4939#include <libintl.h> 4940 4941int 4942main () 4943{ 4944return !dgettext ("","") 4945 ; 4946 return 0; 4947} 4948_ACEOF 4949if ac_fn_c_try_link "$LINENO"; then : 4950 gt_cv_func_dgettext_libc=yes 4951else 4952 gt_cv_func_dgettext_libc=no 4953fi 4954rm -f core conftest.err conftest.$ac_objext \ 4955 conftest$ac_exeext conftest.$ac_ext 4956 4957fi 4958{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5 4959$as_echo "$gt_cv_func_dgettext_libc" >&6; } 4960 fi 4961 4962 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 4963 for ac_func in bind_textdomain_codeset 4964do : 4965 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 4966if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then : 4967 cat >>confdefs.h <<_ACEOF 4968#define HAVE_BIND_TEXTDOMAIN_CODESET 1 4969_ACEOF 4970 4971fi 4972done 4973 4974 fi 4975 4976 # 4977 # If we don't have everything we want, check in libintl 4978 # 4979 if test "$gt_cv_func_dgettext_libc" != "yes" \ 4980 || test "$gt_cv_func_ngettext_libc" != "yes" \ 4981 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then 4982 4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 4984$as_echo_n "checking for bindtextdomain in -lintl... " >&6; } 4985if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then : 4986 $as_echo_n "(cached) " >&6 4987else 4988 ac_check_lib_save_LIBS=$LIBS 4989LIBS="-lintl $LIBS" 4990cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4991/* end confdefs.h. */ 4992 4993/* Override any GCC internal prototype to avoid an error. 4994 Use char because int might match the return type of a GCC 4995 builtin and then its argument prototype would still apply. */ 4996#ifdef __cplusplus 4997extern "C" 4998#endif 4999char bindtextdomain (); 5000int 5001main () 5002{ 5003return bindtextdomain (); 5004 ; 5005 return 0; 5006} 5007_ACEOF 5008if ac_fn_c_try_link "$LINENO"; then : 5009 ac_cv_lib_intl_bindtextdomain=yes 5010else 5011 ac_cv_lib_intl_bindtextdomain=no 5012fi 5013rm -f core conftest.err conftest.$ac_objext \ 5014 conftest$ac_exeext conftest.$ac_ext 5015LIBS=$ac_check_lib_save_LIBS 5016fi 5017{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 5018$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } 5019if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then : 5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 5021$as_echo_n "checking for ngettext in -lintl... " >&6; } 5022if test "${ac_cv_lib_intl_ngettext+set}" = set; then : 5023 $as_echo_n "(cached) " >&6 5024else 5025 ac_check_lib_save_LIBS=$LIBS 5026LIBS="-lintl $LIBS" 5027cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5028/* end confdefs.h. */ 5029 5030/* Override any GCC internal prototype to avoid an error. 5031 Use char because int might match the return type of a GCC 5032 builtin and then its argument prototype would still apply. */ 5033#ifdef __cplusplus 5034extern "C" 5035#endif 5036char ngettext (); 5037int 5038main () 5039{ 5040return ngettext (); 5041 ; 5042 return 0; 5043} 5044_ACEOF 5045if ac_fn_c_try_link "$LINENO"; then : 5046 ac_cv_lib_intl_ngettext=yes 5047else 5048 ac_cv_lib_intl_ngettext=no 5049fi 5050rm -f core conftest.err conftest.$ac_objext \ 5051 conftest$ac_exeext conftest.$ac_ext 5052LIBS=$ac_check_lib_save_LIBS 5053fi 5054{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 5055$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 5056if test "x$ac_cv_lib_intl_ngettext" = x""yes; then : 5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 5058$as_echo_n "checking for dgettext in -lintl... " >&6; } 5059if test "${ac_cv_lib_intl_dgettext+set}" = set; then : 5060 $as_echo_n "(cached) " >&6 5061else 5062 ac_check_lib_save_LIBS=$LIBS 5063LIBS="-lintl $LIBS" 5064cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5065/* end confdefs.h. */ 5066 5067/* Override any GCC internal prototype to avoid an error. 5068 Use char because int might match the return type of a GCC 5069 builtin and then its argument prototype would still apply. */ 5070#ifdef __cplusplus 5071extern "C" 5072#endif 5073char dgettext (); 5074int 5075main () 5076{ 5077return dgettext (); 5078 ; 5079 return 0; 5080} 5081_ACEOF 5082if ac_fn_c_try_link "$LINENO"; then : 5083 ac_cv_lib_intl_dgettext=yes 5084else 5085 ac_cv_lib_intl_dgettext=no 5086fi 5087rm -f core conftest.err conftest.$ac_objext \ 5088 conftest$ac_exeext conftest.$ac_ext 5089LIBS=$ac_check_lib_save_LIBS 5090fi 5091{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 5092$as_echo "$ac_cv_lib_intl_dgettext" >&6; } 5093if test "x$ac_cv_lib_intl_dgettext" = x""yes; then : 5094 gt_cv_func_dgettext_libintl=yes 5095fi 5096 5097fi 5098 5099fi 5100 5101 5102 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then 5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5 5104$as_echo_n "checking if -liconv is needed to use gettext... " >&6; } 5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 5106$as_echo "" >&6; } 5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 5108$as_echo_n "checking for ngettext in -lintl... " >&6; } 5109if test "${ac_cv_lib_intl_ngettext+set}" = set; then : 5110 $as_echo_n "(cached) " >&6 5111else 5112 ac_check_lib_save_LIBS=$LIBS 5113LIBS="-lintl -liconv $LIBS" 5114cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5115/* end confdefs.h. */ 5116 5117/* Override any GCC internal prototype to avoid an error. 5118 Use char because int might match the return type of a GCC 5119 builtin and then its argument prototype would still apply. */ 5120#ifdef __cplusplus 5121extern "C" 5122#endif 5123char ngettext (); 5124int 5125main () 5126{ 5127return ngettext (); 5128 ; 5129 return 0; 5130} 5131_ACEOF 5132if ac_fn_c_try_link "$LINENO"; then : 5133 ac_cv_lib_intl_ngettext=yes 5134else 5135 ac_cv_lib_intl_ngettext=no 5136fi 5137rm -f core conftest.err conftest.$ac_objext \ 5138 conftest$ac_exeext conftest.$ac_ext 5139LIBS=$ac_check_lib_save_LIBS 5140fi 5141{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 5142$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 5143if test "x$ac_cv_lib_intl_ngettext" = x""yes; then : 5144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5 5145$as_echo_n "checking for dcgettext in -lintl... " >&6; } 5146if test "${ac_cv_lib_intl_dcgettext+set}" = set; then : 5147 $as_echo_n "(cached) " >&6 5148else 5149 ac_check_lib_save_LIBS=$LIBS 5150LIBS="-lintl -liconv $LIBS" 5151cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5152/* end confdefs.h. */ 5153 5154/* Override any GCC internal prototype to avoid an error. 5155 Use char because int might match the return type of a GCC 5156 builtin and then its argument prototype would still apply. */ 5157#ifdef __cplusplus 5158extern "C" 5159#endif 5160char dcgettext (); 5161int 5162main () 5163{ 5164return dcgettext (); 5165 ; 5166 return 0; 5167} 5168_ACEOF 5169if ac_fn_c_try_link "$LINENO"; then : 5170 ac_cv_lib_intl_dcgettext=yes 5171else 5172 ac_cv_lib_intl_dcgettext=no 5173fi 5174rm -f core conftest.err conftest.$ac_objext \ 5175 conftest$ac_exeext conftest.$ac_ext 5176LIBS=$ac_check_lib_save_LIBS 5177fi 5178{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5 5179$as_echo "$ac_cv_lib_intl_dcgettext" >&6; } 5180if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then : 5181 gt_cv_func_dgettext_libintl=yes 5182 libintl_extra_libs=-liconv 5183else 5184 : 5185fi 5186 5187else 5188 : 5189fi 5190 5191 fi 5192 5193 # 5194 # If we found libintl, then check in it for bind_textdomain_codeset(); 5195 # we'll prefer libc if neither have bind_textdomain_codeset(), 5196 # and both have dgettext and ngettext 5197 # 5198 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then 5199 glib_save_LIBS="$LIBS" 5200 LIBS="$LIBS -lintl $libintl_extra_libs" 5201 unset ac_cv_func_bind_textdomain_codeset 5202 for ac_func in bind_textdomain_codeset 5203do : 5204 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 5205if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then : 5206 cat >>confdefs.h <<_ACEOF 5207#define HAVE_BIND_TEXTDOMAIN_CODESET 1 5208_ACEOF 5209 5210fi 5211done 5212 5213 LIBS="$glib_save_LIBS" 5214 5215 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then 5216 gt_cv_func_dgettext_libc=no 5217 else 5218 if test "$gt_cv_func_dgettext_libc" = "yes" \ 5219 && test "$gt_cv_func_ngettext_libc" = "yes"; then 5220 gt_cv_func_dgettext_libintl=no 5221 fi 5222 fi 5223 fi 5224 fi 5225 5226 if test "$gt_cv_func_dgettext_libc" = "yes" \ 5227 || test "$gt_cv_func_dgettext_libintl" = "yes"; then 5228 gt_cv_have_gettext=yes 5229 fi 5230 5231 if test "$gt_cv_func_dgettext_libintl" = "yes"; then 5232 INTLLIBS="-lintl $libintl_extra_libs" 5233 fi 5234 5235 if test "$gt_cv_have_gettext" = "yes"; then 5236 5237$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 5238 5239 # Extract the first word of "msgfmt", so it can be a program name with args. 5240set dummy msgfmt; ac_word=$2 5241{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5242$as_echo_n "checking for $ac_word... " >&6; } 5243if test "${ac_cv_path_MSGFMT+set}" = set; then : 5244 $as_echo_n "(cached) " >&6 5245else 5246 case "$MSGFMT" in 5247 /*) 5248 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 5249 ;; 5250 *) 5251 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 5252 for ac_dir in $PATH; do 5253 test -z "$ac_dir" && ac_dir=. 5254 if test -f $ac_dir/$ac_word; then 5255 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then 5256 ac_cv_path_MSGFMT="$ac_dir/$ac_word" 5257 break 5258 fi 5259 fi 5260 done 5261 IFS="$ac_save_ifs" 5262 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" 5263 ;; 5264esac 5265fi 5266MSGFMT="$ac_cv_path_MSGFMT" 5267if test "$MSGFMT" != "no"; then 5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 5269$as_echo "$MSGFMT" >&6; } 5270else 5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5272$as_echo "no" >&6; } 5273fi 5274 if test "$MSGFMT" != "no"; then 5275 glib_save_LIBS="$LIBS" 5276 LIBS="$LIBS $INTLLIBS" 5277 for ac_func in dcgettext 5278do : 5279 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext" 5280if test "x$ac_cv_func_dcgettext" = x""yes; then : 5281 cat >>confdefs.h <<_ACEOF 5282#define HAVE_DCGETTEXT 1 5283_ACEOF 5284 5285fi 5286done 5287 5288 MSGFMT_OPTS= 5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5 5290$as_echo_n "checking if msgfmt accepts -c... " >&6; } 5291 cat >conftest.foo <<_ACEOF 5292 5293msgid "" 5294msgstr "" 5295"Content-Type: text/plain; charset=UTF-8\n" 5296"Project-Id-Version: test 1.0\n" 5297"PO-Revision-Date: 2007-02-15 12:01+0100\n" 5298"Last-Translator: test <foo@bar.xx>\n" 5299"Language-Team: C <LL@li.org>\n" 5300"MIME-Version: 1.0\n" 5301"Content-Transfer-Encoding: 8bit\n" 5302 5303_ACEOF 5304if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5 5305 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5 5306 ac_status=$? 5307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5308 test $ac_status = 0; }; then 5309 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5310$as_echo "yes" >&6; } 5311else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5312$as_echo "no" >&6; } 5313echo "$as_me: failed input was:" >&5 5314sed 's/^/| /' conftest.foo >&5 5315fi 5316 5317 # Extract the first word of "gmsgfmt", so it can be a program name with args. 5318set dummy gmsgfmt; ac_word=$2 5319{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5320$as_echo_n "checking for $ac_word... " >&6; } 5321if test "${ac_cv_path_GMSGFMT+set}" = set; then : 5322 $as_echo_n "(cached) " >&6 5323else 5324 case $GMSGFMT in 5325 [\\/]* | ?:[\\/]*) 5326 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 5327 ;; 5328 *) 5329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5330for as_dir in $PATH 5331do 5332 IFS=$as_save_IFS 5333 test -z "$as_dir" && as_dir=. 5334 for ac_exec_ext in '' $ac_executable_extensions; do 5335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5336 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 5337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5338 break 2 5339 fi 5340done 5341 done 5342IFS=$as_save_IFS 5343 5344 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 5345 ;; 5346esac 5347fi 5348GMSGFMT=$ac_cv_path_GMSGFMT 5349if test -n "$GMSGFMT"; then 5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 5351$as_echo "$GMSGFMT" >&6; } 5352else 5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5354$as_echo "no" >&6; } 5355fi 5356 5357 5358 # Extract the first word of "xgettext", so it can be a program name with args. 5359set dummy xgettext; ac_word=$2 5360{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5361$as_echo_n "checking for $ac_word... " >&6; } 5362if test "${ac_cv_path_XGETTEXT+set}" = set; then : 5363 $as_echo_n "(cached) " >&6 5364else 5365 case "$XGETTEXT" in 5366 /*) 5367 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 5368 ;; 5369 *) 5370 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 5371 for ac_dir in $PATH; do 5372 test -z "$ac_dir" && ac_dir=. 5373 if test -f $ac_dir/$ac_word; then 5374 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then 5375 ac_cv_path_XGETTEXT="$ac_dir/$ac_word" 5376 break 5377 fi 5378 fi 5379 done 5380 IFS="$ac_save_ifs" 5381 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 5382 ;; 5383esac 5384fi 5385XGETTEXT="$ac_cv_path_XGETTEXT" 5386if test "$XGETTEXT" != ":"; then 5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 5388$as_echo "$XGETTEXT" >&6; } 5389else 5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5391$as_echo "no" >&6; } 5392fi 5393 5394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5395/* end confdefs.h. */ 5396 5397int 5398main () 5399{ 5400extern int _nl_msg_cat_cntr; 5401 return _nl_msg_cat_cntr 5402 ; 5403 return 0; 5404} 5405_ACEOF 5406if ac_fn_c_try_link "$LINENO"; then : 5407 CATOBJEXT=.gmo 5408 DATADIRNAME=share 5409else 5410 case $host in 5411 *-*-solaris*) 5412 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 5413if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then : 5414 CATOBJEXT=.gmo 5415 DATADIRNAME=share 5416else 5417 CATOBJEXT=.mo 5418 DATADIRNAME=lib 5419fi 5420 5421 ;; 5422 *) 5423 CATOBJEXT=.mo 5424 DATADIRNAME=lib 5425 ;; 5426 esac 5427fi 5428rm -f core conftest.err conftest.$ac_objext \ 5429 conftest$ac_exeext conftest.$ac_ext 5430 LIBS="$glib_save_LIBS" 5431 INSTOBJEXT=.mo 5432 else 5433 gt_cv_have_gettext=no 5434 fi 5435 fi 5436 5437fi 5438 5439 5440 5441 if test "$gt_cv_have_gettext" = "yes" ; then 5442 5443$as_echo "#define ENABLE_NLS 1" >>confdefs.h 5444 5445 fi 5446 5447 if test "$XGETTEXT" != ":"; then 5448 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then 5449 : ; 5450 else 5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 5452$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } 5453 XGETTEXT=":" 5454 fi 5455 fi 5456 5457 # We need to process the po/ directory. 5458 POSUB=po 5459 5460 ac_config_commands="$ac_config_commands default-1" 5461 5462 5463 for lang in $ALL_LINGUAS; do 5464 GMOFILES="$GMOFILES $lang.gmo" 5465 POFILES="$POFILES $lang.po" 5466 done 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 if test "$gt_cv_have_gettext" = "yes"; then 5481 if test "x$ALL_LINGUAS" = "x"; then 5482 LINGUAS= 5483 else 5484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5 5485$as_echo_n "checking for catalogs to be installed... " >&6; } 5486 NEW_LINGUAS= 5487 for presentlang in $ALL_LINGUAS; do 5488 useit=no 5489 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then 5490 desiredlanguages="$LINGUAS" 5491 else 5492 desiredlanguages="$ALL_LINGUAS" 5493 fi 5494 for desiredlang in $desiredlanguages; do 5495 # Use the presentlang catalog if desiredlang is 5496 # a. equal to presentlang, or 5497 # b. a variant of presentlang (because in this case, 5498 # presentlang can be used as a fallback for messages 5499 # which are not translated in the desiredlang catalog). 5500 case "$desiredlang" in 5501 "$presentlang"*) useit=yes;; 5502 esac 5503 done 5504 if test $useit = yes; then 5505 NEW_LINGUAS="$NEW_LINGUAS $presentlang" 5506 fi 5507 done 5508 LINGUAS=$NEW_LINGUAS 5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5 5510$as_echo "$LINGUAS" >&6; } 5511 fi 5512 5513 if test -n "$LINGUAS"; then 5514 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done 5515 fi 5516 fi 5517 5518 MKINSTALLDIRS= 5519 if test -n "$ac_aux_dir"; then 5520 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" 5521 fi 5522 if test -z "$MKINSTALLDIRS"; then 5523 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" 5524 fi 5525 5526 5527 test -d po || mkdir po 5528 if test "x$srcdir" != "x."; then 5529 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then 5530 posrcprefix="$srcdir/" 5531 else 5532 posrcprefix="../$srcdir/" 5533 fi 5534 else 5535 posrcprefix="../" 5536 fi 5537 rm -f po/POTFILES 5538 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ 5539 < $srcdir/po/POTFILES.in > po/POTFILES 5540 5541 5542 5543if test "x${prefix}" = "xNONE"; then 5544 PACKAGE_PREFIX="${ac_default_prefix}" 5545else 5546 PACKAGE_PREFIX="${prefix}" 5547fi 5548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PACKAGE_PREFIX" >&5 5549$as_echo "$PACKAGE_PREFIX" >&6; } 5550PACKAGE_LOCALE_DIR="${PACKAGE_PREFIX}/${DATADIRNAME}/locale" 5551 5552cat >>confdefs.h <<_ACEOF 5553#define PACKAGE_LOCALE_DIR "$PACKAGE_LOCALE_DIR" 5554_ACEOF 5555 5556 5557 5558ac_ext=c 5559ac_cpp='$CPP $CPPFLAGS' 5560ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5561ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5562ac_compiler_gnu=$ac_cv_c_compiler_gnu 5563if test -n "$ac_tool_prefix"; then 5564 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 5565set dummy ${ac_tool_prefix}gcc; ac_word=$2 5566{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5567$as_echo_n "checking for $ac_word... " >&6; } 5568if test "${ac_cv_prog_CC+set}" = set; then : 5569 $as_echo_n "(cached) " >&6 5570else 5571 if test -n "$CC"; then 5572 ac_cv_prog_CC="$CC" # Let the user override the test. 5573else 5574as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5575for as_dir in $PATH 5576do 5577 IFS=$as_save_IFS 5578 test -z "$as_dir" && as_dir=. 5579 for ac_exec_ext in '' $ac_executable_extensions; do 5580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5581 ac_cv_prog_CC="${ac_tool_prefix}gcc" 5582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5583 break 2 5584 fi 5585done 5586 done 5587IFS=$as_save_IFS 5588 5589fi 5590fi 5591CC=$ac_cv_prog_CC 5592if test -n "$CC"; then 5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 5594$as_echo "$CC" >&6; } 5595else 5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5597$as_echo "no" >&6; } 5598fi 5599 5600 5601fi 5602if test -z "$ac_cv_prog_CC"; then 5603 ac_ct_CC=$CC 5604 # Extract the first word of "gcc", so it can be a program name with args. 5605set dummy gcc; ac_word=$2 5606{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5607$as_echo_n "checking for $ac_word... " >&6; } 5608if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 5609 $as_echo_n "(cached) " >&6 5610else 5611 if test -n "$ac_ct_CC"; then 5612 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 5613else 5614as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5615for as_dir in $PATH 5616do 5617 IFS=$as_save_IFS 5618 test -z "$as_dir" && as_dir=. 5619 for ac_exec_ext in '' $ac_executable_extensions; do 5620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5621 ac_cv_prog_ac_ct_CC="gcc" 5622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5623 break 2 5624 fi 5625done 5626 done 5627IFS=$as_save_IFS 5628 5629fi 5630fi 5631ac_ct_CC=$ac_cv_prog_ac_ct_CC 5632if test -n "$ac_ct_CC"; then 5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 5634$as_echo "$ac_ct_CC" >&6; } 5635else 5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5637$as_echo "no" >&6; } 5638fi 5639 5640 if test "x$ac_ct_CC" = x; then 5641 CC="" 5642 else 5643 case $cross_compiling:$ac_tool_warned in 5644yes:) 5645{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5646$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5647ac_tool_warned=yes ;; 5648esac 5649 CC=$ac_ct_CC 5650 fi 5651else 5652 CC="$ac_cv_prog_CC" 5653fi 5654 5655if test -z "$CC"; then 5656 if test -n "$ac_tool_prefix"; then 5657 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 5658set dummy ${ac_tool_prefix}cc; ac_word=$2 5659{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5660$as_echo_n "checking for $ac_word... " >&6; } 5661if test "${ac_cv_prog_CC+set}" = set; then : 5662 $as_echo_n "(cached) " >&6 5663else 5664 if test -n "$CC"; then 5665 ac_cv_prog_CC="$CC" # Let the user override the test. 5666else 5667as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5668for as_dir in $PATH 5669do 5670 IFS=$as_save_IFS 5671 test -z "$as_dir" && as_dir=. 5672 for ac_exec_ext in '' $ac_executable_extensions; do 5673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5674 ac_cv_prog_CC="${ac_tool_prefix}cc" 5675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5676 break 2 5677 fi 5678done 5679 done 5680IFS=$as_save_IFS 5681 5682fi 5683fi 5684CC=$ac_cv_prog_CC 5685if test -n "$CC"; then 5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 5687$as_echo "$CC" >&6; } 5688else 5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5690$as_echo "no" >&6; } 5691fi 5692 5693 5694 fi 5695fi 5696if test -z "$CC"; then 5697 # Extract the first word of "cc", so it can be a program name with args. 5698set dummy cc; ac_word=$2 5699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5700$as_echo_n "checking for $ac_word... " >&6; } 5701if test "${ac_cv_prog_CC+set}" = set; then : 5702 $as_echo_n "(cached) " >&6 5703else 5704 if test -n "$CC"; then 5705 ac_cv_prog_CC="$CC" # Let the user override the test. 5706else 5707 ac_prog_rejected=no 5708as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5709for as_dir in $PATH 5710do 5711 IFS=$as_save_IFS 5712 test -z "$as_dir" && as_dir=. 5713 for ac_exec_ext in '' $ac_executable_extensions; do 5714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5715 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 5716 ac_prog_rejected=yes 5717 continue 5718 fi 5719 ac_cv_prog_CC="cc" 5720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5721 break 2 5722 fi 5723done 5724 done 5725IFS=$as_save_IFS 5726 5727if test $ac_prog_rejected = yes; then 5728 # We found a bogon in the path, so make sure we never use it. 5729 set dummy $ac_cv_prog_CC 5730 shift 5731 if test $# != 0; then 5732 # We chose a different compiler from the bogus one. 5733 # However, it has the same basename, so the bogon will be chosen 5734 # first if we set CC to just the basename; use the full file name. 5735 shift 5736 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 5737 fi 5738fi 5739fi 5740fi 5741CC=$ac_cv_prog_CC 5742if test -n "$CC"; then 5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 5744$as_echo "$CC" >&6; } 5745else 5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5747$as_echo "no" >&6; } 5748fi 5749 5750 5751fi 5752if test -z "$CC"; then 5753 if test -n "$ac_tool_prefix"; then 5754 for ac_prog in cl.exe 5755 do 5756 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5757set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5758{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5759$as_echo_n "checking for $ac_word... " >&6; } 5760if test "${ac_cv_prog_CC+set}" = set; then : 5761 $as_echo_n "(cached) " >&6 5762else 5763 if test -n "$CC"; then 5764 ac_cv_prog_CC="$CC" # Let the user override the test. 5765else 5766as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5767for as_dir in $PATH 5768do 5769 IFS=$as_save_IFS 5770 test -z "$as_dir" && as_dir=. 5771 for ac_exec_ext in '' $ac_executable_extensions; do 5772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5773 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 5774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5775 break 2 5776 fi 5777done 5778 done 5779IFS=$as_save_IFS 5780 5781fi 5782fi 5783CC=$ac_cv_prog_CC 5784if test -n "$CC"; then 5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 5786$as_echo "$CC" >&6; } 5787else 5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5789$as_echo "no" >&6; } 5790fi 5791 5792 5793 test -n "$CC" && break 5794 done 5795fi 5796if test -z "$CC"; then 5797 ac_ct_CC=$CC 5798 for ac_prog in cl.exe 5799do 5800 # Extract the first word of "$ac_prog", so it can be a program name with args. 5801set dummy $ac_prog; ac_word=$2 5802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5803$as_echo_n "checking for $ac_word... " >&6; } 5804if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 5805 $as_echo_n "(cached) " >&6 5806else 5807 if test -n "$ac_ct_CC"; then 5808 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 5809else 5810as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5811for as_dir in $PATH 5812do 5813 IFS=$as_save_IFS 5814 test -z "$as_dir" && as_dir=. 5815 for ac_exec_ext in '' $ac_executable_extensions; do 5816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5817 ac_cv_prog_ac_ct_CC="$ac_prog" 5818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5819 break 2 5820 fi 5821done 5822 done 5823IFS=$as_save_IFS 5824 5825fi 5826fi 5827ac_ct_CC=$ac_cv_prog_ac_ct_CC 5828if test -n "$ac_ct_CC"; then 5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 5830$as_echo "$ac_ct_CC" >&6; } 5831else 5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5833$as_echo "no" >&6; } 5834fi 5835 5836 5837 test -n "$ac_ct_CC" && break 5838done 5839 5840 if test "x$ac_ct_CC" = x; then 5841 CC="" 5842 else 5843 case $cross_compiling:$ac_tool_warned in 5844yes:) 5845{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5846$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5847ac_tool_warned=yes ;; 5848esac 5849 CC=$ac_ct_CC 5850 fi 5851fi 5852 5853fi 5854 5855 5856test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5857$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5858as_fn_error $? "no acceptable C compiler found in \$PATH 5859See \`config.log' for more details" "$LINENO" 5 ; } 5860 5861# Provide some information about the compiler. 5862$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 5863set X $ac_compile 5864ac_compiler=$2 5865for ac_option in --version -v -V -qversion; do 5866 { { ac_try="$ac_compiler $ac_option >&5" 5867case "(($ac_try" in 5868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5869 *) ac_try_echo=$ac_try;; 5870esac 5871eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5872$as_echo "$ac_try_echo"; } >&5 5873 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 5874 ac_status=$? 5875 if test -s conftest.err; then 5876 sed '10a\ 5877... rest of stderr output deleted ... 5878 10q' conftest.err >conftest.er1 5879 cat conftest.er1 >&5 5880 fi 5881 rm -f conftest.er1 conftest.err 5882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5883 test $ac_status = 0; } 5884done 5885 5886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 5887$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 5888if test "${ac_cv_c_compiler_gnu+set}" = set; then : 5889 $as_echo_n "(cached) " >&6 5890else 5891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5892/* end confdefs.h. */ 5893 5894int 5895main () 5896{ 5897#ifndef __GNUC__ 5898 choke me 5899#endif 5900 5901 ; 5902 return 0; 5903} 5904_ACEOF 5905if ac_fn_c_try_compile "$LINENO"; then : 5906 ac_compiler_gnu=yes 5907else 5908 ac_compiler_gnu=no 5909fi 5910rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5911ac_cv_c_compiler_gnu=$ac_compiler_gnu 5912 5913fi 5914{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 5915$as_echo "$ac_cv_c_compiler_gnu" >&6; } 5916if test $ac_compiler_gnu = yes; then 5917 GCC=yes 5918else 5919 GCC= 5920fi 5921ac_test_CFLAGS=${CFLAGS+set} 5922ac_save_CFLAGS=$CFLAGS 5923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 5924$as_echo_n "checking whether $CC accepts -g... " >&6; } 5925if test "${ac_cv_prog_cc_g+set}" = set; then : 5926 $as_echo_n "(cached) " >&6 5927else 5928 ac_save_c_werror_flag=$ac_c_werror_flag 5929 ac_c_werror_flag=yes 5930 ac_cv_prog_cc_g=no 5931 CFLAGS="-g" 5932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5933/* end confdefs.h. */ 5934 5935int 5936main () 5937{ 5938 5939 ; 5940 return 0; 5941} 5942_ACEOF 5943if ac_fn_c_try_compile "$LINENO"; then : 5944 ac_cv_prog_cc_g=yes 5945else 5946 CFLAGS="" 5947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5948/* end confdefs.h. */ 5949 5950int 5951main () 5952{ 5953 5954 ; 5955 return 0; 5956} 5957_ACEOF 5958if ac_fn_c_try_compile "$LINENO"; then : 5959 5960else 5961 ac_c_werror_flag=$ac_save_c_werror_flag 5962 CFLAGS="-g" 5963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5964/* end confdefs.h. */ 5965 5966int 5967main () 5968{ 5969 5970 ; 5971 return 0; 5972} 5973_ACEOF 5974if ac_fn_c_try_compile "$LINENO"; then : 5975 ac_cv_prog_cc_g=yes 5976fi 5977rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5978fi 5979rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5980fi 5981rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5982 ac_c_werror_flag=$ac_save_c_werror_flag 5983fi 5984{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 5985$as_echo "$ac_cv_prog_cc_g" >&6; } 5986if test "$ac_test_CFLAGS" = set; then 5987 CFLAGS=$ac_save_CFLAGS 5988elif test $ac_cv_prog_cc_g = yes; then 5989 if test "$GCC" = yes; then 5990 CFLAGS="-g -O2" 5991 else 5992 CFLAGS="-g" 5993 fi 5994else 5995 if test "$GCC" = yes; then 5996 CFLAGS="-O2" 5997 else 5998 CFLAGS= 5999 fi 6000fi 6001{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 6002$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 6003if test "${ac_cv_prog_cc_c89+set}" = set; then : 6004 $as_echo_n "(cached) " >&6 6005else 6006 ac_cv_prog_cc_c89=no 6007ac_save_CC=$CC 6008cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6009/* end confdefs.h. */ 6010#include <stdarg.h> 6011#include <stdio.h> 6012#include <sys/types.h> 6013#include <sys/stat.h> 6014/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 6015struct buf { int x; }; 6016FILE * (*rcsopen) (struct buf *, struct stat *, int); 6017static char *e (p, i) 6018 char **p; 6019 int i; 6020{ 6021 return p[i]; 6022} 6023static char *f (char * (*g) (char **, int), char **p, ...) 6024{ 6025 char *s; 6026 va_list v; 6027 va_start (v,p); 6028 s = g (p, va_arg (v,int)); 6029 va_end (v); 6030 return s; 6031} 6032 6033/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 6034 function prototypes and stuff, but not '\xHH' hex character constants. 6035 These don't provoke an error unfortunately, instead are silently treated 6036 as 'x'. The following induces an error, until -std is added to get 6037 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 6038 array size at least. It's necessary to write '\x00'==0 to get something 6039 that's true only with -std. */ 6040int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 6041 6042/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 6043 inside strings and character constants. */ 6044#define FOO(x) 'x' 6045int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 6046 6047int test (int i, double x); 6048struct s1 {int (*f) (int a);}; 6049struct s2 {int (*f) (double a);}; 6050int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 6051int argc; 6052char **argv; 6053int 6054main () 6055{ 6056return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 6057 ; 6058 return 0; 6059} 6060_ACEOF 6061for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 6062 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 6063do 6064 CC="$ac_save_CC $ac_arg" 6065 if ac_fn_c_try_compile "$LINENO"; then : 6066 ac_cv_prog_cc_c89=$ac_arg 6067fi 6068rm -f core conftest.err conftest.$ac_objext 6069 test "x$ac_cv_prog_cc_c89" != "xno" && break 6070done 6071rm -f conftest.$ac_ext 6072CC=$ac_save_CC 6073 6074fi 6075# AC_CACHE_VAL 6076case "x$ac_cv_prog_cc_c89" in 6077 x) 6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 6079$as_echo "none needed" >&6; } ;; 6080 xno) 6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 6082$as_echo "unsupported" >&6; } ;; 6083 *) 6084 CC="$CC $ac_cv_prog_cc_c89" 6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 6086$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 6087esac 6088if test "x$ac_cv_prog_cc_c89" != xno; then : 6089 6090fi 6091 6092ac_ext=c 6093ac_cpp='$CPP $CPPFLAGS' 6094ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6095ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6096ac_compiler_gnu=$ac_cv_c_compiler_gnu 6097 6098depcc="$CC" am_compiler_list= 6099 6100{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 6101$as_echo_n "checking dependency style of $depcc... " >&6; } 6102if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 6103 $as_echo_n "(cached) " >&6 6104else 6105 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 6106 # We make a subdir and do the tests there. Otherwise we can end up 6107 # making bogus files that we don't know about and never remove. For 6108 # instance it was reported that on HP-UX the gcc test will end up 6109 # making a dummy file named `D' -- because `-MD' means `put the output 6110 # in D'. 6111 mkdir conftest.dir 6112 # Copy depcomp to subdir because otherwise we won't find it if we're 6113 # using a relative directory. 6114 cp "$am_depcomp" conftest.dir 6115 cd conftest.dir 6116 # We will build objects and dependencies in a subdirectory because 6117 # it helps to detect inapplicable dependency modes. For instance 6118 # both Tru64's cc and ICC support -MD to output dependencies as a 6119 # side effect of compilation, but ICC will put the dependencies in 6120 # the current directory while Tru64 will put them in the object 6121 # directory. 6122 mkdir sub 6123 6124 am_cv_CC_dependencies_compiler_type=none 6125 if test "$am_compiler_list" = ""; then 6126 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 6127 fi 6128 am__universal=false 6129 case " $depcc " in #( 6130 *\ -arch\ *\ -arch\ *) am__universal=true ;; 6131 esac 6132 6133 for depmode in $am_compiler_list; do 6134 # Setup a source with many dependencies, because some compilers 6135 # like to wrap large dependency lists on column 80 (with \), and 6136 # we should not choose a depcomp mode which is confused by this. 6137 # 6138 # We need to recreate these files for each test, as the compiler may 6139 # overwrite some of them when testing with obscure command lines. 6140 # This happens at least with the AIX C compiler. 6141 : > sub/conftest.c 6142 for i in 1 2 3 4 5 6; do 6143 echo '#include "conftst'$i'.h"' >> sub/conftest.c 6144 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 6145 # Solaris 8's {/usr,}/bin/sh. 6146 touch sub/conftst$i.h 6147 done 6148 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 6149 6150 # We check with `-c' and `-o' for the sake of the "dashmstdout" 6151 # mode. It turns out that the SunPro C++ compiler does not properly 6152 # handle `-M -o', and we need to detect this. Also, some Intel 6153 # versions had trouble with output in subdirs 6154 am__obj=sub/conftest.${OBJEXT-o} 6155 am__minus_obj="-o $am__obj" 6156 case $depmode in 6157 gcc) 6158 # This depmode causes a compiler race in universal mode. 6159 test "$am__universal" = false || continue 6160 ;; 6161 nosideeffect) 6162 # after this tag, mechanisms are not by side-effect, so they'll 6163 # only be used when explicitly requested 6164 if test "x$enable_dependency_tracking" = xyes; then 6165 continue 6166 else 6167 break 6168 fi 6169 ;; 6170 msvisualcpp | msvcmsys) 6171 # This compiler won't grok `-c -o', but also, the minuso test has 6172 # not run yet. These depmodes are late enough in the game, and 6173 # so weak that their functioning should not be impacted. 6174 am__obj=conftest.${OBJEXT-o} 6175 am__minus_obj= 6176 ;; 6177 none) break ;; 6178 esac 6179 if depmode=$depmode \ 6180 source=sub/conftest.c object=$am__obj \ 6181 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 6182 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 6183 >/dev/null 2>conftest.err && 6184 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 6185 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 6186 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 6187 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 6188 # icc doesn't choke on unknown options, it will just issue warnings 6189 # or remarks (even with -Werror). So we grep stderr for any message 6190 # that says an option was ignored or not supported. 6191 # When given -MP, icc 7.0 and 7.1 complain thusly: 6192 # icc: Command line warning: ignoring option '-M'; no argument required 6193 # The diagnosis changed in icc 8.0: 6194 # icc: Command line remark: option '-MP' not supported 6195 if (grep 'ignoring option' conftest.err || 6196 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 6197 am_cv_CC_dependencies_compiler_type=$depmode 6198 break 6199 fi 6200 fi 6201 done 6202 6203 cd .. 6204 rm -rf conftest.dir 6205else 6206 am_cv_CC_dependencies_compiler_type=none 6207fi 6208 6209fi 6210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 6211$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 6212CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 6213 6214 if 6215 test "x$enable_dependency_tracking" != xno \ 6216 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 6217 am__fastdepCC_TRUE= 6218 am__fastdepCC_FALSE='#' 6219else 6220 am__fastdepCC_TRUE='#' 6221 am__fastdepCC_FALSE= 6222fi 6223 6224 6225# Check whether --enable-static was given. 6226if test "${enable_static+set}" = set; then : 6227 enableval=$enable_static; p=${PACKAGE-default} 6228 case $enableval in 6229 yes) enable_static=yes ;; 6230 no) enable_static=no ;; 6231 *) 6232 enable_static=no 6233 # Look at the argument we got. We use all the common list separators. 6234 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 6235 for pkg in $enableval; do 6236 IFS="$lt_save_ifs" 6237 if test "X$pkg" = "X$p"; then 6238 enable_static=yes 6239 fi 6240 done 6241 IFS="$lt_save_ifs" 6242 ;; 6243 esac 6244else 6245 enable_static=no 6246fi 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256enable_dlopen=yes 6257 6258 6259 6260case `pwd` in 6261 *\ * | *\ *) 6262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 6263$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 6264esac 6265 6266 6267 6268macro_version='2.2.6b' 6269macro_revision='1.3017' 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283ltmain="$ac_aux_dir/ltmain.sh" 6284 6285# Make sure we can run config.sub. 6286$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 6287 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 6288 6289{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 6290$as_echo_n "checking build system type... " >&6; } 6291if test "${ac_cv_build+set}" = set; then : 6292 $as_echo_n "(cached) " >&6 6293else 6294 ac_build_alias=$build_alias 6295test "x$ac_build_alias" = x && 6296 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 6297test "x$ac_build_alias" = x && 6298 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 6299ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 6300 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 6301 6302fi 6303{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 6304$as_echo "$ac_cv_build" >&6; } 6305case $ac_cv_build in 6306*-*-*) ;; 6307*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; 6308esac 6309build=$ac_cv_build 6310ac_save_IFS=$IFS; IFS='-' 6311set x $ac_cv_build 6312shift 6313build_cpu=$1 6314build_vendor=$2 6315shift; shift 6316# Remember, the first character of IFS is used to create $*, 6317# except with old shells: 6318build_os=$* 6319IFS=$ac_save_IFS 6320case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 6321 6322 6323{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 6324$as_echo_n "checking host system type... " >&6; } 6325if test "${ac_cv_host+set}" = set; then : 6326 $as_echo_n "(cached) " >&6 6327else 6328 if test "x$host_alias" = x; then 6329 ac_cv_host=$ac_cv_build 6330else 6331 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 6332 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 6333fi 6334 6335fi 6336{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 6337$as_echo "$ac_cv_host" >&6; } 6338case $ac_cv_host in 6339*-*-*) ;; 6340*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; 6341esac 6342host=$ac_cv_host 6343ac_save_IFS=$IFS; IFS='-' 6344set x $ac_cv_host 6345shift 6346host_cpu=$1 6347host_vendor=$2 6348shift; shift 6349# Remember, the first character of IFS is used to create $*, 6350# except with old shells: 6351host_os=$* 6352IFS=$ac_save_IFS 6353case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 6354 6355 6356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 6357$as_echo_n "checking for a sed that does not truncate output... " >&6; } 6358if test "${ac_cv_path_SED+set}" = set; then : 6359 $as_echo_n "(cached) " >&6 6360else 6361 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 6362 for ac_i in 1 2 3 4 5 6 7; do 6363 ac_script="$ac_script$as_nl$ac_script" 6364 done 6365 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 6366 { ac_script=; unset ac_script;} 6367 if test -z "$SED"; then 6368 ac_path_SED_found=false 6369 # Loop through the user's path and test for each of PROGNAME-LIST 6370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6371for as_dir in $PATH 6372do 6373 IFS=$as_save_IFS 6374 test -z "$as_dir" && as_dir=. 6375 for ac_prog in sed gsed; do 6376 for ac_exec_ext in '' $ac_executable_extensions; do 6377 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 6378 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 6379# Check for GNU ac_path_SED and select it if it is found. 6380 # Check for GNU $ac_path_SED 6381case `"$ac_path_SED" --version 2>&1` in 6382*GNU*) 6383 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 6384*) 6385 ac_count=0 6386 $as_echo_n 0123456789 >"conftest.in" 6387 while : 6388 do 6389 cat "conftest.in" "conftest.in" >"conftest.tmp" 6390 mv "conftest.tmp" "conftest.in" 6391 cp "conftest.in" "conftest.nl" 6392 $as_echo '' >> "conftest.nl" 6393 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 6394 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6395 as_fn_arith $ac_count + 1 && ac_count=$as_val 6396 if test $ac_count -gt ${ac_path_SED_max-0}; then 6397 # Best one so far, save it but keep looking for a better one 6398 ac_cv_path_SED="$ac_path_SED" 6399 ac_path_SED_max=$ac_count 6400 fi 6401 # 10*(2^10) chars as input seems more than enough 6402 test $ac_count -gt 10 && break 6403 done 6404 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6405esac 6406 6407 $ac_path_SED_found && break 3 6408 done 6409 done 6410 done 6411IFS=$as_save_IFS 6412 if test -z "$ac_cv_path_SED"; then 6413 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 6414 fi 6415else 6416 ac_cv_path_SED=$SED 6417fi 6418 6419fi 6420{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 6421$as_echo "$ac_cv_path_SED" >&6; } 6422 SED="$ac_cv_path_SED" 6423 rm -f conftest.sed 6424 6425test -z "$SED" && SED=sed 6426Xsed="$SED -e 1s/^X//" 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 6439$as_echo_n "checking for fgrep... " >&6; } 6440if test "${ac_cv_path_FGREP+set}" = set; then : 6441 $as_echo_n "(cached) " >&6 6442else 6443 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 6444 then ac_cv_path_FGREP="$GREP -F" 6445 else 6446 if test -z "$FGREP"; then 6447 ac_path_FGREP_found=false 6448 # Loop through the user's path and test for each of PROGNAME-LIST 6449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6450for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 6451do 6452 IFS=$as_save_IFS 6453 test -z "$as_dir" && as_dir=. 6454 for ac_prog in fgrep; do 6455 for ac_exec_ext in '' $ac_executable_extensions; do 6456 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 6457 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 6458# Check for GNU ac_path_FGREP and select it if it is found. 6459 # Check for GNU $ac_path_FGREP 6460case `"$ac_path_FGREP" --version 2>&1` in 6461*GNU*) 6462 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 6463*) 6464 ac_count=0 6465 $as_echo_n 0123456789 >"conftest.in" 6466 while : 6467 do 6468 cat "conftest.in" "conftest.in" >"conftest.tmp" 6469 mv "conftest.tmp" "conftest.in" 6470 cp "conftest.in" "conftest.nl" 6471 $as_echo 'FGREP' >> "conftest.nl" 6472 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 6473 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6474 as_fn_arith $ac_count + 1 && ac_count=$as_val 6475 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 6476 # Best one so far, save it but keep looking for a better one 6477 ac_cv_path_FGREP="$ac_path_FGREP" 6478 ac_path_FGREP_max=$ac_count 6479 fi 6480 # 10*(2^10) chars as input seems more than enough 6481 test $ac_count -gt 10 && break 6482 done 6483 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6484esac 6485 6486 $ac_path_FGREP_found && break 3 6487 done 6488 done 6489 done 6490IFS=$as_save_IFS 6491 if test -z "$ac_cv_path_FGREP"; then 6492 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 6493 fi 6494else 6495 ac_cv_path_FGREP=$FGREP 6496fi 6497 6498 fi 6499fi 6500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 6501$as_echo "$ac_cv_path_FGREP" >&6; } 6502 FGREP="$ac_cv_path_FGREP" 6503 6504 6505test -z "$GREP" && GREP=grep 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525# Check whether --with-gnu-ld was given. 6526if test "${with_gnu_ld+set}" = set; then : 6527 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 6528else 6529 with_gnu_ld=no 6530fi 6531 6532ac_prog=ld 6533if test "$GCC" = yes; then 6534 # Check if gcc -print-prog-name=ld gives a path. 6535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 6536$as_echo_n "checking for ld used by $CC... " >&6; } 6537 case $host in 6538 *-*-mingw*) 6539 # gcc leaves a trailing carriage return which upsets mingw 6540 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 6541 *) 6542 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 6543 esac 6544 case $ac_prog in 6545 # Accept absolute paths. 6546 [\\/]* | ?:[\\/]*) 6547 re_direlt='/[^/][^/]*/\.\./' 6548 # Canonicalize the pathname of ld 6549 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 6550 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 6551 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 6552 done 6553 test -z "$LD" && LD="$ac_prog" 6554 ;; 6555 "") 6556 # If it fails, then pretend we aren't using GCC. 6557 ac_prog=ld 6558 ;; 6559 *) 6560 # If it is relative, then search for the first ld in PATH. 6561 with_gnu_ld=unknown 6562 ;; 6563 esac 6564elif test "$with_gnu_ld" = yes; then 6565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 6566$as_echo_n "checking for GNU ld... " >&6; } 6567else 6568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 6569$as_echo_n "checking for non-GNU ld... " >&6; } 6570fi 6571if test "${lt_cv_path_LD+set}" = set; then : 6572 $as_echo_n "(cached) " >&6 6573else 6574 if test -z "$LD"; then 6575 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 6576 for ac_dir in $PATH; do 6577 IFS="$lt_save_ifs" 6578 test -z "$ac_dir" && ac_dir=. 6579 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 6580 lt_cv_path_LD="$ac_dir/$ac_prog" 6581 # Check to see if the program is GNU ld. I'd rather use --version, 6582 # but apparently some variants of GNU ld only accept -v. 6583 # Break only if it was the GNU/non-GNU ld that we prefer. 6584 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 6585 *GNU* | *'with BFD'*) 6586 test "$with_gnu_ld" != no && break 6587 ;; 6588 *) 6589 test "$with_gnu_ld" != yes && break 6590 ;; 6591 esac 6592 fi 6593 done 6594 IFS="$lt_save_ifs" 6595else 6596 lt_cv_path_LD="$LD" # Let the user override the test with a path. 6597fi 6598fi 6599 6600LD="$lt_cv_path_LD" 6601if test -n "$LD"; then 6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 6603$as_echo "$LD" >&6; } 6604else 6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6606$as_echo "no" >&6; } 6607fi 6608test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 6609{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 6610$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 6611if test "${lt_cv_prog_gnu_ld+set}" = set; then : 6612 $as_echo_n "(cached) " >&6 6613else 6614 # I'd rather use --version here, but apparently some GNU lds only accept -v. 6615case `$LD -v 2>&1 </dev/null` in 6616*GNU* | *'with BFD'*) 6617 lt_cv_prog_gnu_ld=yes 6618 ;; 6619*) 6620 lt_cv_prog_gnu_ld=no 6621 ;; 6622esac 6623fi 6624{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 6625$as_echo "$lt_cv_prog_gnu_ld" >&6; } 6626with_gnu_ld=$lt_cv_prog_gnu_ld 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 6637$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 6638if test "${lt_cv_path_NM+set}" = set; then : 6639 $as_echo_n "(cached) " >&6 6640else 6641 if test -n "$NM"; then 6642 # Let the user override the test. 6643 lt_cv_path_NM="$NM" 6644else 6645 lt_nm_to_check="${ac_tool_prefix}nm" 6646 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 6647 lt_nm_to_check="$lt_nm_to_check nm" 6648 fi 6649 for lt_tmp_nm in $lt_nm_to_check; do 6650 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 6651 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 6652 IFS="$lt_save_ifs" 6653 test -z "$ac_dir" && ac_dir=. 6654 tmp_nm="$ac_dir/$lt_tmp_nm" 6655 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 6656 # Check to see if the nm accepts a BSD-compat flag. 6657 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 6658 # nm: unknown option "B" ignored 6659 # Tru64's nm complains that /dev/null is an invalid object file 6660 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 6661 */dev/null* | *'Invalid file or object type'*) 6662 lt_cv_path_NM="$tmp_nm -B" 6663 break 6664 ;; 6665 *) 6666 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 6667 */dev/null*) 6668 lt_cv_path_NM="$tmp_nm -p" 6669 break 6670 ;; 6671 *) 6672 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 6673 continue # so that we can try to find one that supports BSD flags 6674 ;; 6675 esac 6676 ;; 6677 esac 6678 fi 6679 done 6680 IFS="$lt_save_ifs" 6681 done 6682 : ${lt_cv_path_NM=no} 6683fi 6684fi 6685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 6686$as_echo "$lt_cv_path_NM" >&6; } 6687if test "$lt_cv_path_NM" != "no"; then 6688 NM="$lt_cv_path_NM" 6689else 6690 # Didn't find any BSD compatible name lister, look for dumpbin. 6691 if test -n "$ac_tool_prefix"; then 6692 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 6693 do 6694 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6695set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6697$as_echo_n "checking for $ac_word... " >&6; } 6698if test "${ac_cv_prog_DUMPBIN+set}" = set; then : 6699 $as_echo_n "(cached) " >&6 6700else 6701 if test -n "$DUMPBIN"; then 6702 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 6703else 6704as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6705for as_dir in $PATH 6706do 6707 IFS=$as_save_IFS 6708 test -z "$as_dir" && as_dir=. 6709 for ac_exec_ext in '' $ac_executable_extensions; do 6710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6711 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 6712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6713 break 2 6714 fi 6715done 6716 done 6717IFS=$as_save_IFS 6718 6719fi 6720fi 6721DUMPBIN=$ac_cv_prog_DUMPBIN 6722if test -n "$DUMPBIN"; then 6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 6724$as_echo "$DUMPBIN" >&6; } 6725else 6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6727$as_echo "no" >&6; } 6728fi 6729 6730 6731 test -n "$DUMPBIN" && break 6732 done 6733fi 6734if test -z "$DUMPBIN"; then 6735 ac_ct_DUMPBIN=$DUMPBIN 6736 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 6737do 6738 # Extract the first word of "$ac_prog", so it can be a program name with args. 6739set dummy $ac_prog; ac_word=$2 6740{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6741$as_echo_n "checking for $ac_word... " >&6; } 6742if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : 6743 $as_echo_n "(cached) " >&6 6744else 6745 if test -n "$ac_ct_DUMPBIN"; then 6746 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 6747else 6748as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6749for as_dir in $PATH 6750do 6751 IFS=$as_save_IFS 6752 test -z "$as_dir" && as_dir=. 6753 for ac_exec_ext in '' $ac_executable_extensions; do 6754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6755 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 6756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6757 break 2 6758 fi 6759done 6760 done 6761IFS=$as_save_IFS 6762 6763fi 6764fi 6765ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 6766if test -n "$ac_ct_DUMPBIN"; then 6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 6768$as_echo "$ac_ct_DUMPBIN" >&6; } 6769else 6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6771$as_echo "no" >&6; } 6772fi 6773 6774 6775 test -n "$ac_ct_DUMPBIN" && break 6776done 6777 6778 if test "x$ac_ct_DUMPBIN" = x; then 6779 DUMPBIN=":" 6780 else 6781 case $cross_compiling:$ac_tool_warned in 6782yes:) 6783{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6784$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6785ac_tool_warned=yes ;; 6786esac 6787 DUMPBIN=$ac_ct_DUMPBIN 6788 fi 6789fi 6790 6791 6792 if test "$DUMPBIN" != ":"; then 6793 NM="$DUMPBIN" 6794 fi 6795fi 6796test -z "$NM" && NM=nm 6797 6798 6799 6800 6801 6802 6803{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 6804$as_echo_n "checking the name lister ($NM) interface... " >&6; } 6805if test "${lt_cv_nm_interface+set}" = set; then : 6806 $as_echo_n "(cached) " >&6 6807else 6808 lt_cv_nm_interface="BSD nm" 6809 echo "int some_variable = 0;" > conftest.$ac_ext 6810 (eval echo "\"\$as_me:6810: $ac_compile\"" >&5) 6811 (eval "$ac_compile" 2>conftest.err) 6812 cat conftest.err >&5 6813 (eval echo "\"\$as_me:6813: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 6814 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 6815 cat conftest.err >&5 6816 (eval echo "\"\$as_me:6816: output\"" >&5) 6817 cat conftest.out >&5 6818 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 6819 lt_cv_nm_interface="MS dumpbin" 6820 fi 6821 rm -f conftest* 6822fi 6823{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 6824$as_echo "$lt_cv_nm_interface" >&6; } 6825 6826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 6827$as_echo_n "checking whether ln -s works... " >&6; } 6828LN_S=$as_ln_s 6829if test "$LN_S" = "ln -s"; then 6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6831$as_echo "yes" >&6; } 6832else 6833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 6834$as_echo "no, using $LN_S" >&6; } 6835fi 6836 6837# find the maximum length of command line arguments 6838{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 6839$as_echo_n "checking the maximum length of command line arguments... " >&6; } 6840if test "${lt_cv_sys_max_cmd_len+set}" = set; then : 6841 $as_echo_n "(cached) " >&6 6842else 6843 i=0 6844 teststring="ABCD" 6845 6846 case $build_os in 6847 msdosdjgpp*) 6848 # On DJGPP, this test can blow up pretty badly due to problems in libc 6849 # (any single argument exceeding 2000 bytes causes a buffer overrun 6850 # during glob expansion). Even if it were fixed, the result of this 6851 # check would be larger than it should be. 6852 lt_cv_sys_max_cmd_len=12288; # 12K is about right 6853 ;; 6854 6855 gnu*) 6856 # Under GNU Hurd, this test is not required because there is 6857 # no limit to the length of command line arguments. 6858 # Libtool will interpret -1 as no limit whatsoever 6859 lt_cv_sys_max_cmd_len=-1; 6860 ;; 6861 6862 cygwin* | mingw* | cegcc*) 6863 # On Win9x/ME, this test blows up -- it succeeds, but takes 6864 # about 5 minutes as the teststring grows exponentially. 6865 # Worse, since 9x/ME are not pre-emptively multitasking, 6866 # you end up with a "frozen" computer, even though with patience 6867 # the test eventually succeeds (with a max line length of 256k). 6868 # Instead, let's just punt: use the minimum linelength reported by 6869 # all of the supported platforms: 8192 (on NT/2K/XP). 6870 lt_cv_sys_max_cmd_len=8192; 6871 ;; 6872 6873 amigaos*) 6874 # On AmigaOS with pdksh, this test takes hours, literally. 6875 # So we just punt and use a minimum line length of 8192. 6876 lt_cv_sys_max_cmd_len=8192; 6877 ;; 6878 6879 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 6880 # This has been around since 386BSD, at least. Likely further. 6881 if test -x /sbin/sysctl; then 6882 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 6883 elif test -x /usr/sbin/sysctl; then 6884 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 6885 else 6886 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 6887 fi 6888 # And add a safety zone 6889 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6890 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6891 ;; 6892 6893 interix*) 6894 # We know the value 262144 and hardcode it with a safety zone (like BSD) 6895 lt_cv_sys_max_cmd_len=196608 6896 ;; 6897 6898 osf*) 6899 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 6900 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 6901 # nice to cause kernel panics so lets avoid the loop below. 6902 # First set a reasonable default. 6903 lt_cv_sys_max_cmd_len=16384 6904 # 6905 if test -x /sbin/sysconfig; then 6906 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 6907 *1*) lt_cv_sys_max_cmd_len=-1 ;; 6908 esac 6909 fi 6910 ;; 6911 sco3.2v5*) 6912 lt_cv_sys_max_cmd_len=102400 6913 ;; 6914 sysv5* | sco5v6* | sysv4.2uw2*) 6915 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 6916 if test -n "$kargmax"; then 6917 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 6918 else 6919 lt_cv_sys_max_cmd_len=32768 6920 fi 6921 ;; 6922 *) 6923 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 6924 if test -n "$lt_cv_sys_max_cmd_len"; then 6925 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6926 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6927 else 6928 # Make teststring a little bigger before we do anything with it. 6929 # a 1K string should be a reasonable start. 6930 for i in 1 2 3 4 5 6 7 8 ; do 6931 teststring=$teststring$teststring 6932 done 6933 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 6934 # If test is not a shell built-in, we'll probably end up computing a 6935 # maximum length that is only half of the actual maximum length, but 6936 # we can't tell. 6937 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ 6938 = "XX$teststring$teststring"; } >/dev/null 2>&1 && 6939 test $i != 17 # 1/2 MB should be enough 6940 do 6941 i=`expr $i + 1` 6942 teststring=$teststring$teststring 6943 done 6944 # Only check the string length outside the loop. 6945 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 6946 teststring= 6947 # Add a significant safety factor because C++ compilers can tack on 6948 # massive amounts of additional arguments before passing them to the 6949 # linker. It appears as though 1/2 is a usable value. 6950 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 6951 fi 6952 ;; 6953 esac 6954 6955fi 6956 6957if test -n $lt_cv_sys_max_cmd_len ; then 6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 6959$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 6960else 6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 6962$as_echo "none" >&6; } 6963fi 6964max_cmd_len=$lt_cv_sys_max_cmd_len 6965 6966 6967 6968 6969 6970 6971: ${CP="cp -f"} 6972: ${MV="mv -f"} 6973: ${RM="rm -f"} 6974 6975{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 6976$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 6977# Try some XSI features 6978xsi_shell=no 6979( _lt_dummy="a/b/c" 6980 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ 6981 = c,a/b,, \ 6982 && eval 'test $(( 1 + 1 )) -eq 2 \ 6983 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 6984 && xsi_shell=yes 6985{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 6986$as_echo "$xsi_shell" >&6; } 6987 6988 6989{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 6990$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 6991lt_shell_append=no 6992( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 6993 >/dev/null 2>&1 \ 6994 && lt_shell_append=yes 6995{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 6996$as_echo "$lt_shell_append" >&6; } 6997 6998 6999if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 7000 lt_unset=unset 7001else 7002 lt_unset=false 7003fi 7004 7005 7006 7007 7008 7009# test EBCDIC or ASCII 7010case `echo X|tr X '\101'` in 7011 A) # ASCII based system 7012 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 7013 lt_SP2NL='tr \040 \012' 7014 lt_NL2SP='tr \015\012 \040\040' 7015 ;; 7016 *) # EBCDIC based system 7017 lt_SP2NL='tr \100 \n' 7018 lt_NL2SP='tr \r\n \100\100' 7019 ;; 7020esac 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 7031$as_echo_n "checking for $LD option to reload object files... " >&6; } 7032if test "${lt_cv_ld_reload_flag+set}" = set; then : 7033 $as_echo_n "(cached) " >&6 7034else 7035 lt_cv_ld_reload_flag='-r' 7036fi 7037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 7038$as_echo "$lt_cv_ld_reload_flag" >&6; } 7039reload_flag=$lt_cv_ld_reload_flag 7040case $reload_flag in 7041"" | " "*) ;; 7042*) reload_flag=" $reload_flag" ;; 7043esac 7044reload_cmds='$LD$reload_flag -o $output$reload_objs' 7045case $host_os in 7046 darwin*) 7047 if test "$GCC" = yes; then 7048 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 7049 else 7050 reload_cmds='$LD$reload_flag -o $output$reload_objs' 7051 fi 7052 ;; 7053esac 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063if test -n "$ac_tool_prefix"; then 7064 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 7065set dummy ${ac_tool_prefix}objdump; ac_word=$2 7066{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7067$as_echo_n "checking for $ac_word... " >&6; } 7068if test "${ac_cv_prog_OBJDUMP+set}" = set; then : 7069 $as_echo_n "(cached) " >&6 7070else 7071 if test -n "$OBJDUMP"; then 7072 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 7073else 7074as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7075for as_dir in $PATH 7076do 7077 IFS=$as_save_IFS 7078 test -z "$as_dir" && as_dir=. 7079 for ac_exec_ext in '' $ac_executable_extensions; do 7080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7081 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 7082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7083 break 2 7084 fi 7085done 7086 done 7087IFS=$as_save_IFS 7088 7089fi 7090fi 7091OBJDUMP=$ac_cv_prog_OBJDUMP 7092if test -n "$OBJDUMP"; then 7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 7094$as_echo "$OBJDUMP" >&6; } 7095else 7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7097$as_echo "no" >&6; } 7098fi 7099 7100 7101fi 7102if test -z "$ac_cv_prog_OBJDUMP"; then 7103 ac_ct_OBJDUMP=$OBJDUMP 7104 # Extract the first word of "objdump", so it can be a program name with args. 7105set dummy objdump; ac_word=$2 7106{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7107$as_echo_n "checking for $ac_word... " >&6; } 7108if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : 7109 $as_echo_n "(cached) " >&6 7110else 7111 if test -n "$ac_ct_OBJDUMP"; then 7112 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 7113else 7114as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7115for as_dir in $PATH 7116do 7117 IFS=$as_save_IFS 7118 test -z "$as_dir" && as_dir=. 7119 for ac_exec_ext in '' $ac_executable_extensions; do 7120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7121 ac_cv_prog_ac_ct_OBJDUMP="objdump" 7122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7123 break 2 7124 fi 7125done 7126 done 7127IFS=$as_save_IFS 7128 7129fi 7130fi 7131ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 7132if test -n "$ac_ct_OBJDUMP"; then 7133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 7134$as_echo "$ac_ct_OBJDUMP" >&6; } 7135else 7136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7137$as_echo "no" >&6; } 7138fi 7139 7140 if test "x$ac_ct_OBJDUMP" = x; then 7141 OBJDUMP="false" 7142 else 7143 case $cross_compiling:$ac_tool_warned in 7144yes:) 7145{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7146$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7147ac_tool_warned=yes ;; 7148esac 7149 OBJDUMP=$ac_ct_OBJDUMP 7150 fi 7151else 7152 OBJDUMP="$ac_cv_prog_OBJDUMP" 7153fi 7154 7155test -z "$OBJDUMP" && OBJDUMP=objdump 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 7166$as_echo_n "checking how to recognize dependent libraries... " >&6; } 7167if test "${lt_cv_deplibs_check_method+set}" = set; then : 7168 $as_echo_n "(cached) " >&6 7169else 7170 lt_cv_file_magic_cmd='$MAGIC_CMD' 7171lt_cv_file_magic_test_file= 7172lt_cv_deplibs_check_method='unknown' 7173# Need to set the preceding variable on all platforms that support 7174# interlibrary dependencies. 7175# 'none' -- dependencies not supported. 7176# `unknown' -- same as none, but documents that we really don't know. 7177# 'pass_all' -- all dependencies passed with no checks. 7178# 'test_compile' -- check by making test program. 7179# 'file_magic [[regex]]' -- check by looking for files in library path 7180# which responds to the $file_magic_cmd with a given extended regex. 7181# If you have `file' or equivalent on your system and you're not sure 7182# whether `pass_all' will *always* work, you probably want this one. 7183 7184case $host_os in 7185aix[4-9]*) 7186 lt_cv_deplibs_check_method=pass_all 7187 ;; 7188 7189beos*) 7190 lt_cv_deplibs_check_method=pass_all 7191 ;; 7192 7193bsdi[45]*) 7194 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 7195 lt_cv_file_magic_cmd='/usr/bin/file -L' 7196 lt_cv_file_magic_test_file=/shlib/libc.so 7197 ;; 7198 7199cygwin*) 7200 # func_win32_libid is a shell function defined in ltmain.sh 7201 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 7202 lt_cv_file_magic_cmd='func_win32_libid' 7203 ;; 7204 7205mingw* | pw32*) 7206 # Base MSYS/MinGW do not provide the 'file' command needed by 7207 # func_win32_libid shell function, so use a weaker test based on 'objdump', 7208 # unless we find 'file', for example because we are cross-compiling. 7209 if ( file / ) >/dev/null 2>&1; then 7210 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 7211 lt_cv_file_magic_cmd='func_win32_libid' 7212 else 7213 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 7214 lt_cv_file_magic_cmd='$OBJDUMP -f' 7215 fi 7216 ;; 7217 7218cegcc) 7219 # use the weaker test based on 'objdump'. See mingw*. 7220 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 7221 lt_cv_file_magic_cmd='$OBJDUMP -f' 7222 ;; 7223 7224darwin* | rhapsody*) 7225 lt_cv_deplibs_check_method=pass_all 7226 ;; 7227 7228freebsd* | dragonfly*) 7229 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7230 case $host_cpu in 7231 i*86 ) 7232 # Not sure whether the presence of OpenBSD here was a mistake. 7233 # Let's accept both of them until this is cleared up. 7234 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 7235 lt_cv_file_magic_cmd=/usr/bin/file 7236 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 7237 ;; 7238 esac 7239 else 7240 lt_cv_deplibs_check_method=pass_all 7241 fi 7242 ;; 7243 7244gnu*) 7245 lt_cv_deplibs_check_method=pass_all 7246 ;; 7247 7248hpux10.20* | hpux11*) 7249 lt_cv_file_magic_cmd=/usr/bin/file 7250 case $host_cpu in 7251 ia64*) 7252 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 7253 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 7254 ;; 7255 hppa*64*) 7256 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]' 7257 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 7258 ;; 7259 *) 7260 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 7261 lt_cv_file_magic_test_file=/usr/lib/libc.sl 7262 ;; 7263 esac 7264 ;; 7265 7266interix[3-9]*) 7267 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 7268 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 7269 ;; 7270 7271irix5* | irix6* | nonstopux*) 7272 case $LD in 7273 *-32|*"-32 ") libmagic=32-bit;; 7274 *-n32|*"-n32 ") libmagic=N32;; 7275 *-64|*"-64 ") libmagic=64-bit;; 7276 *) libmagic=never-match;; 7277 esac 7278 lt_cv_deplibs_check_method=pass_all 7279 ;; 7280 7281# This must be Linux ELF. 7282linux* | k*bsd*-gnu | kopensolaris*-gnu) 7283 lt_cv_deplibs_check_method=pass_all 7284 ;; 7285 7286netbsd* | netbsdelf*-gnu) 7287 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7288 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7289 else 7290 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 7291 fi 7292 ;; 7293 7294newos6*) 7295 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 7296 lt_cv_file_magic_cmd=/usr/bin/file 7297 lt_cv_file_magic_test_file=/usr/lib/libnls.so 7298 ;; 7299 7300*nto* | *qnx*) 7301 lt_cv_deplibs_check_method=pass_all 7302 ;; 7303 7304openbsd*) 7305 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 7306 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 7307 else 7308 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7309 fi 7310 ;; 7311 7312osf3* | osf4* | osf5*) 7313 lt_cv_deplibs_check_method=pass_all 7314 ;; 7315 7316rdos*) 7317 lt_cv_deplibs_check_method=pass_all 7318 ;; 7319 7320solaris*) 7321 lt_cv_deplibs_check_method=pass_all 7322 ;; 7323 7324sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 7325 lt_cv_deplibs_check_method=pass_all 7326 ;; 7327 7328sysv4 | sysv4.3*) 7329 case $host_vendor in 7330 motorola) 7331 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]' 7332 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 7333 ;; 7334 ncr) 7335 lt_cv_deplibs_check_method=pass_all 7336 ;; 7337 sequent) 7338 lt_cv_file_magic_cmd='/bin/file' 7339 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 7340 ;; 7341 sni) 7342 lt_cv_file_magic_cmd='/bin/file' 7343 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 7344 lt_cv_file_magic_test_file=/lib/libc.so 7345 ;; 7346 siemens) 7347 lt_cv_deplibs_check_method=pass_all 7348 ;; 7349 pc) 7350 lt_cv_deplibs_check_method=pass_all 7351 ;; 7352 esac 7353 ;; 7354 7355tpf*) 7356 lt_cv_deplibs_check_method=pass_all 7357 ;; 7358esac 7359 7360fi 7361{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 7362$as_echo "$lt_cv_deplibs_check_method" >&6; } 7363file_magic_cmd=$lt_cv_file_magic_cmd 7364deplibs_check_method=$lt_cv_deplibs_check_method 7365test -z "$deplibs_check_method" && deplibs_check_method=unknown 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378if test -n "$ac_tool_prefix"; then 7379 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 7380set dummy ${ac_tool_prefix}ar; ac_word=$2 7381{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7382$as_echo_n "checking for $ac_word... " >&6; } 7383if test "${ac_cv_prog_AR+set}" = set; then : 7384 $as_echo_n "(cached) " >&6 7385else 7386 if test -n "$AR"; then 7387 ac_cv_prog_AR="$AR" # Let the user override the test. 7388else 7389as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7390for as_dir in $PATH 7391do 7392 IFS=$as_save_IFS 7393 test -z "$as_dir" && as_dir=. 7394 for ac_exec_ext in '' $ac_executable_extensions; do 7395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7396 ac_cv_prog_AR="${ac_tool_prefix}ar" 7397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7398 break 2 7399 fi 7400done 7401 done 7402IFS=$as_save_IFS 7403 7404fi 7405fi 7406AR=$ac_cv_prog_AR 7407if test -n "$AR"; then 7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 7409$as_echo "$AR" >&6; } 7410else 7411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7412$as_echo "no" >&6; } 7413fi 7414 7415 7416fi 7417if test -z "$ac_cv_prog_AR"; then 7418 ac_ct_AR=$AR 7419 # Extract the first word of "ar", so it can be a program name with args. 7420set dummy ar; ac_word=$2 7421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7422$as_echo_n "checking for $ac_word... " >&6; } 7423if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : 7424 $as_echo_n "(cached) " >&6 7425else 7426 if test -n "$ac_ct_AR"; then 7427 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 7428else 7429as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7430for as_dir in $PATH 7431do 7432 IFS=$as_save_IFS 7433 test -z "$as_dir" && as_dir=. 7434 for ac_exec_ext in '' $ac_executable_extensions; do 7435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7436 ac_cv_prog_ac_ct_AR="ar" 7437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7438 break 2 7439 fi 7440done 7441 done 7442IFS=$as_save_IFS 7443 7444fi 7445fi 7446ac_ct_AR=$ac_cv_prog_ac_ct_AR 7447if test -n "$ac_ct_AR"; then 7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 7449$as_echo "$ac_ct_AR" >&6; } 7450else 7451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7452$as_echo "no" >&6; } 7453fi 7454 7455 if test "x$ac_ct_AR" = x; then 7456 AR="false" 7457 else 7458 case $cross_compiling:$ac_tool_warned in 7459yes:) 7460{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7461$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7462ac_tool_warned=yes ;; 7463esac 7464 AR=$ac_ct_AR 7465 fi 7466else 7467 AR="$ac_cv_prog_AR" 7468fi 7469 7470test -z "$AR" && AR=ar 7471test -z "$AR_FLAGS" && AR_FLAGS=cru 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483if test -n "$ac_tool_prefix"; then 7484 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 7485set dummy ${ac_tool_prefix}strip; ac_word=$2 7486{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7487$as_echo_n "checking for $ac_word... " >&6; } 7488if test "${ac_cv_prog_STRIP+set}" = set; then : 7489 $as_echo_n "(cached) " >&6 7490else 7491 if test -n "$STRIP"; then 7492 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 7493else 7494as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7495for as_dir in $PATH 7496do 7497 IFS=$as_save_IFS 7498 test -z "$as_dir" && as_dir=. 7499 for ac_exec_ext in '' $ac_executable_extensions; do 7500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7501 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 7502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7503 break 2 7504 fi 7505done 7506 done 7507IFS=$as_save_IFS 7508 7509fi 7510fi 7511STRIP=$ac_cv_prog_STRIP 7512if test -n "$STRIP"; then 7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 7514$as_echo "$STRIP" >&6; } 7515else 7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7517$as_echo "no" >&6; } 7518fi 7519 7520 7521fi 7522if test -z "$ac_cv_prog_STRIP"; then 7523 ac_ct_STRIP=$STRIP 7524 # Extract the first word of "strip", so it can be a program name with args. 7525set dummy strip; ac_word=$2 7526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7527$as_echo_n "checking for $ac_word... " >&6; } 7528if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 7529 $as_echo_n "(cached) " >&6 7530else 7531 if test -n "$ac_ct_STRIP"; then 7532 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 7533else 7534as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7535for as_dir in $PATH 7536do 7537 IFS=$as_save_IFS 7538 test -z "$as_dir" && as_dir=. 7539 for ac_exec_ext in '' $ac_executable_extensions; do 7540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7541 ac_cv_prog_ac_ct_STRIP="strip" 7542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7543 break 2 7544 fi 7545done 7546 done 7547IFS=$as_save_IFS 7548 7549fi 7550fi 7551ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 7552if test -n "$ac_ct_STRIP"; then 7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 7554$as_echo "$ac_ct_STRIP" >&6; } 7555else 7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7557$as_echo "no" >&6; } 7558fi 7559 7560 if test "x$ac_ct_STRIP" = x; then 7561 STRIP=":" 7562 else 7563 case $cross_compiling:$ac_tool_warned in 7564yes:) 7565{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7566$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7567ac_tool_warned=yes ;; 7568esac 7569 STRIP=$ac_ct_STRIP 7570 fi 7571else 7572 STRIP="$ac_cv_prog_STRIP" 7573fi 7574 7575test -z "$STRIP" && STRIP=: 7576 7577 7578 7579 7580 7581 7582if test -n "$ac_tool_prefix"; then 7583 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 7584set dummy ${ac_tool_prefix}ranlib; ac_word=$2 7585{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7586$as_echo_n "checking for $ac_word... " >&6; } 7587if test "${ac_cv_prog_RANLIB+set}" = set; then : 7588 $as_echo_n "(cached) " >&6 7589else 7590 if test -n "$RANLIB"; then 7591 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 7592else 7593as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7594for as_dir in $PATH 7595do 7596 IFS=$as_save_IFS 7597 test -z "$as_dir" && as_dir=. 7598 for ac_exec_ext in '' $ac_executable_extensions; do 7599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7600 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 7601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7602 break 2 7603 fi 7604done 7605 done 7606IFS=$as_save_IFS 7607 7608fi 7609fi 7610RANLIB=$ac_cv_prog_RANLIB 7611if test -n "$RANLIB"; then 7612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 7613$as_echo "$RANLIB" >&6; } 7614else 7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7616$as_echo "no" >&6; } 7617fi 7618 7619 7620fi 7621if test -z "$ac_cv_prog_RANLIB"; then 7622 ac_ct_RANLIB=$RANLIB 7623 # Extract the first word of "ranlib", so it can be a program name with args. 7624set dummy ranlib; ac_word=$2 7625{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7626$as_echo_n "checking for $ac_word... " >&6; } 7627if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 7628 $as_echo_n "(cached) " >&6 7629else 7630 if test -n "$ac_ct_RANLIB"; then 7631 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 7632else 7633as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7634for as_dir in $PATH 7635do 7636 IFS=$as_save_IFS 7637 test -z "$as_dir" && as_dir=. 7638 for ac_exec_ext in '' $ac_executable_extensions; do 7639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7640 ac_cv_prog_ac_ct_RANLIB="ranlib" 7641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7642 break 2 7643 fi 7644done 7645 done 7646IFS=$as_save_IFS 7647 7648fi 7649fi 7650ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 7651if test -n "$ac_ct_RANLIB"; then 7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 7653$as_echo "$ac_ct_RANLIB" >&6; } 7654else 7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7656$as_echo "no" >&6; } 7657fi 7658 7659 if test "x$ac_ct_RANLIB" = x; then 7660 RANLIB=":" 7661 else 7662 case $cross_compiling:$ac_tool_warned in 7663yes:) 7664{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7665$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7666ac_tool_warned=yes ;; 7667esac 7668 RANLIB=$ac_ct_RANLIB 7669 fi 7670else 7671 RANLIB="$ac_cv_prog_RANLIB" 7672fi 7673 7674test -z "$RANLIB" && RANLIB=: 7675 7676 7677 7678 7679 7680 7681# Determine commands to create old-style static archives. 7682old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 7683old_postinstall_cmds='chmod 644 $oldlib' 7684old_postuninstall_cmds= 7685 7686if test -n "$RANLIB"; then 7687 case $host_os in 7688 openbsd*) 7689 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 7690 ;; 7691 *) 7692 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 7693 ;; 7694 esac 7695 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 7696fi 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731# If no C compiler was specified, use CC. 7732LTCC=${LTCC-"$CC"} 7733 7734# If no C compiler flags were specified, use CFLAGS. 7735LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7736 7737# Allow CC to be a program name with arguments. 7738compiler=$CC 7739 7740 7741# Check for command to grab the raw symbol name followed by C symbol from nm. 7742{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 7743$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 7744if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : 7745 $as_echo_n "(cached) " >&6 7746else 7747 7748# These are sane defaults that work on at least a few old systems. 7749# [They come from Ultrix. What could be older than Ultrix?!! ;)] 7750 7751# Character class describing NM global symbol codes. 7752symcode='[BCDEGRST]' 7753 7754# Regexp to match symbols that can be accessed directly from C. 7755sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 7756 7757# Define system-specific variables. 7758case $host_os in 7759aix*) 7760 symcode='[BCDT]' 7761 ;; 7762cygwin* | mingw* | pw32* | cegcc*) 7763 symcode='[ABCDGISTW]' 7764 ;; 7765hpux*) 7766 if test "$host_cpu" = ia64; then 7767 symcode='[ABCDEGRST]' 7768 fi 7769 ;; 7770irix* | nonstopux*) 7771 symcode='[BCDEGRST]' 7772 ;; 7773osf*) 7774 symcode='[BCDEGQRST]' 7775 ;; 7776solaris*) 7777 symcode='[BDRT]' 7778 ;; 7779sco3.2v5*) 7780 symcode='[DT]' 7781 ;; 7782sysv4.2uw2*) 7783 symcode='[DT]' 7784 ;; 7785sysv5* | sco5v6* | unixware* | OpenUNIX*) 7786 symcode='[ABDT]' 7787 ;; 7788sysv4) 7789 symcode='[DFNSTU]' 7790 ;; 7791esac 7792 7793# If we're using GNU nm, then use its standard symbol codes. 7794case `$NM -V 2>&1` in 7795*GNU* | *'with BFD'*) 7796 symcode='[ABCDGIRSTW]' ;; 7797esac 7798 7799# Transform an extracted symbol line into a proper C declaration. 7800# Some systems (esp. on ia64) link data and code symbols differently, 7801# so use this general approach. 7802lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 7803 7804# Transform an extracted symbol line into symbol name and symbol address 7805lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 7806lt_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'" 7807 7808# Handle CRLF in mingw tool chain 7809opt_cr= 7810case $build_os in 7811mingw*) 7812 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 7813 ;; 7814esac 7815 7816# Try without a prefix underscore, then with it. 7817for ac_symprfx in "" "_"; do 7818 7819 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 7820 symxfrm="\\1 $ac_symprfx\\2 \\2" 7821 7822 # Write the raw and C identifiers. 7823 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7824 # Fake it for dumpbin and say T for any non-static function 7825 # and D for any global variable. 7826 # Also find C++ and __fastcall symbols from MSVC++, 7827 # which start with @ or ?. 7828 lt_cv_sys_global_symbol_pipe="$AWK '"\ 7829" {last_section=section; section=\$ 3};"\ 7830" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 7831" \$ 0!~/External *\|/{next};"\ 7832" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 7833" {if(hide[section]) next};"\ 7834" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 7835" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 7836" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 7837" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 7838" ' prfx=^$ac_symprfx" 7839 else 7840 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 7841 fi 7842 7843 # Check to see that the pipe works correctly. 7844 pipe_works=no 7845 7846 rm -f conftest* 7847 cat > conftest.$ac_ext <<_LT_EOF 7848#ifdef __cplusplus 7849extern "C" { 7850#endif 7851char nm_test_var; 7852void nm_test_func(void); 7853void nm_test_func(void){} 7854#ifdef __cplusplus 7855} 7856#endif 7857int main(){nm_test_var='a';nm_test_func();return(0);} 7858_LT_EOF 7859 7860 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7861 (eval $ac_compile) 2>&5 7862 ac_status=$? 7863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7864 test $ac_status = 0; }; then 7865 # Now try to grab the symbols. 7866 nlist=conftest.nm 7867 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 7868 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 7869 ac_status=$? 7870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7871 test $ac_status = 0; } && test -s "$nlist"; then 7872 # Try sorting and uniquifying the output. 7873 if sort "$nlist" | uniq > "$nlist"T; then 7874 mv -f "$nlist"T "$nlist" 7875 else 7876 rm -f "$nlist"T 7877 fi 7878 7879 # Make sure that we snagged all the symbols we need. 7880 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 7881 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 7882 cat <<_LT_EOF > conftest.$ac_ext 7883#ifdef __cplusplus 7884extern "C" { 7885#endif 7886 7887_LT_EOF 7888 # Now generate the symbol file. 7889 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 7890 7891 cat <<_LT_EOF >> conftest.$ac_ext 7892 7893/* The mapping between symbol names and symbols. */ 7894const struct { 7895 const char *name; 7896 void *address; 7897} 7898lt__PROGRAM__LTX_preloaded_symbols[] = 7899{ 7900 { "@PROGRAM@", (void *) 0 }, 7901_LT_EOF 7902 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 7903 cat <<\_LT_EOF >> conftest.$ac_ext 7904 {0, (void *) 0} 7905}; 7906 7907/* This works around a problem in FreeBSD linker */ 7908#ifdef FREEBSD_WORKAROUND 7909static const void *lt_preloaded_setup() { 7910 return lt__PROGRAM__LTX_preloaded_symbols; 7911} 7912#endif 7913 7914#ifdef __cplusplus 7915} 7916#endif 7917_LT_EOF 7918 # Now try linking the two files. 7919 mv conftest.$ac_objext conftstm.$ac_objext 7920 lt_save_LIBS="$LIBS" 7921 lt_save_CFLAGS="$CFLAGS" 7922 LIBS="conftstm.$ac_objext" 7923 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 7924 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 7925 (eval $ac_link) 2>&5 7926 ac_status=$? 7927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7928 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 7929 pipe_works=yes 7930 fi 7931 LIBS="$lt_save_LIBS" 7932 CFLAGS="$lt_save_CFLAGS" 7933 else 7934 echo "cannot find nm_test_func in $nlist" >&5 7935 fi 7936 else 7937 echo "cannot find nm_test_var in $nlist" >&5 7938 fi 7939 else 7940 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 7941 fi 7942 else 7943 echo "$progname: failed program was:" >&5 7944 cat conftest.$ac_ext >&5 7945 fi 7946 rm -rf conftest* conftst* 7947 7948 # Do not use the global_symbol_pipe unless it works. 7949 if test "$pipe_works" = yes; then 7950 break 7951 else 7952 lt_cv_sys_global_symbol_pipe= 7953 fi 7954done 7955 7956fi 7957 7958if test -z "$lt_cv_sys_global_symbol_pipe"; then 7959 lt_cv_sys_global_symbol_to_cdecl= 7960fi 7961if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 7963$as_echo "failed" >&6; } 7964else 7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 7966$as_echo "ok" >&6; } 7967fi 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990# Check whether --enable-libtool-lock was given. 7991if test "${enable_libtool_lock+set}" = set; then : 7992 enableval=$enable_libtool_lock; 7993fi 7994 7995test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 7996 7997# Some flags need to be propagated to the compiler or linker for good 7998# libtool support. 7999case $host in 8000ia64-*-hpux*) 8001 # Find out which ABI we are using. 8002 echo 'int i;' > conftest.$ac_ext 8003 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8004 (eval $ac_compile) 2>&5 8005 ac_status=$? 8006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8007 test $ac_status = 0; }; then 8008 case `/usr/bin/file conftest.$ac_objext` in 8009 *ELF-32*) 8010 HPUX_IA64_MODE="32" 8011 ;; 8012 *ELF-64*) 8013 HPUX_IA64_MODE="64" 8014 ;; 8015 esac 8016 fi 8017 rm -rf conftest* 8018 ;; 8019*-*-irix6*) 8020 # Find out which ABI we are using. 8021 echo '#line 8021 "configure"' > conftest.$ac_ext 8022 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8023 (eval $ac_compile) 2>&5 8024 ac_status=$? 8025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8026 test $ac_status = 0; }; then 8027 if test "$lt_cv_prog_gnu_ld" = yes; then 8028 case `/usr/bin/file conftest.$ac_objext` in 8029 *32-bit*) 8030 LD="${LD-ld} -melf32bsmip" 8031 ;; 8032 *N32*) 8033 LD="${LD-ld} -melf32bmipn32" 8034 ;; 8035 *64-bit*) 8036 LD="${LD-ld} -melf64bmip" 8037 ;; 8038 esac 8039 else 8040 case `/usr/bin/file conftest.$ac_objext` in 8041 *32-bit*) 8042 LD="${LD-ld} -32" 8043 ;; 8044 *N32*) 8045 LD="${LD-ld} -n32" 8046 ;; 8047 *64-bit*) 8048 LD="${LD-ld} -64" 8049 ;; 8050 esac 8051 fi 8052 fi 8053 rm -rf conftest* 8054 ;; 8055 8056x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 8057s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 8058 # Find out which ABI we are using. 8059 echo 'int i;' > conftest.$ac_ext 8060 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8061 (eval $ac_compile) 2>&5 8062 ac_status=$? 8063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8064 test $ac_status = 0; }; then 8065 case `/usr/bin/file conftest.o` in 8066 *32-bit*) 8067 case $host in 8068 x86_64-*kfreebsd*-gnu) 8069 LD="${LD-ld} -m elf_i386_fbsd" 8070 ;; 8071 x86_64-*linux*) 8072 LD="${LD-ld} -m elf_i386" 8073 ;; 8074 ppc64-*linux*|powerpc64-*linux*) 8075 LD="${LD-ld} -m elf32ppclinux" 8076 ;; 8077 s390x-*linux*) 8078 LD="${LD-ld} -m elf_s390" 8079 ;; 8080 sparc64-*linux*) 8081 LD="${LD-ld} -m elf32_sparc" 8082 ;; 8083 esac 8084 ;; 8085 *64-bit*) 8086 case $host in 8087 x86_64-*kfreebsd*-gnu) 8088 LD="${LD-ld} -m elf_x86_64_fbsd" 8089 ;; 8090 x86_64-*linux*) 8091 LD="${LD-ld} -m elf_x86_64" 8092 ;; 8093 ppc*-*linux*|powerpc*-*linux*) 8094 LD="${LD-ld} -m elf64ppc" 8095 ;; 8096 s390*-*linux*|s390*-*tpf*) 8097 LD="${LD-ld} -m elf64_s390" 8098 ;; 8099 sparc*-*linux*) 8100 LD="${LD-ld} -m elf64_sparc" 8101 ;; 8102 esac 8103 ;; 8104 esac 8105 fi 8106 rm -rf conftest* 8107 ;; 8108 8109*-*-sco3.2v5*) 8110 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 8111 SAVE_CFLAGS="$CFLAGS" 8112 CFLAGS="$CFLAGS -belf" 8113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 8114$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 8115if test "${lt_cv_cc_needs_belf+set}" = set; then : 8116 $as_echo_n "(cached) " >&6 8117else 8118 ac_ext=c 8119ac_cpp='$CPP $CPPFLAGS' 8120ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8121ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8122ac_compiler_gnu=$ac_cv_c_compiler_gnu 8123 8124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8125/* end confdefs.h. */ 8126 8127int 8128main () 8129{ 8130 8131 ; 8132 return 0; 8133} 8134_ACEOF 8135if ac_fn_c_try_link "$LINENO"; then : 8136 lt_cv_cc_needs_belf=yes 8137else 8138 lt_cv_cc_needs_belf=no 8139fi 8140rm -f core conftest.err conftest.$ac_objext \ 8141 conftest$ac_exeext conftest.$ac_ext 8142 ac_ext=c 8143ac_cpp='$CPP $CPPFLAGS' 8144ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8145ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8146ac_compiler_gnu=$ac_cv_c_compiler_gnu 8147 8148fi 8149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 8150$as_echo "$lt_cv_cc_needs_belf" >&6; } 8151 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 8152 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 8153 CFLAGS="$SAVE_CFLAGS" 8154 fi 8155 ;; 8156sparc*-*solaris*) 8157 # Find out which ABI we are using. 8158 echo 'int i;' > conftest.$ac_ext 8159 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8160 (eval $ac_compile) 2>&5 8161 ac_status=$? 8162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8163 test $ac_status = 0; }; then 8164 case `/usr/bin/file conftest.o` in 8165 *64-bit*) 8166 case $lt_cv_prog_gnu_ld in 8167 yes*) LD="${LD-ld} -m elf64_sparc" ;; 8168 *) 8169 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 8170 LD="${LD-ld} -64" 8171 fi 8172 ;; 8173 esac 8174 ;; 8175 esac 8176 fi 8177 rm -rf conftest* 8178 ;; 8179esac 8180 8181need_locks="$enable_libtool_lock" 8182 8183 8184 case $host_os in 8185 rhapsody* | darwin*) 8186 if test -n "$ac_tool_prefix"; then 8187 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 8188set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 8189{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8190$as_echo_n "checking for $ac_word... " >&6; } 8191if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : 8192 $as_echo_n "(cached) " >&6 8193else 8194 if test -n "$DSYMUTIL"; then 8195 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 8196else 8197as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8198for as_dir in $PATH 8199do 8200 IFS=$as_save_IFS 8201 test -z "$as_dir" && as_dir=. 8202 for ac_exec_ext in '' $ac_executable_extensions; do 8203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8204 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 8205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8206 break 2 8207 fi 8208done 8209 done 8210IFS=$as_save_IFS 8211 8212fi 8213fi 8214DSYMUTIL=$ac_cv_prog_DSYMUTIL 8215if test -n "$DSYMUTIL"; then 8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 8217$as_echo "$DSYMUTIL" >&6; } 8218else 8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8220$as_echo "no" >&6; } 8221fi 8222 8223 8224fi 8225if test -z "$ac_cv_prog_DSYMUTIL"; then 8226 ac_ct_DSYMUTIL=$DSYMUTIL 8227 # Extract the first word of "dsymutil", so it can be a program name with args. 8228set dummy dsymutil; ac_word=$2 8229{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8230$as_echo_n "checking for $ac_word... " >&6; } 8231if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : 8232 $as_echo_n "(cached) " >&6 8233else 8234 if test -n "$ac_ct_DSYMUTIL"; then 8235 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 8236else 8237as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8238for as_dir in $PATH 8239do 8240 IFS=$as_save_IFS 8241 test -z "$as_dir" && as_dir=. 8242 for ac_exec_ext in '' $ac_executable_extensions; do 8243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8244 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 8245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8246 break 2 8247 fi 8248done 8249 done 8250IFS=$as_save_IFS 8251 8252fi 8253fi 8254ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 8255if test -n "$ac_ct_DSYMUTIL"; then 8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 8257$as_echo "$ac_ct_DSYMUTIL" >&6; } 8258else 8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8260$as_echo "no" >&6; } 8261fi 8262 8263 if test "x$ac_ct_DSYMUTIL" = x; then 8264 DSYMUTIL=":" 8265 else 8266 case $cross_compiling:$ac_tool_warned in 8267yes:) 8268{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8269$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8270ac_tool_warned=yes ;; 8271esac 8272 DSYMUTIL=$ac_ct_DSYMUTIL 8273 fi 8274else 8275 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 8276fi 8277 8278 if test -n "$ac_tool_prefix"; then 8279 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 8280set dummy ${ac_tool_prefix}nmedit; ac_word=$2 8281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8282$as_echo_n "checking for $ac_word... " >&6; } 8283if test "${ac_cv_prog_NMEDIT+set}" = set; then : 8284 $as_echo_n "(cached) " >&6 8285else 8286 if test -n "$NMEDIT"; then 8287 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 8288else 8289as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8290for as_dir in $PATH 8291do 8292 IFS=$as_save_IFS 8293 test -z "$as_dir" && as_dir=. 8294 for ac_exec_ext in '' $ac_executable_extensions; do 8295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8296 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 8297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8298 break 2 8299 fi 8300done 8301 done 8302IFS=$as_save_IFS 8303 8304fi 8305fi 8306NMEDIT=$ac_cv_prog_NMEDIT 8307if test -n "$NMEDIT"; then 8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 8309$as_echo "$NMEDIT" >&6; } 8310else 8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8312$as_echo "no" >&6; } 8313fi 8314 8315 8316fi 8317if test -z "$ac_cv_prog_NMEDIT"; then 8318 ac_ct_NMEDIT=$NMEDIT 8319 # Extract the first word of "nmedit", so it can be a program name with args. 8320set dummy nmedit; ac_word=$2 8321{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8322$as_echo_n "checking for $ac_word... " >&6; } 8323if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : 8324 $as_echo_n "(cached) " >&6 8325else 8326 if test -n "$ac_ct_NMEDIT"; then 8327 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 8328else 8329as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8330for as_dir in $PATH 8331do 8332 IFS=$as_save_IFS 8333 test -z "$as_dir" && as_dir=. 8334 for ac_exec_ext in '' $ac_executable_extensions; do 8335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8336 ac_cv_prog_ac_ct_NMEDIT="nmedit" 8337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8338 break 2 8339 fi 8340done 8341 done 8342IFS=$as_save_IFS 8343 8344fi 8345fi 8346ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 8347if test -n "$ac_ct_NMEDIT"; then 8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 8349$as_echo "$ac_ct_NMEDIT" >&6; } 8350else 8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8352$as_echo "no" >&6; } 8353fi 8354 8355 if test "x$ac_ct_NMEDIT" = x; then 8356 NMEDIT=":" 8357 else 8358 case $cross_compiling:$ac_tool_warned in 8359yes:) 8360{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8361$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8362ac_tool_warned=yes ;; 8363esac 8364 NMEDIT=$ac_ct_NMEDIT 8365 fi 8366else 8367 NMEDIT="$ac_cv_prog_NMEDIT" 8368fi 8369 8370 if test -n "$ac_tool_prefix"; then 8371 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 8372set dummy ${ac_tool_prefix}lipo; ac_word=$2 8373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8374$as_echo_n "checking for $ac_word... " >&6; } 8375if test "${ac_cv_prog_LIPO+set}" = set; then : 8376 $as_echo_n "(cached) " >&6 8377else 8378 if test -n "$LIPO"; then 8379 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 8380else 8381as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8382for as_dir in $PATH 8383do 8384 IFS=$as_save_IFS 8385 test -z "$as_dir" && as_dir=. 8386 for ac_exec_ext in '' $ac_executable_extensions; do 8387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8388 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 8389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8390 break 2 8391 fi 8392done 8393 done 8394IFS=$as_save_IFS 8395 8396fi 8397fi 8398LIPO=$ac_cv_prog_LIPO 8399if test -n "$LIPO"; then 8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 8401$as_echo "$LIPO" >&6; } 8402else 8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8404$as_echo "no" >&6; } 8405fi 8406 8407 8408fi 8409if test -z "$ac_cv_prog_LIPO"; then 8410 ac_ct_LIPO=$LIPO 8411 # Extract the first word of "lipo", so it can be a program name with args. 8412set dummy lipo; ac_word=$2 8413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8414$as_echo_n "checking for $ac_word... " >&6; } 8415if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : 8416 $as_echo_n "(cached) " >&6 8417else 8418 if test -n "$ac_ct_LIPO"; then 8419 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 8420else 8421as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8422for as_dir in $PATH 8423do 8424 IFS=$as_save_IFS 8425 test -z "$as_dir" && as_dir=. 8426 for ac_exec_ext in '' $ac_executable_extensions; do 8427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8428 ac_cv_prog_ac_ct_LIPO="lipo" 8429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8430 break 2 8431 fi 8432done 8433 done 8434IFS=$as_save_IFS 8435 8436fi 8437fi 8438ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 8439if test -n "$ac_ct_LIPO"; then 8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 8441$as_echo "$ac_ct_LIPO" >&6; } 8442else 8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8444$as_echo "no" >&6; } 8445fi 8446 8447 if test "x$ac_ct_LIPO" = x; then 8448 LIPO=":" 8449 else 8450 case $cross_compiling:$ac_tool_warned in 8451yes:) 8452{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8453$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8454ac_tool_warned=yes ;; 8455esac 8456 LIPO=$ac_ct_LIPO 8457 fi 8458else 8459 LIPO="$ac_cv_prog_LIPO" 8460fi 8461 8462 if test -n "$ac_tool_prefix"; then 8463 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 8464set dummy ${ac_tool_prefix}otool; ac_word=$2 8465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8466$as_echo_n "checking for $ac_word... " >&6; } 8467if test "${ac_cv_prog_OTOOL+set}" = set; then : 8468 $as_echo_n "(cached) " >&6 8469else 8470 if test -n "$OTOOL"; then 8471 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 8472else 8473as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8474for as_dir in $PATH 8475do 8476 IFS=$as_save_IFS 8477 test -z "$as_dir" && as_dir=. 8478 for ac_exec_ext in '' $ac_executable_extensions; do 8479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8480 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 8481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8482 break 2 8483 fi 8484done 8485 done 8486IFS=$as_save_IFS 8487 8488fi 8489fi 8490OTOOL=$ac_cv_prog_OTOOL 8491if test -n "$OTOOL"; then 8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 8493$as_echo "$OTOOL" >&6; } 8494else 8495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8496$as_echo "no" >&6; } 8497fi 8498 8499 8500fi 8501if test -z "$ac_cv_prog_OTOOL"; then 8502 ac_ct_OTOOL=$OTOOL 8503 # Extract the first word of "otool", so it can be a program name with args. 8504set dummy otool; ac_word=$2 8505{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8506$as_echo_n "checking for $ac_word... " >&6; } 8507if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : 8508 $as_echo_n "(cached) " >&6 8509else 8510 if test -n "$ac_ct_OTOOL"; then 8511 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 8512else 8513as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8514for as_dir in $PATH 8515do 8516 IFS=$as_save_IFS 8517 test -z "$as_dir" && as_dir=. 8518 for ac_exec_ext in '' $ac_executable_extensions; do 8519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8520 ac_cv_prog_ac_ct_OTOOL="otool" 8521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8522 break 2 8523 fi 8524done 8525 done 8526IFS=$as_save_IFS 8527 8528fi 8529fi 8530ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 8531if test -n "$ac_ct_OTOOL"; then 8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 8533$as_echo "$ac_ct_OTOOL" >&6; } 8534else 8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8536$as_echo "no" >&6; } 8537fi 8538 8539 if test "x$ac_ct_OTOOL" = x; then 8540 OTOOL=":" 8541 else 8542 case $cross_compiling:$ac_tool_warned in 8543yes:) 8544{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8545$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8546ac_tool_warned=yes ;; 8547esac 8548 OTOOL=$ac_ct_OTOOL 8549 fi 8550else 8551 OTOOL="$ac_cv_prog_OTOOL" 8552fi 8553 8554 if test -n "$ac_tool_prefix"; then 8555 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 8556set dummy ${ac_tool_prefix}otool64; ac_word=$2 8557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8558$as_echo_n "checking for $ac_word... " >&6; } 8559if test "${ac_cv_prog_OTOOL64+set}" = set; then : 8560 $as_echo_n "(cached) " >&6 8561else 8562 if test -n "$OTOOL64"; then 8563 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 8564else 8565as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8566for as_dir in $PATH 8567do 8568 IFS=$as_save_IFS 8569 test -z "$as_dir" && as_dir=. 8570 for ac_exec_ext in '' $ac_executable_extensions; do 8571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8572 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 8573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8574 break 2 8575 fi 8576done 8577 done 8578IFS=$as_save_IFS 8579 8580fi 8581fi 8582OTOOL64=$ac_cv_prog_OTOOL64 8583if test -n "$OTOOL64"; then 8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 8585$as_echo "$OTOOL64" >&6; } 8586else 8587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8588$as_echo "no" >&6; } 8589fi 8590 8591 8592fi 8593if test -z "$ac_cv_prog_OTOOL64"; then 8594 ac_ct_OTOOL64=$OTOOL64 8595 # Extract the first word of "otool64", so it can be a program name with args. 8596set dummy otool64; ac_word=$2 8597{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8598$as_echo_n "checking for $ac_word... " >&6; } 8599if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : 8600 $as_echo_n "(cached) " >&6 8601else 8602 if test -n "$ac_ct_OTOOL64"; then 8603 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 8604else 8605as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8606for as_dir in $PATH 8607do 8608 IFS=$as_save_IFS 8609 test -z "$as_dir" && as_dir=. 8610 for ac_exec_ext in '' $ac_executable_extensions; do 8611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8612 ac_cv_prog_ac_ct_OTOOL64="otool64" 8613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8614 break 2 8615 fi 8616done 8617 done 8618IFS=$as_save_IFS 8619 8620fi 8621fi 8622ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 8623if test -n "$ac_ct_OTOOL64"; then 8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 8625$as_echo "$ac_ct_OTOOL64" >&6; } 8626else 8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8628$as_echo "no" >&6; } 8629fi 8630 8631 if test "x$ac_ct_OTOOL64" = x; then 8632 OTOOL64=":" 8633 else 8634 case $cross_compiling:$ac_tool_warned in 8635yes:) 8636{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8637$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8638ac_tool_warned=yes ;; 8639esac 8640 OTOOL64=$ac_ct_OTOOL64 8641 fi 8642else 8643 OTOOL64="$ac_cv_prog_OTOOL64" 8644fi 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 8673$as_echo_n "checking for -single_module linker flag... " >&6; } 8674if test "${lt_cv_apple_cc_single_mod+set}" = set; then : 8675 $as_echo_n "(cached) " >&6 8676else 8677 lt_cv_apple_cc_single_mod=no 8678 if test -z "${LT_MULTI_MODULE}"; then 8679 # By default we will add the -single_module flag. You can override 8680 # by either setting the environment variable LT_MULTI_MODULE 8681 # non-empty at configure time, or by adding -multi_module to the 8682 # link flags. 8683 rm -rf libconftest.dylib* 8684 echo "int foo(void){return 1;}" > conftest.c 8685 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8686-dynamiclib -Wl,-single_module conftest.c" >&5 8687 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8688 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 8689 _lt_result=$? 8690 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then 8691 lt_cv_apple_cc_single_mod=yes 8692 else 8693 cat conftest.err >&5 8694 fi 8695 rm -rf libconftest.dylib* 8696 rm -f conftest.* 8697 fi 8698fi 8699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 8700$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 8701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 8702$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 8703if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : 8704 $as_echo_n "(cached) " >&6 8705else 8706 lt_cv_ld_exported_symbols_list=no 8707 save_LDFLAGS=$LDFLAGS 8708 echo "_main" > conftest.sym 8709 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 8710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8711/* end confdefs.h. */ 8712 8713int 8714main () 8715{ 8716 8717 ; 8718 return 0; 8719} 8720_ACEOF 8721if ac_fn_c_try_link "$LINENO"; then : 8722 lt_cv_ld_exported_symbols_list=yes 8723else 8724 lt_cv_ld_exported_symbols_list=no 8725fi 8726rm -f core conftest.err conftest.$ac_objext \ 8727 conftest$ac_exeext conftest.$ac_ext 8728 LDFLAGS="$save_LDFLAGS" 8729 8730fi 8731{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 8732$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 8733 case $host_os in 8734 rhapsody* | darwin1.[012]) 8735 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 8736 darwin1.*) 8737 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 8738 darwin*) # darwin 5.x on 8739 # if running on 10.5 or later, the deployment target defaults 8740 # to the OS version, if on x86, and 10.4, the deployment 8741 # target defaults to 10.4. Don't you love it? 8742 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 8743 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 8744 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 8745 10.[012]*) 8746 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 8747 10.*) 8748 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 8749 esac 8750 ;; 8751 esac 8752 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 8753 _lt_dar_single_mod='$single_module' 8754 fi 8755 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 8756 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 8757 else 8758 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 8759 fi 8760 if test "$DSYMUTIL" != ":"; then 8761 _lt_dsymutil='~$DSYMUTIL $lib || :' 8762 else 8763 _lt_dsymutil= 8764 fi 8765 ;; 8766 esac 8767 8768for ac_header in dlfcn.h 8769do : 8770 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 8771" 8772if test "x$ac_cv_header_dlfcn_h" = x""yes; then : 8773 cat >>confdefs.h <<_ACEOF 8774#define HAVE_DLFCN_H 1 8775_ACEOF 8776 8777fi 8778 8779done 8780 8781 8782 8783# Set options 8784 8785 8786 8787 8788 enable_win32_dll=no 8789 8790 8791 # Check whether --enable-shared was given. 8792if test "${enable_shared+set}" = set; then : 8793 enableval=$enable_shared; p=${PACKAGE-default} 8794 case $enableval in 8795 yes) enable_shared=yes ;; 8796 no) enable_shared=no ;; 8797 *) 8798 enable_shared=no 8799 # Look at the argument we got. We use all the common list separators. 8800 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8801 for pkg in $enableval; do 8802 IFS="$lt_save_ifs" 8803 if test "X$pkg" = "X$p"; then 8804 enable_shared=yes 8805 fi 8806 done 8807 IFS="$lt_save_ifs" 8808 ;; 8809 esac 8810else 8811 enable_shared=yes 8812fi 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824# Check whether --with-pic was given. 8825if test "${with_pic+set}" = set; then : 8826 withval=$with_pic; pic_mode="$withval" 8827else 8828 pic_mode=default 8829fi 8830 8831 8832test -z "$pic_mode" && pic_mode=default 8833 8834 8835 8836 8837 8838 8839 8840 # Check whether --enable-fast-install was given. 8841if test "${enable_fast_install+set}" = set; then : 8842 enableval=$enable_fast_install; p=${PACKAGE-default} 8843 case $enableval in 8844 yes) enable_fast_install=yes ;; 8845 no) enable_fast_install=no ;; 8846 *) 8847 enable_fast_install=no 8848 # Look at the argument we got. We use all the common list separators. 8849 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8850 for pkg in $enableval; do 8851 IFS="$lt_save_ifs" 8852 if test "X$pkg" = "X$p"; then 8853 enable_fast_install=yes 8854 fi 8855 done 8856 IFS="$lt_save_ifs" 8857 ;; 8858 esac 8859else 8860 enable_fast_install=yes 8861fi 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873# This can be used to rebuild libtool when needed 8874LIBTOOL_DEPS="$ltmain" 8875 8876# Always use our own libtool. 8877LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903test -z "$LN_S" && LN_S="ln -s" 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918if test -n "${ZSH_VERSION+set}" ; then 8919 setopt NO_GLOB_SUBST 8920fi 8921 8922{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8923$as_echo_n "checking for objdir... " >&6; } 8924if test "${lt_cv_objdir+set}" = set; then : 8925 $as_echo_n "(cached) " >&6 8926else 8927 rm -f .libs 2>/dev/null 8928mkdir .libs 2>/dev/null 8929if test -d .libs; then 8930 lt_cv_objdir=.libs 8931else 8932 # MS-DOS does not allow filenames that begin with a dot. 8933 lt_cv_objdir=_libs 8934fi 8935rmdir .libs 2>/dev/null 8936fi 8937{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8938$as_echo "$lt_cv_objdir" >&6; } 8939objdir=$lt_cv_objdir 8940 8941 8942 8943 8944 8945cat >>confdefs.h <<_ACEOF 8946#define LT_OBJDIR "$lt_cv_objdir/" 8947_ACEOF 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965case $host_os in 8966aix3*) 8967 # AIX sometimes has problems with the GCC collect2 program. For some 8968 # reason, if we set the COLLECT_NAMES environment variable, the problems 8969 # vanish in a puff of smoke. 8970 if test "X${COLLECT_NAMES+set}" != Xset; then 8971 COLLECT_NAMES= 8972 export COLLECT_NAMES 8973 fi 8974 ;; 8975esac 8976 8977# Sed substitution that helps us do robust quoting. It backslashifies 8978# metacharacters that are still active within double-quoted strings. 8979sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 8980 8981# Same as above, but do not quote variable references. 8982double_quote_subst='s/\(["`\\]\)/\\\1/g' 8983 8984# Sed substitution to delay expansion of an escaped shell variable in a 8985# double_quote_subst'ed string. 8986delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 8987 8988# Sed substitution to delay expansion of an escaped single quote. 8989delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 8990 8991# Sed substitution to avoid accidental globbing in evaled expressions 8992no_glob_subst='s/\*/\\\*/g' 8993 8994# Global variables: 8995ofile=libtool 8996can_build_shared=yes 8997 8998# All known linkers require a `.a' archive for static linking (except MSVC, 8999# which needs '.lib'). 9000libext=a 9001 9002with_gnu_ld="$lt_cv_prog_gnu_ld" 9003 9004old_CC="$CC" 9005old_CFLAGS="$CFLAGS" 9006 9007# Set sane defaults for various variables 9008test -z "$CC" && CC=cc 9009test -z "$LTCC" && LTCC=$CC 9010test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 9011test -z "$LD" && LD=ld 9012test -z "$ac_objext" && ac_objext=o 9013 9014for cc_temp in $compiler""; do 9015 case $cc_temp in 9016 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 9017 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 9018 \-*) ;; 9019 *) break;; 9020 esac 9021done 9022cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 9023 9024 9025# Only perform the check for file, if the check method requires it 9026test -z "$MAGIC_CMD" && MAGIC_CMD=file 9027case $deplibs_check_method in 9028file_magic*) 9029 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 9030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 9031$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 9032if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 9033 $as_echo_n "(cached) " >&6 9034else 9035 case $MAGIC_CMD in 9036[\\/*] | ?:[\\/]*) 9037 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 9038 ;; 9039*) 9040 lt_save_MAGIC_CMD="$MAGIC_CMD" 9041 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 9042 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9043 for ac_dir in $ac_dummy; do 9044 IFS="$lt_save_ifs" 9045 test -z "$ac_dir" && ac_dir=. 9046 if test -f $ac_dir/${ac_tool_prefix}file; then 9047 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 9048 if test -n "$file_magic_test_file"; then 9049 case $deplibs_check_method in 9050 "file_magic "*) 9051 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9052 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9053 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9054 $EGREP "$file_magic_regex" > /dev/null; then 9055 : 9056 else 9057 cat <<_LT_EOF 1>&2 9058 9059*** Warning: the command libtool uses to detect shared libraries, 9060*** $file_magic_cmd, produces output that libtool cannot recognize. 9061*** The result is that libtool may fail to recognize shared libraries 9062*** as such. This will affect the creation of libtool libraries that 9063*** depend on shared libraries, but programs linked with such libtool 9064*** libraries will work regardless of this problem. Nevertheless, you 9065*** may want to report the problem to your system manager and/or to 9066*** bug-libtool@gnu.org 9067 9068_LT_EOF 9069 fi ;; 9070 esac 9071 fi 9072 break 9073 fi 9074 done 9075 IFS="$lt_save_ifs" 9076 MAGIC_CMD="$lt_save_MAGIC_CMD" 9077 ;; 9078esac 9079fi 9080 9081MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9082if test -n "$MAGIC_CMD"; then 9083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9084$as_echo "$MAGIC_CMD" >&6; } 9085else 9086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9087$as_echo "no" >&6; } 9088fi 9089 9090 9091 9092 9093 9094if test -z "$lt_cv_path_MAGIC_CMD"; then 9095 if test -n "$ac_tool_prefix"; then 9096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 9097$as_echo_n "checking for file... " >&6; } 9098if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 9099 $as_echo_n "(cached) " >&6 9100else 9101 case $MAGIC_CMD in 9102[\\/*] | ?:[\\/]*) 9103 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 9104 ;; 9105*) 9106 lt_save_MAGIC_CMD="$MAGIC_CMD" 9107 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 9108 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9109 for ac_dir in $ac_dummy; do 9110 IFS="$lt_save_ifs" 9111 test -z "$ac_dir" && ac_dir=. 9112 if test -f $ac_dir/file; then 9113 lt_cv_path_MAGIC_CMD="$ac_dir/file" 9114 if test -n "$file_magic_test_file"; then 9115 case $deplibs_check_method in 9116 "file_magic "*) 9117 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9118 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9119 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9120 $EGREP "$file_magic_regex" > /dev/null; then 9121 : 9122 else 9123 cat <<_LT_EOF 1>&2 9124 9125*** Warning: the command libtool uses to detect shared libraries, 9126*** $file_magic_cmd, produces output that libtool cannot recognize. 9127*** The result is that libtool may fail to recognize shared libraries 9128*** as such. This will affect the creation of libtool libraries that 9129*** depend on shared libraries, but programs linked with such libtool 9130*** libraries will work regardless of this problem. Nevertheless, you 9131*** may want to report the problem to your system manager and/or to 9132*** bug-libtool@gnu.org 9133 9134_LT_EOF 9135 fi ;; 9136 esac 9137 fi 9138 break 9139 fi 9140 done 9141 IFS="$lt_save_ifs" 9142 MAGIC_CMD="$lt_save_MAGIC_CMD" 9143 ;; 9144esac 9145fi 9146 9147MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9148if test -n "$MAGIC_CMD"; then 9149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9150$as_echo "$MAGIC_CMD" >&6; } 9151else 9152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9153$as_echo "no" >&6; } 9154fi 9155 9156 9157 else 9158 MAGIC_CMD=: 9159 fi 9160fi 9161 9162 fi 9163 ;; 9164esac 9165 9166# Use C for the default configuration in the libtool script 9167 9168lt_save_CC="$CC" 9169ac_ext=c 9170ac_cpp='$CPP $CPPFLAGS' 9171ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9172ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9173ac_compiler_gnu=$ac_cv_c_compiler_gnu 9174 9175 9176# Source file extension for C test sources. 9177ac_ext=c 9178 9179# Object file extension for compiled C test sources. 9180objext=o 9181objext=$objext 9182 9183# Code to be used in simple compile tests 9184lt_simple_compile_test_code="int some_variable = 0;" 9185 9186# Code to be used in simple link tests 9187lt_simple_link_test_code='int main(){return(0);}' 9188 9189 9190 9191 9192 9193 9194 9195# If no C compiler was specified, use CC. 9196LTCC=${LTCC-"$CC"} 9197 9198# If no C compiler flags were specified, use CFLAGS. 9199LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 9200 9201# Allow CC to be a program name with arguments. 9202compiler=$CC 9203 9204# Save the default compiler, since it gets overwritten when the other 9205# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 9206compiler_DEFAULT=$CC 9207 9208# save warnings/boilerplate of simple test code 9209ac_outfile=conftest.$ac_objext 9210echo "$lt_simple_compile_test_code" >conftest.$ac_ext 9211eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9212_lt_compiler_boilerplate=`cat conftest.err` 9213$RM conftest* 9214 9215ac_outfile=conftest.$ac_objext 9216echo "$lt_simple_link_test_code" >conftest.$ac_ext 9217eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9218_lt_linker_boilerplate=`cat conftest.err` 9219$RM -r conftest* 9220 9221 9222if test -n "$compiler"; then 9223 9224lt_prog_compiler_no_builtin_flag= 9225 9226if test "$GCC" = yes; then 9227 lt_prog_compiler_no_builtin_flag=' -fno-builtin' 9228 9229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 9230$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 9231if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : 9232 $as_echo_n "(cached) " >&6 9233else 9234 lt_cv_prog_compiler_rtti_exceptions=no 9235 ac_outfile=conftest.$ac_objext 9236 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9237 lt_compiler_flag="-fno-rtti -fno-exceptions" 9238 # Insert the option either (1) after the last *FLAGS variable, or 9239 # (2) before a word containing "conftest.", or (3) at the end. 9240 # Note that $ac_compile itself does not contain backslashes and begins 9241 # with a dollar sign (not a hyphen), so the echo should work correctly. 9242 # The option is referenced via a variable to avoid confusing sed. 9243 lt_compile=`echo "$ac_compile" | $SED \ 9244 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9245 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9246 -e 's:$: $lt_compiler_flag:'` 9247 (eval echo "\"\$as_me:9247: $lt_compile\"" >&5) 9248 (eval "$lt_compile" 2>conftest.err) 9249 ac_status=$? 9250 cat conftest.err >&5 9251 echo "$as_me:9251: \$? = $ac_status" >&5 9252 if (exit $ac_status) && test -s "$ac_outfile"; then 9253 # The compiler can only warn and ignore the option if not recognized 9254 # So say no if there are warnings other than the usual output. 9255 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 9256 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9257 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9258 lt_cv_prog_compiler_rtti_exceptions=yes 9259 fi 9260 fi 9261 $RM conftest* 9262 9263fi 9264{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 9265$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 9266 9267if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 9268 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 9269else 9270 : 9271fi 9272 9273fi 9274 9275 9276 9277 9278 9279 9280 lt_prog_compiler_wl= 9281lt_prog_compiler_pic= 9282lt_prog_compiler_static= 9283 9284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 9285$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 9286 9287 if test "$GCC" = yes; then 9288 lt_prog_compiler_wl='-Wl,' 9289 lt_prog_compiler_static='-static' 9290 9291 case $host_os in 9292 aix*) 9293 # All AIX code is PIC. 9294 if test "$host_cpu" = ia64; then 9295 # AIX 5 now supports IA64 processor 9296 lt_prog_compiler_static='-Bstatic' 9297 fi 9298 ;; 9299 9300 amigaos*) 9301 case $host_cpu in 9302 powerpc) 9303 # see comment about AmigaOS4 .so support 9304 lt_prog_compiler_pic='-fPIC' 9305 ;; 9306 m68k) 9307 # FIXME: we need at least 68020 code to build shared libraries, but 9308 # adding the `-m68020' flag to GCC prevents building anything better, 9309 # like `-m68040'. 9310 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 9311 ;; 9312 esac 9313 ;; 9314 9315 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 9316 # PIC is the default for these OSes. 9317 ;; 9318 9319 mingw* | cygwin* | pw32* | os2* | cegcc*) 9320 # This hack is so that the source file can tell whether it is being 9321 # built for inclusion in a dll (and should export symbols for example). 9322 # Although the cygwin gcc ignores -fPIC, still need this for old-style 9323 # (--disable-auto-import) libraries 9324 lt_prog_compiler_pic='-DDLL_EXPORT' 9325 ;; 9326 9327 darwin* | rhapsody*) 9328 # PIC is the default on this platform 9329 # Common symbols not allowed in MH_DYLIB files 9330 lt_prog_compiler_pic='-fno-common' 9331 ;; 9332 9333 hpux*) 9334 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 9335 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 9336 # sets the default TLS model and affects inlining. 9337 case $host_cpu in 9338 hppa*64*) 9339 # +Z the default 9340 ;; 9341 *) 9342 lt_prog_compiler_pic='-fPIC' 9343 ;; 9344 esac 9345 ;; 9346 9347 interix[3-9]*) 9348 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 9349 # Instead, we relocate shared libraries at runtime. 9350 ;; 9351 9352 msdosdjgpp*) 9353 # Just because we use GCC doesn't mean we suddenly get shared libraries 9354 # on systems that don't support them. 9355 lt_prog_compiler_can_build_shared=no 9356 enable_shared=no 9357 ;; 9358 9359 *nto* | *qnx*) 9360 # QNX uses GNU C++, but need to define -shared option too, otherwise 9361 # it will coredump. 9362 lt_prog_compiler_pic='-fPIC -shared' 9363 ;; 9364 9365 sysv4*MP*) 9366 if test -d /usr/nec; then 9367 lt_prog_compiler_pic=-Kconform_pic 9368 fi 9369 ;; 9370 9371 *) 9372 lt_prog_compiler_pic='-fPIC' 9373 ;; 9374 esac 9375 else 9376 # PORTME Check for flag to pass linker flags through the system compiler. 9377 case $host_os in 9378 aix*) 9379 lt_prog_compiler_wl='-Wl,' 9380 if test "$host_cpu" = ia64; then 9381 # AIX 5 now supports IA64 processor 9382 lt_prog_compiler_static='-Bstatic' 9383 else 9384 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 9385 fi 9386 ;; 9387 9388 mingw* | cygwin* | pw32* | os2* | cegcc*) 9389 # This hack is so that the source file can tell whether it is being 9390 # built for inclusion in a dll (and should export symbols for example). 9391 lt_prog_compiler_pic='-DDLL_EXPORT' 9392 ;; 9393 9394 hpux9* | hpux10* | hpux11*) 9395 lt_prog_compiler_wl='-Wl,' 9396 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 9397 # not for PA HP-UX. 9398 case $host_cpu in 9399 hppa*64*|ia64*) 9400 # +Z the default 9401 ;; 9402 *) 9403 lt_prog_compiler_pic='+Z' 9404 ;; 9405 esac 9406 # Is there a better lt_prog_compiler_static that works with the bundled CC? 9407 lt_prog_compiler_static='${wl}-a ${wl}archive' 9408 ;; 9409 9410 irix5* | irix6* | nonstopux*) 9411 lt_prog_compiler_wl='-Wl,' 9412 # PIC (with -KPIC) is the default. 9413 lt_prog_compiler_static='-non_shared' 9414 ;; 9415 9416 linux* | k*bsd*-gnu | kopensolaris*-gnu) 9417 case $cc_basename in 9418 # old Intel for x86_64 which still supported -KPIC. 9419 ecc*) 9420 lt_prog_compiler_wl='-Wl,' 9421 lt_prog_compiler_pic='-KPIC' 9422 lt_prog_compiler_static='-static' 9423 ;; 9424 # icc used to be incompatible with GCC. 9425 # ICC 10 doesn't accept -KPIC any more. 9426 icc* | ifort*) 9427 lt_prog_compiler_wl='-Wl,' 9428 lt_prog_compiler_pic='-fPIC' 9429 lt_prog_compiler_static='-static' 9430 ;; 9431 # Lahey Fortran 8.1. 9432 lf95*) 9433 lt_prog_compiler_wl='-Wl,' 9434 lt_prog_compiler_pic='--shared' 9435 lt_prog_compiler_static='--static' 9436 ;; 9437 pgcc* | pgf77* | pgf90* | pgf95*) 9438 # Portland Group compilers (*not* the Pentium gcc compiler, 9439 # which looks to be a dead project) 9440 lt_prog_compiler_wl='-Wl,' 9441 lt_prog_compiler_pic='-fpic' 9442 lt_prog_compiler_static='-Bstatic' 9443 ;; 9444 ccc*) 9445 lt_prog_compiler_wl='-Wl,' 9446 # All Alpha code is PIC. 9447 lt_prog_compiler_static='-non_shared' 9448 ;; 9449 xl*) 9450 # IBM XL C 8.0/Fortran 10.1 on PPC 9451 lt_prog_compiler_wl='-Wl,' 9452 lt_prog_compiler_pic='-qpic' 9453 lt_prog_compiler_static='-qstaticlink' 9454 ;; 9455 *) 9456 case `$CC -V 2>&1 | sed 5q` in 9457 *Sun\ C*) 9458 # Sun C 5.9 9459 lt_prog_compiler_pic='-KPIC' 9460 lt_prog_compiler_static='-Bstatic' 9461 lt_prog_compiler_wl='-Wl,' 9462 ;; 9463 *Sun\ F*) 9464 # Sun Fortran 8.3 passes all unrecognized flags to the linker 9465 lt_prog_compiler_pic='-KPIC' 9466 lt_prog_compiler_static='-Bstatic' 9467 lt_prog_compiler_wl='' 9468 ;; 9469 esac 9470 ;; 9471 esac 9472 ;; 9473 9474 newsos6) 9475 lt_prog_compiler_pic='-KPIC' 9476 lt_prog_compiler_static='-Bstatic' 9477 ;; 9478 9479 *nto* | *qnx*) 9480 # QNX uses GNU C++, but need to define -shared option too, otherwise 9481 # it will coredump. 9482 lt_prog_compiler_pic='-fPIC -shared' 9483 ;; 9484 9485 osf3* | osf4* | osf5*) 9486 lt_prog_compiler_wl='-Wl,' 9487 # All OSF/1 code is PIC. 9488 lt_prog_compiler_static='-non_shared' 9489 ;; 9490 9491 rdos*) 9492 lt_prog_compiler_static='-non_shared' 9493 ;; 9494 9495 solaris*) 9496 lt_prog_compiler_pic='-KPIC' 9497 lt_prog_compiler_static='-Bstatic' 9498 case $cc_basename in 9499 f77* | f90* | f95*) 9500 lt_prog_compiler_wl='-Qoption ld ';; 9501 *) 9502 lt_prog_compiler_wl='-Wl,';; 9503 esac 9504 ;; 9505 9506 sunos4*) 9507 lt_prog_compiler_wl='-Qoption ld ' 9508 lt_prog_compiler_pic='-PIC' 9509 lt_prog_compiler_static='-Bstatic' 9510 ;; 9511 9512 sysv4 | sysv4.2uw2* | sysv4.3*) 9513 lt_prog_compiler_wl='-Wl,' 9514 lt_prog_compiler_pic='-KPIC' 9515 lt_prog_compiler_static='-Bstatic' 9516 ;; 9517 9518 sysv4*MP*) 9519 if test -d /usr/nec ;then 9520 lt_prog_compiler_pic='-Kconform_pic' 9521 lt_prog_compiler_static='-Bstatic' 9522 fi 9523 ;; 9524 9525 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 9526 lt_prog_compiler_wl='-Wl,' 9527 lt_prog_compiler_pic='-KPIC' 9528 lt_prog_compiler_static='-Bstatic' 9529 ;; 9530 9531 unicos*) 9532 lt_prog_compiler_wl='-Wl,' 9533 lt_prog_compiler_can_build_shared=no 9534 ;; 9535 9536 uts4*) 9537 lt_prog_compiler_pic='-pic' 9538 lt_prog_compiler_static='-Bstatic' 9539 ;; 9540 9541 *) 9542 lt_prog_compiler_can_build_shared=no 9543 ;; 9544 esac 9545 fi 9546 9547case $host_os in 9548 # For platforms which do not support PIC, -DPIC is meaningless: 9549 *djgpp*) 9550 lt_prog_compiler_pic= 9551 ;; 9552 *) 9553 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 9554 ;; 9555esac 9556{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 9557$as_echo "$lt_prog_compiler_pic" >&6; } 9558 9559 9560 9561 9562 9563 9564# 9565# Check to make sure the PIC flag actually works. 9566# 9567if test -n "$lt_prog_compiler_pic"; then 9568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 9569$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 9570if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : 9571 $as_echo_n "(cached) " >&6 9572else 9573 lt_cv_prog_compiler_pic_works=no 9574 ac_outfile=conftest.$ac_objext 9575 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9576 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 9577 # Insert the option either (1) after the last *FLAGS variable, or 9578 # (2) before a word containing "conftest.", or (3) at the end. 9579 # Note that $ac_compile itself does not contain backslashes and begins 9580 # with a dollar sign (not a hyphen), so the echo should work correctly. 9581 # The option is referenced via a variable to avoid confusing sed. 9582 lt_compile=`echo "$ac_compile" | $SED \ 9583 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9584 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9585 -e 's:$: $lt_compiler_flag:'` 9586 (eval echo "\"\$as_me:9586: $lt_compile\"" >&5) 9587 (eval "$lt_compile" 2>conftest.err) 9588 ac_status=$? 9589 cat conftest.err >&5 9590 echo "$as_me:9590: \$? = $ac_status" >&5 9591 if (exit $ac_status) && test -s "$ac_outfile"; then 9592 # The compiler can only warn and ignore the option if not recognized 9593 # So say no if there are warnings other than the usual output. 9594 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 9595 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9596 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9597 lt_cv_prog_compiler_pic_works=yes 9598 fi 9599 fi 9600 $RM conftest* 9601 9602fi 9603{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 9604$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 9605 9606if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 9607 case $lt_prog_compiler_pic in 9608 "" | " "*) ;; 9609 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 9610 esac 9611else 9612 lt_prog_compiler_pic= 9613 lt_prog_compiler_can_build_shared=no 9614fi 9615 9616fi 9617 9618 9619 9620 9621 9622 9623# 9624# Check to make sure the static flag actually works. 9625# 9626wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9627{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9628$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9629if test "${lt_cv_prog_compiler_static_works+set}" = set; then : 9630 $as_echo_n "(cached) " >&6 9631else 9632 lt_cv_prog_compiler_static_works=no 9633 save_LDFLAGS="$LDFLAGS" 9634 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9635 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9636 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9637 # The linker can only warn and ignore the option if not recognized 9638 # So say no if there are warnings 9639 if test -s conftest.err; then 9640 # Append any errors to the config.log. 9641 cat conftest.err 1>&5 9642 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 9643 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9644 if diff conftest.exp conftest.er2 >/dev/null; then 9645 lt_cv_prog_compiler_static_works=yes 9646 fi 9647 else 9648 lt_cv_prog_compiler_static_works=yes 9649 fi 9650 fi 9651 $RM -r conftest* 9652 LDFLAGS="$save_LDFLAGS" 9653 9654fi 9655{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 9656$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 9657 9658if test x"$lt_cv_prog_compiler_static_works" = xyes; then 9659 : 9660else 9661 lt_prog_compiler_static= 9662fi 9663 9664 9665 9666 9667 9668 9669 9670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9671$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9672if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 9673 $as_echo_n "(cached) " >&6 9674else 9675 lt_cv_prog_compiler_c_o=no 9676 $RM -r conftest 2>/dev/null 9677 mkdir conftest 9678 cd conftest 9679 mkdir out 9680 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9681 9682 lt_compiler_flag="-o out/conftest2.$ac_objext" 9683 # Insert the option either (1) after the last *FLAGS variable, or 9684 # (2) before a word containing "conftest.", or (3) at the end. 9685 # Note that $ac_compile itself does not contain backslashes and begins 9686 # with a dollar sign (not a hyphen), so the echo should work correctly. 9687 lt_compile=`echo "$ac_compile" | $SED \ 9688 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9689 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9690 -e 's:$: $lt_compiler_flag:'` 9691 (eval echo "\"\$as_me:9691: $lt_compile\"" >&5) 9692 (eval "$lt_compile" 2>out/conftest.err) 9693 ac_status=$? 9694 cat out/conftest.err >&5 9695 echo "$as_me:9695: \$? = $ac_status" >&5 9696 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9697 then 9698 # The compiler can only warn and ignore the option if not recognized 9699 # So say no if there are warnings 9700 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 9701 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9702 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9703 lt_cv_prog_compiler_c_o=yes 9704 fi 9705 fi 9706 chmod u+w . 2>&5 9707 $RM conftest* 9708 # SGI C++ compiler will create directory out/ii_files/ for 9709 # template instantiation 9710 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9711 $RM out/* && rmdir out 9712 cd .. 9713 $RM -r conftest 9714 $RM conftest* 9715 9716fi 9717{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9718$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9719 9720 9721 9722 9723 9724 9725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9726$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9727if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 9728 $as_echo_n "(cached) " >&6 9729else 9730 lt_cv_prog_compiler_c_o=no 9731 $RM -r conftest 2>/dev/null 9732 mkdir conftest 9733 cd conftest 9734 mkdir out 9735 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9736 9737 lt_compiler_flag="-o out/conftest2.$ac_objext" 9738 # Insert the option either (1) after the last *FLAGS variable, or 9739 # (2) before a word containing "conftest.", or (3) at the end. 9740 # Note that $ac_compile itself does not contain backslashes and begins 9741 # with a dollar sign (not a hyphen), so the echo should work correctly. 9742 lt_compile=`echo "$ac_compile" | $SED \ 9743 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9744 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9745 -e 's:$: $lt_compiler_flag:'` 9746 (eval echo "\"\$as_me:9746: $lt_compile\"" >&5) 9747 (eval "$lt_compile" 2>out/conftest.err) 9748 ac_status=$? 9749 cat out/conftest.err >&5 9750 echo "$as_me:9750: \$? = $ac_status" >&5 9751 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9752 then 9753 # The compiler can only warn and ignore the option if not recognized 9754 # So say no if there are warnings 9755 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 9756 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9757 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9758 lt_cv_prog_compiler_c_o=yes 9759 fi 9760 fi 9761 chmod u+w . 2>&5 9762 $RM conftest* 9763 # SGI C++ compiler will create directory out/ii_files/ for 9764 # template instantiation 9765 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9766 $RM out/* && rmdir out 9767 cd .. 9768 $RM -r conftest 9769 $RM conftest* 9770 9771fi 9772{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9773$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9774 9775 9776 9777 9778hard_links="nottested" 9779if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 9780 # do not overwrite the value of need_locks provided by the user 9781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9782$as_echo_n "checking if we can lock with hard links... " >&6; } 9783 hard_links=yes 9784 $RM conftest* 9785 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9786 touch conftest.a 9787 ln conftest.a conftest.b 2>&5 || hard_links=no 9788 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9790$as_echo "$hard_links" >&6; } 9791 if test "$hard_links" = no; then 9792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 9793$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 9794 need_locks=warn 9795 fi 9796else 9797 need_locks=no 9798fi 9799 9800 9801 9802 9803 9804 9805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9806$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9807 9808 runpath_var= 9809 allow_undefined_flag= 9810 always_export_symbols=no 9811 archive_cmds= 9812 archive_expsym_cmds= 9813 compiler_needs_object=no 9814 enable_shared_with_static_runtimes=no 9815 export_dynamic_flag_spec= 9816 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9817 hardcode_automatic=no 9818 hardcode_direct=no 9819 hardcode_direct_absolute=no 9820 hardcode_libdir_flag_spec= 9821 hardcode_libdir_flag_spec_ld= 9822 hardcode_libdir_separator= 9823 hardcode_minus_L=no 9824 hardcode_shlibpath_var=unsupported 9825 inherit_rpath=no 9826 link_all_deplibs=unknown 9827 module_cmds= 9828 module_expsym_cmds= 9829 old_archive_from_new_cmds= 9830 old_archive_from_expsyms_cmds= 9831 thread_safe_flag_spec= 9832 whole_archive_flag_spec= 9833 # include_expsyms should be a list of space-separated symbols to be *always* 9834 # included in the symbol list 9835 include_expsyms= 9836 # exclude_expsyms can be an extended regexp of symbols to exclude 9837 # it will be wrapped by ` (' and `)$', so one must not match beginning or 9838 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 9839 # as well as any symbol that contains `d'. 9840 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9841 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9842 # platforms (ab)use it in PIC code, but their linkers get confused if 9843 # the symbol is explicitly referenced. Since portable code cannot 9844 # rely on this symbol name, it's probably fine to never include it in 9845 # preloaded symbol tables. 9846 # Exclude shared library initialization/finalization symbols. 9847 extract_expsyms_cmds= 9848 9849 case $host_os in 9850 cygwin* | mingw* | pw32* | cegcc*) 9851 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9852 # When not using gcc, we currently assume that we are using 9853 # Microsoft Visual C++. 9854 if test "$GCC" != yes; then 9855 with_gnu_ld=no 9856 fi 9857 ;; 9858 interix*) 9859 # we just hope/assume this is gcc and not c89 (= MSVC++) 9860 with_gnu_ld=yes 9861 ;; 9862 openbsd*) 9863 with_gnu_ld=no 9864 ;; 9865 linux* | k*bsd*-gnu) 9866 link_all_deplibs=no 9867 ;; 9868 esac 9869 9870 ld_shlibs=yes 9871 if test "$with_gnu_ld" = yes; then 9872 # If archive_cmds runs LD, not CC, wlarc should be empty 9873 wlarc='${wl}' 9874 9875 # Set some defaults for GNU ld with shared library support. These 9876 # are reset later if shared libraries are not supported. Putting them 9877 # here allows them to be overridden if necessary. 9878 runpath_var=LD_RUN_PATH 9879 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9880 export_dynamic_flag_spec='${wl}--export-dynamic' 9881 # ancient GNU ld didn't support --whole-archive et. al. 9882 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9883 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 9884 else 9885 whole_archive_flag_spec= 9886 fi 9887 supports_anon_versioning=no 9888 case `$LD -v 2>&1` in 9889 *GNU\ gold*) supports_anon_versioning=yes ;; 9890 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9891 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9892 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9893 *\ 2.11.*) ;; # other 2.11 versions 9894 *) supports_anon_versioning=yes ;; 9895 esac 9896 9897 # See if GNU ld supports shared libraries. 9898 case $host_os in 9899 aix[3-9]*) 9900 # On AIX/PPC, the GNU linker is very broken 9901 if test "$host_cpu" != ia64; then 9902 ld_shlibs=no 9903 cat <<_LT_EOF 1>&2 9904 9905*** Warning: the GNU linker, at least up to release 2.9.1, is reported 9906*** to be unable to reliably create shared libraries on AIX. 9907*** Therefore, libtool is disabling shared libraries support. If you 9908*** really care for shared libraries, you may want to modify your PATH 9909*** so that a non-GNU linker is found, and then restart. 9910 9911_LT_EOF 9912 fi 9913 ;; 9914 9915 amigaos*) 9916 case $host_cpu in 9917 powerpc) 9918 # see comment about AmigaOS4 .so support 9919 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9920 archive_expsym_cmds='' 9921 ;; 9922 m68k) 9923 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)' 9924 hardcode_libdir_flag_spec='-L$libdir' 9925 hardcode_minus_L=yes 9926 ;; 9927 esac 9928 ;; 9929 9930 beos*) 9931 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9932 allow_undefined_flag=unsupported 9933 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9934 # support --undefined. This deserves some investigation. FIXME 9935 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9936 else 9937 ld_shlibs=no 9938 fi 9939 ;; 9940 9941 cygwin* | mingw* | pw32* | cegcc*) 9942 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9943 # as there is no search path for DLLs. 9944 hardcode_libdir_flag_spec='-L$libdir' 9945 allow_undefined_flag=unsupported 9946 always_export_symbols=no 9947 enable_shared_with_static_runtimes=yes 9948 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9949 9950 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9951 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9952 # If the export-symbols file already is a .def file (1st line 9953 # is EXPORTS), use it as is; otherwise, prepend... 9954 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9955 cp $export_symbols $output_objdir/$soname.def; 9956 else 9957 echo EXPORTS > $output_objdir/$soname.def; 9958 cat $export_symbols >> $output_objdir/$soname.def; 9959 fi~ 9960 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9961 else 9962 ld_shlibs=no 9963 fi 9964 ;; 9965 9966 interix[3-9]*) 9967 hardcode_direct=no 9968 hardcode_shlibpath_var=no 9969 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9970 export_dynamic_flag_spec='${wl}-E' 9971 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9972 # Instead, shared libraries are loaded at an image base (0x10000000 by 9973 # default) and relocated if they conflict, which is a slow very memory 9974 # consuming and fragmenting process. To avoid this, we pick a random, 9975 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9976 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9977 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9978 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' 9979 ;; 9980 9981 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9982 tmp_diet=no 9983 if test "$host_os" = linux-dietlibc; then 9984 case $cc_basename in 9985 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9986 esac 9987 fi 9988 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9989 && test "$tmp_diet" = no 9990 then 9991 tmp_addflag= 9992 tmp_sharedflag='-shared' 9993 case $cc_basename,$host_cpu in 9994 pgcc*) # Portland Group C compiler 9995 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' 9996 tmp_addflag=' $pic_flag' 9997 ;; 9998 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 9999 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' 10000 tmp_addflag=' $pic_flag -Mnomain' ;; 10001 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 10002 tmp_addflag=' -i_dynamic' ;; 10003 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 10004 tmp_addflag=' -i_dynamic -nofor_main' ;; 10005 ifc* | ifort*) # Intel Fortran compiler 10006 tmp_addflag=' -nofor_main' ;; 10007 lf95*) # Lahey Fortran 8.1 10008 whole_archive_flag_spec= 10009 tmp_sharedflag='--shared' ;; 10010 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 10011 tmp_sharedflag='-qmkshrobj' 10012 tmp_addflag= ;; 10013 esac 10014 case `$CC -V 2>&1 | sed 5q` in 10015 *Sun\ C*) # Sun C 5.9 10016 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' 10017 compiler_needs_object=yes 10018 tmp_sharedflag='-G' ;; 10019 *Sun\ F*) # Sun Fortran 8.3 10020 tmp_sharedflag='-G' ;; 10021 esac 10022 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10023 10024 if test "x$supports_anon_versioning" = xyes; then 10025 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10026 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10027 echo "local: *; };" >> $output_objdir/$libname.ver~ 10028 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 10029 fi 10030 10031 case $cc_basename in 10032 xlf*) 10033 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 10034 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 10035 hardcode_libdir_flag_spec= 10036 hardcode_libdir_flag_spec_ld='-rpath $libdir' 10037 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' 10038 if test "x$supports_anon_versioning" = xyes; then 10039 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10040 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10041 echo "local: *; };" >> $output_objdir/$libname.ver~ 10042 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 10043 fi 10044 ;; 10045 esac 10046 else 10047 ld_shlibs=no 10048 fi 10049 ;; 10050 10051 netbsd* | netbsdelf*-gnu) 10052 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10053 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 10054 wlarc= 10055 else 10056 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10057 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 10058 fi 10059 ;; 10060 10061 solaris*) 10062 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 10063 ld_shlibs=no 10064 cat <<_LT_EOF 1>&2 10065 10066*** Warning: The releases 2.8.* of the GNU linker cannot reliably 10067*** create shared libraries on Solaris systems. Therefore, libtool 10068*** is disabling shared libraries support. We urge you to upgrade GNU 10069*** binutils to release 2.9.1 or newer. Another option is to modify 10070*** your PATH or compiler configuration so that the native linker is 10071*** used, and then restart. 10072 10073_LT_EOF 10074 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10075 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10076 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 10077 else 10078 ld_shlibs=no 10079 fi 10080 ;; 10081 10082 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 10083 case `$LD -v 2>&1` in 10084 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 10085 ld_shlibs=no 10086 cat <<_LT_EOF 1>&2 10087 10088*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 10089*** reliably create shared libraries on SCO systems. Therefore, libtool 10090*** is disabling shared libraries support. We urge you to upgrade GNU 10091*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 10092*** your PATH or compiler configuration so that the native linker is 10093*** used, and then restart. 10094 10095_LT_EOF 10096 ;; 10097 *) 10098 # For security reasons, it is highly recommended that you always 10099 # use absolute paths for naming shared libraries, and exclude the 10100 # DT_RUNPATH tag from executables and libraries. But doing so 10101 # requires that you compile everything twice, which is a pain. 10102 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10103 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10104 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10105 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 10106 else 10107 ld_shlibs=no 10108 fi 10109 ;; 10110 esac 10111 ;; 10112 10113 sunos4*) 10114 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10115 wlarc= 10116 hardcode_direct=yes 10117 hardcode_shlibpath_var=no 10118 ;; 10119 10120 *) 10121 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10122 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10123 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 10124 else 10125 ld_shlibs=no 10126 fi 10127 ;; 10128 esac 10129 10130 if test "$ld_shlibs" = no; then 10131 runpath_var= 10132 hardcode_libdir_flag_spec= 10133 export_dynamic_flag_spec= 10134 whole_archive_flag_spec= 10135 fi 10136 else 10137 # PORTME fill in a description of your system's linker (not GNU ld) 10138 case $host_os in 10139 aix3*) 10140 allow_undefined_flag=unsupported 10141 always_export_symbols=yes 10142 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' 10143 # Note: this linker hardcodes the directories in LIBPATH if there 10144 # are no directories specified by -L. 10145 hardcode_minus_L=yes 10146 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 10147 # Neither direct hardcoding nor static linking is supported with a 10148 # broken collect2. 10149 hardcode_direct=unsupported 10150 fi 10151 ;; 10152 10153 aix[4-9]*) 10154 if test "$host_cpu" = ia64; then 10155 # On IA64, the linker does run time linking by default, so we don't 10156 # have to do anything special. 10157 aix_use_runtimelinking=no 10158 exp_sym_flag='-Bexport' 10159 no_entry_flag="" 10160 else 10161 # If we're using GNU nm, then we don't want the "-C" option. 10162 # -C means demangle to AIX nm, but means don't demangle with GNU nm 10163 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 10164 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' 10165 else 10166 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' 10167 fi 10168 aix_use_runtimelinking=no 10169 10170 # Test if we are trying to use run time linking or normal 10171 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 10172 # need to do runtime linking. 10173 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 10174 for ld_flag in $LDFLAGS; do 10175 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 10176 aix_use_runtimelinking=yes 10177 break 10178 fi 10179 done 10180 ;; 10181 esac 10182 10183 exp_sym_flag='-bexport' 10184 no_entry_flag='-bnoentry' 10185 fi 10186 10187 # When large executables or shared objects are built, AIX ld can 10188 # have problems creating the table of contents. If linking a library 10189 # or program results in "error TOC overflow" add -mminimal-toc to 10190 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 10191 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 10192 10193 archive_cmds='' 10194 hardcode_direct=yes 10195 hardcode_direct_absolute=yes 10196 hardcode_libdir_separator=':' 10197 link_all_deplibs=yes 10198 file_list_spec='${wl}-f,' 10199 10200 if test "$GCC" = yes; then 10201 case $host_os in aix4.[012]|aix4.[012].*) 10202 # We only want to do this on AIX 4.2 and lower, the check 10203 # below for broken collect2 doesn't work under 4.3+ 10204 collect2name=`${CC} -print-prog-name=collect2` 10205 if test -f "$collect2name" && 10206 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 10207 then 10208 # We have reworked collect2 10209 : 10210 else 10211 # We have old collect2 10212 hardcode_direct=unsupported 10213 # It fails to find uninstalled libraries when the uninstalled 10214 # path is not listed in the libpath. Setting hardcode_minus_L 10215 # to unsupported forces relinking 10216 hardcode_minus_L=yes 10217 hardcode_libdir_flag_spec='-L$libdir' 10218 hardcode_libdir_separator= 10219 fi 10220 ;; 10221 esac 10222 shared_flag='-shared' 10223 if test "$aix_use_runtimelinking" = yes; then 10224 shared_flag="$shared_flag "'${wl}-G' 10225 fi 10226 link_all_deplibs=no 10227 else 10228 # not using gcc 10229 if test "$host_cpu" = ia64; then 10230 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 10231 # chokes on -Wl,-G. The following line is correct: 10232 shared_flag='-G' 10233 else 10234 if test "$aix_use_runtimelinking" = yes; then 10235 shared_flag='${wl}-G' 10236 else 10237 shared_flag='${wl}-bM:SRE' 10238 fi 10239 fi 10240 fi 10241 10242 export_dynamic_flag_spec='${wl}-bexpall' 10243 # It seems that -bexpall does not export symbols beginning with 10244 # underscore (_), so it is better to generate a list of symbols to export. 10245 always_export_symbols=yes 10246 if test "$aix_use_runtimelinking" = yes; then 10247 # Warning - without using the other runtime loading flags (-brtl), 10248 # -berok will link without error, but may produce a broken library. 10249 allow_undefined_flag='-berok' 10250 # Determine the default libpath from the value encoded in an 10251 # empty executable. 10252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10253/* end confdefs.h. */ 10254 10255int 10256main () 10257{ 10258 10259 ; 10260 return 0; 10261} 10262_ACEOF 10263if ac_fn_c_try_link "$LINENO"; then : 10264 10265lt_aix_libpath_sed=' 10266 /Import File Strings/,/^$/ { 10267 /^0/ { 10268 s/^0 *\(.*\)$/\1/ 10269 p 10270 } 10271 }' 10272aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10273# Check for a 64-bit object if we didn't find anything. 10274if test -z "$aix_libpath"; then 10275 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10276fi 10277fi 10278rm -f core conftest.err conftest.$ac_objext \ 10279 conftest$ac_exeext conftest.$ac_ext 10280if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 10281 10282 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 10283 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" 10284 else 10285 if test "$host_cpu" = ia64; then 10286 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 10287 allow_undefined_flag="-z nodefs" 10288 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" 10289 else 10290 # Determine the default libpath from the value encoded in an 10291 # empty executable. 10292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10293/* end confdefs.h. */ 10294 10295int 10296main () 10297{ 10298 10299 ; 10300 return 0; 10301} 10302_ACEOF 10303if ac_fn_c_try_link "$LINENO"; then : 10304 10305lt_aix_libpath_sed=' 10306 /Import File Strings/,/^$/ { 10307 /^0/ { 10308 s/^0 *\(.*\)$/\1/ 10309 p 10310 } 10311 }' 10312aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10313# Check for a 64-bit object if we didn't find anything. 10314if test -z "$aix_libpath"; then 10315 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10316fi 10317fi 10318rm -f core conftest.err conftest.$ac_objext \ 10319 conftest$ac_exeext conftest.$ac_ext 10320if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 10321 10322 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 10323 # Warning - without using the other run time loading flags, 10324 # -berok will link without error, but may produce a broken library. 10325 no_undefined_flag=' ${wl}-bernotok' 10326 allow_undefined_flag=' ${wl}-berok' 10327 # Exported symbols can be pulled into shared objects from archives 10328 whole_archive_flag_spec='$convenience' 10329 archive_cmds_need_lc=yes 10330 # This is similar to how AIX traditionally builds its shared libraries. 10331 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' 10332 fi 10333 fi 10334 ;; 10335 10336 amigaos*) 10337 case $host_cpu in 10338 powerpc) 10339 # see comment about AmigaOS4 .so support 10340 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10341 archive_expsym_cmds='' 10342 ;; 10343 m68k) 10344 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)' 10345 hardcode_libdir_flag_spec='-L$libdir' 10346 hardcode_minus_L=yes 10347 ;; 10348 esac 10349 ;; 10350 10351 bsdi[45]*) 10352 export_dynamic_flag_spec=-rdynamic 10353 ;; 10354 10355 cygwin* | mingw* | pw32* | cegcc*) 10356 # When not using gcc, we currently assume that we are using 10357 # Microsoft Visual C++. 10358 # hardcode_libdir_flag_spec is actually meaningless, as there is 10359 # no search path for DLLs. 10360 hardcode_libdir_flag_spec=' ' 10361 allow_undefined_flag=unsupported 10362 # Tell ltmain to make .lib files, not .a files. 10363 libext=lib 10364 # Tell ltmain to make .dll files, not .so files. 10365 shrext_cmds=".dll" 10366 # FIXME: Setting linknames here is a bad hack. 10367 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' 10368 # The linker will automatically build a .lib file if we build a DLL. 10369 old_archive_from_new_cmds='true' 10370 # FIXME: Should let the user specify the lib program. 10371 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 10372 fix_srcfile_path='`cygpath -w "$srcfile"`' 10373 enable_shared_with_static_runtimes=yes 10374 ;; 10375 10376 darwin* | rhapsody*) 10377 10378 10379 archive_cmds_need_lc=no 10380 hardcode_direct=no 10381 hardcode_automatic=yes 10382 hardcode_shlibpath_var=unsupported 10383 whole_archive_flag_spec='' 10384 link_all_deplibs=yes 10385 allow_undefined_flag="$_lt_dar_allow_undefined" 10386 case $cc_basename in 10387 ifort*) _lt_dar_can_shared=yes ;; 10388 *) _lt_dar_can_shared=$GCC ;; 10389 esac 10390 if test "$_lt_dar_can_shared" = "yes"; then 10391 output_verbose_link_cmd=echo 10392 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 10393 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 10394 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}" 10395 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}" 10396 10397 else 10398 ld_shlibs=no 10399 fi 10400 10401 ;; 10402 10403 dgux*) 10404 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10405 hardcode_libdir_flag_spec='-L$libdir' 10406 hardcode_shlibpath_var=no 10407 ;; 10408 10409 freebsd1*) 10410 ld_shlibs=no 10411 ;; 10412 10413 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 10414 # support. Future versions do this automatically, but an explicit c++rt0.o 10415 # does not break anything, and helps significantly (at the cost of a little 10416 # extra space). 10417 freebsd2.2*) 10418 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 10419 hardcode_libdir_flag_spec='-R$libdir' 10420 hardcode_direct=yes 10421 hardcode_shlibpath_var=no 10422 ;; 10423 10424 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 10425 freebsd2*) 10426 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10427 hardcode_direct=yes 10428 hardcode_minus_L=yes 10429 hardcode_shlibpath_var=no 10430 ;; 10431 10432 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10433 freebsd* | dragonfly*) 10434 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 10435 hardcode_libdir_flag_spec='-R$libdir' 10436 hardcode_direct=yes 10437 hardcode_shlibpath_var=no 10438 ;; 10439 10440 hpux9*) 10441 if test "$GCC" = yes; then 10442 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' 10443 else 10444 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' 10445 fi 10446 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10447 hardcode_libdir_separator=: 10448 hardcode_direct=yes 10449 10450 # hardcode_minus_L: Not really in the search PATH, 10451 # but as the default location of the library. 10452 hardcode_minus_L=yes 10453 export_dynamic_flag_spec='${wl}-E' 10454 ;; 10455 10456 hpux10*) 10457 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 10458 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10459 else 10460 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10461 fi 10462 if test "$with_gnu_ld" = no; then 10463 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10464 hardcode_libdir_flag_spec_ld='+b $libdir' 10465 hardcode_libdir_separator=: 10466 hardcode_direct=yes 10467 hardcode_direct_absolute=yes 10468 export_dynamic_flag_spec='${wl}-E' 10469 # hardcode_minus_L: Not really in the search PATH, 10470 # but as the default location of the library. 10471 hardcode_minus_L=yes 10472 fi 10473 ;; 10474 10475 hpux11*) 10476 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 10477 case $host_cpu in 10478 hppa*64*) 10479 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10480 ;; 10481 ia64*) 10482 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10483 ;; 10484 *) 10485 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10486 ;; 10487 esac 10488 else 10489 case $host_cpu in 10490 hppa*64*) 10491 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10492 ;; 10493 ia64*) 10494 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10495 ;; 10496 *) 10497 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10498 ;; 10499 esac 10500 fi 10501 if test "$with_gnu_ld" = no; then 10502 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10503 hardcode_libdir_separator=: 10504 10505 case $host_cpu in 10506 hppa*64*|ia64*) 10507 hardcode_direct=no 10508 hardcode_shlibpath_var=no 10509 ;; 10510 *) 10511 hardcode_direct=yes 10512 hardcode_direct_absolute=yes 10513 export_dynamic_flag_spec='${wl}-E' 10514 10515 # hardcode_minus_L: Not really in the search PATH, 10516 # but as the default location of the library. 10517 hardcode_minus_L=yes 10518 ;; 10519 esac 10520 fi 10521 ;; 10522 10523 irix5* | irix6* | nonstopux*) 10524 if test "$GCC" = yes; then 10525 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' 10526 # Try to use the -exported_symbol ld option, if it does not 10527 # work, assume that -exports_file does not work either and 10528 # implicitly export all symbols. 10529 save_LDFLAGS="$LDFLAGS" 10530 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 10531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10532/* end confdefs.h. */ 10533int foo(void) {} 10534_ACEOF 10535if ac_fn_c_try_link "$LINENO"; then : 10536 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' 10537 10538fi 10539rm -f core conftest.err conftest.$ac_objext \ 10540 conftest$ac_exeext conftest.$ac_ext 10541 LDFLAGS="$save_LDFLAGS" 10542 else 10543 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' 10544 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' 10545 fi 10546 archive_cmds_need_lc='no' 10547 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10548 hardcode_libdir_separator=: 10549 inherit_rpath=yes 10550 link_all_deplibs=yes 10551 ;; 10552 10553 netbsd* | netbsdelf*-gnu) 10554 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10555 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10556 else 10557 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10558 fi 10559 hardcode_libdir_flag_spec='-R$libdir' 10560 hardcode_direct=yes 10561 hardcode_shlibpath_var=no 10562 ;; 10563 10564 newsos6) 10565 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10566 hardcode_direct=yes 10567 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10568 hardcode_libdir_separator=: 10569 hardcode_shlibpath_var=no 10570 ;; 10571 10572 *nto* | *qnx*) 10573 ;; 10574 10575 openbsd*) 10576 if test -f /usr/libexec/ld.so; then 10577 hardcode_direct=yes 10578 hardcode_shlibpath_var=no 10579 hardcode_direct_absolute=yes 10580 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10581 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10582 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 10583 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10584 export_dynamic_flag_spec='${wl}-E' 10585 else 10586 case $host_os in 10587 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 10588 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10589 hardcode_libdir_flag_spec='-R$libdir' 10590 ;; 10591 *) 10592 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10593 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10594 ;; 10595 esac 10596 fi 10597 else 10598 ld_shlibs=no 10599 fi 10600 ;; 10601 10602 os2*) 10603 hardcode_libdir_flag_spec='-L$libdir' 10604 hardcode_minus_L=yes 10605 allow_undefined_flag=unsupported 10606 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' 10607 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 10608 ;; 10609 10610 osf3*) 10611 if test "$GCC" = yes; then 10612 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10613 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' 10614 else 10615 allow_undefined_flag=' -expect_unresolved \*' 10616 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' 10617 fi 10618 archive_cmds_need_lc='no' 10619 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10620 hardcode_libdir_separator=: 10621 ;; 10622 10623 osf4* | osf5*) # as osf3* with the addition of -msym flag 10624 if test "$GCC" = yes; then 10625 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10626 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' 10627 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10628 else 10629 allow_undefined_flag=' -expect_unresolved \*' 10630 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' 10631 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~ 10632 $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' 10633 10634 # Both c and cxx compiler support -rpath directly 10635 hardcode_libdir_flag_spec='-rpath $libdir' 10636 fi 10637 archive_cmds_need_lc='no' 10638 hardcode_libdir_separator=: 10639 ;; 10640 10641 solaris*) 10642 no_undefined_flag=' -z defs' 10643 if test "$GCC" = yes; then 10644 wlarc='${wl}' 10645 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10646 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10647 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10648 else 10649 case `$CC -V 2>&1` in 10650 *"Compilers 5.0"*) 10651 wlarc='' 10652 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 10653 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10654 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10655 ;; 10656 *) 10657 wlarc='${wl}' 10658 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10659 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10660 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10661 ;; 10662 esac 10663 fi 10664 hardcode_libdir_flag_spec='-R$libdir' 10665 hardcode_shlibpath_var=no 10666 case $host_os in 10667 solaris2.[0-5] | solaris2.[0-5].*) ;; 10668 *) 10669 # The compiler driver will combine and reorder linker options, 10670 # but understands `-z linker_flag'. GCC discards it without `$wl', 10671 # but is careful enough not to reorder. 10672 # Supported since Solaris 2.6 (maybe 2.5.1?) 10673 if test "$GCC" = yes; then 10674 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 10675 else 10676 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10677 fi 10678 ;; 10679 esac 10680 link_all_deplibs=yes 10681 ;; 10682 10683 sunos4*) 10684 if test "x$host_vendor" = xsequent; then 10685 # Use $CC to link under sequent, because it throws in some extra .o 10686 # files that make .init and .fini sections work. 10687 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10688 else 10689 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10690 fi 10691 hardcode_libdir_flag_spec='-L$libdir' 10692 hardcode_direct=yes 10693 hardcode_minus_L=yes 10694 hardcode_shlibpath_var=no 10695 ;; 10696 10697 sysv4) 10698 case $host_vendor in 10699 sni) 10700 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10701 hardcode_direct=yes # is this really true??? 10702 ;; 10703 siemens) 10704 ## LD is ld it makes a PLAMLIB 10705 ## CC just makes a GrossModule. 10706 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10707 reload_cmds='$CC -r -o $output$reload_objs' 10708 hardcode_direct=no 10709 ;; 10710 motorola) 10711 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10712 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10713 ;; 10714 esac 10715 runpath_var='LD_RUN_PATH' 10716 hardcode_shlibpath_var=no 10717 ;; 10718 10719 sysv4.3*) 10720 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10721 hardcode_shlibpath_var=no 10722 export_dynamic_flag_spec='-Bexport' 10723 ;; 10724 10725 sysv4*MP*) 10726 if test -d /usr/nec; then 10727 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10728 hardcode_shlibpath_var=no 10729 runpath_var=LD_RUN_PATH 10730 hardcode_runpath_var=yes 10731 ld_shlibs=yes 10732 fi 10733 ;; 10734 10735 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10736 no_undefined_flag='${wl}-z,text' 10737 archive_cmds_need_lc=no 10738 hardcode_shlibpath_var=no 10739 runpath_var='LD_RUN_PATH' 10740 10741 if test "$GCC" = yes; then 10742 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10743 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10744 else 10745 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10746 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10747 fi 10748 ;; 10749 10750 sysv5* | sco3.2v5* | sco5v6*) 10751 # Note: We can NOT use -z defs as we might desire, because we do not 10752 # link with -lc, and that would cause any symbols used from libc to 10753 # always be unresolved, which means just about no library would 10754 # ever link correctly. If we're not using GNU ld we use -z text 10755 # though, which does catch some bad symbols but isn't as heavy-handed 10756 # as -z defs. 10757 no_undefined_flag='${wl}-z,text' 10758 allow_undefined_flag='${wl}-z,nodefs' 10759 archive_cmds_need_lc=no 10760 hardcode_shlibpath_var=no 10761 hardcode_libdir_flag_spec='${wl}-R,$libdir' 10762 hardcode_libdir_separator=':' 10763 link_all_deplibs=yes 10764 export_dynamic_flag_spec='${wl}-Bexport' 10765 runpath_var='LD_RUN_PATH' 10766 10767 if test "$GCC" = yes; then 10768 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10769 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10770 else 10771 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10772 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10773 fi 10774 ;; 10775 10776 uts4*) 10777 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10778 hardcode_libdir_flag_spec='-L$libdir' 10779 hardcode_shlibpath_var=no 10780 ;; 10781 10782 *) 10783 ld_shlibs=no 10784 ;; 10785 esac 10786 10787 if test x$host_vendor = xsni; then 10788 case $host in 10789 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10790 export_dynamic_flag_spec='${wl}-Blargedynsym' 10791 ;; 10792 esac 10793 fi 10794 fi 10795 10796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10797$as_echo "$ld_shlibs" >&6; } 10798test "$ld_shlibs" = no && can_build_shared=no 10799 10800with_gnu_ld=$with_gnu_ld 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816# 10817# Do we need to explicitly link libc? 10818# 10819case "x$archive_cmds_need_lc" in 10820x|xyes) 10821 # Assume -lc should be added 10822 archive_cmds_need_lc=yes 10823 10824 if test "$enable_shared" = yes && test "$GCC" = yes; then 10825 case $archive_cmds in 10826 *'~'*) 10827 # FIXME: we may have to deal with multi-command sequences. 10828 ;; 10829 '$CC '*) 10830 # Test whether the compiler implicitly links with -lc since on some 10831 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10832 # to ld, don't add -lc before -lgcc. 10833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10834$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10835 $RM conftest* 10836 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10837 10838 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10839 (eval $ac_compile) 2>&5 10840 ac_status=$? 10841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10842 test $ac_status = 0; } 2>conftest.err; then 10843 soname=conftest 10844 lib=conftest 10845 libobjs=conftest.$ac_objext 10846 deplibs= 10847 wl=$lt_prog_compiler_wl 10848 pic_flag=$lt_prog_compiler_pic 10849 compiler_flags=-v 10850 linker_flags=-v 10851 verstring= 10852 output_objdir=. 10853 libname=conftest 10854 lt_save_allow_undefined_flag=$allow_undefined_flag 10855 allow_undefined_flag= 10856 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10857 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10858 ac_status=$? 10859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10860 test $ac_status = 0; } 10861 then 10862 archive_cmds_need_lc=no 10863 else 10864 archive_cmds_need_lc=yes 10865 fi 10866 allow_undefined_flag=$lt_save_allow_undefined_flag 10867 else 10868 cat conftest.err 1>&5 10869 fi 10870 $RM conftest* 10871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 10872$as_echo "$archive_cmds_need_lc" >&6; } 10873 ;; 10874 esac 10875 fi 10876 ;; 10877esac 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 11036$as_echo_n "checking dynamic linker characteristics... " >&6; } 11037 11038if test "$GCC" = yes; then 11039 case $host_os in 11040 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 11041 *) lt_awk_arg="/^libraries:/" ;; 11042 esac 11043 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` 11044 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then 11045 # if the path contains ";" then we assume it to be the separator 11046 # otherwise default to the standard path separator (i.e. ":") - it is 11047 # assumed that no part of a normal pathname contains ";" but that should 11048 # okay in the real world where ";" in dirpaths is itself problematic. 11049 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` 11050 else 11051 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11052 fi 11053 # Ok, now we have the path, separated by spaces, we can step through it 11054 # and add multilib dir if necessary. 11055 lt_tmp_lt_search_path_spec= 11056 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 11057 for lt_sys_path in $lt_search_path_spec; do 11058 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 11059 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 11060 else 11061 test -d "$lt_sys_path" && \ 11062 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 11063 fi 11064 done 11065 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' 11066BEGIN {RS=" "; FS="/|\n";} { 11067 lt_foo=""; 11068 lt_count=0; 11069 for (lt_i = NF; lt_i > 0; lt_i--) { 11070 if ($lt_i != "" && $lt_i != ".") { 11071 if ($lt_i == "..") { 11072 lt_count++; 11073 } else { 11074 if (lt_count == 0) { 11075 lt_foo="/" $lt_i lt_foo; 11076 } else { 11077 lt_count--; 11078 } 11079 } 11080 } 11081 } 11082 if (lt_foo != "") { lt_freq[lt_foo]++; } 11083 if (lt_freq[lt_foo] == 1) { print lt_foo; } 11084}'` 11085 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` 11086else 11087 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11088fi 11089library_names_spec= 11090libname_spec='lib$name' 11091soname_spec= 11092shrext_cmds=".so" 11093postinstall_cmds= 11094postuninstall_cmds= 11095finish_cmds= 11096finish_eval= 11097shlibpath_var= 11098shlibpath_overrides_runpath=unknown 11099version_type=none 11100dynamic_linker="$host_os ld.so" 11101sys_lib_dlsearch_path_spec="/lib /usr/lib" 11102need_lib_prefix=unknown 11103hardcode_into_libs=no 11104 11105# when you set need_version to no, make sure it does not cause -set_version 11106# flags to be left without arguments 11107need_version=unknown 11108 11109case $host_os in 11110aix3*) 11111 version_type=linux 11112 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 11113 shlibpath_var=LIBPATH 11114 11115 # AIX 3 has no versioning support, so we append a major version to the name. 11116 soname_spec='${libname}${release}${shared_ext}$major' 11117 ;; 11118 11119aix[4-9]*) 11120 version_type=linux 11121 need_lib_prefix=no 11122 need_version=no 11123 hardcode_into_libs=yes 11124 if test "$host_cpu" = ia64; then 11125 # AIX 5 supports IA64 11126 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 11127 shlibpath_var=LD_LIBRARY_PATH 11128 else 11129 # With GCC up to 2.95.x, collect2 would create an import file 11130 # for dependence libraries. The import file would start with 11131 # the line `#! .'. This would cause the generated library to 11132 # depend on `.', always an invalid library. This was fixed in 11133 # development snapshots of GCC prior to 3.0. 11134 case $host_os in 11135 aix4 | aix4.[01] | aix4.[01].*) 11136 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 11137 echo ' yes ' 11138 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 11139 : 11140 else 11141 can_build_shared=no 11142 fi 11143 ;; 11144 esac 11145 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 11146 # soname into executable. Probably we can add versioning support to 11147 # collect2, so additional links can be useful in future. 11148 if test "$aix_use_runtimelinking" = yes; then 11149 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 11150 # instead of lib<name>.a to let people know that these are not 11151 # typical AIX shared libraries. 11152 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11153 else 11154 # We preserve .a as extension for shared libraries through AIX4.2 11155 # and later when we are not doing run time linking. 11156 library_names_spec='${libname}${release}.a $libname.a' 11157 soname_spec='${libname}${release}${shared_ext}$major' 11158 fi 11159 shlibpath_var=LIBPATH 11160 fi 11161 ;; 11162 11163amigaos*) 11164 case $host_cpu in 11165 powerpc) 11166 # Since July 2007 AmigaOS4 officially supports .so libraries. 11167 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 11168 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11169 ;; 11170 m68k) 11171 library_names_spec='$libname.ixlibrary $libname.a' 11172 # Create ${libname}_ixlibrary.a entries in /sys/libs. 11173 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' 11174 ;; 11175 esac 11176 ;; 11177 11178beos*) 11179 library_names_spec='${libname}${shared_ext}' 11180 dynamic_linker="$host_os ld.so" 11181 shlibpath_var=LIBRARY_PATH 11182 ;; 11183 11184bsdi[45]*) 11185 version_type=linux 11186 need_version=no 11187 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11188 soname_spec='${libname}${release}${shared_ext}$major' 11189 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 11190 shlibpath_var=LD_LIBRARY_PATH 11191 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 11192 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 11193 # the default ld.so.conf also contains /usr/contrib/lib and 11194 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 11195 # libtool to hard-code these into programs 11196 ;; 11197 11198cygwin* | mingw* | pw32* | cegcc*) 11199 version_type=windows 11200 shrext_cmds=".dll" 11201 need_version=no 11202 need_lib_prefix=no 11203 11204 case $GCC,$host_os in 11205 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) 11206 library_names_spec='$libname.dll.a' 11207 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11208 postinstall_cmds='base_file=`basename \${file}`~ 11209 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 11210 dldir=$destdir/`dirname \$dlpath`~ 11211 test -d \$dldir || mkdir -p \$dldir~ 11212 $install_prog $dir/$dlname \$dldir/$dlname~ 11213 chmod a+x \$dldir/$dlname~ 11214 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11215 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11216 fi' 11217 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11218 dlpath=$dir/\$dldll~ 11219 $RM \$dlpath' 11220 shlibpath_overrides_runpath=yes 11221 11222 case $host_os in 11223 cygwin*) 11224 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11225 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11226 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 11227 ;; 11228 mingw* | cegcc*) 11229 # MinGW DLLs use traditional 'lib' prefix 11230 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11231 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 11232 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 11233 # It is most probably a Windows format PATH printed by 11234 # mingw gcc, but we are running on Cygwin. Gcc prints its search 11235 # path with ; separators, and with drive letters. We can handle the 11236 # drive letters (cygwin fileutils understands them), so leave them, 11237 # especially as we might pass files found there to a mingw objdump, 11238 # which wouldn't understand a cygwinified path. Ahh. 11239 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 11240 else 11241 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11242 fi 11243 ;; 11244 pw32*) 11245 # pw32 DLLs use 'pw' prefix rather than 'lib' 11246 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11247 ;; 11248 esac 11249 ;; 11250 11251 *) 11252 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 11253 ;; 11254 esac 11255 dynamic_linker='Win32 ld.exe' 11256 # FIXME: first we should search . and the directory the executable is in 11257 shlibpath_var=PATH 11258 ;; 11259 11260darwin* | rhapsody*) 11261 dynamic_linker="$host_os dyld" 11262 version_type=darwin 11263 need_lib_prefix=no 11264 need_version=no 11265 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 11266 soname_spec='${libname}${release}${major}$shared_ext' 11267 shlibpath_overrides_runpath=yes 11268 shlibpath_var=DYLD_LIBRARY_PATH 11269 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 11270 11271 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 11272 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 11273 ;; 11274 11275dgux*) 11276 version_type=linux 11277 need_lib_prefix=no 11278 need_version=no 11279 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 11280 soname_spec='${libname}${release}${shared_ext}$major' 11281 shlibpath_var=LD_LIBRARY_PATH 11282 ;; 11283 11284freebsd1*) 11285 dynamic_linker=no 11286 ;; 11287 11288freebsd* | dragonfly*) 11289 # DragonFly does not have aout. When/if they implement a new 11290 # versioning mechanism, adjust this. 11291 if test -x /usr/bin/objformat; then 11292 objformat=`/usr/bin/objformat` 11293 else 11294 case $host_os in 11295 freebsd[123]*) objformat=aout ;; 11296 *) objformat=elf ;; 11297 esac 11298 fi 11299 version_type=freebsd-$objformat 11300 case $version_type in 11301 freebsd-elf*) 11302 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 11303 need_version=no 11304 need_lib_prefix=no 11305 ;; 11306 freebsd-*) 11307 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 11308 need_version=yes 11309 ;; 11310 esac 11311 shlibpath_var=LD_LIBRARY_PATH 11312 case $host_os in 11313 freebsd2*) 11314 shlibpath_overrides_runpath=yes 11315 ;; 11316 freebsd3.[01]* | freebsdelf3.[01]*) 11317 shlibpath_overrides_runpath=yes 11318 hardcode_into_libs=yes 11319 ;; 11320 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 11321 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 11322 shlibpath_overrides_runpath=no 11323 hardcode_into_libs=yes 11324 ;; 11325 *) # from 4.6 on, and DragonFly 11326 shlibpath_overrides_runpath=yes 11327 hardcode_into_libs=yes 11328 ;; 11329 esac 11330 ;; 11331 11332gnu*) 11333 version_type=linux 11334 need_lib_prefix=no 11335 need_version=no 11336 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 11337 soname_spec='${libname}${release}${shared_ext}$major' 11338 shlibpath_var=LD_LIBRARY_PATH 11339 hardcode_into_libs=yes 11340 ;; 11341 11342hpux9* | hpux10* | hpux11*) 11343 # Give a soname corresponding to the major version so that dld.sl refuses to 11344 # link against other versions. 11345 version_type=sunos 11346 need_lib_prefix=no 11347 need_version=no 11348 case $host_cpu in 11349 ia64*) 11350 shrext_cmds='.so' 11351 hardcode_into_libs=yes 11352 dynamic_linker="$host_os dld.so" 11353 shlibpath_var=LD_LIBRARY_PATH 11354 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11355 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11356 soname_spec='${libname}${release}${shared_ext}$major' 11357 if test "X$HPUX_IA64_MODE" = X32; then 11358 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11359 else 11360 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11361 fi 11362 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11363 ;; 11364 hppa*64*) 11365 shrext_cmds='.sl' 11366 hardcode_into_libs=yes 11367 dynamic_linker="$host_os dld.sl" 11368 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11369 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11370 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11371 soname_spec='${libname}${release}${shared_ext}$major' 11372 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11373 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11374 ;; 11375 *) 11376 shrext_cmds='.sl' 11377 dynamic_linker="$host_os dld.sl" 11378 shlibpath_var=SHLIB_PATH 11379 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11380 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11381 soname_spec='${libname}${release}${shared_ext}$major' 11382 ;; 11383 esac 11384 # HP-UX runs *really* slowly unless shared libraries are mode 555. 11385 postinstall_cmds='chmod 555 $lib' 11386 ;; 11387 11388interix[3-9]*) 11389 version_type=linux 11390 need_lib_prefix=no 11391 need_version=no 11392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11393 soname_spec='${libname}${release}${shared_ext}$major' 11394 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11395 shlibpath_var=LD_LIBRARY_PATH 11396 shlibpath_overrides_runpath=no 11397 hardcode_into_libs=yes 11398 ;; 11399 11400irix5* | irix6* | nonstopux*) 11401 case $host_os in 11402 nonstopux*) version_type=nonstopux ;; 11403 *) 11404 if test "$lt_cv_prog_gnu_ld" = yes; then 11405 version_type=linux 11406 else 11407 version_type=irix 11408 fi ;; 11409 esac 11410 need_lib_prefix=no 11411 need_version=no 11412 soname_spec='${libname}${release}${shared_ext}$major' 11413 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 11414 case $host_os in 11415 irix5* | nonstopux*) 11416 libsuff= shlibsuff= 11417 ;; 11418 *) 11419 case $LD in # libtool.m4 will add one of these switches to LD 11420 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11421 libsuff= shlibsuff= libmagic=32-bit;; 11422 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11423 libsuff=32 shlibsuff=N32 libmagic=N32;; 11424 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11425 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11426 *) libsuff= shlibsuff= libmagic=never-match;; 11427 esac 11428 ;; 11429 esac 11430 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11431 shlibpath_overrides_runpath=no 11432 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 11433 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 11434 hardcode_into_libs=yes 11435 ;; 11436 11437# No shared lib support for Linux oldld, aout, or coff. 11438linux*oldld* | linux*aout* | linux*coff*) 11439 dynamic_linker=no 11440 ;; 11441 11442# This must be Linux ELF. 11443linux* | k*bsd*-gnu | kopensolaris*-gnu) 11444 version_type=linux 11445 need_lib_prefix=no 11446 need_version=no 11447 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11448 soname_spec='${libname}${release}${shared_ext}$major' 11449 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11450 shlibpath_var=LD_LIBRARY_PATH 11451 shlibpath_overrides_runpath=no 11452 # Some binutils ld are patched to set DT_RUNPATH 11453 save_LDFLAGS=$LDFLAGS 11454 save_libdir=$libdir 11455 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11456 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11458/* end confdefs.h. */ 11459 11460int 11461main () 11462{ 11463 11464 ; 11465 return 0; 11466} 11467_ACEOF 11468if ac_fn_c_try_link "$LINENO"; then : 11469 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11470 shlibpath_overrides_runpath=yes 11471fi 11472fi 11473rm -f core conftest.err conftest.$ac_objext \ 11474 conftest$ac_exeext conftest.$ac_ext 11475 LDFLAGS=$save_LDFLAGS 11476 libdir=$save_libdir 11477 11478 # This implies no fast_install, which is unacceptable. 11479 # Some rework will be needed to allow for fast_install 11480 # before this can be enabled. 11481 hardcode_into_libs=yes 11482 11483 # Append ld.so.conf contents to the search path 11484 if test -f /etc/ld.so.conf; then 11485 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' ' '` 11486 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 11487 fi 11488 11489 # We used to test for /lib/ld.so.1 and disable shared libraries on 11490 # powerpc, because MkLinux only supported shared libraries with the 11491 # GNU dynamic linker. Since this was broken with cross compilers, 11492 # most powerpc-linux boxes support dynamic linking these days and 11493 # people can always --disable-shared, the test was removed, and we 11494 # assume the GNU/Linux dynamic linker is in use. 11495 dynamic_linker='GNU/Linux ld.so' 11496 ;; 11497 11498netbsdelf*-gnu) 11499 version_type=linux 11500 need_lib_prefix=no 11501 need_version=no 11502 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11503 soname_spec='${libname}${release}${shared_ext}$major' 11504 shlibpath_var=LD_LIBRARY_PATH 11505 shlibpath_overrides_runpath=no 11506 hardcode_into_libs=yes 11507 dynamic_linker='NetBSD ld.elf_so' 11508 ;; 11509 11510netbsd*) 11511 version_type=sunos 11512 need_lib_prefix=no 11513 need_version=no 11514 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11515 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11516 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11517 dynamic_linker='NetBSD (a.out) ld.so' 11518 else 11519 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11520 soname_spec='${libname}${release}${shared_ext}$major' 11521 dynamic_linker='NetBSD ld.elf_so' 11522 fi 11523 shlibpath_var=LD_LIBRARY_PATH 11524 shlibpath_overrides_runpath=yes 11525 hardcode_into_libs=yes 11526 ;; 11527 11528newsos6) 11529 version_type=linux 11530 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11531 shlibpath_var=LD_LIBRARY_PATH 11532 shlibpath_overrides_runpath=yes 11533 ;; 11534 11535*nto* | *qnx*) 11536 version_type=qnx 11537 need_lib_prefix=no 11538 need_version=no 11539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11540 soname_spec='${libname}${release}${shared_ext}$major' 11541 shlibpath_var=LD_LIBRARY_PATH 11542 shlibpath_overrides_runpath=no 11543 hardcode_into_libs=yes 11544 dynamic_linker='ldqnx.so' 11545 ;; 11546 11547openbsd*) 11548 version_type=sunos 11549 sys_lib_dlsearch_path_spec="/usr/lib" 11550 need_lib_prefix=no 11551 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 11552 case $host_os in 11553 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 11554 *) need_version=no ;; 11555 esac 11556 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11557 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11558 shlibpath_var=LD_LIBRARY_PATH 11559 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 11560 case $host_os in 11561 openbsd2.[89] | openbsd2.[89].*) 11562 shlibpath_overrides_runpath=no 11563 ;; 11564 *) 11565 shlibpath_overrides_runpath=yes 11566 ;; 11567 esac 11568 else 11569 shlibpath_overrides_runpath=yes 11570 fi 11571 ;; 11572 11573os2*) 11574 libname_spec='$name' 11575 shrext_cmds=".dll" 11576 need_lib_prefix=no 11577 library_names_spec='$libname${shared_ext} $libname.a' 11578 dynamic_linker='OS/2 ld.exe' 11579 shlibpath_var=LIBPATH 11580 ;; 11581 11582osf3* | osf4* | osf5*) 11583 version_type=osf 11584 need_lib_prefix=no 11585 need_version=no 11586 soname_spec='${libname}${release}${shared_ext}$major' 11587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11588 shlibpath_var=LD_LIBRARY_PATH 11589 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11590 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 11591 ;; 11592 11593rdos*) 11594 dynamic_linker=no 11595 ;; 11596 11597solaris*) 11598 version_type=linux 11599 need_lib_prefix=no 11600 need_version=no 11601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11602 soname_spec='${libname}${release}${shared_ext}$major' 11603 shlibpath_var=LD_LIBRARY_PATH 11604 shlibpath_overrides_runpath=yes 11605 hardcode_into_libs=yes 11606 # ldd complains unless libraries are executable 11607 postinstall_cmds='chmod +x $lib' 11608 ;; 11609 11610sunos4*) 11611 version_type=sunos 11612 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11613 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11614 shlibpath_var=LD_LIBRARY_PATH 11615 shlibpath_overrides_runpath=yes 11616 if test "$with_gnu_ld" = yes; then 11617 need_lib_prefix=no 11618 fi 11619 need_version=yes 11620 ;; 11621 11622sysv4 | sysv4.3*) 11623 version_type=linux 11624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11625 soname_spec='${libname}${release}${shared_ext}$major' 11626 shlibpath_var=LD_LIBRARY_PATH 11627 case $host_vendor in 11628 sni) 11629 shlibpath_overrides_runpath=no 11630 need_lib_prefix=no 11631 runpath_var=LD_RUN_PATH 11632 ;; 11633 siemens) 11634 need_lib_prefix=no 11635 ;; 11636 motorola) 11637 need_lib_prefix=no 11638 need_version=no 11639 shlibpath_overrides_runpath=no 11640 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11641 ;; 11642 esac 11643 ;; 11644 11645sysv4*MP*) 11646 if test -d /usr/nec ;then 11647 version_type=linux 11648 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 11649 soname_spec='$libname${shared_ext}.$major' 11650 shlibpath_var=LD_LIBRARY_PATH 11651 fi 11652 ;; 11653 11654sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11655 version_type=freebsd-elf 11656 need_lib_prefix=no 11657 need_version=no 11658 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 11659 soname_spec='${libname}${release}${shared_ext}$major' 11660 shlibpath_var=LD_LIBRARY_PATH 11661 shlibpath_overrides_runpath=yes 11662 hardcode_into_libs=yes 11663 if test "$with_gnu_ld" = yes; then 11664 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11665 else 11666 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11667 case $host_os in 11668 sco3.2v5*) 11669 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11670 ;; 11671 esac 11672 fi 11673 sys_lib_dlsearch_path_spec='/usr/lib' 11674 ;; 11675 11676tpf*) 11677 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11678 version_type=linux 11679 need_lib_prefix=no 11680 need_version=no 11681 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11682 shlibpath_var=LD_LIBRARY_PATH 11683 shlibpath_overrides_runpath=no 11684 hardcode_into_libs=yes 11685 ;; 11686 11687uts4*) 11688 version_type=linux 11689 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11690 soname_spec='${libname}${release}${shared_ext}$major' 11691 shlibpath_var=LD_LIBRARY_PATH 11692 ;; 11693 11694*) 11695 dynamic_linker=no 11696 ;; 11697esac 11698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11699$as_echo "$dynamic_linker" >&6; } 11700test "$dynamic_linker" = no && can_build_shared=no 11701 11702variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11703if test "$GCC" = yes; then 11704 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11705fi 11706 11707if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 11708 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 11709fi 11710if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 11711 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 11712fi 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 11754 11755 11756 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11801$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11802hardcode_action= 11803if test -n "$hardcode_libdir_flag_spec" || 11804 test -n "$runpath_var" || 11805 test "X$hardcode_automatic" = "Xyes" ; then 11806 11807 # We can hardcode non-existent directories. 11808 if test "$hardcode_direct" != no && 11809 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11810 # have to relink, otherwise we might link with an installed library 11811 # when we should be linking with a yet-to-be-installed one 11812 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 11813 test "$hardcode_minus_L" != no; then 11814 # Linking always hardcodes the temporary library directory. 11815 hardcode_action=relink 11816 else 11817 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11818 hardcode_action=immediate 11819 fi 11820else 11821 # We cannot hardcode anything, or else we can only hardcode existing 11822 # directories. 11823 hardcode_action=unsupported 11824fi 11825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11826$as_echo "$hardcode_action" >&6; } 11827 11828if test "$hardcode_action" = relink || 11829 test "$inherit_rpath" = yes; then 11830 # Fast installation is not supported 11831 enable_fast_install=no 11832elif test "$shlibpath_overrides_runpath" = yes || 11833 test "$enable_shared" = no; then 11834 # Fast installation is not necessary 11835 enable_fast_install=needless 11836fi 11837 11838 11839 11840 11841 11842 11843 if test "x$enable_dlopen" != xyes; then 11844 enable_dlopen=unknown 11845 enable_dlopen_self=unknown 11846 enable_dlopen_self_static=unknown 11847else 11848 lt_cv_dlopen=no 11849 lt_cv_dlopen_libs= 11850 11851 case $host_os in 11852 beos*) 11853 lt_cv_dlopen="load_add_on" 11854 lt_cv_dlopen_libs= 11855 lt_cv_dlopen_self=yes 11856 ;; 11857 11858 mingw* | pw32* | cegcc*) 11859 lt_cv_dlopen="LoadLibrary" 11860 lt_cv_dlopen_libs= 11861 ;; 11862 11863 cygwin*) 11864 lt_cv_dlopen="dlopen" 11865 lt_cv_dlopen_libs= 11866 ;; 11867 11868 darwin*) 11869 # if libdl is installed we need to link against it 11870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11871$as_echo_n "checking for dlopen in -ldl... " >&6; } 11872if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 11873 $as_echo_n "(cached) " >&6 11874else 11875 ac_check_lib_save_LIBS=$LIBS 11876LIBS="-ldl $LIBS" 11877cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11878/* end confdefs.h. */ 11879 11880/* Override any GCC internal prototype to avoid an error. 11881 Use char because int might match the return type of a GCC 11882 builtin and then its argument prototype would still apply. */ 11883#ifdef __cplusplus 11884extern "C" 11885#endif 11886char dlopen (); 11887int 11888main () 11889{ 11890return dlopen (); 11891 ; 11892 return 0; 11893} 11894_ACEOF 11895if ac_fn_c_try_link "$LINENO"; then : 11896 ac_cv_lib_dl_dlopen=yes 11897else 11898 ac_cv_lib_dl_dlopen=no 11899fi 11900rm -f core conftest.err conftest.$ac_objext \ 11901 conftest$ac_exeext conftest.$ac_ext 11902LIBS=$ac_check_lib_save_LIBS 11903fi 11904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11905$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11906if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 11907 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11908else 11909 11910 lt_cv_dlopen="dyld" 11911 lt_cv_dlopen_libs= 11912 lt_cv_dlopen_self=yes 11913 11914fi 11915 11916 ;; 11917 11918 *) 11919 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11920if test "x$ac_cv_func_shl_load" = x""yes; then : 11921 lt_cv_dlopen="shl_load" 11922else 11923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11924$as_echo_n "checking for shl_load in -ldld... " >&6; } 11925if test "${ac_cv_lib_dld_shl_load+set}" = set; then : 11926 $as_echo_n "(cached) " >&6 11927else 11928 ac_check_lib_save_LIBS=$LIBS 11929LIBS="-ldld $LIBS" 11930cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11931/* end confdefs.h. */ 11932 11933/* Override any GCC internal prototype to avoid an error. 11934 Use char because int might match the return type of a GCC 11935 builtin and then its argument prototype would still apply. */ 11936#ifdef __cplusplus 11937extern "C" 11938#endif 11939char shl_load (); 11940int 11941main () 11942{ 11943return shl_load (); 11944 ; 11945 return 0; 11946} 11947_ACEOF 11948if ac_fn_c_try_link "$LINENO"; then : 11949 ac_cv_lib_dld_shl_load=yes 11950else 11951 ac_cv_lib_dld_shl_load=no 11952fi 11953rm -f core conftest.err conftest.$ac_objext \ 11954 conftest$ac_exeext conftest.$ac_ext 11955LIBS=$ac_check_lib_save_LIBS 11956fi 11957{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11958$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11959if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : 11960 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 11961else 11962 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11963if test "x$ac_cv_func_dlopen" = x""yes; then : 11964 lt_cv_dlopen="dlopen" 11965else 11966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11967$as_echo_n "checking for dlopen in -ldl... " >&6; } 11968if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 11969 $as_echo_n "(cached) " >&6 11970else 11971 ac_check_lib_save_LIBS=$LIBS 11972LIBS="-ldl $LIBS" 11973cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11974/* end confdefs.h. */ 11975 11976/* Override any GCC internal prototype to avoid an error. 11977 Use char because int might match the return type of a GCC 11978 builtin and then its argument prototype would still apply. */ 11979#ifdef __cplusplus 11980extern "C" 11981#endif 11982char dlopen (); 11983int 11984main () 11985{ 11986return dlopen (); 11987 ; 11988 return 0; 11989} 11990_ACEOF 11991if ac_fn_c_try_link "$LINENO"; then : 11992 ac_cv_lib_dl_dlopen=yes 11993else 11994 ac_cv_lib_dl_dlopen=no 11995fi 11996rm -f core conftest.err conftest.$ac_objext \ 11997 conftest$ac_exeext conftest.$ac_ext 11998LIBS=$ac_check_lib_save_LIBS 11999fi 12000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12001$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12002if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 12003 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 12004else 12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 12006$as_echo_n "checking for dlopen in -lsvld... " >&6; } 12007if test "${ac_cv_lib_svld_dlopen+set}" = set; then : 12008 $as_echo_n "(cached) " >&6 12009else 12010 ac_check_lib_save_LIBS=$LIBS 12011LIBS="-lsvld $LIBS" 12012cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12013/* end confdefs.h. */ 12014 12015/* Override any GCC internal prototype to avoid an error. 12016 Use char because int might match the return type of a GCC 12017 builtin and then its argument prototype would still apply. */ 12018#ifdef __cplusplus 12019extern "C" 12020#endif 12021char dlopen (); 12022int 12023main () 12024{ 12025return dlopen (); 12026 ; 12027 return 0; 12028} 12029_ACEOF 12030if ac_fn_c_try_link "$LINENO"; then : 12031 ac_cv_lib_svld_dlopen=yes 12032else 12033 ac_cv_lib_svld_dlopen=no 12034fi 12035rm -f core conftest.err conftest.$ac_objext \ 12036 conftest$ac_exeext conftest.$ac_ext 12037LIBS=$ac_check_lib_save_LIBS 12038fi 12039{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 12040$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 12041if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : 12042 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 12043else 12044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 12045$as_echo_n "checking for dld_link in -ldld... " >&6; } 12046if test "${ac_cv_lib_dld_dld_link+set}" = set; then : 12047 $as_echo_n "(cached) " >&6 12048else 12049 ac_check_lib_save_LIBS=$LIBS 12050LIBS="-ldld $LIBS" 12051cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12052/* end confdefs.h. */ 12053 12054/* Override any GCC internal prototype to avoid an error. 12055 Use char because int might match the return type of a GCC 12056 builtin and then its argument prototype would still apply. */ 12057#ifdef __cplusplus 12058extern "C" 12059#endif 12060char dld_link (); 12061int 12062main () 12063{ 12064return dld_link (); 12065 ; 12066 return 0; 12067} 12068_ACEOF 12069if ac_fn_c_try_link "$LINENO"; then : 12070 ac_cv_lib_dld_dld_link=yes 12071else 12072 ac_cv_lib_dld_dld_link=no 12073fi 12074rm -f core conftest.err conftest.$ac_objext \ 12075 conftest$ac_exeext conftest.$ac_ext 12076LIBS=$ac_check_lib_save_LIBS 12077fi 12078{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 12079$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 12080if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : 12081 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 12082fi 12083 12084 12085fi 12086 12087 12088fi 12089 12090 12091fi 12092 12093 12094fi 12095 12096 12097fi 12098 12099 ;; 12100 esac 12101 12102 if test "x$lt_cv_dlopen" != xno; then 12103 enable_dlopen=yes 12104 else 12105 enable_dlopen=no 12106 fi 12107 12108 case $lt_cv_dlopen in 12109 dlopen) 12110 save_CPPFLAGS="$CPPFLAGS" 12111 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 12112 12113 save_LDFLAGS="$LDFLAGS" 12114 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 12115 12116 save_LIBS="$LIBS" 12117 LIBS="$lt_cv_dlopen_libs $LIBS" 12118 12119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 12120$as_echo_n "checking whether a program can dlopen itself... " >&6; } 12121if test "${lt_cv_dlopen_self+set}" = set; then : 12122 $as_echo_n "(cached) " >&6 12123else 12124 if test "$cross_compiling" = yes; then : 12125 lt_cv_dlopen_self=cross 12126else 12127 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12128 lt_status=$lt_dlunknown 12129 cat > conftest.$ac_ext <<_LT_EOF 12130#line 12130 "configure" 12131#include "confdefs.h" 12132 12133#if HAVE_DLFCN_H 12134#include <dlfcn.h> 12135#endif 12136 12137#include <stdio.h> 12138 12139#ifdef RTLD_GLOBAL 12140# define LT_DLGLOBAL RTLD_GLOBAL 12141#else 12142# ifdef DL_GLOBAL 12143# define LT_DLGLOBAL DL_GLOBAL 12144# else 12145# define LT_DLGLOBAL 0 12146# endif 12147#endif 12148 12149/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12150 find out it does not work in some platform. */ 12151#ifndef LT_DLLAZY_OR_NOW 12152# ifdef RTLD_LAZY 12153# define LT_DLLAZY_OR_NOW RTLD_LAZY 12154# else 12155# ifdef DL_LAZY 12156# define LT_DLLAZY_OR_NOW DL_LAZY 12157# else 12158# ifdef RTLD_NOW 12159# define LT_DLLAZY_OR_NOW RTLD_NOW 12160# else 12161# ifdef DL_NOW 12162# define LT_DLLAZY_OR_NOW DL_NOW 12163# else 12164# define LT_DLLAZY_OR_NOW 0 12165# endif 12166# endif 12167# endif 12168# endif 12169#endif 12170 12171void fnord() { int i=42;} 12172int main () 12173{ 12174 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12175 int status = $lt_dlunknown; 12176 12177 if (self) 12178 { 12179 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12180 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12181 /* dlclose (self); */ 12182 } 12183 else 12184 puts (dlerror ()); 12185 12186 return status; 12187} 12188_LT_EOF 12189 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12190 (eval $ac_link) 2>&5 12191 ac_status=$? 12192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12193 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 12194 (./conftest; exit; ) >&5 2>/dev/null 12195 lt_status=$? 12196 case x$lt_status in 12197 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 12198 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 12199 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 12200 esac 12201 else : 12202 # compilation failed 12203 lt_cv_dlopen_self=no 12204 fi 12205fi 12206rm -fr conftest* 12207 12208 12209fi 12210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 12211$as_echo "$lt_cv_dlopen_self" >&6; } 12212 12213 if test "x$lt_cv_dlopen_self" = xyes; then 12214 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 12216$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 12217if test "${lt_cv_dlopen_self_static+set}" = set; then : 12218 $as_echo_n "(cached) " >&6 12219else 12220 if test "$cross_compiling" = yes; then : 12221 lt_cv_dlopen_self_static=cross 12222else 12223 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12224 lt_status=$lt_dlunknown 12225 cat > conftest.$ac_ext <<_LT_EOF 12226#line 12226 "configure" 12227#include "confdefs.h" 12228 12229#if HAVE_DLFCN_H 12230#include <dlfcn.h> 12231#endif 12232 12233#include <stdio.h> 12234 12235#ifdef RTLD_GLOBAL 12236# define LT_DLGLOBAL RTLD_GLOBAL 12237#else 12238# ifdef DL_GLOBAL 12239# define LT_DLGLOBAL DL_GLOBAL 12240# else 12241# define LT_DLGLOBAL 0 12242# endif 12243#endif 12244 12245/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12246 find out it does not work in some platform. */ 12247#ifndef LT_DLLAZY_OR_NOW 12248# ifdef RTLD_LAZY 12249# define LT_DLLAZY_OR_NOW RTLD_LAZY 12250# else 12251# ifdef DL_LAZY 12252# define LT_DLLAZY_OR_NOW DL_LAZY 12253# else 12254# ifdef RTLD_NOW 12255# define LT_DLLAZY_OR_NOW RTLD_NOW 12256# else 12257# ifdef DL_NOW 12258# define LT_DLLAZY_OR_NOW DL_NOW 12259# else 12260# define LT_DLLAZY_OR_NOW 0 12261# endif 12262# endif 12263# endif 12264# endif 12265#endif 12266 12267void fnord() { int i=42;} 12268int main () 12269{ 12270 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12271 int status = $lt_dlunknown; 12272 12273 if (self) 12274 { 12275 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12276 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12277 /* dlclose (self); */ 12278 } 12279 else 12280 puts (dlerror ()); 12281 12282 return status; 12283} 12284_LT_EOF 12285 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12286 (eval $ac_link) 2>&5 12287 ac_status=$? 12288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12289 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 12290 (./conftest; exit; ) >&5 2>/dev/null 12291 lt_status=$? 12292 case x$lt_status in 12293 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12294 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12295 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12296 esac 12297 else : 12298 # compilation failed 12299 lt_cv_dlopen_self_static=no 12300 fi 12301fi 12302rm -fr conftest* 12303 12304 12305fi 12306{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12307$as_echo "$lt_cv_dlopen_self_static" >&6; } 12308 fi 12309 12310 CPPFLAGS="$save_CPPFLAGS" 12311 LDFLAGS="$save_LDFLAGS" 12312 LIBS="$save_LIBS" 12313 ;; 12314 esac 12315 12316 case $lt_cv_dlopen_self in 12317 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12318 *) enable_dlopen_self=unknown ;; 12319 esac 12320 12321 case $lt_cv_dlopen_self_static in 12322 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12323 *) enable_dlopen_self_static=unknown ;; 12324 esac 12325fi 12326 12327 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 12338 12339 12340 12341 12342 12343striplib= 12344old_striplib= 12345{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12346$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12347if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12348 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12349 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12351$as_echo "yes" >&6; } 12352else 12353# FIXME - insert some real tests, host_os isn't really good enough 12354 case $host_os in 12355 darwin*) 12356 if test -n "$STRIP" ; then 12357 striplib="$STRIP -x" 12358 old_striplib="$STRIP -S" 12359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12360$as_echo "yes" >&6; } 12361 else 12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12363$as_echo "no" >&6; } 12364 fi 12365 ;; 12366 *) 12367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12368$as_echo "no" >&6; } 12369 ;; 12370 esac 12371fi 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381 12382 12383 12384 # Report which library types will actually be built 12385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12386$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12388$as_echo "$can_build_shared" >&6; } 12389 12390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12391$as_echo_n "checking whether to build shared libraries... " >&6; } 12392 test "$can_build_shared" = "no" && enable_shared=no 12393 12394 # On AIX, shared libraries and static libraries use the same namespace, and 12395 # are all built from PIC. 12396 case $host_os in 12397 aix3*) 12398 test "$enable_shared" = yes && enable_static=no 12399 if test -n "$RANLIB"; then 12400 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12401 postinstall_cmds='$RANLIB $lib' 12402 fi 12403 ;; 12404 12405 aix[4-9]*) 12406 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 12407 test "$enable_shared" = yes && enable_static=no 12408 fi 12409 ;; 12410 esac 12411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12412$as_echo "$enable_shared" >&6; } 12413 12414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12415$as_echo_n "checking whether to build static libraries... " >&6; } 12416 # Make sure either enable_shared or enable_static is yes. 12417 test "$enable_shared" = yes || enable_static=yes 12418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12419$as_echo "$enable_static" >&6; } 12420 12421 12422 12423 12424fi 12425ac_ext=c 12426ac_cpp='$CPP $CPPFLAGS' 12427ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12428ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12429ac_compiler_gnu=$ac_cv_c_compiler_gnu 12430 12431CC="$lt_save_CC" 12432 12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 ac_config_commands="$ac_config_commands libtool" 12446 12447 12448 12449 12450# Only expand once: 12451 12452 12453 12454 12455 12456 12457 12458 12459 12460if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 12461 if test -n "$ac_tool_prefix"; then 12462 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 12463set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 12464{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12465$as_echo_n "checking for $ac_word... " >&6; } 12466if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 12467 $as_echo_n "(cached) " >&6 12468else 12469 case $PKG_CONFIG in 12470 [\\/]* | ?:[\\/]*) 12471 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 12472 ;; 12473 *) 12474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12475for as_dir in $PATH 12476do 12477 IFS=$as_save_IFS 12478 test -z "$as_dir" && as_dir=. 12479 for ac_exec_ext in '' $ac_executable_extensions; do 12480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12481 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12483 break 2 12484 fi 12485done 12486 done 12487IFS=$as_save_IFS 12488 12489 ;; 12490esac 12491fi 12492PKG_CONFIG=$ac_cv_path_PKG_CONFIG 12493if test -n "$PKG_CONFIG"; then 12494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 12495$as_echo "$PKG_CONFIG" >&6; } 12496else 12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12498$as_echo "no" >&6; } 12499fi 12500 12501 12502fi 12503if test -z "$ac_cv_path_PKG_CONFIG"; then 12504 ac_pt_PKG_CONFIG=$PKG_CONFIG 12505 # Extract the first word of "pkg-config", so it can be a program name with args. 12506set dummy pkg-config; ac_word=$2 12507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12508$as_echo_n "checking for $ac_word... " >&6; } 12509if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : 12510 $as_echo_n "(cached) " >&6 12511else 12512 case $ac_pt_PKG_CONFIG in 12513 [\\/]* | ?:[\\/]*) 12514 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 12515 ;; 12516 *) 12517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12518for as_dir in $PATH 12519do 12520 IFS=$as_save_IFS 12521 test -z "$as_dir" && as_dir=. 12522 for ac_exec_ext in '' $ac_executable_extensions; do 12523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12524 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12526 break 2 12527 fi 12528done 12529 done 12530IFS=$as_save_IFS 12531 12532 ;; 12533esac 12534fi 12535ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 12536if test -n "$ac_pt_PKG_CONFIG"; then 12537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 12538$as_echo "$ac_pt_PKG_CONFIG" >&6; } 12539else 12540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12541$as_echo "no" >&6; } 12542fi 12543 12544 if test "x$ac_pt_PKG_CONFIG" = x; then 12545 PKG_CONFIG="" 12546 else 12547 case $cross_compiling:$ac_tool_warned in 12548yes:) 12549{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12550$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12551ac_tool_warned=yes ;; 12552esac 12553 PKG_CONFIG=$ac_pt_PKG_CONFIG 12554 fi 12555else 12556 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 12557fi 12558 12559fi 12560if test -n "$PKG_CONFIG"; then 12561 _pkg_min_version=0.9.0 12562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 12563$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 12564 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 12565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12566$as_echo "yes" >&6; } 12567 else 12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12569$as_echo "no" >&6; } 12570 PKG_CONFIG="" 12571 fi 12572fi 12573 12574pkg_failed=no 12575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gmpcalbumview" >&5 12576$as_echo_n "checking for gmpcalbumview... " >&6; } 12577 12578if test -n "$gmpcalbumview_CFLAGS"; then 12579 pkg_cv_gmpcalbumview_CFLAGS="$gmpcalbumview_CFLAGS" 12580 elif test -n "$PKG_CONFIG"; then 12581 if test -n "$PKG_CONFIG" && \ 12582 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" glib-2.0 >= 2.10 12583 gobject-2.0 >= 2.4 12584 gtk+-2.0 >= 2.8 12585 gmodule-2.0 12586 libmpd >= 0.15.98 12587 gmpc >= 0.19.2 12588\""; } >&5 12589 ($PKG_CONFIG --exists --print-errors " glib-2.0 >= 2.10 12590 gobject-2.0 >= 2.4 12591 gtk+-2.0 >= 2.8 12592 gmodule-2.0 12593 libmpd >= 0.15.98 12594 gmpc >= 0.19.2 12595") 2>&5 12596 ac_status=$? 12597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12598 test $ac_status = 0; }; then 12599 pkg_cv_gmpcalbumview_CFLAGS=`$PKG_CONFIG --cflags " glib-2.0 >= 2.10 12600 gobject-2.0 >= 2.4 12601 gtk+-2.0 >= 2.8 12602 gmodule-2.0 12603 libmpd >= 0.15.98 12604 gmpc >= 0.19.2 12605" 2>/dev/null` 12606else 12607 pkg_failed=yes 12608fi 12609 else 12610 pkg_failed=untried 12611fi 12612if test -n "$gmpcalbumview_LIBS"; then 12613 pkg_cv_gmpcalbumview_LIBS="$gmpcalbumview_LIBS" 12614 elif test -n "$PKG_CONFIG"; then 12615 if test -n "$PKG_CONFIG" && \ 12616 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" glib-2.0 >= 2.10 12617 gobject-2.0 >= 2.4 12618 gtk+-2.0 >= 2.8 12619 gmodule-2.0 12620 libmpd >= 0.15.98 12621 gmpc >= 0.19.2 12622\""; } >&5 12623 ($PKG_CONFIG --exists --print-errors " glib-2.0 >= 2.10 12624 gobject-2.0 >= 2.4 12625 gtk+-2.0 >= 2.8 12626 gmodule-2.0 12627 libmpd >= 0.15.98 12628 gmpc >= 0.19.2 12629") 2>&5 12630 ac_status=$? 12631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12632 test $ac_status = 0; }; then 12633 pkg_cv_gmpcalbumview_LIBS=`$PKG_CONFIG --libs " glib-2.0 >= 2.10 12634 gobject-2.0 >= 2.4 12635 gtk+-2.0 >= 2.8 12636 gmodule-2.0 12637 libmpd >= 0.15.98 12638 gmpc >= 0.19.2 12639" 2>/dev/null` 12640else 12641 pkg_failed=yes 12642fi 12643 else 12644 pkg_failed=untried 12645fi 12646 12647 12648 12649if test $pkg_failed = yes; then 12650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12651$as_echo "no" >&6; } 12652 12653if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 12654 _pkg_short_errors_supported=yes 12655else 12656 _pkg_short_errors_supported=no 12657fi 12658 if test $_pkg_short_errors_supported = yes; then 12659 gmpcalbumview_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " glib-2.0 >= 2.10 12660 gobject-2.0 >= 2.4 12661 gtk+-2.0 >= 2.8 12662 gmodule-2.0 12663 libmpd >= 0.15.98 12664 gmpc >= 0.19.2 12665" 2>&1` 12666 else 12667 gmpcalbumview_PKG_ERRORS=`$PKG_CONFIG --print-errors " glib-2.0 >= 2.10 12668 gobject-2.0 >= 2.4 12669 gtk+-2.0 >= 2.8 12670 gmodule-2.0 12671 libmpd >= 0.15.98 12672 gmpc >= 0.19.2 12673" 2>&1` 12674 fi 12675 # Put the nasty error message in config.log where it belongs 12676 echo "$gmpcalbumview_PKG_ERRORS" >&5 12677 12678 as_fn_error $? "Package requirements ( glib-2.0 >= 2.10 12679 gobject-2.0 >= 2.4 12680 gtk+-2.0 >= 2.8 12681 gmodule-2.0 12682 libmpd >= 0.15.98 12683 gmpc >= 0.19.2 12684) were not met: 12685 12686$gmpcalbumview_PKG_ERRORS 12687 12688Consider adjusting the PKG_CONFIG_PATH environment variable if you 12689installed software in a non-standard prefix. 12690 12691Alternatively, you may set the environment variables gmpcalbumview_CFLAGS 12692and gmpcalbumview_LIBS to avoid the need to call pkg-config. 12693See the pkg-config man page for more details." "$LINENO" 5 12694elif test $pkg_failed = untried; then 12695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12696$as_echo "no" >&6; } 12697 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12698$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12699as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 12700is in your PATH or set the PKG_CONFIG environment variable to the full 12701path to pkg-config. 12702 12703Alternatively, you may set the environment variables gmpcalbumview_CFLAGS 12704and gmpcalbumview_LIBS to avoid the need to call pkg-config. 12705See the pkg-config man page for more details. 12706 12707To get pkg-config, see <http://pkg-config.freedesktop.org/>. 12708See \`config.log' for more details" "$LINENO" 5 ; } 12709else 12710 gmpcalbumview_CFLAGS=$pkg_cv_gmpcalbumview_CFLAGS 12711 gmpcalbumview_LIBS=$pkg_cv_gmpcalbumview_LIBS 12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12713$as_echo "yes" >&6; } 12714 12715fi 12716 12717 12718 12719 12720 12721ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in pixmaps/Makefile pixmaps/hicolor/Makefile pixmaps/hicolor/16x16/Makefile pixmaps/hicolor/16x16/apps/Makefile pixmaps/hicolor/22x22/Makefile pixmaps/hicolor/22x22/apps/Makefile pixmaps/hicolor/24x24/Makefile pixmaps/hicolor/24x24/apps/Makefile pixmaps/hicolor/32x32/Makefile pixmaps/hicolor/32x32/apps/Makefile pixmaps/hicolor/48x48/Makefile pixmaps/hicolor/48x48/apps/Makefile pixmaps/hicolor/64x64/Makefile pixmaps/hicolor/64x64/apps/Makefile pixmaps/hicolor/72x72/Makefile pixmaps/hicolor/72x72/apps/Makefile pixmaps/hicolor/96x96/Makefile pixmaps/hicolor/96x96/apps/Makefile pixmaps/hicolor/128x128/Makefile pixmaps/hicolor/128x128/apps/Makefile pixmaps/hicolor/scalable/Makefile pixmaps/hicolor/scalable/apps/Makefile pixmaps/Humanity/Makefile pixmaps/Humanity/16x16/Makefile pixmaps/Humanity/16x16/apps/Makefile pixmaps/Humanity/22x22/Makefile pixmaps/Humanity/22x22/apps/Makefile pixmaps/Humanity/24x24/Makefile pixmaps/Humanity/24x24/apps/Makefile pixmaps/Humanity/32x32/Makefile pixmaps/Humanity/32x32/apps/Makefile pixmaps/Humanity/48x48/Makefile pixmaps/Humanity/48x48/apps/Makefile pixmaps/Humanity/64x64/Makefile pixmaps/Humanity/64x64/apps/Makefile pixmaps/Humanity/72x72/Makefile pixmaps/Humanity/72x72/apps/Makefile pixmaps/Humanity/96x96/Makefile pixmaps/Humanity/96x96/apps/Makefile pixmaps/Humanity/128x128/Makefile pixmaps/Humanity/128x128/apps/Makefile pixmaps/Humanity/scalable/Makefile pixmaps/Humanity/scalable/apps/Makefile" 12722 12723cat >confcache <<\_ACEOF 12724# This file is a shell script that caches the results of configure 12725# tests run on this system so they can be shared between configure 12726# scripts and configure runs, see configure's option --config-cache. 12727# It is not useful on other systems. If it contains results you don't 12728# want to keep, you may remove or edit it. 12729# 12730# config.status only pays attention to the cache file if you give it 12731# the --recheck option to rerun configure. 12732# 12733# `ac_cv_env_foo' variables (set or unset) will be overridden when 12734# loading this file, other *unset* `ac_cv_foo' will be assigned the 12735# following values. 12736 12737_ACEOF 12738 12739# The following way of writing the cache mishandles newlines in values, 12740# but we know of no workaround that is simple, portable, and efficient. 12741# So, we kill variables containing newlines. 12742# Ultrix sh set writes to stderr and can't be redirected directly, 12743# and sets the high bit in the cache file unless we assign to the vars. 12744( 12745 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 12746 eval ac_val=\$$ac_var 12747 case $ac_val in #( 12748 *${as_nl}*) 12749 case $ac_var in #( 12750 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 12751$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 12752 esac 12753 case $ac_var in #( 12754 _ | IFS | as_nl) ;; #( 12755 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 12756 *) { eval $ac_var=; unset $ac_var;} ;; 12757 esac ;; 12758 esac 12759 done 12760 12761 (set) 2>&1 | 12762 case $as_nl`(ac_space=' '; set) 2>&1` in #( 12763 *${as_nl}ac_space=\ *) 12764 # `set' does not quote correctly, so add quotes: double-quote 12765 # substitution turns \\\\ into \\, and sed turns \\ into \. 12766 sed -n \ 12767 "s/'/'\\\\''/g; 12768 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 12769 ;; #( 12770 *) 12771 # `set' quotes correctly as required by POSIX, so do not add quotes. 12772 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 12773 ;; 12774 esac | 12775 sort 12776) | 12777 sed ' 12778 /^ac_cv_env_/b end 12779 t clear 12780 :clear 12781 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 12782 t end 12783 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 12784 :end' >>confcache 12785if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 12786 if test -w "$cache_file"; then 12787 test "x$cache_file" != "x/dev/null" && 12788 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 12789$as_echo "$as_me: updating cache $cache_file" >&6;} 12790 cat confcache >$cache_file 12791 else 12792 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 12793$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 12794 fi 12795fi 12796rm -f confcache 12797 12798test "x$prefix" = xNONE && prefix=$ac_default_prefix 12799# Let make expand exec_prefix. 12800test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 12801 12802DEFS=-DHAVE_CONFIG_H 12803 12804ac_libobjs= 12805ac_ltlibobjs= 12806U= 12807for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 12808 # 1. Remove the extension, and $U if already installed. 12809 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 12810 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 12811 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 12812 # will be set to the directory where LIBOBJS objects are built. 12813 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 12814 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 12815done 12816LIBOBJS=$ac_libobjs 12817 12818LTLIBOBJS=$ac_ltlibobjs 12819 12820 12821 if test -n "$EXEEXT"; then 12822 am__EXEEXT_TRUE= 12823 am__EXEEXT_FALSE='#' 12824else 12825 am__EXEEXT_TRUE='#' 12826 am__EXEEXT_FALSE= 12827fi 12828 12829if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 12830 as_fn_error $? "conditional \"AMDEP\" was never defined. 12831Usually this means the macro was only invoked conditionally." "$LINENO" 5 12832fi 12833if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 12834 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 12835Usually this means the macro was only invoked conditionally." "$LINENO" 5 12836fi 12837 12838 ac_config_commands="$ac_config_commands po/stamp-it" 12839 12840 12841if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 12842 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 12843Usually this means the macro was only invoked conditionally." "$LINENO" 5 12844fi 12845 12846: ${CONFIG_STATUS=./config.status} 12847ac_write_fail=0 12848ac_clean_files_save=$ac_clean_files 12849ac_clean_files="$ac_clean_files $CONFIG_STATUS" 12850{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 12851$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 12852as_write_fail=0 12853cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 12854#! $SHELL 12855# Generated by $as_me. 12856# Run this file to recreate the current configuration. 12857# Compiler output produced by configure, useful for debugging 12858# configure, is in config.log if it exists. 12859 12860debug=false 12861ac_cs_recheck=false 12862ac_cs_silent=false 12863 12864SHELL=\${CONFIG_SHELL-$SHELL} 12865export SHELL 12866_ASEOF 12867cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 12868## -------------------- ## 12869## M4sh Initialization. ## 12870## -------------------- ## 12871 12872# Be more Bourne compatible 12873DUALCASE=1; export DUALCASE # for MKS sh 12874if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 12875 emulate sh 12876 NULLCMD=: 12877 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 12878 # is contrary to our usage. Disable this feature. 12879 alias -g '${1+"$@"}'='"$@"' 12880 setopt NO_GLOB_SUBST 12881else 12882 case `(set -o) 2>/dev/null` in #( 12883 *posix*) : 12884 set -o posix ;; #( 12885 *) : 12886 ;; 12887esac 12888fi 12889 12890 12891as_nl=' 12892' 12893export as_nl 12894# Printing a long string crashes Solaris 7 /usr/bin/printf. 12895as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 12896as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 12897as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 12898# Prefer a ksh shell builtin over an external printf program on Solaris, 12899# but without wasting forks for bash or zsh. 12900if test -z "$BASH_VERSION$ZSH_VERSION" \ 12901 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 12902 as_echo='print -r --' 12903 as_echo_n='print -rn --' 12904elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 12905 as_echo='printf %s\n' 12906 as_echo_n='printf %s' 12907else 12908 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 12909 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 12910 as_echo_n='/usr/ucb/echo -n' 12911 else 12912 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 12913 as_echo_n_body='eval 12914 arg=$1; 12915 case $arg in #( 12916 *"$as_nl"*) 12917 expr "X$arg" : "X\\(.*\\)$as_nl"; 12918 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 12919 esac; 12920 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 12921 ' 12922 export as_echo_n_body 12923 as_echo_n='sh -c $as_echo_n_body as_echo' 12924 fi 12925 export as_echo_body 12926 as_echo='sh -c $as_echo_body as_echo' 12927fi 12928 12929# The user is always right. 12930if test "${PATH_SEPARATOR+set}" != set; then 12931 PATH_SEPARATOR=: 12932 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 12933 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 12934 PATH_SEPARATOR=';' 12935 } 12936fi 12937 12938 12939# IFS 12940# We need space, tab and new line, in precisely that order. Quoting is 12941# there to prevent editors from complaining about space-tab. 12942# (If _AS_PATH_WALK were called with IFS unset, it would disable word 12943# splitting by setting IFS to empty value.) 12944IFS=" "" $as_nl" 12945 12946# Find who we are. Look in the path if we contain no directory separator. 12947case $0 in #(( 12948 *[\\/]* ) as_myself=$0 ;; 12949 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12950for as_dir in $PATH 12951do 12952 IFS=$as_save_IFS 12953 test -z "$as_dir" && as_dir=. 12954 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 12955 done 12956IFS=$as_save_IFS 12957 12958 ;; 12959esac 12960# We did not find ourselves, most probably we were run as `sh COMMAND' 12961# in which case we are not to be found in the path. 12962if test "x$as_myself" = x; then 12963 as_myself=$0 12964fi 12965if test ! -f "$as_myself"; then 12966 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 12967 exit 1 12968fi 12969 12970# Unset variables that we do not need and which cause bugs (e.g. in 12971# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 12972# suppresses any "Segmentation fault" message there. '((' could 12973# trigger a bug in pdksh 5.2.14. 12974for as_var in BASH_ENV ENV MAIL MAILPATH 12975do eval test x\${$as_var+set} = xset \ 12976 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 12977done 12978PS1='$ ' 12979PS2='> ' 12980PS4='+ ' 12981 12982# NLS nuisances. 12983LC_ALL=C 12984export LC_ALL 12985LANGUAGE=C 12986export LANGUAGE 12987 12988# CDPATH. 12989(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 12990 12991 12992# as_fn_error STATUS ERROR [LINENO LOG_FD] 12993# ---------------------------------------- 12994# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 12995# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 12996# script with STATUS, using 1 if that was 0. 12997as_fn_error () 12998{ 12999 as_status=$1; test $as_status -eq 0 && as_status=1 13000 if test "$4"; then 13001 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 13002 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 13003 fi 13004 $as_echo "$as_me: error: $2" >&2 13005 as_fn_exit $as_status 13006} # as_fn_error 13007 13008 13009# as_fn_set_status STATUS 13010# ----------------------- 13011# Set $? to STATUS, without forking. 13012as_fn_set_status () 13013{ 13014 return $1 13015} # as_fn_set_status 13016 13017# as_fn_exit STATUS 13018# ----------------- 13019# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 13020as_fn_exit () 13021{ 13022 set +e 13023 as_fn_set_status $1 13024 exit $1 13025} # as_fn_exit 13026 13027# as_fn_unset VAR 13028# --------------- 13029# Portably unset VAR. 13030as_fn_unset () 13031{ 13032 { eval $1=; unset $1;} 13033} 13034as_unset=as_fn_unset 13035# as_fn_append VAR VALUE 13036# ---------------------- 13037# Append the text in VALUE to the end of the definition contained in VAR. Take 13038# advantage of any shell optimizations that allow amortized linear growth over 13039# repeated appends, instead of the typical quadratic growth present in naive 13040# implementations. 13041if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 13042 eval 'as_fn_append () 13043 { 13044 eval $1+=\$2 13045 }' 13046else 13047 as_fn_append () 13048 { 13049 eval $1=\$$1\$2 13050 } 13051fi # as_fn_append 13052 13053# as_fn_arith ARG... 13054# ------------------ 13055# Perform arithmetic evaluation on the ARGs, and store the result in the 13056# global $as_val. Take advantage of shells that can avoid forks. The arguments 13057# must be portable across $(()) and expr. 13058if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 13059 eval 'as_fn_arith () 13060 { 13061 as_val=$(( $* )) 13062 }' 13063else 13064 as_fn_arith () 13065 { 13066 as_val=`expr "$@" || test $? -eq 1` 13067 } 13068fi # as_fn_arith 13069 13070 13071if expr a : '\(a\)' >/dev/null 2>&1 && 13072 test "X`expr 00001 : '.*\(...\)'`" = X001; then 13073 as_expr=expr 13074else 13075 as_expr=false 13076fi 13077 13078if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 13079 as_basename=basename 13080else 13081 as_basename=false 13082fi 13083 13084if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 13085 as_dirname=dirname 13086else 13087 as_dirname=false 13088fi 13089 13090as_me=`$as_basename -- "$0" || 13091$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 13092 X"$0" : 'X\(//\)$' \| \ 13093 X"$0" : 'X\(/\)' \| . 2>/dev/null || 13094$as_echo X/"$0" | 13095 sed '/^.*\/\([^/][^/]*\)\/*$/{ 13096 s//\1/ 13097 q 13098 } 13099 /^X\/\(\/\/\)$/{ 13100 s//\1/ 13101 q 13102 } 13103 /^X\/\(\/\).*/{ 13104 s//\1/ 13105 q 13106 } 13107 s/.*/./; q'` 13108 13109# Avoid depending upon Character Ranges. 13110as_cr_letters='abcdefghijklmnopqrstuvwxyz' 13111as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 13112as_cr_Letters=$as_cr_letters$as_cr_LETTERS 13113as_cr_digits='0123456789' 13114as_cr_alnum=$as_cr_Letters$as_cr_digits 13115 13116ECHO_C= ECHO_N= ECHO_T= 13117case `echo -n x` in #((((( 13118-n*) 13119 case `echo 'xy\c'` in 13120 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 13121 xy) ECHO_C='\c';; 13122 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 13123 ECHO_T=' ';; 13124 esac;; 13125*) 13126 ECHO_N='-n';; 13127esac 13128 13129rm -f conf$$ conf$$.exe conf$$.file 13130if test -d conf$$.dir; then 13131 rm -f conf$$.dir/conf$$.file 13132else 13133 rm -f conf$$.dir 13134 mkdir conf$$.dir 2>/dev/null 13135fi 13136if (echo >conf$$.file) 2>/dev/null; then 13137 if ln -s conf$$.file conf$$ 2>/dev/null; then 13138 as_ln_s='ln -s' 13139 # ... but there are two gotchas: 13140 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 13141 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 13142 # In both cases, we have to default to `cp -p'. 13143 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 13144 as_ln_s='cp -p' 13145 elif ln conf$$.file conf$$ 2>/dev/null; then 13146 as_ln_s=ln 13147 else 13148 as_ln_s='cp -p' 13149 fi 13150else 13151 as_ln_s='cp -p' 13152fi 13153rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 13154rmdir conf$$.dir 2>/dev/null 13155 13156 13157# as_fn_mkdir_p 13158# ------------- 13159# Create "$as_dir" as a directory, including parents if necessary. 13160as_fn_mkdir_p () 13161{ 13162 13163 case $as_dir in #( 13164 -*) as_dir=./$as_dir;; 13165 esac 13166 test -d "$as_dir" || eval $as_mkdir_p || { 13167 as_dirs= 13168 while :; do 13169 case $as_dir in #( 13170 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 13171 *) as_qdir=$as_dir;; 13172 esac 13173 as_dirs="'$as_qdir' $as_dirs" 13174 as_dir=`$as_dirname -- "$as_dir" || 13175$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13176 X"$as_dir" : 'X\(//\)[^/]' \| \ 13177 X"$as_dir" : 'X\(//\)$' \| \ 13178 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 13179$as_echo X"$as_dir" | 13180 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13181 s//\1/ 13182 q 13183 } 13184 /^X\(\/\/\)[^/].*/{ 13185 s//\1/ 13186 q 13187 } 13188 /^X\(\/\/\)$/{ 13189 s//\1/ 13190 q 13191 } 13192 /^X\(\/\).*/{ 13193 s//\1/ 13194 q 13195 } 13196 s/.*/./; q'` 13197 test -d "$as_dir" && break 13198 done 13199 test -z "$as_dirs" || eval "mkdir $as_dirs" 13200 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 13201 13202 13203} # as_fn_mkdir_p 13204if mkdir -p . 2>/dev/null; then 13205 as_mkdir_p='mkdir -p "$as_dir"' 13206else 13207 test -d ./-p && rmdir ./-p 13208 as_mkdir_p=false 13209fi 13210 13211if test -x / >/dev/null 2>&1; then 13212 as_test_x='test -x' 13213else 13214 if ls -dL / >/dev/null 2>&1; then 13215 as_ls_L_option=L 13216 else 13217 as_ls_L_option= 13218 fi 13219 as_test_x=' 13220 eval sh -c '\'' 13221 if test -d "$1"; then 13222 test -d "$1/."; 13223 else 13224 case $1 in #( 13225 -*)set "./$1";; 13226 esac; 13227 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 13228 ???[sx]*):;;*)false;;esac;fi 13229 '\'' sh 13230 ' 13231fi 13232as_executable_p=$as_test_x 13233 13234# Sed expression to map a string onto a valid CPP name. 13235as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 13236 13237# Sed expression to map a string onto a valid variable name. 13238as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 13239 13240 13241exec 6>&1 13242## ----------------------------------- ## 13243## Main body of $CONFIG_STATUS script. ## 13244## ----------------------------------- ## 13245_ASEOF 13246test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 13247 13248cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13249# Save the log message, to keep $0 and so on meaningful, and to 13250# report actual input values of CONFIG_FILES etc. instead of their 13251# values after options handling. 13252ac_log=" 13253This file was extended by gmpc-albumview $as_me 11.8.16, which was 13254generated by GNU Autoconf 2.67. Invocation command line was 13255 13256 CONFIG_FILES = $CONFIG_FILES 13257 CONFIG_HEADERS = $CONFIG_HEADERS 13258 CONFIG_LINKS = $CONFIG_LINKS 13259 CONFIG_COMMANDS = $CONFIG_COMMANDS 13260 $ $0 $@ 13261 13262on `(hostname || uname -n) 2>/dev/null | sed 1q` 13263" 13264 13265_ACEOF 13266 13267case $ac_config_files in *" 13268"*) set x $ac_config_files; shift; ac_config_files=$*;; 13269esac 13270 13271case $ac_config_headers in *" 13272"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 13273esac 13274 13275 13276cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13277# Files that config.status was made for. 13278config_files="$ac_config_files" 13279config_headers="$ac_config_headers" 13280config_commands="$ac_config_commands" 13281 13282_ACEOF 13283 13284cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13285ac_cs_usage="\ 13286\`$as_me' instantiates files and other configuration actions 13287from templates according to the current configuration. Unless the files 13288and actions are specified as TAGs, all are instantiated by default. 13289 13290Usage: $0 [OPTION]... [TAG]... 13291 13292 -h, --help print this help, then exit 13293 -V, --version print version number and configuration settings, then exit 13294 --config print configuration, then exit 13295 -q, --quiet, --silent 13296 do not print progress messages 13297 -d, --debug don't remove temporary files 13298 --recheck update $as_me by reconfiguring in the same conditions 13299 --file=FILE[:TEMPLATE] 13300 instantiate the configuration file FILE 13301 --header=FILE[:TEMPLATE] 13302 instantiate the configuration header FILE 13303 13304Configuration files: 13305$config_files 13306 13307Configuration headers: 13308$config_headers 13309 13310Configuration commands: 13311$config_commands 13312 13313Report bugs to <qball@sarine.nl>." 13314 13315_ACEOF 13316cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13317ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 13318ac_cs_version="\\ 13319gmpc-albumview config.status 11.8.16 13320configured by $0, generated by GNU Autoconf 2.67, 13321 with options \\"\$ac_cs_config\\" 13322 13323Copyright (C) 2010 Free Software Foundation, Inc. 13324This config.status script is free software; the Free Software Foundation 13325gives unlimited permission to copy, distribute and modify it." 13326 13327ac_pwd='$ac_pwd' 13328srcdir='$srcdir' 13329INSTALL='$INSTALL' 13330MKDIR_P='$MKDIR_P' 13331AWK='$AWK' 13332test -n "\$AWK" || AWK=awk 13333_ACEOF 13334 13335cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13336# The default lists apply if the user does not specify any file. 13337ac_need_defaults=: 13338while test $# != 0 13339do 13340 case $1 in 13341 --*=?*) 13342 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13343 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 13344 ac_shift=: 13345 ;; 13346 --*=) 13347 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13348 ac_optarg= 13349 ac_shift=: 13350 ;; 13351 *) 13352 ac_option=$1 13353 ac_optarg=$2 13354 ac_shift=shift 13355 ;; 13356 esac 13357 13358 case $ac_option in 13359 # Handling of the options. 13360 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 13361 ac_cs_recheck=: ;; 13362 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 13363 $as_echo "$ac_cs_version"; exit ;; 13364 --config | --confi | --conf | --con | --co | --c ) 13365 $as_echo "$ac_cs_config"; exit ;; 13366 --debug | --debu | --deb | --de | --d | -d ) 13367 debug=: ;; 13368 --file | --fil | --fi | --f ) 13369 $ac_shift 13370 case $ac_optarg in 13371 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13372 '') as_fn_error $? "missing file argument" ;; 13373 esac 13374 as_fn_append CONFIG_FILES " '$ac_optarg'" 13375 ac_need_defaults=false;; 13376 --header | --heade | --head | --hea ) 13377 $ac_shift 13378 case $ac_optarg in 13379 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13380 esac 13381 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 13382 ac_need_defaults=false;; 13383 --he | --h) 13384 # Conflict between --help and --header 13385 as_fn_error $? "ambiguous option: \`$1' 13386Try \`$0 --help' for more information.";; 13387 --help | --hel | -h ) 13388 $as_echo "$ac_cs_usage"; exit ;; 13389 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 13390 | -silent | --silent | --silen | --sile | --sil | --si | --s) 13391 ac_cs_silent=: ;; 13392 13393 # This is an error. 13394 -*) as_fn_error $? "unrecognized option: \`$1' 13395Try \`$0 --help' for more information." ;; 13396 13397 *) as_fn_append ac_config_targets " $1" 13398 ac_need_defaults=false ;; 13399 13400 esac 13401 shift 13402done 13403 13404ac_configure_extra_args= 13405 13406if $ac_cs_silent; then 13407 exec 6>/dev/null 13408 ac_configure_extra_args="$ac_configure_extra_args --silent" 13409fi 13410 13411_ACEOF 13412cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13413if \$ac_cs_recheck; then 13414 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 13415 shift 13416 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 13417 CONFIG_SHELL='$SHELL' 13418 export CONFIG_SHELL 13419 exec "\$@" 13420fi 13421 13422_ACEOF 13423cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13424exec 5>>config.log 13425{ 13426 echo 13427 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 13428## Running $as_me. ## 13429_ASBOX 13430 $as_echo "$ac_log" 13431} >&5 13432 13433_ACEOF 13434cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13435# 13436# INIT-COMMANDS 13437# 13438AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 13439 13440 13441 13442# The HP-UX ksh and POSIX shell print the target directory to stdout 13443# if CDPATH is set. 13444(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13445 13446sed_quote_subst='$sed_quote_subst' 13447double_quote_subst='$double_quote_subst' 13448delay_variable_subst='$delay_variable_subst' 13449enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' 13450macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' 13451macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' 13452enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' 13453pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' 13454enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' 13455host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' 13456host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' 13457host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' 13458build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' 13459build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' 13460build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' 13461SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' 13462Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' 13463GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' 13464EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' 13465FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' 13466LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' 13467NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' 13468LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' 13469max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' 13470ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' 13471exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' 13472lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' 13473lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' 13474lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' 13475reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' 13476reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13477OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' 13478deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' 13479file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' 13480AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' 13481AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' 13482STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' 13483RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' 13484old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13485old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13486old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13487CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' 13488CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' 13489compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' 13490GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' 13491lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' 13492lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' 13493lt_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"`' 13494lt_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"`' 13495objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' 13496SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' 13497ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' 13498MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' 13499lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' 13500lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' 13501lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' 13502lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' 13503lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' 13504need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' 13505DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' 13506NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' 13507LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' 13508OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' 13509OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' 13510libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' 13511shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13512extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13513archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' 13514enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' 13515export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 13516whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 13517compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' 13518old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13519old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13520archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13521archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13522module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13523module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13524with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' 13525allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 13526no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 13527hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 13528hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' 13529hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' 13530hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' 13531hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' 13532hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' 13533hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 13534hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' 13535inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' 13536link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' 13537fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' 13538always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' 13539export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13540exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 13541include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 13542prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13543file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' 13544variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' 13545need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' 13546need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' 13547version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' 13548runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' 13549shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 13550shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' 13551libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' 13552library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' 13553soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' 13554postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13555postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13556finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13557finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' 13558hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' 13559sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 13560sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 13561hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' 13562enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' 13563enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' 13564enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' 13565old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' 13566striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' 13567 13568LTCC='$LTCC' 13569LTCFLAGS='$LTCFLAGS' 13570compiler='$compiler_DEFAULT' 13571 13572# Quote evaled strings. 13573for var in SED \ 13574GREP \ 13575EGREP \ 13576FGREP \ 13577LD \ 13578NM \ 13579LN_S \ 13580lt_SP2NL \ 13581lt_NL2SP \ 13582reload_flag \ 13583OBJDUMP \ 13584deplibs_check_method \ 13585file_magic_cmd \ 13586AR \ 13587AR_FLAGS \ 13588STRIP \ 13589RANLIB \ 13590CC \ 13591CFLAGS \ 13592compiler \ 13593lt_cv_sys_global_symbol_pipe \ 13594lt_cv_sys_global_symbol_to_cdecl \ 13595lt_cv_sys_global_symbol_to_c_name_address \ 13596lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 13597SHELL \ 13598ECHO \ 13599lt_prog_compiler_no_builtin_flag \ 13600lt_prog_compiler_wl \ 13601lt_prog_compiler_pic \ 13602lt_prog_compiler_static \ 13603lt_cv_prog_compiler_c_o \ 13604need_locks \ 13605DSYMUTIL \ 13606NMEDIT \ 13607LIPO \ 13608OTOOL \ 13609OTOOL64 \ 13610shrext_cmds \ 13611export_dynamic_flag_spec \ 13612whole_archive_flag_spec \ 13613compiler_needs_object \ 13614with_gnu_ld \ 13615allow_undefined_flag \ 13616no_undefined_flag \ 13617hardcode_libdir_flag_spec \ 13618hardcode_libdir_flag_spec_ld \ 13619hardcode_libdir_separator \ 13620fix_srcfile_path \ 13621exclude_expsyms \ 13622include_expsyms \ 13623file_list_spec \ 13624variables_saved_for_relink \ 13625libname_spec \ 13626library_names_spec \ 13627soname_spec \ 13628finish_eval \ 13629old_striplib \ 13630striplib; do 13631 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 13632 *[\\\\\\\`\\"\\\$]*) 13633 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 13634 ;; 13635 *) 13636 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 13637 ;; 13638 esac 13639done 13640 13641# Double-quote double-evaled strings. 13642for var in reload_cmds \ 13643old_postinstall_cmds \ 13644old_postuninstall_cmds \ 13645old_archive_cmds \ 13646extract_expsyms_cmds \ 13647old_archive_from_new_cmds \ 13648old_archive_from_expsyms_cmds \ 13649archive_cmds \ 13650archive_expsym_cmds \ 13651module_cmds \ 13652module_expsym_cmds \ 13653export_symbols_cmds \ 13654prelink_cmds \ 13655postinstall_cmds \ 13656postuninstall_cmds \ 13657finish_cmds \ 13658sys_lib_search_path_spec \ 13659sys_lib_dlsearch_path_spec; do 13660 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 13661 *[\\\\\\\`\\"\\\$]*) 13662 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 13663 ;; 13664 *) 13665 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 13666 ;; 13667 esac 13668done 13669 13670# Fix-up fallback echo if it was mangled by the above quoting rules. 13671case \$lt_ECHO in 13672*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` 13673 ;; 13674esac 13675 13676ac_aux_dir='$ac_aux_dir' 13677xsi_shell='$xsi_shell' 13678lt_shell_append='$lt_shell_append' 13679 13680# See if we are running on zsh, and set the options which allow our 13681# commands through without removal of \ escapes INIT. 13682if test -n "\${ZSH_VERSION+set}" ; then 13683 setopt NO_GLOB_SUBST 13684fi 13685 13686 13687 PACKAGE='$PACKAGE' 13688 VERSION='$VERSION' 13689 TIMESTAMP='$TIMESTAMP' 13690 RM='$RM' 13691 ofile='$ofile' 13692 13693 13694 13695 13696_ACEOF 13697 13698cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13699 13700# Handling of arguments. 13701for ac_config_target in $ac_config_targets 13702do 13703 case $ac_config_target in 13704 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 13705 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 13706 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 13707 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 13708 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 13709 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 13710 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 13711 "pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;; 13712 "pixmaps/hicolor/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/hicolor/Makefile" ;; 13713 "pixmaps/hicolor/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/hicolor/16x16/Makefile" ;; 13714 "pixmaps/hicolor/16x16/apps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/hicolor/16x16/apps/Makefile" ;; 13715 "pixmaps/hicolor/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/hicolor/22x22/Makefile" ;; 13716 "pixmaps/hicolor/22x22/apps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/hicolor/22x22/apps/Makefile" ;; 13717 "pixmaps/hicolor/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/hicolor/24x24/Makefile" ;; 13718 "pixmaps/hicolor/24x24/apps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/hicolor/24x24/apps/Makefile" ;; 13719 "pixmaps/hicolor/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/hicolor/32x32/Makefile" ;; 13720 "pixmaps/hicolor/32x32/apps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/hicolor/32x32/apps/Makefile" ;; 13721 "pixmaps/hicolor/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/hicolor/48x48/Makefile" ;; 13722 "pixmaps/hicolor/48x48/apps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/hicolor/48x48/apps/Makefile" ;; 13723 "pixmaps/hicolor/64x64/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/hicolor/64x64/Makefile" ;; 13724 "pixmaps/hicolor/64x64/apps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/hicolor/64x64/apps/Makefile" ;; 13725 "pixmaps/hicolor/72x72/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/hicolor/72x72/Makefile" ;; 13726 "pixmaps/hicolor/72x72/apps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/hicolor/72x72/apps/Makefile" ;; 13727 "pixmaps/hicolor/96x96/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/hicolor/96x96/Makefile" ;; 13728 "pixmaps/hicolor/96x96/apps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/hicolor/96x96/apps/Makefile" ;; 13729 "pixmaps/hicolor/128x128/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/hicolor/128x128/Makefile" ;; 13730 "pixmaps/hicolor/128x128/apps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/hicolor/128x128/apps/Makefile" ;; 13731 "pixmaps/hicolor/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/hicolor/scalable/Makefile" ;; 13732 "pixmaps/hicolor/scalable/apps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/hicolor/scalable/apps/Makefile" ;; 13733 "pixmaps/Humanity/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Humanity/Makefile" ;; 13734 "pixmaps/Humanity/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Humanity/16x16/Makefile" ;; 13735 "pixmaps/Humanity/16x16/apps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Humanity/16x16/apps/Makefile" ;; 13736 "pixmaps/Humanity/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Humanity/22x22/Makefile" ;; 13737 "pixmaps/Humanity/22x22/apps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Humanity/22x22/apps/Makefile" ;; 13738 "pixmaps/Humanity/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Humanity/24x24/Makefile" ;; 13739 "pixmaps/Humanity/24x24/apps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Humanity/24x24/apps/Makefile" ;; 13740 "pixmaps/Humanity/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Humanity/32x32/Makefile" ;; 13741 "pixmaps/Humanity/32x32/apps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Humanity/32x32/apps/Makefile" ;; 13742 "pixmaps/Humanity/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Humanity/48x48/Makefile" ;; 13743 "pixmaps/Humanity/48x48/apps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Humanity/48x48/apps/Makefile" ;; 13744 "pixmaps/Humanity/64x64/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Humanity/64x64/Makefile" ;; 13745 "pixmaps/Humanity/64x64/apps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Humanity/64x64/apps/Makefile" ;; 13746 "pixmaps/Humanity/72x72/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Humanity/72x72/Makefile" ;; 13747 "pixmaps/Humanity/72x72/apps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Humanity/72x72/apps/Makefile" ;; 13748 "pixmaps/Humanity/96x96/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Humanity/96x96/Makefile" ;; 13749 "pixmaps/Humanity/96x96/apps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Humanity/96x96/apps/Makefile" ;; 13750 "pixmaps/Humanity/128x128/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Humanity/128x128/Makefile" ;; 13751 "pixmaps/Humanity/128x128/apps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Humanity/128x128/apps/Makefile" ;; 13752 "pixmaps/Humanity/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Humanity/scalable/Makefile" ;; 13753 "pixmaps/Humanity/scalable/apps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Humanity/scalable/apps/Makefile" ;; 13754 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; 13755 13756 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 13757 esac 13758done 13759 13760 13761# If the user did not use the arguments to specify the items to instantiate, 13762# then the envvar interface is used. Set only those that are not. 13763# We use the long form for the default assignment because of an extremely 13764# bizarre bug on SunOS 4.1.3. 13765if $ac_need_defaults; then 13766 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 13767 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 13768 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 13769fi 13770 13771# Have a temporary directory for convenience. Make it in the build tree 13772# simply because there is no reason against having it here, and in addition, 13773# creating and moving files from /tmp can sometimes cause problems. 13774# Hook for its removal unless debugging. 13775# Note that there is a small window in which the directory will not be cleaned: 13776# after its creation but before its name has been assigned to `$tmp'. 13777$debug || 13778{ 13779 tmp= 13780 trap 'exit_status=$? 13781 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 13782' 0 13783 trap 'as_fn_exit 1' 1 2 13 15 13784} 13785# Create a (secure) tmp directory for tmp files. 13786 13787{ 13788 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 13789 test -n "$tmp" && test -d "$tmp" 13790} || 13791{ 13792 tmp=./conf$$-$RANDOM 13793 (umask 077 && mkdir "$tmp") 13794} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 13795 13796# Set up the scripts for CONFIG_FILES section. 13797# No need to generate them if there are no CONFIG_FILES. 13798# This happens for instance with `./config.status config.h'. 13799if test -n "$CONFIG_FILES"; then 13800 13801 13802ac_cr=`echo X | tr X '\015'` 13803# On cygwin, bash can eat \r inside `` if the user requested igncr. 13804# But we know of no other shell where ac_cr would be empty at this 13805# point, so we can use a bashism as a fallback. 13806if test "x$ac_cr" = x; then 13807 eval ac_cr=\$\'\\r\' 13808fi 13809ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 13810if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 13811 ac_cs_awk_cr='\\r' 13812else 13813 ac_cs_awk_cr=$ac_cr 13814fi 13815 13816echo 'BEGIN {' >"$tmp/subs1.awk" && 13817_ACEOF 13818 13819 13820{ 13821 echo "cat >conf$$subs.awk <<_ACEOF" && 13822 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 13823 echo "_ACEOF" 13824} >conf$$subs.sh || 13825 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13826ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 13827ac_delim='%!_!# ' 13828for ac_last_try in false false false false false :; do 13829 . ./conf$$subs.sh || 13830 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13831 13832 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 13833 if test $ac_delim_n = $ac_delim_num; then 13834 break 13835 elif $ac_last_try; then 13836 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13837 else 13838 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13839 fi 13840done 13841rm -f conf$$subs.sh 13842 13843cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13844cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 13845_ACEOF 13846sed -n ' 13847h 13848s/^/S["/; s/!.*/"]=/ 13849p 13850g 13851s/^[^!]*!// 13852:repl 13853t repl 13854s/'"$ac_delim"'$// 13855t delim 13856:nl 13857h 13858s/\(.\{148\}\)..*/\1/ 13859t more1 13860s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 13861p 13862n 13863b repl 13864:more1 13865s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13866p 13867g 13868s/.\{148\}// 13869t nl 13870:delim 13871h 13872s/\(.\{148\}\)..*/\1/ 13873t more2 13874s/["\\]/\\&/g; s/^/"/; s/$/"/ 13875p 13876b 13877:more2 13878s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13879p 13880g 13881s/.\{148\}// 13882t delim 13883' <conf$$subs.awk | sed ' 13884/^[^""]/{ 13885 N 13886 s/\n// 13887} 13888' >>$CONFIG_STATUS || ac_write_fail=1 13889rm -f conf$$subs.awk 13890cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13891_ACAWK 13892cat >>"\$tmp/subs1.awk" <<_ACAWK && 13893 for (key in S) S_is_set[key] = 1 13894 FS = "" 13895 13896} 13897{ 13898 line = $ 0 13899 nfields = split(line, field, "@") 13900 substed = 0 13901 len = length(field[1]) 13902 for (i = 2; i < nfields; i++) { 13903 key = field[i] 13904 keylen = length(key) 13905 if (S_is_set[key]) { 13906 value = S[key] 13907 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 13908 len += length(value) + length(field[++i]) 13909 substed = 1 13910 } else 13911 len += 1 + keylen 13912 } 13913 13914 print line 13915} 13916 13917_ACAWK 13918_ACEOF 13919cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13920if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 13921 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 13922else 13923 cat 13924fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 13925 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 13926_ACEOF 13927 13928# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 13929# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 13930# trailing colons and then remove the whole line if VPATH becomes empty 13931# (actually we leave an empty line to preserve line numbers). 13932if test "x$srcdir" = x.; then 13933 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 13934h 13935s/// 13936s/^/:/ 13937s/[ ]*$/:/ 13938s/:\$(srcdir):/:/g 13939s/:\${srcdir}:/:/g 13940s/:@srcdir@:/:/g 13941s/^:*// 13942s/:*$// 13943x 13944s/\(=[ ]*\).*/\1/ 13945G 13946s/\n// 13947s/^[^=]*=[ ]*$// 13948}' 13949fi 13950 13951cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13952fi # test -n "$CONFIG_FILES" 13953 13954# Set up the scripts for CONFIG_HEADERS section. 13955# No need to generate them if there are no CONFIG_HEADERS. 13956# This happens for instance with `./config.status Makefile'. 13957if test -n "$CONFIG_HEADERS"; then 13958cat >"$tmp/defines.awk" <<\_ACAWK || 13959BEGIN { 13960_ACEOF 13961 13962# Transform confdefs.h into an awk script `defines.awk', embedded as 13963# here-document in config.status, that substitutes the proper values into 13964# config.h.in to produce config.h. 13965 13966# Create a delimiter string that does not exist in confdefs.h, to ease 13967# handling of long lines. 13968ac_delim='%!_!# ' 13969for ac_last_try in false false :; do 13970 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 13971 if test -z "$ac_t"; then 13972 break 13973 elif $ac_last_try; then 13974 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 13975 else 13976 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13977 fi 13978done 13979 13980# For the awk script, D is an array of macro values keyed by name, 13981# likewise P contains macro parameters if any. Preserve backslash 13982# newline sequences. 13983 13984ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 13985sed -n ' 13986s/.\{148\}/&'"$ac_delim"'/g 13987t rset 13988:rset 13989s/^[ ]*#[ ]*define[ ][ ]*/ / 13990t def 13991d 13992:def 13993s/\\$// 13994t bsnl 13995s/["\\]/\\&/g 13996s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 13997D["\1"]=" \3"/p 13998s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 13999d 14000:bsnl 14001s/["\\]/\\&/g 14002s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 14003D["\1"]=" \3\\\\\\n"\\/p 14004t cont 14005s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 14006t cont 14007d 14008:cont 14009n 14010s/.\{148\}/&'"$ac_delim"'/g 14011t clear 14012:clear 14013s/\\$// 14014t bsnlc 14015s/["\\]/\\&/g; s/^/"/; s/$/"/p 14016d 14017:bsnlc 14018s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 14019b cont 14020' <confdefs.h | sed ' 14021s/'"$ac_delim"'/"\\\ 14022"/g' >>$CONFIG_STATUS || ac_write_fail=1 14023 14024cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14025 for (key in D) D_is_set[key] = 1 14026 FS = "" 14027} 14028/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 14029 line = \$ 0 14030 split(line, arg, " ") 14031 if (arg[1] == "#") { 14032 defundef = arg[2] 14033 mac1 = arg[3] 14034 } else { 14035 defundef = substr(arg[1], 2) 14036 mac1 = arg[2] 14037 } 14038 split(mac1, mac2, "(") #) 14039 macro = mac2[1] 14040 prefix = substr(line, 1, index(line, defundef) - 1) 14041 if (D_is_set[macro]) { 14042 # Preserve the white space surrounding the "#". 14043 print prefix "define", macro P[macro] D[macro] 14044 next 14045 } else { 14046 # Replace #undef with comments. This is necessary, for example, 14047 # in the case of _POSIX_SOURCE, which is predefined and required 14048 # on some systems where configure will not decide to define it. 14049 if (defundef == "undef") { 14050 print "/*", prefix defundef, macro, "*/" 14051 next 14052 } 14053 } 14054} 14055{ print } 14056_ACAWK 14057_ACEOF 14058cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14059 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 14060fi # test -n "$CONFIG_HEADERS" 14061 14062 14063eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 14064shift 14065for ac_tag 14066do 14067 case $ac_tag in 14068 :[FHLC]) ac_mode=$ac_tag; continue;; 14069 esac 14070 case $ac_mode$ac_tag in 14071 :[FHL]*:*);; 14072 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 14073 :[FH]-) ac_tag=-:-;; 14074 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 14075 esac 14076 ac_save_IFS=$IFS 14077 IFS=: 14078 set x $ac_tag 14079 IFS=$ac_save_IFS 14080 shift 14081 ac_file=$1 14082 shift 14083 14084 case $ac_mode in 14085 :L) ac_source=$1;; 14086 :[FH]) 14087 ac_file_inputs= 14088 for ac_f 14089 do 14090 case $ac_f in 14091 -) ac_f="$tmp/stdin";; 14092 *) # Look for the file first in the build tree, then in the source tree 14093 # (if the path is not absolute). The absolute path cannot be DOS-style, 14094 # because $ac_f cannot contain `:'. 14095 test -f "$ac_f" || 14096 case $ac_f in 14097 [\\/$]*) false;; 14098 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 14099 esac || 14100 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; 14101 esac 14102 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 14103 as_fn_append ac_file_inputs " '$ac_f'" 14104 done 14105 14106 # Let's still pretend it is `configure' which instantiates (i.e., don't 14107 # use $as_me), people would be surprised to read: 14108 # /* config.h. Generated by config.status. */ 14109 configure_input='Generated from '` 14110 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 14111 `' by configure.' 14112 if test x"$ac_file" != x-; then 14113 configure_input="$ac_file. $configure_input" 14114 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 14115$as_echo "$as_me: creating $ac_file" >&6;} 14116 fi 14117 # Neutralize special characters interpreted by sed in replacement strings. 14118 case $configure_input in #( 14119 *\&* | *\|* | *\\* ) 14120 ac_sed_conf_input=`$as_echo "$configure_input" | 14121 sed 's/[\\\\&|]/\\\\&/g'`;; #( 14122 *) ac_sed_conf_input=$configure_input;; 14123 esac 14124 14125 case $ac_tag in 14126 *:-:* | *:-) cat >"$tmp/stdin" \ 14127 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 14128 esac 14129 ;; 14130 esac 14131 14132 ac_dir=`$as_dirname -- "$ac_file" || 14133$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14134 X"$ac_file" : 'X\(//\)[^/]' \| \ 14135 X"$ac_file" : 'X\(//\)$' \| \ 14136 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 14137$as_echo X"$ac_file" | 14138 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14139 s//\1/ 14140 q 14141 } 14142 /^X\(\/\/\)[^/].*/{ 14143 s//\1/ 14144 q 14145 } 14146 /^X\(\/\/\)$/{ 14147 s//\1/ 14148 q 14149 } 14150 /^X\(\/\).*/{ 14151 s//\1/ 14152 q 14153 } 14154 s/.*/./; q'` 14155 as_dir="$ac_dir"; as_fn_mkdir_p 14156 ac_builddir=. 14157 14158case "$ac_dir" in 14159.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14160*) 14161 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14162 # A ".." for each directory in $ac_dir_suffix. 14163 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14164 case $ac_top_builddir_sub in 14165 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14166 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14167 esac ;; 14168esac 14169ac_abs_top_builddir=$ac_pwd 14170ac_abs_builddir=$ac_pwd$ac_dir_suffix 14171# for backward compatibility: 14172ac_top_builddir=$ac_top_build_prefix 14173 14174case $srcdir in 14175 .) # We are building in place. 14176 ac_srcdir=. 14177 ac_top_srcdir=$ac_top_builddir_sub 14178 ac_abs_top_srcdir=$ac_pwd ;; 14179 [\\/]* | ?:[\\/]* ) # Absolute name. 14180 ac_srcdir=$srcdir$ac_dir_suffix; 14181 ac_top_srcdir=$srcdir 14182 ac_abs_top_srcdir=$srcdir ;; 14183 *) # Relative name. 14184 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14185 ac_top_srcdir=$ac_top_build_prefix$srcdir 14186 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 14187esac 14188ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14189 14190 14191 case $ac_mode in 14192 :F) 14193 # 14194 # CONFIG_FILE 14195 # 14196 14197 case $INSTALL in 14198 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 14199 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 14200 esac 14201 ac_MKDIR_P=$MKDIR_P 14202 case $MKDIR_P in 14203 [\\/$]* | ?:[\\/]* ) ;; 14204 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 14205 esac 14206_ACEOF 14207 14208cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14209# If the template does not know about datarootdir, expand it. 14210# FIXME: This hack should be removed a few years after 2.60. 14211ac_datarootdir_hack=; ac_datarootdir_seen= 14212ac_sed_dataroot=' 14213/datarootdir/ { 14214 p 14215 q 14216} 14217/@datadir@/p 14218/@docdir@/p 14219/@infodir@/p 14220/@localedir@/p 14221/@mandir@/p' 14222case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 14223*datarootdir*) ac_datarootdir_seen=yes;; 14224*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 14225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 14226$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 14227_ACEOF 14228cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14229 ac_datarootdir_hack=' 14230 s&@datadir@&$datadir&g 14231 s&@docdir@&$docdir&g 14232 s&@infodir@&$infodir&g 14233 s&@localedir@&$localedir&g 14234 s&@mandir@&$mandir&g 14235 s&\\\${datarootdir}&$datarootdir&g' ;; 14236esac 14237_ACEOF 14238 14239# Neutralize VPATH when `$srcdir' = `.'. 14240# Shell code in configure.ac might set extrasub. 14241# FIXME: do we really want to maintain this feature? 14242cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14243ac_sed_extra="$ac_vpsub 14244$extrasub 14245_ACEOF 14246cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14247:t 14248/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 14249s|@configure_input@|$ac_sed_conf_input|;t t 14250s&@top_builddir@&$ac_top_builddir_sub&;t t 14251s&@top_build_prefix@&$ac_top_build_prefix&;t t 14252s&@srcdir@&$ac_srcdir&;t t 14253s&@abs_srcdir@&$ac_abs_srcdir&;t t 14254s&@top_srcdir@&$ac_top_srcdir&;t t 14255s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 14256s&@builddir@&$ac_builddir&;t t 14257s&@abs_builddir@&$ac_abs_builddir&;t t 14258s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 14259s&@INSTALL@&$ac_INSTALL&;t t 14260s&@MKDIR_P@&$ac_MKDIR_P&;t t 14261$ac_datarootdir_hack 14262" 14263eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 14264 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14265 14266test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 14267 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 14268 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 14269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14270which seems to be undefined. Please make sure it is defined" >&5 14271$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14272which seems to be undefined. Please make sure it is defined" >&2;} 14273 14274 rm -f "$tmp/stdin" 14275 case $ac_file in 14276 -) cat "$tmp/out" && rm -f "$tmp/out";; 14277 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 14278 esac \ 14279 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14280 ;; 14281 :H) 14282 # 14283 # CONFIG_HEADER 14284 # 14285 if test x"$ac_file" != x-; then 14286 { 14287 $as_echo "/* $configure_input */" \ 14288 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 14289 } >"$tmp/config.h" \ 14290 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14291 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 14292 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 14293$as_echo "$as_me: $ac_file is unchanged" >&6;} 14294 else 14295 rm -f "$ac_file" 14296 mv "$tmp/config.h" "$ac_file" \ 14297 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14298 fi 14299 else 14300 $as_echo "/* $configure_input */" \ 14301 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 14302 || as_fn_error $? "could not create -" "$LINENO" 5 14303 fi 14304# Compute "$ac_file"'s index in $config_headers. 14305_am_arg="$ac_file" 14306_am_stamp_count=1 14307for _am_header in $config_headers :; do 14308 case $_am_header in 14309 $_am_arg | $_am_arg:* ) 14310 break ;; 14311 * ) 14312 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 14313 esac 14314done 14315echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 14316$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14317 X"$_am_arg" : 'X\(//\)[^/]' \| \ 14318 X"$_am_arg" : 'X\(//\)$' \| \ 14319 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 14320$as_echo X"$_am_arg" | 14321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14322 s//\1/ 14323 q 14324 } 14325 /^X\(\/\/\)[^/].*/{ 14326 s//\1/ 14327 q 14328 } 14329 /^X\(\/\/\)$/{ 14330 s//\1/ 14331 q 14332 } 14333 /^X\(\/\).*/{ 14334 s//\1/ 14335 q 14336 } 14337 s/.*/./; q'`/stamp-h$_am_stamp_count 14338 ;; 14339 14340 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 14341$as_echo "$as_me: executing $ac_file commands" >&6;} 14342 ;; 14343 esac 14344 14345 14346 case $ac_file$ac_mode in 14347 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 14348 # Autoconf 2.62 quotes --file arguments for eval, but not when files 14349 # are listed without --file. Let's play safe and only enable the eval 14350 # if we detect the quoting. 14351 case $CONFIG_FILES in 14352 *\'*) eval set x "$CONFIG_FILES" ;; 14353 *) set x $CONFIG_FILES ;; 14354 esac 14355 shift 14356 for mf 14357 do 14358 # Strip MF so we end up with the name of the file. 14359 mf=`echo "$mf" | sed -e 's/:.*$//'` 14360 # Check whether this is an Automake generated Makefile or not. 14361 # We used to match only the files named `Makefile.in', but 14362 # some people rename them; so instead we look at the file content. 14363 # Grep'ing the first line is not enough: some people post-process 14364 # each Makefile.in and add a new line on top of each file to say so. 14365 # Grep'ing the whole file is not good either: AIX grep has a line 14366 # limit of 2048, but all sed's we know have understand at least 4000. 14367 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 14368 dirpart=`$as_dirname -- "$mf" || 14369$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14370 X"$mf" : 'X\(//\)[^/]' \| \ 14371 X"$mf" : 'X\(//\)$' \| \ 14372 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 14373$as_echo X"$mf" | 14374 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14375 s//\1/ 14376 q 14377 } 14378 /^X\(\/\/\)[^/].*/{ 14379 s//\1/ 14380 q 14381 } 14382 /^X\(\/\/\)$/{ 14383 s//\1/ 14384 q 14385 } 14386 /^X\(\/\).*/{ 14387 s//\1/ 14388 q 14389 } 14390 s/.*/./; q'` 14391 else 14392 continue 14393 fi 14394 # Extract the definition of DEPDIR, am__include, and am__quote 14395 # from the Makefile without running `make'. 14396 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 14397 test -z "$DEPDIR" && continue 14398 am__include=`sed -n 's/^am__include = //p' < "$mf"` 14399 test -z "am__include" && continue 14400 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 14401 # When using ansi2knr, U may be empty or an underscore; expand it 14402 U=`sed -n 's/^U = //p' < "$mf"` 14403 # Find all dependency output files, they are included files with 14404 # $(DEPDIR) in their names. We invoke sed twice because it is the 14405 # simplest approach to changing $(DEPDIR) to its actual value in the 14406 # expansion. 14407 for file in `sed -n " 14408 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 14409 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 14410 # Make sure the directory exists. 14411 test -f "$dirpart/$file" && continue 14412 fdir=`$as_dirname -- "$file" || 14413$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14414 X"$file" : 'X\(//\)[^/]' \| \ 14415 X"$file" : 'X\(//\)$' \| \ 14416 X"$file" : 'X\(/\)' \| . 2>/dev/null || 14417$as_echo X"$file" | 14418 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14419 s//\1/ 14420 q 14421 } 14422 /^X\(\/\/\)[^/].*/{ 14423 s//\1/ 14424 q 14425 } 14426 /^X\(\/\/\)$/{ 14427 s//\1/ 14428 q 14429 } 14430 /^X\(\/\).*/{ 14431 s//\1/ 14432 q 14433 } 14434 s/.*/./; q'` 14435 as_dir=$dirpart/$fdir; as_fn_mkdir_p 14436 # echo "creating $dirpart/$file" 14437 echo '# dummy' > "$dirpart/$file" 14438 done 14439 done 14440} 14441 ;; 14442 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) 14443 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile 14444 esac ;; 14445 "libtool":C) 14446 14447 # See if we are running on zsh, and set the options which allow our 14448 # commands through without removal of \ escapes. 14449 if test -n "${ZSH_VERSION+set}" ; then 14450 setopt NO_GLOB_SUBST 14451 fi 14452 14453 cfgfile="${ofile}T" 14454 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 14455 $RM "$cfgfile" 14456 14457 cat <<_LT_EOF >> "$cfgfile" 14458#! $SHELL 14459 14460# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 14461# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 14462# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 14463# NOTE: Changes made to this file will be lost: look at ltmain.sh. 14464# 14465# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 14466# 2006, 2007, 2008 Free Software Foundation, Inc. 14467# Written by Gordon Matzigkeit, 1996 14468# 14469# This file is part of GNU Libtool. 14470# 14471# GNU Libtool is free software; you can redistribute it and/or 14472# modify it under the terms of the GNU General Public License as 14473# published by the Free Software Foundation; either version 2 of 14474# the License, or (at your option) any later version. 14475# 14476# As a special exception to the GNU General Public License, 14477# if you distribute this file as part of a program or library that 14478# is built using GNU Libtool, you may include this file under the 14479# same distribution terms that you use for the rest of that program. 14480# 14481# GNU Libtool is distributed in the hope that it will be useful, 14482# but WITHOUT ANY WARRANTY; without even the implied warranty of 14483# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14484# GNU General Public License for more details. 14485# 14486# You should have received a copy of the GNU General Public License 14487# along with GNU Libtool; see the file COPYING. If not, a copy 14488# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 14489# obtained by writing to the Free Software Foundation, Inc., 14490# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 14491 14492 14493# The names of the tagged configurations supported by this script. 14494available_tags="" 14495 14496# ### BEGIN LIBTOOL CONFIG 14497 14498# Whether or not to build static libraries. 14499build_old_libs=$enable_static 14500 14501# Which release of libtool.m4 was used? 14502macro_version=$macro_version 14503macro_revision=$macro_revision 14504 14505# Whether or not to build shared libraries. 14506build_libtool_libs=$enable_shared 14507 14508# What type of objects to build. 14509pic_mode=$pic_mode 14510 14511# Whether or not to optimize for fast installation. 14512fast_install=$enable_fast_install 14513 14514# The host system. 14515host_alias=$host_alias 14516host=$host 14517host_os=$host_os 14518 14519# The build system. 14520build_alias=$build_alias 14521build=$build 14522build_os=$build_os 14523 14524# A sed program that does not truncate output. 14525SED=$lt_SED 14526 14527# Sed that helps us avoid accidentally triggering echo(1) options like -n. 14528Xsed="\$SED -e 1s/^X//" 14529 14530# A grep program that handles long lines. 14531GREP=$lt_GREP 14532 14533# An ERE matcher. 14534EGREP=$lt_EGREP 14535 14536# A literal string matcher. 14537FGREP=$lt_FGREP 14538 14539# A BSD- or MS-compatible name lister. 14540NM=$lt_NM 14541 14542# Whether we need soft or hard links. 14543LN_S=$lt_LN_S 14544 14545# What is the maximum length of a command? 14546max_cmd_len=$max_cmd_len 14547 14548# Object file suffix (normally "o"). 14549objext=$ac_objext 14550 14551# Executable file suffix (normally ""). 14552exeext=$exeext 14553 14554# whether the shell understands "unset". 14555lt_unset=$lt_unset 14556 14557# turn spaces into newlines. 14558SP2NL=$lt_lt_SP2NL 14559 14560# turn newlines into spaces. 14561NL2SP=$lt_lt_NL2SP 14562 14563# How to create reloadable object files. 14564reload_flag=$lt_reload_flag 14565reload_cmds=$lt_reload_cmds 14566 14567# An object symbol dumper. 14568OBJDUMP=$lt_OBJDUMP 14569 14570# Method to check whether dependent libraries are shared objects. 14571deplibs_check_method=$lt_deplibs_check_method 14572 14573# Command to use when deplibs_check_method == "file_magic". 14574file_magic_cmd=$lt_file_magic_cmd 14575 14576# The archiver. 14577AR=$lt_AR 14578AR_FLAGS=$lt_AR_FLAGS 14579 14580# A symbol stripping program. 14581STRIP=$lt_STRIP 14582 14583# Commands used to install an old-style archive. 14584RANLIB=$lt_RANLIB 14585old_postinstall_cmds=$lt_old_postinstall_cmds 14586old_postuninstall_cmds=$lt_old_postuninstall_cmds 14587 14588# A C compiler. 14589LTCC=$lt_CC 14590 14591# LTCC compiler flags. 14592LTCFLAGS=$lt_CFLAGS 14593 14594# Take the output of nm and produce a listing of raw symbols and C names. 14595global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 14596 14597# Transform the output of nm in a proper C declaration. 14598global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 14599 14600# Transform the output of nm in a C name address pair. 14601global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 14602 14603# Transform the output of nm in a C name address pair when lib prefix is needed. 14604global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 14605 14606# The name of the directory that contains temporary libtool files. 14607objdir=$objdir 14608 14609# Shell to use when invoking shell scripts. 14610SHELL=$lt_SHELL 14611 14612# An echo program that does not interpret backslashes. 14613ECHO=$lt_ECHO 14614 14615# Used to examine libraries when file_magic_cmd begins with "file". 14616MAGIC_CMD=$MAGIC_CMD 14617 14618# Must we lock files when doing compilation? 14619need_locks=$lt_need_locks 14620 14621# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 14622DSYMUTIL=$lt_DSYMUTIL 14623 14624# Tool to change global to local symbols on Mac OS X. 14625NMEDIT=$lt_NMEDIT 14626 14627# Tool to manipulate fat objects and archives on Mac OS X. 14628LIPO=$lt_LIPO 14629 14630# ldd/readelf like tool for Mach-O binaries on Mac OS X. 14631OTOOL=$lt_OTOOL 14632 14633# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 14634OTOOL64=$lt_OTOOL64 14635 14636# Old archive suffix (normally "a"). 14637libext=$libext 14638 14639# Shared library suffix (normally ".so"). 14640shrext_cmds=$lt_shrext_cmds 14641 14642# The commands to extract the exported symbol list from a shared archive. 14643extract_expsyms_cmds=$lt_extract_expsyms_cmds 14644 14645# Variables whose values should be saved in libtool wrapper scripts and 14646# restored at link time. 14647variables_saved_for_relink=$lt_variables_saved_for_relink 14648 14649# Do we need the "lib" prefix for modules? 14650need_lib_prefix=$need_lib_prefix 14651 14652# Do we need a version for libraries? 14653need_version=$need_version 14654 14655# Library versioning type. 14656version_type=$version_type 14657 14658# Shared library runtime path variable. 14659runpath_var=$runpath_var 14660 14661# Shared library path variable. 14662shlibpath_var=$shlibpath_var 14663 14664# Is shlibpath searched before the hard-coded library search path? 14665shlibpath_overrides_runpath=$shlibpath_overrides_runpath 14666 14667# Format of library name prefix. 14668libname_spec=$lt_libname_spec 14669 14670# List of archive names. First name is the real one, the rest are links. 14671# The last name is the one that the linker finds with -lNAME 14672library_names_spec=$lt_library_names_spec 14673 14674# The coded name of the library, if different from the real name. 14675soname_spec=$lt_soname_spec 14676 14677# Command to use after installation of a shared archive. 14678postinstall_cmds=$lt_postinstall_cmds 14679 14680# Command to use after uninstallation of a shared archive. 14681postuninstall_cmds=$lt_postuninstall_cmds 14682 14683# Commands used to finish a libtool library installation in a directory. 14684finish_cmds=$lt_finish_cmds 14685 14686# As "finish_cmds", except a single script fragment to be evaled but 14687# not shown. 14688finish_eval=$lt_finish_eval 14689 14690# Whether we should hardcode library paths into libraries. 14691hardcode_into_libs=$hardcode_into_libs 14692 14693# Compile-time system search path for libraries. 14694sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 14695 14696# Run-time system search path for libraries. 14697sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 14698 14699# Whether dlopen is supported. 14700dlopen_support=$enable_dlopen 14701 14702# Whether dlopen of programs is supported. 14703dlopen_self=$enable_dlopen_self 14704 14705# Whether dlopen of statically linked programs is supported. 14706dlopen_self_static=$enable_dlopen_self_static 14707 14708# Commands to strip libraries. 14709old_striplib=$lt_old_striplib 14710striplib=$lt_striplib 14711 14712 14713# The linker used to build libraries. 14714LD=$lt_LD 14715 14716# Commands used to build an old-style archive. 14717old_archive_cmds=$lt_old_archive_cmds 14718 14719# A language specific compiler. 14720CC=$lt_compiler 14721 14722# Is the compiler the GNU compiler? 14723with_gcc=$GCC 14724 14725# Compiler flag to turn off builtin functions. 14726no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 14727 14728# How to pass a linker flag through the compiler. 14729wl=$lt_lt_prog_compiler_wl 14730 14731# Additional compiler flags for building library objects. 14732pic_flag=$lt_lt_prog_compiler_pic 14733 14734# Compiler flag to prevent dynamic linking. 14735link_static_flag=$lt_lt_prog_compiler_static 14736 14737# Does compiler simultaneously support -c and -o options? 14738compiler_c_o=$lt_lt_cv_prog_compiler_c_o 14739 14740# Whether or not to add -lc for building shared libraries. 14741build_libtool_need_lc=$archive_cmds_need_lc 14742 14743# Whether or not to disallow shared libs when runtime libs are static. 14744allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 14745 14746# Compiler flag to allow reflexive dlopens. 14747export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 14748 14749# Compiler flag to generate shared objects directly from archives. 14750whole_archive_flag_spec=$lt_whole_archive_flag_spec 14751 14752# Whether the compiler copes with passing no objects directly. 14753compiler_needs_object=$lt_compiler_needs_object 14754 14755# Create an old-style archive from a shared archive. 14756old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 14757 14758# Create a temporary old-style archive to link instead of a shared archive. 14759old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 14760 14761# Commands used to build a shared archive. 14762archive_cmds=$lt_archive_cmds 14763archive_expsym_cmds=$lt_archive_expsym_cmds 14764 14765# Commands used to build a loadable module if different from building 14766# a shared archive. 14767module_cmds=$lt_module_cmds 14768module_expsym_cmds=$lt_module_expsym_cmds 14769 14770# Whether we are building with GNU ld or not. 14771with_gnu_ld=$lt_with_gnu_ld 14772 14773# Flag that allows shared libraries with undefined symbols to be built. 14774allow_undefined_flag=$lt_allow_undefined_flag 14775 14776# Flag that enforces no undefined symbols. 14777no_undefined_flag=$lt_no_undefined_flag 14778 14779# Flag to hardcode \$libdir into a binary during linking. 14780# This must work even if \$libdir does not exist 14781hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 14782 14783# If ld is used when linking, flag to hardcode \$libdir into a binary 14784# during linking. This must work even if \$libdir does not exist. 14785hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld 14786 14787# Whether we need a single "-rpath" flag with a separated argument. 14788hardcode_libdir_separator=$lt_hardcode_libdir_separator 14789 14790# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 14791# DIR into the resulting binary. 14792hardcode_direct=$hardcode_direct 14793 14794# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 14795# DIR into the resulting binary and the resulting library dependency is 14796# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 14797# library is relocated. 14798hardcode_direct_absolute=$hardcode_direct_absolute 14799 14800# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 14801# into the resulting binary. 14802hardcode_minus_L=$hardcode_minus_L 14803 14804# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 14805# into the resulting binary. 14806hardcode_shlibpath_var=$hardcode_shlibpath_var 14807 14808# Set to "yes" if building a shared library automatically hardcodes DIR 14809# into the library and all subsequent libraries and executables linked 14810# against it. 14811hardcode_automatic=$hardcode_automatic 14812 14813# Set to yes if linker adds runtime paths of dependent libraries 14814# to runtime path list. 14815inherit_rpath=$inherit_rpath 14816 14817# Whether libtool must link a program against all its dependency libraries. 14818link_all_deplibs=$link_all_deplibs 14819 14820# Fix the shell variable \$srcfile for the compiler. 14821fix_srcfile_path=$lt_fix_srcfile_path 14822 14823# Set to "yes" if exported symbols are required. 14824always_export_symbols=$always_export_symbols 14825 14826# The commands to list exported symbols. 14827export_symbols_cmds=$lt_export_symbols_cmds 14828 14829# Symbols that should not be listed in the preloaded symbols. 14830exclude_expsyms=$lt_exclude_expsyms 14831 14832# Symbols that must always be exported. 14833include_expsyms=$lt_include_expsyms 14834 14835# Commands necessary for linking programs (against libraries) with templates. 14836prelink_cmds=$lt_prelink_cmds 14837 14838# Specify filename containing input files. 14839file_list_spec=$lt_file_list_spec 14840 14841# How to hardcode a shared library path into an executable. 14842hardcode_action=$hardcode_action 14843 14844# ### END LIBTOOL CONFIG 14845 14846_LT_EOF 14847 14848 case $host_os in 14849 aix3*) 14850 cat <<\_LT_EOF >> "$cfgfile" 14851# AIX sometimes has problems with the GCC collect2 program. For some 14852# reason, if we set the COLLECT_NAMES environment variable, the problems 14853# vanish in a puff of smoke. 14854if test "X${COLLECT_NAMES+set}" != Xset; then 14855 COLLECT_NAMES= 14856 export COLLECT_NAMES 14857fi 14858_LT_EOF 14859 ;; 14860 esac 14861 14862 14863ltmain="$ac_aux_dir/ltmain.sh" 14864 14865 14866 # We use sed instead of cat because bash on DJGPP gets confused if 14867 # if finds mixed CR/LF and LF-only lines. Since sed operates in 14868 # text mode, it properly converts lines to CR/LF. This bash problem 14869 # is reportedly fixed, but why not run on old versions too? 14870 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ 14871 || (rm -f "$cfgfile"; exit 1) 14872 14873 case $xsi_shell in 14874 yes) 14875 cat << \_LT_EOF >> "$cfgfile" 14876 14877# func_dirname file append nondir_replacement 14878# Compute the dirname of FILE. If nonempty, add APPEND to the result, 14879# otherwise set result to NONDIR_REPLACEMENT. 14880func_dirname () 14881{ 14882 case ${1} in 14883 */*) func_dirname_result="${1%/*}${2}" ;; 14884 * ) func_dirname_result="${3}" ;; 14885 esac 14886} 14887 14888# func_basename file 14889func_basename () 14890{ 14891 func_basename_result="${1##*/}" 14892} 14893 14894# func_dirname_and_basename file append nondir_replacement 14895# perform func_basename and func_dirname in a single function 14896# call: 14897# dirname: Compute the dirname of FILE. If nonempty, 14898# add APPEND to the result, otherwise set result 14899# to NONDIR_REPLACEMENT. 14900# value returned in "$func_dirname_result" 14901# basename: Compute filename of FILE. 14902# value retuned in "$func_basename_result" 14903# Implementation must be kept synchronized with func_dirname 14904# and func_basename. For efficiency, we do not delegate to 14905# those functions but instead duplicate the functionality here. 14906func_dirname_and_basename () 14907{ 14908 case ${1} in 14909 */*) func_dirname_result="${1%/*}${2}" ;; 14910 * ) func_dirname_result="${3}" ;; 14911 esac 14912 func_basename_result="${1##*/}" 14913} 14914 14915# func_stripname prefix suffix name 14916# strip PREFIX and SUFFIX off of NAME. 14917# PREFIX and SUFFIX must not contain globbing or regex special 14918# characters, hashes, percent signs, but SUFFIX may contain a leading 14919# dot (in which case that matches only a dot). 14920func_stripname () 14921{ 14922 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are 14923 # positional parameters, so assign one to ordinary parameter first. 14924 func_stripname_result=${3} 14925 func_stripname_result=${func_stripname_result#"${1}"} 14926 func_stripname_result=${func_stripname_result%"${2}"} 14927} 14928 14929# func_opt_split 14930func_opt_split () 14931{ 14932 func_opt_split_opt=${1%%=*} 14933 func_opt_split_arg=${1#*=} 14934} 14935 14936# func_lo2o object 14937func_lo2o () 14938{ 14939 case ${1} in 14940 *.lo) func_lo2o_result=${1%.lo}.${objext} ;; 14941 *) func_lo2o_result=${1} ;; 14942 esac 14943} 14944 14945# func_xform libobj-or-source 14946func_xform () 14947{ 14948 func_xform_result=${1%.*}.lo 14949} 14950 14951# func_arith arithmetic-term... 14952func_arith () 14953{ 14954 func_arith_result=$(( $* )) 14955} 14956 14957# func_len string 14958# STRING may not start with a hyphen. 14959func_len () 14960{ 14961 func_len_result=${#1} 14962} 14963 14964_LT_EOF 14965 ;; 14966 *) # Bourne compatible functions. 14967 cat << \_LT_EOF >> "$cfgfile" 14968 14969# func_dirname file append nondir_replacement 14970# Compute the dirname of FILE. If nonempty, add APPEND to the result, 14971# otherwise set result to NONDIR_REPLACEMENT. 14972func_dirname () 14973{ 14974 # Extract subdirectory from the argument. 14975 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` 14976 if test "X$func_dirname_result" = "X${1}"; then 14977 func_dirname_result="${3}" 14978 else 14979 func_dirname_result="$func_dirname_result${2}" 14980 fi 14981} 14982 14983# func_basename file 14984func_basename () 14985{ 14986 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` 14987} 14988 14989 14990# func_stripname prefix suffix name 14991# strip PREFIX and SUFFIX off of NAME. 14992# PREFIX and SUFFIX must not contain globbing or regex special 14993# characters, hashes, percent signs, but SUFFIX may contain a leading 14994# dot (in which case that matches only a dot). 14995# func_strip_suffix prefix name 14996func_stripname () 14997{ 14998 case ${2} in 14999 .*) func_stripname_result=`$ECHO "X${3}" \ 15000 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; 15001 *) func_stripname_result=`$ECHO "X${3}" \ 15002 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; 15003 esac 15004} 15005 15006# sed scripts: 15007my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' 15008my_sed_long_arg='1s/^-[^=]*=//' 15009 15010# func_opt_split 15011func_opt_split () 15012{ 15013 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` 15014 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` 15015} 15016 15017# func_lo2o object 15018func_lo2o () 15019{ 15020 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` 15021} 15022 15023# func_xform libobj-or-source 15024func_xform () 15025{ 15026 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` 15027} 15028 15029# func_arith arithmetic-term... 15030func_arith () 15031{ 15032 func_arith_result=`expr "$@"` 15033} 15034 15035# func_len string 15036# STRING may not start with a hyphen. 15037func_len () 15038{ 15039 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` 15040} 15041 15042_LT_EOF 15043esac 15044 15045case $lt_shell_append in 15046 yes) 15047 cat << \_LT_EOF >> "$cfgfile" 15048 15049# func_append var value 15050# Append VALUE to the end of shell variable VAR. 15051func_append () 15052{ 15053 eval "$1+=\$2" 15054} 15055_LT_EOF 15056 ;; 15057 *) 15058 cat << \_LT_EOF >> "$cfgfile" 15059 15060# func_append var value 15061# Append VALUE to the end of shell variable VAR. 15062func_append () 15063{ 15064 eval "$1=\$$1\$2" 15065} 15066 15067_LT_EOF 15068 ;; 15069 esac 15070 15071 15072 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ 15073 || (rm -f "$cfgfile"; exit 1) 15074 15075 mv -f "$cfgfile" "$ofile" || 15076 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 15077 chmod +x "$ofile" 15078 15079 ;; 15080 "po/stamp-it":C) 15081 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then 15082 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 15083 fi 15084 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" 15085 >"po/stamp-it.tmp" 15086 sed '/^#/d 15087 s/^[[].*] *// 15088 /^[ ]*$/d 15089 '"s|^| $ac_top_srcdir/|" \ 15090 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" 15091 15092 sed '/^POTFILES =/,/[^\\]$/ { 15093 /^POTFILES =/!d 15094 r po/POTFILES 15095 } 15096 ' "po/Makefile.in" >"po/Makefile" 15097 rm -f "po/Makefile.tmp" 15098 mv "po/stamp-it.tmp" "po/stamp-it" 15099 ;; 15100 15101 esac 15102done # for ac_tag 15103 15104 15105as_fn_exit 0 15106_ACEOF 15107ac_clean_files=$ac_clean_files_save 15108 15109test $ac_write_fail = 0 || 15110 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 15111 15112 15113# configure is writing to config.log, and then calls config.status. 15114# config.status does its own redirection, appending to config.log. 15115# Unfortunately, on DOS this fails, as config.log is still kept open 15116# by configure, so config.status won't be able to write to it; its 15117# output is simply discarded. So we exec the FD to /dev/null, 15118# effectively closing config.log, so it can be properly (re)opened and 15119# appended to by config.status. When coming back to configure, we 15120# need to make the FD available again. 15121if test "$no_create" != yes; then 15122 ac_cs_success=: 15123 ac_config_status_args= 15124 test "$silent" = yes && 15125 ac_config_status_args="$ac_config_status_args --quiet" 15126 exec 5>/dev/null 15127 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 15128 exec 5>>config.log 15129 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 15130 # would make configure fail if this is the last instruction. 15131 $ac_cs_success || as_fn_exit 1 15132fi 15133if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 15134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 15135$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 15136fi 15137 15138