1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.67 for ORBit2 2.14.19. 4# 5# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=ORBit2>. 6# 7# 8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 10# Foundation, Inc. 11# 12# 13# This configure script is free software; the Free Software Foundation 14# gives unlimited permission to copy, distribute and modify it. 15## -------------------- ## 16## M4sh Initialization. ## 17## -------------------- ## 18 19# Be more Bourne compatible 20DUALCASE=1; export DUALCASE # for MKS sh 21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 22 emulate sh 23 NULLCMD=: 24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25 # is contrary to our usage. Disable this feature. 26 alias -g '${1+"$@"}'='"$@"' 27 setopt NO_GLOB_SUBST 28else 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 34esac 35fi 36 37 38as_nl=' 39' 40export as_nl 41# Printing a long string crashes Solaris 7 /usr/bin/printf. 42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45# Prefer a ksh shell builtin over an external printf program on Solaris, 46# but without wasting forks for bash or zsh. 47if test -z "$BASH_VERSION$ZSH_VERSION" \ 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='print -r --' 50 as_echo_n='print -rn --' 51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52 as_echo='printf %s\n' 53 as_echo_n='printf %s' 54else 55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 57 as_echo_n='/usr/ucb/echo -n' 58 else 59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 60 as_echo_n_body='eval 61 arg=$1; 62 case $arg in #( 63 *"$as_nl"*) 64 expr "X$arg" : "X\\(.*\\)$as_nl"; 65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 66 esac; 67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 68 ' 69 export as_echo_n_body 70 as_echo_n='sh -c $as_echo_n_body as_echo' 71 fi 72 export as_echo_body 73 as_echo='sh -c $as_echo_body as_echo' 74fi 75 76# The user is always right. 77if test "${PATH_SEPARATOR+set}" != set; then 78 PATH_SEPARATOR=: 79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 81 PATH_SEPARATOR=';' 82 } 83fi 84 85 86# IFS 87# We need space, tab and new line, in precisely that order. Quoting is 88# there to prevent editors from complaining about space-tab. 89# (If _AS_PATH_WALK were called with IFS unset, it would disable word 90# splitting by setting IFS to empty value.) 91IFS=" "" $as_nl" 92 93# Find who we are. Look in the path if we contain no directory separator. 94case $0 in #(( 95 *[\\/]* ) as_myself=$0 ;; 96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 97for as_dir in $PATH 98do 99 IFS=$as_save_IFS 100 test -z "$as_dir" && as_dir=. 101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 102 done 103IFS=$as_save_IFS 104 105 ;; 106esac 107# We did not find ourselves, most probably we were run as `sh COMMAND' 108# in which case we are not to be found in the path. 109if test "x$as_myself" = x; then 110 as_myself=$0 111fi 112if test ! -f "$as_myself"; then 113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 114 exit 1 115fi 116 117# Unset variables that we do not need and which cause bugs (e.g. in 118# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 119# suppresses any "Segmentation fault" message there. '((' could 120# trigger a bug in pdksh 5.2.14. 121for as_var in BASH_ENV ENV MAIL MAILPATH 122do eval test x\${$as_var+set} = xset \ 123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 124done 125PS1='$ ' 126PS2='> ' 127PS4='+ ' 128 129# NLS nuisances. 130LC_ALL=C 131export LC_ALL 132LANGUAGE=C 133export LANGUAGE 134 135# CDPATH. 136(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 137 138if test "x$CONFIG_SHELL" = x; then 139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 140 emulate sh 141 NULLCMD=: 142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 143 # is contrary to our usage. Disable this feature. 144 alias -g '\${1+\"\$@\"}'='\"\$@\"' 145 setopt NO_GLOB_SUBST 146else 147 case \`(set -o) 2>/dev/null\` in #( 148 *posix*) : 149 set -o posix ;; #( 150 *) : 151 ;; 152esac 153fi 154" 155 as_required="as_fn_return () { (exit \$1); } 156as_fn_success () { as_fn_return 0; } 157as_fn_failure () { as_fn_return 1; } 158as_fn_ret_success () { return 0; } 159as_fn_ret_failure () { return 1; } 160 161exitcode=0 162as_fn_success || { exitcode=1; echo as_fn_success failed.; } 163as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 164as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 165as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 166if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 167 168else 169 exitcode=1; echo positional parameters were not saved. 170fi 171test x\$exitcode = x0 || exit 1" 172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 176test \$(( 1 + 1 )) = 2 || exit 1" 177 if (eval "$as_required") 2>/dev/null; then : 178 as_have_required=yes 179else 180 as_have_required=no 181fi 182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 183 184else 185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 186as_found=false 187for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 188do 189 IFS=$as_save_IFS 190 test -z "$as_dir" && as_dir=. 191 as_found=: 192 case $as_dir in #( 193 /*) 194 for as_base in sh bash ksh sh5; do 195 # Try only shells that exist, to save several forks. 196 as_shell=$as_dir/$as_base 197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 199 CONFIG_SHELL=$as_shell as_have_required=yes 200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 201 break 2 202fi 203fi 204 done;; 205 esac 206 as_found=false 207done 208$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 210 CONFIG_SHELL=$SHELL as_have_required=yes 211fi; } 212IFS=$as_save_IFS 213 214 215 if test "x$CONFIG_SHELL" != x; then : 216 # We cannot yet assume a decent shell, so we have to provide a 217 # neutralization value for shells without unset; and this also 218 # works around shells that cannot unset nonexistent variables. 219 BASH_ENV=/dev/null 220 ENV=/dev/null 221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 222 export CONFIG_SHELL 223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 224fi 225 226 if test x$as_have_required = xno; then : 227 $as_echo "$0: This script requires a shell more modern than all" 228 $as_echo "$0: the shells that I found on your system." 229 if test x${ZSH_VERSION+set} = xset ; then 230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 231 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 232 else 233 $as_echo "$0: Please tell bug-autoconf@gnu.org and 234$0: http://bugzilla.gnome.org/enter_bug.cgi?product=ORBit2 235$0: about your system, including any error possibly output 236$0: before this message. Then install a modern shell, or 237$0: manually run the script under such a shell if you do 238$0: have one." 239 fi 240 exit 1 241fi 242fi 243fi 244SHELL=${CONFIG_SHELL-/bin/sh} 245export SHELL 246# Unset more variables known to interfere with behavior of common tools. 247CLICOLOR_FORCE= GREP_OPTIONS= 248unset CLICOLOR_FORCE GREP_OPTIONS 249 250## --------------------- ## 251## M4sh Shell Functions. ## 252## --------------------- ## 253# as_fn_unset VAR 254# --------------- 255# Portably unset VAR. 256as_fn_unset () 257{ 258 { eval $1=; unset $1;} 259} 260as_unset=as_fn_unset 261 262# as_fn_set_status STATUS 263# ----------------------- 264# Set $? to STATUS, without forking. 265as_fn_set_status () 266{ 267 return $1 268} # as_fn_set_status 269 270# as_fn_exit STATUS 271# ----------------- 272# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 273as_fn_exit () 274{ 275 set +e 276 as_fn_set_status $1 277 exit $1 278} # as_fn_exit 279 280# as_fn_mkdir_p 281# ------------- 282# Create "$as_dir" as a directory, including parents if necessary. 283as_fn_mkdir_p () 284{ 285 286 case $as_dir in #( 287 -*) as_dir=./$as_dir;; 288 esac 289 test -d "$as_dir" || eval $as_mkdir_p || { 290 as_dirs= 291 while :; do 292 case $as_dir in #( 293 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 294 *) as_qdir=$as_dir;; 295 esac 296 as_dirs="'$as_qdir' $as_dirs" 297 as_dir=`$as_dirname -- "$as_dir" || 298$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 299 X"$as_dir" : 'X\(//\)[^/]' \| \ 300 X"$as_dir" : 'X\(//\)$' \| \ 301 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 302$as_echo X"$as_dir" | 303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 304 s//\1/ 305 q 306 } 307 /^X\(\/\/\)[^/].*/{ 308 s//\1/ 309 q 310 } 311 /^X\(\/\/\)$/{ 312 s//\1/ 313 q 314 } 315 /^X\(\/\).*/{ 316 s//\1/ 317 q 318 } 319 s/.*/./; q'` 320 test -d "$as_dir" && break 321 done 322 test -z "$as_dirs" || eval "mkdir $as_dirs" 323 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 324 325 326} # as_fn_mkdir_p 327# as_fn_append VAR VALUE 328# ---------------------- 329# Append the text in VALUE to the end of the definition contained in VAR. Take 330# advantage of any shell optimizations that allow amortized linear growth over 331# repeated appends, instead of the typical quadratic growth present in naive 332# implementations. 333if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 334 eval 'as_fn_append () 335 { 336 eval $1+=\$2 337 }' 338else 339 as_fn_append () 340 { 341 eval $1=\$$1\$2 342 } 343fi # as_fn_append 344 345# as_fn_arith ARG... 346# ------------------ 347# Perform arithmetic evaluation on the ARGs, and store the result in the 348# global $as_val. Take advantage of shells that can avoid forks. The arguments 349# must be portable across $(()) and expr. 350if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 351 eval 'as_fn_arith () 352 { 353 as_val=$(( $* )) 354 }' 355else 356 as_fn_arith () 357 { 358 as_val=`expr "$@" || test $? -eq 1` 359 } 360fi # as_fn_arith 361 362 363# as_fn_error STATUS ERROR [LINENO LOG_FD] 364# ---------------------------------------- 365# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 366# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 367# script with STATUS, using 1 if that was 0. 368as_fn_error () 369{ 370 as_status=$1; test $as_status -eq 0 && as_status=1 371 if test "$4"; then 372 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 373 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 374 fi 375 $as_echo "$as_me: error: $2" >&2 376 as_fn_exit $as_status 377} # as_fn_error 378 379if expr a : '\(a\)' >/dev/null 2>&1 && 380 test "X`expr 00001 : '.*\(...\)'`" = X001; then 381 as_expr=expr 382else 383 as_expr=false 384fi 385 386if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 387 as_basename=basename 388else 389 as_basename=false 390fi 391 392if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 393 as_dirname=dirname 394else 395 as_dirname=false 396fi 397 398as_me=`$as_basename -- "$0" || 399$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 400 X"$0" : 'X\(//\)$' \| \ 401 X"$0" : 'X\(/\)' \| . 2>/dev/null || 402$as_echo X/"$0" | 403 sed '/^.*\/\([^/][^/]*\)\/*$/{ 404 s//\1/ 405 q 406 } 407 /^X\/\(\/\/\)$/{ 408 s//\1/ 409 q 410 } 411 /^X\/\(\/\).*/{ 412 s//\1/ 413 q 414 } 415 s/.*/./; q'` 416 417# Avoid depending upon Character Ranges. 418as_cr_letters='abcdefghijklmnopqrstuvwxyz' 419as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 420as_cr_Letters=$as_cr_letters$as_cr_LETTERS 421as_cr_digits='0123456789' 422as_cr_alnum=$as_cr_Letters$as_cr_digits 423 424 425 as_lineno_1=$LINENO as_lineno_1a=$LINENO 426 as_lineno_2=$LINENO as_lineno_2a=$LINENO 427 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 428 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 429 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 430 sed -n ' 431 p 432 /[$]LINENO/= 433 ' <$as_myself | 434 sed ' 435 s/[$]LINENO.*/&-/ 436 t lineno 437 b 438 :lineno 439 N 440 :loop 441 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 442 t loop 443 s/-\n.*// 444 ' >$as_me.lineno && 445 chmod +x "$as_me.lineno" || 446 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 447 448 # Don't try to exec as it changes $[0], causing all sort of problems 449 # (the dirname of $[0] is not the place where we might find the 450 # original and so on. Autoconf is especially sensitive to this). 451 . "./$as_me.lineno" 452 # Exit status is that of the last command. 453 exit 454} 455 456ECHO_C= ECHO_N= ECHO_T= 457case `echo -n x` in #((((( 458-n*) 459 case `echo 'xy\c'` in 460 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 461 xy) ECHO_C='\c';; 462 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 463 ECHO_T=' ';; 464 esac;; 465*) 466 ECHO_N='-n';; 467esac 468 469rm -f conf$$ conf$$.exe conf$$.file 470if test -d conf$$.dir; then 471 rm -f conf$$.dir/conf$$.file 472else 473 rm -f conf$$.dir 474 mkdir conf$$.dir 2>/dev/null 475fi 476if (echo >conf$$.file) 2>/dev/null; then 477 if ln -s conf$$.file conf$$ 2>/dev/null; then 478 as_ln_s='ln -s' 479 # ... but there are two gotchas: 480 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 481 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 482 # In both cases, we have to default to `cp -p'. 483 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 484 as_ln_s='cp -p' 485 elif ln conf$$.file conf$$ 2>/dev/null; then 486 as_ln_s=ln 487 else 488 as_ln_s='cp -p' 489 fi 490else 491 as_ln_s='cp -p' 492fi 493rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 494rmdir conf$$.dir 2>/dev/null 495 496if mkdir -p . 2>/dev/null; then 497 as_mkdir_p='mkdir -p "$as_dir"' 498else 499 test -d ./-p && rmdir ./-p 500 as_mkdir_p=false 501fi 502 503if test -x / >/dev/null 2>&1; then 504 as_test_x='test -x' 505else 506 if ls -dL / >/dev/null 2>&1; then 507 as_ls_L_option=L 508 else 509 as_ls_L_option= 510 fi 511 as_test_x=' 512 eval sh -c '\'' 513 if test -d "$1"; then 514 test -d "$1/."; 515 else 516 case $1 in #( 517 -*)set "./$1";; 518 esac; 519 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 520 ???[sx]*):;;*)false;;esac;fi 521 '\'' sh 522 ' 523fi 524as_executable_p=$as_test_x 525 526# Sed expression to map a string onto a valid CPP name. 527as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 528 529# Sed expression to map a string onto a valid variable name. 530as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 531 532 533 534# Check that we are running under the correct shell. 535SHELL=${CONFIG_SHELL-/bin/sh} 536 537case X$lt_ECHO in 538X*--fallback-echo) 539 # Remove one level of quotation (which was required for Make). 540 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` 541 ;; 542esac 543 544ECHO=${lt_ECHO-echo} 545if test "X$1" = X--no-reexec; then 546 # Discard the --no-reexec flag, and continue. 547 shift 548elif test "X$1" = X--fallback-echo; then 549 # Avoid inline document here, it may be left over 550 : 551elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then 552 # Yippee, $ECHO works! 553 : 554else 555 # Restart under the correct shell. 556 exec $SHELL "$0" --no-reexec ${1+"$@"} 557fi 558 559if test "X$1" = X--fallback-echo; then 560 # used as fallback echo 561 shift 562 cat <<_LT_EOF 563$* 564_LT_EOF 565 exit 0 566fi 567 568# The HP-UX ksh and POSIX shell print the target directory to stdout 569# if CDPATH is set. 570(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 571 572if test -z "$lt_ECHO"; then 573 if test "X${echo_test_string+set}" != Xset; then 574 # find a string as large as possible, as long as the shell can cope with it 575 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do 576 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 577 if { echo_test_string=`eval $cmd`; } 2>/dev/null && 578 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null 579 then 580 break 581 fi 582 done 583 fi 584 585 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && 586 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && 587 test "X$echo_testing_string" = "X$echo_test_string"; then 588 : 589 else 590 # The Solaris, AIX, and Digital Unix default echo programs unquote 591 # backslashes. This makes it impossible to quote backslashes using 592 # echo "$something" | sed 's/\\/\\\\/g' 593 # 594 # So, first we look for a working echo in the user's PATH. 595 596 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 597 for dir in $PATH /usr/ucb; do 598 IFS="$lt_save_ifs" 599 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && 600 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && 601 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && 602 test "X$echo_testing_string" = "X$echo_test_string"; then 603 ECHO="$dir/echo" 604 break 605 fi 606 done 607 IFS="$lt_save_ifs" 608 609 if test "X$ECHO" = Xecho; then 610 # We didn't find a better echo, so look for alternatives. 611 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && 612 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && 613 test "X$echo_testing_string" = "X$echo_test_string"; then 614 # This shell has a builtin print -r that does the trick. 615 ECHO='print -r' 616 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && 617 test "X$CONFIG_SHELL" != X/bin/ksh; then 618 # If we have ksh, try running configure again with it. 619 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 620 export ORIGINAL_CONFIG_SHELL 621 CONFIG_SHELL=/bin/ksh 622 export CONFIG_SHELL 623 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} 624 else 625 # Try using printf. 626 ECHO='printf %s\n' 627 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && 628 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && 629 test "X$echo_testing_string" = "X$echo_test_string"; then 630 # Cool, printf works 631 : 632 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 633 test "X$echo_testing_string" = 'X\t' && 634 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 635 test "X$echo_testing_string" = "X$echo_test_string"; then 636 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL 637 export CONFIG_SHELL 638 SHELL="$CONFIG_SHELL" 639 export SHELL 640 ECHO="$CONFIG_SHELL $0 --fallback-echo" 641 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 642 test "X$echo_testing_string" = 'X\t' && 643 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 644 test "X$echo_testing_string" = "X$echo_test_string"; then 645 ECHO="$CONFIG_SHELL $0 --fallback-echo" 646 else 647 # maybe with a smaller string... 648 prev=: 649 650 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do 651 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null 652 then 653 break 654 fi 655 prev="$cmd" 656 done 657 658 if test "$prev" != 'sed 50q "$0"'; then 659 echo_test_string=`eval $prev` 660 export echo_test_string 661 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} 662 else 663 # Oops. We lost completely, so just stick with echo. 664 ECHO=echo 665 fi 666 fi 667 fi 668 fi 669 fi 670fi 671 672# Copy echo and quote the copy suitably for passing to libtool from 673# the Makefile, instead of quoting the original, which is used later. 674lt_ECHO=$ECHO 675if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then 676 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" 677fi 678 679 680 681 682test -n "$DJDIR" || exec 7<&0 </dev/null 683exec 6>&1 684 685# Name of the host. 686# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 687# so uname gets run too. 688ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 689 690# 691# Initializations. 692# 693ac_default_prefix=/usr/local 694ac_clean_files= 695ac_config_libobj_dir=. 696LIBOBJS= 697cross_compiling=no 698subdirs= 699MFLAGS= 700MAKEFLAGS= 701 702# Identity of this package. 703PACKAGE_NAME='ORBit2' 704PACKAGE_TARNAME='ORBit2' 705PACKAGE_VERSION='2.14.19' 706PACKAGE_STRING='ORBit2 2.14.19' 707PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=ORBit2' 708PACKAGE_URL='' 709 710# Factoring default headers for most tests. 711ac_includes_default="\ 712#include <stdio.h> 713#ifdef HAVE_SYS_TYPES_H 714# include <sys/types.h> 715#endif 716#ifdef HAVE_SYS_STAT_H 717# include <sys/stat.h> 718#endif 719#ifdef STDC_HEADERS 720# include <stdlib.h> 721# include <stddef.h> 722#else 723# ifdef HAVE_STDLIB_H 724# include <stdlib.h> 725# endif 726#endif 727#ifdef HAVE_STRING_H 728# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 729# include <memory.h> 730# endif 731# include <string.h> 732#endif 733#ifdef HAVE_STRINGS_H 734# include <strings.h> 735#endif 736#ifdef HAVE_INTTYPES_H 737# include <inttypes.h> 738#endif 739#ifdef HAVE_STDINT_H 740# include <stdint.h> 741#endif 742#ifdef HAVE_UNISTD_H 743# include <unistd.h> 744#endif" 745 746ac_subst_vars='am__EXEEXT_FALSE 747am__EXEEXT_TRUE 748LTLIBOBJS 749LIBOBJS 750GTK_DOC_USE_REBASE_FALSE 751GTK_DOC_USE_REBASE_TRUE 752GTK_DOC_USE_LIBTOOL_FALSE 753GTK_DOC_USE_LIBTOOL_TRUE 754GTK_DOC_BUILD_PDF_FALSE 755GTK_DOC_BUILD_PDF_TRUE 756GTK_DOC_BUILD_HTML_FALSE 757GTK_DOC_BUILD_HTML_TRUE 758ENABLE_GTK_DOC_FALSE 759ENABLE_GTK_DOC_TRUE 760HTML_DIR 761GTKDOC_MKPDF 762GTKDOC_REBASE 763GTKDOC_CHECK 764LINC_LIBS 765LINC_CFLAGS 766DISABLE_DEPRECATED_CFLAGS 767pkglibdir 768WARN_CFLAGS 769ORBIT_ALIGNOF_CORBA_POINTER 770ORBIT_ALIGNOF_CORBA_STRUCT 771ORBIT_ALIGNOF_CORBA_LONG_DOUBLE 772ORBIT_ALIGNOF_CORBA_DOUBLE 773ORBIT_ALIGNOF_CORBA_FLOAT 774ORBIT_ALIGNOF_CORBA_LONG_LONG 775ORBIT_ALIGNOF_CORBA_LONG 776ORBIT_ALIGNOF_CORBA_SHORT 777ORBIT_ALIGNOF_CORBA_WCHAR 778ORBIT_ALIGNOF_CORBA_CHAR 779ORBIT_ALIGNOF_CORBA_BOOLEAN 780ORBIT_ALIGNOF_CORBA_OCTET 781ORBIT_NAME_LIBS 782ORBIT_NAME_CFLAGS 783ORBIT_IDL_LIBS 784ORBIT_IDL_CFLAGS 785ORBIT_LIBS 786ORBIT_CFLAGS 787LOCAL_LINC_CFLAGS 788LOCAL_LINC_LIBS 789PKG_CONFIG_LIBDIR 790PKG_CONFIG_PATH 791PKG_CONFIG 792LIBIDL_REQUIRED 793GLIB_REQUIRED 794IDL_COMPILER 795ENABLE_HTTP_FALSE 796ENABLE_HTTP_TRUE 797MAINT 798MAINTAINER_MODE_FALSE 799MAINTAINER_MODE_TRUE 800CPP 801OTOOL64 802OTOOL 803LIPO 804NMEDIT 805DSYMUTIL 806lt_ECHO 807RANLIB 808AR 809LN_S 810NM 811ac_ct_DUMPBIN 812DUMPBIN 813LD 814FGREP 815EGREP 816GREP 817SED 818LIBTOOL 819OBJDUMP 820DLLTOOL 821AS 822am__fastdepCC_FALSE 823am__fastdepCC_TRUE 824CCDEPMODE 825AMDEPBACKSLASH 826AMDEP_FALSE 827AMDEP_TRUE 828am__quote 829am__include 830DEPDIR 831OBJEXT 832EXEEXT 833ac_ct_CC 834CPPFLAGS 835LDFLAGS 836CFLAGS 837CC 838MINGW_LDFLAGS 839LIBM 840OS_WIN32_FALSE 841OS_WIN32_TRUE 842host_os 843host_vendor 844host_cpu 845host 846build_os 847build_vendor 848build_cpu 849build 850am__untar 851am__tar 852AMTAR 853am__leading_dot 854SET_MAKE 855AWK 856mkdir_p 857MKDIR_P 858INSTALL_STRIP_PROGRAM 859STRIP 860install_sh 861MAKEINFO 862AUTOHEADER 863AUTOMAKE 864AUTOCONF 865ACLOCAL 866VERSION 867PACKAGE 868CYGPATH_W 869am__isrc 870INSTALL_DATA 871INSTALL_SCRIPT 872INSTALL_PROGRAM 873ORBIT_SERIAL 874ORBIT_VERSION 875ORBIT_MICRO_VERSION 876ORBIT_MINOR_VERSION 877ORBIT_MAJOR_VERSION 878LT_VERSION 879target_alias 880host_alias 881build_alias 882LIBS 883ECHO_T 884ECHO_N 885ECHO_C 886DEFS 887mandir 888localedir 889libdir 890psdir 891pdfdir 892dvidir 893htmldir 894infodir 895docdir 896oldincludedir 897includedir 898localstatedir 899sharedstatedir 900sysconfdir 901datadir 902datarootdir 903libexecdir 904sbindir 905bindir 906program_transform_name 907prefix 908exec_prefix 909PACKAGE_URL 910PACKAGE_BUGREPORT 911PACKAGE_STRING 912PACKAGE_VERSION 913PACKAGE_TARNAME 914PACKAGE_NAME 915PATH_SEPARATOR 916SHELL' 917ac_subst_files='' 918ac_user_opts=' 919enable_option_checking 920enable_dependency_tracking 921enable_shared 922enable_static 923with_pic 924enable_fast_install 925with_gnu_ld 926enable_libtool_lock 927enable_maintainer_mode 928enable_http 929enable_compile_warnings 930enable_debug 931enable_purify 932with_idl_compiler 933with_html_dir 934enable_gtk_doc 935enable_gtk_doc_html 936enable_gtk_doc_pdf 937' 938 ac_precious_vars='build_alias 939host_alias 940target_alias 941CC 942CFLAGS 943LDFLAGS 944LIBS 945CPPFLAGS 946CPP 947PKG_CONFIG 948PKG_CONFIG_PATH 949PKG_CONFIG_LIBDIR 950ORBIT_CFLAGS 951ORBIT_LIBS 952ORBIT_IDL_CFLAGS 953ORBIT_IDL_LIBS 954ORBIT_NAME_CFLAGS 955ORBIT_NAME_LIBS 956LINC_CFLAGS 957LINC_LIBS' 958 959 960# Initialize some variables set by options. 961ac_init_help= 962ac_init_version=false 963ac_unrecognized_opts= 964ac_unrecognized_sep= 965# The variables have the same names as the options, with 966# dashes changed to underlines. 967cache_file=/dev/null 968exec_prefix=NONE 969no_create= 970no_recursion= 971prefix=NONE 972program_prefix=NONE 973program_suffix=NONE 974program_transform_name=s,x,x, 975silent= 976site= 977srcdir= 978verbose= 979x_includes=NONE 980x_libraries=NONE 981 982# Installation directory options. 983# These are left unexpanded so users can "make install exec_prefix=/foo" 984# and all the variables that are supposed to be based on exec_prefix 985# by default will actually change. 986# Use braces instead of parens because sh, perl, etc. also accept them. 987# (The list follows the same order as the GNU Coding Standards.) 988bindir='${exec_prefix}/bin' 989sbindir='${exec_prefix}/sbin' 990libexecdir='${exec_prefix}/libexec' 991datarootdir='${prefix}/share' 992datadir='${datarootdir}' 993sysconfdir='${prefix}/etc' 994sharedstatedir='${prefix}/com' 995localstatedir='${prefix}/var' 996includedir='${prefix}/include' 997oldincludedir='/usr/include' 998docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 999infodir='${datarootdir}/info' 1000htmldir='${docdir}' 1001dvidir='${docdir}' 1002pdfdir='${docdir}' 1003psdir='${docdir}' 1004libdir='${exec_prefix}/lib' 1005localedir='${datarootdir}/locale' 1006mandir='${datarootdir}/man' 1007 1008ac_prev= 1009ac_dashdash= 1010for ac_option 1011do 1012 # If the previous option needs an argument, assign it. 1013 if test -n "$ac_prev"; then 1014 eval $ac_prev=\$ac_option 1015 ac_prev= 1016 continue 1017 fi 1018 1019 case $ac_option in 1020 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1021 *=) ac_optarg= ;; 1022 *) ac_optarg=yes ;; 1023 esac 1024 1025 # Accept the important Cygnus configure options, so we can diagnose typos. 1026 1027 case $ac_dashdash$ac_option in 1028 --) 1029 ac_dashdash=yes ;; 1030 1031 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1032 ac_prev=bindir ;; 1033 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1034 bindir=$ac_optarg ;; 1035 1036 -build | --build | --buil | --bui | --bu) 1037 ac_prev=build_alias ;; 1038 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1039 build_alias=$ac_optarg ;; 1040 1041 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1042 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1043 ac_prev=cache_file ;; 1044 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1045 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1046 cache_file=$ac_optarg ;; 1047 1048 --config-cache | -C) 1049 cache_file=config.cache ;; 1050 1051 -datadir | --datadir | --datadi | --datad) 1052 ac_prev=datadir ;; 1053 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1054 datadir=$ac_optarg ;; 1055 1056 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1057 | --dataroo | --dataro | --datar) 1058 ac_prev=datarootdir ;; 1059 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1060 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1061 datarootdir=$ac_optarg ;; 1062 1063 -disable-* | --disable-*) 1064 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1065 # Reject names that are not valid shell variable names. 1066 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1067 as_fn_error $? "invalid feature name: $ac_useropt" 1068 ac_useropt_orig=$ac_useropt 1069 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1070 case $ac_user_opts in 1071 *" 1072"enable_$ac_useropt" 1073"*) ;; 1074 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1075 ac_unrecognized_sep=', ';; 1076 esac 1077 eval enable_$ac_useropt=no ;; 1078 1079 -docdir | --docdir | --docdi | --doc | --do) 1080 ac_prev=docdir ;; 1081 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1082 docdir=$ac_optarg ;; 1083 1084 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1085 ac_prev=dvidir ;; 1086 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1087 dvidir=$ac_optarg ;; 1088 1089 -enable-* | --enable-*) 1090 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1091 # Reject names that are not valid shell variable names. 1092 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1093 as_fn_error $? "invalid feature name: $ac_useropt" 1094 ac_useropt_orig=$ac_useropt 1095 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1096 case $ac_user_opts in 1097 *" 1098"enable_$ac_useropt" 1099"*) ;; 1100 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1101 ac_unrecognized_sep=', ';; 1102 esac 1103 eval enable_$ac_useropt=\$ac_optarg ;; 1104 1105 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1106 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1107 | --exec | --exe | --ex) 1108 ac_prev=exec_prefix ;; 1109 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1110 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1111 | --exec=* | --exe=* | --ex=*) 1112 exec_prefix=$ac_optarg ;; 1113 1114 -gas | --gas | --ga | --g) 1115 # Obsolete; use --with-gas. 1116 with_gas=yes ;; 1117 1118 -help | --help | --hel | --he | -h) 1119 ac_init_help=long ;; 1120 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1121 ac_init_help=recursive ;; 1122 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1123 ac_init_help=short ;; 1124 1125 -host | --host | --hos | --ho) 1126 ac_prev=host_alias ;; 1127 -host=* | --host=* | --hos=* | --ho=*) 1128 host_alias=$ac_optarg ;; 1129 1130 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1131 ac_prev=htmldir ;; 1132 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1133 | --ht=*) 1134 htmldir=$ac_optarg ;; 1135 1136 -includedir | --includedir | --includedi | --included | --include \ 1137 | --includ | --inclu | --incl | --inc) 1138 ac_prev=includedir ;; 1139 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1140 | --includ=* | --inclu=* | --incl=* | --inc=*) 1141 includedir=$ac_optarg ;; 1142 1143 -infodir | --infodir | --infodi | --infod | --info | --inf) 1144 ac_prev=infodir ;; 1145 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1146 infodir=$ac_optarg ;; 1147 1148 -libdir | --libdir | --libdi | --libd) 1149 ac_prev=libdir ;; 1150 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1151 libdir=$ac_optarg ;; 1152 1153 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1154 | --libexe | --libex | --libe) 1155 ac_prev=libexecdir ;; 1156 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1157 | --libexe=* | --libex=* | --libe=*) 1158 libexecdir=$ac_optarg ;; 1159 1160 -localedir | --localedir | --localedi | --localed | --locale) 1161 ac_prev=localedir ;; 1162 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1163 localedir=$ac_optarg ;; 1164 1165 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1166 | --localstate | --localstat | --localsta | --localst | --locals) 1167 ac_prev=localstatedir ;; 1168 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1169 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1170 localstatedir=$ac_optarg ;; 1171 1172 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1173 ac_prev=mandir ;; 1174 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1175 mandir=$ac_optarg ;; 1176 1177 -nfp | --nfp | --nf) 1178 # Obsolete; use --without-fp. 1179 with_fp=no ;; 1180 1181 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1182 | --no-cr | --no-c | -n) 1183 no_create=yes ;; 1184 1185 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1186 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1187 no_recursion=yes ;; 1188 1189 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1190 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1191 | --oldin | --oldi | --old | --ol | --o) 1192 ac_prev=oldincludedir ;; 1193 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1194 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1195 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1196 oldincludedir=$ac_optarg ;; 1197 1198 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1199 ac_prev=prefix ;; 1200 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1201 prefix=$ac_optarg ;; 1202 1203 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1204 | --program-pre | --program-pr | --program-p) 1205 ac_prev=program_prefix ;; 1206 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1207 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1208 program_prefix=$ac_optarg ;; 1209 1210 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1211 | --program-suf | --program-su | --program-s) 1212 ac_prev=program_suffix ;; 1213 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1214 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1215 program_suffix=$ac_optarg ;; 1216 1217 -program-transform-name | --program-transform-name \ 1218 | --program-transform-nam | --program-transform-na \ 1219 | --program-transform-n | --program-transform- \ 1220 | --program-transform | --program-transfor \ 1221 | --program-transfo | --program-transf \ 1222 | --program-trans | --program-tran \ 1223 | --progr-tra | --program-tr | --program-t) 1224 ac_prev=program_transform_name ;; 1225 -program-transform-name=* | --program-transform-name=* \ 1226 | --program-transform-nam=* | --program-transform-na=* \ 1227 | --program-transform-n=* | --program-transform-=* \ 1228 | --program-transform=* | --program-transfor=* \ 1229 | --program-transfo=* | --program-transf=* \ 1230 | --program-trans=* | --program-tran=* \ 1231 | --progr-tra=* | --program-tr=* | --program-t=*) 1232 program_transform_name=$ac_optarg ;; 1233 1234 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1235 ac_prev=pdfdir ;; 1236 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1237 pdfdir=$ac_optarg ;; 1238 1239 -psdir | --psdir | --psdi | --psd | --ps) 1240 ac_prev=psdir ;; 1241 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1242 psdir=$ac_optarg ;; 1243 1244 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1245 | -silent | --silent | --silen | --sile | --sil) 1246 silent=yes ;; 1247 1248 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1249 ac_prev=sbindir ;; 1250 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1251 | --sbi=* | --sb=*) 1252 sbindir=$ac_optarg ;; 1253 1254 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1255 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1256 | --sharedst | --shareds | --shared | --share | --shar \ 1257 | --sha | --sh) 1258 ac_prev=sharedstatedir ;; 1259 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1260 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1261 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1262 | --sha=* | --sh=*) 1263 sharedstatedir=$ac_optarg ;; 1264 1265 -site | --site | --sit) 1266 ac_prev=site ;; 1267 -site=* | --site=* | --sit=*) 1268 site=$ac_optarg ;; 1269 1270 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1271 ac_prev=srcdir ;; 1272 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1273 srcdir=$ac_optarg ;; 1274 1275 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1276 | --syscon | --sysco | --sysc | --sys | --sy) 1277 ac_prev=sysconfdir ;; 1278 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1279 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1280 sysconfdir=$ac_optarg ;; 1281 1282 -target | --target | --targe | --targ | --tar | --ta | --t) 1283 ac_prev=target_alias ;; 1284 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1285 target_alias=$ac_optarg ;; 1286 1287 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1288 verbose=yes ;; 1289 1290 -version | --version | --versio | --versi | --vers | -V) 1291 ac_init_version=: ;; 1292 1293 -with-* | --with-*) 1294 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1295 # Reject names that are not valid shell variable names. 1296 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1297 as_fn_error $? "invalid package name: $ac_useropt" 1298 ac_useropt_orig=$ac_useropt 1299 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1300 case $ac_user_opts in 1301 *" 1302"with_$ac_useropt" 1303"*) ;; 1304 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1305 ac_unrecognized_sep=', ';; 1306 esac 1307 eval with_$ac_useropt=\$ac_optarg ;; 1308 1309 -without-* | --without-*) 1310 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1311 # Reject names that are not valid shell variable names. 1312 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1313 as_fn_error $? "invalid package name: $ac_useropt" 1314 ac_useropt_orig=$ac_useropt 1315 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1316 case $ac_user_opts in 1317 *" 1318"with_$ac_useropt" 1319"*) ;; 1320 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1321 ac_unrecognized_sep=', ';; 1322 esac 1323 eval with_$ac_useropt=no ;; 1324 1325 --x) 1326 # Obsolete; use --with-x. 1327 with_x=yes ;; 1328 1329 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1330 | --x-incl | --x-inc | --x-in | --x-i) 1331 ac_prev=x_includes ;; 1332 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1333 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1334 x_includes=$ac_optarg ;; 1335 1336 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1337 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1338 ac_prev=x_libraries ;; 1339 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1340 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1341 x_libraries=$ac_optarg ;; 1342 1343 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1344Try \`$0 --help' for more information" 1345 ;; 1346 1347 *=*) 1348 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1349 # Reject names that are not valid shell variable names. 1350 case $ac_envvar in #( 1351 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1352 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1353 esac 1354 eval $ac_envvar=\$ac_optarg 1355 export $ac_envvar ;; 1356 1357 *) 1358 # FIXME: should be removed in autoconf 3.0. 1359 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1360 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1361 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1362 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1363 ;; 1364 1365 esac 1366done 1367 1368if test -n "$ac_prev"; then 1369 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1370 as_fn_error $? "missing argument to $ac_option" 1371fi 1372 1373if test -n "$ac_unrecognized_opts"; then 1374 case $enable_option_checking in 1375 no) ;; 1376 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1377 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1378 esac 1379fi 1380 1381# Check all directory arguments for consistency. 1382for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1383 datadir sysconfdir sharedstatedir localstatedir includedir \ 1384 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1385 libdir localedir mandir 1386do 1387 eval ac_val=\$$ac_var 1388 # Remove trailing slashes. 1389 case $ac_val in 1390 */ ) 1391 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1392 eval $ac_var=\$ac_val;; 1393 esac 1394 # Be sure to have absolute directory names. 1395 case $ac_val in 1396 [\\/$]* | ?:[\\/]* ) continue;; 1397 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1398 esac 1399 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1400done 1401 1402# There might be people who depend on the old broken behavior: `$host' 1403# used to hold the argument of --host etc. 1404# FIXME: To remove some day. 1405build=$build_alias 1406host=$host_alias 1407target=$target_alias 1408 1409# FIXME: To remove some day. 1410if test "x$host_alias" != x; then 1411 if test "x$build_alias" = x; then 1412 cross_compiling=maybe 1413 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1414 If a cross compiler is detected then cross compile mode will be used" >&2 1415 elif test "x$build_alias" != "x$host_alias"; then 1416 cross_compiling=yes 1417 fi 1418fi 1419 1420ac_tool_prefix= 1421test -n "$host_alias" && ac_tool_prefix=$host_alias- 1422 1423test "$silent" = yes && exec 6>/dev/null 1424 1425 1426ac_pwd=`pwd` && test -n "$ac_pwd" && 1427ac_ls_di=`ls -di .` && 1428ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1429 as_fn_error $? "working directory cannot be determined" 1430test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1431 as_fn_error $? "pwd does not report name of working directory" 1432 1433 1434# Find the source files, if location was not specified. 1435if test -z "$srcdir"; then 1436 ac_srcdir_defaulted=yes 1437 # Try the directory containing this script, then the parent directory. 1438 ac_confdir=`$as_dirname -- "$as_myself" || 1439$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1440 X"$as_myself" : 'X\(//\)[^/]' \| \ 1441 X"$as_myself" : 'X\(//\)$' \| \ 1442 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1443$as_echo X"$as_myself" | 1444 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1445 s//\1/ 1446 q 1447 } 1448 /^X\(\/\/\)[^/].*/{ 1449 s//\1/ 1450 q 1451 } 1452 /^X\(\/\/\)$/{ 1453 s//\1/ 1454 q 1455 } 1456 /^X\(\/\).*/{ 1457 s//\1/ 1458 q 1459 } 1460 s/.*/./; q'` 1461 srcdir=$ac_confdir 1462 if test ! -r "$srcdir/$ac_unique_file"; then 1463 srcdir=.. 1464 fi 1465else 1466 ac_srcdir_defaulted=no 1467fi 1468if test ! -r "$srcdir/$ac_unique_file"; then 1469 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1470 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1471fi 1472ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1473ac_abs_confdir=`( 1474 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1475 pwd)` 1476# When building in place, set srcdir=. 1477if test "$ac_abs_confdir" = "$ac_pwd"; then 1478 srcdir=. 1479fi 1480# Remove unnecessary trailing slashes from srcdir. 1481# Double slashes in file names in object file debugging info 1482# mess up M-x gdb in Emacs. 1483case $srcdir in 1484*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1485esac 1486for ac_var in $ac_precious_vars; do 1487 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1488 eval ac_env_${ac_var}_value=\$${ac_var} 1489 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1490 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1491done 1492 1493# 1494# Report the --help message. 1495# 1496if test "$ac_init_help" = "long"; then 1497 # Omit some internal or obsolete options to make the list less imposing. 1498 # This message is too long to be a string in the A/UX 3.1 sh. 1499 cat <<_ACEOF 1500\`configure' configures ORBit2 2.14.19 to adapt to many kinds of systems. 1501 1502Usage: $0 [OPTION]... [VAR=VALUE]... 1503 1504To assign environment variables (e.g., CC, CFLAGS...), specify them as 1505VAR=VALUE. See below for descriptions of some of the useful variables. 1506 1507Defaults for the options are specified in brackets. 1508 1509Configuration: 1510 -h, --help display this help and exit 1511 --help=short display options specific to this package 1512 --help=recursive display the short help of all the included packages 1513 -V, --version display version information and exit 1514 -q, --quiet, --silent do not print \`checking ...' messages 1515 --cache-file=FILE cache test results in FILE [disabled] 1516 -C, --config-cache alias for \`--cache-file=config.cache' 1517 -n, --no-create do not create output files 1518 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1519 1520Installation directories: 1521 --prefix=PREFIX install architecture-independent files in PREFIX 1522 [$ac_default_prefix] 1523 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1524 [PREFIX] 1525 1526By default, \`make install' will install all the files in 1527\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1528an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1529for instance \`--prefix=\$HOME'. 1530 1531For better control, use the options below. 1532 1533Fine tuning of the installation directories: 1534 --bindir=DIR user executables [EPREFIX/bin] 1535 --sbindir=DIR system admin executables [EPREFIX/sbin] 1536 --libexecdir=DIR program executables [EPREFIX/libexec] 1537 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1538 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1539 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1540 --libdir=DIR object code libraries [EPREFIX/lib] 1541 --includedir=DIR C header files [PREFIX/include] 1542 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1543 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1544 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1545 --infodir=DIR info documentation [DATAROOTDIR/info] 1546 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1547 --mandir=DIR man documentation [DATAROOTDIR/man] 1548 --docdir=DIR documentation root [DATAROOTDIR/doc/ORBit2] 1549 --htmldir=DIR html documentation [DOCDIR] 1550 --dvidir=DIR dvi documentation [DOCDIR] 1551 --pdfdir=DIR pdf documentation [DOCDIR] 1552 --psdir=DIR ps documentation [DOCDIR] 1553_ACEOF 1554 1555 cat <<\_ACEOF 1556 1557Program names: 1558 --program-prefix=PREFIX prepend PREFIX to installed program names 1559 --program-suffix=SUFFIX append SUFFIX to installed program names 1560 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1561 1562System types: 1563 --build=BUILD configure for building on BUILD [guessed] 1564 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1565_ACEOF 1566fi 1567 1568if test -n "$ac_init_help"; then 1569 case $ac_init_help in 1570 short | recursive ) echo "Configuration of ORBit2 2.14.19:";; 1571 esac 1572 cat <<\_ACEOF 1573 1574Optional Features: 1575 --disable-option-checking ignore unrecognized --enable/--with options 1576 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1577 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1578 --disable-dependency-tracking speeds up one-time build 1579 --enable-dependency-tracking do not reject slow dependency extractors 1580 --enable-shared[=PKGS] build shared libraries [default=yes] 1581 --enable-static[=PKGS] build static libraries [default=yes] 1582 --enable-fast-install[=PKGS] 1583 optimize for fast installation [default=yes] 1584 --disable-libtool-lock avoid locking (might break parallel builds) 1585 --enable-maintainer-mode enable make rules and dependencies not useful 1586 (and sometimes confusing) to the casual installer 1587--enable-http enables http connections 1588 --enable-compile-warnings=no/yes Turn on compiler warnings. 1589 --enable-debug=no/yes turn on debugging default=no 1590 --enable-purify be clean for memory debuggers 1591 --enable-gtk-doc use gtk-doc to build documentation [[default=no]] 1592 --enable-gtk-doc-html build documentation in html format [[default=yes]] 1593 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]] 1594 1595Optional Packages: 1596 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1597 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1598 --with-pic try to use only PIC/non-PIC objects [default=use 1599 both] 1600 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1601 --with-idl-compiler use specific idl compiler (useful when crosscompiling) 1602 --with-html-dir=PATH path to installed docs 1603 1604Some influential environment variables: 1605 CC C compiler command 1606 CFLAGS C compiler flags 1607 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1608 nonstandard directory <lib dir> 1609 LIBS libraries to pass to the linker, e.g. -l<library> 1610 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1611 you have headers in a nonstandard directory <include dir> 1612 CPP C preprocessor 1613 PKG_CONFIG path to pkg-config utility 1614 PKG_CONFIG_PATH 1615 directories to add to pkg-config's search path 1616 PKG_CONFIG_LIBDIR 1617 path overriding pkg-config's built-in search path 1618 ORBIT_CFLAGS 1619 C compiler flags for ORBIT, overriding pkg-config 1620 ORBIT_LIBS linker flags for ORBIT, overriding pkg-config 1621 ORBIT_IDL_CFLAGS 1622 C compiler flags for ORBIT_IDL, overriding pkg-config 1623 ORBIT_IDL_LIBS 1624 linker flags for ORBIT_IDL, overriding pkg-config 1625 ORBIT_NAME_CFLAGS 1626 C compiler flags for ORBIT_NAME, overriding pkg-config 1627 ORBIT_NAME_LIBS 1628 linker flags for ORBIT_NAME, overriding pkg-config 1629 LINC_CFLAGS C compiler flags for LINC, overriding pkg-config 1630 LINC_LIBS linker flags for LINC, overriding pkg-config 1631 1632Use these variables to override the choices made by `configure' or to help 1633it to find libraries and programs with nonstandard names/locations. 1634 1635Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=ORBit2>. 1636_ACEOF 1637ac_status=$? 1638fi 1639 1640if test "$ac_init_help" = "recursive"; then 1641 # If there are subdirs, report their specific --help. 1642 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1643 test -d "$ac_dir" || 1644 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1645 continue 1646 ac_builddir=. 1647 1648case "$ac_dir" in 1649.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1650*) 1651 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1652 # A ".." for each directory in $ac_dir_suffix. 1653 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1654 case $ac_top_builddir_sub in 1655 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1656 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1657 esac ;; 1658esac 1659ac_abs_top_builddir=$ac_pwd 1660ac_abs_builddir=$ac_pwd$ac_dir_suffix 1661# for backward compatibility: 1662ac_top_builddir=$ac_top_build_prefix 1663 1664case $srcdir in 1665 .) # We are building in place. 1666 ac_srcdir=. 1667 ac_top_srcdir=$ac_top_builddir_sub 1668 ac_abs_top_srcdir=$ac_pwd ;; 1669 [\\/]* | ?:[\\/]* ) # Absolute name. 1670 ac_srcdir=$srcdir$ac_dir_suffix; 1671 ac_top_srcdir=$srcdir 1672 ac_abs_top_srcdir=$srcdir ;; 1673 *) # Relative name. 1674 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1675 ac_top_srcdir=$ac_top_build_prefix$srcdir 1676 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1677esac 1678ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1679 1680 cd "$ac_dir" || { ac_status=$?; continue; } 1681 # Check for guested configure. 1682 if test -f "$ac_srcdir/configure.gnu"; then 1683 echo && 1684 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1685 elif test -f "$ac_srcdir/configure"; then 1686 echo && 1687 $SHELL "$ac_srcdir/configure" --help=recursive 1688 else 1689 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1690 fi || ac_status=$? 1691 cd "$ac_pwd" || { ac_status=$?; break; } 1692 done 1693fi 1694 1695test -n "$ac_init_help" && exit $ac_status 1696if $ac_init_version; then 1697 cat <<\_ACEOF 1698ORBit2 configure 2.14.19 1699generated by GNU Autoconf 2.67 1700 1701Copyright (C) 2010 Free Software Foundation, Inc. 1702This configure script is free software; the Free Software Foundation 1703gives unlimited permission to copy, distribute and modify it. 1704_ACEOF 1705 exit 1706fi 1707 1708## ------------------------ ## 1709## Autoconf initialization. ## 1710## ------------------------ ## 1711 1712# ac_fn_c_try_compile LINENO 1713# -------------------------- 1714# Try to compile conftest.$ac_ext, and return whether this succeeded. 1715ac_fn_c_try_compile () 1716{ 1717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1718 rm -f conftest.$ac_objext 1719 if { { ac_try="$ac_compile" 1720case "(($ac_try" in 1721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1722 *) ac_try_echo=$ac_try;; 1723esac 1724eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1725$as_echo "$ac_try_echo"; } >&5 1726 (eval "$ac_compile") 2>conftest.err 1727 ac_status=$? 1728 if test -s conftest.err; then 1729 grep -v '^ *+' conftest.err >conftest.er1 1730 cat conftest.er1 >&5 1731 mv -f conftest.er1 conftest.err 1732 fi 1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1734 test $ac_status = 0; } && { 1735 test -z "$ac_c_werror_flag" || 1736 test ! -s conftest.err 1737 } && test -s conftest.$ac_objext; then : 1738 ac_retval=0 1739else 1740 $as_echo "$as_me: failed program was:" >&5 1741sed 's/^/| /' conftest.$ac_ext >&5 1742 1743 ac_retval=1 1744fi 1745 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1746 as_fn_set_status $ac_retval 1747 1748} # ac_fn_c_try_compile 1749 1750# ac_fn_c_try_link LINENO 1751# ----------------------- 1752# Try to link conftest.$ac_ext, and return whether this succeeded. 1753ac_fn_c_try_link () 1754{ 1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1756 rm -f conftest.$ac_objext conftest$ac_exeext 1757 if { { ac_try="$ac_link" 1758case "(($ac_try" in 1759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1760 *) ac_try_echo=$ac_try;; 1761esac 1762eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1763$as_echo "$ac_try_echo"; } >&5 1764 (eval "$ac_link") 2>conftest.err 1765 ac_status=$? 1766 if test -s conftest.err; then 1767 grep -v '^ *+' conftest.err >conftest.er1 1768 cat conftest.er1 >&5 1769 mv -f conftest.er1 conftest.err 1770 fi 1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1772 test $ac_status = 0; } && { 1773 test -z "$ac_c_werror_flag" || 1774 test ! -s conftest.err 1775 } && test -s conftest$ac_exeext && { 1776 test "$cross_compiling" = yes || 1777 $as_test_x conftest$ac_exeext 1778 }; then : 1779 ac_retval=0 1780else 1781 $as_echo "$as_me: failed program was:" >&5 1782sed 's/^/| /' conftest.$ac_ext >&5 1783 1784 ac_retval=1 1785fi 1786 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1787 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1788 # interfere with the next link command; also delete a directory that is 1789 # left behind by Apple's compiler. We do this before executing the actions. 1790 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1791 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1792 as_fn_set_status $ac_retval 1793 1794} # ac_fn_c_try_link 1795 1796# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1797# ------------------------------------------------------- 1798# Tests whether HEADER exists and can be compiled using the include files in 1799# INCLUDES, setting the cache variable VAR accordingly. 1800ac_fn_c_check_header_compile () 1801{ 1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1804$as_echo_n "checking for $2... " >&6; } 1805if eval "test \"\${$3+set}\"" = set; then : 1806 $as_echo_n "(cached) " >&6 1807else 1808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1809/* end confdefs.h. */ 1810$4 1811#include <$2> 1812_ACEOF 1813if ac_fn_c_try_compile "$LINENO"; then : 1814 eval "$3=yes" 1815else 1816 eval "$3=no" 1817fi 1818rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1819fi 1820eval ac_res=\$$3 1821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1822$as_echo "$ac_res" >&6; } 1823 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1824 1825} # ac_fn_c_check_header_compile 1826 1827# ac_fn_c_try_cpp LINENO 1828# ---------------------- 1829# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1830ac_fn_c_try_cpp () 1831{ 1832 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1833 if { { ac_try="$ac_cpp conftest.$ac_ext" 1834case "(($ac_try" in 1835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1836 *) ac_try_echo=$ac_try;; 1837esac 1838eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1839$as_echo "$ac_try_echo"; } >&5 1840 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1841 ac_status=$? 1842 if test -s conftest.err; then 1843 grep -v '^ *+' conftest.err >conftest.er1 1844 cat conftest.er1 >&5 1845 mv -f conftest.er1 conftest.err 1846 fi 1847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1848 test $ac_status = 0; } > conftest.i && { 1849 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1850 test ! -s conftest.err 1851 }; then : 1852 ac_retval=0 1853else 1854 $as_echo "$as_me: failed program was:" >&5 1855sed 's/^/| /' conftest.$ac_ext >&5 1856 1857 ac_retval=1 1858fi 1859 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1860 as_fn_set_status $ac_retval 1861 1862} # ac_fn_c_try_cpp 1863 1864# ac_fn_c_try_run LINENO 1865# ---------------------- 1866# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1867# that executables *can* be run. 1868ac_fn_c_try_run () 1869{ 1870 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1871 if { { ac_try="$ac_link" 1872case "(($ac_try" in 1873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1874 *) ac_try_echo=$ac_try;; 1875esac 1876eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1877$as_echo "$ac_try_echo"; } >&5 1878 (eval "$ac_link") 2>&5 1879 ac_status=$? 1880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1881 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1882 { { case "(($ac_try" in 1883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1884 *) ac_try_echo=$ac_try;; 1885esac 1886eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1887$as_echo "$ac_try_echo"; } >&5 1888 (eval "$ac_try") 2>&5 1889 ac_status=$? 1890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1891 test $ac_status = 0; }; }; then : 1892 ac_retval=0 1893else 1894 $as_echo "$as_me: program exited with status $ac_status" >&5 1895 $as_echo "$as_me: failed program was:" >&5 1896sed 's/^/| /' conftest.$ac_ext >&5 1897 1898 ac_retval=$ac_status 1899fi 1900 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1901 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1902 as_fn_set_status $ac_retval 1903 1904} # ac_fn_c_try_run 1905 1906# ac_fn_c_check_func LINENO FUNC VAR 1907# ---------------------------------- 1908# Tests whether FUNC exists, setting the cache variable VAR accordingly 1909ac_fn_c_check_func () 1910{ 1911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1913$as_echo_n "checking for $2... " >&6; } 1914if eval "test \"\${$3+set}\"" = set; then : 1915 $as_echo_n "(cached) " >&6 1916else 1917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1918/* end confdefs.h. */ 1919/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1920 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1921#define $2 innocuous_$2 1922 1923/* System header to define __stub macros and hopefully few prototypes, 1924 which can conflict with char $2 (); below. 1925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1926 <limits.h> exists even on freestanding compilers. */ 1927 1928#ifdef __STDC__ 1929# include <limits.h> 1930#else 1931# include <assert.h> 1932#endif 1933 1934#undef $2 1935 1936/* Override any GCC internal prototype to avoid an error. 1937 Use char because int might match the return type of a GCC 1938 builtin and then its argument prototype would still apply. */ 1939#ifdef __cplusplus 1940extern "C" 1941#endif 1942char $2 (); 1943/* The GNU C library defines this for functions which it implements 1944 to always fail with ENOSYS. Some functions are actually named 1945 something starting with __ and the normal name is an alias. */ 1946#if defined __stub_$2 || defined __stub___$2 1947choke me 1948#endif 1949 1950int 1951main () 1952{ 1953return $2 (); 1954 ; 1955 return 0; 1956} 1957_ACEOF 1958if ac_fn_c_try_link "$LINENO"; then : 1959 eval "$3=yes" 1960else 1961 eval "$3=no" 1962fi 1963rm -f core conftest.err conftest.$ac_objext \ 1964 conftest$ac_exeext conftest.$ac_ext 1965fi 1966eval ac_res=\$$3 1967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1968$as_echo "$ac_res" >&6; } 1969 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1970 1971} # ac_fn_c_check_func 1972 1973# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1974# ------------------------------------------------------- 1975# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1976# the include files in INCLUDES and setting the cache variable VAR 1977# accordingly. 1978ac_fn_c_check_header_mongrel () 1979{ 1980 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1981 if eval "test \"\${$3+set}\"" = set; then : 1982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1983$as_echo_n "checking for $2... " >&6; } 1984if eval "test \"\${$3+set}\"" = set; then : 1985 $as_echo_n "(cached) " >&6 1986fi 1987eval ac_res=\$$3 1988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1989$as_echo "$ac_res" >&6; } 1990else 1991 # Is the header compilable? 1992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1993$as_echo_n "checking $2 usability... " >&6; } 1994cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1995/* end confdefs.h. */ 1996$4 1997#include <$2> 1998_ACEOF 1999if ac_fn_c_try_compile "$LINENO"; then : 2000 ac_header_compiler=yes 2001else 2002 ac_header_compiler=no 2003fi 2004rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2006$as_echo "$ac_header_compiler" >&6; } 2007 2008# Is the header present? 2009{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2010$as_echo_n "checking $2 presence... " >&6; } 2011cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2012/* end confdefs.h. */ 2013#include <$2> 2014_ACEOF 2015if ac_fn_c_try_cpp "$LINENO"; then : 2016 ac_header_preproc=yes 2017else 2018 ac_header_preproc=no 2019fi 2020rm -f conftest.err conftest.i conftest.$ac_ext 2021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2022$as_echo "$ac_header_preproc" >&6; } 2023 2024# So? What about this header? 2025case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 2026 yes:no: ) 2027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2028$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2030$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2031 ;; 2032 no:yes:* ) 2033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2034$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2036$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2038$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2040$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2042$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2043( $as_echo "## --------------------------------------------------------------------- ## 2044## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=ORBit2 ## 2045## --------------------------------------------------------------------- ##" 2046 ) | sed "s/^/$as_me: WARNING: /" >&2 2047 ;; 2048esac 2049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2050$as_echo_n "checking for $2... " >&6; } 2051if eval "test \"\${$3+set}\"" = set; then : 2052 $as_echo_n "(cached) " >&6 2053else 2054 eval "$3=\$ac_header_compiler" 2055fi 2056eval ac_res=\$$3 2057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2058$as_echo "$ac_res" >&6; } 2059fi 2060 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2061 2062} # ac_fn_c_check_header_mongrel 2063 2064# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2065# ------------------------------------------- 2066# Tests whether TYPE exists after having included INCLUDES, setting cache 2067# variable VAR accordingly. 2068ac_fn_c_check_type () 2069{ 2070 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2072$as_echo_n "checking for $2... " >&6; } 2073if eval "test \"\${$3+set}\"" = set; then : 2074 $as_echo_n "(cached) " >&6 2075else 2076 eval "$3=no" 2077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2078/* end confdefs.h. */ 2079$4 2080int 2081main () 2082{ 2083if (sizeof ($2)) 2084 return 0; 2085 ; 2086 return 0; 2087} 2088_ACEOF 2089if ac_fn_c_try_compile "$LINENO"; then : 2090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2091/* end confdefs.h. */ 2092$4 2093int 2094main () 2095{ 2096if (sizeof (($2))) 2097 return 0; 2098 ; 2099 return 0; 2100} 2101_ACEOF 2102if ac_fn_c_try_compile "$LINENO"; then : 2103 2104else 2105 eval "$3=yes" 2106fi 2107rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2108fi 2109rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2110fi 2111eval ac_res=\$$3 2112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2113$as_echo "$ac_res" >&6; } 2114 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2115 2116} # ac_fn_c_check_type 2117cat >config.log <<_ACEOF 2118This file contains any messages produced by compilers while 2119running configure, to aid debugging if configure makes a mistake. 2120 2121It was created by ORBit2 $as_me 2.14.19, which was 2122generated by GNU Autoconf 2.67. Invocation command line was 2123 2124 $ $0 $@ 2125 2126_ACEOF 2127exec 5>>config.log 2128{ 2129cat <<_ASUNAME 2130## --------- ## 2131## Platform. ## 2132## --------- ## 2133 2134hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2135uname -m = `(uname -m) 2>/dev/null || echo unknown` 2136uname -r = `(uname -r) 2>/dev/null || echo unknown` 2137uname -s = `(uname -s) 2>/dev/null || echo unknown` 2138uname -v = `(uname -v) 2>/dev/null || echo unknown` 2139 2140/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2141/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2142 2143/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2144/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2145/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2146/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2147/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2148/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2149/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2150 2151_ASUNAME 2152 2153as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2154for as_dir in $PATH 2155do 2156 IFS=$as_save_IFS 2157 test -z "$as_dir" && as_dir=. 2158 $as_echo "PATH: $as_dir" 2159 done 2160IFS=$as_save_IFS 2161 2162} >&5 2163 2164cat >&5 <<_ACEOF 2165 2166 2167## ----------- ## 2168## Core tests. ## 2169## ----------- ## 2170 2171_ACEOF 2172 2173 2174# Keep a trace of the command line. 2175# Strip out --no-create and --no-recursion so they do not pile up. 2176# Strip out --silent because we don't want to record it for future runs. 2177# Also quote any args containing shell meta-characters. 2178# Make two passes to allow for proper duplicate-argument suppression. 2179ac_configure_args= 2180ac_configure_args0= 2181ac_configure_args1= 2182ac_must_keep_next=false 2183for ac_pass in 1 2 2184do 2185 for ac_arg 2186 do 2187 case $ac_arg in 2188 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2189 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2190 | -silent | --silent | --silen | --sile | --sil) 2191 continue ;; 2192 *\'*) 2193 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2194 esac 2195 case $ac_pass in 2196 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2197 2) 2198 as_fn_append ac_configure_args1 " '$ac_arg'" 2199 if test $ac_must_keep_next = true; then 2200 ac_must_keep_next=false # Got value, back to normal. 2201 else 2202 case $ac_arg in 2203 *=* | --config-cache | -C | -disable-* | --disable-* \ 2204 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2205 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2206 | -with-* | --with-* | -without-* | --without-* | --x) 2207 case "$ac_configure_args0 " in 2208 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2209 esac 2210 ;; 2211 -* ) ac_must_keep_next=true ;; 2212 esac 2213 fi 2214 as_fn_append ac_configure_args " '$ac_arg'" 2215 ;; 2216 esac 2217 done 2218done 2219{ ac_configure_args0=; unset ac_configure_args0;} 2220{ ac_configure_args1=; unset ac_configure_args1;} 2221 2222# When interrupted or exit'd, cleanup temporary files, and complete 2223# config.log. We remove comments because anyway the quotes in there 2224# would cause problems or look ugly. 2225# WARNING: Use '\'' to represent an apostrophe within the trap. 2226# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2227trap 'exit_status=$? 2228 # Save into config.log some information that might help in debugging. 2229 { 2230 echo 2231 2232 $as_echo "## ---------------- ## 2233## Cache variables. ## 2234## ---------------- ##" 2235 echo 2236 # The following way of writing the cache mishandles newlines in values, 2237( 2238 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2239 eval ac_val=\$$ac_var 2240 case $ac_val in #( 2241 *${as_nl}*) 2242 case $ac_var in #( 2243 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2244$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2245 esac 2246 case $ac_var in #( 2247 _ | IFS | as_nl) ;; #( 2248 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2249 *) { eval $ac_var=; unset $ac_var;} ;; 2250 esac ;; 2251 esac 2252 done 2253 (set) 2>&1 | 2254 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2255 *${as_nl}ac_space=\ *) 2256 sed -n \ 2257 "s/'\''/'\''\\\\'\'''\''/g; 2258 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2259 ;; #( 2260 *) 2261 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2262 ;; 2263 esac | 2264 sort 2265) 2266 echo 2267 2268 $as_echo "## ----------------- ## 2269## Output variables. ## 2270## ----------------- ##" 2271 echo 2272 for ac_var in $ac_subst_vars 2273 do 2274 eval ac_val=\$$ac_var 2275 case $ac_val in 2276 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2277 esac 2278 $as_echo "$ac_var='\''$ac_val'\''" 2279 done | sort 2280 echo 2281 2282 if test -n "$ac_subst_files"; then 2283 $as_echo "## ------------------- ## 2284## File substitutions. ## 2285## ------------------- ##" 2286 echo 2287 for ac_var in $ac_subst_files 2288 do 2289 eval ac_val=\$$ac_var 2290 case $ac_val in 2291 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2292 esac 2293 $as_echo "$ac_var='\''$ac_val'\''" 2294 done | sort 2295 echo 2296 fi 2297 2298 if test -s confdefs.h; then 2299 $as_echo "## ----------- ## 2300## confdefs.h. ## 2301## ----------- ##" 2302 echo 2303 cat confdefs.h 2304 echo 2305 fi 2306 test "$ac_signal" != 0 && 2307 $as_echo "$as_me: caught signal $ac_signal" 2308 $as_echo "$as_me: exit $exit_status" 2309 } >&5 2310 rm -f core *.core core.conftest.* && 2311 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2312 exit $exit_status 2313' 0 2314for ac_signal in 1 2 13 15; do 2315 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2316done 2317ac_signal=0 2318 2319# confdefs.h avoids OS command line length limits that DEFS can exceed. 2320rm -f -r conftest* confdefs.h 2321 2322$as_echo "/* confdefs.h */" > confdefs.h 2323 2324# Predefined preprocessor variables. 2325 2326cat >>confdefs.h <<_ACEOF 2327#define PACKAGE_NAME "$PACKAGE_NAME" 2328_ACEOF 2329 2330cat >>confdefs.h <<_ACEOF 2331#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2332_ACEOF 2333 2334cat >>confdefs.h <<_ACEOF 2335#define PACKAGE_VERSION "$PACKAGE_VERSION" 2336_ACEOF 2337 2338cat >>confdefs.h <<_ACEOF 2339#define PACKAGE_STRING "$PACKAGE_STRING" 2340_ACEOF 2341 2342cat >>confdefs.h <<_ACEOF 2343#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2344_ACEOF 2345 2346cat >>confdefs.h <<_ACEOF 2347#define PACKAGE_URL "$PACKAGE_URL" 2348_ACEOF 2349 2350 2351# Let the site file select an alternate cache file if it wants to. 2352# Prefer an explicitly selected file to automatically selected ones. 2353ac_site_file1=NONE 2354ac_site_file2=NONE 2355if test -n "$CONFIG_SITE"; then 2356 # We do not want a PATH search for config.site. 2357 case $CONFIG_SITE in #(( 2358 -*) ac_site_file1=./$CONFIG_SITE;; 2359 */*) ac_site_file1=$CONFIG_SITE;; 2360 *) ac_site_file1=./$CONFIG_SITE;; 2361 esac 2362elif test "x$prefix" != xNONE; then 2363 ac_site_file1=$prefix/share/config.site 2364 ac_site_file2=$prefix/etc/config.site 2365else 2366 ac_site_file1=$ac_default_prefix/share/config.site 2367 ac_site_file2=$ac_default_prefix/etc/config.site 2368fi 2369for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2370do 2371 test "x$ac_site_file" = xNONE && continue 2372 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2373 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2374$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2375 sed 's/^/| /' "$ac_site_file" >&5 2376 . "$ac_site_file" \ 2377 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2378$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2379as_fn_error $? "failed to load site script $ac_site_file 2380See \`config.log' for more details" "$LINENO" 5; } 2381 fi 2382done 2383 2384if test -r "$cache_file"; then 2385 # Some versions of bash will fail to source /dev/null (special files 2386 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2387 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2388 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2389$as_echo "$as_me: loading cache $cache_file" >&6;} 2390 case $cache_file in 2391 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2392 *) . "./$cache_file";; 2393 esac 2394 fi 2395else 2396 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2397$as_echo "$as_me: creating cache $cache_file" >&6;} 2398 >$cache_file 2399fi 2400 2401# Check that the precious variables saved in the cache have kept the same 2402# value. 2403ac_cache_corrupted=false 2404for ac_var in $ac_precious_vars; do 2405 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2406 eval ac_new_set=\$ac_env_${ac_var}_set 2407 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2408 eval ac_new_val=\$ac_env_${ac_var}_value 2409 case $ac_old_set,$ac_new_set in 2410 set,) 2411 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2412$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2413 ac_cache_corrupted=: ;; 2414 ,set) 2415 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2416$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2417 ac_cache_corrupted=: ;; 2418 ,);; 2419 *) 2420 if test "x$ac_old_val" != "x$ac_new_val"; then 2421 # differences in whitespace do not lead to failure. 2422 ac_old_val_w=`echo x $ac_old_val` 2423 ac_new_val_w=`echo x $ac_new_val` 2424 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2425 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2426$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2427 ac_cache_corrupted=: 2428 else 2429 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2430$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2431 eval $ac_var=\$ac_old_val 2432 fi 2433 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2434$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2435 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2436$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2437 fi;; 2438 esac 2439 # Pass precious variables to config.status. 2440 if test "$ac_new_set" = set; then 2441 case $ac_new_val in 2442 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2443 *) ac_arg=$ac_var=$ac_new_val ;; 2444 esac 2445 case " $ac_configure_args " in 2446 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2447 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2448 esac 2449 fi 2450done 2451if $ac_cache_corrupted; then 2452 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2453$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2454 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2455$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2456 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2457fi 2458## -------------------- ## 2459## Main body of script. ## 2460## -------------------- ## 2461 2462ac_ext=c 2463ac_cpp='$CPP $CPPFLAGS' 2464ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2465ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2466ac_compiler_gnu=$ac_cv_c_compiler_gnu 2467 2468 2469 2470# Process this file with autoconf to produce a configure script. 2471# require autoconf 2.54 2472 2473 2474# Before making a release, the LT_VERSION string should be modified. 2475# The string is of the form C:R:A. 2476# - If interfaces have been changed or added, but binary compatibility has 2477# been preserved, change to C+1:0:A+1 2478# - If binary compatibility has been broken (eg removed or changed interfaces) 2479# change to C+1:0:0 2480# - If the interface is the same as the previous version, change to C:R+1:A 2481 2482LT_VERSION=1:0:1 2483 2484 2485ORBIT_MAJOR_VERSION=2 2486ORBIT_MINOR_VERSION=14 2487ORBIT_MICRO_VERSION=19 2488ORBIT_VERSION=2.14.19 2489 2490 2491 2492 2493 2494# Increment this every time a feature is added in the .idl compiler 2495# that needs help from the main libraries. 2496ORBIT_SERIAL=20 2497 2498 2499# For automake. 2500 2501ac_config_headers="$ac_config_headers config.h" 2502 2503 2504am__api_version='1.11' 2505 2506ac_aux_dir= 2507for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2508 if test -f "$ac_dir/install-sh"; then 2509 ac_aux_dir=$ac_dir 2510 ac_install_sh="$ac_aux_dir/install-sh -c" 2511 break 2512 elif test -f "$ac_dir/install.sh"; then 2513 ac_aux_dir=$ac_dir 2514 ac_install_sh="$ac_aux_dir/install.sh -c" 2515 break 2516 elif test -f "$ac_dir/shtool"; then 2517 ac_aux_dir=$ac_dir 2518 ac_install_sh="$ac_aux_dir/shtool install -c" 2519 break 2520 fi 2521done 2522if test -z "$ac_aux_dir"; then 2523 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2524fi 2525 2526# These three variables are undocumented and unsupported, 2527# and are intended to be withdrawn in a future Autoconf release. 2528# They can cause serious problems if a builder's source tree is in a directory 2529# whose full name contains unusual characters. 2530ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2531ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2532ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2533 2534 2535# Find a good install program. We prefer a C program (faster), 2536# so one script is as good as another. But avoid the broken or 2537# incompatible versions: 2538# SysV /etc/install, /usr/sbin/install 2539# SunOS /usr/etc/install 2540# IRIX /sbin/install 2541# AIX /bin/install 2542# AmigaOS /C/install, which installs bootblocks on floppy discs 2543# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2544# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2545# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2546# OS/2's system install, which has a completely different semantic 2547# ./install, which can be erroneously created by make from ./install.sh. 2548# Reject install programs that cannot install multiple files. 2549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2550$as_echo_n "checking for a BSD-compatible install... " >&6; } 2551if test -z "$INSTALL"; then 2552if test "${ac_cv_path_install+set}" = set; then : 2553 $as_echo_n "(cached) " >&6 2554else 2555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2556for as_dir in $PATH 2557do 2558 IFS=$as_save_IFS 2559 test -z "$as_dir" && as_dir=. 2560 # Account for people who put trailing slashes in PATH elements. 2561case $as_dir/ in #(( 2562 ./ | .// | /[cC]/* | \ 2563 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2564 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2565 /usr/ucb/* ) ;; 2566 *) 2567 # OSF1 and SCO ODT 3.0 have their own names for install. 2568 # Don't use installbsd from OSF since it installs stuff as root 2569 # by default. 2570 for ac_prog in ginstall scoinst install; do 2571 for ac_exec_ext in '' $ac_executable_extensions; do 2572 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2573 if test $ac_prog = install && 2574 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2575 # AIX install. It has an incompatible calling convention. 2576 : 2577 elif test $ac_prog = install && 2578 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2579 # program-specific install script used by HP pwplus--don't use. 2580 : 2581 else 2582 rm -rf conftest.one conftest.two conftest.dir 2583 echo one > conftest.one 2584 echo two > conftest.two 2585 mkdir conftest.dir 2586 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2587 test -s conftest.one && test -s conftest.two && 2588 test -s conftest.dir/conftest.one && 2589 test -s conftest.dir/conftest.two 2590 then 2591 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2592 break 3 2593 fi 2594 fi 2595 fi 2596 done 2597 done 2598 ;; 2599esac 2600 2601 done 2602IFS=$as_save_IFS 2603 2604rm -rf conftest.one conftest.two conftest.dir 2605 2606fi 2607 if test "${ac_cv_path_install+set}" = set; then 2608 INSTALL=$ac_cv_path_install 2609 else 2610 # As a last resort, use the slow shell script. Don't cache a 2611 # value for INSTALL within a source directory, because that will 2612 # break other packages using the cache if that directory is 2613 # removed, or if the value is a relative name. 2614 INSTALL=$ac_install_sh 2615 fi 2616fi 2617{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2618$as_echo "$INSTALL" >&6; } 2619 2620# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2621# It thinks the first close brace ends the variable substitution. 2622test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2623 2624test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2625 2626test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2627 2628{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2629$as_echo_n "checking whether build environment is sane... " >&6; } 2630# Just in case 2631sleep 1 2632echo timestamp > conftest.file 2633# Reject unsafe characters in $srcdir or the absolute working directory 2634# name. Accept space and tab only in the latter. 2635am_lf=' 2636' 2637case `pwd` in 2638 *[\\\"\#\$\&\'\`$am_lf]*) 2639 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2640esac 2641case $srcdir in 2642 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2643 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2644esac 2645 2646# Do `set' in a subshell so we don't clobber the current shell's 2647# arguments. Must try -L first in case configure is actually a 2648# symlink; some systems play weird games with the mod time of symlinks 2649# (eg FreeBSD returns the mod time of the symlink's containing 2650# directory). 2651if ( 2652 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2653 if test "$*" = "X"; then 2654 # -L didn't work. 2655 set X `ls -t "$srcdir/configure" conftest.file` 2656 fi 2657 rm -f conftest.file 2658 if test "$*" != "X $srcdir/configure conftest.file" \ 2659 && test "$*" != "X conftest.file $srcdir/configure"; then 2660 2661 # If neither matched, then we have a broken ls. This can happen 2662 # if, for instance, CONFIG_SHELL is bash and it inherits a 2663 # broken ls alias from the environment. This has actually 2664 # happened. Such a system could not be considered "sane". 2665 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2666alias in your environment" "$LINENO" 5 2667 fi 2668 2669 test "$2" = conftest.file 2670 ) 2671then 2672 # Ok. 2673 : 2674else 2675 as_fn_error $? "newly created file is older than distributed files! 2676Check your system clock" "$LINENO" 5 2677fi 2678{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2679$as_echo "yes" >&6; } 2680test "$program_prefix" != NONE && 2681 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2682# Use a double $ so make ignores it. 2683test "$program_suffix" != NONE && 2684 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2685# Double any \ or $. 2686# By default was `s,x,x', remove it if useless. 2687ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2688program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2689 2690# expand $ac_aux_dir to an absolute path 2691am_aux_dir=`cd $ac_aux_dir && pwd` 2692 2693if test x"${MISSING+set}" != xset; then 2694 case $am_aux_dir in 2695 *\ * | *\ *) 2696 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2697 *) 2698 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2699 esac 2700fi 2701# Use eval to expand $SHELL 2702if eval "$MISSING --run true"; then 2703 am_missing_run="$MISSING --run " 2704else 2705 am_missing_run= 2706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2707$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2708fi 2709 2710if test x"${install_sh}" != xset; then 2711 case $am_aux_dir in 2712 *\ * | *\ *) 2713 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2714 *) 2715 install_sh="\${SHELL} $am_aux_dir/install-sh" 2716 esac 2717fi 2718 2719# Installed binaries are usually stripped using `strip' when the user 2720# run `make install-strip'. However `strip' might not be the right 2721# tool to use in cross-compilation environments, therefore Automake 2722# will honor the `STRIP' environment variable to overrule this program. 2723if test "$cross_compiling" != no; then 2724 if test -n "$ac_tool_prefix"; then 2725 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2726set dummy ${ac_tool_prefix}strip; ac_word=$2 2727{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2728$as_echo_n "checking for $ac_word... " >&6; } 2729if test "${ac_cv_prog_STRIP+set}" = set; then : 2730 $as_echo_n "(cached) " >&6 2731else 2732 if test -n "$STRIP"; then 2733 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2734else 2735as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2736for as_dir in $PATH 2737do 2738 IFS=$as_save_IFS 2739 test -z "$as_dir" && as_dir=. 2740 for ac_exec_ext in '' $ac_executable_extensions; do 2741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2742 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2744 break 2 2745 fi 2746done 2747 done 2748IFS=$as_save_IFS 2749 2750fi 2751fi 2752STRIP=$ac_cv_prog_STRIP 2753if test -n "$STRIP"; then 2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2755$as_echo "$STRIP" >&6; } 2756else 2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2758$as_echo "no" >&6; } 2759fi 2760 2761 2762fi 2763if test -z "$ac_cv_prog_STRIP"; then 2764 ac_ct_STRIP=$STRIP 2765 # Extract the first word of "strip", so it can be a program name with args. 2766set dummy strip; ac_word=$2 2767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2768$as_echo_n "checking for $ac_word... " >&6; } 2769if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 2770 $as_echo_n "(cached) " >&6 2771else 2772 if test -n "$ac_ct_STRIP"; then 2773 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2774else 2775as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2776for as_dir in $PATH 2777do 2778 IFS=$as_save_IFS 2779 test -z "$as_dir" && as_dir=. 2780 for ac_exec_ext in '' $ac_executable_extensions; do 2781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2782 ac_cv_prog_ac_ct_STRIP="strip" 2783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2784 break 2 2785 fi 2786done 2787 done 2788IFS=$as_save_IFS 2789 2790fi 2791fi 2792ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2793if test -n "$ac_ct_STRIP"; then 2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2795$as_echo "$ac_ct_STRIP" >&6; } 2796else 2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2798$as_echo "no" >&6; } 2799fi 2800 2801 if test "x$ac_ct_STRIP" = x; then 2802 STRIP=":" 2803 else 2804 case $cross_compiling:$ac_tool_warned in 2805yes:) 2806{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2807$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2808ac_tool_warned=yes ;; 2809esac 2810 STRIP=$ac_ct_STRIP 2811 fi 2812else 2813 STRIP="$ac_cv_prog_STRIP" 2814fi 2815 2816fi 2817INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2818 2819{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2820$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2821if test -z "$MKDIR_P"; then 2822 if test "${ac_cv_path_mkdir+set}" = set; then : 2823 $as_echo_n "(cached) " >&6 2824else 2825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2826for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2827do 2828 IFS=$as_save_IFS 2829 test -z "$as_dir" && as_dir=. 2830 for ac_prog in mkdir gmkdir; do 2831 for ac_exec_ext in '' $ac_executable_extensions; do 2832 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2833 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2834 'mkdir (GNU coreutils) '* | \ 2835 'mkdir (coreutils) '* | \ 2836 'mkdir (fileutils) '4.1*) 2837 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2838 break 3;; 2839 esac 2840 done 2841 done 2842 done 2843IFS=$as_save_IFS 2844 2845fi 2846 2847 test -d ./--version && rmdir ./--version 2848 if test "${ac_cv_path_mkdir+set}" = set; then 2849 MKDIR_P="$ac_cv_path_mkdir -p" 2850 else 2851 # As a last resort, use the slow shell script. Don't cache a 2852 # value for MKDIR_P within a source directory, because that will 2853 # break other packages using the cache if that directory is 2854 # removed, or if the value is a relative name. 2855 MKDIR_P="$ac_install_sh -d" 2856 fi 2857fi 2858{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2859$as_echo "$MKDIR_P" >&6; } 2860 2861mkdir_p="$MKDIR_P" 2862case $mkdir_p in 2863 [\\/$]* | ?:[\\/]*) ;; 2864 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2865esac 2866 2867for ac_prog in gawk mawk nawk awk 2868do 2869 # Extract the first word of "$ac_prog", so it can be a program name with args. 2870set dummy $ac_prog; ac_word=$2 2871{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2872$as_echo_n "checking for $ac_word... " >&6; } 2873if test "${ac_cv_prog_AWK+set}" = set; then : 2874 $as_echo_n "(cached) " >&6 2875else 2876 if test -n "$AWK"; then 2877 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2878else 2879as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2880for as_dir in $PATH 2881do 2882 IFS=$as_save_IFS 2883 test -z "$as_dir" && as_dir=. 2884 for ac_exec_ext in '' $ac_executable_extensions; do 2885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2886 ac_cv_prog_AWK="$ac_prog" 2887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2888 break 2 2889 fi 2890done 2891 done 2892IFS=$as_save_IFS 2893 2894fi 2895fi 2896AWK=$ac_cv_prog_AWK 2897if test -n "$AWK"; then 2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2899$as_echo "$AWK" >&6; } 2900else 2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2902$as_echo "no" >&6; } 2903fi 2904 2905 2906 test -n "$AWK" && break 2907done 2908 2909{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2910$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2911set x ${MAKE-make} 2912ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2913if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 2914 $as_echo_n "(cached) " >&6 2915else 2916 cat >conftest.make <<\_ACEOF 2917SHELL = /bin/sh 2918all: 2919 @echo '@@@%%%=$(MAKE)=@@@%%%' 2920_ACEOF 2921# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2922case `${MAKE-make} -f conftest.make 2>/dev/null` in 2923 *@@@%%%=?*=@@@%%%*) 2924 eval ac_cv_prog_make_${ac_make}_set=yes;; 2925 *) 2926 eval ac_cv_prog_make_${ac_make}_set=no;; 2927esac 2928rm -f conftest.make 2929fi 2930if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2932$as_echo "yes" >&6; } 2933 SET_MAKE= 2934else 2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2936$as_echo "no" >&6; } 2937 SET_MAKE="MAKE=${MAKE-make}" 2938fi 2939 2940rm -rf .tst 2>/dev/null 2941mkdir .tst 2>/dev/null 2942if test -d .tst; then 2943 am__leading_dot=. 2944else 2945 am__leading_dot=_ 2946fi 2947rmdir .tst 2>/dev/null 2948 2949if test "`cd $srcdir && pwd`" != "`pwd`"; then 2950 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2951 # is not polluted with repeated "-I." 2952 am__isrc=' -I$(srcdir)' 2953 # test to see if srcdir already configured 2954 if test -f $srcdir/config.status; then 2955 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2956 fi 2957fi 2958 2959# test whether we have cygpath 2960if test -z "$CYGPATH_W"; then 2961 if (cygpath --version) >/dev/null 2>/dev/null; then 2962 CYGPATH_W='cygpath -w' 2963 else 2964 CYGPATH_W=echo 2965 fi 2966fi 2967 2968 2969# Define the identity of the package. 2970 PACKAGE='ORBit2' 2971 VERSION='2.14.19' 2972 2973 2974# Some tools Automake needs. 2975 2976ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2977 2978 2979AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2980 2981 2982AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2983 2984 2985AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2986 2987 2988MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2989 2990# We need awk for the "check" target. The system "awk" is bad on 2991# some platforms. 2992# Always define AMTAR for backward compatibility. 2993 2994AMTAR=${AMTAR-"${am_missing_run}tar"} 2995 2996am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2997 2998 2999 3000 3001 3002 3003 3004 3005# Make sure we can run config.sub. 3006$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3007 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3008 3009{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3010$as_echo_n "checking build system type... " >&6; } 3011if test "${ac_cv_build+set}" = set; then : 3012 $as_echo_n "(cached) " >&6 3013else 3014 ac_build_alias=$build_alias 3015test "x$ac_build_alias" = x && 3016 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3017test "x$ac_build_alias" = x && 3018 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3019ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3020 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3021 3022fi 3023{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3024$as_echo "$ac_cv_build" >&6; } 3025case $ac_cv_build in 3026*-*-*) ;; 3027*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3028esac 3029build=$ac_cv_build 3030ac_save_IFS=$IFS; IFS='-' 3031set x $ac_cv_build 3032shift 3033build_cpu=$1 3034build_vendor=$2 3035shift; shift 3036# Remember, the first character of IFS is used to create $*, 3037# except with old shells: 3038build_os=$* 3039IFS=$ac_save_IFS 3040case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3041 3042 3043{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3044$as_echo_n "checking host system type... " >&6; } 3045if test "${ac_cv_host+set}" = set; then : 3046 $as_echo_n "(cached) " >&6 3047else 3048 if test "x$host_alias" = x; then 3049 ac_cv_host=$ac_cv_build 3050else 3051 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3052 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3053fi 3054 3055fi 3056{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3057$as_echo "$ac_cv_host" >&6; } 3058case $ac_cv_host in 3059*-*-*) ;; 3060*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3061esac 3062host=$ac_cv_host 3063ac_save_IFS=$IFS; IFS='-' 3064set x $ac_cv_host 3065shift 3066host_cpu=$1 3067host_vendor=$2 3068shift; shift 3069# Remember, the first character of IFS is used to create $*, 3070# except with old shells: 3071host_os=$* 3072IFS=$ac_save_IFS 3073case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3074 3075 3076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Win32" >&5 3077$as_echo_n "checking for Win32... " >&6; } 3078case "$host" in 3079 *-*-mingw*) 3080 os_win32=yes 3081 LIBM= 3082 MINGW_LDFLAGS="-Wl,--enable-runtime-pseudo-reloc" 3083 ;; 3084 *) 3085 os_win32=no 3086 LIBM=-lm 3087 MINGW_LDFLAGS= 3088 ;; 3089esac 3090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5 3091$as_echo "$os_win32" >&6; } 3092 3093 if test "$os_win32" = "yes"; then 3094 OS_WIN32_TRUE= 3095 OS_WIN32_FALSE='#' 3096else 3097 OS_WIN32_TRUE='#' 3098 OS_WIN32_FALSE= 3099fi 3100 3101 3102 3103 3104LDFLAGS="$MINGW_LDFLAGS $LDFLAGS" 3105 3106if test "$os_win32" = "yes"; then 3107 if test x$enable_static = xyes -o x$enable_static = x; then 3108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling static library build, must build as DLL on Windows." >&5 3109$as_echo "$as_me: WARNING: Disabling static library build, must build as DLL on Windows." >&2;} 3110 enable_static=no 3111 fi 3112 if test x$enable_shared = xno; then 3113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enabling shared library build, must build as DLL on Windows." >&5 3114$as_echo "$as_me: WARNING: Enabling shared library build, must build as DLL on Windows." >&2;} 3115 fi 3116 enable_shared=yes 3117fi 3118 3119ac_ext=c 3120ac_cpp='$CPP $CPPFLAGS' 3121ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3122ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3123ac_compiler_gnu=$ac_cv_c_compiler_gnu 3124if test -n "$ac_tool_prefix"; then 3125 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3126set dummy ${ac_tool_prefix}gcc; ac_word=$2 3127{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3128$as_echo_n "checking for $ac_word... " >&6; } 3129if test "${ac_cv_prog_CC+set}" = set; then : 3130 $as_echo_n "(cached) " >&6 3131else 3132 if test -n "$CC"; then 3133 ac_cv_prog_CC="$CC" # Let the user override the test. 3134else 3135as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3136for as_dir in $PATH 3137do 3138 IFS=$as_save_IFS 3139 test -z "$as_dir" && as_dir=. 3140 for ac_exec_ext in '' $ac_executable_extensions; do 3141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3142 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3144 break 2 3145 fi 3146done 3147 done 3148IFS=$as_save_IFS 3149 3150fi 3151fi 3152CC=$ac_cv_prog_CC 3153if test -n "$CC"; then 3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3155$as_echo "$CC" >&6; } 3156else 3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3158$as_echo "no" >&6; } 3159fi 3160 3161 3162fi 3163if test -z "$ac_cv_prog_CC"; then 3164 ac_ct_CC=$CC 3165 # Extract the first word of "gcc", so it can be a program name with args. 3166set dummy gcc; ac_word=$2 3167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3168$as_echo_n "checking for $ac_word... " >&6; } 3169if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3170 $as_echo_n "(cached) " >&6 3171else 3172 if test -n "$ac_ct_CC"; then 3173 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3174else 3175as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3176for as_dir in $PATH 3177do 3178 IFS=$as_save_IFS 3179 test -z "$as_dir" && as_dir=. 3180 for ac_exec_ext in '' $ac_executable_extensions; do 3181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3182 ac_cv_prog_ac_ct_CC="gcc" 3183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3184 break 2 3185 fi 3186done 3187 done 3188IFS=$as_save_IFS 3189 3190fi 3191fi 3192ac_ct_CC=$ac_cv_prog_ac_ct_CC 3193if test -n "$ac_ct_CC"; then 3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3195$as_echo "$ac_ct_CC" >&6; } 3196else 3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3198$as_echo "no" >&6; } 3199fi 3200 3201 if test "x$ac_ct_CC" = x; then 3202 CC="" 3203 else 3204 case $cross_compiling:$ac_tool_warned in 3205yes:) 3206{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3207$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3208ac_tool_warned=yes ;; 3209esac 3210 CC=$ac_ct_CC 3211 fi 3212else 3213 CC="$ac_cv_prog_CC" 3214fi 3215 3216if test -z "$CC"; then 3217 if test -n "$ac_tool_prefix"; then 3218 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3219set dummy ${ac_tool_prefix}cc; ac_word=$2 3220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3221$as_echo_n "checking for $ac_word... " >&6; } 3222if test "${ac_cv_prog_CC+set}" = set; then : 3223 $as_echo_n "(cached) " >&6 3224else 3225 if test -n "$CC"; then 3226 ac_cv_prog_CC="$CC" # Let the user override the test. 3227else 3228as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3229for as_dir in $PATH 3230do 3231 IFS=$as_save_IFS 3232 test -z "$as_dir" && as_dir=. 3233 for ac_exec_ext in '' $ac_executable_extensions; do 3234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3235 ac_cv_prog_CC="${ac_tool_prefix}cc" 3236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3237 break 2 3238 fi 3239done 3240 done 3241IFS=$as_save_IFS 3242 3243fi 3244fi 3245CC=$ac_cv_prog_CC 3246if test -n "$CC"; then 3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3248$as_echo "$CC" >&6; } 3249else 3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3251$as_echo "no" >&6; } 3252fi 3253 3254 3255 fi 3256fi 3257if test -z "$CC"; then 3258 # Extract the first word of "cc", so it can be a program name with args. 3259set dummy cc; ac_word=$2 3260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3261$as_echo_n "checking for $ac_word... " >&6; } 3262if test "${ac_cv_prog_CC+set}" = set; then : 3263 $as_echo_n "(cached) " >&6 3264else 3265 if test -n "$CC"; then 3266 ac_cv_prog_CC="$CC" # Let the user override the test. 3267else 3268 ac_prog_rejected=no 3269as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3270for as_dir in $PATH 3271do 3272 IFS=$as_save_IFS 3273 test -z "$as_dir" && as_dir=. 3274 for ac_exec_ext in '' $ac_executable_extensions; do 3275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3276 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3277 ac_prog_rejected=yes 3278 continue 3279 fi 3280 ac_cv_prog_CC="cc" 3281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3282 break 2 3283 fi 3284done 3285 done 3286IFS=$as_save_IFS 3287 3288if test $ac_prog_rejected = yes; then 3289 # We found a bogon in the path, so make sure we never use it. 3290 set dummy $ac_cv_prog_CC 3291 shift 3292 if test $# != 0; then 3293 # We chose a different compiler from the bogus one. 3294 # However, it has the same basename, so the bogon will be chosen 3295 # first if we set CC to just the basename; use the full file name. 3296 shift 3297 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3298 fi 3299fi 3300fi 3301fi 3302CC=$ac_cv_prog_CC 3303if test -n "$CC"; then 3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3305$as_echo "$CC" >&6; } 3306else 3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3308$as_echo "no" >&6; } 3309fi 3310 3311 3312fi 3313if test -z "$CC"; then 3314 if test -n "$ac_tool_prefix"; then 3315 for ac_prog in cl.exe 3316 do 3317 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3318set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3319{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3320$as_echo_n "checking for $ac_word... " >&6; } 3321if test "${ac_cv_prog_CC+set}" = set; then : 3322 $as_echo_n "(cached) " >&6 3323else 3324 if test -n "$CC"; then 3325 ac_cv_prog_CC="$CC" # Let the user override the test. 3326else 3327as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3328for as_dir in $PATH 3329do 3330 IFS=$as_save_IFS 3331 test -z "$as_dir" && as_dir=. 3332 for ac_exec_ext in '' $ac_executable_extensions; do 3333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3334 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3336 break 2 3337 fi 3338done 3339 done 3340IFS=$as_save_IFS 3341 3342fi 3343fi 3344CC=$ac_cv_prog_CC 3345if test -n "$CC"; then 3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3347$as_echo "$CC" >&6; } 3348else 3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3350$as_echo "no" >&6; } 3351fi 3352 3353 3354 test -n "$CC" && break 3355 done 3356fi 3357if test -z "$CC"; then 3358 ac_ct_CC=$CC 3359 for ac_prog in cl.exe 3360do 3361 # Extract the first word of "$ac_prog", so it can be a program name with args. 3362set dummy $ac_prog; ac_word=$2 3363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3364$as_echo_n "checking for $ac_word... " >&6; } 3365if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3366 $as_echo_n "(cached) " >&6 3367else 3368 if test -n "$ac_ct_CC"; then 3369 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3370else 3371as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3372for as_dir in $PATH 3373do 3374 IFS=$as_save_IFS 3375 test -z "$as_dir" && as_dir=. 3376 for ac_exec_ext in '' $ac_executable_extensions; do 3377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3378 ac_cv_prog_ac_ct_CC="$ac_prog" 3379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3380 break 2 3381 fi 3382done 3383 done 3384IFS=$as_save_IFS 3385 3386fi 3387fi 3388ac_ct_CC=$ac_cv_prog_ac_ct_CC 3389if test -n "$ac_ct_CC"; then 3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3391$as_echo "$ac_ct_CC" >&6; } 3392else 3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3394$as_echo "no" >&6; } 3395fi 3396 3397 3398 test -n "$ac_ct_CC" && break 3399done 3400 3401 if test "x$ac_ct_CC" = x; then 3402 CC="" 3403 else 3404 case $cross_compiling:$ac_tool_warned in 3405yes:) 3406{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3407$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3408ac_tool_warned=yes ;; 3409esac 3410 CC=$ac_ct_CC 3411 fi 3412fi 3413 3414fi 3415 3416 3417test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3418$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3419as_fn_error $? "no acceptable C compiler found in \$PATH 3420See \`config.log' for more details" "$LINENO" 5; } 3421 3422# Provide some information about the compiler. 3423$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3424set X $ac_compile 3425ac_compiler=$2 3426for ac_option in --version -v -V -qversion; do 3427 { { ac_try="$ac_compiler $ac_option >&5" 3428case "(($ac_try" in 3429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3430 *) ac_try_echo=$ac_try;; 3431esac 3432eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3433$as_echo "$ac_try_echo"; } >&5 3434 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3435 ac_status=$? 3436 if test -s conftest.err; then 3437 sed '10a\ 3438... rest of stderr output deleted ... 3439 10q' conftest.err >conftest.er1 3440 cat conftest.er1 >&5 3441 fi 3442 rm -f conftest.er1 conftest.err 3443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3444 test $ac_status = 0; } 3445done 3446 3447cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3448/* end confdefs.h. */ 3449 3450int 3451main () 3452{ 3453 3454 ; 3455 return 0; 3456} 3457_ACEOF 3458ac_clean_files_save=$ac_clean_files 3459ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3460# Try to create an executable without -o first, disregard a.out. 3461# It will help us diagnose broken compilers, and finding out an intuition 3462# of exeext. 3463{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3464$as_echo_n "checking whether the C compiler works... " >&6; } 3465ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3466 3467# The possible output files: 3468ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3469 3470ac_rmfiles= 3471for ac_file in $ac_files 3472do 3473 case $ac_file in 3474 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3475 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3476 esac 3477done 3478rm -f $ac_rmfiles 3479 3480if { { ac_try="$ac_link_default" 3481case "(($ac_try" in 3482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3483 *) ac_try_echo=$ac_try;; 3484esac 3485eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3486$as_echo "$ac_try_echo"; } >&5 3487 (eval "$ac_link_default") 2>&5 3488 ac_status=$? 3489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3490 test $ac_status = 0; }; then : 3491 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3492# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3493# in a Makefile. We should not override ac_cv_exeext if it was cached, 3494# so that the user can short-circuit this test for compilers unknown to 3495# Autoconf. 3496for ac_file in $ac_files '' 3497do 3498 test -f "$ac_file" || continue 3499 case $ac_file in 3500 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3501 ;; 3502 [ab].out ) 3503 # We found the default executable, but exeext='' is most 3504 # certainly right. 3505 break;; 3506 *.* ) 3507 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3508 then :; else 3509 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3510 fi 3511 # We set ac_cv_exeext here because the later test for it is not 3512 # safe: cross compilers may not add the suffix if given an `-o' 3513 # argument, so we may need to know it at that point already. 3514 # Even if this section looks crufty: it has the advantage of 3515 # actually working. 3516 break;; 3517 * ) 3518 break;; 3519 esac 3520done 3521test "$ac_cv_exeext" = no && ac_cv_exeext= 3522 3523else 3524 ac_file='' 3525fi 3526if test -z "$ac_file"; then : 3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3528$as_echo "no" >&6; } 3529$as_echo "$as_me: failed program was:" >&5 3530sed 's/^/| /' conftest.$ac_ext >&5 3531 3532{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3533$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3534as_fn_error 77 "C compiler cannot create executables 3535See \`config.log' for more details" "$LINENO" 5; } 3536else 3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3538$as_echo "yes" >&6; } 3539fi 3540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3541$as_echo_n "checking for C compiler default output file name... " >&6; } 3542{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3543$as_echo "$ac_file" >&6; } 3544ac_exeext=$ac_cv_exeext 3545 3546rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3547ac_clean_files=$ac_clean_files_save 3548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3549$as_echo_n "checking for suffix of executables... " >&6; } 3550if { { ac_try="$ac_link" 3551case "(($ac_try" in 3552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3553 *) ac_try_echo=$ac_try;; 3554esac 3555eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3556$as_echo "$ac_try_echo"; } >&5 3557 (eval "$ac_link") 2>&5 3558 ac_status=$? 3559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3560 test $ac_status = 0; }; then : 3561 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3562# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3563# work properly (i.e., refer to `conftest.exe'), while it won't with 3564# `rm'. 3565for ac_file in conftest.exe conftest conftest.*; do 3566 test -f "$ac_file" || continue 3567 case $ac_file in 3568 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3569 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3570 break;; 3571 * ) break;; 3572 esac 3573done 3574else 3575 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3576$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3577as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3578See \`config.log' for more details" "$LINENO" 5; } 3579fi 3580rm -f conftest conftest$ac_cv_exeext 3581{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3582$as_echo "$ac_cv_exeext" >&6; } 3583 3584rm -f conftest.$ac_ext 3585EXEEXT=$ac_cv_exeext 3586ac_exeext=$EXEEXT 3587cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3588/* end confdefs.h. */ 3589#include <stdio.h> 3590int 3591main () 3592{ 3593FILE *f = fopen ("conftest.out", "w"); 3594 return ferror (f) || fclose (f) != 0; 3595 3596 ; 3597 return 0; 3598} 3599_ACEOF 3600ac_clean_files="$ac_clean_files conftest.out" 3601# Check that the compiler produces executables we can run. If not, either 3602# the compiler is broken, or we cross compile. 3603{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3604$as_echo_n "checking whether we are cross compiling... " >&6; } 3605if test "$cross_compiling" != yes; then 3606 { { ac_try="$ac_link" 3607case "(($ac_try" in 3608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3609 *) ac_try_echo=$ac_try;; 3610esac 3611eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3612$as_echo "$ac_try_echo"; } >&5 3613 (eval "$ac_link") 2>&5 3614 ac_status=$? 3615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3616 test $ac_status = 0; } 3617 if { ac_try='./conftest$ac_cv_exeext' 3618 { { case "(($ac_try" in 3619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3620 *) ac_try_echo=$ac_try;; 3621esac 3622eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3623$as_echo "$ac_try_echo"; } >&5 3624 (eval "$ac_try") 2>&5 3625 ac_status=$? 3626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3627 test $ac_status = 0; }; }; then 3628 cross_compiling=no 3629 else 3630 if test "$cross_compiling" = maybe; then 3631 cross_compiling=yes 3632 else 3633 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3634$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3635as_fn_error $? "cannot run C compiled programs. 3636If you meant to cross compile, use \`--host'. 3637See \`config.log' for more details" "$LINENO" 5; } 3638 fi 3639 fi 3640fi 3641{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3642$as_echo "$cross_compiling" >&6; } 3643 3644rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3645ac_clean_files=$ac_clean_files_save 3646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3647$as_echo_n "checking for suffix of object files... " >&6; } 3648if test "${ac_cv_objext+set}" = set; then : 3649 $as_echo_n "(cached) " >&6 3650else 3651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3652/* end confdefs.h. */ 3653 3654int 3655main () 3656{ 3657 3658 ; 3659 return 0; 3660} 3661_ACEOF 3662rm -f conftest.o conftest.obj 3663if { { ac_try="$ac_compile" 3664case "(($ac_try" in 3665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3666 *) ac_try_echo=$ac_try;; 3667esac 3668eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3669$as_echo "$ac_try_echo"; } >&5 3670 (eval "$ac_compile") 2>&5 3671 ac_status=$? 3672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3673 test $ac_status = 0; }; then : 3674 for ac_file in conftest.o conftest.obj conftest.*; do 3675 test -f "$ac_file" || continue; 3676 case $ac_file in 3677 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3678 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3679 break;; 3680 esac 3681done 3682else 3683 $as_echo "$as_me: failed program was:" >&5 3684sed 's/^/| /' conftest.$ac_ext >&5 3685 3686{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3687$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3688as_fn_error $? "cannot compute suffix of object files: cannot compile 3689See \`config.log' for more details" "$LINENO" 5; } 3690fi 3691rm -f conftest.$ac_cv_objext conftest.$ac_ext 3692fi 3693{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3694$as_echo "$ac_cv_objext" >&6; } 3695OBJEXT=$ac_cv_objext 3696ac_objext=$OBJEXT 3697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3698$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3699if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3700 $as_echo_n "(cached) " >&6 3701else 3702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3703/* end confdefs.h. */ 3704 3705int 3706main () 3707{ 3708#ifndef __GNUC__ 3709 choke me 3710#endif 3711 3712 ; 3713 return 0; 3714} 3715_ACEOF 3716if ac_fn_c_try_compile "$LINENO"; then : 3717 ac_compiler_gnu=yes 3718else 3719 ac_compiler_gnu=no 3720fi 3721rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3722ac_cv_c_compiler_gnu=$ac_compiler_gnu 3723 3724fi 3725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3726$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3727if test $ac_compiler_gnu = yes; then 3728 GCC=yes 3729else 3730 GCC= 3731fi 3732ac_test_CFLAGS=${CFLAGS+set} 3733ac_save_CFLAGS=$CFLAGS 3734{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3735$as_echo_n "checking whether $CC accepts -g... " >&6; } 3736if test "${ac_cv_prog_cc_g+set}" = set; then : 3737 $as_echo_n "(cached) " >&6 3738else 3739 ac_save_c_werror_flag=$ac_c_werror_flag 3740 ac_c_werror_flag=yes 3741 ac_cv_prog_cc_g=no 3742 CFLAGS="-g" 3743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3744/* end confdefs.h. */ 3745 3746int 3747main () 3748{ 3749 3750 ; 3751 return 0; 3752} 3753_ACEOF 3754if ac_fn_c_try_compile "$LINENO"; then : 3755 ac_cv_prog_cc_g=yes 3756else 3757 CFLAGS="" 3758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3759/* end confdefs.h. */ 3760 3761int 3762main () 3763{ 3764 3765 ; 3766 return 0; 3767} 3768_ACEOF 3769if ac_fn_c_try_compile "$LINENO"; then : 3770 3771else 3772 ac_c_werror_flag=$ac_save_c_werror_flag 3773 CFLAGS="-g" 3774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3775/* end confdefs.h. */ 3776 3777int 3778main () 3779{ 3780 3781 ; 3782 return 0; 3783} 3784_ACEOF 3785if ac_fn_c_try_compile "$LINENO"; then : 3786 ac_cv_prog_cc_g=yes 3787fi 3788rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3789fi 3790rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3791fi 3792rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3793 ac_c_werror_flag=$ac_save_c_werror_flag 3794fi 3795{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3796$as_echo "$ac_cv_prog_cc_g" >&6; } 3797if test "$ac_test_CFLAGS" = set; then 3798 CFLAGS=$ac_save_CFLAGS 3799elif test $ac_cv_prog_cc_g = yes; then 3800 if test "$GCC" = yes; then 3801 CFLAGS="-g -O2" 3802 else 3803 CFLAGS="-g" 3804 fi 3805else 3806 if test "$GCC" = yes; then 3807 CFLAGS="-O2" 3808 else 3809 CFLAGS= 3810 fi 3811fi 3812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3813$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3814if test "${ac_cv_prog_cc_c89+set}" = set; then : 3815 $as_echo_n "(cached) " >&6 3816else 3817 ac_cv_prog_cc_c89=no 3818ac_save_CC=$CC 3819cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3820/* end confdefs.h. */ 3821#include <stdarg.h> 3822#include <stdio.h> 3823#include <sys/types.h> 3824#include <sys/stat.h> 3825/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3826struct buf { int x; }; 3827FILE * (*rcsopen) (struct buf *, struct stat *, int); 3828static char *e (p, i) 3829 char **p; 3830 int i; 3831{ 3832 return p[i]; 3833} 3834static char *f (char * (*g) (char **, int), char **p, ...) 3835{ 3836 char *s; 3837 va_list v; 3838 va_start (v,p); 3839 s = g (p, va_arg (v,int)); 3840 va_end (v); 3841 return s; 3842} 3843 3844/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3845 function prototypes and stuff, but not '\xHH' hex character constants. 3846 These don't provoke an error unfortunately, instead are silently treated 3847 as 'x'. The following induces an error, until -std is added to get 3848 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3849 array size at least. It's necessary to write '\x00'==0 to get something 3850 that's true only with -std. */ 3851int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3852 3853/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3854 inside strings and character constants. */ 3855#define FOO(x) 'x' 3856int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3857 3858int test (int i, double x); 3859struct s1 {int (*f) (int a);}; 3860struct s2 {int (*f) (double a);}; 3861int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3862int argc; 3863char **argv; 3864int 3865main () 3866{ 3867return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3868 ; 3869 return 0; 3870} 3871_ACEOF 3872for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3873 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3874do 3875 CC="$ac_save_CC $ac_arg" 3876 if ac_fn_c_try_compile "$LINENO"; then : 3877 ac_cv_prog_cc_c89=$ac_arg 3878fi 3879rm -f core conftest.err conftest.$ac_objext 3880 test "x$ac_cv_prog_cc_c89" != "xno" && break 3881done 3882rm -f conftest.$ac_ext 3883CC=$ac_save_CC 3884 3885fi 3886# AC_CACHE_VAL 3887case "x$ac_cv_prog_cc_c89" in 3888 x) 3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3890$as_echo "none needed" >&6; } ;; 3891 xno) 3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3893$as_echo "unsupported" >&6; } ;; 3894 *) 3895 CC="$CC $ac_cv_prog_cc_c89" 3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3897$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3898esac 3899if test "x$ac_cv_prog_cc_c89" != xno; then : 3900 3901fi 3902 3903ac_ext=c 3904ac_cpp='$CPP $CPPFLAGS' 3905ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3906ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3907ac_compiler_gnu=$ac_cv_c_compiler_gnu 3908DEPDIR="${am__leading_dot}deps" 3909 3910ac_config_commands="$ac_config_commands depfiles" 3911 3912 3913am_make=${MAKE-make} 3914cat > confinc << 'END' 3915am__doit: 3916 @echo this is the am__doit target 3917.PHONY: am__doit 3918END 3919# If we don't find an include directive, just comment out the code. 3920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3921$as_echo_n "checking for style of include used by $am_make... " >&6; } 3922am__include="#" 3923am__quote= 3924_am_result=none 3925# First try GNU make style include. 3926echo "include confinc" > confmf 3927# Ignore all kinds of additional output from `make'. 3928case `$am_make -s -f confmf 2> /dev/null` in #( 3929*the\ am__doit\ target*) 3930 am__include=include 3931 am__quote= 3932 _am_result=GNU 3933 ;; 3934esac 3935# Now try BSD make style include. 3936if test "$am__include" = "#"; then 3937 echo '.include "confinc"' > confmf 3938 case `$am_make -s -f confmf 2> /dev/null` in #( 3939 *the\ am__doit\ target*) 3940 am__include=.include 3941 am__quote="\"" 3942 _am_result=BSD 3943 ;; 3944 esac 3945fi 3946 3947 3948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3949$as_echo "$_am_result" >&6; } 3950rm -f confinc confmf 3951 3952# Check whether --enable-dependency-tracking was given. 3953if test "${enable_dependency_tracking+set}" = set; then : 3954 enableval=$enable_dependency_tracking; 3955fi 3956 3957if test "x$enable_dependency_tracking" != xno; then 3958 am_depcomp="$ac_aux_dir/depcomp" 3959 AMDEPBACKSLASH='\' 3960fi 3961 if test "x$enable_dependency_tracking" != xno; then 3962 AMDEP_TRUE= 3963 AMDEP_FALSE='#' 3964else 3965 AMDEP_TRUE='#' 3966 AMDEP_FALSE= 3967fi 3968 3969 3970 3971depcc="$CC" am_compiler_list= 3972 3973{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3974$as_echo_n "checking dependency style of $depcc... " >&6; } 3975if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 3976 $as_echo_n "(cached) " >&6 3977else 3978 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3979 # We make a subdir and do the tests there. Otherwise we can end up 3980 # making bogus files that we don't know about and never remove. For 3981 # instance it was reported that on HP-UX the gcc test will end up 3982 # making a dummy file named `D' -- because `-MD' means `put the output 3983 # in D'. 3984 mkdir conftest.dir 3985 # Copy depcomp to subdir because otherwise we won't find it if we're 3986 # using a relative directory. 3987 cp "$am_depcomp" conftest.dir 3988 cd conftest.dir 3989 # We will build objects and dependencies in a subdirectory because 3990 # it helps to detect inapplicable dependency modes. For instance 3991 # both Tru64's cc and ICC support -MD to output dependencies as a 3992 # side effect of compilation, but ICC will put the dependencies in 3993 # the current directory while Tru64 will put them in the object 3994 # directory. 3995 mkdir sub 3996 3997 am_cv_CC_dependencies_compiler_type=none 3998 if test "$am_compiler_list" = ""; then 3999 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4000 fi 4001 am__universal=false 4002 case " $depcc " in #( 4003 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4004 esac 4005 4006 for depmode in $am_compiler_list; do 4007 # Setup a source with many dependencies, because some compilers 4008 # like to wrap large dependency lists on column 80 (with \), and 4009 # we should not choose a depcomp mode which is confused by this. 4010 # 4011 # We need to recreate these files for each test, as the compiler may 4012 # overwrite some of them when testing with obscure command lines. 4013 # This happens at least with the AIX C compiler. 4014 : > sub/conftest.c 4015 for i in 1 2 3 4 5 6; do 4016 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4017 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4018 # Solaris 8's {/usr,}/bin/sh. 4019 touch sub/conftst$i.h 4020 done 4021 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4022 4023 # We check with `-c' and `-o' for the sake of the "dashmstdout" 4024 # mode. It turns out that the SunPro C++ compiler does not properly 4025 # handle `-M -o', and we need to detect this. Also, some Intel 4026 # versions had trouble with output in subdirs 4027 am__obj=sub/conftest.${OBJEXT-o} 4028 am__minus_obj="-o $am__obj" 4029 case $depmode in 4030 gcc) 4031 # This depmode causes a compiler race in universal mode. 4032 test "$am__universal" = false || continue 4033 ;; 4034 nosideeffect) 4035 # after this tag, mechanisms are not by side-effect, so they'll 4036 # only be used when explicitly requested 4037 if test "x$enable_dependency_tracking" = xyes; then 4038 continue 4039 else 4040 break 4041 fi 4042 ;; 4043 msvisualcpp | msvcmsys) 4044 # This compiler won't grok `-c -o', but also, the minuso test has 4045 # not run yet. These depmodes are late enough in the game, and 4046 # so weak that their functioning should not be impacted. 4047 am__obj=conftest.${OBJEXT-o} 4048 am__minus_obj= 4049 ;; 4050 none) break ;; 4051 esac 4052 if depmode=$depmode \ 4053 source=sub/conftest.c object=$am__obj \ 4054 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4055 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4056 >/dev/null 2>conftest.err && 4057 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4058 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4059 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4060 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4061 # icc doesn't choke on unknown options, it will just issue warnings 4062 # or remarks (even with -Werror). So we grep stderr for any message 4063 # that says an option was ignored or not supported. 4064 # When given -MP, icc 7.0 and 7.1 complain thusly: 4065 # icc: Command line warning: ignoring option '-M'; no argument required 4066 # The diagnosis changed in icc 8.0: 4067 # icc: Command line remark: option '-MP' not supported 4068 if (grep 'ignoring option' conftest.err || 4069 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4070 am_cv_CC_dependencies_compiler_type=$depmode 4071 break 4072 fi 4073 fi 4074 done 4075 4076 cd .. 4077 rm -rf conftest.dir 4078else 4079 am_cv_CC_dependencies_compiler_type=none 4080fi 4081 4082fi 4083{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4084$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4085CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4086 4087 if 4088 test "x$enable_dependency_tracking" != xno \ 4089 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4090 am__fastdepCC_TRUE= 4091 am__fastdepCC_FALSE='#' 4092else 4093 am__fastdepCC_TRUE='#' 4094 am__fastdepCC_FALSE= 4095fi 4096 4097 4098 4099 4100enable_dlopen=yes 4101 4102 4103 4104enable_win32_dll=yes 4105 4106case $host in 4107*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*) 4108 if test -n "$ac_tool_prefix"; then 4109 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 4110set dummy ${ac_tool_prefix}as; 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_AS+set}" = set; then : 4114 $as_echo_n "(cached) " >&6 4115else 4116 if test -n "$AS"; then 4117 ac_cv_prog_AS="$AS" # 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_AS="${ac_tool_prefix}as" 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 4136AS=$ac_cv_prog_AS 4137if test -n "$AS"; then 4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 4139$as_echo "$AS" >&6; } 4140else 4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4142$as_echo "no" >&6; } 4143fi 4144 4145 4146fi 4147if test -z "$ac_cv_prog_AS"; then 4148 ac_ct_AS=$AS 4149 # Extract the first word of "as", so it can be a program name with args. 4150set dummy as; ac_word=$2 4151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4152$as_echo_n "checking for $ac_word... " >&6; } 4153if test "${ac_cv_prog_ac_ct_AS+set}" = set; then : 4154 $as_echo_n "(cached) " >&6 4155else 4156 if test -n "$ac_ct_AS"; then 4157 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 4158else 4159as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4160for as_dir in $PATH 4161do 4162 IFS=$as_save_IFS 4163 test -z "$as_dir" && as_dir=. 4164 for ac_exec_ext in '' $ac_executable_extensions; do 4165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4166 ac_cv_prog_ac_ct_AS="as" 4167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4168 break 2 4169 fi 4170done 4171 done 4172IFS=$as_save_IFS 4173 4174fi 4175fi 4176ac_ct_AS=$ac_cv_prog_ac_ct_AS 4177if test -n "$ac_ct_AS"; then 4178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 4179$as_echo "$ac_ct_AS" >&6; } 4180else 4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4182$as_echo "no" >&6; } 4183fi 4184 4185 if test "x$ac_ct_AS" = x; then 4186 AS="false" 4187 else 4188 case $cross_compiling:$ac_tool_warned in 4189yes:) 4190{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4191$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4192ac_tool_warned=yes ;; 4193esac 4194 AS=$ac_ct_AS 4195 fi 4196else 4197 AS="$ac_cv_prog_AS" 4198fi 4199 4200 if test -n "$ac_tool_prefix"; then 4201 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 4202set dummy ${ac_tool_prefix}dlltool; ac_word=$2 4203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4204$as_echo_n "checking for $ac_word... " >&6; } 4205if test "${ac_cv_prog_DLLTOOL+set}" = set; then : 4206 $as_echo_n "(cached) " >&6 4207else 4208 if test -n "$DLLTOOL"; then 4209 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 4210else 4211as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4212for as_dir in $PATH 4213do 4214 IFS=$as_save_IFS 4215 test -z "$as_dir" && as_dir=. 4216 for ac_exec_ext in '' $ac_executable_extensions; do 4217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4218 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 4219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4220 break 2 4221 fi 4222done 4223 done 4224IFS=$as_save_IFS 4225 4226fi 4227fi 4228DLLTOOL=$ac_cv_prog_DLLTOOL 4229if test -n "$DLLTOOL"; then 4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 4231$as_echo "$DLLTOOL" >&6; } 4232else 4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4234$as_echo "no" >&6; } 4235fi 4236 4237 4238fi 4239if test -z "$ac_cv_prog_DLLTOOL"; then 4240 ac_ct_DLLTOOL=$DLLTOOL 4241 # Extract the first word of "dlltool", so it can be a program name with args. 4242set dummy dlltool; ac_word=$2 4243{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4244$as_echo_n "checking for $ac_word... " >&6; } 4245if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then : 4246 $as_echo_n "(cached) " >&6 4247else 4248 if test -n "$ac_ct_DLLTOOL"; then 4249 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 4250else 4251as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4252for as_dir in $PATH 4253do 4254 IFS=$as_save_IFS 4255 test -z "$as_dir" && as_dir=. 4256 for ac_exec_ext in '' $ac_executable_extensions; do 4257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4258 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 4259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4260 break 2 4261 fi 4262done 4263 done 4264IFS=$as_save_IFS 4265 4266fi 4267fi 4268ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 4269if test -n "$ac_ct_DLLTOOL"; then 4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 4271$as_echo "$ac_ct_DLLTOOL" >&6; } 4272else 4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4274$as_echo "no" >&6; } 4275fi 4276 4277 if test "x$ac_ct_DLLTOOL" = x; then 4278 DLLTOOL="false" 4279 else 4280 case $cross_compiling:$ac_tool_warned in 4281yes:) 4282{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4283$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4284ac_tool_warned=yes ;; 4285esac 4286 DLLTOOL=$ac_ct_DLLTOOL 4287 fi 4288else 4289 DLLTOOL="$ac_cv_prog_DLLTOOL" 4290fi 4291 4292 if test -n "$ac_tool_prefix"; then 4293 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4294set dummy ${ac_tool_prefix}objdump; ac_word=$2 4295{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4296$as_echo_n "checking for $ac_word... " >&6; } 4297if test "${ac_cv_prog_OBJDUMP+set}" = set; then : 4298 $as_echo_n "(cached) " >&6 4299else 4300 if test -n "$OBJDUMP"; then 4301 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4302else 4303as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4304for as_dir in $PATH 4305do 4306 IFS=$as_save_IFS 4307 test -z "$as_dir" && as_dir=. 4308 for ac_exec_ext in '' $ac_executable_extensions; do 4309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4310 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4312 break 2 4313 fi 4314done 4315 done 4316IFS=$as_save_IFS 4317 4318fi 4319fi 4320OBJDUMP=$ac_cv_prog_OBJDUMP 4321if test -n "$OBJDUMP"; then 4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 4323$as_echo "$OBJDUMP" >&6; } 4324else 4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4326$as_echo "no" >&6; } 4327fi 4328 4329 4330fi 4331if test -z "$ac_cv_prog_OBJDUMP"; then 4332 ac_ct_OBJDUMP=$OBJDUMP 4333 # Extract the first word of "objdump", so it can be a program name with args. 4334set dummy objdump; ac_word=$2 4335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4336$as_echo_n "checking for $ac_word... " >&6; } 4337if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : 4338 $as_echo_n "(cached) " >&6 4339else 4340 if test -n "$ac_ct_OBJDUMP"; then 4341 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4342else 4343as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4344for as_dir in $PATH 4345do 4346 IFS=$as_save_IFS 4347 test -z "$as_dir" && as_dir=. 4348 for ac_exec_ext in '' $ac_executable_extensions; do 4349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4350 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4352 break 2 4353 fi 4354done 4355 done 4356IFS=$as_save_IFS 4357 4358fi 4359fi 4360ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4361if test -n "$ac_ct_OBJDUMP"; then 4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 4363$as_echo "$ac_ct_OBJDUMP" >&6; } 4364else 4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4366$as_echo "no" >&6; } 4367fi 4368 4369 if test "x$ac_ct_OBJDUMP" = x; then 4370 OBJDUMP="false" 4371 else 4372 case $cross_compiling:$ac_tool_warned in 4373yes:) 4374{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4375$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4376ac_tool_warned=yes ;; 4377esac 4378 OBJDUMP=$ac_ct_OBJDUMP 4379 fi 4380else 4381 OBJDUMP="$ac_cv_prog_OBJDUMP" 4382fi 4383 4384 ;; 4385esac 4386 4387test -z "$AS" && AS=as 4388 4389 4390 4391 4392 4393test -z "$DLLTOOL" && DLLTOOL=dlltool 4394 4395 4396 4397 4398 4399test -z "$OBJDUMP" && OBJDUMP=objdump 4400 4401 4402 4403 4404 4405 4406 4407case `pwd` in 4408 *\ * | *\ *) 4409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4410$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4411esac 4412 4413 4414 4415macro_version='2.2.6b' 4416macro_revision='1.3017' 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430ltmain="$ac_aux_dir/ltmain.sh" 4431 4432{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4433$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4434if test "${ac_cv_path_SED+set}" = set; then : 4435 $as_echo_n "(cached) " >&6 4436else 4437 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4438 for ac_i in 1 2 3 4 5 6 7; do 4439 ac_script="$ac_script$as_nl$ac_script" 4440 done 4441 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4442 { ac_script=; unset ac_script;} 4443 if test -z "$SED"; then 4444 ac_path_SED_found=false 4445 # Loop through the user's path and test for each of PROGNAME-LIST 4446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4447for as_dir in $PATH 4448do 4449 IFS=$as_save_IFS 4450 test -z "$as_dir" && as_dir=. 4451 for ac_prog in sed gsed; do 4452 for ac_exec_ext in '' $ac_executable_extensions; do 4453 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4454 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 4455# Check for GNU ac_path_SED and select it if it is found. 4456 # Check for GNU $ac_path_SED 4457case `"$ac_path_SED" --version 2>&1` in 4458*GNU*) 4459 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4460*) 4461 ac_count=0 4462 $as_echo_n 0123456789 >"conftest.in" 4463 while : 4464 do 4465 cat "conftest.in" "conftest.in" >"conftest.tmp" 4466 mv "conftest.tmp" "conftest.in" 4467 cp "conftest.in" "conftest.nl" 4468 $as_echo '' >> "conftest.nl" 4469 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4470 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4471 as_fn_arith $ac_count + 1 && ac_count=$as_val 4472 if test $ac_count -gt ${ac_path_SED_max-0}; then 4473 # Best one so far, save it but keep looking for a better one 4474 ac_cv_path_SED="$ac_path_SED" 4475 ac_path_SED_max=$ac_count 4476 fi 4477 # 10*(2^10) chars as input seems more than enough 4478 test $ac_count -gt 10 && break 4479 done 4480 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4481esac 4482 4483 $ac_path_SED_found && break 3 4484 done 4485 done 4486 done 4487IFS=$as_save_IFS 4488 if test -z "$ac_cv_path_SED"; then 4489 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4490 fi 4491else 4492 ac_cv_path_SED=$SED 4493fi 4494 4495fi 4496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4497$as_echo "$ac_cv_path_SED" >&6; } 4498 SED="$ac_cv_path_SED" 4499 rm -f conftest.sed 4500 4501test -z "$SED" && SED=sed 4502Xsed="$SED -e 1s/^X//" 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4515$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4516if test "${ac_cv_path_GREP+set}" = set; then : 4517 $as_echo_n "(cached) " >&6 4518else 4519 if test -z "$GREP"; then 4520 ac_path_GREP_found=false 4521 # Loop through the user's path and test for each of PROGNAME-LIST 4522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4523for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4524do 4525 IFS=$as_save_IFS 4526 test -z "$as_dir" && as_dir=. 4527 for ac_prog in grep ggrep; do 4528 for ac_exec_ext in '' $ac_executable_extensions; do 4529 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4530 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4531# Check for GNU ac_path_GREP and select it if it is found. 4532 # Check for GNU $ac_path_GREP 4533case `"$ac_path_GREP" --version 2>&1` in 4534*GNU*) 4535 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4536*) 4537 ac_count=0 4538 $as_echo_n 0123456789 >"conftest.in" 4539 while : 4540 do 4541 cat "conftest.in" "conftest.in" >"conftest.tmp" 4542 mv "conftest.tmp" "conftest.in" 4543 cp "conftest.in" "conftest.nl" 4544 $as_echo 'GREP' >> "conftest.nl" 4545 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4546 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4547 as_fn_arith $ac_count + 1 && ac_count=$as_val 4548 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4549 # Best one so far, save it but keep looking for a better one 4550 ac_cv_path_GREP="$ac_path_GREP" 4551 ac_path_GREP_max=$ac_count 4552 fi 4553 # 10*(2^10) chars as input seems more than enough 4554 test $ac_count -gt 10 && break 4555 done 4556 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4557esac 4558 4559 $ac_path_GREP_found && break 3 4560 done 4561 done 4562 done 4563IFS=$as_save_IFS 4564 if test -z "$ac_cv_path_GREP"; then 4565 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4566 fi 4567else 4568 ac_cv_path_GREP=$GREP 4569fi 4570 4571fi 4572{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4573$as_echo "$ac_cv_path_GREP" >&6; } 4574 GREP="$ac_cv_path_GREP" 4575 4576 4577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4578$as_echo_n "checking for egrep... " >&6; } 4579if test "${ac_cv_path_EGREP+set}" = set; then : 4580 $as_echo_n "(cached) " >&6 4581else 4582 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4583 then ac_cv_path_EGREP="$GREP -E" 4584 else 4585 if test -z "$EGREP"; then 4586 ac_path_EGREP_found=false 4587 # Loop through the user's path and test for each of PROGNAME-LIST 4588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4589for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4590do 4591 IFS=$as_save_IFS 4592 test -z "$as_dir" && as_dir=. 4593 for ac_prog in egrep; do 4594 for ac_exec_ext in '' $ac_executable_extensions; do 4595 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4596 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4597# Check for GNU ac_path_EGREP and select it if it is found. 4598 # Check for GNU $ac_path_EGREP 4599case `"$ac_path_EGREP" --version 2>&1` in 4600*GNU*) 4601 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4602*) 4603 ac_count=0 4604 $as_echo_n 0123456789 >"conftest.in" 4605 while : 4606 do 4607 cat "conftest.in" "conftest.in" >"conftest.tmp" 4608 mv "conftest.tmp" "conftest.in" 4609 cp "conftest.in" "conftest.nl" 4610 $as_echo 'EGREP' >> "conftest.nl" 4611 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4612 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4613 as_fn_arith $ac_count + 1 && ac_count=$as_val 4614 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4615 # Best one so far, save it but keep looking for a better one 4616 ac_cv_path_EGREP="$ac_path_EGREP" 4617 ac_path_EGREP_max=$ac_count 4618 fi 4619 # 10*(2^10) chars as input seems more than enough 4620 test $ac_count -gt 10 && break 4621 done 4622 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4623esac 4624 4625 $ac_path_EGREP_found && break 3 4626 done 4627 done 4628 done 4629IFS=$as_save_IFS 4630 if test -z "$ac_cv_path_EGREP"; then 4631 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4632 fi 4633else 4634 ac_cv_path_EGREP=$EGREP 4635fi 4636 4637 fi 4638fi 4639{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4640$as_echo "$ac_cv_path_EGREP" >&6; } 4641 EGREP="$ac_cv_path_EGREP" 4642 4643 4644{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4645$as_echo_n "checking for fgrep... " >&6; } 4646if test "${ac_cv_path_FGREP+set}" = set; then : 4647 $as_echo_n "(cached) " >&6 4648else 4649 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4650 then ac_cv_path_FGREP="$GREP -F" 4651 else 4652 if test -z "$FGREP"; then 4653 ac_path_FGREP_found=false 4654 # Loop through the user's path and test for each of PROGNAME-LIST 4655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4656for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4657do 4658 IFS=$as_save_IFS 4659 test -z "$as_dir" && as_dir=. 4660 for ac_prog in fgrep; do 4661 for ac_exec_ext in '' $ac_executable_extensions; do 4662 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4663 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 4664# Check for GNU ac_path_FGREP and select it if it is found. 4665 # Check for GNU $ac_path_FGREP 4666case `"$ac_path_FGREP" --version 2>&1` in 4667*GNU*) 4668 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4669*) 4670 ac_count=0 4671 $as_echo_n 0123456789 >"conftest.in" 4672 while : 4673 do 4674 cat "conftest.in" "conftest.in" >"conftest.tmp" 4675 mv "conftest.tmp" "conftest.in" 4676 cp "conftest.in" "conftest.nl" 4677 $as_echo 'FGREP' >> "conftest.nl" 4678 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4679 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4680 as_fn_arith $ac_count + 1 && ac_count=$as_val 4681 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4682 # Best one so far, save it but keep looking for a better one 4683 ac_cv_path_FGREP="$ac_path_FGREP" 4684 ac_path_FGREP_max=$ac_count 4685 fi 4686 # 10*(2^10) chars as input seems more than enough 4687 test $ac_count -gt 10 && break 4688 done 4689 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4690esac 4691 4692 $ac_path_FGREP_found && break 3 4693 done 4694 done 4695 done 4696IFS=$as_save_IFS 4697 if test -z "$ac_cv_path_FGREP"; then 4698 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4699 fi 4700else 4701 ac_cv_path_FGREP=$FGREP 4702fi 4703 4704 fi 4705fi 4706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4707$as_echo "$ac_cv_path_FGREP" >&6; } 4708 FGREP="$ac_cv_path_FGREP" 4709 4710 4711test -z "$GREP" && GREP=grep 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731# Check whether --with-gnu-ld was given. 4732if test "${with_gnu_ld+set}" = set; then : 4733 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4734else 4735 with_gnu_ld=no 4736fi 4737 4738ac_prog=ld 4739if test "$GCC" = yes; then 4740 # Check if gcc -print-prog-name=ld gives a path. 4741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4742$as_echo_n "checking for ld used by $CC... " >&6; } 4743 case $host in 4744 *-*-mingw*) 4745 # gcc leaves a trailing carriage return which upsets mingw 4746 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4747 *) 4748 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4749 esac 4750 case $ac_prog in 4751 # Accept absolute paths. 4752 [\\/]* | ?:[\\/]*) 4753 re_direlt='/[^/][^/]*/\.\./' 4754 # Canonicalize the pathname of ld 4755 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4756 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4757 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4758 done 4759 test -z "$LD" && LD="$ac_prog" 4760 ;; 4761 "") 4762 # If it fails, then pretend we aren't using GCC. 4763 ac_prog=ld 4764 ;; 4765 *) 4766 # If it is relative, then search for the first ld in PATH. 4767 with_gnu_ld=unknown 4768 ;; 4769 esac 4770elif test "$with_gnu_ld" = yes; then 4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4772$as_echo_n "checking for GNU ld... " >&6; } 4773else 4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4775$as_echo_n "checking for non-GNU ld... " >&6; } 4776fi 4777if test "${lt_cv_path_LD+set}" = set; then : 4778 $as_echo_n "(cached) " >&6 4779else 4780 if test -z "$LD"; then 4781 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4782 for ac_dir in $PATH; do 4783 IFS="$lt_save_ifs" 4784 test -z "$ac_dir" && ac_dir=. 4785 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4786 lt_cv_path_LD="$ac_dir/$ac_prog" 4787 # Check to see if the program is GNU ld. I'd rather use --version, 4788 # but apparently some variants of GNU ld only accept -v. 4789 # Break only if it was the GNU/non-GNU ld that we prefer. 4790 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4791 *GNU* | *'with BFD'*) 4792 test "$with_gnu_ld" != no && break 4793 ;; 4794 *) 4795 test "$with_gnu_ld" != yes && break 4796 ;; 4797 esac 4798 fi 4799 done 4800 IFS="$lt_save_ifs" 4801else 4802 lt_cv_path_LD="$LD" # Let the user override the test with a path. 4803fi 4804fi 4805 4806LD="$lt_cv_path_LD" 4807if test -n "$LD"; then 4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4809$as_echo "$LD" >&6; } 4810else 4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4812$as_echo "no" >&6; } 4813fi 4814test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4815{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4816$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4817if test "${lt_cv_prog_gnu_ld+set}" = set; then : 4818 $as_echo_n "(cached) " >&6 4819else 4820 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4821case `$LD -v 2>&1 </dev/null` in 4822*GNU* | *'with BFD'*) 4823 lt_cv_prog_gnu_ld=yes 4824 ;; 4825*) 4826 lt_cv_prog_gnu_ld=no 4827 ;; 4828esac 4829fi 4830{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4831$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4832with_gnu_ld=$lt_cv_prog_gnu_ld 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4843$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4844if test "${lt_cv_path_NM+set}" = set; then : 4845 $as_echo_n "(cached) " >&6 4846else 4847 if test -n "$NM"; then 4848 # Let the user override the test. 4849 lt_cv_path_NM="$NM" 4850else 4851 lt_nm_to_check="${ac_tool_prefix}nm" 4852 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4853 lt_nm_to_check="$lt_nm_to_check nm" 4854 fi 4855 for lt_tmp_nm in $lt_nm_to_check; do 4856 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4857 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4858 IFS="$lt_save_ifs" 4859 test -z "$ac_dir" && ac_dir=. 4860 tmp_nm="$ac_dir/$lt_tmp_nm" 4861 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 4862 # Check to see if the nm accepts a BSD-compat flag. 4863 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 4864 # nm: unknown option "B" ignored 4865 # Tru64's nm complains that /dev/null is an invalid object file 4866 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 4867 */dev/null* | *'Invalid file or object type'*) 4868 lt_cv_path_NM="$tmp_nm -B" 4869 break 4870 ;; 4871 *) 4872 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4873 */dev/null*) 4874 lt_cv_path_NM="$tmp_nm -p" 4875 break 4876 ;; 4877 *) 4878 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4879 continue # so that we can try to find one that supports BSD flags 4880 ;; 4881 esac 4882 ;; 4883 esac 4884 fi 4885 done 4886 IFS="$lt_save_ifs" 4887 done 4888 : ${lt_cv_path_NM=no} 4889fi 4890fi 4891{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4892$as_echo "$lt_cv_path_NM" >&6; } 4893if test "$lt_cv_path_NM" != "no"; then 4894 NM="$lt_cv_path_NM" 4895else 4896 # Didn't find any BSD compatible name lister, look for dumpbin. 4897 if test -n "$ac_tool_prefix"; then 4898 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 4899 do 4900 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4901set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4902{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4903$as_echo_n "checking for $ac_word... " >&6; } 4904if test "${ac_cv_prog_DUMPBIN+set}" = set; then : 4905 $as_echo_n "(cached) " >&6 4906else 4907 if test -n "$DUMPBIN"; then 4908 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4909else 4910as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4911for as_dir in $PATH 4912do 4913 IFS=$as_save_IFS 4914 test -z "$as_dir" && as_dir=. 4915 for ac_exec_ext in '' $ac_executable_extensions; do 4916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4917 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4919 break 2 4920 fi 4921done 4922 done 4923IFS=$as_save_IFS 4924 4925fi 4926fi 4927DUMPBIN=$ac_cv_prog_DUMPBIN 4928if test -n "$DUMPBIN"; then 4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4930$as_echo "$DUMPBIN" >&6; } 4931else 4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4933$as_echo "no" >&6; } 4934fi 4935 4936 4937 test -n "$DUMPBIN" && break 4938 done 4939fi 4940if test -z "$DUMPBIN"; then 4941 ac_ct_DUMPBIN=$DUMPBIN 4942 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 4943do 4944 # Extract the first word of "$ac_prog", so it can be a program name with args. 4945set dummy $ac_prog; ac_word=$2 4946{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4947$as_echo_n "checking for $ac_word... " >&6; } 4948if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : 4949 $as_echo_n "(cached) " >&6 4950else 4951 if test -n "$ac_ct_DUMPBIN"; then 4952 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4953else 4954as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4955for as_dir in $PATH 4956do 4957 IFS=$as_save_IFS 4958 test -z "$as_dir" && as_dir=. 4959 for ac_exec_ext in '' $ac_executable_extensions; do 4960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4961 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4963 break 2 4964 fi 4965done 4966 done 4967IFS=$as_save_IFS 4968 4969fi 4970fi 4971ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4972if test -n "$ac_ct_DUMPBIN"; then 4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4974$as_echo "$ac_ct_DUMPBIN" >&6; } 4975else 4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4977$as_echo "no" >&6; } 4978fi 4979 4980 4981 test -n "$ac_ct_DUMPBIN" && break 4982done 4983 4984 if test "x$ac_ct_DUMPBIN" = x; then 4985 DUMPBIN=":" 4986 else 4987 case $cross_compiling:$ac_tool_warned in 4988yes:) 4989{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4990$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4991ac_tool_warned=yes ;; 4992esac 4993 DUMPBIN=$ac_ct_DUMPBIN 4994 fi 4995fi 4996 4997 4998 if test "$DUMPBIN" != ":"; then 4999 NM="$DUMPBIN" 5000 fi 5001fi 5002test -z "$NM" && NM=nm 5003 5004 5005 5006 5007 5008 5009{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5010$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5011if test "${lt_cv_nm_interface+set}" = set; then : 5012 $as_echo_n "(cached) " >&6 5013else 5014 lt_cv_nm_interface="BSD nm" 5015 echo "int some_variable = 0;" > conftest.$ac_ext 5016 (eval echo "\"\$as_me:5016: $ac_compile\"" >&5) 5017 (eval "$ac_compile" 2>conftest.err) 5018 cat conftest.err >&5 5019 (eval echo "\"\$as_me:5019: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5020 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5021 cat conftest.err >&5 5022 (eval echo "\"\$as_me:5022: output\"" >&5) 5023 cat conftest.out >&5 5024 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5025 lt_cv_nm_interface="MS dumpbin" 5026 fi 5027 rm -f conftest* 5028fi 5029{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5030$as_echo "$lt_cv_nm_interface" >&6; } 5031 5032{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5033$as_echo_n "checking whether ln -s works... " >&6; } 5034LN_S=$as_ln_s 5035if test "$LN_S" = "ln -s"; then 5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5037$as_echo "yes" >&6; } 5038else 5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5040$as_echo "no, using $LN_S" >&6; } 5041fi 5042 5043# find the maximum length of command line arguments 5044{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5045$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5046if test "${lt_cv_sys_max_cmd_len+set}" = set; then : 5047 $as_echo_n "(cached) " >&6 5048else 5049 i=0 5050 teststring="ABCD" 5051 5052 case $build_os in 5053 msdosdjgpp*) 5054 # On DJGPP, this test can blow up pretty badly due to problems in libc 5055 # (any single argument exceeding 2000 bytes causes a buffer overrun 5056 # during glob expansion). Even if it were fixed, the result of this 5057 # check would be larger than it should be. 5058 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5059 ;; 5060 5061 gnu*) 5062 # Under GNU Hurd, this test is not required because there is 5063 # no limit to the length of command line arguments. 5064 # Libtool will interpret -1 as no limit whatsoever 5065 lt_cv_sys_max_cmd_len=-1; 5066 ;; 5067 5068 cygwin* | mingw* | cegcc*) 5069 # On Win9x/ME, this test blows up -- it succeeds, but takes 5070 # about 5 minutes as the teststring grows exponentially. 5071 # Worse, since 9x/ME are not pre-emptively multitasking, 5072 # you end up with a "frozen" computer, even though with patience 5073 # the test eventually succeeds (with a max line length of 256k). 5074 # Instead, let's just punt: use the minimum linelength reported by 5075 # all of the supported platforms: 8192 (on NT/2K/XP). 5076 lt_cv_sys_max_cmd_len=8192; 5077 ;; 5078 5079 amigaos*) 5080 # On AmigaOS with pdksh, this test takes hours, literally. 5081 # So we just punt and use a minimum line length of 8192. 5082 lt_cv_sys_max_cmd_len=8192; 5083 ;; 5084 5085 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 5086 # This has been around since 386BSD, at least. Likely further. 5087 if test -x /sbin/sysctl; then 5088 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5089 elif test -x /usr/sbin/sysctl; then 5090 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5091 else 5092 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5093 fi 5094 # And add a safety zone 5095 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5096 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5097 ;; 5098 5099 interix*) 5100 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5101 lt_cv_sys_max_cmd_len=196608 5102 ;; 5103 5104 osf*) 5105 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5106 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5107 # nice to cause kernel panics so lets avoid the loop below. 5108 # First set a reasonable default. 5109 lt_cv_sys_max_cmd_len=16384 5110 # 5111 if test -x /sbin/sysconfig; then 5112 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5113 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5114 esac 5115 fi 5116 ;; 5117 sco3.2v5*) 5118 lt_cv_sys_max_cmd_len=102400 5119 ;; 5120 sysv5* | sco5v6* | sysv4.2uw2*) 5121 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5122 if test -n "$kargmax"; then 5123 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5124 else 5125 lt_cv_sys_max_cmd_len=32768 5126 fi 5127 ;; 5128 *) 5129 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5130 if test -n "$lt_cv_sys_max_cmd_len"; then 5131 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5132 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5133 else 5134 # Make teststring a little bigger before we do anything with it. 5135 # a 1K string should be a reasonable start. 5136 for i in 1 2 3 4 5 6 7 8 ; do 5137 teststring=$teststring$teststring 5138 done 5139 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5140 # If test is not a shell built-in, we'll probably end up computing a 5141 # maximum length that is only half of the actual maximum length, but 5142 # we can't tell. 5143 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ 5144 = "XX$teststring$teststring"; } >/dev/null 2>&1 && 5145 test $i != 17 # 1/2 MB should be enough 5146 do 5147 i=`expr $i + 1` 5148 teststring=$teststring$teststring 5149 done 5150 # Only check the string length outside the loop. 5151 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5152 teststring= 5153 # Add a significant safety factor because C++ compilers can tack on 5154 # massive amounts of additional arguments before passing them to the 5155 # linker. It appears as though 1/2 is a usable value. 5156 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5157 fi 5158 ;; 5159 esac 5160 5161fi 5162 5163if test -n $lt_cv_sys_max_cmd_len ; then 5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5165$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5166else 5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5168$as_echo "none" >&6; } 5169fi 5170max_cmd_len=$lt_cv_sys_max_cmd_len 5171 5172 5173 5174 5175 5176 5177: ${CP="cp -f"} 5178: ${MV="mv -f"} 5179: ${RM="rm -f"} 5180 5181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 5182$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 5183# Try some XSI features 5184xsi_shell=no 5185( _lt_dummy="a/b/c" 5186 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ 5187 = c,a/b,, \ 5188 && eval 'test $(( 1 + 1 )) -eq 2 \ 5189 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 5190 && xsi_shell=yes 5191{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 5192$as_echo "$xsi_shell" >&6; } 5193 5194 5195{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 5196$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 5197lt_shell_append=no 5198( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 5199 >/dev/null 2>&1 \ 5200 && lt_shell_append=yes 5201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 5202$as_echo "$lt_shell_append" >&6; } 5203 5204 5205if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5206 lt_unset=unset 5207else 5208 lt_unset=false 5209fi 5210 5211 5212 5213 5214 5215# test EBCDIC or ASCII 5216case `echo X|tr X '\101'` in 5217 A) # ASCII based system 5218 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5219 lt_SP2NL='tr \040 \012' 5220 lt_NL2SP='tr \015\012 \040\040' 5221 ;; 5222 *) # EBCDIC based system 5223 lt_SP2NL='tr \100 \n' 5224 lt_NL2SP='tr \r\n \100\100' 5225 ;; 5226esac 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5237$as_echo_n "checking for $LD option to reload object files... " >&6; } 5238if test "${lt_cv_ld_reload_flag+set}" = set; then : 5239 $as_echo_n "(cached) " >&6 5240else 5241 lt_cv_ld_reload_flag='-r' 5242fi 5243{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5244$as_echo "$lt_cv_ld_reload_flag" >&6; } 5245reload_flag=$lt_cv_ld_reload_flag 5246case $reload_flag in 5247"" | " "*) ;; 5248*) reload_flag=" $reload_flag" ;; 5249esac 5250reload_cmds='$LD$reload_flag -o $output$reload_objs' 5251case $host_os in 5252 darwin*) 5253 if test "$GCC" = yes; then 5254 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5255 else 5256 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5257 fi 5258 ;; 5259esac 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269if test -n "$ac_tool_prefix"; then 5270 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5271set dummy ${ac_tool_prefix}objdump; ac_word=$2 5272{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5273$as_echo_n "checking for $ac_word... " >&6; } 5274if test "${ac_cv_prog_OBJDUMP+set}" = set; then : 5275 $as_echo_n "(cached) " >&6 5276else 5277 if test -n "$OBJDUMP"; then 5278 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5279else 5280as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5281for as_dir in $PATH 5282do 5283 IFS=$as_save_IFS 5284 test -z "$as_dir" && as_dir=. 5285 for ac_exec_ext in '' $ac_executable_extensions; do 5286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5287 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5289 break 2 5290 fi 5291done 5292 done 5293IFS=$as_save_IFS 5294 5295fi 5296fi 5297OBJDUMP=$ac_cv_prog_OBJDUMP 5298if test -n "$OBJDUMP"; then 5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5300$as_echo "$OBJDUMP" >&6; } 5301else 5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5303$as_echo "no" >&6; } 5304fi 5305 5306 5307fi 5308if test -z "$ac_cv_prog_OBJDUMP"; then 5309 ac_ct_OBJDUMP=$OBJDUMP 5310 # Extract the first word of "objdump", so it can be a program name with args. 5311set dummy objdump; ac_word=$2 5312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5313$as_echo_n "checking for $ac_word... " >&6; } 5314if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : 5315 $as_echo_n "(cached) " >&6 5316else 5317 if test -n "$ac_ct_OBJDUMP"; then 5318 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5319else 5320as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5321for as_dir in $PATH 5322do 5323 IFS=$as_save_IFS 5324 test -z "$as_dir" && as_dir=. 5325 for ac_exec_ext in '' $ac_executable_extensions; do 5326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5327 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5329 break 2 5330 fi 5331done 5332 done 5333IFS=$as_save_IFS 5334 5335fi 5336fi 5337ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5338if test -n "$ac_ct_OBJDUMP"; then 5339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5340$as_echo "$ac_ct_OBJDUMP" >&6; } 5341else 5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5343$as_echo "no" >&6; } 5344fi 5345 5346 if test "x$ac_ct_OBJDUMP" = x; then 5347 OBJDUMP="false" 5348 else 5349 case $cross_compiling:$ac_tool_warned in 5350yes:) 5351{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5352$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5353ac_tool_warned=yes ;; 5354esac 5355 OBJDUMP=$ac_ct_OBJDUMP 5356 fi 5357else 5358 OBJDUMP="$ac_cv_prog_OBJDUMP" 5359fi 5360 5361test -z "$OBJDUMP" && OBJDUMP=objdump 5362 5363 5364 5365 5366 5367 5368{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5369$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5370if test "${lt_cv_deplibs_check_method+set}" = set; then : 5371 $as_echo_n "(cached) " >&6 5372else 5373 lt_cv_file_magic_cmd='$MAGIC_CMD' 5374lt_cv_file_magic_test_file= 5375lt_cv_deplibs_check_method='unknown' 5376# Need to set the preceding variable on all platforms that support 5377# interlibrary dependencies. 5378# 'none' -- dependencies not supported. 5379# `unknown' -- same as none, but documents that we really don't know. 5380# 'pass_all' -- all dependencies passed with no checks. 5381# 'test_compile' -- check by making test program. 5382# 'file_magic [[regex]]' -- check by looking for files in library path 5383# which responds to the $file_magic_cmd with a given extended regex. 5384# If you have `file' or equivalent on your system and you're not sure 5385# whether `pass_all' will *always* work, you probably want this one. 5386 5387case $host_os in 5388aix[4-9]*) 5389 lt_cv_deplibs_check_method=pass_all 5390 ;; 5391 5392beos*) 5393 lt_cv_deplibs_check_method=pass_all 5394 ;; 5395 5396bsdi[45]*) 5397 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5398 lt_cv_file_magic_cmd='/usr/bin/file -L' 5399 lt_cv_file_magic_test_file=/shlib/libc.so 5400 ;; 5401 5402cygwin*) 5403 # func_win32_libid is a shell function defined in ltmain.sh 5404 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5405 lt_cv_file_magic_cmd='func_win32_libid' 5406 ;; 5407 5408mingw* | pw32*) 5409 # Base MSYS/MinGW do not provide the 'file' command needed by 5410 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5411 # unless we find 'file', for example because we are cross-compiling. 5412 if ( file / ) >/dev/null 2>&1; then 5413 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5414 lt_cv_file_magic_cmd='func_win32_libid' 5415 else 5416 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 5417 lt_cv_file_magic_cmd='$OBJDUMP -f' 5418 fi 5419 ;; 5420 5421cegcc) 5422 # use the weaker test based on 'objdump'. See mingw*. 5423 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5424 lt_cv_file_magic_cmd='$OBJDUMP -f' 5425 ;; 5426 5427darwin* | rhapsody*) 5428 lt_cv_deplibs_check_method=pass_all 5429 ;; 5430 5431freebsd* | dragonfly*) 5432 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5433 case $host_cpu in 5434 i*86 ) 5435 # Not sure whether the presence of OpenBSD here was a mistake. 5436 # Let's accept both of them until this is cleared up. 5437 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5438 lt_cv_file_magic_cmd=/usr/bin/file 5439 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5440 ;; 5441 esac 5442 else 5443 lt_cv_deplibs_check_method=pass_all 5444 fi 5445 ;; 5446 5447gnu*) 5448 lt_cv_deplibs_check_method=pass_all 5449 ;; 5450 5451hpux10.20* | hpux11*) 5452 lt_cv_file_magic_cmd=/usr/bin/file 5453 case $host_cpu in 5454 ia64*) 5455 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5456 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5457 ;; 5458 hppa*64*) 5459 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]' 5460 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5461 ;; 5462 *) 5463 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 5464 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5465 ;; 5466 esac 5467 ;; 5468 5469interix[3-9]*) 5470 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5471 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5472 ;; 5473 5474irix5* | irix6* | nonstopux*) 5475 case $LD in 5476 *-32|*"-32 ") libmagic=32-bit;; 5477 *-n32|*"-n32 ") libmagic=N32;; 5478 *-64|*"-64 ") libmagic=64-bit;; 5479 *) libmagic=never-match;; 5480 esac 5481 lt_cv_deplibs_check_method=pass_all 5482 ;; 5483 5484# This must be Linux ELF. 5485linux* | k*bsd*-gnu) 5486 lt_cv_deplibs_check_method=pass_all 5487 ;; 5488 5489netbsd*) 5490 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5491 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5492 else 5493 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5494 fi 5495 ;; 5496 5497newos6*) 5498 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5499 lt_cv_file_magic_cmd=/usr/bin/file 5500 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5501 ;; 5502 5503*nto* | *qnx*) 5504 lt_cv_deplibs_check_method=pass_all 5505 ;; 5506 5507openbsd*) 5508 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 5509 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5510 else 5511 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5512 fi 5513 ;; 5514 5515osf3* | osf4* | osf5*) 5516 lt_cv_deplibs_check_method=pass_all 5517 ;; 5518 5519rdos*) 5520 lt_cv_deplibs_check_method=pass_all 5521 ;; 5522 5523solaris*) 5524 lt_cv_deplibs_check_method=pass_all 5525 ;; 5526 5527sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5528 lt_cv_deplibs_check_method=pass_all 5529 ;; 5530 5531sysv4 | sysv4.3*) 5532 case $host_vendor in 5533 motorola) 5534 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]' 5535 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5536 ;; 5537 ncr) 5538 lt_cv_deplibs_check_method=pass_all 5539 ;; 5540 sequent) 5541 lt_cv_file_magic_cmd='/bin/file' 5542 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5543 ;; 5544 sni) 5545 lt_cv_file_magic_cmd='/bin/file' 5546 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5547 lt_cv_file_magic_test_file=/lib/libc.so 5548 ;; 5549 siemens) 5550 lt_cv_deplibs_check_method=pass_all 5551 ;; 5552 pc) 5553 lt_cv_deplibs_check_method=pass_all 5554 ;; 5555 esac 5556 ;; 5557 5558tpf*) 5559 lt_cv_deplibs_check_method=pass_all 5560 ;; 5561esac 5562 5563fi 5564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5565$as_echo "$lt_cv_deplibs_check_method" >&6; } 5566file_magic_cmd=$lt_cv_file_magic_cmd 5567deplibs_check_method=$lt_cv_deplibs_check_method 5568test -z "$deplibs_check_method" && deplibs_check_method=unknown 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581if test -n "$ac_tool_prefix"; then 5582 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 5583set dummy ${ac_tool_prefix}ar; ac_word=$2 5584{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5585$as_echo_n "checking for $ac_word... " >&6; } 5586if test "${ac_cv_prog_AR+set}" = set; then : 5587 $as_echo_n "(cached) " >&6 5588else 5589 if test -n "$AR"; then 5590 ac_cv_prog_AR="$AR" # Let the user override the test. 5591else 5592as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5593for as_dir in $PATH 5594do 5595 IFS=$as_save_IFS 5596 test -z "$as_dir" && as_dir=. 5597 for ac_exec_ext in '' $ac_executable_extensions; do 5598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5599 ac_cv_prog_AR="${ac_tool_prefix}ar" 5600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5601 break 2 5602 fi 5603done 5604 done 5605IFS=$as_save_IFS 5606 5607fi 5608fi 5609AR=$ac_cv_prog_AR 5610if test -n "$AR"; then 5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5612$as_echo "$AR" >&6; } 5613else 5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5615$as_echo "no" >&6; } 5616fi 5617 5618 5619fi 5620if test -z "$ac_cv_prog_AR"; then 5621 ac_ct_AR=$AR 5622 # Extract the first word of "ar", so it can be a program name with args. 5623set dummy ar; ac_word=$2 5624{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5625$as_echo_n "checking for $ac_word... " >&6; } 5626if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : 5627 $as_echo_n "(cached) " >&6 5628else 5629 if test -n "$ac_ct_AR"; then 5630 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5631else 5632as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5633for as_dir in $PATH 5634do 5635 IFS=$as_save_IFS 5636 test -z "$as_dir" && as_dir=. 5637 for ac_exec_ext in '' $ac_executable_extensions; do 5638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5639 ac_cv_prog_ac_ct_AR="ar" 5640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5641 break 2 5642 fi 5643done 5644 done 5645IFS=$as_save_IFS 5646 5647fi 5648fi 5649ac_ct_AR=$ac_cv_prog_ac_ct_AR 5650if test -n "$ac_ct_AR"; then 5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5652$as_echo "$ac_ct_AR" >&6; } 5653else 5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5655$as_echo "no" >&6; } 5656fi 5657 5658 if test "x$ac_ct_AR" = x; then 5659 AR="false" 5660 else 5661 case $cross_compiling:$ac_tool_warned in 5662yes:) 5663{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5664$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5665ac_tool_warned=yes ;; 5666esac 5667 AR=$ac_ct_AR 5668 fi 5669else 5670 AR="$ac_cv_prog_AR" 5671fi 5672 5673test -z "$AR" && AR=ar 5674test -z "$AR_FLAGS" && AR_FLAGS=cru 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686if test -n "$ac_tool_prefix"; then 5687 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5688set dummy ${ac_tool_prefix}strip; ac_word=$2 5689{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5690$as_echo_n "checking for $ac_word... " >&6; } 5691if test "${ac_cv_prog_STRIP+set}" = set; then : 5692 $as_echo_n "(cached) " >&6 5693else 5694 if test -n "$STRIP"; then 5695 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5696else 5697as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5698for as_dir in $PATH 5699do 5700 IFS=$as_save_IFS 5701 test -z "$as_dir" && as_dir=. 5702 for ac_exec_ext in '' $ac_executable_extensions; do 5703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5704 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5706 break 2 5707 fi 5708done 5709 done 5710IFS=$as_save_IFS 5711 5712fi 5713fi 5714STRIP=$ac_cv_prog_STRIP 5715if test -n "$STRIP"; then 5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5717$as_echo "$STRIP" >&6; } 5718else 5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5720$as_echo "no" >&6; } 5721fi 5722 5723 5724fi 5725if test -z "$ac_cv_prog_STRIP"; then 5726 ac_ct_STRIP=$STRIP 5727 # Extract the first word of "strip", so it can be a program name with args. 5728set dummy strip; ac_word=$2 5729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5730$as_echo_n "checking for $ac_word... " >&6; } 5731if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 5732 $as_echo_n "(cached) " >&6 5733else 5734 if test -n "$ac_ct_STRIP"; then 5735 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5736else 5737as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5738for as_dir in $PATH 5739do 5740 IFS=$as_save_IFS 5741 test -z "$as_dir" && as_dir=. 5742 for ac_exec_ext in '' $ac_executable_extensions; do 5743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5744 ac_cv_prog_ac_ct_STRIP="strip" 5745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5746 break 2 5747 fi 5748done 5749 done 5750IFS=$as_save_IFS 5751 5752fi 5753fi 5754ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5755if test -n "$ac_ct_STRIP"; then 5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5757$as_echo "$ac_ct_STRIP" >&6; } 5758else 5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5760$as_echo "no" >&6; } 5761fi 5762 5763 if test "x$ac_ct_STRIP" = x; then 5764 STRIP=":" 5765 else 5766 case $cross_compiling:$ac_tool_warned in 5767yes:) 5768{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5769$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5770ac_tool_warned=yes ;; 5771esac 5772 STRIP=$ac_ct_STRIP 5773 fi 5774else 5775 STRIP="$ac_cv_prog_STRIP" 5776fi 5777 5778test -z "$STRIP" && STRIP=: 5779 5780 5781 5782 5783 5784 5785if test -n "$ac_tool_prefix"; then 5786 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5787set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5788{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5789$as_echo_n "checking for $ac_word... " >&6; } 5790if test "${ac_cv_prog_RANLIB+set}" = set; then : 5791 $as_echo_n "(cached) " >&6 5792else 5793 if test -n "$RANLIB"; then 5794 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5795else 5796as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5797for as_dir in $PATH 5798do 5799 IFS=$as_save_IFS 5800 test -z "$as_dir" && as_dir=. 5801 for ac_exec_ext in '' $ac_executable_extensions; do 5802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5803 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5805 break 2 5806 fi 5807done 5808 done 5809IFS=$as_save_IFS 5810 5811fi 5812fi 5813RANLIB=$ac_cv_prog_RANLIB 5814if test -n "$RANLIB"; then 5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5816$as_echo "$RANLIB" >&6; } 5817else 5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5819$as_echo "no" >&6; } 5820fi 5821 5822 5823fi 5824if test -z "$ac_cv_prog_RANLIB"; then 5825 ac_ct_RANLIB=$RANLIB 5826 # Extract the first word of "ranlib", so it can be a program name with args. 5827set dummy ranlib; ac_word=$2 5828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5829$as_echo_n "checking for $ac_word... " >&6; } 5830if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 5831 $as_echo_n "(cached) " >&6 5832else 5833 if test -n "$ac_ct_RANLIB"; then 5834 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5835else 5836as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5837for as_dir in $PATH 5838do 5839 IFS=$as_save_IFS 5840 test -z "$as_dir" && as_dir=. 5841 for ac_exec_ext in '' $ac_executable_extensions; do 5842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5843 ac_cv_prog_ac_ct_RANLIB="ranlib" 5844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5845 break 2 5846 fi 5847done 5848 done 5849IFS=$as_save_IFS 5850 5851fi 5852fi 5853ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5854if test -n "$ac_ct_RANLIB"; then 5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 5856$as_echo "$ac_ct_RANLIB" >&6; } 5857else 5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5859$as_echo "no" >&6; } 5860fi 5861 5862 if test "x$ac_ct_RANLIB" = x; then 5863 RANLIB=":" 5864 else 5865 case $cross_compiling:$ac_tool_warned in 5866yes:) 5867{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5868$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5869ac_tool_warned=yes ;; 5870esac 5871 RANLIB=$ac_ct_RANLIB 5872 fi 5873else 5874 RANLIB="$ac_cv_prog_RANLIB" 5875fi 5876 5877test -z "$RANLIB" && RANLIB=: 5878 5879 5880 5881 5882 5883 5884# Determine commands to create old-style static archives. 5885old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 5886old_postinstall_cmds='chmod 644 $oldlib' 5887old_postuninstall_cmds= 5888 5889if test -n "$RANLIB"; then 5890 case $host_os in 5891 openbsd*) 5892 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 5893 ;; 5894 *) 5895 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 5896 ;; 5897 esac 5898 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 5899fi 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934# If no C compiler was specified, use CC. 5935LTCC=${LTCC-"$CC"} 5936 5937# If no C compiler flags were specified, use CFLAGS. 5938LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 5939 5940# Allow CC to be a program name with arguments. 5941compiler=$CC 5942 5943 5944# Check for command to grab the raw symbol name followed by C symbol from nm. 5945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 5946$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 5947if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : 5948 $as_echo_n "(cached) " >&6 5949else 5950 5951# These are sane defaults that work on at least a few old systems. 5952# [They come from Ultrix. What could be older than Ultrix?!! ;)] 5953 5954# Character class describing NM global symbol codes. 5955symcode='[BCDEGRST]' 5956 5957# Regexp to match symbols that can be accessed directly from C. 5958sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 5959 5960# Define system-specific variables. 5961case $host_os in 5962aix*) 5963 symcode='[BCDT]' 5964 ;; 5965cygwin* | mingw* | pw32* | cegcc*) 5966 symcode='[ABCDGISTW]' 5967 ;; 5968hpux*) 5969 if test "$host_cpu" = ia64; then 5970 symcode='[ABCDEGRST]' 5971 fi 5972 ;; 5973irix* | nonstopux*) 5974 symcode='[BCDEGRST]' 5975 ;; 5976osf*) 5977 symcode='[BCDEGQRST]' 5978 ;; 5979solaris*) 5980 symcode='[BDRT]' 5981 ;; 5982sco3.2v5*) 5983 symcode='[DT]' 5984 ;; 5985sysv4.2uw2*) 5986 symcode='[DT]' 5987 ;; 5988sysv5* | sco5v6* | unixware* | OpenUNIX*) 5989 symcode='[ABDT]' 5990 ;; 5991sysv4) 5992 symcode='[DFNSTU]' 5993 ;; 5994esac 5995 5996# If we're using GNU nm, then use its standard symbol codes. 5997case `$NM -V 2>&1` in 5998*GNU* | *'with BFD'*) 5999 symcode='[ABCDGIRSTW]' ;; 6000esac 6001 6002# Transform an extracted symbol line into a proper C declaration. 6003# Some systems (esp. on ia64) link data and code symbols differently, 6004# so use this general approach. 6005lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6006 6007# Transform an extracted symbol line into symbol name and symbol address 6008lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 6009lt_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'" 6010 6011# Handle CRLF in mingw tool chain 6012opt_cr= 6013case $build_os in 6014mingw*) 6015 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6016 ;; 6017esac 6018 6019# Try without a prefix underscore, then with it. 6020for ac_symprfx in "" "_"; do 6021 6022 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6023 symxfrm="\\1 $ac_symprfx\\2 \\2" 6024 6025 # Write the raw and C identifiers. 6026 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6027 # Fake it for dumpbin and say T for any non-static function 6028 # and D for any global variable. 6029 # Also find C++ and __fastcall symbols from MSVC++, 6030 # which start with @ or ?. 6031 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6032" {last_section=section; section=\$ 3};"\ 6033" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6034" \$ 0!~/External *\|/{next};"\ 6035" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6036" {if(hide[section]) next};"\ 6037" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 6038" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 6039" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 6040" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 6041" ' prfx=^$ac_symprfx" 6042 else 6043 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6044 fi 6045 6046 # Check to see that the pipe works correctly. 6047 pipe_works=no 6048 6049 rm -f conftest* 6050 cat > conftest.$ac_ext <<_LT_EOF 6051#ifdef __cplusplus 6052extern "C" { 6053#endif 6054char nm_test_var; 6055void nm_test_func(void); 6056void nm_test_func(void){} 6057#ifdef __cplusplus 6058} 6059#endif 6060int main(){nm_test_var='a';nm_test_func();return(0);} 6061_LT_EOF 6062 6063 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6064 (eval $ac_compile) 2>&5 6065 ac_status=$? 6066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6067 test $ac_status = 0; }; then 6068 # Now try to grab the symbols. 6069 nlist=conftest.nm 6070 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 6071 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 6072 ac_status=$? 6073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6074 test $ac_status = 0; } && test -s "$nlist"; then 6075 # Try sorting and uniquifying the output. 6076 if sort "$nlist" | uniq > "$nlist"T; then 6077 mv -f "$nlist"T "$nlist" 6078 else 6079 rm -f "$nlist"T 6080 fi 6081 6082 # Make sure that we snagged all the symbols we need. 6083 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6084 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6085 cat <<_LT_EOF > conftest.$ac_ext 6086#ifdef __cplusplus 6087extern "C" { 6088#endif 6089 6090_LT_EOF 6091 # Now generate the symbol file. 6092 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6093 6094 cat <<_LT_EOF >> conftest.$ac_ext 6095 6096/* The mapping between symbol names and symbols. */ 6097const struct { 6098 const char *name; 6099 void *address; 6100} 6101lt__PROGRAM__LTX_preloaded_symbols[] = 6102{ 6103 { "@PROGRAM@", (void *) 0 }, 6104_LT_EOF 6105 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6106 cat <<\_LT_EOF >> conftest.$ac_ext 6107 {0, (void *) 0} 6108}; 6109 6110/* This works around a problem in FreeBSD linker */ 6111#ifdef FREEBSD_WORKAROUND 6112static const void *lt_preloaded_setup() { 6113 return lt__PROGRAM__LTX_preloaded_symbols; 6114} 6115#endif 6116 6117#ifdef __cplusplus 6118} 6119#endif 6120_LT_EOF 6121 # Now try linking the two files. 6122 mv conftest.$ac_objext conftstm.$ac_objext 6123 lt_save_LIBS="$LIBS" 6124 lt_save_CFLAGS="$CFLAGS" 6125 LIBS="conftstm.$ac_objext" 6126 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6127 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6128 (eval $ac_link) 2>&5 6129 ac_status=$? 6130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6131 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 6132 pipe_works=yes 6133 fi 6134 LIBS="$lt_save_LIBS" 6135 CFLAGS="$lt_save_CFLAGS" 6136 else 6137 echo "cannot find nm_test_func in $nlist" >&5 6138 fi 6139 else 6140 echo "cannot find nm_test_var in $nlist" >&5 6141 fi 6142 else 6143 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6144 fi 6145 else 6146 echo "$progname: failed program was:" >&5 6147 cat conftest.$ac_ext >&5 6148 fi 6149 rm -rf conftest* conftst* 6150 6151 # Do not use the global_symbol_pipe unless it works. 6152 if test "$pipe_works" = yes; then 6153 break 6154 else 6155 lt_cv_sys_global_symbol_pipe= 6156 fi 6157done 6158 6159fi 6160 6161if test -z "$lt_cv_sys_global_symbol_pipe"; then 6162 lt_cv_sys_global_symbol_to_cdecl= 6163fi 6164if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6166$as_echo "failed" >&6; } 6167else 6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6169$as_echo "ok" >&6; } 6170fi 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194# Check whether --enable-libtool-lock was given. 6195if test "${enable_libtool_lock+set}" = set; then : 6196 enableval=$enable_libtool_lock; 6197fi 6198 6199test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 6200 6201# Some flags need to be propagated to the compiler or linker for good 6202# libtool support. 6203case $host in 6204ia64-*-hpux*) 6205 # Find out which ABI we are using. 6206 echo 'int i;' > conftest.$ac_ext 6207 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6208 (eval $ac_compile) 2>&5 6209 ac_status=$? 6210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6211 test $ac_status = 0; }; then 6212 case `/usr/bin/file conftest.$ac_objext` in 6213 *ELF-32*) 6214 HPUX_IA64_MODE="32" 6215 ;; 6216 *ELF-64*) 6217 HPUX_IA64_MODE="64" 6218 ;; 6219 esac 6220 fi 6221 rm -rf conftest* 6222 ;; 6223*-*-irix6*) 6224 # Find out which ABI we are using. 6225 echo '#line 6225 "configure"' > conftest.$ac_ext 6226 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6227 (eval $ac_compile) 2>&5 6228 ac_status=$? 6229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6230 test $ac_status = 0; }; then 6231 if test "$lt_cv_prog_gnu_ld" = yes; then 6232 case `/usr/bin/file conftest.$ac_objext` in 6233 *32-bit*) 6234 LD="${LD-ld} -melf32bsmip" 6235 ;; 6236 *N32*) 6237 LD="${LD-ld} -melf32bmipn32" 6238 ;; 6239 *64-bit*) 6240 LD="${LD-ld} -melf64bmip" 6241 ;; 6242 esac 6243 else 6244 case `/usr/bin/file conftest.$ac_objext` in 6245 *32-bit*) 6246 LD="${LD-ld} -32" 6247 ;; 6248 *N32*) 6249 LD="${LD-ld} -n32" 6250 ;; 6251 *64-bit*) 6252 LD="${LD-ld} -64" 6253 ;; 6254 esac 6255 fi 6256 fi 6257 rm -rf conftest* 6258 ;; 6259 6260x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 6261s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6262 # Find out which ABI we are using. 6263 echo 'int i;' > conftest.$ac_ext 6264 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6265 (eval $ac_compile) 2>&5 6266 ac_status=$? 6267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6268 test $ac_status = 0; }; then 6269 case `/usr/bin/file conftest.o` in 6270 *32-bit*) 6271 case $host in 6272 x86_64-*kfreebsd*-gnu) 6273 LD="${LD-ld} -m elf_i386_fbsd" 6274 ;; 6275 x86_64-*linux*) 6276 LD="${LD-ld} -m elf_i386" 6277 ;; 6278 ppc64-*linux*|powerpc64-*linux*) 6279 LD="${LD-ld} -m elf32ppclinux" 6280 ;; 6281 s390x-*linux*) 6282 LD="${LD-ld} -m elf_s390" 6283 ;; 6284 sparc64-*linux*) 6285 LD="${LD-ld} -m elf32_sparc" 6286 ;; 6287 esac 6288 ;; 6289 *64-bit*) 6290 case $host in 6291 x86_64-*kfreebsd*-gnu) 6292 LD="${LD-ld} -m elf_x86_64_fbsd" 6293 ;; 6294 x86_64-*linux*) 6295 LD="${LD-ld} -m elf_x86_64" 6296 ;; 6297 ppc*-*linux*|powerpc*-*linux*) 6298 LD="${LD-ld} -m elf64ppc" 6299 ;; 6300 s390*-*linux*|s390*-*tpf*) 6301 LD="${LD-ld} -m elf64_s390" 6302 ;; 6303 sparc*-*linux*) 6304 LD="${LD-ld} -m elf64_sparc" 6305 ;; 6306 esac 6307 ;; 6308 esac 6309 fi 6310 rm -rf conftest* 6311 ;; 6312 6313*-*-sco3.2v5*) 6314 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6315 SAVE_CFLAGS="$CFLAGS" 6316 CFLAGS="$CFLAGS -belf" 6317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6318$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6319if test "${lt_cv_cc_needs_belf+set}" = set; then : 6320 $as_echo_n "(cached) " >&6 6321else 6322 ac_ext=c 6323ac_cpp='$CPP $CPPFLAGS' 6324ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6325ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6326ac_compiler_gnu=$ac_cv_c_compiler_gnu 6327 6328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6329/* end confdefs.h. */ 6330 6331int 6332main () 6333{ 6334 6335 ; 6336 return 0; 6337} 6338_ACEOF 6339if ac_fn_c_try_link "$LINENO"; then : 6340 lt_cv_cc_needs_belf=yes 6341else 6342 lt_cv_cc_needs_belf=no 6343fi 6344rm -f core conftest.err conftest.$ac_objext \ 6345 conftest$ac_exeext conftest.$ac_ext 6346 ac_ext=c 6347ac_cpp='$CPP $CPPFLAGS' 6348ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6349ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6350ac_compiler_gnu=$ac_cv_c_compiler_gnu 6351 6352fi 6353{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6354$as_echo "$lt_cv_cc_needs_belf" >&6; } 6355 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 6356 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6357 CFLAGS="$SAVE_CFLAGS" 6358 fi 6359 ;; 6360sparc*-*solaris*) 6361 # Find out which ABI we are using. 6362 echo 'int i;' > conftest.$ac_ext 6363 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6364 (eval $ac_compile) 2>&5 6365 ac_status=$? 6366 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6367 test $ac_status = 0; }; then 6368 case `/usr/bin/file conftest.o` in 6369 *64-bit*) 6370 case $lt_cv_prog_gnu_ld in 6371 yes*) LD="${LD-ld} -m elf64_sparc" ;; 6372 *) 6373 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6374 LD="${LD-ld} -64" 6375 fi 6376 ;; 6377 esac 6378 ;; 6379 esac 6380 fi 6381 rm -rf conftest* 6382 ;; 6383esac 6384 6385need_locks="$enable_libtool_lock" 6386 6387 6388 case $host_os in 6389 rhapsody* | darwin*) 6390 if test -n "$ac_tool_prefix"; then 6391 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6392set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6393{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6394$as_echo_n "checking for $ac_word... " >&6; } 6395if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : 6396 $as_echo_n "(cached) " >&6 6397else 6398 if test -n "$DSYMUTIL"; then 6399 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6400else 6401as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6402for as_dir in $PATH 6403do 6404 IFS=$as_save_IFS 6405 test -z "$as_dir" && as_dir=. 6406 for ac_exec_ext in '' $ac_executable_extensions; do 6407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6408 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6410 break 2 6411 fi 6412done 6413 done 6414IFS=$as_save_IFS 6415 6416fi 6417fi 6418DSYMUTIL=$ac_cv_prog_DSYMUTIL 6419if test -n "$DSYMUTIL"; then 6420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6421$as_echo "$DSYMUTIL" >&6; } 6422else 6423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6424$as_echo "no" >&6; } 6425fi 6426 6427 6428fi 6429if test -z "$ac_cv_prog_DSYMUTIL"; then 6430 ac_ct_DSYMUTIL=$DSYMUTIL 6431 # Extract the first word of "dsymutil", so it can be a program name with args. 6432set dummy dsymutil; ac_word=$2 6433{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6434$as_echo_n "checking for $ac_word... " >&6; } 6435if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : 6436 $as_echo_n "(cached) " >&6 6437else 6438 if test -n "$ac_ct_DSYMUTIL"; then 6439 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6440else 6441as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6442for as_dir in $PATH 6443do 6444 IFS=$as_save_IFS 6445 test -z "$as_dir" && as_dir=. 6446 for ac_exec_ext in '' $ac_executable_extensions; do 6447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6448 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6450 break 2 6451 fi 6452done 6453 done 6454IFS=$as_save_IFS 6455 6456fi 6457fi 6458ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6459if test -n "$ac_ct_DSYMUTIL"; then 6460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 6461$as_echo "$ac_ct_DSYMUTIL" >&6; } 6462else 6463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6464$as_echo "no" >&6; } 6465fi 6466 6467 if test "x$ac_ct_DSYMUTIL" = x; then 6468 DSYMUTIL=":" 6469 else 6470 case $cross_compiling:$ac_tool_warned in 6471yes:) 6472{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6473$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6474ac_tool_warned=yes ;; 6475esac 6476 DSYMUTIL=$ac_ct_DSYMUTIL 6477 fi 6478else 6479 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6480fi 6481 6482 if test -n "$ac_tool_prefix"; then 6483 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6484set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6485{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6486$as_echo_n "checking for $ac_word... " >&6; } 6487if test "${ac_cv_prog_NMEDIT+set}" = set; then : 6488 $as_echo_n "(cached) " >&6 6489else 6490 if test -n "$NMEDIT"; then 6491 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6492else 6493as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6494for as_dir in $PATH 6495do 6496 IFS=$as_save_IFS 6497 test -z "$as_dir" && as_dir=. 6498 for ac_exec_ext in '' $ac_executable_extensions; do 6499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6500 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6502 break 2 6503 fi 6504done 6505 done 6506IFS=$as_save_IFS 6507 6508fi 6509fi 6510NMEDIT=$ac_cv_prog_NMEDIT 6511if test -n "$NMEDIT"; then 6512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 6513$as_echo "$NMEDIT" >&6; } 6514else 6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6516$as_echo "no" >&6; } 6517fi 6518 6519 6520fi 6521if test -z "$ac_cv_prog_NMEDIT"; then 6522 ac_ct_NMEDIT=$NMEDIT 6523 # Extract the first word of "nmedit", so it can be a program name with args. 6524set dummy nmedit; ac_word=$2 6525{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6526$as_echo_n "checking for $ac_word... " >&6; } 6527if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : 6528 $as_echo_n "(cached) " >&6 6529else 6530 if test -n "$ac_ct_NMEDIT"; then 6531 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6532else 6533as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6534for as_dir in $PATH 6535do 6536 IFS=$as_save_IFS 6537 test -z "$as_dir" && as_dir=. 6538 for ac_exec_ext in '' $ac_executable_extensions; do 6539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6540 ac_cv_prog_ac_ct_NMEDIT="nmedit" 6541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6542 break 2 6543 fi 6544done 6545 done 6546IFS=$as_save_IFS 6547 6548fi 6549fi 6550ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 6551if test -n "$ac_ct_NMEDIT"; then 6552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 6553$as_echo "$ac_ct_NMEDIT" >&6; } 6554else 6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6556$as_echo "no" >&6; } 6557fi 6558 6559 if test "x$ac_ct_NMEDIT" = x; then 6560 NMEDIT=":" 6561 else 6562 case $cross_compiling:$ac_tool_warned in 6563yes:) 6564{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6565$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6566ac_tool_warned=yes ;; 6567esac 6568 NMEDIT=$ac_ct_NMEDIT 6569 fi 6570else 6571 NMEDIT="$ac_cv_prog_NMEDIT" 6572fi 6573 6574 if test -n "$ac_tool_prefix"; then 6575 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 6576set dummy ${ac_tool_prefix}lipo; ac_word=$2 6577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6578$as_echo_n "checking for $ac_word... " >&6; } 6579if test "${ac_cv_prog_LIPO+set}" = set; then : 6580 $as_echo_n "(cached) " >&6 6581else 6582 if test -n "$LIPO"; then 6583 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 6584else 6585as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6586for as_dir in $PATH 6587do 6588 IFS=$as_save_IFS 6589 test -z "$as_dir" && as_dir=. 6590 for ac_exec_ext in '' $ac_executable_extensions; do 6591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6592 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 6593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6594 break 2 6595 fi 6596done 6597 done 6598IFS=$as_save_IFS 6599 6600fi 6601fi 6602LIPO=$ac_cv_prog_LIPO 6603if test -n "$LIPO"; then 6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 6605$as_echo "$LIPO" >&6; } 6606else 6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6608$as_echo "no" >&6; } 6609fi 6610 6611 6612fi 6613if test -z "$ac_cv_prog_LIPO"; then 6614 ac_ct_LIPO=$LIPO 6615 # Extract the first word of "lipo", so it can be a program name with args. 6616set dummy lipo; ac_word=$2 6617{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6618$as_echo_n "checking for $ac_word... " >&6; } 6619if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : 6620 $as_echo_n "(cached) " >&6 6621else 6622 if test -n "$ac_ct_LIPO"; then 6623 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 6624else 6625as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6626for as_dir in $PATH 6627do 6628 IFS=$as_save_IFS 6629 test -z "$as_dir" && as_dir=. 6630 for ac_exec_ext in '' $ac_executable_extensions; do 6631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6632 ac_cv_prog_ac_ct_LIPO="lipo" 6633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6634 break 2 6635 fi 6636done 6637 done 6638IFS=$as_save_IFS 6639 6640fi 6641fi 6642ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 6643if test -n "$ac_ct_LIPO"; then 6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 6645$as_echo "$ac_ct_LIPO" >&6; } 6646else 6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6648$as_echo "no" >&6; } 6649fi 6650 6651 if test "x$ac_ct_LIPO" = x; then 6652 LIPO=":" 6653 else 6654 case $cross_compiling:$ac_tool_warned in 6655yes:) 6656{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6657$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6658ac_tool_warned=yes ;; 6659esac 6660 LIPO=$ac_ct_LIPO 6661 fi 6662else 6663 LIPO="$ac_cv_prog_LIPO" 6664fi 6665 6666 if test -n "$ac_tool_prefix"; then 6667 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 6668set dummy ${ac_tool_prefix}otool; ac_word=$2 6669{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6670$as_echo_n "checking for $ac_word... " >&6; } 6671if test "${ac_cv_prog_OTOOL+set}" = set; then : 6672 $as_echo_n "(cached) " >&6 6673else 6674 if test -n "$OTOOL"; then 6675 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 6676else 6677as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6678for as_dir in $PATH 6679do 6680 IFS=$as_save_IFS 6681 test -z "$as_dir" && as_dir=. 6682 for ac_exec_ext in '' $ac_executable_extensions; do 6683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6684 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 6685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6686 break 2 6687 fi 6688done 6689 done 6690IFS=$as_save_IFS 6691 6692fi 6693fi 6694OTOOL=$ac_cv_prog_OTOOL 6695if test -n "$OTOOL"; then 6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 6697$as_echo "$OTOOL" >&6; } 6698else 6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6700$as_echo "no" >&6; } 6701fi 6702 6703 6704fi 6705if test -z "$ac_cv_prog_OTOOL"; then 6706 ac_ct_OTOOL=$OTOOL 6707 # Extract the first word of "otool", so it can be a program name with args. 6708set dummy otool; ac_word=$2 6709{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6710$as_echo_n "checking for $ac_word... " >&6; } 6711if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : 6712 $as_echo_n "(cached) " >&6 6713else 6714 if test -n "$ac_ct_OTOOL"; then 6715 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 6716else 6717as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6718for as_dir in $PATH 6719do 6720 IFS=$as_save_IFS 6721 test -z "$as_dir" && as_dir=. 6722 for ac_exec_ext in '' $ac_executable_extensions; do 6723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6724 ac_cv_prog_ac_ct_OTOOL="otool" 6725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6726 break 2 6727 fi 6728done 6729 done 6730IFS=$as_save_IFS 6731 6732fi 6733fi 6734ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 6735if test -n "$ac_ct_OTOOL"; then 6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 6737$as_echo "$ac_ct_OTOOL" >&6; } 6738else 6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6740$as_echo "no" >&6; } 6741fi 6742 6743 if test "x$ac_ct_OTOOL" = x; then 6744 OTOOL=":" 6745 else 6746 case $cross_compiling:$ac_tool_warned in 6747yes:) 6748{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6749$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6750ac_tool_warned=yes ;; 6751esac 6752 OTOOL=$ac_ct_OTOOL 6753 fi 6754else 6755 OTOOL="$ac_cv_prog_OTOOL" 6756fi 6757 6758 if test -n "$ac_tool_prefix"; then 6759 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 6760set dummy ${ac_tool_prefix}otool64; ac_word=$2 6761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6762$as_echo_n "checking for $ac_word... " >&6; } 6763if test "${ac_cv_prog_OTOOL64+set}" = set; then : 6764 $as_echo_n "(cached) " >&6 6765else 6766 if test -n "$OTOOL64"; then 6767 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 6768else 6769as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6770for as_dir in $PATH 6771do 6772 IFS=$as_save_IFS 6773 test -z "$as_dir" && as_dir=. 6774 for ac_exec_ext in '' $ac_executable_extensions; do 6775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6776 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 6777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6778 break 2 6779 fi 6780done 6781 done 6782IFS=$as_save_IFS 6783 6784fi 6785fi 6786OTOOL64=$ac_cv_prog_OTOOL64 6787if test -n "$OTOOL64"; then 6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 6789$as_echo "$OTOOL64" >&6; } 6790else 6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6792$as_echo "no" >&6; } 6793fi 6794 6795 6796fi 6797if test -z "$ac_cv_prog_OTOOL64"; then 6798 ac_ct_OTOOL64=$OTOOL64 6799 # Extract the first word of "otool64", so it can be a program name with args. 6800set dummy otool64; ac_word=$2 6801{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6802$as_echo_n "checking for $ac_word... " >&6; } 6803if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : 6804 $as_echo_n "(cached) " >&6 6805else 6806 if test -n "$ac_ct_OTOOL64"; then 6807 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 6808else 6809as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6810for as_dir in $PATH 6811do 6812 IFS=$as_save_IFS 6813 test -z "$as_dir" && as_dir=. 6814 for ac_exec_ext in '' $ac_executable_extensions; do 6815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6816 ac_cv_prog_ac_ct_OTOOL64="otool64" 6817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6818 break 2 6819 fi 6820done 6821 done 6822IFS=$as_save_IFS 6823 6824fi 6825fi 6826ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 6827if test -n "$ac_ct_OTOOL64"; then 6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 6829$as_echo "$ac_ct_OTOOL64" >&6; } 6830else 6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6832$as_echo "no" >&6; } 6833fi 6834 6835 if test "x$ac_ct_OTOOL64" = x; then 6836 OTOOL64=":" 6837 else 6838 case $cross_compiling:$ac_tool_warned in 6839yes:) 6840{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6841$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6842ac_tool_warned=yes ;; 6843esac 6844 OTOOL64=$ac_ct_OTOOL64 6845 fi 6846else 6847 OTOOL64="$ac_cv_prog_OTOOL64" 6848fi 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 6877$as_echo_n "checking for -single_module linker flag... " >&6; } 6878if test "${lt_cv_apple_cc_single_mod+set}" = set; then : 6879 $as_echo_n "(cached) " >&6 6880else 6881 lt_cv_apple_cc_single_mod=no 6882 if test -z "${LT_MULTI_MODULE}"; then 6883 # By default we will add the -single_module flag. You can override 6884 # by either setting the environment variable LT_MULTI_MODULE 6885 # non-empty at configure time, or by adding -multi_module to the 6886 # link flags. 6887 rm -rf libconftest.dylib* 6888 echo "int foo(void){return 1;}" > conftest.c 6889 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 6890-dynamiclib -Wl,-single_module conftest.c" >&5 6891 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 6892 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 6893 _lt_result=$? 6894 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then 6895 lt_cv_apple_cc_single_mod=yes 6896 else 6897 cat conftest.err >&5 6898 fi 6899 rm -rf libconftest.dylib* 6900 rm -f conftest.* 6901 fi 6902fi 6903{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 6904$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 6905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 6906$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 6907if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : 6908 $as_echo_n "(cached) " >&6 6909else 6910 lt_cv_ld_exported_symbols_list=no 6911 save_LDFLAGS=$LDFLAGS 6912 echo "_main" > conftest.sym 6913 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 6914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6915/* end confdefs.h. */ 6916 6917int 6918main () 6919{ 6920 6921 ; 6922 return 0; 6923} 6924_ACEOF 6925if ac_fn_c_try_link "$LINENO"; then : 6926 lt_cv_ld_exported_symbols_list=yes 6927else 6928 lt_cv_ld_exported_symbols_list=no 6929fi 6930rm -f core conftest.err conftest.$ac_objext \ 6931 conftest$ac_exeext conftest.$ac_ext 6932 LDFLAGS="$save_LDFLAGS" 6933 6934fi 6935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 6936$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 6937 case $host_os in 6938 rhapsody* | darwin1.[012]) 6939 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 6940 darwin1.*) 6941 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 6942 darwin*) # darwin 5.x on 6943 # if running on 10.5 or later, the deployment target defaults 6944 # to the OS version, if on x86, and 10.4, the deployment 6945 # target defaults to 10.4. Don't you love it? 6946 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 6947 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 6948 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 6949 10.[012]*) 6950 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 6951 10.*) 6952 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 6953 esac 6954 ;; 6955 esac 6956 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 6957 _lt_dar_single_mod='$single_module' 6958 fi 6959 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 6960 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 6961 else 6962 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 6963 fi 6964 if test "$DSYMUTIL" != ":"; then 6965 _lt_dsymutil='~$DSYMUTIL $lib || :' 6966 else 6967 _lt_dsymutil= 6968 fi 6969 ;; 6970 esac 6971 6972ac_ext=c 6973ac_cpp='$CPP $CPPFLAGS' 6974ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6975ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6976ac_compiler_gnu=$ac_cv_c_compiler_gnu 6977{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 6978$as_echo_n "checking how to run the C preprocessor... " >&6; } 6979# On Suns, sometimes $CPP names a directory. 6980if test -n "$CPP" && test -d "$CPP"; then 6981 CPP= 6982fi 6983if test -z "$CPP"; then 6984 if test "${ac_cv_prog_CPP+set}" = set; then : 6985 $as_echo_n "(cached) " >&6 6986else 6987 # Double quotes because CPP needs to be expanded 6988 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 6989 do 6990 ac_preproc_ok=false 6991for ac_c_preproc_warn_flag in '' yes 6992do 6993 # Use a header file that comes with gcc, so configuring glibc 6994 # with a fresh cross-compiler works. 6995 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6996 # <limits.h> exists even on freestanding compilers. 6997 # On the NeXT, cc -E runs the code through the compiler's parser, 6998 # not just through cpp. "Syntax error" is here to catch this case. 6999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7000/* end confdefs.h. */ 7001#ifdef __STDC__ 7002# include <limits.h> 7003#else 7004# include <assert.h> 7005#endif 7006 Syntax error 7007_ACEOF 7008if ac_fn_c_try_cpp "$LINENO"; then : 7009 7010else 7011 # Broken: fails on valid input. 7012continue 7013fi 7014rm -f conftest.err conftest.i conftest.$ac_ext 7015 7016 # OK, works on sane cases. Now check whether nonexistent headers 7017 # can be detected and how. 7018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7019/* end confdefs.h. */ 7020#include <ac_nonexistent.h> 7021_ACEOF 7022if ac_fn_c_try_cpp "$LINENO"; then : 7023 # Broken: success on invalid input. 7024continue 7025else 7026 # Passes both tests. 7027ac_preproc_ok=: 7028break 7029fi 7030rm -f conftest.err conftest.i conftest.$ac_ext 7031 7032done 7033# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7034rm -f conftest.i conftest.err conftest.$ac_ext 7035if $ac_preproc_ok; then : 7036 break 7037fi 7038 7039 done 7040 ac_cv_prog_CPP=$CPP 7041 7042fi 7043 CPP=$ac_cv_prog_CPP 7044else 7045 ac_cv_prog_CPP=$CPP 7046fi 7047{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7048$as_echo "$CPP" >&6; } 7049ac_preproc_ok=false 7050for ac_c_preproc_warn_flag in '' yes 7051do 7052 # Use a header file that comes with gcc, so configuring glibc 7053 # with a fresh cross-compiler works. 7054 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7055 # <limits.h> exists even on freestanding compilers. 7056 # On the NeXT, cc -E runs the code through the compiler's parser, 7057 # not just through cpp. "Syntax error" is here to catch this case. 7058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7059/* end confdefs.h. */ 7060#ifdef __STDC__ 7061# include <limits.h> 7062#else 7063# include <assert.h> 7064#endif 7065 Syntax error 7066_ACEOF 7067if ac_fn_c_try_cpp "$LINENO"; then : 7068 7069else 7070 # Broken: fails on valid input. 7071continue 7072fi 7073rm -f conftest.err conftest.i conftest.$ac_ext 7074 7075 # OK, works on sane cases. Now check whether nonexistent headers 7076 # can be detected and how. 7077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7078/* end confdefs.h. */ 7079#include <ac_nonexistent.h> 7080_ACEOF 7081if ac_fn_c_try_cpp "$LINENO"; then : 7082 # Broken: success on invalid input. 7083continue 7084else 7085 # Passes both tests. 7086ac_preproc_ok=: 7087break 7088fi 7089rm -f conftest.err conftest.i conftest.$ac_ext 7090 7091done 7092# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7093rm -f conftest.i conftest.err conftest.$ac_ext 7094if $ac_preproc_ok; then : 7095 7096else 7097 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7098$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7099as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7100See \`config.log' for more details" "$LINENO" 5; } 7101fi 7102 7103ac_ext=c 7104ac_cpp='$CPP $CPPFLAGS' 7105ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7106ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7107ac_compiler_gnu=$ac_cv_c_compiler_gnu 7108 7109 7110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7111$as_echo_n "checking for ANSI C header files... " >&6; } 7112if test "${ac_cv_header_stdc+set}" = set; then : 7113 $as_echo_n "(cached) " >&6 7114else 7115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7116/* end confdefs.h. */ 7117#include <stdlib.h> 7118#include <stdarg.h> 7119#include <string.h> 7120#include <float.h> 7121 7122int 7123main () 7124{ 7125 7126 ; 7127 return 0; 7128} 7129_ACEOF 7130if ac_fn_c_try_compile "$LINENO"; then : 7131 ac_cv_header_stdc=yes 7132else 7133 ac_cv_header_stdc=no 7134fi 7135rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7136 7137if test $ac_cv_header_stdc = yes; then 7138 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7140/* end confdefs.h. */ 7141#include <string.h> 7142 7143_ACEOF 7144if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7145 $EGREP "memchr" >/dev/null 2>&1; then : 7146 7147else 7148 ac_cv_header_stdc=no 7149fi 7150rm -f conftest* 7151 7152fi 7153 7154if test $ac_cv_header_stdc = yes; then 7155 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7157/* end confdefs.h. */ 7158#include <stdlib.h> 7159 7160_ACEOF 7161if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7162 $EGREP "free" >/dev/null 2>&1; then : 7163 7164else 7165 ac_cv_header_stdc=no 7166fi 7167rm -f conftest* 7168 7169fi 7170 7171if test $ac_cv_header_stdc = yes; then 7172 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7173 if test "$cross_compiling" = yes; then : 7174 : 7175else 7176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7177/* end confdefs.h. */ 7178#include <ctype.h> 7179#include <stdlib.h> 7180#if ((' ' & 0x0FF) == 0x020) 7181# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7182# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7183#else 7184# define ISLOWER(c) \ 7185 (('a' <= (c) && (c) <= 'i') \ 7186 || ('j' <= (c) && (c) <= 'r') \ 7187 || ('s' <= (c) && (c) <= 'z')) 7188# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7189#endif 7190 7191#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7192int 7193main () 7194{ 7195 int i; 7196 for (i = 0; i < 256; i++) 7197 if (XOR (islower (i), ISLOWER (i)) 7198 || toupper (i) != TOUPPER (i)) 7199 return 2; 7200 return 0; 7201} 7202_ACEOF 7203if ac_fn_c_try_run "$LINENO"; then : 7204 7205else 7206 ac_cv_header_stdc=no 7207fi 7208rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7209 conftest.$ac_objext conftest.beam conftest.$ac_ext 7210fi 7211 7212fi 7213fi 7214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7215$as_echo "$ac_cv_header_stdc" >&6; } 7216if test $ac_cv_header_stdc = yes; then 7217 7218$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7219 7220fi 7221 7222# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7223for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7224 inttypes.h stdint.h unistd.h 7225do : 7226 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7227ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7228" 7229if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7230 cat >>confdefs.h <<_ACEOF 7231#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7232_ACEOF 7233 7234fi 7235 7236done 7237 7238 7239for ac_header in dlfcn.h 7240do : 7241 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7242" 7243if test "x$ac_cv_header_dlfcn_h" = x""yes; then : 7244 cat >>confdefs.h <<_ACEOF 7245#define HAVE_DLFCN_H 1 7246_ACEOF 7247 7248fi 7249 7250done 7251 7252 7253 7254# Set options 7255 7256 7257 7258 7259 7260 # Check whether --enable-shared was given. 7261if test "${enable_shared+set}" = set; then : 7262 enableval=$enable_shared; p=${PACKAGE-default} 7263 case $enableval in 7264 yes) enable_shared=yes ;; 7265 no) enable_shared=no ;; 7266 *) 7267 enable_shared=no 7268 # Look at the argument we got. We use all the common list separators. 7269 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7270 for pkg in $enableval; do 7271 IFS="$lt_save_ifs" 7272 if test "X$pkg" = "X$p"; then 7273 enable_shared=yes 7274 fi 7275 done 7276 IFS="$lt_save_ifs" 7277 ;; 7278 esac 7279else 7280 enable_shared=yes 7281fi 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 # Check whether --enable-static was given. 7292if test "${enable_static+set}" = set; then : 7293 enableval=$enable_static; p=${PACKAGE-default} 7294 case $enableval in 7295 yes) enable_static=yes ;; 7296 no) enable_static=no ;; 7297 *) 7298 enable_static=no 7299 # Look at the argument we got. We use all the common list separators. 7300 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7301 for pkg in $enableval; do 7302 IFS="$lt_save_ifs" 7303 if test "X$pkg" = "X$p"; then 7304 enable_static=yes 7305 fi 7306 done 7307 IFS="$lt_save_ifs" 7308 ;; 7309 esac 7310else 7311 enable_static=yes 7312fi 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323# Check whether --with-pic was given. 7324if test "${with_pic+set}" = set; then : 7325 withval=$with_pic; pic_mode="$withval" 7326else 7327 pic_mode=default 7328fi 7329 7330 7331test -z "$pic_mode" && pic_mode=default 7332 7333 7334 7335 7336 7337 7338 7339 # Check whether --enable-fast-install was given. 7340if test "${enable_fast_install+set}" = set; then : 7341 enableval=$enable_fast_install; p=${PACKAGE-default} 7342 case $enableval in 7343 yes) enable_fast_install=yes ;; 7344 no) enable_fast_install=no ;; 7345 *) 7346 enable_fast_install=no 7347 # Look at the argument we got. We use all the common list separators. 7348 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7349 for pkg in $enableval; do 7350 IFS="$lt_save_ifs" 7351 if test "X$pkg" = "X$p"; then 7352 enable_fast_install=yes 7353 fi 7354 done 7355 IFS="$lt_save_ifs" 7356 ;; 7357 esac 7358else 7359 enable_fast_install=yes 7360fi 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372# This can be used to rebuild libtool when needed 7373LIBTOOL_DEPS="$ltmain" 7374 7375# Always use our own libtool. 7376LIBTOOL='$(SHELL) $(top_builddir)/libtool' 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402test -z "$LN_S" && LN_S="ln -s" 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417if test -n "${ZSH_VERSION+set}" ; then 7418 setopt NO_GLOB_SUBST 7419fi 7420 7421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 7422$as_echo_n "checking for objdir... " >&6; } 7423if test "${lt_cv_objdir+set}" = set; then : 7424 $as_echo_n "(cached) " >&6 7425else 7426 rm -f .libs 2>/dev/null 7427mkdir .libs 2>/dev/null 7428if test -d .libs; then 7429 lt_cv_objdir=.libs 7430else 7431 # MS-DOS does not allow filenames that begin with a dot. 7432 lt_cv_objdir=_libs 7433fi 7434rmdir .libs 2>/dev/null 7435fi 7436{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 7437$as_echo "$lt_cv_objdir" >&6; } 7438objdir=$lt_cv_objdir 7439 7440 7441 7442 7443 7444cat >>confdefs.h <<_ACEOF 7445#define LT_OBJDIR "$lt_cv_objdir/" 7446_ACEOF 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464case $host_os in 7465aix3*) 7466 # AIX sometimes has problems with the GCC collect2 program. For some 7467 # reason, if we set the COLLECT_NAMES environment variable, the problems 7468 # vanish in a puff of smoke. 7469 if test "X${COLLECT_NAMES+set}" != Xset; then 7470 COLLECT_NAMES= 7471 export COLLECT_NAMES 7472 fi 7473 ;; 7474esac 7475 7476# Sed substitution that helps us do robust quoting. It backslashifies 7477# metacharacters that are still active within double-quoted strings. 7478sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 7479 7480# Same as above, but do not quote variable references. 7481double_quote_subst='s/\(["`\\]\)/\\\1/g' 7482 7483# Sed substitution to delay expansion of an escaped shell variable in a 7484# double_quote_subst'ed string. 7485delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 7486 7487# Sed substitution to delay expansion of an escaped single quote. 7488delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 7489 7490# Sed substitution to avoid accidental globbing in evaled expressions 7491no_glob_subst='s/\*/\\\*/g' 7492 7493# Global variables: 7494ofile=libtool 7495can_build_shared=yes 7496 7497# All known linkers require a `.a' archive for static linking (except MSVC, 7498# which needs '.lib'). 7499libext=a 7500 7501with_gnu_ld="$lt_cv_prog_gnu_ld" 7502 7503old_CC="$CC" 7504old_CFLAGS="$CFLAGS" 7505 7506# Set sane defaults for various variables 7507test -z "$CC" && CC=cc 7508test -z "$LTCC" && LTCC=$CC 7509test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7510test -z "$LD" && LD=ld 7511test -z "$ac_objext" && ac_objext=o 7512 7513for cc_temp in $compiler""; do 7514 case $cc_temp in 7515 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7516 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7517 \-*) ;; 7518 *) break;; 7519 esac 7520done 7521cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 7522 7523 7524# Only perform the check for file, if the check method requires it 7525test -z "$MAGIC_CMD" && MAGIC_CMD=file 7526case $deplibs_check_method in 7527file_magic*) 7528 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 7530$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 7531if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 7532 $as_echo_n "(cached) " >&6 7533else 7534 case $MAGIC_CMD in 7535[\\/*] | ?:[\\/]*) 7536 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7537 ;; 7538*) 7539 lt_save_MAGIC_CMD="$MAGIC_CMD" 7540 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7541 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7542 for ac_dir in $ac_dummy; do 7543 IFS="$lt_save_ifs" 7544 test -z "$ac_dir" && ac_dir=. 7545 if test -f $ac_dir/${ac_tool_prefix}file; then 7546 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 7547 if test -n "$file_magic_test_file"; then 7548 case $deplibs_check_method in 7549 "file_magic "*) 7550 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7551 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7552 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7553 $EGREP "$file_magic_regex" > /dev/null; then 7554 : 7555 else 7556 cat <<_LT_EOF 1>&2 7557 7558*** Warning: the command libtool uses to detect shared libraries, 7559*** $file_magic_cmd, produces output that libtool cannot recognize. 7560*** The result is that libtool may fail to recognize shared libraries 7561*** as such. This will affect the creation of libtool libraries that 7562*** depend on shared libraries, but programs linked with such libtool 7563*** libraries will work regardless of this problem. Nevertheless, you 7564*** may want to report the problem to your system manager and/or to 7565*** bug-libtool@gnu.org 7566 7567_LT_EOF 7568 fi ;; 7569 esac 7570 fi 7571 break 7572 fi 7573 done 7574 IFS="$lt_save_ifs" 7575 MAGIC_CMD="$lt_save_MAGIC_CMD" 7576 ;; 7577esac 7578fi 7579 7580MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7581if test -n "$MAGIC_CMD"; then 7582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7583$as_echo "$MAGIC_CMD" >&6; } 7584else 7585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7586$as_echo "no" >&6; } 7587fi 7588 7589 7590 7591 7592 7593if test -z "$lt_cv_path_MAGIC_CMD"; then 7594 if test -n "$ac_tool_prefix"; then 7595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 7596$as_echo_n "checking for file... " >&6; } 7597if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 7598 $as_echo_n "(cached) " >&6 7599else 7600 case $MAGIC_CMD in 7601[\\/*] | ?:[\\/]*) 7602 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7603 ;; 7604*) 7605 lt_save_MAGIC_CMD="$MAGIC_CMD" 7606 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7607 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7608 for ac_dir in $ac_dummy; do 7609 IFS="$lt_save_ifs" 7610 test -z "$ac_dir" && ac_dir=. 7611 if test -f $ac_dir/file; then 7612 lt_cv_path_MAGIC_CMD="$ac_dir/file" 7613 if test -n "$file_magic_test_file"; then 7614 case $deplibs_check_method in 7615 "file_magic "*) 7616 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7617 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7618 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7619 $EGREP "$file_magic_regex" > /dev/null; then 7620 : 7621 else 7622 cat <<_LT_EOF 1>&2 7623 7624*** Warning: the command libtool uses to detect shared libraries, 7625*** $file_magic_cmd, produces output that libtool cannot recognize. 7626*** The result is that libtool may fail to recognize shared libraries 7627*** as such. This will affect the creation of libtool libraries that 7628*** depend on shared libraries, but programs linked with such libtool 7629*** libraries will work regardless of this problem. Nevertheless, you 7630*** may want to report the problem to your system manager and/or to 7631*** bug-libtool@gnu.org 7632 7633_LT_EOF 7634 fi ;; 7635 esac 7636 fi 7637 break 7638 fi 7639 done 7640 IFS="$lt_save_ifs" 7641 MAGIC_CMD="$lt_save_MAGIC_CMD" 7642 ;; 7643esac 7644fi 7645 7646MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7647if test -n "$MAGIC_CMD"; then 7648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7649$as_echo "$MAGIC_CMD" >&6; } 7650else 7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7652$as_echo "no" >&6; } 7653fi 7654 7655 7656 else 7657 MAGIC_CMD=: 7658 fi 7659fi 7660 7661 fi 7662 ;; 7663esac 7664 7665# Use C for the default configuration in the libtool script 7666 7667lt_save_CC="$CC" 7668ac_ext=c 7669ac_cpp='$CPP $CPPFLAGS' 7670ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7671ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7672ac_compiler_gnu=$ac_cv_c_compiler_gnu 7673 7674 7675# Source file extension for C test sources. 7676ac_ext=c 7677 7678# Object file extension for compiled C test sources. 7679objext=o 7680objext=$objext 7681 7682# Code to be used in simple compile tests 7683lt_simple_compile_test_code="int some_variable = 0;" 7684 7685# Code to be used in simple link tests 7686lt_simple_link_test_code='int main(){return(0);}' 7687 7688 7689 7690 7691 7692 7693 7694# If no C compiler was specified, use CC. 7695LTCC=${LTCC-"$CC"} 7696 7697# If no C compiler flags were specified, use CFLAGS. 7698LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7699 7700# Allow CC to be a program name with arguments. 7701compiler=$CC 7702 7703# Save the default compiler, since it gets overwritten when the other 7704# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 7705compiler_DEFAULT=$CC 7706 7707# save warnings/boilerplate of simple test code 7708ac_outfile=conftest.$ac_objext 7709echo "$lt_simple_compile_test_code" >conftest.$ac_ext 7710eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7711_lt_compiler_boilerplate=`cat conftest.err` 7712$RM conftest* 7713 7714ac_outfile=conftest.$ac_objext 7715echo "$lt_simple_link_test_code" >conftest.$ac_ext 7716eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7717_lt_linker_boilerplate=`cat conftest.err` 7718$RM -r conftest* 7719 7720 7721if test -n "$compiler"; then 7722 7723lt_prog_compiler_no_builtin_flag= 7724 7725if test "$GCC" = yes; then 7726 lt_prog_compiler_no_builtin_flag=' -fno-builtin' 7727 7728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 7729$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 7730if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : 7731 $as_echo_n "(cached) " >&6 7732else 7733 lt_cv_prog_compiler_rtti_exceptions=no 7734 ac_outfile=conftest.$ac_objext 7735 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7736 lt_compiler_flag="-fno-rtti -fno-exceptions" 7737 # Insert the option either (1) after the last *FLAGS variable, or 7738 # (2) before a word containing "conftest.", or (3) at the end. 7739 # Note that $ac_compile itself does not contain backslashes and begins 7740 # with a dollar sign (not a hyphen), so the echo should work correctly. 7741 # The option is referenced via a variable to avoid confusing sed. 7742 lt_compile=`echo "$ac_compile" | $SED \ 7743 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7744 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7745 -e 's:$: $lt_compiler_flag:'` 7746 (eval echo "\"\$as_me:7746: $lt_compile\"" >&5) 7747 (eval "$lt_compile" 2>conftest.err) 7748 ac_status=$? 7749 cat conftest.err >&5 7750 echo "$as_me:7750: \$? = $ac_status" >&5 7751 if (exit $ac_status) && test -s "$ac_outfile"; then 7752 # The compiler can only warn and ignore the option if not recognized 7753 # So say no if there are warnings other than the usual output. 7754 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 7755 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7756 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 7757 lt_cv_prog_compiler_rtti_exceptions=yes 7758 fi 7759 fi 7760 $RM conftest* 7761 7762fi 7763{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 7764$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 7765 7766if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 7767 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 7768else 7769 : 7770fi 7771 7772fi 7773 7774 7775 7776 7777 7778 7779 lt_prog_compiler_wl= 7780lt_prog_compiler_pic= 7781lt_prog_compiler_static= 7782 7783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 7784$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 7785 7786 if test "$GCC" = yes; then 7787 lt_prog_compiler_wl='-Wl,' 7788 lt_prog_compiler_static='-static' 7789 7790 case $host_os in 7791 aix*) 7792 # All AIX code is PIC. 7793 if test "$host_cpu" = ia64; then 7794 # AIX 5 now supports IA64 processor 7795 lt_prog_compiler_static='-Bstatic' 7796 fi 7797 ;; 7798 7799 amigaos*) 7800 case $host_cpu in 7801 powerpc) 7802 # see comment about AmigaOS4 .so support 7803 lt_prog_compiler_pic='-fPIC' 7804 ;; 7805 m68k) 7806 # FIXME: we need at least 68020 code to build shared libraries, but 7807 # adding the `-m68020' flag to GCC prevents building anything better, 7808 # like `-m68040'. 7809 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 7810 ;; 7811 esac 7812 ;; 7813 7814 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 7815 # PIC is the default for these OSes. 7816 ;; 7817 7818 mingw* | cygwin* | pw32* | os2* | cegcc*) 7819 # This hack is so that the source file can tell whether it is being 7820 # built for inclusion in a dll (and should export symbols for example). 7821 # Although the cygwin gcc ignores -fPIC, still need this for old-style 7822 # (--disable-auto-import) libraries 7823 lt_prog_compiler_pic='-DDLL_EXPORT' 7824 ;; 7825 7826 darwin* | rhapsody*) 7827 # PIC is the default on this platform 7828 # Common symbols not allowed in MH_DYLIB files 7829 lt_prog_compiler_pic='-fno-common' 7830 ;; 7831 7832 hpux*) 7833 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 7834 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 7835 # sets the default TLS model and affects inlining. 7836 case $host_cpu in 7837 hppa*64*) 7838 # +Z the default 7839 ;; 7840 *) 7841 lt_prog_compiler_pic='-fPIC' 7842 ;; 7843 esac 7844 ;; 7845 7846 interix[3-9]*) 7847 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 7848 # Instead, we relocate shared libraries at runtime. 7849 ;; 7850 7851 msdosdjgpp*) 7852 # Just because we use GCC doesn't mean we suddenly get shared libraries 7853 # on systems that don't support them. 7854 lt_prog_compiler_can_build_shared=no 7855 enable_shared=no 7856 ;; 7857 7858 *nto* | *qnx*) 7859 # QNX uses GNU C++, but need to define -shared option too, otherwise 7860 # it will coredump. 7861 lt_prog_compiler_pic='-fPIC -shared' 7862 ;; 7863 7864 sysv4*MP*) 7865 if test -d /usr/nec; then 7866 lt_prog_compiler_pic=-Kconform_pic 7867 fi 7868 ;; 7869 7870 *) 7871 lt_prog_compiler_pic='-fPIC' 7872 ;; 7873 esac 7874 else 7875 # PORTME Check for flag to pass linker flags through the system compiler. 7876 case $host_os in 7877 aix*) 7878 lt_prog_compiler_wl='-Wl,' 7879 if test "$host_cpu" = ia64; then 7880 # AIX 5 now supports IA64 processor 7881 lt_prog_compiler_static='-Bstatic' 7882 else 7883 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 7884 fi 7885 ;; 7886 7887 mingw* | cygwin* | pw32* | os2* | cegcc*) 7888 # This hack is so that the source file can tell whether it is being 7889 # built for inclusion in a dll (and should export symbols for example). 7890 lt_prog_compiler_pic='-DDLL_EXPORT' 7891 ;; 7892 7893 hpux9* | hpux10* | hpux11*) 7894 lt_prog_compiler_wl='-Wl,' 7895 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 7896 # not for PA HP-UX. 7897 case $host_cpu in 7898 hppa*64*|ia64*) 7899 # +Z the default 7900 ;; 7901 *) 7902 lt_prog_compiler_pic='+Z' 7903 ;; 7904 esac 7905 # Is there a better lt_prog_compiler_static that works with the bundled CC? 7906 lt_prog_compiler_static='${wl}-a ${wl}archive' 7907 ;; 7908 7909 irix5* | irix6* | nonstopux*) 7910 lt_prog_compiler_wl='-Wl,' 7911 # PIC (with -KPIC) is the default. 7912 lt_prog_compiler_static='-non_shared' 7913 ;; 7914 7915 linux* | k*bsd*-gnu) 7916 case $cc_basename in 7917 # old Intel for x86_64 which still supported -KPIC. 7918 ecc*) 7919 lt_prog_compiler_wl='-Wl,' 7920 lt_prog_compiler_pic='-KPIC' 7921 lt_prog_compiler_static='-static' 7922 ;; 7923 # icc used to be incompatible with GCC. 7924 # ICC 10 doesn't accept -KPIC any more. 7925 icc* | ifort*) 7926 lt_prog_compiler_wl='-Wl,' 7927 lt_prog_compiler_pic='-fPIC' 7928 lt_prog_compiler_static='-static' 7929 ;; 7930 # Lahey Fortran 8.1. 7931 lf95*) 7932 lt_prog_compiler_wl='-Wl,' 7933 lt_prog_compiler_pic='--shared' 7934 lt_prog_compiler_static='--static' 7935 ;; 7936 pgcc* | pgf77* | pgf90* | pgf95*) 7937 # Portland Group compilers (*not* the Pentium gcc compiler, 7938 # which looks to be a dead project) 7939 lt_prog_compiler_wl='-Wl,' 7940 lt_prog_compiler_pic='-fpic' 7941 lt_prog_compiler_static='-Bstatic' 7942 ;; 7943 ccc*) 7944 lt_prog_compiler_wl='-Wl,' 7945 # All Alpha code is PIC. 7946 lt_prog_compiler_static='-non_shared' 7947 ;; 7948 xl*) 7949 # IBM XL C 8.0/Fortran 10.1 on PPC 7950 lt_prog_compiler_wl='-Wl,' 7951 lt_prog_compiler_pic='-qpic' 7952 lt_prog_compiler_static='-qstaticlink' 7953 ;; 7954 *) 7955 case `$CC -V 2>&1 | sed 5q` in 7956 *Sun\ C*) 7957 # Sun C 5.9 7958 lt_prog_compiler_pic='-KPIC' 7959 lt_prog_compiler_static='-Bstatic' 7960 lt_prog_compiler_wl='-Wl,' 7961 ;; 7962 *Sun\ F*) 7963 # Sun Fortran 8.3 passes all unrecognized flags to the linker 7964 lt_prog_compiler_pic='-KPIC' 7965 lt_prog_compiler_static='-Bstatic' 7966 lt_prog_compiler_wl='' 7967 ;; 7968 esac 7969 ;; 7970 esac 7971 ;; 7972 7973 newsos6) 7974 lt_prog_compiler_pic='-KPIC' 7975 lt_prog_compiler_static='-Bstatic' 7976 ;; 7977 7978 *nto* | *qnx*) 7979 # QNX uses GNU C++, but need to define -shared option too, otherwise 7980 # it will coredump. 7981 lt_prog_compiler_pic='-fPIC -shared' 7982 ;; 7983 7984 osf3* | osf4* | osf5*) 7985 lt_prog_compiler_wl='-Wl,' 7986 # All OSF/1 code is PIC. 7987 lt_prog_compiler_static='-non_shared' 7988 ;; 7989 7990 rdos*) 7991 lt_prog_compiler_static='-non_shared' 7992 ;; 7993 7994 solaris*) 7995 lt_prog_compiler_pic='-KPIC' 7996 lt_prog_compiler_static='-Bstatic' 7997 case $cc_basename in 7998 f77* | f90* | f95*) 7999 lt_prog_compiler_wl='-Qoption ld ';; 8000 *) 8001 lt_prog_compiler_wl='-Wl,';; 8002 esac 8003 ;; 8004 8005 sunos4*) 8006 lt_prog_compiler_wl='-Qoption ld ' 8007 lt_prog_compiler_pic='-PIC' 8008 lt_prog_compiler_static='-Bstatic' 8009 ;; 8010 8011 sysv4 | sysv4.2uw2* | sysv4.3*) 8012 lt_prog_compiler_wl='-Wl,' 8013 lt_prog_compiler_pic='-KPIC' 8014 lt_prog_compiler_static='-Bstatic' 8015 ;; 8016 8017 sysv4*MP*) 8018 if test -d /usr/nec ;then 8019 lt_prog_compiler_pic='-Kconform_pic' 8020 lt_prog_compiler_static='-Bstatic' 8021 fi 8022 ;; 8023 8024 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8025 lt_prog_compiler_wl='-Wl,' 8026 lt_prog_compiler_pic='-KPIC' 8027 lt_prog_compiler_static='-Bstatic' 8028 ;; 8029 8030 unicos*) 8031 lt_prog_compiler_wl='-Wl,' 8032 lt_prog_compiler_can_build_shared=no 8033 ;; 8034 8035 uts4*) 8036 lt_prog_compiler_pic='-pic' 8037 lt_prog_compiler_static='-Bstatic' 8038 ;; 8039 8040 *) 8041 lt_prog_compiler_can_build_shared=no 8042 ;; 8043 esac 8044 fi 8045 8046case $host_os in 8047 # For platforms which do not support PIC, -DPIC is meaningless: 8048 *djgpp*) 8049 lt_prog_compiler_pic= 8050 ;; 8051 *) 8052 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8053 ;; 8054esac 8055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 8056$as_echo "$lt_prog_compiler_pic" >&6; } 8057 8058 8059 8060 8061 8062 8063# 8064# Check to make sure the PIC flag actually works. 8065# 8066if test -n "$lt_prog_compiler_pic"; then 8067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8068$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8069if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : 8070 $as_echo_n "(cached) " >&6 8071else 8072 lt_cv_prog_compiler_pic_works=no 8073 ac_outfile=conftest.$ac_objext 8074 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8075 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 8076 # Insert the option either (1) after the last *FLAGS variable, or 8077 # (2) before a word containing "conftest.", or (3) at the end. 8078 # Note that $ac_compile itself does not contain backslashes and begins 8079 # with a dollar sign (not a hyphen), so the echo should work correctly. 8080 # The option is referenced via a variable to avoid confusing sed. 8081 lt_compile=`echo "$ac_compile" | $SED \ 8082 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8083 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8084 -e 's:$: $lt_compiler_flag:'` 8085 (eval echo "\"\$as_me:8085: $lt_compile\"" >&5) 8086 (eval "$lt_compile" 2>conftest.err) 8087 ac_status=$? 8088 cat conftest.err >&5 8089 echo "$as_me:8089: \$? = $ac_status" >&5 8090 if (exit $ac_status) && test -s "$ac_outfile"; then 8091 # The compiler can only warn and ignore the option if not recognized 8092 # So say no if there are warnings other than the usual output. 8093 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 8094 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8095 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8096 lt_cv_prog_compiler_pic_works=yes 8097 fi 8098 fi 8099 $RM conftest* 8100 8101fi 8102{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8103$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8104 8105if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 8106 case $lt_prog_compiler_pic in 8107 "" | " "*) ;; 8108 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8109 esac 8110else 8111 lt_prog_compiler_pic= 8112 lt_prog_compiler_can_build_shared=no 8113fi 8114 8115fi 8116 8117 8118 8119 8120 8121 8122# 8123# Check to make sure the static flag actually works. 8124# 8125wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8127$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8128if test "${lt_cv_prog_compiler_static_works+set}" = set; then : 8129 $as_echo_n "(cached) " >&6 8130else 8131 lt_cv_prog_compiler_static_works=no 8132 save_LDFLAGS="$LDFLAGS" 8133 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8134 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8135 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8136 # The linker can only warn and ignore the option if not recognized 8137 # So say no if there are warnings 8138 if test -s conftest.err; then 8139 # Append any errors to the config.log. 8140 cat conftest.err 1>&5 8141 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 8142 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8143 if diff conftest.exp conftest.er2 >/dev/null; then 8144 lt_cv_prog_compiler_static_works=yes 8145 fi 8146 else 8147 lt_cv_prog_compiler_static_works=yes 8148 fi 8149 fi 8150 $RM -r conftest* 8151 LDFLAGS="$save_LDFLAGS" 8152 8153fi 8154{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8155$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8156 8157if test x"$lt_cv_prog_compiler_static_works" = xyes; then 8158 : 8159else 8160 lt_prog_compiler_static= 8161fi 8162 8163 8164 8165 8166 8167 8168 8169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8170$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8171if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 8172 $as_echo_n "(cached) " >&6 8173else 8174 lt_cv_prog_compiler_c_o=no 8175 $RM -r conftest 2>/dev/null 8176 mkdir conftest 8177 cd conftest 8178 mkdir out 8179 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8180 8181 lt_compiler_flag="-o out/conftest2.$ac_objext" 8182 # Insert the option either (1) after the last *FLAGS variable, or 8183 # (2) before a word containing "conftest.", or (3) at the end. 8184 # Note that $ac_compile itself does not contain backslashes and begins 8185 # with a dollar sign (not a hyphen), so the echo should work correctly. 8186 lt_compile=`echo "$ac_compile" | $SED \ 8187 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8188 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8189 -e 's:$: $lt_compiler_flag:'` 8190 (eval echo "\"\$as_me:8190: $lt_compile\"" >&5) 8191 (eval "$lt_compile" 2>out/conftest.err) 8192 ac_status=$? 8193 cat out/conftest.err >&5 8194 echo "$as_me:8194: \$? = $ac_status" >&5 8195 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8196 then 8197 # The compiler can only warn and ignore the option if not recognized 8198 # So say no if there are warnings 8199 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 8200 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8201 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8202 lt_cv_prog_compiler_c_o=yes 8203 fi 8204 fi 8205 chmod u+w . 2>&5 8206 $RM conftest* 8207 # SGI C++ compiler will create directory out/ii_files/ for 8208 # template instantiation 8209 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8210 $RM out/* && rmdir out 8211 cd .. 8212 $RM -r conftest 8213 $RM conftest* 8214 8215fi 8216{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8217$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8218 8219 8220 8221 8222 8223 8224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8225$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8226if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 8227 $as_echo_n "(cached) " >&6 8228else 8229 lt_cv_prog_compiler_c_o=no 8230 $RM -r conftest 2>/dev/null 8231 mkdir conftest 8232 cd conftest 8233 mkdir out 8234 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8235 8236 lt_compiler_flag="-o out/conftest2.$ac_objext" 8237 # Insert the option either (1) after the last *FLAGS variable, or 8238 # (2) before a word containing "conftest.", or (3) at the end. 8239 # Note that $ac_compile itself does not contain backslashes and begins 8240 # with a dollar sign (not a hyphen), so the echo should work correctly. 8241 lt_compile=`echo "$ac_compile" | $SED \ 8242 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8243 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8244 -e 's:$: $lt_compiler_flag:'` 8245 (eval echo "\"\$as_me:8245: $lt_compile\"" >&5) 8246 (eval "$lt_compile" 2>out/conftest.err) 8247 ac_status=$? 8248 cat out/conftest.err >&5 8249 echo "$as_me:8249: \$? = $ac_status" >&5 8250 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8251 then 8252 # The compiler can only warn and ignore the option if not recognized 8253 # So say no if there are warnings 8254 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 8255 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8256 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8257 lt_cv_prog_compiler_c_o=yes 8258 fi 8259 fi 8260 chmod u+w . 2>&5 8261 $RM conftest* 8262 # SGI C++ compiler will create directory out/ii_files/ for 8263 # template instantiation 8264 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8265 $RM out/* && rmdir out 8266 cd .. 8267 $RM -r conftest 8268 $RM conftest* 8269 8270fi 8271{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8272$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8273 8274 8275 8276 8277hard_links="nottested" 8278if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 8279 # do not overwrite the value of need_locks provided by the user 8280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 8281$as_echo_n "checking if we can lock with hard links... " >&6; } 8282 hard_links=yes 8283 $RM conftest* 8284 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8285 touch conftest.a 8286 ln conftest.a conftest.b 2>&5 || hard_links=no 8287 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 8289$as_echo "$hard_links" >&6; } 8290 if test "$hard_links" = no; then 8291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 8292$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 8293 need_locks=warn 8294 fi 8295else 8296 need_locks=no 8297fi 8298 8299 8300 8301 8302 8303 8304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8305$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8306 8307 runpath_var= 8308 allow_undefined_flag= 8309 always_export_symbols=no 8310 archive_cmds= 8311 archive_expsym_cmds= 8312 compiler_needs_object=no 8313 enable_shared_with_static_runtimes=no 8314 export_dynamic_flag_spec= 8315 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8316 hardcode_automatic=no 8317 hardcode_direct=no 8318 hardcode_direct_absolute=no 8319 hardcode_libdir_flag_spec= 8320 hardcode_libdir_flag_spec_ld= 8321 hardcode_libdir_separator= 8322 hardcode_minus_L=no 8323 hardcode_shlibpath_var=unsupported 8324 inherit_rpath=no 8325 link_all_deplibs=unknown 8326 module_cmds= 8327 module_expsym_cmds= 8328 old_archive_from_new_cmds= 8329 old_archive_from_expsyms_cmds= 8330 thread_safe_flag_spec= 8331 whole_archive_flag_spec= 8332 # include_expsyms should be a list of space-separated symbols to be *always* 8333 # included in the symbol list 8334 include_expsyms= 8335 # exclude_expsyms can be an extended regexp of symbols to exclude 8336 # it will be wrapped by ` (' and `)$', so one must not match beginning or 8337 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 8338 # as well as any symbol that contains `d'. 8339 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 8340 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8341 # platforms (ab)use it in PIC code, but their linkers get confused if 8342 # the symbol is explicitly referenced. Since portable code cannot 8343 # rely on this symbol name, it's probably fine to never include it in 8344 # preloaded symbol tables. 8345 # Exclude shared library initialization/finalization symbols. 8346 extract_expsyms_cmds= 8347 8348 case $host_os in 8349 cygwin* | mingw* | pw32* | cegcc*) 8350 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8351 # When not using gcc, we currently assume that we are using 8352 # Microsoft Visual C++. 8353 if test "$GCC" != yes; then 8354 with_gnu_ld=no 8355 fi 8356 ;; 8357 interix*) 8358 # we just hope/assume this is gcc and not c89 (= MSVC++) 8359 with_gnu_ld=yes 8360 ;; 8361 openbsd*) 8362 with_gnu_ld=no 8363 ;; 8364 esac 8365 8366 ld_shlibs=yes 8367 if test "$with_gnu_ld" = yes; then 8368 # If archive_cmds runs LD, not CC, wlarc should be empty 8369 wlarc='${wl}' 8370 8371 # Set some defaults for GNU ld with shared library support. These 8372 # are reset later if shared libraries are not supported. Putting them 8373 # here allows them to be overridden if necessary. 8374 runpath_var=LD_RUN_PATH 8375 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8376 export_dynamic_flag_spec='${wl}--export-dynamic' 8377 # ancient GNU ld didn't support --whole-archive et. al. 8378 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 8379 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 8380 else 8381 whole_archive_flag_spec= 8382 fi 8383 supports_anon_versioning=no 8384 case `$LD -v 2>&1` in 8385 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 8386 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 8387 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 8388 *\ 2.11.*) ;; # other 2.11 versions 8389 *) supports_anon_versioning=yes ;; 8390 esac 8391 8392 # See if GNU ld supports shared libraries. 8393 case $host_os in 8394 aix[3-9]*) 8395 # On AIX/PPC, the GNU linker is very broken 8396 if test "$host_cpu" != ia64; then 8397 ld_shlibs=no 8398 cat <<_LT_EOF 1>&2 8399 8400*** Warning: the GNU linker, at least up to release 2.9.1, is reported 8401*** to be unable to reliably create shared libraries on AIX. 8402*** Therefore, libtool is disabling shared libraries support. If you 8403*** really care for shared libraries, you may want to modify your PATH 8404*** so that a non-GNU linker is found, and then restart. 8405 8406_LT_EOF 8407 fi 8408 ;; 8409 8410 amigaos*) 8411 case $host_cpu in 8412 powerpc) 8413 # see comment about AmigaOS4 .so support 8414 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8415 archive_expsym_cmds='' 8416 ;; 8417 m68k) 8418 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)' 8419 hardcode_libdir_flag_spec='-L$libdir' 8420 hardcode_minus_L=yes 8421 ;; 8422 esac 8423 ;; 8424 8425 beos*) 8426 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8427 allow_undefined_flag=unsupported 8428 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 8429 # support --undefined. This deserves some investigation. FIXME 8430 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8431 else 8432 ld_shlibs=no 8433 fi 8434 ;; 8435 8436 cygwin* | mingw* | pw32* | cegcc*) 8437 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 8438 # as there is no search path for DLLs. 8439 hardcode_libdir_flag_spec='-L$libdir' 8440 allow_undefined_flag=unsupported 8441 always_export_symbols=no 8442 enable_shared_with_static_runtimes=yes 8443 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 8444 8445 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 8446 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8447 # If the export-symbols file already is a .def file (1st line 8448 # is EXPORTS), use it as is; otherwise, prepend... 8449 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 8450 cp $export_symbols $output_objdir/$soname.def; 8451 else 8452 echo EXPORTS > $output_objdir/$soname.def; 8453 cat $export_symbols >> $output_objdir/$soname.def; 8454 fi~ 8455 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8456 else 8457 ld_shlibs=no 8458 fi 8459 ;; 8460 8461 interix[3-9]*) 8462 hardcode_direct=no 8463 hardcode_shlibpath_var=no 8464 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8465 export_dynamic_flag_spec='${wl}-E' 8466 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 8467 # Instead, shared libraries are loaded at an image base (0x10000000 by 8468 # default) and relocated if they conflict, which is a slow very memory 8469 # consuming and fragmenting process. To avoid this, we pick a random, 8470 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 8471 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 8472 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8473 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' 8474 ;; 8475 8476 gnu* | linux* | tpf* | k*bsd*-gnu) 8477 tmp_diet=no 8478 if test "$host_os" = linux-dietlibc; then 8479 case $cc_basename in 8480 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 8481 esac 8482 fi 8483 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 8484 && test "$tmp_diet" = no 8485 then 8486 tmp_addflag= 8487 tmp_sharedflag='-shared' 8488 case $cc_basename,$host_cpu in 8489 pgcc*) # Portland Group C compiler 8490 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' 8491 tmp_addflag=' $pic_flag' 8492 ;; 8493 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 8494 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' 8495 tmp_addflag=' $pic_flag -Mnomain' ;; 8496 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 8497 tmp_addflag=' -i_dynamic' ;; 8498 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 8499 tmp_addflag=' -i_dynamic -nofor_main' ;; 8500 ifc* | ifort*) # Intel Fortran compiler 8501 tmp_addflag=' -nofor_main' ;; 8502 lf95*) # Lahey Fortran 8.1 8503 whole_archive_flag_spec= 8504 tmp_sharedflag='--shared' ;; 8505 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 8506 tmp_sharedflag='-qmkshrobj' 8507 tmp_addflag= ;; 8508 esac 8509 case `$CC -V 2>&1 | sed 5q` in 8510 *Sun\ C*) # Sun C 5.9 8511 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' 8512 compiler_needs_object=yes 8513 tmp_sharedflag='-G' ;; 8514 *Sun\ F*) # Sun Fortran 8.3 8515 tmp_sharedflag='-G' ;; 8516 esac 8517 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8518 8519 if test "x$supports_anon_versioning" = xyes; then 8520 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8521 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8522 echo "local: *; };" >> $output_objdir/$libname.ver~ 8523 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 8524 fi 8525 8526 case $cc_basename in 8527 xlf*) 8528 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 8529 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 8530 hardcode_libdir_flag_spec= 8531 hardcode_libdir_flag_spec_ld='-rpath $libdir' 8532 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' 8533 if test "x$supports_anon_versioning" = xyes; then 8534 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8535 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8536 echo "local: *; };" >> $output_objdir/$libname.ver~ 8537 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 8538 fi 8539 ;; 8540 esac 8541 else 8542 ld_shlibs=no 8543 fi 8544 ;; 8545 8546 netbsd*) 8547 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 8548 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 8549 wlarc= 8550 else 8551 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8552 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8553 fi 8554 ;; 8555 8556 solaris*) 8557 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 8558 ld_shlibs=no 8559 cat <<_LT_EOF 1>&2 8560 8561*** Warning: The releases 2.8.* of the GNU linker cannot reliably 8562*** create shared libraries on Solaris systems. Therefore, libtool 8563*** is disabling shared libraries support. We urge you to upgrade GNU 8564*** binutils to release 2.9.1 or newer. Another option is to modify 8565*** your PATH or compiler configuration so that the native linker is 8566*** used, and then restart. 8567 8568_LT_EOF 8569 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8570 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8571 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8572 else 8573 ld_shlibs=no 8574 fi 8575 ;; 8576 8577 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 8578 case `$LD -v 2>&1` in 8579 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 8580 ld_shlibs=no 8581 cat <<_LT_EOF 1>&2 8582 8583*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 8584*** reliably create shared libraries on SCO systems. Therefore, libtool 8585*** is disabling shared libraries support. We urge you to upgrade GNU 8586*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 8587*** your PATH or compiler configuration so that the native linker is 8588*** used, and then restart. 8589 8590_LT_EOF 8591 ;; 8592 *) 8593 # For security reasons, it is highly recommended that you always 8594 # use absolute paths for naming shared libraries, and exclude the 8595 # DT_RUNPATH tag from executables and libraries. But doing so 8596 # requires that you compile everything twice, which is a pain. 8597 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8598 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8599 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8600 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8601 else 8602 ld_shlibs=no 8603 fi 8604 ;; 8605 esac 8606 ;; 8607 8608 sunos4*) 8609 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8610 wlarc= 8611 hardcode_direct=yes 8612 hardcode_shlibpath_var=no 8613 ;; 8614 8615 *) 8616 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8617 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8618 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8619 else 8620 ld_shlibs=no 8621 fi 8622 ;; 8623 esac 8624 8625 if test "$ld_shlibs" = no; then 8626 runpath_var= 8627 hardcode_libdir_flag_spec= 8628 export_dynamic_flag_spec= 8629 whole_archive_flag_spec= 8630 fi 8631 else 8632 # PORTME fill in a description of your system's linker (not GNU ld) 8633 case $host_os in 8634 aix3*) 8635 allow_undefined_flag=unsupported 8636 always_export_symbols=yes 8637 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' 8638 # Note: this linker hardcodes the directories in LIBPATH if there 8639 # are no directories specified by -L. 8640 hardcode_minus_L=yes 8641 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 8642 # Neither direct hardcoding nor static linking is supported with a 8643 # broken collect2. 8644 hardcode_direct=unsupported 8645 fi 8646 ;; 8647 8648 aix[4-9]*) 8649 if test "$host_cpu" = ia64; then 8650 # On IA64, the linker does run time linking by default, so we don't 8651 # have to do anything special. 8652 aix_use_runtimelinking=no 8653 exp_sym_flag='-Bexport' 8654 no_entry_flag="" 8655 else 8656 # If we're using GNU nm, then we don't want the "-C" option. 8657 # -C means demangle to AIX nm, but means don't demangle with GNU nm 8658 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 8659 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' 8660 else 8661 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' 8662 fi 8663 aix_use_runtimelinking=no 8664 8665 # Test if we are trying to use run time linking or normal 8666 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 8667 # need to do runtime linking. 8668 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 8669 for ld_flag in $LDFLAGS; do 8670 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 8671 aix_use_runtimelinking=yes 8672 break 8673 fi 8674 done 8675 ;; 8676 esac 8677 8678 exp_sym_flag='-bexport' 8679 no_entry_flag='-bnoentry' 8680 fi 8681 8682 # When large executables or shared objects are built, AIX ld can 8683 # have problems creating the table of contents. If linking a library 8684 # or program results in "error TOC overflow" add -mminimal-toc to 8685 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 8686 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 8687 8688 archive_cmds='' 8689 hardcode_direct=yes 8690 hardcode_direct_absolute=yes 8691 hardcode_libdir_separator=':' 8692 link_all_deplibs=yes 8693 file_list_spec='${wl}-f,' 8694 8695 if test "$GCC" = yes; then 8696 case $host_os in aix4.[012]|aix4.[012].*) 8697 # We only want to do this on AIX 4.2 and lower, the check 8698 # below for broken collect2 doesn't work under 4.3+ 8699 collect2name=`${CC} -print-prog-name=collect2` 8700 if test -f "$collect2name" && 8701 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 8702 then 8703 # We have reworked collect2 8704 : 8705 else 8706 # We have old collect2 8707 hardcode_direct=unsupported 8708 # It fails to find uninstalled libraries when the uninstalled 8709 # path is not listed in the libpath. Setting hardcode_minus_L 8710 # to unsupported forces relinking 8711 hardcode_minus_L=yes 8712 hardcode_libdir_flag_spec='-L$libdir' 8713 hardcode_libdir_separator= 8714 fi 8715 ;; 8716 esac 8717 shared_flag='-shared' 8718 if test "$aix_use_runtimelinking" = yes; then 8719 shared_flag="$shared_flag "'${wl}-G' 8720 fi 8721 else 8722 # not using gcc 8723 if test "$host_cpu" = ia64; then 8724 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 8725 # chokes on -Wl,-G. The following line is correct: 8726 shared_flag='-G' 8727 else 8728 if test "$aix_use_runtimelinking" = yes; then 8729 shared_flag='${wl}-G' 8730 else 8731 shared_flag='${wl}-bM:SRE' 8732 fi 8733 fi 8734 fi 8735 8736 export_dynamic_flag_spec='${wl}-bexpall' 8737 # It seems that -bexpall does not export symbols beginning with 8738 # underscore (_), so it is better to generate a list of symbols to export. 8739 always_export_symbols=yes 8740 if test "$aix_use_runtimelinking" = yes; then 8741 # Warning - without using the other runtime loading flags (-brtl), 8742 # -berok will link without error, but may produce a broken library. 8743 allow_undefined_flag='-berok' 8744 # Determine the default libpath from the value encoded in an 8745 # empty executable. 8746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8747/* end confdefs.h. */ 8748 8749int 8750main () 8751{ 8752 8753 ; 8754 return 0; 8755} 8756_ACEOF 8757if ac_fn_c_try_link "$LINENO"; then : 8758 8759lt_aix_libpath_sed=' 8760 /Import File Strings/,/^$/ { 8761 /^0/ { 8762 s/^0 *\(.*\)$/\1/ 8763 p 8764 } 8765 }' 8766aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8767# Check for a 64-bit object if we didn't find anything. 8768if test -z "$aix_libpath"; then 8769 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8770fi 8771fi 8772rm -f core conftest.err conftest.$ac_objext \ 8773 conftest$ac_exeext conftest.$ac_ext 8774if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8775 8776 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8777 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" 8778 else 8779 if test "$host_cpu" = ia64; then 8780 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 8781 allow_undefined_flag="-z nodefs" 8782 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" 8783 else 8784 # Determine the default libpath from the value encoded in an 8785 # empty executable. 8786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8787/* end confdefs.h. */ 8788 8789int 8790main () 8791{ 8792 8793 ; 8794 return 0; 8795} 8796_ACEOF 8797if ac_fn_c_try_link "$LINENO"; then : 8798 8799lt_aix_libpath_sed=' 8800 /Import File Strings/,/^$/ { 8801 /^0/ { 8802 s/^0 *\(.*\)$/\1/ 8803 p 8804 } 8805 }' 8806aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8807# Check for a 64-bit object if we didn't find anything. 8808if test -z "$aix_libpath"; then 8809 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8810fi 8811fi 8812rm -f core conftest.err conftest.$ac_objext \ 8813 conftest$ac_exeext conftest.$ac_ext 8814if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8815 8816 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8817 # Warning - without using the other run time loading flags, 8818 # -berok will link without error, but may produce a broken library. 8819 no_undefined_flag=' ${wl}-bernotok' 8820 allow_undefined_flag=' ${wl}-berok' 8821 # Exported symbols can be pulled into shared objects from archives 8822 whole_archive_flag_spec='$convenience' 8823 archive_cmds_need_lc=yes 8824 # This is similar to how AIX traditionally builds its shared libraries. 8825 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' 8826 fi 8827 fi 8828 ;; 8829 8830 amigaos*) 8831 case $host_cpu in 8832 powerpc) 8833 # see comment about AmigaOS4 .so support 8834 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8835 archive_expsym_cmds='' 8836 ;; 8837 m68k) 8838 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)' 8839 hardcode_libdir_flag_spec='-L$libdir' 8840 hardcode_minus_L=yes 8841 ;; 8842 esac 8843 ;; 8844 8845 bsdi[45]*) 8846 export_dynamic_flag_spec=-rdynamic 8847 ;; 8848 8849 cygwin* | mingw* | pw32* | cegcc*) 8850 # When not using gcc, we currently assume that we are using 8851 # Microsoft Visual C++. 8852 # hardcode_libdir_flag_spec is actually meaningless, as there is 8853 # no search path for DLLs. 8854 hardcode_libdir_flag_spec=' ' 8855 allow_undefined_flag=unsupported 8856 # Tell ltmain to make .lib files, not .a files. 8857 libext=lib 8858 # Tell ltmain to make .dll files, not .so files. 8859 shrext_cmds=".dll" 8860 # FIXME: Setting linknames here is a bad hack. 8861 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' 8862 # The linker will automatically build a .lib file if we build a DLL. 8863 old_archive_from_new_cmds='true' 8864 # FIXME: Should let the user specify the lib program. 8865 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 8866 fix_srcfile_path='`cygpath -w "$srcfile"`' 8867 enable_shared_with_static_runtimes=yes 8868 ;; 8869 8870 darwin* | rhapsody*) 8871 8872 8873 archive_cmds_need_lc=no 8874 hardcode_direct=no 8875 hardcode_automatic=yes 8876 hardcode_shlibpath_var=unsupported 8877 whole_archive_flag_spec='' 8878 link_all_deplibs=yes 8879 allow_undefined_flag="$_lt_dar_allow_undefined" 8880 case $cc_basename in 8881 ifort*) _lt_dar_can_shared=yes ;; 8882 *) _lt_dar_can_shared=$GCC ;; 8883 esac 8884 if test "$_lt_dar_can_shared" = "yes"; then 8885 output_verbose_link_cmd=echo 8886 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 8887 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 8888 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}" 8889 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}" 8890 8891 else 8892 ld_shlibs=no 8893 fi 8894 8895 ;; 8896 8897 dgux*) 8898 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8899 hardcode_libdir_flag_spec='-L$libdir' 8900 hardcode_shlibpath_var=no 8901 ;; 8902 8903 freebsd1*) 8904 ld_shlibs=no 8905 ;; 8906 8907 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 8908 # support. Future versions do this automatically, but an explicit c++rt0.o 8909 # does not break anything, and helps significantly (at the cost of a little 8910 # extra space). 8911 freebsd2.2*) 8912 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 8913 hardcode_libdir_flag_spec='-R$libdir' 8914 hardcode_direct=yes 8915 hardcode_shlibpath_var=no 8916 ;; 8917 8918 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 8919 freebsd2*) 8920 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8921 hardcode_direct=yes 8922 hardcode_minus_L=yes 8923 hardcode_shlibpath_var=no 8924 ;; 8925 8926 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 8927 freebsd* | dragonfly*) 8928 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 8929 hardcode_libdir_flag_spec='-R$libdir' 8930 hardcode_direct=yes 8931 hardcode_shlibpath_var=no 8932 ;; 8933 8934 hpux9*) 8935 if test "$GCC" = yes; then 8936 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' 8937 else 8938 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' 8939 fi 8940 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 8941 hardcode_libdir_separator=: 8942 hardcode_direct=yes 8943 8944 # hardcode_minus_L: Not really in the search PATH, 8945 # but as the default location of the library. 8946 hardcode_minus_L=yes 8947 export_dynamic_flag_spec='${wl}-E' 8948 ;; 8949 8950 hpux10*) 8951 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 8952 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 8953 else 8954 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 8955 fi 8956 if test "$with_gnu_ld" = no; then 8957 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 8958 hardcode_libdir_flag_spec_ld='+b $libdir' 8959 hardcode_libdir_separator=: 8960 hardcode_direct=yes 8961 hardcode_direct_absolute=yes 8962 export_dynamic_flag_spec='${wl}-E' 8963 # hardcode_minus_L: Not really in the search PATH, 8964 # but as the default location of the library. 8965 hardcode_minus_L=yes 8966 fi 8967 ;; 8968 8969 hpux11*) 8970 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 8971 case $host_cpu in 8972 hppa*64*) 8973 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 8974 ;; 8975 ia64*) 8976 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 8977 ;; 8978 *) 8979 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 8980 ;; 8981 esac 8982 else 8983 case $host_cpu in 8984 hppa*64*) 8985 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 8986 ;; 8987 ia64*) 8988 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 8989 ;; 8990 *) 8991 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 8992 ;; 8993 esac 8994 fi 8995 if test "$with_gnu_ld" = no; then 8996 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 8997 hardcode_libdir_separator=: 8998 8999 case $host_cpu in 9000 hppa*64*|ia64*) 9001 hardcode_direct=no 9002 hardcode_shlibpath_var=no 9003 ;; 9004 *) 9005 hardcode_direct=yes 9006 hardcode_direct_absolute=yes 9007 export_dynamic_flag_spec='${wl}-E' 9008 9009 # hardcode_minus_L: Not really in the search PATH, 9010 # but as the default location of the library. 9011 hardcode_minus_L=yes 9012 ;; 9013 esac 9014 fi 9015 ;; 9016 9017 irix5* | irix6* | nonstopux*) 9018 if test "$GCC" = yes; then 9019 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' 9020 # Try to use the -exported_symbol ld option, if it does not 9021 # work, assume that -exports_file does not work either and 9022 # implicitly export all symbols. 9023 save_LDFLAGS="$LDFLAGS" 9024 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 9025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9026/* end confdefs.h. */ 9027int foo(void) {} 9028_ACEOF 9029if ac_fn_c_try_link "$LINENO"; then : 9030 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' 9031 9032fi 9033rm -f core conftest.err conftest.$ac_objext \ 9034 conftest$ac_exeext conftest.$ac_ext 9035 LDFLAGS="$save_LDFLAGS" 9036 else 9037 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' 9038 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' 9039 fi 9040 archive_cmds_need_lc='no' 9041 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9042 hardcode_libdir_separator=: 9043 inherit_rpath=yes 9044 link_all_deplibs=yes 9045 ;; 9046 9047 netbsd*) 9048 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9049 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9050 else 9051 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9052 fi 9053 hardcode_libdir_flag_spec='-R$libdir' 9054 hardcode_direct=yes 9055 hardcode_shlibpath_var=no 9056 ;; 9057 9058 newsos6) 9059 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9060 hardcode_direct=yes 9061 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9062 hardcode_libdir_separator=: 9063 hardcode_shlibpath_var=no 9064 ;; 9065 9066 *nto* | *qnx*) 9067 ;; 9068 9069 openbsd*) 9070 if test -f /usr/libexec/ld.so; then 9071 hardcode_direct=yes 9072 hardcode_shlibpath_var=no 9073 hardcode_direct_absolute=yes 9074 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9075 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9076 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 9077 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9078 export_dynamic_flag_spec='${wl}-E' 9079 else 9080 case $host_os in 9081 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 9082 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9083 hardcode_libdir_flag_spec='-R$libdir' 9084 ;; 9085 *) 9086 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9087 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9088 ;; 9089 esac 9090 fi 9091 else 9092 ld_shlibs=no 9093 fi 9094 ;; 9095 9096 os2*) 9097 hardcode_libdir_flag_spec='-L$libdir' 9098 hardcode_minus_L=yes 9099 allow_undefined_flag=unsupported 9100 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' 9101 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 9102 ;; 9103 9104 osf3*) 9105 if test "$GCC" = yes; then 9106 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9107 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' 9108 else 9109 allow_undefined_flag=' -expect_unresolved \*' 9110 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' 9111 fi 9112 archive_cmds_need_lc='no' 9113 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9114 hardcode_libdir_separator=: 9115 ;; 9116 9117 osf4* | osf5*) # as osf3* with the addition of -msym flag 9118 if test "$GCC" = yes; then 9119 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9120 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' 9121 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9122 else 9123 allow_undefined_flag=' -expect_unresolved \*' 9124 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' 9125 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~ 9126 $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' 9127 9128 # Both c and cxx compiler support -rpath directly 9129 hardcode_libdir_flag_spec='-rpath $libdir' 9130 fi 9131 archive_cmds_need_lc='no' 9132 hardcode_libdir_separator=: 9133 ;; 9134 9135 solaris*) 9136 no_undefined_flag=' -z defs' 9137 if test "$GCC" = yes; then 9138 wlarc='${wl}' 9139 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9140 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9141 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9142 else 9143 case `$CC -V 2>&1` in 9144 *"Compilers 5.0"*) 9145 wlarc='' 9146 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 9147 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9148 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 9149 ;; 9150 *) 9151 wlarc='${wl}' 9152 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 9153 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9154 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9155 ;; 9156 esac 9157 fi 9158 hardcode_libdir_flag_spec='-R$libdir' 9159 hardcode_shlibpath_var=no 9160 case $host_os in 9161 solaris2.[0-5] | solaris2.[0-5].*) ;; 9162 *) 9163 # The compiler driver will combine and reorder linker options, 9164 # but understands `-z linker_flag'. GCC discards it without `$wl', 9165 # but is careful enough not to reorder. 9166 # Supported since Solaris 2.6 (maybe 2.5.1?) 9167 if test "$GCC" = yes; then 9168 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 9169 else 9170 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 9171 fi 9172 ;; 9173 esac 9174 link_all_deplibs=yes 9175 ;; 9176 9177 sunos4*) 9178 if test "x$host_vendor" = xsequent; then 9179 # Use $CC to link under sequent, because it throws in some extra .o 9180 # files that make .init and .fini sections work. 9181 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 9182 else 9183 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 9184 fi 9185 hardcode_libdir_flag_spec='-L$libdir' 9186 hardcode_direct=yes 9187 hardcode_minus_L=yes 9188 hardcode_shlibpath_var=no 9189 ;; 9190 9191 sysv4) 9192 case $host_vendor in 9193 sni) 9194 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9195 hardcode_direct=yes # is this really true??? 9196 ;; 9197 siemens) 9198 ## LD is ld it makes a PLAMLIB 9199 ## CC just makes a GrossModule. 9200 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 9201 reload_cmds='$CC -r -o $output$reload_objs' 9202 hardcode_direct=no 9203 ;; 9204 motorola) 9205 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9206 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 9207 ;; 9208 esac 9209 runpath_var='LD_RUN_PATH' 9210 hardcode_shlibpath_var=no 9211 ;; 9212 9213 sysv4.3*) 9214 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9215 hardcode_shlibpath_var=no 9216 export_dynamic_flag_spec='-Bexport' 9217 ;; 9218 9219 sysv4*MP*) 9220 if test -d /usr/nec; then 9221 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9222 hardcode_shlibpath_var=no 9223 runpath_var=LD_RUN_PATH 9224 hardcode_runpath_var=yes 9225 ld_shlibs=yes 9226 fi 9227 ;; 9228 9229 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 9230 no_undefined_flag='${wl}-z,text' 9231 archive_cmds_need_lc=no 9232 hardcode_shlibpath_var=no 9233 runpath_var='LD_RUN_PATH' 9234 9235 if test "$GCC" = yes; then 9236 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9237 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9238 else 9239 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9240 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9241 fi 9242 ;; 9243 9244 sysv5* | sco3.2v5* | sco5v6*) 9245 # Note: We can NOT use -z defs as we might desire, because we do not 9246 # link with -lc, and that would cause any symbols used from libc to 9247 # always be unresolved, which means just about no library would 9248 # ever link correctly. If we're not using GNU ld we use -z text 9249 # though, which does catch some bad symbols but isn't as heavy-handed 9250 # as -z defs. 9251 no_undefined_flag='${wl}-z,text' 9252 allow_undefined_flag='${wl}-z,nodefs' 9253 archive_cmds_need_lc=no 9254 hardcode_shlibpath_var=no 9255 hardcode_libdir_flag_spec='${wl}-R,$libdir' 9256 hardcode_libdir_separator=':' 9257 link_all_deplibs=yes 9258 export_dynamic_flag_spec='${wl}-Bexport' 9259 runpath_var='LD_RUN_PATH' 9260 9261 if test "$GCC" = yes; then 9262 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9263 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9264 else 9265 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9266 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9267 fi 9268 ;; 9269 9270 uts4*) 9271 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9272 hardcode_libdir_flag_spec='-L$libdir' 9273 hardcode_shlibpath_var=no 9274 ;; 9275 9276 *) 9277 ld_shlibs=no 9278 ;; 9279 esac 9280 9281 if test x$host_vendor = xsni; then 9282 case $host in 9283 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 9284 export_dynamic_flag_spec='${wl}-Blargedynsym' 9285 ;; 9286 esac 9287 fi 9288 fi 9289 9290{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 9291$as_echo "$ld_shlibs" >&6; } 9292test "$ld_shlibs" = no && can_build_shared=no 9293 9294with_gnu_ld=$with_gnu_ld 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310# 9311# Do we need to explicitly link libc? 9312# 9313case "x$archive_cmds_need_lc" in 9314x|xyes) 9315 # Assume -lc should be added 9316 archive_cmds_need_lc=yes 9317 9318 if test "$enable_shared" = yes && test "$GCC" = yes; then 9319 case $archive_cmds in 9320 *'~'*) 9321 # FIXME: we may have to deal with multi-command sequences. 9322 ;; 9323 '$CC '*) 9324 # Test whether the compiler implicitly links with -lc since on some 9325 # systems, -lgcc has to come before -lc. If gcc already passes -lc 9326 # to ld, don't add -lc before -lgcc. 9327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 9328$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 9329 $RM conftest* 9330 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9331 9332 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9333 (eval $ac_compile) 2>&5 9334 ac_status=$? 9335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9336 test $ac_status = 0; } 2>conftest.err; then 9337 soname=conftest 9338 lib=conftest 9339 libobjs=conftest.$ac_objext 9340 deplibs= 9341 wl=$lt_prog_compiler_wl 9342 pic_flag=$lt_prog_compiler_pic 9343 compiler_flags=-v 9344 linker_flags=-v 9345 verstring= 9346 output_objdir=. 9347 libname=conftest 9348 lt_save_allow_undefined_flag=$allow_undefined_flag 9349 allow_undefined_flag= 9350 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 9351 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 9352 ac_status=$? 9353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9354 test $ac_status = 0; } 9355 then 9356 archive_cmds_need_lc=no 9357 else 9358 archive_cmds_need_lc=yes 9359 fi 9360 allow_undefined_flag=$lt_save_allow_undefined_flag 9361 else 9362 cat conftest.err 1>&5 9363 fi 9364 $RM conftest* 9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 9366$as_echo "$archive_cmds_need_lc" >&6; } 9367 ;; 9368 esac 9369 fi 9370 ;; 9371esac 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 9530$as_echo_n "checking dynamic linker characteristics... " >&6; } 9531 9532if test "$GCC" = yes; then 9533 case $host_os in 9534 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 9535 *) lt_awk_arg="/^libraries:/" ;; 9536 esac 9537 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` 9538 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then 9539 # if the path contains ";" then we assume it to be the separator 9540 # otherwise default to the standard path separator (i.e. ":") - it is 9541 # assumed that no part of a normal pathname contains ";" but that should 9542 # okay in the real world where ";" in dirpaths is itself problematic. 9543 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` 9544 else 9545 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 9546 fi 9547 # Ok, now we have the path, separated by spaces, we can step through it 9548 # and add multilib dir if necessary. 9549 lt_tmp_lt_search_path_spec= 9550 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 9551 for lt_sys_path in $lt_search_path_spec; do 9552 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 9553 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 9554 else 9555 test -d "$lt_sys_path" && \ 9556 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 9557 fi 9558 done 9559 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' 9560BEGIN {RS=" "; FS="/|\n";} { 9561 lt_foo=""; 9562 lt_count=0; 9563 for (lt_i = NF; lt_i > 0; lt_i--) { 9564 if ($lt_i != "" && $lt_i != ".") { 9565 if ($lt_i == "..") { 9566 lt_count++; 9567 } else { 9568 if (lt_count == 0) { 9569 lt_foo="/" $lt_i lt_foo; 9570 } else { 9571 lt_count--; 9572 } 9573 } 9574 } 9575 } 9576 if (lt_foo != "") { lt_freq[lt_foo]++; } 9577 if (lt_freq[lt_foo] == 1) { print lt_foo; } 9578}'` 9579 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` 9580else 9581 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 9582fi 9583library_names_spec= 9584libname_spec='lib$name' 9585soname_spec= 9586shrext_cmds=".so" 9587postinstall_cmds= 9588postuninstall_cmds= 9589finish_cmds= 9590finish_eval= 9591shlibpath_var= 9592shlibpath_overrides_runpath=unknown 9593version_type=none 9594dynamic_linker="$host_os ld.so" 9595sys_lib_dlsearch_path_spec="/lib /usr/lib" 9596need_lib_prefix=unknown 9597hardcode_into_libs=no 9598 9599# when you set need_version to no, make sure it does not cause -set_version 9600# flags to be left without arguments 9601need_version=unknown 9602 9603case $host_os in 9604aix3*) 9605 version_type=linux 9606 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 9607 shlibpath_var=LIBPATH 9608 9609 # AIX 3 has no versioning support, so we append a major version to the name. 9610 soname_spec='${libname}${release}${shared_ext}$major' 9611 ;; 9612 9613aix[4-9]*) 9614 version_type=linux 9615 need_lib_prefix=no 9616 need_version=no 9617 hardcode_into_libs=yes 9618 if test "$host_cpu" = ia64; then 9619 # AIX 5 supports IA64 9620 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 9621 shlibpath_var=LD_LIBRARY_PATH 9622 else 9623 # With GCC up to 2.95.x, collect2 would create an import file 9624 # for dependence libraries. The import file would start with 9625 # the line `#! .'. This would cause the generated library to 9626 # depend on `.', always an invalid library. This was fixed in 9627 # development snapshots of GCC prior to 3.0. 9628 case $host_os in 9629 aix4 | aix4.[01] | aix4.[01].*) 9630 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 9631 echo ' yes ' 9632 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 9633 : 9634 else 9635 can_build_shared=no 9636 fi 9637 ;; 9638 esac 9639 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 9640 # soname into executable. Probably we can add versioning support to 9641 # collect2, so additional links can be useful in future. 9642 if test "$aix_use_runtimelinking" = yes; then 9643 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 9644 # instead of lib<name>.a to let people know that these are not 9645 # typical AIX shared libraries. 9646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9647 else 9648 # We preserve .a as extension for shared libraries through AIX4.2 9649 # and later when we are not doing run time linking. 9650 library_names_spec='${libname}${release}.a $libname.a' 9651 soname_spec='${libname}${release}${shared_ext}$major' 9652 fi 9653 shlibpath_var=LIBPATH 9654 fi 9655 ;; 9656 9657amigaos*) 9658 case $host_cpu in 9659 powerpc) 9660 # Since July 2007 AmigaOS4 officially supports .so libraries. 9661 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 9662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9663 ;; 9664 m68k) 9665 library_names_spec='$libname.ixlibrary $libname.a' 9666 # Create ${libname}_ixlibrary.a entries in /sys/libs. 9667 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' 9668 ;; 9669 esac 9670 ;; 9671 9672beos*) 9673 library_names_spec='${libname}${shared_ext}' 9674 dynamic_linker="$host_os ld.so" 9675 shlibpath_var=LIBRARY_PATH 9676 ;; 9677 9678bsdi[45]*) 9679 version_type=linux 9680 need_version=no 9681 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9682 soname_spec='${libname}${release}${shared_ext}$major' 9683 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 9684 shlibpath_var=LD_LIBRARY_PATH 9685 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 9686 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 9687 # the default ld.so.conf also contains /usr/contrib/lib and 9688 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 9689 # libtool to hard-code these into programs 9690 ;; 9691 9692cygwin* | mingw* | pw32* | cegcc*) 9693 version_type=windows 9694 shrext_cmds=".dll" 9695 need_version=no 9696 need_lib_prefix=no 9697 9698 case $GCC,$host_os in 9699 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) 9700 library_names_spec='$libname.dll.a' 9701 # DLL is installed to $(libdir)/../bin by postinstall_cmds 9702 postinstall_cmds='base_file=`basename \${file}`~ 9703 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 9704 dldir=$destdir/`dirname \$dlpath`~ 9705 test -d \$dldir || mkdir -p \$dldir~ 9706 $install_prog $dir/$dlname \$dldir/$dlname~ 9707 chmod a+x \$dldir/$dlname~ 9708 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 9709 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 9710 fi' 9711 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 9712 dlpath=$dir/\$dldll~ 9713 $RM \$dlpath' 9714 shlibpath_overrides_runpath=yes 9715 9716 case $host_os in 9717 cygwin*) 9718 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 9719 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9720 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 9721 ;; 9722 mingw* | cegcc*) 9723 # MinGW DLLs use traditional 'lib' prefix 9724 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9725 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 9726 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 9727 # It is most probably a Windows format PATH printed by 9728 # mingw gcc, but we are running on Cygwin. Gcc prints its search 9729 # path with ; separators, and with drive letters. We can handle the 9730 # drive letters (cygwin fileutils understands them), so leave them, 9731 # especially as we might pass files found there to a mingw objdump, 9732 # which wouldn't understand a cygwinified path. Ahh. 9733 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 9734 else 9735 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 9736 fi 9737 ;; 9738 pw32*) 9739 # pw32 DLLs use 'pw' prefix rather than 'lib' 9740 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9741 ;; 9742 esac 9743 ;; 9744 9745 *) 9746 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 9747 ;; 9748 esac 9749 dynamic_linker='Win32 ld.exe' 9750 # FIXME: first we should search . and the directory the executable is in 9751 shlibpath_var=PATH 9752 ;; 9753 9754darwin* | rhapsody*) 9755 dynamic_linker="$host_os dyld" 9756 version_type=darwin 9757 need_lib_prefix=no 9758 need_version=no 9759 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 9760 soname_spec='${libname}${release}${major}$shared_ext' 9761 shlibpath_overrides_runpath=yes 9762 shlibpath_var=DYLD_LIBRARY_PATH 9763 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 9764 9765 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 9766 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 9767 ;; 9768 9769dgux*) 9770 version_type=linux 9771 need_lib_prefix=no 9772 need_version=no 9773 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 9774 soname_spec='${libname}${release}${shared_ext}$major' 9775 shlibpath_var=LD_LIBRARY_PATH 9776 ;; 9777 9778freebsd1*) 9779 dynamic_linker=no 9780 ;; 9781 9782freebsd* | dragonfly*) 9783 # DragonFly does not have aout. When/if they implement a new 9784 # versioning mechanism, adjust this. 9785 if test -x /usr/bin/objformat; then 9786 objformat=`/usr/bin/objformat` 9787 else 9788 case $host_os in 9789 freebsd[123]*) objformat=aout ;; 9790 *) objformat=elf ;; 9791 esac 9792 fi 9793 version_type=freebsd-$objformat 9794 case $version_type in 9795 freebsd-elf*) 9796 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 9797 need_version=no 9798 need_lib_prefix=no 9799 ;; 9800 freebsd-*) 9801 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 9802 need_version=yes 9803 ;; 9804 esac 9805 shlibpath_var=LD_LIBRARY_PATH 9806 case $host_os in 9807 freebsd2*) 9808 shlibpath_overrides_runpath=yes 9809 ;; 9810 freebsd3.[01]* | freebsdelf3.[01]*) 9811 shlibpath_overrides_runpath=yes 9812 hardcode_into_libs=yes 9813 ;; 9814 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 9815 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 9816 shlibpath_overrides_runpath=no 9817 hardcode_into_libs=yes 9818 ;; 9819 *) # from 4.6 on, and DragonFly 9820 shlibpath_overrides_runpath=yes 9821 hardcode_into_libs=yes 9822 ;; 9823 esac 9824 ;; 9825 9826gnu*) 9827 version_type=linux 9828 need_lib_prefix=no 9829 need_version=no 9830 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 9831 soname_spec='${libname}${release}${shared_ext}$major' 9832 shlibpath_var=LD_LIBRARY_PATH 9833 hardcode_into_libs=yes 9834 ;; 9835 9836hpux9* | hpux10* | hpux11*) 9837 # Give a soname corresponding to the major version so that dld.sl refuses to 9838 # link against other versions. 9839 version_type=sunos 9840 need_lib_prefix=no 9841 need_version=no 9842 case $host_cpu in 9843 ia64*) 9844 shrext_cmds='.so' 9845 hardcode_into_libs=yes 9846 dynamic_linker="$host_os dld.so" 9847 shlibpath_var=LD_LIBRARY_PATH 9848 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 9849 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9850 soname_spec='${libname}${release}${shared_ext}$major' 9851 if test "X$HPUX_IA64_MODE" = X32; then 9852 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 9853 else 9854 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 9855 fi 9856 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 9857 ;; 9858 hppa*64*) 9859 shrext_cmds='.sl' 9860 hardcode_into_libs=yes 9861 dynamic_linker="$host_os dld.sl" 9862 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 9863 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 9864 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9865 soname_spec='${libname}${release}${shared_ext}$major' 9866 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 9867 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 9868 ;; 9869 *) 9870 shrext_cmds='.sl' 9871 dynamic_linker="$host_os dld.sl" 9872 shlibpath_var=SHLIB_PATH 9873 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 9874 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9875 soname_spec='${libname}${release}${shared_ext}$major' 9876 ;; 9877 esac 9878 # HP-UX runs *really* slowly unless shared libraries are mode 555. 9879 postinstall_cmds='chmod 555 $lib' 9880 ;; 9881 9882interix[3-9]*) 9883 version_type=linux 9884 need_lib_prefix=no 9885 need_version=no 9886 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 9887 soname_spec='${libname}${release}${shared_ext}$major' 9888 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 9889 shlibpath_var=LD_LIBRARY_PATH 9890 shlibpath_overrides_runpath=no 9891 hardcode_into_libs=yes 9892 ;; 9893 9894irix5* | irix6* | nonstopux*) 9895 case $host_os in 9896 nonstopux*) version_type=nonstopux ;; 9897 *) 9898 if test "$lt_cv_prog_gnu_ld" = yes; then 9899 version_type=linux 9900 else 9901 version_type=irix 9902 fi ;; 9903 esac 9904 need_lib_prefix=no 9905 need_version=no 9906 soname_spec='${libname}${release}${shared_ext}$major' 9907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 9908 case $host_os in 9909 irix5* | nonstopux*) 9910 libsuff= shlibsuff= 9911 ;; 9912 *) 9913 case $LD in # libtool.m4 will add one of these switches to LD 9914 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 9915 libsuff= shlibsuff= libmagic=32-bit;; 9916 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 9917 libsuff=32 shlibsuff=N32 libmagic=N32;; 9918 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 9919 libsuff=64 shlibsuff=64 libmagic=64-bit;; 9920 *) libsuff= shlibsuff= libmagic=never-match;; 9921 esac 9922 ;; 9923 esac 9924 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 9925 shlibpath_overrides_runpath=no 9926 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 9927 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 9928 hardcode_into_libs=yes 9929 ;; 9930 9931# No shared lib support for Linux oldld, aout, or coff. 9932linux*oldld* | linux*aout* | linux*coff*) 9933 dynamic_linker=no 9934 ;; 9935 9936# This must be Linux ELF. 9937linux* | k*bsd*-gnu) 9938 version_type=linux 9939 need_lib_prefix=no 9940 need_version=no 9941 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9942 soname_spec='${libname}${release}${shared_ext}$major' 9943 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 9944 shlibpath_var=LD_LIBRARY_PATH 9945 shlibpath_overrides_runpath=no 9946 # Some binutils ld are patched to set DT_RUNPATH 9947 save_LDFLAGS=$LDFLAGS 9948 save_libdir=$libdir 9949 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 9950 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 9951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9952/* end confdefs.h. */ 9953 9954int 9955main () 9956{ 9957 9958 ; 9959 return 0; 9960} 9961_ACEOF 9962if ac_fn_c_try_link "$LINENO"; then : 9963 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 9964 shlibpath_overrides_runpath=yes 9965fi 9966fi 9967rm -f core conftest.err conftest.$ac_objext \ 9968 conftest$ac_exeext conftest.$ac_ext 9969 LDFLAGS=$save_LDFLAGS 9970 libdir=$save_libdir 9971 9972 # This implies no fast_install, which is unacceptable. 9973 # Some rework will be needed to allow for fast_install 9974 # before this can be enabled. 9975 hardcode_into_libs=yes 9976 9977 # Append ld.so.conf contents to the search path 9978 if test -f /etc/ld.so.conf; then 9979 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' ' '` 9980 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 9981 fi 9982 9983 # We used to test for /lib/ld.so.1 and disable shared libraries on 9984 # powerpc, because MkLinux only supported shared libraries with the 9985 # GNU dynamic linker. Since this was broken with cross compilers, 9986 # most powerpc-linux boxes support dynamic linking these days and 9987 # people can always --disable-shared, the test was removed, and we 9988 # assume the GNU/Linux dynamic linker is in use. 9989 dynamic_linker='GNU/Linux ld.so' 9990 ;; 9991 9992netbsd*) 9993 version_type=sunos 9994 need_lib_prefix=no 9995 need_version=no 9996 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9997 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 9998 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 9999 dynamic_linker='NetBSD (a.out) ld.so' 10000 else 10001 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10002 soname_spec='${libname}${release}${shared_ext}$major' 10003 dynamic_linker='NetBSD ld.elf_so' 10004 fi 10005 shlibpath_var=LD_LIBRARY_PATH 10006 shlibpath_overrides_runpath=yes 10007 hardcode_into_libs=yes 10008 ;; 10009 10010newsos6) 10011 version_type=linux 10012 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10013 shlibpath_var=LD_LIBRARY_PATH 10014 shlibpath_overrides_runpath=yes 10015 ;; 10016 10017*nto* | *qnx*) 10018 version_type=qnx 10019 need_lib_prefix=no 10020 need_version=no 10021 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10022 soname_spec='${libname}${release}${shared_ext}$major' 10023 shlibpath_var=LD_LIBRARY_PATH 10024 shlibpath_overrides_runpath=no 10025 hardcode_into_libs=yes 10026 dynamic_linker='ldqnx.so' 10027 ;; 10028 10029openbsd*) 10030 version_type=sunos 10031 sys_lib_dlsearch_path_spec="/usr/lib" 10032 need_lib_prefix=no 10033 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 10034 case $host_os in 10035 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 10036 *) need_version=no ;; 10037 esac 10038 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10039 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10040 shlibpath_var=LD_LIBRARY_PATH 10041 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10042 case $host_os in 10043 openbsd2.[89] | openbsd2.[89].*) 10044 shlibpath_overrides_runpath=no 10045 ;; 10046 *) 10047 shlibpath_overrides_runpath=yes 10048 ;; 10049 esac 10050 else 10051 shlibpath_overrides_runpath=yes 10052 fi 10053 ;; 10054 10055os2*) 10056 libname_spec='$name' 10057 shrext_cmds=".dll" 10058 need_lib_prefix=no 10059 library_names_spec='$libname${shared_ext} $libname.a' 10060 dynamic_linker='OS/2 ld.exe' 10061 shlibpath_var=LIBPATH 10062 ;; 10063 10064osf3* | osf4* | osf5*) 10065 version_type=osf 10066 need_lib_prefix=no 10067 need_version=no 10068 soname_spec='${libname}${release}${shared_ext}$major' 10069 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10070 shlibpath_var=LD_LIBRARY_PATH 10071 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 10072 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 10073 ;; 10074 10075rdos*) 10076 dynamic_linker=no 10077 ;; 10078 10079solaris*) 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 shlibpath_overrides_runpath=yes 10087 hardcode_into_libs=yes 10088 # ldd complains unless libraries are executable 10089 postinstall_cmds='chmod +x $lib' 10090 ;; 10091 10092sunos4*) 10093 version_type=sunos 10094 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10095 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 10096 shlibpath_var=LD_LIBRARY_PATH 10097 shlibpath_overrides_runpath=yes 10098 if test "$with_gnu_ld" = yes; then 10099 need_lib_prefix=no 10100 fi 10101 need_version=yes 10102 ;; 10103 10104sysv4 | sysv4.3*) 10105 version_type=linux 10106 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10107 soname_spec='${libname}${release}${shared_ext}$major' 10108 shlibpath_var=LD_LIBRARY_PATH 10109 case $host_vendor in 10110 sni) 10111 shlibpath_overrides_runpath=no 10112 need_lib_prefix=no 10113 runpath_var=LD_RUN_PATH 10114 ;; 10115 siemens) 10116 need_lib_prefix=no 10117 ;; 10118 motorola) 10119 need_lib_prefix=no 10120 need_version=no 10121 shlibpath_overrides_runpath=no 10122 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 10123 ;; 10124 esac 10125 ;; 10126 10127sysv4*MP*) 10128 if test -d /usr/nec ;then 10129 version_type=linux 10130 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 10131 soname_spec='$libname${shared_ext}.$major' 10132 shlibpath_var=LD_LIBRARY_PATH 10133 fi 10134 ;; 10135 10136sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 10137 version_type=freebsd-elf 10138 need_lib_prefix=no 10139 need_version=no 10140 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10141 soname_spec='${libname}${release}${shared_ext}$major' 10142 shlibpath_var=LD_LIBRARY_PATH 10143 shlibpath_overrides_runpath=yes 10144 hardcode_into_libs=yes 10145 if test "$with_gnu_ld" = yes; then 10146 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 10147 else 10148 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 10149 case $host_os in 10150 sco3.2v5*) 10151 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 10152 ;; 10153 esac 10154 fi 10155 sys_lib_dlsearch_path_spec='/usr/lib' 10156 ;; 10157 10158tpf*) 10159 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 10160 version_type=linux 10161 need_lib_prefix=no 10162 need_version=no 10163 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10164 shlibpath_var=LD_LIBRARY_PATH 10165 shlibpath_overrides_runpath=no 10166 hardcode_into_libs=yes 10167 ;; 10168 10169uts4*) 10170 version_type=linux 10171 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10172 soname_spec='${libname}${release}${shared_ext}$major' 10173 shlibpath_var=LD_LIBRARY_PATH 10174 ;; 10175 10176*) 10177 dynamic_linker=no 10178 ;; 10179esac 10180{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 10181$as_echo "$dynamic_linker" >&6; } 10182test "$dynamic_linker" = no && can_build_shared=no 10183 10184variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 10185if test "$GCC" = yes; then 10186 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 10187fi 10188 10189if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 10190 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 10191fi 10192if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 10193 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 10194fi 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 10283$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 10284hardcode_action= 10285if test -n "$hardcode_libdir_flag_spec" || 10286 test -n "$runpath_var" || 10287 test "X$hardcode_automatic" = "Xyes" ; then 10288 10289 # We can hardcode non-existent directories. 10290 if test "$hardcode_direct" != no && 10291 # If the only mechanism to avoid hardcoding is shlibpath_var, we 10292 # have to relink, otherwise we might link with an installed library 10293 # when we should be linking with a yet-to-be-installed one 10294 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 10295 test "$hardcode_minus_L" != no; then 10296 # Linking always hardcodes the temporary library directory. 10297 hardcode_action=relink 10298 else 10299 # We can link without hardcoding, and we can hardcode nonexisting dirs. 10300 hardcode_action=immediate 10301 fi 10302else 10303 # We cannot hardcode anything, or else we can only hardcode existing 10304 # directories. 10305 hardcode_action=unsupported 10306fi 10307{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 10308$as_echo "$hardcode_action" >&6; } 10309 10310if test "$hardcode_action" = relink || 10311 test "$inherit_rpath" = yes; then 10312 # Fast installation is not supported 10313 enable_fast_install=no 10314elif test "$shlibpath_overrides_runpath" = yes || 10315 test "$enable_shared" = no; then 10316 # Fast installation is not necessary 10317 enable_fast_install=needless 10318fi 10319 10320 10321 10322 10323 10324 10325 if test "x$enable_dlopen" != xyes; then 10326 enable_dlopen=unknown 10327 enable_dlopen_self=unknown 10328 enable_dlopen_self_static=unknown 10329else 10330 lt_cv_dlopen=no 10331 lt_cv_dlopen_libs= 10332 10333 case $host_os in 10334 beos*) 10335 lt_cv_dlopen="load_add_on" 10336 lt_cv_dlopen_libs= 10337 lt_cv_dlopen_self=yes 10338 ;; 10339 10340 mingw* | pw32* | cegcc*) 10341 lt_cv_dlopen="LoadLibrary" 10342 lt_cv_dlopen_libs= 10343 ;; 10344 10345 cygwin*) 10346 lt_cv_dlopen="dlopen" 10347 lt_cv_dlopen_libs= 10348 ;; 10349 10350 darwin*) 10351 # if libdl is installed we need to link against it 10352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10353$as_echo_n "checking for dlopen in -ldl... " >&6; } 10354if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 10355 $as_echo_n "(cached) " >&6 10356else 10357 ac_check_lib_save_LIBS=$LIBS 10358LIBS="-ldl $LIBS" 10359cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10360/* end confdefs.h. */ 10361 10362/* Override any GCC internal prototype to avoid an error. 10363 Use char because int might match the return type of a GCC 10364 builtin and then its argument prototype would still apply. */ 10365#ifdef __cplusplus 10366extern "C" 10367#endif 10368char dlopen (); 10369int 10370main () 10371{ 10372return dlopen (); 10373 ; 10374 return 0; 10375} 10376_ACEOF 10377if ac_fn_c_try_link "$LINENO"; then : 10378 ac_cv_lib_dl_dlopen=yes 10379else 10380 ac_cv_lib_dl_dlopen=no 10381fi 10382rm -f core conftest.err conftest.$ac_objext \ 10383 conftest$ac_exeext conftest.$ac_ext 10384LIBS=$ac_check_lib_save_LIBS 10385fi 10386{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10387$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10388if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 10389 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10390else 10391 10392 lt_cv_dlopen="dyld" 10393 lt_cv_dlopen_libs= 10394 lt_cv_dlopen_self=yes 10395 10396fi 10397 10398 ;; 10399 10400 *) 10401 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 10402if test "x$ac_cv_func_shl_load" = x""yes; then : 10403 lt_cv_dlopen="shl_load" 10404else 10405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 10406$as_echo_n "checking for shl_load in -ldld... " >&6; } 10407if test "${ac_cv_lib_dld_shl_load+set}" = set; then : 10408 $as_echo_n "(cached) " >&6 10409else 10410 ac_check_lib_save_LIBS=$LIBS 10411LIBS="-ldld $LIBS" 10412cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10413/* end confdefs.h. */ 10414 10415/* Override any GCC internal prototype to avoid an error. 10416 Use char because int might match the return type of a GCC 10417 builtin and then its argument prototype would still apply. */ 10418#ifdef __cplusplus 10419extern "C" 10420#endif 10421char shl_load (); 10422int 10423main () 10424{ 10425return shl_load (); 10426 ; 10427 return 0; 10428} 10429_ACEOF 10430if ac_fn_c_try_link "$LINENO"; then : 10431 ac_cv_lib_dld_shl_load=yes 10432else 10433 ac_cv_lib_dld_shl_load=no 10434fi 10435rm -f core conftest.err conftest.$ac_objext \ 10436 conftest$ac_exeext conftest.$ac_ext 10437LIBS=$ac_check_lib_save_LIBS 10438fi 10439{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 10440$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 10441if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : 10442 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 10443else 10444 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 10445if test "x$ac_cv_func_dlopen" = x""yes; then : 10446 lt_cv_dlopen="dlopen" 10447else 10448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10449$as_echo_n "checking for dlopen in -ldl... " >&6; } 10450if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 10451 $as_echo_n "(cached) " >&6 10452else 10453 ac_check_lib_save_LIBS=$LIBS 10454LIBS="-ldl $LIBS" 10455cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10456/* end confdefs.h. */ 10457 10458/* Override any GCC internal prototype to avoid an error. 10459 Use char because int might match the return type of a GCC 10460 builtin and then its argument prototype would still apply. */ 10461#ifdef __cplusplus 10462extern "C" 10463#endif 10464char dlopen (); 10465int 10466main () 10467{ 10468return dlopen (); 10469 ; 10470 return 0; 10471} 10472_ACEOF 10473if ac_fn_c_try_link "$LINENO"; then : 10474 ac_cv_lib_dl_dlopen=yes 10475else 10476 ac_cv_lib_dl_dlopen=no 10477fi 10478rm -f core conftest.err conftest.$ac_objext \ 10479 conftest$ac_exeext conftest.$ac_ext 10480LIBS=$ac_check_lib_save_LIBS 10481fi 10482{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10483$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10484if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 10485 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10486else 10487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 10488$as_echo_n "checking for dlopen in -lsvld... " >&6; } 10489if test "${ac_cv_lib_svld_dlopen+set}" = set; then : 10490 $as_echo_n "(cached) " >&6 10491else 10492 ac_check_lib_save_LIBS=$LIBS 10493LIBS="-lsvld $LIBS" 10494cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10495/* end confdefs.h. */ 10496 10497/* Override any GCC internal prototype to avoid an error. 10498 Use char because int might match the return type of a GCC 10499 builtin and then its argument prototype would still apply. */ 10500#ifdef __cplusplus 10501extern "C" 10502#endif 10503char dlopen (); 10504int 10505main () 10506{ 10507return dlopen (); 10508 ; 10509 return 0; 10510} 10511_ACEOF 10512if ac_fn_c_try_link "$LINENO"; then : 10513 ac_cv_lib_svld_dlopen=yes 10514else 10515 ac_cv_lib_svld_dlopen=no 10516fi 10517rm -f core conftest.err conftest.$ac_objext \ 10518 conftest$ac_exeext conftest.$ac_ext 10519LIBS=$ac_check_lib_save_LIBS 10520fi 10521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 10522$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 10523if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : 10524 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 10525else 10526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 10527$as_echo_n "checking for dld_link in -ldld... " >&6; } 10528if test "${ac_cv_lib_dld_dld_link+set}" = set; then : 10529 $as_echo_n "(cached) " >&6 10530else 10531 ac_check_lib_save_LIBS=$LIBS 10532LIBS="-ldld $LIBS" 10533cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10534/* end confdefs.h. */ 10535 10536/* Override any GCC internal prototype to avoid an error. 10537 Use char because int might match the return type of a GCC 10538 builtin and then its argument prototype would still apply. */ 10539#ifdef __cplusplus 10540extern "C" 10541#endif 10542char dld_link (); 10543int 10544main () 10545{ 10546return dld_link (); 10547 ; 10548 return 0; 10549} 10550_ACEOF 10551if ac_fn_c_try_link "$LINENO"; then : 10552 ac_cv_lib_dld_dld_link=yes 10553else 10554 ac_cv_lib_dld_dld_link=no 10555fi 10556rm -f core conftest.err conftest.$ac_objext \ 10557 conftest$ac_exeext conftest.$ac_ext 10558LIBS=$ac_check_lib_save_LIBS 10559fi 10560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 10561$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 10562if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : 10563 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 10564fi 10565 10566 10567fi 10568 10569 10570fi 10571 10572 10573fi 10574 10575 10576fi 10577 10578 10579fi 10580 10581 ;; 10582 esac 10583 10584 if test "x$lt_cv_dlopen" != xno; then 10585 enable_dlopen=yes 10586 else 10587 enable_dlopen=no 10588 fi 10589 10590 case $lt_cv_dlopen in 10591 dlopen) 10592 save_CPPFLAGS="$CPPFLAGS" 10593 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 10594 10595 save_LDFLAGS="$LDFLAGS" 10596 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 10597 10598 save_LIBS="$LIBS" 10599 LIBS="$lt_cv_dlopen_libs $LIBS" 10600 10601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 10602$as_echo_n "checking whether a program can dlopen itself... " >&6; } 10603if test "${lt_cv_dlopen_self+set}" = set; then : 10604 $as_echo_n "(cached) " >&6 10605else 10606 if test "$cross_compiling" = yes; then : 10607 lt_cv_dlopen_self=cross 10608else 10609 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10610 lt_status=$lt_dlunknown 10611 cat > conftest.$ac_ext <<_LT_EOF 10612#line 10612 "configure" 10613#include "confdefs.h" 10614 10615#if HAVE_DLFCN_H 10616#include <dlfcn.h> 10617#endif 10618 10619#include <stdio.h> 10620 10621#ifdef RTLD_GLOBAL 10622# define LT_DLGLOBAL RTLD_GLOBAL 10623#else 10624# ifdef DL_GLOBAL 10625# define LT_DLGLOBAL DL_GLOBAL 10626# else 10627# define LT_DLGLOBAL 0 10628# endif 10629#endif 10630 10631/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 10632 find out it does not work in some platform. */ 10633#ifndef LT_DLLAZY_OR_NOW 10634# ifdef RTLD_LAZY 10635# define LT_DLLAZY_OR_NOW RTLD_LAZY 10636# else 10637# ifdef DL_LAZY 10638# define LT_DLLAZY_OR_NOW DL_LAZY 10639# else 10640# ifdef RTLD_NOW 10641# define LT_DLLAZY_OR_NOW RTLD_NOW 10642# else 10643# ifdef DL_NOW 10644# define LT_DLLAZY_OR_NOW DL_NOW 10645# else 10646# define LT_DLLAZY_OR_NOW 0 10647# endif 10648# endif 10649# endif 10650# endif 10651#endif 10652 10653void fnord() { int i=42;} 10654int main () 10655{ 10656 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 10657 int status = $lt_dlunknown; 10658 10659 if (self) 10660 { 10661 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 10662 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 10663 /* dlclose (self); */ 10664 } 10665 else 10666 puts (dlerror ()); 10667 10668 return status; 10669} 10670_LT_EOF 10671 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 10672 (eval $ac_link) 2>&5 10673 ac_status=$? 10674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10675 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 10676 (./conftest; exit; ) >&5 2>/dev/null 10677 lt_status=$? 10678 case x$lt_status in 10679 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 10680 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 10681 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 10682 esac 10683 else : 10684 # compilation failed 10685 lt_cv_dlopen_self=no 10686 fi 10687fi 10688rm -fr conftest* 10689 10690 10691fi 10692{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 10693$as_echo "$lt_cv_dlopen_self" >&6; } 10694 10695 if test "x$lt_cv_dlopen_self" = xyes; then 10696 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 10697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 10698$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 10699if test "${lt_cv_dlopen_self_static+set}" = set; then : 10700 $as_echo_n "(cached) " >&6 10701else 10702 if test "$cross_compiling" = yes; then : 10703 lt_cv_dlopen_self_static=cross 10704else 10705 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10706 lt_status=$lt_dlunknown 10707 cat > conftest.$ac_ext <<_LT_EOF 10708#line 10708 "configure" 10709#include "confdefs.h" 10710 10711#if HAVE_DLFCN_H 10712#include <dlfcn.h> 10713#endif 10714 10715#include <stdio.h> 10716 10717#ifdef RTLD_GLOBAL 10718# define LT_DLGLOBAL RTLD_GLOBAL 10719#else 10720# ifdef DL_GLOBAL 10721# define LT_DLGLOBAL DL_GLOBAL 10722# else 10723# define LT_DLGLOBAL 0 10724# endif 10725#endif 10726 10727/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 10728 find out it does not work in some platform. */ 10729#ifndef LT_DLLAZY_OR_NOW 10730# ifdef RTLD_LAZY 10731# define LT_DLLAZY_OR_NOW RTLD_LAZY 10732# else 10733# ifdef DL_LAZY 10734# define LT_DLLAZY_OR_NOW DL_LAZY 10735# else 10736# ifdef RTLD_NOW 10737# define LT_DLLAZY_OR_NOW RTLD_NOW 10738# else 10739# ifdef DL_NOW 10740# define LT_DLLAZY_OR_NOW DL_NOW 10741# else 10742# define LT_DLLAZY_OR_NOW 0 10743# endif 10744# endif 10745# endif 10746# endif 10747#endif 10748 10749void fnord() { int i=42;} 10750int main () 10751{ 10752 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 10753 int status = $lt_dlunknown; 10754 10755 if (self) 10756 { 10757 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 10758 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 10759 /* dlclose (self); */ 10760 } 10761 else 10762 puts (dlerror ()); 10763 10764 return status; 10765} 10766_LT_EOF 10767 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 10768 (eval $ac_link) 2>&5 10769 ac_status=$? 10770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10771 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 10772 (./conftest; exit; ) >&5 2>/dev/null 10773 lt_status=$? 10774 case x$lt_status in 10775 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 10776 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 10777 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 10778 esac 10779 else : 10780 # compilation failed 10781 lt_cv_dlopen_self_static=no 10782 fi 10783fi 10784rm -fr conftest* 10785 10786 10787fi 10788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 10789$as_echo "$lt_cv_dlopen_self_static" >&6; } 10790 fi 10791 10792 CPPFLAGS="$save_CPPFLAGS" 10793 LDFLAGS="$save_LDFLAGS" 10794 LIBS="$save_LIBS" 10795 ;; 10796 esac 10797 10798 case $lt_cv_dlopen_self in 10799 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 10800 *) enable_dlopen_self=unknown ;; 10801 esac 10802 10803 case $lt_cv_dlopen_self_static in 10804 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 10805 *) enable_dlopen_self_static=unknown ;; 10806 esac 10807fi 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825striplib= 10826old_striplib= 10827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 10828$as_echo_n "checking whether stripping libraries is possible... " >&6; } 10829if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 10830 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 10831 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 10832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10833$as_echo "yes" >&6; } 10834else 10835# FIXME - insert some real tests, host_os isn't really good enough 10836 case $host_os in 10837 darwin*) 10838 if test -n "$STRIP" ; then 10839 striplib="$STRIP -x" 10840 old_striplib="$STRIP -S" 10841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10842$as_echo "yes" >&6; } 10843 else 10844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10845$as_echo "no" >&6; } 10846 fi 10847 ;; 10848 *) 10849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10850$as_echo "no" >&6; } 10851 ;; 10852 esac 10853fi 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 # Report which library types will actually be built 10867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 10868$as_echo_n "checking if libtool supports shared libraries... " >&6; } 10869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 10870$as_echo "$can_build_shared" >&6; } 10871 10872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 10873$as_echo_n "checking whether to build shared libraries... " >&6; } 10874 test "$can_build_shared" = "no" && enable_shared=no 10875 10876 # On AIX, shared libraries and static libraries use the same namespace, and 10877 # are all built from PIC. 10878 case $host_os in 10879 aix3*) 10880 test "$enable_shared" = yes && enable_static=no 10881 if test -n "$RANLIB"; then 10882 archive_cmds="$archive_cmds~\$RANLIB \$lib" 10883 postinstall_cmds='$RANLIB $lib' 10884 fi 10885 ;; 10886 10887 aix[4-9]*) 10888 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 10889 test "$enable_shared" = yes && enable_static=no 10890 fi 10891 ;; 10892 esac 10893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 10894$as_echo "$enable_shared" >&6; } 10895 10896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 10897$as_echo_n "checking whether to build static libraries... " >&6; } 10898 # Make sure either enable_shared or enable_static is yes. 10899 test "$enable_shared" = yes || enable_static=yes 10900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 10901$as_echo "$enable_static" >&6; } 10902 10903 10904 10905 10906fi 10907ac_ext=c 10908ac_cpp='$CPP $CPPFLAGS' 10909ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 10910ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 10911ac_compiler_gnu=$ac_cv_c_compiler_gnu 10912 10913CC="$lt_save_CC" 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 ac_config_commands="$ac_config_commands libtool" 10928 10929 10930 10931 10932# Only expand once: 10933 10934 10935 10936{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 10937$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 10938 # Check whether --enable-maintainer-mode was given. 10939if test "${enable_maintainer_mode+set}" = set; then : 10940 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 10941else 10942 USE_MAINTAINER_MODE=no 10943fi 10944 10945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 10946$as_echo "$USE_MAINTAINER_MODE" >&6; } 10947 if test $USE_MAINTAINER_MODE = yes; then 10948 MAINTAINER_MODE_TRUE= 10949 MAINTAINER_MODE_FALSE='#' 10950else 10951 MAINTAINER_MODE_TRUE='#' 10952 MAINTAINER_MODE_FALSE= 10953fi 10954 10955 MAINT=$MAINTAINER_MODE_TRUE 10956 10957 10958 10959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for aclocal flags" >&5 10960$as_echo_n "checking for aclocal flags... " >&6; } 10961if test "${ac_cv_orbit_aclocal_flags+set}" = set; then : 10962 $as_echo_n "(cached) " >&6 10963else 10964 10965 ac_cv_orbit_aclocal_flags="$ACLOCAL_FLAGS" 10966 10967fi 10968{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_orbit_aclocal_flags" >&5 10969$as_echo "$ac_cv_orbit_aclocal_flags" >&6; } 10970ACLOCAL="$ACLOCAL $ac_cv_orbit_aclocal_flags" 10971 10972# Check whether --enable-http was given. 10973if test "${enable_http+set}" = set; then : 10974 enableval=$enable_http; 10975else 10976 enable_http=no 10977fi 10978 10979 if test x"$enable_http" = xyes; then 10980 ENABLE_HTTP_TRUE= 10981 ENABLE_HTTP_FALSE='#' 10982else 10983 ENABLE_HTTP_TRUE='#' 10984 ENABLE_HTTP_FALSE= 10985fi 10986 10987if test x"$enable_http" = xyes ; then 10988 10989$as_echo "#define ENABLE_HTTP 1" >>confdefs.h 10990 10991fi 10992# Check whether --enable-compile-warnings was given. 10993if test "${enable_compile_warnings+set}" = set; then : 10994 enableval=$enable_compile_warnings; enable_compile_warnings="$enableval" 10995else 10996 enable_compile_warnings="yes" 10997fi 10998 10999 11000# Check whether --enable-debug was given. 11001if test "${enable_debug+set}" = set; then : 11002 enableval=$enable_debug; 11003else 11004 enable_debug=minimum 11005fi 11006 11007if test "x$enable_debug" = "xyes"; then 11008 ORBIT_DEBUG_CFLAGS="-ggdb -O0 -DG_ENABLE_DEBUG" 11009else 11010 if test "x$enable_debug" = "xno"; then 11011 ORBIT_DEBUG_CFLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS" 11012 else 11013 ORBIT_DEBUG_CFLAGS="" 11014 fi 11015fi 11016 11017# Check whether --enable-purify was given. 11018if test "${enable_purify+set}" = set; then : 11019 enableval=$enable_purify; enable_purify=yes 11020else 11021 enable_purify=no 11022fi 11023 11024if test z$enable_purify = zyes; then 11025 11026$as_echo "#define ORBIT_PURIFY 1" >>confdefs.h 11027 11028fi 11029 11030{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which idl compiler to use" >&5 11031$as_echo_n "checking which idl compiler to use... " >&6; } 11032IDL_COMPILER="\$(top_builddir)/src/idl-compiler/orbit-idl-2\$(EXEEXT)" 11033 11034# Check whether --with-idl-compiler was given. 11035if test "${with_idl_compiler+set}" = set; then : 11036 withval=$with_idl_compiler; if test "x$withval" != x; then 11037 if test -f "$withval"; then 11038 IDL_COMPILER=$withval 11039 fi 11040 fi 11041 11042fi 11043 11044if test x$IDL_COMPILER == x"\$(top_builddir)/src/idl-compiler/orbit-idl-2\$(EXEEXT)"; then 11045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5 11046$as_echo "internal" >&6; } 11047else 11048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: external ($IDL_COMPILER)" >&5 11049$as_echo "external ($IDL_COMPILER)" >&6; } 11050fi 11051 11052 11053for ac_prog in gawk mawk nawk awk 11054do 11055 # Extract the first word of "$ac_prog", so it can be a program name with args. 11056set dummy $ac_prog; ac_word=$2 11057{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11058$as_echo_n "checking for $ac_word... " >&6; } 11059if test "${ac_cv_prog_AWK+set}" = set; then : 11060 $as_echo_n "(cached) " >&6 11061else 11062 if test -n "$AWK"; then 11063 ac_cv_prog_AWK="$AWK" # Let the user override the test. 11064else 11065as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11066for as_dir in $PATH 11067do 11068 IFS=$as_save_IFS 11069 test -z "$as_dir" && as_dir=. 11070 for ac_exec_ext in '' $ac_executable_extensions; do 11071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11072 ac_cv_prog_AWK="$ac_prog" 11073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11074 break 2 11075 fi 11076done 11077 done 11078IFS=$as_save_IFS 11079 11080fi 11081fi 11082AWK=$ac_cv_prog_AWK 11083if test -n "$AWK"; then 11084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 11085$as_echo "$AWK" >&6; } 11086else 11087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11088$as_echo "no" >&6; } 11089fi 11090 11091 11092 test -n "$AWK" && break 11093done 11094 11095 11096GLIB_REQUIRED=2.8.0 11097LIBIDL_REQUIRED=0.8.2 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 11108 if test -n "$ac_tool_prefix"; then 11109 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 11110set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 11111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11112$as_echo_n "checking for $ac_word... " >&6; } 11113if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 11114 $as_echo_n "(cached) " >&6 11115else 11116 case $PKG_CONFIG in 11117 [\\/]* | ?:[\\/]*) 11118 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 11119 ;; 11120 *) 11121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11122for as_dir in $PATH 11123do 11124 IFS=$as_save_IFS 11125 test -z "$as_dir" && as_dir=. 11126 for ac_exec_ext in '' $ac_executable_extensions; do 11127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11128 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 11129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11130 break 2 11131 fi 11132done 11133 done 11134IFS=$as_save_IFS 11135 11136 ;; 11137esac 11138fi 11139PKG_CONFIG=$ac_cv_path_PKG_CONFIG 11140if test -n "$PKG_CONFIG"; then 11141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 11142$as_echo "$PKG_CONFIG" >&6; } 11143else 11144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11145$as_echo "no" >&6; } 11146fi 11147 11148 11149fi 11150if test -z "$ac_cv_path_PKG_CONFIG"; then 11151 ac_pt_PKG_CONFIG=$PKG_CONFIG 11152 # Extract the first word of "pkg-config", so it can be a program name with args. 11153set dummy pkg-config; ac_word=$2 11154{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11155$as_echo_n "checking for $ac_word... " >&6; } 11156if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : 11157 $as_echo_n "(cached) " >&6 11158else 11159 case $ac_pt_PKG_CONFIG in 11160 [\\/]* | ?:[\\/]*) 11161 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 11162 ;; 11163 *) 11164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11165for as_dir in $PATH 11166do 11167 IFS=$as_save_IFS 11168 test -z "$as_dir" && as_dir=. 11169 for ac_exec_ext in '' $ac_executable_extensions; do 11170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11171 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 11172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11173 break 2 11174 fi 11175done 11176 done 11177IFS=$as_save_IFS 11178 11179 ;; 11180esac 11181fi 11182ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 11183if test -n "$ac_pt_PKG_CONFIG"; then 11184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 11185$as_echo "$ac_pt_PKG_CONFIG" >&6; } 11186else 11187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11188$as_echo "no" >&6; } 11189fi 11190 11191 if test "x$ac_pt_PKG_CONFIG" = x; then 11192 PKG_CONFIG="" 11193 else 11194 case $cross_compiling:$ac_tool_warned in 11195yes:) 11196{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 11197$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 11198ac_tool_warned=yes ;; 11199esac 11200 PKG_CONFIG=$ac_pt_PKG_CONFIG 11201 fi 11202else 11203 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 11204fi 11205 11206fi 11207if test -n "$PKG_CONFIG"; then 11208 _pkg_min_version=0.18 11209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 11210$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 11211 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 11212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11213$as_echo "yes" >&6; } 11214 else 11215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11216$as_echo "no" >&6; } 11217 PKG_CONFIG="" 11218 fi 11219fi 11220 11221LOCAL_LINC_LIBS='$(top_builddir)/linc2/src/liblinc.la' 11222LOCAL_LINC_CFLAGS='-I$(top_srcdir)/linc2/include -I$(top_builddir)/linc2/include' 11223 11224 11225 11226 11227pkg_failed=no 11228{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ORBIT" >&5 11229$as_echo_n "checking for ORBIT... " >&6; } 11230 11231if test -n "$ORBIT_CFLAGS"; then 11232 pkg_cv_ORBIT_CFLAGS="$ORBIT_CFLAGS" 11233 elif test -n "$PKG_CONFIG"; then 11234 if test -n "$PKG_CONFIG" && \ 11235 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\ 11236 glib-2.0 >= \$GLIB_REQUIRED \\ 11237 gobject-2.0 >= \$GLIB_REQUIRED \\ 11238 gthread-2.0 >= \$GLIB_REQUIRED \\ 11239 gmodule-2.0 >= \$GLIB_REQUIRED\""; } >&5 11240 ($PKG_CONFIG --exists --print-errors "\ 11241 glib-2.0 >= $GLIB_REQUIRED \ 11242 gobject-2.0 >= $GLIB_REQUIRED \ 11243 gthread-2.0 >= $GLIB_REQUIRED \ 11244 gmodule-2.0 >= $GLIB_REQUIRED") 2>&5 11245 ac_status=$? 11246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11247 test $ac_status = 0; }; then 11248 pkg_cv_ORBIT_CFLAGS=`$PKG_CONFIG --cflags "\ 11249 glib-2.0 >= $GLIB_REQUIRED \ 11250 gobject-2.0 >= $GLIB_REQUIRED \ 11251 gthread-2.0 >= $GLIB_REQUIRED \ 11252 gmodule-2.0 >= $GLIB_REQUIRED" 2>/dev/null` 11253else 11254 pkg_failed=yes 11255fi 11256 else 11257 pkg_failed=untried 11258fi 11259if test -n "$ORBIT_LIBS"; then 11260 pkg_cv_ORBIT_LIBS="$ORBIT_LIBS" 11261 elif test -n "$PKG_CONFIG"; then 11262 if test -n "$PKG_CONFIG" && \ 11263 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\ 11264 glib-2.0 >= \$GLIB_REQUIRED \\ 11265 gobject-2.0 >= \$GLIB_REQUIRED \\ 11266 gthread-2.0 >= \$GLIB_REQUIRED \\ 11267 gmodule-2.0 >= \$GLIB_REQUIRED\""; } >&5 11268 ($PKG_CONFIG --exists --print-errors "\ 11269 glib-2.0 >= $GLIB_REQUIRED \ 11270 gobject-2.0 >= $GLIB_REQUIRED \ 11271 gthread-2.0 >= $GLIB_REQUIRED \ 11272 gmodule-2.0 >= $GLIB_REQUIRED") 2>&5 11273 ac_status=$? 11274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11275 test $ac_status = 0; }; then 11276 pkg_cv_ORBIT_LIBS=`$PKG_CONFIG --libs "\ 11277 glib-2.0 >= $GLIB_REQUIRED \ 11278 gobject-2.0 >= $GLIB_REQUIRED \ 11279 gthread-2.0 >= $GLIB_REQUIRED \ 11280 gmodule-2.0 >= $GLIB_REQUIRED" 2>/dev/null` 11281else 11282 pkg_failed=yes 11283fi 11284 else 11285 pkg_failed=untried 11286fi 11287 11288 11289 11290if test $pkg_failed = yes; then 11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11292$as_echo "no" >&6; } 11293 11294if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 11295 _pkg_short_errors_supported=yes 11296else 11297 _pkg_short_errors_supported=no 11298fi 11299 if test $_pkg_short_errors_supported = yes; then 11300 ORBIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\ 11301 glib-2.0 >= $GLIB_REQUIRED \ 11302 gobject-2.0 >= $GLIB_REQUIRED \ 11303 gthread-2.0 >= $GLIB_REQUIRED \ 11304 gmodule-2.0 >= $GLIB_REQUIRED" 2>&1` 11305 else 11306 ORBIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "\ 11307 glib-2.0 >= $GLIB_REQUIRED \ 11308 gobject-2.0 >= $GLIB_REQUIRED \ 11309 gthread-2.0 >= $GLIB_REQUIRED \ 11310 gmodule-2.0 >= $GLIB_REQUIRED" 2>&1` 11311 fi 11312 # Put the nasty error message in config.log where it belongs 11313 echo "$ORBIT_PKG_ERRORS" >&5 11314 11315 as_fn_error $? "Package requirements (\ 11316 glib-2.0 >= $GLIB_REQUIRED \ 11317 gobject-2.0 >= $GLIB_REQUIRED \ 11318 gthread-2.0 >= $GLIB_REQUIRED \ 11319 gmodule-2.0 >= $GLIB_REQUIRED) were not met: 11320 11321$ORBIT_PKG_ERRORS 11322 11323Consider adjusting the PKG_CONFIG_PATH environment variable if you 11324installed software in a non-standard prefix. 11325 11326Alternatively, you may set the environment variables ORBIT_CFLAGS 11327and ORBIT_LIBS to avoid the need to call pkg-config. 11328See the pkg-config man page for more details." "$LINENO" 5 11329elif test $pkg_failed = untried; then 11330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11331$as_echo "no" >&6; } 11332 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 11333$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11334as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 11335is in your PATH or set the PKG_CONFIG environment variable to the full 11336path to pkg-config. 11337 11338Alternatively, you may set the environment variables ORBIT_CFLAGS 11339and ORBIT_LIBS to avoid the need to call pkg-config. 11340See the pkg-config man page for more details. 11341 11342To get pkg-config, see <http://pkg-config.freedesktop.org/>. 11343See \`config.log' for more details" "$LINENO" 5; } 11344else 11345 ORBIT_CFLAGS=$pkg_cv_ORBIT_CFLAGS 11346 ORBIT_LIBS=$pkg_cv_ORBIT_LIBS 11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11348$as_echo "yes" >&6; } 11349 11350fi 11351 11352 11353 11354 11355pkg_failed=no 11356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ORBIT_IDL" >&5 11357$as_echo_n "checking for ORBIT_IDL... " >&6; } 11358 11359if test -n "$ORBIT_IDL_CFLAGS"; then 11360 pkg_cv_ORBIT_IDL_CFLAGS="$ORBIT_IDL_CFLAGS" 11361 elif test -n "$PKG_CONFIG"; then 11362 if test -n "$PKG_CONFIG" && \ 11363 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\ 11364 libIDL-2.0 >= \$LIBIDL_REQUIRED \\ 11365 glib-2.0 >= \$GLIB_REQUIRED \\ 11366 gobject-2.0 >= \$GLIB_REQUIRED \\ 11367 gmodule-2.0 >= \$GLIB_REQUIRED\""; } >&5 11368 ($PKG_CONFIG --exists --print-errors "\ 11369 libIDL-2.0 >= $LIBIDL_REQUIRED \ 11370 glib-2.0 >= $GLIB_REQUIRED \ 11371 gobject-2.0 >= $GLIB_REQUIRED \ 11372 gmodule-2.0 >= $GLIB_REQUIRED") 2>&5 11373 ac_status=$? 11374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11375 test $ac_status = 0; }; then 11376 pkg_cv_ORBIT_IDL_CFLAGS=`$PKG_CONFIG --cflags "\ 11377 libIDL-2.0 >= $LIBIDL_REQUIRED \ 11378 glib-2.0 >= $GLIB_REQUIRED \ 11379 gobject-2.0 >= $GLIB_REQUIRED \ 11380 gmodule-2.0 >= $GLIB_REQUIRED" 2>/dev/null` 11381else 11382 pkg_failed=yes 11383fi 11384 else 11385 pkg_failed=untried 11386fi 11387if test -n "$ORBIT_IDL_LIBS"; then 11388 pkg_cv_ORBIT_IDL_LIBS="$ORBIT_IDL_LIBS" 11389 elif test -n "$PKG_CONFIG"; then 11390 if test -n "$PKG_CONFIG" && \ 11391 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\ 11392 libIDL-2.0 >= \$LIBIDL_REQUIRED \\ 11393 glib-2.0 >= \$GLIB_REQUIRED \\ 11394 gobject-2.0 >= \$GLIB_REQUIRED \\ 11395 gmodule-2.0 >= \$GLIB_REQUIRED\""; } >&5 11396 ($PKG_CONFIG --exists --print-errors "\ 11397 libIDL-2.0 >= $LIBIDL_REQUIRED \ 11398 glib-2.0 >= $GLIB_REQUIRED \ 11399 gobject-2.0 >= $GLIB_REQUIRED \ 11400 gmodule-2.0 >= $GLIB_REQUIRED") 2>&5 11401 ac_status=$? 11402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11403 test $ac_status = 0; }; then 11404 pkg_cv_ORBIT_IDL_LIBS=`$PKG_CONFIG --libs "\ 11405 libIDL-2.0 >= $LIBIDL_REQUIRED \ 11406 glib-2.0 >= $GLIB_REQUIRED \ 11407 gobject-2.0 >= $GLIB_REQUIRED \ 11408 gmodule-2.0 >= $GLIB_REQUIRED" 2>/dev/null` 11409else 11410 pkg_failed=yes 11411fi 11412 else 11413 pkg_failed=untried 11414fi 11415 11416 11417 11418if test $pkg_failed = yes; then 11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11420$as_echo "no" >&6; } 11421 11422if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 11423 _pkg_short_errors_supported=yes 11424else 11425 _pkg_short_errors_supported=no 11426fi 11427 if test $_pkg_short_errors_supported = yes; then 11428 ORBIT_IDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\ 11429 libIDL-2.0 >= $LIBIDL_REQUIRED \ 11430 glib-2.0 >= $GLIB_REQUIRED \ 11431 gobject-2.0 >= $GLIB_REQUIRED \ 11432 gmodule-2.0 >= $GLIB_REQUIRED" 2>&1` 11433 else 11434 ORBIT_IDL_PKG_ERRORS=`$PKG_CONFIG --print-errors "\ 11435 libIDL-2.0 >= $LIBIDL_REQUIRED \ 11436 glib-2.0 >= $GLIB_REQUIRED \ 11437 gobject-2.0 >= $GLIB_REQUIRED \ 11438 gmodule-2.0 >= $GLIB_REQUIRED" 2>&1` 11439 fi 11440 # Put the nasty error message in config.log where it belongs 11441 echo "$ORBIT_IDL_PKG_ERRORS" >&5 11442 11443 as_fn_error $? "Package requirements (\ 11444 libIDL-2.0 >= $LIBIDL_REQUIRED \ 11445 glib-2.0 >= $GLIB_REQUIRED \ 11446 gobject-2.0 >= $GLIB_REQUIRED \ 11447 gmodule-2.0 >= $GLIB_REQUIRED) were not met: 11448 11449$ORBIT_IDL_PKG_ERRORS 11450 11451Consider adjusting the PKG_CONFIG_PATH environment variable if you 11452installed software in a non-standard prefix. 11453 11454Alternatively, you may set the environment variables ORBIT_IDL_CFLAGS 11455and ORBIT_IDL_LIBS to avoid the need to call pkg-config. 11456See the pkg-config man page for more details." "$LINENO" 5 11457elif test $pkg_failed = untried; then 11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11459$as_echo "no" >&6; } 11460 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 11461$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11462as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 11463is in your PATH or set the PKG_CONFIG environment variable to the full 11464path to pkg-config. 11465 11466Alternatively, you may set the environment variables ORBIT_IDL_CFLAGS 11467and ORBIT_IDL_LIBS to avoid the need to call pkg-config. 11468See the pkg-config man page for more details. 11469 11470To get pkg-config, see <http://pkg-config.freedesktop.org/>. 11471See \`config.log' for more details" "$LINENO" 5; } 11472else 11473 ORBIT_IDL_CFLAGS=$pkg_cv_ORBIT_IDL_CFLAGS 11474 ORBIT_IDL_LIBS=$pkg_cv_ORBIT_IDL_LIBS 11475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11476$as_echo "yes" >&6; } 11477 11478fi 11479 11480 11481 11482 11483pkg_failed=no 11484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ORBIT_NAME" >&5 11485$as_echo_n "checking for ORBIT_NAME... " >&6; } 11486 11487if test -n "$ORBIT_NAME_CFLAGS"; then 11488 pkg_cv_ORBIT_NAME_CFLAGS="$ORBIT_NAME_CFLAGS" 11489 elif test -n "$PKG_CONFIG"; then 11490 if test -n "$PKG_CONFIG" && \ 11491 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED \\ 11492 gobject-2.0 >= \$GLIB_REQUIRED \\ 11493 gthread-2.0 >= \$GLIB_REQUIRED \\ 11494 gmodule-2.0 >= \$GLIB_REQUIRED\""; } >&5 11495 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED \ 11496 gobject-2.0 >= $GLIB_REQUIRED \ 11497 gthread-2.0 >= $GLIB_REQUIRED \ 11498 gmodule-2.0 >= $GLIB_REQUIRED") 2>&5 11499 ac_status=$? 11500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11501 test $ac_status = 0; }; then 11502 pkg_cv_ORBIT_NAME_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED \ 11503 gobject-2.0 >= $GLIB_REQUIRED \ 11504 gthread-2.0 >= $GLIB_REQUIRED \ 11505 gmodule-2.0 >= $GLIB_REQUIRED" 2>/dev/null` 11506else 11507 pkg_failed=yes 11508fi 11509 else 11510 pkg_failed=untried 11511fi 11512if test -n "$ORBIT_NAME_LIBS"; then 11513 pkg_cv_ORBIT_NAME_LIBS="$ORBIT_NAME_LIBS" 11514 elif test -n "$PKG_CONFIG"; then 11515 if test -n "$PKG_CONFIG" && \ 11516 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED \\ 11517 gobject-2.0 >= \$GLIB_REQUIRED \\ 11518 gthread-2.0 >= \$GLIB_REQUIRED \\ 11519 gmodule-2.0 >= \$GLIB_REQUIRED\""; } >&5 11520 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED \ 11521 gobject-2.0 >= $GLIB_REQUIRED \ 11522 gthread-2.0 >= $GLIB_REQUIRED \ 11523 gmodule-2.0 >= $GLIB_REQUIRED") 2>&5 11524 ac_status=$? 11525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11526 test $ac_status = 0; }; then 11527 pkg_cv_ORBIT_NAME_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED \ 11528 gobject-2.0 >= $GLIB_REQUIRED \ 11529 gthread-2.0 >= $GLIB_REQUIRED \ 11530 gmodule-2.0 >= $GLIB_REQUIRED" 2>/dev/null` 11531else 11532 pkg_failed=yes 11533fi 11534 else 11535 pkg_failed=untried 11536fi 11537 11538 11539 11540if test $pkg_failed = yes; then 11541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11542$as_echo "no" >&6; } 11543 11544if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 11545 _pkg_short_errors_supported=yes 11546else 11547 _pkg_short_errors_supported=no 11548fi 11549 if test $_pkg_short_errors_supported = yes; then 11550 ORBIT_NAME_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= $GLIB_REQUIRED \ 11551 gobject-2.0 >= $GLIB_REQUIRED \ 11552 gthread-2.0 >= $GLIB_REQUIRED \ 11553 gmodule-2.0 >= $GLIB_REQUIRED" 2>&1` 11554 else 11555 ORBIT_NAME_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= $GLIB_REQUIRED \ 11556 gobject-2.0 >= $GLIB_REQUIRED \ 11557 gthread-2.0 >= $GLIB_REQUIRED \ 11558 gmodule-2.0 >= $GLIB_REQUIRED" 2>&1` 11559 fi 11560 # Put the nasty error message in config.log where it belongs 11561 echo "$ORBIT_NAME_PKG_ERRORS" >&5 11562 11563 as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQUIRED \ 11564 gobject-2.0 >= $GLIB_REQUIRED \ 11565 gthread-2.0 >= $GLIB_REQUIRED \ 11566 gmodule-2.0 >= $GLIB_REQUIRED) were not met: 11567 11568$ORBIT_NAME_PKG_ERRORS 11569 11570Consider adjusting the PKG_CONFIG_PATH environment variable if you 11571installed software in a non-standard prefix. 11572 11573Alternatively, you may set the environment variables ORBIT_NAME_CFLAGS 11574and ORBIT_NAME_LIBS to avoid the need to call pkg-config. 11575See the pkg-config man page for more details." "$LINENO" 5 11576elif test $pkg_failed = untried; then 11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11578$as_echo "no" >&6; } 11579 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 11580$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11581as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 11582is in your PATH or set the PKG_CONFIG environment variable to the full 11583path to pkg-config. 11584 11585Alternatively, you may set the environment variables ORBIT_NAME_CFLAGS 11586and ORBIT_NAME_LIBS to avoid the need to call pkg-config. 11587See the pkg-config man page for more details. 11588 11589To get pkg-config, see <http://pkg-config.freedesktop.org/>. 11590See \`config.log' for more details" "$LINENO" 5; } 11591else 11592 ORBIT_NAME_CFLAGS=$pkg_cv_ORBIT_NAME_CFLAGS 11593 ORBIT_NAME_LIBS=$pkg_cv_ORBIT_NAME_LIBS 11594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11595$as_echo "yes" >&6; } 11596 11597fi 11598 11599 11600 11601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 11602$as_echo_n "checking for ANSI C header files... " >&6; } 11603if test "${ac_cv_header_stdc+set}" = set; then : 11604 $as_echo_n "(cached) " >&6 11605else 11606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11607/* end confdefs.h. */ 11608#include <stdlib.h> 11609#include <stdarg.h> 11610#include <string.h> 11611#include <float.h> 11612 11613int 11614main () 11615{ 11616 11617 ; 11618 return 0; 11619} 11620_ACEOF 11621if ac_fn_c_try_compile "$LINENO"; then : 11622 ac_cv_header_stdc=yes 11623else 11624 ac_cv_header_stdc=no 11625fi 11626rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11627 11628if test $ac_cv_header_stdc = yes; then 11629 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 11630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11631/* end confdefs.h. */ 11632#include <string.h> 11633 11634_ACEOF 11635if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 11636 $EGREP "memchr" >/dev/null 2>&1; then : 11637 11638else 11639 ac_cv_header_stdc=no 11640fi 11641rm -f conftest* 11642 11643fi 11644 11645if test $ac_cv_header_stdc = yes; then 11646 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 11647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11648/* end confdefs.h. */ 11649#include <stdlib.h> 11650 11651_ACEOF 11652if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 11653 $EGREP "free" >/dev/null 2>&1; then : 11654 11655else 11656 ac_cv_header_stdc=no 11657fi 11658rm -f conftest* 11659 11660fi 11661 11662if test $ac_cv_header_stdc = yes; then 11663 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 11664 if test "$cross_compiling" = yes; then : 11665 : 11666else 11667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11668/* end confdefs.h. */ 11669#include <ctype.h> 11670#include <stdlib.h> 11671#if ((' ' & 0x0FF) == 0x020) 11672# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 11673# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 11674#else 11675# define ISLOWER(c) \ 11676 (('a' <= (c) && (c) <= 'i') \ 11677 || ('j' <= (c) && (c) <= 'r') \ 11678 || ('s' <= (c) && (c) <= 'z')) 11679# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 11680#endif 11681 11682#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 11683int 11684main () 11685{ 11686 int i; 11687 for (i = 0; i < 256; i++) 11688 if (XOR (islower (i), ISLOWER (i)) 11689 || toupper (i) != TOUPPER (i)) 11690 return 2; 11691 return 0; 11692} 11693_ACEOF 11694if ac_fn_c_try_run "$LINENO"; then : 11695 11696else 11697 ac_cv_header_stdc=no 11698fi 11699rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 11700 conftest.$ac_objext conftest.beam conftest.$ac_ext 11701fi 11702 11703fi 11704fi 11705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 11706$as_echo "$ac_cv_header_stdc" >&6; } 11707if test $ac_cv_header_stdc = yes; then 11708 11709$as_echo "#define STDC_HEADERS 1" >>confdefs.h 11710 11711fi 11712 11713for ac_header in fcntl.h unistd.h sys/endian.h endian.h machine/endian.h 11714do : 11715 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11716ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 11717if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 11718 cat >>confdefs.h <<_ACEOF 11719#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 11720_ACEOF 11721 11722fi 11723 11724done 11725 11726for ac_header in sys/machine.h sys/isa_defs.h sys/poll.h sys/select.h 11727do : 11728 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11729ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 11730if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 11731 cat >>confdefs.h <<_ACEOF 11732#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 11733_ACEOF 11734 11735fi 11736 11737done 11738 11739for ac_header in sys/time.h netinet/in.h sys/socket.h arpa/inet.h 11740do : 11741 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11742ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 11743if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 11744 cat >>confdefs.h <<_ACEOF 11745#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 11746_ACEOF 11747 11748fi 11749 11750done 11751 11752for ac_header in stddef.h wchar.h wcstr.h wctype.h machine/types.h 11753do : 11754 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11755ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 11756if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 11757 cat >>confdefs.h <<_ACEOF 11758#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 11759_ACEOF 11760 11761fi 11762 11763done 11764 11765for ac_header in sys/un.h sys/uio.h syslog.h 11766do : 11767 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11768ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 11769if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 11770 cat >>confdefs.h <<_ACEOF 11771#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 11772_ACEOF 11773 11774fi 11775 11776done 11777 11778for ac_header in sys/wait.h netdb.h 11779do : 11780 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11781ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 11782if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 11783 cat >>confdefs.h <<_ACEOF 11784#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 11785_ACEOF 11786 11787fi 11788 11789done 11790 11791for ac_header in utime.h sys/utime.h 11792do : 11793 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11794ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 11795if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 11796 cat >>confdefs.h <<_ACEOF 11797#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 11798_ACEOF 11799 11800fi 11801 11802done 11803 11804for ac_header in linux/socket.h 11805do : 11806 ac_fn_c_check_header_mongrel "$LINENO" "linux/socket.h" "ac_cv_header_linux_socket_h" "$ac_includes_default" 11807if test "x$ac_cv_header_linux_socket_h" = x""yes; then : 11808 cat >>confdefs.h <<_ACEOF 11809#define HAVE_LINUX_SOCKET_H 1 11810_ACEOF 11811 11812fi 11813 11814done 11815 11816for ac_header in sys/sockio.h 11817do : 11818 ac_fn_c_check_header_mongrel "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default" 11819if test "x$ac_cv_header_sys_sockio_h" = x""yes; then : 11820 cat >>confdefs.h <<_ACEOF 11821#define HAVE_SYS_SOCKIO_H 1 11822_ACEOF 11823 11824fi 11825 11826done 11827 11828 11829if test "$os_win32" = "yes"; then 11830 for ac_header in winsock2.h 11831do : 11832 ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" 11833if test "x$ac_cv_header_winsock2_h" = x""yes; then : 11834 cat >>confdefs.h <<_ACEOF 11835#define HAVE_WINSOCK2_H 1 11836_ACEOF 11837 11838fi 11839 11840done 11841 11842 if test $ac_cv_header_winsock2_h = yes; then 11843 LIBS="-lws2_32 $LIBS" 11844 fi 11845fi 11846 11847{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 11848$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 11849if test "${ac_cv_c_const+set}" = set; then : 11850 $as_echo_n "(cached) " >&6 11851else 11852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11853/* end confdefs.h. */ 11854 11855int 11856main () 11857{ 11858/* FIXME: Include the comments suggested by Paul. */ 11859#ifndef __cplusplus 11860 /* Ultrix mips cc rejects this. */ 11861 typedef int charset[2]; 11862 const charset cs; 11863 /* SunOS 4.1.1 cc rejects this. */ 11864 char const *const *pcpcc; 11865 char **ppc; 11866 /* NEC SVR4.0.2 mips cc rejects this. */ 11867 struct point {int x, y;}; 11868 static struct point const zero = {0,0}; 11869 /* AIX XL C 1.02.0.0 rejects this. 11870 It does not let you subtract one const X* pointer from another in 11871 an arm of an if-expression whose if-part is not a constant 11872 expression */ 11873 const char *g = "string"; 11874 pcpcc = &g + (g ? g-g : 0); 11875 /* HPUX 7.0 cc rejects these. */ 11876 ++pcpcc; 11877 ppc = (char**) pcpcc; 11878 pcpcc = (char const *const *) ppc; 11879 { /* SCO 3.2v4 cc rejects this. */ 11880 char *t; 11881 char const *s = 0 ? (char *) 0 : (char const *) 0; 11882 11883 *t++ = 0; 11884 if (s) return 0; 11885 } 11886 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 11887 int x[] = {25, 17}; 11888 const int *foo = &x[0]; 11889 ++foo; 11890 } 11891 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 11892 typedef const int *iptr; 11893 iptr p = 0; 11894 ++p; 11895 } 11896 { /* AIX XL C 1.02.0.0 rejects this saying 11897 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 11898 struct s { int j; const int *ap[3]; }; 11899 struct s *b; b->j = 5; 11900 } 11901 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 11902 const int foo = 10; 11903 if (!foo) return 0; 11904 } 11905 return !cs[0] && !zero.x; 11906#endif 11907 11908 ; 11909 return 0; 11910} 11911_ACEOF 11912if ac_fn_c_try_compile "$LINENO"; then : 11913 ac_cv_c_const=yes 11914else 11915 ac_cv_c_const=no 11916fi 11917rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11918fi 11919{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 11920$as_echo "$ac_cv_c_const" >&6; } 11921if test $ac_cv_c_const = no; then 11922 11923$as_echo "#define const /**/" >>confdefs.h 11924 11925fi 11926 11927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 11928$as_echo_n "checking for inline... " >&6; } 11929if test "${ac_cv_c_inline+set}" = set; then : 11930 $as_echo_n "(cached) " >&6 11931else 11932 ac_cv_c_inline=no 11933for ac_kw in inline __inline__ __inline; do 11934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11935/* end confdefs.h. */ 11936#ifndef __cplusplus 11937typedef int foo_t; 11938static $ac_kw foo_t static_foo () {return 0; } 11939$ac_kw foo_t foo () {return 0; } 11940#endif 11941 11942_ACEOF 11943if ac_fn_c_try_compile "$LINENO"; then : 11944 ac_cv_c_inline=$ac_kw 11945fi 11946rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11947 test "$ac_cv_c_inline" != no && break 11948done 11949 11950fi 11951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 11952$as_echo "$ac_cv_c_inline" >&6; } 11953 11954case $ac_cv_c_inline in 11955 inline | yes) ;; 11956 *) 11957 case $ac_cv_c_inline in 11958 no) ac_val=;; 11959 *) ac_val=$ac_cv_c_inline;; 11960 esac 11961 cat >>confdefs.h <<_ACEOF 11962#ifndef __cplusplus 11963#define inline $ac_val 11964#endif 11965_ACEOF 11966 ;; 11967esac 11968 11969ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 11970if test "x$ac_cv_type_size_t" = x""yes; then : 11971 11972else 11973 11974cat >>confdefs.h <<_ACEOF 11975#define size_t unsigned int 11976_ACEOF 11977 11978fi 11979 11980 11981for ac_func in vprintf 11982do : 11983 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" 11984if test "x$ac_cv_func_vprintf" = x""yes; then : 11985 cat >>confdefs.h <<_ACEOF 11986#define HAVE_VPRINTF 1 11987_ACEOF 11988 11989ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" 11990if test "x$ac_cv_func__doprnt" = x""yes; then : 11991 11992$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h 11993 11994fi 11995 11996fi 11997done 11998 11999 12000 12001ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" 12002if test "x$ac_cv_func_socket" = x""yes; then : 12003 12004else 12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5 12006$as_echo_n "checking for socket in -lsocket... " >&6; } 12007if test "${ac_cv_lib_socket_socket+set}" = set; then : 12008 $as_echo_n "(cached) " >&6 12009else 12010 ac_check_lib_save_LIBS=$LIBS 12011LIBS="-lsocket $LIBS" 12012cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12013/* end confdefs.h. */ 12014 12015/* Override any GCC internal prototype to avoid an error. 12016 Use char because int might match the return type of a GCC 12017 builtin and then its argument prototype would still apply. */ 12018#ifdef __cplusplus 12019extern "C" 12020#endif 12021char socket (); 12022int 12023main () 12024{ 12025return socket (); 12026 ; 12027 return 0; 12028} 12029_ACEOF 12030if ac_fn_c_try_link "$LINENO"; then : 12031 ac_cv_lib_socket_socket=yes 12032else 12033 ac_cv_lib_socket_socket=no 12034fi 12035rm -f core conftest.err conftest.$ac_objext \ 12036 conftest$ac_exeext conftest.$ac_ext 12037LIBS=$ac_check_lib_save_LIBS 12038fi 12039{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5 12040$as_echo "$ac_cv_lib_socket_socket" >&6; } 12041if test "x$ac_cv_lib_socket_socket" = x""yes; then : 12042 cat >>confdefs.h <<_ACEOF 12043#define HAVE_LIBSOCKET 1 12044_ACEOF 12045 12046 LIBS="-lsocket $LIBS" 12047 12048fi 12049 12050fi 12051 12052ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" 12053if test "x$ac_cv_func_gethostbyname" = x""yes; then : 12054 12055else 12056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 12057$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } 12058if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then : 12059 $as_echo_n "(cached) " >&6 12060else 12061 ac_check_lib_save_LIBS=$LIBS 12062LIBS="-lnsl $LIBS" 12063cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12064/* end confdefs.h. */ 12065 12066/* Override any GCC internal prototype to avoid an error. 12067 Use char because int might match the return type of a GCC 12068 builtin and then its argument prototype would still apply. */ 12069#ifdef __cplusplus 12070extern "C" 12071#endif 12072char gethostbyname (); 12073int 12074main () 12075{ 12076return gethostbyname (); 12077 ; 12078 return 0; 12079} 12080_ACEOF 12081if ac_fn_c_try_link "$LINENO"; then : 12082 ac_cv_lib_nsl_gethostbyname=yes 12083else 12084 ac_cv_lib_nsl_gethostbyname=no 12085fi 12086rm -f core conftest.err conftest.$ac_objext \ 12087 conftest$ac_exeext conftest.$ac_ext 12088LIBS=$ac_check_lib_save_LIBS 12089fi 12090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 12091$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } 12092if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then : 12093 cat >>confdefs.h <<_ACEOF 12094#define HAVE_LIBNSL 1 12095_ACEOF 12096 12097 LIBS="-lnsl $LIBS" 12098 12099fi 12100 12101fi 12102 12103ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction" 12104if test "x$ac_cv_func_sigaction" = x""yes; then : 12105 12106fi 12107 12108ac_fn_c_check_func "$LINENO" "syslog" "ac_cv_func_syslog" 12109if test "x$ac_cv_func_syslog" = x""yes; then : 12110 12111fi 12112 12113 12114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 12115$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 12116if test "${ac_cv_c_bigendian+set}" = set; then : 12117 $as_echo_n "(cached) " >&6 12118else 12119 ac_cv_c_bigendian=unknown 12120 # See if we're dealing with a universal compiler. 12121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12122/* end confdefs.h. */ 12123#ifndef __APPLE_CC__ 12124 not a universal capable compiler 12125 #endif 12126 typedef int dummy; 12127 12128_ACEOF 12129if ac_fn_c_try_compile "$LINENO"; then : 12130 12131 # Check for potential -arch flags. It is not universal unless 12132 # there are at least two -arch flags with different values. 12133 ac_arch= 12134 ac_prev= 12135 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 12136 if test -n "$ac_prev"; then 12137 case $ac_word in 12138 i?86 | x86_64 | ppc | ppc64) 12139 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 12140 ac_arch=$ac_word 12141 else 12142 ac_cv_c_bigendian=universal 12143 break 12144 fi 12145 ;; 12146 esac 12147 ac_prev= 12148 elif test "x$ac_word" = "x-arch"; then 12149 ac_prev=arch 12150 fi 12151 done 12152fi 12153rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12154 if test $ac_cv_c_bigendian = unknown; then 12155 # See if sys/param.h defines the BYTE_ORDER macro. 12156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12157/* end confdefs.h. */ 12158#include <sys/types.h> 12159 #include <sys/param.h> 12160 12161int 12162main () 12163{ 12164#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 12165 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 12166 && LITTLE_ENDIAN) 12167 bogus endian macros 12168 #endif 12169 12170 ; 12171 return 0; 12172} 12173_ACEOF 12174if ac_fn_c_try_compile "$LINENO"; then : 12175 # It does; now see whether it defined to BIG_ENDIAN or not. 12176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12177/* end confdefs.h. */ 12178#include <sys/types.h> 12179 #include <sys/param.h> 12180 12181int 12182main () 12183{ 12184#if BYTE_ORDER != BIG_ENDIAN 12185 not big endian 12186 #endif 12187 12188 ; 12189 return 0; 12190} 12191_ACEOF 12192if ac_fn_c_try_compile "$LINENO"; then : 12193 ac_cv_c_bigendian=yes 12194else 12195 ac_cv_c_bigendian=no 12196fi 12197rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12198fi 12199rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12200 fi 12201 if test $ac_cv_c_bigendian = unknown; then 12202 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 12203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12204/* end confdefs.h. */ 12205#include <limits.h> 12206 12207int 12208main () 12209{ 12210#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 12211 bogus endian macros 12212 #endif 12213 12214 ; 12215 return 0; 12216} 12217_ACEOF 12218if ac_fn_c_try_compile "$LINENO"; then : 12219 # It does; now see whether it defined to _BIG_ENDIAN or not. 12220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12221/* end confdefs.h. */ 12222#include <limits.h> 12223 12224int 12225main () 12226{ 12227#ifndef _BIG_ENDIAN 12228 not big endian 12229 #endif 12230 12231 ; 12232 return 0; 12233} 12234_ACEOF 12235if ac_fn_c_try_compile "$LINENO"; then : 12236 ac_cv_c_bigendian=yes 12237else 12238 ac_cv_c_bigendian=no 12239fi 12240rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12241fi 12242rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12243 fi 12244 if test $ac_cv_c_bigendian = unknown; then 12245 # Compile a test program. 12246 if test "$cross_compiling" = yes; then : 12247 # Try to guess by grepping values from an object file. 12248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12249/* end confdefs.h. */ 12250short int ascii_mm[] = 12251 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 12252 short int ascii_ii[] = 12253 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 12254 int use_ascii (int i) { 12255 return ascii_mm[i] + ascii_ii[i]; 12256 } 12257 short int ebcdic_ii[] = 12258 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 12259 short int ebcdic_mm[] = 12260 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 12261 int use_ebcdic (int i) { 12262 return ebcdic_mm[i] + ebcdic_ii[i]; 12263 } 12264 extern int foo; 12265 12266int 12267main () 12268{ 12269return use_ascii (foo) == use_ebcdic (foo); 12270 ; 12271 return 0; 12272} 12273_ACEOF 12274if ac_fn_c_try_compile "$LINENO"; then : 12275 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 12276 ac_cv_c_bigendian=yes 12277 fi 12278 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 12279 if test "$ac_cv_c_bigendian" = unknown; then 12280 ac_cv_c_bigendian=no 12281 else 12282 # finding both strings is unlikely to happen, but who knows? 12283 ac_cv_c_bigendian=unknown 12284 fi 12285 fi 12286fi 12287rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12288else 12289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12290/* end confdefs.h. */ 12291$ac_includes_default 12292int 12293main () 12294{ 12295 12296 /* Are we little or big endian? From Harbison&Steele. */ 12297 union 12298 { 12299 long int l; 12300 char c[sizeof (long int)]; 12301 } u; 12302 u.l = 1; 12303 return u.c[sizeof (long int) - 1] == 1; 12304 12305 ; 12306 return 0; 12307} 12308_ACEOF 12309if ac_fn_c_try_run "$LINENO"; then : 12310 ac_cv_c_bigendian=no 12311else 12312 ac_cv_c_bigendian=yes 12313fi 12314rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12315 conftest.$ac_objext conftest.beam conftest.$ac_ext 12316fi 12317 12318 fi 12319fi 12320{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 12321$as_echo "$ac_cv_c_bigendian" >&6; } 12322 case $ac_cv_c_bigendian in #( 12323 yes) 12324 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 12325;; #( 12326 no) 12327 ;; #( 12328 universal) 12329 12330$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 12331 12332 ;; #( 12333 *) 12334 as_fn_error $? "unknown endianness 12335 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 12336 esac 12337 12338 12339 12340dofus_save_libs="$LIBS" 12341LIBS="$ORBIT_LIBS $LIBS" 12342if test "$cross_compiling" = yes; then : 12343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not check for borked linking while cross-compiling" >&5 12344$as_echo "$as_me: WARNING: Could not check for borked linking while cross-compiling" >&2;} 12345else 12346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12347/* end confdefs.h. */ 12348 #include <stdio.h> 12349 main () 12350 { 12351 return 0; 12352 } 12353_ACEOF 12354if ac_fn_c_try_run "$LINENO"; then : 12355 12356else 12357 as_fn_error $? " 12358Linking is badly borked on your system. Please ensure your library path is correct 12359Check config.log for details - check near the end of the log above 'failed program was' 12360Alternatively ensure that your /etc/ld.so.conf (and/or LD_LIBRARY_PATH) includes the 12361prefix you're compiling on: '${prefix}' " "$LINENO" 5 12362fi 12363rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12364 conftest.$ac_objext conftest.beam conftest.$ac_ext 12365fi 12366 12367LIBS="$dofus_save_libs" 12368 12369orig_CPPFLAGS=$CPPFLAGS 12370CPPFLAGS="$CPPFLAGS $ORBIT_CFLAGS" 12371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of CORBA_octet" >&5 12372$as_echo_n "checking alignment of CORBA_octet... " >&6; } 12373 align_save_libs="$LIBS" 12374 LIBS="$ORBIT_LIBS $LIBS" 12375 if test "${ac_cv_alignof_CORBA_octet+set}" = set; then : 12376 $as_echo_n "(cached) " >&6 12377else 12378 if test "$cross_compiling" = yes; then : 12379 ac_cv_alignof_CORBA_octet=0 12380else 12381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12382/* end confdefs.h. */ 12383 #include <stdio.h> 12384 #include <stdlib.h> 12385 12386 #include "$srcdir/include/orbit/util/basic_types.h" 12387 typedef struct {char s1;} CORBA_struct; 12388 typedef void *CORBA_pointer; 12389 struct test {char s1; CORBA_octet s2;}; 12390 main() 12391 { 12392 FILE *f=fopen("conftestval", "w"); 12393 if (!f) exit(1); 12394 fprintf(f, "%d\n", &(((struct test*)0)->s2)); 12395 exit(0); 12396 } 12397_ACEOF 12398if ac_fn_c_try_run "$LINENO"; then : 12399 ac_cv_alignof_CORBA_octet=`cat conftestval` 12400else 12401 ac_cv_alignof_CORBA_octet=0 12402fi 12403rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12404 conftest.$ac_objext conftest.beam conftest.$ac_ext 12405fi 12406 12407 12408fi 12409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_CORBA_octet" >&5 12410$as_echo "$ac_cv_alignof_CORBA_octet" >&6; } 12411 if test "$ac_cv_alignof_CORBA_octet" = "0" ; then 12412 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5 12413 fi 12414 LIBS="$align_save_libs" 12415 ORBIT_ALIGNOF_CORBA_OCTET=$ac_cv_alignof_CORBA_octet 12416 12417 12418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of CORBA_boolean" >&5 12419$as_echo_n "checking alignment of CORBA_boolean... " >&6; } 12420 align_save_libs="$LIBS" 12421 LIBS="$ORBIT_LIBS $LIBS" 12422 if test "${ac_cv_alignof_CORBA_boolean+set}" = set; then : 12423 $as_echo_n "(cached) " >&6 12424else 12425 if test "$cross_compiling" = yes; then : 12426 ac_cv_alignof_CORBA_boolean=0 12427else 12428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12429/* end confdefs.h. */ 12430 #include <stdio.h> 12431 #include <stdlib.h> 12432 12433 #include "$srcdir/include/orbit/util/basic_types.h" 12434 typedef struct {char s1;} CORBA_struct; 12435 typedef void *CORBA_pointer; 12436 struct test {char s1; CORBA_boolean s2;}; 12437 main() 12438 { 12439 FILE *f=fopen("conftestval", "w"); 12440 if (!f) exit(1); 12441 fprintf(f, "%d\n", &(((struct test*)0)->s2)); 12442 exit(0); 12443 } 12444_ACEOF 12445if ac_fn_c_try_run "$LINENO"; then : 12446 ac_cv_alignof_CORBA_boolean=`cat conftestval` 12447else 12448 ac_cv_alignof_CORBA_boolean=0 12449fi 12450rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12451 conftest.$ac_objext conftest.beam conftest.$ac_ext 12452fi 12453 12454 12455fi 12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_CORBA_boolean" >&5 12457$as_echo "$ac_cv_alignof_CORBA_boolean" >&6; } 12458 if test "$ac_cv_alignof_CORBA_boolean" = "0" ; then 12459 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5 12460 fi 12461 LIBS="$align_save_libs" 12462 ORBIT_ALIGNOF_CORBA_BOOLEAN=$ac_cv_alignof_CORBA_boolean 12463 12464 12465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of CORBA_char" >&5 12466$as_echo_n "checking alignment of CORBA_char... " >&6; } 12467 align_save_libs="$LIBS" 12468 LIBS="$ORBIT_LIBS $LIBS" 12469 if test "${ac_cv_alignof_CORBA_char+set}" = set; then : 12470 $as_echo_n "(cached) " >&6 12471else 12472 if test "$cross_compiling" = yes; then : 12473 ac_cv_alignof_CORBA_char=0 12474else 12475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12476/* end confdefs.h. */ 12477 #include <stdio.h> 12478 #include <stdlib.h> 12479 12480 #include "$srcdir/include/orbit/util/basic_types.h" 12481 typedef struct {char s1;} CORBA_struct; 12482 typedef void *CORBA_pointer; 12483 struct test {char s1; CORBA_char s2;}; 12484 main() 12485 { 12486 FILE *f=fopen("conftestval", "w"); 12487 if (!f) exit(1); 12488 fprintf(f, "%d\n", &(((struct test*)0)->s2)); 12489 exit(0); 12490 } 12491_ACEOF 12492if ac_fn_c_try_run "$LINENO"; then : 12493 ac_cv_alignof_CORBA_char=`cat conftestval` 12494else 12495 ac_cv_alignof_CORBA_char=0 12496fi 12497rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12498 conftest.$ac_objext conftest.beam conftest.$ac_ext 12499fi 12500 12501 12502fi 12503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_CORBA_char" >&5 12504$as_echo "$ac_cv_alignof_CORBA_char" >&6; } 12505 if test "$ac_cv_alignof_CORBA_char" = "0" ; then 12506 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5 12507 fi 12508 LIBS="$align_save_libs" 12509 ORBIT_ALIGNOF_CORBA_CHAR=$ac_cv_alignof_CORBA_char 12510 12511 12512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of CORBA_wchar" >&5 12513$as_echo_n "checking alignment of CORBA_wchar... " >&6; } 12514 align_save_libs="$LIBS" 12515 LIBS="$ORBIT_LIBS $LIBS" 12516 if test "${ac_cv_alignof_CORBA_wchar+set}" = set; then : 12517 $as_echo_n "(cached) " >&6 12518else 12519 if test "$cross_compiling" = yes; then : 12520 ac_cv_alignof_CORBA_wchar=0 12521else 12522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12523/* end confdefs.h. */ 12524 #include <stdio.h> 12525 #include <stdlib.h> 12526 12527 #include "$srcdir/include/orbit/util/basic_types.h" 12528 typedef struct {char s1;} CORBA_struct; 12529 typedef void *CORBA_pointer; 12530 struct test {char s1; CORBA_wchar s2;}; 12531 main() 12532 { 12533 FILE *f=fopen("conftestval", "w"); 12534 if (!f) exit(1); 12535 fprintf(f, "%d\n", &(((struct test*)0)->s2)); 12536 exit(0); 12537 } 12538_ACEOF 12539if ac_fn_c_try_run "$LINENO"; then : 12540 ac_cv_alignof_CORBA_wchar=`cat conftestval` 12541else 12542 ac_cv_alignof_CORBA_wchar=0 12543fi 12544rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12545 conftest.$ac_objext conftest.beam conftest.$ac_ext 12546fi 12547 12548 12549fi 12550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_CORBA_wchar" >&5 12551$as_echo "$ac_cv_alignof_CORBA_wchar" >&6; } 12552 if test "$ac_cv_alignof_CORBA_wchar" = "0" ; then 12553 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5 12554 fi 12555 LIBS="$align_save_libs" 12556 ORBIT_ALIGNOF_CORBA_WCHAR=$ac_cv_alignof_CORBA_wchar 12557 12558 12559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of CORBA_short" >&5 12560$as_echo_n "checking alignment of CORBA_short... " >&6; } 12561 align_save_libs="$LIBS" 12562 LIBS="$ORBIT_LIBS $LIBS" 12563 if test "${ac_cv_alignof_CORBA_short+set}" = set; then : 12564 $as_echo_n "(cached) " >&6 12565else 12566 if test "$cross_compiling" = yes; then : 12567 ac_cv_alignof_CORBA_short=0 12568else 12569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12570/* end confdefs.h. */ 12571 #include <stdio.h> 12572 #include <stdlib.h> 12573 12574 #include "$srcdir/include/orbit/util/basic_types.h" 12575 typedef struct {char s1;} CORBA_struct; 12576 typedef void *CORBA_pointer; 12577 struct test {char s1; CORBA_short s2;}; 12578 main() 12579 { 12580 FILE *f=fopen("conftestval", "w"); 12581 if (!f) exit(1); 12582 fprintf(f, "%d\n", &(((struct test*)0)->s2)); 12583 exit(0); 12584 } 12585_ACEOF 12586if ac_fn_c_try_run "$LINENO"; then : 12587 ac_cv_alignof_CORBA_short=`cat conftestval` 12588else 12589 ac_cv_alignof_CORBA_short=0 12590fi 12591rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12592 conftest.$ac_objext conftest.beam conftest.$ac_ext 12593fi 12594 12595 12596fi 12597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_CORBA_short" >&5 12598$as_echo "$ac_cv_alignof_CORBA_short" >&6; } 12599 if test "$ac_cv_alignof_CORBA_short" = "0" ; then 12600 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5 12601 fi 12602 LIBS="$align_save_libs" 12603 ORBIT_ALIGNOF_CORBA_SHORT=$ac_cv_alignof_CORBA_short 12604 12605 12606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of CORBA_long" >&5 12607$as_echo_n "checking alignment of CORBA_long... " >&6; } 12608 align_save_libs="$LIBS" 12609 LIBS="$ORBIT_LIBS $LIBS" 12610 if test "${ac_cv_alignof_CORBA_long+set}" = set; then : 12611 $as_echo_n "(cached) " >&6 12612else 12613 if test "$cross_compiling" = yes; then : 12614 ac_cv_alignof_CORBA_long=0 12615else 12616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12617/* end confdefs.h. */ 12618 #include <stdio.h> 12619 #include <stdlib.h> 12620 12621 #include "$srcdir/include/orbit/util/basic_types.h" 12622 typedef struct {char s1;} CORBA_struct; 12623 typedef void *CORBA_pointer; 12624 struct test {char s1; CORBA_long s2;}; 12625 main() 12626 { 12627 FILE *f=fopen("conftestval", "w"); 12628 if (!f) exit(1); 12629 fprintf(f, "%d\n", &(((struct test*)0)->s2)); 12630 exit(0); 12631 } 12632_ACEOF 12633if ac_fn_c_try_run "$LINENO"; then : 12634 ac_cv_alignof_CORBA_long=`cat conftestval` 12635else 12636 ac_cv_alignof_CORBA_long=0 12637fi 12638rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12639 conftest.$ac_objext conftest.beam conftest.$ac_ext 12640fi 12641 12642 12643fi 12644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_CORBA_long" >&5 12645$as_echo "$ac_cv_alignof_CORBA_long" >&6; } 12646 if test "$ac_cv_alignof_CORBA_long" = "0" ; then 12647 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5 12648 fi 12649 LIBS="$align_save_libs" 12650 ORBIT_ALIGNOF_CORBA_LONG=$ac_cv_alignof_CORBA_long 12651 12652 12653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of CORBA_long_long" >&5 12654$as_echo_n "checking alignment of CORBA_long_long... " >&6; } 12655 align_save_libs="$LIBS" 12656 LIBS="$ORBIT_LIBS $LIBS" 12657 if test "${ac_cv_alignof_CORBA_long_long+set}" = set; then : 12658 $as_echo_n "(cached) " >&6 12659else 12660 if test "$cross_compiling" = yes; then : 12661 ac_cv_alignof_CORBA_long_long=0 12662else 12663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12664/* end confdefs.h. */ 12665 #include <stdio.h> 12666 #include <stdlib.h> 12667 12668 #include "$srcdir/include/orbit/util/basic_types.h" 12669 typedef struct {char s1;} CORBA_struct; 12670 typedef void *CORBA_pointer; 12671 struct test {char s1; CORBA_long_long s2;}; 12672 main() 12673 { 12674 FILE *f=fopen("conftestval", "w"); 12675 if (!f) exit(1); 12676 fprintf(f, "%d\n", &(((struct test*)0)->s2)); 12677 exit(0); 12678 } 12679_ACEOF 12680if ac_fn_c_try_run "$LINENO"; then : 12681 ac_cv_alignof_CORBA_long_long=`cat conftestval` 12682else 12683 ac_cv_alignof_CORBA_long_long=0 12684fi 12685rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12686 conftest.$ac_objext conftest.beam conftest.$ac_ext 12687fi 12688 12689 12690fi 12691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_CORBA_long_long" >&5 12692$as_echo "$ac_cv_alignof_CORBA_long_long" >&6; } 12693 if test "$ac_cv_alignof_CORBA_long_long" = "0" ; then 12694 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5 12695 fi 12696 LIBS="$align_save_libs" 12697 ORBIT_ALIGNOF_CORBA_LONG_LONG=$ac_cv_alignof_CORBA_long_long 12698 12699 12700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of CORBA_float" >&5 12701$as_echo_n "checking alignment of CORBA_float... " >&6; } 12702 align_save_libs="$LIBS" 12703 LIBS="$ORBIT_LIBS $LIBS" 12704 if test "${ac_cv_alignof_CORBA_float+set}" = set; then : 12705 $as_echo_n "(cached) " >&6 12706else 12707 if test "$cross_compiling" = yes; then : 12708 ac_cv_alignof_CORBA_float=0 12709else 12710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12711/* end confdefs.h. */ 12712 #include <stdio.h> 12713 #include <stdlib.h> 12714 12715 #include "$srcdir/include/orbit/util/basic_types.h" 12716 typedef struct {char s1;} CORBA_struct; 12717 typedef void *CORBA_pointer; 12718 struct test {char s1; CORBA_float s2;}; 12719 main() 12720 { 12721 FILE *f=fopen("conftestval", "w"); 12722 if (!f) exit(1); 12723 fprintf(f, "%d\n", &(((struct test*)0)->s2)); 12724 exit(0); 12725 } 12726_ACEOF 12727if ac_fn_c_try_run "$LINENO"; then : 12728 ac_cv_alignof_CORBA_float=`cat conftestval` 12729else 12730 ac_cv_alignof_CORBA_float=0 12731fi 12732rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12733 conftest.$ac_objext conftest.beam conftest.$ac_ext 12734fi 12735 12736 12737fi 12738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_CORBA_float" >&5 12739$as_echo "$ac_cv_alignof_CORBA_float" >&6; } 12740 if test "$ac_cv_alignof_CORBA_float" = "0" ; then 12741 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5 12742 fi 12743 LIBS="$align_save_libs" 12744 ORBIT_ALIGNOF_CORBA_FLOAT=$ac_cv_alignof_CORBA_float 12745 12746 12747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of CORBA_double" >&5 12748$as_echo_n "checking alignment of CORBA_double... " >&6; } 12749 align_save_libs="$LIBS" 12750 LIBS="$ORBIT_LIBS $LIBS" 12751 if test "${ac_cv_alignof_CORBA_double+set}" = set; then : 12752 $as_echo_n "(cached) " >&6 12753else 12754 if test "$cross_compiling" = yes; then : 12755 ac_cv_alignof_CORBA_double=0 12756else 12757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12758/* end confdefs.h. */ 12759 #include <stdio.h> 12760 #include <stdlib.h> 12761 12762 #include "$srcdir/include/orbit/util/basic_types.h" 12763 typedef struct {char s1;} CORBA_struct; 12764 typedef void *CORBA_pointer; 12765 struct test {char s1; CORBA_double s2;}; 12766 main() 12767 { 12768 FILE *f=fopen("conftestval", "w"); 12769 if (!f) exit(1); 12770 fprintf(f, "%d\n", &(((struct test*)0)->s2)); 12771 exit(0); 12772 } 12773_ACEOF 12774if ac_fn_c_try_run "$LINENO"; then : 12775 ac_cv_alignof_CORBA_double=`cat conftestval` 12776else 12777 ac_cv_alignof_CORBA_double=0 12778fi 12779rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12780 conftest.$ac_objext conftest.beam conftest.$ac_ext 12781fi 12782 12783 12784fi 12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_CORBA_double" >&5 12786$as_echo "$ac_cv_alignof_CORBA_double" >&6; } 12787 if test "$ac_cv_alignof_CORBA_double" = "0" ; then 12788 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5 12789 fi 12790 LIBS="$align_save_libs" 12791 ORBIT_ALIGNOF_CORBA_DOUBLE=$ac_cv_alignof_CORBA_double 12792 12793 12794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of CORBA_long_double" >&5 12795$as_echo_n "checking alignment of CORBA_long_double... " >&6; } 12796 align_save_libs="$LIBS" 12797 LIBS="$ORBIT_LIBS $LIBS" 12798 if test "${ac_cv_alignof_CORBA_long_double+set}" = set; then : 12799 $as_echo_n "(cached) " >&6 12800else 12801 if test "$cross_compiling" = yes; then : 12802 ac_cv_alignof_CORBA_long_double=0 12803else 12804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12805/* end confdefs.h. */ 12806 #include <stdio.h> 12807 #include <stdlib.h> 12808 12809 #include "$srcdir/include/orbit/util/basic_types.h" 12810 typedef struct {char s1;} CORBA_struct; 12811 typedef void *CORBA_pointer; 12812 struct test {char s1; CORBA_long_double s2;}; 12813 main() 12814 { 12815 FILE *f=fopen("conftestval", "w"); 12816 if (!f) exit(1); 12817 fprintf(f, "%d\n", &(((struct test*)0)->s2)); 12818 exit(0); 12819 } 12820_ACEOF 12821if ac_fn_c_try_run "$LINENO"; then : 12822 ac_cv_alignof_CORBA_long_double=`cat conftestval` 12823else 12824 ac_cv_alignof_CORBA_long_double=0 12825fi 12826rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12827 conftest.$ac_objext conftest.beam conftest.$ac_ext 12828fi 12829 12830 12831fi 12832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_CORBA_long_double" >&5 12833$as_echo "$ac_cv_alignof_CORBA_long_double" >&6; } 12834 if test "$ac_cv_alignof_CORBA_long_double" = "0" ; then 12835 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5 12836 fi 12837 LIBS="$align_save_libs" 12838 ORBIT_ALIGNOF_CORBA_LONG_DOUBLE=$ac_cv_alignof_CORBA_long_double 12839 12840 12841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of CORBA_struct" >&5 12842$as_echo_n "checking alignment of CORBA_struct... " >&6; } 12843 align_save_libs="$LIBS" 12844 LIBS="$ORBIT_LIBS $LIBS" 12845 if test "${ac_cv_alignof_CORBA_struct+set}" = set; then : 12846 $as_echo_n "(cached) " >&6 12847else 12848 if test "$cross_compiling" = yes; then : 12849 ac_cv_alignof_CORBA_struct=0 12850else 12851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12852/* end confdefs.h. */ 12853 #include <stdio.h> 12854 #include <stdlib.h> 12855 12856 #include "$srcdir/include/orbit/util/basic_types.h" 12857 typedef struct {char s1;} CORBA_struct; 12858 typedef void *CORBA_pointer; 12859 struct test {char s1; CORBA_struct s2;}; 12860 main() 12861 { 12862 FILE *f=fopen("conftestval", "w"); 12863 if (!f) exit(1); 12864 fprintf(f, "%d\n", &(((struct test*)0)->s2)); 12865 exit(0); 12866 } 12867_ACEOF 12868if ac_fn_c_try_run "$LINENO"; then : 12869 ac_cv_alignof_CORBA_struct=`cat conftestval` 12870else 12871 ac_cv_alignof_CORBA_struct=0 12872fi 12873rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12874 conftest.$ac_objext conftest.beam conftest.$ac_ext 12875fi 12876 12877 12878fi 12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_CORBA_struct" >&5 12880$as_echo "$ac_cv_alignof_CORBA_struct" >&6; } 12881 if test "$ac_cv_alignof_CORBA_struct" = "0" ; then 12882 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5 12883 fi 12884 LIBS="$align_save_libs" 12885 ORBIT_ALIGNOF_CORBA_STRUCT=$ac_cv_alignof_CORBA_struct 12886 12887 12888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of CORBA_pointer" >&5 12889$as_echo_n "checking alignment of CORBA_pointer... " >&6; } 12890 align_save_libs="$LIBS" 12891 LIBS="$ORBIT_LIBS $LIBS" 12892 if test "${ac_cv_alignof_CORBA_pointer+set}" = set; then : 12893 $as_echo_n "(cached) " >&6 12894else 12895 if test "$cross_compiling" = yes; then : 12896 ac_cv_alignof_CORBA_pointer=0 12897else 12898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12899/* end confdefs.h. */ 12900 #include <stdio.h> 12901 #include <stdlib.h> 12902 12903 #include "$srcdir/include/orbit/util/basic_types.h" 12904 typedef struct {char s1;} CORBA_struct; 12905 typedef void *CORBA_pointer; 12906 struct test {char s1; CORBA_pointer s2;}; 12907 main() 12908 { 12909 FILE *f=fopen("conftestval", "w"); 12910 if (!f) exit(1); 12911 fprintf(f, "%d\n", &(((struct test*)0)->s2)); 12912 exit(0); 12913 } 12914_ACEOF 12915if ac_fn_c_try_run "$LINENO"; then : 12916 ac_cv_alignof_CORBA_pointer=`cat conftestval` 12917else 12918 ac_cv_alignof_CORBA_pointer=0 12919fi 12920rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12921 conftest.$ac_objext conftest.beam conftest.$ac_ext 12922fi 12923 12924 12925fi 12926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_CORBA_pointer" >&5 12927$as_echo "$ac_cv_alignof_CORBA_pointer" >&6; } 12928 if test "$ac_cv_alignof_CORBA_pointer" = "0" ; then 12929 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5 12930 fi 12931 LIBS="$align_save_libs" 12932 ORBIT_ALIGNOF_CORBA_POINTER=$ac_cv_alignof_CORBA_pointer 12933 12934 12935CPPFLAGS=$orig_CPPFLAGS 12936 12937if test "x$GCC" = "xyes" -a "x$enable_compile_warnings" != "xno"; then 12938 WARN_CFLAGS="-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations" 12939else 12940 WARN_CFLAGS= 12941fi 12942 12943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 12944$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; } 12945{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $WARN_CFLAGS" >&5 12946$as_echo "$WARN_CFLAGS" >&6; } 12947 12948 12949 12950 12951if test "$enable_maintainer_mode" = "yes"; then 12952 DISABLE_DEPRECATED_CFLAGS=" \ 12953 -DG_DISABLE_SINGLE_INCLUDES" 12954 12955fi 12956 12957 12958 12959pkg_failed=no 12960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LINC" >&5 12961$as_echo_n "checking for LINC... " >&6; } 12962 12963if test -n "$LINC_CFLAGS"; then 12964 pkg_cv_LINC_CFLAGS="$LINC_CFLAGS" 12965 elif test -n "$PKG_CONFIG"; then 12966 if test -n "$PKG_CONFIG" && \ 12967 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED gobject-2.0 >= \$GLIB_REQUIRED gthread-2.0 >= \$GLIB_REQUIRED\""; } >&5 12968 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED") 2>&5 12969 ac_status=$? 12970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12971 test $ac_status = 0; }; then 12972 pkg_cv_LINC_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED" 2>/dev/null` 12973else 12974 pkg_failed=yes 12975fi 12976 else 12977 pkg_failed=untried 12978fi 12979if test -n "$LINC_LIBS"; then 12980 pkg_cv_LINC_LIBS="$LINC_LIBS" 12981 elif test -n "$PKG_CONFIG"; then 12982 if test -n "$PKG_CONFIG" && \ 12983 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED gobject-2.0 >= \$GLIB_REQUIRED gthread-2.0 >= \$GLIB_REQUIRED\""; } >&5 12984 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED") 2>&5 12985 ac_status=$? 12986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12987 test $ac_status = 0; }; then 12988 pkg_cv_LINC_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED" 2>/dev/null` 12989else 12990 pkg_failed=yes 12991fi 12992 else 12993 pkg_failed=untried 12994fi 12995 12996 12997 12998if test $pkg_failed = yes; then 12999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13000$as_echo "no" >&6; } 13001 13002if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13003 _pkg_short_errors_supported=yes 13004else 13005 _pkg_short_errors_supported=no 13006fi 13007 if test $_pkg_short_errors_supported = yes; then 13008 LINC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED" 2>&1` 13009 else 13010 LINC_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED" 2>&1` 13011 fi 13012 # Put the nasty error message in config.log where it belongs 13013 echo "$LINC_PKG_ERRORS" >&5 13014 13015 as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED) were not met: 13016 13017$LINC_PKG_ERRORS 13018 13019Consider adjusting the PKG_CONFIG_PATH environment variable if you 13020installed software in a non-standard prefix. 13021 13022Alternatively, you may set the environment variables LINC_CFLAGS 13023and LINC_LIBS to avoid the need to call pkg-config. 13024See the pkg-config man page for more details." "$LINENO" 5 13025elif test $pkg_failed = untried; then 13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13027$as_echo "no" >&6; } 13028 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13029$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13030as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 13031is in your PATH or set the PKG_CONFIG environment variable to the full 13032path to pkg-config. 13033 13034Alternatively, you may set the environment variables LINC_CFLAGS 13035and LINC_LIBS to avoid the need to call pkg-config. 13036See the pkg-config man page for more details. 13037 13038To get pkg-config, see <http://pkg-config.freedesktop.org/>. 13039See \`config.log' for more details" "$LINENO" 5; } 13040else 13041 LINC_CFLAGS=$pkg_cv_LINC_CFLAGS 13042 LINC_LIBS=$pkg_cv_LINC_LIBS 13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13044$as_echo "yes" >&6; } 13045 13046fi 13047 13048 13049 13050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 13051$as_echo_n "checking for ANSI C header files... " >&6; } 13052if test "${ac_cv_header_stdc+set}" = set; then : 13053 $as_echo_n "(cached) " >&6 13054else 13055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13056/* end confdefs.h. */ 13057#include <stdlib.h> 13058#include <stdarg.h> 13059#include <string.h> 13060#include <float.h> 13061 13062int 13063main () 13064{ 13065 13066 ; 13067 return 0; 13068} 13069_ACEOF 13070if ac_fn_c_try_compile "$LINENO"; then : 13071 ac_cv_header_stdc=yes 13072else 13073 ac_cv_header_stdc=no 13074fi 13075rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13076 13077if test $ac_cv_header_stdc = yes; then 13078 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 13079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13080/* end confdefs.h. */ 13081#include <string.h> 13082 13083_ACEOF 13084if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13085 $EGREP "memchr" >/dev/null 2>&1; then : 13086 13087else 13088 ac_cv_header_stdc=no 13089fi 13090rm -f conftest* 13091 13092fi 13093 13094if test $ac_cv_header_stdc = yes; then 13095 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 13096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13097/* end confdefs.h. */ 13098#include <stdlib.h> 13099 13100_ACEOF 13101if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13102 $EGREP "free" >/dev/null 2>&1; then : 13103 13104else 13105 ac_cv_header_stdc=no 13106fi 13107rm -f conftest* 13108 13109fi 13110 13111if test $ac_cv_header_stdc = yes; then 13112 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 13113 if test "$cross_compiling" = yes; then : 13114 : 13115else 13116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13117/* end confdefs.h. */ 13118#include <ctype.h> 13119#include <stdlib.h> 13120#if ((' ' & 0x0FF) == 0x020) 13121# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 13122# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 13123#else 13124# define ISLOWER(c) \ 13125 (('a' <= (c) && (c) <= 'i') \ 13126 || ('j' <= (c) && (c) <= 'r') \ 13127 || ('s' <= (c) && (c) <= 'z')) 13128# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 13129#endif 13130 13131#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 13132int 13133main () 13134{ 13135 int i; 13136 for (i = 0; i < 256; i++) 13137 if (XOR (islower (i), ISLOWER (i)) 13138 || toupper (i) != TOUPPER (i)) 13139 return 2; 13140 return 0; 13141} 13142_ACEOF 13143if ac_fn_c_try_run "$LINENO"; then : 13144 13145else 13146 ac_cv_header_stdc=no 13147fi 13148rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 13149 conftest.$ac_objext conftest.beam conftest.$ac_ext 13150fi 13151 13152fi 13153fi 13154{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 13155$as_echo "$ac_cv_header_stdc" >&6; } 13156if test $ac_cv_header_stdc = yes; then 13157 13158$as_echo "#define STDC_HEADERS 1" >>confdefs.h 13159 13160fi 13161 13162for ac_header in fcntl.h unistd.h sys/endian.h endian.h machine/endian.h sys/machine.h sys/isa_defs.h sys/poll.h 13163do : 13164 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13165ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 13166if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 13167 cat >>confdefs.h <<_ACEOF 13168#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13169_ACEOF 13170 13171fi 13172 13173done 13174 13175for ac_header in stddef.h wchar.h wcstr.h wctype.h machine/types.h 13176do : 13177 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13178ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 13179if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 13180 cat >>confdefs.h <<_ACEOF 13181#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13182_ACEOF 13183 13184fi 13185 13186done 13187 13188for ac_header in netinet/in.h netinet/tcp.h sys/un.h 13189do : 13190 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13191ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 13192if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 13193 cat >>confdefs.h <<_ACEOF 13194#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13195_ACEOF 13196 13197fi 13198 13199done 13200 13201for ac_header in arpa/nameser.h resolv.h 13202do : 13203 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13204ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 13205if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 13206 cat >>confdefs.h <<_ACEOF 13207#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13208_ACEOF 13209 13210fi 13211 13212done 13213 13214 13215for ac_func in poll basename 13216do : 13217 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13218ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 13219if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 13220 cat >>confdefs.h <<_ACEOF 13221#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 13222_ACEOF 13223 13224fi 13225done 13226 13227ac_fn_c_check_func "$LINENO" "res_init" "ac_cv_func_res_init" 13228if test "x$ac_cv_func_res_init" = x""yes; then : 13229 13230else 13231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_init in -lresolv" >&5 13232$as_echo_n "checking for res_init in -lresolv... " >&6; } 13233if test "${ac_cv_lib_resolv_res_init+set}" = set; then : 13234 $as_echo_n "(cached) " >&6 13235else 13236 ac_check_lib_save_LIBS=$LIBS 13237LIBS="-lresolv $LIBS" 13238cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13239/* end confdefs.h. */ 13240 13241/* Override any GCC internal prototype to avoid an error. 13242 Use char because int might match the return type of a GCC 13243 builtin and then its argument prototype would still apply. */ 13244#ifdef __cplusplus 13245extern "C" 13246#endif 13247char res_init (); 13248int 13249main () 13250{ 13251return res_init (); 13252 ; 13253 return 0; 13254} 13255_ACEOF 13256if ac_fn_c_try_link "$LINENO"; then : 13257 ac_cv_lib_resolv_res_init=yes 13258else 13259 ac_cv_lib_resolv_res_init=no 13260fi 13261rm -f core conftest.err conftest.$ac_objext \ 13262 conftest$ac_exeext conftest.$ac_ext 13263LIBS=$ac_check_lib_save_LIBS 13264fi 13265{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_init" >&5 13266$as_echo "$ac_cv_lib_resolv_res_init" >&6; } 13267if test "x$ac_cv_lib_resolv_res_init" = x""yes; then : 13268 cat >>confdefs.h <<_ACEOF 13269#define HAVE_LIBRESOLV 1 13270_ACEOF 13271 13272 LIBS="-lresolv $LIBS" 13273 13274fi 13275 13276fi 13277 13278{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_9_init in -lresolv" >&5 13279$as_echo_n "checking for res_9_init in -lresolv... " >&6; } 13280if test "${ac_cv_lib_resolv_res_9_init+set}" = set; then : 13281 $as_echo_n "(cached) " >&6 13282else 13283 ac_check_lib_save_LIBS=$LIBS 13284LIBS="-lresolv $LIBS" 13285cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13286/* end confdefs.h. */ 13287 13288/* Override any GCC internal prototype to avoid an error. 13289 Use char because int might match the return type of a GCC 13290 builtin and then its argument prototype would still apply. */ 13291#ifdef __cplusplus 13292extern "C" 13293#endif 13294char res_9_init (); 13295int 13296main () 13297{ 13298return res_9_init (); 13299 ; 13300 return 0; 13301} 13302_ACEOF 13303if ac_fn_c_try_link "$LINENO"; then : 13304 ac_cv_lib_resolv_res_9_init=yes 13305else 13306 ac_cv_lib_resolv_res_9_init=no 13307fi 13308rm -f core conftest.err conftest.$ac_objext \ 13309 conftest$ac_exeext conftest.$ac_ext 13310LIBS=$ac_check_lib_save_LIBS 13311fi 13312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_9_init" >&5 13313$as_echo "$ac_cv_lib_resolv_res_9_init" >&6; } 13314if test "x$ac_cv_lib_resolv_res_9_init" = x""yes; then : 13315 cat >>confdefs.h <<_ACEOF 13316#define HAVE_LIBRESOLV 1 13317_ACEOF 13318 13319 LIBS="-lresolv $LIBS" 13320 13321fi 13322 13323ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" 13324if test "x$ac_cv_func_socket" = x""yes; then : 13325 13326else 13327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5 13328$as_echo_n "checking for socket in -lsocket... " >&6; } 13329if test "${ac_cv_lib_socket_socket+set}" = set; then : 13330 $as_echo_n "(cached) " >&6 13331else 13332 ac_check_lib_save_LIBS=$LIBS 13333LIBS="-lsocket $LIBS" 13334cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13335/* end confdefs.h. */ 13336 13337/* Override any GCC internal prototype to avoid an error. 13338 Use char because int might match the return type of a GCC 13339 builtin and then its argument prototype would still apply. */ 13340#ifdef __cplusplus 13341extern "C" 13342#endif 13343char socket (); 13344int 13345main () 13346{ 13347return socket (); 13348 ; 13349 return 0; 13350} 13351_ACEOF 13352if ac_fn_c_try_link "$LINENO"; then : 13353 ac_cv_lib_socket_socket=yes 13354else 13355 ac_cv_lib_socket_socket=no 13356fi 13357rm -f core conftest.err conftest.$ac_objext \ 13358 conftest$ac_exeext conftest.$ac_ext 13359LIBS=$ac_check_lib_save_LIBS 13360fi 13361{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5 13362$as_echo "$ac_cv_lib_socket_socket" >&6; } 13363if test "x$ac_cv_lib_socket_socket" = x""yes; then : 13364 cat >>confdefs.h <<_ACEOF 13365#define HAVE_LIBSOCKET 1 13366_ACEOF 13367 13368 LIBS="-lsocket $LIBS" 13369 13370fi 13371 13372fi 13373 13374ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" 13375if test "x$ac_cv_func_gethostbyname" = x""yes; then : 13376 13377else 13378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 13379$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } 13380if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then : 13381 $as_echo_n "(cached) " >&6 13382else 13383 ac_check_lib_save_LIBS=$LIBS 13384LIBS="-lnsl $LIBS" 13385cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13386/* end confdefs.h. */ 13387 13388/* Override any GCC internal prototype to avoid an error. 13389 Use char because int might match the return type of a GCC 13390 builtin and then its argument prototype would still apply. */ 13391#ifdef __cplusplus 13392extern "C" 13393#endif 13394char gethostbyname (); 13395int 13396main () 13397{ 13398return gethostbyname (); 13399 ; 13400 return 0; 13401} 13402_ACEOF 13403if ac_fn_c_try_link "$LINENO"; then : 13404 ac_cv_lib_nsl_gethostbyname=yes 13405else 13406 ac_cv_lib_nsl_gethostbyname=no 13407fi 13408rm -f core conftest.err conftest.$ac_objext \ 13409 conftest$ac_exeext conftest.$ac_ext 13410LIBS=$ac_check_lib_save_LIBS 13411fi 13412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 13413$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } 13414if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then : 13415 cat >>confdefs.h <<_ACEOF 13416#define HAVE_LIBNSL 1 13417_ACEOF 13418 13419 LIBS="-lnsl $LIBS" 13420 13421fi 13422 13423fi 13424 13425ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" 13426if test "x$ac_cv_func_getaddrinfo" = x""yes; then : 13427 13428else 13429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in -lnsl" >&5 13430$as_echo_n "checking for getaddrinfo in -lnsl... " >&6; } 13431if test "${ac_cv_lib_nsl_getaddrinfo+set}" = set; then : 13432 $as_echo_n "(cached) " >&6 13433else 13434 ac_check_lib_save_LIBS=$LIBS 13435LIBS="-lnsl $LIBS" 13436cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13437/* end confdefs.h. */ 13438 13439/* Override any GCC internal prototype to avoid an error. 13440 Use char because int might match the return type of a GCC 13441 builtin and then its argument prototype would still apply. */ 13442#ifdef __cplusplus 13443extern "C" 13444#endif 13445char getaddrinfo (); 13446int 13447main () 13448{ 13449return getaddrinfo (); 13450 ; 13451 return 0; 13452} 13453_ACEOF 13454if ac_fn_c_try_link "$LINENO"; then : 13455 ac_cv_lib_nsl_getaddrinfo=yes 13456else 13457 ac_cv_lib_nsl_getaddrinfo=no 13458fi 13459rm -f core conftest.err conftest.$ac_objext \ 13460 conftest$ac_exeext conftest.$ac_ext 13461LIBS=$ac_check_lib_save_LIBS 13462fi 13463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_getaddrinfo" >&5 13464$as_echo "$ac_cv_lib_nsl_getaddrinfo" >&6; } 13465if test "x$ac_cv_lib_nsl_getaddrinfo" = x""yes; then : 13466 cat >>confdefs.h <<_ACEOF 13467#define HAVE_LIBNSL 1 13468_ACEOF 13469 13470 LIBS="-lnsl $LIBS" 13471 13472fi 13473 13474fi 13475 13476if test x"$ac_cv_func_getaddrinfo" = "xyes" ; then 13477 13478$as_echo "#define HAVE_GETADDRINFO 1" >>confdefs.h 13479 13480fi 13481ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo" 13482if test "x$ac_cv_func_getnameinfo" = x""yes; then : 13483 13484else 13485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getnameinfo in -lnsl" >&5 13486$as_echo_n "checking for getnameinfo in -lnsl... " >&6; } 13487if test "${ac_cv_lib_nsl_getnameinfo+set}" = set; then : 13488 $as_echo_n "(cached) " >&6 13489else 13490 ac_check_lib_save_LIBS=$LIBS 13491LIBS="-lnsl $LIBS" 13492cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13493/* end confdefs.h. */ 13494 13495/* Override any GCC internal prototype to avoid an error. 13496 Use char because int might match the return type of a GCC 13497 builtin and then its argument prototype would still apply. */ 13498#ifdef __cplusplus 13499extern "C" 13500#endif 13501char getnameinfo (); 13502int 13503main () 13504{ 13505return getnameinfo (); 13506 ; 13507 return 0; 13508} 13509_ACEOF 13510if ac_fn_c_try_link "$LINENO"; then : 13511 ac_cv_lib_nsl_getnameinfo=yes 13512else 13513 ac_cv_lib_nsl_getnameinfo=no 13514fi 13515rm -f core conftest.err conftest.$ac_objext \ 13516 conftest$ac_exeext conftest.$ac_ext 13517LIBS=$ac_check_lib_save_LIBS 13518fi 13519{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_getnameinfo" >&5 13520$as_echo "$ac_cv_lib_nsl_getnameinfo" >&6; } 13521if test "x$ac_cv_lib_nsl_getnameinfo" = x""yes; then : 13522 cat >>confdefs.h <<_ACEOF 13523#define HAVE_LIBNSL 1 13524_ACEOF 13525 13526 LIBS="-lnsl $LIBS" 13527 13528fi 13529 13530fi 13531 13532if test x"$ac_cv_func_getnameinfo" = "xyes" ; then 13533 13534$as_echo "#define HAVE_GETNAMEINFO 1" >>confdefs.h 13535 13536fi 13537have_inet_pton=no 13538ac_fn_c_check_func "$LINENO" "inet_pton" "ac_cv_func_inet_pton" 13539if test "x$ac_cv_func_inet_pton" = x""yes; then : 13540 13541fi 13542 13543if test x"$ac_cv_func_inet_pton" = "xyes" ; then 13544 have_inet_pton=yes 13545 13546$as_echo "#define HAVE_INET_PTON 1" >>confdefs.h 13547 13548fi 13549 13550# AC_CHECK_TYPE doesn't work here. 13551{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5 13552$as_echo_n "checking for socklen_t... " >&6; } 13553cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13554/* end confdefs.h. */ 13555#ifdef _WIN32 13556#include <ws2tcpip.h> 13557#else 13558#include <sys/types.h> 13559#include <sys/socket.h> 13560#endif 13561int 13562main () 13563{ 13564socklen_t len; 13565 ; 13566 return 0; 13567} 13568_ACEOF 13569if ac_fn_c_try_compile "$LINENO"; then : 13570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13571$as_echo "yes" >&6; } 13572else 13573 13574$as_echo "#define socklen_t size_t" >>confdefs.h 13575 13576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13577$as_echo "no" >&6; } 13578fi 13579rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13580 13581# Blatantly stolen from configure.in in the sample code from 13582# "UNIX Network Programming, Volume 1" by W. Richard Stevens 13583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sockaddr has sa_len member" >&5 13584$as_echo_n "checking if sockaddr has sa_len member... " >&6; } 13585if test "${ac_cv_sockaddr_has_sa_len+set}" = set; then : 13586 $as_echo_n "(cached) " >&6 13587else 13588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13589/* end confdefs.h. */ 13590 13591# include <sys/types.h> 13592# include <sys/socket.h> 13593int 13594main () 13595{ 13596unsigned int i = sizeof(((struct sockaddr *)0)->sa_len) 13597 ; 13598 return 0; 13599} 13600_ACEOF 13601if ac_fn_c_try_compile "$LINENO"; then : 13602 ac_cv_sockaddr_has_sa_len=yes 13603else 13604 ac_cv_sockaddr_has_sa_len=no 13605fi 13606rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13607fi 13608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sockaddr_has_sa_len" >&5 13609$as_echo "$ac_cv_sockaddr_has_sa_len" >&6; } 13610if test x"$ac_cv_sockaddr_has_sa_len" = "xyes" ; then 13611 13612$as_echo "#define HAVE_SOCKADDR_SA_LEN 1" >>confdefs.h 13613 13614fi 13615 13616 13617{ $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for gcc -Werror-implicit-function-declaration" >&5 13618$as_echo_n "checking CFLAGS for gcc -Werror-implicit-function-declaration... " >&6; } 13619if test "${ac_cv_cflags_gcc_option__Werror_implicit_function_declaration+set}" = set; then : 13620 $as_echo_n "(cached) " >&6 13621else 13622 ac_cv_cflags_gcc_option__Werror_implicit_function_declaration="no, unknown" 13623 13624 ac_ext=c 13625ac_cpp='$CPP $CPPFLAGS' 13626ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13627ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13628ac_compiler_gnu=$ac_cv_c_compiler_gnu 13629 13630 ac_save_CFLAGS="$CFLAGS" 13631for ac_arg in "-pedantic % -Werror-implicit-function-declaration" # 13632do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'` 13633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13634/* end confdefs.h. */ 13635 13636int 13637main () 13638{ 13639return 0; 13640 ; 13641 return 0; 13642} 13643_ACEOF 13644if ac_fn_c_try_compile "$LINENO"; then : 13645 ac_cv_cflags_gcc_option__Werror_implicit_function_declaration=`echo $ac_arg | sed -e 's,.*% *,,'` ; break 13646fi 13647rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13648done 13649 CFLAGS="$ac_save_CFLAGS" 13650 ac_ext=c 13651ac_cpp='$CPP $CPPFLAGS' 13652ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13653ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13654ac_compiler_gnu=$ac_cv_c_compiler_gnu 13655 13656 13657fi 13658{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_gcc_option__Werror_implicit_function_declaration" >&5 13659$as_echo "$ac_cv_cflags_gcc_option__Werror_implicit_function_declaration" >&6; } 13660case ".$ac_cv_cflags_gcc_option__Werror_implicit_function_declaration" in 13661 .ok|.ok,*) ;; 13662 .|.no|.no,*) ;; 13663 *) 13664 if echo " $CFLAGS " | grep " $ac_cv_cflags_gcc_option__Werror_implicit_function_declaration " 2>&1 >/dev/null 13665 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS does contain \$ac_cv_cflags_gcc_option__Werror_implicit_function_declaration"; } >&5 13666 (: CFLAGS does contain $ac_cv_cflags_gcc_option__Werror_implicit_function_declaration) 2>&5 13667 ac_status=$? 13668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13669 test $ac_status = 0; } 13670 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_gcc_option__Werror_implicit_function_declaration\""; } >&5 13671 (: CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__Werror_implicit_function_declaration") 2>&5 13672 ac_status=$? 13673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13674 test $ac_status = 0; } 13675 CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__Werror_implicit_function_declaration" 13676 fi 13677 ;; 13678esac 13679 13680CFLAGS="$CFLAGS $ORBIT_DEBUG_CFLAGS" 13681 13682 13683 13684 13685 13686 # Extract the first word of "gtkdoc-check", so it can be a program name with args. 13687set dummy gtkdoc-check; ac_word=$2 13688{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13689$as_echo_n "checking for $ac_word... " >&6; } 13690if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then : 13691 $as_echo_n "(cached) " >&6 13692else 13693 case $GTKDOC_CHECK in 13694 [\\/]* | ?:[\\/]*) 13695 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path. 13696 ;; 13697 *) 13698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13699for as_dir in $PATH 13700do 13701 IFS=$as_save_IFS 13702 test -z "$as_dir" && as_dir=. 13703 for ac_exec_ext in '' $ac_executable_extensions; do 13704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13705 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext" 13706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13707 break 2 13708 fi 13709done 13710 done 13711IFS=$as_save_IFS 13712 13713 ;; 13714esac 13715fi 13716GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK 13717if test -n "$GTKDOC_CHECK"; then 13718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5 13719$as_echo "$GTKDOC_CHECK" >&6; } 13720else 13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13722$as_echo "no" >&6; } 13723fi 13724 13725 13726 for ac_prog in gtkdoc-rebase 13727do 13728 # Extract the first word of "$ac_prog", so it can be a program name with args. 13729set dummy $ac_prog; ac_word=$2 13730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13731$as_echo_n "checking for $ac_word... " >&6; } 13732if test "${ac_cv_path_GTKDOC_REBASE+set}" = set; then : 13733 $as_echo_n "(cached) " >&6 13734else 13735 case $GTKDOC_REBASE in 13736 [\\/]* | ?:[\\/]*) 13737 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path. 13738 ;; 13739 *) 13740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13741for as_dir in $PATH 13742do 13743 IFS=$as_save_IFS 13744 test -z "$as_dir" && as_dir=. 13745 for ac_exec_ext in '' $ac_executable_extensions; do 13746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13747 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext" 13748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13749 break 2 13750 fi 13751done 13752 done 13753IFS=$as_save_IFS 13754 13755 ;; 13756esac 13757fi 13758GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE 13759if test -n "$GTKDOC_REBASE"; then 13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5 13761$as_echo "$GTKDOC_REBASE" >&6; } 13762else 13763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13764$as_echo "no" >&6; } 13765fi 13766 13767 13768 test -n "$GTKDOC_REBASE" && break 13769done 13770test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true" 13771 13772 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args. 13773set dummy gtkdoc-mkpdf; ac_word=$2 13774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13775$as_echo_n "checking for $ac_word... " >&6; } 13776if test "${ac_cv_path_GTKDOC_MKPDF+set}" = set; then : 13777 $as_echo_n "(cached) " >&6 13778else 13779 case $GTKDOC_MKPDF in 13780 [\\/]* | ?:[\\/]*) 13781 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path. 13782 ;; 13783 *) 13784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13785for as_dir in $PATH 13786do 13787 IFS=$as_save_IFS 13788 test -z "$as_dir" && as_dir=. 13789 for ac_exec_ext in '' $ac_executable_extensions; do 13790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13791 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext" 13792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13793 break 2 13794 fi 13795done 13796 done 13797IFS=$as_save_IFS 13798 13799 ;; 13800esac 13801fi 13802GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF 13803if test -n "$GTKDOC_MKPDF"; then 13804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5 13805$as_echo "$GTKDOC_MKPDF" >&6; } 13806else 13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13808$as_echo "no" >&6; } 13809fi 13810 13811 13812 13813 13814# Check whether --with-html-dir was given. 13815if test "${with_html_dir+set}" = set; then : 13816 withval=$with_html_dir; 13817else 13818 with_html_dir='${datadir}/gtk-doc/html' 13819fi 13820 13821 HTML_DIR="$with_html_dir" 13822 13823 13824 # Check whether --enable-gtk-doc was given. 13825if test "${enable_gtk_doc+set}" = set; then : 13826 enableval=$enable_gtk_doc; 13827else 13828 enable_gtk_doc=no 13829fi 13830 13831 13832 if test x$enable_gtk_doc = xyes; then 13833 if test -n "$PKG_CONFIG" && \ 13834 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\""; } >&5 13835 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.0") 2>&5 13836 ac_status=$? 13837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13838 test $ac_status = 0; }; then 13839 : 13840else 13841 as_fn_error $? "You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" "$LINENO" 5 13842fi 13843 fi 13844 13845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5 13846$as_echo_n "checking whether to build gtk-doc documentation... " >&6; } 13847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5 13848$as_echo "$enable_gtk_doc" >&6; } 13849 13850 # Check whether --enable-gtk-doc-html was given. 13851if test "${enable_gtk_doc_html+set}" = set; then : 13852 enableval=$enable_gtk_doc_html; 13853else 13854 enable_gtk_doc_html=yes 13855fi 13856 13857 # Check whether --enable-gtk-doc-pdf was given. 13858if test "${enable_gtk_doc_pdf+set}" = set; then : 13859 enableval=$enable_gtk_doc_pdf; 13860else 13861 enable_gtk_doc_pdf=no 13862fi 13863 13864 13865 if test -z "$GTKDOC_MKPDF"; then 13866 enable_gtk_doc_pdf=no 13867 fi 13868 13869 13870 if test x$enable_gtk_doc = xyes; then 13871 ENABLE_GTK_DOC_TRUE= 13872 ENABLE_GTK_DOC_FALSE='#' 13873else 13874 ENABLE_GTK_DOC_TRUE='#' 13875 ENABLE_GTK_DOC_FALSE= 13876fi 13877 13878 if test x$enable_gtk_doc_html = xyes; then 13879 GTK_DOC_BUILD_HTML_TRUE= 13880 GTK_DOC_BUILD_HTML_FALSE='#' 13881else 13882 GTK_DOC_BUILD_HTML_TRUE='#' 13883 GTK_DOC_BUILD_HTML_FALSE= 13884fi 13885 13886 if test x$enable_gtk_doc_pdf = xyes; then 13887 GTK_DOC_BUILD_PDF_TRUE= 13888 GTK_DOC_BUILD_PDF_FALSE='#' 13889else 13890 GTK_DOC_BUILD_PDF_TRUE='#' 13891 GTK_DOC_BUILD_PDF_FALSE= 13892fi 13893 13894 if test -n "$LIBTOOL"; then 13895 GTK_DOC_USE_LIBTOOL_TRUE= 13896 GTK_DOC_USE_LIBTOOL_FALSE='#' 13897else 13898 GTK_DOC_USE_LIBTOOL_TRUE='#' 13899 GTK_DOC_USE_LIBTOOL_FALSE= 13900fi 13901 13902 if test -n "$GTKDOC_REBASE"; then 13903 GTK_DOC_USE_REBASE_TRUE= 13904 GTK_DOC_USE_REBASE_FALSE='#' 13905else 13906 GTK_DOC_USE_REBASE_TRUE='#' 13907 GTK_DOC_USE_REBASE_FALSE= 13908fi 13909 13910 13911 13912 13913ac_config_files="$ac_config_files Makefile orbit2-config ORBit-2.0.pc ORBit-2.0-uninstalled.pc ORBit-CosNaming-2.0.pc ORBit-CosNaming-2.0-uninstalled.pc ORBit-imodule-2.0.pc ORBit-imodule-2.0-uninstalled.pc ORBit.spec orbit2-zip src/Makefile src/idl-compiler/Makefile src/idl-compiler/ORBit-idl-2.0.pc src/idl/Makefile src/idl/CORBA/Makefile src/idl/CORBA_PIDL/Makefile src/idl/interop/Makefile src/idl/misc/Makefile src/orb/Makefile src/orb/include/Makefile src/orb/util/Makefile src/orb/GIOP/Makefile src/orb/orb-core/Makefile src/orb/dynamic/Makefile src/orb/poa/Makefile src/services/Makefile src/services/name/Makefile src/services/imodule/Makefile include/Makefile include/orbit/Makefile include/orbit/orbit-config.h include/orbit/GIOP/Makefile include/orbit/util/Makefile include/orbit/orb-core/Makefile include/orbit/poa/Makefile include/orbit/dynamic/Makefile test/Makefile test/everything/Makefile test/inhibit/Makefile test/poa/Makefile docs/Makefile docs/devel/Makefile docs/internals/Makefile docs/api/Makefile linc2/Makefile linc2/src/Makefile linc2/test/Makefile linc2/include/Makefile linc2/include/linc/Makefile linc2/include/linc/linc-config.h" 13914 13915 13916cat >confcache <<\_ACEOF 13917# This file is a shell script that caches the results of configure 13918# tests run on this system so they can be shared between configure 13919# scripts and configure runs, see configure's option --config-cache. 13920# It is not useful on other systems. If it contains results you don't 13921# want to keep, you may remove or edit it. 13922# 13923# config.status only pays attention to the cache file if you give it 13924# the --recheck option to rerun configure. 13925# 13926# `ac_cv_env_foo' variables (set or unset) will be overridden when 13927# loading this file, other *unset* `ac_cv_foo' will be assigned the 13928# following values. 13929 13930_ACEOF 13931 13932# The following way of writing the cache mishandles newlines in values, 13933# but we know of no workaround that is simple, portable, and efficient. 13934# So, we kill variables containing newlines. 13935# Ultrix sh set writes to stderr and can't be redirected directly, 13936# and sets the high bit in the cache file unless we assign to the vars. 13937( 13938 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 13939 eval ac_val=\$$ac_var 13940 case $ac_val in #( 13941 *${as_nl}*) 13942 case $ac_var in #( 13943 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 13944$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 13945 esac 13946 case $ac_var in #( 13947 _ | IFS | as_nl) ;; #( 13948 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 13949 *) { eval $ac_var=; unset $ac_var;} ;; 13950 esac ;; 13951 esac 13952 done 13953 13954 (set) 2>&1 | 13955 case $as_nl`(ac_space=' '; set) 2>&1` in #( 13956 *${as_nl}ac_space=\ *) 13957 # `set' does not quote correctly, so add quotes: double-quote 13958 # substitution turns \\\\ into \\, and sed turns \\ into \. 13959 sed -n \ 13960 "s/'/'\\\\''/g; 13961 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 13962 ;; #( 13963 *) 13964 # `set' quotes correctly as required by POSIX, so do not add quotes. 13965 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 13966 ;; 13967 esac | 13968 sort 13969) | 13970 sed ' 13971 /^ac_cv_env_/b end 13972 t clear 13973 :clear 13974 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 13975 t end 13976 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 13977 :end' >>confcache 13978if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 13979 if test -w "$cache_file"; then 13980 test "x$cache_file" != "x/dev/null" && 13981 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 13982$as_echo "$as_me: updating cache $cache_file" >&6;} 13983 cat confcache >$cache_file 13984 else 13985 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 13986$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 13987 fi 13988fi 13989rm -f confcache 13990 13991test "x$prefix" = xNONE && prefix=$ac_default_prefix 13992# Let make expand exec_prefix. 13993test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 13994 13995DEFS=-DHAVE_CONFIG_H 13996 13997ac_libobjs= 13998ac_ltlibobjs= 13999U= 14000for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 14001 # 1. Remove the extension, and $U if already installed. 14002 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 14003 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 14004 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 14005 # will be set to the directory where LIBOBJS objects are built. 14006 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 14007 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 14008done 14009LIBOBJS=$ac_libobjs 14010 14011LTLIBOBJS=$ac_ltlibobjs 14012 14013 14014 if test -n "$EXEEXT"; then 14015 am__EXEEXT_TRUE= 14016 am__EXEEXT_FALSE='#' 14017else 14018 am__EXEEXT_TRUE='#' 14019 am__EXEEXT_FALSE= 14020fi 14021 14022if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then 14023 as_fn_error $? "conditional \"OS_WIN32\" was never defined. 14024Usually this means the macro was only invoked conditionally." "$LINENO" 5 14025fi 14026if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 14027 as_fn_error $? "conditional \"AMDEP\" was never defined. 14028Usually this means the macro was only invoked conditionally." "$LINENO" 5 14029fi 14030if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 14031 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 14032Usually this means the macro was only invoked conditionally." "$LINENO" 5 14033fi 14034if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 14035 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 14036Usually this means the macro was only invoked conditionally." "$LINENO" 5 14037fi 14038if test -z "${ENABLE_HTTP_TRUE}" && test -z "${ENABLE_HTTP_FALSE}"; then 14039 as_fn_error $? "conditional \"ENABLE_HTTP\" was never defined. 14040Usually this means the macro was only invoked conditionally." "$LINENO" 5 14041fi 14042 14043if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then 14044 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined. 14045Usually this means the macro was only invoked conditionally." "$LINENO" 5 14046fi 14047if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then 14048 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined. 14049Usually this means the macro was only invoked conditionally." "$LINENO" 5 14050fi 14051if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then 14052 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined. 14053Usually this means the macro was only invoked conditionally." "$LINENO" 5 14054fi 14055if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then 14056 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined. 14057Usually this means the macro was only invoked conditionally." "$LINENO" 5 14058fi 14059if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then 14060 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined. 14061Usually this means the macro was only invoked conditionally." "$LINENO" 5 14062fi 14063 14064: ${CONFIG_STATUS=./config.status} 14065ac_write_fail=0 14066ac_clean_files_save=$ac_clean_files 14067ac_clean_files="$ac_clean_files $CONFIG_STATUS" 14068{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 14069$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 14070as_write_fail=0 14071cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 14072#! $SHELL 14073# Generated by $as_me. 14074# Run this file to recreate the current configuration. 14075# Compiler output produced by configure, useful for debugging 14076# configure, is in config.log if it exists. 14077 14078debug=false 14079ac_cs_recheck=false 14080ac_cs_silent=false 14081 14082SHELL=\${CONFIG_SHELL-$SHELL} 14083export SHELL 14084_ASEOF 14085cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 14086## -------------------- ## 14087## M4sh Initialization. ## 14088## -------------------- ## 14089 14090# Be more Bourne compatible 14091DUALCASE=1; export DUALCASE # for MKS sh 14092if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 14093 emulate sh 14094 NULLCMD=: 14095 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 14096 # is contrary to our usage. Disable this feature. 14097 alias -g '${1+"$@"}'='"$@"' 14098 setopt NO_GLOB_SUBST 14099else 14100 case `(set -o) 2>/dev/null` in #( 14101 *posix*) : 14102 set -o posix ;; #( 14103 *) : 14104 ;; 14105esac 14106fi 14107 14108 14109as_nl=' 14110' 14111export as_nl 14112# Printing a long string crashes Solaris 7 /usr/bin/printf. 14113as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 14114as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 14115as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 14116# Prefer a ksh shell builtin over an external printf program on Solaris, 14117# but without wasting forks for bash or zsh. 14118if test -z "$BASH_VERSION$ZSH_VERSION" \ 14119 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 14120 as_echo='print -r --' 14121 as_echo_n='print -rn --' 14122elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 14123 as_echo='printf %s\n' 14124 as_echo_n='printf %s' 14125else 14126 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 14127 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 14128 as_echo_n='/usr/ucb/echo -n' 14129 else 14130 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 14131 as_echo_n_body='eval 14132 arg=$1; 14133 case $arg in #( 14134 *"$as_nl"*) 14135 expr "X$arg" : "X\\(.*\\)$as_nl"; 14136 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 14137 esac; 14138 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 14139 ' 14140 export as_echo_n_body 14141 as_echo_n='sh -c $as_echo_n_body as_echo' 14142 fi 14143 export as_echo_body 14144 as_echo='sh -c $as_echo_body as_echo' 14145fi 14146 14147# The user is always right. 14148if test "${PATH_SEPARATOR+set}" != set; then 14149 PATH_SEPARATOR=: 14150 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 14151 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 14152 PATH_SEPARATOR=';' 14153 } 14154fi 14155 14156 14157# IFS 14158# We need space, tab and new line, in precisely that order. Quoting is 14159# there to prevent editors from complaining about space-tab. 14160# (If _AS_PATH_WALK were called with IFS unset, it would disable word 14161# splitting by setting IFS to empty value.) 14162IFS=" "" $as_nl" 14163 14164# Find who we are. Look in the path if we contain no directory separator. 14165case $0 in #(( 14166 *[\\/]* ) as_myself=$0 ;; 14167 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14168for as_dir in $PATH 14169do 14170 IFS=$as_save_IFS 14171 test -z "$as_dir" && as_dir=. 14172 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 14173 done 14174IFS=$as_save_IFS 14175 14176 ;; 14177esac 14178# We did not find ourselves, most probably we were run as `sh COMMAND' 14179# in which case we are not to be found in the path. 14180if test "x$as_myself" = x; then 14181 as_myself=$0 14182fi 14183if test ! -f "$as_myself"; then 14184 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 14185 exit 1 14186fi 14187 14188# Unset variables that we do not need and which cause bugs (e.g. in 14189# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 14190# suppresses any "Segmentation fault" message there. '((' could 14191# trigger a bug in pdksh 5.2.14. 14192for as_var in BASH_ENV ENV MAIL MAILPATH 14193do eval test x\${$as_var+set} = xset \ 14194 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 14195done 14196PS1='$ ' 14197PS2='> ' 14198PS4='+ ' 14199 14200# NLS nuisances. 14201LC_ALL=C 14202export LC_ALL 14203LANGUAGE=C 14204export LANGUAGE 14205 14206# CDPATH. 14207(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 14208 14209 14210# as_fn_error STATUS ERROR [LINENO LOG_FD] 14211# ---------------------------------------- 14212# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 14213# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 14214# script with STATUS, using 1 if that was 0. 14215as_fn_error () 14216{ 14217 as_status=$1; test $as_status -eq 0 && as_status=1 14218 if test "$4"; then 14219 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 14220 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 14221 fi 14222 $as_echo "$as_me: error: $2" >&2 14223 as_fn_exit $as_status 14224} # as_fn_error 14225 14226 14227# as_fn_set_status STATUS 14228# ----------------------- 14229# Set $? to STATUS, without forking. 14230as_fn_set_status () 14231{ 14232 return $1 14233} # as_fn_set_status 14234 14235# as_fn_exit STATUS 14236# ----------------- 14237# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 14238as_fn_exit () 14239{ 14240 set +e 14241 as_fn_set_status $1 14242 exit $1 14243} # as_fn_exit 14244 14245# as_fn_unset VAR 14246# --------------- 14247# Portably unset VAR. 14248as_fn_unset () 14249{ 14250 { eval $1=; unset $1;} 14251} 14252as_unset=as_fn_unset 14253# as_fn_append VAR VALUE 14254# ---------------------- 14255# Append the text in VALUE to the end of the definition contained in VAR. Take 14256# advantage of any shell optimizations that allow amortized linear growth over 14257# repeated appends, instead of the typical quadratic growth present in naive 14258# implementations. 14259if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 14260 eval 'as_fn_append () 14261 { 14262 eval $1+=\$2 14263 }' 14264else 14265 as_fn_append () 14266 { 14267 eval $1=\$$1\$2 14268 } 14269fi # as_fn_append 14270 14271# as_fn_arith ARG... 14272# ------------------ 14273# Perform arithmetic evaluation on the ARGs, and store the result in the 14274# global $as_val. Take advantage of shells that can avoid forks. The arguments 14275# must be portable across $(()) and expr. 14276if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 14277 eval 'as_fn_arith () 14278 { 14279 as_val=$(( $* )) 14280 }' 14281else 14282 as_fn_arith () 14283 { 14284 as_val=`expr "$@" || test $? -eq 1` 14285 } 14286fi # as_fn_arith 14287 14288 14289if expr a : '\(a\)' >/dev/null 2>&1 && 14290 test "X`expr 00001 : '.*\(...\)'`" = X001; then 14291 as_expr=expr 14292else 14293 as_expr=false 14294fi 14295 14296if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 14297 as_basename=basename 14298else 14299 as_basename=false 14300fi 14301 14302if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 14303 as_dirname=dirname 14304else 14305 as_dirname=false 14306fi 14307 14308as_me=`$as_basename -- "$0" || 14309$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 14310 X"$0" : 'X\(//\)$' \| \ 14311 X"$0" : 'X\(/\)' \| . 2>/dev/null || 14312$as_echo X/"$0" | 14313 sed '/^.*\/\([^/][^/]*\)\/*$/{ 14314 s//\1/ 14315 q 14316 } 14317 /^X\/\(\/\/\)$/{ 14318 s//\1/ 14319 q 14320 } 14321 /^X\/\(\/\).*/{ 14322 s//\1/ 14323 q 14324 } 14325 s/.*/./; q'` 14326 14327# Avoid depending upon Character Ranges. 14328as_cr_letters='abcdefghijklmnopqrstuvwxyz' 14329as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 14330as_cr_Letters=$as_cr_letters$as_cr_LETTERS 14331as_cr_digits='0123456789' 14332as_cr_alnum=$as_cr_Letters$as_cr_digits 14333 14334ECHO_C= ECHO_N= ECHO_T= 14335case `echo -n x` in #((((( 14336-n*) 14337 case `echo 'xy\c'` in 14338 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 14339 xy) ECHO_C='\c';; 14340 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 14341 ECHO_T=' ';; 14342 esac;; 14343*) 14344 ECHO_N='-n';; 14345esac 14346 14347rm -f conf$$ conf$$.exe conf$$.file 14348if test -d conf$$.dir; then 14349 rm -f conf$$.dir/conf$$.file 14350else 14351 rm -f conf$$.dir 14352 mkdir conf$$.dir 2>/dev/null 14353fi 14354if (echo >conf$$.file) 2>/dev/null; then 14355 if ln -s conf$$.file conf$$ 2>/dev/null; then 14356 as_ln_s='ln -s' 14357 # ... but there are two gotchas: 14358 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 14359 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 14360 # In both cases, we have to default to `cp -p'. 14361 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 14362 as_ln_s='cp -p' 14363 elif ln conf$$.file conf$$ 2>/dev/null; then 14364 as_ln_s=ln 14365 else 14366 as_ln_s='cp -p' 14367 fi 14368else 14369 as_ln_s='cp -p' 14370fi 14371rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 14372rmdir conf$$.dir 2>/dev/null 14373 14374 14375# as_fn_mkdir_p 14376# ------------- 14377# Create "$as_dir" as a directory, including parents if necessary. 14378as_fn_mkdir_p () 14379{ 14380 14381 case $as_dir in #( 14382 -*) as_dir=./$as_dir;; 14383 esac 14384 test -d "$as_dir" || eval $as_mkdir_p || { 14385 as_dirs= 14386 while :; do 14387 case $as_dir in #( 14388 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 14389 *) as_qdir=$as_dir;; 14390 esac 14391 as_dirs="'$as_qdir' $as_dirs" 14392 as_dir=`$as_dirname -- "$as_dir" || 14393$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14394 X"$as_dir" : 'X\(//\)[^/]' \| \ 14395 X"$as_dir" : 'X\(//\)$' \| \ 14396 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 14397$as_echo X"$as_dir" | 14398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14399 s//\1/ 14400 q 14401 } 14402 /^X\(\/\/\)[^/].*/{ 14403 s//\1/ 14404 q 14405 } 14406 /^X\(\/\/\)$/{ 14407 s//\1/ 14408 q 14409 } 14410 /^X\(\/\).*/{ 14411 s//\1/ 14412 q 14413 } 14414 s/.*/./; q'` 14415 test -d "$as_dir" && break 14416 done 14417 test -z "$as_dirs" || eval "mkdir $as_dirs" 14418 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 14419 14420 14421} # as_fn_mkdir_p 14422if mkdir -p . 2>/dev/null; then 14423 as_mkdir_p='mkdir -p "$as_dir"' 14424else 14425 test -d ./-p && rmdir ./-p 14426 as_mkdir_p=false 14427fi 14428 14429if test -x / >/dev/null 2>&1; then 14430 as_test_x='test -x' 14431else 14432 if ls -dL / >/dev/null 2>&1; then 14433 as_ls_L_option=L 14434 else 14435 as_ls_L_option= 14436 fi 14437 as_test_x=' 14438 eval sh -c '\'' 14439 if test -d "$1"; then 14440 test -d "$1/."; 14441 else 14442 case $1 in #( 14443 -*)set "./$1";; 14444 esac; 14445 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 14446 ???[sx]*):;;*)false;;esac;fi 14447 '\'' sh 14448 ' 14449fi 14450as_executable_p=$as_test_x 14451 14452# Sed expression to map a string onto a valid CPP name. 14453as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 14454 14455# Sed expression to map a string onto a valid variable name. 14456as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 14457 14458 14459exec 6>&1 14460## ----------------------------------- ## 14461## Main body of $CONFIG_STATUS script. ## 14462## ----------------------------------- ## 14463_ASEOF 14464test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 14465 14466cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14467# Save the log message, to keep $0 and so on meaningful, and to 14468# report actual input values of CONFIG_FILES etc. instead of their 14469# values after options handling. 14470ac_log=" 14471This file was extended by ORBit2 $as_me 2.14.19, which was 14472generated by GNU Autoconf 2.67. Invocation command line was 14473 14474 CONFIG_FILES = $CONFIG_FILES 14475 CONFIG_HEADERS = $CONFIG_HEADERS 14476 CONFIG_LINKS = $CONFIG_LINKS 14477 CONFIG_COMMANDS = $CONFIG_COMMANDS 14478 $ $0 $@ 14479 14480on `(hostname || uname -n) 2>/dev/null | sed 1q` 14481" 14482 14483_ACEOF 14484 14485case $ac_config_files in *" 14486"*) set x $ac_config_files; shift; ac_config_files=$*;; 14487esac 14488 14489case $ac_config_headers in *" 14490"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 14491esac 14492 14493 14494cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14495# Files that config.status was made for. 14496config_files="$ac_config_files" 14497config_headers="$ac_config_headers" 14498config_commands="$ac_config_commands" 14499 14500_ACEOF 14501 14502cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14503ac_cs_usage="\ 14504\`$as_me' instantiates files and other configuration actions 14505from templates according to the current configuration. Unless the files 14506and actions are specified as TAGs, all are instantiated by default. 14507 14508Usage: $0 [OPTION]... [TAG]... 14509 14510 -h, --help print this help, then exit 14511 -V, --version print version number and configuration settings, then exit 14512 --config print configuration, then exit 14513 -q, --quiet, --silent 14514 do not print progress messages 14515 -d, --debug don't remove temporary files 14516 --recheck update $as_me by reconfiguring in the same conditions 14517 --file=FILE[:TEMPLATE] 14518 instantiate the configuration file FILE 14519 --header=FILE[:TEMPLATE] 14520 instantiate the configuration header FILE 14521 14522Configuration files: 14523$config_files 14524 14525Configuration headers: 14526$config_headers 14527 14528Configuration commands: 14529$config_commands 14530 14531Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=ORBit2>." 14532 14533_ACEOF 14534cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14535ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 14536ac_cs_version="\\ 14537ORBit2 config.status 2.14.19 14538configured by $0, generated by GNU Autoconf 2.67, 14539 with options \\"\$ac_cs_config\\" 14540 14541Copyright (C) 2010 Free Software Foundation, Inc. 14542This config.status script is free software; the Free Software Foundation 14543gives unlimited permission to copy, distribute and modify it." 14544 14545ac_pwd='$ac_pwd' 14546srcdir='$srcdir' 14547INSTALL='$INSTALL' 14548MKDIR_P='$MKDIR_P' 14549AWK='$AWK' 14550test -n "\$AWK" || AWK=awk 14551_ACEOF 14552 14553cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14554# The default lists apply if the user does not specify any file. 14555ac_need_defaults=: 14556while test $# != 0 14557do 14558 case $1 in 14559 --*=?*) 14560 ac_option=`expr "X$1" : 'X\([^=]*\)='` 14561 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 14562 ac_shift=: 14563 ;; 14564 --*=) 14565 ac_option=`expr "X$1" : 'X\([^=]*\)='` 14566 ac_optarg= 14567 ac_shift=: 14568 ;; 14569 *) 14570 ac_option=$1 14571 ac_optarg=$2 14572 ac_shift=shift 14573 ;; 14574 esac 14575 14576 case $ac_option in 14577 # Handling of the options. 14578 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 14579 ac_cs_recheck=: ;; 14580 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 14581 $as_echo "$ac_cs_version"; exit ;; 14582 --config | --confi | --conf | --con | --co | --c ) 14583 $as_echo "$ac_cs_config"; exit ;; 14584 --debug | --debu | --deb | --de | --d | -d ) 14585 debug=: ;; 14586 --file | --fil | --fi | --f ) 14587 $ac_shift 14588 case $ac_optarg in 14589 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 14590 '') as_fn_error $? "missing file argument" ;; 14591 esac 14592 as_fn_append CONFIG_FILES " '$ac_optarg'" 14593 ac_need_defaults=false;; 14594 --header | --heade | --head | --hea ) 14595 $ac_shift 14596 case $ac_optarg in 14597 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 14598 esac 14599 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 14600 ac_need_defaults=false;; 14601 --he | --h) 14602 # Conflict between --help and --header 14603 as_fn_error $? "ambiguous option: \`$1' 14604Try \`$0 --help' for more information.";; 14605 --help | --hel | -h ) 14606 $as_echo "$ac_cs_usage"; exit ;; 14607 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 14608 | -silent | --silent | --silen | --sile | --sil | --si | --s) 14609 ac_cs_silent=: ;; 14610 14611 # This is an error. 14612 -*) as_fn_error $? "unrecognized option: \`$1' 14613Try \`$0 --help' for more information." ;; 14614 14615 *) as_fn_append ac_config_targets " $1" 14616 ac_need_defaults=false ;; 14617 14618 esac 14619 shift 14620done 14621 14622ac_configure_extra_args= 14623 14624if $ac_cs_silent; then 14625 exec 6>/dev/null 14626 ac_configure_extra_args="$ac_configure_extra_args --silent" 14627fi 14628 14629_ACEOF 14630cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14631if \$ac_cs_recheck; then 14632 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 14633 shift 14634 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 14635 CONFIG_SHELL='$SHELL' 14636 export CONFIG_SHELL 14637 exec "\$@" 14638fi 14639 14640_ACEOF 14641cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14642exec 5>>config.log 14643{ 14644 echo 14645 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 14646## Running $as_me. ## 14647_ASBOX 14648 $as_echo "$ac_log" 14649} >&5 14650 14651_ACEOF 14652cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14653# 14654# INIT-COMMANDS 14655# 14656AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 14657 14658 14659# The HP-UX ksh and POSIX shell print the target directory to stdout 14660# if CDPATH is set. 14661(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 14662 14663sed_quote_subst='$sed_quote_subst' 14664double_quote_subst='$double_quote_subst' 14665delay_variable_subst='$delay_variable_subst' 14666AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`' 14667DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`' 14668OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' 14669macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' 14670macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' 14671enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' 14672enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' 14673pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' 14674enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' 14675host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' 14676host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' 14677host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' 14678build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' 14679build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' 14680build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' 14681SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' 14682Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' 14683GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' 14684EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' 14685FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' 14686LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' 14687NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' 14688LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' 14689max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' 14690ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' 14691exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' 14692lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' 14693lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' 14694lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' 14695reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' 14696reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14697deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' 14698file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' 14699AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' 14700AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' 14701STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' 14702RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' 14703old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14704old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14705old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14706CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' 14707CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' 14708compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' 14709GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' 14710lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' 14711lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' 14712lt_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"`' 14713lt_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"`' 14714objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' 14715SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' 14716ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' 14717MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' 14718lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' 14719lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' 14720lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' 14721lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' 14722lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' 14723need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' 14724DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' 14725NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' 14726LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' 14727OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' 14728OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' 14729libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' 14730shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14731extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14732archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' 14733enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' 14734export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 14735whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 14736compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' 14737old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14738old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14739archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14740archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14741module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14742module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14743with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' 14744allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 14745no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 14746hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 14747hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' 14748hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' 14749hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' 14750hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' 14751hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' 14752hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 14753hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' 14754inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' 14755link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' 14756fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' 14757always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' 14758export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14759exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 14760include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 14761prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14762file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' 14763variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' 14764need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' 14765need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' 14766version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' 14767runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' 14768shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 14769shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' 14770libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' 14771library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' 14772soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' 14773postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14774postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14775finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14776finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' 14777hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' 14778sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 14779sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 14780hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' 14781enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' 14782enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' 14783enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' 14784old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' 14785striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' 14786 14787LTCC='$LTCC' 14788LTCFLAGS='$LTCFLAGS' 14789compiler='$compiler_DEFAULT' 14790 14791# Quote evaled strings. 14792for var in SED \ 14793GREP \ 14794EGREP \ 14795FGREP \ 14796LD \ 14797NM \ 14798LN_S \ 14799lt_SP2NL \ 14800lt_NL2SP \ 14801reload_flag \ 14802deplibs_check_method \ 14803file_magic_cmd \ 14804AR \ 14805AR_FLAGS \ 14806STRIP \ 14807RANLIB \ 14808CC \ 14809CFLAGS \ 14810compiler \ 14811lt_cv_sys_global_symbol_pipe \ 14812lt_cv_sys_global_symbol_to_cdecl \ 14813lt_cv_sys_global_symbol_to_c_name_address \ 14814lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 14815SHELL \ 14816ECHO \ 14817lt_prog_compiler_no_builtin_flag \ 14818lt_prog_compiler_wl \ 14819lt_prog_compiler_pic \ 14820lt_prog_compiler_static \ 14821lt_cv_prog_compiler_c_o \ 14822need_locks \ 14823DSYMUTIL \ 14824NMEDIT \ 14825LIPO \ 14826OTOOL \ 14827OTOOL64 \ 14828shrext_cmds \ 14829export_dynamic_flag_spec \ 14830whole_archive_flag_spec \ 14831compiler_needs_object \ 14832with_gnu_ld \ 14833allow_undefined_flag \ 14834no_undefined_flag \ 14835hardcode_libdir_flag_spec \ 14836hardcode_libdir_flag_spec_ld \ 14837hardcode_libdir_separator \ 14838fix_srcfile_path \ 14839exclude_expsyms \ 14840include_expsyms \ 14841file_list_spec \ 14842variables_saved_for_relink \ 14843libname_spec \ 14844library_names_spec \ 14845soname_spec \ 14846finish_eval \ 14847old_striplib \ 14848striplib; do 14849 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 14850 *[\\\\\\\`\\"\\\$]*) 14851 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 14852 ;; 14853 *) 14854 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14855 ;; 14856 esac 14857done 14858 14859# Double-quote double-evaled strings. 14860for var in reload_cmds \ 14861old_postinstall_cmds \ 14862old_postuninstall_cmds \ 14863old_archive_cmds \ 14864extract_expsyms_cmds \ 14865old_archive_from_new_cmds \ 14866old_archive_from_expsyms_cmds \ 14867archive_cmds \ 14868archive_expsym_cmds \ 14869module_cmds \ 14870module_expsym_cmds \ 14871export_symbols_cmds \ 14872prelink_cmds \ 14873postinstall_cmds \ 14874postuninstall_cmds \ 14875finish_cmds \ 14876sys_lib_search_path_spec \ 14877sys_lib_dlsearch_path_spec; do 14878 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 14879 *[\\\\\\\`\\"\\\$]*) 14880 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 14881 ;; 14882 *) 14883 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14884 ;; 14885 esac 14886done 14887 14888# Fix-up fallback echo if it was mangled by the above quoting rules. 14889case \$lt_ECHO in 14890*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` 14891 ;; 14892esac 14893 14894ac_aux_dir='$ac_aux_dir' 14895xsi_shell='$xsi_shell' 14896lt_shell_append='$lt_shell_append' 14897 14898# See if we are running on zsh, and set the options which allow our 14899# commands through without removal of \ escapes INIT. 14900if test -n "\${ZSH_VERSION+set}" ; then 14901 setopt NO_GLOB_SUBST 14902fi 14903 14904 14905 PACKAGE='$PACKAGE' 14906 VERSION='$VERSION' 14907 TIMESTAMP='$TIMESTAMP' 14908 RM='$RM' 14909 ofile='$ofile' 14910 14911 14912 14913 14914_ACEOF 14915 14916cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14917 14918# Handling of arguments. 14919for ac_config_target in $ac_config_targets 14920do 14921 case $ac_config_target in 14922 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 14923 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 14924 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 14925 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 14926 "orbit2-config") CONFIG_FILES="$CONFIG_FILES orbit2-config" ;; 14927 "ORBit-2.0.pc") CONFIG_FILES="$CONFIG_FILES ORBit-2.0.pc" ;; 14928 "ORBit-2.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES ORBit-2.0-uninstalled.pc" ;; 14929 "ORBit-CosNaming-2.0.pc") CONFIG_FILES="$CONFIG_FILES ORBit-CosNaming-2.0.pc" ;; 14930 "ORBit-CosNaming-2.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES ORBit-CosNaming-2.0-uninstalled.pc" ;; 14931 "ORBit-imodule-2.0.pc") CONFIG_FILES="$CONFIG_FILES ORBit-imodule-2.0.pc" ;; 14932 "ORBit-imodule-2.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES ORBit-imodule-2.0-uninstalled.pc" ;; 14933 "ORBit.spec") CONFIG_FILES="$CONFIG_FILES ORBit.spec" ;; 14934 "orbit2-zip") CONFIG_FILES="$CONFIG_FILES orbit2-zip" ;; 14935 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 14936 "src/idl-compiler/Makefile") CONFIG_FILES="$CONFIG_FILES src/idl-compiler/Makefile" ;; 14937 "src/idl-compiler/ORBit-idl-2.0.pc") CONFIG_FILES="$CONFIG_FILES src/idl-compiler/ORBit-idl-2.0.pc" ;; 14938 "src/idl/Makefile") CONFIG_FILES="$CONFIG_FILES src/idl/Makefile" ;; 14939 "src/idl/CORBA/Makefile") CONFIG_FILES="$CONFIG_FILES src/idl/CORBA/Makefile" ;; 14940 "src/idl/CORBA_PIDL/Makefile") CONFIG_FILES="$CONFIG_FILES src/idl/CORBA_PIDL/Makefile" ;; 14941 "src/idl/interop/Makefile") CONFIG_FILES="$CONFIG_FILES src/idl/interop/Makefile" ;; 14942 "src/idl/misc/Makefile") CONFIG_FILES="$CONFIG_FILES src/idl/misc/Makefile" ;; 14943 "src/orb/Makefile") CONFIG_FILES="$CONFIG_FILES src/orb/Makefile" ;; 14944 "src/orb/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/orb/include/Makefile" ;; 14945 "src/orb/util/Makefile") CONFIG_FILES="$CONFIG_FILES src/orb/util/Makefile" ;; 14946 "src/orb/GIOP/Makefile") CONFIG_FILES="$CONFIG_FILES src/orb/GIOP/Makefile" ;; 14947 "src/orb/orb-core/Makefile") CONFIG_FILES="$CONFIG_FILES src/orb/orb-core/Makefile" ;; 14948 "src/orb/dynamic/Makefile") CONFIG_FILES="$CONFIG_FILES src/orb/dynamic/Makefile" ;; 14949 "src/orb/poa/Makefile") CONFIG_FILES="$CONFIG_FILES src/orb/poa/Makefile" ;; 14950 "src/services/Makefile") CONFIG_FILES="$CONFIG_FILES src/services/Makefile" ;; 14951 "src/services/name/Makefile") CONFIG_FILES="$CONFIG_FILES src/services/name/Makefile" ;; 14952 "src/services/imodule/Makefile") CONFIG_FILES="$CONFIG_FILES src/services/imodule/Makefile" ;; 14953 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; 14954 "include/orbit/Makefile") CONFIG_FILES="$CONFIG_FILES include/orbit/Makefile" ;; 14955 "include/orbit/orbit-config.h") CONFIG_FILES="$CONFIG_FILES include/orbit/orbit-config.h" ;; 14956 "include/orbit/GIOP/Makefile") CONFIG_FILES="$CONFIG_FILES include/orbit/GIOP/Makefile" ;; 14957 "include/orbit/util/Makefile") CONFIG_FILES="$CONFIG_FILES include/orbit/util/Makefile" ;; 14958 "include/orbit/orb-core/Makefile") CONFIG_FILES="$CONFIG_FILES include/orbit/orb-core/Makefile" ;; 14959 "include/orbit/poa/Makefile") CONFIG_FILES="$CONFIG_FILES include/orbit/poa/Makefile" ;; 14960 "include/orbit/dynamic/Makefile") CONFIG_FILES="$CONFIG_FILES include/orbit/dynamic/Makefile" ;; 14961 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; 14962 "test/everything/Makefile") CONFIG_FILES="$CONFIG_FILES test/everything/Makefile" ;; 14963 "test/inhibit/Makefile") CONFIG_FILES="$CONFIG_FILES test/inhibit/Makefile" ;; 14964 "test/poa/Makefile") CONFIG_FILES="$CONFIG_FILES test/poa/Makefile" ;; 14965 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; 14966 "docs/devel/Makefile") CONFIG_FILES="$CONFIG_FILES docs/devel/Makefile" ;; 14967 "docs/internals/Makefile") CONFIG_FILES="$CONFIG_FILES docs/internals/Makefile" ;; 14968 "docs/api/Makefile") CONFIG_FILES="$CONFIG_FILES docs/api/Makefile" ;; 14969 "linc2/Makefile") CONFIG_FILES="$CONFIG_FILES linc2/Makefile" ;; 14970 "linc2/src/Makefile") CONFIG_FILES="$CONFIG_FILES linc2/src/Makefile" ;; 14971 "linc2/test/Makefile") CONFIG_FILES="$CONFIG_FILES linc2/test/Makefile" ;; 14972 "linc2/include/Makefile") CONFIG_FILES="$CONFIG_FILES linc2/include/Makefile" ;; 14973 "linc2/include/linc/Makefile") CONFIG_FILES="$CONFIG_FILES linc2/include/linc/Makefile" ;; 14974 "linc2/include/linc/linc-config.h") CONFIG_FILES="$CONFIG_FILES linc2/include/linc/linc-config.h" ;; 14975 14976 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 14977 esac 14978done 14979 14980 14981# If the user did not use the arguments to specify the items to instantiate, 14982# then the envvar interface is used. Set only those that are not. 14983# We use the long form for the default assignment because of an extremely 14984# bizarre bug on SunOS 4.1.3. 14985if $ac_need_defaults; then 14986 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 14987 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 14988 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 14989fi 14990 14991# Have a temporary directory for convenience. Make it in the build tree 14992# simply because there is no reason against having it here, and in addition, 14993# creating and moving files from /tmp can sometimes cause problems. 14994# Hook for its removal unless debugging. 14995# Note that there is a small window in which the directory will not be cleaned: 14996# after its creation but before its name has been assigned to `$tmp'. 14997$debug || 14998{ 14999 tmp= 15000 trap 'exit_status=$? 15001 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 15002' 0 15003 trap 'as_fn_exit 1' 1 2 13 15 15004} 15005# Create a (secure) tmp directory for tmp files. 15006 15007{ 15008 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 15009 test -n "$tmp" && test -d "$tmp" 15010} || 15011{ 15012 tmp=./conf$$-$RANDOM 15013 (umask 077 && mkdir "$tmp") 15014} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 15015 15016# Set up the scripts for CONFIG_FILES section. 15017# No need to generate them if there are no CONFIG_FILES. 15018# This happens for instance with `./config.status config.h'. 15019if test -n "$CONFIG_FILES"; then 15020 15021 15022ac_cr=`echo X | tr X '\015'` 15023# On cygwin, bash can eat \r inside `` if the user requested igncr. 15024# But we know of no other shell where ac_cr would be empty at this 15025# point, so we can use a bashism as a fallback. 15026if test "x$ac_cr" = x; then 15027 eval ac_cr=\$\'\\r\' 15028fi 15029ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 15030if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 15031 ac_cs_awk_cr='\\r' 15032else 15033 ac_cs_awk_cr=$ac_cr 15034fi 15035 15036echo 'BEGIN {' >"$tmp/subs1.awk" && 15037_ACEOF 15038 15039 15040{ 15041 echo "cat >conf$$subs.awk <<_ACEOF" && 15042 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 15043 echo "_ACEOF" 15044} >conf$$subs.sh || 15045 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 15046ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 15047ac_delim='%!_!# ' 15048for ac_last_try in false false false false false :; do 15049 . ./conf$$subs.sh || 15050 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 15051 15052 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 15053 if test $ac_delim_n = $ac_delim_num; then 15054 break 15055 elif $ac_last_try; then 15056 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 15057 else 15058 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 15059 fi 15060done 15061rm -f conf$$subs.sh 15062 15063cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15064cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 15065_ACEOF 15066sed -n ' 15067h 15068s/^/S["/; s/!.*/"]=/ 15069p 15070g 15071s/^[^!]*!// 15072:repl 15073t repl 15074s/'"$ac_delim"'$// 15075t delim 15076:nl 15077h 15078s/\(.\{148\}\)..*/\1/ 15079t more1 15080s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 15081p 15082n 15083b repl 15084:more1 15085s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 15086p 15087g 15088s/.\{148\}// 15089t nl 15090:delim 15091h 15092s/\(.\{148\}\)..*/\1/ 15093t more2 15094s/["\\]/\\&/g; s/^/"/; s/$/"/ 15095p 15096b 15097:more2 15098s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 15099p 15100g 15101s/.\{148\}// 15102t delim 15103' <conf$$subs.awk | sed ' 15104/^[^""]/{ 15105 N 15106 s/\n// 15107} 15108' >>$CONFIG_STATUS || ac_write_fail=1 15109rm -f conf$$subs.awk 15110cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15111_ACAWK 15112cat >>"\$tmp/subs1.awk" <<_ACAWK && 15113 for (key in S) S_is_set[key] = 1 15114 FS = "" 15115 15116} 15117{ 15118 line = $ 0 15119 nfields = split(line, field, "@") 15120 substed = 0 15121 len = length(field[1]) 15122 for (i = 2; i < nfields; i++) { 15123 key = field[i] 15124 keylen = length(key) 15125 if (S_is_set[key]) { 15126 value = S[key] 15127 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 15128 len += length(value) + length(field[++i]) 15129 substed = 1 15130 } else 15131 len += 1 + keylen 15132 } 15133 15134 print line 15135} 15136 15137_ACAWK 15138_ACEOF 15139cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15140if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 15141 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 15142else 15143 cat 15144fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 15145 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 15146_ACEOF 15147 15148# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 15149# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 15150# trailing colons and then remove the whole line if VPATH becomes empty 15151# (actually we leave an empty line to preserve line numbers). 15152if test "x$srcdir" = x.; then 15153 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 15154h 15155s/// 15156s/^/:/ 15157s/[ ]*$/:/ 15158s/:\$(srcdir):/:/g 15159s/:\${srcdir}:/:/g 15160s/:@srcdir@:/:/g 15161s/^:*// 15162s/:*$// 15163x 15164s/\(=[ ]*\).*/\1/ 15165G 15166s/\n// 15167s/^[^=]*=[ ]*$// 15168}' 15169fi 15170 15171cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15172fi # test -n "$CONFIG_FILES" 15173 15174# Set up the scripts for CONFIG_HEADERS section. 15175# No need to generate them if there are no CONFIG_HEADERS. 15176# This happens for instance with `./config.status Makefile'. 15177if test -n "$CONFIG_HEADERS"; then 15178cat >"$tmp/defines.awk" <<\_ACAWK || 15179BEGIN { 15180_ACEOF 15181 15182# Transform confdefs.h into an awk script `defines.awk', embedded as 15183# here-document in config.status, that substitutes the proper values into 15184# config.h.in to produce config.h. 15185 15186# Create a delimiter string that does not exist in confdefs.h, to ease 15187# handling of long lines. 15188ac_delim='%!_!# ' 15189for ac_last_try in false false :; do 15190 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 15191 if test -z "$ac_t"; then 15192 break 15193 elif $ac_last_try; then 15194 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 15195 else 15196 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 15197 fi 15198done 15199 15200# For the awk script, D is an array of macro values keyed by name, 15201# likewise P contains macro parameters if any. Preserve backslash 15202# newline sequences. 15203 15204ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 15205sed -n ' 15206s/.\{148\}/&'"$ac_delim"'/g 15207t rset 15208:rset 15209s/^[ ]*#[ ]*define[ ][ ]*/ / 15210t def 15211d 15212:def 15213s/\\$// 15214t bsnl 15215s/["\\]/\\&/g 15216s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 15217D["\1"]=" \3"/p 15218s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 15219d 15220:bsnl 15221s/["\\]/\\&/g 15222s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 15223D["\1"]=" \3\\\\\\n"\\/p 15224t cont 15225s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 15226t cont 15227d 15228:cont 15229n 15230s/.\{148\}/&'"$ac_delim"'/g 15231t clear 15232:clear 15233s/\\$// 15234t bsnlc 15235s/["\\]/\\&/g; s/^/"/; s/$/"/p 15236d 15237:bsnlc 15238s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 15239b cont 15240' <confdefs.h | sed ' 15241s/'"$ac_delim"'/"\\\ 15242"/g' >>$CONFIG_STATUS || ac_write_fail=1 15243 15244cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15245 for (key in D) D_is_set[key] = 1 15246 FS = "" 15247} 15248/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 15249 line = \$ 0 15250 split(line, arg, " ") 15251 if (arg[1] == "#") { 15252 defundef = arg[2] 15253 mac1 = arg[3] 15254 } else { 15255 defundef = substr(arg[1], 2) 15256 mac1 = arg[2] 15257 } 15258 split(mac1, mac2, "(") #) 15259 macro = mac2[1] 15260 prefix = substr(line, 1, index(line, defundef) - 1) 15261 if (D_is_set[macro]) { 15262 # Preserve the white space surrounding the "#". 15263 print prefix "define", macro P[macro] D[macro] 15264 next 15265 } else { 15266 # Replace #undef with comments. This is necessary, for example, 15267 # in the case of _POSIX_SOURCE, which is predefined and required 15268 # on some systems where configure will not decide to define it. 15269 if (defundef == "undef") { 15270 print "/*", prefix defundef, macro, "*/" 15271 next 15272 } 15273 } 15274} 15275{ print } 15276_ACAWK 15277_ACEOF 15278cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15279 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 15280fi # test -n "$CONFIG_HEADERS" 15281 15282 15283eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 15284shift 15285for ac_tag 15286do 15287 case $ac_tag in 15288 :[FHLC]) ac_mode=$ac_tag; continue;; 15289 esac 15290 case $ac_mode$ac_tag in 15291 :[FHL]*:*);; 15292 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 15293 :[FH]-) ac_tag=-:-;; 15294 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 15295 esac 15296 ac_save_IFS=$IFS 15297 IFS=: 15298 set x $ac_tag 15299 IFS=$ac_save_IFS 15300 shift 15301 ac_file=$1 15302 shift 15303 15304 case $ac_mode in 15305 :L) ac_source=$1;; 15306 :[FH]) 15307 ac_file_inputs= 15308 for ac_f 15309 do 15310 case $ac_f in 15311 -) ac_f="$tmp/stdin";; 15312 *) # Look for the file first in the build tree, then in the source tree 15313 # (if the path is not absolute). The absolute path cannot be DOS-style, 15314 # because $ac_f cannot contain `:'. 15315 test -f "$ac_f" || 15316 case $ac_f in 15317 [\\/$]*) false;; 15318 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 15319 esac || 15320 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 15321 esac 15322 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 15323 as_fn_append ac_file_inputs " '$ac_f'" 15324 done 15325 15326 # Let's still pretend it is `configure' which instantiates (i.e., don't 15327 # use $as_me), people would be surprised to read: 15328 # /* config.h. Generated by config.status. */ 15329 configure_input='Generated from '` 15330 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 15331 `' by configure.' 15332 if test x"$ac_file" != x-; then 15333 configure_input="$ac_file. $configure_input" 15334 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 15335$as_echo "$as_me: creating $ac_file" >&6;} 15336 fi 15337 # Neutralize special characters interpreted by sed in replacement strings. 15338 case $configure_input in #( 15339 *\&* | *\|* | *\\* ) 15340 ac_sed_conf_input=`$as_echo "$configure_input" | 15341 sed 's/[\\\\&|]/\\\\&/g'`;; #( 15342 *) ac_sed_conf_input=$configure_input;; 15343 esac 15344 15345 case $ac_tag in 15346 *:-:* | *:-) cat >"$tmp/stdin" \ 15347 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 15348 esac 15349 ;; 15350 esac 15351 15352 ac_dir=`$as_dirname -- "$ac_file" || 15353$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15354 X"$ac_file" : 'X\(//\)[^/]' \| \ 15355 X"$ac_file" : 'X\(//\)$' \| \ 15356 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 15357$as_echo X"$ac_file" | 15358 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15359 s//\1/ 15360 q 15361 } 15362 /^X\(\/\/\)[^/].*/{ 15363 s//\1/ 15364 q 15365 } 15366 /^X\(\/\/\)$/{ 15367 s//\1/ 15368 q 15369 } 15370 /^X\(\/\).*/{ 15371 s//\1/ 15372 q 15373 } 15374 s/.*/./; q'` 15375 as_dir="$ac_dir"; as_fn_mkdir_p 15376 ac_builddir=. 15377 15378case "$ac_dir" in 15379.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 15380*) 15381 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 15382 # A ".." for each directory in $ac_dir_suffix. 15383 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 15384 case $ac_top_builddir_sub in 15385 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 15386 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 15387 esac ;; 15388esac 15389ac_abs_top_builddir=$ac_pwd 15390ac_abs_builddir=$ac_pwd$ac_dir_suffix 15391# for backward compatibility: 15392ac_top_builddir=$ac_top_build_prefix 15393 15394case $srcdir in 15395 .) # We are building in place. 15396 ac_srcdir=. 15397 ac_top_srcdir=$ac_top_builddir_sub 15398 ac_abs_top_srcdir=$ac_pwd ;; 15399 [\\/]* | ?:[\\/]* ) # Absolute name. 15400 ac_srcdir=$srcdir$ac_dir_suffix; 15401 ac_top_srcdir=$srcdir 15402 ac_abs_top_srcdir=$srcdir ;; 15403 *) # Relative name. 15404 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 15405 ac_top_srcdir=$ac_top_build_prefix$srcdir 15406 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 15407esac 15408ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 15409 15410 15411 case $ac_mode in 15412 :F) 15413 # 15414 # CONFIG_FILE 15415 # 15416 15417 case $INSTALL in 15418 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 15419 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 15420 esac 15421 ac_MKDIR_P=$MKDIR_P 15422 case $MKDIR_P in 15423 [\\/$]* | ?:[\\/]* ) ;; 15424 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 15425 esac 15426_ACEOF 15427 15428cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15429# If the template does not know about datarootdir, expand it. 15430# FIXME: This hack should be removed a few years after 2.60. 15431ac_datarootdir_hack=; ac_datarootdir_seen= 15432ac_sed_dataroot=' 15433/datarootdir/ { 15434 p 15435 q 15436} 15437/@datadir@/p 15438/@docdir@/p 15439/@infodir@/p 15440/@localedir@/p 15441/@mandir@/p' 15442case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 15443*datarootdir*) ac_datarootdir_seen=yes;; 15444*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 15445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 15446$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 15447_ACEOF 15448cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15449 ac_datarootdir_hack=' 15450 s&@datadir@&$datadir&g 15451 s&@docdir@&$docdir&g 15452 s&@infodir@&$infodir&g 15453 s&@localedir@&$localedir&g 15454 s&@mandir@&$mandir&g 15455 s&\\\${datarootdir}&$datarootdir&g' ;; 15456esac 15457_ACEOF 15458 15459# Neutralize VPATH when `$srcdir' = `.'. 15460# Shell code in configure.ac might set extrasub. 15461# FIXME: do we really want to maintain this feature? 15462cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15463ac_sed_extra="$ac_vpsub 15464$extrasub 15465_ACEOF 15466cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15467:t 15468/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 15469s|@configure_input@|$ac_sed_conf_input|;t t 15470s&@top_builddir@&$ac_top_builddir_sub&;t t 15471s&@top_build_prefix@&$ac_top_build_prefix&;t t 15472s&@srcdir@&$ac_srcdir&;t t 15473s&@abs_srcdir@&$ac_abs_srcdir&;t t 15474s&@top_srcdir@&$ac_top_srcdir&;t t 15475s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 15476s&@builddir@&$ac_builddir&;t t 15477s&@abs_builddir@&$ac_abs_builddir&;t t 15478s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 15479s&@INSTALL@&$ac_INSTALL&;t t 15480s&@MKDIR_P@&$ac_MKDIR_P&;t t 15481$ac_datarootdir_hack 15482" 15483eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 15484 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15485 15486test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 15487 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 15488 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 15489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 15490which seems to be undefined. Please make sure it is defined" >&5 15491$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 15492which seems to be undefined. Please make sure it is defined" >&2;} 15493 15494 rm -f "$tmp/stdin" 15495 case $ac_file in 15496 -) cat "$tmp/out" && rm -f "$tmp/out";; 15497 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 15498 esac \ 15499 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15500 ;; 15501 :H) 15502 # 15503 # CONFIG_HEADER 15504 # 15505 if test x"$ac_file" != x-; then 15506 { 15507 $as_echo "/* $configure_input */" \ 15508 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 15509 } >"$tmp/config.h" \ 15510 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15511 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 15512 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 15513$as_echo "$as_me: $ac_file is unchanged" >&6;} 15514 else 15515 rm -f "$ac_file" 15516 mv "$tmp/config.h" "$ac_file" \ 15517 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15518 fi 15519 else 15520 $as_echo "/* $configure_input */" \ 15521 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 15522 || as_fn_error $? "could not create -" "$LINENO" 5 15523 fi 15524# Compute "$ac_file"'s index in $config_headers. 15525_am_arg="$ac_file" 15526_am_stamp_count=1 15527for _am_header in $config_headers :; do 15528 case $_am_header in 15529 $_am_arg | $_am_arg:* ) 15530 break ;; 15531 * ) 15532 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 15533 esac 15534done 15535echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 15536$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15537 X"$_am_arg" : 'X\(//\)[^/]' \| \ 15538 X"$_am_arg" : 'X\(//\)$' \| \ 15539 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 15540$as_echo X"$_am_arg" | 15541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15542 s//\1/ 15543 q 15544 } 15545 /^X\(\/\/\)[^/].*/{ 15546 s//\1/ 15547 q 15548 } 15549 /^X\(\/\/\)$/{ 15550 s//\1/ 15551 q 15552 } 15553 /^X\(\/\).*/{ 15554 s//\1/ 15555 q 15556 } 15557 s/.*/./; q'`/stamp-h$_am_stamp_count 15558 ;; 15559 15560 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 15561$as_echo "$as_me: executing $ac_file commands" >&6;} 15562 ;; 15563 esac 15564 15565 15566 case $ac_file$ac_mode in 15567 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 15568 # Autoconf 2.62 quotes --file arguments for eval, but not when files 15569 # are listed without --file. Let's play safe and only enable the eval 15570 # if we detect the quoting. 15571 case $CONFIG_FILES in 15572 *\'*) eval set x "$CONFIG_FILES" ;; 15573 *) set x $CONFIG_FILES ;; 15574 esac 15575 shift 15576 for mf 15577 do 15578 # Strip MF so we end up with the name of the file. 15579 mf=`echo "$mf" | sed -e 's/:.*$//'` 15580 # Check whether this is an Automake generated Makefile or not. 15581 # We used to match only the files named `Makefile.in', but 15582 # some people rename them; so instead we look at the file content. 15583 # Grep'ing the first line is not enough: some people post-process 15584 # each Makefile.in and add a new line on top of each file to say so. 15585 # Grep'ing the whole file is not good either: AIX grep has a line 15586 # limit of 2048, but all sed's we know have understand at least 4000. 15587 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 15588 dirpart=`$as_dirname -- "$mf" || 15589$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15590 X"$mf" : 'X\(//\)[^/]' \| \ 15591 X"$mf" : 'X\(//\)$' \| \ 15592 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 15593$as_echo X"$mf" | 15594 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15595 s//\1/ 15596 q 15597 } 15598 /^X\(\/\/\)[^/].*/{ 15599 s//\1/ 15600 q 15601 } 15602 /^X\(\/\/\)$/{ 15603 s//\1/ 15604 q 15605 } 15606 /^X\(\/\).*/{ 15607 s//\1/ 15608 q 15609 } 15610 s/.*/./; q'` 15611 else 15612 continue 15613 fi 15614 # Extract the definition of DEPDIR, am__include, and am__quote 15615 # from the Makefile without running `make'. 15616 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 15617 test -z "$DEPDIR" && continue 15618 am__include=`sed -n 's/^am__include = //p' < "$mf"` 15619 test -z "am__include" && continue 15620 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 15621 # When using ansi2knr, U may be empty or an underscore; expand it 15622 U=`sed -n 's/^U = //p' < "$mf"` 15623 # Find all dependency output files, they are included files with 15624 # $(DEPDIR) in their names. We invoke sed twice because it is the 15625 # simplest approach to changing $(DEPDIR) to its actual value in the 15626 # expansion. 15627 for file in `sed -n " 15628 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 15629 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 15630 # Make sure the directory exists. 15631 test -f "$dirpart/$file" && continue 15632 fdir=`$as_dirname -- "$file" || 15633$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15634 X"$file" : 'X\(//\)[^/]' \| \ 15635 X"$file" : 'X\(//\)$' \| \ 15636 X"$file" : 'X\(/\)' \| . 2>/dev/null || 15637$as_echo X"$file" | 15638 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15639 s//\1/ 15640 q 15641 } 15642 /^X\(\/\/\)[^/].*/{ 15643 s//\1/ 15644 q 15645 } 15646 /^X\(\/\/\)$/{ 15647 s//\1/ 15648 q 15649 } 15650 /^X\(\/\).*/{ 15651 s//\1/ 15652 q 15653 } 15654 s/.*/./; q'` 15655 as_dir=$dirpart/$fdir; as_fn_mkdir_p 15656 # echo "creating $dirpart/$file" 15657 echo '# dummy' > "$dirpart/$file" 15658 done 15659 done 15660} 15661 ;; 15662 "libtool":C) 15663 15664 # See if we are running on zsh, and set the options which allow our 15665 # commands through without removal of \ escapes. 15666 if test -n "${ZSH_VERSION+set}" ; then 15667 setopt NO_GLOB_SUBST 15668 fi 15669 15670 cfgfile="${ofile}T" 15671 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 15672 $RM "$cfgfile" 15673 15674 cat <<_LT_EOF >> "$cfgfile" 15675#! $SHELL 15676 15677# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 15678# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 15679# NOTE: Changes made to this file will be lost: look at ltmain.sh. 15680# 15681# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 15682# 2006, 2007, 2008 Free Software Foundation, Inc. 15683# Written by Gordon Matzigkeit, 1996 15684# 15685# This file is part of GNU Libtool. 15686# 15687# GNU Libtool is free software; you can redistribute it and/or 15688# modify it under the terms of the GNU General Public License as 15689# published by the Free Software Foundation; either version 2 of 15690# the License, or (at your option) any later version. 15691# 15692# As a special exception to the GNU General Public License, 15693# if you distribute this file as part of a program or library that 15694# is built using GNU Libtool, you may include this file under the 15695# same distribution terms that you use for the rest of that program. 15696# 15697# GNU Libtool is distributed in the hope that it will be useful, 15698# but WITHOUT ANY WARRANTY; without even the implied warranty of 15699# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15700# GNU General Public License for more details. 15701# 15702# You should have received a copy of the GNU General Public License 15703# along with GNU Libtool; see the file COPYING. If not, a copy 15704# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 15705# obtained by writing to the Free Software Foundation, Inc., 15706# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 15707 15708 15709# The names of the tagged configurations supported by this script. 15710available_tags="" 15711 15712# ### BEGIN LIBTOOL CONFIG 15713 15714# Assembler program. 15715AS=$AS 15716 15717# DLL creation program. 15718DLLTOOL=$DLLTOOL 15719 15720# Object dumper program. 15721OBJDUMP=$OBJDUMP 15722 15723# Which release of libtool.m4 was used? 15724macro_version=$macro_version 15725macro_revision=$macro_revision 15726 15727# Whether or not to build shared libraries. 15728build_libtool_libs=$enable_shared 15729 15730# Whether or not to build static libraries. 15731build_old_libs=$enable_static 15732 15733# What type of objects to build. 15734pic_mode=$pic_mode 15735 15736# Whether or not to optimize for fast installation. 15737fast_install=$enable_fast_install 15738 15739# The host system. 15740host_alias=$host_alias 15741host=$host 15742host_os=$host_os 15743 15744# The build system. 15745build_alias=$build_alias 15746build=$build 15747build_os=$build_os 15748 15749# A sed program that does not truncate output. 15750SED=$lt_SED 15751 15752# Sed that helps us avoid accidentally triggering echo(1) options like -n. 15753Xsed="\$SED -e 1s/^X//" 15754 15755# A grep program that handles long lines. 15756GREP=$lt_GREP 15757 15758# An ERE matcher. 15759EGREP=$lt_EGREP 15760 15761# A literal string matcher. 15762FGREP=$lt_FGREP 15763 15764# A BSD- or MS-compatible name lister. 15765NM=$lt_NM 15766 15767# Whether we need soft or hard links. 15768LN_S=$lt_LN_S 15769 15770# What is the maximum length of a command? 15771max_cmd_len=$max_cmd_len 15772 15773# Object file suffix (normally "o"). 15774objext=$ac_objext 15775 15776# Executable file suffix (normally ""). 15777exeext=$exeext 15778 15779# whether the shell understands "unset". 15780lt_unset=$lt_unset 15781 15782# turn spaces into newlines. 15783SP2NL=$lt_lt_SP2NL 15784 15785# turn newlines into spaces. 15786NL2SP=$lt_lt_NL2SP 15787 15788# How to create reloadable object files. 15789reload_flag=$lt_reload_flag 15790reload_cmds=$lt_reload_cmds 15791 15792# Method to check whether dependent libraries are shared objects. 15793deplibs_check_method=$lt_deplibs_check_method 15794 15795# Command to use when deplibs_check_method == "file_magic". 15796file_magic_cmd=$lt_file_magic_cmd 15797 15798# The archiver. 15799AR=$lt_AR 15800AR_FLAGS=$lt_AR_FLAGS 15801 15802# A symbol stripping program. 15803STRIP=$lt_STRIP 15804 15805# Commands used to install an old-style archive. 15806RANLIB=$lt_RANLIB 15807old_postinstall_cmds=$lt_old_postinstall_cmds 15808old_postuninstall_cmds=$lt_old_postuninstall_cmds 15809 15810# A C compiler. 15811LTCC=$lt_CC 15812 15813# LTCC compiler flags. 15814LTCFLAGS=$lt_CFLAGS 15815 15816# Take the output of nm and produce a listing of raw symbols and C names. 15817global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 15818 15819# Transform the output of nm in a proper C declaration. 15820global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 15821 15822# Transform the output of nm in a C name address pair. 15823global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 15824 15825# Transform the output of nm in a C name address pair when lib prefix is needed. 15826global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 15827 15828# The name of the directory that contains temporary libtool files. 15829objdir=$objdir 15830 15831# Shell to use when invoking shell scripts. 15832SHELL=$lt_SHELL 15833 15834# An echo program that does not interpret backslashes. 15835ECHO=$lt_ECHO 15836 15837# Used to examine libraries when file_magic_cmd begins with "file". 15838MAGIC_CMD=$MAGIC_CMD 15839 15840# Must we lock files when doing compilation? 15841need_locks=$lt_need_locks 15842 15843# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 15844DSYMUTIL=$lt_DSYMUTIL 15845 15846# Tool to change global to local symbols on Mac OS X. 15847NMEDIT=$lt_NMEDIT 15848 15849# Tool to manipulate fat objects and archives on Mac OS X. 15850LIPO=$lt_LIPO 15851 15852# ldd/readelf like tool for Mach-O binaries on Mac OS X. 15853OTOOL=$lt_OTOOL 15854 15855# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 15856OTOOL64=$lt_OTOOL64 15857 15858# Old archive suffix (normally "a"). 15859libext=$libext 15860 15861# Shared library suffix (normally ".so"). 15862shrext_cmds=$lt_shrext_cmds 15863 15864# The commands to extract the exported symbol list from a shared archive. 15865extract_expsyms_cmds=$lt_extract_expsyms_cmds 15866 15867# Variables whose values should be saved in libtool wrapper scripts and 15868# restored at link time. 15869variables_saved_for_relink=$lt_variables_saved_for_relink 15870 15871# Do we need the "lib" prefix for modules? 15872need_lib_prefix=$need_lib_prefix 15873 15874# Do we need a version for libraries? 15875need_version=$need_version 15876 15877# Library versioning type. 15878version_type=$version_type 15879 15880# Shared library runtime path variable. 15881runpath_var=$runpath_var 15882 15883# Shared library path variable. 15884shlibpath_var=$shlibpath_var 15885 15886# Is shlibpath searched before the hard-coded library search path? 15887shlibpath_overrides_runpath=$shlibpath_overrides_runpath 15888 15889# Format of library name prefix. 15890libname_spec=$lt_libname_spec 15891 15892# List of archive names. First name is the real one, the rest are links. 15893# The last name is the one that the linker finds with -lNAME 15894library_names_spec=$lt_library_names_spec 15895 15896# The coded name of the library, if different from the real name. 15897soname_spec=$lt_soname_spec 15898 15899# Command to use after installation of a shared archive. 15900postinstall_cmds=$lt_postinstall_cmds 15901 15902# Command to use after uninstallation of a shared archive. 15903postuninstall_cmds=$lt_postuninstall_cmds 15904 15905# Commands used to finish a libtool library installation in a directory. 15906finish_cmds=$lt_finish_cmds 15907 15908# As "finish_cmds", except a single script fragment to be evaled but 15909# not shown. 15910finish_eval=$lt_finish_eval 15911 15912# Whether we should hardcode library paths into libraries. 15913hardcode_into_libs=$hardcode_into_libs 15914 15915# Compile-time system search path for libraries. 15916sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 15917 15918# Run-time system search path for libraries. 15919sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 15920 15921# Whether dlopen is supported. 15922dlopen_support=$enable_dlopen 15923 15924# Whether dlopen of programs is supported. 15925dlopen_self=$enable_dlopen_self 15926 15927# Whether dlopen of statically linked programs is supported. 15928dlopen_self_static=$enable_dlopen_self_static 15929 15930# Commands to strip libraries. 15931old_striplib=$lt_old_striplib 15932striplib=$lt_striplib 15933 15934 15935# The linker used to build libraries. 15936LD=$lt_LD 15937 15938# Commands used to build an old-style archive. 15939old_archive_cmds=$lt_old_archive_cmds 15940 15941# A language specific compiler. 15942CC=$lt_compiler 15943 15944# Is the compiler the GNU compiler? 15945with_gcc=$GCC 15946 15947# Compiler flag to turn off builtin functions. 15948no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 15949 15950# How to pass a linker flag through the compiler. 15951wl=$lt_lt_prog_compiler_wl 15952 15953# Additional compiler flags for building library objects. 15954pic_flag=$lt_lt_prog_compiler_pic 15955 15956# Compiler flag to prevent dynamic linking. 15957link_static_flag=$lt_lt_prog_compiler_static 15958 15959# Does compiler simultaneously support -c and -o options? 15960compiler_c_o=$lt_lt_cv_prog_compiler_c_o 15961 15962# Whether or not to add -lc for building shared libraries. 15963build_libtool_need_lc=$archive_cmds_need_lc 15964 15965# Whether or not to disallow shared libs when runtime libs are static. 15966allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 15967 15968# Compiler flag to allow reflexive dlopens. 15969export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 15970 15971# Compiler flag to generate shared objects directly from archives. 15972whole_archive_flag_spec=$lt_whole_archive_flag_spec 15973 15974# Whether the compiler copes with passing no objects directly. 15975compiler_needs_object=$lt_compiler_needs_object 15976 15977# Create an old-style archive from a shared archive. 15978old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 15979 15980# Create a temporary old-style archive to link instead of a shared archive. 15981old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 15982 15983# Commands used to build a shared archive. 15984archive_cmds=$lt_archive_cmds 15985archive_expsym_cmds=$lt_archive_expsym_cmds 15986 15987# Commands used to build a loadable module if different from building 15988# a shared archive. 15989module_cmds=$lt_module_cmds 15990module_expsym_cmds=$lt_module_expsym_cmds 15991 15992# Whether we are building with GNU ld or not. 15993with_gnu_ld=$lt_with_gnu_ld 15994 15995# Flag that allows shared libraries with undefined symbols to be built. 15996allow_undefined_flag=$lt_allow_undefined_flag 15997 15998# Flag that enforces no undefined symbols. 15999no_undefined_flag=$lt_no_undefined_flag 16000 16001# Flag to hardcode \$libdir into a binary during linking. 16002# This must work even if \$libdir does not exist 16003hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 16004 16005# If ld is used when linking, flag to hardcode \$libdir into a binary 16006# during linking. This must work even if \$libdir does not exist. 16007hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld 16008 16009# Whether we need a single "-rpath" flag with a separated argument. 16010hardcode_libdir_separator=$lt_hardcode_libdir_separator 16011 16012# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 16013# DIR into the resulting binary. 16014hardcode_direct=$hardcode_direct 16015 16016# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 16017# DIR into the resulting binary and the resulting library dependency is 16018# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 16019# library is relocated. 16020hardcode_direct_absolute=$hardcode_direct_absolute 16021 16022# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 16023# into the resulting binary. 16024hardcode_minus_L=$hardcode_minus_L 16025 16026# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 16027# into the resulting binary. 16028hardcode_shlibpath_var=$hardcode_shlibpath_var 16029 16030# Set to "yes" if building a shared library automatically hardcodes DIR 16031# into the library and all subsequent libraries and executables linked 16032# against it. 16033hardcode_automatic=$hardcode_automatic 16034 16035# Set to yes if linker adds runtime paths of dependent libraries 16036# to runtime path list. 16037inherit_rpath=$inherit_rpath 16038 16039# Whether libtool must link a program against all its dependency libraries. 16040link_all_deplibs=$link_all_deplibs 16041 16042# Fix the shell variable \$srcfile for the compiler. 16043fix_srcfile_path=$lt_fix_srcfile_path 16044 16045# Set to "yes" if exported symbols are required. 16046always_export_symbols=$always_export_symbols 16047 16048# The commands to list exported symbols. 16049export_symbols_cmds=$lt_export_symbols_cmds 16050 16051# Symbols that should not be listed in the preloaded symbols. 16052exclude_expsyms=$lt_exclude_expsyms 16053 16054# Symbols that must always be exported. 16055include_expsyms=$lt_include_expsyms 16056 16057# Commands necessary for linking programs (against libraries) with templates. 16058prelink_cmds=$lt_prelink_cmds 16059 16060# Specify filename containing input files. 16061file_list_spec=$lt_file_list_spec 16062 16063# How to hardcode a shared library path into an executable. 16064hardcode_action=$hardcode_action 16065 16066# ### END LIBTOOL CONFIG 16067 16068_LT_EOF 16069 16070 case $host_os in 16071 aix3*) 16072 cat <<\_LT_EOF >> "$cfgfile" 16073# AIX sometimes has problems with the GCC collect2 program. For some 16074# reason, if we set the COLLECT_NAMES environment variable, the problems 16075# vanish in a puff of smoke. 16076if test "X${COLLECT_NAMES+set}" != Xset; then 16077 COLLECT_NAMES= 16078 export COLLECT_NAMES 16079fi 16080_LT_EOF 16081 ;; 16082 esac 16083 16084 16085ltmain="$ac_aux_dir/ltmain.sh" 16086 16087 16088 # We use sed instead of cat because bash on DJGPP gets confused if 16089 # if finds mixed CR/LF and LF-only lines. Since sed operates in 16090 # text mode, it properly converts lines to CR/LF. This bash problem 16091 # is reportedly fixed, but why not run on old versions too? 16092 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ 16093 || (rm -f "$cfgfile"; exit 1) 16094 16095 case $xsi_shell in 16096 yes) 16097 cat << \_LT_EOF >> "$cfgfile" 16098 16099# func_dirname file append nondir_replacement 16100# Compute the dirname of FILE. If nonempty, add APPEND to the result, 16101# otherwise set result to NONDIR_REPLACEMENT. 16102func_dirname () 16103{ 16104 case ${1} in 16105 */*) func_dirname_result="${1%/*}${2}" ;; 16106 * ) func_dirname_result="${3}" ;; 16107 esac 16108} 16109 16110# func_basename file 16111func_basename () 16112{ 16113 func_basename_result="${1##*/}" 16114} 16115 16116# func_dirname_and_basename file append nondir_replacement 16117# perform func_basename and func_dirname in a single function 16118# call: 16119# dirname: Compute the dirname of FILE. If nonempty, 16120# add APPEND to the result, otherwise set result 16121# to NONDIR_REPLACEMENT. 16122# value returned in "$func_dirname_result" 16123# basename: Compute filename of FILE. 16124# value retuned in "$func_basename_result" 16125# Implementation must be kept synchronized with func_dirname 16126# and func_basename. For efficiency, we do not delegate to 16127# those functions but instead duplicate the functionality here. 16128func_dirname_and_basename () 16129{ 16130 case ${1} in 16131 */*) func_dirname_result="${1%/*}${2}" ;; 16132 * ) func_dirname_result="${3}" ;; 16133 esac 16134 func_basename_result="${1##*/}" 16135} 16136 16137# func_stripname prefix suffix name 16138# strip PREFIX and SUFFIX off of NAME. 16139# PREFIX and SUFFIX must not contain globbing or regex special 16140# characters, hashes, percent signs, but SUFFIX may contain a leading 16141# dot (in which case that matches only a dot). 16142func_stripname () 16143{ 16144 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are 16145 # positional parameters, so assign one to ordinary parameter first. 16146 func_stripname_result=${3} 16147 func_stripname_result=${func_stripname_result#"${1}"} 16148 func_stripname_result=${func_stripname_result%"${2}"} 16149} 16150 16151# func_opt_split 16152func_opt_split () 16153{ 16154 func_opt_split_opt=${1%%=*} 16155 func_opt_split_arg=${1#*=} 16156} 16157 16158# func_lo2o object 16159func_lo2o () 16160{ 16161 case ${1} in 16162 *.lo) func_lo2o_result=${1%.lo}.${objext} ;; 16163 *) func_lo2o_result=${1} ;; 16164 esac 16165} 16166 16167# func_xform libobj-or-source 16168func_xform () 16169{ 16170 func_xform_result=${1%.*}.lo 16171} 16172 16173# func_arith arithmetic-term... 16174func_arith () 16175{ 16176 func_arith_result=$(( $* )) 16177} 16178 16179# func_len string 16180# STRING may not start with a hyphen. 16181func_len () 16182{ 16183 func_len_result=${#1} 16184} 16185 16186_LT_EOF 16187 ;; 16188 *) # Bourne compatible functions. 16189 cat << \_LT_EOF >> "$cfgfile" 16190 16191# func_dirname file append nondir_replacement 16192# Compute the dirname of FILE. If nonempty, add APPEND to the result, 16193# otherwise set result to NONDIR_REPLACEMENT. 16194func_dirname () 16195{ 16196 # Extract subdirectory from the argument. 16197 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` 16198 if test "X$func_dirname_result" = "X${1}"; then 16199 func_dirname_result="${3}" 16200 else 16201 func_dirname_result="$func_dirname_result${2}" 16202 fi 16203} 16204 16205# func_basename file 16206func_basename () 16207{ 16208 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` 16209} 16210 16211 16212# func_stripname prefix suffix name 16213# strip PREFIX and SUFFIX off of NAME. 16214# PREFIX and SUFFIX must not contain globbing or regex special 16215# characters, hashes, percent signs, but SUFFIX may contain a leading 16216# dot (in which case that matches only a dot). 16217# func_strip_suffix prefix name 16218func_stripname () 16219{ 16220 case ${2} in 16221 .*) func_stripname_result=`$ECHO "X${3}" \ 16222 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; 16223 *) func_stripname_result=`$ECHO "X${3}" \ 16224 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; 16225 esac 16226} 16227 16228# sed scripts: 16229my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' 16230my_sed_long_arg='1s/^-[^=]*=//' 16231 16232# func_opt_split 16233func_opt_split () 16234{ 16235 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` 16236 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` 16237} 16238 16239# func_lo2o object 16240func_lo2o () 16241{ 16242 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` 16243} 16244 16245# func_xform libobj-or-source 16246func_xform () 16247{ 16248 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` 16249} 16250 16251# func_arith arithmetic-term... 16252func_arith () 16253{ 16254 func_arith_result=`expr "$@"` 16255} 16256 16257# func_len string 16258# STRING may not start with a hyphen. 16259func_len () 16260{ 16261 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` 16262} 16263 16264_LT_EOF 16265esac 16266 16267case $lt_shell_append in 16268 yes) 16269 cat << \_LT_EOF >> "$cfgfile" 16270 16271# func_append var value 16272# Append VALUE to the end of shell variable VAR. 16273func_append () 16274{ 16275 eval "$1+=\$2" 16276} 16277_LT_EOF 16278 ;; 16279 *) 16280 cat << \_LT_EOF >> "$cfgfile" 16281 16282# func_append var value 16283# Append VALUE to the end of shell variable VAR. 16284func_append () 16285{ 16286 eval "$1=\$$1\$2" 16287} 16288 16289_LT_EOF 16290 ;; 16291 esac 16292 16293 16294 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ 16295 || (rm -f "$cfgfile"; exit 1) 16296 16297 mv -f "$cfgfile" "$ofile" || 16298 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 16299 chmod +x "$ofile" 16300 16301 ;; 16302 16303 esac 16304done # for ac_tag 16305 16306 16307as_fn_exit 0 16308_ACEOF 16309ac_clean_files=$ac_clean_files_save 16310 16311test $ac_write_fail = 0 || 16312 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 16313 16314 16315# configure is writing to config.log, and then calls config.status. 16316# config.status does its own redirection, appending to config.log. 16317# Unfortunately, on DOS this fails, as config.log is still kept open 16318# by configure, so config.status won't be able to write to it; its 16319# output is simply discarded. So we exec the FD to /dev/null, 16320# effectively closing config.log, so it can be properly (re)opened and 16321# appended to by config.status. When coming back to configure, we 16322# need to make the FD available again. 16323if test "$no_create" != yes; then 16324 ac_cs_success=: 16325 ac_config_status_args= 16326 test "$silent" = yes && 16327 ac_config_status_args="$ac_config_status_args --quiet" 16328 exec 5>/dev/null 16329 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 16330 exec 5>>config.log 16331 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 16332 # would make configure fail if this is the last instruction. 16333 $ac_cs_success || as_fn_exit 1 16334fi 16335if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 16336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 16337$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 16338fi 16339 16340 16341echo "ORBit configuration: 16342 16343 Source code location: ${srcdir} 16344 Compiler: ${CC} 16345 16346 Purify cleanliness: ${enable_purify} 16347" 16348