1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.65 for gmpc-mdcover 0.20.0. 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 Free Software Foundation, 10# 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 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=$?; test $as_status -eq 0 && as_status=1 370 if test "$3"; then 371 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 373 fi 374 $as_echo "$as_me: error: $1" >&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, 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-mdcover' 703PACKAGE_TARNAME='gmpc-mdcover' 704PACKAGE_VERSION='0.20.0' 705PACKAGE_STRING='gmpc-mdcover 0.20.0' 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 749gmpcmdca_LIBS 750gmpcmdca_CFLAGS 751PKG_CONFIG 752OTOOL64 753OTOOL 754LIPO 755NMEDIT 756DSYMUTIL 757lt_ECHO 758RANLIB 759AR 760OBJDUMP 761LN_S 762NM 763ac_ct_DUMPBIN 764DUMPBIN 765LD 766FGREP 767SED 768host_os 769host_vendor 770host_cpu 771host 772build_os 773build_vendor 774build_cpu 775build 776LIBTOOL 777MKINSTALLDIRS 778POSUB 779POFILES 780PO_IN_DATADIR_FALSE 781PO_IN_DATADIR_TRUE 782INTLLIBS 783INSTOBJEXT 784GMOFILES 785CATOBJEXT 786CATALOGS 787MSGFMT_OPTS 788EGREP 789GREP 790CPP 791GETTEXT_PACKAGE 792DATADIRNAME 793am__fastdepCC_FALSE 794am__fastdepCC_TRUE 795CCDEPMODE 796AMDEPBACKSLASH 797AMDEP_FALSE 798AMDEP_TRUE 799am__quote 800am__include 801DEPDIR 802OBJEXT 803EXEEXT 804ac_ct_CC 805CPPFLAGS 806LDFLAGS 807CFLAGS 808CC 809ALL_LINGUAS 810INTLTOOL_PERL 811GMSGFMT 812MSGFMT 813MSGMERGE 814XGETTEXT 815INTLTOOL_POLICY_RULE 816INTLTOOL_SERVICE_RULE 817INTLTOOL_THEME_RULE 818INTLTOOL_SCHEMAS_RULE 819INTLTOOL_CAVES_RULE 820INTLTOOL_XML_NOMERGE_RULE 821INTLTOOL_XML_RULE 822INTLTOOL_KBD_RULE 823INTLTOOL_XAM_RULE 824INTLTOOL_UI_RULE 825INTLTOOL_SOUNDLIST_RULE 826INTLTOOL_SHEET_RULE 827INTLTOOL_SERVER_RULE 828INTLTOOL_PONG_RULE 829INTLTOOL_OAF_RULE 830INTLTOOL_PROP_RULE 831INTLTOOL_KEYS_RULE 832INTLTOOL_DIRECTORY_RULE 833INTLTOOL_DESKTOP_RULE 834INTLTOOL_EXTRACT 835INTLTOOL_MERGE 836INTLTOOL_UPDATE 837USE_NLS 838am__untar 839am__tar 840AMTAR 841am__leading_dot 842SET_MAKE 843AWK 844mkdir_p 845MKDIR_P 846INSTALL_STRIP_PROGRAM 847STRIP 848install_sh 849MAKEINFO 850AUTOHEADER 851AUTOMAKE 852AUTOCONF 853ACLOCAL 854VERSION 855PACKAGE 856CYGPATH_W 857am__isrc 858INSTALL_DATA 859INSTALL_SCRIPT 860INSTALL_PROGRAM 861target_alias 862host_alias 863build_alias 864LIBS 865ECHO_T 866ECHO_N 867ECHO_C 868DEFS 869mandir 870localedir 871libdir 872psdir 873pdfdir 874dvidir 875htmldir 876infodir 877docdir 878oldincludedir 879includedir 880localstatedir 881sharedstatedir 882sysconfdir 883datadir 884datarootdir 885libexecdir 886sbindir 887bindir 888program_transform_name 889prefix 890exec_prefix 891PACKAGE_URL 892PACKAGE_BUGREPORT 893PACKAGE_STRING 894PACKAGE_VERSION 895PACKAGE_TARNAME 896PACKAGE_NAME 897PATH_SEPARATOR 898SHELL' 899ac_subst_files='' 900ac_user_opts=' 901enable_option_checking 902enable_nls 903enable_dependency_tracking 904enable_static 905enable_shared 906with_pic 907enable_fast_install 908with_gnu_ld 909enable_libtool_lock 910' 911 ac_precious_vars='build_alias 912host_alias 913target_alias 914CC 915CFLAGS 916LDFLAGS 917LIBS 918CPPFLAGS 919CPP 920PKG_CONFIG 921gmpcmdca_CFLAGS 922gmpcmdca_LIBS' 923 924 925# Initialize some variables set by options. 926ac_init_help= 927ac_init_version=false 928ac_unrecognized_opts= 929ac_unrecognized_sep= 930# The variables have the same names as the options, with 931# dashes changed to underlines. 932cache_file=/dev/null 933exec_prefix=NONE 934no_create= 935no_recursion= 936prefix=NONE 937program_prefix=NONE 938program_suffix=NONE 939program_transform_name=s,x,x, 940silent= 941site= 942srcdir= 943verbose= 944x_includes=NONE 945x_libraries=NONE 946 947# Installation directory options. 948# These are left unexpanded so users can "make install exec_prefix=/foo" 949# and all the variables that are supposed to be based on exec_prefix 950# by default will actually change. 951# Use braces instead of parens because sh, perl, etc. also accept them. 952# (The list follows the same order as the GNU Coding Standards.) 953bindir='${exec_prefix}/bin' 954sbindir='${exec_prefix}/sbin' 955libexecdir='${exec_prefix}/libexec' 956datarootdir='${prefix}/share' 957datadir='${datarootdir}' 958sysconfdir='${prefix}/etc' 959sharedstatedir='${prefix}/com' 960localstatedir='${prefix}/var' 961includedir='${prefix}/include' 962oldincludedir='/usr/include' 963docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 964infodir='${datarootdir}/info' 965htmldir='${docdir}' 966dvidir='${docdir}' 967pdfdir='${docdir}' 968psdir='${docdir}' 969libdir='${exec_prefix}/lib' 970localedir='${datarootdir}/locale' 971mandir='${datarootdir}/man' 972 973ac_prev= 974ac_dashdash= 975for ac_option 976do 977 # If the previous option needs an argument, assign it. 978 if test -n "$ac_prev"; then 979 eval $ac_prev=\$ac_option 980 ac_prev= 981 continue 982 fi 983 984 case $ac_option in 985 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 986 *) ac_optarg=yes ;; 987 esac 988 989 # Accept the important Cygnus configure options, so we can diagnose typos. 990 991 case $ac_dashdash$ac_option in 992 --) 993 ac_dashdash=yes ;; 994 995 -bindir | --bindir | --bindi | --bind | --bin | --bi) 996 ac_prev=bindir ;; 997 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 998 bindir=$ac_optarg ;; 999 1000 -build | --build | --buil | --bui | --bu) 1001 ac_prev=build_alias ;; 1002 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1003 build_alias=$ac_optarg ;; 1004 1005 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1006 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1007 ac_prev=cache_file ;; 1008 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1009 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1010 cache_file=$ac_optarg ;; 1011 1012 --config-cache | -C) 1013 cache_file=config.cache ;; 1014 1015 -datadir | --datadir | --datadi | --datad) 1016 ac_prev=datadir ;; 1017 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1018 datadir=$ac_optarg ;; 1019 1020 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1021 | --dataroo | --dataro | --datar) 1022 ac_prev=datarootdir ;; 1023 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1024 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1025 datarootdir=$ac_optarg ;; 1026 1027 -disable-* | --disable-*) 1028 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1029 # Reject names that are not valid shell variable names. 1030 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1031 as_fn_error "invalid feature name: $ac_useropt" 1032 ac_useropt_orig=$ac_useropt 1033 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1034 case $ac_user_opts in 1035 *" 1036"enable_$ac_useropt" 1037"*) ;; 1038 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1039 ac_unrecognized_sep=', ';; 1040 esac 1041 eval enable_$ac_useropt=no ;; 1042 1043 -docdir | --docdir | --docdi | --doc | --do) 1044 ac_prev=docdir ;; 1045 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1046 docdir=$ac_optarg ;; 1047 1048 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1049 ac_prev=dvidir ;; 1050 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1051 dvidir=$ac_optarg ;; 1052 1053 -enable-* | --enable-*) 1054 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1055 # Reject names that are not valid shell variable names. 1056 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1057 as_fn_error "invalid feature name: $ac_useropt" 1058 ac_useropt_orig=$ac_useropt 1059 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1060 case $ac_user_opts in 1061 *" 1062"enable_$ac_useropt" 1063"*) ;; 1064 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1065 ac_unrecognized_sep=', ';; 1066 esac 1067 eval enable_$ac_useropt=\$ac_optarg ;; 1068 1069 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1070 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1071 | --exec | --exe | --ex) 1072 ac_prev=exec_prefix ;; 1073 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1074 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1075 | --exec=* | --exe=* | --ex=*) 1076 exec_prefix=$ac_optarg ;; 1077 1078 -gas | --gas | --ga | --g) 1079 # Obsolete; use --with-gas. 1080 with_gas=yes ;; 1081 1082 -help | --help | --hel | --he | -h) 1083 ac_init_help=long ;; 1084 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1085 ac_init_help=recursive ;; 1086 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1087 ac_init_help=short ;; 1088 1089 -host | --host | --hos | --ho) 1090 ac_prev=host_alias ;; 1091 -host=* | --host=* | --hos=* | --ho=*) 1092 host_alias=$ac_optarg ;; 1093 1094 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1095 ac_prev=htmldir ;; 1096 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1097 | --ht=*) 1098 htmldir=$ac_optarg ;; 1099 1100 -includedir | --includedir | --includedi | --included | --include \ 1101 | --includ | --inclu | --incl | --inc) 1102 ac_prev=includedir ;; 1103 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1104 | --includ=* | --inclu=* | --incl=* | --inc=*) 1105 includedir=$ac_optarg ;; 1106 1107 -infodir | --infodir | --infodi | --infod | --info | --inf) 1108 ac_prev=infodir ;; 1109 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1110 infodir=$ac_optarg ;; 1111 1112 -libdir | --libdir | --libdi | --libd) 1113 ac_prev=libdir ;; 1114 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1115 libdir=$ac_optarg ;; 1116 1117 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1118 | --libexe | --libex | --libe) 1119 ac_prev=libexecdir ;; 1120 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1121 | --libexe=* | --libex=* | --libe=*) 1122 libexecdir=$ac_optarg ;; 1123 1124 -localedir | --localedir | --localedi | --localed | --locale) 1125 ac_prev=localedir ;; 1126 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1127 localedir=$ac_optarg ;; 1128 1129 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1130 | --localstate | --localstat | --localsta | --localst | --locals) 1131 ac_prev=localstatedir ;; 1132 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1133 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1134 localstatedir=$ac_optarg ;; 1135 1136 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1137 ac_prev=mandir ;; 1138 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1139 mandir=$ac_optarg ;; 1140 1141 -nfp | --nfp | --nf) 1142 # Obsolete; use --without-fp. 1143 with_fp=no ;; 1144 1145 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1146 | --no-cr | --no-c | -n) 1147 no_create=yes ;; 1148 1149 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1150 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1151 no_recursion=yes ;; 1152 1153 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1154 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1155 | --oldin | --oldi | --old | --ol | --o) 1156 ac_prev=oldincludedir ;; 1157 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1158 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1159 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1160 oldincludedir=$ac_optarg ;; 1161 1162 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1163 ac_prev=prefix ;; 1164 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1165 prefix=$ac_optarg ;; 1166 1167 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1168 | --program-pre | --program-pr | --program-p) 1169 ac_prev=program_prefix ;; 1170 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1171 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1172 program_prefix=$ac_optarg ;; 1173 1174 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1175 | --program-suf | --program-su | --program-s) 1176 ac_prev=program_suffix ;; 1177 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1178 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1179 program_suffix=$ac_optarg ;; 1180 1181 -program-transform-name | --program-transform-name \ 1182 | --program-transform-nam | --program-transform-na \ 1183 | --program-transform-n | --program-transform- \ 1184 | --program-transform | --program-transfor \ 1185 | --program-transfo | --program-transf \ 1186 | --program-trans | --program-tran \ 1187 | --progr-tra | --program-tr | --program-t) 1188 ac_prev=program_transform_name ;; 1189 -program-transform-name=* | --program-transform-name=* \ 1190 | --program-transform-nam=* | --program-transform-na=* \ 1191 | --program-transform-n=* | --program-transform-=* \ 1192 | --program-transform=* | --program-transfor=* \ 1193 | --program-transfo=* | --program-transf=* \ 1194 | --program-trans=* | --program-tran=* \ 1195 | --progr-tra=* | --program-tr=* | --program-t=*) 1196 program_transform_name=$ac_optarg ;; 1197 1198 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1199 ac_prev=pdfdir ;; 1200 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1201 pdfdir=$ac_optarg ;; 1202 1203 -psdir | --psdir | --psdi | --psd | --ps) 1204 ac_prev=psdir ;; 1205 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1206 psdir=$ac_optarg ;; 1207 1208 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1209 | -silent | --silent | --silen | --sile | --sil) 1210 silent=yes ;; 1211 1212 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1213 ac_prev=sbindir ;; 1214 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1215 | --sbi=* | --sb=*) 1216 sbindir=$ac_optarg ;; 1217 1218 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1219 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1220 | --sharedst | --shareds | --shared | --share | --shar \ 1221 | --sha | --sh) 1222 ac_prev=sharedstatedir ;; 1223 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1224 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1225 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1226 | --sha=* | --sh=*) 1227 sharedstatedir=$ac_optarg ;; 1228 1229 -site | --site | --sit) 1230 ac_prev=site ;; 1231 -site=* | --site=* | --sit=*) 1232 site=$ac_optarg ;; 1233 1234 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1235 ac_prev=srcdir ;; 1236 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1237 srcdir=$ac_optarg ;; 1238 1239 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1240 | --syscon | --sysco | --sysc | --sys | --sy) 1241 ac_prev=sysconfdir ;; 1242 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1243 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1244 sysconfdir=$ac_optarg ;; 1245 1246 -target | --target | --targe | --targ | --tar | --ta | --t) 1247 ac_prev=target_alias ;; 1248 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1249 target_alias=$ac_optarg ;; 1250 1251 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1252 verbose=yes ;; 1253 1254 -version | --version | --versio | --versi | --vers | -V) 1255 ac_init_version=: ;; 1256 1257 -with-* | --with-*) 1258 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1259 # Reject names that are not valid shell variable names. 1260 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1261 as_fn_error "invalid package name: $ac_useropt" 1262 ac_useropt_orig=$ac_useropt 1263 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1264 case $ac_user_opts in 1265 *" 1266"with_$ac_useropt" 1267"*) ;; 1268 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1269 ac_unrecognized_sep=', ';; 1270 esac 1271 eval with_$ac_useropt=\$ac_optarg ;; 1272 1273 -without-* | --without-*) 1274 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1275 # Reject names that are not valid shell variable names. 1276 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1277 as_fn_error "invalid package name: $ac_useropt" 1278 ac_useropt_orig=$ac_useropt 1279 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1280 case $ac_user_opts in 1281 *" 1282"with_$ac_useropt" 1283"*) ;; 1284 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1285 ac_unrecognized_sep=', ';; 1286 esac 1287 eval with_$ac_useropt=no ;; 1288 1289 --x) 1290 # Obsolete; use --with-x. 1291 with_x=yes ;; 1292 1293 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1294 | --x-incl | --x-inc | --x-in | --x-i) 1295 ac_prev=x_includes ;; 1296 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1297 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1298 x_includes=$ac_optarg ;; 1299 1300 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1301 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1302 ac_prev=x_libraries ;; 1303 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1304 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1305 x_libraries=$ac_optarg ;; 1306 1307 -*) as_fn_error "unrecognized option: \`$ac_option' 1308Try \`$0 --help' for more information." 1309 ;; 1310 1311 *=*) 1312 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1313 # Reject names that are not valid shell variable names. 1314 case $ac_envvar in #( 1315 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1316 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1317 esac 1318 eval $ac_envvar=\$ac_optarg 1319 export $ac_envvar ;; 1320 1321 *) 1322 # FIXME: should be removed in autoconf 3.0. 1323 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1324 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1325 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1326 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1327 ;; 1328 1329 esac 1330done 1331 1332if test -n "$ac_prev"; then 1333 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1334 as_fn_error "missing argument to $ac_option" 1335fi 1336 1337if test -n "$ac_unrecognized_opts"; then 1338 case $enable_option_checking in 1339 no) ;; 1340 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1341 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1342 esac 1343fi 1344 1345# Check all directory arguments for consistency. 1346for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1347 datadir sysconfdir sharedstatedir localstatedir includedir \ 1348 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1349 libdir localedir mandir 1350do 1351 eval ac_val=\$$ac_var 1352 # Remove trailing slashes. 1353 case $ac_val in 1354 */ ) 1355 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1356 eval $ac_var=\$ac_val;; 1357 esac 1358 # Be sure to have absolute directory names. 1359 case $ac_val in 1360 [\\/$]* | ?:[\\/]* ) continue;; 1361 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1362 esac 1363 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1364done 1365 1366# There might be people who depend on the old broken behavior: `$host' 1367# used to hold the argument of --host etc. 1368# FIXME: To remove some day. 1369build=$build_alias 1370host=$host_alias 1371target=$target_alias 1372 1373# FIXME: To remove some day. 1374if test "x$host_alias" != x; then 1375 if test "x$build_alias" = x; then 1376 cross_compiling=maybe 1377 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1378 If a cross compiler is detected then cross compile mode will be used." >&2 1379 elif test "x$build_alias" != "x$host_alias"; then 1380 cross_compiling=yes 1381 fi 1382fi 1383 1384ac_tool_prefix= 1385test -n "$host_alias" && ac_tool_prefix=$host_alias- 1386 1387test "$silent" = yes && exec 6>/dev/null 1388 1389 1390ac_pwd=`pwd` && test -n "$ac_pwd" && 1391ac_ls_di=`ls -di .` && 1392ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1393 as_fn_error "working directory cannot be determined" 1394test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1395 as_fn_error "pwd does not report name of working directory" 1396 1397 1398# Find the source files, if location was not specified. 1399if test -z "$srcdir"; then 1400 ac_srcdir_defaulted=yes 1401 # Try the directory containing this script, then the parent directory. 1402 ac_confdir=`$as_dirname -- "$as_myself" || 1403$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1404 X"$as_myself" : 'X\(//\)[^/]' \| \ 1405 X"$as_myself" : 'X\(//\)$' \| \ 1406 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1407$as_echo X"$as_myself" | 1408 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1409 s//\1/ 1410 q 1411 } 1412 /^X\(\/\/\)[^/].*/{ 1413 s//\1/ 1414 q 1415 } 1416 /^X\(\/\/\)$/{ 1417 s//\1/ 1418 q 1419 } 1420 /^X\(\/\).*/{ 1421 s//\1/ 1422 q 1423 } 1424 s/.*/./; q'` 1425 srcdir=$ac_confdir 1426 if test ! -r "$srcdir/$ac_unique_file"; then 1427 srcdir=.. 1428 fi 1429else 1430 ac_srcdir_defaulted=no 1431fi 1432if test ! -r "$srcdir/$ac_unique_file"; then 1433 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1434 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1435fi 1436ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1437ac_abs_confdir=`( 1438 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1439 pwd)` 1440# When building in place, set srcdir=. 1441if test "$ac_abs_confdir" = "$ac_pwd"; then 1442 srcdir=. 1443fi 1444# Remove unnecessary trailing slashes from srcdir. 1445# Double slashes in file names in object file debugging info 1446# mess up M-x gdb in Emacs. 1447case $srcdir in 1448*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1449esac 1450for ac_var in $ac_precious_vars; do 1451 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1452 eval ac_env_${ac_var}_value=\$${ac_var} 1453 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1454 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1455done 1456 1457# 1458# Report the --help message. 1459# 1460if test "$ac_init_help" = "long"; then 1461 # Omit some internal or obsolete options to make the list less imposing. 1462 # This message is too long to be a string in the A/UX 3.1 sh. 1463 cat <<_ACEOF 1464\`configure' configures gmpc-mdcover 0.20.0 to adapt to many kinds of systems. 1465 1466Usage: $0 [OPTION]... [VAR=VALUE]... 1467 1468To assign environment variables (e.g., CC, CFLAGS...), specify them as 1469VAR=VALUE. See below for descriptions of some of the useful variables. 1470 1471Defaults for the options are specified in brackets. 1472 1473Configuration: 1474 -h, --help display this help and exit 1475 --help=short display options specific to this package 1476 --help=recursive display the short help of all the included packages 1477 -V, --version display version information and exit 1478 -q, --quiet, --silent do not print \`checking...' messages 1479 --cache-file=FILE cache test results in FILE [disabled] 1480 -C, --config-cache alias for \`--cache-file=config.cache' 1481 -n, --no-create do not create output files 1482 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1483 1484Installation directories: 1485 --prefix=PREFIX install architecture-independent files in PREFIX 1486 [$ac_default_prefix] 1487 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1488 [PREFIX] 1489 1490By default, \`make install' will install all the files in 1491\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1492an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1493for instance \`--prefix=\$HOME'. 1494 1495For better control, use the options below. 1496 1497Fine tuning of the installation directories: 1498 --bindir=DIR user executables [EPREFIX/bin] 1499 --sbindir=DIR system admin executables [EPREFIX/sbin] 1500 --libexecdir=DIR program executables [EPREFIX/libexec] 1501 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1502 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1503 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1504 --libdir=DIR object code libraries [EPREFIX/lib] 1505 --includedir=DIR C header files [PREFIX/include] 1506 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1507 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1508 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1509 --infodir=DIR info documentation [DATAROOTDIR/info] 1510 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1511 --mandir=DIR man documentation [DATAROOTDIR/man] 1512 --docdir=DIR documentation root [DATAROOTDIR/doc/gmpc-mdcover] 1513 --htmldir=DIR html documentation [DOCDIR] 1514 --dvidir=DIR dvi documentation [DOCDIR] 1515 --pdfdir=DIR pdf documentation [DOCDIR] 1516 --psdir=DIR ps documentation [DOCDIR] 1517_ACEOF 1518 1519 cat <<\_ACEOF 1520 1521Program names: 1522 --program-prefix=PREFIX prepend PREFIX to installed program names 1523 --program-suffix=SUFFIX append SUFFIX to installed program names 1524 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1525 1526System types: 1527 --build=BUILD configure for building on BUILD [guessed] 1528 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1529_ACEOF 1530fi 1531 1532if test -n "$ac_init_help"; then 1533 case $ac_init_help in 1534 short | recursive ) echo "Configuration of gmpc-mdcover 0.20.0:";; 1535 esac 1536 cat <<\_ACEOF 1537 1538Optional Features: 1539 --disable-option-checking ignore unrecognized --enable/--with options 1540 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1541 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1542 --disable-nls do not use Native Language Support 1543 --disable-dependency-tracking speeds up one-time build 1544 --enable-dependency-tracking do not reject slow dependency extractors 1545 --enable-static[=PKGS] build static libraries [default=no] 1546 --enable-shared[=PKGS] build shared libraries [default=yes] 1547 --enable-fast-install[=PKGS] 1548 optimize for fast installation [default=yes] 1549 --disable-libtool-lock avoid locking (might break parallel builds) 1550 1551Optional Packages: 1552 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1553 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1554 --with-pic try to use only PIC/non-PIC objects [default=use 1555 both] 1556 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1557 1558Some influential environment variables: 1559 CC C compiler command 1560 CFLAGS C compiler flags 1561 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1562 nonstandard directory <lib dir> 1563 LIBS libraries to pass to the linker, e.g. -l<library> 1564 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1565 you have headers in a nonstandard directory <include dir> 1566 CPP C preprocessor 1567 PKG_CONFIG path to pkg-config utility 1568 gmpcmdca_CFLAGS 1569 C compiler flags for gmpcmdca, overriding pkg-config 1570 gmpcmdca_LIBS 1571 linker flags for gmpcmdca, overriding pkg-config 1572 1573Use these variables to override the choices made by `configure' or to help 1574it to find libraries and programs with nonstandard names/locations. 1575 1576Report bugs to <qball@sarine.nl>. 1577_ACEOF 1578ac_status=$? 1579fi 1580 1581if test "$ac_init_help" = "recursive"; then 1582 # If there are subdirs, report their specific --help. 1583 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1584 test -d "$ac_dir" || 1585 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1586 continue 1587 ac_builddir=. 1588 1589case "$ac_dir" in 1590.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1591*) 1592 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1593 # A ".." for each directory in $ac_dir_suffix. 1594 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1595 case $ac_top_builddir_sub in 1596 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1597 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1598 esac ;; 1599esac 1600ac_abs_top_builddir=$ac_pwd 1601ac_abs_builddir=$ac_pwd$ac_dir_suffix 1602# for backward compatibility: 1603ac_top_builddir=$ac_top_build_prefix 1604 1605case $srcdir in 1606 .) # We are building in place. 1607 ac_srcdir=. 1608 ac_top_srcdir=$ac_top_builddir_sub 1609 ac_abs_top_srcdir=$ac_pwd ;; 1610 [\\/]* | ?:[\\/]* ) # Absolute name. 1611 ac_srcdir=$srcdir$ac_dir_suffix; 1612 ac_top_srcdir=$srcdir 1613 ac_abs_top_srcdir=$srcdir ;; 1614 *) # Relative name. 1615 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1616 ac_top_srcdir=$ac_top_build_prefix$srcdir 1617 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1618esac 1619ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1620 1621 cd "$ac_dir" || { ac_status=$?; continue; } 1622 # Check for guested configure. 1623 if test -f "$ac_srcdir/configure.gnu"; then 1624 echo && 1625 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1626 elif test -f "$ac_srcdir/configure"; then 1627 echo && 1628 $SHELL "$ac_srcdir/configure" --help=recursive 1629 else 1630 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1631 fi || ac_status=$? 1632 cd "$ac_pwd" || { ac_status=$?; break; } 1633 done 1634fi 1635 1636test -n "$ac_init_help" && exit $ac_status 1637if $ac_init_version; then 1638 cat <<\_ACEOF 1639gmpc-mdcover configure 0.20.0 1640generated by GNU Autoconf 2.65 1641 1642Copyright (C) 2009 Free Software Foundation, Inc. 1643This configure script is free software; the Free Software Foundation 1644gives unlimited permission to copy, distribute and modify it. 1645_ACEOF 1646 exit 1647fi 1648 1649## ------------------------ ## 1650## Autoconf initialization. ## 1651## ------------------------ ## 1652 1653# ac_fn_c_try_compile LINENO 1654# -------------------------- 1655# Try to compile conftest.$ac_ext, and return whether this succeeded. 1656ac_fn_c_try_compile () 1657{ 1658 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1659 rm -f conftest.$ac_objext 1660 if { { ac_try="$ac_compile" 1661case "(($ac_try" in 1662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1663 *) ac_try_echo=$ac_try;; 1664esac 1665eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1666$as_echo "$ac_try_echo"; } >&5 1667 (eval "$ac_compile") 2>conftest.err 1668 ac_status=$? 1669 if test -s conftest.err; then 1670 grep -v '^ *+' conftest.err >conftest.er1 1671 cat conftest.er1 >&5 1672 mv -f conftest.er1 conftest.err 1673 fi 1674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1675 test $ac_status = 0; } && { 1676 test -z "$ac_c_werror_flag" || 1677 test ! -s conftest.err 1678 } && test -s conftest.$ac_objext; then : 1679 ac_retval=0 1680else 1681 $as_echo "$as_me: failed program was:" >&5 1682sed 's/^/| /' conftest.$ac_ext >&5 1683 1684 ac_retval=1 1685fi 1686 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1687 as_fn_set_status $ac_retval 1688 1689} # ac_fn_c_try_compile 1690 1691# ac_fn_c_try_link LINENO 1692# ----------------------- 1693# Try to link conftest.$ac_ext, and return whether this succeeded. 1694ac_fn_c_try_link () 1695{ 1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1697 rm -f conftest.$ac_objext conftest$ac_exeext 1698 if { { ac_try="$ac_link" 1699case "(($ac_try" in 1700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1701 *) ac_try_echo=$ac_try;; 1702esac 1703eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1704$as_echo "$ac_try_echo"; } >&5 1705 (eval "$ac_link") 2>conftest.err 1706 ac_status=$? 1707 if test -s conftest.err; then 1708 grep -v '^ *+' conftest.err >conftest.er1 1709 cat conftest.er1 >&5 1710 mv -f conftest.er1 conftest.err 1711 fi 1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1713 test $ac_status = 0; } && { 1714 test -z "$ac_c_werror_flag" || 1715 test ! -s conftest.err 1716 } && test -s conftest$ac_exeext && { 1717 test "$cross_compiling" = yes || 1718 $as_test_x conftest$ac_exeext 1719 }; then : 1720 ac_retval=0 1721else 1722 $as_echo "$as_me: failed program was:" >&5 1723sed 's/^/| /' conftest.$ac_ext >&5 1724 1725 ac_retval=1 1726fi 1727 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1728 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1729 # interfere with the next link command; also delete a directory that is 1730 # left behind by Apple's compiler. We do this before executing the actions. 1731 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1732 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1733 as_fn_set_status $ac_retval 1734 1735} # ac_fn_c_try_link 1736 1737# ac_fn_c_check_func LINENO FUNC VAR 1738# ---------------------------------- 1739# Tests whether FUNC exists, setting the cache variable VAR accordingly 1740ac_fn_c_check_func () 1741{ 1742 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1744$as_echo_n "checking for $2... " >&6; } 1745if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1746 $as_echo_n "(cached) " >&6 1747else 1748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1749/* end confdefs.h. */ 1750/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1751 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1752#define $2 innocuous_$2 1753 1754/* System header to define __stub macros and hopefully few prototypes, 1755 which can conflict with char $2 (); below. 1756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1757 <limits.h> exists even on freestanding compilers. */ 1758 1759#ifdef __STDC__ 1760# include <limits.h> 1761#else 1762# include <assert.h> 1763#endif 1764 1765#undef $2 1766 1767/* Override any GCC internal prototype to avoid an error. 1768 Use char because int might match the return type of a GCC 1769 builtin and then its argument prototype would still apply. */ 1770#ifdef __cplusplus 1771extern "C" 1772#endif 1773char $2 (); 1774/* The GNU C library defines this for functions which it implements 1775 to always fail with ENOSYS. Some functions are actually named 1776 something starting with __ and the normal name is an alias. */ 1777#if defined __stub_$2 || defined __stub___$2 1778choke me 1779#endif 1780 1781int 1782main () 1783{ 1784return $2 (); 1785 ; 1786 return 0; 1787} 1788_ACEOF 1789if ac_fn_c_try_link "$LINENO"; then : 1790 eval "$3=yes" 1791else 1792 eval "$3=no" 1793fi 1794rm -f core conftest.err conftest.$ac_objext \ 1795 conftest$ac_exeext conftest.$ac_ext 1796fi 1797eval ac_res=\$$3 1798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1799$as_echo "$ac_res" >&6; } 1800 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1801 1802} # ac_fn_c_check_func 1803 1804# ac_fn_c_try_cpp LINENO 1805# ---------------------- 1806# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1807ac_fn_c_try_cpp () 1808{ 1809 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1810 if { { ac_try="$ac_cpp conftest.$ac_ext" 1811case "(($ac_try" in 1812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1813 *) ac_try_echo=$ac_try;; 1814esac 1815eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1816$as_echo "$ac_try_echo"; } >&5 1817 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1818 ac_status=$? 1819 if test -s conftest.err; then 1820 grep -v '^ *+' conftest.err >conftest.er1 1821 cat conftest.er1 >&5 1822 mv -f conftest.er1 conftest.err 1823 fi 1824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1825 test $ac_status = 0; } >/dev/null && { 1826 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1827 test ! -s conftest.err 1828 }; then : 1829 ac_retval=0 1830else 1831 $as_echo "$as_me: failed program was:" >&5 1832sed 's/^/| /' conftest.$ac_ext >&5 1833 1834 ac_retval=1 1835fi 1836 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1837 as_fn_set_status $ac_retval 1838 1839} # ac_fn_c_try_cpp 1840 1841# ac_fn_c_try_run LINENO 1842# ---------------------- 1843# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1844# that executables *can* be run. 1845ac_fn_c_try_run () 1846{ 1847 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1848 if { { ac_try="$ac_link" 1849case "(($ac_try" in 1850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1851 *) ac_try_echo=$ac_try;; 1852esac 1853eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1854$as_echo "$ac_try_echo"; } >&5 1855 (eval "$ac_link") 2>&5 1856 ac_status=$? 1857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1858 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1859 { { case "(($ac_try" in 1860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1861 *) ac_try_echo=$ac_try;; 1862esac 1863eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1864$as_echo "$ac_try_echo"; } >&5 1865 (eval "$ac_try") 2>&5 1866 ac_status=$? 1867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1868 test $ac_status = 0; }; }; then : 1869 ac_retval=0 1870else 1871 $as_echo "$as_me: program exited with status $ac_status" >&5 1872 $as_echo "$as_me: failed program was:" >&5 1873sed 's/^/| /' conftest.$ac_ext >&5 1874 1875 ac_retval=$ac_status 1876fi 1877 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1878 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1879 as_fn_set_status $ac_retval 1880 1881} # ac_fn_c_try_run 1882 1883# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1884# ------------------------------------------------------- 1885# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1886# the include files in INCLUDES and setting the cache variable VAR 1887# accordingly. 1888ac_fn_c_check_header_mongrel () 1889{ 1890 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1891 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1893$as_echo_n "checking for $2... " >&6; } 1894if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1895 $as_echo_n "(cached) " >&6 1896fi 1897eval ac_res=\$$3 1898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1899$as_echo "$ac_res" >&6; } 1900else 1901 # Is the header compilable? 1902{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1903$as_echo_n "checking $2 usability... " >&6; } 1904cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1905/* end confdefs.h. */ 1906$4 1907#include <$2> 1908_ACEOF 1909if ac_fn_c_try_compile "$LINENO"; then : 1910 ac_header_compiler=yes 1911else 1912 ac_header_compiler=no 1913fi 1914rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1916$as_echo "$ac_header_compiler" >&6; } 1917 1918# Is the header present? 1919{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1920$as_echo_n "checking $2 presence... " >&6; } 1921cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1922/* end confdefs.h. */ 1923#include <$2> 1924_ACEOF 1925if ac_fn_c_try_cpp "$LINENO"; then : 1926 ac_header_preproc=yes 1927else 1928 ac_header_preproc=no 1929fi 1930rm -f conftest.err conftest.$ac_ext 1931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1932$as_echo "$ac_header_preproc" >&6; } 1933 1934# So? What about this header? 1935case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1936 yes:no: ) 1937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1938$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1940$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1941 ;; 1942 no:yes:* ) 1943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1944$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1946$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1948$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1950$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1952$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1953( cat <<\_ASBOX 1954## ------------------------------ ## 1955## Report this to qball@sarine.nl ## 1956## ------------------------------ ## 1957_ASBOX 1958 ) | sed "s/^/$as_me: WARNING: /" >&2 1959 ;; 1960esac 1961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1962$as_echo_n "checking for $2... " >&6; } 1963if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1964 $as_echo_n "(cached) " >&6 1965else 1966 eval "$3=\$ac_header_compiler" 1967fi 1968eval ac_res=\$$3 1969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1970$as_echo "$ac_res" >&6; } 1971fi 1972 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1973 1974} # ac_fn_c_check_header_mongrel 1975 1976# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1977# ------------------------------------------------------- 1978# Tests whether HEADER exists and can be compiled using the include files in 1979# INCLUDES, setting the cache variable VAR accordingly. 1980ac_fn_c_check_header_compile () 1981{ 1982 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1984$as_echo_n "checking for $2... " >&6; } 1985if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1986 $as_echo_n "(cached) " >&6 1987else 1988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1989/* end confdefs.h. */ 1990$4 1991#include <$2> 1992_ACEOF 1993if ac_fn_c_try_compile "$LINENO"; then : 1994 eval "$3=yes" 1995else 1996 eval "$3=no" 1997fi 1998rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1999fi 2000eval ac_res=\$$3 2001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2002$as_echo "$ac_res" >&6; } 2003 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2004 2005} # ac_fn_c_check_header_compile 2006cat >config.log <<_ACEOF 2007This file contains any messages produced by compilers while 2008running configure, to aid debugging if configure makes a mistake. 2009 2010It was created by gmpc-mdcover $as_me 0.20.0, which was 2011generated by GNU Autoconf 2.65. Invocation command line was 2012 2013 $ $0 $@ 2014 2015_ACEOF 2016exec 5>>config.log 2017{ 2018cat <<_ASUNAME 2019## --------- ## 2020## Platform. ## 2021## --------- ## 2022 2023hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2024uname -m = `(uname -m) 2>/dev/null || echo unknown` 2025uname -r = `(uname -r) 2>/dev/null || echo unknown` 2026uname -s = `(uname -s) 2>/dev/null || echo unknown` 2027uname -v = `(uname -v) 2>/dev/null || echo unknown` 2028 2029/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2030/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2031 2032/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2033/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2034/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2035/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2036/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2037/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2038/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2039 2040_ASUNAME 2041 2042as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2043for as_dir in $PATH 2044do 2045 IFS=$as_save_IFS 2046 test -z "$as_dir" && as_dir=. 2047 $as_echo "PATH: $as_dir" 2048 done 2049IFS=$as_save_IFS 2050 2051} >&5 2052 2053cat >&5 <<_ACEOF 2054 2055 2056## ----------- ## 2057## Core tests. ## 2058## ----------- ## 2059 2060_ACEOF 2061 2062 2063# Keep a trace of the command line. 2064# Strip out --no-create and --no-recursion so they do not pile up. 2065# Strip out --silent because we don't want to record it for future runs. 2066# Also quote any args containing shell meta-characters. 2067# Make two passes to allow for proper duplicate-argument suppression. 2068ac_configure_args= 2069ac_configure_args0= 2070ac_configure_args1= 2071ac_must_keep_next=false 2072for ac_pass in 1 2 2073do 2074 for ac_arg 2075 do 2076 case $ac_arg in 2077 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2078 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2079 | -silent | --silent | --silen | --sile | --sil) 2080 continue ;; 2081 *\'*) 2082 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2083 esac 2084 case $ac_pass in 2085 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2086 2) 2087 as_fn_append ac_configure_args1 " '$ac_arg'" 2088 if test $ac_must_keep_next = true; then 2089 ac_must_keep_next=false # Got value, back to normal. 2090 else 2091 case $ac_arg in 2092 *=* | --config-cache | -C | -disable-* | --disable-* \ 2093 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2094 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2095 | -with-* | --with-* | -without-* | --without-* | --x) 2096 case "$ac_configure_args0 " in 2097 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2098 esac 2099 ;; 2100 -* ) ac_must_keep_next=true ;; 2101 esac 2102 fi 2103 as_fn_append ac_configure_args " '$ac_arg'" 2104 ;; 2105 esac 2106 done 2107done 2108{ ac_configure_args0=; unset ac_configure_args0;} 2109{ ac_configure_args1=; unset ac_configure_args1;} 2110 2111# When interrupted or exit'd, cleanup temporary files, and complete 2112# config.log. We remove comments because anyway the quotes in there 2113# would cause problems or look ugly. 2114# WARNING: Use '\'' to represent an apostrophe within the trap. 2115# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2116trap 'exit_status=$? 2117 # Save into config.log some information that might help in debugging. 2118 { 2119 echo 2120 2121 cat <<\_ASBOX 2122## ---------------- ## 2123## Cache variables. ## 2124## ---------------- ## 2125_ASBOX 2126 echo 2127 # The following way of writing the cache mishandles newlines in values, 2128( 2129 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2130 eval ac_val=\$$ac_var 2131 case $ac_val in #( 2132 *${as_nl}*) 2133 case $ac_var in #( 2134 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2135$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2136 esac 2137 case $ac_var in #( 2138 _ | IFS | as_nl) ;; #( 2139 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2140 *) { eval $ac_var=; unset $ac_var;} ;; 2141 esac ;; 2142 esac 2143 done 2144 (set) 2>&1 | 2145 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2146 *${as_nl}ac_space=\ *) 2147 sed -n \ 2148 "s/'\''/'\''\\\\'\'''\''/g; 2149 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2150 ;; #( 2151 *) 2152 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2153 ;; 2154 esac | 2155 sort 2156) 2157 echo 2158 2159 cat <<\_ASBOX 2160## ----------------- ## 2161## Output variables. ## 2162## ----------------- ## 2163_ASBOX 2164 echo 2165 for ac_var in $ac_subst_vars 2166 do 2167 eval ac_val=\$$ac_var 2168 case $ac_val in 2169 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2170 esac 2171 $as_echo "$ac_var='\''$ac_val'\''" 2172 done | sort 2173 echo 2174 2175 if test -n "$ac_subst_files"; then 2176 cat <<\_ASBOX 2177## ------------------- ## 2178## File substitutions. ## 2179## ------------------- ## 2180_ASBOX 2181 echo 2182 for ac_var in $ac_subst_files 2183 do 2184 eval ac_val=\$$ac_var 2185 case $ac_val in 2186 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2187 esac 2188 $as_echo "$ac_var='\''$ac_val'\''" 2189 done | sort 2190 echo 2191 fi 2192 2193 if test -s confdefs.h; then 2194 cat <<\_ASBOX 2195## ----------- ## 2196## confdefs.h. ## 2197## ----------- ## 2198_ASBOX 2199 echo 2200 cat confdefs.h 2201 echo 2202 fi 2203 test "$ac_signal" != 0 && 2204 $as_echo "$as_me: caught signal $ac_signal" 2205 $as_echo "$as_me: exit $exit_status" 2206 } >&5 2207 rm -f core *.core core.conftest.* && 2208 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2209 exit $exit_status 2210' 0 2211for ac_signal in 1 2 13 15; do 2212 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2213done 2214ac_signal=0 2215 2216# confdefs.h avoids OS command line length limits that DEFS can exceed. 2217rm -f -r conftest* confdefs.h 2218 2219$as_echo "/* confdefs.h */" > confdefs.h 2220 2221# Predefined preprocessor variables. 2222 2223cat >>confdefs.h <<_ACEOF 2224#define PACKAGE_NAME "$PACKAGE_NAME" 2225_ACEOF 2226 2227cat >>confdefs.h <<_ACEOF 2228#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2229_ACEOF 2230 2231cat >>confdefs.h <<_ACEOF 2232#define PACKAGE_VERSION "$PACKAGE_VERSION" 2233_ACEOF 2234 2235cat >>confdefs.h <<_ACEOF 2236#define PACKAGE_STRING "$PACKAGE_STRING" 2237_ACEOF 2238 2239cat >>confdefs.h <<_ACEOF 2240#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2241_ACEOF 2242 2243cat >>confdefs.h <<_ACEOF 2244#define PACKAGE_URL "$PACKAGE_URL" 2245_ACEOF 2246 2247 2248# Let the site file select an alternate cache file if it wants to. 2249# Prefer an explicitly selected file to automatically selected ones. 2250ac_site_file1=NONE 2251ac_site_file2=NONE 2252if test -n "$CONFIG_SITE"; then 2253 ac_site_file1=$CONFIG_SITE 2254elif test "x$prefix" != xNONE; then 2255 ac_site_file1=$prefix/share/config.site 2256 ac_site_file2=$prefix/etc/config.site 2257else 2258 ac_site_file1=$ac_default_prefix/share/config.site 2259 ac_site_file2=$ac_default_prefix/etc/config.site 2260fi 2261for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2262do 2263 test "x$ac_site_file" = xNONE && continue 2264 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2265 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2266$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2267 sed 's/^/| /' "$ac_site_file" >&5 2268 . "$ac_site_file" 2269 fi 2270done 2271 2272if test -r "$cache_file"; then 2273 # Some versions of bash will fail to source /dev/null (special files 2274 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2275 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2276 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2277$as_echo "$as_me: loading cache $cache_file" >&6;} 2278 case $cache_file in 2279 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2280 *) . "./$cache_file";; 2281 esac 2282 fi 2283else 2284 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2285$as_echo "$as_me: creating cache $cache_file" >&6;} 2286 >$cache_file 2287fi 2288 2289# Check that the precious variables saved in the cache have kept the same 2290# value. 2291ac_cache_corrupted=false 2292for ac_var in $ac_precious_vars; do 2293 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2294 eval ac_new_set=\$ac_env_${ac_var}_set 2295 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2296 eval ac_new_val=\$ac_env_${ac_var}_value 2297 case $ac_old_set,$ac_new_set in 2298 set,) 2299 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2300$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2301 ac_cache_corrupted=: ;; 2302 ,set) 2303 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2304$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2305 ac_cache_corrupted=: ;; 2306 ,);; 2307 *) 2308 if test "x$ac_old_val" != "x$ac_new_val"; then 2309 # differences in whitespace do not lead to failure. 2310 ac_old_val_w=`echo x $ac_old_val` 2311 ac_new_val_w=`echo x $ac_new_val` 2312 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2313 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2314$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2315 ac_cache_corrupted=: 2316 else 2317 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2318$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2319 eval $ac_var=\$ac_old_val 2320 fi 2321 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2322$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2323 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2324$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2325 fi;; 2326 esac 2327 # Pass precious variables to config.status. 2328 if test "$ac_new_set" = set; then 2329 case $ac_new_val in 2330 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2331 *) ac_arg=$ac_var=$ac_new_val ;; 2332 esac 2333 case " $ac_configure_args " in 2334 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2335 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2336 esac 2337 fi 2338done 2339if $ac_cache_corrupted; then 2340 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2341$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2342 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2343$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2344 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2345fi 2346## -------------------- ## 2347## Main body of script. ## 2348## -------------------- ## 2349 2350ac_ext=c 2351ac_cpp='$CPP $CPPFLAGS' 2352ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2353ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2354ac_compiler_gnu=$ac_cv_c_compiler_gnu 2355 2356 2357 2358 2359 2360 2361 2362ac_aux_dir= 2363for ac_dir in . "$srcdir"/.; do 2364 for ac_t in install-sh install.sh shtool; do 2365 if test -f "$ac_dir/$ac_t"; then 2366 ac_aux_dir=$ac_dir 2367 ac_install_sh="$ac_aux_dir/$ac_t -c" 2368 break 2 2369 fi 2370 done 2371done 2372if test -z "$ac_aux_dir"; then 2373 as_fn_error "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5 2374fi 2375 2376# These three variables are undocumented and unsupported, 2377# and are intended to be withdrawn in a future Autoconf release. 2378# They can cause serious problems if a builder's source tree is in a directory 2379# whose full name contains unusual characters. 2380ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2381ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2382ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2383 2384 2385ac_config_headers="$ac_config_headers config.h" 2386 2387am__api_version='1.11' 2388 2389# Find a good install program. We prefer a C program (faster), 2390# so one script is as good as another. But avoid the broken or 2391# incompatible versions: 2392# SysV /etc/install, /usr/sbin/install 2393# SunOS /usr/etc/install 2394# IRIX /sbin/install 2395# AIX /bin/install 2396# AmigaOS /C/install, which installs bootblocks on floppy discs 2397# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2398# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2399# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2400# OS/2's system install, which has a completely different semantic 2401# ./install, which can be erroneously created by make from ./install.sh. 2402# Reject install programs that cannot install multiple files. 2403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2404$as_echo_n "checking for a BSD-compatible install... " >&6; } 2405if test -z "$INSTALL"; then 2406if test "${ac_cv_path_install+set}" = set; then : 2407 $as_echo_n "(cached) " >&6 2408else 2409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2410for as_dir in $PATH 2411do 2412 IFS=$as_save_IFS 2413 test -z "$as_dir" && as_dir=. 2414 # Account for people who put trailing slashes in PATH elements. 2415case $as_dir/ in #(( 2416 ./ | .// | /[cC]/* | \ 2417 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2418 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2419 /usr/ucb/* ) ;; 2420 *) 2421 # OSF1 and SCO ODT 3.0 have their own names for install. 2422 # Don't use installbsd from OSF since it installs stuff as root 2423 # by default. 2424 for ac_prog in ginstall scoinst install; do 2425 for ac_exec_ext in '' $ac_executable_extensions; do 2426 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2427 if test $ac_prog = install && 2428 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2429 # AIX install. It has an incompatible calling convention. 2430 : 2431 elif test $ac_prog = install && 2432 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2433 # program-specific install script used by HP pwplus--don't use. 2434 : 2435 else 2436 rm -rf conftest.one conftest.two conftest.dir 2437 echo one > conftest.one 2438 echo two > conftest.two 2439 mkdir conftest.dir 2440 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2441 test -s conftest.one && test -s conftest.two && 2442 test -s conftest.dir/conftest.one && 2443 test -s conftest.dir/conftest.two 2444 then 2445 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2446 break 3 2447 fi 2448 fi 2449 fi 2450 done 2451 done 2452 ;; 2453esac 2454 2455 done 2456IFS=$as_save_IFS 2457 2458rm -rf conftest.one conftest.two conftest.dir 2459 2460fi 2461 if test "${ac_cv_path_install+set}" = set; then 2462 INSTALL=$ac_cv_path_install 2463 else 2464 # As a last resort, use the slow shell script. Don't cache a 2465 # value for INSTALL within a source directory, because that will 2466 # break other packages using the cache if that directory is 2467 # removed, or if the value is a relative name. 2468 INSTALL=$ac_install_sh 2469 fi 2470fi 2471{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2472$as_echo "$INSTALL" >&6; } 2473 2474# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2475# It thinks the first close brace ends the variable substitution. 2476test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2477 2478test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2479 2480test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2481 2482{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2483$as_echo_n "checking whether build environment is sane... " >&6; } 2484# Just in case 2485sleep 1 2486echo timestamp > conftest.file 2487# Reject unsafe characters in $srcdir or the absolute working directory 2488# name. Accept space and tab only in the latter. 2489am_lf=' 2490' 2491case `pwd` in 2492 *[\\\"\#\$\&\'\`$am_lf]*) 2493 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; 2494esac 2495case $srcdir in 2496 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2497 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2498esac 2499 2500# Do `set' in a subshell so we don't clobber the current shell's 2501# arguments. Must try -L first in case configure is actually a 2502# symlink; some systems play weird games with the mod time of symlinks 2503# (eg FreeBSD returns the mod time of the symlink's containing 2504# directory). 2505if ( 2506 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2507 if test "$*" = "X"; then 2508 # -L didn't work. 2509 set X `ls -t "$srcdir/configure" conftest.file` 2510 fi 2511 rm -f conftest.file 2512 if test "$*" != "X $srcdir/configure conftest.file" \ 2513 && test "$*" != "X conftest.file $srcdir/configure"; then 2514 2515 # If neither matched, then we have a broken ls. This can happen 2516 # if, for instance, CONFIG_SHELL is bash and it inherits a 2517 # broken ls alias from the environment. This has actually 2518 # happened. Such a system could not be considered "sane". 2519 as_fn_error "ls -t appears to fail. Make sure there is not a broken 2520alias in your environment" "$LINENO" 5 2521 fi 2522 2523 test "$2" = conftest.file 2524 ) 2525then 2526 # Ok. 2527 : 2528else 2529 as_fn_error "newly created file is older than distributed files! 2530Check your system clock" "$LINENO" 5 2531fi 2532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2533$as_echo "yes" >&6; } 2534test "$program_prefix" != NONE && 2535 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2536# Use a double $ so make ignores it. 2537test "$program_suffix" != NONE && 2538 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2539# Double any \ or $. 2540# By default was `s,x,x', remove it if useless. 2541ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2542program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2543 2544# expand $ac_aux_dir to an absolute path 2545am_aux_dir=`cd $ac_aux_dir && pwd` 2546 2547if test x"${MISSING+set}" != xset; then 2548 case $am_aux_dir in 2549 *\ * | *\ *) 2550 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2551 *) 2552 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2553 esac 2554fi 2555# Use eval to expand $SHELL 2556if eval "$MISSING --run true"; then 2557 am_missing_run="$MISSING --run " 2558else 2559 am_missing_run= 2560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2561$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2562fi 2563 2564if test x"${install_sh}" != xset; then 2565 case $am_aux_dir in 2566 *\ * | *\ *) 2567 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2568 *) 2569 install_sh="\${SHELL} $am_aux_dir/install-sh" 2570 esac 2571fi 2572 2573# Installed binaries are usually stripped using `strip' when the user 2574# run `make install-strip'. However `strip' might not be the right 2575# tool to use in cross-compilation environments, therefore Automake 2576# will honor the `STRIP' environment variable to overrule this program. 2577if test "$cross_compiling" != no; then 2578 if test -n "$ac_tool_prefix"; then 2579 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2580set dummy ${ac_tool_prefix}strip; ac_word=$2 2581{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2582$as_echo_n "checking for $ac_word... " >&6; } 2583if test "${ac_cv_prog_STRIP+set}" = set; then : 2584 $as_echo_n "(cached) " >&6 2585else 2586 if test -n "$STRIP"; then 2587 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2588else 2589as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2590for as_dir in $PATH 2591do 2592 IFS=$as_save_IFS 2593 test -z "$as_dir" && as_dir=. 2594 for ac_exec_ext in '' $ac_executable_extensions; do 2595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2596 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2598 break 2 2599 fi 2600done 2601 done 2602IFS=$as_save_IFS 2603 2604fi 2605fi 2606STRIP=$ac_cv_prog_STRIP 2607if test -n "$STRIP"; then 2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2609$as_echo "$STRIP" >&6; } 2610else 2611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2612$as_echo "no" >&6; } 2613fi 2614 2615 2616fi 2617if test -z "$ac_cv_prog_STRIP"; then 2618 ac_ct_STRIP=$STRIP 2619 # Extract the first word of "strip", so it can be a program name with args. 2620set dummy strip; ac_word=$2 2621{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2622$as_echo_n "checking for $ac_word... " >&6; } 2623if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 2624 $as_echo_n "(cached) " >&6 2625else 2626 if test -n "$ac_ct_STRIP"; then 2627 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2628else 2629as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2630for as_dir in $PATH 2631do 2632 IFS=$as_save_IFS 2633 test -z "$as_dir" && as_dir=. 2634 for ac_exec_ext in '' $ac_executable_extensions; do 2635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2636 ac_cv_prog_ac_ct_STRIP="strip" 2637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2638 break 2 2639 fi 2640done 2641 done 2642IFS=$as_save_IFS 2643 2644fi 2645fi 2646ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2647if test -n "$ac_ct_STRIP"; then 2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2649$as_echo "$ac_ct_STRIP" >&6; } 2650else 2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2652$as_echo "no" >&6; } 2653fi 2654 2655 if test "x$ac_ct_STRIP" = x; then 2656 STRIP=":" 2657 else 2658 case $cross_compiling:$ac_tool_warned in 2659yes:) 2660{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2661$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2662ac_tool_warned=yes ;; 2663esac 2664 STRIP=$ac_ct_STRIP 2665 fi 2666else 2667 STRIP="$ac_cv_prog_STRIP" 2668fi 2669 2670fi 2671INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2672 2673{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2674$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2675if test -z "$MKDIR_P"; then 2676 if test "${ac_cv_path_mkdir+set}" = set; then : 2677 $as_echo_n "(cached) " >&6 2678else 2679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2680for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2681do 2682 IFS=$as_save_IFS 2683 test -z "$as_dir" && as_dir=. 2684 for ac_prog in mkdir gmkdir; do 2685 for ac_exec_ext in '' $ac_executable_extensions; do 2686 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2687 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2688 'mkdir (GNU coreutils) '* | \ 2689 'mkdir (coreutils) '* | \ 2690 'mkdir (fileutils) '4.1*) 2691 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2692 break 3;; 2693 esac 2694 done 2695 done 2696 done 2697IFS=$as_save_IFS 2698 2699fi 2700 2701 test -d ./--version && rmdir ./--version 2702 if test "${ac_cv_path_mkdir+set}" = set; then 2703 MKDIR_P="$ac_cv_path_mkdir -p" 2704 else 2705 # As a last resort, use the slow shell script. Don't cache a 2706 # value for MKDIR_P within a source directory, because that will 2707 # break other packages using the cache if that directory is 2708 # removed, or if the value is a relative name. 2709 MKDIR_P="$ac_install_sh -d" 2710 fi 2711fi 2712{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2713$as_echo "$MKDIR_P" >&6; } 2714 2715mkdir_p="$MKDIR_P" 2716case $mkdir_p in 2717 [\\/$]* | ?:[\\/]*) ;; 2718 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2719esac 2720 2721for ac_prog in gawk mawk nawk awk 2722do 2723 # Extract the first word of "$ac_prog", so it can be a program name with args. 2724set dummy $ac_prog; ac_word=$2 2725{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2726$as_echo_n "checking for $ac_word... " >&6; } 2727if test "${ac_cv_prog_AWK+set}" = set; then : 2728 $as_echo_n "(cached) " >&6 2729else 2730 if test -n "$AWK"; then 2731 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2732else 2733as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2734for as_dir in $PATH 2735do 2736 IFS=$as_save_IFS 2737 test -z "$as_dir" && as_dir=. 2738 for ac_exec_ext in '' $ac_executable_extensions; do 2739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2740 ac_cv_prog_AWK="$ac_prog" 2741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2742 break 2 2743 fi 2744done 2745 done 2746IFS=$as_save_IFS 2747 2748fi 2749fi 2750AWK=$ac_cv_prog_AWK 2751if test -n "$AWK"; then 2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2753$as_echo "$AWK" >&6; } 2754else 2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2756$as_echo "no" >&6; } 2757fi 2758 2759 2760 test -n "$AWK" && break 2761done 2762 2763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2764$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2765set x ${MAKE-make} 2766ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2767if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 2768 $as_echo_n "(cached) " >&6 2769else 2770 cat >conftest.make <<\_ACEOF 2771SHELL = /bin/sh 2772all: 2773 @echo '@@@%%%=$(MAKE)=@@@%%%' 2774_ACEOF 2775# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2776case `${MAKE-make} -f conftest.make 2>/dev/null` in 2777 *@@@%%%=?*=@@@%%%*) 2778 eval ac_cv_prog_make_${ac_make}_set=yes;; 2779 *) 2780 eval ac_cv_prog_make_${ac_make}_set=no;; 2781esac 2782rm -f conftest.make 2783fi 2784if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2786$as_echo "yes" >&6; } 2787 SET_MAKE= 2788else 2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2790$as_echo "no" >&6; } 2791 SET_MAKE="MAKE=${MAKE-make}" 2792fi 2793 2794rm -rf .tst 2>/dev/null 2795mkdir .tst 2>/dev/null 2796if test -d .tst; then 2797 am__leading_dot=. 2798else 2799 am__leading_dot=_ 2800fi 2801rmdir .tst 2>/dev/null 2802 2803if test "`cd $srcdir && pwd`" != "`pwd`"; then 2804 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2805 # is not polluted with repeated "-I." 2806 am__isrc=' -I$(srcdir)' 2807 # test to see if srcdir already configured 2808 if test -f $srcdir/config.status; then 2809 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2810 fi 2811fi 2812 2813# test whether we have cygpath 2814if test -z "$CYGPATH_W"; then 2815 if (cygpath --version) >/dev/null 2>/dev/null; then 2816 CYGPATH_W='cygpath -w' 2817 else 2818 CYGPATH_W=echo 2819 fi 2820fi 2821 2822 2823# Define the identity of the package. 2824 PACKAGE='gmpc-mdcover' 2825 VERSION='0.20.0' 2826 2827 2828cat >>confdefs.h <<_ACEOF 2829#define PACKAGE "$PACKAGE" 2830_ACEOF 2831 2832 2833cat >>confdefs.h <<_ACEOF 2834#define VERSION "$VERSION" 2835_ACEOF 2836 2837# Some tools Automake needs. 2838 2839ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2840 2841 2842AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2843 2844 2845AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2846 2847 2848AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2849 2850 2851MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2852 2853# We need awk for the "check" target. The system "awk" is bad on 2854# some platforms. 2855# Always define AMTAR for backward compatibility. 2856 2857AMTAR=${AMTAR-"${am_missing_run}tar"} 2858 2859am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2860 2861 2862 2863 2864 2865 2866 2867$as_echo "#define PLUGIN_MAJOR_VERSION 0" >>confdefs.h 2868 2869 2870$as_echo "#define PLUGIN_MINOR_VERSION 20" >>confdefs.h 2871 2872 2873$as_echo "#define PLUGIN_MICRO_VERSION 0" >>confdefs.h 2874 2875 2876#intltool, libtool. Check for CC compiler 2877 2878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 2879$as_echo_n "checking whether NLS is requested... " >&6; } 2880 # Check whether --enable-nls was given. 2881if test "${enable_nls+set}" = set; then : 2882 enableval=$enable_nls; USE_NLS=$enableval 2883else 2884 USE_NLS=yes 2885fi 2886 2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 2888$as_echo "$USE_NLS" >&6; } 2889 2890 2891DEPDIR="${am__leading_dot}deps" 2892 2893ac_config_commands="$ac_config_commands depfiles" 2894 2895 2896am_make=${MAKE-make} 2897cat > confinc << 'END' 2898am__doit: 2899 @echo this is the am__doit target 2900.PHONY: am__doit 2901END 2902# If we don't find an include directive, just comment out the code. 2903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 2904$as_echo_n "checking for style of include used by $am_make... " >&6; } 2905am__include="#" 2906am__quote= 2907_am_result=none 2908# First try GNU make style include. 2909echo "include confinc" > confmf 2910# Ignore all kinds of additional output from `make'. 2911case `$am_make -s -f confmf 2> /dev/null` in #( 2912*the\ am__doit\ target*) 2913 am__include=include 2914 am__quote= 2915 _am_result=GNU 2916 ;; 2917esac 2918# Now try BSD make style include. 2919if test "$am__include" = "#"; then 2920 echo '.include "confinc"' > confmf 2921 case `$am_make -s -f confmf 2> /dev/null` in #( 2922 *the\ am__doit\ target*) 2923 am__include=.include 2924 am__quote="\"" 2925 _am_result=BSD 2926 ;; 2927 esac 2928fi 2929 2930 2931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 2932$as_echo "$_am_result" >&6; } 2933rm -f confinc confmf 2934 2935# Check whether --enable-dependency-tracking was given. 2936if test "${enable_dependency_tracking+set}" = set; then : 2937 enableval=$enable_dependency_tracking; 2938fi 2939 2940if test "x$enable_dependency_tracking" != xno; then 2941 am_depcomp="$ac_aux_dir/depcomp" 2942 AMDEPBACKSLASH='\' 2943fi 2944 if test "x$enable_dependency_tracking" != xno; then 2945 AMDEP_TRUE= 2946 AMDEP_FALSE='#' 2947else 2948 AMDEP_TRUE='#' 2949 AMDEP_FALSE= 2950fi 2951 2952 2953ac_ext=c 2954ac_cpp='$CPP $CPPFLAGS' 2955ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2956ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2957ac_compiler_gnu=$ac_cv_c_compiler_gnu 2958if test -n "$ac_tool_prefix"; then 2959 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2960set dummy ${ac_tool_prefix}gcc; ac_word=$2 2961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2962$as_echo_n "checking for $ac_word... " >&6; } 2963if test "${ac_cv_prog_CC+set}" = set; then : 2964 $as_echo_n "(cached) " >&6 2965else 2966 if test -n "$CC"; then 2967 ac_cv_prog_CC="$CC" # Let the user override the test. 2968else 2969as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2970for as_dir in $PATH 2971do 2972 IFS=$as_save_IFS 2973 test -z "$as_dir" && as_dir=. 2974 for ac_exec_ext in '' $ac_executable_extensions; do 2975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2976 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2978 break 2 2979 fi 2980done 2981 done 2982IFS=$as_save_IFS 2983 2984fi 2985fi 2986CC=$ac_cv_prog_CC 2987if test -n "$CC"; then 2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2989$as_echo "$CC" >&6; } 2990else 2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2992$as_echo "no" >&6; } 2993fi 2994 2995 2996fi 2997if test -z "$ac_cv_prog_CC"; then 2998 ac_ct_CC=$CC 2999 # Extract the first word of "gcc", so it can be a program name with args. 3000set dummy gcc; ac_word=$2 3001{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3002$as_echo_n "checking for $ac_word... " >&6; } 3003if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3004 $as_echo_n "(cached) " >&6 3005else 3006 if test -n "$ac_ct_CC"; then 3007 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3008else 3009as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3010for as_dir in $PATH 3011do 3012 IFS=$as_save_IFS 3013 test -z "$as_dir" && as_dir=. 3014 for ac_exec_ext in '' $ac_executable_extensions; do 3015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3016 ac_cv_prog_ac_ct_CC="gcc" 3017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3018 break 2 3019 fi 3020done 3021 done 3022IFS=$as_save_IFS 3023 3024fi 3025fi 3026ac_ct_CC=$ac_cv_prog_ac_ct_CC 3027if test -n "$ac_ct_CC"; then 3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3029$as_echo "$ac_ct_CC" >&6; } 3030else 3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3032$as_echo "no" >&6; } 3033fi 3034 3035 if test "x$ac_ct_CC" = x; then 3036 CC="" 3037 else 3038 case $cross_compiling:$ac_tool_warned in 3039yes:) 3040{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3041$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3042ac_tool_warned=yes ;; 3043esac 3044 CC=$ac_ct_CC 3045 fi 3046else 3047 CC="$ac_cv_prog_CC" 3048fi 3049 3050if test -z "$CC"; then 3051 if test -n "$ac_tool_prefix"; then 3052 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3053set dummy ${ac_tool_prefix}cc; ac_word=$2 3054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3055$as_echo_n "checking for $ac_word... " >&6; } 3056if test "${ac_cv_prog_CC+set}" = set; then : 3057 $as_echo_n "(cached) " >&6 3058else 3059 if test -n "$CC"; then 3060 ac_cv_prog_CC="$CC" # Let the user override the test. 3061else 3062as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3063for as_dir in $PATH 3064do 3065 IFS=$as_save_IFS 3066 test -z "$as_dir" && as_dir=. 3067 for ac_exec_ext in '' $ac_executable_extensions; do 3068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3069 ac_cv_prog_CC="${ac_tool_prefix}cc" 3070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3071 break 2 3072 fi 3073done 3074 done 3075IFS=$as_save_IFS 3076 3077fi 3078fi 3079CC=$ac_cv_prog_CC 3080if test -n "$CC"; then 3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3082$as_echo "$CC" >&6; } 3083else 3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3085$as_echo "no" >&6; } 3086fi 3087 3088 3089 fi 3090fi 3091if test -z "$CC"; then 3092 # Extract the first word of "cc", so it can be a program name with args. 3093set dummy cc; ac_word=$2 3094{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3095$as_echo_n "checking for $ac_word... " >&6; } 3096if test "${ac_cv_prog_CC+set}" = set; then : 3097 $as_echo_n "(cached) " >&6 3098else 3099 if test -n "$CC"; then 3100 ac_cv_prog_CC="$CC" # Let the user override the test. 3101else 3102 ac_prog_rejected=no 3103as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3104for as_dir in $PATH 3105do 3106 IFS=$as_save_IFS 3107 test -z "$as_dir" && as_dir=. 3108 for ac_exec_ext in '' $ac_executable_extensions; do 3109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3110 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3111 ac_prog_rejected=yes 3112 continue 3113 fi 3114 ac_cv_prog_CC="cc" 3115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3116 break 2 3117 fi 3118done 3119 done 3120IFS=$as_save_IFS 3121 3122if test $ac_prog_rejected = yes; then 3123 # We found a bogon in the path, so make sure we never use it. 3124 set dummy $ac_cv_prog_CC 3125 shift 3126 if test $# != 0; then 3127 # We chose a different compiler from the bogus one. 3128 # However, it has the same basename, so the bogon will be chosen 3129 # first if we set CC to just the basename; use the full file name. 3130 shift 3131 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3132 fi 3133fi 3134fi 3135fi 3136CC=$ac_cv_prog_CC 3137if test -n "$CC"; then 3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3139$as_echo "$CC" >&6; } 3140else 3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3142$as_echo "no" >&6; } 3143fi 3144 3145 3146fi 3147if test -z "$CC"; then 3148 if test -n "$ac_tool_prefix"; then 3149 for ac_prog in cl.exe 3150 do 3151 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3152set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3153{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3154$as_echo_n "checking for $ac_word... " >&6; } 3155if test "${ac_cv_prog_CC+set}" = set; then : 3156 $as_echo_n "(cached) " >&6 3157else 3158 if test -n "$CC"; then 3159 ac_cv_prog_CC="$CC" # Let the user override the test. 3160else 3161as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3162for as_dir in $PATH 3163do 3164 IFS=$as_save_IFS 3165 test -z "$as_dir" && as_dir=. 3166 for ac_exec_ext in '' $ac_executable_extensions; do 3167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3168 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3170 break 2 3171 fi 3172done 3173 done 3174IFS=$as_save_IFS 3175 3176fi 3177fi 3178CC=$ac_cv_prog_CC 3179if test -n "$CC"; then 3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3181$as_echo "$CC" >&6; } 3182else 3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3184$as_echo "no" >&6; } 3185fi 3186 3187 3188 test -n "$CC" && break 3189 done 3190fi 3191if test -z "$CC"; then 3192 ac_ct_CC=$CC 3193 for ac_prog in cl.exe 3194do 3195 # Extract the first word of "$ac_prog", so it can be a program name with args. 3196set dummy $ac_prog; ac_word=$2 3197{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3198$as_echo_n "checking for $ac_word... " >&6; } 3199if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3200 $as_echo_n "(cached) " >&6 3201else 3202 if test -n "$ac_ct_CC"; then 3203 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3204else 3205as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3206for as_dir in $PATH 3207do 3208 IFS=$as_save_IFS 3209 test -z "$as_dir" && as_dir=. 3210 for ac_exec_ext in '' $ac_executable_extensions; do 3211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3212 ac_cv_prog_ac_ct_CC="$ac_prog" 3213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3214 break 2 3215 fi 3216done 3217 done 3218IFS=$as_save_IFS 3219 3220fi 3221fi 3222ac_ct_CC=$ac_cv_prog_ac_ct_CC 3223if test -n "$ac_ct_CC"; then 3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3225$as_echo "$ac_ct_CC" >&6; } 3226else 3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3228$as_echo "no" >&6; } 3229fi 3230 3231 3232 test -n "$ac_ct_CC" && break 3233done 3234 3235 if test "x$ac_ct_CC" = x; then 3236 CC="" 3237 else 3238 case $cross_compiling:$ac_tool_warned in 3239yes:) 3240{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3241$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3242ac_tool_warned=yes ;; 3243esac 3244 CC=$ac_ct_CC 3245 fi 3246fi 3247 3248fi 3249 3250 3251test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3252$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3253as_fn_error "no acceptable C compiler found in \$PATH 3254See \`config.log' for more details." "$LINENO" 5; } 3255 3256# Provide some information about the compiler. 3257$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3258set X $ac_compile 3259ac_compiler=$2 3260for ac_option in --version -v -V -qversion; do 3261 { { ac_try="$ac_compiler $ac_option >&5" 3262case "(($ac_try" in 3263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3264 *) ac_try_echo=$ac_try;; 3265esac 3266eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3267$as_echo "$ac_try_echo"; } >&5 3268 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3269 ac_status=$? 3270 if test -s conftest.err; then 3271 sed '10a\ 3272... rest of stderr output deleted ... 3273 10q' conftest.err >conftest.er1 3274 cat conftest.er1 >&5 3275 fi 3276 rm -f conftest.er1 conftest.err 3277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3278 test $ac_status = 0; } 3279done 3280 3281cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3282/* end confdefs.h. */ 3283 3284int 3285main () 3286{ 3287 3288 ; 3289 return 0; 3290} 3291_ACEOF 3292ac_clean_files_save=$ac_clean_files 3293ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3294# Try to create an executable without -o first, disregard a.out. 3295# It will help us diagnose broken compilers, and finding out an intuition 3296# of exeext. 3297{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3298$as_echo_n "checking whether the C compiler works... " >&6; } 3299ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3300 3301# The possible output files: 3302ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3303 3304ac_rmfiles= 3305for ac_file in $ac_files 3306do 3307 case $ac_file in 3308 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3309 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3310 esac 3311done 3312rm -f $ac_rmfiles 3313 3314if { { ac_try="$ac_link_default" 3315case "(($ac_try" in 3316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3317 *) ac_try_echo=$ac_try;; 3318esac 3319eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3320$as_echo "$ac_try_echo"; } >&5 3321 (eval "$ac_link_default") 2>&5 3322 ac_status=$? 3323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3324 test $ac_status = 0; }; then : 3325 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3326# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3327# in a Makefile. We should not override ac_cv_exeext if it was cached, 3328# so that the user can short-circuit this test for compilers unknown to 3329# Autoconf. 3330for ac_file in $ac_files '' 3331do 3332 test -f "$ac_file" || continue 3333 case $ac_file in 3334 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3335 ;; 3336 [ab].out ) 3337 # We found the default executable, but exeext='' is most 3338 # certainly right. 3339 break;; 3340 *.* ) 3341 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3342 then :; else 3343 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3344 fi 3345 # We set ac_cv_exeext here because the later test for it is not 3346 # safe: cross compilers may not add the suffix if given an `-o' 3347 # argument, so we may need to know it at that point already. 3348 # Even if this section looks crufty: it has the advantage of 3349 # actually working. 3350 break;; 3351 * ) 3352 break;; 3353 esac 3354done 3355test "$ac_cv_exeext" = no && ac_cv_exeext= 3356 3357else 3358 ac_file='' 3359fi 3360if test -z "$ac_file"; then : 3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3362$as_echo "no" >&6; } 3363$as_echo "$as_me: failed program was:" >&5 3364sed 's/^/| /' conftest.$ac_ext >&5 3365 3366{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3367$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3368{ as_fn_set_status 77 3369as_fn_error "C compiler cannot create executables 3370See \`config.log' for more details." "$LINENO" 5; }; } 3371else 3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3373$as_echo "yes" >&6; } 3374fi 3375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3376$as_echo_n "checking for C compiler default output file name... " >&6; } 3377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3378$as_echo "$ac_file" >&6; } 3379ac_exeext=$ac_cv_exeext 3380 3381rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3382ac_clean_files=$ac_clean_files_save 3383{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3384$as_echo_n "checking for suffix of executables... " >&6; } 3385if { { ac_try="$ac_link" 3386case "(($ac_try" in 3387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3388 *) ac_try_echo=$ac_try;; 3389esac 3390eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3391$as_echo "$ac_try_echo"; } >&5 3392 (eval "$ac_link") 2>&5 3393 ac_status=$? 3394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3395 test $ac_status = 0; }; then : 3396 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3397# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3398# work properly (i.e., refer to `conftest.exe'), while it won't with 3399# `rm'. 3400for ac_file in conftest.exe conftest conftest.*; do 3401 test -f "$ac_file" || continue 3402 case $ac_file in 3403 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3404 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3405 break;; 3406 * ) break;; 3407 esac 3408done 3409else 3410 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3411$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3412as_fn_error "cannot compute suffix of executables: cannot compile and link 3413See \`config.log' for more details." "$LINENO" 5; } 3414fi 3415rm -f conftest conftest$ac_cv_exeext 3416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3417$as_echo "$ac_cv_exeext" >&6; } 3418 3419rm -f conftest.$ac_ext 3420EXEEXT=$ac_cv_exeext 3421ac_exeext=$EXEEXT 3422cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3423/* end confdefs.h. */ 3424#include <stdio.h> 3425int 3426main () 3427{ 3428FILE *f = fopen ("conftest.out", "w"); 3429 return ferror (f) || fclose (f) != 0; 3430 3431 ; 3432 return 0; 3433} 3434_ACEOF 3435ac_clean_files="$ac_clean_files conftest.out" 3436# Check that the compiler produces executables we can run. If not, either 3437# the compiler is broken, or we cross compile. 3438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3439$as_echo_n "checking whether we are cross compiling... " >&6; } 3440if test "$cross_compiling" != yes; then 3441 { { ac_try="$ac_link" 3442case "(($ac_try" in 3443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3444 *) ac_try_echo=$ac_try;; 3445esac 3446eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3447$as_echo "$ac_try_echo"; } >&5 3448 (eval "$ac_link") 2>&5 3449 ac_status=$? 3450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3451 test $ac_status = 0; } 3452 if { ac_try='./conftest$ac_cv_exeext' 3453 { { case "(($ac_try" in 3454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3455 *) ac_try_echo=$ac_try;; 3456esac 3457eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3458$as_echo "$ac_try_echo"; } >&5 3459 (eval "$ac_try") 2>&5 3460 ac_status=$? 3461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3462 test $ac_status = 0; }; }; then 3463 cross_compiling=no 3464 else 3465 if test "$cross_compiling" = maybe; then 3466 cross_compiling=yes 3467 else 3468 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3469$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3470as_fn_error "cannot run C compiled programs. 3471If you meant to cross compile, use \`--host'. 3472See \`config.log' for more details." "$LINENO" 5; } 3473 fi 3474 fi 3475fi 3476{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3477$as_echo "$cross_compiling" >&6; } 3478 3479rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3480ac_clean_files=$ac_clean_files_save 3481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3482$as_echo_n "checking for suffix of object files... " >&6; } 3483if test "${ac_cv_objext+set}" = set; then : 3484 $as_echo_n "(cached) " >&6 3485else 3486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3487/* end confdefs.h. */ 3488 3489int 3490main () 3491{ 3492 3493 ; 3494 return 0; 3495} 3496_ACEOF 3497rm -f conftest.o conftest.obj 3498if { { ac_try="$ac_compile" 3499case "(($ac_try" in 3500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3501 *) ac_try_echo=$ac_try;; 3502esac 3503eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3504$as_echo "$ac_try_echo"; } >&5 3505 (eval "$ac_compile") 2>&5 3506 ac_status=$? 3507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3508 test $ac_status = 0; }; then : 3509 for ac_file in conftest.o conftest.obj conftest.*; do 3510 test -f "$ac_file" || continue; 3511 case $ac_file in 3512 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3513 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3514 break;; 3515 esac 3516done 3517else 3518 $as_echo "$as_me: failed program was:" >&5 3519sed 's/^/| /' conftest.$ac_ext >&5 3520 3521{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3522$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3523as_fn_error "cannot compute suffix of object files: cannot compile 3524See \`config.log' for more details." "$LINENO" 5; } 3525fi 3526rm -f conftest.$ac_cv_objext conftest.$ac_ext 3527fi 3528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3529$as_echo "$ac_cv_objext" >&6; } 3530OBJEXT=$ac_cv_objext 3531ac_objext=$OBJEXT 3532{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3533$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3534if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3535 $as_echo_n "(cached) " >&6 3536else 3537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3538/* end confdefs.h. */ 3539 3540int 3541main () 3542{ 3543#ifndef __GNUC__ 3544 choke me 3545#endif 3546 3547 ; 3548 return 0; 3549} 3550_ACEOF 3551if ac_fn_c_try_compile "$LINENO"; then : 3552 ac_compiler_gnu=yes 3553else 3554 ac_compiler_gnu=no 3555fi 3556rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3557ac_cv_c_compiler_gnu=$ac_compiler_gnu 3558 3559fi 3560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3561$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3562if test $ac_compiler_gnu = yes; then 3563 GCC=yes 3564else 3565 GCC= 3566fi 3567ac_test_CFLAGS=${CFLAGS+set} 3568ac_save_CFLAGS=$CFLAGS 3569{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3570$as_echo_n "checking whether $CC accepts -g... " >&6; } 3571if test "${ac_cv_prog_cc_g+set}" = set; then : 3572 $as_echo_n "(cached) " >&6 3573else 3574 ac_save_c_werror_flag=$ac_c_werror_flag 3575 ac_c_werror_flag=yes 3576 ac_cv_prog_cc_g=no 3577 CFLAGS="-g" 3578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3579/* end confdefs.h. */ 3580 3581int 3582main () 3583{ 3584 3585 ; 3586 return 0; 3587} 3588_ACEOF 3589if ac_fn_c_try_compile "$LINENO"; then : 3590 ac_cv_prog_cc_g=yes 3591else 3592 CFLAGS="" 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 3606else 3607 ac_c_werror_flag=$ac_save_c_werror_flag 3608 CFLAGS="-g" 3609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3610/* end confdefs.h. */ 3611 3612int 3613main () 3614{ 3615 3616 ; 3617 return 0; 3618} 3619_ACEOF 3620if ac_fn_c_try_compile "$LINENO"; then : 3621 ac_cv_prog_cc_g=yes 3622fi 3623rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3624fi 3625rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3626fi 3627rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3628 ac_c_werror_flag=$ac_save_c_werror_flag 3629fi 3630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3631$as_echo "$ac_cv_prog_cc_g" >&6; } 3632if test "$ac_test_CFLAGS" = set; then 3633 CFLAGS=$ac_save_CFLAGS 3634elif test $ac_cv_prog_cc_g = yes; then 3635 if test "$GCC" = yes; then 3636 CFLAGS="-g -O2" 3637 else 3638 CFLAGS="-g" 3639 fi 3640else 3641 if test "$GCC" = yes; then 3642 CFLAGS="-O2" 3643 else 3644 CFLAGS= 3645 fi 3646fi 3647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3648$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3649if test "${ac_cv_prog_cc_c89+set}" = set; then : 3650 $as_echo_n "(cached) " >&6 3651else 3652 ac_cv_prog_cc_c89=no 3653ac_save_CC=$CC 3654cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3655/* end confdefs.h. */ 3656#include <stdarg.h> 3657#include <stdio.h> 3658#include <sys/types.h> 3659#include <sys/stat.h> 3660/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3661struct buf { int x; }; 3662FILE * (*rcsopen) (struct buf *, struct stat *, int); 3663static char *e (p, i) 3664 char **p; 3665 int i; 3666{ 3667 return p[i]; 3668} 3669static char *f (char * (*g) (char **, int), char **p, ...) 3670{ 3671 char *s; 3672 va_list v; 3673 va_start (v,p); 3674 s = g (p, va_arg (v,int)); 3675 va_end (v); 3676 return s; 3677} 3678 3679/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3680 function prototypes and stuff, but not '\xHH' hex character constants. 3681 These don't provoke an error unfortunately, instead are silently treated 3682 as 'x'. The following induces an error, until -std is added to get 3683 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3684 array size at least. It's necessary to write '\x00'==0 to get something 3685 that's true only with -std. */ 3686int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3687 3688/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3689 inside strings and character constants. */ 3690#define FOO(x) 'x' 3691int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3692 3693int test (int i, double x); 3694struct s1 {int (*f) (int a);}; 3695struct s2 {int (*f) (double a);}; 3696int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3697int argc; 3698char **argv; 3699int 3700main () 3701{ 3702return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3703 ; 3704 return 0; 3705} 3706_ACEOF 3707for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3708 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3709do 3710 CC="$ac_save_CC $ac_arg" 3711 if ac_fn_c_try_compile "$LINENO"; then : 3712 ac_cv_prog_cc_c89=$ac_arg 3713fi 3714rm -f core conftest.err conftest.$ac_objext 3715 test "x$ac_cv_prog_cc_c89" != "xno" && break 3716done 3717rm -f conftest.$ac_ext 3718CC=$ac_save_CC 3719 3720fi 3721# AC_CACHE_VAL 3722case "x$ac_cv_prog_cc_c89" in 3723 x) 3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3725$as_echo "none needed" >&6; } ;; 3726 xno) 3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3728$as_echo "unsupported" >&6; } ;; 3729 *) 3730 CC="$CC $ac_cv_prog_cc_c89" 3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3732$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3733esac 3734if test "x$ac_cv_prog_cc_c89" != xno; then : 3735 3736fi 3737 3738ac_ext=c 3739ac_cpp='$CPP $CPPFLAGS' 3740ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3741ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3742ac_compiler_gnu=$ac_cv_c_compiler_gnu 3743 3744depcc="$CC" am_compiler_list= 3745 3746{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3747$as_echo_n "checking dependency style of $depcc... " >&6; } 3748if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 3749 $as_echo_n "(cached) " >&6 3750else 3751 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3752 # We make a subdir and do the tests there. Otherwise we can end up 3753 # making bogus files that we don't know about and never remove. For 3754 # instance it was reported that on HP-UX the gcc test will end up 3755 # making a dummy file named `D' -- because `-MD' means `put the output 3756 # in D'. 3757 mkdir conftest.dir 3758 # Copy depcomp to subdir because otherwise we won't find it if we're 3759 # using a relative directory. 3760 cp "$am_depcomp" conftest.dir 3761 cd conftest.dir 3762 # We will build objects and dependencies in a subdirectory because 3763 # it helps to detect inapplicable dependency modes. For instance 3764 # both Tru64's cc and ICC support -MD to output dependencies as a 3765 # side effect of compilation, but ICC will put the dependencies in 3766 # the current directory while Tru64 will put them in the object 3767 # directory. 3768 mkdir sub 3769 3770 am_cv_CC_dependencies_compiler_type=none 3771 if test "$am_compiler_list" = ""; then 3772 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3773 fi 3774 am__universal=false 3775 case " $depcc " in #( 3776 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3777 esac 3778 3779 for depmode in $am_compiler_list; do 3780 # Setup a source with many dependencies, because some compilers 3781 # like to wrap large dependency lists on column 80 (with \), and 3782 # we should not choose a depcomp mode which is confused by this. 3783 # 3784 # We need to recreate these files for each test, as the compiler may 3785 # overwrite some of them when testing with obscure command lines. 3786 # This happens at least with the AIX C compiler. 3787 : > sub/conftest.c 3788 for i in 1 2 3 4 5 6; do 3789 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3790 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3791 # Solaris 8's {/usr,}/bin/sh. 3792 touch sub/conftst$i.h 3793 done 3794 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3795 3796 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3797 # mode. It turns out that the SunPro C++ compiler does not properly 3798 # handle `-M -o', and we need to detect this. Also, some Intel 3799 # versions had trouble with output in subdirs 3800 am__obj=sub/conftest.${OBJEXT-o} 3801 am__minus_obj="-o $am__obj" 3802 case $depmode in 3803 gcc) 3804 # This depmode causes a compiler race in universal mode. 3805 test "$am__universal" = false || continue 3806 ;; 3807 nosideeffect) 3808 # after this tag, mechanisms are not by side-effect, so they'll 3809 # only be used when explicitly requested 3810 if test "x$enable_dependency_tracking" = xyes; then 3811 continue 3812 else 3813 break 3814 fi 3815 ;; 3816 msvisualcpp | msvcmsys) 3817 # This compiler won't grok `-c -o', but also, the minuso test has 3818 # not run yet. These depmodes are late enough in the game, and 3819 # so weak that their functioning should not be impacted. 3820 am__obj=conftest.${OBJEXT-o} 3821 am__minus_obj= 3822 ;; 3823 none) break ;; 3824 esac 3825 if depmode=$depmode \ 3826 source=sub/conftest.c object=$am__obj \ 3827 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3828 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3829 >/dev/null 2>conftest.err && 3830 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3831 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3832 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3833 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3834 # icc doesn't choke on unknown options, it will just issue warnings 3835 # or remarks (even with -Werror). So we grep stderr for any message 3836 # that says an option was ignored or not supported. 3837 # When given -MP, icc 7.0 and 7.1 complain thusly: 3838 # icc: Command line warning: ignoring option '-M'; no argument required 3839 # The diagnosis changed in icc 8.0: 3840 # icc: Command line remark: option '-MP' not supported 3841 if (grep 'ignoring option' conftest.err || 3842 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3843 am_cv_CC_dependencies_compiler_type=$depmode 3844 break 3845 fi 3846 fi 3847 done 3848 3849 cd .. 3850 rm -rf conftest.dir 3851else 3852 am_cv_CC_dependencies_compiler_type=none 3853fi 3854 3855fi 3856{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3857$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3858CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3859 3860 if 3861 test "x$enable_dependency_tracking" != xno \ 3862 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3863 am__fastdepCC_TRUE= 3864 am__fastdepCC_FALSE='#' 3865else 3866 am__fastdepCC_TRUE='#' 3867 am__fastdepCC_FALSE= 3868fi 3869 3870 3871 3872 3873 3874case "$am__api_version" in 3875 1.01234) 3876 as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 3877 ;; 3878 *) 3879 ;; 3880esac 3881 3882if test -n "0.21"; then 3883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.21" >&5 3884$as_echo_n "checking for intltool >= 0.21... " >&6; } 3885 3886 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.21 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 3887 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` 3888 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 3889 3890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 3891$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } 3892 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || 3893 as_fn_error "Your intltool is too old. You need intltool 0.21 or later." "$LINENO" 5 3894fi 3895 3896# Extract the first word of "intltool-update", so it can be a program name with args. 3897set dummy intltool-update; ac_word=$2 3898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3899$as_echo_n "checking for $ac_word... " >&6; } 3900if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then : 3901 $as_echo_n "(cached) " >&6 3902else 3903 case $INTLTOOL_UPDATE in 3904 [\\/]* | ?:[\\/]*) 3905 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. 3906 ;; 3907 *) 3908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3909for as_dir in $PATH 3910do 3911 IFS=$as_save_IFS 3912 test -z "$as_dir" && as_dir=. 3913 for ac_exec_ext in '' $ac_executable_extensions; do 3914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3915 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" 3916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3917 break 2 3918 fi 3919done 3920 done 3921IFS=$as_save_IFS 3922 3923 ;; 3924esac 3925fi 3926INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE 3927if test -n "$INTLTOOL_UPDATE"; then 3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 3929$as_echo "$INTLTOOL_UPDATE" >&6; } 3930else 3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3932$as_echo "no" >&6; } 3933fi 3934 3935 3936# Extract the first word of "intltool-merge", so it can be a program name with args. 3937set dummy intltool-merge; ac_word=$2 3938{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3939$as_echo_n "checking for $ac_word... " >&6; } 3940if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then : 3941 $as_echo_n "(cached) " >&6 3942else 3943 case $INTLTOOL_MERGE in 3944 [\\/]* | ?:[\\/]*) 3945 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. 3946 ;; 3947 *) 3948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3949for as_dir in $PATH 3950do 3951 IFS=$as_save_IFS 3952 test -z "$as_dir" && as_dir=. 3953 for ac_exec_ext in '' $ac_executable_extensions; do 3954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3955 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" 3956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3957 break 2 3958 fi 3959done 3960 done 3961IFS=$as_save_IFS 3962 3963 ;; 3964esac 3965fi 3966INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE 3967if test -n "$INTLTOOL_MERGE"; then 3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 3969$as_echo "$INTLTOOL_MERGE" >&6; } 3970else 3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3972$as_echo "no" >&6; } 3973fi 3974 3975 3976# Extract the first word of "intltool-extract", so it can be a program name with args. 3977set dummy intltool-extract; ac_word=$2 3978{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3979$as_echo_n "checking for $ac_word... " >&6; } 3980if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then : 3981 $as_echo_n "(cached) " >&6 3982else 3983 case $INTLTOOL_EXTRACT in 3984 [\\/]* | ?:[\\/]*) 3985 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. 3986 ;; 3987 *) 3988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3989for as_dir in $PATH 3990do 3991 IFS=$as_save_IFS 3992 test -z "$as_dir" && as_dir=. 3993 for ac_exec_ext in '' $ac_executable_extensions; do 3994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3995 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" 3996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3997 break 2 3998 fi 3999done 4000 done 4001IFS=$as_save_IFS 4002 4003 ;; 4004esac 4005fi 4006INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT 4007if test -n "$INTLTOOL_EXTRACT"; then 4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 4009$as_echo "$INTLTOOL_EXTRACT" >&6; } 4010else 4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4012$as_echo "no" >&6; } 4013fi 4014 4015 4016if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then 4017 as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5 4018fi 4019 4020 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 $< $@' 4021INTLTOOL_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 $< $@' 4022 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 $< $@' 4023 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 $< $@' 4024 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@' 4025 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 $< $@' 4026 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 $< $@' 4027 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 $< $@' 4028INTLTOOL_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 $< $@' 4029 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 $< $@' 4030 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 $< $@' 4031 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@' 4032 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 $< $@' 4033 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 $< $@' 4034 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 $< $@' 4035 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 $< $@' 4036 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 $< $@' 4037 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 $< $@' 4038 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 $< $@' 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 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# Check the gettext tools to make sure they are GNU 4137# Extract the first word of "xgettext", so it can be a program name with args. 4138set dummy xgettext; ac_word=$2 4139{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4140$as_echo_n "checking for $ac_word... " >&6; } 4141if test "${ac_cv_path_XGETTEXT+set}" = set; then : 4142 $as_echo_n "(cached) " >&6 4143else 4144 case $XGETTEXT in 4145 [\\/]* | ?:[\\/]*) 4146 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 4147 ;; 4148 *) 4149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4150for as_dir in $PATH 4151do 4152 IFS=$as_save_IFS 4153 test -z "$as_dir" && as_dir=. 4154 for ac_exec_ext in '' $ac_executable_extensions; do 4155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4156 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" 4157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4158 break 2 4159 fi 4160done 4161 done 4162IFS=$as_save_IFS 4163 4164 ;; 4165esac 4166fi 4167XGETTEXT=$ac_cv_path_XGETTEXT 4168if test -n "$XGETTEXT"; then 4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 4170$as_echo "$XGETTEXT" >&6; } 4171else 4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4173$as_echo "no" >&6; } 4174fi 4175 4176 4177# Extract the first word of "msgmerge", so it can be a program name with args. 4178set dummy msgmerge; ac_word=$2 4179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4180$as_echo_n "checking for $ac_word... " >&6; } 4181if test "${ac_cv_path_MSGMERGE+set}" = set; then : 4182 $as_echo_n "(cached) " >&6 4183else 4184 case $MSGMERGE in 4185 [\\/]* | ?:[\\/]*) 4186 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 4187 ;; 4188 *) 4189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4190for as_dir in $PATH 4191do 4192 IFS=$as_save_IFS 4193 test -z "$as_dir" && as_dir=. 4194 for ac_exec_ext in '' $ac_executable_extensions; do 4195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4196 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" 4197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4198 break 2 4199 fi 4200done 4201 done 4202IFS=$as_save_IFS 4203 4204 ;; 4205esac 4206fi 4207MSGMERGE=$ac_cv_path_MSGMERGE 4208if test -n "$MSGMERGE"; then 4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 4210$as_echo "$MSGMERGE" >&6; } 4211else 4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4213$as_echo "no" >&6; } 4214fi 4215 4216 4217# Extract the first word of "msgfmt", so it can be a program name with args. 4218set dummy msgfmt; ac_word=$2 4219{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4220$as_echo_n "checking for $ac_word... " >&6; } 4221if test "${ac_cv_path_MSGFMT+set}" = set; then : 4222 $as_echo_n "(cached) " >&6 4223else 4224 case $MSGFMT in 4225 [\\/]* | ?:[\\/]*) 4226 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 4227 ;; 4228 *) 4229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4230for as_dir in $PATH 4231do 4232 IFS=$as_save_IFS 4233 test -z "$as_dir" && as_dir=. 4234 for ac_exec_ext in '' $ac_executable_extensions; do 4235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4236 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" 4237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4238 break 2 4239 fi 4240done 4241 done 4242IFS=$as_save_IFS 4243 4244 ;; 4245esac 4246fi 4247MSGFMT=$ac_cv_path_MSGFMT 4248if test -n "$MSGFMT"; then 4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 4250$as_echo "$MSGFMT" >&6; } 4251else 4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4253$as_echo "no" >&6; } 4254fi 4255 4256 4257# Extract the first word of "gmsgfmt", so it can be a program name with args. 4258set dummy gmsgfmt; ac_word=$2 4259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4260$as_echo_n "checking for $ac_word... " >&6; } 4261if test "${ac_cv_path_GMSGFMT+set}" = set; then : 4262 $as_echo_n "(cached) " >&6 4263else 4264 case $GMSGFMT in 4265 [\\/]* | ?:[\\/]*) 4266 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 4267 ;; 4268 *) 4269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4270for as_dir in $PATH 4271do 4272 IFS=$as_save_IFS 4273 test -z "$as_dir" && as_dir=. 4274 for ac_exec_ext in '' $ac_executable_extensions; do 4275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4276 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 4277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4278 break 2 4279 fi 4280done 4281 done 4282IFS=$as_save_IFS 4283 4284 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 4285 ;; 4286esac 4287fi 4288GMSGFMT=$ac_cv_path_GMSGFMT 4289if test -n "$GMSGFMT"; then 4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 4291$as_echo "$GMSGFMT" >&6; } 4292else 4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4294$as_echo "no" >&6; } 4295fi 4296 4297 4298if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then 4299 as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5 4300fi 4301xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" 4302mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" 4303mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" 4304if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then 4305 as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5 4306fi 4307 4308# Extract the first word of "perl", so it can be a program name with args. 4309set dummy perl; ac_word=$2 4310{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4311$as_echo_n "checking for $ac_word... " >&6; } 4312if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then : 4313 $as_echo_n "(cached) " >&6 4314else 4315 case $INTLTOOL_PERL in 4316 [\\/]* | ?:[\\/]*) 4317 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. 4318 ;; 4319 *) 4320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4321for as_dir in $PATH 4322do 4323 IFS=$as_save_IFS 4324 test -z "$as_dir" && as_dir=. 4325 for ac_exec_ext in '' $ac_executable_extensions; do 4326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4327 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" 4328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4329 break 2 4330 fi 4331done 4332 done 4333IFS=$as_save_IFS 4334 4335 ;; 4336esac 4337fi 4338INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL 4339if test -n "$INTLTOOL_PERL"; then 4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 4341$as_echo "$INTLTOOL_PERL" >&6; } 4342else 4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4344$as_echo "no" >&6; } 4345fi 4346 4347 4348if test -z "$INTLTOOL_PERL"; then 4349 as_fn_error "perl not found" "$LINENO" 5 4350fi 4351{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 4352$as_echo_n "checking for perl >= 5.8.1... " >&6; } 4353$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 4354if test $? -ne 0; then 4355 as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5 4356else 4357 IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`" 4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 4359$as_echo "$IT_PERL_VERSION" >&6; } 4360fi 4361if test "x" != "xno-xml"; then 4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 4363$as_echo_n "checking for XML::Parser... " >&6; } 4364 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then 4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 4366$as_echo "ok" >&6; } 4367 else 4368 as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5 4369 fi 4370fi 4371 4372# Substitute ALL_LINGUAS so we can use it in po/Makefile 4373 4374 4375# Set DATADIRNAME correctly if it is not set yet 4376# (copied from glib-gettext.m4) 4377if test -z "$DATADIRNAME"; then 4378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4379/* end confdefs.h. */ 4380 4381int 4382main () 4383{ 4384extern int _nl_msg_cat_cntr; 4385 return _nl_msg_cat_cntr 4386 ; 4387 return 0; 4388} 4389_ACEOF 4390if ac_fn_c_try_link "$LINENO"; then : 4391 DATADIRNAME=share 4392else 4393 case $host in 4394 *-*-solaris*) 4395 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 4396if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then : 4397 DATADIRNAME=share 4398else 4399 DATADIRNAME=lib 4400fi 4401 4402 ;; 4403 *) 4404 DATADIRNAME=lib 4405 ;; 4406 esac 4407fi 4408rm -f core conftest.err conftest.$ac_objext \ 4409 conftest$ac_exeext conftest.$ac_ext 4410fi 4411 4412 4413 4414 4415 4416 4417# i18n support 4418ALL_LINGUAS="bs de es fr nl pl ro ru sq sv zh_CN" 4419 4420GETTEXT_PACKAGE=gmpc-mdcover 4421 4422 4423cat >>confdefs.h <<_ACEOF 4424#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" 4425_ACEOF 4426 4427ac_ext=c 4428ac_cpp='$CPP $CPPFLAGS' 4429ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4430ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4431ac_compiler_gnu=$ac_cv_c_compiler_gnu 4432{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4433$as_echo_n "checking how to run the C preprocessor... " >&6; } 4434# On Suns, sometimes $CPP names a directory. 4435if test -n "$CPP" && test -d "$CPP"; then 4436 CPP= 4437fi 4438if test -z "$CPP"; then 4439 if test "${ac_cv_prog_CPP+set}" = set; then : 4440 $as_echo_n "(cached) " >&6 4441else 4442 # Double quotes because CPP needs to be expanded 4443 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4444 do 4445 ac_preproc_ok=false 4446for ac_c_preproc_warn_flag in '' yes 4447do 4448 # Use a header file that comes with gcc, so configuring glibc 4449 # with a fresh cross-compiler works. 4450 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4451 # <limits.h> exists even on freestanding compilers. 4452 # On the NeXT, cc -E runs the code through the compiler's parser, 4453 # not just through cpp. "Syntax error" is here to catch this case. 4454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4455/* end confdefs.h. */ 4456#ifdef __STDC__ 4457# include <limits.h> 4458#else 4459# include <assert.h> 4460#endif 4461 Syntax error 4462_ACEOF 4463if ac_fn_c_try_cpp "$LINENO"; then : 4464 4465else 4466 # Broken: fails on valid input. 4467continue 4468fi 4469rm -f conftest.err conftest.$ac_ext 4470 4471 # OK, works on sane cases. Now check whether nonexistent headers 4472 # can be detected and how. 4473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4474/* end confdefs.h. */ 4475#include <ac_nonexistent.h> 4476_ACEOF 4477if ac_fn_c_try_cpp "$LINENO"; then : 4478 # Broken: success on invalid input. 4479continue 4480else 4481 # Passes both tests. 4482ac_preproc_ok=: 4483break 4484fi 4485rm -f conftest.err conftest.$ac_ext 4486 4487done 4488# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4489rm -f conftest.err conftest.$ac_ext 4490if $ac_preproc_ok; then : 4491 break 4492fi 4493 4494 done 4495 ac_cv_prog_CPP=$CPP 4496 4497fi 4498 CPP=$ac_cv_prog_CPP 4499else 4500 ac_cv_prog_CPP=$CPP 4501fi 4502{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4503$as_echo "$CPP" >&6; } 4504ac_preproc_ok=false 4505for ac_c_preproc_warn_flag in '' yes 4506do 4507 # Use a header file that comes with gcc, so configuring glibc 4508 # with a fresh cross-compiler works. 4509 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4510 # <limits.h> exists even on freestanding compilers. 4511 # On the NeXT, cc -E runs the code through the compiler's parser, 4512 # not just through cpp. "Syntax error" is here to catch this case. 4513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4514/* end confdefs.h. */ 4515#ifdef __STDC__ 4516# include <limits.h> 4517#else 4518# include <assert.h> 4519#endif 4520 Syntax error 4521_ACEOF 4522if ac_fn_c_try_cpp "$LINENO"; then : 4523 4524else 4525 # Broken: fails on valid input. 4526continue 4527fi 4528rm -f conftest.err conftest.$ac_ext 4529 4530 # OK, works on sane cases. Now check whether nonexistent headers 4531 # can be detected and how. 4532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4533/* end confdefs.h. */ 4534#include <ac_nonexistent.h> 4535_ACEOF 4536if ac_fn_c_try_cpp "$LINENO"; then : 4537 # Broken: success on invalid input. 4538continue 4539else 4540 # Passes both tests. 4541ac_preproc_ok=: 4542break 4543fi 4544rm -f conftest.err conftest.$ac_ext 4545 4546done 4547# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4548rm -f conftest.err conftest.$ac_ext 4549if $ac_preproc_ok; then : 4550 4551else 4552 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4553$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4554as_fn_error "C preprocessor \"$CPP\" fails sanity check 4555See \`config.log' for more details." "$LINENO" 5; } 4556fi 4557 4558ac_ext=c 4559ac_cpp='$CPP $CPPFLAGS' 4560ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4561ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4562ac_compiler_gnu=$ac_cv_c_compiler_gnu 4563 4564 4565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4566$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4567if test "${ac_cv_path_GREP+set}" = set; then : 4568 $as_echo_n "(cached) " >&6 4569else 4570 if test -z "$GREP"; then 4571 ac_path_GREP_found=false 4572 # Loop through the user's path and test for each of PROGNAME-LIST 4573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4574for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4575do 4576 IFS=$as_save_IFS 4577 test -z "$as_dir" && as_dir=. 4578 for ac_prog in grep ggrep; do 4579 for ac_exec_ext in '' $ac_executable_extensions; do 4580 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4581 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4582# Check for GNU ac_path_GREP and select it if it is found. 4583 # Check for GNU $ac_path_GREP 4584case `"$ac_path_GREP" --version 2>&1` in 4585*GNU*) 4586 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4587*) 4588 ac_count=0 4589 $as_echo_n 0123456789 >"conftest.in" 4590 while : 4591 do 4592 cat "conftest.in" "conftest.in" >"conftest.tmp" 4593 mv "conftest.tmp" "conftest.in" 4594 cp "conftest.in" "conftest.nl" 4595 $as_echo 'GREP' >> "conftest.nl" 4596 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4597 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4598 as_fn_arith $ac_count + 1 && ac_count=$as_val 4599 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4600 # Best one so far, save it but keep looking for a better one 4601 ac_cv_path_GREP="$ac_path_GREP" 4602 ac_path_GREP_max=$ac_count 4603 fi 4604 # 10*(2^10) chars as input seems more than enough 4605 test $ac_count -gt 10 && break 4606 done 4607 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4608esac 4609 4610 $ac_path_GREP_found && break 3 4611 done 4612 done 4613 done 4614IFS=$as_save_IFS 4615 if test -z "$ac_cv_path_GREP"; then 4616 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4617 fi 4618else 4619 ac_cv_path_GREP=$GREP 4620fi 4621 4622fi 4623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4624$as_echo "$ac_cv_path_GREP" >&6; } 4625 GREP="$ac_cv_path_GREP" 4626 4627 4628{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4629$as_echo_n "checking for egrep... " >&6; } 4630if test "${ac_cv_path_EGREP+set}" = set; then : 4631 $as_echo_n "(cached) " >&6 4632else 4633 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4634 then ac_cv_path_EGREP="$GREP -E" 4635 else 4636 if test -z "$EGREP"; then 4637 ac_path_EGREP_found=false 4638 # Loop through the user's path and test for each of PROGNAME-LIST 4639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4640for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4641do 4642 IFS=$as_save_IFS 4643 test -z "$as_dir" && as_dir=. 4644 for ac_prog in egrep; do 4645 for ac_exec_ext in '' $ac_executable_extensions; do 4646 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4647 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4648# Check for GNU ac_path_EGREP and select it if it is found. 4649 # Check for GNU $ac_path_EGREP 4650case `"$ac_path_EGREP" --version 2>&1` in 4651*GNU*) 4652 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4653*) 4654 ac_count=0 4655 $as_echo_n 0123456789 >"conftest.in" 4656 while : 4657 do 4658 cat "conftest.in" "conftest.in" >"conftest.tmp" 4659 mv "conftest.tmp" "conftest.in" 4660 cp "conftest.in" "conftest.nl" 4661 $as_echo 'EGREP' >> "conftest.nl" 4662 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4663 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4664 as_fn_arith $ac_count + 1 && ac_count=$as_val 4665 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4666 # Best one so far, save it but keep looking for a better one 4667 ac_cv_path_EGREP="$ac_path_EGREP" 4668 ac_path_EGREP_max=$ac_count 4669 fi 4670 # 10*(2^10) chars as input seems more than enough 4671 test $ac_count -gt 10 && break 4672 done 4673 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4674esac 4675 4676 $ac_path_EGREP_found && break 3 4677 done 4678 done 4679 done 4680IFS=$as_save_IFS 4681 if test -z "$ac_cv_path_EGREP"; then 4682 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4683 fi 4684else 4685 ac_cv_path_EGREP=$EGREP 4686fi 4687 4688 fi 4689fi 4690{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4691$as_echo "$ac_cv_path_EGREP" >&6; } 4692 EGREP="$ac_cv_path_EGREP" 4693 4694 4695{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4696$as_echo_n "checking for ANSI C header files... " >&6; } 4697if test "${ac_cv_header_stdc+set}" = set; then : 4698 $as_echo_n "(cached) " >&6 4699else 4700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4701/* end confdefs.h. */ 4702#include <stdlib.h> 4703#include <stdarg.h> 4704#include <string.h> 4705#include <float.h> 4706 4707int 4708main () 4709{ 4710 4711 ; 4712 return 0; 4713} 4714_ACEOF 4715if ac_fn_c_try_compile "$LINENO"; then : 4716 ac_cv_header_stdc=yes 4717else 4718 ac_cv_header_stdc=no 4719fi 4720rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4721 4722if test $ac_cv_header_stdc = yes; then 4723 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4725/* end confdefs.h. */ 4726#include <string.h> 4727 4728_ACEOF 4729if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4730 $EGREP "memchr" >/dev/null 2>&1; then : 4731 4732else 4733 ac_cv_header_stdc=no 4734fi 4735rm -f conftest* 4736 4737fi 4738 4739if test $ac_cv_header_stdc = yes; then 4740 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4742/* end confdefs.h. */ 4743#include <stdlib.h> 4744 4745_ACEOF 4746if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4747 $EGREP "free" >/dev/null 2>&1; then : 4748 4749else 4750 ac_cv_header_stdc=no 4751fi 4752rm -f conftest* 4753 4754fi 4755 4756if test $ac_cv_header_stdc = yes; then 4757 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4758 if test "$cross_compiling" = yes; then : 4759 : 4760else 4761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4762/* end confdefs.h. */ 4763#include <ctype.h> 4764#include <stdlib.h> 4765#if ((' ' & 0x0FF) == 0x020) 4766# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4767# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4768#else 4769# define ISLOWER(c) \ 4770 (('a' <= (c) && (c) <= 'i') \ 4771 || ('j' <= (c) && (c) <= 'r') \ 4772 || ('s' <= (c) && (c) <= 'z')) 4773# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4774#endif 4775 4776#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4777int 4778main () 4779{ 4780 int i; 4781 for (i = 0; i < 256; i++) 4782 if (XOR (islower (i), ISLOWER (i)) 4783 || toupper (i) != TOUPPER (i)) 4784 return 2; 4785 return 0; 4786} 4787_ACEOF 4788if ac_fn_c_try_run "$LINENO"; then : 4789 4790else 4791 ac_cv_header_stdc=no 4792fi 4793rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4794 conftest.$ac_objext conftest.beam conftest.$ac_ext 4795fi 4796 4797fi 4798fi 4799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4800$as_echo "$ac_cv_header_stdc" >&6; } 4801if test $ac_cv_header_stdc = yes; then 4802 4803$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4804 4805fi 4806 4807# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4808for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4809 inttypes.h stdint.h unistd.h 4810do : 4811 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4812ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4813" 4814eval as_val=\$$as_ac_Header 4815 if test "x$as_val" = x""yes; then : 4816 cat >>confdefs.h <<_ACEOF 4817#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4818_ACEOF 4819 4820fi 4821 4822done 4823 4824 4825 4826 for ac_header in locale.h 4827do : 4828 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" 4829if test "x$ac_cv_header_locale_h" = x""yes; then : 4830 cat >>confdefs.h <<_ACEOF 4831#define HAVE_LOCALE_H 1 4832_ACEOF 4833 4834fi 4835 4836done 4837 4838 if test $ac_cv_header_locale_h = yes; then 4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 4840$as_echo_n "checking for LC_MESSAGES... " >&6; } 4841if test "${am_cv_val_LC_MESSAGES+set}" = set; then : 4842 $as_echo_n "(cached) " >&6 4843else 4844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4845/* end confdefs.h. */ 4846#include <locale.h> 4847int 4848main () 4849{ 4850return LC_MESSAGES 4851 ; 4852 return 0; 4853} 4854_ACEOF 4855if ac_fn_c_try_link "$LINENO"; then : 4856 am_cv_val_LC_MESSAGES=yes 4857else 4858 am_cv_val_LC_MESSAGES=no 4859fi 4860rm -f core conftest.err conftest.$ac_objext \ 4861 conftest$ac_exeext conftest.$ac_ext 4862fi 4863{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5 4864$as_echo "$am_cv_val_LC_MESSAGES" >&6; } 4865 if test $am_cv_val_LC_MESSAGES = yes; then 4866 4867$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h 4868 4869 fi 4870 fi 4871 USE_NLS=yes 4872 4873 4874 gt_cv_have_gettext=no 4875 4876 CATOBJEXT=NONE 4877 XGETTEXT=: 4878 INTLLIBS= 4879 4880 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" 4881if test "x$ac_cv_header_libintl_h" = x""yes; then : 4882 gt_cv_func_dgettext_libintl="no" 4883 libintl_extra_libs="" 4884 4885 # 4886 # First check in libc 4887 # 4888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5 4889$as_echo_n "checking for ngettext in libc... " >&6; } 4890if test "${gt_cv_func_ngettext_libc+set}" = set; then : 4891 $as_echo_n "(cached) " >&6 4892else 4893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4894/* end confdefs.h. */ 4895 4896#include <libintl.h> 4897 4898int 4899main () 4900{ 4901return !ngettext ("","", 1) 4902 ; 4903 return 0; 4904} 4905_ACEOF 4906if ac_fn_c_try_link "$LINENO"; then : 4907 gt_cv_func_ngettext_libc=yes 4908else 4909 gt_cv_func_ngettext_libc=no 4910fi 4911rm -f core conftest.err conftest.$ac_objext \ 4912 conftest$ac_exeext conftest.$ac_ext 4913 4914fi 4915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5 4916$as_echo "$gt_cv_func_ngettext_libc" >&6; } 4917 4918 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5 4920$as_echo_n "checking for dgettext in libc... " >&6; } 4921if test "${gt_cv_func_dgettext_libc+set}" = set; then : 4922 $as_echo_n "(cached) " >&6 4923else 4924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4925/* end confdefs.h. */ 4926 4927#include <libintl.h> 4928 4929int 4930main () 4931{ 4932return !dgettext ("","") 4933 ; 4934 return 0; 4935} 4936_ACEOF 4937if ac_fn_c_try_link "$LINENO"; then : 4938 gt_cv_func_dgettext_libc=yes 4939else 4940 gt_cv_func_dgettext_libc=no 4941fi 4942rm -f core conftest.err conftest.$ac_objext \ 4943 conftest$ac_exeext conftest.$ac_ext 4944 4945fi 4946{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5 4947$as_echo "$gt_cv_func_dgettext_libc" >&6; } 4948 fi 4949 4950 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 4951 for ac_func in bind_textdomain_codeset 4952do : 4953 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 4954if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then : 4955 cat >>confdefs.h <<_ACEOF 4956#define HAVE_BIND_TEXTDOMAIN_CODESET 1 4957_ACEOF 4958 4959fi 4960done 4961 4962 fi 4963 4964 # 4965 # If we don't have everything we want, check in libintl 4966 # 4967 if test "$gt_cv_func_dgettext_libc" != "yes" \ 4968 || test "$gt_cv_func_ngettext_libc" != "yes" \ 4969 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then 4970 4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 4972$as_echo_n "checking for bindtextdomain in -lintl... " >&6; } 4973if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then : 4974 $as_echo_n "(cached) " >&6 4975else 4976 ac_check_lib_save_LIBS=$LIBS 4977LIBS="-lintl $LIBS" 4978cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4979/* end confdefs.h. */ 4980 4981/* Override any GCC internal prototype to avoid an error. 4982 Use char because int might match the return type of a GCC 4983 builtin and then its argument prototype would still apply. */ 4984#ifdef __cplusplus 4985extern "C" 4986#endif 4987char bindtextdomain (); 4988int 4989main () 4990{ 4991return bindtextdomain (); 4992 ; 4993 return 0; 4994} 4995_ACEOF 4996if ac_fn_c_try_link "$LINENO"; then : 4997 ac_cv_lib_intl_bindtextdomain=yes 4998else 4999 ac_cv_lib_intl_bindtextdomain=no 5000fi 5001rm -f core conftest.err conftest.$ac_objext \ 5002 conftest$ac_exeext conftest.$ac_ext 5003LIBS=$ac_check_lib_save_LIBS 5004fi 5005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 5006$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } 5007if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then : 5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 5009$as_echo_n "checking for ngettext in -lintl... " >&6; } 5010if test "${ac_cv_lib_intl_ngettext+set}" = set; then : 5011 $as_echo_n "(cached) " >&6 5012else 5013 ac_check_lib_save_LIBS=$LIBS 5014LIBS="-lintl $LIBS" 5015cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5016/* end confdefs.h. */ 5017 5018/* Override any GCC internal prototype to avoid an error. 5019 Use char because int might match the return type of a GCC 5020 builtin and then its argument prototype would still apply. */ 5021#ifdef __cplusplus 5022extern "C" 5023#endif 5024char ngettext (); 5025int 5026main () 5027{ 5028return ngettext (); 5029 ; 5030 return 0; 5031} 5032_ACEOF 5033if ac_fn_c_try_link "$LINENO"; then : 5034 ac_cv_lib_intl_ngettext=yes 5035else 5036 ac_cv_lib_intl_ngettext=no 5037fi 5038rm -f core conftest.err conftest.$ac_objext \ 5039 conftest$ac_exeext conftest.$ac_ext 5040LIBS=$ac_check_lib_save_LIBS 5041fi 5042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 5043$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 5044if test "x$ac_cv_lib_intl_ngettext" = x""yes; then : 5045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 5046$as_echo_n "checking for dgettext in -lintl... " >&6; } 5047if test "${ac_cv_lib_intl_dgettext+set}" = set; then : 5048 $as_echo_n "(cached) " >&6 5049else 5050 ac_check_lib_save_LIBS=$LIBS 5051LIBS="-lintl $LIBS" 5052cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5053/* end confdefs.h. */ 5054 5055/* Override any GCC internal prototype to avoid an error. 5056 Use char because int might match the return type of a GCC 5057 builtin and then its argument prototype would still apply. */ 5058#ifdef __cplusplus 5059extern "C" 5060#endif 5061char dgettext (); 5062int 5063main () 5064{ 5065return dgettext (); 5066 ; 5067 return 0; 5068} 5069_ACEOF 5070if ac_fn_c_try_link "$LINENO"; then : 5071 ac_cv_lib_intl_dgettext=yes 5072else 5073 ac_cv_lib_intl_dgettext=no 5074fi 5075rm -f core conftest.err conftest.$ac_objext \ 5076 conftest$ac_exeext conftest.$ac_ext 5077LIBS=$ac_check_lib_save_LIBS 5078fi 5079{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 5080$as_echo "$ac_cv_lib_intl_dgettext" >&6; } 5081if test "x$ac_cv_lib_intl_dgettext" = x""yes; then : 5082 gt_cv_func_dgettext_libintl=yes 5083fi 5084 5085fi 5086 5087fi 5088 5089 5090 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then 5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5 5092$as_echo_n "checking if -liconv is needed to use gettext... " >&6; } 5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 5094$as_echo "" >&6; } 5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 5096$as_echo_n "checking for ngettext in -lintl... " >&6; } 5097if test "${ac_cv_lib_intl_ngettext+set}" = set; then : 5098 $as_echo_n "(cached) " >&6 5099else 5100 ac_check_lib_save_LIBS=$LIBS 5101LIBS="-lintl -liconv $LIBS" 5102cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5103/* end confdefs.h. */ 5104 5105/* Override any GCC internal prototype to avoid an error. 5106 Use char because int might match the return type of a GCC 5107 builtin and then its argument prototype would still apply. */ 5108#ifdef __cplusplus 5109extern "C" 5110#endif 5111char ngettext (); 5112int 5113main () 5114{ 5115return ngettext (); 5116 ; 5117 return 0; 5118} 5119_ACEOF 5120if ac_fn_c_try_link "$LINENO"; then : 5121 ac_cv_lib_intl_ngettext=yes 5122else 5123 ac_cv_lib_intl_ngettext=no 5124fi 5125rm -f core conftest.err conftest.$ac_objext \ 5126 conftest$ac_exeext conftest.$ac_ext 5127LIBS=$ac_check_lib_save_LIBS 5128fi 5129{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 5130$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 5131if test "x$ac_cv_lib_intl_ngettext" = x""yes; then : 5132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5 5133$as_echo_n "checking for dcgettext in -lintl... " >&6; } 5134if test "${ac_cv_lib_intl_dcgettext+set}" = set; then : 5135 $as_echo_n "(cached) " >&6 5136else 5137 ac_check_lib_save_LIBS=$LIBS 5138LIBS="-lintl -liconv $LIBS" 5139cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5140/* end confdefs.h. */ 5141 5142/* Override any GCC internal prototype to avoid an error. 5143 Use char because int might match the return type of a GCC 5144 builtin and then its argument prototype would still apply. */ 5145#ifdef __cplusplus 5146extern "C" 5147#endif 5148char dcgettext (); 5149int 5150main () 5151{ 5152return dcgettext (); 5153 ; 5154 return 0; 5155} 5156_ACEOF 5157if ac_fn_c_try_link "$LINENO"; then : 5158 ac_cv_lib_intl_dcgettext=yes 5159else 5160 ac_cv_lib_intl_dcgettext=no 5161fi 5162rm -f core conftest.err conftest.$ac_objext \ 5163 conftest$ac_exeext conftest.$ac_ext 5164LIBS=$ac_check_lib_save_LIBS 5165fi 5166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5 5167$as_echo "$ac_cv_lib_intl_dcgettext" >&6; } 5168if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then : 5169 gt_cv_func_dgettext_libintl=yes 5170 libintl_extra_libs=-liconv 5171else 5172 : 5173fi 5174 5175else 5176 : 5177fi 5178 5179 fi 5180 5181 # 5182 # If we found libintl, then check in it for bind_textdomain_codeset(); 5183 # we'll prefer libc if neither have bind_textdomain_codeset(), 5184 # and both have dgettext and ngettext 5185 # 5186 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then 5187 glib_save_LIBS="$LIBS" 5188 LIBS="$LIBS -lintl $libintl_extra_libs" 5189 unset ac_cv_func_bind_textdomain_codeset 5190 for ac_func in bind_textdomain_codeset 5191do : 5192 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 5193if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then : 5194 cat >>confdefs.h <<_ACEOF 5195#define HAVE_BIND_TEXTDOMAIN_CODESET 1 5196_ACEOF 5197 5198fi 5199done 5200 5201 LIBS="$glib_save_LIBS" 5202 5203 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then 5204 gt_cv_func_dgettext_libc=no 5205 else 5206 if test "$gt_cv_func_dgettext_libc" = "yes" \ 5207 && test "$gt_cv_func_ngettext_libc" = "yes"; then 5208 gt_cv_func_dgettext_libintl=no 5209 fi 5210 fi 5211 fi 5212 fi 5213 5214 if test "$gt_cv_func_dgettext_libc" = "yes" \ 5215 || test "$gt_cv_func_dgettext_libintl" = "yes"; then 5216 gt_cv_have_gettext=yes 5217 fi 5218 5219 if test "$gt_cv_func_dgettext_libintl" = "yes"; then 5220 INTLLIBS="-lintl $libintl_extra_libs" 5221 fi 5222 5223 if test "$gt_cv_have_gettext" = "yes"; then 5224 5225$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 5226 5227 # Extract the first word of "msgfmt", so it can be a program name with args. 5228set dummy msgfmt; ac_word=$2 5229{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5230$as_echo_n "checking for $ac_word... " >&6; } 5231if test "${ac_cv_path_MSGFMT+set}" = set; then : 5232 $as_echo_n "(cached) " >&6 5233else 5234 case "$MSGFMT" in 5235 /*) 5236 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 5237 ;; 5238 *) 5239 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 5240 for ac_dir in $PATH; do 5241 test -z "$ac_dir" && ac_dir=. 5242 if test -f $ac_dir/$ac_word; then 5243 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then 5244 ac_cv_path_MSGFMT="$ac_dir/$ac_word" 5245 break 5246 fi 5247 fi 5248 done 5249 IFS="$ac_save_ifs" 5250 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" 5251 ;; 5252esac 5253fi 5254MSGFMT="$ac_cv_path_MSGFMT" 5255if test "$MSGFMT" != "no"; then 5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 5257$as_echo "$MSGFMT" >&6; } 5258else 5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5260$as_echo "no" >&6; } 5261fi 5262 if test "$MSGFMT" != "no"; then 5263 glib_save_LIBS="$LIBS" 5264 LIBS="$LIBS $INTLLIBS" 5265 for ac_func in dcgettext 5266do : 5267 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext" 5268if test "x$ac_cv_func_dcgettext" = x""yes; then : 5269 cat >>confdefs.h <<_ACEOF 5270#define HAVE_DCGETTEXT 1 5271_ACEOF 5272 5273fi 5274done 5275 5276 MSGFMT_OPTS= 5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5 5278$as_echo_n "checking if msgfmt accepts -c... " >&6; } 5279 cat >conftest.foo <<_ACEOF 5280 5281msgid "" 5282msgstr "" 5283"Content-Type: text/plain; charset=UTF-8\n" 5284"Project-Id-Version: test 1.0\n" 5285"PO-Revision-Date: 2007-02-15 12:01+0100\n" 5286"Last-Translator: test <foo@bar.xx>\n" 5287"Language-Team: C <LL@li.org>\n" 5288"MIME-Version: 1.0\n" 5289"Content-Transfer-Encoding: 8bit\n" 5290 5291_ACEOF 5292if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5 5293 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5 5294 ac_status=$? 5295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5296 test $ac_status = 0; }; then 5297 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5298$as_echo "yes" >&6; } 5299else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5300$as_echo "no" >&6; } 5301echo "$as_me: failed input was:" >&5 5302sed 's/^/| /' conftest.foo >&5 5303fi 5304 5305 # Extract the first word of "gmsgfmt", so it can be a program name with args. 5306set dummy gmsgfmt; ac_word=$2 5307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5308$as_echo_n "checking for $ac_word... " >&6; } 5309if test "${ac_cv_path_GMSGFMT+set}" = set; then : 5310 $as_echo_n "(cached) " >&6 5311else 5312 case $GMSGFMT in 5313 [\\/]* | ?:[\\/]*) 5314 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 5315 ;; 5316 *) 5317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5318for as_dir in $PATH 5319do 5320 IFS=$as_save_IFS 5321 test -z "$as_dir" && as_dir=. 5322 for ac_exec_ext in '' $ac_executable_extensions; do 5323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5324 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 5325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5326 break 2 5327 fi 5328done 5329 done 5330IFS=$as_save_IFS 5331 5332 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 5333 ;; 5334esac 5335fi 5336GMSGFMT=$ac_cv_path_GMSGFMT 5337if test -n "$GMSGFMT"; then 5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 5339$as_echo "$GMSGFMT" >&6; } 5340else 5341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5342$as_echo "no" >&6; } 5343fi 5344 5345 5346 # Extract the first word of "xgettext", so it can be a program name with args. 5347set dummy xgettext; ac_word=$2 5348{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5349$as_echo_n "checking for $ac_word... " >&6; } 5350if test "${ac_cv_path_XGETTEXT+set}" = set; then : 5351 $as_echo_n "(cached) " >&6 5352else 5353 case "$XGETTEXT" in 5354 /*) 5355 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 5356 ;; 5357 *) 5358 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 5359 for ac_dir in $PATH; do 5360 test -z "$ac_dir" && ac_dir=. 5361 if test -f $ac_dir/$ac_word; then 5362 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then 5363 ac_cv_path_XGETTEXT="$ac_dir/$ac_word" 5364 break 5365 fi 5366 fi 5367 done 5368 IFS="$ac_save_ifs" 5369 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 5370 ;; 5371esac 5372fi 5373XGETTEXT="$ac_cv_path_XGETTEXT" 5374if test "$XGETTEXT" != ":"; then 5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 5376$as_echo "$XGETTEXT" >&6; } 5377else 5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5379$as_echo "no" >&6; } 5380fi 5381 5382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5383/* end confdefs.h. */ 5384 5385int 5386main () 5387{ 5388extern int _nl_msg_cat_cntr; 5389 return _nl_msg_cat_cntr 5390 ; 5391 return 0; 5392} 5393_ACEOF 5394if ac_fn_c_try_link "$LINENO"; then : 5395 CATOBJEXT=.gmo 5396 DATADIRNAME=share 5397else 5398 case $host in 5399 *-*-solaris*) 5400 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 5401if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then : 5402 CATOBJEXT=.gmo 5403 DATADIRNAME=share 5404else 5405 CATOBJEXT=.mo 5406 DATADIRNAME=lib 5407fi 5408 5409 ;; 5410 *) 5411 CATOBJEXT=.mo 5412 DATADIRNAME=lib 5413 ;; 5414 esac 5415fi 5416rm -f core conftest.err conftest.$ac_objext \ 5417 conftest$ac_exeext conftest.$ac_ext 5418 LIBS="$glib_save_LIBS" 5419 INSTOBJEXT=.mo 5420 else 5421 gt_cv_have_gettext=no 5422 fi 5423 fi 5424 5425fi 5426 5427 5428 5429 if test "$gt_cv_have_gettext" = "yes" ; then 5430 5431$as_echo "#define ENABLE_NLS 1" >>confdefs.h 5432 5433 fi 5434 5435 if test "$XGETTEXT" != ":"; then 5436 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then 5437 : ; 5438 else 5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 5440$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } 5441 XGETTEXT=":" 5442 fi 5443 fi 5444 5445 # We need to process the po/ directory. 5446 POSUB=po 5447 5448 ac_config_commands="$ac_config_commands default-1" 5449 5450 5451 for lang in $ALL_LINGUAS; do 5452 GMOFILES="$GMOFILES $lang.gmo" 5453 POFILES="$POFILES $lang.po" 5454 done 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 if test "$gt_cv_have_gettext" = "yes"; then 5469 if test "x$ALL_LINGUAS" = "x"; then 5470 LINGUAS= 5471 else 5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5 5473$as_echo_n "checking for catalogs to be installed... " >&6; } 5474 NEW_LINGUAS= 5475 for presentlang in $ALL_LINGUAS; do 5476 useit=no 5477 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then 5478 desiredlanguages="$LINGUAS" 5479 else 5480 desiredlanguages="$ALL_LINGUAS" 5481 fi 5482 for desiredlang in $desiredlanguages; do 5483 # Use the presentlang catalog if desiredlang is 5484 # a. equal to presentlang, or 5485 # b. a variant of presentlang (because in this case, 5486 # presentlang can be used as a fallback for messages 5487 # which are not translated in the desiredlang catalog). 5488 case "$desiredlang" in 5489 "$presentlang"*) useit=yes;; 5490 esac 5491 done 5492 if test $useit = yes; then 5493 NEW_LINGUAS="$NEW_LINGUAS $presentlang" 5494 fi 5495 done 5496 LINGUAS=$NEW_LINGUAS 5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5 5498$as_echo "$LINGUAS" >&6; } 5499 fi 5500 5501 if test -n "$LINGUAS"; then 5502 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done 5503 fi 5504 fi 5505 5506 MKINSTALLDIRS= 5507 if test -n "$ac_aux_dir"; then 5508 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" 5509 fi 5510 if test -z "$MKINSTALLDIRS"; then 5511 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" 5512 fi 5513 5514 5515 test -d po || mkdir po 5516 if test "x$srcdir" != "x."; then 5517 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then 5518 posrcprefix="$srcdir/" 5519 else 5520 posrcprefix="../$srcdir/" 5521 fi 5522 else 5523 posrcprefix="../" 5524 fi 5525 rm -f po/POTFILES 5526 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ 5527 < $srcdir/po/POTFILES.in > po/POTFILES 5528 5529 5530 5531if test "x${prefix}" = "xNONE"; then 5532 PACKAGE_PREFIX="${ac_default_prefix}" 5533else 5534 PACKAGE_PREFIX="${prefix}" 5535fi 5536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PACKAGE_PREFIX" >&5 5537$as_echo "$PACKAGE_PREFIX" >&6; } 5538PACKAGE_LOCALE_DIR="${PACKAGE_PREFIX}/${DATADIRNAME}/locale" 5539 5540cat >>confdefs.h <<_ACEOF 5541#define PACKAGE_LOCALE_DIR "$PACKAGE_LOCALE_DIR" 5542_ACEOF 5543 5544ac_ext=c 5545ac_cpp='$CPP $CPPFLAGS' 5546ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5547ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5548ac_compiler_gnu=$ac_cv_c_compiler_gnu 5549if test -n "$ac_tool_prefix"; then 5550 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 5551set dummy ${ac_tool_prefix}gcc; ac_word=$2 5552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5553$as_echo_n "checking for $ac_word... " >&6; } 5554if test "${ac_cv_prog_CC+set}" = set; then : 5555 $as_echo_n "(cached) " >&6 5556else 5557 if test -n "$CC"; then 5558 ac_cv_prog_CC="$CC" # Let the user override the test. 5559else 5560as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5561for as_dir in $PATH 5562do 5563 IFS=$as_save_IFS 5564 test -z "$as_dir" && as_dir=. 5565 for ac_exec_ext in '' $ac_executable_extensions; do 5566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5567 ac_cv_prog_CC="${ac_tool_prefix}gcc" 5568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5569 break 2 5570 fi 5571done 5572 done 5573IFS=$as_save_IFS 5574 5575fi 5576fi 5577CC=$ac_cv_prog_CC 5578if test -n "$CC"; then 5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 5580$as_echo "$CC" >&6; } 5581else 5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5583$as_echo "no" >&6; } 5584fi 5585 5586 5587fi 5588if test -z "$ac_cv_prog_CC"; then 5589 ac_ct_CC=$CC 5590 # Extract the first word of "gcc", so it can be a program name with args. 5591set dummy gcc; ac_word=$2 5592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5593$as_echo_n "checking for $ac_word... " >&6; } 5594if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 5595 $as_echo_n "(cached) " >&6 5596else 5597 if test -n "$ac_ct_CC"; then 5598 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 5599else 5600as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5601for as_dir in $PATH 5602do 5603 IFS=$as_save_IFS 5604 test -z "$as_dir" && as_dir=. 5605 for ac_exec_ext in '' $ac_executable_extensions; do 5606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5607 ac_cv_prog_ac_ct_CC="gcc" 5608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5609 break 2 5610 fi 5611done 5612 done 5613IFS=$as_save_IFS 5614 5615fi 5616fi 5617ac_ct_CC=$ac_cv_prog_ac_ct_CC 5618if test -n "$ac_ct_CC"; then 5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 5620$as_echo "$ac_ct_CC" >&6; } 5621else 5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5623$as_echo "no" >&6; } 5624fi 5625 5626 if test "x$ac_ct_CC" = x; then 5627 CC="" 5628 else 5629 case $cross_compiling:$ac_tool_warned in 5630yes:) 5631{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5632$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5633ac_tool_warned=yes ;; 5634esac 5635 CC=$ac_ct_CC 5636 fi 5637else 5638 CC="$ac_cv_prog_CC" 5639fi 5640 5641if test -z "$CC"; then 5642 if test -n "$ac_tool_prefix"; then 5643 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 5644set dummy ${ac_tool_prefix}cc; ac_word=$2 5645{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5646$as_echo_n "checking for $ac_word... " >&6; } 5647if test "${ac_cv_prog_CC+set}" = set; then : 5648 $as_echo_n "(cached) " >&6 5649else 5650 if test -n "$CC"; then 5651 ac_cv_prog_CC="$CC" # Let the user override the test. 5652else 5653as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5654for as_dir in $PATH 5655do 5656 IFS=$as_save_IFS 5657 test -z "$as_dir" && as_dir=. 5658 for ac_exec_ext in '' $ac_executable_extensions; do 5659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5660 ac_cv_prog_CC="${ac_tool_prefix}cc" 5661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5662 break 2 5663 fi 5664done 5665 done 5666IFS=$as_save_IFS 5667 5668fi 5669fi 5670CC=$ac_cv_prog_CC 5671if test -n "$CC"; then 5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 5673$as_echo "$CC" >&6; } 5674else 5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5676$as_echo "no" >&6; } 5677fi 5678 5679 5680 fi 5681fi 5682if test -z "$CC"; then 5683 # Extract the first word of "cc", so it can be a program name with args. 5684set dummy cc; ac_word=$2 5685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5686$as_echo_n "checking for $ac_word... " >&6; } 5687if test "${ac_cv_prog_CC+set}" = set; then : 5688 $as_echo_n "(cached) " >&6 5689else 5690 if test -n "$CC"; then 5691 ac_cv_prog_CC="$CC" # Let the user override the test. 5692else 5693 ac_prog_rejected=no 5694as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5695for as_dir in $PATH 5696do 5697 IFS=$as_save_IFS 5698 test -z "$as_dir" && as_dir=. 5699 for ac_exec_ext in '' $ac_executable_extensions; do 5700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5701 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 5702 ac_prog_rejected=yes 5703 continue 5704 fi 5705 ac_cv_prog_CC="cc" 5706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5707 break 2 5708 fi 5709done 5710 done 5711IFS=$as_save_IFS 5712 5713if test $ac_prog_rejected = yes; then 5714 # We found a bogon in the path, so make sure we never use it. 5715 set dummy $ac_cv_prog_CC 5716 shift 5717 if test $# != 0; then 5718 # We chose a different compiler from the bogus one. 5719 # However, it has the same basename, so the bogon will be chosen 5720 # first if we set CC to just the basename; use the full file name. 5721 shift 5722 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 5723 fi 5724fi 5725fi 5726fi 5727CC=$ac_cv_prog_CC 5728if test -n "$CC"; then 5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 5730$as_echo "$CC" >&6; } 5731else 5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5733$as_echo "no" >&6; } 5734fi 5735 5736 5737fi 5738if test -z "$CC"; then 5739 if test -n "$ac_tool_prefix"; then 5740 for ac_prog in cl.exe 5741 do 5742 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5743set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5745$as_echo_n "checking for $ac_word... " >&6; } 5746if test "${ac_cv_prog_CC+set}" = set; then : 5747 $as_echo_n "(cached) " >&6 5748else 5749 if test -n "$CC"; then 5750 ac_cv_prog_CC="$CC" # Let the user override the test. 5751else 5752as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5753for as_dir in $PATH 5754do 5755 IFS=$as_save_IFS 5756 test -z "$as_dir" && as_dir=. 5757 for ac_exec_ext in '' $ac_executable_extensions; do 5758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5759 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 5760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5761 break 2 5762 fi 5763done 5764 done 5765IFS=$as_save_IFS 5766 5767fi 5768fi 5769CC=$ac_cv_prog_CC 5770if test -n "$CC"; then 5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 5772$as_echo "$CC" >&6; } 5773else 5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5775$as_echo "no" >&6; } 5776fi 5777 5778 5779 test -n "$CC" && break 5780 done 5781fi 5782if test -z "$CC"; then 5783 ac_ct_CC=$CC 5784 for ac_prog in cl.exe 5785do 5786 # Extract the first word of "$ac_prog", so it can be a program name with args. 5787set dummy $ac_prog; ac_word=$2 5788{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5789$as_echo_n "checking for $ac_word... " >&6; } 5790if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 5791 $as_echo_n "(cached) " >&6 5792else 5793 if test -n "$ac_ct_CC"; then 5794 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 5795else 5796as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5797for as_dir in $PATH 5798do 5799 IFS=$as_save_IFS 5800 test -z "$as_dir" && as_dir=. 5801 for ac_exec_ext in '' $ac_executable_extensions; do 5802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5803 ac_cv_prog_ac_ct_CC="$ac_prog" 5804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5805 break 2 5806 fi 5807done 5808 done 5809IFS=$as_save_IFS 5810 5811fi 5812fi 5813ac_ct_CC=$ac_cv_prog_ac_ct_CC 5814if test -n "$ac_ct_CC"; then 5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 5816$as_echo "$ac_ct_CC" >&6; } 5817else 5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5819$as_echo "no" >&6; } 5820fi 5821 5822 5823 test -n "$ac_ct_CC" && break 5824done 5825 5826 if test "x$ac_ct_CC" = x; then 5827 CC="" 5828 else 5829 case $cross_compiling:$ac_tool_warned in 5830yes:) 5831{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5832$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5833ac_tool_warned=yes ;; 5834esac 5835 CC=$ac_ct_CC 5836 fi 5837fi 5838 5839fi 5840 5841 5842test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5843$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5844as_fn_error "no acceptable C compiler found in \$PATH 5845See \`config.log' for more details." "$LINENO" 5; } 5846 5847# Provide some information about the compiler. 5848$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 5849set X $ac_compile 5850ac_compiler=$2 5851for ac_option in --version -v -V -qversion; do 5852 { { ac_try="$ac_compiler $ac_option >&5" 5853case "(($ac_try" in 5854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5855 *) ac_try_echo=$ac_try;; 5856esac 5857eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5858$as_echo "$ac_try_echo"; } >&5 5859 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 5860 ac_status=$? 5861 if test -s conftest.err; then 5862 sed '10a\ 5863... rest of stderr output deleted ... 5864 10q' conftest.err >conftest.er1 5865 cat conftest.er1 >&5 5866 fi 5867 rm -f conftest.er1 conftest.err 5868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5869 test $ac_status = 0; } 5870done 5871 5872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 5873$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 5874if test "${ac_cv_c_compiler_gnu+set}" = set; then : 5875 $as_echo_n "(cached) " >&6 5876else 5877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5878/* end confdefs.h. */ 5879 5880int 5881main () 5882{ 5883#ifndef __GNUC__ 5884 choke me 5885#endif 5886 5887 ; 5888 return 0; 5889} 5890_ACEOF 5891if ac_fn_c_try_compile "$LINENO"; then : 5892 ac_compiler_gnu=yes 5893else 5894 ac_compiler_gnu=no 5895fi 5896rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5897ac_cv_c_compiler_gnu=$ac_compiler_gnu 5898 5899fi 5900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 5901$as_echo "$ac_cv_c_compiler_gnu" >&6; } 5902if test $ac_compiler_gnu = yes; then 5903 GCC=yes 5904else 5905 GCC= 5906fi 5907ac_test_CFLAGS=${CFLAGS+set} 5908ac_save_CFLAGS=$CFLAGS 5909{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 5910$as_echo_n "checking whether $CC accepts -g... " >&6; } 5911if test "${ac_cv_prog_cc_g+set}" = set; then : 5912 $as_echo_n "(cached) " >&6 5913else 5914 ac_save_c_werror_flag=$ac_c_werror_flag 5915 ac_c_werror_flag=yes 5916 ac_cv_prog_cc_g=no 5917 CFLAGS="-g" 5918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5919/* end confdefs.h. */ 5920 5921int 5922main () 5923{ 5924 5925 ; 5926 return 0; 5927} 5928_ACEOF 5929if ac_fn_c_try_compile "$LINENO"; then : 5930 ac_cv_prog_cc_g=yes 5931else 5932 CFLAGS="" 5933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5934/* end confdefs.h. */ 5935 5936int 5937main () 5938{ 5939 5940 ; 5941 return 0; 5942} 5943_ACEOF 5944if ac_fn_c_try_compile "$LINENO"; then : 5945 5946else 5947 ac_c_werror_flag=$ac_save_c_werror_flag 5948 CFLAGS="-g" 5949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5950/* end confdefs.h. */ 5951 5952int 5953main () 5954{ 5955 5956 ; 5957 return 0; 5958} 5959_ACEOF 5960if ac_fn_c_try_compile "$LINENO"; then : 5961 ac_cv_prog_cc_g=yes 5962fi 5963rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5964fi 5965rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5966fi 5967rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5968 ac_c_werror_flag=$ac_save_c_werror_flag 5969fi 5970{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 5971$as_echo "$ac_cv_prog_cc_g" >&6; } 5972if test "$ac_test_CFLAGS" = set; then 5973 CFLAGS=$ac_save_CFLAGS 5974elif test $ac_cv_prog_cc_g = yes; then 5975 if test "$GCC" = yes; then 5976 CFLAGS="-g -O2" 5977 else 5978 CFLAGS="-g" 5979 fi 5980else 5981 if test "$GCC" = yes; then 5982 CFLAGS="-O2" 5983 else 5984 CFLAGS= 5985 fi 5986fi 5987{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 5988$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 5989if test "${ac_cv_prog_cc_c89+set}" = set; then : 5990 $as_echo_n "(cached) " >&6 5991else 5992 ac_cv_prog_cc_c89=no 5993ac_save_CC=$CC 5994cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5995/* end confdefs.h. */ 5996#include <stdarg.h> 5997#include <stdio.h> 5998#include <sys/types.h> 5999#include <sys/stat.h> 6000/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 6001struct buf { int x; }; 6002FILE * (*rcsopen) (struct buf *, struct stat *, int); 6003static char *e (p, i) 6004 char **p; 6005 int i; 6006{ 6007 return p[i]; 6008} 6009static char *f (char * (*g) (char **, int), char **p, ...) 6010{ 6011 char *s; 6012 va_list v; 6013 va_start (v,p); 6014 s = g (p, va_arg (v,int)); 6015 va_end (v); 6016 return s; 6017} 6018 6019/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 6020 function prototypes and stuff, but not '\xHH' hex character constants. 6021 These don't provoke an error unfortunately, instead are silently treated 6022 as 'x'. The following induces an error, until -std is added to get 6023 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 6024 array size at least. It's necessary to write '\x00'==0 to get something 6025 that's true only with -std. */ 6026int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 6027 6028/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 6029 inside strings and character constants. */ 6030#define FOO(x) 'x' 6031int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 6032 6033int test (int i, double x); 6034struct s1 {int (*f) (int a);}; 6035struct s2 {int (*f) (double a);}; 6036int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 6037int argc; 6038char **argv; 6039int 6040main () 6041{ 6042return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 6043 ; 6044 return 0; 6045} 6046_ACEOF 6047for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 6048 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 6049do 6050 CC="$ac_save_CC $ac_arg" 6051 if ac_fn_c_try_compile "$LINENO"; then : 6052 ac_cv_prog_cc_c89=$ac_arg 6053fi 6054rm -f core conftest.err conftest.$ac_objext 6055 test "x$ac_cv_prog_cc_c89" != "xno" && break 6056done 6057rm -f conftest.$ac_ext 6058CC=$ac_save_CC 6059 6060fi 6061# AC_CACHE_VAL 6062case "x$ac_cv_prog_cc_c89" in 6063 x) 6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 6065$as_echo "none needed" >&6; } ;; 6066 xno) 6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 6068$as_echo "unsupported" >&6; } ;; 6069 *) 6070 CC="$CC $ac_cv_prog_cc_c89" 6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 6072$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 6073esac 6074if test "x$ac_cv_prog_cc_c89" != xno; then : 6075 6076fi 6077 6078ac_ext=c 6079ac_cpp='$CPP $CPPFLAGS' 6080ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6081ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6082ac_compiler_gnu=$ac_cv_c_compiler_gnu 6083 6084depcc="$CC" am_compiler_list= 6085 6086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 6087$as_echo_n "checking dependency style of $depcc... " >&6; } 6088if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 6089 $as_echo_n "(cached) " >&6 6090else 6091 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 6092 # We make a subdir and do the tests there. Otherwise we can end up 6093 # making bogus files that we don't know about and never remove. For 6094 # instance it was reported that on HP-UX the gcc test will end up 6095 # making a dummy file named `D' -- because `-MD' means `put the output 6096 # in D'. 6097 mkdir conftest.dir 6098 # Copy depcomp to subdir because otherwise we won't find it if we're 6099 # using a relative directory. 6100 cp "$am_depcomp" conftest.dir 6101 cd conftest.dir 6102 # We will build objects and dependencies in a subdirectory because 6103 # it helps to detect inapplicable dependency modes. For instance 6104 # both Tru64's cc and ICC support -MD to output dependencies as a 6105 # side effect of compilation, but ICC will put the dependencies in 6106 # the current directory while Tru64 will put them in the object 6107 # directory. 6108 mkdir sub 6109 6110 am_cv_CC_dependencies_compiler_type=none 6111 if test "$am_compiler_list" = ""; then 6112 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 6113 fi 6114 am__universal=false 6115 case " $depcc " in #( 6116 *\ -arch\ *\ -arch\ *) am__universal=true ;; 6117 esac 6118 6119 for depmode in $am_compiler_list; do 6120 # Setup a source with many dependencies, because some compilers 6121 # like to wrap large dependency lists on column 80 (with \), and 6122 # we should not choose a depcomp mode which is confused by this. 6123 # 6124 # We need to recreate these files for each test, as the compiler may 6125 # overwrite some of them when testing with obscure command lines. 6126 # This happens at least with the AIX C compiler. 6127 : > sub/conftest.c 6128 for i in 1 2 3 4 5 6; do 6129 echo '#include "conftst'$i'.h"' >> sub/conftest.c 6130 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 6131 # Solaris 8's {/usr,}/bin/sh. 6132 touch sub/conftst$i.h 6133 done 6134 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 6135 6136 # We check with `-c' and `-o' for the sake of the "dashmstdout" 6137 # mode. It turns out that the SunPro C++ compiler does not properly 6138 # handle `-M -o', and we need to detect this. Also, some Intel 6139 # versions had trouble with output in subdirs 6140 am__obj=sub/conftest.${OBJEXT-o} 6141 am__minus_obj="-o $am__obj" 6142 case $depmode in 6143 gcc) 6144 # This depmode causes a compiler race in universal mode. 6145 test "$am__universal" = false || continue 6146 ;; 6147 nosideeffect) 6148 # after this tag, mechanisms are not by side-effect, so they'll 6149 # only be used when explicitly requested 6150 if test "x$enable_dependency_tracking" = xyes; then 6151 continue 6152 else 6153 break 6154 fi 6155 ;; 6156 msvisualcpp | msvcmsys) 6157 # This compiler won't grok `-c -o', but also, the minuso test has 6158 # not run yet. These depmodes are late enough in the game, and 6159 # so weak that their functioning should not be impacted. 6160 am__obj=conftest.${OBJEXT-o} 6161 am__minus_obj= 6162 ;; 6163 none) break ;; 6164 esac 6165 if depmode=$depmode \ 6166 source=sub/conftest.c object=$am__obj \ 6167 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 6168 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 6169 >/dev/null 2>conftest.err && 6170 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 6171 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 6172 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 6173 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 6174 # icc doesn't choke on unknown options, it will just issue warnings 6175 # or remarks (even with -Werror). So we grep stderr for any message 6176 # that says an option was ignored or not supported. 6177 # When given -MP, icc 7.0 and 7.1 complain thusly: 6178 # icc: Command line warning: ignoring option '-M'; no argument required 6179 # The diagnosis changed in icc 8.0: 6180 # icc: Command line remark: option '-MP' not supported 6181 if (grep 'ignoring option' conftest.err || 6182 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 6183 am_cv_CC_dependencies_compiler_type=$depmode 6184 break 6185 fi 6186 fi 6187 done 6188 6189 cd .. 6190 rm -rf conftest.dir 6191else 6192 am_cv_CC_dependencies_compiler_type=none 6193fi 6194 6195fi 6196{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 6197$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 6198CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 6199 6200 if 6201 test "x$enable_dependency_tracking" != xno \ 6202 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 6203 am__fastdepCC_TRUE= 6204 am__fastdepCC_FALSE='#' 6205else 6206 am__fastdepCC_TRUE='#' 6207 am__fastdepCC_FALSE= 6208fi 6209 6210 6211# Check whether --enable-static was given. 6212if test "${enable_static+set}" = set; then : 6213 enableval=$enable_static; p=${PACKAGE-default} 6214 case $enableval in 6215 yes) enable_static=yes ;; 6216 no) enable_static=no ;; 6217 *) 6218 enable_static=no 6219 # Look at the argument we got. We use all the common list separators. 6220 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 6221 for pkg in $enableval; do 6222 IFS="$lt_save_ifs" 6223 if test "X$pkg" = "X$p"; then 6224 enable_static=yes 6225 fi 6226 done 6227 IFS="$lt_save_ifs" 6228 ;; 6229 esac 6230else 6231 enable_static=no 6232fi 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242enable_dlopen=yes 6243 6244 6245 6246case `pwd` in 6247 *\ * | *\ *) 6248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 6249$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 6250esac 6251 6252 6253 6254macro_version='2.2.6b' 6255macro_revision='1.3017' 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269ltmain="$ac_aux_dir/ltmain.sh" 6270 6271# Make sure we can run config.sub. 6272$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 6273 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 6274 6275{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 6276$as_echo_n "checking build system type... " >&6; } 6277if test "${ac_cv_build+set}" = set; then : 6278 $as_echo_n "(cached) " >&6 6279else 6280 ac_build_alias=$build_alias 6281test "x$ac_build_alias" = x && 6282 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 6283test "x$ac_build_alias" = x && 6284 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 6285ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 6286 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 6287 6288fi 6289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 6290$as_echo "$ac_cv_build" >&6; } 6291case $ac_cv_build in 6292*-*-*) ;; 6293*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 6294esac 6295build=$ac_cv_build 6296ac_save_IFS=$IFS; IFS='-' 6297set x $ac_cv_build 6298shift 6299build_cpu=$1 6300build_vendor=$2 6301shift; shift 6302# Remember, the first character of IFS is used to create $*, 6303# except with old shells: 6304build_os=$* 6305IFS=$ac_save_IFS 6306case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 6307 6308 6309{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 6310$as_echo_n "checking host system type... " >&6; } 6311if test "${ac_cv_host+set}" = set; then : 6312 $as_echo_n "(cached) " >&6 6313else 6314 if test "x$host_alias" = x; then 6315 ac_cv_host=$ac_cv_build 6316else 6317 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 6318 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 6319fi 6320 6321fi 6322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 6323$as_echo "$ac_cv_host" >&6; } 6324case $ac_cv_host in 6325*-*-*) ;; 6326*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 6327esac 6328host=$ac_cv_host 6329ac_save_IFS=$IFS; IFS='-' 6330set x $ac_cv_host 6331shift 6332host_cpu=$1 6333host_vendor=$2 6334shift; shift 6335# Remember, the first character of IFS is used to create $*, 6336# except with old shells: 6337host_os=$* 6338IFS=$ac_save_IFS 6339case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 6340 6341 6342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 6343$as_echo_n "checking for a sed that does not truncate output... " >&6; } 6344if test "${ac_cv_path_SED+set}" = set; then : 6345 $as_echo_n "(cached) " >&6 6346else 6347 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 6348 for ac_i in 1 2 3 4 5 6 7; do 6349 ac_script="$ac_script$as_nl$ac_script" 6350 done 6351 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 6352 { ac_script=; unset ac_script;} 6353 if test -z "$SED"; then 6354 ac_path_SED_found=false 6355 # Loop through the user's path and test for each of PROGNAME-LIST 6356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6357for as_dir in $PATH 6358do 6359 IFS=$as_save_IFS 6360 test -z "$as_dir" && as_dir=. 6361 for ac_prog in sed gsed; do 6362 for ac_exec_ext in '' $ac_executable_extensions; do 6363 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 6364 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 6365# Check for GNU ac_path_SED and select it if it is found. 6366 # Check for GNU $ac_path_SED 6367case `"$ac_path_SED" --version 2>&1` in 6368*GNU*) 6369 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 6370*) 6371 ac_count=0 6372 $as_echo_n 0123456789 >"conftest.in" 6373 while : 6374 do 6375 cat "conftest.in" "conftest.in" >"conftest.tmp" 6376 mv "conftest.tmp" "conftest.in" 6377 cp "conftest.in" "conftest.nl" 6378 $as_echo '' >> "conftest.nl" 6379 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 6380 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6381 as_fn_arith $ac_count + 1 && ac_count=$as_val 6382 if test $ac_count -gt ${ac_path_SED_max-0}; then 6383 # Best one so far, save it but keep looking for a better one 6384 ac_cv_path_SED="$ac_path_SED" 6385 ac_path_SED_max=$ac_count 6386 fi 6387 # 10*(2^10) chars as input seems more than enough 6388 test $ac_count -gt 10 && break 6389 done 6390 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6391esac 6392 6393 $ac_path_SED_found && break 3 6394 done 6395 done 6396 done 6397IFS=$as_save_IFS 6398 if test -z "$ac_cv_path_SED"; then 6399 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 6400 fi 6401else 6402 ac_cv_path_SED=$SED 6403fi 6404 6405fi 6406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 6407$as_echo "$ac_cv_path_SED" >&6; } 6408 SED="$ac_cv_path_SED" 6409 rm -f conftest.sed 6410 6411test -z "$SED" && SED=sed 6412Xsed="$SED -e 1s/^X//" 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 6425$as_echo_n "checking for fgrep... " >&6; } 6426if test "${ac_cv_path_FGREP+set}" = set; then : 6427 $as_echo_n "(cached) " >&6 6428else 6429 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 6430 then ac_cv_path_FGREP="$GREP -F" 6431 else 6432 if test -z "$FGREP"; then 6433 ac_path_FGREP_found=false 6434 # Loop through the user's path and test for each of PROGNAME-LIST 6435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6436for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 6437do 6438 IFS=$as_save_IFS 6439 test -z "$as_dir" && as_dir=. 6440 for ac_prog in fgrep; do 6441 for ac_exec_ext in '' $ac_executable_extensions; do 6442 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 6443 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 6444# Check for GNU ac_path_FGREP and select it if it is found. 6445 # Check for GNU $ac_path_FGREP 6446case `"$ac_path_FGREP" --version 2>&1` in 6447*GNU*) 6448 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 6449*) 6450 ac_count=0 6451 $as_echo_n 0123456789 >"conftest.in" 6452 while : 6453 do 6454 cat "conftest.in" "conftest.in" >"conftest.tmp" 6455 mv "conftest.tmp" "conftest.in" 6456 cp "conftest.in" "conftest.nl" 6457 $as_echo 'FGREP' >> "conftest.nl" 6458 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 6459 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6460 as_fn_arith $ac_count + 1 && ac_count=$as_val 6461 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 6462 # Best one so far, save it but keep looking for a better one 6463 ac_cv_path_FGREP="$ac_path_FGREP" 6464 ac_path_FGREP_max=$ac_count 6465 fi 6466 # 10*(2^10) chars as input seems more than enough 6467 test $ac_count -gt 10 && break 6468 done 6469 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6470esac 6471 6472 $ac_path_FGREP_found && break 3 6473 done 6474 done 6475 done 6476IFS=$as_save_IFS 6477 if test -z "$ac_cv_path_FGREP"; then 6478 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 6479 fi 6480else 6481 ac_cv_path_FGREP=$FGREP 6482fi 6483 6484 fi 6485fi 6486{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 6487$as_echo "$ac_cv_path_FGREP" >&6; } 6488 FGREP="$ac_cv_path_FGREP" 6489 6490 6491test -z "$GREP" && GREP=grep 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511# Check whether --with-gnu-ld was given. 6512if test "${with_gnu_ld+set}" = set; then : 6513 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 6514else 6515 with_gnu_ld=no 6516fi 6517 6518ac_prog=ld 6519if test "$GCC" = yes; then 6520 # Check if gcc -print-prog-name=ld gives a path. 6521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 6522$as_echo_n "checking for ld used by $CC... " >&6; } 6523 case $host in 6524 *-*-mingw*) 6525 # gcc leaves a trailing carriage return which upsets mingw 6526 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 6527 *) 6528 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 6529 esac 6530 case $ac_prog in 6531 # Accept absolute paths. 6532 [\\/]* | ?:[\\/]*) 6533 re_direlt='/[^/][^/]*/\.\./' 6534 # Canonicalize the pathname of ld 6535 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 6536 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 6537 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 6538 done 6539 test -z "$LD" && LD="$ac_prog" 6540 ;; 6541 "") 6542 # If it fails, then pretend we aren't using GCC. 6543 ac_prog=ld 6544 ;; 6545 *) 6546 # If it is relative, then search for the first ld in PATH. 6547 with_gnu_ld=unknown 6548 ;; 6549 esac 6550elif test "$with_gnu_ld" = yes; then 6551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 6552$as_echo_n "checking for GNU ld... " >&6; } 6553else 6554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 6555$as_echo_n "checking for non-GNU ld... " >&6; } 6556fi 6557if test "${lt_cv_path_LD+set}" = set; then : 6558 $as_echo_n "(cached) " >&6 6559else 6560 if test -z "$LD"; then 6561 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 6562 for ac_dir in $PATH; do 6563 IFS="$lt_save_ifs" 6564 test -z "$ac_dir" && ac_dir=. 6565 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 6566 lt_cv_path_LD="$ac_dir/$ac_prog" 6567 # Check to see if the program is GNU ld. I'd rather use --version, 6568 # but apparently some variants of GNU ld only accept -v. 6569 # Break only if it was the GNU/non-GNU ld that we prefer. 6570 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 6571 *GNU* | *'with BFD'*) 6572 test "$with_gnu_ld" != no && break 6573 ;; 6574 *) 6575 test "$with_gnu_ld" != yes && break 6576 ;; 6577 esac 6578 fi 6579 done 6580 IFS="$lt_save_ifs" 6581else 6582 lt_cv_path_LD="$LD" # Let the user override the test with a path. 6583fi 6584fi 6585 6586LD="$lt_cv_path_LD" 6587if test -n "$LD"; then 6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 6589$as_echo "$LD" >&6; } 6590else 6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6592$as_echo "no" >&6; } 6593fi 6594test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 6595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 6596$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 6597if test "${lt_cv_prog_gnu_ld+set}" = set; then : 6598 $as_echo_n "(cached) " >&6 6599else 6600 # I'd rather use --version here, but apparently some GNU lds only accept -v. 6601case `$LD -v 2>&1 </dev/null` in 6602*GNU* | *'with BFD'*) 6603 lt_cv_prog_gnu_ld=yes 6604 ;; 6605*) 6606 lt_cv_prog_gnu_ld=no 6607 ;; 6608esac 6609fi 6610{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 6611$as_echo "$lt_cv_prog_gnu_ld" >&6; } 6612with_gnu_ld=$lt_cv_prog_gnu_ld 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 6623$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 6624if test "${lt_cv_path_NM+set}" = set; then : 6625 $as_echo_n "(cached) " >&6 6626else 6627 if test -n "$NM"; then 6628 # Let the user override the test. 6629 lt_cv_path_NM="$NM" 6630else 6631 lt_nm_to_check="${ac_tool_prefix}nm" 6632 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 6633 lt_nm_to_check="$lt_nm_to_check nm" 6634 fi 6635 for lt_tmp_nm in $lt_nm_to_check; do 6636 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 6637 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 6638 IFS="$lt_save_ifs" 6639 test -z "$ac_dir" && ac_dir=. 6640 tmp_nm="$ac_dir/$lt_tmp_nm" 6641 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 6642 # Check to see if the nm accepts a BSD-compat flag. 6643 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 6644 # nm: unknown option "B" ignored 6645 # Tru64's nm complains that /dev/null is an invalid object file 6646 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 6647 */dev/null* | *'Invalid file or object type'*) 6648 lt_cv_path_NM="$tmp_nm -B" 6649 break 6650 ;; 6651 *) 6652 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 6653 */dev/null*) 6654 lt_cv_path_NM="$tmp_nm -p" 6655 break 6656 ;; 6657 *) 6658 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 6659 continue # so that we can try to find one that supports BSD flags 6660 ;; 6661 esac 6662 ;; 6663 esac 6664 fi 6665 done 6666 IFS="$lt_save_ifs" 6667 done 6668 : ${lt_cv_path_NM=no} 6669fi 6670fi 6671{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 6672$as_echo "$lt_cv_path_NM" >&6; } 6673if test "$lt_cv_path_NM" != "no"; then 6674 NM="$lt_cv_path_NM" 6675else 6676 # Didn't find any BSD compatible name lister, look for dumpbin. 6677 if test -n "$ac_tool_prefix"; then 6678 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 6679 do 6680 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6681set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6683$as_echo_n "checking for $ac_word... " >&6; } 6684if test "${ac_cv_prog_DUMPBIN+set}" = set; then : 6685 $as_echo_n "(cached) " >&6 6686else 6687 if test -n "$DUMPBIN"; then 6688 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 6689else 6690as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6691for as_dir in $PATH 6692do 6693 IFS=$as_save_IFS 6694 test -z "$as_dir" && as_dir=. 6695 for ac_exec_ext in '' $ac_executable_extensions; do 6696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6697 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 6698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6699 break 2 6700 fi 6701done 6702 done 6703IFS=$as_save_IFS 6704 6705fi 6706fi 6707DUMPBIN=$ac_cv_prog_DUMPBIN 6708if test -n "$DUMPBIN"; then 6709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 6710$as_echo "$DUMPBIN" >&6; } 6711else 6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6713$as_echo "no" >&6; } 6714fi 6715 6716 6717 test -n "$DUMPBIN" && break 6718 done 6719fi 6720if test -z "$DUMPBIN"; then 6721 ac_ct_DUMPBIN=$DUMPBIN 6722 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 6723do 6724 # Extract the first word of "$ac_prog", so it can be a program name with args. 6725set dummy $ac_prog; ac_word=$2 6726{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6727$as_echo_n "checking for $ac_word... " >&6; } 6728if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : 6729 $as_echo_n "(cached) " >&6 6730else 6731 if test -n "$ac_ct_DUMPBIN"; then 6732 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 6733else 6734as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6735for as_dir in $PATH 6736do 6737 IFS=$as_save_IFS 6738 test -z "$as_dir" && as_dir=. 6739 for ac_exec_ext in '' $ac_executable_extensions; do 6740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6741 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 6742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6743 break 2 6744 fi 6745done 6746 done 6747IFS=$as_save_IFS 6748 6749fi 6750fi 6751ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 6752if test -n "$ac_ct_DUMPBIN"; then 6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 6754$as_echo "$ac_ct_DUMPBIN" >&6; } 6755else 6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6757$as_echo "no" >&6; } 6758fi 6759 6760 6761 test -n "$ac_ct_DUMPBIN" && break 6762done 6763 6764 if test "x$ac_ct_DUMPBIN" = x; then 6765 DUMPBIN=":" 6766 else 6767 case $cross_compiling:$ac_tool_warned in 6768yes:) 6769{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6770$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6771ac_tool_warned=yes ;; 6772esac 6773 DUMPBIN=$ac_ct_DUMPBIN 6774 fi 6775fi 6776 6777 6778 if test "$DUMPBIN" != ":"; then 6779 NM="$DUMPBIN" 6780 fi 6781fi 6782test -z "$NM" && NM=nm 6783 6784 6785 6786 6787 6788 6789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 6790$as_echo_n "checking the name lister ($NM) interface... " >&6; } 6791if test "${lt_cv_nm_interface+set}" = set; then : 6792 $as_echo_n "(cached) " >&6 6793else 6794 lt_cv_nm_interface="BSD nm" 6795 echo "int some_variable = 0;" > conftest.$ac_ext 6796 (eval echo "\"\$as_me:6796: $ac_compile\"" >&5) 6797 (eval "$ac_compile" 2>conftest.err) 6798 cat conftest.err >&5 6799 (eval echo "\"\$as_me:6799: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 6800 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 6801 cat conftest.err >&5 6802 (eval echo "\"\$as_me:6802: output\"" >&5) 6803 cat conftest.out >&5 6804 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 6805 lt_cv_nm_interface="MS dumpbin" 6806 fi 6807 rm -f conftest* 6808fi 6809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 6810$as_echo "$lt_cv_nm_interface" >&6; } 6811 6812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 6813$as_echo_n "checking whether ln -s works... " >&6; } 6814LN_S=$as_ln_s 6815if test "$LN_S" = "ln -s"; then 6816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6817$as_echo "yes" >&6; } 6818else 6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 6820$as_echo "no, using $LN_S" >&6; } 6821fi 6822 6823# find the maximum length of command line arguments 6824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 6825$as_echo_n "checking the maximum length of command line arguments... " >&6; } 6826if test "${lt_cv_sys_max_cmd_len+set}" = set; then : 6827 $as_echo_n "(cached) " >&6 6828else 6829 i=0 6830 teststring="ABCD" 6831 6832 case $build_os in 6833 msdosdjgpp*) 6834 # On DJGPP, this test can blow up pretty badly due to problems in libc 6835 # (any single argument exceeding 2000 bytes causes a buffer overrun 6836 # during glob expansion). Even if it were fixed, the result of this 6837 # check would be larger than it should be. 6838 lt_cv_sys_max_cmd_len=12288; # 12K is about right 6839 ;; 6840 6841 gnu*) 6842 # Under GNU Hurd, this test is not required because there is 6843 # no limit to the length of command line arguments. 6844 # Libtool will interpret -1 as no limit whatsoever 6845 lt_cv_sys_max_cmd_len=-1; 6846 ;; 6847 6848 cygwin* | mingw* | cegcc*) 6849 # On Win9x/ME, this test blows up -- it succeeds, but takes 6850 # about 5 minutes as the teststring grows exponentially. 6851 # Worse, since 9x/ME are not pre-emptively multitasking, 6852 # you end up with a "frozen" computer, even though with patience 6853 # the test eventually succeeds (with a max line length of 256k). 6854 # Instead, let's just punt: use the minimum linelength reported by 6855 # all of the supported platforms: 8192 (on NT/2K/XP). 6856 lt_cv_sys_max_cmd_len=8192; 6857 ;; 6858 6859 amigaos*) 6860 # On AmigaOS with pdksh, this test takes hours, literally. 6861 # So we just punt and use a minimum line length of 8192. 6862 lt_cv_sys_max_cmd_len=8192; 6863 ;; 6864 6865 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 6866 # This has been around since 386BSD, at least. Likely further. 6867 if test -x /sbin/sysctl; then 6868 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 6869 elif test -x /usr/sbin/sysctl; then 6870 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 6871 else 6872 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 6873 fi 6874 # And add a safety zone 6875 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6876 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6877 ;; 6878 6879 interix*) 6880 # We know the value 262144 and hardcode it with a safety zone (like BSD) 6881 lt_cv_sys_max_cmd_len=196608 6882 ;; 6883 6884 osf*) 6885 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 6886 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 6887 # nice to cause kernel panics so lets avoid the loop below. 6888 # First set a reasonable default. 6889 lt_cv_sys_max_cmd_len=16384 6890 # 6891 if test -x /sbin/sysconfig; then 6892 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 6893 *1*) lt_cv_sys_max_cmd_len=-1 ;; 6894 esac 6895 fi 6896 ;; 6897 sco3.2v5*) 6898 lt_cv_sys_max_cmd_len=102400 6899 ;; 6900 sysv5* | sco5v6* | sysv4.2uw2*) 6901 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 6902 if test -n "$kargmax"; then 6903 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 6904 else 6905 lt_cv_sys_max_cmd_len=32768 6906 fi 6907 ;; 6908 *) 6909 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 6910 if test -n "$lt_cv_sys_max_cmd_len"; then 6911 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6912 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6913 else 6914 # Make teststring a little bigger before we do anything with it. 6915 # a 1K string should be a reasonable start. 6916 for i in 1 2 3 4 5 6 7 8 ; do 6917 teststring=$teststring$teststring 6918 done 6919 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 6920 # If test is not a shell built-in, we'll probably end up computing a 6921 # maximum length that is only half of the actual maximum length, but 6922 # we can't tell. 6923 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ 6924 = "XX$teststring$teststring"; } >/dev/null 2>&1 && 6925 test $i != 17 # 1/2 MB should be enough 6926 do 6927 i=`expr $i + 1` 6928 teststring=$teststring$teststring 6929 done 6930 # Only check the string length outside the loop. 6931 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 6932 teststring= 6933 # Add a significant safety factor because C++ compilers can tack on 6934 # massive amounts of additional arguments before passing them to the 6935 # linker. It appears as though 1/2 is a usable value. 6936 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 6937 fi 6938 ;; 6939 esac 6940 6941fi 6942 6943if test -n $lt_cv_sys_max_cmd_len ; then 6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 6945$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 6946else 6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 6948$as_echo "none" >&6; } 6949fi 6950max_cmd_len=$lt_cv_sys_max_cmd_len 6951 6952 6953 6954 6955 6956 6957: ${CP="cp -f"} 6958: ${MV="mv -f"} 6959: ${RM="rm -f"} 6960 6961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 6962$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 6963# Try some XSI features 6964xsi_shell=no 6965( _lt_dummy="a/b/c" 6966 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ 6967 = c,a/b,, \ 6968 && eval 'test $(( 1 + 1 )) -eq 2 \ 6969 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 6970 && xsi_shell=yes 6971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 6972$as_echo "$xsi_shell" >&6; } 6973 6974 6975{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 6976$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 6977lt_shell_append=no 6978( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 6979 >/dev/null 2>&1 \ 6980 && lt_shell_append=yes 6981{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 6982$as_echo "$lt_shell_append" >&6; } 6983 6984 6985if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 6986 lt_unset=unset 6987else 6988 lt_unset=false 6989fi 6990 6991 6992 6993 6994 6995# test EBCDIC or ASCII 6996case `echo X|tr X '\101'` in 6997 A) # ASCII based system 6998 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 6999 lt_SP2NL='tr \040 \012' 7000 lt_NL2SP='tr \015\012 \040\040' 7001 ;; 7002 *) # EBCDIC based system 7003 lt_SP2NL='tr \100 \n' 7004 lt_NL2SP='tr \r\n \100\100' 7005 ;; 7006esac 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 7017$as_echo_n "checking for $LD option to reload object files... " >&6; } 7018if test "${lt_cv_ld_reload_flag+set}" = set; then : 7019 $as_echo_n "(cached) " >&6 7020else 7021 lt_cv_ld_reload_flag='-r' 7022fi 7023{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 7024$as_echo "$lt_cv_ld_reload_flag" >&6; } 7025reload_flag=$lt_cv_ld_reload_flag 7026case $reload_flag in 7027"" | " "*) ;; 7028*) reload_flag=" $reload_flag" ;; 7029esac 7030reload_cmds='$LD$reload_flag -o $output$reload_objs' 7031case $host_os in 7032 darwin*) 7033 if test "$GCC" = yes; then 7034 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 7035 else 7036 reload_cmds='$LD$reload_flag -o $output$reload_objs' 7037 fi 7038 ;; 7039esac 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049if test -n "$ac_tool_prefix"; then 7050 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 7051set dummy ${ac_tool_prefix}objdump; ac_word=$2 7052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7053$as_echo_n "checking for $ac_word... " >&6; } 7054if test "${ac_cv_prog_OBJDUMP+set}" = set; then : 7055 $as_echo_n "(cached) " >&6 7056else 7057 if test -n "$OBJDUMP"; then 7058 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 7059else 7060as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7061for as_dir in $PATH 7062do 7063 IFS=$as_save_IFS 7064 test -z "$as_dir" && as_dir=. 7065 for ac_exec_ext in '' $ac_executable_extensions; do 7066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7067 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 7068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7069 break 2 7070 fi 7071done 7072 done 7073IFS=$as_save_IFS 7074 7075fi 7076fi 7077OBJDUMP=$ac_cv_prog_OBJDUMP 7078if test -n "$OBJDUMP"; then 7079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 7080$as_echo "$OBJDUMP" >&6; } 7081else 7082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7083$as_echo "no" >&6; } 7084fi 7085 7086 7087fi 7088if test -z "$ac_cv_prog_OBJDUMP"; then 7089 ac_ct_OBJDUMP=$OBJDUMP 7090 # Extract the first word of "objdump", so it can be a program name with args. 7091set dummy objdump; ac_word=$2 7092{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7093$as_echo_n "checking for $ac_word... " >&6; } 7094if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : 7095 $as_echo_n "(cached) " >&6 7096else 7097 if test -n "$ac_ct_OBJDUMP"; then 7098 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 7099else 7100as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7101for as_dir in $PATH 7102do 7103 IFS=$as_save_IFS 7104 test -z "$as_dir" && as_dir=. 7105 for ac_exec_ext in '' $ac_executable_extensions; do 7106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7107 ac_cv_prog_ac_ct_OBJDUMP="objdump" 7108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7109 break 2 7110 fi 7111done 7112 done 7113IFS=$as_save_IFS 7114 7115fi 7116fi 7117ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 7118if test -n "$ac_ct_OBJDUMP"; then 7119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 7120$as_echo "$ac_ct_OBJDUMP" >&6; } 7121else 7122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7123$as_echo "no" >&6; } 7124fi 7125 7126 if test "x$ac_ct_OBJDUMP" = x; then 7127 OBJDUMP="false" 7128 else 7129 case $cross_compiling:$ac_tool_warned in 7130yes:) 7131{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7132$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7133ac_tool_warned=yes ;; 7134esac 7135 OBJDUMP=$ac_ct_OBJDUMP 7136 fi 7137else 7138 OBJDUMP="$ac_cv_prog_OBJDUMP" 7139fi 7140 7141test -z "$OBJDUMP" && OBJDUMP=objdump 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 7152$as_echo_n "checking how to recognize dependent libraries... " >&6; } 7153if test "${lt_cv_deplibs_check_method+set}" = set; then : 7154 $as_echo_n "(cached) " >&6 7155else 7156 lt_cv_file_magic_cmd='$MAGIC_CMD' 7157lt_cv_file_magic_test_file= 7158lt_cv_deplibs_check_method='unknown' 7159# Need to set the preceding variable on all platforms that support 7160# interlibrary dependencies. 7161# 'none' -- dependencies not supported. 7162# `unknown' -- same as none, but documents that we really don't know. 7163# 'pass_all' -- all dependencies passed with no checks. 7164# 'test_compile' -- check by making test program. 7165# 'file_magic [[regex]]' -- check by looking for files in library path 7166# which responds to the $file_magic_cmd with a given extended regex. 7167# If you have `file' or equivalent on your system and you're not sure 7168# whether `pass_all' will *always* work, you probably want this one. 7169 7170case $host_os in 7171aix[4-9]*) 7172 lt_cv_deplibs_check_method=pass_all 7173 ;; 7174 7175beos*) 7176 lt_cv_deplibs_check_method=pass_all 7177 ;; 7178 7179bsdi[45]*) 7180 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 7181 lt_cv_file_magic_cmd='/usr/bin/file -L' 7182 lt_cv_file_magic_test_file=/shlib/libc.so 7183 ;; 7184 7185cygwin*) 7186 # func_win32_libid is a shell function defined in ltmain.sh 7187 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 7188 lt_cv_file_magic_cmd='func_win32_libid' 7189 ;; 7190 7191mingw* | pw32*) 7192 # Base MSYS/MinGW do not provide the 'file' command needed by 7193 # func_win32_libid shell function, so use a weaker test based on 'objdump', 7194 # unless we find 'file', for example because we are cross-compiling. 7195 if ( file / ) >/dev/null 2>&1; then 7196 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 7197 lt_cv_file_magic_cmd='func_win32_libid' 7198 else 7199 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 7200 lt_cv_file_magic_cmd='$OBJDUMP -f' 7201 fi 7202 ;; 7203 7204cegcc) 7205 # use the weaker test based on 'objdump'. See mingw*. 7206 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 7207 lt_cv_file_magic_cmd='$OBJDUMP -f' 7208 ;; 7209 7210darwin* | rhapsody*) 7211 lt_cv_deplibs_check_method=pass_all 7212 ;; 7213 7214freebsd* | dragonfly*) 7215 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7216 case $host_cpu in 7217 i*86 ) 7218 # Not sure whether the presence of OpenBSD here was a mistake. 7219 # Let's accept both of them until this is cleared up. 7220 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 7221 lt_cv_file_magic_cmd=/usr/bin/file 7222 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 7223 ;; 7224 esac 7225 else 7226 lt_cv_deplibs_check_method=pass_all 7227 fi 7228 ;; 7229 7230gnu*) 7231 lt_cv_deplibs_check_method=pass_all 7232 ;; 7233 7234hpux10.20* | hpux11*) 7235 lt_cv_file_magic_cmd=/usr/bin/file 7236 case $host_cpu in 7237 ia64*) 7238 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 7239 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 7240 ;; 7241 hppa*64*) 7242 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]' 7243 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 7244 ;; 7245 *) 7246 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 7247 lt_cv_file_magic_test_file=/usr/lib/libc.sl 7248 ;; 7249 esac 7250 ;; 7251 7252interix[3-9]*) 7253 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 7254 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 7255 ;; 7256 7257irix5* | irix6* | nonstopux*) 7258 case $LD in 7259 *-32|*"-32 ") libmagic=32-bit;; 7260 *-n32|*"-n32 ") libmagic=N32;; 7261 *-64|*"-64 ") libmagic=64-bit;; 7262 *) libmagic=never-match;; 7263 esac 7264 lt_cv_deplibs_check_method=pass_all 7265 ;; 7266 7267# This must be Linux ELF. 7268linux* | k*bsd*-gnu | kopensolaris*-gnu) 7269 lt_cv_deplibs_check_method=pass_all 7270 ;; 7271 7272netbsd* | netbsdelf*-gnu) 7273 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7274 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7275 else 7276 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 7277 fi 7278 ;; 7279 7280newos6*) 7281 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 7282 lt_cv_file_magic_cmd=/usr/bin/file 7283 lt_cv_file_magic_test_file=/usr/lib/libnls.so 7284 ;; 7285 7286*nto* | *qnx*) 7287 lt_cv_deplibs_check_method=pass_all 7288 ;; 7289 7290openbsd*) 7291 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 7292 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 7293 else 7294 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7295 fi 7296 ;; 7297 7298osf3* | osf4* | osf5*) 7299 lt_cv_deplibs_check_method=pass_all 7300 ;; 7301 7302rdos*) 7303 lt_cv_deplibs_check_method=pass_all 7304 ;; 7305 7306solaris*) 7307 lt_cv_deplibs_check_method=pass_all 7308 ;; 7309 7310sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 7311 lt_cv_deplibs_check_method=pass_all 7312 ;; 7313 7314sysv4 | sysv4.3*) 7315 case $host_vendor in 7316 motorola) 7317 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]' 7318 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 7319 ;; 7320 ncr) 7321 lt_cv_deplibs_check_method=pass_all 7322 ;; 7323 sequent) 7324 lt_cv_file_magic_cmd='/bin/file' 7325 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 7326 ;; 7327 sni) 7328 lt_cv_file_magic_cmd='/bin/file' 7329 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 7330 lt_cv_file_magic_test_file=/lib/libc.so 7331 ;; 7332 siemens) 7333 lt_cv_deplibs_check_method=pass_all 7334 ;; 7335 pc) 7336 lt_cv_deplibs_check_method=pass_all 7337 ;; 7338 esac 7339 ;; 7340 7341tpf*) 7342 lt_cv_deplibs_check_method=pass_all 7343 ;; 7344esac 7345 7346fi 7347{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 7348$as_echo "$lt_cv_deplibs_check_method" >&6; } 7349file_magic_cmd=$lt_cv_file_magic_cmd 7350deplibs_check_method=$lt_cv_deplibs_check_method 7351test -z "$deplibs_check_method" && deplibs_check_method=unknown 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364if test -n "$ac_tool_prefix"; then 7365 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 7366set dummy ${ac_tool_prefix}ar; ac_word=$2 7367{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7368$as_echo_n "checking for $ac_word... " >&6; } 7369if test "${ac_cv_prog_AR+set}" = set; then : 7370 $as_echo_n "(cached) " >&6 7371else 7372 if test -n "$AR"; then 7373 ac_cv_prog_AR="$AR" # Let the user override the test. 7374else 7375as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7376for as_dir in $PATH 7377do 7378 IFS=$as_save_IFS 7379 test -z "$as_dir" && as_dir=. 7380 for ac_exec_ext in '' $ac_executable_extensions; do 7381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7382 ac_cv_prog_AR="${ac_tool_prefix}ar" 7383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7384 break 2 7385 fi 7386done 7387 done 7388IFS=$as_save_IFS 7389 7390fi 7391fi 7392AR=$ac_cv_prog_AR 7393if test -n "$AR"; then 7394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 7395$as_echo "$AR" >&6; } 7396else 7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7398$as_echo "no" >&6; } 7399fi 7400 7401 7402fi 7403if test -z "$ac_cv_prog_AR"; then 7404 ac_ct_AR=$AR 7405 # Extract the first word of "ar", so it can be a program name with args. 7406set dummy ar; ac_word=$2 7407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7408$as_echo_n "checking for $ac_word... " >&6; } 7409if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : 7410 $as_echo_n "(cached) " >&6 7411else 7412 if test -n "$ac_ct_AR"; then 7413 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 7414else 7415as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7416for as_dir in $PATH 7417do 7418 IFS=$as_save_IFS 7419 test -z "$as_dir" && as_dir=. 7420 for ac_exec_ext in '' $ac_executable_extensions; do 7421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7422 ac_cv_prog_ac_ct_AR="ar" 7423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7424 break 2 7425 fi 7426done 7427 done 7428IFS=$as_save_IFS 7429 7430fi 7431fi 7432ac_ct_AR=$ac_cv_prog_ac_ct_AR 7433if test -n "$ac_ct_AR"; then 7434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 7435$as_echo "$ac_ct_AR" >&6; } 7436else 7437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7438$as_echo "no" >&6; } 7439fi 7440 7441 if test "x$ac_ct_AR" = x; then 7442 AR="false" 7443 else 7444 case $cross_compiling:$ac_tool_warned in 7445yes:) 7446{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7447$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7448ac_tool_warned=yes ;; 7449esac 7450 AR=$ac_ct_AR 7451 fi 7452else 7453 AR="$ac_cv_prog_AR" 7454fi 7455 7456test -z "$AR" && AR=ar 7457test -z "$AR_FLAGS" && AR_FLAGS=cru 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469if test -n "$ac_tool_prefix"; then 7470 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 7471set dummy ${ac_tool_prefix}strip; ac_word=$2 7472{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7473$as_echo_n "checking for $ac_word... " >&6; } 7474if test "${ac_cv_prog_STRIP+set}" = set; then : 7475 $as_echo_n "(cached) " >&6 7476else 7477 if test -n "$STRIP"; then 7478 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 7479else 7480as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7481for as_dir in $PATH 7482do 7483 IFS=$as_save_IFS 7484 test -z "$as_dir" && as_dir=. 7485 for ac_exec_ext in '' $ac_executable_extensions; do 7486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7487 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 7488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7489 break 2 7490 fi 7491done 7492 done 7493IFS=$as_save_IFS 7494 7495fi 7496fi 7497STRIP=$ac_cv_prog_STRIP 7498if test -n "$STRIP"; then 7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 7500$as_echo "$STRIP" >&6; } 7501else 7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7503$as_echo "no" >&6; } 7504fi 7505 7506 7507fi 7508if test -z "$ac_cv_prog_STRIP"; then 7509 ac_ct_STRIP=$STRIP 7510 # Extract the first word of "strip", so it can be a program name with args. 7511set dummy strip; ac_word=$2 7512{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7513$as_echo_n "checking for $ac_word... " >&6; } 7514if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 7515 $as_echo_n "(cached) " >&6 7516else 7517 if test -n "$ac_ct_STRIP"; then 7518 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 7519else 7520as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7521for as_dir in $PATH 7522do 7523 IFS=$as_save_IFS 7524 test -z "$as_dir" && as_dir=. 7525 for ac_exec_ext in '' $ac_executable_extensions; do 7526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7527 ac_cv_prog_ac_ct_STRIP="strip" 7528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7529 break 2 7530 fi 7531done 7532 done 7533IFS=$as_save_IFS 7534 7535fi 7536fi 7537ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 7538if test -n "$ac_ct_STRIP"; then 7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 7540$as_echo "$ac_ct_STRIP" >&6; } 7541else 7542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7543$as_echo "no" >&6; } 7544fi 7545 7546 if test "x$ac_ct_STRIP" = x; then 7547 STRIP=":" 7548 else 7549 case $cross_compiling:$ac_tool_warned in 7550yes:) 7551{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7552$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7553ac_tool_warned=yes ;; 7554esac 7555 STRIP=$ac_ct_STRIP 7556 fi 7557else 7558 STRIP="$ac_cv_prog_STRIP" 7559fi 7560 7561test -z "$STRIP" && STRIP=: 7562 7563 7564 7565 7566 7567 7568if test -n "$ac_tool_prefix"; then 7569 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 7570set dummy ${ac_tool_prefix}ranlib; ac_word=$2 7571{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7572$as_echo_n "checking for $ac_word... " >&6; } 7573if test "${ac_cv_prog_RANLIB+set}" = set; then : 7574 $as_echo_n "(cached) " >&6 7575else 7576 if test -n "$RANLIB"; then 7577 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 7578else 7579as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7580for as_dir in $PATH 7581do 7582 IFS=$as_save_IFS 7583 test -z "$as_dir" && as_dir=. 7584 for ac_exec_ext in '' $ac_executable_extensions; do 7585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7586 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 7587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7588 break 2 7589 fi 7590done 7591 done 7592IFS=$as_save_IFS 7593 7594fi 7595fi 7596RANLIB=$ac_cv_prog_RANLIB 7597if test -n "$RANLIB"; then 7598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 7599$as_echo "$RANLIB" >&6; } 7600else 7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7602$as_echo "no" >&6; } 7603fi 7604 7605 7606fi 7607if test -z "$ac_cv_prog_RANLIB"; then 7608 ac_ct_RANLIB=$RANLIB 7609 # Extract the first word of "ranlib", so it can be a program name with args. 7610set dummy ranlib; ac_word=$2 7611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7612$as_echo_n "checking for $ac_word... " >&6; } 7613if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 7614 $as_echo_n "(cached) " >&6 7615else 7616 if test -n "$ac_ct_RANLIB"; then 7617 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 7618else 7619as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7620for as_dir in $PATH 7621do 7622 IFS=$as_save_IFS 7623 test -z "$as_dir" && as_dir=. 7624 for ac_exec_ext in '' $ac_executable_extensions; do 7625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7626 ac_cv_prog_ac_ct_RANLIB="ranlib" 7627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7628 break 2 7629 fi 7630done 7631 done 7632IFS=$as_save_IFS 7633 7634fi 7635fi 7636ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 7637if test -n "$ac_ct_RANLIB"; then 7638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 7639$as_echo "$ac_ct_RANLIB" >&6; } 7640else 7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7642$as_echo "no" >&6; } 7643fi 7644 7645 if test "x$ac_ct_RANLIB" = x; then 7646 RANLIB=":" 7647 else 7648 case $cross_compiling:$ac_tool_warned in 7649yes:) 7650{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7651$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7652ac_tool_warned=yes ;; 7653esac 7654 RANLIB=$ac_ct_RANLIB 7655 fi 7656else 7657 RANLIB="$ac_cv_prog_RANLIB" 7658fi 7659 7660test -z "$RANLIB" && RANLIB=: 7661 7662 7663 7664 7665 7666 7667# Determine commands to create old-style static archives. 7668old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 7669old_postinstall_cmds='chmod 644 $oldlib' 7670old_postuninstall_cmds= 7671 7672if test -n "$RANLIB"; then 7673 case $host_os in 7674 openbsd*) 7675 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 7676 ;; 7677 *) 7678 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 7679 ;; 7680 esac 7681 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 7682fi 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717# If no C compiler was specified, use CC. 7718LTCC=${LTCC-"$CC"} 7719 7720# If no C compiler flags were specified, use CFLAGS. 7721LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7722 7723# Allow CC to be a program name with arguments. 7724compiler=$CC 7725 7726 7727# Check for command to grab the raw symbol name followed by C symbol from nm. 7728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 7729$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 7730if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : 7731 $as_echo_n "(cached) " >&6 7732else 7733 7734# These are sane defaults that work on at least a few old systems. 7735# [They come from Ultrix. What could be older than Ultrix?!! ;)] 7736 7737# Character class describing NM global symbol codes. 7738symcode='[BCDEGRST]' 7739 7740# Regexp to match symbols that can be accessed directly from C. 7741sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 7742 7743# Define system-specific variables. 7744case $host_os in 7745aix*) 7746 symcode='[BCDT]' 7747 ;; 7748cygwin* | mingw* | pw32* | cegcc*) 7749 symcode='[ABCDGISTW]' 7750 ;; 7751hpux*) 7752 if test "$host_cpu" = ia64; then 7753 symcode='[ABCDEGRST]' 7754 fi 7755 ;; 7756irix* | nonstopux*) 7757 symcode='[BCDEGRST]' 7758 ;; 7759osf*) 7760 symcode='[BCDEGQRST]' 7761 ;; 7762solaris*) 7763 symcode='[BDRT]' 7764 ;; 7765sco3.2v5*) 7766 symcode='[DT]' 7767 ;; 7768sysv4.2uw2*) 7769 symcode='[DT]' 7770 ;; 7771sysv5* | sco5v6* | unixware* | OpenUNIX*) 7772 symcode='[ABDT]' 7773 ;; 7774sysv4) 7775 symcode='[DFNSTU]' 7776 ;; 7777esac 7778 7779# If we're using GNU nm, then use its standard symbol codes. 7780case `$NM -V 2>&1` in 7781*GNU* | *'with BFD'*) 7782 symcode='[ABCDGIRSTW]' ;; 7783esac 7784 7785# Transform an extracted symbol line into a proper C declaration. 7786# Some systems (esp. on ia64) link data and code symbols differently, 7787# so use this general approach. 7788lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 7789 7790# Transform an extracted symbol line into symbol name and symbol address 7791lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 7792lt_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'" 7793 7794# Handle CRLF in mingw tool chain 7795opt_cr= 7796case $build_os in 7797mingw*) 7798 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 7799 ;; 7800esac 7801 7802# Try without a prefix underscore, then with it. 7803for ac_symprfx in "" "_"; do 7804 7805 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 7806 symxfrm="\\1 $ac_symprfx\\2 \\2" 7807 7808 # Write the raw and C identifiers. 7809 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7810 # Fake it for dumpbin and say T for any non-static function 7811 # and D for any global variable. 7812 # Also find C++ and __fastcall symbols from MSVC++, 7813 # which start with @ or ?. 7814 lt_cv_sys_global_symbol_pipe="$AWK '"\ 7815" {last_section=section; section=\$ 3};"\ 7816" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 7817" \$ 0!~/External *\|/{next};"\ 7818" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 7819" {if(hide[section]) next};"\ 7820" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 7821" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 7822" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 7823" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 7824" ' prfx=^$ac_symprfx" 7825 else 7826 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 7827 fi 7828 7829 # Check to see that the pipe works correctly. 7830 pipe_works=no 7831 7832 rm -f conftest* 7833 cat > conftest.$ac_ext <<_LT_EOF 7834#ifdef __cplusplus 7835extern "C" { 7836#endif 7837char nm_test_var; 7838void nm_test_func(void); 7839void nm_test_func(void){} 7840#ifdef __cplusplus 7841} 7842#endif 7843int main(){nm_test_var='a';nm_test_func();return(0);} 7844_LT_EOF 7845 7846 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7847 (eval $ac_compile) 2>&5 7848 ac_status=$? 7849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7850 test $ac_status = 0; }; then 7851 # Now try to grab the symbols. 7852 nlist=conftest.nm 7853 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 7854 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 7855 ac_status=$? 7856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7857 test $ac_status = 0; } && test -s "$nlist"; then 7858 # Try sorting and uniquifying the output. 7859 if sort "$nlist" | uniq > "$nlist"T; then 7860 mv -f "$nlist"T "$nlist" 7861 else 7862 rm -f "$nlist"T 7863 fi 7864 7865 # Make sure that we snagged all the symbols we need. 7866 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 7867 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 7868 cat <<_LT_EOF > conftest.$ac_ext 7869#ifdef __cplusplus 7870extern "C" { 7871#endif 7872 7873_LT_EOF 7874 # Now generate the symbol file. 7875 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 7876 7877 cat <<_LT_EOF >> conftest.$ac_ext 7878 7879/* The mapping between symbol names and symbols. */ 7880const struct { 7881 const char *name; 7882 void *address; 7883} 7884lt__PROGRAM__LTX_preloaded_symbols[] = 7885{ 7886 { "@PROGRAM@", (void *) 0 }, 7887_LT_EOF 7888 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 7889 cat <<\_LT_EOF >> conftest.$ac_ext 7890 {0, (void *) 0} 7891}; 7892 7893/* This works around a problem in FreeBSD linker */ 7894#ifdef FREEBSD_WORKAROUND 7895static const void *lt_preloaded_setup() { 7896 return lt__PROGRAM__LTX_preloaded_symbols; 7897} 7898#endif 7899 7900#ifdef __cplusplus 7901} 7902#endif 7903_LT_EOF 7904 # Now try linking the two files. 7905 mv conftest.$ac_objext conftstm.$ac_objext 7906 lt_save_LIBS="$LIBS" 7907 lt_save_CFLAGS="$CFLAGS" 7908 LIBS="conftstm.$ac_objext" 7909 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 7910 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 7911 (eval $ac_link) 2>&5 7912 ac_status=$? 7913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7914 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 7915 pipe_works=yes 7916 fi 7917 LIBS="$lt_save_LIBS" 7918 CFLAGS="$lt_save_CFLAGS" 7919 else 7920 echo "cannot find nm_test_func in $nlist" >&5 7921 fi 7922 else 7923 echo "cannot find nm_test_var in $nlist" >&5 7924 fi 7925 else 7926 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 7927 fi 7928 else 7929 echo "$progname: failed program was:" >&5 7930 cat conftest.$ac_ext >&5 7931 fi 7932 rm -rf conftest* conftst* 7933 7934 # Do not use the global_symbol_pipe unless it works. 7935 if test "$pipe_works" = yes; then 7936 break 7937 else 7938 lt_cv_sys_global_symbol_pipe= 7939 fi 7940done 7941 7942fi 7943 7944if test -z "$lt_cv_sys_global_symbol_pipe"; then 7945 lt_cv_sys_global_symbol_to_cdecl= 7946fi 7947if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 7949$as_echo "failed" >&6; } 7950else 7951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 7952$as_echo "ok" >&6; } 7953fi 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976# Check whether --enable-libtool-lock was given. 7977if test "${enable_libtool_lock+set}" = set; then : 7978 enableval=$enable_libtool_lock; 7979fi 7980 7981test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 7982 7983# Some flags need to be propagated to the compiler or linker for good 7984# libtool support. 7985case $host in 7986ia64-*-hpux*) 7987 # Find out which ABI we are using. 7988 echo 'int i;' > conftest.$ac_ext 7989 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7990 (eval $ac_compile) 2>&5 7991 ac_status=$? 7992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7993 test $ac_status = 0; }; then 7994 case `/usr/bin/file conftest.$ac_objext` in 7995 *ELF-32*) 7996 HPUX_IA64_MODE="32" 7997 ;; 7998 *ELF-64*) 7999 HPUX_IA64_MODE="64" 8000 ;; 8001 esac 8002 fi 8003 rm -rf conftest* 8004 ;; 8005*-*-irix6*) 8006 # Find out which ABI we are using. 8007 echo '#line 8007 "configure"' > conftest.$ac_ext 8008 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8009 (eval $ac_compile) 2>&5 8010 ac_status=$? 8011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8012 test $ac_status = 0; }; then 8013 if test "$lt_cv_prog_gnu_ld" = yes; then 8014 case `/usr/bin/file conftest.$ac_objext` in 8015 *32-bit*) 8016 LD="${LD-ld} -melf32bsmip" 8017 ;; 8018 *N32*) 8019 LD="${LD-ld} -melf32bmipn32" 8020 ;; 8021 *64-bit*) 8022 LD="${LD-ld} -melf64bmip" 8023 ;; 8024 esac 8025 else 8026 case `/usr/bin/file conftest.$ac_objext` in 8027 *32-bit*) 8028 LD="${LD-ld} -32" 8029 ;; 8030 *N32*) 8031 LD="${LD-ld} -n32" 8032 ;; 8033 *64-bit*) 8034 LD="${LD-ld} -64" 8035 ;; 8036 esac 8037 fi 8038 fi 8039 rm -rf conftest* 8040 ;; 8041 8042x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 8043s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 8044 # Find out which ABI we are using. 8045 echo 'int i;' > conftest.$ac_ext 8046 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8047 (eval $ac_compile) 2>&5 8048 ac_status=$? 8049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8050 test $ac_status = 0; }; then 8051 case `/usr/bin/file conftest.o` in 8052 *32-bit*) 8053 case $host in 8054 x86_64-*kfreebsd*-gnu) 8055 LD="${LD-ld} -m elf_i386_fbsd" 8056 ;; 8057 x86_64-*linux*) 8058 LD="${LD-ld} -m elf_i386" 8059 ;; 8060 ppc64-*linux*|powerpc64-*linux*) 8061 LD="${LD-ld} -m elf32ppclinux" 8062 ;; 8063 s390x-*linux*) 8064 LD="${LD-ld} -m elf_s390" 8065 ;; 8066 sparc64-*linux*) 8067 LD="${LD-ld} -m elf32_sparc" 8068 ;; 8069 esac 8070 ;; 8071 *64-bit*) 8072 case $host in 8073 x86_64-*kfreebsd*-gnu) 8074 LD="${LD-ld} -m elf_x86_64_fbsd" 8075 ;; 8076 x86_64-*linux*) 8077 LD="${LD-ld} -m elf_x86_64" 8078 ;; 8079 ppc*-*linux*|powerpc*-*linux*) 8080 LD="${LD-ld} -m elf64ppc" 8081 ;; 8082 s390*-*linux*|s390*-*tpf*) 8083 LD="${LD-ld} -m elf64_s390" 8084 ;; 8085 sparc*-*linux*) 8086 LD="${LD-ld} -m elf64_sparc" 8087 ;; 8088 esac 8089 ;; 8090 esac 8091 fi 8092 rm -rf conftest* 8093 ;; 8094 8095*-*-sco3.2v5*) 8096 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 8097 SAVE_CFLAGS="$CFLAGS" 8098 CFLAGS="$CFLAGS -belf" 8099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 8100$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 8101if test "${lt_cv_cc_needs_belf+set}" = set; then : 8102 $as_echo_n "(cached) " >&6 8103else 8104 ac_ext=c 8105ac_cpp='$CPP $CPPFLAGS' 8106ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8107ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8108ac_compiler_gnu=$ac_cv_c_compiler_gnu 8109 8110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8111/* end confdefs.h. */ 8112 8113int 8114main () 8115{ 8116 8117 ; 8118 return 0; 8119} 8120_ACEOF 8121if ac_fn_c_try_link "$LINENO"; then : 8122 lt_cv_cc_needs_belf=yes 8123else 8124 lt_cv_cc_needs_belf=no 8125fi 8126rm -f core conftest.err conftest.$ac_objext \ 8127 conftest$ac_exeext conftest.$ac_ext 8128 ac_ext=c 8129ac_cpp='$CPP $CPPFLAGS' 8130ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8131ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8132ac_compiler_gnu=$ac_cv_c_compiler_gnu 8133 8134fi 8135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 8136$as_echo "$lt_cv_cc_needs_belf" >&6; } 8137 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 8138 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 8139 CFLAGS="$SAVE_CFLAGS" 8140 fi 8141 ;; 8142sparc*-*solaris*) 8143 # Find out which ABI we are using. 8144 echo 'int i;' > conftest.$ac_ext 8145 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8146 (eval $ac_compile) 2>&5 8147 ac_status=$? 8148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8149 test $ac_status = 0; }; then 8150 case `/usr/bin/file conftest.o` in 8151 *64-bit*) 8152 case $lt_cv_prog_gnu_ld in 8153 yes*) LD="${LD-ld} -m elf64_sparc" ;; 8154 *) 8155 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 8156 LD="${LD-ld} -64" 8157 fi 8158 ;; 8159 esac 8160 ;; 8161 esac 8162 fi 8163 rm -rf conftest* 8164 ;; 8165esac 8166 8167need_locks="$enable_libtool_lock" 8168 8169 8170 case $host_os in 8171 rhapsody* | darwin*) 8172 if test -n "$ac_tool_prefix"; then 8173 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 8174set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 8175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8176$as_echo_n "checking for $ac_word... " >&6; } 8177if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : 8178 $as_echo_n "(cached) " >&6 8179else 8180 if test -n "$DSYMUTIL"; then 8181 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 8182else 8183as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8184for as_dir in $PATH 8185do 8186 IFS=$as_save_IFS 8187 test -z "$as_dir" && as_dir=. 8188 for ac_exec_ext in '' $ac_executable_extensions; do 8189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8190 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 8191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8192 break 2 8193 fi 8194done 8195 done 8196IFS=$as_save_IFS 8197 8198fi 8199fi 8200DSYMUTIL=$ac_cv_prog_DSYMUTIL 8201if test -n "$DSYMUTIL"; then 8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 8203$as_echo "$DSYMUTIL" >&6; } 8204else 8205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8206$as_echo "no" >&6; } 8207fi 8208 8209 8210fi 8211if test -z "$ac_cv_prog_DSYMUTIL"; then 8212 ac_ct_DSYMUTIL=$DSYMUTIL 8213 # Extract the first word of "dsymutil", so it can be a program name with args. 8214set dummy dsymutil; ac_word=$2 8215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8216$as_echo_n "checking for $ac_word... " >&6; } 8217if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : 8218 $as_echo_n "(cached) " >&6 8219else 8220 if test -n "$ac_ct_DSYMUTIL"; then 8221 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 8222else 8223as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8224for as_dir in $PATH 8225do 8226 IFS=$as_save_IFS 8227 test -z "$as_dir" && as_dir=. 8228 for ac_exec_ext in '' $ac_executable_extensions; do 8229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8230 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 8231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8232 break 2 8233 fi 8234done 8235 done 8236IFS=$as_save_IFS 8237 8238fi 8239fi 8240ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 8241if test -n "$ac_ct_DSYMUTIL"; then 8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 8243$as_echo "$ac_ct_DSYMUTIL" >&6; } 8244else 8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8246$as_echo "no" >&6; } 8247fi 8248 8249 if test "x$ac_ct_DSYMUTIL" = x; then 8250 DSYMUTIL=":" 8251 else 8252 case $cross_compiling:$ac_tool_warned in 8253yes:) 8254{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8255$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8256ac_tool_warned=yes ;; 8257esac 8258 DSYMUTIL=$ac_ct_DSYMUTIL 8259 fi 8260else 8261 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 8262fi 8263 8264 if test -n "$ac_tool_prefix"; then 8265 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 8266set dummy ${ac_tool_prefix}nmedit; ac_word=$2 8267{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8268$as_echo_n "checking for $ac_word... " >&6; } 8269if test "${ac_cv_prog_NMEDIT+set}" = set; then : 8270 $as_echo_n "(cached) " >&6 8271else 8272 if test -n "$NMEDIT"; then 8273 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 8274else 8275as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8276for as_dir in $PATH 8277do 8278 IFS=$as_save_IFS 8279 test -z "$as_dir" && as_dir=. 8280 for ac_exec_ext in '' $ac_executable_extensions; do 8281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8282 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 8283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8284 break 2 8285 fi 8286done 8287 done 8288IFS=$as_save_IFS 8289 8290fi 8291fi 8292NMEDIT=$ac_cv_prog_NMEDIT 8293if test -n "$NMEDIT"; then 8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 8295$as_echo "$NMEDIT" >&6; } 8296else 8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8298$as_echo "no" >&6; } 8299fi 8300 8301 8302fi 8303if test -z "$ac_cv_prog_NMEDIT"; then 8304 ac_ct_NMEDIT=$NMEDIT 8305 # Extract the first word of "nmedit", so it can be a program name with args. 8306set dummy nmedit; ac_word=$2 8307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8308$as_echo_n "checking for $ac_word... " >&6; } 8309if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : 8310 $as_echo_n "(cached) " >&6 8311else 8312 if test -n "$ac_ct_NMEDIT"; then 8313 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 8314else 8315as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8316for as_dir in $PATH 8317do 8318 IFS=$as_save_IFS 8319 test -z "$as_dir" && as_dir=. 8320 for ac_exec_ext in '' $ac_executable_extensions; do 8321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8322 ac_cv_prog_ac_ct_NMEDIT="nmedit" 8323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8324 break 2 8325 fi 8326done 8327 done 8328IFS=$as_save_IFS 8329 8330fi 8331fi 8332ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 8333if test -n "$ac_ct_NMEDIT"; then 8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 8335$as_echo "$ac_ct_NMEDIT" >&6; } 8336else 8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8338$as_echo "no" >&6; } 8339fi 8340 8341 if test "x$ac_ct_NMEDIT" = x; then 8342 NMEDIT=":" 8343 else 8344 case $cross_compiling:$ac_tool_warned in 8345yes:) 8346{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8347$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8348ac_tool_warned=yes ;; 8349esac 8350 NMEDIT=$ac_ct_NMEDIT 8351 fi 8352else 8353 NMEDIT="$ac_cv_prog_NMEDIT" 8354fi 8355 8356 if test -n "$ac_tool_prefix"; then 8357 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 8358set dummy ${ac_tool_prefix}lipo; ac_word=$2 8359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8360$as_echo_n "checking for $ac_word... " >&6; } 8361if test "${ac_cv_prog_LIPO+set}" = set; then : 8362 $as_echo_n "(cached) " >&6 8363else 8364 if test -n "$LIPO"; then 8365 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 8366else 8367as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8368for as_dir in $PATH 8369do 8370 IFS=$as_save_IFS 8371 test -z "$as_dir" && as_dir=. 8372 for ac_exec_ext in '' $ac_executable_extensions; do 8373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8374 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 8375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8376 break 2 8377 fi 8378done 8379 done 8380IFS=$as_save_IFS 8381 8382fi 8383fi 8384LIPO=$ac_cv_prog_LIPO 8385if test -n "$LIPO"; then 8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 8387$as_echo "$LIPO" >&6; } 8388else 8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8390$as_echo "no" >&6; } 8391fi 8392 8393 8394fi 8395if test -z "$ac_cv_prog_LIPO"; then 8396 ac_ct_LIPO=$LIPO 8397 # Extract the first word of "lipo", so it can be a program name with args. 8398set dummy lipo; ac_word=$2 8399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8400$as_echo_n "checking for $ac_word... " >&6; } 8401if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : 8402 $as_echo_n "(cached) " >&6 8403else 8404 if test -n "$ac_ct_LIPO"; then 8405 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 8406else 8407as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8408for as_dir in $PATH 8409do 8410 IFS=$as_save_IFS 8411 test -z "$as_dir" && as_dir=. 8412 for ac_exec_ext in '' $ac_executable_extensions; do 8413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8414 ac_cv_prog_ac_ct_LIPO="lipo" 8415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8416 break 2 8417 fi 8418done 8419 done 8420IFS=$as_save_IFS 8421 8422fi 8423fi 8424ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 8425if test -n "$ac_ct_LIPO"; then 8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 8427$as_echo "$ac_ct_LIPO" >&6; } 8428else 8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8430$as_echo "no" >&6; } 8431fi 8432 8433 if test "x$ac_ct_LIPO" = x; then 8434 LIPO=":" 8435 else 8436 case $cross_compiling:$ac_tool_warned in 8437yes:) 8438{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8439$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8440ac_tool_warned=yes ;; 8441esac 8442 LIPO=$ac_ct_LIPO 8443 fi 8444else 8445 LIPO="$ac_cv_prog_LIPO" 8446fi 8447 8448 if test -n "$ac_tool_prefix"; then 8449 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 8450set dummy ${ac_tool_prefix}otool; ac_word=$2 8451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8452$as_echo_n "checking for $ac_word... " >&6; } 8453if test "${ac_cv_prog_OTOOL+set}" = set; then : 8454 $as_echo_n "(cached) " >&6 8455else 8456 if test -n "$OTOOL"; then 8457 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 8458else 8459as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8460for as_dir in $PATH 8461do 8462 IFS=$as_save_IFS 8463 test -z "$as_dir" && as_dir=. 8464 for ac_exec_ext in '' $ac_executable_extensions; do 8465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8466 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 8467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8468 break 2 8469 fi 8470done 8471 done 8472IFS=$as_save_IFS 8473 8474fi 8475fi 8476OTOOL=$ac_cv_prog_OTOOL 8477if test -n "$OTOOL"; then 8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 8479$as_echo "$OTOOL" >&6; } 8480else 8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8482$as_echo "no" >&6; } 8483fi 8484 8485 8486fi 8487if test -z "$ac_cv_prog_OTOOL"; then 8488 ac_ct_OTOOL=$OTOOL 8489 # Extract the first word of "otool", so it can be a program name with args. 8490set dummy otool; ac_word=$2 8491{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8492$as_echo_n "checking for $ac_word... " >&6; } 8493if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : 8494 $as_echo_n "(cached) " >&6 8495else 8496 if test -n "$ac_ct_OTOOL"; then 8497 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 8498else 8499as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8500for as_dir in $PATH 8501do 8502 IFS=$as_save_IFS 8503 test -z "$as_dir" && as_dir=. 8504 for ac_exec_ext in '' $ac_executable_extensions; do 8505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8506 ac_cv_prog_ac_ct_OTOOL="otool" 8507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8508 break 2 8509 fi 8510done 8511 done 8512IFS=$as_save_IFS 8513 8514fi 8515fi 8516ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 8517if test -n "$ac_ct_OTOOL"; then 8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 8519$as_echo "$ac_ct_OTOOL" >&6; } 8520else 8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8522$as_echo "no" >&6; } 8523fi 8524 8525 if test "x$ac_ct_OTOOL" = x; then 8526 OTOOL=":" 8527 else 8528 case $cross_compiling:$ac_tool_warned in 8529yes:) 8530{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8531$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8532ac_tool_warned=yes ;; 8533esac 8534 OTOOL=$ac_ct_OTOOL 8535 fi 8536else 8537 OTOOL="$ac_cv_prog_OTOOL" 8538fi 8539 8540 if test -n "$ac_tool_prefix"; then 8541 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 8542set dummy ${ac_tool_prefix}otool64; ac_word=$2 8543{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8544$as_echo_n "checking for $ac_word... " >&6; } 8545if test "${ac_cv_prog_OTOOL64+set}" = set; then : 8546 $as_echo_n "(cached) " >&6 8547else 8548 if test -n "$OTOOL64"; then 8549 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 8550else 8551as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8552for as_dir in $PATH 8553do 8554 IFS=$as_save_IFS 8555 test -z "$as_dir" && as_dir=. 8556 for ac_exec_ext in '' $ac_executable_extensions; do 8557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8558 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 8559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8560 break 2 8561 fi 8562done 8563 done 8564IFS=$as_save_IFS 8565 8566fi 8567fi 8568OTOOL64=$ac_cv_prog_OTOOL64 8569if test -n "$OTOOL64"; then 8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 8571$as_echo "$OTOOL64" >&6; } 8572else 8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8574$as_echo "no" >&6; } 8575fi 8576 8577 8578fi 8579if test -z "$ac_cv_prog_OTOOL64"; then 8580 ac_ct_OTOOL64=$OTOOL64 8581 # Extract the first word of "otool64", so it can be a program name with args. 8582set dummy otool64; ac_word=$2 8583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8584$as_echo_n "checking for $ac_word... " >&6; } 8585if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : 8586 $as_echo_n "(cached) " >&6 8587else 8588 if test -n "$ac_ct_OTOOL64"; then 8589 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 8590else 8591as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8592for as_dir in $PATH 8593do 8594 IFS=$as_save_IFS 8595 test -z "$as_dir" && as_dir=. 8596 for ac_exec_ext in '' $ac_executable_extensions; do 8597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8598 ac_cv_prog_ac_ct_OTOOL64="otool64" 8599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8600 break 2 8601 fi 8602done 8603 done 8604IFS=$as_save_IFS 8605 8606fi 8607fi 8608ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 8609if test -n "$ac_ct_OTOOL64"; then 8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 8611$as_echo "$ac_ct_OTOOL64" >&6; } 8612else 8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8614$as_echo "no" >&6; } 8615fi 8616 8617 if test "x$ac_ct_OTOOL64" = x; then 8618 OTOOL64=":" 8619 else 8620 case $cross_compiling:$ac_tool_warned in 8621yes:) 8622{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8623$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8624ac_tool_warned=yes ;; 8625esac 8626 OTOOL64=$ac_ct_OTOOL64 8627 fi 8628else 8629 OTOOL64="$ac_cv_prog_OTOOL64" 8630fi 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 8659$as_echo_n "checking for -single_module linker flag... " >&6; } 8660if test "${lt_cv_apple_cc_single_mod+set}" = set; then : 8661 $as_echo_n "(cached) " >&6 8662else 8663 lt_cv_apple_cc_single_mod=no 8664 if test -z "${LT_MULTI_MODULE}"; then 8665 # By default we will add the -single_module flag. You can override 8666 # by either setting the environment variable LT_MULTI_MODULE 8667 # non-empty at configure time, or by adding -multi_module to the 8668 # link flags. 8669 rm -rf libconftest.dylib* 8670 echo "int foo(void){return 1;}" > conftest.c 8671 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8672-dynamiclib -Wl,-single_module conftest.c" >&5 8673 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8674 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 8675 _lt_result=$? 8676 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then 8677 lt_cv_apple_cc_single_mod=yes 8678 else 8679 cat conftest.err >&5 8680 fi 8681 rm -rf libconftest.dylib* 8682 rm -f conftest.* 8683 fi 8684fi 8685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 8686$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 8687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 8688$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 8689if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : 8690 $as_echo_n "(cached) " >&6 8691else 8692 lt_cv_ld_exported_symbols_list=no 8693 save_LDFLAGS=$LDFLAGS 8694 echo "_main" > conftest.sym 8695 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 8696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8697/* end confdefs.h. */ 8698 8699int 8700main () 8701{ 8702 8703 ; 8704 return 0; 8705} 8706_ACEOF 8707if ac_fn_c_try_link "$LINENO"; then : 8708 lt_cv_ld_exported_symbols_list=yes 8709else 8710 lt_cv_ld_exported_symbols_list=no 8711fi 8712rm -f core conftest.err conftest.$ac_objext \ 8713 conftest$ac_exeext conftest.$ac_ext 8714 LDFLAGS="$save_LDFLAGS" 8715 8716fi 8717{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 8718$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 8719 case $host_os in 8720 rhapsody* | darwin1.[012]) 8721 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 8722 darwin1.*) 8723 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 8724 darwin*) # darwin 5.x on 8725 # if running on 10.5 or later, the deployment target defaults 8726 # to the OS version, if on x86, and 10.4, the deployment 8727 # target defaults to 10.4. Don't you love it? 8728 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 8729 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 8730 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 8731 10.[012]*) 8732 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 8733 10.*) 8734 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 8735 esac 8736 ;; 8737 esac 8738 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 8739 _lt_dar_single_mod='$single_module' 8740 fi 8741 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 8742 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 8743 else 8744 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 8745 fi 8746 if test "$DSYMUTIL" != ":"; then 8747 _lt_dsymutil='~$DSYMUTIL $lib || :' 8748 else 8749 _lt_dsymutil= 8750 fi 8751 ;; 8752 esac 8753 8754for ac_header in dlfcn.h 8755do : 8756 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 8757" 8758if test "x$ac_cv_header_dlfcn_h" = x""yes; then : 8759 cat >>confdefs.h <<_ACEOF 8760#define HAVE_DLFCN_H 1 8761_ACEOF 8762 8763fi 8764 8765done 8766 8767 8768 8769# Set options 8770 8771 8772 8773 8774 enable_win32_dll=no 8775 8776 8777 # Check whether --enable-shared was given. 8778if test "${enable_shared+set}" = set; then : 8779 enableval=$enable_shared; p=${PACKAGE-default} 8780 case $enableval in 8781 yes) enable_shared=yes ;; 8782 no) enable_shared=no ;; 8783 *) 8784 enable_shared=no 8785 # Look at the argument we got. We use all the common list separators. 8786 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8787 for pkg in $enableval; do 8788 IFS="$lt_save_ifs" 8789 if test "X$pkg" = "X$p"; then 8790 enable_shared=yes 8791 fi 8792 done 8793 IFS="$lt_save_ifs" 8794 ;; 8795 esac 8796else 8797 enable_shared=yes 8798fi 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810# Check whether --with-pic was given. 8811if test "${with_pic+set}" = set; then : 8812 withval=$with_pic; pic_mode="$withval" 8813else 8814 pic_mode=default 8815fi 8816 8817 8818test -z "$pic_mode" && pic_mode=default 8819 8820 8821 8822 8823 8824 8825 8826 # Check whether --enable-fast-install was given. 8827if test "${enable_fast_install+set}" = set; then : 8828 enableval=$enable_fast_install; p=${PACKAGE-default} 8829 case $enableval in 8830 yes) enable_fast_install=yes ;; 8831 no) enable_fast_install=no ;; 8832 *) 8833 enable_fast_install=no 8834 # Look at the argument we got. We use all the common list separators. 8835 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8836 for pkg in $enableval; do 8837 IFS="$lt_save_ifs" 8838 if test "X$pkg" = "X$p"; then 8839 enable_fast_install=yes 8840 fi 8841 done 8842 IFS="$lt_save_ifs" 8843 ;; 8844 esac 8845else 8846 enable_fast_install=yes 8847fi 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859# This can be used to rebuild libtool when needed 8860LIBTOOL_DEPS="$ltmain" 8861 8862# Always use our own libtool. 8863LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889test -z "$LN_S" && LN_S="ln -s" 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904if test -n "${ZSH_VERSION+set}" ; then 8905 setopt NO_GLOB_SUBST 8906fi 8907 8908{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8909$as_echo_n "checking for objdir... " >&6; } 8910if test "${lt_cv_objdir+set}" = set; then : 8911 $as_echo_n "(cached) " >&6 8912else 8913 rm -f .libs 2>/dev/null 8914mkdir .libs 2>/dev/null 8915if test -d .libs; then 8916 lt_cv_objdir=.libs 8917else 8918 # MS-DOS does not allow filenames that begin with a dot. 8919 lt_cv_objdir=_libs 8920fi 8921rmdir .libs 2>/dev/null 8922fi 8923{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8924$as_echo "$lt_cv_objdir" >&6; } 8925objdir=$lt_cv_objdir 8926 8927 8928 8929 8930 8931cat >>confdefs.h <<_ACEOF 8932#define LT_OBJDIR "$lt_cv_objdir/" 8933_ACEOF 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951case $host_os in 8952aix3*) 8953 # AIX sometimes has problems with the GCC collect2 program. For some 8954 # reason, if we set the COLLECT_NAMES environment variable, the problems 8955 # vanish in a puff of smoke. 8956 if test "X${COLLECT_NAMES+set}" != Xset; then 8957 COLLECT_NAMES= 8958 export COLLECT_NAMES 8959 fi 8960 ;; 8961esac 8962 8963# Sed substitution that helps us do robust quoting. It backslashifies 8964# metacharacters that are still active within double-quoted strings. 8965sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 8966 8967# Same as above, but do not quote variable references. 8968double_quote_subst='s/\(["`\\]\)/\\\1/g' 8969 8970# Sed substitution to delay expansion of an escaped shell variable in a 8971# double_quote_subst'ed string. 8972delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 8973 8974# Sed substitution to delay expansion of an escaped single quote. 8975delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 8976 8977# Sed substitution to avoid accidental globbing in evaled expressions 8978no_glob_subst='s/\*/\\\*/g' 8979 8980# Global variables: 8981ofile=libtool 8982can_build_shared=yes 8983 8984# All known linkers require a `.a' archive for static linking (except MSVC, 8985# which needs '.lib'). 8986libext=a 8987 8988with_gnu_ld="$lt_cv_prog_gnu_ld" 8989 8990old_CC="$CC" 8991old_CFLAGS="$CFLAGS" 8992 8993# Set sane defaults for various variables 8994test -z "$CC" && CC=cc 8995test -z "$LTCC" && LTCC=$CC 8996test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8997test -z "$LD" && LD=ld 8998test -z "$ac_objext" && ac_objext=o 8999 9000for cc_temp in $compiler""; do 9001 case $cc_temp in 9002 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 9003 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 9004 \-*) ;; 9005 *) break;; 9006 esac 9007done 9008cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 9009 9010 9011# Only perform the check for file, if the check method requires it 9012test -z "$MAGIC_CMD" && MAGIC_CMD=file 9013case $deplibs_check_method in 9014file_magic*) 9015 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 9016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 9017$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 9018if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 9019 $as_echo_n "(cached) " >&6 9020else 9021 case $MAGIC_CMD in 9022[\\/*] | ?:[\\/]*) 9023 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 9024 ;; 9025*) 9026 lt_save_MAGIC_CMD="$MAGIC_CMD" 9027 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 9028 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9029 for ac_dir in $ac_dummy; do 9030 IFS="$lt_save_ifs" 9031 test -z "$ac_dir" && ac_dir=. 9032 if test -f $ac_dir/${ac_tool_prefix}file; then 9033 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 9034 if test -n "$file_magic_test_file"; then 9035 case $deplibs_check_method in 9036 "file_magic "*) 9037 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9038 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9039 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9040 $EGREP "$file_magic_regex" > /dev/null; then 9041 : 9042 else 9043 cat <<_LT_EOF 1>&2 9044 9045*** Warning: the command libtool uses to detect shared libraries, 9046*** $file_magic_cmd, produces output that libtool cannot recognize. 9047*** The result is that libtool may fail to recognize shared libraries 9048*** as such. This will affect the creation of libtool libraries that 9049*** depend on shared libraries, but programs linked with such libtool 9050*** libraries will work regardless of this problem. Nevertheless, you 9051*** may want to report the problem to your system manager and/or to 9052*** bug-libtool@gnu.org 9053 9054_LT_EOF 9055 fi ;; 9056 esac 9057 fi 9058 break 9059 fi 9060 done 9061 IFS="$lt_save_ifs" 9062 MAGIC_CMD="$lt_save_MAGIC_CMD" 9063 ;; 9064esac 9065fi 9066 9067MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9068if test -n "$MAGIC_CMD"; then 9069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9070$as_echo "$MAGIC_CMD" >&6; } 9071else 9072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9073$as_echo "no" >&6; } 9074fi 9075 9076 9077 9078 9079 9080if test -z "$lt_cv_path_MAGIC_CMD"; then 9081 if test -n "$ac_tool_prefix"; then 9082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 9083$as_echo_n "checking for file... " >&6; } 9084if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 9085 $as_echo_n "(cached) " >&6 9086else 9087 case $MAGIC_CMD in 9088[\\/*] | ?:[\\/]*) 9089 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 9090 ;; 9091*) 9092 lt_save_MAGIC_CMD="$MAGIC_CMD" 9093 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 9094 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9095 for ac_dir in $ac_dummy; do 9096 IFS="$lt_save_ifs" 9097 test -z "$ac_dir" && ac_dir=. 9098 if test -f $ac_dir/file; then 9099 lt_cv_path_MAGIC_CMD="$ac_dir/file" 9100 if test -n "$file_magic_test_file"; then 9101 case $deplibs_check_method in 9102 "file_magic "*) 9103 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9104 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9105 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9106 $EGREP "$file_magic_regex" > /dev/null; then 9107 : 9108 else 9109 cat <<_LT_EOF 1>&2 9110 9111*** Warning: the command libtool uses to detect shared libraries, 9112*** $file_magic_cmd, produces output that libtool cannot recognize. 9113*** The result is that libtool may fail to recognize shared libraries 9114*** as such. This will affect the creation of libtool libraries that 9115*** depend on shared libraries, but programs linked with such libtool 9116*** libraries will work regardless of this problem. Nevertheless, you 9117*** may want to report the problem to your system manager and/or to 9118*** bug-libtool@gnu.org 9119 9120_LT_EOF 9121 fi ;; 9122 esac 9123 fi 9124 break 9125 fi 9126 done 9127 IFS="$lt_save_ifs" 9128 MAGIC_CMD="$lt_save_MAGIC_CMD" 9129 ;; 9130esac 9131fi 9132 9133MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9134if test -n "$MAGIC_CMD"; then 9135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9136$as_echo "$MAGIC_CMD" >&6; } 9137else 9138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9139$as_echo "no" >&6; } 9140fi 9141 9142 9143 else 9144 MAGIC_CMD=: 9145 fi 9146fi 9147 9148 fi 9149 ;; 9150esac 9151 9152# Use C for the default configuration in the libtool script 9153 9154lt_save_CC="$CC" 9155ac_ext=c 9156ac_cpp='$CPP $CPPFLAGS' 9157ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9158ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9159ac_compiler_gnu=$ac_cv_c_compiler_gnu 9160 9161 9162# Source file extension for C test sources. 9163ac_ext=c 9164 9165# Object file extension for compiled C test sources. 9166objext=o 9167objext=$objext 9168 9169# Code to be used in simple compile tests 9170lt_simple_compile_test_code="int some_variable = 0;" 9171 9172# Code to be used in simple link tests 9173lt_simple_link_test_code='int main(){return(0);}' 9174 9175 9176 9177 9178 9179 9180 9181# If no C compiler was specified, use CC. 9182LTCC=${LTCC-"$CC"} 9183 9184# If no C compiler flags were specified, use CFLAGS. 9185LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 9186 9187# Allow CC to be a program name with arguments. 9188compiler=$CC 9189 9190# Save the default compiler, since it gets overwritten when the other 9191# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 9192compiler_DEFAULT=$CC 9193 9194# save warnings/boilerplate of simple test code 9195ac_outfile=conftest.$ac_objext 9196echo "$lt_simple_compile_test_code" >conftest.$ac_ext 9197eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9198_lt_compiler_boilerplate=`cat conftest.err` 9199$RM conftest* 9200 9201ac_outfile=conftest.$ac_objext 9202echo "$lt_simple_link_test_code" >conftest.$ac_ext 9203eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9204_lt_linker_boilerplate=`cat conftest.err` 9205$RM -r conftest* 9206 9207 9208if test -n "$compiler"; then 9209 9210lt_prog_compiler_no_builtin_flag= 9211 9212if test "$GCC" = yes; then 9213 lt_prog_compiler_no_builtin_flag=' -fno-builtin' 9214 9215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 9216$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 9217if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : 9218 $as_echo_n "(cached) " >&6 9219else 9220 lt_cv_prog_compiler_rtti_exceptions=no 9221 ac_outfile=conftest.$ac_objext 9222 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9223 lt_compiler_flag="-fno-rtti -fno-exceptions" 9224 # Insert the option either (1) after the last *FLAGS variable, or 9225 # (2) before a word containing "conftest.", or (3) at the end. 9226 # Note that $ac_compile itself does not contain backslashes and begins 9227 # with a dollar sign (not a hyphen), so the echo should work correctly. 9228 # The option is referenced via a variable to avoid confusing sed. 9229 lt_compile=`echo "$ac_compile" | $SED \ 9230 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9231 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9232 -e 's:$: $lt_compiler_flag:'` 9233 (eval echo "\"\$as_me:9233: $lt_compile\"" >&5) 9234 (eval "$lt_compile" 2>conftest.err) 9235 ac_status=$? 9236 cat conftest.err >&5 9237 echo "$as_me:9237: \$? = $ac_status" >&5 9238 if (exit $ac_status) && test -s "$ac_outfile"; then 9239 # The compiler can only warn and ignore the option if not recognized 9240 # So say no if there are warnings other than the usual output. 9241 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 9242 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9243 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9244 lt_cv_prog_compiler_rtti_exceptions=yes 9245 fi 9246 fi 9247 $RM conftest* 9248 9249fi 9250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 9251$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 9252 9253if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 9254 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 9255else 9256 : 9257fi 9258 9259fi 9260 9261 9262 9263 9264 9265 9266 lt_prog_compiler_wl= 9267lt_prog_compiler_pic= 9268lt_prog_compiler_static= 9269 9270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 9271$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 9272 9273 if test "$GCC" = yes; then 9274 lt_prog_compiler_wl='-Wl,' 9275 lt_prog_compiler_static='-static' 9276 9277 case $host_os in 9278 aix*) 9279 # All AIX code is PIC. 9280 if test "$host_cpu" = ia64; then 9281 # AIX 5 now supports IA64 processor 9282 lt_prog_compiler_static='-Bstatic' 9283 fi 9284 ;; 9285 9286 amigaos*) 9287 case $host_cpu in 9288 powerpc) 9289 # see comment about AmigaOS4 .so support 9290 lt_prog_compiler_pic='-fPIC' 9291 ;; 9292 m68k) 9293 # FIXME: we need at least 68020 code to build shared libraries, but 9294 # adding the `-m68020' flag to GCC prevents building anything better, 9295 # like `-m68040'. 9296 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 9297 ;; 9298 esac 9299 ;; 9300 9301 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 9302 # PIC is the default for these OSes. 9303 ;; 9304 9305 mingw* | cygwin* | pw32* | os2* | cegcc*) 9306 # This hack is so that the source file can tell whether it is being 9307 # built for inclusion in a dll (and should export symbols for example). 9308 # Although the cygwin gcc ignores -fPIC, still need this for old-style 9309 # (--disable-auto-import) libraries 9310 lt_prog_compiler_pic='-DDLL_EXPORT' 9311 ;; 9312 9313 darwin* | rhapsody*) 9314 # PIC is the default on this platform 9315 # Common symbols not allowed in MH_DYLIB files 9316 lt_prog_compiler_pic='-fno-common' 9317 ;; 9318 9319 hpux*) 9320 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 9321 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 9322 # sets the default TLS model and affects inlining. 9323 case $host_cpu in 9324 hppa*64*) 9325 # +Z the default 9326 ;; 9327 *) 9328 lt_prog_compiler_pic='-fPIC' 9329 ;; 9330 esac 9331 ;; 9332 9333 interix[3-9]*) 9334 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 9335 # Instead, we relocate shared libraries at runtime. 9336 ;; 9337 9338 msdosdjgpp*) 9339 # Just because we use GCC doesn't mean we suddenly get shared libraries 9340 # on systems that don't support them. 9341 lt_prog_compiler_can_build_shared=no 9342 enable_shared=no 9343 ;; 9344 9345 *nto* | *qnx*) 9346 # QNX uses GNU C++, but need to define -shared option too, otherwise 9347 # it will coredump. 9348 lt_prog_compiler_pic='-fPIC -shared' 9349 ;; 9350 9351 sysv4*MP*) 9352 if test -d /usr/nec; then 9353 lt_prog_compiler_pic=-Kconform_pic 9354 fi 9355 ;; 9356 9357 *) 9358 lt_prog_compiler_pic='-fPIC' 9359 ;; 9360 esac 9361 else 9362 # PORTME Check for flag to pass linker flags through the system compiler. 9363 case $host_os in 9364 aix*) 9365 lt_prog_compiler_wl='-Wl,' 9366 if test "$host_cpu" = ia64; then 9367 # AIX 5 now supports IA64 processor 9368 lt_prog_compiler_static='-Bstatic' 9369 else 9370 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 9371 fi 9372 ;; 9373 9374 mingw* | cygwin* | pw32* | os2* | cegcc*) 9375 # This hack is so that the source file can tell whether it is being 9376 # built for inclusion in a dll (and should export symbols for example). 9377 lt_prog_compiler_pic='-DDLL_EXPORT' 9378 ;; 9379 9380 hpux9* | hpux10* | hpux11*) 9381 lt_prog_compiler_wl='-Wl,' 9382 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 9383 # not for PA HP-UX. 9384 case $host_cpu in 9385 hppa*64*|ia64*) 9386 # +Z the default 9387 ;; 9388 *) 9389 lt_prog_compiler_pic='+Z' 9390 ;; 9391 esac 9392 # Is there a better lt_prog_compiler_static that works with the bundled CC? 9393 lt_prog_compiler_static='${wl}-a ${wl}archive' 9394 ;; 9395 9396 irix5* | irix6* | nonstopux*) 9397 lt_prog_compiler_wl='-Wl,' 9398 # PIC (with -KPIC) is the default. 9399 lt_prog_compiler_static='-non_shared' 9400 ;; 9401 9402 linux* | k*bsd*-gnu | kopensolaris*-gnu) 9403 case $cc_basename in 9404 # old Intel for x86_64 which still supported -KPIC. 9405 ecc*) 9406 lt_prog_compiler_wl='-Wl,' 9407 lt_prog_compiler_pic='-KPIC' 9408 lt_prog_compiler_static='-static' 9409 ;; 9410 # icc used to be incompatible with GCC. 9411 # ICC 10 doesn't accept -KPIC any more. 9412 icc* | ifort*) 9413 lt_prog_compiler_wl='-Wl,' 9414 lt_prog_compiler_pic='-fPIC' 9415 lt_prog_compiler_static='-static' 9416 ;; 9417 # Lahey Fortran 8.1. 9418 lf95*) 9419 lt_prog_compiler_wl='-Wl,' 9420 lt_prog_compiler_pic='--shared' 9421 lt_prog_compiler_static='--static' 9422 ;; 9423 pgcc* | pgf77* | pgf90* | pgf95*) 9424 # Portland Group compilers (*not* the Pentium gcc compiler, 9425 # which looks to be a dead project) 9426 lt_prog_compiler_wl='-Wl,' 9427 lt_prog_compiler_pic='-fpic' 9428 lt_prog_compiler_static='-Bstatic' 9429 ;; 9430 ccc*) 9431 lt_prog_compiler_wl='-Wl,' 9432 # All Alpha code is PIC. 9433 lt_prog_compiler_static='-non_shared' 9434 ;; 9435 xl*) 9436 # IBM XL C 8.0/Fortran 10.1 on PPC 9437 lt_prog_compiler_wl='-Wl,' 9438 lt_prog_compiler_pic='-qpic' 9439 lt_prog_compiler_static='-qstaticlink' 9440 ;; 9441 *) 9442 case `$CC -V 2>&1 | sed 5q` in 9443 *Sun\ C*) 9444 # Sun C 5.9 9445 lt_prog_compiler_pic='-KPIC' 9446 lt_prog_compiler_static='-Bstatic' 9447 lt_prog_compiler_wl='-Wl,' 9448 ;; 9449 *Sun\ F*) 9450 # Sun Fortran 8.3 passes all unrecognized flags to the linker 9451 lt_prog_compiler_pic='-KPIC' 9452 lt_prog_compiler_static='-Bstatic' 9453 lt_prog_compiler_wl='' 9454 ;; 9455 esac 9456 ;; 9457 esac 9458 ;; 9459 9460 newsos6) 9461 lt_prog_compiler_pic='-KPIC' 9462 lt_prog_compiler_static='-Bstatic' 9463 ;; 9464 9465 *nto* | *qnx*) 9466 # QNX uses GNU C++, but need to define -shared option too, otherwise 9467 # it will coredump. 9468 lt_prog_compiler_pic='-fPIC -shared' 9469 ;; 9470 9471 osf3* | osf4* | osf5*) 9472 lt_prog_compiler_wl='-Wl,' 9473 # All OSF/1 code is PIC. 9474 lt_prog_compiler_static='-non_shared' 9475 ;; 9476 9477 rdos*) 9478 lt_prog_compiler_static='-non_shared' 9479 ;; 9480 9481 solaris*) 9482 lt_prog_compiler_pic='-KPIC' 9483 lt_prog_compiler_static='-Bstatic' 9484 case $cc_basename in 9485 f77* | f90* | f95*) 9486 lt_prog_compiler_wl='-Qoption ld ';; 9487 *) 9488 lt_prog_compiler_wl='-Wl,';; 9489 esac 9490 ;; 9491 9492 sunos4*) 9493 lt_prog_compiler_wl='-Qoption ld ' 9494 lt_prog_compiler_pic='-PIC' 9495 lt_prog_compiler_static='-Bstatic' 9496 ;; 9497 9498 sysv4 | sysv4.2uw2* | sysv4.3*) 9499 lt_prog_compiler_wl='-Wl,' 9500 lt_prog_compiler_pic='-KPIC' 9501 lt_prog_compiler_static='-Bstatic' 9502 ;; 9503 9504 sysv4*MP*) 9505 if test -d /usr/nec ;then 9506 lt_prog_compiler_pic='-Kconform_pic' 9507 lt_prog_compiler_static='-Bstatic' 9508 fi 9509 ;; 9510 9511 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 9512 lt_prog_compiler_wl='-Wl,' 9513 lt_prog_compiler_pic='-KPIC' 9514 lt_prog_compiler_static='-Bstatic' 9515 ;; 9516 9517 unicos*) 9518 lt_prog_compiler_wl='-Wl,' 9519 lt_prog_compiler_can_build_shared=no 9520 ;; 9521 9522 uts4*) 9523 lt_prog_compiler_pic='-pic' 9524 lt_prog_compiler_static='-Bstatic' 9525 ;; 9526 9527 *) 9528 lt_prog_compiler_can_build_shared=no 9529 ;; 9530 esac 9531 fi 9532 9533case $host_os in 9534 # For platforms which do not support PIC, -DPIC is meaningless: 9535 *djgpp*) 9536 lt_prog_compiler_pic= 9537 ;; 9538 *) 9539 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 9540 ;; 9541esac 9542{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 9543$as_echo "$lt_prog_compiler_pic" >&6; } 9544 9545 9546 9547 9548 9549 9550# 9551# Check to make sure the PIC flag actually works. 9552# 9553if test -n "$lt_prog_compiler_pic"; then 9554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 9555$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 9556if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : 9557 $as_echo_n "(cached) " >&6 9558else 9559 lt_cv_prog_compiler_pic_works=no 9560 ac_outfile=conftest.$ac_objext 9561 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9562 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 9563 # Insert the option either (1) after the last *FLAGS variable, or 9564 # (2) before a word containing "conftest.", or (3) at the end. 9565 # Note that $ac_compile itself does not contain backslashes and begins 9566 # with a dollar sign (not a hyphen), so the echo should work correctly. 9567 # The option is referenced via a variable to avoid confusing sed. 9568 lt_compile=`echo "$ac_compile" | $SED \ 9569 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9570 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9571 -e 's:$: $lt_compiler_flag:'` 9572 (eval echo "\"\$as_me:9572: $lt_compile\"" >&5) 9573 (eval "$lt_compile" 2>conftest.err) 9574 ac_status=$? 9575 cat conftest.err >&5 9576 echo "$as_me:9576: \$? = $ac_status" >&5 9577 if (exit $ac_status) && test -s "$ac_outfile"; then 9578 # The compiler can only warn and ignore the option if not recognized 9579 # So say no if there are warnings other than the usual output. 9580 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 9581 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9582 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9583 lt_cv_prog_compiler_pic_works=yes 9584 fi 9585 fi 9586 $RM conftest* 9587 9588fi 9589{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 9590$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 9591 9592if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 9593 case $lt_prog_compiler_pic in 9594 "" | " "*) ;; 9595 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 9596 esac 9597else 9598 lt_prog_compiler_pic= 9599 lt_prog_compiler_can_build_shared=no 9600fi 9601 9602fi 9603 9604 9605 9606 9607 9608 9609# 9610# Check to make sure the static flag actually works. 9611# 9612wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9614$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9615if test "${lt_cv_prog_compiler_static_works+set}" = set; then : 9616 $as_echo_n "(cached) " >&6 9617else 9618 lt_cv_prog_compiler_static_works=no 9619 save_LDFLAGS="$LDFLAGS" 9620 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9621 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9622 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9623 # The linker can only warn and ignore the option if not recognized 9624 # So say no if there are warnings 9625 if test -s conftest.err; then 9626 # Append any errors to the config.log. 9627 cat conftest.err 1>&5 9628 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 9629 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9630 if diff conftest.exp conftest.er2 >/dev/null; then 9631 lt_cv_prog_compiler_static_works=yes 9632 fi 9633 else 9634 lt_cv_prog_compiler_static_works=yes 9635 fi 9636 fi 9637 $RM -r conftest* 9638 LDFLAGS="$save_LDFLAGS" 9639 9640fi 9641{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 9642$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 9643 9644if test x"$lt_cv_prog_compiler_static_works" = xyes; then 9645 : 9646else 9647 lt_prog_compiler_static= 9648fi 9649 9650 9651 9652 9653 9654 9655 9656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9657$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9658if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 9659 $as_echo_n "(cached) " >&6 9660else 9661 lt_cv_prog_compiler_c_o=no 9662 $RM -r conftest 2>/dev/null 9663 mkdir conftest 9664 cd conftest 9665 mkdir out 9666 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9667 9668 lt_compiler_flag="-o out/conftest2.$ac_objext" 9669 # Insert the option either (1) after the last *FLAGS variable, or 9670 # (2) before a word containing "conftest.", or (3) at the end. 9671 # Note that $ac_compile itself does not contain backslashes and begins 9672 # with a dollar sign (not a hyphen), so the echo should work correctly. 9673 lt_compile=`echo "$ac_compile" | $SED \ 9674 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9675 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9676 -e 's:$: $lt_compiler_flag:'` 9677 (eval echo "\"\$as_me:9677: $lt_compile\"" >&5) 9678 (eval "$lt_compile" 2>out/conftest.err) 9679 ac_status=$? 9680 cat out/conftest.err >&5 9681 echo "$as_me:9681: \$? = $ac_status" >&5 9682 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9683 then 9684 # The compiler can only warn and ignore the option if not recognized 9685 # So say no if there are warnings 9686 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 9687 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9688 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9689 lt_cv_prog_compiler_c_o=yes 9690 fi 9691 fi 9692 chmod u+w . 2>&5 9693 $RM conftest* 9694 # SGI C++ compiler will create directory out/ii_files/ for 9695 # template instantiation 9696 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9697 $RM out/* && rmdir out 9698 cd .. 9699 $RM -r conftest 9700 $RM conftest* 9701 9702fi 9703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9704$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9705 9706 9707 9708 9709 9710 9711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9712$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9713if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 9714 $as_echo_n "(cached) " >&6 9715else 9716 lt_cv_prog_compiler_c_o=no 9717 $RM -r conftest 2>/dev/null 9718 mkdir conftest 9719 cd conftest 9720 mkdir out 9721 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9722 9723 lt_compiler_flag="-o out/conftest2.$ac_objext" 9724 # Insert the option either (1) after the last *FLAGS variable, or 9725 # (2) before a word containing "conftest.", or (3) at the end. 9726 # Note that $ac_compile itself does not contain backslashes and begins 9727 # with a dollar sign (not a hyphen), so the echo should work correctly. 9728 lt_compile=`echo "$ac_compile" | $SED \ 9729 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9730 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9731 -e 's:$: $lt_compiler_flag:'` 9732 (eval echo "\"\$as_me:9732: $lt_compile\"" >&5) 9733 (eval "$lt_compile" 2>out/conftest.err) 9734 ac_status=$? 9735 cat out/conftest.err >&5 9736 echo "$as_me:9736: \$? = $ac_status" >&5 9737 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9738 then 9739 # The compiler can only warn and ignore the option if not recognized 9740 # So say no if there are warnings 9741 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 9742 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9743 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9744 lt_cv_prog_compiler_c_o=yes 9745 fi 9746 fi 9747 chmod u+w . 2>&5 9748 $RM conftest* 9749 # SGI C++ compiler will create directory out/ii_files/ for 9750 # template instantiation 9751 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9752 $RM out/* && rmdir out 9753 cd .. 9754 $RM -r conftest 9755 $RM conftest* 9756 9757fi 9758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9759$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9760 9761 9762 9763 9764hard_links="nottested" 9765if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 9766 # do not overwrite the value of need_locks provided by the user 9767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9768$as_echo_n "checking if we can lock with hard links... " >&6; } 9769 hard_links=yes 9770 $RM conftest* 9771 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9772 touch conftest.a 9773 ln conftest.a conftest.b 2>&5 || hard_links=no 9774 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9776$as_echo "$hard_links" >&6; } 9777 if test "$hard_links" = no; then 9778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 9779$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 9780 need_locks=warn 9781 fi 9782else 9783 need_locks=no 9784fi 9785 9786 9787 9788 9789 9790 9791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9792$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9793 9794 runpath_var= 9795 allow_undefined_flag= 9796 always_export_symbols=no 9797 archive_cmds= 9798 archive_expsym_cmds= 9799 compiler_needs_object=no 9800 enable_shared_with_static_runtimes=no 9801 export_dynamic_flag_spec= 9802 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9803 hardcode_automatic=no 9804 hardcode_direct=no 9805 hardcode_direct_absolute=no 9806 hardcode_libdir_flag_spec= 9807 hardcode_libdir_flag_spec_ld= 9808 hardcode_libdir_separator= 9809 hardcode_minus_L=no 9810 hardcode_shlibpath_var=unsupported 9811 inherit_rpath=no 9812 link_all_deplibs=unknown 9813 module_cmds= 9814 module_expsym_cmds= 9815 old_archive_from_new_cmds= 9816 old_archive_from_expsyms_cmds= 9817 thread_safe_flag_spec= 9818 whole_archive_flag_spec= 9819 # include_expsyms should be a list of space-separated symbols to be *always* 9820 # included in the symbol list 9821 include_expsyms= 9822 # exclude_expsyms can be an extended regexp of symbols to exclude 9823 # it will be wrapped by ` (' and `)$', so one must not match beginning or 9824 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 9825 # as well as any symbol that contains `d'. 9826 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9827 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9828 # platforms (ab)use it in PIC code, but their linkers get confused if 9829 # the symbol is explicitly referenced. Since portable code cannot 9830 # rely on this symbol name, it's probably fine to never include it in 9831 # preloaded symbol tables. 9832 # Exclude shared library initialization/finalization symbols. 9833 extract_expsyms_cmds= 9834 9835 case $host_os in 9836 cygwin* | mingw* | pw32* | cegcc*) 9837 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9838 # When not using gcc, we currently assume that we are using 9839 # Microsoft Visual C++. 9840 if test "$GCC" != yes; then 9841 with_gnu_ld=no 9842 fi 9843 ;; 9844 interix*) 9845 # we just hope/assume this is gcc and not c89 (= MSVC++) 9846 with_gnu_ld=yes 9847 ;; 9848 openbsd*) 9849 with_gnu_ld=no 9850 ;; 9851 linux* | k*bsd*-gnu) 9852 link_all_deplibs=no 9853 ;; 9854 esac 9855 9856 ld_shlibs=yes 9857 if test "$with_gnu_ld" = yes; then 9858 # If archive_cmds runs LD, not CC, wlarc should be empty 9859 wlarc='${wl}' 9860 9861 # Set some defaults for GNU ld with shared library support. These 9862 # are reset later if shared libraries are not supported. Putting them 9863 # here allows them to be overridden if necessary. 9864 runpath_var=LD_RUN_PATH 9865 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9866 export_dynamic_flag_spec='${wl}--export-dynamic' 9867 # ancient GNU ld didn't support --whole-archive et. al. 9868 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9869 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 9870 else 9871 whole_archive_flag_spec= 9872 fi 9873 supports_anon_versioning=no 9874 case `$LD -v 2>&1` in 9875 *GNU\ gold*) supports_anon_versioning=yes ;; 9876 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9877 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9878 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9879 *\ 2.11.*) ;; # other 2.11 versions 9880 *) supports_anon_versioning=yes ;; 9881 esac 9882 9883 # See if GNU ld supports shared libraries. 9884 case $host_os in 9885 aix[3-9]*) 9886 # On AIX/PPC, the GNU linker is very broken 9887 if test "$host_cpu" != ia64; then 9888 ld_shlibs=no 9889 cat <<_LT_EOF 1>&2 9890 9891*** Warning: the GNU linker, at least up to release 2.9.1, is reported 9892*** to be unable to reliably create shared libraries on AIX. 9893*** Therefore, libtool is disabling shared libraries support. If you 9894*** really care for shared libraries, you may want to modify your PATH 9895*** so that a non-GNU linker is found, and then restart. 9896 9897_LT_EOF 9898 fi 9899 ;; 9900 9901 amigaos*) 9902 case $host_cpu in 9903 powerpc) 9904 # see comment about AmigaOS4 .so support 9905 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9906 archive_expsym_cmds='' 9907 ;; 9908 m68k) 9909 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)' 9910 hardcode_libdir_flag_spec='-L$libdir' 9911 hardcode_minus_L=yes 9912 ;; 9913 esac 9914 ;; 9915 9916 beos*) 9917 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9918 allow_undefined_flag=unsupported 9919 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9920 # support --undefined. This deserves some investigation. FIXME 9921 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9922 else 9923 ld_shlibs=no 9924 fi 9925 ;; 9926 9927 cygwin* | mingw* | pw32* | cegcc*) 9928 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9929 # as there is no search path for DLLs. 9930 hardcode_libdir_flag_spec='-L$libdir' 9931 allow_undefined_flag=unsupported 9932 always_export_symbols=no 9933 enable_shared_with_static_runtimes=yes 9934 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9935 9936 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9937 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9938 # If the export-symbols file already is a .def file (1st line 9939 # is EXPORTS), use it as is; otherwise, prepend... 9940 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9941 cp $export_symbols $output_objdir/$soname.def; 9942 else 9943 echo EXPORTS > $output_objdir/$soname.def; 9944 cat $export_symbols >> $output_objdir/$soname.def; 9945 fi~ 9946 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9947 else 9948 ld_shlibs=no 9949 fi 9950 ;; 9951 9952 interix[3-9]*) 9953 hardcode_direct=no 9954 hardcode_shlibpath_var=no 9955 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9956 export_dynamic_flag_spec='${wl}-E' 9957 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9958 # Instead, shared libraries are loaded at an image base (0x10000000 by 9959 # default) and relocated if they conflict, which is a slow very memory 9960 # consuming and fragmenting process. To avoid this, we pick a random, 9961 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9962 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9963 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9964 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' 9965 ;; 9966 9967 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9968 tmp_diet=no 9969 if test "$host_os" = linux-dietlibc; then 9970 case $cc_basename in 9971 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9972 esac 9973 fi 9974 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9975 && test "$tmp_diet" = no 9976 then 9977 tmp_addflag= 9978 tmp_sharedflag='-shared' 9979 case $cc_basename,$host_cpu in 9980 pgcc*) # Portland Group C compiler 9981 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' 9982 tmp_addflag=' $pic_flag' 9983 ;; 9984 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 9985 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' 9986 tmp_addflag=' $pic_flag -Mnomain' ;; 9987 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9988 tmp_addflag=' -i_dynamic' ;; 9989 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9990 tmp_addflag=' -i_dynamic -nofor_main' ;; 9991 ifc* | ifort*) # Intel Fortran compiler 9992 tmp_addflag=' -nofor_main' ;; 9993 lf95*) # Lahey Fortran 8.1 9994 whole_archive_flag_spec= 9995 tmp_sharedflag='--shared' ;; 9996 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9997 tmp_sharedflag='-qmkshrobj' 9998 tmp_addflag= ;; 9999 esac 10000 case `$CC -V 2>&1 | sed 5q` in 10001 *Sun\ C*) # Sun C 5.9 10002 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' 10003 compiler_needs_object=yes 10004 tmp_sharedflag='-G' ;; 10005 *Sun\ F*) # Sun Fortran 8.3 10006 tmp_sharedflag='-G' ;; 10007 esac 10008 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10009 10010 if test "x$supports_anon_versioning" = xyes; then 10011 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10012 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10013 echo "local: *; };" >> $output_objdir/$libname.ver~ 10014 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 10015 fi 10016 10017 case $cc_basename in 10018 xlf*) 10019 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 10020 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 10021 hardcode_libdir_flag_spec= 10022 hardcode_libdir_flag_spec_ld='-rpath $libdir' 10023 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' 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 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 10029 fi 10030 ;; 10031 esac 10032 else 10033 ld_shlibs=no 10034 fi 10035 ;; 10036 10037 netbsd* | netbsdelf*-gnu) 10038 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10039 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 10040 wlarc= 10041 else 10042 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10043 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 10044 fi 10045 ;; 10046 10047 solaris*) 10048 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 10049 ld_shlibs=no 10050 cat <<_LT_EOF 1>&2 10051 10052*** Warning: The releases 2.8.* of the GNU linker cannot reliably 10053*** create shared libraries on Solaris systems. Therefore, libtool 10054*** is disabling shared libraries support. We urge you to upgrade GNU 10055*** binutils to release 2.9.1 or newer. Another option is to modify 10056*** your PATH or compiler configuration so that the native linker is 10057*** used, and then restart. 10058 10059_LT_EOF 10060 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10061 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10062 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 10063 else 10064 ld_shlibs=no 10065 fi 10066 ;; 10067 10068 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 10069 case `$LD -v 2>&1` in 10070 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 10071 ld_shlibs=no 10072 cat <<_LT_EOF 1>&2 10073 10074*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 10075*** reliably create shared libraries on SCO systems. Therefore, libtool 10076*** is disabling shared libraries support. We urge you to upgrade GNU 10077*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 10078*** your PATH or compiler configuration so that the native linker is 10079*** used, and then restart. 10080 10081_LT_EOF 10082 ;; 10083 *) 10084 # For security reasons, it is highly recommended that you always 10085 # use absolute paths for naming shared libraries, and exclude the 10086 # DT_RUNPATH tag from executables and libraries. But doing so 10087 # requires that you compile everything twice, which is a pain. 10088 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10089 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10090 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10091 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 10092 else 10093 ld_shlibs=no 10094 fi 10095 ;; 10096 esac 10097 ;; 10098 10099 sunos4*) 10100 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10101 wlarc= 10102 hardcode_direct=yes 10103 hardcode_shlibpath_var=no 10104 ;; 10105 10106 *) 10107 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10108 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10109 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 10110 else 10111 ld_shlibs=no 10112 fi 10113 ;; 10114 esac 10115 10116 if test "$ld_shlibs" = no; then 10117 runpath_var= 10118 hardcode_libdir_flag_spec= 10119 export_dynamic_flag_spec= 10120 whole_archive_flag_spec= 10121 fi 10122 else 10123 # PORTME fill in a description of your system's linker (not GNU ld) 10124 case $host_os in 10125 aix3*) 10126 allow_undefined_flag=unsupported 10127 always_export_symbols=yes 10128 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' 10129 # Note: this linker hardcodes the directories in LIBPATH if there 10130 # are no directories specified by -L. 10131 hardcode_minus_L=yes 10132 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 10133 # Neither direct hardcoding nor static linking is supported with a 10134 # broken collect2. 10135 hardcode_direct=unsupported 10136 fi 10137 ;; 10138 10139 aix[4-9]*) 10140 if test "$host_cpu" = ia64; then 10141 # On IA64, the linker does run time linking by default, so we don't 10142 # have to do anything special. 10143 aix_use_runtimelinking=no 10144 exp_sym_flag='-Bexport' 10145 no_entry_flag="" 10146 else 10147 # If we're using GNU nm, then we don't want the "-C" option. 10148 # -C means demangle to AIX nm, but means don't demangle with GNU nm 10149 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 10150 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' 10151 else 10152 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' 10153 fi 10154 aix_use_runtimelinking=no 10155 10156 # Test if we are trying to use run time linking or normal 10157 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 10158 # need to do runtime linking. 10159 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 10160 for ld_flag in $LDFLAGS; do 10161 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 10162 aix_use_runtimelinking=yes 10163 break 10164 fi 10165 done 10166 ;; 10167 esac 10168 10169 exp_sym_flag='-bexport' 10170 no_entry_flag='-bnoentry' 10171 fi 10172 10173 # When large executables or shared objects are built, AIX ld can 10174 # have problems creating the table of contents. If linking a library 10175 # or program results in "error TOC overflow" add -mminimal-toc to 10176 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 10177 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 10178 10179 archive_cmds='' 10180 hardcode_direct=yes 10181 hardcode_direct_absolute=yes 10182 hardcode_libdir_separator=':' 10183 link_all_deplibs=yes 10184 file_list_spec='${wl}-f,' 10185 10186 if test "$GCC" = yes; then 10187 case $host_os in aix4.[012]|aix4.[012].*) 10188 # We only want to do this on AIX 4.2 and lower, the check 10189 # below for broken collect2 doesn't work under 4.3+ 10190 collect2name=`${CC} -print-prog-name=collect2` 10191 if test -f "$collect2name" && 10192 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 10193 then 10194 # We have reworked collect2 10195 : 10196 else 10197 # We have old collect2 10198 hardcode_direct=unsupported 10199 # It fails to find uninstalled libraries when the uninstalled 10200 # path is not listed in the libpath. Setting hardcode_minus_L 10201 # to unsupported forces relinking 10202 hardcode_minus_L=yes 10203 hardcode_libdir_flag_spec='-L$libdir' 10204 hardcode_libdir_separator= 10205 fi 10206 ;; 10207 esac 10208 shared_flag='-shared' 10209 if test "$aix_use_runtimelinking" = yes; then 10210 shared_flag="$shared_flag "'${wl}-G' 10211 fi 10212 link_all_deplibs=no 10213 else 10214 # not using gcc 10215 if test "$host_cpu" = ia64; then 10216 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 10217 # chokes on -Wl,-G. The following line is correct: 10218 shared_flag='-G' 10219 else 10220 if test "$aix_use_runtimelinking" = yes; then 10221 shared_flag='${wl}-G' 10222 else 10223 shared_flag='${wl}-bM:SRE' 10224 fi 10225 fi 10226 fi 10227 10228 export_dynamic_flag_spec='${wl}-bexpall' 10229 # It seems that -bexpall does not export symbols beginning with 10230 # underscore (_), so it is better to generate a list of symbols to export. 10231 always_export_symbols=yes 10232 if test "$aix_use_runtimelinking" = yes; then 10233 # Warning - without using the other runtime loading flags (-brtl), 10234 # -berok will link without error, but may produce a broken library. 10235 allow_undefined_flag='-berok' 10236 # Determine the default libpath from the value encoded in an 10237 # empty executable. 10238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10239/* end confdefs.h. */ 10240 10241int 10242main () 10243{ 10244 10245 ; 10246 return 0; 10247} 10248_ACEOF 10249if ac_fn_c_try_link "$LINENO"; then : 10250 10251lt_aix_libpath_sed=' 10252 /Import File Strings/,/^$/ { 10253 /^0/ { 10254 s/^0 *\(.*\)$/\1/ 10255 p 10256 } 10257 }' 10258aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10259# Check for a 64-bit object if we didn't find anything. 10260if test -z "$aix_libpath"; then 10261 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10262fi 10263fi 10264rm -f core conftest.err conftest.$ac_objext \ 10265 conftest$ac_exeext conftest.$ac_ext 10266if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 10267 10268 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 10269 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" 10270 else 10271 if test "$host_cpu" = ia64; then 10272 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 10273 allow_undefined_flag="-z nodefs" 10274 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" 10275 else 10276 # Determine the default libpath from the value encoded in an 10277 # empty executable. 10278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10279/* end confdefs.h. */ 10280 10281int 10282main () 10283{ 10284 10285 ; 10286 return 0; 10287} 10288_ACEOF 10289if ac_fn_c_try_link "$LINENO"; then : 10290 10291lt_aix_libpath_sed=' 10292 /Import File Strings/,/^$/ { 10293 /^0/ { 10294 s/^0 *\(.*\)$/\1/ 10295 p 10296 } 10297 }' 10298aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10299# Check for a 64-bit object if we didn't find anything. 10300if test -z "$aix_libpath"; then 10301 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10302fi 10303fi 10304rm -f core conftest.err conftest.$ac_objext \ 10305 conftest$ac_exeext conftest.$ac_ext 10306if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 10307 10308 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 10309 # Warning - without using the other run time loading flags, 10310 # -berok will link without error, but may produce a broken library. 10311 no_undefined_flag=' ${wl}-bernotok' 10312 allow_undefined_flag=' ${wl}-berok' 10313 # Exported symbols can be pulled into shared objects from archives 10314 whole_archive_flag_spec='$convenience' 10315 archive_cmds_need_lc=yes 10316 # This is similar to how AIX traditionally builds its shared libraries. 10317 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' 10318 fi 10319 fi 10320 ;; 10321 10322 amigaos*) 10323 case $host_cpu in 10324 powerpc) 10325 # see comment about AmigaOS4 .so support 10326 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10327 archive_expsym_cmds='' 10328 ;; 10329 m68k) 10330 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)' 10331 hardcode_libdir_flag_spec='-L$libdir' 10332 hardcode_minus_L=yes 10333 ;; 10334 esac 10335 ;; 10336 10337 bsdi[45]*) 10338 export_dynamic_flag_spec=-rdynamic 10339 ;; 10340 10341 cygwin* | mingw* | pw32* | cegcc*) 10342 # When not using gcc, we currently assume that we are using 10343 # Microsoft Visual C++. 10344 # hardcode_libdir_flag_spec is actually meaningless, as there is 10345 # no search path for DLLs. 10346 hardcode_libdir_flag_spec=' ' 10347 allow_undefined_flag=unsupported 10348 # Tell ltmain to make .lib files, not .a files. 10349 libext=lib 10350 # Tell ltmain to make .dll files, not .so files. 10351 shrext_cmds=".dll" 10352 # FIXME: Setting linknames here is a bad hack. 10353 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' 10354 # The linker will automatically build a .lib file if we build a DLL. 10355 old_archive_from_new_cmds='true' 10356 # FIXME: Should let the user specify the lib program. 10357 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 10358 fix_srcfile_path='`cygpath -w "$srcfile"`' 10359 enable_shared_with_static_runtimes=yes 10360 ;; 10361 10362 darwin* | rhapsody*) 10363 10364 10365 archive_cmds_need_lc=no 10366 hardcode_direct=no 10367 hardcode_automatic=yes 10368 hardcode_shlibpath_var=unsupported 10369 whole_archive_flag_spec='' 10370 link_all_deplibs=yes 10371 allow_undefined_flag="$_lt_dar_allow_undefined" 10372 case $cc_basename in 10373 ifort*) _lt_dar_can_shared=yes ;; 10374 *) _lt_dar_can_shared=$GCC ;; 10375 esac 10376 if test "$_lt_dar_can_shared" = "yes"; then 10377 output_verbose_link_cmd=echo 10378 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 10379 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 10380 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}" 10381 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}" 10382 10383 else 10384 ld_shlibs=no 10385 fi 10386 10387 ;; 10388 10389 dgux*) 10390 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10391 hardcode_libdir_flag_spec='-L$libdir' 10392 hardcode_shlibpath_var=no 10393 ;; 10394 10395 freebsd1*) 10396 ld_shlibs=no 10397 ;; 10398 10399 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 10400 # support. Future versions do this automatically, but an explicit c++rt0.o 10401 # does not break anything, and helps significantly (at the cost of a little 10402 # extra space). 10403 freebsd2.2*) 10404 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 10405 hardcode_libdir_flag_spec='-R$libdir' 10406 hardcode_direct=yes 10407 hardcode_shlibpath_var=no 10408 ;; 10409 10410 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 10411 freebsd2*) 10412 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10413 hardcode_direct=yes 10414 hardcode_minus_L=yes 10415 hardcode_shlibpath_var=no 10416 ;; 10417 10418 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10419 freebsd* | dragonfly*) 10420 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 10421 hardcode_libdir_flag_spec='-R$libdir' 10422 hardcode_direct=yes 10423 hardcode_shlibpath_var=no 10424 ;; 10425 10426 hpux9*) 10427 if test "$GCC" = yes; then 10428 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' 10429 else 10430 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' 10431 fi 10432 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10433 hardcode_libdir_separator=: 10434 hardcode_direct=yes 10435 10436 # hardcode_minus_L: Not really in the search PATH, 10437 # but as the default location of the library. 10438 hardcode_minus_L=yes 10439 export_dynamic_flag_spec='${wl}-E' 10440 ;; 10441 10442 hpux10*) 10443 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 10444 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10445 else 10446 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10447 fi 10448 if test "$with_gnu_ld" = no; then 10449 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10450 hardcode_libdir_flag_spec_ld='+b $libdir' 10451 hardcode_libdir_separator=: 10452 hardcode_direct=yes 10453 hardcode_direct_absolute=yes 10454 export_dynamic_flag_spec='${wl}-E' 10455 # hardcode_minus_L: Not really in the search PATH, 10456 # but as the default location of the library. 10457 hardcode_minus_L=yes 10458 fi 10459 ;; 10460 10461 hpux11*) 10462 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 10463 case $host_cpu in 10464 hppa*64*) 10465 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10466 ;; 10467 ia64*) 10468 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10469 ;; 10470 *) 10471 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10472 ;; 10473 esac 10474 else 10475 case $host_cpu in 10476 hppa*64*) 10477 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10478 ;; 10479 ia64*) 10480 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10481 ;; 10482 *) 10483 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10484 ;; 10485 esac 10486 fi 10487 if test "$with_gnu_ld" = no; then 10488 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10489 hardcode_libdir_separator=: 10490 10491 case $host_cpu in 10492 hppa*64*|ia64*) 10493 hardcode_direct=no 10494 hardcode_shlibpath_var=no 10495 ;; 10496 *) 10497 hardcode_direct=yes 10498 hardcode_direct_absolute=yes 10499 export_dynamic_flag_spec='${wl}-E' 10500 10501 # hardcode_minus_L: Not really in the search PATH, 10502 # but as the default location of the library. 10503 hardcode_minus_L=yes 10504 ;; 10505 esac 10506 fi 10507 ;; 10508 10509 irix5* | irix6* | nonstopux*) 10510 if test "$GCC" = yes; then 10511 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' 10512 # Try to use the -exported_symbol ld option, if it does not 10513 # work, assume that -exports_file does not work either and 10514 # implicitly export all symbols. 10515 save_LDFLAGS="$LDFLAGS" 10516 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 10517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10518/* end confdefs.h. */ 10519int foo(void) {} 10520_ACEOF 10521if ac_fn_c_try_link "$LINENO"; then : 10522 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' 10523 10524fi 10525rm -f core conftest.err conftest.$ac_objext \ 10526 conftest$ac_exeext conftest.$ac_ext 10527 LDFLAGS="$save_LDFLAGS" 10528 else 10529 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' 10530 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' 10531 fi 10532 archive_cmds_need_lc='no' 10533 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10534 hardcode_libdir_separator=: 10535 inherit_rpath=yes 10536 link_all_deplibs=yes 10537 ;; 10538 10539 netbsd* | netbsdelf*-gnu) 10540 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10541 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10542 else 10543 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10544 fi 10545 hardcode_libdir_flag_spec='-R$libdir' 10546 hardcode_direct=yes 10547 hardcode_shlibpath_var=no 10548 ;; 10549 10550 newsos6) 10551 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10552 hardcode_direct=yes 10553 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10554 hardcode_libdir_separator=: 10555 hardcode_shlibpath_var=no 10556 ;; 10557 10558 *nto* | *qnx*) 10559 ;; 10560 10561 openbsd*) 10562 if test -f /usr/libexec/ld.so; then 10563 hardcode_direct=yes 10564 hardcode_shlibpath_var=no 10565 hardcode_direct_absolute=yes 10566 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10567 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10568 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 10569 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10570 export_dynamic_flag_spec='${wl}-E' 10571 else 10572 case $host_os in 10573 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 10574 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10575 hardcode_libdir_flag_spec='-R$libdir' 10576 ;; 10577 *) 10578 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10579 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10580 ;; 10581 esac 10582 fi 10583 else 10584 ld_shlibs=no 10585 fi 10586 ;; 10587 10588 os2*) 10589 hardcode_libdir_flag_spec='-L$libdir' 10590 hardcode_minus_L=yes 10591 allow_undefined_flag=unsupported 10592 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' 10593 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 10594 ;; 10595 10596 osf3*) 10597 if test "$GCC" = yes; then 10598 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10599 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' 10600 else 10601 allow_undefined_flag=' -expect_unresolved \*' 10602 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' 10603 fi 10604 archive_cmds_need_lc='no' 10605 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10606 hardcode_libdir_separator=: 10607 ;; 10608 10609 osf4* | osf5*) # as osf3* with the addition of -msym flag 10610 if test "$GCC" = yes; then 10611 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10612 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' 10613 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10614 else 10615 allow_undefined_flag=' -expect_unresolved \*' 10616 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' 10617 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~ 10618 $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' 10619 10620 # Both c and cxx compiler support -rpath directly 10621 hardcode_libdir_flag_spec='-rpath $libdir' 10622 fi 10623 archive_cmds_need_lc='no' 10624 hardcode_libdir_separator=: 10625 ;; 10626 10627 solaris*) 10628 no_undefined_flag=' -z defs' 10629 if test "$GCC" = yes; then 10630 wlarc='${wl}' 10631 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10632 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10633 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10634 else 10635 case `$CC -V 2>&1` in 10636 *"Compilers 5.0"*) 10637 wlarc='' 10638 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 10639 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10640 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10641 ;; 10642 *) 10643 wlarc='${wl}' 10644 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10645 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10646 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10647 ;; 10648 esac 10649 fi 10650 hardcode_libdir_flag_spec='-R$libdir' 10651 hardcode_shlibpath_var=no 10652 case $host_os in 10653 solaris2.[0-5] | solaris2.[0-5].*) ;; 10654 *) 10655 # The compiler driver will combine and reorder linker options, 10656 # but understands `-z linker_flag'. GCC discards it without `$wl', 10657 # but is careful enough not to reorder. 10658 # Supported since Solaris 2.6 (maybe 2.5.1?) 10659 if test "$GCC" = yes; then 10660 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 10661 else 10662 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10663 fi 10664 ;; 10665 esac 10666 link_all_deplibs=yes 10667 ;; 10668 10669 sunos4*) 10670 if test "x$host_vendor" = xsequent; then 10671 # Use $CC to link under sequent, because it throws in some extra .o 10672 # files that make .init and .fini sections work. 10673 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10674 else 10675 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10676 fi 10677 hardcode_libdir_flag_spec='-L$libdir' 10678 hardcode_direct=yes 10679 hardcode_minus_L=yes 10680 hardcode_shlibpath_var=no 10681 ;; 10682 10683 sysv4) 10684 case $host_vendor in 10685 sni) 10686 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10687 hardcode_direct=yes # is this really true??? 10688 ;; 10689 siemens) 10690 ## LD is ld it makes a PLAMLIB 10691 ## CC just makes a GrossModule. 10692 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10693 reload_cmds='$CC -r -o $output$reload_objs' 10694 hardcode_direct=no 10695 ;; 10696 motorola) 10697 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10698 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10699 ;; 10700 esac 10701 runpath_var='LD_RUN_PATH' 10702 hardcode_shlibpath_var=no 10703 ;; 10704 10705 sysv4.3*) 10706 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10707 hardcode_shlibpath_var=no 10708 export_dynamic_flag_spec='-Bexport' 10709 ;; 10710 10711 sysv4*MP*) 10712 if test -d /usr/nec; then 10713 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10714 hardcode_shlibpath_var=no 10715 runpath_var=LD_RUN_PATH 10716 hardcode_runpath_var=yes 10717 ld_shlibs=yes 10718 fi 10719 ;; 10720 10721 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10722 no_undefined_flag='${wl}-z,text' 10723 archive_cmds_need_lc=no 10724 hardcode_shlibpath_var=no 10725 runpath_var='LD_RUN_PATH' 10726 10727 if test "$GCC" = yes; then 10728 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10729 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10730 else 10731 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10732 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10733 fi 10734 ;; 10735 10736 sysv5* | sco3.2v5* | sco5v6*) 10737 # Note: We can NOT use -z defs as we might desire, because we do not 10738 # link with -lc, and that would cause any symbols used from libc to 10739 # always be unresolved, which means just about no library would 10740 # ever link correctly. If we're not using GNU ld we use -z text 10741 # though, which does catch some bad symbols but isn't as heavy-handed 10742 # as -z defs. 10743 no_undefined_flag='${wl}-z,text' 10744 allow_undefined_flag='${wl}-z,nodefs' 10745 archive_cmds_need_lc=no 10746 hardcode_shlibpath_var=no 10747 hardcode_libdir_flag_spec='${wl}-R,$libdir' 10748 hardcode_libdir_separator=':' 10749 link_all_deplibs=yes 10750 export_dynamic_flag_spec='${wl}-Bexport' 10751 runpath_var='LD_RUN_PATH' 10752 10753 if test "$GCC" = yes; then 10754 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10755 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10756 else 10757 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10758 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10759 fi 10760 ;; 10761 10762 uts4*) 10763 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10764 hardcode_libdir_flag_spec='-L$libdir' 10765 hardcode_shlibpath_var=no 10766 ;; 10767 10768 *) 10769 ld_shlibs=no 10770 ;; 10771 esac 10772 10773 if test x$host_vendor = xsni; then 10774 case $host in 10775 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10776 export_dynamic_flag_spec='${wl}-Blargedynsym' 10777 ;; 10778 esac 10779 fi 10780 fi 10781 10782{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10783$as_echo "$ld_shlibs" >&6; } 10784test "$ld_shlibs" = no && can_build_shared=no 10785 10786with_gnu_ld=$with_gnu_ld 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802# 10803# Do we need to explicitly link libc? 10804# 10805case "x$archive_cmds_need_lc" in 10806x|xyes) 10807 # Assume -lc should be added 10808 archive_cmds_need_lc=yes 10809 10810 if test "$enable_shared" = yes && test "$GCC" = yes; then 10811 case $archive_cmds in 10812 *'~'*) 10813 # FIXME: we may have to deal with multi-command sequences. 10814 ;; 10815 '$CC '*) 10816 # Test whether the compiler implicitly links with -lc since on some 10817 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10818 # to ld, don't add -lc before -lgcc. 10819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10820$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10821 $RM conftest* 10822 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10823 10824 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10825 (eval $ac_compile) 2>&5 10826 ac_status=$? 10827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10828 test $ac_status = 0; } 2>conftest.err; then 10829 soname=conftest 10830 lib=conftest 10831 libobjs=conftest.$ac_objext 10832 deplibs= 10833 wl=$lt_prog_compiler_wl 10834 pic_flag=$lt_prog_compiler_pic 10835 compiler_flags=-v 10836 linker_flags=-v 10837 verstring= 10838 output_objdir=. 10839 libname=conftest 10840 lt_save_allow_undefined_flag=$allow_undefined_flag 10841 allow_undefined_flag= 10842 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10843 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10844 ac_status=$? 10845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10846 test $ac_status = 0; } 10847 then 10848 archive_cmds_need_lc=no 10849 else 10850 archive_cmds_need_lc=yes 10851 fi 10852 allow_undefined_flag=$lt_save_allow_undefined_flag 10853 else 10854 cat conftest.err 1>&5 10855 fi 10856 $RM conftest* 10857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 10858$as_echo "$archive_cmds_need_lc" >&6; } 10859 ;; 10860 esac 10861 fi 10862 ;; 10863esac 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 11022$as_echo_n "checking dynamic linker characteristics... " >&6; } 11023 11024if test "$GCC" = yes; then 11025 case $host_os in 11026 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 11027 *) lt_awk_arg="/^libraries:/" ;; 11028 esac 11029 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` 11030 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then 11031 # if the path contains ";" then we assume it to be the separator 11032 # otherwise default to the standard path separator (i.e. ":") - it is 11033 # assumed that no part of a normal pathname contains ";" but that should 11034 # okay in the real world where ";" in dirpaths is itself problematic. 11035 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` 11036 else 11037 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11038 fi 11039 # Ok, now we have the path, separated by spaces, we can step through it 11040 # and add multilib dir if necessary. 11041 lt_tmp_lt_search_path_spec= 11042 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 11043 for lt_sys_path in $lt_search_path_spec; do 11044 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 11045 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 11046 else 11047 test -d "$lt_sys_path" && \ 11048 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 11049 fi 11050 done 11051 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' 11052BEGIN {RS=" "; FS="/|\n";} { 11053 lt_foo=""; 11054 lt_count=0; 11055 for (lt_i = NF; lt_i > 0; lt_i--) { 11056 if ($lt_i != "" && $lt_i != ".") { 11057 if ($lt_i == "..") { 11058 lt_count++; 11059 } else { 11060 if (lt_count == 0) { 11061 lt_foo="/" $lt_i lt_foo; 11062 } else { 11063 lt_count--; 11064 } 11065 } 11066 } 11067 } 11068 if (lt_foo != "") { lt_freq[lt_foo]++; } 11069 if (lt_freq[lt_foo] == 1) { print lt_foo; } 11070}'` 11071 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` 11072else 11073 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11074fi 11075library_names_spec= 11076libname_spec='lib$name' 11077soname_spec= 11078shrext_cmds=".so" 11079postinstall_cmds= 11080postuninstall_cmds= 11081finish_cmds= 11082finish_eval= 11083shlibpath_var= 11084shlibpath_overrides_runpath=unknown 11085version_type=none 11086dynamic_linker="$host_os ld.so" 11087sys_lib_dlsearch_path_spec="/lib /usr/lib" 11088need_lib_prefix=unknown 11089hardcode_into_libs=no 11090 11091# when you set need_version to no, make sure it does not cause -set_version 11092# flags to be left without arguments 11093need_version=unknown 11094 11095case $host_os in 11096aix3*) 11097 version_type=linux 11098 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 11099 shlibpath_var=LIBPATH 11100 11101 # AIX 3 has no versioning support, so we append a major version to the name. 11102 soname_spec='${libname}${release}${shared_ext}$major' 11103 ;; 11104 11105aix[4-9]*) 11106 version_type=linux 11107 need_lib_prefix=no 11108 need_version=no 11109 hardcode_into_libs=yes 11110 if test "$host_cpu" = ia64; then 11111 # AIX 5 supports IA64 11112 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 11113 shlibpath_var=LD_LIBRARY_PATH 11114 else 11115 # With GCC up to 2.95.x, collect2 would create an import file 11116 # for dependence libraries. The import file would start with 11117 # the line `#! .'. This would cause the generated library to 11118 # depend on `.', always an invalid library. This was fixed in 11119 # development snapshots of GCC prior to 3.0. 11120 case $host_os in 11121 aix4 | aix4.[01] | aix4.[01].*) 11122 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 11123 echo ' yes ' 11124 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 11125 : 11126 else 11127 can_build_shared=no 11128 fi 11129 ;; 11130 esac 11131 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 11132 # soname into executable. Probably we can add versioning support to 11133 # collect2, so additional links can be useful in future. 11134 if test "$aix_use_runtimelinking" = yes; then 11135 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 11136 # instead of lib<name>.a to let people know that these are not 11137 # typical AIX shared libraries. 11138 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11139 else 11140 # We preserve .a as extension for shared libraries through AIX4.2 11141 # and later when we are not doing run time linking. 11142 library_names_spec='${libname}${release}.a $libname.a' 11143 soname_spec='${libname}${release}${shared_ext}$major' 11144 fi 11145 shlibpath_var=LIBPATH 11146 fi 11147 ;; 11148 11149amigaos*) 11150 case $host_cpu in 11151 powerpc) 11152 # Since July 2007 AmigaOS4 officially supports .so libraries. 11153 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 11154 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11155 ;; 11156 m68k) 11157 library_names_spec='$libname.ixlibrary $libname.a' 11158 # Create ${libname}_ixlibrary.a entries in /sys/libs. 11159 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' 11160 ;; 11161 esac 11162 ;; 11163 11164beos*) 11165 library_names_spec='${libname}${shared_ext}' 11166 dynamic_linker="$host_os ld.so" 11167 shlibpath_var=LIBRARY_PATH 11168 ;; 11169 11170bsdi[45]*) 11171 version_type=linux 11172 need_version=no 11173 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11174 soname_spec='${libname}${release}${shared_ext}$major' 11175 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 11176 shlibpath_var=LD_LIBRARY_PATH 11177 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 11178 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 11179 # the default ld.so.conf also contains /usr/contrib/lib and 11180 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 11181 # libtool to hard-code these into programs 11182 ;; 11183 11184cygwin* | mingw* | pw32* | cegcc*) 11185 version_type=windows 11186 shrext_cmds=".dll" 11187 need_version=no 11188 need_lib_prefix=no 11189 11190 case $GCC,$host_os in 11191 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) 11192 library_names_spec='$libname.dll.a' 11193 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11194 postinstall_cmds='base_file=`basename \${file}`~ 11195 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 11196 dldir=$destdir/`dirname \$dlpath`~ 11197 test -d \$dldir || mkdir -p \$dldir~ 11198 $install_prog $dir/$dlname \$dldir/$dlname~ 11199 chmod a+x \$dldir/$dlname~ 11200 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11201 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11202 fi' 11203 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11204 dlpath=$dir/\$dldll~ 11205 $RM \$dlpath' 11206 shlibpath_overrides_runpath=yes 11207 11208 case $host_os in 11209 cygwin*) 11210 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11211 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11212 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 11213 ;; 11214 mingw* | cegcc*) 11215 # MinGW DLLs use traditional 'lib' prefix 11216 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11217 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 11218 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 11219 # It is most probably a Windows format PATH printed by 11220 # mingw gcc, but we are running on Cygwin. Gcc prints its search 11221 # path with ; separators, and with drive letters. We can handle the 11222 # drive letters (cygwin fileutils understands them), so leave them, 11223 # especially as we might pass files found there to a mingw objdump, 11224 # which wouldn't understand a cygwinified path. Ahh. 11225 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 11226 else 11227 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11228 fi 11229 ;; 11230 pw32*) 11231 # pw32 DLLs use 'pw' prefix rather than 'lib' 11232 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11233 ;; 11234 esac 11235 ;; 11236 11237 *) 11238 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 11239 ;; 11240 esac 11241 dynamic_linker='Win32 ld.exe' 11242 # FIXME: first we should search . and the directory the executable is in 11243 shlibpath_var=PATH 11244 ;; 11245 11246darwin* | rhapsody*) 11247 dynamic_linker="$host_os dyld" 11248 version_type=darwin 11249 need_lib_prefix=no 11250 need_version=no 11251 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 11252 soname_spec='${libname}${release}${major}$shared_ext' 11253 shlibpath_overrides_runpath=yes 11254 shlibpath_var=DYLD_LIBRARY_PATH 11255 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 11256 11257 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 11258 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 11259 ;; 11260 11261dgux*) 11262 version_type=linux 11263 need_lib_prefix=no 11264 need_version=no 11265 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 11266 soname_spec='${libname}${release}${shared_ext}$major' 11267 shlibpath_var=LD_LIBRARY_PATH 11268 ;; 11269 11270freebsd1*) 11271 dynamic_linker=no 11272 ;; 11273 11274freebsd* | dragonfly*) 11275 # DragonFly does not have aout. When/if they implement a new 11276 # versioning mechanism, adjust this. 11277 if test -x /usr/bin/objformat; then 11278 objformat=`/usr/bin/objformat` 11279 else 11280 case $host_os in 11281 freebsd[123]*) objformat=aout ;; 11282 *) objformat=elf ;; 11283 esac 11284 fi 11285 version_type=freebsd-$objformat 11286 case $version_type in 11287 freebsd-elf*) 11288 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 11289 need_version=no 11290 need_lib_prefix=no 11291 ;; 11292 freebsd-*) 11293 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 11294 need_version=yes 11295 ;; 11296 esac 11297 shlibpath_var=LD_LIBRARY_PATH 11298 case $host_os in 11299 freebsd2*) 11300 shlibpath_overrides_runpath=yes 11301 ;; 11302 freebsd3.[01]* | freebsdelf3.[01]*) 11303 shlibpath_overrides_runpath=yes 11304 hardcode_into_libs=yes 11305 ;; 11306 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 11307 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 11308 shlibpath_overrides_runpath=no 11309 hardcode_into_libs=yes 11310 ;; 11311 *) # from 4.6 on, and DragonFly 11312 shlibpath_overrides_runpath=yes 11313 hardcode_into_libs=yes 11314 ;; 11315 esac 11316 ;; 11317 11318gnu*) 11319 version_type=linux 11320 need_lib_prefix=no 11321 need_version=no 11322 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 11323 soname_spec='${libname}${release}${shared_ext}$major' 11324 shlibpath_var=LD_LIBRARY_PATH 11325 hardcode_into_libs=yes 11326 ;; 11327 11328hpux9* | hpux10* | hpux11*) 11329 # Give a soname corresponding to the major version so that dld.sl refuses to 11330 # link against other versions. 11331 version_type=sunos 11332 need_lib_prefix=no 11333 need_version=no 11334 case $host_cpu in 11335 ia64*) 11336 shrext_cmds='.so' 11337 hardcode_into_libs=yes 11338 dynamic_linker="$host_os dld.so" 11339 shlibpath_var=LD_LIBRARY_PATH 11340 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11341 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11342 soname_spec='${libname}${release}${shared_ext}$major' 11343 if test "X$HPUX_IA64_MODE" = X32; then 11344 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11345 else 11346 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11347 fi 11348 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11349 ;; 11350 hppa*64*) 11351 shrext_cmds='.sl' 11352 hardcode_into_libs=yes 11353 dynamic_linker="$host_os dld.sl" 11354 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11355 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11356 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11357 soname_spec='${libname}${release}${shared_ext}$major' 11358 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11359 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11360 ;; 11361 *) 11362 shrext_cmds='.sl' 11363 dynamic_linker="$host_os dld.sl" 11364 shlibpath_var=SHLIB_PATH 11365 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11366 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11367 soname_spec='${libname}${release}${shared_ext}$major' 11368 ;; 11369 esac 11370 # HP-UX runs *really* slowly unless shared libraries are mode 555. 11371 postinstall_cmds='chmod 555 $lib' 11372 ;; 11373 11374interix[3-9]*) 11375 version_type=linux 11376 need_lib_prefix=no 11377 need_version=no 11378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11379 soname_spec='${libname}${release}${shared_ext}$major' 11380 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11381 shlibpath_var=LD_LIBRARY_PATH 11382 shlibpath_overrides_runpath=no 11383 hardcode_into_libs=yes 11384 ;; 11385 11386irix5* | irix6* | nonstopux*) 11387 case $host_os in 11388 nonstopux*) version_type=nonstopux ;; 11389 *) 11390 if test "$lt_cv_prog_gnu_ld" = yes; then 11391 version_type=linux 11392 else 11393 version_type=irix 11394 fi ;; 11395 esac 11396 need_lib_prefix=no 11397 need_version=no 11398 soname_spec='${libname}${release}${shared_ext}$major' 11399 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 11400 case $host_os in 11401 irix5* | nonstopux*) 11402 libsuff= shlibsuff= 11403 ;; 11404 *) 11405 case $LD in # libtool.m4 will add one of these switches to LD 11406 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11407 libsuff= shlibsuff= libmagic=32-bit;; 11408 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11409 libsuff=32 shlibsuff=N32 libmagic=N32;; 11410 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11411 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11412 *) libsuff= shlibsuff= libmagic=never-match;; 11413 esac 11414 ;; 11415 esac 11416 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11417 shlibpath_overrides_runpath=no 11418 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 11419 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 11420 hardcode_into_libs=yes 11421 ;; 11422 11423# No shared lib support for Linux oldld, aout, or coff. 11424linux*oldld* | linux*aout* | linux*coff*) 11425 dynamic_linker=no 11426 ;; 11427 11428# This must be Linux ELF. 11429linux* | k*bsd*-gnu | kopensolaris*-gnu) 11430 version_type=linux 11431 need_lib_prefix=no 11432 need_version=no 11433 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11434 soname_spec='${libname}${release}${shared_ext}$major' 11435 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11436 shlibpath_var=LD_LIBRARY_PATH 11437 shlibpath_overrides_runpath=no 11438 # Some binutils ld are patched to set DT_RUNPATH 11439 save_LDFLAGS=$LDFLAGS 11440 save_libdir=$libdir 11441 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11442 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11444/* end confdefs.h. */ 11445 11446int 11447main () 11448{ 11449 11450 ; 11451 return 0; 11452} 11453_ACEOF 11454if ac_fn_c_try_link "$LINENO"; then : 11455 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11456 shlibpath_overrides_runpath=yes 11457fi 11458fi 11459rm -f core conftest.err conftest.$ac_objext \ 11460 conftest$ac_exeext conftest.$ac_ext 11461 LDFLAGS=$save_LDFLAGS 11462 libdir=$save_libdir 11463 11464 # This implies no fast_install, which is unacceptable. 11465 # Some rework will be needed to allow for fast_install 11466 # before this can be enabled. 11467 hardcode_into_libs=yes 11468 11469 # Append ld.so.conf contents to the search path 11470 if test -f /etc/ld.so.conf; then 11471 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' ' '` 11472 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 11473 fi 11474 11475 # We used to test for /lib/ld.so.1 and disable shared libraries on 11476 # powerpc, because MkLinux only supported shared libraries with the 11477 # GNU dynamic linker. Since this was broken with cross compilers, 11478 # most powerpc-linux boxes support dynamic linking these days and 11479 # people can always --disable-shared, the test was removed, and we 11480 # assume the GNU/Linux dynamic linker is in use. 11481 dynamic_linker='GNU/Linux ld.so' 11482 ;; 11483 11484netbsdelf*-gnu) 11485 version_type=linux 11486 need_lib_prefix=no 11487 need_version=no 11488 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11489 soname_spec='${libname}${release}${shared_ext}$major' 11490 shlibpath_var=LD_LIBRARY_PATH 11491 shlibpath_overrides_runpath=no 11492 hardcode_into_libs=yes 11493 dynamic_linker='NetBSD ld.elf_so' 11494 ;; 11495 11496netbsd*) 11497 version_type=sunos 11498 need_lib_prefix=no 11499 need_version=no 11500 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11502 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11503 dynamic_linker='NetBSD (a.out) ld.so' 11504 else 11505 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11506 soname_spec='${libname}${release}${shared_ext}$major' 11507 dynamic_linker='NetBSD ld.elf_so' 11508 fi 11509 shlibpath_var=LD_LIBRARY_PATH 11510 shlibpath_overrides_runpath=yes 11511 hardcode_into_libs=yes 11512 ;; 11513 11514newsos6) 11515 version_type=linux 11516 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11517 shlibpath_var=LD_LIBRARY_PATH 11518 shlibpath_overrides_runpath=yes 11519 ;; 11520 11521*nto* | *qnx*) 11522 version_type=qnx 11523 need_lib_prefix=no 11524 need_version=no 11525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11526 soname_spec='${libname}${release}${shared_ext}$major' 11527 shlibpath_var=LD_LIBRARY_PATH 11528 shlibpath_overrides_runpath=no 11529 hardcode_into_libs=yes 11530 dynamic_linker='ldqnx.so' 11531 ;; 11532 11533openbsd*) 11534 version_type=sunos 11535 sys_lib_dlsearch_path_spec="/usr/lib" 11536 need_lib_prefix=no 11537 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 11538 case $host_os in 11539 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 11540 *) need_version=no ;; 11541 esac 11542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11543 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11544 shlibpath_var=LD_LIBRARY_PATH 11545 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 11546 case $host_os in 11547 openbsd2.[89] | openbsd2.[89].*) 11548 shlibpath_overrides_runpath=no 11549 ;; 11550 *) 11551 shlibpath_overrides_runpath=yes 11552 ;; 11553 esac 11554 else 11555 shlibpath_overrides_runpath=yes 11556 fi 11557 ;; 11558 11559os2*) 11560 libname_spec='$name' 11561 shrext_cmds=".dll" 11562 need_lib_prefix=no 11563 library_names_spec='$libname${shared_ext} $libname.a' 11564 dynamic_linker='OS/2 ld.exe' 11565 shlibpath_var=LIBPATH 11566 ;; 11567 11568osf3* | osf4* | osf5*) 11569 version_type=osf 11570 need_lib_prefix=no 11571 need_version=no 11572 soname_spec='${libname}${release}${shared_ext}$major' 11573 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11574 shlibpath_var=LD_LIBRARY_PATH 11575 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11576 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 11577 ;; 11578 11579rdos*) 11580 dynamic_linker=no 11581 ;; 11582 11583solaris*) 11584 version_type=linux 11585 need_lib_prefix=no 11586 need_version=no 11587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11588 soname_spec='${libname}${release}${shared_ext}$major' 11589 shlibpath_var=LD_LIBRARY_PATH 11590 shlibpath_overrides_runpath=yes 11591 hardcode_into_libs=yes 11592 # ldd complains unless libraries are executable 11593 postinstall_cmds='chmod +x $lib' 11594 ;; 11595 11596sunos4*) 11597 version_type=sunos 11598 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11599 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11600 shlibpath_var=LD_LIBRARY_PATH 11601 shlibpath_overrides_runpath=yes 11602 if test "$with_gnu_ld" = yes; then 11603 need_lib_prefix=no 11604 fi 11605 need_version=yes 11606 ;; 11607 11608sysv4 | sysv4.3*) 11609 version_type=linux 11610 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11611 soname_spec='${libname}${release}${shared_ext}$major' 11612 shlibpath_var=LD_LIBRARY_PATH 11613 case $host_vendor in 11614 sni) 11615 shlibpath_overrides_runpath=no 11616 need_lib_prefix=no 11617 runpath_var=LD_RUN_PATH 11618 ;; 11619 siemens) 11620 need_lib_prefix=no 11621 ;; 11622 motorola) 11623 need_lib_prefix=no 11624 need_version=no 11625 shlibpath_overrides_runpath=no 11626 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11627 ;; 11628 esac 11629 ;; 11630 11631sysv4*MP*) 11632 if test -d /usr/nec ;then 11633 version_type=linux 11634 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 11635 soname_spec='$libname${shared_ext}.$major' 11636 shlibpath_var=LD_LIBRARY_PATH 11637 fi 11638 ;; 11639 11640sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11641 version_type=freebsd-elf 11642 need_lib_prefix=no 11643 need_version=no 11644 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 11645 soname_spec='${libname}${release}${shared_ext}$major' 11646 shlibpath_var=LD_LIBRARY_PATH 11647 shlibpath_overrides_runpath=yes 11648 hardcode_into_libs=yes 11649 if test "$with_gnu_ld" = yes; then 11650 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11651 else 11652 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11653 case $host_os in 11654 sco3.2v5*) 11655 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11656 ;; 11657 esac 11658 fi 11659 sys_lib_dlsearch_path_spec='/usr/lib' 11660 ;; 11661 11662tpf*) 11663 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11664 version_type=linux 11665 need_lib_prefix=no 11666 need_version=no 11667 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11668 shlibpath_var=LD_LIBRARY_PATH 11669 shlibpath_overrides_runpath=no 11670 hardcode_into_libs=yes 11671 ;; 11672 11673uts4*) 11674 version_type=linux 11675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11676 soname_spec='${libname}${release}${shared_ext}$major' 11677 shlibpath_var=LD_LIBRARY_PATH 11678 ;; 11679 11680*) 11681 dynamic_linker=no 11682 ;; 11683esac 11684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11685$as_echo "$dynamic_linker" >&6; } 11686test "$dynamic_linker" = no && can_build_shared=no 11687 11688variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11689if test "$GCC" = yes; then 11690 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11691fi 11692 11693if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 11694 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 11695fi 11696if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 11697 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 11698fi 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11787$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11788hardcode_action= 11789if test -n "$hardcode_libdir_flag_spec" || 11790 test -n "$runpath_var" || 11791 test "X$hardcode_automatic" = "Xyes" ; then 11792 11793 # We can hardcode non-existent directories. 11794 if test "$hardcode_direct" != no && 11795 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11796 # have to relink, otherwise we might link with an installed library 11797 # when we should be linking with a yet-to-be-installed one 11798 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 11799 test "$hardcode_minus_L" != no; then 11800 # Linking always hardcodes the temporary library directory. 11801 hardcode_action=relink 11802 else 11803 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11804 hardcode_action=immediate 11805 fi 11806else 11807 # We cannot hardcode anything, or else we can only hardcode existing 11808 # directories. 11809 hardcode_action=unsupported 11810fi 11811{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11812$as_echo "$hardcode_action" >&6; } 11813 11814if test "$hardcode_action" = relink || 11815 test "$inherit_rpath" = yes; then 11816 # Fast installation is not supported 11817 enable_fast_install=no 11818elif test "$shlibpath_overrides_runpath" = yes || 11819 test "$enable_shared" = no; then 11820 # Fast installation is not necessary 11821 enable_fast_install=needless 11822fi 11823 11824 11825 11826 11827 11828 11829 if test "x$enable_dlopen" != xyes; then 11830 enable_dlopen=unknown 11831 enable_dlopen_self=unknown 11832 enable_dlopen_self_static=unknown 11833else 11834 lt_cv_dlopen=no 11835 lt_cv_dlopen_libs= 11836 11837 case $host_os in 11838 beos*) 11839 lt_cv_dlopen="load_add_on" 11840 lt_cv_dlopen_libs= 11841 lt_cv_dlopen_self=yes 11842 ;; 11843 11844 mingw* | pw32* | cegcc*) 11845 lt_cv_dlopen="LoadLibrary" 11846 lt_cv_dlopen_libs= 11847 ;; 11848 11849 cygwin*) 11850 lt_cv_dlopen="dlopen" 11851 lt_cv_dlopen_libs= 11852 ;; 11853 11854 darwin*) 11855 # if libdl is installed we need to link against it 11856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11857$as_echo_n "checking for dlopen in -ldl... " >&6; } 11858if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 11859 $as_echo_n "(cached) " >&6 11860else 11861 ac_check_lib_save_LIBS=$LIBS 11862LIBS="-ldl $LIBS" 11863cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11864/* end confdefs.h. */ 11865 11866/* Override any GCC internal prototype to avoid an error. 11867 Use char because int might match the return type of a GCC 11868 builtin and then its argument prototype would still apply. */ 11869#ifdef __cplusplus 11870extern "C" 11871#endif 11872char dlopen (); 11873int 11874main () 11875{ 11876return dlopen (); 11877 ; 11878 return 0; 11879} 11880_ACEOF 11881if ac_fn_c_try_link "$LINENO"; then : 11882 ac_cv_lib_dl_dlopen=yes 11883else 11884 ac_cv_lib_dl_dlopen=no 11885fi 11886rm -f core conftest.err conftest.$ac_objext \ 11887 conftest$ac_exeext conftest.$ac_ext 11888LIBS=$ac_check_lib_save_LIBS 11889fi 11890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11891$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11892if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 11893 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11894else 11895 11896 lt_cv_dlopen="dyld" 11897 lt_cv_dlopen_libs= 11898 lt_cv_dlopen_self=yes 11899 11900fi 11901 11902 ;; 11903 11904 *) 11905 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11906if test "x$ac_cv_func_shl_load" = x""yes; then : 11907 lt_cv_dlopen="shl_load" 11908else 11909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11910$as_echo_n "checking for shl_load in -ldld... " >&6; } 11911if test "${ac_cv_lib_dld_shl_load+set}" = set; then : 11912 $as_echo_n "(cached) " >&6 11913else 11914 ac_check_lib_save_LIBS=$LIBS 11915LIBS="-ldld $LIBS" 11916cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11917/* end confdefs.h. */ 11918 11919/* Override any GCC internal prototype to avoid an error. 11920 Use char because int might match the return type of a GCC 11921 builtin and then its argument prototype would still apply. */ 11922#ifdef __cplusplus 11923extern "C" 11924#endif 11925char shl_load (); 11926int 11927main () 11928{ 11929return shl_load (); 11930 ; 11931 return 0; 11932} 11933_ACEOF 11934if ac_fn_c_try_link "$LINENO"; then : 11935 ac_cv_lib_dld_shl_load=yes 11936else 11937 ac_cv_lib_dld_shl_load=no 11938fi 11939rm -f core conftest.err conftest.$ac_objext \ 11940 conftest$ac_exeext conftest.$ac_ext 11941LIBS=$ac_check_lib_save_LIBS 11942fi 11943{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11944$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11945if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : 11946 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 11947else 11948 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11949if test "x$ac_cv_func_dlopen" = x""yes; then : 11950 lt_cv_dlopen="dlopen" 11951else 11952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11953$as_echo_n "checking for dlopen in -ldl... " >&6; } 11954if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 11955 $as_echo_n "(cached) " >&6 11956else 11957 ac_check_lib_save_LIBS=$LIBS 11958LIBS="-ldl $LIBS" 11959cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11960/* end confdefs.h. */ 11961 11962/* Override any GCC internal prototype to avoid an error. 11963 Use char because int might match the return type of a GCC 11964 builtin and then its argument prototype would still apply. */ 11965#ifdef __cplusplus 11966extern "C" 11967#endif 11968char dlopen (); 11969int 11970main () 11971{ 11972return dlopen (); 11973 ; 11974 return 0; 11975} 11976_ACEOF 11977if ac_fn_c_try_link "$LINENO"; then : 11978 ac_cv_lib_dl_dlopen=yes 11979else 11980 ac_cv_lib_dl_dlopen=no 11981fi 11982rm -f core conftest.err conftest.$ac_objext \ 11983 conftest$ac_exeext conftest.$ac_ext 11984LIBS=$ac_check_lib_save_LIBS 11985fi 11986{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11987$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11988if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 11989 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11990else 11991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11992$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11993if test "${ac_cv_lib_svld_dlopen+set}" = set; then : 11994 $as_echo_n "(cached) " >&6 11995else 11996 ac_check_lib_save_LIBS=$LIBS 11997LIBS="-lsvld $LIBS" 11998cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11999/* end confdefs.h. */ 12000 12001/* Override any GCC internal prototype to avoid an error. 12002 Use char because int might match the return type of a GCC 12003 builtin and then its argument prototype would still apply. */ 12004#ifdef __cplusplus 12005extern "C" 12006#endif 12007char dlopen (); 12008int 12009main () 12010{ 12011return dlopen (); 12012 ; 12013 return 0; 12014} 12015_ACEOF 12016if ac_fn_c_try_link "$LINENO"; then : 12017 ac_cv_lib_svld_dlopen=yes 12018else 12019 ac_cv_lib_svld_dlopen=no 12020fi 12021rm -f core conftest.err conftest.$ac_objext \ 12022 conftest$ac_exeext conftest.$ac_ext 12023LIBS=$ac_check_lib_save_LIBS 12024fi 12025{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 12026$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 12027if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : 12028 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 12029else 12030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 12031$as_echo_n "checking for dld_link in -ldld... " >&6; } 12032if test "${ac_cv_lib_dld_dld_link+set}" = set; then : 12033 $as_echo_n "(cached) " >&6 12034else 12035 ac_check_lib_save_LIBS=$LIBS 12036LIBS="-ldld $LIBS" 12037cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12038/* end confdefs.h. */ 12039 12040/* Override any GCC internal prototype to avoid an error. 12041 Use char because int might match the return type of a GCC 12042 builtin and then its argument prototype would still apply. */ 12043#ifdef __cplusplus 12044extern "C" 12045#endif 12046char dld_link (); 12047int 12048main () 12049{ 12050return dld_link (); 12051 ; 12052 return 0; 12053} 12054_ACEOF 12055if ac_fn_c_try_link "$LINENO"; then : 12056 ac_cv_lib_dld_dld_link=yes 12057else 12058 ac_cv_lib_dld_dld_link=no 12059fi 12060rm -f core conftest.err conftest.$ac_objext \ 12061 conftest$ac_exeext conftest.$ac_ext 12062LIBS=$ac_check_lib_save_LIBS 12063fi 12064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 12065$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 12066if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : 12067 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 12068fi 12069 12070 12071fi 12072 12073 12074fi 12075 12076 12077fi 12078 12079 12080fi 12081 12082 12083fi 12084 12085 ;; 12086 esac 12087 12088 if test "x$lt_cv_dlopen" != xno; then 12089 enable_dlopen=yes 12090 else 12091 enable_dlopen=no 12092 fi 12093 12094 case $lt_cv_dlopen in 12095 dlopen) 12096 save_CPPFLAGS="$CPPFLAGS" 12097 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 12098 12099 save_LDFLAGS="$LDFLAGS" 12100 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 12101 12102 save_LIBS="$LIBS" 12103 LIBS="$lt_cv_dlopen_libs $LIBS" 12104 12105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 12106$as_echo_n "checking whether a program can dlopen itself... " >&6; } 12107if test "${lt_cv_dlopen_self+set}" = set; then : 12108 $as_echo_n "(cached) " >&6 12109else 12110 if test "$cross_compiling" = yes; then : 12111 lt_cv_dlopen_self=cross 12112else 12113 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12114 lt_status=$lt_dlunknown 12115 cat > conftest.$ac_ext <<_LT_EOF 12116#line 12116 "configure" 12117#include "confdefs.h" 12118 12119#if HAVE_DLFCN_H 12120#include <dlfcn.h> 12121#endif 12122 12123#include <stdio.h> 12124 12125#ifdef RTLD_GLOBAL 12126# define LT_DLGLOBAL RTLD_GLOBAL 12127#else 12128# ifdef DL_GLOBAL 12129# define LT_DLGLOBAL DL_GLOBAL 12130# else 12131# define LT_DLGLOBAL 0 12132# endif 12133#endif 12134 12135/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12136 find out it does not work in some platform. */ 12137#ifndef LT_DLLAZY_OR_NOW 12138# ifdef RTLD_LAZY 12139# define LT_DLLAZY_OR_NOW RTLD_LAZY 12140# else 12141# ifdef DL_LAZY 12142# define LT_DLLAZY_OR_NOW DL_LAZY 12143# else 12144# ifdef RTLD_NOW 12145# define LT_DLLAZY_OR_NOW RTLD_NOW 12146# else 12147# ifdef DL_NOW 12148# define LT_DLLAZY_OR_NOW DL_NOW 12149# else 12150# define LT_DLLAZY_OR_NOW 0 12151# endif 12152# endif 12153# endif 12154# endif 12155#endif 12156 12157void fnord() { int i=42;} 12158int main () 12159{ 12160 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12161 int status = $lt_dlunknown; 12162 12163 if (self) 12164 { 12165 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12166 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12167 /* dlclose (self); */ 12168 } 12169 else 12170 puts (dlerror ()); 12171 12172 return status; 12173} 12174_LT_EOF 12175 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12176 (eval $ac_link) 2>&5 12177 ac_status=$? 12178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12179 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 12180 (./conftest; exit; ) >&5 2>/dev/null 12181 lt_status=$? 12182 case x$lt_status in 12183 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 12184 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 12185 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 12186 esac 12187 else : 12188 # compilation failed 12189 lt_cv_dlopen_self=no 12190 fi 12191fi 12192rm -fr conftest* 12193 12194 12195fi 12196{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 12197$as_echo "$lt_cv_dlopen_self" >&6; } 12198 12199 if test "x$lt_cv_dlopen_self" = xyes; then 12200 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 12202$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 12203if test "${lt_cv_dlopen_self_static+set}" = set; then : 12204 $as_echo_n "(cached) " >&6 12205else 12206 if test "$cross_compiling" = yes; then : 12207 lt_cv_dlopen_self_static=cross 12208else 12209 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12210 lt_status=$lt_dlunknown 12211 cat > conftest.$ac_ext <<_LT_EOF 12212#line 12212 "configure" 12213#include "confdefs.h" 12214 12215#if HAVE_DLFCN_H 12216#include <dlfcn.h> 12217#endif 12218 12219#include <stdio.h> 12220 12221#ifdef RTLD_GLOBAL 12222# define LT_DLGLOBAL RTLD_GLOBAL 12223#else 12224# ifdef DL_GLOBAL 12225# define LT_DLGLOBAL DL_GLOBAL 12226# else 12227# define LT_DLGLOBAL 0 12228# endif 12229#endif 12230 12231/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12232 find out it does not work in some platform. */ 12233#ifndef LT_DLLAZY_OR_NOW 12234# ifdef RTLD_LAZY 12235# define LT_DLLAZY_OR_NOW RTLD_LAZY 12236# else 12237# ifdef DL_LAZY 12238# define LT_DLLAZY_OR_NOW DL_LAZY 12239# else 12240# ifdef RTLD_NOW 12241# define LT_DLLAZY_OR_NOW RTLD_NOW 12242# else 12243# ifdef DL_NOW 12244# define LT_DLLAZY_OR_NOW DL_NOW 12245# else 12246# define LT_DLLAZY_OR_NOW 0 12247# endif 12248# endif 12249# endif 12250# endif 12251#endif 12252 12253void fnord() { int i=42;} 12254int main () 12255{ 12256 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12257 int status = $lt_dlunknown; 12258 12259 if (self) 12260 { 12261 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12262 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12263 /* dlclose (self); */ 12264 } 12265 else 12266 puts (dlerror ()); 12267 12268 return status; 12269} 12270_LT_EOF 12271 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12272 (eval $ac_link) 2>&5 12273 ac_status=$? 12274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12275 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 12276 (./conftest; exit; ) >&5 2>/dev/null 12277 lt_status=$? 12278 case x$lt_status in 12279 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12280 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12281 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12282 esac 12283 else : 12284 # compilation failed 12285 lt_cv_dlopen_self_static=no 12286 fi 12287fi 12288rm -fr conftest* 12289 12290 12291fi 12292{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12293$as_echo "$lt_cv_dlopen_self_static" >&6; } 12294 fi 12295 12296 CPPFLAGS="$save_CPPFLAGS" 12297 LDFLAGS="$save_LDFLAGS" 12298 LIBS="$save_LIBS" 12299 ;; 12300 esac 12301 12302 case $lt_cv_dlopen_self in 12303 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12304 *) enable_dlopen_self=unknown ;; 12305 esac 12306 12307 case $lt_cv_dlopen_self_static in 12308 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12309 *) enable_dlopen_self_static=unknown ;; 12310 esac 12311fi 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324 12325 12326 12327 12328 12329striplib= 12330old_striplib= 12331{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12332$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12333if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12334 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12335 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12337$as_echo "yes" >&6; } 12338else 12339# FIXME - insert some real tests, host_os isn't really good enough 12340 case $host_os in 12341 darwin*) 12342 if test -n "$STRIP" ; then 12343 striplib="$STRIP -x" 12344 old_striplib="$STRIP -S" 12345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12346$as_echo "yes" >&6; } 12347 else 12348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12349$as_echo "no" >&6; } 12350 fi 12351 ;; 12352 *) 12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12354$as_echo "no" >&6; } 12355 ;; 12356 esac 12357fi 12358 12359 12360 12361 12362 12363 12364 12365 12366 12367 12368 12369 12370 # Report which library types will actually be built 12371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12372$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12374$as_echo "$can_build_shared" >&6; } 12375 12376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12377$as_echo_n "checking whether to build shared libraries... " >&6; } 12378 test "$can_build_shared" = "no" && enable_shared=no 12379 12380 # On AIX, shared libraries and static libraries use the same namespace, and 12381 # are all built from PIC. 12382 case $host_os in 12383 aix3*) 12384 test "$enable_shared" = yes && enable_static=no 12385 if test -n "$RANLIB"; then 12386 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12387 postinstall_cmds='$RANLIB $lib' 12388 fi 12389 ;; 12390 12391 aix[4-9]*) 12392 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 12393 test "$enable_shared" = yes && enable_static=no 12394 fi 12395 ;; 12396 esac 12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12398$as_echo "$enable_shared" >&6; } 12399 12400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12401$as_echo_n "checking whether to build static libraries... " >&6; } 12402 # Make sure either enable_shared or enable_static is yes. 12403 test "$enable_shared" = yes || enable_static=yes 12404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12405$as_echo "$enable_static" >&6; } 12406 12407 12408 12409 12410fi 12411ac_ext=c 12412ac_cpp='$CPP $CPPFLAGS' 12413ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12414ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12415ac_compiler_gnu=$ac_cv_c_compiler_gnu 12416 12417CC="$lt_save_CC" 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 ac_config_commands="$ac_config_commands libtool" 12432 12433 12434 12435 12436# Only expand once: 12437 12438 12439 12440 12441 12442if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 12443 if test -n "$ac_tool_prefix"; then 12444 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 12445set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 12446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12447$as_echo_n "checking for $ac_word... " >&6; } 12448if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 12449 $as_echo_n "(cached) " >&6 12450else 12451 case $PKG_CONFIG in 12452 [\\/]* | ?:[\\/]*) 12453 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 12454 ;; 12455 *) 12456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12457for as_dir in $PATH 12458do 12459 IFS=$as_save_IFS 12460 test -z "$as_dir" && as_dir=. 12461 for ac_exec_ext in '' $ac_executable_extensions; do 12462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12463 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12465 break 2 12466 fi 12467done 12468 done 12469IFS=$as_save_IFS 12470 12471 ;; 12472esac 12473fi 12474PKG_CONFIG=$ac_cv_path_PKG_CONFIG 12475if test -n "$PKG_CONFIG"; then 12476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 12477$as_echo "$PKG_CONFIG" >&6; } 12478else 12479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12480$as_echo "no" >&6; } 12481fi 12482 12483 12484fi 12485if test -z "$ac_cv_path_PKG_CONFIG"; then 12486 ac_pt_PKG_CONFIG=$PKG_CONFIG 12487 # Extract the first word of "pkg-config", so it can be a program name with args. 12488set dummy pkg-config; ac_word=$2 12489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12490$as_echo_n "checking for $ac_word... " >&6; } 12491if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : 12492 $as_echo_n "(cached) " >&6 12493else 12494 case $ac_pt_PKG_CONFIG in 12495 [\\/]* | ?:[\\/]*) 12496 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 12497 ;; 12498 *) 12499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12500for as_dir in $PATH 12501do 12502 IFS=$as_save_IFS 12503 test -z "$as_dir" && as_dir=. 12504 for ac_exec_ext in '' $ac_executable_extensions; do 12505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12506 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12508 break 2 12509 fi 12510done 12511 done 12512IFS=$as_save_IFS 12513 12514 ;; 12515esac 12516fi 12517ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 12518if test -n "$ac_pt_PKG_CONFIG"; then 12519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 12520$as_echo "$ac_pt_PKG_CONFIG" >&6; } 12521else 12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12523$as_echo "no" >&6; } 12524fi 12525 12526 if test "x$ac_pt_PKG_CONFIG" = x; then 12527 PKG_CONFIG="" 12528 else 12529 case $cross_compiling:$ac_tool_warned in 12530yes:) 12531{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12532$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12533ac_tool_warned=yes ;; 12534esac 12535 PKG_CONFIG=$ac_pt_PKG_CONFIG 12536 fi 12537else 12538 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 12539fi 12540 12541fi 12542if test -n "$PKG_CONFIG"; then 12543 _pkg_min_version=0.9.0 12544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 12545$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 12546 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 12547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12548$as_echo "yes" >&6; } 12549 else 12550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12551$as_echo "no" >&6; } 12552 PKG_CONFIG="" 12553 fi 12554 12555fi 12556 12557pkg_failed=no 12558{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gmpcmdca" >&5 12559$as_echo_n "checking for gmpcmdca... " >&6; } 12560 12561if test -n "$PKG_CONFIG"; then 12562 if test -n "$gmpcmdca_CFLAGS"; then 12563 pkg_cv_gmpcmdca_CFLAGS="$gmpcmdca_CFLAGS" 12564 else 12565 if test -n "$PKG_CONFIG" && \ 12566 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" glib-2.0 >= 2.10 12567 gobject-2.0 >= 2.4 12568 gtk+-2.0 >= 2.8 12569 gmodule-2.0 12570 libxml-2.0 12571 gthread-2.0 12572 libmpd >= 0.15.98 12573 gmpc >= 0.15.98 12574\""; } >&5 12575 ($PKG_CONFIG --exists --print-errors " glib-2.0 >= 2.10 12576 gobject-2.0 >= 2.4 12577 gtk+-2.0 >= 2.8 12578 gmodule-2.0 12579 libxml-2.0 12580 gthread-2.0 12581 libmpd >= 0.15.98 12582 gmpc >= 0.15.98 12583") 2>&5 12584 ac_status=$? 12585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12586 test $ac_status = 0; }; then 12587 pkg_cv_gmpcmdca_CFLAGS=`$PKG_CONFIG --cflags " glib-2.0 >= 2.10 12588 gobject-2.0 >= 2.4 12589 gtk+-2.0 >= 2.8 12590 gmodule-2.0 12591 libxml-2.0 12592 gthread-2.0 12593 libmpd >= 0.15.98 12594 gmpc >= 0.15.98 12595" 2>/dev/null` 12596else 12597 pkg_failed=yes 12598fi 12599 fi 12600else 12601 pkg_failed=untried 12602fi 12603if test -n "$PKG_CONFIG"; then 12604 if test -n "$gmpcmdca_LIBS"; then 12605 pkg_cv_gmpcmdca_LIBS="$gmpcmdca_LIBS" 12606 else 12607 if test -n "$PKG_CONFIG" && \ 12608 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" glib-2.0 >= 2.10 12609 gobject-2.0 >= 2.4 12610 gtk+-2.0 >= 2.8 12611 gmodule-2.0 12612 libxml-2.0 12613 gthread-2.0 12614 libmpd >= 0.15.98 12615 gmpc >= 0.15.98 12616\""; } >&5 12617 ($PKG_CONFIG --exists --print-errors " glib-2.0 >= 2.10 12618 gobject-2.0 >= 2.4 12619 gtk+-2.0 >= 2.8 12620 gmodule-2.0 12621 libxml-2.0 12622 gthread-2.0 12623 libmpd >= 0.15.98 12624 gmpc >= 0.15.98 12625") 2>&5 12626 ac_status=$? 12627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12628 test $ac_status = 0; }; then 12629 pkg_cv_gmpcmdca_LIBS=`$PKG_CONFIG --libs " glib-2.0 >= 2.10 12630 gobject-2.0 >= 2.4 12631 gtk+-2.0 >= 2.8 12632 gmodule-2.0 12633 libxml-2.0 12634 gthread-2.0 12635 libmpd >= 0.15.98 12636 gmpc >= 0.15.98 12637" 2>/dev/null` 12638else 12639 pkg_failed=yes 12640fi 12641 fi 12642else 12643 pkg_failed=untried 12644fi 12645 12646 12647 12648if test $pkg_failed = yes; then 12649 12650if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 12651 _pkg_short_errors_supported=yes 12652else 12653 _pkg_short_errors_supported=no 12654fi 12655 if test $_pkg_short_errors_supported = yes; then 12656 gmpcmdca_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " glib-2.0 >= 2.10 12657 gobject-2.0 >= 2.4 12658 gtk+-2.0 >= 2.8 12659 gmodule-2.0 12660 libxml-2.0 12661 gthread-2.0 12662 libmpd >= 0.15.98 12663 gmpc >= 0.15.98 12664"` 12665 else 12666 gmpcmdca_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " glib-2.0 >= 2.10 12667 gobject-2.0 >= 2.4 12668 gtk+-2.0 >= 2.8 12669 gmodule-2.0 12670 libxml-2.0 12671 gthread-2.0 12672 libmpd >= 0.15.98 12673 gmpc >= 0.15.98 12674"` 12675 fi 12676 # Put the nasty error message in config.log where it belongs 12677 echo "$gmpcmdca_PKG_ERRORS" >&5 12678 12679 as_fn_error "Package requirements ( glib-2.0 >= 2.10 12680 gobject-2.0 >= 2.4 12681 gtk+-2.0 >= 2.8 12682 gmodule-2.0 12683 libxml-2.0 12684 gthread-2.0 12685 libmpd >= 0.15.98 12686 gmpc >= 0.15.98 12687) were not met: 12688 12689$gmpcmdca_PKG_ERRORS 12690 12691Consider adjusting the PKG_CONFIG_PATH environment variable if you 12692installed software in a non-standard prefix. 12693 12694Alternatively, you may set the environment variables gmpcmdca_CFLAGS 12695and gmpcmdca_LIBS to avoid the need to call pkg-config. 12696See the pkg-config man page for more details. 12697" "$LINENO" 5 12698elif test $pkg_failed = untried; then 12699 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12700$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12701as_fn_error "The pkg-config script could not be found or is too old. Make sure it 12702is in your PATH or set the PKG_CONFIG environment variable to the full 12703path to pkg-config. 12704 12705Alternatively, you may set the environment variables gmpcmdca_CFLAGS 12706and gmpcmdca_LIBS to avoid the need to call pkg-config. 12707See the pkg-config man page for more details. 12708 12709To get pkg-config, see <http://pkg-config.freedesktop.org/>. 12710See \`config.log' for more details." "$LINENO" 5; } 12711else 12712 gmpcmdca_CFLAGS=$pkg_cv_gmpcmdca_CFLAGS 12713 gmpcmdca_LIBS=$pkg_cv_gmpcmdca_LIBS 12714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12715$as_echo "yes" >&6; } 12716 : 12717fi 12718 12719 12720 12721 12722 12723 12724ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in" 12725 12726cat >confcache <<\_ACEOF 12727# This file is a shell script that caches the results of configure 12728# tests run on this system so they can be shared between configure 12729# scripts and configure runs, see configure's option --config-cache. 12730# It is not useful on other systems. If it contains results you don't 12731# want to keep, you may remove or edit it. 12732# 12733# config.status only pays attention to the cache file if you give it 12734# the --recheck option to rerun configure. 12735# 12736# `ac_cv_env_foo' variables (set or unset) will be overridden when 12737# loading this file, other *unset* `ac_cv_foo' will be assigned the 12738# following values. 12739 12740_ACEOF 12741 12742# The following way of writing the cache mishandles newlines in values, 12743# but we know of no workaround that is simple, portable, and efficient. 12744# So, we kill variables containing newlines. 12745# Ultrix sh set writes to stderr and can't be redirected directly, 12746# and sets the high bit in the cache file unless we assign to the vars. 12747( 12748 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 12749 eval ac_val=\$$ac_var 12750 case $ac_val in #( 12751 *${as_nl}*) 12752 case $ac_var in #( 12753 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 12754$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 12755 esac 12756 case $ac_var in #( 12757 _ | IFS | as_nl) ;; #( 12758 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 12759 *) { eval $ac_var=; unset $ac_var;} ;; 12760 esac ;; 12761 esac 12762 done 12763 12764 (set) 2>&1 | 12765 case $as_nl`(ac_space=' '; set) 2>&1` in #( 12766 *${as_nl}ac_space=\ *) 12767 # `set' does not quote correctly, so add quotes: double-quote 12768 # substitution turns \\\\ into \\, and sed turns \\ into \. 12769 sed -n \ 12770 "s/'/'\\\\''/g; 12771 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 12772 ;; #( 12773 *) 12774 # `set' quotes correctly as required by POSIX, so do not add quotes. 12775 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 12776 ;; 12777 esac | 12778 sort 12779) | 12780 sed ' 12781 /^ac_cv_env_/b end 12782 t clear 12783 :clear 12784 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 12785 t end 12786 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 12787 :end' >>confcache 12788if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 12789 if test -w "$cache_file"; then 12790 test "x$cache_file" != "x/dev/null" && 12791 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 12792$as_echo "$as_me: updating cache $cache_file" >&6;} 12793 cat confcache >$cache_file 12794 else 12795 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 12796$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 12797 fi 12798fi 12799rm -f confcache 12800 12801test "x$prefix" = xNONE && prefix=$ac_default_prefix 12802# Let make expand exec_prefix. 12803test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 12804 12805DEFS=-DHAVE_CONFIG_H 12806 12807ac_libobjs= 12808ac_ltlibobjs= 12809for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 12810 # 1. Remove the extension, and $U if already installed. 12811 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 12812 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 12813 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 12814 # will be set to the directory where LIBOBJS objects are built. 12815 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 12816 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 12817done 12818LIBOBJS=$ac_libobjs 12819 12820LTLIBOBJS=$ac_ltlibobjs 12821 12822 12823 if test -n "$EXEEXT"; then 12824 am__EXEEXT_TRUE= 12825 am__EXEEXT_FALSE='#' 12826else 12827 am__EXEEXT_TRUE='#' 12828 am__EXEEXT_FALSE= 12829fi 12830 12831if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 12832 as_fn_error "conditional \"AMDEP\" was never defined. 12833Usually this means the macro was only invoked conditionally." "$LINENO" 5 12834fi 12835if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 12836 as_fn_error "conditional \"am__fastdepCC\" was never defined. 12837Usually this means the macro was only invoked conditionally." "$LINENO" 5 12838fi 12839 12840 ac_config_commands="$ac_config_commands po/stamp-it" 12841 12842 12843if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 12844 as_fn_error "conditional \"am__fastdepCC\" was never defined. 12845Usually this means the macro was only invoked conditionally." "$LINENO" 5 12846fi 12847 12848: ${CONFIG_STATUS=./config.status} 12849ac_write_fail=0 12850ac_clean_files_save=$ac_clean_files 12851ac_clean_files="$ac_clean_files $CONFIG_STATUS" 12852{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 12853$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 12854as_write_fail=0 12855cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 12856#! $SHELL 12857# Generated by $as_me. 12858# Run this file to recreate the current configuration. 12859# Compiler output produced by configure, useful for debugging 12860# configure, is in config.log if it exists. 12861 12862debug=false 12863ac_cs_recheck=false 12864ac_cs_silent=false 12865 12866SHELL=\${CONFIG_SHELL-$SHELL} 12867export SHELL 12868_ASEOF 12869cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 12870## -------------------- ## 12871## M4sh Initialization. ## 12872## -------------------- ## 12873 12874# Be more Bourne compatible 12875DUALCASE=1; export DUALCASE # for MKS sh 12876if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 12877 emulate sh 12878 NULLCMD=: 12879 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 12880 # is contrary to our usage. Disable this feature. 12881 alias -g '${1+"$@"}'='"$@"' 12882 setopt NO_GLOB_SUBST 12883else 12884 case `(set -o) 2>/dev/null` in #( 12885 *posix*) : 12886 set -o posix ;; #( 12887 *) : 12888 ;; 12889esac 12890fi 12891 12892 12893as_nl=' 12894' 12895export as_nl 12896# Printing a long string crashes Solaris 7 /usr/bin/printf. 12897as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 12898as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 12899as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 12900# Prefer a ksh shell builtin over an external printf program on Solaris, 12901# but without wasting forks for bash or zsh. 12902if test -z "$BASH_VERSION$ZSH_VERSION" \ 12903 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 12904 as_echo='print -r --' 12905 as_echo_n='print -rn --' 12906elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 12907 as_echo='printf %s\n' 12908 as_echo_n='printf %s' 12909else 12910 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 12911 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 12912 as_echo_n='/usr/ucb/echo -n' 12913 else 12914 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 12915 as_echo_n_body='eval 12916 arg=$1; 12917 case $arg in #( 12918 *"$as_nl"*) 12919 expr "X$arg" : "X\\(.*\\)$as_nl"; 12920 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 12921 esac; 12922 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 12923 ' 12924 export as_echo_n_body 12925 as_echo_n='sh -c $as_echo_n_body as_echo' 12926 fi 12927 export as_echo_body 12928 as_echo='sh -c $as_echo_body as_echo' 12929fi 12930 12931# The user is always right. 12932if test "${PATH_SEPARATOR+set}" != set; then 12933 PATH_SEPARATOR=: 12934 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 12935 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 12936 PATH_SEPARATOR=';' 12937 } 12938fi 12939 12940 12941# IFS 12942# We need space, tab and new line, in precisely that order. Quoting is 12943# there to prevent editors from complaining about space-tab. 12944# (If _AS_PATH_WALK were called with IFS unset, it would disable word 12945# splitting by setting IFS to empty value.) 12946IFS=" "" $as_nl" 12947 12948# Find who we are. Look in the path if we contain no directory separator. 12949case $0 in #(( 12950 *[\\/]* ) as_myself=$0 ;; 12951 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12952for as_dir in $PATH 12953do 12954 IFS=$as_save_IFS 12955 test -z "$as_dir" && as_dir=. 12956 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 12957 done 12958IFS=$as_save_IFS 12959 12960 ;; 12961esac 12962# We did not find ourselves, most probably we were run as `sh COMMAND' 12963# in which case we are not to be found in the path. 12964if test "x$as_myself" = x; then 12965 as_myself=$0 12966fi 12967if test ! -f "$as_myself"; then 12968 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 12969 exit 1 12970fi 12971 12972# Unset variables that we do not need and which cause bugs (e.g. in 12973# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 12974# suppresses any "Segmentation fault" message there. '((' could 12975# trigger a bug in pdksh 5.2.14. 12976for as_var in BASH_ENV ENV MAIL MAILPATH 12977do eval test x\${$as_var+set} = xset \ 12978 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 12979done 12980PS1='$ ' 12981PS2='> ' 12982PS4='+ ' 12983 12984# NLS nuisances. 12985LC_ALL=C 12986export LC_ALL 12987LANGUAGE=C 12988export LANGUAGE 12989 12990# CDPATH. 12991(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 12992 12993 12994# as_fn_error ERROR [LINENO LOG_FD] 12995# --------------------------------- 12996# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 12997# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 12998# script with status $?, using 1 if that was 0. 12999as_fn_error () 13000{ 13001 as_status=$?; test $as_status -eq 0 && as_status=1 13002 if test "$3"; then 13003 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 13004 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 13005 fi 13006 $as_echo "$as_me: error: $1" >&2 13007 as_fn_exit $as_status 13008} # as_fn_error 13009 13010 13011# as_fn_set_status STATUS 13012# ----------------------- 13013# Set $? to STATUS, without forking. 13014as_fn_set_status () 13015{ 13016 return $1 13017} # as_fn_set_status 13018 13019# as_fn_exit STATUS 13020# ----------------- 13021# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 13022as_fn_exit () 13023{ 13024 set +e 13025 as_fn_set_status $1 13026 exit $1 13027} # as_fn_exit 13028 13029# as_fn_unset VAR 13030# --------------- 13031# Portably unset VAR. 13032as_fn_unset () 13033{ 13034 { eval $1=; unset $1;} 13035} 13036as_unset=as_fn_unset 13037# as_fn_append VAR VALUE 13038# ---------------------- 13039# Append the text in VALUE to the end of the definition contained in VAR. Take 13040# advantage of any shell optimizations that allow amortized linear growth over 13041# repeated appends, instead of the typical quadratic growth present in naive 13042# implementations. 13043if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 13044 eval 'as_fn_append () 13045 { 13046 eval $1+=\$2 13047 }' 13048else 13049 as_fn_append () 13050 { 13051 eval $1=\$$1\$2 13052 } 13053fi # as_fn_append 13054 13055# as_fn_arith ARG... 13056# ------------------ 13057# Perform arithmetic evaluation on the ARGs, and store the result in the 13058# global $as_val. Take advantage of shells that can avoid forks. The arguments 13059# must be portable across $(()) and expr. 13060if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 13061 eval 'as_fn_arith () 13062 { 13063 as_val=$(( $* )) 13064 }' 13065else 13066 as_fn_arith () 13067 { 13068 as_val=`expr "$@" || test $? -eq 1` 13069 } 13070fi # as_fn_arith 13071 13072 13073if expr a : '\(a\)' >/dev/null 2>&1 && 13074 test "X`expr 00001 : '.*\(...\)'`" = X001; then 13075 as_expr=expr 13076else 13077 as_expr=false 13078fi 13079 13080if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 13081 as_basename=basename 13082else 13083 as_basename=false 13084fi 13085 13086if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 13087 as_dirname=dirname 13088else 13089 as_dirname=false 13090fi 13091 13092as_me=`$as_basename -- "$0" || 13093$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 13094 X"$0" : 'X\(//\)$' \| \ 13095 X"$0" : 'X\(/\)' \| . 2>/dev/null || 13096$as_echo X/"$0" | 13097 sed '/^.*\/\([^/][^/]*\)\/*$/{ 13098 s//\1/ 13099 q 13100 } 13101 /^X\/\(\/\/\)$/{ 13102 s//\1/ 13103 q 13104 } 13105 /^X\/\(\/\).*/{ 13106 s//\1/ 13107 q 13108 } 13109 s/.*/./; q'` 13110 13111# Avoid depending upon Character Ranges. 13112as_cr_letters='abcdefghijklmnopqrstuvwxyz' 13113as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 13114as_cr_Letters=$as_cr_letters$as_cr_LETTERS 13115as_cr_digits='0123456789' 13116as_cr_alnum=$as_cr_Letters$as_cr_digits 13117 13118ECHO_C= ECHO_N= ECHO_T= 13119case `echo -n x` in #((((( 13120-n*) 13121 case `echo 'xy\c'` in 13122 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 13123 xy) ECHO_C='\c';; 13124 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 13125 ECHO_T=' ';; 13126 esac;; 13127*) 13128 ECHO_N='-n';; 13129esac 13130 13131rm -f conf$$ conf$$.exe conf$$.file 13132if test -d conf$$.dir; then 13133 rm -f conf$$.dir/conf$$.file 13134else 13135 rm -f conf$$.dir 13136 mkdir conf$$.dir 2>/dev/null 13137fi 13138if (echo >conf$$.file) 2>/dev/null; then 13139 if ln -s conf$$.file conf$$ 2>/dev/null; then 13140 as_ln_s='ln -s' 13141 # ... but there are two gotchas: 13142 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 13143 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 13144 # In both cases, we have to default to `cp -p'. 13145 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 13146 as_ln_s='cp -p' 13147 elif ln conf$$.file conf$$ 2>/dev/null; then 13148 as_ln_s=ln 13149 else 13150 as_ln_s='cp -p' 13151 fi 13152else 13153 as_ln_s='cp -p' 13154fi 13155rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 13156rmdir conf$$.dir 2>/dev/null 13157 13158 13159# as_fn_mkdir_p 13160# ------------- 13161# Create "$as_dir" as a directory, including parents if necessary. 13162as_fn_mkdir_p () 13163{ 13164 13165 case $as_dir in #( 13166 -*) as_dir=./$as_dir;; 13167 esac 13168 test -d "$as_dir" || eval $as_mkdir_p || { 13169 as_dirs= 13170 while :; do 13171 case $as_dir in #( 13172 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 13173 *) as_qdir=$as_dir;; 13174 esac 13175 as_dirs="'$as_qdir' $as_dirs" 13176 as_dir=`$as_dirname -- "$as_dir" || 13177$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13178 X"$as_dir" : 'X\(//\)[^/]' \| \ 13179 X"$as_dir" : 'X\(//\)$' \| \ 13180 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 13181$as_echo X"$as_dir" | 13182 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13183 s//\1/ 13184 q 13185 } 13186 /^X\(\/\/\)[^/].*/{ 13187 s//\1/ 13188 q 13189 } 13190 /^X\(\/\/\)$/{ 13191 s//\1/ 13192 q 13193 } 13194 /^X\(\/\).*/{ 13195 s//\1/ 13196 q 13197 } 13198 s/.*/./; q'` 13199 test -d "$as_dir" && break 13200 done 13201 test -z "$as_dirs" || eval "mkdir $as_dirs" 13202 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 13203 13204 13205} # as_fn_mkdir_p 13206if mkdir -p . 2>/dev/null; then 13207 as_mkdir_p='mkdir -p "$as_dir"' 13208else 13209 test -d ./-p && rmdir ./-p 13210 as_mkdir_p=false 13211fi 13212 13213if test -x / >/dev/null 2>&1; then 13214 as_test_x='test -x' 13215else 13216 if ls -dL / >/dev/null 2>&1; then 13217 as_ls_L_option=L 13218 else 13219 as_ls_L_option= 13220 fi 13221 as_test_x=' 13222 eval sh -c '\'' 13223 if test -d "$1"; then 13224 test -d "$1/."; 13225 else 13226 case $1 in #( 13227 -*)set "./$1";; 13228 esac; 13229 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 13230 ???[sx]*):;;*)false;;esac;fi 13231 '\'' sh 13232 ' 13233fi 13234as_executable_p=$as_test_x 13235 13236# Sed expression to map a string onto a valid CPP name. 13237as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 13238 13239# Sed expression to map a string onto a valid variable name. 13240as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 13241 13242 13243exec 6>&1 13244## ----------------------------------- ## 13245## Main body of $CONFIG_STATUS script. ## 13246## ----------------------------------- ## 13247_ASEOF 13248test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 13249 13250cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13251# Save the log message, to keep $0 and so on meaningful, and to 13252# report actual input values of CONFIG_FILES etc. instead of their 13253# values after options handling. 13254ac_log=" 13255This file was extended by gmpc-mdcover $as_me 0.20.0, which was 13256generated by GNU Autoconf 2.65. Invocation command line was 13257 13258 CONFIG_FILES = $CONFIG_FILES 13259 CONFIG_HEADERS = $CONFIG_HEADERS 13260 CONFIG_LINKS = $CONFIG_LINKS 13261 CONFIG_COMMANDS = $CONFIG_COMMANDS 13262 $ $0 $@ 13263 13264on `(hostname || uname -n) 2>/dev/null | sed 1q` 13265" 13266 13267_ACEOF 13268 13269case $ac_config_files in *" 13270"*) set x $ac_config_files; shift; ac_config_files=$*;; 13271esac 13272 13273case $ac_config_headers in *" 13274"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 13275esac 13276 13277 13278cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13279# Files that config.status was made for. 13280config_files="$ac_config_files" 13281config_headers="$ac_config_headers" 13282config_commands="$ac_config_commands" 13283 13284_ACEOF 13285 13286cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13287ac_cs_usage="\ 13288\`$as_me' instantiates files and other configuration actions 13289from templates according to the current configuration. Unless the files 13290and actions are specified as TAGs, all are instantiated by default. 13291 13292Usage: $0 [OPTION]... [TAG]... 13293 13294 -h, --help print this help, then exit 13295 -V, --version print version number and configuration settings, then exit 13296 --config print configuration, then exit 13297 -q, --quiet, --silent 13298 do not print progress messages 13299 -d, --debug don't remove temporary files 13300 --recheck update $as_me by reconfiguring in the same conditions 13301 --file=FILE[:TEMPLATE] 13302 instantiate the configuration file FILE 13303 --header=FILE[:TEMPLATE] 13304 instantiate the configuration header FILE 13305 13306Configuration files: 13307$config_files 13308 13309Configuration headers: 13310$config_headers 13311 13312Configuration commands: 13313$config_commands 13314 13315Report bugs to <qball@sarine.nl>." 13316 13317_ACEOF 13318cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13319ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 13320ac_cs_version="\\ 13321gmpc-mdcover config.status 0.20.0 13322configured by $0, generated by GNU Autoconf 2.65, 13323 with options \\"\$ac_cs_config\\" 13324 13325Copyright (C) 2009 Free Software Foundation, Inc. 13326This config.status script is free software; the Free Software Foundation 13327gives unlimited permission to copy, distribute and modify it." 13328 13329ac_pwd='$ac_pwd' 13330srcdir='$srcdir' 13331INSTALL='$INSTALL' 13332MKDIR_P='$MKDIR_P' 13333AWK='$AWK' 13334test -n "\$AWK" || AWK=awk 13335_ACEOF 13336 13337cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13338# The default lists apply if the user does not specify any file. 13339ac_need_defaults=: 13340while test $# != 0 13341do 13342 case $1 in 13343 --*=*) 13344 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13345 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 13346 ac_shift=: 13347 ;; 13348 *) 13349 ac_option=$1 13350 ac_optarg=$2 13351 ac_shift=shift 13352 ;; 13353 esac 13354 13355 case $ac_option in 13356 # Handling of the options. 13357 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 13358 ac_cs_recheck=: ;; 13359 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 13360 $as_echo "$ac_cs_version"; exit ;; 13361 --config | --confi | --conf | --con | --co | --c ) 13362 $as_echo "$ac_cs_config"; exit ;; 13363 --debug | --debu | --deb | --de | --d | -d ) 13364 debug=: ;; 13365 --file | --fil | --fi | --f ) 13366 $ac_shift 13367 case $ac_optarg in 13368 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13369 esac 13370 as_fn_append CONFIG_FILES " '$ac_optarg'" 13371 ac_need_defaults=false;; 13372 --header | --heade | --head | --hea ) 13373 $ac_shift 13374 case $ac_optarg in 13375 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13376 esac 13377 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 13378 ac_need_defaults=false;; 13379 --he | --h) 13380 # Conflict between --help and --header 13381 as_fn_error "ambiguous option: \`$1' 13382Try \`$0 --help' for more information.";; 13383 --help | --hel | -h ) 13384 $as_echo "$ac_cs_usage"; exit ;; 13385 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 13386 | -silent | --silent | --silen | --sile | --sil | --si | --s) 13387 ac_cs_silent=: ;; 13388 13389 # This is an error. 13390 -*) as_fn_error "unrecognized option: \`$1' 13391Try \`$0 --help' for more information." ;; 13392 13393 *) as_fn_append ac_config_targets " $1" 13394 ac_need_defaults=false ;; 13395 13396 esac 13397 shift 13398done 13399 13400ac_configure_extra_args= 13401 13402if $ac_cs_silent; then 13403 exec 6>/dev/null 13404 ac_configure_extra_args="$ac_configure_extra_args --silent" 13405fi 13406 13407_ACEOF 13408cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13409if \$ac_cs_recheck; then 13410 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 13411 shift 13412 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 13413 CONFIG_SHELL='$SHELL' 13414 export CONFIG_SHELL 13415 exec "\$@" 13416fi 13417 13418_ACEOF 13419cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13420exec 5>>config.log 13421{ 13422 echo 13423 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 13424## Running $as_me. ## 13425_ASBOX 13426 $as_echo "$ac_log" 13427} >&5 13428 13429_ACEOF 13430cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13431# 13432# INIT-COMMANDS 13433# 13434AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 13435 13436 13437 13438# The HP-UX ksh and POSIX shell print the target directory to stdout 13439# if CDPATH is set. 13440(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13441 13442sed_quote_subst='$sed_quote_subst' 13443double_quote_subst='$double_quote_subst' 13444delay_variable_subst='$delay_variable_subst' 13445enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' 13446macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' 13447macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' 13448enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' 13449pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' 13450enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' 13451host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' 13452host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' 13453host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' 13454build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' 13455build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' 13456build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' 13457SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' 13458Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' 13459GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' 13460EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' 13461FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' 13462LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' 13463NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' 13464LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' 13465max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' 13466ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' 13467exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' 13468lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' 13469lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' 13470lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' 13471reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' 13472reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13473OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' 13474deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' 13475file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' 13476AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' 13477AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' 13478STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' 13479RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' 13480old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13481old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13482old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13483CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' 13484CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' 13485compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' 13486GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' 13487lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' 13488lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' 13489lt_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"`' 13490lt_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"`' 13491objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' 13492SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' 13493ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' 13494MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' 13495lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' 13496lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' 13497lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' 13498lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' 13499lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' 13500need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' 13501DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' 13502NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' 13503LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' 13504OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' 13505OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' 13506libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' 13507shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13508extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13509archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' 13510enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' 13511export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 13512whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 13513compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' 13514old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13515old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13516archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13517archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13518module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13519module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13520with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' 13521allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 13522no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 13523hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 13524hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' 13525hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' 13526hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' 13527hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' 13528hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' 13529hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 13530hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' 13531inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' 13532link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' 13533fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' 13534always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' 13535export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13536exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 13537include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 13538prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13539file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' 13540variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' 13541need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' 13542need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' 13543version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' 13544runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' 13545shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 13546shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' 13547libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' 13548library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' 13549soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' 13550postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13551postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13552finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13553finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' 13554hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' 13555sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 13556sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 13557hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' 13558enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' 13559enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' 13560enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' 13561old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' 13562striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' 13563 13564LTCC='$LTCC' 13565LTCFLAGS='$LTCFLAGS' 13566compiler='$compiler_DEFAULT' 13567 13568# Quote evaled strings. 13569for var in SED \ 13570GREP \ 13571EGREP \ 13572FGREP \ 13573LD \ 13574NM \ 13575LN_S \ 13576lt_SP2NL \ 13577lt_NL2SP \ 13578reload_flag \ 13579OBJDUMP \ 13580deplibs_check_method \ 13581file_magic_cmd \ 13582AR \ 13583AR_FLAGS \ 13584STRIP \ 13585RANLIB \ 13586CC \ 13587CFLAGS \ 13588compiler \ 13589lt_cv_sys_global_symbol_pipe \ 13590lt_cv_sys_global_symbol_to_cdecl \ 13591lt_cv_sys_global_symbol_to_c_name_address \ 13592lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 13593SHELL \ 13594ECHO \ 13595lt_prog_compiler_no_builtin_flag \ 13596lt_prog_compiler_wl \ 13597lt_prog_compiler_pic \ 13598lt_prog_compiler_static \ 13599lt_cv_prog_compiler_c_o \ 13600need_locks \ 13601DSYMUTIL \ 13602NMEDIT \ 13603LIPO \ 13604OTOOL \ 13605OTOOL64 \ 13606shrext_cmds \ 13607export_dynamic_flag_spec \ 13608whole_archive_flag_spec \ 13609compiler_needs_object \ 13610with_gnu_ld \ 13611allow_undefined_flag \ 13612no_undefined_flag \ 13613hardcode_libdir_flag_spec \ 13614hardcode_libdir_flag_spec_ld \ 13615hardcode_libdir_separator \ 13616fix_srcfile_path \ 13617exclude_expsyms \ 13618include_expsyms \ 13619file_list_spec \ 13620variables_saved_for_relink \ 13621libname_spec \ 13622library_names_spec \ 13623soname_spec \ 13624finish_eval \ 13625old_striplib \ 13626striplib; do 13627 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 13628 *[\\\\\\\`\\"\\\$]*) 13629 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 13630 ;; 13631 *) 13632 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 13633 ;; 13634 esac 13635done 13636 13637# Double-quote double-evaled strings. 13638for var in reload_cmds \ 13639old_postinstall_cmds \ 13640old_postuninstall_cmds \ 13641old_archive_cmds \ 13642extract_expsyms_cmds \ 13643old_archive_from_new_cmds \ 13644old_archive_from_expsyms_cmds \ 13645archive_cmds \ 13646archive_expsym_cmds \ 13647module_cmds \ 13648module_expsym_cmds \ 13649export_symbols_cmds \ 13650prelink_cmds \ 13651postinstall_cmds \ 13652postuninstall_cmds \ 13653finish_cmds \ 13654sys_lib_search_path_spec \ 13655sys_lib_dlsearch_path_spec; do 13656 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 13657 *[\\\\\\\`\\"\\\$]*) 13658 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 13659 ;; 13660 *) 13661 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 13662 ;; 13663 esac 13664done 13665 13666# Fix-up fallback echo if it was mangled by the above quoting rules. 13667case \$lt_ECHO in 13668*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` 13669 ;; 13670esac 13671 13672ac_aux_dir='$ac_aux_dir' 13673xsi_shell='$xsi_shell' 13674lt_shell_append='$lt_shell_append' 13675 13676# See if we are running on zsh, and set the options which allow our 13677# commands through without removal of \ escapes INIT. 13678if test -n "\${ZSH_VERSION+set}" ; then 13679 setopt NO_GLOB_SUBST 13680fi 13681 13682 13683 PACKAGE='$PACKAGE' 13684 VERSION='$VERSION' 13685 TIMESTAMP='$TIMESTAMP' 13686 RM='$RM' 13687 ofile='$ofile' 13688 13689 13690 13691 13692_ACEOF 13693 13694cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13695 13696# Handling of arguments. 13697for ac_config_target in $ac_config_targets 13698do 13699 case $ac_config_target in 13700 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 13701 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 13702 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 13703 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 13704 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 13705 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 13706 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 13707 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; 13708 13709 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 13710 esac 13711done 13712 13713 13714# If the user did not use the arguments to specify the items to instantiate, 13715# then the envvar interface is used. Set only those that are not. 13716# We use the long form for the default assignment because of an extremely 13717# bizarre bug on SunOS 4.1.3. 13718if $ac_need_defaults; then 13719 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 13720 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 13721 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 13722fi 13723 13724# Have a temporary directory for convenience. Make it in the build tree 13725# simply because there is no reason against having it here, and in addition, 13726# creating and moving files from /tmp can sometimes cause problems. 13727# Hook for its removal unless debugging. 13728# Note that there is a small window in which the directory will not be cleaned: 13729# after its creation but before its name has been assigned to `$tmp'. 13730$debug || 13731{ 13732 tmp= 13733 trap 'exit_status=$? 13734 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 13735' 0 13736 trap 'as_fn_exit 1' 1 2 13 15 13737} 13738# Create a (secure) tmp directory for tmp files. 13739 13740{ 13741 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 13742 test -n "$tmp" && test -d "$tmp" 13743} || 13744{ 13745 tmp=./conf$$-$RANDOM 13746 (umask 077 && mkdir "$tmp") 13747} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 13748 13749# Set up the scripts for CONFIG_FILES section. 13750# No need to generate them if there are no CONFIG_FILES. 13751# This happens for instance with `./config.status config.h'. 13752if test -n "$CONFIG_FILES"; then 13753 13754 13755ac_cr=`echo X | tr X '\015'` 13756# On cygwin, bash can eat \r inside `` if the user requested igncr. 13757# But we know of no other shell where ac_cr would be empty at this 13758# point, so we can use a bashism as a fallback. 13759if test "x$ac_cr" = x; then 13760 eval ac_cr=\$\'\\r\' 13761fi 13762ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 13763if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 13764 ac_cs_awk_cr='\r' 13765else 13766 ac_cs_awk_cr=$ac_cr 13767fi 13768 13769echo 'BEGIN {' >"$tmp/subs1.awk" && 13770_ACEOF 13771 13772 13773{ 13774 echo "cat >conf$$subs.awk <<_ACEOF" && 13775 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 13776 echo "_ACEOF" 13777} >conf$$subs.sh || 13778 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 13779ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 13780ac_delim='%!_!# ' 13781for ac_last_try in false false false false false :; do 13782 . ./conf$$subs.sh || 13783 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 13784 13785 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 13786 if test $ac_delim_n = $ac_delim_num; then 13787 break 13788 elif $ac_last_try; then 13789 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 13790 else 13791 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13792 fi 13793done 13794rm -f conf$$subs.sh 13795 13796cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13797cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 13798_ACEOF 13799sed -n ' 13800h 13801s/^/S["/; s/!.*/"]=/ 13802p 13803g 13804s/^[^!]*!// 13805:repl 13806t repl 13807s/'"$ac_delim"'$// 13808t delim 13809:nl 13810h 13811s/\(.\{148\}\)..*/\1/ 13812t more1 13813s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 13814p 13815n 13816b repl 13817:more1 13818s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13819p 13820g 13821s/.\{148\}// 13822t nl 13823:delim 13824h 13825s/\(.\{148\}\)..*/\1/ 13826t more2 13827s/["\\]/\\&/g; s/^/"/; s/$/"/ 13828p 13829b 13830:more2 13831s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13832p 13833g 13834s/.\{148\}// 13835t delim 13836' <conf$$subs.awk | sed ' 13837/^[^""]/{ 13838 N 13839 s/\n// 13840} 13841' >>$CONFIG_STATUS || ac_write_fail=1 13842rm -f conf$$subs.awk 13843cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13844_ACAWK 13845cat >>"\$tmp/subs1.awk" <<_ACAWK && 13846 for (key in S) S_is_set[key] = 1 13847 FS = "" 13848 13849} 13850{ 13851 line = $ 0 13852 nfields = split(line, field, "@") 13853 substed = 0 13854 len = length(field[1]) 13855 for (i = 2; i < nfields; i++) { 13856 key = field[i] 13857 keylen = length(key) 13858 if (S_is_set[key]) { 13859 value = S[key] 13860 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 13861 len += length(value) + length(field[++i]) 13862 substed = 1 13863 } else 13864 len += 1 + keylen 13865 } 13866 13867 print line 13868} 13869 13870_ACAWK 13871_ACEOF 13872cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13873if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 13874 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 13875else 13876 cat 13877fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 13878 || as_fn_error "could not setup config files machinery" "$LINENO" 5 13879_ACEOF 13880 13881# VPATH may cause trouble with some makes, so we remove $(srcdir), 13882# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 13883# trailing colons and then remove the whole line if VPATH becomes empty 13884# (actually we leave an empty line to preserve line numbers). 13885if test "x$srcdir" = x.; then 13886 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 13887s/:*\$(srcdir):*/:/ 13888s/:*\${srcdir}:*/:/ 13889s/:*@srcdir@:*/:/ 13890s/^\([^=]*=[ ]*\):*/\1/ 13891s/:*$// 13892s/^[^=]*=[ ]*$// 13893}' 13894fi 13895 13896cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13897fi # test -n "$CONFIG_FILES" 13898 13899# Set up the scripts for CONFIG_HEADERS section. 13900# No need to generate them if there are no CONFIG_HEADERS. 13901# This happens for instance with `./config.status Makefile'. 13902if test -n "$CONFIG_HEADERS"; then 13903cat >"$tmp/defines.awk" <<\_ACAWK || 13904BEGIN { 13905_ACEOF 13906 13907# Transform confdefs.h into an awk script `defines.awk', embedded as 13908# here-document in config.status, that substitutes the proper values into 13909# config.h.in to produce config.h. 13910 13911# Create a delimiter string that does not exist in confdefs.h, to ease 13912# handling of long lines. 13913ac_delim='%!_!# ' 13914for ac_last_try in false false :; do 13915 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 13916 if test -z "$ac_t"; then 13917 break 13918 elif $ac_last_try; then 13919 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 13920 else 13921 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13922 fi 13923done 13924 13925# For the awk script, D is an array of macro values keyed by name, 13926# likewise P contains macro parameters if any. Preserve backslash 13927# newline sequences. 13928 13929ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 13930sed -n ' 13931s/.\{148\}/&'"$ac_delim"'/g 13932t rset 13933:rset 13934s/^[ ]*#[ ]*define[ ][ ]*/ / 13935t def 13936d 13937:def 13938s/\\$// 13939t bsnl 13940s/["\\]/\\&/g 13941s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 13942D["\1"]=" \3"/p 13943s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 13944d 13945:bsnl 13946s/["\\]/\\&/g 13947s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 13948D["\1"]=" \3\\\\\\n"\\/p 13949t cont 13950s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 13951t cont 13952d 13953:cont 13954n 13955s/.\{148\}/&'"$ac_delim"'/g 13956t clear 13957:clear 13958s/\\$// 13959t bsnlc 13960s/["\\]/\\&/g; s/^/"/; s/$/"/p 13961d 13962:bsnlc 13963s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 13964b cont 13965' <confdefs.h | sed ' 13966s/'"$ac_delim"'/"\\\ 13967"/g' >>$CONFIG_STATUS || ac_write_fail=1 13968 13969cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13970 for (key in D) D_is_set[key] = 1 13971 FS = "" 13972} 13973/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 13974 line = \$ 0 13975 split(line, arg, " ") 13976 if (arg[1] == "#") { 13977 defundef = arg[2] 13978 mac1 = arg[3] 13979 } else { 13980 defundef = substr(arg[1], 2) 13981 mac1 = arg[2] 13982 } 13983 split(mac1, mac2, "(") #) 13984 macro = mac2[1] 13985 prefix = substr(line, 1, index(line, defundef) - 1) 13986 if (D_is_set[macro]) { 13987 # Preserve the white space surrounding the "#". 13988 print prefix "define", macro P[macro] D[macro] 13989 next 13990 } else { 13991 # Replace #undef with comments. This is necessary, for example, 13992 # in the case of _POSIX_SOURCE, which is predefined and required 13993 # on some systems where configure will not decide to define it. 13994 if (defundef == "undef") { 13995 print "/*", prefix defundef, macro, "*/" 13996 next 13997 } 13998 } 13999} 14000{ print } 14001_ACAWK 14002_ACEOF 14003cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14004 as_fn_error "could not setup config headers machinery" "$LINENO" 5 14005fi # test -n "$CONFIG_HEADERS" 14006 14007 14008eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 14009shift 14010for ac_tag 14011do 14012 case $ac_tag in 14013 :[FHLC]) ac_mode=$ac_tag; continue;; 14014 esac 14015 case $ac_mode$ac_tag in 14016 :[FHL]*:*);; 14017 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 14018 :[FH]-) ac_tag=-:-;; 14019 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 14020 esac 14021 ac_save_IFS=$IFS 14022 IFS=: 14023 set x $ac_tag 14024 IFS=$ac_save_IFS 14025 shift 14026 ac_file=$1 14027 shift 14028 14029 case $ac_mode in 14030 :L) ac_source=$1;; 14031 :[FH]) 14032 ac_file_inputs= 14033 for ac_f 14034 do 14035 case $ac_f in 14036 -) ac_f="$tmp/stdin";; 14037 *) # Look for the file first in the build tree, then in the source tree 14038 # (if the path is not absolute). The absolute path cannot be DOS-style, 14039 # because $ac_f cannot contain `:'. 14040 test -f "$ac_f" || 14041 case $ac_f in 14042 [\\/$]*) false;; 14043 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 14044 esac || 14045 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 14046 esac 14047 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 14048 as_fn_append ac_file_inputs " '$ac_f'" 14049 done 14050 14051 # Let's still pretend it is `configure' which instantiates (i.e., don't 14052 # use $as_me), people would be surprised to read: 14053 # /* config.h. Generated by config.status. */ 14054 configure_input='Generated from '` 14055 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 14056 `' by configure.' 14057 if test x"$ac_file" != x-; then 14058 configure_input="$ac_file. $configure_input" 14059 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 14060$as_echo "$as_me: creating $ac_file" >&6;} 14061 fi 14062 # Neutralize special characters interpreted by sed in replacement strings. 14063 case $configure_input in #( 14064 *\&* | *\|* | *\\* ) 14065 ac_sed_conf_input=`$as_echo "$configure_input" | 14066 sed 's/[\\\\&|]/\\\\&/g'`;; #( 14067 *) ac_sed_conf_input=$configure_input;; 14068 esac 14069 14070 case $ac_tag in 14071 *:-:* | *:-) cat >"$tmp/stdin" \ 14072 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 14073 esac 14074 ;; 14075 esac 14076 14077 ac_dir=`$as_dirname -- "$ac_file" || 14078$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14079 X"$ac_file" : 'X\(//\)[^/]' \| \ 14080 X"$ac_file" : 'X\(//\)$' \| \ 14081 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 14082$as_echo X"$ac_file" | 14083 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14084 s//\1/ 14085 q 14086 } 14087 /^X\(\/\/\)[^/].*/{ 14088 s//\1/ 14089 q 14090 } 14091 /^X\(\/\/\)$/{ 14092 s//\1/ 14093 q 14094 } 14095 /^X\(\/\).*/{ 14096 s//\1/ 14097 q 14098 } 14099 s/.*/./; q'` 14100 as_dir="$ac_dir"; as_fn_mkdir_p 14101 ac_builddir=. 14102 14103case "$ac_dir" in 14104.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14105*) 14106 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14107 # A ".." for each directory in $ac_dir_suffix. 14108 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14109 case $ac_top_builddir_sub in 14110 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14111 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14112 esac ;; 14113esac 14114ac_abs_top_builddir=$ac_pwd 14115ac_abs_builddir=$ac_pwd$ac_dir_suffix 14116# for backward compatibility: 14117ac_top_builddir=$ac_top_build_prefix 14118 14119case $srcdir in 14120 .) # We are building in place. 14121 ac_srcdir=. 14122 ac_top_srcdir=$ac_top_builddir_sub 14123 ac_abs_top_srcdir=$ac_pwd ;; 14124 [\\/]* | ?:[\\/]* ) # Absolute name. 14125 ac_srcdir=$srcdir$ac_dir_suffix; 14126 ac_top_srcdir=$srcdir 14127 ac_abs_top_srcdir=$srcdir ;; 14128 *) # Relative name. 14129 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14130 ac_top_srcdir=$ac_top_build_prefix$srcdir 14131 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 14132esac 14133ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14134 14135 14136 case $ac_mode in 14137 :F) 14138 # 14139 # CONFIG_FILE 14140 # 14141 14142 case $INSTALL in 14143 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 14144 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 14145 esac 14146 ac_MKDIR_P=$MKDIR_P 14147 case $MKDIR_P in 14148 [\\/$]* | ?:[\\/]* ) ;; 14149 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 14150 esac 14151_ACEOF 14152 14153cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14154# If the template does not know about datarootdir, expand it. 14155# FIXME: This hack should be removed a few years after 2.60. 14156ac_datarootdir_hack=; ac_datarootdir_seen= 14157ac_sed_dataroot=' 14158/datarootdir/ { 14159 p 14160 q 14161} 14162/@datadir@/p 14163/@docdir@/p 14164/@infodir@/p 14165/@localedir@/p 14166/@mandir@/p' 14167case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 14168*datarootdir*) ac_datarootdir_seen=yes;; 14169*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 14170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 14171$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 14172_ACEOF 14173cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14174 ac_datarootdir_hack=' 14175 s&@datadir@&$datadir&g 14176 s&@docdir@&$docdir&g 14177 s&@infodir@&$infodir&g 14178 s&@localedir@&$localedir&g 14179 s&@mandir@&$mandir&g 14180 s&\\\${datarootdir}&$datarootdir&g' ;; 14181esac 14182_ACEOF 14183 14184# Neutralize VPATH when `$srcdir' = `.'. 14185# Shell code in configure.ac might set extrasub. 14186# FIXME: do we really want to maintain this feature? 14187cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14188ac_sed_extra="$ac_vpsub 14189$extrasub 14190_ACEOF 14191cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14192:t 14193/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 14194s|@configure_input@|$ac_sed_conf_input|;t t 14195s&@top_builddir@&$ac_top_builddir_sub&;t t 14196s&@top_build_prefix@&$ac_top_build_prefix&;t t 14197s&@srcdir@&$ac_srcdir&;t t 14198s&@abs_srcdir@&$ac_abs_srcdir&;t t 14199s&@top_srcdir@&$ac_top_srcdir&;t t 14200s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 14201s&@builddir@&$ac_builddir&;t t 14202s&@abs_builddir@&$ac_abs_builddir&;t t 14203s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 14204s&@INSTALL@&$ac_INSTALL&;t t 14205s&@MKDIR_P@&$ac_MKDIR_P&;t t 14206$ac_datarootdir_hack 14207" 14208eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 14209 || as_fn_error "could not create $ac_file" "$LINENO" 5 14210 14211test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 14212 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 14213 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 14214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14215which seems to be undefined. Please make sure it is defined." >&5 14216$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14217which seems to be undefined. Please make sure it is defined." >&2;} 14218 14219 rm -f "$tmp/stdin" 14220 case $ac_file in 14221 -) cat "$tmp/out" && rm -f "$tmp/out";; 14222 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 14223 esac \ 14224 || as_fn_error "could not create $ac_file" "$LINENO" 5 14225 ;; 14226 :H) 14227 # 14228 # CONFIG_HEADER 14229 # 14230 if test x"$ac_file" != x-; then 14231 { 14232 $as_echo "/* $configure_input */" \ 14233 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 14234 } >"$tmp/config.h" \ 14235 || as_fn_error "could not create $ac_file" "$LINENO" 5 14236 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 14237 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 14238$as_echo "$as_me: $ac_file is unchanged" >&6;} 14239 else 14240 rm -f "$ac_file" 14241 mv "$tmp/config.h" "$ac_file" \ 14242 || as_fn_error "could not create $ac_file" "$LINENO" 5 14243 fi 14244 else 14245 $as_echo "/* $configure_input */" \ 14246 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 14247 || as_fn_error "could not create -" "$LINENO" 5 14248 fi 14249# Compute "$ac_file"'s index in $config_headers. 14250_am_arg="$ac_file" 14251_am_stamp_count=1 14252for _am_header in $config_headers :; do 14253 case $_am_header in 14254 $_am_arg | $_am_arg:* ) 14255 break ;; 14256 * ) 14257 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 14258 esac 14259done 14260echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 14261$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14262 X"$_am_arg" : 'X\(//\)[^/]' \| \ 14263 X"$_am_arg" : 'X\(//\)$' \| \ 14264 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 14265$as_echo X"$_am_arg" | 14266 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14267 s//\1/ 14268 q 14269 } 14270 /^X\(\/\/\)[^/].*/{ 14271 s//\1/ 14272 q 14273 } 14274 /^X\(\/\/\)$/{ 14275 s//\1/ 14276 q 14277 } 14278 /^X\(\/\).*/{ 14279 s//\1/ 14280 q 14281 } 14282 s/.*/./; q'`/stamp-h$_am_stamp_count 14283 ;; 14284 14285 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 14286$as_echo "$as_me: executing $ac_file commands" >&6;} 14287 ;; 14288 esac 14289 14290 14291 case $ac_file$ac_mode in 14292 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 14293 # Autoconf 2.62 quotes --file arguments for eval, but not when files 14294 # are listed without --file. Let's play safe and only enable the eval 14295 # if we detect the quoting. 14296 case $CONFIG_FILES in 14297 *\'*) eval set x "$CONFIG_FILES" ;; 14298 *) set x $CONFIG_FILES ;; 14299 esac 14300 shift 14301 for mf 14302 do 14303 # Strip MF so we end up with the name of the file. 14304 mf=`echo "$mf" | sed -e 's/:.*$//'` 14305 # Check whether this is an Automake generated Makefile or not. 14306 # We used to match only the files named `Makefile.in', but 14307 # some people rename them; so instead we look at the file content. 14308 # Grep'ing the first line is not enough: some people post-process 14309 # each Makefile.in and add a new line on top of each file to say so. 14310 # Grep'ing the whole file is not good either: AIX grep has a line 14311 # limit of 2048, but all sed's we know have understand at least 4000. 14312 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 14313 dirpart=`$as_dirname -- "$mf" || 14314$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14315 X"$mf" : 'X\(//\)[^/]' \| \ 14316 X"$mf" : 'X\(//\)$' \| \ 14317 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 14318$as_echo X"$mf" | 14319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14320 s//\1/ 14321 q 14322 } 14323 /^X\(\/\/\)[^/].*/{ 14324 s//\1/ 14325 q 14326 } 14327 /^X\(\/\/\)$/{ 14328 s//\1/ 14329 q 14330 } 14331 /^X\(\/\).*/{ 14332 s//\1/ 14333 q 14334 } 14335 s/.*/./; q'` 14336 else 14337 continue 14338 fi 14339 # Extract the definition of DEPDIR, am__include, and am__quote 14340 # from the Makefile without running `make'. 14341 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 14342 test -z "$DEPDIR" && continue 14343 am__include=`sed -n 's/^am__include = //p' < "$mf"` 14344 test -z "am__include" && continue 14345 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 14346 # When using ansi2knr, U may be empty or an underscore; expand it 14347 U=`sed -n 's/^U = //p' < "$mf"` 14348 # Find all dependency output files, they are included files with 14349 # $(DEPDIR) in their names. We invoke sed twice because it is the 14350 # simplest approach to changing $(DEPDIR) to its actual value in the 14351 # expansion. 14352 for file in `sed -n " 14353 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 14354 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 14355 # Make sure the directory exists. 14356 test -f "$dirpart/$file" && continue 14357 fdir=`$as_dirname -- "$file" || 14358$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14359 X"$file" : 'X\(//\)[^/]' \| \ 14360 X"$file" : 'X\(//\)$' \| \ 14361 X"$file" : 'X\(/\)' \| . 2>/dev/null || 14362$as_echo X"$file" | 14363 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14364 s//\1/ 14365 q 14366 } 14367 /^X\(\/\/\)[^/].*/{ 14368 s//\1/ 14369 q 14370 } 14371 /^X\(\/\/\)$/{ 14372 s//\1/ 14373 q 14374 } 14375 /^X\(\/\).*/{ 14376 s//\1/ 14377 q 14378 } 14379 s/.*/./; q'` 14380 as_dir=$dirpart/$fdir; as_fn_mkdir_p 14381 # echo "creating $dirpart/$file" 14382 echo '# dummy' > "$dirpart/$file" 14383 done 14384 done 14385} 14386 ;; 14387 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) 14388 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile 14389 esac ;; 14390 "libtool":C) 14391 14392 # See if we are running on zsh, and set the options which allow our 14393 # commands through without removal of \ escapes. 14394 if test -n "${ZSH_VERSION+set}" ; then 14395 setopt NO_GLOB_SUBST 14396 fi 14397 14398 cfgfile="${ofile}T" 14399 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 14400 $RM "$cfgfile" 14401 14402 cat <<_LT_EOF >> "$cfgfile" 14403#! $SHELL 14404 14405# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 14406# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 14407# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 14408# NOTE: Changes made to this file will be lost: look at ltmain.sh. 14409# 14410# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 14411# 2006, 2007, 2008 Free Software Foundation, Inc. 14412# Written by Gordon Matzigkeit, 1996 14413# 14414# This file is part of GNU Libtool. 14415# 14416# GNU Libtool is free software; you can redistribute it and/or 14417# modify it under the terms of the GNU General Public License as 14418# published by the Free Software Foundation; either version 2 of 14419# the License, or (at your option) any later version. 14420# 14421# As a special exception to the GNU General Public License, 14422# if you distribute this file as part of a program or library that 14423# is built using GNU Libtool, you may include this file under the 14424# same distribution terms that you use for the rest of that program. 14425# 14426# GNU Libtool is distributed in the hope that it will be useful, 14427# but WITHOUT ANY WARRANTY; without even the implied warranty of 14428# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14429# GNU General Public License for more details. 14430# 14431# You should have received a copy of the GNU General Public License 14432# along with GNU Libtool; see the file COPYING. If not, a copy 14433# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 14434# obtained by writing to the Free Software Foundation, Inc., 14435# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 14436 14437 14438# The names of the tagged configurations supported by this script. 14439available_tags="" 14440 14441# ### BEGIN LIBTOOL CONFIG 14442 14443# Whether or not to build static libraries. 14444build_old_libs=$enable_static 14445 14446# Which release of libtool.m4 was used? 14447macro_version=$macro_version 14448macro_revision=$macro_revision 14449 14450# Whether or not to build shared libraries. 14451build_libtool_libs=$enable_shared 14452 14453# What type of objects to build. 14454pic_mode=$pic_mode 14455 14456# Whether or not to optimize for fast installation. 14457fast_install=$enable_fast_install 14458 14459# The host system. 14460host_alias=$host_alias 14461host=$host 14462host_os=$host_os 14463 14464# The build system. 14465build_alias=$build_alias 14466build=$build 14467build_os=$build_os 14468 14469# A sed program that does not truncate output. 14470SED=$lt_SED 14471 14472# Sed that helps us avoid accidentally triggering echo(1) options like -n. 14473Xsed="\$SED -e 1s/^X//" 14474 14475# A grep program that handles long lines. 14476GREP=$lt_GREP 14477 14478# An ERE matcher. 14479EGREP=$lt_EGREP 14480 14481# A literal string matcher. 14482FGREP=$lt_FGREP 14483 14484# A BSD- or MS-compatible name lister. 14485NM=$lt_NM 14486 14487# Whether we need soft or hard links. 14488LN_S=$lt_LN_S 14489 14490# What is the maximum length of a command? 14491max_cmd_len=$max_cmd_len 14492 14493# Object file suffix (normally "o"). 14494objext=$ac_objext 14495 14496# Executable file suffix (normally ""). 14497exeext=$exeext 14498 14499# whether the shell understands "unset". 14500lt_unset=$lt_unset 14501 14502# turn spaces into newlines. 14503SP2NL=$lt_lt_SP2NL 14504 14505# turn newlines into spaces. 14506NL2SP=$lt_lt_NL2SP 14507 14508# How to create reloadable object files. 14509reload_flag=$lt_reload_flag 14510reload_cmds=$lt_reload_cmds 14511 14512# An object symbol dumper. 14513OBJDUMP=$lt_OBJDUMP 14514 14515# Method to check whether dependent libraries are shared objects. 14516deplibs_check_method=$lt_deplibs_check_method 14517 14518# Command to use when deplibs_check_method == "file_magic". 14519file_magic_cmd=$lt_file_magic_cmd 14520 14521# The archiver. 14522AR=$lt_AR 14523AR_FLAGS=$lt_AR_FLAGS 14524 14525# A symbol stripping program. 14526STRIP=$lt_STRIP 14527 14528# Commands used to install an old-style archive. 14529RANLIB=$lt_RANLIB 14530old_postinstall_cmds=$lt_old_postinstall_cmds 14531old_postuninstall_cmds=$lt_old_postuninstall_cmds 14532 14533# A C compiler. 14534LTCC=$lt_CC 14535 14536# LTCC compiler flags. 14537LTCFLAGS=$lt_CFLAGS 14538 14539# Take the output of nm and produce a listing of raw symbols and C names. 14540global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 14541 14542# Transform the output of nm in a proper C declaration. 14543global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 14544 14545# Transform the output of nm in a C name address pair. 14546global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 14547 14548# Transform the output of nm in a C name address pair when lib prefix is needed. 14549global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 14550 14551# The name of the directory that contains temporary libtool files. 14552objdir=$objdir 14553 14554# Shell to use when invoking shell scripts. 14555SHELL=$lt_SHELL 14556 14557# An echo program that does not interpret backslashes. 14558ECHO=$lt_ECHO 14559 14560# Used to examine libraries when file_magic_cmd begins with "file". 14561MAGIC_CMD=$MAGIC_CMD 14562 14563# Must we lock files when doing compilation? 14564need_locks=$lt_need_locks 14565 14566# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 14567DSYMUTIL=$lt_DSYMUTIL 14568 14569# Tool to change global to local symbols on Mac OS X. 14570NMEDIT=$lt_NMEDIT 14571 14572# Tool to manipulate fat objects and archives on Mac OS X. 14573LIPO=$lt_LIPO 14574 14575# ldd/readelf like tool for Mach-O binaries on Mac OS X. 14576OTOOL=$lt_OTOOL 14577 14578# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 14579OTOOL64=$lt_OTOOL64 14580 14581# Old archive suffix (normally "a"). 14582libext=$libext 14583 14584# Shared library suffix (normally ".so"). 14585shrext_cmds=$lt_shrext_cmds 14586 14587# The commands to extract the exported symbol list from a shared archive. 14588extract_expsyms_cmds=$lt_extract_expsyms_cmds 14589 14590# Variables whose values should be saved in libtool wrapper scripts and 14591# restored at link time. 14592variables_saved_for_relink=$lt_variables_saved_for_relink 14593 14594# Do we need the "lib" prefix for modules? 14595need_lib_prefix=$need_lib_prefix 14596 14597# Do we need a version for libraries? 14598need_version=$need_version 14599 14600# Library versioning type. 14601version_type=$version_type 14602 14603# Shared library runtime path variable. 14604runpath_var=$runpath_var 14605 14606# Shared library path variable. 14607shlibpath_var=$shlibpath_var 14608 14609# Is shlibpath searched before the hard-coded library search path? 14610shlibpath_overrides_runpath=$shlibpath_overrides_runpath 14611 14612# Format of library name prefix. 14613libname_spec=$lt_libname_spec 14614 14615# List of archive names. First name is the real one, the rest are links. 14616# The last name is the one that the linker finds with -lNAME 14617library_names_spec=$lt_library_names_spec 14618 14619# The coded name of the library, if different from the real name. 14620soname_spec=$lt_soname_spec 14621 14622# Command to use after installation of a shared archive. 14623postinstall_cmds=$lt_postinstall_cmds 14624 14625# Command to use after uninstallation of a shared archive. 14626postuninstall_cmds=$lt_postuninstall_cmds 14627 14628# Commands used to finish a libtool library installation in a directory. 14629finish_cmds=$lt_finish_cmds 14630 14631# As "finish_cmds", except a single script fragment to be evaled but 14632# not shown. 14633finish_eval=$lt_finish_eval 14634 14635# Whether we should hardcode library paths into libraries. 14636hardcode_into_libs=$hardcode_into_libs 14637 14638# Compile-time system search path for libraries. 14639sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 14640 14641# Run-time system search path for libraries. 14642sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 14643 14644# Whether dlopen is supported. 14645dlopen_support=$enable_dlopen 14646 14647# Whether dlopen of programs is supported. 14648dlopen_self=$enable_dlopen_self 14649 14650# Whether dlopen of statically linked programs is supported. 14651dlopen_self_static=$enable_dlopen_self_static 14652 14653# Commands to strip libraries. 14654old_striplib=$lt_old_striplib 14655striplib=$lt_striplib 14656 14657 14658# The linker used to build libraries. 14659LD=$lt_LD 14660 14661# Commands used to build an old-style archive. 14662old_archive_cmds=$lt_old_archive_cmds 14663 14664# A language specific compiler. 14665CC=$lt_compiler 14666 14667# Is the compiler the GNU compiler? 14668with_gcc=$GCC 14669 14670# Compiler flag to turn off builtin functions. 14671no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 14672 14673# How to pass a linker flag through the compiler. 14674wl=$lt_lt_prog_compiler_wl 14675 14676# Additional compiler flags for building library objects. 14677pic_flag=$lt_lt_prog_compiler_pic 14678 14679# Compiler flag to prevent dynamic linking. 14680link_static_flag=$lt_lt_prog_compiler_static 14681 14682# Does compiler simultaneously support -c and -o options? 14683compiler_c_o=$lt_lt_cv_prog_compiler_c_o 14684 14685# Whether or not to add -lc for building shared libraries. 14686build_libtool_need_lc=$archive_cmds_need_lc 14687 14688# Whether or not to disallow shared libs when runtime libs are static. 14689allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 14690 14691# Compiler flag to allow reflexive dlopens. 14692export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 14693 14694# Compiler flag to generate shared objects directly from archives. 14695whole_archive_flag_spec=$lt_whole_archive_flag_spec 14696 14697# Whether the compiler copes with passing no objects directly. 14698compiler_needs_object=$lt_compiler_needs_object 14699 14700# Create an old-style archive from a shared archive. 14701old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 14702 14703# Create a temporary old-style archive to link instead of a shared archive. 14704old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 14705 14706# Commands used to build a shared archive. 14707archive_cmds=$lt_archive_cmds 14708archive_expsym_cmds=$lt_archive_expsym_cmds 14709 14710# Commands used to build a loadable module if different from building 14711# a shared archive. 14712module_cmds=$lt_module_cmds 14713module_expsym_cmds=$lt_module_expsym_cmds 14714 14715# Whether we are building with GNU ld or not. 14716with_gnu_ld=$lt_with_gnu_ld 14717 14718# Flag that allows shared libraries with undefined symbols to be built. 14719allow_undefined_flag=$lt_allow_undefined_flag 14720 14721# Flag that enforces no undefined symbols. 14722no_undefined_flag=$lt_no_undefined_flag 14723 14724# Flag to hardcode \$libdir into a binary during linking. 14725# This must work even if \$libdir does not exist 14726hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 14727 14728# If ld is used when linking, flag to hardcode \$libdir into a binary 14729# during linking. This must work even if \$libdir does not exist. 14730hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld 14731 14732# Whether we need a single "-rpath" flag with a separated argument. 14733hardcode_libdir_separator=$lt_hardcode_libdir_separator 14734 14735# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 14736# DIR into the resulting binary. 14737hardcode_direct=$hardcode_direct 14738 14739# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 14740# DIR into the resulting binary and the resulting library dependency is 14741# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 14742# library is relocated. 14743hardcode_direct_absolute=$hardcode_direct_absolute 14744 14745# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 14746# into the resulting binary. 14747hardcode_minus_L=$hardcode_minus_L 14748 14749# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 14750# into the resulting binary. 14751hardcode_shlibpath_var=$hardcode_shlibpath_var 14752 14753# Set to "yes" if building a shared library automatically hardcodes DIR 14754# into the library and all subsequent libraries and executables linked 14755# against it. 14756hardcode_automatic=$hardcode_automatic 14757 14758# Set to yes if linker adds runtime paths of dependent libraries 14759# to runtime path list. 14760inherit_rpath=$inherit_rpath 14761 14762# Whether libtool must link a program against all its dependency libraries. 14763link_all_deplibs=$link_all_deplibs 14764 14765# Fix the shell variable \$srcfile for the compiler. 14766fix_srcfile_path=$lt_fix_srcfile_path 14767 14768# Set to "yes" if exported symbols are required. 14769always_export_symbols=$always_export_symbols 14770 14771# The commands to list exported symbols. 14772export_symbols_cmds=$lt_export_symbols_cmds 14773 14774# Symbols that should not be listed in the preloaded symbols. 14775exclude_expsyms=$lt_exclude_expsyms 14776 14777# Symbols that must always be exported. 14778include_expsyms=$lt_include_expsyms 14779 14780# Commands necessary for linking programs (against libraries) with templates. 14781prelink_cmds=$lt_prelink_cmds 14782 14783# Specify filename containing input files. 14784file_list_spec=$lt_file_list_spec 14785 14786# How to hardcode a shared library path into an executable. 14787hardcode_action=$hardcode_action 14788 14789# ### END LIBTOOL CONFIG 14790 14791_LT_EOF 14792 14793 case $host_os in 14794 aix3*) 14795 cat <<\_LT_EOF >> "$cfgfile" 14796# AIX sometimes has problems with the GCC collect2 program. For some 14797# reason, if we set the COLLECT_NAMES environment variable, the problems 14798# vanish in a puff of smoke. 14799if test "X${COLLECT_NAMES+set}" != Xset; then 14800 COLLECT_NAMES= 14801 export COLLECT_NAMES 14802fi 14803_LT_EOF 14804 ;; 14805 esac 14806 14807 14808ltmain="$ac_aux_dir/ltmain.sh" 14809 14810 14811 # We use sed instead of cat because bash on DJGPP gets confused if 14812 # if finds mixed CR/LF and LF-only lines. Since sed operates in 14813 # text mode, it properly converts lines to CR/LF. This bash problem 14814 # is reportedly fixed, but why not run on old versions too? 14815 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ 14816 || (rm -f "$cfgfile"; exit 1) 14817 14818 case $xsi_shell in 14819 yes) 14820 cat << \_LT_EOF >> "$cfgfile" 14821 14822# func_dirname file append nondir_replacement 14823# Compute the dirname of FILE. If nonempty, add APPEND to the result, 14824# otherwise set result to NONDIR_REPLACEMENT. 14825func_dirname () 14826{ 14827 case ${1} in 14828 */*) func_dirname_result="${1%/*}${2}" ;; 14829 * ) func_dirname_result="${3}" ;; 14830 esac 14831} 14832 14833# func_basename file 14834func_basename () 14835{ 14836 func_basename_result="${1##*/}" 14837} 14838 14839# func_dirname_and_basename file append nondir_replacement 14840# perform func_basename and func_dirname in a single function 14841# call: 14842# dirname: Compute the dirname of FILE. If nonempty, 14843# add APPEND to the result, otherwise set result 14844# to NONDIR_REPLACEMENT. 14845# value returned in "$func_dirname_result" 14846# basename: Compute filename of FILE. 14847# value retuned in "$func_basename_result" 14848# Implementation must be kept synchronized with func_dirname 14849# and func_basename. For efficiency, we do not delegate to 14850# those functions but instead duplicate the functionality here. 14851func_dirname_and_basename () 14852{ 14853 case ${1} in 14854 */*) func_dirname_result="${1%/*}${2}" ;; 14855 * ) func_dirname_result="${3}" ;; 14856 esac 14857 func_basename_result="${1##*/}" 14858} 14859 14860# func_stripname prefix suffix name 14861# strip PREFIX and SUFFIX off of NAME. 14862# PREFIX and SUFFIX must not contain globbing or regex special 14863# characters, hashes, percent signs, but SUFFIX may contain a leading 14864# dot (in which case that matches only a dot). 14865func_stripname () 14866{ 14867 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are 14868 # positional parameters, so assign one to ordinary parameter first. 14869 func_stripname_result=${3} 14870 func_stripname_result=${func_stripname_result#"${1}"} 14871 func_stripname_result=${func_stripname_result%"${2}"} 14872} 14873 14874# func_opt_split 14875func_opt_split () 14876{ 14877 func_opt_split_opt=${1%%=*} 14878 func_opt_split_arg=${1#*=} 14879} 14880 14881# func_lo2o object 14882func_lo2o () 14883{ 14884 case ${1} in 14885 *.lo) func_lo2o_result=${1%.lo}.${objext} ;; 14886 *) func_lo2o_result=${1} ;; 14887 esac 14888} 14889 14890# func_xform libobj-or-source 14891func_xform () 14892{ 14893 func_xform_result=${1%.*}.lo 14894} 14895 14896# func_arith arithmetic-term... 14897func_arith () 14898{ 14899 func_arith_result=$(( $* )) 14900} 14901 14902# func_len string 14903# STRING may not start with a hyphen. 14904func_len () 14905{ 14906 func_len_result=${#1} 14907} 14908 14909_LT_EOF 14910 ;; 14911 *) # Bourne compatible functions. 14912 cat << \_LT_EOF >> "$cfgfile" 14913 14914# func_dirname file append nondir_replacement 14915# Compute the dirname of FILE. If nonempty, add APPEND to the result, 14916# otherwise set result to NONDIR_REPLACEMENT. 14917func_dirname () 14918{ 14919 # Extract subdirectory from the argument. 14920 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` 14921 if test "X$func_dirname_result" = "X${1}"; then 14922 func_dirname_result="${3}" 14923 else 14924 func_dirname_result="$func_dirname_result${2}" 14925 fi 14926} 14927 14928# func_basename file 14929func_basename () 14930{ 14931 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` 14932} 14933 14934 14935# func_stripname prefix suffix name 14936# strip PREFIX and SUFFIX off of NAME. 14937# PREFIX and SUFFIX must not contain globbing or regex special 14938# characters, hashes, percent signs, but SUFFIX may contain a leading 14939# dot (in which case that matches only a dot). 14940# func_strip_suffix prefix name 14941func_stripname () 14942{ 14943 case ${2} in 14944 .*) func_stripname_result=`$ECHO "X${3}" \ 14945 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; 14946 *) func_stripname_result=`$ECHO "X${3}" \ 14947 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; 14948 esac 14949} 14950 14951# sed scripts: 14952my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' 14953my_sed_long_arg='1s/^-[^=]*=//' 14954 14955# func_opt_split 14956func_opt_split () 14957{ 14958 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` 14959 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` 14960} 14961 14962# func_lo2o object 14963func_lo2o () 14964{ 14965 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` 14966} 14967 14968# func_xform libobj-or-source 14969func_xform () 14970{ 14971 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` 14972} 14973 14974# func_arith arithmetic-term... 14975func_arith () 14976{ 14977 func_arith_result=`expr "$@"` 14978} 14979 14980# func_len string 14981# STRING may not start with a hyphen. 14982func_len () 14983{ 14984 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` 14985} 14986 14987_LT_EOF 14988esac 14989 14990case $lt_shell_append in 14991 yes) 14992 cat << \_LT_EOF >> "$cfgfile" 14993 14994# func_append var value 14995# Append VALUE to the end of shell variable VAR. 14996func_append () 14997{ 14998 eval "$1+=\$2" 14999} 15000_LT_EOF 15001 ;; 15002 *) 15003 cat << \_LT_EOF >> "$cfgfile" 15004 15005# func_append var value 15006# Append VALUE to the end of shell variable VAR. 15007func_append () 15008{ 15009 eval "$1=\$$1\$2" 15010} 15011 15012_LT_EOF 15013 ;; 15014 esac 15015 15016 15017 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ 15018 || (rm -f "$cfgfile"; exit 1) 15019 15020 mv -f "$cfgfile" "$ofile" || 15021 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 15022 chmod +x "$ofile" 15023 15024 ;; 15025 "po/stamp-it":C) 15026 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then 15027 as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 15028 fi 15029 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" 15030 >"po/stamp-it.tmp" 15031 sed '/^#/d 15032 s/^[[].*] *// 15033 /^[ ]*$/d 15034 '"s|^| $ac_top_srcdir/|" \ 15035 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" 15036 15037 sed '/^POTFILES =/,/[^\\]$/ { 15038 /^POTFILES =/!d 15039 r po/POTFILES 15040 } 15041 ' "po/Makefile.in" >"po/Makefile" 15042 rm -f "po/Makefile.tmp" 15043 mv "po/stamp-it.tmp" "po/stamp-it" 15044 ;; 15045 15046 esac 15047done # for ac_tag 15048 15049 15050as_fn_exit 0 15051_ACEOF 15052ac_clean_files=$ac_clean_files_save 15053 15054test $ac_write_fail = 0 || 15055 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 15056 15057 15058# configure is writing to config.log, and then calls config.status. 15059# config.status does its own redirection, appending to config.log. 15060# Unfortunately, on DOS this fails, as config.log is still kept open 15061# by configure, so config.status won't be able to write to it; its 15062# output is simply discarded. So we exec the FD to /dev/null, 15063# effectively closing config.log, so it can be properly (re)opened and 15064# appended to by config.status. When coming back to configure, we 15065# need to make the FD available again. 15066if test "$no_create" != yes; then 15067 ac_cs_success=: 15068 ac_config_status_args= 15069 test "$silent" = yes && 15070 ac_config_status_args="$ac_config_status_args --quiet" 15071 exec 5>/dev/null 15072 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 15073 exec 5>>config.log 15074 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 15075 # would make configure fail if this is the last instruction. 15076 $ac_cs_success || as_fn_exit $? 15077fi 15078if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 15079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 15080$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 15081fi 15082 15083