1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.67 for gmpc-alarm 11.8.16. 4# 5# Report bugs to <qball@sarine.nl>. 6# 7# 8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 10# Foundation, Inc. 11# 12# 13# This configure script is free software; the Free Software Foundation 14# gives unlimited permission to copy, distribute and modify it. 15## -------------------- ## 16## M4sh Initialization. ## 17## -------------------- ## 18 19# Be more Bourne compatible 20DUALCASE=1; export DUALCASE # for MKS sh 21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 22 emulate sh 23 NULLCMD=: 24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25 # is contrary to our usage. Disable this feature. 26 alias -g '${1+"$@"}'='"$@"' 27 setopt NO_GLOB_SUBST 28else 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 34esac 35fi 36 37 38as_nl=' 39' 40export as_nl 41# Printing a long string crashes Solaris 7 /usr/bin/printf. 42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45# Prefer a ksh shell builtin over an external printf program on Solaris, 46# but without wasting forks for bash or zsh. 47if test -z "$BASH_VERSION$ZSH_VERSION" \ 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='print -r --' 50 as_echo_n='print -rn --' 51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52 as_echo='printf %s\n' 53 as_echo_n='printf %s' 54else 55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 57 as_echo_n='/usr/ucb/echo -n' 58 else 59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 60 as_echo_n_body='eval 61 arg=$1; 62 case $arg in #( 63 *"$as_nl"*) 64 expr "X$arg" : "X\\(.*\\)$as_nl"; 65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 66 esac; 67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 68 ' 69 export as_echo_n_body 70 as_echo_n='sh -c $as_echo_n_body as_echo' 71 fi 72 export as_echo_body 73 as_echo='sh -c $as_echo_body as_echo' 74fi 75 76# The user is always right. 77if test "${PATH_SEPARATOR+set}" != set; then 78 PATH_SEPARATOR=: 79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 81 PATH_SEPARATOR=';' 82 } 83fi 84 85 86# IFS 87# We need space, tab and new line, in precisely that order. Quoting is 88# there to prevent editors from complaining about space-tab. 89# (If _AS_PATH_WALK were called with IFS unset, it would disable word 90# splitting by setting IFS to empty value.) 91IFS=" "" $as_nl" 92 93# Find who we are. Look in the path if we contain no directory separator. 94case $0 in #(( 95 *[\\/]* ) as_myself=$0 ;; 96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 97for as_dir in $PATH 98do 99 IFS=$as_save_IFS 100 test -z "$as_dir" && as_dir=. 101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 102 done 103IFS=$as_save_IFS 104 105 ;; 106esac 107# We did not find ourselves, most probably we were run as `sh COMMAND' 108# in which case we are not to be found in the path. 109if test "x$as_myself" = x; then 110 as_myself=$0 111fi 112if test ! -f "$as_myself"; then 113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 114 exit 1 115fi 116 117# Unset variables that we do not need and which cause bugs (e.g. in 118# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 119# suppresses any "Segmentation fault" message there. '((' could 120# trigger a bug in pdksh 5.2.14. 121for as_var in BASH_ENV ENV MAIL MAILPATH 122do eval test x\${$as_var+set} = xset \ 123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 124done 125PS1='$ ' 126PS2='> ' 127PS4='+ ' 128 129# NLS nuisances. 130LC_ALL=C 131export LC_ALL 132LANGUAGE=C 133export LANGUAGE 134 135# CDPATH. 136(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 137 138if test "x$CONFIG_SHELL" = x; then 139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 140 emulate sh 141 NULLCMD=: 142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 143 # is contrary to our usage. Disable this feature. 144 alias -g '\${1+\"\$@\"}'='\"\$@\"' 145 setopt NO_GLOB_SUBST 146else 147 case \`(set -o) 2>/dev/null\` in #( 148 *posix*) : 149 set -o posix ;; #( 150 *) : 151 ;; 152esac 153fi 154" 155 as_required="as_fn_return () { (exit \$1); } 156as_fn_success () { as_fn_return 0; } 157as_fn_failure () { as_fn_return 1; } 158as_fn_ret_success () { return 0; } 159as_fn_ret_failure () { return 1; } 160 161exitcode=0 162as_fn_success || { exitcode=1; echo as_fn_success failed.; } 163as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 164as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 165as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 166if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 167 168else 169 exitcode=1; echo positional parameters were not saved. 170fi 171test x\$exitcode = x0 || exit 1" 172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 176test \$(( 1 + 1 )) = 2 || exit 1" 177 if (eval "$as_required") 2>/dev/null; then : 178 as_have_required=yes 179else 180 as_have_required=no 181fi 182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 183 184else 185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 186as_found=false 187for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 188do 189 IFS=$as_save_IFS 190 test -z "$as_dir" && as_dir=. 191 as_found=: 192 case $as_dir in #( 193 /*) 194 for as_base in sh bash ksh sh5; do 195 # Try only shells that exist, to save several forks. 196 as_shell=$as_dir/$as_base 197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 199 CONFIG_SHELL=$as_shell as_have_required=yes 200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 201 break 2 202fi 203fi 204 done;; 205 esac 206 as_found=false 207done 208$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 210 CONFIG_SHELL=$SHELL as_have_required=yes 211fi; } 212IFS=$as_save_IFS 213 214 215 if test "x$CONFIG_SHELL" != x; then : 216 # We cannot yet assume a decent shell, so we have to provide a 217 # neutralization value for shells without unset; and this also 218 # works around shells that cannot unset nonexistent variables. 219 BASH_ENV=/dev/null 220 ENV=/dev/null 221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 222 export CONFIG_SHELL 223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 224fi 225 226 if test x$as_have_required = xno; then : 227 $as_echo "$0: This script requires a shell more modern than all" 228 $as_echo "$0: the shells that I found on your system." 229 if test x${ZSH_VERSION+set} = xset ; then 230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 231 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 232 else 233 $as_echo "$0: Please tell bug-autoconf@gnu.org and qball@sarine.nl 234$0: about your system, including any error possibly output 235$0: before this message. Then install a modern shell, or 236$0: manually run the script under such a shell if you do 237$0: have one." 238 fi 239 exit 1 240fi 241fi 242fi 243SHELL=${CONFIG_SHELL-/bin/sh} 244export SHELL 245# Unset more variables known to interfere with behavior of common tools. 246CLICOLOR_FORCE= GREP_OPTIONS= 247unset CLICOLOR_FORCE GREP_OPTIONS 248 249## --------------------- ## 250## M4sh Shell Functions. ## 251## --------------------- ## 252# as_fn_unset VAR 253# --------------- 254# Portably unset VAR. 255as_fn_unset () 256{ 257 { eval $1=; unset $1;} 258} 259as_unset=as_fn_unset 260 261# as_fn_set_status STATUS 262# ----------------------- 263# Set $? to STATUS, without forking. 264as_fn_set_status () 265{ 266 return $1 267} # as_fn_set_status 268 269# as_fn_exit STATUS 270# ----------------- 271# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 272as_fn_exit () 273{ 274 set +e 275 as_fn_set_status $1 276 exit $1 277} # as_fn_exit 278 279# as_fn_mkdir_p 280# ------------- 281# Create "$as_dir" as a directory, including parents if necessary. 282as_fn_mkdir_p () 283{ 284 285 case $as_dir in #( 286 -*) as_dir=./$as_dir;; 287 esac 288 test -d "$as_dir" || eval $as_mkdir_p || { 289 as_dirs= 290 while :; do 291 case $as_dir in #( 292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 293 *) as_qdir=$as_dir;; 294 esac 295 as_dirs="'$as_qdir' $as_dirs" 296 as_dir=`$as_dirname -- "$as_dir" || 297$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 298 X"$as_dir" : 'X\(//\)[^/]' \| \ 299 X"$as_dir" : 'X\(//\)$' \| \ 300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 301$as_echo X"$as_dir" | 302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 303 s//\1/ 304 q 305 } 306 /^X\(\/\/\)[^/].*/{ 307 s//\1/ 308 q 309 } 310 /^X\(\/\/\)$/{ 311 s//\1/ 312 q 313 } 314 /^X\(\/\).*/{ 315 s//\1/ 316 q 317 } 318 s/.*/./; q'` 319 test -d "$as_dir" && break 320 done 321 test -z "$as_dirs" || eval "mkdir $as_dirs" 322 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 323 324 325} # as_fn_mkdir_p 326# as_fn_append VAR VALUE 327# ---------------------- 328# Append the text in VALUE to the end of the definition contained in VAR. Take 329# advantage of any shell optimizations that allow amortized linear growth over 330# repeated appends, instead of the typical quadratic growth present in naive 331# implementations. 332if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 333 eval 'as_fn_append () 334 { 335 eval $1+=\$2 336 }' 337else 338 as_fn_append () 339 { 340 eval $1=\$$1\$2 341 } 342fi # as_fn_append 343 344# as_fn_arith ARG... 345# ------------------ 346# Perform arithmetic evaluation on the ARGs, and store the result in the 347# global $as_val. Take advantage of shells that can avoid forks. The arguments 348# must be portable across $(()) and expr. 349if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 350 eval 'as_fn_arith () 351 { 352 as_val=$(( $* )) 353 }' 354else 355 as_fn_arith () 356 { 357 as_val=`expr "$@" || test $? -eq 1` 358 } 359fi # as_fn_arith 360 361 362# as_fn_error STATUS ERROR [LINENO LOG_FD] 363# ---------------------------------------- 364# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 365# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 366# script with STATUS, using 1 if that was 0. 367as_fn_error () 368{ 369 as_status=$1; test $as_status -eq 0 && as_status=1 370 if test "$4"; then 371 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 373 fi 374 $as_echo "$as_me: error: $2" >&2 375 as_fn_exit $as_status 376} # as_fn_error 377 378if expr a : '\(a\)' >/dev/null 2>&1 && 379 test "X`expr 00001 : '.*\(...\)'`" = X001; then 380 as_expr=expr 381else 382 as_expr=false 383fi 384 385if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 386 as_basename=basename 387else 388 as_basename=false 389fi 390 391if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 392 as_dirname=dirname 393else 394 as_dirname=false 395fi 396 397as_me=`$as_basename -- "$0" || 398$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 399 X"$0" : 'X\(//\)$' \| \ 400 X"$0" : 'X\(/\)' \| . 2>/dev/null || 401$as_echo X/"$0" | 402 sed '/^.*\/\([^/][^/]*\)\/*$/{ 403 s//\1/ 404 q 405 } 406 /^X\/\(\/\/\)$/{ 407 s//\1/ 408 q 409 } 410 /^X\/\(\/\).*/{ 411 s//\1/ 412 q 413 } 414 s/.*/./; q'` 415 416# Avoid depending upon Character Ranges. 417as_cr_letters='abcdefghijklmnopqrstuvwxyz' 418as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 419as_cr_Letters=$as_cr_letters$as_cr_LETTERS 420as_cr_digits='0123456789' 421as_cr_alnum=$as_cr_Letters$as_cr_digits 422 423 424 as_lineno_1=$LINENO as_lineno_1a=$LINENO 425 as_lineno_2=$LINENO as_lineno_2a=$LINENO 426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 429 sed -n ' 430 p 431 /[$]LINENO/= 432 ' <$as_myself | 433 sed ' 434 s/[$]LINENO.*/&-/ 435 t lineno 436 b 437 :lineno 438 N 439 :loop 440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 441 t loop 442 s/-\n.*// 443 ' >$as_me.lineno && 444 chmod +x "$as_me.lineno" || 445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 446 447 # Don't try to exec as it changes $[0], causing all sort of problems 448 # (the dirname of $[0] is not the place where we might find the 449 # original and so on. Autoconf is especially sensitive to this). 450 . "./$as_me.lineno" 451 # Exit status is that of the last command. 452 exit 453} 454 455ECHO_C= ECHO_N= ECHO_T= 456case `echo -n x` in #((((( 457-n*) 458 case `echo 'xy\c'` in 459 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 460 xy) ECHO_C='\c';; 461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 462 ECHO_T=' ';; 463 esac;; 464*) 465 ECHO_N='-n';; 466esac 467 468rm -f conf$$ conf$$.exe conf$$.file 469if test -d conf$$.dir; then 470 rm -f conf$$.dir/conf$$.file 471else 472 rm -f conf$$.dir 473 mkdir conf$$.dir 2>/dev/null 474fi 475if (echo >conf$$.file) 2>/dev/null; then 476 if ln -s conf$$.file conf$$ 2>/dev/null; then 477 as_ln_s='ln -s' 478 # ... but there are two gotchas: 479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 481 # In both cases, we have to default to `cp -p'. 482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 483 as_ln_s='cp -p' 484 elif ln conf$$.file conf$$ 2>/dev/null; then 485 as_ln_s=ln 486 else 487 as_ln_s='cp -p' 488 fi 489else 490 as_ln_s='cp -p' 491fi 492rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 493rmdir conf$$.dir 2>/dev/null 494 495if mkdir -p . 2>/dev/null; then 496 as_mkdir_p='mkdir -p "$as_dir"' 497else 498 test -d ./-p && rmdir ./-p 499 as_mkdir_p=false 500fi 501 502if test -x / >/dev/null 2>&1; then 503 as_test_x='test -x' 504else 505 if ls -dL / >/dev/null 2>&1; then 506 as_ls_L_option=L 507 else 508 as_ls_L_option= 509 fi 510 as_test_x=' 511 eval sh -c '\'' 512 if test -d "$1"; then 513 test -d "$1/."; 514 else 515 case $1 in #( 516 -*)set "./$1";; 517 esac; 518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 519 ???[sx]*):;;*)false;;esac;fi 520 '\'' sh 521 ' 522fi 523as_executable_p=$as_test_x 524 525# Sed expression to map a string onto a valid CPP name. 526as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 527 528# Sed expression to map a string onto a valid variable name. 529as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 530 531 532 533# Check that we are running under the correct shell. 534SHELL=${CONFIG_SHELL-/bin/sh} 535 536case X$lt_ECHO in 537X*--fallback-echo) 538 # Remove one level of quotation (which was required for Make). 539 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` 540 ;; 541esac 542 543ECHO=${lt_ECHO-echo} 544if test "X$1" = X--no-reexec; then 545 # Discard the --no-reexec flag, and continue. 546 shift 547elif test "X$1" = X--fallback-echo; then 548 # Avoid inline document here, it may be left over 549 : 550elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then 551 # Yippee, $ECHO works! 552 : 553else 554 # Restart under the correct shell. 555 exec $SHELL "$0" --no-reexec ${1+"$@"} 556fi 557 558if test "X$1" = X--fallback-echo; then 559 # used as fallback echo 560 shift 561 cat <<_LT_EOF 562$* 563_LT_EOF 564 exit 0 565fi 566 567# The HP-UX ksh and POSIX shell print the target directory to stdout 568# if CDPATH is set. 569(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 570 571if test -z "$lt_ECHO"; then 572 if test "X${echo_test_string+set}" != Xset; then 573 # find a string as large as possible, as long as the shell can cope with it 574 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do 575 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 576 if { echo_test_string=`eval $cmd`; } 2>/dev/null && 577 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null 578 then 579 break 580 fi 581 done 582 fi 583 584 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && 585 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && 586 test "X$echo_testing_string" = "X$echo_test_string"; then 587 : 588 else 589 # The Solaris, AIX, and Digital Unix default echo programs unquote 590 # backslashes. This makes it impossible to quote backslashes using 591 # echo "$something" | sed 's/\\/\\\\/g' 592 # 593 # So, first we look for a working echo in the user's PATH. 594 595 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 596 for dir in $PATH /usr/ucb; do 597 IFS="$lt_save_ifs" 598 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && 599 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && 600 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && 601 test "X$echo_testing_string" = "X$echo_test_string"; then 602 ECHO="$dir/echo" 603 break 604 fi 605 done 606 IFS="$lt_save_ifs" 607 608 if test "X$ECHO" = Xecho; then 609 # We didn't find a better echo, so look for alternatives. 610 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && 611 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && 612 test "X$echo_testing_string" = "X$echo_test_string"; then 613 # This shell has a builtin print -r that does the trick. 614 ECHO='print -r' 615 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && 616 test "X$CONFIG_SHELL" != X/bin/ksh; then 617 # If we have ksh, try running configure again with it. 618 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 619 export ORIGINAL_CONFIG_SHELL 620 CONFIG_SHELL=/bin/ksh 621 export CONFIG_SHELL 622 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} 623 else 624 # Try using printf. 625 ECHO='printf %s\n' 626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && 627 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && 628 test "X$echo_testing_string" = "X$echo_test_string"; then 629 # Cool, printf works 630 : 631 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 632 test "X$echo_testing_string" = 'X\t' && 633 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 634 test "X$echo_testing_string" = "X$echo_test_string"; then 635 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL 636 export CONFIG_SHELL 637 SHELL="$CONFIG_SHELL" 638 export SHELL 639 ECHO="$CONFIG_SHELL $0 --fallback-echo" 640 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 641 test "X$echo_testing_string" = 'X\t' && 642 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 643 test "X$echo_testing_string" = "X$echo_test_string"; then 644 ECHO="$CONFIG_SHELL $0 --fallback-echo" 645 else 646 # maybe with a smaller string... 647 prev=: 648 649 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do 650 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null 651 then 652 break 653 fi 654 prev="$cmd" 655 done 656 657 if test "$prev" != 'sed 50q "$0"'; then 658 echo_test_string=`eval $prev` 659 export echo_test_string 660 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} 661 else 662 # Oops. We lost completely, so just stick with echo. 663 ECHO=echo 664 fi 665 fi 666 fi 667 fi 668 fi 669fi 670 671# Copy echo and quote the copy suitably for passing to libtool from 672# the Makefile, instead of quoting the original, which is used later. 673lt_ECHO=$ECHO 674if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then 675 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" 676fi 677 678 679 680 681test -n "$DJDIR" || exec 7<&0 </dev/null 682exec 6>&1 683 684# Name of the host. 685# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 686# so uname gets run too. 687ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 688 689# 690# Initializations. 691# 692ac_default_prefix=/usr/local 693ac_clean_files= 694ac_config_libobj_dir=. 695LIBOBJS= 696cross_compiling=no 697subdirs= 698MFLAGS= 699MAKEFLAGS= 700 701# Identity of this package. 702PACKAGE_NAME='gmpc-alarm' 703PACKAGE_TARNAME='gmpc-alarm' 704PACKAGE_VERSION='11.8.16' 705PACKAGE_STRING='gmpc-alarm 11.8.16' 706PACKAGE_BUGREPORT='qball@sarine.nl' 707PACKAGE_URL='' 708 709# Factoring default headers for most tests. 710ac_includes_default="\ 711#include <stdio.h> 712#ifdef HAVE_SYS_TYPES_H 713# include <sys/types.h> 714#endif 715#ifdef HAVE_SYS_STAT_H 716# include <sys/stat.h> 717#endif 718#ifdef STDC_HEADERS 719# include <stdlib.h> 720# include <stddef.h> 721#else 722# ifdef HAVE_STDLIB_H 723# include <stdlib.h> 724# endif 725#endif 726#ifdef HAVE_STRING_H 727# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 728# include <memory.h> 729# endif 730# include <string.h> 731#endif 732#ifdef HAVE_STRINGS_H 733# include <strings.h> 734#endif 735#ifdef HAVE_INTTYPES_H 736# include <inttypes.h> 737#endif 738#ifdef HAVE_STDINT_H 739# include <stdint.h> 740#endif 741#ifdef HAVE_UNISTD_H 742# include <unistd.h> 743#endif" 744 745ac_subst_vars='am__EXEEXT_FALSE 746am__EXEEXT_TRUE 747LTLIBOBJS 748LIBOBJS 749gmpcalarm_LIBS 750gmpcalarm_CFLAGS 751PKG_CONFIG_LIBDIR 752PKG_CONFIG_PATH 753PKG_CONFIG 754MKINSTALLDIRS 755POSUB 756POFILES 757PO_IN_DATADIR_FALSE 758PO_IN_DATADIR_TRUE 759INTLLIBS 760INSTOBJEXT 761GMOFILES 762CATOBJEXT 763CATALOGS 764MSGFMT_OPTS 765GETTEXT_PACKAGE 766DATADIRNAME 767ALL_LINGUAS 768INTLTOOL_PERL 769GMSGFMT 770MSGFMT 771MSGMERGE 772XGETTEXT 773INTLTOOL_POLICY_RULE 774INTLTOOL_SERVICE_RULE 775INTLTOOL_THEME_RULE 776INTLTOOL_SCHEMAS_RULE 777INTLTOOL_CAVES_RULE 778INTLTOOL_XML_NOMERGE_RULE 779INTLTOOL_XML_RULE 780INTLTOOL_KBD_RULE 781INTLTOOL_XAM_RULE 782INTLTOOL_UI_RULE 783INTLTOOL_SOUNDLIST_RULE 784INTLTOOL_SHEET_RULE 785INTLTOOL_SERVER_RULE 786INTLTOOL_PONG_RULE 787INTLTOOL_OAF_RULE 788INTLTOOL_PROP_RULE 789INTLTOOL_KEYS_RULE 790INTLTOOL_DIRECTORY_RULE 791INTLTOOL_DESKTOP_RULE 792INTLTOOL_EXTRACT 793INTLTOOL_MERGE 794INTLTOOL_UPDATE 795USE_NLS 796CPP 797OTOOL64 798OTOOL 799LIPO 800NMEDIT 801DSYMUTIL 802lt_ECHO 803RANLIB 804AR 805OBJDUMP 806LN_S 807NM 808ac_ct_DUMPBIN 809DUMPBIN 810LD 811FGREP 812EGREP 813GREP 814SED 815host_os 816host_vendor 817host_cpu 818host 819build_os 820build_vendor 821build_cpu 822build 823LIBTOOL 824am__fastdepCC_FALSE 825am__fastdepCC_TRUE 826CCDEPMODE 827AMDEPBACKSLASH 828AMDEP_FALSE 829AMDEP_TRUE 830am__quote 831am__include 832DEPDIR 833OBJEXT 834EXEEXT 835ac_ct_CC 836CPPFLAGS 837LDFLAGS 838CFLAGS 839CC 840am__untar 841am__tar 842AMTAR 843am__leading_dot 844SET_MAKE 845AWK 846mkdir_p 847MKDIR_P 848INSTALL_STRIP_PROGRAM 849STRIP 850install_sh 851MAKEINFO 852AUTOHEADER 853AUTOMAKE 854AUTOCONF 855ACLOCAL 856VERSION 857PACKAGE 858CYGPATH_W 859am__isrc 860INSTALL_DATA 861INSTALL_SCRIPT 862INSTALL_PROGRAM 863target_alias 864host_alias 865build_alias 866LIBS 867ECHO_T 868ECHO_N 869ECHO_C 870DEFS 871mandir 872localedir 873libdir 874psdir 875pdfdir 876dvidir 877htmldir 878infodir 879docdir 880oldincludedir 881includedir 882localstatedir 883sharedstatedir 884sysconfdir 885datadir 886datarootdir 887libexecdir 888sbindir 889bindir 890program_transform_name 891prefix 892exec_prefix 893PACKAGE_URL 894PACKAGE_BUGREPORT 895PACKAGE_STRING 896PACKAGE_VERSION 897PACKAGE_TARNAME 898PACKAGE_NAME 899PATH_SEPARATOR 900SHELL' 901ac_subst_files='' 902ac_user_opts=' 903enable_option_checking 904enable_dependency_tracking 905enable_static 906enable_shared 907with_pic 908enable_fast_install 909with_gnu_ld 910enable_libtool_lock 911enable_nls 912' 913 ac_precious_vars='build_alias 914host_alias 915target_alias 916CC 917CFLAGS 918LDFLAGS 919LIBS 920CPPFLAGS 921CPP 922PKG_CONFIG 923PKG_CONFIG_PATH 924PKG_CONFIG_LIBDIR 925gmpcalarm_CFLAGS 926gmpcalarm_LIBS' 927 928 929# Initialize some variables set by options. 930ac_init_help= 931ac_init_version=false 932ac_unrecognized_opts= 933ac_unrecognized_sep= 934# The variables have the same names as the options, with 935# dashes changed to underlines. 936cache_file=/dev/null 937exec_prefix=NONE 938no_create= 939no_recursion= 940prefix=NONE 941program_prefix=NONE 942program_suffix=NONE 943program_transform_name=s,x,x, 944silent= 945site= 946srcdir= 947verbose= 948x_includes=NONE 949x_libraries=NONE 950 951# Installation directory options. 952# These are left unexpanded so users can "make install exec_prefix=/foo" 953# and all the variables that are supposed to be based on exec_prefix 954# by default will actually change. 955# Use braces instead of parens because sh, perl, etc. also accept them. 956# (The list follows the same order as the GNU Coding Standards.) 957bindir='${exec_prefix}/bin' 958sbindir='${exec_prefix}/sbin' 959libexecdir='${exec_prefix}/libexec' 960datarootdir='${prefix}/share' 961datadir='${datarootdir}' 962sysconfdir='${prefix}/etc' 963sharedstatedir='${prefix}/com' 964localstatedir='${prefix}/var' 965includedir='${prefix}/include' 966oldincludedir='/usr/include' 967docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 968infodir='${datarootdir}/info' 969htmldir='${docdir}' 970dvidir='${docdir}' 971pdfdir='${docdir}' 972psdir='${docdir}' 973libdir='${exec_prefix}/lib' 974localedir='${datarootdir}/locale' 975mandir='${datarootdir}/man' 976 977ac_prev= 978ac_dashdash= 979for ac_option 980do 981 # If the previous option needs an argument, assign it. 982 if test -n "$ac_prev"; then 983 eval $ac_prev=\$ac_option 984 ac_prev= 985 continue 986 fi 987 988 case $ac_option in 989 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 990 *=) ac_optarg= ;; 991 *) ac_optarg=yes ;; 992 esac 993 994 # Accept the important Cygnus configure options, so we can diagnose typos. 995 996 case $ac_dashdash$ac_option in 997 --) 998 ac_dashdash=yes ;; 999 1000 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1001 ac_prev=bindir ;; 1002 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1003 bindir=$ac_optarg ;; 1004 1005 -build | --build | --buil | --bui | --bu) 1006 ac_prev=build_alias ;; 1007 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1008 build_alias=$ac_optarg ;; 1009 1010 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1011 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1012 ac_prev=cache_file ;; 1013 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1014 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1015 cache_file=$ac_optarg ;; 1016 1017 --config-cache | -C) 1018 cache_file=config.cache ;; 1019 1020 -datadir | --datadir | --datadi | --datad) 1021 ac_prev=datadir ;; 1022 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1023 datadir=$ac_optarg ;; 1024 1025 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1026 | --dataroo | --dataro | --datar) 1027 ac_prev=datarootdir ;; 1028 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1029 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1030 datarootdir=$ac_optarg ;; 1031 1032 -disable-* | --disable-*) 1033 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1034 # Reject names that are not valid shell variable names. 1035 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1036 as_fn_error $? "invalid feature name: $ac_useropt" 1037 ac_useropt_orig=$ac_useropt 1038 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1039 case $ac_user_opts in 1040 *" 1041"enable_$ac_useropt" 1042"*) ;; 1043 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1044 ac_unrecognized_sep=', ';; 1045 esac 1046 eval enable_$ac_useropt=no ;; 1047 1048 -docdir | --docdir | --docdi | --doc | --do) 1049 ac_prev=docdir ;; 1050 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1051 docdir=$ac_optarg ;; 1052 1053 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1054 ac_prev=dvidir ;; 1055 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1056 dvidir=$ac_optarg ;; 1057 1058 -enable-* | --enable-*) 1059 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1060 # Reject names that are not valid shell variable names. 1061 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1062 as_fn_error $? "invalid feature name: $ac_useropt" 1063 ac_useropt_orig=$ac_useropt 1064 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1065 case $ac_user_opts in 1066 *" 1067"enable_$ac_useropt" 1068"*) ;; 1069 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1070 ac_unrecognized_sep=', ';; 1071 esac 1072 eval enable_$ac_useropt=\$ac_optarg ;; 1073 1074 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1075 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1076 | --exec | --exe | --ex) 1077 ac_prev=exec_prefix ;; 1078 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1079 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1080 | --exec=* | --exe=* | --ex=*) 1081 exec_prefix=$ac_optarg ;; 1082 1083 -gas | --gas | --ga | --g) 1084 # Obsolete; use --with-gas. 1085 with_gas=yes ;; 1086 1087 -help | --help | --hel | --he | -h) 1088 ac_init_help=long ;; 1089 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1090 ac_init_help=recursive ;; 1091 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1092 ac_init_help=short ;; 1093 1094 -host | --host | --hos | --ho) 1095 ac_prev=host_alias ;; 1096 -host=* | --host=* | --hos=* | --ho=*) 1097 host_alias=$ac_optarg ;; 1098 1099 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1100 ac_prev=htmldir ;; 1101 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1102 | --ht=*) 1103 htmldir=$ac_optarg ;; 1104 1105 -includedir | --includedir | --includedi | --included | --include \ 1106 | --includ | --inclu | --incl | --inc) 1107 ac_prev=includedir ;; 1108 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1109 | --includ=* | --inclu=* | --incl=* | --inc=*) 1110 includedir=$ac_optarg ;; 1111 1112 -infodir | --infodir | --infodi | --infod | --info | --inf) 1113 ac_prev=infodir ;; 1114 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1115 infodir=$ac_optarg ;; 1116 1117 -libdir | --libdir | --libdi | --libd) 1118 ac_prev=libdir ;; 1119 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1120 libdir=$ac_optarg ;; 1121 1122 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1123 | --libexe | --libex | --libe) 1124 ac_prev=libexecdir ;; 1125 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1126 | --libexe=* | --libex=* | --libe=*) 1127 libexecdir=$ac_optarg ;; 1128 1129 -localedir | --localedir | --localedi | --localed | --locale) 1130 ac_prev=localedir ;; 1131 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1132 localedir=$ac_optarg ;; 1133 1134 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1135 | --localstate | --localstat | --localsta | --localst | --locals) 1136 ac_prev=localstatedir ;; 1137 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1138 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1139 localstatedir=$ac_optarg ;; 1140 1141 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1142 ac_prev=mandir ;; 1143 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1144 mandir=$ac_optarg ;; 1145 1146 -nfp | --nfp | --nf) 1147 # Obsolete; use --without-fp. 1148 with_fp=no ;; 1149 1150 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1151 | --no-cr | --no-c | -n) 1152 no_create=yes ;; 1153 1154 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1155 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1156 no_recursion=yes ;; 1157 1158 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1159 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1160 | --oldin | --oldi | --old | --ol | --o) 1161 ac_prev=oldincludedir ;; 1162 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1163 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1164 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1165 oldincludedir=$ac_optarg ;; 1166 1167 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1168 ac_prev=prefix ;; 1169 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1170 prefix=$ac_optarg ;; 1171 1172 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1173 | --program-pre | --program-pr | --program-p) 1174 ac_prev=program_prefix ;; 1175 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1176 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1177 program_prefix=$ac_optarg ;; 1178 1179 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1180 | --program-suf | --program-su | --program-s) 1181 ac_prev=program_suffix ;; 1182 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1183 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1184 program_suffix=$ac_optarg ;; 1185 1186 -program-transform-name | --program-transform-name \ 1187 | --program-transform-nam | --program-transform-na \ 1188 | --program-transform-n | --program-transform- \ 1189 | --program-transform | --program-transfor \ 1190 | --program-transfo | --program-transf \ 1191 | --program-trans | --program-tran \ 1192 | --progr-tra | --program-tr | --program-t) 1193 ac_prev=program_transform_name ;; 1194 -program-transform-name=* | --program-transform-name=* \ 1195 | --program-transform-nam=* | --program-transform-na=* \ 1196 | --program-transform-n=* | --program-transform-=* \ 1197 | --program-transform=* | --program-transfor=* \ 1198 | --program-transfo=* | --program-transf=* \ 1199 | --program-trans=* | --program-tran=* \ 1200 | --progr-tra=* | --program-tr=* | --program-t=*) 1201 program_transform_name=$ac_optarg ;; 1202 1203 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1204 ac_prev=pdfdir ;; 1205 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1206 pdfdir=$ac_optarg ;; 1207 1208 -psdir | --psdir | --psdi | --psd | --ps) 1209 ac_prev=psdir ;; 1210 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1211 psdir=$ac_optarg ;; 1212 1213 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1214 | -silent | --silent | --silen | --sile | --sil) 1215 silent=yes ;; 1216 1217 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1218 ac_prev=sbindir ;; 1219 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1220 | --sbi=* | --sb=*) 1221 sbindir=$ac_optarg ;; 1222 1223 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1224 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1225 | --sharedst | --shareds | --shared | --share | --shar \ 1226 | --sha | --sh) 1227 ac_prev=sharedstatedir ;; 1228 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1229 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1230 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1231 | --sha=* | --sh=*) 1232 sharedstatedir=$ac_optarg ;; 1233 1234 -site | --site | --sit) 1235 ac_prev=site ;; 1236 -site=* | --site=* | --sit=*) 1237 site=$ac_optarg ;; 1238 1239 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1240 ac_prev=srcdir ;; 1241 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1242 srcdir=$ac_optarg ;; 1243 1244 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1245 | --syscon | --sysco | --sysc | --sys | --sy) 1246 ac_prev=sysconfdir ;; 1247 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1248 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1249 sysconfdir=$ac_optarg ;; 1250 1251 -target | --target | --targe | --targ | --tar | --ta | --t) 1252 ac_prev=target_alias ;; 1253 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1254 target_alias=$ac_optarg ;; 1255 1256 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1257 verbose=yes ;; 1258 1259 -version | --version | --versio | --versi | --vers | -V) 1260 ac_init_version=: ;; 1261 1262 -with-* | --with-*) 1263 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1264 # Reject names that are not valid shell variable names. 1265 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1266 as_fn_error $? "invalid package name: $ac_useropt" 1267 ac_useropt_orig=$ac_useropt 1268 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1269 case $ac_user_opts in 1270 *" 1271"with_$ac_useropt" 1272"*) ;; 1273 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1274 ac_unrecognized_sep=', ';; 1275 esac 1276 eval with_$ac_useropt=\$ac_optarg ;; 1277 1278 -without-* | --without-*) 1279 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1280 # Reject names that are not valid shell variable names. 1281 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1282 as_fn_error $? "invalid package name: $ac_useropt" 1283 ac_useropt_orig=$ac_useropt 1284 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1285 case $ac_user_opts in 1286 *" 1287"with_$ac_useropt" 1288"*) ;; 1289 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1290 ac_unrecognized_sep=', ';; 1291 esac 1292 eval with_$ac_useropt=no ;; 1293 1294 --x) 1295 # Obsolete; use --with-x. 1296 with_x=yes ;; 1297 1298 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1299 | --x-incl | --x-inc | --x-in | --x-i) 1300 ac_prev=x_includes ;; 1301 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1302 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1303 x_includes=$ac_optarg ;; 1304 1305 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1306 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1307 ac_prev=x_libraries ;; 1308 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1309 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1310 x_libraries=$ac_optarg ;; 1311 1312 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1313Try \`$0 --help' for more information" 1314 ;; 1315 1316 *=*) 1317 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1318 # Reject names that are not valid shell variable names. 1319 case $ac_envvar in #( 1320 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1321 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1322 esac 1323 eval $ac_envvar=\$ac_optarg 1324 export $ac_envvar ;; 1325 1326 *) 1327 # FIXME: should be removed in autoconf 3.0. 1328 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1329 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1330 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1331 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1332 ;; 1333 1334 esac 1335done 1336 1337if test -n "$ac_prev"; then 1338 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1339 as_fn_error $? "missing argument to $ac_option" 1340fi 1341 1342if test -n "$ac_unrecognized_opts"; then 1343 case $enable_option_checking in 1344 no) ;; 1345 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1346 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1347 esac 1348fi 1349 1350# Check all directory arguments for consistency. 1351for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1352 datadir sysconfdir sharedstatedir localstatedir includedir \ 1353 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1354 libdir localedir mandir 1355do 1356 eval ac_val=\$$ac_var 1357 # Remove trailing slashes. 1358 case $ac_val in 1359 */ ) 1360 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1361 eval $ac_var=\$ac_val;; 1362 esac 1363 # Be sure to have absolute directory names. 1364 case $ac_val in 1365 [\\/$]* | ?:[\\/]* ) continue;; 1366 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1367 esac 1368 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1369done 1370 1371# There might be people who depend on the old broken behavior: `$host' 1372# used to hold the argument of --host etc. 1373# FIXME: To remove some day. 1374build=$build_alias 1375host=$host_alias 1376target=$target_alias 1377 1378# FIXME: To remove some day. 1379if test "x$host_alias" != x; then 1380 if test "x$build_alias" = x; then 1381 cross_compiling=maybe 1382 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1383 If a cross compiler is detected then cross compile mode will be used" >&2 1384 elif test "x$build_alias" != "x$host_alias"; then 1385 cross_compiling=yes 1386 fi 1387fi 1388 1389ac_tool_prefix= 1390test -n "$host_alias" && ac_tool_prefix=$host_alias- 1391 1392test "$silent" = yes && exec 6>/dev/null 1393 1394 1395ac_pwd=`pwd` && test -n "$ac_pwd" && 1396ac_ls_di=`ls -di .` && 1397ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1398 as_fn_error $? "working directory cannot be determined" 1399test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1400 as_fn_error $? "pwd does not report name of working directory" 1401 1402 1403# Find the source files, if location was not specified. 1404if test -z "$srcdir"; then 1405 ac_srcdir_defaulted=yes 1406 # Try the directory containing this script, then the parent directory. 1407 ac_confdir=`$as_dirname -- "$as_myself" || 1408$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1409 X"$as_myself" : 'X\(//\)[^/]' \| \ 1410 X"$as_myself" : 'X\(//\)$' \| \ 1411 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1412$as_echo X"$as_myself" | 1413 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1414 s//\1/ 1415 q 1416 } 1417 /^X\(\/\/\)[^/].*/{ 1418 s//\1/ 1419 q 1420 } 1421 /^X\(\/\/\)$/{ 1422 s//\1/ 1423 q 1424 } 1425 /^X\(\/\).*/{ 1426 s//\1/ 1427 q 1428 } 1429 s/.*/./; q'` 1430 srcdir=$ac_confdir 1431 if test ! -r "$srcdir/$ac_unique_file"; then 1432 srcdir=.. 1433 fi 1434else 1435 ac_srcdir_defaulted=no 1436fi 1437if test ! -r "$srcdir/$ac_unique_file"; then 1438 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1439 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1440fi 1441ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1442ac_abs_confdir=`( 1443 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1444 pwd)` 1445# When building in place, set srcdir=. 1446if test "$ac_abs_confdir" = "$ac_pwd"; then 1447 srcdir=. 1448fi 1449# Remove unnecessary trailing slashes from srcdir. 1450# Double slashes in file names in object file debugging info 1451# mess up M-x gdb in Emacs. 1452case $srcdir in 1453*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1454esac 1455for ac_var in $ac_precious_vars; do 1456 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1457 eval ac_env_${ac_var}_value=\$${ac_var} 1458 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1459 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1460done 1461 1462# 1463# Report the --help message. 1464# 1465if test "$ac_init_help" = "long"; then 1466 # Omit some internal or obsolete options to make the list less imposing. 1467 # This message is too long to be a string in the A/UX 3.1 sh. 1468 cat <<_ACEOF 1469\`configure' configures gmpc-alarm 11.8.16 to adapt to many kinds of systems. 1470 1471Usage: $0 [OPTION]... [VAR=VALUE]... 1472 1473To assign environment variables (e.g., CC, CFLAGS...), specify them as 1474VAR=VALUE. See below for descriptions of some of the useful variables. 1475 1476Defaults for the options are specified in brackets. 1477 1478Configuration: 1479 -h, --help display this help and exit 1480 --help=short display options specific to this package 1481 --help=recursive display the short help of all the included packages 1482 -V, --version display version information and exit 1483 -q, --quiet, --silent do not print \`checking ...' messages 1484 --cache-file=FILE cache test results in FILE [disabled] 1485 -C, --config-cache alias for \`--cache-file=config.cache' 1486 -n, --no-create do not create output files 1487 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1488 1489Installation directories: 1490 --prefix=PREFIX install architecture-independent files in PREFIX 1491 [$ac_default_prefix] 1492 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1493 [PREFIX] 1494 1495By default, \`make install' will install all the files in 1496\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1497an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1498for instance \`--prefix=\$HOME'. 1499 1500For better control, use the options below. 1501 1502Fine tuning of the installation directories: 1503 --bindir=DIR user executables [EPREFIX/bin] 1504 --sbindir=DIR system admin executables [EPREFIX/sbin] 1505 --libexecdir=DIR program executables [EPREFIX/libexec] 1506 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1507 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1508 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1509 --libdir=DIR object code libraries [EPREFIX/lib] 1510 --includedir=DIR C header files [PREFIX/include] 1511 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1512 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1513 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1514 --infodir=DIR info documentation [DATAROOTDIR/info] 1515 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1516 --mandir=DIR man documentation [DATAROOTDIR/man] 1517 --docdir=DIR documentation root [DATAROOTDIR/doc/gmpc-alarm] 1518 --htmldir=DIR html documentation [DOCDIR] 1519 --dvidir=DIR dvi documentation [DOCDIR] 1520 --pdfdir=DIR pdf documentation [DOCDIR] 1521 --psdir=DIR ps documentation [DOCDIR] 1522_ACEOF 1523 1524 cat <<\_ACEOF 1525 1526Program names: 1527 --program-prefix=PREFIX prepend PREFIX to installed program names 1528 --program-suffix=SUFFIX append SUFFIX to installed program names 1529 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1530 1531System types: 1532 --build=BUILD configure for building on BUILD [guessed] 1533 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1534_ACEOF 1535fi 1536 1537if test -n "$ac_init_help"; then 1538 case $ac_init_help in 1539 short | recursive ) echo "Configuration of gmpc-alarm 11.8.16:";; 1540 esac 1541 cat <<\_ACEOF 1542 1543Optional Features: 1544 --disable-option-checking ignore unrecognized --enable/--with options 1545 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1546 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1547 --disable-dependency-tracking speeds up one-time build 1548 --enable-dependency-tracking do not reject slow dependency extractors 1549 --enable-static[=PKGS] build static libraries [default=no] 1550 --enable-shared[=PKGS] build shared libraries [default=yes] 1551 --enable-fast-install[=PKGS] 1552 optimize for fast installation [default=yes] 1553 --disable-libtool-lock avoid locking (might break parallel builds) 1554 --disable-nls do not use Native Language Support 1555 1556Optional Packages: 1557 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1558 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1559 --with-pic try to use only PIC/non-PIC objects [default=use 1560 both] 1561 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1562 1563Some influential environment variables: 1564 CC C compiler command 1565 CFLAGS C compiler flags 1566 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1567 nonstandard directory <lib dir> 1568 LIBS libraries to pass to the linker, e.g. -l<library> 1569 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1570 you have headers in a nonstandard directory <include dir> 1571 CPP C preprocessor 1572 PKG_CONFIG path to pkg-config utility 1573 PKG_CONFIG_PATH 1574 directories to add to pkg-config's search path 1575 PKG_CONFIG_LIBDIR 1576 path overriding pkg-config's built-in search path 1577 gmpcalarm_CFLAGS 1578 C compiler flags for gmpcalarm, overriding pkg-config 1579 gmpcalarm_LIBS 1580 linker flags for gmpcalarm, overriding pkg-config 1581 1582Use these variables to override the choices made by `configure' or to help 1583it to find libraries and programs with nonstandard names/locations. 1584 1585Report bugs to <qball@sarine.nl>. 1586_ACEOF 1587ac_status=$? 1588fi 1589 1590if test "$ac_init_help" = "recursive"; then 1591 # If there are subdirs, report their specific --help. 1592 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1593 test -d "$ac_dir" || 1594 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1595 continue 1596 ac_builddir=. 1597 1598case "$ac_dir" in 1599.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1600*) 1601 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1602 # A ".." for each directory in $ac_dir_suffix. 1603 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1604 case $ac_top_builddir_sub in 1605 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1606 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1607 esac ;; 1608esac 1609ac_abs_top_builddir=$ac_pwd 1610ac_abs_builddir=$ac_pwd$ac_dir_suffix 1611# for backward compatibility: 1612ac_top_builddir=$ac_top_build_prefix 1613 1614case $srcdir in 1615 .) # We are building in place. 1616 ac_srcdir=. 1617 ac_top_srcdir=$ac_top_builddir_sub 1618 ac_abs_top_srcdir=$ac_pwd ;; 1619 [\\/]* | ?:[\\/]* ) # Absolute name. 1620 ac_srcdir=$srcdir$ac_dir_suffix; 1621 ac_top_srcdir=$srcdir 1622 ac_abs_top_srcdir=$srcdir ;; 1623 *) # Relative name. 1624 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1625 ac_top_srcdir=$ac_top_build_prefix$srcdir 1626 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1627esac 1628ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1629 1630 cd "$ac_dir" || { ac_status=$?; continue; } 1631 # Check for guested configure. 1632 if test -f "$ac_srcdir/configure.gnu"; then 1633 echo && 1634 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1635 elif test -f "$ac_srcdir/configure"; then 1636 echo && 1637 $SHELL "$ac_srcdir/configure" --help=recursive 1638 else 1639 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1640 fi || ac_status=$? 1641 cd "$ac_pwd" || { ac_status=$?; break; } 1642 done 1643fi 1644 1645test -n "$ac_init_help" && exit $ac_status 1646if $ac_init_version; then 1647 cat <<\_ACEOF 1648gmpc-alarm configure 11.8.16 1649generated by GNU Autoconf 2.67 1650 1651Copyright (C) 2010 Free Software Foundation, Inc. 1652This configure script is free software; the Free Software Foundation 1653gives unlimited permission to copy, distribute and modify it. 1654_ACEOF 1655 exit 1656fi 1657 1658## ------------------------ ## 1659## Autoconf initialization. ## 1660## ------------------------ ## 1661 1662# ac_fn_c_try_compile LINENO 1663# -------------------------- 1664# Try to compile conftest.$ac_ext, and return whether this succeeded. 1665ac_fn_c_try_compile () 1666{ 1667 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1668 rm -f conftest.$ac_objext 1669 if { { ac_try="$ac_compile" 1670case "(($ac_try" in 1671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1672 *) ac_try_echo=$ac_try;; 1673esac 1674eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1675$as_echo "$ac_try_echo"; } >&5 1676 (eval "$ac_compile") 2>conftest.err 1677 ac_status=$? 1678 if test -s conftest.err; then 1679 grep -v '^ *+' conftest.err >conftest.er1 1680 cat conftest.er1 >&5 1681 mv -f conftest.er1 conftest.err 1682 fi 1683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1684 test $ac_status = 0; } && { 1685 test -z "$ac_c_werror_flag" || 1686 test ! -s conftest.err 1687 } && test -s conftest.$ac_objext; then : 1688 ac_retval=0 1689else 1690 $as_echo "$as_me: failed program was:" >&5 1691sed 's/^/| /' conftest.$ac_ext >&5 1692 1693 ac_retval=1 1694fi 1695 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1696 as_fn_set_status $ac_retval 1697 1698} # ac_fn_c_try_compile 1699 1700# ac_fn_c_try_link LINENO 1701# ----------------------- 1702# Try to link conftest.$ac_ext, and return whether this succeeded. 1703ac_fn_c_try_link () 1704{ 1705 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1706 rm -f conftest.$ac_objext conftest$ac_exeext 1707 if { { ac_try="$ac_link" 1708case "(($ac_try" in 1709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1710 *) ac_try_echo=$ac_try;; 1711esac 1712eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1713$as_echo "$ac_try_echo"; } >&5 1714 (eval "$ac_link") 2>conftest.err 1715 ac_status=$? 1716 if test -s conftest.err; then 1717 grep -v '^ *+' conftest.err >conftest.er1 1718 cat conftest.er1 >&5 1719 mv -f conftest.er1 conftest.err 1720 fi 1721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1722 test $ac_status = 0; } && { 1723 test -z "$ac_c_werror_flag" || 1724 test ! -s conftest.err 1725 } && test -s conftest$ac_exeext && { 1726 test "$cross_compiling" = yes || 1727 $as_test_x conftest$ac_exeext 1728 }; then : 1729 ac_retval=0 1730else 1731 $as_echo "$as_me: failed program was:" >&5 1732sed 's/^/| /' conftest.$ac_ext >&5 1733 1734 ac_retval=1 1735fi 1736 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1737 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1738 # interfere with the next link command; also delete a directory that is 1739 # left behind by Apple's compiler. We do this before executing the actions. 1740 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1741 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1742 as_fn_set_status $ac_retval 1743 1744} # ac_fn_c_try_link 1745 1746# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1747# ------------------------------------------------------- 1748# Tests whether HEADER exists and can be compiled using the include files in 1749# INCLUDES, setting the cache variable VAR accordingly. 1750ac_fn_c_check_header_compile () 1751{ 1752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1754$as_echo_n "checking for $2... " >&6; } 1755if eval "test \"\${$3+set}\"" = set; then : 1756 $as_echo_n "(cached) " >&6 1757else 1758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1759/* end confdefs.h. */ 1760$4 1761#include <$2> 1762_ACEOF 1763if ac_fn_c_try_compile "$LINENO"; then : 1764 eval "$3=yes" 1765else 1766 eval "$3=no" 1767fi 1768rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1769fi 1770eval ac_res=\$$3 1771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1772$as_echo "$ac_res" >&6; } 1773 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1774 1775} # ac_fn_c_check_header_compile 1776 1777# ac_fn_c_try_cpp LINENO 1778# ---------------------- 1779# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1780ac_fn_c_try_cpp () 1781{ 1782 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1783 if { { ac_try="$ac_cpp conftest.$ac_ext" 1784case "(($ac_try" in 1785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1786 *) ac_try_echo=$ac_try;; 1787esac 1788eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1789$as_echo "$ac_try_echo"; } >&5 1790 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1791 ac_status=$? 1792 if test -s conftest.err; then 1793 grep -v '^ *+' conftest.err >conftest.er1 1794 cat conftest.er1 >&5 1795 mv -f conftest.er1 conftest.err 1796 fi 1797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1798 test $ac_status = 0; } > conftest.i && { 1799 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1800 test ! -s conftest.err 1801 }; then : 1802 ac_retval=0 1803else 1804 $as_echo "$as_me: failed program was:" >&5 1805sed 's/^/| /' conftest.$ac_ext >&5 1806 1807 ac_retval=1 1808fi 1809 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1810 as_fn_set_status $ac_retval 1811 1812} # ac_fn_c_try_cpp 1813 1814# ac_fn_c_try_run LINENO 1815# ---------------------- 1816# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1817# that executables *can* be run. 1818ac_fn_c_try_run () 1819{ 1820 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1821 if { { ac_try="$ac_link" 1822case "(($ac_try" in 1823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1824 *) ac_try_echo=$ac_try;; 1825esac 1826eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1827$as_echo "$ac_try_echo"; } >&5 1828 (eval "$ac_link") 2>&5 1829 ac_status=$? 1830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1831 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1832 { { case "(($ac_try" in 1833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1834 *) ac_try_echo=$ac_try;; 1835esac 1836eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1837$as_echo "$ac_try_echo"; } >&5 1838 (eval "$ac_try") 2>&5 1839 ac_status=$? 1840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1841 test $ac_status = 0; }; }; then : 1842 ac_retval=0 1843else 1844 $as_echo "$as_me: program exited with status $ac_status" >&5 1845 $as_echo "$as_me: failed program was:" >&5 1846sed 's/^/| /' conftest.$ac_ext >&5 1847 1848 ac_retval=$ac_status 1849fi 1850 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1851 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1852 as_fn_set_status $ac_retval 1853 1854} # ac_fn_c_try_run 1855 1856# ac_fn_c_check_func LINENO FUNC VAR 1857# ---------------------------------- 1858# Tests whether FUNC exists, setting the cache variable VAR accordingly 1859ac_fn_c_check_func () 1860{ 1861 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1863$as_echo_n "checking for $2... " >&6; } 1864if eval "test \"\${$3+set}\"" = set; then : 1865 $as_echo_n "(cached) " >&6 1866else 1867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1868/* end confdefs.h. */ 1869/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1870 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1871#define $2 innocuous_$2 1872 1873/* System header to define __stub macros and hopefully few prototypes, 1874 which can conflict with char $2 (); below. 1875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1876 <limits.h> exists even on freestanding compilers. */ 1877 1878#ifdef __STDC__ 1879# include <limits.h> 1880#else 1881# include <assert.h> 1882#endif 1883 1884#undef $2 1885 1886/* Override any GCC internal prototype to avoid an error. 1887 Use char because int might match the return type of a GCC 1888 builtin and then its argument prototype would still apply. */ 1889#ifdef __cplusplus 1890extern "C" 1891#endif 1892char $2 (); 1893/* The GNU C library defines this for functions which it implements 1894 to always fail with ENOSYS. Some functions are actually named 1895 something starting with __ and the normal name is an alias. */ 1896#if defined __stub_$2 || defined __stub___$2 1897choke me 1898#endif 1899 1900int 1901main () 1902{ 1903return $2 (); 1904 ; 1905 return 0; 1906} 1907_ACEOF 1908if ac_fn_c_try_link "$LINENO"; then : 1909 eval "$3=yes" 1910else 1911 eval "$3=no" 1912fi 1913rm -f core conftest.err conftest.$ac_objext \ 1914 conftest$ac_exeext conftest.$ac_ext 1915fi 1916eval ac_res=\$$3 1917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1918$as_echo "$ac_res" >&6; } 1919 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1920 1921} # ac_fn_c_check_func 1922 1923# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1924# ------------------------------------------------------- 1925# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1926# the include files in INCLUDES and setting the cache variable VAR 1927# accordingly. 1928ac_fn_c_check_header_mongrel () 1929{ 1930 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1931 if eval "test \"\${$3+set}\"" = set; then : 1932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1933$as_echo_n "checking for $2... " >&6; } 1934if eval "test \"\${$3+set}\"" = set; then : 1935 $as_echo_n "(cached) " >&6 1936fi 1937eval ac_res=\$$3 1938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1939$as_echo "$ac_res" >&6; } 1940else 1941 # Is the header compilable? 1942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1943$as_echo_n "checking $2 usability... " >&6; } 1944cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1945/* end confdefs.h. */ 1946$4 1947#include <$2> 1948_ACEOF 1949if ac_fn_c_try_compile "$LINENO"; then : 1950 ac_header_compiler=yes 1951else 1952 ac_header_compiler=no 1953fi 1954rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1955{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1956$as_echo "$ac_header_compiler" >&6; } 1957 1958# Is the header present? 1959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1960$as_echo_n "checking $2 presence... " >&6; } 1961cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1962/* end confdefs.h. */ 1963#include <$2> 1964_ACEOF 1965if ac_fn_c_try_cpp "$LINENO"; then : 1966 ac_header_preproc=yes 1967else 1968 ac_header_preproc=no 1969fi 1970rm -f conftest.err conftest.i conftest.$ac_ext 1971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1972$as_echo "$ac_header_preproc" >&6; } 1973 1974# So? What about this header? 1975case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1976 yes:no: ) 1977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1978$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1980$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1981 ;; 1982 no:yes:* ) 1983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1984$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1986$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1988$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1990$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1992$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1993( $as_echo "## ------------------------------ ## 1994## Report this to qball@sarine.nl ## 1995## ------------------------------ ##" 1996 ) | sed "s/^/$as_me: WARNING: /" >&2 1997 ;; 1998esac 1999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2000$as_echo_n "checking for $2... " >&6; } 2001if eval "test \"\${$3+set}\"" = set; then : 2002 $as_echo_n "(cached) " >&6 2003else 2004 eval "$3=\$ac_header_compiler" 2005fi 2006eval ac_res=\$$3 2007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2008$as_echo "$ac_res" >&6; } 2009fi 2010 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2011 2012} # ac_fn_c_check_header_mongrel 2013cat >config.log <<_ACEOF 2014This file contains any messages produced by compilers while 2015running configure, to aid debugging if configure makes a mistake. 2016 2017It was created by gmpc-alarm $as_me 11.8.16, which was 2018generated by GNU Autoconf 2.67. Invocation command line was 2019 2020 $ $0 $@ 2021 2022_ACEOF 2023exec 5>>config.log 2024{ 2025cat <<_ASUNAME 2026## --------- ## 2027## Platform. ## 2028## --------- ## 2029 2030hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2031uname -m = `(uname -m) 2>/dev/null || echo unknown` 2032uname -r = `(uname -r) 2>/dev/null || echo unknown` 2033uname -s = `(uname -s) 2>/dev/null || echo unknown` 2034uname -v = `(uname -v) 2>/dev/null || echo unknown` 2035 2036/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2037/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2038 2039/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2040/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2041/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2042/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2043/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2044/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2045/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2046 2047_ASUNAME 2048 2049as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2050for as_dir in $PATH 2051do 2052 IFS=$as_save_IFS 2053 test -z "$as_dir" && as_dir=. 2054 $as_echo "PATH: $as_dir" 2055 done 2056IFS=$as_save_IFS 2057 2058} >&5 2059 2060cat >&5 <<_ACEOF 2061 2062 2063## ----------- ## 2064## Core tests. ## 2065## ----------- ## 2066 2067_ACEOF 2068 2069 2070# Keep a trace of the command line. 2071# Strip out --no-create and --no-recursion so they do not pile up. 2072# Strip out --silent because we don't want to record it for future runs. 2073# Also quote any args containing shell meta-characters. 2074# Make two passes to allow for proper duplicate-argument suppression. 2075ac_configure_args= 2076ac_configure_args0= 2077ac_configure_args1= 2078ac_must_keep_next=false 2079for ac_pass in 1 2 2080do 2081 for ac_arg 2082 do 2083 case $ac_arg in 2084 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2085 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2086 | -silent | --silent | --silen | --sile | --sil) 2087 continue ;; 2088 *\'*) 2089 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2090 esac 2091 case $ac_pass in 2092 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2093 2) 2094 as_fn_append ac_configure_args1 " '$ac_arg'" 2095 if test $ac_must_keep_next = true; then 2096 ac_must_keep_next=false # Got value, back to normal. 2097 else 2098 case $ac_arg in 2099 *=* | --config-cache | -C | -disable-* | --disable-* \ 2100 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2101 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2102 | -with-* | --with-* | -without-* | --without-* | --x) 2103 case "$ac_configure_args0 " in 2104 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2105 esac 2106 ;; 2107 -* ) ac_must_keep_next=true ;; 2108 esac 2109 fi 2110 as_fn_append ac_configure_args " '$ac_arg'" 2111 ;; 2112 esac 2113 done 2114done 2115{ ac_configure_args0=; unset ac_configure_args0;} 2116{ ac_configure_args1=; unset ac_configure_args1;} 2117 2118# When interrupted or exit'd, cleanup temporary files, and complete 2119# config.log. We remove comments because anyway the quotes in there 2120# would cause problems or look ugly. 2121# WARNING: Use '\'' to represent an apostrophe within the trap. 2122# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2123trap 'exit_status=$? 2124 # Save into config.log some information that might help in debugging. 2125 { 2126 echo 2127 2128 $as_echo "## ---------------- ## 2129## Cache variables. ## 2130## ---------------- ##" 2131 echo 2132 # The following way of writing the cache mishandles newlines in values, 2133( 2134 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2135 eval ac_val=\$$ac_var 2136 case $ac_val in #( 2137 *${as_nl}*) 2138 case $ac_var in #( 2139 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2140$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2141 esac 2142 case $ac_var in #( 2143 _ | IFS | as_nl) ;; #( 2144 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2145 *) { eval $ac_var=; unset $ac_var;} ;; 2146 esac ;; 2147 esac 2148 done 2149 (set) 2>&1 | 2150 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2151 *${as_nl}ac_space=\ *) 2152 sed -n \ 2153 "s/'\''/'\''\\\\'\'''\''/g; 2154 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2155 ;; #( 2156 *) 2157 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2158 ;; 2159 esac | 2160 sort 2161) 2162 echo 2163 2164 $as_echo "## ----------------- ## 2165## Output variables. ## 2166## ----------------- ##" 2167 echo 2168 for ac_var in $ac_subst_vars 2169 do 2170 eval ac_val=\$$ac_var 2171 case $ac_val in 2172 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2173 esac 2174 $as_echo "$ac_var='\''$ac_val'\''" 2175 done | sort 2176 echo 2177 2178 if test -n "$ac_subst_files"; then 2179 $as_echo "## ------------------- ## 2180## File substitutions. ## 2181## ------------------- ##" 2182 echo 2183 for ac_var in $ac_subst_files 2184 do 2185 eval ac_val=\$$ac_var 2186 case $ac_val in 2187 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2188 esac 2189 $as_echo "$ac_var='\''$ac_val'\''" 2190 done | sort 2191 echo 2192 fi 2193 2194 if test -s confdefs.h; then 2195 $as_echo "## ----------- ## 2196## confdefs.h. ## 2197## ----------- ##" 2198 echo 2199 cat confdefs.h 2200 echo 2201 fi 2202 test "$ac_signal" != 0 && 2203 $as_echo "$as_me: caught signal $ac_signal" 2204 $as_echo "$as_me: exit $exit_status" 2205 } >&5 2206 rm -f core *.core core.conftest.* && 2207 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2208 exit $exit_status 2209' 0 2210for ac_signal in 1 2 13 15; do 2211 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2212done 2213ac_signal=0 2214 2215# confdefs.h avoids OS command line length limits that DEFS can exceed. 2216rm -f -r conftest* confdefs.h 2217 2218$as_echo "/* confdefs.h */" > confdefs.h 2219 2220# Predefined preprocessor variables. 2221 2222cat >>confdefs.h <<_ACEOF 2223#define PACKAGE_NAME "$PACKAGE_NAME" 2224_ACEOF 2225 2226cat >>confdefs.h <<_ACEOF 2227#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2228_ACEOF 2229 2230cat >>confdefs.h <<_ACEOF 2231#define PACKAGE_VERSION "$PACKAGE_VERSION" 2232_ACEOF 2233 2234cat >>confdefs.h <<_ACEOF 2235#define PACKAGE_STRING "$PACKAGE_STRING" 2236_ACEOF 2237 2238cat >>confdefs.h <<_ACEOF 2239#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2240_ACEOF 2241 2242cat >>confdefs.h <<_ACEOF 2243#define PACKAGE_URL "$PACKAGE_URL" 2244_ACEOF 2245 2246 2247# Let the site file select an alternate cache file if it wants to. 2248# Prefer an explicitly selected file to automatically selected ones. 2249ac_site_file1=NONE 2250ac_site_file2=NONE 2251if test -n "$CONFIG_SITE"; then 2252 # We do not want a PATH search for config.site. 2253 case $CONFIG_SITE in #(( 2254 -*) ac_site_file1=./$CONFIG_SITE;; 2255 */*) ac_site_file1=$CONFIG_SITE;; 2256 *) ac_site_file1=./$CONFIG_SITE;; 2257 esac 2258elif test "x$prefix" != xNONE; then 2259 ac_site_file1=$prefix/share/config.site 2260 ac_site_file2=$prefix/etc/config.site 2261else 2262 ac_site_file1=$ac_default_prefix/share/config.site 2263 ac_site_file2=$ac_default_prefix/etc/config.site 2264fi 2265for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2266do 2267 test "x$ac_site_file" = xNONE && continue 2268 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2269 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2270$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2271 sed 's/^/| /' "$ac_site_file" >&5 2272 . "$ac_site_file" \ 2273 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2274$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2275as_fn_error $? "failed to load site script $ac_site_file 2276See \`config.log' for more details" "$LINENO" 5 ; } 2277 fi 2278done 2279 2280if test -r "$cache_file"; then 2281 # Some versions of bash will fail to source /dev/null (special files 2282 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2283 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2284 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2285$as_echo "$as_me: loading cache $cache_file" >&6;} 2286 case $cache_file in 2287 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2288 *) . "./$cache_file";; 2289 esac 2290 fi 2291else 2292 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2293$as_echo "$as_me: creating cache $cache_file" >&6;} 2294 >$cache_file 2295fi 2296 2297# Check that the precious variables saved in the cache have kept the same 2298# value. 2299ac_cache_corrupted=false 2300for ac_var in $ac_precious_vars; do 2301 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2302 eval ac_new_set=\$ac_env_${ac_var}_set 2303 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2304 eval ac_new_val=\$ac_env_${ac_var}_value 2305 case $ac_old_set,$ac_new_set in 2306 set,) 2307 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2308$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2309 ac_cache_corrupted=: ;; 2310 ,set) 2311 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2312$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2313 ac_cache_corrupted=: ;; 2314 ,);; 2315 *) 2316 if test "x$ac_old_val" != "x$ac_new_val"; then 2317 # differences in whitespace do not lead to failure. 2318 ac_old_val_w=`echo x $ac_old_val` 2319 ac_new_val_w=`echo x $ac_new_val` 2320 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2321 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2322$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2323 ac_cache_corrupted=: 2324 else 2325 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2326$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2327 eval $ac_var=\$ac_old_val 2328 fi 2329 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2330$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2331 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2332$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2333 fi;; 2334 esac 2335 # Pass precious variables to config.status. 2336 if test "$ac_new_set" = set; then 2337 case $ac_new_val in 2338 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2339 *) ac_arg=$ac_var=$ac_new_val ;; 2340 esac 2341 case " $ac_configure_args " in 2342 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2343 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2344 esac 2345 fi 2346done 2347if $ac_cache_corrupted; then 2348 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2349$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2350 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2351$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2352 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2353fi 2354## -------------------- ## 2355## Main body of script. ## 2356## -------------------- ## 2357 2358ac_ext=c 2359ac_cpp='$CPP $CPPFLAGS' 2360ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2361ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2362ac_compiler_gnu=$ac_cv_c_compiler_gnu 2363 2364 2365 2366 2367 2368 2369 2370 2371ac_aux_dir= 2372for ac_dir in . "$srcdir"/.; do 2373 if test -f "$ac_dir/install-sh"; then 2374 ac_aux_dir=$ac_dir 2375 ac_install_sh="$ac_aux_dir/install-sh -c" 2376 break 2377 elif test -f "$ac_dir/install.sh"; then 2378 ac_aux_dir=$ac_dir 2379 ac_install_sh="$ac_aux_dir/install.sh -c" 2380 break 2381 elif test -f "$ac_dir/shtool"; then 2382 ac_aux_dir=$ac_dir 2383 ac_install_sh="$ac_aux_dir/shtool install -c" 2384 break 2385 fi 2386done 2387if test -z "$ac_aux_dir"; then 2388 as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5 2389fi 2390 2391# These three variables are undocumented and unsupported, 2392# and are intended to be withdrawn in a future Autoconf release. 2393# They can cause serious problems if a builder's source tree is in a directory 2394# whose full name contains unusual characters. 2395ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2396ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2397ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2398 2399 2400 2401ac_config_headers="$ac_config_headers config.h" 2402 2403am__api_version='1.11' 2404 2405# Find a good install program. We prefer a C program (faster), 2406# so one script is as good as another. But avoid the broken or 2407# incompatible versions: 2408# SysV /etc/install, /usr/sbin/install 2409# SunOS /usr/etc/install 2410# IRIX /sbin/install 2411# AIX /bin/install 2412# AmigaOS /C/install, which installs bootblocks on floppy discs 2413# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2414# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2415# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2416# OS/2's system install, which has a completely different semantic 2417# ./install, which can be erroneously created by make from ./install.sh. 2418# Reject install programs that cannot install multiple files. 2419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2420$as_echo_n "checking for a BSD-compatible install... " >&6; } 2421if test -z "$INSTALL"; then 2422if test "${ac_cv_path_install+set}" = set; then : 2423 $as_echo_n "(cached) " >&6 2424else 2425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2426for as_dir in $PATH 2427do 2428 IFS=$as_save_IFS 2429 test -z "$as_dir" && as_dir=. 2430 # Account for people who put trailing slashes in PATH elements. 2431case $as_dir/ in #(( 2432 ./ | .// | /[cC]/* | \ 2433 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2434 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2435 /usr/ucb/* ) ;; 2436 *) 2437 # OSF1 and SCO ODT 3.0 have their own names for install. 2438 # Don't use installbsd from OSF since it installs stuff as root 2439 # by default. 2440 for ac_prog in ginstall scoinst install; do 2441 for ac_exec_ext in '' $ac_executable_extensions; do 2442 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2443 if test $ac_prog = install && 2444 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2445 # AIX install. It has an incompatible calling convention. 2446 : 2447 elif test $ac_prog = install && 2448 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2449 # program-specific install script used by HP pwplus--don't use. 2450 : 2451 else 2452 rm -rf conftest.one conftest.two conftest.dir 2453 echo one > conftest.one 2454 echo two > conftest.two 2455 mkdir conftest.dir 2456 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2457 test -s conftest.one && test -s conftest.two && 2458 test -s conftest.dir/conftest.one && 2459 test -s conftest.dir/conftest.two 2460 then 2461 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2462 break 3 2463 fi 2464 fi 2465 fi 2466 done 2467 done 2468 ;; 2469esac 2470 2471 done 2472IFS=$as_save_IFS 2473 2474rm -rf conftest.one conftest.two conftest.dir 2475 2476fi 2477 if test "${ac_cv_path_install+set}" = set; then 2478 INSTALL=$ac_cv_path_install 2479 else 2480 # As a last resort, use the slow shell script. Don't cache a 2481 # value for INSTALL within a source directory, because that will 2482 # break other packages using the cache if that directory is 2483 # removed, or if the value is a relative name. 2484 INSTALL=$ac_install_sh 2485 fi 2486fi 2487{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2488$as_echo "$INSTALL" >&6; } 2489 2490# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2491# It thinks the first close brace ends the variable substitution. 2492test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2493 2494test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2495 2496test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2497 2498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2499$as_echo_n "checking whether build environment is sane... " >&6; } 2500# Just in case 2501sleep 1 2502echo timestamp > conftest.file 2503# Reject unsafe characters in $srcdir or the absolute working directory 2504# name. Accept space and tab only in the latter. 2505am_lf=' 2506' 2507case `pwd` in 2508 *[\\\"\#\$\&\'\`$am_lf]*) 2509 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;; 2510esac 2511case $srcdir in 2512 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2513 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;; 2514esac 2515 2516# Do `set' in a subshell so we don't clobber the current shell's 2517# arguments. Must try -L first in case configure is actually a 2518# symlink; some systems play weird games with the mod time of symlinks 2519# (eg FreeBSD returns the mod time of the symlink's containing 2520# directory). 2521if ( 2522 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2523 if test "$*" = "X"; then 2524 # -L didn't work. 2525 set X `ls -t "$srcdir/configure" conftest.file` 2526 fi 2527 rm -f conftest.file 2528 if test "$*" != "X $srcdir/configure conftest.file" \ 2529 && test "$*" != "X conftest.file $srcdir/configure"; then 2530 2531 # If neither matched, then we have a broken ls. This can happen 2532 # if, for instance, CONFIG_SHELL is bash and it inherits a 2533 # broken ls alias from the environment. This has actually 2534 # happened. Such a system could not be considered "sane". 2535 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2536alias in your environment" "$LINENO" 5 2537 fi 2538 2539 test "$2" = conftest.file 2540 ) 2541then 2542 # Ok. 2543 : 2544else 2545 as_fn_error $? "newly created file is older than distributed files! 2546Check your system clock" "$LINENO" 5 2547fi 2548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2549$as_echo "yes" >&6; } 2550test "$program_prefix" != NONE && 2551 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2552# Use a double $ so make ignores it. 2553test "$program_suffix" != NONE && 2554 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2555# Double any \ or $. 2556# By default was `s,x,x', remove it if useless. 2557ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2558program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2559 2560# expand $ac_aux_dir to an absolute path 2561am_aux_dir=`cd $ac_aux_dir && pwd` 2562 2563if test x"${MISSING+set}" != xset; then 2564 case $am_aux_dir in 2565 *\ * | *\ *) 2566 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2567 *) 2568 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2569 esac 2570fi 2571# Use eval to expand $SHELL 2572if eval "$MISSING --run true"; then 2573 am_missing_run="$MISSING --run " 2574else 2575 am_missing_run= 2576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2577$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2578fi 2579 2580if test x"${install_sh}" != xset; then 2581 case $am_aux_dir in 2582 *\ * | *\ *) 2583 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2584 *) 2585 install_sh="\${SHELL} $am_aux_dir/install-sh" 2586 esac 2587fi 2588 2589# Installed binaries are usually stripped using `strip' when the user 2590# run `make install-strip'. However `strip' might not be the right 2591# tool to use in cross-compilation environments, therefore Automake 2592# will honor the `STRIP' environment variable to overrule this program. 2593if test "$cross_compiling" != no; then 2594 if test -n "$ac_tool_prefix"; then 2595 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2596set dummy ${ac_tool_prefix}strip; ac_word=$2 2597{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2598$as_echo_n "checking for $ac_word... " >&6; } 2599if test "${ac_cv_prog_STRIP+set}" = set; then : 2600 $as_echo_n "(cached) " >&6 2601else 2602 if test -n "$STRIP"; then 2603 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2604else 2605as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2606for as_dir in $PATH 2607do 2608 IFS=$as_save_IFS 2609 test -z "$as_dir" && as_dir=. 2610 for ac_exec_ext in '' $ac_executable_extensions; do 2611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2612 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2614 break 2 2615 fi 2616done 2617 done 2618IFS=$as_save_IFS 2619 2620fi 2621fi 2622STRIP=$ac_cv_prog_STRIP 2623if test -n "$STRIP"; then 2624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2625$as_echo "$STRIP" >&6; } 2626else 2627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2628$as_echo "no" >&6; } 2629fi 2630 2631 2632fi 2633if test -z "$ac_cv_prog_STRIP"; then 2634 ac_ct_STRIP=$STRIP 2635 # Extract the first word of "strip", so it can be a program name with args. 2636set dummy strip; ac_word=$2 2637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2638$as_echo_n "checking for $ac_word... " >&6; } 2639if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 2640 $as_echo_n "(cached) " >&6 2641else 2642 if test -n "$ac_ct_STRIP"; then 2643 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2644else 2645as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2646for as_dir in $PATH 2647do 2648 IFS=$as_save_IFS 2649 test -z "$as_dir" && as_dir=. 2650 for ac_exec_ext in '' $ac_executable_extensions; do 2651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2652 ac_cv_prog_ac_ct_STRIP="strip" 2653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2654 break 2 2655 fi 2656done 2657 done 2658IFS=$as_save_IFS 2659 2660fi 2661fi 2662ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2663if test -n "$ac_ct_STRIP"; then 2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2665$as_echo "$ac_ct_STRIP" >&6; } 2666else 2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2668$as_echo "no" >&6; } 2669fi 2670 2671 if test "x$ac_ct_STRIP" = x; then 2672 STRIP=":" 2673 else 2674 case $cross_compiling:$ac_tool_warned in 2675yes:) 2676{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2677$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2678ac_tool_warned=yes ;; 2679esac 2680 STRIP=$ac_ct_STRIP 2681 fi 2682else 2683 STRIP="$ac_cv_prog_STRIP" 2684fi 2685 2686fi 2687INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2688 2689{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2690$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2691if test -z "$MKDIR_P"; then 2692 if test "${ac_cv_path_mkdir+set}" = set; then : 2693 $as_echo_n "(cached) " >&6 2694else 2695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2696for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2697do 2698 IFS=$as_save_IFS 2699 test -z "$as_dir" && as_dir=. 2700 for ac_prog in mkdir gmkdir; do 2701 for ac_exec_ext in '' $ac_executable_extensions; do 2702 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2703 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2704 'mkdir (GNU coreutils) '* | \ 2705 'mkdir (coreutils) '* | \ 2706 'mkdir (fileutils) '4.1*) 2707 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2708 break 3;; 2709 esac 2710 done 2711 done 2712 done 2713IFS=$as_save_IFS 2714 2715fi 2716 2717 test -d ./--version && rmdir ./--version 2718 if test "${ac_cv_path_mkdir+set}" = set; then 2719 MKDIR_P="$ac_cv_path_mkdir -p" 2720 else 2721 # As a last resort, use the slow shell script. Don't cache a 2722 # value for MKDIR_P within a source directory, because that will 2723 # break other packages using the cache if that directory is 2724 # removed, or if the value is a relative name. 2725 MKDIR_P="$ac_install_sh -d" 2726 fi 2727fi 2728{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2729$as_echo "$MKDIR_P" >&6; } 2730 2731mkdir_p="$MKDIR_P" 2732case $mkdir_p in 2733 [\\/$]* | ?:[\\/]*) ;; 2734 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2735esac 2736 2737for ac_prog in gawk mawk nawk awk 2738do 2739 # Extract the first word of "$ac_prog", so it can be a program name with args. 2740set dummy $ac_prog; ac_word=$2 2741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2742$as_echo_n "checking for $ac_word... " >&6; } 2743if test "${ac_cv_prog_AWK+set}" = set; then : 2744 $as_echo_n "(cached) " >&6 2745else 2746 if test -n "$AWK"; then 2747 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2748else 2749as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2750for as_dir in $PATH 2751do 2752 IFS=$as_save_IFS 2753 test -z "$as_dir" && as_dir=. 2754 for ac_exec_ext in '' $ac_executable_extensions; do 2755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2756 ac_cv_prog_AWK="$ac_prog" 2757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2758 break 2 2759 fi 2760done 2761 done 2762IFS=$as_save_IFS 2763 2764fi 2765fi 2766AWK=$ac_cv_prog_AWK 2767if test -n "$AWK"; then 2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2769$as_echo "$AWK" >&6; } 2770else 2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2772$as_echo "no" >&6; } 2773fi 2774 2775 2776 test -n "$AWK" && break 2777done 2778 2779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2780$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2781set x ${MAKE-make} 2782ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2783if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 2784 $as_echo_n "(cached) " >&6 2785else 2786 cat >conftest.make <<\_ACEOF 2787SHELL = /bin/sh 2788all: 2789 @echo '@@@%%%=$(MAKE)=@@@%%%' 2790_ACEOF 2791# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2792case `${MAKE-make} -f conftest.make 2>/dev/null` in 2793 *@@@%%%=?*=@@@%%%*) 2794 eval ac_cv_prog_make_${ac_make}_set=yes;; 2795 *) 2796 eval ac_cv_prog_make_${ac_make}_set=no;; 2797esac 2798rm -f conftest.make 2799fi 2800if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2802$as_echo "yes" >&6; } 2803 SET_MAKE= 2804else 2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2806$as_echo "no" >&6; } 2807 SET_MAKE="MAKE=${MAKE-make}" 2808fi 2809 2810rm -rf .tst 2>/dev/null 2811mkdir .tst 2>/dev/null 2812if test -d .tst; then 2813 am__leading_dot=. 2814else 2815 am__leading_dot=_ 2816fi 2817rmdir .tst 2>/dev/null 2818 2819if test "`cd $srcdir && pwd`" != "`pwd`"; then 2820 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2821 # is not polluted with repeated "-I." 2822 am__isrc=' -I$(srcdir)' 2823 # test to see if srcdir already configured 2824 if test -f $srcdir/config.status; then 2825 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2826 fi 2827fi 2828 2829# test whether we have cygpath 2830if test -z "$CYGPATH_W"; then 2831 if (cygpath --version) >/dev/null 2>/dev/null; then 2832 CYGPATH_W='cygpath -w' 2833 else 2834 CYGPATH_W=echo 2835 fi 2836fi 2837 2838 2839# Define the identity of the package. 2840 PACKAGE='gmpc-alarm' 2841 VERSION='11.8.16' 2842 2843 2844cat >>confdefs.h <<_ACEOF 2845#define PACKAGE "$PACKAGE" 2846_ACEOF 2847 2848 2849cat >>confdefs.h <<_ACEOF 2850#define VERSION "$VERSION" 2851_ACEOF 2852 2853# Some tools Automake needs. 2854 2855ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2856 2857 2858AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2859 2860 2861AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2862 2863 2864AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2865 2866 2867MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2868 2869# We need awk for the "check" target. The system "awk" is bad on 2870# some platforms. 2871# Always define AMTAR for backward compatibility. 2872 2873AMTAR=${AMTAR-"${am_missing_run}tar"} 2874 2875am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2876 2877 2878 2879 2880 2881 2882 2883$as_echo "#define PLUGIN_MAJOR_VERSION 11" >>confdefs.h 2884 2885 2886$as_echo "#define PLUGIN_MINOR_VERSION 8" >>confdefs.h 2887 2888 2889$as_echo "#define PLUGIN_MICRO_VERSION 16" >>confdefs.h 2890 2891 2892ac_ext=c 2893ac_cpp='$CPP $CPPFLAGS' 2894ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2895ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2896ac_compiler_gnu=$ac_cv_c_compiler_gnu 2897if test -n "$ac_tool_prefix"; then 2898 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2899set dummy ${ac_tool_prefix}gcc; ac_word=$2 2900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2901$as_echo_n "checking for $ac_word... " >&6; } 2902if test "${ac_cv_prog_CC+set}" = set; then : 2903 $as_echo_n "(cached) " >&6 2904else 2905 if test -n "$CC"; then 2906 ac_cv_prog_CC="$CC" # Let the user override the test. 2907else 2908as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2909for as_dir in $PATH 2910do 2911 IFS=$as_save_IFS 2912 test -z "$as_dir" && as_dir=. 2913 for ac_exec_ext in '' $ac_executable_extensions; do 2914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2915 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2917 break 2 2918 fi 2919done 2920 done 2921IFS=$as_save_IFS 2922 2923fi 2924fi 2925CC=$ac_cv_prog_CC 2926if test -n "$CC"; then 2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2928$as_echo "$CC" >&6; } 2929else 2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2931$as_echo "no" >&6; } 2932fi 2933 2934 2935fi 2936if test -z "$ac_cv_prog_CC"; then 2937 ac_ct_CC=$CC 2938 # Extract the first word of "gcc", so it can be a program name with args. 2939set dummy gcc; ac_word=$2 2940{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2941$as_echo_n "checking for $ac_word... " >&6; } 2942if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2943 $as_echo_n "(cached) " >&6 2944else 2945 if test -n "$ac_ct_CC"; then 2946 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2947else 2948as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2949for as_dir in $PATH 2950do 2951 IFS=$as_save_IFS 2952 test -z "$as_dir" && as_dir=. 2953 for ac_exec_ext in '' $ac_executable_extensions; do 2954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2955 ac_cv_prog_ac_ct_CC="gcc" 2956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2957 break 2 2958 fi 2959done 2960 done 2961IFS=$as_save_IFS 2962 2963fi 2964fi 2965ac_ct_CC=$ac_cv_prog_ac_ct_CC 2966if test -n "$ac_ct_CC"; then 2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2968$as_echo "$ac_ct_CC" >&6; } 2969else 2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2971$as_echo "no" >&6; } 2972fi 2973 2974 if test "x$ac_ct_CC" = x; then 2975 CC="" 2976 else 2977 case $cross_compiling:$ac_tool_warned in 2978yes:) 2979{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2980$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2981ac_tool_warned=yes ;; 2982esac 2983 CC=$ac_ct_CC 2984 fi 2985else 2986 CC="$ac_cv_prog_CC" 2987fi 2988 2989if test -z "$CC"; then 2990 if test -n "$ac_tool_prefix"; then 2991 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2992set dummy ${ac_tool_prefix}cc; ac_word=$2 2993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2994$as_echo_n "checking for $ac_word... " >&6; } 2995if test "${ac_cv_prog_CC+set}" = set; then : 2996 $as_echo_n "(cached) " >&6 2997else 2998 if test -n "$CC"; then 2999 ac_cv_prog_CC="$CC" # Let the user override the test. 3000else 3001as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3002for as_dir in $PATH 3003do 3004 IFS=$as_save_IFS 3005 test -z "$as_dir" && as_dir=. 3006 for ac_exec_ext in '' $ac_executable_extensions; do 3007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3008 ac_cv_prog_CC="${ac_tool_prefix}cc" 3009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3010 break 2 3011 fi 3012done 3013 done 3014IFS=$as_save_IFS 3015 3016fi 3017fi 3018CC=$ac_cv_prog_CC 3019if test -n "$CC"; then 3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3021$as_echo "$CC" >&6; } 3022else 3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3024$as_echo "no" >&6; } 3025fi 3026 3027 3028 fi 3029fi 3030if test -z "$CC"; then 3031 # Extract the first word of "cc", so it can be a program name with args. 3032set dummy cc; ac_word=$2 3033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3034$as_echo_n "checking for $ac_word... " >&6; } 3035if test "${ac_cv_prog_CC+set}" = set; then : 3036 $as_echo_n "(cached) " >&6 3037else 3038 if test -n "$CC"; then 3039 ac_cv_prog_CC="$CC" # Let the user override the test. 3040else 3041 ac_prog_rejected=no 3042as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3043for as_dir in $PATH 3044do 3045 IFS=$as_save_IFS 3046 test -z "$as_dir" && as_dir=. 3047 for ac_exec_ext in '' $ac_executable_extensions; do 3048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3049 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3050 ac_prog_rejected=yes 3051 continue 3052 fi 3053 ac_cv_prog_CC="cc" 3054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3055 break 2 3056 fi 3057done 3058 done 3059IFS=$as_save_IFS 3060 3061if test $ac_prog_rejected = yes; then 3062 # We found a bogon in the path, so make sure we never use it. 3063 set dummy $ac_cv_prog_CC 3064 shift 3065 if test $# != 0; then 3066 # We chose a different compiler from the bogus one. 3067 # However, it has the same basename, so the bogon will be chosen 3068 # first if we set CC to just the basename; use the full file name. 3069 shift 3070 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3071 fi 3072fi 3073fi 3074fi 3075CC=$ac_cv_prog_CC 3076if test -n "$CC"; then 3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3078$as_echo "$CC" >&6; } 3079else 3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3081$as_echo "no" >&6; } 3082fi 3083 3084 3085fi 3086if test -z "$CC"; then 3087 if test -n "$ac_tool_prefix"; then 3088 for ac_prog in cl.exe 3089 do 3090 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3091set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3092{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3093$as_echo_n "checking for $ac_word... " >&6; } 3094if test "${ac_cv_prog_CC+set}" = set; then : 3095 $as_echo_n "(cached) " >&6 3096else 3097 if test -n "$CC"; then 3098 ac_cv_prog_CC="$CC" # Let the user override the test. 3099else 3100as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3101for as_dir in $PATH 3102do 3103 IFS=$as_save_IFS 3104 test -z "$as_dir" && as_dir=. 3105 for ac_exec_ext in '' $ac_executable_extensions; do 3106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3107 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3109 break 2 3110 fi 3111done 3112 done 3113IFS=$as_save_IFS 3114 3115fi 3116fi 3117CC=$ac_cv_prog_CC 3118if test -n "$CC"; then 3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3120$as_echo "$CC" >&6; } 3121else 3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3123$as_echo "no" >&6; } 3124fi 3125 3126 3127 test -n "$CC" && break 3128 done 3129fi 3130if test -z "$CC"; then 3131 ac_ct_CC=$CC 3132 for ac_prog in cl.exe 3133do 3134 # Extract the first word of "$ac_prog", so it can be a program name with args. 3135set dummy $ac_prog; ac_word=$2 3136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3137$as_echo_n "checking for $ac_word... " >&6; } 3138if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3139 $as_echo_n "(cached) " >&6 3140else 3141 if test -n "$ac_ct_CC"; then 3142 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3143else 3144as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3145for as_dir in $PATH 3146do 3147 IFS=$as_save_IFS 3148 test -z "$as_dir" && as_dir=. 3149 for ac_exec_ext in '' $ac_executable_extensions; do 3150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3151 ac_cv_prog_ac_ct_CC="$ac_prog" 3152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3153 break 2 3154 fi 3155done 3156 done 3157IFS=$as_save_IFS 3158 3159fi 3160fi 3161ac_ct_CC=$ac_cv_prog_ac_ct_CC 3162if test -n "$ac_ct_CC"; then 3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3164$as_echo "$ac_ct_CC" >&6; } 3165else 3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3167$as_echo "no" >&6; } 3168fi 3169 3170 3171 test -n "$ac_ct_CC" && break 3172done 3173 3174 if test "x$ac_ct_CC" = x; then 3175 CC="" 3176 else 3177 case $cross_compiling:$ac_tool_warned in 3178yes:) 3179{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3180$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3181ac_tool_warned=yes ;; 3182esac 3183 CC=$ac_ct_CC 3184 fi 3185fi 3186 3187fi 3188 3189 3190test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3191$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3192as_fn_error $? "no acceptable C compiler found in \$PATH 3193See \`config.log' for more details" "$LINENO" 5 ; } 3194 3195# Provide some information about the compiler. 3196$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3197set X $ac_compile 3198ac_compiler=$2 3199for ac_option in --version -v -V -qversion; do 3200 { { ac_try="$ac_compiler $ac_option >&5" 3201case "(($ac_try" in 3202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3203 *) ac_try_echo=$ac_try;; 3204esac 3205eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3206$as_echo "$ac_try_echo"; } >&5 3207 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3208 ac_status=$? 3209 if test -s conftest.err; then 3210 sed '10a\ 3211... rest of stderr output deleted ... 3212 10q' conftest.err >conftest.er1 3213 cat conftest.er1 >&5 3214 fi 3215 rm -f conftest.er1 conftest.err 3216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3217 test $ac_status = 0; } 3218done 3219 3220cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3221/* end confdefs.h. */ 3222 3223int 3224main () 3225{ 3226 3227 ; 3228 return 0; 3229} 3230_ACEOF 3231ac_clean_files_save=$ac_clean_files 3232ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3233# Try to create an executable without -o first, disregard a.out. 3234# It will help us diagnose broken compilers, and finding out an intuition 3235# of exeext. 3236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3237$as_echo_n "checking whether the C compiler works... " >&6; } 3238ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3239 3240# The possible output files: 3241ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3242 3243ac_rmfiles= 3244for ac_file in $ac_files 3245do 3246 case $ac_file in 3247 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3248 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3249 esac 3250done 3251rm -f $ac_rmfiles 3252 3253if { { ac_try="$ac_link_default" 3254case "(($ac_try" in 3255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3256 *) ac_try_echo=$ac_try;; 3257esac 3258eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3259$as_echo "$ac_try_echo"; } >&5 3260 (eval "$ac_link_default") 2>&5 3261 ac_status=$? 3262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3263 test $ac_status = 0; }; then : 3264 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3265# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3266# in a Makefile. We should not override ac_cv_exeext if it was cached, 3267# so that the user can short-circuit this test for compilers unknown to 3268# Autoconf. 3269for ac_file in $ac_files '' 3270do 3271 test -f "$ac_file" || continue 3272 case $ac_file in 3273 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3274 ;; 3275 [ab].out ) 3276 # We found the default executable, but exeext='' is most 3277 # certainly right. 3278 break;; 3279 *.* ) 3280 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3281 then :; else 3282 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3283 fi 3284 # We set ac_cv_exeext here because the later test for it is not 3285 # safe: cross compilers may not add the suffix if given an `-o' 3286 # argument, so we may need to know it at that point already. 3287 # Even if this section looks crufty: it has the advantage of 3288 # actually working. 3289 break;; 3290 * ) 3291 break;; 3292 esac 3293done 3294test "$ac_cv_exeext" = no && ac_cv_exeext= 3295 3296else 3297 ac_file='' 3298fi 3299if test -z "$ac_file"; then : 3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3301$as_echo "no" >&6; } 3302$as_echo "$as_me: failed program was:" >&5 3303sed 's/^/| /' conftest.$ac_ext >&5 3304 3305{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3306$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3307as_fn_error 77 "C compiler cannot create executables 3308See \`config.log' for more details" "$LINENO" 5 ; } 3309else 3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3311$as_echo "yes" >&6; } 3312fi 3313{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3314$as_echo_n "checking for C compiler default output file name... " >&6; } 3315{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3316$as_echo "$ac_file" >&6; } 3317ac_exeext=$ac_cv_exeext 3318 3319rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3320ac_clean_files=$ac_clean_files_save 3321{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3322$as_echo_n "checking for suffix of executables... " >&6; } 3323if { { ac_try="$ac_link" 3324case "(($ac_try" in 3325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3326 *) ac_try_echo=$ac_try;; 3327esac 3328eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3329$as_echo "$ac_try_echo"; } >&5 3330 (eval "$ac_link") 2>&5 3331 ac_status=$? 3332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3333 test $ac_status = 0; }; then : 3334 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3335# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3336# work properly (i.e., refer to `conftest.exe'), while it won't with 3337# `rm'. 3338for ac_file in conftest.exe conftest conftest.*; do 3339 test -f "$ac_file" || continue 3340 case $ac_file in 3341 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3342 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3343 break;; 3344 * ) break;; 3345 esac 3346done 3347else 3348 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3349$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3350as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3351See \`config.log' for more details" "$LINENO" 5 ; } 3352fi 3353rm -f conftest conftest$ac_cv_exeext 3354{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3355$as_echo "$ac_cv_exeext" >&6; } 3356 3357rm -f conftest.$ac_ext 3358EXEEXT=$ac_cv_exeext 3359ac_exeext=$EXEEXT 3360cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3361/* end confdefs.h. */ 3362#include <stdio.h> 3363int 3364main () 3365{ 3366FILE *f = fopen ("conftest.out", "w"); 3367 return ferror (f) || fclose (f) != 0; 3368 3369 ; 3370 return 0; 3371} 3372_ACEOF 3373ac_clean_files="$ac_clean_files conftest.out" 3374# Check that the compiler produces executables we can run. If not, either 3375# the compiler is broken, or we cross compile. 3376{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3377$as_echo_n "checking whether we are cross compiling... " >&6; } 3378if test "$cross_compiling" != yes; then 3379 { { ac_try="$ac_link" 3380case "(($ac_try" in 3381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3382 *) ac_try_echo=$ac_try;; 3383esac 3384eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3385$as_echo "$ac_try_echo"; } >&5 3386 (eval "$ac_link") 2>&5 3387 ac_status=$? 3388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3389 test $ac_status = 0; } 3390 if { ac_try='./conftest$ac_cv_exeext' 3391 { { case "(($ac_try" in 3392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3393 *) ac_try_echo=$ac_try;; 3394esac 3395eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3396$as_echo "$ac_try_echo"; } >&5 3397 (eval "$ac_try") 2>&5 3398 ac_status=$? 3399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3400 test $ac_status = 0; }; }; then 3401 cross_compiling=no 3402 else 3403 if test "$cross_compiling" = maybe; then 3404 cross_compiling=yes 3405 else 3406 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3407$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3408as_fn_error $? "cannot run C compiled programs. 3409If you meant to cross compile, use \`--host'. 3410See \`config.log' for more details" "$LINENO" 5 ; } 3411 fi 3412 fi 3413fi 3414{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3415$as_echo "$cross_compiling" >&6; } 3416 3417rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3418ac_clean_files=$ac_clean_files_save 3419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3420$as_echo_n "checking for suffix of object files... " >&6; } 3421if test "${ac_cv_objext+set}" = set; then : 3422 $as_echo_n "(cached) " >&6 3423else 3424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3425/* end confdefs.h. */ 3426 3427int 3428main () 3429{ 3430 3431 ; 3432 return 0; 3433} 3434_ACEOF 3435rm -f conftest.o conftest.obj 3436if { { ac_try="$ac_compile" 3437case "(($ac_try" in 3438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3439 *) ac_try_echo=$ac_try;; 3440esac 3441eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3442$as_echo "$ac_try_echo"; } >&5 3443 (eval "$ac_compile") 2>&5 3444 ac_status=$? 3445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3446 test $ac_status = 0; }; then : 3447 for ac_file in conftest.o conftest.obj conftest.*; do 3448 test -f "$ac_file" || continue; 3449 case $ac_file in 3450 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3451 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3452 break;; 3453 esac 3454done 3455else 3456 $as_echo "$as_me: failed program was:" >&5 3457sed 's/^/| /' conftest.$ac_ext >&5 3458 3459{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3460$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3461as_fn_error $? "cannot compute suffix of object files: cannot compile 3462See \`config.log' for more details" "$LINENO" 5 ; } 3463fi 3464rm -f conftest.$ac_cv_objext conftest.$ac_ext 3465fi 3466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3467$as_echo "$ac_cv_objext" >&6; } 3468OBJEXT=$ac_cv_objext 3469ac_objext=$OBJEXT 3470{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3471$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3472if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3473 $as_echo_n "(cached) " >&6 3474else 3475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3476/* end confdefs.h. */ 3477 3478int 3479main () 3480{ 3481#ifndef __GNUC__ 3482 choke me 3483#endif 3484 3485 ; 3486 return 0; 3487} 3488_ACEOF 3489if ac_fn_c_try_compile "$LINENO"; then : 3490 ac_compiler_gnu=yes 3491else 3492 ac_compiler_gnu=no 3493fi 3494rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3495ac_cv_c_compiler_gnu=$ac_compiler_gnu 3496 3497fi 3498{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3499$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3500if test $ac_compiler_gnu = yes; then 3501 GCC=yes 3502else 3503 GCC= 3504fi 3505ac_test_CFLAGS=${CFLAGS+set} 3506ac_save_CFLAGS=$CFLAGS 3507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3508$as_echo_n "checking whether $CC accepts -g... " >&6; } 3509if test "${ac_cv_prog_cc_g+set}" = set; then : 3510 $as_echo_n "(cached) " >&6 3511else 3512 ac_save_c_werror_flag=$ac_c_werror_flag 3513 ac_c_werror_flag=yes 3514 ac_cv_prog_cc_g=no 3515 CFLAGS="-g" 3516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3517/* end confdefs.h. */ 3518 3519int 3520main () 3521{ 3522 3523 ; 3524 return 0; 3525} 3526_ACEOF 3527if ac_fn_c_try_compile "$LINENO"; then : 3528 ac_cv_prog_cc_g=yes 3529else 3530 CFLAGS="" 3531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3532/* end confdefs.h. */ 3533 3534int 3535main () 3536{ 3537 3538 ; 3539 return 0; 3540} 3541_ACEOF 3542if ac_fn_c_try_compile "$LINENO"; then : 3543 3544else 3545 ac_c_werror_flag=$ac_save_c_werror_flag 3546 CFLAGS="-g" 3547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3548/* end confdefs.h. */ 3549 3550int 3551main () 3552{ 3553 3554 ; 3555 return 0; 3556} 3557_ACEOF 3558if ac_fn_c_try_compile "$LINENO"; then : 3559 ac_cv_prog_cc_g=yes 3560fi 3561rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3562fi 3563rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3564fi 3565rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3566 ac_c_werror_flag=$ac_save_c_werror_flag 3567fi 3568{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3569$as_echo "$ac_cv_prog_cc_g" >&6; } 3570if test "$ac_test_CFLAGS" = set; then 3571 CFLAGS=$ac_save_CFLAGS 3572elif test $ac_cv_prog_cc_g = yes; then 3573 if test "$GCC" = yes; then 3574 CFLAGS="-g -O2" 3575 else 3576 CFLAGS="-g" 3577 fi 3578else 3579 if test "$GCC" = yes; then 3580 CFLAGS="-O2" 3581 else 3582 CFLAGS= 3583 fi 3584fi 3585{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3586$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3587if test "${ac_cv_prog_cc_c89+set}" = set; then : 3588 $as_echo_n "(cached) " >&6 3589else 3590 ac_cv_prog_cc_c89=no 3591ac_save_CC=$CC 3592cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3593/* end confdefs.h. */ 3594#include <stdarg.h> 3595#include <stdio.h> 3596#include <sys/types.h> 3597#include <sys/stat.h> 3598/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3599struct buf { int x; }; 3600FILE * (*rcsopen) (struct buf *, struct stat *, int); 3601static char *e (p, i) 3602 char **p; 3603 int i; 3604{ 3605 return p[i]; 3606} 3607static char *f (char * (*g) (char **, int), char **p, ...) 3608{ 3609 char *s; 3610 va_list v; 3611 va_start (v,p); 3612 s = g (p, va_arg (v,int)); 3613 va_end (v); 3614 return s; 3615} 3616 3617/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3618 function prototypes and stuff, but not '\xHH' hex character constants. 3619 These don't provoke an error unfortunately, instead are silently treated 3620 as 'x'. The following induces an error, until -std is added to get 3621 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3622 array size at least. It's necessary to write '\x00'==0 to get something 3623 that's true only with -std. */ 3624int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3625 3626/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3627 inside strings and character constants. */ 3628#define FOO(x) 'x' 3629int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3630 3631int test (int i, double x); 3632struct s1 {int (*f) (int a);}; 3633struct s2 {int (*f) (double a);}; 3634int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3635int argc; 3636char **argv; 3637int 3638main () 3639{ 3640return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3641 ; 3642 return 0; 3643} 3644_ACEOF 3645for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3646 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3647do 3648 CC="$ac_save_CC $ac_arg" 3649 if ac_fn_c_try_compile "$LINENO"; then : 3650 ac_cv_prog_cc_c89=$ac_arg 3651fi 3652rm -f core conftest.err conftest.$ac_objext 3653 test "x$ac_cv_prog_cc_c89" != "xno" && break 3654done 3655rm -f conftest.$ac_ext 3656CC=$ac_save_CC 3657 3658fi 3659# AC_CACHE_VAL 3660case "x$ac_cv_prog_cc_c89" in 3661 x) 3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3663$as_echo "none needed" >&6; } ;; 3664 xno) 3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3666$as_echo "unsupported" >&6; } ;; 3667 *) 3668 CC="$CC $ac_cv_prog_cc_c89" 3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3670$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3671esac 3672if test "x$ac_cv_prog_cc_c89" != xno; then : 3673 3674fi 3675 3676ac_ext=c 3677ac_cpp='$CPP $CPPFLAGS' 3678ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3679ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3680ac_compiler_gnu=$ac_cv_c_compiler_gnu 3681DEPDIR="${am__leading_dot}deps" 3682 3683ac_config_commands="$ac_config_commands depfiles" 3684 3685 3686am_make=${MAKE-make} 3687cat > confinc << 'END' 3688am__doit: 3689 @echo this is the am__doit target 3690.PHONY: am__doit 3691END 3692# If we don't find an include directive, just comment out the code. 3693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3694$as_echo_n "checking for style of include used by $am_make... " >&6; } 3695am__include="#" 3696am__quote= 3697_am_result=none 3698# First try GNU make style include. 3699echo "include confinc" > confmf 3700# Ignore all kinds of additional output from `make'. 3701case `$am_make -s -f confmf 2> /dev/null` in #( 3702*the\ am__doit\ target*) 3703 am__include=include 3704 am__quote= 3705 _am_result=GNU 3706 ;; 3707esac 3708# Now try BSD make style include. 3709if test "$am__include" = "#"; then 3710 echo '.include "confinc"' > confmf 3711 case `$am_make -s -f confmf 2> /dev/null` in #( 3712 *the\ am__doit\ target*) 3713 am__include=.include 3714 am__quote="\"" 3715 _am_result=BSD 3716 ;; 3717 esac 3718fi 3719 3720 3721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3722$as_echo "$_am_result" >&6; } 3723rm -f confinc confmf 3724 3725# Check whether --enable-dependency-tracking was given. 3726if test "${enable_dependency_tracking+set}" = set; then : 3727 enableval=$enable_dependency_tracking; 3728fi 3729 3730if test "x$enable_dependency_tracking" != xno; then 3731 am_depcomp="$ac_aux_dir/depcomp" 3732 AMDEPBACKSLASH='\' 3733fi 3734 if test "x$enable_dependency_tracking" != xno; then 3735 AMDEP_TRUE= 3736 AMDEP_FALSE='#' 3737else 3738 AMDEP_TRUE='#' 3739 AMDEP_FALSE= 3740fi 3741 3742 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# Check whether --enable-static was given. 3872if test "${enable_static+set}" = set; then : 3873 enableval=$enable_static; p=${PACKAGE-default} 3874 case $enableval in 3875 yes) enable_static=yes ;; 3876 no) enable_static=no ;; 3877 *) 3878 enable_static=no 3879 # Look at the argument we got. We use all the common list separators. 3880 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 3881 for pkg in $enableval; do 3882 IFS="$lt_save_ifs" 3883 if test "X$pkg" = "X$p"; then 3884 enable_static=yes 3885 fi 3886 done 3887 IFS="$lt_save_ifs" 3888 ;; 3889 esac 3890else 3891 enable_static=no 3892fi 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902enable_dlopen=yes 3903 3904 3905 3906case `pwd` in 3907 *\ * | *\ *) 3908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 3909$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 3910esac 3911 3912 3913 3914macro_version='2.2.6b' 3915macro_revision='1.3017' 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929ltmain="$ac_aux_dir/ltmain.sh" 3930 3931# Make sure we can run config.sub. 3932$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3933 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3934 3935{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3936$as_echo_n "checking build system type... " >&6; } 3937if test "${ac_cv_build+set}" = set; then : 3938 $as_echo_n "(cached) " >&6 3939else 3940 ac_build_alias=$build_alias 3941test "x$ac_build_alias" = x && 3942 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3943test "x$ac_build_alias" = x && 3944 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3945ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3946 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3947 3948fi 3949{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3950$as_echo "$ac_cv_build" >&6; } 3951case $ac_cv_build in 3952*-*-*) ;; 3953*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; 3954esac 3955build=$ac_cv_build 3956ac_save_IFS=$IFS; IFS='-' 3957set x $ac_cv_build 3958shift 3959build_cpu=$1 3960build_vendor=$2 3961shift; shift 3962# Remember, the first character of IFS is used to create $*, 3963# except with old shells: 3964build_os=$* 3965IFS=$ac_save_IFS 3966case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3967 3968 3969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3970$as_echo_n "checking host system type... " >&6; } 3971if test "${ac_cv_host+set}" = set; then : 3972 $as_echo_n "(cached) " >&6 3973else 3974 if test "x$host_alias" = x; then 3975 ac_cv_host=$ac_cv_build 3976else 3977 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3978 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3979fi 3980 3981fi 3982{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3983$as_echo "$ac_cv_host" >&6; } 3984case $ac_cv_host in 3985*-*-*) ;; 3986*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; 3987esac 3988host=$ac_cv_host 3989ac_save_IFS=$IFS; IFS='-' 3990set x $ac_cv_host 3991shift 3992host_cpu=$1 3993host_vendor=$2 3994shift; shift 3995# Remember, the first character of IFS is used to create $*, 3996# except with old shells: 3997host_os=$* 3998IFS=$ac_save_IFS 3999case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4000 4001 4002{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4003$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4004if test "${ac_cv_path_SED+set}" = set; then : 4005 $as_echo_n "(cached) " >&6 4006else 4007 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4008 for ac_i in 1 2 3 4 5 6 7; do 4009 ac_script="$ac_script$as_nl$ac_script" 4010 done 4011 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4012 { ac_script=; unset ac_script;} 4013 if test -z "$SED"; then 4014 ac_path_SED_found=false 4015 # Loop through the user's path and test for each of PROGNAME-LIST 4016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4017for as_dir in $PATH 4018do 4019 IFS=$as_save_IFS 4020 test -z "$as_dir" && as_dir=. 4021 for ac_prog in sed gsed; do 4022 for ac_exec_ext in '' $ac_executable_extensions; do 4023 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4024 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 4025# Check for GNU ac_path_SED and select it if it is found. 4026 # Check for GNU $ac_path_SED 4027case `"$ac_path_SED" --version 2>&1` in 4028*GNU*) 4029 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4030*) 4031 ac_count=0 4032 $as_echo_n 0123456789 >"conftest.in" 4033 while : 4034 do 4035 cat "conftest.in" "conftest.in" >"conftest.tmp" 4036 mv "conftest.tmp" "conftest.in" 4037 cp "conftest.in" "conftest.nl" 4038 $as_echo '' >> "conftest.nl" 4039 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4040 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4041 as_fn_arith $ac_count + 1 && ac_count=$as_val 4042 if test $ac_count -gt ${ac_path_SED_max-0}; then 4043 # Best one so far, save it but keep looking for a better one 4044 ac_cv_path_SED="$ac_path_SED" 4045 ac_path_SED_max=$ac_count 4046 fi 4047 # 10*(2^10) chars as input seems more than enough 4048 test $ac_count -gt 10 && break 4049 done 4050 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4051esac 4052 4053 $ac_path_SED_found && break 3 4054 done 4055 done 4056 done 4057IFS=$as_save_IFS 4058 if test -z "$ac_cv_path_SED"; then 4059 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4060 fi 4061else 4062 ac_cv_path_SED=$SED 4063fi 4064 4065fi 4066{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4067$as_echo "$ac_cv_path_SED" >&6; } 4068 SED="$ac_cv_path_SED" 4069 rm -f conftest.sed 4070 4071test -z "$SED" && SED=sed 4072Xsed="$SED -e 1s/^X//" 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4085$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4086if test "${ac_cv_path_GREP+set}" = set; then : 4087 $as_echo_n "(cached) " >&6 4088else 4089 if test -z "$GREP"; then 4090 ac_path_GREP_found=false 4091 # Loop through the user's path and test for each of PROGNAME-LIST 4092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4093for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4094do 4095 IFS=$as_save_IFS 4096 test -z "$as_dir" && as_dir=. 4097 for ac_prog in grep ggrep; do 4098 for ac_exec_ext in '' $ac_executable_extensions; do 4099 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4100 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4101# Check for GNU ac_path_GREP and select it if it is found. 4102 # Check for GNU $ac_path_GREP 4103case `"$ac_path_GREP" --version 2>&1` in 4104*GNU*) 4105 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4106*) 4107 ac_count=0 4108 $as_echo_n 0123456789 >"conftest.in" 4109 while : 4110 do 4111 cat "conftest.in" "conftest.in" >"conftest.tmp" 4112 mv "conftest.tmp" "conftest.in" 4113 cp "conftest.in" "conftest.nl" 4114 $as_echo 'GREP' >> "conftest.nl" 4115 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4116 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4117 as_fn_arith $ac_count + 1 && ac_count=$as_val 4118 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4119 # Best one so far, save it but keep looking for a better one 4120 ac_cv_path_GREP="$ac_path_GREP" 4121 ac_path_GREP_max=$ac_count 4122 fi 4123 # 10*(2^10) chars as input seems more than enough 4124 test $ac_count -gt 10 && break 4125 done 4126 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4127esac 4128 4129 $ac_path_GREP_found && break 3 4130 done 4131 done 4132 done 4133IFS=$as_save_IFS 4134 if test -z "$ac_cv_path_GREP"; then 4135 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4136 fi 4137else 4138 ac_cv_path_GREP=$GREP 4139fi 4140 4141fi 4142{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4143$as_echo "$ac_cv_path_GREP" >&6; } 4144 GREP="$ac_cv_path_GREP" 4145 4146 4147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4148$as_echo_n "checking for egrep... " >&6; } 4149if test "${ac_cv_path_EGREP+set}" = set; then : 4150 $as_echo_n "(cached) " >&6 4151else 4152 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4153 then ac_cv_path_EGREP="$GREP -E" 4154 else 4155 if test -z "$EGREP"; then 4156 ac_path_EGREP_found=false 4157 # Loop through the user's path and test for each of PROGNAME-LIST 4158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4159for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4160do 4161 IFS=$as_save_IFS 4162 test -z "$as_dir" && as_dir=. 4163 for ac_prog in egrep; do 4164 for ac_exec_ext in '' $ac_executable_extensions; do 4165 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4166 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4167# Check for GNU ac_path_EGREP and select it if it is found. 4168 # Check for GNU $ac_path_EGREP 4169case `"$ac_path_EGREP" --version 2>&1` in 4170*GNU*) 4171 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4172*) 4173 ac_count=0 4174 $as_echo_n 0123456789 >"conftest.in" 4175 while : 4176 do 4177 cat "conftest.in" "conftest.in" >"conftest.tmp" 4178 mv "conftest.tmp" "conftest.in" 4179 cp "conftest.in" "conftest.nl" 4180 $as_echo 'EGREP' >> "conftest.nl" 4181 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4182 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4183 as_fn_arith $ac_count + 1 && ac_count=$as_val 4184 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4185 # Best one so far, save it but keep looking for a better one 4186 ac_cv_path_EGREP="$ac_path_EGREP" 4187 ac_path_EGREP_max=$ac_count 4188 fi 4189 # 10*(2^10) chars as input seems more than enough 4190 test $ac_count -gt 10 && break 4191 done 4192 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4193esac 4194 4195 $ac_path_EGREP_found && break 3 4196 done 4197 done 4198 done 4199IFS=$as_save_IFS 4200 if test -z "$ac_cv_path_EGREP"; then 4201 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4202 fi 4203else 4204 ac_cv_path_EGREP=$EGREP 4205fi 4206 4207 fi 4208fi 4209{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4210$as_echo "$ac_cv_path_EGREP" >&6; } 4211 EGREP="$ac_cv_path_EGREP" 4212 4213 4214{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4215$as_echo_n "checking for fgrep... " >&6; } 4216if test "${ac_cv_path_FGREP+set}" = set; then : 4217 $as_echo_n "(cached) " >&6 4218else 4219 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4220 then ac_cv_path_FGREP="$GREP -F" 4221 else 4222 if test -z "$FGREP"; then 4223 ac_path_FGREP_found=false 4224 # Loop through the user's path and test for each of PROGNAME-LIST 4225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4226for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4227do 4228 IFS=$as_save_IFS 4229 test -z "$as_dir" && as_dir=. 4230 for ac_prog in fgrep; do 4231 for ac_exec_ext in '' $ac_executable_extensions; do 4232 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4233 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 4234# Check for GNU ac_path_FGREP and select it if it is found. 4235 # Check for GNU $ac_path_FGREP 4236case `"$ac_path_FGREP" --version 2>&1` in 4237*GNU*) 4238 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4239*) 4240 ac_count=0 4241 $as_echo_n 0123456789 >"conftest.in" 4242 while : 4243 do 4244 cat "conftest.in" "conftest.in" >"conftest.tmp" 4245 mv "conftest.tmp" "conftest.in" 4246 cp "conftest.in" "conftest.nl" 4247 $as_echo 'FGREP' >> "conftest.nl" 4248 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4249 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4250 as_fn_arith $ac_count + 1 && ac_count=$as_val 4251 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4252 # Best one so far, save it but keep looking for a better one 4253 ac_cv_path_FGREP="$ac_path_FGREP" 4254 ac_path_FGREP_max=$ac_count 4255 fi 4256 # 10*(2^10) chars as input seems more than enough 4257 test $ac_count -gt 10 && break 4258 done 4259 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4260esac 4261 4262 $ac_path_FGREP_found && break 3 4263 done 4264 done 4265 done 4266IFS=$as_save_IFS 4267 if test -z "$ac_cv_path_FGREP"; then 4268 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4269 fi 4270else 4271 ac_cv_path_FGREP=$FGREP 4272fi 4273 4274 fi 4275fi 4276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4277$as_echo "$ac_cv_path_FGREP" >&6; } 4278 FGREP="$ac_cv_path_FGREP" 4279 4280 4281test -z "$GREP" && GREP=grep 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301# Check whether --with-gnu-ld was given. 4302if test "${with_gnu_ld+set}" = set; then : 4303 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4304else 4305 with_gnu_ld=no 4306fi 4307 4308ac_prog=ld 4309if test "$GCC" = yes; then 4310 # Check if gcc -print-prog-name=ld gives a path. 4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4312$as_echo_n "checking for ld used by $CC... " >&6; } 4313 case $host in 4314 *-*-mingw*) 4315 # gcc leaves a trailing carriage return which upsets mingw 4316 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4317 *) 4318 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4319 esac 4320 case $ac_prog in 4321 # Accept absolute paths. 4322 [\\/]* | ?:[\\/]*) 4323 re_direlt='/[^/][^/]*/\.\./' 4324 # Canonicalize the pathname of ld 4325 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4326 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4327 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4328 done 4329 test -z "$LD" && LD="$ac_prog" 4330 ;; 4331 "") 4332 # If it fails, then pretend we aren't using GCC. 4333 ac_prog=ld 4334 ;; 4335 *) 4336 # If it is relative, then search for the first ld in PATH. 4337 with_gnu_ld=unknown 4338 ;; 4339 esac 4340elif test "$with_gnu_ld" = yes; then 4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4342$as_echo_n "checking for GNU ld... " >&6; } 4343else 4344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4345$as_echo_n "checking for non-GNU ld... " >&6; } 4346fi 4347if test "${lt_cv_path_LD+set}" = set; then : 4348 $as_echo_n "(cached) " >&6 4349else 4350 if test -z "$LD"; then 4351 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4352 for ac_dir in $PATH; do 4353 IFS="$lt_save_ifs" 4354 test -z "$ac_dir" && ac_dir=. 4355 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4356 lt_cv_path_LD="$ac_dir/$ac_prog" 4357 # Check to see if the program is GNU ld. I'd rather use --version, 4358 # but apparently some variants of GNU ld only accept -v. 4359 # Break only if it was the GNU/non-GNU ld that we prefer. 4360 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4361 *GNU* | *'with BFD'*) 4362 test "$with_gnu_ld" != no && break 4363 ;; 4364 *) 4365 test "$with_gnu_ld" != yes && break 4366 ;; 4367 esac 4368 fi 4369 done 4370 IFS="$lt_save_ifs" 4371else 4372 lt_cv_path_LD="$LD" # Let the user override the test with a path. 4373fi 4374fi 4375 4376LD="$lt_cv_path_LD" 4377if test -n "$LD"; then 4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4379$as_echo "$LD" >&6; } 4380else 4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4382$as_echo "no" >&6; } 4383fi 4384test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4385{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4386$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4387if test "${lt_cv_prog_gnu_ld+set}" = set; then : 4388 $as_echo_n "(cached) " >&6 4389else 4390 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4391case `$LD -v 2>&1 </dev/null` in 4392*GNU* | *'with BFD'*) 4393 lt_cv_prog_gnu_ld=yes 4394 ;; 4395*) 4396 lt_cv_prog_gnu_ld=no 4397 ;; 4398esac 4399fi 4400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4401$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4402with_gnu_ld=$lt_cv_prog_gnu_ld 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4413$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4414if test "${lt_cv_path_NM+set}" = set; then : 4415 $as_echo_n "(cached) " >&6 4416else 4417 if test -n "$NM"; then 4418 # Let the user override the test. 4419 lt_cv_path_NM="$NM" 4420else 4421 lt_nm_to_check="${ac_tool_prefix}nm" 4422 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4423 lt_nm_to_check="$lt_nm_to_check nm" 4424 fi 4425 for lt_tmp_nm in $lt_nm_to_check; do 4426 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4427 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4428 IFS="$lt_save_ifs" 4429 test -z "$ac_dir" && ac_dir=. 4430 tmp_nm="$ac_dir/$lt_tmp_nm" 4431 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 4432 # Check to see if the nm accepts a BSD-compat flag. 4433 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 4434 # nm: unknown option "B" ignored 4435 # Tru64's nm complains that /dev/null is an invalid object file 4436 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 4437 */dev/null* | *'Invalid file or object type'*) 4438 lt_cv_path_NM="$tmp_nm -B" 4439 break 4440 ;; 4441 *) 4442 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4443 */dev/null*) 4444 lt_cv_path_NM="$tmp_nm -p" 4445 break 4446 ;; 4447 *) 4448 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4449 continue # so that we can try to find one that supports BSD flags 4450 ;; 4451 esac 4452 ;; 4453 esac 4454 fi 4455 done 4456 IFS="$lt_save_ifs" 4457 done 4458 : ${lt_cv_path_NM=no} 4459fi 4460fi 4461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4462$as_echo "$lt_cv_path_NM" >&6; } 4463if test "$lt_cv_path_NM" != "no"; then 4464 NM="$lt_cv_path_NM" 4465else 4466 # Didn't find any BSD compatible name lister, look for dumpbin. 4467 if test -n "$ac_tool_prefix"; then 4468 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 4469 do 4470 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4471set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4472{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4473$as_echo_n "checking for $ac_word... " >&6; } 4474if test "${ac_cv_prog_DUMPBIN+set}" = set; then : 4475 $as_echo_n "(cached) " >&6 4476else 4477 if test -n "$DUMPBIN"; then 4478 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4479else 4480as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4481for as_dir in $PATH 4482do 4483 IFS=$as_save_IFS 4484 test -z "$as_dir" && as_dir=. 4485 for ac_exec_ext in '' $ac_executable_extensions; do 4486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4487 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4489 break 2 4490 fi 4491done 4492 done 4493IFS=$as_save_IFS 4494 4495fi 4496fi 4497DUMPBIN=$ac_cv_prog_DUMPBIN 4498if test -n "$DUMPBIN"; then 4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4500$as_echo "$DUMPBIN" >&6; } 4501else 4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4503$as_echo "no" >&6; } 4504fi 4505 4506 4507 test -n "$DUMPBIN" && break 4508 done 4509fi 4510if test -z "$DUMPBIN"; then 4511 ac_ct_DUMPBIN=$DUMPBIN 4512 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 4513do 4514 # Extract the first word of "$ac_prog", so it can be a program name with args. 4515set dummy $ac_prog; ac_word=$2 4516{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4517$as_echo_n "checking for $ac_word... " >&6; } 4518if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : 4519 $as_echo_n "(cached) " >&6 4520else 4521 if test -n "$ac_ct_DUMPBIN"; then 4522 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4523else 4524as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4525for as_dir in $PATH 4526do 4527 IFS=$as_save_IFS 4528 test -z "$as_dir" && as_dir=. 4529 for ac_exec_ext in '' $ac_executable_extensions; do 4530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4531 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4533 break 2 4534 fi 4535done 4536 done 4537IFS=$as_save_IFS 4538 4539fi 4540fi 4541ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4542if test -n "$ac_ct_DUMPBIN"; then 4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4544$as_echo "$ac_ct_DUMPBIN" >&6; } 4545else 4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4547$as_echo "no" >&6; } 4548fi 4549 4550 4551 test -n "$ac_ct_DUMPBIN" && break 4552done 4553 4554 if test "x$ac_ct_DUMPBIN" = x; then 4555 DUMPBIN=":" 4556 else 4557 case $cross_compiling:$ac_tool_warned in 4558yes:) 4559{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4560$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4561ac_tool_warned=yes ;; 4562esac 4563 DUMPBIN=$ac_ct_DUMPBIN 4564 fi 4565fi 4566 4567 4568 if test "$DUMPBIN" != ":"; then 4569 NM="$DUMPBIN" 4570 fi 4571fi 4572test -z "$NM" && NM=nm 4573 4574 4575 4576 4577 4578 4579{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4580$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4581if test "${lt_cv_nm_interface+set}" = set; then : 4582 $as_echo_n "(cached) " >&6 4583else 4584 lt_cv_nm_interface="BSD nm" 4585 echo "int some_variable = 0;" > conftest.$ac_ext 4586 (eval echo "\"\$as_me:4586: $ac_compile\"" >&5) 4587 (eval "$ac_compile" 2>conftest.err) 4588 cat conftest.err >&5 4589 (eval echo "\"\$as_me:4589: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4590 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4591 cat conftest.err >&5 4592 (eval echo "\"\$as_me:4592: output\"" >&5) 4593 cat conftest.out >&5 4594 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4595 lt_cv_nm_interface="MS dumpbin" 4596 fi 4597 rm -f conftest* 4598fi 4599{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4600$as_echo "$lt_cv_nm_interface" >&6; } 4601 4602{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4603$as_echo_n "checking whether ln -s works... " >&6; } 4604LN_S=$as_ln_s 4605if test "$LN_S" = "ln -s"; then 4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4607$as_echo "yes" >&6; } 4608else 4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4610$as_echo "no, using $LN_S" >&6; } 4611fi 4612 4613# find the maximum length of command line arguments 4614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4615$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4616if test "${lt_cv_sys_max_cmd_len+set}" = set; then : 4617 $as_echo_n "(cached) " >&6 4618else 4619 i=0 4620 teststring="ABCD" 4621 4622 case $build_os in 4623 msdosdjgpp*) 4624 # On DJGPP, this test can blow up pretty badly due to problems in libc 4625 # (any single argument exceeding 2000 bytes causes a buffer overrun 4626 # during glob expansion). Even if it were fixed, the result of this 4627 # check would be larger than it should be. 4628 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4629 ;; 4630 4631 gnu*) 4632 # Under GNU Hurd, this test is not required because there is 4633 # no limit to the length of command line arguments. 4634 # Libtool will interpret -1 as no limit whatsoever 4635 lt_cv_sys_max_cmd_len=-1; 4636 ;; 4637 4638 cygwin* | mingw* | cegcc*) 4639 # On Win9x/ME, this test blows up -- it succeeds, but takes 4640 # about 5 minutes as the teststring grows exponentially. 4641 # Worse, since 9x/ME are not pre-emptively multitasking, 4642 # you end up with a "frozen" computer, even though with patience 4643 # the test eventually succeeds (with a max line length of 256k). 4644 # Instead, let's just punt: use the minimum linelength reported by 4645 # all of the supported platforms: 8192 (on NT/2K/XP). 4646 lt_cv_sys_max_cmd_len=8192; 4647 ;; 4648 4649 amigaos*) 4650 # On AmigaOS with pdksh, this test takes hours, literally. 4651 # So we just punt and use a minimum line length of 8192. 4652 lt_cv_sys_max_cmd_len=8192; 4653 ;; 4654 4655 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 4656 # This has been around since 386BSD, at least. Likely further. 4657 if test -x /sbin/sysctl; then 4658 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4659 elif test -x /usr/sbin/sysctl; then 4660 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4661 else 4662 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4663 fi 4664 # And add a safety zone 4665 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4666 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4667 ;; 4668 4669 interix*) 4670 # We know the value 262144 and hardcode it with a safety zone (like BSD) 4671 lt_cv_sys_max_cmd_len=196608 4672 ;; 4673 4674 osf*) 4675 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 4676 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 4677 # nice to cause kernel panics so lets avoid the loop below. 4678 # First set a reasonable default. 4679 lt_cv_sys_max_cmd_len=16384 4680 # 4681 if test -x /sbin/sysconfig; then 4682 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 4683 *1*) lt_cv_sys_max_cmd_len=-1 ;; 4684 esac 4685 fi 4686 ;; 4687 sco3.2v5*) 4688 lt_cv_sys_max_cmd_len=102400 4689 ;; 4690 sysv5* | sco5v6* | sysv4.2uw2*) 4691 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 4692 if test -n "$kargmax"; then 4693 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 4694 else 4695 lt_cv_sys_max_cmd_len=32768 4696 fi 4697 ;; 4698 *) 4699 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 4700 if test -n "$lt_cv_sys_max_cmd_len"; then 4701 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4702 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4703 else 4704 # Make teststring a little bigger before we do anything with it. 4705 # a 1K string should be a reasonable start. 4706 for i in 1 2 3 4 5 6 7 8 ; do 4707 teststring=$teststring$teststring 4708 done 4709 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 4710 # If test is not a shell built-in, we'll probably end up computing a 4711 # maximum length that is only half of the actual maximum length, but 4712 # we can't tell. 4713 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ 4714 = "XX$teststring$teststring"; } >/dev/null 2>&1 && 4715 test $i != 17 # 1/2 MB should be enough 4716 do 4717 i=`expr $i + 1` 4718 teststring=$teststring$teststring 4719 done 4720 # Only check the string length outside the loop. 4721 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 4722 teststring= 4723 # Add a significant safety factor because C++ compilers can tack on 4724 # massive amounts of additional arguments before passing them to the 4725 # linker. It appears as though 1/2 is a usable value. 4726 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 4727 fi 4728 ;; 4729 esac 4730 4731fi 4732 4733if test -n $lt_cv_sys_max_cmd_len ; then 4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 4735$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 4736else 4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 4738$as_echo "none" >&6; } 4739fi 4740max_cmd_len=$lt_cv_sys_max_cmd_len 4741 4742 4743 4744 4745 4746 4747: ${CP="cp -f"} 4748: ${MV="mv -f"} 4749: ${RM="rm -f"} 4750 4751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 4752$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 4753# Try some XSI features 4754xsi_shell=no 4755( _lt_dummy="a/b/c" 4756 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ 4757 = c,a/b,, \ 4758 && eval 'test $(( 1 + 1 )) -eq 2 \ 4759 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 4760 && xsi_shell=yes 4761{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 4762$as_echo "$xsi_shell" >&6; } 4763 4764 4765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 4766$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 4767lt_shell_append=no 4768( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 4769 >/dev/null 2>&1 \ 4770 && lt_shell_append=yes 4771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 4772$as_echo "$lt_shell_append" >&6; } 4773 4774 4775if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4776 lt_unset=unset 4777else 4778 lt_unset=false 4779fi 4780 4781 4782 4783 4784 4785# test EBCDIC or ASCII 4786case `echo X|tr X '\101'` in 4787 A) # ASCII based system 4788 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 4789 lt_SP2NL='tr \040 \012' 4790 lt_NL2SP='tr \015\012 \040\040' 4791 ;; 4792 *) # EBCDIC based system 4793 lt_SP2NL='tr \100 \n' 4794 lt_NL2SP='tr \r\n \100\100' 4795 ;; 4796esac 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 4807$as_echo_n "checking for $LD option to reload object files... " >&6; } 4808if test "${lt_cv_ld_reload_flag+set}" = set; then : 4809 $as_echo_n "(cached) " >&6 4810else 4811 lt_cv_ld_reload_flag='-r' 4812fi 4813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 4814$as_echo "$lt_cv_ld_reload_flag" >&6; } 4815reload_flag=$lt_cv_ld_reload_flag 4816case $reload_flag in 4817"" | " "*) ;; 4818*) reload_flag=" $reload_flag" ;; 4819esac 4820reload_cmds='$LD$reload_flag -o $output$reload_objs' 4821case $host_os in 4822 darwin*) 4823 if test "$GCC" = yes; then 4824 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 4825 else 4826 reload_cmds='$LD$reload_flag -o $output$reload_objs' 4827 fi 4828 ;; 4829esac 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839if test -n "$ac_tool_prefix"; then 4840 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4841set dummy ${ac_tool_prefix}objdump; ac_word=$2 4842{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4843$as_echo_n "checking for $ac_word... " >&6; } 4844if test "${ac_cv_prog_OBJDUMP+set}" = set; then : 4845 $as_echo_n "(cached) " >&6 4846else 4847 if test -n "$OBJDUMP"; then 4848 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4849else 4850as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4851for as_dir in $PATH 4852do 4853 IFS=$as_save_IFS 4854 test -z "$as_dir" && as_dir=. 4855 for ac_exec_ext in '' $ac_executable_extensions; do 4856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4857 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4859 break 2 4860 fi 4861done 4862 done 4863IFS=$as_save_IFS 4864 4865fi 4866fi 4867OBJDUMP=$ac_cv_prog_OBJDUMP 4868if test -n "$OBJDUMP"; then 4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 4870$as_echo "$OBJDUMP" >&6; } 4871else 4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4873$as_echo "no" >&6; } 4874fi 4875 4876 4877fi 4878if test -z "$ac_cv_prog_OBJDUMP"; then 4879 ac_ct_OBJDUMP=$OBJDUMP 4880 # Extract the first word of "objdump", so it can be a program name with args. 4881set dummy objdump; ac_word=$2 4882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4883$as_echo_n "checking for $ac_word... " >&6; } 4884if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : 4885 $as_echo_n "(cached) " >&6 4886else 4887 if test -n "$ac_ct_OBJDUMP"; then 4888 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4889else 4890as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4891for as_dir in $PATH 4892do 4893 IFS=$as_save_IFS 4894 test -z "$as_dir" && as_dir=. 4895 for ac_exec_ext in '' $ac_executable_extensions; do 4896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4897 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4899 break 2 4900 fi 4901done 4902 done 4903IFS=$as_save_IFS 4904 4905fi 4906fi 4907ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4908if test -n "$ac_ct_OBJDUMP"; then 4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 4910$as_echo "$ac_ct_OBJDUMP" >&6; } 4911else 4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4913$as_echo "no" >&6; } 4914fi 4915 4916 if test "x$ac_ct_OBJDUMP" = x; then 4917 OBJDUMP="false" 4918 else 4919 case $cross_compiling:$ac_tool_warned in 4920yes:) 4921{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4922$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4923ac_tool_warned=yes ;; 4924esac 4925 OBJDUMP=$ac_ct_OBJDUMP 4926 fi 4927else 4928 OBJDUMP="$ac_cv_prog_OBJDUMP" 4929fi 4930 4931test -z "$OBJDUMP" && OBJDUMP=objdump 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 4942$as_echo_n "checking how to recognize dependent libraries... " >&6; } 4943if test "${lt_cv_deplibs_check_method+set}" = set; then : 4944 $as_echo_n "(cached) " >&6 4945else 4946 lt_cv_file_magic_cmd='$MAGIC_CMD' 4947lt_cv_file_magic_test_file= 4948lt_cv_deplibs_check_method='unknown' 4949# Need to set the preceding variable on all platforms that support 4950# interlibrary dependencies. 4951# 'none' -- dependencies not supported. 4952# `unknown' -- same as none, but documents that we really don't know. 4953# 'pass_all' -- all dependencies passed with no checks. 4954# 'test_compile' -- check by making test program. 4955# 'file_magic [[regex]]' -- check by looking for files in library path 4956# which responds to the $file_magic_cmd with a given extended regex. 4957# If you have `file' or equivalent on your system and you're not sure 4958# whether `pass_all' will *always* work, you probably want this one. 4959 4960case $host_os in 4961aix[4-9]*) 4962 lt_cv_deplibs_check_method=pass_all 4963 ;; 4964 4965beos*) 4966 lt_cv_deplibs_check_method=pass_all 4967 ;; 4968 4969bsdi[45]*) 4970 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 4971 lt_cv_file_magic_cmd='/usr/bin/file -L' 4972 lt_cv_file_magic_test_file=/shlib/libc.so 4973 ;; 4974 4975cygwin*) 4976 # func_win32_libid is a shell function defined in ltmain.sh 4977 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 4978 lt_cv_file_magic_cmd='func_win32_libid' 4979 ;; 4980 4981mingw* | pw32*) 4982 # Base MSYS/MinGW do not provide the 'file' command needed by 4983 # func_win32_libid shell function, so use a weaker test based on 'objdump', 4984 # unless we find 'file', for example because we are cross-compiling. 4985 if ( file / ) >/dev/null 2>&1; then 4986 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 4987 lt_cv_file_magic_cmd='func_win32_libid' 4988 else 4989 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 4990 lt_cv_file_magic_cmd='$OBJDUMP -f' 4991 fi 4992 ;; 4993 4994cegcc) 4995 # use the weaker test based on 'objdump'. See mingw*. 4996 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 4997 lt_cv_file_magic_cmd='$OBJDUMP -f' 4998 ;; 4999 5000darwin* | rhapsody*) 5001 lt_cv_deplibs_check_method=pass_all 5002 ;; 5003 5004freebsd* | dragonfly*) 5005 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5006 case $host_cpu in 5007 i*86 ) 5008 # Not sure whether the presence of OpenBSD here was a mistake. 5009 # Let's accept both of them until this is cleared up. 5010 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5011 lt_cv_file_magic_cmd=/usr/bin/file 5012 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5013 ;; 5014 esac 5015 else 5016 lt_cv_deplibs_check_method=pass_all 5017 fi 5018 ;; 5019 5020gnu*) 5021 lt_cv_deplibs_check_method=pass_all 5022 ;; 5023 5024hpux10.20* | hpux11*) 5025 lt_cv_file_magic_cmd=/usr/bin/file 5026 case $host_cpu in 5027 ia64*) 5028 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5029 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5030 ;; 5031 hppa*64*) 5032 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]' 5033 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5034 ;; 5035 *) 5036 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 5037 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5038 ;; 5039 esac 5040 ;; 5041 5042interix[3-9]*) 5043 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5044 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5045 ;; 5046 5047irix5* | irix6* | nonstopux*) 5048 case $LD in 5049 *-32|*"-32 ") libmagic=32-bit;; 5050 *-n32|*"-n32 ") libmagic=N32;; 5051 *-64|*"-64 ") libmagic=64-bit;; 5052 *) libmagic=never-match;; 5053 esac 5054 lt_cv_deplibs_check_method=pass_all 5055 ;; 5056 5057# This must be Linux ELF. 5058linux* | k*bsd*-gnu | kopensolaris*-gnu) 5059 lt_cv_deplibs_check_method=pass_all 5060 ;; 5061 5062netbsd* | netbsdelf*-gnu) 5063 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5064 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5065 else 5066 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5067 fi 5068 ;; 5069 5070newos6*) 5071 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5072 lt_cv_file_magic_cmd=/usr/bin/file 5073 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5074 ;; 5075 5076*nto* | *qnx*) 5077 lt_cv_deplibs_check_method=pass_all 5078 ;; 5079 5080openbsd*) 5081 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 5082 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5083 else 5084 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5085 fi 5086 ;; 5087 5088osf3* | osf4* | osf5*) 5089 lt_cv_deplibs_check_method=pass_all 5090 ;; 5091 5092rdos*) 5093 lt_cv_deplibs_check_method=pass_all 5094 ;; 5095 5096solaris*) 5097 lt_cv_deplibs_check_method=pass_all 5098 ;; 5099 5100sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5101 lt_cv_deplibs_check_method=pass_all 5102 ;; 5103 5104sysv4 | sysv4.3*) 5105 case $host_vendor in 5106 motorola) 5107 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]' 5108 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5109 ;; 5110 ncr) 5111 lt_cv_deplibs_check_method=pass_all 5112 ;; 5113 sequent) 5114 lt_cv_file_magic_cmd='/bin/file' 5115 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5116 ;; 5117 sni) 5118 lt_cv_file_magic_cmd='/bin/file' 5119 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5120 lt_cv_file_magic_test_file=/lib/libc.so 5121 ;; 5122 siemens) 5123 lt_cv_deplibs_check_method=pass_all 5124 ;; 5125 pc) 5126 lt_cv_deplibs_check_method=pass_all 5127 ;; 5128 esac 5129 ;; 5130 5131tpf*) 5132 lt_cv_deplibs_check_method=pass_all 5133 ;; 5134esac 5135 5136fi 5137{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5138$as_echo "$lt_cv_deplibs_check_method" >&6; } 5139file_magic_cmd=$lt_cv_file_magic_cmd 5140deplibs_check_method=$lt_cv_deplibs_check_method 5141test -z "$deplibs_check_method" && deplibs_check_method=unknown 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154if test -n "$ac_tool_prefix"; then 5155 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 5156set dummy ${ac_tool_prefix}ar; ac_word=$2 5157{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5158$as_echo_n "checking for $ac_word... " >&6; } 5159if test "${ac_cv_prog_AR+set}" = set; then : 5160 $as_echo_n "(cached) " >&6 5161else 5162 if test -n "$AR"; then 5163 ac_cv_prog_AR="$AR" # Let the user override the test. 5164else 5165as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5166for as_dir in $PATH 5167do 5168 IFS=$as_save_IFS 5169 test -z "$as_dir" && as_dir=. 5170 for ac_exec_ext in '' $ac_executable_extensions; do 5171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5172 ac_cv_prog_AR="${ac_tool_prefix}ar" 5173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5174 break 2 5175 fi 5176done 5177 done 5178IFS=$as_save_IFS 5179 5180fi 5181fi 5182AR=$ac_cv_prog_AR 5183if test -n "$AR"; then 5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5185$as_echo "$AR" >&6; } 5186else 5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5188$as_echo "no" >&6; } 5189fi 5190 5191 5192fi 5193if test -z "$ac_cv_prog_AR"; then 5194 ac_ct_AR=$AR 5195 # Extract the first word of "ar", so it can be a program name with args. 5196set dummy ar; ac_word=$2 5197{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5198$as_echo_n "checking for $ac_word... " >&6; } 5199if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : 5200 $as_echo_n "(cached) " >&6 5201else 5202 if test -n "$ac_ct_AR"; then 5203 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5204else 5205as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5206for as_dir in $PATH 5207do 5208 IFS=$as_save_IFS 5209 test -z "$as_dir" && as_dir=. 5210 for ac_exec_ext in '' $ac_executable_extensions; do 5211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5212 ac_cv_prog_ac_ct_AR="ar" 5213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5214 break 2 5215 fi 5216done 5217 done 5218IFS=$as_save_IFS 5219 5220fi 5221fi 5222ac_ct_AR=$ac_cv_prog_ac_ct_AR 5223if test -n "$ac_ct_AR"; then 5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5225$as_echo "$ac_ct_AR" >&6; } 5226else 5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5228$as_echo "no" >&6; } 5229fi 5230 5231 if test "x$ac_ct_AR" = x; then 5232 AR="false" 5233 else 5234 case $cross_compiling:$ac_tool_warned in 5235yes:) 5236{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5237$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5238ac_tool_warned=yes ;; 5239esac 5240 AR=$ac_ct_AR 5241 fi 5242else 5243 AR="$ac_cv_prog_AR" 5244fi 5245 5246test -z "$AR" && AR=ar 5247test -z "$AR_FLAGS" && AR_FLAGS=cru 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259if test -n "$ac_tool_prefix"; then 5260 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5261set dummy ${ac_tool_prefix}strip; ac_word=$2 5262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5263$as_echo_n "checking for $ac_word... " >&6; } 5264if test "${ac_cv_prog_STRIP+set}" = set; then : 5265 $as_echo_n "(cached) " >&6 5266else 5267 if test -n "$STRIP"; then 5268 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5269else 5270as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5271for as_dir in $PATH 5272do 5273 IFS=$as_save_IFS 5274 test -z "$as_dir" && as_dir=. 5275 for ac_exec_ext in '' $ac_executable_extensions; do 5276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5277 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5279 break 2 5280 fi 5281done 5282 done 5283IFS=$as_save_IFS 5284 5285fi 5286fi 5287STRIP=$ac_cv_prog_STRIP 5288if test -n "$STRIP"; then 5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5290$as_echo "$STRIP" >&6; } 5291else 5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5293$as_echo "no" >&6; } 5294fi 5295 5296 5297fi 5298if test -z "$ac_cv_prog_STRIP"; then 5299 ac_ct_STRIP=$STRIP 5300 # Extract the first word of "strip", so it can be a program name with args. 5301set dummy strip; ac_word=$2 5302{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5303$as_echo_n "checking for $ac_word... " >&6; } 5304if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 5305 $as_echo_n "(cached) " >&6 5306else 5307 if test -n "$ac_ct_STRIP"; then 5308 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5309else 5310as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5311for as_dir in $PATH 5312do 5313 IFS=$as_save_IFS 5314 test -z "$as_dir" && as_dir=. 5315 for ac_exec_ext in '' $ac_executable_extensions; do 5316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5317 ac_cv_prog_ac_ct_STRIP="strip" 5318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5319 break 2 5320 fi 5321done 5322 done 5323IFS=$as_save_IFS 5324 5325fi 5326fi 5327ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5328if test -n "$ac_ct_STRIP"; then 5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5330$as_echo "$ac_ct_STRIP" >&6; } 5331else 5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5333$as_echo "no" >&6; } 5334fi 5335 5336 if test "x$ac_ct_STRIP" = x; then 5337 STRIP=":" 5338 else 5339 case $cross_compiling:$ac_tool_warned in 5340yes:) 5341{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5342$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5343ac_tool_warned=yes ;; 5344esac 5345 STRIP=$ac_ct_STRIP 5346 fi 5347else 5348 STRIP="$ac_cv_prog_STRIP" 5349fi 5350 5351test -z "$STRIP" && STRIP=: 5352 5353 5354 5355 5356 5357 5358if test -n "$ac_tool_prefix"; then 5359 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5360set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5362$as_echo_n "checking for $ac_word... " >&6; } 5363if test "${ac_cv_prog_RANLIB+set}" = set; then : 5364 $as_echo_n "(cached) " >&6 5365else 5366 if test -n "$RANLIB"; then 5367 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5368else 5369as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5370for as_dir in $PATH 5371do 5372 IFS=$as_save_IFS 5373 test -z "$as_dir" && as_dir=. 5374 for ac_exec_ext in '' $ac_executable_extensions; do 5375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5376 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5378 break 2 5379 fi 5380done 5381 done 5382IFS=$as_save_IFS 5383 5384fi 5385fi 5386RANLIB=$ac_cv_prog_RANLIB 5387if test -n "$RANLIB"; then 5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5389$as_echo "$RANLIB" >&6; } 5390else 5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5392$as_echo "no" >&6; } 5393fi 5394 5395 5396fi 5397if test -z "$ac_cv_prog_RANLIB"; then 5398 ac_ct_RANLIB=$RANLIB 5399 # Extract the first word of "ranlib", so it can be a program name with args. 5400set dummy ranlib; ac_word=$2 5401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5402$as_echo_n "checking for $ac_word... " >&6; } 5403if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 5404 $as_echo_n "(cached) " >&6 5405else 5406 if test -n "$ac_ct_RANLIB"; then 5407 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5408else 5409as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5410for as_dir in $PATH 5411do 5412 IFS=$as_save_IFS 5413 test -z "$as_dir" && as_dir=. 5414 for ac_exec_ext in '' $ac_executable_extensions; do 5415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5416 ac_cv_prog_ac_ct_RANLIB="ranlib" 5417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5418 break 2 5419 fi 5420done 5421 done 5422IFS=$as_save_IFS 5423 5424fi 5425fi 5426ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5427if test -n "$ac_ct_RANLIB"; then 5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 5429$as_echo "$ac_ct_RANLIB" >&6; } 5430else 5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5432$as_echo "no" >&6; } 5433fi 5434 5435 if test "x$ac_ct_RANLIB" = x; then 5436 RANLIB=":" 5437 else 5438 case $cross_compiling:$ac_tool_warned in 5439yes:) 5440{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5441$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5442ac_tool_warned=yes ;; 5443esac 5444 RANLIB=$ac_ct_RANLIB 5445 fi 5446else 5447 RANLIB="$ac_cv_prog_RANLIB" 5448fi 5449 5450test -z "$RANLIB" && RANLIB=: 5451 5452 5453 5454 5455 5456 5457# Determine commands to create old-style static archives. 5458old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 5459old_postinstall_cmds='chmod 644 $oldlib' 5460old_postuninstall_cmds= 5461 5462if test -n "$RANLIB"; then 5463 case $host_os in 5464 openbsd*) 5465 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 5466 ;; 5467 *) 5468 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 5469 ;; 5470 esac 5471 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 5472fi 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507# If no C compiler was specified, use CC. 5508LTCC=${LTCC-"$CC"} 5509 5510# If no C compiler flags were specified, use CFLAGS. 5511LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 5512 5513# Allow CC to be a program name with arguments. 5514compiler=$CC 5515 5516 5517# Check for command to grab the raw symbol name followed by C symbol from nm. 5518{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 5519$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 5520if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : 5521 $as_echo_n "(cached) " >&6 5522else 5523 5524# These are sane defaults that work on at least a few old systems. 5525# [They come from Ultrix. What could be older than Ultrix?!! ;)] 5526 5527# Character class describing NM global symbol codes. 5528symcode='[BCDEGRST]' 5529 5530# Regexp to match symbols that can be accessed directly from C. 5531sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 5532 5533# Define system-specific variables. 5534case $host_os in 5535aix*) 5536 symcode='[BCDT]' 5537 ;; 5538cygwin* | mingw* | pw32* | cegcc*) 5539 symcode='[ABCDGISTW]' 5540 ;; 5541hpux*) 5542 if test "$host_cpu" = ia64; then 5543 symcode='[ABCDEGRST]' 5544 fi 5545 ;; 5546irix* | nonstopux*) 5547 symcode='[BCDEGRST]' 5548 ;; 5549osf*) 5550 symcode='[BCDEGQRST]' 5551 ;; 5552solaris*) 5553 symcode='[BDRT]' 5554 ;; 5555sco3.2v5*) 5556 symcode='[DT]' 5557 ;; 5558sysv4.2uw2*) 5559 symcode='[DT]' 5560 ;; 5561sysv5* | sco5v6* | unixware* | OpenUNIX*) 5562 symcode='[ABDT]' 5563 ;; 5564sysv4) 5565 symcode='[DFNSTU]' 5566 ;; 5567esac 5568 5569# If we're using GNU nm, then use its standard symbol codes. 5570case `$NM -V 2>&1` in 5571*GNU* | *'with BFD'*) 5572 symcode='[ABCDGIRSTW]' ;; 5573esac 5574 5575# Transform an extracted symbol line into a proper C declaration. 5576# Some systems (esp. on ia64) link data and code symbols differently, 5577# so use this general approach. 5578lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 5579 5580# Transform an extracted symbol line into symbol name and symbol address 5581lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 5582lt_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'" 5583 5584# Handle CRLF in mingw tool chain 5585opt_cr= 5586case $build_os in 5587mingw*) 5588 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 5589 ;; 5590esac 5591 5592# Try without a prefix underscore, then with it. 5593for ac_symprfx in "" "_"; do 5594 5595 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 5596 symxfrm="\\1 $ac_symprfx\\2 \\2" 5597 5598 # Write the raw and C identifiers. 5599 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 5600 # Fake it for dumpbin and say T for any non-static function 5601 # and D for any global variable. 5602 # Also find C++ and __fastcall symbols from MSVC++, 5603 # which start with @ or ?. 5604 lt_cv_sys_global_symbol_pipe="$AWK '"\ 5605" {last_section=section; section=\$ 3};"\ 5606" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 5607" \$ 0!~/External *\|/{next};"\ 5608" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 5609" {if(hide[section]) next};"\ 5610" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 5611" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 5612" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 5613" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 5614" ' prfx=^$ac_symprfx" 5615 else 5616 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 5617 fi 5618 5619 # Check to see that the pipe works correctly. 5620 pipe_works=no 5621 5622 rm -f conftest* 5623 cat > conftest.$ac_ext <<_LT_EOF 5624#ifdef __cplusplus 5625extern "C" { 5626#endif 5627char nm_test_var; 5628void nm_test_func(void); 5629void nm_test_func(void){} 5630#ifdef __cplusplus 5631} 5632#endif 5633int main(){nm_test_var='a';nm_test_func();return(0);} 5634_LT_EOF 5635 5636 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 5637 (eval $ac_compile) 2>&5 5638 ac_status=$? 5639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5640 test $ac_status = 0; }; then 5641 # Now try to grab the symbols. 5642 nlist=conftest.nm 5643 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 5644 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 5645 ac_status=$? 5646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5647 test $ac_status = 0; } && test -s "$nlist"; then 5648 # Try sorting and uniquifying the output. 5649 if sort "$nlist" | uniq > "$nlist"T; then 5650 mv -f "$nlist"T "$nlist" 5651 else 5652 rm -f "$nlist"T 5653 fi 5654 5655 # Make sure that we snagged all the symbols we need. 5656 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 5657 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 5658 cat <<_LT_EOF > conftest.$ac_ext 5659#ifdef __cplusplus 5660extern "C" { 5661#endif 5662 5663_LT_EOF 5664 # Now generate the symbol file. 5665 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 5666 5667 cat <<_LT_EOF >> conftest.$ac_ext 5668 5669/* The mapping between symbol names and symbols. */ 5670const struct { 5671 const char *name; 5672 void *address; 5673} 5674lt__PROGRAM__LTX_preloaded_symbols[] = 5675{ 5676 { "@PROGRAM@", (void *) 0 }, 5677_LT_EOF 5678 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 5679 cat <<\_LT_EOF >> conftest.$ac_ext 5680 {0, (void *) 0} 5681}; 5682 5683/* This works around a problem in FreeBSD linker */ 5684#ifdef FREEBSD_WORKAROUND 5685static const void *lt_preloaded_setup() { 5686 return lt__PROGRAM__LTX_preloaded_symbols; 5687} 5688#endif 5689 5690#ifdef __cplusplus 5691} 5692#endif 5693_LT_EOF 5694 # Now try linking the two files. 5695 mv conftest.$ac_objext conftstm.$ac_objext 5696 lt_save_LIBS="$LIBS" 5697 lt_save_CFLAGS="$CFLAGS" 5698 LIBS="conftstm.$ac_objext" 5699 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 5700 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 5701 (eval $ac_link) 2>&5 5702 ac_status=$? 5703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5704 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 5705 pipe_works=yes 5706 fi 5707 LIBS="$lt_save_LIBS" 5708 CFLAGS="$lt_save_CFLAGS" 5709 else 5710 echo "cannot find nm_test_func in $nlist" >&5 5711 fi 5712 else 5713 echo "cannot find nm_test_var in $nlist" >&5 5714 fi 5715 else 5716 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 5717 fi 5718 else 5719 echo "$progname: failed program was:" >&5 5720 cat conftest.$ac_ext >&5 5721 fi 5722 rm -rf conftest* conftst* 5723 5724 # Do not use the global_symbol_pipe unless it works. 5725 if test "$pipe_works" = yes; then 5726 break 5727 else 5728 lt_cv_sys_global_symbol_pipe= 5729 fi 5730done 5731 5732fi 5733 5734if test -z "$lt_cv_sys_global_symbol_pipe"; then 5735 lt_cv_sys_global_symbol_to_cdecl= 5736fi 5737if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 5739$as_echo "failed" >&6; } 5740else 5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 5742$as_echo "ok" >&6; } 5743fi 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767# Check whether --enable-libtool-lock was given. 5768if test "${enable_libtool_lock+set}" = set; then : 5769 enableval=$enable_libtool_lock; 5770fi 5771 5772test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 5773 5774# Some flags need to be propagated to the compiler or linker for good 5775# libtool support. 5776case $host in 5777ia64-*-hpux*) 5778 # Find out which ABI we are using. 5779 echo 'int i;' > conftest.$ac_ext 5780 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 5781 (eval $ac_compile) 2>&5 5782 ac_status=$? 5783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5784 test $ac_status = 0; }; then 5785 case `/usr/bin/file conftest.$ac_objext` in 5786 *ELF-32*) 5787 HPUX_IA64_MODE="32" 5788 ;; 5789 *ELF-64*) 5790 HPUX_IA64_MODE="64" 5791 ;; 5792 esac 5793 fi 5794 rm -rf conftest* 5795 ;; 5796*-*-irix6*) 5797 # Find out which ABI we are using. 5798 echo '#line 5798 "configure"' > conftest.$ac_ext 5799 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 5800 (eval $ac_compile) 2>&5 5801 ac_status=$? 5802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5803 test $ac_status = 0; }; then 5804 if test "$lt_cv_prog_gnu_ld" = yes; then 5805 case `/usr/bin/file conftest.$ac_objext` in 5806 *32-bit*) 5807 LD="${LD-ld} -melf32bsmip" 5808 ;; 5809 *N32*) 5810 LD="${LD-ld} -melf32bmipn32" 5811 ;; 5812 *64-bit*) 5813 LD="${LD-ld} -melf64bmip" 5814 ;; 5815 esac 5816 else 5817 case `/usr/bin/file conftest.$ac_objext` in 5818 *32-bit*) 5819 LD="${LD-ld} -32" 5820 ;; 5821 *N32*) 5822 LD="${LD-ld} -n32" 5823 ;; 5824 *64-bit*) 5825 LD="${LD-ld} -64" 5826 ;; 5827 esac 5828 fi 5829 fi 5830 rm -rf conftest* 5831 ;; 5832 5833x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 5834s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 5835 # Find out which ABI we are using. 5836 echo 'int i;' > conftest.$ac_ext 5837 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 5838 (eval $ac_compile) 2>&5 5839 ac_status=$? 5840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5841 test $ac_status = 0; }; then 5842 case `/usr/bin/file conftest.o` in 5843 *32-bit*) 5844 case $host in 5845 x86_64-*kfreebsd*-gnu) 5846 LD="${LD-ld} -m elf_i386_fbsd" 5847 ;; 5848 x86_64-*linux*) 5849 LD="${LD-ld} -m elf_i386" 5850 ;; 5851 ppc64-*linux*|powerpc64-*linux*) 5852 LD="${LD-ld} -m elf32ppclinux" 5853 ;; 5854 s390x-*linux*) 5855 LD="${LD-ld} -m elf_s390" 5856 ;; 5857 sparc64-*linux*) 5858 LD="${LD-ld} -m elf32_sparc" 5859 ;; 5860 esac 5861 ;; 5862 *64-bit*) 5863 case $host in 5864 x86_64-*kfreebsd*-gnu) 5865 LD="${LD-ld} -m elf_x86_64_fbsd" 5866 ;; 5867 x86_64-*linux*) 5868 LD="${LD-ld} -m elf_x86_64" 5869 ;; 5870 ppc*-*linux*|powerpc*-*linux*) 5871 LD="${LD-ld} -m elf64ppc" 5872 ;; 5873 s390*-*linux*|s390*-*tpf*) 5874 LD="${LD-ld} -m elf64_s390" 5875 ;; 5876 sparc*-*linux*) 5877 LD="${LD-ld} -m elf64_sparc" 5878 ;; 5879 esac 5880 ;; 5881 esac 5882 fi 5883 rm -rf conftest* 5884 ;; 5885 5886*-*-sco3.2v5*) 5887 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 5888 SAVE_CFLAGS="$CFLAGS" 5889 CFLAGS="$CFLAGS -belf" 5890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 5891$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 5892if test "${lt_cv_cc_needs_belf+set}" = set; then : 5893 $as_echo_n "(cached) " >&6 5894else 5895 ac_ext=c 5896ac_cpp='$CPP $CPPFLAGS' 5897ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5898ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5899ac_compiler_gnu=$ac_cv_c_compiler_gnu 5900 5901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5902/* end confdefs.h. */ 5903 5904int 5905main () 5906{ 5907 5908 ; 5909 return 0; 5910} 5911_ACEOF 5912if ac_fn_c_try_link "$LINENO"; then : 5913 lt_cv_cc_needs_belf=yes 5914else 5915 lt_cv_cc_needs_belf=no 5916fi 5917rm -f core conftest.err conftest.$ac_objext \ 5918 conftest$ac_exeext conftest.$ac_ext 5919 ac_ext=c 5920ac_cpp='$CPP $CPPFLAGS' 5921ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5922ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5923ac_compiler_gnu=$ac_cv_c_compiler_gnu 5924 5925fi 5926{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 5927$as_echo "$lt_cv_cc_needs_belf" >&6; } 5928 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 5929 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 5930 CFLAGS="$SAVE_CFLAGS" 5931 fi 5932 ;; 5933sparc*-*solaris*) 5934 # Find out which ABI we are using. 5935 echo 'int i;' > conftest.$ac_ext 5936 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 5937 (eval $ac_compile) 2>&5 5938 ac_status=$? 5939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5940 test $ac_status = 0; }; then 5941 case `/usr/bin/file conftest.o` in 5942 *64-bit*) 5943 case $lt_cv_prog_gnu_ld in 5944 yes*) LD="${LD-ld} -m elf64_sparc" ;; 5945 *) 5946 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 5947 LD="${LD-ld} -64" 5948 fi 5949 ;; 5950 esac 5951 ;; 5952 esac 5953 fi 5954 rm -rf conftest* 5955 ;; 5956esac 5957 5958need_locks="$enable_libtool_lock" 5959 5960 5961 case $host_os in 5962 rhapsody* | darwin*) 5963 if test -n "$ac_tool_prefix"; then 5964 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 5965set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 5966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5967$as_echo_n "checking for $ac_word... " >&6; } 5968if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : 5969 $as_echo_n "(cached) " >&6 5970else 5971 if test -n "$DSYMUTIL"; then 5972 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 5973else 5974as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5975for as_dir in $PATH 5976do 5977 IFS=$as_save_IFS 5978 test -z "$as_dir" && as_dir=. 5979 for ac_exec_ext in '' $ac_executable_extensions; do 5980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5981 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 5982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5983 break 2 5984 fi 5985done 5986 done 5987IFS=$as_save_IFS 5988 5989fi 5990fi 5991DSYMUTIL=$ac_cv_prog_DSYMUTIL 5992if test -n "$DSYMUTIL"; then 5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 5994$as_echo "$DSYMUTIL" >&6; } 5995else 5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5997$as_echo "no" >&6; } 5998fi 5999 6000 6001fi 6002if test -z "$ac_cv_prog_DSYMUTIL"; then 6003 ac_ct_DSYMUTIL=$DSYMUTIL 6004 # Extract the first word of "dsymutil", so it can be a program name with args. 6005set dummy dsymutil; ac_word=$2 6006{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6007$as_echo_n "checking for $ac_word... " >&6; } 6008if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : 6009 $as_echo_n "(cached) " >&6 6010else 6011 if test -n "$ac_ct_DSYMUTIL"; then 6012 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6013else 6014as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6015for as_dir in $PATH 6016do 6017 IFS=$as_save_IFS 6018 test -z "$as_dir" && as_dir=. 6019 for ac_exec_ext in '' $ac_executable_extensions; do 6020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6021 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6023 break 2 6024 fi 6025done 6026 done 6027IFS=$as_save_IFS 6028 6029fi 6030fi 6031ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6032if test -n "$ac_ct_DSYMUTIL"; then 6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 6034$as_echo "$ac_ct_DSYMUTIL" >&6; } 6035else 6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6037$as_echo "no" >&6; } 6038fi 6039 6040 if test "x$ac_ct_DSYMUTIL" = x; then 6041 DSYMUTIL=":" 6042 else 6043 case $cross_compiling:$ac_tool_warned in 6044yes:) 6045{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6046$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6047ac_tool_warned=yes ;; 6048esac 6049 DSYMUTIL=$ac_ct_DSYMUTIL 6050 fi 6051else 6052 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6053fi 6054 6055 if test -n "$ac_tool_prefix"; then 6056 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6057set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6059$as_echo_n "checking for $ac_word... " >&6; } 6060if test "${ac_cv_prog_NMEDIT+set}" = set; then : 6061 $as_echo_n "(cached) " >&6 6062else 6063 if test -n "$NMEDIT"; then 6064 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6065else 6066as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6067for as_dir in $PATH 6068do 6069 IFS=$as_save_IFS 6070 test -z "$as_dir" && as_dir=. 6071 for ac_exec_ext in '' $ac_executable_extensions; do 6072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6073 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6075 break 2 6076 fi 6077done 6078 done 6079IFS=$as_save_IFS 6080 6081fi 6082fi 6083NMEDIT=$ac_cv_prog_NMEDIT 6084if test -n "$NMEDIT"; then 6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 6086$as_echo "$NMEDIT" >&6; } 6087else 6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6089$as_echo "no" >&6; } 6090fi 6091 6092 6093fi 6094if test -z "$ac_cv_prog_NMEDIT"; then 6095 ac_ct_NMEDIT=$NMEDIT 6096 # Extract the first word of "nmedit", so it can be a program name with args. 6097set dummy nmedit; ac_word=$2 6098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6099$as_echo_n "checking for $ac_word... " >&6; } 6100if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : 6101 $as_echo_n "(cached) " >&6 6102else 6103 if test -n "$ac_ct_NMEDIT"; then 6104 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6105else 6106as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6107for as_dir in $PATH 6108do 6109 IFS=$as_save_IFS 6110 test -z "$as_dir" && as_dir=. 6111 for ac_exec_ext in '' $ac_executable_extensions; do 6112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6113 ac_cv_prog_ac_ct_NMEDIT="nmedit" 6114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6115 break 2 6116 fi 6117done 6118 done 6119IFS=$as_save_IFS 6120 6121fi 6122fi 6123ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 6124if test -n "$ac_ct_NMEDIT"; then 6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 6126$as_echo "$ac_ct_NMEDIT" >&6; } 6127else 6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6129$as_echo "no" >&6; } 6130fi 6131 6132 if test "x$ac_ct_NMEDIT" = x; then 6133 NMEDIT=":" 6134 else 6135 case $cross_compiling:$ac_tool_warned in 6136yes:) 6137{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6138$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6139ac_tool_warned=yes ;; 6140esac 6141 NMEDIT=$ac_ct_NMEDIT 6142 fi 6143else 6144 NMEDIT="$ac_cv_prog_NMEDIT" 6145fi 6146 6147 if test -n "$ac_tool_prefix"; then 6148 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 6149set dummy ${ac_tool_prefix}lipo; ac_word=$2 6150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6151$as_echo_n "checking for $ac_word... " >&6; } 6152if test "${ac_cv_prog_LIPO+set}" = set; then : 6153 $as_echo_n "(cached) " >&6 6154else 6155 if test -n "$LIPO"; then 6156 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 6157else 6158as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6159for as_dir in $PATH 6160do 6161 IFS=$as_save_IFS 6162 test -z "$as_dir" && as_dir=. 6163 for ac_exec_ext in '' $ac_executable_extensions; do 6164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6165 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 6166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6167 break 2 6168 fi 6169done 6170 done 6171IFS=$as_save_IFS 6172 6173fi 6174fi 6175LIPO=$ac_cv_prog_LIPO 6176if test -n "$LIPO"; then 6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 6178$as_echo "$LIPO" >&6; } 6179else 6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6181$as_echo "no" >&6; } 6182fi 6183 6184 6185fi 6186if test -z "$ac_cv_prog_LIPO"; then 6187 ac_ct_LIPO=$LIPO 6188 # Extract the first word of "lipo", so it can be a program name with args. 6189set dummy lipo; ac_word=$2 6190{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6191$as_echo_n "checking for $ac_word... " >&6; } 6192if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : 6193 $as_echo_n "(cached) " >&6 6194else 6195 if test -n "$ac_ct_LIPO"; then 6196 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 6197else 6198as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6199for as_dir in $PATH 6200do 6201 IFS=$as_save_IFS 6202 test -z "$as_dir" && as_dir=. 6203 for ac_exec_ext in '' $ac_executable_extensions; do 6204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6205 ac_cv_prog_ac_ct_LIPO="lipo" 6206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6207 break 2 6208 fi 6209done 6210 done 6211IFS=$as_save_IFS 6212 6213fi 6214fi 6215ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 6216if test -n "$ac_ct_LIPO"; then 6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 6218$as_echo "$ac_ct_LIPO" >&6; } 6219else 6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6221$as_echo "no" >&6; } 6222fi 6223 6224 if test "x$ac_ct_LIPO" = x; then 6225 LIPO=":" 6226 else 6227 case $cross_compiling:$ac_tool_warned in 6228yes:) 6229{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6230$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6231ac_tool_warned=yes ;; 6232esac 6233 LIPO=$ac_ct_LIPO 6234 fi 6235else 6236 LIPO="$ac_cv_prog_LIPO" 6237fi 6238 6239 if test -n "$ac_tool_prefix"; then 6240 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 6241set dummy ${ac_tool_prefix}otool; ac_word=$2 6242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6243$as_echo_n "checking for $ac_word... " >&6; } 6244if test "${ac_cv_prog_OTOOL+set}" = set; then : 6245 $as_echo_n "(cached) " >&6 6246else 6247 if test -n "$OTOOL"; then 6248 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 6249else 6250as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6251for as_dir in $PATH 6252do 6253 IFS=$as_save_IFS 6254 test -z "$as_dir" && as_dir=. 6255 for ac_exec_ext in '' $ac_executable_extensions; do 6256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6257 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 6258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6259 break 2 6260 fi 6261done 6262 done 6263IFS=$as_save_IFS 6264 6265fi 6266fi 6267OTOOL=$ac_cv_prog_OTOOL 6268if test -n "$OTOOL"; then 6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 6270$as_echo "$OTOOL" >&6; } 6271else 6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6273$as_echo "no" >&6; } 6274fi 6275 6276 6277fi 6278if test -z "$ac_cv_prog_OTOOL"; then 6279 ac_ct_OTOOL=$OTOOL 6280 # Extract the first word of "otool", so it can be a program name with args. 6281set dummy otool; ac_word=$2 6282{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6283$as_echo_n "checking for $ac_word... " >&6; } 6284if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : 6285 $as_echo_n "(cached) " >&6 6286else 6287 if test -n "$ac_ct_OTOOL"; then 6288 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 6289else 6290as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6291for as_dir in $PATH 6292do 6293 IFS=$as_save_IFS 6294 test -z "$as_dir" && as_dir=. 6295 for ac_exec_ext in '' $ac_executable_extensions; do 6296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6297 ac_cv_prog_ac_ct_OTOOL="otool" 6298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6299 break 2 6300 fi 6301done 6302 done 6303IFS=$as_save_IFS 6304 6305fi 6306fi 6307ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 6308if test -n "$ac_ct_OTOOL"; then 6309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 6310$as_echo "$ac_ct_OTOOL" >&6; } 6311else 6312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6313$as_echo "no" >&6; } 6314fi 6315 6316 if test "x$ac_ct_OTOOL" = x; then 6317 OTOOL=":" 6318 else 6319 case $cross_compiling:$ac_tool_warned in 6320yes:) 6321{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6322$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6323ac_tool_warned=yes ;; 6324esac 6325 OTOOL=$ac_ct_OTOOL 6326 fi 6327else 6328 OTOOL="$ac_cv_prog_OTOOL" 6329fi 6330 6331 if test -n "$ac_tool_prefix"; then 6332 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 6333set dummy ${ac_tool_prefix}otool64; ac_word=$2 6334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6335$as_echo_n "checking for $ac_word... " >&6; } 6336if test "${ac_cv_prog_OTOOL64+set}" = set; then : 6337 $as_echo_n "(cached) " >&6 6338else 6339 if test -n "$OTOOL64"; then 6340 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 6341else 6342as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6343for as_dir in $PATH 6344do 6345 IFS=$as_save_IFS 6346 test -z "$as_dir" && as_dir=. 6347 for ac_exec_ext in '' $ac_executable_extensions; do 6348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6349 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 6350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6351 break 2 6352 fi 6353done 6354 done 6355IFS=$as_save_IFS 6356 6357fi 6358fi 6359OTOOL64=$ac_cv_prog_OTOOL64 6360if test -n "$OTOOL64"; then 6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 6362$as_echo "$OTOOL64" >&6; } 6363else 6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6365$as_echo "no" >&6; } 6366fi 6367 6368 6369fi 6370if test -z "$ac_cv_prog_OTOOL64"; then 6371 ac_ct_OTOOL64=$OTOOL64 6372 # Extract the first word of "otool64", so it can be a program name with args. 6373set dummy otool64; ac_word=$2 6374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6375$as_echo_n "checking for $ac_word... " >&6; } 6376if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : 6377 $as_echo_n "(cached) " >&6 6378else 6379 if test -n "$ac_ct_OTOOL64"; then 6380 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 6381else 6382as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6383for as_dir in $PATH 6384do 6385 IFS=$as_save_IFS 6386 test -z "$as_dir" && as_dir=. 6387 for ac_exec_ext in '' $ac_executable_extensions; do 6388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6389 ac_cv_prog_ac_ct_OTOOL64="otool64" 6390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6391 break 2 6392 fi 6393done 6394 done 6395IFS=$as_save_IFS 6396 6397fi 6398fi 6399ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 6400if test -n "$ac_ct_OTOOL64"; then 6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 6402$as_echo "$ac_ct_OTOOL64" >&6; } 6403else 6404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6405$as_echo "no" >&6; } 6406fi 6407 6408 if test "x$ac_ct_OTOOL64" = x; then 6409 OTOOL64=":" 6410 else 6411 case $cross_compiling:$ac_tool_warned in 6412yes:) 6413{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6414$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6415ac_tool_warned=yes ;; 6416esac 6417 OTOOL64=$ac_ct_OTOOL64 6418 fi 6419else 6420 OTOOL64="$ac_cv_prog_OTOOL64" 6421fi 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 6450$as_echo_n "checking for -single_module linker flag... " >&6; } 6451if test "${lt_cv_apple_cc_single_mod+set}" = set; then : 6452 $as_echo_n "(cached) " >&6 6453else 6454 lt_cv_apple_cc_single_mod=no 6455 if test -z "${LT_MULTI_MODULE}"; then 6456 # By default we will add the -single_module flag. You can override 6457 # by either setting the environment variable LT_MULTI_MODULE 6458 # non-empty at configure time, or by adding -multi_module to the 6459 # link flags. 6460 rm -rf libconftest.dylib* 6461 echo "int foo(void){return 1;}" > conftest.c 6462 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 6463-dynamiclib -Wl,-single_module conftest.c" >&5 6464 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 6465 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 6466 _lt_result=$? 6467 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then 6468 lt_cv_apple_cc_single_mod=yes 6469 else 6470 cat conftest.err >&5 6471 fi 6472 rm -rf libconftest.dylib* 6473 rm -f conftest.* 6474 fi 6475fi 6476{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 6477$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 6478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 6479$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 6480if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : 6481 $as_echo_n "(cached) " >&6 6482else 6483 lt_cv_ld_exported_symbols_list=no 6484 save_LDFLAGS=$LDFLAGS 6485 echo "_main" > conftest.sym 6486 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 6487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6488/* end confdefs.h. */ 6489 6490int 6491main () 6492{ 6493 6494 ; 6495 return 0; 6496} 6497_ACEOF 6498if ac_fn_c_try_link "$LINENO"; then : 6499 lt_cv_ld_exported_symbols_list=yes 6500else 6501 lt_cv_ld_exported_symbols_list=no 6502fi 6503rm -f core conftest.err conftest.$ac_objext \ 6504 conftest$ac_exeext conftest.$ac_ext 6505 LDFLAGS="$save_LDFLAGS" 6506 6507fi 6508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 6509$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 6510 case $host_os in 6511 rhapsody* | darwin1.[012]) 6512 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 6513 darwin1.*) 6514 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 6515 darwin*) # darwin 5.x on 6516 # if running on 10.5 or later, the deployment target defaults 6517 # to the OS version, if on x86, and 10.4, the deployment 6518 # target defaults to 10.4. Don't you love it? 6519 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 6520 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 6521 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 6522 10.[012]*) 6523 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 6524 10.*) 6525 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 6526 esac 6527 ;; 6528 esac 6529 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 6530 _lt_dar_single_mod='$single_module' 6531 fi 6532 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 6533 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 6534 else 6535 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 6536 fi 6537 if test "$DSYMUTIL" != ":"; then 6538 _lt_dsymutil='~$DSYMUTIL $lib || :' 6539 else 6540 _lt_dsymutil= 6541 fi 6542 ;; 6543 esac 6544 6545ac_ext=c 6546ac_cpp='$CPP $CPPFLAGS' 6547ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6548ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6549ac_compiler_gnu=$ac_cv_c_compiler_gnu 6550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 6551$as_echo_n "checking how to run the C preprocessor... " >&6; } 6552# On Suns, sometimes $CPP names a directory. 6553if test -n "$CPP" && test -d "$CPP"; then 6554 CPP= 6555fi 6556if test -z "$CPP"; then 6557 if test "${ac_cv_prog_CPP+set}" = set; then : 6558 $as_echo_n "(cached) " >&6 6559else 6560 # Double quotes because CPP needs to be expanded 6561 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 6562 do 6563 ac_preproc_ok=false 6564for ac_c_preproc_warn_flag in '' yes 6565do 6566 # Use a header file that comes with gcc, so configuring glibc 6567 # with a fresh cross-compiler works. 6568 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6569 # <limits.h> exists even on freestanding compilers. 6570 # On the NeXT, cc -E runs the code through the compiler's parser, 6571 # not just through cpp. "Syntax error" is here to catch this case. 6572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6573/* end confdefs.h. */ 6574#ifdef __STDC__ 6575# include <limits.h> 6576#else 6577# include <assert.h> 6578#endif 6579 Syntax error 6580_ACEOF 6581if ac_fn_c_try_cpp "$LINENO"; then : 6582 6583else 6584 # Broken: fails on valid input. 6585continue 6586fi 6587rm -f conftest.err conftest.i conftest.$ac_ext 6588 6589 # OK, works on sane cases. Now check whether nonexistent headers 6590 # can be detected and how. 6591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6592/* end confdefs.h. */ 6593#include <ac_nonexistent.h> 6594_ACEOF 6595if ac_fn_c_try_cpp "$LINENO"; then : 6596 # Broken: success on invalid input. 6597continue 6598else 6599 # Passes both tests. 6600ac_preproc_ok=: 6601break 6602fi 6603rm -f conftest.err conftest.i conftest.$ac_ext 6604 6605done 6606# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6607rm -f conftest.i conftest.err conftest.$ac_ext 6608if $ac_preproc_ok; then : 6609 break 6610fi 6611 6612 done 6613 ac_cv_prog_CPP=$CPP 6614 6615fi 6616 CPP=$ac_cv_prog_CPP 6617else 6618 ac_cv_prog_CPP=$CPP 6619fi 6620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 6621$as_echo "$CPP" >&6; } 6622ac_preproc_ok=false 6623for ac_c_preproc_warn_flag in '' yes 6624do 6625 # Use a header file that comes with gcc, so configuring glibc 6626 # with a fresh cross-compiler works. 6627 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6628 # <limits.h> exists even on freestanding compilers. 6629 # On the NeXT, cc -E runs the code through the compiler's parser, 6630 # not just through cpp. "Syntax error" is here to catch this case. 6631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6632/* end confdefs.h. */ 6633#ifdef __STDC__ 6634# include <limits.h> 6635#else 6636# include <assert.h> 6637#endif 6638 Syntax error 6639_ACEOF 6640if ac_fn_c_try_cpp "$LINENO"; then : 6641 6642else 6643 # Broken: fails on valid input. 6644continue 6645fi 6646rm -f conftest.err conftest.i conftest.$ac_ext 6647 6648 # OK, works on sane cases. Now check whether nonexistent headers 6649 # can be detected and how. 6650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6651/* end confdefs.h. */ 6652#include <ac_nonexistent.h> 6653_ACEOF 6654if ac_fn_c_try_cpp "$LINENO"; then : 6655 # Broken: success on invalid input. 6656continue 6657else 6658 # Passes both tests. 6659ac_preproc_ok=: 6660break 6661fi 6662rm -f conftest.err conftest.i conftest.$ac_ext 6663 6664done 6665# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6666rm -f conftest.i conftest.err conftest.$ac_ext 6667if $ac_preproc_ok; then : 6668 6669else 6670 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6671$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6672as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 6673See \`config.log' for more details" "$LINENO" 5 ; } 6674fi 6675 6676ac_ext=c 6677ac_cpp='$CPP $CPPFLAGS' 6678ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6679ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6680ac_compiler_gnu=$ac_cv_c_compiler_gnu 6681 6682 6683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 6684$as_echo_n "checking for ANSI C header files... " >&6; } 6685if test "${ac_cv_header_stdc+set}" = set; then : 6686 $as_echo_n "(cached) " >&6 6687else 6688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6689/* end confdefs.h. */ 6690#include <stdlib.h> 6691#include <stdarg.h> 6692#include <string.h> 6693#include <float.h> 6694 6695int 6696main () 6697{ 6698 6699 ; 6700 return 0; 6701} 6702_ACEOF 6703if ac_fn_c_try_compile "$LINENO"; then : 6704 ac_cv_header_stdc=yes 6705else 6706 ac_cv_header_stdc=no 6707fi 6708rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6709 6710if test $ac_cv_header_stdc = yes; then 6711 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6713/* end confdefs.h. */ 6714#include <string.h> 6715 6716_ACEOF 6717if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6718 $EGREP "memchr" >/dev/null 2>&1; then : 6719 6720else 6721 ac_cv_header_stdc=no 6722fi 6723rm -f conftest* 6724 6725fi 6726 6727if test $ac_cv_header_stdc = yes; then 6728 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 6729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6730/* end confdefs.h. */ 6731#include <stdlib.h> 6732 6733_ACEOF 6734if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6735 $EGREP "free" >/dev/null 2>&1; then : 6736 6737else 6738 ac_cv_header_stdc=no 6739fi 6740rm -f conftest* 6741 6742fi 6743 6744if test $ac_cv_header_stdc = yes; then 6745 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 6746 if test "$cross_compiling" = yes; then : 6747 : 6748else 6749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6750/* end confdefs.h. */ 6751#include <ctype.h> 6752#include <stdlib.h> 6753#if ((' ' & 0x0FF) == 0x020) 6754# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 6755# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 6756#else 6757# define ISLOWER(c) \ 6758 (('a' <= (c) && (c) <= 'i') \ 6759 || ('j' <= (c) && (c) <= 'r') \ 6760 || ('s' <= (c) && (c) <= 'z')) 6761# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 6762#endif 6763 6764#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 6765int 6766main () 6767{ 6768 int i; 6769 for (i = 0; i < 256; i++) 6770 if (XOR (islower (i), ISLOWER (i)) 6771 || toupper (i) != TOUPPER (i)) 6772 return 2; 6773 return 0; 6774} 6775_ACEOF 6776if ac_fn_c_try_run "$LINENO"; then : 6777 6778else 6779 ac_cv_header_stdc=no 6780fi 6781rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6782 conftest.$ac_objext conftest.beam conftest.$ac_ext 6783fi 6784 6785fi 6786fi 6787{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 6788$as_echo "$ac_cv_header_stdc" >&6; } 6789if test $ac_cv_header_stdc = yes; then 6790 6791$as_echo "#define STDC_HEADERS 1" >>confdefs.h 6792 6793fi 6794 6795# On IRIX 5.3, sys/types and inttypes.h are conflicting. 6796for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 6797 inttypes.h stdint.h unistd.h 6798do : 6799 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6800ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 6801" 6802if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 6803 cat >>confdefs.h <<_ACEOF 6804#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6805_ACEOF 6806 6807fi 6808 6809done 6810 6811 6812for ac_header in dlfcn.h 6813do : 6814 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 6815" 6816if test "x$ac_cv_header_dlfcn_h" = x""yes; then : 6817 cat >>confdefs.h <<_ACEOF 6818#define HAVE_DLFCN_H 1 6819_ACEOF 6820 6821fi 6822 6823done 6824 6825 6826 6827# Set options 6828 6829 6830 6831 6832 enable_win32_dll=no 6833 6834 6835 # Check whether --enable-shared was given. 6836if test "${enable_shared+set}" = set; then : 6837 enableval=$enable_shared; p=${PACKAGE-default} 6838 case $enableval in 6839 yes) enable_shared=yes ;; 6840 no) enable_shared=no ;; 6841 *) 6842 enable_shared=no 6843 # Look at the argument we got. We use all the common list separators. 6844 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 6845 for pkg in $enableval; do 6846 IFS="$lt_save_ifs" 6847 if test "X$pkg" = "X$p"; then 6848 enable_shared=yes 6849 fi 6850 done 6851 IFS="$lt_save_ifs" 6852 ;; 6853 esac 6854else 6855 enable_shared=yes 6856fi 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868# Check whether --with-pic was given. 6869if test "${with_pic+set}" = set; then : 6870 withval=$with_pic; pic_mode="$withval" 6871else 6872 pic_mode=default 6873fi 6874 6875 6876test -z "$pic_mode" && pic_mode=default 6877 6878 6879 6880 6881 6882 6883 6884 # Check whether --enable-fast-install was given. 6885if test "${enable_fast_install+set}" = set; then : 6886 enableval=$enable_fast_install; p=${PACKAGE-default} 6887 case $enableval in 6888 yes) enable_fast_install=yes ;; 6889 no) enable_fast_install=no ;; 6890 *) 6891 enable_fast_install=no 6892 # Look at the argument we got. We use all the common list separators. 6893 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 6894 for pkg in $enableval; do 6895 IFS="$lt_save_ifs" 6896 if test "X$pkg" = "X$p"; then 6897 enable_fast_install=yes 6898 fi 6899 done 6900 IFS="$lt_save_ifs" 6901 ;; 6902 esac 6903else 6904 enable_fast_install=yes 6905fi 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917# This can be used to rebuild libtool when needed 6918LIBTOOL_DEPS="$ltmain" 6919 6920# Always use our own libtool. 6921LIBTOOL='$(SHELL) $(top_builddir)/libtool' 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947test -z "$LN_S" && LN_S="ln -s" 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962if test -n "${ZSH_VERSION+set}" ; then 6963 setopt NO_GLOB_SUBST 6964fi 6965 6966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 6967$as_echo_n "checking for objdir... " >&6; } 6968if test "${lt_cv_objdir+set}" = set; then : 6969 $as_echo_n "(cached) " >&6 6970else 6971 rm -f .libs 2>/dev/null 6972mkdir .libs 2>/dev/null 6973if test -d .libs; then 6974 lt_cv_objdir=.libs 6975else 6976 # MS-DOS does not allow filenames that begin with a dot. 6977 lt_cv_objdir=_libs 6978fi 6979rmdir .libs 2>/dev/null 6980fi 6981{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 6982$as_echo "$lt_cv_objdir" >&6; } 6983objdir=$lt_cv_objdir 6984 6985 6986 6987 6988 6989cat >>confdefs.h <<_ACEOF 6990#define LT_OBJDIR "$lt_cv_objdir/" 6991_ACEOF 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009case $host_os in 7010aix3*) 7011 # AIX sometimes has problems with the GCC collect2 program. For some 7012 # reason, if we set the COLLECT_NAMES environment variable, the problems 7013 # vanish in a puff of smoke. 7014 if test "X${COLLECT_NAMES+set}" != Xset; then 7015 COLLECT_NAMES= 7016 export COLLECT_NAMES 7017 fi 7018 ;; 7019esac 7020 7021# Sed substitution that helps us do robust quoting. It backslashifies 7022# metacharacters that are still active within double-quoted strings. 7023sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 7024 7025# Same as above, but do not quote variable references. 7026double_quote_subst='s/\(["`\\]\)/\\\1/g' 7027 7028# Sed substitution to delay expansion of an escaped shell variable in a 7029# double_quote_subst'ed string. 7030delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 7031 7032# Sed substitution to delay expansion of an escaped single quote. 7033delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 7034 7035# Sed substitution to avoid accidental globbing in evaled expressions 7036no_glob_subst='s/\*/\\\*/g' 7037 7038# Global variables: 7039ofile=libtool 7040can_build_shared=yes 7041 7042# All known linkers require a `.a' archive for static linking (except MSVC, 7043# which needs '.lib'). 7044libext=a 7045 7046with_gnu_ld="$lt_cv_prog_gnu_ld" 7047 7048old_CC="$CC" 7049old_CFLAGS="$CFLAGS" 7050 7051# Set sane defaults for various variables 7052test -z "$CC" && CC=cc 7053test -z "$LTCC" && LTCC=$CC 7054test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7055test -z "$LD" && LD=ld 7056test -z "$ac_objext" && ac_objext=o 7057 7058for cc_temp in $compiler""; do 7059 case $cc_temp in 7060 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7061 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7062 \-*) ;; 7063 *) break;; 7064 esac 7065done 7066cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 7067 7068 7069# Only perform the check for file, if the check method requires it 7070test -z "$MAGIC_CMD" && MAGIC_CMD=file 7071case $deplibs_check_method in 7072file_magic*) 7073 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 7075$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 7076if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 7077 $as_echo_n "(cached) " >&6 7078else 7079 case $MAGIC_CMD in 7080[\\/*] | ?:[\\/]*) 7081 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7082 ;; 7083*) 7084 lt_save_MAGIC_CMD="$MAGIC_CMD" 7085 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7086 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7087 for ac_dir in $ac_dummy; do 7088 IFS="$lt_save_ifs" 7089 test -z "$ac_dir" && ac_dir=. 7090 if test -f $ac_dir/${ac_tool_prefix}file; then 7091 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 7092 if test -n "$file_magic_test_file"; then 7093 case $deplibs_check_method in 7094 "file_magic "*) 7095 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7096 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7097 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7098 $EGREP "$file_magic_regex" > /dev/null; then 7099 : 7100 else 7101 cat <<_LT_EOF 1>&2 7102 7103*** Warning: the command libtool uses to detect shared libraries, 7104*** $file_magic_cmd, produces output that libtool cannot recognize. 7105*** The result is that libtool may fail to recognize shared libraries 7106*** as such. This will affect the creation of libtool libraries that 7107*** depend on shared libraries, but programs linked with such libtool 7108*** libraries will work regardless of this problem. Nevertheless, you 7109*** may want to report the problem to your system manager and/or to 7110*** bug-libtool@gnu.org 7111 7112_LT_EOF 7113 fi ;; 7114 esac 7115 fi 7116 break 7117 fi 7118 done 7119 IFS="$lt_save_ifs" 7120 MAGIC_CMD="$lt_save_MAGIC_CMD" 7121 ;; 7122esac 7123fi 7124 7125MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7126if test -n "$MAGIC_CMD"; then 7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7128$as_echo "$MAGIC_CMD" >&6; } 7129else 7130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7131$as_echo "no" >&6; } 7132fi 7133 7134 7135 7136 7137 7138if test -z "$lt_cv_path_MAGIC_CMD"; then 7139 if test -n "$ac_tool_prefix"; then 7140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 7141$as_echo_n "checking for file... " >&6; } 7142if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 7143 $as_echo_n "(cached) " >&6 7144else 7145 case $MAGIC_CMD in 7146[\\/*] | ?:[\\/]*) 7147 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7148 ;; 7149*) 7150 lt_save_MAGIC_CMD="$MAGIC_CMD" 7151 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7152 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7153 for ac_dir in $ac_dummy; do 7154 IFS="$lt_save_ifs" 7155 test -z "$ac_dir" && ac_dir=. 7156 if test -f $ac_dir/file; then 7157 lt_cv_path_MAGIC_CMD="$ac_dir/file" 7158 if test -n "$file_magic_test_file"; then 7159 case $deplibs_check_method in 7160 "file_magic "*) 7161 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7162 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7163 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7164 $EGREP "$file_magic_regex" > /dev/null; then 7165 : 7166 else 7167 cat <<_LT_EOF 1>&2 7168 7169*** Warning: the command libtool uses to detect shared libraries, 7170*** $file_magic_cmd, produces output that libtool cannot recognize. 7171*** The result is that libtool may fail to recognize shared libraries 7172*** as such. This will affect the creation of libtool libraries that 7173*** depend on shared libraries, but programs linked with such libtool 7174*** libraries will work regardless of this problem. Nevertheless, you 7175*** may want to report the problem to your system manager and/or to 7176*** bug-libtool@gnu.org 7177 7178_LT_EOF 7179 fi ;; 7180 esac 7181 fi 7182 break 7183 fi 7184 done 7185 IFS="$lt_save_ifs" 7186 MAGIC_CMD="$lt_save_MAGIC_CMD" 7187 ;; 7188esac 7189fi 7190 7191MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7192if test -n "$MAGIC_CMD"; then 7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7194$as_echo "$MAGIC_CMD" >&6; } 7195else 7196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7197$as_echo "no" >&6; } 7198fi 7199 7200 7201 else 7202 MAGIC_CMD=: 7203 fi 7204fi 7205 7206 fi 7207 ;; 7208esac 7209 7210# Use C for the default configuration in the libtool script 7211 7212lt_save_CC="$CC" 7213ac_ext=c 7214ac_cpp='$CPP $CPPFLAGS' 7215ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7216ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7217ac_compiler_gnu=$ac_cv_c_compiler_gnu 7218 7219 7220# Source file extension for C test sources. 7221ac_ext=c 7222 7223# Object file extension for compiled C test sources. 7224objext=o 7225objext=$objext 7226 7227# Code to be used in simple compile tests 7228lt_simple_compile_test_code="int some_variable = 0;" 7229 7230# Code to be used in simple link tests 7231lt_simple_link_test_code='int main(){return(0);}' 7232 7233 7234 7235 7236 7237 7238 7239# If no C compiler was specified, use CC. 7240LTCC=${LTCC-"$CC"} 7241 7242# If no C compiler flags were specified, use CFLAGS. 7243LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7244 7245# Allow CC to be a program name with arguments. 7246compiler=$CC 7247 7248# Save the default compiler, since it gets overwritten when the other 7249# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 7250compiler_DEFAULT=$CC 7251 7252# save warnings/boilerplate of simple test code 7253ac_outfile=conftest.$ac_objext 7254echo "$lt_simple_compile_test_code" >conftest.$ac_ext 7255eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7256_lt_compiler_boilerplate=`cat conftest.err` 7257$RM conftest* 7258 7259ac_outfile=conftest.$ac_objext 7260echo "$lt_simple_link_test_code" >conftest.$ac_ext 7261eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7262_lt_linker_boilerplate=`cat conftest.err` 7263$RM -r conftest* 7264 7265 7266if test -n "$compiler"; then 7267 7268lt_prog_compiler_no_builtin_flag= 7269 7270if test "$GCC" = yes; then 7271 lt_prog_compiler_no_builtin_flag=' -fno-builtin' 7272 7273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 7274$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 7275if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : 7276 $as_echo_n "(cached) " >&6 7277else 7278 lt_cv_prog_compiler_rtti_exceptions=no 7279 ac_outfile=conftest.$ac_objext 7280 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7281 lt_compiler_flag="-fno-rtti -fno-exceptions" 7282 # Insert the option either (1) after the last *FLAGS variable, or 7283 # (2) before a word containing "conftest.", or (3) at the end. 7284 # Note that $ac_compile itself does not contain backslashes and begins 7285 # with a dollar sign (not a hyphen), so the echo should work correctly. 7286 # The option is referenced via a variable to avoid confusing sed. 7287 lt_compile=`echo "$ac_compile" | $SED \ 7288 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7289 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7290 -e 's:$: $lt_compiler_flag:'` 7291 (eval echo "\"\$as_me:7291: $lt_compile\"" >&5) 7292 (eval "$lt_compile" 2>conftest.err) 7293 ac_status=$? 7294 cat conftest.err >&5 7295 echo "$as_me:7295: \$? = $ac_status" >&5 7296 if (exit $ac_status) && test -s "$ac_outfile"; then 7297 # The compiler can only warn and ignore the option if not recognized 7298 # So say no if there are warnings other than the usual output. 7299 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 7300 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7301 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 7302 lt_cv_prog_compiler_rtti_exceptions=yes 7303 fi 7304 fi 7305 $RM conftest* 7306 7307fi 7308{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 7309$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 7310 7311if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 7312 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 7313else 7314 : 7315fi 7316 7317fi 7318 7319 7320 7321 7322 7323 7324 lt_prog_compiler_wl= 7325lt_prog_compiler_pic= 7326lt_prog_compiler_static= 7327 7328{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 7329$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 7330 7331 if test "$GCC" = yes; then 7332 lt_prog_compiler_wl='-Wl,' 7333 lt_prog_compiler_static='-static' 7334 7335 case $host_os in 7336 aix*) 7337 # All AIX code is PIC. 7338 if test "$host_cpu" = ia64; then 7339 # AIX 5 now supports IA64 processor 7340 lt_prog_compiler_static='-Bstatic' 7341 fi 7342 ;; 7343 7344 amigaos*) 7345 case $host_cpu in 7346 powerpc) 7347 # see comment about AmigaOS4 .so support 7348 lt_prog_compiler_pic='-fPIC' 7349 ;; 7350 m68k) 7351 # FIXME: we need at least 68020 code to build shared libraries, but 7352 # adding the `-m68020' flag to GCC prevents building anything better, 7353 # like `-m68040'. 7354 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 7355 ;; 7356 esac 7357 ;; 7358 7359 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 7360 # PIC is the default for these OSes. 7361 ;; 7362 7363 mingw* | cygwin* | pw32* | os2* | cegcc*) 7364 # This hack is so that the source file can tell whether it is being 7365 # built for inclusion in a dll (and should export symbols for example). 7366 # Although the cygwin gcc ignores -fPIC, still need this for old-style 7367 # (--disable-auto-import) libraries 7368 lt_prog_compiler_pic='-DDLL_EXPORT' 7369 ;; 7370 7371 darwin* | rhapsody*) 7372 # PIC is the default on this platform 7373 # Common symbols not allowed in MH_DYLIB files 7374 lt_prog_compiler_pic='-fno-common' 7375 ;; 7376 7377 hpux*) 7378 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 7379 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 7380 # sets the default TLS model and affects inlining. 7381 case $host_cpu in 7382 hppa*64*) 7383 # +Z the default 7384 ;; 7385 *) 7386 lt_prog_compiler_pic='-fPIC' 7387 ;; 7388 esac 7389 ;; 7390 7391 interix[3-9]*) 7392 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 7393 # Instead, we relocate shared libraries at runtime. 7394 ;; 7395 7396 msdosdjgpp*) 7397 # Just because we use GCC doesn't mean we suddenly get shared libraries 7398 # on systems that don't support them. 7399 lt_prog_compiler_can_build_shared=no 7400 enable_shared=no 7401 ;; 7402 7403 *nto* | *qnx*) 7404 # QNX uses GNU C++, but need to define -shared option too, otherwise 7405 # it will coredump. 7406 lt_prog_compiler_pic='-fPIC -shared' 7407 ;; 7408 7409 sysv4*MP*) 7410 if test -d /usr/nec; then 7411 lt_prog_compiler_pic=-Kconform_pic 7412 fi 7413 ;; 7414 7415 *) 7416 lt_prog_compiler_pic='-fPIC' 7417 ;; 7418 esac 7419 else 7420 # PORTME Check for flag to pass linker flags through the system compiler. 7421 case $host_os in 7422 aix*) 7423 lt_prog_compiler_wl='-Wl,' 7424 if test "$host_cpu" = ia64; then 7425 # AIX 5 now supports IA64 processor 7426 lt_prog_compiler_static='-Bstatic' 7427 else 7428 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 7429 fi 7430 ;; 7431 7432 mingw* | cygwin* | pw32* | os2* | cegcc*) 7433 # This hack is so that the source file can tell whether it is being 7434 # built for inclusion in a dll (and should export symbols for example). 7435 lt_prog_compiler_pic='-DDLL_EXPORT' 7436 ;; 7437 7438 hpux9* | hpux10* | hpux11*) 7439 lt_prog_compiler_wl='-Wl,' 7440 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 7441 # not for PA HP-UX. 7442 case $host_cpu in 7443 hppa*64*|ia64*) 7444 # +Z the default 7445 ;; 7446 *) 7447 lt_prog_compiler_pic='+Z' 7448 ;; 7449 esac 7450 # Is there a better lt_prog_compiler_static that works with the bundled CC? 7451 lt_prog_compiler_static='${wl}-a ${wl}archive' 7452 ;; 7453 7454 irix5* | irix6* | nonstopux*) 7455 lt_prog_compiler_wl='-Wl,' 7456 # PIC (with -KPIC) is the default. 7457 lt_prog_compiler_static='-non_shared' 7458 ;; 7459 7460 linux* | k*bsd*-gnu | kopensolaris*-gnu) 7461 case $cc_basename in 7462 # old Intel for x86_64 which still supported -KPIC. 7463 ecc*) 7464 lt_prog_compiler_wl='-Wl,' 7465 lt_prog_compiler_pic='-KPIC' 7466 lt_prog_compiler_static='-static' 7467 ;; 7468 # icc used to be incompatible with GCC. 7469 # ICC 10 doesn't accept -KPIC any more. 7470 icc* | ifort*) 7471 lt_prog_compiler_wl='-Wl,' 7472 lt_prog_compiler_pic='-fPIC' 7473 lt_prog_compiler_static='-static' 7474 ;; 7475 # Lahey Fortran 8.1. 7476 lf95*) 7477 lt_prog_compiler_wl='-Wl,' 7478 lt_prog_compiler_pic='--shared' 7479 lt_prog_compiler_static='--static' 7480 ;; 7481 pgcc* | pgf77* | pgf90* | pgf95*) 7482 # Portland Group compilers (*not* the Pentium gcc compiler, 7483 # which looks to be a dead project) 7484 lt_prog_compiler_wl='-Wl,' 7485 lt_prog_compiler_pic='-fpic' 7486 lt_prog_compiler_static='-Bstatic' 7487 ;; 7488 ccc*) 7489 lt_prog_compiler_wl='-Wl,' 7490 # All Alpha code is PIC. 7491 lt_prog_compiler_static='-non_shared' 7492 ;; 7493 xl*) 7494 # IBM XL C 8.0/Fortran 10.1 on PPC 7495 lt_prog_compiler_wl='-Wl,' 7496 lt_prog_compiler_pic='-qpic' 7497 lt_prog_compiler_static='-qstaticlink' 7498 ;; 7499 *) 7500 case `$CC -V 2>&1 | sed 5q` in 7501 *Sun\ C*) 7502 # Sun C 5.9 7503 lt_prog_compiler_pic='-KPIC' 7504 lt_prog_compiler_static='-Bstatic' 7505 lt_prog_compiler_wl='-Wl,' 7506 ;; 7507 *Sun\ F*) 7508 # Sun Fortran 8.3 passes all unrecognized flags to the linker 7509 lt_prog_compiler_pic='-KPIC' 7510 lt_prog_compiler_static='-Bstatic' 7511 lt_prog_compiler_wl='' 7512 ;; 7513 esac 7514 ;; 7515 esac 7516 ;; 7517 7518 newsos6) 7519 lt_prog_compiler_pic='-KPIC' 7520 lt_prog_compiler_static='-Bstatic' 7521 ;; 7522 7523 *nto* | *qnx*) 7524 # QNX uses GNU C++, but need to define -shared option too, otherwise 7525 # it will coredump. 7526 lt_prog_compiler_pic='-fPIC -shared' 7527 ;; 7528 7529 osf3* | osf4* | osf5*) 7530 lt_prog_compiler_wl='-Wl,' 7531 # All OSF/1 code is PIC. 7532 lt_prog_compiler_static='-non_shared' 7533 ;; 7534 7535 rdos*) 7536 lt_prog_compiler_static='-non_shared' 7537 ;; 7538 7539 solaris*) 7540 lt_prog_compiler_pic='-KPIC' 7541 lt_prog_compiler_static='-Bstatic' 7542 case $cc_basename in 7543 f77* | f90* | f95*) 7544 lt_prog_compiler_wl='-Qoption ld ';; 7545 *) 7546 lt_prog_compiler_wl='-Wl,';; 7547 esac 7548 ;; 7549 7550 sunos4*) 7551 lt_prog_compiler_wl='-Qoption ld ' 7552 lt_prog_compiler_pic='-PIC' 7553 lt_prog_compiler_static='-Bstatic' 7554 ;; 7555 7556 sysv4 | sysv4.2uw2* | sysv4.3*) 7557 lt_prog_compiler_wl='-Wl,' 7558 lt_prog_compiler_pic='-KPIC' 7559 lt_prog_compiler_static='-Bstatic' 7560 ;; 7561 7562 sysv4*MP*) 7563 if test -d /usr/nec ;then 7564 lt_prog_compiler_pic='-Kconform_pic' 7565 lt_prog_compiler_static='-Bstatic' 7566 fi 7567 ;; 7568 7569 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 7570 lt_prog_compiler_wl='-Wl,' 7571 lt_prog_compiler_pic='-KPIC' 7572 lt_prog_compiler_static='-Bstatic' 7573 ;; 7574 7575 unicos*) 7576 lt_prog_compiler_wl='-Wl,' 7577 lt_prog_compiler_can_build_shared=no 7578 ;; 7579 7580 uts4*) 7581 lt_prog_compiler_pic='-pic' 7582 lt_prog_compiler_static='-Bstatic' 7583 ;; 7584 7585 *) 7586 lt_prog_compiler_can_build_shared=no 7587 ;; 7588 esac 7589 fi 7590 7591case $host_os in 7592 # For platforms which do not support PIC, -DPIC is meaningless: 7593 *djgpp*) 7594 lt_prog_compiler_pic= 7595 ;; 7596 *) 7597 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 7598 ;; 7599esac 7600{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 7601$as_echo "$lt_prog_compiler_pic" >&6; } 7602 7603 7604 7605 7606 7607 7608# 7609# Check to make sure the PIC flag actually works. 7610# 7611if test -n "$lt_prog_compiler_pic"; then 7612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 7613$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 7614if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : 7615 $as_echo_n "(cached) " >&6 7616else 7617 lt_cv_prog_compiler_pic_works=no 7618 ac_outfile=conftest.$ac_objext 7619 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7620 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 7621 # Insert the option either (1) after the last *FLAGS variable, or 7622 # (2) before a word containing "conftest.", or (3) at the end. 7623 # Note that $ac_compile itself does not contain backslashes and begins 7624 # with a dollar sign (not a hyphen), so the echo should work correctly. 7625 # The option is referenced via a variable to avoid confusing sed. 7626 lt_compile=`echo "$ac_compile" | $SED \ 7627 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7628 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7629 -e 's:$: $lt_compiler_flag:'` 7630 (eval echo "\"\$as_me:7630: $lt_compile\"" >&5) 7631 (eval "$lt_compile" 2>conftest.err) 7632 ac_status=$? 7633 cat conftest.err >&5 7634 echo "$as_me:7634: \$? = $ac_status" >&5 7635 if (exit $ac_status) && test -s "$ac_outfile"; then 7636 # The compiler can only warn and ignore the option if not recognized 7637 # So say no if there are warnings other than the usual output. 7638 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 7639 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7640 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 7641 lt_cv_prog_compiler_pic_works=yes 7642 fi 7643 fi 7644 $RM conftest* 7645 7646fi 7647{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 7648$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 7649 7650if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 7651 case $lt_prog_compiler_pic in 7652 "" | " "*) ;; 7653 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 7654 esac 7655else 7656 lt_prog_compiler_pic= 7657 lt_prog_compiler_can_build_shared=no 7658fi 7659 7660fi 7661 7662 7663 7664 7665 7666 7667# 7668# Check to make sure the static flag actually works. 7669# 7670wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 7671{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 7672$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 7673if test "${lt_cv_prog_compiler_static_works+set}" = set; then : 7674 $as_echo_n "(cached) " >&6 7675else 7676 lt_cv_prog_compiler_static_works=no 7677 save_LDFLAGS="$LDFLAGS" 7678 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 7679 echo "$lt_simple_link_test_code" > conftest.$ac_ext 7680 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 7681 # The linker can only warn and ignore the option if not recognized 7682 # So say no if there are warnings 7683 if test -s conftest.err; then 7684 # Append any errors to the config.log. 7685 cat conftest.err 1>&5 7686 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 7687 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7688 if diff conftest.exp conftest.er2 >/dev/null; then 7689 lt_cv_prog_compiler_static_works=yes 7690 fi 7691 else 7692 lt_cv_prog_compiler_static_works=yes 7693 fi 7694 fi 7695 $RM -r conftest* 7696 LDFLAGS="$save_LDFLAGS" 7697 7698fi 7699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 7700$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 7701 7702if test x"$lt_cv_prog_compiler_static_works" = xyes; then 7703 : 7704else 7705 lt_prog_compiler_static= 7706fi 7707 7708 7709 7710 7711 7712 7713 7714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 7715$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 7716if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 7717 $as_echo_n "(cached) " >&6 7718else 7719 lt_cv_prog_compiler_c_o=no 7720 $RM -r conftest 2>/dev/null 7721 mkdir conftest 7722 cd conftest 7723 mkdir out 7724 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7725 7726 lt_compiler_flag="-o out/conftest2.$ac_objext" 7727 # Insert the option either (1) after the last *FLAGS variable, or 7728 # (2) before a word containing "conftest.", or (3) at the end. 7729 # Note that $ac_compile itself does not contain backslashes and begins 7730 # with a dollar sign (not a hyphen), so the echo should work correctly. 7731 lt_compile=`echo "$ac_compile" | $SED \ 7732 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7733 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7734 -e 's:$: $lt_compiler_flag:'` 7735 (eval echo "\"\$as_me:7735: $lt_compile\"" >&5) 7736 (eval "$lt_compile" 2>out/conftest.err) 7737 ac_status=$? 7738 cat out/conftest.err >&5 7739 echo "$as_me:7739: \$? = $ac_status" >&5 7740 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7741 then 7742 # The compiler can only warn and ignore the option if not recognized 7743 # So say no if there are warnings 7744 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 7745 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 7746 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 7747 lt_cv_prog_compiler_c_o=yes 7748 fi 7749 fi 7750 chmod u+w . 2>&5 7751 $RM conftest* 7752 # SGI C++ compiler will create directory out/ii_files/ for 7753 # template instantiation 7754 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 7755 $RM out/* && rmdir out 7756 cd .. 7757 $RM -r conftest 7758 $RM conftest* 7759 7760fi 7761{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 7762$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 7763 7764 7765 7766 7767 7768 7769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 7770$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 7771if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 7772 $as_echo_n "(cached) " >&6 7773else 7774 lt_cv_prog_compiler_c_o=no 7775 $RM -r conftest 2>/dev/null 7776 mkdir conftest 7777 cd conftest 7778 mkdir out 7779 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7780 7781 lt_compiler_flag="-o out/conftest2.$ac_objext" 7782 # Insert the option either (1) after the last *FLAGS variable, or 7783 # (2) before a word containing "conftest.", or (3) at the end. 7784 # Note that $ac_compile itself does not contain backslashes and begins 7785 # with a dollar sign (not a hyphen), so the echo should work correctly. 7786 lt_compile=`echo "$ac_compile" | $SED \ 7787 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7788 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7789 -e 's:$: $lt_compiler_flag:'` 7790 (eval echo "\"\$as_me:7790: $lt_compile\"" >&5) 7791 (eval "$lt_compile" 2>out/conftest.err) 7792 ac_status=$? 7793 cat out/conftest.err >&5 7794 echo "$as_me:7794: \$? = $ac_status" >&5 7795 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7796 then 7797 # The compiler can only warn and ignore the option if not recognized 7798 # So say no if there are warnings 7799 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 7800 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 7801 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 7802 lt_cv_prog_compiler_c_o=yes 7803 fi 7804 fi 7805 chmod u+w . 2>&5 7806 $RM conftest* 7807 # SGI C++ compiler will create directory out/ii_files/ for 7808 # template instantiation 7809 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 7810 $RM out/* && rmdir out 7811 cd .. 7812 $RM -r conftest 7813 $RM conftest* 7814 7815fi 7816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 7817$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 7818 7819 7820 7821 7822hard_links="nottested" 7823if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 7824 # do not overwrite the value of need_locks provided by the user 7825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 7826$as_echo_n "checking if we can lock with hard links... " >&6; } 7827 hard_links=yes 7828 $RM conftest* 7829 ln conftest.a conftest.b 2>/dev/null && hard_links=no 7830 touch conftest.a 7831 ln conftest.a conftest.b 2>&5 || hard_links=no 7832 ln conftest.a conftest.b 2>/dev/null && hard_links=no 7833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 7834$as_echo "$hard_links" >&6; } 7835 if test "$hard_links" = no; then 7836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 7837$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 7838 need_locks=warn 7839 fi 7840else 7841 need_locks=no 7842fi 7843 7844 7845 7846 7847 7848 7849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 7850$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 7851 7852 runpath_var= 7853 allow_undefined_flag= 7854 always_export_symbols=no 7855 archive_cmds= 7856 archive_expsym_cmds= 7857 compiler_needs_object=no 7858 enable_shared_with_static_runtimes=no 7859 export_dynamic_flag_spec= 7860 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 7861 hardcode_automatic=no 7862 hardcode_direct=no 7863 hardcode_direct_absolute=no 7864 hardcode_libdir_flag_spec= 7865 hardcode_libdir_flag_spec_ld= 7866 hardcode_libdir_separator= 7867 hardcode_minus_L=no 7868 hardcode_shlibpath_var=unsupported 7869 inherit_rpath=no 7870 link_all_deplibs=unknown 7871 module_cmds= 7872 module_expsym_cmds= 7873 old_archive_from_new_cmds= 7874 old_archive_from_expsyms_cmds= 7875 thread_safe_flag_spec= 7876 whole_archive_flag_spec= 7877 # include_expsyms should be a list of space-separated symbols to be *always* 7878 # included in the symbol list 7879 include_expsyms= 7880 # exclude_expsyms can be an extended regexp of symbols to exclude 7881 # it will be wrapped by ` (' and `)$', so one must not match beginning or 7882 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 7883 # as well as any symbol that contains `d'. 7884 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 7885 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 7886 # platforms (ab)use it in PIC code, but their linkers get confused if 7887 # the symbol is explicitly referenced. Since portable code cannot 7888 # rely on this symbol name, it's probably fine to never include it in 7889 # preloaded symbol tables. 7890 # Exclude shared library initialization/finalization symbols. 7891 extract_expsyms_cmds= 7892 7893 case $host_os in 7894 cygwin* | mingw* | pw32* | cegcc*) 7895 # FIXME: the MSVC++ port hasn't been tested in a loooong time 7896 # When not using gcc, we currently assume that we are using 7897 # Microsoft Visual C++. 7898 if test "$GCC" != yes; then 7899 with_gnu_ld=no 7900 fi 7901 ;; 7902 interix*) 7903 # we just hope/assume this is gcc and not c89 (= MSVC++) 7904 with_gnu_ld=yes 7905 ;; 7906 openbsd*) 7907 with_gnu_ld=no 7908 ;; 7909 linux* | k*bsd*-gnu) 7910 link_all_deplibs=no 7911 ;; 7912 esac 7913 7914 ld_shlibs=yes 7915 if test "$with_gnu_ld" = yes; then 7916 # If archive_cmds runs LD, not CC, wlarc should be empty 7917 wlarc='${wl}' 7918 7919 # Set some defaults for GNU ld with shared library support. These 7920 # are reset later if shared libraries are not supported. Putting them 7921 # here allows them to be overridden if necessary. 7922 runpath_var=LD_RUN_PATH 7923 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 7924 export_dynamic_flag_spec='${wl}--export-dynamic' 7925 # ancient GNU ld didn't support --whole-archive et. al. 7926 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 7927 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 7928 else 7929 whole_archive_flag_spec= 7930 fi 7931 supports_anon_versioning=no 7932 case `$LD -v 2>&1` in 7933 *GNU\ gold*) supports_anon_versioning=yes ;; 7934 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 7935 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 7936 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 7937 *\ 2.11.*) ;; # other 2.11 versions 7938 *) supports_anon_versioning=yes ;; 7939 esac 7940 7941 # See if GNU ld supports shared libraries. 7942 case $host_os in 7943 aix[3-9]*) 7944 # On AIX/PPC, the GNU linker is very broken 7945 if test "$host_cpu" != ia64; then 7946 ld_shlibs=no 7947 cat <<_LT_EOF 1>&2 7948 7949*** Warning: the GNU linker, at least up to release 2.9.1, is reported 7950*** to be unable to reliably create shared libraries on AIX. 7951*** Therefore, libtool is disabling shared libraries support. If you 7952*** really care for shared libraries, you may want to modify your PATH 7953*** so that a non-GNU linker is found, and then restart. 7954 7955_LT_EOF 7956 fi 7957 ;; 7958 7959 amigaos*) 7960 case $host_cpu in 7961 powerpc) 7962 # see comment about AmigaOS4 .so support 7963 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 7964 archive_expsym_cmds='' 7965 ;; 7966 m68k) 7967 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)' 7968 hardcode_libdir_flag_spec='-L$libdir' 7969 hardcode_minus_L=yes 7970 ;; 7971 esac 7972 ;; 7973 7974 beos*) 7975 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 7976 allow_undefined_flag=unsupported 7977 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 7978 # support --undefined. This deserves some investigation. FIXME 7979 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 7980 else 7981 ld_shlibs=no 7982 fi 7983 ;; 7984 7985 cygwin* | mingw* | pw32* | cegcc*) 7986 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 7987 # as there is no search path for DLLs. 7988 hardcode_libdir_flag_spec='-L$libdir' 7989 allow_undefined_flag=unsupported 7990 always_export_symbols=no 7991 enable_shared_with_static_runtimes=yes 7992 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 7993 7994 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 7995 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 7996 # If the export-symbols file already is a .def file (1st line 7997 # is EXPORTS), use it as is; otherwise, prepend... 7998 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 7999 cp $export_symbols $output_objdir/$soname.def; 8000 else 8001 echo EXPORTS > $output_objdir/$soname.def; 8002 cat $export_symbols >> $output_objdir/$soname.def; 8003 fi~ 8004 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8005 else 8006 ld_shlibs=no 8007 fi 8008 ;; 8009 8010 interix[3-9]*) 8011 hardcode_direct=no 8012 hardcode_shlibpath_var=no 8013 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8014 export_dynamic_flag_spec='${wl}-E' 8015 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 8016 # Instead, shared libraries are loaded at an image base (0x10000000 by 8017 # default) and relocated if they conflict, which is a slow very memory 8018 # consuming and fragmenting process. To avoid this, we pick a random, 8019 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 8020 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 8021 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8022 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' 8023 ;; 8024 8025 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 8026 tmp_diet=no 8027 if test "$host_os" = linux-dietlibc; then 8028 case $cc_basename in 8029 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 8030 esac 8031 fi 8032 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 8033 && test "$tmp_diet" = no 8034 then 8035 tmp_addflag= 8036 tmp_sharedflag='-shared' 8037 case $cc_basename,$host_cpu in 8038 pgcc*) # Portland Group C compiler 8039 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' 8040 tmp_addflag=' $pic_flag' 8041 ;; 8042 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 8043 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' 8044 tmp_addflag=' $pic_flag -Mnomain' ;; 8045 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 8046 tmp_addflag=' -i_dynamic' ;; 8047 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 8048 tmp_addflag=' -i_dynamic -nofor_main' ;; 8049 ifc* | ifort*) # Intel Fortran compiler 8050 tmp_addflag=' -nofor_main' ;; 8051 lf95*) # Lahey Fortran 8.1 8052 whole_archive_flag_spec= 8053 tmp_sharedflag='--shared' ;; 8054 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 8055 tmp_sharedflag='-qmkshrobj' 8056 tmp_addflag= ;; 8057 esac 8058 case `$CC -V 2>&1 | sed 5q` in 8059 *Sun\ C*) # Sun C 5.9 8060 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' 8061 compiler_needs_object=yes 8062 tmp_sharedflag='-G' ;; 8063 *Sun\ F*) # Sun Fortran 8.3 8064 tmp_sharedflag='-G' ;; 8065 esac 8066 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8067 8068 if test "x$supports_anon_versioning" = xyes; then 8069 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8070 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8071 echo "local: *; };" >> $output_objdir/$libname.ver~ 8072 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 8073 fi 8074 8075 case $cc_basename in 8076 xlf*) 8077 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 8078 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 8079 hardcode_libdir_flag_spec= 8080 hardcode_libdir_flag_spec_ld='-rpath $libdir' 8081 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' 8082 if test "x$supports_anon_versioning" = xyes; then 8083 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8084 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8085 echo "local: *; };" >> $output_objdir/$libname.ver~ 8086 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 8087 fi 8088 ;; 8089 esac 8090 else 8091 ld_shlibs=no 8092 fi 8093 ;; 8094 8095 netbsd* | netbsdelf*-gnu) 8096 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 8097 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 8098 wlarc= 8099 else 8100 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8101 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8102 fi 8103 ;; 8104 8105 solaris*) 8106 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 8107 ld_shlibs=no 8108 cat <<_LT_EOF 1>&2 8109 8110*** Warning: The releases 2.8.* of the GNU linker cannot reliably 8111*** create shared libraries on Solaris systems. Therefore, libtool 8112*** is disabling shared libraries support. We urge you to upgrade GNU 8113*** binutils to release 2.9.1 or newer. Another option is to modify 8114*** your PATH or compiler configuration so that the native linker is 8115*** used, and then restart. 8116 8117_LT_EOF 8118 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8119 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8120 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8121 else 8122 ld_shlibs=no 8123 fi 8124 ;; 8125 8126 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 8127 case `$LD -v 2>&1` in 8128 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 8129 ld_shlibs=no 8130 cat <<_LT_EOF 1>&2 8131 8132*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 8133*** reliably create shared libraries on SCO systems. Therefore, libtool 8134*** is disabling shared libraries support. We urge you to upgrade GNU 8135*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 8136*** your PATH or compiler configuration so that the native linker is 8137*** used, and then restart. 8138 8139_LT_EOF 8140 ;; 8141 *) 8142 # For security reasons, it is highly recommended that you always 8143 # use absolute paths for naming shared libraries, and exclude the 8144 # DT_RUNPATH tag from executables and libraries. But doing so 8145 # requires that you compile everything twice, which is a pain. 8146 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8147 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8148 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8149 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8150 else 8151 ld_shlibs=no 8152 fi 8153 ;; 8154 esac 8155 ;; 8156 8157 sunos4*) 8158 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8159 wlarc= 8160 hardcode_direct=yes 8161 hardcode_shlibpath_var=no 8162 ;; 8163 8164 *) 8165 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8166 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8167 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8168 else 8169 ld_shlibs=no 8170 fi 8171 ;; 8172 esac 8173 8174 if test "$ld_shlibs" = no; then 8175 runpath_var= 8176 hardcode_libdir_flag_spec= 8177 export_dynamic_flag_spec= 8178 whole_archive_flag_spec= 8179 fi 8180 else 8181 # PORTME fill in a description of your system's linker (not GNU ld) 8182 case $host_os in 8183 aix3*) 8184 allow_undefined_flag=unsupported 8185 always_export_symbols=yes 8186 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' 8187 # Note: this linker hardcodes the directories in LIBPATH if there 8188 # are no directories specified by -L. 8189 hardcode_minus_L=yes 8190 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 8191 # Neither direct hardcoding nor static linking is supported with a 8192 # broken collect2. 8193 hardcode_direct=unsupported 8194 fi 8195 ;; 8196 8197 aix[4-9]*) 8198 if test "$host_cpu" = ia64; then 8199 # On IA64, the linker does run time linking by default, so we don't 8200 # have to do anything special. 8201 aix_use_runtimelinking=no 8202 exp_sym_flag='-Bexport' 8203 no_entry_flag="" 8204 else 8205 # If we're using GNU nm, then we don't want the "-C" option. 8206 # -C means demangle to AIX nm, but means don't demangle with GNU nm 8207 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 8208 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' 8209 else 8210 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' 8211 fi 8212 aix_use_runtimelinking=no 8213 8214 # Test if we are trying to use run time linking or normal 8215 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 8216 # need to do runtime linking. 8217 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 8218 for ld_flag in $LDFLAGS; do 8219 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 8220 aix_use_runtimelinking=yes 8221 break 8222 fi 8223 done 8224 ;; 8225 esac 8226 8227 exp_sym_flag='-bexport' 8228 no_entry_flag='-bnoentry' 8229 fi 8230 8231 # When large executables or shared objects are built, AIX ld can 8232 # have problems creating the table of contents. If linking a library 8233 # or program results in "error TOC overflow" add -mminimal-toc to 8234 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 8235 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 8236 8237 archive_cmds='' 8238 hardcode_direct=yes 8239 hardcode_direct_absolute=yes 8240 hardcode_libdir_separator=':' 8241 link_all_deplibs=yes 8242 file_list_spec='${wl}-f,' 8243 8244 if test "$GCC" = yes; then 8245 case $host_os in aix4.[012]|aix4.[012].*) 8246 # We only want to do this on AIX 4.2 and lower, the check 8247 # below for broken collect2 doesn't work under 4.3+ 8248 collect2name=`${CC} -print-prog-name=collect2` 8249 if test -f "$collect2name" && 8250 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 8251 then 8252 # We have reworked collect2 8253 : 8254 else 8255 # We have old collect2 8256 hardcode_direct=unsupported 8257 # It fails to find uninstalled libraries when the uninstalled 8258 # path is not listed in the libpath. Setting hardcode_minus_L 8259 # to unsupported forces relinking 8260 hardcode_minus_L=yes 8261 hardcode_libdir_flag_spec='-L$libdir' 8262 hardcode_libdir_separator= 8263 fi 8264 ;; 8265 esac 8266 shared_flag='-shared' 8267 if test "$aix_use_runtimelinking" = yes; then 8268 shared_flag="$shared_flag "'${wl}-G' 8269 fi 8270 link_all_deplibs=no 8271 else 8272 # not using gcc 8273 if test "$host_cpu" = ia64; then 8274 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 8275 # chokes on -Wl,-G. The following line is correct: 8276 shared_flag='-G' 8277 else 8278 if test "$aix_use_runtimelinking" = yes; then 8279 shared_flag='${wl}-G' 8280 else 8281 shared_flag='${wl}-bM:SRE' 8282 fi 8283 fi 8284 fi 8285 8286 export_dynamic_flag_spec='${wl}-bexpall' 8287 # It seems that -bexpall does not export symbols beginning with 8288 # underscore (_), so it is better to generate a list of symbols to export. 8289 always_export_symbols=yes 8290 if test "$aix_use_runtimelinking" = yes; then 8291 # Warning - without using the other runtime loading flags (-brtl), 8292 # -berok will link without error, but may produce a broken library. 8293 allow_undefined_flag='-berok' 8294 # Determine the default libpath from the value encoded in an 8295 # empty executable. 8296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8297/* end confdefs.h. */ 8298 8299int 8300main () 8301{ 8302 8303 ; 8304 return 0; 8305} 8306_ACEOF 8307if ac_fn_c_try_link "$LINENO"; then : 8308 8309lt_aix_libpath_sed=' 8310 /Import File Strings/,/^$/ { 8311 /^0/ { 8312 s/^0 *\(.*\)$/\1/ 8313 p 8314 } 8315 }' 8316aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8317# Check for a 64-bit object if we didn't find anything. 8318if test -z "$aix_libpath"; then 8319 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8320fi 8321fi 8322rm -f core conftest.err conftest.$ac_objext \ 8323 conftest$ac_exeext conftest.$ac_ext 8324if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8325 8326 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8327 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" 8328 else 8329 if test "$host_cpu" = ia64; then 8330 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 8331 allow_undefined_flag="-z nodefs" 8332 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" 8333 else 8334 # Determine the default libpath from the value encoded in an 8335 # empty executable. 8336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8337/* end confdefs.h. */ 8338 8339int 8340main () 8341{ 8342 8343 ; 8344 return 0; 8345} 8346_ACEOF 8347if ac_fn_c_try_link "$LINENO"; then : 8348 8349lt_aix_libpath_sed=' 8350 /Import File Strings/,/^$/ { 8351 /^0/ { 8352 s/^0 *\(.*\)$/\1/ 8353 p 8354 } 8355 }' 8356aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8357# Check for a 64-bit object if we didn't find anything. 8358if test -z "$aix_libpath"; then 8359 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8360fi 8361fi 8362rm -f core conftest.err conftest.$ac_objext \ 8363 conftest$ac_exeext conftest.$ac_ext 8364if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8365 8366 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8367 # Warning - without using the other run time loading flags, 8368 # -berok will link without error, but may produce a broken library. 8369 no_undefined_flag=' ${wl}-bernotok' 8370 allow_undefined_flag=' ${wl}-berok' 8371 # Exported symbols can be pulled into shared objects from archives 8372 whole_archive_flag_spec='$convenience' 8373 archive_cmds_need_lc=yes 8374 # This is similar to how AIX traditionally builds its shared libraries. 8375 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' 8376 fi 8377 fi 8378 ;; 8379 8380 amigaos*) 8381 case $host_cpu in 8382 powerpc) 8383 # see comment about AmigaOS4 .so support 8384 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8385 archive_expsym_cmds='' 8386 ;; 8387 m68k) 8388 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)' 8389 hardcode_libdir_flag_spec='-L$libdir' 8390 hardcode_minus_L=yes 8391 ;; 8392 esac 8393 ;; 8394 8395 bsdi[45]*) 8396 export_dynamic_flag_spec=-rdynamic 8397 ;; 8398 8399 cygwin* | mingw* | pw32* | cegcc*) 8400 # When not using gcc, we currently assume that we are using 8401 # Microsoft Visual C++. 8402 # hardcode_libdir_flag_spec is actually meaningless, as there is 8403 # no search path for DLLs. 8404 hardcode_libdir_flag_spec=' ' 8405 allow_undefined_flag=unsupported 8406 # Tell ltmain to make .lib files, not .a files. 8407 libext=lib 8408 # Tell ltmain to make .dll files, not .so files. 8409 shrext_cmds=".dll" 8410 # FIXME: Setting linknames here is a bad hack. 8411 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' 8412 # The linker will automatically build a .lib file if we build a DLL. 8413 old_archive_from_new_cmds='true' 8414 # FIXME: Should let the user specify the lib program. 8415 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 8416 fix_srcfile_path='`cygpath -w "$srcfile"`' 8417 enable_shared_with_static_runtimes=yes 8418 ;; 8419 8420 darwin* | rhapsody*) 8421 8422 8423 archive_cmds_need_lc=no 8424 hardcode_direct=no 8425 hardcode_automatic=yes 8426 hardcode_shlibpath_var=unsupported 8427 whole_archive_flag_spec='' 8428 link_all_deplibs=yes 8429 allow_undefined_flag="$_lt_dar_allow_undefined" 8430 case $cc_basename in 8431 ifort*) _lt_dar_can_shared=yes ;; 8432 *) _lt_dar_can_shared=$GCC ;; 8433 esac 8434 if test "$_lt_dar_can_shared" = "yes"; then 8435 output_verbose_link_cmd=echo 8436 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 8437 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 8438 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}" 8439 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}" 8440 8441 else 8442 ld_shlibs=no 8443 fi 8444 8445 ;; 8446 8447 dgux*) 8448 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8449 hardcode_libdir_flag_spec='-L$libdir' 8450 hardcode_shlibpath_var=no 8451 ;; 8452 8453 freebsd1*) 8454 ld_shlibs=no 8455 ;; 8456 8457 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 8458 # support. Future versions do this automatically, but an explicit c++rt0.o 8459 # does not break anything, and helps significantly (at the cost of a little 8460 # extra space). 8461 freebsd2.2*) 8462 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 8463 hardcode_libdir_flag_spec='-R$libdir' 8464 hardcode_direct=yes 8465 hardcode_shlibpath_var=no 8466 ;; 8467 8468 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 8469 freebsd2*) 8470 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8471 hardcode_direct=yes 8472 hardcode_minus_L=yes 8473 hardcode_shlibpath_var=no 8474 ;; 8475 8476 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 8477 freebsd* | dragonfly*) 8478 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 8479 hardcode_libdir_flag_spec='-R$libdir' 8480 hardcode_direct=yes 8481 hardcode_shlibpath_var=no 8482 ;; 8483 8484 hpux9*) 8485 if test "$GCC" = yes; then 8486 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' 8487 else 8488 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' 8489 fi 8490 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 8491 hardcode_libdir_separator=: 8492 hardcode_direct=yes 8493 8494 # hardcode_minus_L: Not really in the search PATH, 8495 # but as the default location of the library. 8496 hardcode_minus_L=yes 8497 export_dynamic_flag_spec='${wl}-E' 8498 ;; 8499 8500 hpux10*) 8501 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 8502 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 8503 else 8504 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 8505 fi 8506 if test "$with_gnu_ld" = no; then 8507 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 8508 hardcode_libdir_flag_spec_ld='+b $libdir' 8509 hardcode_libdir_separator=: 8510 hardcode_direct=yes 8511 hardcode_direct_absolute=yes 8512 export_dynamic_flag_spec='${wl}-E' 8513 # hardcode_minus_L: Not really in the search PATH, 8514 # but as the default location of the library. 8515 hardcode_minus_L=yes 8516 fi 8517 ;; 8518 8519 hpux11*) 8520 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 8521 case $host_cpu in 8522 hppa*64*) 8523 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 8524 ;; 8525 ia64*) 8526 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 8527 ;; 8528 *) 8529 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 8530 ;; 8531 esac 8532 else 8533 case $host_cpu in 8534 hppa*64*) 8535 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 8536 ;; 8537 ia64*) 8538 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 8539 ;; 8540 *) 8541 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 8542 ;; 8543 esac 8544 fi 8545 if test "$with_gnu_ld" = no; then 8546 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 8547 hardcode_libdir_separator=: 8548 8549 case $host_cpu in 8550 hppa*64*|ia64*) 8551 hardcode_direct=no 8552 hardcode_shlibpath_var=no 8553 ;; 8554 *) 8555 hardcode_direct=yes 8556 hardcode_direct_absolute=yes 8557 export_dynamic_flag_spec='${wl}-E' 8558 8559 # hardcode_minus_L: Not really in the search PATH, 8560 # but as the default location of the library. 8561 hardcode_minus_L=yes 8562 ;; 8563 esac 8564 fi 8565 ;; 8566 8567 irix5* | irix6* | nonstopux*) 8568 if test "$GCC" = yes; then 8569 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' 8570 # Try to use the -exported_symbol ld option, if it does not 8571 # work, assume that -exports_file does not work either and 8572 # implicitly export all symbols. 8573 save_LDFLAGS="$LDFLAGS" 8574 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 8575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8576/* end confdefs.h. */ 8577int foo(void) {} 8578_ACEOF 8579if ac_fn_c_try_link "$LINENO"; then : 8580 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' 8581 8582fi 8583rm -f core conftest.err conftest.$ac_objext \ 8584 conftest$ac_exeext conftest.$ac_ext 8585 LDFLAGS="$save_LDFLAGS" 8586 else 8587 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' 8588 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' 8589 fi 8590 archive_cmds_need_lc='no' 8591 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8592 hardcode_libdir_separator=: 8593 inherit_rpath=yes 8594 link_all_deplibs=yes 8595 ;; 8596 8597 netbsd* | netbsdelf*-gnu) 8598 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 8599 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 8600 else 8601 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 8602 fi 8603 hardcode_libdir_flag_spec='-R$libdir' 8604 hardcode_direct=yes 8605 hardcode_shlibpath_var=no 8606 ;; 8607 8608 newsos6) 8609 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8610 hardcode_direct=yes 8611 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8612 hardcode_libdir_separator=: 8613 hardcode_shlibpath_var=no 8614 ;; 8615 8616 *nto* | *qnx*) 8617 ;; 8618 8619 openbsd*) 8620 if test -f /usr/libexec/ld.so; then 8621 hardcode_direct=yes 8622 hardcode_shlibpath_var=no 8623 hardcode_direct_absolute=yes 8624 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 8625 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 8626 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 8627 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8628 export_dynamic_flag_spec='${wl}-E' 8629 else 8630 case $host_os in 8631 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 8632 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8633 hardcode_libdir_flag_spec='-R$libdir' 8634 ;; 8635 *) 8636 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 8637 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8638 ;; 8639 esac 8640 fi 8641 else 8642 ld_shlibs=no 8643 fi 8644 ;; 8645 8646 os2*) 8647 hardcode_libdir_flag_spec='-L$libdir' 8648 hardcode_minus_L=yes 8649 allow_undefined_flag=unsupported 8650 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' 8651 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 8652 ;; 8653 8654 osf3*) 8655 if test "$GCC" = yes; then 8656 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 8657 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' 8658 else 8659 allow_undefined_flag=' -expect_unresolved \*' 8660 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' 8661 fi 8662 archive_cmds_need_lc='no' 8663 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8664 hardcode_libdir_separator=: 8665 ;; 8666 8667 osf4* | osf5*) # as osf3* with the addition of -msym flag 8668 if test "$GCC" = yes; then 8669 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 8670 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' 8671 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8672 else 8673 allow_undefined_flag=' -expect_unresolved \*' 8674 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' 8675 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~ 8676 $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' 8677 8678 # Both c and cxx compiler support -rpath directly 8679 hardcode_libdir_flag_spec='-rpath $libdir' 8680 fi 8681 archive_cmds_need_lc='no' 8682 hardcode_libdir_separator=: 8683 ;; 8684 8685 solaris*) 8686 no_undefined_flag=' -z defs' 8687 if test "$GCC" = yes; then 8688 wlarc='${wl}' 8689 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 8690 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 8691 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 8692 else 8693 case `$CC -V 2>&1` in 8694 *"Compilers 5.0"*) 8695 wlarc='' 8696 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 8697 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 8698 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 8699 ;; 8700 *) 8701 wlarc='${wl}' 8702 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 8703 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 8704 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 8705 ;; 8706 esac 8707 fi 8708 hardcode_libdir_flag_spec='-R$libdir' 8709 hardcode_shlibpath_var=no 8710 case $host_os in 8711 solaris2.[0-5] | solaris2.[0-5].*) ;; 8712 *) 8713 # The compiler driver will combine and reorder linker options, 8714 # but understands `-z linker_flag'. GCC discards it without `$wl', 8715 # but is careful enough not to reorder. 8716 # Supported since Solaris 2.6 (maybe 2.5.1?) 8717 if test "$GCC" = yes; then 8718 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 8719 else 8720 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 8721 fi 8722 ;; 8723 esac 8724 link_all_deplibs=yes 8725 ;; 8726 8727 sunos4*) 8728 if test "x$host_vendor" = xsequent; then 8729 # Use $CC to link under sequent, because it throws in some extra .o 8730 # files that make .init and .fini sections work. 8731 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 8732 else 8733 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 8734 fi 8735 hardcode_libdir_flag_spec='-L$libdir' 8736 hardcode_direct=yes 8737 hardcode_minus_L=yes 8738 hardcode_shlibpath_var=no 8739 ;; 8740 8741 sysv4) 8742 case $host_vendor in 8743 sni) 8744 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8745 hardcode_direct=yes # is this really true??? 8746 ;; 8747 siemens) 8748 ## LD is ld it makes a PLAMLIB 8749 ## CC just makes a GrossModule. 8750 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 8751 reload_cmds='$CC -r -o $output$reload_objs' 8752 hardcode_direct=no 8753 ;; 8754 motorola) 8755 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8756 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 8757 ;; 8758 esac 8759 runpath_var='LD_RUN_PATH' 8760 hardcode_shlibpath_var=no 8761 ;; 8762 8763 sysv4.3*) 8764 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8765 hardcode_shlibpath_var=no 8766 export_dynamic_flag_spec='-Bexport' 8767 ;; 8768 8769 sysv4*MP*) 8770 if test -d /usr/nec; then 8771 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8772 hardcode_shlibpath_var=no 8773 runpath_var=LD_RUN_PATH 8774 hardcode_runpath_var=yes 8775 ld_shlibs=yes 8776 fi 8777 ;; 8778 8779 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 8780 no_undefined_flag='${wl}-z,text' 8781 archive_cmds_need_lc=no 8782 hardcode_shlibpath_var=no 8783 runpath_var='LD_RUN_PATH' 8784 8785 if test "$GCC" = yes; then 8786 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8787 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8788 else 8789 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8790 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8791 fi 8792 ;; 8793 8794 sysv5* | sco3.2v5* | sco5v6*) 8795 # Note: We can NOT use -z defs as we might desire, because we do not 8796 # link with -lc, and that would cause any symbols used from libc to 8797 # always be unresolved, which means just about no library would 8798 # ever link correctly. If we're not using GNU ld we use -z text 8799 # though, which does catch some bad symbols but isn't as heavy-handed 8800 # as -z defs. 8801 no_undefined_flag='${wl}-z,text' 8802 allow_undefined_flag='${wl}-z,nodefs' 8803 archive_cmds_need_lc=no 8804 hardcode_shlibpath_var=no 8805 hardcode_libdir_flag_spec='${wl}-R,$libdir' 8806 hardcode_libdir_separator=':' 8807 link_all_deplibs=yes 8808 export_dynamic_flag_spec='${wl}-Bexport' 8809 runpath_var='LD_RUN_PATH' 8810 8811 if test "$GCC" = yes; then 8812 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8813 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8814 else 8815 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8816 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8817 fi 8818 ;; 8819 8820 uts4*) 8821 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8822 hardcode_libdir_flag_spec='-L$libdir' 8823 hardcode_shlibpath_var=no 8824 ;; 8825 8826 *) 8827 ld_shlibs=no 8828 ;; 8829 esac 8830 8831 if test x$host_vendor = xsni; then 8832 case $host in 8833 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 8834 export_dynamic_flag_spec='${wl}-Blargedynsym' 8835 ;; 8836 esac 8837 fi 8838 fi 8839 8840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 8841$as_echo "$ld_shlibs" >&6; } 8842test "$ld_shlibs" = no && can_build_shared=no 8843 8844with_gnu_ld=$with_gnu_ld 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860# 8861# Do we need to explicitly link libc? 8862# 8863case "x$archive_cmds_need_lc" in 8864x|xyes) 8865 # Assume -lc should be added 8866 archive_cmds_need_lc=yes 8867 8868 if test "$enable_shared" = yes && test "$GCC" = yes; then 8869 case $archive_cmds in 8870 *'~'*) 8871 # FIXME: we may have to deal with multi-command sequences. 8872 ;; 8873 '$CC '*) 8874 # Test whether the compiler implicitly links with -lc since on some 8875 # systems, -lgcc has to come before -lc. If gcc already passes -lc 8876 # to ld, don't add -lc before -lgcc. 8877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 8878$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 8879 $RM conftest* 8880 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8881 8882 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8883 (eval $ac_compile) 2>&5 8884 ac_status=$? 8885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8886 test $ac_status = 0; } 2>conftest.err; then 8887 soname=conftest 8888 lib=conftest 8889 libobjs=conftest.$ac_objext 8890 deplibs= 8891 wl=$lt_prog_compiler_wl 8892 pic_flag=$lt_prog_compiler_pic 8893 compiler_flags=-v 8894 linker_flags=-v 8895 verstring= 8896 output_objdir=. 8897 libname=conftest 8898 lt_save_allow_undefined_flag=$allow_undefined_flag 8899 allow_undefined_flag= 8900 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 8901 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 8902 ac_status=$? 8903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8904 test $ac_status = 0; } 8905 then 8906 archive_cmds_need_lc=no 8907 else 8908 archive_cmds_need_lc=yes 8909 fi 8910 allow_undefined_flag=$lt_save_allow_undefined_flag 8911 else 8912 cat conftest.err 1>&5 8913 fi 8914 $RM conftest* 8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 8916$as_echo "$archive_cmds_need_lc" >&6; } 8917 ;; 8918 esac 8919 fi 8920 ;; 8921esac 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 9080$as_echo_n "checking dynamic linker characteristics... " >&6; } 9081 9082if test "$GCC" = yes; then 9083 case $host_os in 9084 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 9085 *) lt_awk_arg="/^libraries:/" ;; 9086 esac 9087 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` 9088 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then 9089 # if the path contains ";" then we assume it to be the separator 9090 # otherwise default to the standard path separator (i.e. ":") - it is 9091 # assumed that no part of a normal pathname contains ";" but that should 9092 # okay in the real world where ";" in dirpaths is itself problematic. 9093 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` 9094 else 9095 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 9096 fi 9097 # Ok, now we have the path, separated by spaces, we can step through it 9098 # and add multilib dir if necessary. 9099 lt_tmp_lt_search_path_spec= 9100 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 9101 for lt_sys_path in $lt_search_path_spec; do 9102 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 9103 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 9104 else 9105 test -d "$lt_sys_path" && \ 9106 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 9107 fi 9108 done 9109 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' 9110BEGIN {RS=" "; FS="/|\n";} { 9111 lt_foo=""; 9112 lt_count=0; 9113 for (lt_i = NF; lt_i > 0; lt_i--) { 9114 if ($lt_i != "" && $lt_i != ".") { 9115 if ($lt_i == "..") { 9116 lt_count++; 9117 } else { 9118 if (lt_count == 0) { 9119 lt_foo="/" $lt_i lt_foo; 9120 } else { 9121 lt_count--; 9122 } 9123 } 9124 } 9125 } 9126 if (lt_foo != "") { lt_freq[lt_foo]++; } 9127 if (lt_freq[lt_foo] == 1) { print lt_foo; } 9128}'` 9129 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` 9130else 9131 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 9132fi 9133library_names_spec= 9134libname_spec='lib$name' 9135soname_spec= 9136shrext_cmds=".so" 9137postinstall_cmds= 9138postuninstall_cmds= 9139finish_cmds= 9140finish_eval= 9141shlibpath_var= 9142shlibpath_overrides_runpath=unknown 9143version_type=none 9144dynamic_linker="$host_os ld.so" 9145sys_lib_dlsearch_path_spec="/lib /usr/lib" 9146need_lib_prefix=unknown 9147hardcode_into_libs=no 9148 9149# when you set need_version to no, make sure it does not cause -set_version 9150# flags to be left without arguments 9151need_version=unknown 9152 9153case $host_os in 9154aix3*) 9155 version_type=linux 9156 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 9157 shlibpath_var=LIBPATH 9158 9159 # AIX 3 has no versioning support, so we append a major version to the name. 9160 soname_spec='${libname}${release}${shared_ext}$major' 9161 ;; 9162 9163aix[4-9]*) 9164 version_type=linux 9165 need_lib_prefix=no 9166 need_version=no 9167 hardcode_into_libs=yes 9168 if test "$host_cpu" = ia64; then 9169 # AIX 5 supports IA64 9170 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 9171 shlibpath_var=LD_LIBRARY_PATH 9172 else 9173 # With GCC up to 2.95.x, collect2 would create an import file 9174 # for dependence libraries. The import file would start with 9175 # the line `#! .'. This would cause the generated library to 9176 # depend on `.', always an invalid library. This was fixed in 9177 # development snapshots of GCC prior to 3.0. 9178 case $host_os in 9179 aix4 | aix4.[01] | aix4.[01].*) 9180 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 9181 echo ' yes ' 9182 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 9183 : 9184 else 9185 can_build_shared=no 9186 fi 9187 ;; 9188 esac 9189 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 9190 # soname into executable. Probably we can add versioning support to 9191 # collect2, so additional links can be useful in future. 9192 if test "$aix_use_runtimelinking" = yes; then 9193 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 9194 # instead of lib<name>.a to let people know that these are not 9195 # typical AIX shared libraries. 9196 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9197 else 9198 # We preserve .a as extension for shared libraries through AIX4.2 9199 # and later when we are not doing run time linking. 9200 library_names_spec='${libname}${release}.a $libname.a' 9201 soname_spec='${libname}${release}${shared_ext}$major' 9202 fi 9203 shlibpath_var=LIBPATH 9204 fi 9205 ;; 9206 9207amigaos*) 9208 case $host_cpu in 9209 powerpc) 9210 # Since July 2007 AmigaOS4 officially supports .so libraries. 9211 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 9212 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9213 ;; 9214 m68k) 9215 library_names_spec='$libname.ixlibrary $libname.a' 9216 # Create ${libname}_ixlibrary.a entries in /sys/libs. 9217 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' 9218 ;; 9219 esac 9220 ;; 9221 9222beos*) 9223 library_names_spec='${libname}${shared_ext}' 9224 dynamic_linker="$host_os ld.so" 9225 shlibpath_var=LIBRARY_PATH 9226 ;; 9227 9228bsdi[45]*) 9229 version_type=linux 9230 need_version=no 9231 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9232 soname_spec='${libname}${release}${shared_ext}$major' 9233 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 9234 shlibpath_var=LD_LIBRARY_PATH 9235 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 9236 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 9237 # the default ld.so.conf also contains /usr/contrib/lib and 9238 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 9239 # libtool to hard-code these into programs 9240 ;; 9241 9242cygwin* | mingw* | pw32* | cegcc*) 9243 version_type=windows 9244 shrext_cmds=".dll" 9245 need_version=no 9246 need_lib_prefix=no 9247 9248 case $GCC,$host_os in 9249 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) 9250 library_names_spec='$libname.dll.a' 9251 # DLL is installed to $(libdir)/../bin by postinstall_cmds 9252 postinstall_cmds='base_file=`basename \${file}`~ 9253 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 9254 dldir=$destdir/`dirname \$dlpath`~ 9255 test -d \$dldir || mkdir -p \$dldir~ 9256 $install_prog $dir/$dlname \$dldir/$dlname~ 9257 chmod a+x \$dldir/$dlname~ 9258 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 9259 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 9260 fi' 9261 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 9262 dlpath=$dir/\$dldll~ 9263 $RM \$dlpath' 9264 shlibpath_overrides_runpath=yes 9265 9266 case $host_os in 9267 cygwin*) 9268 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 9269 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9270 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 9271 ;; 9272 mingw* | cegcc*) 9273 # MinGW DLLs use traditional 'lib' prefix 9274 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9275 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 9276 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 9277 # It is most probably a Windows format PATH printed by 9278 # mingw gcc, but we are running on Cygwin. Gcc prints its search 9279 # path with ; separators, and with drive letters. We can handle the 9280 # drive letters (cygwin fileutils understands them), so leave them, 9281 # especially as we might pass files found there to a mingw objdump, 9282 # which wouldn't understand a cygwinified path. Ahh. 9283 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 9284 else 9285 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 9286 fi 9287 ;; 9288 pw32*) 9289 # pw32 DLLs use 'pw' prefix rather than 'lib' 9290 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9291 ;; 9292 esac 9293 ;; 9294 9295 *) 9296 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 9297 ;; 9298 esac 9299 dynamic_linker='Win32 ld.exe' 9300 # FIXME: first we should search . and the directory the executable is in 9301 shlibpath_var=PATH 9302 ;; 9303 9304darwin* | rhapsody*) 9305 dynamic_linker="$host_os dyld" 9306 version_type=darwin 9307 need_lib_prefix=no 9308 need_version=no 9309 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 9310 soname_spec='${libname}${release}${major}$shared_ext' 9311 shlibpath_overrides_runpath=yes 9312 shlibpath_var=DYLD_LIBRARY_PATH 9313 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 9314 9315 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 9316 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 9317 ;; 9318 9319dgux*) 9320 version_type=linux 9321 need_lib_prefix=no 9322 need_version=no 9323 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 9324 soname_spec='${libname}${release}${shared_ext}$major' 9325 shlibpath_var=LD_LIBRARY_PATH 9326 ;; 9327 9328freebsd1*) 9329 dynamic_linker=no 9330 ;; 9331 9332freebsd* | dragonfly*) 9333 # DragonFly does not have aout. When/if they implement a new 9334 # versioning mechanism, adjust this. 9335 if test -x /usr/bin/objformat; then 9336 objformat=`/usr/bin/objformat` 9337 else 9338 case $host_os in 9339 freebsd[123]*) objformat=aout ;; 9340 *) objformat=elf ;; 9341 esac 9342 fi 9343 version_type=freebsd-$objformat 9344 case $version_type in 9345 freebsd-elf*) 9346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 9347 need_version=no 9348 need_lib_prefix=no 9349 ;; 9350 freebsd-*) 9351 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 9352 need_version=yes 9353 ;; 9354 esac 9355 shlibpath_var=LD_LIBRARY_PATH 9356 case $host_os in 9357 freebsd2*) 9358 shlibpath_overrides_runpath=yes 9359 ;; 9360 freebsd3.[01]* | freebsdelf3.[01]*) 9361 shlibpath_overrides_runpath=yes 9362 hardcode_into_libs=yes 9363 ;; 9364 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 9365 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 9366 shlibpath_overrides_runpath=no 9367 hardcode_into_libs=yes 9368 ;; 9369 *) # from 4.6 on, and DragonFly 9370 shlibpath_overrides_runpath=yes 9371 hardcode_into_libs=yes 9372 ;; 9373 esac 9374 ;; 9375 9376gnu*) 9377 version_type=linux 9378 need_lib_prefix=no 9379 need_version=no 9380 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 9381 soname_spec='${libname}${release}${shared_ext}$major' 9382 shlibpath_var=LD_LIBRARY_PATH 9383 hardcode_into_libs=yes 9384 ;; 9385 9386hpux9* | hpux10* | hpux11*) 9387 # Give a soname corresponding to the major version so that dld.sl refuses to 9388 # link against other versions. 9389 version_type=sunos 9390 need_lib_prefix=no 9391 need_version=no 9392 case $host_cpu in 9393 ia64*) 9394 shrext_cmds='.so' 9395 hardcode_into_libs=yes 9396 dynamic_linker="$host_os dld.so" 9397 shlibpath_var=LD_LIBRARY_PATH 9398 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 9399 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9400 soname_spec='${libname}${release}${shared_ext}$major' 9401 if test "X$HPUX_IA64_MODE" = X32; then 9402 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 9403 else 9404 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 9405 fi 9406 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 9407 ;; 9408 hppa*64*) 9409 shrext_cmds='.sl' 9410 hardcode_into_libs=yes 9411 dynamic_linker="$host_os dld.sl" 9412 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 9413 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 9414 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9415 soname_spec='${libname}${release}${shared_ext}$major' 9416 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 9417 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 9418 ;; 9419 *) 9420 shrext_cmds='.sl' 9421 dynamic_linker="$host_os dld.sl" 9422 shlibpath_var=SHLIB_PATH 9423 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 9424 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9425 soname_spec='${libname}${release}${shared_ext}$major' 9426 ;; 9427 esac 9428 # HP-UX runs *really* slowly unless shared libraries are mode 555. 9429 postinstall_cmds='chmod 555 $lib' 9430 ;; 9431 9432interix[3-9]*) 9433 version_type=linux 9434 need_lib_prefix=no 9435 need_version=no 9436 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 9437 soname_spec='${libname}${release}${shared_ext}$major' 9438 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 9439 shlibpath_var=LD_LIBRARY_PATH 9440 shlibpath_overrides_runpath=no 9441 hardcode_into_libs=yes 9442 ;; 9443 9444irix5* | irix6* | nonstopux*) 9445 case $host_os in 9446 nonstopux*) version_type=nonstopux ;; 9447 *) 9448 if test "$lt_cv_prog_gnu_ld" = yes; then 9449 version_type=linux 9450 else 9451 version_type=irix 9452 fi ;; 9453 esac 9454 need_lib_prefix=no 9455 need_version=no 9456 soname_spec='${libname}${release}${shared_ext}$major' 9457 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 9458 case $host_os in 9459 irix5* | nonstopux*) 9460 libsuff= shlibsuff= 9461 ;; 9462 *) 9463 case $LD in # libtool.m4 will add one of these switches to LD 9464 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 9465 libsuff= shlibsuff= libmagic=32-bit;; 9466 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 9467 libsuff=32 shlibsuff=N32 libmagic=N32;; 9468 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 9469 libsuff=64 shlibsuff=64 libmagic=64-bit;; 9470 *) libsuff= shlibsuff= libmagic=never-match;; 9471 esac 9472 ;; 9473 esac 9474 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 9475 shlibpath_overrides_runpath=no 9476 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 9477 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 9478 hardcode_into_libs=yes 9479 ;; 9480 9481# No shared lib support for Linux oldld, aout, or coff. 9482linux*oldld* | linux*aout* | linux*coff*) 9483 dynamic_linker=no 9484 ;; 9485 9486# This must be Linux ELF. 9487linux* | k*bsd*-gnu | kopensolaris*-gnu) 9488 version_type=linux 9489 need_lib_prefix=no 9490 need_version=no 9491 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9492 soname_spec='${libname}${release}${shared_ext}$major' 9493 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 9494 shlibpath_var=LD_LIBRARY_PATH 9495 shlibpath_overrides_runpath=no 9496 # Some binutils ld are patched to set DT_RUNPATH 9497 save_LDFLAGS=$LDFLAGS 9498 save_libdir=$libdir 9499 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 9500 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 9501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9502/* end confdefs.h. */ 9503 9504int 9505main () 9506{ 9507 9508 ; 9509 return 0; 9510} 9511_ACEOF 9512if ac_fn_c_try_link "$LINENO"; then : 9513 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 9514 shlibpath_overrides_runpath=yes 9515fi 9516fi 9517rm -f core conftest.err conftest.$ac_objext \ 9518 conftest$ac_exeext conftest.$ac_ext 9519 LDFLAGS=$save_LDFLAGS 9520 libdir=$save_libdir 9521 9522 # This implies no fast_install, which is unacceptable. 9523 # Some rework will be needed to allow for fast_install 9524 # before this can be enabled. 9525 hardcode_into_libs=yes 9526 9527 # Append ld.so.conf contents to the search path 9528 if test -f /etc/ld.so.conf; then 9529 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' ' '` 9530 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 9531 fi 9532 9533 # We used to test for /lib/ld.so.1 and disable shared libraries on 9534 # powerpc, because MkLinux only supported shared libraries with the 9535 # GNU dynamic linker. Since this was broken with cross compilers, 9536 # most powerpc-linux boxes support dynamic linking these days and 9537 # people can always --disable-shared, the test was removed, and we 9538 # assume the GNU/Linux dynamic linker is in use. 9539 dynamic_linker='GNU/Linux ld.so' 9540 ;; 9541 9542netbsdelf*-gnu) 9543 version_type=linux 9544 need_lib_prefix=no 9545 need_version=no 9546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 9547 soname_spec='${libname}${release}${shared_ext}$major' 9548 shlibpath_var=LD_LIBRARY_PATH 9549 shlibpath_overrides_runpath=no 9550 hardcode_into_libs=yes 9551 dynamic_linker='NetBSD ld.elf_so' 9552 ;; 9553 9554netbsd*) 9555 version_type=sunos 9556 need_lib_prefix=no 9557 need_version=no 9558 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9559 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 9560 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 9561 dynamic_linker='NetBSD (a.out) ld.so' 9562 else 9563 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 9564 soname_spec='${libname}${release}${shared_ext}$major' 9565 dynamic_linker='NetBSD ld.elf_so' 9566 fi 9567 shlibpath_var=LD_LIBRARY_PATH 9568 shlibpath_overrides_runpath=yes 9569 hardcode_into_libs=yes 9570 ;; 9571 9572newsos6) 9573 version_type=linux 9574 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9575 shlibpath_var=LD_LIBRARY_PATH 9576 shlibpath_overrides_runpath=yes 9577 ;; 9578 9579*nto* | *qnx*) 9580 version_type=qnx 9581 need_lib_prefix=no 9582 need_version=no 9583 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9584 soname_spec='${libname}${release}${shared_ext}$major' 9585 shlibpath_var=LD_LIBRARY_PATH 9586 shlibpath_overrides_runpath=no 9587 hardcode_into_libs=yes 9588 dynamic_linker='ldqnx.so' 9589 ;; 9590 9591openbsd*) 9592 version_type=sunos 9593 sys_lib_dlsearch_path_spec="/usr/lib" 9594 need_lib_prefix=no 9595 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 9596 case $host_os in 9597 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 9598 *) need_version=no ;; 9599 esac 9600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 9601 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 9602 shlibpath_var=LD_LIBRARY_PATH 9603 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9604 case $host_os in 9605 openbsd2.[89] | openbsd2.[89].*) 9606 shlibpath_overrides_runpath=no 9607 ;; 9608 *) 9609 shlibpath_overrides_runpath=yes 9610 ;; 9611 esac 9612 else 9613 shlibpath_overrides_runpath=yes 9614 fi 9615 ;; 9616 9617os2*) 9618 libname_spec='$name' 9619 shrext_cmds=".dll" 9620 need_lib_prefix=no 9621 library_names_spec='$libname${shared_ext} $libname.a' 9622 dynamic_linker='OS/2 ld.exe' 9623 shlibpath_var=LIBPATH 9624 ;; 9625 9626osf3* | osf4* | osf5*) 9627 version_type=osf 9628 need_lib_prefix=no 9629 need_version=no 9630 soname_spec='${libname}${release}${shared_ext}$major' 9631 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9632 shlibpath_var=LD_LIBRARY_PATH 9633 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 9634 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 9635 ;; 9636 9637rdos*) 9638 dynamic_linker=no 9639 ;; 9640 9641solaris*) 9642 version_type=linux 9643 need_lib_prefix=no 9644 need_version=no 9645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9646 soname_spec='${libname}${release}${shared_ext}$major' 9647 shlibpath_var=LD_LIBRARY_PATH 9648 shlibpath_overrides_runpath=yes 9649 hardcode_into_libs=yes 9650 # ldd complains unless libraries are executable 9651 postinstall_cmds='chmod +x $lib' 9652 ;; 9653 9654sunos4*) 9655 version_type=sunos 9656 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 9657 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 9658 shlibpath_var=LD_LIBRARY_PATH 9659 shlibpath_overrides_runpath=yes 9660 if test "$with_gnu_ld" = yes; then 9661 need_lib_prefix=no 9662 fi 9663 need_version=yes 9664 ;; 9665 9666sysv4 | sysv4.3*) 9667 version_type=linux 9668 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9669 soname_spec='${libname}${release}${shared_ext}$major' 9670 shlibpath_var=LD_LIBRARY_PATH 9671 case $host_vendor in 9672 sni) 9673 shlibpath_overrides_runpath=no 9674 need_lib_prefix=no 9675 runpath_var=LD_RUN_PATH 9676 ;; 9677 siemens) 9678 need_lib_prefix=no 9679 ;; 9680 motorola) 9681 need_lib_prefix=no 9682 need_version=no 9683 shlibpath_overrides_runpath=no 9684 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 9685 ;; 9686 esac 9687 ;; 9688 9689sysv4*MP*) 9690 if test -d /usr/nec ;then 9691 version_type=linux 9692 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 9693 soname_spec='$libname${shared_ext}.$major' 9694 shlibpath_var=LD_LIBRARY_PATH 9695 fi 9696 ;; 9697 9698sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 9699 version_type=freebsd-elf 9700 need_lib_prefix=no 9701 need_version=no 9702 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 9703 soname_spec='${libname}${release}${shared_ext}$major' 9704 shlibpath_var=LD_LIBRARY_PATH 9705 shlibpath_overrides_runpath=yes 9706 hardcode_into_libs=yes 9707 if test "$with_gnu_ld" = yes; then 9708 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 9709 else 9710 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 9711 case $host_os in 9712 sco3.2v5*) 9713 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 9714 ;; 9715 esac 9716 fi 9717 sys_lib_dlsearch_path_spec='/usr/lib' 9718 ;; 9719 9720tpf*) 9721 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 9722 version_type=linux 9723 need_lib_prefix=no 9724 need_version=no 9725 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9726 shlibpath_var=LD_LIBRARY_PATH 9727 shlibpath_overrides_runpath=no 9728 hardcode_into_libs=yes 9729 ;; 9730 9731uts4*) 9732 version_type=linux 9733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9734 soname_spec='${libname}${release}${shared_ext}$major' 9735 shlibpath_var=LD_LIBRARY_PATH 9736 ;; 9737 9738*) 9739 dynamic_linker=no 9740 ;; 9741esac 9742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 9743$as_echo "$dynamic_linker" >&6; } 9744test "$dynamic_linker" = no && can_build_shared=no 9745 9746variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 9747if test "$GCC" = yes; then 9748 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 9749fi 9750 9751if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 9752 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 9753fi 9754if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 9755 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 9756fi 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 9845$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 9846hardcode_action= 9847if test -n "$hardcode_libdir_flag_spec" || 9848 test -n "$runpath_var" || 9849 test "X$hardcode_automatic" = "Xyes" ; then 9850 9851 # We can hardcode non-existent directories. 9852 if test "$hardcode_direct" != no && 9853 # If the only mechanism to avoid hardcoding is shlibpath_var, we 9854 # have to relink, otherwise we might link with an installed library 9855 # when we should be linking with a yet-to-be-installed one 9856 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 9857 test "$hardcode_minus_L" != no; then 9858 # Linking always hardcodes the temporary library directory. 9859 hardcode_action=relink 9860 else 9861 # We can link without hardcoding, and we can hardcode nonexisting dirs. 9862 hardcode_action=immediate 9863 fi 9864else 9865 # We cannot hardcode anything, or else we can only hardcode existing 9866 # directories. 9867 hardcode_action=unsupported 9868fi 9869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 9870$as_echo "$hardcode_action" >&6; } 9871 9872if test "$hardcode_action" = relink || 9873 test "$inherit_rpath" = yes; then 9874 # Fast installation is not supported 9875 enable_fast_install=no 9876elif test "$shlibpath_overrides_runpath" = yes || 9877 test "$enable_shared" = no; then 9878 # Fast installation is not necessary 9879 enable_fast_install=needless 9880fi 9881 9882 9883 9884 9885 9886 9887 if test "x$enable_dlopen" != xyes; then 9888 enable_dlopen=unknown 9889 enable_dlopen_self=unknown 9890 enable_dlopen_self_static=unknown 9891else 9892 lt_cv_dlopen=no 9893 lt_cv_dlopen_libs= 9894 9895 case $host_os in 9896 beos*) 9897 lt_cv_dlopen="load_add_on" 9898 lt_cv_dlopen_libs= 9899 lt_cv_dlopen_self=yes 9900 ;; 9901 9902 mingw* | pw32* | cegcc*) 9903 lt_cv_dlopen="LoadLibrary" 9904 lt_cv_dlopen_libs= 9905 ;; 9906 9907 cygwin*) 9908 lt_cv_dlopen="dlopen" 9909 lt_cv_dlopen_libs= 9910 ;; 9911 9912 darwin*) 9913 # if libdl is installed we need to link against it 9914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 9915$as_echo_n "checking for dlopen in -ldl... " >&6; } 9916if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 9917 $as_echo_n "(cached) " >&6 9918else 9919 ac_check_lib_save_LIBS=$LIBS 9920LIBS="-ldl $LIBS" 9921cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9922/* end confdefs.h. */ 9923 9924/* Override any GCC internal prototype to avoid an error. 9925 Use char because int might match the return type of a GCC 9926 builtin and then its argument prototype would still apply. */ 9927#ifdef __cplusplus 9928extern "C" 9929#endif 9930char dlopen (); 9931int 9932main () 9933{ 9934return dlopen (); 9935 ; 9936 return 0; 9937} 9938_ACEOF 9939if ac_fn_c_try_link "$LINENO"; then : 9940 ac_cv_lib_dl_dlopen=yes 9941else 9942 ac_cv_lib_dl_dlopen=no 9943fi 9944rm -f core conftest.err conftest.$ac_objext \ 9945 conftest$ac_exeext conftest.$ac_ext 9946LIBS=$ac_check_lib_save_LIBS 9947fi 9948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 9949$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 9950if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 9951 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 9952else 9953 9954 lt_cv_dlopen="dyld" 9955 lt_cv_dlopen_libs= 9956 lt_cv_dlopen_self=yes 9957 9958fi 9959 9960 ;; 9961 9962 *) 9963 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 9964if test "x$ac_cv_func_shl_load" = x""yes; then : 9965 lt_cv_dlopen="shl_load" 9966else 9967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 9968$as_echo_n "checking for shl_load in -ldld... " >&6; } 9969if test "${ac_cv_lib_dld_shl_load+set}" = set; then : 9970 $as_echo_n "(cached) " >&6 9971else 9972 ac_check_lib_save_LIBS=$LIBS 9973LIBS="-ldld $LIBS" 9974cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9975/* end confdefs.h. */ 9976 9977/* Override any GCC internal prototype to avoid an error. 9978 Use char because int might match the return type of a GCC 9979 builtin and then its argument prototype would still apply. */ 9980#ifdef __cplusplus 9981extern "C" 9982#endif 9983char shl_load (); 9984int 9985main () 9986{ 9987return shl_load (); 9988 ; 9989 return 0; 9990} 9991_ACEOF 9992if ac_fn_c_try_link "$LINENO"; then : 9993 ac_cv_lib_dld_shl_load=yes 9994else 9995 ac_cv_lib_dld_shl_load=no 9996fi 9997rm -f core conftest.err conftest.$ac_objext \ 9998 conftest$ac_exeext conftest.$ac_ext 9999LIBS=$ac_check_lib_save_LIBS 10000fi 10001{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 10002$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 10003if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : 10004 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 10005else 10006 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 10007if test "x$ac_cv_func_dlopen" = x""yes; then : 10008 lt_cv_dlopen="dlopen" 10009else 10010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10011$as_echo_n "checking for dlopen in -ldl... " >&6; } 10012if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 10013 $as_echo_n "(cached) " >&6 10014else 10015 ac_check_lib_save_LIBS=$LIBS 10016LIBS="-ldl $LIBS" 10017cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10018/* end confdefs.h. */ 10019 10020/* Override any GCC internal prototype to avoid an error. 10021 Use char because int might match the return type of a GCC 10022 builtin and then its argument prototype would still apply. */ 10023#ifdef __cplusplus 10024extern "C" 10025#endif 10026char dlopen (); 10027int 10028main () 10029{ 10030return dlopen (); 10031 ; 10032 return 0; 10033} 10034_ACEOF 10035if ac_fn_c_try_link "$LINENO"; then : 10036 ac_cv_lib_dl_dlopen=yes 10037else 10038 ac_cv_lib_dl_dlopen=no 10039fi 10040rm -f core conftest.err conftest.$ac_objext \ 10041 conftest$ac_exeext conftest.$ac_ext 10042LIBS=$ac_check_lib_save_LIBS 10043fi 10044{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10045$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10046if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 10047 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10048else 10049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 10050$as_echo_n "checking for dlopen in -lsvld... " >&6; } 10051if test "${ac_cv_lib_svld_dlopen+set}" = set; then : 10052 $as_echo_n "(cached) " >&6 10053else 10054 ac_check_lib_save_LIBS=$LIBS 10055LIBS="-lsvld $LIBS" 10056cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10057/* end confdefs.h. */ 10058 10059/* Override any GCC internal prototype to avoid an error. 10060 Use char because int might match the return type of a GCC 10061 builtin and then its argument prototype would still apply. */ 10062#ifdef __cplusplus 10063extern "C" 10064#endif 10065char dlopen (); 10066int 10067main () 10068{ 10069return dlopen (); 10070 ; 10071 return 0; 10072} 10073_ACEOF 10074if ac_fn_c_try_link "$LINENO"; then : 10075 ac_cv_lib_svld_dlopen=yes 10076else 10077 ac_cv_lib_svld_dlopen=no 10078fi 10079rm -f core conftest.err conftest.$ac_objext \ 10080 conftest$ac_exeext conftest.$ac_ext 10081LIBS=$ac_check_lib_save_LIBS 10082fi 10083{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 10084$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 10085if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : 10086 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 10087else 10088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 10089$as_echo_n "checking for dld_link in -ldld... " >&6; } 10090if test "${ac_cv_lib_dld_dld_link+set}" = set; then : 10091 $as_echo_n "(cached) " >&6 10092else 10093 ac_check_lib_save_LIBS=$LIBS 10094LIBS="-ldld $LIBS" 10095cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10096/* end confdefs.h. */ 10097 10098/* Override any GCC internal prototype to avoid an error. 10099 Use char because int might match the return type of a GCC 10100 builtin and then its argument prototype would still apply. */ 10101#ifdef __cplusplus 10102extern "C" 10103#endif 10104char dld_link (); 10105int 10106main () 10107{ 10108return dld_link (); 10109 ; 10110 return 0; 10111} 10112_ACEOF 10113if ac_fn_c_try_link "$LINENO"; then : 10114 ac_cv_lib_dld_dld_link=yes 10115else 10116 ac_cv_lib_dld_dld_link=no 10117fi 10118rm -f core conftest.err conftest.$ac_objext \ 10119 conftest$ac_exeext conftest.$ac_ext 10120LIBS=$ac_check_lib_save_LIBS 10121fi 10122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 10123$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 10124if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : 10125 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 10126fi 10127 10128 10129fi 10130 10131 10132fi 10133 10134 10135fi 10136 10137 10138fi 10139 10140 10141fi 10142 10143 ;; 10144 esac 10145 10146 if test "x$lt_cv_dlopen" != xno; then 10147 enable_dlopen=yes 10148 else 10149 enable_dlopen=no 10150 fi 10151 10152 case $lt_cv_dlopen in 10153 dlopen) 10154 save_CPPFLAGS="$CPPFLAGS" 10155 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 10156 10157 save_LDFLAGS="$LDFLAGS" 10158 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 10159 10160 save_LIBS="$LIBS" 10161 LIBS="$lt_cv_dlopen_libs $LIBS" 10162 10163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 10164$as_echo_n "checking whether a program can dlopen itself... " >&6; } 10165if test "${lt_cv_dlopen_self+set}" = set; then : 10166 $as_echo_n "(cached) " >&6 10167else 10168 if test "$cross_compiling" = yes; then : 10169 lt_cv_dlopen_self=cross 10170else 10171 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10172 lt_status=$lt_dlunknown 10173 cat > conftest.$ac_ext <<_LT_EOF 10174#line 10174 "configure" 10175#include "confdefs.h" 10176 10177#if HAVE_DLFCN_H 10178#include <dlfcn.h> 10179#endif 10180 10181#include <stdio.h> 10182 10183#ifdef RTLD_GLOBAL 10184# define LT_DLGLOBAL RTLD_GLOBAL 10185#else 10186# ifdef DL_GLOBAL 10187# define LT_DLGLOBAL DL_GLOBAL 10188# else 10189# define LT_DLGLOBAL 0 10190# endif 10191#endif 10192 10193/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 10194 find out it does not work in some platform. */ 10195#ifndef LT_DLLAZY_OR_NOW 10196# ifdef RTLD_LAZY 10197# define LT_DLLAZY_OR_NOW RTLD_LAZY 10198# else 10199# ifdef DL_LAZY 10200# define LT_DLLAZY_OR_NOW DL_LAZY 10201# else 10202# ifdef RTLD_NOW 10203# define LT_DLLAZY_OR_NOW RTLD_NOW 10204# else 10205# ifdef DL_NOW 10206# define LT_DLLAZY_OR_NOW DL_NOW 10207# else 10208# define LT_DLLAZY_OR_NOW 0 10209# endif 10210# endif 10211# endif 10212# endif 10213#endif 10214 10215void fnord() { int i=42;} 10216int main () 10217{ 10218 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 10219 int status = $lt_dlunknown; 10220 10221 if (self) 10222 { 10223 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 10224 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 10225 /* dlclose (self); */ 10226 } 10227 else 10228 puts (dlerror ()); 10229 10230 return status; 10231} 10232_LT_EOF 10233 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 10234 (eval $ac_link) 2>&5 10235 ac_status=$? 10236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10237 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 10238 (./conftest; exit; ) >&5 2>/dev/null 10239 lt_status=$? 10240 case x$lt_status in 10241 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 10242 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 10243 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 10244 esac 10245 else : 10246 # compilation failed 10247 lt_cv_dlopen_self=no 10248 fi 10249fi 10250rm -fr conftest* 10251 10252 10253fi 10254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 10255$as_echo "$lt_cv_dlopen_self" >&6; } 10256 10257 if test "x$lt_cv_dlopen_self" = xyes; then 10258 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 10259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 10260$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 10261if test "${lt_cv_dlopen_self_static+set}" = set; then : 10262 $as_echo_n "(cached) " >&6 10263else 10264 if test "$cross_compiling" = yes; then : 10265 lt_cv_dlopen_self_static=cross 10266else 10267 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10268 lt_status=$lt_dlunknown 10269 cat > conftest.$ac_ext <<_LT_EOF 10270#line 10270 "configure" 10271#include "confdefs.h" 10272 10273#if HAVE_DLFCN_H 10274#include <dlfcn.h> 10275#endif 10276 10277#include <stdio.h> 10278 10279#ifdef RTLD_GLOBAL 10280# define LT_DLGLOBAL RTLD_GLOBAL 10281#else 10282# ifdef DL_GLOBAL 10283# define LT_DLGLOBAL DL_GLOBAL 10284# else 10285# define LT_DLGLOBAL 0 10286# endif 10287#endif 10288 10289/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 10290 find out it does not work in some platform. */ 10291#ifndef LT_DLLAZY_OR_NOW 10292# ifdef RTLD_LAZY 10293# define LT_DLLAZY_OR_NOW RTLD_LAZY 10294# else 10295# ifdef DL_LAZY 10296# define LT_DLLAZY_OR_NOW DL_LAZY 10297# else 10298# ifdef RTLD_NOW 10299# define LT_DLLAZY_OR_NOW RTLD_NOW 10300# else 10301# ifdef DL_NOW 10302# define LT_DLLAZY_OR_NOW DL_NOW 10303# else 10304# define LT_DLLAZY_OR_NOW 0 10305# endif 10306# endif 10307# endif 10308# endif 10309#endif 10310 10311void fnord() { int i=42;} 10312int main () 10313{ 10314 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 10315 int status = $lt_dlunknown; 10316 10317 if (self) 10318 { 10319 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 10320 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 10321 /* dlclose (self); */ 10322 } 10323 else 10324 puts (dlerror ()); 10325 10326 return status; 10327} 10328_LT_EOF 10329 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 10330 (eval $ac_link) 2>&5 10331 ac_status=$? 10332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10333 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 10334 (./conftest; exit; ) >&5 2>/dev/null 10335 lt_status=$? 10336 case x$lt_status in 10337 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 10338 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 10339 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 10340 esac 10341 else : 10342 # compilation failed 10343 lt_cv_dlopen_self_static=no 10344 fi 10345fi 10346rm -fr conftest* 10347 10348 10349fi 10350{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 10351$as_echo "$lt_cv_dlopen_self_static" >&6; } 10352 fi 10353 10354 CPPFLAGS="$save_CPPFLAGS" 10355 LDFLAGS="$save_LDFLAGS" 10356 LIBS="$save_LIBS" 10357 ;; 10358 esac 10359 10360 case $lt_cv_dlopen_self in 10361 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 10362 *) enable_dlopen_self=unknown ;; 10363 esac 10364 10365 case $lt_cv_dlopen_self_static in 10366 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 10367 *) enable_dlopen_self_static=unknown ;; 10368 esac 10369fi 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387striplib= 10388old_striplib= 10389{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 10390$as_echo_n "checking whether stripping libraries is possible... " >&6; } 10391if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 10392 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 10393 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 10394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10395$as_echo "yes" >&6; } 10396else 10397# FIXME - insert some real tests, host_os isn't really good enough 10398 case $host_os in 10399 darwin*) 10400 if test -n "$STRIP" ; then 10401 striplib="$STRIP -x" 10402 old_striplib="$STRIP -S" 10403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10404$as_echo "yes" >&6; } 10405 else 10406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10407$as_echo "no" >&6; } 10408 fi 10409 ;; 10410 *) 10411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10412$as_echo "no" >&6; } 10413 ;; 10414 esac 10415fi 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 # Report which library types will actually be built 10429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 10430$as_echo_n "checking if libtool supports shared libraries... " >&6; } 10431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 10432$as_echo "$can_build_shared" >&6; } 10433 10434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 10435$as_echo_n "checking whether to build shared libraries... " >&6; } 10436 test "$can_build_shared" = "no" && enable_shared=no 10437 10438 # On AIX, shared libraries and static libraries use the same namespace, and 10439 # are all built from PIC. 10440 case $host_os in 10441 aix3*) 10442 test "$enable_shared" = yes && enable_static=no 10443 if test -n "$RANLIB"; then 10444 archive_cmds="$archive_cmds~\$RANLIB \$lib" 10445 postinstall_cmds='$RANLIB $lib' 10446 fi 10447 ;; 10448 10449 aix[4-9]*) 10450 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 10451 test "$enable_shared" = yes && enable_static=no 10452 fi 10453 ;; 10454 esac 10455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 10456$as_echo "$enable_shared" >&6; } 10457 10458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 10459$as_echo_n "checking whether to build static libraries... " >&6; } 10460 # Make sure either enable_shared or enable_static is yes. 10461 test "$enable_shared" = yes || enable_static=yes 10462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 10463$as_echo "$enable_static" >&6; } 10464 10465 10466 10467 10468fi 10469ac_ext=c 10470ac_cpp='$CPP $CPPFLAGS' 10471ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 10472ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 10473ac_compiler_gnu=$ac_cv_c_compiler_gnu 10474 10475CC="$lt_save_CC" 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 ac_config_commands="$ac_config_commands libtool" 10490 10491 10492 10493 10494# Only expand once: 10495 10496 10497 10498#intltool, libtool. Check for CC compiler 10499 10500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 10501$as_echo_n "checking whether NLS is requested... " >&6; } 10502 # Check whether --enable-nls was given. 10503if test "${enable_nls+set}" = set; then : 10504 enableval=$enable_nls; USE_NLS=$enableval 10505else 10506 USE_NLS=yes 10507fi 10508 10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 10510$as_echo "$USE_NLS" >&6; } 10511 10512 10513 10514 10515case "$am__api_version" in 10516 1.01234) 10517 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 10518 ;; 10519 *) 10520 ;; 10521esac 10522 10523if test -n "0.21"; then 10524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.21" >&5 10525$as_echo_n "checking for intltool >= 0.21... " >&6; } 10526 10527 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.21 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 10528 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` 10529 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 10530 10531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 10532$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } 10533 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || 10534 as_fn_error $? "Your intltool is too old. You need intltool 0.21 or later." "$LINENO" 5 10535fi 10536 10537# Extract the first word of "intltool-update", so it can be a program name with args. 10538set dummy intltool-update; ac_word=$2 10539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10540$as_echo_n "checking for $ac_word... " >&6; } 10541if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then : 10542 $as_echo_n "(cached) " >&6 10543else 10544 case $INTLTOOL_UPDATE in 10545 [\\/]* | ?:[\\/]*) 10546 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. 10547 ;; 10548 *) 10549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10550for as_dir in $PATH 10551do 10552 IFS=$as_save_IFS 10553 test -z "$as_dir" && as_dir=. 10554 for ac_exec_ext in '' $ac_executable_extensions; do 10555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 10556 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" 10557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10558 break 2 10559 fi 10560done 10561 done 10562IFS=$as_save_IFS 10563 10564 ;; 10565esac 10566fi 10567INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE 10568if test -n "$INTLTOOL_UPDATE"; then 10569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 10570$as_echo "$INTLTOOL_UPDATE" >&6; } 10571else 10572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10573$as_echo "no" >&6; } 10574fi 10575 10576 10577# Extract the first word of "intltool-merge", so it can be a program name with args. 10578set dummy intltool-merge; ac_word=$2 10579{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10580$as_echo_n "checking for $ac_word... " >&6; } 10581if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then : 10582 $as_echo_n "(cached) " >&6 10583else 10584 case $INTLTOOL_MERGE in 10585 [\\/]* | ?:[\\/]*) 10586 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. 10587 ;; 10588 *) 10589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10590for as_dir in $PATH 10591do 10592 IFS=$as_save_IFS 10593 test -z "$as_dir" && as_dir=. 10594 for ac_exec_ext in '' $ac_executable_extensions; do 10595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 10596 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" 10597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10598 break 2 10599 fi 10600done 10601 done 10602IFS=$as_save_IFS 10603 10604 ;; 10605esac 10606fi 10607INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE 10608if test -n "$INTLTOOL_MERGE"; then 10609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 10610$as_echo "$INTLTOOL_MERGE" >&6; } 10611else 10612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10613$as_echo "no" >&6; } 10614fi 10615 10616 10617# Extract the first word of "intltool-extract", so it can be a program name with args. 10618set dummy intltool-extract; ac_word=$2 10619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10620$as_echo_n "checking for $ac_word... " >&6; } 10621if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then : 10622 $as_echo_n "(cached) " >&6 10623else 10624 case $INTLTOOL_EXTRACT in 10625 [\\/]* | ?:[\\/]*) 10626 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. 10627 ;; 10628 *) 10629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10630for as_dir in $PATH 10631do 10632 IFS=$as_save_IFS 10633 test -z "$as_dir" && as_dir=. 10634 for ac_exec_ext in '' $ac_executable_extensions; do 10635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 10636 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" 10637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10638 break 2 10639 fi 10640done 10641 done 10642IFS=$as_save_IFS 10643 10644 ;; 10645esac 10646fi 10647INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT 10648if test -n "$INTLTOOL_EXTRACT"; then 10649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 10650$as_echo "$INTLTOOL_EXTRACT" >&6; } 10651else 10652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10653$as_echo "no" >&6; } 10654fi 10655 10656 10657if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then 10658 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 10659fi 10660 10661 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 $< $@' 10662INTLTOOL_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 $< $@' 10663 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 $< $@' 10664 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 $< $@' 10665 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@' 10666 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 $< $@' 10667 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 $< $@' 10668 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 $< $@' 10669INTLTOOL_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 $< $@' 10670 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 $< $@' 10671 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 $< $@' 10672 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@' 10673 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 $< $@' 10674 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 $< $@' 10675 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 $< $@' 10676 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 $< $@' 10677 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 $< $@' 10678 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 $< $@' 10679 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 $< $@' 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777# Check the gettext tools to make sure they are GNU 10778# Extract the first word of "xgettext", so it can be a program name with args. 10779set dummy xgettext; ac_word=$2 10780{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10781$as_echo_n "checking for $ac_word... " >&6; } 10782if test "${ac_cv_path_XGETTEXT+set}" = set; then : 10783 $as_echo_n "(cached) " >&6 10784else 10785 case $XGETTEXT in 10786 [\\/]* | ?:[\\/]*) 10787 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 10788 ;; 10789 *) 10790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10791for as_dir in $PATH 10792do 10793 IFS=$as_save_IFS 10794 test -z "$as_dir" && as_dir=. 10795 for ac_exec_ext in '' $ac_executable_extensions; do 10796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 10797 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" 10798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10799 break 2 10800 fi 10801done 10802 done 10803IFS=$as_save_IFS 10804 10805 ;; 10806esac 10807fi 10808XGETTEXT=$ac_cv_path_XGETTEXT 10809if test -n "$XGETTEXT"; then 10810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 10811$as_echo "$XGETTEXT" >&6; } 10812else 10813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10814$as_echo "no" >&6; } 10815fi 10816 10817 10818# Extract the first word of "msgmerge", so it can be a program name with args. 10819set dummy msgmerge; ac_word=$2 10820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10821$as_echo_n "checking for $ac_word... " >&6; } 10822if test "${ac_cv_path_MSGMERGE+set}" = set; then : 10823 $as_echo_n "(cached) " >&6 10824else 10825 case $MSGMERGE in 10826 [\\/]* | ?:[\\/]*) 10827 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 10828 ;; 10829 *) 10830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10831for as_dir in $PATH 10832do 10833 IFS=$as_save_IFS 10834 test -z "$as_dir" && as_dir=. 10835 for ac_exec_ext in '' $ac_executable_extensions; do 10836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 10837 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" 10838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10839 break 2 10840 fi 10841done 10842 done 10843IFS=$as_save_IFS 10844 10845 ;; 10846esac 10847fi 10848MSGMERGE=$ac_cv_path_MSGMERGE 10849if test -n "$MSGMERGE"; then 10850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 10851$as_echo "$MSGMERGE" >&6; } 10852else 10853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10854$as_echo "no" >&6; } 10855fi 10856 10857 10858# Extract the first word of "msgfmt", so it can be a program name with args. 10859set dummy msgfmt; ac_word=$2 10860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10861$as_echo_n "checking for $ac_word... " >&6; } 10862if test "${ac_cv_path_MSGFMT+set}" = set; then : 10863 $as_echo_n "(cached) " >&6 10864else 10865 case $MSGFMT in 10866 [\\/]* | ?:[\\/]*) 10867 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 10868 ;; 10869 *) 10870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10871for as_dir in $PATH 10872do 10873 IFS=$as_save_IFS 10874 test -z "$as_dir" && as_dir=. 10875 for ac_exec_ext in '' $ac_executable_extensions; do 10876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 10877 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" 10878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10879 break 2 10880 fi 10881done 10882 done 10883IFS=$as_save_IFS 10884 10885 ;; 10886esac 10887fi 10888MSGFMT=$ac_cv_path_MSGFMT 10889if test -n "$MSGFMT"; then 10890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 10891$as_echo "$MSGFMT" >&6; } 10892else 10893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10894$as_echo "no" >&6; } 10895fi 10896 10897 10898# Extract the first word of "gmsgfmt", so it can be a program name with args. 10899set dummy gmsgfmt; ac_word=$2 10900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10901$as_echo_n "checking for $ac_word... " >&6; } 10902if test "${ac_cv_path_GMSGFMT+set}" = set; then : 10903 $as_echo_n "(cached) " >&6 10904else 10905 case $GMSGFMT in 10906 [\\/]* | ?:[\\/]*) 10907 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 10908 ;; 10909 *) 10910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10911for as_dir in $PATH 10912do 10913 IFS=$as_save_IFS 10914 test -z "$as_dir" && as_dir=. 10915 for ac_exec_ext in '' $ac_executable_extensions; do 10916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 10917 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 10918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10919 break 2 10920 fi 10921done 10922 done 10923IFS=$as_save_IFS 10924 10925 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 10926 ;; 10927esac 10928fi 10929GMSGFMT=$ac_cv_path_GMSGFMT 10930if test -n "$GMSGFMT"; then 10931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 10932$as_echo "$GMSGFMT" >&6; } 10933else 10934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10935$as_echo "no" >&6; } 10936fi 10937 10938 10939if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then 10940 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 10941fi 10942xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" 10943mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" 10944mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" 10945if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then 10946 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 10947fi 10948 10949# Extract the first word of "perl", so it can be a program name with args. 10950set dummy perl; ac_word=$2 10951{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10952$as_echo_n "checking for $ac_word... " >&6; } 10953if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then : 10954 $as_echo_n "(cached) " >&6 10955else 10956 case $INTLTOOL_PERL in 10957 [\\/]* | ?:[\\/]*) 10958 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. 10959 ;; 10960 *) 10961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10962for as_dir in $PATH 10963do 10964 IFS=$as_save_IFS 10965 test -z "$as_dir" && as_dir=. 10966 for ac_exec_ext in '' $ac_executable_extensions; do 10967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 10968 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" 10969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10970 break 2 10971 fi 10972done 10973 done 10974IFS=$as_save_IFS 10975 10976 ;; 10977esac 10978fi 10979INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL 10980if test -n "$INTLTOOL_PERL"; then 10981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 10982$as_echo "$INTLTOOL_PERL" >&6; } 10983else 10984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10985$as_echo "no" >&6; } 10986fi 10987 10988 10989if test -z "$INTLTOOL_PERL"; then 10990 as_fn_error $? "perl not found" "$LINENO" 5 10991fi 10992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 10993$as_echo_n "checking for perl >= 5.8.1... " >&6; } 10994$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 10995if test $? -ne 0; then 10996 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 10997else 10998 IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`" 10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 11000$as_echo "$IT_PERL_VERSION" >&6; } 11001fi 11002if test "x" != "xno-xml"; then 11003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 11004$as_echo_n "checking for XML::Parser... " >&6; } 11005 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then 11006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 11007$as_echo "ok" >&6; } 11008 else 11009 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 11010 fi 11011fi 11012 11013# Substitute ALL_LINGUAS so we can use it in po/Makefile 11014 11015 11016# Set DATADIRNAME correctly if it is not set yet 11017# (copied from glib-gettext.m4) 11018if test -z "$DATADIRNAME"; then 11019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11020/* end confdefs.h. */ 11021 11022int 11023main () 11024{ 11025extern int _nl_msg_cat_cntr; 11026 return _nl_msg_cat_cntr 11027 ; 11028 return 0; 11029} 11030_ACEOF 11031if ac_fn_c_try_link "$LINENO"; then : 11032 DATADIRNAME=share 11033else 11034 case $host in 11035 *-*-solaris*) 11036 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 11037if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then : 11038 DATADIRNAME=share 11039else 11040 DATADIRNAME=lib 11041fi 11042 11043 ;; 11044 *) 11045 DATADIRNAME=lib 11046 ;; 11047 esac 11048fi 11049rm -f core conftest.err conftest.$ac_objext \ 11050 conftest$ac_exeext conftest.$ac_ext 11051fi 11052 11053 11054 11055 11056 11057 11058# i18n support 11059ALL_LINGUAS="bg bs de en_CA es fi fr hu id it ja ml nb nl pl pt_BR ro ru sq sv tr zh_CN" 11060 11061GETTEXT_PACKAGE=gmpc-alarm 11062 11063 11064cat >>confdefs.h <<_ACEOF 11065#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" 11066_ACEOF 11067 11068 11069 for ac_header in locale.h 11070do : 11071 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" 11072if test "x$ac_cv_header_locale_h" = x""yes; then : 11073 cat >>confdefs.h <<_ACEOF 11074#define HAVE_LOCALE_H 1 11075_ACEOF 11076 11077fi 11078 11079done 11080 11081 if test $ac_cv_header_locale_h = yes; then 11082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 11083$as_echo_n "checking for LC_MESSAGES... " >&6; } 11084if test "${am_cv_val_LC_MESSAGES+set}" = set; then : 11085 $as_echo_n "(cached) " >&6 11086else 11087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11088/* end confdefs.h. */ 11089#include <locale.h> 11090int 11091main () 11092{ 11093return LC_MESSAGES 11094 ; 11095 return 0; 11096} 11097_ACEOF 11098if ac_fn_c_try_link "$LINENO"; then : 11099 am_cv_val_LC_MESSAGES=yes 11100else 11101 am_cv_val_LC_MESSAGES=no 11102fi 11103rm -f core conftest.err conftest.$ac_objext \ 11104 conftest$ac_exeext conftest.$ac_ext 11105fi 11106{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5 11107$as_echo "$am_cv_val_LC_MESSAGES" >&6; } 11108 if test $am_cv_val_LC_MESSAGES = yes; then 11109 11110$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h 11111 11112 fi 11113 fi 11114 USE_NLS=yes 11115 11116 11117 gt_cv_have_gettext=no 11118 11119 CATOBJEXT=NONE 11120 XGETTEXT=: 11121 INTLLIBS= 11122 11123 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" 11124if test "x$ac_cv_header_libintl_h" = x""yes; then : 11125 gt_cv_func_dgettext_libintl="no" 11126 libintl_extra_libs="" 11127 11128 # 11129 # First check in libc 11130 # 11131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5 11132$as_echo_n "checking for ngettext in libc... " >&6; } 11133if test "${gt_cv_func_ngettext_libc+set}" = set; then : 11134 $as_echo_n "(cached) " >&6 11135else 11136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11137/* end confdefs.h. */ 11138 11139#include <libintl.h> 11140 11141int 11142main () 11143{ 11144return !ngettext ("","", 1) 11145 ; 11146 return 0; 11147} 11148_ACEOF 11149if ac_fn_c_try_link "$LINENO"; then : 11150 gt_cv_func_ngettext_libc=yes 11151else 11152 gt_cv_func_ngettext_libc=no 11153fi 11154rm -f core conftest.err conftest.$ac_objext \ 11155 conftest$ac_exeext conftest.$ac_ext 11156 11157fi 11158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5 11159$as_echo "$gt_cv_func_ngettext_libc" >&6; } 11160 11161 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 11162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5 11163$as_echo_n "checking for dgettext in libc... " >&6; } 11164if test "${gt_cv_func_dgettext_libc+set}" = set; then : 11165 $as_echo_n "(cached) " >&6 11166else 11167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11168/* end confdefs.h. */ 11169 11170#include <libintl.h> 11171 11172int 11173main () 11174{ 11175return !dgettext ("","") 11176 ; 11177 return 0; 11178} 11179_ACEOF 11180if ac_fn_c_try_link "$LINENO"; then : 11181 gt_cv_func_dgettext_libc=yes 11182else 11183 gt_cv_func_dgettext_libc=no 11184fi 11185rm -f core conftest.err conftest.$ac_objext \ 11186 conftest$ac_exeext conftest.$ac_ext 11187 11188fi 11189{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5 11190$as_echo "$gt_cv_func_dgettext_libc" >&6; } 11191 fi 11192 11193 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 11194 for ac_func in bind_textdomain_codeset 11195do : 11196 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 11197if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then : 11198 cat >>confdefs.h <<_ACEOF 11199#define HAVE_BIND_TEXTDOMAIN_CODESET 1 11200_ACEOF 11201 11202fi 11203done 11204 11205 fi 11206 11207 # 11208 # If we don't have everything we want, check in libintl 11209 # 11210 if test "$gt_cv_func_dgettext_libc" != "yes" \ 11211 || test "$gt_cv_func_ngettext_libc" != "yes" \ 11212 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then 11213 11214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 11215$as_echo_n "checking for bindtextdomain in -lintl... " >&6; } 11216if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then : 11217 $as_echo_n "(cached) " >&6 11218else 11219 ac_check_lib_save_LIBS=$LIBS 11220LIBS="-lintl $LIBS" 11221cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11222/* end confdefs.h. */ 11223 11224/* Override any GCC internal prototype to avoid an error. 11225 Use char because int might match the return type of a GCC 11226 builtin and then its argument prototype would still apply. */ 11227#ifdef __cplusplus 11228extern "C" 11229#endif 11230char bindtextdomain (); 11231int 11232main () 11233{ 11234return bindtextdomain (); 11235 ; 11236 return 0; 11237} 11238_ACEOF 11239if ac_fn_c_try_link "$LINENO"; then : 11240 ac_cv_lib_intl_bindtextdomain=yes 11241else 11242 ac_cv_lib_intl_bindtextdomain=no 11243fi 11244rm -f core conftest.err conftest.$ac_objext \ 11245 conftest$ac_exeext conftest.$ac_ext 11246LIBS=$ac_check_lib_save_LIBS 11247fi 11248{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 11249$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } 11250if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then : 11251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 11252$as_echo_n "checking for ngettext in -lintl... " >&6; } 11253if test "${ac_cv_lib_intl_ngettext+set}" = set; then : 11254 $as_echo_n "(cached) " >&6 11255else 11256 ac_check_lib_save_LIBS=$LIBS 11257LIBS="-lintl $LIBS" 11258cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11259/* end confdefs.h. */ 11260 11261/* Override any GCC internal prototype to avoid an error. 11262 Use char because int might match the return type of a GCC 11263 builtin and then its argument prototype would still apply. */ 11264#ifdef __cplusplus 11265extern "C" 11266#endif 11267char ngettext (); 11268int 11269main () 11270{ 11271return ngettext (); 11272 ; 11273 return 0; 11274} 11275_ACEOF 11276if ac_fn_c_try_link "$LINENO"; then : 11277 ac_cv_lib_intl_ngettext=yes 11278else 11279 ac_cv_lib_intl_ngettext=no 11280fi 11281rm -f core conftest.err conftest.$ac_objext \ 11282 conftest$ac_exeext conftest.$ac_ext 11283LIBS=$ac_check_lib_save_LIBS 11284fi 11285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 11286$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 11287if test "x$ac_cv_lib_intl_ngettext" = x""yes; then : 11288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 11289$as_echo_n "checking for dgettext in -lintl... " >&6; } 11290if test "${ac_cv_lib_intl_dgettext+set}" = set; then : 11291 $as_echo_n "(cached) " >&6 11292else 11293 ac_check_lib_save_LIBS=$LIBS 11294LIBS="-lintl $LIBS" 11295cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11296/* end confdefs.h. */ 11297 11298/* Override any GCC internal prototype to avoid an error. 11299 Use char because int might match the return type of a GCC 11300 builtin and then its argument prototype would still apply. */ 11301#ifdef __cplusplus 11302extern "C" 11303#endif 11304char dgettext (); 11305int 11306main () 11307{ 11308return dgettext (); 11309 ; 11310 return 0; 11311} 11312_ACEOF 11313if ac_fn_c_try_link "$LINENO"; then : 11314 ac_cv_lib_intl_dgettext=yes 11315else 11316 ac_cv_lib_intl_dgettext=no 11317fi 11318rm -f core conftest.err conftest.$ac_objext \ 11319 conftest$ac_exeext conftest.$ac_ext 11320LIBS=$ac_check_lib_save_LIBS 11321fi 11322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 11323$as_echo "$ac_cv_lib_intl_dgettext" >&6; } 11324if test "x$ac_cv_lib_intl_dgettext" = x""yes; then : 11325 gt_cv_func_dgettext_libintl=yes 11326fi 11327 11328fi 11329 11330fi 11331 11332 11333 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then 11334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5 11335$as_echo_n "checking if -liconv is needed to use gettext... " >&6; } 11336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 11337$as_echo "" >&6; } 11338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 11339$as_echo_n "checking for ngettext in -lintl... " >&6; } 11340if test "${ac_cv_lib_intl_ngettext+set}" = set; then : 11341 $as_echo_n "(cached) " >&6 11342else 11343 ac_check_lib_save_LIBS=$LIBS 11344LIBS="-lintl -liconv $LIBS" 11345cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11346/* end confdefs.h. */ 11347 11348/* Override any GCC internal prototype to avoid an error. 11349 Use char because int might match the return type of a GCC 11350 builtin and then its argument prototype would still apply. */ 11351#ifdef __cplusplus 11352extern "C" 11353#endif 11354char ngettext (); 11355int 11356main () 11357{ 11358return ngettext (); 11359 ; 11360 return 0; 11361} 11362_ACEOF 11363if ac_fn_c_try_link "$LINENO"; then : 11364 ac_cv_lib_intl_ngettext=yes 11365else 11366 ac_cv_lib_intl_ngettext=no 11367fi 11368rm -f core conftest.err conftest.$ac_objext \ 11369 conftest$ac_exeext conftest.$ac_ext 11370LIBS=$ac_check_lib_save_LIBS 11371fi 11372{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 11373$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 11374if test "x$ac_cv_lib_intl_ngettext" = x""yes; then : 11375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5 11376$as_echo_n "checking for dcgettext in -lintl... " >&6; } 11377if test "${ac_cv_lib_intl_dcgettext+set}" = set; then : 11378 $as_echo_n "(cached) " >&6 11379else 11380 ac_check_lib_save_LIBS=$LIBS 11381LIBS="-lintl -liconv $LIBS" 11382cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11383/* end confdefs.h. */ 11384 11385/* Override any GCC internal prototype to avoid an error. 11386 Use char because int might match the return type of a GCC 11387 builtin and then its argument prototype would still apply. */ 11388#ifdef __cplusplus 11389extern "C" 11390#endif 11391char dcgettext (); 11392int 11393main () 11394{ 11395return dcgettext (); 11396 ; 11397 return 0; 11398} 11399_ACEOF 11400if ac_fn_c_try_link "$LINENO"; then : 11401 ac_cv_lib_intl_dcgettext=yes 11402else 11403 ac_cv_lib_intl_dcgettext=no 11404fi 11405rm -f core conftest.err conftest.$ac_objext \ 11406 conftest$ac_exeext conftest.$ac_ext 11407LIBS=$ac_check_lib_save_LIBS 11408fi 11409{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5 11410$as_echo "$ac_cv_lib_intl_dcgettext" >&6; } 11411if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then : 11412 gt_cv_func_dgettext_libintl=yes 11413 libintl_extra_libs=-liconv 11414else 11415 : 11416fi 11417 11418else 11419 : 11420fi 11421 11422 fi 11423 11424 # 11425 # If we found libintl, then check in it for bind_textdomain_codeset(); 11426 # we'll prefer libc if neither have bind_textdomain_codeset(), 11427 # and both have dgettext and ngettext 11428 # 11429 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then 11430 glib_save_LIBS="$LIBS" 11431 LIBS="$LIBS -lintl $libintl_extra_libs" 11432 unset ac_cv_func_bind_textdomain_codeset 11433 for ac_func in bind_textdomain_codeset 11434do : 11435 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 11436if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then : 11437 cat >>confdefs.h <<_ACEOF 11438#define HAVE_BIND_TEXTDOMAIN_CODESET 1 11439_ACEOF 11440 11441fi 11442done 11443 11444 LIBS="$glib_save_LIBS" 11445 11446 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then 11447 gt_cv_func_dgettext_libc=no 11448 else 11449 if test "$gt_cv_func_dgettext_libc" = "yes" \ 11450 && test "$gt_cv_func_ngettext_libc" = "yes"; then 11451 gt_cv_func_dgettext_libintl=no 11452 fi 11453 fi 11454 fi 11455 fi 11456 11457 if test "$gt_cv_func_dgettext_libc" = "yes" \ 11458 || test "$gt_cv_func_dgettext_libintl" = "yes"; then 11459 gt_cv_have_gettext=yes 11460 fi 11461 11462 if test "$gt_cv_func_dgettext_libintl" = "yes"; then 11463 INTLLIBS="-lintl $libintl_extra_libs" 11464 fi 11465 11466 if test "$gt_cv_have_gettext" = "yes"; then 11467 11468$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 11469 11470 # Extract the first word of "msgfmt", so it can be a program name with args. 11471set dummy msgfmt; ac_word=$2 11472{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11473$as_echo_n "checking for $ac_word... " >&6; } 11474if test "${ac_cv_path_MSGFMT+set}" = set; then : 11475 $as_echo_n "(cached) " >&6 11476else 11477 case "$MSGFMT" in 11478 /*) 11479 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 11480 ;; 11481 *) 11482 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 11483 for ac_dir in $PATH; do 11484 test -z "$ac_dir" && ac_dir=. 11485 if test -f $ac_dir/$ac_word; then 11486 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then 11487 ac_cv_path_MSGFMT="$ac_dir/$ac_word" 11488 break 11489 fi 11490 fi 11491 done 11492 IFS="$ac_save_ifs" 11493 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" 11494 ;; 11495esac 11496fi 11497MSGFMT="$ac_cv_path_MSGFMT" 11498if test "$MSGFMT" != "no"; then 11499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 11500$as_echo "$MSGFMT" >&6; } 11501else 11502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11503$as_echo "no" >&6; } 11504fi 11505 if test "$MSGFMT" != "no"; then 11506 glib_save_LIBS="$LIBS" 11507 LIBS="$LIBS $INTLLIBS" 11508 for ac_func in dcgettext 11509do : 11510 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext" 11511if test "x$ac_cv_func_dcgettext" = x""yes; then : 11512 cat >>confdefs.h <<_ACEOF 11513#define HAVE_DCGETTEXT 1 11514_ACEOF 11515 11516fi 11517done 11518 11519 MSGFMT_OPTS= 11520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5 11521$as_echo_n "checking if msgfmt accepts -c... " >&6; } 11522 cat >conftest.foo <<_ACEOF 11523 11524msgid "" 11525msgstr "" 11526"Content-Type: text/plain; charset=UTF-8\n" 11527"Project-Id-Version: test 1.0\n" 11528"PO-Revision-Date: 2007-02-15 12:01+0100\n" 11529"Last-Translator: test <foo@bar.xx>\n" 11530"Language-Team: C <LL@li.org>\n" 11531"MIME-Version: 1.0\n" 11532"Content-Transfer-Encoding: 8bit\n" 11533 11534_ACEOF 11535if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5 11536 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5 11537 ac_status=$? 11538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11539 test $ac_status = 0; }; then 11540 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11541$as_echo "yes" >&6; } 11542else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11543$as_echo "no" >&6; } 11544echo "$as_me: failed input was:" >&5 11545sed 's/^/| /' conftest.foo >&5 11546fi 11547 11548 # Extract the first word of "gmsgfmt", so it can be a program name with args. 11549set dummy gmsgfmt; ac_word=$2 11550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11551$as_echo_n "checking for $ac_word... " >&6; } 11552if test "${ac_cv_path_GMSGFMT+set}" = set; then : 11553 $as_echo_n "(cached) " >&6 11554else 11555 case $GMSGFMT in 11556 [\\/]* | ?:[\\/]*) 11557 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 11558 ;; 11559 *) 11560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11561for as_dir in $PATH 11562do 11563 IFS=$as_save_IFS 11564 test -z "$as_dir" && as_dir=. 11565 for ac_exec_ext in '' $ac_executable_extensions; do 11566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11567 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 11568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11569 break 2 11570 fi 11571done 11572 done 11573IFS=$as_save_IFS 11574 11575 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 11576 ;; 11577esac 11578fi 11579GMSGFMT=$ac_cv_path_GMSGFMT 11580if test -n "$GMSGFMT"; then 11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 11582$as_echo "$GMSGFMT" >&6; } 11583else 11584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11585$as_echo "no" >&6; } 11586fi 11587 11588 11589 # Extract the first word of "xgettext", so it can be a program name with args. 11590set dummy xgettext; ac_word=$2 11591{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11592$as_echo_n "checking for $ac_word... " >&6; } 11593if test "${ac_cv_path_XGETTEXT+set}" = set; then : 11594 $as_echo_n "(cached) " >&6 11595else 11596 case "$XGETTEXT" in 11597 /*) 11598 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 11599 ;; 11600 *) 11601 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 11602 for ac_dir in $PATH; do 11603 test -z "$ac_dir" && ac_dir=. 11604 if test -f $ac_dir/$ac_word; then 11605 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then 11606 ac_cv_path_XGETTEXT="$ac_dir/$ac_word" 11607 break 11608 fi 11609 fi 11610 done 11611 IFS="$ac_save_ifs" 11612 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 11613 ;; 11614esac 11615fi 11616XGETTEXT="$ac_cv_path_XGETTEXT" 11617if test "$XGETTEXT" != ":"; then 11618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 11619$as_echo "$XGETTEXT" >&6; } 11620else 11621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11622$as_echo "no" >&6; } 11623fi 11624 11625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11626/* end confdefs.h. */ 11627 11628int 11629main () 11630{ 11631extern int _nl_msg_cat_cntr; 11632 return _nl_msg_cat_cntr 11633 ; 11634 return 0; 11635} 11636_ACEOF 11637if ac_fn_c_try_link "$LINENO"; then : 11638 CATOBJEXT=.gmo 11639 DATADIRNAME=share 11640else 11641 case $host in 11642 *-*-solaris*) 11643 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 11644if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then : 11645 CATOBJEXT=.gmo 11646 DATADIRNAME=share 11647else 11648 CATOBJEXT=.mo 11649 DATADIRNAME=lib 11650fi 11651 11652 ;; 11653 *) 11654 CATOBJEXT=.mo 11655 DATADIRNAME=lib 11656 ;; 11657 esac 11658fi 11659rm -f core conftest.err conftest.$ac_objext \ 11660 conftest$ac_exeext conftest.$ac_ext 11661 LIBS="$glib_save_LIBS" 11662 INSTOBJEXT=.mo 11663 else 11664 gt_cv_have_gettext=no 11665 fi 11666 fi 11667 11668fi 11669 11670 11671 11672 if test "$gt_cv_have_gettext" = "yes" ; then 11673 11674$as_echo "#define ENABLE_NLS 1" >>confdefs.h 11675 11676 fi 11677 11678 if test "$XGETTEXT" != ":"; then 11679 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then 11680 : ; 11681 else 11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 11683$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } 11684 XGETTEXT=":" 11685 fi 11686 fi 11687 11688 # We need to process the po/ directory. 11689 POSUB=po 11690 11691 ac_config_commands="$ac_config_commands default-1" 11692 11693 11694 for lang in $ALL_LINGUAS; do 11695 GMOFILES="$GMOFILES $lang.gmo" 11696 POFILES="$POFILES $lang.po" 11697 done 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 if test "$gt_cv_have_gettext" = "yes"; then 11712 if test "x$ALL_LINGUAS" = "x"; then 11713 LINGUAS= 11714 else 11715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5 11716$as_echo_n "checking for catalogs to be installed... " >&6; } 11717 NEW_LINGUAS= 11718 for presentlang in $ALL_LINGUAS; do 11719 useit=no 11720 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then 11721 desiredlanguages="$LINGUAS" 11722 else 11723 desiredlanguages="$ALL_LINGUAS" 11724 fi 11725 for desiredlang in $desiredlanguages; do 11726 # Use the presentlang catalog if desiredlang is 11727 # a. equal to presentlang, or 11728 # b. a variant of presentlang (because in this case, 11729 # presentlang can be used as a fallback for messages 11730 # which are not translated in the desiredlang catalog). 11731 case "$desiredlang" in 11732 "$presentlang"*) useit=yes;; 11733 esac 11734 done 11735 if test $useit = yes; then 11736 NEW_LINGUAS="$NEW_LINGUAS $presentlang" 11737 fi 11738 done 11739 LINGUAS=$NEW_LINGUAS 11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5 11741$as_echo "$LINGUAS" >&6; } 11742 fi 11743 11744 if test -n "$LINGUAS"; then 11745 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done 11746 fi 11747 fi 11748 11749 MKINSTALLDIRS= 11750 if test -n "$ac_aux_dir"; then 11751 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" 11752 fi 11753 if test -z "$MKINSTALLDIRS"; then 11754 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" 11755 fi 11756 11757 11758 test -d po || mkdir po 11759 if test "x$srcdir" != "x."; then 11760 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then 11761 posrcprefix="$srcdir/" 11762 else 11763 posrcprefix="../$srcdir/" 11764 fi 11765 else 11766 posrcprefix="../" 11767 fi 11768 rm -f po/POTFILES 11769 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ 11770 < $srcdir/po/POTFILES.in > po/POTFILES 11771 11772 11773 11774if test "x${prefix}" = "xNONE"; then 11775 PACKAGE_PREFIX="${ac_default_prefix}" 11776else 11777 PACKAGE_PREFIX="${prefix}" 11778fi 11779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PACKAGE_PREFIX" >&5 11780$as_echo "$PACKAGE_PREFIX" >&6; } 11781PACKAGE_LOCALE_DIR="${PACKAGE_PREFIX}/${DATADIRNAME}/locale" 11782 11783cat >>confdefs.h <<_ACEOF 11784#define PACKAGE_LOCALE_DIR "$PACKAGE_LOCALE_DIR" 11785_ACEOF 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 11796 if test -n "$ac_tool_prefix"; then 11797 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 11798set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 11799{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11800$as_echo_n "checking for $ac_word... " >&6; } 11801if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 11802 $as_echo_n "(cached) " >&6 11803else 11804 case $PKG_CONFIG in 11805 [\\/]* | ?:[\\/]*) 11806 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 11807 ;; 11808 *) 11809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11810for as_dir in $PATH 11811do 11812 IFS=$as_save_IFS 11813 test -z "$as_dir" && as_dir=. 11814 for ac_exec_ext in '' $ac_executable_extensions; do 11815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11816 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 11817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11818 break 2 11819 fi 11820done 11821 done 11822IFS=$as_save_IFS 11823 11824 ;; 11825esac 11826fi 11827PKG_CONFIG=$ac_cv_path_PKG_CONFIG 11828if test -n "$PKG_CONFIG"; then 11829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 11830$as_echo "$PKG_CONFIG" >&6; } 11831else 11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11833$as_echo "no" >&6; } 11834fi 11835 11836 11837fi 11838if test -z "$ac_cv_path_PKG_CONFIG"; then 11839 ac_pt_PKG_CONFIG=$PKG_CONFIG 11840 # Extract the first word of "pkg-config", so it can be a program name with args. 11841set dummy pkg-config; ac_word=$2 11842{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11843$as_echo_n "checking for $ac_word... " >&6; } 11844if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : 11845 $as_echo_n "(cached) " >&6 11846else 11847 case $ac_pt_PKG_CONFIG in 11848 [\\/]* | ?:[\\/]*) 11849 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 11850 ;; 11851 *) 11852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11853for as_dir in $PATH 11854do 11855 IFS=$as_save_IFS 11856 test -z "$as_dir" && as_dir=. 11857 for ac_exec_ext in '' $ac_executable_extensions; do 11858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11859 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 11860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11861 break 2 11862 fi 11863done 11864 done 11865IFS=$as_save_IFS 11866 11867 ;; 11868esac 11869fi 11870ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 11871if test -n "$ac_pt_PKG_CONFIG"; then 11872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 11873$as_echo "$ac_pt_PKG_CONFIG" >&6; } 11874else 11875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11876$as_echo "no" >&6; } 11877fi 11878 11879 if test "x$ac_pt_PKG_CONFIG" = x; then 11880 PKG_CONFIG="" 11881 else 11882 case $cross_compiling:$ac_tool_warned in 11883yes:) 11884{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 11885$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 11886ac_tool_warned=yes ;; 11887esac 11888 PKG_CONFIG=$ac_pt_PKG_CONFIG 11889 fi 11890else 11891 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 11892fi 11893 11894fi 11895if test -n "$PKG_CONFIG"; then 11896 _pkg_min_version=0.9.0 11897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 11898$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 11899 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11901$as_echo "yes" >&6; } 11902 else 11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11904$as_echo "no" >&6; } 11905 PKG_CONFIG="" 11906 fi 11907fi 11908 11909pkg_failed=no 11910{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gmpcalarm" >&5 11911$as_echo_n "checking for gmpcalarm... " >&6; } 11912 11913if test -n "$gmpcalarm_CFLAGS"; then 11914 pkg_cv_gmpcalarm_CFLAGS="$gmpcalarm_CFLAGS" 11915 elif test -n "$PKG_CONFIG"; then 11916 if test -n "$PKG_CONFIG" && \ 11917 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" 11918 glib-2.0 >= 2.4 11919 gobject-2.0 >= 2.4 11920 gtk+-2.0 >= 2.8 11921 gmodule-2.0 11922 libmpd >= 0.15.98 11923 gmpc >= 0.18.1 11924\""; } >&5 11925 ($PKG_CONFIG --exists --print-errors " 11926 glib-2.0 >= 2.4 11927 gobject-2.0 >= 2.4 11928 gtk+-2.0 >= 2.8 11929 gmodule-2.0 11930 libmpd >= 0.15.98 11931 gmpc >= 0.18.1 11932") 2>&5 11933 ac_status=$? 11934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11935 test $ac_status = 0; }; then 11936 pkg_cv_gmpcalarm_CFLAGS=`$PKG_CONFIG --cflags " 11937 glib-2.0 >= 2.4 11938 gobject-2.0 >= 2.4 11939 gtk+-2.0 >= 2.8 11940 gmodule-2.0 11941 libmpd >= 0.15.98 11942 gmpc >= 0.18.1 11943" 2>/dev/null` 11944else 11945 pkg_failed=yes 11946fi 11947 else 11948 pkg_failed=untried 11949fi 11950if test -n "$gmpcalarm_LIBS"; then 11951 pkg_cv_gmpcalarm_LIBS="$gmpcalarm_LIBS" 11952 elif test -n "$PKG_CONFIG"; then 11953 if test -n "$PKG_CONFIG" && \ 11954 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" 11955 glib-2.0 >= 2.4 11956 gobject-2.0 >= 2.4 11957 gtk+-2.0 >= 2.8 11958 gmodule-2.0 11959 libmpd >= 0.15.98 11960 gmpc >= 0.18.1 11961\""; } >&5 11962 ($PKG_CONFIG --exists --print-errors " 11963 glib-2.0 >= 2.4 11964 gobject-2.0 >= 2.4 11965 gtk+-2.0 >= 2.8 11966 gmodule-2.0 11967 libmpd >= 0.15.98 11968 gmpc >= 0.18.1 11969") 2>&5 11970 ac_status=$? 11971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11972 test $ac_status = 0; }; then 11973 pkg_cv_gmpcalarm_LIBS=`$PKG_CONFIG --libs " 11974 glib-2.0 >= 2.4 11975 gobject-2.0 >= 2.4 11976 gtk+-2.0 >= 2.8 11977 gmodule-2.0 11978 libmpd >= 0.15.98 11979 gmpc >= 0.18.1 11980" 2>/dev/null` 11981else 11982 pkg_failed=yes 11983fi 11984 else 11985 pkg_failed=untried 11986fi 11987 11988 11989 11990if test $pkg_failed = yes; then 11991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11992$as_echo "no" >&6; } 11993 11994if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 11995 _pkg_short_errors_supported=yes 11996else 11997 _pkg_short_errors_supported=no 11998fi 11999 if test $_pkg_short_errors_supported = yes; then 12000 gmpcalarm_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " 12001 glib-2.0 >= 2.4 12002 gobject-2.0 >= 2.4 12003 gtk+-2.0 >= 2.8 12004 gmodule-2.0 12005 libmpd >= 0.15.98 12006 gmpc >= 0.18.1 12007" 2>&1` 12008 else 12009 gmpcalarm_PKG_ERRORS=`$PKG_CONFIG --print-errors " 12010 glib-2.0 >= 2.4 12011 gobject-2.0 >= 2.4 12012 gtk+-2.0 >= 2.8 12013 gmodule-2.0 12014 libmpd >= 0.15.98 12015 gmpc >= 0.18.1 12016" 2>&1` 12017 fi 12018 # Put the nasty error message in config.log where it belongs 12019 echo "$gmpcalarm_PKG_ERRORS" >&5 12020 12021 as_fn_error $? "Package requirements ( 12022 glib-2.0 >= 2.4 12023 gobject-2.0 >= 2.4 12024 gtk+-2.0 >= 2.8 12025 gmodule-2.0 12026 libmpd >= 0.15.98 12027 gmpc >= 0.18.1 12028) were not met: 12029 12030$gmpcalarm_PKG_ERRORS 12031 12032Consider adjusting the PKG_CONFIG_PATH environment variable if you 12033installed software in a non-standard prefix. 12034 12035Alternatively, you may set the environment variables gmpcalarm_CFLAGS 12036and gmpcalarm_LIBS to avoid the need to call pkg-config. 12037See the pkg-config man page for more details." "$LINENO" 5 12038elif test $pkg_failed = untried; then 12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12040$as_echo "no" >&6; } 12041 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12042$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12043as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 12044is in your PATH or set the PKG_CONFIG environment variable to the full 12045path to pkg-config. 12046 12047Alternatively, you may set the environment variables gmpcalarm_CFLAGS 12048and gmpcalarm_LIBS to avoid the need to call pkg-config. 12049See the pkg-config man page for more details. 12050 12051To get pkg-config, see <http://pkg-config.freedesktop.org/>. 12052See \`config.log' for more details" "$LINENO" 5 ; } 12053else 12054 gmpcalarm_CFLAGS=$pkg_cv_gmpcalarm_CFLAGS 12055 gmpcalarm_LIBS=$pkg_cv_gmpcalarm_LIBS 12056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12057$as_echo "yes" >&6; } 12058 12059fi 12060 12061 12062 12063 12064ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in" 12065 12066cat >confcache <<\_ACEOF 12067# This file is a shell script that caches the results of configure 12068# tests run on this system so they can be shared between configure 12069# scripts and configure runs, see configure's option --config-cache. 12070# It is not useful on other systems. If it contains results you don't 12071# want to keep, you may remove or edit it. 12072# 12073# config.status only pays attention to the cache file if you give it 12074# the --recheck option to rerun configure. 12075# 12076# `ac_cv_env_foo' variables (set or unset) will be overridden when 12077# loading this file, other *unset* `ac_cv_foo' will be assigned the 12078# following values. 12079 12080_ACEOF 12081 12082# The following way of writing the cache mishandles newlines in values, 12083# but we know of no workaround that is simple, portable, and efficient. 12084# So, we kill variables containing newlines. 12085# Ultrix sh set writes to stderr and can't be redirected directly, 12086# and sets the high bit in the cache file unless we assign to the vars. 12087( 12088 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 12089 eval ac_val=\$$ac_var 12090 case $ac_val in #( 12091 *${as_nl}*) 12092 case $ac_var in #( 12093 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 12094$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 12095 esac 12096 case $ac_var in #( 12097 _ | IFS | as_nl) ;; #( 12098 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 12099 *) { eval $ac_var=; unset $ac_var;} ;; 12100 esac ;; 12101 esac 12102 done 12103 12104 (set) 2>&1 | 12105 case $as_nl`(ac_space=' '; set) 2>&1` in #( 12106 *${as_nl}ac_space=\ *) 12107 # `set' does not quote correctly, so add quotes: double-quote 12108 # substitution turns \\\\ into \\, and sed turns \\ into \. 12109 sed -n \ 12110 "s/'/'\\\\''/g; 12111 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 12112 ;; #( 12113 *) 12114 # `set' quotes correctly as required by POSIX, so do not add quotes. 12115 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 12116 ;; 12117 esac | 12118 sort 12119) | 12120 sed ' 12121 /^ac_cv_env_/b end 12122 t clear 12123 :clear 12124 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 12125 t end 12126 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 12127 :end' >>confcache 12128if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 12129 if test -w "$cache_file"; then 12130 test "x$cache_file" != "x/dev/null" && 12131 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 12132$as_echo "$as_me: updating cache $cache_file" >&6;} 12133 cat confcache >$cache_file 12134 else 12135 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 12136$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 12137 fi 12138fi 12139rm -f confcache 12140 12141test "x$prefix" = xNONE && prefix=$ac_default_prefix 12142# Let make expand exec_prefix. 12143test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 12144 12145DEFS=-DHAVE_CONFIG_H 12146 12147ac_libobjs= 12148ac_ltlibobjs= 12149U= 12150for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 12151 # 1. Remove the extension, and $U if already installed. 12152 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 12153 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 12154 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 12155 # will be set to the directory where LIBOBJS objects are built. 12156 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 12157 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 12158done 12159LIBOBJS=$ac_libobjs 12160 12161LTLIBOBJS=$ac_ltlibobjs 12162 12163 12164 if test -n "$EXEEXT"; then 12165 am__EXEEXT_TRUE= 12166 am__EXEEXT_FALSE='#' 12167else 12168 am__EXEEXT_TRUE='#' 12169 am__EXEEXT_FALSE= 12170fi 12171 12172if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 12173 as_fn_error $? "conditional \"AMDEP\" was never defined. 12174Usually this means the macro was only invoked conditionally." "$LINENO" 5 12175fi 12176if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 12177 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 12178Usually this means the macro was only invoked conditionally." "$LINENO" 5 12179fi 12180 12181 ac_config_commands="$ac_config_commands po/stamp-it" 12182 12183 12184 12185: ${CONFIG_STATUS=./config.status} 12186ac_write_fail=0 12187ac_clean_files_save=$ac_clean_files 12188ac_clean_files="$ac_clean_files $CONFIG_STATUS" 12189{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 12190$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 12191as_write_fail=0 12192cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 12193#! $SHELL 12194# Generated by $as_me. 12195# Run this file to recreate the current configuration. 12196# Compiler output produced by configure, useful for debugging 12197# configure, is in config.log if it exists. 12198 12199debug=false 12200ac_cs_recheck=false 12201ac_cs_silent=false 12202 12203SHELL=\${CONFIG_SHELL-$SHELL} 12204export SHELL 12205_ASEOF 12206cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 12207## -------------------- ## 12208## M4sh Initialization. ## 12209## -------------------- ## 12210 12211# Be more Bourne compatible 12212DUALCASE=1; export DUALCASE # for MKS sh 12213if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 12214 emulate sh 12215 NULLCMD=: 12216 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 12217 # is contrary to our usage. Disable this feature. 12218 alias -g '${1+"$@"}'='"$@"' 12219 setopt NO_GLOB_SUBST 12220else 12221 case `(set -o) 2>/dev/null` in #( 12222 *posix*) : 12223 set -o posix ;; #( 12224 *) : 12225 ;; 12226esac 12227fi 12228 12229 12230as_nl=' 12231' 12232export as_nl 12233# Printing a long string crashes Solaris 7 /usr/bin/printf. 12234as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 12235as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 12236as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 12237# Prefer a ksh shell builtin over an external printf program on Solaris, 12238# but without wasting forks for bash or zsh. 12239if test -z "$BASH_VERSION$ZSH_VERSION" \ 12240 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 12241 as_echo='print -r --' 12242 as_echo_n='print -rn --' 12243elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 12244 as_echo='printf %s\n' 12245 as_echo_n='printf %s' 12246else 12247 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 12248 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 12249 as_echo_n='/usr/ucb/echo -n' 12250 else 12251 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 12252 as_echo_n_body='eval 12253 arg=$1; 12254 case $arg in #( 12255 *"$as_nl"*) 12256 expr "X$arg" : "X\\(.*\\)$as_nl"; 12257 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 12258 esac; 12259 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 12260 ' 12261 export as_echo_n_body 12262 as_echo_n='sh -c $as_echo_n_body as_echo' 12263 fi 12264 export as_echo_body 12265 as_echo='sh -c $as_echo_body as_echo' 12266fi 12267 12268# The user is always right. 12269if test "${PATH_SEPARATOR+set}" != set; then 12270 PATH_SEPARATOR=: 12271 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 12272 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 12273 PATH_SEPARATOR=';' 12274 } 12275fi 12276 12277 12278# IFS 12279# We need space, tab and new line, in precisely that order. Quoting is 12280# there to prevent editors from complaining about space-tab. 12281# (If _AS_PATH_WALK were called with IFS unset, it would disable word 12282# splitting by setting IFS to empty value.) 12283IFS=" "" $as_nl" 12284 12285# Find who we are. Look in the path if we contain no directory separator. 12286case $0 in #(( 12287 *[\\/]* ) as_myself=$0 ;; 12288 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12289for as_dir in $PATH 12290do 12291 IFS=$as_save_IFS 12292 test -z "$as_dir" && as_dir=. 12293 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 12294 done 12295IFS=$as_save_IFS 12296 12297 ;; 12298esac 12299# We did not find ourselves, most probably we were run as `sh COMMAND' 12300# in which case we are not to be found in the path. 12301if test "x$as_myself" = x; then 12302 as_myself=$0 12303fi 12304if test ! -f "$as_myself"; then 12305 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 12306 exit 1 12307fi 12308 12309# Unset variables that we do not need and which cause bugs (e.g. in 12310# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 12311# suppresses any "Segmentation fault" message there. '((' could 12312# trigger a bug in pdksh 5.2.14. 12313for as_var in BASH_ENV ENV MAIL MAILPATH 12314do eval test x\${$as_var+set} = xset \ 12315 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 12316done 12317PS1='$ ' 12318PS2='> ' 12319PS4='+ ' 12320 12321# NLS nuisances. 12322LC_ALL=C 12323export LC_ALL 12324LANGUAGE=C 12325export LANGUAGE 12326 12327# CDPATH. 12328(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 12329 12330 12331# as_fn_error STATUS ERROR [LINENO LOG_FD] 12332# ---------------------------------------- 12333# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 12334# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 12335# script with STATUS, using 1 if that was 0. 12336as_fn_error () 12337{ 12338 as_status=$1; test $as_status -eq 0 && as_status=1 12339 if test "$4"; then 12340 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 12341 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 12342 fi 12343 $as_echo "$as_me: error: $2" >&2 12344 as_fn_exit $as_status 12345} # as_fn_error 12346 12347 12348# as_fn_set_status STATUS 12349# ----------------------- 12350# Set $? to STATUS, without forking. 12351as_fn_set_status () 12352{ 12353 return $1 12354} # as_fn_set_status 12355 12356# as_fn_exit STATUS 12357# ----------------- 12358# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 12359as_fn_exit () 12360{ 12361 set +e 12362 as_fn_set_status $1 12363 exit $1 12364} # as_fn_exit 12365 12366# as_fn_unset VAR 12367# --------------- 12368# Portably unset VAR. 12369as_fn_unset () 12370{ 12371 { eval $1=; unset $1;} 12372} 12373as_unset=as_fn_unset 12374# as_fn_append VAR VALUE 12375# ---------------------- 12376# Append the text in VALUE to the end of the definition contained in VAR. Take 12377# advantage of any shell optimizations that allow amortized linear growth over 12378# repeated appends, instead of the typical quadratic growth present in naive 12379# implementations. 12380if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 12381 eval 'as_fn_append () 12382 { 12383 eval $1+=\$2 12384 }' 12385else 12386 as_fn_append () 12387 { 12388 eval $1=\$$1\$2 12389 } 12390fi # as_fn_append 12391 12392# as_fn_arith ARG... 12393# ------------------ 12394# Perform arithmetic evaluation on the ARGs, and store the result in the 12395# global $as_val. Take advantage of shells that can avoid forks. The arguments 12396# must be portable across $(()) and expr. 12397if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 12398 eval 'as_fn_arith () 12399 { 12400 as_val=$(( $* )) 12401 }' 12402else 12403 as_fn_arith () 12404 { 12405 as_val=`expr "$@" || test $? -eq 1` 12406 } 12407fi # as_fn_arith 12408 12409 12410if expr a : '\(a\)' >/dev/null 2>&1 && 12411 test "X`expr 00001 : '.*\(...\)'`" = X001; then 12412 as_expr=expr 12413else 12414 as_expr=false 12415fi 12416 12417if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 12418 as_basename=basename 12419else 12420 as_basename=false 12421fi 12422 12423if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 12424 as_dirname=dirname 12425else 12426 as_dirname=false 12427fi 12428 12429as_me=`$as_basename -- "$0" || 12430$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 12431 X"$0" : 'X\(//\)$' \| \ 12432 X"$0" : 'X\(/\)' \| . 2>/dev/null || 12433$as_echo X/"$0" | 12434 sed '/^.*\/\([^/][^/]*\)\/*$/{ 12435 s//\1/ 12436 q 12437 } 12438 /^X\/\(\/\/\)$/{ 12439 s//\1/ 12440 q 12441 } 12442 /^X\/\(\/\).*/{ 12443 s//\1/ 12444 q 12445 } 12446 s/.*/./; q'` 12447 12448# Avoid depending upon Character Ranges. 12449as_cr_letters='abcdefghijklmnopqrstuvwxyz' 12450as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 12451as_cr_Letters=$as_cr_letters$as_cr_LETTERS 12452as_cr_digits='0123456789' 12453as_cr_alnum=$as_cr_Letters$as_cr_digits 12454 12455ECHO_C= ECHO_N= ECHO_T= 12456case `echo -n x` in #((((( 12457-n*) 12458 case `echo 'xy\c'` in 12459 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 12460 xy) ECHO_C='\c';; 12461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 12462 ECHO_T=' ';; 12463 esac;; 12464*) 12465 ECHO_N='-n';; 12466esac 12467 12468rm -f conf$$ conf$$.exe conf$$.file 12469if test -d conf$$.dir; then 12470 rm -f conf$$.dir/conf$$.file 12471else 12472 rm -f conf$$.dir 12473 mkdir conf$$.dir 2>/dev/null 12474fi 12475if (echo >conf$$.file) 2>/dev/null; then 12476 if ln -s conf$$.file conf$$ 2>/dev/null; then 12477 as_ln_s='ln -s' 12478 # ... but there are two gotchas: 12479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 12480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 12481 # In both cases, we have to default to `cp -p'. 12482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 12483 as_ln_s='cp -p' 12484 elif ln conf$$.file conf$$ 2>/dev/null; then 12485 as_ln_s=ln 12486 else 12487 as_ln_s='cp -p' 12488 fi 12489else 12490 as_ln_s='cp -p' 12491fi 12492rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 12493rmdir conf$$.dir 2>/dev/null 12494 12495 12496# as_fn_mkdir_p 12497# ------------- 12498# Create "$as_dir" as a directory, including parents if necessary. 12499as_fn_mkdir_p () 12500{ 12501 12502 case $as_dir in #( 12503 -*) as_dir=./$as_dir;; 12504 esac 12505 test -d "$as_dir" || eval $as_mkdir_p || { 12506 as_dirs= 12507 while :; do 12508 case $as_dir in #( 12509 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 12510 *) as_qdir=$as_dir;; 12511 esac 12512 as_dirs="'$as_qdir' $as_dirs" 12513 as_dir=`$as_dirname -- "$as_dir" || 12514$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12515 X"$as_dir" : 'X\(//\)[^/]' \| \ 12516 X"$as_dir" : 'X\(//\)$' \| \ 12517 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 12518$as_echo X"$as_dir" | 12519 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12520 s//\1/ 12521 q 12522 } 12523 /^X\(\/\/\)[^/].*/{ 12524 s//\1/ 12525 q 12526 } 12527 /^X\(\/\/\)$/{ 12528 s//\1/ 12529 q 12530 } 12531 /^X\(\/\).*/{ 12532 s//\1/ 12533 q 12534 } 12535 s/.*/./; q'` 12536 test -d "$as_dir" && break 12537 done 12538 test -z "$as_dirs" || eval "mkdir $as_dirs" 12539 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 12540 12541 12542} # as_fn_mkdir_p 12543if mkdir -p . 2>/dev/null; then 12544 as_mkdir_p='mkdir -p "$as_dir"' 12545else 12546 test -d ./-p && rmdir ./-p 12547 as_mkdir_p=false 12548fi 12549 12550if test -x / >/dev/null 2>&1; then 12551 as_test_x='test -x' 12552else 12553 if ls -dL / >/dev/null 2>&1; then 12554 as_ls_L_option=L 12555 else 12556 as_ls_L_option= 12557 fi 12558 as_test_x=' 12559 eval sh -c '\'' 12560 if test -d "$1"; then 12561 test -d "$1/."; 12562 else 12563 case $1 in #( 12564 -*)set "./$1";; 12565 esac; 12566 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 12567 ???[sx]*):;;*)false;;esac;fi 12568 '\'' sh 12569 ' 12570fi 12571as_executable_p=$as_test_x 12572 12573# Sed expression to map a string onto a valid CPP name. 12574as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 12575 12576# Sed expression to map a string onto a valid variable name. 12577as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 12578 12579 12580exec 6>&1 12581## ----------------------------------- ## 12582## Main body of $CONFIG_STATUS script. ## 12583## ----------------------------------- ## 12584_ASEOF 12585test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 12586 12587cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12588# Save the log message, to keep $0 and so on meaningful, and to 12589# report actual input values of CONFIG_FILES etc. instead of their 12590# values after options handling. 12591ac_log=" 12592This file was extended by gmpc-alarm $as_me 11.8.16, which was 12593generated by GNU Autoconf 2.67. Invocation command line was 12594 12595 CONFIG_FILES = $CONFIG_FILES 12596 CONFIG_HEADERS = $CONFIG_HEADERS 12597 CONFIG_LINKS = $CONFIG_LINKS 12598 CONFIG_COMMANDS = $CONFIG_COMMANDS 12599 $ $0 $@ 12600 12601on `(hostname || uname -n) 2>/dev/null | sed 1q` 12602" 12603 12604_ACEOF 12605 12606case $ac_config_files in *" 12607"*) set x $ac_config_files; shift; ac_config_files=$*;; 12608esac 12609 12610case $ac_config_headers in *" 12611"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 12612esac 12613 12614 12615cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12616# Files that config.status was made for. 12617config_files="$ac_config_files" 12618config_headers="$ac_config_headers" 12619config_commands="$ac_config_commands" 12620 12621_ACEOF 12622 12623cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12624ac_cs_usage="\ 12625\`$as_me' instantiates files and other configuration actions 12626from templates according to the current configuration. Unless the files 12627and actions are specified as TAGs, all are instantiated by default. 12628 12629Usage: $0 [OPTION]... [TAG]... 12630 12631 -h, --help print this help, then exit 12632 -V, --version print version number and configuration settings, then exit 12633 --config print configuration, then exit 12634 -q, --quiet, --silent 12635 do not print progress messages 12636 -d, --debug don't remove temporary files 12637 --recheck update $as_me by reconfiguring in the same conditions 12638 --file=FILE[:TEMPLATE] 12639 instantiate the configuration file FILE 12640 --header=FILE[:TEMPLATE] 12641 instantiate the configuration header FILE 12642 12643Configuration files: 12644$config_files 12645 12646Configuration headers: 12647$config_headers 12648 12649Configuration commands: 12650$config_commands 12651 12652Report bugs to <qball@sarine.nl>." 12653 12654_ACEOF 12655cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12656ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 12657ac_cs_version="\\ 12658gmpc-alarm config.status 11.8.16 12659configured by $0, generated by GNU Autoconf 2.67, 12660 with options \\"\$ac_cs_config\\" 12661 12662Copyright (C) 2010 Free Software Foundation, Inc. 12663This config.status script is free software; the Free Software Foundation 12664gives unlimited permission to copy, distribute and modify it." 12665 12666ac_pwd='$ac_pwd' 12667srcdir='$srcdir' 12668INSTALL='$INSTALL' 12669MKDIR_P='$MKDIR_P' 12670AWK='$AWK' 12671test -n "\$AWK" || AWK=awk 12672_ACEOF 12673 12674cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12675# The default lists apply if the user does not specify any file. 12676ac_need_defaults=: 12677while test $# != 0 12678do 12679 case $1 in 12680 --*=?*) 12681 ac_option=`expr "X$1" : 'X\([^=]*\)='` 12682 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 12683 ac_shift=: 12684 ;; 12685 --*=) 12686 ac_option=`expr "X$1" : 'X\([^=]*\)='` 12687 ac_optarg= 12688 ac_shift=: 12689 ;; 12690 *) 12691 ac_option=$1 12692 ac_optarg=$2 12693 ac_shift=shift 12694 ;; 12695 esac 12696 12697 case $ac_option in 12698 # Handling of the options. 12699 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 12700 ac_cs_recheck=: ;; 12701 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 12702 $as_echo "$ac_cs_version"; exit ;; 12703 --config | --confi | --conf | --con | --co | --c ) 12704 $as_echo "$ac_cs_config"; exit ;; 12705 --debug | --debu | --deb | --de | --d | -d ) 12706 debug=: ;; 12707 --file | --fil | --fi | --f ) 12708 $ac_shift 12709 case $ac_optarg in 12710 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 12711 '') as_fn_error $? "missing file argument" ;; 12712 esac 12713 as_fn_append CONFIG_FILES " '$ac_optarg'" 12714 ac_need_defaults=false;; 12715 --header | --heade | --head | --hea ) 12716 $ac_shift 12717 case $ac_optarg in 12718 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 12719 esac 12720 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 12721 ac_need_defaults=false;; 12722 --he | --h) 12723 # Conflict between --help and --header 12724 as_fn_error $? "ambiguous option: \`$1' 12725Try \`$0 --help' for more information.";; 12726 --help | --hel | -h ) 12727 $as_echo "$ac_cs_usage"; exit ;; 12728 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 12729 | -silent | --silent | --silen | --sile | --sil | --si | --s) 12730 ac_cs_silent=: ;; 12731 12732 # This is an error. 12733 -*) as_fn_error $? "unrecognized option: \`$1' 12734Try \`$0 --help' for more information." ;; 12735 12736 *) as_fn_append ac_config_targets " $1" 12737 ac_need_defaults=false ;; 12738 12739 esac 12740 shift 12741done 12742 12743ac_configure_extra_args= 12744 12745if $ac_cs_silent; then 12746 exec 6>/dev/null 12747 ac_configure_extra_args="$ac_configure_extra_args --silent" 12748fi 12749 12750_ACEOF 12751cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12752if \$ac_cs_recheck; then 12753 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 12754 shift 12755 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 12756 CONFIG_SHELL='$SHELL' 12757 export CONFIG_SHELL 12758 exec "\$@" 12759fi 12760 12761_ACEOF 12762cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12763exec 5>>config.log 12764{ 12765 echo 12766 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 12767## Running $as_me. ## 12768_ASBOX 12769 $as_echo "$ac_log" 12770} >&5 12771 12772_ACEOF 12773cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12774# 12775# INIT-COMMANDS 12776# 12777AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 12778 12779 12780# The HP-UX ksh and POSIX shell print the target directory to stdout 12781# if CDPATH is set. 12782(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 12783 12784sed_quote_subst='$sed_quote_subst' 12785double_quote_subst='$double_quote_subst' 12786delay_variable_subst='$delay_variable_subst' 12787enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' 12788macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' 12789macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' 12790enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' 12791pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' 12792enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' 12793host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' 12794host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' 12795host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' 12796build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' 12797build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' 12798build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' 12799SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' 12800Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' 12801GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' 12802EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' 12803FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' 12804LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' 12805NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' 12806LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' 12807max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' 12808ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' 12809exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' 12810lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' 12811lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' 12812lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' 12813reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' 12814reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12815OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' 12816deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' 12817file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' 12818AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' 12819AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' 12820STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' 12821RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' 12822old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12823old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12824old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12825CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' 12826CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' 12827compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' 12828GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' 12829lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' 12830lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' 12831lt_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"`' 12832lt_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"`' 12833objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' 12834SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' 12835ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' 12836MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' 12837lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' 12838lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' 12839lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' 12840lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' 12841lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' 12842need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' 12843DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' 12844NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' 12845LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' 12846OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' 12847OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' 12848libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' 12849shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12850extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12851archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' 12852enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' 12853export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 12854whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 12855compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' 12856old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12857old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12858archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12859archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12860module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12861module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12862with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' 12863allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 12864no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 12865hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 12866hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' 12867hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' 12868hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' 12869hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' 12870hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' 12871hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 12872hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' 12873inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' 12874link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' 12875fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' 12876always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' 12877export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12878exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 12879include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 12880prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12881file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' 12882variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' 12883need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' 12884need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' 12885version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' 12886runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' 12887shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 12888shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' 12889libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' 12890library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' 12891soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' 12892postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12893postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12894finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12895finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' 12896hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' 12897sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 12898sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 12899hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' 12900enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' 12901enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' 12902enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' 12903old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' 12904striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' 12905 12906LTCC='$LTCC' 12907LTCFLAGS='$LTCFLAGS' 12908compiler='$compiler_DEFAULT' 12909 12910# Quote evaled strings. 12911for var in SED \ 12912GREP \ 12913EGREP \ 12914FGREP \ 12915LD \ 12916NM \ 12917LN_S \ 12918lt_SP2NL \ 12919lt_NL2SP \ 12920reload_flag \ 12921OBJDUMP \ 12922deplibs_check_method \ 12923file_magic_cmd \ 12924AR \ 12925AR_FLAGS \ 12926STRIP \ 12927RANLIB \ 12928CC \ 12929CFLAGS \ 12930compiler \ 12931lt_cv_sys_global_symbol_pipe \ 12932lt_cv_sys_global_symbol_to_cdecl \ 12933lt_cv_sys_global_symbol_to_c_name_address \ 12934lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 12935SHELL \ 12936ECHO \ 12937lt_prog_compiler_no_builtin_flag \ 12938lt_prog_compiler_wl \ 12939lt_prog_compiler_pic \ 12940lt_prog_compiler_static \ 12941lt_cv_prog_compiler_c_o \ 12942need_locks \ 12943DSYMUTIL \ 12944NMEDIT \ 12945LIPO \ 12946OTOOL \ 12947OTOOL64 \ 12948shrext_cmds \ 12949export_dynamic_flag_spec \ 12950whole_archive_flag_spec \ 12951compiler_needs_object \ 12952with_gnu_ld \ 12953allow_undefined_flag \ 12954no_undefined_flag \ 12955hardcode_libdir_flag_spec \ 12956hardcode_libdir_flag_spec_ld \ 12957hardcode_libdir_separator \ 12958fix_srcfile_path \ 12959exclude_expsyms \ 12960include_expsyms \ 12961file_list_spec \ 12962variables_saved_for_relink \ 12963libname_spec \ 12964library_names_spec \ 12965soname_spec \ 12966finish_eval \ 12967old_striplib \ 12968striplib; do 12969 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 12970 *[\\\\\\\`\\"\\\$]*) 12971 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 12972 ;; 12973 *) 12974 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 12975 ;; 12976 esac 12977done 12978 12979# Double-quote double-evaled strings. 12980for var in reload_cmds \ 12981old_postinstall_cmds \ 12982old_postuninstall_cmds \ 12983old_archive_cmds \ 12984extract_expsyms_cmds \ 12985old_archive_from_new_cmds \ 12986old_archive_from_expsyms_cmds \ 12987archive_cmds \ 12988archive_expsym_cmds \ 12989module_cmds \ 12990module_expsym_cmds \ 12991export_symbols_cmds \ 12992prelink_cmds \ 12993postinstall_cmds \ 12994postuninstall_cmds \ 12995finish_cmds \ 12996sys_lib_search_path_spec \ 12997sys_lib_dlsearch_path_spec; do 12998 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 12999 *[\\\\\\\`\\"\\\$]*) 13000 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 13001 ;; 13002 *) 13003 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 13004 ;; 13005 esac 13006done 13007 13008# Fix-up fallback echo if it was mangled by the above quoting rules. 13009case \$lt_ECHO in 13010*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` 13011 ;; 13012esac 13013 13014ac_aux_dir='$ac_aux_dir' 13015xsi_shell='$xsi_shell' 13016lt_shell_append='$lt_shell_append' 13017 13018# See if we are running on zsh, and set the options which allow our 13019# commands through without removal of \ escapes INIT. 13020if test -n "\${ZSH_VERSION+set}" ; then 13021 setopt NO_GLOB_SUBST 13022fi 13023 13024 13025 PACKAGE='$PACKAGE' 13026 VERSION='$VERSION' 13027 TIMESTAMP='$TIMESTAMP' 13028 RM='$RM' 13029 ofile='$ofile' 13030 13031 13032 13033 13034 13035_ACEOF 13036 13037cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13038 13039# Handling of arguments. 13040for ac_config_target in $ac_config_targets 13041do 13042 case $ac_config_target in 13043 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 13044 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 13045 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 13046 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 13047 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 13048 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 13049 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 13050 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; 13051 13052 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 13053 esac 13054done 13055 13056 13057# If the user did not use the arguments to specify the items to instantiate, 13058# then the envvar interface is used. Set only those that are not. 13059# We use the long form for the default assignment because of an extremely 13060# bizarre bug on SunOS 4.1.3. 13061if $ac_need_defaults; then 13062 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 13063 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 13064 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 13065fi 13066 13067# Have a temporary directory for convenience. Make it in the build tree 13068# simply because there is no reason against having it here, and in addition, 13069# creating and moving files from /tmp can sometimes cause problems. 13070# Hook for its removal unless debugging. 13071# Note that there is a small window in which the directory will not be cleaned: 13072# after its creation but before its name has been assigned to `$tmp'. 13073$debug || 13074{ 13075 tmp= 13076 trap 'exit_status=$? 13077 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 13078' 0 13079 trap 'as_fn_exit 1' 1 2 13 15 13080} 13081# Create a (secure) tmp directory for tmp files. 13082 13083{ 13084 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 13085 test -n "$tmp" && test -d "$tmp" 13086} || 13087{ 13088 tmp=./conf$$-$RANDOM 13089 (umask 077 && mkdir "$tmp") 13090} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 13091 13092# Set up the scripts for CONFIG_FILES section. 13093# No need to generate them if there are no CONFIG_FILES. 13094# This happens for instance with `./config.status config.h'. 13095if test -n "$CONFIG_FILES"; then 13096 13097 13098ac_cr=`echo X | tr X '\015'` 13099# On cygwin, bash can eat \r inside `` if the user requested igncr. 13100# But we know of no other shell where ac_cr would be empty at this 13101# point, so we can use a bashism as a fallback. 13102if test "x$ac_cr" = x; then 13103 eval ac_cr=\$\'\\r\' 13104fi 13105ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 13106if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 13107 ac_cs_awk_cr='\\r' 13108else 13109 ac_cs_awk_cr=$ac_cr 13110fi 13111 13112echo 'BEGIN {' >"$tmp/subs1.awk" && 13113_ACEOF 13114 13115 13116{ 13117 echo "cat >conf$$subs.awk <<_ACEOF" && 13118 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 13119 echo "_ACEOF" 13120} >conf$$subs.sh || 13121 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13122ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 13123ac_delim='%!_!# ' 13124for ac_last_try in false false false false false :; do 13125 . ./conf$$subs.sh || 13126 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13127 13128 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 13129 if test $ac_delim_n = $ac_delim_num; then 13130 break 13131 elif $ac_last_try; then 13132 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13133 else 13134 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13135 fi 13136done 13137rm -f conf$$subs.sh 13138 13139cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13140cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 13141_ACEOF 13142sed -n ' 13143h 13144s/^/S["/; s/!.*/"]=/ 13145p 13146g 13147s/^[^!]*!// 13148:repl 13149t repl 13150s/'"$ac_delim"'$// 13151t delim 13152:nl 13153h 13154s/\(.\{148\}\)..*/\1/ 13155t more1 13156s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 13157p 13158n 13159b repl 13160:more1 13161s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13162p 13163g 13164s/.\{148\}// 13165t nl 13166:delim 13167h 13168s/\(.\{148\}\)..*/\1/ 13169t more2 13170s/["\\]/\\&/g; s/^/"/; s/$/"/ 13171p 13172b 13173:more2 13174s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13175p 13176g 13177s/.\{148\}// 13178t delim 13179' <conf$$subs.awk | sed ' 13180/^[^""]/{ 13181 N 13182 s/\n// 13183} 13184' >>$CONFIG_STATUS || ac_write_fail=1 13185rm -f conf$$subs.awk 13186cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13187_ACAWK 13188cat >>"\$tmp/subs1.awk" <<_ACAWK && 13189 for (key in S) S_is_set[key] = 1 13190 FS = "" 13191 13192} 13193{ 13194 line = $ 0 13195 nfields = split(line, field, "@") 13196 substed = 0 13197 len = length(field[1]) 13198 for (i = 2; i < nfields; i++) { 13199 key = field[i] 13200 keylen = length(key) 13201 if (S_is_set[key]) { 13202 value = S[key] 13203 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 13204 len += length(value) + length(field[++i]) 13205 substed = 1 13206 } else 13207 len += 1 + keylen 13208 } 13209 13210 print line 13211} 13212 13213_ACAWK 13214_ACEOF 13215cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13216if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 13217 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 13218else 13219 cat 13220fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 13221 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 13222_ACEOF 13223 13224# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 13225# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 13226# trailing colons and then remove the whole line if VPATH becomes empty 13227# (actually we leave an empty line to preserve line numbers). 13228if test "x$srcdir" = x.; then 13229 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 13230h 13231s/// 13232s/^/:/ 13233s/[ ]*$/:/ 13234s/:\$(srcdir):/:/g 13235s/:\${srcdir}:/:/g 13236s/:@srcdir@:/:/g 13237s/^:*// 13238s/:*$// 13239x 13240s/\(=[ ]*\).*/\1/ 13241G 13242s/\n// 13243s/^[^=]*=[ ]*$// 13244}' 13245fi 13246 13247cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13248fi # test -n "$CONFIG_FILES" 13249 13250# Set up the scripts for CONFIG_HEADERS section. 13251# No need to generate them if there are no CONFIG_HEADERS. 13252# This happens for instance with `./config.status Makefile'. 13253if test -n "$CONFIG_HEADERS"; then 13254cat >"$tmp/defines.awk" <<\_ACAWK || 13255BEGIN { 13256_ACEOF 13257 13258# Transform confdefs.h into an awk script `defines.awk', embedded as 13259# here-document in config.status, that substitutes the proper values into 13260# config.h.in to produce config.h. 13261 13262# Create a delimiter string that does not exist in confdefs.h, to ease 13263# handling of long lines. 13264ac_delim='%!_!# ' 13265for ac_last_try in false false :; do 13266 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 13267 if test -z "$ac_t"; then 13268 break 13269 elif $ac_last_try; then 13270 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 13271 else 13272 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13273 fi 13274done 13275 13276# For the awk script, D is an array of macro values keyed by name, 13277# likewise P contains macro parameters if any. Preserve backslash 13278# newline sequences. 13279 13280ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 13281sed -n ' 13282s/.\{148\}/&'"$ac_delim"'/g 13283t rset 13284:rset 13285s/^[ ]*#[ ]*define[ ][ ]*/ / 13286t def 13287d 13288:def 13289s/\\$// 13290t bsnl 13291s/["\\]/\\&/g 13292s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 13293D["\1"]=" \3"/p 13294s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 13295d 13296:bsnl 13297s/["\\]/\\&/g 13298s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 13299D["\1"]=" \3\\\\\\n"\\/p 13300t cont 13301s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 13302t cont 13303d 13304:cont 13305n 13306s/.\{148\}/&'"$ac_delim"'/g 13307t clear 13308:clear 13309s/\\$// 13310t bsnlc 13311s/["\\]/\\&/g; s/^/"/; s/$/"/p 13312d 13313:bsnlc 13314s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 13315b cont 13316' <confdefs.h | sed ' 13317s/'"$ac_delim"'/"\\\ 13318"/g' >>$CONFIG_STATUS || ac_write_fail=1 13319 13320cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13321 for (key in D) D_is_set[key] = 1 13322 FS = "" 13323} 13324/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 13325 line = \$ 0 13326 split(line, arg, " ") 13327 if (arg[1] == "#") { 13328 defundef = arg[2] 13329 mac1 = arg[3] 13330 } else { 13331 defundef = substr(arg[1], 2) 13332 mac1 = arg[2] 13333 } 13334 split(mac1, mac2, "(") #) 13335 macro = mac2[1] 13336 prefix = substr(line, 1, index(line, defundef) - 1) 13337 if (D_is_set[macro]) { 13338 # Preserve the white space surrounding the "#". 13339 print prefix "define", macro P[macro] D[macro] 13340 next 13341 } else { 13342 # Replace #undef with comments. This is necessary, for example, 13343 # in the case of _POSIX_SOURCE, which is predefined and required 13344 # on some systems where configure will not decide to define it. 13345 if (defundef == "undef") { 13346 print "/*", prefix defundef, macro, "*/" 13347 next 13348 } 13349 } 13350} 13351{ print } 13352_ACAWK 13353_ACEOF 13354cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13355 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 13356fi # test -n "$CONFIG_HEADERS" 13357 13358 13359eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 13360shift 13361for ac_tag 13362do 13363 case $ac_tag in 13364 :[FHLC]) ac_mode=$ac_tag; continue;; 13365 esac 13366 case $ac_mode$ac_tag in 13367 :[FHL]*:*);; 13368 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 13369 :[FH]-) ac_tag=-:-;; 13370 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 13371 esac 13372 ac_save_IFS=$IFS 13373 IFS=: 13374 set x $ac_tag 13375 IFS=$ac_save_IFS 13376 shift 13377 ac_file=$1 13378 shift 13379 13380 case $ac_mode in 13381 :L) ac_source=$1;; 13382 :[FH]) 13383 ac_file_inputs= 13384 for ac_f 13385 do 13386 case $ac_f in 13387 -) ac_f="$tmp/stdin";; 13388 *) # Look for the file first in the build tree, then in the source tree 13389 # (if the path is not absolute). The absolute path cannot be DOS-style, 13390 # because $ac_f cannot contain `:'. 13391 test -f "$ac_f" || 13392 case $ac_f in 13393 [\\/$]*) false;; 13394 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 13395 esac || 13396 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; 13397 esac 13398 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 13399 as_fn_append ac_file_inputs " '$ac_f'" 13400 done 13401 13402 # Let's still pretend it is `configure' which instantiates (i.e., don't 13403 # use $as_me), people would be surprised to read: 13404 # /* config.h. Generated by config.status. */ 13405 configure_input='Generated from '` 13406 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 13407 `' by configure.' 13408 if test x"$ac_file" != x-; then 13409 configure_input="$ac_file. $configure_input" 13410 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 13411$as_echo "$as_me: creating $ac_file" >&6;} 13412 fi 13413 # Neutralize special characters interpreted by sed in replacement strings. 13414 case $configure_input in #( 13415 *\&* | *\|* | *\\* ) 13416 ac_sed_conf_input=`$as_echo "$configure_input" | 13417 sed 's/[\\\\&|]/\\\\&/g'`;; #( 13418 *) ac_sed_conf_input=$configure_input;; 13419 esac 13420 13421 case $ac_tag in 13422 *:-:* | *:-) cat >"$tmp/stdin" \ 13423 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 13424 esac 13425 ;; 13426 esac 13427 13428 ac_dir=`$as_dirname -- "$ac_file" || 13429$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13430 X"$ac_file" : 'X\(//\)[^/]' \| \ 13431 X"$ac_file" : 'X\(//\)$' \| \ 13432 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 13433$as_echo X"$ac_file" | 13434 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13435 s//\1/ 13436 q 13437 } 13438 /^X\(\/\/\)[^/].*/{ 13439 s//\1/ 13440 q 13441 } 13442 /^X\(\/\/\)$/{ 13443 s//\1/ 13444 q 13445 } 13446 /^X\(\/\).*/{ 13447 s//\1/ 13448 q 13449 } 13450 s/.*/./; q'` 13451 as_dir="$ac_dir"; as_fn_mkdir_p 13452 ac_builddir=. 13453 13454case "$ac_dir" in 13455.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 13456*) 13457 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 13458 # A ".." for each directory in $ac_dir_suffix. 13459 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 13460 case $ac_top_builddir_sub in 13461 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 13462 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 13463 esac ;; 13464esac 13465ac_abs_top_builddir=$ac_pwd 13466ac_abs_builddir=$ac_pwd$ac_dir_suffix 13467# for backward compatibility: 13468ac_top_builddir=$ac_top_build_prefix 13469 13470case $srcdir in 13471 .) # We are building in place. 13472 ac_srcdir=. 13473 ac_top_srcdir=$ac_top_builddir_sub 13474 ac_abs_top_srcdir=$ac_pwd ;; 13475 [\\/]* | ?:[\\/]* ) # Absolute name. 13476 ac_srcdir=$srcdir$ac_dir_suffix; 13477 ac_top_srcdir=$srcdir 13478 ac_abs_top_srcdir=$srcdir ;; 13479 *) # Relative name. 13480 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 13481 ac_top_srcdir=$ac_top_build_prefix$srcdir 13482 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 13483esac 13484ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 13485 13486 13487 case $ac_mode in 13488 :F) 13489 # 13490 # CONFIG_FILE 13491 # 13492 13493 case $INSTALL in 13494 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 13495 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 13496 esac 13497 ac_MKDIR_P=$MKDIR_P 13498 case $MKDIR_P in 13499 [\\/$]* | ?:[\\/]* ) ;; 13500 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 13501 esac 13502_ACEOF 13503 13504cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13505# If the template does not know about datarootdir, expand it. 13506# FIXME: This hack should be removed a few years after 2.60. 13507ac_datarootdir_hack=; ac_datarootdir_seen= 13508ac_sed_dataroot=' 13509/datarootdir/ { 13510 p 13511 q 13512} 13513/@datadir@/p 13514/@docdir@/p 13515/@infodir@/p 13516/@localedir@/p 13517/@mandir@/p' 13518case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 13519*datarootdir*) ac_datarootdir_seen=yes;; 13520*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 13521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 13522$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 13523_ACEOF 13524cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13525 ac_datarootdir_hack=' 13526 s&@datadir@&$datadir&g 13527 s&@docdir@&$docdir&g 13528 s&@infodir@&$infodir&g 13529 s&@localedir@&$localedir&g 13530 s&@mandir@&$mandir&g 13531 s&\\\${datarootdir}&$datarootdir&g' ;; 13532esac 13533_ACEOF 13534 13535# Neutralize VPATH when `$srcdir' = `.'. 13536# Shell code in configure.ac might set extrasub. 13537# FIXME: do we really want to maintain this feature? 13538cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13539ac_sed_extra="$ac_vpsub 13540$extrasub 13541_ACEOF 13542cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13543:t 13544/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 13545s|@configure_input@|$ac_sed_conf_input|;t t 13546s&@top_builddir@&$ac_top_builddir_sub&;t t 13547s&@top_build_prefix@&$ac_top_build_prefix&;t t 13548s&@srcdir@&$ac_srcdir&;t t 13549s&@abs_srcdir@&$ac_abs_srcdir&;t t 13550s&@top_srcdir@&$ac_top_srcdir&;t t 13551s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 13552s&@builddir@&$ac_builddir&;t t 13553s&@abs_builddir@&$ac_abs_builddir&;t t 13554s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 13555s&@INSTALL@&$ac_INSTALL&;t t 13556s&@MKDIR_P@&$ac_MKDIR_P&;t t 13557$ac_datarootdir_hack 13558" 13559eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 13560 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13561 13562test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 13563 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 13564 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 13565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13566which seems to be undefined. Please make sure it is defined" >&5 13567$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13568which seems to be undefined. Please make sure it is defined" >&2;} 13569 13570 rm -f "$tmp/stdin" 13571 case $ac_file in 13572 -) cat "$tmp/out" && rm -f "$tmp/out";; 13573 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 13574 esac \ 13575 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13576 ;; 13577 :H) 13578 # 13579 # CONFIG_HEADER 13580 # 13581 if test x"$ac_file" != x-; then 13582 { 13583 $as_echo "/* $configure_input */" \ 13584 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 13585 } >"$tmp/config.h" \ 13586 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13587 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 13588 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 13589$as_echo "$as_me: $ac_file is unchanged" >&6;} 13590 else 13591 rm -f "$ac_file" 13592 mv "$tmp/config.h" "$ac_file" \ 13593 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13594 fi 13595 else 13596 $as_echo "/* $configure_input */" \ 13597 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 13598 || as_fn_error $? "could not create -" "$LINENO" 5 13599 fi 13600# Compute "$ac_file"'s index in $config_headers. 13601_am_arg="$ac_file" 13602_am_stamp_count=1 13603for _am_header in $config_headers :; do 13604 case $_am_header in 13605 $_am_arg | $_am_arg:* ) 13606 break ;; 13607 * ) 13608 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 13609 esac 13610done 13611echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 13612$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13613 X"$_am_arg" : 'X\(//\)[^/]' \| \ 13614 X"$_am_arg" : 'X\(//\)$' \| \ 13615 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 13616$as_echo X"$_am_arg" | 13617 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13618 s//\1/ 13619 q 13620 } 13621 /^X\(\/\/\)[^/].*/{ 13622 s//\1/ 13623 q 13624 } 13625 /^X\(\/\/\)$/{ 13626 s//\1/ 13627 q 13628 } 13629 /^X\(\/\).*/{ 13630 s//\1/ 13631 q 13632 } 13633 s/.*/./; q'`/stamp-h$_am_stamp_count 13634 ;; 13635 13636 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 13637$as_echo "$as_me: executing $ac_file commands" >&6;} 13638 ;; 13639 esac 13640 13641 13642 case $ac_file$ac_mode in 13643 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 13644 # Autoconf 2.62 quotes --file arguments for eval, but not when files 13645 # are listed without --file. Let's play safe and only enable the eval 13646 # if we detect the quoting. 13647 case $CONFIG_FILES in 13648 *\'*) eval set x "$CONFIG_FILES" ;; 13649 *) set x $CONFIG_FILES ;; 13650 esac 13651 shift 13652 for mf 13653 do 13654 # Strip MF so we end up with the name of the file. 13655 mf=`echo "$mf" | sed -e 's/:.*$//'` 13656 # Check whether this is an Automake generated Makefile or not. 13657 # We used to match only the files named `Makefile.in', but 13658 # some people rename them; so instead we look at the file content. 13659 # Grep'ing the first line is not enough: some people post-process 13660 # each Makefile.in and add a new line on top of each file to say so. 13661 # Grep'ing the whole file is not good either: AIX grep has a line 13662 # limit of 2048, but all sed's we know have understand at least 4000. 13663 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 13664 dirpart=`$as_dirname -- "$mf" || 13665$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13666 X"$mf" : 'X\(//\)[^/]' \| \ 13667 X"$mf" : 'X\(//\)$' \| \ 13668 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 13669$as_echo X"$mf" | 13670 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13671 s//\1/ 13672 q 13673 } 13674 /^X\(\/\/\)[^/].*/{ 13675 s//\1/ 13676 q 13677 } 13678 /^X\(\/\/\)$/{ 13679 s//\1/ 13680 q 13681 } 13682 /^X\(\/\).*/{ 13683 s//\1/ 13684 q 13685 } 13686 s/.*/./; q'` 13687 else 13688 continue 13689 fi 13690 # Extract the definition of DEPDIR, am__include, and am__quote 13691 # from the Makefile without running `make'. 13692 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 13693 test -z "$DEPDIR" && continue 13694 am__include=`sed -n 's/^am__include = //p' < "$mf"` 13695 test -z "am__include" && continue 13696 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 13697 # When using ansi2knr, U may be empty or an underscore; expand it 13698 U=`sed -n 's/^U = //p' < "$mf"` 13699 # Find all dependency output files, they are included files with 13700 # $(DEPDIR) in their names. We invoke sed twice because it is the 13701 # simplest approach to changing $(DEPDIR) to its actual value in the 13702 # expansion. 13703 for file in `sed -n " 13704 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 13705 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 13706 # Make sure the directory exists. 13707 test -f "$dirpart/$file" && continue 13708 fdir=`$as_dirname -- "$file" || 13709$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13710 X"$file" : 'X\(//\)[^/]' \| \ 13711 X"$file" : 'X\(//\)$' \| \ 13712 X"$file" : 'X\(/\)' \| . 2>/dev/null || 13713$as_echo X"$file" | 13714 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13715 s//\1/ 13716 q 13717 } 13718 /^X\(\/\/\)[^/].*/{ 13719 s//\1/ 13720 q 13721 } 13722 /^X\(\/\/\)$/{ 13723 s//\1/ 13724 q 13725 } 13726 /^X\(\/\).*/{ 13727 s//\1/ 13728 q 13729 } 13730 s/.*/./; q'` 13731 as_dir=$dirpart/$fdir; as_fn_mkdir_p 13732 # echo "creating $dirpart/$file" 13733 echo '# dummy' > "$dirpart/$file" 13734 done 13735 done 13736} 13737 ;; 13738 "libtool":C) 13739 13740 # See if we are running on zsh, and set the options which allow our 13741 # commands through without removal of \ escapes. 13742 if test -n "${ZSH_VERSION+set}" ; then 13743 setopt NO_GLOB_SUBST 13744 fi 13745 13746 cfgfile="${ofile}T" 13747 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 13748 $RM "$cfgfile" 13749 13750 cat <<_LT_EOF >> "$cfgfile" 13751#! $SHELL 13752 13753# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 13754# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 13755# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 13756# NOTE: Changes made to this file will be lost: look at ltmain.sh. 13757# 13758# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 13759# 2006, 2007, 2008 Free Software Foundation, Inc. 13760# Written by Gordon Matzigkeit, 1996 13761# 13762# This file is part of GNU Libtool. 13763# 13764# GNU Libtool is free software; you can redistribute it and/or 13765# modify it under the terms of the GNU General Public License as 13766# published by the Free Software Foundation; either version 2 of 13767# the License, or (at your option) any later version. 13768# 13769# As a special exception to the GNU General Public License, 13770# if you distribute this file as part of a program or library that 13771# is built using GNU Libtool, you may include this file under the 13772# same distribution terms that you use for the rest of that program. 13773# 13774# GNU Libtool is distributed in the hope that it will be useful, 13775# but WITHOUT ANY WARRANTY; without even the implied warranty of 13776# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13777# GNU General Public License for more details. 13778# 13779# You should have received a copy of the GNU General Public License 13780# along with GNU Libtool; see the file COPYING. If not, a copy 13781# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 13782# obtained by writing to the Free Software Foundation, Inc., 13783# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 13784 13785 13786# The names of the tagged configurations supported by this script. 13787available_tags="" 13788 13789# ### BEGIN LIBTOOL CONFIG 13790 13791# Whether or not to build static libraries. 13792build_old_libs=$enable_static 13793 13794# Which release of libtool.m4 was used? 13795macro_version=$macro_version 13796macro_revision=$macro_revision 13797 13798# Whether or not to build shared libraries. 13799build_libtool_libs=$enable_shared 13800 13801# What type of objects to build. 13802pic_mode=$pic_mode 13803 13804# Whether or not to optimize for fast installation. 13805fast_install=$enable_fast_install 13806 13807# The host system. 13808host_alias=$host_alias 13809host=$host 13810host_os=$host_os 13811 13812# The build system. 13813build_alias=$build_alias 13814build=$build 13815build_os=$build_os 13816 13817# A sed program that does not truncate output. 13818SED=$lt_SED 13819 13820# Sed that helps us avoid accidentally triggering echo(1) options like -n. 13821Xsed="\$SED -e 1s/^X//" 13822 13823# A grep program that handles long lines. 13824GREP=$lt_GREP 13825 13826# An ERE matcher. 13827EGREP=$lt_EGREP 13828 13829# A literal string matcher. 13830FGREP=$lt_FGREP 13831 13832# A BSD- or MS-compatible name lister. 13833NM=$lt_NM 13834 13835# Whether we need soft or hard links. 13836LN_S=$lt_LN_S 13837 13838# What is the maximum length of a command? 13839max_cmd_len=$max_cmd_len 13840 13841# Object file suffix (normally "o"). 13842objext=$ac_objext 13843 13844# Executable file suffix (normally ""). 13845exeext=$exeext 13846 13847# whether the shell understands "unset". 13848lt_unset=$lt_unset 13849 13850# turn spaces into newlines. 13851SP2NL=$lt_lt_SP2NL 13852 13853# turn newlines into spaces. 13854NL2SP=$lt_lt_NL2SP 13855 13856# How to create reloadable object files. 13857reload_flag=$lt_reload_flag 13858reload_cmds=$lt_reload_cmds 13859 13860# An object symbol dumper. 13861OBJDUMP=$lt_OBJDUMP 13862 13863# Method to check whether dependent libraries are shared objects. 13864deplibs_check_method=$lt_deplibs_check_method 13865 13866# Command to use when deplibs_check_method == "file_magic". 13867file_magic_cmd=$lt_file_magic_cmd 13868 13869# The archiver. 13870AR=$lt_AR 13871AR_FLAGS=$lt_AR_FLAGS 13872 13873# A symbol stripping program. 13874STRIP=$lt_STRIP 13875 13876# Commands used to install an old-style archive. 13877RANLIB=$lt_RANLIB 13878old_postinstall_cmds=$lt_old_postinstall_cmds 13879old_postuninstall_cmds=$lt_old_postuninstall_cmds 13880 13881# A C compiler. 13882LTCC=$lt_CC 13883 13884# LTCC compiler flags. 13885LTCFLAGS=$lt_CFLAGS 13886 13887# Take the output of nm and produce a listing of raw symbols and C names. 13888global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 13889 13890# Transform the output of nm in a proper C declaration. 13891global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 13892 13893# Transform the output of nm in a C name address pair. 13894global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 13895 13896# Transform the output of nm in a C name address pair when lib prefix is needed. 13897global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 13898 13899# The name of the directory that contains temporary libtool files. 13900objdir=$objdir 13901 13902# Shell to use when invoking shell scripts. 13903SHELL=$lt_SHELL 13904 13905# An echo program that does not interpret backslashes. 13906ECHO=$lt_ECHO 13907 13908# Used to examine libraries when file_magic_cmd begins with "file". 13909MAGIC_CMD=$MAGIC_CMD 13910 13911# Must we lock files when doing compilation? 13912need_locks=$lt_need_locks 13913 13914# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 13915DSYMUTIL=$lt_DSYMUTIL 13916 13917# Tool to change global to local symbols on Mac OS X. 13918NMEDIT=$lt_NMEDIT 13919 13920# Tool to manipulate fat objects and archives on Mac OS X. 13921LIPO=$lt_LIPO 13922 13923# ldd/readelf like tool for Mach-O binaries on Mac OS X. 13924OTOOL=$lt_OTOOL 13925 13926# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 13927OTOOL64=$lt_OTOOL64 13928 13929# Old archive suffix (normally "a"). 13930libext=$libext 13931 13932# Shared library suffix (normally ".so"). 13933shrext_cmds=$lt_shrext_cmds 13934 13935# The commands to extract the exported symbol list from a shared archive. 13936extract_expsyms_cmds=$lt_extract_expsyms_cmds 13937 13938# Variables whose values should be saved in libtool wrapper scripts and 13939# restored at link time. 13940variables_saved_for_relink=$lt_variables_saved_for_relink 13941 13942# Do we need the "lib" prefix for modules? 13943need_lib_prefix=$need_lib_prefix 13944 13945# Do we need a version for libraries? 13946need_version=$need_version 13947 13948# Library versioning type. 13949version_type=$version_type 13950 13951# Shared library runtime path variable. 13952runpath_var=$runpath_var 13953 13954# Shared library path variable. 13955shlibpath_var=$shlibpath_var 13956 13957# Is shlibpath searched before the hard-coded library search path? 13958shlibpath_overrides_runpath=$shlibpath_overrides_runpath 13959 13960# Format of library name prefix. 13961libname_spec=$lt_libname_spec 13962 13963# List of archive names. First name is the real one, the rest are links. 13964# The last name is the one that the linker finds with -lNAME 13965library_names_spec=$lt_library_names_spec 13966 13967# The coded name of the library, if different from the real name. 13968soname_spec=$lt_soname_spec 13969 13970# Command to use after installation of a shared archive. 13971postinstall_cmds=$lt_postinstall_cmds 13972 13973# Command to use after uninstallation of a shared archive. 13974postuninstall_cmds=$lt_postuninstall_cmds 13975 13976# Commands used to finish a libtool library installation in a directory. 13977finish_cmds=$lt_finish_cmds 13978 13979# As "finish_cmds", except a single script fragment to be evaled but 13980# not shown. 13981finish_eval=$lt_finish_eval 13982 13983# Whether we should hardcode library paths into libraries. 13984hardcode_into_libs=$hardcode_into_libs 13985 13986# Compile-time system search path for libraries. 13987sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 13988 13989# Run-time system search path for libraries. 13990sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 13991 13992# Whether dlopen is supported. 13993dlopen_support=$enable_dlopen 13994 13995# Whether dlopen of programs is supported. 13996dlopen_self=$enable_dlopen_self 13997 13998# Whether dlopen of statically linked programs is supported. 13999dlopen_self_static=$enable_dlopen_self_static 14000 14001# Commands to strip libraries. 14002old_striplib=$lt_old_striplib 14003striplib=$lt_striplib 14004 14005 14006# The linker used to build libraries. 14007LD=$lt_LD 14008 14009# Commands used to build an old-style archive. 14010old_archive_cmds=$lt_old_archive_cmds 14011 14012# A language specific compiler. 14013CC=$lt_compiler 14014 14015# Is the compiler the GNU compiler? 14016with_gcc=$GCC 14017 14018# Compiler flag to turn off builtin functions. 14019no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 14020 14021# How to pass a linker flag through the compiler. 14022wl=$lt_lt_prog_compiler_wl 14023 14024# Additional compiler flags for building library objects. 14025pic_flag=$lt_lt_prog_compiler_pic 14026 14027# Compiler flag to prevent dynamic linking. 14028link_static_flag=$lt_lt_prog_compiler_static 14029 14030# Does compiler simultaneously support -c and -o options? 14031compiler_c_o=$lt_lt_cv_prog_compiler_c_o 14032 14033# Whether or not to add -lc for building shared libraries. 14034build_libtool_need_lc=$archive_cmds_need_lc 14035 14036# Whether or not to disallow shared libs when runtime libs are static. 14037allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 14038 14039# Compiler flag to allow reflexive dlopens. 14040export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 14041 14042# Compiler flag to generate shared objects directly from archives. 14043whole_archive_flag_spec=$lt_whole_archive_flag_spec 14044 14045# Whether the compiler copes with passing no objects directly. 14046compiler_needs_object=$lt_compiler_needs_object 14047 14048# Create an old-style archive from a shared archive. 14049old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 14050 14051# Create a temporary old-style archive to link instead of a shared archive. 14052old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 14053 14054# Commands used to build a shared archive. 14055archive_cmds=$lt_archive_cmds 14056archive_expsym_cmds=$lt_archive_expsym_cmds 14057 14058# Commands used to build a loadable module if different from building 14059# a shared archive. 14060module_cmds=$lt_module_cmds 14061module_expsym_cmds=$lt_module_expsym_cmds 14062 14063# Whether we are building with GNU ld or not. 14064with_gnu_ld=$lt_with_gnu_ld 14065 14066# Flag that allows shared libraries with undefined symbols to be built. 14067allow_undefined_flag=$lt_allow_undefined_flag 14068 14069# Flag that enforces no undefined symbols. 14070no_undefined_flag=$lt_no_undefined_flag 14071 14072# Flag to hardcode \$libdir into a binary during linking. 14073# This must work even if \$libdir does not exist 14074hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 14075 14076# If ld is used when linking, flag to hardcode \$libdir into a binary 14077# during linking. This must work even if \$libdir does not exist. 14078hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld 14079 14080# Whether we need a single "-rpath" flag with a separated argument. 14081hardcode_libdir_separator=$lt_hardcode_libdir_separator 14082 14083# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 14084# DIR into the resulting binary. 14085hardcode_direct=$hardcode_direct 14086 14087# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 14088# DIR into the resulting binary and the resulting library dependency is 14089# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 14090# library is relocated. 14091hardcode_direct_absolute=$hardcode_direct_absolute 14092 14093# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 14094# into the resulting binary. 14095hardcode_minus_L=$hardcode_minus_L 14096 14097# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 14098# into the resulting binary. 14099hardcode_shlibpath_var=$hardcode_shlibpath_var 14100 14101# Set to "yes" if building a shared library automatically hardcodes DIR 14102# into the library and all subsequent libraries and executables linked 14103# against it. 14104hardcode_automatic=$hardcode_automatic 14105 14106# Set to yes if linker adds runtime paths of dependent libraries 14107# to runtime path list. 14108inherit_rpath=$inherit_rpath 14109 14110# Whether libtool must link a program against all its dependency libraries. 14111link_all_deplibs=$link_all_deplibs 14112 14113# Fix the shell variable \$srcfile for the compiler. 14114fix_srcfile_path=$lt_fix_srcfile_path 14115 14116# Set to "yes" if exported symbols are required. 14117always_export_symbols=$always_export_symbols 14118 14119# The commands to list exported symbols. 14120export_symbols_cmds=$lt_export_symbols_cmds 14121 14122# Symbols that should not be listed in the preloaded symbols. 14123exclude_expsyms=$lt_exclude_expsyms 14124 14125# Symbols that must always be exported. 14126include_expsyms=$lt_include_expsyms 14127 14128# Commands necessary for linking programs (against libraries) with templates. 14129prelink_cmds=$lt_prelink_cmds 14130 14131# Specify filename containing input files. 14132file_list_spec=$lt_file_list_spec 14133 14134# How to hardcode a shared library path into an executable. 14135hardcode_action=$hardcode_action 14136 14137# ### END LIBTOOL CONFIG 14138 14139_LT_EOF 14140 14141 case $host_os in 14142 aix3*) 14143 cat <<\_LT_EOF >> "$cfgfile" 14144# AIX sometimes has problems with the GCC collect2 program. For some 14145# reason, if we set the COLLECT_NAMES environment variable, the problems 14146# vanish in a puff of smoke. 14147if test "X${COLLECT_NAMES+set}" != Xset; then 14148 COLLECT_NAMES= 14149 export COLLECT_NAMES 14150fi 14151_LT_EOF 14152 ;; 14153 esac 14154 14155 14156ltmain="$ac_aux_dir/ltmain.sh" 14157 14158 14159 # We use sed instead of cat because bash on DJGPP gets confused if 14160 # if finds mixed CR/LF and LF-only lines. Since sed operates in 14161 # text mode, it properly converts lines to CR/LF. This bash problem 14162 # is reportedly fixed, but why not run on old versions too? 14163 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ 14164 || (rm -f "$cfgfile"; exit 1) 14165 14166 case $xsi_shell in 14167 yes) 14168 cat << \_LT_EOF >> "$cfgfile" 14169 14170# func_dirname file append nondir_replacement 14171# Compute the dirname of FILE. If nonempty, add APPEND to the result, 14172# otherwise set result to NONDIR_REPLACEMENT. 14173func_dirname () 14174{ 14175 case ${1} in 14176 */*) func_dirname_result="${1%/*}${2}" ;; 14177 * ) func_dirname_result="${3}" ;; 14178 esac 14179} 14180 14181# func_basename file 14182func_basename () 14183{ 14184 func_basename_result="${1##*/}" 14185} 14186 14187# func_dirname_and_basename file append nondir_replacement 14188# perform func_basename and func_dirname in a single function 14189# call: 14190# dirname: Compute the dirname of FILE. If nonempty, 14191# add APPEND to the result, otherwise set result 14192# to NONDIR_REPLACEMENT. 14193# value returned in "$func_dirname_result" 14194# basename: Compute filename of FILE. 14195# value retuned in "$func_basename_result" 14196# Implementation must be kept synchronized with func_dirname 14197# and func_basename. For efficiency, we do not delegate to 14198# those functions but instead duplicate the functionality here. 14199func_dirname_and_basename () 14200{ 14201 case ${1} in 14202 */*) func_dirname_result="${1%/*}${2}" ;; 14203 * ) func_dirname_result="${3}" ;; 14204 esac 14205 func_basename_result="${1##*/}" 14206} 14207 14208# func_stripname prefix suffix name 14209# strip PREFIX and SUFFIX off of NAME. 14210# PREFIX and SUFFIX must not contain globbing or regex special 14211# characters, hashes, percent signs, but SUFFIX may contain a leading 14212# dot (in which case that matches only a dot). 14213func_stripname () 14214{ 14215 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are 14216 # positional parameters, so assign one to ordinary parameter first. 14217 func_stripname_result=${3} 14218 func_stripname_result=${func_stripname_result#"${1}"} 14219 func_stripname_result=${func_stripname_result%"${2}"} 14220} 14221 14222# func_opt_split 14223func_opt_split () 14224{ 14225 func_opt_split_opt=${1%%=*} 14226 func_opt_split_arg=${1#*=} 14227} 14228 14229# func_lo2o object 14230func_lo2o () 14231{ 14232 case ${1} in 14233 *.lo) func_lo2o_result=${1%.lo}.${objext} ;; 14234 *) func_lo2o_result=${1} ;; 14235 esac 14236} 14237 14238# func_xform libobj-or-source 14239func_xform () 14240{ 14241 func_xform_result=${1%.*}.lo 14242} 14243 14244# func_arith arithmetic-term... 14245func_arith () 14246{ 14247 func_arith_result=$(( $* )) 14248} 14249 14250# func_len string 14251# STRING may not start with a hyphen. 14252func_len () 14253{ 14254 func_len_result=${#1} 14255} 14256 14257_LT_EOF 14258 ;; 14259 *) # Bourne compatible functions. 14260 cat << \_LT_EOF >> "$cfgfile" 14261 14262# func_dirname file append nondir_replacement 14263# Compute the dirname of FILE. If nonempty, add APPEND to the result, 14264# otherwise set result to NONDIR_REPLACEMENT. 14265func_dirname () 14266{ 14267 # Extract subdirectory from the argument. 14268 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` 14269 if test "X$func_dirname_result" = "X${1}"; then 14270 func_dirname_result="${3}" 14271 else 14272 func_dirname_result="$func_dirname_result${2}" 14273 fi 14274} 14275 14276# func_basename file 14277func_basename () 14278{ 14279 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` 14280} 14281 14282 14283# func_stripname prefix suffix name 14284# strip PREFIX and SUFFIX off of NAME. 14285# PREFIX and SUFFIX must not contain globbing or regex special 14286# characters, hashes, percent signs, but SUFFIX may contain a leading 14287# dot (in which case that matches only a dot). 14288# func_strip_suffix prefix name 14289func_stripname () 14290{ 14291 case ${2} in 14292 .*) func_stripname_result=`$ECHO "X${3}" \ 14293 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; 14294 *) func_stripname_result=`$ECHO "X${3}" \ 14295 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; 14296 esac 14297} 14298 14299# sed scripts: 14300my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' 14301my_sed_long_arg='1s/^-[^=]*=//' 14302 14303# func_opt_split 14304func_opt_split () 14305{ 14306 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` 14307 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` 14308} 14309 14310# func_lo2o object 14311func_lo2o () 14312{ 14313 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` 14314} 14315 14316# func_xform libobj-or-source 14317func_xform () 14318{ 14319 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` 14320} 14321 14322# func_arith arithmetic-term... 14323func_arith () 14324{ 14325 func_arith_result=`expr "$@"` 14326} 14327 14328# func_len string 14329# STRING may not start with a hyphen. 14330func_len () 14331{ 14332 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` 14333} 14334 14335_LT_EOF 14336esac 14337 14338case $lt_shell_append in 14339 yes) 14340 cat << \_LT_EOF >> "$cfgfile" 14341 14342# func_append var value 14343# Append VALUE to the end of shell variable VAR. 14344func_append () 14345{ 14346 eval "$1+=\$2" 14347} 14348_LT_EOF 14349 ;; 14350 *) 14351 cat << \_LT_EOF >> "$cfgfile" 14352 14353# func_append var value 14354# Append VALUE to the end of shell variable VAR. 14355func_append () 14356{ 14357 eval "$1=\$$1\$2" 14358} 14359 14360_LT_EOF 14361 ;; 14362 esac 14363 14364 14365 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ 14366 || (rm -f "$cfgfile"; exit 1) 14367 14368 mv -f "$cfgfile" "$ofile" || 14369 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 14370 chmod +x "$ofile" 14371 14372 ;; 14373 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) 14374 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile 14375 esac ;; 14376 "po/stamp-it":C) 14377 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then 14378 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 14379 fi 14380 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" 14381 >"po/stamp-it.tmp" 14382 sed '/^#/d 14383 s/^[[].*] *// 14384 /^[ ]*$/d 14385 '"s|^| $ac_top_srcdir/|" \ 14386 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" 14387 14388 sed '/^POTFILES =/,/[^\\]$/ { 14389 /^POTFILES =/!d 14390 r po/POTFILES 14391 } 14392 ' "po/Makefile.in" >"po/Makefile" 14393 rm -f "po/Makefile.tmp" 14394 mv "po/stamp-it.tmp" "po/stamp-it" 14395 ;; 14396 14397 esac 14398done # for ac_tag 14399 14400 14401as_fn_exit 0 14402_ACEOF 14403ac_clean_files=$ac_clean_files_save 14404 14405test $ac_write_fail = 0 || 14406 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 14407 14408 14409# configure is writing to config.log, and then calls config.status. 14410# config.status does its own redirection, appending to config.log. 14411# Unfortunately, on DOS this fails, as config.log is still kept open 14412# by configure, so config.status won't be able to write to it; its 14413# output is simply discarded. So we exec the FD to /dev/null, 14414# effectively closing config.log, so it can be properly (re)opened and 14415# appended to by config.status. When coming back to configure, we 14416# need to make the FD available again. 14417if test "$no_create" != yes; then 14418 ac_cs_success=: 14419 ac_config_status_args= 14420 test "$silent" = yes && 14421 ac_config_status_args="$ac_config_status_args --quiet" 14422 exec 5>/dev/null 14423 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 14424 exec 5>>config.log 14425 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 14426 # would make configure fail if this is the last instruction. 14427 $ac_cs_success || as_fn_exit 1 14428fi 14429if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 14430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 14431$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 14432fi 14433 14434