1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for Lingot 1.0.1. 4# 5# 6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7# 8# 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## -------------------- ## 12## M4sh Initialization. ## 13## -------------------- ## 14 15# Be more Bourne compatible 16DUALCASE=1; export DUALCASE # for MKS sh 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 30esac 31fi 32 33 34as_nl=' 35' 36export as_nl 37# Printing a long string crashes Solaris 7 /usr/bin/printf. 38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41# Prefer a ksh shell builtin over an external printf program on Solaris, 42# but without wasting forks for bash or zsh. 43if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70fi 71 72# The user is always right. 73if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79fi 80 81 82# IFS 83# We need space, tab and new line, in precisely that order. Quoting is 84# there to prevent editors from complaining about space-tab. 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word 86# splitting by setting IFS to empty value.) 87IFS=" "" $as_nl" 88 89# Find who we are. Look in the path if we contain no directory separator. 90as_myself= 91case $0 in #(( 92 *[\\/]* ) as_myself=$0 ;; 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94for as_dir in $PATH 95do 96 IFS=$as_save_IFS 97 test -z "$as_dir" && as_dir=. 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 100IFS=$as_save_IFS 101 102 ;; 103esac 104# We did not find ourselves, most probably we were run as `sh COMMAND' 105# in which case we are not to be found in the path. 106if test "x$as_myself" = x; then 107 as_myself=$0 108fi 109if test ! -f "$as_myself"; then 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 exit 1 112fi 113 114# Unset variables that we do not need and which cause bugs (e.g. in 115# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116# suppresses any "Segmentation fault" message there. '((' could 117# trigger a bug in pdksh 5.2.14. 118for as_var in BASH_ENV ENV MAIL MAILPATH 119do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 121done 122PS1='$ ' 123PS2='> ' 124PS4='+ ' 125 126# NLS nuisances. 127LC_ALL=C 128export LC_ALL 129LANGUAGE=C 130export LANGUAGE 131 132# CDPATH. 133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135# Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140# neutralization value for shells without unset; and this also 141# works around shells that cannot unset nonexistent variables. 142# Preserve -v and -x to the replacement shell. 143BASH_ENV=/dev/null 144ENV=/dev/null 145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151esac 152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153# Admittedly, this is quite paranoid, since all the known shells bail 154# out after a failed `exec'. 155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168else 169 case \`(set -o) 2>/dev/null\` in #( 170 *posix*) : 171 set -o posix ;; #( 172 *) : 173 ;; 174esac 175fi 176" 177 as_required="as_fn_return () { (exit \$1); } 178as_fn_success () { as_fn_return 0; } 179as_fn_failure () { as_fn_return 1; } 180as_fn_ret_success () { return 0; } 181as_fn_ret_failure () { return 1; } 182 183exitcode=0 184as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190else 191 exitcode=1; echo positional parameters were not saved. 192fi 193test x\$exitcode = x0 || exit 1 194test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 199test \$(( 1 + 1 )) = 2 || exit 1 200 201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 205 PATH=/empty FPATH=/empty; export PATH FPATH 206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" 208 if (eval "$as_required") 2>/dev/null; then : 209 as_have_required=yes 210else 211 as_have_required=no 212fi 213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 214 215else 216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 217as_found=false 218for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 219do 220 IFS=$as_save_IFS 221 test -z "$as_dir" && as_dir=. 222 as_found=: 223 case $as_dir in #( 224 /*) 225 for as_base in sh bash ksh sh5; do 226 # Try only shells that exist, to save several forks. 227 as_shell=$as_dir/$as_base 228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 230 CONFIG_SHELL=$as_shell as_have_required=yes 231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 break 2 233fi 234fi 235 done;; 236 esac 237 as_found=false 238done 239$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 241 CONFIG_SHELL=$SHELL as_have_required=yes 242fi; } 243IFS=$as_save_IFS 244 245 246 if test "x$CONFIG_SHELL" != x; then : 247 export CONFIG_SHELL 248 # We cannot yet assume a decent shell, so we have to provide a 249# neutralization value for shells without unset; and this also 250# works around shells that cannot unset nonexistent variables. 251# Preserve -v and -x to the replacement shell. 252BASH_ENV=/dev/null 253ENV=/dev/null 254(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 255case $- in # (((( 256 *v*x* | *x*v* ) as_opts=-vx ;; 257 *v* ) as_opts=-v ;; 258 *x* ) as_opts=-x ;; 259 * ) as_opts= ;; 260esac 261exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 262# Admittedly, this is quite paranoid, since all the known shells bail 263# out after a failed `exec'. 264$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 265exit 255 266fi 267 268 if test x$as_have_required = xno; then : 269 $as_echo "$0: This script requires a shell more modern than all" 270 $as_echo "$0: the shells that I found on your system." 271 if test x${ZSH_VERSION+set} = xset ; then 272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 273 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 274 else 275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 276$0: including any error possibly output before this 277$0: message. Then install a modern shell, or manually run 278$0: the script under such a shell if you do have one." 279 fi 280 exit 1 281fi 282fi 283fi 284SHELL=${CONFIG_SHELL-/bin/sh} 285export SHELL 286# Unset more variables known to interfere with behavior of common tools. 287CLICOLOR_FORCE= GREP_OPTIONS= 288unset CLICOLOR_FORCE GREP_OPTIONS 289 290## --------------------- ## 291## M4sh Shell Functions. ## 292## --------------------- ## 293# as_fn_unset VAR 294# --------------- 295# Portably unset VAR. 296as_fn_unset () 297{ 298 { eval $1=; unset $1;} 299} 300as_unset=as_fn_unset 301 302# as_fn_set_status STATUS 303# ----------------------- 304# Set $? to STATUS, without forking. 305as_fn_set_status () 306{ 307 return $1 308} # as_fn_set_status 309 310# as_fn_exit STATUS 311# ----------------- 312# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 313as_fn_exit () 314{ 315 set +e 316 as_fn_set_status $1 317 exit $1 318} # as_fn_exit 319 320# as_fn_mkdir_p 321# ------------- 322# Create "$as_dir" as a directory, including parents if necessary. 323as_fn_mkdir_p () 324{ 325 326 case $as_dir in #( 327 -*) as_dir=./$as_dir;; 328 esac 329 test -d "$as_dir" || eval $as_mkdir_p || { 330 as_dirs= 331 while :; do 332 case $as_dir in #( 333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 334 *) as_qdir=$as_dir;; 335 esac 336 as_dirs="'$as_qdir' $as_dirs" 337 as_dir=`$as_dirname -- "$as_dir" || 338$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 339 X"$as_dir" : 'X\(//\)[^/]' \| \ 340 X"$as_dir" : 'X\(//\)$' \| \ 341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 342$as_echo X"$as_dir" | 343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 344 s//\1/ 345 q 346 } 347 /^X\(\/\/\)[^/].*/{ 348 s//\1/ 349 q 350 } 351 /^X\(\/\/\)$/{ 352 s//\1/ 353 q 354 } 355 /^X\(\/\).*/{ 356 s//\1/ 357 q 358 } 359 s/.*/./; q'` 360 test -d "$as_dir" && break 361 done 362 test -z "$as_dirs" || eval "mkdir $as_dirs" 363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 364 365 366} # as_fn_mkdir_p 367 368# as_fn_executable_p FILE 369# ----------------------- 370# Test if FILE is an executable regular file. 371as_fn_executable_p () 372{ 373 test -f "$1" && test -x "$1" 374} # as_fn_executable_p 375# as_fn_append VAR VALUE 376# ---------------------- 377# Append the text in VALUE to the end of the definition contained in VAR. Take 378# advantage of any shell optimizations that allow amortized linear growth over 379# repeated appends, instead of the typical quadratic growth present in naive 380# implementations. 381if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 382 eval 'as_fn_append () 383 { 384 eval $1+=\$2 385 }' 386else 387 as_fn_append () 388 { 389 eval $1=\$$1\$2 390 } 391fi # as_fn_append 392 393# as_fn_arith ARG... 394# ------------------ 395# Perform arithmetic evaluation on the ARGs, and store the result in the 396# global $as_val. Take advantage of shells that can avoid forks. The arguments 397# must be portable across $(()) and expr. 398if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 399 eval 'as_fn_arith () 400 { 401 as_val=$(( $* )) 402 }' 403else 404 as_fn_arith () 405 { 406 as_val=`expr "$@" || test $? -eq 1` 407 } 408fi # as_fn_arith 409 410 411# as_fn_error STATUS ERROR [LINENO LOG_FD] 412# ---------------------------------------- 413# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 414# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 415# script with STATUS, using 1 if that was 0. 416as_fn_error () 417{ 418 as_status=$1; test $as_status -eq 0 && as_status=1 419 if test "$4"; then 420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 422 fi 423 $as_echo "$as_me: error: $2" >&2 424 as_fn_exit $as_status 425} # as_fn_error 426 427if expr a : '\(a\)' >/dev/null 2>&1 && 428 test "X`expr 00001 : '.*\(...\)'`" = X001; then 429 as_expr=expr 430else 431 as_expr=false 432fi 433 434if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 435 as_basename=basename 436else 437 as_basename=false 438fi 439 440if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 441 as_dirname=dirname 442else 443 as_dirname=false 444fi 445 446as_me=`$as_basename -- "$0" || 447$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 448 X"$0" : 'X\(//\)$' \| \ 449 X"$0" : 'X\(/\)' \| . 2>/dev/null || 450$as_echo X/"$0" | 451 sed '/^.*\/\([^/][^/]*\)\/*$/{ 452 s//\1/ 453 q 454 } 455 /^X\/\(\/\/\)$/{ 456 s//\1/ 457 q 458 } 459 /^X\/\(\/\).*/{ 460 s//\1/ 461 q 462 } 463 s/.*/./; q'` 464 465# Avoid depending upon Character Ranges. 466as_cr_letters='abcdefghijklmnopqrstuvwxyz' 467as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 468as_cr_Letters=$as_cr_letters$as_cr_LETTERS 469as_cr_digits='0123456789' 470as_cr_alnum=$as_cr_Letters$as_cr_digits 471 472 473 as_lineno_1=$LINENO as_lineno_1a=$LINENO 474 as_lineno_2=$LINENO as_lineno_2a=$LINENO 475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 478 sed -n ' 479 p 480 /[$]LINENO/= 481 ' <$as_myself | 482 sed ' 483 s/[$]LINENO.*/&-/ 484 t lineno 485 b 486 :lineno 487 N 488 :loop 489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 490 t loop 491 s/-\n.*// 492 ' >$as_me.lineno && 493 chmod +x "$as_me.lineno" || 494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 495 496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 497 # already done that, so ensure we don't try to do so again and fall 498 # in an infinite loop. This has already happened in practice. 499 _as_can_reexec=no; export _as_can_reexec 500 # Don't try to exec as it changes $[0], causing all sort of problems 501 # (the dirname of $[0] is not the place where we might find the 502 # original and so on. Autoconf is especially sensitive to this). 503 . "./$as_me.lineno" 504 # Exit status is that of the last command. 505 exit 506} 507 508ECHO_C= ECHO_N= ECHO_T= 509case `echo -n x` in #((((( 510-n*) 511 case `echo 'xy\c'` in 512 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 513 xy) ECHO_C='\c';; 514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 515 ECHO_T=' ';; 516 esac;; 517*) 518 ECHO_N='-n';; 519esac 520 521rm -f conf$$ conf$$.exe conf$$.file 522if test -d conf$$.dir; then 523 rm -f conf$$.dir/conf$$.file 524else 525 rm -f conf$$.dir 526 mkdir conf$$.dir 2>/dev/null 527fi 528if (echo >conf$$.file) 2>/dev/null; then 529 if ln -s conf$$.file conf$$ 2>/dev/null; then 530 as_ln_s='ln -s' 531 # ... but there are two gotchas: 532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 534 # In both cases, we have to default to `cp -pR'. 535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 536 as_ln_s='cp -pR' 537 elif ln conf$$.file conf$$ 2>/dev/null; then 538 as_ln_s=ln 539 else 540 as_ln_s='cp -pR' 541 fi 542else 543 as_ln_s='cp -pR' 544fi 545rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 546rmdir conf$$.dir 2>/dev/null 547 548if mkdir -p . 2>/dev/null; then 549 as_mkdir_p='mkdir -p "$as_dir"' 550else 551 test -d ./-p && rmdir ./-p 552 as_mkdir_p=false 553fi 554 555as_test_x='test -x' 556as_executable_p=as_fn_executable_p 557 558# Sed expression to map a string onto a valid CPP name. 559as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 560 561# Sed expression to map a string onto a valid variable name. 562as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 563 564SHELL=${CONFIG_SHELL-/bin/sh} 565 566 567test -n "$DJDIR" || exec 7<&0 </dev/null 568exec 6>&1 569 570# Name of the host. 571# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 572# so uname gets run too. 573ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 574 575# 576# Initializations. 577# 578ac_default_prefix=/usr/local 579ac_clean_files= 580ac_config_libobj_dir=. 581LIBOBJS= 582cross_compiling=no 583subdirs= 584MFLAGS= 585MAKEFLAGS= 586 587# Identity of this package. 588PACKAGE_NAME='Lingot' 589PACKAGE_TARNAME='lingot' 590PACKAGE_VERSION='1.0.1' 591PACKAGE_STRING='Lingot 1.0.1' 592PACKAGE_BUGREPORT='' 593PACKAGE_URL='' 594 595# Factoring default headers for most tests. 596ac_includes_default="\ 597#include <stdio.h> 598#ifdef HAVE_SYS_TYPES_H 599# include <sys/types.h> 600#endif 601#ifdef HAVE_SYS_STAT_H 602# include <sys/stat.h> 603#endif 604#ifdef STDC_HEADERS 605# include <stdlib.h> 606# include <stddef.h> 607#else 608# ifdef HAVE_STDLIB_H 609# include <stdlib.h> 610# endif 611#endif 612#ifdef HAVE_STRING_H 613# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 614# include <memory.h> 615# endif 616# include <string.h> 617#endif 618#ifdef HAVE_STRINGS_H 619# include <strings.h> 620#endif 621#ifdef HAVE_INTTYPES_H 622# include <inttypes.h> 623#endif 624#ifdef HAVE_STDINT_H 625# include <stdint.h> 626#endif 627#ifdef HAVE_UNISTD_H 628# include <unistd.h> 629#endif" 630 631ac_subst_vars='am__EXEEXT_FALSE 632am__EXEEXT_TRUE 633LTLIBOBJS 634PACKAGE_MENU_DIR 635NO_PREFIX_PACKAGE_MENU_DIR 636PACKAGE_HELP_DIR 637NO_PREFIX_PACKAGE_HELP_DIR 638PACKAGE_ICON_DIR 639NO_PREFIX_PACKAGE_ICON_DIR 640PACKAGE_PIXMAPS_DIR 641NO_PREFIX_PACKAGE_PIXMAPS_DIR 642PACKAGE_DOC_DIR 643NO_PREFIX_PACKAGE_DOC_DIR 644PACKAGE_DATA_DIR 645NO_PREFIX_PACKAGE_DATA_DIR 646LIBFFTW_LIBS 647LIBFFTW_CFLAGS 648PULSEAUDIO_LIBS 649PULSEAUDIO_CFLAGS 650HAVE_PULSEAUDIO_FALSE 651HAVE_PULSEAUDIO_TRUE 652JACK_LIBS 653JACK_CFLAGS 654HAVE_JACK_FALSE 655HAVE_JACK_TRUE 656ALSA_LIBS 657ALSA_CFLAGS 658OSS_LIBS 659OSS_CFLAGS 660GTK_LIBS 661GTK_CFLAGS 662LIBOBJS 663LT_SYS_LIBRARY_PATH 664OTOOL64 665OTOOL 666LIPO 667NMEDIT 668DSYMUTIL 669MANIFEST_TOOL 670RANLIB 671ac_ct_AR 672AR 673DLLTOOL 674OBJDUMP 675LN_S 676NM 677ac_ct_DUMPBIN 678DUMPBIN 679LD 680FGREP 681SED 682host_os 683host_vendor 684host_cpu 685host 686build_os 687build_vendor 688build_cpu 689build 690LIBTOOL 691MKINSTALLDIRS 692POSUB 693POFILES 694PO_IN_DATADIR_FALSE 695PO_IN_DATADIR_TRUE 696INTLLIBS 697INSTOBJEXT 698GMOFILES 699DATADIRNAME 700CATOBJEXT 701CATALOGS 702MSGFMT_OPTS 703INTL_MACOSX_LIBS 704GETTEXT_PACKAGE 705GSETTINGS_RULES 706GLIB_COMPILE_SCHEMAS 707gsettingsschemadir 708GSETTINGS_DISABLE_SCHEMAS_COMPILE 709PKG_CONFIG_LIBDIR 710PKG_CONFIG_PATH 711PKG_CONFIG 712GLIB_COMPILE_RESOURCES 713ALL_LINGUAS 714INTLTOOL_PERL 715GMSGFMT 716MSGFMT 717MSGMERGE 718XGETTEXT 719INTLTOOL_POLICY_RULE 720INTLTOOL_SERVICE_RULE 721INTLTOOL_THEME_RULE 722INTLTOOL_SCHEMAS_RULE 723INTLTOOL_CAVES_RULE 724INTLTOOL_XML_NOMERGE_RULE 725INTLTOOL_XML_RULE 726INTLTOOL_KBD_RULE 727INTLTOOL_XAM_RULE 728INTLTOOL_UI_RULE 729INTLTOOL_SOUNDLIST_RULE 730INTLTOOL_SHEET_RULE 731INTLTOOL_SERVER_RULE 732INTLTOOL_PONG_RULE 733INTLTOOL_OAF_RULE 734INTLTOOL_PROP_RULE 735INTLTOOL_KEYS_RULE 736INTLTOOL_DIRECTORY_RULE 737INTLTOOL_DESKTOP_RULE 738intltool__v_merge_options_0 739intltool__v_merge_options_ 740INTLTOOL_V_MERGE_OPTIONS 741INTLTOOL__v_MERGE_0 742INTLTOOL__v_MERGE_ 743INTLTOOL_V_MERGE 744INTLTOOL_EXTRACT 745INTLTOOL_MERGE 746INTLTOOL_UPDATE 747USE_NLS 748EGREP 749GREP 750CPP 751am__fastdepCC_FALSE 752am__fastdepCC_TRUE 753CCDEPMODE 754am__nodep 755AMDEPBACKSLASH 756AMDEP_FALSE 757AMDEP_TRUE 758am__quote 759am__include 760DEPDIR 761OBJEXT 762EXEEXT 763ac_ct_CC 764CPPFLAGS 765LDFLAGS 766CFLAGS 767CC 768MAINT 769MAINTAINER_MODE_FALSE 770MAINTAINER_MODE_TRUE 771AM_BACKSLASH 772AM_DEFAULT_VERBOSITY 773AM_DEFAULT_V 774AM_V 775am__untar 776am__tar 777AMTAR 778am__leading_dot 779SET_MAKE 780AWK 781mkdir_p 782MKDIR_P 783INSTALL_STRIP_PROGRAM 784STRIP 785install_sh 786MAKEINFO 787AUTOHEADER 788AUTOMAKE 789AUTOCONF 790ACLOCAL 791VERSION 792PACKAGE 793CYGPATH_W 794am__isrc 795INSTALL_DATA 796INSTALL_SCRIPT 797INSTALL_PROGRAM 798target_alias 799host_alias 800build_alias 801LIBS 802ECHO_T 803ECHO_N 804ECHO_C 805DEFS 806mandir 807localedir 808libdir 809psdir 810pdfdir 811dvidir 812htmldir 813infodir 814docdir 815oldincludedir 816includedir 817runstatedir 818localstatedir 819sharedstatedir 820sysconfdir 821datadir 822datarootdir 823libexecdir 824sbindir 825bindir 826program_transform_name 827prefix 828exec_prefix 829PACKAGE_URL 830PACKAGE_BUGREPORT 831PACKAGE_STRING 832PACKAGE_VERSION 833PACKAGE_TARNAME 834PACKAGE_NAME 835PATH_SEPARATOR 836SHELL' 837ac_subst_files='' 838ac_user_opts=' 839enable_option_checking 840enable_silent_rules 841enable_maintainer_mode 842enable_dependency_tracking 843enable_nls 844enable_schemas_compile 845enable_shared 846enable_static 847with_pic 848enable_fast_install 849with_aix_soname 850with_gnu_ld 851with_sysroot 852enable_libtool_lock 853enable_oss 854enable_alsa 855enable_jack 856enable_pulseaudio 857enable_libfftw 858' 859 ac_precious_vars='build_alias 860host_alias 861target_alias 862CC 863CFLAGS 864LDFLAGS 865LIBS 866CPPFLAGS 867CPP 868PKG_CONFIG 869PKG_CONFIG_PATH 870PKG_CONFIG_LIBDIR 871LT_SYS_LIBRARY_PATH 872GTK_CFLAGS 873GTK_LIBS 874ALSA_CFLAGS 875ALSA_LIBS 876JACK_CFLAGS 877JACK_LIBS 878PULSEAUDIO_CFLAGS 879PULSEAUDIO_LIBS 880LIBFFTW_CFLAGS 881LIBFFTW_LIBS' 882 883 884# Initialize some variables set by options. 885ac_init_help= 886ac_init_version=false 887ac_unrecognized_opts= 888ac_unrecognized_sep= 889# The variables have the same names as the options, with 890# dashes changed to underlines. 891cache_file=/dev/null 892exec_prefix=NONE 893no_create= 894no_recursion= 895prefix=NONE 896program_prefix=NONE 897program_suffix=NONE 898program_transform_name=s,x,x, 899silent= 900site= 901srcdir= 902verbose= 903x_includes=NONE 904x_libraries=NONE 905 906# Installation directory options. 907# These are left unexpanded so users can "make install exec_prefix=/foo" 908# and all the variables that are supposed to be based on exec_prefix 909# by default will actually change. 910# Use braces instead of parens because sh, perl, etc. also accept them. 911# (The list follows the same order as the GNU Coding Standards.) 912bindir='${exec_prefix}/bin' 913sbindir='${exec_prefix}/sbin' 914libexecdir='${exec_prefix}/libexec' 915datarootdir='${prefix}/share' 916datadir='${datarootdir}' 917sysconfdir='${prefix}/etc' 918sharedstatedir='${prefix}/com' 919localstatedir='${prefix}/var' 920runstatedir='${localstatedir}/run' 921includedir='${prefix}/include' 922oldincludedir='/usr/include' 923docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 924infodir='${datarootdir}/info' 925htmldir='${docdir}' 926dvidir='${docdir}' 927pdfdir='${docdir}' 928psdir='${docdir}' 929libdir='${exec_prefix}/lib' 930localedir='${datarootdir}/locale' 931mandir='${datarootdir}/man' 932 933ac_prev= 934ac_dashdash= 935for ac_option 936do 937 # If the previous option needs an argument, assign it. 938 if test -n "$ac_prev"; then 939 eval $ac_prev=\$ac_option 940 ac_prev= 941 continue 942 fi 943 944 case $ac_option in 945 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 946 *=) ac_optarg= ;; 947 *) ac_optarg=yes ;; 948 esac 949 950 # Accept the important Cygnus configure options, so we can diagnose typos. 951 952 case $ac_dashdash$ac_option in 953 --) 954 ac_dashdash=yes ;; 955 956 -bindir | --bindir | --bindi | --bind | --bin | --bi) 957 ac_prev=bindir ;; 958 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 959 bindir=$ac_optarg ;; 960 961 -build | --build | --buil | --bui | --bu) 962 ac_prev=build_alias ;; 963 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 964 build_alias=$ac_optarg ;; 965 966 -cache-file | --cache-file | --cache-fil | --cache-fi \ 967 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 968 ac_prev=cache_file ;; 969 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 970 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 971 cache_file=$ac_optarg ;; 972 973 --config-cache | -C) 974 cache_file=config.cache ;; 975 976 -datadir | --datadir | --datadi | --datad) 977 ac_prev=datadir ;; 978 -datadir=* | --datadir=* | --datadi=* | --datad=*) 979 datadir=$ac_optarg ;; 980 981 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 982 | --dataroo | --dataro | --datar) 983 ac_prev=datarootdir ;; 984 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 985 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 986 datarootdir=$ac_optarg ;; 987 988 -disable-* | --disable-*) 989 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 990 # Reject names that are not valid shell variable names. 991 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 992 as_fn_error $? "invalid feature name: $ac_useropt" 993 ac_useropt_orig=$ac_useropt 994 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 995 case $ac_user_opts in 996 *" 997"enable_$ac_useropt" 998"*) ;; 999 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1000 ac_unrecognized_sep=', ';; 1001 esac 1002 eval enable_$ac_useropt=no ;; 1003 1004 -docdir | --docdir | --docdi | --doc | --do) 1005 ac_prev=docdir ;; 1006 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1007 docdir=$ac_optarg ;; 1008 1009 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1010 ac_prev=dvidir ;; 1011 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1012 dvidir=$ac_optarg ;; 1013 1014 -enable-* | --enable-*) 1015 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1016 # Reject names that are not valid shell variable names. 1017 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1018 as_fn_error $? "invalid feature name: $ac_useropt" 1019 ac_useropt_orig=$ac_useropt 1020 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1021 case $ac_user_opts in 1022 *" 1023"enable_$ac_useropt" 1024"*) ;; 1025 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1026 ac_unrecognized_sep=', ';; 1027 esac 1028 eval enable_$ac_useropt=\$ac_optarg ;; 1029 1030 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1031 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1032 | --exec | --exe | --ex) 1033 ac_prev=exec_prefix ;; 1034 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1035 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1036 | --exec=* | --exe=* | --ex=*) 1037 exec_prefix=$ac_optarg ;; 1038 1039 -gas | --gas | --ga | --g) 1040 # Obsolete; use --with-gas. 1041 with_gas=yes ;; 1042 1043 -help | --help | --hel | --he | -h) 1044 ac_init_help=long ;; 1045 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1046 ac_init_help=recursive ;; 1047 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1048 ac_init_help=short ;; 1049 1050 -host | --host | --hos | --ho) 1051 ac_prev=host_alias ;; 1052 -host=* | --host=* | --hos=* | --ho=*) 1053 host_alias=$ac_optarg ;; 1054 1055 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1056 ac_prev=htmldir ;; 1057 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1058 | --ht=*) 1059 htmldir=$ac_optarg ;; 1060 1061 -includedir | --includedir | --includedi | --included | --include \ 1062 | --includ | --inclu | --incl | --inc) 1063 ac_prev=includedir ;; 1064 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1065 | --includ=* | --inclu=* | --incl=* | --inc=*) 1066 includedir=$ac_optarg ;; 1067 1068 -infodir | --infodir | --infodi | --infod | --info | --inf) 1069 ac_prev=infodir ;; 1070 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1071 infodir=$ac_optarg ;; 1072 1073 -libdir | --libdir | --libdi | --libd) 1074 ac_prev=libdir ;; 1075 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1076 libdir=$ac_optarg ;; 1077 1078 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1079 | --libexe | --libex | --libe) 1080 ac_prev=libexecdir ;; 1081 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1082 | --libexe=* | --libex=* | --libe=*) 1083 libexecdir=$ac_optarg ;; 1084 1085 -localedir | --localedir | --localedi | --localed | --locale) 1086 ac_prev=localedir ;; 1087 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1088 localedir=$ac_optarg ;; 1089 1090 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1091 | --localstate | --localstat | --localsta | --localst | --locals) 1092 ac_prev=localstatedir ;; 1093 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1094 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1095 localstatedir=$ac_optarg ;; 1096 1097 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1098 ac_prev=mandir ;; 1099 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1100 mandir=$ac_optarg ;; 1101 1102 -nfp | --nfp | --nf) 1103 # Obsolete; use --without-fp. 1104 with_fp=no ;; 1105 1106 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1107 | --no-cr | --no-c | -n) 1108 no_create=yes ;; 1109 1110 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1111 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1112 no_recursion=yes ;; 1113 1114 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1115 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1116 | --oldin | --oldi | --old | --ol | --o) 1117 ac_prev=oldincludedir ;; 1118 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1119 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1120 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1121 oldincludedir=$ac_optarg ;; 1122 1123 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1124 ac_prev=prefix ;; 1125 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1126 prefix=$ac_optarg ;; 1127 1128 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1129 | --program-pre | --program-pr | --program-p) 1130 ac_prev=program_prefix ;; 1131 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1132 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1133 program_prefix=$ac_optarg ;; 1134 1135 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1136 | --program-suf | --program-su | --program-s) 1137 ac_prev=program_suffix ;; 1138 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1139 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1140 program_suffix=$ac_optarg ;; 1141 1142 -program-transform-name | --program-transform-name \ 1143 | --program-transform-nam | --program-transform-na \ 1144 | --program-transform-n | --program-transform- \ 1145 | --program-transform | --program-transfor \ 1146 | --program-transfo | --program-transf \ 1147 | --program-trans | --program-tran \ 1148 | --progr-tra | --program-tr | --program-t) 1149 ac_prev=program_transform_name ;; 1150 -program-transform-name=* | --program-transform-name=* \ 1151 | --program-transform-nam=* | --program-transform-na=* \ 1152 | --program-transform-n=* | --program-transform-=* \ 1153 | --program-transform=* | --program-transfor=* \ 1154 | --program-transfo=* | --program-transf=* \ 1155 | --program-trans=* | --program-tran=* \ 1156 | --progr-tra=* | --program-tr=* | --program-t=*) 1157 program_transform_name=$ac_optarg ;; 1158 1159 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1160 ac_prev=pdfdir ;; 1161 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1162 pdfdir=$ac_optarg ;; 1163 1164 -psdir | --psdir | --psdi | --psd | --ps) 1165 ac_prev=psdir ;; 1166 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1167 psdir=$ac_optarg ;; 1168 1169 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1170 | -silent | --silent | --silen | --sile | --sil) 1171 silent=yes ;; 1172 1173 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1174 | --runstate | --runstat | --runsta | --runst | --runs \ 1175 | --run | --ru | --r) 1176 ac_prev=runstatedir ;; 1177 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1178 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1179 | --run=* | --ru=* | --r=*) 1180 runstatedir=$ac_optarg ;; 1181 1182 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1183 ac_prev=sbindir ;; 1184 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1185 | --sbi=* | --sb=*) 1186 sbindir=$ac_optarg ;; 1187 1188 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1189 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1190 | --sharedst | --shareds | --shared | --share | --shar \ 1191 | --sha | --sh) 1192 ac_prev=sharedstatedir ;; 1193 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1194 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1195 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1196 | --sha=* | --sh=*) 1197 sharedstatedir=$ac_optarg ;; 1198 1199 -site | --site | --sit) 1200 ac_prev=site ;; 1201 -site=* | --site=* | --sit=*) 1202 site=$ac_optarg ;; 1203 1204 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1205 ac_prev=srcdir ;; 1206 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1207 srcdir=$ac_optarg ;; 1208 1209 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1210 | --syscon | --sysco | --sysc | --sys | --sy) 1211 ac_prev=sysconfdir ;; 1212 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1213 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1214 sysconfdir=$ac_optarg ;; 1215 1216 -target | --target | --targe | --targ | --tar | --ta | --t) 1217 ac_prev=target_alias ;; 1218 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1219 target_alias=$ac_optarg ;; 1220 1221 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1222 verbose=yes ;; 1223 1224 -version | --version | --versio | --versi | --vers | -V) 1225 ac_init_version=: ;; 1226 1227 -with-* | --with-*) 1228 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1229 # Reject names that are not valid shell variable names. 1230 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1231 as_fn_error $? "invalid package name: $ac_useropt" 1232 ac_useropt_orig=$ac_useropt 1233 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1234 case $ac_user_opts in 1235 *" 1236"with_$ac_useropt" 1237"*) ;; 1238 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1239 ac_unrecognized_sep=', ';; 1240 esac 1241 eval with_$ac_useropt=\$ac_optarg ;; 1242 1243 -without-* | --without-*) 1244 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1245 # Reject names that are not valid shell variable names. 1246 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1247 as_fn_error $? "invalid package name: $ac_useropt" 1248 ac_useropt_orig=$ac_useropt 1249 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1250 case $ac_user_opts in 1251 *" 1252"with_$ac_useropt" 1253"*) ;; 1254 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1255 ac_unrecognized_sep=', ';; 1256 esac 1257 eval with_$ac_useropt=no ;; 1258 1259 --x) 1260 # Obsolete; use --with-x. 1261 with_x=yes ;; 1262 1263 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1264 | --x-incl | --x-inc | --x-in | --x-i) 1265 ac_prev=x_includes ;; 1266 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1267 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1268 x_includes=$ac_optarg ;; 1269 1270 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1271 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1272 ac_prev=x_libraries ;; 1273 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1274 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1275 x_libraries=$ac_optarg ;; 1276 1277 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1278Try \`$0 --help' for more information" 1279 ;; 1280 1281 *=*) 1282 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1283 # Reject names that are not valid shell variable names. 1284 case $ac_envvar in #( 1285 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1286 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1287 esac 1288 eval $ac_envvar=\$ac_optarg 1289 export $ac_envvar ;; 1290 1291 *) 1292 # FIXME: should be removed in autoconf 3.0. 1293 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1294 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1295 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1296 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1297 ;; 1298 1299 esac 1300done 1301 1302if test -n "$ac_prev"; then 1303 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1304 as_fn_error $? "missing argument to $ac_option" 1305fi 1306 1307if test -n "$ac_unrecognized_opts"; then 1308 case $enable_option_checking in 1309 no) ;; 1310 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1311 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1312 esac 1313fi 1314 1315# Check all directory arguments for consistency. 1316for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1317 datadir sysconfdir sharedstatedir localstatedir includedir \ 1318 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1319 libdir localedir mandir runstatedir 1320do 1321 eval ac_val=\$$ac_var 1322 # Remove trailing slashes. 1323 case $ac_val in 1324 */ ) 1325 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1326 eval $ac_var=\$ac_val;; 1327 esac 1328 # Be sure to have absolute directory names. 1329 case $ac_val in 1330 [\\/$]* | ?:[\\/]* ) continue;; 1331 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1332 esac 1333 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1334done 1335 1336# There might be people who depend on the old broken behavior: `$host' 1337# used to hold the argument of --host etc. 1338# FIXME: To remove some day. 1339build=$build_alias 1340host=$host_alias 1341target=$target_alias 1342 1343# FIXME: To remove some day. 1344if test "x$host_alias" != x; then 1345 if test "x$build_alias" = x; then 1346 cross_compiling=maybe 1347 elif test "x$build_alias" != "x$host_alias"; then 1348 cross_compiling=yes 1349 fi 1350fi 1351 1352ac_tool_prefix= 1353test -n "$host_alias" && ac_tool_prefix=$host_alias- 1354 1355test "$silent" = yes && exec 6>/dev/null 1356 1357 1358ac_pwd=`pwd` && test -n "$ac_pwd" && 1359ac_ls_di=`ls -di .` && 1360ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1361 as_fn_error $? "working directory cannot be determined" 1362test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1363 as_fn_error $? "pwd does not report name of working directory" 1364 1365 1366# Find the source files, if location was not specified. 1367if test -z "$srcdir"; then 1368 ac_srcdir_defaulted=yes 1369 # Try the directory containing this script, then the parent directory. 1370 ac_confdir=`$as_dirname -- "$as_myself" || 1371$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1372 X"$as_myself" : 'X\(//\)[^/]' \| \ 1373 X"$as_myself" : 'X\(//\)$' \| \ 1374 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1375$as_echo X"$as_myself" | 1376 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1377 s//\1/ 1378 q 1379 } 1380 /^X\(\/\/\)[^/].*/{ 1381 s//\1/ 1382 q 1383 } 1384 /^X\(\/\/\)$/{ 1385 s//\1/ 1386 q 1387 } 1388 /^X\(\/\).*/{ 1389 s//\1/ 1390 q 1391 } 1392 s/.*/./; q'` 1393 srcdir=$ac_confdir 1394 if test ! -r "$srcdir/$ac_unique_file"; then 1395 srcdir=.. 1396 fi 1397else 1398 ac_srcdir_defaulted=no 1399fi 1400if test ! -r "$srcdir/$ac_unique_file"; then 1401 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1402 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1403fi 1404ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1405ac_abs_confdir=`( 1406 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1407 pwd)` 1408# When building in place, set srcdir=. 1409if test "$ac_abs_confdir" = "$ac_pwd"; then 1410 srcdir=. 1411fi 1412# Remove unnecessary trailing slashes from srcdir. 1413# Double slashes in file names in object file debugging info 1414# mess up M-x gdb in Emacs. 1415case $srcdir in 1416*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1417esac 1418for ac_var in $ac_precious_vars; do 1419 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1420 eval ac_env_${ac_var}_value=\$${ac_var} 1421 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1422 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1423done 1424 1425# 1426# Report the --help message. 1427# 1428if test "$ac_init_help" = "long"; then 1429 # Omit some internal or obsolete options to make the list less imposing. 1430 # This message is too long to be a string in the A/UX 3.1 sh. 1431 cat <<_ACEOF 1432\`configure' configures Lingot 1.0.1 to adapt to many kinds of systems. 1433 1434Usage: $0 [OPTION]... [VAR=VALUE]... 1435 1436To assign environment variables (e.g., CC, CFLAGS...), specify them as 1437VAR=VALUE. See below for descriptions of some of the useful variables. 1438 1439Defaults for the options are specified in brackets. 1440 1441Configuration: 1442 -h, --help display this help and exit 1443 --help=short display options specific to this package 1444 --help=recursive display the short help of all the included packages 1445 -V, --version display version information and exit 1446 -q, --quiet, --silent do not print \`checking ...' messages 1447 --cache-file=FILE cache test results in FILE [disabled] 1448 -C, --config-cache alias for \`--cache-file=config.cache' 1449 -n, --no-create do not create output files 1450 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1451 1452Installation directories: 1453 --prefix=PREFIX install architecture-independent files in PREFIX 1454 [$ac_default_prefix] 1455 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1456 [PREFIX] 1457 1458By default, \`make install' will install all the files in 1459\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1460an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1461for instance \`--prefix=\$HOME'. 1462 1463For better control, use the options below. 1464 1465Fine tuning of the installation directories: 1466 --bindir=DIR user executables [EPREFIX/bin] 1467 --sbindir=DIR system admin executables [EPREFIX/sbin] 1468 --libexecdir=DIR program executables [EPREFIX/libexec] 1469 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1470 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1471 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1472 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1473 --libdir=DIR object code libraries [EPREFIX/lib] 1474 --includedir=DIR C header files [PREFIX/include] 1475 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1476 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1477 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1478 --infodir=DIR info documentation [DATAROOTDIR/info] 1479 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1480 --mandir=DIR man documentation [DATAROOTDIR/man] 1481 --docdir=DIR documentation root [DATAROOTDIR/doc/lingot] 1482 --htmldir=DIR html documentation [DOCDIR] 1483 --dvidir=DIR dvi documentation [DOCDIR] 1484 --pdfdir=DIR pdf documentation [DOCDIR] 1485 --psdir=DIR ps documentation [DOCDIR] 1486_ACEOF 1487 1488 cat <<\_ACEOF 1489 1490Program names: 1491 --program-prefix=PREFIX prepend PREFIX to installed program names 1492 --program-suffix=SUFFIX append SUFFIX to installed program names 1493 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1494 1495System types: 1496 --build=BUILD configure for building on BUILD [guessed] 1497 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1498_ACEOF 1499fi 1500 1501if test -n "$ac_init_help"; then 1502 case $ac_init_help in 1503 short | recursive ) echo "Configuration of Lingot 1.0.1:";; 1504 esac 1505 cat <<\_ACEOF 1506 1507Optional Features: 1508 --disable-option-checking ignore unrecognized --enable/--with options 1509 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1510 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1511 --enable-silent-rules less verbose build output (undo: "make V=1") 1512 --disable-silent-rules verbose build output (undo: "make V=0") 1513 --enable-maintainer-mode 1514 enable make rules and dependencies not useful (and 1515 sometimes confusing) to the casual installer 1516 --enable-dependency-tracking 1517 do not reject slow dependency extractors 1518 --disable-dependency-tracking 1519 speeds up one-time build 1520 --disable-nls do not use Native Language Support 1521 --disable-schemas-compile 1522 Disable regeneration of gschemas.compiled on install 1523 --enable-shared[=PKGS] build shared libraries [default=yes] 1524 --enable-static[=PKGS] build static libraries [default=yes] 1525 --enable-fast-install[=PKGS] 1526 optimize for fast installation [default=yes] 1527 --disable-libtool-lock avoid locking (might break parallel builds) 1528 --enable-oss use OSS [default=yes] 1529 --enable-alsa use ALSA [default=yes] 1530 --enable-jack use JACK [default=yes] 1531 --enable-pulseaudio use PulseAudio [default=yes] 1532 --enable-libfftw use libfftw [default=yes] 1533 1534Optional Packages: 1535 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1536 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1537 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1538 both] 1539 --with-aix-soname=aix|svr4|both 1540 shared library versioning (aka "SONAME") variant to 1541 provide on AIX, [default=aix]. 1542 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1543 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1544 compiler's sysroot if not specified). 1545 1546Some influential environment variables: 1547 CC C compiler command 1548 CFLAGS C compiler flags 1549 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1550 nonstandard directory <lib dir> 1551 LIBS libraries to pass to the linker, e.g. -l<library> 1552 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1553 you have headers in a nonstandard directory <include dir> 1554 CPP C preprocessor 1555 PKG_CONFIG path to pkg-config utility 1556 PKG_CONFIG_PATH 1557 directories to add to pkg-config's search path 1558 PKG_CONFIG_LIBDIR 1559 path overriding pkg-config's built-in search path 1560 LT_SYS_LIBRARY_PATH 1561 User-defined run-time library search path. 1562 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config 1563 GTK_LIBS linker flags for GTK, overriding pkg-config 1564 ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config 1565 ALSA_LIBS linker flags for ALSA, overriding pkg-config 1566 JACK_CFLAGS C compiler flags for JACK, overriding pkg-config 1567 JACK_LIBS linker flags for JACK, overriding pkg-config 1568 PULSEAUDIO_CFLAGS 1569 C compiler flags for PULSEAUDIO, overriding pkg-config 1570 PULSEAUDIO_LIBS 1571 linker flags for PULSEAUDIO, overriding pkg-config 1572 LIBFFTW_CFLAGS 1573 C compiler flags for LIBFFTW, overriding pkg-config 1574 LIBFFTW_LIBS 1575 linker flags for LIBFFTW, overriding pkg-config 1576 1577Use these variables to override the choices made by `configure' or to help 1578it to find libraries and programs with nonstandard names/locations. 1579 1580Report bugs to the package provider. 1581_ACEOF 1582ac_status=$? 1583fi 1584 1585if test "$ac_init_help" = "recursive"; then 1586 # If there are subdirs, report their specific --help. 1587 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1588 test -d "$ac_dir" || 1589 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1590 continue 1591 ac_builddir=. 1592 1593case "$ac_dir" in 1594.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1595*) 1596 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1597 # A ".." for each directory in $ac_dir_suffix. 1598 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1599 case $ac_top_builddir_sub in 1600 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1601 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1602 esac ;; 1603esac 1604ac_abs_top_builddir=$ac_pwd 1605ac_abs_builddir=$ac_pwd$ac_dir_suffix 1606# for backward compatibility: 1607ac_top_builddir=$ac_top_build_prefix 1608 1609case $srcdir in 1610 .) # We are building in place. 1611 ac_srcdir=. 1612 ac_top_srcdir=$ac_top_builddir_sub 1613 ac_abs_top_srcdir=$ac_pwd ;; 1614 [\\/]* | ?:[\\/]* ) # Absolute name. 1615 ac_srcdir=$srcdir$ac_dir_suffix; 1616 ac_top_srcdir=$srcdir 1617 ac_abs_top_srcdir=$srcdir ;; 1618 *) # Relative name. 1619 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1620 ac_top_srcdir=$ac_top_build_prefix$srcdir 1621 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1622esac 1623ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1624 1625 cd "$ac_dir" || { ac_status=$?; continue; } 1626 # Check for guested configure. 1627 if test -f "$ac_srcdir/configure.gnu"; then 1628 echo && 1629 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1630 elif test -f "$ac_srcdir/configure"; then 1631 echo && 1632 $SHELL "$ac_srcdir/configure" --help=recursive 1633 else 1634 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1635 fi || ac_status=$? 1636 cd "$ac_pwd" || { ac_status=$?; break; } 1637 done 1638fi 1639 1640test -n "$ac_init_help" && exit $ac_status 1641if $ac_init_version; then 1642 cat <<\_ACEOF 1643Lingot configure 1.0.1 1644generated by GNU Autoconf 2.69 1645 1646Copyright (C) 2012 Free Software Foundation, Inc. 1647This configure script is free software; the Free Software Foundation 1648gives unlimited permission to copy, distribute and modify it. 1649_ACEOF 1650 exit 1651fi 1652 1653## ------------------------ ## 1654## Autoconf initialization. ## 1655## ------------------------ ## 1656 1657# ac_fn_c_try_compile LINENO 1658# -------------------------- 1659# Try to compile conftest.$ac_ext, and return whether this succeeded. 1660ac_fn_c_try_compile () 1661{ 1662 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1663 rm -f conftest.$ac_objext 1664 if { { ac_try="$ac_compile" 1665case "(($ac_try" in 1666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1667 *) ac_try_echo=$ac_try;; 1668esac 1669eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1670$as_echo "$ac_try_echo"; } >&5 1671 (eval "$ac_compile") 2>conftest.err 1672 ac_status=$? 1673 if test -s conftest.err; then 1674 grep -v '^ *+' conftest.err >conftest.er1 1675 cat conftest.er1 >&5 1676 mv -f conftest.er1 conftest.err 1677 fi 1678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1679 test $ac_status = 0; } && { 1680 test -z "$ac_c_werror_flag" || 1681 test ! -s conftest.err 1682 } && test -s conftest.$ac_objext; then : 1683 ac_retval=0 1684else 1685 $as_echo "$as_me: failed program was:" >&5 1686sed 's/^/| /' conftest.$ac_ext >&5 1687 1688 ac_retval=1 1689fi 1690 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1691 as_fn_set_status $ac_retval 1692 1693} # ac_fn_c_try_compile 1694 1695# ac_fn_c_try_link LINENO 1696# ----------------------- 1697# Try to link conftest.$ac_ext, and return whether this succeeded. 1698ac_fn_c_try_link () 1699{ 1700 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1701 rm -f conftest.$ac_objext conftest$ac_exeext 1702 if { { ac_try="$ac_link" 1703case "(($ac_try" in 1704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1705 *) ac_try_echo=$ac_try;; 1706esac 1707eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1708$as_echo "$ac_try_echo"; } >&5 1709 (eval "$ac_link") 2>conftest.err 1710 ac_status=$? 1711 if test -s conftest.err; then 1712 grep -v '^ *+' conftest.err >conftest.er1 1713 cat conftest.er1 >&5 1714 mv -f conftest.er1 conftest.err 1715 fi 1716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1717 test $ac_status = 0; } && { 1718 test -z "$ac_c_werror_flag" || 1719 test ! -s conftest.err 1720 } && test -s conftest$ac_exeext && { 1721 test "$cross_compiling" = yes || 1722 test -x conftest$ac_exeext 1723 }; then : 1724 ac_retval=0 1725else 1726 $as_echo "$as_me: failed program was:" >&5 1727sed 's/^/| /' conftest.$ac_ext >&5 1728 1729 ac_retval=1 1730fi 1731 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1732 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1733 # interfere with the next link command; also delete a directory that is 1734 # left behind by Apple's compiler. We do this before executing the actions. 1735 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1736 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1737 as_fn_set_status $ac_retval 1738 1739} # ac_fn_c_try_link 1740 1741# ac_fn_c_try_cpp LINENO 1742# ---------------------- 1743# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1744ac_fn_c_try_cpp () 1745{ 1746 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1747 if { { ac_try="$ac_cpp conftest.$ac_ext" 1748case "(($ac_try" in 1749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1750 *) ac_try_echo=$ac_try;; 1751esac 1752eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1753$as_echo "$ac_try_echo"; } >&5 1754 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1755 ac_status=$? 1756 if test -s conftest.err; then 1757 grep -v '^ *+' conftest.err >conftest.er1 1758 cat conftest.er1 >&5 1759 mv -f conftest.er1 conftest.err 1760 fi 1761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1762 test $ac_status = 0; } > conftest.i && { 1763 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1764 test ! -s conftest.err 1765 }; then : 1766 ac_retval=0 1767else 1768 $as_echo "$as_me: failed program was:" >&5 1769sed 's/^/| /' conftest.$ac_ext >&5 1770 1771 ac_retval=1 1772fi 1773 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1774 as_fn_set_status $ac_retval 1775 1776} # ac_fn_c_try_cpp 1777 1778# ac_fn_c_try_run LINENO 1779# ---------------------- 1780# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1781# that executables *can* be run. 1782ac_fn_c_try_run () 1783{ 1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1785 if { { ac_try="$ac_link" 1786case "(($ac_try" in 1787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1788 *) ac_try_echo=$ac_try;; 1789esac 1790eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1791$as_echo "$ac_try_echo"; } >&5 1792 (eval "$ac_link") 2>&5 1793 ac_status=$? 1794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1795 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1796 { { case "(($ac_try" in 1797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1798 *) ac_try_echo=$ac_try;; 1799esac 1800eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1801$as_echo "$ac_try_echo"; } >&5 1802 (eval "$ac_try") 2>&5 1803 ac_status=$? 1804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1805 test $ac_status = 0; }; }; then : 1806 ac_retval=0 1807else 1808 $as_echo "$as_me: program exited with status $ac_status" >&5 1809 $as_echo "$as_me: failed program was:" >&5 1810sed 's/^/| /' conftest.$ac_ext >&5 1811 1812 ac_retval=$ac_status 1813fi 1814 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1815 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1816 as_fn_set_status $ac_retval 1817 1818} # ac_fn_c_try_run 1819 1820# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1821# ------------------------------------------------------- 1822# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1823# the include files in INCLUDES and setting the cache variable VAR 1824# accordingly. 1825ac_fn_c_check_header_mongrel () 1826{ 1827 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1828 if eval \${$3+:} false; then : 1829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1830$as_echo_n "checking for $2... " >&6; } 1831if eval \${$3+:} false; then : 1832 $as_echo_n "(cached) " >&6 1833fi 1834eval ac_res=\$$3 1835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1836$as_echo "$ac_res" >&6; } 1837else 1838 # Is the header compilable? 1839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1840$as_echo_n "checking $2 usability... " >&6; } 1841cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1842/* end confdefs.h. */ 1843$4 1844#include <$2> 1845_ACEOF 1846if ac_fn_c_try_compile "$LINENO"; then : 1847 ac_header_compiler=yes 1848else 1849 ac_header_compiler=no 1850fi 1851rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1852{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1853$as_echo "$ac_header_compiler" >&6; } 1854 1855# Is the header present? 1856{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1857$as_echo_n "checking $2 presence... " >&6; } 1858cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1859/* end confdefs.h. */ 1860#include <$2> 1861_ACEOF 1862if ac_fn_c_try_cpp "$LINENO"; then : 1863 ac_header_preproc=yes 1864else 1865 ac_header_preproc=no 1866fi 1867rm -f conftest.err conftest.i conftest.$ac_ext 1868{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1869$as_echo "$ac_header_preproc" >&6; } 1870 1871# So? What about this header? 1872case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1873 yes:no: ) 1874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1875$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1877$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1878 ;; 1879 no:yes:* ) 1880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1881$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1883$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1885$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1887$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1889$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1890 ;; 1891esac 1892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1893$as_echo_n "checking for $2... " >&6; } 1894if eval \${$3+:} false; then : 1895 $as_echo_n "(cached) " >&6 1896else 1897 eval "$3=\$ac_header_compiler" 1898fi 1899eval ac_res=\$$3 1900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1901$as_echo "$ac_res" >&6; } 1902fi 1903 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1904 1905} # ac_fn_c_check_header_mongrel 1906 1907# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1908# ------------------------------------------------------- 1909# Tests whether HEADER exists and can be compiled using the include files in 1910# INCLUDES, setting the cache variable VAR accordingly. 1911ac_fn_c_check_header_compile () 1912{ 1913 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1915$as_echo_n "checking for $2... " >&6; } 1916if eval \${$3+:} false; then : 1917 $as_echo_n "(cached) " >&6 1918else 1919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1920/* end confdefs.h. */ 1921$4 1922#include <$2> 1923_ACEOF 1924if ac_fn_c_try_compile "$LINENO"; then : 1925 eval "$3=yes" 1926else 1927 eval "$3=no" 1928fi 1929rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1930fi 1931eval ac_res=\$$3 1932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1933$as_echo "$ac_res" >&6; } 1934 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1935 1936} # ac_fn_c_check_header_compile 1937 1938# ac_fn_c_check_func LINENO FUNC VAR 1939# ---------------------------------- 1940# Tests whether FUNC exists, setting the cache variable VAR accordingly 1941ac_fn_c_check_func () 1942{ 1943 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1945$as_echo_n "checking for $2... " >&6; } 1946if eval \${$3+:} false; then : 1947 $as_echo_n "(cached) " >&6 1948else 1949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1950/* end confdefs.h. */ 1951/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1952 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1953#define $2 innocuous_$2 1954 1955/* System header to define __stub macros and hopefully few prototypes, 1956 which can conflict with char $2 (); below. 1957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1958 <limits.h> exists even on freestanding compilers. */ 1959 1960#ifdef __STDC__ 1961# include <limits.h> 1962#else 1963# include <assert.h> 1964#endif 1965 1966#undef $2 1967 1968/* Override any GCC internal prototype to avoid an error. 1969 Use char because int might match the return type of a GCC 1970 builtin and then its argument prototype would still apply. */ 1971#ifdef __cplusplus 1972extern "C" 1973#endif 1974char $2 (); 1975/* The GNU C library defines this for functions which it implements 1976 to always fail with ENOSYS. Some functions are actually named 1977 something starting with __ and the normal name is an alias. */ 1978#if defined __stub_$2 || defined __stub___$2 1979choke me 1980#endif 1981 1982int 1983main () 1984{ 1985return $2 (); 1986 ; 1987 return 0; 1988} 1989_ACEOF 1990if ac_fn_c_try_link "$LINENO"; then : 1991 eval "$3=yes" 1992else 1993 eval "$3=no" 1994fi 1995rm -f core conftest.err conftest.$ac_objext \ 1996 conftest$ac_exeext conftest.$ac_ext 1997fi 1998eval ac_res=\$$3 1999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2000$as_echo "$ac_res" >&6; } 2001 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2002 2003} # ac_fn_c_check_func 2004cat >config.log <<_ACEOF 2005This file contains any messages produced by compilers while 2006running configure, to aid debugging if configure makes a mistake. 2007 2008It was created by Lingot $as_me 1.0.1, which was 2009generated by GNU Autoconf 2.69. Invocation command line was 2010 2011 $ $0 $@ 2012 2013_ACEOF 2014exec 5>>config.log 2015{ 2016cat <<_ASUNAME 2017## --------- ## 2018## Platform. ## 2019## --------- ## 2020 2021hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2022uname -m = `(uname -m) 2>/dev/null || echo unknown` 2023uname -r = `(uname -r) 2>/dev/null || echo unknown` 2024uname -s = `(uname -s) 2>/dev/null || echo unknown` 2025uname -v = `(uname -v) 2>/dev/null || echo unknown` 2026 2027/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2028/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2029 2030/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2031/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2032/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2033/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2034/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2035/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2036/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2037 2038_ASUNAME 2039 2040as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2041for as_dir in $PATH 2042do 2043 IFS=$as_save_IFS 2044 test -z "$as_dir" && as_dir=. 2045 $as_echo "PATH: $as_dir" 2046 done 2047IFS=$as_save_IFS 2048 2049} >&5 2050 2051cat >&5 <<_ACEOF 2052 2053 2054## ----------- ## 2055## Core tests. ## 2056## ----------- ## 2057 2058_ACEOF 2059 2060 2061# Keep a trace of the command line. 2062# Strip out --no-create and --no-recursion so they do not pile up. 2063# Strip out --silent because we don't want to record it for future runs. 2064# Also quote any args containing shell meta-characters. 2065# Make two passes to allow for proper duplicate-argument suppression. 2066ac_configure_args= 2067ac_configure_args0= 2068ac_configure_args1= 2069ac_must_keep_next=false 2070for ac_pass in 1 2 2071do 2072 for ac_arg 2073 do 2074 case $ac_arg in 2075 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2076 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2077 | -silent | --silent | --silen | --sile | --sil) 2078 continue ;; 2079 *\'*) 2080 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2081 esac 2082 case $ac_pass in 2083 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2084 2) 2085 as_fn_append ac_configure_args1 " '$ac_arg'" 2086 if test $ac_must_keep_next = true; then 2087 ac_must_keep_next=false # Got value, back to normal. 2088 else 2089 case $ac_arg in 2090 *=* | --config-cache | -C | -disable-* | --disable-* \ 2091 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2092 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2093 | -with-* | --with-* | -without-* | --without-* | --x) 2094 case "$ac_configure_args0 " in 2095 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2096 esac 2097 ;; 2098 -* ) ac_must_keep_next=true ;; 2099 esac 2100 fi 2101 as_fn_append ac_configure_args " '$ac_arg'" 2102 ;; 2103 esac 2104 done 2105done 2106{ ac_configure_args0=; unset ac_configure_args0;} 2107{ ac_configure_args1=; unset ac_configure_args1;} 2108 2109# When interrupted or exit'd, cleanup temporary files, and complete 2110# config.log. We remove comments because anyway the quotes in there 2111# would cause problems or look ugly. 2112# WARNING: Use '\'' to represent an apostrophe within the trap. 2113# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2114trap 'exit_status=$? 2115 # Save into config.log some information that might help in debugging. 2116 { 2117 echo 2118 2119 $as_echo "## ---------------- ## 2120## Cache variables. ## 2121## ---------------- ##" 2122 echo 2123 # The following way of writing the cache mishandles newlines in values, 2124( 2125 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2126 eval ac_val=\$$ac_var 2127 case $ac_val in #( 2128 *${as_nl}*) 2129 case $ac_var in #( 2130 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2131$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2132 esac 2133 case $ac_var in #( 2134 _ | IFS | as_nl) ;; #( 2135 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2136 *) { eval $ac_var=; unset $ac_var;} ;; 2137 esac ;; 2138 esac 2139 done 2140 (set) 2>&1 | 2141 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2142 *${as_nl}ac_space=\ *) 2143 sed -n \ 2144 "s/'\''/'\''\\\\'\'''\''/g; 2145 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2146 ;; #( 2147 *) 2148 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2149 ;; 2150 esac | 2151 sort 2152) 2153 echo 2154 2155 $as_echo "## ----------------- ## 2156## Output variables. ## 2157## ----------------- ##" 2158 echo 2159 for ac_var in $ac_subst_vars 2160 do 2161 eval ac_val=\$$ac_var 2162 case $ac_val in 2163 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2164 esac 2165 $as_echo "$ac_var='\''$ac_val'\''" 2166 done | sort 2167 echo 2168 2169 if test -n "$ac_subst_files"; then 2170 $as_echo "## ------------------- ## 2171## File substitutions. ## 2172## ------------------- ##" 2173 echo 2174 for ac_var in $ac_subst_files 2175 do 2176 eval ac_val=\$$ac_var 2177 case $ac_val in 2178 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2179 esac 2180 $as_echo "$ac_var='\''$ac_val'\''" 2181 done | sort 2182 echo 2183 fi 2184 2185 if test -s confdefs.h; then 2186 $as_echo "## ----------- ## 2187## confdefs.h. ## 2188## ----------- ##" 2189 echo 2190 cat confdefs.h 2191 echo 2192 fi 2193 test "$ac_signal" != 0 && 2194 $as_echo "$as_me: caught signal $ac_signal" 2195 $as_echo "$as_me: exit $exit_status" 2196 } >&5 2197 rm -f core *.core core.conftest.* && 2198 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2199 exit $exit_status 2200' 0 2201for ac_signal in 1 2 13 15; do 2202 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2203done 2204ac_signal=0 2205 2206# confdefs.h avoids OS command line length limits that DEFS can exceed. 2207rm -f -r conftest* confdefs.h 2208 2209$as_echo "/* confdefs.h */" > confdefs.h 2210 2211# Predefined preprocessor variables. 2212 2213cat >>confdefs.h <<_ACEOF 2214#define PACKAGE_NAME "$PACKAGE_NAME" 2215_ACEOF 2216 2217cat >>confdefs.h <<_ACEOF 2218#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2219_ACEOF 2220 2221cat >>confdefs.h <<_ACEOF 2222#define PACKAGE_VERSION "$PACKAGE_VERSION" 2223_ACEOF 2224 2225cat >>confdefs.h <<_ACEOF 2226#define PACKAGE_STRING "$PACKAGE_STRING" 2227_ACEOF 2228 2229cat >>confdefs.h <<_ACEOF 2230#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2231_ACEOF 2232 2233cat >>confdefs.h <<_ACEOF 2234#define PACKAGE_URL "$PACKAGE_URL" 2235_ACEOF 2236 2237 2238# Let the site file select an alternate cache file if it wants to. 2239# Prefer an explicitly selected file to automatically selected ones. 2240ac_site_file1=NONE 2241ac_site_file2=NONE 2242if test -n "$CONFIG_SITE"; then 2243 # We do not want a PATH search for config.site. 2244 case $CONFIG_SITE in #(( 2245 -*) ac_site_file1=./$CONFIG_SITE;; 2246 */*) ac_site_file1=$CONFIG_SITE;; 2247 *) ac_site_file1=./$CONFIG_SITE;; 2248 esac 2249elif test "x$prefix" != xNONE; then 2250 ac_site_file1=$prefix/share/config.site 2251 ac_site_file2=$prefix/etc/config.site 2252else 2253 ac_site_file1=$ac_default_prefix/share/config.site 2254 ac_site_file2=$ac_default_prefix/etc/config.site 2255fi 2256for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2257do 2258 test "x$ac_site_file" = xNONE && continue 2259 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2260 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2261$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2262 sed 's/^/| /' "$ac_site_file" >&5 2263 . "$ac_site_file" \ 2264 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2265$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2266as_fn_error $? "failed to load site script $ac_site_file 2267See \`config.log' for more details" "$LINENO" 5; } 2268 fi 2269done 2270 2271if test -r "$cache_file"; then 2272 # Some versions of bash will fail to source /dev/null (special files 2273 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2274 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2275 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2276$as_echo "$as_me: loading cache $cache_file" >&6;} 2277 case $cache_file in 2278 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2279 *) . "./$cache_file";; 2280 esac 2281 fi 2282else 2283 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2284$as_echo "$as_me: creating cache $cache_file" >&6;} 2285 >$cache_file 2286fi 2287 2288# Check that the precious variables saved in the cache have kept the same 2289# value. 2290ac_cache_corrupted=false 2291for ac_var in $ac_precious_vars; do 2292 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2293 eval ac_new_set=\$ac_env_${ac_var}_set 2294 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2295 eval ac_new_val=\$ac_env_${ac_var}_value 2296 case $ac_old_set,$ac_new_set in 2297 set,) 2298 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2299$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2300 ac_cache_corrupted=: ;; 2301 ,set) 2302 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2303$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2304 ac_cache_corrupted=: ;; 2305 ,);; 2306 *) 2307 if test "x$ac_old_val" != "x$ac_new_val"; then 2308 # differences in whitespace do not lead to failure. 2309 ac_old_val_w=`echo x $ac_old_val` 2310 ac_new_val_w=`echo x $ac_new_val` 2311 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2312 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2313$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2314 ac_cache_corrupted=: 2315 else 2316 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2317$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2318 eval $ac_var=\$ac_old_val 2319 fi 2320 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2321$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2322 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2323$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2324 fi;; 2325 esac 2326 # Pass precious variables to config.status. 2327 if test "$ac_new_set" = set; then 2328 case $ac_new_val in 2329 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2330 *) ac_arg=$ac_var=$ac_new_val ;; 2331 esac 2332 case " $ac_configure_args " in 2333 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2334 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2335 esac 2336 fi 2337done 2338if $ac_cache_corrupted; then 2339 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2340$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2341 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2342$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2343 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2344fi 2345## -------------------- ## 2346## Main body of script. ## 2347## -------------------- ## 2348 2349ac_ext=c 2350ac_cpp='$CPP $CPPFLAGS' 2351ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2352ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2353ac_compiler_gnu=$ac_cv_c_compiler_gnu 2354 2355 2356 2357am__api_version='1.15' 2358 2359ac_aux_dir= 2360for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2361 if test -f "$ac_dir/install-sh"; then 2362 ac_aux_dir=$ac_dir 2363 ac_install_sh="$ac_aux_dir/install-sh -c" 2364 break 2365 elif test -f "$ac_dir/install.sh"; then 2366 ac_aux_dir=$ac_dir 2367 ac_install_sh="$ac_aux_dir/install.sh -c" 2368 break 2369 elif test -f "$ac_dir/shtool"; then 2370 ac_aux_dir=$ac_dir 2371 ac_install_sh="$ac_aux_dir/shtool install -c" 2372 break 2373 fi 2374done 2375if test -z "$ac_aux_dir"; then 2376 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2377fi 2378 2379# These three variables are undocumented and unsupported, 2380# and are intended to be withdrawn in a future Autoconf release. 2381# They can cause serious problems if a builder's source tree is in a directory 2382# whose full name contains unusual characters. 2383ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2384ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2385ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2386 2387 2388# Find a good install program. We prefer a C program (faster), 2389# so one script is as good as another. But avoid the broken or 2390# incompatible versions: 2391# SysV /etc/install, /usr/sbin/install 2392# SunOS /usr/etc/install 2393# IRIX /sbin/install 2394# AIX /bin/install 2395# AmigaOS /C/install, which installs bootblocks on floppy discs 2396# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2397# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2398# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2399# OS/2's system install, which has a completely different semantic 2400# ./install, which can be erroneously created by make from ./install.sh. 2401# Reject install programs that cannot install multiple files. 2402{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2403$as_echo_n "checking for a BSD-compatible install... " >&6; } 2404if test -z "$INSTALL"; then 2405if ${ac_cv_path_install+:} false; then : 2406 $as_echo_n "(cached) " >&6 2407else 2408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2409for as_dir in $PATH 2410do 2411 IFS=$as_save_IFS 2412 test -z "$as_dir" && as_dir=. 2413 # Account for people who put trailing slashes in PATH elements. 2414case $as_dir/ in #(( 2415 ./ | .// | /[cC]/* | \ 2416 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2417 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2418 /usr/ucb/* ) ;; 2419 *) 2420 # OSF1 and SCO ODT 3.0 have their own names for install. 2421 # Don't use installbsd from OSF since it installs stuff as root 2422 # by default. 2423 for ac_prog in ginstall scoinst install; do 2424 for ac_exec_ext in '' $ac_executable_extensions; do 2425 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2426 if test $ac_prog = install && 2427 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2428 # AIX install. It has an incompatible calling convention. 2429 : 2430 elif test $ac_prog = install && 2431 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2432 # program-specific install script used by HP pwplus--don't use. 2433 : 2434 else 2435 rm -rf conftest.one conftest.two conftest.dir 2436 echo one > conftest.one 2437 echo two > conftest.two 2438 mkdir conftest.dir 2439 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2440 test -s conftest.one && test -s conftest.two && 2441 test -s conftest.dir/conftest.one && 2442 test -s conftest.dir/conftest.two 2443 then 2444 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2445 break 3 2446 fi 2447 fi 2448 fi 2449 done 2450 done 2451 ;; 2452esac 2453 2454 done 2455IFS=$as_save_IFS 2456 2457rm -rf conftest.one conftest.two conftest.dir 2458 2459fi 2460 if test "${ac_cv_path_install+set}" = set; then 2461 INSTALL=$ac_cv_path_install 2462 else 2463 # As a last resort, use the slow shell script. Don't cache a 2464 # value for INSTALL within a source directory, because that will 2465 # break other packages using the cache if that directory is 2466 # removed, or if the value is a relative name. 2467 INSTALL=$ac_install_sh 2468 fi 2469fi 2470{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2471$as_echo "$INSTALL" >&6; } 2472 2473# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2474# It thinks the first close brace ends the variable substitution. 2475test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2476 2477test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2478 2479test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2480 2481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2482$as_echo_n "checking whether build environment is sane... " >&6; } 2483# Reject unsafe characters in $srcdir or the absolute working directory 2484# name. Accept space and tab only in the latter. 2485am_lf=' 2486' 2487case `pwd` in 2488 *[\\\"\#\$\&\'\`$am_lf]*) 2489 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2490esac 2491case $srcdir in 2492 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2493 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2494esac 2495 2496# Do 'set' in a subshell so we don't clobber the current shell's 2497# arguments. Must try -L first in case configure is actually a 2498# symlink; some systems play weird games with the mod time of symlinks 2499# (eg FreeBSD returns the mod time of the symlink's containing 2500# directory). 2501if ( 2502 am_has_slept=no 2503 for am_try in 1 2; do 2504 echo "timestamp, slept: $am_has_slept" > conftest.file 2505 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2506 if test "$*" = "X"; then 2507 # -L didn't work. 2508 set X `ls -t "$srcdir/configure" conftest.file` 2509 fi 2510 if test "$*" != "X $srcdir/configure conftest.file" \ 2511 && test "$*" != "X conftest.file $srcdir/configure"; then 2512 2513 # If neither matched, then we have a broken ls. This can happen 2514 # if, for instance, CONFIG_SHELL is bash and it inherits a 2515 # broken ls alias from the environment. This has actually 2516 # happened. Such a system could not be considered "sane". 2517 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2518 alias in your environment" "$LINENO" 5 2519 fi 2520 if test "$2" = conftest.file || test $am_try -eq 2; then 2521 break 2522 fi 2523 # Just in case. 2524 sleep 1 2525 am_has_slept=yes 2526 done 2527 test "$2" = conftest.file 2528 ) 2529then 2530 # Ok. 2531 : 2532else 2533 as_fn_error $? "newly created file is older than distributed files! 2534Check your system clock" "$LINENO" 5 2535fi 2536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2537$as_echo "yes" >&6; } 2538# If we didn't sleep, we still need to ensure time stamps of config.status and 2539# generated files are strictly newer. 2540am_sleep_pid= 2541if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2542 ( sleep 1 ) & 2543 am_sleep_pid=$! 2544fi 2545 2546rm -f conftest.file 2547 2548test "$program_prefix" != NONE && 2549 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2550# Use a double $ so make ignores it. 2551test "$program_suffix" != NONE && 2552 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2553# Double any \ or $. 2554# By default was `s,x,x', remove it if useless. 2555ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2556program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2557 2558# Expand $ac_aux_dir to an absolute path. 2559am_aux_dir=`cd "$ac_aux_dir" && pwd` 2560 2561if test x"${MISSING+set}" != xset; then 2562 case $am_aux_dir in 2563 *\ * | *\ *) 2564 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2565 *) 2566 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2567 esac 2568fi 2569# Use eval to expand $SHELL 2570if eval "$MISSING --is-lightweight"; then 2571 am_missing_run="$MISSING " 2572else 2573 am_missing_run= 2574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2575$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2576fi 2577 2578if test x"${install_sh+set}" != xset; then 2579 case $am_aux_dir in 2580 *\ * | *\ *) 2581 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2582 *) 2583 install_sh="\${SHELL} $am_aux_dir/install-sh" 2584 esac 2585fi 2586 2587# Installed binaries are usually stripped using 'strip' when the user 2588# run "make install-strip". However 'strip' might not be the right 2589# tool to use in cross-compilation environments, therefore Automake 2590# will honor the 'STRIP' environment variable to overrule this program. 2591if test "$cross_compiling" != no; then 2592 if test -n "$ac_tool_prefix"; then 2593 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2594set dummy ${ac_tool_prefix}strip; ac_word=$2 2595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2596$as_echo_n "checking for $ac_word... " >&6; } 2597if ${ac_cv_prog_STRIP+:} false; then : 2598 $as_echo_n "(cached) " >&6 2599else 2600 if test -n "$STRIP"; then 2601 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2602else 2603as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2604for as_dir in $PATH 2605do 2606 IFS=$as_save_IFS 2607 test -z "$as_dir" && as_dir=. 2608 for ac_exec_ext in '' $ac_executable_extensions; do 2609 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2610 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2612 break 2 2613 fi 2614done 2615 done 2616IFS=$as_save_IFS 2617 2618fi 2619fi 2620STRIP=$ac_cv_prog_STRIP 2621if test -n "$STRIP"; then 2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2623$as_echo "$STRIP" >&6; } 2624else 2625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2626$as_echo "no" >&6; } 2627fi 2628 2629 2630fi 2631if test -z "$ac_cv_prog_STRIP"; then 2632 ac_ct_STRIP=$STRIP 2633 # Extract the first word of "strip", so it can be a program name with args. 2634set dummy strip; ac_word=$2 2635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2636$as_echo_n "checking for $ac_word... " >&6; } 2637if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2638 $as_echo_n "(cached) " >&6 2639else 2640 if test -n "$ac_ct_STRIP"; then 2641 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2642else 2643as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2644for as_dir in $PATH 2645do 2646 IFS=$as_save_IFS 2647 test -z "$as_dir" && as_dir=. 2648 for ac_exec_ext in '' $ac_executable_extensions; do 2649 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2650 ac_cv_prog_ac_ct_STRIP="strip" 2651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2652 break 2 2653 fi 2654done 2655 done 2656IFS=$as_save_IFS 2657 2658fi 2659fi 2660ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2661if test -n "$ac_ct_STRIP"; then 2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2663$as_echo "$ac_ct_STRIP" >&6; } 2664else 2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2666$as_echo "no" >&6; } 2667fi 2668 2669 if test "x$ac_ct_STRIP" = x; then 2670 STRIP=":" 2671 else 2672 case $cross_compiling:$ac_tool_warned in 2673yes:) 2674{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2675$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2676ac_tool_warned=yes ;; 2677esac 2678 STRIP=$ac_ct_STRIP 2679 fi 2680else 2681 STRIP="$ac_cv_prog_STRIP" 2682fi 2683 2684fi 2685INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2686 2687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2688$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2689if test -z "$MKDIR_P"; then 2690 if ${ac_cv_path_mkdir+:} false; then : 2691 $as_echo_n "(cached) " >&6 2692else 2693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2694for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2695do 2696 IFS=$as_save_IFS 2697 test -z "$as_dir" && as_dir=. 2698 for ac_prog in mkdir gmkdir; do 2699 for ac_exec_ext in '' $ac_executable_extensions; do 2700 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2701 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2702 'mkdir (GNU coreutils) '* | \ 2703 'mkdir (coreutils) '* | \ 2704 'mkdir (fileutils) '4.1*) 2705 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2706 break 3;; 2707 esac 2708 done 2709 done 2710 done 2711IFS=$as_save_IFS 2712 2713fi 2714 2715 test -d ./--version && rmdir ./--version 2716 if test "${ac_cv_path_mkdir+set}" = set; then 2717 MKDIR_P="$ac_cv_path_mkdir -p" 2718 else 2719 # As a last resort, use the slow shell script. Don't cache a 2720 # value for MKDIR_P within a source directory, because that will 2721 # break other packages using the cache if that directory is 2722 # removed, or if the value is a relative name. 2723 MKDIR_P="$ac_install_sh -d" 2724 fi 2725fi 2726{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2727$as_echo "$MKDIR_P" >&6; } 2728 2729for ac_prog in gawk mawk nawk awk 2730do 2731 # Extract the first word of "$ac_prog", so it can be a program name with args. 2732set dummy $ac_prog; ac_word=$2 2733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2734$as_echo_n "checking for $ac_word... " >&6; } 2735if ${ac_cv_prog_AWK+:} false; then : 2736 $as_echo_n "(cached) " >&6 2737else 2738 if test -n "$AWK"; then 2739 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2740else 2741as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2742for as_dir in $PATH 2743do 2744 IFS=$as_save_IFS 2745 test -z "$as_dir" && as_dir=. 2746 for ac_exec_ext in '' $ac_executable_extensions; do 2747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2748 ac_cv_prog_AWK="$ac_prog" 2749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2750 break 2 2751 fi 2752done 2753 done 2754IFS=$as_save_IFS 2755 2756fi 2757fi 2758AWK=$ac_cv_prog_AWK 2759if test -n "$AWK"; then 2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2761$as_echo "$AWK" >&6; } 2762else 2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2764$as_echo "no" >&6; } 2765fi 2766 2767 2768 test -n "$AWK" && break 2769done 2770 2771{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2772$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2773set x ${MAKE-make} 2774ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2775if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2776 $as_echo_n "(cached) " >&6 2777else 2778 cat >conftest.make <<\_ACEOF 2779SHELL = /bin/sh 2780all: 2781 @echo '@@@%%%=$(MAKE)=@@@%%%' 2782_ACEOF 2783# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2784case `${MAKE-make} -f conftest.make 2>/dev/null` in 2785 *@@@%%%=?*=@@@%%%*) 2786 eval ac_cv_prog_make_${ac_make}_set=yes;; 2787 *) 2788 eval ac_cv_prog_make_${ac_make}_set=no;; 2789esac 2790rm -f conftest.make 2791fi 2792if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2794$as_echo "yes" >&6; } 2795 SET_MAKE= 2796else 2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2798$as_echo "no" >&6; } 2799 SET_MAKE="MAKE=${MAKE-make}" 2800fi 2801 2802rm -rf .tst 2>/dev/null 2803mkdir .tst 2>/dev/null 2804if test -d .tst; then 2805 am__leading_dot=. 2806else 2807 am__leading_dot=_ 2808fi 2809rmdir .tst 2>/dev/null 2810 2811# Check whether --enable-silent-rules was given. 2812if test "${enable_silent_rules+set}" = set; then : 2813 enableval=$enable_silent_rules; 2814fi 2815 2816case $enable_silent_rules in # ((( 2817 yes) AM_DEFAULT_VERBOSITY=0;; 2818 no) AM_DEFAULT_VERBOSITY=1;; 2819 *) AM_DEFAULT_VERBOSITY=1;; 2820esac 2821am_make=${MAKE-make} 2822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2823$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2824if ${am_cv_make_support_nested_variables+:} false; then : 2825 $as_echo_n "(cached) " >&6 2826else 2827 if $as_echo 'TRUE=$(BAR$(V)) 2828BAR0=false 2829BAR1=true 2830V=1 2831am__doit: 2832 @$(TRUE) 2833.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2834 am_cv_make_support_nested_variables=yes 2835else 2836 am_cv_make_support_nested_variables=no 2837fi 2838fi 2839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2840$as_echo "$am_cv_make_support_nested_variables" >&6; } 2841if test $am_cv_make_support_nested_variables = yes; then 2842 AM_V='$(V)' 2843 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2844else 2845 AM_V=$AM_DEFAULT_VERBOSITY 2846 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2847fi 2848AM_BACKSLASH='\' 2849 2850if test "`cd $srcdir && pwd`" != "`pwd`"; then 2851 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2852 # is not polluted with repeated "-I." 2853 am__isrc=' -I$(srcdir)' 2854 # test to see if srcdir already configured 2855 if test -f $srcdir/config.status; then 2856 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2857 fi 2858fi 2859 2860# test whether we have cygpath 2861if test -z "$CYGPATH_W"; then 2862 if (cygpath --version) >/dev/null 2>/dev/null; then 2863 CYGPATH_W='cygpath -w' 2864 else 2865 CYGPATH_W=echo 2866 fi 2867fi 2868 2869 2870# Define the identity of the package. 2871 PACKAGE='lingot' 2872 VERSION='1.0.1' 2873 2874 2875cat >>confdefs.h <<_ACEOF 2876#define PACKAGE "$PACKAGE" 2877_ACEOF 2878 2879 2880cat >>confdefs.h <<_ACEOF 2881#define VERSION "$VERSION" 2882_ACEOF 2883 2884# Some tools Automake needs. 2885 2886ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2887 2888 2889AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2890 2891 2892AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2893 2894 2895AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2896 2897 2898MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2899 2900# For better backward compatibility. To be removed once Automake 1.9.x 2901# dies out for good. For more background, see: 2902# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2903# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2904mkdir_p='$(MKDIR_P)' 2905 2906# We need awk for the "check" target (and possibly the TAP driver). The 2907# system "awk" is bad on some platforms. 2908# Always define AMTAR for backward compatibility. Yes, it's still used 2909# in the wild :-( We should find a proper way to deprecate it ... 2910AMTAR='$${TAR-tar}' 2911 2912 2913# We'll loop over all known methods to create a tar archive until one works. 2914_am_tools='gnutar pax cpio none' 2915 2916am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2917 2918 2919 2920 2921 2922 2923# POSIX will say in a future version that running "rm -f" with no argument 2924# is OK; and we want to be able to make that assumption in our Makefile 2925# recipes. So use an aggressive probe to check that the usage we want is 2926# actually supported "in the wild" to an acceptable degree. 2927# See automake bug#10828. 2928# To make any issue more visible, cause the running configure to be aborted 2929# by default if the 'rm' program in use doesn't match our expectations; the 2930# user can still override this though. 2931if rm -f && rm -fr && rm -rf; then : OK; else 2932 cat >&2 <<'END' 2933Oops! 2934 2935Your 'rm' program seems unable to run without file operands specified 2936on the command line, even when the '-f' option is present. This is contrary 2937to the behaviour of most rm programs out there, and not conforming with 2938the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2939 2940Please tell bug-automake@gnu.org about your system, including the value 2941of your $PATH and any error possibly output before this message. This 2942can help us improve future automake versions. 2943 2944END 2945 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2946 echo 'Configuration will proceed anyway, since you have set the' >&2 2947 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2948 echo >&2 2949 else 2950 cat >&2 <<'END' 2951Aborting the configuration process, to ensure you take notice of the issue. 2952 2953You can download and install GNU coreutils to get an 'rm' implementation 2954that behaves properly: <http://www.gnu.org/software/coreutils/>. 2955 2956If you want to complete the configuration process using your problematic 2957'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2958to "yes", and re-run configure. 2959 2960END 2961 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 2962 fi 2963fi 2964 2965ac_config_headers="$ac_config_headers config.h" 2966 2967 2968{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 2969$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2970 # Check whether --enable-maintainer-mode was given. 2971if test "${enable_maintainer_mode+set}" = set; then : 2972 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2973else 2974 USE_MAINTAINER_MODE=no 2975fi 2976 2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 2978$as_echo "$USE_MAINTAINER_MODE" >&6; } 2979 if test $USE_MAINTAINER_MODE = yes; then 2980 MAINTAINER_MODE_TRUE= 2981 MAINTAINER_MODE_FALSE='#' 2982else 2983 MAINTAINER_MODE_TRUE='#' 2984 MAINTAINER_MODE_FALSE= 2985fi 2986 2987 MAINT=$MAINTAINER_MODE_TRUE 2988 2989 2990 2991DEPDIR="${am__leading_dot}deps" 2992 2993ac_config_commands="$ac_config_commands depfiles" 2994 2995 2996am_make=${MAKE-make} 2997cat > confinc << 'END' 2998am__doit: 2999 @echo this is the am__doit target 3000.PHONY: am__doit 3001END 3002# If we don't find an include directive, just comment out the code. 3003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3004$as_echo_n "checking for style of include used by $am_make... " >&6; } 3005am__include="#" 3006am__quote= 3007_am_result=none 3008# First try GNU make style include. 3009echo "include confinc" > confmf 3010# Ignore all kinds of additional output from 'make'. 3011case `$am_make -s -f confmf 2> /dev/null` in #( 3012*the\ am__doit\ target*) 3013 am__include=include 3014 am__quote= 3015 _am_result=GNU 3016 ;; 3017esac 3018# Now try BSD make style include. 3019if test "$am__include" = "#"; then 3020 echo '.include "confinc"' > confmf 3021 case `$am_make -s -f confmf 2> /dev/null` in #( 3022 *the\ am__doit\ target*) 3023 am__include=.include 3024 am__quote="\"" 3025 _am_result=BSD 3026 ;; 3027 esac 3028fi 3029 3030 3031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3032$as_echo "$_am_result" >&6; } 3033rm -f confinc confmf 3034 3035# Check whether --enable-dependency-tracking was given. 3036if test "${enable_dependency_tracking+set}" = set; then : 3037 enableval=$enable_dependency_tracking; 3038fi 3039 3040if test "x$enable_dependency_tracking" != xno; then 3041 am_depcomp="$ac_aux_dir/depcomp" 3042 AMDEPBACKSLASH='\' 3043 am__nodep='_no' 3044fi 3045 if test "x$enable_dependency_tracking" != xno; then 3046 AMDEP_TRUE= 3047 AMDEP_FALSE='#' 3048else 3049 AMDEP_TRUE='#' 3050 AMDEP_FALSE= 3051fi 3052 3053 3054ac_ext=c 3055ac_cpp='$CPP $CPPFLAGS' 3056ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3057ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3058ac_compiler_gnu=$ac_cv_c_compiler_gnu 3059if test -n "$ac_tool_prefix"; then 3060 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3061set dummy ${ac_tool_prefix}gcc; ac_word=$2 3062{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3063$as_echo_n "checking for $ac_word... " >&6; } 3064if ${ac_cv_prog_CC+:} false; then : 3065 $as_echo_n "(cached) " >&6 3066else 3067 if test -n "$CC"; then 3068 ac_cv_prog_CC="$CC" # Let the user override the test. 3069else 3070as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3071for as_dir in $PATH 3072do 3073 IFS=$as_save_IFS 3074 test -z "$as_dir" && as_dir=. 3075 for ac_exec_ext in '' $ac_executable_extensions; do 3076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3077 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3079 break 2 3080 fi 3081done 3082 done 3083IFS=$as_save_IFS 3084 3085fi 3086fi 3087CC=$ac_cv_prog_CC 3088if test -n "$CC"; then 3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3090$as_echo "$CC" >&6; } 3091else 3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3093$as_echo "no" >&6; } 3094fi 3095 3096 3097fi 3098if test -z "$ac_cv_prog_CC"; then 3099 ac_ct_CC=$CC 3100 # Extract the first word of "gcc", so it can be a program name with args. 3101set dummy gcc; ac_word=$2 3102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3103$as_echo_n "checking for $ac_word... " >&6; } 3104if ${ac_cv_prog_ac_ct_CC+:} false; then : 3105 $as_echo_n "(cached) " >&6 3106else 3107 if test -n "$ac_ct_CC"; then 3108 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3109else 3110as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3111for as_dir in $PATH 3112do 3113 IFS=$as_save_IFS 3114 test -z "$as_dir" && as_dir=. 3115 for ac_exec_ext in '' $ac_executable_extensions; do 3116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3117 ac_cv_prog_ac_ct_CC="gcc" 3118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3119 break 2 3120 fi 3121done 3122 done 3123IFS=$as_save_IFS 3124 3125fi 3126fi 3127ac_ct_CC=$ac_cv_prog_ac_ct_CC 3128if test -n "$ac_ct_CC"; then 3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3130$as_echo "$ac_ct_CC" >&6; } 3131else 3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3133$as_echo "no" >&6; } 3134fi 3135 3136 if test "x$ac_ct_CC" = x; then 3137 CC="" 3138 else 3139 case $cross_compiling:$ac_tool_warned in 3140yes:) 3141{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3142$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3143ac_tool_warned=yes ;; 3144esac 3145 CC=$ac_ct_CC 3146 fi 3147else 3148 CC="$ac_cv_prog_CC" 3149fi 3150 3151if test -z "$CC"; then 3152 if test -n "$ac_tool_prefix"; then 3153 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3154set dummy ${ac_tool_prefix}cc; ac_word=$2 3155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3156$as_echo_n "checking for $ac_word... " >&6; } 3157if ${ac_cv_prog_CC+:} false; then : 3158 $as_echo_n "(cached) " >&6 3159else 3160 if test -n "$CC"; then 3161 ac_cv_prog_CC="$CC" # Let the user override the test. 3162else 3163as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3164for as_dir in $PATH 3165do 3166 IFS=$as_save_IFS 3167 test -z "$as_dir" && as_dir=. 3168 for ac_exec_ext in '' $ac_executable_extensions; do 3169 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3170 ac_cv_prog_CC="${ac_tool_prefix}cc" 3171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3172 break 2 3173 fi 3174done 3175 done 3176IFS=$as_save_IFS 3177 3178fi 3179fi 3180CC=$ac_cv_prog_CC 3181if test -n "$CC"; then 3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3183$as_echo "$CC" >&6; } 3184else 3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3186$as_echo "no" >&6; } 3187fi 3188 3189 3190 fi 3191fi 3192if test -z "$CC"; then 3193 # Extract the first word of "cc", so it can be a program name with args. 3194set dummy cc; ac_word=$2 3195{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3196$as_echo_n "checking for $ac_word... " >&6; } 3197if ${ac_cv_prog_CC+:} false; then : 3198 $as_echo_n "(cached) " >&6 3199else 3200 if test -n "$CC"; then 3201 ac_cv_prog_CC="$CC" # Let the user override the test. 3202else 3203 ac_prog_rejected=no 3204as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3205for as_dir in $PATH 3206do 3207 IFS=$as_save_IFS 3208 test -z "$as_dir" && as_dir=. 3209 for ac_exec_ext in '' $ac_executable_extensions; do 3210 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3211 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3212 ac_prog_rejected=yes 3213 continue 3214 fi 3215 ac_cv_prog_CC="cc" 3216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3217 break 2 3218 fi 3219done 3220 done 3221IFS=$as_save_IFS 3222 3223if test $ac_prog_rejected = yes; then 3224 # We found a bogon in the path, so make sure we never use it. 3225 set dummy $ac_cv_prog_CC 3226 shift 3227 if test $# != 0; then 3228 # We chose a different compiler from the bogus one. 3229 # However, it has the same basename, so the bogon will be chosen 3230 # first if we set CC to just the basename; use the full file name. 3231 shift 3232 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3233 fi 3234fi 3235fi 3236fi 3237CC=$ac_cv_prog_CC 3238if test -n "$CC"; then 3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3240$as_echo "$CC" >&6; } 3241else 3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3243$as_echo "no" >&6; } 3244fi 3245 3246 3247fi 3248if test -z "$CC"; then 3249 if test -n "$ac_tool_prefix"; then 3250 for ac_prog in cl.exe 3251 do 3252 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3253set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3255$as_echo_n "checking for $ac_word... " >&6; } 3256if ${ac_cv_prog_CC+:} false; then : 3257 $as_echo_n "(cached) " >&6 3258else 3259 if test -n "$CC"; then 3260 ac_cv_prog_CC="$CC" # Let the user override the test. 3261else 3262as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3263for as_dir in $PATH 3264do 3265 IFS=$as_save_IFS 3266 test -z "$as_dir" && as_dir=. 3267 for ac_exec_ext in '' $ac_executable_extensions; do 3268 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3269 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3271 break 2 3272 fi 3273done 3274 done 3275IFS=$as_save_IFS 3276 3277fi 3278fi 3279CC=$ac_cv_prog_CC 3280if test -n "$CC"; then 3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3282$as_echo "$CC" >&6; } 3283else 3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3285$as_echo "no" >&6; } 3286fi 3287 3288 3289 test -n "$CC" && break 3290 done 3291fi 3292if test -z "$CC"; then 3293 ac_ct_CC=$CC 3294 for ac_prog in cl.exe 3295do 3296 # Extract the first word of "$ac_prog", so it can be a program name with args. 3297set dummy $ac_prog; ac_word=$2 3298{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3299$as_echo_n "checking for $ac_word... " >&6; } 3300if ${ac_cv_prog_ac_ct_CC+:} false; then : 3301 $as_echo_n "(cached) " >&6 3302else 3303 if test -n "$ac_ct_CC"; then 3304 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3305else 3306as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3307for as_dir in $PATH 3308do 3309 IFS=$as_save_IFS 3310 test -z "$as_dir" && as_dir=. 3311 for ac_exec_ext in '' $ac_executable_extensions; do 3312 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3313 ac_cv_prog_ac_ct_CC="$ac_prog" 3314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3315 break 2 3316 fi 3317done 3318 done 3319IFS=$as_save_IFS 3320 3321fi 3322fi 3323ac_ct_CC=$ac_cv_prog_ac_ct_CC 3324if test -n "$ac_ct_CC"; then 3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3326$as_echo "$ac_ct_CC" >&6; } 3327else 3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3329$as_echo "no" >&6; } 3330fi 3331 3332 3333 test -n "$ac_ct_CC" && break 3334done 3335 3336 if test "x$ac_ct_CC" = x; then 3337 CC="" 3338 else 3339 case $cross_compiling:$ac_tool_warned in 3340yes:) 3341{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3342$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3343ac_tool_warned=yes ;; 3344esac 3345 CC=$ac_ct_CC 3346 fi 3347fi 3348 3349fi 3350 3351 3352test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3353$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3354as_fn_error $? "no acceptable C compiler found in \$PATH 3355See \`config.log' for more details" "$LINENO" 5; } 3356 3357# Provide some information about the compiler. 3358$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3359set X $ac_compile 3360ac_compiler=$2 3361for ac_option in --version -v -V -qversion; do 3362 { { ac_try="$ac_compiler $ac_option >&5" 3363case "(($ac_try" in 3364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3365 *) ac_try_echo=$ac_try;; 3366esac 3367eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3368$as_echo "$ac_try_echo"; } >&5 3369 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3370 ac_status=$? 3371 if test -s conftest.err; then 3372 sed '10a\ 3373... rest of stderr output deleted ... 3374 10q' conftest.err >conftest.er1 3375 cat conftest.er1 >&5 3376 fi 3377 rm -f conftest.er1 conftest.err 3378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3379 test $ac_status = 0; } 3380done 3381 3382cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3383/* end confdefs.h. */ 3384 3385int 3386main () 3387{ 3388 3389 ; 3390 return 0; 3391} 3392_ACEOF 3393ac_clean_files_save=$ac_clean_files 3394ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3395# Try to create an executable without -o first, disregard a.out. 3396# It will help us diagnose broken compilers, and finding out an intuition 3397# of exeext. 3398{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3399$as_echo_n "checking whether the C compiler works... " >&6; } 3400ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3401 3402# The possible output files: 3403ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3404 3405ac_rmfiles= 3406for ac_file in $ac_files 3407do 3408 case $ac_file in 3409 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3410 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3411 esac 3412done 3413rm -f $ac_rmfiles 3414 3415if { { ac_try="$ac_link_default" 3416case "(($ac_try" in 3417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3418 *) ac_try_echo=$ac_try;; 3419esac 3420eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3421$as_echo "$ac_try_echo"; } >&5 3422 (eval "$ac_link_default") 2>&5 3423 ac_status=$? 3424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3425 test $ac_status = 0; }; then : 3426 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3427# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3428# in a Makefile. We should not override ac_cv_exeext if it was cached, 3429# so that the user can short-circuit this test for compilers unknown to 3430# Autoconf. 3431for ac_file in $ac_files '' 3432do 3433 test -f "$ac_file" || continue 3434 case $ac_file in 3435 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3436 ;; 3437 [ab].out ) 3438 # We found the default executable, but exeext='' is most 3439 # certainly right. 3440 break;; 3441 *.* ) 3442 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3443 then :; else 3444 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3445 fi 3446 # We set ac_cv_exeext here because the later test for it is not 3447 # safe: cross compilers may not add the suffix if given an `-o' 3448 # argument, so we may need to know it at that point already. 3449 # Even if this section looks crufty: it has the advantage of 3450 # actually working. 3451 break;; 3452 * ) 3453 break;; 3454 esac 3455done 3456test "$ac_cv_exeext" = no && ac_cv_exeext= 3457 3458else 3459 ac_file='' 3460fi 3461if test -z "$ac_file"; then : 3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3463$as_echo "no" >&6; } 3464$as_echo "$as_me: failed program was:" >&5 3465sed 's/^/| /' conftest.$ac_ext >&5 3466 3467{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3468$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3469as_fn_error 77 "C compiler cannot create executables 3470See \`config.log' for more details" "$LINENO" 5; } 3471else 3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3473$as_echo "yes" >&6; } 3474fi 3475{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3476$as_echo_n "checking for C compiler default output file name... " >&6; } 3477{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3478$as_echo "$ac_file" >&6; } 3479ac_exeext=$ac_cv_exeext 3480 3481rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3482ac_clean_files=$ac_clean_files_save 3483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3484$as_echo_n "checking for suffix of executables... " >&6; } 3485if { { ac_try="$ac_link" 3486case "(($ac_try" in 3487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3488 *) ac_try_echo=$ac_try;; 3489esac 3490eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3491$as_echo "$ac_try_echo"; } >&5 3492 (eval "$ac_link") 2>&5 3493 ac_status=$? 3494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3495 test $ac_status = 0; }; then : 3496 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3497# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3498# work properly (i.e., refer to `conftest.exe'), while it won't with 3499# `rm'. 3500for ac_file in conftest.exe conftest conftest.*; do 3501 test -f "$ac_file" || continue 3502 case $ac_file in 3503 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3504 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3505 break;; 3506 * ) break;; 3507 esac 3508done 3509else 3510 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3511$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3512as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3513See \`config.log' for more details" "$LINENO" 5; } 3514fi 3515rm -f conftest conftest$ac_cv_exeext 3516{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3517$as_echo "$ac_cv_exeext" >&6; } 3518 3519rm -f conftest.$ac_ext 3520EXEEXT=$ac_cv_exeext 3521ac_exeext=$EXEEXT 3522cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3523/* end confdefs.h. */ 3524#include <stdio.h> 3525int 3526main () 3527{ 3528FILE *f = fopen ("conftest.out", "w"); 3529 return ferror (f) || fclose (f) != 0; 3530 3531 ; 3532 return 0; 3533} 3534_ACEOF 3535ac_clean_files="$ac_clean_files conftest.out" 3536# Check that the compiler produces executables we can run. If not, either 3537# the compiler is broken, or we cross compile. 3538{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3539$as_echo_n "checking whether we are cross compiling... " >&6; } 3540if test "$cross_compiling" != yes; then 3541 { { ac_try="$ac_link" 3542case "(($ac_try" in 3543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3544 *) ac_try_echo=$ac_try;; 3545esac 3546eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3547$as_echo "$ac_try_echo"; } >&5 3548 (eval "$ac_link") 2>&5 3549 ac_status=$? 3550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3551 test $ac_status = 0; } 3552 if { ac_try='./conftest$ac_cv_exeext' 3553 { { case "(($ac_try" in 3554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3555 *) ac_try_echo=$ac_try;; 3556esac 3557eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3558$as_echo "$ac_try_echo"; } >&5 3559 (eval "$ac_try") 2>&5 3560 ac_status=$? 3561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3562 test $ac_status = 0; }; }; then 3563 cross_compiling=no 3564 else 3565 if test "$cross_compiling" = maybe; then 3566 cross_compiling=yes 3567 else 3568 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3569$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3570as_fn_error $? "cannot run C compiled programs. 3571If you meant to cross compile, use \`--host'. 3572See \`config.log' for more details" "$LINENO" 5; } 3573 fi 3574 fi 3575fi 3576{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3577$as_echo "$cross_compiling" >&6; } 3578 3579rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3580ac_clean_files=$ac_clean_files_save 3581{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3582$as_echo_n "checking for suffix of object files... " >&6; } 3583if ${ac_cv_objext+:} false; then : 3584 $as_echo_n "(cached) " >&6 3585else 3586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3587/* end confdefs.h. */ 3588 3589int 3590main () 3591{ 3592 3593 ; 3594 return 0; 3595} 3596_ACEOF 3597rm -f conftest.o conftest.obj 3598if { { ac_try="$ac_compile" 3599case "(($ac_try" in 3600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3601 *) ac_try_echo=$ac_try;; 3602esac 3603eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3604$as_echo "$ac_try_echo"; } >&5 3605 (eval "$ac_compile") 2>&5 3606 ac_status=$? 3607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3608 test $ac_status = 0; }; then : 3609 for ac_file in conftest.o conftest.obj conftest.*; do 3610 test -f "$ac_file" || continue; 3611 case $ac_file in 3612 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3613 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3614 break;; 3615 esac 3616done 3617else 3618 $as_echo "$as_me: failed program was:" >&5 3619sed 's/^/| /' conftest.$ac_ext >&5 3620 3621{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3622$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3623as_fn_error $? "cannot compute suffix of object files: cannot compile 3624See \`config.log' for more details" "$LINENO" 5; } 3625fi 3626rm -f conftest.$ac_cv_objext conftest.$ac_ext 3627fi 3628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3629$as_echo "$ac_cv_objext" >&6; } 3630OBJEXT=$ac_cv_objext 3631ac_objext=$OBJEXT 3632{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3633$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3634if ${ac_cv_c_compiler_gnu+:} false; then : 3635 $as_echo_n "(cached) " >&6 3636else 3637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3638/* end confdefs.h. */ 3639 3640int 3641main () 3642{ 3643#ifndef __GNUC__ 3644 choke me 3645#endif 3646 3647 ; 3648 return 0; 3649} 3650_ACEOF 3651if ac_fn_c_try_compile "$LINENO"; then : 3652 ac_compiler_gnu=yes 3653else 3654 ac_compiler_gnu=no 3655fi 3656rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3657ac_cv_c_compiler_gnu=$ac_compiler_gnu 3658 3659fi 3660{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3661$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3662if test $ac_compiler_gnu = yes; then 3663 GCC=yes 3664else 3665 GCC= 3666fi 3667ac_test_CFLAGS=${CFLAGS+set} 3668ac_save_CFLAGS=$CFLAGS 3669{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3670$as_echo_n "checking whether $CC accepts -g... " >&6; } 3671if ${ac_cv_prog_cc_g+:} false; then : 3672 $as_echo_n "(cached) " >&6 3673else 3674 ac_save_c_werror_flag=$ac_c_werror_flag 3675 ac_c_werror_flag=yes 3676 ac_cv_prog_cc_g=no 3677 CFLAGS="-g" 3678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3679/* end confdefs.h. */ 3680 3681int 3682main () 3683{ 3684 3685 ; 3686 return 0; 3687} 3688_ACEOF 3689if ac_fn_c_try_compile "$LINENO"; then : 3690 ac_cv_prog_cc_g=yes 3691else 3692 CFLAGS="" 3693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3694/* end confdefs.h. */ 3695 3696int 3697main () 3698{ 3699 3700 ; 3701 return 0; 3702} 3703_ACEOF 3704if ac_fn_c_try_compile "$LINENO"; then : 3705 3706else 3707 ac_c_werror_flag=$ac_save_c_werror_flag 3708 CFLAGS="-g" 3709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3710/* end confdefs.h. */ 3711 3712int 3713main () 3714{ 3715 3716 ; 3717 return 0; 3718} 3719_ACEOF 3720if ac_fn_c_try_compile "$LINENO"; then : 3721 ac_cv_prog_cc_g=yes 3722fi 3723rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3724fi 3725rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3726fi 3727rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3728 ac_c_werror_flag=$ac_save_c_werror_flag 3729fi 3730{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3731$as_echo "$ac_cv_prog_cc_g" >&6; } 3732if test "$ac_test_CFLAGS" = set; then 3733 CFLAGS=$ac_save_CFLAGS 3734elif test $ac_cv_prog_cc_g = yes; then 3735 if test "$GCC" = yes; then 3736 CFLAGS="-g -O2" 3737 else 3738 CFLAGS="-g" 3739 fi 3740else 3741 if test "$GCC" = yes; then 3742 CFLAGS="-O2" 3743 else 3744 CFLAGS= 3745 fi 3746fi 3747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3748$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3749if ${ac_cv_prog_cc_c89+:} false; then : 3750 $as_echo_n "(cached) " >&6 3751else 3752 ac_cv_prog_cc_c89=no 3753ac_save_CC=$CC 3754cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3755/* end confdefs.h. */ 3756#include <stdarg.h> 3757#include <stdio.h> 3758struct stat; 3759/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3760struct buf { int x; }; 3761FILE * (*rcsopen) (struct buf *, struct stat *, int); 3762static char *e (p, i) 3763 char **p; 3764 int i; 3765{ 3766 return p[i]; 3767} 3768static char *f (char * (*g) (char **, int), char **p, ...) 3769{ 3770 char *s; 3771 va_list v; 3772 va_start (v,p); 3773 s = g (p, va_arg (v,int)); 3774 va_end (v); 3775 return s; 3776} 3777 3778/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3779 function prototypes and stuff, but not '\xHH' hex character constants. 3780 These don't provoke an error unfortunately, instead are silently treated 3781 as 'x'. The following induces an error, until -std is added to get 3782 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3783 array size at least. It's necessary to write '\x00'==0 to get something 3784 that's true only with -std. */ 3785int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3786 3787/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3788 inside strings and character constants. */ 3789#define FOO(x) 'x' 3790int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3791 3792int test (int i, double x); 3793struct s1 {int (*f) (int a);}; 3794struct s2 {int (*f) (double a);}; 3795int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3796int argc; 3797char **argv; 3798int 3799main () 3800{ 3801return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3802 ; 3803 return 0; 3804} 3805_ACEOF 3806for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3807 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3808do 3809 CC="$ac_save_CC $ac_arg" 3810 if ac_fn_c_try_compile "$LINENO"; then : 3811 ac_cv_prog_cc_c89=$ac_arg 3812fi 3813rm -f core conftest.err conftest.$ac_objext 3814 test "x$ac_cv_prog_cc_c89" != "xno" && break 3815done 3816rm -f conftest.$ac_ext 3817CC=$ac_save_CC 3818 3819fi 3820# AC_CACHE_VAL 3821case "x$ac_cv_prog_cc_c89" in 3822 x) 3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3824$as_echo "none needed" >&6; } ;; 3825 xno) 3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3827$as_echo "unsupported" >&6; } ;; 3828 *) 3829 CC="$CC $ac_cv_prog_cc_c89" 3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3831$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3832esac 3833if test "x$ac_cv_prog_cc_c89" != xno; then : 3834 3835fi 3836 3837ac_ext=c 3838ac_cpp='$CPP $CPPFLAGS' 3839ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3840ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3841ac_compiler_gnu=$ac_cv_c_compiler_gnu 3842 3843ac_ext=c 3844ac_cpp='$CPP $CPPFLAGS' 3845ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3846ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3847ac_compiler_gnu=$ac_cv_c_compiler_gnu 3848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3849$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3850if ${am_cv_prog_cc_c_o+:} false; then : 3851 $as_echo_n "(cached) " >&6 3852else 3853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3854/* end confdefs.h. */ 3855 3856int 3857main () 3858{ 3859 3860 ; 3861 return 0; 3862} 3863_ACEOF 3864 # Make sure it works both with $CC and with simple cc. 3865 # Following AC_PROG_CC_C_O, we do the test twice because some 3866 # compilers refuse to overwrite an existing .o file with -o, 3867 # though they will create one. 3868 am_cv_prog_cc_c_o=yes 3869 for am_i in 1 2; do 3870 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3871 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3872 ac_status=$? 3873 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3874 (exit $ac_status); } \ 3875 && test -f conftest2.$ac_objext; then 3876 : OK 3877 else 3878 am_cv_prog_cc_c_o=no 3879 break 3880 fi 3881 done 3882 rm -f core conftest* 3883 unset am_i 3884fi 3885{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3886$as_echo "$am_cv_prog_cc_c_o" >&6; } 3887if test "$am_cv_prog_cc_c_o" != yes; then 3888 # Losing compiler, so override with the script. 3889 # FIXME: It is wrong to rewrite CC. 3890 # But if we don't then we get into trouble of one sort or another. 3891 # A longer-term fix would be to have automake use am__CC in this case, 3892 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3893 CC="$am_aux_dir/compile $CC" 3894fi 3895ac_ext=c 3896ac_cpp='$CPP $CPPFLAGS' 3897ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3898ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3899ac_compiler_gnu=$ac_cv_c_compiler_gnu 3900 3901 3902depcc="$CC" am_compiler_list= 3903 3904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3905$as_echo_n "checking dependency style of $depcc... " >&6; } 3906if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3907 $as_echo_n "(cached) " >&6 3908else 3909 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3910 # We make a subdir and do the tests there. Otherwise we can end up 3911 # making bogus files that we don't know about and never remove. For 3912 # instance it was reported that on HP-UX the gcc test will end up 3913 # making a dummy file named 'D' -- because '-MD' means "put the output 3914 # in D". 3915 rm -rf conftest.dir 3916 mkdir conftest.dir 3917 # Copy depcomp to subdir because otherwise we won't find it if we're 3918 # using a relative directory. 3919 cp "$am_depcomp" conftest.dir 3920 cd conftest.dir 3921 # We will build objects and dependencies in a subdirectory because 3922 # it helps to detect inapplicable dependency modes. For instance 3923 # both Tru64's cc and ICC support -MD to output dependencies as a 3924 # side effect of compilation, but ICC will put the dependencies in 3925 # the current directory while Tru64 will put them in the object 3926 # directory. 3927 mkdir sub 3928 3929 am_cv_CC_dependencies_compiler_type=none 3930 if test "$am_compiler_list" = ""; then 3931 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3932 fi 3933 am__universal=false 3934 case " $depcc " in #( 3935 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3936 esac 3937 3938 for depmode in $am_compiler_list; do 3939 # Setup a source with many dependencies, because some compilers 3940 # like to wrap large dependency lists on column 80 (with \), and 3941 # we should not choose a depcomp mode which is confused by this. 3942 # 3943 # We need to recreate these files for each test, as the compiler may 3944 # overwrite some of them when testing with obscure command lines. 3945 # This happens at least with the AIX C compiler. 3946 : > sub/conftest.c 3947 for i in 1 2 3 4 5 6; do 3948 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3949 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3950 # Solaris 10 /bin/sh. 3951 echo '/* dummy */' > sub/conftst$i.h 3952 done 3953 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3954 3955 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3956 # mode. It turns out that the SunPro C++ compiler does not properly 3957 # handle '-M -o', and we need to detect this. Also, some Intel 3958 # versions had trouble with output in subdirs. 3959 am__obj=sub/conftest.${OBJEXT-o} 3960 am__minus_obj="-o $am__obj" 3961 case $depmode in 3962 gcc) 3963 # This depmode causes a compiler race in universal mode. 3964 test "$am__universal" = false || continue 3965 ;; 3966 nosideeffect) 3967 # After this tag, mechanisms are not by side-effect, so they'll 3968 # only be used when explicitly requested. 3969 if test "x$enable_dependency_tracking" = xyes; then 3970 continue 3971 else 3972 break 3973 fi 3974 ;; 3975 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3976 # This compiler won't grok '-c -o', but also, the minuso test has 3977 # not run yet. These depmodes are late enough in the game, and 3978 # so weak that their functioning should not be impacted. 3979 am__obj=conftest.${OBJEXT-o} 3980 am__minus_obj= 3981 ;; 3982 none) break ;; 3983 esac 3984 if depmode=$depmode \ 3985 source=sub/conftest.c object=$am__obj \ 3986 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3987 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3988 >/dev/null 2>conftest.err && 3989 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3990 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3991 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3992 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3993 # icc doesn't choke on unknown options, it will just issue warnings 3994 # or remarks (even with -Werror). So we grep stderr for any message 3995 # that says an option was ignored or not supported. 3996 # When given -MP, icc 7.0 and 7.1 complain thusly: 3997 # icc: Command line warning: ignoring option '-M'; no argument required 3998 # The diagnosis changed in icc 8.0: 3999 # icc: Command line remark: option '-MP' not supported 4000 if (grep 'ignoring option' conftest.err || 4001 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4002 am_cv_CC_dependencies_compiler_type=$depmode 4003 break 4004 fi 4005 fi 4006 done 4007 4008 cd .. 4009 rm -rf conftest.dir 4010else 4011 am_cv_CC_dependencies_compiler_type=none 4012fi 4013 4014fi 4015{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4016$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4017CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4018 4019 if 4020 test "x$enable_dependency_tracking" != xno \ 4021 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4022 am__fastdepCC_TRUE= 4023 am__fastdepCC_FALSE='#' 4024else 4025 am__fastdepCC_TRUE='#' 4026 am__fastdepCC_FALSE= 4027fi 4028 4029 4030 4031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 4032$as_echo_n "checking for library containing strerror... " >&6; } 4033if ${ac_cv_search_strerror+:} false; then : 4034 $as_echo_n "(cached) " >&6 4035else 4036 ac_func_search_save_LIBS=$LIBS 4037cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4038/* end confdefs.h. */ 4039 4040/* Override any GCC internal prototype to avoid an error. 4041 Use char because int might match the return type of a GCC 4042 builtin and then its argument prototype would still apply. */ 4043#ifdef __cplusplus 4044extern "C" 4045#endif 4046char strerror (); 4047int 4048main () 4049{ 4050return strerror (); 4051 ; 4052 return 0; 4053} 4054_ACEOF 4055for ac_lib in '' cposix; do 4056 if test -z "$ac_lib"; then 4057 ac_res="none required" 4058 else 4059 ac_res=-l$ac_lib 4060 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4061 fi 4062 if ac_fn_c_try_link "$LINENO"; then : 4063 ac_cv_search_strerror=$ac_res 4064fi 4065rm -f core conftest.err conftest.$ac_objext \ 4066 conftest$ac_exeext 4067 if ${ac_cv_search_strerror+:} false; then : 4068 break 4069fi 4070done 4071if ${ac_cv_search_strerror+:} false; then : 4072 4073else 4074 ac_cv_search_strerror=no 4075fi 4076rm conftest.$ac_ext 4077LIBS=$ac_func_search_save_LIBS 4078fi 4079{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5 4080$as_echo "$ac_cv_search_strerror" >&6; } 4081ac_res=$ac_cv_search_strerror 4082if test "$ac_res" != no; then : 4083 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 4084 4085fi 4086 4087ac_ext=c 4088ac_cpp='$CPP $CPPFLAGS' 4089ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4090ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4091ac_compiler_gnu=$ac_cv_c_compiler_gnu 4092if test -n "$ac_tool_prefix"; then 4093 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 4094set dummy ${ac_tool_prefix}gcc; ac_word=$2 4095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4096$as_echo_n "checking for $ac_word... " >&6; } 4097if ${ac_cv_prog_CC+:} false; then : 4098 $as_echo_n "(cached) " >&6 4099else 4100 if test -n "$CC"; then 4101 ac_cv_prog_CC="$CC" # Let the user override the test. 4102else 4103as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4104for as_dir in $PATH 4105do 4106 IFS=$as_save_IFS 4107 test -z "$as_dir" && as_dir=. 4108 for ac_exec_ext in '' $ac_executable_extensions; do 4109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4110 ac_cv_prog_CC="${ac_tool_prefix}gcc" 4111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4112 break 2 4113 fi 4114done 4115 done 4116IFS=$as_save_IFS 4117 4118fi 4119fi 4120CC=$ac_cv_prog_CC 4121if test -n "$CC"; then 4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4123$as_echo "$CC" >&6; } 4124else 4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4126$as_echo "no" >&6; } 4127fi 4128 4129 4130fi 4131if test -z "$ac_cv_prog_CC"; then 4132 ac_ct_CC=$CC 4133 # Extract the first word of "gcc", so it can be a program name with args. 4134set dummy gcc; ac_word=$2 4135{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4136$as_echo_n "checking for $ac_word... " >&6; } 4137if ${ac_cv_prog_ac_ct_CC+:} false; then : 4138 $as_echo_n "(cached) " >&6 4139else 4140 if test -n "$ac_ct_CC"; then 4141 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4142else 4143as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4144for as_dir in $PATH 4145do 4146 IFS=$as_save_IFS 4147 test -z "$as_dir" && as_dir=. 4148 for ac_exec_ext in '' $ac_executable_extensions; do 4149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4150 ac_cv_prog_ac_ct_CC="gcc" 4151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4152 break 2 4153 fi 4154done 4155 done 4156IFS=$as_save_IFS 4157 4158fi 4159fi 4160ac_ct_CC=$ac_cv_prog_ac_ct_CC 4161if test -n "$ac_ct_CC"; then 4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4163$as_echo "$ac_ct_CC" >&6; } 4164else 4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4166$as_echo "no" >&6; } 4167fi 4168 4169 if test "x$ac_ct_CC" = x; then 4170 CC="" 4171 else 4172 case $cross_compiling:$ac_tool_warned in 4173yes:) 4174{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4175$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4176ac_tool_warned=yes ;; 4177esac 4178 CC=$ac_ct_CC 4179 fi 4180else 4181 CC="$ac_cv_prog_CC" 4182fi 4183 4184if test -z "$CC"; then 4185 if test -n "$ac_tool_prefix"; then 4186 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4187set dummy ${ac_tool_prefix}cc; ac_word=$2 4188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4189$as_echo_n "checking for $ac_word... " >&6; } 4190if ${ac_cv_prog_CC+:} false; then : 4191 $as_echo_n "(cached) " >&6 4192else 4193 if test -n "$CC"; then 4194 ac_cv_prog_CC="$CC" # Let the user override the test. 4195else 4196as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4197for as_dir in $PATH 4198do 4199 IFS=$as_save_IFS 4200 test -z "$as_dir" && as_dir=. 4201 for ac_exec_ext in '' $ac_executable_extensions; do 4202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4203 ac_cv_prog_CC="${ac_tool_prefix}cc" 4204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4205 break 2 4206 fi 4207done 4208 done 4209IFS=$as_save_IFS 4210 4211fi 4212fi 4213CC=$ac_cv_prog_CC 4214if test -n "$CC"; then 4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4216$as_echo "$CC" >&6; } 4217else 4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4219$as_echo "no" >&6; } 4220fi 4221 4222 4223 fi 4224fi 4225if test -z "$CC"; then 4226 # Extract the first word of "cc", so it can be a program name with args. 4227set dummy cc; ac_word=$2 4228{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4229$as_echo_n "checking for $ac_word... " >&6; } 4230if ${ac_cv_prog_CC+:} false; then : 4231 $as_echo_n "(cached) " >&6 4232else 4233 if test -n "$CC"; then 4234 ac_cv_prog_CC="$CC" # Let the user override the test. 4235else 4236 ac_prog_rejected=no 4237as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4238for as_dir in $PATH 4239do 4240 IFS=$as_save_IFS 4241 test -z "$as_dir" && as_dir=. 4242 for ac_exec_ext in '' $ac_executable_extensions; do 4243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4244 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4245 ac_prog_rejected=yes 4246 continue 4247 fi 4248 ac_cv_prog_CC="cc" 4249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4250 break 2 4251 fi 4252done 4253 done 4254IFS=$as_save_IFS 4255 4256if test $ac_prog_rejected = yes; then 4257 # We found a bogon in the path, so make sure we never use it. 4258 set dummy $ac_cv_prog_CC 4259 shift 4260 if test $# != 0; then 4261 # We chose a different compiler from the bogus one. 4262 # However, it has the same basename, so the bogon will be chosen 4263 # first if we set CC to just the basename; use the full file name. 4264 shift 4265 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4266 fi 4267fi 4268fi 4269fi 4270CC=$ac_cv_prog_CC 4271if test -n "$CC"; then 4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4273$as_echo "$CC" >&6; } 4274else 4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4276$as_echo "no" >&6; } 4277fi 4278 4279 4280fi 4281if test -z "$CC"; then 4282 if test -n "$ac_tool_prefix"; then 4283 for ac_prog in cl.exe 4284 do 4285 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4286set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4287{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4288$as_echo_n "checking for $ac_word... " >&6; } 4289if ${ac_cv_prog_CC+:} false; then : 4290 $as_echo_n "(cached) " >&6 4291else 4292 if test -n "$CC"; then 4293 ac_cv_prog_CC="$CC" # Let the user override the test. 4294else 4295as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4296for as_dir in $PATH 4297do 4298 IFS=$as_save_IFS 4299 test -z "$as_dir" && as_dir=. 4300 for ac_exec_ext in '' $ac_executable_extensions; do 4301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4302 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4304 break 2 4305 fi 4306done 4307 done 4308IFS=$as_save_IFS 4309 4310fi 4311fi 4312CC=$ac_cv_prog_CC 4313if test -n "$CC"; then 4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4315$as_echo "$CC" >&6; } 4316else 4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4318$as_echo "no" >&6; } 4319fi 4320 4321 4322 test -n "$CC" && break 4323 done 4324fi 4325if test -z "$CC"; then 4326 ac_ct_CC=$CC 4327 for ac_prog in cl.exe 4328do 4329 # Extract the first word of "$ac_prog", so it can be a program name with args. 4330set dummy $ac_prog; ac_word=$2 4331{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4332$as_echo_n "checking for $ac_word... " >&6; } 4333if ${ac_cv_prog_ac_ct_CC+:} false; then : 4334 $as_echo_n "(cached) " >&6 4335else 4336 if test -n "$ac_ct_CC"; then 4337 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4338else 4339as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4340for as_dir in $PATH 4341do 4342 IFS=$as_save_IFS 4343 test -z "$as_dir" && as_dir=. 4344 for ac_exec_ext in '' $ac_executable_extensions; do 4345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4346 ac_cv_prog_ac_ct_CC="$ac_prog" 4347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4348 break 2 4349 fi 4350done 4351 done 4352IFS=$as_save_IFS 4353 4354fi 4355fi 4356ac_ct_CC=$ac_cv_prog_ac_ct_CC 4357if test -n "$ac_ct_CC"; then 4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4359$as_echo "$ac_ct_CC" >&6; } 4360else 4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4362$as_echo "no" >&6; } 4363fi 4364 4365 4366 test -n "$ac_ct_CC" && break 4367done 4368 4369 if test "x$ac_ct_CC" = x; then 4370 CC="" 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 CC=$ac_ct_CC 4379 fi 4380fi 4381 4382fi 4383 4384 4385test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4386$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4387as_fn_error $? "no acceptable C compiler found in \$PATH 4388See \`config.log' for more details" "$LINENO" 5; } 4389 4390# Provide some information about the compiler. 4391$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4392set X $ac_compile 4393ac_compiler=$2 4394for ac_option in --version -v -V -qversion; do 4395 { { ac_try="$ac_compiler $ac_option >&5" 4396case "(($ac_try" in 4397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4398 *) ac_try_echo=$ac_try;; 4399esac 4400eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4401$as_echo "$ac_try_echo"; } >&5 4402 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4403 ac_status=$? 4404 if test -s conftest.err; then 4405 sed '10a\ 4406... rest of stderr output deleted ... 4407 10q' conftest.err >conftest.er1 4408 cat conftest.er1 >&5 4409 fi 4410 rm -f conftest.er1 conftest.err 4411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4412 test $ac_status = 0; } 4413done 4414 4415{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4416$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4417if ${ac_cv_c_compiler_gnu+:} false; then : 4418 $as_echo_n "(cached) " >&6 4419else 4420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4421/* end confdefs.h. */ 4422 4423int 4424main () 4425{ 4426#ifndef __GNUC__ 4427 choke me 4428#endif 4429 4430 ; 4431 return 0; 4432} 4433_ACEOF 4434if ac_fn_c_try_compile "$LINENO"; then : 4435 ac_compiler_gnu=yes 4436else 4437 ac_compiler_gnu=no 4438fi 4439rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4440ac_cv_c_compiler_gnu=$ac_compiler_gnu 4441 4442fi 4443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4444$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4445if test $ac_compiler_gnu = yes; then 4446 GCC=yes 4447else 4448 GCC= 4449fi 4450ac_test_CFLAGS=${CFLAGS+set} 4451ac_save_CFLAGS=$CFLAGS 4452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4453$as_echo_n "checking whether $CC accepts -g... " >&6; } 4454if ${ac_cv_prog_cc_g+:} false; then : 4455 $as_echo_n "(cached) " >&6 4456else 4457 ac_save_c_werror_flag=$ac_c_werror_flag 4458 ac_c_werror_flag=yes 4459 ac_cv_prog_cc_g=no 4460 CFLAGS="-g" 4461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4462/* end confdefs.h. */ 4463 4464int 4465main () 4466{ 4467 4468 ; 4469 return 0; 4470} 4471_ACEOF 4472if ac_fn_c_try_compile "$LINENO"; then : 4473 ac_cv_prog_cc_g=yes 4474else 4475 CFLAGS="" 4476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4477/* end confdefs.h. */ 4478 4479int 4480main () 4481{ 4482 4483 ; 4484 return 0; 4485} 4486_ACEOF 4487if ac_fn_c_try_compile "$LINENO"; then : 4488 4489else 4490 ac_c_werror_flag=$ac_save_c_werror_flag 4491 CFLAGS="-g" 4492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4493/* end confdefs.h. */ 4494 4495int 4496main () 4497{ 4498 4499 ; 4500 return 0; 4501} 4502_ACEOF 4503if ac_fn_c_try_compile "$LINENO"; then : 4504 ac_cv_prog_cc_g=yes 4505fi 4506rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4507fi 4508rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4509fi 4510rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4511 ac_c_werror_flag=$ac_save_c_werror_flag 4512fi 4513{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4514$as_echo "$ac_cv_prog_cc_g" >&6; } 4515if test "$ac_test_CFLAGS" = set; then 4516 CFLAGS=$ac_save_CFLAGS 4517elif test $ac_cv_prog_cc_g = yes; then 4518 if test "$GCC" = yes; then 4519 CFLAGS="-g -O2" 4520 else 4521 CFLAGS="-g" 4522 fi 4523else 4524 if test "$GCC" = yes; then 4525 CFLAGS="-O2" 4526 else 4527 CFLAGS= 4528 fi 4529fi 4530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4531$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4532if ${ac_cv_prog_cc_c89+:} false; then : 4533 $as_echo_n "(cached) " >&6 4534else 4535 ac_cv_prog_cc_c89=no 4536ac_save_CC=$CC 4537cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4538/* end confdefs.h. */ 4539#include <stdarg.h> 4540#include <stdio.h> 4541struct stat; 4542/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4543struct buf { int x; }; 4544FILE * (*rcsopen) (struct buf *, struct stat *, int); 4545static char *e (p, i) 4546 char **p; 4547 int i; 4548{ 4549 return p[i]; 4550} 4551static char *f (char * (*g) (char **, int), char **p, ...) 4552{ 4553 char *s; 4554 va_list v; 4555 va_start (v,p); 4556 s = g (p, va_arg (v,int)); 4557 va_end (v); 4558 return s; 4559} 4560 4561/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4562 function prototypes and stuff, but not '\xHH' hex character constants. 4563 These don't provoke an error unfortunately, instead are silently treated 4564 as 'x'. The following induces an error, until -std is added to get 4565 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4566 array size at least. It's necessary to write '\x00'==0 to get something 4567 that's true only with -std. */ 4568int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4569 4570/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4571 inside strings and character constants. */ 4572#define FOO(x) 'x' 4573int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4574 4575int test (int i, double x); 4576struct s1 {int (*f) (int a);}; 4577struct s2 {int (*f) (double a);}; 4578int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4579int argc; 4580char **argv; 4581int 4582main () 4583{ 4584return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4585 ; 4586 return 0; 4587} 4588_ACEOF 4589for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4590 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4591do 4592 CC="$ac_save_CC $ac_arg" 4593 if ac_fn_c_try_compile "$LINENO"; then : 4594 ac_cv_prog_cc_c89=$ac_arg 4595fi 4596rm -f core conftest.err conftest.$ac_objext 4597 test "x$ac_cv_prog_cc_c89" != "xno" && break 4598done 4599rm -f conftest.$ac_ext 4600CC=$ac_save_CC 4601 4602fi 4603# AC_CACHE_VAL 4604case "x$ac_cv_prog_cc_c89" in 4605 x) 4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4607$as_echo "none needed" >&6; } ;; 4608 xno) 4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4610$as_echo "unsupported" >&6; } ;; 4611 *) 4612 CC="$CC $ac_cv_prog_cc_c89" 4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4614$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4615esac 4616if test "x$ac_cv_prog_cc_c89" != xno; then : 4617 4618fi 4619 4620ac_ext=c 4621ac_cpp='$CPP $CPPFLAGS' 4622ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4623ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4624ac_compiler_gnu=$ac_cv_c_compiler_gnu 4625 4626ac_ext=c 4627ac_cpp='$CPP $CPPFLAGS' 4628ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4629ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4630ac_compiler_gnu=$ac_cv_c_compiler_gnu 4631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4632$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4633if ${am_cv_prog_cc_c_o+:} false; then : 4634 $as_echo_n "(cached) " >&6 4635else 4636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4637/* end confdefs.h. */ 4638 4639int 4640main () 4641{ 4642 4643 ; 4644 return 0; 4645} 4646_ACEOF 4647 # Make sure it works both with $CC and with simple cc. 4648 # Following AC_PROG_CC_C_O, we do the test twice because some 4649 # compilers refuse to overwrite an existing .o file with -o, 4650 # though they will create one. 4651 am_cv_prog_cc_c_o=yes 4652 for am_i in 1 2; do 4653 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4654 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4655 ac_status=$? 4656 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4657 (exit $ac_status); } \ 4658 && test -f conftest2.$ac_objext; then 4659 : OK 4660 else 4661 am_cv_prog_cc_c_o=no 4662 break 4663 fi 4664 done 4665 rm -f core conftest* 4666 unset am_i 4667fi 4668{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4669$as_echo "$am_cv_prog_cc_c_o" >&6; } 4670if test "$am_cv_prog_cc_c_o" != yes; then 4671 # Losing compiler, so override with the script. 4672 # FIXME: It is wrong to rewrite CC. 4673 # But if we don't then we get into trouble of one sort or another. 4674 # A longer-term fix would be to have automake use am__CC in this case, 4675 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4676 CC="$am_aux_dir/compile $CC" 4677fi 4678ac_ext=c 4679ac_cpp='$CPP $CPPFLAGS' 4680ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4681ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4682ac_compiler_gnu=$ac_cv_c_compiler_gnu 4683 4684 4685depcc="$CC" am_compiler_list= 4686 4687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4688$as_echo_n "checking dependency style of $depcc... " >&6; } 4689if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4690 $as_echo_n "(cached) " >&6 4691else 4692 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4693 # We make a subdir and do the tests there. Otherwise we can end up 4694 # making bogus files that we don't know about and never remove. For 4695 # instance it was reported that on HP-UX the gcc test will end up 4696 # making a dummy file named 'D' -- because '-MD' means "put the output 4697 # in D". 4698 rm -rf conftest.dir 4699 mkdir conftest.dir 4700 # Copy depcomp to subdir because otherwise we won't find it if we're 4701 # using a relative directory. 4702 cp "$am_depcomp" conftest.dir 4703 cd conftest.dir 4704 # We will build objects and dependencies in a subdirectory because 4705 # it helps to detect inapplicable dependency modes. For instance 4706 # both Tru64's cc and ICC support -MD to output dependencies as a 4707 # side effect of compilation, but ICC will put the dependencies in 4708 # the current directory while Tru64 will put them in the object 4709 # directory. 4710 mkdir sub 4711 4712 am_cv_CC_dependencies_compiler_type=none 4713 if test "$am_compiler_list" = ""; then 4714 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4715 fi 4716 am__universal=false 4717 case " $depcc " in #( 4718 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4719 esac 4720 4721 for depmode in $am_compiler_list; do 4722 # Setup a source with many dependencies, because some compilers 4723 # like to wrap large dependency lists on column 80 (with \), and 4724 # we should not choose a depcomp mode which is confused by this. 4725 # 4726 # We need to recreate these files for each test, as the compiler may 4727 # overwrite some of them when testing with obscure command lines. 4728 # This happens at least with the AIX C compiler. 4729 : > sub/conftest.c 4730 for i in 1 2 3 4 5 6; do 4731 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4732 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4733 # Solaris 10 /bin/sh. 4734 echo '/* dummy */' > sub/conftst$i.h 4735 done 4736 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4737 4738 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4739 # mode. It turns out that the SunPro C++ compiler does not properly 4740 # handle '-M -o', and we need to detect this. Also, some Intel 4741 # versions had trouble with output in subdirs. 4742 am__obj=sub/conftest.${OBJEXT-o} 4743 am__minus_obj="-o $am__obj" 4744 case $depmode in 4745 gcc) 4746 # This depmode causes a compiler race in universal mode. 4747 test "$am__universal" = false || continue 4748 ;; 4749 nosideeffect) 4750 # After this tag, mechanisms are not by side-effect, so they'll 4751 # only be used when explicitly requested. 4752 if test "x$enable_dependency_tracking" = xyes; then 4753 continue 4754 else 4755 break 4756 fi 4757 ;; 4758 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4759 # This compiler won't grok '-c -o', but also, the minuso test has 4760 # not run yet. These depmodes are late enough in the game, and 4761 # so weak that their functioning should not be impacted. 4762 am__obj=conftest.${OBJEXT-o} 4763 am__minus_obj= 4764 ;; 4765 none) break ;; 4766 esac 4767 if depmode=$depmode \ 4768 source=sub/conftest.c object=$am__obj \ 4769 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4770 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4771 >/dev/null 2>conftest.err && 4772 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4773 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4774 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4775 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4776 # icc doesn't choke on unknown options, it will just issue warnings 4777 # or remarks (even with -Werror). So we grep stderr for any message 4778 # that says an option was ignored or not supported. 4779 # When given -MP, icc 7.0 and 7.1 complain thusly: 4780 # icc: Command line warning: ignoring option '-M'; no argument required 4781 # The diagnosis changed in icc 8.0: 4782 # icc: Command line remark: option '-MP' not supported 4783 if (grep 'ignoring option' conftest.err || 4784 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4785 am_cv_CC_dependencies_compiler_type=$depmode 4786 break 4787 fi 4788 fi 4789 done 4790 4791 cd .. 4792 rm -rf conftest.dir 4793else 4794 am_cv_CC_dependencies_compiler_type=none 4795fi 4796 4797fi 4798{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4799$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4800CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4801 4802 if 4803 test "x$enable_dependency_tracking" != xno \ 4804 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4805 am__fastdepCC_TRUE= 4806 am__fastdepCC_FALSE='#' 4807else 4808 am__fastdepCC_TRUE='#' 4809 am__fastdepCC_FALSE= 4810fi 4811 4812 4813 case $ac_cv_prog_cc_stdc in #( 4814 no) : 4815 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #( 4816 *) : 4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 4818$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 4819if ${ac_cv_prog_cc_c99+:} false; then : 4820 $as_echo_n "(cached) " >&6 4821else 4822 ac_cv_prog_cc_c99=no 4823ac_save_CC=$CC 4824cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4825/* end confdefs.h. */ 4826#include <stdarg.h> 4827#include <stdbool.h> 4828#include <stdlib.h> 4829#include <wchar.h> 4830#include <stdio.h> 4831 4832// Check varargs macros. These examples are taken from C99 6.10.3.5. 4833#define debug(...) fprintf (stderr, __VA_ARGS__) 4834#define showlist(...) puts (#__VA_ARGS__) 4835#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 4836static void 4837test_varargs_macros (void) 4838{ 4839 int x = 1234; 4840 int y = 5678; 4841 debug ("Flag"); 4842 debug ("X = %d\n", x); 4843 showlist (The first, second, and third items.); 4844 report (x>y, "x is %d but y is %d", x, y); 4845} 4846 4847// Check long long types. 4848#define BIG64 18446744073709551615ull 4849#define BIG32 4294967295ul 4850#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 4851#if !BIG_OK 4852 your preprocessor is broken; 4853#endif 4854#if BIG_OK 4855#else 4856 your preprocessor is broken; 4857#endif 4858static long long int bignum = -9223372036854775807LL; 4859static unsigned long long int ubignum = BIG64; 4860 4861struct incomplete_array 4862{ 4863 int datasize; 4864 double data[]; 4865}; 4866 4867struct named_init { 4868 int number; 4869 const wchar_t *name; 4870 double average; 4871}; 4872 4873typedef const char *ccp; 4874 4875static inline int 4876test_restrict (ccp restrict text) 4877{ 4878 // See if C++-style comments work. 4879 // Iterate through items via the restricted pointer. 4880 // Also check for declarations in for loops. 4881 for (unsigned int i = 0; *(text+i) != '\0'; ++i) 4882 continue; 4883 return 0; 4884} 4885 4886// Check varargs and va_copy. 4887static void 4888test_varargs (const char *format, ...) 4889{ 4890 va_list args; 4891 va_start (args, format); 4892 va_list args_copy; 4893 va_copy (args_copy, args); 4894 4895 const char *str; 4896 int number; 4897 float fnumber; 4898 4899 while (*format) 4900 { 4901 switch (*format++) 4902 { 4903 case 's': // string 4904 str = va_arg (args_copy, const char *); 4905 break; 4906 case 'd': // int 4907 number = va_arg (args_copy, int); 4908 break; 4909 case 'f': // float 4910 fnumber = va_arg (args_copy, double); 4911 break; 4912 default: 4913 break; 4914 } 4915 } 4916 va_end (args_copy); 4917 va_end (args); 4918} 4919 4920int 4921main () 4922{ 4923 4924 // Check bool. 4925 _Bool success = false; 4926 4927 // Check restrict. 4928 if (test_restrict ("String literal") == 0) 4929 success = true; 4930 char *restrict newvar = "Another string"; 4931 4932 // Check varargs. 4933 test_varargs ("s, d' f .", "string", 65, 34.234); 4934 test_varargs_macros (); 4935 4936 // Check flexible array members. 4937 struct incomplete_array *ia = 4938 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 4939 ia->datasize = 10; 4940 for (int i = 0; i < ia->datasize; ++i) 4941 ia->data[i] = i * 1.234; 4942 4943 // Check named initializers. 4944 struct named_init ni = { 4945 .number = 34, 4946 .name = L"Test wide string", 4947 .average = 543.34343, 4948 }; 4949 4950 ni.number = 58; 4951 4952 int dynamic_array[ni.number]; 4953 dynamic_array[ni.number - 1] = 543; 4954 4955 // work around unused variable warnings 4956 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 4957 || dynamic_array[ni.number - 1] != 543); 4958 4959 ; 4960 return 0; 4961} 4962_ACEOF 4963for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 4964do 4965 CC="$ac_save_CC $ac_arg" 4966 if ac_fn_c_try_compile "$LINENO"; then : 4967 ac_cv_prog_cc_c99=$ac_arg 4968fi 4969rm -f core conftest.err conftest.$ac_objext 4970 test "x$ac_cv_prog_cc_c99" != "xno" && break 4971done 4972rm -f conftest.$ac_ext 4973CC=$ac_save_CC 4974 4975fi 4976# AC_CACHE_VAL 4977case "x$ac_cv_prog_cc_c99" in 4978 x) 4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4980$as_echo "none needed" >&6; } ;; 4981 xno) 4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4983$as_echo "unsupported" >&6; } ;; 4984 *) 4985 CC="$CC $ac_cv_prog_cc_c99" 4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 4987$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 4988esac 4989if test "x$ac_cv_prog_cc_c99" != xno; then : 4990 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 4991else 4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4993$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4994if ${ac_cv_prog_cc_c89+:} false; then : 4995 $as_echo_n "(cached) " >&6 4996else 4997 ac_cv_prog_cc_c89=no 4998ac_save_CC=$CC 4999cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5000/* end confdefs.h. */ 5001#include <stdarg.h> 5002#include <stdio.h> 5003struct stat; 5004/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 5005struct buf { int x; }; 5006FILE * (*rcsopen) (struct buf *, struct stat *, int); 5007static char *e (p, i) 5008 char **p; 5009 int i; 5010{ 5011 return p[i]; 5012} 5013static char *f (char * (*g) (char **, int), char **p, ...) 5014{ 5015 char *s; 5016 va_list v; 5017 va_start (v,p); 5018 s = g (p, va_arg (v,int)); 5019 va_end (v); 5020 return s; 5021} 5022 5023/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 5024 function prototypes and stuff, but not '\xHH' hex character constants. 5025 These don't provoke an error unfortunately, instead are silently treated 5026 as 'x'. The following induces an error, until -std is added to get 5027 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 5028 array size at least. It's necessary to write '\x00'==0 to get something 5029 that's true only with -std. */ 5030int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 5031 5032/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 5033 inside strings and character constants. */ 5034#define FOO(x) 'x' 5035int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 5036 5037int test (int i, double x); 5038struct s1 {int (*f) (int a);}; 5039struct s2 {int (*f) (double a);}; 5040int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 5041int argc; 5042char **argv; 5043int 5044main () 5045{ 5046return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 5047 ; 5048 return 0; 5049} 5050_ACEOF 5051for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 5052 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 5053do 5054 CC="$ac_save_CC $ac_arg" 5055 if ac_fn_c_try_compile "$LINENO"; then : 5056 ac_cv_prog_cc_c89=$ac_arg 5057fi 5058rm -f core conftest.err conftest.$ac_objext 5059 test "x$ac_cv_prog_cc_c89" != "xno" && break 5060done 5061rm -f conftest.$ac_ext 5062CC=$ac_save_CC 5063 5064fi 5065# AC_CACHE_VAL 5066case "x$ac_cv_prog_cc_c89" in 5067 x) 5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 5069$as_echo "none needed" >&6; } ;; 5070 xno) 5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 5072$as_echo "unsupported" >&6; } ;; 5073 *) 5074 CC="$CC $ac_cv_prog_cc_c89" 5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 5076$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 5077esac 5078if test "x$ac_cv_prog_cc_c89" != xno; then : 5079 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 5080else 5081 ac_cv_prog_cc_stdc=no 5082fi 5083 5084fi 5085 ;; 5086esac 5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5 5088$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; } 5089 if ${ac_cv_prog_cc_stdc+:} false; then : 5090 $as_echo_n "(cached) " >&6 5091fi 5092 5093 case $ac_cv_prog_cc_stdc in #( 5094 no) : 5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 5096$as_echo "unsupported" >&6; } ;; #( 5097 '') : 5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 5099$as_echo "none needed" >&6; } ;; #( 5100 *) : 5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5 5102$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;; 5103esac 5104 5105ac_ext=c 5106ac_cpp='$CPP $CPPFLAGS' 5107ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5108ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5109ac_compiler_gnu=$ac_cv_c_compiler_gnu 5110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 5111$as_echo_n "checking how to run the C preprocessor... " >&6; } 5112# On Suns, sometimes $CPP names a directory. 5113if test -n "$CPP" && test -d "$CPP"; then 5114 CPP= 5115fi 5116if test -z "$CPP"; then 5117 if ${ac_cv_prog_CPP+:} false; then : 5118 $as_echo_n "(cached) " >&6 5119else 5120 # Double quotes because CPP needs to be expanded 5121 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 5122 do 5123 ac_preproc_ok=false 5124for ac_c_preproc_warn_flag in '' yes 5125do 5126 # Use a header file that comes with gcc, so configuring glibc 5127 # with a fresh cross-compiler works. 5128 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5129 # <limits.h> exists even on freestanding compilers. 5130 # On the NeXT, cc -E runs the code through the compiler's parser, 5131 # not just through cpp. "Syntax error" is here to catch this case. 5132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5133/* end confdefs.h. */ 5134#ifdef __STDC__ 5135# include <limits.h> 5136#else 5137# include <assert.h> 5138#endif 5139 Syntax error 5140_ACEOF 5141if ac_fn_c_try_cpp "$LINENO"; then : 5142 5143else 5144 # Broken: fails on valid input. 5145continue 5146fi 5147rm -f conftest.err conftest.i conftest.$ac_ext 5148 5149 # OK, works on sane cases. Now check whether nonexistent headers 5150 # can be detected and how. 5151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5152/* end confdefs.h. */ 5153#include <ac_nonexistent.h> 5154_ACEOF 5155if ac_fn_c_try_cpp "$LINENO"; then : 5156 # Broken: success on invalid input. 5157continue 5158else 5159 # Passes both tests. 5160ac_preproc_ok=: 5161break 5162fi 5163rm -f conftest.err conftest.i conftest.$ac_ext 5164 5165done 5166# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5167rm -f conftest.i conftest.err conftest.$ac_ext 5168if $ac_preproc_ok; then : 5169 break 5170fi 5171 5172 done 5173 ac_cv_prog_CPP=$CPP 5174 5175fi 5176 CPP=$ac_cv_prog_CPP 5177else 5178 ac_cv_prog_CPP=$CPP 5179fi 5180{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 5181$as_echo "$CPP" >&6; } 5182ac_preproc_ok=false 5183for ac_c_preproc_warn_flag in '' yes 5184do 5185 # Use a header file that comes with gcc, so configuring glibc 5186 # with a fresh cross-compiler works. 5187 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5188 # <limits.h> exists even on freestanding compilers. 5189 # On the NeXT, cc -E runs the code through the compiler's parser, 5190 # not just through cpp. "Syntax error" is here to catch this case. 5191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5192/* end confdefs.h. */ 5193#ifdef __STDC__ 5194# include <limits.h> 5195#else 5196# include <assert.h> 5197#endif 5198 Syntax error 5199_ACEOF 5200if ac_fn_c_try_cpp "$LINENO"; then : 5201 5202else 5203 # Broken: fails on valid input. 5204continue 5205fi 5206rm -f conftest.err conftest.i conftest.$ac_ext 5207 5208 # OK, works on sane cases. Now check whether nonexistent headers 5209 # can be detected and how. 5210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5211/* end confdefs.h. */ 5212#include <ac_nonexistent.h> 5213_ACEOF 5214if ac_fn_c_try_cpp "$LINENO"; then : 5215 # Broken: success on invalid input. 5216continue 5217else 5218 # Passes both tests. 5219ac_preproc_ok=: 5220break 5221fi 5222rm -f conftest.err conftest.i conftest.$ac_ext 5223 5224done 5225# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5226rm -f conftest.i conftest.err conftest.$ac_ext 5227if $ac_preproc_ok; then : 5228 5229else 5230 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5231$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5232as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 5233See \`config.log' for more details" "$LINENO" 5; } 5234fi 5235 5236ac_ext=c 5237ac_cpp='$CPP $CPPFLAGS' 5238ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5239ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5240ac_compiler_gnu=$ac_cv_c_compiler_gnu 5241 5242 5243{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5244$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5245if ${ac_cv_path_GREP+:} false; then : 5246 $as_echo_n "(cached) " >&6 5247else 5248 if test -z "$GREP"; then 5249 ac_path_GREP_found=false 5250 # Loop through the user's path and test for each of PROGNAME-LIST 5251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5252for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5253do 5254 IFS=$as_save_IFS 5255 test -z "$as_dir" && as_dir=. 5256 for ac_prog in grep ggrep; do 5257 for ac_exec_ext in '' $ac_executable_extensions; do 5258 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 5259 as_fn_executable_p "$ac_path_GREP" || continue 5260# Check for GNU ac_path_GREP and select it if it is found. 5261 # Check for GNU $ac_path_GREP 5262case `"$ac_path_GREP" --version 2>&1` in 5263*GNU*) 5264 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5265*) 5266 ac_count=0 5267 $as_echo_n 0123456789 >"conftest.in" 5268 while : 5269 do 5270 cat "conftest.in" "conftest.in" >"conftest.tmp" 5271 mv "conftest.tmp" "conftest.in" 5272 cp "conftest.in" "conftest.nl" 5273 $as_echo 'GREP' >> "conftest.nl" 5274 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5275 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5276 as_fn_arith $ac_count + 1 && ac_count=$as_val 5277 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5278 # Best one so far, save it but keep looking for a better one 5279 ac_cv_path_GREP="$ac_path_GREP" 5280 ac_path_GREP_max=$ac_count 5281 fi 5282 # 10*(2^10) chars as input seems more than enough 5283 test $ac_count -gt 10 && break 5284 done 5285 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5286esac 5287 5288 $ac_path_GREP_found && break 3 5289 done 5290 done 5291 done 5292IFS=$as_save_IFS 5293 if test -z "$ac_cv_path_GREP"; then 5294 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5295 fi 5296else 5297 ac_cv_path_GREP=$GREP 5298fi 5299 5300fi 5301{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5302$as_echo "$ac_cv_path_GREP" >&6; } 5303 GREP="$ac_cv_path_GREP" 5304 5305 5306{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5307$as_echo_n "checking for egrep... " >&6; } 5308if ${ac_cv_path_EGREP+:} false; then : 5309 $as_echo_n "(cached) " >&6 5310else 5311 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5312 then ac_cv_path_EGREP="$GREP -E" 5313 else 5314 if test -z "$EGREP"; then 5315 ac_path_EGREP_found=false 5316 # Loop through the user's path and test for each of PROGNAME-LIST 5317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5318for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5319do 5320 IFS=$as_save_IFS 5321 test -z "$as_dir" && as_dir=. 5322 for ac_prog in egrep; do 5323 for ac_exec_ext in '' $ac_executable_extensions; do 5324 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 5325 as_fn_executable_p "$ac_path_EGREP" || continue 5326# Check for GNU ac_path_EGREP and select it if it is found. 5327 # Check for GNU $ac_path_EGREP 5328case `"$ac_path_EGREP" --version 2>&1` in 5329*GNU*) 5330 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5331*) 5332 ac_count=0 5333 $as_echo_n 0123456789 >"conftest.in" 5334 while : 5335 do 5336 cat "conftest.in" "conftest.in" >"conftest.tmp" 5337 mv "conftest.tmp" "conftest.in" 5338 cp "conftest.in" "conftest.nl" 5339 $as_echo 'EGREP' >> "conftest.nl" 5340 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5341 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5342 as_fn_arith $ac_count + 1 && ac_count=$as_val 5343 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5344 # Best one so far, save it but keep looking for a better one 5345 ac_cv_path_EGREP="$ac_path_EGREP" 5346 ac_path_EGREP_max=$ac_count 5347 fi 5348 # 10*(2^10) chars as input seems more than enough 5349 test $ac_count -gt 10 && break 5350 done 5351 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5352esac 5353 5354 $ac_path_EGREP_found && break 3 5355 done 5356 done 5357 done 5358IFS=$as_save_IFS 5359 if test -z "$ac_cv_path_EGREP"; then 5360 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5361 fi 5362else 5363 ac_cv_path_EGREP=$EGREP 5364fi 5365 5366 fi 5367fi 5368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5369$as_echo "$ac_cv_path_EGREP" >&6; } 5370 EGREP="$ac_cv_path_EGREP" 5371 5372 5373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 5374$as_echo_n "checking for ANSI C header files... " >&6; } 5375if ${ac_cv_header_stdc+:} false; then : 5376 $as_echo_n "(cached) " >&6 5377else 5378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5379/* end confdefs.h. */ 5380#include <stdlib.h> 5381#include <stdarg.h> 5382#include <string.h> 5383#include <float.h> 5384 5385int 5386main () 5387{ 5388 5389 ; 5390 return 0; 5391} 5392_ACEOF 5393if ac_fn_c_try_compile "$LINENO"; then : 5394 ac_cv_header_stdc=yes 5395else 5396 ac_cv_header_stdc=no 5397fi 5398rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5399 5400if test $ac_cv_header_stdc = yes; then 5401 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 5402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5403/* end confdefs.h. */ 5404#include <string.h> 5405 5406_ACEOF 5407if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5408 $EGREP "memchr" >/dev/null 2>&1; then : 5409 5410else 5411 ac_cv_header_stdc=no 5412fi 5413rm -f conftest* 5414 5415fi 5416 5417if test $ac_cv_header_stdc = yes; then 5418 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 5419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5420/* end confdefs.h. */ 5421#include <stdlib.h> 5422 5423_ACEOF 5424if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5425 $EGREP "free" >/dev/null 2>&1; then : 5426 5427else 5428 ac_cv_header_stdc=no 5429fi 5430rm -f conftest* 5431 5432fi 5433 5434if test $ac_cv_header_stdc = yes; then 5435 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 5436 if test "$cross_compiling" = yes; then : 5437 : 5438else 5439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5440/* end confdefs.h. */ 5441#include <ctype.h> 5442#include <stdlib.h> 5443#if ((' ' & 0x0FF) == 0x020) 5444# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 5445# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 5446#else 5447# define ISLOWER(c) \ 5448 (('a' <= (c) && (c) <= 'i') \ 5449 || ('j' <= (c) && (c) <= 'r') \ 5450 || ('s' <= (c) && (c) <= 'z')) 5451# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 5452#endif 5453 5454#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 5455int 5456main () 5457{ 5458 int i; 5459 for (i = 0; i < 256; i++) 5460 if (XOR (islower (i), ISLOWER (i)) 5461 || toupper (i) != TOUPPER (i)) 5462 return 2; 5463 return 0; 5464} 5465_ACEOF 5466if ac_fn_c_try_run "$LINENO"; then : 5467 5468else 5469 ac_cv_header_stdc=no 5470fi 5471rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5472 conftest.$ac_objext conftest.beam conftest.$ac_ext 5473fi 5474 5475fi 5476fi 5477{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 5478$as_echo "$ac_cv_header_stdc" >&6; } 5479if test $ac_cv_header_stdc = yes; then 5480 5481$as_echo "#define STDC_HEADERS 1" >>confdefs.h 5482 5483fi 5484 5485 5486 5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 5488$as_echo_n "checking whether NLS is requested... " >&6; } 5489 # Check whether --enable-nls was given. 5490if test "${enable_nls+set}" = set; then : 5491 enableval=$enable_nls; USE_NLS=$enableval 5492else 5493 USE_NLS=yes 5494fi 5495 5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 5497$as_echo "$USE_NLS" >&6; } 5498 5499 5500 5501 5502case "$am__api_version" in 5503 1.01234) 5504 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 5505 ;; 5506 *) 5507 ;; 5508esac 5509 5510INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.23 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 5511INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` 5512INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 5513if test -n "0.23"; then 5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.23" >&5 5515$as_echo_n "checking for intltool >= 0.23... " >&6; } 5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 5517$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } 5518 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || 5519 as_fn_error $? "Your intltool is too old. You need intltool 0.23 or later." "$LINENO" 5 5520fi 5521 5522# Extract the first word of "intltool-update", so it can be a program name with args. 5523set dummy intltool-update; ac_word=$2 5524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5525$as_echo_n "checking for $ac_word... " >&6; } 5526if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then : 5527 $as_echo_n "(cached) " >&6 5528else 5529 case $INTLTOOL_UPDATE in 5530 [\\/]* | ?:[\\/]*) 5531 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. 5532 ;; 5533 *) 5534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5535for as_dir in $PATH 5536do 5537 IFS=$as_save_IFS 5538 test -z "$as_dir" && as_dir=. 5539 for ac_exec_ext in '' $ac_executable_extensions; do 5540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5541 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" 5542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5543 break 2 5544 fi 5545done 5546 done 5547IFS=$as_save_IFS 5548 5549 ;; 5550esac 5551fi 5552INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE 5553if test -n "$INTLTOOL_UPDATE"; then 5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 5555$as_echo "$INTLTOOL_UPDATE" >&6; } 5556else 5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5558$as_echo "no" >&6; } 5559fi 5560 5561 5562# Extract the first word of "intltool-merge", so it can be a program name with args. 5563set dummy intltool-merge; ac_word=$2 5564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5565$as_echo_n "checking for $ac_word... " >&6; } 5566if ${ac_cv_path_INTLTOOL_MERGE+:} false; then : 5567 $as_echo_n "(cached) " >&6 5568else 5569 case $INTLTOOL_MERGE in 5570 [\\/]* | ?:[\\/]*) 5571 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. 5572 ;; 5573 *) 5574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5575for as_dir in $PATH 5576do 5577 IFS=$as_save_IFS 5578 test -z "$as_dir" && as_dir=. 5579 for ac_exec_ext in '' $ac_executable_extensions; do 5580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5581 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" 5582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5583 break 2 5584 fi 5585done 5586 done 5587IFS=$as_save_IFS 5588 5589 ;; 5590esac 5591fi 5592INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE 5593if test -n "$INTLTOOL_MERGE"; then 5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 5595$as_echo "$INTLTOOL_MERGE" >&6; } 5596else 5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5598$as_echo "no" >&6; } 5599fi 5600 5601 5602# Extract the first word of "intltool-extract", so it can be a program name with args. 5603set dummy intltool-extract; ac_word=$2 5604{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5605$as_echo_n "checking for $ac_word... " >&6; } 5606if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then : 5607 $as_echo_n "(cached) " >&6 5608else 5609 case $INTLTOOL_EXTRACT in 5610 [\\/]* | ?:[\\/]*) 5611 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. 5612 ;; 5613 *) 5614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5615for as_dir in $PATH 5616do 5617 IFS=$as_save_IFS 5618 test -z "$as_dir" && as_dir=. 5619 for ac_exec_ext in '' $ac_executable_extensions; do 5620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5621 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" 5622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5623 break 2 5624 fi 5625done 5626 done 5627IFS=$as_save_IFS 5628 5629 ;; 5630esac 5631fi 5632INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT 5633if test -n "$INTLTOOL_EXTRACT"; then 5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 5635$as_echo "$INTLTOOL_EXTRACT" >&6; } 5636else 5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5638$as_echo "no" >&6; } 5639fi 5640 5641 5642if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then 5643 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 5644fi 5645 5646if test -z "$AM_DEFAULT_VERBOSITY"; then 5647 AM_DEFAULT_VERBOSITY=1 5648fi 5649 5650 5651INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' 5652INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' 5653INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;' 5654 5655 5656 5657 5658INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' 5659intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' 5660intltool__v_merge_options_0='-q' 5661 5662 5663 5664 5665 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5666INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5667 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5668 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5669 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@' 5670 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5671 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5672 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5673INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5674 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5675 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5676if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then 5677 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@' 5678else 5679 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir' 5680fi 5681 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5682 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5683 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5684 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5685 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5686 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5687 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785# Check the gettext tools to make sure they are GNU 5786# Extract the first word of "xgettext", so it can be a program name with args. 5787set dummy xgettext; 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 ${ac_cv_path_XGETTEXT+:} false; then : 5791 $as_echo_n "(cached) " >&6 5792else 5793 case $XGETTEXT in 5794 [\\/]* | ?:[\\/]*) 5795 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 5796 ;; 5797 *) 5798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5799for as_dir in $PATH 5800do 5801 IFS=$as_save_IFS 5802 test -z "$as_dir" && as_dir=. 5803 for ac_exec_ext in '' $ac_executable_extensions; do 5804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5805 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" 5806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5807 break 2 5808 fi 5809done 5810 done 5811IFS=$as_save_IFS 5812 5813 ;; 5814esac 5815fi 5816XGETTEXT=$ac_cv_path_XGETTEXT 5817if test -n "$XGETTEXT"; then 5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 5819$as_echo "$XGETTEXT" >&6; } 5820else 5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5822$as_echo "no" >&6; } 5823fi 5824 5825 5826# Extract the first word of "msgmerge", so it can be a program name with args. 5827set dummy msgmerge; 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 ${ac_cv_path_MSGMERGE+:} false; then : 5831 $as_echo_n "(cached) " >&6 5832else 5833 case $MSGMERGE in 5834 [\\/]* | ?:[\\/]*) 5835 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 5836 ;; 5837 *) 5838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5839for as_dir in $PATH 5840do 5841 IFS=$as_save_IFS 5842 test -z "$as_dir" && as_dir=. 5843 for ac_exec_ext in '' $ac_executable_extensions; do 5844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5845 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" 5846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5847 break 2 5848 fi 5849done 5850 done 5851IFS=$as_save_IFS 5852 5853 ;; 5854esac 5855fi 5856MSGMERGE=$ac_cv_path_MSGMERGE 5857if test -n "$MSGMERGE"; then 5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 5859$as_echo "$MSGMERGE" >&6; } 5860else 5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5862$as_echo "no" >&6; } 5863fi 5864 5865 5866# Extract the first word of "msgfmt", so it can be a program name with args. 5867set dummy msgfmt; ac_word=$2 5868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5869$as_echo_n "checking for $ac_word... " >&6; } 5870if ${ac_cv_path_MSGFMT+:} false; then : 5871 $as_echo_n "(cached) " >&6 5872else 5873 case $MSGFMT in 5874 [\\/]* | ?:[\\/]*) 5875 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 5876 ;; 5877 *) 5878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5879for as_dir in $PATH 5880do 5881 IFS=$as_save_IFS 5882 test -z "$as_dir" && as_dir=. 5883 for ac_exec_ext in '' $ac_executable_extensions; do 5884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5885 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" 5886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5887 break 2 5888 fi 5889done 5890 done 5891IFS=$as_save_IFS 5892 5893 ;; 5894esac 5895fi 5896MSGFMT=$ac_cv_path_MSGFMT 5897if test -n "$MSGFMT"; then 5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 5899$as_echo "$MSGFMT" >&6; } 5900else 5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5902$as_echo "no" >&6; } 5903fi 5904 5905 5906# Extract the first word of "gmsgfmt", so it can be a program name with args. 5907set dummy gmsgfmt; ac_word=$2 5908{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5909$as_echo_n "checking for $ac_word... " >&6; } 5910if ${ac_cv_path_GMSGFMT+:} false; then : 5911 $as_echo_n "(cached) " >&6 5912else 5913 case $GMSGFMT in 5914 [\\/]* | ?:[\\/]*) 5915 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 5916 ;; 5917 *) 5918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5919for as_dir in $PATH 5920do 5921 IFS=$as_save_IFS 5922 test -z "$as_dir" && as_dir=. 5923 for ac_exec_ext in '' $ac_executable_extensions; do 5924 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5925 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 5926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5927 break 2 5928 fi 5929done 5930 done 5931IFS=$as_save_IFS 5932 5933 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 5934 ;; 5935esac 5936fi 5937GMSGFMT=$ac_cv_path_GMSGFMT 5938if test -n "$GMSGFMT"; then 5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 5940$as_echo "$GMSGFMT" >&6; } 5941else 5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5943$as_echo "no" >&6; } 5944fi 5945 5946 5947if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then 5948 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 5949fi 5950xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" 5951mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" 5952mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" 5953if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then 5954 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 5955fi 5956 5957# Extract the first word of "perl", so it can be a program name with args. 5958set dummy perl; ac_word=$2 5959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5960$as_echo_n "checking for $ac_word... " >&6; } 5961if ${ac_cv_path_INTLTOOL_PERL+:} false; then : 5962 $as_echo_n "(cached) " >&6 5963else 5964 case $INTLTOOL_PERL in 5965 [\\/]* | ?:[\\/]*) 5966 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. 5967 ;; 5968 *) 5969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5970for as_dir in $PATH 5971do 5972 IFS=$as_save_IFS 5973 test -z "$as_dir" && as_dir=. 5974 for ac_exec_ext in '' $ac_executable_extensions; do 5975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5976 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" 5977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5978 break 2 5979 fi 5980done 5981 done 5982IFS=$as_save_IFS 5983 5984 ;; 5985esac 5986fi 5987INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL 5988if test -n "$INTLTOOL_PERL"; then 5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 5990$as_echo "$INTLTOOL_PERL" >&6; } 5991else 5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5993$as_echo "no" >&6; } 5994fi 5995 5996 5997if test -z "$INTLTOOL_PERL"; then 5998 as_fn_error $? "perl not found" "$LINENO" 5 5999fi 6000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 6001$as_echo_n "checking for perl >= 5.8.1... " >&6; } 6002$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 6003if test $? -ne 0; then 6004 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 6005else 6006 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` 6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 6008$as_echo "$IT_PERL_VERSION" >&6; } 6009fi 6010if test "x" != "xno-xml"; then 6011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 6012$as_echo_n "checking for XML::Parser... " >&6; } 6013 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then 6014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6015$as_echo "ok" >&6; } 6016 else 6017 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 6018 fi 6019fi 6020 6021# Substitute ALL_LINGUAS so we can use it in po/Makefile 6022 6023 6024 6025 6026 6027 6028# Extract the first word of "glib-compile-resources", so it can be a program name with args. 6029set dummy glib-compile-resources; ac_word=$2 6030{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6031$as_echo_n "checking for $ac_word... " >&6; } 6032if ${ac_cv_path_GLIB_COMPILE_RESOURCES+:} false; then : 6033 $as_echo_n "(cached) " >&6 6034else 6035 case $GLIB_COMPILE_RESOURCES in 6036 [\\/]* | ?:[\\/]*) 6037 ac_cv_path_GLIB_COMPILE_RESOURCES="$GLIB_COMPILE_RESOURCES" # Let the user override the test with a path. 6038 ;; 6039 *) 6040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6041for as_dir in $PATH 6042do 6043 IFS=$as_save_IFS 6044 test -z "$as_dir" && as_dir=. 6045 for ac_exec_ext in '' $ac_executable_extensions; do 6046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6047 ac_cv_path_GLIB_COMPILE_RESOURCES="$as_dir/$ac_word$ac_exec_ext" 6048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6049 break 2 6050 fi 6051done 6052 done 6053IFS=$as_save_IFS 6054 6055 ;; 6056esac 6057fi 6058GLIB_COMPILE_RESOURCES=$ac_cv_path_GLIB_COMPILE_RESOURCES 6059if test -n "$GLIB_COMPILE_RESOURCES"; then 6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_RESOURCES" >&5 6061$as_echo "$GLIB_COMPILE_RESOURCES" >&6; } 6062else 6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6064$as_echo "no" >&6; } 6065fi 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 6076 if test -n "$ac_tool_prefix"; then 6077 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 6078set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 6079{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6080$as_echo_n "checking for $ac_word... " >&6; } 6081if ${ac_cv_path_PKG_CONFIG+:} false; then : 6082 $as_echo_n "(cached) " >&6 6083else 6084 case $PKG_CONFIG in 6085 [\\/]* | ?:[\\/]*) 6086 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 6087 ;; 6088 *) 6089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6090for as_dir in $PATH 6091do 6092 IFS=$as_save_IFS 6093 test -z "$as_dir" && as_dir=. 6094 for ac_exec_ext in '' $ac_executable_extensions; do 6095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6096 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 6097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6098 break 2 6099 fi 6100done 6101 done 6102IFS=$as_save_IFS 6103 6104 ;; 6105esac 6106fi 6107PKG_CONFIG=$ac_cv_path_PKG_CONFIG 6108if test -n "$PKG_CONFIG"; then 6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 6110$as_echo "$PKG_CONFIG" >&6; } 6111else 6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6113$as_echo "no" >&6; } 6114fi 6115 6116 6117fi 6118if test -z "$ac_cv_path_PKG_CONFIG"; then 6119 ac_pt_PKG_CONFIG=$PKG_CONFIG 6120 # Extract the first word of "pkg-config", so it can be a program name with args. 6121set dummy pkg-config; ac_word=$2 6122{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6123$as_echo_n "checking for $ac_word... " >&6; } 6124if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 6125 $as_echo_n "(cached) " >&6 6126else 6127 case $ac_pt_PKG_CONFIG in 6128 [\\/]* | ?:[\\/]*) 6129 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 6130 ;; 6131 *) 6132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6133for as_dir in $PATH 6134do 6135 IFS=$as_save_IFS 6136 test -z "$as_dir" && as_dir=. 6137 for ac_exec_ext in '' $ac_executable_extensions; do 6138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6139 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 6140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6141 break 2 6142 fi 6143done 6144 done 6145IFS=$as_save_IFS 6146 6147 ;; 6148esac 6149fi 6150ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 6151if test -n "$ac_pt_PKG_CONFIG"; then 6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 6153$as_echo "$ac_pt_PKG_CONFIG" >&6; } 6154else 6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6156$as_echo "no" >&6; } 6157fi 6158 6159 if test "x$ac_pt_PKG_CONFIG" = x; then 6160 PKG_CONFIG="" 6161 else 6162 case $cross_compiling:$ac_tool_warned in 6163yes:) 6164{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6165$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6166ac_tool_warned=yes ;; 6167esac 6168 PKG_CONFIG=$ac_pt_PKG_CONFIG 6169 fi 6170else 6171 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 6172fi 6173 6174fi 6175if test -n "$PKG_CONFIG"; then 6176 _pkg_min_version=0.22 6177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 6178$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 6179 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6181$as_echo "yes" >&6; } 6182 else 6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6184$as_echo "no" >&6; } 6185 PKG_CONFIG="" 6186 fi 6187fi 6188 6189 6190 # Check whether --enable-schemas-compile was given. 6191if test "${enable_schemas_compile+set}" = set; then : 6192 enableval=$enable_schemas_compile; case ${enableval} in 6193 yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;; 6194 no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;; 6195 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;; 6196 esac 6197fi 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 6208 if test -n "$ac_tool_prefix"; then 6209 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 6210set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 6211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6212$as_echo_n "checking for $ac_word... " >&6; } 6213if ${ac_cv_path_PKG_CONFIG+:} false; then : 6214 $as_echo_n "(cached) " >&6 6215else 6216 case $PKG_CONFIG in 6217 [\\/]* | ?:[\\/]*) 6218 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 6219 ;; 6220 *) 6221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6222for as_dir in $PATH 6223do 6224 IFS=$as_save_IFS 6225 test -z "$as_dir" && as_dir=. 6226 for ac_exec_ext in '' $ac_executable_extensions; do 6227 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6228 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 6229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6230 break 2 6231 fi 6232done 6233 done 6234IFS=$as_save_IFS 6235 6236 ;; 6237esac 6238fi 6239PKG_CONFIG=$ac_cv_path_PKG_CONFIG 6240if test -n "$PKG_CONFIG"; then 6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 6242$as_echo "$PKG_CONFIG" >&6; } 6243else 6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6245$as_echo "no" >&6; } 6246fi 6247 6248 6249fi 6250if test -z "$ac_cv_path_PKG_CONFIG"; then 6251 ac_pt_PKG_CONFIG=$PKG_CONFIG 6252 # Extract the first word of "pkg-config", so it can be a program name with args. 6253set dummy pkg-config; ac_word=$2 6254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6255$as_echo_n "checking for $ac_word... " >&6; } 6256if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 6257 $as_echo_n "(cached) " >&6 6258else 6259 case $ac_pt_PKG_CONFIG in 6260 [\\/]* | ?:[\\/]*) 6261 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 6262 ;; 6263 *) 6264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6265for as_dir in $PATH 6266do 6267 IFS=$as_save_IFS 6268 test -z "$as_dir" && as_dir=. 6269 for ac_exec_ext in '' $ac_executable_extensions; do 6270 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6271 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 6272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6273 break 2 6274 fi 6275done 6276 done 6277IFS=$as_save_IFS 6278 6279 ;; 6280esac 6281fi 6282ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 6283if test -n "$ac_pt_PKG_CONFIG"; then 6284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 6285$as_echo "$ac_pt_PKG_CONFIG" >&6; } 6286else 6287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6288$as_echo "no" >&6; } 6289fi 6290 6291 if test "x$ac_pt_PKG_CONFIG" = x; then 6292 PKG_CONFIG="" 6293 else 6294 case $cross_compiling:$ac_tool_warned in 6295yes:) 6296{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6297$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6298ac_tool_warned=yes ;; 6299esac 6300 PKG_CONFIG=$ac_pt_PKG_CONFIG 6301 fi 6302else 6303 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 6304fi 6305 6306fi 6307if test -n "$PKG_CONFIG"; then 6308 _pkg_min_version=0.16 6309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 6310$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 6311 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 6312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6313$as_echo "yes" >&6; } 6314 else 6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6316$as_echo "no" >&6; } 6317 PKG_CONFIG="" 6318 fi 6319fi 6320 gsettingsschemadir=${datadir}/glib-2.0/schemas 6321 6322 if test x$cross_compiling != xyes; then 6323 GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0` 6324 else 6325 # Extract the first word of "glib-compile-schemas", so it can be a program name with args. 6326set dummy glib-compile-schemas; ac_word=$2 6327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6328$as_echo_n "checking for $ac_word... " >&6; } 6329if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then : 6330 $as_echo_n "(cached) " >&6 6331else 6332 case $GLIB_COMPILE_SCHEMAS in 6333 [\\/]* | ?:[\\/]*) 6334 ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path. 6335 ;; 6336 *) 6337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6338for as_dir in $PATH 6339do 6340 IFS=$as_save_IFS 6341 test -z "$as_dir" && as_dir=. 6342 for ac_exec_ext in '' $ac_executable_extensions; do 6343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6344 ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext" 6345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6346 break 2 6347 fi 6348done 6349 done 6350IFS=$as_save_IFS 6351 6352 ;; 6353esac 6354fi 6355GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS 6356if test -n "$GLIB_COMPILE_SCHEMAS"; then 6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5 6358$as_echo "$GLIB_COMPILE_SCHEMAS" >&6; } 6359else 6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6361$as_echo "no" >&6; } 6362fi 6363 6364 6365 fi 6366 6367 if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then 6368 as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5 6369 else 6370 : 6371 fi 6372 6373 GSETTINGS_RULES=' 6374.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas 6375 6376mostlyclean-am: clean-gsettings-schemas 6377 6378gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE)) 6379 6380%.gschema.valid: %.gschema.xml $(gsettings__enum_file) 6381 $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p $(@D) && touch $@ 6382 6383all-am: $(gsettings_SCHEMAS:.xml=.valid) 6384uninstall-am: uninstall-gsettings-schemas 6385install-data-am: install-gsettings-schemas 6386 6387.SECONDARY: $(gsettings_SCHEMAS) 6388 6389install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file) 6390 @$(NORMAL_INSTALL) 6391 if test -n "$^"; then \ 6392 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \ 6393 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \ 6394 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \ 6395 fi 6396 6397uninstall-gsettings-schemas: 6398 @$(NORMAL_UNINSTALL) 6399 @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \ 6400 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \ 6401 test -n "$$files" || exit 0; \ 6402 echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \ 6403 cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files 6404 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir) 6405 6406clean-gsettings-schemas: 6407 rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file) 6408 6409ifdef gsettings_ENUM_NAMESPACE 6410$(gsettings__enum_file): $(gsettings_ENUM_FILES) 6411 $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@ 6412endif 6413' 6414 6415 6416 6417 6418 6419 6420 6421GETTEXT_PACKAGE=lingot 6422 6423 6424cat >>confdefs.h <<_ACEOF 6425#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" 6426_ACEOF 6427 6428 6429ALL_LINGUAS="ca cs de es gl it pt_BR sv zh_CN fr" 6430# On IRIX 5.3, sys/types and inttypes.h are conflicting. 6431for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 6432 inttypes.h stdint.h unistd.h 6433do : 6434 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6435ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 6436" 6437if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 6438 cat >>confdefs.h <<_ACEOF 6439#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6440_ACEOF 6441 6442fi 6443 6444done 6445 6446 6447 6448 for ac_header in locale.h 6449do : 6450 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" 6451if test "x$ac_cv_header_locale_h" = xyes; then : 6452 cat >>confdefs.h <<_ACEOF 6453#define HAVE_LOCALE_H 1 6454_ACEOF 6455 6456fi 6457 6458done 6459 6460 if test $ac_cv_header_locale_h = yes; then 6461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 6462$as_echo_n "checking for LC_MESSAGES... " >&6; } 6463if ${am_cv_val_LC_MESSAGES+:} false; then : 6464 $as_echo_n "(cached) " >&6 6465else 6466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6467/* end confdefs.h. */ 6468#include <locale.h> 6469int 6470main () 6471{ 6472return LC_MESSAGES 6473 ; 6474 return 0; 6475} 6476_ACEOF 6477if ac_fn_c_try_link "$LINENO"; then : 6478 am_cv_val_LC_MESSAGES=yes 6479else 6480 am_cv_val_LC_MESSAGES=no 6481fi 6482rm -f core conftest.err conftest.$ac_objext \ 6483 conftest$ac_exeext conftest.$ac_ext 6484fi 6485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5 6486$as_echo "$am_cv_val_LC_MESSAGES" >&6; } 6487 if test $am_cv_val_LC_MESSAGES = yes; then 6488 6489$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h 6490 6491 fi 6492 fi 6493 USE_NLS=yes 6494 6495 6496 gt_cv_have_gettext=no 6497 6498 CATOBJEXT=NONE 6499 XGETTEXT=: 6500 INTLLIBS= 6501 6502 6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 6504$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } 6505if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : 6506 $as_echo_n "(cached) " >&6 6507else 6508 gt_save_LIBS="$LIBS" 6509 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 6510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6511/* end confdefs.h. */ 6512#include <CoreFoundation/CFPreferences.h> 6513int 6514main () 6515{ 6516CFPreferencesCopyAppValue(NULL, NULL) 6517 ; 6518 return 0; 6519} 6520_ACEOF 6521if ac_fn_c_try_link "$LINENO"; then : 6522 gt_cv_func_CFPreferencesCopyAppValue=yes 6523else 6524 gt_cv_func_CFPreferencesCopyAppValue=no 6525fi 6526rm -f core conftest.err conftest.$ac_objext \ 6527 conftest$ac_exeext conftest.$ac_ext 6528 LIBS="$gt_save_LIBS" 6529fi 6530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 6531$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } 6532 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 6533 6534$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h 6535 6536 fi 6537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 6538$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } 6539if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : 6540 $as_echo_n "(cached) " >&6 6541else 6542 gt_save_LIBS="$LIBS" 6543 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 6544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6545/* end confdefs.h. */ 6546#include <CoreFoundation/CFLocale.h> 6547int 6548main () 6549{ 6550CFLocaleCopyCurrent(); 6551 ; 6552 return 0; 6553} 6554_ACEOF 6555if ac_fn_c_try_link "$LINENO"; then : 6556 gt_cv_func_CFLocaleCopyCurrent=yes 6557else 6558 gt_cv_func_CFLocaleCopyCurrent=no 6559fi 6560rm -f core conftest.err conftest.$ac_objext \ 6561 conftest$ac_exeext conftest.$ac_ext 6562 LIBS="$gt_save_LIBS" 6563fi 6564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 6565$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } 6566 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then 6567 6568$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h 6569 6570 fi 6571 INTL_MACOSX_LIBS= 6572 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then 6573 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 6574 fi 6575 6576 6577 6578 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" 6579if test "x$ac_cv_header_libintl_h" = xyes; then : 6580 gt_cv_func_dgettext_libintl="no" 6581 libintl_extra_libs="" 6582 6583 # 6584 # First check in libc 6585 # 6586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5 6587$as_echo_n "checking for ngettext in libc... " >&6; } 6588if ${gt_cv_func_ngettext_libc+:} false; then : 6589 $as_echo_n "(cached) " >&6 6590else 6591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6592/* end confdefs.h. */ 6593 6594#include <libintl.h> 6595 6596int 6597main () 6598{ 6599return !ngettext ("","", 1) 6600 ; 6601 return 0; 6602} 6603_ACEOF 6604if ac_fn_c_try_link "$LINENO"; then : 6605 gt_cv_func_ngettext_libc=yes 6606else 6607 gt_cv_func_ngettext_libc=no 6608fi 6609rm -f core conftest.err conftest.$ac_objext \ 6610 conftest$ac_exeext conftest.$ac_ext 6611 6612fi 6613{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5 6614$as_echo "$gt_cv_func_ngettext_libc" >&6; } 6615 6616 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 6617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5 6618$as_echo_n "checking for dgettext in libc... " >&6; } 6619if ${gt_cv_func_dgettext_libc+:} false; then : 6620 $as_echo_n "(cached) " >&6 6621else 6622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6623/* end confdefs.h. */ 6624 6625#include <libintl.h> 6626 6627int 6628main () 6629{ 6630return !dgettext ("","") 6631 ; 6632 return 0; 6633} 6634_ACEOF 6635if ac_fn_c_try_link "$LINENO"; then : 6636 gt_cv_func_dgettext_libc=yes 6637else 6638 gt_cv_func_dgettext_libc=no 6639fi 6640rm -f core conftest.err conftest.$ac_objext \ 6641 conftest$ac_exeext conftest.$ac_ext 6642 6643fi 6644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5 6645$as_echo "$gt_cv_func_dgettext_libc" >&6; } 6646 fi 6647 6648 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 6649 for ac_func in bind_textdomain_codeset 6650do : 6651 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 6652if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 6653 cat >>confdefs.h <<_ACEOF 6654#define HAVE_BIND_TEXTDOMAIN_CODESET 1 6655_ACEOF 6656 6657fi 6658done 6659 6660 fi 6661 6662 # 6663 # If we don't have everything we want, check in libintl 6664 # 6665 if test "$gt_cv_func_dgettext_libc" != "yes" \ 6666 || test "$gt_cv_func_ngettext_libc" != "yes" \ 6667 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then 6668 6669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 6670$as_echo_n "checking for bindtextdomain in -lintl... " >&6; } 6671if ${ac_cv_lib_intl_bindtextdomain+:} false; then : 6672 $as_echo_n "(cached) " >&6 6673else 6674 ac_check_lib_save_LIBS=$LIBS 6675LIBS="-lintl $LIBS" 6676cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6677/* end confdefs.h. */ 6678 6679/* Override any GCC internal prototype to avoid an error. 6680 Use char because int might match the return type of a GCC 6681 builtin and then its argument prototype would still apply. */ 6682#ifdef __cplusplus 6683extern "C" 6684#endif 6685char bindtextdomain (); 6686int 6687main () 6688{ 6689return bindtextdomain (); 6690 ; 6691 return 0; 6692} 6693_ACEOF 6694if ac_fn_c_try_link "$LINENO"; then : 6695 ac_cv_lib_intl_bindtextdomain=yes 6696else 6697 ac_cv_lib_intl_bindtextdomain=no 6698fi 6699rm -f core conftest.err conftest.$ac_objext \ 6700 conftest$ac_exeext conftest.$ac_ext 6701LIBS=$ac_check_lib_save_LIBS 6702fi 6703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 6704$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } 6705if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then : 6706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 6707$as_echo_n "checking for ngettext in -lintl... " >&6; } 6708if ${ac_cv_lib_intl_ngettext+:} false; then : 6709 $as_echo_n "(cached) " >&6 6710else 6711 ac_check_lib_save_LIBS=$LIBS 6712LIBS="-lintl $LIBS" 6713cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6714/* end confdefs.h. */ 6715 6716/* Override any GCC internal prototype to avoid an error. 6717 Use char because int might match the return type of a GCC 6718 builtin and then its argument prototype would still apply. */ 6719#ifdef __cplusplus 6720extern "C" 6721#endif 6722char ngettext (); 6723int 6724main () 6725{ 6726return ngettext (); 6727 ; 6728 return 0; 6729} 6730_ACEOF 6731if ac_fn_c_try_link "$LINENO"; then : 6732 ac_cv_lib_intl_ngettext=yes 6733else 6734 ac_cv_lib_intl_ngettext=no 6735fi 6736rm -f core conftest.err conftest.$ac_objext \ 6737 conftest$ac_exeext conftest.$ac_ext 6738LIBS=$ac_check_lib_save_LIBS 6739fi 6740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 6741$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 6742if test "x$ac_cv_lib_intl_ngettext" = xyes; then : 6743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 6744$as_echo_n "checking for dgettext in -lintl... " >&6; } 6745if ${ac_cv_lib_intl_dgettext+:} false; then : 6746 $as_echo_n "(cached) " >&6 6747else 6748 ac_check_lib_save_LIBS=$LIBS 6749LIBS="-lintl $LIBS" 6750cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6751/* end confdefs.h. */ 6752 6753/* Override any GCC internal prototype to avoid an error. 6754 Use char because int might match the return type of a GCC 6755 builtin and then its argument prototype would still apply. */ 6756#ifdef __cplusplus 6757extern "C" 6758#endif 6759char dgettext (); 6760int 6761main () 6762{ 6763return dgettext (); 6764 ; 6765 return 0; 6766} 6767_ACEOF 6768if ac_fn_c_try_link "$LINENO"; then : 6769 ac_cv_lib_intl_dgettext=yes 6770else 6771 ac_cv_lib_intl_dgettext=no 6772fi 6773rm -f core conftest.err conftest.$ac_objext \ 6774 conftest$ac_exeext conftest.$ac_ext 6775LIBS=$ac_check_lib_save_LIBS 6776fi 6777{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 6778$as_echo "$ac_cv_lib_intl_dgettext" >&6; } 6779if test "x$ac_cv_lib_intl_dgettext" = xyes; then : 6780 gt_cv_func_dgettext_libintl=yes 6781fi 6782 6783fi 6784 6785fi 6786 6787 6788 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then 6789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5 6790$as_echo_n "checking if -liconv is needed to use gettext... " >&6; } 6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 6792$as_echo "" >&6; } 6793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 6794$as_echo_n "checking for ngettext in -lintl... " >&6; } 6795if ${ac_cv_lib_intl_ngettext+:} false; then : 6796 $as_echo_n "(cached) " >&6 6797else 6798 ac_check_lib_save_LIBS=$LIBS 6799LIBS="-lintl -liconv $LIBS" 6800cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6801/* end confdefs.h. */ 6802 6803/* Override any GCC internal prototype to avoid an error. 6804 Use char because int might match the return type of a GCC 6805 builtin and then its argument prototype would still apply. */ 6806#ifdef __cplusplus 6807extern "C" 6808#endif 6809char ngettext (); 6810int 6811main () 6812{ 6813return ngettext (); 6814 ; 6815 return 0; 6816} 6817_ACEOF 6818if ac_fn_c_try_link "$LINENO"; then : 6819 ac_cv_lib_intl_ngettext=yes 6820else 6821 ac_cv_lib_intl_ngettext=no 6822fi 6823rm -f core conftest.err conftest.$ac_objext \ 6824 conftest$ac_exeext conftest.$ac_ext 6825LIBS=$ac_check_lib_save_LIBS 6826fi 6827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 6828$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 6829if test "x$ac_cv_lib_intl_ngettext" = xyes; then : 6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5 6831$as_echo_n "checking for dcgettext in -lintl... " >&6; } 6832if ${ac_cv_lib_intl_dcgettext+:} false; then : 6833 $as_echo_n "(cached) " >&6 6834else 6835 ac_check_lib_save_LIBS=$LIBS 6836LIBS="-lintl -liconv $LIBS" 6837cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6838/* end confdefs.h. */ 6839 6840/* Override any GCC internal prototype to avoid an error. 6841 Use char because int might match the return type of a GCC 6842 builtin and then its argument prototype would still apply. */ 6843#ifdef __cplusplus 6844extern "C" 6845#endif 6846char dcgettext (); 6847int 6848main () 6849{ 6850return dcgettext (); 6851 ; 6852 return 0; 6853} 6854_ACEOF 6855if ac_fn_c_try_link "$LINENO"; then : 6856 ac_cv_lib_intl_dcgettext=yes 6857else 6858 ac_cv_lib_intl_dcgettext=no 6859fi 6860rm -f core conftest.err conftest.$ac_objext \ 6861 conftest$ac_exeext conftest.$ac_ext 6862LIBS=$ac_check_lib_save_LIBS 6863fi 6864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5 6865$as_echo "$ac_cv_lib_intl_dcgettext" >&6; } 6866if test "x$ac_cv_lib_intl_dcgettext" = xyes; then : 6867 gt_cv_func_dgettext_libintl=yes 6868 libintl_extra_libs=-liconv 6869else 6870 : 6871fi 6872 6873else 6874 : 6875fi 6876 6877 fi 6878 6879 # 6880 # If we found libintl, then check in it for bind_textdomain_codeset(); 6881 # we'll prefer libc if neither have bind_textdomain_codeset(), 6882 # and both have dgettext and ngettext 6883 # 6884 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then 6885 glib_save_LIBS="$LIBS" 6886 LIBS="$LIBS -lintl $libintl_extra_libs" 6887 unset ac_cv_func_bind_textdomain_codeset 6888 for ac_func in bind_textdomain_codeset 6889do : 6890 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 6891if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 6892 cat >>confdefs.h <<_ACEOF 6893#define HAVE_BIND_TEXTDOMAIN_CODESET 1 6894_ACEOF 6895 6896fi 6897done 6898 6899 LIBS="$glib_save_LIBS" 6900 6901 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then 6902 gt_cv_func_dgettext_libc=no 6903 else 6904 if test "$gt_cv_func_dgettext_libc" = "yes" \ 6905 && test "$gt_cv_func_ngettext_libc" = "yes"; then 6906 gt_cv_func_dgettext_libintl=no 6907 fi 6908 fi 6909 fi 6910 fi 6911 6912 if test "$gt_cv_func_dgettext_libc" = "yes" \ 6913 || test "$gt_cv_func_dgettext_libintl" = "yes"; then 6914 gt_cv_have_gettext=yes 6915 fi 6916 6917 if test "$gt_cv_func_dgettext_libintl" = "yes"; then 6918 INTLLIBS="-lintl $libintl_extra_libs $INTL_MACOSX_LIBS" 6919 fi 6920 6921 if test "$gt_cv_have_gettext" = "yes"; then 6922 6923$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 6924 6925 # Extract the first word of "msgfmt", so it can be a program name with args. 6926set dummy msgfmt; ac_word=$2 6927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6928$as_echo_n "checking for $ac_word... " >&6; } 6929if ${ac_cv_path_MSGFMT+:} false; then : 6930 $as_echo_n "(cached) " >&6 6931else 6932 case "$MSGFMT" in 6933 /*) 6934 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 6935 ;; 6936 *) 6937 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 6938 for ac_dir in $PATH; do 6939 test -z "$ac_dir" && ac_dir=. 6940 if test -f $ac_dir/$ac_word; then 6941 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then 6942 ac_cv_path_MSGFMT="$ac_dir/$ac_word" 6943 break 6944 fi 6945 fi 6946 done 6947 IFS="$ac_save_ifs" 6948 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" 6949 ;; 6950esac 6951fi 6952MSGFMT="$ac_cv_path_MSGFMT" 6953if test "$MSGFMT" != "no"; then 6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 6955$as_echo "$MSGFMT" >&6; } 6956else 6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6958$as_echo "no" >&6; } 6959fi 6960 if test "$MSGFMT" != "no"; then 6961 glib_save_LIBS="$LIBS" 6962 LIBS="$LIBS $INTLLIBS" 6963 for ac_func in dcgettext 6964do : 6965 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext" 6966if test "x$ac_cv_func_dcgettext" = xyes; then : 6967 cat >>confdefs.h <<_ACEOF 6968#define HAVE_DCGETTEXT 1 6969_ACEOF 6970 6971fi 6972done 6973 6974 MSGFMT_OPTS= 6975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5 6976$as_echo_n "checking if msgfmt accepts -c... " >&6; } 6977 cat >conftest.foo <<_ACEOF 6978 6979msgid "" 6980msgstr "" 6981"Content-Type: text/plain; charset=UTF-8\n" 6982"Project-Id-Version: test 1.0\n" 6983"PO-Revision-Date: 2007-02-15 12:01+0100\n" 6984"Last-Translator: test <foo@bar.xx>\n" 6985"Language-Team: C <LL@li.org>\n" 6986"MIME-Version: 1.0\n" 6987"Content-Transfer-Encoding: 8bit\n" 6988 6989_ACEOF 6990if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5 6991 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5 6992 ac_status=$? 6993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6994 test $ac_status = 0; }; then 6995 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6996$as_echo "yes" >&6; } 6997else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6998$as_echo "no" >&6; } 6999echo "$as_me: failed input was:" >&5 7000sed 's/^/| /' conftest.foo >&5 7001fi 7002 7003 # Extract the first word of "gmsgfmt", so it can be a program name with args. 7004set dummy gmsgfmt; ac_word=$2 7005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7006$as_echo_n "checking for $ac_word... " >&6; } 7007if ${ac_cv_path_GMSGFMT+:} false; then : 7008 $as_echo_n "(cached) " >&6 7009else 7010 case $GMSGFMT in 7011 [\\/]* | ?:[\\/]*) 7012 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 7013 ;; 7014 *) 7015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7016for as_dir in $PATH 7017do 7018 IFS=$as_save_IFS 7019 test -z "$as_dir" && as_dir=. 7020 for ac_exec_ext in '' $ac_executable_extensions; do 7021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7022 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 7023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7024 break 2 7025 fi 7026done 7027 done 7028IFS=$as_save_IFS 7029 7030 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 7031 ;; 7032esac 7033fi 7034GMSGFMT=$ac_cv_path_GMSGFMT 7035if test -n "$GMSGFMT"; then 7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 7037$as_echo "$GMSGFMT" >&6; } 7038else 7039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7040$as_echo "no" >&6; } 7041fi 7042 7043 7044 # Extract the first word of "xgettext", so it can be a program name with args. 7045set dummy xgettext; ac_word=$2 7046{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7047$as_echo_n "checking for $ac_word... " >&6; } 7048if ${ac_cv_path_XGETTEXT+:} false; then : 7049 $as_echo_n "(cached) " >&6 7050else 7051 case "$XGETTEXT" in 7052 /*) 7053 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 7054 ;; 7055 *) 7056 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 7057 for ac_dir in $PATH; do 7058 test -z "$ac_dir" && ac_dir=. 7059 if test -f $ac_dir/$ac_word; then 7060 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then 7061 ac_cv_path_XGETTEXT="$ac_dir/$ac_word" 7062 break 7063 fi 7064 fi 7065 done 7066 IFS="$ac_save_ifs" 7067 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 7068 ;; 7069esac 7070fi 7071XGETTEXT="$ac_cv_path_XGETTEXT" 7072if test "$XGETTEXT" != ":"; then 7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 7074$as_echo "$XGETTEXT" >&6; } 7075else 7076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7077$as_echo "no" >&6; } 7078fi 7079 7080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7081/* end confdefs.h. */ 7082 7083int 7084main () 7085{ 7086extern int _nl_msg_cat_cntr; 7087 return _nl_msg_cat_cntr 7088 ; 7089 return 0; 7090} 7091_ACEOF 7092if ac_fn_c_try_link "$LINENO"; then : 7093 CATOBJEXT=.gmo 7094 DATADIRNAME=share 7095else 7096 case $host in 7097 *-*-solaris*) 7098 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 7099if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 7100 CATOBJEXT=.gmo 7101 DATADIRNAME=share 7102else 7103 CATOBJEXT=.mo 7104 DATADIRNAME=lib 7105fi 7106 7107 ;; 7108 *-*-openbsd*) 7109 CATOBJEXT=.mo 7110 DATADIRNAME=share 7111 ;; 7112 *) 7113 CATOBJEXT=.mo 7114 DATADIRNAME=lib 7115 ;; 7116 esac 7117fi 7118rm -f core conftest.err conftest.$ac_objext \ 7119 conftest$ac_exeext conftest.$ac_ext 7120 LIBS="$glib_save_LIBS" 7121 INSTOBJEXT=.mo 7122 else 7123 gt_cv_have_gettext=no 7124 fi 7125 fi 7126 7127fi 7128 7129 7130 7131 if test "$gt_cv_have_gettext" = "yes" ; then 7132 7133$as_echo "#define ENABLE_NLS 1" >>confdefs.h 7134 7135 fi 7136 7137 if test "$XGETTEXT" != ":"; then 7138 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then 7139 : ; 7140 else 7141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 7142$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } 7143 XGETTEXT=":" 7144 fi 7145 fi 7146 7147 # We need to process the po/ directory. 7148 POSUB=po 7149 7150 ac_config_commands="$ac_config_commands default-1" 7151 7152 7153 for lang in $ALL_LINGUAS; do 7154 GMOFILES="$GMOFILES $lang.gmo" 7155 POFILES="$POFILES $lang.po" 7156 done 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 if test "$gt_cv_have_gettext" = "yes"; then 7171 if test "x$ALL_LINGUAS" = "x"; then 7172 LINGUAS= 7173 else 7174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5 7175$as_echo_n "checking for catalogs to be installed... " >&6; } 7176 NEW_LINGUAS= 7177 for presentlang in $ALL_LINGUAS; do 7178 useit=no 7179 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then 7180 desiredlanguages="$LINGUAS" 7181 else 7182 desiredlanguages="$ALL_LINGUAS" 7183 fi 7184 for desiredlang in $desiredlanguages; do 7185 # Use the presentlang catalog if desiredlang is 7186 # a. equal to presentlang, or 7187 # b. a variant of presentlang (because in this case, 7188 # presentlang can be used as a fallback for messages 7189 # which are not translated in the desiredlang catalog). 7190 case "$desiredlang" in 7191 "$presentlang"*) useit=yes;; 7192 esac 7193 done 7194 if test $useit = yes; then 7195 NEW_LINGUAS="$NEW_LINGUAS $presentlang" 7196 fi 7197 done 7198 LINGUAS=$NEW_LINGUAS 7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5 7200$as_echo "$LINGUAS" >&6; } 7201 fi 7202 7203 if test -n "$LINGUAS"; then 7204 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done 7205 fi 7206 fi 7207 7208 MKINSTALLDIRS= 7209 if test -n "$ac_aux_dir"; then 7210 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" 7211 fi 7212 if test -z "$MKINSTALLDIRS"; then 7213 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" 7214 fi 7215 7216 7217 test -d po || mkdir po 7218 if test "x$srcdir" != "x."; then 7219 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then 7220 posrcprefix="$srcdir/" 7221 else 7222 posrcprefix="../$srcdir/" 7223 fi 7224 else 7225 posrcprefix="../" 7226 fi 7227 rm -f po/POTFILES 7228 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ 7229 < $srcdir/po/POTFILES.in > po/POTFILES 7230 7231 7232case `pwd` in 7233 *\ * | *\ *) 7234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 7235$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 7236esac 7237 7238 7239 7240macro_version='2.4.6' 7241macro_revision='2.4.6' 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255ltmain=$ac_aux_dir/ltmain.sh 7256 7257# Make sure we can run config.sub. 7258$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 7259 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 7260 7261{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 7262$as_echo_n "checking build system type... " >&6; } 7263if ${ac_cv_build+:} false; then : 7264 $as_echo_n "(cached) " >&6 7265else 7266 ac_build_alias=$build_alias 7267test "x$ac_build_alias" = x && 7268 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 7269test "x$ac_build_alias" = x && 7270 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 7271ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 7272 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 7273 7274fi 7275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 7276$as_echo "$ac_cv_build" >&6; } 7277case $ac_cv_build in 7278*-*-*) ;; 7279*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 7280esac 7281build=$ac_cv_build 7282ac_save_IFS=$IFS; IFS='-' 7283set x $ac_cv_build 7284shift 7285build_cpu=$1 7286build_vendor=$2 7287shift; shift 7288# Remember, the first character of IFS is used to create $*, 7289# except with old shells: 7290build_os=$* 7291IFS=$ac_save_IFS 7292case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 7293 7294 7295{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 7296$as_echo_n "checking host system type... " >&6; } 7297if ${ac_cv_host+:} false; then : 7298 $as_echo_n "(cached) " >&6 7299else 7300 if test "x$host_alias" = x; then 7301 ac_cv_host=$ac_cv_build 7302else 7303 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 7304 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 7305fi 7306 7307fi 7308{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 7309$as_echo "$ac_cv_host" >&6; } 7310case $ac_cv_host in 7311*-*-*) ;; 7312*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 7313esac 7314host=$ac_cv_host 7315ac_save_IFS=$IFS; IFS='-' 7316set x $ac_cv_host 7317shift 7318host_cpu=$1 7319host_vendor=$2 7320shift; shift 7321# Remember, the first character of IFS is used to create $*, 7322# except with old shells: 7323host_os=$* 7324IFS=$ac_save_IFS 7325case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 7326 7327 7328# Backslashify metacharacters that are still active within 7329# double-quoted strings. 7330sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 7331 7332# Same as above, but do not quote variable references. 7333double_quote_subst='s/\(["`\\]\)/\\\1/g' 7334 7335# Sed substitution to delay expansion of an escaped shell variable in a 7336# double_quote_subst'ed string. 7337delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 7338 7339# Sed substitution to delay expansion of an escaped single quote. 7340delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 7341 7342# Sed substitution to avoid accidental globbing in evaled expressions 7343no_glob_subst='s/\*/\\\*/g' 7344 7345ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 7346ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 7347ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 7348 7349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 7350$as_echo_n "checking how to print strings... " >&6; } 7351# Test print first, because it will be a builtin if present. 7352if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 7353 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 7354 ECHO='print -r --' 7355elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 7356 ECHO='printf %s\n' 7357else 7358 # Use this function as a fallback that always works. 7359 func_fallback_echo () 7360 { 7361 eval 'cat <<_LTECHO_EOF 7362$1 7363_LTECHO_EOF' 7364 } 7365 ECHO='func_fallback_echo' 7366fi 7367 7368# func_echo_all arg... 7369# Invoke $ECHO with all args, space-separated. 7370func_echo_all () 7371{ 7372 $ECHO "" 7373} 7374 7375case $ECHO in 7376 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 7377$as_echo "printf" >&6; } ;; 7378 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 7379$as_echo "print -r" >&6; } ;; 7380 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 7381$as_echo "cat" >&6; } ;; 7382esac 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 7398$as_echo_n "checking for a sed that does not truncate output... " >&6; } 7399if ${ac_cv_path_SED+:} false; then : 7400 $as_echo_n "(cached) " >&6 7401else 7402 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 7403 for ac_i in 1 2 3 4 5 6 7; do 7404 ac_script="$ac_script$as_nl$ac_script" 7405 done 7406 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 7407 { ac_script=; unset ac_script;} 7408 if test -z "$SED"; then 7409 ac_path_SED_found=false 7410 # Loop through the user's path and test for each of PROGNAME-LIST 7411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7412for as_dir in $PATH 7413do 7414 IFS=$as_save_IFS 7415 test -z "$as_dir" && as_dir=. 7416 for ac_prog in sed gsed; do 7417 for ac_exec_ext in '' $ac_executable_extensions; do 7418 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 7419 as_fn_executable_p "$ac_path_SED" || continue 7420# Check for GNU ac_path_SED and select it if it is found. 7421 # Check for GNU $ac_path_SED 7422case `"$ac_path_SED" --version 2>&1` in 7423*GNU*) 7424 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 7425*) 7426 ac_count=0 7427 $as_echo_n 0123456789 >"conftest.in" 7428 while : 7429 do 7430 cat "conftest.in" "conftest.in" >"conftest.tmp" 7431 mv "conftest.tmp" "conftest.in" 7432 cp "conftest.in" "conftest.nl" 7433 $as_echo '' >> "conftest.nl" 7434 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 7435 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 7436 as_fn_arith $ac_count + 1 && ac_count=$as_val 7437 if test $ac_count -gt ${ac_path_SED_max-0}; then 7438 # Best one so far, save it but keep looking for a better one 7439 ac_cv_path_SED="$ac_path_SED" 7440 ac_path_SED_max=$ac_count 7441 fi 7442 # 10*(2^10) chars as input seems more than enough 7443 test $ac_count -gt 10 && break 7444 done 7445 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 7446esac 7447 7448 $ac_path_SED_found && break 3 7449 done 7450 done 7451 done 7452IFS=$as_save_IFS 7453 if test -z "$ac_cv_path_SED"; then 7454 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 7455 fi 7456else 7457 ac_cv_path_SED=$SED 7458fi 7459 7460fi 7461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 7462$as_echo "$ac_cv_path_SED" >&6; } 7463 SED="$ac_cv_path_SED" 7464 rm -f conftest.sed 7465 7466test -z "$SED" && SED=sed 7467Xsed="$SED -e 1s/^X//" 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 7480$as_echo_n "checking for fgrep... " >&6; } 7481if ${ac_cv_path_FGREP+:} false; then : 7482 $as_echo_n "(cached) " >&6 7483else 7484 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 7485 then ac_cv_path_FGREP="$GREP -F" 7486 else 7487 if test -z "$FGREP"; then 7488 ac_path_FGREP_found=false 7489 # Loop through the user's path and test for each of PROGNAME-LIST 7490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7491for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 7492do 7493 IFS=$as_save_IFS 7494 test -z "$as_dir" && as_dir=. 7495 for ac_prog in fgrep; do 7496 for ac_exec_ext in '' $ac_executable_extensions; do 7497 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 7498 as_fn_executable_p "$ac_path_FGREP" || continue 7499# Check for GNU ac_path_FGREP and select it if it is found. 7500 # Check for GNU $ac_path_FGREP 7501case `"$ac_path_FGREP" --version 2>&1` in 7502*GNU*) 7503 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 7504*) 7505 ac_count=0 7506 $as_echo_n 0123456789 >"conftest.in" 7507 while : 7508 do 7509 cat "conftest.in" "conftest.in" >"conftest.tmp" 7510 mv "conftest.tmp" "conftest.in" 7511 cp "conftest.in" "conftest.nl" 7512 $as_echo 'FGREP' >> "conftest.nl" 7513 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 7514 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 7515 as_fn_arith $ac_count + 1 && ac_count=$as_val 7516 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 7517 # Best one so far, save it but keep looking for a better one 7518 ac_cv_path_FGREP="$ac_path_FGREP" 7519 ac_path_FGREP_max=$ac_count 7520 fi 7521 # 10*(2^10) chars as input seems more than enough 7522 test $ac_count -gt 10 && break 7523 done 7524 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 7525esac 7526 7527 $ac_path_FGREP_found && break 3 7528 done 7529 done 7530 done 7531IFS=$as_save_IFS 7532 if test -z "$ac_cv_path_FGREP"; then 7533 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 7534 fi 7535else 7536 ac_cv_path_FGREP=$FGREP 7537fi 7538 7539 fi 7540fi 7541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 7542$as_echo "$ac_cv_path_FGREP" >&6; } 7543 FGREP="$ac_cv_path_FGREP" 7544 7545 7546test -z "$GREP" && GREP=grep 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566# Check whether --with-gnu-ld was given. 7567if test "${with_gnu_ld+set}" = set; then : 7568 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 7569else 7570 with_gnu_ld=no 7571fi 7572 7573ac_prog=ld 7574if test yes = "$GCC"; then 7575 # Check if gcc -print-prog-name=ld gives a path. 7576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 7577$as_echo_n "checking for ld used by $CC... " >&6; } 7578 case $host in 7579 *-*-mingw*) 7580 # gcc leaves a trailing carriage return, which upsets mingw 7581 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 7582 *) 7583 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 7584 esac 7585 case $ac_prog in 7586 # Accept absolute paths. 7587 [\\/]* | ?:[\\/]*) 7588 re_direlt='/[^/][^/]*/\.\./' 7589 # Canonicalize the pathname of ld 7590 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 7591 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 7592 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 7593 done 7594 test -z "$LD" && LD=$ac_prog 7595 ;; 7596 "") 7597 # If it fails, then pretend we aren't using GCC. 7598 ac_prog=ld 7599 ;; 7600 *) 7601 # If it is relative, then search for the first ld in PATH. 7602 with_gnu_ld=unknown 7603 ;; 7604 esac 7605elif test yes = "$with_gnu_ld"; then 7606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 7607$as_echo_n "checking for GNU ld... " >&6; } 7608else 7609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 7610$as_echo_n "checking for non-GNU ld... " >&6; } 7611fi 7612if ${lt_cv_path_LD+:} false; then : 7613 $as_echo_n "(cached) " >&6 7614else 7615 if test -z "$LD"; then 7616 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 7617 for ac_dir in $PATH; do 7618 IFS=$lt_save_ifs 7619 test -z "$ac_dir" && ac_dir=. 7620 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 7621 lt_cv_path_LD=$ac_dir/$ac_prog 7622 # Check to see if the program is GNU ld. I'd rather use --version, 7623 # but apparently some variants of GNU ld only accept -v. 7624 # Break only if it was the GNU/non-GNU ld that we prefer. 7625 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 7626 *GNU* | *'with BFD'*) 7627 test no != "$with_gnu_ld" && break 7628 ;; 7629 *) 7630 test yes != "$with_gnu_ld" && break 7631 ;; 7632 esac 7633 fi 7634 done 7635 IFS=$lt_save_ifs 7636else 7637 lt_cv_path_LD=$LD # Let the user override the test with a path. 7638fi 7639fi 7640 7641LD=$lt_cv_path_LD 7642if test -n "$LD"; then 7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 7644$as_echo "$LD" >&6; } 7645else 7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7647$as_echo "no" >&6; } 7648fi 7649test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 7650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 7651$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 7652if ${lt_cv_prog_gnu_ld+:} false; then : 7653 $as_echo_n "(cached) " >&6 7654else 7655 # I'd rather use --version here, but apparently some GNU lds only accept -v. 7656case `$LD -v 2>&1 </dev/null` in 7657*GNU* | *'with BFD'*) 7658 lt_cv_prog_gnu_ld=yes 7659 ;; 7660*) 7661 lt_cv_prog_gnu_ld=no 7662 ;; 7663esac 7664fi 7665{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 7666$as_echo "$lt_cv_prog_gnu_ld" >&6; } 7667with_gnu_ld=$lt_cv_prog_gnu_ld 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 7678$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 7679if ${lt_cv_path_NM+:} false; then : 7680 $as_echo_n "(cached) " >&6 7681else 7682 if test -n "$NM"; then 7683 # Let the user override the test. 7684 lt_cv_path_NM=$NM 7685else 7686 lt_nm_to_check=${ac_tool_prefix}nm 7687 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 7688 lt_nm_to_check="$lt_nm_to_check nm" 7689 fi 7690 for lt_tmp_nm in $lt_nm_to_check; do 7691 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 7692 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 7693 IFS=$lt_save_ifs 7694 test -z "$ac_dir" && ac_dir=. 7695 tmp_nm=$ac_dir/$lt_tmp_nm 7696 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 7697 # Check to see if the nm accepts a BSD-compat flag. 7698 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 7699 # nm: unknown option "B" ignored 7700 # Tru64's nm complains that /dev/null is an invalid object file 7701 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 7702 case $build_os in 7703 mingw*) lt_bad_file=conftest.nm/nofile ;; 7704 *) lt_bad_file=/dev/null ;; 7705 esac 7706 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 7707 *$lt_bad_file* | *'Invalid file or object type'*) 7708 lt_cv_path_NM="$tmp_nm -B" 7709 break 2 7710 ;; 7711 *) 7712 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 7713 */dev/null*) 7714 lt_cv_path_NM="$tmp_nm -p" 7715 break 2 7716 ;; 7717 *) 7718 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 7719 continue # so that we can try to find one that supports BSD flags 7720 ;; 7721 esac 7722 ;; 7723 esac 7724 fi 7725 done 7726 IFS=$lt_save_ifs 7727 done 7728 : ${lt_cv_path_NM=no} 7729fi 7730fi 7731{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 7732$as_echo "$lt_cv_path_NM" >&6; } 7733if test no != "$lt_cv_path_NM"; then 7734 NM=$lt_cv_path_NM 7735else 7736 # Didn't find any BSD compatible name lister, look for dumpbin. 7737 if test -n "$DUMPBIN"; then : 7738 # Let the user override the test. 7739 else 7740 if test -n "$ac_tool_prefix"; then 7741 for ac_prog in dumpbin "link -dump" 7742 do 7743 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7744set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7745{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7746$as_echo_n "checking for $ac_word... " >&6; } 7747if ${ac_cv_prog_DUMPBIN+:} false; then : 7748 $as_echo_n "(cached) " >&6 7749else 7750 if test -n "$DUMPBIN"; then 7751 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 7752else 7753as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7754for as_dir in $PATH 7755do 7756 IFS=$as_save_IFS 7757 test -z "$as_dir" && as_dir=. 7758 for ac_exec_ext in '' $ac_executable_extensions; do 7759 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7760 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 7761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7762 break 2 7763 fi 7764done 7765 done 7766IFS=$as_save_IFS 7767 7768fi 7769fi 7770DUMPBIN=$ac_cv_prog_DUMPBIN 7771if test -n "$DUMPBIN"; then 7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 7773$as_echo "$DUMPBIN" >&6; } 7774else 7775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7776$as_echo "no" >&6; } 7777fi 7778 7779 7780 test -n "$DUMPBIN" && break 7781 done 7782fi 7783if test -z "$DUMPBIN"; then 7784 ac_ct_DUMPBIN=$DUMPBIN 7785 for ac_prog in dumpbin "link -dump" 7786do 7787 # Extract the first word of "$ac_prog", so it can be a program name with args. 7788set dummy $ac_prog; ac_word=$2 7789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7790$as_echo_n "checking for $ac_word... " >&6; } 7791if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 7792 $as_echo_n "(cached) " >&6 7793else 7794 if test -n "$ac_ct_DUMPBIN"; then 7795 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 7796else 7797as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7798for as_dir in $PATH 7799do 7800 IFS=$as_save_IFS 7801 test -z "$as_dir" && as_dir=. 7802 for ac_exec_ext in '' $ac_executable_extensions; do 7803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7804 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 7805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7806 break 2 7807 fi 7808done 7809 done 7810IFS=$as_save_IFS 7811 7812fi 7813fi 7814ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 7815if test -n "$ac_ct_DUMPBIN"; then 7816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 7817$as_echo "$ac_ct_DUMPBIN" >&6; } 7818else 7819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7820$as_echo "no" >&6; } 7821fi 7822 7823 7824 test -n "$ac_ct_DUMPBIN" && break 7825done 7826 7827 if test "x$ac_ct_DUMPBIN" = x; then 7828 DUMPBIN=":" 7829 else 7830 case $cross_compiling:$ac_tool_warned in 7831yes:) 7832{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7833$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7834ac_tool_warned=yes ;; 7835esac 7836 DUMPBIN=$ac_ct_DUMPBIN 7837 fi 7838fi 7839 7840 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 7841 *COFF*) 7842 DUMPBIN="$DUMPBIN -symbols -headers" 7843 ;; 7844 *) 7845 DUMPBIN=: 7846 ;; 7847 esac 7848 fi 7849 7850 if test : != "$DUMPBIN"; then 7851 NM=$DUMPBIN 7852 fi 7853fi 7854test -z "$NM" && NM=nm 7855 7856 7857 7858 7859 7860 7861{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 7862$as_echo_n "checking the name lister ($NM) interface... " >&6; } 7863if ${lt_cv_nm_interface+:} false; then : 7864 $as_echo_n "(cached) " >&6 7865else 7866 lt_cv_nm_interface="BSD nm" 7867 echo "int some_variable = 0;" > conftest.$ac_ext 7868 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 7869 (eval "$ac_compile" 2>conftest.err) 7870 cat conftest.err >&5 7871 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 7872 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 7873 cat conftest.err >&5 7874 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 7875 cat conftest.out >&5 7876 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 7877 lt_cv_nm_interface="MS dumpbin" 7878 fi 7879 rm -f conftest* 7880fi 7881{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 7882$as_echo "$lt_cv_nm_interface" >&6; } 7883 7884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 7885$as_echo_n "checking whether ln -s works... " >&6; } 7886LN_S=$as_ln_s 7887if test "$LN_S" = "ln -s"; then 7888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7889$as_echo "yes" >&6; } 7890else 7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 7892$as_echo "no, using $LN_S" >&6; } 7893fi 7894 7895# find the maximum length of command line arguments 7896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 7897$as_echo_n "checking the maximum length of command line arguments... " >&6; } 7898if ${lt_cv_sys_max_cmd_len+:} false; then : 7899 $as_echo_n "(cached) " >&6 7900else 7901 i=0 7902 teststring=ABCD 7903 7904 case $build_os in 7905 msdosdjgpp*) 7906 # On DJGPP, this test can blow up pretty badly due to problems in libc 7907 # (any single argument exceeding 2000 bytes causes a buffer overrun 7908 # during glob expansion). Even if it were fixed, the result of this 7909 # check would be larger than it should be. 7910 lt_cv_sys_max_cmd_len=12288; # 12K is about right 7911 ;; 7912 7913 gnu*) 7914 # Under GNU Hurd, this test is not required because there is 7915 # no limit to the length of command line arguments. 7916 # Libtool will interpret -1 as no limit whatsoever 7917 lt_cv_sys_max_cmd_len=-1; 7918 ;; 7919 7920 cygwin* | mingw* | cegcc*) 7921 # On Win9x/ME, this test blows up -- it succeeds, but takes 7922 # about 5 minutes as the teststring grows exponentially. 7923 # Worse, since 9x/ME are not pre-emptively multitasking, 7924 # you end up with a "frozen" computer, even though with patience 7925 # the test eventually succeeds (with a max line length of 256k). 7926 # Instead, let's just punt: use the minimum linelength reported by 7927 # all of the supported platforms: 8192 (on NT/2K/XP). 7928 lt_cv_sys_max_cmd_len=8192; 7929 ;; 7930 7931 mint*) 7932 # On MiNT this can take a long time and run out of memory. 7933 lt_cv_sys_max_cmd_len=8192; 7934 ;; 7935 7936 amigaos*) 7937 # On AmigaOS with pdksh, this test takes hours, literally. 7938 # So we just punt and use a minimum line length of 8192. 7939 lt_cv_sys_max_cmd_len=8192; 7940 ;; 7941 7942 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 7943 # This has been around since 386BSD, at least. Likely further. 7944 if test -x /sbin/sysctl; then 7945 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 7946 elif test -x /usr/sbin/sysctl; then 7947 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 7948 else 7949 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 7950 fi 7951 # And add a safety zone 7952 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 7953 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 7954 ;; 7955 7956 interix*) 7957 # We know the value 262144 and hardcode it with a safety zone (like BSD) 7958 lt_cv_sys_max_cmd_len=196608 7959 ;; 7960 7961 os2*) 7962 # The test takes a long time on OS/2. 7963 lt_cv_sys_max_cmd_len=8192 7964 ;; 7965 7966 osf*) 7967 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 7968 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 7969 # nice to cause kernel panics so lets avoid the loop below. 7970 # First set a reasonable default. 7971 lt_cv_sys_max_cmd_len=16384 7972 # 7973 if test -x /sbin/sysconfig; then 7974 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 7975 *1*) lt_cv_sys_max_cmd_len=-1 ;; 7976 esac 7977 fi 7978 ;; 7979 sco3.2v5*) 7980 lt_cv_sys_max_cmd_len=102400 7981 ;; 7982 sysv5* | sco5v6* | sysv4.2uw2*) 7983 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 7984 if test -n "$kargmax"; then 7985 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 7986 else 7987 lt_cv_sys_max_cmd_len=32768 7988 fi 7989 ;; 7990 *) 7991 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 7992 if test -n "$lt_cv_sys_max_cmd_len" && \ 7993 test undefined != "$lt_cv_sys_max_cmd_len"; then 7994 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 7995 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 7996 else 7997 # Make teststring a little bigger before we do anything with it. 7998 # a 1K string should be a reasonable start. 7999 for i in 1 2 3 4 5 6 7 8; do 8000 teststring=$teststring$teststring 8001 done 8002 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 8003 # If test is not a shell built-in, we'll probably end up computing a 8004 # maximum length that is only half of the actual maximum length, but 8005 # we can't tell. 8006 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 8007 = "X$teststring$teststring"; } >/dev/null 2>&1 && 8008 test 17 != "$i" # 1/2 MB should be enough 8009 do 8010 i=`expr $i + 1` 8011 teststring=$teststring$teststring 8012 done 8013 # Only check the string length outside the loop. 8014 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 8015 teststring= 8016 # Add a significant safety factor because C++ compilers can tack on 8017 # massive amounts of additional arguments before passing them to the 8018 # linker. It appears as though 1/2 is a usable value. 8019 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 8020 fi 8021 ;; 8022 esac 8023 8024fi 8025 8026if test -n "$lt_cv_sys_max_cmd_len"; then 8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 8028$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 8029else 8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 8031$as_echo "none" >&6; } 8032fi 8033max_cmd_len=$lt_cv_sys_max_cmd_len 8034 8035 8036 8037 8038 8039 8040: ${CP="cp -f"} 8041: ${MV="mv -f"} 8042: ${RM="rm -f"} 8043 8044if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 8045 lt_unset=unset 8046else 8047 lt_unset=false 8048fi 8049 8050 8051 8052 8053 8054# test EBCDIC or ASCII 8055case `echo X|tr X '\101'` in 8056 A) # ASCII based system 8057 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 8058 lt_SP2NL='tr \040 \012' 8059 lt_NL2SP='tr \015\012 \040\040' 8060 ;; 8061 *) # EBCDIC based system 8062 lt_SP2NL='tr \100 \n' 8063 lt_NL2SP='tr \r\n \100\100' 8064 ;; 8065esac 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 8076$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 8077if ${lt_cv_to_host_file_cmd+:} false; then : 8078 $as_echo_n "(cached) " >&6 8079else 8080 case $host in 8081 *-*-mingw* ) 8082 case $build in 8083 *-*-mingw* ) # actually msys 8084 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 8085 ;; 8086 *-*-cygwin* ) 8087 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 8088 ;; 8089 * ) # otherwise, assume *nix 8090 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 8091 ;; 8092 esac 8093 ;; 8094 *-*-cygwin* ) 8095 case $build in 8096 *-*-mingw* ) # actually msys 8097 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 8098 ;; 8099 *-*-cygwin* ) 8100 lt_cv_to_host_file_cmd=func_convert_file_noop 8101 ;; 8102 * ) # otherwise, assume *nix 8103 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 8104 ;; 8105 esac 8106 ;; 8107 * ) # unhandled hosts (and "normal" native builds) 8108 lt_cv_to_host_file_cmd=func_convert_file_noop 8109 ;; 8110esac 8111 8112fi 8113 8114to_host_file_cmd=$lt_cv_to_host_file_cmd 8115{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 8116$as_echo "$lt_cv_to_host_file_cmd" >&6; } 8117 8118 8119 8120 8121 8122{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 8123$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 8124if ${lt_cv_to_tool_file_cmd+:} false; then : 8125 $as_echo_n "(cached) " >&6 8126else 8127 #assume ordinary cross tools, or native build. 8128lt_cv_to_tool_file_cmd=func_convert_file_noop 8129case $host in 8130 *-*-mingw* ) 8131 case $build in 8132 *-*-mingw* ) # actually msys 8133 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 8134 ;; 8135 esac 8136 ;; 8137esac 8138 8139fi 8140 8141to_tool_file_cmd=$lt_cv_to_tool_file_cmd 8142{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 8143$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 8144 8145 8146 8147 8148 8149{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 8150$as_echo_n "checking for $LD option to reload object files... " >&6; } 8151if ${lt_cv_ld_reload_flag+:} false; then : 8152 $as_echo_n "(cached) " >&6 8153else 8154 lt_cv_ld_reload_flag='-r' 8155fi 8156{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 8157$as_echo "$lt_cv_ld_reload_flag" >&6; } 8158reload_flag=$lt_cv_ld_reload_flag 8159case $reload_flag in 8160"" | " "*) ;; 8161*) reload_flag=" $reload_flag" ;; 8162esac 8163reload_cmds='$LD$reload_flag -o $output$reload_objs' 8164case $host_os in 8165 cygwin* | mingw* | pw32* | cegcc*) 8166 if test yes != "$GCC"; then 8167 reload_cmds=false 8168 fi 8169 ;; 8170 darwin*) 8171 if test yes = "$GCC"; then 8172 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 8173 else 8174 reload_cmds='$LD$reload_flag -o $output$reload_objs' 8175 fi 8176 ;; 8177esac 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187if test -n "$ac_tool_prefix"; then 8188 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 8189set dummy ${ac_tool_prefix}objdump; ac_word=$2 8190{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8191$as_echo_n "checking for $ac_word... " >&6; } 8192if ${ac_cv_prog_OBJDUMP+:} false; then : 8193 $as_echo_n "(cached) " >&6 8194else 8195 if test -n "$OBJDUMP"; then 8196 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 8197else 8198as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8199for as_dir in $PATH 8200do 8201 IFS=$as_save_IFS 8202 test -z "$as_dir" && as_dir=. 8203 for ac_exec_ext in '' $ac_executable_extensions; do 8204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8205 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 8206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8207 break 2 8208 fi 8209done 8210 done 8211IFS=$as_save_IFS 8212 8213fi 8214fi 8215OBJDUMP=$ac_cv_prog_OBJDUMP 8216if test -n "$OBJDUMP"; then 8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 8218$as_echo "$OBJDUMP" >&6; } 8219else 8220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8221$as_echo "no" >&6; } 8222fi 8223 8224 8225fi 8226if test -z "$ac_cv_prog_OBJDUMP"; then 8227 ac_ct_OBJDUMP=$OBJDUMP 8228 # Extract the first word of "objdump", so it can be a program name with args. 8229set dummy objdump; ac_word=$2 8230{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8231$as_echo_n "checking for $ac_word... " >&6; } 8232if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 8233 $as_echo_n "(cached) " >&6 8234else 8235 if test -n "$ac_ct_OBJDUMP"; then 8236 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 8237else 8238as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8239for as_dir in $PATH 8240do 8241 IFS=$as_save_IFS 8242 test -z "$as_dir" && as_dir=. 8243 for ac_exec_ext in '' $ac_executable_extensions; do 8244 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8245 ac_cv_prog_ac_ct_OBJDUMP="objdump" 8246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8247 break 2 8248 fi 8249done 8250 done 8251IFS=$as_save_IFS 8252 8253fi 8254fi 8255ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 8256if test -n "$ac_ct_OBJDUMP"; then 8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 8258$as_echo "$ac_ct_OBJDUMP" >&6; } 8259else 8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8261$as_echo "no" >&6; } 8262fi 8263 8264 if test "x$ac_ct_OBJDUMP" = x; then 8265 OBJDUMP="false" 8266 else 8267 case $cross_compiling:$ac_tool_warned in 8268yes:) 8269{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8270$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8271ac_tool_warned=yes ;; 8272esac 8273 OBJDUMP=$ac_ct_OBJDUMP 8274 fi 8275else 8276 OBJDUMP="$ac_cv_prog_OBJDUMP" 8277fi 8278 8279test -z "$OBJDUMP" && OBJDUMP=objdump 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 8290$as_echo_n "checking how to recognize dependent libraries... " >&6; } 8291if ${lt_cv_deplibs_check_method+:} false; then : 8292 $as_echo_n "(cached) " >&6 8293else 8294 lt_cv_file_magic_cmd='$MAGIC_CMD' 8295lt_cv_file_magic_test_file= 8296lt_cv_deplibs_check_method='unknown' 8297# Need to set the preceding variable on all platforms that support 8298# interlibrary dependencies. 8299# 'none' -- dependencies not supported. 8300# 'unknown' -- same as none, but documents that we really don't know. 8301# 'pass_all' -- all dependencies passed with no checks. 8302# 'test_compile' -- check by making test program. 8303# 'file_magic [[regex]]' -- check by looking for files in library path 8304# that responds to the $file_magic_cmd with a given extended regex. 8305# If you have 'file' or equivalent on your system and you're not sure 8306# whether 'pass_all' will *always* work, you probably want this one. 8307 8308case $host_os in 8309aix[4-9]*) 8310 lt_cv_deplibs_check_method=pass_all 8311 ;; 8312 8313beos*) 8314 lt_cv_deplibs_check_method=pass_all 8315 ;; 8316 8317bsdi[45]*) 8318 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 8319 lt_cv_file_magic_cmd='/usr/bin/file -L' 8320 lt_cv_file_magic_test_file=/shlib/libc.so 8321 ;; 8322 8323cygwin*) 8324 # func_win32_libid is a shell function defined in ltmain.sh 8325 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 8326 lt_cv_file_magic_cmd='func_win32_libid' 8327 ;; 8328 8329mingw* | pw32*) 8330 # Base MSYS/MinGW do not provide the 'file' command needed by 8331 # func_win32_libid shell function, so use a weaker test based on 'objdump', 8332 # unless we find 'file', for example because we are cross-compiling. 8333 if ( file / ) >/dev/null 2>&1; then 8334 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 8335 lt_cv_file_magic_cmd='func_win32_libid' 8336 else 8337 # Keep this pattern in sync with the one in func_win32_libid. 8338 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 8339 lt_cv_file_magic_cmd='$OBJDUMP -f' 8340 fi 8341 ;; 8342 8343cegcc*) 8344 # use the weaker test based on 'objdump'. See mingw*. 8345 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 8346 lt_cv_file_magic_cmd='$OBJDUMP -f' 8347 ;; 8348 8349darwin* | rhapsody*) 8350 lt_cv_deplibs_check_method=pass_all 8351 ;; 8352 8353freebsd* | dragonfly*) 8354 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 8355 case $host_cpu in 8356 i*86 ) 8357 # Not sure whether the presence of OpenBSD here was a mistake. 8358 # Let's accept both of them until this is cleared up. 8359 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 8360 lt_cv_file_magic_cmd=/usr/bin/file 8361 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 8362 ;; 8363 esac 8364 else 8365 lt_cv_deplibs_check_method=pass_all 8366 fi 8367 ;; 8368 8369haiku*) 8370 lt_cv_deplibs_check_method=pass_all 8371 ;; 8372 8373hpux10.20* | hpux11*) 8374 lt_cv_file_magic_cmd=/usr/bin/file 8375 case $host_cpu in 8376 ia64*) 8377 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 8378 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 8379 ;; 8380 hppa*64*) 8381 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' 8382 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 8383 ;; 8384 *) 8385 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 8386 lt_cv_file_magic_test_file=/usr/lib/libc.sl 8387 ;; 8388 esac 8389 ;; 8390 8391interix[3-9]*) 8392 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 8393 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 8394 ;; 8395 8396irix5* | irix6* | nonstopux*) 8397 case $LD in 8398 *-32|*"-32 ") libmagic=32-bit;; 8399 *-n32|*"-n32 ") libmagic=N32;; 8400 *-64|*"-64 ") libmagic=64-bit;; 8401 *) libmagic=never-match;; 8402 esac 8403 lt_cv_deplibs_check_method=pass_all 8404 ;; 8405 8406# This must be glibc/ELF. 8407linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 8408 lt_cv_deplibs_check_method=pass_all 8409 ;; 8410 8411netbsd* | netbsdelf*-gnu) 8412 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 8413 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 8414 else 8415 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 8416 fi 8417 ;; 8418 8419newos6*) 8420 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 8421 lt_cv_file_magic_cmd=/usr/bin/file 8422 lt_cv_file_magic_test_file=/usr/lib/libnls.so 8423 ;; 8424 8425*nto* | *qnx*) 8426 lt_cv_deplibs_check_method=pass_all 8427 ;; 8428 8429openbsd* | bitrig*) 8430 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 8431 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 8432 else 8433 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 8434 fi 8435 ;; 8436 8437osf3* | osf4* | osf5*) 8438 lt_cv_deplibs_check_method=pass_all 8439 ;; 8440 8441rdos*) 8442 lt_cv_deplibs_check_method=pass_all 8443 ;; 8444 8445solaris*) 8446 lt_cv_deplibs_check_method=pass_all 8447 ;; 8448 8449sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 8450 lt_cv_deplibs_check_method=pass_all 8451 ;; 8452 8453sysv4 | sysv4.3*) 8454 case $host_vendor in 8455 motorola) 8456 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]' 8457 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 8458 ;; 8459 ncr) 8460 lt_cv_deplibs_check_method=pass_all 8461 ;; 8462 sequent) 8463 lt_cv_file_magic_cmd='/bin/file' 8464 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 8465 ;; 8466 sni) 8467 lt_cv_file_magic_cmd='/bin/file' 8468 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 8469 lt_cv_file_magic_test_file=/lib/libc.so 8470 ;; 8471 siemens) 8472 lt_cv_deplibs_check_method=pass_all 8473 ;; 8474 pc) 8475 lt_cv_deplibs_check_method=pass_all 8476 ;; 8477 esac 8478 ;; 8479 8480tpf*) 8481 lt_cv_deplibs_check_method=pass_all 8482 ;; 8483os2*) 8484 lt_cv_deplibs_check_method=pass_all 8485 ;; 8486esac 8487 8488fi 8489{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 8490$as_echo "$lt_cv_deplibs_check_method" >&6; } 8491 8492file_magic_glob= 8493want_nocaseglob=no 8494if test "$build" = "$host"; then 8495 case $host_os in 8496 mingw* | pw32*) 8497 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 8498 want_nocaseglob=yes 8499 else 8500 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 8501 fi 8502 ;; 8503 esac 8504fi 8505 8506file_magic_cmd=$lt_cv_file_magic_cmd 8507deplibs_check_method=$lt_cv_deplibs_check_method 8508test -z "$deplibs_check_method" && deplibs_check_method=unknown 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531if test -n "$ac_tool_prefix"; then 8532 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 8533set dummy ${ac_tool_prefix}dlltool; ac_word=$2 8534{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8535$as_echo_n "checking for $ac_word... " >&6; } 8536if ${ac_cv_prog_DLLTOOL+:} false; then : 8537 $as_echo_n "(cached) " >&6 8538else 8539 if test -n "$DLLTOOL"; then 8540 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 8541else 8542as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8543for as_dir in $PATH 8544do 8545 IFS=$as_save_IFS 8546 test -z "$as_dir" && as_dir=. 8547 for ac_exec_ext in '' $ac_executable_extensions; do 8548 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8549 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 8550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8551 break 2 8552 fi 8553done 8554 done 8555IFS=$as_save_IFS 8556 8557fi 8558fi 8559DLLTOOL=$ac_cv_prog_DLLTOOL 8560if test -n "$DLLTOOL"; then 8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 8562$as_echo "$DLLTOOL" >&6; } 8563else 8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8565$as_echo "no" >&6; } 8566fi 8567 8568 8569fi 8570if test -z "$ac_cv_prog_DLLTOOL"; then 8571 ac_ct_DLLTOOL=$DLLTOOL 8572 # Extract the first word of "dlltool", so it can be a program name with args. 8573set dummy dlltool; ac_word=$2 8574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8575$as_echo_n "checking for $ac_word... " >&6; } 8576if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 8577 $as_echo_n "(cached) " >&6 8578else 8579 if test -n "$ac_ct_DLLTOOL"; then 8580 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 8581else 8582as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8583for as_dir in $PATH 8584do 8585 IFS=$as_save_IFS 8586 test -z "$as_dir" && as_dir=. 8587 for ac_exec_ext in '' $ac_executable_extensions; do 8588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8589 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 8590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8591 break 2 8592 fi 8593done 8594 done 8595IFS=$as_save_IFS 8596 8597fi 8598fi 8599ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 8600if test -n "$ac_ct_DLLTOOL"; then 8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 8602$as_echo "$ac_ct_DLLTOOL" >&6; } 8603else 8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8605$as_echo "no" >&6; } 8606fi 8607 8608 if test "x$ac_ct_DLLTOOL" = x; then 8609 DLLTOOL="false" 8610 else 8611 case $cross_compiling:$ac_tool_warned in 8612yes:) 8613{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8614$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8615ac_tool_warned=yes ;; 8616esac 8617 DLLTOOL=$ac_ct_DLLTOOL 8618 fi 8619else 8620 DLLTOOL="$ac_cv_prog_DLLTOOL" 8621fi 8622 8623test -z "$DLLTOOL" && DLLTOOL=dlltool 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 8635$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 8636if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 8637 $as_echo_n "(cached) " >&6 8638else 8639 lt_cv_sharedlib_from_linklib_cmd='unknown' 8640 8641case $host_os in 8642cygwin* | mingw* | pw32* | cegcc*) 8643 # two different shell functions defined in ltmain.sh; 8644 # decide which one to use based on capabilities of $DLLTOOL 8645 case `$DLLTOOL --help 2>&1` in 8646 *--identify-strict*) 8647 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 8648 ;; 8649 *) 8650 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 8651 ;; 8652 esac 8653 ;; 8654*) 8655 # fallback: assume linklib IS sharedlib 8656 lt_cv_sharedlib_from_linklib_cmd=$ECHO 8657 ;; 8658esac 8659 8660fi 8661{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 8662$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 8663sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 8664test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 8665 8666 8667 8668 8669 8670 8671 8672if test -n "$ac_tool_prefix"; then 8673 for ac_prog in ar 8674 do 8675 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 8676set dummy $ac_tool_prefix$ac_prog; ac_word=$2 8677{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8678$as_echo_n "checking for $ac_word... " >&6; } 8679if ${ac_cv_prog_AR+:} false; then : 8680 $as_echo_n "(cached) " >&6 8681else 8682 if test -n "$AR"; then 8683 ac_cv_prog_AR="$AR" # Let the user override the test. 8684else 8685as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8686for as_dir in $PATH 8687do 8688 IFS=$as_save_IFS 8689 test -z "$as_dir" && as_dir=. 8690 for ac_exec_ext in '' $ac_executable_extensions; do 8691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8692 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 8693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8694 break 2 8695 fi 8696done 8697 done 8698IFS=$as_save_IFS 8699 8700fi 8701fi 8702AR=$ac_cv_prog_AR 8703if test -n "$AR"; then 8704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 8705$as_echo "$AR" >&6; } 8706else 8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8708$as_echo "no" >&6; } 8709fi 8710 8711 8712 test -n "$AR" && break 8713 done 8714fi 8715if test -z "$AR"; then 8716 ac_ct_AR=$AR 8717 for ac_prog in ar 8718do 8719 # Extract the first word of "$ac_prog", so it can be a program name with args. 8720set dummy $ac_prog; ac_word=$2 8721{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8722$as_echo_n "checking for $ac_word... " >&6; } 8723if ${ac_cv_prog_ac_ct_AR+:} false; then : 8724 $as_echo_n "(cached) " >&6 8725else 8726 if test -n "$ac_ct_AR"; then 8727 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 8728else 8729as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8730for as_dir in $PATH 8731do 8732 IFS=$as_save_IFS 8733 test -z "$as_dir" && as_dir=. 8734 for ac_exec_ext in '' $ac_executable_extensions; do 8735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8736 ac_cv_prog_ac_ct_AR="$ac_prog" 8737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8738 break 2 8739 fi 8740done 8741 done 8742IFS=$as_save_IFS 8743 8744fi 8745fi 8746ac_ct_AR=$ac_cv_prog_ac_ct_AR 8747if test -n "$ac_ct_AR"; then 8748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 8749$as_echo "$ac_ct_AR" >&6; } 8750else 8751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8752$as_echo "no" >&6; } 8753fi 8754 8755 8756 test -n "$ac_ct_AR" && break 8757done 8758 8759 if test "x$ac_ct_AR" = x; then 8760 AR="false" 8761 else 8762 case $cross_compiling:$ac_tool_warned in 8763yes:) 8764{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8765$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8766ac_tool_warned=yes ;; 8767esac 8768 AR=$ac_ct_AR 8769 fi 8770fi 8771 8772: ${AR=ar} 8773: ${AR_FLAGS=cru} 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 8786$as_echo_n "checking for archiver @FILE support... " >&6; } 8787if ${lt_cv_ar_at_file+:} false; then : 8788 $as_echo_n "(cached) " >&6 8789else 8790 lt_cv_ar_at_file=no 8791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8792/* end confdefs.h. */ 8793 8794int 8795main () 8796{ 8797 8798 ; 8799 return 0; 8800} 8801_ACEOF 8802if ac_fn_c_try_compile "$LINENO"; then : 8803 echo conftest.$ac_objext > conftest.lst 8804 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 8805 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 8806 (eval $lt_ar_try) 2>&5 8807 ac_status=$? 8808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8809 test $ac_status = 0; } 8810 if test 0 -eq "$ac_status"; then 8811 # Ensure the archiver fails upon bogus file names. 8812 rm -f conftest.$ac_objext libconftest.a 8813 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 8814 (eval $lt_ar_try) 2>&5 8815 ac_status=$? 8816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8817 test $ac_status = 0; } 8818 if test 0 -ne "$ac_status"; then 8819 lt_cv_ar_at_file=@ 8820 fi 8821 fi 8822 rm -f conftest.* libconftest.a 8823 8824fi 8825rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8826 8827fi 8828{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 8829$as_echo "$lt_cv_ar_at_file" >&6; } 8830 8831if test no = "$lt_cv_ar_at_file"; then 8832 archiver_list_spec= 8833else 8834 archiver_list_spec=$lt_cv_ar_at_file 8835fi 8836 8837 8838 8839 8840 8841 8842 8843if test -n "$ac_tool_prefix"; then 8844 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 8845set dummy ${ac_tool_prefix}strip; ac_word=$2 8846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8847$as_echo_n "checking for $ac_word... " >&6; } 8848if ${ac_cv_prog_STRIP+:} false; then : 8849 $as_echo_n "(cached) " >&6 8850else 8851 if test -n "$STRIP"; then 8852 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 8853else 8854as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8855for as_dir in $PATH 8856do 8857 IFS=$as_save_IFS 8858 test -z "$as_dir" && as_dir=. 8859 for ac_exec_ext in '' $ac_executable_extensions; do 8860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8861 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 8862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8863 break 2 8864 fi 8865done 8866 done 8867IFS=$as_save_IFS 8868 8869fi 8870fi 8871STRIP=$ac_cv_prog_STRIP 8872if test -n "$STRIP"; then 8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 8874$as_echo "$STRIP" >&6; } 8875else 8876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8877$as_echo "no" >&6; } 8878fi 8879 8880 8881fi 8882if test -z "$ac_cv_prog_STRIP"; then 8883 ac_ct_STRIP=$STRIP 8884 # Extract the first word of "strip", so it can be a program name with args. 8885set dummy strip; ac_word=$2 8886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8887$as_echo_n "checking for $ac_word... " >&6; } 8888if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 8889 $as_echo_n "(cached) " >&6 8890else 8891 if test -n "$ac_ct_STRIP"; then 8892 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 8893else 8894as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8895for as_dir in $PATH 8896do 8897 IFS=$as_save_IFS 8898 test -z "$as_dir" && as_dir=. 8899 for ac_exec_ext in '' $ac_executable_extensions; do 8900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8901 ac_cv_prog_ac_ct_STRIP="strip" 8902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8903 break 2 8904 fi 8905done 8906 done 8907IFS=$as_save_IFS 8908 8909fi 8910fi 8911ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 8912if test -n "$ac_ct_STRIP"; then 8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 8914$as_echo "$ac_ct_STRIP" >&6; } 8915else 8916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8917$as_echo "no" >&6; } 8918fi 8919 8920 if test "x$ac_ct_STRIP" = x; then 8921 STRIP=":" 8922 else 8923 case $cross_compiling:$ac_tool_warned in 8924yes:) 8925{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8926$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8927ac_tool_warned=yes ;; 8928esac 8929 STRIP=$ac_ct_STRIP 8930 fi 8931else 8932 STRIP="$ac_cv_prog_STRIP" 8933fi 8934 8935test -z "$STRIP" && STRIP=: 8936 8937 8938 8939 8940 8941 8942if test -n "$ac_tool_prefix"; then 8943 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 8944set dummy ${ac_tool_prefix}ranlib; ac_word=$2 8945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8946$as_echo_n "checking for $ac_word... " >&6; } 8947if ${ac_cv_prog_RANLIB+:} false; then : 8948 $as_echo_n "(cached) " >&6 8949else 8950 if test -n "$RANLIB"; then 8951 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 8952else 8953as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8954for as_dir in $PATH 8955do 8956 IFS=$as_save_IFS 8957 test -z "$as_dir" && as_dir=. 8958 for ac_exec_ext in '' $ac_executable_extensions; do 8959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8960 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 8961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8962 break 2 8963 fi 8964done 8965 done 8966IFS=$as_save_IFS 8967 8968fi 8969fi 8970RANLIB=$ac_cv_prog_RANLIB 8971if test -n "$RANLIB"; then 8972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 8973$as_echo "$RANLIB" >&6; } 8974else 8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8976$as_echo "no" >&6; } 8977fi 8978 8979 8980fi 8981if test -z "$ac_cv_prog_RANLIB"; then 8982 ac_ct_RANLIB=$RANLIB 8983 # Extract the first word of "ranlib", so it can be a program name with args. 8984set dummy ranlib; ac_word=$2 8985{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8986$as_echo_n "checking for $ac_word... " >&6; } 8987if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 8988 $as_echo_n "(cached) " >&6 8989else 8990 if test -n "$ac_ct_RANLIB"; then 8991 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 8992else 8993as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8994for as_dir in $PATH 8995do 8996 IFS=$as_save_IFS 8997 test -z "$as_dir" && as_dir=. 8998 for ac_exec_ext in '' $ac_executable_extensions; do 8999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9000 ac_cv_prog_ac_ct_RANLIB="ranlib" 9001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9002 break 2 9003 fi 9004done 9005 done 9006IFS=$as_save_IFS 9007 9008fi 9009fi 9010ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 9011if test -n "$ac_ct_RANLIB"; then 9012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 9013$as_echo "$ac_ct_RANLIB" >&6; } 9014else 9015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9016$as_echo "no" >&6; } 9017fi 9018 9019 if test "x$ac_ct_RANLIB" = x; then 9020 RANLIB=":" 9021 else 9022 case $cross_compiling:$ac_tool_warned in 9023yes:) 9024{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9025$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9026ac_tool_warned=yes ;; 9027esac 9028 RANLIB=$ac_ct_RANLIB 9029 fi 9030else 9031 RANLIB="$ac_cv_prog_RANLIB" 9032fi 9033 9034test -z "$RANLIB" && RANLIB=: 9035 9036 9037 9038 9039 9040 9041# Determine commands to create old-style static archives. 9042old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 9043old_postinstall_cmds='chmod 644 $oldlib' 9044old_postuninstall_cmds= 9045 9046if test -n "$RANLIB"; then 9047 case $host_os in 9048 bitrig* | openbsd*) 9049 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 9050 ;; 9051 *) 9052 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 9053 ;; 9054 esac 9055 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 9056fi 9057 9058case $host_os in 9059 darwin*) 9060 lock_old_archive_extraction=yes ;; 9061 *) 9062 lock_old_archive_extraction=no ;; 9063esac 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103# If no C compiler was specified, use CC. 9104LTCC=${LTCC-"$CC"} 9105 9106# If no C compiler flags were specified, use CFLAGS. 9107LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 9108 9109# Allow CC to be a program name with arguments. 9110compiler=$CC 9111 9112 9113# Check for command to grab the raw symbol name followed by C symbol from nm. 9114{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 9115$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 9116if ${lt_cv_sys_global_symbol_pipe+:} false; then : 9117 $as_echo_n "(cached) " >&6 9118else 9119 9120# These are sane defaults that work on at least a few old systems. 9121# [They come from Ultrix. What could be older than Ultrix?!! ;)] 9122 9123# Character class describing NM global symbol codes. 9124symcode='[BCDEGRST]' 9125 9126# Regexp to match symbols that can be accessed directly from C. 9127sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 9128 9129# Define system-specific variables. 9130case $host_os in 9131aix*) 9132 symcode='[BCDT]' 9133 ;; 9134cygwin* | mingw* | pw32* | cegcc*) 9135 symcode='[ABCDGISTW]' 9136 ;; 9137hpux*) 9138 if test ia64 = "$host_cpu"; then 9139 symcode='[ABCDEGRST]' 9140 fi 9141 ;; 9142irix* | nonstopux*) 9143 symcode='[BCDEGRST]' 9144 ;; 9145osf*) 9146 symcode='[BCDEGQRST]' 9147 ;; 9148solaris*) 9149 symcode='[BDRT]' 9150 ;; 9151sco3.2v5*) 9152 symcode='[DT]' 9153 ;; 9154sysv4.2uw2*) 9155 symcode='[DT]' 9156 ;; 9157sysv5* | sco5v6* | unixware* | OpenUNIX*) 9158 symcode='[ABDT]' 9159 ;; 9160sysv4) 9161 symcode='[DFNSTU]' 9162 ;; 9163esac 9164 9165# If we're using GNU nm, then use its standard symbol codes. 9166case `$NM -V 2>&1` in 9167*GNU* | *'with BFD'*) 9168 symcode='[ABCDGIRSTW]' ;; 9169esac 9170 9171if test "$lt_cv_nm_interface" = "MS dumpbin"; then 9172 # Gets list of data symbols to import. 9173 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 9174 # Adjust the below global symbol transforms to fixup imported variables. 9175 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 9176 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 9177 lt_c_name_lib_hook="\ 9178 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 9179 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 9180else 9181 # Disable hooks by default. 9182 lt_cv_sys_global_symbol_to_import= 9183 lt_cdecl_hook= 9184 lt_c_name_hook= 9185 lt_c_name_lib_hook= 9186fi 9187 9188# Transform an extracted symbol line into a proper C declaration. 9189# Some systems (esp. on ia64) link data and code symbols differently, 9190# so use this general approach. 9191lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 9192$lt_cdecl_hook\ 9193" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 9194" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 9195 9196# Transform an extracted symbol line into symbol name and symbol address 9197lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 9198$lt_c_name_hook\ 9199" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 9200" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 9201 9202# Transform an extracted symbol line into symbol name with lib prefix and 9203# symbol address. 9204lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 9205$lt_c_name_lib_hook\ 9206" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 9207" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 9208" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 9209 9210# Handle CRLF in mingw tool chain 9211opt_cr= 9212case $build_os in 9213mingw*) 9214 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 9215 ;; 9216esac 9217 9218# Try without a prefix underscore, then with it. 9219for ac_symprfx in "" "_"; do 9220 9221 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 9222 symxfrm="\\1 $ac_symprfx\\2 \\2" 9223 9224 # Write the raw and C identifiers. 9225 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 9226 # Fake it for dumpbin and say T for any non-static function, 9227 # D for any global variable and I for any imported variable. 9228 # Also find C++ and __fastcall symbols from MSVC++, 9229 # which start with @ or ?. 9230 lt_cv_sys_global_symbol_pipe="$AWK '"\ 9231" {last_section=section; section=\$ 3};"\ 9232" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 9233" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 9234" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 9235" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 9236" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 9237" \$ 0!~/External *\|/{next};"\ 9238" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 9239" {if(hide[section]) next};"\ 9240" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 9241" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 9242" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 9243" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 9244" ' prfx=^$ac_symprfx" 9245 else 9246 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 9247 fi 9248 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 9249 9250 # Check to see that the pipe works correctly. 9251 pipe_works=no 9252 9253 rm -f conftest* 9254 cat > conftest.$ac_ext <<_LT_EOF 9255#ifdef __cplusplus 9256extern "C" { 9257#endif 9258char nm_test_var; 9259void nm_test_func(void); 9260void nm_test_func(void){} 9261#ifdef __cplusplus 9262} 9263#endif 9264int main(){nm_test_var='a';nm_test_func();return(0);} 9265_LT_EOF 9266 9267 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9268 (eval $ac_compile) 2>&5 9269 ac_status=$? 9270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9271 test $ac_status = 0; }; then 9272 # Now try to grab the symbols. 9273 nlist=conftest.nm 9274 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 9275 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 9276 ac_status=$? 9277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9278 test $ac_status = 0; } && test -s "$nlist"; then 9279 # Try sorting and uniquifying the output. 9280 if sort "$nlist" | uniq > "$nlist"T; then 9281 mv -f "$nlist"T "$nlist" 9282 else 9283 rm -f "$nlist"T 9284 fi 9285 9286 # Make sure that we snagged all the symbols we need. 9287 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 9288 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 9289 cat <<_LT_EOF > conftest.$ac_ext 9290/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 9291#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 9292/* DATA imports from DLLs on WIN32 can't be const, because runtime 9293 relocations are performed -- see ld's documentation on pseudo-relocs. */ 9294# define LT_DLSYM_CONST 9295#elif defined __osf__ 9296/* This system does not cope well with relocations in const data. */ 9297# define LT_DLSYM_CONST 9298#else 9299# define LT_DLSYM_CONST const 9300#endif 9301 9302#ifdef __cplusplus 9303extern "C" { 9304#endif 9305 9306_LT_EOF 9307 # Now generate the symbol file. 9308 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 9309 9310 cat <<_LT_EOF >> conftest.$ac_ext 9311 9312/* The mapping between symbol names and symbols. */ 9313LT_DLSYM_CONST struct { 9314 const char *name; 9315 void *address; 9316} 9317lt__PROGRAM__LTX_preloaded_symbols[] = 9318{ 9319 { "@PROGRAM@", (void *) 0 }, 9320_LT_EOF 9321 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 9322 cat <<\_LT_EOF >> conftest.$ac_ext 9323 {0, (void *) 0} 9324}; 9325 9326/* This works around a problem in FreeBSD linker */ 9327#ifdef FREEBSD_WORKAROUND 9328static const void *lt_preloaded_setup() { 9329 return lt__PROGRAM__LTX_preloaded_symbols; 9330} 9331#endif 9332 9333#ifdef __cplusplus 9334} 9335#endif 9336_LT_EOF 9337 # Now try linking the two files. 9338 mv conftest.$ac_objext conftstm.$ac_objext 9339 lt_globsym_save_LIBS=$LIBS 9340 lt_globsym_save_CFLAGS=$CFLAGS 9341 LIBS=conftstm.$ac_objext 9342 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 9343 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 9344 (eval $ac_link) 2>&5 9345 ac_status=$? 9346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9347 test $ac_status = 0; } && test -s conftest$ac_exeext; then 9348 pipe_works=yes 9349 fi 9350 LIBS=$lt_globsym_save_LIBS 9351 CFLAGS=$lt_globsym_save_CFLAGS 9352 else 9353 echo "cannot find nm_test_func in $nlist" >&5 9354 fi 9355 else 9356 echo "cannot find nm_test_var in $nlist" >&5 9357 fi 9358 else 9359 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 9360 fi 9361 else 9362 echo "$progname: failed program was:" >&5 9363 cat conftest.$ac_ext >&5 9364 fi 9365 rm -rf conftest* conftst* 9366 9367 # Do not use the global_symbol_pipe unless it works. 9368 if test yes = "$pipe_works"; then 9369 break 9370 else 9371 lt_cv_sys_global_symbol_pipe= 9372 fi 9373done 9374 9375fi 9376 9377if test -z "$lt_cv_sys_global_symbol_pipe"; then 9378 lt_cv_sys_global_symbol_to_cdecl= 9379fi 9380if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 9381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 9382$as_echo "failed" >&6; } 9383else 9384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 9385$as_echo "ok" >&6; } 9386fi 9387 9388# Response file support. 9389if test "$lt_cv_nm_interface" = "MS dumpbin"; then 9390 nm_file_list_spec='@' 9391elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 9392 nm_file_list_spec='@' 9393fi 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{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 9432$as_echo_n "checking for sysroot... " >&6; } 9433 9434# Check whether --with-sysroot was given. 9435if test "${with_sysroot+set}" = set; then : 9436 withval=$with_sysroot; 9437else 9438 with_sysroot=no 9439fi 9440 9441 9442lt_sysroot= 9443case $with_sysroot in #( 9444 yes) 9445 if test yes = "$GCC"; then 9446 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 9447 fi 9448 ;; #( 9449 /*) 9450 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 9451 ;; #( 9452 no|'') 9453 ;; #( 9454 *) 9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 9456$as_echo "$with_sysroot" >&6; } 9457 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 9458 ;; 9459esac 9460 9461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 9462$as_echo "${lt_sysroot:-no}" >&6; } 9463 9464 9465 9466 9467 9468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 9469$as_echo_n "checking for a working dd... " >&6; } 9470if ${ac_cv_path_lt_DD+:} false; then : 9471 $as_echo_n "(cached) " >&6 9472else 9473 printf 0123456789abcdef0123456789abcdef >conftest.i 9474cat conftest.i conftest.i >conftest2.i 9475: ${lt_DD:=$DD} 9476if test -z "$lt_DD"; then 9477 ac_path_lt_DD_found=false 9478 # Loop through the user's path and test for each of PROGNAME-LIST 9479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9480for as_dir in $PATH 9481do 9482 IFS=$as_save_IFS 9483 test -z "$as_dir" && as_dir=. 9484 for ac_prog in dd; do 9485 for ac_exec_ext in '' $ac_executable_extensions; do 9486 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 9487 as_fn_executable_p "$ac_path_lt_DD" || continue 9488if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 9489 cmp -s conftest.i conftest.out \ 9490 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 9491fi 9492 $ac_path_lt_DD_found && break 3 9493 done 9494 done 9495 done 9496IFS=$as_save_IFS 9497 if test -z "$ac_cv_path_lt_DD"; then 9498 : 9499 fi 9500else 9501 ac_cv_path_lt_DD=$lt_DD 9502fi 9503 9504rm -f conftest.i conftest2.i conftest.out 9505fi 9506{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 9507$as_echo "$ac_cv_path_lt_DD" >&6; } 9508 9509 9510{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 9511$as_echo_n "checking how to truncate binary pipes... " >&6; } 9512if ${lt_cv_truncate_bin+:} false; then : 9513 $as_echo_n "(cached) " >&6 9514else 9515 printf 0123456789abcdef0123456789abcdef >conftest.i 9516cat conftest.i conftest.i >conftest2.i 9517lt_cv_truncate_bin= 9518if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 9519 cmp -s conftest.i conftest.out \ 9520 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 9521fi 9522rm -f conftest.i conftest2.i conftest.out 9523test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 9524fi 9525{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 9526$as_echo "$lt_cv_truncate_bin" >&6; } 9527 9528 9529 9530 9531 9532 9533 9534# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 9535func_cc_basename () 9536{ 9537 for cc_temp in $*""; do 9538 case $cc_temp in 9539 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 9540 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 9541 \-*) ;; 9542 *) break;; 9543 esac 9544 done 9545 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 9546} 9547 9548# Check whether --enable-libtool-lock was given. 9549if test "${enable_libtool_lock+set}" = set; then : 9550 enableval=$enable_libtool_lock; 9551fi 9552 9553test no = "$enable_libtool_lock" || enable_libtool_lock=yes 9554 9555# Some flags need to be propagated to the compiler or linker for good 9556# libtool support. 9557case $host in 9558ia64-*-hpux*) 9559 # Find out what ABI is being produced by ac_compile, and set mode 9560 # options accordingly. 9561 echo 'int i;' > conftest.$ac_ext 9562 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9563 (eval $ac_compile) 2>&5 9564 ac_status=$? 9565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9566 test $ac_status = 0; }; then 9567 case `/usr/bin/file conftest.$ac_objext` in 9568 *ELF-32*) 9569 HPUX_IA64_MODE=32 9570 ;; 9571 *ELF-64*) 9572 HPUX_IA64_MODE=64 9573 ;; 9574 esac 9575 fi 9576 rm -rf conftest* 9577 ;; 9578*-*-irix6*) 9579 # Find out what ABI is being produced by ac_compile, and set linker 9580 # options accordingly. 9581 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 9582 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9583 (eval $ac_compile) 2>&5 9584 ac_status=$? 9585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9586 test $ac_status = 0; }; then 9587 if test yes = "$lt_cv_prog_gnu_ld"; then 9588 case `/usr/bin/file conftest.$ac_objext` in 9589 *32-bit*) 9590 LD="${LD-ld} -melf32bsmip" 9591 ;; 9592 *N32*) 9593 LD="${LD-ld} -melf32bmipn32" 9594 ;; 9595 *64-bit*) 9596 LD="${LD-ld} -melf64bmip" 9597 ;; 9598 esac 9599 else 9600 case `/usr/bin/file conftest.$ac_objext` in 9601 *32-bit*) 9602 LD="${LD-ld} -32" 9603 ;; 9604 *N32*) 9605 LD="${LD-ld} -n32" 9606 ;; 9607 *64-bit*) 9608 LD="${LD-ld} -64" 9609 ;; 9610 esac 9611 fi 9612 fi 9613 rm -rf conftest* 9614 ;; 9615 9616mips64*-*linux*) 9617 # Find out what ABI is being produced by ac_compile, and set linker 9618 # options accordingly. 9619 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 9620 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9621 (eval $ac_compile) 2>&5 9622 ac_status=$? 9623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9624 test $ac_status = 0; }; then 9625 emul=elf 9626 case `/usr/bin/file conftest.$ac_objext` in 9627 *32-bit*) 9628 emul="${emul}32" 9629 ;; 9630 *64-bit*) 9631 emul="${emul}64" 9632 ;; 9633 esac 9634 case `/usr/bin/file conftest.$ac_objext` in 9635 *MSB*) 9636 emul="${emul}btsmip" 9637 ;; 9638 *LSB*) 9639 emul="${emul}ltsmip" 9640 ;; 9641 esac 9642 case `/usr/bin/file conftest.$ac_objext` in 9643 *N32*) 9644 emul="${emul}n32" 9645 ;; 9646 esac 9647 LD="${LD-ld} -m $emul" 9648 fi 9649 rm -rf conftest* 9650 ;; 9651 9652x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 9653s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 9654 # Find out what ABI is being produced by ac_compile, and set linker 9655 # options accordingly. Note that the listed cases only cover the 9656 # situations where additional linker options are needed (such as when 9657 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 9658 # vice versa); the common cases where no linker options are needed do 9659 # not appear in the list. 9660 echo 'int i;' > conftest.$ac_ext 9661 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9662 (eval $ac_compile) 2>&5 9663 ac_status=$? 9664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9665 test $ac_status = 0; }; then 9666 case `/usr/bin/file conftest.o` in 9667 *32-bit*) 9668 case $host in 9669 x86_64-*kfreebsd*-gnu) 9670 LD="${LD-ld} -m elf_i386_fbsd" 9671 ;; 9672 x86_64-*linux*) 9673 case `/usr/bin/file conftest.o` in 9674 *x86-64*) 9675 LD="${LD-ld} -m elf32_x86_64" 9676 ;; 9677 *) 9678 LD="${LD-ld} -m elf_i386" 9679 ;; 9680 esac 9681 ;; 9682 powerpc64le-*linux*) 9683 LD="${LD-ld} -m elf32lppclinux" 9684 ;; 9685 powerpc64-*linux*) 9686 LD="${LD-ld} -m elf32ppclinux" 9687 ;; 9688 s390x-*linux*) 9689 LD="${LD-ld} -m elf_s390" 9690 ;; 9691 sparc64-*linux*) 9692 LD="${LD-ld} -m elf32_sparc" 9693 ;; 9694 esac 9695 ;; 9696 *64-bit*) 9697 case $host in 9698 x86_64-*kfreebsd*-gnu) 9699 LD="${LD-ld} -m elf_x86_64_fbsd" 9700 ;; 9701 x86_64-*linux*) 9702 LD="${LD-ld} -m elf_x86_64" 9703 ;; 9704 powerpcle-*linux*) 9705 LD="${LD-ld} -m elf64lppc" 9706 ;; 9707 powerpc-*linux*) 9708 LD="${LD-ld} -m elf64ppc" 9709 ;; 9710 s390*-*linux*|s390*-*tpf*) 9711 LD="${LD-ld} -m elf64_s390" 9712 ;; 9713 sparc*-*linux*) 9714 LD="${LD-ld} -m elf64_sparc" 9715 ;; 9716 esac 9717 ;; 9718 esac 9719 fi 9720 rm -rf conftest* 9721 ;; 9722 9723*-*-sco3.2v5*) 9724 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 9725 SAVE_CFLAGS=$CFLAGS 9726 CFLAGS="$CFLAGS -belf" 9727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 9728$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 9729if ${lt_cv_cc_needs_belf+:} false; then : 9730 $as_echo_n "(cached) " >&6 9731else 9732 ac_ext=c 9733ac_cpp='$CPP $CPPFLAGS' 9734ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9735ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9736ac_compiler_gnu=$ac_cv_c_compiler_gnu 9737 9738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9739/* end confdefs.h. */ 9740 9741int 9742main () 9743{ 9744 9745 ; 9746 return 0; 9747} 9748_ACEOF 9749if ac_fn_c_try_link "$LINENO"; then : 9750 lt_cv_cc_needs_belf=yes 9751else 9752 lt_cv_cc_needs_belf=no 9753fi 9754rm -f core conftest.err conftest.$ac_objext \ 9755 conftest$ac_exeext conftest.$ac_ext 9756 ac_ext=c 9757ac_cpp='$CPP $CPPFLAGS' 9758ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9759ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9760ac_compiler_gnu=$ac_cv_c_compiler_gnu 9761 9762fi 9763{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 9764$as_echo "$lt_cv_cc_needs_belf" >&6; } 9765 if test yes != "$lt_cv_cc_needs_belf"; then 9766 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 9767 CFLAGS=$SAVE_CFLAGS 9768 fi 9769 ;; 9770*-*solaris*) 9771 # Find out what ABI is being produced by ac_compile, and set linker 9772 # options accordingly. 9773 echo 'int i;' > conftest.$ac_ext 9774 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9775 (eval $ac_compile) 2>&5 9776 ac_status=$? 9777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9778 test $ac_status = 0; }; then 9779 case `/usr/bin/file conftest.o` in 9780 *64-bit*) 9781 case $lt_cv_prog_gnu_ld in 9782 yes*) 9783 case $host in 9784 i?86-*-solaris*|x86_64-*-solaris*) 9785 LD="${LD-ld} -m elf_x86_64" 9786 ;; 9787 sparc*-*-solaris*) 9788 LD="${LD-ld} -m elf64_sparc" 9789 ;; 9790 esac 9791 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 9792 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 9793 LD=${LD-ld}_sol2 9794 fi 9795 ;; 9796 *) 9797 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 9798 LD="${LD-ld} -64" 9799 fi 9800 ;; 9801 esac 9802 ;; 9803 esac 9804 fi 9805 rm -rf conftest* 9806 ;; 9807esac 9808 9809need_locks=$enable_libtool_lock 9810 9811if test -n "$ac_tool_prefix"; then 9812 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 9813set dummy ${ac_tool_prefix}mt; ac_word=$2 9814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9815$as_echo_n "checking for $ac_word... " >&6; } 9816if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 9817 $as_echo_n "(cached) " >&6 9818else 9819 if test -n "$MANIFEST_TOOL"; then 9820 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 9821else 9822as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9823for as_dir in $PATH 9824do 9825 IFS=$as_save_IFS 9826 test -z "$as_dir" && as_dir=. 9827 for ac_exec_ext in '' $ac_executable_extensions; do 9828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9829 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 9830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9831 break 2 9832 fi 9833done 9834 done 9835IFS=$as_save_IFS 9836 9837fi 9838fi 9839MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 9840if test -n "$MANIFEST_TOOL"; then 9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 9842$as_echo "$MANIFEST_TOOL" >&6; } 9843else 9844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9845$as_echo "no" >&6; } 9846fi 9847 9848 9849fi 9850if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 9851 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 9852 # Extract the first word of "mt", so it can be a program name with args. 9853set dummy mt; ac_word=$2 9854{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9855$as_echo_n "checking for $ac_word... " >&6; } 9856if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 9857 $as_echo_n "(cached) " >&6 9858else 9859 if test -n "$ac_ct_MANIFEST_TOOL"; then 9860 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 9861else 9862as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9863for as_dir in $PATH 9864do 9865 IFS=$as_save_IFS 9866 test -z "$as_dir" && as_dir=. 9867 for ac_exec_ext in '' $ac_executable_extensions; do 9868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9869 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 9870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9871 break 2 9872 fi 9873done 9874 done 9875IFS=$as_save_IFS 9876 9877fi 9878fi 9879ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 9880if test -n "$ac_ct_MANIFEST_TOOL"; then 9881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 9882$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 9883else 9884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9885$as_echo "no" >&6; } 9886fi 9887 9888 if test "x$ac_ct_MANIFEST_TOOL" = x; then 9889 MANIFEST_TOOL=":" 9890 else 9891 case $cross_compiling:$ac_tool_warned in 9892yes:) 9893{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9894$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9895ac_tool_warned=yes ;; 9896esac 9897 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 9898 fi 9899else 9900 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 9901fi 9902 9903test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 9904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 9905$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 9906if ${lt_cv_path_mainfest_tool+:} false; then : 9907 $as_echo_n "(cached) " >&6 9908else 9909 lt_cv_path_mainfest_tool=no 9910 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 9911 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 9912 cat conftest.err >&5 9913 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 9914 lt_cv_path_mainfest_tool=yes 9915 fi 9916 rm -f conftest* 9917fi 9918{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 9919$as_echo "$lt_cv_path_mainfest_tool" >&6; } 9920if test yes != "$lt_cv_path_mainfest_tool"; then 9921 MANIFEST_TOOL=: 9922fi 9923 9924 9925 9926 9927 9928 9929 case $host_os in 9930 rhapsody* | darwin*) 9931 if test -n "$ac_tool_prefix"; then 9932 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 9933set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 9934{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9935$as_echo_n "checking for $ac_word... " >&6; } 9936if ${ac_cv_prog_DSYMUTIL+:} false; then : 9937 $as_echo_n "(cached) " >&6 9938else 9939 if test -n "$DSYMUTIL"; then 9940 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 9941else 9942as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9943for as_dir in $PATH 9944do 9945 IFS=$as_save_IFS 9946 test -z "$as_dir" && as_dir=. 9947 for ac_exec_ext in '' $ac_executable_extensions; do 9948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9949 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 9950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9951 break 2 9952 fi 9953done 9954 done 9955IFS=$as_save_IFS 9956 9957fi 9958fi 9959DSYMUTIL=$ac_cv_prog_DSYMUTIL 9960if test -n "$DSYMUTIL"; then 9961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 9962$as_echo "$DSYMUTIL" >&6; } 9963else 9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9965$as_echo "no" >&6; } 9966fi 9967 9968 9969fi 9970if test -z "$ac_cv_prog_DSYMUTIL"; then 9971 ac_ct_DSYMUTIL=$DSYMUTIL 9972 # Extract the first word of "dsymutil", so it can be a program name with args. 9973set dummy dsymutil; ac_word=$2 9974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9975$as_echo_n "checking for $ac_word... " >&6; } 9976if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 9977 $as_echo_n "(cached) " >&6 9978else 9979 if test -n "$ac_ct_DSYMUTIL"; then 9980 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 9981else 9982as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9983for as_dir in $PATH 9984do 9985 IFS=$as_save_IFS 9986 test -z "$as_dir" && as_dir=. 9987 for ac_exec_ext in '' $ac_executable_extensions; do 9988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9989 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 9990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9991 break 2 9992 fi 9993done 9994 done 9995IFS=$as_save_IFS 9996 9997fi 9998fi 9999ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 10000if test -n "$ac_ct_DSYMUTIL"; then 10001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 10002$as_echo "$ac_ct_DSYMUTIL" >&6; } 10003else 10004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10005$as_echo "no" >&6; } 10006fi 10007 10008 if test "x$ac_ct_DSYMUTIL" = x; then 10009 DSYMUTIL=":" 10010 else 10011 case $cross_compiling:$ac_tool_warned in 10012yes:) 10013{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 10014$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 10015ac_tool_warned=yes ;; 10016esac 10017 DSYMUTIL=$ac_ct_DSYMUTIL 10018 fi 10019else 10020 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 10021fi 10022 10023 if test -n "$ac_tool_prefix"; then 10024 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 10025set dummy ${ac_tool_prefix}nmedit; ac_word=$2 10026{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10027$as_echo_n "checking for $ac_word... " >&6; } 10028if ${ac_cv_prog_NMEDIT+:} false; then : 10029 $as_echo_n "(cached) " >&6 10030else 10031 if test -n "$NMEDIT"; then 10032 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 10033else 10034as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10035for as_dir in $PATH 10036do 10037 IFS=$as_save_IFS 10038 test -z "$as_dir" && as_dir=. 10039 for ac_exec_ext in '' $ac_executable_extensions; do 10040 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10041 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 10042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10043 break 2 10044 fi 10045done 10046 done 10047IFS=$as_save_IFS 10048 10049fi 10050fi 10051NMEDIT=$ac_cv_prog_NMEDIT 10052if test -n "$NMEDIT"; then 10053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 10054$as_echo "$NMEDIT" >&6; } 10055else 10056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10057$as_echo "no" >&6; } 10058fi 10059 10060 10061fi 10062if test -z "$ac_cv_prog_NMEDIT"; then 10063 ac_ct_NMEDIT=$NMEDIT 10064 # Extract the first word of "nmedit", so it can be a program name with args. 10065set dummy nmedit; ac_word=$2 10066{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10067$as_echo_n "checking for $ac_word... " >&6; } 10068if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 10069 $as_echo_n "(cached) " >&6 10070else 10071 if test -n "$ac_ct_NMEDIT"; then 10072 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 10073else 10074as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10075for as_dir in $PATH 10076do 10077 IFS=$as_save_IFS 10078 test -z "$as_dir" && as_dir=. 10079 for ac_exec_ext in '' $ac_executable_extensions; do 10080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10081 ac_cv_prog_ac_ct_NMEDIT="nmedit" 10082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10083 break 2 10084 fi 10085done 10086 done 10087IFS=$as_save_IFS 10088 10089fi 10090fi 10091ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 10092if test -n "$ac_ct_NMEDIT"; then 10093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 10094$as_echo "$ac_ct_NMEDIT" >&6; } 10095else 10096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10097$as_echo "no" >&6; } 10098fi 10099 10100 if test "x$ac_ct_NMEDIT" = x; then 10101 NMEDIT=":" 10102 else 10103 case $cross_compiling:$ac_tool_warned in 10104yes:) 10105{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 10106$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 10107ac_tool_warned=yes ;; 10108esac 10109 NMEDIT=$ac_ct_NMEDIT 10110 fi 10111else 10112 NMEDIT="$ac_cv_prog_NMEDIT" 10113fi 10114 10115 if test -n "$ac_tool_prefix"; then 10116 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 10117set dummy ${ac_tool_prefix}lipo; ac_word=$2 10118{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10119$as_echo_n "checking for $ac_word... " >&6; } 10120if ${ac_cv_prog_LIPO+:} false; then : 10121 $as_echo_n "(cached) " >&6 10122else 10123 if test -n "$LIPO"; then 10124 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 10125else 10126as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10127for as_dir in $PATH 10128do 10129 IFS=$as_save_IFS 10130 test -z "$as_dir" && as_dir=. 10131 for ac_exec_ext in '' $ac_executable_extensions; do 10132 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10133 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 10134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10135 break 2 10136 fi 10137done 10138 done 10139IFS=$as_save_IFS 10140 10141fi 10142fi 10143LIPO=$ac_cv_prog_LIPO 10144if test -n "$LIPO"; then 10145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 10146$as_echo "$LIPO" >&6; } 10147else 10148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10149$as_echo "no" >&6; } 10150fi 10151 10152 10153fi 10154if test -z "$ac_cv_prog_LIPO"; then 10155 ac_ct_LIPO=$LIPO 10156 # Extract the first word of "lipo", so it can be a program name with args. 10157set dummy lipo; ac_word=$2 10158{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10159$as_echo_n "checking for $ac_word... " >&6; } 10160if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 10161 $as_echo_n "(cached) " >&6 10162else 10163 if test -n "$ac_ct_LIPO"; then 10164 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 10165else 10166as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10167for as_dir in $PATH 10168do 10169 IFS=$as_save_IFS 10170 test -z "$as_dir" && as_dir=. 10171 for ac_exec_ext in '' $ac_executable_extensions; do 10172 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10173 ac_cv_prog_ac_ct_LIPO="lipo" 10174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10175 break 2 10176 fi 10177done 10178 done 10179IFS=$as_save_IFS 10180 10181fi 10182fi 10183ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 10184if test -n "$ac_ct_LIPO"; then 10185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 10186$as_echo "$ac_ct_LIPO" >&6; } 10187else 10188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10189$as_echo "no" >&6; } 10190fi 10191 10192 if test "x$ac_ct_LIPO" = x; then 10193 LIPO=":" 10194 else 10195 case $cross_compiling:$ac_tool_warned in 10196yes:) 10197{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 10198$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 10199ac_tool_warned=yes ;; 10200esac 10201 LIPO=$ac_ct_LIPO 10202 fi 10203else 10204 LIPO="$ac_cv_prog_LIPO" 10205fi 10206 10207 if test -n "$ac_tool_prefix"; then 10208 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 10209set dummy ${ac_tool_prefix}otool; ac_word=$2 10210{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10211$as_echo_n "checking for $ac_word... " >&6; } 10212if ${ac_cv_prog_OTOOL+:} false; then : 10213 $as_echo_n "(cached) " >&6 10214else 10215 if test -n "$OTOOL"; then 10216 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 10217else 10218as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10219for as_dir in $PATH 10220do 10221 IFS=$as_save_IFS 10222 test -z "$as_dir" && as_dir=. 10223 for ac_exec_ext in '' $ac_executable_extensions; do 10224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10225 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 10226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10227 break 2 10228 fi 10229done 10230 done 10231IFS=$as_save_IFS 10232 10233fi 10234fi 10235OTOOL=$ac_cv_prog_OTOOL 10236if test -n "$OTOOL"; then 10237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 10238$as_echo "$OTOOL" >&6; } 10239else 10240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10241$as_echo "no" >&6; } 10242fi 10243 10244 10245fi 10246if test -z "$ac_cv_prog_OTOOL"; then 10247 ac_ct_OTOOL=$OTOOL 10248 # Extract the first word of "otool", so it can be a program name with args. 10249set dummy otool; ac_word=$2 10250{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10251$as_echo_n "checking for $ac_word... " >&6; } 10252if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 10253 $as_echo_n "(cached) " >&6 10254else 10255 if test -n "$ac_ct_OTOOL"; then 10256 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 10257else 10258as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10259for as_dir in $PATH 10260do 10261 IFS=$as_save_IFS 10262 test -z "$as_dir" && as_dir=. 10263 for ac_exec_ext in '' $ac_executable_extensions; do 10264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10265 ac_cv_prog_ac_ct_OTOOL="otool" 10266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10267 break 2 10268 fi 10269done 10270 done 10271IFS=$as_save_IFS 10272 10273fi 10274fi 10275ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 10276if test -n "$ac_ct_OTOOL"; then 10277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 10278$as_echo "$ac_ct_OTOOL" >&6; } 10279else 10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10281$as_echo "no" >&6; } 10282fi 10283 10284 if test "x$ac_ct_OTOOL" = x; then 10285 OTOOL=":" 10286 else 10287 case $cross_compiling:$ac_tool_warned in 10288yes:) 10289{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 10290$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 10291ac_tool_warned=yes ;; 10292esac 10293 OTOOL=$ac_ct_OTOOL 10294 fi 10295else 10296 OTOOL="$ac_cv_prog_OTOOL" 10297fi 10298 10299 if test -n "$ac_tool_prefix"; then 10300 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 10301set dummy ${ac_tool_prefix}otool64; ac_word=$2 10302{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10303$as_echo_n "checking for $ac_word... " >&6; } 10304if ${ac_cv_prog_OTOOL64+:} false; then : 10305 $as_echo_n "(cached) " >&6 10306else 10307 if test -n "$OTOOL64"; then 10308 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 10309else 10310as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10311for as_dir in $PATH 10312do 10313 IFS=$as_save_IFS 10314 test -z "$as_dir" && as_dir=. 10315 for ac_exec_ext in '' $ac_executable_extensions; do 10316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10317 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 10318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10319 break 2 10320 fi 10321done 10322 done 10323IFS=$as_save_IFS 10324 10325fi 10326fi 10327OTOOL64=$ac_cv_prog_OTOOL64 10328if test -n "$OTOOL64"; then 10329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 10330$as_echo "$OTOOL64" >&6; } 10331else 10332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10333$as_echo "no" >&6; } 10334fi 10335 10336 10337fi 10338if test -z "$ac_cv_prog_OTOOL64"; then 10339 ac_ct_OTOOL64=$OTOOL64 10340 # Extract the first word of "otool64", so it can be a program name with args. 10341set dummy otool64; ac_word=$2 10342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10343$as_echo_n "checking for $ac_word... " >&6; } 10344if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 10345 $as_echo_n "(cached) " >&6 10346else 10347 if test -n "$ac_ct_OTOOL64"; then 10348 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 10349else 10350as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10351for as_dir in $PATH 10352do 10353 IFS=$as_save_IFS 10354 test -z "$as_dir" && as_dir=. 10355 for ac_exec_ext in '' $ac_executable_extensions; do 10356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10357 ac_cv_prog_ac_ct_OTOOL64="otool64" 10358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10359 break 2 10360 fi 10361done 10362 done 10363IFS=$as_save_IFS 10364 10365fi 10366fi 10367ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 10368if test -n "$ac_ct_OTOOL64"; then 10369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 10370$as_echo "$ac_ct_OTOOL64" >&6; } 10371else 10372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10373$as_echo "no" >&6; } 10374fi 10375 10376 if test "x$ac_ct_OTOOL64" = x; then 10377 OTOOL64=":" 10378 else 10379 case $cross_compiling:$ac_tool_warned in 10380yes:) 10381{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 10382$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 10383ac_tool_warned=yes ;; 10384esac 10385 OTOOL64=$ac_ct_OTOOL64 10386 fi 10387else 10388 OTOOL64="$ac_cv_prog_OTOOL64" 10389fi 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 10418$as_echo_n "checking for -single_module linker flag... " >&6; } 10419if ${lt_cv_apple_cc_single_mod+:} false; then : 10420 $as_echo_n "(cached) " >&6 10421else 10422 lt_cv_apple_cc_single_mod=no 10423 if test -z "$LT_MULTI_MODULE"; then 10424 # By default we will add the -single_module flag. You can override 10425 # by either setting the environment variable LT_MULTI_MODULE 10426 # non-empty at configure time, or by adding -multi_module to the 10427 # link flags. 10428 rm -rf libconftest.dylib* 10429 echo "int foo(void){return 1;}" > conftest.c 10430 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 10431-dynamiclib -Wl,-single_module conftest.c" >&5 10432 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 10433 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 10434 _lt_result=$? 10435 # If there is a non-empty error log, and "single_module" 10436 # appears in it, assume the flag caused a linker warning 10437 if test -s conftest.err && $GREP single_module conftest.err; then 10438 cat conftest.err >&5 10439 # Otherwise, if the output was created with a 0 exit code from 10440 # the compiler, it worked. 10441 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 10442 lt_cv_apple_cc_single_mod=yes 10443 else 10444 cat conftest.err >&5 10445 fi 10446 rm -rf libconftest.dylib* 10447 rm -f conftest.* 10448 fi 10449fi 10450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 10451$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 10452 10453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 10454$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 10455if ${lt_cv_ld_exported_symbols_list+:} false; then : 10456 $as_echo_n "(cached) " >&6 10457else 10458 lt_cv_ld_exported_symbols_list=no 10459 save_LDFLAGS=$LDFLAGS 10460 echo "_main" > conftest.sym 10461 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 10462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10463/* end confdefs.h. */ 10464 10465int 10466main () 10467{ 10468 10469 ; 10470 return 0; 10471} 10472_ACEOF 10473if ac_fn_c_try_link "$LINENO"; then : 10474 lt_cv_ld_exported_symbols_list=yes 10475else 10476 lt_cv_ld_exported_symbols_list=no 10477fi 10478rm -f core conftest.err conftest.$ac_objext \ 10479 conftest$ac_exeext conftest.$ac_ext 10480 LDFLAGS=$save_LDFLAGS 10481 10482fi 10483{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 10484$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 10485 10486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 10487$as_echo_n "checking for -force_load linker flag... " >&6; } 10488if ${lt_cv_ld_force_load+:} false; then : 10489 $as_echo_n "(cached) " >&6 10490else 10491 lt_cv_ld_force_load=no 10492 cat > conftest.c << _LT_EOF 10493int forced_loaded() { return 2;} 10494_LT_EOF 10495 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 10496 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 10497 echo "$AR cru libconftest.a conftest.o" >&5 10498 $AR cru libconftest.a conftest.o 2>&5 10499 echo "$RANLIB libconftest.a" >&5 10500 $RANLIB libconftest.a 2>&5 10501 cat > conftest.c << _LT_EOF 10502int main() { return 0;} 10503_LT_EOF 10504 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 10505 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 10506 _lt_result=$? 10507 if test -s conftest.err && $GREP force_load conftest.err; then 10508 cat conftest.err >&5 10509 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 10510 lt_cv_ld_force_load=yes 10511 else 10512 cat conftest.err >&5 10513 fi 10514 rm -f conftest.err libconftest.a conftest conftest.c 10515 rm -rf conftest.dSYM 10516 10517fi 10518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 10519$as_echo "$lt_cv_ld_force_load" >&6; } 10520 case $host_os in 10521 rhapsody* | darwin1.[012]) 10522 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 10523 darwin1.*) 10524 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 10525 darwin*) # darwin 5.x on 10526 # if running on 10.5 or later, the deployment target defaults 10527 # to the OS version, if on x86, and 10.4, the deployment 10528 # target defaults to 10.4. Don't you love it? 10529 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 10530 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 10531 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 10532 10.[012][,.]*) 10533 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 10534 10.*) 10535 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 10536 esac 10537 ;; 10538 esac 10539 if test yes = "$lt_cv_apple_cc_single_mod"; then 10540 _lt_dar_single_mod='$single_module' 10541 fi 10542 if test yes = "$lt_cv_ld_exported_symbols_list"; then 10543 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 10544 else 10545 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 10546 fi 10547 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 10548 _lt_dsymutil='~$DSYMUTIL $lib || :' 10549 else 10550 _lt_dsymutil= 10551 fi 10552 ;; 10553 esac 10554 10555# func_munge_path_list VARIABLE PATH 10556# ----------------------------------- 10557# VARIABLE is name of variable containing _space_ separated list of 10558# directories to be munged by the contents of PATH, which is string 10559# having a format: 10560# "DIR[:DIR]:" 10561# string "DIR[ DIR]" will be prepended to VARIABLE 10562# ":DIR[:DIR]" 10563# string "DIR[ DIR]" will be appended to VARIABLE 10564# "DIRP[:DIRP]::[DIRA:]DIRA" 10565# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 10566# "DIRA[ DIRA]" will be appended to VARIABLE 10567# "DIR[:DIR]" 10568# VARIABLE will be replaced by "DIR[ DIR]" 10569func_munge_path_list () 10570{ 10571 case x$2 in 10572 x) 10573 ;; 10574 *:) 10575 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 10576 ;; 10577 x:*) 10578 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 10579 ;; 10580 *::*) 10581 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 10582 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 10583 ;; 10584 *) 10585 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 10586 ;; 10587 esac 10588} 10589 10590for ac_header in dlfcn.h 10591do : 10592 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 10593" 10594if test "x$ac_cv_header_dlfcn_h" = xyes; then : 10595 cat >>confdefs.h <<_ACEOF 10596#define HAVE_DLFCN_H 1 10597_ACEOF 10598 10599fi 10600 10601done 10602 10603 10604 10605 10606 10607# Set options 10608 10609 10610 10611 enable_dlopen=no 10612 10613 10614 enable_win32_dll=no 10615 10616 10617 # Check whether --enable-shared was given. 10618if test "${enable_shared+set}" = set; then : 10619 enableval=$enable_shared; p=${PACKAGE-default} 10620 case $enableval in 10621 yes) enable_shared=yes ;; 10622 no) enable_shared=no ;; 10623 *) 10624 enable_shared=no 10625 # Look at the argument we got. We use all the common list separators. 10626 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 10627 for pkg in $enableval; do 10628 IFS=$lt_save_ifs 10629 if test "X$pkg" = "X$p"; then 10630 enable_shared=yes 10631 fi 10632 done 10633 IFS=$lt_save_ifs 10634 ;; 10635 esac 10636else 10637 enable_shared=yes 10638fi 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 # Check whether --enable-static was given. 10649if test "${enable_static+set}" = set; then : 10650 enableval=$enable_static; p=${PACKAGE-default} 10651 case $enableval in 10652 yes) enable_static=yes ;; 10653 no) enable_static=no ;; 10654 *) 10655 enable_static=no 10656 # Look at the argument we got. We use all the common list separators. 10657 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 10658 for pkg in $enableval; do 10659 IFS=$lt_save_ifs 10660 if test "X$pkg" = "X$p"; then 10661 enable_static=yes 10662 fi 10663 done 10664 IFS=$lt_save_ifs 10665 ;; 10666 esac 10667else 10668 enable_static=yes 10669fi 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680# Check whether --with-pic was given. 10681if test "${with_pic+set}" = set; then : 10682 withval=$with_pic; lt_p=${PACKAGE-default} 10683 case $withval in 10684 yes|no) pic_mode=$withval ;; 10685 *) 10686 pic_mode=default 10687 # Look at the argument we got. We use all the common list separators. 10688 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 10689 for lt_pkg in $withval; do 10690 IFS=$lt_save_ifs 10691 if test "X$lt_pkg" = "X$lt_p"; then 10692 pic_mode=yes 10693 fi 10694 done 10695 IFS=$lt_save_ifs 10696 ;; 10697 esac 10698else 10699 pic_mode=default 10700fi 10701 10702 10703 10704 10705 10706 10707 10708 10709 # Check whether --enable-fast-install was given. 10710if test "${enable_fast_install+set}" = set; then : 10711 enableval=$enable_fast_install; p=${PACKAGE-default} 10712 case $enableval in 10713 yes) enable_fast_install=yes ;; 10714 no) enable_fast_install=no ;; 10715 *) 10716 enable_fast_install=no 10717 # Look at the argument we got. We use all the common list separators. 10718 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 10719 for pkg in $enableval; do 10720 IFS=$lt_save_ifs 10721 if test "X$pkg" = "X$p"; then 10722 enable_fast_install=yes 10723 fi 10724 done 10725 IFS=$lt_save_ifs 10726 ;; 10727 esac 10728else 10729 enable_fast_install=yes 10730fi 10731 10732 10733 10734 10735 10736 10737 10738 10739 shared_archive_member_spec= 10740case $host,$enable_shared in 10741power*-*-aix[5-9]*,yes) 10742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 10743$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 10744 10745# Check whether --with-aix-soname was given. 10746if test "${with_aix_soname+set}" = set; then : 10747 withval=$with_aix_soname; case $withval in 10748 aix|svr4|both) 10749 ;; 10750 *) 10751 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 10752 ;; 10753 esac 10754 lt_cv_with_aix_soname=$with_aix_soname 10755else 10756 if ${lt_cv_with_aix_soname+:} false; then : 10757 $as_echo_n "(cached) " >&6 10758else 10759 lt_cv_with_aix_soname=aix 10760fi 10761 10762 with_aix_soname=$lt_cv_with_aix_soname 10763fi 10764 10765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 10766$as_echo "$with_aix_soname" >&6; } 10767 if test aix != "$with_aix_soname"; then 10768 # For the AIX way of multilib, we name the shared archive member 10769 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 10770 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 10771 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 10772 # the AIX toolchain works better with OBJECT_MODE set (default 32). 10773 if test 64 = "${OBJECT_MODE-32}"; then 10774 shared_archive_member_spec=shr_64 10775 else 10776 shared_archive_member_spec=shr 10777 fi 10778 fi 10779 ;; 10780*) 10781 with_aix_soname=aix 10782 ;; 10783esac 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794# This can be used to rebuild libtool when needed 10795LIBTOOL_DEPS=$ltmain 10796 10797# Always use our own libtool. 10798LIBTOOL='$(SHELL) $(top_builddir)/libtool' 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829test -z "$LN_S" && LN_S="ln -s" 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844if test -n "${ZSH_VERSION+set}"; then 10845 setopt NO_GLOB_SUBST 10846fi 10847 10848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 10849$as_echo_n "checking for objdir... " >&6; } 10850if ${lt_cv_objdir+:} false; then : 10851 $as_echo_n "(cached) " >&6 10852else 10853 rm -f .libs 2>/dev/null 10854mkdir .libs 2>/dev/null 10855if test -d .libs; then 10856 lt_cv_objdir=.libs 10857else 10858 # MS-DOS does not allow filenames that begin with a dot. 10859 lt_cv_objdir=_libs 10860fi 10861rmdir .libs 2>/dev/null 10862fi 10863{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 10864$as_echo "$lt_cv_objdir" >&6; } 10865objdir=$lt_cv_objdir 10866 10867 10868 10869 10870 10871cat >>confdefs.h <<_ACEOF 10872#define LT_OBJDIR "$lt_cv_objdir/" 10873_ACEOF 10874 10875 10876 10877 10878case $host_os in 10879aix3*) 10880 # AIX sometimes has problems with the GCC collect2 program. For some 10881 # reason, if we set the COLLECT_NAMES environment variable, the problems 10882 # vanish in a puff of smoke. 10883 if test set != "${COLLECT_NAMES+set}"; then 10884 COLLECT_NAMES= 10885 export COLLECT_NAMES 10886 fi 10887 ;; 10888esac 10889 10890# Global variables: 10891ofile=libtool 10892can_build_shared=yes 10893 10894# All known linkers require a '.a' archive for static linking (except MSVC, 10895# which needs '.lib'). 10896libext=a 10897 10898with_gnu_ld=$lt_cv_prog_gnu_ld 10899 10900old_CC=$CC 10901old_CFLAGS=$CFLAGS 10902 10903# Set sane defaults for various variables 10904test -z "$CC" && CC=cc 10905test -z "$LTCC" && LTCC=$CC 10906test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 10907test -z "$LD" && LD=ld 10908test -z "$ac_objext" && ac_objext=o 10909 10910func_cc_basename $compiler 10911cc_basename=$func_cc_basename_result 10912 10913 10914# Only perform the check for file, if the check method requires it 10915test -z "$MAGIC_CMD" && MAGIC_CMD=file 10916case $deplibs_check_method in 10917file_magic*) 10918 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 10919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 10920$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 10921if ${lt_cv_path_MAGIC_CMD+:} false; then : 10922 $as_echo_n "(cached) " >&6 10923else 10924 case $MAGIC_CMD in 10925[\\/*] | ?:[\\/]*) 10926 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 10927 ;; 10928*) 10929 lt_save_MAGIC_CMD=$MAGIC_CMD 10930 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 10931 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 10932 for ac_dir in $ac_dummy; do 10933 IFS=$lt_save_ifs 10934 test -z "$ac_dir" && ac_dir=. 10935 if test -f "$ac_dir/${ac_tool_prefix}file"; then 10936 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 10937 if test -n "$file_magic_test_file"; then 10938 case $deplibs_check_method in 10939 "file_magic "*) 10940 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 10941 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 10942 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 10943 $EGREP "$file_magic_regex" > /dev/null; then 10944 : 10945 else 10946 cat <<_LT_EOF 1>&2 10947 10948*** Warning: the command libtool uses to detect shared libraries, 10949*** $file_magic_cmd, produces output that libtool cannot recognize. 10950*** The result is that libtool may fail to recognize shared libraries 10951*** as such. This will affect the creation of libtool libraries that 10952*** depend on shared libraries, but programs linked with such libtool 10953*** libraries will work regardless of this problem. Nevertheless, you 10954*** may want to report the problem to your system manager and/or to 10955*** bug-libtool@gnu.org 10956 10957_LT_EOF 10958 fi ;; 10959 esac 10960 fi 10961 break 10962 fi 10963 done 10964 IFS=$lt_save_ifs 10965 MAGIC_CMD=$lt_save_MAGIC_CMD 10966 ;; 10967esac 10968fi 10969 10970MAGIC_CMD=$lt_cv_path_MAGIC_CMD 10971if test -n "$MAGIC_CMD"; then 10972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 10973$as_echo "$MAGIC_CMD" >&6; } 10974else 10975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10976$as_echo "no" >&6; } 10977fi 10978 10979 10980 10981 10982 10983if test -z "$lt_cv_path_MAGIC_CMD"; then 10984 if test -n "$ac_tool_prefix"; then 10985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 10986$as_echo_n "checking for file... " >&6; } 10987if ${lt_cv_path_MAGIC_CMD+:} false; then : 10988 $as_echo_n "(cached) " >&6 10989else 10990 case $MAGIC_CMD in 10991[\\/*] | ?:[\\/]*) 10992 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 10993 ;; 10994*) 10995 lt_save_MAGIC_CMD=$MAGIC_CMD 10996 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 10997 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 10998 for ac_dir in $ac_dummy; do 10999 IFS=$lt_save_ifs 11000 test -z "$ac_dir" && ac_dir=. 11001 if test -f "$ac_dir/file"; then 11002 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 11003 if test -n "$file_magic_test_file"; then 11004 case $deplibs_check_method in 11005 "file_magic "*) 11006 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 11007 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 11008 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 11009 $EGREP "$file_magic_regex" > /dev/null; then 11010 : 11011 else 11012 cat <<_LT_EOF 1>&2 11013 11014*** Warning: the command libtool uses to detect shared libraries, 11015*** $file_magic_cmd, produces output that libtool cannot recognize. 11016*** The result is that libtool may fail to recognize shared libraries 11017*** as such. This will affect the creation of libtool libraries that 11018*** depend on shared libraries, but programs linked with such libtool 11019*** libraries will work regardless of this problem. Nevertheless, you 11020*** may want to report the problem to your system manager and/or to 11021*** bug-libtool@gnu.org 11022 11023_LT_EOF 11024 fi ;; 11025 esac 11026 fi 11027 break 11028 fi 11029 done 11030 IFS=$lt_save_ifs 11031 MAGIC_CMD=$lt_save_MAGIC_CMD 11032 ;; 11033esac 11034fi 11035 11036MAGIC_CMD=$lt_cv_path_MAGIC_CMD 11037if test -n "$MAGIC_CMD"; then 11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 11039$as_echo "$MAGIC_CMD" >&6; } 11040else 11041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11042$as_echo "no" >&6; } 11043fi 11044 11045 11046 else 11047 MAGIC_CMD=: 11048 fi 11049fi 11050 11051 fi 11052 ;; 11053esac 11054 11055# Use C for the default configuration in the libtool script 11056 11057lt_save_CC=$CC 11058ac_ext=c 11059ac_cpp='$CPP $CPPFLAGS' 11060ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11061ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11062ac_compiler_gnu=$ac_cv_c_compiler_gnu 11063 11064 11065# Source file extension for C test sources. 11066ac_ext=c 11067 11068# Object file extension for compiled C test sources. 11069objext=o 11070objext=$objext 11071 11072# Code to be used in simple compile tests 11073lt_simple_compile_test_code="int some_variable = 0;" 11074 11075# Code to be used in simple link tests 11076lt_simple_link_test_code='int main(){return(0);}' 11077 11078 11079 11080 11081 11082 11083 11084# If no C compiler was specified, use CC. 11085LTCC=${LTCC-"$CC"} 11086 11087# If no C compiler flags were specified, use CFLAGS. 11088LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 11089 11090# Allow CC to be a program name with arguments. 11091compiler=$CC 11092 11093# Save the default compiler, since it gets overwritten when the other 11094# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 11095compiler_DEFAULT=$CC 11096 11097# save warnings/boilerplate of simple test code 11098ac_outfile=conftest.$ac_objext 11099echo "$lt_simple_compile_test_code" >conftest.$ac_ext 11100eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 11101_lt_compiler_boilerplate=`cat conftest.err` 11102$RM conftest* 11103 11104ac_outfile=conftest.$ac_objext 11105echo "$lt_simple_link_test_code" >conftest.$ac_ext 11106eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 11107_lt_linker_boilerplate=`cat conftest.err` 11108$RM -r conftest* 11109 11110 11111## CAVEAT EMPTOR: 11112## There is no encapsulation within the following macros, do not change 11113## the running order or otherwise move them around unless you know exactly 11114## what you are doing... 11115if test -n "$compiler"; then 11116 11117lt_prog_compiler_no_builtin_flag= 11118 11119if test yes = "$GCC"; then 11120 case $cc_basename in 11121 nvcc*) 11122 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 11123 *) 11124 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 11125 esac 11126 11127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 11128$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 11129if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 11130 $as_echo_n "(cached) " >&6 11131else 11132 lt_cv_prog_compiler_rtti_exceptions=no 11133 ac_outfile=conftest.$ac_objext 11134 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11135 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 11136 # Insert the option either (1) after the last *FLAGS variable, or 11137 # (2) before a word containing "conftest.", or (3) at the end. 11138 # Note that $ac_compile itself does not contain backslashes and begins 11139 # with a dollar sign (not a hyphen), so the echo should work correctly. 11140 # The option is referenced via a variable to avoid confusing sed. 11141 lt_compile=`echo "$ac_compile" | $SED \ 11142 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 11143 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 11144 -e 's:$: $lt_compiler_flag:'` 11145 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 11146 (eval "$lt_compile" 2>conftest.err) 11147 ac_status=$? 11148 cat conftest.err >&5 11149 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11150 if (exit $ac_status) && test -s "$ac_outfile"; then 11151 # The compiler can only warn and ignore the option if not recognized 11152 # So say no if there are warnings other than the usual output. 11153 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 11154 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 11155 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 11156 lt_cv_prog_compiler_rtti_exceptions=yes 11157 fi 11158 fi 11159 $RM conftest* 11160 11161fi 11162{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 11163$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 11164 11165if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 11166 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 11167else 11168 : 11169fi 11170 11171fi 11172 11173 11174 11175 11176 11177 11178 lt_prog_compiler_wl= 11179lt_prog_compiler_pic= 11180lt_prog_compiler_static= 11181 11182 11183 if test yes = "$GCC"; then 11184 lt_prog_compiler_wl='-Wl,' 11185 lt_prog_compiler_static='-static' 11186 11187 case $host_os in 11188 aix*) 11189 # All AIX code is PIC. 11190 if test ia64 = "$host_cpu"; then 11191 # AIX 5 now supports IA64 processor 11192 lt_prog_compiler_static='-Bstatic' 11193 fi 11194 lt_prog_compiler_pic='-fPIC' 11195 ;; 11196 11197 amigaos*) 11198 case $host_cpu in 11199 powerpc) 11200 # see comment about AmigaOS4 .so support 11201 lt_prog_compiler_pic='-fPIC' 11202 ;; 11203 m68k) 11204 # FIXME: we need at least 68020 code to build shared libraries, but 11205 # adding the '-m68020' flag to GCC prevents building anything better, 11206 # like '-m68040'. 11207 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 11208 ;; 11209 esac 11210 ;; 11211 11212 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 11213 # PIC is the default for these OSes. 11214 ;; 11215 11216 mingw* | cygwin* | pw32* | os2* | cegcc*) 11217 # This hack is so that the source file can tell whether it is being 11218 # built for inclusion in a dll (and should export symbols for example). 11219 # Although the cygwin gcc ignores -fPIC, still need this for old-style 11220 # (--disable-auto-import) libraries 11221 lt_prog_compiler_pic='-DDLL_EXPORT' 11222 case $host_os in 11223 os2*) 11224 lt_prog_compiler_static='$wl-static' 11225 ;; 11226 esac 11227 ;; 11228 11229 darwin* | rhapsody*) 11230 # PIC is the default on this platform 11231 # Common symbols not allowed in MH_DYLIB files 11232 lt_prog_compiler_pic='-fno-common' 11233 ;; 11234 11235 haiku*) 11236 # PIC is the default for Haiku. 11237 # The "-static" flag exists, but is broken. 11238 lt_prog_compiler_static= 11239 ;; 11240 11241 hpux*) 11242 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 11243 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 11244 # sets the default TLS model and affects inlining. 11245 case $host_cpu in 11246 hppa*64*) 11247 # +Z the default 11248 ;; 11249 *) 11250 lt_prog_compiler_pic='-fPIC' 11251 ;; 11252 esac 11253 ;; 11254 11255 interix[3-9]*) 11256 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 11257 # Instead, we relocate shared libraries at runtime. 11258 ;; 11259 11260 msdosdjgpp*) 11261 # Just because we use GCC doesn't mean we suddenly get shared libraries 11262 # on systems that don't support them. 11263 lt_prog_compiler_can_build_shared=no 11264 enable_shared=no 11265 ;; 11266 11267 *nto* | *qnx*) 11268 # QNX uses GNU C++, but need to define -shared option too, otherwise 11269 # it will coredump. 11270 lt_prog_compiler_pic='-fPIC -shared' 11271 ;; 11272 11273 sysv4*MP*) 11274 if test -d /usr/nec; then 11275 lt_prog_compiler_pic=-Kconform_pic 11276 fi 11277 ;; 11278 11279 *) 11280 lt_prog_compiler_pic='-fPIC' 11281 ;; 11282 esac 11283 11284 case $cc_basename in 11285 nvcc*) # Cuda Compiler Driver 2.2 11286 lt_prog_compiler_wl='-Xlinker ' 11287 if test -n "$lt_prog_compiler_pic"; then 11288 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 11289 fi 11290 ;; 11291 esac 11292 else 11293 # PORTME Check for flag to pass linker flags through the system compiler. 11294 case $host_os in 11295 aix*) 11296 lt_prog_compiler_wl='-Wl,' 11297 if test ia64 = "$host_cpu"; then 11298 # AIX 5 now supports IA64 processor 11299 lt_prog_compiler_static='-Bstatic' 11300 else 11301 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 11302 fi 11303 ;; 11304 11305 darwin* | rhapsody*) 11306 # PIC is the default on this platform 11307 # Common symbols not allowed in MH_DYLIB files 11308 lt_prog_compiler_pic='-fno-common' 11309 case $cc_basename in 11310 nagfor*) 11311 # NAG Fortran compiler 11312 lt_prog_compiler_wl='-Wl,-Wl,,' 11313 lt_prog_compiler_pic='-PIC' 11314 lt_prog_compiler_static='-Bstatic' 11315 ;; 11316 esac 11317 ;; 11318 11319 mingw* | cygwin* | pw32* | os2* | cegcc*) 11320 # This hack is so that the source file can tell whether it is being 11321 # built for inclusion in a dll (and should export symbols for example). 11322 lt_prog_compiler_pic='-DDLL_EXPORT' 11323 case $host_os in 11324 os2*) 11325 lt_prog_compiler_static='$wl-static' 11326 ;; 11327 esac 11328 ;; 11329 11330 hpux9* | hpux10* | hpux11*) 11331 lt_prog_compiler_wl='-Wl,' 11332 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 11333 # not for PA HP-UX. 11334 case $host_cpu in 11335 hppa*64*|ia64*) 11336 # +Z the default 11337 ;; 11338 *) 11339 lt_prog_compiler_pic='+Z' 11340 ;; 11341 esac 11342 # Is there a better lt_prog_compiler_static that works with the bundled CC? 11343 lt_prog_compiler_static='$wl-a ${wl}archive' 11344 ;; 11345 11346 irix5* | irix6* | nonstopux*) 11347 lt_prog_compiler_wl='-Wl,' 11348 # PIC (with -KPIC) is the default. 11349 lt_prog_compiler_static='-non_shared' 11350 ;; 11351 11352 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 11353 case $cc_basename in 11354 # old Intel for x86_64, which still supported -KPIC. 11355 ecc*) 11356 lt_prog_compiler_wl='-Wl,' 11357 lt_prog_compiler_pic='-KPIC' 11358 lt_prog_compiler_static='-static' 11359 ;; 11360 # icc used to be incompatible with GCC. 11361 # ICC 10 doesn't accept -KPIC any more. 11362 icc* | ifort*) 11363 lt_prog_compiler_wl='-Wl,' 11364 lt_prog_compiler_pic='-fPIC' 11365 lt_prog_compiler_static='-static' 11366 ;; 11367 # Lahey Fortran 8.1. 11368 lf95*) 11369 lt_prog_compiler_wl='-Wl,' 11370 lt_prog_compiler_pic='--shared' 11371 lt_prog_compiler_static='--static' 11372 ;; 11373 nagfor*) 11374 # NAG Fortran compiler 11375 lt_prog_compiler_wl='-Wl,-Wl,,' 11376 lt_prog_compiler_pic='-PIC' 11377 lt_prog_compiler_static='-Bstatic' 11378 ;; 11379 tcc*) 11380 # Fabrice Bellard et al's Tiny C Compiler 11381 lt_prog_compiler_wl='-Wl,' 11382 lt_prog_compiler_pic='-fPIC' 11383 lt_prog_compiler_static='-static' 11384 ;; 11385 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 11386 # Portland Group compilers (*not* the Pentium gcc compiler, 11387 # which looks to be a dead project) 11388 lt_prog_compiler_wl='-Wl,' 11389 lt_prog_compiler_pic='-fpic' 11390 lt_prog_compiler_static='-Bstatic' 11391 ;; 11392 ccc*) 11393 lt_prog_compiler_wl='-Wl,' 11394 # All Alpha code is PIC. 11395 lt_prog_compiler_static='-non_shared' 11396 ;; 11397 xl* | bgxl* | bgf* | mpixl*) 11398 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 11399 lt_prog_compiler_wl='-Wl,' 11400 lt_prog_compiler_pic='-qpic' 11401 lt_prog_compiler_static='-qstaticlink' 11402 ;; 11403 *) 11404 case `$CC -V 2>&1 | sed 5q` in 11405 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 11406 # Sun Fortran 8.3 passes all unrecognized flags to the linker 11407 lt_prog_compiler_pic='-KPIC' 11408 lt_prog_compiler_static='-Bstatic' 11409 lt_prog_compiler_wl='' 11410 ;; 11411 *Sun\ F* | *Sun*Fortran*) 11412 lt_prog_compiler_pic='-KPIC' 11413 lt_prog_compiler_static='-Bstatic' 11414 lt_prog_compiler_wl='-Qoption ld ' 11415 ;; 11416 *Sun\ C*) 11417 # Sun C 5.9 11418 lt_prog_compiler_pic='-KPIC' 11419 lt_prog_compiler_static='-Bstatic' 11420 lt_prog_compiler_wl='-Wl,' 11421 ;; 11422 *Intel*\ [CF]*Compiler*) 11423 lt_prog_compiler_wl='-Wl,' 11424 lt_prog_compiler_pic='-fPIC' 11425 lt_prog_compiler_static='-static' 11426 ;; 11427 *Portland\ Group*) 11428 lt_prog_compiler_wl='-Wl,' 11429 lt_prog_compiler_pic='-fpic' 11430 lt_prog_compiler_static='-Bstatic' 11431 ;; 11432 esac 11433 ;; 11434 esac 11435 ;; 11436 11437 newsos6) 11438 lt_prog_compiler_pic='-KPIC' 11439 lt_prog_compiler_static='-Bstatic' 11440 ;; 11441 11442 *nto* | *qnx*) 11443 # QNX uses GNU C++, but need to define -shared option too, otherwise 11444 # it will coredump. 11445 lt_prog_compiler_pic='-fPIC -shared' 11446 ;; 11447 11448 osf3* | osf4* | osf5*) 11449 lt_prog_compiler_wl='-Wl,' 11450 # All OSF/1 code is PIC. 11451 lt_prog_compiler_static='-non_shared' 11452 ;; 11453 11454 rdos*) 11455 lt_prog_compiler_static='-non_shared' 11456 ;; 11457 11458 solaris*) 11459 lt_prog_compiler_pic='-KPIC' 11460 lt_prog_compiler_static='-Bstatic' 11461 case $cc_basename in 11462 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 11463 lt_prog_compiler_wl='-Qoption ld ';; 11464 *) 11465 lt_prog_compiler_wl='-Wl,';; 11466 esac 11467 ;; 11468 11469 sunos4*) 11470 lt_prog_compiler_wl='-Qoption ld ' 11471 lt_prog_compiler_pic='-PIC' 11472 lt_prog_compiler_static='-Bstatic' 11473 ;; 11474 11475 sysv4 | sysv4.2uw2* | sysv4.3*) 11476 lt_prog_compiler_wl='-Wl,' 11477 lt_prog_compiler_pic='-KPIC' 11478 lt_prog_compiler_static='-Bstatic' 11479 ;; 11480 11481 sysv4*MP*) 11482 if test -d /usr/nec; then 11483 lt_prog_compiler_pic='-Kconform_pic' 11484 lt_prog_compiler_static='-Bstatic' 11485 fi 11486 ;; 11487 11488 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 11489 lt_prog_compiler_wl='-Wl,' 11490 lt_prog_compiler_pic='-KPIC' 11491 lt_prog_compiler_static='-Bstatic' 11492 ;; 11493 11494 unicos*) 11495 lt_prog_compiler_wl='-Wl,' 11496 lt_prog_compiler_can_build_shared=no 11497 ;; 11498 11499 uts4*) 11500 lt_prog_compiler_pic='-pic' 11501 lt_prog_compiler_static='-Bstatic' 11502 ;; 11503 11504 *) 11505 lt_prog_compiler_can_build_shared=no 11506 ;; 11507 esac 11508 fi 11509 11510case $host_os in 11511 # For platforms that do not support PIC, -DPIC is meaningless: 11512 *djgpp*) 11513 lt_prog_compiler_pic= 11514 ;; 11515 *) 11516 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 11517 ;; 11518esac 11519 11520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 11521$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 11522if ${lt_cv_prog_compiler_pic+:} false; then : 11523 $as_echo_n "(cached) " >&6 11524else 11525 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 11526fi 11527{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 11528$as_echo "$lt_cv_prog_compiler_pic" >&6; } 11529lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 11530 11531# 11532# Check to make sure the PIC flag actually works. 11533# 11534if test -n "$lt_prog_compiler_pic"; then 11535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 11536$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 11537if ${lt_cv_prog_compiler_pic_works+:} false; then : 11538 $as_echo_n "(cached) " >&6 11539else 11540 lt_cv_prog_compiler_pic_works=no 11541 ac_outfile=conftest.$ac_objext 11542 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11543 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 11544 # Insert the option either (1) after the last *FLAGS variable, or 11545 # (2) before a word containing "conftest.", or (3) at the end. 11546 # Note that $ac_compile itself does not contain backslashes and begins 11547 # with a dollar sign (not a hyphen), so the echo should work correctly. 11548 # The option is referenced via a variable to avoid confusing sed. 11549 lt_compile=`echo "$ac_compile" | $SED \ 11550 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 11551 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 11552 -e 's:$: $lt_compiler_flag:'` 11553 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 11554 (eval "$lt_compile" 2>conftest.err) 11555 ac_status=$? 11556 cat conftest.err >&5 11557 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11558 if (exit $ac_status) && test -s "$ac_outfile"; then 11559 # The compiler can only warn and ignore the option if not recognized 11560 # So say no if there are warnings other than the usual output. 11561 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 11562 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 11563 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 11564 lt_cv_prog_compiler_pic_works=yes 11565 fi 11566 fi 11567 $RM conftest* 11568 11569fi 11570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 11571$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 11572 11573if test yes = "$lt_cv_prog_compiler_pic_works"; then 11574 case $lt_prog_compiler_pic in 11575 "" | " "*) ;; 11576 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 11577 esac 11578else 11579 lt_prog_compiler_pic= 11580 lt_prog_compiler_can_build_shared=no 11581fi 11582 11583fi 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595# 11596# Check to make sure the static flag actually works. 11597# 11598wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 11599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 11600$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 11601if ${lt_cv_prog_compiler_static_works+:} false; then : 11602 $as_echo_n "(cached) " >&6 11603else 11604 lt_cv_prog_compiler_static_works=no 11605 save_LDFLAGS=$LDFLAGS 11606 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 11607 echo "$lt_simple_link_test_code" > conftest.$ac_ext 11608 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 11609 # The linker can only warn and ignore the option if not recognized 11610 # So say no if there are warnings 11611 if test -s conftest.err; then 11612 # Append any errors to the config.log. 11613 cat conftest.err 1>&5 11614 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 11615 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 11616 if diff conftest.exp conftest.er2 >/dev/null; then 11617 lt_cv_prog_compiler_static_works=yes 11618 fi 11619 else 11620 lt_cv_prog_compiler_static_works=yes 11621 fi 11622 fi 11623 $RM -r conftest* 11624 LDFLAGS=$save_LDFLAGS 11625 11626fi 11627{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 11628$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 11629 11630if test yes = "$lt_cv_prog_compiler_static_works"; then 11631 : 11632else 11633 lt_prog_compiler_static= 11634fi 11635 11636 11637 11638 11639 11640 11641 11642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 11643$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 11644if ${lt_cv_prog_compiler_c_o+:} false; then : 11645 $as_echo_n "(cached) " >&6 11646else 11647 lt_cv_prog_compiler_c_o=no 11648 $RM -r conftest 2>/dev/null 11649 mkdir conftest 11650 cd conftest 11651 mkdir out 11652 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11653 11654 lt_compiler_flag="-o out/conftest2.$ac_objext" 11655 # Insert the option either (1) after the last *FLAGS variable, or 11656 # (2) before a word containing "conftest.", or (3) at the end. 11657 # Note that $ac_compile itself does not contain backslashes and begins 11658 # with a dollar sign (not a hyphen), so the echo should work correctly. 11659 lt_compile=`echo "$ac_compile" | $SED \ 11660 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 11661 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 11662 -e 's:$: $lt_compiler_flag:'` 11663 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 11664 (eval "$lt_compile" 2>out/conftest.err) 11665 ac_status=$? 11666 cat out/conftest.err >&5 11667 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11668 if (exit $ac_status) && test -s out/conftest2.$ac_objext 11669 then 11670 # The compiler can only warn and ignore the option if not recognized 11671 # So say no if there are warnings 11672 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 11673 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 11674 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 11675 lt_cv_prog_compiler_c_o=yes 11676 fi 11677 fi 11678 chmod u+w . 2>&5 11679 $RM conftest* 11680 # SGI C++ compiler will create directory out/ii_files/ for 11681 # template instantiation 11682 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 11683 $RM out/* && rmdir out 11684 cd .. 11685 $RM -r conftest 11686 $RM conftest* 11687 11688fi 11689{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 11690$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 11691 11692 11693 11694 11695 11696 11697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 11698$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 11699if ${lt_cv_prog_compiler_c_o+:} false; then : 11700 $as_echo_n "(cached) " >&6 11701else 11702 lt_cv_prog_compiler_c_o=no 11703 $RM -r conftest 2>/dev/null 11704 mkdir conftest 11705 cd conftest 11706 mkdir out 11707 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11708 11709 lt_compiler_flag="-o out/conftest2.$ac_objext" 11710 # Insert the option either (1) after the last *FLAGS variable, or 11711 # (2) before a word containing "conftest.", or (3) at the end. 11712 # Note that $ac_compile itself does not contain backslashes and begins 11713 # with a dollar sign (not a hyphen), so the echo should work correctly. 11714 lt_compile=`echo "$ac_compile" | $SED \ 11715 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 11716 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 11717 -e 's:$: $lt_compiler_flag:'` 11718 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 11719 (eval "$lt_compile" 2>out/conftest.err) 11720 ac_status=$? 11721 cat out/conftest.err >&5 11722 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11723 if (exit $ac_status) && test -s out/conftest2.$ac_objext 11724 then 11725 # The compiler can only warn and ignore the option if not recognized 11726 # So say no if there are warnings 11727 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 11728 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 11729 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 11730 lt_cv_prog_compiler_c_o=yes 11731 fi 11732 fi 11733 chmod u+w . 2>&5 11734 $RM conftest* 11735 # SGI C++ compiler will create directory out/ii_files/ for 11736 # template instantiation 11737 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 11738 $RM out/* && rmdir out 11739 cd .. 11740 $RM -r conftest 11741 $RM conftest* 11742 11743fi 11744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 11745$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 11746 11747 11748 11749 11750hard_links=nottested 11751if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 11752 # do not overwrite the value of need_locks provided by the user 11753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 11754$as_echo_n "checking if we can lock with hard links... " >&6; } 11755 hard_links=yes 11756 $RM conftest* 11757 ln conftest.a conftest.b 2>/dev/null && hard_links=no 11758 touch conftest.a 11759 ln conftest.a conftest.b 2>&5 || hard_links=no 11760 ln conftest.a conftest.b 2>/dev/null && hard_links=no 11761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 11762$as_echo "$hard_links" >&6; } 11763 if test no = "$hard_links"; then 11764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 11765$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 11766 need_locks=warn 11767 fi 11768else 11769 need_locks=no 11770fi 11771 11772 11773 11774 11775 11776 11777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 11778$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 11779 11780 runpath_var= 11781 allow_undefined_flag= 11782 always_export_symbols=no 11783 archive_cmds= 11784 archive_expsym_cmds= 11785 compiler_needs_object=no 11786 enable_shared_with_static_runtimes=no 11787 export_dynamic_flag_spec= 11788 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 11789 hardcode_automatic=no 11790 hardcode_direct=no 11791 hardcode_direct_absolute=no 11792 hardcode_libdir_flag_spec= 11793 hardcode_libdir_separator= 11794 hardcode_minus_L=no 11795 hardcode_shlibpath_var=unsupported 11796 inherit_rpath=no 11797 link_all_deplibs=unknown 11798 module_cmds= 11799 module_expsym_cmds= 11800 old_archive_from_new_cmds= 11801 old_archive_from_expsyms_cmds= 11802 thread_safe_flag_spec= 11803 whole_archive_flag_spec= 11804 # include_expsyms should be a list of space-separated symbols to be *always* 11805 # included in the symbol list 11806 include_expsyms= 11807 # exclude_expsyms can be an extended regexp of symbols to exclude 11808 # it will be wrapped by ' (' and ')$', so one must not match beginning or 11809 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 11810 # as well as any symbol that contains 'd'. 11811 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 11812 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 11813 # platforms (ab)use it in PIC code, but their linkers get confused if 11814 # the symbol is explicitly referenced. Since portable code cannot 11815 # rely on this symbol name, it's probably fine to never include it in 11816 # preloaded symbol tables. 11817 # Exclude shared library initialization/finalization symbols. 11818 extract_expsyms_cmds= 11819 11820 case $host_os in 11821 cygwin* | mingw* | pw32* | cegcc*) 11822 # FIXME: the MSVC++ port hasn't been tested in a loooong time 11823 # When not using gcc, we currently assume that we are using 11824 # Microsoft Visual C++. 11825 if test yes != "$GCC"; then 11826 with_gnu_ld=no 11827 fi 11828 ;; 11829 interix*) 11830 # we just hope/assume this is gcc and not c89 (= MSVC++) 11831 with_gnu_ld=yes 11832 ;; 11833 openbsd* | bitrig*) 11834 with_gnu_ld=no 11835 ;; 11836 linux* | k*bsd*-gnu | gnu*) 11837 link_all_deplibs=no 11838 ;; 11839 esac 11840 11841 ld_shlibs=yes 11842 11843 # On some targets, GNU ld is compatible enough with the native linker 11844 # that we're better off using the native interface for both. 11845 lt_use_gnu_ld_interface=no 11846 if test yes = "$with_gnu_ld"; then 11847 case $host_os in 11848 aix*) 11849 # The AIX port of GNU ld has always aspired to compatibility 11850 # with the native linker. However, as the warning in the GNU ld 11851 # block says, versions before 2.19.5* couldn't really create working 11852 # shared libraries, regardless of the interface used. 11853 case `$LD -v 2>&1` in 11854 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 11855 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 11856 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 11857 *) 11858 lt_use_gnu_ld_interface=yes 11859 ;; 11860 esac 11861 ;; 11862 *) 11863 lt_use_gnu_ld_interface=yes 11864 ;; 11865 esac 11866 fi 11867 11868 if test yes = "$lt_use_gnu_ld_interface"; then 11869 # If archive_cmds runs LD, not CC, wlarc should be empty 11870 wlarc='$wl' 11871 11872 # Set some defaults for GNU ld with shared library support. These 11873 # are reset later if shared libraries are not supported. Putting them 11874 # here allows them to be overridden if necessary. 11875 runpath_var=LD_RUN_PATH 11876 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11877 export_dynamic_flag_spec='$wl--export-dynamic' 11878 # ancient GNU ld didn't support --whole-archive et. al. 11879 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 11880 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 11881 else 11882 whole_archive_flag_spec= 11883 fi 11884 supports_anon_versioning=no 11885 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 11886 *GNU\ gold*) supports_anon_versioning=yes ;; 11887 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 11888 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 11889 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 11890 *\ 2.11.*) ;; # other 2.11 versions 11891 *) supports_anon_versioning=yes ;; 11892 esac 11893 11894 # See if GNU ld supports shared libraries. 11895 case $host_os in 11896 aix[3-9]*) 11897 # On AIX/PPC, the GNU linker is very broken 11898 if test ia64 != "$host_cpu"; then 11899 ld_shlibs=no 11900 cat <<_LT_EOF 1>&2 11901 11902*** Warning: the GNU linker, at least up to release 2.19, is reported 11903*** to be unable to reliably create shared libraries on AIX. 11904*** Therefore, libtool is disabling shared libraries support. If you 11905*** really care for shared libraries, you may want to install binutils 11906*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 11907*** You will then need to restart the configuration process. 11908 11909_LT_EOF 11910 fi 11911 ;; 11912 11913 amigaos*) 11914 case $host_cpu in 11915 powerpc) 11916 # see comment about AmigaOS4 .so support 11917 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11918 archive_expsym_cmds='' 11919 ;; 11920 m68k) 11921 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)' 11922 hardcode_libdir_flag_spec='-L$libdir' 11923 hardcode_minus_L=yes 11924 ;; 11925 esac 11926 ;; 11927 11928 beos*) 11929 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 11930 allow_undefined_flag=unsupported 11931 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 11932 # support --undefined. This deserves some investigation. FIXME 11933 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11934 else 11935 ld_shlibs=no 11936 fi 11937 ;; 11938 11939 cygwin* | mingw* | pw32* | cegcc*) 11940 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 11941 # as there is no search path for DLLs. 11942 hardcode_libdir_flag_spec='-L$libdir' 11943 export_dynamic_flag_spec='$wl--export-all-symbols' 11944 allow_undefined_flag=unsupported 11945 always_export_symbols=no 11946 enable_shared_with_static_runtimes=yes 11947 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' 11948 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 11949 11950 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 11951 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 11952 # If the export-symbols file already is a .def file, use it as 11953 # is; otherwise, prepend EXPORTS... 11954 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 11955 cp $export_symbols $output_objdir/$soname.def; 11956 else 11957 echo EXPORTS > $output_objdir/$soname.def; 11958 cat $export_symbols >> $output_objdir/$soname.def; 11959 fi~ 11960 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 11961 else 11962 ld_shlibs=no 11963 fi 11964 ;; 11965 11966 haiku*) 11967 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11968 link_all_deplibs=yes 11969 ;; 11970 11971 os2*) 11972 hardcode_libdir_flag_spec='-L$libdir' 11973 hardcode_minus_L=yes 11974 allow_undefined_flag=unsupported 11975 shrext_cmds=.dll 11976 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11977 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11978 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11979 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11980 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 11981 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11982 emximp -o $lib $output_objdir/$libname.def' 11983 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11984 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11985 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11986 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11987 prefix_cmds="$SED"~ 11988 if test EXPORTS = "`$SED 1q $export_symbols`"; then 11989 prefix_cmds="$prefix_cmds -e 1d"; 11990 fi~ 11991 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 11992 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 11993 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11994 emximp -o $lib $output_objdir/$libname.def' 11995 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 11996 enable_shared_with_static_runtimes=yes 11997 ;; 11998 11999 interix[3-9]*) 12000 hardcode_direct=no 12001 hardcode_shlibpath_var=no 12002 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 12003 export_dynamic_flag_spec='$wl-E' 12004 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 12005 # Instead, shared libraries are loaded at an image base (0x10000000 by 12006 # default) and relocated if they conflict, which is a slow very memory 12007 # consuming and fragmenting process. To avoid this, we pick a random, 12008 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 12009 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 12010 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 12011 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' 12012 ;; 12013 12014 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 12015 tmp_diet=no 12016 if test linux-dietlibc = "$host_os"; then 12017 case $cc_basename in 12018 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 12019 esac 12020 fi 12021 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 12022 && test no = "$tmp_diet" 12023 then 12024 tmp_addflag=' $pic_flag' 12025 tmp_sharedflag='-shared' 12026 case $cc_basename,$host_cpu in 12027 pgcc*) # Portland Group C compiler 12028 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' 12029 tmp_addflag=' $pic_flag' 12030 ;; 12031 pgf77* | pgf90* | pgf95* | pgfortran*) 12032 # Portland Group f77 and f90 compilers 12033 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' 12034 tmp_addflag=' $pic_flag -Mnomain' ;; 12035 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 12036 tmp_addflag=' -i_dynamic' ;; 12037 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 12038 tmp_addflag=' -i_dynamic -nofor_main' ;; 12039 ifc* | ifort*) # Intel Fortran compiler 12040 tmp_addflag=' -nofor_main' ;; 12041 lf95*) # Lahey Fortran 8.1 12042 whole_archive_flag_spec= 12043 tmp_sharedflag='--shared' ;; 12044 nagfor*) # NAGFOR 5.3 12045 tmp_sharedflag='-Wl,-shared' ;; 12046 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 12047 tmp_sharedflag='-qmkshrobj' 12048 tmp_addflag= ;; 12049 nvcc*) # Cuda Compiler Driver 2.2 12050 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' 12051 compiler_needs_object=yes 12052 ;; 12053 esac 12054 case `$CC -V 2>&1 | sed 5q` in 12055 *Sun\ C*) # Sun C 5.9 12056 whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' 12057 compiler_needs_object=yes 12058 tmp_sharedflag='-G' ;; 12059 *Sun\ F*) # Sun Fortran 8.3 12060 tmp_sharedflag='-G' ;; 12061 esac 12062 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 12063 12064 if test yes = "$supports_anon_versioning"; then 12065 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 12066 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 12067 echo "local: *; };" >> $output_objdir/$libname.ver~ 12068 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 12069 fi 12070 12071 case $cc_basename in 12072 tcc*) 12073 export_dynamic_flag_spec='-rdynamic' 12074 ;; 12075 xlf* | bgf* | bgxlf* | mpixlf*) 12076 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 12077 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 12078 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 12079 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 12080 if test yes = "$supports_anon_versioning"; then 12081 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 12082 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 12083 echo "local: *; };" >> $output_objdir/$libname.ver~ 12084 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 12085 fi 12086 ;; 12087 esac 12088 else 12089 ld_shlibs=no 12090 fi 12091 ;; 12092 12093 netbsd* | netbsdelf*-gnu) 12094 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 12095 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 12096 wlarc= 12097 else 12098 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 12099 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 12100 fi 12101 ;; 12102 12103 solaris*) 12104 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 12105 ld_shlibs=no 12106 cat <<_LT_EOF 1>&2 12107 12108*** Warning: The releases 2.8.* of the GNU linker cannot reliably 12109*** create shared libraries on Solaris systems. Therefore, libtool 12110*** is disabling shared libraries support. We urge you to upgrade GNU 12111*** binutils to release 2.9.1 or newer. Another option is to modify 12112*** your PATH or compiler configuration so that the native linker is 12113*** used, and then restart. 12114 12115_LT_EOF 12116 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 12117 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 12118 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 12119 else 12120 ld_shlibs=no 12121 fi 12122 ;; 12123 12124 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 12125 case `$LD -v 2>&1` in 12126 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 12127 ld_shlibs=no 12128 cat <<_LT_EOF 1>&2 12129 12130*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 12131*** reliably create shared libraries on SCO systems. Therefore, libtool 12132*** is disabling shared libraries support. We urge you to upgrade GNU 12133*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 12134*** your PATH or compiler configuration so that the native linker is 12135*** used, and then restart. 12136 12137_LT_EOF 12138 ;; 12139 *) 12140 # For security reasons, it is highly recommended that you always 12141 # use absolute paths for naming shared libraries, and exclude the 12142 # DT_RUNPATH tag from executables and libraries. But doing so 12143 # requires that you compile everything twice, which is a pain. 12144 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 12145 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 12146 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 12147 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 12148 else 12149 ld_shlibs=no 12150 fi 12151 ;; 12152 esac 12153 ;; 12154 12155 sunos4*) 12156 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 12157 wlarc= 12158 hardcode_direct=yes 12159 hardcode_shlibpath_var=no 12160 ;; 12161 12162 *) 12163 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 12164 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 12165 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 12166 else 12167 ld_shlibs=no 12168 fi 12169 ;; 12170 esac 12171 12172 if test no = "$ld_shlibs"; then 12173 runpath_var= 12174 hardcode_libdir_flag_spec= 12175 export_dynamic_flag_spec= 12176 whole_archive_flag_spec= 12177 fi 12178 else 12179 # PORTME fill in a description of your system's linker (not GNU ld) 12180 case $host_os in 12181 aix3*) 12182 allow_undefined_flag=unsupported 12183 always_export_symbols=yes 12184 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' 12185 # Note: this linker hardcodes the directories in LIBPATH if there 12186 # are no directories specified by -L. 12187 hardcode_minus_L=yes 12188 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 12189 # Neither direct hardcoding nor static linking is supported with a 12190 # broken collect2. 12191 hardcode_direct=unsupported 12192 fi 12193 ;; 12194 12195 aix[4-9]*) 12196 if test ia64 = "$host_cpu"; then 12197 # On IA64, the linker does run time linking by default, so we don't 12198 # have to do anything special. 12199 aix_use_runtimelinking=no 12200 exp_sym_flag='-Bexport' 12201 no_entry_flag= 12202 else 12203 # If we're using GNU nm, then we don't want the "-C" option. 12204 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 12205 # Without the "-l" option, or with the "-B" option, AIX nm treats 12206 # weak defined symbols like other global defined symbols, whereas 12207 # GNU nm marks them as "W". 12208 # While the 'weak' keyword is ignored in the Export File, we need 12209 # it in the Import File for the 'aix-soname' feature, so we have 12210 # to replace the "-B" option with "-P" for AIX nm. 12211 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 12212 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' 12213 else 12214 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' 12215 fi 12216 aix_use_runtimelinking=no 12217 12218 # Test if we are trying to use run time linking or normal 12219 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 12220 # have runtime linking enabled, and use it for executables. 12221 # For shared libraries, we enable/disable runtime linking 12222 # depending on the kind of the shared library created - 12223 # when "with_aix_soname,aix_use_runtimelinking" is: 12224 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 12225 # "aix,yes" lib.so shared, rtl:yes, for executables 12226 # lib.a static archive 12227 # "both,no" lib.so.V(shr.o) shared, rtl:yes 12228 # lib.a(lib.so.V) shared, rtl:no, for executables 12229 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 12230 # lib.a(lib.so.V) shared, rtl:no 12231 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 12232 # lib.a static archive 12233 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 12234 for ld_flag in $LDFLAGS; do 12235 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 12236 aix_use_runtimelinking=yes 12237 break 12238 fi 12239 done 12240 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 12241 # With aix-soname=svr4, we create the lib.so.V shared archives only, 12242 # so we don't have lib.a shared libs to link our executables. 12243 # We have to force runtime linking in this case. 12244 aix_use_runtimelinking=yes 12245 LDFLAGS="$LDFLAGS -Wl,-brtl" 12246 fi 12247 ;; 12248 esac 12249 12250 exp_sym_flag='-bexport' 12251 no_entry_flag='-bnoentry' 12252 fi 12253 12254 # When large executables or shared objects are built, AIX ld can 12255 # have problems creating the table of contents. If linking a library 12256 # or program results in "error TOC overflow" add -mminimal-toc to 12257 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 12258 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 12259 12260 archive_cmds='' 12261 hardcode_direct=yes 12262 hardcode_direct_absolute=yes 12263 hardcode_libdir_separator=':' 12264 link_all_deplibs=yes 12265 file_list_spec='$wl-f,' 12266 case $with_aix_soname,$aix_use_runtimelinking in 12267 aix,*) ;; # traditional, no import file 12268 svr4,* | *,yes) # use import file 12269 # The Import File defines what to hardcode. 12270 hardcode_direct=no 12271 hardcode_direct_absolute=no 12272 ;; 12273 esac 12274 12275 if test yes = "$GCC"; then 12276 case $host_os in aix4.[012]|aix4.[012].*) 12277 # We only want to do this on AIX 4.2 and lower, the check 12278 # below for broken collect2 doesn't work under 4.3+ 12279 collect2name=`$CC -print-prog-name=collect2` 12280 if test -f "$collect2name" && 12281 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 12282 then 12283 # We have reworked collect2 12284 : 12285 else 12286 # We have old collect2 12287 hardcode_direct=unsupported 12288 # It fails to find uninstalled libraries when the uninstalled 12289 # path is not listed in the libpath. Setting hardcode_minus_L 12290 # to unsupported forces relinking 12291 hardcode_minus_L=yes 12292 hardcode_libdir_flag_spec='-L$libdir' 12293 hardcode_libdir_separator= 12294 fi 12295 ;; 12296 esac 12297 shared_flag='-shared' 12298 if test yes = "$aix_use_runtimelinking"; then 12299 shared_flag="$shared_flag "'$wl-G' 12300 fi 12301 # Need to ensure runtime linking is disabled for the traditional 12302 # shared library, or the linker may eventually find shared libraries 12303 # /with/ Import File - we do not want to mix them. 12304 shared_flag_aix='-shared' 12305 shared_flag_svr4='-shared $wl-G' 12306 else 12307 # not using gcc 12308 if test ia64 = "$host_cpu"; then 12309 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 12310 # chokes on -Wl,-G. The following line is correct: 12311 shared_flag='-G' 12312 else 12313 if test yes = "$aix_use_runtimelinking"; then 12314 shared_flag='$wl-G' 12315 else 12316 shared_flag='$wl-bM:SRE' 12317 fi 12318 shared_flag_aix='$wl-bM:SRE' 12319 shared_flag_svr4='$wl-G' 12320 fi 12321 fi 12322 12323 export_dynamic_flag_spec='$wl-bexpall' 12324 # It seems that -bexpall does not export symbols beginning with 12325 # underscore (_), so it is better to generate a list of symbols to export. 12326 always_export_symbols=yes 12327 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 12328 # Warning - without using the other runtime loading flags (-brtl), 12329 # -berok will link without error, but may produce a broken library. 12330 allow_undefined_flag='-berok' 12331 # Determine the default libpath from the value encoded in an 12332 # empty executable. 12333 if test set = "${lt_cv_aix_libpath+set}"; then 12334 aix_libpath=$lt_cv_aix_libpath 12335else 12336 if ${lt_cv_aix_libpath_+:} false; then : 12337 $as_echo_n "(cached) " >&6 12338else 12339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12340/* end confdefs.h. */ 12341 12342int 12343main () 12344{ 12345 12346 ; 12347 return 0; 12348} 12349_ACEOF 12350if ac_fn_c_try_link "$LINENO"; then : 12351 12352 lt_aix_libpath_sed=' 12353 /Import File Strings/,/^$/ { 12354 /^0/ { 12355 s/^0 *\([^ ]*\) *$/\1/ 12356 p 12357 } 12358 }' 12359 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12360 # Check for a 64-bit object if we didn't find anything. 12361 if test -z "$lt_cv_aix_libpath_"; then 12362 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12363 fi 12364fi 12365rm -f core conftest.err conftest.$ac_objext \ 12366 conftest$ac_exeext conftest.$ac_ext 12367 if test -z "$lt_cv_aix_libpath_"; then 12368 lt_cv_aix_libpath_=/usr/lib:/lib 12369 fi 12370 12371fi 12372 12373 aix_libpath=$lt_cv_aix_libpath_ 12374fi 12375 12376 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 12377 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag 12378 else 12379 if test ia64 = "$host_cpu"; then 12380 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 12381 allow_undefined_flag="-z nodefs" 12382 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" 12383 else 12384 # Determine the default libpath from the value encoded in an 12385 # empty executable. 12386 if test set = "${lt_cv_aix_libpath+set}"; then 12387 aix_libpath=$lt_cv_aix_libpath 12388else 12389 if ${lt_cv_aix_libpath_+:} false; then : 12390 $as_echo_n "(cached) " >&6 12391else 12392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12393/* end confdefs.h. */ 12394 12395int 12396main () 12397{ 12398 12399 ; 12400 return 0; 12401} 12402_ACEOF 12403if ac_fn_c_try_link "$LINENO"; then : 12404 12405 lt_aix_libpath_sed=' 12406 /Import File Strings/,/^$/ { 12407 /^0/ { 12408 s/^0 *\([^ ]*\) *$/\1/ 12409 p 12410 } 12411 }' 12412 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12413 # Check for a 64-bit object if we didn't find anything. 12414 if test -z "$lt_cv_aix_libpath_"; then 12415 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12416 fi 12417fi 12418rm -f core conftest.err conftest.$ac_objext \ 12419 conftest$ac_exeext conftest.$ac_ext 12420 if test -z "$lt_cv_aix_libpath_"; then 12421 lt_cv_aix_libpath_=/usr/lib:/lib 12422 fi 12423 12424fi 12425 12426 aix_libpath=$lt_cv_aix_libpath_ 12427fi 12428 12429 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 12430 # Warning - without using the other run time loading flags, 12431 # -berok will link without error, but may produce a broken library. 12432 no_undefined_flag=' $wl-bernotok' 12433 allow_undefined_flag=' $wl-berok' 12434 if test yes = "$with_gnu_ld"; then 12435 # We only use this code for GNU lds that support --whole-archive. 12436 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 12437 else 12438 # Exported symbols can be pulled into shared objects from archives 12439 whole_archive_flag_spec='$convenience' 12440 fi 12441 archive_cmds_need_lc=yes 12442 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 12443 # -brtl affects multiple linker settings, -berok does not and is overridden later 12444 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 12445 if test svr4 != "$with_aix_soname"; then 12446 # This is similar to how AIX traditionally builds its shared libraries. 12447 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' 12448 fi 12449 if test aix != "$with_aix_soname"; then 12450 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' 12451 else 12452 # used by -dlpreopen to get the symbols 12453 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 12454 fi 12455 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 12456 fi 12457 fi 12458 ;; 12459 12460 amigaos*) 12461 case $host_cpu in 12462 powerpc) 12463 # see comment about AmigaOS4 .so support 12464 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 12465 archive_expsym_cmds='' 12466 ;; 12467 m68k) 12468 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)' 12469 hardcode_libdir_flag_spec='-L$libdir' 12470 hardcode_minus_L=yes 12471 ;; 12472 esac 12473 ;; 12474 12475 bsdi[45]*) 12476 export_dynamic_flag_spec=-rdynamic 12477 ;; 12478 12479 cygwin* | mingw* | pw32* | cegcc*) 12480 # When not using gcc, we currently assume that we are using 12481 # Microsoft Visual C++. 12482 # hardcode_libdir_flag_spec is actually meaningless, as there is 12483 # no search path for DLLs. 12484 case $cc_basename in 12485 cl*) 12486 # Native MSVC 12487 hardcode_libdir_flag_spec=' ' 12488 allow_undefined_flag=unsupported 12489 always_export_symbols=yes 12490 file_list_spec='@' 12491 # Tell ltmain to make .lib files, not .a files. 12492 libext=lib 12493 # Tell ltmain to make .dll files, not .so files. 12494 shrext_cmds=.dll 12495 # FIXME: Setting linknames here is a bad hack. 12496 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 12497 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 12498 cp "$export_symbols" "$output_objdir/$soname.def"; 12499 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 12500 else 12501 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 12502 fi~ 12503 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 12504 linknames=' 12505 # The linker will not automatically build a static lib if we build a DLL. 12506 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 12507 enable_shared_with_static_runtimes=yes 12508 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 12509 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 12510 # Don't use ranlib 12511 old_postinstall_cmds='chmod 644 $oldlib' 12512 postlink_cmds='lt_outputfile="@OUTPUT@"~ 12513 lt_tool_outputfile="@TOOL_OUTPUT@"~ 12514 case $lt_outputfile in 12515 *.exe|*.EXE) ;; 12516 *) 12517 lt_outputfile=$lt_outputfile.exe 12518 lt_tool_outputfile=$lt_tool_outputfile.exe 12519 ;; 12520 esac~ 12521 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 12522 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 12523 $RM "$lt_outputfile.manifest"; 12524 fi' 12525 ;; 12526 *) 12527 # Assume MSVC wrapper 12528 hardcode_libdir_flag_spec=' ' 12529 allow_undefined_flag=unsupported 12530 # Tell ltmain to make .lib files, not .a files. 12531 libext=lib 12532 # Tell ltmain to make .dll files, not .so files. 12533 shrext_cmds=.dll 12534 # FIXME: Setting linknames here is a bad hack. 12535 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 12536 # The linker will automatically build a .lib file if we build a DLL. 12537 old_archive_from_new_cmds='true' 12538 # FIXME: Should let the user specify the lib program. 12539 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 12540 enable_shared_with_static_runtimes=yes 12541 ;; 12542 esac 12543 ;; 12544 12545 darwin* | rhapsody*) 12546 12547 12548 archive_cmds_need_lc=no 12549 hardcode_direct=no 12550 hardcode_automatic=yes 12551 hardcode_shlibpath_var=unsupported 12552 if test yes = "$lt_cv_ld_force_load"; then 12553 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' 12554 12555 else 12556 whole_archive_flag_spec='' 12557 fi 12558 link_all_deplibs=yes 12559 allow_undefined_flag=$_lt_dar_allow_undefined 12560 case $cc_basename in 12561 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 12562 *) _lt_dar_can_shared=$GCC ;; 12563 esac 12564 if test yes = "$_lt_dar_can_shared"; then 12565 output_verbose_link_cmd=func_echo_all 12566 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 12567 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 12568 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" 12569 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" 12570 12571 else 12572 ld_shlibs=no 12573 fi 12574 12575 ;; 12576 12577 dgux*) 12578 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 12579 hardcode_libdir_flag_spec='-L$libdir' 12580 hardcode_shlibpath_var=no 12581 ;; 12582 12583 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 12584 # support. Future versions do this automatically, but an explicit c++rt0.o 12585 # does not break anything, and helps significantly (at the cost of a little 12586 # extra space). 12587 freebsd2.2*) 12588 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 12589 hardcode_libdir_flag_spec='-R$libdir' 12590 hardcode_direct=yes 12591 hardcode_shlibpath_var=no 12592 ;; 12593 12594 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 12595 freebsd2.*) 12596 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 12597 hardcode_direct=yes 12598 hardcode_minus_L=yes 12599 hardcode_shlibpath_var=no 12600 ;; 12601 12602 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 12603 freebsd* | dragonfly*) 12604 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 12605 hardcode_libdir_flag_spec='-R$libdir' 12606 hardcode_direct=yes 12607 hardcode_shlibpath_var=no 12608 ;; 12609 12610 hpux9*) 12611 if test yes = "$GCC"; then 12612 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 12613 else 12614 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 12615 fi 12616 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 12617 hardcode_libdir_separator=: 12618 hardcode_direct=yes 12619 12620 # hardcode_minus_L: Not really in the search PATH, 12621 # but as the default location of the library. 12622 hardcode_minus_L=yes 12623 export_dynamic_flag_spec='$wl-E' 12624 ;; 12625 12626 hpux10*) 12627 if test yes,no = "$GCC,$with_gnu_ld"; then 12628 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 12629 else 12630 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 12631 fi 12632 if test no = "$with_gnu_ld"; then 12633 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 12634 hardcode_libdir_separator=: 12635 hardcode_direct=yes 12636 hardcode_direct_absolute=yes 12637 export_dynamic_flag_spec='$wl-E' 12638 # hardcode_minus_L: Not really in the search PATH, 12639 # but as the default location of the library. 12640 hardcode_minus_L=yes 12641 fi 12642 ;; 12643 12644 hpux11*) 12645 if test yes,no = "$GCC,$with_gnu_ld"; then 12646 case $host_cpu in 12647 hppa*64*) 12648 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 12649 ;; 12650 ia64*) 12651 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 12652 ;; 12653 *) 12654 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 12655 ;; 12656 esac 12657 else 12658 case $host_cpu in 12659 hppa*64*) 12660 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 12661 ;; 12662 ia64*) 12663 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 12664 ;; 12665 *) 12666 12667 # Older versions of the 11.00 compiler do not understand -b yet 12668 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 12669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 12670$as_echo_n "checking if $CC understands -b... " >&6; } 12671if ${lt_cv_prog_compiler__b+:} false; then : 12672 $as_echo_n "(cached) " >&6 12673else 12674 lt_cv_prog_compiler__b=no 12675 save_LDFLAGS=$LDFLAGS 12676 LDFLAGS="$LDFLAGS -b" 12677 echo "$lt_simple_link_test_code" > conftest.$ac_ext 12678 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 12679 # The linker can only warn and ignore the option if not recognized 12680 # So say no if there are warnings 12681 if test -s conftest.err; then 12682 # Append any errors to the config.log. 12683 cat conftest.err 1>&5 12684 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 12685 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 12686 if diff conftest.exp conftest.er2 >/dev/null; then 12687 lt_cv_prog_compiler__b=yes 12688 fi 12689 else 12690 lt_cv_prog_compiler__b=yes 12691 fi 12692 fi 12693 $RM -r conftest* 12694 LDFLAGS=$save_LDFLAGS 12695 12696fi 12697{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 12698$as_echo "$lt_cv_prog_compiler__b" >&6; } 12699 12700if test yes = "$lt_cv_prog_compiler__b"; then 12701 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 12702else 12703 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 12704fi 12705 12706 ;; 12707 esac 12708 fi 12709 if test no = "$with_gnu_ld"; then 12710 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 12711 hardcode_libdir_separator=: 12712 12713 case $host_cpu in 12714 hppa*64*|ia64*) 12715 hardcode_direct=no 12716 hardcode_shlibpath_var=no 12717 ;; 12718 *) 12719 hardcode_direct=yes 12720 hardcode_direct_absolute=yes 12721 export_dynamic_flag_spec='$wl-E' 12722 12723 # hardcode_minus_L: Not really in the search PATH, 12724 # but as the default location of the library. 12725 hardcode_minus_L=yes 12726 ;; 12727 esac 12728 fi 12729 ;; 12730 12731 irix5* | irix6* | nonstopux*) 12732 if test yes = "$GCC"; then 12733 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' 12734 # Try to use the -exported_symbol ld option, if it does not 12735 # work, assume that -exports_file does not work either and 12736 # implicitly export all symbols. 12737 # This should be the same for all languages, so no per-tag cache variable. 12738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 12739$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 12740if ${lt_cv_irix_exported_symbol+:} false; then : 12741 $as_echo_n "(cached) " >&6 12742else 12743 save_LDFLAGS=$LDFLAGS 12744 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 12745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12746/* end confdefs.h. */ 12747int foo (void) { return 0; } 12748_ACEOF 12749if ac_fn_c_try_link "$LINENO"; then : 12750 lt_cv_irix_exported_symbol=yes 12751else 12752 lt_cv_irix_exported_symbol=no 12753fi 12754rm -f core conftest.err conftest.$ac_objext \ 12755 conftest$ac_exeext conftest.$ac_ext 12756 LDFLAGS=$save_LDFLAGS 12757fi 12758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 12759$as_echo "$lt_cv_irix_exported_symbol" >&6; } 12760 if test yes = "$lt_cv_irix_exported_symbol"; then 12761 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib' 12762 fi 12763 link_all_deplibs=no 12764 else 12765 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 12766 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib' 12767 fi 12768 archive_cmds_need_lc='no' 12769 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 12770 hardcode_libdir_separator=: 12771 inherit_rpath=yes 12772 link_all_deplibs=yes 12773 ;; 12774 12775 linux*) 12776 case $cc_basename in 12777 tcc*) 12778 # Fabrice Bellard et al's Tiny C Compiler 12779 ld_shlibs=yes 12780 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 12781 ;; 12782 esac 12783 ;; 12784 12785 netbsd* | netbsdelf*-gnu) 12786 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 12787 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 12788 else 12789 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 12790 fi 12791 hardcode_libdir_flag_spec='-R$libdir' 12792 hardcode_direct=yes 12793 hardcode_shlibpath_var=no 12794 ;; 12795 12796 newsos6) 12797 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 12798 hardcode_direct=yes 12799 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 12800 hardcode_libdir_separator=: 12801 hardcode_shlibpath_var=no 12802 ;; 12803 12804 *nto* | *qnx*) 12805 ;; 12806 12807 openbsd* | bitrig*) 12808 if test -f /usr/libexec/ld.so; then 12809 hardcode_direct=yes 12810 hardcode_shlibpath_var=no 12811 hardcode_direct_absolute=yes 12812 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 12813 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 12814 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 12815 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 12816 export_dynamic_flag_spec='$wl-E' 12817 else 12818 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 12819 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 12820 fi 12821 else 12822 ld_shlibs=no 12823 fi 12824 ;; 12825 12826 os2*) 12827 hardcode_libdir_flag_spec='-L$libdir' 12828 hardcode_minus_L=yes 12829 allow_undefined_flag=unsupported 12830 shrext_cmds=.dll 12831 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 12832 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 12833 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 12834 $ECHO EXPORTS >> $output_objdir/$libname.def~ 12835 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 12836 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 12837 emximp -o $lib $output_objdir/$libname.def' 12838 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 12839 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 12840 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 12841 $ECHO EXPORTS >> $output_objdir/$libname.def~ 12842 prefix_cmds="$SED"~ 12843 if test EXPORTS = "`$SED 1q $export_symbols`"; then 12844 prefix_cmds="$prefix_cmds -e 1d"; 12845 fi~ 12846 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 12847 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 12848 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 12849 emximp -o $lib $output_objdir/$libname.def' 12850 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 12851 enable_shared_with_static_runtimes=yes 12852 ;; 12853 12854 osf3*) 12855 if test yes = "$GCC"; then 12856 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 12857 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' 12858 else 12859 allow_undefined_flag=' -expect_unresolved \*' 12860 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 12861 fi 12862 archive_cmds_need_lc='no' 12863 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 12864 hardcode_libdir_separator=: 12865 ;; 12866 12867 osf4* | osf5*) # as osf3* with the addition of -msym flag 12868 if test yes = "$GCC"; then 12869 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 12870 archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' 12871 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 12872 else 12873 allow_undefined_flag=' -expect_unresolved \*' 12874 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 12875 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~ 12876 $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp' 12877 12878 # Both c and cxx compiler support -rpath directly 12879 hardcode_libdir_flag_spec='-rpath $libdir' 12880 fi 12881 archive_cmds_need_lc='no' 12882 hardcode_libdir_separator=: 12883 ;; 12884 12885 solaris*) 12886 no_undefined_flag=' -z defs' 12887 if test yes = "$GCC"; then 12888 wlarc='$wl' 12889 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 12890 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 12891 $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 12892 else 12893 case `$CC -V 2>&1` in 12894 *"Compilers 5.0"*) 12895 wlarc='' 12896 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 12897 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 12898 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 12899 ;; 12900 *) 12901 wlarc='$wl' 12902 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 12903 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 12904 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 12905 ;; 12906 esac 12907 fi 12908 hardcode_libdir_flag_spec='-R$libdir' 12909 hardcode_shlibpath_var=no 12910 case $host_os in 12911 solaris2.[0-5] | solaris2.[0-5].*) ;; 12912 *) 12913 # The compiler driver will combine and reorder linker options, 12914 # but understands '-z linker_flag'. GCC discards it without '$wl', 12915 # but is careful enough not to reorder. 12916 # Supported since Solaris 2.6 (maybe 2.5.1?) 12917 if test yes = "$GCC"; then 12918 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 12919 else 12920 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 12921 fi 12922 ;; 12923 esac 12924 link_all_deplibs=yes 12925 ;; 12926 12927 sunos4*) 12928 if test sequent = "$host_vendor"; then 12929 # Use $CC to link under sequent, because it throws in some extra .o 12930 # files that make .init and .fini sections work. 12931 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 12932 else 12933 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 12934 fi 12935 hardcode_libdir_flag_spec='-L$libdir' 12936 hardcode_direct=yes 12937 hardcode_minus_L=yes 12938 hardcode_shlibpath_var=no 12939 ;; 12940 12941 sysv4) 12942 case $host_vendor in 12943 sni) 12944 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 12945 hardcode_direct=yes # is this really true??? 12946 ;; 12947 siemens) 12948 ## LD is ld it makes a PLAMLIB 12949 ## CC just makes a GrossModule. 12950 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 12951 reload_cmds='$CC -r -o $output$reload_objs' 12952 hardcode_direct=no 12953 ;; 12954 motorola) 12955 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 12956 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 12957 ;; 12958 esac 12959 runpath_var='LD_RUN_PATH' 12960 hardcode_shlibpath_var=no 12961 ;; 12962 12963 sysv4.3*) 12964 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 12965 hardcode_shlibpath_var=no 12966 export_dynamic_flag_spec='-Bexport' 12967 ;; 12968 12969 sysv4*MP*) 12970 if test -d /usr/nec; then 12971 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 12972 hardcode_shlibpath_var=no 12973 runpath_var=LD_RUN_PATH 12974 hardcode_runpath_var=yes 12975 ld_shlibs=yes 12976 fi 12977 ;; 12978 12979 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 12980 no_undefined_flag='$wl-z,text' 12981 archive_cmds_need_lc=no 12982 hardcode_shlibpath_var=no 12983 runpath_var='LD_RUN_PATH' 12984 12985 if test yes = "$GCC"; then 12986 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12987 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12988 else 12989 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12990 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12991 fi 12992 ;; 12993 12994 sysv5* | sco3.2v5* | sco5v6*) 12995 # Note: We CANNOT use -z defs as we might desire, because we do not 12996 # link with -lc, and that would cause any symbols used from libc to 12997 # always be unresolved, which means just about no library would 12998 # ever link correctly. If we're not using GNU ld we use -z text 12999 # though, which does catch some bad symbols but isn't as heavy-handed 13000 # as -z defs. 13001 no_undefined_flag='$wl-z,text' 13002 allow_undefined_flag='$wl-z,nodefs' 13003 archive_cmds_need_lc=no 13004 hardcode_shlibpath_var=no 13005 hardcode_libdir_flag_spec='$wl-R,$libdir' 13006 hardcode_libdir_separator=':' 13007 link_all_deplibs=yes 13008 export_dynamic_flag_spec='$wl-Bexport' 13009 runpath_var='LD_RUN_PATH' 13010 13011 if test yes = "$GCC"; then 13012 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13013 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13014 else 13015 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13016 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13017 fi 13018 ;; 13019 13020 uts4*) 13021 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 13022 hardcode_libdir_flag_spec='-L$libdir' 13023 hardcode_shlibpath_var=no 13024 ;; 13025 13026 *) 13027 ld_shlibs=no 13028 ;; 13029 esac 13030 13031 if test sni = "$host_vendor"; then 13032 case $host in 13033 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 13034 export_dynamic_flag_spec='$wl-Blargedynsym' 13035 ;; 13036 esac 13037 fi 13038 fi 13039 13040{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 13041$as_echo "$ld_shlibs" >&6; } 13042test no = "$ld_shlibs" && can_build_shared=no 13043 13044with_gnu_ld=$with_gnu_ld 13045 13046 13047 13048 13049 13050 13051 13052 13053 13054 13055 13056 13057 13058 13059 13060# 13061# Do we need to explicitly link libc? 13062# 13063case "x$archive_cmds_need_lc" in 13064x|xyes) 13065 # Assume -lc should be added 13066 archive_cmds_need_lc=yes 13067 13068 if test yes,yes = "$GCC,$enable_shared"; then 13069 case $archive_cmds in 13070 *'~'*) 13071 # FIXME: we may have to deal with multi-command sequences. 13072 ;; 13073 '$CC '*) 13074 # Test whether the compiler implicitly links with -lc since on some 13075 # systems, -lgcc has to come before -lc. If gcc already passes -lc 13076 # to ld, don't add -lc before -lgcc. 13077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 13078$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 13079if ${lt_cv_archive_cmds_need_lc+:} false; then : 13080 $as_echo_n "(cached) " >&6 13081else 13082 $RM conftest* 13083 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 13084 13085 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 13086 (eval $ac_compile) 2>&5 13087 ac_status=$? 13088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13089 test $ac_status = 0; } 2>conftest.err; then 13090 soname=conftest 13091 lib=conftest 13092 libobjs=conftest.$ac_objext 13093 deplibs= 13094 wl=$lt_prog_compiler_wl 13095 pic_flag=$lt_prog_compiler_pic 13096 compiler_flags=-v 13097 linker_flags=-v 13098 verstring= 13099 output_objdir=. 13100 libname=conftest 13101 lt_save_allow_undefined_flag=$allow_undefined_flag 13102 allow_undefined_flag= 13103 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 13104 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 13105 ac_status=$? 13106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13107 test $ac_status = 0; } 13108 then 13109 lt_cv_archive_cmds_need_lc=no 13110 else 13111 lt_cv_archive_cmds_need_lc=yes 13112 fi 13113 allow_undefined_flag=$lt_save_allow_undefined_flag 13114 else 13115 cat conftest.err 1>&5 13116 fi 13117 $RM conftest* 13118 13119fi 13120{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 13121$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 13122 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 13123 ;; 13124 esac 13125 fi 13126 ;; 13127esac 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 13140 13141 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 13153 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 13195 13196 13197 13198 13199 13200 13201 13202 13203 13204 13205 13206 13207 13208 13209 13210 13211 13212 13213 13214 13215 13216 13217 13218 13219 13220 13221 13222 13223 13224 13225 13226 13227 13228 13229 13230 13231 13232 13233 13234 13235 13236 13237 13238 13239 13240 13241 13242 13243 13244 13245 13246 13247 13248 13249 13250 13251 13252 13253 13254 13255 13256 13257 13258 13259 13260 13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 13271 13272 13273 13274 13275 13276 13277 13278 13279 13280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 13281$as_echo_n "checking dynamic linker characteristics... " >&6; } 13282 13283if test yes = "$GCC"; then 13284 case $host_os in 13285 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 13286 *) lt_awk_arg='/^libraries:/' ;; 13287 esac 13288 case $host_os in 13289 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 13290 *) lt_sed_strip_eq='s|=/|/|g' ;; 13291 esac 13292 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 13293 case $lt_search_path_spec in 13294 *\;*) 13295 # if the path contains ";" then we assume it to be the separator 13296 # otherwise default to the standard path separator (i.e. ":") - it is 13297 # assumed that no part of a normal pathname contains ";" but that should 13298 # okay in the real world where ";" in dirpaths is itself problematic. 13299 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 13300 ;; 13301 *) 13302 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 13303 ;; 13304 esac 13305 # Ok, now we have the path, separated by spaces, we can step through it 13306 # and add multilib dir if necessary... 13307 lt_tmp_lt_search_path_spec= 13308 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 13309 # ...but if some path component already ends with the multilib dir we assume 13310 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 13311 case "$lt_multi_os_dir; $lt_search_path_spec " in 13312 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 13313 lt_multi_os_dir= 13314 ;; 13315 esac 13316 for lt_sys_path in $lt_search_path_spec; do 13317 if test -d "$lt_sys_path$lt_multi_os_dir"; then 13318 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 13319 elif test -n "$lt_multi_os_dir"; then 13320 test -d "$lt_sys_path" && \ 13321 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 13322 fi 13323 done 13324 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 13325BEGIN {RS = " "; FS = "/|\n";} { 13326 lt_foo = ""; 13327 lt_count = 0; 13328 for (lt_i = NF; lt_i > 0; lt_i--) { 13329 if ($lt_i != "" && $lt_i != ".") { 13330 if ($lt_i == "..") { 13331 lt_count++; 13332 } else { 13333 if (lt_count == 0) { 13334 lt_foo = "/" $lt_i lt_foo; 13335 } else { 13336 lt_count--; 13337 } 13338 } 13339 } 13340 } 13341 if (lt_foo != "") { lt_freq[lt_foo]++; } 13342 if (lt_freq[lt_foo] == 1) { print lt_foo; } 13343}'` 13344 # AWK program above erroneously prepends '/' to C:/dos/paths 13345 # for these hosts. 13346 case $host_os in 13347 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 13348 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 13349 esac 13350 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 13351else 13352 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 13353fi 13354library_names_spec= 13355libname_spec='lib$name' 13356soname_spec= 13357shrext_cmds=.so 13358postinstall_cmds= 13359postuninstall_cmds= 13360finish_cmds= 13361finish_eval= 13362shlibpath_var= 13363shlibpath_overrides_runpath=unknown 13364version_type=none 13365dynamic_linker="$host_os ld.so" 13366sys_lib_dlsearch_path_spec="/lib /usr/lib" 13367need_lib_prefix=unknown 13368hardcode_into_libs=no 13369 13370# when you set need_version to no, make sure it does not cause -set_version 13371# flags to be left without arguments 13372need_version=unknown 13373 13374 13375 13376case $host_os in 13377aix3*) 13378 version_type=linux # correct to gnu/linux during the next big refactor 13379 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 13380 shlibpath_var=LIBPATH 13381 13382 # AIX 3 has no versioning support, so we append a major version to the name. 13383 soname_spec='$libname$release$shared_ext$major' 13384 ;; 13385 13386aix[4-9]*) 13387 version_type=linux # correct to gnu/linux during the next big refactor 13388 need_lib_prefix=no 13389 need_version=no 13390 hardcode_into_libs=yes 13391 if test ia64 = "$host_cpu"; then 13392 # AIX 5 supports IA64 13393 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 13394 shlibpath_var=LD_LIBRARY_PATH 13395 else 13396 # With GCC up to 2.95.x, collect2 would create an import file 13397 # for dependence libraries. The import file would start with 13398 # the line '#! .'. This would cause the generated library to 13399 # depend on '.', always an invalid library. This was fixed in 13400 # development snapshots of GCC prior to 3.0. 13401 case $host_os in 13402 aix4 | aix4.[01] | aix4.[01].*) 13403 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 13404 echo ' yes ' 13405 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 13406 : 13407 else 13408 can_build_shared=no 13409 fi 13410 ;; 13411 esac 13412 # Using Import Files as archive members, it is possible to support 13413 # filename-based versioning of shared library archives on AIX. While 13414 # this would work for both with and without runtime linking, it will 13415 # prevent static linking of such archives. So we do filename-based 13416 # shared library versioning with .so extension only, which is used 13417 # when both runtime linking and shared linking is enabled. 13418 # Unfortunately, runtime linking may impact performance, so we do 13419 # not want this to be the default eventually. Also, we use the 13420 # versioned .so libs for executables only if there is the -brtl 13421 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 13422 # To allow for filename-based versioning support, we need to create 13423 # libNAME.so.V as an archive file, containing: 13424 # *) an Import File, referring to the versioned filename of the 13425 # archive as well as the shared archive member, telling the 13426 # bitwidth (32 or 64) of that shared object, and providing the 13427 # list of exported symbols of that shared object, eventually 13428 # decorated with the 'weak' keyword 13429 # *) the shared object with the F_LOADONLY flag set, to really avoid 13430 # it being seen by the linker. 13431 # At run time we better use the real file rather than another symlink, 13432 # but for link time we create the symlink libNAME.so -> libNAME.so.V 13433 13434 case $with_aix_soname,$aix_use_runtimelinking in 13435 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 13436 # soname into executable. Probably we can add versioning support to 13437 # collect2, so additional links can be useful in future. 13438 aix,yes) # traditional libtool 13439 dynamic_linker='AIX unversionable lib.so' 13440 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 13441 # instead of lib<name>.a to let people know that these are not 13442 # typical AIX shared libraries. 13443 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13444 ;; 13445 aix,no) # traditional AIX only 13446 dynamic_linker='AIX lib.a(lib.so.V)' 13447 # We preserve .a as extension for shared libraries through AIX4.2 13448 # and later when we are not doing run time linking. 13449 library_names_spec='$libname$release.a $libname.a' 13450 soname_spec='$libname$release$shared_ext$major' 13451 ;; 13452 svr4,*) # full svr4 only 13453 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 13454 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 13455 # We do not specify a path in Import Files, so LIBPATH fires. 13456 shlibpath_overrides_runpath=yes 13457 ;; 13458 *,yes) # both, prefer svr4 13459 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 13460 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 13461 # unpreferred sharedlib libNAME.a needs extra handling 13462 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' 13463 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' 13464 # We do not specify a path in Import Files, so LIBPATH fires. 13465 shlibpath_overrides_runpath=yes 13466 ;; 13467 *,no) # both, prefer aix 13468 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 13469 library_names_spec='$libname$release.a $libname.a' 13470 soname_spec='$libname$release$shared_ext$major' 13471 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 13472 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' 13473 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' 13474 ;; 13475 esac 13476 shlibpath_var=LIBPATH 13477 fi 13478 ;; 13479 13480amigaos*) 13481 case $host_cpu in 13482 powerpc) 13483 # Since July 2007 AmigaOS4 officially supports .so libraries. 13484 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 13485 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13486 ;; 13487 m68k) 13488 library_names_spec='$libname.ixlibrary $libname.a' 13489 # Create ${libname}_ixlibrary.a entries in /sys/libs. 13490 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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' 13491 ;; 13492 esac 13493 ;; 13494 13495beos*) 13496 library_names_spec='$libname$shared_ext' 13497 dynamic_linker="$host_os ld.so" 13498 shlibpath_var=LIBRARY_PATH 13499 ;; 13500 13501bsdi[45]*) 13502 version_type=linux # correct to gnu/linux during the next big refactor 13503 need_version=no 13504 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13505 soname_spec='$libname$release$shared_ext$major' 13506 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 13507 shlibpath_var=LD_LIBRARY_PATH 13508 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 13509 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 13510 # the default ld.so.conf also contains /usr/contrib/lib and 13511 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 13512 # libtool to hard-code these into programs 13513 ;; 13514 13515cygwin* | mingw* | pw32* | cegcc*) 13516 version_type=windows 13517 shrext_cmds=.dll 13518 need_version=no 13519 need_lib_prefix=no 13520 13521 case $GCC,$cc_basename in 13522 yes,*) 13523 # gcc 13524 library_names_spec='$libname.dll.a' 13525 # DLL is installed to $(libdir)/../bin by postinstall_cmds 13526 postinstall_cmds='base_file=`basename \$file`~ 13527 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 13528 dldir=$destdir/`dirname \$dlpath`~ 13529 test -d \$dldir || mkdir -p \$dldir~ 13530 $install_prog $dir/$dlname \$dldir/$dlname~ 13531 chmod a+x \$dldir/$dlname~ 13532 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 13533 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 13534 fi' 13535 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 13536 dlpath=$dir/\$dldll~ 13537 $RM \$dlpath' 13538 shlibpath_overrides_runpath=yes 13539 13540 case $host_os in 13541 cygwin*) 13542 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 13543 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 13544 13545 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 13546 ;; 13547 mingw* | cegcc*) 13548 # MinGW DLLs use traditional 'lib' prefix 13549 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 13550 ;; 13551 pw32*) 13552 # pw32 DLLs use 'pw' prefix rather than 'lib' 13553 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 13554 ;; 13555 esac 13556 dynamic_linker='Win32 ld.exe' 13557 ;; 13558 13559 *,cl*) 13560 # Native MSVC 13561 libname_spec='$name' 13562 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 13563 library_names_spec='$libname.dll.lib' 13564 13565 case $build_os in 13566 mingw*) 13567 sys_lib_search_path_spec= 13568 lt_save_ifs=$IFS 13569 IFS=';' 13570 for lt_path in $LIB 13571 do 13572 IFS=$lt_save_ifs 13573 # Let DOS variable expansion print the short 8.3 style file name. 13574 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 13575 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 13576 done 13577 IFS=$lt_save_ifs 13578 # Convert to MSYS style. 13579 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 13580 ;; 13581 cygwin*) 13582 # Convert to unix form, then to dos form, then back to unix form 13583 # but this time dos style (no spaces!) so that the unix form looks 13584 # like /cygdrive/c/PROGRA~1:/cygdr... 13585 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 13586 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 13587 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 13588 ;; 13589 *) 13590 sys_lib_search_path_spec=$LIB 13591 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 13592 # It is most probably a Windows format PATH. 13593 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 13594 else 13595 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 13596 fi 13597 # FIXME: find the short name or the path components, as spaces are 13598 # common. (e.g. "Program Files" -> "PROGRA~1") 13599 ;; 13600 esac 13601 13602 # DLL is installed to $(libdir)/../bin by postinstall_cmds 13603 postinstall_cmds='base_file=`basename \$file`~ 13604 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 13605 dldir=$destdir/`dirname \$dlpath`~ 13606 test -d \$dldir || mkdir -p \$dldir~ 13607 $install_prog $dir/$dlname \$dldir/$dlname' 13608 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 13609 dlpath=$dir/\$dldll~ 13610 $RM \$dlpath' 13611 shlibpath_overrides_runpath=yes 13612 dynamic_linker='Win32 link.exe' 13613 ;; 13614 13615 *) 13616 # Assume MSVC wrapper 13617 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 13618 dynamic_linker='Win32 ld.exe' 13619 ;; 13620 esac 13621 # FIXME: first we should search . and the directory the executable is in 13622 shlibpath_var=PATH 13623 ;; 13624 13625darwin* | rhapsody*) 13626 dynamic_linker="$host_os dyld" 13627 version_type=darwin 13628 need_lib_prefix=no 13629 need_version=no 13630 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 13631 soname_spec='$libname$release$major$shared_ext' 13632 shlibpath_overrides_runpath=yes 13633 shlibpath_var=DYLD_LIBRARY_PATH 13634 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 13635 13636 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 13637 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 13638 ;; 13639 13640dgux*) 13641 version_type=linux # correct to gnu/linux during the next big refactor 13642 need_lib_prefix=no 13643 need_version=no 13644 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13645 soname_spec='$libname$release$shared_ext$major' 13646 shlibpath_var=LD_LIBRARY_PATH 13647 ;; 13648 13649freebsd* | dragonfly*) 13650 # DragonFly does not have aout. When/if they implement a new 13651 # versioning mechanism, adjust this. 13652 if test -x /usr/bin/objformat; then 13653 objformat=`/usr/bin/objformat` 13654 else 13655 case $host_os in 13656 freebsd[23].*) objformat=aout ;; 13657 *) objformat=elf ;; 13658 esac 13659 fi 13660 version_type=freebsd-$objformat 13661 case $version_type in 13662 freebsd-elf*) 13663 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13664 soname_spec='$libname$release$shared_ext$major' 13665 need_version=no 13666 need_lib_prefix=no 13667 ;; 13668 freebsd-*) 13669 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 13670 need_version=yes 13671 ;; 13672 esac 13673 shlibpath_var=LD_LIBRARY_PATH 13674 case $host_os in 13675 freebsd2.*) 13676 shlibpath_overrides_runpath=yes 13677 ;; 13678 freebsd3.[01]* | freebsdelf3.[01]*) 13679 shlibpath_overrides_runpath=yes 13680 hardcode_into_libs=yes 13681 ;; 13682 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 13683 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 13684 shlibpath_overrides_runpath=no 13685 hardcode_into_libs=yes 13686 ;; 13687 *) # from 4.6 on, and DragonFly 13688 shlibpath_overrides_runpath=yes 13689 hardcode_into_libs=yes 13690 ;; 13691 esac 13692 ;; 13693 13694haiku*) 13695 version_type=linux # correct to gnu/linux during the next big refactor 13696 need_lib_prefix=no 13697 need_version=no 13698 dynamic_linker="$host_os runtime_loader" 13699 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13700 soname_spec='$libname$release$shared_ext$major' 13701 shlibpath_var=LIBRARY_PATH 13702 shlibpath_overrides_runpath=no 13703 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 13704 hardcode_into_libs=yes 13705 ;; 13706 13707hpux9* | hpux10* | hpux11*) 13708 # Give a soname corresponding to the major version so that dld.sl refuses to 13709 # link against other versions. 13710 version_type=sunos 13711 need_lib_prefix=no 13712 need_version=no 13713 case $host_cpu in 13714 ia64*) 13715 shrext_cmds='.so' 13716 hardcode_into_libs=yes 13717 dynamic_linker="$host_os dld.so" 13718 shlibpath_var=LD_LIBRARY_PATH 13719 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 13720 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13721 soname_spec='$libname$release$shared_ext$major' 13722 if test 32 = "$HPUX_IA64_MODE"; then 13723 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 13724 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 13725 else 13726 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 13727 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 13728 fi 13729 ;; 13730 hppa*64*) 13731 shrext_cmds='.sl' 13732 hardcode_into_libs=yes 13733 dynamic_linker="$host_os dld.sl" 13734 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 13735 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 13736 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13737 soname_spec='$libname$release$shared_ext$major' 13738 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 13739 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 13740 ;; 13741 *) 13742 shrext_cmds='.sl' 13743 dynamic_linker="$host_os dld.sl" 13744 shlibpath_var=SHLIB_PATH 13745 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 13746 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13747 soname_spec='$libname$release$shared_ext$major' 13748 ;; 13749 esac 13750 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 13751 postinstall_cmds='chmod 555 $lib' 13752 # or fails outright, so override atomically: 13753 install_override_mode=555 13754 ;; 13755 13756interix[3-9]*) 13757 version_type=linux # correct to gnu/linux during the next big refactor 13758 need_lib_prefix=no 13759 need_version=no 13760 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13761 soname_spec='$libname$release$shared_ext$major' 13762 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 13763 shlibpath_var=LD_LIBRARY_PATH 13764 shlibpath_overrides_runpath=no 13765 hardcode_into_libs=yes 13766 ;; 13767 13768irix5* | irix6* | nonstopux*) 13769 case $host_os in 13770 nonstopux*) version_type=nonstopux ;; 13771 *) 13772 if test yes = "$lt_cv_prog_gnu_ld"; then 13773 version_type=linux # correct to gnu/linux during the next big refactor 13774 else 13775 version_type=irix 13776 fi ;; 13777 esac 13778 need_lib_prefix=no 13779 need_version=no 13780 soname_spec='$libname$release$shared_ext$major' 13781 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 13782 case $host_os in 13783 irix5* | nonstopux*) 13784 libsuff= shlibsuff= 13785 ;; 13786 *) 13787 case $LD in # libtool.m4 will add one of these switches to LD 13788 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 13789 libsuff= shlibsuff= libmagic=32-bit;; 13790 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 13791 libsuff=32 shlibsuff=N32 libmagic=N32;; 13792 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 13793 libsuff=64 shlibsuff=64 libmagic=64-bit;; 13794 *) libsuff= shlibsuff= libmagic=never-match;; 13795 esac 13796 ;; 13797 esac 13798 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 13799 shlibpath_overrides_runpath=no 13800 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 13801 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 13802 hardcode_into_libs=yes 13803 ;; 13804 13805# No shared lib support for Linux oldld, aout, or coff. 13806linux*oldld* | linux*aout* | linux*coff*) 13807 dynamic_linker=no 13808 ;; 13809 13810linux*android*) 13811 version_type=none # Android doesn't support versioned libraries. 13812 need_lib_prefix=no 13813 need_version=no 13814 library_names_spec='$libname$release$shared_ext' 13815 soname_spec='$libname$release$shared_ext' 13816 finish_cmds= 13817 shlibpath_var=LD_LIBRARY_PATH 13818 shlibpath_overrides_runpath=yes 13819 13820 # This implies no fast_install, which is unacceptable. 13821 # Some rework will be needed to allow for fast_install 13822 # before this can be enabled. 13823 hardcode_into_libs=yes 13824 13825 dynamic_linker='Android linker' 13826 # Don't embed -rpath directories since the linker doesn't support them. 13827 hardcode_libdir_flag_spec='-L$libdir' 13828 ;; 13829 13830# This must be glibc/ELF. 13831linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 13832 version_type=linux # correct to gnu/linux during the next big refactor 13833 need_lib_prefix=no 13834 need_version=no 13835 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13836 soname_spec='$libname$release$shared_ext$major' 13837 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 13838 shlibpath_var=LD_LIBRARY_PATH 13839 shlibpath_overrides_runpath=no 13840 13841 # Some binutils ld are patched to set DT_RUNPATH 13842 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 13843 $as_echo_n "(cached) " >&6 13844else 13845 lt_cv_shlibpath_overrides_runpath=no 13846 save_LDFLAGS=$LDFLAGS 13847 save_libdir=$libdir 13848 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 13849 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 13850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13851/* end confdefs.h. */ 13852 13853int 13854main () 13855{ 13856 13857 ; 13858 return 0; 13859} 13860_ACEOF 13861if ac_fn_c_try_link "$LINENO"; then : 13862 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 13863 lt_cv_shlibpath_overrides_runpath=yes 13864fi 13865fi 13866rm -f core conftest.err conftest.$ac_objext \ 13867 conftest$ac_exeext conftest.$ac_ext 13868 LDFLAGS=$save_LDFLAGS 13869 libdir=$save_libdir 13870 13871fi 13872 13873 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 13874 13875 # This implies no fast_install, which is unacceptable. 13876 # Some rework will be needed to allow for fast_install 13877 # before this can be enabled. 13878 hardcode_into_libs=yes 13879 13880 # Ideally, we could use ldconfig to report *all* directores which are 13881 # searched for libraries, however this is still not possible. Aside from not 13882 # being certain /sbin/ldconfig is available, command 13883 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 13884 # even though it is searched at run-time. Try to do the best guess by 13885 # appending ld.so.conf contents (and includes) to the search path. 13886 if test -f /etc/ld.so.conf; then 13887 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;s/"//g;/^$/d' | tr '\n' ' '` 13888 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 13889 fi 13890 13891 # We used to test for /lib/ld.so.1 and disable shared libraries on 13892 # powerpc, because MkLinux only supported shared libraries with the 13893 # GNU dynamic linker. Since this was broken with cross compilers, 13894 # most powerpc-linux boxes support dynamic linking these days and 13895 # people can always --disable-shared, the test was removed, and we 13896 # assume the GNU/Linux dynamic linker is in use. 13897 dynamic_linker='GNU/Linux ld.so' 13898 ;; 13899 13900netbsdelf*-gnu) 13901 version_type=linux 13902 need_lib_prefix=no 13903 need_version=no 13904 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 13905 soname_spec='${libname}${release}${shared_ext}$major' 13906 shlibpath_var=LD_LIBRARY_PATH 13907 shlibpath_overrides_runpath=no 13908 hardcode_into_libs=yes 13909 dynamic_linker='NetBSD ld.elf_so' 13910 ;; 13911 13912netbsd*) 13913 version_type=sunos 13914 need_lib_prefix=no 13915 need_version=no 13916 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 13917 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 13918 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 13919 dynamic_linker='NetBSD (a.out) ld.so' 13920 else 13921 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13922 soname_spec='$libname$release$shared_ext$major' 13923 dynamic_linker='NetBSD ld.elf_so' 13924 fi 13925 shlibpath_var=LD_LIBRARY_PATH 13926 shlibpath_overrides_runpath=yes 13927 hardcode_into_libs=yes 13928 ;; 13929 13930newsos6) 13931 version_type=linux # correct to gnu/linux during the next big refactor 13932 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13933 shlibpath_var=LD_LIBRARY_PATH 13934 shlibpath_overrides_runpath=yes 13935 ;; 13936 13937*nto* | *qnx*) 13938 version_type=qnx 13939 need_lib_prefix=no 13940 need_version=no 13941 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13942 soname_spec='$libname$release$shared_ext$major' 13943 shlibpath_var=LD_LIBRARY_PATH 13944 shlibpath_overrides_runpath=no 13945 hardcode_into_libs=yes 13946 dynamic_linker='ldqnx.so' 13947 ;; 13948 13949openbsd* | bitrig*) 13950 version_type=sunos 13951 sys_lib_dlsearch_path_spec=/usr/lib 13952 need_lib_prefix=no 13953 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 13954 need_version=no 13955 else 13956 need_version=yes 13957 fi 13958 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 13959 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 13960 shlibpath_var=LD_LIBRARY_PATH 13961 shlibpath_overrides_runpath=yes 13962 ;; 13963 13964os2*) 13965 libname_spec='$name' 13966 version_type=windows 13967 shrext_cmds=.dll 13968 need_version=no 13969 need_lib_prefix=no 13970 # OS/2 can only load a DLL with a base name of 8 characters or less. 13971 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 13972 v=$($ECHO $release$versuffix | tr -d .-); 13973 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 13974 $ECHO $n$v`$shared_ext' 13975 library_names_spec='${libname}_dll.$libext' 13976 dynamic_linker='OS/2 ld.exe' 13977 shlibpath_var=BEGINLIBPATH 13978 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 13979 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 13980 postinstall_cmds='base_file=`basename \$file`~ 13981 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 13982 dldir=$destdir/`dirname \$dlpath`~ 13983 test -d \$dldir || mkdir -p \$dldir~ 13984 $install_prog $dir/$dlname \$dldir/$dlname~ 13985 chmod a+x \$dldir/$dlname~ 13986 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 13987 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 13988 fi' 13989 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 13990 dlpath=$dir/\$dldll~ 13991 $RM \$dlpath' 13992 ;; 13993 13994osf3* | osf4* | osf5*) 13995 version_type=osf 13996 need_lib_prefix=no 13997 need_version=no 13998 soname_spec='$libname$release$shared_ext$major' 13999 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14000 shlibpath_var=LD_LIBRARY_PATH 14001 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 14002 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 14003 ;; 14004 14005rdos*) 14006 dynamic_linker=no 14007 ;; 14008 14009solaris*) 14010 version_type=linux # correct to gnu/linux during the next big refactor 14011 need_lib_prefix=no 14012 need_version=no 14013 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14014 soname_spec='$libname$release$shared_ext$major' 14015 shlibpath_var=LD_LIBRARY_PATH 14016 shlibpath_overrides_runpath=yes 14017 hardcode_into_libs=yes 14018 # ldd complains unless libraries are executable 14019 postinstall_cmds='chmod +x $lib' 14020 ;; 14021 14022sunos4*) 14023 version_type=sunos 14024 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 14025 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 14026 shlibpath_var=LD_LIBRARY_PATH 14027 shlibpath_overrides_runpath=yes 14028 if test yes = "$with_gnu_ld"; then 14029 need_lib_prefix=no 14030 fi 14031 need_version=yes 14032 ;; 14033 14034sysv4 | sysv4.3*) 14035 version_type=linux # correct to gnu/linux during the next big refactor 14036 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14037 soname_spec='$libname$release$shared_ext$major' 14038 shlibpath_var=LD_LIBRARY_PATH 14039 case $host_vendor in 14040 sni) 14041 shlibpath_overrides_runpath=no 14042 need_lib_prefix=no 14043 runpath_var=LD_RUN_PATH 14044 ;; 14045 siemens) 14046 need_lib_prefix=no 14047 ;; 14048 motorola) 14049 need_lib_prefix=no 14050 need_version=no 14051 shlibpath_overrides_runpath=no 14052 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 14053 ;; 14054 esac 14055 ;; 14056 14057sysv4*MP*) 14058 if test -d /usr/nec; then 14059 version_type=linux # correct to gnu/linux during the next big refactor 14060 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 14061 soname_spec='$libname$shared_ext.$major' 14062 shlibpath_var=LD_LIBRARY_PATH 14063 fi 14064 ;; 14065 14066sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 14067 version_type=sco 14068 need_lib_prefix=no 14069 need_version=no 14070 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 14071 soname_spec='$libname$release$shared_ext$major' 14072 shlibpath_var=LD_LIBRARY_PATH 14073 shlibpath_overrides_runpath=yes 14074 hardcode_into_libs=yes 14075 if test yes = "$with_gnu_ld"; then 14076 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 14077 else 14078 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 14079 case $host_os in 14080 sco3.2v5*) 14081 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 14082 ;; 14083 esac 14084 fi 14085 sys_lib_dlsearch_path_spec='/usr/lib' 14086 ;; 14087 14088tpf*) 14089 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 14090 version_type=linux # correct to gnu/linux during the next big refactor 14091 need_lib_prefix=no 14092 need_version=no 14093 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14094 shlibpath_var=LD_LIBRARY_PATH 14095 shlibpath_overrides_runpath=no 14096 hardcode_into_libs=yes 14097 ;; 14098 14099uts4*) 14100 version_type=linux # correct to gnu/linux during the next big refactor 14101 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14102 soname_spec='$libname$release$shared_ext$major' 14103 shlibpath_var=LD_LIBRARY_PATH 14104 ;; 14105 14106*) 14107 dynamic_linker=no 14108 ;; 14109esac 14110{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 14111$as_echo "$dynamic_linker" >&6; } 14112test no = "$dynamic_linker" && can_build_shared=no 14113 14114variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 14115if test yes = "$GCC"; then 14116 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 14117fi 14118 14119if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 14120 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 14121fi 14122 14123if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 14124 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 14125fi 14126 14127# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 14128configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 14129 14130# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 14131func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 14132 14133# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 14134configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 14135 14136 14137 14138 14139 14140 14141 14142 14143 14144 14145 14146 14147 14148 14149 14150 14151 14152 14153 14154 14155 14156 14157 14158 14159 14160 14161 14162 14163 14164 14165 14166 14167 14168 14169 14170 14171 14172 14173 14174 14175 14176 14177 14178 14179 14180 14181 14182 14183 14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 14196 14197 14198 14199 14200 14201 14202 14203 14204 14205 14206 14207 14208 14209 14210 14211 14212 14213 14214 14215 14216 14217 14218 14219 14220 14221 14222 14223 14224 14225 14226 14227 14228 14229 14230 14231 14232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 14233$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 14234hardcode_action= 14235if test -n "$hardcode_libdir_flag_spec" || 14236 test -n "$runpath_var" || 14237 test yes = "$hardcode_automatic"; then 14238 14239 # We can hardcode non-existent directories. 14240 if test no != "$hardcode_direct" && 14241 # If the only mechanism to avoid hardcoding is shlibpath_var, we 14242 # have to relink, otherwise we might link with an installed library 14243 # when we should be linking with a yet-to-be-installed one 14244 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 14245 test no != "$hardcode_minus_L"; then 14246 # Linking always hardcodes the temporary library directory. 14247 hardcode_action=relink 14248 else 14249 # We can link without hardcoding, and we can hardcode nonexisting dirs. 14250 hardcode_action=immediate 14251 fi 14252else 14253 # We cannot hardcode anything, or else we can only hardcode existing 14254 # directories. 14255 hardcode_action=unsupported 14256fi 14257{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 14258$as_echo "$hardcode_action" >&6; } 14259 14260if test relink = "$hardcode_action" || 14261 test yes = "$inherit_rpath"; then 14262 # Fast installation is not supported 14263 enable_fast_install=no 14264elif test yes = "$shlibpath_overrides_runpath" || 14265 test no = "$enable_shared"; then 14266 # Fast installation is not necessary 14267 enable_fast_install=needless 14268fi 14269 14270 14271 14272 14273 14274 14275 if test yes != "$enable_dlopen"; then 14276 enable_dlopen=unknown 14277 enable_dlopen_self=unknown 14278 enable_dlopen_self_static=unknown 14279else 14280 lt_cv_dlopen=no 14281 lt_cv_dlopen_libs= 14282 14283 case $host_os in 14284 beos*) 14285 lt_cv_dlopen=load_add_on 14286 lt_cv_dlopen_libs= 14287 lt_cv_dlopen_self=yes 14288 ;; 14289 14290 mingw* | pw32* | cegcc*) 14291 lt_cv_dlopen=LoadLibrary 14292 lt_cv_dlopen_libs= 14293 ;; 14294 14295 cygwin*) 14296 lt_cv_dlopen=dlopen 14297 lt_cv_dlopen_libs= 14298 ;; 14299 14300 darwin*) 14301 # if libdl is installed we need to link against it 14302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 14303$as_echo_n "checking for dlopen in -ldl... " >&6; } 14304if ${ac_cv_lib_dl_dlopen+:} false; then : 14305 $as_echo_n "(cached) " >&6 14306else 14307 ac_check_lib_save_LIBS=$LIBS 14308LIBS="-ldl $LIBS" 14309cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14310/* end confdefs.h. */ 14311 14312/* Override any GCC internal prototype to avoid an error. 14313 Use char because int might match the return type of a GCC 14314 builtin and then its argument prototype would still apply. */ 14315#ifdef __cplusplus 14316extern "C" 14317#endif 14318char dlopen (); 14319int 14320main () 14321{ 14322return dlopen (); 14323 ; 14324 return 0; 14325} 14326_ACEOF 14327if ac_fn_c_try_link "$LINENO"; then : 14328 ac_cv_lib_dl_dlopen=yes 14329else 14330 ac_cv_lib_dl_dlopen=no 14331fi 14332rm -f core conftest.err conftest.$ac_objext \ 14333 conftest$ac_exeext conftest.$ac_ext 14334LIBS=$ac_check_lib_save_LIBS 14335fi 14336{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 14337$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 14338if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 14339 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 14340else 14341 14342 lt_cv_dlopen=dyld 14343 lt_cv_dlopen_libs= 14344 lt_cv_dlopen_self=yes 14345 14346fi 14347 14348 ;; 14349 14350 tpf*) 14351 # Don't try to run any link tests for TPF. We know it's impossible 14352 # because TPF is a cross-compiler, and we know how we open DSOs. 14353 lt_cv_dlopen=dlopen 14354 lt_cv_dlopen_libs= 14355 lt_cv_dlopen_self=no 14356 ;; 14357 14358 *) 14359 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 14360if test "x$ac_cv_func_shl_load" = xyes; then : 14361 lt_cv_dlopen=shl_load 14362else 14363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 14364$as_echo_n "checking for shl_load in -ldld... " >&6; } 14365if ${ac_cv_lib_dld_shl_load+:} false; then : 14366 $as_echo_n "(cached) " >&6 14367else 14368 ac_check_lib_save_LIBS=$LIBS 14369LIBS="-ldld $LIBS" 14370cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14371/* end confdefs.h. */ 14372 14373/* Override any GCC internal prototype to avoid an error. 14374 Use char because int might match the return type of a GCC 14375 builtin and then its argument prototype would still apply. */ 14376#ifdef __cplusplus 14377extern "C" 14378#endif 14379char shl_load (); 14380int 14381main () 14382{ 14383return shl_load (); 14384 ; 14385 return 0; 14386} 14387_ACEOF 14388if ac_fn_c_try_link "$LINENO"; then : 14389 ac_cv_lib_dld_shl_load=yes 14390else 14391 ac_cv_lib_dld_shl_load=no 14392fi 14393rm -f core conftest.err conftest.$ac_objext \ 14394 conftest$ac_exeext conftest.$ac_ext 14395LIBS=$ac_check_lib_save_LIBS 14396fi 14397{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 14398$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 14399if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 14400 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 14401else 14402 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 14403if test "x$ac_cv_func_dlopen" = xyes; then : 14404 lt_cv_dlopen=dlopen 14405else 14406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 14407$as_echo_n "checking for dlopen in -ldl... " >&6; } 14408if ${ac_cv_lib_dl_dlopen+:} false; then : 14409 $as_echo_n "(cached) " >&6 14410else 14411 ac_check_lib_save_LIBS=$LIBS 14412LIBS="-ldl $LIBS" 14413cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14414/* end confdefs.h. */ 14415 14416/* Override any GCC internal prototype to avoid an error. 14417 Use char because int might match the return type of a GCC 14418 builtin and then its argument prototype would still apply. */ 14419#ifdef __cplusplus 14420extern "C" 14421#endif 14422char dlopen (); 14423int 14424main () 14425{ 14426return dlopen (); 14427 ; 14428 return 0; 14429} 14430_ACEOF 14431if ac_fn_c_try_link "$LINENO"; then : 14432 ac_cv_lib_dl_dlopen=yes 14433else 14434 ac_cv_lib_dl_dlopen=no 14435fi 14436rm -f core conftest.err conftest.$ac_objext \ 14437 conftest$ac_exeext conftest.$ac_ext 14438LIBS=$ac_check_lib_save_LIBS 14439fi 14440{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 14441$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 14442if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 14443 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 14444else 14445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 14446$as_echo_n "checking for dlopen in -lsvld... " >&6; } 14447if ${ac_cv_lib_svld_dlopen+:} false; then : 14448 $as_echo_n "(cached) " >&6 14449else 14450 ac_check_lib_save_LIBS=$LIBS 14451LIBS="-lsvld $LIBS" 14452cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14453/* end confdefs.h. */ 14454 14455/* Override any GCC internal prototype to avoid an error. 14456 Use char because int might match the return type of a GCC 14457 builtin and then its argument prototype would still apply. */ 14458#ifdef __cplusplus 14459extern "C" 14460#endif 14461char dlopen (); 14462int 14463main () 14464{ 14465return dlopen (); 14466 ; 14467 return 0; 14468} 14469_ACEOF 14470if ac_fn_c_try_link "$LINENO"; then : 14471 ac_cv_lib_svld_dlopen=yes 14472else 14473 ac_cv_lib_svld_dlopen=no 14474fi 14475rm -f core conftest.err conftest.$ac_objext \ 14476 conftest$ac_exeext conftest.$ac_ext 14477LIBS=$ac_check_lib_save_LIBS 14478fi 14479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 14480$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 14481if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 14482 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 14483else 14484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 14485$as_echo_n "checking for dld_link in -ldld... " >&6; } 14486if ${ac_cv_lib_dld_dld_link+:} false; then : 14487 $as_echo_n "(cached) " >&6 14488else 14489 ac_check_lib_save_LIBS=$LIBS 14490LIBS="-ldld $LIBS" 14491cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14492/* end confdefs.h. */ 14493 14494/* Override any GCC internal prototype to avoid an error. 14495 Use char because int might match the return type of a GCC 14496 builtin and then its argument prototype would still apply. */ 14497#ifdef __cplusplus 14498extern "C" 14499#endif 14500char dld_link (); 14501int 14502main () 14503{ 14504return dld_link (); 14505 ; 14506 return 0; 14507} 14508_ACEOF 14509if ac_fn_c_try_link "$LINENO"; then : 14510 ac_cv_lib_dld_dld_link=yes 14511else 14512 ac_cv_lib_dld_dld_link=no 14513fi 14514rm -f core conftest.err conftest.$ac_objext \ 14515 conftest$ac_exeext conftest.$ac_ext 14516LIBS=$ac_check_lib_save_LIBS 14517fi 14518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 14519$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 14520if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 14521 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 14522fi 14523 14524 14525fi 14526 14527 14528fi 14529 14530 14531fi 14532 14533 14534fi 14535 14536 14537fi 14538 14539 ;; 14540 esac 14541 14542 if test no = "$lt_cv_dlopen"; then 14543 enable_dlopen=no 14544 else 14545 enable_dlopen=yes 14546 fi 14547 14548 case $lt_cv_dlopen in 14549 dlopen) 14550 save_CPPFLAGS=$CPPFLAGS 14551 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 14552 14553 save_LDFLAGS=$LDFLAGS 14554 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 14555 14556 save_LIBS=$LIBS 14557 LIBS="$lt_cv_dlopen_libs $LIBS" 14558 14559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 14560$as_echo_n "checking whether a program can dlopen itself... " >&6; } 14561if ${lt_cv_dlopen_self+:} false; then : 14562 $as_echo_n "(cached) " >&6 14563else 14564 if test yes = "$cross_compiling"; then : 14565 lt_cv_dlopen_self=cross 14566else 14567 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 14568 lt_status=$lt_dlunknown 14569 cat > conftest.$ac_ext <<_LT_EOF 14570#line $LINENO "configure" 14571#include "confdefs.h" 14572 14573#if HAVE_DLFCN_H 14574#include <dlfcn.h> 14575#endif 14576 14577#include <stdio.h> 14578 14579#ifdef RTLD_GLOBAL 14580# define LT_DLGLOBAL RTLD_GLOBAL 14581#else 14582# ifdef DL_GLOBAL 14583# define LT_DLGLOBAL DL_GLOBAL 14584# else 14585# define LT_DLGLOBAL 0 14586# endif 14587#endif 14588 14589/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 14590 find out it does not work in some platform. */ 14591#ifndef LT_DLLAZY_OR_NOW 14592# ifdef RTLD_LAZY 14593# define LT_DLLAZY_OR_NOW RTLD_LAZY 14594# else 14595# ifdef DL_LAZY 14596# define LT_DLLAZY_OR_NOW DL_LAZY 14597# else 14598# ifdef RTLD_NOW 14599# define LT_DLLAZY_OR_NOW RTLD_NOW 14600# else 14601# ifdef DL_NOW 14602# define LT_DLLAZY_OR_NOW DL_NOW 14603# else 14604# define LT_DLLAZY_OR_NOW 0 14605# endif 14606# endif 14607# endif 14608# endif 14609#endif 14610 14611/* When -fvisibility=hidden is used, assume the code has been annotated 14612 correspondingly for the symbols needed. */ 14613#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 14614int fnord () __attribute__((visibility("default"))); 14615#endif 14616 14617int fnord () { return 42; } 14618int main () 14619{ 14620 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 14621 int status = $lt_dlunknown; 14622 14623 if (self) 14624 { 14625 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 14626 else 14627 { 14628 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 14629 else puts (dlerror ()); 14630 } 14631 /* dlclose (self); */ 14632 } 14633 else 14634 puts (dlerror ()); 14635 14636 return status; 14637} 14638_LT_EOF 14639 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 14640 (eval $ac_link) 2>&5 14641 ac_status=$? 14642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14643 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 14644 (./conftest; exit; ) >&5 2>/dev/null 14645 lt_status=$? 14646 case x$lt_status in 14647 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 14648 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 14649 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 14650 esac 14651 else : 14652 # compilation failed 14653 lt_cv_dlopen_self=no 14654 fi 14655fi 14656rm -fr conftest* 14657 14658 14659fi 14660{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 14661$as_echo "$lt_cv_dlopen_self" >&6; } 14662 14663 if test yes = "$lt_cv_dlopen_self"; then 14664 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 14665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 14666$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 14667if ${lt_cv_dlopen_self_static+:} false; then : 14668 $as_echo_n "(cached) " >&6 14669else 14670 if test yes = "$cross_compiling"; then : 14671 lt_cv_dlopen_self_static=cross 14672else 14673 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 14674 lt_status=$lt_dlunknown 14675 cat > conftest.$ac_ext <<_LT_EOF 14676#line $LINENO "configure" 14677#include "confdefs.h" 14678 14679#if HAVE_DLFCN_H 14680#include <dlfcn.h> 14681#endif 14682 14683#include <stdio.h> 14684 14685#ifdef RTLD_GLOBAL 14686# define LT_DLGLOBAL RTLD_GLOBAL 14687#else 14688# ifdef DL_GLOBAL 14689# define LT_DLGLOBAL DL_GLOBAL 14690# else 14691# define LT_DLGLOBAL 0 14692# endif 14693#endif 14694 14695/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 14696 find out it does not work in some platform. */ 14697#ifndef LT_DLLAZY_OR_NOW 14698# ifdef RTLD_LAZY 14699# define LT_DLLAZY_OR_NOW RTLD_LAZY 14700# else 14701# ifdef DL_LAZY 14702# define LT_DLLAZY_OR_NOW DL_LAZY 14703# else 14704# ifdef RTLD_NOW 14705# define LT_DLLAZY_OR_NOW RTLD_NOW 14706# else 14707# ifdef DL_NOW 14708# define LT_DLLAZY_OR_NOW DL_NOW 14709# else 14710# define LT_DLLAZY_OR_NOW 0 14711# endif 14712# endif 14713# endif 14714# endif 14715#endif 14716 14717/* When -fvisibility=hidden is used, assume the code has been annotated 14718 correspondingly for the symbols needed. */ 14719#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 14720int fnord () __attribute__((visibility("default"))); 14721#endif 14722 14723int fnord () { return 42; } 14724int main () 14725{ 14726 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 14727 int status = $lt_dlunknown; 14728 14729 if (self) 14730 { 14731 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 14732 else 14733 { 14734 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 14735 else puts (dlerror ()); 14736 } 14737 /* dlclose (self); */ 14738 } 14739 else 14740 puts (dlerror ()); 14741 14742 return status; 14743} 14744_LT_EOF 14745 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 14746 (eval $ac_link) 2>&5 14747 ac_status=$? 14748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14749 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 14750 (./conftest; exit; ) >&5 2>/dev/null 14751 lt_status=$? 14752 case x$lt_status in 14753 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 14754 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 14755 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 14756 esac 14757 else : 14758 # compilation failed 14759 lt_cv_dlopen_self_static=no 14760 fi 14761fi 14762rm -fr conftest* 14763 14764 14765fi 14766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 14767$as_echo "$lt_cv_dlopen_self_static" >&6; } 14768 fi 14769 14770 CPPFLAGS=$save_CPPFLAGS 14771 LDFLAGS=$save_LDFLAGS 14772 LIBS=$save_LIBS 14773 ;; 14774 esac 14775 14776 case $lt_cv_dlopen_self in 14777 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 14778 *) enable_dlopen_self=unknown ;; 14779 esac 14780 14781 case $lt_cv_dlopen_self_static in 14782 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 14783 *) enable_dlopen_self_static=unknown ;; 14784 esac 14785fi 14786 14787 14788 14789 14790 14791 14792 14793 14794 14795 14796 14797 14798 14799 14800 14801 14802 14803striplib= 14804old_striplib= 14805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 14806$as_echo_n "checking whether stripping libraries is possible... " >&6; } 14807if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 14808 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 14809 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 14810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14811$as_echo "yes" >&6; } 14812else 14813# FIXME - insert some real tests, host_os isn't really good enough 14814 case $host_os in 14815 darwin*) 14816 if test -n "$STRIP"; then 14817 striplib="$STRIP -x" 14818 old_striplib="$STRIP -S" 14819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14820$as_echo "yes" >&6; } 14821 else 14822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14823$as_echo "no" >&6; } 14824 fi 14825 ;; 14826 *) 14827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14828$as_echo "no" >&6; } 14829 ;; 14830 esac 14831fi 14832 14833 14834 14835 14836 14837 14838 14839 14840 14841 14842 14843 14844 # Report what library types will actually be built 14845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 14846$as_echo_n "checking if libtool supports shared libraries... " >&6; } 14847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 14848$as_echo "$can_build_shared" >&6; } 14849 14850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 14851$as_echo_n "checking whether to build shared libraries... " >&6; } 14852 test no = "$can_build_shared" && enable_shared=no 14853 14854 # On AIX, shared libraries and static libraries use the same namespace, and 14855 # are all built from PIC. 14856 case $host_os in 14857 aix3*) 14858 test yes = "$enable_shared" && enable_static=no 14859 if test -n "$RANLIB"; then 14860 archive_cmds="$archive_cmds~\$RANLIB \$lib" 14861 postinstall_cmds='$RANLIB $lib' 14862 fi 14863 ;; 14864 14865 aix[4-9]*) 14866 if test ia64 != "$host_cpu"; then 14867 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 14868 yes,aix,yes) ;; # shared object as lib.so file only 14869 yes,svr4,*) ;; # shared object as lib.so archive member only 14870 yes,*) enable_static=no ;; # shared object in lib.a archive as well 14871 esac 14872 fi 14873 ;; 14874 esac 14875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 14876$as_echo "$enable_shared" >&6; } 14877 14878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 14879$as_echo_n "checking whether to build static libraries... " >&6; } 14880 # Make sure either enable_shared or enable_static is yes. 14881 test yes = "$enable_shared" || enable_static=yes 14882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 14883$as_echo "$enable_static" >&6; } 14884 14885 14886 14887 14888fi 14889ac_ext=c 14890ac_cpp='$CPP $CPPFLAGS' 14891ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14892ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14893ac_compiler_gnu=$ac_cv_c_compiler_gnu 14894 14895CC=$lt_save_CC 14896 14897 14898 14899 14900 14901 14902 14903 14904 14905 14906 14907 14908 14909 14910 14911 ac_config_commands="$ac_config_commands libtool" 14912 14913 14914 14915 14916# Only expand once: 14917 14918 14919 14920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5 14921$as_echo_n "checking for sin in -lm... " >&6; } 14922if ${ac_cv_lib_m_sin+:} false; then : 14923 $as_echo_n "(cached) " >&6 14924else 14925 ac_check_lib_save_LIBS=$LIBS 14926LIBS="-lm $LIBS" 14927cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14928/* end confdefs.h. */ 14929 14930/* Override any GCC internal prototype to avoid an error. 14931 Use char because int might match the return type of a GCC 14932 builtin and then its argument prototype would still apply. */ 14933#ifdef __cplusplus 14934extern "C" 14935#endif 14936char sin (); 14937int 14938main () 14939{ 14940return sin (); 14941 ; 14942 return 0; 14943} 14944_ACEOF 14945if ac_fn_c_try_link "$LINENO"; then : 14946 ac_cv_lib_m_sin=yes 14947else 14948 ac_cv_lib_m_sin=no 14949fi 14950rm -f core conftest.err conftest.$ac_objext \ 14951 conftest$ac_exeext conftest.$ac_ext 14952LIBS=$ac_check_lib_save_LIBS 14953fi 14954{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5 14955$as_echo "$ac_cv_lib_m_sin" >&6; } 14956if test "x$ac_cv_lib_m_sin" = xyes; then : 14957 cat >>confdefs.h <<_ACEOF 14958#define HAVE_LIBM 1 14959_ACEOF 14960 14961 LIBS="-lm $LIBS" 14962 14963fi 14964 14965for ac_header in langinfo.h 14966do : 14967 ac_fn_c_check_header_mongrel "$LINENO" "langinfo.h" "ac_cv_header_langinfo_h" "$ac_includes_default" 14968if test "x$ac_cv_header_langinfo_h" = xyes; then : 14969 cat >>confdefs.h <<_ACEOF 14970#define HAVE_LANGINFO_H 1 14971_ACEOF 14972 14973fi 14974 14975done 14976 14977for ac_header in libintl.h 14978do : 14979 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" 14980if test "x$ac_cv_header_libintl_h" = xyes; then : 14981 cat >>confdefs.h <<_ACEOF 14982#define HAVE_LIBINTL_H 1 14983_ACEOF 14984 14985fi 14986 14987done 14988 14989for ac_header in sys/time.h 14990do : 14991 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" 14992if test "x$ac_cv_header_sys_time_h" = xyes; then : 14993 cat >>confdefs.h <<_ACEOF 14994#define HAVE_SYS_TIME_H 1 14995_ACEOF 14996 14997fi 14998 14999done 15000 15001for ac_func in floor 15002do : 15003 ac_fn_c_check_func "$LINENO" "floor" "ac_cv_func_floor" 15004if test "x$ac_cv_func_floor" = xyes; then : 15005 cat >>confdefs.h <<_ACEOF 15006#define HAVE_FLOOR 1 15007_ACEOF 15008 15009fi 15010done 15011 15012for ac_func in gettimeofday 15013do : 15014 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" 15015if test "x$ac_cv_func_gettimeofday" = xyes; then : 15016 cat >>confdefs.h <<_ACEOF 15017#define HAVE_GETTIMEOFDAY 1 15018_ACEOF 15019 15020fi 15021done 15022 15023for ac_func in memmove 15024do : 15025 ac_fn_c_check_func "$LINENO" "memmove" "ac_cv_func_memmove" 15026if test "x$ac_cv_func_memmove" = xyes; then : 15027 cat >>confdefs.h <<_ACEOF 15028#define HAVE_MEMMOVE 1 15029_ACEOF 15030 15031fi 15032done 15033 15034for ac_func in memset 15035do : 15036 ac_fn_c_check_func "$LINENO" "memset" "ac_cv_func_memset" 15037if test "x$ac_cv_func_memset" = xyes; then : 15038 cat >>confdefs.h <<_ACEOF 15039#define HAVE_MEMSET 1 15040_ACEOF 15041 15042fi 15043done 15044 15045for ac_func in mkdir 15046do : 15047 ac_fn_c_check_func "$LINENO" "mkdir" "ac_cv_func_mkdir" 15048if test "x$ac_cv_func_mkdir" = xyes; then : 15049 cat >>confdefs.h <<_ACEOF 15050#define HAVE_MKDIR 1 15051_ACEOF 15052 15053fi 15054done 15055 15056for ac_func in pow 15057do : 15058 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow" 15059if test "x$ac_cv_func_pow" = xyes; then : 15060 cat >>confdefs.h <<_ACEOF 15061#define HAVE_POW 1 15062_ACEOF 15063 15064fi 15065done 15066 15067for ac_func in rint 15068do : 15069 ac_fn_c_check_func "$LINENO" "rint" "ac_cv_func_rint" 15070if test "x$ac_cv_func_rint" = xyes; then : 15071 cat >>confdefs.h <<_ACEOF 15072#define HAVE_RINT 1 15073_ACEOF 15074 15075fi 15076done 15077 15078for ac_func in setlocale 15079do : 15080 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale" 15081if test "x$ac_cv_func_setlocale" = xyes; then : 15082 cat >>confdefs.h <<_ACEOF 15083#define HAVE_SETLOCALE 1 15084_ACEOF 15085 15086fi 15087done 15088 15089for ac_func in sqrt 15090do : 15091 ac_fn_c_check_func "$LINENO" "sqrt" "ac_cv_func_sqrt" 15092if test "x$ac_cv_func_sqrt" = xyes; then : 15093 cat >>confdefs.h <<_ACEOF 15094#define HAVE_SQRT 1 15095_ACEOF 15096 15097fi 15098done 15099 15100for ac_func in strchr 15101do : 15102 ac_fn_c_check_func "$LINENO" "strchr" "ac_cv_func_strchr" 15103if test "x$ac_cv_func_strchr" = xyes; then : 15104 cat >>confdefs.h <<_ACEOF 15105#define HAVE_STRCHR 1 15106_ACEOF 15107 15108fi 15109done 15110 15111for ac_func in strdup 15112do : 15113 ac_fn_c_check_func "$LINENO" "strdup" "ac_cv_func_strdup" 15114if test "x$ac_cv_func_strdup" = xyes; then : 15115 cat >>confdefs.h <<_ACEOF 15116#define HAVE_STRDUP 1 15117_ACEOF 15118 15119fi 15120done 15121 15122for ac_func in strerror 15123do : 15124 ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror" 15125if test "x$ac_cv_func_strerror" = xyes; then : 15126 cat >>confdefs.h <<_ACEOF 15127#define HAVE_STRERROR 1 15128_ACEOF 15129 15130fi 15131done 15132 15133for ac_func in strrchr 15134do : 15135 ac_fn_c_check_func "$LINENO" "strrchr" "ac_cv_func_strrchr" 15136if test "x$ac_cv_func_strrchr" = xyes; then : 15137 cat >>confdefs.h <<_ACEOF 15138#define HAVE_STRRCHR 1 15139_ACEOF 15140 15141fi 15142done 15143 15144for ac_func in strcasecmp 15145do : 15146 ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp" 15147if test "x$ac_cv_func_strcasecmp" = xyes; then : 15148 cat >>confdefs.h <<_ACEOF 15149#define HAVE_STRCASECMP 1 15150_ACEOF 15151 15152fi 15153done 15154 15155for ac_header in stdlib.h 15156do : 15157 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 15158if test "x$ac_cv_header_stdlib_h" = xyes; then : 15159 cat >>confdefs.h <<_ACEOF 15160#define HAVE_STDLIB_H 1 15161_ACEOF 15162 15163fi 15164 15165done 15166 15167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 15168$as_echo_n "checking for GNU libc compatible malloc... " >&6; } 15169if ${ac_cv_func_malloc_0_nonnull+:} false; then : 15170 $as_echo_n "(cached) " >&6 15171else 15172 if test "$cross_compiling" = yes; then : 15173 ac_cv_func_malloc_0_nonnull=no 15174else 15175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15176/* end confdefs.h. */ 15177#if defined STDC_HEADERS || defined HAVE_STDLIB_H 15178# include <stdlib.h> 15179#else 15180char *malloc (); 15181#endif 15182 15183int 15184main () 15185{ 15186return ! malloc (0); 15187 ; 15188 return 0; 15189} 15190_ACEOF 15191if ac_fn_c_try_run "$LINENO"; then : 15192 ac_cv_func_malloc_0_nonnull=yes 15193else 15194 ac_cv_func_malloc_0_nonnull=no 15195fi 15196rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 15197 conftest.$ac_objext conftest.beam conftest.$ac_ext 15198fi 15199 15200fi 15201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 15202$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } 15203if test $ac_cv_func_malloc_0_nonnull = yes; then : 15204 15205$as_echo "#define HAVE_MALLOC 1" >>confdefs.h 15206 15207else 15208 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h 15209 15210 case " $LIBOBJS " in 15211 *" malloc.$ac_objext "* ) ;; 15212 *) LIBOBJS="$LIBOBJS malloc.$ac_objext" 15213 ;; 15214esac 15215 15216 15217$as_echo "#define malloc rpl_malloc" >>confdefs.h 15218 15219fi 15220 15221 15222 15223 15224pkg_failed=no 15225{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5 15226$as_echo_n "checking for GTK... " >&6; } 15227 15228if test -n "$GTK_CFLAGS"; then 15229 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" 15230 elif test -n "$PKG_CONFIG"; then 15231 if test -n "$PKG_CONFIG" && \ 15232 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.10\""; } >&5 15233 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.10") 2>&5 15234 ac_status=$? 15235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15236 test $ac_status = 0; }; then 15237 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= 3.10" 2>/dev/null` 15238 test "x$?" != "x0" && pkg_failed=yes 15239else 15240 pkg_failed=yes 15241fi 15242 else 15243 pkg_failed=untried 15244fi 15245if test -n "$GTK_LIBS"; then 15246 pkg_cv_GTK_LIBS="$GTK_LIBS" 15247 elif test -n "$PKG_CONFIG"; then 15248 if test -n "$PKG_CONFIG" && \ 15249 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.10\""; } >&5 15250 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.10") 2>&5 15251 ac_status=$? 15252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15253 test $ac_status = 0; }; then 15254 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= 3.10" 2>/dev/null` 15255 test "x$?" != "x0" && pkg_failed=yes 15256else 15257 pkg_failed=yes 15258fi 15259 else 15260 pkg_failed=untried 15261fi 15262 15263 15264 15265if test $pkg_failed = yes; then 15266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15267$as_echo "no" >&6; } 15268 15269if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15270 _pkg_short_errors_supported=yes 15271else 15272 _pkg_short_errors_supported=no 15273fi 15274 if test $_pkg_short_errors_supported = yes; then 15275 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= 3.10" 2>&1` 15276 else 15277 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= 3.10" 2>&1` 15278 fi 15279 # Put the nasty error message in config.log where it belongs 15280 echo "$GTK_PKG_ERRORS" >&5 15281 15282 as_fn_error $? "Package requirements (gtk+-3.0 >= 3.10) were not met: 15283 15284$GTK_PKG_ERRORS 15285 15286Consider adjusting the PKG_CONFIG_PATH environment variable if you 15287installed software in a non-standard prefix. 15288 15289Alternatively, you may set the environment variables GTK_CFLAGS 15290and GTK_LIBS to avoid the need to call pkg-config. 15291See the pkg-config man page for more details." "$LINENO" 5 15292elif test $pkg_failed = untried; then 15293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15294$as_echo "no" >&6; } 15295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15296$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15297as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 15298is in your PATH or set the PKG_CONFIG environment variable to the full 15299path to pkg-config. 15300 15301Alternatively, you may set the environment variables GTK_CFLAGS 15302and GTK_LIBS to avoid the need to call pkg-config. 15303See the pkg-config man page for more details. 15304 15305To get pkg-config, see <http://pkg-config.freedesktop.org/>. 15306See \`config.log' for more details" "$LINENO" 5; } 15307else 15308 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS 15309 GTK_LIBS=$pkg_cv_GTK_LIBS 15310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15311$as_echo "yes" >&6; } 15312 15313fi 15314 15315 15316 15317useoss=yes 15318 15319# Check whether --enable-oss was given. 15320if test "${enable_oss+set}" = set; then : 15321 enableval=$enable_oss; 15322 if test "x$enableval" = "xno"; then 15323 useoss=no 15324 fi 15325 15326fi 15327 15328 15329if test "x$useoss" = "xyes"; then 15330 for ac_header in fcntl.h 15331do : 15332 ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default" 15333if test "x$ac_cv_header_fcntl_h" = xyes; then : 15334 cat >>confdefs.h <<_ACEOF 15335#define HAVE_FCNTL_H 1 15336_ACEOF 15337 15338fi 15339 15340done 15341 15342 for ac_header in sys/ioctl.h 15343do : 15344 ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" 15345if test "x$ac_cv_header_sys_ioctl_h" = xyes; then : 15346 cat >>confdefs.h <<_ACEOF 15347#define HAVE_SYS_IOCTL_H 1 15348_ACEOF 15349 15350fi 15351 15352done 15353 15354 15355 15356 CFLAGS="$CFLAGS -DOSS" 15357fi 15358 15359 15360usealsa=yes 15361 15362# Check whether --enable-alsa was given. 15363if test "${enable_alsa+set}" = set; then : 15364 enableval=$enable_alsa; 15365 if test "x$enableval" = "xno"; then 15366 usealsa=no 15367 fi 15368 15369fi 15370 15371 15372if test "x$usealsa" = "xyes"; then 15373 15374pkg_failed=no 15375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5 15376$as_echo_n "checking for ALSA... " >&6; } 15377 15378if test -n "$ALSA_CFLAGS"; then 15379 pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS" 15380 elif test -n "$PKG_CONFIG"; then 15381 if test -n "$PKG_CONFIG" && \ 15382 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa\""; } >&5 15383 ($PKG_CONFIG --exists --print-errors "alsa") 2>&5 15384 ac_status=$? 15385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15386 test $ac_status = 0; }; then 15387 pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa" 2>/dev/null` 15388 test "x$?" != "x0" && pkg_failed=yes 15389else 15390 pkg_failed=yes 15391fi 15392 else 15393 pkg_failed=untried 15394fi 15395if test -n "$ALSA_LIBS"; then 15396 pkg_cv_ALSA_LIBS="$ALSA_LIBS" 15397 elif test -n "$PKG_CONFIG"; then 15398 if test -n "$PKG_CONFIG" && \ 15399 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa\""; } >&5 15400 ($PKG_CONFIG --exists --print-errors "alsa") 2>&5 15401 ac_status=$? 15402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15403 test $ac_status = 0; }; then 15404 pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa" 2>/dev/null` 15405 test "x$?" != "x0" && pkg_failed=yes 15406else 15407 pkg_failed=yes 15408fi 15409 else 15410 pkg_failed=untried 15411fi 15412 15413 15414 15415if test $pkg_failed = yes; then 15416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15417$as_echo "no" >&6; } 15418 15419if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15420 _pkg_short_errors_supported=yes 15421else 15422 _pkg_short_errors_supported=no 15423fi 15424 if test $_pkg_short_errors_supported = yes; then 15425 ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "alsa" 2>&1` 15426 else 15427 ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "alsa" 2>&1` 15428 fi 15429 # Put the nasty error message in config.log where it belongs 15430 echo "$ALSA_PKG_ERRORS" >&5 15431 15432 as_fn_error $? "Package requirements (alsa) were not met: 15433 15434$ALSA_PKG_ERRORS 15435 15436Consider adjusting the PKG_CONFIG_PATH environment variable if you 15437installed software in a non-standard prefix. 15438 15439Alternatively, you may set the environment variables ALSA_CFLAGS 15440and ALSA_LIBS to avoid the need to call pkg-config. 15441See the pkg-config man page for more details." "$LINENO" 5 15442elif test $pkg_failed = untried; then 15443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15444$as_echo "no" >&6; } 15445 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15446$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15447as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 15448is in your PATH or set the PKG_CONFIG environment variable to the full 15449path to pkg-config. 15450 15451Alternatively, you may set the environment variables ALSA_CFLAGS 15452and ALSA_LIBS to avoid the need to call pkg-config. 15453See the pkg-config man page for more details. 15454 15455To get pkg-config, see <http://pkg-config.freedesktop.org/>. 15456See \`config.log' for more details" "$LINENO" 5; } 15457else 15458 ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS 15459 ALSA_LIBS=$pkg_cv_ALSA_LIBS 15460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15461$as_echo "yes" >&6; } 15462 15463fi 15464 15465 15466 CFLAGS="$CFLAGS -DALSA" 15467fi 15468 15469usejack=yes 15470 15471# Check whether --enable-jack was given. 15472if test "${enable_jack+set}" = set; then : 15473 enableval=$enable_jack; 15474 if test "x$enableval" = "xno"; then 15475 usejack=no 15476 fi 15477 15478fi 15479 15480 15481 if test "x$usejack" = "xyes"; then 15482 HAVE_JACK_TRUE= 15483 HAVE_JACK_FALSE='#' 15484else 15485 HAVE_JACK_TRUE='#' 15486 HAVE_JACK_FALSE= 15487fi 15488 15489 15490if test "x$usejack" = "xyes"; then 15491 15492pkg_failed=no 15493{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5 15494$as_echo_n "checking for JACK... " >&6; } 15495 15496if test -n "$JACK_CFLAGS"; then 15497 pkg_cv_JACK_CFLAGS="$JACK_CFLAGS" 15498 elif test -n "$PKG_CONFIG"; then 15499 if test -n "$PKG_CONFIG" && \ 15500 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.117.0\""; } >&5 15501 ($PKG_CONFIG --exists --print-errors "jack >= 0.117.0") 2>&5 15502 ac_status=$? 15503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15504 test $ac_status = 0; }; then 15505 pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "jack >= 0.117.0" 2>/dev/null` 15506 test "x$?" != "x0" && pkg_failed=yes 15507else 15508 pkg_failed=yes 15509fi 15510 else 15511 pkg_failed=untried 15512fi 15513if test -n "$JACK_LIBS"; then 15514 pkg_cv_JACK_LIBS="$JACK_LIBS" 15515 elif test -n "$PKG_CONFIG"; then 15516 if test -n "$PKG_CONFIG" && \ 15517 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.117.0\""; } >&5 15518 ($PKG_CONFIG --exists --print-errors "jack >= 0.117.0") 2>&5 15519 ac_status=$? 15520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15521 test $ac_status = 0; }; then 15522 pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "jack >= 0.117.0" 2>/dev/null` 15523 test "x$?" != "x0" && pkg_failed=yes 15524else 15525 pkg_failed=yes 15526fi 15527 else 15528 pkg_failed=untried 15529fi 15530 15531 15532 15533if test $pkg_failed = yes; then 15534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15535$as_echo "no" >&6; } 15536 15537if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15538 _pkg_short_errors_supported=yes 15539else 15540 _pkg_short_errors_supported=no 15541fi 15542 if test $_pkg_short_errors_supported = yes; then 15543 JACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "jack >= 0.117.0" 2>&1` 15544 else 15545 JACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "jack >= 0.117.0" 2>&1` 15546 fi 15547 # Put the nasty error message in config.log where it belongs 15548 echo "$JACK_PKG_ERRORS" >&5 15549 15550 as_fn_error $? "Package requirements (jack >= 0.117.0) were not met: 15551 15552$JACK_PKG_ERRORS 15553 15554Consider adjusting the PKG_CONFIG_PATH environment variable if you 15555installed software in a non-standard prefix. 15556 15557Alternatively, you may set the environment variables JACK_CFLAGS 15558and JACK_LIBS to avoid the need to call pkg-config. 15559See the pkg-config man page for more details." "$LINENO" 5 15560elif test $pkg_failed = untried; then 15561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15562$as_echo "no" >&6; } 15563 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15564$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15565as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 15566is in your PATH or set the PKG_CONFIG environment variable to the full 15567path to pkg-config. 15568 15569Alternatively, you may set the environment variables JACK_CFLAGS 15570and JACK_LIBS to avoid the need to call pkg-config. 15571See the pkg-config man page for more details. 15572 15573To get pkg-config, see <http://pkg-config.freedesktop.org/>. 15574See \`config.log' for more details" "$LINENO" 5; } 15575else 15576 JACK_CFLAGS=$pkg_cv_JACK_CFLAGS 15577 JACK_LIBS=$pkg_cv_JACK_LIBS 15578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15579$as_echo "yes" >&6; } 15580 15581fi 15582 15583 15584 CFLAGS="$CFLAGS -DJACK" 15585fi 15586 15587usepulseaudio=yes 15588 15589# Check whether --enable-pulseaudio was given. 15590if test "${enable_pulseaudio+set}" = set; then : 15591 enableval=$enable_pulseaudio; 15592 if test "x$enableval" = "xno"; then 15593 usepulseaudio=no 15594 fi 15595 15596fi 15597 15598 15599 if test "x$usepulseaudio" = "xyes"; then 15600 HAVE_PULSEAUDIO_TRUE= 15601 HAVE_PULSEAUDIO_FALSE='#' 15602else 15603 HAVE_PULSEAUDIO_TRUE='#' 15604 HAVE_PULSEAUDIO_FALSE= 15605fi 15606 15607 15608if test "x$usepulseaudio" = "xyes"; then 15609 15610pkg_failed=no 15611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PULSEAUDIO" >&5 15612$as_echo_n "checking for PULSEAUDIO... " >&6; } 15613 15614if test -n "$PULSEAUDIO_CFLAGS"; then 15615 pkg_cv_PULSEAUDIO_CFLAGS="$PULSEAUDIO_CFLAGS" 15616 elif test -n "$PKG_CONFIG"; then 15617 if test -n "$PKG_CONFIG" && \ 15618 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpulse-simple >= 0.9.10\""; } >&5 15619 ($PKG_CONFIG --exists --print-errors "libpulse-simple >= 0.9.10") 2>&5 15620 ac_status=$? 15621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15622 test $ac_status = 0; }; then 15623 pkg_cv_PULSEAUDIO_CFLAGS=`$PKG_CONFIG --cflags "libpulse-simple >= 0.9.10" 2>/dev/null` 15624 test "x$?" != "x0" && pkg_failed=yes 15625else 15626 pkg_failed=yes 15627fi 15628 else 15629 pkg_failed=untried 15630fi 15631if test -n "$PULSEAUDIO_LIBS"; then 15632 pkg_cv_PULSEAUDIO_LIBS="$PULSEAUDIO_LIBS" 15633 elif test -n "$PKG_CONFIG"; then 15634 if test -n "$PKG_CONFIG" && \ 15635 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpulse-simple >= 0.9.10\""; } >&5 15636 ($PKG_CONFIG --exists --print-errors "libpulse-simple >= 0.9.10") 2>&5 15637 ac_status=$? 15638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15639 test $ac_status = 0; }; then 15640 pkg_cv_PULSEAUDIO_LIBS=`$PKG_CONFIG --libs "libpulse-simple >= 0.9.10" 2>/dev/null` 15641 test "x$?" != "x0" && pkg_failed=yes 15642else 15643 pkg_failed=yes 15644fi 15645 else 15646 pkg_failed=untried 15647fi 15648 15649 15650 15651if test $pkg_failed = yes; then 15652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15653$as_echo "no" >&6; } 15654 15655if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15656 _pkg_short_errors_supported=yes 15657else 15658 _pkg_short_errors_supported=no 15659fi 15660 if test $_pkg_short_errors_supported = yes; then 15661 PULSEAUDIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpulse-simple >= 0.9.10" 2>&1` 15662 else 15663 PULSEAUDIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpulse-simple >= 0.9.10" 2>&1` 15664 fi 15665 # Put the nasty error message in config.log where it belongs 15666 echo "$PULSEAUDIO_PKG_ERRORS" >&5 15667 15668 as_fn_error $? "Package requirements (libpulse-simple >= 0.9.10) were not met: 15669 15670$PULSEAUDIO_PKG_ERRORS 15671 15672Consider adjusting the PKG_CONFIG_PATH environment variable if you 15673installed software in a non-standard prefix. 15674 15675Alternatively, you may set the environment variables PULSEAUDIO_CFLAGS 15676and PULSEAUDIO_LIBS to avoid the need to call pkg-config. 15677See the pkg-config man page for more details." "$LINENO" 5 15678elif test $pkg_failed = untried; then 15679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15680$as_echo "no" >&6; } 15681 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15682$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15683as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 15684is in your PATH or set the PKG_CONFIG environment variable to the full 15685path to pkg-config. 15686 15687Alternatively, you may set the environment variables PULSEAUDIO_CFLAGS 15688and PULSEAUDIO_LIBS to avoid the need to call pkg-config. 15689See the pkg-config man page for more details. 15690 15691To get pkg-config, see <http://pkg-config.freedesktop.org/>. 15692See \`config.log' for more details" "$LINENO" 5; } 15693else 15694 PULSEAUDIO_CFLAGS=$pkg_cv_PULSEAUDIO_CFLAGS 15695 PULSEAUDIO_LIBS=$pkg_cv_PULSEAUDIO_LIBS 15696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15697$as_echo "yes" >&6; } 15698 15699fi 15700 15701 15702 CFLAGS="$CFLAGS -DPULSEAUDIO" 15703fi 15704 15705uselibfftw=yes 15706fftw_found=no 15707 15708# Check whether --enable-libfftw was given. 15709if test "${enable_libfftw+set}" = set; then : 15710 enableval=$enable_libfftw; 15711 if test "x$enableval" = "xno"; then 15712 uselibfftw=no 15713 fi 15714 15715fi 15716 15717 15718 15719if test "x$uselibfftw" = "xyes"; then 15720 15721pkg_failed=no 15722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFTW" >&5 15723$as_echo_n "checking for LIBFFTW... " >&6; } 15724 15725if test -n "$LIBFFTW_CFLAGS"; then 15726 pkg_cv_LIBFFTW_CFLAGS="$LIBFFTW_CFLAGS" 15727 elif test -n "$PKG_CONFIG"; then 15728 if test -n "$PKG_CONFIG" && \ 15729 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fftw3 >= 3.2.2 15730 fftw3f >= 3.2.2\""; } >&5 15731 ($PKG_CONFIG --exists --print-errors "fftw3 >= 3.2.2 15732 fftw3f >= 3.2.2") 2>&5 15733 ac_status=$? 15734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15735 test $ac_status = 0; }; then 15736 pkg_cv_LIBFFTW_CFLAGS=`$PKG_CONFIG --cflags "fftw3 >= 3.2.2 15737 fftw3f >= 3.2.2" 2>/dev/null` 15738 test "x$?" != "x0" && pkg_failed=yes 15739else 15740 pkg_failed=yes 15741fi 15742 else 15743 pkg_failed=untried 15744fi 15745if test -n "$LIBFFTW_LIBS"; then 15746 pkg_cv_LIBFFTW_LIBS="$LIBFFTW_LIBS" 15747 elif test -n "$PKG_CONFIG"; then 15748 if test -n "$PKG_CONFIG" && \ 15749 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fftw3 >= 3.2.2 15750 fftw3f >= 3.2.2\""; } >&5 15751 ($PKG_CONFIG --exists --print-errors "fftw3 >= 3.2.2 15752 fftw3f >= 3.2.2") 2>&5 15753 ac_status=$? 15754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15755 test $ac_status = 0; }; then 15756 pkg_cv_LIBFFTW_LIBS=`$PKG_CONFIG --libs "fftw3 >= 3.2.2 15757 fftw3f >= 3.2.2" 2>/dev/null` 15758 test "x$?" != "x0" && pkg_failed=yes 15759else 15760 pkg_failed=yes 15761fi 15762 else 15763 pkg_failed=untried 15764fi 15765 15766 15767 15768if test $pkg_failed = yes; then 15769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15770$as_echo "no" >&6; } 15771 15772if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15773 _pkg_short_errors_supported=yes 15774else 15775 _pkg_short_errors_supported=no 15776fi 15777 if test $_pkg_short_errors_supported = yes; then 15778 LIBFFTW_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fftw3 >= 3.2.2 15779 fftw3f >= 3.2.2" 2>&1` 15780 else 15781 LIBFFTW_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fftw3 >= 3.2.2 15782 fftw3f >= 3.2.2" 2>&1` 15783 fi 15784 # Put the nasty error message in config.log where it belongs 15785 echo "$LIBFFTW_PKG_ERRORS" >&5 15786 15787 fftw_found=no 15788elif test $pkg_failed = untried; then 15789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15790$as_echo "no" >&6; } 15791 fftw_found=no 15792else 15793 LIBFFTW_CFLAGS=$pkg_cv_LIBFFTW_CFLAGS 15794 LIBFFTW_LIBS=$pkg_cv_LIBFFTW_LIBS 15795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15796$as_echo "yes" >&6; } 15797 fftw_found=yes 15798fi 15799 if test "x$fftw_found" = xyes ; then 15800 15801 15802 CFLAGS="$CFLAGS -DLIBFFTW" 15803 else 15804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No libfftw was found : FFT will be slower " >&5 15805$as_echo "$as_me: WARNING: No libfftw was found : FFT will be slower " >&2;} 15806 fi 15807fi 15808 15809 15810 15811if test "x${prefix}" = "xNONE"; then 15812 15813cat >>confdefs.h <<_ACEOF 15814#define PACKAGE_LOCALE_DIR "${ac_default_prefix}/${DATADIRNAME}/locale" 15815_ACEOF 15816 15817else 15818 15819cat >>confdefs.h <<_ACEOF 15820#define PACKAGE_LOCALE_DIR "${prefix}/${DATADIRNAME}/locale" 15821_ACEOF 15822 15823fi 15824 15825packagesrcdir=`cd $srcdir && pwd` 15826 15827if test "x${prefix}" = "xNONE"; then 15828 packageprefix=${ac_default_prefix} 15829else 15830 packageprefix=${prefix} 15831fi 15832 15833packagedatadir=share 15834packagedocdir=doc/${PACKAGE} 15835 15836packagepixmapsdir=share/pixmaps/${PACKAGE} 15837packageicondir=share/icons/hicolor/scalable/apps/ 15838packagehelpdir=share/gnome/help/${PACKAGE} 15839packagemenudir=share/applications 15840 15841NO_PREFIX_PACKAGE_DATA_DIR="${packagedatadir}" 15842 15843PACKAGE_DATA_DIR="${packageprefix}/${packagedatadir}" 15844 15845 15846NO_PREFIX_PACKAGE_DOC_DIR="${packagedocdir}" 15847 15848PACKAGE_DOC_DIR="${packageprefix}/${packagedocdir}" 15849 15850 15851NO_PREFIX_PACKAGE_PIXMAPS_DIR="${packagepixmapsdir}" 15852 15853PACKAGE_PIXMAPS_DIR="${packageprefix}/${packagepixmapsdir}" 15854 15855 15856NO_PREFIX_PACKAGE_ICON_DIR="${packageicondir}" 15857 15858PACKAGE_ICON_DIR="${packageprefix}/${packageicondir}" 15859 15860 15861NO_PREFIX_PACKAGE_HELP_DIR="${packagehelpdir}" 15862 15863PACKAGE_HELP_DIR="${packageprefix}/${packagehelpdir}" 15864 15865 15866NO_PREFIX_PACKAGE_MENU_DIR="${packagemenudir}" 15867 15868PACKAGE_MENU_DIR="${packageprefix}/${packagemenudir}" 15869 15870 15871 15872 15873 15874$as_echo "#define PACKAGE_DATA_DIR share" >>confdefs.h 15875 15876 15877$as_echo "#define PACKAGE_DOC_DIR doc" >>confdefs.h 15878 15879 15880$as_echo "#define PACKAGE_HELP_DIR doc" >>confdefs.h 15881 15882 15883$as_echo "#define PACKAGE_MENU_DIR /**/" >>confdefs.h 15884 15885 15886$as_echo "#define PACKAGE_ICON_DIR icons" >>confdefs.h 15887 15888 15889$as_echo "#define PACKAGE_SRC_DIR src" >>confdefs.h 15890 15891 15892 15893ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile icons/Makefile test/Makefile org.nongnu.lingot.desktop" 15894 15895cat >confcache <<\_ACEOF 15896# This file is a shell script that caches the results of configure 15897# tests run on this system so they can be shared between configure 15898# scripts and configure runs, see configure's option --config-cache. 15899# It is not useful on other systems. If it contains results you don't 15900# want to keep, you may remove or edit it. 15901# 15902# config.status only pays attention to the cache file if you give it 15903# the --recheck option to rerun configure. 15904# 15905# `ac_cv_env_foo' variables (set or unset) will be overridden when 15906# loading this file, other *unset* `ac_cv_foo' will be assigned the 15907# following values. 15908 15909_ACEOF 15910 15911# The following way of writing the cache mishandles newlines in values, 15912# but we know of no workaround that is simple, portable, and efficient. 15913# So, we kill variables containing newlines. 15914# Ultrix sh set writes to stderr and can't be redirected directly, 15915# and sets the high bit in the cache file unless we assign to the vars. 15916( 15917 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 15918 eval ac_val=\$$ac_var 15919 case $ac_val in #( 15920 *${as_nl}*) 15921 case $ac_var in #( 15922 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 15923$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 15924 esac 15925 case $ac_var in #( 15926 _ | IFS | as_nl) ;; #( 15927 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 15928 *) { eval $ac_var=; unset $ac_var;} ;; 15929 esac ;; 15930 esac 15931 done 15932 15933 (set) 2>&1 | 15934 case $as_nl`(ac_space=' '; set) 2>&1` in #( 15935 *${as_nl}ac_space=\ *) 15936 # `set' does not quote correctly, so add quotes: double-quote 15937 # substitution turns \\\\ into \\, and sed turns \\ into \. 15938 sed -n \ 15939 "s/'/'\\\\''/g; 15940 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 15941 ;; #( 15942 *) 15943 # `set' quotes correctly as required by POSIX, so do not add quotes. 15944 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 15945 ;; 15946 esac | 15947 sort 15948) | 15949 sed ' 15950 /^ac_cv_env_/b end 15951 t clear 15952 :clear 15953 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 15954 t end 15955 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 15956 :end' >>confcache 15957if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 15958 if test -w "$cache_file"; then 15959 if test "x$cache_file" != "x/dev/null"; then 15960 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 15961$as_echo "$as_me: updating cache $cache_file" >&6;} 15962 if test ! -f "$cache_file" || test -h "$cache_file"; then 15963 cat confcache >"$cache_file" 15964 else 15965 case $cache_file in #( 15966 */* | ?:*) 15967 mv -f confcache "$cache_file"$$ && 15968 mv -f "$cache_file"$$ "$cache_file" ;; #( 15969 *) 15970 mv -f confcache "$cache_file" ;; 15971 esac 15972 fi 15973 fi 15974 else 15975 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 15976$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 15977 fi 15978fi 15979rm -f confcache 15980 15981test "x$prefix" = xNONE && prefix=$ac_default_prefix 15982# Let make expand exec_prefix. 15983test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 15984 15985DEFS=-DHAVE_CONFIG_H 15986 15987ac_libobjs= 15988ac_ltlibobjs= 15989U= 15990for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 15991 # 1. Remove the extension, and $U if already installed. 15992 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 15993 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 15994 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 15995 # will be set to the directory where LIBOBJS objects are built. 15996 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 15997 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 15998done 15999LIBOBJS=$ac_libobjs 16000 16001LTLIBOBJS=$ac_ltlibobjs 16002 16003 16004{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 16005$as_echo_n "checking that generated files are newer than configure... " >&6; } 16006 if test -n "$am_sleep_pid"; then 16007 # Hide warnings about reused PIDs. 16008 wait $am_sleep_pid 2>/dev/null 16009 fi 16010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 16011$as_echo "done" >&6; } 16012 if test -n "$EXEEXT"; then 16013 am__EXEEXT_TRUE= 16014 am__EXEEXT_FALSE='#' 16015else 16016 am__EXEEXT_TRUE='#' 16017 am__EXEEXT_FALSE= 16018fi 16019 16020if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 16021 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 16022Usually this means the macro was only invoked conditionally." "$LINENO" 5 16023fi 16024if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 16025 as_fn_error $? "conditional \"AMDEP\" was never defined. 16026Usually this means the macro was only invoked conditionally." "$LINENO" 5 16027fi 16028if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 16029 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 16030Usually this means the macro was only invoked conditionally." "$LINENO" 5 16031fi 16032if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 16033 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 16034Usually this means the macro was only invoked conditionally." "$LINENO" 5 16035fi 16036 16037 ac_config_commands="$ac_config_commands po/stamp-it" 16038 16039 16040if test -z "${HAVE_JACK_TRUE}" && test -z "${HAVE_JACK_FALSE}"; then 16041 as_fn_error $? "conditional \"HAVE_JACK\" was never defined. 16042Usually this means the macro was only invoked conditionally." "$LINENO" 5 16043fi 16044if test -z "${HAVE_PULSEAUDIO_TRUE}" && test -z "${HAVE_PULSEAUDIO_FALSE}"; then 16045 as_fn_error $? "conditional \"HAVE_PULSEAUDIO\" was never defined. 16046Usually this means the macro was only invoked conditionally." "$LINENO" 5 16047fi 16048 16049: "${CONFIG_STATUS=./config.status}" 16050ac_write_fail=0 16051ac_clean_files_save=$ac_clean_files 16052ac_clean_files="$ac_clean_files $CONFIG_STATUS" 16053{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 16054$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 16055as_write_fail=0 16056cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 16057#! $SHELL 16058# Generated by $as_me. 16059# Run this file to recreate the current configuration. 16060# Compiler output produced by configure, useful for debugging 16061# configure, is in config.log if it exists. 16062 16063debug=false 16064ac_cs_recheck=false 16065ac_cs_silent=false 16066 16067SHELL=\${CONFIG_SHELL-$SHELL} 16068export SHELL 16069_ASEOF 16070cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 16071## -------------------- ## 16072## M4sh Initialization. ## 16073## -------------------- ## 16074 16075# Be more Bourne compatible 16076DUALCASE=1; export DUALCASE # for MKS sh 16077if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 16078 emulate sh 16079 NULLCMD=: 16080 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 16081 # is contrary to our usage. Disable this feature. 16082 alias -g '${1+"$@"}'='"$@"' 16083 setopt NO_GLOB_SUBST 16084else 16085 case `(set -o) 2>/dev/null` in #( 16086 *posix*) : 16087 set -o posix ;; #( 16088 *) : 16089 ;; 16090esac 16091fi 16092 16093 16094as_nl=' 16095' 16096export as_nl 16097# Printing a long string crashes Solaris 7 /usr/bin/printf. 16098as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 16099as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 16100as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 16101# Prefer a ksh shell builtin over an external printf program on Solaris, 16102# but without wasting forks for bash or zsh. 16103if test -z "$BASH_VERSION$ZSH_VERSION" \ 16104 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 16105 as_echo='print -r --' 16106 as_echo_n='print -rn --' 16107elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 16108 as_echo='printf %s\n' 16109 as_echo_n='printf %s' 16110else 16111 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 16112 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 16113 as_echo_n='/usr/ucb/echo -n' 16114 else 16115 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 16116 as_echo_n_body='eval 16117 arg=$1; 16118 case $arg in #( 16119 *"$as_nl"*) 16120 expr "X$arg" : "X\\(.*\\)$as_nl"; 16121 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 16122 esac; 16123 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 16124 ' 16125 export as_echo_n_body 16126 as_echo_n='sh -c $as_echo_n_body as_echo' 16127 fi 16128 export as_echo_body 16129 as_echo='sh -c $as_echo_body as_echo' 16130fi 16131 16132# The user is always right. 16133if test "${PATH_SEPARATOR+set}" != set; then 16134 PATH_SEPARATOR=: 16135 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 16136 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 16137 PATH_SEPARATOR=';' 16138 } 16139fi 16140 16141 16142# IFS 16143# We need space, tab and new line, in precisely that order. Quoting is 16144# there to prevent editors from complaining about space-tab. 16145# (If _AS_PATH_WALK were called with IFS unset, it would disable word 16146# splitting by setting IFS to empty value.) 16147IFS=" "" $as_nl" 16148 16149# Find who we are. Look in the path if we contain no directory separator. 16150as_myself= 16151case $0 in #(( 16152 *[\\/]* ) as_myself=$0 ;; 16153 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16154for as_dir in $PATH 16155do 16156 IFS=$as_save_IFS 16157 test -z "$as_dir" && as_dir=. 16158 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 16159 done 16160IFS=$as_save_IFS 16161 16162 ;; 16163esac 16164# We did not find ourselves, most probably we were run as `sh COMMAND' 16165# in which case we are not to be found in the path. 16166if test "x$as_myself" = x; then 16167 as_myself=$0 16168fi 16169if test ! -f "$as_myself"; then 16170 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 16171 exit 1 16172fi 16173 16174# Unset variables that we do not need and which cause bugs (e.g. in 16175# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 16176# suppresses any "Segmentation fault" message there. '((' could 16177# trigger a bug in pdksh 5.2.14. 16178for as_var in BASH_ENV ENV MAIL MAILPATH 16179do eval test x\${$as_var+set} = xset \ 16180 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 16181done 16182PS1='$ ' 16183PS2='> ' 16184PS4='+ ' 16185 16186# NLS nuisances. 16187LC_ALL=C 16188export LC_ALL 16189LANGUAGE=C 16190export LANGUAGE 16191 16192# CDPATH. 16193(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 16194 16195 16196# as_fn_error STATUS ERROR [LINENO LOG_FD] 16197# ---------------------------------------- 16198# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 16199# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 16200# script with STATUS, using 1 if that was 0. 16201as_fn_error () 16202{ 16203 as_status=$1; test $as_status -eq 0 && as_status=1 16204 if test "$4"; then 16205 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 16206 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 16207 fi 16208 $as_echo "$as_me: error: $2" >&2 16209 as_fn_exit $as_status 16210} # as_fn_error 16211 16212 16213# as_fn_set_status STATUS 16214# ----------------------- 16215# Set $? to STATUS, without forking. 16216as_fn_set_status () 16217{ 16218 return $1 16219} # as_fn_set_status 16220 16221# as_fn_exit STATUS 16222# ----------------- 16223# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 16224as_fn_exit () 16225{ 16226 set +e 16227 as_fn_set_status $1 16228 exit $1 16229} # as_fn_exit 16230 16231# as_fn_unset VAR 16232# --------------- 16233# Portably unset VAR. 16234as_fn_unset () 16235{ 16236 { eval $1=; unset $1;} 16237} 16238as_unset=as_fn_unset 16239# as_fn_append VAR VALUE 16240# ---------------------- 16241# Append the text in VALUE to the end of the definition contained in VAR. Take 16242# advantage of any shell optimizations that allow amortized linear growth over 16243# repeated appends, instead of the typical quadratic growth present in naive 16244# implementations. 16245if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 16246 eval 'as_fn_append () 16247 { 16248 eval $1+=\$2 16249 }' 16250else 16251 as_fn_append () 16252 { 16253 eval $1=\$$1\$2 16254 } 16255fi # as_fn_append 16256 16257# as_fn_arith ARG... 16258# ------------------ 16259# Perform arithmetic evaluation on the ARGs, and store the result in the 16260# global $as_val. Take advantage of shells that can avoid forks. The arguments 16261# must be portable across $(()) and expr. 16262if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 16263 eval 'as_fn_arith () 16264 { 16265 as_val=$(( $* )) 16266 }' 16267else 16268 as_fn_arith () 16269 { 16270 as_val=`expr "$@" || test $? -eq 1` 16271 } 16272fi # as_fn_arith 16273 16274 16275if expr a : '\(a\)' >/dev/null 2>&1 && 16276 test "X`expr 00001 : '.*\(...\)'`" = X001; then 16277 as_expr=expr 16278else 16279 as_expr=false 16280fi 16281 16282if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 16283 as_basename=basename 16284else 16285 as_basename=false 16286fi 16287 16288if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 16289 as_dirname=dirname 16290else 16291 as_dirname=false 16292fi 16293 16294as_me=`$as_basename -- "$0" || 16295$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 16296 X"$0" : 'X\(//\)$' \| \ 16297 X"$0" : 'X\(/\)' \| . 2>/dev/null || 16298$as_echo X/"$0" | 16299 sed '/^.*\/\([^/][^/]*\)\/*$/{ 16300 s//\1/ 16301 q 16302 } 16303 /^X\/\(\/\/\)$/{ 16304 s//\1/ 16305 q 16306 } 16307 /^X\/\(\/\).*/{ 16308 s//\1/ 16309 q 16310 } 16311 s/.*/./; q'` 16312 16313# Avoid depending upon Character Ranges. 16314as_cr_letters='abcdefghijklmnopqrstuvwxyz' 16315as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 16316as_cr_Letters=$as_cr_letters$as_cr_LETTERS 16317as_cr_digits='0123456789' 16318as_cr_alnum=$as_cr_Letters$as_cr_digits 16319 16320ECHO_C= ECHO_N= ECHO_T= 16321case `echo -n x` in #((((( 16322-n*) 16323 case `echo 'xy\c'` in 16324 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 16325 xy) ECHO_C='\c';; 16326 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 16327 ECHO_T=' ';; 16328 esac;; 16329*) 16330 ECHO_N='-n';; 16331esac 16332 16333rm -f conf$$ conf$$.exe conf$$.file 16334if test -d conf$$.dir; then 16335 rm -f conf$$.dir/conf$$.file 16336else 16337 rm -f conf$$.dir 16338 mkdir conf$$.dir 2>/dev/null 16339fi 16340if (echo >conf$$.file) 2>/dev/null; then 16341 if ln -s conf$$.file conf$$ 2>/dev/null; then 16342 as_ln_s='ln -s' 16343 # ... but there are two gotchas: 16344 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 16345 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 16346 # In both cases, we have to default to `cp -pR'. 16347 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 16348 as_ln_s='cp -pR' 16349 elif ln conf$$.file conf$$ 2>/dev/null; then 16350 as_ln_s=ln 16351 else 16352 as_ln_s='cp -pR' 16353 fi 16354else 16355 as_ln_s='cp -pR' 16356fi 16357rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 16358rmdir conf$$.dir 2>/dev/null 16359 16360 16361# as_fn_mkdir_p 16362# ------------- 16363# Create "$as_dir" as a directory, including parents if necessary. 16364as_fn_mkdir_p () 16365{ 16366 16367 case $as_dir in #( 16368 -*) as_dir=./$as_dir;; 16369 esac 16370 test -d "$as_dir" || eval $as_mkdir_p || { 16371 as_dirs= 16372 while :; do 16373 case $as_dir in #( 16374 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 16375 *) as_qdir=$as_dir;; 16376 esac 16377 as_dirs="'$as_qdir' $as_dirs" 16378 as_dir=`$as_dirname -- "$as_dir" || 16379$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16380 X"$as_dir" : 'X\(//\)[^/]' \| \ 16381 X"$as_dir" : 'X\(//\)$' \| \ 16382 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 16383$as_echo X"$as_dir" | 16384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16385 s//\1/ 16386 q 16387 } 16388 /^X\(\/\/\)[^/].*/{ 16389 s//\1/ 16390 q 16391 } 16392 /^X\(\/\/\)$/{ 16393 s//\1/ 16394 q 16395 } 16396 /^X\(\/\).*/{ 16397 s//\1/ 16398 q 16399 } 16400 s/.*/./; q'` 16401 test -d "$as_dir" && break 16402 done 16403 test -z "$as_dirs" || eval "mkdir $as_dirs" 16404 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 16405 16406 16407} # as_fn_mkdir_p 16408if mkdir -p . 2>/dev/null; then 16409 as_mkdir_p='mkdir -p "$as_dir"' 16410else 16411 test -d ./-p && rmdir ./-p 16412 as_mkdir_p=false 16413fi 16414 16415 16416# as_fn_executable_p FILE 16417# ----------------------- 16418# Test if FILE is an executable regular file. 16419as_fn_executable_p () 16420{ 16421 test -f "$1" && test -x "$1" 16422} # as_fn_executable_p 16423as_test_x='test -x' 16424as_executable_p=as_fn_executable_p 16425 16426# Sed expression to map a string onto a valid CPP name. 16427as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 16428 16429# Sed expression to map a string onto a valid variable name. 16430as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 16431 16432 16433exec 6>&1 16434## ----------------------------------- ## 16435## Main body of $CONFIG_STATUS script. ## 16436## ----------------------------------- ## 16437_ASEOF 16438test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 16439 16440cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16441# Save the log message, to keep $0 and so on meaningful, and to 16442# report actual input values of CONFIG_FILES etc. instead of their 16443# values after options handling. 16444ac_log=" 16445This file was extended by Lingot $as_me 1.0.1, which was 16446generated by GNU Autoconf 2.69. Invocation command line was 16447 16448 CONFIG_FILES = $CONFIG_FILES 16449 CONFIG_HEADERS = $CONFIG_HEADERS 16450 CONFIG_LINKS = $CONFIG_LINKS 16451 CONFIG_COMMANDS = $CONFIG_COMMANDS 16452 $ $0 $@ 16453 16454on `(hostname || uname -n) 2>/dev/null | sed 1q` 16455" 16456 16457_ACEOF 16458 16459case $ac_config_files in *" 16460"*) set x $ac_config_files; shift; ac_config_files=$*;; 16461esac 16462 16463case $ac_config_headers in *" 16464"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 16465esac 16466 16467 16468cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16469# Files that config.status was made for. 16470config_files="$ac_config_files" 16471config_headers="$ac_config_headers" 16472config_commands="$ac_config_commands" 16473 16474_ACEOF 16475 16476cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16477ac_cs_usage="\ 16478\`$as_me' instantiates files and other configuration actions 16479from templates according to the current configuration. Unless the files 16480and actions are specified as TAGs, all are instantiated by default. 16481 16482Usage: $0 [OPTION]... [TAG]... 16483 16484 -h, --help print this help, then exit 16485 -V, --version print version number and configuration settings, then exit 16486 --config print configuration, then exit 16487 -q, --quiet, --silent 16488 do not print progress messages 16489 -d, --debug don't remove temporary files 16490 --recheck update $as_me by reconfiguring in the same conditions 16491 --file=FILE[:TEMPLATE] 16492 instantiate the configuration file FILE 16493 --header=FILE[:TEMPLATE] 16494 instantiate the configuration header FILE 16495 16496Configuration files: 16497$config_files 16498 16499Configuration headers: 16500$config_headers 16501 16502Configuration commands: 16503$config_commands 16504 16505Report bugs to the package provider." 16506 16507_ACEOF 16508cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16509ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 16510ac_cs_version="\\ 16511Lingot config.status 1.0.1 16512configured by $0, generated by GNU Autoconf 2.69, 16513 with options \\"\$ac_cs_config\\" 16514 16515Copyright (C) 2012 Free Software Foundation, Inc. 16516This config.status script is free software; the Free Software Foundation 16517gives unlimited permission to copy, distribute and modify it." 16518 16519ac_pwd='$ac_pwd' 16520srcdir='$srcdir' 16521INSTALL='$INSTALL' 16522MKDIR_P='$MKDIR_P' 16523AWK='$AWK' 16524test -n "\$AWK" || AWK=awk 16525_ACEOF 16526 16527cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16528# The default lists apply if the user does not specify any file. 16529ac_need_defaults=: 16530while test $# != 0 16531do 16532 case $1 in 16533 --*=?*) 16534 ac_option=`expr "X$1" : 'X\([^=]*\)='` 16535 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 16536 ac_shift=: 16537 ;; 16538 --*=) 16539 ac_option=`expr "X$1" : 'X\([^=]*\)='` 16540 ac_optarg= 16541 ac_shift=: 16542 ;; 16543 *) 16544 ac_option=$1 16545 ac_optarg=$2 16546 ac_shift=shift 16547 ;; 16548 esac 16549 16550 case $ac_option in 16551 # Handling of the options. 16552 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 16553 ac_cs_recheck=: ;; 16554 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 16555 $as_echo "$ac_cs_version"; exit ;; 16556 --config | --confi | --conf | --con | --co | --c ) 16557 $as_echo "$ac_cs_config"; exit ;; 16558 --debug | --debu | --deb | --de | --d | -d ) 16559 debug=: ;; 16560 --file | --fil | --fi | --f ) 16561 $ac_shift 16562 case $ac_optarg in 16563 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 16564 '') as_fn_error $? "missing file argument" ;; 16565 esac 16566 as_fn_append CONFIG_FILES " '$ac_optarg'" 16567 ac_need_defaults=false;; 16568 --header | --heade | --head | --hea ) 16569 $ac_shift 16570 case $ac_optarg in 16571 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 16572 esac 16573 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 16574 ac_need_defaults=false;; 16575 --he | --h) 16576 # Conflict between --help and --header 16577 as_fn_error $? "ambiguous option: \`$1' 16578Try \`$0 --help' for more information.";; 16579 --help | --hel | -h ) 16580 $as_echo "$ac_cs_usage"; exit ;; 16581 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 16582 | -silent | --silent | --silen | --sile | --sil | --si | --s) 16583 ac_cs_silent=: ;; 16584 16585 # This is an error. 16586 -*) as_fn_error $? "unrecognized option: \`$1' 16587Try \`$0 --help' for more information." ;; 16588 16589 *) as_fn_append ac_config_targets " $1" 16590 ac_need_defaults=false ;; 16591 16592 esac 16593 shift 16594done 16595 16596ac_configure_extra_args= 16597 16598if $ac_cs_silent; then 16599 exec 6>/dev/null 16600 ac_configure_extra_args="$ac_configure_extra_args --silent" 16601fi 16602 16603_ACEOF 16604cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16605if \$ac_cs_recheck; then 16606 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 16607 shift 16608 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 16609 CONFIG_SHELL='$SHELL' 16610 export CONFIG_SHELL 16611 exec "\$@" 16612fi 16613 16614_ACEOF 16615cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16616exec 5>>config.log 16617{ 16618 echo 16619 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 16620## Running $as_me. ## 16621_ASBOX 16622 $as_echo "$ac_log" 16623} >&5 16624 16625_ACEOF 16626cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16627# 16628# INIT-COMMANDS 16629# 16630AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 16631 16632 16633 16634# The HP-UX ksh and POSIX shell print the target directory to stdout 16635# if CDPATH is set. 16636(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 16637 16638sed_quote_subst='$sed_quote_subst' 16639double_quote_subst='$double_quote_subst' 16640delay_variable_subst='$delay_variable_subst' 16641macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 16642macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 16643enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 16644enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 16645pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 16646enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 16647shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 16648SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 16649ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 16650PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 16651host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 16652host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 16653host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 16654build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 16655build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 16656build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 16657SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 16658Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 16659GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 16660EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 16661FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 16662LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 16663NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 16664LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 16665max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 16666ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 16667exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 16668lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 16669lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 16670lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 16671lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 16672lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 16673reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 16674reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 16675OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 16676deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 16677file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 16678file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 16679want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 16680DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 16681sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 16682AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 16683AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 16684archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 16685STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 16686RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 16687old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 16688old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 16689old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 16690lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 16691CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 16692CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 16693compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 16694GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 16695lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 16696lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 16697lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 16698lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 16699lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' 16700lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 16701nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 16702lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 16703lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 16704objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 16705MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 16706lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 16707lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 16708lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 16709lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 16710lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 16711need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 16712MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 16713DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 16714NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 16715LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 16716OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 16717OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 16718libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 16719shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 16720extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 16721archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 16722enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 16723export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 16724whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 16725compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 16726old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 16727old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 16728archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 16729archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 16730module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 16731module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 16732with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 16733allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 16734no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 16735hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 16736hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 16737hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 16738hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 16739hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 16740hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 16741hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 16742inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 16743link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 16744always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 16745export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 16746exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 16747include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 16748prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 16749postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 16750file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 16751variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 16752need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 16753need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 16754version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 16755runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 16756shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 16757shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 16758libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 16759library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 16760soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 16761install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 16762postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 16763postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 16764finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 16765finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 16766hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 16767sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 16768configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 16769configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 16770hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 16771enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 16772enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 16773enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 16774old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 16775striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 16776 16777LTCC='$LTCC' 16778LTCFLAGS='$LTCFLAGS' 16779compiler='$compiler_DEFAULT' 16780 16781# A function that is used when there is no print builtin or printf. 16782func_fallback_echo () 16783{ 16784 eval 'cat <<_LTECHO_EOF 16785\$1 16786_LTECHO_EOF' 16787} 16788 16789# Quote evaled strings. 16790for var in SHELL \ 16791ECHO \ 16792PATH_SEPARATOR \ 16793SED \ 16794GREP \ 16795EGREP \ 16796FGREP \ 16797LD \ 16798NM \ 16799LN_S \ 16800lt_SP2NL \ 16801lt_NL2SP \ 16802reload_flag \ 16803OBJDUMP \ 16804deplibs_check_method \ 16805file_magic_cmd \ 16806file_magic_glob \ 16807want_nocaseglob \ 16808DLLTOOL \ 16809sharedlib_from_linklib_cmd \ 16810AR \ 16811AR_FLAGS \ 16812archiver_list_spec \ 16813STRIP \ 16814RANLIB \ 16815CC \ 16816CFLAGS \ 16817compiler \ 16818lt_cv_sys_global_symbol_pipe \ 16819lt_cv_sys_global_symbol_to_cdecl \ 16820lt_cv_sys_global_symbol_to_import \ 16821lt_cv_sys_global_symbol_to_c_name_address \ 16822lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 16823lt_cv_nm_interface \ 16824nm_file_list_spec \ 16825lt_cv_truncate_bin \ 16826lt_prog_compiler_no_builtin_flag \ 16827lt_prog_compiler_pic \ 16828lt_prog_compiler_wl \ 16829lt_prog_compiler_static \ 16830lt_cv_prog_compiler_c_o \ 16831need_locks \ 16832MANIFEST_TOOL \ 16833DSYMUTIL \ 16834NMEDIT \ 16835LIPO \ 16836OTOOL \ 16837OTOOL64 \ 16838shrext_cmds \ 16839export_dynamic_flag_spec \ 16840whole_archive_flag_spec \ 16841compiler_needs_object \ 16842with_gnu_ld \ 16843allow_undefined_flag \ 16844no_undefined_flag \ 16845hardcode_libdir_flag_spec \ 16846hardcode_libdir_separator \ 16847exclude_expsyms \ 16848include_expsyms \ 16849file_list_spec \ 16850variables_saved_for_relink \ 16851libname_spec \ 16852library_names_spec \ 16853soname_spec \ 16854install_override_mode \ 16855finish_eval \ 16856old_striplib \ 16857striplib; do 16858 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 16859 *[\\\\\\\`\\"\\\$]*) 16860 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 16861 ;; 16862 *) 16863 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 16864 ;; 16865 esac 16866done 16867 16868# Double-quote double-evaled strings. 16869for var in reload_cmds \ 16870old_postinstall_cmds \ 16871old_postuninstall_cmds \ 16872old_archive_cmds \ 16873extract_expsyms_cmds \ 16874old_archive_from_new_cmds \ 16875old_archive_from_expsyms_cmds \ 16876archive_cmds \ 16877archive_expsym_cmds \ 16878module_cmds \ 16879module_expsym_cmds \ 16880export_symbols_cmds \ 16881prelink_cmds \ 16882postlink_cmds \ 16883postinstall_cmds \ 16884postuninstall_cmds \ 16885finish_cmds \ 16886sys_lib_search_path_spec \ 16887configure_time_dlsearch_path \ 16888configure_time_lt_sys_library_path; do 16889 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 16890 *[\\\\\\\`\\"\\\$]*) 16891 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 16892 ;; 16893 *) 16894 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 16895 ;; 16896 esac 16897done 16898 16899ac_aux_dir='$ac_aux_dir' 16900 16901# See if we are running on zsh, and set the options that allow our 16902# commands through without removal of \ escapes INIT. 16903if test -n "\${ZSH_VERSION+set}"; then 16904 setopt NO_GLOB_SUBST 16905fi 16906 16907 16908 PACKAGE='$PACKAGE' 16909 VERSION='$VERSION' 16910 RM='$RM' 16911 ofile='$ofile' 16912 16913 16914 16915 16916_ACEOF 16917 16918cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16919 16920# Handling of arguments. 16921for ac_config_target in $ac_config_targets 16922do 16923 case $ac_config_target in 16924 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 16925 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 16926 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 16927 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 16928 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 16929 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 16930 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 16931 "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;; 16932 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; 16933 "org.nongnu.lingot.desktop") CONFIG_FILES="$CONFIG_FILES org.nongnu.lingot.desktop" ;; 16934 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; 16935 16936 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 16937 esac 16938done 16939 16940 16941# If the user did not use the arguments to specify the items to instantiate, 16942# then the envvar interface is used. Set only those that are not. 16943# We use the long form for the default assignment because of an extremely 16944# bizarre bug on SunOS 4.1.3. 16945if $ac_need_defaults; then 16946 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 16947 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 16948 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 16949fi 16950 16951# Have a temporary directory for convenience. Make it in the build tree 16952# simply because there is no reason against having it here, and in addition, 16953# creating and moving files from /tmp can sometimes cause problems. 16954# Hook for its removal unless debugging. 16955# Note that there is a small window in which the directory will not be cleaned: 16956# after its creation but before its name has been assigned to `$tmp'. 16957$debug || 16958{ 16959 tmp= ac_tmp= 16960 trap 'exit_status=$? 16961 : "${ac_tmp:=$tmp}" 16962 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 16963' 0 16964 trap 'as_fn_exit 1' 1 2 13 15 16965} 16966# Create a (secure) tmp directory for tmp files. 16967 16968{ 16969 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 16970 test -d "$tmp" 16971} || 16972{ 16973 tmp=./conf$$-$RANDOM 16974 (umask 077 && mkdir "$tmp") 16975} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 16976ac_tmp=$tmp 16977 16978# Set up the scripts for CONFIG_FILES section. 16979# No need to generate them if there are no CONFIG_FILES. 16980# This happens for instance with `./config.status config.h'. 16981if test -n "$CONFIG_FILES"; then 16982 16983 16984ac_cr=`echo X | tr X '\015'` 16985# On cygwin, bash can eat \r inside `` if the user requested igncr. 16986# But we know of no other shell where ac_cr would be empty at this 16987# point, so we can use a bashism as a fallback. 16988if test "x$ac_cr" = x; then 16989 eval ac_cr=\$\'\\r\' 16990fi 16991ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 16992if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 16993 ac_cs_awk_cr='\\r' 16994else 16995 ac_cs_awk_cr=$ac_cr 16996fi 16997 16998echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 16999_ACEOF 17000 17001 17002{ 17003 echo "cat >conf$$subs.awk <<_ACEOF" && 17004 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 17005 echo "_ACEOF" 17006} >conf$$subs.sh || 17007 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17008ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 17009ac_delim='%!_!# ' 17010for ac_last_try in false false false false false :; do 17011 . ./conf$$subs.sh || 17012 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17013 17014 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 17015 if test $ac_delim_n = $ac_delim_num; then 17016 break 17017 elif $ac_last_try; then 17018 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17019 else 17020 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 17021 fi 17022done 17023rm -f conf$$subs.sh 17024 17025cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17026cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 17027_ACEOF 17028sed -n ' 17029h 17030s/^/S["/; s/!.*/"]=/ 17031p 17032g 17033s/^[^!]*!// 17034:repl 17035t repl 17036s/'"$ac_delim"'$// 17037t delim 17038:nl 17039h 17040s/\(.\{148\}\)..*/\1/ 17041t more1 17042s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 17043p 17044n 17045b repl 17046:more1 17047s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 17048p 17049g 17050s/.\{148\}// 17051t nl 17052:delim 17053h 17054s/\(.\{148\}\)..*/\1/ 17055t more2 17056s/["\\]/\\&/g; s/^/"/; s/$/"/ 17057p 17058b 17059:more2 17060s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 17061p 17062g 17063s/.\{148\}// 17064t delim 17065' <conf$$subs.awk | sed ' 17066/^[^""]/{ 17067 N 17068 s/\n// 17069} 17070' >>$CONFIG_STATUS || ac_write_fail=1 17071rm -f conf$$subs.awk 17072cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17073_ACAWK 17074cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 17075 for (key in S) S_is_set[key] = 1 17076 FS = "" 17077 17078} 17079{ 17080 line = $ 0 17081 nfields = split(line, field, "@") 17082 substed = 0 17083 len = length(field[1]) 17084 for (i = 2; i < nfields; i++) { 17085 key = field[i] 17086 keylen = length(key) 17087 if (S_is_set[key]) { 17088 value = S[key] 17089 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 17090 len += length(value) + length(field[++i]) 17091 substed = 1 17092 } else 17093 len += 1 + keylen 17094 } 17095 17096 print line 17097} 17098 17099_ACAWK 17100_ACEOF 17101cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17102if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 17103 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 17104else 17105 cat 17106fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 17107 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 17108_ACEOF 17109 17110# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 17111# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 17112# trailing colons and then remove the whole line if VPATH becomes empty 17113# (actually we leave an empty line to preserve line numbers). 17114if test "x$srcdir" = x.; then 17115 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 17116h 17117s/// 17118s/^/:/ 17119s/[ ]*$/:/ 17120s/:\$(srcdir):/:/g 17121s/:\${srcdir}:/:/g 17122s/:@srcdir@:/:/g 17123s/^:*// 17124s/:*$// 17125x 17126s/\(=[ ]*\).*/\1/ 17127G 17128s/\n// 17129s/^[^=]*=[ ]*$// 17130}' 17131fi 17132 17133cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17134fi # test -n "$CONFIG_FILES" 17135 17136# Set up the scripts for CONFIG_HEADERS section. 17137# No need to generate them if there are no CONFIG_HEADERS. 17138# This happens for instance with `./config.status Makefile'. 17139if test -n "$CONFIG_HEADERS"; then 17140cat >"$ac_tmp/defines.awk" <<\_ACAWK || 17141BEGIN { 17142_ACEOF 17143 17144# Transform confdefs.h into an awk script `defines.awk', embedded as 17145# here-document in config.status, that substitutes the proper values into 17146# config.h.in to produce config.h. 17147 17148# Create a delimiter string that does not exist in confdefs.h, to ease 17149# handling of long lines. 17150ac_delim='%!_!# ' 17151for ac_last_try in false false :; do 17152 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 17153 if test -z "$ac_tt"; then 17154 break 17155 elif $ac_last_try; then 17156 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 17157 else 17158 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 17159 fi 17160done 17161 17162# For the awk script, D is an array of macro values keyed by name, 17163# likewise P contains macro parameters if any. Preserve backslash 17164# newline sequences. 17165 17166ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 17167sed -n ' 17168s/.\{148\}/&'"$ac_delim"'/g 17169t rset 17170:rset 17171s/^[ ]*#[ ]*define[ ][ ]*/ / 17172t def 17173d 17174:def 17175s/\\$// 17176t bsnl 17177s/["\\]/\\&/g 17178s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 17179D["\1"]=" \3"/p 17180s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 17181d 17182:bsnl 17183s/["\\]/\\&/g 17184s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 17185D["\1"]=" \3\\\\\\n"\\/p 17186t cont 17187s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 17188t cont 17189d 17190:cont 17191n 17192s/.\{148\}/&'"$ac_delim"'/g 17193t clear 17194:clear 17195s/\\$// 17196t bsnlc 17197s/["\\]/\\&/g; s/^/"/; s/$/"/p 17198d 17199:bsnlc 17200s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 17201b cont 17202' <confdefs.h | sed ' 17203s/'"$ac_delim"'/"\\\ 17204"/g' >>$CONFIG_STATUS || ac_write_fail=1 17205 17206cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17207 for (key in D) D_is_set[key] = 1 17208 FS = "" 17209} 17210/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 17211 line = \$ 0 17212 split(line, arg, " ") 17213 if (arg[1] == "#") { 17214 defundef = arg[2] 17215 mac1 = arg[3] 17216 } else { 17217 defundef = substr(arg[1], 2) 17218 mac1 = arg[2] 17219 } 17220 split(mac1, mac2, "(") #) 17221 macro = mac2[1] 17222 prefix = substr(line, 1, index(line, defundef) - 1) 17223 if (D_is_set[macro]) { 17224 # Preserve the white space surrounding the "#". 17225 print prefix "define", macro P[macro] D[macro] 17226 next 17227 } else { 17228 # Replace #undef with comments. This is necessary, for example, 17229 # in the case of _POSIX_SOURCE, which is predefined and required 17230 # on some systems where configure will not decide to define it. 17231 if (defundef == "undef") { 17232 print "/*", prefix defundef, macro, "*/" 17233 next 17234 } 17235 } 17236} 17237{ print } 17238_ACAWK 17239_ACEOF 17240cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17241 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 17242fi # test -n "$CONFIG_HEADERS" 17243 17244 17245eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 17246shift 17247for ac_tag 17248do 17249 case $ac_tag in 17250 :[FHLC]) ac_mode=$ac_tag; continue;; 17251 esac 17252 case $ac_mode$ac_tag in 17253 :[FHL]*:*);; 17254 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 17255 :[FH]-) ac_tag=-:-;; 17256 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 17257 esac 17258 ac_save_IFS=$IFS 17259 IFS=: 17260 set x $ac_tag 17261 IFS=$ac_save_IFS 17262 shift 17263 ac_file=$1 17264 shift 17265 17266 case $ac_mode in 17267 :L) ac_source=$1;; 17268 :[FH]) 17269 ac_file_inputs= 17270 for ac_f 17271 do 17272 case $ac_f in 17273 -) ac_f="$ac_tmp/stdin";; 17274 *) # Look for the file first in the build tree, then in the source tree 17275 # (if the path is not absolute). The absolute path cannot be DOS-style, 17276 # because $ac_f cannot contain `:'. 17277 test -f "$ac_f" || 17278 case $ac_f in 17279 [\\/$]*) false;; 17280 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 17281 esac || 17282 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 17283 esac 17284 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 17285 as_fn_append ac_file_inputs " '$ac_f'" 17286 done 17287 17288 # Let's still pretend it is `configure' which instantiates (i.e., don't 17289 # use $as_me), people would be surprised to read: 17290 # /* config.h. Generated by config.status. */ 17291 configure_input='Generated from '` 17292 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 17293 `' by configure.' 17294 if test x"$ac_file" != x-; then 17295 configure_input="$ac_file. $configure_input" 17296 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 17297$as_echo "$as_me: creating $ac_file" >&6;} 17298 fi 17299 # Neutralize special characters interpreted by sed in replacement strings. 17300 case $configure_input in #( 17301 *\&* | *\|* | *\\* ) 17302 ac_sed_conf_input=`$as_echo "$configure_input" | 17303 sed 's/[\\\\&|]/\\\\&/g'`;; #( 17304 *) ac_sed_conf_input=$configure_input;; 17305 esac 17306 17307 case $ac_tag in 17308 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 17309 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 17310 esac 17311 ;; 17312 esac 17313 17314 ac_dir=`$as_dirname -- "$ac_file" || 17315$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17316 X"$ac_file" : 'X\(//\)[^/]' \| \ 17317 X"$ac_file" : 'X\(//\)$' \| \ 17318 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 17319$as_echo X"$ac_file" | 17320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17321 s//\1/ 17322 q 17323 } 17324 /^X\(\/\/\)[^/].*/{ 17325 s//\1/ 17326 q 17327 } 17328 /^X\(\/\/\)$/{ 17329 s//\1/ 17330 q 17331 } 17332 /^X\(\/\).*/{ 17333 s//\1/ 17334 q 17335 } 17336 s/.*/./; q'` 17337 as_dir="$ac_dir"; as_fn_mkdir_p 17338 ac_builddir=. 17339 17340case "$ac_dir" in 17341.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 17342*) 17343 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 17344 # A ".." for each directory in $ac_dir_suffix. 17345 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 17346 case $ac_top_builddir_sub in 17347 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 17348 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 17349 esac ;; 17350esac 17351ac_abs_top_builddir=$ac_pwd 17352ac_abs_builddir=$ac_pwd$ac_dir_suffix 17353# for backward compatibility: 17354ac_top_builddir=$ac_top_build_prefix 17355 17356case $srcdir in 17357 .) # We are building in place. 17358 ac_srcdir=. 17359 ac_top_srcdir=$ac_top_builddir_sub 17360 ac_abs_top_srcdir=$ac_pwd ;; 17361 [\\/]* | ?:[\\/]* ) # Absolute name. 17362 ac_srcdir=$srcdir$ac_dir_suffix; 17363 ac_top_srcdir=$srcdir 17364 ac_abs_top_srcdir=$srcdir ;; 17365 *) # Relative name. 17366 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 17367 ac_top_srcdir=$ac_top_build_prefix$srcdir 17368 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 17369esac 17370ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 17371 17372 17373 case $ac_mode in 17374 :F) 17375 # 17376 # CONFIG_FILE 17377 # 17378 17379 case $INSTALL in 17380 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 17381 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 17382 esac 17383 ac_MKDIR_P=$MKDIR_P 17384 case $MKDIR_P in 17385 [\\/$]* | ?:[\\/]* ) ;; 17386 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 17387 esac 17388_ACEOF 17389 17390cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17391# If the template does not know about datarootdir, expand it. 17392# FIXME: This hack should be removed a few years after 2.60. 17393ac_datarootdir_hack=; ac_datarootdir_seen= 17394ac_sed_dataroot=' 17395/datarootdir/ { 17396 p 17397 q 17398} 17399/@datadir@/p 17400/@docdir@/p 17401/@infodir@/p 17402/@localedir@/p 17403/@mandir@/p' 17404case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 17405*datarootdir*) ac_datarootdir_seen=yes;; 17406*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 17407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 17408$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 17409_ACEOF 17410cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17411 ac_datarootdir_hack=' 17412 s&@datadir@&$datadir&g 17413 s&@docdir@&$docdir&g 17414 s&@infodir@&$infodir&g 17415 s&@localedir@&$localedir&g 17416 s&@mandir@&$mandir&g 17417 s&\\\${datarootdir}&$datarootdir&g' ;; 17418esac 17419_ACEOF 17420 17421# Neutralize VPATH when `$srcdir' = `.'. 17422# Shell code in configure.ac might set extrasub. 17423# FIXME: do we really want to maintain this feature? 17424cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17425ac_sed_extra="$ac_vpsub 17426$extrasub 17427_ACEOF 17428cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17429:t 17430/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 17431s|@configure_input@|$ac_sed_conf_input|;t t 17432s&@top_builddir@&$ac_top_builddir_sub&;t t 17433s&@top_build_prefix@&$ac_top_build_prefix&;t t 17434s&@srcdir@&$ac_srcdir&;t t 17435s&@abs_srcdir@&$ac_abs_srcdir&;t t 17436s&@top_srcdir@&$ac_top_srcdir&;t t 17437s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 17438s&@builddir@&$ac_builddir&;t t 17439s&@abs_builddir@&$ac_abs_builddir&;t t 17440s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 17441s&@INSTALL@&$ac_INSTALL&;t t 17442s&@MKDIR_P@&$ac_MKDIR_P&;t t 17443$ac_datarootdir_hack 17444" 17445eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 17446 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17447 17448test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 17449 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 17450 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 17451 "$ac_tmp/out"`; test -z "$ac_out"; } && 17452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 17453which seems to be undefined. Please make sure it is defined" >&5 17454$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 17455which seems to be undefined. Please make sure it is defined" >&2;} 17456 17457 rm -f "$ac_tmp/stdin" 17458 case $ac_file in 17459 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 17460 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 17461 esac \ 17462 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17463 ;; 17464 :H) 17465 # 17466 # CONFIG_HEADER 17467 # 17468 if test x"$ac_file" != x-; then 17469 { 17470 $as_echo "/* $configure_input */" \ 17471 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 17472 } >"$ac_tmp/config.h" \ 17473 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17474 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 17475 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 17476$as_echo "$as_me: $ac_file is unchanged" >&6;} 17477 else 17478 rm -f "$ac_file" 17479 mv "$ac_tmp/config.h" "$ac_file" \ 17480 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17481 fi 17482 else 17483 $as_echo "/* $configure_input */" \ 17484 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 17485 || as_fn_error $? "could not create -" "$LINENO" 5 17486 fi 17487# Compute "$ac_file"'s index in $config_headers. 17488_am_arg="$ac_file" 17489_am_stamp_count=1 17490for _am_header in $config_headers :; do 17491 case $_am_header in 17492 $_am_arg | $_am_arg:* ) 17493 break ;; 17494 * ) 17495 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 17496 esac 17497done 17498echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 17499$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17500 X"$_am_arg" : 'X\(//\)[^/]' \| \ 17501 X"$_am_arg" : 'X\(//\)$' \| \ 17502 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 17503$as_echo X"$_am_arg" | 17504 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17505 s//\1/ 17506 q 17507 } 17508 /^X\(\/\/\)[^/].*/{ 17509 s//\1/ 17510 q 17511 } 17512 /^X\(\/\/\)$/{ 17513 s//\1/ 17514 q 17515 } 17516 /^X\(\/\).*/{ 17517 s//\1/ 17518 q 17519 } 17520 s/.*/./; q'`/stamp-h$_am_stamp_count 17521 ;; 17522 17523 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 17524$as_echo "$as_me: executing $ac_file commands" >&6;} 17525 ;; 17526 esac 17527 17528 17529 case $ac_file$ac_mode in 17530 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 17531 # Older Autoconf quotes --file arguments for eval, but not when files 17532 # are listed without --file. Let's play safe and only enable the eval 17533 # if we detect the quoting. 17534 case $CONFIG_FILES in 17535 *\'*) eval set x "$CONFIG_FILES" ;; 17536 *) set x $CONFIG_FILES ;; 17537 esac 17538 shift 17539 for mf 17540 do 17541 # Strip MF so we end up with the name of the file. 17542 mf=`echo "$mf" | sed -e 's/:.*$//'` 17543 # Check whether this is an Automake generated Makefile or not. 17544 # We used to match only the files named 'Makefile.in', but 17545 # some people rename them; so instead we look at the file content. 17546 # Grep'ing the first line is not enough: some people post-process 17547 # each Makefile.in and add a new line on top of each file to say so. 17548 # Grep'ing the whole file is not good either: AIX grep has a line 17549 # limit of 2048, but all sed's we know have understand at least 4000. 17550 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 17551 dirpart=`$as_dirname -- "$mf" || 17552$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17553 X"$mf" : 'X\(//\)[^/]' \| \ 17554 X"$mf" : 'X\(//\)$' \| \ 17555 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 17556$as_echo X"$mf" | 17557 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17558 s//\1/ 17559 q 17560 } 17561 /^X\(\/\/\)[^/].*/{ 17562 s//\1/ 17563 q 17564 } 17565 /^X\(\/\/\)$/{ 17566 s//\1/ 17567 q 17568 } 17569 /^X\(\/\).*/{ 17570 s//\1/ 17571 q 17572 } 17573 s/.*/./; q'` 17574 else 17575 continue 17576 fi 17577 # Extract the definition of DEPDIR, am__include, and am__quote 17578 # from the Makefile without running 'make'. 17579 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 17580 test -z "$DEPDIR" && continue 17581 am__include=`sed -n 's/^am__include = //p' < "$mf"` 17582 test -z "$am__include" && continue 17583 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 17584 # Find all dependency output files, they are included files with 17585 # $(DEPDIR) in their names. We invoke sed twice because it is the 17586 # simplest approach to changing $(DEPDIR) to its actual value in the 17587 # expansion. 17588 for file in `sed -n " 17589 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 17590 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 17591 # Make sure the directory exists. 17592 test -f "$dirpart/$file" && continue 17593 fdir=`$as_dirname -- "$file" || 17594$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17595 X"$file" : 'X\(//\)[^/]' \| \ 17596 X"$file" : 'X\(//\)$' \| \ 17597 X"$file" : 'X\(/\)' \| . 2>/dev/null || 17598$as_echo X"$file" | 17599 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17600 s//\1/ 17601 q 17602 } 17603 /^X\(\/\/\)[^/].*/{ 17604 s//\1/ 17605 q 17606 } 17607 /^X\(\/\/\)$/{ 17608 s//\1/ 17609 q 17610 } 17611 /^X\(\/\).*/{ 17612 s//\1/ 17613 q 17614 } 17615 s/.*/./; q'` 17616 as_dir=$dirpart/$fdir; as_fn_mkdir_p 17617 # echo "creating $dirpart/$file" 17618 echo '# dummy' > "$dirpart/$file" 17619 done 17620 done 17621} 17622 ;; 17623 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) 17624 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile 17625 esac ;; 17626 "libtool":C) 17627 17628 # See if we are running on zsh, and set the options that allow our 17629 # commands through without removal of \ escapes. 17630 if test -n "${ZSH_VERSION+set}"; then 17631 setopt NO_GLOB_SUBST 17632 fi 17633 17634 cfgfile=${ofile}T 17635 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 17636 $RM "$cfgfile" 17637 17638 cat <<_LT_EOF >> "$cfgfile" 17639#! $SHELL 17640# Generated automatically by $as_me ($PACKAGE) $VERSION 17641# NOTE: Changes made to this file will be lost: look at ltmain.sh. 17642 17643# Provide generalized library-building support services. 17644# Written by Gordon Matzigkeit, 1996 17645 17646# Copyright (C) 2014 Free Software Foundation, Inc. 17647# This is free software; see the source for copying conditions. There is NO 17648# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 17649 17650# GNU Libtool is free software; you can redistribute it and/or modify 17651# it under the terms of the GNU General Public License as published by 17652# the Free Software Foundation; either version 2 of of the License, or 17653# (at your option) any later version. 17654# 17655# As a special exception to the GNU General Public License, if you 17656# distribute this file as part of a program or library that is built 17657# using GNU Libtool, you may include this file under the same 17658# distribution terms that you use for the rest of that program. 17659# 17660# GNU Libtool is distributed in the hope that it will be useful, but 17661# WITHOUT ANY WARRANTY; without even the implied warranty of 17662# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17663# GNU General Public License for more details. 17664# 17665# You should have received a copy of the GNU General Public License 17666# along with this program. If not, see <http://www.gnu.org/licenses/>. 17667 17668 17669# The names of the tagged configurations supported by this script. 17670available_tags='' 17671 17672# Configured defaults for sys_lib_dlsearch_path munging. 17673: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 17674 17675# ### BEGIN LIBTOOL CONFIG 17676 17677# Which release of libtool.m4 was used? 17678macro_version=$macro_version 17679macro_revision=$macro_revision 17680 17681# Whether or not to build shared libraries. 17682build_libtool_libs=$enable_shared 17683 17684# Whether or not to build static libraries. 17685build_old_libs=$enable_static 17686 17687# What type of objects to build. 17688pic_mode=$pic_mode 17689 17690# Whether or not to optimize for fast installation. 17691fast_install=$enable_fast_install 17692 17693# Shared archive member basename,for filename based shared library versioning on AIX. 17694shared_archive_member_spec=$shared_archive_member_spec 17695 17696# Shell to use when invoking shell scripts. 17697SHELL=$lt_SHELL 17698 17699# An echo program that protects backslashes. 17700ECHO=$lt_ECHO 17701 17702# The PATH separator for the build system. 17703PATH_SEPARATOR=$lt_PATH_SEPARATOR 17704 17705# The host system. 17706host_alias=$host_alias 17707host=$host 17708host_os=$host_os 17709 17710# The build system. 17711build_alias=$build_alias 17712build=$build 17713build_os=$build_os 17714 17715# A sed program that does not truncate output. 17716SED=$lt_SED 17717 17718# Sed that helps us avoid accidentally triggering echo(1) options like -n. 17719Xsed="\$SED -e 1s/^X//" 17720 17721# A grep program that handles long lines. 17722GREP=$lt_GREP 17723 17724# An ERE matcher. 17725EGREP=$lt_EGREP 17726 17727# A literal string matcher. 17728FGREP=$lt_FGREP 17729 17730# A BSD- or MS-compatible name lister. 17731NM=$lt_NM 17732 17733# Whether we need soft or hard links. 17734LN_S=$lt_LN_S 17735 17736# What is the maximum length of a command? 17737max_cmd_len=$max_cmd_len 17738 17739# Object file suffix (normally "o"). 17740objext=$ac_objext 17741 17742# Executable file suffix (normally ""). 17743exeext=$exeext 17744 17745# whether the shell understands "unset". 17746lt_unset=$lt_unset 17747 17748# turn spaces into newlines. 17749SP2NL=$lt_lt_SP2NL 17750 17751# turn newlines into spaces. 17752NL2SP=$lt_lt_NL2SP 17753 17754# convert \$build file names to \$host format. 17755to_host_file_cmd=$lt_cv_to_host_file_cmd 17756 17757# convert \$build files to toolchain format. 17758to_tool_file_cmd=$lt_cv_to_tool_file_cmd 17759 17760# An object symbol dumper. 17761OBJDUMP=$lt_OBJDUMP 17762 17763# Method to check whether dependent libraries are shared objects. 17764deplibs_check_method=$lt_deplibs_check_method 17765 17766# Command to use when deplibs_check_method = "file_magic". 17767file_magic_cmd=$lt_file_magic_cmd 17768 17769# How to find potential files when deplibs_check_method = "file_magic". 17770file_magic_glob=$lt_file_magic_glob 17771 17772# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 17773want_nocaseglob=$lt_want_nocaseglob 17774 17775# DLL creation program. 17776DLLTOOL=$lt_DLLTOOL 17777 17778# Command to associate shared and link libraries. 17779sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 17780 17781# The archiver. 17782AR=$lt_AR 17783 17784# Flags to create an archive. 17785AR_FLAGS=$lt_AR_FLAGS 17786 17787# How to feed a file listing to the archiver. 17788archiver_list_spec=$lt_archiver_list_spec 17789 17790# A symbol stripping program. 17791STRIP=$lt_STRIP 17792 17793# Commands used to install an old-style archive. 17794RANLIB=$lt_RANLIB 17795old_postinstall_cmds=$lt_old_postinstall_cmds 17796old_postuninstall_cmds=$lt_old_postuninstall_cmds 17797 17798# Whether to use a lock for old archive extraction. 17799lock_old_archive_extraction=$lock_old_archive_extraction 17800 17801# A C compiler. 17802LTCC=$lt_CC 17803 17804# LTCC compiler flags. 17805LTCFLAGS=$lt_CFLAGS 17806 17807# Take the output of nm and produce a listing of raw symbols and C names. 17808global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 17809 17810# Transform the output of nm in a proper C declaration. 17811global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 17812 17813# Transform the output of nm into a list of symbols to manually relocate. 17814global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 17815 17816# Transform the output of nm in a C name address pair. 17817global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 17818 17819# Transform the output of nm in a C name address pair when lib prefix is needed. 17820global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 17821 17822# The name lister interface. 17823nm_interface=$lt_lt_cv_nm_interface 17824 17825# Specify filename containing input files for \$NM. 17826nm_file_list_spec=$lt_nm_file_list_spec 17827 17828# The root where to search for dependent libraries,and where our libraries should be installed. 17829lt_sysroot=$lt_sysroot 17830 17831# Command to truncate a binary pipe. 17832lt_truncate_bin=$lt_lt_cv_truncate_bin 17833 17834# The name of the directory that contains temporary libtool files. 17835objdir=$objdir 17836 17837# Used to examine libraries when file_magic_cmd begins with "file". 17838MAGIC_CMD=$MAGIC_CMD 17839 17840# Must we lock files when doing compilation? 17841need_locks=$lt_need_locks 17842 17843# Manifest tool. 17844MANIFEST_TOOL=$lt_MANIFEST_TOOL 17845 17846# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 17847DSYMUTIL=$lt_DSYMUTIL 17848 17849# Tool to change global to local symbols on Mac OS X. 17850NMEDIT=$lt_NMEDIT 17851 17852# Tool to manipulate fat objects and archives on Mac OS X. 17853LIPO=$lt_LIPO 17854 17855# ldd/readelf like tool for Mach-O binaries on Mac OS X. 17856OTOOL=$lt_OTOOL 17857 17858# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 17859OTOOL64=$lt_OTOOL64 17860 17861# Old archive suffix (normally "a"). 17862libext=$libext 17863 17864# Shared library suffix (normally ".so"). 17865shrext_cmds=$lt_shrext_cmds 17866 17867# The commands to extract the exported symbol list from a shared archive. 17868extract_expsyms_cmds=$lt_extract_expsyms_cmds 17869 17870# Variables whose values should be saved in libtool wrapper scripts and 17871# restored at link time. 17872variables_saved_for_relink=$lt_variables_saved_for_relink 17873 17874# Do we need the "lib" prefix for modules? 17875need_lib_prefix=$need_lib_prefix 17876 17877# Do we need a version for libraries? 17878need_version=$need_version 17879 17880# Library versioning type. 17881version_type=$version_type 17882 17883# Shared library runtime path variable. 17884runpath_var=$runpath_var 17885 17886# Shared library path variable. 17887shlibpath_var=$shlibpath_var 17888 17889# Is shlibpath searched before the hard-coded library search path? 17890shlibpath_overrides_runpath=$shlibpath_overrides_runpath 17891 17892# Format of library name prefix. 17893libname_spec=$lt_libname_spec 17894 17895# List of archive names. First name is the real one, the rest are links. 17896# The last name is the one that the linker finds with -lNAME 17897library_names_spec=$lt_library_names_spec 17898 17899# The coded name of the library, if different from the real name. 17900soname_spec=$lt_soname_spec 17901 17902# Permission mode override for installation of shared libraries. 17903install_override_mode=$lt_install_override_mode 17904 17905# Command to use after installation of a shared archive. 17906postinstall_cmds=$lt_postinstall_cmds 17907 17908# Command to use after uninstallation of a shared archive. 17909postuninstall_cmds=$lt_postuninstall_cmds 17910 17911# Commands used to finish a libtool library installation in a directory. 17912finish_cmds=$lt_finish_cmds 17913 17914# As "finish_cmds", except a single script fragment to be evaled but 17915# not shown. 17916finish_eval=$lt_finish_eval 17917 17918# Whether we should hardcode library paths into libraries. 17919hardcode_into_libs=$hardcode_into_libs 17920 17921# Compile-time system search path for libraries. 17922sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 17923 17924# Detected run-time system search path for libraries. 17925sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 17926 17927# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 17928configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 17929 17930# Whether dlopen is supported. 17931dlopen_support=$enable_dlopen 17932 17933# Whether dlopen of programs is supported. 17934dlopen_self=$enable_dlopen_self 17935 17936# Whether dlopen of statically linked programs is supported. 17937dlopen_self_static=$enable_dlopen_self_static 17938 17939# Commands to strip libraries. 17940old_striplib=$lt_old_striplib 17941striplib=$lt_striplib 17942 17943 17944# The linker used to build libraries. 17945LD=$lt_LD 17946 17947# How to create reloadable object files. 17948reload_flag=$lt_reload_flag 17949reload_cmds=$lt_reload_cmds 17950 17951# Commands used to build an old-style archive. 17952old_archive_cmds=$lt_old_archive_cmds 17953 17954# A language specific compiler. 17955CC=$lt_compiler 17956 17957# Is the compiler the GNU compiler? 17958with_gcc=$GCC 17959 17960# Compiler flag to turn off builtin functions. 17961no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 17962 17963# Additional compiler flags for building library objects. 17964pic_flag=$lt_lt_prog_compiler_pic 17965 17966# How to pass a linker flag through the compiler. 17967wl=$lt_lt_prog_compiler_wl 17968 17969# Compiler flag to prevent dynamic linking. 17970link_static_flag=$lt_lt_prog_compiler_static 17971 17972# Does compiler simultaneously support -c and -o options? 17973compiler_c_o=$lt_lt_cv_prog_compiler_c_o 17974 17975# Whether or not to add -lc for building shared libraries. 17976build_libtool_need_lc=$archive_cmds_need_lc 17977 17978# Whether or not to disallow shared libs when runtime libs are static. 17979allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 17980 17981# Compiler flag to allow reflexive dlopens. 17982export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 17983 17984# Compiler flag to generate shared objects directly from archives. 17985whole_archive_flag_spec=$lt_whole_archive_flag_spec 17986 17987# Whether the compiler copes with passing no objects directly. 17988compiler_needs_object=$lt_compiler_needs_object 17989 17990# Create an old-style archive from a shared archive. 17991old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 17992 17993# Create a temporary old-style archive to link instead of a shared archive. 17994old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 17995 17996# Commands used to build a shared archive. 17997archive_cmds=$lt_archive_cmds 17998archive_expsym_cmds=$lt_archive_expsym_cmds 17999 18000# Commands used to build a loadable module if different from building 18001# a shared archive. 18002module_cmds=$lt_module_cmds 18003module_expsym_cmds=$lt_module_expsym_cmds 18004 18005# Whether we are building with GNU ld or not. 18006with_gnu_ld=$lt_with_gnu_ld 18007 18008# Flag that allows shared libraries with undefined symbols to be built. 18009allow_undefined_flag=$lt_allow_undefined_flag 18010 18011# Flag that enforces no undefined symbols. 18012no_undefined_flag=$lt_no_undefined_flag 18013 18014# Flag to hardcode \$libdir into a binary during linking. 18015# This must work even if \$libdir does not exist 18016hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 18017 18018# Whether we need a single "-rpath" flag with a separated argument. 18019hardcode_libdir_separator=$lt_hardcode_libdir_separator 18020 18021# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 18022# DIR into the resulting binary. 18023hardcode_direct=$hardcode_direct 18024 18025# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 18026# DIR into the resulting binary and the resulting library dependency is 18027# "absolute",i.e impossible to change by setting \$shlibpath_var if the 18028# library is relocated. 18029hardcode_direct_absolute=$hardcode_direct_absolute 18030 18031# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 18032# into the resulting binary. 18033hardcode_minus_L=$hardcode_minus_L 18034 18035# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 18036# into the resulting binary. 18037hardcode_shlibpath_var=$hardcode_shlibpath_var 18038 18039# Set to "yes" if building a shared library automatically hardcodes DIR 18040# into the library and all subsequent libraries and executables linked 18041# against it. 18042hardcode_automatic=$hardcode_automatic 18043 18044# Set to yes if linker adds runtime paths of dependent libraries 18045# to runtime path list. 18046inherit_rpath=$inherit_rpath 18047 18048# Whether libtool must link a program against all its dependency libraries. 18049link_all_deplibs=$link_all_deplibs 18050 18051# Set to "yes" if exported symbols are required. 18052always_export_symbols=$always_export_symbols 18053 18054# The commands to list exported symbols. 18055export_symbols_cmds=$lt_export_symbols_cmds 18056 18057# Symbols that should not be listed in the preloaded symbols. 18058exclude_expsyms=$lt_exclude_expsyms 18059 18060# Symbols that must always be exported. 18061include_expsyms=$lt_include_expsyms 18062 18063# Commands necessary for linking programs (against libraries) with templates. 18064prelink_cmds=$lt_prelink_cmds 18065 18066# Commands necessary for finishing linking programs. 18067postlink_cmds=$lt_postlink_cmds 18068 18069# Specify filename containing input files. 18070file_list_spec=$lt_file_list_spec 18071 18072# How to hardcode a shared library path into an executable. 18073hardcode_action=$hardcode_action 18074 18075# ### END LIBTOOL CONFIG 18076 18077_LT_EOF 18078 18079 cat <<'_LT_EOF' >> "$cfgfile" 18080 18081# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 18082 18083# func_munge_path_list VARIABLE PATH 18084# ----------------------------------- 18085# VARIABLE is name of variable containing _space_ separated list of 18086# directories to be munged by the contents of PATH, which is string 18087# having a format: 18088# "DIR[:DIR]:" 18089# string "DIR[ DIR]" will be prepended to VARIABLE 18090# ":DIR[:DIR]" 18091# string "DIR[ DIR]" will be appended to VARIABLE 18092# "DIRP[:DIRP]::[DIRA:]DIRA" 18093# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 18094# "DIRA[ DIRA]" will be appended to VARIABLE 18095# "DIR[:DIR]" 18096# VARIABLE will be replaced by "DIR[ DIR]" 18097func_munge_path_list () 18098{ 18099 case x$2 in 18100 x) 18101 ;; 18102 *:) 18103 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 18104 ;; 18105 x:*) 18106 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 18107 ;; 18108 *::*) 18109 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 18110 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 18111 ;; 18112 *) 18113 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 18114 ;; 18115 esac 18116} 18117 18118 18119# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 18120func_cc_basename () 18121{ 18122 for cc_temp in $*""; do 18123 case $cc_temp in 18124 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 18125 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 18126 \-*) ;; 18127 *) break;; 18128 esac 18129 done 18130 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 18131} 18132 18133 18134# ### END FUNCTIONS SHARED WITH CONFIGURE 18135 18136_LT_EOF 18137 18138 case $host_os in 18139 aix3*) 18140 cat <<\_LT_EOF >> "$cfgfile" 18141# AIX sometimes has problems with the GCC collect2 program. For some 18142# reason, if we set the COLLECT_NAMES environment variable, the problems 18143# vanish in a puff of smoke. 18144if test set != "${COLLECT_NAMES+set}"; then 18145 COLLECT_NAMES= 18146 export COLLECT_NAMES 18147fi 18148_LT_EOF 18149 ;; 18150 esac 18151 18152 18153ltmain=$ac_aux_dir/ltmain.sh 18154 18155 18156 # We use sed instead of cat because bash on DJGPP gets confused if 18157 # if finds mixed CR/LF and LF-only lines. Since sed operates in 18158 # text mode, it properly converts lines to CR/LF. This bash problem 18159 # is reportedly fixed, but why not run on old versions too? 18160 sed '$q' "$ltmain" >> "$cfgfile" \ 18161 || (rm -f "$cfgfile"; exit 1) 18162 18163 mv -f "$cfgfile" "$ofile" || 18164 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 18165 chmod +x "$ofile" 18166 18167 ;; 18168 "po/stamp-it":C) 18169 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then 18170 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 18171 fi 18172 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" 18173 >"po/stamp-it.tmp" 18174 sed '/^#/d 18175 s/^[[].*] *// 18176 /^[ ]*$/d 18177 '"s|^| $ac_top_srcdir/|" \ 18178 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" 18179 18180 sed '/^POTFILES =/,/[^\\]$/ { 18181 /^POTFILES =/!d 18182 r po/POTFILES 18183 } 18184 ' "po/Makefile.in" >"po/Makefile" 18185 rm -f "po/Makefile.tmp" 18186 mv "po/stamp-it.tmp" "po/stamp-it" 18187 ;; 18188 18189 esac 18190done # for ac_tag 18191 18192 18193as_fn_exit 0 18194_ACEOF 18195ac_clean_files=$ac_clean_files_save 18196 18197test $ac_write_fail = 0 || 18198 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 18199 18200 18201# configure is writing to config.log, and then calls config.status. 18202# config.status does its own redirection, appending to config.log. 18203# Unfortunately, on DOS this fails, as config.log is still kept open 18204# by configure, so config.status won't be able to write to it; its 18205# output is simply discarded. So we exec the FD to /dev/null, 18206# effectively closing config.log, so it can be properly (re)opened and 18207# appended to by config.status. When coming back to configure, we 18208# need to make the FD available again. 18209if test "$no_create" != yes; then 18210 ac_cs_success=: 18211 ac_config_status_args= 18212 test "$silent" = yes && 18213 ac_config_status_args="$ac_config_status_args --quiet" 18214 exec 5>/dev/null 18215 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 18216 exec 5>>config.log 18217 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 18218 # would make configure fail if this is the last instruction. 18219 $ac_cs_success || as_fn_exit 1 18220fi 18221if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 18222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 18223$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 18224fi 18225 18226 18227