1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.67 for pylgtk 2.24.0. 4# 5# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=pylgtk>. 6# 7# 8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 10# Foundation, Inc. 11# 12# 13# This configure script is free software; the Free Software Foundation 14# gives unlimited permission to copy, distribute and modify it. 15## -------------------- ## 16## M4sh Initialization. ## 17## -------------------- ## 18 19# Be more Bourne compatible 20DUALCASE=1; export DUALCASE # for MKS sh 21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 22 emulate sh 23 NULLCMD=: 24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25 # is contrary to our usage. Disable this feature. 26 alias -g '${1+"$@"}'='"$@"' 27 setopt NO_GLOB_SUBST 28else 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 34esac 35fi 36 37 38as_nl=' 39' 40export as_nl 41# Printing a long string crashes Solaris 7 /usr/bin/printf. 42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45# Prefer a ksh shell builtin over an external printf program on Solaris, 46# but without wasting forks for bash or zsh. 47if test -z "$BASH_VERSION$ZSH_VERSION" \ 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='print -r --' 50 as_echo_n='print -rn --' 51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52 as_echo='printf %s\n' 53 as_echo_n='printf %s' 54else 55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 57 as_echo_n='/usr/ucb/echo -n' 58 else 59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 60 as_echo_n_body='eval 61 arg=$1; 62 case $arg in #( 63 *"$as_nl"*) 64 expr "X$arg" : "X\\(.*\\)$as_nl"; 65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 66 esac; 67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 68 ' 69 export as_echo_n_body 70 as_echo_n='sh -c $as_echo_n_body as_echo' 71 fi 72 export as_echo_body 73 as_echo='sh -c $as_echo_body as_echo' 74fi 75 76# The user is always right. 77if test "${PATH_SEPARATOR+set}" != set; then 78 PATH_SEPARATOR=: 79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 81 PATH_SEPARATOR=';' 82 } 83fi 84 85 86# IFS 87# We need space, tab and new line, in precisely that order. Quoting is 88# there to prevent editors from complaining about space-tab. 89# (If _AS_PATH_WALK were called with IFS unset, it would disable word 90# splitting by setting IFS to empty value.) 91IFS=" "" $as_nl" 92 93# Find who we are. Look in the path if we contain no directory separator. 94case $0 in #(( 95 *[\\/]* ) as_myself=$0 ;; 96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 97for as_dir in $PATH 98do 99 IFS=$as_save_IFS 100 test -z "$as_dir" && as_dir=. 101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 102 done 103IFS=$as_save_IFS 104 105 ;; 106esac 107# We did not find ourselves, most probably we were run as `sh COMMAND' 108# in which case we are not to be found in the path. 109if test "x$as_myself" = x; then 110 as_myself=$0 111fi 112if test ! -f "$as_myself"; then 113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 114 exit 1 115fi 116 117# Unset variables that we do not need and which cause bugs (e.g. in 118# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 119# suppresses any "Segmentation fault" message there. '((' could 120# trigger a bug in pdksh 5.2.14. 121for as_var in BASH_ENV ENV MAIL MAILPATH 122do eval test x\${$as_var+set} = xset \ 123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 124done 125PS1='$ ' 126PS2='> ' 127PS4='+ ' 128 129# NLS nuisances. 130LC_ALL=C 131export LC_ALL 132LANGUAGE=C 133export LANGUAGE 134 135# CDPATH. 136(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 137 138if test "x$CONFIG_SHELL" = x; then 139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 140 emulate sh 141 NULLCMD=: 142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 143 # is contrary to our usage. Disable this feature. 144 alias -g '\${1+\"\$@\"}'='\"\$@\"' 145 setopt NO_GLOB_SUBST 146else 147 case \`(set -o) 2>/dev/null\` in #( 148 *posix*) : 149 set -o posix ;; #( 150 *) : 151 ;; 152esac 153fi 154" 155 as_required="as_fn_return () { (exit \$1); } 156as_fn_success () { as_fn_return 0; } 157as_fn_failure () { as_fn_return 1; } 158as_fn_ret_success () { return 0; } 159as_fn_ret_failure () { return 1; } 160 161exitcode=0 162as_fn_success || { exitcode=1; echo as_fn_success failed.; } 163as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 164as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 165as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 166if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 167 168else 169 exitcode=1; echo positional parameters were not saved. 170fi 171test x\$exitcode = x0 || exit 1" 172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 176test \$(( 1 + 1 )) = 2 || exit 1" 177 if (eval "$as_required") 2>/dev/null; then : 178 as_have_required=yes 179else 180 as_have_required=no 181fi 182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 183 184else 185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 186as_found=false 187for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 188do 189 IFS=$as_save_IFS 190 test -z "$as_dir" && as_dir=. 191 as_found=: 192 case $as_dir in #( 193 /*) 194 for as_base in sh bash ksh sh5; do 195 # Try only shells that exist, to save several forks. 196 as_shell=$as_dir/$as_base 197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 199 CONFIG_SHELL=$as_shell as_have_required=yes 200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 201 break 2 202fi 203fi 204 done;; 205 esac 206 as_found=false 207done 208$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 210 CONFIG_SHELL=$SHELL as_have_required=yes 211fi; } 212IFS=$as_save_IFS 213 214 215 if test "x$CONFIG_SHELL" != x; then : 216 # We cannot yet assume a decent shell, so we have to provide a 217 # neutralization value for shells without unset; and this also 218 # works around shells that cannot unset nonexistent variables. 219 BASH_ENV=/dev/null 220 ENV=/dev/null 221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 222 export CONFIG_SHELL 223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 224fi 225 226 if test x$as_have_required = xno; then : 227 $as_echo "$0: This script requires a shell more modern than all" 228 $as_echo "$0: the shells that I found on your system." 229 if test x${ZSH_VERSION+set} = xset ; then 230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 231 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 232 else 233 $as_echo "$0: Please tell bug-autoconf@gnu.org and 234$0: http://bugzilla.gnome.org/enter_bug.cgi?product=pylgtk 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 STATUS 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=$1; test $as_status -eq 0 && as_status=1 371 if test "$4"; then 372 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 373 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 374 fi 375 $as_echo "$as_me: error: $2" >&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, old GNU/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='pylgtk' 704PACKAGE_TARNAME='pylgtk' 705PACKAGE_VERSION='2.24.0' 706PACKAGE_STRING='pylgtk 2.24.0' 707PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=pylgtk' 708PACKAGE_URL='' 709 710ac_unique_file="gtk/gtkmodule.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 751BUILD_GTKUNIXPRINT_FALSE 752BUILD_GTKUNIXPRINT_TRUE 753GTKUNIXPRINT_LIBS 754GTKUNIXPRINT_CFLAGS 755BUILD_LIBGLADE_FALSE 756BUILD_LIBGLADE_TRUE 757LIBGLADE_LIBS 758LIBGLADE_CFLAGS 759HAVE_GTK_2_24 760HAVE_GTK_2_24_FALSE 761HAVE_GTK_2_24_TRUE 762GTK224_LIBS 763GTK224_CFLAGS 764HAVE_GTK_2_22 765HAVE_GTK_2_22_FALSE 766HAVE_GTK_2_22_TRUE 767GTK222_LIBS 768GTK222_CFLAGS 769HAVE_GTK_2_20 770HAVE_GTK_2_20_FALSE 771HAVE_GTK_2_20_TRUE 772GTK220_LIBS 773GTK220_CFLAGS 774HAVE_GTK_2_18 775HAVE_GTK_2_18_FALSE 776HAVE_GTK_2_18_TRUE 777GTK218_LIBS 778GTK218_CFLAGS 779HAVE_GTK_2_16 780HAVE_GTK_2_16_FALSE 781HAVE_GTK_2_16_TRUE 782GTK216_LIBS 783GTK216_CFLAGS 784HAVE_GTK_2_14 785HAVE_GTK_2_14_FALSE 786HAVE_GTK_2_14_TRUE 787GTK214_LIBS 788GTK214_CFLAGS 789HAVE_GTK_2_12 790HAVE_GTK_2_12_FALSE 791HAVE_GTK_2_12_TRUE 792GTK212_LIBS 793GTK212_CFLAGS 794HAVE_GTK_2_10 795HAVE_GTK_2_10_FALSE 796HAVE_GTK_2_10_TRUE 797GTK210_LIBS 798GTK210_CFLAGS 799BUILD_GTK_FALSE 800BUILD_GTK_TRUE 801GTK_LIBS 802GTK_CFLAGS 803BUILD_PANGOCAIRO_FALSE 804BUILD_PANGOCAIRO_TRUE 805PANGOCAIRO_LIBS 806PANGOCAIRO_CFLAGS 807PYCAIRO_LIBS 808PYCAIRO_CFLAGS 809PYGTK_CODEGEN_DEFINES 810CODEGENDIR 811BUILD_PANGO_FALSE 812BUILD_PANGO_TRUE 813PANGO_LIBS 814PANGO_CFLAGS 815BUILD_ATK_FALSE 816BUILD_ATK_TRUE 817ATK_LIBS 818ATK_CFLAGS 819PYGOBJECT_PYGDOCS 820PYGOBJECT_FIXXREF 821HAVE_GIO_TYPES_DEFS_FALSE 822HAVE_GIO_TYPES_DEFS_TRUE 823PYGOBJECT_DEFSDIR 824PYGOBJECT_DATADIR 825PYGOBJECT_INCLUDEDIR 826PYGOBJECT_LIBS 827PYGOBJECT_CFLAGS 828GLIB_MKENUMS 829GOBJECT_QUERY 830GLIB_GENMARSHAL 831GLIB_LIBS 832GLIB_CFLAGS 833PKG_CONFIG_LIBDIR 834PKG_CONFIG_PATH 835PKG_CONFIG 836THREADING_CFLAGS 837ENABLE_DOCS_FALSE 838ENABLE_DOCS_TRUE 839XSLTPROC 840PYTHON_INCLUDES 841pkgpyexecdir 842pyexecdir 843pkgpythondir 844pythondir 845PYTHON_PLATFORM 846PYTHON_EXEC_PREFIX 847PYTHON_PREFIX 848PYTHON_VERSION 849PYTHON 850CPP 851OTOOL64 852OTOOL 853LIPO 854NMEDIT 855DSYMUTIL 856lt_ECHO 857RANLIB 858AR 859LN_S 860NM 861ac_ct_DUMPBIN 862DUMPBIN 863LD 864FGREP 865EGREP 866GREP 867SED 868LIBTOOL 869OBJDUMP 870DLLTOOL 871AS 872OS_WIN32_FALSE 873OS_WIN32_TRUE 874PLATFORM_WIN32_FALSE 875PLATFORM_WIN32_TRUE 876host_os 877host_vendor 878host_cpu 879host 880build_os 881build_vendor 882build_cpu 883build 884am__fastdepCC_FALSE 885am__fastdepCC_TRUE 886CCDEPMODE 887AMDEPBACKSLASH 888AMDEP_FALSE 889AMDEP_TRUE 890am__quote 891am__include 892DEPDIR 893OBJEXT 894EXEEXT 895ac_ct_CC 896CPPFLAGS 897LDFLAGS 898CFLAGS 899CC 900am__untar 901am__tar 902AMTAR 903am__leading_dot 904SET_MAKE 905AWK 906mkdir_p 907MKDIR_P 908INSTALL_STRIP_PROGRAM 909STRIP 910install_sh 911MAKEINFO 912AUTOHEADER 913AUTOMAKE 914AUTOCONF 915ACLOCAL 916VERSION 917PACKAGE 918CYGPATH_W 919am__isrc 920INSTALL_DATA 921INSTALL_SCRIPT 922INSTALL_PROGRAM 923PYGTK_MICRO_VERSION 924PYGTK_MINOR_VERSION 925PYGTK_MAJOR_VERSION 926ACLOCAL_AMFLAGS 927target_alias 928host_alias 929build_alias 930LIBS 931ECHO_T 932ECHO_N 933ECHO_C 934DEFS 935mandir 936localedir 937libdir 938psdir 939pdfdir 940dvidir 941htmldir 942infodir 943docdir 944oldincludedir 945includedir 946localstatedir 947sharedstatedir 948sysconfdir 949datadir 950datarootdir 951libexecdir 952sbindir 953bindir 954program_transform_name 955prefix 956exec_prefix 957PACKAGE_URL 958PACKAGE_BUGREPORT 959PACKAGE_STRING 960PACKAGE_VERSION 961PACKAGE_TARNAME 962PACKAGE_NAME 963PATH_SEPARATOR 964SHELL' 965ac_subst_files='' 966ac_user_opts=' 967enable_option_checking 968enable_dependency_tracking 969enable_static 970enable_shared 971with_pic 972enable_fast_install 973with_gnu_ld 974enable_libtool_lock 975enable_thread 976enable_docs 977enable_glibtest 978with_glade 979enable_numpy 980' 981 ac_precious_vars='build_alias 982host_alias 983target_alias 984CC 985CFLAGS 986LDFLAGS 987LIBS 988CPPFLAGS 989CPP 990PKG_CONFIG 991PKG_CONFIG_PATH 992PKG_CONFIG_LIBDIR 993PYGOBJECT_CFLAGS 994PYGOBJECT_LIBS 995ATK_CFLAGS 996ATK_LIBS 997PANGO_CFLAGS 998PANGO_LIBS 999PYCAIRO_CFLAGS 1000PYCAIRO_LIBS 1001PANGOCAIRO_CFLAGS 1002PANGOCAIRO_LIBS 1003GTK_CFLAGS 1004GTK_LIBS 1005GTK210_CFLAGS 1006GTK210_LIBS 1007GTK212_CFLAGS 1008GTK212_LIBS 1009GTK214_CFLAGS 1010GTK214_LIBS 1011GTK216_CFLAGS 1012GTK216_LIBS 1013GTK218_CFLAGS 1014GTK218_LIBS 1015GTK220_CFLAGS 1016GTK220_LIBS 1017GTK222_CFLAGS 1018GTK222_LIBS 1019GTK224_CFLAGS 1020GTK224_LIBS 1021LIBGLADE_CFLAGS 1022LIBGLADE_LIBS 1023GTKUNIXPRINT_CFLAGS 1024GTKUNIXPRINT_LIBS' 1025 1026 1027# Initialize some variables set by options. 1028ac_init_help= 1029ac_init_version=false 1030ac_unrecognized_opts= 1031ac_unrecognized_sep= 1032# The variables have the same names as the options, with 1033# dashes changed to underlines. 1034cache_file=/dev/null 1035exec_prefix=NONE 1036no_create= 1037no_recursion= 1038prefix=NONE 1039program_prefix=NONE 1040program_suffix=NONE 1041program_transform_name=s,x,x, 1042silent= 1043site= 1044srcdir= 1045verbose= 1046x_includes=NONE 1047x_libraries=NONE 1048 1049# Installation directory options. 1050# These are left unexpanded so users can "make install exec_prefix=/foo" 1051# and all the variables that are supposed to be based on exec_prefix 1052# by default will actually change. 1053# Use braces instead of parens because sh, perl, etc. also accept them. 1054# (The list follows the same order as the GNU Coding Standards.) 1055bindir='${exec_prefix}/bin' 1056sbindir='${exec_prefix}/sbin' 1057libexecdir='${exec_prefix}/libexec' 1058datarootdir='${prefix}/share' 1059datadir='${datarootdir}' 1060sysconfdir='${prefix}/etc' 1061sharedstatedir='${prefix}/com' 1062localstatedir='${prefix}/var' 1063includedir='${prefix}/include' 1064oldincludedir='/usr/include' 1065docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 1066infodir='${datarootdir}/info' 1067htmldir='${docdir}' 1068dvidir='${docdir}' 1069pdfdir='${docdir}' 1070psdir='${docdir}' 1071libdir='${exec_prefix}/lib' 1072localedir='${datarootdir}/locale' 1073mandir='${datarootdir}/man' 1074 1075ac_prev= 1076ac_dashdash= 1077for ac_option 1078do 1079 # If the previous option needs an argument, assign it. 1080 if test -n "$ac_prev"; then 1081 eval $ac_prev=\$ac_option 1082 ac_prev= 1083 continue 1084 fi 1085 1086 case $ac_option in 1087 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1088 *=) ac_optarg= ;; 1089 *) ac_optarg=yes ;; 1090 esac 1091 1092 # Accept the important Cygnus configure options, so we can diagnose typos. 1093 1094 case $ac_dashdash$ac_option in 1095 --) 1096 ac_dashdash=yes ;; 1097 1098 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1099 ac_prev=bindir ;; 1100 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1101 bindir=$ac_optarg ;; 1102 1103 -build | --build | --buil | --bui | --bu) 1104 ac_prev=build_alias ;; 1105 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1106 build_alias=$ac_optarg ;; 1107 1108 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1109 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1110 ac_prev=cache_file ;; 1111 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1112 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1113 cache_file=$ac_optarg ;; 1114 1115 --config-cache | -C) 1116 cache_file=config.cache ;; 1117 1118 -datadir | --datadir | --datadi | --datad) 1119 ac_prev=datadir ;; 1120 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1121 datadir=$ac_optarg ;; 1122 1123 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1124 | --dataroo | --dataro | --datar) 1125 ac_prev=datarootdir ;; 1126 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1127 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1128 datarootdir=$ac_optarg ;; 1129 1130 -disable-* | --disable-*) 1131 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1132 # Reject names that are not valid shell variable names. 1133 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1134 as_fn_error $? "invalid feature name: $ac_useropt" 1135 ac_useropt_orig=$ac_useropt 1136 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1137 case $ac_user_opts in 1138 *" 1139"enable_$ac_useropt" 1140"*) ;; 1141 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1142 ac_unrecognized_sep=', ';; 1143 esac 1144 eval enable_$ac_useropt=no ;; 1145 1146 -docdir | --docdir | --docdi | --doc | --do) 1147 ac_prev=docdir ;; 1148 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1149 docdir=$ac_optarg ;; 1150 1151 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1152 ac_prev=dvidir ;; 1153 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1154 dvidir=$ac_optarg ;; 1155 1156 -enable-* | --enable-*) 1157 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1158 # Reject names that are not valid shell variable names. 1159 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1160 as_fn_error $? "invalid feature name: $ac_useropt" 1161 ac_useropt_orig=$ac_useropt 1162 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1163 case $ac_user_opts in 1164 *" 1165"enable_$ac_useropt" 1166"*) ;; 1167 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1168 ac_unrecognized_sep=', ';; 1169 esac 1170 eval enable_$ac_useropt=\$ac_optarg ;; 1171 1172 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1173 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1174 | --exec | --exe | --ex) 1175 ac_prev=exec_prefix ;; 1176 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1177 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1178 | --exec=* | --exe=* | --ex=*) 1179 exec_prefix=$ac_optarg ;; 1180 1181 -gas | --gas | --ga | --g) 1182 # Obsolete; use --with-gas. 1183 with_gas=yes ;; 1184 1185 -help | --help | --hel | --he | -h) 1186 ac_init_help=long ;; 1187 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1188 ac_init_help=recursive ;; 1189 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1190 ac_init_help=short ;; 1191 1192 -host | --host | --hos | --ho) 1193 ac_prev=host_alias ;; 1194 -host=* | --host=* | --hos=* | --ho=*) 1195 host_alias=$ac_optarg ;; 1196 1197 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1198 ac_prev=htmldir ;; 1199 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1200 | --ht=*) 1201 htmldir=$ac_optarg ;; 1202 1203 -includedir | --includedir | --includedi | --included | --include \ 1204 | --includ | --inclu | --incl | --inc) 1205 ac_prev=includedir ;; 1206 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1207 | --includ=* | --inclu=* | --incl=* | --inc=*) 1208 includedir=$ac_optarg ;; 1209 1210 -infodir | --infodir | --infodi | --infod | --info | --inf) 1211 ac_prev=infodir ;; 1212 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1213 infodir=$ac_optarg ;; 1214 1215 -libdir | --libdir | --libdi | --libd) 1216 ac_prev=libdir ;; 1217 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1218 libdir=$ac_optarg ;; 1219 1220 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1221 | --libexe | --libex | --libe) 1222 ac_prev=libexecdir ;; 1223 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1224 | --libexe=* | --libex=* | --libe=*) 1225 libexecdir=$ac_optarg ;; 1226 1227 -localedir | --localedir | --localedi | --localed | --locale) 1228 ac_prev=localedir ;; 1229 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1230 localedir=$ac_optarg ;; 1231 1232 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1233 | --localstate | --localstat | --localsta | --localst | --locals) 1234 ac_prev=localstatedir ;; 1235 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1236 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1237 localstatedir=$ac_optarg ;; 1238 1239 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1240 ac_prev=mandir ;; 1241 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1242 mandir=$ac_optarg ;; 1243 1244 -nfp | --nfp | --nf) 1245 # Obsolete; use --without-fp. 1246 with_fp=no ;; 1247 1248 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1249 | --no-cr | --no-c | -n) 1250 no_create=yes ;; 1251 1252 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1253 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1254 no_recursion=yes ;; 1255 1256 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1257 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1258 | --oldin | --oldi | --old | --ol | --o) 1259 ac_prev=oldincludedir ;; 1260 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1261 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1262 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1263 oldincludedir=$ac_optarg ;; 1264 1265 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1266 ac_prev=prefix ;; 1267 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1268 prefix=$ac_optarg ;; 1269 1270 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1271 | --program-pre | --program-pr | --program-p) 1272 ac_prev=program_prefix ;; 1273 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1274 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1275 program_prefix=$ac_optarg ;; 1276 1277 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1278 | --program-suf | --program-su | --program-s) 1279 ac_prev=program_suffix ;; 1280 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1281 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1282 program_suffix=$ac_optarg ;; 1283 1284 -program-transform-name | --program-transform-name \ 1285 | --program-transform-nam | --program-transform-na \ 1286 | --program-transform-n | --program-transform- \ 1287 | --program-transform | --program-transfor \ 1288 | --program-transfo | --program-transf \ 1289 | --program-trans | --program-tran \ 1290 | --progr-tra | --program-tr | --program-t) 1291 ac_prev=program_transform_name ;; 1292 -program-transform-name=* | --program-transform-name=* \ 1293 | --program-transform-nam=* | --program-transform-na=* \ 1294 | --program-transform-n=* | --program-transform-=* \ 1295 | --program-transform=* | --program-transfor=* \ 1296 | --program-transfo=* | --program-transf=* \ 1297 | --program-trans=* | --program-tran=* \ 1298 | --progr-tra=* | --program-tr=* | --program-t=*) 1299 program_transform_name=$ac_optarg ;; 1300 1301 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1302 ac_prev=pdfdir ;; 1303 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1304 pdfdir=$ac_optarg ;; 1305 1306 -psdir | --psdir | --psdi | --psd | --ps) 1307 ac_prev=psdir ;; 1308 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1309 psdir=$ac_optarg ;; 1310 1311 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1312 | -silent | --silent | --silen | --sile | --sil) 1313 silent=yes ;; 1314 1315 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1316 ac_prev=sbindir ;; 1317 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1318 | --sbi=* | --sb=*) 1319 sbindir=$ac_optarg ;; 1320 1321 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1322 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1323 | --sharedst | --shareds | --shared | --share | --shar \ 1324 | --sha | --sh) 1325 ac_prev=sharedstatedir ;; 1326 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1327 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1328 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1329 | --sha=* | --sh=*) 1330 sharedstatedir=$ac_optarg ;; 1331 1332 -site | --site | --sit) 1333 ac_prev=site ;; 1334 -site=* | --site=* | --sit=*) 1335 site=$ac_optarg ;; 1336 1337 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1338 ac_prev=srcdir ;; 1339 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1340 srcdir=$ac_optarg ;; 1341 1342 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1343 | --syscon | --sysco | --sysc | --sys | --sy) 1344 ac_prev=sysconfdir ;; 1345 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1346 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1347 sysconfdir=$ac_optarg ;; 1348 1349 -target | --target | --targe | --targ | --tar | --ta | --t) 1350 ac_prev=target_alias ;; 1351 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1352 target_alias=$ac_optarg ;; 1353 1354 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1355 verbose=yes ;; 1356 1357 -version | --version | --versio | --versi | --vers | -V) 1358 ac_init_version=: ;; 1359 1360 -with-* | --with-*) 1361 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1362 # Reject names that are not valid shell variable names. 1363 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1364 as_fn_error $? "invalid package name: $ac_useropt" 1365 ac_useropt_orig=$ac_useropt 1366 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1367 case $ac_user_opts in 1368 *" 1369"with_$ac_useropt" 1370"*) ;; 1371 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1372 ac_unrecognized_sep=', ';; 1373 esac 1374 eval with_$ac_useropt=\$ac_optarg ;; 1375 1376 -without-* | --without-*) 1377 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1378 # Reject names that are not valid shell variable names. 1379 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1380 as_fn_error $? "invalid package name: $ac_useropt" 1381 ac_useropt_orig=$ac_useropt 1382 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1383 case $ac_user_opts in 1384 *" 1385"with_$ac_useropt" 1386"*) ;; 1387 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1388 ac_unrecognized_sep=', ';; 1389 esac 1390 eval with_$ac_useropt=no ;; 1391 1392 --x) 1393 # Obsolete; use --with-x. 1394 with_x=yes ;; 1395 1396 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1397 | --x-incl | --x-inc | --x-in | --x-i) 1398 ac_prev=x_includes ;; 1399 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1400 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1401 x_includes=$ac_optarg ;; 1402 1403 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1404 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1405 ac_prev=x_libraries ;; 1406 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1407 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1408 x_libraries=$ac_optarg ;; 1409 1410 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1411Try \`$0 --help' for more information" 1412 ;; 1413 1414 *=*) 1415 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1416 # Reject names that are not valid shell variable names. 1417 case $ac_envvar in #( 1418 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1419 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1420 esac 1421 eval $ac_envvar=\$ac_optarg 1422 export $ac_envvar ;; 1423 1424 *) 1425 # FIXME: should be removed in autoconf 3.0. 1426 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1427 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1428 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1429 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1430 ;; 1431 1432 esac 1433done 1434 1435if test -n "$ac_prev"; then 1436 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1437 as_fn_error $? "missing argument to $ac_option" 1438fi 1439 1440if test -n "$ac_unrecognized_opts"; then 1441 case $enable_option_checking in 1442 no) ;; 1443 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1444 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1445 esac 1446fi 1447 1448# Check all directory arguments for consistency. 1449for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1450 datadir sysconfdir sharedstatedir localstatedir includedir \ 1451 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1452 libdir localedir mandir 1453do 1454 eval ac_val=\$$ac_var 1455 # Remove trailing slashes. 1456 case $ac_val in 1457 */ ) 1458 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1459 eval $ac_var=\$ac_val;; 1460 esac 1461 # Be sure to have absolute directory names. 1462 case $ac_val in 1463 [\\/$]* | ?:[\\/]* ) continue;; 1464 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1465 esac 1466 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1467done 1468 1469# There might be people who depend on the old broken behavior: `$host' 1470# used to hold the argument of --host etc. 1471# FIXME: To remove some day. 1472build=$build_alias 1473host=$host_alias 1474target=$target_alias 1475 1476# FIXME: To remove some day. 1477if test "x$host_alias" != x; then 1478 if test "x$build_alias" = x; then 1479 cross_compiling=maybe 1480 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1481 If a cross compiler is detected then cross compile mode will be used" >&2 1482 elif test "x$build_alias" != "x$host_alias"; then 1483 cross_compiling=yes 1484 fi 1485fi 1486 1487ac_tool_prefix= 1488test -n "$host_alias" && ac_tool_prefix=$host_alias- 1489 1490test "$silent" = yes && exec 6>/dev/null 1491 1492 1493ac_pwd=`pwd` && test -n "$ac_pwd" && 1494ac_ls_di=`ls -di .` && 1495ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1496 as_fn_error $? "working directory cannot be determined" 1497test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1498 as_fn_error $? "pwd does not report name of working directory" 1499 1500 1501# Find the source files, if location was not specified. 1502if test -z "$srcdir"; then 1503 ac_srcdir_defaulted=yes 1504 # Try the directory containing this script, then the parent directory. 1505 ac_confdir=`$as_dirname -- "$as_myself" || 1506$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1507 X"$as_myself" : 'X\(//\)[^/]' \| \ 1508 X"$as_myself" : 'X\(//\)$' \| \ 1509 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1510$as_echo X"$as_myself" | 1511 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1512 s//\1/ 1513 q 1514 } 1515 /^X\(\/\/\)[^/].*/{ 1516 s//\1/ 1517 q 1518 } 1519 /^X\(\/\/\)$/{ 1520 s//\1/ 1521 q 1522 } 1523 /^X\(\/\).*/{ 1524 s//\1/ 1525 q 1526 } 1527 s/.*/./; q'` 1528 srcdir=$ac_confdir 1529 if test ! -r "$srcdir/$ac_unique_file"; then 1530 srcdir=.. 1531 fi 1532else 1533 ac_srcdir_defaulted=no 1534fi 1535if test ! -r "$srcdir/$ac_unique_file"; then 1536 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1537 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1538fi 1539ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1540ac_abs_confdir=`( 1541 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1542 pwd)` 1543# When building in place, set srcdir=. 1544if test "$ac_abs_confdir" = "$ac_pwd"; then 1545 srcdir=. 1546fi 1547# Remove unnecessary trailing slashes from srcdir. 1548# Double slashes in file names in object file debugging info 1549# mess up M-x gdb in Emacs. 1550case $srcdir in 1551*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1552esac 1553for ac_var in $ac_precious_vars; do 1554 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1555 eval ac_env_${ac_var}_value=\$${ac_var} 1556 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1557 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1558done 1559 1560# 1561# Report the --help message. 1562# 1563if test "$ac_init_help" = "long"; then 1564 # Omit some internal or obsolete options to make the list less imposing. 1565 # This message is too long to be a string in the A/UX 3.1 sh. 1566 cat <<_ACEOF 1567\`configure' configures pylgtk 2.24.0 to adapt to many kinds of systems. 1568 1569Usage: $0 [OPTION]... [VAR=VALUE]... 1570 1571To assign environment variables (e.g., CC, CFLAGS...), specify them as 1572VAR=VALUE. See below for descriptions of some of the useful variables. 1573 1574Defaults for the options are specified in brackets. 1575 1576Configuration: 1577 -h, --help display this help and exit 1578 --help=short display options specific to this package 1579 --help=recursive display the short help of all the included packages 1580 -V, --version display version information and exit 1581 -q, --quiet, --silent do not print \`checking ...' messages 1582 --cache-file=FILE cache test results in FILE [disabled] 1583 -C, --config-cache alias for \`--cache-file=config.cache' 1584 -n, --no-create do not create output files 1585 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1586 1587Installation directories: 1588 --prefix=PREFIX install architecture-independent files in PREFIX 1589 [$ac_default_prefix] 1590 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1591 [PREFIX] 1592 1593By default, \`make install' will install all the files in 1594\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1595an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1596for instance \`--prefix=\$HOME'. 1597 1598For better control, use the options below. 1599 1600Fine tuning of the installation directories: 1601 --bindir=DIR user executables [EPREFIX/bin] 1602 --sbindir=DIR system admin executables [EPREFIX/sbin] 1603 --libexecdir=DIR program executables [EPREFIX/libexec] 1604 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1605 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1606 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1607 --libdir=DIR object code libraries [EPREFIX/lib] 1608 --includedir=DIR C header files [PREFIX/include] 1609 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1610 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1611 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1612 --infodir=DIR info documentation [DATAROOTDIR/info] 1613 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1614 --mandir=DIR man documentation [DATAROOTDIR/man] 1615 --docdir=DIR documentation root [DATAROOTDIR/doc/pylgtk] 1616 --htmldir=DIR html documentation [DOCDIR] 1617 --dvidir=DIR dvi documentation [DOCDIR] 1618 --pdfdir=DIR pdf documentation [DOCDIR] 1619 --psdir=DIR ps documentation [DOCDIR] 1620_ACEOF 1621 1622 cat <<\_ACEOF 1623 1624Program names: 1625 --program-prefix=PREFIX prepend PREFIX to installed program names 1626 --program-suffix=SUFFIX append SUFFIX to installed program names 1627 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1628 1629System types: 1630 --build=BUILD configure for building on BUILD [guessed] 1631 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1632_ACEOF 1633fi 1634 1635if test -n "$ac_init_help"; then 1636 case $ac_init_help in 1637 short | recursive ) echo "Configuration of pylgtk 2.24.0:";; 1638 esac 1639 cat <<\_ACEOF 1640 1641Optional Features: 1642 --disable-option-checking ignore unrecognized --enable/--with options 1643 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1644 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1645 --disable-dependency-tracking speeds up one-time build 1646 --enable-dependency-tracking do not reject slow dependency extractors 1647 --enable-static[=PKGS] build static libraries [default=no] 1648 --enable-shared[=PKGS] build shared libraries [default=yes] 1649 --enable-fast-install[=PKGS] 1650 optimize for fast installation [default=yes] 1651 --disable-libtool-lock avoid locking (might break parallel builds) 1652 --disable-thread Disable pylgtk threading support 1653 --enable-docs Enable documentation building 1654 --disable-glibtest do not try to compile and run a test GLIB program 1655 --disable-numpy Disable numeric python features 1656 1657Optional Packages: 1658 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1659 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1660 --with-pic try to use only PIC/non-PIC objects [default=use 1661 both] 1662 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1663 --without-glade Build without glade library (default: test) 1664 1665Some influential environment variables: 1666 CC C compiler command 1667 CFLAGS C compiler flags 1668 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1669 nonstandard directory <lib dir> 1670 LIBS libraries to pass to the linker, e.g. -l<library> 1671 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1672 you have headers in a nonstandard directory <include dir> 1673 CPP C preprocessor 1674 PKG_CONFIG path to pkg-config utility 1675 PKG_CONFIG_PATH 1676 directories to add to pkg-config's search path 1677 PKG_CONFIG_LIBDIR 1678 path overriding pkg-config's built-in search path 1679 PYGOBJECT_CFLAGS 1680 C compiler flags for PYGOBJECT, overriding pkg-config 1681 PYGOBJECT_LIBS 1682 linker flags for PYGOBJECT, overriding pkg-config 1683 ATK_CFLAGS C compiler flags for ATK, overriding pkg-config 1684 ATK_LIBS linker flags for ATK, overriding pkg-config 1685 PANGO_CFLAGS 1686 C compiler flags for PANGO, overriding pkg-config 1687 PANGO_LIBS linker flags for PANGO, overriding pkg-config 1688 PYCAIRO_CFLAGS 1689 C compiler flags for PYCAIRO, overriding pkg-config 1690 PYCAIRO_LIBS 1691 linker flags for PYCAIRO, overriding pkg-config 1692 PANGOCAIRO_CFLAGS 1693 C compiler flags for PANGOCAIRO, overriding pkg-config 1694 PANGOCAIRO_LIBS 1695 linker flags for PANGOCAIRO, overriding pkg-config 1696 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config 1697 GTK_LIBS linker flags for GTK, overriding pkg-config 1698 GTK210_CFLAGS 1699 C compiler flags for GTK210, overriding pkg-config 1700 GTK210_LIBS linker flags for GTK210, overriding pkg-config 1701 GTK212_CFLAGS 1702 C compiler flags for GTK212, overriding pkg-config 1703 GTK212_LIBS linker flags for GTK212, overriding pkg-config 1704 GTK214_CFLAGS 1705 C compiler flags for GTK214, overriding pkg-config 1706 GTK214_LIBS linker flags for GTK214, overriding pkg-config 1707 GTK216_CFLAGS 1708 C compiler flags for GTK216, overriding pkg-config 1709 GTK216_LIBS linker flags for GTK216, overriding pkg-config 1710 GTK218_CFLAGS 1711 C compiler flags for GTK218, overriding pkg-config 1712 GTK218_LIBS linker flags for GTK218, overriding pkg-config 1713 GTK220_CFLAGS 1714 C compiler flags for GTK220, overriding pkg-config 1715 GTK220_LIBS linker flags for GTK220, overriding pkg-config 1716 GTK222_CFLAGS 1717 C compiler flags for GTK222, overriding pkg-config 1718 GTK222_LIBS linker flags for GTK222, overriding pkg-config 1719 GTK224_CFLAGS 1720 C compiler flags for GTK224, overriding pkg-config 1721 GTK224_LIBS linker flags for GTK224, overriding pkg-config 1722 LIBGLADE_CFLAGS 1723 C compiler flags for LIBGLADE, overriding pkg-config 1724 LIBGLADE_LIBS 1725 linker flags for LIBGLADE, overriding pkg-config 1726 GTKUNIXPRINT_CFLAGS 1727 C compiler flags for GTKUNIXPRINT, overriding pkg-config 1728 GTKUNIXPRINT_LIBS 1729 linker flags for GTKUNIXPRINT, overriding pkg-config 1730 1731Use these variables to override the choices made by `configure' or to help 1732it to find libraries and programs with nonstandard names/locations. 1733 1734Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=pylgtk>. 1735_ACEOF 1736ac_status=$? 1737fi 1738 1739if test "$ac_init_help" = "recursive"; then 1740 # If there are subdirs, report their specific --help. 1741 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1742 test -d "$ac_dir" || 1743 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1744 continue 1745 ac_builddir=. 1746 1747case "$ac_dir" in 1748.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1749*) 1750 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1751 # A ".." for each directory in $ac_dir_suffix. 1752 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1753 case $ac_top_builddir_sub in 1754 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1755 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1756 esac ;; 1757esac 1758ac_abs_top_builddir=$ac_pwd 1759ac_abs_builddir=$ac_pwd$ac_dir_suffix 1760# for backward compatibility: 1761ac_top_builddir=$ac_top_build_prefix 1762 1763case $srcdir in 1764 .) # We are building in place. 1765 ac_srcdir=. 1766 ac_top_srcdir=$ac_top_builddir_sub 1767 ac_abs_top_srcdir=$ac_pwd ;; 1768 [\\/]* | ?:[\\/]* ) # Absolute name. 1769 ac_srcdir=$srcdir$ac_dir_suffix; 1770 ac_top_srcdir=$srcdir 1771 ac_abs_top_srcdir=$srcdir ;; 1772 *) # Relative name. 1773 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1774 ac_top_srcdir=$ac_top_build_prefix$srcdir 1775 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1776esac 1777ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1778 1779 cd "$ac_dir" || { ac_status=$?; continue; } 1780 # Check for guested configure. 1781 if test -f "$ac_srcdir/configure.gnu"; then 1782 echo && 1783 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1784 elif test -f "$ac_srcdir/configure"; then 1785 echo && 1786 $SHELL "$ac_srcdir/configure" --help=recursive 1787 else 1788 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1789 fi || ac_status=$? 1790 cd "$ac_pwd" || { ac_status=$?; break; } 1791 done 1792fi 1793 1794test -n "$ac_init_help" && exit $ac_status 1795if $ac_init_version; then 1796 cat <<\_ACEOF 1797pylgtk configure 2.24.0 1798generated by GNU Autoconf 2.67 1799 1800Copyright (C) 2010 Free Software Foundation, Inc. 1801This configure script is free software; the Free Software Foundation 1802gives unlimited permission to copy, distribute and modify it. 1803_ACEOF 1804 exit 1805fi 1806 1807## ------------------------ ## 1808## Autoconf initialization. ## 1809## ------------------------ ## 1810 1811# ac_fn_c_try_compile LINENO 1812# -------------------------- 1813# Try to compile conftest.$ac_ext, and return whether this succeeded. 1814ac_fn_c_try_compile () 1815{ 1816 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1817 rm -f conftest.$ac_objext 1818 if { { ac_try="$ac_compile" 1819case "(($ac_try" in 1820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1821 *) ac_try_echo=$ac_try;; 1822esac 1823eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1824$as_echo "$ac_try_echo"; } >&5 1825 (eval "$ac_compile") 2>conftest.err 1826 ac_status=$? 1827 if test -s conftest.err; then 1828 grep -v '^ *+' conftest.err >conftest.er1 1829 cat conftest.er1 >&5 1830 mv -f conftest.er1 conftest.err 1831 fi 1832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1833 test $ac_status = 0; } && { 1834 test -z "$ac_c_werror_flag" || 1835 test ! -s conftest.err 1836 } && test -s conftest.$ac_objext; then : 1837 ac_retval=0 1838else 1839 $as_echo "$as_me: failed program was:" >&5 1840sed 's/^/| /' conftest.$ac_ext >&5 1841 1842 ac_retval=1 1843fi 1844 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1845 as_fn_set_status $ac_retval 1846 1847} # ac_fn_c_try_compile 1848 1849# ac_fn_c_try_link LINENO 1850# ----------------------- 1851# Try to link conftest.$ac_ext, and return whether this succeeded. 1852ac_fn_c_try_link () 1853{ 1854 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1855 rm -f conftest.$ac_objext conftest$ac_exeext 1856 if { { ac_try="$ac_link" 1857case "(($ac_try" in 1858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1859 *) ac_try_echo=$ac_try;; 1860esac 1861eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1862$as_echo "$ac_try_echo"; } >&5 1863 (eval "$ac_link") 2>conftest.err 1864 ac_status=$? 1865 if test -s conftest.err; then 1866 grep -v '^ *+' conftest.err >conftest.er1 1867 cat conftest.er1 >&5 1868 mv -f conftest.er1 conftest.err 1869 fi 1870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1871 test $ac_status = 0; } && { 1872 test -z "$ac_c_werror_flag" || 1873 test ! -s conftest.err 1874 } && test -s conftest$ac_exeext && { 1875 test "$cross_compiling" = yes || 1876 $as_test_x conftest$ac_exeext 1877 }; then : 1878 ac_retval=0 1879else 1880 $as_echo "$as_me: failed program was:" >&5 1881sed 's/^/| /' conftest.$ac_ext >&5 1882 1883 ac_retval=1 1884fi 1885 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1886 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1887 # interfere with the next link command; also delete a directory that is 1888 # left behind by Apple's compiler. We do this before executing the actions. 1889 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1890 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1891 as_fn_set_status $ac_retval 1892 1893} # ac_fn_c_try_link 1894 1895# ac_fn_c_check_func LINENO FUNC VAR 1896# ---------------------------------- 1897# Tests whether FUNC exists, setting the cache variable VAR accordingly 1898ac_fn_c_check_func () 1899{ 1900 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1902$as_echo_n "checking for $2... " >&6; } 1903if eval "test \"\${$3+set}\"" = set; then : 1904 $as_echo_n "(cached) " >&6 1905else 1906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1907/* end confdefs.h. */ 1908/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1909 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1910#define $2 innocuous_$2 1911 1912/* System header to define __stub macros and hopefully few prototypes, 1913 which can conflict with char $2 (); below. 1914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1915 <limits.h> exists even on freestanding compilers. */ 1916 1917#ifdef __STDC__ 1918# include <limits.h> 1919#else 1920# include <assert.h> 1921#endif 1922 1923#undef $2 1924 1925/* Override any GCC internal prototype to avoid an error. 1926 Use char because int might match the return type of a GCC 1927 builtin and then its argument prototype would still apply. */ 1928#ifdef __cplusplus 1929extern "C" 1930#endif 1931char $2 (); 1932/* The GNU C library defines this for functions which it implements 1933 to always fail with ENOSYS. Some functions are actually named 1934 something starting with __ and the normal name is an alias. */ 1935#if defined __stub_$2 || defined __stub___$2 1936choke me 1937#endif 1938 1939int 1940main () 1941{ 1942return $2 (); 1943 ; 1944 return 0; 1945} 1946_ACEOF 1947if ac_fn_c_try_link "$LINENO"; then : 1948 eval "$3=yes" 1949else 1950 eval "$3=no" 1951fi 1952rm -f core conftest.err conftest.$ac_objext \ 1953 conftest$ac_exeext conftest.$ac_ext 1954fi 1955eval ac_res=\$$3 1956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1957$as_echo "$ac_res" >&6; } 1958 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1959 1960} # ac_fn_c_check_func 1961 1962# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1963# ------------------------------------------------------- 1964# Tests whether HEADER exists and can be compiled using the include files in 1965# INCLUDES, setting the cache variable VAR accordingly. 1966ac_fn_c_check_header_compile () 1967{ 1968 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1970$as_echo_n "checking for $2... " >&6; } 1971if eval "test \"\${$3+set}\"" = set; then : 1972 $as_echo_n "(cached) " >&6 1973else 1974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1975/* end confdefs.h. */ 1976$4 1977#include <$2> 1978_ACEOF 1979if ac_fn_c_try_compile "$LINENO"; then : 1980 eval "$3=yes" 1981else 1982 eval "$3=no" 1983fi 1984rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1985fi 1986eval ac_res=\$$3 1987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1988$as_echo "$ac_res" >&6; } 1989 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1990 1991} # ac_fn_c_check_header_compile 1992 1993# ac_fn_c_try_cpp LINENO 1994# ---------------------- 1995# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1996ac_fn_c_try_cpp () 1997{ 1998 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1999 if { { ac_try="$ac_cpp conftest.$ac_ext" 2000case "(($ac_try" in 2001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2002 *) ac_try_echo=$ac_try;; 2003esac 2004eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2005$as_echo "$ac_try_echo"; } >&5 2006 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2007 ac_status=$? 2008 if test -s conftest.err; then 2009 grep -v '^ *+' conftest.err >conftest.er1 2010 cat conftest.er1 >&5 2011 mv -f conftest.er1 conftest.err 2012 fi 2013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2014 test $ac_status = 0; } > conftest.i && { 2015 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2016 test ! -s conftest.err 2017 }; then : 2018 ac_retval=0 2019else 2020 $as_echo "$as_me: failed program was:" >&5 2021sed 's/^/| /' conftest.$ac_ext >&5 2022 2023 ac_retval=1 2024fi 2025 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2026 as_fn_set_status $ac_retval 2027 2028} # ac_fn_c_try_cpp 2029 2030# ac_fn_c_try_run LINENO 2031# ---------------------- 2032# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2033# that executables *can* be run. 2034ac_fn_c_try_run () 2035{ 2036 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2037 if { { ac_try="$ac_link" 2038case "(($ac_try" in 2039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2040 *) ac_try_echo=$ac_try;; 2041esac 2042eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2043$as_echo "$ac_try_echo"; } >&5 2044 (eval "$ac_link") 2>&5 2045 ac_status=$? 2046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2047 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2048 { { case "(($ac_try" in 2049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2050 *) ac_try_echo=$ac_try;; 2051esac 2052eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2053$as_echo "$ac_try_echo"; } >&5 2054 (eval "$ac_try") 2>&5 2055 ac_status=$? 2056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2057 test $ac_status = 0; }; }; then : 2058 ac_retval=0 2059else 2060 $as_echo "$as_me: program exited with status $ac_status" >&5 2061 $as_echo "$as_me: failed program was:" >&5 2062sed 's/^/| /' conftest.$ac_ext >&5 2063 2064 ac_retval=$ac_status 2065fi 2066 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2067 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2068 as_fn_set_status $ac_retval 2069 2070} # ac_fn_c_try_run 2071cat >config.log <<_ACEOF 2072This file contains any messages produced by compilers while 2073running configure, to aid debugging if configure makes a mistake. 2074 2075It was created by pylgtk $as_me 2.24.0, which was 2076generated by GNU Autoconf 2.67. Invocation command line was 2077 2078 $ $0 $@ 2079 2080_ACEOF 2081exec 5>>config.log 2082{ 2083cat <<_ASUNAME 2084## --------- ## 2085## Platform. ## 2086## --------- ## 2087 2088hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2089uname -m = `(uname -m) 2>/dev/null || echo unknown` 2090uname -r = `(uname -r) 2>/dev/null || echo unknown` 2091uname -s = `(uname -s) 2>/dev/null || echo unknown` 2092uname -v = `(uname -v) 2>/dev/null || echo unknown` 2093 2094/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2095/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2096 2097/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2098/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2099/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2100/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2101/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2102/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2103/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2104 2105_ASUNAME 2106 2107as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2108for as_dir in $PATH 2109do 2110 IFS=$as_save_IFS 2111 test -z "$as_dir" && as_dir=. 2112 $as_echo "PATH: $as_dir" 2113 done 2114IFS=$as_save_IFS 2115 2116} >&5 2117 2118cat >&5 <<_ACEOF 2119 2120 2121## ----------- ## 2122## Core tests. ## 2123## ----------- ## 2124 2125_ACEOF 2126 2127 2128# Keep a trace of the command line. 2129# Strip out --no-create and --no-recursion so they do not pile up. 2130# Strip out --silent because we don't want to record it for future runs. 2131# Also quote any args containing shell meta-characters. 2132# Make two passes to allow for proper duplicate-argument suppression. 2133ac_configure_args= 2134ac_configure_args0= 2135ac_configure_args1= 2136ac_must_keep_next=false 2137for ac_pass in 1 2 2138do 2139 for ac_arg 2140 do 2141 case $ac_arg in 2142 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2143 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2144 | -silent | --silent | --silen | --sile | --sil) 2145 continue ;; 2146 *\'*) 2147 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2148 esac 2149 case $ac_pass in 2150 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2151 2) 2152 as_fn_append ac_configure_args1 " '$ac_arg'" 2153 if test $ac_must_keep_next = true; then 2154 ac_must_keep_next=false # Got value, back to normal. 2155 else 2156 case $ac_arg in 2157 *=* | --config-cache | -C | -disable-* | --disable-* \ 2158 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2159 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2160 | -with-* | --with-* | -without-* | --without-* | --x) 2161 case "$ac_configure_args0 " in 2162 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2163 esac 2164 ;; 2165 -* ) ac_must_keep_next=true ;; 2166 esac 2167 fi 2168 as_fn_append ac_configure_args " '$ac_arg'" 2169 ;; 2170 esac 2171 done 2172done 2173{ ac_configure_args0=; unset ac_configure_args0;} 2174{ ac_configure_args1=; unset ac_configure_args1;} 2175 2176# When interrupted or exit'd, cleanup temporary files, and complete 2177# config.log. We remove comments because anyway the quotes in there 2178# would cause problems or look ugly. 2179# WARNING: Use '\'' to represent an apostrophe within the trap. 2180# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2181trap 'exit_status=$? 2182 # Save into config.log some information that might help in debugging. 2183 { 2184 echo 2185 2186 $as_echo "## ---------------- ## 2187## Cache variables. ## 2188## ---------------- ##" 2189 echo 2190 # The following way of writing the cache mishandles newlines in values, 2191( 2192 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2193 eval ac_val=\$$ac_var 2194 case $ac_val in #( 2195 *${as_nl}*) 2196 case $ac_var in #( 2197 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2198$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2199 esac 2200 case $ac_var in #( 2201 _ | IFS | as_nl) ;; #( 2202 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2203 *) { eval $ac_var=; unset $ac_var;} ;; 2204 esac ;; 2205 esac 2206 done 2207 (set) 2>&1 | 2208 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2209 *${as_nl}ac_space=\ *) 2210 sed -n \ 2211 "s/'\''/'\''\\\\'\'''\''/g; 2212 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2213 ;; #( 2214 *) 2215 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2216 ;; 2217 esac | 2218 sort 2219) 2220 echo 2221 2222 $as_echo "## ----------------- ## 2223## Output variables. ## 2224## ----------------- ##" 2225 echo 2226 for ac_var in $ac_subst_vars 2227 do 2228 eval ac_val=\$$ac_var 2229 case $ac_val in 2230 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2231 esac 2232 $as_echo "$ac_var='\''$ac_val'\''" 2233 done | sort 2234 echo 2235 2236 if test -n "$ac_subst_files"; then 2237 $as_echo "## ------------------- ## 2238## File substitutions. ## 2239## ------------------- ##" 2240 echo 2241 for ac_var in $ac_subst_files 2242 do 2243 eval ac_val=\$$ac_var 2244 case $ac_val in 2245 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2246 esac 2247 $as_echo "$ac_var='\''$ac_val'\''" 2248 done | sort 2249 echo 2250 fi 2251 2252 if test -s confdefs.h; then 2253 $as_echo "## ----------- ## 2254## confdefs.h. ## 2255## ----------- ##" 2256 echo 2257 cat confdefs.h 2258 echo 2259 fi 2260 test "$ac_signal" != 0 && 2261 $as_echo "$as_me: caught signal $ac_signal" 2262 $as_echo "$as_me: exit $exit_status" 2263 } >&5 2264 rm -f core *.core core.conftest.* && 2265 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2266 exit $exit_status 2267' 0 2268for ac_signal in 1 2 13 15; do 2269 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2270done 2271ac_signal=0 2272 2273# confdefs.h avoids OS command line length limits that DEFS can exceed. 2274rm -f -r conftest* confdefs.h 2275 2276$as_echo "/* confdefs.h */" > confdefs.h 2277 2278# Predefined preprocessor variables. 2279 2280cat >>confdefs.h <<_ACEOF 2281#define PACKAGE_NAME "$PACKAGE_NAME" 2282_ACEOF 2283 2284cat >>confdefs.h <<_ACEOF 2285#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2286_ACEOF 2287 2288cat >>confdefs.h <<_ACEOF 2289#define PACKAGE_VERSION "$PACKAGE_VERSION" 2290_ACEOF 2291 2292cat >>confdefs.h <<_ACEOF 2293#define PACKAGE_STRING "$PACKAGE_STRING" 2294_ACEOF 2295 2296cat >>confdefs.h <<_ACEOF 2297#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2298_ACEOF 2299 2300cat >>confdefs.h <<_ACEOF 2301#define PACKAGE_URL "$PACKAGE_URL" 2302_ACEOF 2303 2304 2305# Let the site file select an alternate cache file if it wants to. 2306# Prefer an explicitly selected file to automatically selected ones. 2307ac_site_file1=NONE 2308ac_site_file2=NONE 2309if test -n "$CONFIG_SITE"; then 2310 # We do not want a PATH search for config.site. 2311 case $CONFIG_SITE in #(( 2312 -*) ac_site_file1=./$CONFIG_SITE;; 2313 */*) ac_site_file1=$CONFIG_SITE;; 2314 *) ac_site_file1=./$CONFIG_SITE;; 2315 esac 2316elif test "x$prefix" != xNONE; then 2317 ac_site_file1=$prefix/share/config.site 2318 ac_site_file2=$prefix/etc/config.site 2319else 2320 ac_site_file1=$ac_default_prefix/share/config.site 2321 ac_site_file2=$ac_default_prefix/etc/config.site 2322fi 2323for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2324do 2325 test "x$ac_site_file" = xNONE && continue 2326 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2327 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2328$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2329 sed 's/^/| /' "$ac_site_file" >&5 2330 . "$ac_site_file" \ 2331 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2332$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2333as_fn_error $? "failed to load site script $ac_site_file 2334See \`config.log' for more details" "$LINENO" 5 ; } 2335 fi 2336done 2337 2338if test -r "$cache_file"; then 2339 # Some versions of bash will fail to source /dev/null (special files 2340 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2341 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2342 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2343$as_echo "$as_me: loading cache $cache_file" >&6;} 2344 case $cache_file in 2345 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2346 *) . "./$cache_file";; 2347 esac 2348 fi 2349else 2350 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2351$as_echo "$as_me: creating cache $cache_file" >&6;} 2352 >$cache_file 2353fi 2354 2355# Check that the precious variables saved in the cache have kept the same 2356# value. 2357ac_cache_corrupted=false 2358for ac_var in $ac_precious_vars; do 2359 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2360 eval ac_new_set=\$ac_env_${ac_var}_set 2361 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2362 eval ac_new_val=\$ac_env_${ac_var}_value 2363 case $ac_old_set,$ac_new_set in 2364 set,) 2365 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2366$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2367 ac_cache_corrupted=: ;; 2368 ,set) 2369 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2370$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2371 ac_cache_corrupted=: ;; 2372 ,);; 2373 *) 2374 if test "x$ac_old_val" != "x$ac_new_val"; then 2375 # differences in whitespace do not lead to failure. 2376 ac_old_val_w=`echo x $ac_old_val` 2377 ac_new_val_w=`echo x $ac_new_val` 2378 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2379 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2380$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2381 ac_cache_corrupted=: 2382 else 2383 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2384$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2385 eval $ac_var=\$ac_old_val 2386 fi 2387 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2388$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2389 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2390$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2391 fi;; 2392 esac 2393 # Pass precious variables to config.status. 2394 if test "$ac_new_set" = set; then 2395 case $ac_new_val in 2396 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2397 *) ac_arg=$ac_var=$ac_new_val ;; 2398 esac 2399 case " $ac_configure_args " in 2400 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2401 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2402 esac 2403 fi 2404done 2405if $ac_cache_corrupted; then 2406 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2407$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2408 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2409$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2410 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2411fi 2412## -------------------- ## 2413## Main body of script. ## 2414## -------------------- ## 2415 2416ac_ext=c 2417ac_cpp='$CPP $CPPFLAGS' 2418ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2419ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2420ac_compiler_gnu=$ac_cv_c_compiler_gnu 2421 2422 2423ACLOCAL_AMFLAGS="-I m4 -I ." 2424 2425 2426 2427$as_echo "#define PYGTK_MAJOR_VERSION 2" >>confdefs.h 2428 2429PYGTK_MAJOR_VERSION=2 2430 2431 2432$as_echo "#define PYGTK_MINOR_VERSION 24" >>confdefs.h 2433 2434PYGTK_MINOR_VERSION=24 2435 2436 2437$as_echo "#define PYGTK_MICRO_VERSION 0" >>confdefs.h 2438 2439PYGTK_MICRO_VERSION=0 2440 2441 2442 2443ac_config_headers="$ac_config_headers config.h" 2444 2445 2446am__api_version='1.11' 2447 2448ac_aux_dir= 2449for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2450 if test -f "$ac_dir/install-sh"; then 2451 ac_aux_dir=$ac_dir 2452 ac_install_sh="$ac_aux_dir/install-sh -c" 2453 break 2454 elif test -f "$ac_dir/install.sh"; then 2455 ac_aux_dir=$ac_dir 2456 ac_install_sh="$ac_aux_dir/install.sh -c" 2457 break 2458 elif test -f "$ac_dir/shtool"; then 2459 ac_aux_dir=$ac_dir 2460 ac_install_sh="$ac_aux_dir/shtool install -c" 2461 break 2462 fi 2463done 2464if test -z "$ac_aux_dir"; then 2465 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2466fi 2467 2468# These three variables are undocumented and unsupported, 2469# and are intended to be withdrawn in a future Autoconf release. 2470# They can cause serious problems if a builder's source tree is in a directory 2471# whose full name contains unusual characters. 2472ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2473ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2474ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2475 2476 2477# Find a good install program. We prefer a C program (faster), 2478# so one script is as good as another. But avoid the broken or 2479# incompatible versions: 2480# SysV /etc/install, /usr/sbin/install 2481# SunOS /usr/etc/install 2482# IRIX /sbin/install 2483# AIX /bin/install 2484# AmigaOS /C/install, which installs bootblocks on floppy discs 2485# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2486# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2487# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2488# OS/2's system install, which has a completely different semantic 2489# ./install, which can be erroneously created by make from ./install.sh. 2490# Reject install programs that cannot install multiple files. 2491{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2492$as_echo_n "checking for a BSD-compatible install... " >&6; } 2493if test -z "$INSTALL"; then 2494if test "${ac_cv_path_install+set}" = set; then : 2495 $as_echo_n "(cached) " >&6 2496else 2497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2498for as_dir in $PATH 2499do 2500 IFS=$as_save_IFS 2501 test -z "$as_dir" && as_dir=. 2502 # Account for people who put trailing slashes in PATH elements. 2503case $as_dir/ in #(( 2504 ./ | .// | /[cC]/* | \ 2505 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2506 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2507 /usr/ucb/* ) ;; 2508 *) 2509 # OSF1 and SCO ODT 3.0 have their own names for install. 2510 # Don't use installbsd from OSF since it installs stuff as root 2511 # by default. 2512 for ac_prog in ginstall scoinst install; do 2513 for ac_exec_ext in '' $ac_executable_extensions; do 2514 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2515 if test $ac_prog = install && 2516 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2517 # AIX install. It has an incompatible calling convention. 2518 : 2519 elif test $ac_prog = install && 2520 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2521 # program-specific install script used by HP pwplus--don't use. 2522 : 2523 else 2524 rm -rf conftest.one conftest.two conftest.dir 2525 echo one > conftest.one 2526 echo two > conftest.two 2527 mkdir conftest.dir 2528 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2529 test -s conftest.one && test -s conftest.two && 2530 test -s conftest.dir/conftest.one && 2531 test -s conftest.dir/conftest.two 2532 then 2533 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2534 break 3 2535 fi 2536 fi 2537 fi 2538 done 2539 done 2540 ;; 2541esac 2542 2543 done 2544IFS=$as_save_IFS 2545 2546rm -rf conftest.one conftest.two conftest.dir 2547 2548fi 2549 if test "${ac_cv_path_install+set}" = set; then 2550 INSTALL=$ac_cv_path_install 2551 else 2552 # As a last resort, use the slow shell script. Don't cache a 2553 # value for INSTALL within a source directory, because that will 2554 # break other packages using the cache if that directory is 2555 # removed, or if the value is a relative name. 2556 INSTALL=$ac_install_sh 2557 fi 2558fi 2559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2560$as_echo "$INSTALL" >&6; } 2561 2562# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2563# It thinks the first close brace ends the variable substitution. 2564test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2565 2566test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2567 2568test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2569 2570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2571$as_echo_n "checking whether build environment is sane... " >&6; } 2572# Just in case 2573sleep 1 2574echo timestamp > conftest.file 2575# Reject unsafe characters in $srcdir or the absolute working directory 2576# name. Accept space and tab only in the latter. 2577am_lf=' 2578' 2579case `pwd` in 2580 *[\\\"\#\$\&\'\`$am_lf]*) 2581 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;; 2582esac 2583case $srcdir in 2584 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2585 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;; 2586esac 2587 2588# Do `set' in a subshell so we don't clobber the current shell's 2589# arguments. Must try -L first in case configure is actually a 2590# symlink; some systems play weird games with the mod time of symlinks 2591# (eg FreeBSD returns the mod time of the symlink's containing 2592# directory). 2593if ( 2594 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2595 if test "$*" = "X"; then 2596 # -L didn't work. 2597 set X `ls -t "$srcdir/configure" conftest.file` 2598 fi 2599 rm -f conftest.file 2600 if test "$*" != "X $srcdir/configure conftest.file" \ 2601 && test "$*" != "X conftest.file $srcdir/configure"; then 2602 2603 # If neither matched, then we have a broken ls. This can happen 2604 # if, for instance, CONFIG_SHELL is bash and it inherits a 2605 # broken ls alias from the environment. This has actually 2606 # happened. Such a system could not be considered "sane". 2607 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2608alias in your environment" "$LINENO" 5 2609 fi 2610 2611 test "$2" = conftest.file 2612 ) 2613then 2614 # Ok. 2615 : 2616else 2617 as_fn_error $? "newly created file is older than distributed files! 2618Check your system clock" "$LINENO" 5 2619fi 2620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2621$as_echo "yes" >&6; } 2622test "$program_prefix" != NONE && 2623 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2624# Use a double $ so make ignores it. 2625test "$program_suffix" != NONE && 2626 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2627# Double any \ or $. 2628# By default was `s,x,x', remove it if useless. 2629ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2630program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2631 2632# expand $ac_aux_dir to an absolute path 2633am_aux_dir=`cd $ac_aux_dir && pwd` 2634 2635if test x"${MISSING+set}" != xset; then 2636 case $am_aux_dir in 2637 *\ * | *\ *) 2638 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2639 *) 2640 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2641 esac 2642fi 2643# Use eval to expand $SHELL 2644if eval "$MISSING --run true"; then 2645 am_missing_run="$MISSING --run " 2646else 2647 am_missing_run= 2648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2649$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2650fi 2651 2652if test x"${install_sh}" != xset; then 2653 case $am_aux_dir in 2654 *\ * | *\ *) 2655 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2656 *) 2657 install_sh="\${SHELL} $am_aux_dir/install-sh" 2658 esac 2659fi 2660 2661# Installed binaries are usually stripped using `strip' when the user 2662# run `make install-strip'. However `strip' might not be the right 2663# tool to use in cross-compilation environments, therefore Automake 2664# will honor the `STRIP' environment variable to overrule this program. 2665if test "$cross_compiling" != no; then 2666 if test -n "$ac_tool_prefix"; then 2667 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2668set dummy ${ac_tool_prefix}strip; ac_word=$2 2669{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2670$as_echo_n "checking for $ac_word... " >&6; } 2671if test "${ac_cv_prog_STRIP+set}" = set; then : 2672 $as_echo_n "(cached) " >&6 2673else 2674 if test -n "$STRIP"; then 2675 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2676else 2677as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2678for as_dir in $PATH 2679do 2680 IFS=$as_save_IFS 2681 test -z "$as_dir" && as_dir=. 2682 for ac_exec_ext in '' $ac_executable_extensions; do 2683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2684 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2686 break 2 2687 fi 2688done 2689 done 2690IFS=$as_save_IFS 2691 2692fi 2693fi 2694STRIP=$ac_cv_prog_STRIP 2695if test -n "$STRIP"; then 2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2697$as_echo "$STRIP" >&6; } 2698else 2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2700$as_echo "no" >&6; } 2701fi 2702 2703 2704fi 2705if test -z "$ac_cv_prog_STRIP"; then 2706 ac_ct_STRIP=$STRIP 2707 # Extract the first word of "strip", so it can be a program name with args. 2708set dummy strip; ac_word=$2 2709{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2710$as_echo_n "checking for $ac_word... " >&6; } 2711if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 2712 $as_echo_n "(cached) " >&6 2713else 2714 if test -n "$ac_ct_STRIP"; then 2715 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2716else 2717as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2718for as_dir in $PATH 2719do 2720 IFS=$as_save_IFS 2721 test -z "$as_dir" && as_dir=. 2722 for ac_exec_ext in '' $ac_executable_extensions; do 2723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2724 ac_cv_prog_ac_ct_STRIP="strip" 2725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2726 break 2 2727 fi 2728done 2729 done 2730IFS=$as_save_IFS 2731 2732fi 2733fi 2734ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2735if test -n "$ac_ct_STRIP"; then 2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2737$as_echo "$ac_ct_STRIP" >&6; } 2738else 2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2740$as_echo "no" >&6; } 2741fi 2742 2743 if test "x$ac_ct_STRIP" = x; then 2744 STRIP=":" 2745 else 2746 case $cross_compiling:$ac_tool_warned in 2747yes:) 2748{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2749$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2750ac_tool_warned=yes ;; 2751esac 2752 STRIP=$ac_ct_STRIP 2753 fi 2754else 2755 STRIP="$ac_cv_prog_STRIP" 2756fi 2757 2758fi 2759INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2760 2761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2762$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2763if test -z "$MKDIR_P"; then 2764 if test "${ac_cv_path_mkdir+set}" = set; then : 2765 $as_echo_n "(cached) " >&6 2766else 2767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2768for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2769do 2770 IFS=$as_save_IFS 2771 test -z "$as_dir" && as_dir=. 2772 for ac_prog in mkdir gmkdir; do 2773 for ac_exec_ext in '' $ac_executable_extensions; do 2774 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2775 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2776 'mkdir (GNU coreutils) '* | \ 2777 'mkdir (coreutils) '* | \ 2778 'mkdir (fileutils) '4.1*) 2779 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2780 break 3;; 2781 esac 2782 done 2783 done 2784 done 2785IFS=$as_save_IFS 2786 2787fi 2788 2789 test -d ./--version && rmdir ./--version 2790 if test "${ac_cv_path_mkdir+set}" = set; then 2791 MKDIR_P="$ac_cv_path_mkdir -p" 2792 else 2793 # As a last resort, use the slow shell script. Don't cache a 2794 # value for MKDIR_P within a source directory, because that will 2795 # break other packages using the cache if that directory is 2796 # removed, or if the value is a relative name. 2797 MKDIR_P="$ac_install_sh -d" 2798 fi 2799fi 2800{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2801$as_echo "$MKDIR_P" >&6; } 2802 2803mkdir_p="$MKDIR_P" 2804case $mkdir_p in 2805 [\\/$]* | ?:[\\/]*) ;; 2806 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2807esac 2808 2809for ac_prog in gawk mawk nawk awk 2810do 2811 # Extract the first word of "$ac_prog", so it can be a program name with args. 2812set dummy $ac_prog; ac_word=$2 2813{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2814$as_echo_n "checking for $ac_word... " >&6; } 2815if test "${ac_cv_prog_AWK+set}" = set; then : 2816 $as_echo_n "(cached) " >&6 2817else 2818 if test -n "$AWK"; then 2819 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2820else 2821as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2822for as_dir in $PATH 2823do 2824 IFS=$as_save_IFS 2825 test -z "$as_dir" && as_dir=. 2826 for ac_exec_ext in '' $ac_executable_extensions; do 2827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2828 ac_cv_prog_AWK="$ac_prog" 2829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2830 break 2 2831 fi 2832done 2833 done 2834IFS=$as_save_IFS 2835 2836fi 2837fi 2838AWK=$ac_cv_prog_AWK 2839if test -n "$AWK"; then 2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2841$as_echo "$AWK" >&6; } 2842else 2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2844$as_echo "no" >&6; } 2845fi 2846 2847 2848 test -n "$AWK" && break 2849done 2850 2851{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2852$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2853set x ${MAKE-make} 2854ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2855if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 2856 $as_echo_n "(cached) " >&6 2857else 2858 cat >conftest.make <<\_ACEOF 2859SHELL = /bin/sh 2860all: 2861 @echo '@@@%%%=$(MAKE)=@@@%%%' 2862_ACEOF 2863# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2864case `${MAKE-make} -f conftest.make 2>/dev/null` in 2865 *@@@%%%=?*=@@@%%%*) 2866 eval ac_cv_prog_make_${ac_make}_set=yes;; 2867 *) 2868 eval ac_cv_prog_make_${ac_make}_set=no;; 2869esac 2870rm -f conftest.make 2871fi 2872if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2874$as_echo "yes" >&6; } 2875 SET_MAKE= 2876else 2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2878$as_echo "no" >&6; } 2879 SET_MAKE="MAKE=${MAKE-make}" 2880fi 2881 2882rm -rf .tst 2>/dev/null 2883mkdir .tst 2>/dev/null 2884if test -d .tst; then 2885 am__leading_dot=. 2886else 2887 am__leading_dot=_ 2888fi 2889rmdir .tst 2>/dev/null 2890 2891if test "`cd $srcdir && pwd`" != "`pwd`"; then 2892 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2893 # is not polluted with repeated "-I." 2894 am__isrc=' -I$(srcdir)' 2895 # test to see if srcdir already configured 2896 if test -f $srcdir/config.status; then 2897 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2898 fi 2899fi 2900 2901# test whether we have cygpath 2902if test -z "$CYGPATH_W"; then 2903 if (cygpath --version) >/dev/null 2>/dev/null; then 2904 CYGPATH_W='cygpath -w' 2905 else 2906 CYGPATH_W=echo 2907 fi 2908fi 2909 2910 2911# Define the identity of the package. 2912 PACKAGE='pylgtk' 2913 VERSION='2.24.0' 2914 2915 2916cat >>confdefs.h <<_ACEOF 2917#define PACKAGE "$PACKAGE" 2918_ACEOF 2919 2920 2921cat >>confdefs.h <<_ACEOF 2922#define VERSION "$VERSION" 2923_ACEOF 2924 2925# Some tools Automake needs. 2926 2927ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2928 2929 2930AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2931 2932 2933AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2934 2935 2936AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2937 2938 2939MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2940 2941# We need awk for the "check" target. The system "awk" is bad on 2942# some platforms. 2943# Always define AMTAR for backward compatibility. 2944 2945AMTAR=${AMTAR-"${am_missing_run}tar"} 2946 2947am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2948 2949 2950 2951 2952 2953DEPDIR="${am__leading_dot}deps" 2954 2955ac_config_commands="$ac_config_commands depfiles" 2956 2957 2958am_make=${MAKE-make} 2959cat > confinc << 'END' 2960am__doit: 2961 @echo this is the am__doit target 2962.PHONY: am__doit 2963END 2964# If we don't find an include directive, just comment out the code. 2965{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 2966$as_echo_n "checking for style of include used by $am_make... " >&6; } 2967am__include="#" 2968am__quote= 2969_am_result=none 2970# First try GNU make style include. 2971echo "include confinc" > confmf 2972# Ignore all kinds of additional output from `make'. 2973case `$am_make -s -f confmf 2> /dev/null` in #( 2974*the\ am__doit\ target*) 2975 am__include=include 2976 am__quote= 2977 _am_result=GNU 2978 ;; 2979esac 2980# Now try BSD make style include. 2981if test "$am__include" = "#"; then 2982 echo '.include "confinc"' > confmf 2983 case `$am_make -s -f confmf 2> /dev/null` in #( 2984 *the\ am__doit\ target*) 2985 am__include=.include 2986 am__quote="\"" 2987 _am_result=BSD 2988 ;; 2989 esac 2990fi 2991 2992 2993{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 2994$as_echo "$_am_result" >&6; } 2995rm -f confinc confmf 2996 2997# Check whether --enable-dependency-tracking was given. 2998if test "${enable_dependency_tracking+set}" = set; then : 2999 enableval=$enable_dependency_tracking; 3000fi 3001 3002if test "x$enable_dependency_tracking" != xno; then 3003 am_depcomp="$ac_aux_dir/depcomp" 3004 AMDEPBACKSLASH='\' 3005fi 3006 if test "x$enable_dependency_tracking" != xno; then 3007 AMDEP_TRUE= 3008 AMDEP_FALSE='#' 3009else 3010 AMDEP_TRUE='#' 3011 AMDEP_FALSE= 3012fi 3013 3014 3015ac_ext=c 3016ac_cpp='$CPP $CPPFLAGS' 3017ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3018ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3019ac_compiler_gnu=$ac_cv_c_compiler_gnu 3020if test -n "$ac_tool_prefix"; then 3021 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3022set dummy ${ac_tool_prefix}gcc; ac_word=$2 3023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3024$as_echo_n "checking for $ac_word... " >&6; } 3025if test "${ac_cv_prog_CC+set}" = set; then : 3026 $as_echo_n "(cached) " >&6 3027else 3028 if test -n "$CC"; then 3029 ac_cv_prog_CC="$CC" # Let the user override the test. 3030else 3031as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3032for as_dir in $PATH 3033do 3034 IFS=$as_save_IFS 3035 test -z "$as_dir" && as_dir=. 3036 for ac_exec_ext in '' $ac_executable_extensions; do 3037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3038 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3040 break 2 3041 fi 3042done 3043 done 3044IFS=$as_save_IFS 3045 3046fi 3047fi 3048CC=$ac_cv_prog_CC 3049if test -n "$CC"; then 3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3051$as_echo "$CC" >&6; } 3052else 3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3054$as_echo "no" >&6; } 3055fi 3056 3057 3058fi 3059if test -z "$ac_cv_prog_CC"; then 3060 ac_ct_CC=$CC 3061 # Extract the first word of "gcc", so it can be a program name with args. 3062set dummy gcc; ac_word=$2 3063{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3064$as_echo_n "checking for $ac_word... " >&6; } 3065if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3066 $as_echo_n "(cached) " >&6 3067else 3068 if test -n "$ac_ct_CC"; then 3069 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3070else 3071as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3072for as_dir in $PATH 3073do 3074 IFS=$as_save_IFS 3075 test -z "$as_dir" && as_dir=. 3076 for ac_exec_ext in '' $ac_executable_extensions; do 3077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3078 ac_cv_prog_ac_ct_CC="gcc" 3079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3080 break 2 3081 fi 3082done 3083 done 3084IFS=$as_save_IFS 3085 3086fi 3087fi 3088ac_ct_CC=$ac_cv_prog_ac_ct_CC 3089if test -n "$ac_ct_CC"; then 3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3091$as_echo "$ac_ct_CC" >&6; } 3092else 3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3094$as_echo "no" >&6; } 3095fi 3096 3097 if test "x$ac_ct_CC" = x; then 3098 CC="" 3099 else 3100 case $cross_compiling:$ac_tool_warned in 3101yes:) 3102{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3103$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3104ac_tool_warned=yes ;; 3105esac 3106 CC=$ac_ct_CC 3107 fi 3108else 3109 CC="$ac_cv_prog_CC" 3110fi 3111 3112if test -z "$CC"; then 3113 if test -n "$ac_tool_prefix"; then 3114 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3115set dummy ${ac_tool_prefix}cc; ac_word=$2 3116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3117$as_echo_n "checking for $ac_word... " >&6; } 3118if test "${ac_cv_prog_CC+set}" = set; then : 3119 $as_echo_n "(cached) " >&6 3120else 3121 if test -n "$CC"; then 3122 ac_cv_prog_CC="$CC" # Let the user override the test. 3123else 3124as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3125for as_dir in $PATH 3126do 3127 IFS=$as_save_IFS 3128 test -z "$as_dir" && as_dir=. 3129 for ac_exec_ext in '' $ac_executable_extensions; do 3130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3131 ac_cv_prog_CC="${ac_tool_prefix}cc" 3132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3133 break 2 3134 fi 3135done 3136 done 3137IFS=$as_save_IFS 3138 3139fi 3140fi 3141CC=$ac_cv_prog_CC 3142if test -n "$CC"; then 3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3144$as_echo "$CC" >&6; } 3145else 3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3147$as_echo "no" >&6; } 3148fi 3149 3150 3151 fi 3152fi 3153if test -z "$CC"; then 3154 # Extract the first word of "cc", so it can be a program name with args. 3155set dummy cc; ac_word=$2 3156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3157$as_echo_n "checking for $ac_word... " >&6; } 3158if test "${ac_cv_prog_CC+set}" = set; then : 3159 $as_echo_n "(cached) " >&6 3160else 3161 if test -n "$CC"; then 3162 ac_cv_prog_CC="$CC" # Let the user override the test. 3163else 3164 ac_prog_rejected=no 3165as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3166for as_dir in $PATH 3167do 3168 IFS=$as_save_IFS 3169 test -z "$as_dir" && as_dir=. 3170 for ac_exec_ext in '' $ac_executable_extensions; do 3171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3172 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3173 ac_prog_rejected=yes 3174 continue 3175 fi 3176 ac_cv_prog_CC="cc" 3177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3178 break 2 3179 fi 3180done 3181 done 3182IFS=$as_save_IFS 3183 3184if test $ac_prog_rejected = yes; then 3185 # We found a bogon in the path, so make sure we never use it. 3186 set dummy $ac_cv_prog_CC 3187 shift 3188 if test $# != 0; then 3189 # We chose a different compiler from the bogus one. 3190 # However, it has the same basename, so the bogon will be chosen 3191 # first if we set CC to just the basename; use the full file name. 3192 shift 3193 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3194 fi 3195fi 3196fi 3197fi 3198CC=$ac_cv_prog_CC 3199if test -n "$CC"; then 3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3201$as_echo "$CC" >&6; } 3202else 3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3204$as_echo "no" >&6; } 3205fi 3206 3207 3208fi 3209if test -z "$CC"; then 3210 if test -n "$ac_tool_prefix"; then 3211 for ac_prog in cl.exe 3212 do 3213 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3214set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3216$as_echo_n "checking for $ac_word... " >&6; } 3217if test "${ac_cv_prog_CC+set}" = set; then : 3218 $as_echo_n "(cached) " >&6 3219else 3220 if test -n "$CC"; then 3221 ac_cv_prog_CC="$CC" # Let the user override the test. 3222else 3223as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3224for as_dir in $PATH 3225do 3226 IFS=$as_save_IFS 3227 test -z "$as_dir" && as_dir=. 3228 for ac_exec_ext in '' $ac_executable_extensions; do 3229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3230 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3232 break 2 3233 fi 3234done 3235 done 3236IFS=$as_save_IFS 3237 3238fi 3239fi 3240CC=$ac_cv_prog_CC 3241if test -n "$CC"; then 3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3243$as_echo "$CC" >&6; } 3244else 3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3246$as_echo "no" >&6; } 3247fi 3248 3249 3250 test -n "$CC" && break 3251 done 3252fi 3253if test -z "$CC"; then 3254 ac_ct_CC=$CC 3255 for ac_prog in cl.exe 3256do 3257 # Extract the first word of "$ac_prog", so it can be a program name with args. 3258set dummy $ac_prog; ac_word=$2 3259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3260$as_echo_n "checking for $ac_word... " >&6; } 3261if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3262 $as_echo_n "(cached) " >&6 3263else 3264 if test -n "$ac_ct_CC"; then 3265 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3266else 3267as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3268for as_dir in $PATH 3269do 3270 IFS=$as_save_IFS 3271 test -z "$as_dir" && as_dir=. 3272 for ac_exec_ext in '' $ac_executable_extensions; do 3273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3274 ac_cv_prog_ac_ct_CC="$ac_prog" 3275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3276 break 2 3277 fi 3278done 3279 done 3280IFS=$as_save_IFS 3281 3282fi 3283fi 3284ac_ct_CC=$ac_cv_prog_ac_ct_CC 3285if test -n "$ac_ct_CC"; then 3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3287$as_echo "$ac_ct_CC" >&6; } 3288else 3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3290$as_echo "no" >&6; } 3291fi 3292 3293 3294 test -n "$ac_ct_CC" && break 3295done 3296 3297 if test "x$ac_ct_CC" = x; then 3298 CC="" 3299 else 3300 case $cross_compiling:$ac_tool_warned in 3301yes:) 3302{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3303$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3304ac_tool_warned=yes ;; 3305esac 3306 CC=$ac_ct_CC 3307 fi 3308fi 3309 3310fi 3311 3312 3313test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3314$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3315as_fn_error $? "no acceptable C compiler found in \$PATH 3316See \`config.log' for more details" "$LINENO" 5 ; } 3317 3318# Provide some information about the compiler. 3319$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3320set X $ac_compile 3321ac_compiler=$2 3322for ac_option in --version -v -V -qversion; do 3323 { { ac_try="$ac_compiler $ac_option >&5" 3324case "(($ac_try" in 3325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3326 *) ac_try_echo=$ac_try;; 3327esac 3328eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3329$as_echo "$ac_try_echo"; } >&5 3330 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3331 ac_status=$? 3332 if test -s conftest.err; then 3333 sed '10a\ 3334... rest of stderr output deleted ... 3335 10q' conftest.err >conftest.er1 3336 cat conftest.er1 >&5 3337 fi 3338 rm -f conftest.er1 conftest.err 3339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3340 test $ac_status = 0; } 3341done 3342 3343cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3344/* end confdefs.h. */ 3345 3346int 3347main () 3348{ 3349 3350 ; 3351 return 0; 3352} 3353_ACEOF 3354ac_clean_files_save=$ac_clean_files 3355ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3356# Try to create an executable without -o first, disregard a.out. 3357# It will help us diagnose broken compilers, and finding out an intuition 3358# of exeext. 3359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3360$as_echo_n "checking whether the C compiler works... " >&6; } 3361ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3362 3363# The possible output files: 3364ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3365 3366ac_rmfiles= 3367for ac_file in $ac_files 3368do 3369 case $ac_file in 3370 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3371 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3372 esac 3373done 3374rm -f $ac_rmfiles 3375 3376if { { ac_try="$ac_link_default" 3377case "(($ac_try" in 3378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3379 *) ac_try_echo=$ac_try;; 3380esac 3381eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3382$as_echo "$ac_try_echo"; } >&5 3383 (eval "$ac_link_default") 2>&5 3384 ac_status=$? 3385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3386 test $ac_status = 0; }; then : 3387 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3388# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3389# in a Makefile. We should not override ac_cv_exeext if it was cached, 3390# so that the user can short-circuit this test for compilers unknown to 3391# Autoconf. 3392for ac_file in $ac_files '' 3393do 3394 test -f "$ac_file" || continue 3395 case $ac_file in 3396 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3397 ;; 3398 [ab].out ) 3399 # We found the default executable, but exeext='' is most 3400 # certainly right. 3401 break;; 3402 *.* ) 3403 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3404 then :; else 3405 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3406 fi 3407 # We set ac_cv_exeext here because the later test for it is not 3408 # safe: cross compilers may not add the suffix if given an `-o' 3409 # argument, so we may need to know it at that point already. 3410 # Even if this section looks crufty: it has the advantage of 3411 # actually working. 3412 break;; 3413 * ) 3414 break;; 3415 esac 3416done 3417test "$ac_cv_exeext" = no && ac_cv_exeext= 3418 3419else 3420 ac_file='' 3421fi 3422if test -z "$ac_file"; then : 3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3424$as_echo "no" >&6; } 3425$as_echo "$as_me: failed program was:" >&5 3426sed 's/^/| /' conftest.$ac_ext >&5 3427 3428{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3429$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3430as_fn_error 77 "C compiler cannot create executables 3431See \`config.log' for more details" "$LINENO" 5 ; } 3432else 3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3434$as_echo "yes" >&6; } 3435fi 3436{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3437$as_echo_n "checking for C compiler default output file name... " >&6; } 3438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3439$as_echo "$ac_file" >&6; } 3440ac_exeext=$ac_cv_exeext 3441 3442rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3443ac_clean_files=$ac_clean_files_save 3444{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3445$as_echo_n "checking for suffix of executables... " >&6; } 3446if { { ac_try="$ac_link" 3447case "(($ac_try" in 3448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3449 *) ac_try_echo=$ac_try;; 3450esac 3451eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3452$as_echo "$ac_try_echo"; } >&5 3453 (eval "$ac_link") 2>&5 3454 ac_status=$? 3455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3456 test $ac_status = 0; }; then : 3457 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3458# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3459# work properly (i.e., refer to `conftest.exe'), while it won't with 3460# `rm'. 3461for ac_file in conftest.exe conftest conftest.*; do 3462 test -f "$ac_file" || continue 3463 case $ac_file in 3464 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3465 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3466 break;; 3467 * ) break;; 3468 esac 3469done 3470else 3471 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3472$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3473as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3474See \`config.log' for more details" "$LINENO" 5 ; } 3475fi 3476rm -f conftest conftest$ac_cv_exeext 3477{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3478$as_echo "$ac_cv_exeext" >&6; } 3479 3480rm -f conftest.$ac_ext 3481EXEEXT=$ac_cv_exeext 3482ac_exeext=$EXEEXT 3483cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3484/* end confdefs.h. */ 3485#include <stdio.h> 3486int 3487main () 3488{ 3489FILE *f = fopen ("conftest.out", "w"); 3490 return ferror (f) || fclose (f) != 0; 3491 3492 ; 3493 return 0; 3494} 3495_ACEOF 3496ac_clean_files="$ac_clean_files conftest.out" 3497# Check that the compiler produces executables we can run. If not, either 3498# the compiler is broken, or we cross compile. 3499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3500$as_echo_n "checking whether we are cross compiling... " >&6; } 3501if test "$cross_compiling" != yes; then 3502 { { ac_try="$ac_link" 3503case "(($ac_try" in 3504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3505 *) ac_try_echo=$ac_try;; 3506esac 3507eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3508$as_echo "$ac_try_echo"; } >&5 3509 (eval "$ac_link") 2>&5 3510 ac_status=$? 3511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3512 test $ac_status = 0; } 3513 if { ac_try='./conftest$ac_cv_exeext' 3514 { { case "(($ac_try" in 3515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3516 *) ac_try_echo=$ac_try;; 3517esac 3518eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3519$as_echo "$ac_try_echo"; } >&5 3520 (eval "$ac_try") 2>&5 3521 ac_status=$? 3522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3523 test $ac_status = 0; }; }; then 3524 cross_compiling=no 3525 else 3526 if test "$cross_compiling" = maybe; then 3527 cross_compiling=yes 3528 else 3529 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3530$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3531as_fn_error $? "cannot run C compiled programs. 3532If you meant to cross compile, use \`--host'. 3533See \`config.log' for more details" "$LINENO" 5 ; } 3534 fi 3535 fi 3536fi 3537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3538$as_echo "$cross_compiling" >&6; } 3539 3540rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3541ac_clean_files=$ac_clean_files_save 3542{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3543$as_echo_n "checking for suffix of object files... " >&6; } 3544if test "${ac_cv_objext+set}" = set; then : 3545 $as_echo_n "(cached) " >&6 3546else 3547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3548/* end confdefs.h. */ 3549 3550int 3551main () 3552{ 3553 3554 ; 3555 return 0; 3556} 3557_ACEOF 3558rm -f conftest.o conftest.obj 3559if { { ac_try="$ac_compile" 3560case "(($ac_try" in 3561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3562 *) ac_try_echo=$ac_try;; 3563esac 3564eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3565$as_echo "$ac_try_echo"; } >&5 3566 (eval "$ac_compile") 2>&5 3567 ac_status=$? 3568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3569 test $ac_status = 0; }; then : 3570 for ac_file in conftest.o conftest.obj conftest.*; do 3571 test -f "$ac_file" || continue; 3572 case $ac_file in 3573 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3574 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3575 break;; 3576 esac 3577done 3578else 3579 $as_echo "$as_me: failed program was:" >&5 3580sed 's/^/| /' conftest.$ac_ext >&5 3581 3582{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3583$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3584as_fn_error $? "cannot compute suffix of object files: cannot compile 3585See \`config.log' for more details" "$LINENO" 5 ; } 3586fi 3587rm -f conftest.$ac_cv_objext conftest.$ac_ext 3588fi 3589{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3590$as_echo "$ac_cv_objext" >&6; } 3591OBJEXT=$ac_cv_objext 3592ac_objext=$OBJEXT 3593{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3594$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3595if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3596 $as_echo_n "(cached) " >&6 3597else 3598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3599/* end confdefs.h. */ 3600 3601int 3602main () 3603{ 3604#ifndef __GNUC__ 3605 choke me 3606#endif 3607 3608 ; 3609 return 0; 3610} 3611_ACEOF 3612if ac_fn_c_try_compile "$LINENO"; then : 3613 ac_compiler_gnu=yes 3614else 3615 ac_compiler_gnu=no 3616fi 3617rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3618ac_cv_c_compiler_gnu=$ac_compiler_gnu 3619 3620fi 3621{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3622$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3623if test $ac_compiler_gnu = yes; then 3624 GCC=yes 3625else 3626 GCC= 3627fi 3628ac_test_CFLAGS=${CFLAGS+set} 3629ac_save_CFLAGS=$CFLAGS 3630{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3631$as_echo_n "checking whether $CC accepts -g... " >&6; } 3632if test "${ac_cv_prog_cc_g+set}" = set; then : 3633 $as_echo_n "(cached) " >&6 3634else 3635 ac_save_c_werror_flag=$ac_c_werror_flag 3636 ac_c_werror_flag=yes 3637 ac_cv_prog_cc_g=no 3638 CFLAGS="-g" 3639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3640/* end confdefs.h. */ 3641 3642int 3643main () 3644{ 3645 3646 ; 3647 return 0; 3648} 3649_ACEOF 3650if ac_fn_c_try_compile "$LINENO"; then : 3651 ac_cv_prog_cc_g=yes 3652else 3653 CFLAGS="" 3654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3655/* end confdefs.h. */ 3656 3657int 3658main () 3659{ 3660 3661 ; 3662 return 0; 3663} 3664_ACEOF 3665if ac_fn_c_try_compile "$LINENO"; then : 3666 3667else 3668 ac_c_werror_flag=$ac_save_c_werror_flag 3669 CFLAGS="-g" 3670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3671/* end confdefs.h. */ 3672 3673int 3674main () 3675{ 3676 3677 ; 3678 return 0; 3679} 3680_ACEOF 3681if ac_fn_c_try_compile "$LINENO"; then : 3682 ac_cv_prog_cc_g=yes 3683fi 3684rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3685fi 3686rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3687fi 3688rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3689 ac_c_werror_flag=$ac_save_c_werror_flag 3690fi 3691{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3692$as_echo "$ac_cv_prog_cc_g" >&6; } 3693if test "$ac_test_CFLAGS" = set; then 3694 CFLAGS=$ac_save_CFLAGS 3695elif test $ac_cv_prog_cc_g = yes; then 3696 if test "$GCC" = yes; then 3697 CFLAGS="-g -O2" 3698 else 3699 CFLAGS="-g" 3700 fi 3701else 3702 if test "$GCC" = yes; then 3703 CFLAGS="-O2" 3704 else 3705 CFLAGS= 3706 fi 3707fi 3708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3709$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3710if test "${ac_cv_prog_cc_c89+set}" = set; then : 3711 $as_echo_n "(cached) " >&6 3712else 3713 ac_cv_prog_cc_c89=no 3714ac_save_CC=$CC 3715cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3716/* end confdefs.h. */ 3717#include <stdarg.h> 3718#include <stdio.h> 3719#include <sys/types.h> 3720#include <sys/stat.h> 3721/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3722struct buf { int x; }; 3723FILE * (*rcsopen) (struct buf *, struct stat *, int); 3724static char *e (p, i) 3725 char **p; 3726 int i; 3727{ 3728 return p[i]; 3729} 3730static char *f (char * (*g) (char **, int), char **p, ...) 3731{ 3732 char *s; 3733 va_list v; 3734 va_start (v,p); 3735 s = g (p, va_arg (v,int)); 3736 va_end (v); 3737 return s; 3738} 3739 3740/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3741 function prototypes and stuff, but not '\xHH' hex character constants. 3742 These don't provoke an error unfortunately, instead are silently treated 3743 as 'x'. The following induces an error, until -std is added to get 3744 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3745 array size at least. It's necessary to write '\x00'==0 to get something 3746 that's true only with -std. */ 3747int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3748 3749/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3750 inside strings and character constants. */ 3751#define FOO(x) 'x' 3752int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3753 3754int test (int i, double x); 3755struct s1 {int (*f) (int a);}; 3756struct s2 {int (*f) (double a);}; 3757int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3758int argc; 3759char **argv; 3760int 3761main () 3762{ 3763return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3764 ; 3765 return 0; 3766} 3767_ACEOF 3768for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3769 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3770do 3771 CC="$ac_save_CC $ac_arg" 3772 if ac_fn_c_try_compile "$LINENO"; then : 3773 ac_cv_prog_cc_c89=$ac_arg 3774fi 3775rm -f core conftest.err conftest.$ac_objext 3776 test "x$ac_cv_prog_cc_c89" != "xno" && break 3777done 3778rm -f conftest.$ac_ext 3779CC=$ac_save_CC 3780 3781fi 3782# AC_CACHE_VAL 3783case "x$ac_cv_prog_cc_c89" in 3784 x) 3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3786$as_echo "none needed" >&6; } ;; 3787 xno) 3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3789$as_echo "unsupported" >&6; } ;; 3790 *) 3791 CC="$CC $ac_cv_prog_cc_c89" 3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3793$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3794esac 3795if test "x$ac_cv_prog_cc_c89" != xno; then : 3796 3797fi 3798 3799ac_ext=c 3800ac_cpp='$CPP $CPPFLAGS' 3801ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3802ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3803ac_compiler_gnu=$ac_cv_c_compiler_gnu 3804 3805depcc="$CC" am_compiler_list= 3806 3807{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3808$as_echo_n "checking dependency style of $depcc... " >&6; } 3809if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 3810 $as_echo_n "(cached) " >&6 3811else 3812 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3813 # We make a subdir and do the tests there. Otherwise we can end up 3814 # making bogus files that we don't know about and never remove. For 3815 # instance it was reported that on HP-UX the gcc test will end up 3816 # making a dummy file named `D' -- because `-MD' means `put the output 3817 # in D'. 3818 mkdir conftest.dir 3819 # Copy depcomp to subdir because otherwise we won't find it if we're 3820 # using a relative directory. 3821 cp "$am_depcomp" conftest.dir 3822 cd conftest.dir 3823 # We will build objects and dependencies in a subdirectory because 3824 # it helps to detect inapplicable dependency modes. For instance 3825 # both Tru64's cc and ICC support -MD to output dependencies as a 3826 # side effect of compilation, but ICC will put the dependencies in 3827 # the current directory while Tru64 will put them in the object 3828 # directory. 3829 mkdir sub 3830 3831 am_cv_CC_dependencies_compiler_type=none 3832 if test "$am_compiler_list" = ""; then 3833 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3834 fi 3835 am__universal=false 3836 case " $depcc " in #( 3837 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3838 esac 3839 3840 for depmode in $am_compiler_list; do 3841 # Setup a source with many dependencies, because some compilers 3842 # like to wrap large dependency lists on column 80 (with \), and 3843 # we should not choose a depcomp mode which is confused by this. 3844 # 3845 # We need to recreate these files for each test, as the compiler may 3846 # overwrite some of them when testing with obscure command lines. 3847 # This happens at least with the AIX C compiler. 3848 : > sub/conftest.c 3849 for i in 1 2 3 4 5 6; do 3850 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3851 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3852 # Solaris 8's {/usr,}/bin/sh. 3853 touch sub/conftst$i.h 3854 done 3855 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3856 3857 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3858 # mode. It turns out that the SunPro C++ compiler does not properly 3859 # handle `-M -o', and we need to detect this. Also, some Intel 3860 # versions had trouble with output in subdirs 3861 am__obj=sub/conftest.${OBJEXT-o} 3862 am__minus_obj="-o $am__obj" 3863 case $depmode in 3864 gcc) 3865 # This depmode causes a compiler race in universal mode. 3866 test "$am__universal" = false || continue 3867 ;; 3868 nosideeffect) 3869 # after this tag, mechanisms are not by side-effect, so they'll 3870 # only be used when explicitly requested 3871 if test "x$enable_dependency_tracking" = xyes; then 3872 continue 3873 else 3874 break 3875 fi 3876 ;; 3877 msvisualcpp | msvcmsys) 3878 # This compiler won't grok `-c -o', but also, the minuso test has 3879 # not run yet. These depmodes are late enough in the game, and 3880 # so weak that their functioning should not be impacted. 3881 am__obj=conftest.${OBJEXT-o} 3882 am__minus_obj= 3883 ;; 3884 none) break ;; 3885 esac 3886 if depmode=$depmode \ 3887 source=sub/conftest.c object=$am__obj \ 3888 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3889 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3890 >/dev/null 2>conftest.err && 3891 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3892 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3893 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3894 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3895 # icc doesn't choke on unknown options, it will just issue warnings 3896 # or remarks (even with -Werror). So we grep stderr for any message 3897 # that says an option was ignored or not supported. 3898 # When given -MP, icc 7.0 and 7.1 complain thusly: 3899 # icc: Command line warning: ignoring option '-M'; no argument required 3900 # The diagnosis changed in icc 8.0: 3901 # icc: Command line remark: option '-MP' not supported 3902 if (grep 'ignoring option' conftest.err || 3903 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3904 am_cv_CC_dependencies_compiler_type=$depmode 3905 break 3906 fi 3907 fi 3908 done 3909 3910 cd .. 3911 rm -rf conftest.dir 3912else 3913 am_cv_CC_dependencies_compiler_type=none 3914fi 3915 3916fi 3917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3918$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3919CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3920 3921 if 3922 test "x$enable_dependency_tracking" != xno \ 3923 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3924 am__fastdepCC_TRUE= 3925 am__fastdepCC_FALSE='#' 3926else 3927 am__fastdepCC_TRUE='#' 3928 am__fastdepCC_FALSE= 3929fi 3930 3931 3932 3933for ac_func in bind_textdomain_codeset 3934do : 3935 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 3936if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then : 3937 cat >>confdefs.h <<_ACEOF 3938#define HAVE_BIND_TEXTDOMAIN_CODESET 1 3939_ACEOF 3940 3941fi 3942done 3943 3944 3945ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS" 3946 3947# Make sure we can run config.sub. 3948$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3949 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3950 3951{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3952$as_echo_n "checking build system type... " >&6; } 3953if test "${ac_cv_build+set}" = set; then : 3954 $as_echo_n "(cached) " >&6 3955else 3956 ac_build_alias=$build_alias 3957test "x$ac_build_alias" = x && 3958 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3959test "x$ac_build_alias" = x && 3960 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3961ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3962 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3963 3964fi 3965{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3966$as_echo "$ac_cv_build" >&6; } 3967case $ac_cv_build in 3968*-*-*) ;; 3969*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; 3970esac 3971build=$ac_cv_build 3972ac_save_IFS=$IFS; IFS='-' 3973set x $ac_cv_build 3974shift 3975build_cpu=$1 3976build_vendor=$2 3977shift; shift 3978# Remember, the first character of IFS is used to create $*, 3979# except with old shells: 3980build_os=$* 3981IFS=$ac_save_IFS 3982case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3983 3984 3985{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3986$as_echo_n "checking host system type... " >&6; } 3987if test "${ac_cv_host+set}" = set; then : 3988 $as_echo_n "(cached) " >&6 3989else 3990 if test "x$host_alias" = x; then 3991 ac_cv_host=$ac_cv_build 3992else 3993 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3994 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3995fi 3996 3997fi 3998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3999$as_echo "$ac_cv_host" >&6; } 4000case $ac_cv_host in 4001*-*-*) ;; 4002*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; 4003esac 4004host=$ac_cv_host 4005ac_save_IFS=$IFS; IFS='-' 4006set x $ac_cv_host 4007shift 4008host_cpu=$1 4009host_vendor=$2 4010shift; shift 4011# Remember, the first character of IFS is used to create $*, 4012# except with old shells: 4013host_os=$* 4014IFS=$ac_save_IFS 4015case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4016 4017 4018{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for some Win32 platform" >&5 4019$as_echo_n "checking for some Win32 platform... " >&6; } 4020case "$host" in 4021 *-*-mingw*|*-*-cygwin*) 4022 platform_win32=yes 4023 ;; 4024 *) 4025 platform_win32=no 4026 ;; 4027esac 4028{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $platform_win32" >&5 4029$as_echo "$platform_win32" >&6; } 4030 if test "$platform_win32" = "yes"; then 4031 PLATFORM_WIN32_TRUE= 4032 PLATFORM_WIN32_FALSE='#' 4033else 4034 PLATFORM_WIN32_TRUE='#' 4035 PLATFORM_WIN32_FALSE= 4036fi 4037 4038 4039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5 4040$as_echo_n "checking for native Win32... " >&6; } 4041case "$host" in 4042 *-*-mingw*) 4043 os_win32=yes 4044 ;; 4045 *) 4046 os_win32=no 4047 ;; 4048esac 4049{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5 4050$as_echo "$os_win32" >&6; } 4051 if test "$os_win32" = "yes"; then 4052 OS_WIN32_TRUE= 4053 OS_WIN32_FALSE='#' 4054else 4055 OS_WIN32_TRUE='#' 4056 OS_WIN32_FALSE= 4057fi 4058 4059 4060# Check whether --enable-static was given. 4061if test "${enable_static+set}" = set; then : 4062 enableval=$enable_static; p=${PACKAGE-default} 4063 case $enableval in 4064 yes) enable_static=yes ;; 4065 no) enable_static=no ;; 4066 *) 4067 enable_static=no 4068 # Look at the argument we got. We use all the common list separators. 4069 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 4070 for pkg in $enableval; do 4071 IFS="$lt_save_ifs" 4072 if test "X$pkg" = "X$p"; then 4073 enable_static=yes 4074 fi 4075 done 4076 IFS="$lt_save_ifs" 4077 ;; 4078 esac 4079else 4080 enable_static=no 4081fi 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094enable_win32_dll=yes 4095 4096case $host in 4097*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*) 4098 if test -n "$ac_tool_prefix"; then 4099 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 4100set dummy ${ac_tool_prefix}as; ac_word=$2 4101{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4102$as_echo_n "checking for $ac_word... " >&6; } 4103if test "${ac_cv_prog_AS+set}" = set; then : 4104 $as_echo_n "(cached) " >&6 4105else 4106 if test -n "$AS"; then 4107 ac_cv_prog_AS="$AS" # Let the user override the test. 4108else 4109as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4110for as_dir in $PATH 4111do 4112 IFS=$as_save_IFS 4113 test -z "$as_dir" && as_dir=. 4114 for ac_exec_ext in '' $ac_executable_extensions; do 4115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4116 ac_cv_prog_AS="${ac_tool_prefix}as" 4117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4118 break 2 4119 fi 4120done 4121 done 4122IFS=$as_save_IFS 4123 4124fi 4125fi 4126AS=$ac_cv_prog_AS 4127if test -n "$AS"; then 4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 4129$as_echo "$AS" >&6; } 4130else 4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4132$as_echo "no" >&6; } 4133fi 4134 4135 4136fi 4137if test -z "$ac_cv_prog_AS"; then 4138 ac_ct_AS=$AS 4139 # Extract the first word of "as", so it can be a program name with args. 4140set dummy as; ac_word=$2 4141{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4142$as_echo_n "checking for $ac_word... " >&6; } 4143if test "${ac_cv_prog_ac_ct_AS+set}" = set; then : 4144 $as_echo_n "(cached) " >&6 4145else 4146 if test -n "$ac_ct_AS"; then 4147 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 4148else 4149as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4150for as_dir in $PATH 4151do 4152 IFS=$as_save_IFS 4153 test -z "$as_dir" && as_dir=. 4154 for ac_exec_ext in '' $ac_executable_extensions; do 4155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4156 ac_cv_prog_ac_ct_AS="as" 4157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4158 break 2 4159 fi 4160done 4161 done 4162IFS=$as_save_IFS 4163 4164fi 4165fi 4166ac_ct_AS=$ac_cv_prog_ac_ct_AS 4167if test -n "$ac_ct_AS"; then 4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 4169$as_echo "$ac_ct_AS" >&6; } 4170else 4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4172$as_echo "no" >&6; } 4173fi 4174 4175 if test "x$ac_ct_AS" = x; then 4176 AS="false" 4177 else 4178 case $cross_compiling:$ac_tool_warned in 4179yes:) 4180{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4181$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4182ac_tool_warned=yes ;; 4183esac 4184 AS=$ac_ct_AS 4185 fi 4186else 4187 AS="$ac_cv_prog_AS" 4188fi 4189 4190 if test -n "$ac_tool_prefix"; then 4191 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 4192set dummy ${ac_tool_prefix}dlltool; ac_word=$2 4193{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4194$as_echo_n "checking for $ac_word... " >&6; } 4195if test "${ac_cv_prog_DLLTOOL+set}" = set; then : 4196 $as_echo_n "(cached) " >&6 4197else 4198 if test -n "$DLLTOOL"; then 4199 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 4200else 4201as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4202for as_dir in $PATH 4203do 4204 IFS=$as_save_IFS 4205 test -z "$as_dir" && as_dir=. 4206 for ac_exec_ext in '' $ac_executable_extensions; do 4207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4208 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 4209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4210 break 2 4211 fi 4212done 4213 done 4214IFS=$as_save_IFS 4215 4216fi 4217fi 4218DLLTOOL=$ac_cv_prog_DLLTOOL 4219if test -n "$DLLTOOL"; then 4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 4221$as_echo "$DLLTOOL" >&6; } 4222else 4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4224$as_echo "no" >&6; } 4225fi 4226 4227 4228fi 4229if test -z "$ac_cv_prog_DLLTOOL"; then 4230 ac_ct_DLLTOOL=$DLLTOOL 4231 # Extract the first word of "dlltool", so it can be a program name with args. 4232set dummy dlltool; ac_word=$2 4233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4234$as_echo_n "checking for $ac_word... " >&6; } 4235if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then : 4236 $as_echo_n "(cached) " >&6 4237else 4238 if test -n "$ac_ct_DLLTOOL"; then 4239 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 4240else 4241as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4242for as_dir in $PATH 4243do 4244 IFS=$as_save_IFS 4245 test -z "$as_dir" && as_dir=. 4246 for ac_exec_ext in '' $ac_executable_extensions; do 4247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4248 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 4249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4250 break 2 4251 fi 4252done 4253 done 4254IFS=$as_save_IFS 4255 4256fi 4257fi 4258ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 4259if test -n "$ac_ct_DLLTOOL"; then 4260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 4261$as_echo "$ac_ct_DLLTOOL" >&6; } 4262else 4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4264$as_echo "no" >&6; } 4265fi 4266 4267 if test "x$ac_ct_DLLTOOL" = x; then 4268 DLLTOOL="false" 4269 else 4270 case $cross_compiling:$ac_tool_warned in 4271yes:) 4272{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4273$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4274ac_tool_warned=yes ;; 4275esac 4276 DLLTOOL=$ac_ct_DLLTOOL 4277 fi 4278else 4279 DLLTOOL="$ac_cv_prog_DLLTOOL" 4280fi 4281 4282 if test -n "$ac_tool_prefix"; then 4283 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4284set dummy ${ac_tool_prefix}objdump; ac_word=$2 4285{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4286$as_echo_n "checking for $ac_word... " >&6; } 4287if test "${ac_cv_prog_OBJDUMP+set}" = set; then : 4288 $as_echo_n "(cached) " >&6 4289else 4290 if test -n "$OBJDUMP"; then 4291 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4292else 4293as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4294for as_dir in $PATH 4295do 4296 IFS=$as_save_IFS 4297 test -z "$as_dir" && as_dir=. 4298 for ac_exec_ext in '' $ac_executable_extensions; do 4299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4300 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4302 break 2 4303 fi 4304done 4305 done 4306IFS=$as_save_IFS 4307 4308fi 4309fi 4310OBJDUMP=$ac_cv_prog_OBJDUMP 4311if test -n "$OBJDUMP"; then 4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 4313$as_echo "$OBJDUMP" >&6; } 4314else 4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4316$as_echo "no" >&6; } 4317fi 4318 4319 4320fi 4321if test -z "$ac_cv_prog_OBJDUMP"; then 4322 ac_ct_OBJDUMP=$OBJDUMP 4323 # Extract the first word of "objdump", so it can be a program name with args. 4324set dummy objdump; ac_word=$2 4325{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4326$as_echo_n "checking for $ac_word... " >&6; } 4327if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : 4328 $as_echo_n "(cached) " >&6 4329else 4330 if test -n "$ac_ct_OBJDUMP"; then 4331 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4332else 4333as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4334for as_dir in $PATH 4335do 4336 IFS=$as_save_IFS 4337 test -z "$as_dir" && as_dir=. 4338 for ac_exec_ext in '' $ac_executable_extensions; do 4339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4340 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4342 break 2 4343 fi 4344done 4345 done 4346IFS=$as_save_IFS 4347 4348fi 4349fi 4350ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4351if test -n "$ac_ct_OBJDUMP"; then 4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 4353$as_echo "$ac_ct_OBJDUMP" >&6; } 4354else 4355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4356$as_echo "no" >&6; } 4357fi 4358 4359 if test "x$ac_ct_OBJDUMP" = x; then 4360 OBJDUMP="false" 4361 else 4362 case $cross_compiling:$ac_tool_warned in 4363yes:) 4364{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4365$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4366ac_tool_warned=yes ;; 4367esac 4368 OBJDUMP=$ac_ct_OBJDUMP 4369 fi 4370else 4371 OBJDUMP="$ac_cv_prog_OBJDUMP" 4372fi 4373 4374 ;; 4375esac 4376 4377test -z "$AS" && AS=as 4378 4379 4380 4381 4382 4383test -z "$DLLTOOL" && DLLTOOL=dlltool 4384 4385 4386 4387 4388 4389test -z "$OBJDUMP" && OBJDUMP=objdump 4390 4391 4392 4393 4394 4395 4396 4397case `pwd` in 4398 *\ * | *\ *) 4399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4400$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4401esac 4402 4403 4404 4405macro_version='2.2.6b' 4406macro_revision='1.3017' 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420ltmain="$ac_aux_dir/ltmain.sh" 4421 4422{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4423$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4424if test "${ac_cv_path_SED+set}" = set; then : 4425 $as_echo_n "(cached) " >&6 4426else 4427 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4428 for ac_i in 1 2 3 4 5 6 7; do 4429 ac_script="$ac_script$as_nl$ac_script" 4430 done 4431 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4432 { ac_script=; unset ac_script;} 4433 if test -z "$SED"; then 4434 ac_path_SED_found=false 4435 # Loop through the user's path and test for each of PROGNAME-LIST 4436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4437for as_dir in $PATH 4438do 4439 IFS=$as_save_IFS 4440 test -z "$as_dir" && as_dir=. 4441 for ac_prog in sed gsed; do 4442 for ac_exec_ext in '' $ac_executable_extensions; do 4443 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4444 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 4445# Check for GNU ac_path_SED and select it if it is found. 4446 # Check for GNU $ac_path_SED 4447case `"$ac_path_SED" --version 2>&1` in 4448*GNU*) 4449 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4450*) 4451 ac_count=0 4452 $as_echo_n 0123456789 >"conftest.in" 4453 while : 4454 do 4455 cat "conftest.in" "conftest.in" >"conftest.tmp" 4456 mv "conftest.tmp" "conftest.in" 4457 cp "conftest.in" "conftest.nl" 4458 $as_echo '' >> "conftest.nl" 4459 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4460 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4461 as_fn_arith $ac_count + 1 && ac_count=$as_val 4462 if test $ac_count -gt ${ac_path_SED_max-0}; then 4463 # Best one so far, save it but keep looking for a better one 4464 ac_cv_path_SED="$ac_path_SED" 4465 ac_path_SED_max=$ac_count 4466 fi 4467 # 10*(2^10) chars as input seems more than enough 4468 test $ac_count -gt 10 && break 4469 done 4470 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4471esac 4472 4473 $ac_path_SED_found && break 3 4474 done 4475 done 4476 done 4477IFS=$as_save_IFS 4478 if test -z "$ac_cv_path_SED"; then 4479 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4480 fi 4481else 4482 ac_cv_path_SED=$SED 4483fi 4484 4485fi 4486{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4487$as_echo "$ac_cv_path_SED" >&6; } 4488 SED="$ac_cv_path_SED" 4489 rm -f conftest.sed 4490 4491test -z "$SED" && SED=sed 4492Xsed="$SED -e 1s/^X//" 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4505$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4506if test "${ac_cv_path_GREP+set}" = set; then : 4507 $as_echo_n "(cached) " >&6 4508else 4509 if test -z "$GREP"; then 4510 ac_path_GREP_found=false 4511 # Loop through the user's path and test for each of PROGNAME-LIST 4512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4513for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4514do 4515 IFS=$as_save_IFS 4516 test -z "$as_dir" && as_dir=. 4517 for ac_prog in grep ggrep; do 4518 for ac_exec_ext in '' $ac_executable_extensions; do 4519 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4520 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4521# Check for GNU ac_path_GREP and select it if it is found. 4522 # Check for GNU $ac_path_GREP 4523case `"$ac_path_GREP" --version 2>&1` in 4524*GNU*) 4525 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4526*) 4527 ac_count=0 4528 $as_echo_n 0123456789 >"conftest.in" 4529 while : 4530 do 4531 cat "conftest.in" "conftest.in" >"conftest.tmp" 4532 mv "conftest.tmp" "conftest.in" 4533 cp "conftest.in" "conftest.nl" 4534 $as_echo 'GREP' >> "conftest.nl" 4535 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4536 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4537 as_fn_arith $ac_count + 1 && ac_count=$as_val 4538 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4539 # Best one so far, save it but keep looking for a better one 4540 ac_cv_path_GREP="$ac_path_GREP" 4541 ac_path_GREP_max=$ac_count 4542 fi 4543 # 10*(2^10) chars as input seems more than enough 4544 test $ac_count -gt 10 && break 4545 done 4546 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4547esac 4548 4549 $ac_path_GREP_found && break 3 4550 done 4551 done 4552 done 4553IFS=$as_save_IFS 4554 if test -z "$ac_cv_path_GREP"; then 4555 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4556 fi 4557else 4558 ac_cv_path_GREP=$GREP 4559fi 4560 4561fi 4562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4563$as_echo "$ac_cv_path_GREP" >&6; } 4564 GREP="$ac_cv_path_GREP" 4565 4566 4567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4568$as_echo_n "checking for egrep... " >&6; } 4569if test "${ac_cv_path_EGREP+set}" = set; then : 4570 $as_echo_n "(cached) " >&6 4571else 4572 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4573 then ac_cv_path_EGREP="$GREP -E" 4574 else 4575 if test -z "$EGREP"; then 4576 ac_path_EGREP_found=false 4577 # Loop through the user's path and test for each of PROGNAME-LIST 4578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4579for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4580do 4581 IFS=$as_save_IFS 4582 test -z "$as_dir" && as_dir=. 4583 for ac_prog in egrep; do 4584 for ac_exec_ext in '' $ac_executable_extensions; do 4585 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4586 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4587# Check for GNU ac_path_EGREP and select it if it is found. 4588 # Check for GNU $ac_path_EGREP 4589case `"$ac_path_EGREP" --version 2>&1` in 4590*GNU*) 4591 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4592*) 4593 ac_count=0 4594 $as_echo_n 0123456789 >"conftest.in" 4595 while : 4596 do 4597 cat "conftest.in" "conftest.in" >"conftest.tmp" 4598 mv "conftest.tmp" "conftest.in" 4599 cp "conftest.in" "conftest.nl" 4600 $as_echo 'EGREP' >> "conftest.nl" 4601 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4602 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4603 as_fn_arith $ac_count + 1 && ac_count=$as_val 4604 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4605 # Best one so far, save it but keep looking for a better one 4606 ac_cv_path_EGREP="$ac_path_EGREP" 4607 ac_path_EGREP_max=$ac_count 4608 fi 4609 # 10*(2^10) chars as input seems more than enough 4610 test $ac_count -gt 10 && break 4611 done 4612 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4613esac 4614 4615 $ac_path_EGREP_found && break 3 4616 done 4617 done 4618 done 4619IFS=$as_save_IFS 4620 if test -z "$ac_cv_path_EGREP"; then 4621 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4622 fi 4623else 4624 ac_cv_path_EGREP=$EGREP 4625fi 4626 4627 fi 4628fi 4629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4630$as_echo "$ac_cv_path_EGREP" >&6; } 4631 EGREP="$ac_cv_path_EGREP" 4632 4633 4634{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4635$as_echo_n "checking for fgrep... " >&6; } 4636if test "${ac_cv_path_FGREP+set}" = set; then : 4637 $as_echo_n "(cached) " >&6 4638else 4639 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4640 then ac_cv_path_FGREP="$GREP -F" 4641 else 4642 if test -z "$FGREP"; then 4643 ac_path_FGREP_found=false 4644 # Loop through the user's path and test for each of PROGNAME-LIST 4645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4646for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4647do 4648 IFS=$as_save_IFS 4649 test -z "$as_dir" && as_dir=. 4650 for ac_prog in fgrep; do 4651 for ac_exec_ext in '' $ac_executable_extensions; do 4652 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4653 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 4654# Check for GNU ac_path_FGREP and select it if it is found. 4655 # Check for GNU $ac_path_FGREP 4656case `"$ac_path_FGREP" --version 2>&1` in 4657*GNU*) 4658 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4659*) 4660 ac_count=0 4661 $as_echo_n 0123456789 >"conftest.in" 4662 while : 4663 do 4664 cat "conftest.in" "conftest.in" >"conftest.tmp" 4665 mv "conftest.tmp" "conftest.in" 4666 cp "conftest.in" "conftest.nl" 4667 $as_echo 'FGREP' >> "conftest.nl" 4668 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4669 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4670 as_fn_arith $ac_count + 1 && ac_count=$as_val 4671 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4672 # Best one so far, save it but keep looking for a better one 4673 ac_cv_path_FGREP="$ac_path_FGREP" 4674 ac_path_FGREP_max=$ac_count 4675 fi 4676 # 10*(2^10) chars as input seems more than enough 4677 test $ac_count -gt 10 && break 4678 done 4679 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4680esac 4681 4682 $ac_path_FGREP_found && break 3 4683 done 4684 done 4685 done 4686IFS=$as_save_IFS 4687 if test -z "$ac_cv_path_FGREP"; then 4688 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4689 fi 4690else 4691 ac_cv_path_FGREP=$FGREP 4692fi 4693 4694 fi 4695fi 4696{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4697$as_echo "$ac_cv_path_FGREP" >&6; } 4698 FGREP="$ac_cv_path_FGREP" 4699 4700 4701test -z "$GREP" && GREP=grep 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721# Check whether --with-gnu-ld was given. 4722if test "${with_gnu_ld+set}" = set; then : 4723 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4724else 4725 with_gnu_ld=no 4726fi 4727 4728ac_prog=ld 4729if test "$GCC" = yes; then 4730 # Check if gcc -print-prog-name=ld gives a path. 4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4732$as_echo_n "checking for ld used by $CC... " >&6; } 4733 case $host in 4734 *-*-mingw*) 4735 # gcc leaves a trailing carriage return which upsets mingw 4736 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4737 *) 4738 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4739 esac 4740 case $ac_prog in 4741 # Accept absolute paths. 4742 [\\/]* | ?:[\\/]*) 4743 re_direlt='/[^/][^/]*/\.\./' 4744 # Canonicalize the pathname of ld 4745 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4746 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4747 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4748 done 4749 test -z "$LD" && LD="$ac_prog" 4750 ;; 4751 "") 4752 # If it fails, then pretend we aren't using GCC. 4753 ac_prog=ld 4754 ;; 4755 *) 4756 # If it is relative, then search for the first ld in PATH. 4757 with_gnu_ld=unknown 4758 ;; 4759 esac 4760elif test "$with_gnu_ld" = yes; then 4761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4762$as_echo_n "checking for GNU ld... " >&6; } 4763else 4764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4765$as_echo_n "checking for non-GNU ld... " >&6; } 4766fi 4767if test "${lt_cv_path_LD+set}" = set; then : 4768 $as_echo_n "(cached) " >&6 4769else 4770 if test -z "$LD"; then 4771 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4772 for ac_dir in $PATH; do 4773 IFS="$lt_save_ifs" 4774 test -z "$ac_dir" && ac_dir=. 4775 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4776 lt_cv_path_LD="$ac_dir/$ac_prog" 4777 # Check to see if the program is GNU ld. I'd rather use --version, 4778 # but apparently some variants of GNU ld only accept -v. 4779 # Break only if it was the GNU/non-GNU ld that we prefer. 4780 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4781 *GNU* | *'with BFD'*) 4782 test "$with_gnu_ld" != no && break 4783 ;; 4784 *) 4785 test "$with_gnu_ld" != yes && break 4786 ;; 4787 esac 4788 fi 4789 done 4790 IFS="$lt_save_ifs" 4791else 4792 lt_cv_path_LD="$LD" # Let the user override the test with a path. 4793fi 4794fi 4795 4796LD="$lt_cv_path_LD" 4797if test -n "$LD"; then 4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4799$as_echo "$LD" >&6; } 4800else 4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4802$as_echo "no" >&6; } 4803fi 4804test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4806$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4807if test "${lt_cv_prog_gnu_ld+set}" = set; then : 4808 $as_echo_n "(cached) " >&6 4809else 4810 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4811case `$LD -v 2>&1 </dev/null` in 4812*GNU* | *'with BFD'*) 4813 lt_cv_prog_gnu_ld=yes 4814 ;; 4815*) 4816 lt_cv_prog_gnu_ld=no 4817 ;; 4818esac 4819fi 4820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4821$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4822with_gnu_ld=$lt_cv_prog_gnu_ld 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4833$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4834if test "${lt_cv_path_NM+set}" = set; then : 4835 $as_echo_n "(cached) " >&6 4836else 4837 if test -n "$NM"; then 4838 # Let the user override the test. 4839 lt_cv_path_NM="$NM" 4840else 4841 lt_nm_to_check="${ac_tool_prefix}nm" 4842 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4843 lt_nm_to_check="$lt_nm_to_check nm" 4844 fi 4845 for lt_tmp_nm in $lt_nm_to_check; do 4846 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4847 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4848 IFS="$lt_save_ifs" 4849 test -z "$ac_dir" && ac_dir=. 4850 tmp_nm="$ac_dir/$lt_tmp_nm" 4851 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 4852 # Check to see if the nm accepts a BSD-compat flag. 4853 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 4854 # nm: unknown option "B" ignored 4855 # Tru64's nm complains that /dev/null is an invalid object file 4856 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 4857 */dev/null* | *'Invalid file or object type'*) 4858 lt_cv_path_NM="$tmp_nm -B" 4859 break 4860 ;; 4861 *) 4862 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4863 */dev/null*) 4864 lt_cv_path_NM="$tmp_nm -p" 4865 break 4866 ;; 4867 *) 4868 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4869 continue # so that we can try to find one that supports BSD flags 4870 ;; 4871 esac 4872 ;; 4873 esac 4874 fi 4875 done 4876 IFS="$lt_save_ifs" 4877 done 4878 : ${lt_cv_path_NM=no} 4879fi 4880fi 4881{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4882$as_echo "$lt_cv_path_NM" >&6; } 4883if test "$lt_cv_path_NM" != "no"; then 4884 NM="$lt_cv_path_NM" 4885else 4886 # Didn't find any BSD compatible name lister, look for dumpbin. 4887 if test -n "$ac_tool_prefix"; then 4888 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 4889 do 4890 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4891set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4892{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4893$as_echo_n "checking for $ac_word... " >&6; } 4894if test "${ac_cv_prog_DUMPBIN+set}" = set; then : 4895 $as_echo_n "(cached) " >&6 4896else 4897 if test -n "$DUMPBIN"; then 4898 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4899else 4900as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4901for as_dir in $PATH 4902do 4903 IFS=$as_save_IFS 4904 test -z "$as_dir" && as_dir=. 4905 for ac_exec_ext in '' $ac_executable_extensions; do 4906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4907 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4909 break 2 4910 fi 4911done 4912 done 4913IFS=$as_save_IFS 4914 4915fi 4916fi 4917DUMPBIN=$ac_cv_prog_DUMPBIN 4918if test -n "$DUMPBIN"; then 4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4920$as_echo "$DUMPBIN" >&6; } 4921else 4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4923$as_echo "no" >&6; } 4924fi 4925 4926 4927 test -n "$DUMPBIN" && break 4928 done 4929fi 4930if test -z "$DUMPBIN"; then 4931 ac_ct_DUMPBIN=$DUMPBIN 4932 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 4933do 4934 # Extract the first word of "$ac_prog", so it can be a program name with args. 4935set dummy $ac_prog; ac_word=$2 4936{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4937$as_echo_n "checking for $ac_word... " >&6; } 4938if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : 4939 $as_echo_n "(cached) " >&6 4940else 4941 if test -n "$ac_ct_DUMPBIN"; then 4942 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4943else 4944as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4945for as_dir in $PATH 4946do 4947 IFS=$as_save_IFS 4948 test -z "$as_dir" && as_dir=. 4949 for ac_exec_ext in '' $ac_executable_extensions; do 4950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4951 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4953 break 2 4954 fi 4955done 4956 done 4957IFS=$as_save_IFS 4958 4959fi 4960fi 4961ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4962if test -n "$ac_ct_DUMPBIN"; then 4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4964$as_echo "$ac_ct_DUMPBIN" >&6; } 4965else 4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4967$as_echo "no" >&6; } 4968fi 4969 4970 4971 test -n "$ac_ct_DUMPBIN" && break 4972done 4973 4974 if test "x$ac_ct_DUMPBIN" = x; then 4975 DUMPBIN=":" 4976 else 4977 case $cross_compiling:$ac_tool_warned in 4978yes:) 4979{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4980$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4981ac_tool_warned=yes ;; 4982esac 4983 DUMPBIN=$ac_ct_DUMPBIN 4984 fi 4985fi 4986 4987 4988 if test "$DUMPBIN" != ":"; then 4989 NM="$DUMPBIN" 4990 fi 4991fi 4992test -z "$NM" && NM=nm 4993 4994 4995 4996 4997 4998 4999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5000$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5001if test "${lt_cv_nm_interface+set}" = set; then : 5002 $as_echo_n "(cached) " >&6 5003else 5004 lt_cv_nm_interface="BSD nm" 5005 echo "int some_variable = 0;" > conftest.$ac_ext 5006 (eval echo "\"\$as_me:5006: $ac_compile\"" >&5) 5007 (eval "$ac_compile" 2>conftest.err) 5008 cat conftest.err >&5 5009 (eval echo "\"\$as_me:5009: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5010 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5011 cat conftest.err >&5 5012 (eval echo "\"\$as_me:5012: output\"" >&5) 5013 cat conftest.out >&5 5014 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5015 lt_cv_nm_interface="MS dumpbin" 5016 fi 5017 rm -f conftest* 5018fi 5019{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5020$as_echo "$lt_cv_nm_interface" >&6; } 5021 5022{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5023$as_echo_n "checking whether ln -s works... " >&6; } 5024LN_S=$as_ln_s 5025if test "$LN_S" = "ln -s"; then 5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5027$as_echo "yes" >&6; } 5028else 5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5030$as_echo "no, using $LN_S" >&6; } 5031fi 5032 5033# find the maximum length of command line arguments 5034{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5035$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5036if test "${lt_cv_sys_max_cmd_len+set}" = set; then : 5037 $as_echo_n "(cached) " >&6 5038else 5039 i=0 5040 teststring="ABCD" 5041 5042 case $build_os in 5043 msdosdjgpp*) 5044 # On DJGPP, this test can blow up pretty badly due to problems in libc 5045 # (any single argument exceeding 2000 bytes causes a buffer overrun 5046 # during glob expansion). Even if it were fixed, the result of this 5047 # check would be larger than it should be. 5048 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5049 ;; 5050 5051 gnu*) 5052 # Under GNU Hurd, this test is not required because there is 5053 # no limit to the length of command line arguments. 5054 # Libtool will interpret -1 as no limit whatsoever 5055 lt_cv_sys_max_cmd_len=-1; 5056 ;; 5057 5058 cygwin* | mingw* | cegcc*) 5059 # On Win9x/ME, this test blows up -- it succeeds, but takes 5060 # about 5 minutes as the teststring grows exponentially. 5061 # Worse, since 9x/ME are not pre-emptively multitasking, 5062 # you end up with a "frozen" computer, even though with patience 5063 # the test eventually succeeds (with a max line length of 256k). 5064 # Instead, let's just punt: use the minimum linelength reported by 5065 # all of the supported platforms: 8192 (on NT/2K/XP). 5066 lt_cv_sys_max_cmd_len=8192; 5067 ;; 5068 5069 amigaos*) 5070 # On AmigaOS with pdksh, this test takes hours, literally. 5071 # So we just punt and use a minimum line length of 8192. 5072 lt_cv_sys_max_cmd_len=8192; 5073 ;; 5074 5075 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 5076 # This has been around since 386BSD, at least. Likely further. 5077 if test -x /sbin/sysctl; then 5078 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5079 elif test -x /usr/sbin/sysctl; then 5080 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5081 else 5082 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5083 fi 5084 # And add a safety zone 5085 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5086 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5087 ;; 5088 5089 interix*) 5090 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5091 lt_cv_sys_max_cmd_len=196608 5092 ;; 5093 5094 osf*) 5095 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5096 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5097 # nice to cause kernel panics so lets avoid the loop below. 5098 # First set a reasonable default. 5099 lt_cv_sys_max_cmd_len=16384 5100 # 5101 if test -x /sbin/sysconfig; then 5102 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5103 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5104 esac 5105 fi 5106 ;; 5107 sco3.2v5*) 5108 lt_cv_sys_max_cmd_len=102400 5109 ;; 5110 sysv5* | sco5v6* | sysv4.2uw2*) 5111 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5112 if test -n "$kargmax"; then 5113 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5114 else 5115 lt_cv_sys_max_cmd_len=32768 5116 fi 5117 ;; 5118 *) 5119 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5120 if test -n "$lt_cv_sys_max_cmd_len"; then 5121 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5122 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5123 else 5124 # Make teststring a little bigger before we do anything with it. 5125 # a 1K string should be a reasonable start. 5126 for i in 1 2 3 4 5 6 7 8 ; do 5127 teststring=$teststring$teststring 5128 done 5129 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5130 # If test is not a shell built-in, we'll probably end up computing a 5131 # maximum length that is only half of the actual maximum length, but 5132 # we can't tell. 5133 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ 5134 = "XX$teststring$teststring"; } >/dev/null 2>&1 && 5135 test $i != 17 # 1/2 MB should be enough 5136 do 5137 i=`expr $i + 1` 5138 teststring=$teststring$teststring 5139 done 5140 # Only check the string length outside the loop. 5141 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5142 teststring= 5143 # Add a significant safety factor because C++ compilers can tack on 5144 # massive amounts of additional arguments before passing them to the 5145 # linker. It appears as though 1/2 is a usable value. 5146 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5147 fi 5148 ;; 5149 esac 5150 5151fi 5152 5153if test -n $lt_cv_sys_max_cmd_len ; then 5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5155$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5156else 5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5158$as_echo "none" >&6; } 5159fi 5160max_cmd_len=$lt_cv_sys_max_cmd_len 5161 5162 5163 5164 5165 5166 5167: ${CP="cp -f"} 5168: ${MV="mv -f"} 5169: ${RM="rm -f"} 5170 5171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 5172$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 5173# Try some XSI features 5174xsi_shell=no 5175( _lt_dummy="a/b/c" 5176 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ 5177 = c,a/b,, \ 5178 && eval 'test $(( 1 + 1 )) -eq 2 \ 5179 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 5180 && xsi_shell=yes 5181{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 5182$as_echo "$xsi_shell" >&6; } 5183 5184 5185{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 5186$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 5187lt_shell_append=no 5188( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 5189 >/dev/null 2>&1 \ 5190 && lt_shell_append=yes 5191{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 5192$as_echo "$lt_shell_append" >&6; } 5193 5194 5195if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5196 lt_unset=unset 5197else 5198 lt_unset=false 5199fi 5200 5201 5202 5203 5204 5205# test EBCDIC or ASCII 5206case `echo X|tr X '\101'` in 5207 A) # ASCII based system 5208 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5209 lt_SP2NL='tr \040 \012' 5210 lt_NL2SP='tr \015\012 \040\040' 5211 ;; 5212 *) # EBCDIC based system 5213 lt_SP2NL='tr \100 \n' 5214 lt_NL2SP='tr \r\n \100\100' 5215 ;; 5216esac 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5227$as_echo_n "checking for $LD option to reload object files... " >&6; } 5228if test "${lt_cv_ld_reload_flag+set}" = set; then : 5229 $as_echo_n "(cached) " >&6 5230else 5231 lt_cv_ld_reload_flag='-r' 5232fi 5233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5234$as_echo "$lt_cv_ld_reload_flag" >&6; } 5235reload_flag=$lt_cv_ld_reload_flag 5236case $reload_flag in 5237"" | " "*) ;; 5238*) reload_flag=" $reload_flag" ;; 5239esac 5240reload_cmds='$LD$reload_flag -o $output$reload_objs' 5241case $host_os in 5242 darwin*) 5243 if test "$GCC" = yes; then 5244 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5245 else 5246 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5247 fi 5248 ;; 5249esac 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259if test -n "$ac_tool_prefix"; then 5260 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5261set dummy ${ac_tool_prefix}objdump; ac_word=$2 5262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5263$as_echo_n "checking for $ac_word... " >&6; } 5264if test "${ac_cv_prog_OBJDUMP+set}" = set; then : 5265 $as_echo_n "(cached) " >&6 5266else 5267 if test -n "$OBJDUMP"; then 5268 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5269else 5270as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5271for as_dir in $PATH 5272do 5273 IFS=$as_save_IFS 5274 test -z "$as_dir" && as_dir=. 5275 for ac_exec_ext in '' $ac_executable_extensions; do 5276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5277 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5279 break 2 5280 fi 5281done 5282 done 5283IFS=$as_save_IFS 5284 5285fi 5286fi 5287OBJDUMP=$ac_cv_prog_OBJDUMP 5288if test -n "$OBJDUMP"; then 5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5290$as_echo "$OBJDUMP" >&6; } 5291else 5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5293$as_echo "no" >&6; } 5294fi 5295 5296 5297fi 5298if test -z "$ac_cv_prog_OBJDUMP"; then 5299 ac_ct_OBJDUMP=$OBJDUMP 5300 # Extract the first word of "objdump", so it can be a program name with args. 5301set dummy objdump; ac_word=$2 5302{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5303$as_echo_n "checking for $ac_word... " >&6; } 5304if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : 5305 $as_echo_n "(cached) " >&6 5306else 5307 if test -n "$ac_ct_OBJDUMP"; then 5308 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5309else 5310as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5311for as_dir in $PATH 5312do 5313 IFS=$as_save_IFS 5314 test -z "$as_dir" && as_dir=. 5315 for ac_exec_ext in '' $ac_executable_extensions; do 5316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5317 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5319 break 2 5320 fi 5321done 5322 done 5323IFS=$as_save_IFS 5324 5325fi 5326fi 5327ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5328if test -n "$ac_ct_OBJDUMP"; then 5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5330$as_echo "$ac_ct_OBJDUMP" >&6; } 5331else 5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5333$as_echo "no" >&6; } 5334fi 5335 5336 if test "x$ac_ct_OBJDUMP" = x; then 5337 OBJDUMP="false" 5338 else 5339 case $cross_compiling:$ac_tool_warned in 5340yes:) 5341{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5342$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5343ac_tool_warned=yes ;; 5344esac 5345 OBJDUMP=$ac_ct_OBJDUMP 5346 fi 5347else 5348 OBJDUMP="$ac_cv_prog_OBJDUMP" 5349fi 5350 5351test -z "$OBJDUMP" && OBJDUMP=objdump 5352 5353 5354 5355 5356 5357 5358{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5359$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5360if test "${lt_cv_deplibs_check_method+set}" = set; then : 5361 $as_echo_n "(cached) " >&6 5362else 5363 lt_cv_file_magic_cmd='$MAGIC_CMD' 5364lt_cv_file_magic_test_file= 5365lt_cv_deplibs_check_method='unknown' 5366# Need to set the preceding variable on all platforms that support 5367# interlibrary dependencies. 5368# 'none' -- dependencies not supported. 5369# `unknown' -- same as none, but documents that we really don't know. 5370# 'pass_all' -- all dependencies passed with no checks. 5371# 'test_compile' -- check by making test program. 5372# 'file_magic [[regex]]' -- check by looking for files in library path 5373# which responds to the $file_magic_cmd with a given extended regex. 5374# If you have `file' or equivalent on your system and you're not sure 5375# whether `pass_all' will *always* work, you probably want this one. 5376 5377case $host_os in 5378aix[4-9]*) 5379 lt_cv_deplibs_check_method=pass_all 5380 ;; 5381 5382beos*) 5383 lt_cv_deplibs_check_method=pass_all 5384 ;; 5385 5386bsdi[45]*) 5387 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5388 lt_cv_file_magic_cmd='/usr/bin/file -L' 5389 lt_cv_file_magic_test_file=/shlib/libc.so 5390 ;; 5391 5392cygwin*) 5393 # func_win32_libid is a shell function defined in ltmain.sh 5394 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5395 lt_cv_file_magic_cmd='func_win32_libid' 5396 ;; 5397 5398mingw* | pw32*) 5399 # Base MSYS/MinGW do not provide the 'file' command needed by 5400 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5401 # unless we find 'file', for example because we are cross-compiling. 5402 if ( file / ) >/dev/null 2>&1; then 5403 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5404 lt_cv_file_magic_cmd='func_win32_libid' 5405 else 5406 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 5407 lt_cv_file_magic_cmd='$OBJDUMP -f' 5408 fi 5409 ;; 5410 5411cegcc) 5412 # use the weaker test based on 'objdump'. See mingw*. 5413 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5414 lt_cv_file_magic_cmd='$OBJDUMP -f' 5415 ;; 5416 5417darwin* | rhapsody*) 5418 lt_cv_deplibs_check_method=pass_all 5419 ;; 5420 5421freebsd* | dragonfly*) 5422 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5423 case $host_cpu in 5424 i*86 ) 5425 # Not sure whether the presence of OpenBSD here was a mistake. 5426 # Let's accept both of them until this is cleared up. 5427 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5428 lt_cv_file_magic_cmd=/usr/bin/file 5429 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5430 ;; 5431 esac 5432 else 5433 lt_cv_deplibs_check_method=pass_all 5434 fi 5435 ;; 5436 5437gnu*) 5438 lt_cv_deplibs_check_method=pass_all 5439 ;; 5440 5441hpux10.20* | hpux11*) 5442 lt_cv_file_magic_cmd=/usr/bin/file 5443 case $host_cpu in 5444 ia64*) 5445 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5446 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5447 ;; 5448 hppa*64*) 5449 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]' 5450 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5451 ;; 5452 *) 5453 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 5454 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5455 ;; 5456 esac 5457 ;; 5458 5459interix[3-9]*) 5460 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5461 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5462 ;; 5463 5464irix5* | irix6* | nonstopux*) 5465 case $LD in 5466 *-32|*"-32 ") libmagic=32-bit;; 5467 *-n32|*"-n32 ") libmagic=N32;; 5468 *-64|*"-64 ") libmagic=64-bit;; 5469 *) libmagic=never-match;; 5470 esac 5471 lt_cv_deplibs_check_method=pass_all 5472 ;; 5473 5474# This must be Linux ELF. 5475linux* | k*bsd*-gnu | kopensolaris*-gnu) 5476 lt_cv_deplibs_check_method=pass_all 5477 ;; 5478 5479netbsd* | netbsdelf*-gnu) 5480 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5481 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5482 else 5483 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5484 fi 5485 ;; 5486 5487newos6*) 5488 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5489 lt_cv_file_magic_cmd=/usr/bin/file 5490 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5491 ;; 5492 5493*nto* | *qnx*) 5494 lt_cv_deplibs_check_method=pass_all 5495 ;; 5496 5497openbsd*) 5498 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 5499 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5500 else 5501 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5502 fi 5503 ;; 5504 5505osf3* | osf4* | osf5*) 5506 lt_cv_deplibs_check_method=pass_all 5507 ;; 5508 5509rdos*) 5510 lt_cv_deplibs_check_method=pass_all 5511 ;; 5512 5513solaris*) 5514 lt_cv_deplibs_check_method=pass_all 5515 ;; 5516 5517sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5518 lt_cv_deplibs_check_method=pass_all 5519 ;; 5520 5521sysv4 | sysv4.3*) 5522 case $host_vendor in 5523 motorola) 5524 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]' 5525 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5526 ;; 5527 ncr) 5528 lt_cv_deplibs_check_method=pass_all 5529 ;; 5530 sequent) 5531 lt_cv_file_magic_cmd='/bin/file' 5532 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5533 ;; 5534 sni) 5535 lt_cv_file_magic_cmd='/bin/file' 5536 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5537 lt_cv_file_magic_test_file=/lib/libc.so 5538 ;; 5539 siemens) 5540 lt_cv_deplibs_check_method=pass_all 5541 ;; 5542 pc) 5543 lt_cv_deplibs_check_method=pass_all 5544 ;; 5545 esac 5546 ;; 5547 5548tpf*) 5549 lt_cv_deplibs_check_method=pass_all 5550 ;; 5551esac 5552 5553fi 5554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5555$as_echo "$lt_cv_deplibs_check_method" >&6; } 5556file_magic_cmd=$lt_cv_file_magic_cmd 5557deplibs_check_method=$lt_cv_deplibs_check_method 5558test -z "$deplibs_check_method" && deplibs_check_method=unknown 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571if test -n "$ac_tool_prefix"; then 5572 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 5573set dummy ${ac_tool_prefix}ar; ac_word=$2 5574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5575$as_echo_n "checking for $ac_word... " >&6; } 5576if test "${ac_cv_prog_AR+set}" = set; then : 5577 $as_echo_n "(cached) " >&6 5578else 5579 if test -n "$AR"; then 5580 ac_cv_prog_AR="$AR" # Let the user override the test. 5581else 5582as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5583for as_dir in $PATH 5584do 5585 IFS=$as_save_IFS 5586 test -z "$as_dir" && as_dir=. 5587 for ac_exec_ext in '' $ac_executable_extensions; do 5588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5589 ac_cv_prog_AR="${ac_tool_prefix}ar" 5590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5591 break 2 5592 fi 5593done 5594 done 5595IFS=$as_save_IFS 5596 5597fi 5598fi 5599AR=$ac_cv_prog_AR 5600if test -n "$AR"; then 5601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5602$as_echo "$AR" >&6; } 5603else 5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5605$as_echo "no" >&6; } 5606fi 5607 5608 5609fi 5610if test -z "$ac_cv_prog_AR"; then 5611 ac_ct_AR=$AR 5612 # Extract the first word of "ar", so it can be a program name with args. 5613set dummy ar; ac_word=$2 5614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5615$as_echo_n "checking for $ac_word... " >&6; } 5616if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : 5617 $as_echo_n "(cached) " >&6 5618else 5619 if test -n "$ac_ct_AR"; then 5620 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5621else 5622as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5623for as_dir in $PATH 5624do 5625 IFS=$as_save_IFS 5626 test -z "$as_dir" && as_dir=. 5627 for ac_exec_ext in '' $ac_executable_extensions; do 5628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5629 ac_cv_prog_ac_ct_AR="ar" 5630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5631 break 2 5632 fi 5633done 5634 done 5635IFS=$as_save_IFS 5636 5637fi 5638fi 5639ac_ct_AR=$ac_cv_prog_ac_ct_AR 5640if test -n "$ac_ct_AR"; then 5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5642$as_echo "$ac_ct_AR" >&6; } 5643else 5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5645$as_echo "no" >&6; } 5646fi 5647 5648 if test "x$ac_ct_AR" = x; then 5649 AR="false" 5650 else 5651 case $cross_compiling:$ac_tool_warned in 5652yes:) 5653{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5654$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5655ac_tool_warned=yes ;; 5656esac 5657 AR=$ac_ct_AR 5658 fi 5659else 5660 AR="$ac_cv_prog_AR" 5661fi 5662 5663test -z "$AR" && AR=ar 5664test -z "$AR_FLAGS" && AR_FLAGS=cru 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676if test -n "$ac_tool_prefix"; then 5677 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5678set dummy ${ac_tool_prefix}strip; ac_word=$2 5679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5680$as_echo_n "checking for $ac_word... " >&6; } 5681if test "${ac_cv_prog_STRIP+set}" = set; then : 5682 $as_echo_n "(cached) " >&6 5683else 5684 if test -n "$STRIP"; then 5685 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5686else 5687as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5688for as_dir in $PATH 5689do 5690 IFS=$as_save_IFS 5691 test -z "$as_dir" && as_dir=. 5692 for ac_exec_ext in '' $ac_executable_extensions; do 5693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5694 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5696 break 2 5697 fi 5698done 5699 done 5700IFS=$as_save_IFS 5701 5702fi 5703fi 5704STRIP=$ac_cv_prog_STRIP 5705if test -n "$STRIP"; then 5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5707$as_echo "$STRIP" >&6; } 5708else 5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5710$as_echo "no" >&6; } 5711fi 5712 5713 5714fi 5715if test -z "$ac_cv_prog_STRIP"; then 5716 ac_ct_STRIP=$STRIP 5717 # Extract the first word of "strip", so it can be a program name with args. 5718set dummy strip; ac_word=$2 5719{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5720$as_echo_n "checking for $ac_word... " >&6; } 5721if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 5722 $as_echo_n "(cached) " >&6 5723else 5724 if test -n "$ac_ct_STRIP"; then 5725 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5726else 5727as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5728for as_dir in $PATH 5729do 5730 IFS=$as_save_IFS 5731 test -z "$as_dir" && as_dir=. 5732 for ac_exec_ext in '' $ac_executable_extensions; do 5733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5734 ac_cv_prog_ac_ct_STRIP="strip" 5735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5736 break 2 5737 fi 5738done 5739 done 5740IFS=$as_save_IFS 5741 5742fi 5743fi 5744ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5745if test -n "$ac_ct_STRIP"; then 5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5747$as_echo "$ac_ct_STRIP" >&6; } 5748else 5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5750$as_echo "no" >&6; } 5751fi 5752 5753 if test "x$ac_ct_STRIP" = x; then 5754 STRIP=":" 5755 else 5756 case $cross_compiling:$ac_tool_warned in 5757yes:) 5758{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5759$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5760ac_tool_warned=yes ;; 5761esac 5762 STRIP=$ac_ct_STRIP 5763 fi 5764else 5765 STRIP="$ac_cv_prog_STRIP" 5766fi 5767 5768test -z "$STRIP" && STRIP=: 5769 5770 5771 5772 5773 5774 5775if test -n "$ac_tool_prefix"; then 5776 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5777set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5779$as_echo_n "checking for $ac_word... " >&6; } 5780if test "${ac_cv_prog_RANLIB+set}" = set; then : 5781 $as_echo_n "(cached) " >&6 5782else 5783 if test -n "$RANLIB"; then 5784 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5785else 5786as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5787for as_dir in $PATH 5788do 5789 IFS=$as_save_IFS 5790 test -z "$as_dir" && as_dir=. 5791 for ac_exec_ext in '' $ac_executable_extensions; do 5792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5793 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5795 break 2 5796 fi 5797done 5798 done 5799IFS=$as_save_IFS 5800 5801fi 5802fi 5803RANLIB=$ac_cv_prog_RANLIB 5804if test -n "$RANLIB"; then 5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5806$as_echo "$RANLIB" >&6; } 5807else 5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5809$as_echo "no" >&6; } 5810fi 5811 5812 5813fi 5814if test -z "$ac_cv_prog_RANLIB"; then 5815 ac_ct_RANLIB=$RANLIB 5816 # Extract the first word of "ranlib", so it can be a program name with args. 5817set dummy ranlib; ac_word=$2 5818{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5819$as_echo_n "checking for $ac_word... " >&6; } 5820if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 5821 $as_echo_n "(cached) " >&6 5822else 5823 if test -n "$ac_ct_RANLIB"; then 5824 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5825else 5826as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5827for as_dir in $PATH 5828do 5829 IFS=$as_save_IFS 5830 test -z "$as_dir" && as_dir=. 5831 for ac_exec_ext in '' $ac_executable_extensions; do 5832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5833 ac_cv_prog_ac_ct_RANLIB="ranlib" 5834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5835 break 2 5836 fi 5837done 5838 done 5839IFS=$as_save_IFS 5840 5841fi 5842fi 5843ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5844if test -n "$ac_ct_RANLIB"; then 5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 5846$as_echo "$ac_ct_RANLIB" >&6; } 5847else 5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5849$as_echo "no" >&6; } 5850fi 5851 5852 if test "x$ac_ct_RANLIB" = x; then 5853 RANLIB=":" 5854 else 5855 case $cross_compiling:$ac_tool_warned in 5856yes:) 5857{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5858$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5859ac_tool_warned=yes ;; 5860esac 5861 RANLIB=$ac_ct_RANLIB 5862 fi 5863else 5864 RANLIB="$ac_cv_prog_RANLIB" 5865fi 5866 5867test -z "$RANLIB" && RANLIB=: 5868 5869 5870 5871 5872 5873 5874# Determine commands to create old-style static archives. 5875old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 5876old_postinstall_cmds='chmod 644 $oldlib' 5877old_postuninstall_cmds= 5878 5879if test -n "$RANLIB"; then 5880 case $host_os in 5881 openbsd*) 5882 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 5883 ;; 5884 *) 5885 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 5886 ;; 5887 esac 5888 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 5889fi 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924# If no C compiler was specified, use CC. 5925LTCC=${LTCC-"$CC"} 5926 5927# If no C compiler flags were specified, use CFLAGS. 5928LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 5929 5930# Allow CC to be a program name with arguments. 5931compiler=$CC 5932 5933 5934# Check for command to grab the raw symbol name followed by C symbol from nm. 5935{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 5936$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 5937if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : 5938 $as_echo_n "(cached) " >&6 5939else 5940 5941# These are sane defaults that work on at least a few old systems. 5942# [They come from Ultrix. What could be older than Ultrix?!! ;)] 5943 5944# Character class describing NM global symbol codes. 5945symcode='[BCDEGRST]' 5946 5947# Regexp to match symbols that can be accessed directly from C. 5948sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 5949 5950# Define system-specific variables. 5951case $host_os in 5952aix*) 5953 symcode='[BCDT]' 5954 ;; 5955cygwin* | mingw* | pw32* | cegcc*) 5956 symcode='[ABCDGISTW]' 5957 ;; 5958hpux*) 5959 if test "$host_cpu" = ia64; then 5960 symcode='[ABCDEGRST]' 5961 fi 5962 ;; 5963irix* | nonstopux*) 5964 symcode='[BCDEGRST]' 5965 ;; 5966osf*) 5967 symcode='[BCDEGQRST]' 5968 ;; 5969solaris*) 5970 symcode='[BDRT]' 5971 ;; 5972sco3.2v5*) 5973 symcode='[DT]' 5974 ;; 5975sysv4.2uw2*) 5976 symcode='[DT]' 5977 ;; 5978sysv5* | sco5v6* | unixware* | OpenUNIX*) 5979 symcode='[ABDT]' 5980 ;; 5981sysv4) 5982 symcode='[DFNSTU]' 5983 ;; 5984esac 5985 5986# If we're using GNU nm, then use its standard symbol codes. 5987case `$NM -V 2>&1` in 5988*GNU* | *'with BFD'*) 5989 symcode='[ABCDGIRSTW]' ;; 5990esac 5991 5992# Transform an extracted symbol line into a proper C declaration. 5993# Some systems (esp. on ia64) link data and code symbols differently, 5994# so use this general approach. 5995lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 5996 5997# Transform an extracted symbol line into symbol name and symbol address 5998lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 5999lt_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'" 6000 6001# Handle CRLF in mingw tool chain 6002opt_cr= 6003case $build_os in 6004mingw*) 6005 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6006 ;; 6007esac 6008 6009# Try without a prefix underscore, then with it. 6010for ac_symprfx in "" "_"; do 6011 6012 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6013 symxfrm="\\1 $ac_symprfx\\2 \\2" 6014 6015 # Write the raw and C identifiers. 6016 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6017 # Fake it for dumpbin and say T for any non-static function 6018 # and D for any global variable. 6019 # Also find C++ and __fastcall symbols from MSVC++, 6020 # which start with @ or ?. 6021 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6022" {last_section=section; section=\$ 3};"\ 6023" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6024" \$ 0!~/External *\|/{next};"\ 6025" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6026" {if(hide[section]) next};"\ 6027" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 6028" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 6029" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 6030" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 6031" ' prfx=^$ac_symprfx" 6032 else 6033 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6034 fi 6035 6036 # Check to see that the pipe works correctly. 6037 pipe_works=no 6038 6039 rm -f conftest* 6040 cat > conftest.$ac_ext <<_LT_EOF 6041#ifdef __cplusplus 6042extern "C" { 6043#endif 6044char nm_test_var; 6045void nm_test_func(void); 6046void nm_test_func(void){} 6047#ifdef __cplusplus 6048} 6049#endif 6050int main(){nm_test_var='a';nm_test_func();return(0);} 6051_LT_EOF 6052 6053 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6054 (eval $ac_compile) 2>&5 6055 ac_status=$? 6056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6057 test $ac_status = 0; }; then 6058 # Now try to grab the symbols. 6059 nlist=conftest.nm 6060 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 6061 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 6062 ac_status=$? 6063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6064 test $ac_status = 0; } && test -s "$nlist"; then 6065 # Try sorting and uniquifying the output. 6066 if sort "$nlist" | uniq > "$nlist"T; then 6067 mv -f "$nlist"T "$nlist" 6068 else 6069 rm -f "$nlist"T 6070 fi 6071 6072 # Make sure that we snagged all the symbols we need. 6073 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6074 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6075 cat <<_LT_EOF > conftest.$ac_ext 6076#ifdef __cplusplus 6077extern "C" { 6078#endif 6079 6080_LT_EOF 6081 # Now generate the symbol file. 6082 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6083 6084 cat <<_LT_EOF >> conftest.$ac_ext 6085 6086/* The mapping between symbol names and symbols. */ 6087const struct { 6088 const char *name; 6089 void *address; 6090} 6091lt__PROGRAM__LTX_preloaded_symbols[] = 6092{ 6093 { "@PROGRAM@", (void *) 0 }, 6094_LT_EOF 6095 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6096 cat <<\_LT_EOF >> conftest.$ac_ext 6097 {0, (void *) 0} 6098}; 6099 6100/* This works around a problem in FreeBSD linker */ 6101#ifdef FREEBSD_WORKAROUND 6102static const void *lt_preloaded_setup() { 6103 return lt__PROGRAM__LTX_preloaded_symbols; 6104} 6105#endif 6106 6107#ifdef __cplusplus 6108} 6109#endif 6110_LT_EOF 6111 # Now try linking the two files. 6112 mv conftest.$ac_objext conftstm.$ac_objext 6113 lt_save_LIBS="$LIBS" 6114 lt_save_CFLAGS="$CFLAGS" 6115 LIBS="conftstm.$ac_objext" 6116 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6117 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6118 (eval $ac_link) 2>&5 6119 ac_status=$? 6120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6121 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 6122 pipe_works=yes 6123 fi 6124 LIBS="$lt_save_LIBS" 6125 CFLAGS="$lt_save_CFLAGS" 6126 else 6127 echo "cannot find nm_test_func in $nlist" >&5 6128 fi 6129 else 6130 echo "cannot find nm_test_var in $nlist" >&5 6131 fi 6132 else 6133 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6134 fi 6135 else 6136 echo "$progname: failed program was:" >&5 6137 cat conftest.$ac_ext >&5 6138 fi 6139 rm -rf conftest* conftst* 6140 6141 # Do not use the global_symbol_pipe unless it works. 6142 if test "$pipe_works" = yes; then 6143 break 6144 else 6145 lt_cv_sys_global_symbol_pipe= 6146 fi 6147done 6148 6149fi 6150 6151if test -z "$lt_cv_sys_global_symbol_pipe"; then 6152 lt_cv_sys_global_symbol_to_cdecl= 6153fi 6154if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6156$as_echo "failed" >&6; } 6157else 6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6159$as_echo "ok" >&6; } 6160fi 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183# Check whether --enable-libtool-lock was given. 6184if test "${enable_libtool_lock+set}" = set; then : 6185 enableval=$enable_libtool_lock; 6186fi 6187 6188test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 6189 6190# Some flags need to be propagated to the compiler or linker for good 6191# libtool support. 6192case $host in 6193ia64-*-hpux*) 6194 # Find out which ABI we are using. 6195 echo 'int i;' > conftest.$ac_ext 6196 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6197 (eval $ac_compile) 2>&5 6198 ac_status=$? 6199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6200 test $ac_status = 0; }; then 6201 case `/usr/bin/file conftest.$ac_objext` in 6202 *ELF-32*) 6203 HPUX_IA64_MODE="32" 6204 ;; 6205 *ELF-64*) 6206 HPUX_IA64_MODE="64" 6207 ;; 6208 esac 6209 fi 6210 rm -rf conftest* 6211 ;; 6212*-*-irix6*) 6213 # Find out which ABI we are using. 6214 echo '#line 6214 "configure"' > conftest.$ac_ext 6215 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6216 (eval $ac_compile) 2>&5 6217 ac_status=$? 6218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6219 test $ac_status = 0; }; then 6220 if test "$lt_cv_prog_gnu_ld" = yes; then 6221 case `/usr/bin/file conftest.$ac_objext` in 6222 *32-bit*) 6223 LD="${LD-ld} -melf32bsmip" 6224 ;; 6225 *N32*) 6226 LD="${LD-ld} -melf32bmipn32" 6227 ;; 6228 *64-bit*) 6229 LD="${LD-ld} -melf64bmip" 6230 ;; 6231 esac 6232 else 6233 case `/usr/bin/file conftest.$ac_objext` in 6234 *32-bit*) 6235 LD="${LD-ld} -32" 6236 ;; 6237 *N32*) 6238 LD="${LD-ld} -n32" 6239 ;; 6240 *64-bit*) 6241 LD="${LD-ld} -64" 6242 ;; 6243 esac 6244 fi 6245 fi 6246 rm -rf conftest* 6247 ;; 6248 6249x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 6250s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6251 # Find out which ABI we are using. 6252 echo 'int i;' > conftest.$ac_ext 6253 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6254 (eval $ac_compile) 2>&5 6255 ac_status=$? 6256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6257 test $ac_status = 0; }; then 6258 case `/usr/bin/file conftest.o` in 6259 *32-bit*) 6260 case $host in 6261 x86_64-*kfreebsd*-gnu) 6262 LD="${LD-ld} -m elf_i386_fbsd" 6263 ;; 6264 x86_64-*linux*) 6265 LD="${LD-ld} -m elf_i386" 6266 ;; 6267 ppc64-*linux*|powerpc64-*linux*) 6268 LD="${LD-ld} -m elf32ppclinux" 6269 ;; 6270 s390x-*linux*) 6271 LD="${LD-ld} -m elf_s390" 6272 ;; 6273 sparc64-*linux*) 6274 LD="${LD-ld} -m elf32_sparc" 6275 ;; 6276 esac 6277 ;; 6278 *64-bit*) 6279 case $host in 6280 x86_64-*kfreebsd*-gnu) 6281 LD="${LD-ld} -m elf_x86_64_fbsd" 6282 ;; 6283 x86_64-*linux*) 6284 LD="${LD-ld} -m elf_x86_64" 6285 ;; 6286 ppc*-*linux*|powerpc*-*linux*) 6287 LD="${LD-ld} -m elf64ppc" 6288 ;; 6289 s390*-*linux*|s390*-*tpf*) 6290 LD="${LD-ld} -m elf64_s390" 6291 ;; 6292 sparc*-*linux*) 6293 LD="${LD-ld} -m elf64_sparc" 6294 ;; 6295 esac 6296 ;; 6297 esac 6298 fi 6299 rm -rf conftest* 6300 ;; 6301 6302*-*-sco3.2v5*) 6303 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6304 SAVE_CFLAGS="$CFLAGS" 6305 CFLAGS="$CFLAGS -belf" 6306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6307$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6308if test "${lt_cv_cc_needs_belf+set}" = set; then : 6309 $as_echo_n "(cached) " >&6 6310else 6311 ac_ext=c 6312ac_cpp='$CPP $CPPFLAGS' 6313ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6314ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6315ac_compiler_gnu=$ac_cv_c_compiler_gnu 6316 6317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6318/* end confdefs.h. */ 6319 6320int 6321main () 6322{ 6323 6324 ; 6325 return 0; 6326} 6327_ACEOF 6328if ac_fn_c_try_link "$LINENO"; then : 6329 lt_cv_cc_needs_belf=yes 6330else 6331 lt_cv_cc_needs_belf=no 6332fi 6333rm -f core conftest.err conftest.$ac_objext \ 6334 conftest$ac_exeext conftest.$ac_ext 6335 ac_ext=c 6336ac_cpp='$CPP $CPPFLAGS' 6337ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6338ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6339ac_compiler_gnu=$ac_cv_c_compiler_gnu 6340 6341fi 6342{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6343$as_echo "$lt_cv_cc_needs_belf" >&6; } 6344 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 6345 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6346 CFLAGS="$SAVE_CFLAGS" 6347 fi 6348 ;; 6349sparc*-*solaris*) 6350 # Find out which ABI we are using. 6351 echo 'int i;' > conftest.$ac_ext 6352 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6353 (eval $ac_compile) 2>&5 6354 ac_status=$? 6355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6356 test $ac_status = 0; }; then 6357 case `/usr/bin/file conftest.o` in 6358 *64-bit*) 6359 case $lt_cv_prog_gnu_ld in 6360 yes*) LD="${LD-ld} -m elf64_sparc" ;; 6361 *) 6362 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6363 LD="${LD-ld} -64" 6364 fi 6365 ;; 6366 esac 6367 ;; 6368 esac 6369 fi 6370 rm -rf conftest* 6371 ;; 6372esac 6373 6374need_locks="$enable_libtool_lock" 6375 6376 6377 case $host_os in 6378 rhapsody* | darwin*) 6379 if test -n "$ac_tool_prefix"; then 6380 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6381set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6382{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6383$as_echo_n "checking for $ac_word... " >&6; } 6384if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : 6385 $as_echo_n "(cached) " >&6 6386else 6387 if test -n "$DSYMUTIL"; then 6388 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6389else 6390as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6391for as_dir in $PATH 6392do 6393 IFS=$as_save_IFS 6394 test -z "$as_dir" && as_dir=. 6395 for ac_exec_ext in '' $ac_executable_extensions; do 6396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6397 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6399 break 2 6400 fi 6401done 6402 done 6403IFS=$as_save_IFS 6404 6405fi 6406fi 6407DSYMUTIL=$ac_cv_prog_DSYMUTIL 6408if test -n "$DSYMUTIL"; then 6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6410$as_echo "$DSYMUTIL" >&6; } 6411else 6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6413$as_echo "no" >&6; } 6414fi 6415 6416 6417fi 6418if test -z "$ac_cv_prog_DSYMUTIL"; then 6419 ac_ct_DSYMUTIL=$DSYMUTIL 6420 # Extract the first word of "dsymutil", so it can be a program name with args. 6421set dummy dsymutil; ac_word=$2 6422{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6423$as_echo_n "checking for $ac_word... " >&6; } 6424if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : 6425 $as_echo_n "(cached) " >&6 6426else 6427 if test -n "$ac_ct_DSYMUTIL"; then 6428 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6429else 6430as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6431for as_dir in $PATH 6432do 6433 IFS=$as_save_IFS 6434 test -z "$as_dir" && as_dir=. 6435 for ac_exec_ext in '' $ac_executable_extensions; do 6436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6437 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6439 break 2 6440 fi 6441done 6442 done 6443IFS=$as_save_IFS 6444 6445fi 6446fi 6447ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6448if test -n "$ac_ct_DSYMUTIL"; then 6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 6450$as_echo "$ac_ct_DSYMUTIL" >&6; } 6451else 6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6453$as_echo "no" >&6; } 6454fi 6455 6456 if test "x$ac_ct_DSYMUTIL" = x; then 6457 DSYMUTIL=":" 6458 else 6459 case $cross_compiling:$ac_tool_warned in 6460yes:) 6461{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6462$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6463ac_tool_warned=yes ;; 6464esac 6465 DSYMUTIL=$ac_ct_DSYMUTIL 6466 fi 6467else 6468 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6469fi 6470 6471 if test -n "$ac_tool_prefix"; then 6472 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6473set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6474{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6475$as_echo_n "checking for $ac_word... " >&6; } 6476if test "${ac_cv_prog_NMEDIT+set}" = set; then : 6477 $as_echo_n "(cached) " >&6 6478else 6479 if test -n "$NMEDIT"; then 6480 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6481else 6482as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6483for as_dir in $PATH 6484do 6485 IFS=$as_save_IFS 6486 test -z "$as_dir" && as_dir=. 6487 for ac_exec_ext in '' $ac_executable_extensions; do 6488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6489 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6491 break 2 6492 fi 6493done 6494 done 6495IFS=$as_save_IFS 6496 6497fi 6498fi 6499NMEDIT=$ac_cv_prog_NMEDIT 6500if test -n "$NMEDIT"; then 6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 6502$as_echo "$NMEDIT" >&6; } 6503else 6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6505$as_echo "no" >&6; } 6506fi 6507 6508 6509fi 6510if test -z "$ac_cv_prog_NMEDIT"; then 6511 ac_ct_NMEDIT=$NMEDIT 6512 # Extract the first word of "nmedit", so it can be a program name with args. 6513set dummy nmedit; ac_word=$2 6514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6515$as_echo_n "checking for $ac_word... " >&6; } 6516if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : 6517 $as_echo_n "(cached) " >&6 6518else 6519 if test -n "$ac_ct_NMEDIT"; then 6520 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6521else 6522as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6523for as_dir in $PATH 6524do 6525 IFS=$as_save_IFS 6526 test -z "$as_dir" && as_dir=. 6527 for ac_exec_ext in '' $ac_executable_extensions; do 6528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6529 ac_cv_prog_ac_ct_NMEDIT="nmedit" 6530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6531 break 2 6532 fi 6533done 6534 done 6535IFS=$as_save_IFS 6536 6537fi 6538fi 6539ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 6540if test -n "$ac_ct_NMEDIT"; then 6541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 6542$as_echo "$ac_ct_NMEDIT" >&6; } 6543else 6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6545$as_echo "no" >&6; } 6546fi 6547 6548 if test "x$ac_ct_NMEDIT" = x; then 6549 NMEDIT=":" 6550 else 6551 case $cross_compiling:$ac_tool_warned in 6552yes:) 6553{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6554$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6555ac_tool_warned=yes ;; 6556esac 6557 NMEDIT=$ac_ct_NMEDIT 6558 fi 6559else 6560 NMEDIT="$ac_cv_prog_NMEDIT" 6561fi 6562 6563 if test -n "$ac_tool_prefix"; then 6564 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 6565set dummy ${ac_tool_prefix}lipo; ac_word=$2 6566{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6567$as_echo_n "checking for $ac_word... " >&6; } 6568if test "${ac_cv_prog_LIPO+set}" = set; then : 6569 $as_echo_n "(cached) " >&6 6570else 6571 if test -n "$LIPO"; then 6572 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 6573else 6574as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6575for as_dir in $PATH 6576do 6577 IFS=$as_save_IFS 6578 test -z "$as_dir" && as_dir=. 6579 for ac_exec_ext in '' $ac_executable_extensions; do 6580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6581 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 6582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6583 break 2 6584 fi 6585done 6586 done 6587IFS=$as_save_IFS 6588 6589fi 6590fi 6591LIPO=$ac_cv_prog_LIPO 6592if test -n "$LIPO"; then 6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 6594$as_echo "$LIPO" >&6; } 6595else 6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6597$as_echo "no" >&6; } 6598fi 6599 6600 6601fi 6602if test -z "$ac_cv_prog_LIPO"; then 6603 ac_ct_LIPO=$LIPO 6604 # Extract the first word of "lipo", so it can be a program name with args. 6605set dummy lipo; ac_word=$2 6606{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6607$as_echo_n "checking for $ac_word... " >&6; } 6608if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : 6609 $as_echo_n "(cached) " >&6 6610else 6611 if test -n "$ac_ct_LIPO"; then 6612 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 6613else 6614as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6615for as_dir in $PATH 6616do 6617 IFS=$as_save_IFS 6618 test -z "$as_dir" && as_dir=. 6619 for ac_exec_ext in '' $ac_executable_extensions; do 6620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6621 ac_cv_prog_ac_ct_LIPO="lipo" 6622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6623 break 2 6624 fi 6625done 6626 done 6627IFS=$as_save_IFS 6628 6629fi 6630fi 6631ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 6632if test -n "$ac_ct_LIPO"; then 6633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 6634$as_echo "$ac_ct_LIPO" >&6; } 6635else 6636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6637$as_echo "no" >&6; } 6638fi 6639 6640 if test "x$ac_ct_LIPO" = x; then 6641 LIPO=":" 6642 else 6643 case $cross_compiling:$ac_tool_warned in 6644yes:) 6645{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6646$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6647ac_tool_warned=yes ;; 6648esac 6649 LIPO=$ac_ct_LIPO 6650 fi 6651else 6652 LIPO="$ac_cv_prog_LIPO" 6653fi 6654 6655 if test -n "$ac_tool_prefix"; then 6656 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 6657set dummy ${ac_tool_prefix}otool; ac_word=$2 6658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6659$as_echo_n "checking for $ac_word... " >&6; } 6660if test "${ac_cv_prog_OTOOL+set}" = set; then : 6661 $as_echo_n "(cached) " >&6 6662else 6663 if test -n "$OTOOL"; then 6664 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 6665else 6666as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6667for as_dir in $PATH 6668do 6669 IFS=$as_save_IFS 6670 test -z "$as_dir" && as_dir=. 6671 for ac_exec_ext in '' $ac_executable_extensions; do 6672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6673 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 6674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6675 break 2 6676 fi 6677done 6678 done 6679IFS=$as_save_IFS 6680 6681fi 6682fi 6683OTOOL=$ac_cv_prog_OTOOL 6684if test -n "$OTOOL"; then 6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 6686$as_echo "$OTOOL" >&6; } 6687else 6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6689$as_echo "no" >&6; } 6690fi 6691 6692 6693fi 6694if test -z "$ac_cv_prog_OTOOL"; then 6695 ac_ct_OTOOL=$OTOOL 6696 # Extract the first word of "otool", so it can be a program name with args. 6697set dummy otool; ac_word=$2 6698{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6699$as_echo_n "checking for $ac_word... " >&6; } 6700if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : 6701 $as_echo_n "(cached) " >&6 6702else 6703 if test -n "$ac_ct_OTOOL"; then 6704 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 6705else 6706as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6707for as_dir in $PATH 6708do 6709 IFS=$as_save_IFS 6710 test -z "$as_dir" && as_dir=. 6711 for ac_exec_ext in '' $ac_executable_extensions; do 6712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6713 ac_cv_prog_ac_ct_OTOOL="otool" 6714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6715 break 2 6716 fi 6717done 6718 done 6719IFS=$as_save_IFS 6720 6721fi 6722fi 6723ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 6724if test -n "$ac_ct_OTOOL"; then 6725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 6726$as_echo "$ac_ct_OTOOL" >&6; } 6727else 6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6729$as_echo "no" >&6; } 6730fi 6731 6732 if test "x$ac_ct_OTOOL" = x; then 6733 OTOOL=":" 6734 else 6735 case $cross_compiling:$ac_tool_warned in 6736yes:) 6737{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6738$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6739ac_tool_warned=yes ;; 6740esac 6741 OTOOL=$ac_ct_OTOOL 6742 fi 6743else 6744 OTOOL="$ac_cv_prog_OTOOL" 6745fi 6746 6747 if test -n "$ac_tool_prefix"; then 6748 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 6749set dummy ${ac_tool_prefix}otool64; ac_word=$2 6750{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6751$as_echo_n "checking for $ac_word... " >&6; } 6752if test "${ac_cv_prog_OTOOL64+set}" = set; then : 6753 $as_echo_n "(cached) " >&6 6754else 6755 if test -n "$OTOOL64"; then 6756 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 6757else 6758as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6759for as_dir in $PATH 6760do 6761 IFS=$as_save_IFS 6762 test -z "$as_dir" && as_dir=. 6763 for ac_exec_ext in '' $ac_executable_extensions; do 6764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6765 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 6766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6767 break 2 6768 fi 6769done 6770 done 6771IFS=$as_save_IFS 6772 6773fi 6774fi 6775OTOOL64=$ac_cv_prog_OTOOL64 6776if test -n "$OTOOL64"; then 6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 6778$as_echo "$OTOOL64" >&6; } 6779else 6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6781$as_echo "no" >&6; } 6782fi 6783 6784 6785fi 6786if test -z "$ac_cv_prog_OTOOL64"; then 6787 ac_ct_OTOOL64=$OTOOL64 6788 # Extract the first word of "otool64", so it can be a program name with args. 6789set dummy otool64; ac_word=$2 6790{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6791$as_echo_n "checking for $ac_word... " >&6; } 6792if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : 6793 $as_echo_n "(cached) " >&6 6794else 6795 if test -n "$ac_ct_OTOOL64"; then 6796 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 6797else 6798as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6799for as_dir in $PATH 6800do 6801 IFS=$as_save_IFS 6802 test -z "$as_dir" && as_dir=. 6803 for ac_exec_ext in '' $ac_executable_extensions; do 6804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6805 ac_cv_prog_ac_ct_OTOOL64="otool64" 6806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6807 break 2 6808 fi 6809done 6810 done 6811IFS=$as_save_IFS 6812 6813fi 6814fi 6815ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 6816if test -n "$ac_ct_OTOOL64"; then 6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 6818$as_echo "$ac_ct_OTOOL64" >&6; } 6819else 6820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6821$as_echo "no" >&6; } 6822fi 6823 6824 if test "x$ac_ct_OTOOL64" = x; then 6825 OTOOL64=":" 6826 else 6827 case $cross_compiling:$ac_tool_warned in 6828yes:) 6829{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6830$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6831ac_tool_warned=yes ;; 6832esac 6833 OTOOL64=$ac_ct_OTOOL64 6834 fi 6835else 6836 OTOOL64="$ac_cv_prog_OTOOL64" 6837fi 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 6866$as_echo_n "checking for -single_module linker flag... " >&6; } 6867if test "${lt_cv_apple_cc_single_mod+set}" = set; then : 6868 $as_echo_n "(cached) " >&6 6869else 6870 lt_cv_apple_cc_single_mod=no 6871 if test -z "${LT_MULTI_MODULE}"; then 6872 # By default we will add the -single_module flag. You can override 6873 # by either setting the environment variable LT_MULTI_MODULE 6874 # non-empty at configure time, or by adding -multi_module to the 6875 # link flags. 6876 rm -rf libconftest.dylib* 6877 echo "int foo(void){return 1;}" > conftest.c 6878 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 6879-dynamiclib -Wl,-single_module conftest.c" >&5 6880 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 6881 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 6882 _lt_result=$? 6883 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then 6884 lt_cv_apple_cc_single_mod=yes 6885 else 6886 cat conftest.err >&5 6887 fi 6888 rm -rf libconftest.dylib* 6889 rm -f conftest.* 6890 fi 6891fi 6892{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 6893$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 6895$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 6896if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : 6897 $as_echo_n "(cached) " >&6 6898else 6899 lt_cv_ld_exported_symbols_list=no 6900 save_LDFLAGS=$LDFLAGS 6901 echo "_main" > conftest.sym 6902 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 6903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6904/* end confdefs.h. */ 6905 6906int 6907main () 6908{ 6909 6910 ; 6911 return 0; 6912} 6913_ACEOF 6914if ac_fn_c_try_link "$LINENO"; then : 6915 lt_cv_ld_exported_symbols_list=yes 6916else 6917 lt_cv_ld_exported_symbols_list=no 6918fi 6919rm -f core conftest.err conftest.$ac_objext \ 6920 conftest$ac_exeext conftest.$ac_ext 6921 LDFLAGS="$save_LDFLAGS" 6922 6923fi 6924{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 6925$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 6926 case $host_os in 6927 rhapsody* | darwin1.[012]) 6928 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 6929 darwin1.*) 6930 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 6931 darwin*) # darwin 5.x on 6932 # if running on 10.5 or later, the deployment target defaults 6933 # to the OS version, if on x86, and 10.4, the deployment 6934 # target defaults to 10.4. Don't you love it? 6935 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 6936 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 6937 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 6938 10.[012]*) 6939 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 6940 10.*) 6941 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 6942 esac 6943 ;; 6944 esac 6945 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 6946 _lt_dar_single_mod='$single_module' 6947 fi 6948 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 6949 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 6950 else 6951 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 6952 fi 6953 if test "$DSYMUTIL" != ":"; then 6954 _lt_dsymutil='~$DSYMUTIL $lib || :' 6955 else 6956 _lt_dsymutil= 6957 fi 6958 ;; 6959 esac 6960 6961ac_ext=c 6962ac_cpp='$CPP $CPPFLAGS' 6963ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6964ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6965ac_compiler_gnu=$ac_cv_c_compiler_gnu 6966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 6967$as_echo_n "checking how to run the C preprocessor... " >&6; } 6968# On Suns, sometimes $CPP names a directory. 6969if test -n "$CPP" && test -d "$CPP"; then 6970 CPP= 6971fi 6972if test -z "$CPP"; then 6973 if test "${ac_cv_prog_CPP+set}" = set; then : 6974 $as_echo_n "(cached) " >&6 6975else 6976 # Double quotes because CPP needs to be expanded 6977 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 6978 do 6979 ac_preproc_ok=false 6980for ac_c_preproc_warn_flag in '' yes 6981do 6982 # Use a header file that comes with gcc, so configuring glibc 6983 # with a fresh cross-compiler works. 6984 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6985 # <limits.h> exists even on freestanding compilers. 6986 # On the NeXT, cc -E runs the code through the compiler's parser, 6987 # not just through cpp. "Syntax error" is here to catch this case. 6988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6989/* end confdefs.h. */ 6990#ifdef __STDC__ 6991# include <limits.h> 6992#else 6993# include <assert.h> 6994#endif 6995 Syntax error 6996_ACEOF 6997if ac_fn_c_try_cpp "$LINENO"; then : 6998 6999else 7000 # Broken: fails on valid input. 7001continue 7002fi 7003rm -f conftest.err conftest.i conftest.$ac_ext 7004 7005 # OK, works on sane cases. Now check whether nonexistent headers 7006 # can be detected and how. 7007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7008/* end confdefs.h. */ 7009#include <ac_nonexistent.h> 7010_ACEOF 7011if ac_fn_c_try_cpp "$LINENO"; then : 7012 # Broken: success on invalid input. 7013continue 7014else 7015 # Passes both tests. 7016ac_preproc_ok=: 7017break 7018fi 7019rm -f conftest.err conftest.i conftest.$ac_ext 7020 7021done 7022# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7023rm -f conftest.i conftest.err conftest.$ac_ext 7024if $ac_preproc_ok; then : 7025 break 7026fi 7027 7028 done 7029 ac_cv_prog_CPP=$CPP 7030 7031fi 7032 CPP=$ac_cv_prog_CPP 7033else 7034 ac_cv_prog_CPP=$CPP 7035fi 7036{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7037$as_echo "$CPP" >&6; } 7038ac_preproc_ok=false 7039for ac_c_preproc_warn_flag in '' yes 7040do 7041 # Use a header file that comes with gcc, so configuring glibc 7042 # with a fresh cross-compiler works. 7043 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7044 # <limits.h> exists even on freestanding compilers. 7045 # On the NeXT, cc -E runs the code through the compiler's parser, 7046 # not just through cpp. "Syntax error" is here to catch this case. 7047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7048/* end confdefs.h. */ 7049#ifdef __STDC__ 7050# include <limits.h> 7051#else 7052# include <assert.h> 7053#endif 7054 Syntax error 7055_ACEOF 7056if ac_fn_c_try_cpp "$LINENO"; then : 7057 7058else 7059 # Broken: fails on valid input. 7060continue 7061fi 7062rm -f conftest.err conftest.i conftest.$ac_ext 7063 7064 # OK, works on sane cases. Now check whether nonexistent headers 7065 # can be detected and how. 7066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7067/* end confdefs.h. */ 7068#include <ac_nonexistent.h> 7069_ACEOF 7070if ac_fn_c_try_cpp "$LINENO"; then : 7071 # Broken: success on invalid input. 7072continue 7073else 7074 # Passes both tests. 7075ac_preproc_ok=: 7076break 7077fi 7078rm -f conftest.err conftest.i conftest.$ac_ext 7079 7080done 7081# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7082rm -f conftest.i conftest.err conftest.$ac_ext 7083if $ac_preproc_ok; then : 7084 7085else 7086 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7087$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7088as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7089See \`config.log' for more details" "$LINENO" 5 ; } 7090fi 7091 7092ac_ext=c 7093ac_cpp='$CPP $CPPFLAGS' 7094ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7095ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7096ac_compiler_gnu=$ac_cv_c_compiler_gnu 7097 7098 7099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7100$as_echo_n "checking for ANSI C header files... " >&6; } 7101if test "${ac_cv_header_stdc+set}" = set; then : 7102 $as_echo_n "(cached) " >&6 7103else 7104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7105/* end confdefs.h. */ 7106#include <stdlib.h> 7107#include <stdarg.h> 7108#include <string.h> 7109#include <float.h> 7110 7111int 7112main () 7113{ 7114 7115 ; 7116 return 0; 7117} 7118_ACEOF 7119if ac_fn_c_try_compile "$LINENO"; then : 7120 ac_cv_header_stdc=yes 7121else 7122 ac_cv_header_stdc=no 7123fi 7124rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7125 7126if test $ac_cv_header_stdc = yes; then 7127 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7129/* end confdefs.h. */ 7130#include <string.h> 7131 7132_ACEOF 7133if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7134 $EGREP "memchr" >/dev/null 2>&1; then : 7135 7136else 7137 ac_cv_header_stdc=no 7138fi 7139rm -f conftest* 7140 7141fi 7142 7143if test $ac_cv_header_stdc = yes; then 7144 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7146/* end confdefs.h. */ 7147#include <stdlib.h> 7148 7149_ACEOF 7150if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7151 $EGREP "free" >/dev/null 2>&1; then : 7152 7153else 7154 ac_cv_header_stdc=no 7155fi 7156rm -f conftest* 7157 7158fi 7159 7160if test $ac_cv_header_stdc = yes; then 7161 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7162 if test "$cross_compiling" = yes; then : 7163 : 7164else 7165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7166/* end confdefs.h. */ 7167#include <ctype.h> 7168#include <stdlib.h> 7169#if ((' ' & 0x0FF) == 0x020) 7170# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7171# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7172#else 7173# define ISLOWER(c) \ 7174 (('a' <= (c) && (c) <= 'i') \ 7175 || ('j' <= (c) && (c) <= 'r') \ 7176 || ('s' <= (c) && (c) <= 'z')) 7177# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7178#endif 7179 7180#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7181int 7182main () 7183{ 7184 int i; 7185 for (i = 0; i < 256; i++) 7186 if (XOR (islower (i), ISLOWER (i)) 7187 || toupper (i) != TOUPPER (i)) 7188 return 2; 7189 return 0; 7190} 7191_ACEOF 7192if ac_fn_c_try_run "$LINENO"; then : 7193 7194else 7195 ac_cv_header_stdc=no 7196fi 7197rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7198 conftest.$ac_objext conftest.beam conftest.$ac_ext 7199fi 7200 7201fi 7202fi 7203{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7204$as_echo "$ac_cv_header_stdc" >&6; } 7205if test $ac_cv_header_stdc = yes; then 7206 7207$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7208 7209fi 7210 7211# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7212for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7213 inttypes.h stdint.h unistd.h 7214do : 7215 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7216ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7217" 7218if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7219 cat >>confdefs.h <<_ACEOF 7220#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7221_ACEOF 7222 7223fi 7224 7225done 7226 7227 7228for ac_header in dlfcn.h 7229do : 7230 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7231" 7232if test "x$ac_cv_header_dlfcn_h" = x""yes; then : 7233 cat >>confdefs.h <<_ACEOF 7234#define HAVE_DLFCN_H 1 7235_ACEOF 7236 7237fi 7238 7239done 7240 7241 7242 7243# Set options 7244 7245 7246 7247 enable_dlopen=no 7248 7249 7250 7251 # Check whether --enable-shared was given. 7252if test "${enable_shared+set}" = set; then : 7253 enableval=$enable_shared; p=${PACKAGE-default} 7254 case $enableval in 7255 yes) enable_shared=yes ;; 7256 no) enable_shared=no ;; 7257 *) 7258 enable_shared=no 7259 # Look at the argument we got. We use all the common list separators. 7260 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7261 for pkg in $enableval; do 7262 IFS="$lt_save_ifs" 7263 if test "X$pkg" = "X$p"; then 7264 enable_shared=yes 7265 fi 7266 done 7267 IFS="$lt_save_ifs" 7268 ;; 7269 esac 7270else 7271 enable_shared=yes 7272fi 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284# Check whether --with-pic was given. 7285if test "${with_pic+set}" = set; then : 7286 withval=$with_pic; pic_mode="$withval" 7287else 7288 pic_mode=default 7289fi 7290 7291 7292test -z "$pic_mode" && pic_mode=default 7293 7294 7295 7296 7297 7298 7299 7300 # Check whether --enable-fast-install was given. 7301if test "${enable_fast_install+set}" = set; then : 7302 enableval=$enable_fast_install; p=${PACKAGE-default} 7303 case $enableval in 7304 yes) enable_fast_install=yes ;; 7305 no) enable_fast_install=no ;; 7306 *) 7307 enable_fast_install=no 7308 # Look at the argument we got. We use all the common list separators. 7309 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7310 for pkg in $enableval; do 7311 IFS="$lt_save_ifs" 7312 if test "X$pkg" = "X$p"; then 7313 enable_fast_install=yes 7314 fi 7315 done 7316 IFS="$lt_save_ifs" 7317 ;; 7318 esac 7319else 7320 enable_fast_install=yes 7321fi 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333# This can be used to rebuild libtool when needed 7334LIBTOOL_DEPS="$ltmain" 7335 7336# Always use our own libtool. 7337LIBTOOL='$(SHELL) $(top_builddir)/libtool' 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363test -z "$LN_S" && LN_S="ln -s" 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378if test -n "${ZSH_VERSION+set}" ; then 7379 setopt NO_GLOB_SUBST 7380fi 7381 7382{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 7383$as_echo_n "checking for objdir... " >&6; } 7384if test "${lt_cv_objdir+set}" = set; then : 7385 $as_echo_n "(cached) " >&6 7386else 7387 rm -f .libs 2>/dev/null 7388mkdir .libs 2>/dev/null 7389if test -d .libs; then 7390 lt_cv_objdir=.libs 7391else 7392 # MS-DOS does not allow filenames that begin with a dot. 7393 lt_cv_objdir=_libs 7394fi 7395rmdir .libs 2>/dev/null 7396fi 7397{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 7398$as_echo "$lt_cv_objdir" >&6; } 7399objdir=$lt_cv_objdir 7400 7401 7402 7403 7404 7405cat >>confdefs.h <<_ACEOF 7406#define LT_OBJDIR "$lt_cv_objdir/" 7407_ACEOF 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425case $host_os in 7426aix3*) 7427 # AIX sometimes has problems with the GCC collect2 program. For some 7428 # reason, if we set the COLLECT_NAMES environment variable, the problems 7429 # vanish in a puff of smoke. 7430 if test "X${COLLECT_NAMES+set}" != Xset; then 7431 COLLECT_NAMES= 7432 export COLLECT_NAMES 7433 fi 7434 ;; 7435esac 7436 7437# Sed substitution that helps us do robust quoting. It backslashifies 7438# metacharacters that are still active within double-quoted strings. 7439sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 7440 7441# Same as above, but do not quote variable references. 7442double_quote_subst='s/\(["`\\]\)/\\\1/g' 7443 7444# Sed substitution to delay expansion of an escaped shell variable in a 7445# double_quote_subst'ed string. 7446delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 7447 7448# Sed substitution to delay expansion of an escaped single quote. 7449delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 7450 7451# Sed substitution to avoid accidental globbing in evaled expressions 7452no_glob_subst='s/\*/\\\*/g' 7453 7454# Global variables: 7455ofile=libtool 7456can_build_shared=yes 7457 7458# All known linkers require a `.a' archive for static linking (except MSVC, 7459# which needs '.lib'). 7460libext=a 7461 7462with_gnu_ld="$lt_cv_prog_gnu_ld" 7463 7464old_CC="$CC" 7465old_CFLAGS="$CFLAGS" 7466 7467# Set sane defaults for various variables 7468test -z "$CC" && CC=cc 7469test -z "$LTCC" && LTCC=$CC 7470test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7471test -z "$LD" && LD=ld 7472test -z "$ac_objext" && ac_objext=o 7473 7474for cc_temp in $compiler""; do 7475 case $cc_temp in 7476 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7477 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7478 \-*) ;; 7479 *) break;; 7480 esac 7481done 7482cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 7483 7484 7485# Only perform the check for file, if the check method requires it 7486test -z "$MAGIC_CMD" && MAGIC_CMD=file 7487case $deplibs_check_method in 7488file_magic*) 7489 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 7491$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 7492if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 7493 $as_echo_n "(cached) " >&6 7494else 7495 case $MAGIC_CMD in 7496[\\/*] | ?:[\\/]*) 7497 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7498 ;; 7499*) 7500 lt_save_MAGIC_CMD="$MAGIC_CMD" 7501 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7502 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7503 for ac_dir in $ac_dummy; do 7504 IFS="$lt_save_ifs" 7505 test -z "$ac_dir" && ac_dir=. 7506 if test -f $ac_dir/${ac_tool_prefix}file; then 7507 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 7508 if test -n "$file_magic_test_file"; then 7509 case $deplibs_check_method in 7510 "file_magic "*) 7511 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7512 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7513 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7514 $EGREP "$file_magic_regex" > /dev/null; then 7515 : 7516 else 7517 cat <<_LT_EOF 1>&2 7518 7519*** Warning: the command libtool uses to detect shared libraries, 7520*** $file_magic_cmd, produces output that libtool cannot recognize. 7521*** The result is that libtool may fail to recognize shared libraries 7522*** as such. This will affect the creation of libtool libraries that 7523*** depend on shared libraries, but programs linked with such libtool 7524*** libraries will work regardless of this problem. Nevertheless, you 7525*** may want to report the problem to your system manager and/or to 7526*** bug-libtool@gnu.org 7527 7528_LT_EOF 7529 fi ;; 7530 esac 7531 fi 7532 break 7533 fi 7534 done 7535 IFS="$lt_save_ifs" 7536 MAGIC_CMD="$lt_save_MAGIC_CMD" 7537 ;; 7538esac 7539fi 7540 7541MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7542if test -n "$MAGIC_CMD"; then 7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7544$as_echo "$MAGIC_CMD" >&6; } 7545else 7546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7547$as_echo "no" >&6; } 7548fi 7549 7550 7551 7552 7553 7554if test -z "$lt_cv_path_MAGIC_CMD"; then 7555 if test -n "$ac_tool_prefix"; then 7556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 7557$as_echo_n "checking for file... " >&6; } 7558if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 7559 $as_echo_n "(cached) " >&6 7560else 7561 case $MAGIC_CMD in 7562[\\/*] | ?:[\\/]*) 7563 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7564 ;; 7565*) 7566 lt_save_MAGIC_CMD="$MAGIC_CMD" 7567 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7568 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7569 for ac_dir in $ac_dummy; do 7570 IFS="$lt_save_ifs" 7571 test -z "$ac_dir" && ac_dir=. 7572 if test -f $ac_dir/file; then 7573 lt_cv_path_MAGIC_CMD="$ac_dir/file" 7574 if test -n "$file_magic_test_file"; then 7575 case $deplibs_check_method in 7576 "file_magic "*) 7577 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7578 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7579 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7580 $EGREP "$file_magic_regex" > /dev/null; then 7581 : 7582 else 7583 cat <<_LT_EOF 1>&2 7584 7585*** Warning: the command libtool uses to detect shared libraries, 7586*** $file_magic_cmd, produces output that libtool cannot recognize. 7587*** The result is that libtool may fail to recognize shared libraries 7588*** as such. This will affect the creation of libtool libraries that 7589*** depend on shared libraries, but programs linked with such libtool 7590*** libraries will work regardless of this problem. Nevertheless, you 7591*** may want to report the problem to your system manager and/or to 7592*** bug-libtool@gnu.org 7593 7594_LT_EOF 7595 fi ;; 7596 esac 7597 fi 7598 break 7599 fi 7600 done 7601 IFS="$lt_save_ifs" 7602 MAGIC_CMD="$lt_save_MAGIC_CMD" 7603 ;; 7604esac 7605fi 7606 7607MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7608if test -n "$MAGIC_CMD"; then 7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7610$as_echo "$MAGIC_CMD" >&6; } 7611else 7612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7613$as_echo "no" >&6; } 7614fi 7615 7616 7617 else 7618 MAGIC_CMD=: 7619 fi 7620fi 7621 7622 fi 7623 ;; 7624esac 7625 7626# Use C for the default configuration in the libtool script 7627 7628lt_save_CC="$CC" 7629ac_ext=c 7630ac_cpp='$CPP $CPPFLAGS' 7631ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7632ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7633ac_compiler_gnu=$ac_cv_c_compiler_gnu 7634 7635 7636# Source file extension for C test sources. 7637ac_ext=c 7638 7639# Object file extension for compiled C test sources. 7640objext=o 7641objext=$objext 7642 7643# Code to be used in simple compile tests 7644lt_simple_compile_test_code="int some_variable = 0;" 7645 7646# Code to be used in simple link tests 7647lt_simple_link_test_code='int main(){return(0);}' 7648 7649 7650 7651 7652 7653 7654 7655# If no C compiler was specified, use CC. 7656LTCC=${LTCC-"$CC"} 7657 7658# If no C compiler flags were specified, use CFLAGS. 7659LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7660 7661# Allow CC to be a program name with arguments. 7662compiler=$CC 7663 7664# Save the default compiler, since it gets overwritten when the other 7665# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 7666compiler_DEFAULT=$CC 7667 7668# save warnings/boilerplate of simple test code 7669ac_outfile=conftest.$ac_objext 7670echo "$lt_simple_compile_test_code" >conftest.$ac_ext 7671eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7672_lt_compiler_boilerplate=`cat conftest.err` 7673$RM conftest* 7674 7675ac_outfile=conftest.$ac_objext 7676echo "$lt_simple_link_test_code" >conftest.$ac_ext 7677eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7678_lt_linker_boilerplate=`cat conftest.err` 7679$RM -r conftest* 7680 7681 7682if test -n "$compiler"; then 7683 7684lt_prog_compiler_no_builtin_flag= 7685 7686if test "$GCC" = yes; then 7687 lt_prog_compiler_no_builtin_flag=' -fno-builtin' 7688 7689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 7690$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 7691if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : 7692 $as_echo_n "(cached) " >&6 7693else 7694 lt_cv_prog_compiler_rtti_exceptions=no 7695 ac_outfile=conftest.$ac_objext 7696 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7697 lt_compiler_flag="-fno-rtti -fno-exceptions" 7698 # Insert the option either (1) after the last *FLAGS variable, or 7699 # (2) before a word containing "conftest.", or (3) at the end. 7700 # Note that $ac_compile itself does not contain backslashes and begins 7701 # with a dollar sign (not a hyphen), so the echo should work correctly. 7702 # The option is referenced via a variable to avoid confusing sed. 7703 lt_compile=`echo "$ac_compile" | $SED \ 7704 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7705 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7706 -e 's:$: $lt_compiler_flag:'` 7707 (eval echo "\"\$as_me:7707: $lt_compile\"" >&5) 7708 (eval "$lt_compile" 2>conftest.err) 7709 ac_status=$? 7710 cat conftest.err >&5 7711 echo "$as_me:7711: \$? = $ac_status" >&5 7712 if (exit $ac_status) && test -s "$ac_outfile"; then 7713 # The compiler can only warn and ignore the option if not recognized 7714 # So say no if there are warnings other than the usual output. 7715 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 7716 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7717 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 7718 lt_cv_prog_compiler_rtti_exceptions=yes 7719 fi 7720 fi 7721 $RM conftest* 7722 7723fi 7724{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 7725$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 7726 7727if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 7728 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 7729else 7730 : 7731fi 7732 7733fi 7734 7735 7736 7737 7738 7739 7740 lt_prog_compiler_wl= 7741lt_prog_compiler_pic= 7742lt_prog_compiler_static= 7743 7744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 7745$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 7746 7747 if test "$GCC" = yes; then 7748 lt_prog_compiler_wl='-Wl,' 7749 lt_prog_compiler_static='-static' 7750 7751 case $host_os in 7752 aix*) 7753 # All AIX code is PIC. 7754 if test "$host_cpu" = ia64; then 7755 # AIX 5 now supports IA64 processor 7756 lt_prog_compiler_static='-Bstatic' 7757 fi 7758 ;; 7759 7760 amigaos*) 7761 case $host_cpu in 7762 powerpc) 7763 # see comment about AmigaOS4 .so support 7764 lt_prog_compiler_pic='-fPIC' 7765 ;; 7766 m68k) 7767 # FIXME: we need at least 68020 code to build shared libraries, but 7768 # adding the `-m68020' flag to GCC prevents building anything better, 7769 # like `-m68040'. 7770 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 7771 ;; 7772 esac 7773 ;; 7774 7775 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 7776 # PIC is the default for these OSes. 7777 ;; 7778 7779 mingw* | cygwin* | pw32* | os2* | cegcc*) 7780 # This hack is so that the source file can tell whether it is being 7781 # built for inclusion in a dll (and should export symbols for example). 7782 # Although the cygwin gcc ignores -fPIC, still need this for old-style 7783 # (--disable-auto-import) libraries 7784 lt_prog_compiler_pic='-DDLL_EXPORT' 7785 ;; 7786 7787 darwin* | rhapsody*) 7788 # PIC is the default on this platform 7789 # Common symbols not allowed in MH_DYLIB files 7790 lt_prog_compiler_pic='-fno-common' 7791 ;; 7792 7793 hpux*) 7794 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 7795 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 7796 # sets the default TLS model and affects inlining. 7797 case $host_cpu in 7798 hppa*64*) 7799 # +Z the default 7800 ;; 7801 *) 7802 lt_prog_compiler_pic='-fPIC' 7803 ;; 7804 esac 7805 ;; 7806 7807 interix[3-9]*) 7808 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 7809 # Instead, we relocate shared libraries at runtime. 7810 ;; 7811 7812 msdosdjgpp*) 7813 # Just because we use GCC doesn't mean we suddenly get shared libraries 7814 # on systems that don't support them. 7815 lt_prog_compiler_can_build_shared=no 7816 enable_shared=no 7817 ;; 7818 7819 *nto* | *qnx*) 7820 # QNX uses GNU C++, but need to define -shared option too, otherwise 7821 # it will coredump. 7822 lt_prog_compiler_pic='-fPIC -shared' 7823 ;; 7824 7825 sysv4*MP*) 7826 if test -d /usr/nec; then 7827 lt_prog_compiler_pic=-Kconform_pic 7828 fi 7829 ;; 7830 7831 *) 7832 lt_prog_compiler_pic='-fPIC' 7833 ;; 7834 esac 7835 else 7836 # PORTME Check for flag to pass linker flags through the system compiler. 7837 case $host_os in 7838 aix*) 7839 lt_prog_compiler_wl='-Wl,' 7840 if test "$host_cpu" = ia64; then 7841 # AIX 5 now supports IA64 processor 7842 lt_prog_compiler_static='-Bstatic' 7843 else 7844 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 7845 fi 7846 ;; 7847 7848 mingw* | cygwin* | pw32* | os2* | cegcc*) 7849 # This hack is so that the source file can tell whether it is being 7850 # built for inclusion in a dll (and should export symbols for example). 7851 lt_prog_compiler_pic='-DDLL_EXPORT' 7852 ;; 7853 7854 hpux9* | hpux10* | hpux11*) 7855 lt_prog_compiler_wl='-Wl,' 7856 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 7857 # not for PA HP-UX. 7858 case $host_cpu in 7859 hppa*64*|ia64*) 7860 # +Z the default 7861 ;; 7862 *) 7863 lt_prog_compiler_pic='+Z' 7864 ;; 7865 esac 7866 # Is there a better lt_prog_compiler_static that works with the bundled CC? 7867 lt_prog_compiler_static='${wl}-a ${wl}archive' 7868 ;; 7869 7870 irix5* | irix6* | nonstopux*) 7871 lt_prog_compiler_wl='-Wl,' 7872 # PIC (with -KPIC) is the default. 7873 lt_prog_compiler_static='-non_shared' 7874 ;; 7875 7876 linux* | k*bsd*-gnu | kopensolaris*-gnu) 7877 case $cc_basename in 7878 # old Intel for x86_64 which still supported -KPIC. 7879 ecc*) 7880 lt_prog_compiler_wl='-Wl,' 7881 lt_prog_compiler_pic='-KPIC' 7882 lt_prog_compiler_static='-static' 7883 ;; 7884 # icc used to be incompatible with GCC. 7885 # ICC 10 doesn't accept -KPIC any more. 7886 icc* | ifort*) 7887 lt_prog_compiler_wl='-Wl,' 7888 lt_prog_compiler_pic='-fPIC' 7889 lt_prog_compiler_static='-static' 7890 ;; 7891 # Lahey Fortran 8.1. 7892 lf95*) 7893 lt_prog_compiler_wl='-Wl,' 7894 lt_prog_compiler_pic='--shared' 7895 lt_prog_compiler_static='--static' 7896 ;; 7897 pgcc* | pgf77* | pgf90* | pgf95*) 7898 # Portland Group compilers (*not* the Pentium gcc compiler, 7899 # which looks to be a dead project) 7900 lt_prog_compiler_wl='-Wl,' 7901 lt_prog_compiler_pic='-fpic' 7902 lt_prog_compiler_static='-Bstatic' 7903 ;; 7904 ccc*) 7905 lt_prog_compiler_wl='-Wl,' 7906 # All Alpha code is PIC. 7907 lt_prog_compiler_static='-non_shared' 7908 ;; 7909 xl*) 7910 # IBM XL C 8.0/Fortran 10.1 on PPC 7911 lt_prog_compiler_wl='-Wl,' 7912 lt_prog_compiler_pic='-qpic' 7913 lt_prog_compiler_static='-qstaticlink' 7914 ;; 7915 *) 7916 case `$CC -V 2>&1 | sed 5q` in 7917 *Sun\ C*) 7918 # Sun C 5.9 7919 lt_prog_compiler_pic='-KPIC' 7920 lt_prog_compiler_static='-Bstatic' 7921 lt_prog_compiler_wl='-Wl,' 7922 ;; 7923 *Sun\ F*) 7924 # Sun Fortran 8.3 passes all unrecognized flags to the linker 7925 lt_prog_compiler_pic='-KPIC' 7926 lt_prog_compiler_static='-Bstatic' 7927 lt_prog_compiler_wl='' 7928 ;; 7929 esac 7930 ;; 7931 esac 7932 ;; 7933 7934 newsos6) 7935 lt_prog_compiler_pic='-KPIC' 7936 lt_prog_compiler_static='-Bstatic' 7937 ;; 7938 7939 *nto* | *qnx*) 7940 # QNX uses GNU C++, but need to define -shared option too, otherwise 7941 # it will coredump. 7942 lt_prog_compiler_pic='-fPIC -shared' 7943 ;; 7944 7945 osf3* | osf4* | osf5*) 7946 lt_prog_compiler_wl='-Wl,' 7947 # All OSF/1 code is PIC. 7948 lt_prog_compiler_static='-non_shared' 7949 ;; 7950 7951 rdos*) 7952 lt_prog_compiler_static='-non_shared' 7953 ;; 7954 7955 solaris*) 7956 lt_prog_compiler_pic='-KPIC' 7957 lt_prog_compiler_static='-Bstatic' 7958 case $cc_basename in 7959 f77* | f90* | f95*) 7960 lt_prog_compiler_wl='-Qoption ld ';; 7961 *) 7962 lt_prog_compiler_wl='-Wl,';; 7963 esac 7964 ;; 7965 7966 sunos4*) 7967 lt_prog_compiler_wl='-Qoption ld ' 7968 lt_prog_compiler_pic='-PIC' 7969 lt_prog_compiler_static='-Bstatic' 7970 ;; 7971 7972 sysv4 | sysv4.2uw2* | sysv4.3*) 7973 lt_prog_compiler_wl='-Wl,' 7974 lt_prog_compiler_pic='-KPIC' 7975 lt_prog_compiler_static='-Bstatic' 7976 ;; 7977 7978 sysv4*MP*) 7979 if test -d /usr/nec ;then 7980 lt_prog_compiler_pic='-Kconform_pic' 7981 lt_prog_compiler_static='-Bstatic' 7982 fi 7983 ;; 7984 7985 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 7986 lt_prog_compiler_wl='-Wl,' 7987 lt_prog_compiler_pic='-KPIC' 7988 lt_prog_compiler_static='-Bstatic' 7989 ;; 7990 7991 unicos*) 7992 lt_prog_compiler_wl='-Wl,' 7993 lt_prog_compiler_can_build_shared=no 7994 ;; 7995 7996 uts4*) 7997 lt_prog_compiler_pic='-pic' 7998 lt_prog_compiler_static='-Bstatic' 7999 ;; 8000 8001 *) 8002 lt_prog_compiler_can_build_shared=no 8003 ;; 8004 esac 8005 fi 8006 8007case $host_os in 8008 # For platforms which do not support PIC, -DPIC is meaningless: 8009 *djgpp*) 8010 lt_prog_compiler_pic= 8011 ;; 8012 *) 8013 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8014 ;; 8015esac 8016{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 8017$as_echo "$lt_prog_compiler_pic" >&6; } 8018 8019 8020 8021 8022 8023 8024# 8025# Check to make sure the PIC flag actually works. 8026# 8027if test -n "$lt_prog_compiler_pic"; then 8028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8029$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8030if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : 8031 $as_echo_n "(cached) " >&6 8032else 8033 lt_cv_prog_compiler_pic_works=no 8034 ac_outfile=conftest.$ac_objext 8035 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8036 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 8037 # Insert the option either (1) after the last *FLAGS variable, or 8038 # (2) before a word containing "conftest.", or (3) at the end. 8039 # Note that $ac_compile itself does not contain backslashes and begins 8040 # with a dollar sign (not a hyphen), so the echo should work correctly. 8041 # The option is referenced via a variable to avoid confusing sed. 8042 lt_compile=`echo "$ac_compile" | $SED \ 8043 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8044 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8045 -e 's:$: $lt_compiler_flag:'` 8046 (eval echo "\"\$as_me:8046: $lt_compile\"" >&5) 8047 (eval "$lt_compile" 2>conftest.err) 8048 ac_status=$? 8049 cat conftest.err >&5 8050 echo "$as_me:8050: \$? = $ac_status" >&5 8051 if (exit $ac_status) && test -s "$ac_outfile"; then 8052 # The compiler can only warn and ignore the option if not recognized 8053 # So say no if there are warnings other than the usual output. 8054 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 8055 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8056 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8057 lt_cv_prog_compiler_pic_works=yes 8058 fi 8059 fi 8060 $RM conftest* 8061 8062fi 8063{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8064$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8065 8066if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 8067 case $lt_prog_compiler_pic in 8068 "" | " "*) ;; 8069 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8070 esac 8071else 8072 lt_prog_compiler_pic= 8073 lt_prog_compiler_can_build_shared=no 8074fi 8075 8076fi 8077 8078 8079 8080 8081 8082 8083# 8084# Check to make sure the static flag actually works. 8085# 8086wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8087{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8088$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8089if test "${lt_cv_prog_compiler_static_works+set}" = set; then : 8090 $as_echo_n "(cached) " >&6 8091else 8092 lt_cv_prog_compiler_static_works=no 8093 save_LDFLAGS="$LDFLAGS" 8094 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8095 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8096 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8097 # The linker can only warn and ignore the option if not recognized 8098 # So say no if there are warnings 8099 if test -s conftest.err; then 8100 # Append any errors to the config.log. 8101 cat conftest.err 1>&5 8102 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 8103 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8104 if diff conftest.exp conftest.er2 >/dev/null; then 8105 lt_cv_prog_compiler_static_works=yes 8106 fi 8107 else 8108 lt_cv_prog_compiler_static_works=yes 8109 fi 8110 fi 8111 $RM -r conftest* 8112 LDFLAGS="$save_LDFLAGS" 8113 8114fi 8115{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8116$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8117 8118if test x"$lt_cv_prog_compiler_static_works" = xyes; then 8119 : 8120else 8121 lt_prog_compiler_static= 8122fi 8123 8124 8125 8126 8127 8128 8129 8130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8131$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8132if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 8133 $as_echo_n "(cached) " >&6 8134else 8135 lt_cv_prog_compiler_c_o=no 8136 $RM -r conftest 2>/dev/null 8137 mkdir conftest 8138 cd conftest 8139 mkdir out 8140 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8141 8142 lt_compiler_flag="-o out/conftest2.$ac_objext" 8143 # Insert the option either (1) after the last *FLAGS variable, or 8144 # (2) before a word containing "conftest.", or (3) at the end. 8145 # Note that $ac_compile itself does not contain backslashes and begins 8146 # with a dollar sign (not a hyphen), so the echo should work correctly. 8147 lt_compile=`echo "$ac_compile" | $SED \ 8148 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8149 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8150 -e 's:$: $lt_compiler_flag:'` 8151 (eval echo "\"\$as_me:8151: $lt_compile\"" >&5) 8152 (eval "$lt_compile" 2>out/conftest.err) 8153 ac_status=$? 8154 cat out/conftest.err >&5 8155 echo "$as_me:8155: \$? = $ac_status" >&5 8156 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8157 then 8158 # The compiler can only warn and ignore the option if not recognized 8159 # So say no if there are warnings 8160 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 8161 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8162 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8163 lt_cv_prog_compiler_c_o=yes 8164 fi 8165 fi 8166 chmod u+w . 2>&5 8167 $RM conftest* 8168 # SGI C++ compiler will create directory out/ii_files/ for 8169 # template instantiation 8170 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8171 $RM out/* && rmdir out 8172 cd .. 8173 $RM -r conftest 8174 $RM conftest* 8175 8176fi 8177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8178$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8179 8180 8181 8182 8183 8184 8185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8186$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8187if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 8188 $as_echo_n "(cached) " >&6 8189else 8190 lt_cv_prog_compiler_c_o=no 8191 $RM -r conftest 2>/dev/null 8192 mkdir conftest 8193 cd conftest 8194 mkdir out 8195 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8196 8197 lt_compiler_flag="-o out/conftest2.$ac_objext" 8198 # Insert the option either (1) after the last *FLAGS variable, or 8199 # (2) before a word containing "conftest.", or (3) at the end. 8200 # Note that $ac_compile itself does not contain backslashes and begins 8201 # with a dollar sign (not a hyphen), so the echo should work correctly. 8202 lt_compile=`echo "$ac_compile" | $SED \ 8203 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8204 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8205 -e 's:$: $lt_compiler_flag:'` 8206 (eval echo "\"\$as_me:8206: $lt_compile\"" >&5) 8207 (eval "$lt_compile" 2>out/conftest.err) 8208 ac_status=$? 8209 cat out/conftest.err >&5 8210 echo "$as_me:8210: \$? = $ac_status" >&5 8211 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8212 then 8213 # The compiler can only warn and ignore the option if not recognized 8214 # So say no if there are warnings 8215 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 8216 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8217 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8218 lt_cv_prog_compiler_c_o=yes 8219 fi 8220 fi 8221 chmod u+w . 2>&5 8222 $RM conftest* 8223 # SGI C++ compiler will create directory out/ii_files/ for 8224 # template instantiation 8225 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8226 $RM out/* && rmdir out 8227 cd .. 8228 $RM -r conftest 8229 $RM conftest* 8230 8231fi 8232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8233$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8234 8235 8236 8237 8238hard_links="nottested" 8239if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 8240 # do not overwrite the value of need_locks provided by the user 8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 8242$as_echo_n "checking if we can lock with hard links... " >&6; } 8243 hard_links=yes 8244 $RM conftest* 8245 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8246 touch conftest.a 8247 ln conftest.a conftest.b 2>&5 || hard_links=no 8248 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 8250$as_echo "$hard_links" >&6; } 8251 if test "$hard_links" = no; then 8252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 8253$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 8254 need_locks=warn 8255 fi 8256else 8257 need_locks=no 8258fi 8259 8260 8261 8262 8263 8264 8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8266$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8267 8268 runpath_var= 8269 allow_undefined_flag= 8270 always_export_symbols=no 8271 archive_cmds= 8272 archive_expsym_cmds= 8273 compiler_needs_object=no 8274 enable_shared_with_static_runtimes=no 8275 export_dynamic_flag_spec= 8276 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8277 hardcode_automatic=no 8278 hardcode_direct=no 8279 hardcode_direct_absolute=no 8280 hardcode_libdir_flag_spec= 8281 hardcode_libdir_flag_spec_ld= 8282 hardcode_libdir_separator= 8283 hardcode_minus_L=no 8284 hardcode_shlibpath_var=unsupported 8285 inherit_rpath=no 8286 link_all_deplibs=unknown 8287 module_cmds= 8288 module_expsym_cmds= 8289 old_archive_from_new_cmds= 8290 old_archive_from_expsyms_cmds= 8291 thread_safe_flag_spec= 8292 whole_archive_flag_spec= 8293 # include_expsyms should be a list of space-separated symbols to be *always* 8294 # included in the symbol list 8295 include_expsyms= 8296 # exclude_expsyms can be an extended regexp of symbols to exclude 8297 # it will be wrapped by ` (' and `)$', so one must not match beginning or 8298 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 8299 # as well as any symbol that contains `d'. 8300 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 8301 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8302 # platforms (ab)use it in PIC code, but their linkers get confused if 8303 # the symbol is explicitly referenced. Since portable code cannot 8304 # rely on this symbol name, it's probably fine to never include it in 8305 # preloaded symbol tables. 8306 # Exclude shared library initialization/finalization symbols. 8307 extract_expsyms_cmds= 8308 8309 case $host_os in 8310 cygwin* | mingw* | pw32* | cegcc*) 8311 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8312 # When not using gcc, we currently assume that we are using 8313 # Microsoft Visual C++. 8314 if test "$GCC" != yes; then 8315 with_gnu_ld=no 8316 fi 8317 ;; 8318 interix*) 8319 # we just hope/assume this is gcc and not c89 (= MSVC++) 8320 with_gnu_ld=yes 8321 ;; 8322 openbsd*) 8323 with_gnu_ld=no 8324 ;; 8325 linux* | k*bsd*-gnu) 8326 link_all_deplibs=no 8327 ;; 8328 esac 8329 8330 ld_shlibs=yes 8331 if test "$with_gnu_ld" = yes; then 8332 # If archive_cmds runs LD, not CC, wlarc should be empty 8333 wlarc='${wl}' 8334 8335 # Set some defaults for GNU ld with shared library support. These 8336 # are reset later if shared libraries are not supported. Putting them 8337 # here allows them to be overridden if necessary. 8338 runpath_var=LD_RUN_PATH 8339 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8340 export_dynamic_flag_spec='${wl}--export-dynamic' 8341 # ancient GNU ld didn't support --whole-archive et. al. 8342 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 8343 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 8344 else 8345 whole_archive_flag_spec= 8346 fi 8347 supports_anon_versioning=no 8348 case `$LD -v 2>&1` in 8349 *GNU\ gold*) supports_anon_versioning=yes ;; 8350 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 8351 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 8352 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 8353 *\ 2.11.*) ;; # other 2.11 versions 8354 *) supports_anon_versioning=yes ;; 8355 esac 8356 8357 # See if GNU ld supports shared libraries. 8358 case $host_os in 8359 aix[3-9]*) 8360 # On AIX/PPC, the GNU linker is very broken 8361 if test "$host_cpu" != ia64; then 8362 ld_shlibs=no 8363 cat <<_LT_EOF 1>&2 8364 8365*** Warning: the GNU linker, at least up to release 2.9.1, is reported 8366*** to be unable to reliably create shared libraries on AIX. 8367*** Therefore, libtool is disabling shared libraries support. If you 8368*** really care for shared libraries, you may want to modify your PATH 8369*** so that a non-GNU linker is found, and then restart. 8370 8371_LT_EOF 8372 fi 8373 ;; 8374 8375 amigaos*) 8376 case $host_cpu in 8377 powerpc) 8378 # see comment about AmigaOS4 .so support 8379 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8380 archive_expsym_cmds='' 8381 ;; 8382 m68k) 8383 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)' 8384 hardcode_libdir_flag_spec='-L$libdir' 8385 hardcode_minus_L=yes 8386 ;; 8387 esac 8388 ;; 8389 8390 beos*) 8391 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8392 allow_undefined_flag=unsupported 8393 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 8394 # support --undefined. This deserves some investigation. FIXME 8395 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8396 else 8397 ld_shlibs=no 8398 fi 8399 ;; 8400 8401 cygwin* | mingw* | pw32* | cegcc*) 8402 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 8403 # as there is no search path for DLLs. 8404 hardcode_libdir_flag_spec='-L$libdir' 8405 allow_undefined_flag=unsupported 8406 always_export_symbols=no 8407 enable_shared_with_static_runtimes=yes 8408 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 8409 8410 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 8411 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8412 # If the export-symbols file already is a .def file (1st line 8413 # is EXPORTS), use it as is; otherwise, prepend... 8414 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 8415 cp $export_symbols $output_objdir/$soname.def; 8416 else 8417 echo EXPORTS > $output_objdir/$soname.def; 8418 cat $export_symbols >> $output_objdir/$soname.def; 8419 fi~ 8420 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8421 else 8422 ld_shlibs=no 8423 fi 8424 ;; 8425 8426 interix[3-9]*) 8427 hardcode_direct=no 8428 hardcode_shlibpath_var=no 8429 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8430 export_dynamic_flag_spec='${wl}-E' 8431 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 8432 # Instead, shared libraries are loaded at an image base (0x10000000 by 8433 # default) and relocated if they conflict, which is a slow very memory 8434 # consuming and fragmenting process. To avoid this, we pick a random, 8435 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 8436 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 8437 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8438 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' 8439 ;; 8440 8441 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 8442 tmp_diet=no 8443 if test "$host_os" = linux-dietlibc; then 8444 case $cc_basename in 8445 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 8446 esac 8447 fi 8448 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 8449 && test "$tmp_diet" = no 8450 then 8451 tmp_addflag= 8452 tmp_sharedflag='-shared' 8453 case $cc_basename,$host_cpu in 8454 pgcc*) # Portland Group C compiler 8455 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' 8456 tmp_addflag=' $pic_flag' 8457 ;; 8458 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 8459 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' 8460 tmp_addflag=' $pic_flag -Mnomain' ;; 8461 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 8462 tmp_addflag=' -i_dynamic' ;; 8463 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 8464 tmp_addflag=' -i_dynamic -nofor_main' ;; 8465 ifc* | ifort*) # Intel Fortran compiler 8466 tmp_addflag=' -nofor_main' ;; 8467 lf95*) # Lahey Fortran 8.1 8468 whole_archive_flag_spec= 8469 tmp_sharedflag='--shared' ;; 8470 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 8471 tmp_sharedflag='-qmkshrobj' 8472 tmp_addflag= ;; 8473 esac 8474 case `$CC -V 2>&1 | sed 5q` in 8475 *Sun\ C*) # Sun C 5.9 8476 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' 8477 compiler_needs_object=yes 8478 tmp_sharedflag='-G' ;; 8479 *Sun\ F*) # Sun Fortran 8.3 8480 tmp_sharedflag='-G' ;; 8481 esac 8482 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8483 8484 if test "x$supports_anon_versioning" = xyes; then 8485 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8486 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8487 echo "local: *; };" >> $output_objdir/$libname.ver~ 8488 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 8489 fi 8490 8491 case $cc_basename in 8492 xlf*) 8493 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 8494 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 8495 hardcode_libdir_flag_spec= 8496 hardcode_libdir_flag_spec_ld='-rpath $libdir' 8497 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' 8498 if test "x$supports_anon_versioning" = xyes; then 8499 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8500 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8501 echo "local: *; };" >> $output_objdir/$libname.ver~ 8502 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 8503 fi 8504 ;; 8505 esac 8506 else 8507 ld_shlibs=no 8508 fi 8509 ;; 8510 8511 netbsd* | netbsdelf*-gnu) 8512 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 8513 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 8514 wlarc= 8515 else 8516 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8517 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8518 fi 8519 ;; 8520 8521 solaris*) 8522 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 8523 ld_shlibs=no 8524 cat <<_LT_EOF 1>&2 8525 8526*** Warning: The releases 2.8.* of the GNU linker cannot reliably 8527*** create shared libraries on Solaris systems. Therefore, libtool 8528*** is disabling shared libraries support. We urge you to upgrade GNU 8529*** binutils to release 2.9.1 or newer. Another option is to modify 8530*** your PATH or compiler configuration so that the native linker is 8531*** used, and then restart. 8532 8533_LT_EOF 8534 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8535 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8536 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8537 else 8538 ld_shlibs=no 8539 fi 8540 ;; 8541 8542 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 8543 case `$LD -v 2>&1` in 8544 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 8545 ld_shlibs=no 8546 cat <<_LT_EOF 1>&2 8547 8548*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 8549*** reliably create shared libraries on SCO systems. Therefore, libtool 8550*** is disabling shared libraries support. We urge you to upgrade GNU 8551*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 8552*** your PATH or compiler configuration so that the native linker is 8553*** used, and then restart. 8554 8555_LT_EOF 8556 ;; 8557 *) 8558 # For security reasons, it is highly recommended that you always 8559 # use absolute paths for naming shared libraries, and exclude the 8560 # DT_RUNPATH tag from executables and libraries. But doing so 8561 # requires that you compile everything twice, which is a pain. 8562 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8563 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8564 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8565 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8566 else 8567 ld_shlibs=no 8568 fi 8569 ;; 8570 esac 8571 ;; 8572 8573 sunos4*) 8574 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8575 wlarc= 8576 hardcode_direct=yes 8577 hardcode_shlibpath_var=no 8578 ;; 8579 8580 *) 8581 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8582 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8583 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8584 else 8585 ld_shlibs=no 8586 fi 8587 ;; 8588 esac 8589 8590 if test "$ld_shlibs" = no; then 8591 runpath_var= 8592 hardcode_libdir_flag_spec= 8593 export_dynamic_flag_spec= 8594 whole_archive_flag_spec= 8595 fi 8596 else 8597 # PORTME fill in a description of your system's linker (not GNU ld) 8598 case $host_os in 8599 aix3*) 8600 allow_undefined_flag=unsupported 8601 always_export_symbols=yes 8602 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' 8603 # Note: this linker hardcodes the directories in LIBPATH if there 8604 # are no directories specified by -L. 8605 hardcode_minus_L=yes 8606 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 8607 # Neither direct hardcoding nor static linking is supported with a 8608 # broken collect2. 8609 hardcode_direct=unsupported 8610 fi 8611 ;; 8612 8613 aix[4-9]*) 8614 if test "$host_cpu" = ia64; then 8615 # On IA64, the linker does run time linking by default, so we don't 8616 # have to do anything special. 8617 aix_use_runtimelinking=no 8618 exp_sym_flag='-Bexport' 8619 no_entry_flag="" 8620 else 8621 # If we're using GNU nm, then we don't want the "-C" option. 8622 # -C means demangle to AIX nm, but means don't demangle with GNU nm 8623 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 8624 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' 8625 else 8626 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' 8627 fi 8628 aix_use_runtimelinking=no 8629 8630 # Test if we are trying to use run time linking or normal 8631 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 8632 # need to do runtime linking. 8633 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 8634 for ld_flag in $LDFLAGS; do 8635 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 8636 aix_use_runtimelinking=yes 8637 break 8638 fi 8639 done 8640 ;; 8641 esac 8642 8643 exp_sym_flag='-bexport' 8644 no_entry_flag='-bnoentry' 8645 fi 8646 8647 # When large executables or shared objects are built, AIX ld can 8648 # have problems creating the table of contents. If linking a library 8649 # or program results in "error TOC overflow" add -mminimal-toc to 8650 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 8651 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 8652 8653 archive_cmds='' 8654 hardcode_direct=yes 8655 hardcode_direct_absolute=yes 8656 hardcode_libdir_separator=':' 8657 link_all_deplibs=yes 8658 file_list_spec='${wl}-f,' 8659 8660 if test "$GCC" = yes; then 8661 case $host_os in aix4.[012]|aix4.[012].*) 8662 # We only want to do this on AIX 4.2 and lower, the check 8663 # below for broken collect2 doesn't work under 4.3+ 8664 collect2name=`${CC} -print-prog-name=collect2` 8665 if test -f "$collect2name" && 8666 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 8667 then 8668 # We have reworked collect2 8669 : 8670 else 8671 # We have old collect2 8672 hardcode_direct=unsupported 8673 # It fails to find uninstalled libraries when the uninstalled 8674 # path is not listed in the libpath. Setting hardcode_minus_L 8675 # to unsupported forces relinking 8676 hardcode_minus_L=yes 8677 hardcode_libdir_flag_spec='-L$libdir' 8678 hardcode_libdir_separator= 8679 fi 8680 ;; 8681 esac 8682 shared_flag='-shared' 8683 if test "$aix_use_runtimelinking" = yes; then 8684 shared_flag="$shared_flag "'${wl}-G' 8685 fi 8686 link_all_deplibs=no 8687 else 8688 # not using gcc 8689 if test "$host_cpu" = ia64; then 8690 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 8691 # chokes on -Wl,-G. The following line is correct: 8692 shared_flag='-G' 8693 else 8694 if test "$aix_use_runtimelinking" = yes; then 8695 shared_flag='${wl}-G' 8696 else 8697 shared_flag='${wl}-bM:SRE' 8698 fi 8699 fi 8700 fi 8701 8702 export_dynamic_flag_spec='${wl}-bexpall' 8703 # It seems that -bexpall does not export symbols beginning with 8704 # underscore (_), so it is better to generate a list of symbols to export. 8705 always_export_symbols=yes 8706 if test "$aix_use_runtimelinking" = yes; then 8707 # Warning - without using the other runtime loading flags (-brtl), 8708 # -berok will link without error, but may produce a broken library. 8709 allow_undefined_flag='-berok' 8710 # Determine the default libpath from the value encoded in an 8711 # empty executable. 8712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8713/* end confdefs.h. */ 8714 8715int 8716main () 8717{ 8718 8719 ; 8720 return 0; 8721} 8722_ACEOF 8723if ac_fn_c_try_link "$LINENO"; then : 8724 8725lt_aix_libpath_sed=' 8726 /Import File Strings/,/^$/ { 8727 /^0/ { 8728 s/^0 *\(.*\)$/\1/ 8729 p 8730 } 8731 }' 8732aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8733# Check for a 64-bit object if we didn't find anything. 8734if test -z "$aix_libpath"; then 8735 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8736fi 8737fi 8738rm -f core conftest.err conftest.$ac_objext \ 8739 conftest$ac_exeext conftest.$ac_ext 8740if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8741 8742 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8743 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" 8744 else 8745 if test "$host_cpu" = ia64; then 8746 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 8747 allow_undefined_flag="-z nodefs" 8748 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" 8749 else 8750 # Determine the default libpath from the value encoded in an 8751 # empty executable. 8752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8753/* end confdefs.h. */ 8754 8755int 8756main () 8757{ 8758 8759 ; 8760 return 0; 8761} 8762_ACEOF 8763if ac_fn_c_try_link "$LINENO"; then : 8764 8765lt_aix_libpath_sed=' 8766 /Import File Strings/,/^$/ { 8767 /^0/ { 8768 s/^0 *\(.*\)$/\1/ 8769 p 8770 } 8771 }' 8772aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8773# Check for a 64-bit object if we didn't find anything. 8774if test -z "$aix_libpath"; then 8775 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8776fi 8777fi 8778rm -f core conftest.err conftest.$ac_objext \ 8779 conftest$ac_exeext conftest.$ac_ext 8780if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8781 8782 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8783 # Warning - without using the other run time loading flags, 8784 # -berok will link without error, but may produce a broken library. 8785 no_undefined_flag=' ${wl}-bernotok' 8786 allow_undefined_flag=' ${wl}-berok' 8787 # Exported symbols can be pulled into shared objects from archives 8788 whole_archive_flag_spec='$convenience' 8789 archive_cmds_need_lc=yes 8790 # This is similar to how AIX traditionally builds its shared libraries. 8791 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' 8792 fi 8793 fi 8794 ;; 8795 8796 amigaos*) 8797 case $host_cpu in 8798 powerpc) 8799 # see comment about AmigaOS4 .so support 8800 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8801 archive_expsym_cmds='' 8802 ;; 8803 m68k) 8804 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)' 8805 hardcode_libdir_flag_spec='-L$libdir' 8806 hardcode_minus_L=yes 8807 ;; 8808 esac 8809 ;; 8810 8811 bsdi[45]*) 8812 export_dynamic_flag_spec=-rdynamic 8813 ;; 8814 8815 cygwin* | mingw* | pw32* | cegcc*) 8816 # When not using gcc, we currently assume that we are using 8817 # Microsoft Visual C++. 8818 # hardcode_libdir_flag_spec is actually meaningless, as there is 8819 # no search path for DLLs. 8820 hardcode_libdir_flag_spec=' ' 8821 allow_undefined_flag=unsupported 8822 # Tell ltmain to make .lib files, not .a files. 8823 libext=lib 8824 # Tell ltmain to make .dll files, not .so files. 8825 shrext_cmds=".dll" 8826 # FIXME: Setting linknames here is a bad hack. 8827 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' 8828 # The linker will automatically build a .lib file if we build a DLL. 8829 old_archive_from_new_cmds='true' 8830 # FIXME: Should let the user specify the lib program. 8831 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 8832 fix_srcfile_path='`cygpath -w "$srcfile"`' 8833 enable_shared_with_static_runtimes=yes 8834 ;; 8835 8836 darwin* | rhapsody*) 8837 8838 8839 archive_cmds_need_lc=no 8840 hardcode_direct=no 8841 hardcode_automatic=yes 8842 hardcode_shlibpath_var=unsupported 8843 whole_archive_flag_spec='' 8844 link_all_deplibs=yes 8845 allow_undefined_flag="$_lt_dar_allow_undefined" 8846 case $cc_basename in 8847 ifort*) _lt_dar_can_shared=yes ;; 8848 *) _lt_dar_can_shared=$GCC ;; 8849 esac 8850 if test "$_lt_dar_can_shared" = "yes"; then 8851 output_verbose_link_cmd=echo 8852 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 8853 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 8854 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}" 8855 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}" 8856 8857 else 8858 ld_shlibs=no 8859 fi 8860 8861 ;; 8862 8863 dgux*) 8864 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8865 hardcode_libdir_flag_spec='-L$libdir' 8866 hardcode_shlibpath_var=no 8867 ;; 8868 8869 freebsd1*) 8870 ld_shlibs=no 8871 ;; 8872 8873 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 8874 # support. Future versions do this automatically, but an explicit c++rt0.o 8875 # does not break anything, and helps significantly (at the cost of a little 8876 # extra space). 8877 freebsd2.2*) 8878 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 8879 hardcode_libdir_flag_spec='-R$libdir' 8880 hardcode_direct=yes 8881 hardcode_shlibpath_var=no 8882 ;; 8883 8884 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 8885 freebsd2*) 8886 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8887 hardcode_direct=yes 8888 hardcode_minus_L=yes 8889 hardcode_shlibpath_var=no 8890 ;; 8891 8892 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 8893 freebsd* | dragonfly*) 8894 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 8895 hardcode_libdir_flag_spec='-R$libdir' 8896 hardcode_direct=yes 8897 hardcode_shlibpath_var=no 8898 ;; 8899 8900 hpux9*) 8901 if test "$GCC" = yes; then 8902 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' 8903 else 8904 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' 8905 fi 8906 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 8907 hardcode_libdir_separator=: 8908 hardcode_direct=yes 8909 8910 # hardcode_minus_L: Not really in the search PATH, 8911 # but as the default location of the library. 8912 hardcode_minus_L=yes 8913 export_dynamic_flag_spec='${wl}-E' 8914 ;; 8915 8916 hpux10*) 8917 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 8918 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 8919 else 8920 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 8921 fi 8922 if test "$with_gnu_ld" = no; then 8923 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 8924 hardcode_libdir_flag_spec_ld='+b $libdir' 8925 hardcode_libdir_separator=: 8926 hardcode_direct=yes 8927 hardcode_direct_absolute=yes 8928 export_dynamic_flag_spec='${wl}-E' 8929 # hardcode_minus_L: Not really in the search PATH, 8930 # but as the default location of the library. 8931 hardcode_minus_L=yes 8932 fi 8933 ;; 8934 8935 hpux11*) 8936 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 8937 case $host_cpu in 8938 hppa*64*) 8939 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 8940 ;; 8941 ia64*) 8942 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 8943 ;; 8944 *) 8945 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 8946 ;; 8947 esac 8948 else 8949 case $host_cpu in 8950 hppa*64*) 8951 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 8952 ;; 8953 ia64*) 8954 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 8955 ;; 8956 *) 8957 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 8958 ;; 8959 esac 8960 fi 8961 if test "$with_gnu_ld" = no; then 8962 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 8963 hardcode_libdir_separator=: 8964 8965 case $host_cpu in 8966 hppa*64*|ia64*) 8967 hardcode_direct=no 8968 hardcode_shlibpath_var=no 8969 ;; 8970 *) 8971 hardcode_direct=yes 8972 hardcode_direct_absolute=yes 8973 export_dynamic_flag_spec='${wl}-E' 8974 8975 # hardcode_minus_L: Not really in the search PATH, 8976 # but as the default location of the library. 8977 hardcode_minus_L=yes 8978 ;; 8979 esac 8980 fi 8981 ;; 8982 8983 irix5* | irix6* | nonstopux*) 8984 if test "$GCC" = yes; then 8985 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' 8986 # Try to use the -exported_symbol ld option, if it does not 8987 # work, assume that -exports_file does not work either and 8988 # implicitly export all symbols. 8989 save_LDFLAGS="$LDFLAGS" 8990 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 8991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8992/* end confdefs.h. */ 8993int foo(void) {} 8994_ACEOF 8995if ac_fn_c_try_link "$LINENO"; then : 8996 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' 8997 8998fi 8999rm -f core conftest.err conftest.$ac_objext \ 9000 conftest$ac_exeext conftest.$ac_ext 9001 LDFLAGS="$save_LDFLAGS" 9002 else 9003 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' 9004 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' 9005 fi 9006 archive_cmds_need_lc='no' 9007 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9008 hardcode_libdir_separator=: 9009 inherit_rpath=yes 9010 link_all_deplibs=yes 9011 ;; 9012 9013 netbsd* | netbsdelf*-gnu) 9014 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9015 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9016 else 9017 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9018 fi 9019 hardcode_libdir_flag_spec='-R$libdir' 9020 hardcode_direct=yes 9021 hardcode_shlibpath_var=no 9022 ;; 9023 9024 newsos6) 9025 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9026 hardcode_direct=yes 9027 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9028 hardcode_libdir_separator=: 9029 hardcode_shlibpath_var=no 9030 ;; 9031 9032 *nto* | *qnx*) 9033 ;; 9034 9035 openbsd*) 9036 if test -f /usr/libexec/ld.so; then 9037 hardcode_direct=yes 9038 hardcode_shlibpath_var=no 9039 hardcode_direct_absolute=yes 9040 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9041 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9042 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 9043 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9044 export_dynamic_flag_spec='${wl}-E' 9045 else 9046 case $host_os in 9047 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 9048 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9049 hardcode_libdir_flag_spec='-R$libdir' 9050 ;; 9051 *) 9052 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9053 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9054 ;; 9055 esac 9056 fi 9057 else 9058 ld_shlibs=no 9059 fi 9060 ;; 9061 9062 os2*) 9063 hardcode_libdir_flag_spec='-L$libdir' 9064 hardcode_minus_L=yes 9065 allow_undefined_flag=unsupported 9066 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' 9067 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 9068 ;; 9069 9070 osf3*) 9071 if test "$GCC" = yes; then 9072 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9073 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' 9074 else 9075 allow_undefined_flag=' -expect_unresolved \*' 9076 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' 9077 fi 9078 archive_cmds_need_lc='no' 9079 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9080 hardcode_libdir_separator=: 9081 ;; 9082 9083 osf4* | osf5*) # as osf3* with the addition of -msym flag 9084 if test "$GCC" = yes; then 9085 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9086 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' 9087 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9088 else 9089 allow_undefined_flag=' -expect_unresolved \*' 9090 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' 9091 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~ 9092 $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' 9093 9094 # Both c and cxx compiler support -rpath directly 9095 hardcode_libdir_flag_spec='-rpath $libdir' 9096 fi 9097 archive_cmds_need_lc='no' 9098 hardcode_libdir_separator=: 9099 ;; 9100 9101 solaris*) 9102 no_undefined_flag=' -z defs' 9103 if test "$GCC" = yes; then 9104 wlarc='${wl}' 9105 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9106 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9107 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9108 else 9109 case `$CC -V 2>&1` in 9110 *"Compilers 5.0"*) 9111 wlarc='' 9112 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 9113 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9114 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 9115 ;; 9116 *) 9117 wlarc='${wl}' 9118 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 9119 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9120 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9121 ;; 9122 esac 9123 fi 9124 hardcode_libdir_flag_spec='-R$libdir' 9125 hardcode_shlibpath_var=no 9126 case $host_os in 9127 solaris2.[0-5] | solaris2.[0-5].*) ;; 9128 *) 9129 # The compiler driver will combine and reorder linker options, 9130 # but understands `-z linker_flag'. GCC discards it without `$wl', 9131 # but is careful enough not to reorder. 9132 # Supported since Solaris 2.6 (maybe 2.5.1?) 9133 if test "$GCC" = yes; then 9134 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 9135 else 9136 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 9137 fi 9138 ;; 9139 esac 9140 link_all_deplibs=yes 9141 ;; 9142 9143 sunos4*) 9144 if test "x$host_vendor" = xsequent; then 9145 # Use $CC to link under sequent, because it throws in some extra .o 9146 # files that make .init and .fini sections work. 9147 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 9148 else 9149 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 9150 fi 9151 hardcode_libdir_flag_spec='-L$libdir' 9152 hardcode_direct=yes 9153 hardcode_minus_L=yes 9154 hardcode_shlibpath_var=no 9155 ;; 9156 9157 sysv4) 9158 case $host_vendor in 9159 sni) 9160 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9161 hardcode_direct=yes # is this really true??? 9162 ;; 9163 siemens) 9164 ## LD is ld it makes a PLAMLIB 9165 ## CC just makes a GrossModule. 9166 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 9167 reload_cmds='$CC -r -o $output$reload_objs' 9168 hardcode_direct=no 9169 ;; 9170 motorola) 9171 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9172 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 9173 ;; 9174 esac 9175 runpath_var='LD_RUN_PATH' 9176 hardcode_shlibpath_var=no 9177 ;; 9178 9179 sysv4.3*) 9180 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9181 hardcode_shlibpath_var=no 9182 export_dynamic_flag_spec='-Bexport' 9183 ;; 9184 9185 sysv4*MP*) 9186 if test -d /usr/nec; then 9187 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9188 hardcode_shlibpath_var=no 9189 runpath_var=LD_RUN_PATH 9190 hardcode_runpath_var=yes 9191 ld_shlibs=yes 9192 fi 9193 ;; 9194 9195 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 9196 no_undefined_flag='${wl}-z,text' 9197 archive_cmds_need_lc=no 9198 hardcode_shlibpath_var=no 9199 runpath_var='LD_RUN_PATH' 9200 9201 if test "$GCC" = yes; then 9202 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9203 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9204 else 9205 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9206 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9207 fi 9208 ;; 9209 9210 sysv5* | sco3.2v5* | sco5v6*) 9211 # Note: We can NOT use -z defs as we might desire, because we do not 9212 # link with -lc, and that would cause any symbols used from libc to 9213 # always be unresolved, which means just about no library would 9214 # ever link correctly. If we're not using GNU ld we use -z text 9215 # though, which does catch some bad symbols but isn't as heavy-handed 9216 # as -z defs. 9217 no_undefined_flag='${wl}-z,text' 9218 allow_undefined_flag='${wl}-z,nodefs' 9219 archive_cmds_need_lc=no 9220 hardcode_shlibpath_var=no 9221 hardcode_libdir_flag_spec='${wl}-R,$libdir' 9222 hardcode_libdir_separator=':' 9223 link_all_deplibs=yes 9224 export_dynamic_flag_spec='${wl}-Bexport' 9225 runpath_var='LD_RUN_PATH' 9226 9227 if test "$GCC" = yes; then 9228 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9229 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9230 else 9231 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9232 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9233 fi 9234 ;; 9235 9236 uts4*) 9237 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9238 hardcode_libdir_flag_spec='-L$libdir' 9239 hardcode_shlibpath_var=no 9240 ;; 9241 9242 *) 9243 ld_shlibs=no 9244 ;; 9245 esac 9246 9247 if test x$host_vendor = xsni; then 9248 case $host in 9249 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 9250 export_dynamic_flag_spec='${wl}-Blargedynsym' 9251 ;; 9252 esac 9253 fi 9254 fi 9255 9256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 9257$as_echo "$ld_shlibs" >&6; } 9258test "$ld_shlibs" = no && can_build_shared=no 9259 9260with_gnu_ld=$with_gnu_ld 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276# 9277# Do we need to explicitly link libc? 9278# 9279case "x$archive_cmds_need_lc" in 9280x|xyes) 9281 # Assume -lc should be added 9282 archive_cmds_need_lc=yes 9283 9284 if test "$enable_shared" = yes && test "$GCC" = yes; then 9285 case $archive_cmds in 9286 *'~'*) 9287 # FIXME: we may have to deal with multi-command sequences. 9288 ;; 9289 '$CC '*) 9290 # Test whether the compiler implicitly links with -lc since on some 9291 # systems, -lgcc has to come before -lc. If gcc already passes -lc 9292 # to ld, don't add -lc before -lgcc. 9293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 9294$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 9295 $RM conftest* 9296 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9297 9298 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9299 (eval $ac_compile) 2>&5 9300 ac_status=$? 9301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9302 test $ac_status = 0; } 2>conftest.err; then 9303 soname=conftest 9304 lib=conftest 9305 libobjs=conftest.$ac_objext 9306 deplibs= 9307 wl=$lt_prog_compiler_wl 9308 pic_flag=$lt_prog_compiler_pic 9309 compiler_flags=-v 9310 linker_flags=-v 9311 verstring= 9312 output_objdir=. 9313 libname=conftest 9314 lt_save_allow_undefined_flag=$allow_undefined_flag 9315 allow_undefined_flag= 9316 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 9317 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 9318 ac_status=$? 9319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9320 test $ac_status = 0; } 9321 then 9322 archive_cmds_need_lc=no 9323 else 9324 archive_cmds_need_lc=yes 9325 fi 9326 allow_undefined_flag=$lt_save_allow_undefined_flag 9327 else 9328 cat conftest.err 1>&5 9329 fi 9330 $RM conftest* 9331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 9332$as_echo "$archive_cmds_need_lc" >&6; } 9333 ;; 9334 esac 9335 fi 9336 ;; 9337esac 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 9496$as_echo_n "checking dynamic linker characteristics... " >&6; } 9497 9498if test "$GCC" = yes; then 9499 case $host_os in 9500 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 9501 *) lt_awk_arg="/^libraries:/" ;; 9502 esac 9503 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` 9504 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then 9505 # if the path contains ";" then we assume it to be the separator 9506 # otherwise default to the standard path separator (i.e. ":") - it is 9507 # assumed that no part of a normal pathname contains ";" but that should 9508 # okay in the real world where ";" in dirpaths is itself problematic. 9509 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` 9510 else 9511 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 9512 fi 9513 # Ok, now we have the path, separated by spaces, we can step through it 9514 # and add multilib dir if necessary. 9515 lt_tmp_lt_search_path_spec= 9516 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 9517 for lt_sys_path in $lt_search_path_spec; do 9518 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 9519 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 9520 else 9521 test -d "$lt_sys_path" && \ 9522 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 9523 fi 9524 done 9525 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' 9526BEGIN {RS=" "; FS="/|\n";} { 9527 lt_foo=""; 9528 lt_count=0; 9529 for (lt_i = NF; lt_i > 0; lt_i--) { 9530 if ($lt_i != "" && $lt_i != ".") { 9531 if ($lt_i == "..") { 9532 lt_count++; 9533 } else { 9534 if (lt_count == 0) { 9535 lt_foo="/" $lt_i lt_foo; 9536 } else { 9537 lt_count--; 9538 } 9539 } 9540 } 9541 } 9542 if (lt_foo != "") { lt_freq[lt_foo]++; } 9543 if (lt_freq[lt_foo] == 1) { print lt_foo; } 9544}'` 9545 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` 9546else 9547 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 9548fi 9549library_names_spec= 9550libname_spec='lib$name' 9551soname_spec= 9552shrext_cmds=".so" 9553postinstall_cmds= 9554postuninstall_cmds= 9555finish_cmds= 9556finish_eval= 9557shlibpath_var= 9558shlibpath_overrides_runpath=unknown 9559version_type=none 9560dynamic_linker="$host_os ld.so" 9561sys_lib_dlsearch_path_spec="/lib /usr/lib" 9562need_lib_prefix=unknown 9563hardcode_into_libs=no 9564 9565# when you set need_version to no, make sure it does not cause -set_version 9566# flags to be left without arguments 9567need_version=unknown 9568 9569case $host_os in 9570aix3*) 9571 version_type=linux 9572 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 9573 shlibpath_var=LIBPATH 9574 9575 # AIX 3 has no versioning support, so we append a major version to the name. 9576 soname_spec='${libname}${release}${shared_ext}$major' 9577 ;; 9578 9579aix[4-9]*) 9580 version_type=linux 9581 need_lib_prefix=no 9582 need_version=no 9583 hardcode_into_libs=yes 9584 if test "$host_cpu" = ia64; then 9585 # AIX 5 supports IA64 9586 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 9587 shlibpath_var=LD_LIBRARY_PATH 9588 else 9589 # With GCC up to 2.95.x, collect2 would create an import file 9590 # for dependence libraries. The import file would start with 9591 # the line `#! .'. This would cause the generated library to 9592 # depend on `.', always an invalid library. This was fixed in 9593 # development snapshots of GCC prior to 3.0. 9594 case $host_os in 9595 aix4 | aix4.[01] | aix4.[01].*) 9596 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 9597 echo ' yes ' 9598 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 9599 : 9600 else 9601 can_build_shared=no 9602 fi 9603 ;; 9604 esac 9605 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 9606 # soname into executable. Probably we can add versioning support to 9607 # collect2, so additional links can be useful in future. 9608 if test "$aix_use_runtimelinking" = yes; then 9609 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 9610 # instead of lib<name>.a to let people know that these are not 9611 # typical AIX shared libraries. 9612 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9613 else 9614 # We preserve .a as extension for shared libraries through AIX4.2 9615 # and later when we are not doing run time linking. 9616 library_names_spec='${libname}${release}.a $libname.a' 9617 soname_spec='${libname}${release}${shared_ext}$major' 9618 fi 9619 shlibpath_var=LIBPATH 9620 fi 9621 ;; 9622 9623amigaos*) 9624 case $host_cpu in 9625 powerpc) 9626 # Since July 2007 AmigaOS4 officially supports .so libraries. 9627 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 9628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9629 ;; 9630 m68k) 9631 library_names_spec='$libname.ixlibrary $libname.a' 9632 # Create ${libname}_ixlibrary.a entries in /sys/libs. 9633 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' 9634 ;; 9635 esac 9636 ;; 9637 9638beos*) 9639 library_names_spec='${libname}${shared_ext}' 9640 dynamic_linker="$host_os ld.so" 9641 shlibpath_var=LIBRARY_PATH 9642 ;; 9643 9644bsdi[45]*) 9645 version_type=linux 9646 need_version=no 9647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9648 soname_spec='${libname}${release}${shared_ext}$major' 9649 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 9650 shlibpath_var=LD_LIBRARY_PATH 9651 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 9652 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 9653 # the default ld.so.conf also contains /usr/contrib/lib and 9654 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 9655 # libtool to hard-code these into programs 9656 ;; 9657 9658cygwin* | mingw* | pw32* | cegcc*) 9659 version_type=windows 9660 shrext_cmds=".dll" 9661 need_version=no 9662 need_lib_prefix=no 9663 9664 case $GCC,$host_os in 9665 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) 9666 library_names_spec='$libname.dll.a' 9667 # DLL is installed to $(libdir)/../bin by postinstall_cmds 9668 postinstall_cmds='base_file=`basename \${file}`~ 9669 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 9670 dldir=$destdir/`dirname \$dlpath`~ 9671 test -d \$dldir || mkdir -p \$dldir~ 9672 $install_prog $dir/$dlname \$dldir/$dlname~ 9673 chmod a+x \$dldir/$dlname~ 9674 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 9675 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 9676 fi' 9677 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 9678 dlpath=$dir/\$dldll~ 9679 $RM \$dlpath' 9680 shlibpath_overrides_runpath=yes 9681 9682 case $host_os in 9683 cygwin*) 9684 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 9685 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9686 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 9687 ;; 9688 mingw* | cegcc*) 9689 # MinGW DLLs use traditional 'lib' prefix 9690 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9691 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 9692 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 9693 # It is most probably a Windows format PATH printed by 9694 # mingw gcc, but we are running on Cygwin. Gcc prints its search 9695 # path with ; separators, and with drive letters. We can handle the 9696 # drive letters (cygwin fileutils understands them), so leave them, 9697 # especially as we might pass files found there to a mingw objdump, 9698 # which wouldn't understand a cygwinified path. Ahh. 9699 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 9700 else 9701 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 9702 fi 9703 ;; 9704 pw32*) 9705 # pw32 DLLs use 'pw' prefix rather than 'lib' 9706 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9707 ;; 9708 esac 9709 ;; 9710 9711 *) 9712 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 9713 ;; 9714 esac 9715 dynamic_linker='Win32 ld.exe' 9716 # FIXME: first we should search . and the directory the executable is in 9717 shlibpath_var=PATH 9718 ;; 9719 9720darwin* | rhapsody*) 9721 dynamic_linker="$host_os dyld" 9722 version_type=darwin 9723 need_lib_prefix=no 9724 need_version=no 9725 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 9726 soname_spec='${libname}${release}${major}$shared_ext' 9727 shlibpath_overrides_runpath=yes 9728 shlibpath_var=DYLD_LIBRARY_PATH 9729 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 9730 9731 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 9732 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 9733 ;; 9734 9735dgux*) 9736 version_type=linux 9737 need_lib_prefix=no 9738 need_version=no 9739 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 9740 soname_spec='${libname}${release}${shared_ext}$major' 9741 shlibpath_var=LD_LIBRARY_PATH 9742 ;; 9743 9744freebsd1*) 9745 dynamic_linker=no 9746 ;; 9747 9748freebsd* | dragonfly*) 9749 # DragonFly does not have aout. When/if they implement a new 9750 # versioning mechanism, adjust this. 9751 if test -x /usr/bin/objformat; then 9752 objformat=`/usr/bin/objformat` 9753 else 9754 case $host_os in 9755 freebsd[123]*) objformat=aout ;; 9756 *) objformat=elf ;; 9757 esac 9758 fi 9759 version_type=freebsd-$objformat 9760 case $version_type in 9761 freebsd-elf*) 9762 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 9763 need_version=no 9764 need_lib_prefix=no 9765 ;; 9766 freebsd-*) 9767 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 9768 need_version=yes 9769 ;; 9770 esac 9771 shlibpath_var=LD_LIBRARY_PATH 9772 case $host_os in 9773 freebsd2*) 9774 shlibpath_overrides_runpath=yes 9775 ;; 9776 freebsd3.[01]* | freebsdelf3.[01]*) 9777 shlibpath_overrides_runpath=yes 9778 hardcode_into_libs=yes 9779 ;; 9780 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 9781 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 9782 shlibpath_overrides_runpath=no 9783 hardcode_into_libs=yes 9784 ;; 9785 *) # from 4.6 on, and DragonFly 9786 shlibpath_overrides_runpath=yes 9787 hardcode_into_libs=yes 9788 ;; 9789 esac 9790 ;; 9791 9792gnu*) 9793 version_type=linux 9794 need_lib_prefix=no 9795 need_version=no 9796 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 9797 soname_spec='${libname}${release}${shared_ext}$major' 9798 shlibpath_var=LD_LIBRARY_PATH 9799 hardcode_into_libs=yes 9800 ;; 9801 9802hpux9* | hpux10* | hpux11*) 9803 # Give a soname corresponding to the major version so that dld.sl refuses to 9804 # link against other versions. 9805 version_type=sunos 9806 need_lib_prefix=no 9807 need_version=no 9808 case $host_cpu in 9809 ia64*) 9810 shrext_cmds='.so' 9811 hardcode_into_libs=yes 9812 dynamic_linker="$host_os dld.so" 9813 shlibpath_var=LD_LIBRARY_PATH 9814 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 9815 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9816 soname_spec='${libname}${release}${shared_ext}$major' 9817 if test "X$HPUX_IA64_MODE" = X32; then 9818 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 9819 else 9820 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 9821 fi 9822 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 9823 ;; 9824 hppa*64*) 9825 shrext_cmds='.sl' 9826 hardcode_into_libs=yes 9827 dynamic_linker="$host_os dld.sl" 9828 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 9829 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 9830 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9831 soname_spec='${libname}${release}${shared_ext}$major' 9832 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 9833 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 9834 ;; 9835 *) 9836 shrext_cmds='.sl' 9837 dynamic_linker="$host_os dld.sl" 9838 shlibpath_var=SHLIB_PATH 9839 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 9840 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9841 soname_spec='${libname}${release}${shared_ext}$major' 9842 ;; 9843 esac 9844 # HP-UX runs *really* slowly unless shared libraries are mode 555. 9845 postinstall_cmds='chmod 555 $lib' 9846 ;; 9847 9848interix[3-9]*) 9849 version_type=linux 9850 need_lib_prefix=no 9851 need_version=no 9852 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 9853 soname_spec='${libname}${release}${shared_ext}$major' 9854 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 9855 shlibpath_var=LD_LIBRARY_PATH 9856 shlibpath_overrides_runpath=no 9857 hardcode_into_libs=yes 9858 ;; 9859 9860irix5* | irix6* | nonstopux*) 9861 case $host_os in 9862 nonstopux*) version_type=nonstopux ;; 9863 *) 9864 if test "$lt_cv_prog_gnu_ld" = yes; then 9865 version_type=linux 9866 else 9867 version_type=irix 9868 fi ;; 9869 esac 9870 need_lib_prefix=no 9871 need_version=no 9872 soname_spec='${libname}${release}${shared_ext}$major' 9873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 9874 case $host_os in 9875 irix5* | nonstopux*) 9876 libsuff= shlibsuff= 9877 ;; 9878 *) 9879 case $LD in # libtool.m4 will add one of these switches to LD 9880 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 9881 libsuff= shlibsuff= libmagic=32-bit;; 9882 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 9883 libsuff=32 shlibsuff=N32 libmagic=N32;; 9884 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 9885 libsuff=64 shlibsuff=64 libmagic=64-bit;; 9886 *) libsuff= shlibsuff= libmagic=never-match;; 9887 esac 9888 ;; 9889 esac 9890 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 9891 shlibpath_overrides_runpath=no 9892 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 9893 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 9894 hardcode_into_libs=yes 9895 ;; 9896 9897# No shared lib support for Linux oldld, aout, or coff. 9898linux*oldld* | linux*aout* | linux*coff*) 9899 dynamic_linker=no 9900 ;; 9901 9902# This must be Linux ELF. 9903linux* | k*bsd*-gnu | kopensolaris*-gnu) 9904 version_type=linux 9905 need_lib_prefix=no 9906 need_version=no 9907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9908 soname_spec='${libname}${release}${shared_ext}$major' 9909 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 9910 shlibpath_var=LD_LIBRARY_PATH 9911 shlibpath_overrides_runpath=no 9912 # Some binutils ld are patched to set DT_RUNPATH 9913 save_LDFLAGS=$LDFLAGS 9914 save_libdir=$libdir 9915 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 9916 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 9917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9918/* end confdefs.h. */ 9919 9920int 9921main () 9922{ 9923 9924 ; 9925 return 0; 9926} 9927_ACEOF 9928if ac_fn_c_try_link "$LINENO"; then : 9929 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 9930 shlibpath_overrides_runpath=yes 9931fi 9932fi 9933rm -f core conftest.err conftest.$ac_objext \ 9934 conftest$ac_exeext conftest.$ac_ext 9935 LDFLAGS=$save_LDFLAGS 9936 libdir=$save_libdir 9937 9938 # This implies no fast_install, which is unacceptable. 9939 # Some rework will be needed to allow for fast_install 9940 # before this can be enabled. 9941 hardcode_into_libs=yes 9942 9943 # Append ld.so.conf contents to the search path 9944 if test -f /etc/ld.so.conf; then 9945 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' ' '` 9946 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 9947 fi 9948 9949 # We used to test for /lib/ld.so.1 and disable shared libraries on 9950 # powerpc, because MkLinux only supported shared libraries with the 9951 # GNU dynamic linker. Since this was broken with cross compilers, 9952 # most powerpc-linux boxes support dynamic linking these days and 9953 # people can always --disable-shared, the test was removed, and we 9954 # assume the GNU/Linux dynamic linker is in use. 9955 dynamic_linker='GNU/Linux ld.so' 9956 ;; 9957 9958netbsdelf*-gnu) 9959 version_type=linux 9960 need_lib_prefix=no 9961 need_version=no 9962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 9963 soname_spec='${libname}${release}${shared_ext}$major' 9964 shlibpath_var=LD_LIBRARY_PATH 9965 shlibpath_overrides_runpath=no 9966 hardcode_into_libs=yes 9967 dynamic_linker='NetBSD ld.elf_so' 9968 ;; 9969 9970netbsd*) 9971 version_type=sunos 9972 need_lib_prefix=no 9973 need_version=no 9974 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9975 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 9976 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 9977 dynamic_linker='NetBSD (a.out) ld.so' 9978 else 9979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 9980 soname_spec='${libname}${release}${shared_ext}$major' 9981 dynamic_linker='NetBSD ld.elf_so' 9982 fi 9983 shlibpath_var=LD_LIBRARY_PATH 9984 shlibpath_overrides_runpath=yes 9985 hardcode_into_libs=yes 9986 ;; 9987 9988newsos6) 9989 version_type=linux 9990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9991 shlibpath_var=LD_LIBRARY_PATH 9992 shlibpath_overrides_runpath=yes 9993 ;; 9994 9995*nto* | *qnx*) 9996 version_type=qnx 9997 need_lib_prefix=no 9998 need_version=no 9999 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10000 soname_spec='${libname}${release}${shared_ext}$major' 10001 shlibpath_var=LD_LIBRARY_PATH 10002 shlibpath_overrides_runpath=no 10003 hardcode_into_libs=yes 10004 dynamic_linker='ldqnx.so' 10005 ;; 10006 10007openbsd*) 10008 version_type=sunos 10009 sys_lib_dlsearch_path_spec="/usr/lib" 10010 need_lib_prefix=no 10011 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 10012 case $host_os in 10013 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 10014 *) need_version=no ;; 10015 esac 10016 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10017 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10018 shlibpath_var=LD_LIBRARY_PATH 10019 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10020 case $host_os in 10021 openbsd2.[89] | openbsd2.[89].*) 10022 shlibpath_overrides_runpath=no 10023 ;; 10024 *) 10025 shlibpath_overrides_runpath=yes 10026 ;; 10027 esac 10028 else 10029 shlibpath_overrides_runpath=yes 10030 fi 10031 ;; 10032 10033os2*) 10034 libname_spec='$name' 10035 shrext_cmds=".dll" 10036 need_lib_prefix=no 10037 library_names_spec='$libname${shared_ext} $libname.a' 10038 dynamic_linker='OS/2 ld.exe' 10039 shlibpath_var=LIBPATH 10040 ;; 10041 10042osf3* | osf4* | osf5*) 10043 version_type=osf 10044 need_lib_prefix=no 10045 need_version=no 10046 soname_spec='${libname}${release}${shared_ext}$major' 10047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10048 shlibpath_var=LD_LIBRARY_PATH 10049 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 10050 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 10051 ;; 10052 10053rdos*) 10054 dynamic_linker=no 10055 ;; 10056 10057solaris*) 10058 version_type=linux 10059 need_lib_prefix=no 10060 need_version=no 10061 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10062 soname_spec='${libname}${release}${shared_ext}$major' 10063 shlibpath_var=LD_LIBRARY_PATH 10064 shlibpath_overrides_runpath=yes 10065 hardcode_into_libs=yes 10066 # ldd complains unless libraries are executable 10067 postinstall_cmds='chmod +x $lib' 10068 ;; 10069 10070sunos4*) 10071 version_type=sunos 10072 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10073 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 10074 shlibpath_var=LD_LIBRARY_PATH 10075 shlibpath_overrides_runpath=yes 10076 if test "$with_gnu_ld" = yes; then 10077 need_lib_prefix=no 10078 fi 10079 need_version=yes 10080 ;; 10081 10082sysv4 | sysv4.3*) 10083 version_type=linux 10084 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10085 soname_spec='${libname}${release}${shared_ext}$major' 10086 shlibpath_var=LD_LIBRARY_PATH 10087 case $host_vendor in 10088 sni) 10089 shlibpath_overrides_runpath=no 10090 need_lib_prefix=no 10091 runpath_var=LD_RUN_PATH 10092 ;; 10093 siemens) 10094 need_lib_prefix=no 10095 ;; 10096 motorola) 10097 need_lib_prefix=no 10098 need_version=no 10099 shlibpath_overrides_runpath=no 10100 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 10101 ;; 10102 esac 10103 ;; 10104 10105sysv4*MP*) 10106 if test -d /usr/nec ;then 10107 version_type=linux 10108 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 10109 soname_spec='$libname${shared_ext}.$major' 10110 shlibpath_var=LD_LIBRARY_PATH 10111 fi 10112 ;; 10113 10114sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 10115 version_type=freebsd-elf 10116 need_lib_prefix=no 10117 need_version=no 10118 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10119 soname_spec='${libname}${release}${shared_ext}$major' 10120 shlibpath_var=LD_LIBRARY_PATH 10121 shlibpath_overrides_runpath=yes 10122 hardcode_into_libs=yes 10123 if test "$with_gnu_ld" = yes; then 10124 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 10125 else 10126 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 10127 case $host_os in 10128 sco3.2v5*) 10129 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 10130 ;; 10131 esac 10132 fi 10133 sys_lib_dlsearch_path_spec='/usr/lib' 10134 ;; 10135 10136tpf*) 10137 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 10138 version_type=linux 10139 need_lib_prefix=no 10140 need_version=no 10141 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10142 shlibpath_var=LD_LIBRARY_PATH 10143 shlibpath_overrides_runpath=no 10144 hardcode_into_libs=yes 10145 ;; 10146 10147uts4*) 10148 version_type=linux 10149 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10150 soname_spec='${libname}${release}${shared_ext}$major' 10151 shlibpath_var=LD_LIBRARY_PATH 10152 ;; 10153 10154*) 10155 dynamic_linker=no 10156 ;; 10157esac 10158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 10159$as_echo "$dynamic_linker" >&6; } 10160test "$dynamic_linker" = no && can_build_shared=no 10161 10162variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 10163if test "$GCC" = yes; then 10164 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 10165fi 10166 10167if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 10168 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 10169fi 10170if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 10171 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 10172fi 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 10261$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 10262hardcode_action= 10263if test -n "$hardcode_libdir_flag_spec" || 10264 test -n "$runpath_var" || 10265 test "X$hardcode_automatic" = "Xyes" ; then 10266 10267 # We can hardcode non-existent directories. 10268 if test "$hardcode_direct" != no && 10269 # If the only mechanism to avoid hardcoding is shlibpath_var, we 10270 # have to relink, otherwise we might link with an installed library 10271 # when we should be linking with a yet-to-be-installed one 10272 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 10273 test "$hardcode_minus_L" != no; then 10274 # Linking always hardcodes the temporary library directory. 10275 hardcode_action=relink 10276 else 10277 # We can link without hardcoding, and we can hardcode nonexisting dirs. 10278 hardcode_action=immediate 10279 fi 10280else 10281 # We cannot hardcode anything, or else we can only hardcode existing 10282 # directories. 10283 hardcode_action=unsupported 10284fi 10285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 10286$as_echo "$hardcode_action" >&6; } 10287 10288if test "$hardcode_action" = relink || 10289 test "$inherit_rpath" = yes; then 10290 # Fast installation is not supported 10291 enable_fast_install=no 10292elif test "$shlibpath_overrides_runpath" = yes || 10293 test "$enable_shared" = no; then 10294 # Fast installation is not necessary 10295 enable_fast_install=needless 10296fi 10297 10298 10299 10300 10301 10302 10303 if test "x$enable_dlopen" != xyes; then 10304 enable_dlopen=unknown 10305 enable_dlopen_self=unknown 10306 enable_dlopen_self_static=unknown 10307else 10308 lt_cv_dlopen=no 10309 lt_cv_dlopen_libs= 10310 10311 case $host_os in 10312 beos*) 10313 lt_cv_dlopen="load_add_on" 10314 lt_cv_dlopen_libs= 10315 lt_cv_dlopen_self=yes 10316 ;; 10317 10318 mingw* | pw32* | cegcc*) 10319 lt_cv_dlopen="LoadLibrary" 10320 lt_cv_dlopen_libs= 10321 ;; 10322 10323 cygwin*) 10324 lt_cv_dlopen="dlopen" 10325 lt_cv_dlopen_libs= 10326 ;; 10327 10328 darwin*) 10329 # if libdl is installed we need to link against it 10330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10331$as_echo_n "checking for dlopen in -ldl... " >&6; } 10332if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 10333 $as_echo_n "(cached) " >&6 10334else 10335 ac_check_lib_save_LIBS=$LIBS 10336LIBS="-ldl $LIBS" 10337cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10338/* end confdefs.h. */ 10339 10340/* Override any GCC internal prototype to avoid an error. 10341 Use char because int might match the return type of a GCC 10342 builtin and then its argument prototype would still apply. */ 10343#ifdef __cplusplus 10344extern "C" 10345#endif 10346char dlopen (); 10347int 10348main () 10349{ 10350return dlopen (); 10351 ; 10352 return 0; 10353} 10354_ACEOF 10355if ac_fn_c_try_link "$LINENO"; then : 10356 ac_cv_lib_dl_dlopen=yes 10357else 10358 ac_cv_lib_dl_dlopen=no 10359fi 10360rm -f core conftest.err conftest.$ac_objext \ 10361 conftest$ac_exeext conftest.$ac_ext 10362LIBS=$ac_check_lib_save_LIBS 10363fi 10364{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10365$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10366if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 10367 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10368else 10369 10370 lt_cv_dlopen="dyld" 10371 lt_cv_dlopen_libs= 10372 lt_cv_dlopen_self=yes 10373 10374fi 10375 10376 ;; 10377 10378 *) 10379 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 10380if test "x$ac_cv_func_shl_load" = x""yes; then : 10381 lt_cv_dlopen="shl_load" 10382else 10383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 10384$as_echo_n "checking for shl_load in -ldld... " >&6; } 10385if test "${ac_cv_lib_dld_shl_load+set}" = set; then : 10386 $as_echo_n "(cached) " >&6 10387else 10388 ac_check_lib_save_LIBS=$LIBS 10389LIBS="-ldld $LIBS" 10390cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10391/* end confdefs.h. */ 10392 10393/* Override any GCC internal prototype to avoid an error. 10394 Use char because int might match the return type of a GCC 10395 builtin and then its argument prototype would still apply. */ 10396#ifdef __cplusplus 10397extern "C" 10398#endif 10399char shl_load (); 10400int 10401main () 10402{ 10403return shl_load (); 10404 ; 10405 return 0; 10406} 10407_ACEOF 10408if ac_fn_c_try_link "$LINENO"; then : 10409 ac_cv_lib_dld_shl_load=yes 10410else 10411 ac_cv_lib_dld_shl_load=no 10412fi 10413rm -f core conftest.err conftest.$ac_objext \ 10414 conftest$ac_exeext conftest.$ac_ext 10415LIBS=$ac_check_lib_save_LIBS 10416fi 10417{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 10418$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 10419if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : 10420 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 10421else 10422 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 10423if test "x$ac_cv_func_dlopen" = x""yes; then : 10424 lt_cv_dlopen="dlopen" 10425else 10426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10427$as_echo_n "checking for dlopen in -ldl... " >&6; } 10428if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 10429 $as_echo_n "(cached) " >&6 10430else 10431 ac_check_lib_save_LIBS=$LIBS 10432LIBS="-ldl $LIBS" 10433cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10434/* end confdefs.h. */ 10435 10436/* Override any GCC internal prototype to avoid an error. 10437 Use char because int might match the return type of a GCC 10438 builtin and then its argument prototype would still apply. */ 10439#ifdef __cplusplus 10440extern "C" 10441#endif 10442char dlopen (); 10443int 10444main () 10445{ 10446return dlopen (); 10447 ; 10448 return 0; 10449} 10450_ACEOF 10451if ac_fn_c_try_link "$LINENO"; then : 10452 ac_cv_lib_dl_dlopen=yes 10453else 10454 ac_cv_lib_dl_dlopen=no 10455fi 10456rm -f core conftest.err conftest.$ac_objext \ 10457 conftest$ac_exeext conftest.$ac_ext 10458LIBS=$ac_check_lib_save_LIBS 10459fi 10460{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10461$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10462if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 10463 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10464else 10465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 10466$as_echo_n "checking for dlopen in -lsvld... " >&6; } 10467if test "${ac_cv_lib_svld_dlopen+set}" = set; then : 10468 $as_echo_n "(cached) " >&6 10469else 10470 ac_check_lib_save_LIBS=$LIBS 10471LIBS="-lsvld $LIBS" 10472cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10473/* end confdefs.h. */ 10474 10475/* Override any GCC internal prototype to avoid an error. 10476 Use char because int might match the return type of a GCC 10477 builtin and then its argument prototype would still apply. */ 10478#ifdef __cplusplus 10479extern "C" 10480#endif 10481char dlopen (); 10482int 10483main () 10484{ 10485return dlopen (); 10486 ; 10487 return 0; 10488} 10489_ACEOF 10490if ac_fn_c_try_link "$LINENO"; then : 10491 ac_cv_lib_svld_dlopen=yes 10492else 10493 ac_cv_lib_svld_dlopen=no 10494fi 10495rm -f core conftest.err conftest.$ac_objext \ 10496 conftest$ac_exeext conftest.$ac_ext 10497LIBS=$ac_check_lib_save_LIBS 10498fi 10499{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 10500$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 10501if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : 10502 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 10503else 10504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 10505$as_echo_n "checking for dld_link in -ldld... " >&6; } 10506if test "${ac_cv_lib_dld_dld_link+set}" = set; then : 10507 $as_echo_n "(cached) " >&6 10508else 10509 ac_check_lib_save_LIBS=$LIBS 10510LIBS="-ldld $LIBS" 10511cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10512/* end confdefs.h. */ 10513 10514/* Override any GCC internal prototype to avoid an error. 10515 Use char because int might match the return type of a GCC 10516 builtin and then its argument prototype would still apply. */ 10517#ifdef __cplusplus 10518extern "C" 10519#endif 10520char dld_link (); 10521int 10522main () 10523{ 10524return dld_link (); 10525 ; 10526 return 0; 10527} 10528_ACEOF 10529if ac_fn_c_try_link "$LINENO"; then : 10530 ac_cv_lib_dld_dld_link=yes 10531else 10532 ac_cv_lib_dld_dld_link=no 10533fi 10534rm -f core conftest.err conftest.$ac_objext \ 10535 conftest$ac_exeext conftest.$ac_ext 10536LIBS=$ac_check_lib_save_LIBS 10537fi 10538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 10539$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 10540if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : 10541 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 10542fi 10543 10544 10545fi 10546 10547 10548fi 10549 10550 10551fi 10552 10553 10554fi 10555 10556 10557fi 10558 10559 ;; 10560 esac 10561 10562 if test "x$lt_cv_dlopen" != xno; then 10563 enable_dlopen=yes 10564 else 10565 enable_dlopen=no 10566 fi 10567 10568 case $lt_cv_dlopen in 10569 dlopen) 10570 save_CPPFLAGS="$CPPFLAGS" 10571 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 10572 10573 save_LDFLAGS="$LDFLAGS" 10574 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 10575 10576 save_LIBS="$LIBS" 10577 LIBS="$lt_cv_dlopen_libs $LIBS" 10578 10579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 10580$as_echo_n "checking whether a program can dlopen itself... " >&6; } 10581if test "${lt_cv_dlopen_self+set}" = set; then : 10582 $as_echo_n "(cached) " >&6 10583else 10584 if test "$cross_compiling" = yes; then : 10585 lt_cv_dlopen_self=cross 10586else 10587 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10588 lt_status=$lt_dlunknown 10589 cat > conftest.$ac_ext <<_LT_EOF 10590#line 10590 "configure" 10591#include "confdefs.h" 10592 10593#if HAVE_DLFCN_H 10594#include <dlfcn.h> 10595#endif 10596 10597#include <stdio.h> 10598 10599#ifdef RTLD_GLOBAL 10600# define LT_DLGLOBAL RTLD_GLOBAL 10601#else 10602# ifdef DL_GLOBAL 10603# define LT_DLGLOBAL DL_GLOBAL 10604# else 10605# define LT_DLGLOBAL 0 10606# endif 10607#endif 10608 10609/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 10610 find out it does not work in some platform. */ 10611#ifndef LT_DLLAZY_OR_NOW 10612# ifdef RTLD_LAZY 10613# define LT_DLLAZY_OR_NOW RTLD_LAZY 10614# else 10615# ifdef DL_LAZY 10616# define LT_DLLAZY_OR_NOW DL_LAZY 10617# else 10618# ifdef RTLD_NOW 10619# define LT_DLLAZY_OR_NOW RTLD_NOW 10620# else 10621# ifdef DL_NOW 10622# define LT_DLLAZY_OR_NOW DL_NOW 10623# else 10624# define LT_DLLAZY_OR_NOW 0 10625# endif 10626# endif 10627# endif 10628# endif 10629#endif 10630 10631void fnord() { int i=42;} 10632int main () 10633{ 10634 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 10635 int status = $lt_dlunknown; 10636 10637 if (self) 10638 { 10639 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 10640 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 10641 /* dlclose (self); */ 10642 } 10643 else 10644 puts (dlerror ()); 10645 10646 return status; 10647} 10648_LT_EOF 10649 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 10650 (eval $ac_link) 2>&5 10651 ac_status=$? 10652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10653 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 10654 (./conftest; exit; ) >&5 2>/dev/null 10655 lt_status=$? 10656 case x$lt_status in 10657 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 10658 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 10659 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 10660 esac 10661 else : 10662 # compilation failed 10663 lt_cv_dlopen_self=no 10664 fi 10665fi 10666rm -fr conftest* 10667 10668 10669fi 10670{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 10671$as_echo "$lt_cv_dlopen_self" >&6; } 10672 10673 if test "x$lt_cv_dlopen_self" = xyes; then 10674 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 10675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 10676$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 10677if test "${lt_cv_dlopen_self_static+set}" = set; then : 10678 $as_echo_n "(cached) " >&6 10679else 10680 if test "$cross_compiling" = yes; then : 10681 lt_cv_dlopen_self_static=cross 10682else 10683 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10684 lt_status=$lt_dlunknown 10685 cat > conftest.$ac_ext <<_LT_EOF 10686#line 10686 "configure" 10687#include "confdefs.h" 10688 10689#if HAVE_DLFCN_H 10690#include <dlfcn.h> 10691#endif 10692 10693#include <stdio.h> 10694 10695#ifdef RTLD_GLOBAL 10696# define LT_DLGLOBAL RTLD_GLOBAL 10697#else 10698# ifdef DL_GLOBAL 10699# define LT_DLGLOBAL DL_GLOBAL 10700# else 10701# define LT_DLGLOBAL 0 10702# endif 10703#endif 10704 10705/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 10706 find out it does not work in some platform. */ 10707#ifndef LT_DLLAZY_OR_NOW 10708# ifdef RTLD_LAZY 10709# define LT_DLLAZY_OR_NOW RTLD_LAZY 10710# else 10711# ifdef DL_LAZY 10712# define LT_DLLAZY_OR_NOW DL_LAZY 10713# else 10714# ifdef RTLD_NOW 10715# define LT_DLLAZY_OR_NOW RTLD_NOW 10716# else 10717# ifdef DL_NOW 10718# define LT_DLLAZY_OR_NOW DL_NOW 10719# else 10720# define LT_DLLAZY_OR_NOW 0 10721# endif 10722# endif 10723# endif 10724# endif 10725#endif 10726 10727void fnord() { int i=42;} 10728int main () 10729{ 10730 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 10731 int status = $lt_dlunknown; 10732 10733 if (self) 10734 { 10735 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 10736 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 10737 /* dlclose (self); */ 10738 } 10739 else 10740 puts (dlerror ()); 10741 10742 return status; 10743} 10744_LT_EOF 10745 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 10746 (eval $ac_link) 2>&5 10747 ac_status=$? 10748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10749 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 10750 (./conftest; exit; ) >&5 2>/dev/null 10751 lt_status=$? 10752 case x$lt_status in 10753 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 10754 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 10755 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 10756 esac 10757 else : 10758 # compilation failed 10759 lt_cv_dlopen_self_static=no 10760 fi 10761fi 10762rm -fr conftest* 10763 10764 10765fi 10766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 10767$as_echo "$lt_cv_dlopen_self_static" >&6; } 10768 fi 10769 10770 CPPFLAGS="$save_CPPFLAGS" 10771 LDFLAGS="$save_LDFLAGS" 10772 LIBS="$save_LIBS" 10773 ;; 10774 esac 10775 10776 case $lt_cv_dlopen_self in 10777 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 10778 *) enable_dlopen_self=unknown ;; 10779 esac 10780 10781 case $lt_cv_dlopen_self_static in 10782 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 10783 *) enable_dlopen_self_static=unknown ;; 10784 esac 10785fi 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803striplib= 10804old_striplib= 10805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 10806$as_echo_n "checking whether stripping libraries is possible... " >&6; } 10807if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 10808 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 10809 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 10810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10811$as_echo "yes" >&6; } 10812else 10813# FIXME - insert some real tests, host_os isn't really good enough 10814 case $host_os in 10815 darwin*) 10816 if test -n "$STRIP" ; then 10817 striplib="$STRIP -x" 10818 old_striplib="$STRIP -S" 10819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10820$as_echo "yes" >&6; } 10821 else 10822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10823$as_echo "no" >&6; } 10824 fi 10825 ;; 10826 *) 10827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10828$as_echo "no" >&6; } 10829 ;; 10830 esac 10831fi 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 # Report which library types will actually be built 10845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 10846$as_echo_n "checking if libtool supports shared libraries... " >&6; } 10847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 10848$as_echo "$can_build_shared" >&6; } 10849 10850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 10851$as_echo_n "checking whether to build shared libraries... " >&6; } 10852 test "$can_build_shared" = "no" && enable_shared=no 10853 10854 # On AIX, shared libraries and static libraries use the same namespace, and 10855 # are all built from PIC. 10856 case $host_os in 10857 aix3*) 10858 test "$enable_shared" = yes && enable_static=no 10859 if test -n "$RANLIB"; then 10860 archive_cmds="$archive_cmds~\$RANLIB \$lib" 10861 postinstall_cmds='$RANLIB $lib' 10862 fi 10863 ;; 10864 10865 aix[4-9]*) 10866 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 10867 test "$enable_shared" = yes && enable_static=no 10868 fi 10869 ;; 10870 esac 10871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 10872$as_echo "$enable_shared" >&6; } 10873 10874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 10875$as_echo_n "checking whether to build static libraries... " >&6; } 10876 # Make sure either enable_shared or enable_static is yes. 10877 test "$enable_shared" = yes || enable_static=yes 10878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 10879$as_echo "$enable_static" >&6; } 10880 10881 10882 10883 10884fi 10885ac_ext=c 10886ac_cpp='$CPP $CPPFLAGS' 10887ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 10888ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 10889ac_compiler_gnu=$ac_cv_c_compiler_gnu 10890 10891CC="$lt_save_CC" 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 ac_config_commands="$ac_config_commands libtool" 10906 10907 10908 10909 10910# Only expand once: 10911 10912 10913: ${CONFIG_LT=./config.lt} 10914{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5 10915$as_echo "$as_me: creating $CONFIG_LT" >&6;} 10916cat >"$CONFIG_LT" <<_LTEOF 10917#! $SHELL 10918# Generated by $as_me. 10919# Run this file to recreate a libtool stub with the current configuration. 10920 10921lt_cl_silent=false 10922SHELL=\${CONFIG_SHELL-$SHELL} 10923_LTEOF 10924 10925cat >>"$CONFIG_LT" <<\_LTEOF 10926## -------------------- ## 10927## M4sh Initialization. ## 10928## -------------------- ## 10929 10930# Be more Bourne compatible 10931DUALCASE=1; export DUALCASE # for MKS sh 10932if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 10933 emulate sh 10934 NULLCMD=: 10935 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 10936 # is contrary to our usage. Disable this feature. 10937 alias -g '${1+"$@"}'='"$@"' 10938 setopt NO_GLOB_SUBST 10939else 10940 case `(set -o) 2>/dev/null` in #( 10941 *posix*) : 10942 set -o posix ;; #( 10943 *) : 10944 ;; 10945esac 10946fi 10947 10948 10949as_nl=' 10950' 10951export as_nl 10952# Printing a long string crashes Solaris 7 /usr/bin/printf. 10953as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 10954as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 10955as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 10956# Prefer a ksh shell builtin over an external printf program on Solaris, 10957# but without wasting forks for bash or zsh. 10958if test -z "$BASH_VERSION$ZSH_VERSION" \ 10959 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 10960 as_echo='print -r --' 10961 as_echo_n='print -rn --' 10962elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 10963 as_echo='printf %s\n' 10964 as_echo_n='printf %s' 10965else 10966 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 10967 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 10968 as_echo_n='/usr/ucb/echo -n' 10969 else 10970 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 10971 as_echo_n_body='eval 10972 arg=$1; 10973 case $arg in #( 10974 *"$as_nl"*) 10975 expr "X$arg" : "X\\(.*\\)$as_nl"; 10976 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 10977 esac; 10978 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 10979 ' 10980 export as_echo_n_body 10981 as_echo_n='sh -c $as_echo_n_body as_echo' 10982 fi 10983 export as_echo_body 10984 as_echo='sh -c $as_echo_body as_echo' 10985fi 10986 10987# The user is always right. 10988if test "${PATH_SEPARATOR+set}" != set; then 10989 PATH_SEPARATOR=: 10990 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 10991 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 10992 PATH_SEPARATOR=';' 10993 } 10994fi 10995 10996 10997# IFS 10998# We need space, tab and new line, in precisely that order. Quoting is 10999# there to prevent editors from complaining about space-tab. 11000# (If _AS_PATH_WALK were called with IFS unset, it would disable word 11001# splitting by setting IFS to empty value.) 11002IFS=" "" $as_nl" 11003 11004# Find who we are. Look in the path if we contain no directory separator. 11005case $0 in #(( 11006 *[\\/]* ) as_myself=$0 ;; 11007 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11008for as_dir in $PATH 11009do 11010 IFS=$as_save_IFS 11011 test -z "$as_dir" && as_dir=. 11012 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 11013 done 11014IFS=$as_save_IFS 11015 11016 ;; 11017esac 11018# We did not find ourselves, most probably we were run as `sh COMMAND' 11019# in which case we are not to be found in the path. 11020if test "x$as_myself" = x; then 11021 as_myself=$0 11022fi 11023if test ! -f "$as_myself"; then 11024 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 11025 exit 1 11026fi 11027 11028# Unset variables that we do not need and which cause bugs (e.g. in 11029# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 11030# suppresses any "Segmentation fault" message there. '((' could 11031# trigger a bug in pdksh 5.2.14. 11032for as_var in BASH_ENV ENV MAIL MAILPATH 11033do eval test x\${$as_var+set} = xset \ 11034 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 11035done 11036PS1='$ ' 11037PS2='> ' 11038PS4='+ ' 11039 11040# NLS nuisances. 11041LC_ALL=C 11042export LC_ALL 11043LANGUAGE=C 11044export LANGUAGE 11045 11046# CDPATH. 11047(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 11048 11049 11050 11051# as_fn_error STATUS ERROR [LINENO LOG_FD] 11052# ---------------------------------------- 11053# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 11054# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 11055# script with STATUS, using 1 if that was 0. 11056as_fn_error () 11057{ 11058 as_status=$1; test $as_status -eq 0 && as_status=1 11059 if test "$4"; then 11060 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 11061 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 11062 fi 11063 $as_echo "$as_me: error: $2" >&2 11064 as_fn_exit $as_status 11065} # as_fn_error 11066 11067 11068# as_fn_set_status STATUS 11069# ----------------------- 11070# Set $? to STATUS, without forking. 11071as_fn_set_status () 11072{ 11073 return $1 11074} # as_fn_set_status 11075 11076# as_fn_exit STATUS 11077# ----------------- 11078# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 11079as_fn_exit () 11080{ 11081 set +e 11082 as_fn_set_status $1 11083 exit $1 11084} # as_fn_exit 11085 11086# as_fn_unset VAR 11087# --------------- 11088# Portably unset VAR. 11089as_fn_unset () 11090{ 11091 { eval $1=; unset $1;} 11092} 11093as_unset=as_fn_unset 11094# as_fn_append VAR VALUE 11095# ---------------------- 11096# Append the text in VALUE to the end of the definition contained in VAR. Take 11097# advantage of any shell optimizations that allow amortized linear growth over 11098# repeated appends, instead of the typical quadratic growth present in naive 11099# implementations. 11100if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 11101 eval 'as_fn_append () 11102 { 11103 eval $1+=\$2 11104 }' 11105else 11106 as_fn_append () 11107 { 11108 eval $1=\$$1\$2 11109 } 11110fi # as_fn_append 11111 11112# as_fn_arith ARG... 11113# ------------------ 11114# Perform arithmetic evaluation on the ARGs, and store the result in the 11115# global $as_val. Take advantage of shells that can avoid forks. The arguments 11116# must be portable across $(()) and expr. 11117if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 11118 eval 'as_fn_arith () 11119 { 11120 as_val=$(( $* )) 11121 }' 11122else 11123 as_fn_arith () 11124 { 11125 as_val=`expr "$@" || test $? -eq 1` 11126 } 11127fi # as_fn_arith 11128 11129 11130if expr a : '\(a\)' >/dev/null 2>&1 && 11131 test "X`expr 00001 : '.*\(...\)'`" = X001; then 11132 as_expr=expr 11133else 11134 as_expr=false 11135fi 11136 11137if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 11138 as_basename=basename 11139else 11140 as_basename=false 11141fi 11142 11143if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 11144 as_dirname=dirname 11145else 11146 as_dirname=false 11147fi 11148 11149as_me=`$as_basename -- "$0" || 11150$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 11151 X"$0" : 'X\(//\)$' \| \ 11152 X"$0" : 'X\(/\)' \| . 2>/dev/null || 11153$as_echo X/"$0" | 11154 sed '/^.*\/\([^/][^/]*\)\/*$/{ 11155 s//\1/ 11156 q 11157 } 11158 /^X\/\(\/\/\)$/{ 11159 s//\1/ 11160 q 11161 } 11162 /^X\/\(\/\).*/{ 11163 s//\1/ 11164 q 11165 } 11166 s/.*/./; q'` 11167 11168# Avoid depending upon Character Ranges. 11169as_cr_letters='abcdefghijklmnopqrstuvwxyz' 11170as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 11171as_cr_Letters=$as_cr_letters$as_cr_LETTERS 11172as_cr_digits='0123456789' 11173as_cr_alnum=$as_cr_Letters$as_cr_digits 11174 11175ECHO_C= ECHO_N= ECHO_T= 11176case `echo -n x` in #((((( 11177-n*) 11178 case `echo 'xy\c'` in 11179 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 11180 xy) ECHO_C='\c';; 11181 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 11182 ECHO_T=' ';; 11183 esac;; 11184*) 11185 ECHO_N='-n';; 11186esac 11187 11188rm -f conf$$ conf$$.exe conf$$.file 11189if test -d conf$$.dir; then 11190 rm -f conf$$.dir/conf$$.file 11191else 11192 rm -f conf$$.dir 11193 mkdir conf$$.dir 2>/dev/null 11194fi 11195if (echo >conf$$.file) 2>/dev/null; then 11196 if ln -s conf$$.file conf$$ 2>/dev/null; then 11197 as_ln_s='ln -s' 11198 # ... but there are two gotchas: 11199 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 11200 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 11201 # In both cases, we have to default to `cp -p'. 11202 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 11203 as_ln_s='cp -p' 11204 elif ln conf$$.file conf$$ 2>/dev/null; then 11205 as_ln_s=ln 11206 else 11207 as_ln_s='cp -p' 11208 fi 11209else 11210 as_ln_s='cp -p' 11211fi 11212rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 11213rmdir conf$$.dir 2>/dev/null 11214 11215 11216# as_fn_mkdir_p 11217# ------------- 11218# Create "$as_dir" as a directory, including parents if necessary. 11219as_fn_mkdir_p () 11220{ 11221 11222 case $as_dir in #( 11223 -*) as_dir=./$as_dir;; 11224 esac 11225 test -d "$as_dir" || eval $as_mkdir_p || { 11226 as_dirs= 11227 while :; do 11228 case $as_dir in #( 11229 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 11230 *) as_qdir=$as_dir;; 11231 esac 11232 as_dirs="'$as_qdir' $as_dirs" 11233 as_dir=`$as_dirname -- "$as_dir" || 11234$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11235 X"$as_dir" : 'X\(//\)[^/]' \| \ 11236 X"$as_dir" : 'X\(//\)$' \| \ 11237 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 11238$as_echo X"$as_dir" | 11239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11240 s//\1/ 11241 q 11242 } 11243 /^X\(\/\/\)[^/].*/{ 11244 s//\1/ 11245 q 11246 } 11247 /^X\(\/\/\)$/{ 11248 s//\1/ 11249 q 11250 } 11251 /^X\(\/\).*/{ 11252 s//\1/ 11253 q 11254 } 11255 s/.*/./; q'` 11256 test -d "$as_dir" && break 11257 done 11258 test -z "$as_dirs" || eval "mkdir $as_dirs" 11259 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" "$LINENO" 5 11260 11261 11262} # as_fn_mkdir_p 11263if mkdir -p . 2>/dev/null; then 11264 as_mkdir_p='mkdir -p "$as_dir"' 11265else 11266 test -d ./-p && rmdir ./-p 11267 as_mkdir_p=false 11268fi 11269 11270if test -x / >/dev/null 2>&1; then 11271 as_test_x='test -x' 11272else 11273 if ls -dL / >/dev/null 2>&1; then 11274 as_ls_L_option=L 11275 else 11276 as_ls_L_option= 11277 fi 11278 as_test_x=' 11279 eval sh -c '\'' 11280 if test -d "$1"; then 11281 test -d "$1/."; 11282 else 11283 case $1 in #( 11284 -*)set "./$1";; 11285 esac; 11286 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 11287 ???[sx]*):;;*)false;;esac;fi 11288 '\'' sh 11289 ' 11290fi 11291as_executable_p=$as_test_x 11292 11293# Sed expression to map a string onto a valid CPP name. 11294as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 11295 11296# Sed expression to map a string onto a valid variable name. 11297as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 11298 11299 11300 11301exec 6>&1 11302exec 5>>config.log 11303{ 11304 echo 11305 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 11306## Running $as_me. ## 11307_ASBOX 11308} >&5 11309 11310lt_cl_help="\ 11311\`$as_me' creates a local libtool stub from the current configuration, 11312for use in further configure time tests before the real libtool is 11313generated. 11314 11315Usage: $0 [OPTIONS] 11316 11317 -h, --help print this help, then exit 11318 -V, --version print version number, then exit 11319 -q, --quiet do not print progress messages 11320 -d, --debug don't remove temporary files 11321 11322Report bugs to <bug-libtool@gnu.org>." 11323 11324lt_cl_version="\ 11325pylgtk config.lt 2.24.0 11326configured by $0, generated by GNU Autoconf 2.67. 11327 11328Copyright (C) 2008 Free Software Foundation, Inc. 11329This config.lt script is free software; the Free Software Foundation 11330gives unlimited permision to copy, distribute and modify it." 11331 11332while test $# != 0 11333do 11334 case $1 in 11335 --version | --v* | -V ) 11336 echo "$lt_cl_version"; exit 0 ;; 11337 --help | --h* | -h ) 11338 echo "$lt_cl_help"; exit 0 ;; 11339 --debug | --d* | -d ) 11340 debug=: ;; 11341 --quiet | --q* | --silent | --s* | -q ) 11342 lt_cl_silent=: ;; 11343 11344 -*) as_fn_error $? "unrecognized option: $1 11345Try \`$0 --help' for more information." "$LINENO" 5 ;; 11346 11347 *) as_fn_error $? "unrecognized argument: $1 11348Try \`$0 --help' for more information." "$LINENO" 5 ;; 11349 esac 11350 shift 11351done 11352 11353if $lt_cl_silent; then 11354 exec 6>/dev/null 11355fi 11356_LTEOF 11357 11358cat >>"$CONFIG_LT" <<_LTEOF 11359 11360 11361# The HP-UX ksh and POSIX shell print the target directory to stdout 11362# if CDPATH is set. 11363(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 11364 11365sed_quote_subst='$sed_quote_subst' 11366double_quote_subst='$double_quote_subst' 11367delay_variable_subst='$delay_variable_subst' 11368enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' 11369AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`' 11370DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`' 11371OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' 11372macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' 11373macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' 11374enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' 11375pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' 11376enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' 11377host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' 11378host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' 11379host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' 11380build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' 11381build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' 11382build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' 11383SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' 11384Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' 11385GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' 11386EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' 11387FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' 11388LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' 11389NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' 11390LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' 11391max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' 11392ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' 11393exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' 11394lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' 11395lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' 11396lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' 11397reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' 11398reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' 11399deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' 11400file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' 11401AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' 11402AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' 11403STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' 11404RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' 11405old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 11406old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 11407old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 11408CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' 11409CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' 11410compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' 11411GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' 11412lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' 11413lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' 11414lt_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"`' 11415lt_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"`' 11416objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' 11417SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' 11418ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' 11419MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' 11420lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' 11421lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' 11422lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' 11423lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' 11424lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' 11425need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' 11426DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' 11427NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' 11428LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' 11429OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' 11430OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' 11431libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' 11432shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' 11433extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 11434archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' 11435enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' 11436export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 11437whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 11438compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' 11439old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' 11440old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 11441archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 11442archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 11443module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' 11444module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 11445with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' 11446allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 11447no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 11448hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 11449hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' 11450hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' 11451hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' 11452hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' 11453hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' 11454hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 11455hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' 11456inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' 11457link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' 11458fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' 11459always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' 11460export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' 11461exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 11462include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 11463prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' 11464file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' 11465variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' 11466need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' 11467need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' 11468version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' 11469runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' 11470shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 11471shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' 11472libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' 11473library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' 11474soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' 11475postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 11476postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 11477finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' 11478finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' 11479hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' 11480sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 11481sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 11482hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' 11483enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' 11484enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' 11485enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' 11486old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' 11487striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' 11488 11489LTCC='$LTCC' 11490LTCFLAGS='$LTCFLAGS' 11491compiler='$compiler_DEFAULT' 11492 11493# Quote evaled strings. 11494for var in SED \ 11495GREP \ 11496EGREP \ 11497FGREP \ 11498LD \ 11499NM \ 11500LN_S \ 11501lt_SP2NL \ 11502lt_NL2SP \ 11503reload_flag \ 11504deplibs_check_method \ 11505file_magic_cmd \ 11506AR \ 11507AR_FLAGS \ 11508STRIP \ 11509RANLIB \ 11510CC \ 11511CFLAGS \ 11512compiler \ 11513lt_cv_sys_global_symbol_pipe \ 11514lt_cv_sys_global_symbol_to_cdecl \ 11515lt_cv_sys_global_symbol_to_c_name_address \ 11516lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 11517SHELL \ 11518ECHO \ 11519lt_prog_compiler_no_builtin_flag \ 11520lt_prog_compiler_wl \ 11521lt_prog_compiler_pic \ 11522lt_prog_compiler_static \ 11523lt_cv_prog_compiler_c_o \ 11524need_locks \ 11525DSYMUTIL \ 11526NMEDIT \ 11527LIPO \ 11528OTOOL \ 11529OTOOL64 \ 11530shrext_cmds \ 11531export_dynamic_flag_spec \ 11532whole_archive_flag_spec \ 11533compiler_needs_object \ 11534with_gnu_ld \ 11535allow_undefined_flag \ 11536no_undefined_flag \ 11537hardcode_libdir_flag_spec \ 11538hardcode_libdir_flag_spec_ld \ 11539hardcode_libdir_separator \ 11540fix_srcfile_path \ 11541exclude_expsyms \ 11542include_expsyms \ 11543file_list_spec \ 11544variables_saved_for_relink \ 11545libname_spec \ 11546library_names_spec \ 11547soname_spec \ 11548finish_eval \ 11549old_striplib \ 11550striplib; do 11551 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 11552 *[\\\\\\\`\\"\\\$]*) 11553 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 11554 ;; 11555 *) 11556 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 11557 ;; 11558 esac 11559done 11560 11561# Double-quote double-evaled strings. 11562for var in reload_cmds \ 11563old_postinstall_cmds \ 11564old_postuninstall_cmds \ 11565old_archive_cmds \ 11566extract_expsyms_cmds \ 11567old_archive_from_new_cmds \ 11568old_archive_from_expsyms_cmds \ 11569archive_cmds \ 11570archive_expsym_cmds \ 11571module_cmds \ 11572module_expsym_cmds \ 11573export_symbols_cmds \ 11574prelink_cmds \ 11575postinstall_cmds \ 11576postuninstall_cmds \ 11577finish_cmds \ 11578sys_lib_search_path_spec \ 11579sys_lib_dlsearch_path_spec; do 11580 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 11581 *[\\\\\\\`\\"\\\$]*) 11582 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 11583 ;; 11584 *) 11585 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 11586 ;; 11587 esac 11588done 11589 11590# Fix-up fallback echo if it was mangled by the above quoting rules. 11591case \$lt_ECHO in 11592*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` 11593 ;; 11594esac 11595 11596ac_aux_dir='$ac_aux_dir' 11597xsi_shell='$xsi_shell' 11598lt_shell_append='$lt_shell_append' 11599 11600# See if we are running on zsh, and set the options which allow our 11601# commands through without removal of \ escapes INIT. 11602if test -n "\${ZSH_VERSION+set}" ; then 11603 setopt NO_GLOB_SUBST 11604fi 11605 11606 11607 PACKAGE='$PACKAGE' 11608 VERSION='$VERSION' 11609 TIMESTAMP='$TIMESTAMP' 11610 RM='$RM' 11611 ofile='$ofile' 11612 11613 11614 11615_LTEOF 11616 11617cat >>"$CONFIG_LT" <<\_LTEOF 11618{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5 11619$as_echo "$as_me: creating $ofile" >&6;} 11620 11621 11622 # See if we are running on zsh, and set the options which allow our 11623 # commands through without removal of \ escapes. 11624 if test -n "${ZSH_VERSION+set}" ; then 11625 setopt NO_GLOB_SUBST 11626 fi 11627 11628 cfgfile="${ofile}T" 11629 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 11630 $RM "$cfgfile" 11631 11632 cat <<_LT_EOF >> "$cfgfile" 11633#! $SHELL 11634 11635# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 11636# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 11637# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 11638# NOTE: Changes made to this file will be lost: look at ltmain.sh. 11639# 11640# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 11641# 2006, 2007, 2008 Free Software Foundation, Inc. 11642# Written by Gordon Matzigkeit, 1996 11643# 11644# This file is part of GNU Libtool. 11645# 11646# GNU Libtool is free software; you can redistribute it and/or 11647# modify it under the terms of the GNU General Public License as 11648# published by the Free Software Foundation; either version 2 of 11649# the License, or (at your option) any later version. 11650# 11651# As a special exception to the GNU General Public License, 11652# if you distribute this file as part of a program or library that 11653# is built using GNU Libtool, you may include this file under the 11654# same distribution terms that you use for the rest of that program. 11655# 11656# GNU Libtool is distributed in the hope that it will be useful, 11657# but WITHOUT ANY WARRANTY; without even the implied warranty of 11658# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11659# GNU General Public License for more details. 11660# 11661# You should have received a copy of the GNU General Public License 11662# along with GNU Libtool; see the file COPYING. If not, a copy 11663# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 11664# obtained by writing to the Free Software Foundation, Inc., 11665# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 11666 11667 11668# The names of the tagged configurations supported by this script. 11669available_tags="" 11670 11671# ### BEGIN LIBTOOL CONFIG 11672 11673# Whether or not to build static libraries. 11674build_old_libs=$enable_static 11675 11676# Assembler program. 11677AS=$AS 11678 11679# DLL creation program. 11680DLLTOOL=$DLLTOOL 11681 11682# Object dumper program. 11683OBJDUMP=$OBJDUMP 11684 11685# Which release of libtool.m4 was used? 11686macro_version=$macro_version 11687macro_revision=$macro_revision 11688 11689# Whether or not to build shared libraries. 11690build_libtool_libs=$enable_shared 11691 11692# What type of objects to build. 11693pic_mode=$pic_mode 11694 11695# Whether or not to optimize for fast installation. 11696fast_install=$enable_fast_install 11697 11698# The host system. 11699host_alias=$host_alias 11700host=$host 11701host_os=$host_os 11702 11703# The build system. 11704build_alias=$build_alias 11705build=$build 11706build_os=$build_os 11707 11708# A sed program that does not truncate output. 11709SED=$lt_SED 11710 11711# Sed that helps us avoid accidentally triggering echo(1) options like -n. 11712Xsed="\$SED -e 1s/^X//" 11713 11714# A grep program that handles long lines. 11715GREP=$lt_GREP 11716 11717# An ERE matcher. 11718EGREP=$lt_EGREP 11719 11720# A literal string matcher. 11721FGREP=$lt_FGREP 11722 11723# A BSD- or MS-compatible name lister. 11724NM=$lt_NM 11725 11726# Whether we need soft or hard links. 11727LN_S=$lt_LN_S 11728 11729# What is the maximum length of a command? 11730max_cmd_len=$max_cmd_len 11731 11732# Object file suffix (normally "o"). 11733objext=$ac_objext 11734 11735# Executable file suffix (normally ""). 11736exeext=$exeext 11737 11738# whether the shell understands "unset". 11739lt_unset=$lt_unset 11740 11741# turn spaces into newlines. 11742SP2NL=$lt_lt_SP2NL 11743 11744# turn newlines into spaces. 11745NL2SP=$lt_lt_NL2SP 11746 11747# How to create reloadable object files. 11748reload_flag=$lt_reload_flag 11749reload_cmds=$lt_reload_cmds 11750 11751# Method to check whether dependent libraries are shared objects. 11752deplibs_check_method=$lt_deplibs_check_method 11753 11754# Command to use when deplibs_check_method == "file_magic". 11755file_magic_cmd=$lt_file_magic_cmd 11756 11757# The archiver. 11758AR=$lt_AR 11759AR_FLAGS=$lt_AR_FLAGS 11760 11761# A symbol stripping program. 11762STRIP=$lt_STRIP 11763 11764# Commands used to install an old-style archive. 11765RANLIB=$lt_RANLIB 11766old_postinstall_cmds=$lt_old_postinstall_cmds 11767old_postuninstall_cmds=$lt_old_postuninstall_cmds 11768 11769# A C compiler. 11770LTCC=$lt_CC 11771 11772# LTCC compiler flags. 11773LTCFLAGS=$lt_CFLAGS 11774 11775# Take the output of nm and produce a listing of raw symbols and C names. 11776global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 11777 11778# Transform the output of nm in a proper C declaration. 11779global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 11780 11781# Transform the output of nm in a C name address pair. 11782global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 11783 11784# Transform the output of nm in a C name address pair when lib prefix is needed. 11785global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 11786 11787# The name of the directory that contains temporary libtool files. 11788objdir=$objdir 11789 11790# Shell to use when invoking shell scripts. 11791SHELL=$lt_SHELL 11792 11793# An echo program that does not interpret backslashes. 11794ECHO=$lt_ECHO 11795 11796# Used to examine libraries when file_magic_cmd begins with "file". 11797MAGIC_CMD=$MAGIC_CMD 11798 11799# Must we lock files when doing compilation? 11800need_locks=$lt_need_locks 11801 11802# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 11803DSYMUTIL=$lt_DSYMUTIL 11804 11805# Tool to change global to local symbols on Mac OS X. 11806NMEDIT=$lt_NMEDIT 11807 11808# Tool to manipulate fat objects and archives on Mac OS X. 11809LIPO=$lt_LIPO 11810 11811# ldd/readelf like tool for Mach-O binaries on Mac OS X. 11812OTOOL=$lt_OTOOL 11813 11814# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 11815OTOOL64=$lt_OTOOL64 11816 11817# Old archive suffix (normally "a"). 11818libext=$libext 11819 11820# Shared library suffix (normally ".so"). 11821shrext_cmds=$lt_shrext_cmds 11822 11823# The commands to extract the exported symbol list from a shared archive. 11824extract_expsyms_cmds=$lt_extract_expsyms_cmds 11825 11826# Variables whose values should be saved in libtool wrapper scripts and 11827# restored at link time. 11828variables_saved_for_relink=$lt_variables_saved_for_relink 11829 11830# Do we need the "lib" prefix for modules? 11831need_lib_prefix=$need_lib_prefix 11832 11833# Do we need a version for libraries? 11834need_version=$need_version 11835 11836# Library versioning type. 11837version_type=$version_type 11838 11839# Shared library runtime path variable. 11840runpath_var=$runpath_var 11841 11842# Shared library path variable. 11843shlibpath_var=$shlibpath_var 11844 11845# Is shlibpath searched before the hard-coded library search path? 11846shlibpath_overrides_runpath=$shlibpath_overrides_runpath 11847 11848# Format of library name prefix. 11849libname_spec=$lt_libname_spec 11850 11851# List of archive names. First name is the real one, the rest are links. 11852# The last name is the one that the linker finds with -lNAME 11853library_names_spec=$lt_library_names_spec 11854 11855# The coded name of the library, if different from the real name. 11856soname_spec=$lt_soname_spec 11857 11858# Command to use after installation of a shared archive. 11859postinstall_cmds=$lt_postinstall_cmds 11860 11861# Command to use after uninstallation of a shared archive. 11862postuninstall_cmds=$lt_postuninstall_cmds 11863 11864# Commands used to finish a libtool library installation in a directory. 11865finish_cmds=$lt_finish_cmds 11866 11867# As "finish_cmds", except a single script fragment to be evaled but 11868# not shown. 11869finish_eval=$lt_finish_eval 11870 11871# Whether we should hardcode library paths into libraries. 11872hardcode_into_libs=$hardcode_into_libs 11873 11874# Compile-time system search path for libraries. 11875sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 11876 11877# Run-time system search path for libraries. 11878sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 11879 11880# Whether dlopen is supported. 11881dlopen_support=$enable_dlopen 11882 11883# Whether dlopen of programs is supported. 11884dlopen_self=$enable_dlopen_self 11885 11886# Whether dlopen of statically linked programs is supported. 11887dlopen_self_static=$enable_dlopen_self_static 11888 11889# Commands to strip libraries. 11890old_striplib=$lt_old_striplib 11891striplib=$lt_striplib 11892 11893 11894# The linker used to build libraries. 11895LD=$lt_LD 11896 11897# Commands used to build an old-style archive. 11898old_archive_cmds=$lt_old_archive_cmds 11899 11900# A language specific compiler. 11901CC=$lt_compiler 11902 11903# Is the compiler the GNU compiler? 11904with_gcc=$GCC 11905 11906# Compiler flag to turn off builtin functions. 11907no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 11908 11909# How to pass a linker flag through the compiler. 11910wl=$lt_lt_prog_compiler_wl 11911 11912# Additional compiler flags for building library objects. 11913pic_flag=$lt_lt_prog_compiler_pic 11914 11915# Compiler flag to prevent dynamic linking. 11916link_static_flag=$lt_lt_prog_compiler_static 11917 11918# Does compiler simultaneously support -c and -o options? 11919compiler_c_o=$lt_lt_cv_prog_compiler_c_o 11920 11921# Whether or not to add -lc for building shared libraries. 11922build_libtool_need_lc=$archive_cmds_need_lc 11923 11924# Whether or not to disallow shared libs when runtime libs are static. 11925allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 11926 11927# Compiler flag to allow reflexive dlopens. 11928export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 11929 11930# Compiler flag to generate shared objects directly from archives. 11931whole_archive_flag_spec=$lt_whole_archive_flag_spec 11932 11933# Whether the compiler copes with passing no objects directly. 11934compiler_needs_object=$lt_compiler_needs_object 11935 11936# Create an old-style archive from a shared archive. 11937old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 11938 11939# Create a temporary old-style archive to link instead of a shared archive. 11940old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 11941 11942# Commands used to build a shared archive. 11943archive_cmds=$lt_archive_cmds 11944archive_expsym_cmds=$lt_archive_expsym_cmds 11945 11946# Commands used to build a loadable module if different from building 11947# a shared archive. 11948module_cmds=$lt_module_cmds 11949module_expsym_cmds=$lt_module_expsym_cmds 11950 11951# Whether we are building with GNU ld or not. 11952with_gnu_ld=$lt_with_gnu_ld 11953 11954# Flag that allows shared libraries with undefined symbols to be built. 11955allow_undefined_flag=$lt_allow_undefined_flag 11956 11957# Flag that enforces no undefined symbols. 11958no_undefined_flag=$lt_no_undefined_flag 11959 11960# Flag to hardcode \$libdir into a binary during linking. 11961# This must work even if \$libdir does not exist 11962hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 11963 11964# If ld is used when linking, flag to hardcode \$libdir into a binary 11965# during linking. This must work even if \$libdir does not exist. 11966hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld 11967 11968# Whether we need a single "-rpath" flag with a separated argument. 11969hardcode_libdir_separator=$lt_hardcode_libdir_separator 11970 11971# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 11972# DIR into the resulting binary. 11973hardcode_direct=$hardcode_direct 11974 11975# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 11976# DIR into the resulting binary and the resulting library dependency is 11977# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 11978# library is relocated. 11979hardcode_direct_absolute=$hardcode_direct_absolute 11980 11981# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 11982# into the resulting binary. 11983hardcode_minus_L=$hardcode_minus_L 11984 11985# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 11986# into the resulting binary. 11987hardcode_shlibpath_var=$hardcode_shlibpath_var 11988 11989# Set to "yes" if building a shared library automatically hardcodes DIR 11990# into the library and all subsequent libraries and executables linked 11991# against it. 11992hardcode_automatic=$hardcode_automatic 11993 11994# Set to yes if linker adds runtime paths of dependent libraries 11995# to runtime path list. 11996inherit_rpath=$inherit_rpath 11997 11998# Whether libtool must link a program against all its dependency libraries. 11999link_all_deplibs=$link_all_deplibs 12000 12001# Fix the shell variable \$srcfile for the compiler. 12002fix_srcfile_path=$lt_fix_srcfile_path 12003 12004# Set to "yes" if exported symbols are required. 12005always_export_symbols=$always_export_symbols 12006 12007# The commands to list exported symbols. 12008export_symbols_cmds=$lt_export_symbols_cmds 12009 12010# Symbols that should not be listed in the preloaded symbols. 12011exclude_expsyms=$lt_exclude_expsyms 12012 12013# Symbols that must always be exported. 12014include_expsyms=$lt_include_expsyms 12015 12016# Commands necessary for linking programs (against libraries) with templates. 12017prelink_cmds=$lt_prelink_cmds 12018 12019# Specify filename containing input files. 12020file_list_spec=$lt_file_list_spec 12021 12022# How to hardcode a shared library path into an executable. 12023hardcode_action=$hardcode_action 12024 12025# ### END LIBTOOL CONFIG 12026 12027_LT_EOF 12028 12029 case $host_os in 12030 aix3*) 12031 cat <<\_LT_EOF >> "$cfgfile" 12032# AIX sometimes has problems with the GCC collect2 program. For some 12033# reason, if we set the COLLECT_NAMES environment variable, the problems 12034# vanish in a puff of smoke. 12035if test "X${COLLECT_NAMES+set}" != Xset; then 12036 COLLECT_NAMES= 12037 export COLLECT_NAMES 12038fi 12039_LT_EOF 12040 ;; 12041 esac 12042 12043 12044ltmain="$ac_aux_dir/ltmain.sh" 12045 12046 12047 # We use sed instead of cat because bash on DJGPP gets confused if 12048 # if finds mixed CR/LF and LF-only lines. Since sed operates in 12049 # text mode, it properly converts lines to CR/LF. This bash problem 12050 # is reportedly fixed, but why not run on old versions too? 12051 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ 12052 || (rm -f "$cfgfile"; exit 1) 12053 12054 case $xsi_shell in 12055 yes) 12056 cat << \_LT_EOF >> "$cfgfile" 12057 12058# func_dirname file append nondir_replacement 12059# Compute the dirname of FILE. If nonempty, add APPEND to the result, 12060# otherwise set result to NONDIR_REPLACEMENT. 12061func_dirname () 12062{ 12063 case ${1} in 12064 */*) func_dirname_result="${1%/*}${2}" ;; 12065 * ) func_dirname_result="${3}" ;; 12066 esac 12067} 12068 12069# func_basename file 12070func_basename () 12071{ 12072 func_basename_result="${1##*/}" 12073} 12074 12075# func_dirname_and_basename file append nondir_replacement 12076# perform func_basename and func_dirname in a single function 12077# call: 12078# dirname: Compute the dirname of FILE. If nonempty, 12079# add APPEND to the result, otherwise set result 12080# to NONDIR_REPLACEMENT. 12081# value returned in "$func_dirname_result" 12082# basename: Compute filename of FILE. 12083# value retuned in "$func_basename_result" 12084# Implementation must be kept synchronized with func_dirname 12085# and func_basename. For efficiency, we do not delegate to 12086# those functions but instead duplicate the functionality here. 12087func_dirname_and_basename () 12088{ 12089 case ${1} in 12090 */*) func_dirname_result="${1%/*}${2}" ;; 12091 * ) func_dirname_result="${3}" ;; 12092 esac 12093 func_basename_result="${1##*/}" 12094} 12095 12096# func_stripname prefix suffix name 12097# strip PREFIX and SUFFIX off of NAME. 12098# PREFIX and SUFFIX must not contain globbing or regex special 12099# characters, hashes, percent signs, but SUFFIX may contain a leading 12100# dot (in which case that matches only a dot). 12101func_stripname () 12102{ 12103 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are 12104 # positional parameters, so assign one to ordinary parameter first. 12105 func_stripname_result=${3} 12106 func_stripname_result=${func_stripname_result#"${1}"} 12107 func_stripname_result=${func_stripname_result%"${2}"} 12108} 12109 12110# func_opt_split 12111func_opt_split () 12112{ 12113 func_opt_split_opt=${1%%=*} 12114 func_opt_split_arg=${1#*=} 12115} 12116 12117# func_lo2o object 12118func_lo2o () 12119{ 12120 case ${1} in 12121 *.lo) func_lo2o_result=${1%.lo}.${objext} ;; 12122 *) func_lo2o_result=${1} ;; 12123 esac 12124} 12125 12126# func_xform libobj-or-source 12127func_xform () 12128{ 12129 func_xform_result=${1%.*}.lo 12130} 12131 12132# func_arith arithmetic-term... 12133func_arith () 12134{ 12135 func_arith_result=$(( $* )) 12136} 12137 12138# func_len string 12139# STRING may not start with a hyphen. 12140func_len () 12141{ 12142 func_len_result=${#1} 12143} 12144 12145_LT_EOF 12146 ;; 12147 *) # Bourne compatible functions. 12148 cat << \_LT_EOF >> "$cfgfile" 12149 12150# func_dirname file append nondir_replacement 12151# Compute the dirname of FILE. If nonempty, add APPEND to the result, 12152# otherwise set result to NONDIR_REPLACEMENT. 12153func_dirname () 12154{ 12155 # Extract subdirectory from the argument. 12156 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` 12157 if test "X$func_dirname_result" = "X${1}"; then 12158 func_dirname_result="${3}" 12159 else 12160 func_dirname_result="$func_dirname_result${2}" 12161 fi 12162} 12163 12164# func_basename file 12165func_basename () 12166{ 12167 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` 12168} 12169 12170 12171# func_stripname prefix suffix name 12172# strip PREFIX and SUFFIX off of NAME. 12173# PREFIX and SUFFIX must not contain globbing or regex special 12174# characters, hashes, percent signs, but SUFFIX may contain a leading 12175# dot (in which case that matches only a dot). 12176# func_strip_suffix prefix name 12177func_stripname () 12178{ 12179 case ${2} in 12180 .*) func_stripname_result=`$ECHO "X${3}" \ 12181 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; 12182 *) func_stripname_result=`$ECHO "X${3}" \ 12183 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; 12184 esac 12185} 12186 12187# sed scripts: 12188my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' 12189my_sed_long_arg='1s/^-[^=]*=//' 12190 12191# func_opt_split 12192func_opt_split () 12193{ 12194 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` 12195 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` 12196} 12197 12198# func_lo2o object 12199func_lo2o () 12200{ 12201 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` 12202} 12203 12204# func_xform libobj-or-source 12205func_xform () 12206{ 12207 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` 12208} 12209 12210# func_arith arithmetic-term... 12211func_arith () 12212{ 12213 func_arith_result=`expr "$@"` 12214} 12215 12216# func_len string 12217# STRING may not start with a hyphen. 12218func_len () 12219{ 12220 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` 12221} 12222 12223_LT_EOF 12224esac 12225 12226case $lt_shell_append in 12227 yes) 12228 cat << \_LT_EOF >> "$cfgfile" 12229 12230# func_append var value 12231# Append VALUE to the end of shell variable VAR. 12232func_append () 12233{ 12234 eval "$1+=\$2" 12235} 12236_LT_EOF 12237 ;; 12238 *) 12239 cat << \_LT_EOF >> "$cfgfile" 12240 12241# func_append var value 12242# Append VALUE to the end of shell variable VAR. 12243func_append () 12244{ 12245 eval "$1=\$$1\$2" 12246} 12247 12248_LT_EOF 12249 ;; 12250 esac 12251 12252 12253 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ 12254 || (rm -f "$cfgfile"; exit 1) 12255 12256 mv -f "$cfgfile" "$ofile" || 12257 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 12258 chmod +x "$ofile" 12259 12260 12261as_fn_exit 0 12262_LTEOF 12263chmod +x "$CONFIG_LT" 12264 12265# configure is writing to config.log, but config.lt does its own redirection, 12266# appending to config.log, which fails on DOS, as config.log is still kept 12267# open by configure. Here we exec the FD to /dev/null, effectively closing 12268# config.log, so it can be properly (re)opened and appended to by config.lt. 12269if test "$no_create" != yes; then 12270 lt_cl_success=: 12271 test "$silent" = yes && 12272 lt_config_lt_args="$lt_config_lt_args --quiet" 12273 exec 5>/dev/null 12274 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false 12275 exec 5>>config.log 12276 $lt_cl_success || as_fn_exit 1 12277fi 12278 12279 12280 12281 12282 12283 12284 if test -n "$PYTHON"; then 12285 # If the user set $PYTHON, use it and don't search something else. 12286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.3.5" >&5 12287$as_echo_n "checking whether $PYTHON version >= 2.3.5... " >&6; } 12288 prog="import sys 12289# split strings by '.' and convert to numeric. Append some zeros 12290# because we need at least 4 digits for the hex conversion. 12291# map returns an iterator in Python 3.0 and a list in 2.x 12292minver = list(map(int, '2.3.5'.split('.'))) + [0, 0, 0] 12293minverhex = 0 12294# xrange is not present in Python 3.0 and range returns an iterator 12295for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] 12296sys.exit(sys.hexversion < minverhex)" 12297 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5 12298 ($PYTHON -c "$prog") >&5 2>&5 12299 ac_status=$? 12300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12301 (exit $ac_status); }; then : 12302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12303$as_echo "yes" >&6; } 12304else 12305 as_fn_error $? "too old" "$LINENO" 5 12306fi 12307 am_display_PYTHON=$PYTHON 12308 else 12309 # Otherwise, try each interpreter until we find one that satisfies 12310 # VERSION. 12311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.3.5" >&5 12312$as_echo_n "checking for a Python interpreter with version >= 2.3.5... " >&6; } 12313if test "${am_cv_pathless_PYTHON+set}" = set; then : 12314 $as_echo_n "(cached) " >&6 12315else 12316 12317 for am_cv_pathless_PYTHON in python python2 python3 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do 12318 test "$am_cv_pathless_PYTHON" = none && break 12319 prog="import sys 12320# split strings by '.' and convert to numeric. Append some zeros 12321# because we need at least 4 digits for the hex conversion. 12322# map returns an iterator in Python 3.0 and a list in 2.x 12323minver = list(map(int, '2.3.5'.split('.'))) + [0, 0, 0] 12324minverhex = 0 12325# xrange is not present in Python 3.0 and range returns an iterator 12326for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] 12327sys.exit(sys.hexversion < minverhex)" 12328 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5 12329 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5 12330 ac_status=$? 12331 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12332 (exit $ac_status); }; then : 12333 break 12334fi 12335 done 12336fi 12337{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5 12338$as_echo "$am_cv_pathless_PYTHON" >&6; } 12339 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON. 12340 if test "$am_cv_pathless_PYTHON" = none; then 12341 PYTHON=: 12342 else 12343 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args. 12344set dummy $am_cv_pathless_PYTHON; ac_word=$2 12345{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12346$as_echo_n "checking for $ac_word... " >&6; } 12347if test "${ac_cv_path_PYTHON+set}" = set; then : 12348 $as_echo_n "(cached) " >&6 12349else 12350 case $PYTHON in 12351 [\\/]* | ?:[\\/]*) 12352 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. 12353 ;; 12354 *) 12355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12356for as_dir in $PATH 12357do 12358 IFS=$as_save_IFS 12359 test -z "$as_dir" && as_dir=. 12360 for ac_exec_ext in '' $ac_executable_extensions; do 12361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12362 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 12363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12364 break 2 12365 fi 12366done 12367 done 12368IFS=$as_save_IFS 12369 12370 ;; 12371esac 12372fi 12373PYTHON=$ac_cv_path_PYTHON 12374if test -n "$PYTHON"; then 12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 12376$as_echo "$PYTHON" >&6; } 12377else 12378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12379$as_echo "no" >&6; } 12380fi 12381 12382 12383 fi 12384 am_display_PYTHON=$am_cv_pathless_PYTHON 12385 fi 12386 12387 12388 if test "$PYTHON" = :; then 12389 as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5 12390 else 12391 12392 12393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5 12394$as_echo_n "checking for $am_display_PYTHON version... " >&6; } 12395if test "${am_cv_python_version+set}" = set; then : 12396 $as_echo_n "(cached) " >&6 12397else 12398 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"` 12399fi 12400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5 12401$as_echo "$am_cv_python_version" >&6; } 12402 PYTHON_VERSION=$am_cv_python_version 12403 12404 12405 12406 PYTHON_PREFIX='${prefix}' 12407 12408 PYTHON_EXEC_PREFIX='${exec_prefix}' 12409 12410 12411 12412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5 12413$as_echo_n "checking for $am_display_PYTHON platform... " >&6; } 12414if test "${am_cv_python_platform+set}" = set; then : 12415 $as_echo_n "(cached) " >&6 12416else 12417 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"` 12418fi 12419{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5 12420$as_echo "$am_cv_python_platform" >&6; } 12421 PYTHON_PLATFORM=$am_cv_python_platform 12422 12423 12424 12425 12426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5 12427$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; } 12428if test "${am_cv_python_pythondir+set}" = set; then : 12429 $as_echo_n "(cached) " >&6 12430else 12431 if test "x$prefix" = xNONE 12432 then 12433 am_py_prefix=$ac_default_prefix 12434 else 12435 am_py_prefix=$prefix 12436 fi 12437 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 || 12438 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` 12439 case $am_cv_python_pythondir in 12440 $am_py_prefix*) 12441 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'` 12442 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"` 12443 ;; 12444 *) 12445 case $am_py_prefix in 12446 /usr|/System*) ;; 12447 *) 12448 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages 12449 ;; 12450 esac 12451 ;; 12452 esac 12453 12454fi 12455{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5 12456$as_echo "$am_cv_python_pythondir" >&6; } 12457 pythondir=$am_cv_python_pythondir 12458 12459 12460 12461 pkgpythondir=\${pythondir}/$PACKAGE 12462 12463 12464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5 12465$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; } 12466if test "${am_cv_python_pyexecdir+set}" = set; then : 12467 $as_echo_n "(cached) " >&6 12468else 12469 if test "x$exec_prefix" = xNONE 12470 then 12471 am_py_exec_prefix=$am_py_prefix 12472 else 12473 am_py_exec_prefix=$exec_prefix 12474 fi 12475 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 || 12476 echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"` 12477 case $am_cv_python_pyexecdir in 12478 $am_py_exec_prefix*) 12479 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'` 12480 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"` 12481 ;; 12482 *) 12483 case $am_py_exec_prefix in 12484 /usr|/System*) ;; 12485 *) 12486 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages 12487 ;; 12488 esac 12489 ;; 12490 esac 12491 12492fi 12493{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5 12494$as_echo "$am_cv_python_pyexecdir" >&6; } 12495 pyexecdir=$am_cv_python_pyexecdir 12496 12497 12498 12499 pkgpyexecdir=\${pyexecdir}/$PACKAGE 12500 12501 12502 12503 fi 12504 12505 12506 12507 12508{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for headers required to compile python extensions" >&5 12509$as_echo_n "checking for headers required to compile python extensions... " >&6; } 12510py_prefix=`$PYTHON -c "import sys; print sys.prefix"` 12511py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"` 12512if test -x "$PYTHON-config"; then 12513PYTHON_INCLUDES=`$PYTHON-config --includes 2>/dev/null` 12514else 12515PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}" 12516if test "$py_prefix" != "$py_exec_prefix"; then 12517 PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}" 12518fi 12519fi 12520 12521save_CPPFLAGS="$CPPFLAGS" 12522CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES" 12523cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12524/* end confdefs.h. */ 12525#include <Python.h> 12526_ACEOF 12527if ac_fn_c_try_cpp "$LINENO"; then : 12528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 12529$as_echo "found" >&6; } 12530 12531else 12532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 12533$as_echo "not found" >&6; } 12534as_fn_error $? "could not find Python headers" "$LINENO" 5 12535fi 12536rm -f conftest.err conftest.i conftest.$ac_ext 12537CPPFLAGS="$save_CPPFLAGS" 12538 12539 12540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PySignal_SetWakeupFd in Python.h" >&5 12541$as_echo_n "checking for PySignal_SetWakeupFd in Python.h... " >&6; } 12542py_prefix=`$PYTHON -c "import sys; print sys.prefix"` 12543old_CPPFLAGS=$CPPFLAGS 12544CPPFLAGS="-Wall -Werror $PYTHON_INCLUDES" 12545cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12546/* end confdefs.h. */ 12547#include <Python.h> 12548int 12549main () 12550{ 12551PySignal_SetWakeupFd(0); 12552 ; 12553 return 0; 12554} 12555_ACEOF 12556if ac_fn_c_try_compile "$LINENO"; then : 12557 setwakeupfd_ok=yes 12558else 12559 setwakeupfd_ok=no 12560fi 12561rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $setwakeupfd_ok" >&5 12563$as_echo "$setwakeupfd_ok" >&6; } 12564if test "x$setwakeupfd_ok" != xno; then 12565 12566$as_echo "#define HAVE_PYSIGNAL_SETWAKEUPFD 1" >>confdefs.h 12567 12568fi 12569CPPFLAGS=$old_CPPFLAGS 12570 12571# Check whether --enable-thread was given. 12572if test "${enable_thread+set}" = set; then : 12573 enableval=$enable_thread; 12574else 12575 enable_thread=yes 12576fi 12577 12578 12579 12580py_mod_var=`echo thread'_' | sed 'y%./+-%__p_%'` 12581{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module thread" >&5 12582$as_echo_n "checking for python module thread... " >&6; } 12583if eval "test \"\${py_cv_mod_$py_mod_var+set}\"" = set; then : 12584 $as_echo_n "(cached) " >&6 12585else 12586 12587prog=" 12588import sys 12589try: 12590 import thread 12591except ImportError: 12592 sys.exit(1) 12593except: 12594 sys.exit(0) 12595sys.exit(0)" 12596if $PYTHON -c "$prog" 1>&5 2>&5 12597 then 12598 eval "py_cv_mod_$py_mod_var=yes" 12599 else 12600 eval "py_cv_mod_$py_mod_var=no" 12601 fi 12602 12603fi 12604 12605py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"` 12606if test "x$py_val" != xno; then 12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12608$as_echo "yes" >&6; } 12609 else 12610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12611$as_echo "no" >&6; } 12612 enable_thread=no 12613fi 12614 12615 12616# Check whether --enable-docs was given. 12617if test "${enable_docs+set}" = set; then : 12618 enableval=$enable_docs; enable_docs=$enableval 12619else 12620 enable_docs=no 12621fi 12622 12623if test "${enable_docs}" != no; then 12624 # Extract the first word of "xsltproc", so it can be a program name with args. 12625set dummy xsltproc; ac_word=$2 12626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12627$as_echo_n "checking for $ac_word... " >&6; } 12628if test "${ac_cv_path_XSLTPROC+set}" = set; then : 12629 $as_echo_n "(cached) " >&6 12630else 12631 case $XSLTPROC in 12632 [\\/]* | ?:[\\/]*) 12633 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path. 12634 ;; 12635 *) 12636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12637for as_dir in $PATH 12638do 12639 IFS=$as_save_IFS 12640 test -z "$as_dir" && as_dir=. 12641 for ac_exec_ext in '' $ac_executable_extensions; do 12642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12643 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext" 12644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12645 break 2 12646 fi 12647done 12648 done 12649IFS=$as_save_IFS 12650 12651 ;; 12652esac 12653fi 12654XSLTPROC=$ac_cv_path_XSLTPROC 12655if test -n "$XSLTPROC"; then 12656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5 12657$as_echo "$XSLTPROC" >&6; } 12658else 12659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12660$as_echo "no" >&6; } 12661fi 12662 12663 12664 if test -z "$XSLTPROC"; then 12665 enable_docs=no 12666 fi 12667fi 12668 12669 if test x$enable_docs != xno; then 12670 ENABLE_DOCS_TRUE= 12671 ENABLE_DOCS_FALSE='#' 12672else 12673 ENABLE_DOCS_TRUE='#' 12674 ENABLE_DOCS_FALSE= 12675fi 12676 12677 12678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable threading in pylgtk" >&5 12679$as_echo_n "checking whether to enable threading in pylgtk... " >&6; } 12680if test "x$enable_thread" != xno; then 12681 extra_mods=gthread 12682 THREADING_CFLAGS= 12683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12684$as_echo "yes" >&6; } 12685else 12686 extra_mods= 12687 THREADING_CFLAGS="-DDISABLE_THREADING" 12688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12689$as_echo "no" >&6; } 12690fi 12691 12692CPPFLAGS="${CPPFLAGS} $THREADING_CFLAGS" 12693 12694export_dynamic=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh` 12695 12696# Check whether --enable-glibtest was given. 12697if test "${enable_glibtest+set}" = set; then : 12698 enableval=$enable_glibtest; 12699else 12700 enable_glibtest=yes 12701fi 12702 12703 12704 pkg_config_args=glib-2.0 12705 for module in . gobject $extra_mods 12706 do 12707 case "$module" in 12708 gmodule) 12709 pkg_config_args="$pkg_config_args gmodule-2.0" 12710 ;; 12711 gmodule-no-export) 12712 pkg_config_args="$pkg_config_args gmodule-no-export-2.0" 12713 ;; 12714 gobject) 12715 pkg_config_args="$pkg_config_args gobject-2.0" 12716 ;; 12717 gthread) 12718 pkg_config_args="$pkg_config_args gthread-2.0" 12719 ;; 12720 gio*) 12721 pkg_config_args="$pkg_config_args $module-2.0" 12722 ;; 12723 esac 12724 done 12725 12726 12727 12728 12729 12730 12731 12732if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 12733 if test -n "$ac_tool_prefix"; then 12734 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 12735set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 12736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12737$as_echo_n "checking for $ac_word... " >&6; } 12738if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 12739 $as_echo_n "(cached) " >&6 12740else 12741 case $PKG_CONFIG in 12742 [\\/]* | ?:[\\/]*) 12743 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 12744 ;; 12745 *) 12746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12747for as_dir in $PATH 12748do 12749 IFS=$as_save_IFS 12750 test -z "$as_dir" && as_dir=. 12751 for ac_exec_ext in '' $ac_executable_extensions; do 12752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12753 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12755 break 2 12756 fi 12757done 12758 done 12759IFS=$as_save_IFS 12760 12761 ;; 12762esac 12763fi 12764PKG_CONFIG=$ac_cv_path_PKG_CONFIG 12765if test -n "$PKG_CONFIG"; then 12766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 12767$as_echo "$PKG_CONFIG" >&6; } 12768else 12769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12770$as_echo "no" >&6; } 12771fi 12772 12773 12774fi 12775if test -z "$ac_cv_path_PKG_CONFIG"; then 12776 ac_pt_PKG_CONFIG=$PKG_CONFIG 12777 # Extract the first word of "pkg-config", so it can be a program name with args. 12778set dummy pkg-config; ac_word=$2 12779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12780$as_echo_n "checking for $ac_word... " >&6; } 12781if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : 12782 $as_echo_n "(cached) " >&6 12783else 12784 case $ac_pt_PKG_CONFIG in 12785 [\\/]* | ?:[\\/]*) 12786 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 12787 ;; 12788 *) 12789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12790for as_dir in $PATH 12791do 12792 IFS=$as_save_IFS 12793 test -z "$as_dir" && as_dir=. 12794 for ac_exec_ext in '' $ac_executable_extensions; do 12795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12796 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12798 break 2 12799 fi 12800done 12801 done 12802IFS=$as_save_IFS 12803 12804 ;; 12805esac 12806fi 12807ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 12808if test -n "$ac_pt_PKG_CONFIG"; then 12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 12810$as_echo "$ac_pt_PKG_CONFIG" >&6; } 12811else 12812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12813$as_echo "no" >&6; } 12814fi 12815 12816 if test "x$ac_pt_PKG_CONFIG" = x; then 12817 PKG_CONFIG="" 12818 else 12819 case $cross_compiling:$ac_tool_warned in 12820yes:) 12821{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12822$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12823ac_tool_warned=yes ;; 12824esac 12825 PKG_CONFIG=$ac_pt_PKG_CONFIG 12826 fi 12827else 12828 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 12829fi 12830 12831fi 12832if test -n "$PKG_CONFIG"; then 12833 _pkg_min_version=0.16 12834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 12835$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 12836 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 12837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12838$as_echo "yes" >&6; } 12839 else 12840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12841$as_echo "no" >&6; } 12842 PKG_CONFIG="" 12843 fi 12844fi 12845 12846 no_glib="" 12847 12848 if test "x$PKG_CONFIG" = x ; then 12849 no_glib=yes 12850 PKG_CONFIG=no 12851 fi 12852 12853 min_glib_version=2.8.0 12854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5 12855$as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; } 12856 12857 if test x$PKG_CONFIG != xno ; then 12858 ## don't try to run the test against uninstalled libtool libs 12859 if $PKG_CONFIG --uninstalled $pkg_config_args; then 12860 echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH" 12861 enable_glibtest=no 12862 fi 12863 12864 if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then 12865 : 12866 else 12867 no_glib=yes 12868 fi 12869 fi 12870 12871 if test x"$no_glib" = x ; then 12872 GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0` 12873 GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0` 12874 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0` 12875 12876 GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args` 12877 GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args` 12878 glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \ 12879 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` 12880 glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \ 12881 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` 12882 glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \ 12883 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` 12884 if test "x$enable_glibtest" = "xyes" ; then 12885 ac_save_CFLAGS="$CFLAGS" 12886 ac_save_LIBS="$LIBS" 12887 CFLAGS="$CFLAGS $GLIB_CFLAGS" 12888 LIBS="$GLIB_LIBS $LIBS" 12889 rm -f conf.glibtest 12890 if test "$cross_compiling" = yes; then : 12891 echo $ac_n "cross compiling; assumed OK... $ac_c" 12892else 12893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12894/* end confdefs.h. */ 12895 12896#include <glib.h> 12897#include <stdio.h> 12898#include <stdlib.h> 12899 12900int 12901main () 12902{ 12903 unsigned int major, minor, micro; 12904 char *tmp_version; 12905 12906 fclose (fopen ("conf.glibtest", "w")); 12907 12908 /* HP/UX 9 (%@#!) writes to sscanf strings */ 12909 tmp_version = g_strdup("$min_glib_version"); 12910 if (sscanf(tmp_version, "%u.%u.%u", &major, &minor, µ) != 3) { 12911 printf("%s, bad version string\n", "$min_glib_version"); 12912 exit(1); 12913 } 12914 12915 if ((glib_major_version != $glib_config_major_version) || 12916 (glib_minor_version != $glib_config_minor_version) || 12917 (glib_micro_version != $glib_config_micro_version)) 12918 { 12919 printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n", 12920 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version, 12921 glib_major_version, glib_minor_version, glib_micro_version); 12922 printf ("*** was found! If pkg-config was correct, then it is best\n"); 12923 printf ("*** to remove the old version of GLib. You may also be able to fix the error\n"); 12924 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); 12925 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); 12926 printf("*** required on your system.\n"); 12927 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n"); 12928 printf("*** to point to the correct configuration files\n"); 12929 } 12930 else if ((glib_major_version != GLIB_MAJOR_VERSION) || 12931 (glib_minor_version != GLIB_MINOR_VERSION) || 12932 (glib_micro_version != GLIB_MICRO_VERSION)) 12933 { 12934 printf("*** GLIB header files (version %d.%d.%d) do not match\n", 12935 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION); 12936 printf("*** library (version %d.%d.%d)\n", 12937 glib_major_version, glib_minor_version, glib_micro_version); 12938 } 12939 else 12940 { 12941 if ((glib_major_version > major) || 12942 ((glib_major_version == major) && (glib_minor_version > minor)) || 12943 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro))) 12944 { 12945 return 0; 12946 } 12947 else 12948 { 12949 printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n", 12950 glib_major_version, glib_minor_version, glib_micro_version); 12951 printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n", 12952 major, minor, micro); 12953 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n"); 12954 printf("***\n"); 12955 printf("*** If you have already installed a sufficiently new version, this error\n"); 12956 printf("*** probably means that the wrong copy of the pkg-config shell script is\n"); 12957 printf("*** being found. The easiest way to fix this is to remove the old version\n"); 12958 printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n"); 12959 printf("*** correct copy of pkg-config. (In this case, you will have to\n"); 12960 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); 12961 printf("*** so that the correct libraries are found at run-time))\n"); 12962 } 12963 } 12964 return 1; 12965} 12966 12967_ACEOF 12968if ac_fn_c_try_run "$LINENO"; then : 12969 12970else 12971 no_glib=yes 12972fi 12973rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12974 conftest.$ac_objext conftest.beam conftest.$ac_ext 12975fi 12976 12977 CFLAGS="$ac_save_CFLAGS" 12978 LIBS="$ac_save_LIBS" 12979 fi 12980 fi 12981 if test "x$no_glib" = x ; then 12982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5 12983$as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; } 12984 : 12985 else 12986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12987$as_echo "no" >&6; } 12988 if test "$PKG_CONFIG" = "no" ; then 12989 echo "*** A new enough version of pkg-config was not found." 12990 echo "*** See http://www.freedesktop.org/software/pkgconfig/" 12991 else 12992 if test -f conf.glibtest ; then 12993 : 12994 else 12995 echo "*** Could not run GLIB test program, checking why..." 12996 ac_save_CFLAGS="$CFLAGS" 12997 ac_save_LIBS="$LIBS" 12998 CFLAGS="$CFLAGS $GLIB_CFLAGS" 12999 LIBS="$LIBS $GLIB_LIBS" 13000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13001/* end confdefs.h. */ 13002 13003#include <glib.h> 13004#include <stdio.h> 13005 13006int 13007main () 13008{ 13009 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); 13010 ; 13011 return 0; 13012} 13013_ACEOF 13014if ac_fn_c_try_link "$LINENO"; then : 13015 echo "*** The test program compiled, but did not run. This usually means" 13016 echo "*** that the run-time linker is not finding GLIB or finding the wrong" 13017 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your" 13018 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" 13019 echo "*** to the installed location Also, make sure you have run ldconfig if that" 13020 echo "*** is required on your system" 13021 echo "***" 13022 echo "*** If you have an old version installed, it is best to remove it, although" 13023 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" 13024else 13025 echo "*** The test program failed to compile or link. See the file config.log for the" 13026 echo "*** exact error that occured. This usually means GLIB is incorrectly installed." 13027fi 13028rm -f core conftest.err conftest.$ac_objext \ 13029 conftest$ac_exeext conftest.$ac_ext 13030 CFLAGS="$ac_save_CFLAGS" 13031 LIBS="$ac_save_LIBS" 13032 fi 13033 fi 13034 GLIB_CFLAGS="" 13035 GLIB_LIBS="" 13036 GLIB_GENMARSHAL="" 13037 GOBJECT_QUERY="" 13038 GLIB_MKENUMS="" 13039 as_fn_error $? "gobject is required to build pylgtk?" "$LINENO" 5 13040 fi 13041 13042 13043 13044 13045 13046 rm -f conf.glibtest 13047 13048if test -n "$export_dynamic"; then 13049 GLIB_LIBS=`echo $GLIB_LIBS | sed -e "s/$export_dynamic//"` 13050fi 13051 13052 13053pkg_failed=no 13054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYGOBJECT" >&5 13055$as_echo_n "checking for PYGOBJECT... " >&6; } 13056 13057if test -n "$PYGOBJECT_CFLAGS"; then 13058 pkg_cv_PYGOBJECT_CFLAGS="$PYGOBJECT_CFLAGS" 13059 elif test -n "$PKG_CONFIG"; then 13060 if test -n "$PKG_CONFIG" && \ 13061 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pylgobject-2.0 >= 2.21.3\""; } >&5 13062 ($PKG_CONFIG --exists --print-errors "pylgobject-2.0 >= 2.21.3") 2>&5 13063 ac_status=$? 13064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13065 test $ac_status = 0; }; then 13066 pkg_cv_PYGOBJECT_CFLAGS=`$PKG_CONFIG --cflags "pylgobject-2.0 >= 2.21.3" 2>/dev/null` 13067else 13068 pkg_failed=yes 13069fi 13070 else 13071 pkg_failed=untried 13072fi 13073if test -n "$PYGOBJECT_LIBS"; then 13074 pkg_cv_PYGOBJECT_LIBS="$PYGOBJECT_LIBS" 13075 elif test -n "$PKG_CONFIG"; then 13076 if test -n "$PKG_CONFIG" && \ 13077 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pylgobject-2.0 >= 2.21.3\""; } >&5 13078 ($PKG_CONFIG --exists --print-errors "pylgobject-2.0 >= 2.21.3") 2>&5 13079 ac_status=$? 13080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13081 test $ac_status = 0; }; then 13082 pkg_cv_PYGOBJECT_LIBS=`$PKG_CONFIG --libs "pylgobject-2.0 >= 2.21.3" 2>/dev/null` 13083else 13084 pkg_failed=yes 13085fi 13086 else 13087 pkg_failed=untried 13088fi 13089 13090 13091 13092if test $pkg_failed = yes; then 13093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13094$as_echo "no" >&6; } 13095 13096if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13097 _pkg_short_errors_supported=yes 13098else 13099 _pkg_short_errors_supported=no 13100fi 13101 if test $_pkg_short_errors_supported = yes; then 13102 PYGOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pylgobject-2.0 >= 2.21.3" 2>&1` 13103 else 13104 PYGOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors "pylgobject-2.0 >= 2.21.3" 2>&1` 13105 fi 13106 # Put the nasty error message in config.log where it belongs 13107 echo "$PYGOBJECT_PKG_ERRORS" >&5 13108 13109 as_fn_error $? "Package requirements (pylgobject-2.0 >= 2.21.3) were not met: 13110 13111$PYGOBJECT_PKG_ERRORS 13112 13113Consider adjusting the PKG_CONFIG_PATH environment variable if you 13114installed software in a non-standard prefix. 13115 13116Alternatively, you may set the environment variables PYGOBJECT_CFLAGS 13117and PYGOBJECT_LIBS to avoid the need to call pkg-config. 13118See the pkg-config man page for more details." "$LINENO" 5 13119elif test $pkg_failed = untried; then 13120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13121$as_echo "no" >&6; } 13122 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13123$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13124as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 13125is in your PATH or set the PKG_CONFIG environment variable to the full 13126path to pkg-config. 13127 13128Alternatively, you may set the environment variables PYGOBJECT_CFLAGS 13129and PYGOBJECT_LIBS to avoid the need to call pkg-config. 13130See the pkg-config man page for more details. 13131 13132To get pkg-config, see <http://pkg-config.freedesktop.org/>. 13133See \`config.log' for more details" "$LINENO" 5 ; } 13134else 13135 PYGOBJECT_CFLAGS=$pkg_cv_PYGOBJECT_CFLAGS 13136 PYGOBJECT_LIBS=$pkg_cv_PYGOBJECT_LIBS 13137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13138$as_echo "yes" >&6; } 13139 13140fi 13141 13142PYGOBJECT_INCLUDEDIR=`$PKG_CONFIG --variable=pylgtkincludedir pylgobject-2.0` 13143 13144 13145PYGOBJECT_DATADIR=`$PKG_CONFIG --variable=datadir pylgobject-2.0` 13146 13147 13148 13149 13150PYGOBJECT_DEFSDIR=`$PKG_CONFIG --variable defsdir pylgobject-2.0` 13151 13152{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gio-types.defs" >&5 13153$as_echo_n "checking for gio-types.defs... " >&6; } 13154if test -n "$PYGOBJECT_DEFSDIR" && test -e "$PYGOBJECT_DEFSDIR/gio-types.defs"; then 13155 if true; then 13156 HAVE_GIO_TYPES_DEFS_TRUE= 13157 HAVE_GIO_TYPES_DEFS_FALSE='#' 13158else 13159 HAVE_GIO_TYPES_DEFS_TRUE='#' 13160 HAVE_GIO_TYPES_DEFS_FALSE= 13161fi 13162 13163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYGOBJECT_DEFSDIR/gio-types.defs" >&5 13164$as_echo "$PYGOBJECT_DEFSDIR/gio-types.defs" >&6; } 13165else 13166 if false; then 13167 HAVE_GIO_TYPES_DEFS_TRUE= 13168 HAVE_GIO_TYPES_DEFS_FALSE='#' 13169else 13170 HAVE_GIO_TYPES_DEFS_TRUE='#' 13171 HAVE_GIO_TYPES_DEFS_FALSE= 13172fi 13173 13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13175$as_echo "no" >&6; } 13176fi 13177 13178 13179PYGOBJECT_FIXXREF="$PYTHON `$PKG_CONFIG --variable=fixxref pylgobject-2.0`" 13180 13181 13182PYGOBJECT_PYGDOCS="`$PKG_CONFIG --variable=pygdocs pylgobject-2.0`" 13183 13184 13185 13186pkg_failed=no 13187{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATK" >&5 13188$as_echo_n "checking for ATK... " >&6; } 13189 13190if test -n "$ATK_CFLAGS"; then 13191 pkg_cv_ATK_CFLAGS="$ATK_CFLAGS" 13192 elif test -n "$PKG_CONFIG"; then 13193 if test -n "$PKG_CONFIG" && \ 13194 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"atk >= 1.12.0\""; } >&5 13195 ($PKG_CONFIG --exists --print-errors "atk >= 1.12.0") 2>&5 13196 ac_status=$? 13197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13198 test $ac_status = 0; }; then 13199 pkg_cv_ATK_CFLAGS=`$PKG_CONFIG --cflags "atk >= 1.12.0" 2>/dev/null` 13200else 13201 pkg_failed=yes 13202fi 13203 else 13204 pkg_failed=untried 13205fi 13206if test -n "$ATK_LIBS"; then 13207 pkg_cv_ATK_LIBS="$ATK_LIBS" 13208 elif test -n "$PKG_CONFIG"; then 13209 if test -n "$PKG_CONFIG" && \ 13210 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"atk >= 1.12.0\""; } >&5 13211 ($PKG_CONFIG --exists --print-errors "atk >= 1.12.0") 2>&5 13212 ac_status=$? 13213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13214 test $ac_status = 0; }; then 13215 pkg_cv_ATK_LIBS=`$PKG_CONFIG --libs "atk >= 1.12.0" 2>/dev/null` 13216else 13217 pkg_failed=yes 13218fi 13219 else 13220 pkg_failed=untried 13221fi 13222 13223 13224 13225if test $pkg_failed = yes; then 13226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13227$as_echo "no" >&6; } 13228 13229if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13230 _pkg_short_errors_supported=yes 13231else 13232 _pkg_short_errors_supported=no 13233fi 13234 if test $_pkg_short_errors_supported = yes; then 13235 ATK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "atk >= 1.12.0" 2>&1` 13236 else 13237 ATK_PKG_ERRORS=`$PKG_CONFIG --print-errors "atk >= 1.12.0" 2>&1` 13238 fi 13239 # Put the nasty error message in config.log where it belongs 13240 echo "$ATK_PKG_ERRORS" >&5 13241 13242 have_atk=false 13243elif test $pkg_failed = untried; then 13244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13245$as_echo "no" >&6; } 13246 have_atk=false 13247else 13248 ATK_CFLAGS=$pkg_cv_ATK_CFLAGS 13249 ATK_LIBS=$pkg_cv_ATK_LIBS 13250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13251$as_echo "yes" >&6; } 13252 have_atk=true 13253fi 13254 13255 13256 if $have_atk; then 13257 BUILD_ATK_TRUE= 13258 BUILD_ATK_FALSE='#' 13259else 13260 BUILD_ATK_TRUE='#' 13261 BUILD_ATK_FALSE= 13262fi 13263 13264if test -n "$export_dynamic"; then 13265 ATK_LIBS=`echo $ATK_LIBS | sed -e "s/$export_dynamic//"` 13266fi 13267 13268 13269pkg_failed=no 13270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGO" >&5 13271$as_echo_n "checking for PANGO... " >&6; } 13272 13273if test -n "$PANGO_CFLAGS"; then 13274 pkg_cv_PANGO_CFLAGS="$PANGO_CFLAGS" 13275 elif test -n "$PKG_CONFIG"; then 13276 if test -n "$PKG_CONFIG" && \ 13277 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pango >= 1.16.0\""; } >&5 13278 ($PKG_CONFIG --exists --print-errors "pango >= 1.16.0") 2>&5 13279 ac_status=$? 13280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13281 test $ac_status = 0; }; then 13282 pkg_cv_PANGO_CFLAGS=`$PKG_CONFIG --cflags "pango >= 1.16.0" 2>/dev/null` 13283else 13284 pkg_failed=yes 13285fi 13286 else 13287 pkg_failed=untried 13288fi 13289if test -n "$PANGO_LIBS"; then 13290 pkg_cv_PANGO_LIBS="$PANGO_LIBS" 13291 elif test -n "$PKG_CONFIG"; then 13292 if test -n "$PKG_CONFIG" && \ 13293 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pango >= 1.16.0\""; } >&5 13294 ($PKG_CONFIG --exists --print-errors "pango >= 1.16.0") 2>&5 13295 ac_status=$? 13296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13297 test $ac_status = 0; }; then 13298 pkg_cv_PANGO_LIBS=`$PKG_CONFIG --libs "pango >= 1.16.0" 2>/dev/null` 13299else 13300 pkg_failed=yes 13301fi 13302 else 13303 pkg_failed=untried 13304fi 13305 13306 13307 13308if test $pkg_failed = yes; then 13309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13310$as_echo "no" >&6; } 13311 13312if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13313 _pkg_short_errors_supported=yes 13314else 13315 _pkg_short_errors_supported=no 13316fi 13317 if test $_pkg_short_errors_supported = yes; then 13318 PANGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pango >= 1.16.0" 2>&1` 13319 else 13320 PANGO_PKG_ERRORS=`$PKG_CONFIG --print-errors "pango >= 1.16.0" 2>&1` 13321 fi 13322 # Put the nasty error message in config.log where it belongs 13323 echo "$PANGO_PKG_ERRORS" >&5 13324 13325 have_pango=false 13326elif test $pkg_failed = untried; then 13327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13328$as_echo "no" >&6; } 13329 have_pango=false 13330else 13331 PANGO_CFLAGS=$pkg_cv_PANGO_CFLAGS 13332 PANGO_LIBS=$pkg_cv_PANGO_LIBS 13333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13334$as_echo "yes" >&6; } 13335 have_pango=true 13336fi 13337 13338 13339 if $have_pango; then 13340 BUILD_PANGO_TRUE= 13341 BUILD_PANGO_FALSE='#' 13342else 13343 BUILD_PANGO_TRUE='#' 13344 BUILD_PANGO_FALSE= 13345fi 13346 13347if test -n "$export_dynamic"; then 13348 PANGO_LIBS=`echo $PANGO_LIBS | sed -e "s/$export_dynamic//"` 13349fi 13350 13351 13352 13353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for codegen" >&5 13354$as_echo_n "checking for codegen... " >&6; } 13355CODEGENDIR=`$PKG_CONFIG --variable codegendir pylgobject-2.0` 13356 13357if test -z $CODEGENDIR; then 13358 as_fn_error $? "unable to find PyGObject codegen" "$LINENO" 5 13359else 13360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CODEGENDIR" >&5 13361$as_echo "$CODEGENDIR" >&6; } 13362fi 13363 13364PYGTK_CODEGEN_DEFINES="" 13365 13366 13367gtk_version="" 13368 13369pkg_failed=no 13370{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYCAIRO" >&5 13371$as_echo_n "checking for PYCAIRO... " >&6; } 13372 13373if test -n "$PYCAIRO_CFLAGS"; then 13374 pkg_cv_PYCAIRO_CFLAGS="$PYCAIRO_CFLAGS" 13375 elif test -n "$PKG_CONFIG"; then 13376 if test -n "$PKG_CONFIG" && \ 13377 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pylcairo >= 1.0.2\""; } >&5 13378 ($PKG_CONFIG --exists --print-errors "pylcairo >= 1.0.2") 2>&5 13379 ac_status=$? 13380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13381 test $ac_status = 0; }; then 13382 pkg_cv_PYCAIRO_CFLAGS=`$PKG_CONFIG --cflags "pylcairo >= 1.0.2" 2>/dev/null` 13383else 13384 pkg_failed=yes 13385fi 13386 else 13387 pkg_failed=untried 13388fi 13389if test -n "$PYCAIRO_LIBS"; then 13390 pkg_cv_PYCAIRO_LIBS="$PYCAIRO_LIBS" 13391 elif test -n "$PKG_CONFIG"; then 13392 if test -n "$PKG_CONFIG" && \ 13393 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pylcairo >= 1.0.2\""; } >&5 13394 ($PKG_CONFIG --exists --print-errors "pylcairo >= 1.0.2") 2>&5 13395 ac_status=$? 13396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13397 test $ac_status = 0; }; then 13398 pkg_cv_PYCAIRO_LIBS=`$PKG_CONFIG --libs "pylcairo >= 1.0.2" 2>/dev/null` 13399else 13400 pkg_failed=yes 13401fi 13402 else 13403 pkg_failed=untried 13404fi 13405 13406 13407 13408if test $pkg_failed = yes; then 13409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13410$as_echo "no" >&6; } 13411 13412if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13413 _pkg_short_errors_supported=yes 13414else 13415 _pkg_short_errors_supported=no 13416fi 13417 if test $_pkg_short_errors_supported = yes; then 13418 PYCAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pylcairo >= 1.0.2" 2>&1` 13419 else 13420 PYCAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors "pylcairo >= 1.0.2" 2>&1` 13421 fi 13422 # Put the nasty error message in config.log where it belongs 13423 echo "$PYCAIRO_PKG_ERRORS" >&5 13424 13425 have_pylcairo=false 13426elif test $pkg_failed = untried; then 13427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13428$as_echo "no" >&6; } 13429 have_pylcairo=false 13430else 13431 PYCAIRO_CFLAGS=$pkg_cv_PYCAIRO_CFLAGS 13432 PYCAIRO_LIBS=$pkg_cv_PYCAIRO_LIBS 13433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13434$as_echo "yes" >&6; } 13435 have_pylcairo=true 13436fi 13437 13438 13439if test "x$have_pylcairo" = "xtrue"; then 13440 PYGTK_CODEGEN_DEFINES="-DHAVE_PYCAIRO $PYGTK_CODEGEN_DEFINES"; 13441 13442$as_echo "#define HAVE_PYCAIRO 1" >>confdefs.h 13443 13444 13445 13446cat >>confdefs.h <<_ACEOF 13447#define PYCAIRO_MAJOR_VERSION `pkg-config --modversion pylcairo | cut -d '.' -f 1` 13448_ACEOF 13449 13450 13451cat >>confdefs.h <<_ACEOF 13452#define PYCAIRO_MINOR_VERSION `pkg-config --modversion pylcairo | cut -d '.' -f 2` 13453_ACEOF 13454 13455 13456cat >>confdefs.h <<_ACEOF 13457#define PYCAIRO_MICRO_VERSION `pkg-config --modversion pylcairo | cut -d '.' -f 3` 13458_ACEOF 13459 13460 13461 13462pkg_failed=no 13463{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOCAIRO" >&5 13464$as_echo_n "checking for PANGOCAIRO... " >&6; } 13465 13466if test -n "$PANGOCAIRO_CFLAGS"; then 13467 pkg_cv_PANGOCAIRO_CFLAGS="$PANGOCAIRO_CFLAGS" 13468 elif test -n "$PKG_CONFIG"; then 13469 if test -n "$PKG_CONFIG" && \ 13470 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangocairo >= 1.16.0, 13471 pylcairo >= 1.0.2\""; } >&5 13472 ($PKG_CONFIG --exists --print-errors "pangocairo >= 1.16.0, 13473 pylcairo >= 1.0.2") 2>&5 13474 ac_status=$? 13475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13476 test $ac_status = 0; }; then 13477 pkg_cv_PANGOCAIRO_CFLAGS=`$PKG_CONFIG --cflags "pangocairo >= 1.16.0, 13478 pylcairo >= 1.0.2" 2>/dev/null` 13479else 13480 pkg_failed=yes 13481fi 13482 else 13483 pkg_failed=untried 13484fi 13485if test -n "$PANGOCAIRO_LIBS"; then 13486 pkg_cv_PANGOCAIRO_LIBS="$PANGOCAIRO_LIBS" 13487 elif test -n "$PKG_CONFIG"; then 13488 if test -n "$PKG_CONFIG" && \ 13489 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangocairo >= 1.16.0, 13490 pylcairo >= 1.0.2\""; } >&5 13491 ($PKG_CONFIG --exists --print-errors "pangocairo >= 1.16.0, 13492 pylcairo >= 1.0.2") 2>&5 13493 ac_status=$? 13494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13495 test $ac_status = 0; }; then 13496 pkg_cv_PANGOCAIRO_LIBS=`$PKG_CONFIG --libs "pangocairo >= 1.16.0, 13497 pylcairo >= 1.0.2" 2>/dev/null` 13498else 13499 pkg_failed=yes 13500fi 13501 else 13502 pkg_failed=untried 13503fi 13504 13505 13506 13507if test $pkg_failed = yes; then 13508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13509$as_echo "no" >&6; } 13510 13511if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13512 _pkg_short_errors_supported=yes 13513else 13514 _pkg_short_errors_supported=no 13515fi 13516 if test $_pkg_short_errors_supported = yes; then 13517 PANGOCAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pangocairo >= 1.16.0, 13518 pylcairo >= 1.0.2" 2>&1` 13519 else 13520 PANGOCAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors "pangocairo >= 1.16.0, 13521 pylcairo >= 1.0.2" 2>&1` 13522 fi 13523 # Put the nasty error message in config.log where it belongs 13524 echo "$PANGOCAIRO_PKG_ERRORS" >&5 13525 13526 have_pangocairo=false 13527elif test $pkg_failed = untried; then 13528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13529$as_echo "no" >&6; } 13530 have_pangocairo=false 13531else 13532 PANGOCAIRO_CFLAGS=$pkg_cv_PANGOCAIRO_CFLAGS 13533 PANGOCAIRO_LIBS=$pkg_cv_PANGOCAIRO_LIBS 13534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13535$as_echo "yes" >&6; } 13536 have_pangocairo=true 13537fi 13538 if test ! $have_pangocairo 13539 then 13540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13541$as_echo "no" >&6; } 13542 fi 13543 13544 13545 if $have_pangocairo; then 13546 BUILD_PANGOCAIRO_TRUE= 13547 BUILD_PANGOCAIRO_FALSE='#' 13548else 13549 BUILD_PANGOCAIRO_TRUE='#' 13550 BUILD_PANGOCAIRO_FALSE= 13551fi 13552 13553 13554 if test -n "$export_dynamic"; then 13555 PANGOCAIRO_LIBS=`echo $PANGOCAIRO_LIBS | sed -e "s/$export_dynamic//"` 13556 fi 13557 13558 13559pkg_failed=no 13560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5 13561$as_echo_n "checking for GTK... " >&6; } 13562 13563if test -n "$GTK_CFLAGS"; then 13564 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" 13565 elif test -n "$PKG_CONFIG"; then 13566 if test -n "$PKG_CONFIG" && \ 13567 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.8.0\""; } >&5 13568 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.8.0") 2>&5 13569 ac_status=$? 13570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13571 test $ac_status = 0; }; then 13572 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8.0" 2>/dev/null` 13573else 13574 pkg_failed=yes 13575fi 13576 else 13577 pkg_failed=untried 13578fi 13579if test -n "$GTK_LIBS"; then 13580 pkg_cv_GTK_LIBS="$GTK_LIBS" 13581 elif test -n "$PKG_CONFIG"; then 13582 if test -n "$PKG_CONFIG" && \ 13583 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.8.0\""; } >&5 13584 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.8.0") 2>&5 13585 ac_status=$? 13586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13587 test $ac_status = 0; }; then 13588 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8.0" 2>/dev/null` 13589else 13590 pkg_failed=yes 13591fi 13592 else 13593 pkg_failed=untried 13594fi 13595 13596 13597 13598if test $pkg_failed = yes; then 13599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13600$as_echo "no" >&6; } 13601 13602if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13603 _pkg_short_errors_supported=yes 13604else 13605 _pkg_short_errors_supported=no 13606fi 13607 if test $_pkg_short_errors_supported = yes; then 13608 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= 2.8.0" 2>&1` 13609 else 13610 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= 2.8.0" 2>&1` 13611 fi 13612 # Put the nasty error message in config.log where it belongs 13613 echo "$GTK_PKG_ERRORS" >&5 13614 13615 HAVE_GTK="no" 13616elif test $pkg_failed = untried; then 13617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13618$as_echo "no" >&6; } 13619 HAVE_GTK="no" 13620else 13621 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS 13622 GTK_LIBS=$pkg_cv_GTK_LIBS 13623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13624$as_echo "yes" >&6; } 13625 HAVE_GTK="yes" 13626fi 13627 if test "x$HAVE_GTK" = "xyes"; then 13628 have_gtk=true 13629 else 13630 have_gtk=false 13631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13632$as_echo "no" >&6; } 13633 fi 13634 if $have_gtk; then 13635 BUILD_GTK_TRUE= 13636 BUILD_GTK_FALSE='#' 13637else 13638 BUILD_GTK_TRUE='#' 13639 BUILD_GTK_FALSE= 13640fi 13641 13642 13643 13644 if test -n "$export_dynamic"; then 13645 GTK_LIBS=`echo $GTK_LIBS | sed -e "s/$export_dynamic//"` 13646 fi 13647 13648 13649pkg_failed=no 13650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK210" >&5 13651$as_echo_n "checking for GTK210... " >&6; } 13652 13653if test -n "$GTK210_CFLAGS"; then 13654 pkg_cv_GTK210_CFLAGS="$GTK210_CFLAGS" 13655 elif test -n "$PKG_CONFIG"; then 13656 if test -n "$PKG_CONFIG" && \ 13657 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.10.0\""; } >&5 13658 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.10.0") 2>&5 13659 ac_status=$? 13660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13661 test $ac_status = 0; }; then 13662 pkg_cv_GTK210_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.10.0" 2>/dev/null` 13663else 13664 pkg_failed=yes 13665fi 13666 else 13667 pkg_failed=untried 13668fi 13669if test -n "$GTK210_LIBS"; then 13670 pkg_cv_GTK210_LIBS="$GTK210_LIBS" 13671 elif test -n "$PKG_CONFIG"; then 13672 if test -n "$PKG_CONFIG" && \ 13673 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.10.0\""; } >&5 13674 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.10.0") 2>&5 13675 ac_status=$? 13676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13677 test $ac_status = 0; }; then 13678 pkg_cv_GTK210_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.10.0" 2>/dev/null` 13679else 13680 pkg_failed=yes 13681fi 13682 else 13683 pkg_failed=untried 13684fi 13685 13686 13687 13688if test $pkg_failed = yes; then 13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13690$as_echo "no" >&6; } 13691 13692if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13693 _pkg_short_errors_supported=yes 13694else 13695 _pkg_short_errors_supported=no 13696fi 13697 if test $_pkg_short_errors_supported = yes; then 13698 GTK210_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= 2.10.0" 2>&1` 13699 else 13700 GTK210_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= 2.10.0" 2>&1` 13701 fi 13702 # Put the nasty error message in config.log where it belongs 13703 echo "$GTK210_PKG_ERRORS" >&5 13704 13705 HAVE_GTK_210="no" 13706elif test $pkg_failed = untried; then 13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13708$as_echo "no" >&6; } 13709 HAVE_GTK_210="no" 13710else 13711 GTK210_CFLAGS=$pkg_cv_GTK210_CFLAGS 13712 GTK210_LIBS=$pkg_cv_GTK210_LIBS 13713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13714$as_echo "yes" >&6; } 13715 HAVE_GTK_210="yes" 13716fi 13717 if test "x$HAVE_GTK_210" = "xyes"; then 13718 gtk_version="2.10" 13719 have_gtk_210=true 13720 else 13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13722$as_echo "no" >&6; } 13723 gtk_version="2.8" 13724 have_gtk_210=false 13725 fi 13726 13727 if $have_gtk_210; then 13728 HAVE_GTK_2_10_TRUE= 13729 HAVE_GTK_2_10_FALSE='#' 13730else 13731 HAVE_GTK_2_10_TRUE='#' 13732 HAVE_GTK_2_10_FALSE= 13733fi 13734 13735 13736 13737$as_echo "#define HAVE_GTK_2_10 \$have_gtk_210" >>confdefs.h 13738 13739 13740 13741pkg_failed=no 13742{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK212" >&5 13743$as_echo_n "checking for GTK212... " >&6; } 13744 13745if test -n "$GTK212_CFLAGS"; then 13746 pkg_cv_GTK212_CFLAGS="$GTK212_CFLAGS" 13747 elif test -n "$PKG_CONFIG"; then 13748 if test -n "$PKG_CONFIG" && \ 13749 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.11.6\""; } >&5 13750 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.11.6") 2>&5 13751 ac_status=$? 13752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13753 test $ac_status = 0; }; then 13754 pkg_cv_GTK212_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.11.6" 2>/dev/null` 13755else 13756 pkg_failed=yes 13757fi 13758 else 13759 pkg_failed=untried 13760fi 13761if test -n "$GTK212_LIBS"; then 13762 pkg_cv_GTK212_LIBS="$GTK212_LIBS" 13763 elif test -n "$PKG_CONFIG"; then 13764 if test -n "$PKG_CONFIG" && \ 13765 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.11.6\""; } >&5 13766 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.11.6") 2>&5 13767 ac_status=$? 13768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13769 test $ac_status = 0; }; then 13770 pkg_cv_GTK212_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.11.6" 2>/dev/null` 13771else 13772 pkg_failed=yes 13773fi 13774 else 13775 pkg_failed=untried 13776fi 13777 13778 13779 13780if test $pkg_failed = yes; then 13781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13782$as_echo "no" >&6; } 13783 13784if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13785 _pkg_short_errors_supported=yes 13786else 13787 _pkg_short_errors_supported=no 13788fi 13789 if test $_pkg_short_errors_supported = yes; then 13790 GTK212_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= 2.11.6" 2>&1` 13791 else 13792 GTK212_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= 2.11.6" 2>&1` 13793 fi 13794 # Put the nasty error message in config.log where it belongs 13795 echo "$GTK212_PKG_ERRORS" >&5 13796 13797 HAVE_GTK_212="no" 13798elif test $pkg_failed = untried; then 13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13800$as_echo "no" >&6; } 13801 HAVE_GTK_212="no" 13802else 13803 GTK212_CFLAGS=$pkg_cv_GTK212_CFLAGS 13804 GTK212_LIBS=$pkg_cv_GTK212_LIBS 13805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13806$as_echo "yes" >&6; } 13807 HAVE_GTK_212="yes" 13808fi 13809 13810 if test "x$HAVE_GTK_212" = "xyes"; then 13811 gtk_version="2.12" 13812 have_gtk_212=true 13813 PYGTK_CODEGEN_DEFINES="$PYGTK_CODEGEN_DEFINES -DHAVE_GTK_2_12" 13814 else 13815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13816$as_echo "no" >&6; } 13817 have_gtk_212=false 13818 fi 13819 13820 if $have_gtk_212; then 13821 HAVE_GTK_2_12_TRUE= 13822 HAVE_GTK_2_12_FALSE='#' 13823else 13824 HAVE_GTK_2_12_TRUE='#' 13825 HAVE_GTK_2_12_FALSE= 13826fi 13827 13828 13829 13830$as_echo "#define HAVE_GTK_2_12 \$have_gtk_212" >>confdefs.h 13831 13832 13833 13834pkg_failed=no 13835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK214" >&5 13836$as_echo_n "checking for GTK214... " >&6; } 13837 13838if test -n "$GTK214_CFLAGS"; then 13839 pkg_cv_GTK214_CFLAGS="$GTK214_CFLAGS" 13840 elif test -n "$PKG_CONFIG"; then 13841 if test -n "$PKG_CONFIG" && \ 13842 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.13.8\""; } >&5 13843 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.13.8") 2>&5 13844 ac_status=$? 13845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13846 test $ac_status = 0; }; then 13847 pkg_cv_GTK214_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.13.8" 2>/dev/null` 13848else 13849 pkg_failed=yes 13850fi 13851 else 13852 pkg_failed=untried 13853fi 13854if test -n "$GTK214_LIBS"; then 13855 pkg_cv_GTK214_LIBS="$GTK214_LIBS" 13856 elif test -n "$PKG_CONFIG"; then 13857 if test -n "$PKG_CONFIG" && \ 13858 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.13.8\""; } >&5 13859 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.13.8") 2>&5 13860 ac_status=$? 13861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13862 test $ac_status = 0; }; then 13863 pkg_cv_GTK214_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.13.8" 2>/dev/null` 13864else 13865 pkg_failed=yes 13866fi 13867 else 13868 pkg_failed=untried 13869fi 13870 13871 13872 13873if test $pkg_failed = yes; then 13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13875$as_echo "no" >&6; } 13876 13877if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13878 _pkg_short_errors_supported=yes 13879else 13880 _pkg_short_errors_supported=no 13881fi 13882 if test $_pkg_short_errors_supported = yes; then 13883 GTK214_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= 2.13.8" 2>&1` 13884 else 13885 GTK214_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= 2.13.8" 2>&1` 13886 fi 13887 # Put the nasty error message in config.log where it belongs 13888 echo "$GTK214_PKG_ERRORS" >&5 13889 13890 HAVE_GTK_214="no" 13891elif test $pkg_failed = untried; then 13892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13893$as_echo "no" >&6; } 13894 HAVE_GTK_214="no" 13895else 13896 GTK214_CFLAGS=$pkg_cv_GTK214_CFLAGS 13897 GTK214_LIBS=$pkg_cv_GTK214_LIBS 13898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13899$as_echo "yes" >&6; } 13900 HAVE_GTK_214="yes" 13901fi 13902 13903 if test "x$HAVE_GTK_214" = "xyes"; then 13904 gtk_version="2.14" 13905 have_gtk_214=true 13906 PYGTK_CODEGEN_DEFINES="$PYGTK_CODEGEN_DEFINES -DHAVE_GTK_2_14" 13907 else 13908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13909$as_echo "no" >&6; } 13910 have_gtk_214=false 13911 fi 13912 13913 if $have_gtk_214; then 13914 HAVE_GTK_2_14_TRUE= 13915 HAVE_GTK_2_14_FALSE='#' 13916else 13917 HAVE_GTK_2_14_TRUE='#' 13918 HAVE_GTK_2_14_FALSE= 13919fi 13920 13921 13922 13923$as_echo "#define HAVE_GTK_2_14 \$have_gtk_214" >>confdefs.h 13924 13925 13926 13927pkg_failed=no 13928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK216" >&5 13929$as_echo_n "checking for GTK216... " >&6; } 13930 13931if test -n "$GTK216_CFLAGS"; then 13932 pkg_cv_GTK216_CFLAGS="$GTK216_CFLAGS" 13933 elif test -n "$PKG_CONFIG"; then 13934 if test -n "$PKG_CONFIG" && \ 13935 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.16.0\""; } >&5 13936 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.16.0") 2>&5 13937 ac_status=$? 13938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13939 test $ac_status = 0; }; then 13940 pkg_cv_GTK216_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.16.0" 2>/dev/null` 13941else 13942 pkg_failed=yes 13943fi 13944 else 13945 pkg_failed=untried 13946fi 13947if test -n "$GTK216_LIBS"; then 13948 pkg_cv_GTK216_LIBS="$GTK216_LIBS" 13949 elif test -n "$PKG_CONFIG"; then 13950 if test -n "$PKG_CONFIG" && \ 13951 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.16.0\""; } >&5 13952 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.16.0") 2>&5 13953 ac_status=$? 13954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13955 test $ac_status = 0; }; then 13956 pkg_cv_GTK216_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.16.0" 2>/dev/null` 13957else 13958 pkg_failed=yes 13959fi 13960 else 13961 pkg_failed=untried 13962fi 13963 13964 13965 13966if test $pkg_failed = yes; then 13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13968$as_echo "no" >&6; } 13969 13970if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13971 _pkg_short_errors_supported=yes 13972else 13973 _pkg_short_errors_supported=no 13974fi 13975 if test $_pkg_short_errors_supported = yes; then 13976 GTK216_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= 2.16.0" 2>&1` 13977 else 13978 GTK216_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= 2.16.0" 2>&1` 13979 fi 13980 # Put the nasty error message in config.log where it belongs 13981 echo "$GTK216_PKG_ERRORS" >&5 13982 13983 HAVE_GTK_216="no" 13984elif test $pkg_failed = untried; then 13985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13986$as_echo "no" >&6; } 13987 HAVE_GTK_216="no" 13988else 13989 GTK216_CFLAGS=$pkg_cv_GTK216_CFLAGS 13990 GTK216_LIBS=$pkg_cv_GTK216_LIBS 13991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13992$as_echo "yes" >&6; } 13993 HAVE_GTK_216="yes" 13994fi 13995 13996 if test "x$HAVE_GTK_216" = "xyes"; then 13997 gtk_version="2.16" 13998 have_gtk_216=true 13999 PYGTK_CODEGEN_DEFINES="$PYGTK_CODEGEN_DEFINES -DHAVE_GTK_2_16" 14000 else 14001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14002$as_echo "no" >&6; } 14003 have_gtk_216=false 14004 fi 14005 14006 if $have_gtk_216; then 14007 HAVE_GTK_2_16_TRUE= 14008 HAVE_GTK_2_16_FALSE='#' 14009else 14010 HAVE_GTK_2_16_TRUE='#' 14011 HAVE_GTK_2_16_FALSE= 14012fi 14013 14014 14015 14016$as_echo "#define HAVE_GTK_2_16 \$have_gtk_216" >>confdefs.h 14017 14018 14019 14020pkg_failed=no 14021{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK218" >&5 14022$as_echo_n "checking for GTK218... " >&6; } 14023 14024if test -n "$GTK218_CFLAGS"; then 14025 pkg_cv_GTK218_CFLAGS="$GTK218_CFLAGS" 14026 elif test -n "$PKG_CONFIG"; then 14027 if test -n "$PKG_CONFIG" && \ 14028 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18.0\""; } >&5 14029 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18.0") 2>&5 14030 ac_status=$? 14031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14032 test $ac_status = 0; }; then 14033 pkg_cv_GTK218_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18.0" 2>/dev/null` 14034else 14035 pkg_failed=yes 14036fi 14037 else 14038 pkg_failed=untried 14039fi 14040if test -n "$GTK218_LIBS"; then 14041 pkg_cv_GTK218_LIBS="$GTK218_LIBS" 14042 elif test -n "$PKG_CONFIG"; then 14043 if test -n "$PKG_CONFIG" && \ 14044 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18.0\""; } >&5 14045 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18.0") 2>&5 14046 ac_status=$? 14047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14048 test $ac_status = 0; }; then 14049 pkg_cv_GTK218_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18.0" 2>/dev/null` 14050else 14051 pkg_failed=yes 14052fi 14053 else 14054 pkg_failed=untried 14055fi 14056 14057 14058 14059if test $pkg_failed = yes; then 14060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14061$as_echo "no" >&6; } 14062 14063if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14064 _pkg_short_errors_supported=yes 14065else 14066 _pkg_short_errors_supported=no 14067fi 14068 if test $_pkg_short_errors_supported = yes; then 14069 GTK218_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= 2.18.0" 2>&1` 14070 else 14071 GTK218_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= 2.18.0" 2>&1` 14072 fi 14073 # Put the nasty error message in config.log where it belongs 14074 echo "$GTK218_PKG_ERRORS" >&5 14075 14076 HAVE_GTK_218="no" 14077elif test $pkg_failed = untried; then 14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14079$as_echo "no" >&6; } 14080 HAVE_GTK_218="no" 14081else 14082 GTK218_CFLAGS=$pkg_cv_GTK218_CFLAGS 14083 GTK218_LIBS=$pkg_cv_GTK218_LIBS 14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14085$as_echo "yes" >&6; } 14086 HAVE_GTK_218="yes" 14087fi 14088 14089 if test "x$HAVE_GTK_218" = "xyes"; then 14090 gtk_version="2.18" 14091 have_gtk_218=true 14092 PYGTK_CODEGEN_DEFINES="$PYGTK_CODEGEN_DEFINES -DHAVE_GTK_2_18" 14093 else 14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14095$as_echo "no" >&6; } 14096 have_gtk_218=false 14097 fi 14098 14099 if $have_gtk_218; then 14100 HAVE_GTK_2_18_TRUE= 14101 HAVE_GTK_2_18_FALSE='#' 14102else 14103 HAVE_GTK_2_18_TRUE='#' 14104 HAVE_GTK_2_18_FALSE= 14105fi 14106 14107 14108 14109$as_echo "#define HAVE_GTK_2_18 \$have_gtk_218" >>confdefs.h 14110 14111 14112 14113pkg_failed=no 14114{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK220" >&5 14115$as_echo_n "checking for GTK220... " >&6; } 14116 14117if test -n "$GTK220_CFLAGS"; then 14118 pkg_cv_GTK220_CFLAGS="$GTK220_CFLAGS" 14119 elif test -n "$PKG_CONFIG"; then 14120 if test -n "$PKG_CONFIG" && \ 14121 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.20.0\""; } >&5 14122 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.20.0") 2>&5 14123 ac_status=$? 14124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14125 test $ac_status = 0; }; then 14126 pkg_cv_GTK220_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.20.0" 2>/dev/null` 14127else 14128 pkg_failed=yes 14129fi 14130 else 14131 pkg_failed=untried 14132fi 14133if test -n "$GTK220_LIBS"; then 14134 pkg_cv_GTK220_LIBS="$GTK220_LIBS" 14135 elif test -n "$PKG_CONFIG"; then 14136 if test -n "$PKG_CONFIG" && \ 14137 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.20.0\""; } >&5 14138 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.20.0") 2>&5 14139 ac_status=$? 14140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14141 test $ac_status = 0; }; then 14142 pkg_cv_GTK220_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.20.0" 2>/dev/null` 14143else 14144 pkg_failed=yes 14145fi 14146 else 14147 pkg_failed=untried 14148fi 14149 14150 14151 14152if test $pkg_failed = yes; then 14153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14154$as_echo "no" >&6; } 14155 14156if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14157 _pkg_short_errors_supported=yes 14158else 14159 _pkg_short_errors_supported=no 14160fi 14161 if test $_pkg_short_errors_supported = yes; then 14162 GTK220_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= 2.20.0" 2>&1` 14163 else 14164 GTK220_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= 2.20.0" 2>&1` 14165 fi 14166 # Put the nasty error message in config.log where it belongs 14167 echo "$GTK220_PKG_ERRORS" >&5 14168 14169 HAVE_GTK_220="no" 14170elif test $pkg_failed = untried; then 14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14172$as_echo "no" >&6; } 14173 HAVE_GTK_220="no" 14174else 14175 GTK220_CFLAGS=$pkg_cv_GTK220_CFLAGS 14176 GTK220_LIBS=$pkg_cv_GTK220_LIBS 14177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14178$as_echo "yes" >&6; } 14179 HAVE_GTK_220="yes" 14180fi 14181 14182 if test "x$HAVE_GTK_220" = "xyes"; then 14183 gtk_version="2.20" 14184 have_gtk_220=true 14185 PYGTK_CODEGEN_DEFINES="$PYGTK_CODEGEN_DEFINES -DHAVE_GTK_2_20" 14186 else 14187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14188$as_echo "no" >&6; } 14189 have_gtk_220=false 14190 fi 14191 14192 if $have_gtk_220; then 14193 HAVE_GTK_2_20_TRUE= 14194 HAVE_GTK_2_20_FALSE='#' 14195else 14196 HAVE_GTK_2_20_TRUE='#' 14197 HAVE_GTK_2_20_FALSE= 14198fi 14199 14200 14201 14202$as_echo "#define HAVE_GTK_2_20 \$have_gtk_220" >>confdefs.h 14203 14204 14205 14206pkg_failed=no 14207{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK222" >&5 14208$as_echo_n "checking for GTK222... " >&6; } 14209 14210if test -n "$GTK222_CFLAGS"; then 14211 pkg_cv_GTK222_CFLAGS="$GTK222_CFLAGS" 14212 elif test -n "$PKG_CONFIG"; then 14213 if test -n "$PKG_CONFIG" && \ 14214 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.22.0\""; } >&5 14215 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.22.0") 2>&5 14216 ac_status=$? 14217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14218 test $ac_status = 0; }; then 14219 pkg_cv_GTK222_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.22.0" 2>/dev/null` 14220else 14221 pkg_failed=yes 14222fi 14223 else 14224 pkg_failed=untried 14225fi 14226if test -n "$GTK222_LIBS"; then 14227 pkg_cv_GTK222_LIBS="$GTK222_LIBS" 14228 elif test -n "$PKG_CONFIG"; then 14229 if test -n "$PKG_CONFIG" && \ 14230 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.22.0\""; } >&5 14231 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.22.0") 2>&5 14232 ac_status=$? 14233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14234 test $ac_status = 0; }; then 14235 pkg_cv_GTK222_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.22.0" 2>/dev/null` 14236else 14237 pkg_failed=yes 14238fi 14239 else 14240 pkg_failed=untried 14241fi 14242 14243 14244 14245if test $pkg_failed = yes; then 14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14247$as_echo "no" >&6; } 14248 14249if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14250 _pkg_short_errors_supported=yes 14251else 14252 _pkg_short_errors_supported=no 14253fi 14254 if test $_pkg_short_errors_supported = yes; then 14255 GTK222_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= 2.22.0" 2>&1` 14256 else 14257 GTK222_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= 2.22.0" 2>&1` 14258 fi 14259 # Put the nasty error message in config.log where it belongs 14260 echo "$GTK222_PKG_ERRORS" >&5 14261 14262 HAVE_GTK_222="no" 14263elif test $pkg_failed = untried; then 14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14265$as_echo "no" >&6; } 14266 HAVE_GTK_222="no" 14267else 14268 GTK222_CFLAGS=$pkg_cv_GTK222_CFLAGS 14269 GTK222_LIBS=$pkg_cv_GTK222_LIBS 14270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14271$as_echo "yes" >&6; } 14272 HAVE_GTK_222="yes" 14273fi 14274 14275 if test "x$HAVE_GTK_222" = "xyes"; then 14276 gtk_version="2.22" 14277 have_gtk_222=true 14278 PYGTK_CODEGEN_DEFINES="$PYGTK_CODEGEN_DEFINES -DHAVE_GTK_2_22" 14279 else 14280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14281$as_echo "no" >&6; } 14282 have_gtk_222=false 14283 fi 14284 14285 if $have_gtk_222; then 14286 HAVE_GTK_2_22_TRUE= 14287 HAVE_GTK_2_22_FALSE='#' 14288else 14289 HAVE_GTK_2_22_TRUE='#' 14290 HAVE_GTK_2_22_FALSE= 14291fi 14292 14293 14294 14295$as_echo "#define HAVE_GTK_2_22 \$have_gtk_222" >>confdefs.h 14296 14297 14298 14299pkg_failed=no 14300{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK224" >&5 14301$as_echo_n "checking for GTK224... " >&6; } 14302 14303if test -n "$GTK224_CFLAGS"; then 14304 pkg_cv_GTK224_CFLAGS="$GTK224_CFLAGS" 14305 elif test -n "$PKG_CONFIG"; then 14306 if test -n "$PKG_CONFIG" && \ 14307 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.24.0\""; } >&5 14308 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.24.0") 2>&5 14309 ac_status=$? 14310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14311 test $ac_status = 0; }; then 14312 pkg_cv_GTK224_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.24.0" 2>/dev/null` 14313else 14314 pkg_failed=yes 14315fi 14316 else 14317 pkg_failed=untried 14318fi 14319if test -n "$GTK224_LIBS"; then 14320 pkg_cv_GTK224_LIBS="$GTK224_LIBS" 14321 elif test -n "$PKG_CONFIG"; then 14322 if test -n "$PKG_CONFIG" && \ 14323 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.24.0\""; } >&5 14324 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.24.0") 2>&5 14325 ac_status=$? 14326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14327 test $ac_status = 0; }; then 14328 pkg_cv_GTK224_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.24.0" 2>/dev/null` 14329else 14330 pkg_failed=yes 14331fi 14332 else 14333 pkg_failed=untried 14334fi 14335 14336 14337 14338if test $pkg_failed = yes; then 14339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14340$as_echo "no" >&6; } 14341 14342if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14343 _pkg_short_errors_supported=yes 14344else 14345 _pkg_short_errors_supported=no 14346fi 14347 if test $_pkg_short_errors_supported = yes; then 14348 GTK224_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= 2.24.0" 2>&1` 14349 else 14350 GTK224_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= 2.24.0" 2>&1` 14351 fi 14352 # Put the nasty error message in config.log where it belongs 14353 echo "$GTK224_PKG_ERRORS" >&5 14354 14355 HAVE_GTK_224="no" 14356elif test $pkg_failed = untried; then 14357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14358$as_echo "no" >&6; } 14359 HAVE_GTK_224="no" 14360else 14361 GTK224_CFLAGS=$pkg_cv_GTK224_CFLAGS 14362 GTK224_LIBS=$pkg_cv_GTK224_LIBS 14363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14364$as_echo "yes" >&6; } 14365 HAVE_GTK_224="yes" 14366fi 14367 14368 if test "x$HAVE_GTK_224" = "xyes"; then 14369 gtk_version="2.24" 14370 have_gtk_224=true 14371 PYGTK_CODEGEN_DEFINES="$PYGTK_CODEGEN_DEFINES -DHAVE_GTK_2_24" 14372 else 14373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14374$as_echo "no" >&6; } 14375 have_gtk_224=false 14376 fi 14377 14378 if $have_gtk_224; then 14379 HAVE_GTK_2_24_TRUE= 14380 HAVE_GTK_2_24_FALSE='#' 14381else 14382 HAVE_GTK_2_24_TRUE='#' 14383 HAVE_GTK_2_24_FALSE= 14384fi 14385 14386 14387 14388$as_echo "#define HAVE_GTK_2_24 \$have_gtk_224" >>confdefs.h 14389 14390 14391 have_libglade=false 14392 14393# Check whether --with-glade was given. 14394if test "${with_glade+set}" = set; then : 14395 withval=$with_glade; 14396fi 14397 14398 if test "x$with_glade" != "xno"; then 14399 14400pkg_failed=no 14401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGLADE" >&5 14402$as_echo_n "checking for LIBGLADE... " >&6; } 14403 14404if test -n "$LIBGLADE_CFLAGS"; then 14405 pkg_cv_LIBGLADE_CFLAGS="$LIBGLADE_CFLAGS" 14406 elif test -n "$PKG_CONFIG"; then 14407 if test -n "$PKG_CONFIG" && \ 14408 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libglade-2.0 >= 2.5.0\""; } >&5 14409 ($PKG_CONFIG --exists --print-errors "libglade-2.0 >= 2.5.0") 2>&5 14410 ac_status=$? 14411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14412 test $ac_status = 0; }; then 14413 pkg_cv_LIBGLADE_CFLAGS=`$PKG_CONFIG --cflags "libglade-2.0 >= 2.5.0" 2>/dev/null` 14414else 14415 pkg_failed=yes 14416fi 14417 else 14418 pkg_failed=untried 14419fi 14420if test -n "$LIBGLADE_LIBS"; then 14421 pkg_cv_LIBGLADE_LIBS="$LIBGLADE_LIBS" 14422 elif test -n "$PKG_CONFIG"; then 14423 if test -n "$PKG_CONFIG" && \ 14424 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libglade-2.0 >= 2.5.0\""; } >&5 14425 ($PKG_CONFIG --exists --print-errors "libglade-2.0 >= 2.5.0") 2>&5 14426 ac_status=$? 14427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14428 test $ac_status = 0; }; then 14429 pkg_cv_LIBGLADE_LIBS=`$PKG_CONFIG --libs "libglade-2.0 >= 2.5.0" 2>/dev/null` 14430else 14431 pkg_failed=yes 14432fi 14433 else 14434 pkg_failed=untried 14435fi 14436 14437 14438 14439if test $pkg_failed = yes; then 14440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14441$as_echo "no" >&6; } 14442 14443if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14444 _pkg_short_errors_supported=yes 14445else 14446 _pkg_short_errors_supported=no 14447fi 14448 if test $_pkg_short_errors_supported = yes; then 14449 LIBGLADE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libglade-2.0 >= 2.5.0" 2>&1` 14450 else 14451 LIBGLADE_PKG_ERRORS=`$PKG_CONFIG --print-errors "libglade-2.0 >= 2.5.0" 2>&1` 14452 fi 14453 # Put the nasty error message in config.log where it belongs 14454 echo "$LIBGLADE_PKG_ERRORS" >&5 14455 14456 have_libglade=false 14457elif test $pkg_failed = untried; then 14458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14459$as_echo "no" >&6; } 14460 have_libglade=false 14461else 14462 LIBGLADE_CFLAGS=$pkg_cv_LIBGLADE_CFLAGS 14463 LIBGLADE_LIBS=$pkg_cv_LIBGLADE_LIBS 14464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14465$as_echo "yes" >&6; } 14466 have_libglade=true 14467fi 14468 fi 14469 14470 14471 if $have_libglade; then 14472 BUILD_LIBGLADE_TRUE= 14473 BUILD_LIBGLADE_FALSE='#' 14474else 14475 BUILD_LIBGLADE_TRUE='#' 14476 BUILD_LIBGLADE_FALSE= 14477fi 14478 14479 if test -n "$export_dynamic"; then 14480 LIBGLADE_LIBS=`echo $LIBGLADE_LIBS | sed -e "s/$export_dynamic//"` 14481 fi 14482 14483 14484pkg_failed=no 14485{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKUNIXPRINT" >&5 14486$as_echo_n "checking for GTKUNIXPRINT... " >&6; } 14487 14488if test -n "$GTKUNIXPRINT_CFLAGS"; then 14489 pkg_cv_GTKUNIXPRINT_CFLAGS="$GTKUNIXPRINT_CFLAGS" 14490 elif test -n "$PKG_CONFIG"; then 14491 if test -n "$PKG_CONFIG" && \ 14492 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.9.0\""; } >&5 14493 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.9.0") 2>&5 14494 ac_status=$? 14495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14496 test $ac_status = 0; }; then 14497 pkg_cv_GTKUNIXPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.9.0" 2>/dev/null` 14498else 14499 pkg_failed=yes 14500fi 14501 else 14502 pkg_failed=untried 14503fi 14504if test -n "$GTKUNIXPRINT_LIBS"; then 14505 pkg_cv_GTKUNIXPRINT_LIBS="$GTKUNIXPRINT_LIBS" 14506 elif test -n "$PKG_CONFIG"; then 14507 if test -n "$PKG_CONFIG" && \ 14508 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.9.0\""; } >&5 14509 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.9.0") 2>&5 14510 ac_status=$? 14511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14512 test $ac_status = 0; }; then 14513 pkg_cv_GTKUNIXPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.9.0" 2>/dev/null` 14514else 14515 pkg_failed=yes 14516fi 14517 else 14518 pkg_failed=untried 14519fi 14520 14521 14522 14523if test $pkg_failed = yes; then 14524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14525$as_echo "no" >&6; } 14526 14527if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14528 _pkg_short_errors_supported=yes 14529else 14530 _pkg_short_errors_supported=no 14531fi 14532 if test $_pkg_short_errors_supported = yes; then 14533 GTKUNIXPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-unix-print-2.0 >= 2.9.0" 2>&1` 14534 else 14535 GTKUNIXPRINT_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-unix-print-2.0 >= 2.9.0" 2>&1` 14536 fi 14537 # Put the nasty error message in config.log where it belongs 14538 echo "$GTKUNIXPRINT_PKG_ERRORS" >&5 14539 14540 have_gtkunixprint=false 14541elif test $pkg_failed = untried; then 14542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14543$as_echo "no" >&6; } 14544 have_gtkunixprint=false 14545else 14546 GTKUNIXPRINT_CFLAGS=$pkg_cv_GTKUNIXPRINT_CFLAGS 14547 GTKUNIXPRINT_LIBS=$pkg_cv_GTKUNIXPRINT_LIBS 14548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14549$as_echo "yes" >&6; } 14550 have_gtkunixprint=true 14551fi 14552 14553 14554 if $have_gtkunixprint; then 14555 BUILD_GTKUNIXPRINT_TRUE= 14556 BUILD_GTKUNIXPRINT_FALSE='#' 14557else 14558 BUILD_GTKUNIXPRINT_TRUE='#' 14559 BUILD_GTKUNIXPRINT_FALSE= 14560fi 14561 14562 if test -n "$export_dynamic"; then 14563 GTKUNIXPRINT_LIBS=`echo $GTKUNIXPRINT_LIBS | sed -e "s/$export_dynamic//"` 14564 fi 14565 14566else 14567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14568$as_echo "no" >&6; } 14569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not checking for gtk due to missing pylcairo" >&5 14570$as_echo "not checking for gtk due to missing pylcairo" >&6; } 14571 if false; then 14572 BUILD_PANGOCAIRO_TRUE= 14573 BUILD_PANGOCAIRO_FALSE='#' 14574else 14575 BUILD_PANGOCAIRO_TRUE='#' 14576 BUILD_PANGOCAIRO_FALSE= 14577fi 14578 14579 if false; then 14580 BUILD_GTK_TRUE= 14581 BUILD_GTK_FALSE='#' 14582else 14583 BUILD_GTK_TRUE='#' 14584 BUILD_GTK_FALSE= 14585fi 14586 14587 if false; then 14588 HAVE_GTK_2_10_TRUE= 14589 HAVE_GTK_2_10_FALSE='#' 14590else 14591 HAVE_GTK_2_10_TRUE='#' 14592 HAVE_GTK_2_10_FALSE= 14593fi 14594 14595 if false; then 14596 HAVE_GTK_2_12_TRUE= 14597 HAVE_GTK_2_12_FALSE='#' 14598else 14599 HAVE_GTK_2_12_TRUE='#' 14600 HAVE_GTK_2_12_FALSE= 14601fi 14602 14603 if false; then 14604 HAVE_GTK_2_14_TRUE= 14605 HAVE_GTK_2_14_FALSE='#' 14606else 14607 HAVE_GTK_2_14_TRUE='#' 14608 HAVE_GTK_2_14_FALSE= 14609fi 14610 14611 if false; then 14612 HAVE_GTK_2_16_TRUE= 14613 HAVE_GTK_2_16_FALSE='#' 14614else 14615 HAVE_GTK_2_16_TRUE='#' 14616 HAVE_GTK_2_16_FALSE= 14617fi 14618 14619 if false; then 14620 HAVE_GTK_2_18_TRUE= 14621 HAVE_GTK_2_18_FALSE='#' 14622else 14623 HAVE_GTK_2_18_TRUE='#' 14624 HAVE_GTK_2_18_FALSE= 14625fi 14626 14627 if false; then 14628 HAVE_GTK_2_20_TRUE= 14629 HAVE_GTK_2_20_FALSE='#' 14630else 14631 HAVE_GTK_2_20_TRUE='#' 14632 HAVE_GTK_2_20_FALSE= 14633fi 14634 14635 if false; then 14636 HAVE_GTK_2_22_TRUE= 14637 HAVE_GTK_2_22_FALSE='#' 14638else 14639 HAVE_GTK_2_22_TRUE='#' 14640 HAVE_GTK_2_22_FALSE= 14641fi 14642 14643 if false; then 14644 HAVE_GTK_2_24_TRUE= 14645 HAVE_GTK_2_24_FALSE='#' 14646else 14647 HAVE_GTK_2_24_TRUE='#' 14648 HAVE_GTK_2_24_FALSE= 14649fi 14650 14651 if false; then 14652 BUILD_LIBGLADE_TRUE= 14653 BUILD_LIBGLADE_FALSE='#' 14654else 14655 BUILD_LIBGLADE_TRUE='#' 14656 BUILD_LIBGLADE_FALSE= 14657fi 14658 14659 if false; then 14660 BUILD_GTKUNIXPRINT_TRUE= 14661 BUILD_GTKUNIXPRINT_FALSE='#' 14662else 14663 BUILD_GTKUNIXPRINT_TRUE='#' 14664 BUILD_GTKUNIXPRINT_FALSE= 14665fi 14666 14667 have_pangocairo=false 14668 have_gtk=false 14669 have_libglade=false 14670 have_gtkunixprint=false 14671fi 14672 14673{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK target" >&5 14674$as_echo_n "checking for GDK target... " >&6; } 14675gdk_target=`$PKG_CONFIG --variable target gdk-2.0` 14676if test -z $gdk_target; then 14677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (unknown)" >&5 14678$as_echo "(unknown)" >&6; } 14679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unable to determine the GDK target system; some functions may not be available" >&5 14680$as_echo "$as_me: WARNING: unable to determine the GDK target system; some functions may not be available" >&2;} 14681else 14682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdk_target" >&5 14683$as_echo "$gdk_target" >&6; } 14684fi 14685 14686case $gdk_target in 14687 x11) PYGTK_CODEGEN_DEFINES="$PYGTK_CODEGEN_DEFINES -DGDK_TARGET_X11" 14688 ;; 14689esac 14690 14691 14692# Check whether --enable-numpy was given. 14693if test "${enable_numpy+set}" = set; then : 14694 enableval=$enable_numpy; 14695else 14696 enable_numpy=yes 14697fi 14698 14699 14700if test "x$enable_numpy" != xno; then 14701 save_CPPFLAGS="$CPPFLAGS" 14702 numpy_INCLUDES=`$PYTHON -c "import numpy; print numpy.get_include()" 2> /dev/null` 14703 if test "x$numpy_INCLUDES" = "x"; then 14704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find a valid numpy installation, disabling." >&5 14705$as_echo "$as_me: WARNING: Could not find a valid numpy installation, disabling." >&2;} 14706 enable_numpy=no 14707 else 14708 CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES -I$numpy_INCLUDES" 14709 ac_fn_c_check_header_compile "$LINENO" "numpy/arrayobject.h" "ac_cv_header_numpy_arrayobject_h" "#include <Python.h> 14710" 14711if test "x$ac_cv_header_numpy_arrayobject_h" = x""yes; then : 14712 14713$as_echo "#define HAVE_NUMPY /**/" >>confdefs.h 14714 14715else 14716 enable_numpy=no 14717fi 14718 14719 14720 if test "x$enable_numpy" != "xno"; then 14721 CPPFLAGS="$save_CPPFLAGS -I$numpy_INCLUDES" 14722 fi 14723 fi 14724fi 14725 14726 14727if test "x$GCC" = "xyes"; then 14728 14729case " $CFLAGS " in 14730*[\ \ ]-Wall[\ \ ]*) 14731 ;; 14732*) 14733 save_CFLAGS="$CFLAGS" 14734 CFLAGS="$CFLAGS -Wall" 14735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -Wall" >&5 14736$as_echo_n "checking whether $CC understands -Wall... " >&6; } 14737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14738/* end confdefs.h. */ 14739 14740int 14741main () 14742{ 14743 14744 ; 14745 return 0; 14746} 14747_ACEOF 14748if ac_fn_c_try_compile "$LINENO"; then : 14749 jh_has_option=yes 14750else 14751 jh_has_option=no 14752fi 14753rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jh_has_option" >&5 14755$as_echo "$jh_has_option" >&6; } 14756 if test $jh_has_option = no; then 14757 CFLAGS="$save_CFLAGS" 14758 fi 14759 ;; 14760esac 14761 14762case " $CFLAGS " in 14763*[\ \ ]-fno-strict-aliasing[\ \ ]*) 14764 ;; 14765*) 14766 save_CFLAGS="$CFLAGS" 14767 CFLAGS="$CFLAGS -fno-strict-aliasing" 14768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -fno-strict-aliasing" >&5 14769$as_echo_n "checking whether $CC understands -fno-strict-aliasing... " >&6; } 14770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14771/* end confdefs.h. */ 14772 14773int 14774main () 14775{ 14776 14777 ; 14778 return 0; 14779} 14780_ACEOF 14781if ac_fn_c_try_compile "$LINENO"; then : 14782 jh_has_option=yes 14783else 14784 jh_has_option=no 14785fi 14786rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jh_has_option" >&5 14788$as_echo "$jh_has_option" >&6; } 14789 if test $jh_has_option = no; then 14790 CFLAGS="$save_CFLAGS" 14791 fi 14792 ;; 14793esac 14794 14795 case $host_os in 14796 solaris*) 14797 ;; 14798 *) 14799 14800case " $CFLAGS " in 14801*[\ \ ]-std=c9x[\ \ ]*) 14802 ;; 14803*) 14804 save_CFLAGS="$CFLAGS" 14805 CFLAGS="$CFLAGS -std=c9x" 14806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -std=c9x" >&5 14807$as_echo_n "checking whether $CC understands -std=c9x... " >&6; } 14808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14809/* end confdefs.h. */ 14810 14811int 14812main () 14813{ 14814 14815 ; 14816 return 0; 14817} 14818_ACEOF 14819if ac_fn_c_try_compile "$LINENO"; then : 14820 jh_has_option=yes 14821else 14822 jh_has_option=no 14823fi 14824rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jh_has_option" >&5 14826$as_echo "$jh_has_option" >&6; } 14827 if test $jh_has_option = no; then 14828 CFLAGS="$save_CFLAGS" 14829 fi 14830 ;; 14831esac 14832 ;; 14833 esac 14834fi 14835 14836 14837ac_config_files="$ac_config_files Makefile pylgtk-2.0.pc pylgtk-codegen-2.0 gtk/Makefile docs/Makefile docs/reference/entities.docbook examples/Makefile tests/Makefile pylgtk.spec PKG-INFO" 14838 14839cat >confcache <<\_ACEOF 14840# This file is a shell script that caches the results of configure 14841# tests run on this system so they can be shared between configure 14842# scripts and configure runs, see configure's option --config-cache. 14843# It is not useful on other systems. If it contains results you don't 14844# want to keep, you may remove or edit it. 14845# 14846# config.status only pays attention to the cache file if you give it 14847# the --recheck option to rerun configure. 14848# 14849# `ac_cv_env_foo' variables (set or unset) will be overridden when 14850# loading this file, other *unset* `ac_cv_foo' will be assigned the 14851# following values. 14852 14853_ACEOF 14854 14855# The following way of writing the cache mishandles newlines in values, 14856# but we know of no workaround that is simple, portable, and efficient. 14857# So, we kill variables containing newlines. 14858# Ultrix sh set writes to stderr and can't be redirected directly, 14859# and sets the high bit in the cache file unless we assign to the vars. 14860( 14861 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 14862 eval ac_val=\$$ac_var 14863 case $ac_val in #( 14864 *${as_nl}*) 14865 case $ac_var in #( 14866 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 14867$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 14868 esac 14869 case $ac_var in #( 14870 _ | IFS | as_nl) ;; #( 14871 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 14872 *) { eval $ac_var=; unset $ac_var;} ;; 14873 esac ;; 14874 esac 14875 done 14876 14877 (set) 2>&1 | 14878 case $as_nl`(ac_space=' '; set) 2>&1` in #( 14879 *${as_nl}ac_space=\ *) 14880 # `set' does not quote correctly, so add quotes: double-quote 14881 # substitution turns \\\\ into \\, and sed turns \\ into \. 14882 sed -n \ 14883 "s/'/'\\\\''/g; 14884 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 14885 ;; #( 14886 *) 14887 # `set' quotes correctly as required by POSIX, so do not add quotes. 14888 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 14889 ;; 14890 esac | 14891 sort 14892) | 14893 sed ' 14894 /^ac_cv_env_/b end 14895 t clear 14896 :clear 14897 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 14898 t end 14899 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 14900 :end' >>confcache 14901if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 14902 if test -w "$cache_file"; then 14903 test "x$cache_file" != "x/dev/null" && 14904 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 14905$as_echo "$as_me: updating cache $cache_file" >&6;} 14906 cat confcache >$cache_file 14907 else 14908 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 14909$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 14910 fi 14911fi 14912rm -f confcache 14913 14914test "x$prefix" = xNONE && prefix=$ac_default_prefix 14915# Let make expand exec_prefix. 14916test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 14917 14918DEFS=-DHAVE_CONFIG_H 14919 14920ac_libobjs= 14921ac_ltlibobjs= 14922U= 14923for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 14924 # 1. Remove the extension, and $U if already installed. 14925 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 14926 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 14927 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 14928 # will be set to the directory where LIBOBJS objects are built. 14929 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 14930 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 14931done 14932LIBOBJS=$ac_libobjs 14933 14934LTLIBOBJS=$ac_ltlibobjs 14935 14936 14937 if test -n "$EXEEXT"; then 14938 am__EXEEXT_TRUE= 14939 am__EXEEXT_FALSE='#' 14940else 14941 am__EXEEXT_TRUE='#' 14942 am__EXEEXT_FALSE= 14943fi 14944 14945if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 14946 as_fn_error $? "conditional \"AMDEP\" was never defined. 14947Usually this means the macro was only invoked conditionally." "$LINENO" 5 14948fi 14949if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 14950 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 14951Usually this means the macro was only invoked conditionally." "$LINENO" 5 14952fi 14953if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then 14954 as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined. 14955Usually this means the macro was only invoked conditionally." "$LINENO" 5 14956fi 14957if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then 14958 as_fn_error $? "conditional \"OS_WIN32\" was never defined. 14959Usually this means the macro was only invoked conditionally." "$LINENO" 5 14960fi 14961if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then 14962 as_fn_error $? "conditional \"ENABLE_DOCS\" was never defined. 14963Usually this means the macro was only invoked conditionally." "$LINENO" 5 14964fi 14965if test -z "${HAVE_GIO_TYPES_DEFS_TRUE}" && test -z "${HAVE_GIO_TYPES_DEFS_FALSE}"; then 14966 as_fn_error $? "conditional \"HAVE_GIO_TYPES_DEFS\" was never defined. 14967Usually this means the macro was only invoked conditionally." "$LINENO" 5 14968fi 14969if test -z "${HAVE_GIO_TYPES_DEFS_TRUE}" && test -z "${HAVE_GIO_TYPES_DEFS_FALSE}"; then 14970 as_fn_error $? "conditional \"HAVE_GIO_TYPES_DEFS\" was never defined. 14971Usually this means the macro was only invoked conditionally." "$LINENO" 5 14972fi 14973if test -z "${BUILD_ATK_TRUE}" && test -z "${BUILD_ATK_FALSE}"; then 14974 as_fn_error $? "conditional \"BUILD_ATK\" was never defined. 14975Usually this means the macro was only invoked conditionally." "$LINENO" 5 14976fi 14977if test -z "${BUILD_PANGO_TRUE}" && test -z "${BUILD_PANGO_FALSE}"; then 14978 as_fn_error $? "conditional \"BUILD_PANGO\" was never defined. 14979Usually this means the macro was only invoked conditionally." "$LINENO" 5 14980fi 14981if test -z "${BUILD_PANGOCAIRO_TRUE}" && test -z "${BUILD_PANGOCAIRO_FALSE}"; then 14982 as_fn_error $? "conditional \"BUILD_PANGOCAIRO\" was never defined. 14983Usually this means the macro was only invoked conditionally." "$LINENO" 5 14984fi 14985if test -z "${BUILD_GTK_TRUE}" && test -z "${BUILD_GTK_FALSE}"; then 14986 as_fn_error $? "conditional \"BUILD_GTK\" was never defined. 14987Usually this means the macro was only invoked conditionally." "$LINENO" 5 14988fi 14989if test -z "${HAVE_GTK_2_10_TRUE}" && test -z "${HAVE_GTK_2_10_FALSE}"; then 14990 as_fn_error $? "conditional \"HAVE_GTK_2_10\" was never defined. 14991Usually this means the macro was only invoked conditionally." "$LINENO" 5 14992fi 14993if test -z "${HAVE_GTK_2_12_TRUE}" && test -z "${HAVE_GTK_2_12_FALSE}"; then 14994 as_fn_error $? "conditional \"HAVE_GTK_2_12\" was never defined. 14995Usually this means the macro was only invoked conditionally." "$LINENO" 5 14996fi 14997if test -z "${HAVE_GTK_2_14_TRUE}" && test -z "${HAVE_GTK_2_14_FALSE}"; then 14998 as_fn_error $? "conditional \"HAVE_GTK_2_14\" was never defined. 14999Usually this means the macro was only invoked conditionally." "$LINENO" 5 15000fi 15001if test -z "${HAVE_GTK_2_16_TRUE}" && test -z "${HAVE_GTK_2_16_FALSE}"; then 15002 as_fn_error $? "conditional \"HAVE_GTK_2_16\" was never defined. 15003Usually this means the macro was only invoked conditionally." "$LINENO" 5 15004fi 15005if test -z "${HAVE_GTK_2_18_TRUE}" && test -z "${HAVE_GTK_2_18_FALSE}"; then 15006 as_fn_error $? "conditional \"HAVE_GTK_2_18\" was never defined. 15007Usually this means the macro was only invoked conditionally." "$LINENO" 5 15008fi 15009if test -z "${HAVE_GTK_2_20_TRUE}" && test -z "${HAVE_GTK_2_20_FALSE}"; then 15010 as_fn_error $? "conditional \"HAVE_GTK_2_20\" was never defined. 15011Usually this means the macro was only invoked conditionally." "$LINENO" 5 15012fi 15013if test -z "${HAVE_GTK_2_22_TRUE}" && test -z "${HAVE_GTK_2_22_FALSE}"; then 15014 as_fn_error $? "conditional \"HAVE_GTK_2_22\" was never defined. 15015Usually this means the macro was only invoked conditionally." "$LINENO" 5 15016fi 15017if test -z "${HAVE_GTK_2_24_TRUE}" && test -z "${HAVE_GTK_2_24_FALSE}"; then 15018 as_fn_error $? "conditional \"HAVE_GTK_2_24\" was never defined. 15019Usually this means the macro was only invoked conditionally." "$LINENO" 5 15020fi 15021if test -z "${BUILD_LIBGLADE_TRUE}" && test -z "${BUILD_LIBGLADE_FALSE}"; then 15022 as_fn_error $? "conditional \"BUILD_LIBGLADE\" was never defined. 15023Usually this means the macro was only invoked conditionally." "$LINENO" 5 15024fi 15025if test -z "${BUILD_GTKUNIXPRINT_TRUE}" && test -z "${BUILD_GTKUNIXPRINT_FALSE}"; then 15026 as_fn_error $? "conditional \"BUILD_GTKUNIXPRINT\" was never defined. 15027Usually this means the macro was only invoked conditionally." "$LINENO" 5 15028fi 15029if test -z "${BUILD_PANGOCAIRO_TRUE}" && test -z "${BUILD_PANGOCAIRO_FALSE}"; then 15030 as_fn_error $? "conditional \"BUILD_PANGOCAIRO\" was never defined. 15031Usually this means the macro was only invoked conditionally." "$LINENO" 5 15032fi 15033if test -z "${BUILD_GTK_TRUE}" && test -z "${BUILD_GTK_FALSE}"; then 15034 as_fn_error $? "conditional \"BUILD_GTK\" was never defined. 15035Usually this means the macro was only invoked conditionally." "$LINENO" 5 15036fi 15037if test -z "${HAVE_GTK_2_10_TRUE}" && test -z "${HAVE_GTK_2_10_FALSE}"; then 15038 as_fn_error $? "conditional \"HAVE_GTK_2_10\" was never defined. 15039Usually this means the macro was only invoked conditionally." "$LINENO" 5 15040fi 15041if test -z "${HAVE_GTK_2_12_TRUE}" && test -z "${HAVE_GTK_2_12_FALSE}"; then 15042 as_fn_error $? "conditional \"HAVE_GTK_2_12\" was never defined. 15043Usually this means the macro was only invoked conditionally." "$LINENO" 5 15044fi 15045if test -z "${HAVE_GTK_2_14_TRUE}" && test -z "${HAVE_GTK_2_14_FALSE}"; then 15046 as_fn_error $? "conditional \"HAVE_GTK_2_14\" was never defined. 15047Usually this means the macro was only invoked conditionally." "$LINENO" 5 15048fi 15049if test -z "${HAVE_GTK_2_16_TRUE}" && test -z "${HAVE_GTK_2_16_FALSE}"; then 15050 as_fn_error $? "conditional \"HAVE_GTK_2_16\" was never defined. 15051Usually this means the macro was only invoked conditionally." "$LINENO" 5 15052fi 15053if test -z "${HAVE_GTK_2_18_TRUE}" && test -z "${HAVE_GTK_2_18_FALSE}"; then 15054 as_fn_error $? "conditional \"HAVE_GTK_2_18\" was never defined. 15055Usually this means the macro was only invoked conditionally." "$LINENO" 5 15056fi 15057if test -z "${HAVE_GTK_2_20_TRUE}" && test -z "${HAVE_GTK_2_20_FALSE}"; then 15058 as_fn_error $? "conditional \"HAVE_GTK_2_20\" was never defined. 15059Usually this means the macro was only invoked conditionally." "$LINENO" 5 15060fi 15061if test -z "${HAVE_GTK_2_22_TRUE}" && test -z "${HAVE_GTK_2_22_FALSE}"; then 15062 as_fn_error $? "conditional \"HAVE_GTK_2_22\" was never defined. 15063Usually this means the macro was only invoked conditionally." "$LINENO" 5 15064fi 15065if test -z "${HAVE_GTK_2_24_TRUE}" && test -z "${HAVE_GTK_2_24_FALSE}"; then 15066 as_fn_error $? "conditional \"HAVE_GTK_2_24\" was never defined. 15067Usually this means the macro was only invoked conditionally." "$LINENO" 5 15068fi 15069if test -z "${BUILD_LIBGLADE_TRUE}" && test -z "${BUILD_LIBGLADE_FALSE}"; then 15070 as_fn_error $? "conditional \"BUILD_LIBGLADE\" was never defined. 15071Usually this means the macro was only invoked conditionally." "$LINENO" 5 15072fi 15073if test -z "${BUILD_GTKUNIXPRINT_TRUE}" && test -z "${BUILD_GTKUNIXPRINT_FALSE}"; then 15074 as_fn_error $? "conditional \"BUILD_GTKUNIXPRINT\" was never defined. 15075Usually this means the macro was only invoked conditionally." "$LINENO" 5 15076fi 15077 15078: ${CONFIG_STATUS=./config.status} 15079ac_write_fail=0 15080ac_clean_files_save=$ac_clean_files 15081ac_clean_files="$ac_clean_files $CONFIG_STATUS" 15082{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 15083$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 15084as_write_fail=0 15085cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 15086#! $SHELL 15087# Generated by $as_me. 15088# Run this file to recreate the current configuration. 15089# Compiler output produced by configure, useful for debugging 15090# configure, is in config.log if it exists. 15091 15092debug=false 15093ac_cs_recheck=false 15094ac_cs_silent=false 15095 15096SHELL=\${CONFIG_SHELL-$SHELL} 15097export SHELL 15098_ASEOF 15099cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 15100## -------------------- ## 15101## M4sh Initialization. ## 15102## -------------------- ## 15103 15104# Be more Bourne compatible 15105DUALCASE=1; export DUALCASE # for MKS sh 15106if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 15107 emulate sh 15108 NULLCMD=: 15109 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 15110 # is contrary to our usage. Disable this feature. 15111 alias -g '${1+"$@"}'='"$@"' 15112 setopt NO_GLOB_SUBST 15113else 15114 case `(set -o) 2>/dev/null` in #( 15115 *posix*) : 15116 set -o posix ;; #( 15117 *) : 15118 ;; 15119esac 15120fi 15121 15122 15123as_nl=' 15124' 15125export as_nl 15126# Printing a long string crashes Solaris 7 /usr/bin/printf. 15127as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 15128as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 15129as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 15130# Prefer a ksh shell builtin over an external printf program on Solaris, 15131# but without wasting forks for bash or zsh. 15132if test -z "$BASH_VERSION$ZSH_VERSION" \ 15133 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 15134 as_echo='print -r --' 15135 as_echo_n='print -rn --' 15136elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 15137 as_echo='printf %s\n' 15138 as_echo_n='printf %s' 15139else 15140 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 15141 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 15142 as_echo_n='/usr/ucb/echo -n' 15143 else 15144 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 15145 as_echo_n_body='eval 15146 arg=$1; 15147 case $arg in #( 15148 *"$as_nl"*) 15149 expr "X$arg" : "X\\(.*\\)$as_nl"; 15150 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 15151 esac; 15152 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 15153 ' 15154 export as_echo_n_body 15155 as_echo_n='sh -c $as_echo_n_body as_echo' 15156 fi 15157 export as_echo_body 15158 as_echo='sh -c $as_echo_body as_echo' 15159fi 15160 15161# The user is always right. 15162if test "${PATH_SEPARATOR+set}" != set; then 15163 PATH_SEPARATOR=: 15164 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 15165 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 15166 PATH_SEPARATOR=';' 15167 } 15168fi 15169 15170 15171# IFS 15172# We need space, tab and new line, in precisely that order. Quoting is 15173# there to prevent editors from complaining about space-tab. 15174# (If _AS_PATH_WALK were called with IFS unset, it would disable word 15175# splitting by setting IFS to empty value.) 15176IFS=" "" $as_nl" 15177 15178# Find who we are. Look in the path if we contain no directory separator. 15179case $0 in #(( 15180 *[\\/]* ) as_myself=$0 ;; 15181 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15182for as_dir in $PATH 15183do 15184 IFS=$as_save_IFS 15185 test -z "$as_dir" && as_dir=. 15186 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 15187 done 15188IFS=$as_save_IFS 15189 15190 ;; 15191esac 15192# We did not find ourselves, most probably we were run as `sh COMMAND' 15193# in which case we are not to be found in the path. 15194if test "x$as_myself" = x; then 15195 as_myself=$0 15196fi 15197if test ! -f "$as_myself"; then 15198 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 15199 exit 1 15200fi 15201 15202# Unset variables that we do not need and which cause bugs (e.g. in 15203# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 15204# suppresses any "Segmentation fault" message there. '((' could 15205# trigger a bug in pdksh 5.2.14. 15206for as_var in BASH_ENV ENV MAIL MAILPATH 15207do eval test x\${$as_var+set} = xset \ 15208 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 15209done 15210PS1='$ ' 15211PS2='> ' 15212PS4='+ ' 15213 15214# NLS nuisances. 15215LC_ALL=C 15216export LC_ALL 15217LANGUAGE=C 15218export LANGUAGE 15219 15220# CDPATH. 15221(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 15222 15223 15224# as_fn_error STATUS ERROR [LINENO LOG_FD] 15225# ---------------------------------------- 15226# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 15227# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 15228# script with STATUS, using 1 if that was 0. 15229as_fn_error () 15230{ 15231 as_status=$1; test $as_status -eq 0 && as_status=1 15232 if test "$4"; then 15233 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15234 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 15235 fi 15236 $as_echo "$as_me: error: $2" >&2 15237 as_fn_exit $as_status 15238} # as_fn_error 15239 15240 15241# as_fn_set_status STATUS 15242# ----------------------- 15243# Set $? to STATUS, without forking. 15244as_fn_set_status () 15245{ 15246 return $1 15247} # as_fn_set_status 15248 15249# as_fn_exit STATUS 15250# ----------------- 15251# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 15252as_fn_exit () 15253{ 15254 set +e 15255 as_fn_set_status $1 15256 exit $1 15257} # as_fn_exit 15258 15259# as_fn_unset VAR 15260# --------------- 15261# Portably unset VAR. 15262as_fn_unset () 15263{ 15264 { eval $1=; unset $1;} 15265} 15266as_unset=as_fn_unset 15267# as_fn_append VAR VALUE 15268# ---------------------- 15269# Append the text in VALUE to the end of the definition contained in VAR. Take 15270# advantage of any shell optimizations that allow amortized linear growth over 15271# repeated appends, instead of the typical quadratic growth present in naive 15272# implementations. 15273if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 15274 eval 'as_fn_append () 15275 { 15276 eval $1+=\$2 15277 }' 15278else 15279 as_fn_append () 15280 { 15281 eval $1=\$$1\$2 15282 } 15283fi # as_fn_append 15284 15285# as_fn_arith ARG... 15286# ------------------ 15287# Perform arithmetic evaluation on the ARGs, and store the result in the 15288# global $as_val. Take advantage of shells that can avoid forks. The arguments 15289# must be portable across $(()) and expr. 15290if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 15291 eval 'as_fn_arith () 15292 { 15293 as_val=$(( $* )) 15294 }' 15295else 15296 as_fn_arith () 15297 { 15298 as_val=`expr "$@" || test $? -eq 1` 15299 } 15300fi # as_fn_arith 15301 15302 15303if expr a : '\(a\)' >/dev/null 2>&1 && 15304 test "X`expr 00001 : '.*\(...\)'`" = X001; then 15305 as_expr=expr 15306else 15307 as_expr=false 15308fi 15309 15310if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 15311 as_basename=basename 15312else 15313 as_basename=false 15314fi 15315 15316if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 15317 as_dirname=dirname 15318else 15319 as_dirname=false 15320fi 15321 15322as_me=`$as_basename -- "$0" || 15323$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 15324 X"$0" : 'X\(//\)$' \| \ 15325 X"$0" : 'X\(/\)' \| . 2>/dev/null || 15326$as_echo X/"$0" | 15327 sed '/^.*\/\([^/][^/]*\)\/*$/{ 15328 s//\1/ 15329 q 15330 } 15331 /^X\/\(\/\/\)$/{ 15332 s//\1/ 15333 q 15334 } 15335 /^X\/\(\/\).*/{ 15336 s//\1/ 15337 q 15338 } 15339 s/.*/./; q'` 15340 15341# Avoid depending upon Character Ranges. 15342as_cr_letters='abcdefghijklmnopqrstuvwxyz' 15343as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 15344as_cr_Letters=$as_cr_letters$as_cr_LETTERS 15345as_cr_digits='0123456789' 15346as_cr_alnum=$as_cr_Letters$as_cr_digits 15347 15348ECHO_C= ECHO_N= ECHO_T= 15349case `echo -n x` in #((((( 15350-n*) 15351 case `echo 'xy\c'` in 15352 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 15353 xy) ECHO_C='\c';; 15354 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 15355 ECHO_T=' ';; 15356 esac;; 15357*) 15358 ECHO_N='-n';; 15359esac 15360 15361rm -f conf$$ conf$$.exe conf$$.file 15362if test -d conf$$.dir; then 15363 rm -f conf$$.dir/conf$$.file 15364else 15365 rm -f conf$$.dir 15366 mkdir conf$$.dir 2>/dev/null 15367fi 15368if (echo >conf$$.file) 2>/dev/null; then 15369 if ln -s conf$$.file conf$$ 2>/dev/null; then 15370 as_ln_s='ln -s' 15371 # ... but there are two gotchas: 15372 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 15373 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 15374 # In both cases, we have to default to `cp -p'. 15375 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 15376 as_ln_s='cp -p' 15377 elif ln conf$$.file conf$$ 2>/dev/null; then 15378 as_ln_s=ln 15379 else 15380 as_ln_s='cp -p' 15381 fi 15382else 15383 as_ln_s='cp -p' 15384fi 15385rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 15386rmdir conf$$.dir 2>/dev/null 15387 15388 15389# as_fn_mkdir_p 15390# ------------- 15391# Create "$as_dir" as a directory, including parents if necessary. 15392as_fn_mkdir_p () 15393{ 15394 15395 case $as_dir in #( 15396 -*) as_dir=./$as_dir;; 15397 esac 15398 test -d "$as_dir" || eval $as_mkdir_p || { 15399 as_dirs= 15400 while :; do 15401 case $as_dir in #( 15402 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 15403 *) as_qdir=$as_dir;; 15404 esac 15405 as_dirs="'$as_qdir' $as_dirs" 15406 as_dir=`$as_dirname -- "$as_dir" || 15407$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15408 X"$as_dir" : 'X\(//\)[^/]' \| \ 15409 X"$as_dir" : 'X\(//\)$' \| \ 15410 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 15411$as_echo X"$as_dir" | 15412 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15413 s//\1/ 15414 q 15415 } 15416 /^X\(\/\/\)[^/].*/{ 15417 s//\1/ 15418 q 15419 } 15420 /^X\(\/\/\)$/{ 15421 s//\1/ 15422 q 15423 } 15424 /^X\(\/\).*/{ 15425 s//\1/ 15426 q 15427 } 15428 s/.*/./; q'` 15429 test -d "$as_dir" && break 15430 done 15431 test -z "$as_dirs" || eval "mkdir $as_dirs" 15432 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 15433 15434 15435} # as_fn_mkdir_p 15436if mkdir -p . 2>/dev/null; then 15437 as_mkdir_p='mkdir -p "$as_dir"' 15438else 15439 test -d ./-p && rmdir ./-p 15440 as_mkdir_p=false 15441fi 15442 15443if test -x / >/dev/null 2>&1; then 15444 as_test_x='test -x' 15445else 15446 if ls -dL / >/dev/null 2>&1; then 15447 as_ls_L_option=L 15448 else 15449 as_ls_L_option= 15450 fi 15451 as_test_x=' 15452 eval sh -c '\'' 15453 if test -d "$1"; then 15454 test -d "$1/."; 15455 else 15456 case $1 in #( 15457 -*)set "./$1";; 15458 esac; 15459 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 15460 ???[sx]*):;;*)false;;esac;fi 15461 '\'' sh 15462 ' 15463fi 15464as_executable_p=$as_test_x 15465 15466# Sed expression to map a string onto a valid CPP name. 15467as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 15468 15469# Sed expression to map a string onto a valid variable name. 15470as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 15471 15472 15473exec 6>&1 15474## ----------------------------------- ## 15475## Main body of $CONFIG_STATUS script. ## 15476## ----------------------------------- ## 15477_ASEOF 15478test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 15479 15480cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15481# Save the log message, to keep $0 and so on meaningful, and to 15482# report actual input values of CONFIG_FILES etc. instead of their 15483# values after options handling. 15484ac_log=" 15485This file was extended by pylgtk $as_me 2.24.0, which was 15486generated by GNU Autoconf 2.67. Invocation command line was 15487 15488 CONFIG_FILES = $CONFIG_FILES 15489 CONFIG_HEADERS = $CONFIG_HEADERS 15490 CONFIG_LINKS = $CONFIG_LINKS 15491 CONFIG_COMMANDS = $CONFIG_COMMANDS 15492 $ $0 $@ 15493 15494on `(hostname || uname -n) 2>/dev/null | sed 1q` 15495" 15496 15497_ACEOF 15498 15499case $ac_config_files in *" 15500"*) set x $ac_config_files; shift; ac_config_files=$*;; 15501esac 15502 15503case $ac_config_headers in *" 15504"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 15505esac 15506 15507 15508cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15509# Files that config.status was made for. 15510config_files="$ac_config_files" 15511config_headers="$ac_config_headers" 15512config_commands="$ac_config_commands" 15513 15514_ACEOF 15515 15516cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15517ac_cs_usage="\ 15518\`$as_me' instantiates files and other configuration actions 15519from templates according to the current configuration. Unless the files 15520and actions are specified as TAGs, all are instantiated by default. 15521 15522Usage: $0 [OPTION]... [TAG]... 15523 15524 -h, --help print this help, then exit 15525 -V, --version print version number and configuration settings, then exit 15526 --config print configuration, then exit 15527 -q, --quiet, --silent 15528 do not print progress messages 15529 -d, --debug don't remove temporary files 15530 --recheck update $as_me by reconfiguring in the same conditions 15531 --file=FILE[:TEMPLATE] 15532 instantiate the configuration file FILE 15533 --header=FILE[:TEMPLATE] 15534 instantiate the configuration header FILE 15535 15536Configuration files: 15537$config_files 15538 15539Configuration headers: 15540$config_headers 15541 15542Configuration commands: 15543$config_commands 15544 15545Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=pylgtk>." 15546 15547_ACEOF 15548cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15549ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 15550ac_cs_version="\\ 15551pylgtk config.status 2.24.0 15552configured by $0, generated by GNU Autoconf 2.67, 15553 with options \\"\$ac_cs_config\\" 15554 15555Copyright (C) 2010 Free Software Foundation, Inc. 15556This config.status script is free software; the Free Software Foundation 15557gives unlimited permission to copy, distribute and modify it." 15558 15559ac_pwd='$ac_pwd' 15560srcdir='$srcdir' 15561INSTALL='$INSTALL' 15562MKDIR_P='$MKDIR_P' 15563AWK='$AWK' 15564test -n "\$AWK" || AWK=awk 15565_ACEOF 15566 15567cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15568# The default lists apply if the user does not specify any file. 15569ac_need_defaults=: 15570while test $# != 0 15571do 15572 case $1 in 15573 --*=?*) 15574 ac_option=`expr "X$1" : 'X\([^=]*\)='` 15575 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 15576 ac_shift=: 15577 ;; 15578 --*=) 15579 ac_option=`expr "X$1" : 'X\([^=]*\)='` 15580 ac_optarg= 15581 ac_shift=: 15582 ;; 15583 *) 15584 ac_option=$1 15585 ac_optarg=$2 15586 ac_shift=shift 15587 ;; 15588 esac 15589 15590 case $ac_option in 15591 # Handling of the options. 15592 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 15593 ac_cs_recheck=: ;; 15594 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 15595 $as_echo "$ac_cs_version"; exit ;; 15596 --config | --confi | --conf | --con | --co | --c ) 15597 $as_echo "$ac_cs_config"; exit ;; 15598 --debug | --debu | --deb | --de | --d | -d ) 15599 debug=: ;; 15600 --file | --fil | --fi | --f ) 15601 $ac_shift 15602 case $ac_optarg in 15603 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 15604 '') as_fn_error $? "missing file argument" ;; 15605 esac 15606 as_fn_append CONFIG_FILES " '$ac_optarg'" 15607 ac_need_defaults=false;; 15608 --header | --heade | --head | --hea ) 15609 $ac_shift 15610 case $ac_optarg in 15611 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 15612 esac 15613 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 15614 ac_need_defaults=false;; 15615 --he | --h) 15616 # Conflict between --help and --header 15617 as_fn_error $? "ambiguous option: \`$1' 15618Try \`$0 --help' for more information.";; 15619 --help | --hel | -h ) 15620 $as_echo "$ac_cs_usage"; exit ;; 15621 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 15622 | -silent | --silent | --silen | --sile | --sil | --si | --s) 15623 ac_cs_silent=: ;; 15624 15625 # This is an error. 15626 -*) as_fn_error $? "unrecognized option: \`$1' 15627Try \`$0 --help' for more information." ;; 15628 15629 *) as_fn_append ac_config_targets " $1" 15630 ac_need_defaults=false ;; 15631 15632 esac 15633 shift 15634done 15635 15636ac_configure_extra_args= 15637 15638if $ac_cs_silent; then 15639 exec 6>/dev/null 15640 ac_configure_extra_args="$ac_configure_extra_args --silent" 15641fi 15642 15643_ACEOF 15644cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15645if \$ac_cs_recheck; then 15646 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 15647 shift 15648 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 15649 CONFIG_SHELL='$SHELL' 15650 export CONFIG_SHELL 15651 exec "\$@" 15652fi 15653 15654_ACEOF 15655cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15656exec 5>>config.log 15657{ 15658 echo 15659 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 15660## Running $as_me. ## 15661_ASBOX 15662 $as_echo "$ac_log" 15663} >&5 15664 15665_ACEOF 15666cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15667# 15668# INIT-COMMANDS 15669# 15670AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 15671 15672 15673# The HP-UX ksh and POSIX shell print the target directory to stdout 15674# if CDPATH is set. 15675(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 15676 15677sed_quote_subst='$sed_quote_subst' 15678double_quote_subst='$double_quote_subst' 15679delay_variable_subst='$delay_variable_subst' 15680enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' 15681AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`' 15682DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`' 15683OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' 15684macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' 15685macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' 15686enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' 15687pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' 15688enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' 15689host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' 15690host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' 15691host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' 15692build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' 15693build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' 15694build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' 15695SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' 15696Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' 15697GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' 15698EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' 15699FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' 15700LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' 15701NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' 15702LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' 15703max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' 15704ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' 15705exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' 15706lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' 15707lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' 15708lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' 15709reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' 15710reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' 15711deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' 15712file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' 15713AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' 15714AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' 15715STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' 15716RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' 15717old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 15718old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 15719old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 15720CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' 15721CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' 15722compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' 15723GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' 15724lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' 15725lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' 15726lt_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"`' 15727lt_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"`' 15728objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' 15729SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' 15730ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' 15731MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' 15732lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' 15733lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' 15734lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' 15735lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' 15736lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' 15737need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' 15738DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' 15739NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' 15740LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' 15741OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' 15742OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' 15743libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' 15744shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' 15745extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 15746archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' 15747enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' 15748export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 15749whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 15750compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' 15751old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' 15752old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 15753archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 15754archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 15755module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' 15756module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 15757with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' 15758allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 15759no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 15760hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 15761hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' 15762hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' 15763hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' 15764hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' 15765hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' 15766hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 15767hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' 15768inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' 15769link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' 15770fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' 15771always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' 15772export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' 15773exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 15774include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 15775prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' 15776file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' 15777variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' 15778need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' 15779need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' 15780version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' 15781runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' 15782shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 15783shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' 15784libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' 15785library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' 15786soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' 15787postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 15788postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 15789finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' 15790finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' 15791hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' 15792sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 15793sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 15794hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' 15795enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' 15796enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' 15797enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' 15798old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' 15799striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' 15800 15801LTCC='$LTCC' 15802LTCFLAGS='$LTCFLAGS' 15803compiler='$compiler_DEFAULT' 15804 15805# Quote evaled strings. 15806for var in SED \ 15807GREP \ 15808EGREP \ 15809FGREP \ 15810LD \ 15811NM \ 15812LN_S \ 15813lt_SP2NL \ 15814lt_NL2SP \ 15815reload_flag \ 15816deplibs_check_method \ 15817file_magic_cmd \ 15818AR \ 15819AR_FLAGS \ 15820STRIP \ 15821RANLIB \ 15822CC \ 15823CFLAGS \ 15824compiler \ 15825lt_cv_sys_global_symbol_pipe \ 15826lt_cv_sys_global_symbol_to_cdecl \ 15827lt_cv_sys_global_symbol_to_c_name_address \ 15828lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 15829SHELL \ 15830ECHO \ 15831lt_prog_compiler_no_builtin_flag \ 15832lt_prog_compiler_wl \ 15833lt_prog_compiler_pic \ 15834lt_prog_compiler_static \ 15835lt_cv_prog_compiler_c_o \ 15836need_locks \ 15837DSYMUTIL \ 15838NMEDIT \ 15839LIPO \ 15840OTOOL \ 15841OTOOL64 \ 15842shrext_cmds \ 15843export_dynamic_flag_spec \ 15844whole_archive_flag_spec \ 15845compiler_needs_object \ 15846with_gnu_ld \ 15847allow_undefined_flag \ 15848no_undefined_flag \ 15849hardcode_libdir_flag_spec \ 15850hardcode_libdir_flag_spec_ld \ 15851hardcode_libdir_separator \ 15852fix_srcfile_path \ 15853exclude_expsyms \ 15854include_expsyms \ 15855file_list_spec \ 15856variables_saved_for_relink \ 15857libname_spec \ 15858library_names_spec \ 15859soname_spec \ 15860finish_eval \ 15861old_striplib \ 15862striplib; do 15863 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 15864 *[\\\\\\\`\\"\\\$]*) 15865 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 15866 ;; 15867 *) 15868 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 15869 ;; 15870 esac 15871done 15872 15873# Double-quote double-evaled strings. 15874for var in reload_cmds \ 15875old_postinstall_cmds \ 15876old_postuninstall_cmds \ 15877old_archive_cmds \ 15878extract_expsyms_cmds \ 15879old_archive_from_new_cmds \ 15880old_archive_from_expsyms_cmds \ 15881archive_cmds \ 15882archive_expsym_cmds \ 15883module_cmds \ 15884module_expsym_cmds \ 15885export_symbols_cmds \ 15886prelink_cmds \ 15887postinstall_cmds \ 15888postuninstall_cmds \ 15889finish_cmds \ 15890sys_lib_search_path_spec \ 15891sys_lib_dlsearch_path_spec; do 15892 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 15893 *[\\\\\\\`\\"\\\$]*) 15894 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 15895 ;; 15896 *) 15897 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 15898 ;; 15899 esac 15900done 15901 15902# Fix-up fallback echo if it was mangled by the above quoting rules. 15903case \$lt_ECHO in 15904*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` 15905 ;; 15906esac 15907 15908ac_aux_dir='$ac_aux_dir' 15909xsi_shell='$xsi_shell' 15910lt_shell_append='$lt_shell_append' 15911 15912# See if we are running on zsh, and set the options which allow our 15913# commands through without removal of \ escapes INIT. 15914if test -n "\${ZSH_VERSION+set}" ; then 15915 setopt NO_GLOB_SUBST 15916fi 15917 15918 15919 PACKAGE='$PACKAGE' 15920 VERSION='$VERSION' 15921 TIMESTAMP='$TIMESTAMP' 15922 RM='$RM' 15923 ofile='$ofile' 15924 15925ac_aux_dir='$ac_aux_dir' 15926 15927 15928 15929_ACEOF 15930 15931cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15932 15933# Handling of arguments. 15934for ac_config_target in $ac_config_targets 15935do 15936 case $ac_config_target in 15937 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 15938 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 15939 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 15940 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 15941 "pylgtk-2.0.pc") CONFIG_FILES="$CONFIG_FILES pylgtk-2.0.pc" ;; 15942 "pylgtk-codegen-2.0") CONFIG_FILES="$CONFIG_FILES pylgtk-codegen-2.0" ;; 15943 "gtk/Makefile") CONFIG_FILES="$CONFIG_FILES gtk/Makefile" ;; 15944 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; 15945 "docs/reference/entities.docbook") CONFIG_FILES="$CONFIG_FILES docs/reference/entities.docbook" ;; 15946 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; 15947 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 15948 "pylgtk.spec") CONFIG_FILES="$CONFIG_FILES pylgtk.spec" ;; 15949 "PKG-INFO") CONFIG_FILES="$CONFIG_FILES PKG-INFO" ;; 15950 15951 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 15952 esac 15953done 15954 15955 15956# If the user did not use the arguments to specify the items to instantiate, 15957# then the envvar interface is used. Set only those that are not. 15958# We use the long form for the default assignment because of an extremely 15959# bizarre bug on SunOS 4.1.3. 15960if $ac_need_defaults; then 15961 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 15962 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 15963 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 15964fi 15965 15966# Have a temporary directory for convenience. Make it in the build tree 15967# simply because there is no reason against having it here, and in addition, 15968# creating and moving files from /tmp can sometimes cause problems. 15969# Hook for its removal unless debugging. 15970# Note that there is a small window in which the directory will not be cleaned: 15971# after its creation but before its name has been assigned to `$tmp'. 15972$debug || 15973{ 15974 tmp= 15975 trap 'exit_status=$? 15976 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 15977' 0 15978 trap 'as_fn_exit 1' 1 2 13 15 15979} 15980# Create a (secure) tmp directory for tmp files. 15981 15982{ 15983 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 15984 test -n "$tmp" && test -d "$tmp" 15985} || 15986{ 15987 tmp=./conf$$-$RANDOM 15988 (umask 077 && mkdir "$tmp") 15989} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 15990 15991# Set up the scripts for CONFIG_FILES section. 15992# No need to generate them if there are no CONFIG_FILES. 15993# This happens for instance with `./config.status config.h'. 15994if test -n "$CONFIG_FILES"; then 15995 15996 15997ac_cr=`echo X | tr X '\015'` 15998# On cygwin, bash can eat \r inside `` if the user requested igncr. 15999# But we know of no other shell where ac_cr would be empty at this 16000# point, so we can use a bashism as a fallback. 16001if test "x$ac_cr" = x; then 16002 eval ac_cr=\$\'\\r\' 16003fi 16004ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 16005if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 16006 ac_cs_awk_cr='\\r' 16007else 16008 ac_cs_awk_cr=$ac_cr 16009fi 16010 16011echo 'BEGIN {' >"$tmp/subs1.awk" && 16012_ACEOF 16013 16014 16015{ 16016 echo "cat >conf$$subs.awk <<_ACEOF" && 16017 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 16018 echo "_ACEOF" 16019} >conf$$subs.sh || 16020 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 16021ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 16022ac_delim='%!_!# ' 16023for ac_last_try in false false false false false :; do 16024 . ./conf$$subs.sh || 16025 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 16026 16027 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 16028 if test $ac_delim_n = $ac_delim_num; then 16029 break 16030 elif $ac_last_try; then 16031 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 16032 else 16033 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 16034 fi 16035done 16036rm -f conf$$subs.sh 16037 16038cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16039cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 16040_ACEOF 16041sed -n ' 16042h 16043s/^/S["/; s/!.*/"]=/ 16044p 16045g 16046s/^[^!]*!// 16047:repl 16048t repl 16049s/'"$ac_delim"'$// 16050t delim 16051:nl 16052h 16053s/\(.\{148\}\)..*/\1/ 16054t more1 16055s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 16056p 16057n 16058b repl 16059:more1 16060s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 16061p 16062g 16063s/.\{148\}// 16064t nl 16065:delim 16066h 16067s/\(.\{148\}\)..*/\1/ 16068t more2 16069s/["\\]/\\&/g; s/^/"/; s/$/"/ 16070p 16071b 16072:more2 16073s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 16074p 16075g 16076s/.\{148\}// 16077t delim 16078' <conf$$subs.awk | sed ' 16079/^[^""]/{ 16080 N 16081 s/\n// 16082} 16083' >>$CONFIG_STATUS || ac_write_fail=1 16084rm -f conf$$subs.awk 16085cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16086_ACAWK 16087cat >>"\$tmp/subs1.awk" <<_ACAWK && 16088 for (key in S) S_is_set[key] = 1 16089 FS = "" 16090 16091} 16092{ 16093 line = $ 0 16094 nfields = split(line, field, "@") 16095 substed = 0 16096 len = length(field[1]) 16097 for (i = 2; i < nfields; i++) { 16098 key = field[i] 16099 keylen = length(key) 16100 if (S_is_set[key]) { 16101 value = S[key] 16102 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 16103 len += length(value) + length(field[++i]) 16104 substed = 1 16105 } else 16106 len += 1 + keylen 16107 } 16108 16109 print line 16110} 16111 16112_ACAWK 16113_ACEOF 16114cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16115if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 16116 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 16117else 16118 cat 16119fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 16120 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 16121_ACEOF 16122 16123# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 16124# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 16125# trailing colons and then remove the whole line if VPATH becomes empty 16126# (actually we leave an empty line to preserve line numbers). 16127if test "x$srcdir" = x.; then 16128 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 16129h 16130s/// 16131s/^/:/ 16132s/[ ]*$/:/ 16133s/:\$(srcdir):/:/g 16134s/:\${srcdir}:/:/g 16135s/:@srcdir@:/:/g 16136s/^:*// 16137s/:*$// 16138x 16139s/\(=[ ]*\).*/\1/ 16140G 16141s/\n// 16142s/^[^=]*=[ ]*$// 16143}' 16144fi 16145 16146cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16147fi # test -n "$CONFIG_FILES" 16148 16149# Set up the scripts for CONFIG_HEADERS section. 16150# No need to generate them if there are no CONFIG_HEADERS. 16151# This happens for instance with `./config.status Makefile'. 16152if test -n "$CONFIG_HEADERS"; then 16153cat >"$tmp/defines.awk" <<\_ACAWK || 16154BEGIN { 16155_ACEOF 16156 16157# Transform confdefs.h into an awk script `defines.awk', embedded as 16158# here-document in config.status, that substitutes the proper values into 16159# config.h.in to produce config.h. 16160 16161# Create a delimiter string that does not exist in confdefs.h, to ease 16162# handling of long lines. 16163ac_delim='%!_!# ' 16164for ac_last_try in false false :; do 16165 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 16166 if test -z "$ac_t"; then 16167 break 16168 elif $ac_last_try; then 16169 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 16170 else 16171 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 16172 fi 16173done 16174 16175# For the awk script, D is an array of macro values keyed by name, 16176# likewise P contains macro parameters if any. Preserve backslash 16177# newline sequences. 16178 16179ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 16180sed -n ' 16181s/.\{148\}/&'"$ac_delim"'/g 16182t rset 16183:rset 16184s/^[ ]*#[ ]*define[ ][ ]*/ / 16185t def 16186d 16187:def 16188s/\\$// 16189t bsnl 16190s/["\\]/\\&/g 16191s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 16192D["\1"]=" \3"/p 16193s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 16194d 16195:bsnl 16196s/["\\]/\\&/g 16197s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 16198D["\1"]=" \3\\\\\\n"\\/p 16199t cont 16200s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 16201t cont 16202d 16203:cont 16204n 16205s/.\{148\}/&'"$ac_delim"'/g 16206t clear 16207:clear 16208s/\\$// 16209t bsnlc 16210s/["\\]/\\&/g; s/^/"/; s/$/"/p 16211d 16212:bsnlc 16213s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 16214b cont 16215' <confdefs.h | sed ' 16216s/'"$ac_delim"'/"\\\ 16217"/g' >>$CONFIG_STATUS || ac_write_fail=1 16218 16219cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16220 for (key in D) D_is_set[key] = 1 16221 FS = "" 16222} 16223/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 16224 line = \$ 0 16225 split(line, arg, " ") 16226 if (arg[1] == "#") { 16227 defundef = arg[2] 16228 mac1 = arg[3] 16229 } else { 16230 defundef = substr(arg[1], 2) 16231 mac1 = arg[2] 16232 } 16233 split(mac1, mac2, "(") #) 16234 macro = mac2[1] 16235 prefix = substr(line, 1, index(line, defundef) - 1) 16236 if (D_is_set[macro]) { 16237 # Preserve the white space surrounding the "#". 16238 print prefix "define", macro P[macro] D[macro] 16239 next 16240 } else { 16241 # Replace #undef with comments. This is necessary, for example, 16242 # in the case of _POSIX_SOURCE, which is predefined and required 16243 # on some systems where configure will not decide to define it. 16244 if (defundef == "undef") { 16245 print "/*", prefix defundef, macro, "*/" 16246 next 16247 } 16248 } 16249} 16250{ print } 16251_ACAWK 16252_ACEOF 16253cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16254 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 16255fi # test -n "$CONFIG_HEADERS" 16256 16257 16258eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 16259shift 16260for ac_tag 16261do 16262 case $ac_tag in 16263 :[FHLC]) ac_mode=$ac_tag; continue;; 16264 esac 16265 case $ac_mode$ac_tag in 16266 :[FHL]*:*);; 16267 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 16268 :[FH]-) ac_tag=-:-;; 16269 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 16270 esac 16271 ac_save_IFS=$IFS 16272 IFS=: 16273 set x $ac_tag 16274 IFS=$ac_save_IFS 16275 shift 16276 ac_file=$1 16277 shift 16278 16279 case $ac_mode in 16280 :L) ac_source=$1;; 16281 :[FH]) 16282 ac_file_inputs= 16283 for ac_f 16284 do 16285 case $ac_f in 16286 -) ac_f="$tmp/stdin";; 16287 *) # Look for the file first in the build tree, then in the source tree 16288 # (if the path is not absolute). The absolute path cannot be DOS-style, 16289 # because $ac_f cannot contain `:'. 16290 test -f "$ac_f" || 16291 case $ac_f in 16292 [\\/$]*) false;; 16293 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 16294 esac || 16295 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; 16296 esac 16297 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 16298 as_fn_append ac_file_inputs " '$ac_f'" 16299 done 16300 16301 # Let's still pretend it is `configure' which instantiates (i.e., don't 16302 # use $as_me), people would be surprised to read: 16303 # /* config.h. Generated by config.status. */ 16304 configure_input='Generated from '` 16305 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 16306 `' by configure.' 16307 if test x"$ac_file" != x-; then 16308 configure_input="$ac_file. $configure_input" 16309 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 16310$as_echo "$as_me: creating $ac_file" >&6;} 16311 fi 16312 # Neutralize special characters interpreted by sed in replacement strings. 16313 case $configure_input in #( 16314 *\&* | *\|* | *\\* ) 16315 ac_sed_conf_input=`$as_echo "$configure_input" | 16316 sed 's/[\\\\&|]/\\\\&/g'`;; #( 16317 *) ac_sed_conf_input=$configure_input;; 16318 esac 16319 16320 case $ac_tag in 16321 *:-:* | *:-) cat >"$tmp/stdin" \ 16322 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 16323 esac 16324 ;; 16325 esac 16326 16327 ac_dir=`$as_dirname -- "$ac_file" || 16328$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16329 X"$ac_file" : 'X\(//\)[^/]' \| \ 16330 X"$ac_file" : 'X\(//\)$' \| \ 16331 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 16332$as_echo X"$ac_file" | 16333 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16334 s//\1/ 16335 q 16336 } 16337 /^X\(\/\/\)[^/].*/{ 16338 s//\1/ 16339 q 16340 } 16341 /^X\(\/\/\)$/{ 16342 s//\1/ 16343 q 16344 } 16345 /^X\(\/\).*/{ 16346 s//\1/ 16347 q 16348 } 16349 s/.*/./; q'` 16350 as_dir="$ac_dir"; as_fn_mkdir_p 16351 ac_builddir=. 16352 16353case "$ac_dir" in 16354.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 16355*) 16356 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 16357 # A ".." for each directory in $ac_dir_suffix. 16358 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 16359 case $ac_top_builddir_sub in 16360 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 16361 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 16362 esac ;; 16363esac 16364ac_abs_top_builddir=$ac_pwd 16365ac_abs_builddir=$ac_pwd$ac_dir_suffix 16366# for backward compatibility: 16367ac_top_builddir=$ac_top_build_prefix 16368 16369case $srcdir in 16370 .) # We are building in place. 16371 ac_srcdir=. 16372 ac_top_srcdir=$ac_top_builddir_sub 16373 ac_abs_top_srcdir=$ac_pwd ;; 16374 [\\/]* | ?:[\\/]* ) # Absolute name. 16375 ac_srcdir=$srcdir$ac_dir_suffix; 16376 ac_top_srcdir=$srcdir 16377 ac_abs_top_srcdir=$srcdir ;; 16378 *) # Relative name. 16379 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 16380 ac_top_srcdir=$ac_top_build_prefix$srcdir 16381 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 16382esac 16383ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 16384 16385 16386 case $ac_mode in 16387 :F) 16388 # 16389 # CONFIG_FILE 16390 # 16391 16392 case $INSTALL in 16393 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 16394 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 16395 esac 16396 ac_MKDIR_P=$MKDIR_P 16397 case $MKDIR_P in 16398 [\\/$]* | ?:[\\/]* ) ;; 16399 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 16400 esac 16401_ACEOF 16402 16403cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16404# If the template does not know about datarootdir, expand it. 16405# FIXME: This hack should be removed a few years after 2.60. 16406ac_datarootdir_hack=; ac_datarootdir_seen= 16407ac_sed_dataroot=' 16408/datarootdir/ { 16409 p 16410 q 16411} 16412/@datadir@/p 16413/@docdir@/p 16414/@infodir@/p 16415/@localedir@/p 16416/@mandir@/p' 16417case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 16418*datarootdir*) ac_datarootdir_seen=yes;; 16419*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 16420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 16421$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 16422_ACEOF 16423cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16424 ac_datarootdir_hack=' 16425 s&@datadir@&$datadir&g 16426 s&@docdir@&$docdir&g 16427 s&@infodir@&$infodir&g 16428 s&@localedir@&$localedir&g 16429 s&@mandir@&$mandir&g 16430 s&\\\${datarootdir}&$datarootdir&g' ;; 16431esac 16432_ACEOF 16433 16434# Neutralize VPATH when `$srcdir' = `.'. 16435# Shell code in configure.ac might set extrasub. 16436# FIXME: do we really want to maintain this feature? 16437cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16438ac_sed_extra="$ac_vpsub 16439$extrasub 16440_ACEOF 16441cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16442:t 16443/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 16444s|@configure_input@|$ac_sed_conf_input|;t t 16445s&@top_builddir@&$ac_top_builddir_sub&;t t 16446s&@top_build_prefix@&$ac_top_build_prefix&;t t 16447s&@srcdir@&$ac_srcdir&;t t 16448s&@abs_srcdir@&$ac_abs_srcdir&;t t 16449s&@top_srcdir@&$ac_top_srcdir&;t t 16450s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 16451s&@builddir@&$ac_builddir&;t t 16452s&@abs_builddir@&$ac_abs_builddir&;t t 16453s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 16454s&@INSTALL@&$ac_INSTALL&;t t 16455s&@MKDIR_P@&$ac_MKDIR_P&;t t 16456$ac_datarootdir_hack 16457" 16458eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 16459 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16460 16461test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 16462 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 16463 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 16464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16465which seems to be undefined. Please make sure it is defined" >&5 16466$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16467which seems to be undefined. Please make sure it is defined" >&2;} 16468 16469 rm -f "$tmp/stdin" 16470 case $ac_file in 16471 -) cat "$tmp/out" && rm -f "$tmp/out";; 16472 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 16473 esac \ 16474 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16475 ;; 16476 :H) 16477 # 16478 # CONFIG_HEADER 16479 # 16480 if test x"$ac_file" != x-; then 16481 { 16482 $as_echo "/* $configure_input */" \ 16483 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 16484 } >"$tmp/config.h" \ 16485 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16486 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 16487 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 16488$as_echo "$as_me: $ac_file is unchanged" >&6;} 16489 else 16490 rm -f "$ac_file" 16491 mv "$tmp/config.h" "$ac_file" \ 16492 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16493 fi 16494 else 16495 $as_echo "/* $configure_input */" \ 16496 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 16497 || as_fn_error $? "could not create -" "$LINENO" 5 16498 fi 16499# Compute "$ac_file"'s index in $config_headers. 16500_am_arg="$ac_file" 16501_am_stamp_count=1 16502for _am_header in $config_headers :; do 16503 case $_am_header in 16504 $_am_arg | $_am_arg:* ) 16505 break ;; 16506 * ) 16507 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 16508 esac 16509done 16510echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 16511$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16512 X"$_am_arg" : 'X\(//\)[^/]' \| \ 16513 X"$_am_arg" : 'X\(//\)$' \| \ 16514 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 16515$as_echo X"$_am_arg" | 16516 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16517 s//\1/ 16518 q 16519 } 16520 /^X\(\/\/\)[^/].*/{ 16521 s//\1/ 16522 q 16523 } 16524 /^X\(\/\/\)$/{ 16525 s//\1/ 16526 q 16527 } 16528 /^X\(\/\).*/{ 16529 s//\1/ 16530 q 16531 } 16532 s/.*/./; q'`/stamp-h$_am_stamp_count 16533 ;; 16534 16535 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 16536$as_echo "$as_me: executing $ac_file commands" >&6;} 16537 ;; 16538 esac 16539 16540 16541 case $ac_file$ac_mode in 16542 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 16543 # Autoconf 2.62 quotes --file arguments for eval, but not when files 16544 # are listed without --file. Let's play safe and only enable the eval 16545 # if we detect the quoting. 16546 case $CONFIG_FILES in 16547 *\'*) eval set x "$CONFIG_FILES" ;; 16548 *) set x $CONFIG_FILES ;; 16549 esac 16550 shift 16551 for mf 16552 do 16553 # Strip MF so we end up with the name of the file. 16554 mf=`echo "$mf" | sed -e 's/:.*$//'` 16555 # Check whether this is an Automake generated Makefile or not. 16556 # We used to match only the files named `Makefile.in', but 16557 # some people rename them; so instead we look at the file content. 16558 # Grep'ing the first line is not enough: some people post-process 16559 # each Makefile.in and add a new line on top of each file to say so. 16560 # Grep'ing the whole file is not good either: AIX grep has a line 16561 # limit of 2048, but all sed's we know have understand at least 4000. 16562 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 16563 dirpart=`$as_dirname -- "$mf" || 16564$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16565 X"$mf" : 'X\(//\)[^/]' \| \ 16566 X"$mf" : 'X\(//\)$' \| \ 16567 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 16568$as_echo X"$mf" | 16569 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16570 s//\1/ 16571 q 16572 } 16573 /^X\(\/\/\)[^/].*/{ 16574 s//\1/ 16575 q 16576 } 16577 /^X\(\/\/\)$/{ 16578 s//\1/ 16579 q 16580 } 16581 /^X\(\/\).*/{ 16582 s//\1/ 16583 q 16584 } 16585 s/.*/./; q'` 16586 else 16587 continue 16588 fi 16589 # Extract the definition of DEPDIR, am__include, and am__quote 16590 # from the Makefile without running `make'. 16591 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 16592 test -z "$DEPDIR" && continue 16593 am__include=`sed -n 's/^am__include = //p' < "$mf"` 16594 test -z "am__include" && continue 16595 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 16596 # When using ansi2knr, U may be empty or an underscore; expand it 16597 U=`sed -n 's/^U = //p' < "$mf"` 16598 # Find all dependency output files, they are included files with 16599 # $(DEPDIR) in their names. We invoke sed twice because it is the 16600 # simplest approach to changing $(DEPDIR) to its actual value in the 16601 # expansion. 16602 for file in `sed -n " 16603 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 16604 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 16605 # Make sure the directory exists. 16606 test -f "$dirpart/$file" && continue 16607 fdir=`$as_dirname -- "$file" || 16608$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16609 X"$file" : 'X\(//\)[^/]' \| \ 16610 X"$file" : 'X\(//\)$' \| \ 16611 X"$file" : 'X\(/\)' \| . 2>/dev/null || 16612$as_echo X"$file" | 16613 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16614 s//\1/ 16615 q 16616 } 16617 /^X\(\/\/\)[^/].*/{ 16618 s//\1/ 16619 q 16620 } 16621 /^X\(\/\/\)$/{ 16622 s//\1/ 16623 q 16624 } 16625 /^X\(\/\).*/{ 16626 s//\1/ 16627 q 16628 } 16629 s/.*/./; q'` 16630 as_dir=$dirpart/$fdir; as_fn_mkdir_p 16631 # echo "creating $dirpart/$file" 16632 echo '# dummy' > "$dirpart/$file" 16633 done 16634 done 16635} 16636 ;; 16637 "libtool":C) 16638 16639 # See if we are running on zsh, and set the options which allow our 16640 # commands through without removal of \ escapes. 16641 if test -n "${ZSH_VERSION+set}" ; then 16642 setopt NO_GLOB_SUBST 16643 fi 16644 16645 cfgfile="${ofile}T" 16646 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 16647 $RM "$cfgfile" 16648 16649 cat <<_LT_EOF >> "$cfgfile" 16650#! $SHELL 16651 16652# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 16653# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 16654# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 16655# NOTE: Changes made to this file will be lost: look at ltmain.sh. 16656# 16657# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 16658# 2006, 2007, 2008 Free Software Foundation, Inc. 16659# Written by Gordon Matzigkeit, 1996 16660# 16661# This file is part of GNU Libtool. 16662# 16663# GNU Libtool is free software; you can redistribute it and/or 16664# modify it under the terms of the GNU General Public License as 16665# published by the Free Software Foundation; either version 2 of 16666# the License, or (at your option) any later version. 16667# 16668# As a special exception to the GNU General Public License, 16669# if you distribute this file as part of a program or library that 16670# is built using GNU Libtool, you may include this file under the 16671# same distribution terms that you use for the rest of that program. 16672# 16673# GNU Libtool is distributed in the hope that it will be useful, 16674# but WITHOUT ANY WARRANTY; without even the implied warranty of 16675# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16676# GNU General Public License for more details. 16677# 16678# You should have received a copy of the GNU General Public License 16679# along with GNU Libtool; see the file COPYING. If not, a copy 16680# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 16681# obtained by writing to the Free Software Foundation, Inc., 16682# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 16683 16684 16685# The names of the tagged configurations supported by this script. 16686available_tags="" 16687 16688# ### BEGIN LIBTOOL CONFIG 16689 16690# Whether or not to build static libraries. 16691build_old_libs=$enable_static 16692 16693# Assembler program. 16694AS=$AS 16695 16696# DLL creation program. 16697DLLTOOL=$DLLTOOL 16698 16699# Object dumper program. 16700OBJDUMP=$OBJDUMP 16701 16702# Which release of libtool.m4 was used? 16703macro_version=$macro_version 16704macro_revision=$macro_revision 16705 16706# Whether or not to build shared libraries. 16707build_libtool_libs=$enable_shared 16708 16709# What type of objects to build. 16710pic_mode=$pic_mode 16711 16712# Whether or not to optimize for fast installation. 16713fast_install=$enable_fast_install 16714 16715# The host system. 16716host_alias=$host_alias 16717host=$host 16718host_os=$host_os 16719 16720# The build system. 16721build_alias=$build_alias 16722build=$build 16723build_os=$build_os 16724 16725# A sed program that does not truncate output. 16726SED=$lt_SED 16727 16728# Sed that helps us avoid accidentally triggering echo(1) options like -n. 16729Xsed="\$SED -e 1s/^X//" 16730 16731# A grep program that handles long lines. 16732GREP=$lt_GREP 16733 16734# An ERE matcher. 16735EGREP=$lt_EGREP 16736 16737# A literal string matcher. 16738FGREP=$lt_FGREP 16739 16740# A BSD- or MS-compatible name lister. 16741NM=$lt_NM 16742 16743# Whether we need soft or hard links. 16744LN_S=$lt_LN_S 16745 16746# What is the maximum length of a command? 16747max_cmd_len=$max_cmd_len 16748 16749# Object file suffix (normally "o"). 16750objext=$ac_objext 16751 16752# Executable file suffix (normally ""). 16753exeext=$exeext 16754 16755# whether the shell understands "unset". 16756lt_unset=$lt_unset 16757 16758# turn spaces into newlines. 16759SP2NL=$lt_lt_SP2NL 16760 16761# turn newlines into spaces. 16762NL2SP=$lt_lt_NL2SP 16763 16764# How to create reloadable object files. 16765reload_flag=$lt_reload_flag 16766reload_cmds=$lt_reload_cmds 16767 16768# Method to check whether dependent libraries are shared objects. 16769deplibs_check_method=$lt_deplibs_check_method 16770 16771# Command to use when deplibs_check_method == "file_magic". 16772file_magic_cmd=$lt_file_magic_cmd 16773 16774# The archiver. 16775AR=$lt_AR 16776AR_FLAGS=$lt_AR_FLAGS 16777 16778# A symbol stripping program. 16779STRIP=$lt_STRIP 16780 16781# Commands used to install an old-style archive. 16782RANLIB=$lt_RANLIB 16783old_postinstall_cmds=$lt_old_postinstall_cmds 16784old_postuninstall_cmds=$lt_old_postuninstall_cmds 16785 16786# A C compiler. 16787LTCC=$lt_CC 16788 16789# LTCC compiler flags. 16790LTCFLAGS=$lt_CFLAGS 16791 16792# Take the output of nm and produce a listing of raw symbols and C names. 16793global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 16794 16795# Transform the output of nm in a proper C declaration. 16796global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 16797 16798# Transform the output of nm in a C name address pair. 16799global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 16800 16801# Transform the output of nm in a C name address pair when lib prefix is needed. 16802global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 16803 16804# The name of the directory that contains temporary libtool files. 16805objdir=$objdir 16806 16807# Shell to use when invoking shell scripts. 16808SHELL=$lt_SHELL 16809 16810# An echo program that does not interpret backslashes. 16811ECHO=$lt_ECHO 16812 16813# Used to examine libraries when file_magic_cmd begins with "file". 16814MAGIC_CMD=$MAGIC_CMD 16815 16816# Must we lock files when doing compilation? 16817need_locks=$lt_need_locks 16818 16819# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 16820DSYMUTIL=$lt_DSYMUTIL 16821 16822# Tool to change global to local symbols on Mac OS X. 16823NMEDIT=$lt_NMEDIT 16824 16825# Tool to manipulate fat objects and archives on Mac OS X. 16826LIPO=$lt_LIPO 16827 16828# ldd/readelf like tool for Mach-O binaries on Mac OS X. 16829OTOOL=$lt_OTOOL 16830 16831# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 16832OTOOL64=$lt_OTOOL64 16833 16834# Old archive suffix (normally "a"). 16835libext=$libext 16836 16837# Shared library suffix (normally ".so"). 16838shrext_cmds=$lt_shrext_cmds 16839 16840# The commands to extract the exported symbol list from a shared archive. 16841extract_expsyms_cmds=$lt_extract_expsyms_cmds 16842 16843# Variables whose values should be saved in libtool wrapper scripts and 16844# restored at link time. 16845variables_saved_for_relink=$lt_variables_saved_for_relink 16846 16847# Do we need the "lib" prefix for modules? 16848need_lib_prefix=$need_lib_prefix 16849 16850# Do we need a version for libraries? 16851need_version=$need_version 16852 16853# Library versioning type. 16854version_type=$version_type 16855 16856# Shared library runtime path variable. 16857runpath_var=$runpath_var 16858 16859# Shared library path variable. 16860shlibpath_var=$shlibpath_var 16861 16862# Is shlibpath searched before the hard-coded library search path? 16863shlibpath_overrides_runpath=$shlibpath_overrides_runpath 16864 16865# Format of library name prefix. 16866libname_spec=$lt_libname_spec 16867 16868# List of archive names. First name is the real one, the rest are links. 16869# The last name is the one that the linker finds with -lNAME 16870library_names_spec=$lt_library_names_spec 16871 16872# The coded name of the library, if different from the real name. 16873soname_spec=$lt_soname_spec 16874 16875# Command to use after installation of a shared archive. 16876postinstall_cmds=$lt_postinstall_cmds 16877 16878# Command to use after uninstallation of a shared archive. 16879postuninstall_cmds=$lt_postuninstall_cmds 16880 16881# Commands used to finish a libtool library installation in a directory. 16882finish_cmds=$lt_finish_cmds 16883 16884# As "finish_cmds", except a single script fragment to be evaled but 16885# not shown. 16886finish_eval=$lt_finish_eval 16887 16888# Whether we should hardcode library paths into libraries. 16889hardcode_into_libs=$hardcode_into_libs 16890 16891# Compile-time system search path for libraries. 16892sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 16893 16894# Run-time system search path for libraries. 16895sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 16896 16897# Whether dlopen is supported. 16898dlopen_support=$enable_dlopen 16899 16900# Whether dlopen of programs is supported. 16901dlopen_self=$enable_dlopen_self 16902 16903# Whether dlopen of statically linked programs is supported. 16904dlopen_self_static=$enable_dlopen_self_static 16905 16906# Commands to strip libraries. 16907old_striplib=$lt_old_striplib 16908striplib=$lt_striplib 16909 16910 16911# The linker used to build libraries. 16912LD=$lt_LD 16913 16914# Commands used to build an old-style archive. 16915old_archive_cmds=$lt_old_archive_cmds 16916 16917# A language specific compiler. 16918CC=$lt_compiler 16919 16920# Is the compiler the GNU compiler? 16921with_gcc=$GCC 16922 16923# Compiler flag to turn off builtin functions. 16924no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 16925 16926# How to pass a linker flag through the compiler. 16927wl=$lt_lt_prog_compiler_wl 16928 16929# Additional compiler flags for building library objects. 16930pic_flag=$lt_lt_prog_compiler_pic 16931 16932# Compiler flag to prevent dynamic linking. 16933link_static_flag=$lt_lt_prog_compiler_static 16934 16935# Does compiler simultaneously support -c and -o options? 16936compiler_c_o=$lt_lt_cv_prog_compiler_c_o 16937 16938# Whether or not to add -lc for building shared libraries. 16939build_libtool_need_lc=$archive_cmds_need_lc 16940 16941# Whether or not to disallow shared libs when runtime libs are static. 16942allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 16943 16944# Compiler flag to allow reflexive dlopens. 16945export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 16946 16947# Compiler flag to generate shared objects directly from archives. 16948whole_archive_flag_spec=$lt_whole_archive_flag_spec 16949 16950# Whether the compiler copes with passing no objects directly. 16951compiler_needs_object=$lt_compiler_needs_object 16952 16953# Create an old-style archive from a shared archive. 16954old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 16955 16956# Create a temporary old-style archive to link instead of a shared archive. 16957old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 16958 16959# Commands used to build a shared archive. 16960archive_cmds=$lt_archive_cmds 16961archive_expsym_cmds=$lt_archive_expsym_cmds 16962 16963# Commands used to build a loadable module if different from building 16964# a shared archive. 16965module_cmds=$lt_module_cmds 16966module_expsym_cmds=$lt_module_expsym_cmds 16967 16968# Whether we are building with GNU ld or not. 16969with_gnu_ld=$lt_with_gnu_ld 16970 16971# Flag that allows shared libraries with undefined symbols to be built. 16972allow_undefined_flag=$lt_allow_undefined_flag 16973 16974# Flag that enforces no undefined symbols. 16975no_undefined_flag=$lt_no_undefined_flag 16976 16977# Flag to hardcode \$libdir into a binary during linking. 16978# This must work even if \$libdir does not exist 16979hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 16980 16981# If ld is used when linking, flag to hardcode \$libdir into a binary 16982# during linking. This must work even if \$libdir does not exist. 16983hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld 16984 16985# Whether we need a single "-rpath" flag with a separated argument. 16986hardcode_libdir_separator=$lt_hardcode_libdir_separator 16987 16988# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 16989# DIR into the resulting binary. 16990hardcode_direct=$hardcode_direct 16991 16992# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 16993# DIR into the resulting binary and the resulting library dependency is 16994# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 16995# library is relocated. 16996hardcode_direct_absolute=$hardcode_direct_absolute 16997 16998# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 16999# into the resulting binary. 17000hardcode_minus_L=$hardcode_minus_L 17001 17002# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 17003# into the resulting binary. 17004hardcode_shlibpath_var=$hardcode_shlibpath_var 17005 17006# Set to "yes" if building a shared library automatically hardcodes DIR 17007# into the library and all subsequent libraries and executables linked 17008# against it. 17009hardcode_automatic=$hardcode_automatic 17010 17011# Set to yes if linker adds runtime paths of dependent libraries 17012# to runtime path list. 17013inherit_rpath=$inherit_rpath 17014 17015# Whether libtool must link a program against all its dependency libraries. 17016link_all_deplibs=$link_all_deplibs 17017 17018# Fix the shell variable \$srcfile for the compiler. 17019fix_srcfile_path=$lt_fix_srcfile_path 17020 17021# Set to "yes" if exported symbols are required. 17022always_export_symbols=$always_export_symbols 17023 17024# The commands to list exported symbols. 17025export_symbols_cmds=$lt_export_symbols_cmds 17026 17027# Symbols that should not be listed in the preloaded symbols. 17028exclude_expsyms=$lt_exclude_expsyms 17029 17030# Symbols that must always be exported. 17031include_expsyms=$lt_include_expsyms 17032 17033# Commands necessary for linking programs (against libraries) with templates. 17034prelink_cmds=$lt_prelink_cmds 17035 17036# Specify filename containing input files. 17037file_list_spec=$lt_file_list_spec 17038 17039# How to hardcode a shared library path into an executable. 17040hardcode_action=$hardcode_action 17041 17042# ### END LIBTOOL CONFIG 17043 17044_LT_EOF 17045 17046 case $host_os in 17047 aix3*) 17048 cat <<\_LT_EOF >> "$cfgfile" 17049# AIX sometimes has problems with the GCC collect2 program. For some 17050# reason, if we set the COLLECT_NAMES environment variable, the problems 17051# vanish in a puff of smoke. 17052if test "X${COLLECT_NAMES+set}" != Xset; then 17053 COLLECT_NAMES= 17054 export COLLECT_NAMES 17055fi 17056_LT_EOF 17057 ;; 17058 esac 17059 17060 17061ltmain="$ac_aux_dir/ltmain.sh" 17062 17063 17064 # We use sed instead of cat because bash on DJGPP gets confused if 17065 # if finds mixed CR/LF and LF-only lines. Since sed operates in 17066 # text mode, it properly converts lines to CR/LF. This bash problem 17067 # is reportedly fixed, but why not run on old versions too? 17068 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ 17069 || (rm -f "$cfgfile"; exit 1) 17070 17071 case $xsi_shell in 17072 yes) 17073 cat << \_LT_EOF >> "$cfgfile" 17074 17075# func_dirname file append nondir_replacement 17076# Compute the dirname of FILE. If nonempty, add APPEND to the result, 17077# otherwise set result to NONDIR_REPLACEMENT. 17078func_dirname () 17079{ 17080 case ${1} in 17081 */*) func_dirname_result="${1%/*}${2}" ;; 17082 * ) func_dirname_result="${3}" ;; 17083 esac 17084} 17085 17086# func_basename file 17087func_basename () 17088{ 17089 func_basename_result="${1##*/}" 17090} 17091 17092# func_dirname_and_basename file append nondir_replacement 17093# perform func_basename and func_dirname in a single function 17094# call: 17095# dirname: Compute the dirname of FILE. If nonempty, 17096# add APPEND to the result, otherwise set result 17097# to NONDIR_REPLACEMENT. 17098# value returned in "$func_dirname_result" 17099# basename: Compute filename of FILE. 17100# value retuned in "$func_basename_result" 17101# Implementation must be kept synchronized with func_dirname 17102# and func_basename. For efficiency, we do not delegate to 17103# those functions but instead duplicate the functionality here. 17104func_dirname_and_basename () 17105{ 17106 case ${1} in 17107 */*) func_dirname_result="${1%/*}${2}" ;; 17108 * ) func_dirname_result="${3}" ;; 17109 esac 17110 func_basename_result="${1##*/}" 17111} 17112 17113# func_stripname prefix suffix name 17114# strip PREFIX and SUFFIX off of NAME. 17115# PREFIX and SUFFIX must not contain globbing or regex special 17116# characters, hashes, percent signs, but SUFFIX may contain a leading 17117# dot (in which case that matches only a dot). 17118func_stripname () 17119{ 17120 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are 17121 # positional parameters, so assign one to ordinary parameter first. 17122 func_stripname_result=${3} 17123 func_stripname_result=${func_stripname_result#"${1}"} 17124 func_stripname_result=${func_stripname_result%"${2}"} 17125} 17126 17127# func_opt_split 17128func_opt_split () 17129{ 17130 func_opt_split_opt=${1%%=*} 17131 func_opt_split_arg=${1#*=} 17132} 17133 17134# func_lo2o object 17135func_lo2o () 17136{ 17137 case ${1} in 17138 *.lo) func_lo2o_result=${1%.lo}.${objext} ;; 17139 *) func_lo2o_result=${1} ;; 17140 esac 17141} 17142 17143# func_xform libobj-or-source 17144func_xform () 17145{ 17146 func_xform_result=${1%.*}.lo 17147} 17148 17149# func_arith arithmetic-term... 17150func_arith () 17151{ 17152 func_arith_result=$(( $* )) 17153} 17154 17155# func_len string 17156# STRING may not start with a hyphen. 17157func_len () 17158{ 17159 func_len_result=${#1} 17160} 17161 17162_LT_EOF 17163 ;; 17164 *) # Bourne compatible functions. 17165 cat << \_LT_EOF >> "$cfgfile" 17166 17167# func_dirname file append nondir_replacement 17168# Compute the dirname of FILE. If nonempty, add APPEND to the result, 17169# otherwise set result to NONDIR_REPLACEMENT. 17170func_dirname () 17171{ 17172 # Extract subdirectory from the argument. 17173 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` 17174 if test "X$func_dirname_result" = "X${1}"; then 17175 func_dirname_result="${3}" 17176 else 17177 func_dirname_result="$func_dirname_result${2}" 17178 fi 17179} 17180 17181# func_basename file 17182func_basename () 17183{ 17184 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` 17185} 17186 17187 17188# func_stripname prefix suffix name 17189# strip PREFIX and SUFFIX off of NAME. 17190# PREFIX and SUFFIX must not contain globbing or regex special 17191# characters, hashes, percent signs, but SUFFIX may contain a leading 17192# dot (in which case that matches only a dot). 17193# func_strip_suffix prefix name 17194func_stripname () 17195{ 17196 case ${2} in 17197 .*) func_stripname_result=`$ECHO "X${3}" \ 17198 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; 17199 *) func_stripname_result=`$ECHO "X${3}" \ 17200 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; 17201 esac 17202} 17203 17204# sed scripts: 17205my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' 17206my_sed_long_arg='1s/^-[^=]*=//' 17207 17208# func_opt_split 17209func_opt_split () 17210{ 17211 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` 17212 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` 17213} 17214 17215# func_lo2o object 17216func_lo2o () 17217{ 17218 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` 17219} 17220 17221# func_xform libobj-or-source 17222func_xform () 17223{ 17224 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` 17225} 17226 17227# func_arith arithmetic-term... 17228func_arith () 17229{ 17230 func_arith_result=`expr "$@"` 17231} 17232 17233# func_len string 17234# STRING may not start with a hyphen. 17235func_len () 17236{ 17237 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` 17238} 17239 17240_LT_EOF 17241esac 17242 17243case $lt_shell_append in 17244 yes) 17245 cat << \_LT_EOF >> "$cfgfile" 17246 17247# func_append var value 17248# Append VALUE to the end of shell variable VAR. 17249func_append () 17250{ 17251 eval "$1+=\$2" 17252} 17253_LT_EOF 17254 ;; 17255 *) 17256 cat << \_LT_EOF >> "$cfgfile" 17257 17258# func_append var value 17259# Append VALUE to the end of shell variable VAR. 17260func_append () 17261{ 17262 eval "$1=\$$1\$2" 17263} 17264 17265_LT_EOF 17266 ;; 17267 esac 17268 17269 17270 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ 17271 || (rm -f "$cfgfile"; exit 1) 17272 17273 mv -f "$cfgfile" "$ofile" || 17274 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 17275 chmod +x "$ofile" 17276 17277 ;; 17278 17279 esac 17280done # for ac_tag 17281 17282 17283as_fn_exit 0 17284_ACEOF 17285ac_clean_files=$ac_clean_files_save 17286 17287test $ac_write_fail = 0 || 17288 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 17289 17290 17291# configure is writing to config.log, and then calls config.status. 17292# config.status does its own redirection, appending to config.log. 17293# Unfortunately, on DOS this fails, as config.log is still kept open 17294# by configure, so config.status won't be able to write to it; its 17295# output is simply discarded. So we exec the FD to /dev/null, 17296# effectively closing config.log, so it can be properly (re)opened and 17297# appended to by config.status. When coming back to configure, we 17298# need to make the FD available again. 17299if test "$no_create" != yes; then 17300 ac_cs_success=: 17301 ac_config_status_args= 17302 test "$silent" = yes && 17303 ac_config_status_args="$ac_config_status_args --quiet" 17304 exec 5>/dev/null 17305 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 17306 exec 5>>config.log 17307 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 17308 # would make configure fail if this is the last instruction. 17309 $ac_cs_success || as_fn_exit 1 17310fi 17311if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 17312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 17313$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 17314fi 17315 17316 17317echo 17318echo "The following modules will be built:" 17319echo 17320$have_atk && echo atk 17321$have_pango && echo pango 17322$have_pangocairo && echo pangocairo 17323$have_gtk && echo gtk with $gtk_version API 17324$have_libglade && echo gtk.glade 17325$have_gtkunixprint && echo gtk.unixprint 17326 17327if test ! $have_atk || ! $have_pango || \ 17328 ! $have_gtk || ! $have_libglade || \ 17329 ! $have_pangocairo || ! $have_gtkunixprint; then 17330 echo 17331 echo "The following modules will NOT be built:" 17332 echo 17333 $have_atk || echo atk 17334 $have_pango || echo pango 17335 $have_pangocairo || echo pangocairo 17336 $have_gtk || echo gtk 17337 $have_libglade || echo gtk.glade 17338 $have_gtkunixprint || echo gtk.unixprint 17339fi 17340 17341echo 17342echo "Numpy support: $enable_numpy" 17343echo 17344