1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.65 for pylgtksourceview 2.10.1. 4# 5# Report bugs to <http://bugzilla.gnome.org/browse.cgi?product=gtksourceview/>. 6# 7# 8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 10# Inc. 11# 12# 13# This configure script is free software; the Free Software Foundation 14# gives unlimited permission to copy, distribute and modify it. 15## -------------------- ## 16## M4sh Initialization. ## 17## -------------------- ## 18 19# Be more Bourne compatible 20DUALCASE=1; export DUALCASE # for MKS sh 21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 22 emulate sh 23 NULLCMD=: 24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25 # is contrary to our usage. Disable this feature. 26 alias -g '${1+"$@"}'='"$@"' 27 setopt NO_GLOB_SUBST 28else 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 34esac 35fi 36 37 38as_nl=' 39' 40export as_nl 41# Printing a long string crashes Solaris 7 /usr/bin/printf. 42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45# Prefer a ksh shell builtin over an external printf program on Solaris, 46# but without wasting forks for bash or zsh. 47if test -z "$BASH_VERSION$ZSH_VERSION" \ 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='print -r --' 50 as_echo_n='print -rn --' 51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52 as_echo='printf %s\n' 53 as_echo_n='printf %s' 54else 55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 57 as_echo_n='/usr/ucb/echo -n' 58 else 59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 60 as_echo_n_body='eval 61 arg=$1; 62 case $arg in #( 63 *"$as_nl"*) 64 expr "X$arg" : "X\\(.*\\)$as_nl"; 65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 66 esac; 67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 68 ' 69 export as_echo_n_body 70 as_echo_n='sh -c $as_echo_n_body as_echo' 71 fi 72 export as_echo_body 73 as_echo='sh -c $as_echo_body as_echo' 74fi 75 76# The user is always right. 77if test "${PATH_SEPARATOR+set}" != set; then 78 PATH_SEPARATOR=: 79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 81 PATH_SEPARATOR=';' 82 } 83fi 84 85 86# IFS 87# We need space, tab and new line, in precisely that order. Quoting is 88# there to prevent editors from complaining about space-tab. 89# (If _AS_PATH_WALK were called with IFS unset, it would disable word 90# splitting by setting IFS to empty value.) 91IFS=" "" $as_nl" 92 93# Find who we are. Look in the path if we contain no directory separator. 94case $0 in #(( 95 *[\\/]* ) as_myself=$0 ;; 96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 97for as_dir in $PATH 98do 99 IFS=$as_save_IFS 100 test -z "$as_dir" && as_dir=. 101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 102 done 103IFS=$as_save_IFS 104 105 ;; 106esac 107# We did not find ourselves, most probably we were run as `sh COMMAND' 108# in which case we are not to be found in the path. 109if test "x$as_myself" = x; then 110 as_myself=$0 111fi 112if test ! -f "$as_myself"; then 113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 114 exit 1 115fi 116 117# Unset variables that we do not need and which cause bugs (e.g. in 118# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 119# suppresses any "Segmentation fault" message there. '((' could 120# trigger a bug in pdksh 5.2.14. 121for as_var in BASH_ENV ENV MAIL MAILPATH 122do eval test x\${$as_var+set} = xset \ 123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 124done 125PS1='$ ' 126PS2='> ' 127PS4='+ ' 128 129# NLS nuisances. 130LC_ALL=C 131export LC_ALL 132LANGUAGE=C 133export LANGUAGE 134 135# CDPATH. 136(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 137 138if test "x$CONFIG_SHELL" = x; then 139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 140 emulate sh 141 NULLCMD=: 142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 143 # is contrary to our usage. Disable this feature. 144 alias -g '\${1+\"\$@\"}'='\"\$@\"' 145 setopt NO_GLOB_SUBST 146else 147 case \`(set -o) 2>/dev/null\` in #( 148 *posix*) : 149 set -o posix ;; #( 150 *) : 151 ;; 152esac 153fi 154" 155 as_required="as_fn_return () { (exit \$1); } 156as_fn_success () { as_fn_return 0; } 157as_fn_failure () { as_fn_return 1; } 158as_fn_ret_success () { return 0; } 159as_fn_ret_failure () { return 1; } 160 161exitcode=0 162as_fn_success || { exitcode=1; echo as_fn_success failed.; } 163as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 164as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 165as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 166if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 167 168else 169 exitcode=1; echo positional parameters were not saved. 170fi 171test x\$exitcode = x0 || exit 1" 172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 176test \$(( 1 + 1 )) = 2 || exit 1" 177 if (eval "$as_required") 2>/dev/null; then : 178 as_have_required=yes 179else 180 as_have_required=no 181fi 182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 183 184else 185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 186as_found=false 187for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 188do 189 IFS=$as_save_IFS 190 test -z "$as_dir" && as_dir=. 191 as_found=: 192 case $as_dir in #( 193 /*) 194 for as_base in sh bash ksh sh5; do 195 # Try only shells that exist, to save several forks. 196 as_shell=$as_dir/$as_base 197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 199 CONFIG_SHELL=$as_shell as_have_required=yes 200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 201 break 2 202fi 203fi 204 done;; 205 esac 206 as_found=false 207done 208$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 210 CONFIG_SHELL=$SHELL as_have_required=yes 211fi; } 212IFS=$as_save_IFS 213 214 215 if test "x$CONFIG_SHELL" != x; then : 216 # We cannot yet assume a decent shell, so we have to provide a 217 # neutralization value for shells without unset; and this also 218 # works around shells that cannot unset nonexistent variables. 219 BASH_ENV=/dev/null 220 ENV=/dev/null 221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 222 export CONFIG_SHELL 223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 224fi 225 226 if test x$as_have_required = xno; then : 227 $as_echo "$0: This script requires a shell more modern than all" 228 $as_echo "$0: the shells that I found on your system." 229 if test x${ZSH_VERSION+set} = xset ; then 230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 231 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 232 else 233 $as_echo "$0: Please tell bug-autoconf@gnu.org and 234$0: http://bugzilla.gnome.org/browse.cgi?product=gtksourceview/ 235$0: about your system, including any error possibly output 236$0: before this message. Then install a modern shell, or 237$0: manually run the script under such a shell if you do 238$0: have one." 239 fi 240 exit 1 241fi 242fi 243fi 244SHELL=${CONFIG_SHELL-/bin/sh} 245export SHELL 246# Unset more variables known to interfere with behavior of common tools. 247CLICOLOR_FORCE= GREP_OPTIONS= 248unset CLICOLOR_FORCE GREP_OPTIONS 249 250## --------------------- ## 251## M4sh Shell Functions. ## 252## --------------------- ## 253# as_fn_unset VAR 254# --------------- 255# Portably unset VAR. 256as_fn_unset () 257{ 258 { eval $1=; unset $1;} 259} 260as_unset=as_fn_unset 261 262# as_fn_set_status STATUS 263# ----------------------- 264# Set $? to STATUS, without forking. 265as_fn_set_status () 266{ 267 return $1 268} # as_fn_set_status 269 270# as_fn_exit STATUS 271# ----------------- 272# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 273as_fn_exit () 274{ 275 set +e 276 as_fn_set_status $1 277 exit $1 278} # as_fn_exit 279 280# as_fn_mkdir_p 281# ------------- 282# Create "$as_dir" as a directory, including parents if necessary. 283as_fn_mkdir_p () 284{ 285 286 case $as_dir in #( 287 -*) as_dir=./$as_dir;; 288 esac 289 test -d "$as_dir" || eval $as_mkdir_p || { 290 as_dirs= 291 while :; do 292 case $as_dir in #( 293 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 294 *) as_qdir=$as_dir;; 295 esac 296 as_dirs="'$as_qdir' $as_dirs" 297 as_dir=`$as_dirname -- "$as_dir" || 298$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 299 X"$as_dir" : 'X\(//\)[^/]' \| \ 300 X"$as_dir" : 'X\(//\)$' \| \ 301 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 302$as_echo X"$as_dir" | 303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 304 s//\1/ 305 q 306 } 307 /^X\(\/\/\)[^/].*/{ 308 s//\1/ 309 q 310 } 311 /^X\(\/\/\)$/{ 312 s//\1/ 313 q 314 } 315 /^X\(\/\).*/{ 316 s//\1/ 317 q 318 } 319 s/.*/./; q'` 320 test -d "$as_dir" && break 321 done 322 test -z "$as_dirs" || eval "mkdir $as_dirs" 323 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 324 325 326} # as_fn_mkdir_p 327# as_fn_append VAR VALUE 328# ---------------------- 329# Append the text in VALUE to the end of the definition contained in VAR. Take 330# advantage of any shell optimizations that allow amortized linear growth over 331# repeated appends, instead of the typical quadratic growth present in naive 332# implementations. 333if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 334 eval 'as_fn_append () 335 { 336 eval $1+=\$2 337 }' 338else 339 as_fn_append () 340 { 341 eval $1=\$$1\$2 342 } 343fi # as_fn_append 344 345# as_fn_arith ARG... 346# ------------------ 347# Perform arithmetic evaluation on the ARGs, and store the result in the 348# global $as_val. Take advantage of shells that can avoid forks. The arguments 349# must be portable across $(()) and expr. 350if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 351 eval 'as_fn_arith () 352 { 353 as_val=$(( $* )) 354 }' 355else 356 as_fn_arith () 357 { 358 as_val=`expr "$@" || test $? -eq 1` 359 } 360fi # as_fn_arith 361 362 363# as_fn_error ERROR [LINENO LOG_FD] 364# --------------------------------- 365# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 366# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 367# script with status $?, using 1 if that was 0. 368as_fn_error () 369{ 370 as_status=$?; test $as_status -eq 0 && as_status=1 371 if test "$3"; then 372 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 373 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 374 fi 375 $as_echo "$as_me: error: $1" >&2 376 as_fn_exit $as_status 377} # as_fn_error 378 379if expr a : '\(a\)' >/dev/null 2>&1 && 380 test "X`expr 00001 : '.*\(...\)'`" = X001; then 381 as_expr=expr 382else 383 as_expr=false 384fi 385 386if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 387 as_basename=basename 388else 389 as_basename=false 390fi 391 392if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 393 as_dirname=dirname 394else 395 as_dirname=false 396fi 397 398as_me=`$as_basename -- "$0" || 399$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 400 X"$0" : 'X\(//\)$' \| \ 401 X"$0" : 'X\(/\)' \| . 2>/dev/null || 402$as_echo X/"$0" | 403 sed '/^.*\/\([^/][^/]*\)\/*$/{ 404 s//\1/ 405 q 406 } 407 /^X\/\(\/\/\)$/{ 408 s//\1/ 409 q 410 } 411 /^X\/\(\/\).*/{ 412 s//\1/ 413 q 414 } 415 s/.*/./; q'` 416 417# Avoid depending upon Character Ranges. 418as_cr_letters='abcdefghijklmnopqrstuvwxyz' 419as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 420as_cr_Letters=$as_cr_letters$as_cr_LETTERS 421as_cr_digits='0123456789' 422as_cr_alnum=$as_cr_Letters$as_cr_digits 423 424 425 as_lineno_1=$LINENO as_lineno_1a=$LINENO 426 as_lineno_2=$LINENO as_lineno_2a=$LINENO 427 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 428 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 429 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 430 sed -n ' 431 p 432 /[$]LINENO/= 433 ' <$as_myself | 434 sed ' 435 s/[$]LINENO.*/&-/ 436 t lineno 437 b 438 :lineno 439 N 440 :loop 441 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 442 t loop 443 s/-\n.*// 444 ' >$as_me.lineno && 445 chmod +x "$as_me.lineno" || 446 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 447 448 # Don't try to exec as it changes $[0], causing all sort of problems 449 # (the dirname of $[0] is not the place where we might find the 450 # original and so on. Autoconf is especially sensitive to this). 451 . "./$as_me.lineno" 452 # Exit status is that of the last command. 453 exit 454} 455 456ECHO_C= ECHO_N= ECHO_T= 457case `echo -n x` in #((((( 458-n*) 459 case `echo 'xy\c'` in 460 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 461 xy) ECHO_C='\c';; 462 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 463 ECHO_T=' ';; 464 esac;; 465*) 466 ECHO_N='-n';; 467esac 468 469rm -f conf$$ conf$$.exe conf$$.file 470if test -d conf$$.dir; then 471 rm -f conf$$.dir/conf$$.file 472else 473 rm -f conf$$.dir 474 mkdir conf$$.dir 2>/dev/null 475fi 476if (echo >conf$$.file) 2>/dev/null; then 477 if ln -s conf$$.file conf$$ 2>/dev/null; then 478 as_ln_s='ln -s' 479 # ... but there are two gotchas: 480 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 481 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 482 # In both cases, we have to default to `cp -p'. 483 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 484 as_ln_s='cp -p' 485 elif ln conf$$.file conf$$ 2>/dev/null; then 486 as_ln_s=ln 487 else 488 as_ln_s='cp -p' 489 fi 490else 491 as_ln_s='cp -p' 492fi 493rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 494rmdir conf$$.dir 2>/dev/null 495 496if mkdir -p . 2>/dev/null; then 497 as_mkdir_p='mkdir -p "$as_dir"' 498else 499 test -d ./-p && rmdir ./-p 500 as_mkdir_p=false 501fi 502 503if test -x / >/dev/null 2>&1; then 504 as_test_x='test -x' 505else 506 if ls -dL / >/dev/null 2>&1; then 507 as_ls_L_option=L 508 else 509 as_ls_L_option= 510 fi 511 as_test_x=' 512 eval sh -c '\'' 513 if test -d "$1"; then 514 test -d "$1/."; 515 else 516 case $1 in #( 517 -*)set "./$1";; 518 esac; 519 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 520 ???[sx]*):;;*)false;;esac;fi 521 '\'' sh 522 ' 523fi 524as_executable_p=$as_test_x 525 526# Sed expression to map a string onto a valid CPP name. 527as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 528 529# Sed expression to map a string onto a valid variable name. 530as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 531 532 533 534# Check that we are running under the correct shell. 535SHELL=${CONFIG_SHELL-/bin/sh} 536 537case X$lt_ECHO in 538X*--fallback-echo) 539 # Remove one level of quotation (which was required for Make). 540 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` 541 ;; 542esac 543 544ECHO=${lt_ECHO-echo} 545if test "X$1" = X--no-reexec; then 546 # Discard the --no-reexec flag, and continue. 547 shift 548elif test "X$1" = X--fallback-echo; then 549 # Avoid inline document here, it may be left over 550 : 551elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then 552 # Yippee, $ECHO works! 553 : 554else 555 # Restart under the correct shell. 556 exec $SHELL "$0" --no-reexec ${1+"$@"} 557fi 558 559if test "X$1" = X--fallback-echo; then 560 # used as fallback echo 561 shift 562 cat <<_LT_EOF 563$* 564_LT_EOF 565 exit 0 566fi 567 568# The HP-UX ksh and POSIX shell print the target directory to stdout 569# if CDPATH is set. 570(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 571 572if test -z "$lt_ECHO"; then 573 if test "X${echo_test_string+set}" != Xset; then 574 # find a string as large as possible, as long as the shell can cope with it 575 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do 576 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 577 if { echo_test_string=`eval $cmd`; } 2>/dev/null && 578 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null 579 then 580 break 581 fi 582 done 583 fi 584 585 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && 586 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && 587 test "X$echo_testing_string" = "X$echo_test_string"; then 588 : 589 else 590 # The Solaris, AIX, and Digital Unix default echo programs unquote 591 # backslashes. This makes it impossible to quote backslashes using 592 # echo "$something" | sed 's/\\/\\\\/g' 593 # 594 # So, first we look for a working echo in the user's PATH. 595 596 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 597 for dir in $PATH /usr/ucb; do 598 IFS="$lt_save_ifs" 599 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && 600 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && 601 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && 602 test "X$echo_testing_string" = "X$echo_test_string"; then 603 ECHO="$dir/echo" 604 break 605 fi 606 done 607 IFS="$lt_save_ifs" 608 609 if test "X$ECHO" = Xecho; then 610 # We didn't find a better echo, so look for alternatives. 611 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && 612 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && 613 test "X$echo_testing_string" = "X$echo_test_string"; then 614 # This shell has a builtin print -r that does the trick. 615 ECHO='print -r' 616 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && 617 test "X$CONFIG_SHELL" != X/bin/ksh; then 618 # If we have ksh, try running configure again with it. 619 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 620 export ORIGINAL_CONFIG_SHELL 621 CONFIG_SHELL=/bin/ksh 622 export CONFIG_SHELL 623 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} 624 else 625 # Try using printf. 626 ECHO='printf %s\n' 627 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && 628 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && 629 test "X$echo_testing_string" = "X$echo_test_string"; then 630 # Cool, printf works 631 : 632 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 633 test "X$echo_testing_string" = 'X\t' && 634 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 635 test "X$echo_testing_string" = "X$echo_test_string"; then 636 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL 637 export CONFIG_SHELL 638 SHELL="$CONFIG_SHELL" 639 export SHELL 640 ECHO="$CONFIG_SHELL $0 --fallback-echo" 641 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 642 test "X$echo_testing_string" = 'X\t' && 643 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 644 test "X$echo_testing_string" = "X$echo_test_string"; then 645 ECHO="$CONFIG_SHELL $0 --fallback-echo" 646 else 647 # maybe with a smaller string... 648 prev=: 649 650 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do 651 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null 652 then 653 break 654 fi 655 prev="$cmd" 656 done 657 658 if test "$prev" != 'sed 50q "$0"'; then 659 echo_test_string=`eval $prev` 660 export echo_test_string 661 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} 662 else 663 # Oops. We lost completely, so just stick with echo. 664 ECHO=echo 665 fi 666 fi 667 fi 668 fi 669 fi 670fi 671 672# Copy echo and quote the copy suitably for passing to libtool from 673# the Makefile, instead of quoting the original, which is used later. 674lt_ECHO=$ECHO 675if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then 676 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" 677fi 678 679 680 681 682test -n "$DJDIR" || exec 7<&0 </dev/null 683exec 6>&1 684 685# Name of the host. 686# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 687# so uname gets run too. 688ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 689 690# 691# Initializations. 692# 693ac_default_prefix=/usr/local 694ac_clean_files= 695ac_config_libobj_dir=. 696LIBOBJS= 697cross_compiling=no 698subdirs= 699MFLAGS= 700MAKEFLAGS= 701 702# Identity of this package. 703PACKAGE_NAME='pylgtksourceview' 704PACKAGE_TARNAME='pylgtksourceview' 705PACKAGE_VERSION='2.10.1' 706PACKAGE_STRING='pylgtksourceview 2.10.1' 707PACKAGE_BUGREPORT='http://bugzilla.gnome.org/browse.cgi?product=gtksourceview/' 708PACKAGE_URL='' 709 710ac_unique_file="./gtksourceview2module.c" 711# Factoring default headers for most tests. 712ac_includes_default="\ 713#include <stdio.h> 714#ifdef HAVE_SYS_TYPES_H 715# include <sys/types.h> 716#endif 717#ifdef HAVE_SYS_STAT_H 718# include <sys/stat.h> 719#endif 720#ifdef STDC_HEADERS 721# include <stdlib.h> 722# include <stddef.h> 723#else 724# ifdef HAVE_STDLIB_H 725# include <stdlib.h> 726# endif 727#endif 728#ifdef HAVE_STRING_H 729# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 730# include <memory.h> 731# endif 732# include <string.h> 733#endif 734#ifdef HAVE_STRINGS_H 735# include <strings.h> 736#endif 737#ifdef HAVE_INTTYPES_H 738# include <inttypes.h> 739#endif 740#ifdef HAVE_STDINT_H 741# include <stdint.h> 742#endif 743#ifdef HAVE_UNISTD_H 744# include <unistd.h> 745#endif" 746 747ac_subst_vars='am__EXEEXT_FALSE 748am__EXEEXT_TRUE 749LTLIBOBJS 750LIBOBJS 751GTK_DOC_USE_REBASE_FALSE 752GTK_DOC_USE_REBASE_TRUE 753GTK_DOC_USE_LIBTOOL_FALSE 754GTK_DOC_USE_LIBTOOL_TRUE 755GTK_DOC_BUILD_PDF_FALSE 756GTK_DOC_BUILD_PDF_TRUE 757GTK_DOC_BUILD_HTML_FALSE 758GTK_DOC_BUILD_HTML_TRUE 759ENABLE_GTK_DOC_FALSE 760ENABLE_GTK_DOC_TRUE 761HTML_DIR 762GTKDOC_MKPDF 763GTKDOC_REBASE 764GTKDOC_CHECK 765CODEGEN 766PYGTK_DATADIR 767PYGTKSOURCEVIEW_LIBS 768PYGTKSOURCEVIEW_CFLAGS 769ENABLE_DOCS_FALSE 770ENABLE_DOCS_TRUE 771XSLTPROC 772PYGOBJECT_PYGDOCS 773PYGOBJECT_FIXXREF 774PYGOBJECT_DATADIR 775PYGOBJECT_INCLUDEDIR 776PYGOBJECT_LIBS 777PYGOBJECT_CFLAGS 778PKG_CONFIG 779PYTHON_EXEC_PREFIX 780PYTHON_PREFIX 781PYTHON_VERSION 782PYTHON 783pkgpyexecdir 784pkgpythondir 785pyexecdir 786pythondir 787PYTHON_EXTRA_LDFLAGS 788PYTHON_LDFLAGS 789PYTHON_EXTRA_LIBS 790PYTHON_LIBS 791PYTHON_INCLUDES 792PYTHON_PLATFORM 793CPP 794OTOOL64 795OTOOL 796LIPO 797NMEDIT 798DSYMUTIL 799lt_ECHO 800RANLIB 801AR 802LN_S 803NM 804ac_ct_DUMPBIN 805DUMPBIN 806LD 807FGREP 808EGREP 809GREP 810SED 811am__fastdepCC_FALSE 812am__fastdepCC_TRUE 813CCDEPMODE 814AMDEPBACKSLASH 815AMDEP_FALSE 816AMDEP_TRUE 817am__quote 818am__include 819DEPDIR 820OBJEXT 821EXEEXT 822ac_ct_CC 823CPPFLAGS 824LDFLAGS 825CFLAGS 826CC 827LIBTOOL 828OBJDUMP 829DLLTOOL 830AS 831OS_WIN32_FALSE 832OS_WIN32_TRUE 833PLATFORM_WIN32_FALSE 834PLATFORM_WIN32_TRUE 835host_os 836host_vendor 837host_cpu 838host 839build_os 840build_vendor 841build_cpu 842build 843am__untar 844am__tar 845AMTAR 846am__leading_dot 847SET_MAKE 848AWK 849mkdir_p 850MKDIR_P 851INSTALL_STRIP_PROGRAM 852STRIP 853install_sh 854MAKEINFO 855AUTOHEADER 856AUTOMAKE 857AUTOCONF 858ACLOCAL 859VERSION 860PACKAGE 861CYGPATH_W 862am__isrc 863INSTALL_DATA 864INSTALL_SCRIPT 865INSTALL_PROGRAM 866target_alias 867host_alias 868build_alias 869LIBS 870ECHO_T 871ECHO_N 872ECHO_C 873DEFS 874mandir 875localedir 876libdir 877psdir 878pdfdir 879dvidir 880htmldir 881infodir 882docdir 883oldincludedir 884includedir 885localstatedir 886sharedstatedir 887sysconfdir 888datadir 889datarootdir 890libexecdir 891sbindir 892bindir 893program_transform_name 894prefix 895exec_prefix 896PACKAGE_URL 897PACKAGE_BUGREPORT 898PACKAGE_STRING 899PACKAGE_VERSION 900PACKAGE_TARNAME 901PACKAGE_NAME 902PATH_SEPARATOR 903SHELL' 904ac_subst_files='' 905ac_user_opts=' 906enable_option_checking 907enable_static 908enable_shared 909with_pic 910enable_fast_install 911enable_dependency_tracking 912with_gnu_ld 913enable_libtool_lock 914enable_docs 915with_html_dir 916enable_gtk_doc 917enable_gtk_doc_html 918enable_gtk_doc_pdf 919' 920 ac_precious_vars='build_alias 921host_alias 922target_alias 923CC 924CFLAGS 925LDFLAGS 926LIBS 927CPPFLAGS 928CPP 929PKG_CONFIG 930PYGOBJECT_CFLAGS 931PYGOBJECT_LIBS 932PYGTKSOURCEVIEW_CFLAGS 933PYGTKSOURCEVIEW_LIBS' 934 935 936# Initialize some variables set by options. 937ac_init_help= 938ac_init_version=false 939ac_unrecognized_opts= 940ac_unrecognized_sep= 941# The variables have the same names as the options, with 942# dashes changed to underlines. 943cache_file=/dev/null 944exec_prefix=NONE 945no_create= 946no_recursion= 947prefix=NONE 948program_prefix=NONE 949program_suffix=NONE 950program_transform_name=s,x,x, 951silent= 952site= 953srcdir= 954verbose= 955x_includes=NONE 956x_libraries=NONE 957 958# Installation directory options. 959# These are left unexpanded so users can "make install exec_prefix=/foo" 960# and all the variables that are supposed to be based on exec_prefix 961# by default will actually change. 962# Use braces instead of parens because sh, perl, etc. also accept them. 963# (The list follows the same order as the GNU Coding Standards.) 964bindir='${exec_prefix}/bin' 965sbindir='${exec_prefix}/sbin' 966libexecdir='${exec_prefix}/libexec' 967datarootdir='${prefix}/share' 968datadir='${datarootdir}' 969sysconfdir='${prefix}/etc' 970sharedstatedir='${prefix}/com' 971localstatedir='${prefix}/var' 972includedir='${prefix}/include' 973oldincludedir='/usr/include' 974docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 975infodir='${datarootdir}/info' 976htmldir='${docdir}' 977dvidir='${docdir}' 978pdfdir='${docdir}' 979psdir='${docdir}' 980libdir='${exec_prefix}/lib' 981localedir='${datarootdir}/locale' 982mandir='${datarootdir}/man' 983 984ac_prev= 985ac_dashdash= 986for ac_option 987do 988 # If the previous option needs an argument, assign it. 989 if test -n "$ac_prev"; then 990 eval $ac_prev=\$ac_option 991 ac_prev= 992 continue 993 fi 994 995 case $ac_option in 996 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 997 *) ac_optarg=yes ;; 998 esac 999 1000 # Accept the important Cygnus configure options, so we can diagnose typos. 1001 1002 case $ac_dashdash$ac_option in 1003 --) 1004 ac_dashdash=yes ;; 1005 1006 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1007 ac_prev=bindir ;; 1008 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1009 bindir=$ac_optarg ;; 1010 1011 -build | --build | --buil | --bui | --bu) 1012 ac_prev=build_alias ;; 1013 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1014 build_alias=$ac_optarg ;; 1015 1016 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1017 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1018 ac_prev=cache_file ;; 1019 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1020 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1021 cache_file=$ac_optarg ;; 1022 1023 --config-cache | -C) 1024 cache_file=config.cache ;; 1025 1026 -datadir | --datadir | --datadi | --datad) 1027 ac_prev=datadir ;; 1028 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1029 datadir=$ac_optarg ;; 1030 1031 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1032 | --dataroo | --dataro | --datar) 1033 ac_prev=datarootdir ;; 1034 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1035 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1036 datarootdir=$ac_optarg ;; 1037 1038 -disable-* | --disable-*) 1039 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1040 # Reject names that are not valid shell variable names. 1041 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1042 as_fn_error "invalid feature name: $ac_useropt" 1043 ac_useropt_orig=$ac_useropt 1044 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1045 case $ac_user_opts in 1046 *" 1047"enable_$ac_useropt" 1048"*) ;; 1049 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1050 ac_unrecognized_sep=', ';; 1051 esac 1052 eval enable_$ac_useropt=no ;; 1053 1054 -docdir | --docdir | --docdi | --doc | --do) 1055 ac_prev=docdir ;; 1056 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1057 docdir=$ac_optarg ;; 1058 1059 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1060 ac_prev=dvidir ;; 1061 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1062 dvidir=$ac_optarg ;; 1063 1064 -enable-* | --enable-*) 1065 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1066 # Reject names that are not valid shell variable names. 1067 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1068 as_fn_error "invalid feature name: $ac_useropt" 1069 ac_useropt_orig=$ac_useropt 1070 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1071 case $ac_user_opts in 1072 *" 1073"enable_$ac_useropt" 1074"*) ;; 1075 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1076 ac_unrecognized_sep=', ';; 1077 esac 1078 eval enable_$ac_useropt=\$ac_optarg ;; 1079 1080 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1081 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1082 | --exec | --exe | --ex) 1083 ac_prev=exec_prefix ;; 1084 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1085 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1086 | --exec=* | --exe=* | --ex=*) 1087 exec_prefix=$ac_optarg ;; 1088 1089 -gas | --gas | --ga | --g) 1090 # Obsolete; use --with-gas. 1091 with_gas=yes ;; 1092 1093 -help | --help | --hel | --he | -h) 1094 ac_init_help=long ;; 1095 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1096 ac_init_help=recursive ;; 1097 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1098 ac_init_help=short ;; 1099 1100 -host | --host | --hos | --ho) 1101 ac_prev=host_alias ;; 1102 -host=* | --host=* | --hos=* | --ho=*) 1103 host_alias=$ac_optarg ;; 1104 1105 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1106 ac_prev=htmldir ;; 1107 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1108 | --ht=*) 1109 htmldir=$ac_optarg ;; 1110 1111 -includedir | --includedir | --includedi | --included | --include \ 1112 | --includ | --inclu | --incl | --inc) 1113 ac_prev=includedir ;; 1114 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1115 | --includ=* | --inclu=* | --incl=* | --inc=*) 1116 includedir=$ac_optarg ;; 1117 1118 -infodir | --infodir | --infodi | --infod | --info | --inf) 1119 ac_prev=infodir ;; 1120 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1121 infodir=$ac_optarg ;; 1122 1123 -libdir | --libdir | --libdi | --libd) 1124 ac_prev=libdir ;; 1125 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1126 libdir=$ac_optarg ;; 1127 1128 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1129 | --libexe | --libex | --libe) 1130 ac_prev=libexecdir ;; 1131 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1132 | --libexe=* | --libex=* | --libe=*) 1133 libexecdir=$ac_optarg ;; 1134 1135 -localedir | --localedir | --localedi | --localed | --locale) 1136 ac_prev=localedir ;; 1137 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1138 localedir=$ac_optarg ;; 1139 1140 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1141 | --localstate | --localstat | --localsta | --localst | --locals) 1142 ac_prev=localstatedir ;; 1143 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1144 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1145 localstatedir=$ac_optarg ;; 1146 1147 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1148 ac_prev=mandir ;; 1149 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1150 mandir=$ac_optarg ;; 1151 1152 -nfp | --nfp | --nf) 1153 # Obsolete; use --without-fp. 1154 with_fp=no ;; 1155 1156 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1157 | --no-cr | --no-c | -n) 1158 no_create=yes ;; 1159 1160 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1161 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1162 no_recursion=yes ;; 1163 1164 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1165 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1166 | --oldin | --oldi | --old | --ol | --o) 1167 ac_prev=oldincludedir ;; 1168 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1169 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1170 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1171 oldincludedir=$ac_optarg ;; 1172 1173 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1174 ac_prev=prefix ;; 1175 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1176 prefix=$ac_optarg ;; 1177 1178 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1179 | --program-pre | --program-pr | --program-p) 1180 ac_prev=program_prefix ;; 1181 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1182 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1183 program_prefix=$ac_optarg ;; 1184 1185 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1186 | --program-suf | --program-su | --program-s) 1187 ac_prev=program_suffix ;; 1188 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1189 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1190 program_suffix=$ac_optarg ;; 1191 1192 -program-transform-name | --program-transform-name \ 1193 | --program-transform-nam | --program-transform-na \ 1194 | --program-transform-n | --program-transform- \ 1195 | --program-transform | --program-transfor \ 1196 | --program-transfo | --program-transf \ 1197 | --program-trans | --program-tran \ 1198 | --progr-tra | --program-tr | --program-t) 1199 ac_prev=program_transform_name ;; 1200 -program-transform-name=* | --program-transform-name=* \ 1201 | --program-transform-nam=* | --program-transform-na=* \ 1202 | --program-transform-n=* | --program-transform-=* \ 1203 | --program-transform=* | --program-transfor=* \ 1204 | --program-transfo=* | --program-transf=* \ 1205 | --program-trans=* | --program-tran=* \ 1206 | --progr-tra=* | --program-tr=* | --program-t=*) 1207 program_transform_name=$ac_optarg ;; 1208 1209 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1210 ac_prev=pdfdir ;; 1211 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1212 pdfdir=$ac_optarg ;; 1213 1214 -psdir | --psdir | --psdi | --psd | --ps) 1215 ac_prev=psdir ;; 1216 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1217 psdir=$ac_optarg ;; 1218 1219 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1220 | -silent | --silent | --silen | --sile | --sil) 1221 silent=yes ;; 1222 1223 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1224 ac_prev=sbindir ;; 1225 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1226 | --sbi=* | --sb=*) 1227 sbindir=$ac_optarg ;; 1228 1229 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1230 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1231 | --sharedst | --shareds | --shared | --share | --shar \ 1232 | --sha | --sh) 1233 ac_prev=sharedstatedir ;; 1234 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1235 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1236 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1237 | --sha=* | --sh=*) 1238 sharedstatedir=$ac_optarg ;; 1239 1240 -site | --site | --sit) 1241 ac_prev=site ;; 1242 -site=* | --site=* | --sit=*) 1243 site=$ac_optarg ;; 1244 1245 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1246 ac_prev=srcdir ;; 1247 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1248 srcdir=$ac_optarg ;; 1249 1250 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1251 | --syscon | --sysco | --sysc | --sys | --sy) 1252 ac_prev=sysconfdir ;; 1253 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1254 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1255 sysconfdir=$ac_optarg ;; 1256 1257 -target | --target | --targe | --targ | --tar | --ta | --t) 1258 ac_prev=target_alias ;; 1259 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1260 target_alias=$ac_optarg ;; 1261 1262 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1263 verbose=yes ;; 1264 1265 -version | --version | --versio | --versi | --vers | -V) 1266 ac_init_version=: ;; 1267 1268 -with-* | --with-*) 1269 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1270 # Reject names that are not valid shell variable names. 1271 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1272 as_fn_error "invalid package name: $ac_useropt" 1273 ac_useropt_orig=$ac_useropt 1274 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1275 case $ac_user_opts in 1276 *" 1277"with_$ac_useropt" 1278"*) ;; 1279 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1280 ac_unrecognized_sep=', ';; 1281 esac 1282 eval with_$ac_useropt=\$ac_optarg ;; 1283 1284 -without-* | --without-*) 1285 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1286 # Reject names that are not valid shell variable names. 1287 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1288 as_fn_error "invalid package name: $ac_useropt" 1289 ac_useropt_orig=$ac_useropt 1290 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1291 case $ac_user_opts in 1292 *" 1293"with_$ac_useropt" 1294"*) ;; 1295 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1296 ac_unrecognized_sep=', ';; 1297 esac 1298 eval with_$ac_useropt=no ;; 1299 1300 --x) 1301 # Obsolete; use --with-x. 1302 with_x=yes ;; 1303 1304 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1305 | --x-incl | --x-inc | --x-in | --x-i) 1306 ac_prev=x_includes ;; 1307 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1308 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1309 x_includes=$ac_optarg ;; 1310 1311 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1312 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1313 ac_prev=x_libraries ;; 1314 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1315 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1316 x_libraries=$ac_optarg ;; 1317 1318 -*) as_fn_error "unrecognized option: \`$ac_option' 1319Try \`$0 --help' for more information." 1320 ;; 1321 1322 *=*) 1323 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1324 # Reject names that are not valid shell variable names. 1325 case $ac_envvar in #( 1326 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1327 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1328 esac 1329 eval $ac_envvar=\$ac_optarg 1330 export $ac_envvar ;; 1331 1332 *) 1333 # FIXME: should be removed in autoconf 3.0. 1334 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1335 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1336 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1337 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1338 ;; 1339 1340 esac 1341done 1342 1343if test -n "$ac_prev"; then 1344 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1345 as_fn_error "missing argument to $ac_option" 1346fi 1347 1348if test -n "$ac_unrecognized_opts"; then 1349 case $enable_option_checking in 1350 no) ;; 1351 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1352 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1353 esac 1354fi 1355 1356# Check all directory arguments for consistency. 1357for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1358 datadir sysconfdir sharedstatedir localstatedir includedir \ 1359 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1360 libdir localedir mandir 1361do 1362 eval ac_val=\$$ac_var 1363 # Remove trailing slashes. 1364 case $ac_val in 1365 */ ) 1366 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1367 eval $ac_var=\$ac_val;; 1368 esac 1369 # Be sure to have absolute directory names. 1370 case $ac_val in 1371 [\\/$]* | ?:[\\/]* ) continue;; 1372 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1373 esac 1374 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1375done 1376 1377# There might be people who depend on the old broken behavior: `$host' 1378# used to hold the argument of --host etc. 1379# FIXME: To remove some day. 1380build=$build_alias 1381host=$host_alias 1382target=$target_alias 1383 1384# FIXME: To remove some day. 1385if test "x$host_alias" != x; then 1386 if test "x$build_alias" = x; then 1387 cross_compiling=maybe 1388 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1389 If a cross compiler is detected then cross compile mode will be used." >&2 1390 elif test "x$build_alias" != "x$host_alias"; then 1391 cross_compiling=yes 1392 fi 1393fi 1394 1395ac_tool_prefix= 1396test -n "$host_alias" && ac_tool_prefix=$host_alias- 1397 1398test "$silent" = yes && exec 6>/dev/null 1399 1400 1401ac_pwd=`pwd` && test -n "$ac_pwd" && 1402ac_ls_di=`ls -di .` && 1403ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1404 as_fn_error "working directory cannot be determined" 1405test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1406 as_fn_error "pwd does not report name of working directory" 1407 1408 1409# Find the source files, if location was not specified. 1410if test -z "$srcdir"; then 1411 ac_srcdir_defaulted=yes 1412 # Try the directory containing this script, then the parent directory. 1413 ac_confdir=`$as_dirname -- "$as_myself" || 1414$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1415 X"$as_myself" : 'X\(//\)[^/]' \| \ 1416 X"$as_myself" : 'X\(//\)$' \| \ 1417 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1418$as_echo X"$as_myself" | 1419 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1420 s//\1/ 1421 q 1422 } 1423 /^X\(\/\/\)[^/].*/{ 1424 s//\1/ 1425 q 1426 } 1427 /^X\(\/\/\)$/{ 1428 s//\1/ 1429 q 1430 } 1431 /^X\(\/\).*/{ 1432 s//\1/ 1433 q 1434 } 1435 s/.*/./; q'` 1436 srcdir=$ac_confdir 1437 if test ! -r "$srcdir/$ac_unique_file"; then 1438 srcdir=.. 1439 fi 1440else 1441 ac_srcdir_defaulted=no 1442fi 1443if test ! -r "$srcdir/$ac_unique_file"; then 1444 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1445 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1446fi 1447ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1448ac_abs_confdir=`( 1449 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1450 pwd)` 1451# When building in place, set srcdir=. 1452if test "$ac_abs_confdir" = "$ac_pwd"; then 1453 srcdir=. 1454fi 1455# Remove unnecessary trailing slashes from srcdir. 1456# Double slashes in file names in object file debugging info 1457# mess up M-x gdb in Emacs. 1458case $srcdir in 1459*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1460esac 1461for ac_var in $ac_precious_vars; do 1462 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1463 eval ac_env_${ac_var}_value=\$${ac_var} 1464 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1465 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1466done 1467 1468# 1469# Report the --help message. 1470# 1471if test "$ac_init_help" = "long"; then 1472 # Omit some internal or obsolete options to make the list less imposing. 1473 # This message is too long to be a string in the A/UX 3.1 sh. 1474 cat <<_ACEOF 1475\`configure' configures pylgtksourceview 2.10.1 to adapt to many kinds of systems. 1476 1477Usage: $0 [OPTION]... [VAR=VALUE]... 1478 1479To assign environment variables (e.g., CC, CFLAGS...), specify them as 1480VAR=VALUE. See below for descriptions of some of the useful variables. 1481 1482Defaults for the options are specified in brackets. 1483 1484Configuration: 1485 -h, --help display this help and exit 1486 --help=short display options specific to this package 1487 --help=recursive display the short help of all the included packages 1488 -V, --version display version information and exit 1489 -q, --quiet, --silent do not print \`checking...' messages 1490 --cache-file=FILE cache test results in FILE [disabled] 1491 -C, --config-cache alias for \`--cache-file=config.cache' 1492 -n, --no-create do not create output files 1493 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1494 1495Installation directories: 1496 --prefix=PREFIX install architecture-independent files in PREFIX 1497 [$ac_default_prefix] 1498 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1499 [PREFIX] 1500 1501By default, \`make install' will install all the files in 1502\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1503an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1504for instance \`--prefix=\$HOME'. 1505 1506For better control, use the options below. 1507 1508Fine tuning of the installation directories: 1509 --bindir=DIR user executables [EPREFIX/bin] 1510 --sbindir=DIR system admin executables [EPREFIX/sbin] 1511 --libexecdir=DIR program executables [EPREFIX/libexec] 1512 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1513 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1514 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1515 --libdir=DIR object code libraries [EPREFIX/lib] 1516 --includedir=DIR C header files [PREFIX/include] 1517 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1518 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1519 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1520 --infodir=DIR info documentation [DATAROOTDIR/info] 1521 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1522 --mandir=DIR man documentation [DATAROOTDIR/man] 1523 --docdir=DIR documentation root [DATAROOTDIR/doc/pylgtksourceview] 1524 --htmldir=DIR html documentation [DOCDIR] 1525 --dvidir=DIR dvi documentation [DOCDIR] 1526 --pdfdir=DIR pdf documentation [DOCDIR] 1527 --psdir=DIR ps documentation [DOCDIR] 1528_ACEOF 1529 1530 cat <<\_ACEOF 1531 1532Program names: 1533 --program-prefix=PREFIX prepend PREFIX to installed program names 1534 --program-suffix=SUFFIX append SUFFIX to installed program names 1535 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1536 1537System types: 1538 --build=BUILD configure for building on BUILD [guessed] 1539 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1540_ACEOF 1541fi 1542 1543if test -n "$ac_init_help"; then 1544 case $ac_init_help in 1545 short | recursive ) echo "Configuration of pylgtksourceview 2.10.1:";; 1546 esac 1547 cat <<\_ACEOF 1548 1549Optional Features: 1550 --disable-option-checking ignore unrecognized --enable/--with options 1551 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1552 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1553 --enable-static[=PKGS] build static libraries [default=no] 1554 --enable-shared[=PKGS] build shared libraries [default=yes] 1555 --enable-fast-install[=PKGS] 1556 optimize for fast installation [default=yes] 1557 --disable-dependency-tracking speeds up one-time build 1558 --enable-dependency-tracking do not reject slow dependency extractors 1559 --disable-libtool-lock avoid locking (might break parallel builds) 1560 --disable-docs Disable documentation building 1561 --enable-gtk-doc use gtk-doc to build documentation [[default=no]] 1562 --enable-gtk-doc-html build documentation in html format [[default=yes]] 1563 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]] 1564 1565Optional Packages: 1566 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1567 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1568 --with-pic try to use only PIC/non-PIC objects [default=use 1569 both] 1570 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1571 --with-html-dir=PATH path to installed docs 1572 1573Some influential environment variables: 1574 CC C compiler command 1575 CFLAGS C compiler flags 1576 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1577 nonstandard directory <lib dir> 1578 LIBS libraries to pass to the linker, e.g. -l<library> 1579 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1580 you have headers in a nonstandard directory <include dir> 1581 CPP C preprocessor 1582 PKG_CONFIG path to pkg-config utility 1583 PYGOBJECT_CFLAGS 1584 C compiler flags for PYGOBJECT, overriding pkg-config 1585 PYGOBJECT_LIBS 1586 linker flags for PYGOBJECT, overriding pkg-config 1587 PYGTKSOURCEVIEW_CFLAGS 1588 C compiler flags for PYGTKSOURCEVIEW, overriding pkg-config 1589 PYGTKSOURCEVIEW_LIBS 1590 linker flags for PYGTKSOURCEVIEW, overriding pkg-config 1591 1592Use these variables to override the choices made by `configure' or to help 1593it to find libraries and programs with nonstandard names/locations. 1594 1595Report bugs to <http://bugzilla.gnome.org/browse.cgi?product=gtksourceview/>. 1596_ACEOF 1597ac_status=$? 1598fi 1599 1600if test "$ac_init_help" = "recursive"; then 1601 # If there are subdirs, report their specific --help. 1602 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1603 test -d "$ac_dir" || 1604 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1605 continue 1606 ac_builddir=. 1607 1608case "$ac_dir" in 1609.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1610*) 1611 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1612 # A ".." for each directory in $ac_dir_suffix. 1613 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1614 case $ac_top_builddir_sub in 1615 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1616 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1617 esac ;; 1618esac 1619ac_abs_top_builddir=$ac_pwd 1620ac_abs_builddir=$ac_pwd$ac_dir_suffix 1621# for backward compatibility: 1622ac_top_builddir=$ac_top_build_prefix 1623 1624case $srcdir in 1625 .) # We are building in place. 1626 ac_srcdir=. 1627 ac_top_srcdir=$ac_top_builddir_sub 1628 ac_abs_top_srcdir=$ac_pwd ;; 1629 [\\/]* | ?:[\\/]* ) # Absolute name. 1630 ac_srcdir=$srcdir$ac_dir_suffix; 1631 ac_top_srcdir=$srcdir 1632 ac_abs_top_srcdir=$srcdir ;; 1633 *) # Relative name. 1634 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1635 ac_top_srcdir=$ac_top_build_prefix$srcdir 1636 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1637esac 1638ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1639 1640 cd "$ac_dir" || { ac_status=$?; continue; } 1641 # Check for guested configure. 1642 if test -f "$ac_srcdir/configure.gnu"; then 1643 echo && 1644 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1645 elif test -f "$ac_srcdir/configure"; then 1646 echo && 1647 $SHELL "$ac_srcdir/configure" --help=recursive 1648 else 1649 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1650 fi || ac_status=$? 1651 cd "$ac_pwd" || { ac_status=$?; break; } 1652 done 1653fi 1654 1655test -n "$ac_init_help" && exit $ac_status 1656if $ac_init_version; then 1657 cat <<\_ACEOF 1658pylgtksourceview configure 2.10.1 1659generated by GNU Autoconf 2.65 1660 1661Copyright (C) 2009 Free Software Foundation, Inc. 1662This configure script is free software; the Free Software Foundation 1663gives unlimited permission to copy, distribute and modify it. 1664_ACEOF 1665 exit 1666fi 1667 1668## ------------------------ ## 1669## Autoconf initialization. ## 1670## ------------------------ ## 1671 1672# ac_fn_c_try_compile LINENO 1673# -------------------------- 1674# Try to compile conftest.$ac_ext, and return whether this succeeded. 1675ac_fn_c_try_compile () 1676{ 1677 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1678 rm -f conftest.$ac_objext 1679 if { { ac_try="$ac_compile" 1680case "(($ac_try" in 1681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1682 *) ac_try_echo=$ac_try;; 1683esac 1684eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1685$as_echo "$ac_try_echo"; } >&5 1686 (eval "$ac_compile") 2>conftest.err 1687 ac_status=$? 1688 if test -s conftest.err; then 1689 grep -v '^ *+' conftest.err >conftest.er1 1690 cat conftest.er1 >&5 1691 mv -f conftest.er1 conftest.err 1692 fi 1693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1694 test $ac_status = 0; } && { 1695 test -z "$ac_c_werror_flag" || 1696 test ! -s conftest.err 1697 } && test -s conftest.$ac_objext; then : 1698 ac_retval=0 1699else 1700 $as_echo "$as_me: failed program was:" >&5 1701sed 's/^/| /' conftest.$ac_ext >&5 1702 1703 ac_retval=1 1704fi 1705 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1706 as_fn_set_status $ac_retval 1707 1708} # ac_fn_c_try_compile 1709 1710# ac_fn_c_try_link LINENO 1711# ----------------------- 1712# Try to link conftest.$ac_ext, and return whether this succeeded. 1713ac_fn_c_try_link () 1714{ 1715 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1716 rm -f conftest.$ac_objext conftest$ac_exeext 1717 if { { ac_try="$ac_link" 1718case "(($ac_try" in 1719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1720 *) ac_try_echo=$ac_try;; 1721esac 1722eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1723$as_echo "$ac_try_echo"; } >&5 1724 (eval "$ac_link") 2>conftest.err 1725 ac_status=$? 1726 if test -s conftest.err; then 1727 grep -v '^ *+' conftest.err >conftest.er1 1728 cat conftest.er1 >&5 1729 mv -f conftest.er1 conftest.err 1730 fi 1731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1732 test $ac_status = 0; } && { 1733 test -z "$ac_c_werror_flag" || 1734 test ! -s conftest.err 1735 } && test -s conftest$ac_exeext && { 1736 test "$cross_compiling" = yes || 1737 $as_test_x conftest$ac_exeext 1738 }; then : 1739 ac_retval=0 1740else 1741 $as_echo "$as_me: failed program was:" >&5 1742sed 's/^/| /' conftest.$ac_ext >&5 1743 1744 ac_retval=1 1745fi 1746 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1747 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1748 # interfere with the next link command; also delete a directory that is 1749 # left behind by Apple's compiler. We do this before executing the actions. 1750 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1751 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1752 as_fn_set_status $ac_retval 1753 1754} # ac_fn_c_try_link 1755 1756# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1757# ------------------------------------------------------- 1758# Tests whether HEADER exists and can be compiled using the include files in 1759# INCLUDES, setting the cache variable VAR accordingly. 1760ac_fn_c_check_header_compile () 1761{ 1762 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1764$as_echo_n "checking for $2... " >&6; } 1765if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1766 $as_echo_n "(cached) " >&6 1767else 1768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1769/* end confdefs.h. */ 1770$4 1771#include <$2> 1772_ACEOF 1773if ac_fn_c_try_compile "$LINENO"; then : 1774 eval "$3=yes" 1775else 1776 eval "$3=no" 1777fi 1778rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1779fi 1780eval ac_res=\$$3 1781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1782$as_echo "$ac_res" >&6; } 1783 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1784 1785} # ac_fn_c_check_header_compile 1786 1787# ac_fn_c_try_cpp LINENO 1788# ---------------------- 1789# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1790ac_fn_c_try_cpp () 1791{ 1792 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1793 if { { ac_try="$ac_cpp conftest.$ac_ext" 1794case "(($ac_try" in 1795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1796 *) ac_try_echo=$ac_try;; 1797esac 1798eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1799$as_echo "$ac_try_echo"; } >&5 1800 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1801 ac_status=$? 1802 if test -s conftest.err; then 1803 grep -v '^ *+' conftest.err >conftest.er1 1804 cat conftest.er1 >&5 1805 mv -f conftest.er1 conftest.err 1806 fi 1807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1808 test $ac_status = 0; } >/dev/null && { 1809 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1810 test ! -s conftest.err 1811 }; then : 1812 ac_retval=0 1813else 1814 $as_echo "$as_me: failed program was:" >&5 1815sed 's/^/| /' conftest.$ac_ext >&5 1816 1817 ac_retval=1 1818fi 1819 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1820 as_fn_set_status $ac_retval 1821 1822} # ac_fn_c_try_cpp 1823 1824# ac_fn_c_try_run LINENO 1825# ---------------------- 1826# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1827# that executables *can* be run. 1828ac_fn_c_try_run () 1829{ 1830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1831 if { { ac_try="$ac_link" 1832case "(($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_link") 2>&5 1839 ac_status=$? 1840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1841 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1842 { { case "(($ac_try" in 1843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1844 *) ac_try_echo=$ac_try;; 1845esac 1846eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1847$as_echo "$ac_try_echo"; } >&5 1848 (eval "$ac_try") 2>&5 1849 ac_status=$? 1850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1851 test $ac_status = 0; }; }; then : 1852 ac_retval=0 1853else 1854 $as_echo "$as_me: program exited with status $ac_status" >&5 1855 $as_echo "$as_me: failed program was:" >&5 1856sed 's/^/| /' conftest.$ac_ext >&5 1857 1858 ac_retval=$ac_status 1859fi 1860 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1861 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1862 as_fn_set_status $ac_retval 1863 1864} # ac_fn_c_try_run 1865 1866# ac_fn_c_check_func LINENO FUNC VAR 1867# ---------------------------------- 1868# Tests whether FUNC exists, setting the cache variable VAR accordingly 1869ac_fn_c_check_func () 1870{ 1871 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1873$as_echo_n "checking for $2... " >&6; } 1874if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1875 $as_echo_n "(cached) " >&6 1876else 1877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1878/* end confdefs.h. */ 1879/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1880 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1881#define $2 innocuous_$2 1882 1883/* System header to define __stub macros and hopefully few prototypes, 1884 which can conflict with char $2 (); below. 1885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1886 <limits.h> exists even on freestanding compilers. */ 1887 1888#ifdef __STDC__ 1889# include <limits.h> 1890#else 1891# include <assert.h> 1892#endif 1893 1894#undef $2 1895 1896/* Override any GCC internal prototype to avoid an error. 1897 Use char because int might match the return type of a GCC 1898 builtin and then its argument prototype would still apply. */ 1899#ifdef __cplusplus 1900extern "C" 1901#endif 1902char $2 (); 1903/* The GNU C library defines this for functions which it implements 1904 to always fail with ENOSYS. Some functions are actually named 1905 something starting with __ and the normal name is an alias. */ 1906#if defined __stub_$2 || defined __stub___$2 1907choke me 1908#endif 1909 1910int 1911main () 1912{ 1913return $2 (); 1914 ; 1915 return 0; 1916} 1917_ACEOF 1918if ac_fn_c_try_link "$LINENO"; then : 1919 eval "$3=yes" 1920else 1921 eval "$3=no" 1922fi 1923rm -f core conftest.err conftest.$ac_objext \ 1924 conftest$ac_exeext conftest.$ac_ext 1925fi 1926eval ac_res=\$$3 1927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1928$as_echo "$ac_res" >&6; } 1929 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1930 1931} # ac_fn_c_check_func 1932cat >config.log <<_ACEOF 1933This file contains any messages produced by compilers while 1934running configure, to aid debugging if configure makes a mistake. 1935 1936It was created by pylgtksourceview $as_me 2.10.1, which was 1937generated by GNU Autoconf 2.65. Invocation command line was 1938 1939 $ $0 $@ 1940 1941_ACEOF 1942exec 5>>config.log 1943{ 1944cat <<_ASUNAME 1945## --------- ## 1946## Platform. ## 1947## --------- ## 1948 1949hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1950uname -m = `(uname -m) 2>/dev/null || echo unknown` 1951uname -r = `(uname -r) 2>/dev/null || echo unknown` 1952uname -s = `(uname -s) 2>/dev/null || echo unknown` 1953uname -v = `(uname -v) 2>/dev/null || echo unknown` 1954 1955/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1956/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1957 1958/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1959/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1960/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1961/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1962/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1963/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1964/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1965 1966_ASUNAME 1967 1968as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1969for as_dir in $PATH 1970do 1971 IFS=$as_save_IFS 1972 test -z "$as_dir" && as_dir=. 1973 $as_echo "PATH: $as_dir" 1974 done 1975IFS=$as_save_IFS 1976 1977} >&5 1978 1979cat >&5 <<_ACEOF 1980 1981 1982## ----------- ## 1983## Core tests. ## 1984## ----------- ## 1985 1986_ACEOF 1987 1988 1989# Keep a trace of the command line. 1990# Strip out --no-create and --no-recursion so they do not pile up. 1991# Strip out --silent because we don't want to record it for future runs. 1992# Also quote any args containing shell meta-characters. 1993# Make two passes to allow for proper duplicate-argument suppression. 1994ac_configure_args= 1995ac_configure_args0= 1996ac_configure_args1= 1997ac_must_keep_next=false 1998for ac_pass in 1 2 1999do 2000 for ac_arg 2001 do 2002 case $ac_arg in 2003 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2004 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2005 | -silent | --silent | --silen | --sile | --sil) 2006 continue ;; 2007 *\'*) 2008 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2009 esac 2010 case $ac_pass in 2011 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2012 2) 2013 as_fn_append ac_configure_args1 " '$ac_arg'" 2014 if test $ac_must_keep_next = true; then 2015 ac_must_keep_next=false # Got value, back to normal. 2016 else 2017 case $ac_arg in 2018 *=* | --config-cache | -C | -disable-* | --disable-* \ 2019 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2020 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2021 | -with-* | --with-* | -without-* | --without-* | --x) 2022 case "$ac_configure_args0 " in 2023 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2024 esac 2025 ;; 2026 -* ) ac_must_keep_next=true ;; 2027 esac 2028 fi 2029 as_fn_append ac_configure_args " '$ac_arg'" 2030 ;; 2031 esac 2032 done 2033done 2034{ ac_configure_args0=; unset ac_configure_args0;} 2035{ ac_configure_args1=; unset ac_configure_args1;} 2036 2037# When interrupted or exit'd, cleanup temporary files, and complete 2038# config.log. We remove comments because anyway the quotes in there 2039# would cause problems or look ugly. 2040# WARNING: Use '\'' to represent an apostrophe within the trap. 2041# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2042trap 'exit_status=$? 2043 # Save into config.log some information that might help in debugging. 2044 { 2045 echo 2046 2047 cat <<\_ASBOX 2048## ---------------- ## 2049## Cache variables. ## 2050## ---------------- ## 2051_ASBOX 2052 echo 2053 # The following way of writing the cache mishandles newlines in values, 2054( 2055 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2056 eval ac_val=\$$ac_var 2057 case $ac_val in #( 2058 *${as_nl}*) 2059 case $ac_var in #( 2060 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2061$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2062 esac 2063 case $ac_var in #( 2064 _ | IFS | as_nl) ;; #( 2065 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2066 *) { eval $ac_var=; unset $ac_var;} ;; 2067 esac ;; 2068 esac 2069 done 2070 (set) 2>&1 | 2071 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2072 *${as_nl}ac_space=\ *) 2073 sed -n \ 2074 "s/'\''/'\''\\\\'\'''\''/g; 2075 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2076 ;; #( 2077 *) 2078 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2079 ;; 2080 esac | 2081 sort 2082) 2083 echo 2084 2085 cat <<\_ASBOX 2086## ----------------- ## 2087## Output variables. ## 2088## ----------------- ## 2089_ASBOX 2090 echo 2091 for ac_var in $ac_subst_vars 2092 do 2093 eval ac_val=\$$ac_var 2094 case $ac_val in 2095 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2096 esac 2097 $as_echo "$ac_var='\''$ac_val'\''" 2098 done | sort 2099 echo 2100 2101 if test -n "$ac_subst_files"; then 2102 cat <<\_ASBOX 2103## ------------------- ## 2104## File substitutions. ## 2105## ------------------- ## 2106_ASBOX 2107 echo 2108 for ac_var in $ac_subst_files 2109 do 2110 eval ac_val=\$$ac_var 2111 case $ac_val in 2112 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2113 esac 2114 $as_echo "$ac_var='\''$ac_val'\''" 2115 done | sort 2116 echo 2117 fi 2118 2119 if test -s confdefs.h; then 2120 cat <<\_ASBOX 2121## ----------- ## 2122## confdefs.h. ## 2123## ----------- ## 2124_ASBOX 2125 echo 2126 cat confdefs.h 2127 echo 2128 fi 2129 test "$ac_signal" != 0 && 2130 $as_echo "$as_me: caught signal $ac_signal" 2131 $as_echo "$as_me: exit $exit_status" 2132 } >&5 2133 rm -f core *.core core.conftest.* && 2134 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2135 exit $exit_status 2136' 0 2137for ac_signal in 1 2 13 15; do 2138 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2139done 2140ac_signal=0 2141 2142# confdefs.h avoids OS command line length limits that DEFS can exceed. 2143rm -f -r conftest* confdefs.h 2144 2145$as_echo "/* confdefs.h */" > confdefs.h 2146 2147# Predefined preprocessor variables. 2148 2149cat >>confdefs.h <<_ACEOF 2150#define PACKAGE_NAME "$PACKAGE_NAME" 2151_ACEOF 2152 2153cat >>confdefs.h <<_ACEOF 2154#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2155_ACEOF 2156 2157cat >>confdefs.h <<_ACEOF 2158#define PACKAGE_VERSION "$PACKAGE_VERSION" 2159_ACEOF 2160 2161cat >>confdefs.h <<_ACEOF 2162#define PACKAGE_STRING "$PACKAGE_STRING" 2163_ACEOF 2164 2165cat >>confdefs.h <<_ACEOF 2166#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2167_ACEOF 2168 2169cat >>confdefs.h <<_ACEOF 2170#define PACKAGE_URL "$PACKAGE_URL" 2171_ACEOF 2172 2173 2174# Let the site file select an alternate cache file if it wants to. 2175# Prefer an explicitly selected file to automatically selected ones. 2176ac_site_file1=NONE 2177ac_site_file2=NONE 2178if test -n "$CONFIG_SITE"; then 2179 ac_site_file1=$CONFIG_SITE 2180elif test "x$prefix" != xNONE; then 2181 ac_site_file1=$prefix/share/config.site 2182 ac_site_file2=$prefix/etc/config.site 2183else 2184 ac_site_file1=$ac_default_prefix/share/config.site 2185 ac_site_file2=$ac_default_prefix/etc/config.site 2186fi 2187for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2188do 2189 test "x$ac_site_file" = xNONE && continue 2190 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2191 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2192$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2193 sed 's/^/| /' "$ac_site_file" >&5 2194 . "$ac_site_file" 2195 fi 2196done 2197 2198if test -r "$cache_file"; then 2199 # Some versions of bash will fail to source /dev/null (special files 2200 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2201 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2202 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2203$as_echo "$as_me: loading cache $cache_file" >&6;} 2204 case $cache_file in 2205 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2206 *) . "./$cache_file";; 2207 esac 2208 fi 2209else 2210 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2211$as_echo "$as_me: creating cache $cache_file" >&6;} 2212 >$cache_file 2213fi 2214 2215# Check that the precious variables saved in the cache have kept the same 2216# value. 2217ac_cache_corrupted=false 2218for ac_var in $ac_precious_vars; do 2219 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2220 eval ac_new_set=\$ac_env_${ac_var}_set 2221 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2222 eval ac_new_val=\$ac_env_${ac_var}_value 2223 case $ac_old_set,$ac_new_set in 2224 set,) 2225 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2226$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2227 ac_cache_corrupted=: ;; 2228 ,set) 2229 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2230$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2231 ac_cache_corrupted=: ;; 2232 ,);; 2233 *) 2234 if test "x$ac_old_val" != "x$ac_new_val"; then 2235 # differences in whitespace do not lead to failure. 2236 ac_old_val_w=`echo x $ac_old_val` 2237 ac_new_val_w=`echo x $ac_new_val` 2238 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2239 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2240$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2241 ac_cache_corrupted=: 2242 else 2243 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2244$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2245 eval $ac_var=\$ac_old_val 2246 fi 2247 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2248$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2249 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2250$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2251 fi;; 2252 esac 2253 # Pass precious variables to config.status. 2254 if test "$ac_new_set" = set; then 2255 case $ac_new_val in 2256 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2257 *) ac_arg=$ac_var=$ac_new_val ;; 2258 esac 2259 case " $ac_configure_args " in 2260 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2261 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2262 esac 2263 fi 2264done 2265if $ac_cache_corrupted; then 2266 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2267$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2268 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2269$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2270 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2271fi 2272## -------------------- ## 2273## Main body of script. ## 2274## -------------------- ## 2275 2276ac_ext=c 2277ac_cpp='$CPP $CPPFLAGS' 2278ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2279ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2280ac_compiler_gnu=$ac_cv_c_compiler_gnu 2281 2282 2283 2284 2285$as_echo "#define PYGTKSOURCEVIEW_MAJOR_VERSION 2" >>confdefs.h 2286 2287 2288$as_echo "#define PYGTKSOURCEVIEW_MINOR_VERSION 10" >>confdefs.h 2289 2290 2291$as_echo "#define PYGTKSOURCEVIEW_MICRO_VERSION 1" >>confdefs.h 2292 2293 2294 2295ac_config_headers="$ac_config_headers config.h" 2296 2297 2298am__api_version='1.11' 2299 2300ac_aux_dir= 2301for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2302 for ac_t in install-sh install.sh shtool; do 2303 if test -f "$ac_dir/$ac_t"; then 2304 ac_aux_dir=$ac_dir 2305 ac_install_sh="$ac_aux_dir/$ac_t -c" 2306 break 2 2307 fi 2308 done 2309done 2310if test -z "$ac_aux_dir"; then 2311 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2312fi 2313 2314# These three variables are undocumented and unsupported, 2315# and are intended to be withdrawn in a future Autoconf release. 2316# They can cause serious problems if a builder's source tree is in a directory 2317# whose full name contains unusual characters. 2318ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2319ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2320ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2321 2322 2323# Find a good install program. We prefer a C program (faster), 2324# so one script is as good as another. But avoid the broken or 2325# incompatible versions: 2326# SysV /etc/install, /usr/sbin/install 2327# SunOS /usr/etc/install 2328# IRIX /sbin/install 2329# AIX /bin/install 2330# AmigaOS /C/install, which installs bootblocks on floppy discs 2331# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2332# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2333# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2334# OS/2's system install, which has a completely different semantic 2335# ./install, which can be erroneously created by make from ./install.sh. 2336# Reject install programs that cannot install multiple files. 2337{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2338$as_echo_n "checking for a BSD-compatible install... " >&6; } 2339if test -z "$INSTALL"; then 2340if test "${ac_cv_path_install+set}" = set; then : 2341 $as_echo_n "(cached) " >&6 2342else 2343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2344for as_dir in $PATH 2345do 2346 IFS=$as_save_IFS 2347 test -z "$as_dir" && as_dir=. 2348 # Account for people who put trailing slashes in PATH elements. 2349case $as_dir/ in #(( 2350 ./ | .// | /[cC]/* | \ 2351 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2352 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2353 /usr/ucb/* ) ;; 2354 *) 2355 # OSF1 and SCO ODT 3.0 have their own names for install. 2356 # Don't use installbsd from OSF since it installs stuff as root 2357 # by default. 2358 for ac_prog in ginstall scoinst install; do 2359 for ac_exec_ext in '' $ac_executable_extensions; do 2360 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2361 if test $ac_prog = install && 2362 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2363 # AIX install. It has an incompatible calling convention. 2364 : 2365 elif test $ac_prog = install && 2366 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2367 # program-specific install script used by HP pwplus--don't use. 2368 : 2369 else 2370 rm -rf conftest.one conftest.two conftest.dir 2371 echo one > conftest.one 2372 echo two > conftest.two 2373 mkdir conftest.dir 2374 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2375 test -s conftest.one && test -s conftest.two && 2376 test -s conftest.dir/conftest.one && 2377 test -s conftest.dir/conftest.two 2378 then 2379 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2380 break 3 2381 fi 2382 fi 2383 fi 2384 done 2385 done 2386 ;; 2387esac 2388 2389 done 2390IFS=$as_save_IFS 2391 2392rm -rf conftest.one conftest.two conftest.dir 2393 2394fi 2395 if test "${ac_cv_path_install+set}" = set; then 2396 INSTALL=$ac_cv_path_install 2397 else 2398 # As a last resort, use the slow shell script. Don't cache a 2399 # value for INSTALL within a source directory, because that will 2400 # break other packages using the cache if that directory is 2401 # removed, or if the value is a relative name. 2402 INSTALL=$ac_install_sh 2403 fi 2404fi 2405{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2406$as_echo "$INSTALL" >&6; } 2407 2408# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2409# It thinks the first close brace ends the variable substitution. 2410test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2411 2412test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2413 2414test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2415 2416{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2417$as_echo_n "checking whether build environment is sane... " >&6; } 2418# Just in case 2419sleep 1 2420echo timestamp > conftest.file 2421# Reject unsafe characters in $srcdir or the absolute working directory 2422# name. Accept space and tab only in the latter. 2423am_lf=' 2424' 2425case `pwd` in 2426 *[\\\"\#\$\&\'\`$am_lf]*) 2427 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; 2428esac 2429case $srcdir in 2430 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2431 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2432esac 2433 2434# Do `set' in a subshell so we don't clobber the current shell's 2435# arguments. Must try -L first in case configure is actually a 2436# symlink; some systems play weird games with the mod time of symlinks 2437# (eg FreeBSD returns the mod time of the symlink's containing 2438# directory). 2439if ( 2440 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2441 if test "$*" = "X"; then 2442 # -L didn't work. 2443 set X `ls -t "$srcdir/configure" conftest.file` 2444 fi 2445 rm -f conftest.file 2446 if test "$*" != "X $srcdir/configure conftest.file" \ 2447 && test "$*" != "X conftest.file $srcdir/configure"; then 2448 2449 # If neither matched, then we have a broken ls. This can happen 2450 # if, for instance, CONFIG_SHELL is bash and it inherits a 2451 # broken ls alias from the environment. This has actually 2452 # happened. Such a system could not be considered "sane". 2453 as_fn_error "ls -t appears to fail. Make sure there is not a broken 2454alias in your environment" "$LINENO" 5 2455 fi 2456 2457 test "$2" = conftest.file 2458 ) 2459then 2460 # Ok. 2461 : 2462else 2463 as_fn_error "newly created file is older than distributed files! 2464Check your system clock" "$LINENO" 5 2465fi 2466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2467$as_echo "yes" >&6; } 2468test "$program_prefix" != NONE && 2469 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2470# Use a double $ so make ignores it. 2471test "$program_suffix" != NONE && 2472 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2473# Double any \ or $. 2474# By default was `s,x,x', remove it if useless. 2475ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2476program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2477 2478# expand $ac_aux_dir to an absolute path 2479am_aux_dir=`cd $ac_aux_dir && pwd` 2480 2481if test x"${MISSING+set}" != xset; then 2482 case $am_aux_dir in 2483 *\ * | *\ *) 2484 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2485 *) 2486 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2487 esac 2488fi 2489# Use eval to expand $SHELL 2490if eval "$MISSING --run true"; then 2491 am_missing_run="$MISSING --run " 2492else 2493 am_missing_run= 2494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2495$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2496fi 2497 2498if test x"${install_sh}" != xset; then 2499 case $am_aux_dir in 2500 *\ * | *\ *) 2501 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2502 *) 2503 install_sh="\${SHELL} $am_aux_dir/install-sh" 2504 esac 2505fi 2506 2507# Installed binaries are usually stripped using `strip' when the user 2508# run `make install-strip'. However `strip' might not be the right 2509# tool to use in cross-compilation environments, therefore Automake 2510# will honor the `STRIP' environment variable to overrule this program. 2511if test "$cross_compiling" != no; then 2512 if test -n "$ac_tool_prefix"; then 2513 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2514set dummy ${ac_tool_prefix}strip; ac_word=$2 2515{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2516$as_echo_n "checking for $ac_word... " >&6; } 2517if test "${ac_cv_prog_STRIP+set}" = set; then : 2518 $as_echo_n "(cached) " >&6 2519else 2520 if test -n "$STRIP"; then 2521 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2522else 2523as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2524for as_dir in $PATH 2525do 2526 IFS=$as_save_IFS 2527 test -z "$as_dir" && as_dir=. 2528 for ac_exec_ext in '' $ac_executable_extensions; do 2529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2530 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2532 break 2 2533 fi 2534done 2535 done 2536IFS=$as_save_IFS 2537 2538fi 2539fi 2540STRIP=$ac_cv_prog_STRIP 2541if test -n "$STRIP"; then 2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2543$as_echo "$STRIP" >&6; } 2544else 2545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2546$as_echo "no" >&6; } 2547fi 2548 2549 2550fi 2551if test -z "$ac_cv_prog_STRIP"; then 2552 ac_ct_STRIP=$STRIP 2553 # Extract the first word of "strip", so it can be a program name with args. 2554set dummy strip; ac_word=$2 2555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2556$as_echo_n "checking for $ac_word... " >&6; } 2557if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 2558 $as_echo_n "(cached) " >&6 2559else 2560 if test -n "$ac_ct_STRIP"; then 2561 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2562else 2563as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2564for as_dir in $PATH 2565do 2566 IFS=$as_save_IFS 2567 test -z "$as_dir" && as_dir=. 2568 for ac_exec_ext in '' $ac_executable_extensions; do 2569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2570 ac_cv_prog_ac_ct_STRIP="strip" 2571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2572 break 2 2573 fi 2574done 2575 done 2576IFS=$as_save_IFS 2577 2578fi 2579fi 2580ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2581if test -n "$ac_ct_STRIP"; then 2582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2583$as_echo "$ac_ct_STRIP" >&6; } 2584else 2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2586$as_echo "no" >&6; } 2587fi 2588 2589 if test "x$ac_ct_STRIP" = x; then 2590 STRIP=":" 2591 else 2592 case $cross_compiling:$ac_tool_warned in 2593yes:) 2594{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2595$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2596ac_tool_warned=yes ;; 2597esac 2598 STRIP=$ac_ct_STRIP 2599 fi 2600else 2601 STRIP="$ac_cv_prog_STRIP" 2602fi 2603 2604fi 2605INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2606 2607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2608$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2609if test -z "$MKDIR_P"; then 2610 if test "${ac_cv_path_mkdir+set}" = set; then : 2611 $as_echo_n "(cached) " >&6 2612else 2613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2614for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2615do 2616 IFS=$as_save_IFS 2617 test -z "$as_dir" && as_dir=. 2618 for ac_prog in mkdir gmkdir; do 2619 for ac_exec_ext in '' $ac_executable_extensions; do 2620 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2621 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2622 'mkdir (GNU coreutils) '* | \ 2623 'mkdir (coreutils) '* | \ 2624 'mkdir (fileutils) '4.1*) 2625 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2626 break 3;; 2627 esac 2628 done 2629 done 2630 done 2631IFS=$as_save_IFS 2632 2633fi 2634 2635 test -d ./--version && rmdir ./--version 2636 if test "${ac_cv_path_mkdir+set}" = set; then 2637 MKDIR_P="$ac_cv_path_mkdir -p" 2638 else 2639 # As a last resort, use the slow shell script. Don't cache a 2640 # value for MKDIR_P within a source directory, because that will 2641 # break other packages using the cache if that directory is 2642 # removed, or if the value is a relative name. 2643 MKDIR_P="$ac_install_sh -d" 2644 fi 2645fi 2646{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2647$as_echo "$MKDIR_P" >&6; } 2648 2649mkdir_p="$MKDIR_P" 2650case $mkdir_p in 2651 [\\/$]* | ?:[\\/]*) ;; 2652 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2653esac 2654 2655for ac_prog in gawk mawk nawk awk 2656do 2657 # Extract the first word of "$ac_prog", so it can be a program name with args. 2658set dummy $ac_prog; ac_word=$2 2659{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2660$as_echo_n "checking for $ac_word... " >&6; } 2661if test "${ac_cv_prog_AWK+set}" = set; then : 2662 $as_echo_n "(cached) " >&6 2663else 2664 if test -n "$AWK"; then 2665 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2666else 2667as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2668for as_dir in $PATH 2669do 2670 IFS=$as_save_IFS 2671 test -z "$as_dir" && as_dir=. 2672 for ac_exec_ext in '' $ac_executable_extensions; do 2673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2674 ac_cv_prog_AWK="$ac_prog" 2675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2676 break 2 2677 fi 2678done 2679 done 2680IFS=$as_save_IFS 2681 2682fi 2683fi 2684AWK=$ac_cv_prog_AWK 2685if test -n "$AWK"; then 2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2687$as_echo "$AWK" >&6; } 2688else 2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2690$as_echo "no" >&6; } 2691fi 2692 2693 2694 test -n "$AWK" && break 2695done 2696 2697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2698$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2699set x ${MAKE-make} 2700ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2701if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 2702 $as_echo_n "(cached) " >&6 2703else 2704 cat >conftest.make <<\_ACEOF 2705SHELL = /bin/sh 2706all: 2707 @echo '@@@%%%=$(MAKE)=@@@%%%' 2708_ACEOF 2709# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2710case `${MAKE-make} -f conftest.make 2>/dev/null` in 2711 *@@@%%%=?*=@@@%%%*) 2712 eval ac_cv_prog_make_${ac_make}_set=yes;; 2713 *) 2714 eval ac_cv_prog_make_${ac_make}_set=no;; 2715esac 2716rm -f conftest.make 2717fi 2718if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2720$as_echo "yes" >&6; } 2721 SET_MAKE= 2722else 2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2724$as_echo "no" >&6; } 2725 SET_MAKE="MAKE=${MAKE-make}" 2726fi 2727 2728rm -rf .tst 2>/dev/null 2729mkdir .tst 2>/dev/null 2730if test -d .tst; then 2731 am__leading_dot=. 2732else 2733 am__leading_dot=_ 2734fi 2735rmdir .tst 2>/dev/null 2736 2737if test "`cd $srcdir && pwd`" != "`pwd`"; then 2738 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2739 # is not polluted with repeated "-I." 2740 am__isrc=' -I$(srcdir)' 2741 # test to see if srcdir already configured 2742 if test -f $srcdir/config.status; then 2743 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2744 fi 2745fi 2746 2747# test whether we have cygpath 2748if test -z "$CYGPATH_W"; then 2749 if (cygpath --version) >/dev/null 2>/dev/null; then 2750 CYGPATH_W='cygpath -w' 2751 else 2752 CYGPATH_W=echo 2753 fi 2754fi 2755 2756 2757# Define the identity of the package. 2758 PACKAGE=pylgtksourceview 2759 VERSION=2.10.1 2760 2761 2762cat >>confdefs.h <<_ACEOF 2763#define PACKAGE "$PACKAGE" 2764_ACEOF 2765 2766 2767cat >>confdefs.h <<_ACEOF 2768#define VERSION "$VERSION" 2769_ACEOF 2770 2771# Some tools Automake needs. 2772 2773ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2774 2775 2776AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2777 2778 2779AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2780 2781 2782AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2783 2784 2785MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2786 2787# We need awk for the "check" target. The system "awk" is bad on 2788# some platforms. 2789# Always define AMTAR for backward compatibility. 2790 2791AMTAR=${AMTAR-"${am_missing_run}tar"} 2792 2793am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2794 2795 2796 2797 2798 2799 2800ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS" 2801 2802# Make sure we can run config.sub. 2803$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2804 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2805 2806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2807$as_echo_n "checking build system type... " >&6; } 2808if test "${ac_cv_build+set}" = set; then : 2809 $as_echo_n "(cached) " >&6 2810else 2811 ac_build_alias=$build_alias 2812test "x$ac_build_alias" = x && 2813 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2814test "x$ac_build_alias" = x && 2815 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 2816ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2817 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2818 2819fi 2820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2821$as_echo "$ac_cv_build" >&6; } 2822case $ac_cv_build in 2823*-*-*) ;; 2824*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 2825esac 2826build=$ac_cv_build 2827ac_save_IFS=$IFS; IFS='-' 2828set x $ac_cv_build 2829shift 2830build_cpu=$1 2831build_vendor=$2 2832shift; shift 2833# Remember, the first character of IFS is used to create $*, 2834# except with old shells: 2835build_os=$* 2836IFS=$ac_save_IFS 2837case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2838 2839 2840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2841$as_echo_n "checking host system type... " >&6; } 2842if test "${ac_cv_host+set}" = set; then : 2843 $as_echo_n "(cached) " >&6 2844else 2845 if test "x$host_alias" = x; then 2846 ac_cv_host=$ac_cv_build 2847else 2848 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2849 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2850fi 2851 2852fi 2853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2854$as_echo "$ac_cv_host" >&6; } 2855case $ac_cv_host in 2856*-*-*) ;; 2857*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 2858esac 2859host=$ac_cv_host 2860ac_save_IFS=$IFS; IFS='-' 2861set x $ac_cv_host 2862shift 2863host_cpu=$1 2864host_vendor=$2 2865shift; shift 2866# Remember, the first character of IFS is used to create $*, 2867# except with old shells: 2868host_os=$* 2869IFS=$ac_save_IFS 2870case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2871 2872 2873{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for some Win32 platform" >&5 2874$as_echo_n "checking for some Win32 platform... " >&6; } 2875case "$host" in 2876 *-*-mingw*|*-*-cygwin*) 2877 platform_win32=yes 2878 ;; 2879 *) 2880 platform_win32=no 2881 ;; 2882esac 2883{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $platform_win32" >&5 2884$as_echo "$platform_win32" >&6; } 2885 if test "$platform_win32" = "yes"; then 2886 PLATFORM_WIN32_TRUE= 2887 PLATFORM_WIN32_FALSE='#' 2888else 2889 PLATFORM_WIN32_TRUE='#' 2890 PLATFORM_WIN32_FALSE= 2891fi 2892 2893 2894{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5 2895$as_echo_n "checking for native Win32... " >&6; } 2896case "$host" in 2897 *-*-mingw*) 2898 os_win32=yes 2899 ;; 2900 *) 2901 os_win32=no 2902 ;; 2903esac 2904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5 2905$as_echo "$os_win32" >&6; } 2906 if test "$os_win32" = "yes"; then 2907 OS_WIN32_TRUE= 2908 OS_WIN32_FALSE='#' 2909else 2910 OS_WIN32_TRUE='#' 2911 OS_WIN32_FALSE= 2912fi 2913 2914 2915# Check whether --enable-static was given. 2916if test "${enable_static+set}" = set; then : 2917 enableval=$enable_static; p=${PACKAGE-default} 2918 case $enableval in 2919 yes) enable_static=yes ;; 2920 no) enable_static=no ;; 2921 *) 2922 enable_static=no 2923 # Look at the argument we got. We use all the common list separators. 2924 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 2925 for pkg in $enableval; do 2926 IFS="$lt_save_ifs" 2927 if test "X$pkg" = "X$p"; then 2928 enable_static=yes 2929 fi 2930 done 2931 IFS="$lt_save_ifs" 2932 ;; 2933 esac 2934else 2935 enable_static=no 2936fi 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946enable_win32_dll=yes 2947 2948case $host in 2949*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*) 2950 if test -n "$ac_tool_prefix"; then 2951 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 2952set dummy ${ac_tool_prefix}as; ac_word=$2 2953{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2954$as_echo_n "checking for $ac_word... " >&6; } 2955if test "${ac_cv_prog_AS+set}" = set; then : 2956 $as_echo_n "(cached) " >&6 2957else 2958 if test -n "$AS"; then 2959 ac_cv_prog_AS="$AS" # Let the user override the test. 2960else 2961as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2962for as_dir in $PATH 2963do 2964 IFS=$as_save_IFS 2965 test -z "$as_dir" && as_dir=. 2966 for ac_exec_ext in '' $ac_executable_extensions; do 2967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2968 ac_cv_prog_AS="${ac_tool_prefix}as" 2969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2970 break 2 2971 fi 2972done 2973 done 2974IFS=$as_save_IFS 2975 2976fi 2977fi 2978AS=$ac_cv_prog_AS 2979if test -n "$AS"; then 2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 2981$as_echo "$AS" >&6; } 2982else 2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2984$as_echo "no" >&6; } 2985fi 2986 2987 2988fi 2989if test -z "$ac_cv_prog_AS"; then 2990 ac_ct_AS=$AS 2991 # Extract the first word of "as", so it can be a program name with args. 2992set dummy as; 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_ac_ct_AS+set}" = set; then : 2996 $as_echo_n "(cached) " >&6 2997else 2998 if test -n "$ac_ct_AS"; then 2999 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # 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_ac_ct_AS="as" 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 3018ac_ct_AS=$ac_cv_prog_ac_ct_AS 3019if test -n "$ac_ct_AS"; then 3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 3021$as_echo "$ac_ct_AS" >&6; } 3022else 3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3024$as_echo "no" >&6; } 3025fi 3026 3027 if test "x$ac_ct_AS" = x; then 3028 AS="false" 3029 else 3030 case $cross_compiling:$ac_tool_warned in 3031yes:) 3032{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3033$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3034ac_tool_warned=yes ;; 3035esac 3036 AS=$ac_ct_AS 3037 fi 3038else 3039 AS="$ac_cv_prog_AS" 3040fi 3041 3042 if test -n "$ac_tool_prefix"; then 3043 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 3044set dummy ${ac_tool_prefix}dlltool; ac_word=$2 3045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3046$as_echo_n "checking for $ac_word... " >&6; } 3047if test "${ac_cv_prog_DLLTOOL+set}" = set; then : 3048 $as_echo_n "(cached) " >&6 3049else 3050 if test -n "$DLLTOOL"; then 3051 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 3052else 3053as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3054for as_dir in $PATH 3055do 3056 IFS=$as_save_IFS 3057 test -z "$as_dir" && as_dir=. 3058 for ac_exec_ext in '' $ac_executable_extensions; do 3059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3060 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 3061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3062 break 2 3063 fi 3064done 3065 done 3066IFS=$as_save_IFS 3067 3068fi 3069fi 3070DLLTOOL=$ac_cv_prog_DLLTOOL 3071if test -n "$DLLTOOL"; then 3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 3073$as_echo "$DLLTOOL" >&6; } 3074else 3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3076$as_echo "no" >&6; } 3077fi 3078 3079 3080fi 3081if test -z "$ac_cv_prog_DLLTOOL"; then 3082 ac_ct_DLLTOOL=$DLLTOOL 3083 # Extract the first word of "dlltool", so it can be a program name with args. 3084set dummy dlltool; ac_word=$2 3085{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3086$as_echo_n "checking for $ac_word... " >&6; } 3087if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then : 3088 $as_echo_n "(cached) " >&6 3089else 3090 if test -n "$ac_ct_DLLTOOL"; then 3091 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 3092else 3093as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3094for as_dir in $PATH 3095do 3096 IFS=$as_save_IFS 3097 test -z "$as_dir" && as_dir=. 3098 for ac_exec_ext in '' $ac_executable_extensions; do 3099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3100 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 3101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3102 break 2 3103 fi 3104done 3105 done 3106IFS=$as_save_IFS 3107 3108fi 3109fi 3110ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 3111if test -n "$ac_ct_DLLTOOL"; then 3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 3113$as_echo "$ac_ct_DLLTOOL" >&6; } 3114else 3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3116$as_echo "no" >&6; } 3117fi 3118 3119 if test "x$ac_ct_DLLTOOL" = x; then 3120 DLLTOOL="false" 3121 else 3122 case $cross_compiling:$ac_tool_warned in 3123yes:) 3124{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3125$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3126ac_tool_warned=yes ;; 3127esac 3128 DLLTOOL=$ac_ct_DLLTOOL 3129 fi 3130else 3131 DLLTOOL="$ac_cv_prog_DLLTOOL" 3132fi 3133 3134 if test -n "$ac_tool_prefix"; then 3135 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 3136set dummy ${ac_tool_prefix}objdump; ac_word=$2 3137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3138$as_echo_n "checking for $ac_word... " >&6; } 3139if test "${ac_cv_prog_OBJDUMP+set}" = set; then : 3140 $as_echo_n "(cached) " >&6 3141else 3142 if test -n "$OBJDUMP"; then 3143 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 3144else 3145as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3146for as_dir in $PATH 3147do 3148 IFS=$as_save_IFS 3149 test -z "$as_dir" && as_dir=. 3150 for ac_exec_ext in '' $ac_executable_extensions; do 3151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3152 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 3153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3154 break 2 3155 fi 3156done 3157 done 3158IFS=$as_save_IFS 3159 3160fi 3161fi 3162OBJDUMP=$ac_cv_prog_OBJDUMP 3163if test -n "$OBJDUMP"; then 3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 3165$as_echo "$OBJDUMP" >&6; } 3166else 3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3168$as_echo "no" >&6; } 3169fi 3170 3171 3172fi 3173if test -z "$ac_cv_prog_OBJDUMP"; then 3174 ac_ct_OBJDUMP=$OBJDUMP 3175 # Extract the first word of "objdump", so it can be a program name with args. 3176set dummy objdump; ac_word=$2 3177{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3178$as_echo_n "checking for $ac_word... " >&6; } 3179if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : 3180 $as_echo_n "(cached) " >&6 3181else 3182 if test -n "$ac_ct_OBJDUMP"; then 3183 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 3184else 3185as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3186for as_dir in $PATH 3187do 3188 IFS=$as_save_IFS 3189 test -z "$as_dir" && as_dir=. 3190 for ac_exec_ext in '' $ac_executable_extensions; do 3191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3192 ac_cv_prog_ac_ct_OBJDUMP="objdump" 3193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3194 break 2 3195 fi 3196done 3197 done 3198IFS=$as_save_IFS 3199 3200fi 3201fi 3202ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 3203if test -n "$ac_ct_OBJDUMP"; then 3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 3205$as_echo "$ac_ct_OBJDUMP" >&6; } 3206else 3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3208$as_echo "no" >&6; } 3209fi 3210 3211 if test "x$ac_ct_OBJDUMP" = x; then 3212 OBJDUMP="false" 3213 else 3214 case $cross_compiling:$ac_tool_warned in 3215yes:) 3216{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3217$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3218ac_tool_warned=yes ;; 3219esac 3220 OBJDUMP=$ac_ct_OBJDUMP 3221 fi 3222else 3223 OBJDUMP="$ac_cv_prog_OBJDUMP" 3224fi 3225 3226 ;; 3227esac 3228 3229test -z "$AS" && AS=as 3230 3231 3232 3233 3234 3235test -z "$DLLTOOL" && DLLTOOL=dlltool 3236 3237 3238 3239 3240 3241test -z "$OBJDUMP" && OBJDUMP=objdump 3242 3243 3244 3245 3246 3247 3248 3249case `pwd` in 3250 *\ * | *\ *) 3251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 3252$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 3253esac 3254 3255 3256 3257macro_version='2.2.6b' 3258macro_revision='1.3017' 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272ltmain="$ac_aux_dir/ltmain.sh" 3273 3274DEPDIR="${am__leading_dot}deps" 3275 3276ac_config_commands="$ac_config_commands depfiles" 3277 3278 3279am_make=${MAKE-make} 3280cat > confinc << 'END' 3281am__doit: 3282 @echo this is the am__doit target 3283.PHONY: am__doit 3284END 3285# If we don't find an include directive, just comment out the code. 3286{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3287$as_echo_n "checking for style of include used by $am_make... " >&6; } 3288am__include="#" 3289am__quote= 3290_am_result=none 3291# First try GNU make style include. 3292echo "include confinc" > confmf 3293# Ignore all kinds of additional output from `make'. 3294case `$am_make -s -f confmf 2> /dev/null` in #( 3295*the\ am__doit\ target*) 3296 am__include=include 3297 am__quote= 3298 _am_result=GNU 3299 ;; 3300esac 3301# Now try BSD make style include. 3302if test "$am__include" = "#"; then 3303 echo '.include "confinc"' > confmf 3304 case `$am_make -s -f confmf 2> /dev/null` in #( 3305 *the\ am__doit\ target*) 3306 am__include=.include 3307 am__quote="\"" 3308 _am_result=BSD 3309 ;; 3310 esac 3311fi 3312 3313 3314{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3315$as_echo "$_am_result" >&6; } 3316rm -f confinc confmf 3317 3318# Check whether --enable-dependency-tracking was given. 3319if test "${enable_dependency_tracking+set}" = set; then : 3320 enableval=$enable_dependency_tracking; 3321fi 3322 3323if test "x$enable_dependency_tracking" != xno; then 3324 am_depcomp="$ac_aux_dir/depcomp" 3325 AMDEPBACKSLASH='\' 3326fi 3327 if test "x$enable_dependency_tracking" != xno; then 3328 AMDEP_TRUE= 3329 AMDEP_FALSE='#' 3330else 3331 AMDEP_TRUE='#' 3332 AMDEP_FALSE= 3333fi 3334 3335 3336ac_ext=c 3337ac_cpp='$CPP $CPPFLAGS' 3338ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3339ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3340ac_compiler_gnu=$ac_cv_c_compiler_gnu 3341if test -n "$ac_tool_prefix"; then 3342 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3343set dummy ${ac_tool_prefix}gcc; ac_word=$2 3344{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3345$as_echo_n "checking for $ac_word... " >&6; } 3346if test "${ac_cv_prog_CC+set}" = set; then : 3347 $as_echo_n "(cached) " >&6 3348else 3349 if test -n "$CC"; then 3350 ac_cv_prog_CC="$CC" # Let the user override the test. 3351else 3352as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3353for as_dir in $PATH 3354do 3355 IFS=$as_save_IFS 3356 test -z "$as_dir" && as_dir=. 3357 for ac_exec_ext in '' $ac_executable_extensions; do 3358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3359 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3361 break 2 3362 fi 3363done 3364 done 3365IFS=$as_save_IFS 3366 3367fi 3368fi 3369CC=$ac_cv_prog_CC 3370if test -n "$CC"; then 3371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3372$as_echo "$CC" >&6; } 3373else 3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3375$as_echo "no" >&6; } 3376fi 3377 3378 3379fi 3380if test -z "$ac_cv_prog_CC"; then 3381 ac_ct_CC=$CC 3382 # Extract the first word of "gcc", so it can be a program name with args. 3383set dummy gcc; ac_word=$2 3384{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3385$as_echo_n "checking for $ac_word... " >&6; } 3386if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3387 $as_echo_n "(cached) " >&6 3388else 3389 if test -n "$ac_ct_CC"; then 3390 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3391else 3392as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3393for as_dir in $PATH 3394do 3395 IFS=$as_save_IFS 3396 test -z "$as_dir" && as_dir=. 3397 for ac_exec_ext in '' $ac_executable_extensions; do 3398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3399 ac_cv_prog_ac_ct_CC="gcc" 3400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3401 break 2 3402 fi 3403done 3404 done 3405IFS=$as_save_IFS 3406 3407fi 3408fi 3409ac_ct_CC=$ac_cv_prog_ac_ct_CC 3410if test -n "$ac_ct_CC"; then 3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3412$as_echo "$ac_ct_CC" >&6; } 3413else 3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3415$as_echo "no" >&6; } 3416fi 3417 3418 if test "x$ac_ct_CC" = x; then 3419 CC="" 3420 else 3421 case $cross_compiling:$ac_tool_warned in 3422yes:) 3423{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3424$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3425ac_tool_warned=yes ;; 3426esac 3427 CC=$ac_ct_CC 3428 fi 3429else 3430 CC="$ac_cv_prog_CC" 3431fi 3432 3433if test -z "$CC"; then 3434 if test -n "$ac_tool_prefix"; then 3435 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3436set dummy ${ac_tool_prefix}cc; ac_word=$2 3437{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3438$as_echo_n "checking for $ac_word... " >&6; } 3439if test "${ac_cv_prog_CC+set}" = set; then : 3440 $as_echo_n "(cached) " >&6 3441else 3442 if test -n "$CC"; then 3443 ac_cv_prog_CC="$CC" # Let the user override the test. 3444else 3445as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3446for as_dir in $PATH 3447do 3448 IFS=$as_save_IFS 3449 test -z "$as_dir" && as_dir=. 3450 for ac_exec_ext in '' $ac_executable_extensions; do 3451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3452 ac_cv_prog_CC="${ac_tool_prefix}cc" 3453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3454 break 2 3455 fi 3456done 3457 done 3458IFS=$as_save_IFS 3459 3460fi 3461fi 3462CC=$ac_cv_prog_CC 3463if test -n "$CC"; then 3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3465$as_echo "$CC" >&6; } 3466else 3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3468$as_echo "no" >&6; } 3469fi 3470 3471 3472 fi 3473fi 3474if test -z "$CC"; then 3475 # Extract the first word of "cc", so it can be a program name with args. 3476set dummy cc; ac_word=$2 3477{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3478$as_echo_n "checking for $ac_word... " >&6; } 3479if test "${ac_cv_prog_CC+set}" = set; then : 3480 $as_echo_n "(cached) " >&6 3481else 3482 if test -n "$CC"; then 3483 ac_cv_prog_CC="$CC" # Let the user override the test. 3484else 3485 ac_prog_rejected=no 3486as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3487for as_dir in $PATH 3488do 3489 IFS=$as_save_IFS 3490 test -z "$as_dir" && as_dir=. 3491 for ac_exec_ext in '' $ac_executable_extensions; do 3492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3493 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3494 ac_prog_rejected=yes 3495 continue 3496 fi 3497 ac_cv_prog_CC="cc" 3498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3499 break 2 3500 fi 3501done 3502 done 3503IFS=$as_save_IFS 3504 3505if test $ac_prog_rejected = yes; then 3506 # We found a bogon in the path, so make sure we never use it. 3507 set dummy $ac_cv_prog_CC 3508 shift 3509 if test $# != 0; then 3510 # We chose a different compiler from the bogus one. 3511 # However, it has the same basename, so the bogon will be chosen 3512 # first if we set CC to just the basename; use the full file name. 3513 shift 3514 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3515 fi 3516fi 3517fi 3518fi 3519CC=$ac_cv_prog_CC 3520if test -n "$CC"; then 3521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3522$as_echo "$CC" >&6; } 3523else 3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3525$as_echo "no" >&6; } 3526fi 3527 3528 3529fi 3530if test -z "$CC"; then 3531 if test -n "$ac_tool_prefix"; then 3532 for ac_prog in cl.exe 3533 do 3534 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3535set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3536{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3537$as_echo_n "checking for $ac_word... " >&6; } 3538if test "${ac_cv_prog_CC+set}" = set; then : 3539 $as_echo_n "(cached) " >&6 3540else 3541 if test -n "$CC"; then 3542 ac_cv_prog_CC="$CC" # Let the user override the test. 3543else 3544as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3545for as_dir in $PATH 3546do 3547 IFS=$as_save_IFS 3548 test -z "$as_dir" && as_dir=. 3549 for ac_exec_ext in '' $ac_executable_extensions; do 3550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3551 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3553 break 2 3554 fi 3555done 3556 done 3557IFS=$as_save_IFS 3558 3559fi 3560fi 3561CC=$ac_cv_prog_CC 3562if test -n "$CC"; then 3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3564$as_echo "$CC" >&6; } 3565else 3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3567$as_echo "no" >&6; } 3568fi 3569 3570 3571 test -n "$CC" && break 3572 done 3573fi 3574if test -z "$CC"; then 3575 ac_ct_CC=$CC 3576 for ac_prog in cl.exe 3577do 3578 # Extract the first word of "$ac_prog", so it can be a program name with args. 3579set dummy $ac_prog; ac_word=$2 3580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3581$as_echo_n "checking for $ac_word... " >&6; } 3582if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3583 $as_echo_n "(cached) " >&6 3584else 3585 if test -n "$ac_ct_CC"; then 3586 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3587else 3588as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3589for as_dir in $PATH 3590do 3591 IFS=$as_save_IFS 3592 test -z "$as_dir" && as_dir=. 3593 for ac_exec_ext in '' $ac_executable_extensions; do 3594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3595 ac_cv_prog_ac_ct_CC="$ac_prog" 3596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3597 break 2 3598 fi 3599done 3600 done 3601IFS=$as_save_IFS 3602 3603fi 3604fi 3605ac_ct_CC=$ac_cv_prog_ac_ct_CC 3606if test -n "$ac_ct_CC"; then 3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3608$as_echo "$ac_ct_CC" >&6; } 3609else 3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3611$as_echo "no" >&6; } 3612fi 3613 3614 3615 test -n "$ac_ct_CC" && break 3616done 3617 3618 if test "x$ac_ct_CC" = x; then 3619 CC="" 3620 else 3621 case $cross_compiling:$ac_tool_warned in 3622yes:) 3623{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3624$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3625ac_tool_warned=yes ;; 3626esac 3627 CC=$ac_ct_CC 3628 fi 3629fi 3630 3631fi 3632 3633 3634test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3635$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3636as_fn_error "no acceptable C compiler found in \$PATH 3637See \`config.log' for more details." "$LINENO" 5; } 3638 3639# Provide some information about the compiler. 3640$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3641set X $ac_compile 3642ac_compiler=$2 3643for ac_option in --version -v -V -qversion; do 3644 { { ac_try="$ac_compiler $ac_option >&5" 3645case "(($ac_try" in 3646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3647 *) ac_try_echo=$ac_try;; 3648esac 3649eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3650$as_echo "$ac_try_echo"; } >&5 3651 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3652 ac_status=$? 3653 if test -s conftest.err; then 3654 sed '10a\ 3655... rest of stderr output deleted ... 3656 10q' conftest.err >conftest.er1 3657 cat conftest.er1 >&5 3658 fi 3659 rm -f conftest.er1 conftest.err 3660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3661 test $ac_status = 0; } 3662done 3663 3664cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3665/* end confdefs.h. */ 3666 3667int 3668main () 3669{ 3670 3671 ; 3672 return 0; 3673} 3674_ACEOF 3675ac_clean_files_save=$ac_clean_files 3676ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3677# Try to create an executable without -o first, disregard a.out. 3678# It will help us diagnose broken compilers, and finding out an intuition 3679# of exeext. 3680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3681$as_echo_n "checking whether the C compiler works... " >&6; } 3682ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3683 3684# The possible output files: 3685ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3686 3687ac_rmfiles= 3688for ac_file in $ac_files 3689do 3690 case $ac_file in 3691 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3692 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3693 esac 3694done 3695rm -f $ac_rmfiles 3696 3697if { { ac_try="$ac_link_default" 3698case "(($ac_try" in 3699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3700 *) ac_try_echo=$ac_try;; 3701esac 3702eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3703$as_echo "$ac_try_echo"; } >&5 3704 (eval "$ac_link_default") 2>&5 3705 ac_status=$? 3706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3707 test $ac_status = 0; }; then : 3708 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3709# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3710# in a Makefile. We should not override ac_cv_exeext if it was cached, 3711# so that the user can short-circuit this test for compilers unknown to 3712# Autoconf. 3713for ac_file in $ac_files '' 3714do 3715 test -f "$ac_file" || continue 3716 case $ac_file in 3717 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3718 ;; 3719 [ab].out ) 3720 # We found the default executable, but exeext='' is most 3721 # certainly right. 3722 break;; 3723 *.* ) 3724 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3725 then :; else 3726 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3727 fi 3728 # We set ac_cv_exeext here because the later test for it is not 3729 # safe: cross compilers may not add the suffix if given an `-o' 3730 # argument, so we may need to know it at that point already. 3731 # Even if this section looks crufty: it has the advantage of 3732 # actually working. 3733 break;; 3734 * ) 3735 break;; 3736 esac 3737done 3738test "$ac_cv_exeext" = no && ac_cv_exeext= 3739 3740else 3741 ac_file='' 3742fi 3743if test -z "$ac_file"; then : 3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3745$as_echo "no" >&6; } 3746$as_echo "$as_me: failed program was:" >&5 3747sed 's/^/| /' conftest.$ac_ext >&5 3748 3749{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3750$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3751{ as_fn_set_status 77 3752as_fn_error "C compiler cannot create executables 3753See \`config.log' for more details." "$LINENO" 5; }; } 3754else 3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3756$as_echo "yes" >&6; } 3757fi 3758{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3759$as_echo_n "checking for C compiler default output file name... " >&6; } 3760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3761$as_echo "$ac_file" >&6; } 3762ac_exeext=$ac_cv_exeext 3763 3764rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3765ac_clean_files=$ac_clean_files_save 3766{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3767$as_echo_n "checking for suffix of executables... " >&6; } 3768if { { ac_try="$ac_link" 3769case "(($ac_try" in 3770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3771 *) ac_try_echo=$ac_try;; 3772esac 3773eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3774$as_echo "$ac_try_echo"; } >&5 3775 (eval "$ac_link") 2>&5 3776 ac_status=$? 3777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3778 test $ac_status = 0; }; then : 3779 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3780# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3781# work properly (i.e., refer to `conftest.exe'), while it won't with 3782# `rm'. 3783for ac_file in conftest.exe conftest conftest.*; do 3784 test -f "$ac_file" || continue 3785 case $ac_file in 3786 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3787 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3788 break;; 3789 * ) break;; 3790 esac 3791done 3792else 3793 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3794$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3795as_fn_error "cannot compute suffix of executables: cannot compile and link 3796See \`config.log' for more details." "$LINENO" 5; } 3797fi 3798rm -f conftest conftest$ac_cv_exeext 3799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3800$as_echo "$ac_cv_exeext" >&6; } 3801 3802rm -f conftest.$ac_ext 3803EXEEXT=$ac_cv_exeext 3804ac_exeext=$EXEEXT 3805cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3806/* end confdefs.h. */ 3807#include <stdio.h> 3808int 3809main () 3810{ 3811FILE *f = fopen ("conftest.out", "w"); 3812 return ferror (f) || fclose (f) != 0; 3813 3814 ; 3815 return 0; 3816} 3817_ACEOF 3818ac_clean_files="$ac_clean_files conftest.out" 3819# Check that the compiler produces executables we can run. If not, either 3820# the compiler is broken, or we cross compile. 3821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3822$as_echo_n "checking whether we are cross compiling... " >&6; } 3823if test "$cross_compiling" != yes; then 3824 { { ac_try="$ac_link" 3825case "(($ac_try" in 3826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3827 *) ac_try_echo=$ac_try;; 3828esac 3829eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3830$as_echo "$ac_try_echo"; } >&5 3831 (eval "$ac_link") 2>&5 3832 ac_status=$? 3833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3834 test $ac_status = 0; } 3835 if { ac_try='./conftest$ac_cv_exeext' 3836 { { case "(($ac_try" in 3837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3838 *) ac_try_echo=$ac_try;; 3839esac 3840eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3841$as_echo "$ac_try_echo"; } >&5 3842 (eval "$ac_try") 2>&5 3843 ac_status=$? 3844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3845 test $ac_status = 0; }; }; then 3846 cross_compiling=no 3847 else 3848 if test "$cross_compiling" = maybe; then 3849 cross_compiling=yes 3850 else 3851 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3852$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3853as_fn_error "cannot run C compiled programs. 3854If you meant to cross compile, use \`--host'. 3855See \`config.log' for more details." "$LINENO" 5; } 3856 fi 3857 fi 3858fi 3859{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3860$as_echo "$cross_compiling" >&6; } 3861 3862rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3863ac_clean_files=$ac_clean_files_save 3864{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3865$as_echo_n "checking for suffix of object files... " >&6; } 3866if test "${ac_cv_objext+set}" = set; then : 3867 $as_echo_n "(cached) " >&6 3868else 3869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3870/* end confdefs.h. */ 3871 3872int 3873main () 3874{ 3875 3876 ; 3877 return 0; 3878} 3879_ACEOF 3880rm -f conftest.o conftest.obj 3881if { { ac_try="$ac_compile" 3882case "(($ac_try" in 3883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3884 *) ac_try_echo=$ac_try;; 3885esac 3886eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3887$as_echo "$ac_try_echo"; } >&5 3888 (eval "$ac_compile") 2>&5 3889 ac_status=$? 3890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3891 test $ac_status = 0; }; then : 3892 for ac_file in conftest.o conftest.obj conftest.*; do 3893 test -f "$ac_file" || continue; 3894 case $ac_file in 3895 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3896 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3897 break;; 3898 esac 3899done 3900else 3901 $as_echo "$as_me: failed program was:" >&5 3902sed 's/^/| /' conftest.$ac_ext >&5 3903 3904{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3905$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3906as_fn_error "cannot compute suffix of object files: cannot compile 3907See \`config.log' for more details." "$LINENO" 5; } 3908fi 3909rm -f conftest.$ac_cv_objext conftest.$ac_ext 3910fi 3911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3912$as_echo "$ac_cv_objext" >&6; } 3913OBJEXT=$ac_cv_objext 3914ac_objext=$OBJEXT 3915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3916$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3917if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3918 $as_echo_n "(cached) " >&6 3919else 3920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3921/* end confdefs.h. */ 3922 3923int 3924main () 3925{ 3926#ifndef __GNUC__ 3927 choke me 3928#endif 3929 3930 ; 3931 return 0; 3932} 3933_ACEOF 3934if ac_fn_c_try_compile "$LINENO"; then : 3935 ac_compiler_gnu=yes 3936else 3937 ac_compiler_gnu=no 3938fi 3939rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3940ac_cv_c_compiler_gnu=$ac_compiler_gnu 3941 3942fi 3943{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3944$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3945if test $ac_compiler_gnu = yes; then 3946 GCC=yes 3947else 3948 GCC= 3949fi 3950ac_test_CFLAGS=${CFLAGS+set} 3951ac_save_CFLAGS=$CFLAGS 3952{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3953$as_echo_n "checking whether $CC accepts -g... " >&6; } 3954if test "${ac_cv_prog_cc_g+set}" = set; then : 3955 $as_echo_n "(cached) " >&6 3956else 3957 ac_save_c_werror_flag=$ac_c_werror_flag 3958 ac_c_werror_flag=yes 3959 ac_cv_prog_cc_g=no 3960 CFLAGS="-g" 3961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3962/* end confdefs.h. */ 3963 3964int 3965main () 3966{ 3967 3968 ; 3969 return 0; 3970} 3971_ACEOF 3972if ac_fn_c_try_compile "$LINENO"; then : 3973 ac_cv_prog_cc_g=yes 3974else 3975 CFLAGS="" 3976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3977/* end confdefs.h. */ 3978 3979int 3980main () 3981{ 3982 3983 ; 3984 return 0; 3985} 3986_ACEOF 3987if ac_fn_c_try_compile "$LINENO"; then : 3988 3989else 3990 ac_c_werror_flag=$ac_save_c_werror_flag 3991 CFLAGS="-g" 3992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3993/* end confdefs.h. */ 3994 3995int 3996main () 3997{ 3998 3999 ; 4000 return 0; 4001} 4002_ACEOF 4003if ac_fn_c_try_compile "$LINENO"; then : 4004 ac_cv_prog_cc_g=yes 4005fi 4006rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4007fi 4008rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4009fi 4010rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4011 ac_c_werror_flag=$ac_save_c_werror_flag 4012fi 4013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4014$as_echo "$ac_cv_prog_cc_g" >&6; } 4015if test "$ac_test_CFLAGS" = set; then 4016 CFLAGS=$ac_save_CFLAGS 4017elif test $ac_cv_prog_cc_g = yes; then 4018 if test "$GCC" = yes; then 4019 CFLAGS="-g -O2" 4020 else 4021 CFLAGS="-g" 4022 fi 4023else 4024 if test "$GCC" = yes; then 4025 CFLAGS="-O2" 4026 else 4027 CFLAGS= 4028 fi 4029fi 4030{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4031$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4032if test "${ac_cv_prog_cc_c89+set}" = set; then : 4033 $as_echo_n "(cached) " >&6 4034else 4035 ac_cv_prog_cc_c89=no 4036ac_save_CC=$CC 4037cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4038/* end confdefs.h. */ 4039#include <stdarg.h> 4040#include <stdio.h> 4041#include <sys/types.h> 4042#include <sys/stat.h> 4043/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4044struct buf { int x; }; 4045FILE * (*rcsopen) (struct buf *, struct stat *, int); 4046static char *e (p, i) 4047 char **p; 4048 int i; 4049{ 4050 return p[i]; 4051} 4052static char *f (char * (*g) (char **, int), char **p, ...) 4053{ 4054 char *s; 4055 va_list v; 4056 va_start (v,p); 4057 s = g (p, va_arg (v,int)); 4058 va_end (v); 4059 return s; 4060} 4061 4062/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4063 function prototypes and stuff, but not '\xHH' hex character constants. 4064 These don't provoke an error unfortunately, instead are silently treated 4065 as 'x'. The following induces an error, until -std is added to get 4066 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4067 array size at least. It's necessary to write '\x00'==0 to get something 4068 that's true only with -std. */ 4069int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4070 4071/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4072 inside strings and character constants. */ 4073#define FOO(x) 'x' 4074int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4075 4076int test (int i, double x); 4077struct s1 {int (*f) (int a);}; 4078struct s2 {int (*f) (double a);}; 4079int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4080int argc; 4081char **argv; 4082int 4083main () 4084{ 4085return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4086 ; 4087 return 0; 4088} 4089_ACEOF 4090for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4091 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4092do 4093 CC="$ac_save_CC $ac_arg" 4094 if ac_fn_c_try_compile "$LINENO"; then : 4095 ac_cv_prog_cc_c89=$ac_arg 4096fi 4097rm -f core conftest.err conftest.$ac_objext 4098 test "x$ac_cv_prog_cc_c89" != "xno" && break 4099done 4100rm -f conftest.$ac_ext 4101CC=$ac_save_CC 4102 4103fi 4104# AC_CACHE_VAL 4105case "x$ac_cv_prog_cc_c89" in 4106 x) 4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4108$as_echo "none needed" >&6; } ;; 4109 xno) 4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4111$as_echo "unsupported" >&6; } ;; 4112 *) 4113 CC="$CC $ac_cv_prog_cc_c89" 4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4115$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4116esac 4117if test "x$ac_cv_prog_cc_c89" != xno; then : 4118 4119fi 4120 4121ac_ext=c 4122ac_cpp='$CPP $CPPFLAGS' 4123ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4124ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4125ac_compiler_gnu=$ac_cv_c_compiler_gnu 4126 4127depcc="$CC" am_compiler_list= 4128 4129{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4130$as_echo_n "checking dependency style of $depcc... " >&6; } 4131if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 4132 $as_echo_n "(cached) " >&6 4133else 4134 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4135 # We make a subdir and do the tests there. Otherwise we can end up 4136 # making bogus files that we don't know about and never remove. For 4137 # instance it was reported that on HP-UX the gcc test will end up 4138 # making a dummy file named `D' -- because `-MD' means `put the output 4139 # in D'. 4140 mkdir conftest.dir 4141 # Copy depcomp to subdir because otherwise we won't find it if we're 4142 # using a relative directory. 4143 cp "$am_depcomp" conftest.dir 4144 cd conftest.dir 4145 # We will build objects and dependencies in a subdirectory because 4146 # it helps to detect inapplicable dependency modes. For instance 4147 # both Tru64's cc and ICC support -MD to output dependencies as a 4148 # side effect of compilation, but ICC will put the dependencies in 4149 # the current directory while Tru64 will put them in the object 4150 # directory. 4151 mkdir sub 4152 4153 am_cv_CC_dependencies_compiler_type=none 4154 if test "$am_compiler_list" = ""; then 4155 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4156 fi 4157 am__universal=false 4158 case " $depcc " in #( 4159 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4160 esac 4161 4162 for depmode in $am_compiler_list; do 4163 # Setup a source with many dependencies, because some compilers 4164 # like to wrap large dependency lists on column 80 (with \), and 4165 # we should not choose a depcomp mode which is confused by this. 4166 # 4167 # We need to recreate these files for each test, as the compiler may 4168 # overwrite some of them when testing with obscure command lines. 4169 # This happens at least with the AIX C compiler. 4170 : > sub/conftest.c 4171 for i in 1 2 3 4 5 6; do 4172 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4173 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4174 # Solaris 8's {/usr,}/bin/sh. 4175 touch sub/conftst$i.h 4176 done 4177 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4178 4179 # We check with `-c' and `-o' for the sake of the "dashmstdout" 4180 # mode. It turns out that the SunPro C++ compiler does not properly 4181 # handle `-M -o', and we need to detect this. Also, some Intel 4182 # versions had trouble with output in subdirs 4183 am__obj=sub/conftest.${OBJEXT-o} 4184 am__minus_obj="-o $am__obj" 4185 case $depmode in 4186 gcc) 4187 # This depmode causes a compiler race in universal mode. 4188 test "$am__universal" = false || continue 4189 ;; 4190 nosideeffect) 4191 # after this tag, mechanisms are not by side-effect, so they'll 4192 # only be used when explicitly requested 4193 if test "x$enable_dependency_tracking" = xyes; then 4194 continue 4195 else 4196 break 4197 fi 4198 ;; 4199 msvisualcpp | msvcmsys) 4200 # This compiler won't grok `-c -o', but also, the minuso test has 4201 # not run yet. These depmodes are late enough in the game, and 4202 # so weak that their functioning should not be impacted. 4203 am__obj=conftest.${OBJEXT-o} 4204 am__minus_obj= 4205 ;; 4206 none) break ;; 4207 esac 4208 if depmode=$depmode \ 4209 source=sub/conftest.c object=$am__obj \ 4210 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4211 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4212 >/dev/null 2>conftest.err && 4213 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4214 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4215 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4216 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4217 # icc doesn't choke on unknown options, it will just issue warnings 4218 # or remarks (even with -Werror). So we grep stderr for any message 4219 # that says an option was ignored or not supported. 4220 # When given -MP, icc 7.0 and 7.1 complain thusly: 4221 # icc: Command line warning: ignoring option '-M'; no argument required 4222 # The diagnosis changed in icc 8.0: 4223 # icc: Command line remark: option '-MP' not supported 4224 if (grep 'ignoring option' conftest.err || 4225 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4226 am_cv_CC_dependencies_compiler_type=$depmode 4227 break 4228 fi 4229 fi 4230 done 4231 4232 cd .. 4233 rm -rf conftest.dir 4234else 4235 am_cv_CC_dependencies_compiler_type=none 4236fi 4237 4238fi 4239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4240$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4241CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4242 4243 if 4244 test "x$enable_dependency_tracking" != xno \ 4245 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4246 am__fastdepCC_TRUE= 4247 am__fastdepCC_FALSE='#' 4248else 4249 am__fastdepCC_TRUE='#' 4250 am__fastdepCC_FALSE= 4251fi 4252 4253 4254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4255$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4256if test "${ac_cv_path_SED+set}" = set; then : 4257 $as_echo_n "(cached) " >&6 4258else 4259 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4260 for ac_i in 1 2 3 4 5 6 7; do 4261 ac_script="$ac_script$as_nl$ac_script" 4262 done 4263 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4264 { ac_script=; unset ac_script;} 4265 if test -z "$SED"; then 4266 ac_path_SED_found=false 4267 # Loop through the user's path and test for each of PROGNAME-LIST 4268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4269for as_dir in $PATH 4270do 4271 IFS=$as_save_IFS 4272 test -z "$as_dir" && as_dir=. 4273 for ac_prog in sed gsed; do 4274 for ac_exec_ext in '' $ac_executable_extensions; do 4275 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4276 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 4277# Check for GNU ac_path_SED and select it if it is found. 4278 # Check for GNU $ac_path_SED 4279case `"$ac_path_SED" --version 2>&1` in 4280*GNU*) 4281 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4282*) 4283 ac_count=0 4284 $as_echo_n 0123456789 >"conftest.in" 4285 while : 4286 do 4287 cat "conftest.in" "conftest.in" >"conftest.tmp" 4288 mv "conftest.tmp" "conftest.in" 4289 cp "conftest.in" "conftest.nl" 4290 $as_echo '' >> "conftest.nl" 4291 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4292 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4293 as_fn_arith $ac_count + 1 && ac_count=$as_val 4294 if test $ac_count -gt ${ac_path_SED_max-0}; then 4295 # Best one so far, save it but keep looking for a better one 4296 ac_cv_path_SED="$ac_path_SED" 4297 ac_path_SED_max=$ac_count 4298 fi 4299 # 10*(2^10) chars as input seems more than enough 4300 test $ac_count -gt 10 && break 4301 done 4302 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4303esac 4304 4305 $ac_path_SED_found && break 3 4306 done 4307 done 4308 done 4309IFS=$as_save_IFS 4310 if test -z "$ac_cv_path_SED"; then 4311 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 4312 fi 4313else 4314 ac_cv_path_SED=$SED 4315fi 4316 4317fi 4318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4319$as_echo "$ac_cv_path_SED" >&6; } 4320 SED="$ac_cv_path_SED" 4321 rm -f conftest.sed 4322 4323test -z "$SED" && SED=sed 4324Xsed="$SED -e 1s/^X//" 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4337$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4338if test "${ac_cv_path_GREP+set}" = set; then : 4339 $as_echo_n "(cached) " >&6 4340else 4341 if test -z "$GREP"; then 4342 ac_path_GREP_found=false 4343 # Loop through the user's path and test for each of PROGNAME-LIST 4344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4345for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4346do 4347 IFS=$as_save_IFS 4348 test -z "$as_dir" && as_dir=. 4349 for ac_prog in grep ggrep; do 4350 for ac_exec_ext in '' $ac_executable_extensions; do 4351 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4352 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4353# Check for GNU ac_path_GREP and select it if it is found. 4354 # Check for GNU $ac_path_GREP 4355case `"$ac_path_GREP" --version 2>&1` in 4356*GNU*) 4357 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4358*) 4359 ac_count=0 4360 $as_echo_n 0123456789 >"conftest.in" 4361 while : 4362 do 4363 cat "conftest.in" "conftest.in" >"conftest.tmp" 4364 mv "conftest.tmp" "conftest.in" 4365 cp "conftest.in" "conftest.nl" 4366 $as_echo 'GREP' >> "conftest.nl" 4367 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4368 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4369 as_fn_arith $ac_count + 1 && ac_count=$as_val 4370 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4371 # Best one so far, save it but keep looking for a better one 4372 ac_cv_path_GREP="$ac_path_GREP" 4373 ac_path_GREP_max=$ac_count 4374 fi 4375 # 10*(2^10) chars as input seems more than enough 4376 test $ac_count -gt 10 && break 4377 done 4378 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4379esac 4380 4381 $ac_path_GREP_found && break 3 4382 done 4383 done 4384 done 4385IFS=$as_save_IFS 4386 if test -z "$ac_cv_path_GREP"; then 4387 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4388 fi 4389else 4390 ac_cv_path_GREP=$GREP 4391fi 4392 4393fi 4394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4395$as_echo "$ac_cv_path_GREP" >&6; } 4396 GREP="$ac_cv_path_GREP" 4397 4398 4399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4400$as_echo_n "checking for egrep... " >&6; } 4401if test "${ac_cv_path_EGREP+set}" = set; then : 4402 $as_echo_n "(cached) " >&6 4403else 4404 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4405 then ac_cv_path_EGREP="$GREP -E" 4406 else 4407 if test -z "$EGREP"; then 4408 ac_path_EGREP_found=false 4409 # Loop through the user's path and test for each of PROGNAME-LIST 4410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4411for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4412do 4413 IFS=$as_save_IFS 4414 test -z "$as_dir" && as_dir=. 4415 for ac_prog in egrep; do 4416 for ac_exec_ext in '' $ac_executable_extensions; do 4417 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4418 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4419# Check for GNU ac_path_EGREP and select it if it is found. 4420 # Check for GNU $ac_path_EGREP 4421case `"$ac_path_EGREP" --version 2>&1` in 4422*GNU*) 4423 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4424*) 4425 ac_count=0 4426 $as_echo_n 0123456789 >"conftest.in" 4427 while : 4428 do 4429 cat "conftest.in" "conftest.in" >"conftest.tmp" 4430 mv "conftest.tmp" "conftest.in" 4431 cp "conftest.in" "conftest.nl" 4432 $as_echo 'EGREP' >> "conftest.nl" 4433 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4434 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4435 as_fn_arith $ac_count + 1 && ac_count=$as_val 4436 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4437 # Best one so far, save it but keep looking for a better one 4438 ac_cv_path_EGREP="$ac_path_EGREP" 4439 ac_path_EGREP_max=$ac_count 4440 fi 4441 # 10*(2^10) chars as input seems more than enough 4442 test $ac_count -gt 10 && break 4443 done 4444 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4445esac 4446 4447 $ac_path_EGREP_found && break 3 4448 done 4449 done 4450 done 4451IFS=$as_save_IFS 4452 if test -z "$ac_cv_path_EGREP"; then 4453 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4454 fi 4455else 4456 ac_cv_path_EGREP=$EGREP 4457fi 4458 4459 fi 4460fi 4461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4462$as_echo "$ac_cv_path_EGREP" >&6; } 4463 EGREP="$ac_cv_path_EGREP" 4464 4465 4466{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4467$as_echo_n "checking for fgrep... " >&6; } 4468if test "${ac_cv_path_FGREP+set}" = set; then : 4469 $as_echo_n "(cached) " >&6 4470else 4471 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4472 then ac_cv_path_FGREP="$GREP -F" 4473 else 4474 if test -z "$FGREP"; then 4475 ac_path_FGREP_found=false 4476 # Loop through the user's path and test for each of PROGNAME-LIST 4477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4478for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4479do 4480 IFS=$as_save_IFS 4481 test -z "$as_dir" && as_dir=. 4482 for ac_prog in fgrep; do 4483 for ac_exec_ext in '' $ac_executable_extensions; do 4484 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4485 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 4486# Check for GNU ac_path_FGREP and select it if it is found. 4487 # Check for GNU $ac_path_FGREP 4488case `"$ac_path_FGREP" --version 2>&1` in 4489*GNU*) 4490 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4491*) 4492 ac_count=0 4493 $as_echo_n 0123456789 >"conftest.in" 4494 while : 4495 do 4496 cat "conftest.in" "conftest.in" >"conftest.tmp" 4497 mv "conftest.tmp" "conftest.in" 4498 cp "conftest.in" "conftest.nl" 4499 $as_echo 'FGREP' >> "conftest.nl" 4500 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4501 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4502 as_fn_arith $ac_count + 1 && ac_count=$as_val 4503 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4504 # Best one so far, save it but keep looking for a better one 4505 ac_cv_path_FGREP="$ac_path_FGREP" 4506 ac_path_FGREP_max=$ac_count 4507 fi 4508 # 10*(2^10) chars as input seems more than enough 4509 test $ac_count -gt 10 && break 4510 done 4511 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4512esac 4513 4514 $ac_path_FGREP_found && break 3 4515 done 4516 done 4517 done 4518IFS=$as_save_IFS 4519 if test -z "$ac_cv_path_FGREP"; then 4520 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4521 fi 4522else 4523 ac_cv_path_FGREP=$FGREP 4524fi 4525 4526 fi 4527fi 4528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4529$as_echo "$ac_cv_path_FGREP" >&6; } 4530 FGREP="$ac_cv_path_FGREP" 4531 4532 4533test -z "$GREP" && GREP=grep 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553# Check whether --with-gnu-ld was given. 4554if test "${with_gnu_ld+set}" = set; then : 4555 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4556else 4557 with_gnu_ld=no 4558fi 4559 4560ac_prog=ld 4561if test "$GCC" = yes; then 4562 # Check if gcc -print-prog-name=ld gives a path. 4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4564$as_echo_n "checking for ld used by $CC... " >&6; } 4565 case $host in 4566 *-*-mingw*) 4567 # gcc leaves a trailing carriage return which upsets mingw 4568 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4569 *) 4570 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4571 esac 4572 case $ac_prog in 4573 # Accept absolute paths. 4574 [\\/]* | ?:[\\/]*) 4575 re_direlt='/[^/][^/]*/\.\./' 4576 # Canonicalize the pathname of ld 4577 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4578 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4579 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4580 done 4581 test -z "$LD" && LD="$ac_prog" 4582 ;; 4583 "") 4584 # If it fails, then pretend we aren't using GCC. 4585 ac_prog=ld 4586 ;; 4587 *) 4588 # If it is relative, then search for the first ld in PATH. 4589 with_gnu_ld=unknown 4590 ;; 4591 esac 4592elif test "$with_gnu_ld" = yes; then 4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4594$as_echo_n "checking for GNU ld... " >&6; } 4595else 4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4597$as_echo_n "checking for non-GNU ld... " >&6; } 4598fi 4599if test "${lt_cv_path_LD+set}" = set; then : 4600 $as_echo_n "(cached) " >&6 4601else 4602 if test -z "$LD"; then 4603 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4604 for ac_dir in $PATH; do 4605 IFS="$lt_save_ifs" 4606 test -z "$ac_dir" && ac_dir=. 4607 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4608 lt_cv_path_LD="$ac_dir/$ac_prog" 4609 # Check to see if the program is GNU ld. I'd rather use --version, 4610 # but apparently some variants of GNU ld only accept -v. 4611 # Break only if it was the GNU/non-GNU ld that we prefer. 4612 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4613 *GNU* | *'with BFD'*) 4614 test "$with_gnu_ld" != no && break 4615 ;; 4616 *) 4617 test "$with_gnu_ld" != yes && break 4618 ;; 4619 esac 4620 fi 4621 done 4622 IFS="$lt_save_ifs" 4623else 4624 lt_cv_path_LD="$LD" # Let the user override the test with a path. 4625fi 4626fi 4627 4628LD="$lt_cv_path_LD" 4629if test -n "$LD"; then 4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4631$as_echo "$LD" >&6; } 4632else 4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4634$as_echo "no" >&6; } 4635fi 4636test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 4637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4638$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4639if test "${lt_cv_prog_gnu_ld+set}" = set; then : 4640 $as_echo_n "(cached) " >&6 4641else 4642 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4643case `$LD -v 2>&1 </dev/null` in 4644*GNU* | *'with BFD'*) 4645 lt_cv_prog_gnu_ld=yes 4646 ;; 4647*) 4648 lt_cv_prog_gnu_ld=no 4649 ;; 4650esac 4651fi 4652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4653$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4654with_gnu_ld=$lt_cv_prog_gnu_ld 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4665$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4666if test "${lt_cv_path_NM+set}" = set; then : 4667 $as_echo_n "(cached) " >&6 4668else 4669 if test -n "$NM"; then 4670 # Let the user override the test. 4671 lt_cv_path_NM="$NM" 4672else 4673 lt_nm_to_check="${ac_tool_prefix}nm" 4674 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4675 lt_nm_to_check="$lt_nm_to_check nm" 4676 fi 4677 for lt_tmp_nm in $lt_nm_to_check; do 4678 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4679 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4680 IFS="$lt_save_ifs" 4681 test -z "$ac_dir" && ac_dir=. 4682 tmp_nm="$ac_dir/$lt_tmp_nm" 4683 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 4684 # Check to see if the nm accepts a BSD-compat flag. 4685 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 4686 # nm: unknown option "B" ignored 4687 # Tru64's nm complains that /dev/null is an invalid object file 4688 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 4689 */dev/null* | *'Invalid file or object type'*) 4690 lt_cv_path_NM="$tmp_nm -B" 4691 break 4692 ;; 4693 *) 4694 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4695 */dev/null*) 4696 lt_cv_path_NM="$tmp_nm -p" 4697 break 4698 ;; 4699 *) 4700 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4701 continue # so that we can try to find one that supports BSD flags 4702 ;; 4703 esac 4704 ;; 4705 esac 4706 fi 4707 done 4708 IFS="$lt_save_ifs" 4709 done 4710 : ${lt_cv_path_NM=no} 4711fi 4712fi 4713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4714$as_echo "$lt_cv_path_NM" >&6; } 4715if test "$lt_cv_path_NM" != "no"; then 4716 NM="$lt_cv_path_NM" 4717else 4718 # Didn't find any BSD compatible name lister, look for dumpbin. 4719 if test -n "$ac_tool_prefix"; then 4720 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 4721 do 4722 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4723set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4724{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4725$as_echo_n "checking for $ac_word... " >&6; } 4726if test "${ac_cv_prog_DUMPBIN+set}" = set; then : 4727 $as_echo_n "(cached) " >&6 4728else 4729 if test -n "$DUMPBIN"; then 4730 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4731else 4732as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4733for as_dir in $PATH 4734do 4735 IFS=$as_save_IFS 4736 test -z "$as_dir" && as_dir=. 4737 for ac_exec_ext in '' $ac_executable_extensions; do 4738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4739 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4741 break 2 4742 fi 4743done 4744 done 4745IFS=$as_save_IFS 4746 4747fi 4748fi 4749DUMPBIN=$ac_cv_prog_DUMPBIN 4750if test -n "$DUMPBIN"; then 4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4752$as_echo "$DUMPBIN" >&6; } 4753else 4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4755$as_echo "no" >&6; } 4756fi 4757 4758 4759 test -n "$DUMPBIN" && break 4760 done 4761fi 4762if test -z "$DUMPBIN"; then 4763 ac_ct_DUMPBIN=$DUMPBIN 4764 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 4765do 4766 # Extract the first word of "$ac_prog", so it can be a program name with args. 4767set dummy $ac_prog; ac_word=$2 4768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4769$as_echo_n "checking for $ac_word... " >&6; } 4770if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : 4771 $as_echo_n "(cached) " >&6 4772else 4773 if test -n "$ac_ct_DUMPBIN"; then 4774 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4775else 4776as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4777for as_dir in $PATH 4778do 4779 IFS=$as_save_IFS 4780 test -z "$as_dir" && as_dir=. 4781 for ac_exec_ext in '' $ac_executable_extensions; do 4782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4783 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4785 break 2 4786 fi 4787done 4788 done 4789IFS=$as_save_IFS 4790 4791fi 4792fi 4793ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4794if test -n "$ac_ct_DUMPBIN"; then 4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4796$as_echo "$ac_ct_DUMPBIN" >&6; } 4797else 4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4799$as_echo "no" >&6; } 4800fi 4801 4802 4803 test -n "$ac_ct_DUMPBIN" && break 4804done 4805 4806 if test "x$ac_ct_DUMPBIN" = x; then 4807 DUMPBIN=":" 4808 else 4809 case $cross_compiling:$ac_tool_warned in 4810yes:) 4811{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4812$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4813ac_tool_warned=yes ;; 4814esac 4815 DUMPBIN=$ac_ct_DUMPBIN 4816 fi 4817fi 4818 4819 4820 if test "$DUMPBIN" != ":"; then 4821 NM="$DUMPBIN" 4822 fi 4823fi 4824test -z "$NM" && NM=nm 4825 4826 4827 4828 4829 4830 4831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4832$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4833if test "${lt_cv_nm_interface+set}" = set; then : 4834 $as_echo_n "(cached) " >&6 4835else 4836 lt_cv_nm_interface="BSD nm" 4837 echo "int some_variable = 0;" > conftest.$ac_ext 4838 (eval echo "\"\$as_me:4838: $ac_compile\"" >&5) 4839 (eval "$ac_compile" 2>conftest.err) 4840 cat conftest.err >&5 4841 (eval echo "\"\$as_me:4841: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4842 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4843 cat conftest.err >&5 4844 (eval echo "\"\$as_me:4844: output\"" >&5) 4845 cat conftest.out >&5 4846 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4847 lt_cv_nm_interface="MS dumpbin" 4848 fi 4849 rm -f conftest* 4850fi 4851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4852$as_echo "$lt_cv_nm_interface" >&6; } 4853 4854{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4855$as_echo_n "checking whether ln -s works... " >&6; } 4856LN_S=$as_ln_s 4857if test "$LN_S" = "ln -s"; then 4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4859$as_echo "yes" >&6; } 4860else 4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4862$as_echo "no, using $LN_S" >&6; } 4863fi 4864 4865# find the maximum length of command line arguments 4866{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4867$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4868if test "${lt_cv_sys_max_cmd_len+set}" = set; then : 4869 $as_echo_n "(cached) " >&6 4870else 4871 i=0 4872 teststring="ABCD" 4873 4874 case $build_os in 4875 msdosdjgpp*) 4876 # On DJGPP, this test can blow up pretty badly due to problems in libc 4877 # (any single argument exceeding 2000 bytes causes a buffer overrun 4878 # during glob expansion). Even if it were fixed, the result of this 4879 # check would be larger than it should be. 4880 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4881 ;; 4882 4883 gnu*) 4884 # Under GNU Hurd, this test is not required because there is 4885 # no limit to the length of command line arguments. 4886 # Libtool will interpret -1 as no limit whatsoever 4887 lt_cv_sys_max_cmd_len=-1; 4888 ;; 4889 4890 cygwin* | mingw* | cegcc*) 4891 # On Win9x/ME, this test blows up -- it succeeds, but takes 4892 # about 5 minutes as the teststring grows exponentially. 4893 # Worse, since 9x/ME are not pre-emptively multitasking, 4894 # you end up with a "frozen" computer, even though with patience 4895 # the test eventually succeeds (with a max line length of 256k). 4896 # Instead, let's just punt: use the minimum linelength reported by 4897 # all of the supported platforms: 8192 (on NT/2K/XP). 4898 lt_cv_sys_max_cmd_len=8192; 4899 ;; 4900 4901 amigaos*) 4902 # On AmigaOS with pdksh, this test takes hours, literally. 4903 # So we just punt and use a minimum line length of 8192. 4904 lt_cv_sys_max_cmd_len=8192; 4905 ;; 4906 4907 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 4908 # This has been around since 386BSD, at least. Likely further. 4909 if test -x /sbin/sysctl; then 4910 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4911 elif test -x /usr/sbin/sysctl; then 4912 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4913 else 4914 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4915 fi 4916 # And add a safety zone 4917 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4918 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4919 ;; 4920 4921 interix*) 4922 # We know the value 262144 and hardcode it with a safety zone (like BSD) 4923 lt_cv_sys_max_cmd_len=196608 4924 ;; 4925 4926 osf*) 4927 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 4928 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 4929 # nice to cause kernel panics so lets avoid the loop below. 4930 # First set a reasonable default. 4931 lt_cv_sys_max_cmd_len=16384 4932 # 4933 if test -x /sbin/sysconfig; then 4934 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 4935 *1*) lt_cv_sys_max_cmd_len=-1 ;; 4936 esac 4937 fi 4938 ;; 4939 sco3.2v5*) 4940 lt_cv_sys_max_cmd_len=102400 4941 ;; 4942 sysv5* | sco5v6* | sysv4.2uw2*) 4943 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 4944 if test -n "$kargmax"; then 4945 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 4946 else 4947 lt_cv_sys_max_cmd_len=32768 4948 fi 4949 ;; 4950 *) 4951 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 4952 if test -n "$lt_cv_sys_max_cmd_len"; then 4953 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4954 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4955 else 4956 # Make teststring a little bigger before we do anything with it. 4957 # a 1K string should be a reasonable start. 4958 for i in 1 2 3 4 5 6 7 8 ; do 4959 teststring=$teststring$teststring 4960 done 4961 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 4962 # If test is not a shell built-in, we'll probably end up computing a 4963 # maximum length that is only half of the actual maximum length, but 4964 # we can't tell. 4965 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ 4966 = "XX$teststring$teststring"; } >/dev/null 2>&1 && 4967 test $i != 17 # 1/2 MB should be enough 4968 do 4969 i=`expr $i + 1` 4970 teststring=$teststring$teststring 4971 done 4972 # Only check the string length outside the loop. 4973 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 4974 teststring= 4975 # Add a significant safety factor because C++ compilers can tack on 4976 # massive amounts of additional arguments before passing them to the 4977 # linker. It appears as though 1/2 is a usable value. 4978 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 4979 fi 4980 ;; 4981 esac 4982 4983fi 4984 4985if test -n $lt_cv_sys_max_cmd_len ; then 4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 4987$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 4988else 4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 4990$as_echo "none" >&6; } 4991fi 4992max_cmd_len=$lt_cv_sys_max_cmd_len 4993 4994 4995 4996 4997 4998 4999: ${CP="cp -f"} 5000: ${MV="mv -f"} 5001: ${RM="rm -f"} 5002 5003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 5004$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 5005# Try some XSI features 5006xsi_shell=no 5007( _lt_dummy="a/b/c" 5008 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ 5009 = c,a/b,, \ 5010 && eval 'test $(( 1 + 1 )) -eq 2 \ 5011 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 5012 && xsi_shell=yes 5013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 5014$as_echo "$xsi_shell" >&6; } 5015 5016 5017{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 5018$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 5019lt_shell_append=no 5020( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 5021 >/dev/null 2>&1 \ 5022 && lt_shell_append=yes 5023{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 5024$as_echo "$lt_shell_append" >&6; } 5025 5026 5027if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5028 lt_unset=unset 5029else 5030 lt_unset=false 5031fi 5032 5033 5034 5035 5036 5037# test EBCDIC or ASCII 5038case `echo X|tr X '\101'` in 5039 A) # ASCII based system 5040 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5041 lt_SP2NL='tr \040 \012' 5042 lt_NL2SP='tr \015\012 \040\040' 5043 ;; 5044 *) # EBCDIC based system 5045 lt_SP2NL='tr \100 \n' 5046 lt_NL2SP='tr \r\n \100\100' 5047 ;; 5048esac 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5059$as_echo_n "checking for $LD option to reload object files... " >&6; } 5060if test "${lt_cv_ld_reload_flag+set}" = set; then : 5061 $as_echo_n "(cached) " >&6 5062else 5063 lt_cv_ld_reload_flag='-r' 5064fi 5065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5066$as_echo "$lt_cv_ld_reload_flag" >&6; } 5067reload_flag=$lt_cv_ld_reload_flag 5068case $reload_flag in 5069"" | " "*) ;; 5070*) reload_flag=" $reload_flag" ;; 5071esac 5072reload_cmds='$LD$reload_flag -o $output$reload_objs' 5073case $host_os in 5074 darwin*) 5075 if test "$GCC" = yes; then 5076 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5077 else 5078 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5079 fi 5080 ;; 5081esac 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091if test -n "$ac_tool_prefix"; then 5092 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5093set dummy ${ac_tool_prefix}objdump; ac_word=$2 5094{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5095$as_echo_n "checking for $ac_word... " >&6; } 5096if test "${ac_cv_prog_OBJDUMP+set}" = set; then : 5097 $as_echo_n "(cached) " >&6 5098else 5099 if test -n "$OBJDUMP"; then 5100 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5101else 5102as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5103for as_dir in $PATH 5104do 5105 IFS=$as_save_IFS 5106 test -z "$as_dir" && as_dir=. 5107 for ac_exec_ext in '' $ac_executable_extensions; do 5108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5109 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5111 break 2 5112 fi 5113done 5114 done 5115IFS=$as_save_IFS 5116 5117fi 5118fi 5119OBJDUMP=$ac_cv_prog_OBJDUMP 5120if test -n "$OBJDUMP"; then 5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5122$as_echo "$OBJDUMP" >&6; } 5123else 5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5125$as_echo "no" >&6; } 5126fi 5127 5128 5129fi 5130if test -z "$ac_cv_prog_OBJDUMP"; then 5131 ac_ct_OBJDUMP=$OBJDUMP 5132 # Extract the first word of "objdump", so it can be a program name with args. 5133set dummy objdump; ac_word=$2 5134{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5135$as_echo_n "checking for $ac_word... " >&6; } 5136if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : 5137 $as_echo_n "(cached) " >&6 5138else 5139 if test -n "$ac_ct_OBJDUMP"; then 5140 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5141else 5142as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5143for as_dir in $PATH 5144do 5145 IFS=$as_save_IFS 5146 test -z "$as_dir" && as_dir=. 5147 for ac_exec_ext in '' $ac_executable_extensions; do 5148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5149 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5151 break 2 5152 fi 5153done 5154 done 5155IFS=$as_save_IFS 5156 5157fi 5158fi 5159ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5160if test -n "$ac_ct_OBJDUMP"; then 5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5162$as_echo "$ac_ct_OBJDUMP" >&6; } 5163else 5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5165$as_echo "no" >&6; } 5166fi 5167 5168 if test "x$ac_ct_OBJDUMP" = x; then 5169 OBJDUMP="false" 5170 else 5171 case $cross_compiling:$ac_tool_warned in 5172yes:) 5173{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5174$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5175ac_tool_warned=yes ;; 5176esac 5177 OBJDUMP=$ac_ct_OBJDUMP 5178 fi 5179else 5180 OBJDUMP="$ac_cv_prog_OBJDUMP" 5181fi 5182 5183test -z "$OBJDUMP" && OBJDUMP=objdump 5184 5185 5186 5187 5188 5189 5190{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5191$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5192if test "${lt_cv_deplibs_check_method+set}" = set; then : 5193 $as_echo_n "(cached) " >&6 5194else 5195 lt_cv_file_magic_cmd='$MAGIC_CMD' 5196lt_cv_file_magic_test_file= 5197lt_cv_deplibs_check_method='unknown' 5198# Need to set the preceding variable on all platforms that support 5199# interlibrary dependencies. 5200# 'none' -- dependencies not supported. 5201# `unknown' -- same as none, but documents that we really don't know. 5202# 'pass_all' -- all dependencies passed with no checks. 5203# 'test_compile' -- check by making test program. 5204# 'file_magic [[regex]]' -- check by looking for files in library path 5205# which responds to the $file_magic_cmd with a given extended regex. 5206# If you have `file' or equivalent on your system and you're not sure 5207# whether `pass_all' will *always* work, you probably want this one. 5208 5209case $host_os in 5210aix[4-9]*) 5211 lt_cv_deplibs_check_method=pass_all 5212 ;; 5213 5214beos*) 5215 lt_cv_deplibs_check_method=pass_all 5216 ;; 5217 5218bsdi[45]*) 5219 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5220 lt_cv_file_magic_cmd='/usr/bin/file -L' 5221 lt_cv_file_magic_test_file=/shlib/libc.so 5222 ;; 5223 5224cygwin*) 5225 # func_win32_libid is a shell function defined in ltmain.sh 5226 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5227 lt_cv_file_magic_cmd='func_win32_libid' 5228 ;; 5229 5230mingw* | pw32*) 5231 # Base MSYS/MinGW do not provide the 'file' command needed by 5232 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5233 # unless we find 'file', for example because we are cross-compiling. 5234 if ( file / ) >/dev/null 2>&1; then 5235 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5236 lt_cv_file_magic_cmd='func_win32_libid' 5237 else 5238 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 5239 lt_cv_file_magic_cmd='$OBJDUMP -f' 5240 fi 5241 ;; 5242 5243cegcc) 5244 # use the weaker test based on 'objdump'. See mingw*. 5245 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5246 lt_cv_file_magic_cmd='$OBJDUMP -f' 5247 ;; 5248 5249darwin* | rhapsody*) 5250 lt_cv_deplibs_check_method=pass_all 5251 ;; 5252 5253freebsd* | dragonfly*) 5254 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5255 case $host_cpu in 5256 i*86 ) 5257 # Not sure whether the presence of OpenBSD here was a mistake. 5258 # Let's accept both of them until this is cleared up. 5259 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5260 lt_cv_file_magic_cmd=/usr/bin/file 5261 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5262 ;; 5263 esac 5264 else 5265 lt_cv_deplibs_check_method=pass_all 5266 fi 5267 ;; 5268 5269gnu*) 5270 lt_cv_deplibs_check_method=pass_all 5271 ;; 5272 5273hpux10.20* | hpux11*) 5274 lt_cv_file_magic_cmd=/usr/bin/file 5275 case $host_cpu in 5276 ia64*) 5277 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5278 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5279 ;; 5280 hppa*64*) 5281 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]' 5282 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5283 ;; 5284 *) 5285 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 5286 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5287 ;; 5288 esac 5289 ;; 5290 5291interix[3-9]*) 5292 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5293 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5294 ;; 5295 5296irix5* | irix6* | nonstopux*) 5297 case $LD in 5298 *-32|*"-32 ") libmagic=32-bit;; 5299 *-n32|*"-n32 ") libmagic=N32;; 5300 *-64|*"-64 ") libmagic=64-bit;; 5301 *) libmagic=never-match;; 5302 esac 5303 lt_cv_deplibs_check_method=pass_all 5304 ;; 5305 5306# This must be Linux ELF. 5307linux* | k*bsd*-gnu) 5308 lt_cv_deplibs_check_method=pass_all 5309 ;; 5310 5311netbsd*) 5312 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5313 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5314 else 5315 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5316 fi 5317 ;; 5318 5319newos6*) 5320 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5321 lt_cv_file_magic_cmd=/usr/bin/file 5322 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5323 ;; 5324 5325*nto* | *qnx*) 5326 lt_cv_deplibs_check_method=pass_all 5327 ;; 5328 5329openbsd*) 5330 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 5331 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5332 else 5333 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5334 fi 5335 ;; 5336 5337osf3* | osf4* | osf5*) 5338 lt_cv_deplibs_check_method=pass_all 5339 ;; 5340 5341rdos*) 5342 lt_cv_deplibs_check_method=pass_all 5343 ;; 5344 5345solaris*) 5346 lt_cv_deplibs_check_method=pass_all 5347 ;; 5348 5349sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5350 lt_cv_deplibs_check_method=pass_all 5351 ;; 5352 5353sysv4 | sysv4.3*) 5354 case $host_vendor in 5355 motorola) 5356 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]' 5357 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5358 ;; 5359 ncr) 5360 lt_cv_deplibs_check_method=pass_all 5361 ;; 5362 sequent) 5363 lt_cv_file_magic_cmd='/bin/file' 5364 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5365 ;; 5366 sni) 5367 lt_cv_file_magic_cmd='/bin/file' 5368 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5369 lt_cv_file_magic_test_file=/lib/libc.so 5370 ;; 5371 siemens) 5372 lt_cv_deplibs_check_method=pass_all 5373 ;; 5374 pc) 5375 lt_cv_deplibs_check_method=pass_all 5376 ;; 5377 esac 5378 ;; 5379 5380tpf*) 5381 lt_cv_deplibs_check_method=pass_all 5382 ;; 5383esac 5384 5385fi 5386{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5387$as_echo "$lt_cv_deplibs_check_method" >&6; } 5388file_magic_cmd=$lt_cv_file_magic_cmd 5389deplibs_check_method=$lt_cv_deplibs_check_method 5390test -z "$deplibs_check_method" && deplibs_check_method=unknown 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403if test -n "$ac_tool_prefix"; then 5404 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 5405set dummy ${ac_tool_prefix}ar; ac_word=$2 5406{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5407$as_echo_n "checking for $ac_word... " >&6; } 5408if test "${ac_cv_prog_AR+set}" = set; then : 5409 $as_echo_n "(cached) " >&6 5410else 5411 if test -n "$AR"; then 5412 ac_cv_prog_AR="$AR" # Let the user override the test. 5413else 5414as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5415for as_dir in $PATH 5416do 5417 IFS=$as_save_IFS 5418 test -z "$as_dir" && as_dir=. 5419 for ac_exec_ext in '' $ac_executable_extensions; do 5420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5421 ac_cv_prog_AR="${ac_tool_prefix}ar" 5422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5423 break 2 5424 fi 5425done 5426 done 5427IFS=$as_save_IFS 5428 5429fi 5430fi 5431AR=$ac_cv_prog_AR 5432if test -n "$AR"; then 5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5434$as_echo "$AR" >&6; } 5435else 5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5437$as_echo "no" >&6; } 5438fi 5439 5440 5441fi 5442if test -z "$ac_cv_prog_AR"; then 5443 ac_ct_AR=$AR 5444 # Extract the first word of "ar", so it can be a program name with args. 5445set dummy ar; ac_word=$2 5446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5447$as_echo_n "checking for $ac_word... " >&6; } 5448if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : 5449 $as_echo_n "(cached) " >&6 5450else 5451 if test -n "$ac_ct_AR"; then 5452 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5453else 5454as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5455for as_dir in $PATH 5456do 5457 IFS=$as_save_IFS 5458 test -z "$as_dir" && as_dir=. 5459 for ac_exec_ext in '' $ac_executable_extensions; do 5460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5461 ac_cv_prog_ac_ct_AR="ar" 5462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5463 break 2 5464 fi 5465done 5466 done 5467IFS=$as_save_IFS 5468 5469fi 5470fi 5471ac_ct_AR=$ac_cv_prog_ac_ct_AR 5472if test -n "$ac_ct_AR"; then 5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5474$as_echo "$ac_ct_AR" >&6; } 5475else 5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5477$as_echo "no" >&6; } 5478fi 5479 5480 if test "x$ac_ct_AR" = x; then 5481 AR="false" 5482 else 5483 case $cross_compiling:$ac_tool_warned in 5484yes:) 5485{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5486$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5487ac_tool_warned=yes ;; 5488esac 5489 AR=$ac_ct_AR 5490 fi 5491else 5492 AR="$ac_cv_prog_AR" 5493fi 5494 5495test -z "$AR" && AR=ar 5496test -z "$AR_FLAGS" && AR_FLAGS=cru 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508if test -n "$ac_tool_prefix"; then 5509 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5510set dummy ${ac_tool_prefix}strip; ac_word=$2 5511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5512$as_echo_n "checking for $ac_word... " >&6; } 5513if test "${ac_cv_prog_STRIP+set}" = set; then : 5514 $as_echo_n "(cached) " >&6 5515else 5516 if test -n "$STRIP"; then 5517 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5518else 5519as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5520for as_dir in $PATH 5521do 5522 IFS=$as_save_IFS 5523 test -z "$as_dir" && as_dir=. 5524 for ac_exec_ext in '' $ac_executable_extensions; do 5525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5526 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5528 break 2 5529 fi 5530done 5531 done 5532IFS=$as_save_IFS 5533 5534fi 5535fi 5536STRIP=$ac_cv_prog_STRIP 5537if test -n "$STRIP"; then 5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5539$as_echo "$STRIP" >&6; } 5540else 5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5542$as_echo "no" >&6; } 5543fi 5544 5545 5546fi 5547if test -z "$ac_cv_prog_STRIP"; then 5548 ac_ct_STRIP=$STRIP 5549 # Extract the first word of "strip", so it can be a program name with args. 5550set dummy strip; ac_word=$2 5551{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5552$as_echo_n "checking for $ac_word... " >&6; } 5553if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 5554 $as_echo_n "(cached) " >&6 5555else 5556 if test -n "$ac_ct_STRIP"; then 5557 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5558else 5559as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5560for as_dir in $PATH 5561do 5562 IFS=$as_save_IFS 5563 test -z "$as_dir" && as_dir=. 5564 for ac_exec_ext in '' $ac_executable_extensions; do 5565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5566 ac_cv_prog_ac_ct_STRIP="strip" 5567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5568 break 2 5569 fi 5570done 5571 done 5572IFS=$as_save_IFS 5573 5574fi 5575fi 5576ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5577if test -n "$ac_ct_STRIP"; then 5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5579$as_echo "$ac_ct_STRIP" >&6; } 5580else 5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5582$as_echo "no" >&6; } 5583fi 5584 5585 if test "x$ac_ct_STRIP" = x; then 5586 STRIP=":" 5587 else 5588 case $cross_compiling:$ac_tool_warned in 5589yes:) 5590{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5591$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5592ac_tool_warned=yes ;; 5593esac 5594 STRIP=$ac_ct_STRIP 5595 fi 5596else 5597 STRIP="$ac_cv_prog_STRIP" 5598fi 5599 5600test -z "$STRIP" && STRIP=: 5601 5602 5603 5604 5605 5606 5607if test -n "$ac_tool_prefix"; then 5608 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5609set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5610{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5611$as_echo_n "checking for $ac_word... " >&6; } 5612if test "${ac_cv_prog_RANLIB+set}" = set; then : 5613 $as_echo_n "(cached) " >&6 5614else 5615 if test -n "$RANLIB"; then 5616 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5617else 5618as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5619for as_dir in $PATH 5620do 5621 IFS=$as_save_IFS 5622 test -z "$as_dir" && as_dir=. 5623 for ac_exec_ext in '' $ac_executable_extensions; do 5624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5625 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5627 break 2 5628 fi 5629done 5630 done 5631IFS=$as_save_IFS 5632 5633fi 5634fi 5635RANLIB=$ac_cv_prog_RANLIB 5636if test -n "$RANLIB"; then 5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5638$as_echo "$RANLIB" >&6; } 5639else 5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5641$as_echo "no" >&6; } 5642fi 5643 5644 5645fi 5646if test -z "$ac_cv_prog_RANLIB"; then 5647 ac_ct_RANLIB=$RANLIB 5648 # Extract the first word of "ranlib", so it can be a program name with args. 5649set dummy ranlib; ac_word=$2 5650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5651$as_echo_n "checking for $ac_word... " >&6; } 5652if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 5653 $as_echo_n "(cached) " >&6 5654else 5655 if test -n "$ac_ct_RANLIB"; then 5656 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5657else 5658as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5659for as_dir in $PATH 5660do 5661 IFS=$as_save_IFS 5662 test -z "$as_dir" && as_dir=. 5663 for ac_exec_ext in '' $ac_executable_extensions; do 5664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5665 ac_cv_prog_ac_ct_RANLIB="ranlib" 5666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5667 break 2 5668 fi 5669done 5670 done 5671IFS=$as_save_IFS 5672 5673fi 5674fi 5675ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5676if test -n "$ac_ct_RANLIB"; then 5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 5678$as_echo "$ac_ct_RANLIB" >&6; } 5679else 5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5681$as_echo "no" >&6; } 5682fi 5683 5684 if test "x$ac_ct_RANLIB" = x; then 5685 RANLIB=":" 5686 else 5687 case $cross_compiling:$ac_tool_warned in 5688yes:) 5689{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5690$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5691ac_tool_warned=yes ;; 5692esac 5693 RANLIB=$ac_ct_RANLIB 5694 fi 5695else 5696 RANLIB="$ac_cv_prog_RANLIB" 5697fi 5698 5699test -z "$RANLIB" && RANLIB=: 5700 5701 5702 5703 5704 5705 5706# Determine commands to create old-style static archives. 5707old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 5708old_postinstall_cmds='chmod 644 $oldlib' 5709old_postuninstall_cmds= 5710 5711if test -n "$RANLIB"; then 5712 case $host_os in 5713 openbsd*) 5714 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 5715 ;; 5716 *) 5717 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 5718 ;; 5719 esac 5720 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 5721fi 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756# If no C compiler was specified, use CC. 5757LTCC=${LTCC-"$CC"} 5758 5759# If no C compiler flags were specified, use CFLAGS. 5760LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 5761 5762# Allow CC to be a program name with arguments. 5763compiler=$CC 5764 5765 5766# Check for command to grab the raw symbol name followed by C symbol from nm. 5767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 5768$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 5769if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : 5770 $as_echo_n "(cached) " >&6 5771else 5772 5773# These are sane defaults that work on at least a few old systems. 5774# [They come from Ultrix. What could be older than Ultrix?!! ;)] 5775 5776# Character class describing NM global symbol codes. 5777symcode='[BCDEGRST]' 5778 5779# Regexp to match symbols that can be accessed directly from C. 5780sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 5781 5782# Define system-specific variables. 5783case $host_os in 5784aix*) 5785 symcode='[BCDT]' 5786 ;; 5787cygwin* | mingw* | pw32* | cegcc*) 5788 symcode='[ABCDGISTW]' 5789 ;; 5790hpux*) 5791 if test "$host_cpu" = ia64; then 5792 symcode='[ABCDEGRST]' 5793 fi 5794 ;; 5795irix* | nonstopux*) 5796 symcode='[BCDEGRST]' 5797 ;; 5798osf*) 5799 symcode='[BCDEGQRST]' 5800 ;; 5801solaris*) 5802 symcode='[BDRT]' 5803 ;; 5804sco3.2v5*) 5805 symcode='[DT]' 5806 ;; 5807sysv4.2uw2*) 5808 symcode='[DT]' 5809 ;; 5810sysv5* | sco5v6* | unixware* | OpenUNIX*) 5811 symcode='[ABDT]' 5812 ;; 5813sysv4) 5814 symcode='[DFNSTU]' 5815 ;; 5816esac 5817 5818# If we're using GNU nm, then use its standard symbol codes. 5819case `$NM -V 2>&1` in 5820*GNU* | *'with BFD'*) 5821 symcode='[ABCDGIRSTW]' ;; 5822esac 5823 5824# Transform an extracted symbol line into a proper C declaration. 5825# Some systems (esp. on ia64) link data and code symbols differently, 5826# so use this general approach. 5827lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 5828 5829# Transform an extracted symbol line into symbol name and symbol address 5830lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 5831lt_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'" 5832 5833# Handle CRLF in mingw tool chain 5834opt_cr= 5835case $build_os in 5836mingw*) 5837 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 5838 ;; 5839esac 5840 5841# Try without a prefix underscore, then with it. 5842for ac_symprfx in "" "_"; do 5843 5844 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 5845 symxfrm="\\1 $ac_symprfx\\2 \\2" 5846 5847 # Write the raw and C identifiers. 5848 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 5849 # Fake it for dumpbin and say T for any non-static function 5850 # and D for any global variable. 5851 # Also find C++ and __fastcall symbols from MSVC++, 5852 # which start with @ or ?. 5853 lt_cv_sys_global_symbol_pipe="$AWK '"\ 5854" {last_section=section; section=\$ 3};"\ 5855" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 5856" \$ 0!~/External *\|/{next};"\ 5857" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 5858" {if(hide[section]) next};"\ 5859" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 5860" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 5861" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 5862" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 5863" ' prfx=^$ac_symprfx" 5864 else 5865 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 5866 fi 5867 5868 # Check to see that the pipe works correctly. 5869 pipe_works=no 5870 5871 rm -f conftest* 5872 cat > conftest.$ac_ext <<_LT_EOF 5873#ifdef __cplusplus 5874extern "C" { 5875#endif 5876char nm_test_var; 5877void nm_test_func(void); 5878void nm_test_func(void){} 5879#ifdef __cplusplus 5880} 5881#endif 5882int main(){nm_test_var='a';nm_test_func();return(0);} 5883_LT_EOF 5884 5885 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 5886 (eval $ac_compile) 2>&5 5887 ac_status=$? 5888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5889 test $ac_status = 0; }; then 5890 # Now try to grab the symbols. 5891 nlist=conftest.nm 5892 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 5893 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 5894 ac_status=$? 5895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5896 test $ac_status = 0; } && test -s "$nlist"; then 5897 # Try sorting and uniquifying the output. 5898 if sort "$nlist" | uniq > "$nlist"T; then 5899 mv -f "$nlist"T "$nlist" 5900 else 5901 rm -f "$nlist"T 5902 fi 5903 5904 # Make sure that we snagged all the symbols we need. 5905 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 5906 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 5907 cat <<_LT_EOF > conftest.$ac_ext 5908#ifdef __cplusplus 5909extern "C" { 5910#endif 5911 5912_LT_EOF 5913 # Now generate the symbol file. 5914 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 5915 5916 cat <<_LT_EOF >> conftest.$ac_ext 5917 5918/* The mapping between symbol names and symbols. */ 5919const struct { 5920 const char *name; 5921 void *address; 5922} 5923lt__PROGRAM__LTX_preloaded_symbols[] = 5924{ 5925 { "@PROGRAM@", (void *) 0 }, 5926_LT_EOF 5927 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 5928 cat <<\_LT_EOF >> conftest.$ac_ext 5929 {0, (void *) 0} 5930}; 5931 5932/* This works around a problem in FreeBSD linker */ 5933#ifdef FREEBSD_WORKAROUND 5934static const void *lt_preloaded_setup() { 5935 return lt__PROGRAM__LTX_preloaded_symbols; 5936} 5937#endif 5938 5939#ifdef __cplusplus 5940} 5941#endif 5942_LT_EOF 5943 # Now try linking the two files. 5944 mv conftest.$ac_objext conftstm.$ac_objext 5945 lt_save_LIBS="$LIBS" 5946 lt_save_CFLAGS="$CFLAGS" 5947 LIBS="conftstm.$ac_objext" 5948 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 5949 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 5950 (eval $ac_link) 2>&5 5951 ac_status=$? 5952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5953 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 5954 pipe_works=yes 5955 fi 5956 LIBS="$lt_save_LIBS" 5957 CFLAGS="$lt_save_CFLAGS" 5958 else 5959 echo "cannot find nm_test_func in $nlist" >&5 5960 fi 5961 else 5962 echo "cannot find nm_test_var in $nlist" >&5 5963 fi 5964 else 5965 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 5966 fi 5967 else 5968 echo "$progname: failed program was:" >&5 5969 cat conftest.$ac_ext >&5 5970 fi 5971 rm -rf conftest* conftst* 5972 5973 # Do not use the global_symbol_pipe unless it works. 5974 if test "$pipe_works" = yes; then 5975 break 5976 else 5977 lt_cv_sys_global_symbol_pipe= 5978 fi 5979done 5980 5981fi 5982 5983if test -z "$lt_cv_sys_global_symbol_pipe"; then 5984 lt_cv_sys_global_symbol_to_cdecl= 5985fi 5986if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 5988$as_echo "failed" >&6; } 5989else 5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 5991$as_echo "ok" >&6; } 5992fi 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016# Check whether --enable-libtool-lock was given. 6017if test "${enable_libtool_lock+set}" = set; then : 6018 enableval=$enable_libtool_lock; 6019fi 6020 6021test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 6022 6023# Some flags need to be propagated to the compiler or linker for good 6024# libtool support. 6025case $host in 6026ia64-*-hpux*) 6027 # Find out which ABI we are using. 6028 echo 'int i;' > conftest.$ac_ext 6029 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6030 (eval $ac_compile) 2>&5 6031 ac_status=$? 6032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6033 test $ac_status = 0; }; then 6034 case `/usr/bin/file conftest.$ac_objext` in 6035 *ELF-32*) 6036 HPUX_IA64_MODE="32" 6037 ;; 6038 *ELF-64*) 6039 HPUX_IA64_MODE="64" 6040 ;; 6041 esac 6042 fi 6043 rm -rf conftest* 6044 ;; 6045*-*-irix6*) 6046 # Find out which ABI we are using. 6047 echo '#line 6047 "configure"' > conftest.$ac_ext 6048 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6049 (eval $ac_compile) 2>&5 6050 ac_status=$? 6051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6052 test $ac_status = 0; }; then 6053 if test "$lt_cv_prog_gnu_ld" = yes; then 6054 case `/usr/bin/file conftest.$ac_objext` in 6055 *32-bit*) 6056 LD="${LD-ld} -melf32bsmip" 6057 ;; 6058 *N32*) 6059 LD="${LD-ld} -melf32bmipn32" 6060 ;; 6061 *64-bit*) 6062 LD="${LD-ld} -melf64bmip" 6063 ;; 6064 esac 6065 else 6066 case `/usr/bin/file conftest.$ac_objext` in 6067 *32-bit*) 6068 LD="${LD-ld} -32" 6069 ;; 6070 *N32*) 6071 LD="${LD-ld} -n32" 6072 ;; 6073 *64-bit*) 6074 LD="${LD-ld} -64" 6075 ;; 6076 esac 6077 fi 6078 fi 6079 rm -rf conftest* 6080 ;; 6081 6082x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 6083s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6084 # Find out which ABI we are using. 6085 echo 'int i;' > conftest.$ac_ext 6086 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6087 (eval $ac_compile) 2>&5 6088 ac_status=$? 6089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6090 test $ac_status = 0; }; then 6091 case `/usr/bin/file conftest.o` in 6092 *32-bit*) 6093 case $host in 6094 x86_64-*kfreebsd*-gnu) 6095 LD="${LD-ld} -m elf_i386_fbsd" 6096 ;; 6097 x86_64-*linux*) 6098 LD="${LD-ld} -m elf_i386" 6099 ;; 6100 ppc64-*linux*|powerpc64-*linux*) 6101 LD="${LD-ld} -m elf32ppclinux" 6102 ;; 6103 s390x-*linux*) 6104 LD="${LD-ld} -m elf_s390" 6105 ;; 6106 sparc64-*linux*) 6107 LD="${LD-ld} -m elf32_sparc" 6108 ;; 6109 esac 6110 ;; 6111 *64-bit*) 6112 case $host in 6113 x86_64-*kfreebsd*-gnu) 6114 LD="${LD-ld} -m elf_x86_64_fbsd" 6115 ;; 6116 x86_64-*linux*) 6117 LD="${LD-ld} -m elf_x86_64" 6118 ;; 6119 ppc*-*linux*|powerpc*-*linux*) 6120 LD="${LD-ld} -m elf64ppc" 6121 ;; 6122 s390*-*linux*|s390*-*tpf*) 6123 LD="${LD-ld} -m elf64_s390" 6124 ;; 6125 sparc*-*linux*) 6126 LD="${LD-ld} -m elf64_sparc" 6127 ;; 6128 esac 6129 ;; 6130 esac 6131 fi 6132 rm -rf conftest* 6133 ;; 6134 6135*-*-sco3.2v5*) 6136 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6137 SAVE_CFLAGS="$CFLAGS" 6138 CFLAGS="$CFLAGS -belf" 6139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6140$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6141if test "${lt_cv_cc_needs_belf+set}" = set; then : 6142 $as_echo_n "(cached) " >&6 6143else 6144 ac_ext=c 6145ac_cpp='$CPP $CPPFLAGS' 6146ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6147ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6148ac_compiler_gnu=$ac_cv_c_compiler_gnu 6149 6150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6151/* end confdefs.h. */ 6152 6153int 6154main () 6155{ 6156 6157 ; 6158 return 0; 6159} 6160_ACEOF 6161if ac_fn_c_try_link "$LINENO"; then : 6162 lt_cv_cc_needs_belf=yes 6163else 6164 lt_cv_cc_needs_belf=no 6165fi 6166rm -f core conftest.err conftest.$ac_objext \ 6167 conftest$ac_exeext conftest.$ac_ext 6168 ac_ext=c 6169ac_cpp='$CPP $CPPFLAGS' 6170ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6171ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6172ac_compiler_gnu=$ac_cv_c_compiler_gnu 6173 6174fi 6175{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6176$as_echo "$lt_cv_cc_needs_belf" >&6; } 6177 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 6178 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6179 CFLAGS="$SAVE_CFLAGS" 6180 fi 6181 ;; 6182sparc*-*solaris*) 6183 # Find out which ABI we are using. 6184 echo 'int i;' > conftest.$ac_ext 6185 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6186 (eval $ac_compile) 2>&5 6187 ac_status=$? 6188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6189 test $ac_status = 0; }; then 6190 case `/usr/bin/file conftest.o` in 6191 *64-bit*) 6192 case $lt_cv_prog_gnu_ld in 6193 yes*) LD="${LD-ld} -m elf64_sparc" ;; 6194 *) 6195 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6196 LD="${LD-ld} -64" 6197 fi 6198 ;; 6199 esac 6200 ;; 6201 esac 6202 fi 6203 rm -rf conftest* 6204 ;; 6205esac 6206 6207need_locks="$enable_libtool_lock" 6208 6209 6210 case $host_os in 6211 rhapsody* | darwin*) 6212 if test -n "$ac_tool_prefix"; then 6213 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6214set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6216$as_echo_n "checking for $ac_word... " >&6; } 6217if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : 6218 $as_echo_n "(cached) " >&6 6219else 6220 if test -n "$DSYMUTIL"; then 6221 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6222else 6223as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6224for as_dir in $PATH 6225do 6226 IFS=$as_save_IFS 6227 test -z "$as_dir" && as_dir=. 6228 for ac_exec_ext in '' $ac_executable_extensions; do 6229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6230 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6232 break 2 6233 fi 6234done 6235 done 6236IFS=$as_save_IFS 6237 6238fi 6239fi 6240DSYMUTIL=$ac_cv_prog_DSYMUTIL 6241if test -n "$DSYMUTIL"; then 6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6243$as_echo "$DSYMUTIL" >&6; } 6244else 6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6246$as_echo "no" >&6; } 6247fi 6248 6249 6250fi 6251if test -z "$ac_cv_prog_DSYMUTIL"; then 6252 ac_ct_DSYMUTIL=$DSYMUTIL 6253 # Extract the first word of "dsymutil", so it can be a program name with args. 6254set dummy dsymutil; ac_word=$2 6255{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6256$as_echo_n "checking for $ac_word... " >&6; } 6257if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : 6258 $as_echo_n "(cached) " >&6 6259else 6260 if test -n "$ac_ct_DSYMUTIL"; then 6261 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6262else 6263as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6264for as_dir in $PATH 6265do 6266 IFS=$as_save_IFS 6267 test -z "$as_dir" && as_dir=. 6268 for ac_exec_ext in '' $ac_executable_extensions; do 6269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6270 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6272 break 2 6273 fi 6274done 6275 done 6276IFS=$as_save_IFS 6277 6278fi 6279fi 6280ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6281if test -n "$ac_ct_DSYMUTIL"; then 6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 6283$as_echo "$ac_ct_DSYMUTIL" >&6; } 6284else 6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6286$as_echo "no" >&6; } 6287fi 6288 6289 if test "x$ac_ct_DSYMUTIL" = x; then 6290 DSYMUTIL=":" 6291 else 6292 case $cross_compiling:$ac_tool_warned in 6293yes:) 6294{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6295$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6296ac_tool_warned=yes ;; 6297esac 6298 DSYMUTIL=$ac_ct_DSYMUTIL 6299 fi 6300else 6301 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6302fi 6303 6304 if test -n "$ac_tool_prefix"; then 6305 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6306set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6308$as_echo_n "checking for $ac_word... " >&6; } 6309if test "${ac_cv_prog_NMEDIT+set}" = set; then : 6310 $as_echo_n "(cached) " >&6 6311else 6312 if test -n "$NMEDIT"; then 6313 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6314else 6315as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6316for as_dir in $PATH 6317do 6318 IFS=$as_save_IFS 6319 test -z "$as_dir" && as_dir=. 6320 for ac_exec_ext in '' $ac_executable_extensions; do 6321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6322 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6324 break 2 6325 fi 6326done 6327 done 6328IFS=$as_save_IFS 6329 6330fi 6331fi 6332NMEDIT=$ac_cv_prog_NMEDIT 6333if test -n "$NMEDIT"; then 6334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 6335$as_echo "$NMEDIT" >&6; } 6336else 6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6338$as_echo "no" >&6; } 6339fi 6340 6341 6342fi 6343if test -z "$ac_cv_prog_NMEDIT"; then 6344 ac_ct_NMEDIT=$NMEDIT 6345 # Extract the first word of "nmedit", so it can be a program name with args. 6346set dummy nmedit; ac_word=$2 6347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6348$as_echo_n "checking for $ac_word... " >&6; } 6349if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : 6350 $as_echo_n "(cached) " >&6 6351else 6352 if test -n "$ac_ct_NMEDIT"; then 6353 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6354else 6355as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6356for as_dir in $PATH 6357do 6358 IFS=$as_save_IFS 6359 test -z "$as_dir" && as_dir=. 6360 for ac_exec_ext in '' $ac_executable_extensions; do 6361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6362 ac_cv_prog_ac_ct_NMEDIT="nmedit" 6363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6364 break 2 6365 fi 6366done 6367 done 6368IFS=$as_save_IFS 6369 6370fi 6371fi 6372ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 6373if test -n "$ac_ct_NMEDIT"; then 6374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 6375$as_echo "$ac_ct_NMEDIT" >&6; } 6376else 6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6378$as_echo "no" >&6; } 6379fi 6380 6381 if test "x$ac_ct_NMEDIT" = x; then 6382 NMEDIT=":" 6383 else 6384 case $cross_compiling:$ac_tool_warned in 6385yes:) 6386{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6387$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6388ac_tool_warned=yes ;; 6389esac 6390 NMEDIT=$ac_ct_NMEDIT 6391 fi 6392else 6393 NMEDIT="$ac_cv_prog_NMEDIT" 6394fi 6395 6396 if test -n "$ac_tool_prefix"; then 6397 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 6398set dummy ${ac_tool_prefix}lipo; ac_word=$2 6399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6400$as_echo_n "checking for $ac_word... " >&6; } 6401if test "${ac_cv_prog_LIPO+set}" = set; then : 6402 $as_echo_n "(cached) " >&6 6403else 6404 if test -n "$LIPO"; then 6405 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 6406else 6407as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6408for as_dir in $PATH 6409do 6410 IFS=$as_save_IFS 6411 test -z "$as_dir" && as_dir=. 6412 for ac_exec_ext in '' $ac_executable_extensions; do 6413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6414 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 6415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6416 break 2 6417 fi 6418done 6419 done 6420IFS=$as_save_IFS 6421 6422fi 6423fi 6424LIPO=$ac_cv_prog_LIPO 6425if test -n "$LIPO"; then 6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 6427$as_echo "$LIPO" >&6; } 6428else 6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6430$as_echo "no" >&6; } 6431fi 6432 6433 6434fi 6435if test -z "$ac_cv_prog_LIPO"; then 6436 ac_ct_LIPO=$LIPO 6437 # Extract the first word of "lipo", so it can be a program name with args. 6438set dummy lipo; ac_word=$2 6439{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6440$as_echo_n "checking for $ac_word... " >&6; } 6441if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : 6442 $as_echo_n "(cached) " >&6 6443else 6444 if test -n "$ac_ct_LIPO"; then 6445 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 6446else 6447as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6448for as_dir in $PATH 6449do 6450 IFS=$as_save_IFS 6451 test -z "$as_dir" && as_dir=. 6452 for ac_exec_ext in '' $ac_executable_extensions; do 6453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6454 ac_cv_prog_ac_ct_LIPO="lipo" 6455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6456 break 2 6457 fi 6458done 6459 done 6460IFS=$as_save_IFS 6461 6462fi 6463fi 6464ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 6465if test -n "$ac_ct_LIPO"; then 6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 6467$as_echo "$ac_ct_LIPO" >&6; } 6468else 6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6470$as_echo "no" >&6; } 6471fi 6472 6473 if test "x$ac_ct_LIPO" = x; then 6474 LIPO=":" 6475 else 6476 case $cross_compiling:$ac_tool_warned in 6477yes:) 6478{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6479$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6480ac_tool_warned=yes ;; 6481esac 6482 LIPO=$ac_ct_LIPO 6483 fi 6484else 6485 LIPO="$ac_cv_prog_LIPO" 6486fi 6487 6488 if test -n "$ac_tool_prefix"; then 6489 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 6490set dummy ${ac_tool_prefix}otool; ac_word=$2 6491{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6492$as_echo_n "checking for $ac_word... " >&6; } 6493if test "${ac_cv_prog_OTOOL+set}" = set; then : 6494 $as_echo_n "(cached) " >&6 6495else 6496 if test -n "$OTOOL"; then 6497 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 6498else 6499as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6500for as_dir in $PATH 6501do 6502 IFS=$as_save_IFS 6503 test -z "$as_dir" && as_dir=. 6504 for ac_exec_ext in '' $ac_executable_extensions; do 6505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6506 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 6507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6508 break 2 6509 fi 6510done 6511 done 6512IFS=$as_save_IFS 6513 6514fi 6515fi 6516OTOOL=$ac_cv_prog_OTOOL 6517if test -n "$OTOOL"; then 6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 6519$as_echo "$OTOOL" >&6; } 6520else 6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6522$as_echo "no" >&6; } 6523fi 6524 6525 6526fi 6527if test -z "$ac_cv_prog_OTOOL"; then 6528 ac_ct_OTOOL=$OTOOL 6529 # Extract the first word of "otool", so it can be a program name with args. 6530set dummy otool; ac_word=$2 6531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6532$as_echo_n "checking for $ac_word... " >&6; } 6533if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : 6534 $as_echo_n "(cached) " >&6 6535else 6536 if test -n "$ac_ct_OTOOL"; then 6537 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 6538else 6539as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6540for as_dir in $PATH 6541do 6542 IFS=$as_save_IFS 6543 test -z "$as_dir" && as_dir=. 6544 for ac_exec_ext in '' $ac_executable_extensions; do 6545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6546 ac_cv_prog_ac_ct_OTOOL="otool" 6547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6548 break 2 6549 fi 6550done 6551 done 6552IFS=$as_save_IFS 6553 6554fi 6555fi 6556ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 6557if test -n "$ac_ct_OTOOL"; then 6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 6559$as_echo "$ac_ct_OTOOL" >&6; } 6560else 6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6562$as_echo "no" >&6; } 6563fi 6564 6565 if test "x$ac_ct_OTOOL" = x; then 6566 OTOOL=":" 6567 else 6568 case $cross_compiling:$ac_tool_warned in 6569yes:) 6570{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6571$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6572ac_tool_warned=yes ;; 6573esac 6574 OTOOL=$ac_ct_OTOOL 6575 fi 6576else 6577 OTOOL="$ac_cv_prog_OTOOL" 6578fi 6579 6580 if test -n "$ac_tool_prefix"; then 6581 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 6582set dummy ${ac_tool_prefix}otool64; ac_word=$2 6583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6584$as_echo_n "checking for $ac_word... " >&6; } 6585if test "${ac_cv_prog_OTOOL64+set}" = set; then : 6586 $as_echo_n "(cached) " >&6 6587else 6588 if test -n "$OTOOL64"; then 6589 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 6590else 6591as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6592for as_dir in $PATH 6593do 6594 IFS=$as_save_IFS 6595 test -z "$as_dir" && as_dir=. 6596 for ac_exec_ext in '' $ac_executable_extensions; do 6597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6598 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 6599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6600 break 2 6601 fi 6602done 6603 done 6604IFS=$as_save_IFS 6605 6606fi 6607fi 6608OTOOL64=$ac_cv_prog_OTOOL64 6609if test -n "$OTOOL64"; then 6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 6611$as_echo "$OTOOL64" >&6; } 6612else 6613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6614$as_echo "no" >&6; } 6615fi 6616 6617 6618fi 6619if test -z "$ac_cv_prog_OTOOL64"; then 6620 ac_ct_OTOOL64=$OTOOL64 6621 # Extract the first word of "otool64", so it can be a program name with args. 6622set dummy otool64; ac_word=$2 6623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6624$as_echo_n "checking for $ac_word... " >&6; } 6625if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : 6626 $as_echo_n "(cached) " >&6 6627else 6628 if test -n "$ac_ct_OTOOL64"; then 6629 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 6630else 6631as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6632for as_dir in $PATH 6633do 6634 IFS=$as_save_IFS 6635 test -z "$as_dir" && as_dir=. 6636 for ac_exec_ext in '' $ac_executable_extensions; do 6637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6638 ac_cv_prog_ac_ct_OTOOL64="otool64" 6639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6640 break 2 6641 fi 6642done 6643 done 6644IFS=$as_save_IFS 6645 6646fi 6647fi 6648ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 6649if test -n "$ac_ct_OTOOL64"; then 6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 6651$as_echo "$ac_ct_OTOOL64" >&6; } 6652else 6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6654$as_echo "no" >&6; } 6655fi 6656 6657 if test "x$ac_ct_OTOOL64" = x; then 6658 OTOOL64=":" 6659 else 6660 case $cross_compiling:$ac_tool_warned in 6661yes:) 6662{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6663$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6664ac_tool_warned=yes ;; 6665esac 6666 OTOOL64=$ac_ct_OTOOL64 6667 fi 6668else 6669 OTOOL64="$ac_cv_prog_OTOOL64" 6670fi 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 6699$as_echo_n "checking for -single_module linker flag... " >&6; } 6700if test "${lt_cv_apple_cc_single_mod+set}" = set; then : 6701 $as_echo_n "(cached) " >&6 6702else 6703 lt_cv_apple_cc_single_mod=no 6704 if test -z "${LT_MULTI_MODULE}"; then 6705 # By default we will add the -single_module flag. You can override 6706 # by either setting the environment variable LT_MULTI_MODULE 6707 # non-empty at configure time, or by adding -multi_module to the 6708 # link flags. 6709 rm -rf libconftest.dylib* 6710 echo "int foo(void){return 1;}" > conftest.c 6711 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 6712-dynamiclib -Wl,-single_module conftest.c" >&5 6713 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 6714 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 6715 _lt_result=$? 6716 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then 6717 lt_cv_apple_cc_single_mod=yes 6718 else 6719 cat conftest.err >&5 6720 fi 6721 rm -rf libconftest.dylib* 6722 rm -f conftest.* 6723 fi 6724fi 6725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 6726$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 6727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 6728$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 6729if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : 6730 $as_echo_n "(cached) " >&6 6731else 6732 lt_cv_ld_exported_symbols_list=no 6733 save_LDFLAGS=$LDFLAGS 6734 echo "_main" > conftest.sym 6735 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 6736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6737/* end confdefs.h. */ 6738 6739int 6740main () 6741{ 6742 6743 ; 6744 return 0; 6745} 6746_ACEOF 6747if ac_fn_c_try_link "$LINENO"; then : 6748 lt_cv_ld_exported_symbols_list=yes 6749else 6750 lt_cv_ld_exported_symbols_list=no 6751fi 6752rm -f core conftest.err conftest.$ac_objext \ 6753 conftest$ac_exeext conftest.$ac_ext 6754 LDFLAGS="$save_LDFLAGS" 6755 6756fi 6757{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 6758$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 6759 case $host_os in 6760 rhapsody* | darwin1.[012]) 6761 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 6762 darwin1.*) 6763 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 6764 darwin*) # darwin 5.x on 6765 # if running on 10.5 or later, the deployment target defaults 6766 # to the OS version, if on x86, and 10.4, the deployment 6767 # target defaults to 10.4. Don't you love it? 6768 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 6769 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 6770 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 6771 10.[012]*) 6772 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 6773 10.*) 6774 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 6775 esac 6776 ;; 6777 esac 6778 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 6779 _lt_dar_single_mod='$single_module' 6780 fi 6781 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 6782 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 6783 else 6784 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 6785 fi 6786 if test "$DSYMUTIL" != ":"; then 6787 _lt_dsymutil='~$DSYMUTIL $lib || :' 6788 else 6789 _lt_dsymutil= 6790 fi 6791 ;; 6792 esac 6793 6794ac_ext=c 6795ac_cpp='$CPP $CPPFLAGS' 6796ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6797ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6798ac_compiler_gnu=$ac_cv_c_compiler_gnu 6799{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 6800$as_echo_n "checking how to run the C preprocessor... " >&6; } 6801# On Suns, sometimes $CPP names a directory. 6802if test -n "$CPP" && test -d "$CPP"; then 6803 CPP= 6804fi 6805if test -z "$CPP"; then 6806 if test "${ac_cv_prog_CPP+set}" = set; then : 6807 $as_echo_n "(cached) " >&6 6808else 6809 # Double quotes because CPP needs to be expanded 6810 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 6811 do 6812 ac_preproc_ok=false 6813for ac_c_preproc_warn_flag in '' yes 6814do 6815 # Use a header file that comes with gcc, so configuring glibc 6816 # with a fresh cross-compiler works. 6817 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6818 # <limits.h> exists even on freestanding compilers. 6819 # On the NeXT, cc -E runs the code through the compiler's parser, 6820 # not just through cpp. "Syntax error" is here to catch this case. 6821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6822/* end confdefs.h. */ 6823#ifdef __STDC__ 6824# include <limits.h> 6825#else 6826# include <assert.h> 6827#endif 6828 Syntax error 6829_ACEOF 6830if ac_fn_c_try_cpp "$LINENO"; then : 6831 6832else 6833 # Broken: fails on valid input. 6834continue 6835fi 6836rm -f conftest.err conftest.$ac_ext 6837 6838 # OK, works on sane cases. Now check whether nonexistent headers 6839 # can be detected and how. 6840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6841/* end confdefs.h. */ 6842#include <ac_nonexistent.h> 6843_ACEOF 6844if ac_fn_c_try_cpp "$LINENO"; then : 6845 # Broken: success on invalid input. 6846continue 6847else 6848 # Passes both tests. 6849ac_preproc_ok=: 6850break 6851fi 6852rm -f conftest.err conftest.$ac_ext 6853 6854done 6855# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6856rm -f conftest.err conftest.$ac_ext 6857if $ac_preproc_ok; then : 6858 break 6859fi 6860 6861 done 6862 ac_cv_prog_CPP=$CPP 6863 6864fi 6865 CPP=$ac_cv_prog_CPP 6866else 6867 ac_cv_prog_CPP=$CPP 6868fi 6869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 6870$as_echo "$CPP" >&6; } 6871ac_preproc_ok=false 6872for ac_c_preproc_warn_flag in '' yes 6873do 6874 # Use a header file that comes with gcc, so configuring glibc 6875 # with a fresh cross-compiler works. 6876 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6877 # <limits.h> exists even on freestanding compilers. 6878 # On the NeXT, cc -E runs the code through the compiler's parser, 6879 # not just through cpp. "Syntax error" is here to catch this case. 6880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6881/* end confdefs.h. */ 6882#ifdef __STDC__ 6883# include <limits.h> 6884#else 6885# include <assert.h> 6886#endif 6887 Syntax error 6888_ACEOF 6889if ac_fn_c_try_cpp "$LINENO"; then : 6890 6891else 6892 # Broken: fails on valid input. 6893continue 6894fi 6895rm -f conftest.err conftest.$ac_ext 6896 6897 # OK, works on sane cases. Now check whether nonexistent headers 6898 # can be detected and how. 6899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6900/* end confdefs.h. */ 6901#include <ac_nonexistent.h> 6902_ACEOF 6903if ac_fn_c_try_cpp "$LINENO"; then : 6904 # Broken: success on invalid input. 6905continue 6906else 6907 # Passes both tests. 6908ac_preproc_ok=: 6909break 6910fi 6911rm -f conftest.err conftest.$ac_ext 6912 6913done 6914# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6915rm -f conftest.err conftest.$ac_ext 6916if $ac_preproc_ok; then : 6917 6918else 6919 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6920$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6921as_fn_error "C preprocessor \"$CPP\" fails sanity check 6922See \`config.log' for more details." "$LINENO" 5; } 6923fi 6924 6925ac_ext=c 6926ac_cpp='$CPP $CPPFLAGS' 6927ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6928ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6929ac_compiler_gnu=$ac_cv_c_compiler_gnu 6930 6931 6932{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 6933$as_echo_n "checking for ANSI C header files... " >&6; } 6934if test "${ac_cv_header_stdc+set}" = set; then : 6935 $as_echo_n "(cached) " >&6 6936else 6937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6938/* end confdefs.h. */ 6939#include <stdlib.h> 6940#include <stdarg.h> 6941#include <string.h> 6942#include <float.h> 6943 6944int 6945main () 6946{ 6947 6948 ; 6949 return 0; 6950} 6951_ACEOF 6952if ac_fn_c_try_compile "$LINENO"; then : 6953 ac_cv_header_stdc=yes 6954else 6955 ac_cv_header_stdc=no 6956fi 6957rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6958 6959if test $ac_cv_header_stdc = yes; then 6960 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6962/* end confdefs.h. */ 6963#include <string.h> 6964 6965_ACEOF 6966if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6967 $EGREP "memchr" >/dev/null 2>&1; then : 6968 6969else 6970 ac_cv_header_stdc=no 6971fi 6972rm -f conftest* 6973 6974fi 6975 6976if test $ac_cv_header_stdc = yes; then 6977 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 6978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6979/* end confdefs.h. */ 6980#include <stdlib.h> 6981 6982_ACEOF 6983if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6984 $EGREP "free" >/dev/null 2>&1; then : 6985 6986else 6987 ac_cv_header_stdc=no 6988fi 6989rm -f conftest* 6990 6991fi 6992 6993if test $ac_cv_header_stdc = yes; then 6994 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 6995 if test "$cross_compiling" = yes; then : 6996 : 6997else 6998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6999/* end confdefs.h. */ 7000#include <ctype.h> 7001#include <stdlib.h> 7002#if ((' ' & 0x0FF) == 0x020) 7003# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7004# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7005#else 7006# define ISLOWER(c) \ 7007 (('a' <= (c) && (c) <= 'i') \ 7008 || ('j' <= (c) && (c) <= 'r') \ 7009 || ('s' <= (c) && (c) <= 'z')) 7010# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7011#endif 7012 7013#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7014int 7015main () 7016{ 7017 int i; 7018 for (i = 0; i < 256; i++) 7019 if (XOR (islower (i), ISLOWER (i)) 7020 || toupper (i) != TOUPPER (i)) 7021 return 2; 7022 return 0; 7023} 7024_ACEOF 7025if ac_fn_c_try_run "$LINENO"; then : 7026 7027else 7028 ac_cv_header_stdc=no 7029fi 7030rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7031 conftest.$ac_objext conftest.beam conftest.$ac_ext 7032fi 7033 7034fi 7035fi 7036{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7037$as_echo "$ac_cv_header_stdc" >&6; } 7038if test $ac_cv_header_stdc = yes; then 7039 7040$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7041 7042fi 7043 7044# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7045for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7046 inttypes.h stdint.h unistd.h 7047do : 7048 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7049ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7050" 7051eval as_val=\$$as_ac_Header 7052 if test "x$as_val" = x""yes; then : 7053 cat >>confdefs.h <<_ACEOF 7054#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7055_ACEOF 7056 7057fi 7058 7059done 7060 7061 7062for ac_header in dlfcn.h 7063do : 7064 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7065" 7066if test "x$ac_cv_header_dlfcn_h" = x""yes; then : 7067 cat >>confdefs.h <<_ACEOF 7068#define HAVE_DLFCN_H 1 7069_ACEOF 7070 7071fi 7072 7073done 7074 7075 7076 7077# Set options 7078 7079 7080 7081 enable_dlopen=no 7082 7083 7084 7085 # Check whether --enable-shared was given. 7086if test "${enable_shared+set}" = set; then : 7087 enableval=$enable_shared; p=${PACKAGE-default} 7088 case $enableval in 7089 yes) enable_shared=yes ;; 7090 no) enable_shared=no ;; 7091 *) 7092 enable_shared=no 7093 # Look at the argument we got. We use all the common list separators. 7094 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7095 for pkg in $enableval; do 7096 IFS="$lt_save_ifs" 7097 if test "X$pkg" = "X$p"; then 7098 enable_shared=yes 7099 fi 7100 done 7101 IFS="$lt_save_ifs" 7102 ;; 7103 esac 7104else 7105 enable_shared=yes 7106fi 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118# Check whether --with-pic was given. 7119if test "${with_pic+set}" = set; then : 7120 withval=$with_pic; pic_mode="$withval" 7121else 7122 pic_mode=default 7123fi 7124 7125 7126test -z "$pic_mode" && pic_mode=default 7127 7128 7129 7130 7131 7132 7133 7134 # Check whether --enable-fast-install was given. 7135if test "${enable_fast_install+set}" = set; then : 7136 enableval=$enable_fast_install; p=${PACKAGE-default} 7137 case $enableval in 7138 yes) enable_fast_install=yes ;; 7139 no) enable_fast_install=no ;; 7140 *) 7141 enable_fast_install=no 7142 # Look at the argument we got. We use all the common list separators. 7143 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7144 for pkg in $enableval; do 7145 IFS="$lt_save_ifs" 7146 if test "X$pkg" = "X$p"; then 7147 enable_fast_install=yes 7148 fi 7149 done 7150 IFS="$lt_save_ifs" 7151 ;; 7152 esac 7153else 7154 enable_fast_install=yes 7155fi 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167# This can be used to rebuild libtool when needed 7168LIBTOOL_DEPS="$ltmain" 7169 7170# Always use our own libtool. 7171LIBTOOL='$(SHELL) $(top_builddir)/libtool' 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197test -z "$LN_S" && LN_S="ln -s" 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212if test -n "${ZSH_VERSION+set}" ; then 7213 setopt NO_GLOB_SUBST 7214fi 7215 7216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 7217$as_echo_n "checking for objdir... " >&6; } 7218if test "${lt_cv_objdir+set}" = set; then : 7219 $as_echo_n "(cached) " >&6 7220else 7221 rm -f .libs 2>/dev/null 7222mkdir .libs 2>/dev/null 7223if test -d .libs; then 7224 lt_cv_objdir=.libs 7225else 7226 # MS-DOS does not allow filenames that begin with a dot. 7227 lt_cv_objdir=_libs 7228fi 7229rmdir .libs 2>/dev/null 7230fi 7231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 7232$as_echo "$lt_cv_objdir" >&6; } 7233objdir=$lt_cv_objdir 7234 7235 7236 7237 7238 7239cat >>confdefs.h <<_ACEOF 7240#define LT_OBJDIR "$lt_cv_objdir/" 7241_ACEOF 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259case $host_os in 7260aix3*) 7261 # AIX sometimes has problems with the GCC collect2 program. For some 7262 # reason, if we set the COLLECT_NAMES environment variable, the problems 7263 # vanish in a puff of smoke. 7264 if test "X${COLLECT_NAMES+set}" != Xset; then 7265 COLLECT_NAMES= 7266 export COLLECT_NAMES 7267 fi 7268 ;; 7269esac 7270 7271# Sed substitution that helps us do robust quoting. It backslashifies 7272# metacharacters that are still active within double-quoted strings. 7273sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 7274 7275# Same as above, but do not quote variable references. 7276double_quote_subst='s/\(["`\\]\)/\\\1/g' 7277 7278# Sed substitution to delay expansion of an escaped shell variable in a 7279# double_quote_subst'ed string. 7280delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 7281 7282# Sed substitution to delay expansion of an escaped single quote. 7283delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 7284 7285# Sed substitution to avoid accidental globbing in evaled expressions 7286no_glob_subst='s/\*/\\\*/g' 7287 7288# Global variables: 7289ofile=libtool 7290can_build_shared=yes 7291 7292# All known linkers require a `.a' archive for static linking (except MSVC, 7293# which needs '.lib'). 7294libext=a 7295 7296with_gnu_ld="$lt_cv_prog_gnu_ld" 7297 7298old_CC="$CC" 7299old_CFLAGS="$CFLAGS" 7300 7301# Set sane defaults for various variables 7302test -z "$CC" && CC=cc 7303test -z "$LTCC" && LTCC=$CC 7304test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7305test -z "$LD" && LD=ld 7306test -z "$ac_objext" && ac_objext=o 7307 7308for cc_temp in $compiler""; do 7309 case $cc_temp in 7310 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7311 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7312 \-*) ;; 7313 *) break;; 7314 esac 7315done 7316cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 7317 7318 7319# Only perform the check for file, if the check method requires it 7320test -z "$MAGIC_CMD" && MAGIC_CMD=file 7321case $deplibs_check_method in 7322file_magic*) 7323 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 7325$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 7326if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 7327 $as_echo_n "(cached) " >&6 7328else 7329 case $MAGIC_CMD in 7330[\\/*] | ?:[\\/]*) 7331 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7332 ;; 7333*) 7334 lt_save_MAGIC_CMD="$MAGIC_CMD" 7335 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7336 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7337 for ac_dir in $ac_dummy; do 7338 IFS="$lt_save_ifs" 7339 test -z "$ac_dir" && ac_dir=. 7340 if test -f $ac_dir/${ac_tool_prefix}file; then 7341 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 7342 if test -n "$file_magic_test_file"; then 7343 case $deplibs_check_method in 7344 "file_magic "*) 7345 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7346 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7347 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7348 $EGREP "$file_magic_regex" > /dev/null; then 7349 : 7350 else 7351 cat <<_LT_EOF 1>&2 7352 7353*** Warning: the command libtool uses to detect shared libraries, 7354*** $file_magic_cmd, produces output that libtool cannot recognize. 7355*** The result is that libtool may fail to recognize shared libraries 7356*** as such. This will affect the creation of libtool libraries that 7357*** depend on shared libraries, but programs linked with such libtool 7358*** libraries will work regardless of this problem. Nevertheless, you 7359*** may want to report the problem to your system manager and/or to 7360*** bug-libtool@gnu.org 7361 7362_LT_EOF 7363 fi ;; 7364 esac 7365 fi 7366 break 7367 fi 7368 done 7369 IFS="$lt_save_ifs" 7370 MAGIC_CMD="$lt_save_MAGIC_CMD" 7371 ;; 7372esac 7373fi 7374 7375MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7376if test -n "$MAGIC_CMD"; then 7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7378$as_echo "$MAGIC_CMD" >&6; } 7379else 7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7381$as_echo "no" >&6; } 7382fi 7383 7384 7385 7386 7387 7388if test -z "$lt_cv_path_MAGIC_CMD"; then 7389 if test -n "$ac_tool_prefix"; then 7390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 7391$as_echo_n "checking for file... " >&6; } 7392if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 7393 $as_echo_n "(cached) " >&6 7394else 7395 case $MAGIC_CMD in 7396[\\/*] | ?:[\\/]*) 7397 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7398 ;; 7399*) 7400 lt_save_MAGIC_CMD="$MAGIC_CMD" 7401 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7402 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7403 for ac_dir in $ac_dummy; do 7404 IFS="$lt_save_ifs" 7405 test -z "$ac_dir" && ac_dir=. 7406 if test -f $ac_dir/file; then 7407 lt_cv_path_MAGIC_CMD="$ac_dir/file" 7408 if test -n "$file_magic_test_file"; then 7409 case $deplibs_check_method in 7410 "file_magic "*) 7411 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7412 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7413 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7414 $EGREP "$file_magic_regex" > /dev/null; then 7415 : 7416 else 7417 cat <<_LT_EOF 1>&2 7418 7419*** Warning: the command libtool uses to detect shared libraries, 7420*** $file_magic_cmd, produces output that libtool cannot recognize. 7421*** The result is that libtool may fail to recognize shared libraries 7422*** as such. This will affect the creation of libtool libraries that 7423*** depend on shared libraries, but programs linked with such libtool 7424*** libraries will work regardless of this problem. Nevertheless, you 7425*** may want to report the problem to your system manager and/or to 7426*** bug-libtool@gnu.org 7427 7428_LT_EOF 7429 fi ;; 7430 esac 7431 fi 7432 break 7433 fi 7434 done 7435 IFS="$lt_save_ifs" 7436 MAGIC_CMD="$lt_save_MAGIC_CMD" 7437 ;; 7438esac 7439fi 7440 7441MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7442if test -n "$MAGIC_CMD"; then 7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7444$as_echo "$MAGIC_CMD" >&6; } 7445else 7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7447$as_echo "no" >&6; } 7448fi 7449 7450 7451 else 7452 MAGIC_CMD=: 7453 fi 7454fi 7455 7456 fi 7457 ;; 7458esac 7459 7460# Use C for the default configuration in the libtool script 7461 7462lt_save_CC="$CC" 7463ac_ext=c 7464ac_cpp='$CPP $CPPFLAGS' 7465ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7466ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7467ac_compiler_gnu=$ac_cv_c_compiler_gnu 7468 7469 7470# Source file extension for C test sources. 7471ac_ext=c 7472 7473# Object file extension for compiled C test sources. 7474objext=o 7475objext=$objext 7476 7477# Code to be used in simple compile tests 7478lt_simple_compile_test_code="int some_variable = 0;" 7479 7480# Code to be used in simple link tests 7481lt_simple_link_test_code='int main(){return(0);}' 7482 7483 7484 7485 7486 7487 7488 7489# If no C compiler was specified, use CC. 7490LTCC=${LTCC-"$CC"} 7491 7492# If no C compiler flags were specified, use CFLAGS. 7493LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7494 7495# Allow CC to be a program name with arguments. 7496compiler=$CC 7497 7498# Save the default compiler, since it gets overwritten when the other 7499# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 7500compiler_DEFAULT=$CC 7501 7502# save warnings/boilerplate of simple test code 7503ac_outfile=conftest.$ac_objext 7504echo "$lt_simple_compile_test_code" >conftest.$ac_ext 7505eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7506_lt_compiler_boilerplate=`cat conftest.err` 7507$RM conftest* 7508 7509ac_outfile=conftest.$ac_objext 7510echo "$lt_simple_link_test_code" >conftest.$ac_ext 7511eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7512_lt_linker_boilerplate=`cat conftest.err` 7513$RM -r conftest* 7514 7515 7516if test -n "$compiler"; then 7517 7518lt_prog_compiler_no_builtin_flag= 7519 7520if test "$GCC" = yes; then 7521 lt_prog_compiler_no_builtin_flag=' -fno-builtin' 7522 7523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 7524$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 7525if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : 7526 $as_echo_n "(cached) " >&6 7527else 7528 lt_cv_prog_compiler_rtti_exceptions=no 7529 ac_outfile=conftest.$ac_objext 7530 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7531 lt_compiler_flag="-fno-rtti -fno-exceptions" 7532 # Insert the option either (1) after the last *FLAGS variable, or 7533 # (2) before a word containing "conftest.", or (3) at the end. 7534 # Note that $ac_compile itself does not contain backslashes and begins 7535 # with a dollar sign (not a hyphen), so the echo should work correctly. 7536 # The option is referenced via a variable to avoid confusing sed. 7537 lt_compile=`echo "$ac_compile" | $SED \ 7538 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7539 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7540 -e 's:$: $lt_compiler_flag:'` 7541 (eval echo "\"\$as_me:7541: $lt_compile\"" >&5) 7542 (eval "$lt_compile" 2>conftest.err) 7543 ac_status=$? 7544 cat conftest.err >&5 7545 echo "$as_me:7545: \$? = $ac_status" >&5 7546 if (exit $ac_status) && test -s "$ac_outfile"; then 7547 # The compiler can only warn and ignore the option if not recognized 7548 # So say no if there are warnings other than the usual output. 7549 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 7550 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7551 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 7552 lt_cv_prog_compiler_rtti_exceptions=yes 7553 fi 7554 fi 7555 $RM conftest* 7556 7557fi 7558{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 7559$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 7560 7561if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 7562 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 7563else 7564 : 7565fi 7566 7567fi 7568 7569 7570 7571 7572 7573 7574 lt_prog_compiler_wl= 7575lt_prog_compiler_pic= 7576lt_prog_compiler_static= 7577 7578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 7579$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 7580 7581 if test "$GCC" = yes; then 7582 lt_prog_compiler_wl='-Wl,' 7583 lt_prog_compiler_static='-static' 7584 7585 case $host_os in 7586 aix*) 7587 # All AIX code is PIC. 7588 if test "$host_cpu" = ia64; then 7589 # AIX 5 now supports IA64 processor 7590 lt_prog_compiler_static='-Bstatic' 7591 fi 7592 ;; 7593 7594 amigaos*) 7595 case $host_cpu in 7596 powerpc) 7597 # see comment about AmigaOS4 .so support 7598 lt_prog_compiler_pic='-fPIC' 7599 ;; 7600 m68k) 7601 # FIXME: we need at least 68020 code to build shared libraries, but 7602 # adding the `-m68020' flag to GCC prevents building anything better, 7603 # like `-m68040'. 7604 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 7605 ;; 7606 esac 7607 ;; 7608 7609 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 7610 # PIC is the default for these OSes. 7611 ;; 7612 7613 mingw* | cygwin* | pw32* | os2* | cegcc*) 7614 # This hack is so that the source file can tell whether it is being 7615 # built for inclusion in a dll (and should export symbols for example). 7616 # Although the cygwin gcc ignores -fPIC, still need this for old-style 7617 # (--disable-auto-import) libraries 7618 lt_prog_compiler_pic='-DDLL_EXPORT' 7619 ;; 7620 7621 darwin* | rhapsody*) 7622 # PIC is the default on this platform 7623 # Common symbols not allowed in MH_DYLIB files 7624 lt_prog_compiler_pic='-fno-common' 7625 ;; 7626 7627 hpux*) 7628 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 7629 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 7630 # sets the default TLS model and affects inlining. 7631 case $host_cpu in 7632 hppa*64*) 7633 # +Z the default 7634 ;; 7635 *) 7636 lt_prog_compiler_pic='-fPIC' 7637 ;; 7638 esac 7639 ;; 7640 7641 interix[3-9]*) 7642 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 7643 # Instead, we relocate shared libraries at runtime. 7644 ;; 7645 7646 msdosdjgpp*) 7647 # Just because we use GCC doesn't mean we suddenly get shared libraries 7648 # on systems that don't support them. 7649 lt_prog_compiler_can_build_shared=no 7650 enable_shared=no 7651 ;; 7652 7653 *nto* | *qnx*) 7654 # QNX uses GNU C++, but need to define -shared option too, otherwise 7655 # it will coredump. 7656 lt_prog_compiler_pic='-fPIC -shared' 7657 ;; 7658 7659 sysv4*MP*) 7660 if test -d /usr/nec; then 7661 lt_prog_compiler_pic=-Kconform_pic 7662 fi 7663 ;; 7664 7665 *) 7666 lt_prog_compiler_pic='-fPIC' 7667 ;; 7668 esac 7669 else 7670 # PORTME Check for flag to pass linker flags through the system compiler. 7671 case $host_os in 7672 aix*) 7673 lt_prog_compiler_wl='-Wl,' 7674 if test "$host_cpu" = ia64; then 7675 # AIX 5 now supports IA64 processor 7676 lt_prog_compiler_static='-Bstatic' 7677 else 7678 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 7679 fi 7680 ;; 7681 7682 mingw* | cygwin* | pw32* | os2* | cegcc*) 7683 # This hack is so that the source file can tell whether it is being 7684 # built for inclusion in a dll (and should export symbols for example). 7685 lt_prog_compiler_pic='-DDLL_EXPORT' 7686 ;; 7687 7688 hpux9* | hpux10* | hpux11*) 7689 lt_prog_compiler_wl='-Wl,' 7690 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 7691 # not for PA HP-UX. 7692 case $host_cpu in 7693 hppa*64*|ia64*) 7694 # +Z the default 7695 ;; 7696 *) 7697 lt_prog_compiler_pic='+Z' 7698 ;; 7699 esac 7700 # Is there a better lt_prog_compiler_static that works with the bundled CC? 7701 lt_prog_compiler_static='${wl}-a ${wl}archive' 7702 ;; 7703 7704 irix5* | irix6* | nonstopux*) 7705 lt_prog_compiler_wl='-Wl,' 7706 # PIC (with -KPIC) is the default. 7707 lt_prog_compiler_static='-non_shared' 7708 ;; 7709 7710 linux* | k*bsd*-gnu) 7711 case $cc_basename in 7712 # old Intel for x86_64 which still supported -KPIC. 7713 ecc*) 7714 lt_prog_compiler_wl='-Wl,' 7715 lt_prog_compiler_pic='-KPIC' 7716 lt_prog_compiler_static='-static' 7717 ;; 7718 # icc used to be incompatible with GCC. 7719 # ICC 10 doesn't accept -KPIC any more. 7720 icc* | ifort*) 7721 lt_prog_compiler_wl='-Wl,' 7722 lt_prog_compiler_pic='-fPIC' 7723 lt_prog_compiler_static='-static' 7724 ;; 7725 # Lahey Fortran 8.1. 7726 lf95*) 7727 lt_prog_compiler_wl='-Wl,' 7728 lt_prog_compiler_pic='--shared' 7729 lt_prog_compiler_static='--static' 7730 ;; 7731 pgcc* | pgf77* | pgf90* | pgf95*) 7732 # Portland Group compilers (*not* the Pentium gcc compiler, 7733 # which looks to be a dead project) 7734 lt_prog_compiler_wl='-Wl,' 7735 lt_prog_compiler_pic='-fpic' 7736 lt_prog_compiler_static='-Bstatic' 7737 ;; 7738 ccc*) 7739 lt_prog_compiler_wl='-Wl,' 7740 # All Alpha code is PIC. 7741 lt_prog_compiler_static='-non_shared' 7742 ;; 7743 xl*) 7744 # IBM XL C 8.0/Fortran 10.1 on PPC 7745 lt_prog_compiler_wl='-Wl,' 7746 lt_prog_compiler_pic='-qpic' 7747 lt_prog_compiler_static='-qstaticlink' 7748 ;; 7749 *) 7750 case `$CC -V 2>&1 | sed 5q` in 7751 *Sun\ C*) 7752 # Sun C 5.9 7753 lt_prog_compiler_pic='-KPIC' 7754 lt_prog_compiler_static='-Bstatic' 7755 lt_prog_compiler_wl='-Wl,' 7756 ;; 7757 *Sun\ F*) 7758 # Sun Fortran 8.3 passes all unrecognized flags to the linker 7759 lt_prog_compiler_pic='-KPIC' 7760 lt_prog_compiler_static='-Bstatic' 7761 lt_prog_compiler_wl='' 7762 ;; 7763 esac 7764 ;; 7765 esac 7766 ;; 7767 7768 newsos6) 7769 lt_prog_compiler_pic='-KPIC' 7770 lt_prog_compiler_static='-Bstatic' 7771 ;; 7772 7773 *nto* | *qnx*) 7774 # QNX uses GNU C++, but need to define -shared option too, otherwise 7775 # it will coredump. 7776 lt_prog_compiler_pic='-fPIC -shared' 7777 ;; 7778 7779 osf3* | osf4* | osf5*) 7780 lt_prog_compiler_wl='-Wl,' 7781 # All OSF/1 code is PIC. 7782 lt_prog_compiler_static='-non_shared' 7783 ;; 7784 7785 rdos*) 7786 lt_prog_compiler_static='-non_shared' 7787 ;; 7788 7789 solaris*) 7790 lt_prog_compiler_pic='-KPIC' 7791 lt_prog_compiler_static='-Bstatic' 7792 case $cc_basename in 7793 f77* | f90* | f95*) 7794 lt_prog_compiler_wl='-Qoption ld ';; 7795 *) 7796 lt_prog_compiler_wl='-Wl,';; 7797 esac 7798 ;; 7799 7800 sunos4*) 7801 lt_prog_compiler_wl='-Qoption ld ' 7802 lt_prog_compiler_pic='-PIC' 7803 lt_prog_compiler_static='-Bstatic' 7804 ;; 7805 7806 sysv4 | sysv4.2uw2* | sysv4.3*) 7807 lt_prog_compiler_wl='-Wl,' 7808 lt_prog_compiler_pic='-KPIC' 7809 lt_prog_compiler_static='-Bstatic' 7810 ;; 7811 7812 sysv4*MP*) 7813 if test -d /usr/nec ;then 7814 lt_prog_compiler_pic='-Kconform_pic' 7815 lt_prog_compiler_static='-Bstatic' 7816 fi 7817 ;; 7818 7819 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 7820 lt_prog_compiler_wl='-Wl,' 7821 lt_prog_compiler_pic='-KPIC' 7822 lt_prog_compiler_static='-Bstatic' 7823 ;; 7824 7825 unicos*) 7826 lt_prog_compiler_wl='-Wl,' 7827 lt_prog_compiler_can_build_shared=no 7828 ;; 7829 7830 uts4*) 7831 lt_prog_compiler_pic='-pic' 7832 lt_prog_compiler_static='-Bstatic' 7833 ;; 7834 7835 *) 7836 lt_prog_compiler_can_build_shared=no 7837 ;; 7838 esac 7839 fi 7840 7841case $host_os in 7842 # For platforms which do not support PIC, -DPIC is meaningless: 7843 *djgpp*) 7844 lt_prog_compiler_pic= 7845 ;; 7846 *) 7847 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 7848 ;; 7849esac 7850{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 7851$as_echo "$lt_prog_compiler_pic" >&6; } 7852 7853 7854 7855 7856 7857 7858# 7859# Check to make sure the PIC flag actually works. 7860# 7861if test -n "$lt_prog_compiler_pic"; then 7862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 7863$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 7864if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : 7865 $as_echo_n "(cached) " >&6 7866else 7867 lt_cv_prog_compiler_pic_works=no 7868 ac_outfile=conftest.$ac_objext 7869 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7870 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 7871 # Insert the option either (1) after the last *FLAGS variable, or 7872 # (2) before a word containing "conftest.", or (3) at the end. 7873 # Note that $ac_compile itself does not contain backslashes and begins 7874 # with a dollar sign (not a hyphen), so the echo should work correctly. 7875 # The option is referenced via a variable to avoid confusing sed. 7876 lt_compile=`echo "$ac_compile" | $SED \ 7877 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7878 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7879 -e 's:$: $lt_compiler_flag:'` 7880 (eval echo "\"\$as_me:7880: $lt_compile\"" >&5) 7881 (eval "$lt_compile" 2>conftest.err) 7882 ac_status=$? 7883 cat conftest.err >&5 7884 echo "$as_me:7884: \$? = $ac_status" >&5 7885 if (exit $ac_status) && test -s "$ac_outfile"; then 7886 # The compiler can only warn and ignore the option if not recognized 7887 # So say no if there are warnings other than the usual output. 7888 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 7889 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7890 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 7891 lt_cv_prog_compiler_pic_works=yes 7892 fi 7893 fi 7894 $RM conftest* 7895 7896fi 7897{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 7898$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 7899 7900if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 7901 case $lt_prog_compiler_pic in 7902 "" | " "*) ;; 7903 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 7904 esac 7905else 7906 lt_prog_compiler_pic= 7907 lt_prog_compiler_can_build_shared=no 7908fi 7909 7910fi 7911 7912 7913 7914 7915 7916 7917# 7918# Check to make sure the static flag actually works. 7919# 7920wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 7921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 7922$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 7923if test "${lt_cv_prog_compiler_static_works+set}" = set; then : 7924 $as_echo_n "(cached) " >&6 7925else 7926 lt_cv_prog_compiler_static_works=no 7927 save_LDFLAGS="$LDFLAGS" 7928 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 7929 echo "$lt_simple_link_test_code" > conftest.$ac_ext 7930 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 7931 # The linker can only warn and ignore the option if not recognized 7932 # So say no if there are warnings 7933 if test -s conftest.err; then 7934 # Append any errors to the config.log. 7935 cat conftest.err 1>&5 7936 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 7937 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7938 if diff conftest.exp conftest.er2 >/dev/null; then 7939 lt_cv_prog_compiler_static_works=yes 7940 fi 7941 else 7942 lt_cv_prog_compiler_static_works=yes 7943 fi 7944 fi 7945 $RM -r conftest* 7946 LDFLAGS="$save_LDFLAGS" 7947 7948fi 7949{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 7950$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 7951 7952if test x"$lt_cv_prog_compiler_static_works" = xyes; then 7953 : 7954else 7955 lt_prog_compiler_static= 7956fi 7957 7958 7959 7960 7961 7962 7963 7964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 7965$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 7966if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 7967 $as_echo_n "(cached) " >&6 7968else 7969 lt_cv_prog_compiler_c_o=no 7970 $RM -r conftest 2>/dev/null 7971 mkdir conftest 7972 cd conftest 7973 mkdir out 7974 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7975 7976 lt_compiler_flag="-o out/conftest2.$ac_objext" 7977 # Insert the option either (1) after the last *FLAGS variable, or 7978 # (2) before a word containing "conftest.", or (3) at the end. 7979 # Note that $ac_compile itself does not contain backslashes and begins 7980 # with a dollar sign (not a hyphen), so the echo should work correctly. 7981 lt_compile=`echo "$ac_compile" | $SED \ 7982 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7983 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7984 -e 's:$: $lt_compiler_flag:'` 7985 (eval echo "\"\$as_me:7985: $lt_compile\"" >&5) 7986 (eval "$lt_compile" 2>out/conftest.err) 7987 ac_status=$? 7988 cat out/conftest.err >&5 7989 echo "$as_me:7989: \$? = $ac_status" >&5 7990 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7991 then 7992 # The compiler can only warn and ignore the option if not recognized 7993 # So say no if there are warnings 7994 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 7995 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 7996 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 7997 lt_cv_prog_compiler_c_o=yes 7998 fi 7999 fi 8000 chmod u+w . 2>&5 8001 $RM conftest* 8002 # SGI C++ compiler will create directory out/ii_files/ for 8003 # template instantiation 8004 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8005 $RM out/* && rmdir out 8006 cd .. 8007 $RM -r conftest 8008 $RM conftest* 8009 8010fi 8011{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8012$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8013 8014 8015 8016 8017 8018 8019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8020$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8021if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 8022 $as_echo_n "(cached) " >&6 8023else 8024 lt_cv_prog_compiler_c_o=no 8025 $RM -r conftest 2>/dev/null 8026 mkdir conftest 8027 cd conftest 8028 mkdir out 8029 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8030 8031 lt_compiler_flag="-o out/conftest2.$ac_objext" 8032 # Insert the option either (1) after the last *FLAGS variable, or 8033 # (2) before a word containing "conftest.", or (3) at the end. 8034 # Note that $ac_compile itself does not contain backslashes and begins 8035 # with a dollar sign (not a hyphen), so the echo should work correctly. 8036 lt_compile=`echo "$ac_compile" | $SED \ 8037 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8038 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8039 -e 's:$: $lt_compiler_flag:'` 8040 (eval echo "\"\$as_me:8040: $lt_compile\"" >&5) 8041 (eval "$lt_compile" 2>out/conftest.err) 8042 ac_status=$? 8043 cat out/conftest.err >&5 8044 echo "$as_me:8044: \$? = $ac_status" >&5 8045 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8046 then 8047 # The compiler can only warn and ignore the option if not recognized 8048 # So say no if there are warnings 8049 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 8050 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8051 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8052 lt_cv_prog_compiler_c_o=yes 8053 fi 8054 fi 8055 chmod u+w . 2>&5 8056 $RM conftest* 8057 # SGI C++ compiler will create directory out/ii_files/ for 8058 # template instantiation 8059 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8060 $RM out/* && rmdir out 8061 cd .. 8062 $RM -r conftest 8063 $RM conftest* 8064 8065fi 8066{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8067$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8068 8069 8070 8071 8072hard_links="nottested" 8073if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 8074 # do not overwrite the value of need_locks provided by the user 8075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 8076$as_echo_n "checking if we can lock with hard links... " >&6; } 8077 hard_links=yes 8078 $RM conftest* 8079 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8080 touch conftest.a 8081 ln conftest.a conftest.b 2>&5 || hard_links=no 8082 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 8084$as_echo "$hard_links" >&6; } 8085 if test "$hard_links" = no; then 8086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 8087$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 8088 need_locks=warn 8089 fi 8090else 8091 need_locks=no 8092fi 8093 8094 8095 8096 8097 8098 8099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8100$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8101 8102 runpath_var= 8103 allow_undefined_flag= 8104 always_export_symbols=no 8105 archive_cmds= 8106 archive_expsym_cmds= 8107 compiler_needs_object=no 8108 enable_shared_with_static_runtimes=no 8109 export_dynamic_flag_spec= 8110 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8111 hardcode_automatic=no 8112 hardcode_direct=no 8113 hardcode_direct_absolute=no 8114 hardcode_libdir_flag_spec= 8115 hardcode_libdir_flag_spec_ld= 8116 hardcode_libdir_separator= 8117 hardcode_minus_L=no 8118 hardcode_shlibpath_var=unsupported 8119 inherit_rpath=no 8120 link_all_deplibs=unknown 8121 module_cmds= 8122 module_expsym_cmds= 8123 old_archive_from_new_cmds= 8124 old_archive_from_expsyms_cmds= 8125 thread_safe_flag_spec= 8126 whole_archive_flag_spec= 8127 # include_expsyms should be a list of space-separated symbols to be *always* 8128 # included in the symbol list 8129 include_expsyms= 8130 # exclude_expsyms can be an extended regexp of symbols to exclude 8131 # it will be wrapped by ` (' and `)$', so one must not match beginning or 8132 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 8133 # as well as any symbol that contains `d'. 8134 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 8135 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8136 # platforms (ab)use it in PIC code, but their linkers get confused if 8137 # the symbol is explicitly referenced. Since portable code cannot 8138 # rely on this symbol name, it's probably fine to never include it in 8139 # preloaded symbol tables. 8140 # Exclude shared library initialization/finalization symbols. 8141 extract_expsyms_cmds= 8142 8143 case $host_os in 8144 cygwin* | mingw* | pw32* | cegcc*) 8145 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8146 # When not using gcc, we currently assume that we are using 8147 # Microsoft Visual C++. 8148 if test "$GCC" != yes; then 8149 with_gnu_ld=no 8150 fi 8151 ;; 8152 interix*) 8153 # we just hope/assume this is gcc and not c89 (= MSVC++) 8154 with_gnu_ld=yes 8155 ;; 8156 openbsd*) 8157 with_gnu_ld=no 8158 ;; 8159 esac 8160 8161 ld_shlibs=yes 8162 if test "$with_gnu_ld" = yes; then 8163 # If archive_cmds runs LD, not CC, wlarc should be empty 8164 wlarc='${wl}' 8165 8166 # Set some defaults for GNU ld with shared library support. These 8167 # are reset later if shared libraries are not supported. Putting them 8168 # here allows them to be overridden if necessary. 8169 runpath_var=LD_RUN_PATH 8170 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8171 export_dynamic_flag_spec='${wl}--export-dynamic' 8172 # ancient GNU ld didn't support --whole-archive et. al. 8173 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 8174 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 8175 else 8176 whole_archive_flag_spec= 8177 fi 8178 supports_anon_versioning=no 8179 case `$LD -v 2>&1` in 8180 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 8181 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 8182 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 8183 *\ 2.11.*) ;; # other 2.11 versions 8184 *) supports_anon_versioning=yes ;; 8185 esac 8186 8187 # See if GNU ld supports shared libraries. 8188 case $host_os in 8189 aix[3-9]*) 8190 # On AIX/PPC, the GNU linker is very broken 8191 if test "$host_cpu" != ia64; then 8192 ld_shlibs=no 8193 cat <<_LT_EOF 1>&2 8194 8195*** Warning: the GNU linker, at least up to release 2.9.1, is reported 8196*** to be unable to reliably create shared libraries on AIX. 8197*** Therefore, libtool is disabling shared libraries support. If you 8198*** really care for shared libraries, you may want to modify your PATH 8199*** so that a non-GNU linker is found, and then restart. 8200 8201_LT_EOF 8202 fi 8203 ;; 8204 8205 amigaos*) 8206 case $host_cpu in 8207 powerpc) 8208 # see comment about AmigaOS4 .so support 8209 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8210 archive_expsym_cmds='' 8211 ;; 8212 m68k) 8213 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)' 8214 hardcode_libdir_flag_spec='-L$libdir' 8215 hardcode_minus_L=yes 8216 ;; 8217 esac 8218 ;; 8219 8220 beos*) 8221 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8222 allow_undefined_flag=unsupported 8223 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 8224 # support --undefined. This deserves some investigation. FIXME 8225 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8226 else 8227 ld_shlibs=no 8228 fi 8229 ;; 8230 8231 cygwin* | mingw* | pw32* | cegcc*) 8232 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 8233 # as there is no search path for DLLs. 8234 hardcode_libdir_flag_spec='-L$libdir' 8235 allow_undefined_flag=unsupported 8236 always_export_symbols=no 8237 enable_shared_with_static_runtimes=yes 8238 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 8239 8240 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 8241 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8242 # If the export-symbols file already is a .def file (1st line 8243 # is EXPORTS), use it as is; otherwise, prepend... 8244 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 8245 cp $export_symbols $output_objdir/$soname.def; 8246 else 8247 echo EXPORTS > $output_objdir/$soname.def; 8248 cat $export_symbols >> $output_objdir/$soname.def; 8249 fi~ 8250 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8251 else 8252 ld_shlibs=no 8253 fi 8254 ;; 8255 8256 interix[3-9]*) 8257 hardcode_direct=no 8258 hardcode_shlibpath_var=no 8259 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8260 export_dynamic_flag_spec='${wl}-E' 8261 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 8262 # Instead, shared libraries are loaded at an image base (0x10000000 by 8263 # default) and relocated if they conflict, which is a slow very memory 8264 # consuming and fragmenting process. To avoid this, we pick a random, 8265 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 8266 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 8267 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8268 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' 8269 ;; 8270 8271 gnu* | linux* | tpf* | k*bsd*-gnu) 8272 tmp_diet=no 8273 if test "$host_os" = linux-dietlibc; then 8274 case $cc_basename in 8275 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 8276 esac 8277 fi 8278 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 8279 && test "$tmp_diet" = no 8280 then 8281 tmp_addflag= 8282 tmp_sharedflag='-shared' 8283 case $cc_basename,$host_cpu in 8284 pgcc*) # Portland Group C compiler 8285 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' 8286 tmp_addflag=' $pic_flag' 8287 ;; 8288 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 8289 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' 8290 tmp_addflag=' $pic_flag -Mnomain' ;; 8291 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 8292 tmp_addflag=' -i_dynamic' ;; 8293 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 8294 tmp_addflag=' -i_dynamic -nofor_main' ;; 8295 ifc* | ifort*) # Intel Fortran compiler 8296 tmp_addflag=' -nofor_main' ;; 8297 lf95*) # Lahey Fortran 8.1 8298 whole_archive_flag_spec= 8299 tmp_sharedflag='--shared' ;; 8300 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 8301 tmp_sharedflag='-qmkshrobj' 8302 tmp_addflag= ;; 8303 esac 8304 case `$CC -V 2>&1 | sed 5q` in 8305 *Sun\ C*) # Sun C 5.9 8306 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' 8307 compiler_needs_object=yes 8308 tmp_sharedflag='-G' ;; 8309 *Sun\ F*) # Sun Fortran 8.3 8310 tmp_sharedflag='-G' ;; 8311 esac 8312 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8313 8314 if test "x$supports_anon_versioning" = xyes; then 8315 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8316 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8317 echo "local: *; };" >> $output_objdir/$libname.ver~ 8318 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 8319 fi 8320 8321 case $cc_basename in 8322 xlf*) 8323 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 8324 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 8325 hardcode_libdir_flag_spec= 8326 hardcode_libdir_flag_spec_ld='-rpath $libdir' 8327 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' 8328 if test "x$supports_anon_versioning" = xyes; then 8329 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8330 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8331 echo "local: *; };" >> $output_objdir/$libname.ver~ 8332 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 8333 fi 8334 ;; 8335 esac 8336 else 8337 ld_shlibs=no 8338 fi 8339 ;; 8340 8341 netbsd*) 8342 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 8343 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 8344 wlarc= 8345 else 8346 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8347 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8348 fi 8349 ;; 8350 8351 solaris*) 8352 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 8353 ld_shlibs=no 8354 cat <<_LT_EOF 1>&2 8355 8356*** Warning: The releases 2.8.* of the GNU linker cannot reliably 8357*** create shared libraries on Solaris systems. Therefore, libtool 8358*** is disabling shared libraries support. We urge you to upgrade GNU 8359*** binutils to release 2.9.1 or newer. Another option is to modify 8360*** your PATH or compiler configuration so that the native linker is 8361*** used, and then restart. 8362 8363_LT_EOF 8364 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8365 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8366 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8367 else 8368 ld_shlibs=no 8369 fi 8370 ;; 8371 8372 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 8373 case `$LD -v 2>&1` in 8374 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 8375 ld_shlibs=no 8376 cat <<_LT_EOF 1>&2 8377 8378*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 8379*** reliably create shared libraries on SCO systems. Therefore, libtool 8380*** is disabling shared libraries support. We urge you to upgrade GNU 8381*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 8382*** your PATH or compiler configuration so that the native linker is 8383*** used, and then restart. 8384 8385_LT_EOF 8386 ;; 8387 *) 8388 # For security reasons, it is highly recommended that you always 8389 # use absolute paths for naming shared libraries, and exclude the 8390 # DT_RUNPATH tag from executables and libraries. But doing so 8391 # requires that you compile everything twice, which is a pain. 8392 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8393 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8394 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8395 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8396 else 8397 ld_shlibs=no 8398 fi 8399 ;; 8400 esac 8401 ;; 8402 8403 sunos4*) 8404 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8405 wlarc= 8406 hardcode_direct=yes 8407 hardcode_shlibpath_var=no 8408 ;; 8409 8410 *) 8411 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8412 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8413 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8414 else 8415 ld_shlibs=no 8416 fi 8417 ;; 8418 esac 8419 8420 if test "$ld_shlibs" = no; then 8421 runpath_var= 8422 hardcode_libdir_flag_spec= 8423 export_dynamic_flag_spec= 8424 whole_archive_flag_spec= 8425 fi 8426 else 8427 # PORTME fill in a description of your system's linker (not GNU ld) 8428 case $host_os in 8429 aix3*) 8430 allow_undefined_flag=unsupported 8431 always_export_symbols=yes 8432 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' 8433 # Note: this linker hardcodes the directories in LIBPATH if there 8434 # are no directories specified by -L. 8435 hardcode_minus_L=yes 8436 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 8437 # Neither direct hardcoding nor static linking is supported with a 8438 # broken collect2. 8439 hardcode_direct=unsupported 8440 fi 8441 ;; 8442 8443 aix[4-9]*) 8444 if test "$host_cpu" = ia64; then 8445 # On IA64, the linker does run time linking by default, so we don't 8446 # have to do anything special. 8447 aix_use_runtimelinking=no 8448 exp_sym_flag='-Bexport' 8449 no_entry_flag="" 8450 else 8451 # If we're using GNU nm, then we don't want the "-C" option. 8452 # -C means demangle to AIX nm, but means don't demangle with GNU nm 8453 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 8454 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' 8455 else 8456 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' 8457 fi 8458 aix_use_runtimelinking=no 8459 8460 # Test if we are trying to use run time linking or normal 8461 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 8462 # need to do runtime linking. 8463 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 8464 for ld_flag in $LDFLAGS; do 8465 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 8466 aix_use_runtimelinking=yes 8467 break 8468 fi 8469 done 8470 ;; 8471 esac 8472 8473 exp_sym_flag='-bexport' 8474 no_entry_flag='-bnoentry' 8475 fi 8476 8477 # When large executables or shared objects are built, AIX ld can 8478 # have problems creating the table of contents. If linking a library 8479 # or program results in "error TOC overflow" add -mminimal-toc to 8480 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 8481 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 8482 8483 archive_cmds='' 8484 hardcode_direct=yes 8485 hardcode_direct_absolute=yes 8486 hardcode_libdir_separator=':' 8487 link_all_deplibs=yes 8488 file_list_spec='${wl}-f,' 8489 8490 if test "$GCC" = yes; then 8491 case $host_os in aix4.[012]|aix4.[012].*) 8492 # We only want to do this on AIX 4.2 and lower, the check 8493 # below for broken collect2 doesn't work under 4.3+ 8494 collect2name=`${CC} -print-prog-name=collect2` 8495 if test -f "$collect2name" && 8496 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 8497 then 8498 # We have reworked collect2 8499 : 8500 else 8501 # We have old collect2 8502 hardcode_direct=unsupported 8503 # It fails to find uninstalled libraries when the uninstalled 8504 # path is not listed in the libpath. Setting hardcode_minus_L 8505 # to unsupported forces relinking 8506 hardcode_minus_L=yes 8507 hardcode_libdir_flag_spec='-L$libdir' 8508 hardcode_libdir_separator= 8509 fi 8510 ;; 8511 esac 8512 shared_flag='-shared' 8513 if test "$aix_use_runtimelinking" = yes; then 8514 shared_flag="$shared_flag "'${wl}-G' 8515 fi 8516 else 8517 # not using gcc 8518 if test "$host_cpu" = ia64; then 8519 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 8520 # chokes on -Wl,-G. The following line is correct: 8521 shared_flag='-G' 8522 else 8523 if test "$aix_use_runtimelinking" = yes; then 8524 shared_flag='${wl}-G' 8525 else 8526 shared_flag='${wl}-bM:SRE' 8527 fi 8528 fi 8529 fi 8530 8531 export_dynamic_flag_spec='${wl}-bexpall' 8532 # It seems that -bexpall does not export symbols beginning with 8533 # underscore (_), so it is better to generate a list of symbols to export. 8534 always_export_symbols=yes 8535 if test "$aix_use_runtimelinking" = yes; then 8536 # Warning - without using the other runtime loading flags (-brtl), 8537 # -berok will link without error, but may produce a broken library. 8538 allow_undefined_flag='-berok' 8539 # Determine the default libpath from the value encoded in an 8540 # empty executable. 8541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8542/* end confdefs.h. */ 8543 8544int 8545main () 8546{ 8547 8548 ; 8549 return 0; 8550} 8551_ACEOF 8552if ac_fn_c_try_link "$LINENO"; then : 8553 8554lt_aix_libpath_sed=' 8555 /Import File Strings/,/^$/ { 8556 /^0/ { 8557 s/^0 *\(.*\)$/\1/ 8558 p 8559 } 8560 }' 8561aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8562# Check for a 64-bit object if we didn't find anything. 8563if test -z "$aix_libpath"; then 8564 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8565fi 8566fi 8567rm -f core conftest.err conftest.$ac_objext \ 8568 conftest$ac_exeext conftest.$ac_ext 8569if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8570 8571 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8572 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" 8573 else 8574 if test "$host_cpu" = ia64; then 8575 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 8576 allow_undefined_flag="-z nodefs" 8577 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" 8578 else 8579 # Determine the default libpath from the value encoded in an 8580 # empty executable. 8581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8582/* end confdefs.h. */ 8583 8584int 8585main () 8586{ 8587 8588 ; 8589 return 0; 8590} 8591_ACEOF 8592if ac_fn_c_try_link "$LINENO"; then : 8593 8594lt_aix_libpath_sed=' 8595 /Import File Strings/,/^$/ { 8596 /^0/ { 8597 s/^0 *\(.*\)$/\1/ 8598 p 8599 } 8600 }' 8601aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8602# Check for a 64-bit object if we didn't find anything. 8603if test -z "$aix_libpath"; then 8604 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8605fi 8606fi 8607rm -f core conftest.err conftest.$ac_objext \ 8608 conftest$ac_exeext conftest.$ac_ext 8609if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8610 8611 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8612 # Warning - without using the other run time loading flags, 8613 # -berok will link without error, but may produce a broken library. 8614 no_undefined_flag=' ${wl}-bernotok' 8615 allow_undefined_flag=' ${wl}-berok' 8616 # Exported symbols can be pulled into shared objects from archives 8617 whole_archive_flag_spec='$convenience' 8618 archive_cmds_need_lc=yes 8619 # This is similar to how AIX traditionally builds its shared libraries. 8620 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' 8621 fi 8622 fi 8623 ;; 8624 8625 amigaos*) 8626 case $host_cpu in 8627 powerpc) 8628 # see comment about AmigaOS4 .so support 8629 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8630 archive_expsym_cmds='' 8631 ;; 8632 m68k) 8633 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)' 8634 hardcode_libdir_flag_spec='-L$libdir' 8635 hardcode_minus_L=yes 8636 ;; 8637 esac 8638 ;; 8639 8640 bsdi[45]*) 8641 export_dynamic_flag_spec=-rdynamic 8642 ;; 8643 8644 cygwin* | mingw* | pw32* | cegcc*) 8645 # When not using gcc, we currently assume that we are using 8646 # Microsoft Visual C++. 8647 # hardcode_libdir_flag_spec is actually meaningless, as there is 8648 # no search path for DLLs. 8649 hardcode_libdir_flag_spec=' ' 8650 allow_undefined_flag=unsupported 8651 # Tell ltmain to make .lib files, not .a files. 8652 libext=lib 8653 # Tell ltmain to make .dll files, not .so files. 8654 shrext_cmds=".dll" 8655 # FIXME: Setting linknames here is a bad hack. 8656 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' 8657 # The linker will automatically build a .lib file if we build a DLL. 8658 old_archive_from_new_cmds='true' 8659 # FIXME: Should let the user specify the lib program. 8660 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 8661 fix_srcfile_path='`cygpath -w "$srcfile"`' 8662 enable_shared_with_static_runtimes=yes 8663 ;; 8664 8665 darwin* | rhapsody*) 8666 8667 8668 archive_cmds_need_lc=no 8669 hardcode_direct=no 8670 hardcode_automatic=yes 8671 hardcode_shlibpath_var=unsupported 8672 whole_archive_flag_spec='' 8673 link_all_deplibs=yes 8674 allow_undefined_flag="$_lt_dar_allow_undefined" 8675 case $cc_basename in 8676 ifort*) _lt_dar_can_shared=yes ;; 8677 *) _lt_dar_can_shared=$GCC ;; 8678 esac 8679 if test "$_lt_dar_can_shared" = "yes"; then 8680 output_verbose_link_cmd=echo 8681 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 8682 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 8683 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}" 8684 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}" 8685 8686 else 8687 ld_shlibs=no 8688 fi 8689 8690 ;; 8691 8692 dgux*) 8693 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8694 hardcode_libdir_flag_spec='-L$libdir' 8695 hardcode_shlibpath_var=no 8696 ;; 8697 8698 freebsd1*) 8699 ld_shlibs=no 8700 ;; 8701 8702 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 8703 # support. Future versions do this automatically, but an explicit c++rt0.o 8704 # does not break anything, and helps significantly (at the cost of a little 8705 # extra space). 8706 freebsd2.2*) 8707 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 8708 hardcode_libdir_flag_spec='-R$libdir' 8709 hardcode_direct=yes 8710 hardcode_shlibpath_var=no 8711 ;; 8712 8713 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 8714 freebsd2*) 8715 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8716 hardcode_direct=yes 8717 hardcode_minus_L=yes 8718 hardcode_shlibpath_var=no 8719 ;; 8720 8721 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 8722 freebsd* | dragonfly*) 8723 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 8724 hardcode_libdir_flag_spec='-R$libdir' 8725 hardcode_direct=yes 8726 hardcode_shlibpath_var=no 8727 ;; 8728 8729 hpux9*) 8730 if test "$GCC" = yes; then 8731 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' 8732 else 8733 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' 8734 fi 8735 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 8736 hardcode_libdir_separator=: 8737 hardcode_direct=yes 8738 8739 # hardcode_minus_L: Not really in the search PATH, 8740 # but as the default location of the library. 8741 hardcode_minus_L=yes 8742 export_dynamic_flag_spec='${wl}-E' 8743 ;; 8744 8745 hpux10*) 8746 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 8747 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 8748 else 8749 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 8750 fi 8751 if test "$with_gnu_ld" = no; then 8752 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 8753 hardcode_libdir_flag_spec_ld='+b $libdir' 8754 hardcode_libdir_separator=: 8755 hardcode_direct=yes 8756 hardcode_direct_absolute=yes 8757 export_dynamic_flag_spec='${wl}-E' 8758 # hardcode_minus_L: Not really in the search PATH, 8759 # but as the default location of the library. 8760 hardcode_minus_L=yes 8761 fi 8762 ;; 8763 8764 hpux11*) 8765 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 8766 case $host_cpu in 8767 hppa*64*) 8768 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 8769 ;; 8770 ia64*) 8771 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 8772 ;; 8773 *) 8774 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 8775 ;; 8776 esac 8777 else 8778 case $host_cpu in 8779 hppa*64*) 8780 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 8781 ;; 8782 ia64*) 8783 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 8784 ;; 8785 *) 8786 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 8787 ;; 8788 esac 8789 fi 8790 if test "$with_gnu_ld" = no; then 8791 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 8792 hardcode_libdir_separator=: 8793 8794 case $host_cpu in 8795 hppa*64*|ia64*) 8796 hardcode_direct=no 8797 hardcode_shlibpath_var=no 8798 ;; 8799 *) 8800 hardcode_direct=yes 8801 hardcode_direct_absolute=yes 8802 export_dynamic_flag_spec='${wl}-E' 8803 8804 # hardcode_minus_L: Not really in the search PATH, 8805 # but as the default location of the library. 8806 hardcode_minus_L=yes 8807 ;; 8808 esac 8809 fi 8810 ;; 8811 8812 irix5* | irix6* | nonstopux*) 8813 if test "$GCC" = yes; then 8814 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' 8815 # Try to use the -exported_symbol ld option, if it does not 8816 # work, assume that -exports_file does not work either and 8817 # implicitly export all symbols. 8818 save_LDFLAGS="$LDFLAGS" 8819 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 8820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8821/* end confdefs.h. */ 8822int foo(void) {} 8823_ACEOF 8824if ac_fn_c_try_link "$LINENO"; then : 8825 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' 8826 8827fi 8828rm -f core conftest.err conftest.$ac_objext \ 8829 conftest$ac_exeext conftest.$ac_ext 8830 LDFLAGS="$save_LDFLAGS" 8831 else 8832 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' 8833 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' 8834 fi 8835 archive_cmds_need_lc='no' 8836 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8837 hardcode_libdir_separator=: 8838 inherit_rpath=yes 8839 link_all_deplibs=yes 8840 ;; 8841 8842 netbsd*) 8843 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 8844 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 8845 else 8846 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 8847 fi 8848 hardcode_libdir_flag_spec='-R$libdir' 8849 hardcode_direct=yes 8850 hardcode_shlibpath_var=no 8851 ;; 8852 8853 newsos6) 8854 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8855 hardcode_direct=yes 8856 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8857 hardcode_libdir_separator=: 8858 hardcode_shlibpath_var=no 8859 ;; 8860 8861 *nto* | *qnx*) 8862 ;; 8863 8864 openbsd*) 8865 if test -f /usr/libexec/ld.so; then 8866 hardcode_direct=yes 8867 hardcode_shlibpath_var=no 8868 hardcode_direct_absolute=yes 8869 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 8870 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 8871 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 8872 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8873 export_dynamic_flag_spec='${wl}-E' 8874 else 8875 case $host_os in 8876 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 8877 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8878 hardcode_libdir_flag_spec='-R$libdir' 8879 ;; 8880 *) 8881 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 8882 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8883 ;; 8884 esac 8885 fi 8886 else 8887 ld_shlibs=no 8888 fi 8889 ;; 8890 8891 os2*) 8892 hardcode_libdir_flag_spec='-L$libdir' 8893 hardcode_minus_L=yes 8894 allow_undefined_flag=unsupported 8895 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' 8896 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 8897 ;; 8898 8899 osf3*) 8900 if test "$GCC" = yes; then 8901 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 8902 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' 8903 else 8904 allow_undefined_flag=' -expect_unresolved \*' 8905 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' 8906 fi 8907 archive_cmds_need_lc='no' 8908 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8909 hardcode_libdir_separator=: 8910 ;; 8911 8912 osf4* | osf5*) # as osf3* with the addition of -msym flag 8913 if test "$GCC" = yes; then 8914 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 8915 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' 8916 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8917 else 8918 allow_undefined_flag=' -expect_unresolved \*' 8919 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' 8920 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~ 8921 $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' 8922 8923 # Both c and cxx compiler support -rpath directly 8924 hardcode_libdir_flag_spec='-rpath $libdir' 8925 fi 8926 archive_cmds_need_lc='no' 8927 hardcode_libdir_separator=: 8928 ;; 8929 8930 solaris*) 8931 no_undefined_flag=' -z defs' 8932 if test "$GCC" = yes; then 8933 wlarc='${wl}' 8934 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 8935 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 8936 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 8937 else 8938 case `$CC -V 2>&1` in 8939 *"Compilers 5.0"*) 8940 wlarc='' 8941 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 8942 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 8943 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 8944 ;; 8945 *) 8946 wlarc='${wl}' 8947 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 8948 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 8949 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 8950 ;; 8951 esac 8952 fi 8953 hardcode_libdir_flag_spec='-R$libdir' 8954 hardcode_shlibpath_var=no 8955 case $host_os in 8956 solaris2.[0-5] | solaris2.[0-5].*) ;; 8957 *) 8958 # The compiler driver will combine and reorder linker options, 8959 # but understands `-z linker_flag'. GCC discards it without `$wl', 8960 # but is careful enough not to reorder. 8961 # Supported since Solaris 2.6 (maybe 2.5.1?) 8962 if test "$GCC" = yes; then 8963 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 8964 else 8965 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 8966 fi 8967 ;; 8968 esac 8969 link_all_deplibs=yes 8970 ;; 8971 8972 sunos4*) 8973 if test "x$host_vendor" = xsequent; then 8974 # Use $CC to link under sequent, because it throws in some extra .o 8975 # files that make .init and .fini sections work. 8976 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 8977 else 8978 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 8979 fi 8980 hardcode_libdir_flag_spec='-L$libdir' 8981 hardcode_direct=yes 8982 hardcode_minus_L=yes 8983 hardcode_shlibpath_var=no 8984 ;; 8985 8986 sysv4) 8987 case $host_vendor in 8988 sni) 8989 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8990 hardcode_direct=yes # is this really true??? 8991 ;; 8992 siemens) 8993 ## LD is ld it makes a PLAMLIB 8994 ## CC just makes a GrossModule. 8995 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 8996 reload_cmds='$CC -r -o $output$reload_objs' 8997 hardcode_direct=no 8998 ;; 8999 motorola) 9000 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9001 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 9002 ;; 9003 esac 9004 runpath_var='LD_RUN_PATH' 9005 hardcode_shlibpath_var=no 9006 ;; 9007 9008 sysv4.3*) 9009 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9010 hardcode_shlibpath_var=no 9011 export_dynamic_flag_spec='-Bexport' 9012 ;; 9013 9014 sysv4*MP*) 9015 if test -d /usr/nec; then 9016 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9017 hardcode_shlibpath_var=no 9018 runpath_var=LD_RUN_PATH 9019 hardcode_runpath_var=yes 9020 ld_shlibs=yes 9021 fi 9022 ;; 9023 9024 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 9025 no_undefined_flag='${wl}-z,text' 9026 archive_cmds_need_lc=no 9027 hardcode_shlibpath_var=no 9028 runpath_var='LD_RUN_PATH' 9029 9030 if test "$GCC" = yes; then 9031 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9032 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9033 else 9034 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9035 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9036 fi 9037 ;; 9038 9039 sysv5* | sco3.2v5* | sco5v6*) 9040 # Note: We can NOT use -z defs as we might desire, because we do not 9041 # link with -lc, and that would cause any symbols used from libc to 9042 # always be unresolved, which means just about no library would 9043 # ever link correctly. If we're not using GNU ld we use -z text 9044 # though, which does catch some bad symbols but isn't as heavy-handed 9045 # as -z defs. 9046 no_undefined_flag='${wl}-z,text' 9047 allow_undefined_flag='${wl}-z,nodefs' 9048 archive_cmds_need_lc=no 9049 hardcode_shlibpath_var=no 9050 hardcode_libdir_flag_spec='${wl}-R,$libdir' 9051 hardcode_libdir_separator=':' 9052 link_all_deplibs=yes 9053 export_dynamic_flag_spec='${wl}-Bexport' 9054 runpath_var='LD_RUN_PATH' 9055 9056 if test "$GCC" = yes; then 9057 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9058 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9059 else 9060 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9061 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9062 fi 9063 ;; 9064 9065 uts4*) 9066 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9067 hardcode_libdir_flag_spec='-L$libdir' 9068 hardcode_shlibpath_var=no 9069 ;; 9070 9071 *) 9072 ld_shlibs=no 9073 ;; 9074 esac 9075 9076 if test x$host_vendor = xsni; then 9077 case $host in 9078 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 9079 export_dynamic_flag_spec='${wl}-Blargedynsym' 9080 ;; 9081 esac 9082 fi 9083 fi 9084 9085{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 9086$as_echo "$ld_shlibs" >&6; } 9087test "$ld_shlibs" = no && can_build_shared=no 9088 9089with_gnu_ld=$with_gnu_ld 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105# 9106# Do we need to explicitly link libc? 9107# 9108case "x$archive_cmds_need_lc" in 9109x|xyes) 9110 # Assume -lc should be added 9111 archive_cmds_need_lc=yes 9112 9113 if test "$enable_shared" = yes && test "$GCC" = yes; then 9114 case $archive_cmds in 9115 *'~'*) 9116 # FIXME: we may have to deal with multi-command sequences. 9117 ;; 9118 '$CC '*) 9119 # Test whether the compiler implicitly links with -lc since on some 9120 # systems, -lgcc has to come before -lc. If gcc already passes -lc 9121 # to ld, don't add -lc before -lgcc. 9122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 9123$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 9124 $RM conftest* 9125 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9126 9127 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9128 (eval $ac_compile) 2>&5 9129 ac_status=$? 9130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9131 test $ac_status = 0; } 2>conftest.err; then 9132 soname=conftest 9133 lib=conftest 9134 libobjs=conftest.$ac_objext 9135 deplibs= 9136 wl=$lt_prog_compiler_wl 9137 pic_flag=$lt_prog_compiler_pic 9138 compiler_flags=-v 9139 linker_flags=-v 9140 verstring= 9141 output_objdir=. 9142 libname=conftest 9143 lt_save_allow_undefined_flag=$allow_undefined_flag 9144 allow_undefined_flag= 9145 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 9146 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 9147 ac_status=$? 9148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9149 test $ac_status = 0; } 9150 then 9151 archive_cmds_need_lc=no 9152 else 9153 archive_cmds_need_lc=yes 9154 fi 9155 allow_undefined_flag=$lt_save_allow_undefined_flag 9156 else 9157 cat conftest.err 1>&5 9158 fi 9159 $RM conftest* 9160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 9161$as_echo "$archive_cmds_need_lc" >&6; } 9162 ;; 9163 esac 9164 fi 9165 ;; 9166esac 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 9325$as_echo_n "checking dynamic linker characteristics... " >&6; } 9326 9327if test "$GCC" = yes; then 9328 case $host_os in 9329 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 9330 *) lt_awk_arg="/^libraries:/" ;; 9331 esac 9332 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` 9333 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then 9334 # if the path contains ";" then we assume it to be the separator 9335 # otherwise default to the standard path separator (i.e. ":") - it is 9336 # assumed that no part of a normal pathname contains ";" but that should 9337 # okay in the real world where ";" in dirpaths is itself problematic. 9338 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` 9339 else 9340 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 9341 fi 9342 # Ok, now we have the path, separated by spaces, we can step through it 9343 # and add multilib dir if necessary. 9344 lt_tmp_lt_search_path_spec= 9345 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 9346 for lt_sys_path in $lt_search_path_spec; do 9347 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 9348 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 9349 else 9350 test -d "$lt_sys_path" && \ 9351 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 9352 fi 9353 done 9354 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' 9355BEGIN {RS=" "; FS="/|\n";} { 9356 lt_foo=""; 9357 lt_count=0; 9358 for (lt_i = NF; lt_i > 0; lt_i--) { 9359 if ($lt_i != "" && $lt_i != ".") { 9360 if ($lt_i == "..") { 9361 lt_count++; 9362 } else { 9363 if (lt_count == 0) { 9364 lt_foo="/" $lt_i lt_foo; 9365 } else { 9366 lt_count--; 9367 } 9368 } 9369 } 9370 } 9371 if (lt_foo != "") { lt_freq[lt_foo]++; } 9372 if (lt_freq[lt_foo] == 1) { print lt_foo; } 9373}'` 9374 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` 9375else 9376 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 9377fi 9378library_names_spec= 9379libname_spec='lib$name' 9380soname_spec= 9381shrext_cmds=".so" 9382postinstall_cmds= 9383postuninstall_cmds= 9384finish_cmds= 9385finish_eval= 9386shlibpath_var= 9387shlibpath_overrides_runpath=unknown 9388version_type=none 9389dynamic_linker="$host_os ld.so" 9390sys_lib_dlsearch_path_spec="/lib /usr/lib" 9391need_lib_prefix=unknown 9392hardcode_into_libs=no 9393 9394# when you set need_version to no, make sure it does not cause -set_version 9395# flags to be left without arguments 9396need_version=unknown 9397 9398case $host_os in 9399aix3*) 9400 version_type=linux 9401 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 9402 shlibpath_var=LIBPATH 9403 9404 # AIX 3 has no versioning support, so we append a major version to the name. 9405 soname_spec='${libname}${release}${shared_ext}$major' 9406 ;; 9407 9408aix[4-9]*) 9409 version_type=linux 9410 need_lib_prefix=no 9411 need_version=no 9412 hardcode_into_libs=yes 9413 if test "$host_cpu" = ia64; then 9414 # AIX 5 supports IA64 9415 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 9416 shlibpath_var=LD_LIBRARY_PATH 9417 else 9418 # With GCC up to 2.95.x, collect2 would create an import file 9419 # for dependence libraries. The import file would start with 9420 # the line `#! .'. This would cause the generated library to 9421 # depend on `.', always an invalid library. This was fixed in 9422 # development snapshots of GCC prior to 3.0. 9423 case $host_os in 9424 aix4 | aix4.[01] | aix4.[01].*) 9425 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 9426 echo ' yes ' 9427 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 9428 : 9429 else 9430 can_build_shared=no 9431 fi 9432 ;; 9433 esac 9434 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 9435 # soname into executable. Probably we can add versioning support to 9436 # collect2, so additional links can be useful in future. 9437 if test "$aix_use_runtimelinking" = yes; then 9438 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 9439 # instead of lib<name>.a to let people know that these are not 9440 # typical AIX shared libraries. 9441 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9442 else 9443 # We preserve .a as extension for shared libraries through AIX4.2 9444 # and later when we are not doing run time linking. 9445 library_names_spec='${libname}${release}.a $libname.a' 9446 soname_spec='${libname}${release}${shared_ext}$major' 9447 fi 9448 shlibpath_var=LIBPATH 9449 fi 9450 ;; 9451 9452amigaos*) 9453 case $host_cpu in 9454 powerpc) 9455 # Since July 2007 AmigaOS4 officially supports .so libraries. 9456 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 9457 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9458 ;; 9459 m68k) 9460 library_names_spec='$libname.ixlibrary $libname.a' 9461 # Create ${libname}_ixlibrary.a entries in /sys/libs. 9462 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' 9463 ;; 9464 esac 9465 ;; 9466 9467beos*) 9468 library_names_spec='${libname}${shared_ext}' 9469 dynamic_linker="$host_os ld.so" 9470 shlibpath_var=LIBRARY_PATH 9471 ;; 9472 9473bsdi[45]*) 9474 version_type=linux 9475 need_version=no 9476 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9477 soname_spec='${libname}${release}${shared_ext}$major' 9478 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 9479 shlibpath_var=LD_LIBRARY_PATH 9480 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 9481 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 9482 # the default ld.so.conf also contains /usr/contrib/lib and 9483 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 9484 # libtool to hard-code these into programs 9485 ;; 9486 9487cygwin* | mingw* | pw32* | cegcc*) 9488 version_type=windows 9489 shrext_cmds=".dll" 9490 need_version=no 9491 need_lib_prefix=no 9492 9493 case $GCC,$host_os in 9494 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) 9495 library_names_spec='$libname.dll.a' 9496 # DLL is installed to $(libdir)/../bin by postinstall_cmds 9497 postinstall_cmds='base_file=`basename \${file}`~ 9498 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 9499 dldir=$destdir/`dirname \$dlpath`~ 9500 test -d \$dldir || mkdir -p \$dldir~ 9501 $install_prog $dir/$dlname \$dldir/$dlname~ 9502 chmod a+x \$dldir/$dlname~ 9503 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 9504 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 9505 fi' 9506 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 9507 dlpath=$dir/\$dldll~ 9508 $RM \$dlpath' 9509 shlibpath_overrides_runpath=yes 9510 9511 case $host_os in 9512 cygwin*) 9513 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 9514 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9515 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 9516 ;; 9517 mingw* | cegcc*) 9518 # MinGW DLLs use traditional 'lib' prefix 9519 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9520 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 9521 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 9522 # It is most probably a Windows format PATH printed by 9523 # mingw gcc, but we are running on Cygwin. Gcc prints its search 9524 # path with ; separators, and with drive letters. We can handle the 9525 # drive letters (cygwin fileutils understands them), so leave them, 9526 # especially as we might pass files found there to a mingw objdump, 9527 # which wouldn't understand a cygwinified path. Ahh. 9528 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 9529 else 9530 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 9531 fi 9532 ;; 9533 pw32*) 9534 # pw32 DLLs use 'pw' prefix rather than 'lib' 9535 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9536 ;; 9537 esac 9538 ;; 9539 9540 *) 9541 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 9542 ;; 9543 esac 9544 dynamic_linker='Win32 ld.exe' 9545 # FIXME: first we should search . and the directory the executable is in 9546 shlibpath_var=PATH 9547 ;; 9548 9549darwin* | rhapsody*) 9550 dynamic_linker="$host_os dyld" 9551 version_type=darwin 9552 need_lib_prefix=no 9553 need_version=no 9554 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 9555 soname_spec='${libname}${release}${major}$shared_ext' 9556 shlibpath_overrides_runpath=yes 9557 shlibpath_var=DYLD_LIBRARY_PATH 9558 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 9559 9560 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 9561 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 9562 ;; 9563 9564dgux*) 9565 version_type=linux 9566 need_lib_prefix=no 9567 need_version=no 9568 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 9569 soname_spec='${libname}${release}${shared_ext}$major' 9570 shlibpath_var=LD_LIBRARY_PATH 9571 ;; 9572 9573freebsd1*) 9574 dynamic_linker=no 9575 ;; 9576 9577freebsd* | dragonfly*) 9578 # DragonFly does not have aout. When/if they implement a new 9579 # versioning mechanism, adjust this. 9580 if test -x /usr/bin/objformat; then 9581 objformat=`/usr/bin/objformat` 9582 else 9583 case $host_os in 9584 freebsd[123]*) objformat=aout ;; 9585 *) objformat=elf ;; 9586 esac 9587 fi 9588 version_type=freebsd-$objformat 9589 case $version_type in 9590 freebsd-elf*) 9591 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 9592 need_version=no 9593 need_lib_prefix=no 9594 ;; 9595 freebsd-*) 9596 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 9597 need_version=yes 9598 ;; 9599 esac 9600 shlibpath_var=LD_LIBRARY_PATH 9601 case $host_os in 9602 freebsd2*) 9603 shlibpath_overrides_runpath=yes 9604 ;; 9605 freebsd3.[01]* | freebsdelf3.[01]*) 9606 shlibpath_overrides_runpath=yes 9607 hardcode_into_libs=yes 9608 ;; 9609 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 9610 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 9611 shlibpath_overrides_runpath=no 9612 hardcode_into_libs=yes 9613 ;; 9614 *) # from 4.6 on, and DragonFly 9615 shlibpath_overrides_runpath=yes 9616 hardcode_into_libs=yes 9617 ;; 9618 esac 9619 ;; 9620 9621gnu*) 9622 version_type=linux 9623 need_lib_prefix=no 9624 need_version=no 9625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 9626 soname_spec='${libname}${release}${shared_ext}$major' 9627 shlibpath_var=LD_LIBRARY_PATH 9628 hardcode_into_libs=yes 9629 ;; 9630 9631hpux9* | hpux10* | hpux11*) 9632 # Give a soname corresponding to the major version so that dld.sl refuses to 9633 # link against other versions. 9634 version_type=sunos 9635 need_lib_prefix=no 9636 need_version=no 9637 case $host_cpu in 9638 ia64*) 9639 shrext_cmds='.so' 9640 hardcode_into_libs=yes 9641 dynamic_linker="$host_os dld.so" 9642 shlibpath_var=LD_LIBRARY_PATH 9643 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 9644 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9645 soname_spec='${libname}${release}${shared_ext}$major' 9646 if test "X$HPUX_IA64_MODE" = X32; then 9647 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 9648 else 9649 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 9650 fi 9651 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 9652 ;; 9653 hppa*64*) 9654 shrext_cmds='.sl' 9655 hardcode_into_libs=yes 9656 dynamic_linker="$host_os dld.sl" 9657 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 9658 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 9659 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9660 soname_spec='${libname}${release}${shared_ext}$major' 9661 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 9662 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 9663 ;; 9664 *) 9665 shrext_cmds='.sl' 9666 dynamic_linker="$host_os dld.sl" 9667 shlibpath_var=SHLIB_PATH 9668 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 9669 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9670 soname_spec='${libname}${release}${shared_ext}$major' 9671 ;; 9672 esac 9673 # HP-UX runs *really* slowly unless shared libraries are mode 555. 9674 postinstall_cmds='chmod 555 $lib' 9675 ;; 9676 9677interix[3-9]*) 9678 version_type=linux 9679 need_lib_prefix=no 9680 need_version=no 9681 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 9682 soname_spec='${libname}${release}${shared_ext}$major' 9683 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 9684 shlibpath_var=LD_LIBRARY_PATH 9685 shlibpath_overrides_runpath=no 9686 hardcode_into_libs=yes 9687 ;; 9688 9689irix5* | irix6* | nonstopux*) 9690 case $host_os in 9691 nonstopux*) version_type=nonstopux ;; 9692 *) 9693 if test "$lt_cv_prog_gnu_ld" = yes; then 9694 version_type=linux 9695 else 9696 version_type=irix 9697 fi ;; 9698 esac 9699 need_lib_prefix=no 9700 need_version=no 9701 soname_spec='${libname}${release}${shared_ext}$major' 9702 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 9703 case $host_os in 9704 irix5* | nonstopux*) 9705 libsuff= shlibsuff= 9706 ;; 9707 *) 9708 case $LD in # libtool.m4 will add one of these switches to LD 9709 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 9710 libsuff= shlibsuff= libmagic=32-bit;; 9711 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 9712 libsuff=32 shlibsuff=N32 libmagic=N32;; 9713 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 9714 libsuff=64 shlibsuff=64 libmagic=64-bit;; 9715 *) libsuff= shlibsuff= libmagic=never-match;; 9716 esac 9717 ;; 9718 esac 9719 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 9720 shlibpath_overrides_runpath=no 9721 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 9722 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 9723 hardcode_into_libs=yes 9724 ;; 9725 9726# No shared lib support for Linux oldld, aout, or coff. 9727linux*oldld* | linux*aout* | linux*coff*) 9728 dynamic_linker=no 9729 ;; 9730 9731# This must be Linux ELF. 9732linux* | k*bsd*-gnu) 9733 version_type=linux 9734 need_lib_prefix=no 9735 need_version=no 9736 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9737 soname_spec='${libname}${release}${shared_ext}$major' 9738 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 9739 shlibpath_var=LD_LIBRARY_PATH 9740 shlibpath_overrides_runpath=no 9741 # Some binutils ld are patched to set DT_RUNPATH 9742 save_LDFLAGS=$LDFLAGS 9743 save_libdir=$libdir 9744 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 9745 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 9746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9747/* end confdefs.h. */ 9748 9749int 9750main () 9751{ 9752 9753 ; 9754 return 0; 9755} 9756_ACEOF 9757if ac_fn_c_try_link "$LINENO"; then : 9758 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 9759 shlibpath_overrides_runpath=yes 9760fi 9761fi 9762rm -f core conftest.err conftest.$ac_objext \ 9763 conftest$ac_exeext conftest.$ac_ext 9764 LDFLAGS=$save_LDFLAGS 9765 libdir=$save_libdir 9766 9767 # This implies no fast_install, which is unacceptable. 9768 # Some rework will be needed to allow for fast_install 9769 # before this can be enabled. 9770 hardcode_into_libs=yes 9771 9772 # Add ABI-specific directories to the system library path. 9773 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 9774 9775 # Append ld.so.conf contents to the search path 9776 if test -f /etc/ld.so.conf; then 9777 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' ' '` 9778 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 9779 fi 9780 9781 # We used to test for /lib/ld.so.1 and disable shared libraries on 9782 # powerpc, because MkLinux only supported shared libraries with the 9783 # GNU dynamic linker. Since this was broken with cross compilers, 9784 # most powerpc-linux boxes support dynamic linking these days and 9785 # people can always --disable-shared, the test was removed, and we 9786 # assume the GNU/Linux dynamic linker is in use. 9787 dynamic_linker='GNU/Linux ld.so' 9788 ;; 9789 9790netbsd*) 9791 version_type=sunos 9792 need_lib_prefix=no 9793 need_version=no 9794 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9795 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 9796 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 9797 dynamic_linker='NetBSD (a.out) ld.so' 9798 else 9799 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 9800 soname_spec='${libname}${release}${shared_ext}$major' 9801 dynamic_linker='NetBSD ld.elf_so' 9802 fi 9803 shlibpath_var=LD_LIBRARY_PATH 9804 shlibpath_overrides_runpath=yes 9805 hardcode_into_libs=yes 9806 ;; 9807 9808newsos6) 9809 version_type=linux 9810 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9811 shlibpath_var=LD_LIBRARY_PATH 9812 shlibpath_overrides_runpath=yes 9813 ;; 9814 9815*nto* | *qnx*) 9816 version_type=qnx 9817 need_lib_prefix=no 9818 need_version=no 9819 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9820 soname_spec='${libname}${release}${shared_ext}$major' 9821 shlibpath_var=LD_LIBRARY_PATH 9822 shlibpath_overrides_runpath=no 9823 hardcode_into_libs=yes 9824 dynamic_linker='ldqnx.so' 9825 ;; 9826 9827openbsd*) 9828 version_type=sunos 9829 sys_lib_dlsearch_path_spec="/usr/lib" 9830 need_lib_prefix=no 9831 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 9832 case $host_os in 9833 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 9834 *) need_version=no ;; 9835 esac 9836 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 9837 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 9838 shlibpath_var=LD_LIBRARY_PATH 9839 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9840 case $host_os in 9841 openbsd2.[89] | openbsd2.[89].*) 9842 shlibpath_overrides_runpath=no 9843 ;; 9844 *) 9845 shlibpath_overrides_runpath=yes 9846 ;; 9847 esac 9848 else 9849 shlibpath_overrides_runpath=yes 9850 fi 9851 ;; 9852 9853os2*) 9854 libname_spec='$name' 9855 shrext_cmds=".dll" 9856 need_lib_prefix=no 9857 library_names_spec='$libname${shared_ext} $libname.a' 9858 dynamic_linker='OS/2 ld.exe' 9859 shlibpath_var=LIBPATH 9860 ;; 9861 9862osf3* | osf4* | osf5*) 9863 version_type=osf 9864 need_lib_prefix=no 9865 need_version=no 9866 soname_spec='${libname}${release}${shared_ext}$major' 9867 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9868 shlibpath_var=LD_LIBRARY_PATH 9869 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 9870 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 9871 ;; 9872 9873rdos*) 9874 dynamic_linker=no 9875 ;; 9876 9877solaris*) 9878 version_type=linux 9879 need_lib_prefix=no 9880 need_version=no 9881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9882 soname_spec='${libname}${release}${shared_ext}$major' 9883 shlibpath_var=LD_LIBRARY_PATH 9884 shlibpath_overrides_runpath=yes 9885 hardcode_into_libs=yes 9886 # ldd complains unless libraries are executable 9887 postinstall_cmds='chmod +x $lib' 9888 ;; 9889 9890sunos4*) 9891 version_type=sunos 9892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 9893 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 9894 shlibpath_var=LD_LIBRARY_PATH 9895 shlibpath_overrides_runpath=yes 9896 if test "$with_gnu_ld" = yes; then 9897 need_lib_prefix=no 9898 fi 9899 need_version=yes 9900 ;; 9901 9902sysv4 | sysv4.3*) 9903 version_type=linux 9904 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9905 soname_spec='${libname}${release}${shared_ext}$major' 9906 shlibpath_var=LD_LIBRARY_PATH 9907 case $host_vendor in 9908 sni) 9909 shlibpath_overrides_runpath=no 9910 need_lib_prefix=no 9911 runpath_var=LD_RUN_PATH 9912 ;; 9913 siemens) 9914 need_lib_prefix=no 9915 ;; 9916 motorola) 9917 need_lib_prefix=no 9918 need_version=no 9919 shlibpath_overrides_runpath=no 9920 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 9921 ;; 9922 esac 9923 ;; 9924 9925sysv4*MP*) 9926 if test -d /usr/nec ;then 9927 version_type=linux 9928 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 9929 soname_spec='$libname${shared_ext}.$major' 9930 shlibpath_var=LD_LIBRARY_PATH 9931 fi 9932 ;; 9933 9934sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 9935 version_type=freebsd-elf 9936 need_lib_prefix=no 9937 need_version=no 9938 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 9939 soname_spec='${libname}${release}${shared_ext}$major' 9940 shlibpath_var=LD_LIBRARY_PATH 9941 shlibpath_overrides_runpath=yes 9942 hardcode_into_libs=yes 9943 if test "$with_gnu_ld" = yes; then 9944 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 9945 else 9946 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 9947 case $host_os in 9948 sco3.2v5*) 9949 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 9950 ;; 9951 esac 9952 fi 9953 sys_lib_dlsearch_path_spec='/usr/lib' 9954 ;; 9955 9956tpf*) 9957 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 9958 version_type=linux 9959 need_lib_prefix=no 9960 need_version=no 9961 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9962 shlibpath_var=LD_LIBRARY_PATH 9963 shlibpath_overrides_runpath=no 9964 hardcode_into_libs=yes 9965 ;; 9966 9967uts4*) 9968 version_type=linux 9969 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9970 soname_spec='${libname}${release}${shared_ext}$major' 9971 shlibpath_var=LD_LIBRARY_PATH 9972 ;; 9973 9974*) 9975 dynamic_linker=no 9976 ;; 9977esac 9978{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 9979$as_echo "$dynamic_linker" >&6; } 9980test "$dynamic_linker" = no && can_build_shared=no 9981 9982variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 9983if test "$GCC" = yes; then 9984 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 9985fi 9986 9987if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 9988 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 9989fi 9990if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 9991 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 9992fi 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 10081$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 10082hardcode_action= 10083if test -n "$hardcode_libdir_flag_spec" || 10084 test -n "$runpath_var" || 10085 test "X$hardcode_automatic" = "Xyes" ; then 10086 10087 # We can hardcode non-existent directories. 10088 if test "$hardcode_direct" != no && 10089 # If the only mechanism to avoid hardcoding is shlibpath_var, we 10090 # have to relink, otherwise we might link with an installed library 10091 # when we should be linking with a yet-to-be-installed one 10092 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 10093 test "$hardcode_minus_L" != no; then 10094 # Linking always hardcodes the temporary library directory. 10095 hardcode_action=relink 10096 else 10097 # We can link without hardcoding, and we can hardcode nonexisting dirs. 10098 hardcode_action=immediate 10099 fi 10100else 10101 # We cannot hardcode anything, or else we can only hardcode existing 10102 # directories. 10103 hardcode_action=unsupported 10104fi 10105{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 10106$as_echo "$hardcode_action" >&6; } 10107 10108if test "$hardcode_action" = relink || 10109 test "$inherit_rpath" = yes; then 10110 # Fast installation is not supported 10111 enable_fast_install=no 10112elif test "$shlibpath_overrides_runpath" = yes || 10113 test "$enable_shared" = no; then 10114 # Fast installation is not necessary 10115 enable_fast_install=needless 10116fi 10117 10118 10119 10120 10121 10122 10123 if test "x$enable_dlopen" != xyes; then 10124 enable_dlopen=unknown 10125 enable_dlopen_self=unknown 10126 enable_dlopen_self_static=unknown 10127else 10128 lt_cv_dlopen=no 10129 lt_cv_dlopen_libs= 10130 10131 case $host_os in 10132 beos*) 10133 lt_cv_dlopen="load_add_on" 10134 lt_cv_dlopen_libs= 10135 lt_cv_dlopen_self=yes 10136 ;; 10137 10138 mingw* | pw32* | cegcc*) 10139 lt_cv_dlopen="LoadLibrary" 10140 lt_cv_dlopen_libs= 10141 ;; 10142 10143 cygwin*) 10144 lt_cv_dlopen="dlopen" 10145 lt_cv_dlopen_libs= 10146 ;; 10147 10148 darwin*) 10149 # if libdl is installed we need to link against it 10150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10151$as_echo_n "checking for dlopen in -ldl... " >&6; } 10152if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 10153 $as_echo_n "(cached) " >&6 10154else 10155 ac_check_lib_save_LIBS=$LIBS 10156LIBS="-ldl $LIBS" 10157cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10158/* end confdefs.h. */ 10159 10160/* Override any GCC internal prototype to avoid an error. 10161 Use char because int might match the return type of a GCC 10162 builtin and then its argument prototype would still apply. */ 10163#ifdef __cplusplus 10164extern "C" 10165#endif 10166char dlopen (); 10167int 10168main () 10169{ 10170return dlopen (); 10171 ; 10172 return 0; 10173} 10174_ACEOF 10175if ac_fn_c_try_link "$LINENO"; then : 10176 ac_cv_lib_dl_dlopen=yes 10177else 10178 ac_cv_lib_dl_dlopen=no 10179fi 10180rm -f core conftest.err conftest.$ac_objext \ 10181 conftest$ac_exeext conftest.$ac_ext 10182LIBS=$ac_check_lib_save_LIBS 10183fi 10184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10185$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10186if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 10187 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10188else 10189 10190 lt_cv_dlopen="dyld" 10191 lt_cv_dlopen_libs= 10192 lt_cv_dlopen_self=yes 10193 10194fi 10195 10196 ;; 10197 10198 *) 10199 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 10200if test "x$ac_cv_func_shl_load" = x""yes; then : 10201 lt_cv_dlopen="shl_load" 10202else 10203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 10204$as_echo_n "checking for shl_load in -ldld... " >&6; } 10205if test "${ac_cv_lib_dld_shl_load+set}" = set; then : 10206 $as_echo_n "(cached) " >&6 10207else 10208 ac_check_lib_save_LIBS=$LIBS 10209LIBS="-ldld $LIBS" 10210cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10211/* end confdefs.h. */ 10212 10213/* Override any GCC internal prototype to avoid an error. 10214 Use char because int might match the return type of a GCC 10215 builtin and then its argument prototype would still apply. */ 10216#ifdef __cplusplus 10217extern "C" 10218#endif 10219char shl_load (); 10220int 10221main () 10222{ 10223return shl_load (); 10224 ; 10225 return 0; 10226} 10227_ACEOF 10228if ac_fn_c_try_link "$LINENO"; then : 10229 ac_cv_lib_dld_shl_load=yes 10230else 10231 ac_cv_lib_dld_shl_load=no 10232fi 10233rm -f core conftest.err conftest.$ac_objext \ 10234 conftest$ac_exeext conftest.$ac_ext 10235LIBS=$ac_check_lib_save_LIBS 10236fi 10237{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 10238$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 10239if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : 10240 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 10241else 10242 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 10243if test "x$ac_cv_func_dlopen" = x""yes; then : 10244 lt_cv_dlopen="dlopen" 10245else 10246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10247$as_echo_n "checking for dlopen in -ldl... " >&6; } 10248if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 10249 $as_echo_n "(cached) " >&6 10250else 10251 ac_check_lib_save_LIBS=$LIBS 10252LIBS="-ldl $LIBS" 10253cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10254/* end confdefs.h. */ 10255 10256/* Override any GCC internal prototype to avoid an error. 10257 Use char because int might match the return type of a GCC 10258 builtin and then its argument prototype would still apply. */ 10259#ifdef __cplusplus 10260extern "C" 10261#endif 10262char dlopen (); 10263int 10264main () 10265{ 10266return dlopen (); 10267 ; 10268 return 0; 10269} 10270_ACEOF 10271if ac_fn_c_try_link "$LINENO"; then : 10272 ac_cv_lib_dl_dlopen=yes 10273else 10274 ac_cv_lib_dl_dlopen=no 10275fi 10276rm -f core conftest.err conftest.$ac_objext \ 10277 conftest$ac_exeext conftest.$ac_ext 10278LIBS=$ac_check_lib_save_LIBS 10279fi 10280{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10281$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10282if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 10283 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10284else 10285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 10286$as_echo_n "checking for dlopen in -lsvld... " >&6; } 10287if test "${ac_cv_lib_svld_dlopen+set}" = set; then : 10288 $as_echo_n "(cached) " >&6 10289else 10290 ac_check_lib_save_LIBS=$LIBS 10291LIBS="-lsvld $LIBS" 10292cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10293/* end confdefs.h. */ 10294 10295/* Override any GCC internal prototype to avoid an error. 10296 Use char because int might match the return type of a GCC 10297 builtin and then its argument prototype would still apply. */ 10298#ifdef __cplusplus 10299extern "C" 10300#endif 10301char dlopen (); 10302int 10303main () 10304{ 10305return dlopen (); 10306 ; 10307 return 0; 10308} 10309_ACEOF 10310if ac_fn_c_try_link "$LINENO"; then : 10311 ac_cv_lib_svld_dlopen=yes 10312else 10313 ac_cv_lib_svld_dlopen=no 10314fi 10315rm -f core conftest.err conftest.$ac_objext \ 10316 conftest$ac_exeext conftest.$ac_ext 10317LIBS=$ac_check_lib_save_LIBS 10318fi 10319{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 10320$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 10321if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : 10322 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 10323else 10324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 10325$as_echo_n "checking for dld_link in -ldld... " >&6; } 10326if test "${ac_cv_lib_dld_dld_link+set}" = set; then : 10327 $as_echo_n "(cached) " >&6 10328else 10329 ac_check_lib_save_LIBS=$LIBS 10330LIBS="-ldld $LIBS" 10331cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10332/* end confdefs.h. */ 10333 10334/* Override any GCC internal prototype to avoid an error. 10335 Use char because int might match the return type of a GCC 10336 builtin and then its argument prototype would still apply. */ 10337#ifdef __cplusplus 10338extern "C" 10339#endif 10340char dld_link (); 10341int 10342main () 10343{ 10344return dld_link (); 10345 ; 10346 return 0; 10347} 10348_ACEOF 10349if ac_fn_c_try_link "$LINENO"; then : 10350 ac_cv_lib_dld_dld_link=yes 10351else 10352 ac_cv_lib_dld_dld_link=no 10353fi 10354rm -f core conftest.err conftest.$ac_objext \ 10355 conftest$ac_exeext conftest.$ac_ext 10356LIBS=$ac_check_lib_save_LIBS 10357fi 10358{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 10359$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 10360if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : 10361 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 10362fi 10363 10364 10365fi 10366 10367 10368fi 10369 10370 10371fi 10372 10373 10374fi 10375 10376 10377fi 10378 10379 ;; 10380 esac 10381 10382 if test "x$lt_cv_dlopen" != xno; then 10383 enable_dlopen=yes 10384 else 10385 enable_dlopen=no 10386 fi 10387 10388 case $lt_cv_dlopen in 10389 dlopen) 10390 save_CPPFLAGS="$CPPFLAGS" 10391 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 10392 10393 save_LDFLAGS="$LDFLAGS" 10394 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 10395 10396 save_LIBS="$LIBS" 10397 LIBS="$lt_cv_dlopen_libs $LIBS" 10398 10399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 10400$as_echo_n "checking whether a program can dlopen itself... " >&6; } 10401if test "${lt_cv_dlopen_self+set}" = set; then : 10402 $as_echo_n "(cached) " >&6 10403else 10404 if test "$cross_compiling" = yes; then : 10405 lt_cv_dlopen_self=cross 10406else 10407 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10408 lt_status=$lt_dlunknown 10409 cat > conftest.$ac_ext <<_LT_EOF 10410#line 10410 "configure" 10411#include "confdefs.h" 10412 10413#if HAVE_DLFCN_H 10414#include <dlfcn.h> 10415#endif 10416 10417#include <stdio.h> 10418 10419#ifdef RTLD_GLOBAL 10420# define LT_DLGLOBAL RTLD_GLOBAL 10421#else 10422# ifdef DL_GLOBAL 10423# define LT_DLGLOBAL DL_GLOBAL 10424# else 10425# define LT_DLGLOBAL 0 10426# endif 10427#endif 10428 10429/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 10430 find out it does not work in some platform. */ 10431#ifndef LT_DLLAZY_OR_NOW 10432# ifdef RTLD_LAZY 10433# define LT_DLLAZY_OR_NOW RTLD_LAZY 10434# else 10435# ifdef DL_LAZY 10436# define LT_DLLAZY_OR_NOW DL_LAZY 10437# else 10438# ifdef RTLD_NOW 10439# define LT_DLLAZY_OR_NOW RTLD_NOW 10440# else 10441# ifdef DL_NOW 10442# define LT_DLLAZY_OR_NOW DL_NOW 10443# else 10444# define LT_DLLAZY_OR_NOW 0 10445# endif 10446# endif 10447# endif 10448# endif 10449#endif 10450 10451void fnord() { int i=42;} 10452int main () 10453{ 10454 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 10455 int status = $lt_dlunknown; 10456 10457 if (self) 10458 { 10459 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 10460 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 10461 /* dlclose (self); */ 10462 } 10463 else 10464 puts (dlerror ()); 10465 10466 return status; 10467} 10468_LT_EOF 10469 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 10470 (eval $ac_link) 2>&5 10471 ac_status=$? 10472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10473 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 10474 (./conftest; exit; ) >&5 2>/dev/null 10475 lt_status=$? 10476 case x$lt_status in 10477 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 10478 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 10479 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 10480 esac 10481 else : 10482 # compilation failed 10483 lt_cv_dlopen_self=no 10484 fi 10485fi 10486rm -fr conftest* 10487 10488 10489fi 10490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 10491$as_echo "$lt_cv_dlopen_self" >&6; } 10492 10493 if test "x$lt_cv_dlopen_self" = xyes; then 10494 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 10495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 10496$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 10497if test "${lt_cv_dlopen_self_static+set}" = set; then : 10498 $as_echo_n "(cached) " >&6 10499else 10500 if test "$cross_compiling" = yes; then : 10501 lt_cv_dlopen_self_static=cross 10502else 10503 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10504 lt_status=$lt_dlunknown 10505 cat > conftest.$ac_ext <<_LT_EOF 10506#line 10506 "configure" 10507#include "confdefs.h" 10508 10509#if HAVE_DLFCN_H 10510#include <dlfcn.h> 10511#endif 10512 10513#include <stdio.h> 10514 10515#ifdef RTLD_GLOBAL 10516# define LT_DLGLOBAL RTLD_GLOBAL 10517#else 10518# ifdef DL_GLOBAL 10519# define LT_DLGLOBAL DL_GLOBAL 10520# else 10521# define LT_DLGLOBAL 0 10522# endif 10523#endif 10524 10525/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 10526 find out it does not work in some platform. */ 10527#ifndef LT_DLLAZY_OR_NOW 10528# ifdef RTLD_LAZY 10529# define LT_DLLAZY_OR_NOW RTLD_LAZY 10530# else 10531# ifdef DL_LAZY 10532# define LT_DLLAZY_OR_NOW DL_LAZY 10533# else 10534# ifdef RTLD_NOW 10535# define LT_DLLAZY_OR_NOW RTLD_NOW 10536# else 10537# ifdef DL_NOW 10538# define LT_DLLAZY_OR_NOW DL_NOW 10539# else 10540# define LT_DLLAZY_OR_NOW 0 10541# endif 10542# endif 10543# endif 10544# endif 10545#endif 10546 10547void fnord() { int i=42;} 10548int main () 10549{ 10550 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 10551 int status = $lt_dlunknown; 10552 10553 if (self) 10554 { 10555 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 10556 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 10557 /* dlclose (self); */ 10558 } 10559 else 10560 puts (dlerror ()); 10561 10562 return status; 10563} 10564_LT_EOF 10565 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 10566 (eval $ac_link) 2>&5 10567 ac_status=$? 10568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10569 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 10570 (./conftest; exit; ) >&5 2>/dev/null 10571 lt_status=$? 10572 case x$lt_status in 10573 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 10574 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 10575 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 10576 esac 10577 else : 10578 # compilation failed 10579 lt_cv_dlopen_self_static=no 10580 fi 10581fi 10582rm -fr conftest* 10583 10584 10585fi 10586{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 10587$as_echo "$lt_cv_dlopen_self_static" >&6; } 10588 fi 10589 10590 CPPFLAGS="$save_CPPFLAGS" 10591 LDFLAGS="$save_LDFLAGS" 10592 LIBS="$save_LIBS" 10593 ;; 10594 esac 10595 10596 case $lt_cv_dlopen_self in 10597 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 10598 *) enable_dlopen_self=unknown ;; 10599 esac 10600 10601 case $lt_cv_dlopen_self_static in 10602 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 10603 *) enable_dlopen_self_static=unknown ;; 10604 esac 10605fi 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623striplib= 10624old_striplib= 10625{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 10626$as_echo_n "checking whether stripping libraries is possible... " >&6; } 10627if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 10628 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 10629 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 10630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10631$as_echo "yes" >&6; } 10632else 10633# FIXME - insert some real tests, host_os isn't really good enough 10634 case $host_os in 10635 darwin*) 10636 if test -n "$STRIP" ; then 10637 striplib="$STRIP -x" 10638 old_striplib="$STRIP -S" 10639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10640$as_echo "yes" >&6; } 10641 else 10642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10643$as_echo "no" >&6; } 10644 fi 10645 ;; 10646 *) 10647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10648$as_echo "no" >&6; } 10649 ;; 10650 esac 10651fi 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 # Report which library types will actually be built 10665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 10666$as_echo_n "checking if libtool supports shared libraries... " >&6; } 10667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 10668$as_echo "$can_build_shared" >&6; } 10669 10670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 10671$as_echo_n "checking whether to build shared libraries... " >&6; } 10672 test "$can_build_shared" = "no" && enable_shared=no 10673 10674 # On AIX, shared libraries and static libraries use the same namespace, and 10675 # are all built from PIC. 10676 case $host_os in 10677 aix3*) 10678 test "$enable_shared" = yes && enable_static=no 10679 if test -n "$RANLIB"; then 10680 archive_cmds="$archive_cmds~\$RANLIB \$lib" 10681 postinstall_cmds='$RANLIB $lib' 10682 fi 10683 ;; 10684 10685 aix[4-9]*) 10686 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 10687 test "$enable_shared" = yes && enable_static=no 10688 fi 10689 ;; 10690 esac 10691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 10692$as_echo "$enable_shared" >&6; } 10693 10694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 10695$as_echo_n "checking whether to build static libraries... " >&6; } 10696 # Make sure either enable_shared or enable_static is yes. 10697 test "$enable_shared" = yes || enable_static=yes 10698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 10699$as_echo "$enable_static" >&6; } 10700 10701 10702 10703 10704fi 10705ac_ext=c 10706ac_cpp='$CPP $CPPFLAGS' 10707ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 10708ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 10709ac_compiler_gnu=$ac_cv_c_compiler_gnu 10710 10711CC="$lt_save_CC" 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 ac_config_commands="$ac_config_commands libtool" 10726 10727 10728 10729 10730# Only expand once: 10731 10732 10733 10734: ${CONFIG_LT=./config.lt} 10735{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5 10736$as_echo "$as_me: creating $CONFIG_LT" >&6;} 10737cat >"$CONFIG_LT" <<_LTEOF 10738#! $SHELL 10739# Generated by $as_me. 10740# Run this file to recreate a libtool stub with the current configuration. 10741 10742lt_cl_silent=false 10743SHELL=\${CONFIG_SHELL-$SHELL} 10744_LTEOF 10745 10746cat >>"$CONFIG_LT" <<\_LTEOF 10747## -------------------- ## 10748## M4sh Initialization. ## 10749## -------------------- ## 10750 10751# Be more Bourne compatible 10752DUALCASE=1; export DUALCASE # for MKS sh 10753if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 10754 emulate sh 10755 NULLCMD=: 10756 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 10757 # is contrary to our usage. Disable this feature. 10758 alias -g '${1+"$@"}'='"$@"' 10759 setopt NO_GLOB_SUBST 10760else 10761 case `(set -o) 2>/dev/null` in #( 10762 *posix*) : 10763 set -o posix ;; #( 10764 *) : 10765 ;; 10766esac 10767fi 10768 10769 10770as_nl=' 10771' 10772export as_nl 10773# Printing a long string crashes Solaris 7 /usr/bin/printf. 10774as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 10775as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 10776as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 10777# Prefer a ksh shell builtin over an external printf program on Solaris, 10778# but without wasting forks for bash or zsh. 10779if test -z "$BASH_VERSION$ZSH_VERSION" \ 10780 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 10781 as_echo='print -r --' 10782 as_echo_n='print -rn --' 10783elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 10784 as_echo='printf %s\n' 10785 as_echo_n='printf %s' 10786else 10787 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 10788 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 10789 as_echo_n='/usr/ucb/echo -n' 10790 else 10791 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 10792 as_echo_n_body='eval 10793 arg=$1; 10794 case $arg in #( 10795 *"$as_nl"*) 10796 expr "X$arg" : "X\\(.*\\)$as_nl"; 10797 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 10798 esac; 10799 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 10800 ' 10801 export as_echo_n_body 10802 as_echo_n='sh -c $as_echo_n_body as_echo' 10803 fi 10804 export as_echo_body 10805 as_echo='sh -c $as_echo_body as_echo' 10806fi 10807 10808# The user is always right. 10809if test "${PATH_SEPARATOR+set}" != set; then 10810 PATH_SEPARATOR=: 10811 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 10812 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 10813 PATH_SEPARATOR=';' 10814 } 10815fi 10816 10817 10818# IFS 10819# We need space, tab and new line, in precisely that order. Quoting is 10820# there to prevent editors from complaining about space-tab. 10821# (If _AS_PATH_WALK were called with IFS unset, it would disable word 10822# splitting by setting IFS to empty value.) 10823IFS=" "" $as_nl" 10824 10825# Find who we are. Look in the path if we contain no directory separator. 10826case $0 in #(( 10827 *[\\/]* ) as_myself=$0 ;; 10828 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10829for as_dir in $PATH 10830do 10831 IFS=$as_save_IFS 10832 test -z "$as_dir" && as_dir=. 10833 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 10834 done 10835IFS=$as_save_IFS 10836 10837 ;; 10838esac 10839# We did not find ourselves, most probably we were run as `sh COMMAND' 10840# in which case we are not to be found in the path. 10841if test "x$as_myself" = x; then 10842 as_myself=$0 10843fi 10844if test ! -f "$as_myself"; then 10845 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 10846 exit 1 10847fi 10848 10849# Unset variables that we do not need and which cause bugs (e.g. in 10850# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 10851# suppresses any "Segmentation fault" message there. '((' could 10852# trigger a bug in pdksh 5.2.14. 10853for as_var in BASH_ENV ENV MAIL MAILPATH 10854do eval test x\${$as_var+set} = xset \ 10855 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 10856done 10857PS1='$ ' 10858PS2='> ' 10859PS4='+ ' 10860 10861# NLS nuisances. 10862LC_ALL=C 10863export LC_ALL 10864LANGUAGE=C 10865export LANGUAGE 10866 10867# CDPATH. 10868(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 10869 10870 10871 10872# as_fn_error ERROR [LINENO LOG_FD] 10873# --------------------------------- 10874# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 10875# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 10876# script with status $?, using 1 if that was 0. 10877as_fn_error () 10878{ 10879 as_status=$?; test $as_status -eq 0 && as_status=1 10880 if test "$3"; then 10881 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 10882 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 10883 fi 10884 $as_echo "$as_me: error: $1" >&2 10885 as_fn_exit $as_status 10886} # as_fn_error 10887 10888 10889# as_fn_set_status STATUS 10890# ----------------------- 10891# Set $? to STATUS, without forking. 10892as_fn_set_status () 10893{ 10894 return $1 10895} # as_fn_set_status 10896 10897# as_fn_exit STATUS 10898# ----------------- 10899# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 10900as_fn_exit () 10901{ 10902 set +e 10903 as_fn_set_status $1 10904 exit $1 10905} # as_fn_exit 10906 10907# as_fn_unset VAR 10908# --------------- 10909# Portably unset VAR. 10910as_fn_unset () 10911{ 10912 { eval $1=; unset $1;} 10913} 10914as_unset=as_fn_unset 10915# as_fn_append VAR VALUE 10916# ---------------------- 10917# Append the text in VALUE to the end of the definition contained in VAR. Take 10918# advantage of any shell optimizations that allow amortized linear growth over 10919# repeated appends, instead of the typical quadratic growth present in naive 10920# implementations. 10921if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 10922 eval 'as_fn_append () 10923 { 10924 eval $1+=\$2 10925 }' 10926else 10927 as_fn_append () 10928 { 10929 eval $1=\$$1\$2 10930 } 10931fi # as_fn_append 10932 10933# as_fn_arith ARG... 10934# ------------------ 10935# Perform arithmetic evaluation on the ARGs, and store the result in the 10936# global $as_val. Take advantage of shells that can avoid forks. The arguments 10937# must be portable across $(()) and expr. 10938if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 10939 eval 'as_fn_arith () 10940 { 10941 as_val=$(( $* )) 10942 }' 10943else 10944 as_fn_arith () 10945 { 10946 as_val=`expr "$@" || test $? -eq 1` 10947 } 10948fi # as_fn_arith 10949 10950 10951if expr a : '\(a\)' >/dev/null 2>&1 && 10952 test "X`expr 00001 : '.*\(...\)'`" = X001; then 10953 as_expr=expr 10954else 10955 as_expr=false 10956fi 10957 10958if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 10959 as_basename=basename 10960else 10961 as_basename=false 10962fi 10963 10964if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 10965 as_dirname=dirname 10966else 10967 as_dirname=false 10968fi 10969 10970as_me=`$as_basename -- "$0" || 10971$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 10972 X"$0" : 'X\(//\)$' \| \ 10973 X"$0" : 'X\(/\)' \| . 2>/dev/null || 10974$as_echo X/"$0" | 10975 sed '/^.*\/\([^/][^/]*\)\/*$/{ 10976 s//\1/ 10977 q 10978 } 10979 /^X\/\(\/\/\)$/{ 10980 s//\1/ 10981 q 10982 } 10983 /^X\/\(\/\).*/{ 10984 s//\1/ 10985 q 10986 } 10987 s/.*/./; q'` 10988 10989# Avoid depending upon Character Ranges. 10990as_cr_letters='abcdefghijklmnopqrstuvwxyz' 10991as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 10992as_cr_Letters=$as_cr_letters$as_cr_LETTERS 10993as_cr_digits='0123456789' 10994as_cr_alnum=$as_cr_Letters$as_cr_digits 10995 10996ECHO_C= ECHO_N= ECHO_T= 10997case `echo -n x` in #((((( 10998-n*) 10999 case `echo 'xy\c'` in 11000 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 11001 xy) ECHO_C='\c';; 11002 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 11003 ECHO_T=' ';; 11004 esac;; 11005*) 11006 ECHO_N='-n';; 11007esac 11008 11009rm -f conf$$ conf$$.exe conf$$.file 11010if test -d conf$$.dir; then 11011 rm -f conf$$.dir/conf$$.file 11012else 11013 rm -f conf$$.dir 11014 mkdir conf$$.dir 2>/dev/null 11015fi 11016if (echo >conf$$.file) 2>/dev/null; then 11017 if ln -s conf$$.file conf$$ 2>/dev/null; then 11018 as_ln_s='ln -s' 11019 # ... but there are two gotchas: 11020 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 11021 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 11022 # In both cases, we have to default to `cp -p'. 11023 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 11024 as_ln_s='cp -p' 11025 elif ln conf$$.file conf$$ 2>/dev/null; then 11026 as_ln_s=ln 11027 else 11028 as_ln_s='cp -p' 11029 fi 11030else 11031 as_ln_s='cp -p' 11032fi 11033rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 11034rmdir conf$$.dir 2>/dev/null 11035 11036 11037# as_fn_mkdir_p 11038# ------------- 11039# Create "$as_dir" as a directory, including parents if necessary. 11040as_fn_mkdir_p () 11041{ 11042 11043 case $as_dir in #( 11044 -*) as_dir=./$as_dir;; 11045 esac 11046 test -d "$as_dir" || eval $as_mkdir_p || { 11047 as_dirs= 11048 while :; do 11049 case $as_dir in #( 11050 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 11051 *) as_qdir=$as_dir;; 11052 esac 11053 as_dirs="'$as_qdir' $as_dirs" 11054 as_dir=`$as_dirname -- "$as_dir" || 11055$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11056 X"$as_dir" : 'X\(//\)[^/]' \| \ 11057 X"$as_dir" : 'X\(//\)$' \| \ 11058 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 11059$as_echo X"$as_dir" | 11060 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11061 s//\1/ 11062 q 11063 } 11064 /^X\(\/\/\)[^/].*/{ 11065 s//\1/ 11066 q 11067 } 11068 /^X\(\/\/\)$/{ 11069 s//\1/ 11070 q 11071 } 11072 /^X\(\/\).*/{ 11073 s//\1/ 11074 q 11075 } 11076 s/.*/./; q'` 11077 test -d "$as_dir" && break 11078 done 11079 test -z "$as_dirs" || eval "mkdir $as_dirs" 11080 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" "$LINENO" 5 11081 11082 11083} # as_fn_mkdir_p 11084if mkdir -p . 2>/dev/null; then 11085 as_mkdir_p='mkdir -p "$as_dir"' 11086else 11087 test -d ./-p && rmdir ./-p 11088 as_mkdir_p=false 11089fi 11090 11091if test -x / >/dev/null 2>&1; then 11092 as_test_x='test -x' 11093else 11094 if ls -dL / >/dev/null 2>&1; then 11095 as_ls_L_option=L 11096 else 11097 as_ls_L_option= 11098 fi 11099 as_test_x=' 11100 eval sh -c '\'' 11101 if test -d "$1"; then 11102 test -d "$1/."; 11103 else 11104 case $1 in #( 11105 -*)set "./$1";; 11106 esac; 11107 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 11108 ???[sx]*):;;*)false;;esac;fi 11109 '\'' sh 11110 ' 11111fi 11112as_executable_p=$as_test_x 11113 11114# Sed expression to map a string onto a valid CPP name. 11115as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 11116 11117# Sed expression to map a string onto a valid variable name. 11118as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 11119 11120 11121 11122exec 6>&1 11123exec 5>>config.log 11124{ 11125 echo 11126 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 11127## Running $as_me. ## 11128_ASBOX 11129} >&5 11130 11131lt_cl_help="\ 11132\`$as_me' creates a local libtool stub from the current configuration, 11133for use in further configure time tests before the real libtool is 11134generated. 11135 11136Usage: $0 [OPTIONS] 11137 11138 -h, --help print this help, then exit 11139 -V, --version print version number, then exit 11140 -q, --quiet do not print progress messages 11141 -d, --debug don't remove temporary files 11142 11143Report bugs to <bug-libtool@gnu.org>." 11144 11145lt_cl_version="\ 11146pylgtksourceview config.lt 2.10.1 11147configured by $0, generated by GNU Autoconf 2.65. 11148 11149Copyright (C) 2008 Free Software Foundation, Inc. 11150This config.lt script is free software; the Free Software Foundation 11151gives unlimited permision to copy, distribute and modify it." 11152 11153while test $# != 0 11154do 11155 case $1 in 11156 --version | --v* | -V ) 11157 echo "$lt_cl_version"; exit 0 ;; 11158 --help | --h* | -h ) 11159 echo "$lt_cl_help"; exit 0 ;; 11160 --debug | --d* | -d ) 11161 debug=: ;; 11162 --quiet | --q* | --silent | --s* | -q ) 11163 lt_cl_silent=: ;; 11164 11165 -*) as_fn_error "unrecognized option: $1 11166Try \`$0 --help' for more information." "$LINENO" 5 ;; 11167 11168 *) as_fn_error "unrecognized argument: $1 11169Try \`$0 --help' for more information." "$LINENO" 5 ;; 11170 esac 11171 shift 11172done 11173 11174if $lt_cl_silent; then 11175 exec 6>/dev/null 11176fi 11177_LTEOF 11178 11179cat >>"$CONFIG_LT" <<_LTEOF 11180 11181 11182# The HP-UX ksh and POSIX shell print the target directory to stdout 11183# if CDPATH is set. 11184(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 11185 11186sed_quote_subst='$sed_quote_subst' 11187double_quote_subst='$double_quote_subst' 11188delay_variable_subst='$delay_variable_subst' 11189enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' 11190AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`' 11191DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`' 11192OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' 11193macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' 11194macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' 11195enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' 11196pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' 11197enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' 11198host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' 11199host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' 11200host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' 11201build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' 11202build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' 11203build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' 11204SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' 11205Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' 11206GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' 11207EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' 11208FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' 11209LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' 11210NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' 11211LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' 11212max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' 11213ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' 11214exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' 11215lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' 11216lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' 11217lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' 11218reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' 11219reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' 11220deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' 11221file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' 11222AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' 11223AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' 11224STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' 11225RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' 11226old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 11227old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 11228old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 11229CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' 11230CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' 11231compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' 11232GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' 11233lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' 11234lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' 11235lt_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"`' 11236lt_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"`' 11237objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' 11238SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' 11239ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' 11240MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' 11241lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' 11242lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' 11243lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' 11244lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' 11245lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' 11246need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' 11247DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' 11248NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' 11249LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' 11250OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' 11251OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' 11252libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' 11253shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' 11254extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 11255archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' 11256enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' 11257export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 11258whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 11259compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' 11260old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' 11261old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 11262archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 11263archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 11264module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' 11265module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 11266with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' 11267allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 11268no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 11269hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 11270hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' 11271hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' 11272hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' 11273hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' 11274hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' 11275hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 11276hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' 11277inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' 11278link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' 11279fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' 11280always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' 11281export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' 11282exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 11283include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 11284prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' 11285file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' 11286variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' 11287need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' 11288need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' 11289version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' 11290runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' 11291shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 11292shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' 11293libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' 11294library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' 11295soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' 11296postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 11297postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 11298finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' 11299finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' 11300hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' 11301sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 11302sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 11303hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' 11304enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' 11305enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' 11306enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' 11307old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' 11308striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' 11309 11310LTCC='$LTCC' 11311LTCFLAGS='$LTCFLAGS' 11312compiler='$compiler_DEFAULT' 11313 11314# Quote evaled strings. 11315for var in SED \ 11316GREP \ 11317EGREP \ 11318FGREP \ 11319LD \ 11320NM \ 11321LN_S \ 11322lt_SP2NL \ 11323lt_NL2SP \ 11324reload_flag \ 11325deplibs_check_method \ 11326file_magic_cmd \ 11327AR \ 11328AR_FLAGS \ 11329STRIP \ 11330RANLIB \ 11331CC \ 11332CFLAGS \ 11333compiler \ 11334lt_cv_sys_global_symbol_pipe \ 11335lt_cv_sys_global_symbol_to_cdecl \ 11336lt_cv_sys_global_symbol_to_c_name_address \ 11337lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 11338SHELL \ 11339ECHO \ 11340lt_prog_compiler_no_builtin_flag \ 11341lt_prog_compiler_wl \ 11342lt_prog_compiler_pic \ 11343lt_prog_compiler_static \ 11344lt_cv_prog_compiler_c_o \ 11345need_locks \ 11346DSYMUTIL \ 11347NMEDIT \ 11348LIPO \ 11349OTOOL \ 11350OTOOL64 \ 11351shrext_cmds \ 11352export_dynamic_flag_spec \ 11353whole_archive_flag_spec \ 11354compiler_needs_object \ 11355with_gnu_ld \ 11356allow_undefined_flag \ 11357no_undefined_flag \ 11358hardcode_libdir_flag_spec \ 11359hardcode_libdir_flag_spec_ld \ 11360hardcode_libdir_separator \ 11361fix_srcfile_path \ 11362exclude_expsyms \ 11363include_expsyms \ 11364file_list_spec \ 11365variables_saved_for_relink \ 11366libname_spec \ 11367library_names_spec \ 11368soname_spec \ 11369finish_eval \ 11370old_striplib \ 11371striplib; do 11372 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 11373 *[\\\\\\\`\\"\\\$]*) 11374 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 11375 ;; 11376 *) 11377 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 11378 ;; 11379 esac 11380done 11381 11382# Double-quote double-evaled strings. 11383for var in reload_cmds \ 11384old_postinstall_cmds \ 11385old_postuninstall_cmds \ 11386old_archive_cmds \ 11387extract_expsyms_cmds \ 11388old_archive_from_new_cmds \ 11389old_archive_from_expsyms_cmds \ 11390archive_cmds \ 11391archive_expsym_cmds \ 11392module_cmds \ 11393module_expsym_cmds \ 11394export_symbols_cmds \ 11395prelink_cmds \ 11396postinstall_cmds \ 11397postuninstall_cmds \ 11398finish_cmds \ 11399sys_lib_search_path_spec \ 11400sys_lib_dlsearch_path_spec; do 11401 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 11402 *[\\\\\\\`\\"\\\$]*) 11403 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 11404 ;; 11405 *) 11406 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 11407 ;; 11408 esac 11409done 11410 11411# Fix-up fallback echo if it was mangled by the above quoting rules. 11412case \$lt_ECHO in 11413*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` 11414 ;; 11415esac 11416 11417ac_aux_dir='$ac_aux_dir' 11418xsi_shell='$xsi_shell' 11419lt_shell_append='$lt_shell_append' 11420 11421# See if we are running on zsh, and set the options which allow our 11422# commands through without removal of \ escapes INIT. 11423if test -n "\${ZSH_VERSION+set}" ; then 11424 setopt NO_GLOB_SUBST 11425fi 11426 11427 11428 PACKAGE='$PACKAGE' 11429 VERSION='$VERSION' 11430 TIMESTAMP='$TIMESTAMP' 11431 RM='$RM' 11432 ofile='$ofile' 11433 11434 11435 11436_LTEOF 11437 11438cat >>"$CONFIG_LT" <<\_LTEOF 11439{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5 11440$as_echo "$as_me: creating $ofile" >&6;} 11441 11442 11443 # See if we are running on zsh, and set the options which allow our 11444 # commands through without removal of \ escapes. 11445 if test -n "${ZSH_VERSION+set}" ; then 11446 setopt NO_GLOB_SUBST 11447 fi 11448 11449 cfgfile="${ofile}T" 11450 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 11451 $RM "$cfgfile" 11452 11453 cat <<_LT_EOF >> "$cfgfile" 11454#! $SHELL 11455 11456# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 11457# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 11458# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 11459# NOTE: Changes made to this file will be lost: look at ltmain.sh. 11460# 11461# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 11462# 2006, 2007, 2008 Free Software Foundation, Inc. 11463# Written by Gordon Matzigkeit, 1996 11464# 11465# This file is part of GNU Libtool. 11466# 11467# GNU Libtool is free software; you can redistribute it and/or 11468# modify it under the terms of the GNU General Public License as 11469# published by the Free Software Foundation; either version 2 of 11470# the License, or (at your option) any later version. 11471# 11472# As a special exception to the GNU General Public License, 11473# if you distribute this file as part of a program or library that 11474# is built using GNU Libtool, you may include this file under the 11475# same distribution terms that you use for the rest of that program. 11476# 11477# GNU Libtool is distributed in the hope that it will be useful, 11478# but WITHOUT ANY WARRANTY; without even the implied warranty of 11479# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11480# GNU General Public License for more details. 11481# 11482# You should have received a copy of the GNU General Public License 11483# along with GNU Libtool; see the file COPYING. If not, a copy 11484# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 11485# obtained by writing to the Free Software Foundation, Inc., 11486# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 11487 11488 11489# The names of the tagged configurations supported by this script. 11490available_tags="" 11491 11492# ### BEGIN LIBTOOL CONFIG 11493 11494# Whether or not to build static libraries. 11495build_old_libs=$enable_static 11496 11497# Assembler program. 11498AS=$AS 11499 11500# DLL creation program. 11501DLLTOOL=$DLLTOOL 11502 11503# Object dumper program. 11504OBJDUMP=$OBJDUMP 11505 11506# Which release of libtool.m4 was used? 11507macro_version=$macro_version 11508macro_revision=$macro_revision 11509 11510# Whether or not to build shared libraries. 11511build_libtool_libs=$enable_shared 11512 11513# What type of objects to build. 11514pic_mode=$pic_mode 11515 11516# Whether or not to optimize for fast installation. 11517fast_install=$enable_fast_install 11518 11519# The host system. 11520host_alias=$host_alias 11521host=$host 11522host_os=$host_os 11523 11524# The build system. 11525build_alias=$build_alias 11526build=$build 11527build_os=$build_os 11528 11529# A sed program that does not truncate output. 11530SED=$lt_SED 11531 11532# Sed that helps us avoid accidentally triggering echo(1) options like -n. 11533Xsed="\$SED -e 1s/^X//" 11534 11535# A grep program that handles long lines. 11536GREP=$lt_GREP 11537 11538# An ERE matcher. 11539EGREP=$lt_EGREP 11540 11541# A literal string matcher. 11542FGREP=$lt_FGREP 11543 11544# A BSD- or MS-compatible name lister. 11545NM=$lt_NM 11546 11547# Whether we need soft or hard links. 11548LN_S=$lt_LN_S 11549 11550# What is the maximum length of a command? 11551max_cmd_len=$max_cmd_len 11552 11553# Object file suffix (normally "o"). 11554objext=$ac_objext 11555 11556# Executable file suffix (normally ""). 11557exeext=$exeext 11558 11559# whether the shell understands "unset". 11560lt_unset=$lt_unset 11561 11562# turn spaces into newlines. 11563SP2NL=$lt_lt_SP2NL 11564 11565# turn newlines into spaces. 11566NL2SP=$lt_lt_NL2SP 11567 11568# How to create reloadable object files. 11569reload_flag=$lt_reload_flag 11570reload_cmds=$lt_reload_cmds 11571 11572# Method to check whether dependent libraries are shared objects. 11573deplibs_check_method=$lt_deplibs_check_method 11574 11575# Command to use when deplibs_check_method == "file_magic". 11576file_magic_cmd=$lt_file_magic_cmd 11577 11578# The archiver. 11579AR=$lt_AR 11580AR_FLAGS=$lt_AR_FLAGS 11581 11582# A symbol stripping program. 11583STRIP=$lt_STRIP 11584 11585# Commands used to install an old-style archive. 11586RANLIB=$lt_RANLIB 11587old_postinstall_cmds=$lt_old_postinstall_cmds 11588old_postuninstall_cmds=$lt_old_postuninstall_cmds 11589 11590# A C compiler. 11591LTCC=$lt_CC 11592 11593# LTCC compiler flags. 11594LTCFLAGS=$lt_CFLAGS 11595 11596# Take the output of nm and produce a listing of raw symbols and C names. 11597global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 11598 11599# Transform the output of nm in a proper C declaration. 11600global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 11601 11602# Transform the output of nm in a C name address pair. 11603global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 11604 11605# Transform the output of nm in a C name address pair when lib prefix is needed. 11606global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 11607 11608# The name of the directory that contains temporary libtool files. 11609objdir=$objdir 11610 11611# Shell to use when invoking shell scripts. 11612SHELL=$lt_SHELL 11613 11614# An echo program that does not interpret backslashes. 11615ECHO=$lt_ECHO 11616 11617# Used to examine libraries when file_magic_cmd begins with "file". 11618MAGIC_CMD=$MAGIC_CMD 11619 11620# Must we lock files when doing compilation? 11621need_locks=$lt_need_locks 11622 11623# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 11624DSYMUTIL=$lt_DSYMUTIL 11625 11626# Tool to change global to local symbols on Mac OS X. 11627NMEDIT=$lt_NMEDIT 11628 11629# Tool to manipulate fat objects and archives on Mac OS X. 11630LIPO=$lt_LIPO 11631 11632# ldd/readelf like tool for Mach-O binaries on Mac OS X. 11633OTOOL=$lt_OTOOL 11634 11635# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 11636OTOOL64=$lt_OTOOL64 11637 11638# Old archive suffix (normally "a"). 11639libext=$libext 11640 11641# Shared library suffix (normally ".so"). 11642shrext_cmds=$lt_shrext_cmds 11643 11644# The commands to extract the exported symbol list from a shared archive. 11645extract_expsyms_cmds=$lt_extract_expsyms_cmds 11646 11647# Variables whose values should be saved in libtool wrapper scripts and 11648# restored at link time. 11649variables_saved_for_relink=$lt_variables_saved_for_relink 11650 11651# Do we need the "lib" prefix for modules? 11652need_lib_prefix=$need_lib_prefix 11653 11654# Do we need a version for libraries? 11655need_version=$need_version 11656 11657# Library versioning type. 11658version_type=$version_type 11659 11660# Shared library runtime path variable. 11661runpath_var=$runpath_var 11662 11663# Shared library path variable. 11664shlibpath_var=$shlibpath_var 11665 11666# Is shlibpath searched before the hard-coded library search path? 11667shlibpath_overrides_runpath=$shlibpath_overrides_runpath 11668 11669# Format of library name prefix. 11670libname_spec=$lt_libname_spec 11671 11672# List of archive names. First name is the real one, the rest are links. 11673# The last name is the one that the linker finds with -lNAME 11674library_names_spec=$lt_library_names_spec 11675 11676# The coded name of the library, if different from the real name. 11677soname_spec=$lt_soname_spec 11678 11679# Command to use after installation of a shared archive. 11680postinstall_cmds=$lt_postinstall_cmds 11681 11682# Command to use after uninstallation of a shared archive. 11683postuninstall_cmds=$lt_postuninstall_cmds 11684 11685# Commands used to finish a libtool library installation in a directory. 11686finish_cmds=$lt_finish_cmds 11687 11688# As "finish_cmds", except a single script fragment to be evaled but 11689# not shown. 11690finish_eval=$lt_finish_eval 11691 11692# Whether we should hardcode library paths into libraries. 11693hardcode_into_libs=$hardcode_into_libs 11694 11695# Compile-time system search path for libraries. 11696sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 11697 11698# Run-time system search path for libraries. 11699sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 11700 11701# Whether dlopen is supported. 11702dlopen_support=$enable_dlopen 11703 11704# Whether dlopen of programs is supported. 11705dlopen_self=$enable_dlopen_self 11706 11707# Whether dlopen of statically linked programs is supported. 11708dlopen_self_static=$enable_dlopen_self_static 11709 11710# Commands to strip libraries. 11711old_striplib=$lt_old_striplib 11712striplib=$lt_striplib 11713 11714 11715# The linker used to build libraries. 11716LD=$lt_LD 11717 11718# Commands used to build an old-style archive. 11719old_archive_cmds=$lt_old_archive_cmds 11720 11721# A language specific compiler. 11722CC=$lt_compiler 11723 11724# Is the compiler the GNU compiler? 11725with_gcc=$GCC 11726 11727# Compiler flag to turn off builtin functions. 11728no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 11729 11730# How to pass a linker flag through the compiler. 11731wl=$lt_lt_prog_compiler_wl 11732 11733# Additional compiler flags for building library objects. 11734pic_flag=$lt_lt_prog_compiler_pic 11735 11736# Compiler flag to prevent dynamic linking. 11737link_static_flag=$lt_lt_prog_compiler_static 11738 11739# Does compiler simultaneously support -c and -o options? 11740compiler_c_o=$lt_lt_cv_prog_compiler_c_o 11741 11742# Whether or not to add -lc for building shared libraries. 11743build_libtool_need_lc=$archive_cmds_need_lc 11744 11745# Whether or not to disallow shared libs when runtime libs are static. 11746allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 11747 11748# Compiler flag to allow reflexive dlopens. 11749export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 11750 11751# Compiler flag to generate shared objects directly from archives. 11752whole_archive_flag_spec=$lt_whole_archive_flag_spec 11753 11754# Whether the compiler copes with passing no objects directly. 11755compiler_needs_object=$lt_compiler_needs_object 11756 11757# Create an old-style archive from a shared archive. 11758old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 11759 11760# Create a temporary old-style archive to link instead of a shared archive. 11761old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 11762 11763# Commands used to build a shared archive. 11764archive_cmds=$lt_archive_cmds 11765archive_expsym_cmds=$lt_archive_expsym_cmds 11766 11767# Commands used to build a loadable module if different from building 11768# a shared archive. 11769module_cmds=$lt_module_cmds 11770module_expsym_cmds=$lt_module_expsym_cmds 11771 11772# Whether we are building with GNU ld or not. 11773with_gnu_ld=$lt_with_gnu_ld 11774 11775# Flag that allows shared libraries with undefined symbols to be built. 11776allow_undefined_flag=$lt_allow_undefined_flag 11777 11778# Flag that enforces no undefined symbols. 11779no_undefined_flag=$lt_no_undefined_flag 11780 11781# Flag to hardcode \$libdir into a binary during linking. 11782# This must work even if \$libdir does not exist 11783hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 11784 11785# If ld is used when linking, flag to hardcode \$libdir into a binary 11786# during linking. This must work even if \$libdir does not exist. 11787hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld 11788 11789# Whether we need a single "-rpath" flag with a separated argument. 11790hardcode_libdir_separator=$lt_hardcode_libdir_separator 11791 11792# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 11793# DIR into the resulting binary. 11794hardcode_direct=$hardcode_direct 11795 11796# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 11797# DIR into the resulting binary and the resulting library dependency is 11798# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 11799# library is relocated. 11800hardcode_direct_absolute=$hardcode_direct_absolute 11801 11802# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 11803# into the resulting binary. 11804hardcode_minus_L=$hardcode_minus_L 11805 11806# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 11807# into the resulting binary. 11808hardcode_shlibpath_var=$hardcode_shlibpath_var 11809 11810# Set to "yes" if building a shared library automatically hardcodes DIR 11811# into the library and all subsequent libraries and executables linked 11812# against it. 11813hardcode_automatic=$hardcode_automatic 11814 11815# Set to yes if linker adds runtime paths of dependent libraries 11816# to runtime path list. 11817inherit_rpath=$inherit_rpath 11818 11819# Whether libtool must link a program against all its dependency libraries. 11820link_all_deplibs=$link_all_deplibs 11821 11822# Fix the shell variable \$srcfile for the compiler. 11823fix_srcfile_path=$lt_fix_srcfile_path 11824 11825# Set to "yes" if exported symbols are required. 11826always_export_symbols=$always_export_symbols 11827 11828# The commands to list exported symbols. 11829export_symbols_cmds=$lt_export_symbols_cmds 11830 11831# Symbols that should not be listed in the preloaded symbols. 11832exclude_expsyms=$lt_exclude_expsyms 11833 11834# Symbols that must always be exported. 11835include_expsyms=$lt_include_expsyms 11836 11837# Commands necessary for linking programs (against libraries) with templates. 11838prelink_cmds=$lt_prelink_cmds 11839 11840# Specify filename containing input files. 11841file_list_spec=$lt_file_list_spec 11842 11843# How to hardcode a shared library path into an executable. 11844hardcode_action=$hardcode_action 11845 11846# ### END LIBTOOL CONFIG 11847 11848_LT_EOF 11849 11850 case $host_os in 11851 aix3*) 11852 cat <<\_LT_EOF >> "$cfgfile" 11853# AIX sometimes has problems with the GCC collect2 program. For some 11854# reason, if we set the COLLECT_NAMES environment variable, the problems 11855# vanish in a puff of smoke. 11856if test "X${COLLECT_NAMES+set}" != Xset; then 11857 COLLECT_NAMES= 11858 export COLLECT_NAMES 11859fi 11860_LT_EOF 11861 ;; 11862 esac 11863 11864 11865ltmain="$ac_aux_dir/ltmain.sh" 11866 11867 11868 # We use sed instead of cat because bash on DJGPP gets confused if 11869 # if finds mixed CR/LF and LF-only lines. Since sed operates in 11870 # text mode, it properly converts lines to CR/LF. This bash problem 11871 # is reportedly fixed, but why not run on old versions too? 11872 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ 11873 || (rm -f "$cfgfile"; exit 1) 11874 11875 case $xsi_shell in 11876 yes) 11877 cat << \_LT_EOF >> "$cfgfile" 11878 11879# func_dirname file append nondir_replacement 11880# Compute the dirname of FILE. If nonempty, add APPEND to the result, 11881# otherwise set result to NONDIR_REPLACEMENT. 11882func_dirname () 11883{ 11884 case ${1} in 11885 */*) func_dirname_result="${1%/*}${2}" ;; 11886 * ) func_dirname_result="${3}" ;; 11887 esac 11888} 11889 11890# func_basename file 11891func_basename () 11892{ 11893 func_basename_result="${1##*/}" 11894} 11895 11896# func_dirname_and_basename file append nondir_replacement 11897# perform func_basename and func_dirname in a single function 11898# call: 11899# dirname: Compute the dirname of FILE. If nonempty, 11900# add APPEND to the result, otherwise set result 11901# to NONDIR_REPLACEMENT. 11902# value returned in "$func_dirname_result" 11903# basename: Compute filename of FILE. 11904# value retuned in "$func_basename_result" 11905# Implementation must be kept synchronized with func_dirname 11906# and func_basename. For efficiency, we do not delegate to 11907# those functions but instead duplicate the functionality here. 11908func_dirname_and_basename () 11909{ 11910 case ${1} in 11911 */*) func_dirname_result="${1%/*}${2}" ;; 11912 * ) func_dirname_result="${3}" ;; 11913 esac 11914 func_basename_result="${1##*/}" 11915} 11916 11917# func_stripname prefix suffix name 11918# strip PREFIX and SUFFIX off of NAME. 11919# PREFIX and SUFFIX must not contain globbing or regex special 11920# characters, hashes, percent signs, but SUFFIX may contain a leading 11921# dot (in which case that matches only a dot). 11922func_stripname () 11923{ 11924 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are 11925 # positional parameters, so assign one to ordinary parameter first. 11926 func_stripname_result=${3} 11927 func_stripname_result=${func_stripname_result#"${1}"} 11928 func_stripname_result=${func_stripname_result%"${2}"} 11929} 11930 11931# func_opt_split 11932func_opt_split () 11933{ 11934 func_opt_split_opt=${1%%=*} 11935 func_opt_split_arg=${1#*=} 11936} 11937 11938# func_lo2o object 11939func_lo2o () 11940{ 11941 case ${1} in 11942 *.lo) func_lo2o_result=${1%.lo}.${objext} ;; 11943 *) func_lo2o_result=${1} ;; 11944 esac 11945} 11946 11947# func_xform libobj-or-source 11948func_xform () 11949{ 11950 func_xform_result=${1%.*}.lo 11951} 11952 11953# func_arith arithmetic-term... 11954func_arith () 11955{ 11956 func_arith_result=$(( $* )) 11957} 11958 11959# func_len string 11960# STRING may not start with a hyphen. 11961func_len () 11962{ 11963 func_len_result=${#1} 11964} 11965 11966_LT_EOF 11967 ;; 11968 *) # Bourne compatible functions. 11969 cat << \_LT_EOF >> "$cfgfile" 11970 11971# func_dirname file append nondir_replacement 11972# Compute the dirname of FILE. If nonempty, add APPEND to the result, 11973# otherwise set result to NONDIR_REPLACEMENT. 11974func_dirname () 11975{ 11976 # Extract subdirectory from the argument. 11977 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` 11978 if test "X$func_dirname_result" = "X${1}"; then 11979 func_dirname_result="${3}" 11980 else 11981 func_dirname_result="$func_dirname_result${2}" 11982 fi 11983} 11984 11985# func_basename file 11986func_basename () 11987{ 11988 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` 11989} 11990 11991 11992# func_stripname prefix suffix name 11993# strip PREFIX and SUFFIX off of NAME. 11994# PREFIX and SUFFIX must not contain globbing or regex special 11995# characters, hashes, percent signs, but SUFFIX may contain a leading 11996# dot (in which case that matches only a dot). 11997# func_strip_suffix prefix name 11998func_stripname () 11999{ 12000 case ${2} in 12001 .*) func_stripname_result=`$ECHO "X${3}" \ 12002 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; 12003 *) func_stripname_result=`$ECHO "X${3}" \ 12004 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; 12005 esac 12006} 12007 12008# sed scripts: 12009my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' 12010my_sed_long_arg='1s/^-[^=]*=//' 12011 12012# func_opt_split 12013func_opt_split () 12014{ 12015 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` 12016 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` 12017} 12018 12019# func_lo2o object 12020func_lo2o () 12021{ 12022 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` 12023} 12024 12025# func_xform libobj-or-source 12026func_xform () 12027{ 12028 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` 12029} 12030 12031# func_arith arithmetic-term... 12032func_arith () 12033{ 12034 func_arith_result=`expr "$@"` 12035} 12036 12037# func_len string 12038# STRING may not start with a hyphen. 12039func_len () 12040{ 12041 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` 12042} 12043 12044_LT_EOF 12045esac 12046 12047case $lt_shell_append in 12048 yes) 12049 cat << \_LT_EOF >> "$cfgfile" 12050 12051# func_append var value 12052# Append VALUE to the end of shell variable VAR. 12053func_append () 12054{ 12055 eval "$1+=\$2" 12056} 12057_LT_EOF 12058 ;; 12059 *) 12060 cat << \_LT_EOF >> "$cfgfile" 12061 12062# func_append var value 12063# Append VALUE to the end of shell variable VAR. 12064func_append () 12065{ 12066 eval "$1=\$$1\$2" 12067} 12068 12069_LT_EOF 12070 ;; 12071 esac 12072 12073 12074 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ 12075 || (rm -f "$cfgfile"; exit 1) 12076 12077 mv -f "$cfgfile" "$ofile" || 12078 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 12079 chmod +x "$ofile" 12080 12081 12082as_fn_exit 0 12083_LTEOF 12084chmod +x "$CONFIG_LT" 12085 12086# configure is writing to config.log, but config.lt does its own redirection, 12087# appending to config.log, which fails on DOS, as config.log is still kept 12088# open by configure. Here we exec the FD to /dev/null, effectively closing 12089# config.log, so it can be properly (re)opened and appended to by config.lt. 12090if test "$no_create" != yes; then 12091 lt_cl_success=: 12092 test "$silent" = yes && 12093 lt_config_lt_args="$lt_config_lt_args --quiet" 12094 exec 5>/dev/null 12095 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false 12096 exec 5>>config.log 12097 $lt_cl_success || as_fn_exit 1 12098fi 12099 12100 12101if test "x$os_win32" = xyes -a "x$cross_compiling" = xyes; then 12102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 12103$as_echo_n "checking for a sed that does not truncate output... " >&6; } 12104if test "${ac_cv_path_SED+set}" = set; then : 12105 $as_echo_n "(cached) " >&6 12106else 12107 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 12108 for ac_i in 1 2 3 4 5 6 7; do 12109 ac_script="$ac_script$as_nl$ac_script" 12110 done 12111 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 12112 { ac_script=; unset ac_script;} 12113 if test -z "$SED"; then 12114 ac_path_SED_found=false 12115 # Loop through the user's path and test for each of PROGNAME-LIST 12116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12117for as_dir in $PATH 12118do 12119 IFS=$as_save_IFS 12120 test -z "$as_dir" && as_dir=. 12121 for ac_prog in sed gsed; do 12122 for ac_exec_ext in '' $ac_executable_extensions; do 12123 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 12124 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 12125# Check for GNU ac_path_SED and select it if it is found. 12126 # Check for GNU $ac_path_SED 12127case `"$ac_path_SED" --version 2>&1` in 12128*GNU*) 12129 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 12130*) 12131 ac_count=0 12132 $as_echo_n 0123456789 >"conftest.in" 12133 while : 12134 do 12135 cat "conftest.in" "conftest.in" >"conftest.tmp" 12136 mv "conftest.tmp" "conftest.in" 12137 cp "conftest.in" "conftest.nl" 12138 $as_echo '' >> "conftest.nl" 12139 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 12140 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 12141 as_fn_arith $ac_count + 1 && ac_count=$as_val 12142 if test $ac_count -gt ${ac_path_SED_max-0}; then 12143 # Best one so far, save it but keep looking for a better one 12144 ac_cv_path_SED="$ac_path_SED" 12145 ac_path_SED_max=$ac_count 12146 fi 12147 # 10*(2^10) chars as input seems more than enough 12148 test $ac_count -gt 10 && break 12149 done 12150 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 12151esac 12152 12153 $ac_path_SED_found && break 3 12154 done 12155 done 12156 done 12157IFS=$as_save_IFS 12158 if test -z "$ac_cv_path_SED"; then 12159 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 12160 fi 12161else 12162 ac_cv_path_SED=$SED 12163fi 12164 12165fi 12166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 12167$as_echo "$ac_cv_path_SED" >&6; } 12168 SED="$ac_cv_path_SED" 12169 rm -f conftest.sed 12170 12171 12172 12173 if test "x$PYTHON_HOME" = x; then 12174 as_fn_error "PYTHON_HOME environment variable must be set when cross-compiling with mingw" "$LINENO" 5 12175 fi 12176 12177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system python version" >&5 12178$as_echo_n "checking host system python version... " >&6; } 12179 if test "x$PYTHON_VERSION" = x; then 12180 # guess python version, very clever heuristics here 12181 for _ac_python_minor in 3 4 5 6 7 8 9; do 12182 if test -f "$PYTHON_HOME/libs/libpython2$_ac_python_minor.a" -o \ 12183 -f "$PYTHON_HOME/libs/python2$_ac_python_minor.lib" ; 12184 then 12185 _ac_pyversion="2.$_ac_python_minor" 12186 break 12187 fi 12188 done 12189 else 12190 _ac_pyversion=$PYTHON_VERSION 12191 fi 12192 if test "x$_ac_pyversion" = x; then 12193 as_fn_error "Could not determine Python version" "$LINENO" 5 12194 fi 12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_ac_pyversion" >&5 12196$as_echo "$_ac_pyversion" >&6; } 12197 _ac_pyversion_no_dot=`echo $_ac_pyversion | $SED 's/^2\.*\([3-9]\).*/2\1/'` 12198 12199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking installation directory for python modules" >&5 12200$as_echo_n "checking installation directory for python modules... " >&6; } 12201 if test "x$PYTHON_PKG_DIR" != x; then 12202 _ac_pythondir=$PYTHON_PKG_DIR 12203 else 12204 _ac_pythondir="$PYTHON_HOME/Lib/site-packages" 12205 fi 12206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_ac_pythondir" >&5 12207$as_echo "$_ac_pythondir" >&6; } 12208 12209 if test "x$PYTHON_INCLUDES" != x; then 12210 _ac_pyincludes=$PYTHON_INCLUDES 12211 else 12212 _ac_pyincludes="-I$PYTHON_HOME/include" 12213 fi 12214 12215 if test "x$PYTHON_LIBS" != x; then 12216 _ac_pylibs=$PYTHON_LIBS 12217 else 12218 _ac_pylibs="-L$PYTHON_HOME/libs -lpython$_ac_pyversion_no_dot" 12219 fi 12220 12221 if test "x$PYTHON_LDFLAGS" != x; then 12222 _ac_pyldflags=$PYTHON_LDFLAGS 12223 else 12224 _ac_pyldflags= 12225 fi 12226 12227 _ac_have_pydev=false 12228 _ac_save_CPPFLAGS="$CPPFLAGS" 12229 _ac_save_LDFLAGS="$LDFLAGS" 12230 _ac_save_LIBS="$LIBS" 12231 CPPFLAGS="$CPPFLAGS $_ac_pyincludes" 12232 LDFLAGS="$LDFLAGS $_ac_pyldflags" 12233 LIBS="$LIBS $_ac_pylibs" 12234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking python headers and linker flags" >&5 12235$as_echo_n "checking python headers and linker flags... " >&6; } 12236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12237/* end confdefs.h. */ 12238#include <Python.h> 12239int 12240main () 12241{ 12242Py_Initialize(); 12243 ; 12244 return 0; 12245} 12246_ACEOF 12247if ac_fn_c_try_link "$LINENO"; then : 12248 12249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_ac_pyincludes $_ac_pyldflags $_ac_pylibs" >&5 12250$as_echo "$_ac_pyincludes $_ac_pyldflags $_ac_pylibs" >&6; } 12251 _ac_have_pydev=true 12252 12253else 12254 12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 12256$as_echo "not found" >&6; } 12257 12258fi 12259rm -f core conftest.err conftest.$ac_objext \ 12260 conftest$ac_exeext conftest.$ac_ext 12261 CPPFLAGS="$_ac_save_CPPFLAGS" 12262 LDFLAGS="$_ac_save_LDFLAGS" 12263 LIBS="$_ac_save_LIBS" 12264 12265 if $_ac_have_pydev; then 12266 PYTHON_PLATFORM=nt 12267 12268 PYTHON_INCLUDES=$_ac_pyincludes 12269 12270 PYTHON_LIBS=$_ac_pylibs 12271 12272 12273 PYTHON_LDFLAGS=$_ac_pyldflags 12274 12275 12276 pythondir=$_ac_pythondir 12277 12278 pyexecdir=$_ac_pythondir 12279 12280 pkgpythondir=\${pythondir}/$PACKAGE 12281 12282 pkgpyexecdir=\${pythondir}/$PACKAGE 12283 12284 : 12285 else 12286 as_fn_error "could not find Python headers" "$LINENO" 5 12287 fi 12288 12289else 12290 12291 12292 12293 12294 if test -n "$PYTHON"; then 12295 # If the user set $PYTHON, use it and don't search something else. 12296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.2" >&5 12297$as_echo_n "checking whether $PYTHON version >= 2.2... " >&6; } 12298 prog="import sys 12299# split strings by '.' and convert to numeric. Append some zeros 12300# because we need at least 4 digits for the hex conversion. 12301# map returns an iterator in Python 3.0 and a list in 2.x 12302minver = list(map(int, '2.2'.split('.'))) + [0, 0, 0] 12303minverhex = 0 12304# xrange is not present in Python 3.0 and range returns an iterator 12305for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] 12306sys.exit(sys.hexversion < minverhex)" 12307 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5 12308 ($PYTHON -c "$prog") >&5 2>&5 12309 ac_status=$? 12310 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12311 (exit $ac_status); }; then : 12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12313$as_echo "yes" >&6; } 12314else 12315 as_fn_error "too old" "$LINENO" 5 12316fi 12317 am_display_PYTHON=$PYTHON 12318 else 12319 # Otherwise, try each interpreter until we find one that satisfies 12320 # VERSION. 12321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.2" >&5 12322$as_echo_n "checking for a Python interpreter with version >= 2.2... " >&6; } 12323if test "${am_cv_pathless_PYTHON+set}" = set; then : 12324 $as_echo_n "(cached) " >&6 12325else 12326 12327 for am_cv_pathless_PYTHON in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do 12328 test "$am_cv_pathless_PYTHON" = none && break 12329 prog="import sys 12330# split strings by '.' and convert to numeric. Append some zeros 12331# because we need at least 4 digits for the hex conversion. 12332# map returns an iterator in Python 3.0 and a list in 2.x 12333minver = list(map(int, '2.2'.split('.'))) + [0, 0, 0] 12334minverhex = 0 12335# xrange is not present in Python 3.0 and range returns an iterator 12336for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] 12337sys.exit(sys.hexversion < minverhex)" 12338 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5 12339 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5 12340 ac_status=$? 12341 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12342 (exit $ac_status); }; then : 12343 break 12344fi 12345 done 12346fi 12347{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5 12348$as_echo "$am_cv_pathless_PYTHON" >&6; } 12349 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON. 12350 if test "$am_cv_pathless_PYTHON" = none; then 12351 PYTHON=: 12352 else 12353 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args. 12354set dummy $am_cv_pathless_PYTHON; ac_word=$2 12355{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12356$as_echo_n "checking for $ac_word... " >&6; } 12357if test "${ac_cv_path_PYTHON+set}" = set; then : 12358 $as_echo_n "(cached) " >&6 12359else 12360 case $PYTHON in 12361 [\\/]* | ?:[\\/]*) 12362 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. 12363 ;; 12364 *) 12365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12366for as_dir in $PATH 12367do 12368 IFS=$as_save_IFS 12369 test -z "$as_dir" && as_dir=. 12370 for ac_exec_ext in '' $ac_executable_extensions; do 12371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12372 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 12373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12374 break 2 12375 fi 12376done 12377 done 12378IFS=$as_save_IFS 12379 12380 ;; 12381esac 12382fi 12383PYTHON=$ac_cv_path_PYTHON 12384if test -n "$PYTHON"; then 12385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 12386$as_echo "$PYTHON" >&6; } 12387else 12388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12389$as_echo "no" >&6; } 12390fi 12391 12392 12393 fi 12394 am_display_PYTHON=$am_cv_pathless_PYTHON 12395 fi 12396 12397 12398 if test "$PYTHON" = :; then 12399 as_fn_error "no suitable Python interpreter found" "$LINENO" 5 12400 else 12401 12402 12403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5 12404$as_echo_n "checking for $am_display_PYTHON version... " >&6; } 12405if test "${am_cv_python_version+set}" = set; then : 12406 $as_echo_n "(cached) " >&6 12407else 12408 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"` 12409fi 12410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5 12411$as_echo "$am_cv_python_version" >&6; } 12412 PYTHON_VERSION=$am_cv_python_version 12413 12414 12415 12416 PYTHON_PREFIX='${prefix}' 12417 12418 PYTHON_EXEC_PREFIX='${exec_prefix}' 12419 12420 12421 12422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5 12423$as_echo_n "checking for $am_display_PYTHON platform... " >&6; } 12424if test "${am_cv_python_platform+set}" = set; then : 12425 $as_echo_n "(cached) " >&6 12426else 12427 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"` 12428fi 12429{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5 12430$as_echo "$am_cv_python_platform" >&6; } 12431 PYTHON_PLATFORM=$am_cv_python_platform 12432 12433 12434 12435 12436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5 12437$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; } 12438if test "${am_cv_python_pythondir+set}" = set; then : 12439 $as_echo_n "(cached) " >&6 12440else 12441 if test "x$prefix" = xNONE 12442 then 12443 am_py_prefix=$ac_default_prefix 12444 else 12445 am_py_prefix=$prefix 12446 fi 12447 am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null || 12448 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` 12449 case $am_cv_python_pythondir in 12450 $am_py_prefix*) 12451 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'` 12452 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"` 12453 ;; 12454 *) 12455 case $am_py_prefix in 12456 /usr|/System*) ;; 12457 *) 12458 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages 12459 ;; 12460 esac 12461 ;; 12462 esac 12463 12464fi 12465{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5 12466$as_echo "$am_cv_python_pythondir" >&6; } 12467 pythondir=$am_cv_python_pythondir 12468 12469 12470 12471 pkgpythondir=\${pythondir}/$PACKAGE 12472 12473 12474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5 12475$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; } 12476if test "${am_cv_python_pyexecdir+set}" = set; then : 12477 $as_echo_n "(cached) " >&6 12478else 12479 if test "x$exec_prefix" = xNONE 12480 then 12481 am_py_exec_prefix=$am_py_prefix 12482 else 12483 am_py_exec_prefix=$exec_prefix 12484 fi 12485 am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null || 12486 echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"` 12487 case $am_cv_python_pyexecdir in 12488 $am_py_exec_prefix*) 12489 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'` 12490 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"` 12491 ;; 12492 *) 12493 case $am_py_exec_prefix in 12494 /usr|/System*) ;; 12495 *) 12496 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages 12497 ;; 12498 esac 12499 ;; 12500 esac 12501 12502fi 12503{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5 12504$as_echo "$am_cv_python_pyexecdir" >&6; } 12505 pyexecdir=$am_cv_python_pyexecdir 12506 12507 12508 12509 pkgpyexecdir=\${pyexecdir}/$PACKAGE 12510 12511 12512 12513 fi 12514 12515 12516 12517{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for headers required to compile python extensions" >&5 12518$as_echo_n "checking for headers required to compile python extensions... " >&6; } 12519py_prefix=`$PYTHON -c "import sys; print sys.prefix"` 12520py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"` 12521PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}" 12522if test "$py_prefix" != "$py_exec_prefix"; then 12523 PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}" 12524fi 12525 12526save_CPPFLAGS="$CPPFLAGS" 12527CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES" 12528cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12529/* end confdefs.h. */ 12530#include <Python.h> 12531_ACEOF 12532if ac_fn_c_try_cpp "$LINENO"; then : 12533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 12534$as_echo "found" >&6; } 12535 12536else 12537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 12538$as_echo "not found" >&6; } 12539as_fn_error "could not find Python headers" "$LINENO" 5 12540fi 12541rm -f conftest.err conftest.$ac_ext 12542CPPFLAGS="$save_CPPFLAGS" 12543 12544fi 12545 12546 12547 12548if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 12549 if test -n "$ac_tool_prefix"; then 12550 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 12551set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 12552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12553$as_echo_n "checking for $ac_word... " >&6; } 12554if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 12555 $as_echo_n "(cached) " >&6 12556else 12557 case $PKG_CONFIG in 12558 [\\/]* | ?:[\\/]*) 12559 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 12560 ;; 12561 *) 12562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12563for as_dir in $PATH 12564do 12565 IFS=$as_save_IFS 12566 test -z "$as_dir" && as_dir=. 12567 for ac_exec_ext in '' $ac_executable_extensions; do 12568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12569 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12571 break 2 12572 fi 12573done 12574 done 12575IFS=$as_save_IFS 12576 12577 ;; 12578esac 12579fi 12580PKG_CONFIG=$ac_cv_path_PKG_CONFIG 12581if test -n "$PKG_CONFIG"; then 12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 12583$as_echo "$PKG_CONFIG" >&6; } 12584else 12585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12586$as_echo "no" >&6; } 12587fi 12588 12589 12590fi 12591if test -z "$ac_cv_path_PKG_CONFIG"; then 12592 ac_pt_PKG_CONFIG=$PKG_CONFIG 12593 # Extract the first word of "pkg-config", so it can be a program name with args. 12594set dummy pkg-config; ac_word=$2 12595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12596$as_echo_n "checking for $ac_word... " >&6; } 12597if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : 12598 $as_echo_n "(cached) " >&6 12599else 12600 case $ac_pt_PKG_CONFIG in 12601 [\\/]* | ?:[\\/]*) 12602 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 12603 ;; 12604 *) 12605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12606for as_dir in $PATH 12607do 12608 IFS=$as_save_IFS 12609 test -z "$as_dir" && as_dir=. 12610 for ac_exec_ext in '' $ac_executable_extensions; do 12611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12612 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12614 break 2 12615 fi 12616done 12617 done 12618IFS=$as_save_IFS 12619 12620 ;; 12621esac 12622fi 12623ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 12624if test -n "$ac_pt_PKG_CONFIG"; then 12625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 12626$as_echo "$ac_pt_PKG_CONFIG" >&6; } 12627else 12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12629$as_echo "no" >&6; } 12630fi 12631 12632 if test "x$ac_pt_PKG_CONFIG" = x; then 12633 PKG_CONFIG="" 12634 else 12635 case $cross_compiling:$ac_tool_warned in 12636yes:) 12637{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12638$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12639ac_tool_warned=yes ;; 12640esac 12641 PKG_CONFIG=$ac_pt_PKG_CONFIG 12642 fi 12643else 12644 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 12645fi 12646 12647fi 12648if test -n "$PKG_CONFIG"; then 12649 _pkg_min_version=0.9.0 12650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 12651$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 12652 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12654$as_echo "yes" >&6; } 12655 else 12656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12657$as_echo "no" >&6; } 12658 PKG_CONFIG="" 12659 fi 12660 12661fi 12662 12663pkg_failed=no 12664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYGOBJECT" >&5 12665$as_echo_n "checking for PYGOBJECT... " >&6; } 12666 12667if test -n "$PYGOBJECT_CFLAGS"; then 12668 pkg_cv_PYGOBJECT_CFLAGS="$PYGOBJECT_CFLAGS" 12669 elif test -n "$PKG_CONFIG"; then 12670 if test -n "$PKG_CONFIG" && \ 12671 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pylgobject-2.0 >= 2.15.2\""; } >&5 12672 ($PKG_CONFIG --exists --print-errors "pylgobject-2.0 >= 2.15.2") 2>&5 12673 ac_status=$? 12674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12675 test $ac_status = 0; }; then 12676 pkg_cv_PYGOBJECT_CFLAGS=`$PKG_CONFIG --cflags "pylgobject-2.0 >= 2.15.2" 2>/dev/null` 12677else 12678 pkg_failed=yes 12679fi 12680 else 12681 pkg_failed=untried 12682fi 12683if test -n "$PYGOBJECT_LIBS"; then 12684 pkg_cv_PYGOBJECT_LIBS="$PYGOBJECT_LIBS" 12685 elif test -n "$PKG_CONFIG"; then 12686 if test -n "$PKG_CONFIG" && \ 12687 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pylgobject-2.0 >= 2.15.2\""; } >&5 12688 ($PKG_CONFIG --exists --print-errors "pylgobject-2.0 >= 2.15.2") 2>&5 12689 ac_status=$? 12690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12691 test $ac_status = 0; }; then 12692 pkg_cv_PYGOBJECT_LIBS=`$PKG_CONFIG --libs "pylgobject-2.0 >= 2.15.2" 2>/dev/null` 12693else 12694 pkg_failed=yes 12695fi 12696 else 12697 pkg_failed=untried 12698fi 12699 12700 12701 12702if test $pkg_failed = yes; then 12703 12704if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 12705 _pkg_short_errors_supported=yes 12706else 12707 _pkg_short_errors_supported=no 12708fi 12709 if test $_pkg_short_errors_supported = yes; then 12710 PYGOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pylgobject-2.0 >= 2.15.2" 2>&1` 12711 else 12712 PYGOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors "pylgobject-2.0 >= 2.15.2" 2>&1` 12713 fi 12714 # Put the nasty error message in config.log where it belongs 12715 echo "$PYGOBJECT_PKG_ERRORS" >&5 12716 12717 as_fn_error "Package requirements (pylgobject-2.0 >= 2.15.2) were not met: 12718 12719$PYGOBJECT_PKG_ERRORS 12720 12721Consider adjusting the PKG_CONFIG_PATH environment variable if you 12722installed software in a non-standard prefix. 12723 12724Alternatively, you may set the environment variables PYGOBJECT_CFLAGS 12725and PYGOBJECT_LIBS to avoid the need to call pkg-config. 12726See the pkg-config man page for more details. 12727" "$LINENO" 5 12728elif test $pkg_failed = untried; then 12729 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12730$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12731as_fn_error "The pkg-config script could not be found or is too old. Make sure it 12732is in your PATH or set the PKG_CONFIG environment variable to the full 12733path to pkg-config. 12734 12735Alternatively, you may set the environment variables PYGOBJECT_CFLAGS 12736and PYGOBJECT_LIBS to avoid the need to call pkg-config. 12737See the pkg-config man page for more details. 12738 12739To get pkg-config, see <http://pkg-config.freedesktop.org/>. 12740See \`config.log' for more details." "$LINENO" 5; } 12741else 12742 PYGOBJECT_CFLAGS=$pkg_cv_PYGOBJECT_CFLAGS 12743 PYGOBJECT_LIBS=$pkg_cv_PYGOBJECT_LIBS 12744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12745$as_echo "yes" >&6; } 12746 : 12747fi 12748 12749PYGOBJECT_INCLUDEDIR=`$PKG_CONFIG --variable=pylgtkincludedir pylgobject-2.0` 12750 12751 12752PYGOBJECT_DATADIR=`$PKG_CONFIG --variable=datadir pylgobject-2.0` 12753 12754 12755PYGOBJECT_FIXXREF="$PYTHON `$PKG_CONFIG --variable=fixxref pylgobject-2.0`" 12756 12757 12758PYGOBJECT_PYGDOCS="`$PKG_CONFIG --variable=pygdocs pylgobject-2.0`" 12759 12760 12761# Check whether --enable-docs was given. 12762if test "${enable_docs+set}" = set; then : 12763 enableval=$enable_docs; 12764else 12765 enable_docs=yes 12766fi 12767 12768if test "${enable_docs}" != no; then 12769 # Extract the first word of "xsltproc", so it can be a program name with args. 12770set dummy xsltproc; ac_word=$2 12771{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12772$as_echo_n "checking for $ac_word... " >&6; } 12773if test "${ac_cv_path_XSLTPROC+set}" = set; then : 12774 $as_echo_n "(cached) " >&6 12775else 12776 case $XSLTPROC in 12777 [\\/]* | ?:[\\/]*) 12778 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path. 12779 ;; 12780 *) 12781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12782for as_dir in $PATH 12783do 12784 IFS=$as_save_IFS 12785 test -z "$as_dir" && as_dir=. 12786 for ac_exec_ext in '' $ac_executable_extensions; do 12787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12788 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext" 12789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12790 break 2 12791 fi 12792done 12793 done 12794IFS=$as_save_IFS 12795 12796 ;; 12797esac 12798fi 12799XSLTPROC=$ac_cv_path_XSLTPROC 12800if test -n "$XSLTPROC"; then 12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5 12802$as_echo "$XSLTPROC" >&6; } 12803else 12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12805$as_echo "no" >&6; } 12806fi 12807 12808 12809 if test -z "$XSLTPROC"; then 12810 enable_docs=no 12811 fi 12812fi 12813 12814if test x$enable_docs = xyes; then 12815 if ! $PKG_CONFIG "pylgobject-2.0 >= 2.11.3"; then 12816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pylgobject-2.0 < 2.11.3; disabling generation of docs" >&5 12817$as_echo "$as_me: WARNING: pylgobject-2.0 < 2.11.3; disabling generation of docs" >&2;} 12818 enable_docs=no 12819 fi 12820fi 12821 12822 if test x$enable_docs != xno; then 12823 ENABLE_DOCS_TRUE= 12824 ENABLE_DOCS_FALSE='#' 12825else 12826 ENABLE_DOCS_TRUE='#' 12827 ENABLE_DOCS_FALSE= 12828fi 12829 12830 12831export_dynamic=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh` 12832 12833 12834pkg_failed=no 12835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYGTKSOURCEVIEW" >&5 12836$as_echo_n "checking for PYGTKSOURCEVIEW... " >&6; } 12837 12838if test -n "$PYGTKSOURCEVIEW_CFLAGS"; then 12839 pkg_cv_PYGTKSOURCEVIEW_CFLAGS="$PYGTKSOURCEVIEW_CFLAGS" 12840 elif test -n "$PKG_CONFIG"; then 12841 if test -n "$PKG_CONFIG" && \ 12842 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" 12843 pylgtk-2.0 >= 2.8.0 12844 gtksourceview-2.0 >= 2.9.7 12845 \""; } >&5 12846 ($PKG_CONFIG --exists --print-errors " 12847 pylgtk-2.0 >= 2.8.0 12848 gtksourceview-2.0 >= 2.9.7 12849 ") 2>&5 12850 ac_status=$? 12851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12852 test $ac_status = 0; }; then 12853 pkg_cv_PYGTKSOURCEVIEW_CFLAGS=`$PKG_CONFIG --cflags " 12854 pylgtk-2.0 >= 2.8.0 12855 gtksourceview-2.0 >= 2.9.7 12856 " 2>/dev/null` 12857else 12858 pkg_failed=yes 12859fi 12860 else 12861 pkg_failed=untried 12862fi 12863if test -n "$PYGTKSOURCEVIEW_LIBS"; then 12864 pkg_cv_PYGTKSOURCEVIEW_LIBS="$PYGTKSOURCEVIEW_LIBS" 12865 elif test -n "$PKG_CONFIG"; then 12866 if test -n "$PKG_CONFIG" && \ 12867 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" 12868 pylgtk-2.0 >= 2.8.0 12869 gtksourceview-2.0 >= 2.9.7 12870 \""; } >&5 12871 ($PKG_CONFIG --exists --print-errors " 12872 pylgtk-2.0 >= 2.8.0 12873 gtksourceview-2.0 >= 2.9.7 12874 ") 2>&5 12875 ac_status=$? 12876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12877 test $ac_status = 0; }; then 12878 pkg_cv_PYGTKSOURCEVIEW_LIBS=`$PKG_CONFIG --libs " 12879 pylgtk-2.0 >= 2.8.0 12880 gtksourceview-2.0 >= 2.9.7 12881 " 2>/dev/null` 12882else 12883 pkg_failed=yes 12884fi 12885 else 12886 pkg_failed=untried 12887fi 12888 12889 12890 12891if test $pkg_failed = yes; then 12892 12893if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 12894 _pkg_short_errors_supported=yes 12895else 12896 _pkg_short_errors_supported=no 12897fi 12898 if test $_pkg_short_errors_supported = yes; then 12899 PYGTKSOURCEVIEW_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " 12900 pylgtk-2.0 >= 2.8.0 12901 gtksourceview-2.0 >= 2.9.7 12902 " 2>&1` 12903 else 12904 PYGTKSOURCEVIEW_PKG_ERRORS=`$PKG_CONFIG --print-errors " 12905 pylgtk-2.0 >= 2.8.0 12906 gtksourceview-2.0 >= 2.9.7 12907 " 2>&1` 12908 fi 12909 # Put the nasty error message in config.log where it belongs 12910 echo "$PYGTKSOURCEVIEW_PKG_ERRORS" >&5 12911 12912 as_fn_error "Package requirements ( 12913 pylgtk-2.0 >= 2.8.0 12914 gtksourceview-2.0 >= 2.9.7 12915 ) were not met: 12916 12917$PYGTKSOURCEVIEW_PKG_ERRORS 12918 12919Consider adjusting the PKG_CONFIG_PATH environment variable if you 12920installed software in a non-standard prefix. 12921 12922Alternatively, you may set the environment variables PYGTKSOURCEVIEW_CFLAGS 12923and PYGTKSOURCEVIEW_LIBS to avoid the need to call pkg-config. 12924See the pkg-config man page for more details. 12925" "$LINENO" 5 12926elif test $pkg_failed = untried; then 12927 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12928$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12929as_fn_error "The pkg-config script could not be found or is too old. Make sure it 12930is in your PATH or set the PKG_CONFIG environment variable to the full 12931path to pkg-config. 12932 12933Alternatively, you may set the environment variables PYGTKSOURCEVIEW_CFLAGS 12934and PYGTKSOURCEVIEW_LIBS to avoid the need to call pkg-config. 12935See the pkg-config man page for more details. 12936 12937To get pkg-config, see <http://pkg-config.freedesktop.org/>. 12938See \`config.log' for more details." "$LINENO" 5; } 12939else 12940 PYGTKSOURCEVIEW_CFLAGS=$pkg_cv_PYGTKSOURCEVIEW_CFLAGS 12941 PYGTKSOURCEVIEW_LIBS=$pkg_cv_PYGTKSOURCEVIEW_LIBS 12942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12943$as_echo "yes" >&6; } 12944 : 12945fi 12946PYGTK_DATADIR=`$PKG_CONFIG --variable=datadir pylgtk-2.0` 12947 12948 12949 12950 12951{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pylgtk codegen" >&5 12952$as_echo_n "checking for pylgtk codegen... " >&6; } 12953CODEGENDIR=`$PKG_CONFIG --variable=codegendir pylgtk-2.0` 12954echo $CODEGENDIR 12955if test -f $CODEGENDIR/codegen.py; then 12956 CODEGEN=$CODEGENDIR/codegen.py 12957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12958$as_echo "yes" >&6; } 12959else 12960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12961$as_echo "no" >&6; } 12962 as_fn_error "Error: codegen not found (should be shipped with pylgtk!)" "$LINENO" 5 12963fi 12964 12965 12966 12967case " $CFLAGS " in 12968*[\ \ ]-Wall[\ \ ]*) 12969 ;; 12970*) 12971 save_CFLAGS="$CFLAGS" 12972 CFLAGS="$CFLAGS -Wall" 12973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -Wall" >&5 12974$as_echo_n "checking whether $CC understands -Wall... " >&6; } 12975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12976/* end confdefs.h. */ 12977 12978int 12979main () 12980{ 12981 12982 ; 12983 return 0; 12984} 12985_ACEOF 12986if ac_fn_c_try_compile "$LINENO"; then : 12987 jh_has_option=yes 12988else 12989 jh_has_option=no 12990fi 12991rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jh_has_option" >&5 12993$as_echo "$jh_has_option" >&6; } 12994 if test $jh_has_option = no; then 12995 CFLAGS="$save_CFLAGS" 12996 fi 12997 ;; 12998esac 12999 13000case " $CFLAGS " in 13001*[\ \ ]-fno-strict-aliasing[\ \ ]*) 13002 ;; 13003*) 13004 save_CFLAGS="$CFLAGS" 13005 CFLAGS="$CFLAGS -fno-strict-aliasing" 13006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -fno-strict-aliasing" >&5 13007$as_echo_n "checking whether $CC understands -fno-strict-aliasing... " >&6; } 13008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13009/* end confdefs.h. */ 13010 13011int 13012main () 13013{ 13014 13015 ; 13016 return 0; 13017} 13018_ACEOF 13019if ac_fn_c_try_compile "$LINENO"; then : 13020 jh_has_option=yes 13021else 13022 jh_has_option=no 13023fi 13024rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jh_has_option" >&5 13026$as_echo "$jh_has_option" >&6; } 13027 if test $jh_has_option = no; then 13028 CFLAGS="$save_CFLAGS" 13029 fi 13030 ;; 13031esac 13032 13033ac_config_files="$ac_config_files Makefile pylgtksourceview-2.0.pc test/Makefile docs/Makefile docs/reference/entities.docbook" 13034 13035 13036 13037 13038 # Extract the first word of "gtkdoc-check", so it can be a program name with args. 13039set dummy gtkdoc-check; ac_word=$2 13040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13041$as_echo_n "checking for $ac_word... " >&6; } 13042if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then : 13043 $as_echo_n "(cached) " >&6 13044else 13045 case $GTKDOC_CHECK in 13046 [\\/]* | ?:[\\/]*) 13047 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path. 13048 ;; 13049 *) 13050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13051for as_dir in $PATH 13052do 13053 IFS=$as_save_IFS 13054 test -z "$as_dir" && as_dir=. 13055 for ac_exec_ext in '' $ac_executable_extensions; do 13056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13057 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext" 13058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13059 break 2 13060 fi 13061done 13062 done 13063IFS=$as_save_IFS 13064 13065 ;; 13066esac 13067fi 13068GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK 13069if test -n "$GTKDOC_CHECK"; then 13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5 13071$as_echo "$GTKDOC_CHECK" >&6; } 13072else 13073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13074$as_echo "no" >&6; } 13075fi 13076 13077 13078 for ac_prog in gtkdoc-rebase 13079do 13080 # Extract the first word of "$ac_prog", so it can be a program name with args. 13081set dummy $ac_prog; ac_word=$2 13082{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13083$as_echo_n "checking for $ac_word... " >&6; } 13084if test "${ac_cv_path_GTKDOC_REBASE+set}" = set; then : 13085 $as_echo_n "(cached) " >&6 13086else 13087 case $GTKDOC_REBASE in 13088 [\\/]* | ?:[\\/]*) 13089 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path. 13090 ;; 13091 *) 13092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13093for as_dir in $PATH 13094do 13095 IFS=$as_save_IFS 13096 test -z "$as_dir" && as_dir=. 13097 for ac_exec_ext in '' $ac_executable_extensions; do 13098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13099 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext" 13100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13101 break 2 13102 fi 13103done 13104 done 13105IFS=$as_save_IFS 13106 13107 ;; 13108esac 13109fi 13110GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE 13111if test -n "$GTKDOC_REBASE"; then 13112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5 13113$as_echo "$GTKDOC_REBASE" >&6; } 13114else 13115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13116$as_echo "no" >&6; } 13117fi 13118 13119 13120 test -n "$GTKDOC_REBASE" && break 13121done 13122test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true" 13123 13124 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args. 13125set dummy gtkdoc-mkpdf; ac_word=$2 13126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13127$as_echo_n "checking for $ac_word... " >&6; } 13128if test "${ac_cv_path_GTKDOC_MKPDF+set}" = set; then : 13129 $as_echo_n "(cached) " >&6 13130else 13131 case $GTKDOC_MKPDF in 13132 [\\/]* | ?:[\\/]*) 13133 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path. 13134 ;; 13135 *) 13136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13137for as_dir in $PATH 13138do 13139 IFS=$as_save_IFS 13140 test -z "$as_dir" && as_dir=. 13141 for ac_exec_ext in '' $ac_executable_extensions; do 13142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13143 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext" 13144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13145 break 2 13146 fi 13147done 13148 done 13149IFS=$as_save_IFS 13150 13151 ;; 13152esac 13153fi 13154GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF 13155if test -n "$GTKDOC_MKPDF"; then 13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5 13157$as_echo "$GTKDOC_MKPDF" >&6; } 13158else 13159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13160$as_echo "no" >&6; } 13161fi 13162 13163 13164 13165 13166# Check whether --with-html-dir was given. 13167if test "${with_html_dir+set}" = set; then : 13168 withval=$with_html_dir; 13169else 13170 with_html_dir='${datadir}/gtk-doc/html' 13171fi 13172 13173 HTML_DIR="$with_html_dir" 13174 13175 13176 # Check whether --enable-gtk-doc was given. 13177if test "${enable_gtk_doc+set}" = set; then : 13178 enableval=$enable_gtk_doc; 13179else 13180 enable_gtk_doc=no 13181fi 13182 13183 13184 if test x$enable_gtk_doc = xyes; then 13185 if test -n "$PKG_CONFIG" && \ 13186 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.4\""; } >&5 13187 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.4") 2>&5 13188 ac_status=$? 13189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13190 test $ac_status = 0; }; then 13191 : 13192else 13193 as_fn_error "You need to have gtk-doc >= 1.4 installed to build $PACKAGE_NAME" "$LINENO" 5 13194fi 13195 fi 13196 13197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5 13198$as_echo_n "checking whether to build gtk-doc documentation... " >&6; } 13199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5 13200$as_echo "$enable_gtk_doc" >&6; } 13201 13202 # Check whether --enable-gtk-doc-html was given. 13203if test "${enable_gtk_doc_html+set}" = set; then : 13204 enableval=$enable_gtk_doc_html; 13205else 13206 enable_gtk_doc_html=yes 13207fi 13208 13209 # Check whether --enable-gtk-doc-pdf was given. 13210if test "${enable_gtk_doc_pdf+set}" = set; then : 13211 enableval=$enable_gtk_doc_pdf; 13212else 13213 enable_gtk_doc_pdf=no 13214fi 13215 13216 13217 if test -z "$GTKDOC_MKPDF"; then 13218 enable_gtk_doc_pdf=no 13219 fi 13220 13221 13222 if test x$enable_gtk_doc = xyes; then 13223 ENABLE_GTK_DOC_TRUE= 13224 ENABLE_GTK_DOC_FALSE='#' 13225else 13226 ENABLE_GTK_DOC_TRUE='#' 13227 ENABLE_GTK_DOC_FALSE= 13228fi 13229 13230 if test x$enable_gtk_doc_html = xyes; then 13231 GTK_DOC_BUILD_HTML_TRUE= 13232 GTK_DOC_BUILD_HTML_FALSE='#' 13233else 13234 GTK_DOC_BUILD_HTML_TRUE='#' 13235 GTK_DOC_BUILD_HTML_FALSE= 13236fi 13237 13238 if test x$enable_gtk_doc_pdf = xyes; then 13239 GTK_DOC_BUILD_PDF_TRUE= 13240 GTK_DOC_BUILD_PDF_FALSE='#' 13241else 13242 GTK_DOC_BUILD_PDF_TRUE='#' 13243 GTK_DOC_BUILD_PDF_FALSE= 13244fi 13245 13246 if test -n "$LIBTOOL"; then 13247 GTK_DOC_USE_LIBTOOL_TRUE= 13248 GTK_DOC_USE_LIBTOOL_FALSE='#' 13249else 13250 GTK_DOC_USE_LIBTOOL_TRUE='#' 13251 GTK_DOC_USE_LIBTOOL_FALSE= 13252fi 13253 13254 if test -n "$GTKDOC_REBASE"; then 13255 GTK_DOC_USE_REBASE_TRUE= 13256 GTK_DOC_USE_REBASE_FALSE='#' 13257else 13258 GTK_DOC_USE_REBASE_TRUE='#' 13259 GTK_DOC_USE_REBASE_FALSE= 13260fi 13261 13262 13263 13264cat >confcache <<\_ACEOF 13265# This file is a shell script that caches the results of configure 13266# tests run on this system so they can be shared between configure 13267# scripts and configure runs, see configure's option --config-cache. 13268# It is not useful on other systems. If it contains results you don't 13269# want to keep, you may remove or edit it. 13270# 13271# config.status only pays attention to the cache file if you give it 13272# the --recheck option to rerun configure. 13273# 13274# `ac_cv_env_foo' variables (set or unset) will be overridden when 13275# loading this file, other *unset* `ac_cv_foo' will be assigned the 13276# following values. 13277 13278_ACEOF 13279 13280# The following way of writing the cache mishandles newlines in values, 13281# but we know of no workaround that is simple, portable, and efficient. 13282# So, we kill variables containing newlines. 13283# Ultrix sh set writes to stderr and can't be redirected directly, 13284# and sets the high bit in the cache file unless we assign to the vars. 13285( 13286 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 13287 eval ac_val=\$$ac_var 13288 case $ac_val in #( 13289 *${as_nl}*) 13290 case $ac_var in #( 13291 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 13292$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 13293 esac 13294 case $ac_var in #( 13295 _ | IFS | as_nl) ;; #( 13296 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 13297 *) { eval $ac_var=; unset $ac_var;} ;; 13298 esac ;; 13299 esac 13300 done 13301 13302 (set) 2>&1 | 13303 case $as_nl`(ac_space=' '; set) 2>&1` in #( 13304 *${as_nl}ac_space=\ *) 13305 # `set' does not quote correctly, so add quotes: double-quote 13306 # substitution turns \\\\ into \\, and sed turns \\ into \. 13307 sed -n \ 13308 "s/'/'\\\\''/g; 13309 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 13310 ;; #( 13311 *) 13312 # `set' quotes correctly as required by POSIX, so do not add quotes. 13313 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 13314 ;; 13315 esac | 13316 sort 13317) | 13318 sed ' 13319 /^ac_cv_env_/b end 13320 t clear 13321 :clear 13322 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 13323 t end 13324 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 13325 :end' >>confcache 13326if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 13327 if test -w "$cache_file"; then 13328 test "x$cache_file" != "x/dev/null" && 13329 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 13330$as_echo "$as_me: updating cache $cache_file" >&6;} 13331 cat confcache >$cache_file 13332 else 13333 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 13334$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 13335 fi 13336fi 13337rm -f confcache 13338 13339test "x$prefix" = xNONE && prefix=$ac_default_prefix 13340# Let make expand exec_prefix. 13341test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 13342 13343DEFS=-DHAVE_CONFIG_H 13344 13345ac_libobjs= 13346ac_ltlibobjs= 13347for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 13348 # 1. Remove the extension, and $U if already installed. 13349 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 13350 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 13351 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 13352 # will be set to the directory where LIBOBJS objects are built. 13353 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 13354 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 13355done 13356LIBOBJS=$ac_libobjs 13357 13358LTLIBOBJS=$ac_ltlibobjs 13359 13360 13361 if test -n "$EXEEXT"; then 13362 am__EXEEXT_TRUE= 13363 am__EXEEXT_FALSE='#' 13364else 13365 am__EXEEXT_TRUE='#' 13366 am__EXEEXT_FALSE= 13367fi 13368 13369if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then 13370 as_fn_error "conditional \"PLATFORM_WIN32\" was never defined. 13371Usually this means the macro was only invoked conditionally." "$LINENO" 5 13372fi 13373if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then 13374 as_fn_error "conditional \"OS_WIN32\" was never defined. 13375Usually this means the macro was only invoked conditionally." "$LINENO" 5 13376fi 13377if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 13378 as_fn_error "conditional \"AMDEP\" was never defined. 13379Usually this means the macro was only invoked conditionally." "$LINENO" 5 13380fi 13381if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 13382 as_fn_error "conditional \"am__fastdepCC\" was never defined. 13383Usually this means the macro was only invoked conditionally." "$LINENO" 5 13384fi 13385if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then 13386 as_fn_error "conditional \"ENABLE_DOCS\" was never defined. 13387Usually this means the macro was only invoked conditionally." "$LINENO" 5 13388fi 13389if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then 13390 as_fn_error "conditional \"ENABLE_GTK_DOC\" was never defined. 13391Usually this means the macro was only invoked conditionally." "$LINENO" 5 13392fi 13393if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then 13394 as_fn_error "conditional \"GTK_DOC_BUILD_HTML\" was never defined. 13395Usually this means the macro was only invoked conditionally." "$LINENO" 5 13396fi 13397if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then 13398 as_fn_error "conditional \"GTK_DOC_BUILD_PDF\" was never defined. 13399Usually this means the macro was only invoked conditionally." "$LINENO" 5 13400fi 13401if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then 13402 as_fn_error "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined. 13403Usually this means the macro was only invoked conditionally." "$LINENO" 5 13404fi 13405if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then 13406 as_fn_error "conditional \"GTK_DOC_USE_REBASE\" was never defined. 13407Usually this means the macro was only invoked conditionally." "$LINENO" 5 13408fi 13409 13410: ${CONFIG_STATUS=./config.status} 13411ac_write_fail=0 13412ac_clean_files_save=$ac_clean_files 13413ac_clean_files="$ac_clean_files $CONFIG_STATUS" 13414{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 13415$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 13416as_write_fail=0 13417cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 13418#! $SHELL 13419# Generated by $as_me. 13420# Run this file to recreate the current configuration. 13421# Compiler output produced by configure, useful for debugging 13422# configure, is in config.log if it exists. 13423 13424debug=false 13425ac_cs_recheck=false 13426ac_cs_silent=false 13427 13428SHELL=\${CONFIG_SHELL-$SHELL} 13429export SHELL 13430_ASEOF 13431cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 13432## -------------------- ## 13433## M4sh Initialization. ## 13434## -------------------- ## 13435 13436# Be more Bourne compatible 13437DUALCASE=1; export DUALCASE # for MKS sh 13438if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 13439 emulate sh 13440 NULLCMD=: 13441 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 13442 # is contrary to our usage. Disable this feature. 13443 alias -g '${1+"$@"}'='"$@"' 13444 setopt NO_GLOB_SUBST 13445else 13446 case `(set -o) 2>/dev/null` in #( 13447 *posix*) : 13448 set -o posix ;; #( 13449 *) : 13450 ;; 13451esac 13452fi 13453 13454 13455as_nl=' 13456' 13457export as_nl 13458# Printing a long string crashes Solaris 7 /usr/bin/printf. 13459as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 13460as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 13461as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 13462# Prefer a ksh shell builtin over an external printf program on Solaris, 13463# but without wasting forks for bash or zsh. 13464if test -z "$BASH_VERSION$ZSH_VERSION" \ 13465 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 13466 as_echo='print -r --' 13467 as_echo_n='print -rn --' 13468elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 13469 as_echo='printf %s\n' 13470 as_echo_n='printf %s' 13471else 13472 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 13473 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 13474 as_echo_n='/usr/ucb/echo -n' 13475 else 13476 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 13477 as_echo_n_body='eval 13478 arg=$1; 13479 case $arg in #( 13480 *"$as_nl"*) 13481 expr "X$arg" : "X\\(.*\\)$as_nl"; 13482 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 13483 esac; 13484 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 13485 ' 13486 export as_echo_n_body 13487 as_echo_n='sh -c $as_echo_n_body as_echo' 13488 fi 13489 export as_echo_body 13490 as_echo='sh -c $as_echo_body as_echo' 13491fi 13492 13493# The user is always right. 13494if test "${PATH_SEPARATOR+set}" != set; then 13495 PATH_SEPARATOR=: 13496 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 13497 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 13498 PATH_SEPARATOR=';' 13499 } 13500fi 13501 13502 13503# IFS 13504# We need space, tab and new line, in precisely that order. Quoting is 13505# there to prevent editors from complaining about space-tab. 13506# (If _AS_PATH_WALK were called with IFS unset, it would disable word 13507# splitting by setting IFS to empty value.) 13508IFS=" "" $as_nl" 13509 13510# Find who we are. Look in the path if we contain no directory separator. 13511case $0 in #(( 13512 *[\\/]* ) as_myself=$0 ;; 13513 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13514for as_dir in $PATH 13515do 13516 IFS=$as_save_IFS 13517 test -z "$as_dir" && as_dir=. 13518 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 13519 done 13520IFS=$as_save_IFS 13521 13522 ;; 13523esac 13524# We did not find ourselves, most probably we were run as `sh COMMAND' 13525# in which case we are not to be found in the path. 13526if test "x$as_myself" = x; then 13527 as_myself=$0 13528fi 13529if test ! -f "$as_myself"; then 13530 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 13531 exit 1 13532fi 13533 13534# Unset variables that we do not need and which cause bugs (e.g. in 13535# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 13536# suppresses any "Segmentation fault" message there. '((' could 13537# trigger a bug in pdksh 5.2.14. 13538for as_var in BASH_ENV ENV MAIL MAILPATH 13539do eval test x\${$as_var+set} = xset \ 13540 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 13541done 13542PS1='$ ' 13543PS2='> ' 13544PS4='+ ' 13545 13546# NLS nuisances. 13547LC_ALL=C 13548export LC_ALL 13549LANGUAGE=C 13550export LANGUAGE 13551 13552# CDPATH. 13553(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13554 13555 13556# as_fn_error ERROR [LINENO LOG_FD] 13557# --------------------------------- 13558# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 13559# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 13560# script with status $?, using 1 if that was 0. 13561as_fn_error () 13562{ 13563 as_status=$?; test $as_status -eq 0 && as_status=1 13564 if test "$3"; then 13565 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 13566 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 13567 fi 13568 $as_echo "$as_me: error: $1" >&2 13569 as_fn_exit $as_status 13570} # as_fn_error 13571 13572 13573# as_fn_set_status STATUS 13574# ----------------------- 13575# Set $? to STATUS, without forking. 13576as_fn_set_status () 13577{ 13578 return $1 13579} # as_fn_set_status 13580 13581# as_fn_exit STATUS 13582# ----------------- 13583# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 13584as_fn_exit () 13585{ 13586 set +e 13587 as_fn_set_status $1 13588 exit $1 13589} # as_fn_exit 13590 13591# as_fn_unset VAR 13592# --------------- 13593# Portably unset VAR. 13594as_fn_unset () 13595{ 13596 { eval $1=; unset $1;} 13597} 13598as_unset=as_fn_unset 13599# as_fn_append VAR VALUE 13600# ---------------------- 13601# Append the text in VALUE to the end of the definition contained in VAR. Take 13602# advantage of any shell optimizations that allow amortized linear growth over 13603# repeated appends, instead of the typical quadratic growth present in naive 13604# implementations. 13605if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 13606 eval 'as_fn_append () 13607 { 13608 eval $1+=\$2 13609 }' 13610else 13611 as_fn_append () 13612 { 13613 eval $1=\$$1\$2 13614 } 13615fi # as_fn_append 13616 13617# as_fn_arith ARG... 13618# ------------------ 13619# Perform arithmetic evaluation on the ARGs, and store the result in the 13620# global $as_val. Take advantage of shells that can avoid forks. The arguments 13621# must be portable across $(()) and expr. 13622if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 13623 eval 'as_fn_arith () 13624 { 13625 as_val=$(( $* )) 13626 }' 13627else 13628 as_fn_arith () 13629 { 13630 as_val=`expr "$@" || test $? -eq 1` 13631 } 13632fi # as_fn_arith 13633 13634 13635if expr a : '\(a\)' >/dev/null 2>&1 && 13636 test "X`expr 00001 : '.*\(...\)'`" = X001; then 13637 as_expr=expr 13638else 13639 as_expr=false 13640fi 13641 13642if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 13643 as_basename=basename 13644else 13645 as_basename=false 13646fi 13647 13648if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 13649 as_dirname=dirname 13650else 13651 as_dirname=false 13652fi 13653 13654as_me=`$as_basename -- "$0" || 13655$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 13656 X"$0" : 'X\(//\)$' \| \ 13657 X"$0" : 'X\(/\)' \| . 2>/dev/null || 13658$as_echo X/"$0" | 13659 sed '/^.*\/\([^/][^/]*\)\/*$/{ 13660 s//\1/ 13661 q 13662 } 13663 /^X\/\(\/\/\)$/{ 13664 s//\1/ 13665 q 13666 } 13667 /^X\/\(\/\).*/{ 13668 s//\1/ 13669 q 13670 } 13671 s/.*/./; q'` 13672 13673# Avoid depending upon Character Ranges. 13674as_cr_letters='abcdefghijklmnopqrstuvwxyz' 13675as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 13676as_cr_Letters=$as_cr_letters$as_cr_LETTERS 13677as_cr_digits='0123456789' 13678as_cr_alnum=$as_cr_Letters$as_cr_digits 13679 13680ECHO_C= ECHO_N= ECHO_T= 13681case `echo -n x` in #((((( 13682-n*) 13683 case `echo 'xy\c'` in 13684 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 13685 xy) ECHO_C='\c';; 13686 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 13687 ECHO_T=' ';; 13688 esac;; 13689*) 13690 ECHO_N='-n';; 13691esac 13692 13693rm -f conf$$ conf$$.exe conf$$.file 13694if test -d conf$$.dir; then 13695 rm -f conf$$.dir/conf$$.file 13696else 13697 rm -f conf$$.dir 13698 mkdir conf$$.dir 2>/dev/null 13699fi 13700if (echo >conf$$.file) 2>/dev/null; then 13701 if ln -s conf$$.file conf$$ 2>/dev/null; then 13702 as_ln_s='ln -s' 13703 # ... but there are two gotchas: 13704 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 13705 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 13706 # In both cases, we have to default to `cp -p'. 13707 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 13708 as_ln_s='cp -p' 13709 elif ln conf$$.file conf$$ 2>/dev/null; then 13710 as_ln_s=ln 13711 else 13712 as_ln_s='cp -p' 13713 fi 13714else 13715 as_ln_s='cp -p' 13716fi 13717rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 13718rmdir conf$$.dir 2>/dev/null 13719 13720 13721# as_fn_mkdir_p 13722# ------------- 13723# Create "$as_dir" as a directory, including parents if necessary. 13724as_fn_mkdir_p () 13725{ 13726 13727 case $as_dir in #( 13728 -*) as_dir=./$as_dir;; 13729 esac 13730 test -d "$as_dir" || eval $as_mkdir_p || { 13731 as_dirs= 13732 while :; do 13733 case $as_dir in #( 13734 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 13735 *) as_qdir=$as_dir;; 13736 esac 13737 as_dirs="'$as_qdir' $as_dirs" 13738 as_dir=`$as_dirname -- "$as_dir" || 13739$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13740 X"$as_dir" : 'X\(//\)[^/]' \| \ 13741 X"$as_dir" : 'X\(//\)$' \| \ 13742 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 13743$as_echo X"$as_dir" | 13744 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13745 s//\1/ 13746 q 13747 } 13748 /^X\(\/\/\)[^/].*/{ 13749 s//\1/ 13750 q 13751 } 13752 /^X\(\/\/\)$/{ 13753 s//\1/ 13754 q 13755 } 13756 /^X\(\/\).*/{ 13757 s//\1/ 13758 q 13759 } 13760 s/.*/./; q'` 13761 test -d "$as_dir" && break 13762 done 13763 test -z "$as_dirs" || eval "mkdir $as_dirs" 13764 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 13765 13766 13767} # as_fn_mkdir_p 13768if mkdir -p . 2>/dev/null; then 13769 as_mkdir_p='mkdir -p "$as_dir"' 13770else 13771 test -d ./-p && rmdir ./-p 13772 as_mkdir_p=false 13773fi 13774 13775if test -x / >/dev/null 2>&1; then 13776 as_test_x='test -x' 13777else 13778 if ls -dL / >/dev/null 2>&1; then 13779 as_ls_L_option=L 13780 else 13781 as_ls_L_option= 13782 fi 13783 as_test_x=' 13784 eval sh -c '\'' 13785 if test -d "$1"; then 13786 test -d "$1/."; 13787 else 13788 case $1 in #( 13789 -*)set "./$1";; 13790 esac; 13791 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 13792 ???[sx]*):;;*)false;;esac;fi 13793 '\'' sh 13794 ' 13795fi 13796as_executable_p=$as_test_x 13797 13798# Sed expression to map a string onto a valid CPP name. 13799as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 13800 13801# Sed expression to map a string onto a valid variable name. 13802as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 13803 13804 13805exec 6>&1 13806## ----------------------------------- ## 13807## Main body of $CONFIG_STATUS script. ## 13808## ----------------------------------- ## 13809_ASEOF 13810test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 13811 13812cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13813# Save the log message, to keep $0 and so on meaningful, and to 13814# report actual input values of CONFIG_FILES etc. instead of their 13815# values after options handling. 13816ac_log=" 13817This file was extended by pylgtksourceview $as_me 2.10.1, which was 13818generated by GNU Autoconf 2.65. Invocation command line was 13819 13820 CONFIG_FILES = $CONFIG_FILES 13821 CONFIG_HEADERS = $CONFIG_HEADERS 13822 CONFIG_LINKS = $CONFIG_LINKS 13823 CONFIG_COMMANDS = $CONFIG_COMMANDS 13824 $ $0 $@ 13825 13826on `(hostname || uname -n) 2>/dev/null | sed 1q` 13827" 13828 13829_ACEOF 13830 13831case $ac_config_files in *" 13832"*) set x $ac_config_files; shift; ac_config_files=$*;; 13833esac 13834 13835case $ac_config_headers in *" 13836"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 13837esac 13838 13839 13840cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13841# Files that config.status was made for. 13842config_files="$ac_config_files" 13843config_headers="$ac_config_headers" 13844config_commands="$ac_config_commands" 13845 13846_ACEOF 13847 13848cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13849ac_cs_usage="\ 13850\`$as_me' instantiates files and other configuration actions 13851from templates according to the current configuration. Unless the files 13852and actions are specified as TAGs, all are instantiated by default. 13853 13854Usage: $0 [OPTION]... [TAG]... 13855 13856 -h, --help print this help, then exit 13857 -V, --version print version number and configuration settings, then exit 13858 --config print configuration, then exit 13859 -q, --quiet, --silent 13860 do not print progress messages 13861 -d, --debug don't remove temporary files 13862 --recheck update $as_me by reconfiguring in the same conditions 13863 --file=FILE[:TEMPLATE] 13864 instantiate the configuration file FILE 13865 --header=FILE[:TEMPLATE] 13866 instantiate the configuration header FILE 13867 13868Configuration files: 13869$config_files 13870 13871Configuration headers: 13872$config_headers 13873 13874Configuration commands: 13875$config_commands 13876 13877Report bugs to <http://bugzilla.gnome.org/browse.cgi?product=gtksourceview/>." 13878 13879_ACEOF 13880cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13881ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 13882ac_cs_version="\\ 13883pylgtksourceview config.status 2.10.1 13884configured by $0, generated by GNU Autoconf 2.65, 13885 with options \\"\$ac_cs_config\\" 13886 13887Copyright (C) 2009 Free Software Foundation, Inc. 13888This config.status script is free software; the Free Software Foundation 13889gives unlimited permission to copy, distribute and modify it." 13890 13891ac_pwd='$ac_pwd' 13892srcdir='$srcdir' 13893INSTALL='$INSTALL' 13894MKDIR_P='$MKDIR_P' 13895AWK='$AWK' 13896test -n "\$AWK" || AWK=awk 13897_ACEOF 13898 13899cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13900# The default lists apply if the user does not specify any file. 13901ac_need_defaults=: 13902while test $# != 0 13903do 13904 case $1 in 13905 --*=*) 13906 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13907 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 13908 ac_shift=: 13909 ;; 13910 *) 13911 ac_option=$1 13912 ac_optarg=$2 13913 ac_shift=shift 13914 ;; 13915 esac 13916 13917 case $ac_option in 13918 # Handling of the options. 13919 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 13920 ac_cs_recheck=: ;; 13921 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 13922 $as_echo "$ac_cs_version"; exit ;; 13923 --config | --confi | --conf | --con | --co | --c ) 13924 $as_echo "$ac_cs_config"; exit ;; 13925 --debug | --debu | --deb | --de | --d | -d ) 13926 debug=: ;; 13927 --file | --fil | --fi | --f ) 13928 $ac_shift 13929 case $ac_optarg in 13930 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13931 esac 13932 as_fn_append CONFIG_FILES " '$ac_optarg'" 13933 ac_need_defaults=false;; 13934 --header | --heade | --head | --hea ) 13935 $ac_shift 13936 case $ac_optarg in 13937 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13938 esac 13939 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 13940 ac_need_defaults=false;; 13941 --he | --h) 13942 # Conflict between --help and --header 13943 as_fn_error "ambiguous option: \`$1' 13944Try \`$0 --help' for more information.";; 13945 --help | --hel | -h ) 13946 $as_echo "$ac_cs_usage"; exit ;; 13947 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 13948 | -silent | --silent | --silen | --sile | --sil | --si | --s) 13949 ac_cs_silent=: ;; 13950 13951 # This is an error. 13952 -*) as_fn_error "unrecognized option: \`$1' 13953Try \`$0 --help' for more information." ;; 13954 13955 *) as_fn_append ac_config_targets " $1" 13956 ac_need_defaults=false ;; 13957 13958 esac 13959 shift 13960done 13961 13962ac_configure_extra_args= 13963 13964if $ac_cs_silent; then 13965 exec 6>/dev/null 13966 ac_configure_extra_args="$ac_configure_extra_args --silent" 13967fi 13968 13969_ACEOF 13970cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13971if \$ac_cs_recheck; then 13972 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 13973 shift 13974 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 13975 CONFIG_SHELL='$SHELL' 13976 export CONFIG_SHELL 13977 exec "\$@" 13978fi 13979 13980_ACEOF 13981cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13982exec 5>>config.log 13983{ 13984 echo 13985 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 13986## Running $as_me. ## 13987_ASBOX 13988 $as_echo "$ac_log" 13989} >&5 13990 13991_ACEOF 13992cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13993# 13994# INIT-COMMANDS 13995# 13996AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 13997 13998 13999# The HP-UX ksh and POSIX shell print the target directory to stdout 14000# if CDPATH is set. 14001(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 14002 14003sed_quote_subst='$sed_quote_subst' 14004double_quote_subst='$double_quote_subst' 14005delay_variable_subst='$delay_variable_subst' 14006enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' 14007AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`' 14008DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`' 14009OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' 14010macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' 14011macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' 14012enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' 14013pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' 14014enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' 14015host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' 14016host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' 14017host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' 14018build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' 14019build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' 14020build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' 14021SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' 14022Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' 14023GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' 14024EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' 14025FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' 14026LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' 14027NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' 14028LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' 14029max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' 14030ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' 14031exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' 14032lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' 14033lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' 14034lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' 14035reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' 14036reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14037deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' 14038file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' 14039AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' 14040AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' 14041STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' 14042RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' 14043old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14044old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14045old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14046CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' 14047CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' 14048compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' 14049GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' 14050lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' 14051lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' 14052lt_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"`' 14053lt_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"`' 14054objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' 14055SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' 14056ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' 14057MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' 14058lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' 14059lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' 14060lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' 14061lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' 14062lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' 14063need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' 14064DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' 14065NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' 14066LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' 14067OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' 14068OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' 14069libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' 14070shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14071extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14072archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' 14073enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' 14074export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 14075whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 14076compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' 14077old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14078old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14079archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14080archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14081module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14082module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14083with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' 14084allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 14085no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 14086hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 14087hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' 14088hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' 14089hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' 14090hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' 14091hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' 14092hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 14093hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' 14094inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' 14095link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' 14096fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' 14097always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' 14098export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14099exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 14100include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 14101prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14102file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' 14103variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' 14104need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' 14105need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' 14106version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' 14107runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' 14108shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 14109shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' 14110libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' 14111library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' 14112soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' 14113postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14114postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14115finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14116finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' 14117hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' 14118sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 14119sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 14120hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' 14121enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' 14122enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' 14123enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' 14124old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' 14125striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' 14126 14127LTCC='$LTCC' 14128LTCFLAGS='$LTCFLAGS' 14129compiler='$compiler_DEFAULT' 14130 14131# Quote evaled strings. 14132for var in SED \ 14133GREP \ 14134EGREP \ 14135FGREP \ 14136LD \ 14137NM \ 14138LN_S \ 14139lt_SP2NL \ 14140lt_NL2SP \ 14141reload_flag \ 14142deplibs_check_method \ 14143file_magic_cmd \ 14144AR \ 14145AR_FLAGS \ 14146STRIP \ 14147RANLIB \ 14148CC \ 14149CFLAGS \ 14150compiler \ 14151lt_cv_sys_global_symbol_pipe \ 14152lt_cv_sys_global_symbol_to_cdecl \ 14153lt_cv_sys_global_symbol_to_c_name_address \ 14154lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 14155SHELL \ 14156ECHO \ 14157lt_prog_compiler_no_builtin_flag \ 14158lt_prog_compiler_wl \ 14159lt_prog_compiler_pic \ 14160lt_prog_compiler_static \ 14161lt_cv_prog_compiler_c_o \ 14162need_locks \ 14163DSYMUTIL \ 14164NMEDIT \ 14165LIPO \ 14166OTOOL \ 14167OTOOL64 \ 14168shrext_cmds \ 14169export_dynamic_flag_spec \ 14170whole_archive_flag_spec \ 14171compiler_needs_object \ 14172with_gnu_ld \ 14173allow_undefined_flag \ 14174no_undefined_flag \ 14175hardcode_libdir_flag_spec \ 14176hardcode_libdir_flag_spec_ld \ 14177hardcode_libdir_separator \ 14178fix_srcfile_path \ 14179exclude_expsyms \ 14180include_expsyms \ 14181file_list_spec \ 14182variables_saved_for_relink \ 14183libname_spec \ 14184library_names_spec \ 14185soname_spec \ 14186finish_eval \ 14187old_striplib \ 14188striplib; do 14189 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 14190 *[\\\\\\\`\\"\\\$]*) 14191 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 14192 ;; 14193 *) 14194 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14195 ;; 14196 esac 14197done 14198 14199# Double-quote double-evaled strings. 14200for var in reload_cmds \ 14201old_postinstall_cmds \ 14202old_postuninstall_cmds \ 14203old_archive_cmds \ 14204extract_expsyms_cmds \ 14205old_archive_from_new_cmds \ 14206old_archive_from_expsyms_cmds \ 14207archive_cmds \ 14208archive_expsym_cmds \ 14209module_cmds \ 14210module_expsym_cmds \ 14211export_symbols_cmds \ 14212prelink_cmds \ 14213postinstall_cmds \ 14214postuninstall_cmds \ 14215finish_cmds \ 14216sys_lib_search_path_spec \ 14217sys_lib_dlsearch_path_spec; do 14218 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 14219 *[\\\\\\\`\\"\\\$]*) 14220 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 14221 ;; 14222 *) 14223 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14224 ;; 14225 esac 14226done 14227 14228# Fix-up fallback echo if it was mangled by the above quoting rules. 14229case \$lt_ECHO in 14230*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` 14231 ;; 14232esac 14233 14234ac_aux_dir='$ac_aux_dir' 14235xsi_shell='$xsi_shell' 14236lt_shell_append='$lt_shell_append' 14237 14238# See if we are running on zsh, and set the options which allow our 14239# commands through without removal of \ escapes INIT. 14240if test -n "\${ZSH_VERSION+set}" ; then 14241 setopt NO_GLOB_SUBST 14242fi 14243 14244 14245 PACKAGE='$PACKAGE' 14246 VERSION='$VERSION' 14247 TIMESTAMP='$TIMESTAMP' 14248 RM='$RM' 14249 ofile='$ofile' 14250 14251ac_aux_dir='$ac_aux_dir' 14252 14253 14254 14255_ACEOF 14256 14257cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14258 14259# Handling of arguments. 14260for ac_config_target in $ac_config_targets 14261do 14262 case $ac_config_target in 14263 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 14264 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 14265 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 14266 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 14267 "pylgtksourceview-2.0.pc") CONFIG_FILES="$CONFIG_FILES pylgtksourceview-2.0.pc" ;; 14268 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; 14269 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; 14270 "docs/reference/entities.docbook") CONFIG_FILES="$CONFIG_FILES docs/reference/entities.docbook" ;; 14271 14272 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 14273 esac 14274done 14275 14276 14277# If the user did not use the arguments to specify the items to instantiate, 14278# then the envvar interface is used. Set only those that are not. 14279# We use the long form for the default assignment because of an extremely 14280# bizarre bug on SunOS 4.1.3. 14281if $ac_need_defaults; then 14282 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 14283 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 14284 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 14285fi 14286 14287# Have a temporary directory for convenience. Make it in the build tree 14288# simply because there is no reason against having it here, and in addition, 14289# creating and moving files from /tmp can sometimes cause problems. 14290# Hook for its removal unless debugging. 14291# Note that there is a small window in which the directory will not be cleaned: 14292# after its creation but before its name has been assigned to `$tmp'. 14293$debug || 14294{ 14295 tmp= 14296 trap 'exit_status=$? 14297 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 14298' 0 14299 trap 'as_fn_exit 1' 1 2 13 15 14300} 14301# Create a (secure) tmp directory for tmp files. 14302 14303{ 14304 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 14305 test -n "$tmp" && test -d "$tmp" 14306} || 14307{ 14308 tmp=./conf$$-$RANDOM 14309 (umask 077 && mkdir "$tmp") 14310} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 14311 14312# Set up the scripts for CONFIG_FILES section. 14313# No need to generate them if there are no CONFIG_FILES. 14314# This happens for instance with `./config.status config.h'. 14315if test -n "$CONFIG_FILES"; then 14316 14317 14318ac_cr=`echo X | tr X '\015'` 14319# On cygwin, bash can eat \r inside `` if the user requested igncr. 14320# But we know of no other shell where ac_cr would be empty at this 14321# point, so we can use a bashism as a fallback. 14322if test "x$ac_cr" = x; then 14323 eval ac_cr=\$\'\\r\' 14324fi 14325ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 14326if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 14327 ac_cs_awk_cr='\r' 14328else 14329 ac_cs_awk_cr=$ac_cr 14330fi 14331 14332echo 'BEGIN {' >"$tmp/subs1.awk" && 14333_ACEOF 14334 14335 14336{ 14337 echo "cat >conf$$subs.awk <<_ACEOF" && 14338 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 14339 echo "_ACEOF" 14340} >conf$$subs.sh || 14341 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 14342ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 14343ac_delim='%!_!# ' 14344for ac_last_try in false false false false false :; do 14345 . ./conf$$subs.sh || 14346 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 14347 14348 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 14349 if test $ac_delim_n = $ac_delim_num; then 14350 break 14351 elif $ac_last_try; then 14352 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 14353 else 14354 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14355 fi 14356done 14357rm -f conf$$subs.sh 14358 14359cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14360cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 14361_ACEOF 14362sed -n ' 14363h 14364s/^/S["/; s/!.*/"]=/ 14365p 14366g 14367s/^[^!]*!// 14368:repl 14369t repl 14370s/'"$ac_delim"'$// 14371t delim 14372:nl 14373h 14374s/\(.\{148\}\)..*/\1/ 14375t more1 14376s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 14377p 14378n 14379b repl 14380:more1 14381s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14382p 14383g 14384s/.\{148\}// 14385t nl 14386:delim 14387h 14388s/\(.\{148\}\)..*/\1/ 14389t more2 14390s/["\\]/\\&/g; s/^/"/; s/$/"/ 14391p 14392b 14393:more2 14394s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14395p 14396g 14397s/.\{148\}// 14398t delim 14399' <conf$$subs.awk | sed ' 14400/^[^""]/{ 14401 N 14402 s/\n// 14403} 14404' >>$CONFIG_STATUS || ac_write_fail=1 14405rm -f conf$$subs.awk 14406cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14407_ACAWK 14408cat >>"\$tmp/subs1.awk" <<_ACAWK && 14409 for (key in S) S_is_set[key] = 1 14410 FS = "" 14411 14412} 14413{ 14414 line = $ 0 14415 nfields = split(line, field, "@") 14416 substed = 0 14417 len = length(field[1]) 14418 for (i = 2; i < nfields; i++) { 14419 key = field[i] 14420 keylen = length(key) 14421 if (S_is_set[key]) { 14422 value = S[key] 14423 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 14424 len += length(value) + length(field[++i]) 14425 substed = 1 14426 } else 14427 len += 1 + keylen 14428 } 14429 14430 print line 14431} 14432 14433_ACAWK 14434_ACEOF 14435cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14436if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 14437 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 14438else 14439 cat 14440fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 14441 || as_fn_error "could not setup config files machinery" "$LINENO" 5 14442_ACEOF 14443 14444# VPATH may cause trouble with some makes, so we remove $(srcdir), 14445# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 14446# trailing colons and then remove the whole line if VPATH becomes empty 14447# (actually we leave an empty line to preserve line numbers). 14448if test "x$srcdir" = x.; then 14449 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 14450s/:*\$(srcdir):*/:/ 14451s/:*\${srcdir}:*/:/ 14452s/:*@srcdir@:*/:/ 14453s/^\([^=]*=[ ]*\):*/\1/ 14454s/:*$// 14455s/^[^=]*=[ ]*$// 14456}' 14457fi 14458 14459cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14460fi # test -n "$CONFIG_FILES" 14461 14462# Set up the scripts for CONFIG_HEADERS section. 14463# No need to generate them if there are no CONFIG_HEADERS. 14464# This happens for instance with `./config.status Makefile'. 14465if test -n "$CONFIG_HEADERS"; then 14466cat >"$tmp/defines.awk" <<\_ACAWK || 14467BEGIN { 14468_ACEOF 14469 14470# Transform confdefs.h into an awk script `defines.awk', embedded as 14471# here-document in config.status, that substitutes the proper values into 14472# config.h.in to produce config.h. 14473 14474# Create a delimiter string that does not exist in confdefs.h, to ease 14475# handling of long lines. 14476ac_delim='%!_!# ' 14477for ac_last_try in false false :; do 14478 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 14479 if test -z "$ac_t"; then 14480 break 14481 elif $ac_last_try; then 14482 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 14483 else 14484 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14485 fi 14486done 14487 14488# For the awk script, D is an array of macro values keyed by name, 14489# likewise P contains macro parameters if any. Preserve backslash 14490# newline sequences. 14491 14492ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 14493sed -n ' 14494s/.\{148\}/&'"$ac_delim"'/g 14495t rset 14496:rset 14497s/^[ ]*#[ ]*define[ ][ ]*/ / 14498t def 14499d 14500:def 14501s/\\$// 14502t bsnl 14503s/["\\]/\\&/g 14504s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 14505D["\1"]=" \3"/p 14506s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 14507d 14508:bsnl 14509s/["\\]/\\&/g 14510s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 14511D["\1"]=" \3\\\\\\n"\\/p 14512t cont 14513s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 14514t cont 14515d 14516:cont 14517n 14518s/.\{148\}/&'"$ac_delim"'/g 14519t clear 14520:clear 14521s/\\$// 14522t bsnlc 14523s/["\\]/\\&/g; s/^/"/; s/$/"/p 14524d 14525:bsnlc 14526s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 14527b cont 14528' <confdefs.h | sed ' 14529s/'"$ac_delim"'/"\\\ 14530"/g' >>$CONFIG_STATUS || ac_write_fail=1 14531 14532cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14533 for (key in D) D_is_set[key] = 1 14534 FS = "" 14535} 14536/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 14537 line = \$ 0 14538 split(line, arg, " ") 14539 if (arg[1] == "#") { 14540 defundef = arg[2] 14541 mac1 = arg[3] 14542 } else { 14543 defundef = substr(arg[1], 2) 14544 mac1 = arg[2] 14545 } 14546 split(mac1, mac2, "(") #) 14547 macro = mac2[1] 14548 prefix = substr(line, 1, index(line, defundef) - 1) 14549 if (D_is_set[macro]) { 14550 # Preserve the white space surrounding the "#". 14551 print prefix "define", macro P[macro] D[macro] 14552 next 14553 } else { 14554 # Replace #undef with comments. This is necessary, for example, 14555 # in the case of _POSIX_SOURCE, which is predefined and required 14556 # on some systems where configure will not decide to define it. 14557 if (defundef == "undef") { 14558 print "/*", prefix defundef, macro, "*/" 14559 next 14560 } 14561 } 14562} 14563{ print } 14564_ACAWK 14565_ACEOF 14566cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14567 as_fn_error "could not setup config headers machinery" "$LINENO" 5 14568fi # test -n "$CONFIG_HEADERS" 14569 14570 14571eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 14572shift 14573for ac_tag 14574do 14575 case $ac_tag in 14576 :[FHLC]) ac_mode=$ac_tag; continue;; 14577 esac 14578 case $ac_mode$ac_tag in 14579 :[FHL]*:*);; 14580 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 14581 :[FH]-) ac_tag=-:-;; 14582 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 14583 esac 14584 ac_save_IFS=$IFS 14585 IFS=: 14586 set x $ac_tag 14587 IFS=$ac_save_IFS 14588 shift 14589 ac_file=$1 14590 shift 14591 14592 case $ac_mode in 14593 :L) ac_source=$1;; 14594 :[FH]) 14595 ac_file_inputs= 14596 for ac_f 14597 do 14598 case $ac_f in 14599 -) ac_f="$tmp/stdin";; 14600 *) # Look for the file first in the build tree, then in the source tree 14601 # (if the path is not absolute). The absolute path cannot be DOS-style, 14602 # because $ac_f cannot contain `:'. 14603 test -f "$ac_f" || 14604 case $ac_f in 14605 [\\/$]*) false;; 14606 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 14607 esac || 14608 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 14609 esac 14610 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 14611 as_fn_append ac_file_inputs " '$ac_f'" 14612 done 14613 14614 # Let's still pretend it is `configure' which instantiates (i.e., don't 14615 # use $as_me), people would be surprised to read: 14616 # /* config.h. Generated by config.status. */ 14617 configure_input='Generated from '` 14618 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 14619 `' by configure.' 14620 if test x"$ac_file" != x-; then 14621 configure_input="$ac_file. $configure_input" 14622 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 14623$as_echo "$as_me: creating $ac_file" >&6;} 14624 fi 14625 # Neutralize special characters interpreted by sed in replacement strings. 14626 case $configure_input in #( 14627 *\&* | *\|* | *\\* ) 14628 ac_sed_conf_input=`$as_echo "$configure_input" | 14629 sed 's/[\\\\&|]/\\\\&/g'`;; #( 14630 *) ac_sed_conf_input=$configure_input;; 14631 esac 14632 14633 case $ac_tag in 14634 *:-:* | *:-) cat >"$tmp/stdin" \ 14635 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 14636 esac 14637 ;; 14638 esac 14639 14640 ac_dir=`$as_dirname -- "$ac_file" || 14641$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14642 X"$ac_file" : 'X\(//\)[^/]' \| \ 14643 X"$ac_file" : 'X\(//\)$' \| \ 14644 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 14645$as_echo X"$ac_file" | 14646 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14647 s//\1/ 14648 q 14649 } 14650 /^X\(\/\/\)[^/].*/{ 14651 s//\1/ 14652 q 14653 } 14654 /^X\(\/\/\)$/{ 14655 s//\1/ 14656 q 14657 } 14658 /^X\(\/\).*/{ 14659 s//\1/ 14660 q 14661 } 14662 s/.*/./; q'` 14663 as_dir="$ac_dir"; as_fn_mkdir_p 14664 ac_builddir=. 14665 14666case "$ac_dir" in 14667.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14668*) 14669 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14670 # A ".." for each directory in $ac_dir_suffix. 14671 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14672 case $ac_top_builddir_sub in 14673 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14674 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14675 esac ;; 14676esac 14677ac_abs_top_builddir=$ac_pwd 14678ac_abs_builddir=$ac_pwd$ac_dir_suffix 14679# for backward compatibility: 14680ac_top_builddir=$ac_top_build_prefix 14681 14682case $srcdir in 14683 .) # We are building in place. 14684 ac_srcdir=. 14685 ac_top_srcdir=$ac_top_builddir_sub 14686 ac_abs_top_srcdir=$ac_pwd ;; 14687 [\\/]* | ?:[\\/]* ) # Absolute name. 14688 ac_srcdir=$srcdir$ac_dir_suffix; 14689 ac_top_srcdir=$srcdir 14690 ac_abs_top_srcdir=$srcdir ;; 14691 *) # Relative name. 14692 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14693 ac_top_srcdir=$ac_top_build_prefix$srcdir 14694 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 14695esac 14696ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14697 14698 14699 case $ac_mode in 14700 :F) 14701 # 14702 # CONFIG_FILE 14703 # 14704 14705 case $INSTALL in 14706 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 14707 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 14708 esac 14709 ac_MKDIR_P=$MKDIR_P 14710 case $MKDIR_P in 14711 [\\/$]* | ?:[\\/]* ) ;; 14712 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 14713 esac 14714_ACEOF 14715 14716cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14717# If the template does not know about datarootdir, expand it. 14718# FIXME: This hack should be removed a few years after 2.60. 14719ac_datarootdir_hack=; ac_datarootdir_seen= 14720ac_sed_dataroot=' 14721/datarootdir/ { 14722 p 14723 q 14724} 14725/@datadir@/p 14726/@docdir@/p 14727/@infodir@/p 14728/@localedir@/p 14729/@mandir@/p' 14730case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 14731*datarootdir*) ac_datarootdir_seen=yes;; 14732*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 14733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 14734$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 14735_ACEOF 14736cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14737 ac_datarootdir_hack=' 14738 s&@datadir@&$datadir&g 14739 s&@docdir@&$docdir&g 14740 s&@infodir@&$infodir&g 14741 s&@localedir@&$localedir&g 14742 s&@mandir@&$mandir&g 14743 s&\\\${datarootdir}&$datarootdir&g' ;; 14744esac 14745_ACEOF 14746 14747# Neutralize VPATH when `$srcdir' = `.'. 14748# Shell code in configure.ac might set extrasub. 14749# FIXME: do we really want to maintain this feature? 14750cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14751ac_sed_extra="$ac_vpsub 14752$extrasub 14753_ACEOF 14754cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14755:t 14756/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 14757s|@configure_input@|$ac_sed_conf_input|;t t 14758s&@top_builddir@&$ac_top_builddir_sub&;t t 14759s&@top_build_prefix@&$ac_top_build_prefix&;t t 14760s&@srcdir@&$ac_srcdir&;t t 14761s&@abs_srcdir@&$ac_abs_srcdir&;t t 14762s&@top_srcdir@&$ac_top_srcdir&;t t 14763s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 14764s&@builddir@&$ac_builddir&;t t 14765s&@abs_builddir@&$ac_abs_builddir&;t t 14766s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 14767s&@INSTALL@&$ac_INSTALL&;t t 14768s&@MKDIR_P@&$ac_MKDIR_P&;t t 14769$ac_datarootdir_hack 14770" 14771eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 14772 || as_fn_error "could not create $ac_file" "$LINENO" 5 14773 14774test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 14775 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 14776 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 14777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14778which seems to be undefined. Please make sure it is defined." >&5 14779$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14780which seems to be undefined. Please make sure it is defined." >&2;} 14781 14782 rm -f "$tmp/stdin" 14783 case $ac_file in 14784 -) cat "$tmp/out" && rm -f "$tmp/out";; 14785 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 14786 esac \ 14787 || as_fn_error "could not create $ac_file" "$LINENO" 5 14788 ;; 14789 :H) 14790 # 14791 # CONFIG_HEADER 14792 # 14793 if test x"$ac_file" != x-; then 14794 { 14795 $as_echo "/* $configure_input */" \ 14796 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 14797 } >"$tmp/config.h" \ 14798 || as_fn_error "could not create $ac_file" "$LINENO" 5 14799 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 14800 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 14801$as_echo "$as_me: $ac_file is unchanged" >&6;} 14802 else 14803 rm -f "$ac_file" 14804 mv "$tmp/config.h" "$ac_file" \ 14805 || as_fn_error "could not create $ac_file" "$LINENO" 5 14806 fi 14807 else 14808 $as_echo "/* $configure_input */" \ 14809 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 14810 || as_fn_error "could not create -" "$LINENO" 5 14811 fi 14812# Compute "$ac_file"'s index in $config_headers. 14813_am_arg="$ac_file" 14814_am_stamp_count=1 14815for _am_header in $config_headers :; do 14816 case $_am_header in 14817 $_am_arg | $_am_arg:* ) 14818 break ;; 14819 * ) 14820 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 14821 esac 14822done 14823echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 14824$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14825 X"$_am_arg" : 'X\(//\)[^/]' \| \ 14826 X"$_am_arg" : 'X\(//\)$' \| \ 14827 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 14828$as_echo X"$_am_arg" | 14829 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14830 s//\1/ 14831 q 14832 } 14833 /^X\(\/\/\)[^/].*/{ 14834 s//\1/ 14835 q 14836 } 14837 /^X\(\/\/\)$/{ 14838 s//\1/ 14839 q 14840 } 14841 /^X\(\/\).*/{ 14842 s//\1/ 14843 q 14844 } 14845 s/.*/./; q'`/stamp-h$_am_stamp_count 14846 ;; 14847 14848 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 14849$as_echo "$as_me: executing $ac_file commands" >&6;} 14850 ;; 14851 esac 14852 14853 14854 case $ac_file$ac_mode in 14855 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 14856 # Autoconf 2.62 quotes --file arguments for eval, but not when files 14857 # are listed without --file. Let's play safe and only enable the eval 14858 # if we detect the quoting. 14859 case $CONFIG_FILES in 14860 *\'*) eval set x "$CONFIG_FILES" ;; 14861 *) set x $CONFIG_FILES ;; 14862 esac 14863 shift 14864 for mf 14865 do 14866 # Strip MF so we end up with the name of the file. 14867 mf=`echo "$mf" | sed -e 's/:.*$//'` 14868 # Check whether this is an Automake generated Makefile or not. 14869 # We used to match only the files named `Makefile.in', but 14870 # some people rename them; so instead we look at the file content. 14871 # Grep'ing the first line is not enough: some people post-process 14872 # each Makefile.in and add a new line on top of each file to say so. 14873 # Grep'ing the whole file is not good either: AIX grep has a line 14874 # limit of 2048, but all sed's we know have understand at least 4000. 14875 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 14876 dirpart=`$as_dirname -- "$mf" || 14877$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14878 X"$mf" : 'X\(//\)[^/]' \| \ 14879 X"$mf" : 'X\(//\)$' \| \ 14880 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 14881$as_echo X"$mf" | 14882 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14883 s//\1/ 14884 q 14885 } 14886 /^X\(\/\/\)[^/].*/{ 14887 s//\1/ 14888 q 14889 } 14890 /^X\(\/\/\)$/{ 14891 s//\1/ 14892 q 14893 } 14894 /^X\(\/\).*/{ 14895 s//\1/ 14896 q 14897 } 14898 s/.*/./; q'` 14899 else 14900 continue 14901 fi 14902 # Extract the definition of DEPDIR, am__include, and am__quote 14903 # from the Makefile without running `make'. 14904 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 14905 test -z "$DEPDIR" && continue 14906 am__include=`sed -n 's/^am__include = //p' < "$mf"` 14907 test -z "am__include" && continue 14908 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 14909 # When using ansi2knr, U may be empty or an underscore; expand it 14910 U=`sed -n 's/^U = //p' < "$mf"` 14911 # Find all dependency output files, they are included files with 14912 # $(DEPDIR) in their names. We invoke sed twice because it is the 14913 # simplest approach to changing $(DEPDIR) to its actual value in the 14914 # expansion. 14915 for file in `sed -n " 14916 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 14917 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 14918 # Make sure the directory exists. 14919 test -f "$dirpart/$file" && continue 14920 fdir=`$as_dirname -- "$file" || 14921$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14922 X"$file" : 'X\(//\)[^/]' \| \ 14923 X"$file" : 'X\(//\)$' \| \ 14924 X"$file" : 'X\(/\)' \| . 2>/dev/null || 14925$as_echo X"$file" | 14926 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14927 s//\1/ 14928 q 14929 } 14930 /^X\(\/\/\)[^/].*/{ 14931 s//\1/ 14932 q 14933 } 14934 /^X\(\/\/\)$/{ 14935 s//\1/ 14936 q 14937 } 14938 /^X\(\/\).*/{ 14939 s//\1/ 14940 q 14941 } 14942 s/.*/./; q'` 14943 as_dir=$dirpart/$fdir; as_fn_mkdir_p 14944 # echo "creating $dirpart/$file" 14945 echo '# dummy' > "$dirpart/$file" 14946 done 14947 done 14948} 14949 ;; 14950 "libtool":C) 14951 14952 # See if we are running on zsh, and set the options which allow our 14953 # commands through without removal of \ escapes. 14954 if test -n "${ZSH_VERSION+set}" ; then 14955 setopt NO_GLOB_SUBST 14956 fi 14957 14958 cfgfile="${ofile}T" 14959 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 14960 $RM "$cfgfile" 14961 14962 cat <<_LT_EOF >> "$cfgfile" 14963#! $SHELL 14964 14965# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 14966# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 14967# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 14968# NOTE: Changes made to this file will be lost: look at ltmain.sh. 14969# 14970# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 14971# 2006, 2007, 2008 Free Software Foundation, Inc. 14972# Written by Gordon Matzigkeit, 1996 14973# 14974# This file is part of GNU Libtool. 14975# 14976# GNU Libtool is free software; you can redistribute it and/or 14977# modify it under the terms of the GNU General Public License as 14978# published by the Free Software Foundation; either version 2 of 14979# the License, or (at your option) any later version. 14980# 14981# As a special exception to the GNU General Public License, 14982# if you distribute this file as part of a program or library that 14983# is built using GNU Libtool, you may include this file under the 14984# same distribution terms that you use for the rest of that program. 14985# 14986# GNU Libtool is distributed in the hope that it will be useful, 14987# but WITHOUT ANY WARRANTY; without even the implied warranty of 14988# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14989# GNU General Public License for more details. 14990# 14991# You should have received a copy of the GNU General Public License 14992# along with GNU Libtool; see the file COPYING. If not, a copy 14993# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 14994# obtained by writing to the Free Software Foundation, Inc., 14995# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 14996 14997 14998# The names of the tagged configurations supported by this script. 14999available_tags="" 15000 15001# ### BEGIN LIBTOOL CONFIG 15002 15003# Whether or not to build static libraries. 15004build_old_libs=$enable_static 15005 15006# Assembler program. 15007AS=$AS 15008 15009# DLL creation program. 15010DLLTOOL=$DLLTOOL 15011 15012# Object dumper program. 15013OBJDUMP=$OBJDUMP 15014 15015# Which release of libtool.m4 was used? 15016macro_version=$macro_version 15017macro_revision=$macro_revision 15018 15019# Whether or not to build shared libraries. 15020build_libtool_libs=$enable_shared 15021 15022# What type of objects to build. 15023pic_mode=$pic_mode 15024 15025# Whether or not to optimize for fast installation. 15026fast_install=$enable_fast_install 15027 15028# The host system. 15029host_alias=$host_alias 15030host=$host 15031host_os=$host_os 15032 15033# The build system. 15034build_alias=$build_alias 15035build=$build 15036build_os=$build_os 15037 15038# A sed program that does not truncate output. 15039SED=$lt_SED 15040 15041# Sed that helps us avoid accidentally triggering echo(1) options like -n. 15042Xsed="\$SED -e 1s/^X//" 15043 15044# A grep program that handles long lines. 15045GREP=$lt_GREP 15046 15047# An ERE matcher. 15048EGREP=$lt_EGREP 15049 15050# A literal string matcher. 15051FGREP=$lt_FGREP 15052 15053# A BSD- or MS-compatible name lister. 15054NM=$lt_NM 15055 15056# Whether we need soft or hard links. 15057LN_S=$lt_LN_S 15058 15059# What is the maximum length of a command? 15060max_cmd_len=$max_cmd_len 15061 15062# Object file suffix (normally "o"). 15063objext=$ac_objext 15064 15065# Executable file suffix (normally ""). 15066exeext=$exeext 15067 15068# whether the shell understands "unset". 15069lt_unset=$lt_unset 15070 15071# turn spaces into newlines. 15072SP2NL=$lt_lt_SP2NL 15073 15074# turn newlines into spaces. 15075NL2SP=$lt_lt_NL2SP 15076 15077# How to create reloadable object files. 15078reload_flag=$lt_reload_flag 15079reload_cmds=$lt_reload_cmds 15080 15081# Method to check whether dependent libraries are shared objects. 15082deplibs_check_method=$lt_deplibs_check_method 15083 15084# Command to use when deplibs_check_method == "file_magic". 15085file_magic_cmd=$lt_file_magic_cmd 15086 15087# The archiver. 15088AR=$lt_AR 15089AR_FLAGS=$lt_AR_FLAGS 15090 15091# A symbol stripping program. 15092STRIP=$lt_STRIP 15093 15094# Commands used to install an old-style archive. 15095RANLIB=$lt_RANLIB 15096old_postinstall_cmds=$lt_old_postinstall_cmds 15097old_postuninstall_cmds=$lt_old_postuninstall_cmds 15098 15099# A C compiler. 15100LTCC=$lt_CC 15101 15102# LTCC compiler flags. 15103LTCFLAGS=$lt_CFLAGS 15104 15105# Take the output of nm and produce a listing of raw symbols and C names. 15106global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 15107 15108# Transform the output of nm in a proper C declaration. 15109global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 15110 15111# Transform the output of nm in a C name address pair. 15112global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 15113 15114# Transform the output of nm in a C name address pair when lib prefix is needed. 15115global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 15116 15117# The name of the directory that contains temporary libtool files. 15118objdir=$objdir 15119 15120# Shell to use when invoking shell scripts. 15121SHELL=$lt_SHELL 15122 15123# An echo program that does not interpret backslashes. 15124ECHO=$lt_ECHO 15125 15126# Used to examine libraries when file_magic_cmd begins with "file". 15127MAGIC_CMD=$MAGIC_CMD 15128 15129# Must we lock files when doing compilation? 15130need_locks=$lt_need_locks 15131 15132# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 15133DSYMUTIL=$lt_DSYMUTIL 15134 15135# Tool to change global to local symbols on Mac OS X. 15136NMEDIT=$lt_NMEDIT 15137 15138# Tool to manipulate fat objects and archives on Mac OS X. 15139LIPO=$lt_LIPO 15140 15141# ldd/readelf like tool for Mach-O binaries on Mac OS X. 15142OTOOL=$lt_OTOOL 15143 15144# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 15145OTOOL64=$lt_OTOOL64 15146 15147# Old archive suffix (normally "a"). 15148libext=$libext 15149 15150# Shared library suffix (normally ".so"). 15151shrext_cmds=$lt_shrext_cmds 15152 15153# The commands to extract the exported symbol list from a shared archive. 15154extract_expsyms_cmds=$lt_extract_expsyms_cmds 15155 15156# Variables whose values should be saved in libtool wrapper scripts and 15157# restored at link time. 15158variables_saved_for_relink=$lt_variables_saved_for_relink 15159 15160# Do we need the "lib" prefix for modules? 15161need_lib_prefix=$need_lib_prefix 15162 15163# Do we need a version for libraries? 15164need_version=$need_version 15165 15166# Library versioning type. 15167version_type=$version_type 15168 15169# Shared library runtime path variable. 15170runpath_var=$runpath_var 15171 15172# Shared library path variable. 15173shlibpath_var=$shlibpath_var 15174 15175# Is shlibpath searched before the hard-coded library search path? 15176shlibpath_overrides_runpath=$shlibpath_overrides_runpath 15177 15178# Format of library name prefix. 15179libname_spec=$lt_libname_spec 15180 15181# List of archive names. First name is the real one, the rest are links. 15182# The last name is the one that the linker finds with -lNAME 15183library_names_spec=$lt_library_names_spec 15184 15185# The coded name of the library, if different from the real name. 15186soname_spec=$lt_soname_spec 15187 15188# Command to use after installation of a shared archive. 15189postinstall_cmds=$lt_postinstall_cmds 15190 15191# Command to use after uninstallation of a shared archive. 15192postuninstall_cmds=$lt_postuninstall_cmds 15193 15194# Commands used to finish a libtool library installation in a directory. 15195finish_cmds=$lt_finish_cmds 15196 15197# As "finish_cmds", except a single script fragment to be evaled but 15198# not shown. 15199finish_eval=$lt_finish_eval 15200 15201# Whether we should hardcode library paths into libraries. 15202hardcode_into_libs=$hardcode_into_libs 15203 15204# Compile-time system search path for libraries. 15205sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 15206 15207# Run-time system search path for libraries. 15208sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 15209 15210# Whether dlopen is supported. 15211dlopen_support=$enable_dlopen 15212 15213# Whether dlopen of programs is supported. 15214dlopen_self=$enable_dlopen_self 15215 15216# Whether dlopen of statically linked programs is supported. 15217dlopen_self_static=$enable_dlopen_self_static 15218 15219# Commands to strip libraries. 15220old_striplib=$lt_old_striplib 15221striplib=$lt_striplib 15222 15223 15224# The linker used to build libraries. 15225LD=$lt_LD 15226 15227# Commands used to build an old-style archive. 15228old_archive_cmds=$lt_old_archive_cmds 15229 15230# A language specific compiler. 15231CC=$lt_compiler 15232 15233# Is the compiler the GNU compiler? 15234with_gcc=$GCC 15235 15236# Compiler flag to turn off builtin functions. 15237no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 15238 15239# How to pass a linker flag through the compiler. 15240wl=$lt_lt_prog_compiler_wl 15241 15242# Additional compiler flags for building library objects. 15243pic_flag=$lt_lt_prog_compiler_pic 15244 15245# Compiler flag to prevent dynamic linking. 15246link_static_flag=$lt_lt_prog_compiler_static 15247 15248# Does compiler simultaneously support -c and -o options? 15249compiler_c_o=$lt_lt_cv_prog_compiler_c_o 15250 15251# Whether or not to add -lc for building shared libraries. 15252build_libtool_need_lc=$archive_cmds_need_lc 15253 15254# Whether or not to disallow shared libs when runtime libs are static. 15255allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 15256 15257# Compiler flag to allow reflexive dlopens. 15258export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 15259 15260# Compiler flag to generate shared objects directly from archives. 15261whole_archive_flag_spec=$lt_whole_archive_flag_spec 15262 15263# Whether the compiler copes with passing no objects directly. 15264compiler_needs_object=$lt_compiler_needs_object 15265 15266# Create an old-style archive from a shared archive. 15267old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 15268 15269# Create a temporary old-style archive to link instead of a shared archive. 15270old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 15271 15272# Commands used to build a shared archive. 15273archive_cmds=$lt_archive_cmds 15274archive_expsym_cmds=$lt_archive_expsym_cmds 15275 15276# Commands used to build a loadable module if different from building 15277# a shared archive. 15278module_cmds=$lt_module_cmds 15279module_expsym_cmds=$lt_module_expsym_cmds 15280 15281# Whether we are building with GNU ld or not. 15282with_gnu_ld=$lt_with_gnu_ld 15283 15284# Flag that allows shared libraries with undefined symbols to be built. 15285allow_undefined_flag=$lt_allow_undefined_flag 15286 15287# Flag that enforces no undefined symbols. 15288no_undefined_flag=$lt_no_undefined_flag 15289 15290# Flag to hardcode \$libdir into a binary during linking. 15291# This must work even if \$libdir does not exist 15292hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 15293 15294# If ld is used when linking, flag to hardcode \$libdir into a binary 15295# during linking. This must work even if \$libdir does not exist. 15296hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld 15297 15298# Whether we need a single "-rpath" flag with a separated argument. 15299hardcode_libdir_separator=$lt_hardcode_libdir_separator 15300 15301# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 15302# DIR into the resulting binary. 15303hardcode_direct=$hardcode_direct 15304 15305# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 15306# DIR into the resulting binary and the resulting library dependency is 15307# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 15308# library is relocated. 15309hardcode_direct_absolute=$hardcode_direct_absolute 15310 15311# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 15312# into the resulting binary. 15313hardcode_minus_L=$hardcode_minus_L 15314 15315# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 15316# into the resulting binary. 15317hardcode_shlibpath_var=$hardcode_shlibpath_var 15318 15319# Set to "yes" if building a shared library automatically hardcodes DIR 15320# into the library and all subsequent libraries and executables linked 15321# against it. 15322hardcode_automatic=$hardcode_automatic 15323 15324# Set to yes if linker adds runtime paths of dependent libraries 15325# to runtime path list. 15326inherit_rpath=$inherit_rpath 15327 15328# Whether libtool must link a program against all its dependency libraries. 15329link_all_deplibs=$link_all_deplibs 15330 15331# Fix the shell variable \$srcfile for the compiler. 15332fix_srcfile_path=$lt_fix_srcfile_path 15333 15334# Set to "yes" if exported symbols are required. 15335always_export_symbols=$always_export_symbols 15336 15337# The commands to list exported symbols. 15338export_symbols_cmds=$lt_export_symbols_cmds 15339 15340# Symbols that should not be listed in the preloaded symbols. 15341exclude_expsyms=$lt_exclude_expsyms 15342 15343# Symbols that must always be exported. 15344include_expsyms=$lt_include_expsyms 15345 15346# Commands necessary for linking programs (against libraries) with templates. 15347prelink_cmds=$lt_prelink_cmds 15348 15349# Specify filename containing input files. 15350file_list_spec=$lt_file_list_spec 15351 15352# How to hardcode a shared library path into an executable. 15353hardcode_action=$hardcode_action 15354 15355# ### END LIBTOOL CONFIG 15356 15357_LT_EOF 15358 15359 case $host_os in 15360 aix3*) 15361 cat <<\_LT_EOF >> "$cfgfile" 15362# AIX sometimes has problems with the GCC collect2 program. For some 15363# reason, if we set the COLLECT_NAMES environment variable, the problems 15364# vanish in a puff of smoke. 15365if test "X${COLLECT_NAMES+set}" != Xset; then 15366 COLLECT_NAMES= 15367 export COLLECT_NAMES 15368fi 15369_LT_EOF 15370 ;; 15371 esac 15372 15373 15374ltmain="$ac_aux_dir/ltmain.sh" 15375 15376 15377 # We use sed instead of cat because bash on DJGPP gets confused if 15378 # if finds mixed CR/LF and LF-only lines. Since sed operates in 15379 # text mode, it properly converts lines to CR/LF. This bash problem 15380 # is reportedly fixed, but why not run on old versions too? 15381 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ 15382 || (rm -f "$cfgfile"; exit 1) 15383 15384 case $xsi_shell in 15385 yes) 15386 cat << \_LT_EOF >> "$cfgfile" 15387 15388# func_dirname file append nondir_replacement 15389# Compute the dirname of FILE. If nonempty, add APPEND to the result, 15390# otherwise set result to NONDIR_REPLACEMENT. 15391func_dirname () 15392{ 15393 case ${1} in 15394 */*) func_dirname_result="${1%/*}${2}" ;; 15395 * ) func_dirname_result="${3}" ;; 15396 esac 15397} 15398 15399# func_basename file 15400func_basename () 15401{ 15402 func_basename_result="${1##*/}" 15403} 15404 15405# func_dirname_and_basename file append nondir_replacement 15406# perform func_basename and func_dirname in a single function 15407# call: 15408# dirname: Compute the dirname of FILE. If nonempty, 15409# add APPEND to the result, otherwise set result 15410# to NONDIR_REPLACEMENT. 15411# value returned in "$func_dirname_result" 15412# basename: Compute filename of FILE. 15413# value retuned in "$func_basename_result" 15414# Implementation must be kept synchronized with func_dirname 15415# and func_basename. For efficiency, we do not delegate to 15416# those functions but instead duplicate the functionality here. 15417func_dirname_and_basename () 15418{ 15419 case ${1} in 15420 */*) func_dirname_result="${1%/*}${2}" ;; 15421 * ) func_dirname_result="${3}" ;; 15422 esac 15423 func_basename_result="${1##*/}" 15424} 15425 15426# func_stripname prefix suffix name 15427# strip PREFIX and SUFFIX off of NAME. 15428# PREFIX and SUFFIX must not contain globbing or regex special 15429# characters, hashes, percent signs, but SUFFIX may contain a leading 15430# dot (in which case that matches only a dot). 15431func_stripname () 15432{ 15433 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are 15434 # positional parameters, so assign one to ordinary parameter first. 15435 func_stripname_result=${3} 15436 func_stripname_result=${func_stripname_result#"${1}"} 15437 func_stripname_result=${func_stripname_result%"${2}"} 15438} 15439 15440# func_opt_split 15441func_opt_split () 15442{ 15443 func_opt_split_opt=${1%%=*} 15444 func_opt_split_arg=${1#*=} 15445} 15446 15447# func_lo2o object 15448func_lo2o () 15449{ 15450 case ${1} in 15451 *.lo) func_lo2o_result=${1%.lo}.${objext} ;; 15452 *) func_lo2o_result=${1} ;; 15453 esac 15454} 15455 15456# func_xform libobj-or-source 15457func_xform () 15458{ 15459 func_xform_result=${1%.*}.lo 15460} 15461 15462# func_arith arithmetic-term... 15463func_arith () 15464{ 15465 func_arith_result=$(( $* )) 15466} 15467 15468# func_len string 15469# STRING may not start with a hyphen. 15470func_len () 15471{ 15472 func_len_result=${#1} 15473} 15474 15475_LT_EOF 15476 ;; 15477 *) # Bourne compatible functions. 15478 cat << \_LT_EOF >> "$cfgfile" 15479 15480# func_dirname file append nondir_replacement 15481# Compute the dirname of FILE. If nonempty, add APPEND to the result, 15482# otherwise set result to NONDIR_REPLACEMENT. 15483func_dirname () 15484{ 15485 # Extract subdirectory from the argument. 15486 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` 15487 if test "X$func_dirname_result" = "X${1}"; then 15488 func_dirname_result="${3}" 15489 else 15490 func_dirname_result="$func_dirname_result${2}" 15491 fi 15492} 15493 15494# func_basename file 15495func_basename () 15496{ 15497 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` 15498} 15499 15500 15501# func_stripname prefix suffix name 15502# strip PREFIX and SUFFIX off of NAME. 15503# PREFIX and SUFFIX must not contain globbing or regex special 15504# characters, hashes, percent signs, but SUFFIX may contain a leading 15505# dot (in which case that matches only a dot). 15506# func_strip_suffix prefix name 15507func_stripname () 15508{ 15509 case ${2} in 15510 .*) func_stripname_result=`$ECHO "X${3}" \ 15511 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; 15512 *) func_stripname_result=`$ECHO "X${3}" \ 15513 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; 15514 esac 15515} 15516 15517# sed scripts: 15518my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' 15519my_sed_long_arg='1s/^-[^=]*=//' 15520 15521# func_opt_split 15522func_opt_split () 15523{ 15524 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` 15525 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` 15526} 15527 15528# func_lo2o object 15529func_lo2o () 15530{ 15531 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` 15532} 15533 15534# func_xform libobj-or-source 15535func_xform () 15536{ 15537 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` 15538} 15539 15540# func_arith arithmetic-term... 15541func_arith () 15542{ 15543 func_arith_result=`expr "$@"` 15544} 15545 15546# func_len string 15547# STRING may not start with a hyphen. 15548func_len () 15549{ 15550 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` 15551} 15552 15553_LT_EOF 15554esac 15555 15556case $lt_shell_append in 15557 yes) 15558 cat << \_LT_EOF >> "$cfgfile" 15559 15560# func_append var value 15561# Append VALUE to the end of shell variable VAR. 15562func_append () 15563{ 15564 eval "$1+=\$2" 15565} 15566_LT_EOF 15567 ;; 15568 *) 15569 cat << \_LT_EOF >> "$cfgfile" 15570 15571# func_append var value 15572# Append VALUE to the end of shell variable VAR. 15573func_append () 15574{ 15575 eval "$1=\$$1\$2" 15576} 15577 15578_LT_EOF 15579 ;; 15580 esac 15581 15582 15583 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ 15584 || (rm -f "$cfgfile"; exit 1) 15585 15586 mv -f "$cfgfile" "$ofile" || 15587 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 15588 chmod +x "$ofile" 15589 15590 ;; 15591 15592 esac 15593done # for ac_tag 15594 15595 15596as_fn_exit 0 15597_ACEOF 15598ac_clean_files=$ac_clean_files_save 15599 15600test $ac_write_fail = 0 || 15601 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 15602 15603 15604# configure is writing to config.log, and then calls config.status. 15605# config.status does its own redirection, appending to config.log. 15606# Unfortunately, on DOS this fails, as config.log is still kept open 15607# by configure, so config.status won't be able to write to it; its 15608# output is simply discarded. So we exec the FD to /dev/null, 15609# effectively closing config.log, so it can be properly (re)opened and 15610# appended to by config.status. When coming back to configure, we 15611# need to make the FD available again. 15612if test "$no_create" != yes; then 15613 ac_cs_success=: 15614 ac_config_status_args= 15615 test "$silent" = yes && 15616 ac_config_status_args="$ac_config_status_args --quiet" 15617 exec 5>/dev/null 15618 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 15619 exec 5>>config.log 15620 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 15621 # would make configure fail if this is the last instruction. 15622 $ac_cs_success || as_fn_exit $? 15623fi 15624if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 15625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 15626$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 15627fi 15628 15629