1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.67 for compizconfig-backend-gconf 0.8.8. 4# 5# Report bugs to <maniac@opencompositing.org>. 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: maniac@opencompositing.org about your system, including 235$0: any error possibly output before this message. Then 236$0: install a modern shell, or manually run the script 237$0: under such a shell if you do have one." 238 fi 239 exit 1 240fi 241fi 242fi 243SHELL=${CONFIG_SHELL-/bin/sh} 244export SHELL 245# Unset more variables known to interfere with behavior of common tools. 246CLICOLOR_FORCE= GREP_OPTIONS= 247unset CLICOLOR_FORCE GREP_OPTIONS 248 249## --------------------- ## 250## M4sh Shell Functions. ## 251## --------------------- ## 252# as_fn_unset VAR 253# --------------- 254# Portably unset VAR. 255as_fn_unset () 256{ 257 { eval $1=; unset $1;} 258} 259as_unset=as_fn_unset 260 261# as_fn_set_status STATUS 262# ----------------------- 263# Set $? to STATUS, without forking. 264as_fn_set_status () 265{ 266 return $1 267} # as_fn_set_status 268 269# as_fn_exit STATUS 270# ----------------- 271# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 272as_fn_exit () 273{ 274 set +e 275 as_fn_set_status $1 276 exit $1 277} # as_fn_exit 278 279# as_fn_mkdir_p 280# ------------- 281# Create "$as_dir" as a directory, including parents if necessary. 282as_fn_mkdir_p () 283{ 284 285 case $as_dir in #( 286 -*) as_dir=./$as_dir;; 287 esac 288 test -d "$as_dir" || eval $as_mkdir_p || { 289 as_dirs= 290 while :; do 291 case $as_dir in #( 292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 293 *) as_qdir=$as_dir;; 294 esac 295 as_dirs="'$as_qdir' $as_dirs" 296 as_dir=`$as_dirname -- "$as_dir" || 297$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 298 X"$as_dir" : 'X\(//\)[^/]' \| \ 299 X"$as_dir" : 'X\(//\)$' \| \ 300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 301$as_echo X"$as_dir" | 302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 303 s//\1/ 304 q 305 } 306 /^X\(\/\/\)[^/].*/{ 307 s//\1/ 308 q 309 } 310 /^X\(\/\/\)$/{ 311 s//\1/ 312 q 313 } 314 /^X\(\/\).*/{ 315 s//\1/ 316 q 317 } 318 s/.*/./; q'` 319 test -d "$as_dir" && break 320 done 321 test -z "$as_dirs" || eval "mkdir $as_dirs" 322 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 323 324 325} # as_fn_mkdir_p 326# as_fn_append VAR VALUE 327# ---------------------- 328# Append the text in VALUE to the end of the definition contained in VAR. Take 329# advantage of any shell optimizations that allow amortized linear growth over 330# repeated appends, instead of the typical quadratic growth present in naive 331# implementations. 332if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 333 eval 'as_fn_append () 334 { 335 eval $1+=\$2 336 }' 337else 338 as_fn_append () 339 { 340 eval $1=\$$1\$2 341 } 342fi # as_fn_append 343 344# as_fn_arith ARG... 345# ------------------ 346# Perform arithmetic evaluation on the ARGs, and store the result in the 347# global $as_val. Take advantage of shells that can avoid forks. The arguments 348# must be portable across $(()) and expr. 349if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 350 eval 'as_fn_arith () 351 { 352 as_val=$(( $* )) 353 }' 354else 355 as_fn_arith () 356 { 357 as_val=`expr "$@" || test $? -eq 1` 358 } 359fi # as_fn_arith 360 361 362# as_fn_error STATUS ERROR [LINENO LOG_FD] 363# ---------------------------------------- 364# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 365# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 366# script with STATUS, using 1 if that was 0. 367as_fn_error () 368{ 369 as_status=$1; test $as_status -eq 0 && as_status=1 370 if test "$4"; then 371 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 373 fi 374 $as_echo "$as_me: error: $2" >&2 375 as_fn_exit $as_status 376} # as_fn_error 377 378if expr a : '\(a\)' >/dev/null 2>&1 && 379 test "X`expr 00001 : '.*\(...\)'`" = X001; then 380 as_expr=expr 381else 382 as_expr=false 383fi 384 385if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 386 as_basename=basename 387else 388 as_basename=false 389fi 390 391if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 392 as_dirname=dirname 393else 394 as_dirname=false 395fi 396 397as_me=`$as_basename -- "$0" || 398$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 399 X"$0" : 'X\(//\)$' \| \ 400 X"$0" : 'X\(/\)' \| . 2>/dev/null || 401$as_echo X/"$0" | 402 sed '/^.*\/\([^/][^/]*\)\/*$/{ 403 s//\1/ 404 q 405 } 406 /^X\/\(\/\/\)$/{ 407 s//\1/ 408 q 409 } 410 /^X\/\(\/\).*/{ 411 s//\1/ 412 q 413 } 414 s/.*/./; q'` 415 416# Avoid depending upon Character Ranges. 417as_cr_letters='abcdefghijklmnopqrstuvwxyz' 418as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 419as_cr_Letters=$as_cr_letters$as_cr_LETTERS 420as_cr_digits='0123456789' 421as_cr_alnum=$as_cr_Letters$as_cr_digits 422 423 424 as_lineno_1=$LINENO as_lineno_1a=$LINENO 425 as_lineno_2=$LINENO as_lineno_2a=$LINENO 426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 429 sed -n ' 430 p 431 /[$]LINENO/= 432 ' <$as_myself | 433 sed ' 434 s/[$]LINENO.*/&-/ 435 t lineno 436 b 437 :lineno 438 N 439 :loop 440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 441 t loop 442 s/-\n.*// 443 ' >$as_me.lineno && 444 chmod +x "$as_me.lineno" || 445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 446 447 # Don't try to exec as it changes $[0], causing all sort of problems 448 # (the dirname of $[0] is not the place where we might find the 449 # original and so on. Autoconf is especially sensitive to this). 450 . "./$as_me.lineno" 451 # Exit status is that of the last command. 452 exit 453} 454 455ECHO_C= ECHO_N= ECHO_T= 456case `echo -n x` in #((((( 457-n*) 458 case `echo 'xy\c'` in 459 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 460 xy) ECHO_C='\c';; 461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 462 ECHO_T=' ';; 463 esac;; 464*) 465 ECHO_N='-n';; 466esac 467 468rm -f conf$$ conf$$.exe conf$$.file 469if test -d conf$$.dir; then 470 rm -f conf$$.dir/conf$$.file 471else 472 rm -f conf$$.dir 473 mkdir conf$$.dir 2>/dev/null 474fi 475if (echo >conf$$.file) 2>/dev/null; then 476 if ln -s conf$$.file conf$$ 2>/dev/null; then 477 as_ln_s='ln -s' 478 # ... but there are two gotchas: 479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 481 # In both cases, we have to default to `cp -p'. 482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 483 as_ln_s='cp -p' 484 elif ln conf$$.file conf$$ 2>/dev/null; then 485 as_ln_s=ln 486 else 487 as_ln_s='cp -p' 488 fi 489else 490 as_ln_s='cp -p' 491fi 492rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 493rmdir conf$$.dir 2>/dev/null 494 495if mkdir -p . 2>/dev/null; then 496 as_mkdir_p='mkdir -p "$as_dir"' 497else 498 test -d ./-p && rmdir ./-p 499 as_mkdir_p=false 500fi 501 502if test -x / >/dev/null 2>&1; then 503 as_test_x='test -x' 504else 505 if ls -dL / >/dev/null 2>&1; then 506 as_ls_L_option=L 507 else 508 as_ls_L_option= 509 fi 510 as_test_x=' 511 eval sh -c '\'' 512 if test -d "$1"; then 513 test -d "$1/."; 514 else 515 case $1 in #( 516 -*)set "./$1";; 517 esac; 518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 519 ???[sx]*):;;*)false;;esac;fi 520 '\'' sh 521 ' 522fi 523as_executable_p=$as_test_x 524 525# Sed expression to map a string onto a valid CPP name. 526as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 527 528# Sed expression to map a string onto a valid variable name. 529as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 530 531 532 533# Check that we are running under the correct shell. 534SHELL=${CONFIG_SHELL-/bin/sh} 535 536case X$lt_ECHO in 537X*--fallback-echo) 538 # Remove one level of quotation (which was required for Make). 539 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` 540 ;; 541esac 542 543ECHO=${lt_ECHO-echo} 544if test "X$1" = X--no-reexec; then 545 # Discard the --no-reexec flag, and continue. 546 shift 547elif test "X$1" = X--fallback-echo; then 548 # Avoid inline document here, it may be left over 549 : 550elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then 551 # Yippee, $ECHO works! 552 : 553else 554 # Restart under the correct shell. 555 exec $SHELL "$0" --no-reexec ${1+"$@"} 556fi 557 558if test "X$1" = X--fallback-echo; then 559 # used as fallback echo 560 shift 561 cat <<_LT_EOF 562$* 563_LT_EOF 564 exit 0 565fi 566 567# The HP-UX ksh and POSIX shell print the target directory to stdout 568# if CDPATH is set. 569(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 570 571if test -z "$lt_ECHO"; then 572 if test "X${echo_test_string+set}" != Xset; then 573 # find a string as large as possible, as long as the shell can cope with it 574 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do 575 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 576 if { echo_test_string=`eval $cmd`; } 2>/dev/null && 577 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null 578 then 579 break 580 fi 581 done 582 fi 583 584 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && 585 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && 586 test "X$echo_testing_string" = "X$echo_test_string"; then 587 : 588 else 589 # The Solaris, AIX, and Digital Unix default echo programs unquote 590 # backslashes. This makes it impossible to quote backslashes using 591 # echo "$something" | sed 's/\\/\\\\/g' 592 # 593 # So, first we look for a working echo in the user's PATH. 594 595 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 596 for dir in $PATH /usr/ucb; do 597 IFS="$lt_save_ifs" 598 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && 599 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && 600 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && 601 test "X$echo_testing_string" = "X$echo_test_string"; then 602 ECHO="$dir/echo" 603 break 604 fi 605 done 606 IFS="$lt_save_ifs" 607 608 if test "X$ECHO" = Xecho; then 609 # We didn't find a better echo, so look for alternatives. 610 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && 611 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && 612 test "X$echo_testing_string" = "X$echo_test_string"; then 613 # This shell has a builtin print -r that does the trick. 614 ECHO='print -r' 615 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && 616 test "X$CONFIG_SHELL" != X/bin/ksh; then 617 # If we have ksh, try running configure again with it. 618 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 619 export ORIGINAL_CONFIG_SHELL 620 CONFIG_SHELL=/bin/ksh 621 export CONFIG_SHELL 622 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} 623 else 624 # Try using printf. 625 ECHO='printf %s\n' 626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && 627 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && 628 test "X$echo_testing_string" = "X$echo_test_string"; then 629 # Cool, printf works 630 : 631 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 632 test "X$echo_testing_string" = 'X\t' && 633 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 634 test "X$echo_testing_string" = "X$echo_test_string"; then 635 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL 636 export CONFIG_SHELL 637 SHELL="$CONFIG_SHELL" 638 export SHELL 639 ECHO="$CONFIG_SHELL $0 --fallback-echo" 640 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 641 test "X$echo_testing_string" = 'X\t' && 642 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 643 test "X$echo_testing_string" = "X$echo_test_string"; then 644 ECHO="$CONFIG_SHELL $0 --fallback-echo" 645 else 646 # maybe with a smaller string... 647 prev=: 648 649 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do 650 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null 651 then 652 break 653 fi 654 prev="$cmd" 655 done 656 657 if test "$prev" != 'sed 50q "$0"'; then 658 echo_test_string=`eval $prev` 659 export echo_test_string 660 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} 661 else 662 # Oops. We lost completely, so just stick with echo. 663 ECHO=echo 664 fi 665 fi 666 fi 667 fi 668 fi 669fi 670 671# Copy echo and quote the copy suitably for passing to libtool from 672# the Makefile, instead of quoting the original, which is used later. 673lt_ECHO=$ECHO 674if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then 675 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" 676fi 677 678 679 680 681test -n "$DJDIR" || exec 7<&0 </dev/null 682exec 6>&1 683 684# Name of the host. 685# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 686# so uname gets run too. 687ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 688 689# 690# Initializations. 691# 692ac_default_prefix=/usr/local 693ac_clean_files= 694ac_config_libobj_dir=. 695LIBOBJS= 696cross_compiling=no 697subdirs= 698MFLAGS= 699MAKEFLAGS= 700 701# Identity of this package. 702PACKAGE_NAME='compizconfig-backend-gconf' 703PACKAGE_TARNAME='compizconfig-backend-gconf' 704PACKAGE_VERSION='0.8.8' 705PACKAGE_STRING='compizconfig-backend-gconf 0.8.8' 706PACKAGE_BUGREPORT='maniac@opencompositing.org' 707PACKAGE_URL='' 708 709# Factoring default headers for most tests. 710ac_includes_default="\ 711#include <stdio.h> 712#ifdef HAVE_SYS_TYPES_H 713# include <sys/types.h> 714#endif 715#ifdef HAVE_SYS_STAT_H 716# include <sys/stat.h> 717#endif 718#ifdef STDC_HEADERS 719# include <stdlib.h> 720# include <stddef.h> 721#else 722# ifdef HAVE_STDLIB_H 723# include <stdlib.h> 724# endif 725#endif 726#ifdef HAVE_STRING_H 727# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 728# include <memory.h> 729# endif 730# include <string.h> 731#endif 732#ifdef HAVE_STRINGS_H 733# include <strings.h> 734#endif 735#ifdef HAVE_INTTYPES_H 736# include <inttypes.h> 737#endif 738#ifdef HAVE_STDINT_H 739# include <stdint.h> 740#endif 741#ifdef HAVE_UNISTD_H 742# include <unistd.h> 743#endif" 744 745ac_subst_vars='am__EXEEXT_FALSE 746am__EXEEXT_TRUE 747LTLIBOBJS 748LIBOBJS 749CCS_LIBS 750CCS_CFLAGS 751GCONF_LIBS 752GCONF_CFLAGS 753GLIB_LIBS 754GLIB_CFLAGS 755PKG_CONFIG_LIBDIR 756PKG_CONFIG_PATH 757PKG_CONFIG 758OTOOL64 759OTOOL 760LIPO 761NMEDIT 762DSYMUTIL 763lt_ECHO 764RANLIB 765AR 766OBJDUMP 767LN_S 768NM 769ac_ct_DUMPBIN 770DUMPBIN 771LD 772FGREP 773EGREP 774GREP 775SED 776host_os 777host_vendor 778host_cpu 779host 780build_os 781build_vendor 782build_cpu 783build 784LIBTOOL 785CPP 786am__fastdepCC_FALSE 787am__fastdepCC_TRUE 788CCDEPMODE 789AMDEPBACKSLASH 790AMDEP_FALSE 791AMDEP_TRUE 792am__quote 793am__include 794DEPDIR 795OBJEXT 796EXEEXT 797ac_ct_CC 798CPPFLAGS 799LDFLAGS 800CFLAGS 801CC 802MAINT 803MAINTAINER_MODE_FALSE 804MAINTAINER_MODE_TRUE 805am__untar 806am__tar 807AMTAR 808am__leading_dot 809SET_MAKE 810AWK 811mkdir_p 812MKDIR_P 813INSTALL_STRIP_PROGRAM 814STRIP 815install_sh 816MAKEINFO 817AUTOHEADER 818AUTOMAKE 819AUTOCONF 820ACLOCAL 821VERSION 822PACKAGE 823CYGPATH_W 824am__isrc 825INSTALL_DATA 826INSTALL_SCRIPT 827INSTALL_PROGRAM 828target_alias 829host_alias 830build_alias 831LIBS 832ECHO_T 833ECHO_N 834ECHO_C 835DEFS 836mandir 837localedir 838libdir 839psdir 840pdfdir 841dvidir 842htmldir 843infodir 844docdir 845oldincludedir 846includedir 847localstatedir 848sharedstatedir 849sysconfdir 850datadir 851datarootdir 852libexecdir 853sbindir 854bindir 855program_transform_name 856prefix 857exec_prefix 858PACKAGE_URL 859PACKAGE_BUGREPORT 860PACKAGE_STRING 861PACKAGE_VERSION 862PACKAGE_TARNAME 863PACKAGE_NAME 864PATH_SEPARATOR 865SHELL' 866ac_subst_files='' 867ac_user_opts=' 868enable_option_checking 869enable_maintainer_mode 870enable_dependency_tracking 871enable_shared 872enable_static 873with_pic 874enable_fast_install 875with_gnu_ld 876enable_libtool_lock 877' 878 ac_precious_vars='build_alias 879host_alias 880target_alias 881CC 882CFLAGS 883LDFLAGS 884LIBS 885CPPFLAGS 886CPP 887PKG_CONFIG 888PKG_CONFIG_PATH 889PKG_CONFIG_LIBDIR 890GLIB_CFLAGS 891GLIB_LIBS 892GCONF_CFLAGS 893GCONF_LIBS 894CCS_CFLAGS 895CCS_LIBS' 896 897 898# Initialize some variables set by options. 899ac_init_help= 900ac_init_version=false 901ac_unrecognized_opts= 902ac_unrecognized_sep= 903# The variables have the same names as the options, with 904# dashes changed to underlines. 905cache_file=/dev/null 906exec_prefix=NONE 907no_create= 908no_recursion= 909prefix=NONE 910program_prefix=NONE 911program_suffix=NONE 912program_transform_name=s,x,x, 913silent= 914site= 915srcdir= 916verbose= 917x_includes=NONE 918x_libraries=NONE 919 920# Installation directory options. 921# These are left unexpanded so users can "make install exec_prefix=/foo" 922# and all the variables that are supposed to be based on exec_prefix 923# by default will actually change. 924# Use braces instead of parens because sh, perl, etc. also accept them. 925# (The list follows the same order as the GNU Coding Standards.) 926bindir='${exec_prefix}/bin' 927sbindir='${exec_prefix}/sbin' 928libexecdir='${exec_prefix}/libexec' 929datarootdir='${prefix}/share' 930datadir='${datarootdir}' 931sysconfdir='${prefix}/etc' 932sharedstatedir='${prefix}/com' 933localstatedir='${prefix}/var' 934includedir='${prefix}/include' 935oldincludedir='/usr/include' 936docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 937infodir='${datarootdir}/info' 938htmldir='${docdir}' 939dvidir='${docdir}' 940pdfdir='${docdir}' 941psdir='${docdir}' 942libdir='${exec_prefix}/lib' 943localedir='${datarootdir}/locale' 944mandir='${datarootdir}/man' 945 946ac_prev= 947ac_dashdash= 948for ac_option 949do 950 # If the previous option needs an argument, assign it. 951 if test -n "$ac_prev"; then 952 eval $ac_prev=\$ac_option 953 ac_prev= 954 continue 955 fi 956 957 case $ac_option in 958 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 959 *=) ac_optarg= ;; 960 *) ac_optarg=yes ;; 961 esac 962 963 # Accept the important Cygnus configure options, so we can diagnose typos. 964 965 case $ac_dashdash$ac_option in 966 --) 967 ac_dashdash=yes ;; 968 969 -bindir | --bindir | --bindi | --bind | --bin | --bi) 970 ac_prev=bindir ;; 971 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 972 bindir=$ac_optarg ;; 973 974 -build | --build | --buil | --bui | --bu) 975 ac_prev=build_alias ;; 976 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 977 build_alias=$ac_optarg ;; 978 979 -cache-file | --cache-file | --cache-fil | --cache-fi \ 980 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 981 ac_prev=cache_file ;; 982 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 983 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 984 cache_file=$ac_optarg ;; 985 986 --config-cache | -C) 987 cache_file=config.cache ;; 988 989 -datadir | --datadir | --datadi | --datad) 990 ac_prev=datadir ;; 991 -datadir=* | --datadir=* | --datadi=* | --datad=*) 992 datadir=$ac_optarg ;; 993 994 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 995 | --dataroo | --dataro | --datar) 996 ac_prev=datarootdir ;; 997 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 998 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 999 datarootdir=$ac_optarg ;; 1000 1001 -disable-* | --disable-*) 1002 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1003 # Reject names that are not valid shell variable names. 1004 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1005 as_fn_error $? "invalid feature name: $ac_useropt" 1006 ac_useropt_orig=$ac_useropt 1007 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1008 case $ac_user_opts in 1009 *" 1010"enable_$ac_useropt" 1011"*) ;; 1012 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1013 ac_unrecognized_sep=', ';; 1014 esac 1015 eval enable_$ac_useropt=no ;; 1016 1017 -docdir | --docdir | --docdi | --doc | --do) 1018 ac_prev=docdir ;; 1019 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1020 docdir=$ac_optarg ;; 1021 1022 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1023 ac_prev=dvidir ;; 1024 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1025 dvidir=$ac_optarg ;; 1026 1027 -enable-* | --enable-*) 1028 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1029 # Reject names that are not valid shell variable names. 1030 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1031 as_fn_error $? "invalid feature name: $ac_useropt" 1032 ac_useropt_orig=$ac_useropt 1033 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1034 case $ac_user_opts in 1035 *" 1036"enable_$ac_useropt" 1037"*) ;; 1038 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1039 ac_unrecognized_sep=', ';; 1040 esac 1041 eval enable_$ac_useropt=\$ac_optarg ;; 1042 1043 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1044 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1045 | --exec | --exe | --ex) 1046 ac_prev=exec_prefix ;; 1047 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1048 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1049 | --exec=* | --exe=* | --ex=*) 1050 exec_prefix=$ac_optarg ;; 1051 1052 -gas | --gas | --ga | --g) 1053 # Obsolete; use --with-gas. 1054 with_gas=yes ;; 1055 1056 -help | --help | --hel | --he | -h) 1057 ac_init_help=long ;; 1058 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1059 ac_init_help=recursive ;; 1060 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1061 ac_init_help=short ;; 1062 1063 -host | --host | --hos | --ho) 1064 ac_prev=host_alias ;; 1065 -host=* | --host=* | --hos=* | --ho=*) 1066 host_alias=$ac_optarg ;; 1067 1068 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1069 ac_prev=htmldir ;; 1070 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1071 | --ht=*) 1072 htmldir=$ac_optarg ;; 1073 1074 -includedir | --includedir | --includedi | --included | --include \ 1075 | --includ | --inclu | --incl | --inc) 1076 ac_prev=includedir ;; 1077 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1078 | --includ=* | --inclu=* | --incl=* | --inc=*) 1079 includedir=$ac_optarg ;; 1080 1081 -infodir | --infodir | --infodi | --infod | --info | --inf) 1082 ac_prev=infodir ;; 1083 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1084 infodir=$ac_optarg ;; 1085 1086 -libdir | --libdir | --libdi | --libd) 1087 ac_prev=libdir ;; 1088 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1089 libdir=$ac_optarg ;; 1090 1091 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1092 | --libexe | --libex | --libe) 1093 ac_prev=libexecdir ;; 1094 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1095 | --libexe=* | --libex=* | --libe=*) 1096 libexecdir=$ac_optarg ;; 1097 1098 -localedir | --localedir | --localedi | --localed | --locale) 1099 ac_prev=localedir ;; 1100 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1101 localedir=$ac_optarg ;; 1102 1103 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1104 | --localstate | --localstat | --localsta | --localst | --locals) 1105 ac_prev=localstatedir ;; 1106 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1107 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1108 localstatedir=$ac_optarg ;; 1109 1110 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1111 ac_prev=mandir ;; 1112 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1113 mandir=$ac_optarg ;; 1114 1115 -nfp | --nfp | --nf) 1116 # Obsolete; use --without-fp. 1117 with_fp=no ;; 1118 1119 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1120 | --no-cr | --no-c | -n) 1121 no_create=yes ;; 1122 1123 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1124 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1125 no_recursion=yes ;; 1126 1127 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1128 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1129 | --oldin | --oldi | --old | --ol | --o) 1130 ac_prev=oldincludedir ;; 1131 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1132 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1133 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1134 oldincludedir=$ac_optarg ;; 1135 1136 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1137 ac_prev=prefix ;; 1138 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1139 prefix=$ac_optarg ;; 1140 1141 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1142 | --program-pre | --program-pr | --program-p) 1143 ac_prev=program_prefix ;; 1144 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1145 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1146 program_prefix=$ac_optarg ;; 1147 1148 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1149 | --program-suf | --program-su | --program-s) 1150 ac_prev=program_suffix ;; 1151 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1152 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1153 program_suffix=$ac_optarg ;; 1154 1155 -program-transform-name | --program-transform-name \ 1156 | --program-transform-nam | --program-transform-na \ 1157 | --program-transform-n | --program-transform- \ 1158 | --program-transform | --program-transfor \ 1159 | --program-transfo | --program-transf \ 1160 | --program-trans | --program-tran \ 1161 | --progr-tra | --program-tr | --program-t) 1162 ac_prev=program_transform_name ;; 1163 -program-transform-name=* | --program-transform-name=* \ 1164 | --program-transform-nam=* | --program-transform-na=* \ 1165 | --program-transform-n=* | --program-transform-=* \ 1166 | --program-transform=* | --program-transfor=* \ 1167 | --program-transfo=* | --program-transf=* \ 1168 | --program-trans=* | --program-tran=* \ 1169 | --progr-tra=* | --program-tr=* | --program-t=*) 1170 program_transform_name=$ac_optarg ;; 1171 1172 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1173 ac_prev=pdfdir ;; 1174 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1175 pdfdir=$ac_optarg ;; 1176 1177 -psdir | --psdir | --psdi | --psd | --ps) 1178 ac_prev=psdir ;; 1179 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1180 psdir=$ac_optarg ;; 1181 1182 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1183 | -silent | --silent | --silen | --sile | --sil) 1184 silent=yes ;; 1185 1186 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1187 ac_prev=sbindir ;; 1188 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1189 | --sbi=* | --sb=*) 1190 sbindir=$ac_optarg ;; 1191 1192 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1193 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1194 | --sharedst | --shareds | --shared | --share | --shar \ 1195 | --sha | --sh) 1196 ac_prev=sharedstatedir ;; 1197 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1198 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1199 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1200 | --sha=* | --sh=*) 1201 sharedstatedir=$ac_optarg ;; 1202 1203 -site | --site | --sit) 1204 ac_prev=site ;; 1205 -site=* | --site=* | --sit=*) 1206 site=$ac_optarg ;; 1207 1208 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1209 ac_prev=srcdir ;; 1210 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1211 srcdir=$ac_optarg ;; 1212 1213 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1214 | --syscon | --sysco | --sysc | --sys | --sy) 1215 ac_prev=sysconfdir ;; 1216 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1217 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1218 sysconfdir=$ac_optarg ;; 1219 1220 -target | --target | --targe | --targ | --tar | --ta | --t) 1221 ac_prev=target_alias ;; 1222 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1223 target_alias=$ac_optarg ;; 1224 1225 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1226 verbose=yes ;; 1227 1228 -version | --version | --versio | --versi | --vers | -V) 1229 ac_init_version=: ;; 1230 1231 -with-* | --with-*) 1232 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1233 # Reject names that are not valid shell variable names. 1234 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1235 as_fn_error $? "invalid package name: $ac_useropt" 1236 ac_useropt_orig=$ac_useropt 1237 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1238 case $ac_user_opts in 1239 *" 1240"with_$ac_useropt" 1241"*) ;; 1242 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1243 ac_unrecognized_sep=', ';; 1244 esac 1245 eval with_$ac_useropt=\$ac_optarg ;; 1246 1247 -without-* | --without-*) 1248 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1249 # Reject names that are not valid shell variable names. 1250 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1251 as_fn_error $? "invalid package name: $ac_useropt" 1252 ac_useropt_orig=$ac_useropt 1253 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1254 case $ac_user_opts in 1255 *" 1256"with_$ac_useropt" 1257"*) ;; 1258 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1259 ac_unrecognized_sep=', ';; 1260 esac 1261 eval with_$ac_useropt=no ;; 1262 1263 --x) 1264 # Obsolete; use --with-x. 1265 with_x=yes ;; 1266 1267 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1268 | --x-incl | --x-inc | --x-in | --x-i) 1269 ac_prev=x_includes ;; 1270 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1271 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1272 x_includes=$ac_optarg ;; 1273 1274 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1275 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1276 ac_prev=x_libraries ;; 1277 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1278 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1279 x_libraries=$ac_optarg ;; 1280 1281 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1282Try \`$0 --help' for more information" 1283 ;; 1284 1285 *=*) 1286 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1287 # Reject names that are not valid shell variable names. 1288 case $ac_envvar in #( 1289 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1290 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1291 esac 1292 eval $ac_envvar=\$ac_optarg 1293 export $ac_envvar ;; 1294 1295 *) 1296 # FIXME: should be removed in autoconf 3.0. 1297 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1298 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1299 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1300 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1301 ;; 1302 1303 esac 1304done 1305 1306if test -n "$ac_prev"; then 1307 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1308 as_fn_error $? "missing argument to $ac_option" 1309fi 1310 1311if test -n "$ac_unrecognized_opts"; then 1312 case $enable_option_checking in 1313 no) ;; 1314 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1315 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1316 esac 1317fi 1318 1319# Check all directory arguments for consistency. 1320for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1321 datadir sysconfdir sharedstatedir localstatedir includedir \ 1322 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1323 libdir localedir mandir 1324do 1325 eval ac_val=\$$ac_var 1326 # Remove trailing slashes. 1327 case $ac_val in 1328 */ ) 1329 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1330 eval $ac_var=\$ac_val;; 1331 esac 1332 # Be sure to have absolute directory names. 1333 case $ac_val in 1334 [\\/$]* | ?:[\\/]* ) continue;; 1335 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1336 esac 1337 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1338done 1339 1340# There might be people who depend on the old broken behavior: `$host' 1341# used to hold the argument of --host etc. 1342# FIXME: To remove some day. 1343build=$build_alias 1344host=$host_alias 1345target=$target_alias 1346 1347# FIXME: To remove some day. 1348if test "x$host_alias" != x; then 1349 if test "x$build_alias" = x; then 1350 cross_compiling=maybe 1351 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1352 If a cross compiler is detected then cross compile mode will be used" >&2 1353 elif test "x$build_alias" != "x$host_alias"; then 1354 cross_compiling=yes 1355 fi 1356fi 1357 1358ac_tool_prefix= 1359test -n "$host_alias" && ac_tool_prefix=$host_alias- 1360 1361test "$silent" = yes && exec 6>/dev/null 1362 1363 1364ac_pwd=`pwd` && test -n "$ac_pwd" && 1365ac_ls_di=`ls -di .` && 1366ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1367 as_fn_error $? "working directory cannot be determined" 1368test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1369 as_fn_error $? "pwd does not report name of working directory" 1370 1371 1372# Find the source files, if location was not specified. 1373if test -z "$srcdir"; then 1374 ac_srcdir_defaulted=yes 1375 # Try the directory containing this script, then the parent directory. 1376 ac_confdir=`$as_dirname -- "$as_myself" || 1377$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1378 X"$as_myself" : 'X\(//\)[^/]' \| \ 1379 X"$as_myself" : 'X\(//\)$' \| \ 1380 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1381$as_echo X"$as_myself" | 1382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1383 s//\1/ 1384 q 1385 } 1386 /^X\(\/\/\)[^/].*/{ 1387 s//\1/ 1388 q 1389 } 1390 /^X\(\/\/\)$/{ 1391 s//\1/ 1392 q 1393 } 1394 /^X\(\/\).*/{ 1395 s//\1/ 1396 q 1397 } 1398 s/.*/./; q'` 1399 srcdir=$ac_confdir 1400 if test ! -r "$srcdir/$ac_unique_file"; then 1401 srcdir=.. 1402 fi 1403else 1404 ac_srcdir_defaulted=no 1405fi 1406if test ! -r "$srcdir/$ac_unique_file"; then 1407 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1408 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1409fi 1410ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1411ac_abs_confdir=`( 1412 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1413 pwd)` 1414# When building in place, set srcdir=. 1415if test "$ac_abs_confdir" = "$ac_pwd"; then 1416 srcdir=. 1417fi 1418# Remove unnecessary trailing slashes from srcdir. 1419# Double slashes in file names in object file debugging info 1420# mess up M-x gdb in Emacs. 1421case $srcdir in 1422*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1423esac 1424for ac_var in $ac_precious_vars; do 1425 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1426 eval ac_env_${ac_var}_value=\$${ac_var} 1427 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1428 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1429done 1430 1431# 1432# Report the --help message. 1433# 1434if test "$ac_init_help" = "long"; then 1435 # Omit some internal or obsolete options to make the list less imposing. 1436 # This message is too long to be a string in the A/UX 3.1 sh. 1437 cat <<_ACEOF 1438\`configure' configures compizconfig-backend-gconf 0.8.8 to adapt to many kinds of systems. 1439 1440Usage: $0 [OPTION]... [VAR=VALUE]... 1441 1442To assign environment variables (e.g., CC, CFLAGS...), specify them as 1443VAR=VALUE. See below for descriptions of some of the useful variables. 1444 1445Defaults for the options are specified in brackets. 1446 1447Configuration: 1448 -h, --help display this help and exit 1449 --help=short display options specific to this package 1450 --help=recursive display the short help of all the included packages 1451 -V, --version display version information and exit 1452 -q, --quiet, --silent do not print \`checking ...' messages 1453 --cache-file=FILE cache test results in FILE [disabled] 1454 -C, --config-cache alias for \`--cache-file=config.cache' 1455 -n, --no-create do not create output files 1456 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1457 1458Installation directories: 1459 --prefix=PREFIX install architecture-independent files in PREFIX 1460 [$ac_default_prefix] 1461 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1462 [PREFIX] 1463 1464By default, \`make install' will install all the files in 1465\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1466an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1467for instance \`--prefix=\$HOME'. 1468 1469For better control, use the options below. 1470 1471Fine tuning of the installation directories: 1472 --bindir=DIR user executables [EPREFIX/bin] 1473 --sbindir=DIR system admin executables [EPREFIX/sbin] 1474 --libexecdir=DIR program executables [EPREFIX/libexec] 1475 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1476 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1477 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1478 --libdir=DIR object code libraries [EPREFIX/lib] 1479 --includedir=DIR C header files [PREFIX/include] 1480 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1481 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1482 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1483 --infodir=DIR info documentation [DATAROOTDIR/info] 1484 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1485 --mandir=DIR man documentation [DATAROOTDIR/man] 1486 --docdir=DIR documentation root 1487 [DATAROOTDIR/doc/compizconfig-backend-gconf] 1488 --htmldir=DIR html documentation [DOCDIR] 1489 --dvidir=DIR dvi documentation [DOCDIR] 1490 --pdfdir=DIR pdf documentation [DOCDIR] 1491 --psdir=DIR ps documentation [DOCDIR] 1492_ACEOF 1493 1494 cat <<\_ACEOF 1495 1496Program names: 1497 --program-prefix=PREFIX prepend PREFIX to installed program names 1498 --program-suffix=SUFFIX append SUFFIX to installed program names 1499 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1500 1501System types: 1502 --build=BUILD configure for building on BUILD [guessed] 1503 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1504_ACEOF 1505fi 1506 1507if test -n "$ac_init_help"; then 1508 case $ac_init_help in 1509 short | recursive ) echo "Configuration of compizconfig-backend-gconf 0.8.8:";; 1510 esac 1511 cat <<\_ACEOF 1512 1513Optional Features: 1514 --disable-option-checking ignore unrecognized --enable/--with options 1515 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1516 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1517 --enable-maintainer-mode enable make rules and dependencies not useful 1518 (and sometimes confusing) to the casual installer 1519 --disable-dependency-tracking speeds up one-time build 1520 --enable-dependency-tracking do not reject slow dependency extractors 1521 --enable-shared[=PKGS] build shared libraries [default=yes] 1522 --enable-static[=PKGS] build static libraries [default=yes] 1523 --enable-fast-install[=PKGS] 1524 optimize for fast installation [default=yes] 1525 --disable-libtool-lock avoid locking (might break parallel builds) 1526 1527Optional Packages: 1528 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1529 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1530 --with-pic try to use only PIC/non-PIC objects [default=use 1531 both] 1532 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1533 1534Some influential environment variables: 1535 CC C compiler command 1536 CFLAGS C compiler flags 1537 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1538 nonstandard directory <lib dir> 1539 LIBS libraries to pass to the linker, e.g. -l<library> 1540 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1541 you have headers in a nonstandard directory <include dir> 1542 CPP C preprocessor 1543 PKG_CONFIG path to pkg-config utility 1544 PKG_CONFIG_PATH 1545 directories to add to pkg-config's search path 1546 PKG_CONFIG_LIBDIR 1547 path overriding pkg-config's built-in search path 1548 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config 1549 GLIB_LIBS linker flags for GLIB, overriding pkg-config 1550 GCONF_CFLAGS 1551 C compiler flags for GCONF, overriding pkg-config 1552 GCONF_LIBS linker flags for GCONF, overriding pkg-config 1553 CCS_CFLAGS C compiler flags for CCS, overriding pkg-config 1554 CCS_LIBS linker flags for CCS, overriding pkg-config 1555 1556Use these variables to override the choices made by `configure' or to help 1557it to find libraries and programs with nonstandard names/locations. 1558 1559Report bugs to <maniac@opencompositing.org>. 1560_ACEOF 1561ac_status=$? 1562fi 1563 1564if test "$ac_init_help" = "recursive"; then 1565 # If there are subdirs, report their specific --help. 1566 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1567 test -d "$ac_dir" || 1568 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1569 continue 1570 ac_builddir=. 1571 1572case "$ac_dir" in 1573.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1574*) 1575 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1576 # A ".." for each directory in $ac_dir_suffix. 1577 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1578 case $ac_top_builddir_sub in 1579 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1580 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1581 esac ;; 1582esac 1583ac_abs_top_builddir=$ac_pwd 1584ac_abs_builddir=$ac_pwd$ac_dir_suffix 1585# for backward compatibility: 1586ac_top_builddir=$ac_top_build_prefix 1587 1588case $srcdir in 1589 .) # We are building in place. 1590 ac_srcdir=. 1591 ac_top_srcdir=$ac_top_builddir_sub 1592 ac_abs_top_srcdir=$ac_pwd ;; 1593 [\\/]* | ?:[\\/]* ) # Absolute name. 1594 ac_srcdir=$srcdir$ac_dir_suffix; 1595 ac_top_srcdir=$srcdir 1596 ac_abs_top_srcdir=$srcdir ;; 1597 *) # Relative name. 1598 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1599 ac_top_srcdir=$ac_top_build_prefix$srcdir 1600 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1601esac 1602ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1603 1604 cd "$ac_dir" || { ac_status=$?; continue; } 1605 # Check for guested configure. 1606 if test -f "$ac_srcdir/configure.gnu"; then 1607 echo && 1608 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1609 elif test -f "$ac_srcdir/configure"; then 1610 echo && 1611 $SHELL "$ac_srcdir/configure" --help=recursive 1612 else 1613 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1614 fi || ac_status=$? 1615 cd "$ac_pwd" || { ac_status=$?; break; } 1616 done 1617fi 1618 1619test -n "$ac_init_help" && exit $ac_status 1620if $ac_init_version; then 1621 cat <<\_ACEOF 1622compizconfig-backend-gconf configure 0.8.8 1623generated by GNU Autoconf 2.67 1624 1625Copyright (C) 2010 Free Software Foundation, Inc. 1626This configure script is free software; the Free Software Foundation 1627gives unlimited permission to copy, distribute and modify it. 1628_ACEOF 1629 exit 1630fi 1631 1632## ------------------------ ## 1633## Autoconf initialization. ## 1634## ------------------------ ## 1635 1636# ac_fn_c_try_compile LINENO 1637# -------------------------- 1638# Try to compile conftest.$ac_ext, and return whether this succeeded. 1639ac_fn_c_try_compile () 1640{ 1641 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1642 rm -f conftest.$ac_objext 1643 if { { ac_try="$ac_compile" 1644case "(($ac_try" in 1645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1646 *) ac_try_echo=$ac_try;; 1647esac 1648eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1649$as_echo "$ac_try_echo"; } >&5 1650 (eval "$ac_compile") 2>conftest.err 1651 ac_status=$? 1652 if test -s conftest.err; then 1653 grep -v '^ *+' conftest.err >conftest.er1 1654 cat conftest.er1 >&5 1655 mv -f conftest.er1 conftest.err 1656 fi 1657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1658 test $ac_status = 0; } && { 1659 test -z "$ac_c_werror_flag" || 1660 test ! -s conftest.err 1661 } && test -s conftest.$ac_objext; then : 1662 ac_retval=0 1663else 1664 $as_echo "$as_me: failed program was:" >&5 1665sed 's/^/| /' conftest.$ac_ext >&5 1666 1667 ac_retval=1 1668fi 1669 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1670 as_fn_set_status $ac_retval 1671 1672} # ac_fn_c_try_compile 1673 1674# ac_fn_c_try_link LINENO 1675# ----------------------- 1676# Try to link conftest.$ac_ext, and return whether this succeeded. 1677ac_fn_c_try_link () 1678{ 1679 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1680 rm -f conftest.$ac_objext conftest$ac_exeext 1681 if { { ac_try="$ac_link" 1682case "(($ac_try" in 1683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1684 *) ac_try_echo=$ac_try;; 1685esac 1686eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1687$as_echo "$ac_try_echo"; } >&5 1688 (eval "$ac_link") 2>conftest.err 1689 ac_status=$? 1690 if test -s conftest.err; then 1691 grep -v '^ *+' conftest.err >conftest.er1 1692 cat conftest.er1 >&5 1693 mv -f conftest.er1 conftest.err 1694 fi 1695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1696 test $ac_status = 0; } && { 1697 test -z "$ac_c_werror_flag" || 1698 test ! -s conftest.err 1699 } && test -s conftest$ac_exeext && { 1700 test "$cross_compiling" = yes || 1701 $as_test_x conftest$ac_exeext 1702 }; then : 1703 ac_retval=0 1704else 1705 $as_echo "$as_me: failed program was:" >&5 1706sed 's/^/| /' conftest.$ac_ext >&5 1707 1708 ac_retval=1 1709fi 1710 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1711 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1712 # interfere with the next link command; also delete a directory that is 1713 # left behind by Apple's compiler. We do this before executing the actions. 1714 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1715 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1716 as_fn_set_status $ac_retval 1717 1718} # ac_fn_c_try_link 1719 1720# ac_fn_c_try_cpp LINENO 1721# ---------------------- 1722# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1723ac_fn_c_try_cpp () 1724{ 1725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1726 if { { ac_try="$ac_cpp conftest.$ac_ext" 1727case "(($ac_try" in 1728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1729 *) ac_try_echo=$ac_try;; 1730esac 1731eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1732$as_echo "$ac_try_echo"; } >&5 1733 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1734 ac_status=$? 1735 if test -s conftest.err; then 1736 grep -v '^ *+' conftest.err >conftest.er1 1737 cat conftest.er1 >&5 1738 mv -f conftest.er1 conftest.err 1739 fi 1740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1741 test $ac_status = 0; } > conftest.i && { 1742 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1743 test ! -s conftest.err 1744 }; then : 1745 ac_retval=0 1746else 1747 $as_echo "$as_me: failed program was:" >&5 1748sed 's/^/| /' conftest.$ac_ext >&5 1749 1750 ac_retval=1 1751fi 1752 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1753 as_fn_set_status $ac_retval 1754 1755} # ac_fn_c_try_cpp 1756 1757# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1758# ------------------------------------------------------- 1759# Tests whether HEADER exists and can be compiled using the include files in 1760# INCLUDES, setting the cache variable VAR accordingly. 1761ac_fn_c_check_header_compile () 1762{ 1763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1765$as_echo_n "checking for $2... " >&6; } 1766if eval "test \"\${$3+set}\"" = set; then : 1767 $as_echo_n "(cached) " >&6 1768else 1769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1770/* end confdefs.h. */ 1771$4 1772#include <$2> 1773_ACEOF 1774if ac_fn_c_try_compile "$LINENO"; then : 1775 eval "$3=yes" 1776else 1777 eval "$3=no" 1778fi 1779rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1780fi 1781eval ac_res=\$$3 1782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1783$as_echo "$ac_res" >&6; } 1784 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1785 1786} # ac_fn_c_check_header_compile 1787 1788# ac_fn_c_try_run LINENO 1789# ---------------------- 1790# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1791# that executables *can* be run. 1792ac_fn_c_try_run () 1793{ 1794 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1795 if { { ac_try="$ac_link" 1796case "(($ac_try" in 1797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1798 *) ac_try_echo=$ac_try;; 1799esac 1800eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1801$as_echo "$ac_try_echo"; } >&5 1802 (eval "$ac_link") 2>&5 1803 ac_status=$? 1804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1805 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1806 { { case "(($ac_try" in 1807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1808 *) ac_try_echo=$ac_try;; 1809esac 1810eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1811$as_echo "$ac_try_echo"; } >&5 1812 (eval "$ac_try") 2>&5 1813 ac_status=$? 1814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1815 test $ac_status = 0; }; }; then : 1816 ac_retval=0 1817else 1818 $as_echo "$as_me: program exited with status $ac_status" >&5 1819 $as_echo "$as_me: failed program was:" >&5 1820sed 's/^/| /' conftest.$ac_ext >&5 1821 1822 ac_retval=$ac_status 1823fi 1824 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1825 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1826 as_fn_set_status $ac_retval 1827 1828} # ac_fn_c_try_run 1829 1830# ac_fn_c_check_func LINENO FUNC VAR 1831# ---------------------------------- 1832# Tests whether FUNC exists, setting the cache variable VAR accordingly 1833ac_fn_c_check_func () 1834{ 1835 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1837$as_echo_n "checking for $2... " >&6; } 1838if eval "test \"\${$3+set}\"" = set; then : 1839 $as_echo_n "(cached) " >&6 1840else 1841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1842/* end confdefs.h. */ 1843/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1844 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1845#define $2 innocuous_$2 1846 1847/* System header to define __stub macros and hopefully few prototypes, 1848 which can conflict with char $2 (); below. 1849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1850 <limits.h> exists even on freestanding compilers. */ 1851 1852#ifdef __STDC__ 1853# include <limits.h> 1854#else 1855# include <assert.h> 1856#endif 1857 1858#undef $2 1859 1860/* Override any GCC internal prototype to avoid an error. 1861 Use char because int might match the return type of a GCC 1862 builtin and then its argument prototype would still apply. */ 1863#ifdef __cplusplus 1864extern "C" 1865#endif 1866char $2 (); 1867/* The GNU C library defines this for functions which it implements 1868 to always fail with ENOSYS. Some functions are actually named 1869 something starting with __ and the normal name is an alias. */ 1870#if defined __stub_$2 || defined __stub___$2 1871choke me 1872#endif 1873 1874int 1875main () 1876{ 1877return $2 (); 1878 ; 1879 return 0; 1880} 1881_ACEOF 1882if ac_fn_c_try_link "$LINENO"; then : 1883 eval "$3=yes" 1884else 1885 eval "$3=no" 1886fi 1887rm -f core conftest.err conftest.$ac_objext \ 1888 conftest$ac_exeext conftest.$ac_ext 1889fi 1890eval ac_res=\$$3 1891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1892$as_echo "$ac_res" >&6; } 1893 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1894 1895} # ac_fn_c_check_func 1896 1897# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1898# ------------------------------------------------------- 1899# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1900# the include files in INCLUDES and setting the cache variable VAR 1901# accordingly. 1902ac_fn_c_check_header_mongrel () 1903{ 1904 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1905 if eval "test \"\${$3+set}\"" = set; then : 1906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1907$as_echo_n "checking for $2... " >&6; } 1908if eval "test \"\${$3+set}\"" = set; then : 1909 $as_echo_n "(cached) " >&6 1910fi 1911eval ac_res=\$$3 1912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1913$as_echo "$ac_res" >&6; } 1914else 1915 # Is the header compilable? 1916{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1917$as_echo_n "checking $2 usability... " >&6; } 1918cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1919/* end confdefs.h. */ 1920$4 1921#include <$2> 1922_ACEOF 1923if ac_fn_c_try_compile "$LINENO"; then : 1924 ac_header_compiler=yes 1925else 1926 ac_header_compiler=no 1927fi 1928rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1930$as_echo "$ac_header_compiler" >&6; } 1931 1932# Is the header present? 1933{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1934$as_echo_n "checking $2 presence... " >&6; } 1935cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1936/* end confdefs.h. */ 1937#include <$2> 1938_ACEOF 1939if ac_fn_c_try_cpp "$LINENO"; then : 1940 ac_header_preproc=yes 1941else 1942 ac_header_preproc=no 1943fi 1944rm -f conftest.err conftest.i conftest.$ac_ext 1945{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1946$as_echo "$ac_header_preproc" >&6; } 1947 1948# So? What about this header? 1949case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1950 yes:no: ) 1951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1952$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1954$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1955 ;; 1956 no:yes:* ) 1957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1958$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1960$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1962$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1964$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1966$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1967( $as_echo "## ----------------------------------------- ## 1968## Report this to maniac@opencompositing.org ## 1969## ----------------------------------------- ##" 1970 ) | sed "s/^/$as_me: WARNING: /" >&2 1971 ;; 1972esac 1973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1974$as_echo_n "checking for $2... " >&6; } 1975if eval "test \"\${$3+set}\"" = set; then : 1976 $as_echo_n "(cached) " >&6 1977else 1978 eval "$3=\$ac_header_compiler" 1979fi 1980eval ac_res=\$$3 1981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1982$as_echo "$ac_res" >&6; } 1983fi 1984 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1985 1986} # ac_fn_c_check_header_mongrel 1987cat >config.log <<_ACEOF 1988This file contains any messages produced by compilers while 1989running configure, to aid debugging if configure makes a mistake. 1990 1991It was created by compizconfig-backend-gconf $as_me 0.8.8, which was 1992generated by GNU Autoconf 2.67. Invocation command line was 1993 1994 $ $0 $@ 1995 1996_ACEOF 1997exec 5>>config.log 1998{ 1999cat <<_ASUNAME 2000## --------- ## 2001## Platform. ## 2002## --------- ## 2003 2004hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2005uname -m = `(uname -m) 2>/dev/null || echo unknown` 2006uname -r = `(uname -r) 2>/dev/null || echo unknown` 2007uname -s = `(uname -s) 2>/dev/null || echo unknown` 2008uname -v = `(uname -v) 2>/dev/null || echo unknown` 2009 2010/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2011/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2012 2013/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2014/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2015/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2016/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2017/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2018/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2019/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2020 2021_ASUNAME 2022 2023as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2024for as_dir in $PATH 2025do 2026 IFS=$as_save_IFS 2027 test -z "$as_dir" && as_dir=. 2028 $as_echo "PATH: $as_dir" 2029 done 2030IFS=$as_save_IFS 2031 2032} >&5 2033 2034cat >&5 <<_ACEOF 2035 2036 2037## ----------- ## 2038## Core tests. ## 2039## ----------- ## 2040 2041_ACEOF 2042 2043 2044# Keep a trace of the command line. 2045# Strip out --no-create and --no-recursion so they do not pile up. 2046# Strip out --silent because we don't want to record it for future runs. 2047# Also quote any args containing shell meta-characters. 2048# Make two passes to allow for proper duplicate-argument suppression. 2049ac_configure_args= 2050ac_configure_args0= 2051ac_configure_args1= 2052ac_must_keep_next=false 2053for ac_pass in 1 2 2054do 2055 for ac_arg 2056 do 2057 case $ac_arg in 2058 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2059 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2060 | -silent | --silent | --silen | --sile | --sil) 2061 continue ;; 2062 *\'*) 2063 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2064 esac 2065 case $ac_pass in 2066 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2067 2) 2068 as_fn_append ac_configure_args1 " '$ac_arg'" 2069 if test $ac_must_keep_next = true; then 2070 ac_must_keep_next=false # Got value, back to normal. 2071 else 2072 case $ac_arg in 2073 *=* | --config-cache | -C | -disable-* | --disable-* \ 2074 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2075 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2076 | -with-* | --with-* | -without-* | --without-* | --x) 2077 case "$ac_configure_args0 " in 2078 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2079 esac 2080 ;; 2081 -* ) ac_must_keep_next=true ;; 2082 esac 2083 fi 2084 as_fn_append ac_configure_args " '$ac_arg'" 2085 ;; 2086 esac 2087 done 2088done 2089{ ac_configure_args0=; unset ac_configure_args0;} 2090{ ac_configure_args1=; unset ac_configure_args1;} 2091 2092# When interrupted or exit'd, cleanup temporary files, and complete 2093# config.log. We remove comments because anyway the quotes in there 2094# would cause problems or look ugly. 2095# WARNING: Use '\'' to represent an apostrophe within the trap. 2096# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2097trap 'exit_status=$? 2098 # Save into config.log some information that might help in debugging. 2099 { 2100 echo 2101 2102 $as_echo "## ---------------- ## 2103## Cache variables. ## 2104## ---------------- ##" 2105 echo 2106 # The following way of writing the cache mishandles newlines in values, 2107( 2108 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2109 eval ac_val=\$$ac_var 2110 case $ac_val in #( 2111 *${as_nl}*) 2112 case $ac_var in #( 2113 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2114$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2115 esac 2116 case $ac_var in #( 2117 _ | IFS | as_nl) ;; #( 2118 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2119 *) { eval $ac_var=; unset $ac_var;} ;; 2120 esac ;; 2121 esac 2122 done 2123 (set) 2>&1 | 2124 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2125 *${as_nl}ac_space=\ *) 2126 sed -n \ 2127 "s/'\''/'\''\\\\'\'''\''/g; 2128 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2129 ;; #( 2130 *) 2131 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2132 ;; 2133 esac | 2134 sort 2135) 2136 echo 2137 2138 $as_echo "## ----------------- ## 2139## Output variables. ## 2140## ----------------- ##" 2141 echo 2142 for ac_var in $ac_subst_vars 2143 do 2144 eval ac_val=\$$ac_var 2145 case $ac_val in 2146 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2147 esac 2148 $as_echo "$ac_var='\''$ac_val'\''" 2149 done | sort 2150 echo 2151 2152 if test -n "$ac_subst_files"; then 2153 $as_echo "## ------------------- ## 2154## File substitutions. ## 2155## ------------------- ##" 2156 echo 2157 for ac_var in $ac_subst_files 2158 do 2159 eval ac_val=\$$ac_var 2160 case $ac_val in 2161 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2162 esac 2163 $as_echo "$ac_var='\''$ac_val'\''" 2164 done | sort 2165 echo 2166 fi 2167 2168 if test -s confdefs.h; then 2169 $as_echo "## ----------- ## 2170## confdefs.h. ## 2171## ----------- ##" 2172 echo 2173 cat confdefs.h 2174 echo 2175 fi 2176 test "$ac_signal" != 0 && 2177 $as_echo "$as_me: caught signal $ac_signal" 2178 $as_echo "$as_me: exit $exit_status" 2179 } >&5 2180 rm -f core *.core core.conftest.* && 2181 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2182 exit $exit_status 2183' 0 2184for ac_signal in 1 2 13 15; do 2185 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2186done 2187ac_signal=0 2188 2189# confdefs.h avoids OS command line length limits that DEFS can exceed. 2190rm -f -r conftest* confdefs.h 2191 2192$as_echo "/* confdefs.h */" > confdefs.h 2193 2194# Predefined preprocessor variables. 2195 2196cat >>confdefs.h <<_ACEOF 2197#define PACKAGE_NAME "$PACKAGE_NAME" 2198_ACEOF 2199 2200cat >>confdefs.h <<_ACEOF 2201#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2202_ACEOF 2203 2204cat >>confdefs.h <<_ACEOF 2205#define PACKAGE_VERSION "$PACKAGE_VERSION" 2206_ACEOF 2207 2208cat >>confdefs.h <<_ACEOF 2209#define PACKAGE_STRING "$PACKAGE_STRING" 2210_ACEOF 2211 2212cat >>confdefs.h <<_ACEOF 2213#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2214_ACEOF 2215 2216cat >>confdefs.h <<_ACEOF 2217#define PACKAGE_URL "$PACKAGE_URL" 2218_ACEOF 2219 2220 2221# Let the site file select an alternate cache file if it wants to. 2222# Prefer an explicitly selected file to automatically selected ones. 2223ac_site_file1=NONE 2224ac_site_file2=NONE 2225if test -n "$CONFIG_SITE"; then 2226 # We do not want a PATH search for config.site. 2227 case $CONFIG_SITE in #(( 2228 -*) ac_site_file1=./$CONFIG_SITE;; 2229 */*) ac_site_file1=$CONFIG_SITE;; 2230 *) ac_site_file1=./$CONFIG_SITE;; 2231 esac 2232elif test "x$prefix" != xNONE; then 2233 ac_site_file1=$prefix/share/config.site 2234 ac_site_file2=$prefix/etc/config.site 2235else 2236 ac_site_file1=$ac_default_prefix/share/config.site 2237 ac_site_file2=$ac_default_prefix/etc/config.site 2238fi 2239for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2240do 2241 test "x$ac_site_file" = xNONE && continue 2242 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2243 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2244$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2245 sed 's/^/| /' "$ac_site_file" >&5 2246 . "$ac_site_file" \ 2247 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2248$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2249as_fn_error $? "failed to load site script $ac_site_file 2250See \`config.log' for more details" "$LINENO" 5 ; } 2251 fi 2252done 2253 2254if test -r "$cache_file"; then 2255 # Some versions of bash will fail to source /dev/null (special files 2256 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2257 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2258 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2259$as_echo "$as_me: loading cache $cache_file" >&6;} 2260 case $cache_file in 2261 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2262 *) . "./$cache_file";; 2263 esac 2264 fi 2265else 2266 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2267$as_echo "$as_me: creating cache $cache_file" >&6;} 2268 >$cache_file 2269fi 2270 2271# Check that the precious variables saved in the cache have kept the same 2272# value. 2273ac_cache_corrupted=false 2274for ac_var in $ac_precious_vars; do 2275 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2276 eval ac_new_set=\$ac_env_${ac_var}_set 2277 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2278 eval ac_new_val=\$ac_env_${ac_var}_value 2279 case $ac_old_set,$ac_new_set in 2280 set,) 2281 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2282$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2283 ac_cache_corrupted=: ;; 2284 ,set) 2285 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2286$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2287 ac_cache_corrupted=: ;; 2288 ,);; 2289 *) 2290 if test "x$ac_old_val" != "x$ac_new_val"; then 2291 # differences in whitespace do not lead to failure. 2292 ac_old_val_w=`echo x $ac_old_val` 2293 ac_new_val_w=`echo x $ac_new_val` 2294 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2295 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2296$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2297 ac_cache_corrupted=: 2298 else 2299 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2300$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2301 eval $ac_var=\$ac_old_val 2302 fi 2303 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2304$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2305 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2306$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2307 fi;; 2308 esac 2309 # Pass precious variables to config.status. 2310 if test "$ac_new_set" = set; then 2311 case $ac_new_val in 2312 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2313 *) ac_arg=$ac_var=$ac_new_val ;; 2314 esac 2315 case " $ac_configure_args " in 2316 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2317 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2318 esac 2319 fi 2320done 2321if $ac_cache_corrupted; then 2322 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2323$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2324 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2325$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2326 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2327fi 2328## -------------------- ## 2329## Main body of script. ## 2330## -------------------- ## 2331 2332ac_ext=c 2333ac_cpp='$CPP $CPPFLAGS' 2334ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2335ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2336ac_compiler_gnu=$ac_cv_c_compiler_gnu 2337 2338 2339 2340#AC_CONFIG_AUX_DIR(config) 2341 2342am__api_version='1.11' 2343 2344ac_aux_dir= 2345for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2346 if test -f "$ac_dir/install-sh"; then 2347 ac_aux_dir=$ac_dir 2348 ac_install_sh="$ac_aux_dir/install-sh -c" 2349 break 2350 elif test -f "$ac_dir/install.sh"; then 2351 ac_aux_dir=$ac_dir 2352 ac_install_sh="$ac_aux_dir/install.sh -c" 2353 break 2354 elif test -f "$ac_dir/shtool"; then 2355 ac_aux_dir=$ac_dir 2356 ac_install_sh="$ac_aux_dir/shtool install -c" 2357 break 2358 fi 2359done 2360if test -z "$ac_aux_dir"; then 2361 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2362fi 2363 2364# These three variables are undocumented and unsupported, 2365# and are intended to be withdrawn in a future Autoconf release. 2366# They can cause serious problems if a builder's source tree is in a directory 2367# whose full name contains unusual characters. 2368ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2369ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2370ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2371 2372 2373# Find a good install program. We prefer a C program (faster), 2374# so one script is as good as another. But avoid the broken or 2375# incompatible versions: 2376# SysV /etc/install, /usr/sbin/install 2377# SunOS /usr/etc/install 2378# IRIX /sbin/install 2379# AIX /bin/install 2380# AmigaOS /C/install, which installs bootblocks on floppy discs 2381# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2382# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2383# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2384# OS/2's system install, which has a completely different semantic 2385# ./install, which can be erroneously created by make from ./install.sh. 2386# Reject install programs that cannot install multiple files. 2387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2388$as_echo_n "checking for a BSD-compatible install... " >&6; } 2389if test -z "$INSTALL"; then 2390if test "${ac_cv_path_install+set}" = set; then : 2391 $as_echo_n "(cached) " >&6 2392else 2393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2394for as_dir in $PATH 2395do 2396 IFS=$as_save_IFS 2397 test -z "$as_dir" && as_dir=. 2398 # Account for people who put trailing slashes in PATH elements. 2399case $as_dir/ in #(( 2400 ./ | .// | /[cC]/* | \ 2401 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2402 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2403 /usr/ucb/* ) ;; 2404 *) 2405 # OSF1 and SCO ODT 3.0 have their own names for install. 2406 # Don't use installbsd from OSF since it installs stuff as root 2407 # by default. 2408 for ac_prog in ginstall scoinst install; do 2409 for ac_exec_ext in '' $ac_executable_extensions; do 2410 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2411 if test $ac_prog = install && 2412 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2413 # AIX install. It has an incompatible calling convention. 2414 : 2415 elif test $ac_prog = install && 2416 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2417 # program-specific install script used by HP pwplus--don't use. 2418 : 2419 else 2420 rm -rf conftest.one conftest.two conftest.dir 2421 echo one > conftest.one 2422 echo two > conftest.two 2423 mkdir conftest.dir 2424 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2425 test -s conftest.one && test -s conftest.two && 2426 test -s conftest.dir/conftest.one && 2427 test -s conftest.dir/conftest.two 2428 then 2429 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2430 break 3 2431 fi 2432 fi 2433 fi 2434 done 2435 done 2436 ;; 2437esac 2438 2439 done 2440IFS=$as_save_IFS 2441 2442rm -rf conftest.one conftest.two conftest.dir 2443 2444fi 2445 if test "${ac_cv_path_install+set}" = set; then 2446 INSTALL=$ac_cv_path_install 2447 else 2448 # As a last resort, use the slow shell script. Don't cache a 2449 # value for INSTALL within a source directory, because that will 2450 # break other packages using the cache if that directory is 2451 # removed, or if the value is a relative name. 2452 INSTALL=$ac_install_sh 2453 fi 2454fi 2455{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2456$as_echo "$INSTALL" >&6; } 2457 2458# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2459# It thinks the first close brace ends the variable substitution. 2460test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2461 2462test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2463 2464test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2465 2466{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2467$as_echo_n "checking whether build environment is sane... " >&6; } 2468# Just in case 2469sleep 1 2470echo timestamp > conftest.file 2471# Reject unsafe characters in $srcdir or the absolute working directory 2472# name. Accept space and tab only in the latter. 2473am_lf=' 2474' 2475case `pwd` in 2476 *[\\\"\#\$\&\'\`$am_lf]*) 2477 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;; 2478esac 2479case $srcdir in 2480 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2481 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;; 2482esac 2483 2484# Do `set' in a subshell so we don't clobber the current shell's 2485# arguments. Must try -L first in case configure is actually a 2486# symlink; some systems play weird games with the mod time of symlinks 2487# (eg FreeBSD returns the mod time of the symlink's containing 2488# directory). 2489if ( 2490 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2491 if test "$*" = "X"; then 2492 # -L didn't work. 2493 set X `ls -t "$srcdir/configure" conftest.file` 2494 fi 2495 rm -f conftest.file 2496 if test "$*" != "X $srcdir/configure conftest.file" \ 2497 && test "$*" != "X conftest.file $srcdir/configure"; then 2498 2499 # If neither matched, then we have a broken ls. This can happen 2500 # if, for instance, CONFIG_SHELL is bash and it inherits a 2501 # broken ls alias from the environment. This has actually 2502 # happened. Such a system could not be considered "sane". 2503 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2504alias in your environment" "$LINENO" 5 2505 fi 2506 2507 test "$2" = conftest.file 2508 ) 2509then 2510 # Ok. 2511 : 2512else 2513 as_fn_error $? "newly created file is older than distributed files! 2514Check your system clock" "$LINENO" 5 2515fi 2516{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2517$as_echo "yes" >&6; } 2518test "$program_prefix" != NONE && 2519 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2520# Use a double $ so make ignores it. 2521test "$program_suffix" != NONE && 2522 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2523# Double any \ or $. 2524# By default was `s,x,x', remove it if useless. 2525ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2526program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2527 2528# expand $ac_aux_dir to an absolute path 2529am_aux_dir=`cd $ac_aux_dir && pwd` 2530 2531if test x"${MISSING+set}" != xset; then 2532 case $am_aux_dir in 2533 *\ * | *\ *) 2534 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2535 *) 2536 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2537 esac 2538fi 2539# Use eval to expand $SHELL 2540if eval "$MISSING --run true"; then 2541 am_missing_run="$MISSING --run " 2542else 2543 am_missing_run= 2544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2545$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2546fi 2547 2548if test x"${install_sh}" != xset; then 2549 case $am_aux_dir in 2550 *\ * | *\ *) 2551 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2552 *) 2553 install_sh="\${SHELL} $am_aux_dir/install-sh" 2554 esac 2555fi 2556 2557# Installed binaries are usually stripped using `strip' when the user 2558# run `make install-strip'. However `strip' might not be the right 2559# tool to use in cross-compilation environments, therefore Automake 2560# will honor the `STRIP' environment variable to overrule this program. 2561if test "$cross_compiling" != no; then 2562 if test -n "$ac_tool_prefix"; then 2563 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2564set dummy ${ac_tool_prefix}strip; ac_word=$2 2565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2566$as_echo_n "checking for $ac_word... " >&6; } 2567if test "${ac_cv_prog_STRIP+set}" = set; then : 2568 $as_echo_n "(cached) " >&6 2569else 2570 if test -n "$STRIP"; then 2571 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2572else 2573as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2574for as_dir in $PATH 2575do 2576 IFS=$as_save_IFS 2577 test -z "$as_dir" && as_dir=. 2578 for ac_exec_ext in '' $ac_executable_extensions; do 2579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2580 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2582 break 2 2583 fi 2584done 2585 done 2586IFS=$as_save_IFS 2587 2588fi 2589fi 2590STRIP=$ac_cv_prog_STRIP 2591if test -n "$STRIP"; then 2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2593$as_echo "$STRIP" >&6; } 2594else 2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2596$as_echo "no" >&6; } 2597fi 2598 2599 2600fi 2601if test -z "$ac_cv_prog_STRIP"; then 2602 ac_ct_STRIP=$STRIP 2603 # Extract the first word of "strip", so it can be a program name with args. 2604set dummy strip; ac_word=$2 2605{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2606$as_echo_n "checking for $ac_word... " >&6; } 2607if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 2608 $as_echo_n "(cached) " >&6 2609else 2610 if test -n "$ac_ct_STRIP"; then 2611 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2612else 2613as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2614for as_dir in $PATH 2615do 2616 IFS=$as_save_IFS 2617 test -z "$as_dir" && as_dir=. 2618 for ac_exec_ext in '' $ac_executable_extensions; do 2619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2620 ac_cv_prog_ac_ct_STRIP="strip" 2621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2622 break 2 2623 fi 2624done 2625 done 2626IFS=$as_save_IFS 2627 2628fi 2629fi 2630ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2631if test -n "$ac_ct_STRIP"; then 2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2633$as_echo "$ac_ct_STRIP" >&6; } 2634else 2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2636$as_echo "no" >&6; } 2637fi 2638 2639 if test "x$ac_ct_STRIP" = x; then 2640 STRIP=":" 2641 else 2642 case $cross_compiling:$ac_tool_warned in 2643yes:) 2644{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2645$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2646ac_tool_warned=yes ;; 2647esac 2648 STRIP=$ac_ct_STRIP 2649 fi 2650else 2651 STRIP="$ac_cv_prog_STRIP" 2652fi 2653 2654fi 2655INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2656 2657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2658$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2659if test -z "$MKDIR_P"; then 2660 if test "${ac_cv_path_mkdir+set}" = set; then : 2661 $as_echo_n "(cached) " >&6 2662else 2663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2664for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2665do 2666 IFS=$as_save_IFS 2667 test -z "$as_dir" && as_dir=. 2668 for ac_prog in mkdir gmkdir; do 2669 for ac_exec_ext in '' $ac_executable_extensions; do 2670 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2671 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2672 'mkdir (GNU coreutils) '* | \ 2673 'mkdir (coreutils) '* | \ 2674 'mkdir (fileutils) '4.1*) 2675 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2676 break 3;; 2677 esac 2678 done 2679 done 2680 done 2681IFS=$as_save_IFS 2682 2683fi 2684 2685 test -d ./--version && rmdir ./--version 2686 if test "${ac_cv_path_mkdir+set}" = set; then 2687 MKDIR_P="$ac_cv_path_mkdir -p" 2688 else 2689 # As a last resort, use the slow shell script. Don't cache a 2690 # value for MKDIR_P within a source directory, because that will 2691 # break other packages using the cache if that directory is 2692 # removed, or if the value is a relative name. 2693 MKDIR_P="$ac_install_sh -d" 2694 fi 2695fi 2696{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2697$as_echo "$MKDIR_P" >&6; } 2698 2699mkdir_p="$MKDIR_P" 2700case $mkdir_p in 2701 [\\/$]* | ?:[\\/]*) ;; 2702 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2703esac 2704 2705for ac_prog in gawk mawk nawk awk 2706do 2707 # Extract the first word of "$ac_prog", so it can be a program name with args. 2708set dummy $ac_prog; 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_AWK+set}" = set; then : 2712 $as_echo_n "(cached) " >&6 2713else 2714 if test -n "$AWK"; then 2715 ac_cv_prog_AWK="$AWK" # 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_AWK="$ac_prog" 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 2734AWK=$ac_cv_prog_AWK 2735if test -n "$AWK"; then 2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2737$as_echo "$AWK" >&6; } 2738else 2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2740$as_echo "no" >&6; } 2741fi 2742 2743 2744 test -n "$AWK" && break 2745done 2746 2747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2748$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2749set x ${MAKE-make} 2750ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2751if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 2752 $as_echo_n "(cached) " >&6 2753else 2754 cat >conftest.make <<\_ACEOF 2755SHELL = /bin/sh 2756all: 2757 @echo '@@@%%%=$(MAKE)=@@@%%%' 2758_ACEOF 2759# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2760case `${MAKE-make} -f conftest.make 2>/dev/null` in 2761 *@@@%%%=?*=@@@%%%*) 2762 eval ac_cv_prog_make_${ac_make}_set=yes;; 2763 *) 2764 eval ac_cv_prog_make_${ac_make}_set=no;; 2765esac 2766rm -f conftest.make 2767fi 2768if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2770$as_echo "yes" >&6; } 2771 SET_MAKE= 2772else 2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2774$as_echo "no" >&6; } 2775 SET_MAKE="MAKE=${MAKE-make}" 2776fi 2777 2778rm -rf .tst 2>/dev/null 2779mkdir .tst 2>/dev/null 2780if test -d .tst; then 2781 am__leading_dot=. 2782else 2783 am__leading_dot=_ 2784fi 2785rmdir .tst 2>/dev/null 2786 2787if test "`cd $srcdir && pwd`" != "`pwd`"; then 2788 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2789 # is not polluted with repeated "-I." 2790 am__isrc=' -I$(srcdir)' 2791 # test to see if srcdir already configured 2792 if test -f $srcdir/config.status; then 2793 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2794 fi 2795fi 2796 2797# test whether we have cygpath 2798if test -z "$CYGPATH_W"; then 2799 if (cygpath --version) >/dev/null 2>/dev/null; then 2800 CYGPATH_W='cygpath -w' 2801 else 2802 CYGPATH_W=echo 2803 fi 2804fi 2805 2806 2807# Define the identity of the package. 2808 PACKAGE='compizconfig-backend-gconf' 2809 VERSION='0.8.8' 2810 2811 2812cat >>confdefs.h <<_ACEOF 2813#define PACKAGE "$PACKAGE" 2814_ACEOF 2815 2816 2817cat >>confdefs.h <<_ACEOF 2818#define VERSION "$VERSION" 2819_ACEOF 2820 2821# Some tools Automake needs. 2822 2823ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2824 2825 2826AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2827 2828 2829AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2830 2831 2832AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2833 2834 2835MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2836 2837# We need awk for the "check" target. The system "awk" is bad on 2838# some platforms. 2839# Always define AMTAR for backward compatibility. 2840 2841AMTAR=${AMTAR-"${am_missing_run}tar"} 2842 2843am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2844 2845 2846 2847 2848 2849 2850#AC_CONFIG_HEADER([config.h]) 2851 2852{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 2853$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2854 # Check whether --enable-maintainer-mode was given. 2855if test "${enable_maintainer_mode+set}" = set; then : 2856 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2857else 2858 USE_MAINTAINER_MODE=no 2859fi 2860 2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 2862$as_echo "$USE_MAINTAINER_MODE" >&6; } 2863 if test $USE_MAINTAINER_MODE = yes; then 2864 MAINTAINER_MODE_TRUE= 2865 MAINTAINER_MODE_FALSE='#' 2866else 2867 MAINTAINER_MODE_TRUE='#' 2868 MAINTAINER_MODE_FALSE= 2869fi 2870 2871 MAINT=$MAINTAINER_MODE_TRUE 2872 2873 2874 2875DEPDIR="${am__leading_dot}deps" 2876 2877ac_config_commands="$ac_config_commands depfiles" 2878 2879 2880am_make=${MAKE-make} 2881cat > confinc << 'END' 2882am__doit: 2883 @echo this is the am__doit target 2884.PHONY: am__doit 2885END 2886# If we don't find an include directive, just comment out the code. 2887{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 2888$as_echo_n "checking for style of include used by $am_make... " >&6; } 2889am__include="#" 2890am__quote= 2891_am_result=none 2892# First try GNU make style include. 2893echo "include confinc" > confmf 2894# Ignore all kinds of additional output from `make'. 2895case `$am_make -s -f confmf 2> /dev/null` in #( 2896*the\ am__doit\ target*) 2897 am__include=include 2898 am__quote= 2899 _am_result=GNU 2900 ;; 2901esac 2902# Now try BSD make style include. 2903if test "$am__include" = "#"; then 2904 echo '.include "confinc"' > confmf 2905 case `$am_make -s -f confmf 2> /dev/null` in #( 2906 *the\ am__doit\ target*) 2907 am__include=.include 2908 am__quote="\"" 2909 _am_result=BSD 2910 ;; 2911 esac 2912fi 2913 2914 2915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 2916$as_echo "$_am_result" >&6; } 2917rm -f confinc confmf 2918 2919# Check whether --enable-dependency-tracking was given. 2920if test "${enable_dependency_tracking+set}" = set; then : 2921 enableval=$enable_dependency_tracking; 2922fi 2923 2924if test "x$enable_dependency_tracking" != xno; then 2925 am_depcomp="$ac_aux_dir/depcomp" 2926 AMDEPBACKSLASH='\' 2927fi 2928 if test "x$enable_dependency_tracking" != xno; then 2929 AMDEP_TRUE= 2930 AMDEP_FALSE='#' 2931else 2932 AMDEP_TRUE='#' 2933 AMDEP_FALSE= 2934fi 2935 2936 2937ac_ext=c 2938ac_cpp='$CPP $CPPFLAGS' 2939ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2940ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2941ac_compiler_gnu=$ac_cv_c_compiler_gnu 2942if test -n "$ac_tool_prefix"; then 2943 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2944set dummy ${ac_tool_prefix}gcc; ac_word=$2 2945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2946$as_echo_n "checking for $ac_word... " >&6; } 2947if test "${ac_cv_prog_CC+set}" = set; then : 2948 $as_echo_n "(cached) " >&6 2949else 2950 if test -n "$CC"; then 2951 ac_cv_prog_CC="$CC" # Let the user override the test. 2952else 2953as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2954for as_dir in $PATH 2955do 2956 IFS=$as_save_IFS 2957 test -z "$as_dir" && as_dir=. 2958 for ac_exec_ext in '' $ac_executable_extensions; do 2959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2960 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2962 break 2 2963 fi 2964done 2965 done 2966IFS=$as_save_IFS 2967 2968fi 2969fi 2970CC=$ac_cv_prog_CC 2971if test -n "$CC"; then 2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2973$as_echo "$CC" >&6; } 2974else 2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2976$as_echo "no" >&6; } 2977fi 2978 2979 2980fi 2981if test -z "$ac_cv_prog_CC"; then 2982 ac_ct_CC=$CC 2983 # Extract the first word of "gcc", so it can be a program name with args. 2984set dummy gcc; ac_word=$2 2985{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2986$as_echo_n "checking for $ac_word... " >&6; } 2987if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2988 $as_echo_n "(cached) " >&6 2989else 2990 if test -n "$ac_ct_CC"; then 2991 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2992else 2993as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2994for as_dir in $PATH 2995do 2996 IFS=$as_save_IFS 2997 test -z "$as_dir" && as_dir=. 2998 for ac_exec_ext in '' $ac_executable_extensions; do 2999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3000 ac_cv_prog_ac_ct_CC="gcc" 3001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3002 break 2 3003 fi 3004done 3005 done 3006IFS=$as_save_IFS 3007 3008fi 3009fi 3010ac_ct_CC=$ac_cv_prog_ac_ct_CC 3011if test -n "$ac_ct_CC"; then 3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3013$as_echo "$ac_ct_CC" >&6; } 3014else 3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3016$as_echo "no" >&6; } 3017fi 3018 3019 if test "x$ac_ct_CC" = x; then 3020 CC="" 3021 else 3022 case $cross_compiling:$ac_tool_warned in 3023yes:) 3024{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3025$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3026ac_tool_warned=yes ;; 3027esac 3028 CC=$ac_ct_CC 3029 fi 3030else 3031 CC="$ac_cv_prog_CC" 3032fi 3033 3034if test -z "$CC"; then 3035 if test -n "$ac_tool_prefix"; then 3036 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3037set dummy ${ac_tool_prefix}cc; ac_word=$2 3038{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3039$as_echo_n "checking for $ac_word... " >&6; } 3040if test "${ac_cv_prog_CC+set}" = set; then : 3041 $as_echo_n "(cached) " >&6 3042else 3043 if test -n "$CC"; then 3044 ac_cv_prog_CC="$CC" # Let the user override the test. 3045else 3046as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3047for as_dir in $PATH 3048do 3049 IFS=$as_save_IFS 3050 test -z "$as_dir" && as_dir=. 3051 for ac_exec_ext in '' $ac_executable_extensions; do 3052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3053 ac_cv_prog_CC="${ac_tool_prefix}cc" 3054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3055 break 2 3056 fi 3057done 3058 done 3059IFS=$as_save_IFS 3060 3061fi 3062fi 3063CC=$ac_cv_prog_CC 3064if test -n "$CC"; then 3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3066$as_echo "$CC" >&6; } 3067else 3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3069$as_echo "no" >&6; } 3070fi 3071 3072 3073 fi 3074fi 3075if test -z "$CC"; then 3076 # Extract the first word of "cc", so it can be a program name with args. 3077set dummy cc; ac_word=$2 3078{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3079$as_echo_n "checking for $ac_word... " >&6; } 3080if test "${ac_cv_prog_CC+set}" = set; then : 3081 $as_echo_n "(cached) " >&6 3082else 3083 if test -n "$CC"; then 3084 ac_cv_prog_CC="$CC" # Let the user override the test. 3085else 3086 ac_prog_rejected=no 3087as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3088for as_dir in $PATH 3089do 3090 IFS=$as_save_IFS 3091 test -z "$as_dir" && as_dir=. 3092 for ac_exec_ext in '' $ac_executable_extensions; do 3093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3094 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3095 ac_prog_rejected=yes 3096 continue 3097 fi 3098 ac_cv_prog_CC="cc" 3099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3100 break 2 3101 fi 3102done 3103 done 3104IFS=$as_save_IFS 3105 3106if test $ac_prog_rejected = yes; then 3107 # We found a bogon in the path, so make sure we never use it. 3108 set dummy $ac_cv_prog_CC 3109 shift 3110 if test $# != 0; then 3111 # We chose a different compiler from the bogus one. 3112 # However, it has the same basename, so the bogon will be chosen 3113 # first if we set CC to just the basename; use the full file name. 3114 shift 3115 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3116 fi 3117fi 3118fi 3119fi 3120CC=$ac_cv_prog_CC 3121if test -n "$CC"; then 3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3123$as_echo "$CC" >&6; } 3124else 3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3126$as_echo "no" >&6; } 3127fi 3128 3129 3130fi 3131if test -z "$CC"; then 3132 if test -n "$ac_tool_prefix"; then 3133 for ac_prog in cl.exe 3134 do 3135 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3136set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3138$as_echo_n "checking for $ac_word... " >&6; } 3139if test "${ac_cv_prog_CC+set}" = set; then : 3140 $as_echo_n "(cached) " >&6 3141else 3142 if test -n "$CC"; then 3143 ac_cv_prog_CC="$CC" # Let the user override the test. 3144else 3145as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3146for as_dir in $PATH 3147do 3148 IFS=$as_save_IFS 3149 test -z "$as_dir" && as_dir=. 3150 for ac_exec_ext in '' $ac_executable_extensions; do 3151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3152 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3154 break 2 3155 fi 3156done 3157 done 3158IFS=$as_save_IFS 3159 3160fi 3161fi 3162CC=$ac_cv_prog_CC 3163if test -n "$CC"; then 3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3165$as_echo "$CC" >&6; } 3166else 3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3168$as_echo "no" >&6; } 3169fi 3170 3171 3172 test -n "$CC" && break 3173 done 3174fi 3175if test -z "$CC"; then 3176 ac_ct_CC=$CC 3177 for ac_prog in cl.exe 3178do 3179 # Extract the first word of "$ac_prog", so it can be a program name with args. 3180set dummy $ac_prog; ac_word=$2 3181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3182$as_echo_n "checking for $ac_word... " >&6; } 3183if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3184 $as_echo_n "(cached) " >&6 3185else 3186 if test -n "$ac_ct_CC"; then 3187 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3188else 3189as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3190for as_dir in $PATH 3191do 3192 IFS=$as_save_IFS 3193 test -z "$as_dir" && as_dir=. 3194 for ac_exec_ext in '' $ac_executable_extensions; do 3195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3196 ac_cv_prog_ac_ct_CC="$ac_prog" 3197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3198 break 2 3199 fi 3200done 3201 done 3202IFS=$as_save_IFS 3203 3204fi 3205fi 3206ac_ct_CC=$ac_cv_prog_ac_ct_CC 3207if test -n "$ac_ct_CC"; then 3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3209$as_echo "$ac_ct_CC" >&6; } 3210else 3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3212$as_echo "no" >&6; } 3213fi 3214 3215 3216 test -n "$ac_ct_CC" && break 3217done 3218 3219 if test "x$ac_ct_CC" = x; then 3220 CC="" 3221 else 3222 case $cross_compiling:$ac_tool_warned in 3223yes:) 3224{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3225$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3226ac_tool_warned=yes ;; 3227esac 3228 CC=$ac_ct_CC 3229 fi 3230fi 3231 3232fi 3233 3234 3235test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3236$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3237as_fn_error $? "no acceptable C compiler found in \$PATH 3238See \`config.log' for more details" "$LINENO" 5 ; } 3239 3240# Provide some information about the compiler. 3241$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3242set X $ac_compile 3243ac_compiler=$2 3244for ac_option in --version -v -V -qversion; do 3245 { { ac_try="$ac_compiler $ac_option >&5" 3246case "(($ac_try" in 3247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3248 *) ac_try_echo=$ac_try;; 3249esac 3250eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3251$as_echo "$ac_try_echo"; } >&5 3252 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3253 ac_status=$? 3254 if test -s conftest.err; then 3255 sed '10a\ 3256... rest of stderr output deleted ... 3257 10q' conftest.err >conftest.er1 3258 cat conftest.er1 >&5 3259 fi 3260 rm -f conftest.er1 conftest.err 3261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3262 test $ac_status = 0; } 3263done 3264 3265cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3266/* end confdefs.h. */ 3267 3268int 3269main () 3270{ 3271 3272 ; 3273 return 0; 3274} 3275_ACEOF 3276ac_clean_files_save=$ac_clean_files 3277ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3278# Try to create an executable without -o first, disregard a.out. 3279# It will help us diagnose broken compilers, and finding out an intuition 3280# of exeext. 3281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3282$as_echo_n "checking whether the C compiler works... " >&6; } 3283ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3284 3285# The possible output files: 3286ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3287 3288ac_rmfiles= 3289for ac_file in $ac_files 3290do 3291 case $ac_file in 3292 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3293 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3294 esac 3295done 3296rm -f $ac_rmfiles 3297 3298if { { ac_try="$ac_link_default" 3299case "(($ac_try" in 3300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3301 *) ac_try_echo=$ac_try;; 3302esac 3303eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3304$as_echo "$ac_try_echo"; } >&5 3305 (eval "$ac_link_default") 2>&5 3306 ac_status=$? 3307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3308 test $ac_status = 0; }; then : 3309 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3310# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3311# in a Makefile. We should not override ac_cv_exeext if it was cached, 3312# so that the user can short-circuit this test for compilers unknown to 3313# Autoconf. 3314for ac_file in $ac_files '' 3315do 3316 test -f "$ac_file" || continue 3317 case $ac_file in 3318 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3319 ;; 3320 [ab].out ) 3321 # We found the default executable, but exeext='' is most 3322 # certainly right. 3323 break;; 3324 *.* ) 3325 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3326 then :; else 3327 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3328 fi 3329 # We set ac_cv_exeext here because the later test for it is not 3330 # safe: cross compilers may not add the suffix if given an `-o' 3331 # argument, so we may need to know it at that point already. 3332 # Even if this section looks crufty: it has the advantage of 3333 # actually working. 3334 break;; 3335 * ) 3336 break;; 3337 esac 3338done 3339test "$ac_cv_exeext" = no && ac_cv_exeext= 3340 3341else 3342 ac_file='' 3343fi 3344if test -z "$ac_file"; then : 3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3346$as_echo "no" >&6; } 3347$as_echo "$as_me: failed program was:" >&5 3348sed 's/^/| /' conftest.$ac_ext >&5 3349 3350{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3351$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3352as_fn_error 77 "C compiler cannot create executables 3353See \`config.log' for more details" "$LINENO" 5 ; } 3354else 3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3356$as_echo "yes" >&6; } 3357fi 3358{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3359$as_echo_n "checking for C compiler default output file name... " >&6; } 3360{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3361$as_echo "$ac_file" >&6; } 3362ac_exeext=$ac_cv_exeext 3363 3364rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3365ac_clean_files=$ac_clean_files_save 3366{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3367$as_echo_n "checking for suffix of executables... " >&6; } 3368if { { ac_try="$ac_link" 3369case "(($ac_try" in 3370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3371 *) ac_try_echo=$ac_try;; 3372esac 3373eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3374$as_echo "$ac_try_echo"; } >&5 3375 (eval "$ac_link") 2>&5 3376 ac_status=$? 3377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3378 test $ac_status = 0; }; then : 3379 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3380# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3381# work properly (i.e., refer to `conftest.exe'), while it won't with 3382# `rm'. 3383for ac_file in conftest.exe conftest conftest.*; do 3384 test -f "$ac_file" || continue 3385 case $ac_file in 3386 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3387 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3388 break;; 3389 * ) break;; 3390 esac 3391done 3392else 3393 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3394$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3395as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3396See \`config.log' for more details" "$LINENO" 5 ; } 3397fi 3398rm -f conftest conftest$ac_cv_exeext 3399{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3400$as_echo "$ac_cv_exeext" >&6; } 3401 3402rm -f conftest.$ac_ext 3403EXEEXT=$ac_cv_exeext 3404ac_exeext=$EXEEXT 3405cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3406/* end confdefs.h. */ 3407#include <stdio.h> 3408int 3409main () 3410{ 3411FILE *f = fopen ("conftest.out", "w"); 3412 return ferror (f) || fclose (f) != 0; 3413 3414 ; 3415 return 0; 3416} 3417_ACEOF 3418ac_clean_files="$ac_clean_files conftest.out" 3419# Check that the compiler produces executables we can run. If not, either 3420# the compiler is broken, or we cross compile. 3421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3422$as_echo_n "checking whether we are cross compiling... " >&6; } 3423if test "$cross_compiling" != yes; then 3424 { { ac_try="$ac_link" 3425case "(($ac_try" in 3426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3427 *) ac_try_echo=$ac_try;; 3428esac 3429eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3430$as_echo "$ac_try_echo"; } >&5 3431 (eval "$ac_link") 2>&5 3432 ac_status=$? 3433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3434 test $ac_status = 0; } 3435 if { ac_try='./conftest$ac_cv_exeext' 3436 { { case "(($ac_try" in 3437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3438 *) ac_try_echo=$ac_try;; 3439esac 3440eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3441$as_echo "$ac_try_echo"; } >&5 3442 (eval "$ac_try") 2>&5 3443 ac_status=$? 3444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3445 test $ac_status = 0; }; }; then 3446 cross_compiling=no 3447 else 3448 if test "$cross_compiling" = maybe; then 3449 cross_compiling=yes 3450 else 3451 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3452$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3453as_fn_error $? "cannot run C compiled programs. 3454If you meant to cross compile, use \`--host'. 3455See \`config.log' for more details" "$LINENO" 5 ; } 3456 fi 3457 fi 3458fi 3459{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3460$as_echo "$cross_compiling" >&6; } 3461 3462rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3463ac_clean_files=$ac_clean_files_save 3464{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3465$as_echo_n "checking for suffix of object files... " >&6; } 3466if test "${ac_cv_objext+set}" = set; then : 3467 $as_echo_n "(cached) " >&6 3468else 3469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3470/* end confdefs.h. */ 3471 3472int 3473main () 3474{ 3475 3476 ; 3477 return 0; 3478} 3479_ACEOF 3480rm -f conftest.o conftest.obj 3481if { { ac_try="$ac_compile" 3482case "(($ac_try" in 3483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3484 *) ac_try_echo=$ac_try;; 3485esac 3486eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3487$as_echo "$ac_try_echo"; } >&5 3488 (eval "$ac_compile") 2>&5 3489 ac_status=$? 3490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3491 test $ac_status = 0; }; then : 3492 for ac_file in conftest.o conftest.obj conftest.*; do 3493 test -f "$ac_file" || continue; 3494 case $ac_file in 3495 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3496 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3497 break;; 3498 esac 3499done 3500else 3501 $as_echo "$as_me: failed program was:" >&5 3502sed 's/^/| /' conftest.$ac_ext >&5 3503 3504{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3505$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3506as_fn_error $? "cannot compute suffix of object files: cannot compile 3507See \`config.log' for more details" "$LINENO" 5 ; } 3508fi 3509rm -f conftest.$ac_cv_objext conftest.$ac_ext 3510fi 3511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3512$as_echo "$ac_cv_objext" >&6; } 3513OBJEXT=$ac_cv_objext 3514ac_objext=$OBJEXT 3515{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3516$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3517if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3518 $as_echo_n "(cached) " >&6 3519else 3520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3521/* end confdefs.h. */ 3522 3523int 3524main () 3525{ 3526#ifndef __GNUC__ 3527 choke me 3528#endif 3529 3530 ; 3531 return 0; 3532} 3533_ACEOF 3534if ac_fn_c_try_compile "$LINENO"; then : 3535 ac_compiler_gnu=yes 3536else 3537 ac_compiler_gnu=no 3538fi 3539rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3540ac_cv_c_compiler_gnu=$ac_compiler_gnu 3541 3542fi 3543{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3544$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3545if test $ac_compiler_gnu = yes; then 3546 GCC=yes 3547else 3548 GCC= 3549fi 3550ac_test_CFLAGS=${CFLAGS+set} 3551ac_save_CFLAGS=$CFLAGS 3552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3553$as_echo_n "checking whether $CC accepts -g... " >&6; } 3554if test "${ac_cv_prog_cc_g+set}" = set; then : 3555 $as_echo_n "(cached) " >&6 3556else 3557 ac_save_c_werror_flag=$ac_c_werror_flag 3558 ac_c_werror_flag=yes 3559 ac_cv_prog_cc_g=no 3560 CFLAGS="-g" 3561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3562/* end confdefs.h. */ 3563 3564int 3565main () 3566{ 3567 3568 ; 3569 return 0; 3570} 3571_ACEOF 3572if ac_fn_c_try_compile "$LINENO"; then : 3573 ac_cv_prog_cc_g=yes 3574else 3575 CFLAGS="" 3576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3577/* end confdefs.h. */ 3578 3579int 3580main () 3581{ 3582 3583 ; 3584 return 0; 3585} 3586_ACEOF 3587if ac_fn_c_try_compile "$LINENO"; then : 3588 3589else 3590 ac_c_werror_flag=$ac_save_c_werror_flag 3591 CFLAGS="-g" 3592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3593/* end confdefs.h. */ 3594 3595int 3596main () 3597{ 3598 3599 ; 3600 return 0; 3601} 3602_ACEOF 3603if ac_fn_c_try_compile "$LINENO"; then : 3604 ac_cv_prog_cc_g=yes 3605fi 3606rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3607fi 3608rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3609fi 3610rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3611 ac_c_werror_flag=$ac_save_c_werror_flag 3612fi 3613{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3614$as_echo "$ac_cv_prog_cc_g" >&6; } 3615if test "$ac_test_CFLAGS" = set; then 3616 CFLAGS=$ac_save_CFLAGS 3617elif test $ac_cv_prog_cc_g = yes; then 3618 if test "$GCC" = yes; then 3619 CFLAGS="-g -O2" 3620 else 3621 CFLAGS="-g" 3622 fi 3623else 3624 if test "$GCC" = yes; then 3625 CFLAGS="-O2" 3626 else 3627 CFLAGS= 3628 fi 3629fi 3630{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3631$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3632if test "${ac_cv_prog_cc_c89+set}" = set; then : 3633 $as_echo_n "(cached) " >&6 3634else 3635 ac_cv_prog_cc_c89=no 3636ac_save_CC=$CC 3637cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3638/* end confdefs.h. */ 3639#include <stdarg.h> 3640#include <stdio.h> 3641#include <sys/types.h> 3642#include <sys/stat.h> 3643/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3644struct buf { int x; }; 3645FILE * (*rcsopen) (struct buf *, struct stat *, int); 3646static char *e (p, i) 3647 char **p; 3648 int i; 3649{ 3650 return p[i]; 3651} 3652static char *f (char * (*g) (char **, int), char **p, ...) 3653{ 3654 char *s; 3655 va_list v; 3656 va_start (v,p); 3657 s = g (p, va_arg (v,int)); 3658 va_end (v); 3659 return s; 3660} 3661 3662/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3663 function prototypes and stuff, but not '\xHH' hex character constants. 3664 These don't provoke an error unfortunately, instead are silently treated 3665 as 'x'. The following induces an error, until -std is added to get 3666 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3667 array size at least. It's necessary to write '\x00'==0 to get something 3668 that's true only with -std. */ 3669int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3670 3671/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3672 inside strings and character constants. */ 3673#define FOO(x) 'x' 3674int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3675 3676int test (int i, double x); 3677struct s1 {int (*f) (int a);}; 3678struct s2 {int (*f) (double a);}; 3679int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3680int argc; 3681char **argv; 3682int 3683main () 3684{ 3685return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3686 ; 3687 return 0; 3688} 3689_ACEOF 3690for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3691 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3692do 3693 CC="$ac_save_CC $ac_arg" 3694 if ac_fn_c_try_compile "$LINENO"; then : 3695 ac_cv_prog_cc_c89=$ac_arg 3696fi 3697rm -f core conftest.err conftest.$ac_objext 3698 test "x$ac_cv_prog_cc_c89" != "xno" && break 3699done 3700rm -f conftest.$ac_ext 3701CC=$ac_save_CC 3702 3703fi 3704# AC_CACHE_VAL 3705case "x$ac_cv_prog_cc_c89" in 3706 x) 3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3708$as_echo "none needed" >&6; } ;; 3709 xno) 3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3711$as_echo "unsupported" >&6; } ;; 3712 *) 3713 CC="$CC $ac_cv_prog_cc_c89" 3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3715$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3716esac 3717if test "x$ac_cv_prog_cc_c89" != xno; then : 3718 3719fi 3720 3721ac_ext=c 3722ac_cpp='$CPP $CPPFLAGS' 3723ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3724ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3725ac_compiler_gnu=$ac_cv_c_compiler_gnu 3726 3727depcc="$CC" am_compiler_list= 3728 3729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3730$as_echo_n "checking dependency style of $depcc... " >&6; } 3731if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 3732 $as_echo_n "(cached) " >&6 3733else 3734 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3735 # We make a subdir and do the tests there. Otherwise we can end up 3736 # making bogus files that we don't know about and never remove. For 3737 # instance it was reported that on HP-UX the gcc test will end up 3738 # making a dummy file named `D' -- because `-MD' means `put the output 3739 # in D'. 3740 mkdir conftest.dir 3741 # Copy depcomp to subdir because otherwise we won't find it if we're 3742 # using a relative directory. 3743 cp "$am_depcomp" conftest.dir 3744 cd conftest.dir 3745 # We will build objects and dependencies in a subdirectory because 3746 # it helps to detect inapplicable dependency modes. For instance 3747 # both Tru64's cc and ICC support -MD to output dependencies as a 3748 # side effect of compilation, but ICC will put the dependencies in 3749 # the current directory while Tru64 will put them in the object 3750 # directory. 3751 mkdir sub 3752 3753 am_cv_CC_dependencies_compiler_type=none 3754 if test "$am_compiler_list" = ""; then 3755 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3756 fi 3757 am__universal=false 3758 case " $depcc " in #( 3759 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3760 esac 3761 3762 for depmode in $am_compiler_list; do 3763 # Setup a source with many dependencies, because some compilers 3764 # like to wrap large dependency lists on column 80 (with \), and 3765 # we should not choose a depcomp mode which is confused by this. 3766 # 3767 # We need to recreate these files for each test, as the compiler may 3768 # overwrite some of them when testing with obscure command lines. 3769 # This happens at least with the AIX C compiler. 3770 : > sub/conftest.c 3771 for i in 1 2 3 4 5 6; do 3772 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3773 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3774 # Solaris 8's {/usr,}/bin/sh. 3775 touch sub/conftst$i.h 3776 done 3777 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3778 3779 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3780 # mode. It turns out that the SunPro C++ compiler does not properly 3781 # handle `-M -o', and we need to detect this. Also, some Intel 3782 # versions had trouble with output in subdirs 3783 am__obj=sub/conftest.${OBJEXT-o} 3784 am__minus_obj="-o $am__obj" 3785 case $depmode in 3786 gcc) 3787 # This depmode causes a compiler race in universal mode. 3788 test "$am__universal" = false || continue 3789 ;; 3790 nosideeffect) 3791 # after this tag, mechanisms are not by side-effect, so they'll 3792 # only be used when explicitly requested 3793 if test "x$enable_dependency_tracking" = xyes; then 3794 continue 3795 else 3796 break 3797 fi 3798 ;; 3799 msvisualcpp | msvcmsys) 3800 # This compiler won't grok `-c -o', but also, the minuso test has 3801 # not run yet. These depmodes are late enough in the game, and 3802 # so weak that their functioning should not be impacted. 3803 am__obj=conftest.${OBJEXT-o} 3804 am__minus_obj= 3805 ;; 3806 none) break ;; 3807 esac 3808 if depmode=$depmode \ 3809 source=sub/conftest.c object=$am__obj \ 3810 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3811 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3812 >/dev/null 2>conftest.err && 3813 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3814 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3815 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3816 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3817 # icc doesn't choke on unknown options, it will just issue warnings 3818 # or remarks (even with -Werror). So we grep stderr for any message 3819 # that says an option was ignored or not supported. 3820 # When given -MP, icc 7.0 and 7.1 complain thusly: 3821 # icc: Command line warning: ignoring option '-M'; no argument required 3822 # The diagnosis changed in icc 8.0: 3823 # icc: Command line remark: option '-MP' not supported 3824 if (grep 'ignoring option' conftest.err || 3825 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3826 am_cv_CC_dependencies_compiler_type=$depmode 3827 break 3828 fi 3829 fi 3830 done 3831 3832 cd .. 3833 rm -rf conftest.dir 3834else 3835 am_cv_CC_dependencies_compiler_type=none 3836fi 3837 3838fi 3839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3840$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3841CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3842 3843 if 3844 test "x$enable_dependency_tracking" != xno \ 3845 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3846 am__fastdepCC_TRUE= 3847 am__fastdepCC_FALSE='#' 3848else 3849 am__fastdepCC_TRUE='#' 3850 am__fastdepCC_FALSE= 3851fi 3852 3853 3854 3855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 3856$as_echo_n "checking for library containing strerror... " >&6; } 3857if test "${ac_cv_search_strerror+set}" = set; then : 3858 $as_echo_n "(cached) " >&6 3859else 3860 ac_func_search_save_LIBS=$LIBS 3861cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3862/* end confdefs.h. */ 3863 3864/* Override any GCC internal prototype to avoid an error. 3865 Use char because int might match the return type of a GCC 3866 builtin and then its argument prototype would still apply. */ 3867#ifdef __cplusplus 3868extern "C" 3869#endif 3870char strerror (); 3871int 3872main () 3873{ 3874return strerror (); 3875 ; 3876 return 0; 3877} 3878_ACEOF 3879for ac_lib in '' cposix; do 3880 if test -z "$ac_lib"; then 3881 ac_res="none required" 3882 else 3883 ac_res=-l$ac_lib 3884 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3885 fi 3886 if ac_fn_c_try_link "$LINENO"; then : 3887 ac_cv_search_strerror=$ac_res 3888fi 3889rm -f core conftest.err conftest.$ac_objext \ 3890 conftest$ac_exeext 3891 if test "${ac_cv_search_strerror+set}" = set; then : 3892 break 3893fi 3894done 3895if test "${ac_cv_search_strerror+set}" = set; then : 3896 3897else 3898 ac_cv_search_strerror=no 3899fi 3900rm conftest.$ac_ext 3901LIBS=$ac_func_search_save_LIBS 3902fi 3903{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5 3904$as_echo "$ac_cv_search_strerror" >&6; } 3905ac_res=$ac_cv_search_strerror 3906if test "$ac_res" != no; then : 3907 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 3908 3909fi 3910 3911ac_ext=c 3912ac_cpp='$CPP $CPPFLAGS' 3913ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3914ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3915ac_compiler_gnu=$ac_cv_c_compiler_gnu 3916if test -n "$ac_tool_prefix"; then 3917 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3918set dummy ${ac_tool_prefix}gcc; ac_word=$2 3919{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3920$as_echo_n "checking for $ac_word... " >&6; } 3921if test "${ac_cv_prog_CC+set}" = set; then : 3922 $as_echo_n "(cached) " >&6 3923else 3924 if test -n "$CC"; then 3925 ac_cv_prog_CC="$CC" # Let the user override the test. 3926else 3927as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3928for as_dir in $PATH 3929do 3930 IFS=$as_save_IFS 3931 test -z "$as_dir" && as_dir=. 3932 for ac_exec_ext in '' $ac_executable_extensions; do 3933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3934 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3936 break 2 3937 fi 3938done 3939 done 3940IFS=$as_save_IFS 3941 3942fi 3943fi 3944CC=$ac_cv_prog_CC 3945if test -n "$CC"; then 3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3947$as_echo "$CC" >&6; } 3948else 3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3950$as_echo "no" >&6; } 3951fi 3952 3953 3954fi 3955if test -z "$ac_cv_prog_CC"; then 3956 ac_ct_CC=$CC 3957 # Extract the first word of "gcc", so it can be a program name with args. 3958set dummy gcc; ac_word=$2 3959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3960$as_echo_n "checking for $ac_word... " >&6; } 3961if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3962 $as_echo_n "(cached) " >&6 3963else 3964 if test -n "$ac_ct_CC"; then 3965 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3966else 3967as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3968for as_dir in $PATH 3969do 3970 IFS=$as_save_IFS 3971 test -z "$as_dir" && as_dir=. 3972 for ac_exec_ext in '' $ac_executable_extensions; do 3973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3974 ac_cv_prog_ac_ct_CC="gcc" 3975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3976 break 2 3977 fi 3978done 3979 done 3980IFS=$as_save_IFS 3981 3982fi 3983fi 3984ac_ct_CC=$ac_cv_prog_ac_ct_CC 3985if test -n "$ac_ct_CC"; then 3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3987$as_echo "$ac_ct_CC" >&6; } 3988else 3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3990$as_echo "no" >&6; } 3991fi 3992 3993 if test "x$ac_ct_CC" = x; then 3994 CC="" 3995 else 3996 case $cross_compiling:$ac_tool_warned in 3997yes:) 3998{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3999$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4000ac_tool_warned=yes ;; 4001esac 4002 CC=$ac_ct_CC 4003 fi 4004else 4005 CC="$ac_cv_prog_CC" 4006fi 4007 4008if test -z "$CC"; then 4009 if test -n "$ac_tool_prefix"; then 4010 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4011set dummy ${ac_tool_prefix}cc; ac_word=$2 4012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4013$as_echo_n "checking for $ac_word... " >&6; } 4014if test "${ac_cv_prog_CC+set}" = set; then : 4015 $as_echo_n "(cached) " >&6 4016else 4017 if test -n "$CC"; then 4018 ac_cv_prog_CC="$CC" # Let the user override the test. 4019else 4020as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4021for as_dir in $PATH 4022do 4023 IFS=$as_save_IFS 4024 test -z "$as_dir" && as_dir=. 4025 for ac_exec_ext in '' $ac_executable_extensions; do 4026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4027 ac_cv_prog_CC="${ac_tool_prefix}cc" 4028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4029 break 2 4030 fi 4031done 4032 done 4033IFS=$as_save_IFS 4034 4035fi 4036fi 4037CC=$ac_cv_prog_CC 4038if test -n "$CC"; then 4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4040$as_echo "$CC" >&6; } 4041else 4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4043$as_echo "no" >&6; } 4044fi 4045 4046 4047 fi 4048fi 4049if test -z "$CC"; then 4050 # Extract the first word of "cc", so it can be a program name with args. 4051set dummy cc; ac_word=$2 4052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4053$as_echo_n "checking for $ac_word... " >&6; } 4054if test "${ac_cv_prog_CC+set}" = set; then : 4055 $as_echo_n "(cached) " >&6 4056else 4057 if test -n "$CC"; then 4058 ac_cv_prog_CC="$CC" # Let the user override the test. 4059else 4060 ac_prog_rejected=no 4061as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4062for as_dir in $PATH 4063do 4064 IFS=$as_save_IFS 4065 test -z "$as_dir" && as_dir=. 4066 for ac_exec_ext in '' $ac_executable_extensions; do 4067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4068 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4069 ac_prog_rejected=yes 4070 continue 4071 fi 4072 ac_cv_prog_CC="cc" 4073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4074 break 2 4075 fi 4076done 4077 done 4078IFS=$as_save_IFS 4079 4080if test $ac_prog_rejected = yes; then 4081 # We found a bogon in the path, so make sure we never use it. 4082 set dummy $ac_cv_prog_CC 4083 shift 4084 if test $# != 0; then 4085 # We chose a different compiler from the bogus one. 4086 # However, it has the same basename, so the bogon will be chosen 4087 # first if we set CC to just the basename; use the full file name. 4088 shift 4089 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4090 fi 4091fi 4092fi 4093fi 4094CC=$ac_cv_prog_CC 4095if test -n "$CC"; then 4096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4097$as_echo "$CC" >&6; } 4098else 4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4100$as_echo "no" >&6; } 4101fi 4102 4103 4104fi 4105if test -z "$CC"; then 4106 if test -n "$ac_tool_prefix"; then 4107 for ac_prog in cl.exe 4108 do 4109 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4110set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4112$as_echo_n "checking for $ac_word... " >&6; } 4113if test "${ac_cv_prog_CC+set}" = set; then : 4114 $as_echo_n "(cached) " >&6 4115else 4116 if test -n "$CC"; then 4117 ac_cv_prog_CC="$CC" # Let the user override the test. 4118else 4119as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4120for as_dir in $PATH 4121do 4122 IFS=$as_save_IFS 4123 test -z "$as_dir" && as_dir=. 4124 for ac_exec_ext in '' $ac_executable_extensions; do 4125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4126 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4128 break 2 4129 fi 4130done 4131 done 4132IFS=$as_save_IFS 4133 4134fi 4135fi 4136CC=$ac_cv_prog_CC 4137if test -n "$CC"; then 4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4139$as_echo "$CC" >&6; } 4140else 4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4142$as_echo "no" >&6; } 4143fi 4144 4145 4146 test -n "$CC" && break 4147 done 4148fi 4149if test -z "$CC"; then 4150 ac_ct_CC=$CC 4151 for ac_prog in cl.exe 4152do 4153 # Extract the first word of "$ac_prog", so it can be a program name with args. 4154set dummy $ac_prog; ac_word=$2 4155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4156$as_echo_n "checking for $ac_word... " >&6; } 4157if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 4158 $as_echo_n "(cached) " >&6 4159else 4160 if test -n "$ac_ct_CC"; then 4161 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4162else 4163as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4164for as_dir in $PATH 4165do 4166 IFS=$as_save_IFS 4167 test -z "$as_dir" && as_dir=. 4168 for ac_exec_ext in '' $ac_executable_extensions; do 4169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4170 ac_cv_prog_ac_ct_CC="$ac_prog" 4171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4172 break 2 4173 fi 4174done 4175 done 4176IFS=$as_save_IFS 4177 4178fi 4179fi 4180ac_ct_CC=$ac_cv_prog_ac_ct_CC 4181if test -n "$ac_ct_CC"; then 4182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4183$as_echo "$ac_ct_CC" >&6; } 4184else 4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4186$as_echo "no" >&6; } 4187fi 4188 4189 4190 test -n "$ac_ct_CC" && break 4191done 4192 4193 if test "x$ac_ct_CC" = x; then 4194 CC="" 4195 else 4196 case $cross_compiling:$ac_tool_warned in 4197yes:) 4198{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4199$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4200ac_tool_warned=yes ;; 4201esac 4202 CC=$ac_ct_CC 4203 fi 4204fi 4205 4206fi 4207 4208 4209test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4210$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4211as_fn_error $? "no acceptable C compiler found in \$PATH 4212See \`config.log' for more details" "$LINENO" 5 ; } 4213 4214# Provide some information about the compiler. 4215$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4216set X $ac_compile 4217ac_compiler=$2 4218for ac_option in --version -v -V -qversion; do 4219 { { ac_try="$ac_compiler $ac_option >&5" 4220case "(($ac_try" in 4221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4222 *) ac_try_echo=$ac_try;; 4223esac 4224eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4225$as_echo "$ac_try_echo"; } >&5 4226 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4227 ac_status=$? 4228 if test -s conftest.err; then 4229 sed '10a\ 4230... rest of stderr output deleted ... 4231 10q' conftest.err >conftest.er1 4232 cat conftest.er1 >&5 4233 fi 4234 rm -f conftest.er1 conftest.err 4235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4236 test $ac_status = 0; } 4237done 4238 4239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4240$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4241if test "${ac_cv_c_compiler_gnu+set}" = set; then : 4242 $as_echo_n "(cached) " >&6 4243else 4244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4245/* end confdefs.h. */ 4246 4247int 4248main () 4249{ 4250#ifndef __GNUC__ 4251 choke me 4252#endif 4253 4254 ; 4255 return 0; 4256} 4257_ACEOF 4258if ac_fn_c_try_compile "$LINENO"; then : 4259 ac_compiler_gnu=yes 4260else 4261 ac_compiler_gnu=no 4262fi 4263rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4264ac_cv_c_compiler_gnu=$ac_compiler_gnu 4265 4266fi 4267{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4268$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4269if test $ac_compiler_gnu = yes; then 4270 GCC=yes 4271else 4272 GCC= 4273fi 4274ac_test_CFLAGS=${CFLAGS+set} 4275ac_save_CFLAGS=$CFLAGS 4276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4277$as_echo_n "checking whether $CC accepts -g... " >&6; } 4278if test "${ac_cv_prog_cc_g+set}" = set; then : 4279 $as_echo_n "(cached) " >&6 4280else 4281 ac_save_c_werror_flag=$ac_c_werror_flag 4282 ac_c_werror_flag=yes 4283 ac_cv_prog_cc_g=no 4284 CFLAGS="-g" 4285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4286/* end confdefs.h. */ 4287 4288int 4289main () 4290{ 4291 4292 ; 4293 return 0; 4294} 4295_ACEOF 4296if ac_fn_c_try_compile "$LINENO"; then : 4297 ac_cv_prog_cc_g=yes 4298else 4299 CFLAGS="" 4300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4301/* end confdefs.h. */ 4302 4303int 4304main () 4305{ 4306 4307 ; 4308 return 0; 4309} 4310_ACEOF 4311if ac_fn_c_try_compile "$LINENO"; then : 4312 4313else 4314 ac_c_werror_flag=$ac_save_c_werror_flag 4315 CFLAGS="-g" 4316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4317/* end confdefs.h. */ 4318 4319int 4320main () 4321{ 4322 4323 ; 4324 return 0; 4325} 4326_ACEOF 4327if ac_fn_c_try_compile "$LINENO"; then : 4328 ac_cv_prog_cc_g=yes 4329fi 4330rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4331fi 4332rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4333fi 4334rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4335 ac_c_werror_flag=$ac_save_c_werror_flag 4336fi 4337{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4338$as_echo "$ac_cv_prog_cc_g" >&6; } 4339if test "$ac_test_CFLAGS" = set; then 4340 CFLAGS=$ac_save_CFLAGS 4341elif test $ac_cv_prog_cc_g = yes; then 4342 if test "$GCC" = yes; then 4343 CFLAGS="-g -O2" 4344 else 4345 CFLAGS="-g" 4346 fi 4347else 4348 if test "$GCC" = yes; then 4349 CFLAGS="-O2" 4350 else 4351 CFLAGS= 4352 fi 4353fi 4354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4355$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4356if test "${ac_cv_prog_cc_c89+set}" = set; then : 4357 $as_echo_n "(cached) " >&6 4358else 4359 ac_cv_prog_cc_c89=no 4360ac_save_CC=$CC 4361cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4362/* end confdefs.h. */ 4363#include <stdarg.h> 4364#include <stdio.h> 4365#include <sys/types.h> 4366#include <sys/stat.h> 4367/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4368struct buf { int x; }; 4369FILE * (*rcsopen) (struct buf *, struct stat *, int); 4370static char *e (p, i) 4371 char **p; 4372 int i; 4373{ 4374 return p[i]; 4375} 4376static char *f (char * (*g) (char **, int), char **p, ...) 4377{ 4378 char *s; 4379 va_list v; 4380 va_start (v,p); 4381 s = g (p, va_arg (v,int)); 4382 va_end (v); 4383 return s; 4384} 4385 4386/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4387 function prototypes and stuff, but not '\xHH' hex character constants. 4388 These don't provoke an error unfortunately, instead are silently treated 4389 as 'x'. The following induces an error, until -std is added to get 4390 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4391 array size at least. It's necessary to write '\x00'==0 to get something 4392 that's true only with -std. */ 4393int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4394 4395/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4396 inside strings and character constants. */ 4397#define FOO(x) 'x' 4398int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4399 4400int test (int i, double x); 4401struct s1 {int (*f) (int a);}; 4402struct s2 {int (*f) (double a);}; 4403int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4404int argc; 4405char **argv; 4406int 4407main () 4408{ 4409return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4410 ; 4411 return 0; 4412} 4413_ACEOF 4414for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4415 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4416do 4417 CC="$ac_save_CC $ac_arg" 4418 if ac_fn_c_try_compile "$LINENO"; then : 4419 ac_cv_prog_cc_c89=$ac_arg 4420fi 4421rm -f core conftest.err conftest.$ac_objext 4422 test "x$ac_cv_prog_cc_c89" != "xno" && break 4423done 4424rm -f conftest.$ac_ext 4425CC=$ac_save_CC 4426 4427fi 4428# AC_CACHE_VAL 4429case "x$ac_cv_prog_cc_c89" in 4430 x) 4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4432$as_echo "none needed" >&6; } ;; 4433 xno) 4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4435$as_echo "unsupported" >&6; } ;; 4436 *) 4437 CC="$CC $ac_cv_prog_cc_c89" 4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4439$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4440esac 4441if test "x$ac_cv_prog_cc_c89" != xno; then : 4442 4443fi 4444 4445ac_ext=c 4446ac_cpp='$CPP $CPPFLAGS' 4447ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4448ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4449ac_compiler_gnu=$ac_cv_c_compiler_gnu 4450 4451depcc="$CC" am_compiler_list= 4452 4453{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4454$as_echo_n "checking dependency style of $depcc... " >&6; } 4455if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 4456 $as_echo_n "(cached) " >&6 4457else 4458 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4459 # We make a subdir and do the tests there. Otherwise we can end up 4460 # making bogus files that we don't know about and never remove. For 4461 # instance it was reported that on HP-UX the gcc test will end up 4462 # making a dummy file named `D' -- because `-MD' means `put the output 4463 # in D'. 4464 mkdir conftest.dir 4465 # Copy depcomp to subdir because otherwise we won't find it if we're 4466 # using a relative directory. 4467 cp "$am_depcomp" conftest.dir 4468 cd conftest.dir 4469 # We will build objects and dependencies in a subdirectory because 4470 # it helps to detect inapplicable dependency modes. For instance 4471 # both Tru64's cc and ICC support -MD to output dependencies as a 4472 # side effect of compilation, but ICC will put the dependencies in 4473 # the current directory while Tru64 will put them in the object 4474 # directory. 4475 mkdir sub 4476 4477 am_cv_CC_dependencies_compiler_type=none 4478 if test "$am_compiler_list" = ""; then 4479 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4480 fi 4481 am__universal=false 4482 case " $depcc " in #( 4483 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4484 esac 4485 4486 for depmode in $am_compiler_list; do 4487 # Setup a source with many dependencies, because some compilers 4488 # like to wrap large dependency lists on column 80 (with \), and 4489 # we should not choose a depcomp mode which is confused by this. 4490 # 4491 # We need to recreate these files for each test, as the compiler may 4492 # overwrite some of them when testing with obscure command lines. 4493 # This happens at least with the AIX C compiler. 4494 : > sub/conftest.c 4495 for i in 1 2 3 4 5 6; do 4496 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4497 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4498 # Solaris 8's {/usr,}/bin/sh. 4499 touch sub/conftst$i.h 4500 done 4501 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4502 4503 # We check with `-c' and `-o' for the sake of the "dashmstdout" 4504 # mode. It turns out that the SunPro C++ compiler does not properly 4505 # handle `-M -o', and we need to detect this. Also, some Intel 4506 # versions had trouble with output in subdirs 4507 am__obj=sub/conftest.${OBJEXT-o} 4508 am__minus_obj="-o $am__obj" 4509 case $depmode in 4510 gcc) 4511 # This depmode causes a compiler race in universal mode. 4512 test "$am__universal" = false || continue 4513 ;; 4514 nosideeffect) 4515 # after this tag, mechanisms are not by side-effect, so they'll 4516 # only be used when explicitly requested 4517 if test "x$enable_dependency_tracking" = xyes; then 4518 continue 4519 else 4520 break 4521 fi 4522 ;; 4523 msvisualcpp | msvcmsys) 4524 # This compiler won't grok `-c -o', but also, the minuso test has 4525 # not run yet. These depmodes are late enough in the game, and 4526 # so weak that their functioning should not be impacted. 4527 am__obj=conftest.${OBJEXT-o} 4528 am__minus_obj= 4529 ;; 4530 none) break ;; 4531 esac 4532 if depmode=$depmode \ 4533 source=sub/conftest.c object=$am__obj \ 4534 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4535 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4536 >/dev/null 2>conftest.err && 4537 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4538 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4539 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4540 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4541 # icc doesn't choke on unknown options, it will just issue warnings 4542 # or remarks (even with -Werror). So we grep stderr for any message 4543 # that says an option was ignored or not supported. 4544 # When given -MP, icc 7.0 and 7.1 complain thusly: 4545 # icc: Command line warning: ignoring option '-M'; no argument required 4546 # The diagnosis changed in icc 8.0: 4547 # icc: Command line remark: option '-MP' not supported 4548 if (grep 'ignoring option' conftest.err || 4549 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4550 am_cv_CC_dependencies_compiler_type=$depmode 4551 break 4552 fi 4553 fi 4554 done 4555 4556 cd .. 4557 rm -rf conftest.dir 4558else 4559 am_cv_CC_dependencies_compiler_type=none 4560fi 4561 4562fi 4563{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4564$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4565CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4566 4567 if 4568 test "x$enable_dependency_tracking" != xno \ 4569 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4570 am__fastdepCC_TRUE= 4571 am__fastdepCC_FALSE='#' 4572else 4573 am__fastdepCC_TRUE='#' 4574 am__fastdepCC_FALSE= 4575fi 4576 4577 4578ac_ext=c 4579ac_cpp='$CPP $CPPFLAGS' 4580ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4581ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4582ac_compiler_gnu=$ac_cv_c_compiler_gnu 4583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4584$as_echo_n "checking how to run the C preprocessor... " >&6; } 4585# On Suns, sometimes $CPP names a directory. 4586if test -n "$CPP" && test -d "$CPP"; then 4587 CPP= 4588fi 4589if test -z "$CPP"; then 4590 if test "${ac_cv_prog_CPP+set}" = set; then : 4591 $as_echo_n "(cached) " >&6 4592else 4593 # Double quotes because CPP needs to be expanded 4594 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4595 do 4596 ac_preproc_ok=false 4597for ac_c_preproc_warn_flag in '' yes 4598do 4599 # Use a header file that comes with gcc, so configuring glibc 4600 # with a fresh cross-compiler works. 4601 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4602 # <limits.h> exists even on freestanding compilers. 4603 # On the NeXT, cc -E runs the code through the compiler's parser, 4604 # not just through cpp. "Syntax error" is here to catch this case. 4605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4606/* end confdefs.h. */ 4607#ifdef __STDC__ 4608# include <limits.h> 4609#else 4610# include <assert.h> 4611#endif 4612 Syntax error 4613_ACEOF 4614if ac_fn_c_try_cpp "$LINENO"; then : 4615 4616else 4617 # Broken: fails on valid input. 4618continue 4619fi 4620rm -f conftest.err conftest.i conftest.$ac_ext 4621 4622 # OK, works on sane cases. Now check whether nonexistent headers 4623 # can be detected and how. 4624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4625/* end confdefs.h. */ 4626#include <ac_nonexistent.h> 4627_ACEOF 4628if ac_fn_c_try_cpp "$LINENO"; then : 4629 # Broken: success on invalid input. 4630continue 4631else 4632 # Passes both tests. 4633ac_preproc_ok=: 4634break 4635fi 4636rm -f conftest.err conftest.i conftest.$ac_ext 4637 4638done 4639# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4640rm -f conftest.i conftest.err conftest.$ac_ext 4641if $ac_preproc_ok; then : 4642 break 4643fi 4644 4645 done 4646 ac_cv_prog_CPP=$CPP 4647 4648fi 4649 CPP=$ac_cv_prog_CPP 4650else 4651 ac_cv_prog_CPP=$CPP 4652fi 4653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4654$as_echo "$CPP" >&6; } 4655ac_preproc_ok=false 4656for ac_c_preproc_warn_flag in '' yes 4657do 4658 # Use a header file that comes with gcc, so configuring glibc 4659 # with a fresh cross-compiler works. 4660 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4661 # <limits.h> exists even on freestanding compilers. 4662 # On the NeXT, cc -E runs the code through the compiler's parser, 4663 # not just through cpp. "Syntax error" is here to catch this case. 4664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4665/* end confdefs.h. */ 4666#ifdef __STDC__ 4667# include <limits.h> 4668#else 4669# include <assert.h> 4670#endif 4671 Syntax error 4672_ACEOF 4673if ac_fn_c_try_cpp "$LINENO"; then : 4674 4675else 4676 # Broken: fails on valid input. 4677continue 4678fi 4679rm -f conftest.err conftest.i conftest.$ac_ext 4680 4681 # OK, works on sane cases. Now check whether nonexistent headers 4682 # can be detected and how. 4683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4684/* end confdefs.h. */ 4685#include <ac_nonexistent.h> 4686_ACEOF 4687if ac_fn_c_try_cpp "$LINENO"; then : 4688 # Broken: success on invalid input. 4689continue 4690else 4691 # Passes both tests. 4692ac_preproc_ok=: 4693break 4694fi 4695rm -f conftest.err conftest.i conftest.$ac_ext 4696 4697done 4698# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4699rm -f conftest.i conftest.err conftest.$ac_ext 4700if $ac_preproc_ok; then : 4701 4702else 4703 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4704$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4705as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4706See \`config.log' for more details" "$LINENO" 5 ; } 4707fi 4708 4709ac_ext=c 4710ac_cpp='$CPP $CPPFLAGS' 4711ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4712ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4713ac_compiler_gnu=$ac_cv_c_compiler_gnu 4714 4715case `pwd` in 4716 *\ * | *\ *) 4717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4718$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4719esac 4720 4721 4722 4723macro_version='2.2.6b' 4724macro_revision='1.3017' 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738ltmain="$ac_aux_dir/ltmain.sh" 4739 4740# Make sure we can run config.sub. 4741$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4742 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4743 4744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4745$as_echo_n "checking build system type... " >&6; } 4746if test "${ac_cv_build+set}" = set; then : 4747 $as_echo_n "(cached) " >&6 4748else 4749 ac_build_alias=$build_alias 4750test "x$ac_build_alias" = x && 4751 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4752test "x$ac_build_alias" = x && 4753 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4754ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4755 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4756 4757fi 4758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4759$as_echo "$ac_cv_build" >&6; } 4760case $ac_cv_build in 4761*-*-*) ;; 4762*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; 4763esac 4764build=$ac_cv_build 4765ac_save_IFS=$IFS; IFS='-' 4766set x $ac_cv_build 4767shift 4768build_cpu=$1 4769build_vendor=$2 4770shift; shift 4771# Remember, the first character of IFS is used to create $*, 4772# except with old shells: 4773build_os=$* 4774IFS=$ac_save_IFS 4775case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4776 4777 4778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4779$as_echo_n "checking host system type... " >&6; } 4780if test "${ac_cv_host+set}" = set; then : 4781 $as_echo_n "(cached) " >&6 4782else 4783 if test "x$host_alias" = x; then 4784 ac_cv_host=$ac_cv_build 4785else 4786 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4787 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4788fi 4789 4790fi 4791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4792$as_echo "$ac_cv_host" >&6; } 4793case $ac_cv_host in 4794*-*-*) ;; 4795*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; 4796esac 4797host=$ac_cv_host 4798ac_save_IFS=$IFS; IFS='-' 4799set x $ac_cv_host 4800shift 4801host_cpu=$1 4802host_vendor=$2 4803shift; shift 4804# Remember, the first character of IFS is used to create $*, 4805# except with old shells: 4806host_os=$* 4807IFS=$ac_save_IFS 4808case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4809 4810 4811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4812$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4813if test "${ac_cv_path_SED+set}" = set; then : 4814 $as_echo_n "(cached) " >&6 4815else 4816 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4817 for ac_i in 1 2 3 4 5 6 7; do 4818 ac_script="$ac_script$as_nl$ac_script" 4819 done 4820 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4821 { ac_script=; unset ac_script;} 4822 if test -z "$SED"; then 4823 ac_path_SED_found=false 4824 # Loop through the user's path and test for each of PROGNAME-LIST 4825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4826for as_dir in $PATH 4827do 4828 IFS=$as_save_IFS 4829 test -z "$as_dir" && as_dir=. 4830 for ac_prog in sed gsed; do 4831 for ac_exec_ext in '' $ac_executable_extensions; do 4832 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4833 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 4834# Check for GNU ac_path_SED and select it if it is found. 4835 # Check for GNU $ac_path_SED 4836case `"$ac_path_SED" --version 2>&1` in 4837*GNU*) 4838 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4839*) 4840 ac_count=0 4841 $as_echo_n 0123456789 >"conftest.in" 4842 while : 4843 do 4844 cat "conftest.in" "conftest.in" >"conftest.tmp" 4845 mv "conftest.tmp" "conftest.in" 4846 cp "conftest.in" "conftest.nl" 4847 $as_echo '' >> "conftest.nl" 4848 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4849 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4850 as_fn_arith $ac_count + 1 && ac_count=$as_val 4851 if test $ac_count -gt ${ac_path_SED_max-0}; then 4852 # Best one so far, save it but keep looking for a better one 4853 ac_cv_path_SED="$ac_path_SED" 4854 ac_path_SED_max=$ac_count 4855 fi 4856 # 10*(2^10) chars as input seems more than enough 4857 test $ac_count -gt 10 && break 4858 done 4859 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4860esac 4861 4862 $ac_path_SED_found && break 3 4863 done 4864 done 4865 done 4866IFS=$as_save_IFS 4867 if test -z "$ac_cv_path_SED"; then 4868 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4869 fi 4870else 4871 ac_cv_path_SED=$SED 4872fi 4873 4874fi 4875{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4876$as_echo "$ac_cv_path_SED" >&6; } 4877 SED="$ac_cv_path_SED" 4878 rm -f conftest.sed 4879 4880test -z "$SED" && SED=sed 4881Xsed="$SED -e 1s/^X//" 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4894$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4895if test "${ac_cv_path_GREP+set}" = set; then : 4896 $as_echo_n "(cached) " >&6 4897else 4898 if test -z "$GREP"; then 4899 ac_path_GREP_found=false 4900 # Loop through the user's path and test for each of PROGNAME-LIST 4901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4902for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4903do 4904 IFS=$as_save_IFS 4905 test -z "$as_dir" && as_dir=. 4906 for ac_prog in grep ggrep; do 4907 for ac_exec_ext in '' $ac_executable_extensions; do 4908 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4909 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4910# Check for GNU ac_path_GREP and select it if it is found. 4911 # Check for GNU $ac_path_GREP 4912case `"$ac_path_GREP" --version 2>&1` in 4913*GNU*) 4914 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4915*) 4916 ac_count=0 4917 $as_echo_n 0123456789 >"conftest.in" 4918 while : 4919 do 4920 cat "conftest.in" "conftest.in" >"conftest.tmp" 4921 mv "conftest.tmp" "conftest.in" 4922 cp "conftest.in" "conftest.nl" 4923 $as_echo 'GREP' >> "conftest.nl" 4924 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4925 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4926 as_fn_arith $ac_count + 1 && ac_count=$as_val 4927 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4928 # Best one so far, save it but keep looking for a better one 4929 ac_cv_path_GREP="$ac_path_GREP" 4930 ac_path_GREP_max=$ac_count 4931 fi 4932 # 10*(2^10) chars as input seems more than enough 4933 test $ac_count -gt 10 && break 4934 done 4935 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4936esac 4937 4938 $ac_path_GREP_found && break 3 4939 done 4940 done 4941 done 4942IFS=$as_save_IFS 4943 if test -z "$ac_cv_path_GREP"; then 4944 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4945 fi 4946else 4947 ac_cv_path_GREP=$GREP 4948fi 4949 4950fi 4951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4952$as_echo "$ac_cv_path_GREP" >&6; } 4953 GREP="$ac_cv_path_GREP" 4954 4955 4956{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4957$as_echo_n "checking for egrep... " >&6; } 4958if test "${ac_cv_path_EGREP+set}" = set; then : 4959 $as_echo_n "(cached) " >&6 4960else 4961 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4962 then ac_cv_path_EGREP="$GREP -E" 4963 else 4964 if test -z "$EGREP"; then 4965 ac_path_EGREP_found=false 4966 # Loop through the user's path and test for each of PROGNAME-LIST 4967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4968for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4969do 4970 IFS=$as_save_IFS 4971 test -z "$as_dir" && as_dir=. 4972 for ac_prog in egrep; do 4973 for ac_exec_ext in '' $ac_executable_extensions; do 4974 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4975 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4976# Check for GNU ac_path_EGREP and select it if it is found. 4977 # Check for GNU $ac_path_EGREP 4978case `"$ac_path_EGREP" --version 2>&1` in 4979*GNU*) 4980 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4981*) 4982 ac_count=0 4983 $as_echo_n 0123456789 >"conftest.in" 4984 while : 4985 do 4986 cat "conftest.in" "conftest.in" >"conftest.tmp" 4987 mv "conftest.tmp" "conftest.in" 4988 cp "conftest.in" "conftest.nl" 4989 $as_echo 'EGREP' >> "conftest.nl" 4990 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4991 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4992 as_fn_arith $ac_count + 1 && ac_count=$as_val 4993 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4994 # Best one so far, save it but keep looking for a better one 4995 ac_cv_path_EGREP="$ac_path_EGREP" 4996 ac_path_EGREP_max=$ac_count 4997 fi 4998 # 10*(2^10) chars as input seems more than enough 4999 test $ac_count -gt 10 && break 5000 done 5001 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5002esac 5003 5004 $ac_path_EGREP_found && break 3 5005 done 5006 done 5007 done 5008IFS=$as_save_IFS 5009 if test -z "$ac_cv_path_EGREP"; then 5010 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5011 fi 5012else 5013 ac_cv_path_EGREP=$EGREP 5014fi 5015 5016 fi 5017fi 5018{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5019$as_echo "$ac_cv_path_EGREP" >&6; } 5020 EGREP="$ac_cv_path_EGREP" 5021 5022 5023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 5024$as_echo_n "checking for fgrep... " >&6; } 5025if test "${ac_cv_path_FGREP+set}" = set; then : 5026 $as_echo_n "(cached) " >&6 5027else 5028 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5029 then ac_cv_path_FGREP="$GREP -F" 5030 else 5031 if test -z "$FGREP"; then 5032 ac_path_FGREP_found=false 5033 # Loop through the user's path and test for each of PROGNAME-LIST 5034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5035for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5036do 5037 IFS=$as_save_IFS 5038 test -z "$as_dir" && as_dir=. 5039 for ac_prog in fgrep; do 5040 for ac_exec_ext in '' $ac_executable_extensions; do 5041 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 5042 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 5043# Check for GNU ac_path_FGREP and select it if it is found. 5044 # Check for GNU $ac_path_FGREP 5045case `"$ac_path_FGREP" --version 2>&1` in 5046*GNU*) 5047 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5048*) 5049 ac_count=0 5050 $as_echo_n 0123456789 >"conftest.in" 5051 while : 5052 do 5053 cat "conftest.in" "conftest.in" >"conftest.tmp" 5054 mv "conftest.tmp" "conftest.in" 5055 cp "conftest.in" "conftest.nl" 5056 $as_echo 'FGREP' >> "conftest.nl" 5057 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 5058 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5059 as_fn_arith $ac_count + 1 && ac_count=$as_val 5060 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 5061 # Best one so far, save it but keep looking for a better one 5062 ac_cv_path_FGREP="$ac_path_FGREP" 5063 ac_path_FGREP_max=$ac_count 5064 fi 5065 # 10*(2^10) chars as input seems more than enough 5066 test $ac_count -gt 10 && break 5067 done 5068 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5069esac 5070 5071 $ac_path_FGREP_found && break 3 5072 done 5073 done 5074 done 5075IFS=$as_save_IFS 5076 if test -z "$ac_cv_path_FGREP"; then 5077 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5078 fi 5079else 5080 ac_cv_path_FGREP=$FGREP 5081fi 5082 5083 fi 5084fi 5085{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 5086$as_echo "$ac_cv_path_FGREP" >&6; } 5087 FGREP="$ac_cv_path_FGREP" 5088 5089 5090test -z "$GREP" && GREP=grep 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110# Check whether --with-gnu-ld was given. 5111if test "${with_gnu_ld+set}" = set; then : 5112 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 5113else 5114 with_gnu_ld=no 5115fi 5116 5117ac_prog=ld 5118if test "$GCC" = yes; then 5119 # Check if gcc -print-prog-name=ld gives a path. 5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 5121$as_echo_n "checking for ld used by $CC... " >&6; } 5122 case $host in 5123 *-*-mingw*) 5124 # gcc leaves a trailing carriage return which upsets mingw 5125 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5126 *) 5127 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5128 esac 5129 case $ac_prog in 5130 # Accept absolute paths. 5131 [\\/]* | ?:[\\/]*) 5132 re_direlt='/[^/][^/]*/\.\./' 5133 # Canonicalize the pathname of ld 5134 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 5135 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 5136 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 5137 done 5138 test -z "$LD" && LD="$ac_prog" 5139 ;; 5140 "") 5141 # If it fails, then pretend we aren't using GCC. 5142 ac_prog=ld 5143 ;; 5144 *) 5145 # If it is relative, then search for the first ld in PATH. 5146 with_gnu_ld=unknown 5147 ;; 5148 esac 5149elif test "$with_gnu_ld" = yes; then 5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5151$as_echo_n "checking for GNU ld... " >&6; } 5152else 5153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5154$as_echo_n "checking for non-GNU ld... " >&6; } 5155fi 5156if test "${lt_cv_path_LD+set}" = set; then : 5157 $as_echo_n "(cached) " >&6 5158else 5159 if test -z "$LD"; then 5160 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5161 for ac_dir in $PATH; do 5162 IFS="$lt_save_ifs" 5163 test -z "$ac_dir" && ac_dir=. 5164 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5165 lt_cv_path_LD="$ac_dir/$ac_prog" 5166 # Check to see if the program is GNU ld. I'd rather use --version, 5167 # but apparently some variants of GNU ld only accept -v. 5168 # Break only if it was the GNU/non-GNU ld that we prefer. 5169 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5170 *GNU* | *'with BFD'*) 5171 test "$with_gnu_ld" != no && break 5172 ;; 5173 *) 5174 test "$with_gnu_ld" != yes && break 5175 ;; 5176 esac 5177 fi 5178 done 5179 IFS="$lt_save_ifs" 5180else 5181 lt_cv_path_LD="$LD" # Let the user override the test with a path. 5182fi 5183fi 5184 5185LD="$lt_cv_path_LD" 5186if test -n "$LD"; then 5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5188$as_echo "$LD" >&6; } 5189else 5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5191$as_echo "no" >&6; } 5192fi 5193test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 5194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5195$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5196if test "${lt_cv_prog_gnu_ld+set}" = set; then : 5197 $as_echo_n "(cached) " >&6 5198else 5199 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5200case `$LD -v 2>&1 </dev/null` in 5201*GNU* | *'with BFD'*) 5202 lt_cv_prog_gnu_ld=yes 5203 ;; 5204*) 5205 lt_cv_prog_gnu_ld=no 5206 ;; 5207esac 5208fi 5209{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 5210$as_echo "$lt_cv_prog_gnu_ld" >&6; } 5211with_gnu_ld=$lt_cv_prog_gnu_ld 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5222$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5223if test "${lt_cv_path_NM+set}" = set; then : 5224 $as_echo_n "(cached) " >&6 5225else 5226 if test -n "$NM"; then 5227 # Let the user override the test. 5228 lt_cv_path_NM="$NM" 5229else 5230 lt_nm_to_check="${ac_tool_prefix}nm" 5231 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5232 lt_nm_to_check="$lt_nm_to_check nm" 5233 fi 5234 for lt_tmp_nm in $lt_nm_to_check; do 5235 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5236 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5237 IFS="$lt_save_ifs" 5238 test -z "$ac_dir" && ac_dir=. 5239 tmp_nm="$ac_dir/$lt_tmp_nm" 5240 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 5241 # Check to see if the nm accepts a BSD-compat flag. 5242 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 5243 # nm: unknown option "B" ignored 5244 # Tru64's nm complains that /dev/null is an invalid object file 5245 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 5246 */dev/null* | *'Invalid file or object type'*) 5247 lt_cv_path_NM="$tmp_nm -B" 5248 break 5249 ;; 5250 *) 5251 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5252 */dev/null*) 5253 lt_cv_path_NM="$tmp_nm -p" 5254 break 5255 ;; 5256 *) 5257 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5258 continue # so that we can try to find one that supports BSD flags 5259 ;; 5260 esac 5261 ;; 5262 esac 5263 fi 5264 done 5265 IFS="$lt_save_ifs" 5266 done 5267 : ${lt_cv_path_NM=no} 5268fi 5269fi 5270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5271$as_echo "$lt_cv_path_NM" >&6; } 5272if test "$lt_cv_path_NM" != "no"; then 5273 NM="$lt_cv_path_NM" 5274else 5275 # Didn't find any BSD compatible name lister, look for dumpbin. 5276 if test -n "$ac_tool_prefix"; then 5277 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 5278 do 5279 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5280set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5282$as_echo_n "checking for $ac_word... " >&6; } 5283if test "${ac_cv_prog_DUMPBIN+set}" = set; then : 5284 $as_echo_n "(cached) " >&6 5285else 5286 if test -n "$DUMPBIN"; then 5287 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5288else 5289as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5290for as_dir in $PATH 5291do 5292 IFS=$as_save_IFS 5293 test -z "$as_dir" && as_dir=. 5294 for ac_exec_ext in '' $ac_executable_extensions; do 5295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5296 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5298 break 2 5299 fi 5300done 5301 done 5302IFS=$as_save_IFS 5303 5304fi 5305fi 5306DUMPBIN=$ac_cv_prog_DUMPBIN 5307if test -n "$DUMPBIN"; then 5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5309$as_echo "$DUMPBIN" >&6; } 5310else 5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5312$as_echo "no" >&6; } 5313fi 5314 5315 5316 test -n "$DUMPBIN" && break 5317 done 5318fi 5319if test -z "$DUMPBIN"; then 5320 ac_ct_DUMPBIN=$DUMPBIN 5321 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 5322do 5323 # Extract the first word of "$ac_prog", so it can be a program name with args. 5324set dummy $ac_prog; ac_word=$2 5325{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5326$as_echo_n "checking for $ac_word... " >&6; } 5327if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : 5328 $as_echo_n "(cached) " >&6 5329else 5330 if test -n "$ac_ct_DUMPBIN"; then 5331 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5332else 5333as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5334for as_dir in $PATH 5335do 5336 IFS=$as_save_IFS 5337 test -z "$as_dir" && as_dir=. 5338 for ac_exec_ext in '' $ac_executable_extensions; do 5339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5340 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5342 break 2 5343 fi 5344done 5345 done 5346IFS=$as_save_IFS 5347 5348fi 5349fi 5350ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5351if test -n "$ac_ct_DUMPBIN"; then 5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5353$as_echo "$ac_ct_DUMPBIN" >&6; } 5354else 5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5356$as_echo "no" >&6; } 5357fi 5358 5359 5360 test -n "$ac_ct_DUMPBIN" && break 5361done 5362 5363 if test "x$ac_ct_DUMPBIN" = x; then 5364 DUMPBIN=":" 5365 else 5366 case $cross_compiling:$ac_tool_warned in 5367yes:) 5368{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5369$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5370ac_tool_warned=yes ;; 5371esac 5372 DUMPBIN=$ac_ct_DUMPBIN 5373 fi 5374fi 5375 5376 5377 if test "$DUMPBIN" != ":"; then 5378 NM="$DUMPBIN" 5379 fi 5380fi 5381test -z "$NM" && NM=nm 5382 5383 5384 5385 5386 5387 5388{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5389$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5390if test "${lt_cv_nm_interface+set}" = set; then : 5391 $as_echo_n "(cached) " >&6 5392else 5393 lt_cv_nm_interface="BSD nm" 5394 echo "int some_variable = 0;" > conftest.$ac_ext 5395 (eval echo "\"\$as_me:5395: $ac_compile\"" >&5) 5396 (eval "$ac_compile" 2>conftest.err) 5397 cat conftest.err >&5 5398 (eval echo "\"\$as_me:5398: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5399 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5400 cat conftest.err >&5 5401 (eval echo "\"\$as_me:5401: output\"" >&5) 5402 cat conftest.out >&5 5403 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5404 lt_cv_nm_interface="MS dumpbin" 5405 fi 5406 rm -f conftest* 5407fi 5408{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5409$as_echo "$lt_cv_nm_interface" >&6; } 5410 5411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5412$as_echo_n "checking whether ln -s works... " >&6; } 5413LN_S=$as_ln_s 5414if test "$LN_S" = "ln -s"; then 5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5416$as_echo "yes" >&6; } 5417else 5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5419$as_echo "no, using $LN_S" >&6; } 5420fi 5421 5422# find the maximum length of command line arguments 5423{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5424$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5425if test "${lt_cv_sys_max_cmd_len+set}" = set; then : 5426 $as_echo_n "(cached) " >&6 5427else 5428 i=0 5429 teststring="ABCD" 5430 5431 case $build_os in 5432 msdosdjgpp*) 5433 # On DJGPP, this test can blow up pretty badly due to problems in libc 5434 # (any single argument exceeding 2000 bytes causes a buffer overrun 5435 # during glob expansion). Even if it were fixed, the result of this 5436 # check would be larger than it should be. 5437 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5438 ;; 5439 5440 gnu*) 5441 # Under GNU Hurd, this test is not required because there is 5442 # no limit to the length of command line arguments. 5443 # Libtool will interpret -1 as no limit whatsoever 5444 lt_cv_sys_max_cmd_len=-1; 5445 ;; 5446 5447 cygwin* | mingw* | cegcc*) 5448 # On Win9x/ME, this test blows up -- it succeeds, but takes 5449 # about 5 minutes as the teststring grows exponentially. 5450 # Worse, since 9x/ME are not pre-emptively multitasking, 5451 # you end up with a "frozen" computer, even though with patience 5452 # the test eventually succeeds (with a max line length of 256k). 5453 # Instead, let's just punt: use the minimum linelength reported by 5454 # all of the supported platforms: 8192 (on NT/2K/XP). 5455 lt_cv_sys_max_cmd_len=8192; 5456 ;; 5457 5458 amigaos*) 5459 # On AmigaOS with pdksh, this test takes hours, literally. 5460 # So we just punt and use a minimum line length of 8192. 5461 lt_cv_sys_max_cmd_len=8192; 5462 ;; 5463 5464 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 5465 # This has been around since 386BSD, at least. Likely further. 5466 if test -x /sbin/sysctl; then 5467 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5468 elif test -x /usr/sbin/sysctl; then 5469 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5470 else 5471 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5472 fi 5473 # And add a safety zone 5474 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5475 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5476 ;; 5477 5478 interix*) 5479 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5480 lt_cv_sys_max_cmd_len=196608 5481 ;; 5482 5483 osf*) 5484 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5485 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5486 # nice to cause kernel panics so lets avoid the loop below. 5487 # First set a reasonable default. 5488 lt_cv_sys_max_cmd_len=16384 5489 # 5490 if test -x /sbin/sysconfig; then 5491 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5492 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5493 esac 5494 fi 5495 ;; 5496 sco3.2v5*) 5497 lt_cv_sys_max_cmd_len=102400 5498 ;; 5499 sysv5* | sco5v6* | sysv4.2uw2*) 5500 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5501 if test -n "$kargmax"; then 5502 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5503 else 5504 lt_cv_sys_max_cmd_len=32768 5505 fi 5506 ;; 5507 *) 5508 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5509 if test -n "$lt_cv_sys_max_cmd_len"; then 5510 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5511 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5512 else 5513 # Make teststring a little bigger before we do anything with it. 5514 # a 1K string should be a reasonable start. 5515 for i in 1 2 3 4 5 6 7 8 ; do 5516 teststring=$teststring$teststring 5517 done 5518 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5519 # If test is not a shell built-in, we'll probably end up computing a 5520 # maximum length that is only half of the actual maximum length, but 5521 # we can't tell. 5522 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ 5523 = "XX$teststring$teststring"; } >/dev/null 2>&1 && 5524 test $i != 17 # 1/2 MB should be enough 5525 do 5526 i=`expr $i + 1` 5527 teststring=$teststring$teststring 5528 done 5529 # Only check the string length outside the loop. 5530 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5531 teststring= 5532 # Add a significant safety factor because C++ compilers can tack on 5533 # massive amounts of additional arguments before passing them to the 5534 # linker. It appears as though 1/2 is a usable value. 5535 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5536 fi 5537 ;; 5538 esac 5539 5540fi 5541 5542if test -n $lt_cv_sys_max_cmd_len ; then 5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5544$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5545else 5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5547$as_echo "none" >&6; } 5548fi 5549max_cmd_len=$lt_cv_sys_max_cmd_len 5550 5551 5552 5553 5554 5555 5556: ${CP="cp -f"} 5557: ${MV="mv -f"} 5558: ${RM="rm -f"} 5559 5560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 5561$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 5562# Try some XSI features 5563xsi_shell=no 5564( _lt_dummy="a/b/c" 5565 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ 5566 = c,a/b,, \ 5567 && eval 'test $(( 1 + 1 )) -eq 2 \ 5568 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 5569 && xsi_shell=yes 5570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 5571$as_echo "$xsi_shell" >&6; } 5572 5573 5574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 5575$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 5576lt_shell_append=no 5577( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 5578 >/dev/null 2>&1 \ 5579 && lt_shell_append=yes 5580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 5581$as_echo "$lt_shell_append" >&6; } 5582 5583 5584if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5585 lt_unset=unset 5586else 5587 lt_unset=false 5588fi 5589 5590 5591 5592 5593 5594# test EBCDIC or ASCII 5595case `echo X|tr X '\101'` in 5596 A) # ASCII based system 5597 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5598 lt_SP2NL='tr \040 \012' 5599 lt_NL2SP='tr \015\012 \040\040' 5600 ;; 5601 *) # EBCDIC based system 5602 lt_SP2NL='tr \100 \n' 5603 lt_NL2SP='tr \r\n \100\100' 5604 ;; 5605esac 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5616$as_echo_n "checking for $LD option to reload object files... " >&6; } 5617if test "${lt_cv_ld_reload_flag+set}" = set; then : 5618 $as_echo_n "(cached) " >&6 5619else 5620 lt_cv_ld_reload_flag='-r' 5621fi 5622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5623$as_echo "$lt_cv_ld_reload_flag" >&6; } 5624reload_flag=$lt_cv_ld_reload_flag 5625case $reload_flag in 5626"" | " "*) ;; 5627*) reload_flag=" $reload_flag" ;; 5628esac 5629reload_cmds='$LD$reload_flag -o $output$reload_objs' 5630case $host_os in 5631 darwin*) 5632 if test "$GCC" = yes; then 5633 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5634 else 5635 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5636 fi 5637 ;; 5638esac 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648if test -n "$ac_tool_prefix"; then 5649 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5650set dummy ${ac_tool_prefix}objdump; ac_word=$2 5651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5652$as_echo_n "checking for $ac_word... " >&6; } 5653if test "${ac_cv_prog_OBJDUMP+set}" = set; then : 5654 $as_echo_n "(cached) " >&6 5655else 5656 if test -n "$OBJDUMP"; then 5657 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5658else 5659as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5660for as_dir in $PATH 5661do 5662 IFS=$as_save_IFS 5663 test -z "$as_dir" && as_dir=. 5664 for ac_exec_ext in '' $ac_executable_extensions; do 5665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5666 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5668 break 2 5669 fi 5670done 5671 done 5672IFS=$as_save_IFS 5673 5674fi 5675fi 5676OBJDUMP=$ac_cv_prog_OBJDUMP 5677if test -n "$OBJDUMP"; then 5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5679$as_echo "$OBJDUMP" >&6; } 5680else 5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5682$as_echo "no" >&6; } 5683fi 5684 5685 5686fi 5687if test -z "$ac_cv_prog_OBJDUMP"; then 5688 ac_ct_OBJDUMP=$OBJDUMP 5689 # Extract the first word of "objdump", so it can be a program name with args. 5690set dummy objdump; ac_word=$2 5691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5692$as_echo_n "checking for $ac_word... " >&6; } 5693if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : 5694 $as_echo_n "(cached) " >&6 5695else 5696 if test -n "$ac_ct_OBJDUMP"; then 5697 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5698else 5699as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5700for as_dir in $PATH 5701do 5702 IFS=$as_save_IFS 5703 test -z "$as_dir" && as_dir=. 5704 for ac_exec_ext in '' $ac_executable_extensions; do 5705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5706 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5708 break 2 5709 fi 5710done 5711 done 5712IFS=$as_save_IFS 5713 5714fi 5715fi 5716ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5717if test -n "$ac_ct_OBJDUMP"; then 5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5719$as_echo "$ac_ct_OBJDUMP" >&6; } 5720else 5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5722$as_echo "no" >&6; } 5723fi 5724 5725 if test "x$ac_ct_OBJDUMP" = x; then 5726 OBJDUMP="false" 5727 else 5728 case $cross_compiling:$ac_tool_warned in 5729yes:) 5730{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5731$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5732ac_tool_warned=yes ;; 5733esac 5734 OBJDUMP=$ac_ct_OBJDUMP 5735 fi 5736else 5737 OBJDUMP="$ac_cv_prog_OBJDUMP" 5738fi 5739 5740test -z "$OBJDUMP" && OBJDUMP=objdump 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5751$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5752if test "${lt_cv_deplibs_check_method+set}" = set; then : 5753 $as_echo_n "(cached) " >&6 5754else 5755 lt_cv_file_magic_cmd='$MAGIC_CMD' 5756lt_cv_file_magic_test_file= 5757lt_cv_deplibs_check_method='unknown' 5758# Need to set the preceding variable on all platforms that support 5759# interlibrary dependencies. 5760# 'none' -- dependencies not supported. 5761# `unknown' -- same as none, but documents that we really don't know. 5762# 'pass_all' -- all dependencies passed with no checks. 5763# 'test_compile' -- check by making test program. 5764# 'file_magic [[regex]]' -- check by looking for files in library path 5765# which responds to the $file_magic_cmd with a given extended regex. 5766# If you have `file' or equivalent on your system and you're not sure 5767# whether `pass_all' will *always* work, you probably want this one. 5768 5769case $host_os in 5770aix[4-9]*) 5771 lt_cv_deplibs_check_method=pass_all 5772 ;; 5773 5774beos*) 5775 lt_cv_deplibs_check_method=pass_all 5776 ;; 5777 5778bsdi[45]*) 5779 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5780 lt_cv_file_magic_cmd='/usr/bin/file -L' 5781 lt_cv_file_magic_test_file=/shlib/libc.so 5782 ;; 5783 5784cygwin*) 5785 # func_win32_libid is a shell function defined in ltmain.sh 5786 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5787 lt_cv_file_magic_cmd='func_win32_libid' 5788 ;; 5789 5790mingw* | pw32*) 5791 # Base MSYS/MinGW do not provide the 'file' command needed by 5792 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5793 # unless we find 'file', for example because we are cross-compiling. 5794 if ( file / ) >/dev/null 2>&1; then 5795 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5796 lt_cv_file_magic_cmd='func_win32_libid' 5797 else 5798 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 5799 lt_cv_file_magic_cmd='$OBJDUMP -f' 5800 fi 5801 ;; 5802 5803cegcc) 5804 # use the weaker test based on 'objdump'. See mingw*. 5805 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5806 lt_cv_file_magic_cmd='$OBJDUMP -f' 5807 ;; 5808 5809darwin* | rhapsody*) 5810 lt_cv_deplibs_check_method=pass_all 5811 ;; 5812 5813freebsd* | dragonfly*) 5814 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5815 case $host_cpu in 5816 i*86 ) 5817 # Not sure whether the presence of OpenBSD here was a mistake. 5818 # Let's accept both of them until this is cleared up. 5819 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5820 lt_cv_file_magic_cmd=/usr/bin/file 5821 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5822 ;; 5823 esac 5824 else 5825 lt_cv_deplibs_check_method=pass_all 5826 fi 5827 ;; 5828 5829gnu*) 5830 lt_cv_deplibs_check_method=pass_all 5831 ;; 5832 5833hpux10.20* | hpux11*) 5834 lt_cv_file_magic_cmd=/usr/bin/file 5835 case $host_cpu in 5836 ia64*) 5837 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5838 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5839 ;; 5840 hppa*64*) 5841 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]' 5842 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5843 ;; 5844 *) 5845 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 5846 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5847 ;; 5848 esac 5849 ;; 5850 5851interix[3-9]*) 5852 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5853 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5854 ;; 5855 5856irix5* | irix6* | nonstopux*) 5857 case $LD in 5858 *-32|*"-32 ") libmagic=32-bit;; 5859 *-n32|*"-n32 ") libmagic=N32;; 5860 *-64|*"-64 ") libmagic=64-bit;; 5861 *) libmagic=never-match;; 5862 esac 5863 lt_cv_deplibs_check_method=pass_all 5864 ;; 5865 5866# This must be Linux ELF. 5867linux* | k*bsd*-gnu | kopensolaris*-gnu) 5868 lt_cv_deplibs_check_method=pass_all 5869 ;; 5870 5871netbsd* | netbsdelf*-gnu) 5872 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5873 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5874 else 5875 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5876 fi 5877 ;; 5878 5879newos6*) 5880 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5881 lt_cv_file_magic_cmd=/usr/bin/file 5882 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5883 ;; 5884 5885*nto* | *qnx*) 5886 lt_cv_deplibs_check_method=pass_all 5887 ;; 5888 5889openbsd*) 5890 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 5891 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5892 else 5893 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5894 fi 5895 ;; 5896 5897osf3* | osf4* | osf5*) 5898 lt_cv_deplibs_check_method=pass_all 5899 ;; 5900 5901rdos*) 5902 lt_cv_deplibs_check_method=pass_all 5903 ;; 5904 5905solaris*) 5906 lt_cv_deplibs_check_method=pass_all 5907 ;; 5908 5909sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5910 lt_cv_deplibs_check_method=pass_all 5911 ;; 5912 5913sysv4 | sysv4.3*) 5914 case $host_vendor in 5915 motorola) 5916 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]' 5917 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5918 ;; 5919 ncr) 5920 lt_cv_deplibs_check_method=pass_all 5921 ;; 5922 sequent) 5923 lt_cv_file_magic_cmd='/bin/file' 5924 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5925 ;; 5926 sni) 5927 lt_cv_file_magic_cmd='/bin/file' 5928 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5929 lt_cv_file_magic_test_file=/lib/libc.so 5930 ;; 5931 siemens) 5932 lt_cv_deplibs_check_method=pass_all 5933 ;; 5934 pc) 5935 lt_cv_deplibs_check_method=pass_all 5936 ;; 5937 esac 5938 ;; 5939 5940tpf*) 5941 lt_cv_deplibs_check_method=pass_all 5942 ;; 5943esac 5944 5945fi 5946{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5947$as_echo "$lt_cv_deplibs_check_method" >&6; } 5948file_magic_cmd=$lt_cv_file_magic_cmd 5949deplibs_check_method=$lt_cv_deplibs_check_method 5950test -z "$deplibs_check_method" && deplibs_check_method=unknown 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963if test -n "$ac_tool_prefix"; then 5964 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 5965set dummy ${ac_tool_prefix}ar; ac_word=$2 5966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5967$as_echo_n "checking for $ac_word... " >&6; } 5968if test "${ac_cv_prog_AR+set}" = set; then : 5969 $as_echo_n "(cached) " >&6 5970else 5971 if test -n "$AR"; then 5972 ac_cv_prog_AR="$AR" # Let the user override the test. 5973else 5974as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5975for as_dir in $PATH 5976do 5977 IFS=$as_save_IFS 5978 test -z "$as_dir" && as_dir=. 5979 for ac_exec_ext in '' $ac_executable_extensions; do 5980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5981 ac_cv_prog_AR="${ac_tool_prefix}ar" 5982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5983 break 2 5984 fi 5985done 5986 done 5987IFS=$as_save_IFS 5988 5989fi 5990fi 5991AR=$ac_cv_prog_AR 5992if test -n "$AR"; then 5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5994$as_echo "$AR" >&6; } 5995else 5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5997$as_echo "no" >&6; } 5998fi 5999 6000 6001fi 6002if test -z "$ac_cv_prog_AR"; then 6003 ac_ct_AR=$AR 6004 # Extract the first word of "ar", so it can be a program name with args. 6005set dummy ar; ac_word=$2 6006{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6007$as_echo_n "checking for $ac_word... " >&6; } 6008if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : 6009 $as_echo_n "(cached) " >&6 6010else 6011 if test -n "$ac_ct_AR"; then 6012 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6013else 6014as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6015for as_dir in $PATH 6016do 6017 IFS=$as_save_IFS 6018 test -z "$as_dir" && as_dir=. 6019 for ac_exec_ext in '' $ac_executable_extensions; do 6020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6021 ac_cv_prog_ac_ct_AR="ar" 6022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6023 break 2 6024 fi 6025done 6026 done 6027IFS=$as_save_IFS 6028 6029fi 6030fi 6031ac_ct_AR=$ac_cv_prog_ac_ct_AR 6032if test -n "$ac_ct_AR"; then 6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6034$as_echo "$ac_ct_AR" >&6; } 6035else 6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6037$as_echo "no" >&6; } 6038fi 6039 6040 if test "x$ac_ct_AR" = x; then 6041 AR="false" 6042 else 6043 case $cross_compiling:$ac_tool_warned in 6044yes:) 6045{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6046$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6047ac_tool_warned=yes ;; 6048esac 6049 AR=$ac_ct_AR 6050 fi 6051else 6052 AR="$ac_cv_prog_AR" 6053fi 6054 6055test -z "$AR" && AR=ar 6056test -z "$AR_FLAGS" && AR_FLAGS=cru 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068if test -n "$ac_tool_prefix"; then 6069 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6070set dummy ${ac_tool_prefix}strip; ac_word=$2 6071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6072$as_echo_n "checking for $ac_word... " >&6; } 6073if test "${ac_cv_prog_STRIP+set}" = set; then : 6074 $as_echo_n "(cached) " >&6 6075else 6076 if test -n "$STRIP"; then 6077 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6078else 6079as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6080for as_dir in $PATH 6081do 6082 IFS=$as_save_IFS 6083 test -z "$as_dir" && as_dir=. 6084 for ac_exec_ext in '' $ac_executable_extensions; do 6085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6086 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6088 break 2 6089 fi 6090done 6091 done 6092IFS=$as_save_IFS 6093 6094fi 6095fi 6096STRIP=$ac_cv_prog_STRIP 6097if test -n "$STRIP"; then 6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6099$as_echo "$STRIP" >&6; } 6100else 6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6102$as_echo "no" >&6; } 6103fi 6104 6105 6106fi 6107if test -z "$ac_cv_prog_STRIP"; then 6108 ac_ct_STRIP=$STRIP 6109 # Extract the first word of "strip", so it can be a program name with args. 6110set dummy strip; ac_word=$2 6111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6112$as_echo_n "checking for $ac_word... " >&6; } 6113if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 6114 $as_echo_n "(cached) " >&6 6115else 6116 if test -n "$ac_ct_STRIP"; then 6117 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6118else 6119as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6120for as_dir in $PATH 6121do 6122 IFS=$as_save_IFS 6123 test -z "$as_dir" && as_dir=. 6124 for ac_exec_ext in '' $ac_executable_extensions; do 6125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6126 ac_cv_prog_ac_ct_STRIP="strip" 6127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6128 break 2 6129 fi 6130done 6131 done 6132IFS=$as_save_IFS 6133 6134fi 6135fi 6136ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6137if test -n "$ac_ct_STRIP"; then 6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6139$as_echo "$ac_ct_STRIP" >&6; } 6140else 6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6142$as_echo "no" >&6; } 6143fi 6144 6145 if test "x$ac_ct_STRIP" = x; then 6146 STRIP=":" 6147 else 6148 case $cross_compiling:$ac_tool_warned in 6149yes:) 6150{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6151$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6152ac_tool_warned=yes ;; 6153esac 6154 STRIP=$ac_ct_STRIP 6155 fi 6156else 6157 STRIP="$ac_cv_prog_STRIP" 6158fi 6159 6160test -z "$STRIP" && STRIP=: 6161 6162 6163 6164 6165 6166 6167if test -n "$ac_tool_prefix"; then 6168 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6169set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6171$as_echo_n "checking for $ac_word... " >&6; } 6172if test "${ac_cv_prog_RANLIB+set}" = set; then : 6173 $as_echo_n "(cached) " >&6 6174else 6175 if test -n "$RANLIB"; then 6176 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6177else 6178as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6179for as_dir in $PATH 6180do 6181 IFS=$as_save_IFS 6182 test -z "$as_dir" && as_dir=. 6183 for ac_exec_ext in '' $ac_executable_extensions; do 6184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6185 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6187 break 2 6188 fi 6189done 6190 done 6191IFS=$as_save_IFS 6192 6193fi 6194fi 6195RANLIB=$ac_cv_prog_RANLIB 6196if test -n "$RANLIB"; then 6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6198$as_echo "$RANLIB" >&6; } 6199else 6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6201$as_echo "no" >&6; } 6202fi 6203 6204 6205fi 6206if test -z "$ac_cv_prog_RANLIB"; then 6207 ac_ct_RANLIB=$RANLIB 6208 # Extract the first word of "ranlib", so it can be a program name with args. 6209set dummy ranlib; ac_word=$2 6210{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6211$as_echo_n "checking for $ac_word... " >&6; } 6212if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 6213 $as_echo_n "(cached) " >&6 6214else 6215 if test -n "$ac_ct_RANLIB"; then 6216 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6217else 6218as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6219for as_dir in $PATH 6220do 6221 IFS=$as_save_IFS 6222 test -z "$as_dir" && as_dir=. 6223 for ac_exec_ext in '' $ac_executable_extensions; do 6224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6225 ac_cv_prog_ac_ct_RANLIB="ranlib" 6226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6227 break 2 6228 fi 6229done 6230 done 6231IFS=$as_save_IFS 6232 6233fi 6234fi 6235ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6236if test -n "$ac_ct_RANLIB"; then 6237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6238$as_echo "$ac_ct_RANLIB" >&6; } 6239else 6240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6241$as_echo "no" >&6; } 6242fi 6243 6244 if test "x$ac_ct_RANLIB" = x; then 6245 RANLIB=":" 6246 else 6247 case $cross_compiling:$ac_tool_warned in 6248yes:) 6249{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6250$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6251ac_tool_warned=yes ;; 6252esac 6253 RANLIB=$ac_ct_RANLIB 6254 fi 6255else 6256 RANLIB="$ac_cv_prog_RANLIB" 6257fi 6258 6259test -z "$RANLIB" && RANLIB=: 6260 6261 6262 6263 6264 6265 6266# Determine commands to create old-style static archives. 6267old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6268old_postinstall_cmds='chmod 644 $oldlib' 6269old_postuninstall_cmds= 6270 6271if test -n "$RANLIB"; then 6272 case $host_os in 6273 openbsd*) 6274 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 6275 ;; 6276 *) 6277 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 6278 ;; 6279 esac 6280 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 6281fi 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316# If no C compiler was specified, use CC. 6317LTCC=${LTCC-"$CC"} 6318 6319# If no C compiler flags were specified, use CFLAGS. 6320LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6321 6322# Allow CC to be a program name with arguments. 6323compiler=$CC 6324 6325 6326# Check for command to grab the raw symbol name followed by C symbol from nm. 6327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6328$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6329if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : 6330 $as_echo_n "(cached) " >&6 6331else 6332 6333# These are sane defaults that work on at least a few old systems. 6334# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6335 6336# Character class describing NM global symbol codes. 6337symcode='[BCDEGRST]' 6338 6339# Regexp to match symbols that can be accessed directly from C. 6340sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6341 6342# Define system-specific variables. 6343case $host_os in 6344aix*) 6345 symcode='[BCDT]' 6346 ;; 6347cygwin* | mingw* | pw32* | cegcc*) 6348 symcode='[ABCDGISTW]' 6349 ;; 6350hpux*) 6351 if test "$host_cpu" = ia64; then 6352 symcode='[ABCDEGRST]' 6353 fi 6354 ;; 6355irix* | nonstopux*) 6356 symcode='[BCDEGRST]' 6357 ;; 6358osf*) 6359 symcode='[BCDEGQRST]' 6360 ;; 6361solaris*) 6362 symcode='[BDRT]' 6363 ;; 6364sco3.2v5*) 6365 symcode='[DT]' 6366 ;; 6367sysv4.2uw2*) 6368 symcode='[DT]' 6369 ;; 6370sysv5* | sco5v6* | unixware* | OpenUNIX*) 6371 symcode='[ABDT]' 6372 ;; 6373sysv4) 6374 symcode='[DFNSTU]' 6375 ;; 6376esac 6377 6378# If we're using GNU nm, then use its standard symbol codes. 6379case `$NM -V 2>&1` in 6380*GNU* | *'with BFD'*) 6381 symcode='[ABCDGIRSTW]' ;; 6382esac 6383 6384# Transform an extracted symbol line into a proper C declaration. 6385# Some systems (esp. on ia64) link data and code symbols differently, 6386# so use this general approach. 6387lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6388 6389# Transform an extracted symbol line into symbol name and symbol address 6390lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 6391lt_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'" 6392 6393# Handle CRLF in mingw tool chain 6394opt_cr= 6395case $build_os in 6396mingw*) 6397 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6398 ;; 6399esac 6400 6401# Try without a prefix underscore, then with it. 6402for ac_symprfx in "" "_"; do 6403 6404 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6405 symxfrm="\\1 $ac_symprfx\\2 \\2" 6406 6407 # Write the raw and C identifiers. 6408 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6409 # Fake it for dumpbin and say T for any non-static function 6410 # and D for any global variable. 6411 # Also find C++ and __fastcall symbols from MSVC++, 6412 # which start with @ or ?. 6413 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6414" {last_section=section; section=\$ 3};"\ 6415" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6416" \$ 0!~/External *\|/{next};"\ 6417" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6418" {if(hide[section]) next};"\ 6419" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 6420" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 6421" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 6422" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 6423" ' prfx=^$ac_symprfx" 6424 else 6425 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6426 fi 6427 6428 # Check to see that the pipe works correctly. 6429 pipe_works=no 6430 6431 rm -f conftest* 6432 cat > conftest.$ac_ext <<_LT_EOF 6433#ifdef __cplusplus 6434extern "C" { 6435#endif 6436char nm_test_var; 6437void nm_test_func(void); 6438void nm_test_func(void){} 6439#ifdef __cplusplus 6440} 6441#endif 6442int main(){nm_test_var='a';nm_test_func();return(0);} 6443_LT_EOF 6444 6445 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6446 (eval $ac_compile) 2>&5 6447 ac_status=$? 6448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6449 test $ac_status = 0; }; then 6450 # Now try to grab the symbols. 6451 nlist=conftest.nm 6452 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 6453 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 6454 ac_status=$? 6455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6456 test $ac_status = 0; } && test -s "$nlist"; then 6457 # Try sorting and uniquifying the output. 6458 if sort "$nlist" | uniq > "$nlist"T; then 6459 mv -f "$nlist"T "$nlist" 6460 else 6461 rm -f "$nlist"T 6462 fi 6463 6464 # Make sure that we snagged all the symbols we need. 6465 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6466 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6467 cat <<_LT_EOF > conftest.$ac_ext 6468#ifdef __cplusplus 6469extern "C" { 6470#endif 6471 6472_LT_EOF 6473 # Now generate the symbol file. 6474 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6475 6476 cat <<_LT_EOF >> conftest.$ac_ext 6477 6478/* The mapping between symbol names and symbols. */ 6479const struct { 6480 const char *name; 6481 void *address; 6482} 6483lt__PROGRAM__LTX_preloaded_symbols[] = 6484{ 6485 { "@PROGRAM@", (void *) 0 }, 6486_LT_EOF 6487 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6488 cat <<\_LT_EOF >> conftest.$ac_ext 6489 {0, (void *) 0} 6490}; 6491 6492/* This works around a problem in FreeBSD linker */ 6493#ifdef FREEBSD_WORKAROUND 6494static const void *lt_preloaded_setup() { 6495 return lt__PROGRAM__LTX_preloaded_symbols; 6496} 6497#endif 6498 6499#ifdef __cplusplus 6500} 6501#endif 6502_LT_EOF 6503 # Now try linking the two files. 6504 mv conftest.$ac_objext conftstm.$ac_objext 6505 lt_save_LIBS="$LIBS" 6506 lt_save_CFLAGS="$CFLAGS" 6507 LIBS="conftstm.$ac_objext" 6508 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6509 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6510 (eval $ac_link) 2>&5 6511 ac_status=$? 6512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6513 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 6514 pipe_works=yes 6515 fi 6516 LIBS="$lt_save_LIBS" 6517 CFLAGS="$lt_save_CFLAGS" 6518 else 6519 echo "cannot find nm_test_func in $nlist" >&5 6520 fi 6521 else 6522 echo "cannot find nm_test_var in $nlist" >&5 6523 fi 6524 else 6525 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6526 fi 6527 else 6528 echo "$progname: failed program was:" >&5 6529 cat conftest.$ac_ext >&5 6530 fi 6531 rm -rf conftest* conftst* 6532 6533 # Do not use the global_symbol_pipe unless it works. 6534 if test "$pipe_works" = yes; then 6535 break 6536 else 6537 lt_cv_sys_global_symbol_pipe= 6538 fi 6539done 6540 6541fi 6542 6543if test -z "$lt_cv_sys_global_symbol_pipe"; then 6544 lt_cv_sys_global_symbol_to_cdecl= 6545fi 6546if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6548$as_echo "failed" >&6; } 6549else 6550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6551$as_echo "ok" >&6; } 6552fi 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575# Check whether --enable-libtool-lock was given. 6576if test "${enable_libtool_lock+set}" = set; then : 6577 enableval=$enable_libtool_lock; 6578fi 6579 6580test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 6581 6582# Some flags need to be propagated to the compiler or linker for good 6583# libtool support. 6584case $host in 6585ia64-*-hpux*) 6586 # Find out which ABI we are using. 6587 echo 'int i;' > conftest.$ac_ext 6588 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6589 (eval $ac_compile) 2>&5 6590 ac_status=$? 6591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6592 test $ac_status = 0; }; then 6593 case `/usr/bin/file conftest.$ac_objext` in 6594 *ELF-32*) 6595 HPUX_IA64_MODE="32" 6596 ;; 6597 *ELF-64*) 6598 HPUX_IA64_MODE="64" 6599 ;; 6600 esac 6601 fi 6602 rm -rf conftest* 6603 ;; 6604*-*-irix6*) 6605 # Find out which ABI we are using. 6606 echo '#line 6606 "configure"' > conftest.$ac_ext 6607 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6608 (eval $ac_compile) 2>&5 6609 ac_status=$? 6610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6611 test $ac_status = 0; }; then 6612 if test "$lt_cv_prog_gnu_ld" = yes; then 6613 case `/usr/bin/file conftest.$ac_objext` in 6614 *32-bit*) 6615 LD="${LD-ld} -melf32bsmip" 6616 ;; 6617 *N32*) 6618 LD="${LD-ld} -melf32bmipn32" 6619 ;; 6620 *64-bit*) 6621 LD="${LD-ld} -melf64bmip" 6622 ;; 6623 esac 6624 else 6625 case `/usr/bin/file conftest.$ac_objext` in 6626 *32-bit*) 6627 LD="${LD-ld} -32" 6628 ;; 6629 *N32*) 6630 LD="${LD-ld} -n32" 6631 ;; 6632 *64-bit*) 6633 LD="${LD-ld} -64" 6634 ;; 6635 esac 6636 fi 6637 fi 6638 rm -rf conftest* 6639 ;; 6640 6641x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 6642s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6643 # Find out which ABI we are using. 6644 echo 'int i;' > conftest.$ac_ext 6645 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6646 (eval $ac_compile) 2>&5 6647 ac_status=$? 6648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6649 test $ac_status = 0; }; then 6650 case `/usr/bin/file conftest.o` in 6651 *32-bit*) 6652 case $host in 6653 x86_64-*kfreebsd*-gnu) 6654 LD="${LD-ld} -m elf_i386_fbsd" 6655 ;; 6656 x86_64-*linux*) 6657 LD="${LD-ld} -m elf_i386" 6658 ;; 6659 ppc64-*linux*|powerpc64-*linux*) 6660 LD="${LD-ld} -m elf32ppclinux" 6661 ;; 6662 s390x-*linux*) 6663 LD="${LD-ld} -m elf_s390" 6664 ;; 6665 sparc64-*linux*) 6666 LD="${LD-ld} -m elf32_sparc" 6667 ;; 6668 esac 6669 ;; 6670 *64-bit*) 6671 case $host in 6672 x86_64-*kfreebsd*-gnu) 6673 LD="${LD-ld} -m elf_x86_64_fbsd" 6674 ;; 6675 x86_64-*linux*) 6676 LD="${LD-ld} -m elf_x86_64" 6677 ;; 6678 ppc*-*linux*|powerpc*-*linux*) 6679 LD="${LD-ld} -m elf64ppc" 6680 ;; 6681 s390*-*linux*|s390*-*tpf*) 6682 LD="${LD-ld} -m elf64_s390" 6683 ;; 6684 sparc*-*linux*) 6685 LD="${LD-ld} -m elf64_sparc" 6686 ;; 6687 esac 6688 ;; 6689 esac 6690 fi 6691 rm -rf conftest* 6692 ;; 6693 6694*-*-sco3.2v5*) 6695 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6696 SAVE_CFLAGS="$CFLAGS" 6697 CFLAGS="$CFLAGS -belf" 6698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6699$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6700if test "${lt_cv_cc_needs_belf+set}" = set; then : 6701 $as_echo_n "(cached) " >&6 6702else 6703 ac_ext=c 6704ac_cpp='$CPP $CPPFLAGS' 6705ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6706ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6707ac_compiler_gnu=$ac_cv_c_compiler_gnu 6708 6709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6710/* end confdefs.h. */ 6711 6712int 6713main () 6714{ 6715 6716 ; 6717 return 0; 6718} 6719_ACEOF 6720if ac_fn_c_try_link "$LINENO"; then : 6721 lt_cv_cc_needs_belf=yes 6722else 6723 lt_cv_cc_needs_belf=no 6724fi 6725rm -f core conftest.err conftest.$ac_objext \ 6726 conftest$ac_exeext conftest.$ac_ext 6727 ac_ext=c 6728ac_cpp='$CPP $CPPFLAGS' 6729ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6730ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6731ac_compiler_gnu=$ac_cv_c_compiler_gnu 6732 6733fi 6734{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6735$as_echo "$lt_cv_cc_needs_belf" >&6; } 6736 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 6737 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6738 CFLAGS="$SAVE_CFLAGS" 6739 fi 6740 ;; 6741sparc*-*solaris*) 6742 # Find out which ABI we are using. 6743 echo 'int i;' > conftest.$ac_ext 6744 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6745 (eval $ac_compile) 2>&5 6746 ac_status=$? 6747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6748 test $ac_status = 0; }; then 6749 case `/usr/bin/file conftest.o` in 6750 *64-bit*) 6751 case $lt_cv_prog_gnu_ld in 6752 yes*) LD="${LD-ld} -m elf64_sparc" ;; 6753 *) 6754 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6755 LD="${LD-ld} -64" 6756 fi 6757 ;; 6758 esac 6759 ;; 6760 esac 6761 fi 6762 rm -rf conftest* 6763 ;; 6764esac 6765 6766need_locks="$enable_libtool_lock" 6767 6768 6769 case $host_os in 6770 rhapsody* | darwin*) 6771 if test -n "$ac_tool_prefix"; then 6772 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6773set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6775$as_echo_n "checking for $ac_word... " >&6; } 6776if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : 6777 $as_echo_n "(cached) " >&6 6778else 6779 if test -n "$DSYMUTIL"; then 6780 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6781else 6782as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6783for as_dir in $PATH 6784do 6785 IFS=$as_save_IFS 6786 test -z "$as_dir" && as_dir=. 6787 for ac_exec_ext in '' $ac_executable_extensions; do 6788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6789 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6791 break 2 6792 fi 6793done 6794 done 6795IFS=$as_save_IFS 6796 6797fi 6798fi 6799DSYMUTIL=$ac_cv_prog_DSYMUTIL 6800if test -n "$DSYMUTIL"; then 6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6802$as_echo "$DSYMUTIL" >&6; } 6803else 6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6805$as_echo "no" >&6; } 6806fi 6807 6808 6809fi 6810if test -z "$ac_cv_prog_DSYMUTIL"; then 6811 ac_ct_DSYMUTIL=$DSYMUTIL 6812 # Extract the first word of "dsymutil", so it can be a program name with args. 6813set dummy dsymutil; ac_word=$2 6814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6815$as_echo_n "checking for $ac_word... " >&6; } 6816if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : 6817 $as_echo_n "(cached) " >&6 6818else 6819 if test -n "$ac_ct_DSYMUTIL"; then 6820 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6821else 6822as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6823for as_dir in $PATH 6824do 6825 IFS=$as_save_IFS 6826 test -z "$as_dir" && as_dir=. 6827 for ac_exec_ext in '' $ac_executable_extensions; do 6828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6829 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6831 break 2 6832 fi 6833done 6834 done 6835IFS=$as_save_IFS 6836 6837fi 6838fi 6839ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6840if test -n "$ac_ct_DSYMUTIL"; then 6841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 6842$as_echo "$ac_ct_DSYMUTIL" >&6; } 6843else 6844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6845$as_echo "no" >&6; } 6846fi 6847 6848 if test "x$ac_ct_DSYMUTIL" = x; then 6849 DSYMUTIL=":" 6850 else 6851 case $cross_compiling:$ac_tool_warned in 6852yes:) 6853{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6854$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6855ac_tool_warned=yes ;; 6856esac 6857 DSYMUTIL=$ac_ct_DSYMUTIL 6858 fi 6859else 6860 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6861fi 6862 6863 if test -n "$ac_tool_prefix"; then 6864 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6865set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6866{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6867$as_echo_n "checking for $ac_word... " >&6; } 6868if test "${ac_cv_prog_NMEDIT+set}" = set; then : 6869 $as_echo_n "(cached) " >&6 6870else 6871 if test -n "$NMEDIT"; then 6872 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6873else 6874as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6875for as_dir in $PATH 6876do 6877 IFS=$as_save_IFS 6878 test -z "$as_dir" && as_dir=. 6879 for ac_exec_ext in '' $ac_executable_extensions; do 6880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6881 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6883 break 2 6884 fi 6885done 6886 done 6887IFS=$as_save_IFS 6888 6889fi 6890fi 6891NMEDIT=$ac_cv_prog_NMEDIT 6892if test -n "$NMEDIT"; then 6893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 6894$as_echo "$NMEDIT" >&6; } 6895else 6896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6897$as_echo "no" >&6; } 6898fi 6899 6900 6901fi 6902if test -z "$ac_cv_prog_NMEDIT"; then 6903 ac_ct_NMEDIT=$NMEDIT 6904 # Extract the first word of "nmedit", so it can be a program name with args. 6905set dummy nmedit; ac_word=$2 6906{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6907$as_echo_n "checking for $ac_word... " >&6; } 6908if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : 6909 $as_echo_n "(cached) " >&6 6910else 6911 if test -n "$ac_ct_NMEDIT"; then 6912 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6913else 6914as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6915for as_dir in $PATH 6916do 6917 IFS=$as_save_IFS 6918 test -z "$as_dir" && as_dir=. 6919 for ac_exec_ext in '' $ac_executable_extensions; do 6920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6921 ac_cv_prog_ac_ct_NMEDIT="nmedit" 6922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6923 break 2 6924 fi 6925done 6926 done 6927IFS=$as_save_IFS 6928 6929fi 6930fi 6931ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 6932if test -n "$ac_ct_NMEDIT"; then 6933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 6934$as_echo "$ac_ct_NMEDIT" >&6; } 6935else 6936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6937$as_echo "no" >&6; } 6938fi 6939 6940 if test "x$ac_ct_NMEDIT" = x; then 6941 NMEDIT=":" 6942 else 6943 case $cross_compiling:$ac_tool_warned in 6944yes:) 6945{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6946$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6947ac_tool_warned=yes ;; 6948esac 6949 NMEDIT=$ac_ct_NMEDIT 6950 fi 6951else 6952 NMEDIT="$ac_cv_prog_NMEDIT" 6953fi 6954 6955 if test -n "$ac_tool_prefix"; then 6956 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 6957set dummy ${ac_tool_prefix}lipo; ac_word=$2 6958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6959$as_echo_n "checking for $ac_word... " >&6; } 6960if test "${ac_cv_prog_LIPO+set}" = set; then : 6961 $as_echo_n "(cached) " >&6 6962else 6963 if test -n "$LIPO"; then 6964 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 6965else 6966as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6967for as_dir in $PATH 6968do 6969 IFS=$as_save_IFS 6970 test -z "$as_dir" && as_dir=. 6971 for ac_exec_ext in '' $ac_executable_extensions; do 6972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6973 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 6974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6975 break 2 6976 fi 6977done 6978 done 6979IFS=$as_save_IFS 6980 6981fi 6982fi 6983LIPO=$ac_cv_prog_LIPO 6984if test -n "$LIPO"; then 6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 6986$as_echo "$LIPO" >&6; } 6987else 6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6989$as_echo "no" >&6; } 6990fi 6991 6992 6993fi 6994if test -z "$ac_cv_prog_LIPO"; then 6995 ac_ct_LIPO=$LIPO 6996 # Extract the first word of "lipo", so it can be a program name with args. 6997set dummy lipo; ac_word=$2 6998{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6999$as_echo_n "checking for $ac_word... " >&6; } 7000if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : 7001 $as_echo_n "(cached) " >&6 7002else 7003 if test -n "$ac_ct_LIPO"; then 7004 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7005else 7006as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7007for as_dir in $PATH 7008do 7009 IFS=$as_save_IFS 7010 test -z "$as_dir" && as_dir=. 7011 for ac_exec_ext in '' $ac_executable_extensions; do 7012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7013 ac_cv_prog_ac_ct_LIPO="lipo" 7014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7015 break 2 7016 fi 7017done 7018 done 7019IFS=$as_save_IFS 7020 7021fi 7022fi 7023ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7024if test -n "$ac_ct_LIPO"; then 7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7026$as_echo "$ac_ct_LIPO" >&6; } 7027else 7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7029$as_echo "no" >&6; } 7030fi 7031 7032 if test "x$ac_ct_LIPO" = x; then 7033 LIPO=":" 7034 else 7035 case $cross_compiling:$ac_tool_warned in 7036yes:) 7037{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7038$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7039ac_tool_warned=yes ;; 7040esac 7041 LIPO=$ac_ct_LIPO 7042 fi 7043else 7044 LIPO="$ac_cv_prog_LIPO" 7045fi 7046 7047 if test -n "$ac_tool_prefix"; then 7048 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7049set dummy ${ac_tool_prefix}otool; ac_word=$2 7050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7051$as_echo_n "checking for $ac_word... " >&6; } 7052if test "${ac_cv_prog_OTOOL+set}" = set; then : 7053 $as_echo_n "(cached) " >&6 7054else 7055 if test -n "$OTOOL"; then 7056 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7057else 7058as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7059for as_dir in $PATH 7060do 7061 IFS=$as_save_IFS 7062 test -z "$as_dir" && as_dir=. 7063 for ac_exec_ext in '' $ac_executable_extensions; do 7064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7065 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7067 break 2 7068 fi 7069done 7070 done 7071IFS=$as_save_IFS 7072 7073fi 7074fi 7075OTOOL=$ac_cv_prog_OTOOL 7076if test -n "$OTOOL"; then 7077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7078$as_echo "$OTOOL" >&6; } 7079else 7080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7081$as_echo "no" >&6; } 7082fi 7083 7084 7085fi 7086if test -z "$ac_cv_prog_OTOOL"; then 7087 ac_ct_OTOOL=$OTOOL 7088 # Extract the first word of "otool", so it can be a program name with args. 7089set dummy otool; ac_word=$2 7090{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7091$as_echo_n "checking for $ac_word... " >&6; } 7092if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : 7093 $as_echo_n "(cached) " >&6 7094else 7095 if test -n "$ac_ct_OTOOL"; then 7096 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7097else 7098as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7099for as_dir in $PATH 7100do 7101 IFS=$as_save_IFS 7102 test -z "$as_dir" && as_dir=. 7103 for ac_exec_ext in '' $ac_executable_extensions; do 7104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7105 ac_cv_prog_ac_ct_OTOOL="otool" 7106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7107 break 2 7108 fi 7109done 7110 done 7111IFS=$as_save_IFS 7112 7113fi 7114fi 7115ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7116if test -n "$ac_ct_OTOOL"; then 7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7118$as_echo "$ac_ct_OTOOL" >&6; } 7119else 7120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7121$as_echo "no" >&6; } 7122fi 7123 7124 if test "x$ac_ct_OTOOL" = x; then 7125 OTOOL=":" 7126 else 7127 case $cross_compiling:$ac_tool_warned in 7128yes:) 7129{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7130$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7131ac_tool_warned=yes ;; 7132esac 7133 OTOOL=$ac_ct_OTOOL 7134 fi 7135else 7136 OTOOL="$ac_cv_prog_OTOOL" 7137fi 7138 7139 if test -n "$ac_tool_prefix"; then 7140 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7141set dummy ${ac_tool_prefix}otool64; ac_word=$2 7142{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7143$as_echo_n "checking for $ac_word... " >&6; } 7144if test "${ac_cv_prog_OTOOL64+set}" = set; then : 7145 $as_echo_n "(cached) " >&6 7146else 7147 if test -n "$OTOOL64"; then 7148 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7149else 7150as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7151for as_dir in $PATH 7152do 7153 IFS=$as_save_IFS 7154 test -z "$as_dir" && as_dir=. 7155 for ac_exec_ext in '' $ac_executable_extensions; do 7156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7157 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7159 break 2 7160 fi 7161done 7162 done 7163IFS=$as_save_IFS 7164 7165fi 7166fi 7167OTOOL64=$ac_cv_prog_OTOOL64 7168if test -n "$OTOOL64"; then 7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7170$as_echo "$OTOOL64" >&6; } 7171else 7172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7173$as_echo "no" >&6; } 7174fi 7175 7176 7177fi 7178if test -z "$ac_cv_prog_OTOOL64"; then 7179 ac_ct_OTOOL64=$OTOOL64 7180 # Extract the first word of "otool64", so it can be a program name with args. 7181set dummy otool64; ac_word=$2 7182{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7183$as_echo_n "checking for $ac_word... " >&6; } 7184if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : 7185 $as_echo_n "(cached) " >&6 7186else 7187 if test -n "$ac_ct_OTOOL64"; then 7188 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7189else 7190as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7191for as_dir in $PATH 7192do 7193 IFS=$as_save_IFS 7194 test -z "$as_dir" && as_dir=. 7195 for ac_exec_ext in '' $ac_executable_extensions; do 7196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7197 ac_cv_prog_ac_ct_OTOOL64="otool64" 7198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7199 break 2 7200 fi 7201done 7202 done 7203IFS=$as_save_IFS 7204 7205fi 7206fi 7207ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7208if test -n "$ac_ct_OTOOL64"; then 7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7210$as_echo "$ac_ct_OTOOL64" >&6; } 7211else 7212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7213$as_echo "no" >&6; } 7214fi 7215 7216 if test "x$ac_ct_OTOOL64" = x; then 7217 OTOOL64=":" 7218 else 7219 case $cross_compiling:$ac_tool_warned in 7220yes:) 7221{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7222$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7223ac_tool_warned=yes ;; 7224esac 7225 OTOOL64=$ac_ct_OTOOL64 7226 fi 7227else 7228 OTOOL64="$ac_cv_prog_OTOOL64" 7229fi 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7258$as_echo_n "checking for -single_module linker flag... " >&6; } 7259if test "${lt_cv_apple_cc_single_mod+set}" = set; then : 7260 $as_echo_n "(cached) " >&6 7261else 7262 lt_cv_apple_cc_single_mod=no 7263 if test -z "${LT_MULTI_MODULE}"; then 7264 # By default we will add the -single_module flag. You can override 7265 # by either setting the environment variable LT_MULTI_MODULE 7266 # non-empty at configure time, or by adding -multi_module to the 7267 # link flags. 7268 rm -rf libconftest.dylib* 7269 echo "int foo(void){return 1;}" > conftest.c 7270 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7271-dynamiclib -Wl,-single_module conftest.c" >&5 7272 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7273 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7274 _lt_result=$? 7275 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then 7276 lt_cv_apple_cc_single_mod=yes 7277 else 7278 cat conftest.err >&5 7279 fi 7280 rm -rf libconftest.dylib* 7281 rm -f conftest.* 7282 fi 7283fi 7284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7285$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7287$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7288if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : 7289 $as_echo_n "(cached) " >&6 7290else 7291 lt_cv_ld_exported_symbols_list=no 7292 save_LDFLAGS=$LDFLAGS 7293 echo "_main" > conftest.sym 7294 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7296/* end confdefs.h. */ 7297 7298int 7299main () 7300{ 7301 7302 ; 7303 return 0; 7304} 7305_ACEOF 7306if ac_fn_c_try_link "$LINENO"; then : 7307 lt_cv_ld_exported_symbols_list=yes 7308else 7309 lt_cv_ld_exported_symbols_list=no 7310fi 7311rm -f core conftest.err conftest.$ac_objext \ 7312 conftest$ac_exeext conftest.$ac_ext 7313 LDFLAGS="$save_LDFLAGS" 7314 7315fi 7316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7317$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7318 case $host_os in 7319 rhapsody* | darwin1.[012]) 7320 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 7321 darwin1.*) 7322 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7323 darwin*) # darwin 5.x on 7324 # if running on 10.5 or later, the deployment target defaults 7325 # to the OS version, if on x86, and 10.4, the deployment 7326 # target defaults to 10.4. Don't you love it? 7327 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7328 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7329 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7330 10.[012]*) 7331 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7332 10.*) 7333 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7334 esac 7335 ;; 7336 esac 7337 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 7338 _lt_dar_single_mod='$single_module' 7339 fi 7340 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 7341 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 7342 else 7343 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 7344 fi 7345 if test "$DSYMUTIL" != ":"; then 7346 _lt_dsymutil='~$DSYMUTIL $lib || :' 7347 else 7348 _lt_dsymutil= 7349 fi 7350 ;; 7351 esac 7352 7353 7354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7355$as_echo_n "checking for ANSI C header files... " >&6; } 7356if test "${ac_cv_header_stdc+set}" = set; then : 7357 $as_echo_n "(cached) " >&6 7358else 7359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7360/* end confdefs.h. */ 7361#include <stdlib.h> 7362#include <stdarg.h> 7363#include <string.h> 7364#include <float.h> 7365 7366int 7367main () 7368{ 7369 7370 ; 7371 return 0; 7372} 7373_ACEOF 7374if ac_fn_c_try_compile "$LINENO"; then : 7375 ac_cv_header_stdc=yes 7376else 7377 ac_cv_header_stdc=no 7378fi 7379rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7380 7381if test $ac_cv_header_stdc = yes; then 7382 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7384/* end confdefs.h. */ 7385#include <string.h> 7386 7387_ACEOF 7388if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7389 $EGREP "memchr" >/dev/null 2>&1; then : 7390 7391else 7392 ac_cv_header_stdc=no 7393fi 7394rm -f conftest* 7395 7396fi 7397 7398if test $ac_cv_header_stdc = yes; then 7399 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7401/* end confdefs.h. */ 7402#include <stdlib.h> 7403 7404_ACEOF 7405if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7406 $EGREP "free" >/dev/null 2>&1; then : 7407 7408else 7409 ac_cv_header_stdc=no 7410fi 7411rm -f conftest* 7412 7413fi 7414 7415if test $ac_cv_header_stdc = yes; then 7416 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7417 if test "$cross_compiling" = yes; then : 7418 : 7419else 7420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7421/* end confdefs.h. */ 7422#include <ctype.h> 7423#include <stdlib.h> 7424#if ((' ' & 0x0FF) == 0x020) 7425# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7426# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7427#else 7428# define ISLOWER(c) \ 7429 (('a' <= (c) && (c) <= 'i') \ 7430 || ('j' <= (c) && (c) <= 'r') \ 7431 || ('s' <= (c) && (c) <= 'z')) 7432# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7433#endif 7434 7435#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7436int 7437main () 7438{ 7439 int i; 7440 for (i = 0; i < 256; i++) 7441 if (XOR (islower (i), ISLOWER (i)) 7442 || toupper (i) != TOUPPER (i)) 7443 return 2; 7444 return 0; 7445} 7446_ACEOF 7447if ac_fn_c_try_run "$LINENO"; then : 7448 7449else 7450 ac_cv_header_stdc=no 7451fi 7452rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7453 conftest.$ac_objext conftest.beam conftest.$ac_ext 7454fi 7455 7456fi 7457fi 7458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7459$as_echo "$ac_cv_header_stdc" >&6; } 7460if test $ac_cv_header_stdc = yes; then 7461 7462$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7463 7464fi 7465 7466# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7467for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7468 inttypes.h stdint.h unistd.h 7469do : 7470 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7471ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7472" 7473if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7474 cat >>confdefs.h <<_ACEOF 7475#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7476_ACEOF 7477 7478fi 7479 7480done 7481 7482 7483for ac_header in dlfcn.h 7484do : 7485 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7486" 7487if test "x$ac_cv_header_dlfcn_h" = x""yes; then : 7488 cat >>confdefs.h <<_ACEOF 7489#define HAVE_DLFCN_H 1 7490_ACEOF 7491 7492fi 7493 7494done 7495 7496 7497 7498# Set options 7499 7500 7501 7502 enable_dlopen=no 7503 7504 7505 enable_win32_dll=no 7506 7507 7508 # Check whether --enable-shared was given. 7509if test "${enable_shared+set}" = set; then : 7510 enableval=$enable_shared; p=${PACKAGE-default} 7511 case $enableval in 7512 yes) enable_shared=yes ;; 7513 no) enable_shared=no ;; 7514 *) 7515 enable_shared=no 7516 # Look at the argument we got. We use all the common list separators. 7517 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7518 for pkg in $enableval; do 7519 IFS="$lt_save_ifs" 7520 if test "X$pkg" = "X$p"; then 7521 enable_shared=yes 7522 fi 7523 done 7524 IFS="$lt_save_ifs" 7525 ;; 7526 esac 7527else 7528 enable_shared=yes 7529fi 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 # Check whether --enable-static was given. 7540if test "${enable_static+set}" = set; then : 7541 enableval=$enable_static; p=${PACKAGE-default} 7542 case $enableval in 7543 yes) enable_static=yes ;; 7544 no) enable_static=no ;; 7545 *) 7546 enable_static=no 7547 # Look at the argument we got. We use all the common list separators. 7548 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7549 for pkg in $enableval; do 7550 IFS="$lt_save_ifs" 7551 if test "X$pkg" = "X$p"; then 7552 enable_static=yes 7553 fi 7554 done 7555 IFS="$lt_save_ifs" 7556 ;; 7557 esac 7558else 7559 enable_static=yes 7560fi 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571# Check whether --with-pic was given. 7572if test "${with_pic+set}" = set; then : 7573 withval=$with_pic; pic_mode="$withval" 7574else 7575 pic_mode=default 7576fi 7577 7578 7579test -z "$pic_mode" && pic_mode=default 7580 7581 7582 7583 7584 7585 7586 7587 # Check whether --enable-fast-install was given. 7588if test "${enable_fast_install+set}" = set; then : 7589 enableval=$enable_fast_install; p=${PACKAGE-default} 7590 case $enableval in 7591 yes) enable_fast_install=yes ;; 7592 no) enable_fast_install=no ;; 7593 *) 7594 enable_fast_install=no 7595 # Look at the argument we got. We use all the common list separators. 7596 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7597 for pkg in $enableval; do 7598 IFS="$lt_save_ifs" 7599 if test "X$pkg" = "X$p"; then 7600 enable_fast_install=yes 7601 fi 7602 done 7603 IFS="$lt_save_ifs" 7604 ;; 7605 esac 7606else 7607 enable_fast_install=yes 7608fi 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620# This can be used to rebuild libtool when needed 7621LIBTOOL_DEPS="$ltmain" 7622 7623# Always use our own libtool. 7624LIBTOOL='$(SHELL) $(top_builddir)/libtool' 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650test -z "$LN_S" && LN_S="ln -s" 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665if test -n "${ZSH_VERSION+set}" ; then 7666 setopt NO_GLOB_SUBST 7667fi 7668 7669{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 7670$as_echo_n "checking for objdir... " >&6; } 7671if test "${lt_cv_objdir+set}" = set; then : 7672 $as_echo_n "(cached) " >&6 7673else 7674 rm -f .libs 2>/dev/null 7675mkdir .libs 2>/dev/null 7676if test -d .libs; then 7677 lt_cv_objdir=.libs 7678else 7679 # MS-DOS does not allow filenames that begin with a dot. 7680 lt_cv_objdir=_libs 7681fi 7682rmdir .libs 2>/dev/null 7683fi 7684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 7685$as_echo "$lt_cv_objdir" >&6; } 7686objdir=$lt_cv_objdir 7687 7688 7689 7690 7691 7692cat >>confdefs.h <<_ACEOF 7693#define LT_OBJDIR "$lt_cv_objdir/" 7694_ACEOF 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712case $host_os in 7713aix3*) 7714 # AIX sometimes has problems with the GCC collect2 program. For some 7715 # reason, if we set the COLLECT_NAMES environment variable, the problems 7716 # vanish in a puff of smoke. 7717 if test "X${COLLECT_NAMES+set}" != Xset; then 7718 COLLECT_NAMES= 7719 export COLLECT_NAMES 7720 fi 7721 ;; 7722esac 7723 7724# Sed substitution that helps us do robust quoting. It backslashifies 7725# metacharacters that are still active within double-quoted strings. 7726sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 7727 7728# Same as above, but do not quote variable references. 7729double_quote_subst='s/\(["`\\]\)/\\\1/g' 7730 7731# Sed substitution to delay expansion of an escaped shell variable in a 7732# double_quote_subst'ed string. 7733delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 7734 7735# Sed substitution to delay expansion of an escaped single quote. 7736delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 7737 7738# Sed substitution to avoid accidental globbing in evaled expressions 7739no_glob_subst='s/\*/\\\*/g' 7740 7741# Global variables: 7742ofile=libtool 7743can_build_shared=yes 7744 7745# All known linkers require a `.a' archive for static linking (except MSVC, 7746# which needs '.lib'). 7747libext=a 7748 7749with_gnu_ld="$lt_cv_prog_gnu_ld" 7750 7751old_CC="$CC" 7752old_CFLAGS="$CFLAGS" 7753 7754# Set sane defaults for various variables 7755test -z "$CC" && CC=cc 7756test -z "$LTCC" && LTCC=$CC 7757test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7758test -z "$LD" && LD=ld 7759test -z "$ac_objext" && ac_objext=o 7760 7761for cc_temp in $compiler""; do 7762 case $cc_temp in 7763 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7764 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7765 \-*) ;; 7766 *) break;; 7767 esac 7768done 7769cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 7770 7771 7772# Only perform the check for file, if the check method requires it 7773test -z "$MAGIC_CMD" && MAGIC_CMD=file 7774case $deplibs_check_method in 7775file_magic*) 7776 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 7778$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 7779if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 7780 $as_echo_n "(cached) " >&6 7781else 7782 case $MAGIC_CMD in 7783[\\/*] | ?:[\\/]*) 7784 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7785 ;; 7786*) 7787 lt_save_MAGIC_CMD="$MAGIC_CMD" 7788 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7789 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7790 for ac_dir in $ac_dummy; do 7791 IFS="$lt_save_ifs" 7792 test -z "$ac_dir" && ac_dir=. 7793 if test -f $ac_dir/${ac_tool_prefix}file; then 7794 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 7795 if test -n "$file_magic_test_file"; then 7796 case $deplibs_check_method in 7797 "file_magic "*) 7798 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7799 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7800 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7801 $EGREP "$file_magic_regex" > /dev/null; then 7802 : 7803 else 7804 cat <<_LT_EOF 1>&2 7805 7806*** Warning: the command libtool uses to detect shared libraries, 7807*** $file_magic_cmd, produces output that libtool cannot recognize. 7808*** The result is that libtool may fail to recognize shared libraries 7809*** as such. This will affect the creation of libtool libraries that 7810*** depend on shared libraries, but programs linked with such libtool 7811*** libraries will work regardless of this problem. Nevertheless, you 7812*** may want to report the problem to your system manager and/or to 7813*** bug-libtool@gnu.org 7814 7815_LT_EOF 7816 fi ;; 7817 esac 7818 fi 7819 break 7820 fi 7821 done 7822 IFS="$lt_save_ifs" 7823 MAGIC_CMD="$lt_save_MAGIC_CMD" 7824 ;; 7825esac 7826fi 7827 7828MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7829if test -n "$MAGIC_CMD"; then 7830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7831$as_echo "$MAGIC_CMD" >&6; } 7832else 7833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7834$as_echo "no" >&6; } 7835fi 7836 7837 7838 7839 7840 7841if test -z "$lt_cv_path_MAGIC_CMD"; then 7842 if test -n "$ac_tool_prefix"; then 7843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 7844$as_echo_n "checking for file... " >&6; } 7845if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 7846 $as_echo_n "(cached) " >&6 7847else 7848 case $MAGIC_CMD in 7849[\\/*] | ?:[\\/]*) 7850 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7851 ;; 7852*) 7853 lt_save_MAGIC_CMD="$MAGIC_CMD" 7854 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7855 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7856 for ac_dir in $ac_dummy; do 7857 IFS="$lt_save_ifs" 7858 test -z "$ac_dir" && ac_dir=. 7859 if test -f $ac_dir/file; then 7860 lt_cv_path_MAGIC_CMD="$ac_dir/file" 7861 if test -n "$file_magic_test_file"; then 7862 case $deplibs_check_method in 7863 "file_magic "*) 7864 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7865 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7866 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7867 $EGREP "$file_magic_regex" > /dev/null; then 7868 : 7869 else 7870 cat <<_LT_EOF 1>&2 7871 7872*** Warning: the command libtool uses to detect shared libraries, 7873*** $file_magic_cmd, produces output that libtool cannot recognize. 7874*** The result is that libtool may fail to recognize shared libraries 7875*** as such. This will affect the creation of libtool libraries that 7876*** depend on shared libraries, but programs linked with such libtool 7877*** libraries will work regardless of this problem. Nevertheless, you 7878*** may want to report the problem to your system manager and/or to 7879*** bug-libtool@gnu.org 7880 7881_LT_EOF 7882 fi ;; 7883 esac 7884 fi 7885 break 7886 fi 7887 done 7888 IFS="$lt_save_ifs" 7889 MAGIC_CMD="$lt_save_MAGIC_CMD" 7890 ;; 7891esac 7892fi 7893 7894MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7895if test -n "$MAGIC_CMD"; then 7896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7897$as_echo "$MAGIC_CMD" >&6; } 7898else 7899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7900$as_echo "no" >&6; } 7901fi 7902 7903 7904 else 7905 MAGIC_CMD=: 7906 fi 7907fi 7908 7909 fi 7910 ;; 7911esac 7912 7913# Use C for the default configuration in the libtool script 7914 7915lt_save_CC="$CC" 7916ac_ext=c 7917ac_cpp='$CPP $CPPFLAGS' 7918ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7919ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7920ac_compiler_gnu=$ac_cv_c_compiler_gnu 7921 7922 7923# Source file extension for C test sources. 7924ac_ext=c 7925 7926# Object file extension for compiled C test sources. 7927objext=o 7928objext=$objext 7929 7930# Code to be used in simple compile tests 7931lt_simple_compile_test_code="int some_variable = 0;" 7932 7933# Code to be used in simple link tests 7934lt_simple_link_test_code='int main(){return(0);}' 7935 7936 7937 7938 7939 7940 7941 7942# If no C compiler was specified, use CC. 7943LTCC=${LTCC-"$CC"} 7944 7945# If no C compiler flags were specified, use CFLAGS. 7946LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7947 7948# Allow CC to be a program name with arguments. 7949compiler=$CC 7950 7951# Save the default compiler, since it gets overwritten when the other 7952# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 7953compiler_DEFAULT=$CC 7954 7955# save warnings/boilerplate of simple test code 7956ac_outfile=conftest.$ac_objext 7957echo "$lt_simple_compile_test_code" >conftest.$ac_ext 7958eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7959_lt_compiler_boilerplate=`cat conftest.err` 7960$RM conftest* 7961 7962ac_outfile=conftest.$ac_objext 7963echo "$lt_simple_link_test_code" >conftest.$ac_ext 7964eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7965_lt_linker_boilerplate=`cat conftest.err` 7966$RM -r conftest* 7967 7968 7969if test -n "$compiler"; then 7970 7971lt_prog_compiler_no_builtin_flag= 7972 7973if test "$GCC" = yes; then 7974 lt_prog_compiler_no_builtin_flag=' -fno-builtin' 7975 7976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 7977$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 7978if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : 7979 $as_echo_n "(cached) " >&6 7980else 7981 lt_cv_prog_compiler_rtti_exceptions=no 7982 ac_outfile=conftest.$ac_objext 7983 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7984 lt_compiler_flag="-fno-rtti -fno-exceptions" 7985 # Insert the option either (1) after the last *FLAGS variable, or 7986 # (2) before a word containing "conftest.", or (3) at the end. 7987 # Note that $ac_compile itself does not contain backslashes and begins 7988 # with a dollar sign (not a hyphen), so the echo should work correctly. 7989 # The option is referenced via a variable to avoid confusing sed. 7990 lt_compile=`echo "$ac_compile" | $SED \ 7991 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7992 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7993 -e 's:$: $lt_compiler_flag:'` 7994 (eval echo "\"\$as_me:7994: $lt_compile\"" >&5) 7995 (eval "$lt_compile" 2>conftest.err) 7996 ac_status=$? 7997 cat conftest.err >&5 7998 echo "$as_me:7998: \$? = $ac_status" >&5 7999 if (exit $ac_status) && test -s "$ac_outfile"; then 8000 # The compiler can only warn and ignore the option if not recognized 8001 # So say no if there are warnings other than the usual output. 8002 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 8003 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8004 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8005 lt_cv_prog_compiler_rtti_exceptions=yes 8006 fi 8007 fi 8008 $RM conftest* 8009 8010fi 8011{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8012$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8013 8014if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 8015 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8016else 8017 : 8018fi 8019 8020fi 8021 8022 8023 8024 8025 8026 8027 lt_prog_compiler_wl= 8028lt_prog_compiler_pic= 8029lt_prog_compiler_static= 8030 8031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8032$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8033 8034 if test "$GCC" = yes; then 8035 lt_prog_compiler_wl='-Wl,' 8036 lt_prog_compiler_static='-static' 8037 8038 case $host_os in 8039 aix*) 8040 # All AIX code is PIC. 8041 if test "$host_cpu" = ia64; then 8042 # AIX 5 now supports IA64 processor 8043 lt_prog_compiler_static='-Bstatic' 8044 fi 8045 ;; 8046 8047 amigaos*) 8048 case $host_cpu in 8049 powerpc) 8050 # see comment about AmigaOS4 .so support 8051 lt_prog_compiler_pic='-fPIC' 8052 ;; 8053 m68k) 8054 # FIXME: we need at least 68020 code to build shared libraries, but 8055 # adding the `-m68020' flag to GCC prevents building anything better, 8056 # like `-m68040'. 8057 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8058 ;; 8059 esac 8060 ;; 8061 8062 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8063 # PIC is the default for these OSes. 8064 ;; 8065 8066 mingw* | cygwin* | pw32* | os2* | cegcc*) 8067 # This hack is so that the source file can tell whether it is being 8068 # built for inclusion in a dll (and should export symbols for example). 8069 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8070 # (--disable-auto-import) libraries 8071 lt_prog_compiler_pic='-DDLL_EXPORT' 8072 ;; 8073 8074 darwin* | rhapsody*) 8075 # PIC is the default on this platform 8076 # Common symbols not allowed in MH_DYLIB files 8077 lt_prog_compiler_pic='-fno-common' 8078 ;; 8079 8080 hpux*) 8081 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8082 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8083 # sets the default TLS model and affects inlining. 8084 case $host_cpu in 8085 hppa*64*) 8086 # +Z the default 8087 ;; 8088 *) 8089 lt_prog_compiler_pic='-fPIC' 8090 ;; 8091 esac 8092 ;; 8093 8094 interix[3-9]*) 8095 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8096 # Instead, we relocate shared libraries at runtime. 8097 ;; 8098 8099 msdosdjgpp*) 8100 # Just because we use GCC doesn't mean we suddenly get shared libraries 8101 # on systems that don't support them. 8102 lt_prog_compiler_can_build_shared=no 8103 enable_shared=no 8104 ;; 8105 8106 *nto* | *qnx*) 8107 # QNX uses GNU C++, but need to define -shared option too, otherwise 8108 # it will coredump. 8109 lt_prog_compiler_pic='-fPIC -shared' 8110 ;; 8111 8112 sysv4*MP*) 8113 if test -d /usr/nec; then 8114 lt_prog_compiler_pic=-Kconform_pic 8115 fi 8116 ;; 8117 8118 *) 8119 lt_prog_compiler_pic='-fPIC' 8120 ;; 8121 esac 8122 else 8123 # PORTME Check for flag to pass linker flags through the system compiler. 8124 case $host_os in 8125 aix*) 8126 lt_prog_compiler_wl='-Wl,' 8127 if test "$host_cpu" = ia64; then 8128 # AIX 5 now supports IA64 processor 8129 lt_prog_compiler_static='-Bstatic' 8130 else 8131 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8132 fi 8133 ;; 8134 8135 mingw* | cygwin* | pw32* | os2* | cegcc*) 8136 # This hack is so that the source file can tell whether it is being 8137 # built for inclusion in a dll (and should export symbols for example). 8138 lt_prog_compiler_pic='-DDLL_EXPORT' 8139 ;; 8140 8141 hpux9* | hpux10* | hpux11*) 8142 lt_prog_compiler_wl='-Wl,' 8143 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8144 # not for PA HP-UX. 8145 case $host_cpu in 8146 hppa*64*|ia64*) 8147 # +Z the default 8148 ;; 8149 *) 8150 lt_prog_compiler_pic='+Z' 8151 ;; 8152 esac 8153 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8154 lt_prog_compiler_static='${wl}-a ${wl}archive' 8155 ;; 8156 8157 irix5* | irix6* | nonstopux*) 8158 lt_prog_compiler_wl='-Wl,' 8159 # PIC (with -KPIC) is the default. 8160 lt_prog_compiler_static='-non_shared' 8161 ;; 8162 8163 linux* | k*bsd*-gnu | kopensolaris*-gnu) 8164 case $cc_basename in 8165 # old Intel for x86_64 which still supported -KPIC. 8166 ecc*) 8167 lt_prog_compiler_wl='-Wl,' 8168 lt_prog_compiler_pic='-KPIC' 8169 lt_prog_compiler_static='-static' 8170 ;; 8171 # icc used to be incompatible with GCC. 8172 # ICC 10 doesn't accept -KPIC any more. 8173 icc* | ifort*) 8174 lt_prog_compiler_wl='-Wl,' 8175 lt_prog_compiler_pic='-fPIC' 8176 lt_prog_compiler_static='-static' 8177 ;; 8178 # Lahey Fortran 8.1. 8179 lf95*) 8180 lt_prog_compiler_wl='-Wl,' 8181 lt_prog_compiler_pic='--shared' 8182 lt_prog_compiler_static='--static' 8183 ;; 8184 pgcc* | pgf77* | pgf90* | pgf95*) 8185 # Portland Group compilers (*not* the Pentium gcc compiler, 8186 # which looks to be a dead project) 8187 lt_prog_compiler_wl='-Wl,' 8188 lt_prog_compiler_pic='-fpic' 8189 lt_prog_compiler_static='-Bstatic' 8190 ;; 8191 ccc*) 8192 lt_prog_compiler_wl='-Wl,' 8193 # All Alpha code is PIC. 8194 lt_prog_compiler_static='-non_shared' 8195 ;; 8196 xl*) 8197 # IBM XL C 8.0/Fortran 10.1 on PPC 8198 lt_prog_compiler_wl='-Wl,' 8199 lt_prog_compiler_pic='-qpic' 8200 lt_prog_compiler_static='-qstaticlink' 8201 ;; 8202 *) 8203 case `$CC -V 2>&1 | sed 5q` in 8204 *Sun\ C*) 8205 # Sun C 5.9 8206 lt_prog_compiler_pic='-KPIC' 8207 lt_prog_compiler_static='-Bstatic' 8208 lt_prog_compiler_wl='-Wl,' 8209 ;; 8210 *Sun\ F*) 8211 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8212 lt_prog_compiler_pic='-KPIC' 8213 lt_prog_compiler_static='-Bstatic' 8214 lt_prog_compiler_wl='' 8215 ;; 8216 esac 8217 ;; 8218 esac 8219 ;; 8220 8221 newsos6) 8222 lt_prog_compiler_pic='-KPIC' 8223 lt_prog_compiler_static='-Bstatic' 8224 ;; 8225 8226 *nto* | *qnx*) 8227 # QNX uses GNU C++, but need to define -shared option too, otherwise 8228 # it will coredump. 8229 lt_prog_compiler_pic='-fPIC -shared' 8230 ;; 8231 8232 osf3* | osf4* | osf5*) 8233 lt_prog_compiler_wl='-Wl,' 8234 # All OSF/1 code is PIC. 8235 lt_prog_compiler_static='-non_shared' 8236 ;; 8237 8238 rdos*) 8239 lt_prog_compiler_static='-non_shared' 8240 ;; 8241 8242 solaris*) 8243 lt_prog_compiler_pic='-KPIC' 8244 lt_prog_compiler_static='-Bstatic' 8245 case $cc_basename in 8246 f77* | f90* | f95*) 8247 lt_prog_compiler_wl='-Qoption ld ';; 8248 *) 8249 lt_prog_compiler_wl='-Wl,';; 8250 esac 8251 ;; 8252 8253 sunos4*) 8254 lt_prog_compiler_wl='-Qoption ld ' 8255 lt_prog_compiler_pic='-PIC' 8256 lt_prog_compiler_static='-Bstatic' 8257 ;; 8258 8259 sysv4 | sysv4.2uw2* | sysv4.3*) 8260 lt_prog_compiler_wl='-Wl,' 8261 lt_prog_compiler_pic='-KPIC' 8262 lt_prog_compiler_static='-Bstatic' 8263 ;; 8264 8265 sysv4*MP*) 8266 if test -d /usr/nec ;then 8267 lt_prog_compiler_pic='-Kconform_pic' 8268 lt_prog_compiler_static='-Bstatic' 8269 fi 8270 ;; 8271 8272 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8273 lt_prog_compiler_wl='-Wl,' 8274 lt_prog_compiler_pic='-KPIC' 8275 lt_prog_compiler_static='-Bstatic' 8276 ;; 8277 8278 unicos*) 8279 lt_prog_compiler_wl='-Wl,' 8280 lt_prog_compiler_can_build_shared=no 8281 ;; 8282 8283 uts4*) 8284 lt_prog_compiler_pic='-pic' 8285 lt_prog_compiler_static='-Bstatic' 8286 ;; 8287 8288 *) 8289 lt_prog_compiler_can_build_shared=no 8290 ;; 8291 esac 8292 fi 8293 8294case $host_os in 8295 # For platforms which do not support PIC, -DPIC is meaningless: 8296 *djgpp*) 8297 lt_prog_compiler_pic= 8298 ;; 8299 *) 8300 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8301 ;; 8302esac 8303{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 8304$as_echo "$lt_prog_compiler_pic" >&6; } 8305 8306 8307 8308 8309 8310 8311# 8312# Check to make sure the PIC flag actually works. 8313# 8314if test -n "$lt_prog_compiler_pic"; then 8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8316$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8317if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : 8318 $as_echo_n "(cached) " >&6 8319else 8320 lt_cv_prog_compiler_pic_works=no 8321 ac_outfile=conftest.$ac_objext 8322 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8323 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 8324 # Insert the option either (1) after the last *FLAGS variable, or 8325 # (2) before a word containing "conftest.", or (3) at the end. 8326 # Note that $ac_compile itself does not contain backslashes and begins 8327 # with a dollar sign (not a hyphen), so the echo should work correctly. 8328 # The option is referenced via a variable to avoid confusing sed. 8329 lt_compile=`echo "$ac_compile" | $SED \ 8330 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8331 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8332 -e 's:$: $lt_compiler_flag:'` 8333 (eval echo "\"\$as_me:8333: $lt_compile\"" >&5) 8334 (eval "$lt_compile" 2>conftest.err) 8335 ac_status=$? 8336 cat conftest.err >&5 8337 echo "$as_me:8337: \$? = $ac_status" >&5 8338 if (exit $ac_status) && test -s "$ac_outfile"; then 8339 # The compiler can only warn and ignore the option if not recognized 8340 # So say no if there are warnings other than the usual output. 8341 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 8342 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8343 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8344 lt_cv_prog_compiler_pic_works=yes 8345 fi 8346 fi 8347 $RM conftest* 8348 8349fi 8350{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8351$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8352 8353if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 8354 case $lt_prog_compiler_pic in 8355 "" | " "*) ;; 8356 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8357 esac 8358else 8359 lt_prog_compiler_pic= 8360 lt_prog_compiler_can_build_shared=no 8361fi 8362 8363fi 8364 8365 8366 8367 8368 8369 8370# 8371# Check to make sure the static flag actually works. 8372# 8373wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8375$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8376if test "${lt_cv_prog_compiler_static_works+set}" = set; then : 8377 $as_echo_n "(cached) " >&6 8378else 8379 lt_cv_prog_compiler_static_works=no 8380 save_LDFLAGS="$LDFLAGS" 8381 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8382 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8383 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8384 # The linker can only warn and ignore the option if not recognized 8385 # So say no if there are warnings 8386 if test -s conftest.err; then 8387 # Append any errors to the config.log. 8388 cat conftest.err 1>&5 8389 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 8390 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8391 if diff conftest.exp conftest.er2 >/dev/null; then 8392 lt_cv_prog_compiler_static_works=yes 8393 fi 8394 else 8395 lt_cv_prog_compiler_static_works=yes 8396 fi 8397 fi 8398 $RM -r conftest* 8399 LDFLAGS="$save_LDFLAGS" 8400 8401fi 8402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8403$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8404 8405if test x"$lt_cv_prog_compiler_static_works" = xyes; then 8406 : 8407else 8408 lt_prog_compiler_static= 8409fi 8410 8411 8412 8413 8414 8415 8416 8417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8418$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8419if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 8420 $as_echo_n "(cached) " >&6 8421else 8422 lt_cv_prog_compiler_c_o=no 8423 $RM -r conftest 2>/dev/null 8424 mkdir conftest 8425 cd conftest 8426 mkdir out 8427 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8428 8429 lt_compiler_flag="-o out/conftest2.$ac_objext" 8430 # Insert the option either (1) after the last *FLAGS variable, or 8431 # (2) before a word containing "conftest.", or (3) at the end. 8432 # Note that $ac_compile itself does not contain backslashes and begins 8433 # with a dollar sign (not a hyphen), so the echo should work correctly. 8434 lt_compile=`echo "$ac_compile" | $SED \ 8435 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8436 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8437 -e 's:$: $lt_compiler_flag:'` 8438 (eval echo "\"\$as_me:8438: $lt_compile\"" >&5) 8439 (eval "$lt_compile" 2>out/conftest.err) 8440 ac_status=$? 8441 cat out/conftest.err >&5 8442 echo "$as_me:8442: \$? = $ac_status" >&5 8443 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8444 then 8445 # The compiler can only warn and ignore the option if not recognized 8446 # So say no if there are warnings 8447 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 8448 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8449 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8450 lt_cv_prog_compiler_c_o=yes 8451 fi 8452 fi 8453 chmod u+w . 2>&5 8454 $RM conftest* 8455 # SGI C++ compiler will create directory out/ii_files/ for 8456 # template instantiation 8457 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8458 $RM out/* && rmdir out 8459 cd .. 8460 $RM -r conftest 8461 $RM conftest* 8462 8463fi 8464{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8465$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8466 8467 8468 8469 8470 8471 8472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8473$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8474if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 8475 $as_echo_n "(cached) " >&6 8476else 8477 lt_cv_prog_compiler_c_o=no 8478 $RM -r conftest 2>/dev/null 8479 mkdir conftest 8480 cd conftest 8481 mkdir out 8482 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8483 8484 lt_compiler_flag="-o out/conftest2.$ac_objext" 8485 # Insert the option either (1) after the last *FLAGS variable, or 8486 # (2) before a word containing "conftest.", or (3) at the end. 8487 # Note that $ac_compile itself does not contain backslashes and begins 8488 # with a dollar sign (not a hyphen), so the echo should work correctly. 8489 lt_compile=`echo "$ac_compile" | $SED \ 8490 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8491 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8492 -e 's:$: $lt_compiler_flag:'` 8493 (eval echo "\"\$as_me:8493: $lt_compile\"" >&5) 8494 (eval "$lt_compile" 2>out/conftest.err) 8495 ac_status=$? 8496 cat out/conftest.err >&5 8497 echo "$as_me:8497: \$? = $ac_status" >&5 8498 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8499 then 8500 # The compiler can only warn and ignore the option if not recognized 8501 # So say no if there are warnings 8502 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 8503 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8504 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8505 lt_cv_prog_compiler_c_o=yes 8506 fi 8507 fi 8508 chmod u+w . 2>&5 8509 $RM conftest* 8510 # SGI C++ compiler will create directory out/ii_files/ for 8511 # template instantiation 8512 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8513 $RM out/* && rmdir out 8514 cd .. 8515 $RM -r conftest 8516 $RM conftest* 8517 8518fi 8519{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8520$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8521 8522 8523 8524 8525hard_links="nottested" 8526if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 8527 # do not overwrite the value of need_locks provided by the user 8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 8529$as_echo_n "checking if we can lock with hard links... " >&6; } 8530 hard_links=yes 8531 $RM conftest* 8532 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8533 touch conftest.a 8534 ln conftest.a conftest.b 2>&5 || hard_links=no 8535 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 8537$as_echo "$hard_links" >&6; } 8538 if test "$hard_links" = no; then 8539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 8540$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 8541 need_locks=warn 8542 fi 8543else 8544 need_locks=no 8545fi 8546 8547 8548 8549 8550 8551 8552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8553$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8554 8555 runpath_var= 8556 allow_undefined_flag= 8557 always_export_symbols=no 8558 archive_cmds= 8559 archive_expsym_cmds= 8560 compiler_needs_object=no 8561 enable_shared_with_static_runtimes=no 8562 export_dynamic_flag_spec= 8563 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8564 hardcode_automatic=no 8565 hardcode_direct=no 8566 hardcode_direct_absolute=no 8567 hardcode_libdir_flag_spec= 8568 hardcode_libdir_flag_spec_ld= 8569 hardcode_libdir_separator= 8570 hardcode_minus_L=no 8571 hardcode_shlibpath_var=unsupported 8572 inherit_rpath=no 8573 link_all_deplibs=unknown 8574 module_cmds= 8575 module_expsym_cmds= 8576 old_archive_from_new_cmds= 8577 old_archive_from_expsyms_cmds= 8578 thread_safe_flag_spec= 8579 whole_archive_flag_spec= 8580 # include_expsyms should be a list of space-separated symbols to be *always* 8581 # included in the symbol list 8582 include_expsyms= 8583 # exclude_expsyms can be an extended regexp of symbols to exclude 8584 # it will be wrapped by ` (' and `)$', so one must not match beginning or 8585 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 8586 # as well as any symbol that contains `d'. 8587 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 8588 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8589 # platforms (ab)use it in PIC code, but their linkers get confused if 8590 # the symbol is explicitly referenced. Since portable code cannot 8591 # rely on this symbol name, it's probably fine to never include it in 8592 # preloaded symbol tables. 8593 # Exclude shared library initialization/finalization symbols. 8594 extract_expsyms_cmds= 8595 8596 case $host_os in 8597 cygwin* | mingw* | pw32* | cegcc*) 8598 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8599 # When not using gcc, we currently assume that we are using 8600 # Microsoft Visual C++. 8601 if test "$GCC" != yes; then 8602 with_gnu_ld=no 8603 fi 8604 ;; 8605 interix*) 8606 # we just hope/assume this is gcc and not c89 (= MSVC++) 8607 with_gnu_ld=yes 8608 ;; 8609 openbsd*) 8610 with_gnu_ld=no 8611 ;; 8612 linux* | k*bsd*-gnu) 8613 link_all_deplibs=no 8614 ;; 8615 esac 8616 8617 ld_shlibs=yes 8618 if test "$with_gnu_ld" = yes; then 8619 # If archive_cmds runs LD, not CC, wlarc should be empty 8620 wlarc='${wl}' 8621 8622 # Set some defaults for GNU ld with shared library support. These 8623 # are reset later if shared libraries are not supported. Putting them 8624 # here allows them to be overridden if necessary. 8625 runpath_var=LD_RUN_PATH 8626 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8627 export_dynamic_flag_spec='${wl}--export-dynamic' 8628 # ancient GNU ld didn't support --whole-archive et. al. 8629 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 8630 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 8631 else 8632 whole_archive_flag_spec= 8633 fi 8634 supports_anon_versioning=no 8635 case `$LD -v 2>&1` in 8636 *GNU\ gold*) supports_anon_versioning=yes ;; 8637 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 8638 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 8639 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 8640 *\ 2.11.*) ;; # other 2.11 versions 8641 *) supports_anon_versioning=yes ;; 8642 esac 8643 8644 # See if GNU ld supports shared libraries. 8645 case $host_os in 8646 aix[3-9]*) 8647 # On AIX/PPC, the GNU linker is very broken 8648 if test "$host_cpu" != ia64; then 8649 ld_shlibs=no 8650 cat <<_LT_EOF 1>&2 8651 8652*** Warning: the GNU linker, at least up to release 2.9.1, is reported 8653*** to be unable to reliably create shared libraries on AIX. 8654*** Therefore, libtool is disabling shared libraries support. If you 8655*** really care for shared libraries, you may want to modify your PATH 8656*** so that a non-GNU linker is found, and then restart. 8657 8658_LT_EOF 8659 fi 8660 ;; 8661 8662 amigaos*) 8663 case $host_cpu in 8664 powerpc) 8665 # see comment about AmigaOS4 .so support 8666 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8667 archive_expsym_cmds='' 8668 ;; 8669 m68k) 8670 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)' 8671 hardcode_libdir_flag_spec='-L$libdir' 8672 hardcode_minus_L=yes 8673 ;; 8674 esac 8675 ;; 8676 8677 beos*) 8678 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8679 allow_undefined_flag=unsupported 8680 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 8681 # support --undefined. This deserves some investigation. FIXME 8682 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8683 else 8684 ld_shlibs=no 8685 fi 8686 ;; 8687 8688 cygwin* | mingw* | pw32* | cegcc*) 8689 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 8690 # as there is no search path for DLLs. 8691 hardcode_libdir_flag_spec='-L$libdir' 8692 allow_undefined_flag=unsupported 8693 always_export_symbols=no 8694 enable_shared_with_static_runtimes=yes 8695 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 8696 8697 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 8698 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8699 # If the export-symbols file already is a .def file (1st line 8700 # is EXPORTS), use it as is; otherwise, prepend... 8701 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 8702 cp $export_symbols $output_objdir/$soname.def; 8703 else 8704 echo EXPORTS > $output_objdir/$soname.def; 8705 cat $export_symbols >> $output_objdir/$soname.def; 8706 fi~ 8707 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8708 else 8709 ld_shlibs=no 8710 fi 8711 ;; 8712 8713 interix[3-9]*) 8714 hardcode_direct=no 8715 hardcode_shlibpath_var=no 8716 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8717 export_dynamic_flag_spec='${wl}-E' 8718 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 8719 # Instead, shared libraries are loaded at an image base (0x10000000 by 8720 # default) and relocated if they conflict, which is a slow very memory 8721 # consuming and fragmenting process. To avoid this, we pick a random, 8722 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 8723 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 8724 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8725 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' 8726 ;; 8727 8728 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 8729 tmp_diet=no 8730 if test "$host_os" = linux-dietlibc; then 8731 case $cc_basename in 8732 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 8733 esac 8734 fi 8735 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 8736 && test "$tmp_diet" = no 8737 then 8738 tmp_addflag= 8739 tmp_sharedflag='-shared' 8740 case $cc_basename,$host_cpu in 8741 pgcc*) # Portland Group C compiler 8742 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' 8743 tmp_addflag=' $pic_flag' 8744 ;; 8745 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 8746 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' 8747 tmp_addflag=' $pic_flag -Mnomain' ;; 8748 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 8749 tmp_addflag=' -i_dynamic' ;; 8750 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 8751 tmp_addflag=' -i_dynamic -nofor_main' ;; 8752 ifc* | ifort*) # Intel Fortran compiler 8753 tmp_addflag=' -nofor_main' ;; 8754 lf95*) # Lahey Fortran 8.1 8755 whole_archive_flag_spec= 8756 tmp_sharedflag='--shared' ;; 8757 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 8758 tmp_sharedflag='-qmkshrobj' 8759 tmp_addflag= ;; 8760 esac 8761 case `$CC -V 2>&1 | sed 5q` in 8762 *Sun\ C*) # Sun C 5.9 8763 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' 8764 compiler_needs_object=yes 8765 tmp_sharedflag='-G' ;; 8766 *Sun\ F*) # Sun Fortran 8.3 8767 tmp_sharedflag='-G' ;; 8768 esac 8769 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8770 8771 if test "x$supports_anon_versioning" = xyes; then 8772 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8773 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8774 echo "local: *; };" >> $output_objdir/$libname.ver~ 8775 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 8776 fi 8777 8778 case $cc_basename in 8779 xlf*) 8780 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 8781 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 8782 hardcode_libdir_flag_spec= 8783 hardcode_libdir_flag_spec_ld='-rpath $libdir' 8784 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' 8785 if test "x$supports_anon_versioning" = xyes; then 8786 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8787 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8788 echo "local: *; };" >> $output_objdir/$libname.ver~ 8789 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 8790 fi 8791 ;; 8792 esac 8793 else 8794 ld_shlibs=no 8795 fi 8796 ;; 8797 8798 netbsd* | netbsdelf*-gnu) 8799 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 8800 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 8801 wlarc= 8802 else 8803 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8804 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8805 fi 8806 ;; 8807 8808 solaris*) 8809 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 8810 ld_shlibs=no 8811 cat <<_LT_EOF 1>&2 8812 8813*** Warning: The releases 2.8.* of the GNU linker cannot reliably 8814*** create shared libraries on Solaris systems. Therefore, libtool 8815*** is disabling shared libraries support. We urge you to upgrade GNU 8816*** binutils to release 2.9.1 or newer. Another option is to modify 8817*** your PATH or compiler configuration so that the native linker is 8818*** used, and then restart. 8819 8820_LT_EOF 8821 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8822 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8823 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8824 else 8825 ld_shlibs=no 8826 fi 8827 ;; 8828 8829 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 8830 case `$LD -v 2>&1` in 8831 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 8832 ld_shlibs=no 8833 cat <<_LT_EOF 1>&2 8834 8835*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 8836*** reliably create shared libraries on SCO systems. Therefore, libtool 8837*** is disabling shared libraries support. We urge you to upgrade GNU 8838*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 8839*** your PATH or compiler configuration so that the native linker is 8840*** used, and then restart. 8841 8842_LT_EOF 8843 ;; 8844 *) 8845 # For security reasons, it is highly recommended that you always 8846 # use absolute paths for naming shared libraries, and exclude the 8847 # DT_RUNPATH tag from executables and libraries. But doing so 8848 # requires that you compile everything twice, which is a pain. 8849 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8850 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8851 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8852 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8853 else 8854 ld_shlibs=no 8855 fi 8856 ;; 8857 esac 8858 ;; 8859 8860 sunos4*) 8861 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8862 wlarc= 8863 hardcode_direct=yes 8864 hardcode_shlibpath_var=no 8865 ;; 8866 8867 *) 8868 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8869 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8870 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8871 else 8872 ld_shlibs=no 8873 fi 8874 ;; 8875 esac 8876 8877 if test "$ld_shlibs" = no; then 8878 runpath_var= 8879 hardcode_libdir_flag_spec= 8880 export_dynamic_flag_spec= 8881 whole_archive_flag_spec= 8882 fi 8883 else 8884 # PORTME fill in a description of your system's linker (not GNU ld) 8885 case $host_os in 8886 aix3*) 8887 allow_undefined_flag=unsupported 8888 always_export_symbols=yes 8889 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' 8890 # Note: this linker hardcodes the directories in LIBPATH if there 8891 # are no directories specified by -L. 8892 hardcode_minus_L=yes 8893 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 8894 # Neither direct hardcoding nor static linking is supported with a 8895 # broken collect2. 8896 hardcode_direct=unsupported 8897 fi 8898 ;; 8899 8900 aix[4-9]*) 8901 if test "$host_cpu" = ia64; then 8902 # On IA64, the linker does run time linking by default, so we don't 8903 # have to do anything special. 8904 aix_use_runtimelinking=no 8905 exp_sym_flag='-Bexport' 8906 no_entry_flag="" 8907 else 8908 # If we're using GNU nm, then we don't want the "-C" option. 8909 # -C means demangle to AIX nm, but means don't demangle with GNU nm 8910 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 8911 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' 8912 else 8913 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' 8914 fi 8915 aix_use_runtimelinking=no 8916 8917 # Test if we are trying to use run time linking or normal 8918 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 8919 # need to do runtime linking. 8920 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 8921 for ld_flag in $LDFLAGS; do 8922 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 8923 aix_use_runtimelinking=yes 8924 break 8925 fi 8926 done 8927 ;; 8928 esac 8929 8930 exp_sym_flag='-bexport' 8931 no_entry_flag='-bnoentry' 8932 fi 8933 8934 # When large executables or shared objects are built, AIX ld can 8935 # have problems creating the table of contents. If linking a library 8936 # or program results in "error TOC overflow" add -mminimal-toc to 8937 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 8938 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 8939 8940 archive_cmds='' 8941 hardcode_direct=yes 8942 hardcode_direct_absolute=yes 8943 hardcode_libdir_separator=':' 8944 link_all_deplibs=yes 8945 file_list_spec='${wl}-f,' 8946 8947 if test "$GCC" = yes; then 8948 case $host_os in aix4.[012]|aix4.[012].*) 8949 # We only want to do this on AIX 4.2 and lower, the check 8950 # below for broken collect2 doesn't work under 4.3+ 8951 collect2name=`${CC} -print-prog-name=collect2` 8952 if test -f "$collect2name" && 8953 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 8954 then 8955 # We have reworked collect2 8956 : 8957 else 8958 # We have old collect2 8959 hardcode_direct=unsupported 8960 # It fails to find uninstalled libraries when the uninstalled 8961 # path is not listed in the libpath. Setting hardcode_minus_L 8962 # to unsupported forces relinking 8963 hardcode_minus_L=yes 8964 hardcode_libdir_flag_spec='-L$libdir' 8965 hardcode_libdir_separator= 8966 fi 8967 ;; 8968 esac 8969 shared_flag='-shared' 8970 if test "$aix_use_runtimelinking" = yes; then 8971 shared_flag="$shared_flag "'${wl}-G' 8972 fi 8973 link_all_deplibs=no 8974 else 8975 # not using gcc 8976 if test "$host_cpu" = ia64; then 8977 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 8978 # chokes on -Wl,-G. The following line is correct: 8979 shared_flag='-G' 8980 else 8981 if test "$aix_use_runtimelinking" = yes; then 8982 shared_flag='${wl}-G' 8983 else 8984 shared_flag='${wl}-bM:SRE' 8985 fi 8986 fi 8987 fi 8988 8989 export_dynamic_flag_spec='${wl}-bexpall' 8990 # It seems that -bexpall does not export symbols beginning with 8991 # underscore (_), so it is better to generate a list of symbols to export. 8992 always_export_symbols=yes 8993 if test "$aix_use_runtimelinking" = yes; then 8994 # Warning - without using the other runtime loading flags (-brtl), 8995 # -berok will link without error, but may produce a broken library. 8996 allow_undefined_flag='-berok' 8997 # Determine the default libpath from the value encoded in an 8998 # empty executable. 8999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9000/* end confdefs.h. */ 9001 9002int 9003main () 9004{ 9005 9006 ; 9007 return 0; 9008} 9009_ACEOF 9010if ac_fn_c_try_link "$LINENO"; then : 9011 9012lt_aix_libpath_sed=' 9013 /Import File Strings/,/^$/ { 9014 /^0/ { 9015 s/^0 *\(.*\)$/\1/ 9016 p 9017 } 9018 }' 9019aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9020# Check for a 64-bit object if we didn't find anything. 9021if test -z "$aix_libpath"; then 9022 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9023fi 9024fi 9025rm -f core conftest.err conftest.$ac_objext \ 9026 conftest$ac_exeext conftest.$ac_ext 9027if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 9028 9029 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9030 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" 9031 else 9032 if test "$host_cpu" = ia64; then 9033 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 9034 allow_undefined_flag="-z nodefs" 9035 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" 9036 else 9037 # Determine the default libpath from the value encoded in an 9038 # empty executable. 9039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9040/* end confdefs.h. */ 9041 9042int 9043main () 9044{ 9045 9046 ; 9047 return 0; 9048} 9049_ACEOF 9050if ac_fn_c_try_link "$LINENO"; then : 9051 9052lt_aix_libpath_sed=' 9053 /Import File Strings/,/^$/ { 9054 /^0/ { 9055 s/^0 *\(.*\)$/\1/ 9056 p 9057 } 9058 }' 9059aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9060# Check for a 64-bit object if we didn't find anything. 9061if test -z "$aix_libpath"; then 9062 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9063fi 9064fi 9065rm -f core conftest.err conftest.$ac_objext \ 9066 conftest$ac_exeext conftest.$ac_ext 9067if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 9068 9069 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9070 # Warning - without using the other run time loading flags, 9071 # -berok will link without error, but may produce a broken library. 9072 no_undefined_flag=' ${wl}-bernotok' 9073 allow_undefined_flag=' ${wl}-berok' 9074 # Exported symbols can be pulled into shared objects from archives 9075 whole_archive_flag_spec='$convenience' 9076 archive_cmds_need_lc=yes 9077 # This is similar to how AIX traditionally builds its shared libraries. 9078 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' 9079 fi 9080 fi 9081 ;; 9082 9083 amigaos*) 9084 case $host_cpu in 9085 powerpc) 9086 # see comment about AmigaOS4 .so support 9087 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9088 archive_expsym_cmds='' 9089 ;; 9090 m68k) 9091 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)' 9092 hardcode_libdir_flag_spec='-L$libdir' 9093 hardcode_minus_L=yes 9094 ;; 9095 esac 9096 ;; 9097 9098 bsdi[45]*) 9099 export_dynamic_flag_spec=-rdynamic 9100 ;; 9101 9102 cygwin* | mingw* | pw32* | cegcc*) 9103 # When not using gcc, we currently assume that we are using 9104 # Microsoft Visual C++. 9105 # hardcode_libdir_flag_spec is actually meaningless, as there is 9106 # no search path for DLLs. 9107 hardcode_libdir_flag_spec=' ' 9108 allow_undefined_flag=unsupported 9109 # Tell ltmain to make .lib files, not .a files. 9110 libext=lib 9111 # Tell ltmain to make .dll files, not .so files. 9112 shrext_cmds=".dll" 9113 # FIXME: Setting linknames here is a bad hack. 9114 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' 9115 # The linker will automatically build a .lib file if we build a DLL. 9116 old_archive_from_new_cmds='true' 9117 # FIXME: Should let the user specify the lib program. 9118 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9119 fix_srcfile_path='`cygpath -w "$srcfile"`' 9120 enable_shared_with_static_runtimes=yes 9121 ;; 9122 9123 darwin* | rhapsody*) 9124 9125 9126 archive_cmds_need_lc=no 9127 hardcode_direct=no 9128 hardcode_automatic=yes 9129 hardcode_shlibpath_var=unsupported 9130 whole_archive_flag_spec='' 9131 link_all_deplibs=yes 9132 allow_undefined_flag="$_lt_dar_allow_undefined" 9133 case $cc_basename in 9134 ifort*) _lt_dar_can_shared=yes ;; 9135 *) _lt_dar_can_shared=$GCC ;; 9136 esac 9137 if test "$_lt_dar_can_shared" = "yes"; then 9138 output_verbose_link_cmd=echo 9139 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 9140 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 9141 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}" 9142 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}" 9143 9144 else 9145 ld_shlibs=no 9146 fi 9147 9148 ;; 9149 9150 dgux*) 9151 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9152 hardcode_libdir_flag_spec='-L$libdir' 9153 hardcode_shlibpath_var=no 9154 ;; 9155 9156 freebsd1*) 9157 ld_shlibs=no 9158 ;; 9159 9160 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9161 # support. Future versions do this automatically, but an explicit c++rt0.o 9162 # does not break anything, and helps significantly (at the cost of a little 9163 # extra space). 9164 freebsd2.2*) 9165 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9166 hardcode_libdir_flag_spec='-R$libdir' 9167 hardcode_direct=yes 9168 hardcode_shlibpath_var=no 9169 ;; 9170 9171 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9172 freebsd2*) 9173 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9174 hardcode_direct=yes 9175 hardcode_minus_L=yes 9176 hardcode_shlibpath_var=no 9177 ;; 9178 9179 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9180 freebsd* | dragonfly*) 9181 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 9182 hardcode_libdir_flag_spec='-R$libdir' 9183 hardcode_direct=yes 9184 hardcode_shlibpath_var=no 9185 ;; 9186 9187 hpux9*) 9188 if test "$GCC" = yes; then 9189 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' 9190 else 9191 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' 9192 fi 9193 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9194 hardcode_libdir_separator=: 9195 hardcode_direct=yes 9196 9197 # hardcode_minus_L: Not really in the search PATH, 9198 # but as the default location of the library. 9199 hardcode_minus_L=yes 9200 export_dynamic_flag_spec='${wl}-E' 9201 ;; 9202 9203 hpux10*) 9204 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 9205 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9206 else 9207 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9208 fi 9209 if test "$with_gnu_ld" = no; then 9210 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9211 hardcode_libdir_flag_spec_ld='+b $libdir' 9212 hardcode_libdir_separator=: 9213 hardcode_direct=yes 9214 hardcode_direct_absolute=yes 9215 export_dynamic_flag_spec='${wl}-E' 9216 # hardcode_minus_L: Not really in the search PATH, 9217 # but as the default location of the library. 9218 hardcode_minus_L=yes 9219 fi 9220 ;; 9221 9222 hpux11*) 9223 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 9224 case $host_cpu in 9225 hppa*64*) 9226 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9227 ;; 9228 ia64*) 9229 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9230 ;; 9231 *) 9232 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9233 ;; 9234 esac 9235 else 9236 case $host_cpu in 9237 hppa*64*) 9238 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9239 ;; 9240 ia64*) 9241 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9242 ;; 9243 *) 9244 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9245 ;; 9246 esac 9247 fi 9248 if test "$with_gnu_ld" = no; then 9249 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9250 hardcode_libdir_separator=: 9251 9252 case $host_cpu in 9253 hppa*64*|ia64*) 9254 hardcode_direct=no 9255 hardcode_shlibpath_var=no 9256 ;; 9257 *) 9258 hardcode_direct=yes 9259 hardcode_direct_absolute=yes 9260 export_dynamic_flag_spec='${wl}-E' 9261 9262 # hardcode_minus_L: Not really in the search PATH, 9263 # but as the default location of the library. 9264 hardcode_minus_L=yes 9265 ;; 9266 esac 9267 fi 9268 ;; 9269 9270 irix5* | irix6* | nonstopux*) 9271 if test "$GCC" = yes; then 9272 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' 9273 # Try to use the -exported_symbol ld option, if it does not 9274 # work, assume that -exports_file does not work either and 9275 # implicitly export all symbols. 9276 save_LDFLAGS="$LDFLAGS" 9277 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 9278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9279/* end confdefs.h. */ 9280int foo(void) {} 9281_ACEOF 9282if ac_fn_c_try_link "$LINENO"; then : 9283 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' 9284 9285fi 9286rm -f core conftest.err conftest.$ac_objext \ 9287 conftest$ac_exeext conftest.$ac_ext 9288 LDFLAGS="$save_LDFLAGS" 9289 else 9290 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' 9291 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' 9292 fi 9293 archive_cmds_need_lc='no' 9294 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9295 hardcode_libdir_separator=: 9296 inherit_rpath=yes 9297 link_all_deplibs=yes 9298 ;; 9299 9300 netbsd* | netbsdelf*-gnu) 9301 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9302 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9303 else 9304 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9305 fi 9306 hardcode_libdir_flag_spec='-R$libdir' 9307 hardcode_direct=yes 9308 hardcode_shlibpath_var=no 9309 ;; 9310 9311 newsos6) 9312 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9313 hardcode_direct=yes 9314 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9315 hardcode_libdir_separator=: 9316 hardcode_shlibpath_var=no 9317 ;; 9318 9319 *nto* | *qnx*) 9320 ;; 9321 9322 openbsd*) 9323 if test -f /usr/libexec/ld.so; then 9324 hardcode_direct=yes 9325 hardcode_shlibpath_var=no 9326 hardcode_direct_absolute=yes 9327 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9328 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9329 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 9330 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9331 export_dynamic_flag_spec='${wl}-E' 9332 else 9333 case $host_os in 9334 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 9335 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9336 hardcode_libdir_flag_spec='-R$libdir' 9337 ;; 9338 *) 9339 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9340 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9341 ;; 9342 esac 9343 fi 9344 else 9345 ld_shlibs=no 9346 fi 9347 ;; 9348 9349 os2*) 9350 hardcode_libdir_flag_spec='-L$libdir' 9351 hardcode_minus_L=yes 9352 allow_undefined_flag=unsupported 9353 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' 9354 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 9355 ;; 9356 9357 osf3*) 9358 if test "$GCC" = yes; then 9359 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9360 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' 9361 else 9362 allow_undefined_flag=' -expect_unresolved \*' 9363 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' 9364 fi 9365 archive_cmds_need_lc='no' 9366 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9367 hardcode_libdir_separator=: 9368 ;; 9369 9370 osf4* | osf5*) # as osf3* with the addition of -msym flag 9371 if test "$GCC" = yes; then 9372 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9373 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' 9374 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9375 else 9376 allow_undefined_flag=' -expect_unresolved \*' 9377 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' 9378 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~ 9379 $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' 9380 9381 # Both c and cxx compiler support -rpath directly 9382 hardcode_libdir_flag_spec='-rpath $libdir' 9383 fi 9384 archive_cmds_need_lc='no' 9385 hardcode_libdir_separator=: 9386 ;; 9387 9388 solaris*) 9389 no_undefined_flag=' -z defs' 9390 if test "$GCC" = yes; then 9391 wlarc='${wl}' 9392 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9393 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9394 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9395 else 9396 case `$CC -V 2>&1` in 9397 *"Compilers 5.0"*) 9398 wlarc='' 9399 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 9400 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9401 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 9402 ;; 9403 *) 9404 wlarc='${wl}' 9405 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 9406 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9407 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9408 ;; 9409 esac 9410 fi 9411 hardcode_libdir_flag_spec='-R$libdir' 9412 hardcode_shlibpath_var=no 9413 case $host_os in 9414 solaris2.[0-5] | solaris2.[0-5].*) ;; 9415 *) 9416 # The compiler driver will combine and reorder linker options, 9417 # but understands `-z linker_flag'. GCC discards it without `$wl', 9418 # but is careful enough not to reorder. 9419 # Supported since Solaris 2.6 (maybe 2.5.1?) 9420 if test "$GCC" = yes; then 9421 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 9422 else 9423 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 9424 fi 9425 ;; 9426 esac 9427 link_all_deplibs=yes 9428 ;; 9429 9430 sunos4*) 9431 if test "x$host_vendor" = xsequent; then 9432 # Use $CC to link under sequent, because it throws in some extra .o 9433 # files that make .init and .fini sections work. 9434 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 9435 else 9436 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 9437 fi 9438 hardcode_libdir_flag_spec='-L$libdir' 9439 hardcode_direct=yes 9440 hardcode_minus_L=yes 9441 hardcode_shlibpath_var=no 9442 ;; 9443 9444 sysv4) 9445 case $host_vendor in 9446 sni) 9447 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9448 hardcode_direct=yes # is this really true??? 9449 ;; 9450 siemens) 9451 ## LD is ld it makes a PLAMLIB 9452 ## CC just makes a GrossModule. 9453 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 9454 reload_cmds='$CC -r -o $output$reload_objs' 9455 hardcode_direct=no 9456 ;; 9457 motorola) 9458 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9459 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 9460 ;; 9461 esac 9462 runpath_var='LD_RUN_PATH' 9463 hardcode_shlibpath_var=no 9464 ;; 9465 9466 sysv4.3*) 9467 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9468 hardcode_shlibpath_var=no 9469 export_dynamic_flag_spec='-Bexport' 9470 ;; 9471 9472 sysv4*MP*) 9473 if test -d /usr/nec; then 9474 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9475 hardcode_shlibpath_var=no 9476 runpath_var=LD_RUN_PATH 9477 hardcode_runpath_var=yes 9478 ld_shlibs=yes 9479 fi 9480 ;; 9481 9482 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 9483 no_undefined_flag='${wl}-z,text' 9484 archive_cmds_need_lc=no 9485 hardcode_shlibpath_var=no 9486 runpath_var='LD_RUN_PATH' 9487 9488 if test "$GCC" = yes; then 9489 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9490 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9491 else 9492 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9493 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9494 fi 9495 ;; 9496 9497 sysv5* | sco3.2v5* | sco5v6*) 9498 # Note: We can NOT use -z defs as we might desire, because we do not 9499 # link with -lc, and that would cause any symbols used from libc to 9500 # always be unresolved, which means just about no library would 9501 # ever link correctly. If we're not using GNU ld we use -z text 9502 # though, which does catch some bad symbols but isn't as heavy-handed 9503 # as -z defs. 9504 no_undefined_flag='${wl}-z,text' 9505 allow_undefined_flag='${wl}-z,nodefs' 9506 archive_cmds_need_lc=no 9507 hardcode_shlibpath_var=no 9508 hardcode_libdir_flag_spec='${wl}-R,$libdir' 9509 hardcode_libdir_separator=':' 9510 link_all_deplibs=yes 9511 export_dynamic_flag_spec='${wl}-Bexport' 9512 runpath_var='LD_RUN_PATH' 9513 9514 if test "$GCC" = yes; then 9515 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9516 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9517 else 9518 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9519 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9520 fi 9521 ;; 9522 9523 uts4*) 9524 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9525 hardcode_libdir_flag_spec='-L$libdir' 9526 hardcode_shlibpath_var=no 9527 ;; 9528 9529 *) 9530 ld_shlibs=no 9531 ;; 9532 esac 9533 9534 if test x$host_vendor = xsni; then 9535 case $host in 9536 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 9537 export_dynamic_flag_spec='${wl}-Blargedynsym' 9538 ;; 9539 esac 9540 fi 9541 fi 9542 9543{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 9544$as_echo "$ld_shlibs" >&6; } 9545test "$ld_shlibs" = no && can_build_shared=no 9546 9547with_gnu_ld=$with_gnu_ld 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563# 9564# Do we need to explicitly link libc? 9565# 9566case "x$archive_cmds_need_lc" in 9567x|xyes) 9568 # Assume -lc should be added 9569 archive_cmds_need_lc=yes 9570 9571 if test "$enable_shared" = yes && test "$GCC" = yes; then 9572 case $archive_cmds in 9573 *'~'*) 9574 # FIXME: we may have to deal with multi-command sequences. 9575 ;; 9576 '$CC '*) 9577 # Test whether the compiler implicitly links with -lc since on some 9578 # systems, -lgcc has to come before -lc. If gcc already passes -lc 9579 # to ld, don't add -lc before -lgcc. 9580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 9581$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 9582 $RM conftest* 9583 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9584 9585 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9586 (eval $ac_compile) 2>&5 9587 ac_status=$? 9588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9589 test $ac_status = 0; } 2>conftest.err; then 9590 soname=conftest 9591 lib=conftest 9592 libobjs=conftest.$ac_objext 9593 deplibs= 9594 wl=$lt_prog_compiler_wl 9595 pic_flag=$lt_prog_compiler_pic 9596 compiler_flags=-v 9597 linker_flags=-v 9598 verstring= 9599 output_objdir=. 9600 libname=conftest 9601 lt_save_allow_undefined_flag=$allow_undefined_flag 9602 allow_undefined_flag= 9603 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 9604 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 9605 ac_status=$? 9606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9607 test $ac_status = 0; } 9608 then 9609 archive_cmds_need_lc=no 9610 else 9611 archive_cmds_need_lc=yes 9612 fi 9613 allow_undefined_flag=$lt_save_allow_undefined_flag 9614 else 9615 cat conftest.err 1>&5 9616 fi 9617 $RM conftest* 9618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 9619$as_echo "$archive_cmds_need_lc" >&6; } 9620 ;; 9621 esac 9622 fi 9623 ;; 9624esac 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 9783$as_echo_n "checking dynamic linker characteristics... " >&6; } 9784 9785if test "$GCC" = yes; then 9786 case $host_os in 9787 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 9788 *) lt_awk_arg="/^libraries:/" ;; 9789 esac 9790 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` 9791 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then 9792 # if the path contains ";" then we assume it to be the separator 9793 # otherwise default to the standard path separator (i.e. ":") - it is 9794 # assumed that no part of a normal pathname contains ";" but that should 9795 # okay in the real world where ";" in dirpaths is itself problematic. 9796 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` 9797 else 9798 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 9799 fi 9800 # Ok, now we have the path, separated by spaces, we can step through it 9801 # and add multilib dir if necessary. 9802 lt_tmp_lt_search_path_spec= 9803 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 9804 for lt_sys_path in $lt_search_path_spec; do 9805 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 9806 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 9807 else 9808 test -d "$lt_sys_path" && \ 9809 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 9810 fi 9811 done 9812 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' 9813BEGIN {RS=" "; FS="/|\n";} { 9814 lt_foo=""; 9815 lt_count=0; 9816 for (lt_i = NF; lt_i > 0; lt_i--) { 9817 if ($lt_i != "" && $lt_i != ".") { 9818 if ($lt_i == "..") { 9819 lt_count++; 9820 } else { 9821 if (lt_count == 0) { 9822 lt_foo="/" $lt_i lt_foo; 9823 } else { 9824 lt_count--; 9825 } 9826 } 9827 } 9828 } 9829 if (lt_foo != "") { lt_freq[lt_foo]++; } 9830 if (lt_freq[lt_foo] == 1) { print lt_foo; } 9831}'` 9832 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` 9833else 9834 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 9835fi 9836library_names_spec= 9837libname_spec='lib$name' 9838soname_spec= 9839shrext_cmds=".so" 9840postinstall_cmds= 9841postuninstall_cmds= 9842finish_cmds= 9843finish_eval= 9844shlibpath_var= 9845shlibpath_overrides_runpath=unknown 9846version_type=none 9847dynamic_linker="$host_os ld.so" 9848sys_lib_dlsearch_path_spec="/lib /usr/lib" 9849need_lib_prefix=unknown 9850hardcode_into_libs=no 9851 9852# when you set need_version to no, make sure it does not cause -set_version 9853# flags to be left without arguments 9854need_version=unknown 9855 9856case $host_os in 9857aix3*) 9858 version_type=linux 9859 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 9860 shlibpath_var=LIBPATH 9861 9862 # AIX 3 has no versioning support, so we append a major version to the name. 9863 soname_spec='${libname}${release}${shared_ext}$major' 9864 ;; 9865 9866aix[4-9]*) 9867 version_type=linux 9868 need_lib_prefix=no 9869 need_version=no 9870 hardcode_into_libs=yes 9871 if test "$host_cpu" = ia64; then 9872 # AIX 5 supports IA64 9873 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 9874 shlibpath_var=LD_LIBRARY_PATH 9875 else 9876 # With GCC up to 2.95.x, collect2 would create an import file 9877 # for dependence libraries. The import file would start with 9878 # the line `#! .'. This would cause the generated library to 9879 # depend on `.', always an invalid library. This was fixed in 9880 # development snapshots of GCC prior to 3.0. 9881 case $host_os in 9882 aix4 | aix4.[01] | aix4.[01].*) 9883 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 9884 echo ' yes ' 9885 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 9886 : 9887 else 9888 can_build_shared=no 9889 fi 9890 ;; 9891 esac 9892 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 9893 # soname into executable. Probably we can add versioning support to 9894 # collect2, so additional links can be useful in future. 9895 if test "$aix_use_runtimelinking" = yes; then 9896 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 9897 # instead of lib<name>.a to let people know that these are not 9898 # typical AIX shared libraries. 9899 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9900 else 9901 # We preserve .a as extension for shared libraries through AIX4.2 9902 # and later when we are not doing run time linking. 9903 library_names_spec='${libname}${release}.a $libname.a' 9904 soname_spec='${libname}${release}${shared_ext}$major' 9905 fi 9906 shlibpath_var=LIBPATH 9907 fi 9908 ;; 9909 9910amigaos*) 9911 case $host_cpu in 9912 powerpc) 9913 # Since July 2007 AmigaOS4 officially supports .so libraries. 9914 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 9915 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9916 ;; 9917 m68k) 9918 library_names_spec='$libname.ixlibrary $libname.a' 9919 # Create ${libname}_ixlibrary.a entries in /sys/libs. 9920 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' 9921 ;; 9922 esac 9923 ;; 9924 9925beos*) 9926 library_names_spec='${libname}${shared_ext}' 9927 dynamic_linker="$host_os ld.so" 9928 shlibpath_var=LIBRARY_PATH 9929 ;; 9930 9931bsdi[45]*) 9932 version_type=linux 9933 need_version=no 9934 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9935 soname_spec='${libname}${release}${shared_ext}$major' 9936 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 9937 shlibpath_var=LD_LIBRARY_PATH 9938 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 9939 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 9940 # the default ld.so.conf also contains /usr/contrib/lib and 9941 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 9942 # libtool to hard-code these into programs 9943 ;; 9944 9945cygwin* | mingw* | pw32* | cegcc*) 9946 version_type=windows 9947 shrext_cmds=".dll" 9948 need_version=no 9949 need_lib_prefix=no 9950 9951 case $GCC,$host_os in 9952 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) 9953 library_names_spec='$libname.dll.a' 9954 # DLL is installed to $(libdir)/../bin by postinstall_cmds 9955 postinstall_cmds='base_file=`basename \${file}`~ 9956 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 9957 dldir=$destdir/`dirname \$dlpath`~ 9958 test -d \$dldir || mkdir -p \$dldir~ 9959 $install_prog $dir/$dlname \$dldir/$dlname~ 9960 chmod a+x \$dldir/$dlname~ 9961 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 9962 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 9963 fi' 9964 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 9965 dlpath=$dir/\$dldll~ 9966 $RM \$dlpath' 9967 shlibpath_overrides_runpath=yes 9968 9969 case $host_os in 9970 cygwin*) 9971 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 9972 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9973 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 9974 ;; 9975 mingw* | cegcc*) 9976 # MinGW DLLs use traditional 'lib' prefix 9977 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9978 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 9979 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 9980 # It is most probably a Windows format PATH printed by 9981 # mingw gcc, but we are running on Cygwin. Gcc prints its search 9982 # path with ; separators, and with drive letters. We can handle the 9983 # drive letters (cygwin fileutils understands them), so leave them, 9984 # especially as we might pass files found there to a mingw objdump, 9985 # which wouldn't understand a cygwinified path. Ahh. 9986 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 9987 else 9988 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 9989 fi 9990 ;; 9991 pw32*) 9992 # pw32 DLLs use 'pw' prefix rather than 'lib' 9993 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9994 ;; 9995 esac 9996 ;; 9997 9998 *) 9999 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 10000 ;; 10001 esac 10002 dynamic_linker='Win32 ld.exe' 10003 # FIXME: first we should search . and the directory the executable is in 10004 shlibpath_var=PATH 10005 ;; 10006 10007darwin* | rhapsody*) 10008 dynamic_linker="$host_os dyld" 10009 version_type=darwin 10010 need_lib_prefix=no 10011 need_version=no 10012 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 10013 soname_spec='${libname}${release}${major}$shared_ext' 10014 shlibpath_overrides_runpath=yes 10015 shlibpath_var=DYLD_LIBRARY_PATH 10016 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10017 10018 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10019 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10020 ;; 10021 10022dgux*) 10023 version_type=linux 10024 need_lib_prefix=no 10025 need_version=no 10026 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 10027 soname_spec='${libname}${release}${shared_ext}$major' 10028 shlibpath_var=LD_LIBRARY_PATH 10029 ;; 10030 10031freebsd1*) 10032 dynamic_linker=no 10033 ;; 10034 10035freebsd* | dragonfly*) 10036 # DragonFly does not have aout. When/if they implement a new 10037 # versioning mechanism, adjust this. 10038 if test -x /usr/bin/objformat; then 10039 objformat=`/usr/bin/objformat` 10040 else 10041 case $host_os in 10042 freebsd[123]*) objformat=aout ;; 10043 *) objformat=elf ;; 10044 esac 10045 fi 10046 version_type=freebsd-$objformat 10047 case $version_type in 10048 freebsd-elf*) 10049 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10050 need_version=no 10051 need_lib_prefix=no 10052 ;; 10053 freebsd-*) 10054 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 10055 need_version=yes 10056 ;; 10057 esac 10058 shlibpath_var=LD_LIBRARY_PATH 10059 case $host_os in 10060 freebsd2*) 10061 shlibpath_overrides_runpath=yes 10062 ;; 10063 freebsd3.[01]* | freebsdelf3.[01]*) 10064 shlibpath_overrides_runpath=yes 10065 hardcode_into_libs=yes 10066 ;; 10067 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10068 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10069 shlibpath_overrides_runpath=no 10070 hardcode_into_libs=yes 10071 ;; 10072 *) # from 4.6 on, and DragonFly 10073 shlibpath_overrides_runpath=yes 10074 hardcode_into_libs=yes 10075 ;; 10076 esac 10077 ;; 10078 10079gnu*) 10080 version_type=linux 10081 need_lib_prefix=no 10082 need_version=no 10083 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10084 soname_spec='${libname}${release}${shared_ext}$major' 10085 shlibpath_var=LD_LIBRARY_PATH 10086 hardcode_into_libs=yes 10087 ;; 10088 10089hpux9* | hpux10* | hpux11*) 10090 # Give a soname corresponding to the major version so that dld.sl refuses to 10091 # link against other versions. 10092 version_type=sunos 10093 need_lib_prefix=no 10094 need_version=no 10095 case $host_cpu in 10096 ia64*) 10097 shrext_cmds='.so' 10098 hardcode_into_libs=yes 10099 dynamic_linker="$host_os dld.so" 10100 shlibpath_var=LD_LIBRARY_PATH 10101 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10102 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10103 soname_spec='${libname}${release}${shared_ext}$major' 10104 if test "X$HPUX_IA64_MODE" = X32; then 10105 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10106 else 10107 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10108 fi 10109 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10110 ;; 10111 hppa*64*) 10112 shrext_cmds='.sl' 10113 hardcode_into_libs=yes 10114 dynamic_linker="$host_os dld.sl" 10115 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10116 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10117 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10118 soname_spec='${libname}${release}${shared_ext}$major' 10119 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10120 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10121 ;; 10122 *) 10123 shrext_cmds='.sl' 10124 dynamic_linker="$host_os dld.sl" 10125 shlibpath_var=SHLIB_PATH 10126 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10127 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10128 soname_spec='${libname}${release}${shared_ext}$major' 10129 ;; 10130 esac 10131 # HP-UX runs *really* slowly unless shared libraries are mode 555. 10132 postinstall_cmds='chmod 555 $lib' 10133 ;; 10134 10135interix[3-9]*) 10136 version_type=linux 10137 need_lib_prefix=no 10138 need_version=no 10139 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10140 soname_spec='${libname}${release}${shared_ext}$major' 10141 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10142 shlibpath_var=LD_LIBRARY_PATH 10143 shlibpath_overrides_runpath=no 10144 hardcode_into_libs=yes 10145 ;; 10146 10147irix5* | irix6* | nonstopux*) 10148 case $host_os in 10149 nonstopux*) version_type=nonstopux ;; 10150 *) 10151 if test "$lt_cv_prog_gnu_ld" = yes; then 10152 version_type=linux 10153 else 10154 version_type=irix 10155 fi ;; 10156 esac 10157 need_lib_prefix=no 10158 need_version=no 10159 soname_spec='${libname}${release}${shared_ext}$major' 10160 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 10161 case $host_os in 10162 irix5* | nonstopux*) 10163 libsuff= shlibsuff= 10164 ;; 10165 *) 10166 case $LD in # libtool.m4 will add one of these switches to LD 10167 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10168 libsuff= shlibsuff= libmagic=32-bit;; 10169 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10170 libsuff=32 shlibsuff=N32 libmagic=N32;; 10171 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10172 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10173 *) libsuff= shlibsuff= libmagic=never-match;; 10174 esac 10175 ;; 10176 esac 10177 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10178 shlibpath_overrides_runpath=no 10179 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 10180 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 10181 hardcode_into_libs=yes 10182 ;; 10183 10184# No shared lib support for Linux oldld, aout, or coff. 10185linux*oldld* | linux*aout* | linux*coff*) 10186 dynamic_linker=no 10187 ;; 10188 10189# This must be Linux ELF. 10190linux* | k*bsd*-gnu | kopensolaris*-gnu) 10191 version_type=linux 10192 need_lib_prefix=no 10193 need_version=no 10194 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10195 soname_spec='${libname}${release}${shared_ext}$major' 10196 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10197 shlibpath_var=LD_LIBRARY_PATH 10198 shlibpath_overrides_runpath=no 10199 # Some binutils ld are patched to set DT_RUNPATH 10200 save_LDFLAGS=$LDFLAGS 10201 save_libdir=$libdir 10202 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10203 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 10204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10205/* end confdefs.h. */ 10206 10207int 10208main () 10209{ 10210 10211 ; 10212 return 0; 10213} 10214_ACEOF 10215if ac_fn_c_try_link "$LINENO"; then : 10216 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 10217 shlibpath_overrides_runpath=yes 10218fi 10219fi 10220rm -f core conftest.err conftest.$ac_objext \ 10221 conftest$ac_exeext conftest.$ac_ext 10222 LDFLAGS=$save_LDFLAGS 10223 libdir=$save_libdir 10224 10225 # This implies no fast_install, which is unacceptable. 10226 # Some rework will be needed to allow for fast_install 10227 # before this can be enabled. 10228 hardcode_into_libs=yes 10229 10230 # Append ld.so.conf contents to the search path 10231 if test -f /etc/ld.so.conf; then 10232 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' ' '` 10233 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 10234 fi 10235 10236 # We used to test for /lib/ld.so.1 and disable shared libraries on 10237 # powerpc, because MkLinux only supported shared libraries with the 10238 # GNU dynamic linker. Since this was broken with cross compilers, 10239 # most powerpc-linux boxes support dynamic linking these days and 10240 # people can always --disable-shared, the test was removed, and we 10241 # assume the GNU/Linux dynamic linker is in use. 10242 dynamic_linker='GNU/Linux ld.so' 10243 ;; 10244 10245netbsdelf*-gnu) 10246 version_type=linux 10247 need_lib_prefix=no 10248 need_version=no 10249 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10250 soname_spec='${libname}${release}${shared_ext}$major' 10251 shlibpath_var=LD_LIBRARY_PATH 10252 shlibpath_overrides_runpath=no 10253 hardcode_into_libs=yes 10254 dynamic_linker='NetBSD ld.elf_so' 10255 ;; 10256 10257netbsd*) 10258 version_type=sunos 10259 need_lib_prefix=no 10260 need_version=no 10261 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10262 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10263 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10264 dynamic_linker='NetBSD (a.out) ld.so' 10265 else 10266 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10267 soname_spec='${libname}${release}${shared_ext}$major' 10268 dynamic_linker='NetBSD ld.elf_so' 10269 fi 10270 shlibpath_var=LD_LIBRARY_PATH 10271 shlibpath_overrides_runpath=yes 10272 hardcode_into_libs=yes 10273 ;; 10274 10275newsos6) 10276 version_type=linux 10277 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10278 shlibpath_var=LD_LIBRARY_PATH 10279 shlibpath_overrides_runpath=yes 10280 ;; 10281 10282*nto* | *qnx*) 10283 version_type=qnx 10284 need_lib_prefix=no 10285 need_version=no 10286 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10287 soname_spec='${libname}${release}${shared_ext}$major' 10288 shlibpath_var=LD_LIBRARY_PATH 10289 shlibpath_overrides_runpath=no 10290 hardcode_into_libs=yes 10291 dynamic_linker='ldqnx.so' 10292 ;; 10293 10294openbsd*) 10295 version_type=sunos 10296 sys_lib_dlsearch_path_spec="/usr/lib" 10297 need_lib_prefix=no 10298 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 10299 case $host_os in 10300 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 10301 *) need_version=no ;; 10302 esac 10303 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10304 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10305 shlibpath_var=LD_LIBRARY_PATH 10306 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10307 case $host_os in 10308 openbsd2.[89] | openbsd2.[89].*) 10309 shlibpath_overrides_runpath=no 10310 ;; 10311 *) 10312 shlibpath_overrides_runpath=yes 10313 ;; 10314 esac 10315 else 10316 shlibpath_overrides_runpath=yes 10317 fi 10318 ;; 10319 10320os2*) 10321 libname_spec='$name' 10322 shrext_cmds=".dll" 10323 need_lib_prefix=no 10324 library_names_spec='$libname${shared_ext} $libname.a' 10325 dynamic_linker='OS/2 ld.exe' 10326 shlibpath_var=LIBPATH 10327 ;; 10328 10329osf3* | osf4* | osf5*) 10330 version_type=osf 10331 need_lib_prefix=no 10332 need_version=no 10333 soname_spec='${libname}${release}${shared_ext}$major' 10334 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10335 shlibpath_var=LD_LIBRARY_PATH 10336 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 10337 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 10338 ;; 10339 10340rdos*) 10341 dynamic_linker=no 10342 ;; 10343 10344solaris*) 10345 version_type=linux 10346 need_lib_prefix=no 10347 need_version=no 10348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10349 soname_spec='${libname}${release}${shared_ext}$major' 10350 shlibpath_var=LD_LIBRARY_PATH 10351 shlibpath_overrides_runpath=yes 10352 hardcode_into_libs=yes 10353 # ldd complains unless libraries are executable 10354 postinstall_cmds='chmod +x $lib' 10355 ;; 10356 10357sunos4*) 10358 version_type=sunos 10359 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10360 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 10361 shlibpath_var=LD_LIBRARY_PATH 10362 shlibpath_overrides_runpath=yes 10363 if test "$with_gnu_ld" = yes; then 10364 need_lib_prefix=no 10365 fi 10366 need_version=yes 10367 ;; 10368 10369sysv4 | sysv4.3*) 10370 version_type=linux 10371 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10372 soname_spec='${libname}${release}${shared_ext}$major' 10373 shlibpath_var=LD_LIBRARY_PATH 10374 case $host_vendor in 10375 sni) 10376 shlibpath_overrides_runpath=no 10377 need_lib_prefix=no 10378 runpath_var=LD_RUN_PATH 10379 ;; 10380 siemens) 10381 need_lib_prefix=no 10382 ;; 10383 motorola) 10384 need_lib_prefix=no 10385 need_version=no 10386 shlibpath_overrides_runpath=no 10387 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 10388 ;; 10389 esac 10390 ;; 10391 10392sysv4*MP*) 10393 if test -d /usr/nec ;then 10394 version_type=linux 10395 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 10396 soname_spec='$libname${shared_ext}.$major' 10397 shlibpath_var=LD_LIBRARY_PATH 10398 fi 10399 ;; 10400 10401sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 10402 version_type=freebsd-elf 10403 need_lib_prefix=no 10404 need_version=no 10405 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10406 soname_spec='${libname}${release}${shared_ext}$major' 10407 shlibpath_var=LD_LIBRARY_PATH 10408 shlibpath_overrides_runpath=yes 10409 hardcode_into_libs=yes 10410 if test "$with_gnu_ld" = yes; then 10411 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 10412 else 10413 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 10414 case $host_os in 10415 sco3.2v5*) 10416 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 10417 ;; 10418 esac 10419 fi 10420 sys_lib_dlsearch_path_spec='/usr/lib' 10421 ;; 10422 10423tpf*) 10424 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 10425 version_type=linux 10426 need_lib_prefix=no 10427 need_version=no 10428 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10429 shlibpath_var=LD_LIBRARY_PATH 10430 shlibpath_overrides_runpath=no 10431 hardcode_into_libs=yes 10432 ;; 10433 10434uts4*) 10435 version_type=linux 10436 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10437 soname_spec='${libname}${release}${shared_ext}$major' 10438 shlibpath_var=LD_LIBRARY_PATH 10439 ;; 10440 10441*) 10442 dynamic_linker=no 10443 ;; 10444esac 10445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 10446$as_echo "$dynamic_linker" >&6; } 10447test "$dynamic_linker" = no && can_build_shared=no 10448 10449variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 10450if test "$GCC" = yes; then 10451 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 10452fi 10453 10454if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 10455 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 10456fi 10457if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 10458 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 10459fi 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 10548$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 10549hardcode_action= 10550if test -n "$hardcode_libdir_flag_spec" || 10551 test -n "$runpath_var" || 10552 test "X$hardcode_automatic" = "Xyes" ; then 10553 10554 # We can hardcode non-existent directories. 10555 if test "$hardcode_direct" != no && 10556 # If the only mechanism to avoid hardcoding is shlibpath_var, we 10557 # have to relink, otherwise we might link with an installed library 10558 # when we should be linking with a yet-to-be-installed one 10559 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 10560 test "$hardcode_minus_L" != no; then 10561 # Linking always hardcodes the temporary library directory. 10562 hardcode_action=relink 10563 else 10564 # We can link without hardcoding, and we can hardcode nonexisting dirs. 10565 hardcode_action=immediate 10566 fi 10567else 10568 # We cannot hardcode anything, or else we can only hardcode existing 10569 # directories. 10570 hardcode_action=unsupported 10571fi 10572{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 10573$as_echo "$hardcode_action" >&6; } 10574 10575if test "$hardcode_action" = relink || 10576 test "$inherit_rpath" = yes; then 10577 # Fast installation is not supported 10578 enable_fast_install=no 10579elif test "$shlibpath_overrides_runpath" = yes || 10580 test "$enable_shared" = no; then 10581 # Fast installation is not necessary 10582 enable_fast_install=needless 10583fi 10584 10585 10586 10587 10588 10589 10590 if test "x$enable_dlopen" != xyes; then 10591 enable_dlopen=unknown 10592 enable_dlopen_self=unknown 10593 enable_dlopen_self_static=unknown 10594else 10595 lt_cv_dlopen=no 10596 lt_cv_dlopen_libs= 10597 10598 case $host_os in 10599 beos*) 10600 lt_cv_dlopen="load_add_on" 10601 lt_cv_dlopen_libs= 10602 lt_cv_dlopen_self=yes 10603 ;; 10604 10605 mingw* | pw32* | cegcc*) 10606 lt_cv_dlopen="LoadLibrary" 10607 lt_cv_dlopen_libs= 10608 ;; 10609 10610 cygwin*) 10611 lt_cv_dlopen="dlopen" 10612 lt_cv_dlopen_libs= 10613 ;; 10614 10615 darwin*) 10616 # if libdl is installed we need to link against it 10617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10618$as_echo_n "checking for dlopen in -ldl... " >&6; } 10619if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 10620 $as_echo_n "(cached) " >&6 10621else 10622 ac_check_lib_save_LIBS=$LIBS 10623LIBS="-ldl $LIBS" 10624cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10625/* end confdefs.h. */ 10626 10627/* Override any GCC internal prototype to avoid an error. 10628 Use char because int might match the return type of a GCC 10629 builtin and then its argument prototype would still apply. */ 10630#ifdef __cplusplus 10631extern "C" 10632#endif 10633char dlopen (); 10634int 10635main () 10636{ 10637return dlopen (); 10638 ; 10639 return 0; 10640} 10641_ACEOF 10642if ac_fn_c_try_link "$LINENO"; then : 10643 ac_cv_lib_dl_dlopen=yes 10644else 10645 ac_cv_lib_dl_dlopen=no 10646fi 10647rm -f core conftest.err conftest.$ac_objext \ 10648 conftest$ac_exeext conftest.$ac_ext 10649LIBS=$ac_check_lib_save_LIBS 10650fi 10651{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10652$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10653if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 10654 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10655else 10656 10657 lt_cv_dlopen="dyld" 10658 lt_cv_dlopen_libs= 10659 lt_cv_dlopen_self=yes 10660 10661fi 10662 10663 ;; 10664 10665 *) 10666 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 10667if test "x$ac_cv_func_shl_load" = x""yes; then : 10668 lt_cv_dlopen="shl_load" 10669else 10670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 10671$as_echo_n "checking for shl_load in -ldld... " >&6; } 10672if test "${ac_cv_lib_dld_shl_load+set}" = set; then : 10673 $as_echo_n "(cached) " >&6 10674else 10675 ac_check_lib_save_LIBS=$LIBS 10676LIBS="-ldld $LIBS" 10677cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10678/* end confdefs.h. */ 10679 10680/* Override any GCC internal prototype to avoid an error. 10681 Use char because int might match the return type of a GCC 10682 builtin and then its argument prototype would still apply. */ 10683#ifdef __cplusplus 10684extern "C" 10685#endif 10686char shl_load (); 10687int 10688main () 10689{ 10690return shl_load (); 10691 ; 10692 return 0; 10693} 10694_ACEOF 10695if ac_fn_c_try_link "$LINENO"; then : 10696 ac_cv_lib_dld_shl_load=yes 10697else 10698 ac_cv_lib_dld_shl_load=no 10699fi 10700rm -f core conftest.err conftest.$ac_objext \ 10701 conftest$ac_exeext conftest.$ac_ext 10702LIBS=$ac_check_lib_save_LIBS 10703fi 10704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 10705$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 10706if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : 10707 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 10708else 10709 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 10710if test "x$ac_cv_func_dlopen" = x""yes; then : 10711 lt_cv_dlopen="dlopen" 10712else 10713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10714$as_echo_n "checking for dlopen in -ldl... " >&6; } 10715if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 10716 $as_echo_n "(cached) " >&6 10717else 10718 ac_check_lib_save_LIBS=$LIBS 10719LIBS="-ldl $LIBS" 10720cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10721/* end confdefs.h. */ 10722 10723/* Override any GCC internal prototype to avoid an error. 10724 Use char because int might match the return type of a GCC 10725 builtin and then its argument prototype would still apply. */ 10726#ifdef __cplusplus 10727extern "C" 10728#endif 10729char dlopen (); 10730int 10731main () 10732{ 10733return dlopen (); 10734 ; 10735 return 0; 10736} 10737_ACEOF 10738if ac_fn_c_try_link "$LINENO"; then : 10739 ac_cv_lib_dl_dlopen=yes 10740else 10741 ac_cv_lib_dl_dlopen=no 10742fi 10743rm -f core conftest.err conftest.$ac_objext \ 10744 conftest$ac_exeext conftest.$ac_ext 10745LIBS=$ac_check_lib_save_LIBS 10746fi 10747{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10748$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10749if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 10750 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10751else 10752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 10753$as_echo_n "checking for dlopen in -lsvld... " >&6; } 10754if test "${ac_cv_lib_svld_dlopen+set}" = set; then : 10755 $as_echo_n "(cached) " >&6 10756else 10757 ac_check_lib_save_LIBS=$LIBS 10758LIBS="-lsvld $LIBS" 10759cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10760/* end confdefs.h. */ 10761 10762/* Override any GCC internal prototype to avoid an error. 10763 Use char because int might match the return type of a GCC 10764 builtin and then its argument prototype would still apply. */ 10765#ifdef __cplusplus 10766extern "C" 10767#endif 10768char dlopen (); 10769int 10770main () 10771{ 10772return dlopen (); 10773 ; 10774 return 0; 10775} 10776_ACEOF 10777if ac_fn_c_try_link "$LINENO"; then : 10778 ac_cv_lib_svld_dlopen=yes 10779else 10780 ac_cv_lib_svld_dlopen=no 10781fi 10782rm -f core conftest.err conftest.$ac_objext \ 10783 conftest$ac_exeext conftest.$ac_ext 10784LIBS=$ac_check_lib_save_LIBS 10785fi 10786{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 10787$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 10788if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : 10789 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 10790else 10791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 10792$as_echo_n "checking for dld_link in -ldld... " >&6; } 10793if test "${ac_cv_lib_dld_dld_link+set}" = set; then : 10794 $as_echo_n "(cached) " >&6 10795else 10796 ac_check_lib_save_LIBS=$LIBS 10797LIBS="-ldld $LIBS" 10798cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10799/* end confdefs.h. */ 10800 10801/* Override any GCC internal prototype to avoid an error. 10802 Use char because int might match the return type of a GCC 10803 builtin and then its argument prototype would still apply. */ 10804#ifdef __cplusplus 10805extern "C" 10806#endif 10807char dld_link (); 10808int 10809main () 10810{ 10811return dld_link (); 10812 ; 10813 return 0; 10814} 10815_ACEOF 10816if ac_fn_c_try_link "$LINENO"; then : 10817 ac_cv_lib_dld_dld_link=yes 10818else 10819 ac_cv_lib_dld_dld_link=no 10820fi 10821rm -f core conftest.err conftest.$ac_objext \ 10822 conftest$ac_exeext conftest.$ac_ext 10823LIBS=$ac_check_lib_save_LIBS 10824fi 10825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 10826$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 10827if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : 10828 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 10829fi 10830 10831 10832fi 10833 10834 10835fi 10836 10837 10838fi 10839 10840 10841fi 10842 10843 10844fi 10845 10846 ;; 10847 esac 10848 10849 if test "x$lt_cv_dlopen" != xno; then 10850 enable_dlopen=yes 10851 else 10852 enable_dlopen=no 10853 fi 10854 10855 case $lt_cv_dlopen in 10856 dlopen) 10857 save_CPPFLAGS="$CPPFLAGS" 10858 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 10859 10860 save_LDFLAGS="$LDFLAGS" 10861 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 10862 10863 save_LIBS="$LIBS" 10864 LIBS="$lt_cv_dlopen_libs $LIBS" 10865 10866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 10867$as_echo_n "checking whether a program can dlopen itself... " >&6; } 10868if test "${lt_cv_dlopen_self+set}" = set; then : 10869 $as_echo_n "(cached) " >&6 10870else 10871 if test "$cross_compiling" = yes; then : 10872 lt_cv_dlopen_self=cross 10873else 10874 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10875 lt_status=$lt_dlunknown 10876 cat > conftest.$ac_ext <<_LT_EOF 10877#line 10877 "configure" 10878#include "confdefs.h" 10879 10880#if HAVE_DLFCN_H 10881#include <dlfcn.h> 10882#endif 10883 10884#include <stdio.h> 10885 10886#ifdef RTLD_GLOBAL 10887# define LT_DLGLOBAL RTLD_GLOBAL 10888#else 10889# ifdef DL_GLOBAL 10890# define LT_DLGLOBAL DL_GLOBAL 10891# else 10892# define LT_DLGLOBAL 0 10893# endif 10894#endif 10895 10896/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 10897 find out it does not work in some platform. */ 10898#ifndef LT_DLLAZY_OR_NOW 10899# ifdef RTLD_LAZY 10900# define LT_DLLAZY_OR_NOW RTLD_LAZY 10901# else 10902# ifdef DL_LAZY 10903# define LT_DLLAZY_OR_NOW DL_LAZY 10904# else 10905# ifdef RTLD_NOW 10906# define LT_DLLAZY_OR_NOW RTLD_NOW 10907# else 10908# ifdef DL_NOW 10909# define LT_DLLAZY_OR_NOW DL_NOW 10910# else 10911# define LT_DLLAZY_OR_NOW 0 10912# endif 10913# endif 10914# endif 10915# endif 10916#endif 10917 10918void fnord() { int i=42;} 10919int main () 10920{ 10921 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 10922 int status = $lt_dlunknown; 10923 10924 if (self) 10925 { 10926 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 10927 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 10928 /* dlclose (self); */ 10929 } 10930 else 10931 puts (dlerror ()); 10932 10933 return status; 10934} 10935_LT_EOF 10936 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 10937 (eval $ac_link) 2>&5 10938 ac_status=$? 10939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10940 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 10941 (./conftest; exit; ) >&5 2>/dev/null 10942 lt_status=$? 10943 case x$lt_status in 10944 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 10945 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 10946 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 10947 esac 10948 else : 10949 # compilation failed 10950 lt_cv_dlopen_self=no 10951 fi 10952fi 10953rm -fr conftest* 10954 10955 10956fi 10957{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 10958$as_echo "$lt_cv_dlopen_self" >&6; } 10959 10960 if test "x$lt_cv_dlopen_self" = xyes; then 10961 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 10962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 10963$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 10964if test "${lt_cv_dlopen_self_static+set}" = set; then : 10965 $as_echo_n "(cached) " >&6 10966else 10967 if test "$cross_compiling" = yes; then : 10968 lt_cv_dlopen_self_static=cross 10969else 10970 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10971 lt_status=$lt_dlunknown 10972 cat > conftest.$ac_ext <<_LT_EOF 10973#line 10973 "configure" 10974#include "confdefs.h" 10975 10976#if HAVE_DLFCN_H 10977#include <dlfcn.h> 10978#endif 10979 10980#include <stdio.h> 10981 10982#ifdef RTLD_GLOBAL 10983# define LT_DLGLOBAL RTLD_GLOBAL 10984#else 10985# ifdef DL_GLOBAL 10986# define LT_DLGLOBAL DL_GLOBAL 10987# else 10988# define LT_DLGLOBAL 0 10989# endif 10990#endif 10991 10992/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 10993 find out it does not work in some platform. */ 10994#ifndef LT_DLLAZY_OR_NOW 10995# ifdef RTLD_LAZY 10996# define LT_DLLAZY_OR_NOW RTLD_LAZY 10997# else 10998# ifdef DL_LAZY 10999# define LT_DLLAZY_OR_NOW DL_LAZY 11000# else 11001# ifdef RTLD_NOW 11002# define LT_DLLAZY_OR_NOW RTLD_NOW 11003# else 11004# ifdef DL_NOW 11005# define LT_DLLAZY_OR_NOW DL_NOW 11006# else 11007# define LT_DLLAZY_OR_NOW 0 11008# endif 11009# endif 11010# endif 11011# endif 11012#endif 11013 11014void fnord() { int i=42;} 11015int main () 11016{ 11017 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11018 int status = $lt_dlunknown; 11019 11020 if (self) 11021 { 11022 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11023 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11024 /* dlclose (self); */ 11025 } 11026 else 11027 puts (dlerror ()); 11028 11029 return status; 11030} 11031_LT_EOF 11032 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11033 (eval $ac_link) 2>&5 11034 ac_status=$? 11035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11036 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11037 (./conftest; exit; ) >&5 2>/dev/null 11038 lt_status=$? 11039 case x$lt_status in 11040 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11041 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11042 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11043 esac 11044 else : 11045 # compilation failed 11046 lt_cv_dlopen_self_static=no 11047 fi 11048fi 11049rm -fr conftest* 11050 11051 11052fi 11053{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11054$as_echo "$lt_cv_dlopen_self_static" >&6; } 11055 fi 11056 11057 CPPFLAGS="$save_CPPFLAGS" 11058 LDFLAGS="$save_LDFLAGS" 11059 LIBS="$save_LIBS" 11060 ;; 11061 esac 11062 11063 case $lt_cv_dlopen_self in 11064 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11065 *) enable_dlopen_self=unknown ;; 11066 esac 11067 11068 case $lt_cv_dlopen_self_static in 11069 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11070 *) enable_dlopen_self_static=unknown ;; 11071 esac 11072fi 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090striplib= 11091old_striplib= 11092{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11093$as_echo_n "checking whether stripping libraries is possible... " >&6; } 11094if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11095 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11096 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11098$as_echo "yes" >&6; } 11099else 11100# FIXME - insert some real tests, host_os isn't really good enough 11101 case $host_os in 11102 darwin*) 11103 if test -n "$STRIP" ; then 11104 striplib="$STRIP -x" 11105 old_striplib="$STRIP -S" 11106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11107$as_echo "yes" >&6; } 11108 else 11109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11110$as_echo "no" >&6; } 11111 fi 11112 ;; 11113 *) 11114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11115$as_echo "no" >&6; } 11116 ;; 11117 esac 11118fi 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 # Report which library types will actually be built 11132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 11133$as_echo_n "checking if libtool supports shared libraries... " >&6; } 11134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 11135$as_echo "$can_build_shared" >&6; } 11136 11137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 11138$as_echo_n "checking whether to build shared libraries... " >&6; } 11139 test "$can_build_shared" = "no" && enable_shared=no 11140 11141 # On AIX, shared libraries and static libraries use the same namespace, and 11142 # are all built from PIC. 11143 case $host_os in 11144 aix3*) 11145 test "$enable_shared" = yes && enable_static=no 11146 if test -n "$RANLIB"; then 11147 archive_cmds="$archive_cmds~\$RANLIB \$lib" 11148 postinstall_cmds='$RANLIB $lib' 11149 fi 11150 ;; 11151 11152 aix[4-9]*) 11153 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 11154 test "$enable_shared" = yes && enable_static=no 11155 fi 11156 ;; 11157 esac 11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 11159$as_echo "$enable_shared" >&6; } 11160 11161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 11162$as_echo_n "checking whether to build static libraries... " >&6; } 11163 # Make sure either enable_shared or enable_static is yes. 11164 test "$enable_shared" = yes || enable_static=yes 11165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 11166$as_echo "$enable_static" >&6; } 11167 11168 11169 11170 11171fi 11172ac_ext=c 11173ac_cpp='$CPP $CPPFLAGS' 11174ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11175ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11176ac_compiler_gnu=$ac_cv_c_compiler_gnu 11177 11178CC="$lt_save_CC" 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 ac_config_commands="$ac_config_commands libtool" 11193 11194 11195 11196 11197# Only expand once: 11198 11199 11200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 11201$as_echo_n "checking for ANSI C header files... " >&6; } 11202if test "${ac_cv_header_stdc+set}" = set; then : 11203 $as_echo_n "(cached) " >&6 11204else 11205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11206/* end confdefs.h. */ 11207#include <stdlib.h> 11208#include <stdarg.h> 11209#include <string.h> 11210#include <float.h> 11211 11212int 11213main () 11214{ 11215 11216 ; 11217 return 0; 11218} 11219_ACEOF 11220if ac_fn_c_try_compile "$LINENO"; then : 11221 ac_cv_header_stdc=yes 11222else 11223 ac_cv_header_stdc=no 11224fi 11225rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11226 11227if test $ac_cv_header_stdc = yes; then 11228 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 11229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11230/* end confdefs.h. */ 11231#include <string.h> 11232 11233_ACEOF 11234if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 11235 $EGREP "memchr" >/dev/null 2>&1; then : 11236 11237else 11238 ac_cv_header_stdc=no 11239fi 11240rm -f conftest* 11241 11242fi 11243 11244if test $ac_cv_header_stdc = yes; then 11245 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 11246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11247/* end confdefs.h. */ 11248#include <stdlib.h> 11249 11250_ACEOF 11251if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 11252 $EGREP "free" >/dev/null 2>&1; then : 11253 11254else 11255 ac_cv_header_stdc=no 11256fi 11257rm -f conftest* 11258 11259fi 11260 11261if test $ac_cv_header_stdc = yes; then 11262 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 11263 if test "$cross_compiling" = yes; then : 11264 : 11265else 11266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11267/* end confdefs.h. */ 11268#include <ctype.h> 11269#include <stdlib.h> 11270#if ((' ' & 0x0FF) == 0x020) 11271# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 11272# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 11273#else 11274# define ISLOWER(c) \ 11275 (('a' <= (c) && (c) <= 'i') \ 11276 || ('j' <= (c) && (c) <= 'r') \ 11277 || ('s' <= (c) && (c) <= 'z')) 11278# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 11279#endif 11280 11281#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 11282int 11283main () 11284{ 11285 int i; 11286 for (i = 0; i < 256; i++) 11287 if (XOR (islower (i), ISLOWER (i)) 11288 || toupper (i) != TOUPPER (i)) 11289 return 2; 11290 return 0; 11291} 11292_ACEOF 11293if ac_fn_c_try_run "$LINENO"; then : 11294 11295else 11296 ac_cv_header_stdc=no 11297fi 11298rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 11299 conftest.$ac_objext conftest.beam conftest.$ac_ext 11300fi 11301 11302fi 11303fi 11304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 11305$as_echo "$ac_cv_header_stdc" >&6; } 11306if test $ac_cv_header_stdc = yes; then 11307 11308$as_echo "#define STDC_HEADERS 1" >>confdefs.h 11309 11310fi 11311 11312for ac_header in stdlib.h sys/time.h unistd.h 11313do : 11314 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11315ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 11316if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 11317 cat >>confdefs.h <<_ACEOF 11318#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 11319_ACEOF 11320 11321fi 11322 11323done 11324 11325 11326if test "x$GCC" = "xyes"; then 11327 case " $CFLAGS " in 11328 *[\ \ ]-Wall[\ \ ]*) ;; 11329 *) CFLAGS="$CFLAGS -Wall" ;; 11330 esac 11331 11332 case " $CFLAGS " in 11333 *[\ \ ]-Wpointer-arith[\ \ ]*) ;; 11334 *) CFLAGS="$CFLAGS -Wpointer-arith" ;; 11335 esac 11336 11337 case " $CFLAGS " in 11338 *[\ \ ]-Wstrict-prototypes[\ \ ]*) ;; 11339 *) CFLAGS="$CFLAGS -Wstrict-prototypes" ;; 11340 esac 11341 11342 case " $CFLAGS " in 11343 *[\ \ ]-Wmissing-prototypes[\ \ ]*) ;; 11344 *) CFLAGS="$CFLAGS -Wmissing-prototypes" ;; 11345 esac 11346 11347 case " $CFLAGS " in 11348 *[\ \ ]-Wmissing-declarations[\ \ ]*) ;; 11349 *) CFLAGS="$CFLAGS -Wmissing-declarations" ;; 11350 esac 11351 11352 case " $CFLAGS " in 11353 *[\ \ ]-Wnested-externs[\ \ ]*) ;; 11354 *) CFLAGS="$CFLAGS -Wnested-externs" ;; 11355 esac 11356 11357 case " $CFLAGS " in 11358 *[\ \ ]-fno-strict-aliasing[\ \ ]*) ;; 11359 *) CFLAGS="$CFLAGS -fno-strict-aliasing" ;; 11360 esac 11361 11362 if test "x$enable_ansi" = "xyes"; then 11363 case " $CFLAGS " in 11364 *[\ \ ]-ansi[\ \ ]*) ;; 11365 *) CFLAGS="$CFLAGS -ansi" ;; 11366 esac 11367 11368 case " $CFLAGS " in 11369 *[\ \ ]-pedantic[\ \ ]*) ;; 11370 *) CFLAGS="$CFLAGS -pedantic" ;; 11371 esac 11372 fi 11373fi 11374 11375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 11376$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 11377if test "${ac_cv_c_bigendian+set}" = set; then : 11378 $as_echo_n "(cached) " >&6 11379else 11380 ac_cv_c_bigendian=unknown 11381 # See if we're dealing with a universal compiler. 11382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11383/* end confdefs.h. */ 11384#ifndef __APPLE_CC__ 11385 not a universal capable compiler 11386 #endif 11387 typedef int dummy; 11388 11389_ACEOF 11390if ac_fn_c_try_compile "$LINENO"; then : 11391 11392 # Check for potential -arch flags. It is not universal unless 11393 # there are at least two -arch flags with different values. 11394 ac_arch= 11395 ac_prev= 11396 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 11397 if test -n "$ac_prev"; then 11398 case $ac_word in 11399 i?86 | x86_64 | ppc | ppc64) 11400 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 11401 ac_arch=$ac_word 11402 else 11403 ac_cv_c_bigendian=universal 11404 break 11405 fi 11406 ;; 11407 esac 11408 ac_prev= 11409 elif test "x$ac_word" = "x-arch"; then 11410 ac_prev=arch 11411 fi 11412 done 11413fi 11414rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11415 if test $ac_cv_c_bigendian = unknown; then 11416 # See if sys/param.h defines the BYTE_ORDER macro. 11417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11418/* end confdefs.h. */ 11419#include <sys/types.h> 11420 #include <sys/param.h> 11421 11422int 11423main () 11424{ 11425#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 11426 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 11427 && LITTLE_ENDIAN) 11428 bogus endian macros 11429 #endif 11430 11431 ; 11432 return 0; 11433} 11434_ACEOF 11435if ac_fn_c_try_compile "$LINENO"; then : 11436 # It does; now see whether it defined to BIG_ENDIAN or not. 11437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11438/* end confdefs.h. */ 11439#include <sys/types.h> 11440 #include <sys/param.h> 11441 11442int 11443main () 11444{ 11445#if BYTE_ORDER != BIG_ENDIAN 11446 not big endian 11447 #endif 11448 11449 ; 11450 return 0; 11451} 11452_ACEOF 11453if ac_fn_c_try_compile "$LINENO"; then : 11454 ac_cv_c_bigendian=yes 11455else 11456 ac_cv_c_bigendian=no 11457fi 11458rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11459fi 11460rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11461 fi 11462 if test $ac_cv_c_bigendian = unknown; then 11463 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 11464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11465/* end confdefs.h. */ 11466#include <limits.h> 11467 11468int 11469main () 11470{ 11471#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 11472 bogus endian macros 11473 #endif 11474 11475 ; 11476 return 0; 11477} 11478_ACEOF 11479if ac_fn_c_try_compile "$LINENO"; then : 11480 # It does; now see whether it defined to _BIG_ENDIAN or not. 11481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11482/* end confdefs.h. */ 11483#include <limits.h> 11484 11485int 11486main () 11487{ 11488#ifndef _BIG_ENDIAN 11489 not big endian 11490 #endif 11491 11492 ; 11493 return 0; 11494} 11495_ACEOF 11496if ac_fn_c_try_compile "$LINENO"; then : 11497 ac_cv_c_bigendian=yes 11498else 11499 ac_cv_c_bigendian=no 11500fi 11501rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11502fi 11503rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11504 fi 11505 if test $ac_cv_c_bigendian = unknown; then 11506 # Compile a test program. 11507 if test "$cross_compiling" = yes; then : 11508 # Try to guess by grepping values from an object file. 11509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11510/* end confdefs.h. */ 11511short int ascii_mm[] = 11512 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 11513 short int ascii_ii[] = 11514 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 11515 int use_ascii (int i) { 11516 return ascii_mm[i] + ascii_ii[i]; 11517 } 11518 short int ebcdic_ii[] = 11519 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 11520 short int ebcdic_mm[] = 11521 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 11522 int use_ebcdic (int i) { 11523 return ebcdic_mm[i] + ebcdic_ii[i]; 11524 } 11525 extern int foo; 11526 11527int 11528main () 11529{ 11530return use_ascii (foo) == use_ebcdic (foo); 11531 ; 11532 return 0; 11533} 11534_ACEOF 11535if ac_fn_c_try_compile "$LINENO"; then : 11536 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 11537 ac_cv_c_bigendian=yes 11538 fi 11539 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 11540 if test "$ac_cv_c_bigendian" = unknown; then 11541 ac_cv_c_bigendian=no 11542 else 11543 # finding both strings is unlikely to happen, but who knows? 11544 ac_cv_c_bigendian=unknown 11545 fi 11546 fi 11547fi 11548rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11549else 11550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11551/* end confdefs.h. */ 11552$ac_includes_default 11553int 11554main () 11555{ 11556 11557 /* Are we little or big endian? From Harbison&Steele. */ 11558 union 11559 { 11560 long int l; 11561 char c[sizeof (long int)]; 11562 } u; 11563 u.l = 1; 11564 return u.c[sizeof (long int) - 1] == 1; 11565 11566 ; 11567 return 0; 11568} 11569_ACEOF 11570if ac_fn_c_try_run "$LINENO"; then : 11571 ac_cv_c_bigendian=no 11572else 11573 ac_cv_c_bigendian=yes 11574fi 11575rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 11576 conftest.$ac_objext conftest.beam conftest.$ac_ext 11577fi 11578 11579 fi 11580fi 11581{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 11582$as_echo "$ac_cv_c_bigendian" >&6; } 11583 case $ac_cv_c_bigendian in #( 11584 yes) 11585 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 11586;; #( 11587 no) 11588 ;; #( 11589 universal) 11590 11591$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 11592 11593 ;; #( 11594 *) 11595 as_fn_error $? "unknown endianness 11596 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 11597 esac 11598 11599 11600#LIBBERYLDECORATION_REQUIRES="xrender >= 0.8.4" 11601#PKG_CHECK_MODULES(LIBBERYLDECORATION, $LIBBERYLDECORATION_REQUIRES) 11602#AC_SUBST(LIBBERYLDECORATION_REQUIRES) 11603 11604 11605 11606 11607 11608 11609 11610if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 11611 if test -n "$ac_tool_prefix"; then 11612 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 11613set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 11614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11615$as_echo_n "checking for $ac_word... " >&6; } 11616if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 11617 $as_echo_n "(cached) " >&6 11618else 11619 case $PKG_CONFIG in 11620 [\\/]* | ?:[\\/]*) 11621 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 11622 ;; 11623 *) 11624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11625for as_dir in $PATH 11626do 11627 IFS=$as_save_IFS 11628 test -z "$as_dir" && as_dir=. 11629 for ac_exec_ext in '' $ac_executable_extensions; do 11630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11631 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 11632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11633 break 2 11634 fi 11635done 11636 done 11637IFS=$as_save_IFS 11638 11639 ;; 11640esac 11641fi 11642PKG_CONFIG=$ac_cv_path_PKG_CONFIG 11643if test -n "$PKG_CONFIG"; then 11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 11645$as_echo "$PKG_CONFIG" >&6; } 11646else 11647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11648$as_echo "no" >&6; } 11649fi 11650 11651 11652fi 11653if test -z "$ac_cv_path_PKG_CONFIG"; then 11654 ac_pt_PKG_CONFIG=$PKG_CONFIG 11655 # Extract the first word of "pkg-config", so it can be a program name with args. 11656set dummy pkg-config; ac_word=$2 11657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11658$as_echo_n "checking for $ac_word... " >&6; } 11659if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : 11660 $as_echo_n "(cached) " >&6 11661else 11662 case $ac_pt_PKG_CONFIG in 11663 [\\/]* | ?:[\\/]*) 11664 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 11665 ;; 11666 *) 11667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11668for as_dir in $PATH 11669do 11670 IFS=$as_save_IFS 11671 test -z "$as_dir" && as_dir=. 11672 for ac_exec_ext in '' $ac_executable_extensions; do 11673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11674 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 11675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11676 break 2 11677 fi 11678done 11679 done 11680IFS=$as_save_IFS 11681 11682 ;; 11683esac 11684fi 11685ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 11686if test -n "$ac_pt_PKG_CONFIG"; then 11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 11688$as_echo "$ac_pt_PKG_CONFIG" >&6; } 11689else 11690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11691$as_echo "no" >&6; } 11692fi 11693 11694 if test "x$ac_pt_PKG_CONFIG" = x; then 11695 PKG_CONFIG="" 11696 else 11697 case $cross_compiling:$ac_tool_warned in 11698yes:) 11699{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 11700$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 11701ac_tool_warned=yes ;; 11702esac 11703 PKG_CONFIG=$ac_pt_PKG_CONFIG 11704 fi 11705else 11706 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 11707fi 11708 11709fi 11710if test -n "$PKG_CONFIG"; then 11711 _pkg_min_version=0.9.0 11712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 11713$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 11714 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11716$as_echo "yes" >&6; } 11717 else 11718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11719$as_echo "no" >&6; } 11720 PKG_CONFIG="" 11721 fi 11722fi 11723 11724pkg_failed=no 11725{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5 11726$as_echo_n "checking for GLIB... " >&6; } 11727 11728if test -n "$GLIB_CFLAGS"; then 11729 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" 11730 elif test -n "$PKG_CONFIG"; then 11731 if test -n "$PKG_CONFIG" && \ 11732 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"glib-2.0\"\""; } >&5 11733 ($PKG_CONFIG --exists --print-errors ""glib-2.0"") 2>&5 11734 ac_status=$? 11735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11736 test $ac_status = 0; }; then 11737 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags ""glib-2.0"" 2>/dev/null` 11738else 11739 pkg_failed=yes 11740fi 11741 else 11742 pkg_failed=untried 11743fi 11744if test -n "$GLIB_LIBS"; then 11745 pkg_cv_GLIB_LIBS="$GLIB_LIBS" 11746 elif test -n "$PKG_CONFIG"; then 11747 if test -n "$PKG_CONFIG" && \ 11748 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"glib-2.0\"\""; } >&5 11749 ($PKG_CONFIG --exists --print-errors ""glib-2.0"") 2>&5 11750 ac_status=$? 11751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11752 test $ac_status = 0; }; then 11753 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs ""glib-2.0"" 2>/dev/null` 11754else 11755 pkg_failed=yes 11756fi 11757 else 11758 pkg_failed=untried 11759fi 11760 11761 11762 11763if test $pkg_failed = yes; then 11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11765$as_echo "no" >&6; } 11766 11767if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 11768 _pkg_short_errors_supported=yes 11769else 11770 _pkg_short_errors_supported=no 11771fi 11772 if test $_pkg_short_errors_supported = yes; then 11773 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors ""glib-2.0"" 2>&1` 11774 else 11775 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors ""glib-2.0"" 2>&1` 11776 fi 11777 # Put the nasty error message in config.log where it belongs 11778 echo "$GLIB_PKG_ERRORS" >&5 11779 11780 as_fn_error $? "Package requirements (\"glib-2.0\") were not met: 11781 11782$GLIB_PKG_ERRORS 11783 11784Consider adjusting the PKG_CONFIG_PATH environment variable if you 11785installed software in a non-standard prefix. 11786 11787Alternatively, you may set the environment variables GLIB_CFLAGS 11788and GLIB_LIBS to avoid the need to call pkg-config. 11789See the pkg-config man page for more details." "$LINENO" 5 11790elif test $pkg_failed = untried; then 11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11792$as_echo "no" >&6; } 11793 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 11794$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11795as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 11796is in your PATH or set the PKG_CONFIG environment variable to the full 11797path to pkg-config. 11798 11799Alternatively, you may set the environment variables GLIB_CFLAGS 11800and GLIB_LIBS to avoid the need to call pkg-config. 11801See the pkg-config man page for more details. 11802 11803To get pkg-config, see <http://pkg-config.freedesktop.org/>. 11804See \`config.log' for more details" "$LINENO" 5 ; } 11805else 11806 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS 11807 GLIB_LIBS=$pkg_cv_GLIB_LIBS 11808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11809$as_echo "yes" >&6; } 11810 11811fi 11812 11813pkg_failed=no 11814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCONF" >&5 11815$as_echo_n "checking for GCONF... " >&6; } 11816 11817if test -n "$GCONF_CFLAGS"; then 11818 pkg_cv_GCONF_CFLAGS="$GCONF_CFLAGS" 11819 elif test -n "$PKG_CONFIG"; then 11820 if test -n "$PKG_CONFIG" && \ 11821 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gconf-2.0\"\""; } >&5 11822 ($PKG_CONFIG --exists --print-errors ""gconf-2.0"") 2>&5 11823 ac_status=$? 11824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11825 test $ac_status = 0; }; then 11826 pkg_cv_GCONF_CFLAGS=`$PKG_CONFIG --cflags ""gconf-2.0"" 2>/dev/null` 11827else 11828 pkg_failed=yes 11829fi 11830 else 11831 pkg_failed=untried 11832fi 11833if test -n "$GCONF_LIBS"; then 11834 pkg_cv_GCONF_LIBS="$GCONF_LIBS" 11835 elif test -n "$PKG_CONFIG"; then 11836 if test -n "$PKG_CONFIG" && \ 11837 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gconf-2.0\"\""; } >&5 11838 ($PKG_CONFIG --exists --print-errors ""gconf-2.0"") 2>&5 11839 ac_status=$? 11840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11841 test $ac_status = 0; }; then 11842 pkg_cv_GCONF_LIBS=`$PKG_CONFIG --libs ""gconf-2.0"" 2>/dev/null` 11843else 11844 pkg_failed=yes 11845fi 11846 else 11847 pkg_failed=untried 11848fi 11849 11850 11851 11852if test $pkg_failed = yes; then 11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11854$as_echo "no" >&6; } 11855 11856if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 11857 _pkg_short_errors_supported=yes 11858else 11859 _pkg_short_errors_supported=no 11860fi 11861 if test $_pkg_short_errors_supported = yes; then 11862 GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors ""gconf-2.0"" 2>&1` 11863 else 11864 GCONF_PKG_ERRORS=`$PKG_CONFIG --print-errors ""gconf-2.0"" 2>&1` 11865 fi 11866 # Put the nasty error message in config.log where it belongs 11867 echo "$GCONF_PKG_ERRORS" >&5 11868 11869 as_fn_error $? "Package requirements (\"gconf-2.0\") were not met: 11870 11871$GCONF_PKG_ERRORS 11872 11873Consider adjusting the PKG_CONFIG_PATH environment variable if you 11874installed software in a non-standard prefix. 11875 11876Alternatively, you may set the environment variables GCONF_CFLAGS 11877and GCONF_LIBS to avoid the need to call pkg-config. 11878See the pkg-config man page for more details." "$LINENO" 5 11879elif test $pkg_failed = untried; then 11880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11881$as_echo "no" >&6; } 11882 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 11883$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11884as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 11885is in your PATH or set the PKG_CONFIG environment variable to the full 11886path to pkg-config. 11887 11888Alternatively, you may set the environment variables GCONF_CFLAGS 11889and GCONF_LIBS to avoid the need to call pkg-config. 11890See the pkg-config man page for more details. 11891 11892To get pkg-config, see <http://pkg-config.freedesktop.org/>. 11893See \`config.log' for more details" "$LINENO" 5 ; } 11894else 11895 GCONF_CFLAGS=$pkg_cv_GCONF_CFLAGS 11896 GCONF_LIBS=$pkg_cv_GCONF_LIBS 11897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11898$as_echo "yes" >&6; } 11899 11900fi 11901 11902pkg_failed=no 11903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CCS" >&5 11904$as_echo_n "checking for CCS... " >&6; } 11905 11906if test -n "$CCS_CFLAGS"; then 11907 pkg_cv_CCS_CFLAGS="$CCS_CFLAGS" 11908 elif test -n "$PKG_CONFIG"; then 11909 if test -n "$PKG_CONFIG" && \ 11910 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"libcompizconfig\"\""; } >&5 11911 ($PKG_CONFIG --exists --print-errors ""libcompizconfig"") 2>&5 11912 ac_status=$? 11913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11914 test $ac_status = 0; }; then 11915 pkg_cv_CCS_CFLAGS=`$PKG_CONFIG --cflags ""libcompizconfig"" 2>/dev/null` 11916else 11917 pkg_failed=yes 11918fi 11919 else 11920 pkg_failed=untried 11921fi 11922if test -n "$CCS_LIBS"; then 11923 pkg_cv_CCS_LIBS="$CCS_LIBS" 11924 elif test -n "$PKG_CONFIG"; then 11925 if test -n "$PKG_CONFIG" && \ 11926 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"libcompizconfig\"\""; } >&5 11927 ($PKG_CONFIG --exists --print-errors ""libcompizconfig"") 2>&5 11928 ac_status=$? 11929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11930 test $ac_status = 0; }; then 11931 pkg_cv_CCS_LIBS=`$PKG_CONFIG --libs ""libcompizconfig"" 2>/dev/null` 11932else 11933 pkg_failed=yes 11934fi 11935 else 11936 pkg_failed=untried 11937fi 11938 11939 11940 11941if test $pkg_failed = yes; then 11942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11943$as_echo "no" >&6; } 11944 11945if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 11946 _pkg_short_errors_supported=yes 11947else 11948 _pkg_short_errors_supported=no 11949fi 11950 if test $_pkg_short_errors_supported = yes; then 11951 CCS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors ""libcompizconfig"" 2>&1` 11952 else 11953 CCS_PKG_ERRORS=`$PKG_CONFIG --print-errors ""libcompizconfig"" 2>&1` 11954 fi 11955 # Put the nasty error message in config.log where it belongs 11956 echo "$CCS_PKG_ERRORS" >&5 11957 11958 as_fn_error $? "Package requirements (\"libcompizconfig\") were not met: 11959 11960$CCS_PKG_ERRORS 11961 11962Consider adjusting the PKG_CONFIG_PATH environment variable if you 11963installed software in a non-standard prefix. 11964 11965Alternatively, you may set the environment variables CCS_CFLAGS 11966and CCS_LIBS to avoid the need to call pkg-config. 11967See the pkg-config man page for more details." "$LINENO" 5 11968elif test $pkg_failed = untried; then 11969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11970$as_echo "no" >&6; } 11971 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 11972$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11973as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 11974is in your PATH or set the PKG_CONFIG environment variable to the full 11975path to pkg-config. 11976 11977Alternatively, you may set the environment variables CCS_CFLAGS 11978and CCS_LIBS to avoid the need to call pkg-config. 11979See the pkg-config man page for more details. 11980 11981To get pkg-config, see <http://pkg-config.freedesktop.org/>. 11982See \`config.log' for more details" "$LINENO" 5 ; } 11983else 11984 CCS_CFLAGS=$pkg_cv_CCS_CFLAGS 11985 CCS_LIBS=$pkg_cv_CCS_LIBS 11986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11987$as_echo "yes" >&6; } 11988 11989fi 11990 11991ac_config_files="$ac_config_files Makefile settings-backend/Makefile" 11992 11993 11994cat >confcache <<\_ACEOF 11995# This file is a shell script that caches the results of configure 11996# tests run on this system so they can be shared between configure 11997# scripts and configure runs, see configure's option --config-cache. 11998# It is not useful on other systems. If it contains results you don't 11999# want to keep, you may remove or edit it. 12000# 12001# config.status only pays attention to the cache file if you give it 12002# the --recheck option to rerun configure. 12003# 12004# `ac_cv_env_foo' variables (set or unset) will be overridden when 12005# loading this file, other *unset* `ac_cv_foo' will be assigned the 12006# following values. 12007 12008_ACEOF 12009 12010# The following way of writing the cache mishandles newlines in values, 12011# but we know of no workaround that is simple, portable, and efficient. 12012# So, we kill variables containing newlines. 12013# Ultrix sh set writes to stderr and can't be redirected directly, 12014# and sets the high bit in the cache file unless we assign to the vars. 12015( 12016 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 12017 eval ac_val=\$$ac_var 12018 case $ac_val in #( 12019 *${as_nl}*) 12020 case $ac_var in #( 12021 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 12022$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 12023 esac 12024 case $ac_var in #( 12025 _ | IFS | as_nl) ;; #( 12026 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 12027 *) { eval $ac_var=; unset $ac_var;} ;; 12028 esac ;; 12029 esac 12030 done 12031 12032 (set) 2>&1 | 12033 case $as_nl`(ac_space=' '; set) 2>&1` in #( 12034 *${as_nl}ac_space=\ *) 12035 # `set' does not quote correctly, so add quotes: double-quote 12036 # substitution turns \\\\ into \\, and sed turns \\ into \. 12037 sed -n \ 12038 "s/'/'\\\\''/g; 12039 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 12040 ;; #( 12041 *) 12042 # `set' quotes correctly as required by POSIX, so do not add quotes. 12043 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 12044 ;; 12045 esac | 12046 sort 12047) | 12048 sed ' 12049 /^ac_cv_env_/b end 12050 t clear 12051 :clear 12052 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 12053 t end 12054 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 12055 :end' >>confcache 12056if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 12057 if test -w "$cache_file"; then 12058 test "x$cache_file" != "x/dev/null" && 12059 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 12060$as_echo "$as_me: updating cache $cache_file" >&6;} 12061 cat confcache >$cache_file 12062 else 12063 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 12064$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 12065 fi 12066fi 12067rm -f confcache 12068 12069test "x$prefix" = xNONE && prefix=$ac_default_prefix 12070# Let make expand exec_prefix. 12071test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 12072 12073# Transform confdefs.h into DEFS. 12074# Protect against shell expansion while executing Makefile rules. 12075# Protect against Makefile macro expansion. 12076# 12077# If the first sed substitution is executed (which looks for macros that 12078# take arguments), then branch to the quote section. Otherwise, 12079# look for a macro that doesn't take arguments. 12080ac_script=' 12081:mline 12082/\\$/{ 12083 N 12084 s,\\\n,, 12085 b mline 12086} 12087t clear 12088:clear 12089s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 12090t quote 12091s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 12092t quote 12093b any 12094:quote 12095s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 12096s/\[/\\&/g 12097s/\]/\\&/g 12098s/\$/$$/g 12099H 12100:any 12101${ 12102 g 12103 s/^\n// 12104 s/\n/ /g 12105 p 12106} 12107' 12108DEFS=`sed -n "$ac_script" confdefs.h` 12109 12110 12111ac_libobjs= 12112ac_ltlibobjs= 12113U= 12114for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 12115 # 1. Remove the extension, and $U if already installed. 12116 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 12117 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 12118 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 12119 # will be set to the directory where LIBOBJS objects are built. 12120 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 12121 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 12122done 12123LIBOBJS=$ac_libobjs 12124 12125LTLIBOBJS=$ac_ltlibobjs 12126 12127 12128 if test -n "$EXEEXT"; then 12129 am__EXEEXT_TRUE= 12130 am__EXEEXT_FALSE='#' 12131else 12132 am__EXEEXT_TRUE='#' 12133 am__EXEEXT_FALSE= 12134fi 12135 12136if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 12137 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 12138Usually this means the macro was only invoked conditionally." "$LINENO" 5 12139fi 12140if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 12141 as_fn_error $? "conditional \"AMDEP\" was never defined. 12142Usually this means the macro was only invoked conditionally." "$LINENO" 5 12143fi 12144if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 12145 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 12146Usually this means the macro was only invoked conditionally." "$LINENO" 5 12147fi 12148if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 12149 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 12150Usually this means the macro was only invoked conditionally." "$LINENO" 5 12151fi 12152 12153 12154: ${CONFIG_STATUS=./config.status} 12155ac_write_fail=0 12156ac_clean_files_save=$ac_clean_files 12157ac_clean_files="$ac_clean_files $CONFIG_STATUS" 12158{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 12159$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 12160as_write_fail=0 12161cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 12162#! $SHELL 12163# Generated by $as_me. 12164# Run this file to recreate the current configuration. 12165# Compiler output produced by configure, useful for debugging 12166# configure, is in config.log if it exists. 12167 12168debug=false 12169ac_cs_recheck=false 12170ac_cs_silent=false 12171 12172SHELL=\${CONFIG_SHELL-$SHELL} 12173export SHELL 12174_ASEOF 12175cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 12176## -------------------- ## 12177## M4sh Initialization. ## 12178## -------------------- ## 12179 12180# Be more Bourne compatible 12181DUALCASE=1; export DUALCASE # for MKS sh 12182if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 12183 emulate sh 12184 NULLCMD=: 12185 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 12186 # is contrary to our usage. Disable this feature. 12187 alias -g '${1+"$@"}'='"$@"' 12188 setopt NO_GLOB_SUBST 12189else 12190 case `(set -o) 2>/dev/null` in #( 12191 *posix*) : 12192 set -o posix ;; #( 12193 *) : 12194 ;; 12195esac 12196fi 12197 12198 12199as_nl=' 12200' 12201export as_nl 12202# Printing a long string crashes Solaris 7 /usr/bin/printf. 12203as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 12204as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 12205as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 12206# Prefer a ksh shell builtin over an external printf program on Solaris, 12207# but without wasting forks for bash or zsh. 12208if test -z "$BASH_VERSION$ZSH_VERSION" \ 12209 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 12210 as_echo='print -r --' 12211 as_echo_n='print -rn --' 12212elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 12213 as_echo='printf %s\n' 12214 as_echo_n='printf %s' 12215else 12216 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 12217 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 12218 as_echo_n='/usr/ucb/echo -n' 12219 else 12220 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 12221 as_echo_n_body='eval 12222 arg=$1; 12223 case $arg in #( 12224 *"$as_nl"*) 12225 expr "X$arg" : "X\\(.*\\)$as_nl"; 12226 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 12227 esac; 12228 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 12229 ' 12230 export as_echo_n_body 12231 as_echo_n='sh -c $as_echo_n_body as_echo' 12232 fi 12233 export as_echo_body 12234 as_echo='sh -c $as_echo_body as_echo' 12235fi 12236 12237# The user is always right. 12238if test "${PATH_SEPARATOR+set}" != set; then 12239 PATH_SEPARATOR=: 12240 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 12241 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 12242 PATH_SEPARATOR=';' 12243 } 12244fi 12245 12246 12247# IFS 12248# We need space, tab and new line, in precisely that order. Quoting is 12249# there to prevent editors from complaining about space-tab. 12250# (If _AS_PATH_WALK were called with IFS unset, it would disable word 12251# splitting by setting IFS to empty value.) 12252IFS=" "" $as_nl" 12253 12254# Find who we are. Look in the path if we contain no directory separator. 12255case $0 in #(( 12256 *[\\/]* ) as_myself=$0 ;; 12257 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12258for as_dir in $PATH 12259do 12260 IFS=$as_save_IFS 12261 test -z "$as_dir" && as_dir=. 12262 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 12263 done 12264IFS=$as_save_IFS 12265 12266 ;; 12267esac 12268# We did not find ourselves, most probably we were run as `sh COMMAND' 12269# in which case we are not to be found in the path. 12270if test "x$as_myself" = x; then 12271 as_myself=$0 12272fi 12273if test ! -f "$as_myself"; then 12274 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 12275 exit 1 12276fi 12277 12278# Unset variables that we do not need and which cause bugs (e.g. in 12279# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 12280# suppresses any "Segmentation fault" message there. '((' could 12281# trigger a bug in pdksh 5.2.14. 12282for as_var in BASH_ENV ENV MAIL MAILPATH 12283do eval test x\${$as_var+set} = xset \ 12284 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 12285done 12286PS1='$ ' 12287PS2='> ' 12288PS4='+ ' 12289 12290# NLS nuisances. 12291LC_ALL=C 12292export LC_ALL 12293LANGUAGE=C 12294export LANGUAGE 12295 12296# CDPATH. 12297(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 12298 12299 12300# as_fn_error STATUS ERROR [LINENO LOG_FD] 12301# ---------------------------------------- 12302# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 12303# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 12304# script with STATUS, using 1 if that was 0. 12305as_fn_error () 12306{ 12307 as_status=$1; test $as_status -eq 0 && as_status=1 12308 if test "$4"; then 12309 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 12310 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 12311 fi 12312 $as_echo "$as_me: error: $2" >&2 12313 as_fn_exit $as_status 12314} # as_fn_error 12315 12316 12317# as_fn_set_status STATUS 12318# ----------------------- 12319# Set $? to STATUS, without forking. 12320as_fn_set_status () 12321{ 12322 return $1 12323} # as_fn_set_status 12324 12325# as_fn_exit STATUS 12326# ----------------- 12327# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 12328as_fn_exit () 12329{ 12330 set +e 12331 as_fn_set_status $1 12332 exit $1 12333} # as_fn_exit 12334 12335# as_fn_unset VAR 12336# --------------- 12337# Portably unset VAR. 12338as_fn_unset () 12339{ 12340 { eval $1=; unset $1;} 12341} 12342as_unset=as_fn_unset 12343# as_fn_append VAR VALUE 12344# ---------------------- 12345# Append the text in VALUE to the end of the definition contained in VAR. Take 12346# advantage of any shell optimizations that allow amortized linear growth over 12347# repeated appends, instead of the typical quadratic growth present in naive 12348# implementations. 12349if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 12350 eval 'as_fn_append () 12351 { 12352 eval $1+=\$2 12353 }' 12354else 12355 as_fn_append () 12356 { 12357 eval $1=\$$1\$2 12358 } 12359fi # as_fn_append 12360 12361# as_fn_arith ARG... 12362# ------------------ 12363# Perform arithmetic evaluation on the ARGs, and store the result in the 12364# global $as_val. Take advantage of shells that can avoid forks. The arguments 12365# must be portable across $(()) and expr. 12366if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 12367 eval 'as_fn_arith () 12368 { 12369 as_val=$(( $* )) 12370 }' 12371else 12372 as_fn_arith () 12373 { 12374 as_val=`expr "$@" || test $? -eq 1` 12375 } 12376fi # as_fn_arith 12377 12378 12379if expr a : '\(a\)' >/dev/null 2>&1 && 12380 test "X`expr 00001 : '.*\(...\)'`" = X001; then 12381 as_expr=expr 12382else 12383 as_expr=false 12384fi 12385 12386if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 12387 as_basename=basename 12388else 12389 as_basename=false 12390fi 12391 12392if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 12393 as_dirname=dirname 12394else 12395 as_dirname=false 12396fi 12397 12398as_me=`$as_basename -- "$0" || 12399$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 12400 X"$0" : 'X\(//\)$' \| \ 12401 X"$0" : 'X\(/\)' \| . 2>/dev/null || 12402$as_echo X/"$0" | 12403 sed '/^.*\/\([^/][^/]*\)\/*$/{ 12404 s//\1/ 12405 q 12406 } 12407 /^X\/\(\/\/\)$/{ 12408 s//\1/ 12409 q 12410 } 12411 /^X\/\(\/\).*/{ 12412 s//\1/ 12413 q 12414 } 12415 s/.*/./; q'` 12416 12417# Avoid depending upon Character Ranges. 12418as_cr_letters='abcdefghijklmnopqrstuvwxyz' 12419as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 12420as_cr_Letters=$as_cr_letters$as_cr_LETTERS 12421as_cr_digits='0123456789' 12422as_cr_alnum=$as_cr_Letters$as_cr_digits 12423 12424ECHO_C= ECHO_N= ECHO_T= 12425case `echo -n x` in #((((( 12426-n*) 12427 case `echo 'xy\c'` in 12428 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 12429 xy) ECHO_C='\c';; 12430 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 12431 ECHO_T=' ';; 12432 esac;; 12433*) 12434 ECHO_N='-n';; 12435esac 12436 12437rm -f conf$$ conf$$.exe conf$$.file 12438if test -d conf$$.dir; then 12439 rm -f conf$$.dir/conf$$.file 12440else 12441 rm -f conf$$.dir 12442 mkdir conf$$.dir 2>/dev/null 12443fi 12444if (echo >conf$$.file) 2>/dev/null; then 12445 if ln -s conf$$.file conf$$ 2>/dev/null; then 12446 as_ln_s='ln -s' 12447 # ... but there are two gotchas: 12448 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 12449 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 12450 # In both cases, we have to default to `cp -p'. 12451 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 12452 as_ln_s='cp -p' 12453 elif ln conf$$.file conf$$ 2>/dev/null; then 12454 as_ln_s=ln 12455 else 12456 as_ln_s='cp -p' 12457 fi 12458else 12459 as_ln_s='cp -p' 12460fi 12461rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 12462rmdir conf$$.dir 2>/dev/null 12463 12464 12465# as_fn_mkdir_p 12466# ------------- 12467# Create "$as_dir" as a directory, including parents if necessary. 12468as_fn_mkdir_p () 12469{ 12470 12471 case $as_dir in #( 12472 -*) as_dir=./$as_dir;; 12473 esac 12474 test -d "$as_dir" || eval $as_mkdir_p || { 12475 as_dirs= 12476 while :; do 12477 case $as_dir in #( 12478 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 12479 *) as_qdir=$as_dir;; 12480 esac 12481 as_dirs="'$as_qdir' $as_dirs" 12482 as_dir=`$as_dirname -- "$as_dir" || 12483$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12484 X"$as_dir" : 'X\(//\)[^/]' \| \ 12485 X"$as_dir" : 'X\(//\)$' \| \ 12486 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 12487$as_echo X"$as_dir" | 12488 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12489 s//\1/ 12490 q 12491 } 12492 /^X\(\/\/\)[^/].*/{ 12493 s//\1/ 12494 q 12495 } 12496 /^X\(\/\/\)$/{ 12497 s//\1/ 12498 q 12499 } 12500 /^X\(\/\).*/{ 12501 s//\1/ 12502 q 12503 } 12504 s/.*/./; q'` 12505 test -d "$as_dir" && break 12506 done 12507 test -z "$as_dirs" || eval "mkdir $as_dirs" 12508 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 12509 12510 12511} # as_fn_mkdir_p 12512if mkdir -p . 2>/dev/null; then 12513 as_mkdir_p='mkdir -p "$as_dir"' 12514else 12515 test -d ./-p && rmdir ./-p 12516 as_mkdir_p=false 12517fi 12518 12519if test -x / >/dev/null 2>&1; then 12520 as_test_x='test -x' 12521else 12522 if ls -dL / >/dev/null 2>&1; then 12523 as_ls_L_option=L 12524 else 12525 as_ls_L_option= 12526 fi 12527 as_test_x=' 12528 eval sh -c '\'' 12529 if test -d "$1"; then 12530 test -d "$1/."; 12531 else 12532 case $1 in #( 12533 -*)set "./$1";; 12534 esac; 12535 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 12536 ???[sx]*):;;*)false;;esac;fi 12537 '\'' sh 12538 ' 12539fi 12540as_executable_p=$as_test_x 12541 12542# Sed expression to map a string onto a valid CPP name. 12543as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 12544 12545# Sed expression to map a string onto a valid variable name. 12546as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 12547 12548 12549exec 6>&1 12550## ----------------------------------- ## 12551## Main body of $CONFIG_STATUS script. ## 12552## ----------------------------------- ## 12553_ASEOF 12554test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 12555 12556cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12557# Save the log message, to keep $0 and so on meaningful, and to 12558# report actual input values of CONFIG_FILES etc. instead of their 12559# values after options handling. 12560ac_log=" 12561This file was extended by compizconfig-backend-gconf $as_me 0.8.8, which was 12562generated by GNU Autoconf 2.67. Invocation command line was 12563 12564 CONFIG_FILES = $CONFIG_FILES 12565 CONFIG_HEADERS = $CONFIG_HEADERS 12566 CONFIG_LINKS = $CONFIG_LINKS 12567 CONFIG_COMMANDS = $CONFIG_COMMANDS 12568 $ $0 $@ 12569 12570on `(hostname || uname -n) 2>/dev/null | sed 1q` 12571" 12572 12573_ACEOF 12574 12575case $ac_config_files in *" 12576"*) set x $ac_config_files; shift; ac_config_files=$*;; 12577esac 12578 12579 12580 12581cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12582# Files that config.status was made for. 12583config_files="$ac_config_files" 12584config_commands="$ac_config_commands" 12585 12586_ACEOF 12587 12588cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12589ac_cs_usage="\ 12590\`$as_me' instantiates files and other configuration actions 12591from templates according to the current configuration. Unless the files 12592and actions are specified as TAGs, all are instantiated by default. 12593 12594Usage: $0 [OPTION]... [TAG]... 12595 12596 -h, --help print this help, then exit 12597 -V, --version print version number and configuration settings, then exit 12598 --config print configuration, then exit 12599 -q, --quiet, --silent 12600 do not print progress messages 12601 -d, --debug don't remove temporary files 12602 --recheck update $as_me by reconfiguring in the same conditions 12603 --file=FILE[:TEMPLATE] 12604 instantiate the configuration file FILE 12605 12606Configuration files: 12607$config_files 12608 12609Configuration commands: 12610$config_commands 12611 12612Report bugs to <maniac@opencompositing.org>." 12613 12614_ACEOF 12615cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12616ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 12617ac_cs_version="\\ 12618compizconfig-backend-gconf config.status 0.8.8 12619configured by $0, generated by GNU Autoconf 2.67, 12620 with options \\"\$ac_cs_config\\" 12621 12622Copyright (C) 2010 Free Software Foundation, Inc. 12623This config.status script is free software; the Free Software Foundation 12624gives unlimited permission to copy, distribute and modify it." 12625 12626ac_pwd='$ac_pwd' 12627srcdir='$srcdir' 12628INSTALL='$INSTALL' 12629MKDIR_P='$MKDIR_P' 12630AWK='$AWK' 12631test -n "\$AWK" || AWK=awk 12632_ACEOF 12633 12634cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12635# The default lists apply if the user does not specify any file. 12636ac_need_defaults=: 12637while test $# != 0 12638do 12639 case $1 in 12640 --*=?*) 12641 ac_option=`expr "X$1" : 'X\([^=]*\)='` 12642 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 12643 ac_shift=: 12644 ;; 12645 --*=) 12646 ac_option=`expr "X$1" : 'X\([^=]*\)='` 12647 ac_optarg= 12648 ac_shift=: 12649 ;; 12650 *) 12651 ac_option=$1 12652 ac_optarg=$2 12653 ac_shift=shift 12654 ;; 12655 esac 12656 12657 case $ac_option in 12658 # Handling of the options. 12659 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 12660 ac_cs_recheck=: ;; 12661 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 12662 $as_echo "$ac_cs_version"; exit ;; 12663 --config | --confi | --conf | --con | --co | --c ) 12664 $as_echo "$ac_cs_config"; exit ;; 12665 --debug | --debu | --deb | --de | --d | -d ) 12666 debug=: ;; 12667 --file | --fil | --fi | --f ) 12668 $ac_shift 12669 case $ac_optarg in 12670 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 12671 '') as_fn_error $? "missing file argument" ;; 12672 esac 12673 as_fn_append CONFIG_FILES " '$ac_optarg'" 12674 ac_need_defaults=false;; 12675 --he | --h | --help | --hel | -h ) 12676 $as_echo "$ac_cs_usage"; exit ;; 12677 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 12678 | -silent | --silent | --silen | --sile | --sil | --si | --s) 12679 ac_cs_silent=: ;; 12680 12681 # This is an error. 12682 -*) as_fn_error $? "unrecognized option: \`$1' 12683Try \`$0 --help' for more information." ;; 12684 12685 *) as_fn_append ac_config_targets " $1" 12686 ac_need_defaults=false ;; 12687 12688 esac 12689 shift 12690done 12691 12692ac_configure_extra_args= 12693 12694if $ac_cs_silent; then 12695 exec 6>/dev/null 12696 ac_configure_extra_args="$ac_configure_extra_args --silent" 12697fi 12698 12699_ACEOF 12700cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12701if \$ac_cs_recheck; then 12702 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 12703 shift 12704 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 12705 CONFIG_SHELL='$SHELL' 12706 export CONFIG_SHELL 12707 exec "\$@" 12708fi 12709 12710_ACEOF 12711cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12712exec 5>>config.log 12713{ 12714 echo 12715 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 12716## Running $as_me. ## 12717_ASBOX 12718 $as_echo "$ac_log" 12719} >&5 12720 12721_ACEOF 12722cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12723# 12724# INIT-COMMANDS 12725# 12726AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 12727 12728 12729# The HP-UX ksh and POSIX shell print the target directory to stdout 12730# if CDPATH is set. 12731(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 12732 12733sed_quote_subst='$sed_quote_subst' 12734double_quote_subst='$double_quote_subst' 12735delay_variable_subst='$delay_variable_subst' 12736macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' 12737macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' 12738enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' 12739enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' 12740pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' 12741enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' 12742host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' 12743host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' 12744host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' 12745build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' 12746build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' 12747build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' 12748SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' 12749Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' 12750GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' 12751EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' 12752FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' 12753LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' 12754NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' 12755LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' 12756max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' 12757ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' 12758exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' 12759lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' 12760lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' 12761lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' 12762reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' 12763reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12764OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' 12765deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' 12766file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' 12767AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' 12768AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' 12769STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' 12770RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' 12771old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12772old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12773old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12774CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' 12775CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' 12776compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' 12777GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' 12778lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' 12779lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' 12780lt_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"`' 12781lt_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"`' 12782objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' 12783SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' 12784ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' 12785MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' 12786lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' 12787lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' 12788lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' 12789lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' 12790lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' 12791need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' 12792DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' 12793NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' 12794LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' 12795OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' 12796OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' 12797libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' 12798shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12799extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12800archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' 12801enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' 12802export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 12803whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 12804compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' 12805old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12806old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12807archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12808archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12809module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12810module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12811with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' 12812allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 12813no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 12814hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 12815hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' 12816hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' 12817hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' 12818hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' 12819hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' 12820hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 12821hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' 12822inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' 12823link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' 12824fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' 12825always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' 12826export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12827exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 12828include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 12829prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12830file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' 12831variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' 12832need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' 12833need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' 12834version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' 12835runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' 12836shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 12837shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' 12838libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' 12839library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' 12840soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' 12841postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12842postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12843finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12844finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' 12845hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' 12846sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 12847sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 12848hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' 12849enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' 12850enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' 12851enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' 12852old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' 12853striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' 12854 12855LTCC='$LTCC' 12856LTCFLAGS='$LTCFLAGS' 12857compiler='$compiler_DEFAULT' 12858 12859# Quote evaled strings. 12860for var in SED \ 12861GREP \ 12862EGREP \ 12863FGREP \ 12864LD \ 12865NM \ 12866LN_S \ 12867lt_SP2NL \ 12868lt_NL2SP \ 12869reload_flag \ 12870OBJDUMP \ 12871deplibs_check_method \ 12872file_magic_cmd \ 12873AR \ 12874AR_FLAGS \ 12875STRIP \ 12876RANLIB \ 12877CC \ 12878CFLAGS \ 12879compiler \ 12880lt_cv_sys_global_symbol_pipe \ 12881lt_cv_sys_global_symbol_to_cdecl \ 12882lt_cv_sys_global_symbol_to_c_name_address \ 12883lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 12884SHELL \ 12885ECHO \ 12886lt_prog_compiler_no_builtin_flag \ 12887lt_prog_compiler_wl \ 12888lt_prog_compiler_pic \ 12889lt_prog_compiler_static \ 12890lt_cv_prog_compiler_c_o \ 12891need_locks \ 12892DSYMUTIL \ 12893NMEDIT \ 12894LIPO \ 12895OTOOL \ 12896OTOOL64 \ 12897shrext_cmds \ 12898export_dynamic_flag_spec \ 12899whole_archive_flag_spec \ 12900compiler_needs_object \ 12901with_gnu_ld \ 12902allow_undefined_flag \ 12903no_undefined_flag \ 12904hardcode_libdir_flag_spec \ 12905hardcode_libdir_flag_spec_ld \ 12906hardcode_libdir_separator \ 12907fix_srcfile_path \ 12908exclude_expsyms \ 12909include_expsyms \ 12910file_list_spec \ 12911variables_saved_for_relink \ 12912libname_spec \ 12913library_names_spec \ 12914soname_spec \ 12915finish_eval \ 12916old_striplib \ 12917striplib; do 12918 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 12919 *[\\\\\\\`\\"\\\$]*) 12920 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 12921 ;; 12922 *) 12923 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 12924 ;; 12925 esac 12926done 12927 12928# Double-quote double-evaled strings. 12929for var in reload_cmds \ 12930old_postinstall_cmds \ 12931old_postuninstall_cmds \ 12932old_archive_cmds \ 12933extract_expsyms_cmds \ 12934old_archive_from_new_cmds \ 12935old_archive_from_expsyms_cmds \ 12936archive_cmds \ 12937archive_expsym_cmds \ 12938module_cmds \ 12939module_expsym_cmds \ 12940export_symbols_cmds \ 12941prelink_cmds \ 12942postinstall_cmds \ 12943postuninstall_cmds \ 12944finish_cmds \ 12945sys_lib_search_path_spec \ 12946sys_lib_dlsearch_path_spec; do 12947 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 12948 *[\\\\\\\`\\"\\\$]*) 12949 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 12950 ;; 12951 *) 12952 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 12953 ;; 12954 esac 12955done 12956 12957# Fix-up fallback echo if it was mangled by the above quoting rules. 12958case \$lt_ECHO in 12959*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` 12960 ;; 12961esac 12962 12963ac_aux_dir='$ac_aux_dir' 12964xsi_shell='$xsi_shell' 12965lt_shell_append='$lt_shell_append' 12966 12967# See if we are running on zsh, and set the options which allow our 12968# commands through without removal of \ escapes INIT. 12969if test -n "\${ZSH_VERSION+set}" ; then 12970 setopt NO_GLOB_SUBST 12971fi 12972 12973 12974 PACKAGE='$PACKAGE' 12975 VERSION='$VERSION' 12976 TIMESTAMP='$TIMESTAMP' 12977 RM='$RM' 12978 ofile='$ofile' 12979 12980 12981 12982 12983_ACEOF 12984 12985cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12986 12987# Handling of arguments. 12988for ac_config_target in $ac_config_targets 12989do 12990 case $ac_config_target in 12991 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 12992 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 12993 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 12994 "settings-backend/Makefile") CONFIG_FILES="$CONFIG_FILES settings-backend/Makefile" ;; 12995 12996 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 12997 esac 12998done 12999 13000 13001# If the user did not use the arguments to specify the items to instantiate, 13002# then the envvar interface is used. Set only those that are not. 13003# We use the long form for the default assignment because of an extremely 13004# bizarre bug on SunOS 4.1.3. 13005if $ac_need_defaults; then 13006 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 13007 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 13008fi 13009 13010# Have a temporary directory for convenience. Make it in the build tree 13011# simply because there is no reason against having it here, and in addition, 13012# creating and moving files from /tmp can sometimes cause problems. 13013# Hook for its removal unless debugging. 13014# Note that there is a small window in which the directory will not be cleaned: 13015# after its creation but before its name has been assigned to `$tmp'. 13016$debug || 13017{ 13018 tmp= 13019 trap 'exit_status=$? 13020 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 13021' 0 13022 trap 'as_fn_exit 1' 1 2 13 15 13023} 13024# Create a (secure) tmp directory for tmp files. 13025 13026{ 13027 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 13028 test -n "$tmp" && test -d "$tmp" 13029} || 13030{ 13031 tmp=./conf$$-$RANDOM 13032 (umask 077 && mkdir "$tmp") 13033} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 13034 13035# Set up the scripts for CONFIG_FILES section. 13036# No need to generate them if there are no CONFIG_FILES. 13037# This happens for instance with `./config.status config.h'. 13038if test -n "$CONFIG_FILES"; then 13039 13040 13041ac_cr=`echo X | tr X '\015'` 13042# On cygwin, bash can eat \r inside `` if the user requested igncr. 13043# But we know of no other shell where ac_cr would be empty at this 13044# point, so we can use a bashism as a fallback. 13045if test "x$ac_cr" = x; then 13046 eval ac_cr=\$\'\\r\' 13047fi 13048ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 13049if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 13050 ac_cs_awk_cr='\\r' 13051else 13052 ac_cs_awk_cr=$ac_cr 13053fi 13054 13055echo 'BEGIN {' >"$tmp/subs1.awk" && 13056_ACEOF 13057 13058 13059{ 13060 echo "cat >conf$$subs.awk <<_ACEOF" && 13061 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 13062 echo "_ACEOF" 13063} >conf$$subs.sh || 13064 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13065ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 13066ac_delim='%!_!# ' 13067for ac_last_try in false false false false false :; do 13068 . ./conf$$subs.sh || 13069 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13070 13071 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 13072 if test $ac_delim_n = $ac_delim_num; then 13073 break 13074 elif $ac_last_try; then 13075 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13076 else 13077 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13078 fi 13079done 13080rm -f conf$$subs.sh 13081 13082cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13083cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 13084_ACEOF 13085sed -n ' 13086h 13087s/^/S["/; s/!.*/"]=/ 13088p 13089g 13090s/^[^!]*!// 13091:repl 13092t repl 13093s/'"$ac_delim"'$// 13094t delim 13095:nl 13096h 13097s/\(.\{148\}\)..*/\1/ 13098t more1 13099s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 13100p 13101n 13102b repl 13103:more1 13104s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13105p 13106g 13107s/.\{148\}// 13108t nl 13109:delim 13110h 13111s/\(.\{148\}\)..*/\1/ 13112t more2 13113s/["\\]/\\&/g; s/^/"/; s/$/"/ 13114p 13115b 13116:more2 13117s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13118p 13119g 13120s/.\{148\}// 13121t delim 13122' <conf$$subs.awk | sed ' 13123/^[^""]/{ 13124 N 13125 s/\n// 13126} 13127' >>$CONFIG_STATUS || ac_write_fail=1 13128rm -f conf$$subs.awk 13129cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13130_ACAWK 13131cat >>"\$tmp/subs1.awk" <<_ACAWK && 13132 for (key in S) S_is_set[key] = 1 13133 FS = "" 13134 13135} 13136{ 13137 line = $ 0 13138 nfields = split(line, field, "@") 13139 substed = 0 13140 len = length(field[1]) 13141 for (i = 2; i < nfields; i++) { 13142 key = field[i] 13143 keylen = length(key) 13144 if (S_is_set[key]) { 13145 value = S[key] 13146 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 13147 len += length(value) + length(field[++i]) 13148 substed = 1 13149 } else 13150 len += 1 + keylen 13151 } 13152 13153 print line 13154} 13155 13156_ACAWK 13157_ACEOF 13158cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13159if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 13160 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 13161else 13162 cat 13163fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 13164 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 13165_ACEOF 13166 13167# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 13168# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 13169# trailing colons and then remove the whole line if VPATH becomes empty 13170# (actually we leave an empty line to preserve line numbers). 13171if test "x$srcdir" = x.; then 13172 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 13173h 13174s/// 13175s/^/:/ 13176s/[ ]*$/:/ 13177s/:\$(srcdir):/:/g 13178s/:\${srcdir}:/:/g 13179s/:@srcdir@:/:/g 13180s/^:*// 13181s/:*$// 13182x 13183s/\(=[ ]*\).*/\1/ 13184G 13185s/\n// 13186s/^[^=]*=[ ]*$// 13187}' 13188fi 13189 13190cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13191fi # test -n "$CONFIG_FILES" 13192 13193 13194eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 13195shift 13196for ac_tag 13197do 13198 case $ac_tag in 13199 :[FHLC]) ac_mode=$ac_tag; continue;; 13200 esac 13201 case $ac_mode$ac_tag in 13202 :[FHL]*:*);; 13203 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 13204 :[FH]-) ac_tag=-:-;; 13205 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 13206 esac 13207 ac_save_IFS=$IFS 13208 IFS=: 13209 set x $ac_tag 13210 IFS=$ac_save_IFS 13211 shift 13212 ac_file=$1 13213 shift 13214 13215 case $ac_mode in 13216 :L) ac_source=$1;; 13217 :[FH]) 13218 ac_file_inputs= 13219 for ac_f 13220 do 13221 case $ac_f in 13222 -) ac_f="$tmp/stdin";; 13223 *) # Look for the file first in the build tree, then in the source tree 13224 # (if the path is not absolute). The absolute path cannot be DOS-style, 13225 # because $ac_f cannot contain `:'. 13226 test -f "$ac_f" || 13227 case $ac_f in 13228 [\\/$]*) false;; 13229 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 13230 esac || 13231 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; 13232 esac 13233 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 13234 as_fn_append ac_file_inputs " '$ac_f'" 13235 done 13236 13237 # Let's still pretend it is `configure' which instantiates (i.e., don't 13238 # use $as_me), people would be surprised to read: 13239 # /* config.h. Generated by config.status. */ 13240 configure_input='Generated from '` 13241 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 13242 `' by configure.' 13243 if test x"$ac_file" != x-; then 13244 configure_input="$ac_file. $configure_input" 13245 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 13246$as_echo "$as_me: creating $ac_file" >&6;} 13247 fi 13248 # Neutralize special characters interpreted by sed in replacement strings. 13249 case $configure_input in #( 13250 *\&* | *\|* | *\\* ) 13251 ac_sed_conf_input=`$as_echo "$configure_input" | 13252 sed 's/[\\\\&|]/\\\\&/g'`;; #( 13253 *) ac_sed_conf_input=$configure_input;; 13254 esac 13255 13256 case $ac_tag in 13257 *:-:* | *:-) cat >"$tmp/stdin" \ 13258 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 13259 esac 13260 ;; 13261 esac 13262 13263 ac_dir=`$as_dirname -- "$ac_file" || 13264$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13265 X"$ac_file" : 'X\(//\)[^/]' \| \ 13266 X"$ac_file" : 'X\(//\)$' \| \ 13267 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 13268$as_echo X"$ac_file" | 13269 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13270 s//\1/ 13271 q 13272 } 13273 /^X\(\/\/\)[^/].*/{ 13274 s//\1/ 13275 q 13276 } 13277 /^X\(\/\/\)$/{ 13278 s//\1/ 13279 q 13280 } 13281 /^X\(\/\).*/{ 13282 s//\1/ 13283 q 13284 } 13285 s/.*/./; q'` 13286 as_dir="$ac_dir"; as_fn_mkdir_p 13287 ac_builddir=. 13288 13289case "$ac_dir" in 13290.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 13291*) 13292 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 13293 # A ".." for each directory in $ac_dir_suffix. 13294 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 13295 case $ac_top_builddir_sub in 13296 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 13297 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 13298 esac ;; 13299esac 13300ac_abs_top_builddir=$ac_pwd 13301ac_abs_builddir=$ac_pwd$ac_dir_suffix 13302# for backward compatibility: 13303ac_top_builddir=$ac_top_build_prefix 13304 13305case $srcdir in 13306 .) # We are building in place. 13307 ac_srcdir=. 13308 ac_top_srcdir=$ac_top_builddir_sub 13309 ac_abs_top_srcdir=$ac_pwd ;; 13310 [\\/]* | ?:[\\/]* ) # Absolute name. 13311 ac_srcdir=$srcdir$ac_dir_suffix; 13312 ac_top_srcdir=$srcdir 13313 ac_abs_top_srcdir=$srcdir ;; 13314 *) # Relative name. 13315 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 13316 ac_top_srcdir=$ac_top_build_prefix$srcdir 13317 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 13318esac 13319ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 13320 13321 13322 case $ac_mode in 13323 :F) 13324 # 13325 # CONFIG_FILE 13326 # 13327 13328 case $INSTALL in 13329 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 13330 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 13331 esac 13332 ac_MKDIR_P=$MKDIR_P 13333 case $MKDIR_P in 13334 [\\/$]* | ?:[\\/]* ) ;; 13335 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 13336 esac 13337_ACEOF 13338 13339cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13340# If the template does not know about datarootdir, expand it. 13341# FIXME: This hack should be removed a few years after 2.60. 13342ac_datarootdir_hack=; ac_datarootdir_seen= 13343ac_sed_dataroot=' 13344/datarootdir/ { 13345 p 13346 q 13347} 13348/@datadir@/p 13349/@docdir@/p 13350/@infodir@/p 13351/@localedir@/p 13352/@mandir@/p' 13353case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 13354*datarootdir*) ac_datarootdir_seen=yes;; 13355*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 13356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 13357$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 13358_ACEOF 13359cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13360 ac_datarootdir_hack=' 13361 s&@datadir@&$datadir&g 13362 s&@docdir@&$docdir&g 13363 s&@infodir@&$infodir&g 13364 s&@localedir@&$localedir&g 13365 s&@mandir@&$mandir&g 13366 s&\\\${datarootdir}&$datarootdir&g' ;; 13367esac 13368_ACEOF 13369 13370# Neutralize VPATH when `$srcdir' = `.'. 13371# Shell code in configure.ac might set extrasub. 13372# FIXME: do we really want to maintain this feature? 13373cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13374ac_sed_extra="$ac_vpsub 13375$extrasub 13376_ACEOF 13377cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13378:t 13379/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 13380s|@configure_input@|$ac_sed_conf_input|;t t 13381s&@top_builddir@&$ac_top_builddir_sub&;t t 13382s&@top_build_prefix@&$ac_top_build_prefix&;t t 13383s&@srcdir@&$ac_srcdir&;t t 13384s&@abs_srcdir@&$ac_abs_srcdir&;t t 13385s&@top_srcdir@&$ac_top_srcdir&;t t 13386s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 13387s&@builddir@&$ac_builddir&;t t 13388s&@abs_builddir@&$ac_abs_builddir&;t t 13389s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 13390s&@INSTALL@&$ac_INSTALL&;t t 13391s&@MKDIR_P@&$ac_MKDIR_P&;t t 13392$ac_datarootdir_hack 13393" 13394eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 13395 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13396 13397test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 13398 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 13399 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 13400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13401which seems to be undefined. Please make sure it is defined" >&5 13402$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13403which seems to be undefined. Please make sure it is defined" >&2;} 13404 13405 rm -f "$tmp/stdin" 13406 case $ac_file in 13407 -) cat "$tmp/out" && rm -f "$tmp/out";; 13408 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 13409 esac \ 13410 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13411 ;; 13412 13413 13414 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 13415$as_echo "$as_me: executing $ac_file commands" >&6;} 13416 ;; 13417 esac 13418 13419 13420 case $ac_file$ac_mode in 13421 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 13422 # Autoconf 2.62 quotes --file arguments for eval, but not when files 13423 # are listed without --file. Let's play safe and only enable the eval 13424 # if we detect the quoting. 13425 case $CONFIG_FILES in 13426 *\'*) eval set x "$CONFIG_FILES" ;; 13427 *) set x $CONFIG_FILES ;; 13428 esac 13429 shift 13430 for mf 13431 do 13432 # Strip MF so we end up with the name of the file. 13433 mf=`echo "$mf" | sed -e 's/:.*$//'` 13434 # Check whether this is an Automake generated Makefile or not. 13435 # We used to match only the files named `Makefile.in', but 13436 # some people rename them; so instead we look at the file content. 13437 # Grep'ing the first line is not enough: some people post-process 13438 # each Makefile.in and add a new line on top of each file to say so. 13439 # Grep'ing the whole file is not good either: AIX grep has a line 13440 # limit of 2048, but all sed's we know have understand at least 4000. 13441 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 13442 dirpart=`$as_dirname -- "$mf" || 13443$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13444 X"$mf" : 'X\(//\)[^/]' \| \ 13445 X"$mf" : 'X\(//\)$' \| \ 13446 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 13447$as_echo X"$mf" | 13448 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13449 s//\1/ 13450 q 13451 } 13452 /^X\(\/\/\)[^/].*/{ 13453 s//\1/ 13454 q 13455 } 13456 /^X\(\/\/\)$/{ 13457 s//\1/ 13458 q 13459 } 13460 /^X\(\/\).*/{ 13461 s//\1/ 13462 q 13463 } 13464 s/.*/./; q'` 13465 else 13466 continue 13467 fi 13468 # Extract the definition of DEPDIR, am__include, and am__quote 13469 # from the Makefile without running `make'. 13470 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 13471 test -z "$DEPDIR" && continue 13472 am__include=`sed -n 's/^am__include = //p' < "$mf"` 13473 test -z "am__include" && continue 13474 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 13475 # When using ansi2knr, U may be empty or an underscore; expand it 13476 U=`sed -n 's/^U = //p' < "$mf"` 13477 # Find all dependency output files, they are included files with 13478 # $(DEPDIR) in their names. We invoke sed twice because it is the 13479 # simplest approach to changing $(DEPDIR) to its actual value in the 13480 # expansion. 13481 for file in `sed -n " 13482 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 13483 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 13484 # Make sure the directory exists. 13485 test -f "$dirpart/$file" && continue 13486 fdir=`$as_dirname -- "$file" || 13487$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13488 X"$file" : 'X\(//\)[^/]' \| \ 13489 X"$file" : 'X\(//\)$' \| \ 13490 X"$file" : 'X\(/\)' \| . 2>/dev/null || 13491$as_echo X"$file" | 13492 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13493 s//\1/ 13494 q 13495 } 13496 /^X\(\/\/\)[^/].*/{ 13497 s//\1/ 13498 q 13499 } 13500 /^X\(\/\/\)$/{ 13501 s//\1/ 13502 q 13503 } 13504 /^X\(\/\).*/{ 13505 s//\1/ 13506 q 13507 } 13508 s/.*/./; q'` 13509 as_dir=$dirpart/$fdir; as_fn_mkdir_p 13510 # echo "creating $dirpart/$file" 13511 echo '# dummy' > "$dirpart/$file" 13512 done 13513 done 13514} 13515 ;; 13516 "libtool":C) 13517 13518 # See if we are running on zsh, and set the options which allow our 13519 # commands through without removal of \ escapes. 13520 if test -n "${ZSH_VERSION+set}" ; then 13521 setopt NO_GLOB_SUBST 13522 fi 13523 13524 cfgfile="${ofile}T" 13525 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 13526 $RM "$cfgfile" 13527 13528 cat <<_LT_EOF >> "$cfgfile" 13529#! $SHELL 13530 13531# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 13532# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 13533# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 13534# NOTE: Changes made to this file will be lost: look at ltmain.sh. 13535# 13536# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 13537# 2006, 2007, 2008 Free Software Foundation, Inc. 13538# Written by Gordon Matzigkeit, 1996 13539# 13540# This file is part of GNU Libtool. 13541# 13542# GNU Libtool is free software; you can redistribute it and/or 13543# modify it under the terms of the GNU General Public License as 13544# published by the Free Software Foundation; either version 2 of 13545# the License, or (at your option) any later version. 13546# 13547# As a special exception to the GNU General Public License, 13548# if you distribute this file as part of a program or library that 13549# is built using GNU Libtool, you may include this file under the 13550# same distribution terms that you use for the rest of that program. 13551# 13552# GNU Libtool is distributed in the hope that it will be useful, 13553# but WITHOUT ANY WARRANTY; without even the implied warranty of 13554# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13555# GNU General Public License for more details. 13556# 13557# You should have received a copy of the GNU General Public License 13558# along with GNU Libtool; see the file COPYING. If not, a copy 13559# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 13560# obtained by writing to the Free Software Foundation, Inc., 13561# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 13562 13563 13564# The names of the tagged configurations supported by this script. 13565available_tags="" 13566 13567# ### BEGIN LIBTOOL CONFIG 13568 13569# Which release of libtool.m4 was used? 13570macro_version=$macro_version 13571macro_revision=$macro_revision 13572 13573# Whether or not to build shared libraries. 13574build_libtool_libs=$enable_shared 13575 13576# Whether or not to build static libraries. 13577build_old_libs=$enable_static 13578 13579# What type of objects to build. 13580pic_mode=$pic_mode 13581 13582# Whether or not to optimize for fast installation. 13583fast_install=$enable_fast_install 13584 13585# The host system. 13586host_alias=$host_alias 13587host=$host 13588host_os=$host_os 13589 13590# The build system. 13591build_alias=$build_alias 13592build=$build 13593build_os=$build_os 13594 13595# A sed program that does not truncate output. 13596SED=$lt_SED 13597 13598# Sed that helps us avoid accidentally triggering echo(1) options like -n. 13599Xsed="\$SED -e 1s/^X//" 13600 13601# A grep program that handles long lines. 13602GREP=$lt_GREP 13603 13604# An ERE matcher. 13605EGREP=$lt_EGREP 13606 13607# A literal string matcher. 13608FGREP=$lt_FGREP 13609 13610# A BSD- or MS-compatible name lister. 13611NM=$lt_NM 13612 13613# Whether we need soft or hard links. 13614LN_S=$lt_LN_S 13615 13616# What is the maximum length of a command? 13617max_cmd_len=$max_cmd_len 13618 13619# Object file suffix (normally "o"). 13620objext=$ac_objext 13621 13622# Executable file suffix (normally ""). 13623exeext=$exeext 13624 13625# whether the shell understands "unset". 13626lt_unset=$lt_unset 13627 13628# turn spaces into newlines. 13629SP2NL=$lt_lt_SP2NL 13630 13631# turn newlines into spaces. 13632NL2SP=$lt_lt_NL2SP 13633 13634# How to create reloadable object files. 13635reload_flag=$lt_reload_flag 13636reload_cmds=$lt_reload_cmds 13637 13638# An object symbol dumper. 13639OBJDUMP=$lt_OBJDUMP 13640 13641# Method to check whether dependent libraries are shared objects. 13642deplibs_check_method=$lt_deplibs_check_method 13643 13644# Command to use when deplibs_check_method == "file_magic". 13645file_magic_cmd=$lt_file_magic_cmd 13646 13647# The archiver. 13648AR=$lt_AR 13649AR_FLAGS=$lt_AR_FLAGS 13650 13651# A symbol stripping program. 13652STRIP=$lt_STRIP 13653 13654# Commands used to install an old-style archive. 13655RANLIB=$lt_RANLIB 13656old_postinstall_cmds=$lt_old_postinstall_cmds 13657old_postuninstall_cmds=$lt_old_postuninstall_cmds 13658 13659# A C compiler. 13660LTCC=$lt_CC 13661 13662# LTCC compiler flags. 13663LTCFLAGS=$lt_CFLAGS 13664 13665# Take the output of nm and produce a listing of raw symbols and C names. 13666global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 13667 13668# Transform the output of nm in a proper C declaration. 13669global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 13670 13671# Transform the output of nm in a C name address pair. 13672global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 13673 13674# Transform the output of nm in a C name address pair when lib prefix is needed. 13675global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 13676 13677# The name of the directory that contains temporary libtool files. 13678objdir=$objdir 13679 13680# Shell to use when invoking shell scripts. 13681SHELL=$lt_SHELL 13682 13683# An echo program that does not interpret backslashes. 13684ECHO=$lt_ECHO 13685 13686# Used to examine libraries when file_magic_cmd begins with "file". 13687MAGIC_CMD=$MAGIC_CMD 13688 13689# Must we lock files when doing compilation? 13690need_locks=$lt_need_locks 13691 13692# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 13693DSYMUTIL=$lt_DSYMUTIL 13694 13695# Tool to change global to local symbols on Mac OS X. 13696NMEDIT=$lt_NMEDIT 13697 13698# Tool to manipulate fat objects and archives on Mac OS X. 13699LIPO=$lt_LIPO 13700 13701# ldd/readelf like tool for Mach-O binaries on Mac OS X. 13702OTOOL=$lt_OTOOL 13703 13704# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 13705OTOOL64=$lt_OTOOL64 13706 13707# Old archive suffix (normally "a"). 13708libext=$libext 13709 13710# Shared library suffix (normally ".so"). 13711shrext_cmds=$lt_shrext_cmds 13712 13713# The commands to extract the exported symbol list from a shared archive. 13714extract_expsyms_cmds=$lt_extract_expsyms_cmds 13715 13716# Variables whose values should be saved in libtool wrapper scripts and 13717# restored at link time. 13718variables_saved_for_relink=$lt_variables_saved_for_relink 13719 13720# Do we need the "lib" prefix for modules? 13721need_lib_prefix=$need_lib_prefix 13722 13723# Do we need a version for libraries? 13724need_version=$need_version 13725 13726# Library versioning type. 13727version_type=$version_type 13728 13729# Shared library runtime path variable. 13730runpath_var=$runpath_var 13731 13732# Shared library path variable. 13733shlibpath_var=$shlibpath_var 13734 13735# Is shlibpath searched before the hard-coded library search path? 13736shlibpath_overrides_runpath=$shlibpath_overrides_runpath 13737 13738# Format of library name prefix. 13739libname_spec=$lt_libname_spec 13740 13741# List of archive names. First name is the real one, the rest are links. 13742# The last name is the one that the linker finds with -lNAME 13743library_names_spec=$lt_library_names_spec 13744 13745# The coded name of the library, if different from the real name. 13746soname_spec=$lt_soname_spec 13747 13748# Command to use after installation of a shared archive. 13749postinstall_cmds=$lt_postinstall_cmds 13750 13751# Command to use after uninstallation of a shared archive. 13752postuninstall_cmds=$lt_postuninstall_cmds 13753 13754# Commands used to finish a libtool library installation in a directory. 13755finish_cmds=$lt_finish_cmds 13756 13757# As "finish_cmds", except a single script fragment to be evaled but 13758# not shown. 13759finish_eval=$lt_finish_eval 13760 13761# Whether we should hardcode library paths into libraries. 13762hardcode_into_libs=$hardcode_into_libs 13763 13764# Compile-time system search path for libraries. 13765sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 13766 13767# Run-time system search path for libraries. 13768sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 13769 13770# Whether dlopen is supported. 13771dlopen_support=$enable_dlopen 13772 13773# Whether dlopen of programs is supported. 13774dlopen_self=$enable_dlopen_self 13775 13776# Whether dlopen of statically linked programs is supported. 13777dlopen_self_static=$enable_dlopen_self_static 13778 13779# Commands to strip libraries. 13780old_striplib=$lt_old_striplib 13781striplib=$lt_striplib 13782 13783 13784# The linker used to build libraries. 13785LD=$lt_LD 13786 13787# Commands used to build an old-style archive. 13788old_archive_cmds=$lt_old_archive_cmds 13789 13790# A language specific compiler. 13791CC=$lt_compiler 13792 13793# Is the compiler the GNU compiler? 13794with_gcc=$GCC 13795 13796# Compiler flag to turn off builtin functions. 13797no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 13798 13799# How to pass a linker flag through the compiler. 13800wl=$lt_lt_prog_compiler_wl 13801 13802# Additional compiler flags for building library objects. 13803pic_flag=$lt_lt_prog_compiler_pic 13804 13805# Compiler flag to prevent dynamic linking. 13806link_static_flag=$lt_lt_prog_compiler_static 13807 13808# Does compiler simultaneously support -c and -o options? 13809compiler_c_o=$lt_lt_cv_prog_compiler_c_o 13810 13811# Whether or not to add -lc for building shared libraries. 13812build_libtool_need_lc=$archive_cmds_need_lc 13813 13814# Whether or not to disallow shared libs when runtime libs are static. 13815allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 13816 13817# Compiler flag to allow reflexive dlopens. 13818export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 13819 13820# Compiler flag to generate shared objects directly from archives. 13821whole_archive_flag_spec=$lt_whole_archive_flag_spec 13822 13823# Whether the compiler copes with passing no objects directly. 13824compiler_needs_object=$lt_compiler_needs_object 13825 13826# Create an old-style archive from a shared archive. 13827old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 13828 13829# Create a temporary old-style archive to link instead of a shared archive. 13830old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 13831 13832# Commands used to build a shared archive. 13833archive_cmds=$lt_archive_cmds 13834archive_expsym_cmds=$lt_archive_expsym_cmds 13835 13836# Commands used to build a loadable module if different from building 13837# a shared archive. 13838module_cmds=$lt_module_cmds 13839module_expsym_cmds=$lt_module_expsym_cmds 13840 13841# Whether we are building with GNU ld or not. 13842with_gnu_ld=$lt_with_gnu_ld 13843 13844# Flag that allows shared libraries with undefined symbols to be built. 13845allow_undefined_flag=$lt_allow_undefined_flag 13846 13847# Flag that enforces no undefined symbols. 13848no_undefined_flag=$lt_no_undefined_flag 13849 13850# Flag to hardcode \$libdir into a binary during linking. 13851# This must work even if \$libdir does not exist 13852hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 13853 13854# If ld is used when linking, flag to hardcode \$libdir into a binary 13855# during linking. This must work even if \$libdir does not exist. 13856hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld 13857 13858# Whether we need a single "-rpath" flag with a separated argument. 13859hardcode_libdir_separator=$lt_hardcode_libdir_separator 13860 13861# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 13862# DIR into the resulting binary. 13863hardcode_direct=$hardcode_direct 13864 13865# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 13866# DIR into the resulting binary and the resulting library dependency is 13867# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 13868# library is relocated. 13869hardcode_direct_absolute=$hardcode_direct_absolute 13870 13871# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 13872# into the resulting binary. 13873hardcode_minus_L=$hardcode_minus_L 13874 13875# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 13876# into the resulting binary. 13877hardcode_shlibpath_var=$hardcode_shlibpath_var 13878 13879# Set to "yes" if building a shared library automatically hardcodes DIR 13880# into the library and all subsequent libraries and executables linked 13881# against it. 13882hardcode_automatic=$hardcode_automatic 13883 13884# Set to yes if linker adds runtime paths of dependent libraries 13885# to runtime path list. 13886inherit_rpath=$inherit_rpath 13887 13888# Whether libtool must link a program against all its dependency libraries. 13889link_all_deplibs=$link_all_deplibs 13890 13891# Fix the shell variable \$srcfile for the compiler. 13892fix_srcfile_path=$lt_fix_srcfile_path 13893 13894# Set to "yes" if exported symbols are required. 13895always_export_symbols=$always_export_symbols 13896 13897# The commands to list exported symbols. 13898export_symbols_cmds=$lt_export_symbols_cmds 13899 13900# Symbols that should not be listed in the preloaded symbols. 13901exclude_expsyms=$lt_exclude_expsyms 13902 13903# Symbols that must always be exported. 13904include_expsyms=$lt_include_expsyms 13905 13906# Commands necessary for linking programs (against libraries) with templates. 13907prelink_cmds=$lt_prelink_cmds 13908 13909# Specify filename containing input files. 13910file_list_spec=$lt_file_list_spec 13911 13912# How to hardcode a shared library path into an executable. 13913hardcode_action=$hardcode_action 13914 13915# ### END LIBTOOL CONFIG 13916 13917_LT_EOF 13918 13919 case $host_os in 13920 aix3*) 13921 cat <<\_LT_EOF >> "$cfgfile" 13922# AIX sometimes has problems with the GCC collect2 program. For some 13923# reason, if we set the COLLECT_NAMES environment variable, the problems 13924# vanish in a puff of smoke. 13925if test "X${COLLECT_NAMES+set}" != Xset; then 13926 COLLECT_NAMES= 13927 export COLLECT_NAMES 13928fi 13929_LT_EOF 13930 ;; 13931 esac 13932 13933 13934ltmain="$ac_aux_dir/ltmain.sh" 13935 13936 13937 # We use sed instead of cat because bash on DJGPP gets confused if 13938 # if finds mixed CR/LF and LF-only lines. Since sed operates in 13939 # text mode, it properly converts lines to CR/LF. This bash problem 13940 # is reportedly fixed, but why not run on old versions too? 13941 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ 13942 || (rm -f "$cfgfile"; exit 1) 13943 13944 case $xsi_shell in 13945 yes) 13946 cat << \_LT_EOF >> "$cfgfile" 13947 13948# func_dirname file append nondir_replacement 13949# Compute the dirname of FILE. If nonempty, add APPEND to the result, 13950# otherwise set result to NONDIR_REPLACEMENT. 13951func_dirname () 13952{ 13953 case ${1} in 13954 */*) func_dirname_result="${1%/*}${2}" ;; 13955 * ) func_dirname_result="${3}" ;; 13956 esac 13957} 13958 13959# func_basename file 13960func_basename () 13961{ 13962 func_basename_result="${1##*/}" 13963} 13964 13965# func_dirname_and_basename file append nondir_replacement 13966# perform func_basename and func_dirname in a single function 13967# call: 13968# dirname: Compute the dirname of FILE. If nonempty, 13969# add APPEND to the result, otherwise set result 13970# to NONDIR_REPLACEMENT. 13971# value returned in "$func_dirname_result" 13972# basename: Compute filename of FILE. 13973# value retuned in "$func_basename_result" 13974# Implementation must be kept synchronized with func_dirname 13975# and func_basename. For efficiency, we do not delegate to 13976# those functions but instead duplicate the functionality here. 13977func_dirname_and_basename () 13978{ 13979 case ${1} in 13980 */*) func_dirname_result="${1%/*}${2}" ;; 13981 * ) func_dirname_result="${3}" ;; 13982 esac 13983 func_basename_result="${1##*/}" 13984} 13985 13986# func_stripname prefix suffix name 13987# strip PREFIX and SUFFIX off of NAME. 13988# PREFIX and SUFFIX must not contain globbing or regex special 13989# characters, hashes, percent signs, but SUFFIX may contain a leading 13990# dot (in which case that matches only a dot). 13991func_stripname () 13992{ 13993 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are 13994 # positional parameters, so assign one to ordinary parameter first. 13995 func_stripname_result=${3} 13996 func_stripname_result=${func_stripname_result#"${1}"} 13997 func_stripname_result=${func_stripname_result%"${2}"} 13998} 13999 14000# func_opt_split 14001func_opt_split () 14002{ 14003 func_opt_split_opt=${1%%=*} 14004 func_opt_split_arg=${1#*=} 14005} 14006 14007# func_lo2o object 14008func_lo2o () 14009{ 14010 case ${1} in 14011 *.lo) func_lo2o_result=${1%.lo}.${objext} ;; 14012 *) func_lo2o_result=${1} ;; 14013 esac 14014} 14015 14016# func_xform libobj-or-source 14017func_xform () 14018{ 14019 func_xform_result=${1%.*}.lo 14020} 14021 14022# func_arith arithmetic-term... 14023func_arith () 14024{ 14025 func_arith_result=$(( $* )) 14026} 14027 14028# func_len string 14029# STRING may not start with a hyphen. 14030func_len () 14031{ 14032 func_len_result=${#1} 14033} 14034 14035_LT_EOF 14036 ;; 14037 *) # Bourne compatible functions. 14038 cat << \_LT_EOF >> "$cfgfile" 14039 14040# func_dirname file append nondir_replacement 14041# Compute the dirname of FILE. If nonempty, add APPEND to the result, 14042# otherwise set result to NONDIR_REPLACEMENT. 14043func_dirname () 14044{ 14045 # Extract subdirectory from the argument. 14046 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` 14047 if test "X$func_dirname_result" = "X${1}"; then 14048 func_dirname_result="${3}" 14049 else 14050 func_dirname_result="$func_dirname_result${2}" 14051 fi 14052} 14053 14054# func_basename file 14055func_basename () 14056{ 14057 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` 14058} 14059 14060 14061# func_stripname prefix suffix name 14062# strip PREFIX and SUFFIX off of NAME. 14063# PREFIX and SUFFIX must not contain globbing or regex special 14064# characters, hashes, percent signs, but SUFFIX may contain a leading 14065# dot (in which case that matches only a dot). 14066# func_strip_suffix prefix name 14067func_stripname () 14068{ 14069 case ${2} in 14070 .*) func_stripname_result=`$ECHO "X${3}" \ 14071 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; 14072 *) func_stripname_result=`$ECHO "X${3}" \ 14073 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; 14074 esac 14075} 14076 14077# sed scripts: 14078my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' 14079my_sed_long_arg='1s/^-[^=]*=//' 14080 14081# func_opt_split 14082func_opt_split () 14083{ 14084 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` 14085 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` 14086} 14087 14088# func_lo2o object 14089func_lo2o () 14090{ 14091 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` 14092} 14093 14094# func_xform libobj-or-source 14095func_xform () 14096{ 14097 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` 14098} 14099 14100# func_arith arithmetic-term... 14101func_arith () 14102{ 14103 func_arith_result=`expr "$@"` 14104} 14105 14106# func_len string 14107# STRING may not start with a hyphen. 14108func_len () 14109{ 14110 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` 14111} 14112 14113_LT_EOF 14114esac 14115 14116case $lt_shell_append in 14117 yes) 14118 cat << \_LT_EOF >> "$cfgfile" 14119 14120# func_append var value 14121# Append VALUE to the end of shell variable VAR. 14122func_append () 14123{ 14124 eval "$1+=\$2" 14125} 14126_LT_EOF 14127 ;; 14128 *) 14129 cat << \_LT_EOF >> "$cfgfile" 14130 14131# func_append var value 14132# Append VALUE to the end of shell variable VAR. 14133func_append () 14134{ 14135 eval "$1=\$$1\$2" 14136} 14137 14138_LT_EOF 14139 ;; 14140 esac 14141 14142 14143 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ 14144 || (rm -f "$cfgfile"; exit 1) 14145 14146 mv -f "$cfgfile" "$ofile" || 14147 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 14148 chmod +x "$ofile" 14149 14150 ;; 14151 14152 esac 14153done # for ac_tag 14154 14155 14156as_fn_exit 0 14157_ACEOF 14158ac_clean_files=$ac_clean_files_save 14159 14160test $ac_write_fail = 0 || 14161 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 14162 14163 14164# configure is writing to config.log, and then calls config.status. 14165# config.status does its own redirection, appending to config.log. 14166# Unfortunately, on DOS this fails, as config.log is still kept open 14167# by configure, so config.status won't be able to write to it; its 14168# output is simply discarded. So we exec the FD to /dev/null, 14169# effectively closing config.log, so it can be properly (re)opened and 14170# appended to by config.status. When coming back to configure, we 14171# need to make the FD available again. 14172if test "$no_create" != yes; then 14173 ac_cs_success=: 14174 ac_config_status_args= 14175 test "$silent" = yes && 14176 ac_config_status_args="$ac_config_status_args --quiet" 14177 exec 5>/dev/null 14178 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 14179 exec 5>>config.log 14180 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 14181 # would make configure fail if this is the last instruction. 14182 $ac_cs_success || as_fn_exit 1 14183fi 14184if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 14185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 14186$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 14187fi 14188 14189 14190