1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for GNonLin 1.4.0. 4# 5# Report bugs to <http://gnonlin.sourceforge.net/>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation 12# gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137# Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142# neutralization value for shells without unset; and this also 143# works around shells that cannot unset nonexistent variables. 144# Preserve -v and -x to the replacement shell. 145BASH_ENV=/dev/null 146ENV=/dev/null 147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153esac 154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155# Admittedly, this is quite paranoid, since all the known shells bail 156# out after a failed `exec'. 157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176esac 177fi 178" 179 as_required="as_fn_return () { (exit \$1); } 180as_fn_success () { as_fn_return 0; } 181as_fn_failure () { as_fn_return 1; } 182as_fn_ret_success () { return 0; } 183as_fn_ret_failure () { return 1; } 184 185exitcode=0 186as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192else 193 exitcode=1; echo positional parameters were not saved. 194fi 195test x\$exitcode = x0 || exit 1 196test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201 202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 206 PATH=/empty FPATH=/empty; export PATH FPATH 207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 209test \$(( 1 + 1 )) = 2 || exit 1" 210 if (eval "$as_required") 2>/dev/null; then : 211 as_have_required=yes 212else 213 as_have_required=no 214fi 215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 216 217else 218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 219as_found=false 220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 221do 222 IFS=$as_save_IFS 223 test -z "$as_dir" && as_dir=. 224 as_found=: 225 case $as_dir in #( 226 /*) 227 for as_base in sh bash ksh sh5; do 228 # Try only shells that exist, to save several forks. 229 as_shell=$as_dir/$as_base 230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 CONFIG_SHELL=$as_shell as_have_required=yes 233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 234 break 2 235fi 236fi 237 done;; 238 esac 239 as_found=false 240done 241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 243 CONFIG_SHELL=$SHELL as_have_required=yes 244fi; } 245IFS=$as_save_IFS 246 247 248 if test "x$CONFIG_SHELL" != x; then : 249 export CONFIG_SHELL 250 # We cannot yet assume a decent shell, so we have to provide a 251# neutralization value for shells without unset; and this also 252# works around shells that cannot unset nonexistent variables. 253# Preserve -v and -x to the replacement shell. 254BASH_ENV=/dev/null 255ENV=/dev/null 256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 257case $- in # (((( 258 *v*x* | *x*v* ) as_opts=-vx ;; 259 *v* ) as_opts=-v ;; 260 *x* ) as_opts=-x ;; 261 * ) as_opts= ;; 262esac 263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 264# Admittedly, this is quite paranoid, since all the known shells bail 265# out after a failed `exec'. 266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 267exit 255 268fi 269 270 if test x$as_have_required = xno; then : 271 $as_echo "$0: This script requires a shell more modern than all" 272 $as_echo "$0: the shells that I found on your system." 273 if test x${ZSH_VERSION+set} = xset ; then 274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 275 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 276 else 277 $as_echo "$0: Please tell bug-autoconf@gnu.org and 278$0: http://gnonlin.sourceforge.net/ about your system, 279$0: including any error possibly output before this 280$0: message. Then install a modern shell, or manually run 281$0: the script under such a shell if you do have one." 282 fi 283 exit 1 284fi 285fi 286fi 287SHELL=${CONFIG_SHELL-/bin/sh} 288export SHELL 289# Unset more variables known to interfere with behavior of common tools. 290CLICOLOR_FORCE= GREP_OPTIONS= 291unset CLICOLOR_FORCE GREP_OPTIONS 292 293## --------------------- ## 294## M4sh Shell Functions. ## 295## --------------------- ## 296# as_fn_unset VAR 297# --------------- 298# Portably unset VAR. 299as_fn_unset () 300{ 301 { eval $1=; unset $1;} 302} 303as_unset=as_fn_unset 304 305# as_fn_set_status STATUS 306# ----------------------- 307# Set $? to STATUS, without forking. 308as_fn_set_status () 309{ 310 return $1 311} # as_fn_set_status 312 313# as_fn_exit STATUS 314# ----------------- 315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 316as_fn_exit () 317{ 318 set +e 319 as_fn_set_status $1 320 exit $1 321} # as_fn_exit 322 323# as_fn_mkdir_p 324# ------------- 325# Create "$as_dir" as a directory, including parents if necessary. 326as_fn_mkdir_p () 327{ 328 329 case $as_dir in #( 330 -*) as_dir=./$as_dir;; 331 esac 332 test -d "$as_dir" || eval $as_mkdir_p || { 333 as_dirs= 334 while :; do 335 case $as_dir in #( 336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 337 *) as_qdir=$as_dir;; 338 esac 339 as_dirs="'$as_qdir' $as_dirs" 340 as_dir=`$as_dirname -- "$as_dir" || 341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 342 X"$as_dir" : 'X\(//\)[^/]' \| \ 343 X"$as_dir" : 'X\(//\)$' \| \ 344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 345$as_echo X"$as_dir" | 346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 347 s//\1/ 348 q 349 } 350 /^X\(\/\/\)[^/].*/{ 351 s//\1/ 352 q 353 } 354 /^X\(\/\/\)$/{ 355 s//\1/ 356 q 357 } 358 /^X\(\/\).*/{ 359 s//\1/ 360 q 361 } 362 s/.*/./; q'` 363 test -d "$as_dir" && break 364 done 365 test -z "$as_dirs" || eval "mkdir $as_dirs" 366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 367 368 369} # as_fn_mkdir_p 370 371# as_fn_executable_p FILE 372# ----------------------- 373# Test if FILE is an executable regular file. 374as_fn_executable_p () 375{ 376 test -f "$1" && test -x "$1" 377} # as_fn_executable_p 378# as_fn_append VAR VALUE 379# ---------------------- 380# Append the text in VALUE to the end of the definition contained in VAR. Take 381# advantage of any shell optimizations that allow amortized linear growth over 382# repeated appends, instead of the typical quadratic growth present in naive 383# implementations. 384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 385 eval 'as_fn_append () 386 { 387 eval $1+=\$2 388 }' 389else 390 as_fn_append () 391 { 392 eval $1=\$$1\$2 393 } 394fi # as_fn_append 395 396# as_fn_arith ARG... 397# ------------------ 398# Perform arithmetic evaluation on the ARGs, and store the result in the 399# global $as_val. Take advantage of shells that can avoid forks. The arguments 400# must be portable across $(()) and expr. 401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 402 eval 'as_fn_arith () 403 { 404 as_val=$(( $* )) 405 }' 406else 407 as_fn_arith () 408 { 409 as_val=`expr "$@" || test $? -eq 1` 410 } 411fi # as_fn_arith 412 413 414# as_fn_error STATUS ERROR [LINENO LOG_FD] 415# ---------------------------------------- 416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 418# script with STATUS, using 1 if that was 0. 419as_fn_error () 420{ 421 as_status=$1; test $as_status -eq 0 && as_status=1 422 if test "$4"; then 423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 425 fi 426 $as_echo "$as_me: error: $2" >&2 427 as_fn_exit $as_status 428} # as_fn_error 429 430if expr a : '\(a\)' >/dev/null 2>&1 && 431 test "X`expr 00001 : '.*\(...\)'`" = X001; then 432 as_expr=expr 433else 434 as_expr=false 435fi 436 437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 438 as_basename=basename 439else 440 as_basename=false 441fi 442 443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 444 as_dirname=dirname 445else 446 as_dirname=false 447fi 448 449as_me=`$as_basename -- "$0" || 450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 451 X"$0" : 'X\(//\)$' \| \ 452 X"$0" : 'X\(/\)' \| . 2>/dev/null || 453$as_echo X/"$0" | 454 sed '/^.*\/\([^/][^/]*\)\/*$/{ 455 s//\1/ 456 q 457 } 458 /^X\/\(\/\/\)$/{ 459 s//\1/ 460 q 461 } 462 /^X\/\(\/\).*/{ 463 s//\1/ 464 q 465 } 466 s/.*/./; q'` 467 468# Avoid depending upon Character Ranges. 469as_cr_letters='abcdefghijklmnopqrstuvwxyz' 470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 471as_cr_Letters=$as_cr_letters$as_cr_LETTERS 472as_cr_digits='0123456789' 473as_cr_alnum=$as_cr_Letters$as_cr_digits 474 475 476 as_lineno_1=$LINENO as_lineno_1a=$LINENO 477 as_lineno_2=$LINENO as_lineno_2a=$LINENO 478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 481 sed -n ' 482 p 483 /[$]LINENO/= 484 ' <$as_myself | 485 sed ' 486 s/[$]LINENO.*/&-/ 487 t lineno 488 b 489 :lineno 490 N 491 :loop 492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 493 t loop 494 s/-\n.*// 495 ' >$as_me.lineno && 496 chmod +x "$as_me.lineno" || 497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 498 499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 500 # already done that, so ensure we don't try to do so again and fall 501 # in an infinite loop. This has already happened in practice. 502 _as_can_reexec=no; export _as_can_reexec 503 # Don't try to exec as it changes $[0], causing all sort of problems 504 # (the dirname of $[0] is not the place where we might find the 505 # original and so on. Autoconf is especially sensitive to this). 506 . "./$as_me.lineno" 507 # Exit status is that of the last command. 508 exit 509} 510 511ECHO_C= ECHO_N= ECHO_T= 512case `echo -n x` in #((((( 513-n*) 514 case `echo 'xy\c'` in 515 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 516 xy) ECHO_C='\c';; 517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 518 ECHO_T=' ';; 519 esac;; 520*) 521 ECHO_N='-n';; 522esac 523 524rm -f conf$$ conf$$.exe conf$$.file 525if test -d conf$$.dir; then 526 rm -f conf$$.dir/conf$$.file 527else 528 rm -f conf$$.dir 529 mkdir conf$$.dir 2>/dev/null 530fi 531if (echo >conf$$.file) 2>/dev/null; then 532 if ln -s conf$$.file conf$$ 2>/dev/null; then 533 as_ln_s='ln -s' 534 # ... but there are two gotchas: 535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 537 # In both cases, we have to default to `cp -pR'. 538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 539 as_ln_s='cp -pR' 540 elif ln conf$$.file conf$$ 2>/dev/null; then 541 as_ln_s=ln 542 else 543 as_ln_s='cp -pR' 544 fi 545else 546 as_ln_s='cp -pR' 547fi 548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 549rmdir conf$$.dir 2>/dev/null 550 551if mkdir -p . 2>/dev/null; then 552 as_mkdir_p='mkdir -p "$as_dir"' 553else 554 test -d ./-p && rmdir ./-p 555 as_mkdir_p=false 556fi 557 558as_test_x='test -x' 559as_executable_p=as_fn_executable_p 560 561# Sed expression to map a string onto a valid CPP name. 562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 563 564# Sed expression to map a string onto a valid variable name. 565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 566 567SHELL=${CONFIG_SHELL-/bin/sh} 568 569 570test -n "$DJDIR" || exec 7<&0 </dev/null 571exec 6>&1 572 573# Name of the host. 574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 575# so uname gets run too. 576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 577 578# 579# Initializations. 580# 581ac_default_prefix=/usr/local 582ac_clean_files= 583ac_config_libobj_dir=. 584LIBOBJS= 585cross_compiling=no 586subdirs= 587MFLAGS= 588MAKEFLAGS= 589 590# Identity of this package. 591PACKAGE_NAME='GNonLin' 592PACKAGE_TARNAME='gnonlin' 593PACKAGE_VERSION='1.4.0' 594PACKAGE_STRING='GNonLin 1.4.0' 595PACKAGE_BUGREPORT='http://gnonlin.sourceforge.net/' 596PACKAGE_URL='' 597 598ac_unique_file="gnl/gnl.c" 599# Factoring default headers for most tests. 600ac_includes_default="\ 601#include <stdio.h> 602#ifdef HAVE_SYS_TYPES_H 603# include <sys/types.h> 604#endif 605#ifdef HAVE_SYS_STAT_H 606# include <sys/stat.h> 607#endif 608#ifdef STDC_HEADERS 609# include <stdlib.h> 610# include <stddef.h> 611#else 612# ifdef HAVE_STDLIB_H 613# include <stdlib.h> 614# endif 615#endif 616#ifdef HAVE_STRING_H 617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 618# include <memory.h> 619# endif 620# include <string.h> 621#endif 622#ifdef HAVE_STRINGS_H 623# include <strings.h> 624#endif 625#ifdef HAVE_INTTYPES_H 626# include <inttypes.h> 627#endif 628#ifdef HAVE_STDINT_H 629# include <stdint.h> 630#endif 631#ifdef HAVE_UNISTD_H 632# include <unistd.h> 633#endif" 634 635ac_subst_vars='am__EXEEXT_FALSE 636am__EXEEXT_TRUE 637LTLIBOBJS 638LIBOBJS 639GST_PLUGIN_LDFLAGS 640GST_ALL_LDFLAGS 641GST_OPTION_CFLAGS 642DEPRECATED_CFLAGS 643PROFILE_CFLAGS 644DEFAULT_VISUALIZER 645DEFAULT_VIDEOSRC 646DEFAULT_VIDEOSINK 647DEFAULT_AUDIOSRC 648DEFAULT_AUDIOSINK 649GST_LEVEL_DEFAULT 650ERROR_CFLAGS 651WARNING_CFLAGS 652GST_PLUGIN_BUILD_STATIC_FALSE 653GST_PLUGIN_BUILD_STATIC_TRUE 654GST_PLUGIN_LIBTOOLFLAGS 655plugindir 656PLUGINDIR 657GST_LICENSE 658HAVE_CHECK_FALSE 659HAVE_CHECK_TRUE 660GST_CHECK_LIBS 661GST_CHECK_CFLAGS 662GSTPB_PREFIX 663GST_PREFIX 664GLIB_PREFIX 665GST_PLUGINS_GOOD_DIR 666GST_PLUGINS_GOOD_LIBS 667GST_PLUGINS_GOOD_CFLAGS 668GSTPB_PLUGINS_DIR 669GST_PLUGINS_BASE_DIR 670GST_PLUGINS_BASE_LIBS 671GST_PLUGINS_BASE_CFLAGS 672GST_BASE_LIBS 673GST_BASE_CFLAGS 674GST_PLUGINS_DIR 675GST_TOOLS_DIR 676GST_LIBS 677GST_CFLAGS 678GIO_LDFLAGS 679GIO_LIBS 680GIO_CFLAGS 681GLIB_EXTRA_CFLAGS 682GLIB_MKENUMS 683GLIB_GENMARSHAL 684GLIB_LIBS 685GLIB_CFLAGS 686GLIB_REQ 687pkgpyexecdir 688pyexecdir 689pkgpythondir 690pythondir 691PYTHON_PLATFORM 692PYTHON_EXEC_PREFIX 693PYTHON_PREFIX 694PYTHON_VERSION 695PYTHON 696GTK_DOC_USE_LIBTOOL_FALSE 697GTK_DOC_USE_LIBTOOL_TRUE 698GTK_DOC_BUILD_PDF_FALSE 699GTK_DOC_BUILD_PDF_TRUE 700GTK_DOC_BUILD_HTML_FALSE 701GTK_DOC_BUILD_HTML_TRUE 702ENABLE_GTK_DOC_FALSE 703ENABLE_GTK_DOC_TRUE 704GTKDOC_DEPS_LIBS 705GTKDOC_DEPS_CFLAGS 706HTML_DIR 707GTKDOC_MKPDF 708GTKDOC_REBASE 709GTKDOC_CHECK 710DOC_PS_FALSE 711DOC_PS_TRUE 712DOC_PDF_FALSE 713DOC_PDF_TRUE 714DOC_HTML_FALSE 715DOC_HTML_TRUE 716ENABLE_DOCBOOK_FALSE 717ENABLE_DOCBOOK_TRUE 718HAVE_EPSTOPDF 719HAVE_PNMTOPS 720HAVE_PNGTOPNM 721HAVE_XMLLINT 722HAVE_DVIPS 723CAT_ENTRY_END 724CAT_ENTRY_START 725DOCBOOK_ROOT 726XSLTPROC_FLAGS 727XML_CATALOG 728XSLTPROC 729HAVE_PS2PDF 730HAVE_JADETEX 731HAVE_XSLTPROC 732HAVE_DOCBOOK2PS 733HAVE_VALGRIND_FALSE 734HAVE_VALGRIND_TRUE 735VALGRIND_PATH 736GST_PACKAGE_ORIGIN 737GST_PACKAGE_NAME 738GST_GCOV_ENABLED_FALSE 739GST_GCOV_ENABLED_TRUE 740CCASFLAGS 741FFLAGS 742CXXFLAGS 743GCOV 744GCOV_LIBS 745GCOV_CFLAGS 746VALGRIND_LIBS 747VALGRIND_CFLAGS 748PKG_CONFIG 749ACLOCAL_AMFLAGS 750CPP 751OTOOL64 752OTOOL 753LIPO 754NMEDIT 755DSYMUTIL 756MANIFEST_TOOL 757RANLIB 758ac_ct_AR 759AR 760LN_S 761NM 762ac_ct_DUMPBIN 763DUMPBIN 764LD 765FGREP 766EGREP 767GREP 768SED 769am__fastdepCC_FALSE 770am__fastdepCC_TRUE 771CCDEPMODE 772am__nodep 773AMDEPBACKSLASH 774AMDEP_FALSE 775AMDEP_TRUE 776am__quote 777am__include 778DEPDIR 779OBJEXT 780EXEEXT 781ac_ct_CC 782CPPFLAGS 783LDFLAGS 784CFLAGS 785CC 786LIBTOOL 787OBJDUMP 788DLLTOOL 789AS 790GST_LT_LDFLAGS 791GST_LIBVERSION 792GST_AGE 793GST_REVISION 794GST_CURRENT 795GST_API_VERSION 796MAINT 797MAINTAINER_MODE_FALSE 798MAINTAINER_MODE_TRUE 799PACKAGE_VERSION_RELEASE 800PACKAGE_VERSION_NANO 801PACKAGE_VERSION_MICRO 802PACKAGE_VERSION_MINOR 803PACKAGE_VERSION_MAJOR 804AM_BACKSLASH 805AM_DEFAULT_VERBOSITY 806AM_DEFAULT_V 807AM_V 808am__untar 809am__tar 810AMTAR 811am__leading_dot 812SET_MAKE 813AWK 814mkdir_p 815MKDIR_P 816INSTALL_STRIP_PROGRAM 817STRIP 818install_sh 819MAKEINFO 820AUTOHEADER 821AUTOMAKE 822AUTOCONF 823ACLOCAL 824VERSION 825PACKAGE 826CYGPATH_W 827am__isrc 828INSTALL_DATA 829INSTALL_SCRIPT 830INSTALL_PROGRAM 831target_os 832target_vendor 833target_cpu 834target 835host_os 836host_vendor 837host_cpu 838host 839build_os 840build_vendor 841build_cpu 842build 843target_alias 844host_alias 845build_alias 846LIBS 847ECHO_T 848ECHO_N 849ECHO_C 850DEFS 851mandir 852localedir 853libdir 854psdir 855pdfdir 856dvidir 857htmldir 858infodir 859docdir 860oldincludedir 861includedir 862localstatedir 863sharedstatedir 864sysconfdir 865datadir 866datarootdir 867libexecdir 868sbindir 869bindir 870program_transform_name 871prefix 872exec_prefix 873PACKAGE_URL 874PACKAGE_BUGREPORT 875PACKAGE_STRING 876PACKAGE_VERSION 877PACKAGE_TARNAME 878PACKAGE_NAME 879PATH_SEPARATOR 880SHELL' 881ac_subst_files='' 882ac_user_opts=' 883enable_option_checking 884enable_silent_rules 885enable_maintainer_mode 886enable_static 887enable_shared 888with_pic 889enable_fast_install 890enable_dependency_tracking 891with_gnu_ld 892with_sysroot 893enable_libtool_lock 894with_autoconf 895with_autoheader 896with_automake 897with_aclocal 898enable_debug 899enable_valgrind 900enable_gcov 901with_pkg_config_path 902with_package_name 903with_package_origin 904enable_docbook 905with_html_dir 906enable_gtk_doc 907enable_gtk_doc_html 908enable_gtk_doc_pdf 909enable_gobject_cast_checks 910enable_glib_asserts 911enable_static_plugins 912with_default_audiosink 913with_default_audiosrc 914with_default_videosink 915with_default_videosrc 916with_default_visualizer 917' 918 ac_precious_vars='build_alias 919host_alias 920target_alias 921CC 922CFLAGS 923LDFLAGS 924LIBS 925CPPFLAGS 926CPP 927PKG_CONFIG 928VALGRIND_CFLAGS 929VALGRIND_LIBS 930GTKDOC_DEPS_CFLAGS 931GTKDOC_DEPS_LIBS 932GLIB_CFLAGS 933GLIB_LIBS 934GIO_CFLAGS 935GIO_LIBS 936GST_CFLAGS 937GST_LIBS 938GST_BASE_CFLAGS 939GST_BASE_LIBS 940GST_PLUGINS_BASE_CFLAGS 941GST_PLUGINS_BASE_LIBS 942GST_PLUGINS_GOOD_CFLAGS 943GST_PLUGINS_GOOD_LIBS 944GST_CHECK_CFLAGS 945GST_CHECK_LIBS' 946 947 948# Initialize some variables set by options. 949ac_init_help= 950ac_init_version=false 951ac_unrecognized_opts= 952ac_unrecognized_sep= 953# The variables have the same names as the options, with 954# dashes changed to underlines. 955cache_file=/dev/null 956exec_prefix=NONE 957no_create= 958no_recursion= 959prefix=NONE 960program_prefix=NONE 961program_suffix=NONE 962program_transform_name=s,x,x, 963silent= 964site= 965srcdir= 966verbose= 967x_includes=NONE 968x_libraries=NONE 969 970# Installation directory options. 971# These are left unexpanded so users can "make install exec_prefix=/foo" 972# and all the variables that are supposed to be based on exec_prefix 973# by default will actually change. 974# Use braces instead of parens because sh, perl, etc. also accept them. 975# (The list follows the same order as the GNU Coding Standards.) 976bindir='${exec_prefix}/bin' 977sbindir='${exec_prefix}/sbin' 978libexecdir='${exec_prefix}/libexec' 979datarootdir='${prefix}/share' 980datadir='${datarootdir}' 981sysconfdir='${prefix}/etc' 982sharedstatedir='${prefix}/com' 983localstatedir='${prefix}/var' 984includedir='${prefix}/include' 985oldincludedir='/usr/include' 986docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 987infodir='${datarootdir}/info' 988htmldir='${docdir}' 989dvidir='${docdir}' 990pdfdir='${docdir}' 991psdir='${docdir}' 992libdir='${exec_prefix}/lib' 993localedir='${datarootdir}/locale' 994mandir='${datarootdir}/man' 995 996ac_prev= 997ac_dashdash= 998for ac_option 999do 1000 # If the previous option needs an argument, assign it. 1001 if test -n "$ac_prev"; then 1002 eval $ac_prev=\$ac_option 1003 ac_prev= 1004 continue 1005 fi 1006 1007 case $ac_option in 1008 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1009 *=) ac_optarg= ;; 1010 *) ac_optarg=yes ;; 1011 esac 1012 1013 # Accept the important Cygnus configure options, so we can diagnose typos. 1014 1015 case $ac_dashdash$ac_option in 1016 --) 1017 ac_dashdash=yes ;; 1018 1019 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1020 ac_prev=bindir ;; 1021 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1022 bindir=$ac_optarg ;; 1023 1024 -build | --build | --buil | --bui | --bu) 1025 ac_prev=build_alias ;; 1026 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1027 build_alias=$ac_optarg ;; 1028 1029 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1030 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1031 ac_prev=cache_file ;; 1032 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1033 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1034 cache_file=$ac_optarg ;; 1035 1036 --config-cache | -C) 1037 cache_file=config.cache ;; 1038 1039 -datadir | --datadir | --datadi | --datad) 1040 ac_prev=datadir ;; 1041 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1042 datadir=$ac_optarg ;; 1043 1044 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1045 | --dataroo | --dataro | --datar) 1046 ac_prev=datarootdir ;; 1047 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1048 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1049 datarootdir=$ac_optarg ;; 1050 1051 -disable-* | --disable-*) 1052 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1053 # Reject names that are not valid shell variable names. 1054 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1055 as_fn_error $? "invalid feature name: $ac_useropt" 1056 ac_useropt_orig=$ac_useropt 1057 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1058 case $ac_user_opts in 1059 *" 1060"enable_$ac_useropt" 1061"*) ;; 1062 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1063 ac_unrecognized_sep=', ';; 1064 esac 1065 eval enable_$ac_useropt=no ;; 1066 1067 -docdir | --docdir | --docdi | --doc | --do) 1068 ac_prev=docdir ;; 1069 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1070 docdir=$ac_optarg ;; 1071 1072 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1073 ac_prev=dvidir ;; 1074 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1075 dvidir=$ac_optarg ;; 1076 1077 -enable-* | --enable-*) 1078 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1079 # Reject names that are not valid shell variable names. 1080 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1081 as_fn_error $? "invalid feature name: $ac_useropt" 1082 ac_useropt_orig=$ac_useropt 1083 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1084 case $ac_user_opts in 1085 *" 1086"enable_$ac_useropt" 1087"*) ;; 1088 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1089 ac_unrecognized_sep=', ';; 1090 esac 1091 eval enable_$ac_useropt=\$ac_optarg ;; 1092 1093 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1094 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1095 | --exec | --exe | --ex) 1096 ac_prev=exec_prefix ;; 1097 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1098 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1099 | --exec=* | --exe=* | --ex=*) 1100 exec_prefix=$ac_optarg ;; 1101 1102 -gas | --gas | --ga | --g) 1103 # Obsolete; use --with-gas. 1104 with_gas=yes ;; 1105 1106 -help | --help | --hel | --he | -h) 1107 ac_init_help=long ;; 1108 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1109 ac_init_help=recursive ;; 1110 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1111 ac_init_help=short ;; 1112 1113 -host | --host | --hos | --ho) 1114 ac_prev=host_alias ;; 1115 -host=* | --host=* | --hos=* | --ho=*) 1116 host_alias=$ac_optarg ;; 1117 1118 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1119 ac_prev=htmldir ;; 1120 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1121 | --ht=*) 1122 htmldir=$ac_optarg ;; 1123 1124 -includedir | --includedir | --includedi | --included | --include \ 1125 | --includ | --inclu | --incl | --inc) 1126 ac_prev=includedir ;; 1127 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1128 | --includ=* | --inclu=* | --incl=* | --inc=*) 1129 includedir=$ac_optarg ;; 1130 1131 -infodir | --infodir | --infodi | --infod | --info | --inf) 1132 ac_prev=infodir ;; 1133 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1134 infodir=$ac_optarg ;; 1135 1136 -libdir | --libdir | --libdi | --libd) 1137 ac_prev=libdir ;; 1138 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1139 libdir=$ac_optarg ;; 1140 1141 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1142 | --libexe | --libex | --libe) 1143 ac_prev=libexecdir ;; 1144 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1145 | --libexe=* | --libex=* | --libe=*) 1146 libexecdir=$ac_optarg ;; 1147 1148 -localedir | --localedir | --localedi | --localed | --locale) 1149 ac_prev=localedir ;; 1150 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1151 localedir=$ac_optarg ;; 1152 1153 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1154 | --localstate | --localstat | --localsta | --localst | --locals) 1155 ac_prev=localstatedir ;; 1156 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1157 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1158 localstatedir=$ac_optarg ;; 1159 1160 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1161 ac_prev=mandir ;; 1162 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1163 mandir=$ac_optarg ;; 1164 1165 -nfp | --nfp | --nf) 1166 # Obsolete; use --without-fp. 1167 with_fp=no ;; 1168 1169 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1170 | --no-cr | --no-c | -n) 1171 no_create=yes ;; 1172 1173 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1174 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1175 no_recursion=yes ;; 1176 1177 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1178 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1179 | --oldin | --oldi | --old | --ol | --o) 1180 ac_prev=oldincludedir ;; 1181 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1182 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1183 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1184 oldincludedir=$ac_optarg ;; 1185 1186 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1187 ac_prev=prefix ;; 1188 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1189 prefix=$ac_optarg ;; 1190 1191 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1192 | --program-pre | --program-pr | --program-p) 1193 ac_prev=program_prefix ;; 1194 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1195 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1196 program_prefix=$ac_optarg ;; 1197 1198 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1199 | --program-suf | --program-su | --program-s) 1200 ac_prev=program_suffix ;; 1201 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1202 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1203 program_suffix=$ac_optarg ;; 1204 1205 -program-transform-name | --program-transform-name \ 1206 | --program-transform-nam | --program-transform-na \ 1207 | --program-transform-n | --program-transform- \ 1208 | --program-transform | --program-transfor \ 1209 | --program-transfo | --program-transf \ 1210 | --program-trans | --program-tran \ 1211 | --progr-tra | --program-tr | --program-t) 1212 ac_prev=program_transform_name ;; 1213 -program-transform-name=* | --program-transform-name=* \ 1214 | --program-transform-nam=* | --program-transform-na=* \ 1215 | --program-transform-n=* | --program-transform-=* \ 1216 | --program-transform=* | --program-transfor=* \ 1217 | --program-transfo=* | --program-transf=* \ 1218 | --program-trans=* | --program-tran=* \ 1219 | --progr-tra=* | --program-tr=* | --program-t=*) 1220 program_transform_name=$ac_optarg ;; 1221 1222 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1223 ac_prev=pdfdir ;; 1224 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1225 pdfdir=$ac_optarg ;; 1226 1227 -psdir | --psdir | --psdi | --psd | --ps) 1228 ac_prev=psdir ;; 1229 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1230 psdir=$ac_optarg ;; 1231 1232 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1233 | -silent | --silent | --silen | --sile | --sil) 1234 silent=yes ;; 1235 1236 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1237 ac_prev=sbindir ;; 1238 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1239 | --sbi=* | --sb=*) 1240 sbindir=$ac_optarg ;; 1241 1242 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1243 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1244 | --sharedst | --shareds | --shared | --share | --shar \ 1245 | --sha | --sh) 1246 ac_prev=sharedstatedir ;; 1247 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1248 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1249 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1250 | --sha=* | --sh=*) 1251 sharedstatedir=$ac_optarg ;; 1252 1253 -site | --site | --sit) 1254 ac_prev=site ;; 1255 -site=* | --site=* | --sit=*) 1256 site=$ac_optarg ;; 1257 1258 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1259 ac_prev=srcdir ;; 1260 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1261 srcdir=$ac_optarg ;; 1262 1263 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1264 | --syscon | --sysco | --sysc | --sys | --sy) 1265 ac_prev=sysconfdir ;; 1266 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1267 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1268 sysconfdir=$ac_optarg ;; 1269 1270 -target | --target | --targe | --targ | --tar | --ta | --t) 1271 ac_prev=target_alias ;; 1272 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1273 target_alias=$ac_optarg ;; 1274 1275 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1276 verbose=yes ;; 1277 1278 -version | --version | --versio | --versi | --vers | -V) 1279 ac_init_version=: ;; 1280 1281 -with-* | --with-*) 1282 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1283 # Reject names that are not valid shell variable names. 1284 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1285 as_fn_error $? "invalid package name: $ac_useropt" 1286 ac_useropt_orig=$ac_useropt 1287 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1288 case $ac_user_opts in 1289 *" 1290"with_$ac_useropt" 1291"*) ;; 1292 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1293 ac_unrecognized_sep=', ';; 1294 esac 1295 eval with_$ac_useropt=\$ac_optarg ;; 1296 1297 -without-* | --without-*) 1298 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1299 # Reject names that are not valid shell variable names. 1300 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1301 as_fn_error $? "invalid package name: $ac_useropt" 1302 ac_useropt_orig=$ac_useropt 1303 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1304 case $ac_user_opts in 1305 *" 1306"with_$ac_useropt" 1307"*) ;; 1308 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1309 ac_unrecognized_sep=', ';; 1310 esac 1311 eval with_$ac_useropt=no ;; 1312 1313 --x) 1314 # Obsolete; use --with-x. 1315 with_x=yes ;; 1316 1317 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1318 | --x-incl | --x-inc | --x-in | --x-i) 1319 ac_prev=x_includes ;; 1320 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1321 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1322 x_includes=$ac_optarg ;; 1323 1324 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1325 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1326 ac_prev=x_libraries ;; 1327 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1328 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1329 x_libraries=$ac_optarg ;; 1330 1331 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1332Try \`$0 --help' for more information" 1333 ;; 1334 1335 *=*) 1336 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1337 # Reject names that are not valid shell variable names. 1338 case $ac_envvar in #( 1339 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1340 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1341 esac 1342 eval $ac_envvar=\$ac_optarg 1343 export $ac_envvar ;; 1344 1345 *) 1346 # FIXME: should be removed in autoconf 3.0. 1347 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1348 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1349 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1350 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1351 ;; 1352 1353 esac 1354done 1355 1356if test -n "$ac_prev"; then 1357 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1358 as_fn_error $? "missing argument to $ac_option" 1359fi 1360 1361if test -n "$ac_unrecognized_opts"; then 1362 case $enable_option_checking in 1363 no) ;; 1364 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1365 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1366 esac 1367fi 1368 1369# Check all directory arguments for consistency. 1370for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1371 datadir sysconfdir sharedstatedir localstatedir includedir \ 1372 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1373 libdir localedir mandir 1374do 1375 eval ac_val=\$$ac_var 1376 # Remove trailing slashes. 1377 case $ac_val in 1378 */ ) 1379 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1380 eval $ac_var=\$ac_val;; 1381 esac 1382 # Be sure to have absolute directory names. 1383 case $ac_val in 1384 [\\/$]* | ?:[\\/]* ) continue;; 1385 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1386 esac 1387 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1388done 1389 1390# There might be people who depend on the old broken behavior: `$host' 1391# used to hold the argument of --host etc. 1392# FIXME: To remove some day. 1393build=$build_alias 1394host=$host_alias 1395target=$target_alias 1396 1397# FIXME: To remove some day. 1398if test "x$host_alias" != x; then 1399 if test "x$build_alias" = x; then 1400 cross_compiling=maybe 1401 elif test "x$build_alias" != "x$host_alias"; then 1402 cross_compiling=yes 1403 fi 1404fi 1405 1406ac_tool_prefix= 1407test -n "$host_alias" && ac_tool_prefix=$host_alias- 1408 1409test "$silent" = yes && exec 6>/dev/null 1410 1411 1412ac_pwd=`pwd` && test -n "$ac_pwd" && 1413ac_ls_di=`ls -di .` && 1414ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1415 as_fn_error $? "working directory cannot be determined" 1416test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1417 as_fn_error $? "pwd does not report name of working directory" 1418 1419 1420# Find the source files, if location was not specified. 1421if test -z "$srcdir"; then 1422 ac_srcdir_defaulted=yes 1423 # Try the directory containing this script, then the parent directory. 1424 ac_confdir=`$as_dirname -- "$as_myself" || 1425$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1426 X"$as_myself" : 'X\(//\)[^/]' \| \ 1427 X"$as_myself" : 'X\(//\)$' \| \ 1428 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1429$as_echo X"$as_myself" | 1430 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1431 s//\1/ 1432 q 1433 } 1434 /^X\(\/\/\)[^/].*/{ 1435 s//\1/ 1436 q 1437 } 1438 /^X\(\/\/\)$/{ 1439 s//\1/ 1440 q 1441 } 1442 /^X\(\/\).*/{ 1443 s//\1/ 1444 q 1445 } 1446 s/.*/./; q'` 1447 srcdir=$ac_confdir 1448 if test ! -r "$srcdir/$ac_unique_file"; then 1449 srcdir=.. 1450 fi 1451else 1452 ac_srcdir_defaulted=no 1453fi 1454if test ! -r "$srcdir/$ac_unique_file"; then 1455 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1456 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1457fi 1458ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1459ac_abs_confdir=`( 1460 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1461 pwd)` 1462# When building in place, set srcdir=. 1463if test "$ac_abs_confdir" = "$ac_pwd"; then 1464 srcdir=. 1465fi 1466# Remove unnecessary trailing slashes from srcdir. 1467# Double slashes in file names in object file debugging info 1468# mess up M-x gdb in Emacs. 1469case $srcdir in 1470*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1471esac 1472for ac_var in $ac_precious_vars; do 1473 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1474 eval ac_env_${ac_var}_value=\$${ac_var} 1475 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1476 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1477done 1478 1479# 1480# Report the --help message. 1481# 1482if test "$ac_init_help" = "long"; then 1483 # Omit some internal or obsolete options to make the list less imposing. 1484 # This message is too long to be a string in the A/UX 3.1 sh. 1485 cat <<_ACEOF 1486\`configure' configures GNonLin 1.4.0 to adapt to many kinds of systems. 1487 1488Usage: $0 [OPTION]... [VAR=VALUE]... 1489 1490To assign environment variables (e.g., CC, CFLAGS...), specify them as 1491VAR=VALUE. See below for descriptions of some of the useful variables. 1492 1493Defaults for the options are specified in brackets. 1494 1495Configuration: 1496 -h, --help display this help and exit 1497 --help=short display options specific to this package 1498 --help=recursive display the short help of all the included packages 1499 -V, --version display version information and exit 1500 -q, --quiet, --silent do not print \`checking ...' messages 1501 --cache-file=FILE cache test results in FILE [disabled] 1502 -C, --config-cache alias for \`--cache-file=config.cache' 1503 -n, --no-create do not create output files 1504 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1505 1506Installation directories: 1507 --prefix=PREFIX install architecture-independent files in PREFIX 1508 [$ac_default_prefix] 1509 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1510 [PREFIX] 1511 1512By default, \`make install' will install all the files in 1513\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1514an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1515for instance \`--prefix=\$HOME'. 1516 1517For better control, use the options below. 1518 1519Fine tuning of the installation directories: 1520 --bindir=DIR user executables [EPREFIX/bin] 1521 --sbindir=DIR system admin executables [EPREFIX/sbin] 1522 --libexecdir=DIR program executables [EPREFIX/libexec] 1523 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1524 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1525 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1526 --libdir=DIR object code libraries [EPREFIX/lib] 1527 --includedir=DIR C header files [PREFIX/include] 1528 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1529 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1530 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1531 --infodir=DIR info documentation [DATAROOTDIR/info] 1532 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1533 --mandir=DIR man documentation [DATAROOTDIR/man] 1534 --docdir=DIR documentation root [DATAROOTDIR/doc/gnonlin] 1535 --htmldir=DIR html documentation [DOCDIR] 1536 --dvidir=DIR dvi documentation [DOCDIR] 1537 --pdfdir=DIR pdf documentation [DOCDIR] 1538 --psdir=DIR ps documentation [DOCDIR] 1539_ACEOF 1540 1541 cat <<\_ACEOF 1542 1543Program names: 1544 --program-prefix=PREFIX prepend PREFIX to installed program names 1545 --program-suffix=SUFFIX append SUFFIX to installed program names 1546 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1547 1548System types: 1549 --build=BUILD configure for building on BUILD [guessed] 1550 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1551 --target=TARGET configure for building compilers for TARGET [HOST] 1552_ACEOF 1553fi 1554 1555if test -n "$ac_init_help"; then 1556 case $ac_init_help in 1557 short | recursive ) echo "Configuration of GNonLin 1.4.0:";; 1558 esac 1559 cat <<\_ACEOF 1560 1561Optional Features: 1562 --disable-option-checking ignore unrecognized --enable/--with options 1563 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1564 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1565 --enable-silent-rules less verbose build output (undo: "make V=1") 1566 --disable-silent-rules verbose build output (undo: "make V=0") 1567 --disable-maintainer-mode 1568 disable make rules and dependencies not useful (and 1569 sometimes confusing) to the casual installer 1570 --enable-static[=PKGS] build static libraries [default=no] 1571 --enable-shared[=PKGS] build shared libraries [default=yes] 1572 --enable-fast-install[=PKGS] 1573 optimize for fast installation [default=yes] 1574 --enable-dependency-tracking 1575 do not reject slow dependency extractors 1576 --disable-dependency-tracking 1577 speeds up one-time build 1578 --disable-libtool-lock avoid locking (might break parallel builds) 1579 --disable-debug disable addition of -g debugging info 1580 --disable-valgrind disable run-time valgrind detection 1581 --enable-gcov compile with coverage profiling instrumentation (gcc 1582 only) 1583 --enable-docbook use docbook to build documentation [default=no] 1584 --enable-gtk-doc use gtk-doc to build documentation [[default=no]] 1585 --enable-gtk-doc-html build documentation in html format [[default=yes]] 1586 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]] 1587 --enable-gobject-cast-checks=[no/auto/yes] 1588 Enable GObject cast checks 1589 --enable-glib-asserts=[no/auto/yes] 1590 Enable GLib assertion 1591 --enable-static-plugins build static plugins [default=no] 1592 1593Optional Packages: 1594 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1595 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1596 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1597 both] 1598 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1599 --with-sysroot=DIR Search for dependent libraries within DIR 1600 (or the compiler's sysroot if not specified). 1601 --with-autoconf use a different autoconf for regeneration of 1602 Makefiles 1603 --with-autoheader use a different autoheader for regeneration of 1604 Makefiles 1605 --with-automake use a different automake for regeneration of 1606 Makefiles 1607 --with-aclocal use a different aclocal for regeneration of 1608 Makefiles 1609 --with-pkg-config-path colon-separated list of pkg-config(1) dirs 1610 --with-package-name specify package name to use in plugins 1611 --with-package-origin specify package origin URL to use in plugins 1612 --with-html-dir=PATH path to installed docs 1613 --with-default-audiosink 1614 specify default audio sink 1615 --with-default-audiosrc specify default audio source 1616 --with-default-videosink 1617 specify default video sink 1618 --with-default-videosrc specify default video source 1619 --with-default-visualizer 1620 specify default visualizer 1621 1622Some influential environment variables: 1623 CC C compiler command 1624 CFLAGS C compiler flags 1625 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1626 nonstandard directory <lib dir> 1627 LIBS libraries to pass to the linker, e.g. -l<library> 1628 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1629 you have headers in a nonstandard directory <include dir> 1630 CPP C preprocessor 1631 PKG_CONFIG path to pkg-config utility 1632 VALGRIND_CFLAGS 1633 C compiler flags for VALGRIND, overriding pkg-config 1634 VALGRIND_LIBS 1635 linker flags for VALGRIND, overriding pkg-config 1636 GTKDOC_DEPS_CFLAGS 1637 C compiler flags for GTKDOC_DEPS, overriding pkg-config 1638 GTKDOC_DEPS_LIBS 1639 linker flags for GTKDOC_DEPS, overriding pkg-config 1640 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config 1641 GLIB_LIBS linker flags for GLIB, overriding pkg-config 1642 GIO_CFLAGS C compiler flags for GIO, overriding pkg-config 1643 GIO_LIBS linker flags for GIO, overriding pkg-config 1644 GST_CFLAGS C compiler flags for GST, overriding pkg-config 1645 GST_LIBS linker flags for GST, overriding pkg-config 1646 GST_BASE_CFLAGS 1647 C compiler flags for GST_BASE, overriding pkg-config 1648 GST_BASE_LIBS 1649 linker flags for GST_BASE, overriding pkg-config 1650 GST_PLUGINS_BASE_CFLAGS 1651 C compiler flags for GST_PLUGINS_BASE, overriding pkg-config 1652 GST_PLUGINS_BASE_LIBS 1653 linker flags for GST_PLUGINS_BASE, overriding pkg-config 1654 GST_PLUGINS_GOOD_CFLAGS 1655 C compiler flags for GST_PLUGINS_GOOD, overriding pkg-config 1656 GST_PLUGINS_GOOD_LIBS 1657 linker flags for GST_PLUGINS_GOOD, overriding pkg-config 1658 GST_CHECK_CFLAGS 1659 C compiler flags for GST_CHECK, overriding pkg-config 1660 GST_CHECK_LIBS 1661 linker flags for GST_CHECK, overriding pkg-config 1662 1663Use these variables to override the choices made by `configure' or to help 1664it to find libraries and programs with nonstandard names/locations. 1665 1666Report bugs to <http://gnonlin.sourceforge.net/>. 1667_ACEOF 1668ac_status=$? 1669fi 1670 1671if test "$ac_init_help" = "recursive"; then 1672 # If there are subdirs, report their specific --help. 1673 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1674 test -d "$ac_dir" || 1675 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1676 continue 1677 ac_builddir=. 1678 1679case "$ac_dir" in 1680.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1681*) 1682 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1683 # A ".." for each directory in $ac_dir_suffix. 1684 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1685 case $ac_top_builddir_sub in 1686 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1687 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1688 esac ;; 1689esac 1690ac_abs_top_builddir=$ac_pwd 1691ac_abs_builddir=$ac_pwd$ac_dir_suffix 1692# for backward compatibility: 1693ac_top_builddir=$ac_top_build_prefix 1694 1695case $srcdir in 1696 .) # We are building in place. 1697 ac_srcdir=. 1698 ac_top_srcdir=$ac_top_builddir_sub 1699 ac_abs_top_srcdir=$ac_pwd ;; 1700 [\\/]* | ?:[\\/]* ) # Absolute name. 1701 ac_srcdir=$srcdir$ac_dir_suffix; 1702 ac_top_srcdir=$srcdir 1703 ac_abs_top_srcdir=$srcdir ;; 1704 *) # Relative name. 1705 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1706 ac_top_srcdir=$ac_top_build_prefix$srcdir 1707 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1708esac 1709ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1710 1711 cd "$ac_dir" || { ac_status=$?; continue; } 1712 # Check for guested configure. 1713 if test -f "$ac_srcdir/configure.gnu"; then 1714 echo && 1715 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1716 elif test -f "$ac_srcdir/configure"; then 1717 echo && 1718 $SHELL "$ac_srcdir/configure" --help=recursive 1719 else 1720 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1721 fi || ac_status=$? 1722 cd "$ac_pwd" || { ac_status=$?; break; } 1723 done 1724fi 1725 1726test -n "$ac_init_help" && exit $ac_status 1727if $ac_init_version; then 1728 cat <<\_ACEOF 1729GNonLin configure 1.4.0 1730generated by GNU Autoconf 2.69 1731 1732Copyright (C) 2012 Free Software Foundation, Inc. 1733This configure script is free software; the Free Software Foundation 1734gives unlimited permission to copy, distribute and modify it. 1735_ACEOF 1736 exit 1737fi 1738 1739## ------------------------ ## 1740## Autoconf initialization. ## 1741## ------------------------ ## 1742 1743# ac_fn_c_try_compile LINENO 1744# -------------------------- 1745# Try to compile conftest.$ac_ext, and return whether this succeeded. 1746ac_fn_c_try_compile () 1747{ 1748 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1749 rm -f conftest.$ac_objext 1750 if { { ac_try="$ac_compile" 1751case "(($ac_try" in 1752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1753 *) ac_try_echo=$ac_try;; 1754esac 1755eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1756$as_echo "$ac_try_echo"; } >&5 1757 (eval "$ac_compile") 2>conftest.err 1758 ac_status=$? 1759 if test -s conftest.err; then 1760 grep -v '^ *+' conftest.err >conftest.er1 1761 cat conftest.er1 >&5 1762 mv -f conftest.er1 conftest.err 1763 fi 1764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1765 test $ac_status = 0; } && { 1766 test -z "$ac_c_werror_flag" || 1767 test ! -s conftest.err 1768 } && test -s conftest.$ac_objext; then : 1769 ac_retval=0 1770else 1771 $as_echo "$as_me: failed program was:" >&5 1772sed 's/^/| /' conftest.$ac_ext >&5 1773 1774 ac_retval=1 1775fi 1776 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1777 as_fn_set_status $ac_retval 1778 1779} # ac_fn_c_try_compile 1780 1781# ac_fn_c_try_link LINENO 1782# ----------------------- 1783# Try to link conftest.$ac_ext, and return whether this succeeded. 1784ac_fn_c_try_link () 1785{ 1786 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1787 rm -f conftest.$ac_objext conftest$ac_exeext 1788 if { { ac_try="$ac_link" 1789case "(($ac_try" in 1790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1791 *) ac_try_echo=$ac_try;; 1792esac 1793eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1794$as_echo "$ac_try_echo"; } >&5 1795 (eval "$ac_link") 2>conftest.err 1796 ac_status=$? 1797 if test -s conftest.err; then 1798 grep -v '^ *+' conftest.err >conftest.er1 1799 cat conftest.er1 >&5 1800 mv -f conftest.er1 conftest.err 1801 fi 1802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1803 test $ac_status = 0; } && { 1804 test -z "$ac_c_werror_flag" || 1805 test ! -s conftest.err 1806 } && test -s conftest$ac_exeext && { 1807 test "$cross_compiling" = yes || 1808 test -x conftest$ac_exeext 1809 }; then : 1810 ac_retval=0 1811else 1812 $as_echo "$as_me: failed program was:" >&5 1813sed 's/^/| /' conftest.$ac_ext >&5 1814 1815 ac_retval=1 1816fi 1817 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1818 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1819 # interfere with the next link command; also delete a directory that is 1820 # left behind by Apple's compiler. We do this before executing the actions. 1821 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1822 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1823 as_fn_set_status $ac_retval 1824 1825} # ac_fn_c_try_link 1826 1827# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1828# ------------------------------------------------------- 1829# Tests whether HEADER exists and can be compiled using the include files in 1830# INCLUDES, setting the cache variable VAR accordingly. 1831ac_fn_c_check_header_compile () 1832{ 1833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1835$as_echo_n "checking for $2... " >&6; } 1836if eval \${$3+:} false; then : 1837 $as_echo_n "(cached) " >&6 1838else 1839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1840/* end confdefs.h. */ 1841$4 1842#include <$2> 1843_ACEOF 1844if ac_fn_c_try_compile "$LINENO"; then : 1845 eval "$3=yes" 1846else 1847 eval "$3=no" 1848fi 1849rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1850fi 1851eval ac_res=\$$3 1852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1853$as_echo "$ac_res" >&6; } 1854 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1855 1856} # ac_fn_c_check_header_compile 1857 1858# ac_fn_c_try_cpp LINENO 1859# ---------------------- 1860# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1861ac_fn_c_try_cpp () 1862{ 1863 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1864 if { { ac_try="$ac_cpp conftest.$ac_ext" 1865case "(($ac_try" in 1866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1867 *) ac_try_echo=$ac_try;; 1868esac 1869eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1870$as_echo "$ac_try_echo"; } >&5 1871 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1872 ac_status=$? 1873 if test -s conftest.err; then 1874 grep -v '^ *+' conftest.err >conftest.er1 1875 cat conftest.er1 >&5 1876 mv -f conftest.er1 conftest.err 1877 fi 1878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1879 test $ac_status = 0; } > conftest.i && { 1880 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1881 test ! -s conftest.err 1882 }; then : 1883 ac_retval=0 1884else 1885 $as_echo "$as_me: failed program was:" >&5 1886sed 's/^/| /' conftest.$ac_ext >&5 1887 1888 ac_retval=1 1889fi 1890 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1891 as_fn_set_status $ac_retval 1892 1893} # ac_fn_c_try_cpp 1894 1895# ac_fn_c_try_run LINENO 1896# ---------------------- 1897# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1898# that executables *can* be run. 1899ac_fn_c_try_run () 1900{ 1901 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1902 if { { ac_try="$ac_link" 1903case "(($ac_try" in 1904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1905 *) ac_try_echo=$ac_try;; 1906esac 1907eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1908$as_echo "$ac_try_echo"; } >&5 1909 (eval "$ac_link") 2>&5 1910 ac_status=$? 1911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1912 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1913 { { case "(($ac_try" in 1914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1915 *) ac_try_echo=$ac_try;; 1916esac 1917eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1918$as_echo "$ac_try_echo"; } >&5 1919 (eval "$ac_try") 2>&5 1920 ac_status=$? 1921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1922 test $ac_status = 0; }; }; then : 1923 ac_retval=0 1924else 1925 $as_echo "$as_me: program exited with status $ac_status" >&5 1926 $as_echo "$as_me: failed program was:" >&5 1927sed 's/^/| /' conftest.$ac_ext >&5 1928 1929 ac_retval=$ac_status 1930fi 1931 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1932 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1933 as_fn_set_status $ac_retval 1934 1935} # ac_fn_c_try_run 1936 1937# ac_fn_c_check_func LINENO FUNC VAR 1938# ---------------------------------- 1939# Tests whether FUNC exists, setting the cache variable VAR accordingly 1940ac_fn_c_check_func () 1941{ 1942 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1944$as_echo_n "checking for $2... " >&6; } 1945if eval \${$3+:} false; then : 1946 $as_echo_n "(cached) " >&6 1947else 1948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1949/* end confdefs.h. */ 1950/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1951 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1952#define $2 innocuous_$2 1953 1954/* System header to define __stub macros and hopefully few prototypes, 1955 which can conflict with char $2 (); below. 1956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1957 <limits.h> exists even on freestanding compilers. */ 1958 1959#ifdef __STDC__ 1960# include <limits.h> 1961#else 1962# include <assert.h> 1963#endif 1964 1965#undef $2 1966 1967/* Override any GCC internal prototype to avoid an error. 1968 Use char because int might match the return type of a GCC 1969 builtin and then its argument prototype would still apply. */ 1970#ifdef __cplusplus 1971extern "C" 1972#endif 1973char $2 (); 1974/* The GNU C library defines this for functions which it implements 1975 to always fail with ENOSYS. Some functions are actually named 1976 something starting with __ and the normal name is an alias. */ 1977#if defined __stub_$2 || defined __stub___$2 1978choke me 1979#endif 1980 1981int 1982main () 1983{ 1984return $2 (); 1985 ; 1986 return 0; 1987} 1988_ACEOF 1989if ac_fn_c_try_link "$LINENO"; then : 1990 eval "$3=yes" 1991else 1992 eval "$3=no" 1993fi 1994rm -f core conftest.err conftest.$ac_objext \ 1995 conftest$ac_exeext conftest.$ac_ext 1996fi 1997eval ac_res=\$$3 1998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1999$as_echo "$ac_res" >&6; } 2000 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2001 2002} # ac_fn_c_check_func 2003cat >config.log <<_ACEOF 2004This file contains any messages produced by compilers while 2005running configure, to aid debugging if configure makes a mistake. 2006 2007It was created by GNonLin $as_me 1.4.0, which was 2008generated by GNU Autoconf 2.69. Invocation command line was 2009 2010 $ $0 $@ 2011 2012_ACEOF 2013exec 5>>config.log 2014{ 2015cat <<_ASUNAME 2016## --------- ## 2017## Platform. ## 2018## --------- ## 2019 2020hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2021uname -m = `(uname -m) 2>/dev/null || echo unknown` 2022uname -r = `(uname -r) 2>/dev/null || echo unknown` 2023uname -s = `(uname -s) 2>/dev/null || echo unknown` 2024uname -v = `(uname -v) 2>/dev/null || echo unknown` 2025 2026/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2027/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2028 2029/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2030/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2031/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2032/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2033/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2034/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2035/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2036 2037_ASUNAME 2038 2039as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2040for as_dir in $PATH 2041do 2042 IFS=$as_save_IFS 2043 test -z "$as_dir" && as_dir=. 2044 $as_echo "PATH: $as_dir" 2045 done 2046IFS=$as_save_IFS 2047 2048} >&5 2049 2050cat >&5 <<_ACEOF 2051 2052 2053## ----------- ## 2054## Core tests. ## 2055## ----------- ## 2056 2057_ACEOF 2058 2059 2060# Keep a trace of the command line. 2061# Strip out --no-create and --no-recursion so they do not pile up. 2062# Strip out --silent because we don't want to record it for future runs. 2063# Also quote any args containing shell meta-characters. 2064# Make two passes to allow for proper duplicate-argument suppression. 2065ac_configure_args= 2066ac_configure_args0= 2067ac_configure_args1= 2068ac_must_keep_next=false 2069for ac_pass in 1 2 2070do 2071 for ac_arg 2072 do 2073 case $ac_arg in 2074 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2075 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2076 | -silent | --silent | --silen | --sile | --sil) 2077 continue ;; 2078 *\'*) 2079 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2080 esac 2081 case $ac_pass in 2082 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2083 2) 2084 as_fn_append ac_configure_args1 " '$ac_arg'" 2085 if test $ac_must_keep_next = true; then 2086 ac_must_keep_next=false # Got value, back to normal. 2087 else 2088 case $ac_arg in 2089 *=* | --config-cache | -C | -disable-* | --disable-* \ 2090 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2091 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2092 | -with-* | --with-* | -without-* | --without-* | --x) 2093 case "$ac_configure_args0 " in 2094 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2095 esac 2096 ;; 2097 -* ) ac_must_keep_next=true ;; 2098 esac 2099 fi 2100 as_fn_append ac_configure_args " '$ac_arg'" 2101 ;; 2102 esac 2103 done 2104done 2105{ ac_configure_args0=; unset ac_configure_args0;} 2106{ ac_configure_args1=; unset ac_configure_args1;} 2107 2108# When interrupted or exit'd, cleanup temporary files, and complete 2109# config.log. We remove comments because anyway the quotes in there 2110# would cause problems or look ugly. 2111# WARNING: Use '\'' to represent an apostrophe within the trap. 2112# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2113trap 'exit_status=$? 2114 # Save into config.log some information that might help in debugging. 2115 { 2116 echo 2117 2118 $as_echo "## ---------------- ## 2119## Cache variables. ## 2120## ---------------- ##" 2121 echo 2122 # The following way of writing the cache mishandles newlines in values, 2123( 2124 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2125 eval ac_val=\$$ac_var 2126 case $ac_val in #( 2127 *${as_nl}*) 2128 case $ac_var in #( 2129 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2130$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2131 esac 2132 case $ac_var in #( 2133 _ | IFS | as_nl) ;; #( 2134 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2135 *) { eval $ac_var=; unset $ac_var;} ;; 2136 esac ;; 2137 esac 2138 done 2139 (set) 2>&1 | 2140 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2141 *${as_nl}ac_space=\ *) 2142 sed -n \ 2143 "s/'\''/'\''\\\\'\'''\''/g; 2144 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2145 ;; #( 2146 *) 2147 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2148 ;; 2149 esac | 2150 sort 2151) 2152 echo 2153 2154 $as_echo "## ----------------- ## 2155## Output variables. ## 2156## ----------------- ##" 2157 echo 2158 for ac_var in $ac_subst_vars 2159 do 2160 eval ac_val=\$$ac_var 2161 case $ac_val in 2162 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2163 esac 2164 $as_echo "$ac_var='\''$ac_val'\''" 2165 done | sort 2166 echo 2167 2168 if test -n "$ac_subst_files"; then 2169 $as_echo "## ------------------- ## 2170## File substitutions. ## 2171## ------------------- ##" 2172 echo 2173 for ac_var in $ac_subst_files 2174 do 2175 eval ac_val=\$$ac_var 2176 case $ac_val in 2177 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2178 esac 2179 $as_echo "$ac_var='\''$ac_val'\''" 2180 done | sort 2181 echo 2182 fi 2183 2184 if test -s confdefs.h; then 2185 $as_echo "## ----------- ## 2186## confdefs.h. ## 2187## ----------- ##" 2188 echo 2189 cat confdefs.h 2190 echo 2191 fi 2192 test "$ac_signal" != 0 && 2193 $as_echo "$as_me: caught signal $ac_signal" 2194 $as_echo "$as_me: exit $exit_status" 2195 } >&5 2196 rm -f core *.core core.conftest.* && 2197 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2198 exit $exit_status 2199' 0 2200for ac_signal in 1 2 13 15; do 2201 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2202done 2203ac_signal=0 2204 2205# confdefs.h avoids OS command line length limits that DEFS can exceed. 2206rm -f -r conftest* confdefs.h 2207 2208$as_echo "/* confdefs.h */" > confdefs.h 2209 2210# Predefined preprocessor variables. 2211 2212cat >>confdefs.h <<_ACEOF 2213#define PACKAGE_NAME "$PACKAGE_NAME" 2214_ACEOF 2215 2216cat >>confdefs.h <<_ACEOF 2217#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2218_ACEOF 2219 2220cat >>confdefs.h <<_ACEOF 2221#define PACKAGE_VERSION "$PACKAGE_VERSION" 2222_ACEOF 2223 2224cat >>confdefs.h <<_ACEOF 2225#define PACKAGE_STRING "$PACKAGE_STRING" 2226_ACEOF 2227 2228cat >>confdefs.h <<_ACEOF 2229#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2230_ACEOF 2231 2232cat >>confdefs.h <<_ACEOF 2233#define PACKAGE_URL "$PACKAGE_URL" 2234_ACEOF 2235 2236 2237# Let the site file select an alternate cache file if it wants to. 2238# Prefer an explicitly selected file to automatically selected ones. 2239ac_site_file1=NONE 2240ac_site_file2=NONE 2241if test -n "$CONFIG_SITE"; then 2242 # We do not want a PATH search for config.site. 2243 case $CONFIG_SITE in #(( 2244 -*) ac_site_file1=./$CONFIG_SITE;; 2245 */*) ac_site_file1=$CONFIG_SITE;; 2246 *) ac_site_file1=./$CONFIG_SITE;; 2247 esac 2248elif test "x$prefix" != xNONE; then 2249 ac_site_file1=$prefix/share/config.site 2250 ac_site_file2=$prefix/etc/config.site 2251else 2252 ac_site_file1=$ac_default_prefix/share/config.site 2253 ac_site_file2=$ac_default_prefix/etc/config.site 2254fi 2255for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2256do 2257 test "x$ac_site_file" = xNONE && continue 2258 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2259 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2260$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2261 sed 's/^/| /' "$ac_site_file" >&5 2262 . "$ac_site_file" \ 2263 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2264$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2265as_fn_error $? "failed to load site script $ac_site_file 2266See \`config.log' for more details" "$LINENO" 5; } 2267 fi 2268done 2269 2270if test -r "$cache_file"; then 2271 # Some versions of bash will fail to source /dev/null (special files 2272 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2273 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2274 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2275$as_echo "$as_me: loading cache $cache_file" >&6;} 2276 case $cache_file in 2277 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2278 *) . "./$cache_file";; 2279 esac 2280 fi 2281else 2282 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2283$as_echo "$as_me: creating cache $cache_file" >&6;} 2284 >$cache_file 2285fi 2286 2287# Check that the precious variables saved in the cache have kept the same 2288# value. 2289ac_cache_corrupted=false 2290for ac_var in $ac_precious_vars; do 2291 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2292 eval ac_new_set=\$ac_env_${ac_var}_set 2293 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2294 eval ac_new_val=\$ac_env_${ac_var}_value 2295 case $ac_old_set,$ac_new_set in 2296 set,) 2297 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2298$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2299 ac_cache_corrupted=: ;; 2300 ,set) 2301 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2302$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2303 ac_cache_corrupted=: ;; 2304 ,);; 2305 *) 2306 if test "x$ac_old_val" != "x$ac_new_val"; then 2307 # differences in whitespace do not lead to failure. 2308 ac_old_val_w=`echo x $ac_old_val` 2309 ac_new_val_w=`echo x $ac_new_val` 2310 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2311 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2312$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2313 ac_cache_corrupted=: 2314 else 2315 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2316$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2317 eval $ac_var=\$ac_old_val 2318 fi 2319 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2320$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2321 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2322$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2323 fi;; 2324 esac 2325 # Pass precious variables to config.status. 2326 if test "$ac_new_set" = set; then 2327 case $ac_new_val in 2328 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2329 *) ac_arg=$ac_var=$ac_new_val ;; 2330 esac 2331 case " $ac_configure_args " in 2332 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2333 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2334 esac 2335 fi 2336done 2337if $ac_cache_corrupted; then 2338 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2339$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2340 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2341$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2342 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2343fi 2344## -------------------- ## 2345## Main body of script. ## 2346## -------------------- ## 2347 2348ac_ext=c 2349ac_cpp='$CPP $CPPFLAGS' 2350ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2351ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2352ac_compiler_gnu=$ac_cv_c_compiler_gnu 2353 2354 2355 2356ac_aux_dir= 2357for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2358 if test -f "$ac_dir/install-sh"; then 2359 ac_aux_dir=$ac_dir 2360 ac_install_sh="$ac_aux_dir/install-sh -c" 2361 break 2362 elif test -f "$ac_dir/install.sh"; then 2363 ac_aux_dir=$ac_dir 2364 ac_install_sh="$ac_aux_dir/install.sh -c" 2365 break 2366 elif test -f "$ac_dir/shtool"; then 2367 ac_aux_dir=$ac_dir 2368 ac_install_sh="$ac_aux_dir/shtool install -c" 2369 break 2370 fi 2371done 2372if test -z "$ac_aux_dir"; then 2373 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2374fi 2375 2376# These three variables are undocumented and unsupported, 2377# and are intended to be withdrawn in a future Autoconf release. 2378# They can cause serious problems if a builder's source tree is in a directory 2379# whose full name contains unusual characters. 2380ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2381ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2382ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2383 2384 2385# Make sure we can run config.sub. 2386$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2387 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2388 2389{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2390$as_echo_n "checking build system type... " >&6; } 2391if ${ac_cv_build+:} false; then : 2392 $as_echo_n "(cached) " >&6 2393else 2394 ac_build_alias=$build_alias 2395test "x$ac_build_alias" = x && 2396 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2397test "x$ac_build_alias" = x && 2398 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2399ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2400 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2401 2402fi 2403{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2404$as_echo "$ac_cv_build" >&6; } 2405case $ac_cv_build in 2406*-*-*) ;; 2407*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2408esac 2409build=$ac_cv_build 2410ac_save_IFS=$IFS; IFS='-' 2411set x $ac_cv_build 2412shift 2413build_cpu=$1 2414build_vendor=$2 2415shift; shift 2416# Remember, the first character of IFS is used to create $*, 2417# except with old shells: 2418build_os=$* 2419IFS=$ac_save_IFS 2420case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2421 2422 2423{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2424$as_echo_n "checking host system type... " >&6; } 2425if ${ac_cv_host+:} false; then : 2426 $as_echo_n "(cached) " >&6 2427else 2428 if test "x$host_alias" = x; then 2429 ac_cv_host=$ac_cv_build 2430else 2431 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2432 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2433fi 2434 2435fi 2436{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2437$as_echo "$ac_cv_host" >&6; } 2438case $ac_cv_host in 2439*-*-*) ;; 2440*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2441esac 2442host=$ac_cv_host 2443ac_save_IFS=$IFS; IFS='-' 2444set x $ac_cv_host 2445shift 2446host_cpu=$1 2447host_vendor=$2 2448shift; shift 2449# Remember, the first character of IFS is used to create $*, 2450# except with old shells: 2451host_os=$* 2452IFS=$ac_save_IFS 2453case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2454 2455 2456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2457$as_echo_n "checking target system type... " >&6; } 2458if ${ac_cv_target+:} false; then : 2459 $as_echo_n "(cached) " >&6 2460else 2461 if test "x$target_alias" = x; then 2462 ac_cv_target=$ac_cv_host 2463else 2464 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2465 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2466fi 2467 2468fi 2469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2470$as_echo "$ac_cv_target" >&6; } 2471case $ac_cv_target in 2472*-*-*) ;; 2473*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 2474esac 2475target=$ac_cv_target 2476ac_save_IFS=$IFS; IFS='-' 2477set x $ac_cv_target 2478shift 2479target_cpu=$1 2480target_vendor=$2 2481shift; shift 2482# Remember, the first character of IFS is used to create $*, 2483# except with old shells: 2484target_os=$* 2485IFS=$ac_save_IFS 2486case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 2487 2488 2489# The aliases save the names the user supplied, while $host etc. 2490# will get canonicalized. 2491test -n "$target_alias" && 2492 test "$program_prefix$program_suffix$program_transform_name" = \ 2493 NONENONEs,x,x, && 2494 program_prefix=${target_alias}- 2495 2496 2497 2498 2499am__api_version='1.14' 2500 2501# Find a good install program. We prefer a C program (faster), 2502# so one script is as good as another. But avoid the broken or 2503# incompatible versions: 2504# SysV /etc/install, /usr/sbin/install 2505# SunOS /usr/etc/install 2506# IRIX /sbin/install 2507# AIX /bin/install 2508# AmigaOS /C/install, which installs bootblocks on floppy discs 2509# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2510# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2511# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2512# OS/2's system install, which has a completely different semantic 2513# ./install, which can be erroneously created by make from ./install.sh. 2514# Reject install programs that cannot install multiple files. 2515{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2516$as_echo_n "checking for a BSD-compatible install... " >&6; } 2517if test -z "$INSTALL"; then 2518if ${ac_cv_path_install+:} false; then : 2519 $as_echo_n "(cached) " >&6 2520else 2521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2522for as_dir in $PATH 2523do 2524 IFS=$as_save_IFS 2525 test -z "$as_dir" && as_dir=. 2526 # Account for people who put trailing slashes in PATH elements. 2527case $as_dir/ in #(( 2528 ./ | .// | /[cC]/* | \ 2529 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2530 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2531 /usr/ucb/* ) ;; 2532 *) 2533 # OSF1 and SCO ODT 3.0 have their own names for install. 2534 # Don't use installbsd from OSF since it installs stuff as root 2535 # by default. 2536 for ac_prog in ginstall scoinst install; do 2537 for ac_exec_ext in '' $ac_executable_extensions; do 2538 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2539 if test $ac_prog = install && 2540 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2541 # AIX install. It has an incompatible calling convention. 2542 : 2543 elif test $ac_prog = install && 2544 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2545 # program-specific install script used by HP pwplus--don't use. 2546 : 2547 else 2548 rm -rf conftest.one conftest.two conftest.dir 2549 echo one > conftest.one 2550 echo two > conftest.two 2551 mkdir conftest.dir 2552 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2553 test -s conftest.one && test -s conftest.two && 2554 test -s conftest.dir/conftest.one && 2555 test -s conftest.dir/conftest.two 2556 then 2557 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2558 break 3 2559 fi 2560 fi 2561 fi 2562 done 2563 done 2564 ;; 2565esac 2566 2567 done 2568IFS=$as_save_IFS 2569 2570rm -rf conftest.one conftest.two conftest.dir 2571 2572fi 2573 if test "${ac_cv_path_install+set}" = set; then 2574 INSTALL=$ac_cv_path_install 2575 else 2576 # As a last resort, use the slow shell script. Don't cache a 2577 # value for INSTALL within a source directory, because that will 2578 # break other packages using the cache if that directory is 2579 # removed, or if the value is a relative name. 2580 INSTALL=$ac_install_sh 2581 fi 2582fi 2583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2584$as_echo "$INSTALL" >&6; } 2585 2586# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2587# It thinks the first close brace ends the variable substitution. 2588test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2589 2590test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2591 2592test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2593 2594{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2595$as_echo_n "checking whether build environment is sane... " >&6; } 2596# Reject unsafe characters in $srcdir or the absolute working directory 2597# name. Accept space and tab only in the latter. 2598am_lf=' 2599' 2600case `pwd` in 2601 *[\\\"\#\$\&\'\`$am_lf]*) 2602 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2603esac 2604case $srcdir in 2605 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2606 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2607esac 2608 2609# Do 'set' in a subshell so we don't clobber the current shell's 2610# arguments. Must try -L first in case configure is actually a 2611# symlink; some systems play weird games with the mod time of symlinks 2612# (eg FreeBSD returns the mod time of the symlink's containing 2613# directory). 2614if ( 2615 am_has_slept=no 2616 for am_try in 1 2; do 2617 echo "timestamp, slept: $am_has_slept" > conftest.file 2618 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2619 if test "$*" = "X"; then 2620 # -L didn't work. 2621 set X `ls -t "$srcdir/configure" conftest.file` 2622 fi 2623 if test "$*" != "X $srcdir/configure conftest.file" \ 2624 && test "$*" != "X conftest.file $srcdir/configure"; then 2625 2626 # If neither matched, then we have a broken ls. This can happen 2627 # if, for instance, CONFIG_SHELL is bash and it inherits a 2628 # broken ls alias from the environment. This has actually 2629 # happened. Such a system could not be considered "sane". 2630 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2631 alias in your environment" "$LINENO" 5 2632 fi 2633 if test "$2" = conftest.file || test $am_try -eq 2; then 2634 break 2635 fi 2636 # Just in case. 2637 sleep 1 2638 am_has_slept=yes 2639 done 2640 test "$2" = conftest.file 2641 ) 2642then 2643 # Ok. 2644 : 2645else 2646 as_fn_error $? "newly created file is older than distributed files! 2647Check your system clock" "$LINENO" 5 2648fi 2649{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2650$as_echo "yes" >&6; } 2651# If we didn't sleep, we still need to ensure time stamps of config.status and 2652# generated files are strictly newer. 2653am_sleep_pid= 2654if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2655 ( sleep 1 ) & 2656 am_sleep_pid=$! 2657fi 2658 2659rm -f conftest.file 2660 2661test "$program_prefix" != NONE && 2662 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2663# Use a double $ so make ignores it. 2664test "$program_suffix" != NONE && 2665 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2666# Double any \ or $. 2667# By default was `s,x,x', remove it if useless. 2668ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2669program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2670 2671# expand $ac_aux_dir to an absolute path 2672am_aux_dir=`cd $ac_aux_dir && pwd` 2673 2674if test x"${MISSING+set}" != xset; then 2675 case $am_aux_dir in 2676 *\ * | *\ *) 2677 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2678 *) 2679 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2680 esac 2681fi 2682# Use eval to expand $SHELL 2683if eval "$MISSING --is-lightweight"; then 2684 am_missing_run="$MISSING " 2685else 2686 am_missing_run= 2687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2688$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2689fi 2690 2691if test x"${install_sh}" != xset; then 2692 case $am_aux_dir in 2693 *\ * | *\ *) 2694 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2695 *) 2696 install_sh="\${SHELL} $am_aux_dir/install-sh" 2697 esac 2698fi 2699 2700# Installed binaries are usually stripped using 'strip' when the user 2701# run "make install-strip". However 'strip' might not be the right 2702# tool to use in cross-compilation environments, therefore Automake 2703# will honor the 'STRIP' environment variable to overrule this program. 2704if test "$cross_compiling" != no; then 2705 if test -n "$ac_tool_prefix"; then 2706 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2707set dummy ${ac_tool_prefix}strip; ac_word=$2 2708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2709$as_echo_n "checking for $ac_word... " >&6; } 2710if ${ac_cv_prog_STRIP+:} false; then : 2711 $as_echo_n "(cached) " >&6 2712else 2713 if test -n "$STRIP"; then 2714 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2715else 2716as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2717for as_dir in $PATH 2718do 2719 IFS=$as_save_IFS 2720 test -z "$as_dir" && as_dir=. 2721 for ac_exec_ext in '' $ac_executable_extensions; do 2722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2723 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2725 break 2 2726 fi 2727done 2728 done 2729IFS=$as_save_IFS 2730 2731fi 2732fi 2733STRIP=$ac_cv_prog_STRIP 2734if test -n "$STRIP"; then 2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2736$as_echo "$STRIP" >&6; } 2737else 2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2739$as_echo "no" >&6; } 2740fi 2741 2742 2743fi 2744if test -z "$ac_cv_prog_STRIP"; then 2745 ac_ct_STRIP=$STRIP 2746 # Extract the first word of "strip", so it can be a program name with args. 2747set dummy strip; ac_word=$2 2748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2749$as_echo_n "checking for $ac_word... " >&6; } 2750if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2751 $as_echo_n "(cached) " >&6 2752else 2753 if test -n "$ac_ct_STRIP"; then 2754 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2755else 2756as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2757for as_dir in $PATH 2758do 2759 IFS=$as_save_IFS 2760 test -z "$as_dir" && as_dir=. 2761 for ac_exec_ext in '' $ac_executable_extensions; do 2762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2763 ac_cv_prog_ac_ct_STRIP="strip" 2764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2765 break 2 2766 fi 2767done 2768 done 2769IFS=$as_save_IFS 2770 2771fi 2772fi 2773ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2774if test -n "$ac_ct_STRIP"; then 2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2776$as_echo "$ac_ct_STRIP" >&6; } 2777else 2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2779$as_echo "no" >&6; } 2780fi 2781 2782 if test "x$ac_ct_STRIP" = x; then 2783 STRIP=":" 2784 else 2785 case $cross_compiling:$ac_tool_warned in 2786yes:) 2787{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2788$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2789ac_tool_warned=yes ;; 2790esac 2791 STRIP=$ac_ct_STRIP 2792 fi 2793else 2794 STRIP="$ac_cv_prog_STRIP" 2795fi 2796 2797fi 2798INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2799 2800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2801$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2802if test -z "$MKDIR_P"; then 2803 if ${ac_cv_path_mkdir+:} false; then : 2804 $as_echo_n "(cached) " >&6 2805else 2806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2807for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2808do 2809 IFS=$as_save_IFS 2810 test -z "$as_dir" && as_dir=. 2811 for ac_prog in mkdir gmkdir; do 2812 for ac_exec_ext in '' $ac_executable_extensions; do 2813 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2814 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2815 'mkdir (GNU coreutils) '* | \ 2816 'mkdir (coreutils) '* | \ 2817 'mkdir (fileutils) '4.1*) 2818 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2819 break 3;; 2820 esac 2821 done 2822 done 2823 done 2824IFS=$as_save_IFS 2825 2826fi 2827 2828 test -d ./--version && rmdir ./--version 2829 if test "${ac_cv_path_mkdir+set}" = set; then 2830 MKDIR_P="$ac_cv_path_mkdir -p" 2831 else 2832 # As a last resort, use the slow shell script. Don't cache a 2833 # value for MKDIR_P within a source directory, because that will 2834 # break other packages using the cache if that directory is 2835 # removed, or if the value is a relative name. 2836 MKDIR_P="$ac_install_sh -d" 2837 fi 2838fi 2839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2840$as_echo "$MKDIR_P" >&6; } 2841 2842for ac_prog in gawk mawk nawk awk 2843do 2844 # Extract the first word of "$ac_prog", so it can be a program name with args. 2845set dummy $ac_prog; ac_word=$2 2846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2847$as_echo_n "checking for $ac_word... " >&6; } 2848if ${ac_cv_prog_AWK+:} false; then : 2849 $as_echo_n "(cached) " >&6 2850else 2851 if test -n "$AWK"; then 2852 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2853else 2854as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2855for as_dir in $PATH 2856do 2857 IFS=$as_save_IFS 2858 test -z "$as_dir" && as_dir=. 2859 for ac_exec_ext in '' $ac_executable_extensions; do 2860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2861 ac_cv_prog_AWK="$ac_prog" 2862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2863 break 2 2864 fi 2865done 2866 done 2867IFS=$as_save_IFS 2868 2869fi 2870fi 2871AWK=$ac_cv_prog_AWK 2872if test -n "$AWK"; then 2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2874$as_echo "$AWK" >&6; } 2875else 2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2877$as_echo "no" >&6; } 2878fi 2879 2880 2881 test -n "$AWK" && break 2882done 2883 2884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2885$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2886set x ${MAKE-make} 2887ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2888if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2889 $as_echo_n "(cached) " >&6 2890else 2891 cat >conftest.make <<\_ACEOF 2892SHELL = /bin/sh 2893all: 2894 @echo '@@@%%%=$(MAKE)=@@@%%%' 2895_ACEOF 2896# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2897case `${MAKE-make} -f conftest.make 2>/dev/null` in 2898 *@@@%%%=?*=@@@%%%*) 2899 eval ac_cv_prog_make_${ac_make}_set=yes;; 2900 *) 2901 eval ac_cv_prog_make_${ac_make}_set=no;; 2902esac 2903rm -f conftest.make 2904fi 2905if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2907$as_echo "yes" >&6; } 2908 SET_MAKE= 2909else 2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2911$as_echo "no" >&6; } 2912 SET_MAKE="MAKE=${MAKE-make}" 2913fi 2914 2915rm -rf .tst 2>/dev/null 2916mkdir .tst 2>/dev/null 2917if test -d .tst; then 2918 am__leading_dot=. 2919else 2920 am__leading_dot=_ 2921fi 2922rmdir .tst 2>/dev/null 2923 2924# Check whether --enable-silent-rules was given. 2925if test "${enable_silent_rules+set}" = set; then : 2926 enableval=$enable_silent_rules; 2927fi 2928 2929case $enable_silent_rules in # ((( 2930 yes) AM_DEFAULT_VERBOSITY=0;; 2931 no) AM_DEFAULT_VERBOSITY=1;; 2932 *) AM_DEFAULT_VERBOSITY=1;; 2933esac 2934am_make=${MAKE-make} 2935{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2936$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2937if ${am_cv_make_support_nested_variables+:} false; then : 2938 $as_echo_n "(cached) " >&6 2939else 2940 if $as_echo 'TRUE=$(BAR$(V)) 2941BAR0=false 2942BAR1=true 2943V=1 2944am__doit: 2945 @$(TRUE) 2946.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2947 am_cv_make_support_nested_variables=yes 2948else 2949 am_cv_make_support_nested_variables=no 2950fi 2951fi 2952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2953$as_echo "$am_cv_make_support_nested_variables" >&6; } 2954if test $am_cv_make_support_nested_variables = yes; then 2955 AM_V='$(V)' 2956 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2957else 2958 AM_V=$AM_DEFAULT_VERBOSITY 2959 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2960fi 2961AM_BACKSLASH='\' 2962 2963if test "`cd $srcdir && pwd`" != "`pwd`"; then 2964 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2965 # is not polluted with repeated "-I." 2966 am__isrc=' -I$(srcdir)' 2967 # test to see if srcdir already configured 2968 if test -f $srcdir/config.status; then 2969 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2970 fi 2971fi 2972 2973# test whether we have cygpath 2974if test -z "$CYGPATH_W"; then 2975 if (cygpath --version) >/dev/null 2>/dev/null; then 2976 CYGPATH_W='cygpath -w' 2977 else 2978 CYGPATH_W=echo 2979 fi 2980fi 2981 2982 2983# Define the identity of the package. 2984 PACKAGE='gnonlin' 2985 VERSION='1.4.0' 2986 2987 2988cat >>confdefs.h <<_ACEOF 2989#define PACKAGE "$PACKAGE" 2990_ACEOF 2991 2992 2993cat >>confdefs.h <<_ACEOF 2994#define VERSION "$VERSION" 2995_ACEOF 2996 2997# Some tools Automake needs. 2998 2999ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3000 3001 3002AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3003 3004 3005AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3006 3007 3008AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3009 3010 3011MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3012 3013# For better backward compatibility. To be removed once Automake 1.9.x 3014# dies out for good. For more background, see: 3015# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3016# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3017mkdir_p='$(MKDIR_P)' 3018 3019# We need awk for the "check" target. The system "awk" is bad on 3020# some platforms. 3021# Always define AMTAR for backward compatibility. Yes, it's still used 3022# in the wild :-( We should find a proper way to deprecate it ... 3023AMTAR='$${TAR-tar}' 3024 3025 3026# We'll loop over all known methods to create a tar archive until one works. 3027_am_tools='gnutar plaintar pax cpio none' 3028 3029# The POSIX 1988 'ustar' format is defined with fixed-size fields. 3030 # There is notably a 21 bits limit for the UID and the GID. In fact, 3031 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 3032 # and bug#13588). 3033 am_max_uid=2097151 # 2^21 - 1 3034 am_max_gid=$am_max_uid 3035 # The $UID and $GID variables are not portable, so we need to resort 3036 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls 3037 # below are definitely unexpected, so allow the users to see them 3038 # (that is, avoid stderr redirection). 3039 am_uid=`id -u || echo unknown` 3040 am_gid=`id -g || echo unknown` 3041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5 3042$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; } 3043 if test $am_uid -le $am_max_uid; then 3044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3045$as_echo "yes" >&6; } 3046 else 3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3048$as_echo "no" >&6; } 3049 _am_tools=none 3050 fi 3051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5 3052$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; } 3053 if test $am_gid -le $am_max_gid; then 3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3055$as_echo "yes" >&6; } 3056 else 3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3058$as_echo "no" >&6; } 3059 _am_tools=none 3060 fi 3061 3062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 3063$as_echo_n "checking how to create a ustar tar archive... " >&6; } 3064 3065 # Go ahead even if we have the value already cached. We do so because we 3066 # need to set the values for the 'am__tar' and 'am__untar' variables. 3067 _am_tools=${am_cv_prog_tar_ustar-$_am_tools} 3068 3069 for _am_tool in $_am_tools; do 3070 case $_am_tool in 3071 gnutar) 3072 for _am_tar in tar gnutar gtar; do 3073 { echo "$as_me:$LINENO: $_am_tar --version" >&5 3074 ($_am_tar --version) >&5 2>&5 3075 ac_status=$? 3076 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3077 (exit $ac_status); } && break 3078 done 3079 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' 3080 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' 3081 am__untar="$_am_tar -xf -" 3082 ;; 3083 plaintar) 3084 # Must skip GNU tar: if it does not support --format= it doesn't create 3085 # ustar tarball either. 3086 (tar --version) >/dev/null 2>&1 && continue 3087 am__tar='tar chf - "$$tardir"' 3088 am__tar_='tar chf - "$tardir"' 3089 am__untar='tar xf -' 3090 ;; 3091 pax) 3092 am__tar='pax -L -x ustar -w "$$tardir"' 3093 am__tar_='pax -L -x ustar -w "$tardir"' 3094 am__untar='pax -r' 3095 ;; 3096 cpio) 3097 am__tar='find "$$tardir" -print | cpio -o -H ustar -L' 3098 am__tar_='find "$tardir" -print | cpio -o -H ustar -L' 3099 am__untar='cpio -i -H ustar -d' 3100 ;; 3101 none) 3102 am__tar=false 3103 am__tar_=false 3104 am__untar=false 3105 ;; 3106 esac 3107 3108 # If the value was cached, stop now. We just wanted to have am__tar 3109 # and am__untar set. 3110 test -n "${am_cv_prog_tar_ustar}" && break 3111 3112 # tar/untar a dummy directory, and stop if the command works. 3113 rm -rf conftest.dir 3114 mkdir conftest.dir 3115 echo GrepMe > conftest.dir/file 3116 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 3117 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 3118 ac_status=$? 3119 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3120 (exit $ac_status); } 3121 rm -rf conftest.dir 3122 if test -s conftest.tar; then 3123 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 3124 ($am__untar <conftest.tar) >&5 2>&5 3125 ac_status=$? 3126 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3127 (exit $ac_status); } 3128 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 3129 (cat conftest.dir/file) >&5 2>&5 3130 ac_status=$? 3131 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3132 (exit $ac_status); } 3133 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 3134 fi 3135 done 3136 rm -rf conftest.dir 3137 3138 if ${am_cv_prog_tar_ustar+:} false; then : 3139 $as_echo_n "(cached) " >&6 3140else 3141 am_cv_prog_tar_ustar=$_am_tool 3142fi 3143 3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 3145$as_echo "$am_cv_prog_tar_ustar" >&6; } 3146 3147 3148 3149 3150 3151 3152# POSIX will say in a future version that running "rm -f" with no argument 3153# is OK; and we want to be able to make that assumption in our Makefile 3154# recipes. So use an aggressive probe to check that the usage we want is 3155# actually supported "in the wild" to an acceptable degree. 3156# See automake bug#10828. 3157# To make any issue more visible, cause the running configure to be aborted 3158# by default if the 'rm' program in use doesn't match our expectations; the 3159# user can still override this though. 3160if rm -f && rm -fr && rm -rf; then : OK; else 3161 cat >&2 <<'END' 3162Oops! 3163 3164Your 'rm' program seems unable to run without file operands specified 3165on the command line, even when the '-f' option is present. This is contrary 3166to the behaviour of most rm programs out there, and not conforming with 3167the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3168 3169Please tell bug-automake@gnu.org about your system, including the value 3170of your $PATH and any error possibly output before this message. This 3171can help us improve future automake versions. 3172 3173END 3174 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3175 echo 'Configuration will proceed anyway, since you have set the' >&2 3176 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3177 echo >&2 3178 else 3179 cat >&2 <<'END' 3180Aborting the configuration process, to ensure you take notice of the issue. 3181 3182You can download and install GNU coreutils to get an 'rm' implementation 3183that behaves properly: <http://www.gnu.org/software/coreutils/>. 3184 3185If you want to complete the configuration process using your problematic 3186'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3187to "yes", and re-run configure. 3188 3189END 3190 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3191 fi 3192fi 3193 3194 3195 PACKAGE_VERSION_MAJOR=$(echo 1.4.0 | cut -d'.' -f1) 3196 PACKAGE_VERSION_MINOR=$(echo 1.4.0 | cut -d'.' -f2) 3197 PACKAGE_VERSION_MICRO=$(echo 1.4.0 | cut -d'.' -f3) 3198 3199 3200 3201 3202 3203 3204 3205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking nano version" >&5 3206$as_echo_n "checking nano version... " >&6; } 3207 3208 NANO=$(echo 1.4.0 | cut -d'.' -f4) 3209 3210 if test x"$NANO" = x || test "x$NANO" = "x0" ; then 3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5 3212$as_echo "0 (release)" >&6; } 3213 NANO=0 3214 PACKAGE_VERSION_RELEASE=1 3215 GST_GIT="no" 3216 else 3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NANO" >&5 3218$as_echo "$NANO" >&6; } 3219 PACKAGE_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S` 3220 if test "x$NANO" != "x1" ; then 3221 GST_GIT="no" 3222 else 3223 GST_GIT="yes" 3224 fi 3225 fi 3226 PACKAGE_VERSION_NANO=$NANO 3227 3228 3229 3230 3231 3232 3233ac_config_headers="$ac_config_headers config.h" 3234 3235 3236 3237{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3238$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3239 # Check whether --enable-maintainer-mode was given. 3240if test "${enable_maintainer_mode+set}" = set; then : 3241 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 3242else 3243 USE_MAINTAINER_MODE=yes 3244fi 3245 3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3247$as_echo "$USE_MAINTAINER_MODE" >&6; } 3248 if test $USE_MAINTAINER_MODE = yes; then 3249 MAINTAINER_MODE_TRUE= 3250 MAINTAINER_MODE_FALSE='#' 3251else 3252 MAINTAINER_MODE_TRUE='#' 3253 MAINTAINER_MODE_FALSE= 3254fi 3255 3256 MAINT=$MAINTAINER_MODE_TRUE 3257 3258 3259 3260 3261 3262# Check whether --enable-silent-rules was given. 3263if test "${enable_silent_rules+set}" = set; then : 3264 enableval=$enable_silent_rules; 3265fi 3266 3267case $enable_silent_rules in # ((( 3268 yes) AM_DEFAULT_VERBOSITY=0;; 3269 no) AM_DEFAULT_VERBOSITY=1;; 3270 *) AM_DEFAULT_VERBOSITY=0;; 3271esac 3272am_make=${MAKE-make} 3273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3274$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3275if ${am_cv_make_support_nested_variables+:} false; then : 3276 $as_echo_n "(cached) " >&6 3277else 3278 if $as_echo 'TRUE=$(BAR$(V)) 3279BAR0=false 3280BAR1=true 3281V=1 3282am__doit: 3283 @$(TRUE) 3284.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3285 am_cv_make_support_nested_variables=yes 3286else 3287 am_cv_make_support_nested_variables=no 3288fi 3289fi 3290{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3291$as_echo "$am_cv_make_support_nested_variables" >&6; } 3292if test $am_cv_make_support_nested_variables = yes; then 3293 AM_V='$(V)' 3294 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3295else 3296 AM_V=$AM_DEFAULT_VERBOSITY 3297 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3298fi 3299AM_BACKSLASH='\' 3300 3301 3302GST_API_VERSION=$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR 3303GST_API_VERSION=1.0 3304 3305 3306case `pwd` in 3307 *\ * | *\ *) 3308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 3309$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 3310esac 3311 3312 3313 3314macro_version='2.4.2' 3315macro_revision='1.3337' 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329ltmain="$ac_aux_dir/ltmain.sh" 3330 3331# Backslashify metacharacters that are still active within 3332# double-quoted strings. 3333sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 3334 3335# Same as above, but do not quote variable references. 3336double_quote_subst='s/\(["`\\]\)/\\\1/g' 3337 3338# Sed substitution to delay expansion of an escaped shell variable in a 3339# double_quote_subst'ed string. 3340delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 3341 3342# Sed substitution to delay expansion of an escaped single quote. 3343delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 3344 3345# Sed substitution to avoid accidental globbing in evaled expressions 3346no_glob_subst='s/\*/\\\*/g' 3347 3348ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 3349ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 3350ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 3351 3352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 3353$as_echo_n "checking how to print strings... " >&6; } 3354# Test print first, because it will be a builtin if present. 3355if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 3356 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 3357 ECHO='print -r --' 3358elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 3359 ECHO='printf %s\n' 3360else 3361 # Use this function as a fallback that always works. 3362 func_fallback_echo () 3363 { 3364 eval 'cat <<_LTECHO_EOF 3365$1 3366_LTECHO_EOF' 3367 } 3368 ECHO='func_fallback_echo' 3369fi 3370 3371# func_echo_all arg... 3372# Invoke $ECHO with all args, space-separated. 3373func_echo_all () 3374{ 3375 $ECHO "" 3376} 3377 3378case "$ECHO" in 3379 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 3380$as_echo "printf" >&6; } ;; 3381 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 3382$as_echo "print -r" >&6; } ;; 3383 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 3384$as_echo "cat" >&6; } ;; 3385esac 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400DEPDIR="${am__leading_dot}deps" 3401 3402ac_config_commands="$ac_config_commands depfiles" 3403 3404 3405am_make=${MAKE-make} 3406cat > confinc << 'END' 3407am__doit: 3408 @echo this is the am__doit target 3409.PHONY: am__doit 3410END 3411# If we don't find an include directive, just comment out the code. 3412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3413$as_echo_n "checking for style of include used by $am_make... " >&6; } 3414am__include="#" 3415am__quote= 3416_am_result=none 3417# First try GNU make style include. 3418echo "include confinc" > confmf 3419# Ignore all kinds of additional output from 'make'. 3420case `$am_make -s -f confmf 2> /dev/null` in #( 3421*the\ am__doit\ target*) 3422 am__include=include 3423 am__quote= 3424 _am_result=GNU 3425 ;; 3426esac 3427# Now try BSD make style include. 3428if test "$am__include" = "#"; then 3429 echo '.include "confinc"' > confmf 3430 case `$am_make -s -f confmf 2> /dev/null` in #( 3431 *the\ am__doit\ target*) 3432 am__include=.include 3433 am__quote="\"" 3434 _am_result=BSD 3435 ;; 3436 esac 3437fi 3438 3439 3440{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3441$as_echo "$_am_result" >&6; } 3442rm -f confinc confmf 3443 3444# Check whether --enable-dependency-tracking was given. 3445if test "${enable_dependency_tracking+set}" = set; then : 3446 enableval=$enable_dependency_tracking; 3447fi 3448 3449if test "x$enable_dependency_tracking" != xno; then 3450 am_depcomp="$ac_aux_dir/depcomp" 3451 AMDEPBACKSLASH='\' 3452 am__nodep='_no' 3453fi 3454 if test "x$enable_dependency_tracking" != xno; then 3455 AMDEP_TRUE= 3456 AMDEP_FALSE='#' 3457else 3458 AMDEP_TRUE='#' 3459 AMDEP_FALSE= 3460fi 3461 3462 3463ac_ext=c 3464ac_cpp='$CPP $CPPFLAGS' 3465ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3466ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3467ac_compiler_gnu=$ac_cv_c_compiler_gnu 3468if test -n "$ac_tool_prefix"; then 3469 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3470set dummy ${ac_tool_prefix}gcc; ac_word=$2 3471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3472$as_echo_n "checking for $ac_word... " >&6; } 3473if ${ac_cv_prog_CC+:} false; then : 3474 $as_echo_n "(cached) " >&6 3475else 3476 if test -n "$CC"; then 3477 ac_cv_prog_CC="$CC" # Let the user override the test. 3478else 3479as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3480for as_dir in $PATH 3481do 3482 IFS=$as_save_IFS 3483 test -z "$as_dir" && as_dir=. 3484 for ac_exec_ext in '' $ac_executable_extensions; do 3485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3486 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3488 break 2 3489 fi 3490done 3491 done 3492IFS=$as_save_IFS 3493 3494fi 3495fi 3496CC=$ac_cv_prog_CC 3497if test -n "$CC"; then 3498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3499$as_echo "$CC" >&6; } 3500else 3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3502$as_echo "no" >&6; } 3503fi 3504 3505 3506fi 3507if test -z "$ac_cv_prog_CC"; then 3508 ac_ct_CC=$CC 3509 # Extract the first word of "gcc", so it can be a program name with args. 3510set dummy gcc; ac_word=$2 3511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3512$as_echo_n "checking for $ac_word... " >&6; } 3513if ${ac_cv_prog_ac_ct_CC+:} false; then : 3514 $as_echo_n "(cached) " >&6 3515else 3516 if test -n "$ac_ct_CC"; then 3517 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3518else 3519as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3520for as_dir in $PATH 3521do 3522 IFS=$as_save_IFS 3523 test -z "$as_dir" && as_dir=. 3524 for ac_exec_ext in '' $ac_executable_extensions; do 3525 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3526 ac_cv_prog_ac_ct_CC="gcc" 3527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3528 break 2 3529 fi 3530done 3531 done 3532IFS=$as_save_IFS 3533 3534fi 3535fi 3536ac_ct_CC=$ac_cv_prog_ac_ct_CC 3537if test -n "$ac_ct_CC"; then 3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3539$as_echo "$ac_ct_CC" >&6; } 3540else 3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3542$as_echo "no" >&6; } 3543fi 3544 3545 if test "x$ac_ct_CC" = x; then 3546 CC="" 3547 else 3548 case $cross_compiling:$ac_tool_warned in 3549yes:) 3550{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3551$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3552ac_tool_warned=yes ;; 3553esac 3554 CC=$ac_ct_CC 3555 fi 3556else 3557 CC="$ac_cv_prog_CC" 3558fi 3559 3560if test -z "$CC"; then 3561 if test -n "$ac_tool_prefix"; then 3562 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3563set dummy ${ac_tool_prefix}cc; ac_word=$2 3564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3565$as_echo_n "checking for $ac_word... " >&6; } 3566if ${ac_cv_prog_CC+:} false; then : 3567 $as_echo_n "(cached) " >&6 3568else 3569 if test -n "$CC"; then 3570 ac_cv_prog_CC="$CC" # Let the user override the test. 3571else 3572as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3573for as_dir in $PATH 3574do 3575 IFS=$as_save_IFS 3576 test -z "$as_dir" && as_dir=. 3577 for ac_exec_ext in '' $ac_executable_extensions; do 3578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3579 ac_cv_prog_CC="${ac_tool_prefix}cc" 3580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3581 break 2 3582 fi 3583done 3584 done 3585IFS=$as_save_IFS 3586 3587fi 3588fi 3589CC=$ac_cv_prog_CC 3590if test -n "$CC"; then 3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3592$as_echo "$CC" >&6; } 3593else 3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3595$as_echo "no" >&6; } 3596fi 3597 3598 3599 fi 3600fi 3601if test -z "$CC"; then 3602 # Extract the first word of "cc", so it can be a program name with args. 3603set dummy cc; ac_word=$2 3604{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3605$as_echo_n "checking for $ac_word... " >&6; } 3606if ${ac_cv_prog_CC+:} false; then : 3607 $as_echo_n "(cached) " >&6 3608else 3609 if test -n "$CC"; then 3610 ac_cv_prog_CC="$CC" # Let the user override the test. 3611else 3612 ac_prog_rejected=no 3613as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3614for as_dir in $PATH 3615do 3616 IFS=$as_save_IFS 3617 test -z "$as_dir" && as_dir=. 3618 for ac_exec_ext in '' $ac_executable_extensions; do 3619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3620 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3621 ac_prog_rejected=yes 3622 continue 3623 fi 3624 ac_cv_prog_CC="cc" 3625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3626 break 2 3627 fi 3628done 3629 done 3630IFS=$as_save_IFS 3631 3632if test $ac_prog_rejected = yes; then 3633 # We found a bogon in the path, so make sure we never use it. 3634 set dummy $ac_cv_prog_CC 3635 shift 3636 if test $# != 0; then 3637 # We chose a different compiler from the bogus one. 3638 # However, it has the same basename, so the bogon will be chosen 3639 # first if we set CC to just the basename; use the full file name. 3640 shift 3641 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3642 fi 3643fi 3644fi 3645fi 3646CC=$ac_cv_prog_CC 3647if test -n "$CC"; then 3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3649$as_echo "$CC" >&6; } 3650else 3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3652$as_echo "no" >&6; } 3653fi 3654 3655 3656fi 3657if test -z "$CC"; then 3658 if test -n "$ac_tool_prefix"; then 3659 for ac_prog in cl.exe 3660 do 3661 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3662set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3664$as_echo_n "checking for $ac_word... " >&6; } 3665if ${ac_cv_prog_CC+:} false; then : 3666 $as_echo_n "(cached) " >&6 3667else 3668 if test -n "$CC"; then 3669 ac_cv_prog_CC="$CC" # Let the user override the test. 3670else 3671as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3672for as_dir in $PATH 3673do 3674 IFS=$as_save_IFS 3675 test -z "$as_dir" && as_dir=. 3676 for ac_exec_ext in '' $ac_executable_extensions; do 3677 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3678 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3680 break 2 3681 fi 3682done 3683 done 3684IFS=$as_save_IFS 3685 3686fi 3687fi 3688CC=$ac_cv_prog_CC 3689if test -n "$CC"; then 3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3691$as_echo "$CC" >&6; } 3692else 3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3694$as_echo "no" >&6; } 3695fi 3696 3697 3698 test -n "$CC" && break 3699 done 3700fi 3701if test -z "$CC"; then 3702 ac_ct_CC=$CC 3703 for ac_prog in cl.exe 3704do 3705 # Extract the first word of "$ac_prog", so it can be a program name with args. 3706set dummy $ac_prog; ac_word=$2 3707{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3708$as_echo_n "checking for $ac_word... " >&6; } 3709if ${ac_cv_prog_ac_ct_CC+:} false; then : 3710 $as_echo_n "(cached) " >&6 3711else 3712 if test -n "$ac_ct_CC"; then 3713 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3714else 3715as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3716for as_dir in $PATH 3717do 3718 IFS=$as_save_IFS 3719 test -z "$as_dir" && as_dir=. 3720 for ac_exec_ext in '' $ac_executable_extensions; do 3721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3722 ac_cv_prog_ac_ct_CC="$ac_prog" 3723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3724 break 2 3725 fi 3726done 3727 done 3728IFS=$as_save_IFS 3729 3730fi 3731fi 3732ac_ct_CC=$ac_cv_prog_ac_ct_CC 3733if test -n "$ac_ct_CC"; then 3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3735$as_echo "$ac_ct_CC" >&6; } 3736else 3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3738$as_echo "no" >&6; } 3739fi 3740 3741 3742 test -n "$ac_ct_CC" && break 3743done 3744 3745 if test "x$ac_ct_CC" = x; then 3746 CC="" 3747 else 3748 case $cross_compiling:$ac_tool_warned in 3749yes:) 3750{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3751$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3752ac_tool_warned=yes ;; 3753esac 3754 CC=$ac_ct_CC 3755 fi 3756fi 3757 3758fi 3759 3760 3761test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3762$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3763as_fn_error $? "no acceptable C compiler found in \$PATH 3764See \`config.log' for more details" "$LINENO" 5; } 3765 3766# Provide some information about the compiler. 3767$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3768set X $ac_compile 3769ac_compiler=$2 3770for ac_option in --version -v -V -qversion; do 3771 { { ac_try="$ac_compiler $ac_option >&5" 3772case "(($ac_try" in 3773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3774 *) ac_try_echo=$ac_try;; 3775esac 3776eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3777$as_echo "$ac_try_echo"; } >&5 3778 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3779 ac_status=$? 3780 if test -s conftest.err; then 3781 sed '10a\ 3782... rest of stderr output deleted ... 3783 10q' conftest.err >conftest.er1 3784 cat conftest.er1 >&5 3785 fi 3786 rm -f conftest.er1 conftest.err 3787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3788 test $ac_status = 0; } 3789done 3790 3791cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3792/* end confdefs.h. */ 3793 3794int 3795main () 3796{ 3797 3798 ; 3799 return 0; 3800} 3801_ACEOF 3802ac_clean_files_save=$ac_clean_files 3803ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3804# Try to create an executable without -o first, disregard a.out. 3805# It will help us diagnose broken compilers, and finding out an intuition 3806# of exeext. 3807{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3808$as_echo_n "checking whether the C compiler works... " >&6; } 3809ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3810 3811# The possible output files: 3812ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3813 3814ac_rmfiles= 3815for ac_file in $ac_files 3816do 3817 case $ac_file in 3818 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3819 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3820 esac 3821done 3822rm -f $ac_rmfiles 3823 3824if { { ac_try="$ac_link_default" 3825case "(($ac_try" in 3826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3827 *) ac_try_echo=$ac_try;; 3828esac 3829eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3830$as_echo "$ac_try_echo"; } >&5 3831 (eval "$ac_link_default") 2>&5 3832 ac_status=$? 3833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3834 test $ac_status = 0; }; then : 3835 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3836# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3837# in a Makefile. We should not override ac_cv_exeext if it was cached, 3838# so that the user can short-circuit this test for compilers unknown to 3839# Autoconf. 3840for ac_file in $ac_files '' 3841do 3842 test -f "$ac_file" || continue 3843 case $ac_file in 3844 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3845 ;; 3846 [ab].out ) 3847 # We found the default executable, but exeext='' is most 3848 # certainly right. 3849 break;; 3850 *.* ) 3851 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3852 then :; else 3853 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3854 fi 3855 # We set ac_cv_exeext here because the later test for it is not 3856 # safe: cross compilers may not add the suffix if given an `-o' 3857 # argument, so we may need to know it at that point already. 3858 # Even if this section looks crufty: it has the advantage of 3859 # actually working. 3860 break;; 3861 * ) 3862 break;; 3863 esac 3864done 3865test "$ac_cv_exeext" = no && ac_cv_exeext= 3866 3867else 3868 ac_file='' 3869fi 3870if test -z "$ac_file"; then : 3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3872$as_echo "no" >&6; } 3873$as_echo "$as_me: failed program was:" >&5 3874sed 's/^/| /' conftest.$ac_ext >&5 3875 3876{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3877$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3878as_fn_error 77 "C compiler cannot create executables 3879See \`config.log' for more details" "$LINENO" 5; } 3880else 3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3882$as_echo "yes" >&6; } 3883fi 3884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3885$as_echo_n "checking for C compiler default output file name... " >&6; } 3886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3887$as_echo "$ac_file" >&6; } 3888ac_exeext=$ac_cv_exeext 3889 3890rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3891ac_clean_files=$ac_clean_files_save 3892{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3893$as_echo_n "checking for suffix of executables... " >&6; } 3894if { { ac_try="$ac_link" 3895case "(($ac_try" in 3896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3897 *) ac_try_echo=$ac_try;; 3898esac 3899eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3900$as_echo "$ac_try_echo"; } >&5 3901 (eval "$ac_link") 2>&5 3902 ac_status=$? 3903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3904 test $ac_status = 0; }; then : 3905 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3906# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3907# work properly (i.e., refer to `conftest.exe'), while it won't with 3908# `rm'. 3909for ac_file in conftest.exe conftest conftest.*; do 3910 test -f "$ac_file" || continue 3911 case $ac_file in 3912 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3913 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3914 break;; 3915 * ) break;; 3916 esac 3917done 3918else 3919 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3920$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3921as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3922See \`config.log' for more details" "$LINENO" 5; } 3923fi 3924rm -f conftest conftest$ac_cv_exeext 3925{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3926$as_echo "$ac_cv_exeext" >&6; } 3927 3928rm -f conftest.$ac_ext 3929EXEEXT=$ac_cv_exeext 3930ac_exeext=$EXEEXT 3931cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3932/* end confdefs.h. */ 3933#include <stdio.h> 3934int 3935main () 3936{ 3937FILE *f = fopen ("conftest.out", "w"); 3938 return ferror (f) || fclose (f) != 0; 3939 3940 ; 3941 return 0; 3942} 3943_ACEOF 3944ac_clean_files="$ac_clean_files conftest.out" 3945# Check that the compiler produces executables we can run. If not, either 3946# the compiler is broken, or we cross compile. 3947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3948$as_echo_n "checking whether we are cross compiling... " >&6; } 3949if test "$cross_compiling" != yes; then 3950 { { ac_try="$ac_link" 3951case "(($ac_try" in 3952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3953 *) ac_try_echo=$ac_try;; 3954esac 3955eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3956$as_echo "$ac_try_echo"; } >&5 3957 (eval "$ac_link") 2>&5 3958 ac_status=$? 3959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3960 test $ac_status = 0; } 3961 if { ac_try='./conftest$ac_cv_exeext' 3962 { { case "(($ac_try" in 3963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3964 *) ac_try_echo=$ac_try;; 3965esac 3966eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3967$as_echo "$ac_try_echo"; } >&5 3968 (eval "$ac_try") 2>&5 3969 ac_status=$? 3970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3971 test $ac_status = 0; }; }; then 3972 cross_compiling=no 3973 else 3974 if test "$cross_compiling" = maybe; then 3975 cross_compiling=yes 3976 else 3977 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3978$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3979as_fn_error $? "cannot run C compiled programs. 3980If you meant to cross compile, use \`--host'. 3981See \`config.log' for more details" "$LINENO" 5; } 3982 fi 3983 fi 3984fi 3985{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3986$as_echo "$cross_compiling" >&6; } 3987 3988rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3989ac_clean_files=$ac_clean_files_save 3990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3991$as_echo_n "checking for suffix of object files... " >&6; } 3992if ${ac_cv_objext+:} false; then : 3993 $as_echo_n "(cached) " >&6 3994else 3995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3996/* end confdefs.h. */ 3997 3998int 3999main () 4000{ 4001 4002 ; 4003 return 0; 4004} 4005_ACEOF 4006rm -f conftest.o conftest.obj 4007if { { ac_try="$ac_compile" 4008case "(($ac_try" in 4009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4010 *) ac_try_echo=$ac_try;; 4011esac 4012eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4013$as_echo "$ac_try_echo"; } >&5 4014 (eval "$ac_compile") 2>&5 4015 ac_status=$? 4016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4017 test $ac_status = 0; }; then : 4018 for ac_file in conftest.o conftest.obj conftest.*; do 4019 test -f "$ac_file" || continue; 4020 case $ac_file in 4021 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 4022 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 4023 break;; 4024 esac 4025done 4026else 4027 $as_echo "$as_me: failed program was:" >&5 4028sed 's/^/| /' conftest.$ac_ext >&5 4029 4030{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4031$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4032as_fn_error $? "cannot compute suffix of object files: cannot compile 4033See \`config.log' for more details" "$LINENO" 5; } 4034fi 4035rm -f conftest.$ac_cv_objext conftest.$ac_ext 4036fi 4037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4038$as_echo "$ac_cv_objext" >&6; } 4039OBJEXT=$ac_cv_objext 4040ac_objext=$OBJEXT 4041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4042$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4043if ${ac_cv_c_compiler_gnu+:} false; then : 4044 $as_echo_n "(cached) " >&6 4045else 4046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4047/* end confdefs.h. */ 4048 4049int 4050main () 4051{ 4052#ifndef __GNUC__ 4053 choke me 4054#endif 4055 4056 ; 4057 return 0; 4058} 4059_ACEOF 4060if ac_fn_c_try_compile "$LINENO"; then : 4061 ac_compiler_gnu=yes 4062else 4063 ac_compiler_gnu=no 4064fi 4065rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4066ac_cv_c_compiler_gnu=$ac_compiler_gnu 4067 4068fi 4069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4070$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4071if test $ac_compiler_gnu = yes; then 4072 GCC=yes 4073else 4074 GCC= 4075fi 4076ac_test_CFLAGS=${CFLAGS+set} 4077ac_save_CFLAGS=$CFLAGS 4078{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4079$as_echo_n "checking whether $CC accepts -g... " >&6; } 4080if ${ac_cv_prog_cc_g+:} false; then : 4081 $as_echo_n "(cached) " >&6 4082else 4083 ac_save_c_werror_flag=$ac_c_werror_flag 4084 ac_c_werror_flag=yes 4085 ac_cv_prog_cc_g=no 4086 CFLAGS="-g" 4087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4088/* end confdefs.h. */ 4089 4090int 4091main () 4092{ 4093 4094 ; 4095 return 0; 4096} 4097_ACEOF 4098if ac_fn_c_try_compile "$LINENO"; then : 4099 ac_cv_prog_cc_g=yes 4100else 4101 CFLAGS="" 4102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4103/* end confdefs.h. */ 4104 4105int 4106main () 4107{ 4108 4109 ; 4110 return 0; 4111} 4112_ACEOF 4113if ac_fn_c_try_compile "$LINENO"; then : 4114 4115else 4116 ac_c_werror_flag=$ac_save_c_werror_flag 4117 CFLAGS="-g" 4118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4119/* end confdefs.h. */ 4120 4121int 4122main () 4123{ 4124 4125 ; 4126 return 0; 4127} 4128_ACEOF 4129if ac_fn_c_try_compile "$LINENO"; then : 4130 ac_cv_prog_cc_g=yes 4131fi 4132rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4133fi 4134rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4135fi 4136rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4137 ac_c_werror_flag=$ac_save_c_werror_flag 4138fi 4139{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4140$as_echo "$ac_cv_prog_cc_g" >&6; } 4141if test "$ac_test_CFLAGS" = set; then 4142 CFLAGS=$ac_save_CFLAGS 4143elif test $ac_cv_prog_cc_g = yes; then 4144 if test "$GCC" = yes; then 4145 CFLAGS="-g -O2" 4146 else 4147 CFLAGS="-g" 4148 fi 4149else 4150 if test "$GCC" = yes; then 4151 CFLAGS="-O2" 4152 else 4153 CFLAGS= 4154 fi 4155fi 4156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4157$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4158if ${ac_cv_prog_cc_c89+:} false; then : 4159 $as_echo_n "(cached) " >&6 4160else 4161 ac_cv_prog_cc_c89=no 4162ac_save_CC=$CC 4163cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4164/* end confdefs.h. */ 4165#include <stdarg.h> 4166#include <stdio.h> 4167struct stat; 4168/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4169struct buf { int x; }; 4170FILE * (*rcsopen) (struct buf *, struct stat *, int); 4171static char *e (p, i) 4172 char **p; 4173 int i; 4174{ 4175 return p[i]; 4176} 4177static char *f (char * (*g) (char **, int), char **p, ...) 4178{ 4179 char *s; 4180 va_list v; 4181 va_start (v,p); 4182 s = g (p, va_arg (v,int)); 4183 va_end (v); 4184 return s; 4185} 4186 4187/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4188 function prototypes and stuff, but not '\xHH' hex character constants. 4189 These don't provoke an error unfortunately, instead are silently treated 4190 as 'x'. The following induces an error, until -std is added to get 4191 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4192 array size at least. It's necessary to write '\x00'==0 to get something 4193 that's true only with -std. */ 4194int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4195 4196/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4197 inside strings and character constants. */ 4198#define FOO(x) 'x' 4199int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4200 4201int test (int i, double x); 4202struct s1 {int (*f) (int a);}; 4203struct s2 {int (*f) (double a);}; 4204int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4205int argc; 4206char **argv; 4207int 4208main () 4209{ 4210return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4211 ; 4212 return 0; 4213} 4214_ACEOF 4215for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4216 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4217do 4218 CC="$ac_save_CC $ac_arg" 4219 if ac_fn_c_try_compile "$LINENO"; then : 4220 ac_cv_prog_cc_c89=$ac_arg 4221fi 4222rm -f core conftest.err conftest.$ac_objext 4223 test "x$ac_cv_prog_cc_c89" != "xno" && break 4224done 4225rm -f conftest.$ac_ext 4226CC=$ac_save_CC 4227 4228fi 4229# AC_CACHE_VAL 4230case "x$ac_cv_prog_cc_c89" in 4231 x) 4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4233$as_echo "none needed" >&6; } ;; 4234 xno) 4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4236$as_echo "unsupported" >&6; } ;; 4237 *) 4238 CC="$CC $ac_cv_prog_cc_c89" 4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4240$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4241esac 4242if test "x$ac_cv_prog_cc_c89" != xno; then : 4243 4244fi 4245 4246ac_ext=c 4247ac_cpp='$CPP $CPPFLAGS' 4248ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4249ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4250ac_compiler_gnu=$ac_cv_c_compiler_gnu 4251 4252ac_ext=c 4253ac_cpp='$CPP $CPPFLAGS' 4254ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4255ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4256ac_compiler_gnu=$ac_cv_c_compiler_gnu 4257{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4258$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4259if ${am_cv_prog_cc_c_o+:} false; then : 4260 $as_echo_n "(cached) " >&6 4261else 4262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4263/* end confdefs.h. */ 4264 4265int 4266main () 4267{ 4268 4269 ; 4270 return 0; 4271} 4272_ACEOF 4273 # Make sure it works both with $CC and with simple cc. 4274 # Following AC_PROG_CC_C_O, we do the test twice because some 4275 # compilers refuse to overwrite an existing .o file with -o, 4276 # though they will create one. 4277 am_cv_prog_cc_c_o=yes 4278 for am_i in 1 2; do 4279 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4280 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4281 ac_status=$? 4282 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4283 (exit $ac_status); } \ 4284 && test -f conftest2.$ac_objext; then 4285 : OK 4286 else 4287 am_cv_prog_cc_c_o=no 4288 break 4289 fi 4290 done 4291 rm -f core conftest* 4292 unset am_i 4293fi 4294{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4295$as_echo "$am_cv_prog_cc_c_o" >&6; } 4296if test "$am_cv_prog_cc_c_o" != yes; then 4297 # Losing compiler, so override with the script. 4298 # FIXME: It is wrong to rewrite CC. 4299 # But if we don't then we get into trouble of one sort or another. 4300 # A longer-term fix would be to have automake use am__CC in this case, 4301 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4302 CC="$am_aux_dir/compile $CC" 4303fi 4304ac_ext=c 4305ac_cpp='$CPP $CPPFLAGS' 4306ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4307ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4308ac_compiler_gnu=$ac_cv_c_compiler_gnu 4309 4310 4311depcc="$CC" am_compiler_list= 4312 4313{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4314$as_echo_n "checking dependency style of $depcc... " >&6; } 4315if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4316 $as_echo_n "(cached) " >&6 4317else 4318 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4319 # We make a subdir and do the tests there. Otherwise we can end up 4320 # making bogus files that we don't know about and never remove. For 4321 # instance it was reported that on HP-UX the gcc test will end up 4322 # making a dummy file named 'D' -- because '-MD' means "put the output 4323 # in D". 4324 rm -rf conftest.dir 4325 mkdir conftest.dir 4326 # Copy depcomp to subdir because otherwise we won't find it if we're 4327 # using a relative directory. 4328 cp "$am_depcomp" conftest.dir 4329 cd conftest.dir 4330 # We will build objects and dependencies in a subdirectory because 4331 # it helps to detect inapplicable dependency modes. For instance 4332 # both Tru64's cc and ICC support -MD to output dependencies as a 4333 # side effect of compilation, but ICC will put the dependencies in 4334 # the current directory while Tru64 will put them in the object 4335 # directory. 4336 mkdir sub 4337 4338 am_cv_CC_dependencies_compiler_type=none 4339 if test "$am_compiler_list" = ""; then 4340 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4341 fi 4342 am__universal=false 4343 case " $depcc " in #( 4344 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4345 esac 4346 4347 for depmode in $am_compiler_list; do 4348 # Setup a source with many dependencies, because some compilers 4349 # like to wrap large dependency lists on column 80 (with \), and 4350 # we should not choose a depcomp mode which is confused by this. 4351 # 4352 # We need to recreate these files for each test, as the compiler may 4353 # overwrite some of them when testing with obscure command lines. 4354 # This happens at least with the AIX C compiler. 4355 : > sub/conftest.c 4356 for i in 1 2 3 4 5 6; do 4357 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4358 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4359 # Solaris 10 /bin/sh. 4360 echo '/* dummy */' > sub/conftst$i.h 4361 done 4362 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4363 4364 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4365 # mode. It turns out that the SunPro C++ compiler does not properly 4366 # handle '-M -o', and we need to detect this. Also, some Intel 4367 # versions had trouble with output in subdirs. 4368 am__obj=sub/conftest.${OBJEXT-o} 4369 am__minus_obj="-o $am__obj" 4370 case $depmode in 4371 gcc) 4372 # This depmode causes a compiler race in universal mode. 4373 test "$am__universal" = false || continue 4374 ;; 4375 nosideeffect) 4376 # After this tag, mechanisms are not by side-effect, so they'll 4377 # only be used when explicitly requested. 4378 if test "x$enable_dependency_tracking" = xyes; then 4379 continue 4380 else 4381 break 4382 fi 4383 ;; 4384 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4385 # This compiler won't grok '-c -o', but also, the minuso test has 4386 # not run yet. These depmodes are late enough in the game, and 4387 # so weak that their functioning should not be impacted. 4388 am__obj=conftest.${OBJEXT-o} 4389 am__minus_obj= 4390 ;; 4391 none) break ;; 4392 esac 4393 if depmode=$depmode \ 4394 source=sub/conftest.c object=$am__obj \ 4395 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4396 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4397 >/dev/null 2>conftest.err && 4398 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4399 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4400 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4401 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4402 # icc doesn't choke on unknown options, it will just issue warnings 4403 # or remarks (even with -Werror). So we grep stderr for any message 4404 # that says an option was ignored or not supported. 4405 # When given -MP, icc 7.0 and 7.1 complain thusly: 4406 # icc: Command line warning: ignoring option '-M'; no argument required 4407 # The diagnosis changed in icc 8.0: 4408 # icc: Command line remark: option '-MP' not supported 4409 if (grep 'ignoring option' conftest.err || 4410 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4411 am_cv_CC_dependencies_compiler_type=$depmode 4412 break 4413 fi 4414 fi 4415 done 4416 4417 cd .. 4418 rm -rf conftest.dir 4419else 4420 am_cv_CC_dependencies_compiler_type=none 4421fi 4422 4423fi 4424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4425$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4426CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4427 4428 if 4429 test "x$enable_dependency_tracking" != xno \ 4430 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4431 am__fastdepCC_TRUE= 4432 am__fastdepCC_FALSE='#' 4433else 4434 am__fastdepCC_TRUE='#' 4435 am__fastdepCC_FALSE= 4436fi 4437 4438 4439{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4440$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4441if ${ac_cv_path_SED+:} false; then : 4442 $as_echo_n "(cached) " >&6 4443else 4444 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4445 for ac_i in 1 2 3 4 5 6 7; do 4446 ac_script="$ac_script$as_nl$ac_script" 4447 done 4448 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4449 { ac_script=; unset ac_script;} 4450 if test -z "$SED"; then 4451 ac_path_SED_found=false 4452 # Loop through the user's path and test for each of PROGNAME-LIST 4453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4454for as_dir in $PATH 4455do 4456 IFS=$as_save_IFS 4457 test -z "$as_dir" && as_dir=. 4458 for ac_prog in sed gsed; do 4459 for ac_exec_ext in '' $ac_executable_extensions; do 4460 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4461 as_fn_executable_p "$ac_path_SED" || continue 4462# Check for GNU ac_path_SED and select it if it is found. 4463 # Check for GNU $ac_path_SED 4464case `"$ac_path_SED" --version 2>&1` in 4465*GNU*) 4466 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4467*) 4468 ac_count=0 4469 $as_echo_n 0123456789 >"conftest.in" 4470 while : 4471 do 4472 cat "conftest.in" "conftest.in" >"conftest.tmp" 4473 mv "conftest.tmp" "conftest.in" 4474 cp "conftest.in" "conftest.nl" 4475 $as_echo '' >> "conftest.nl" 4476 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4477 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4478 as_fn_arith $ac_count + 1 && ac_count=$as_val 4479 if test $ac_count -gt ${ac_path_SED_max-0}; then 4480 # Best one so far, save it but keep looking for a better one 4481 ac_cv_path_SED="$ac_path_SED" 4482 ac_path_SED_max=$ac_count 4483 fi 4484 # 10*(2^10) chars as input seems more than enough 4485 test $ac_count -gt 10 && break 4486 done 4487 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4488esac 4489 4490 $ac_path_SED_found && break 3 4491 done 4492 done 4493 done 4494IFS=$as_save_IFS 4495 if test -z "$ac_cv_path_SED"; then 4496 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4497 fi 4498else 4499 ac_cv_path_SED=$SED 4500fi 4501 4502fi 4503{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4504$as_echo "$ac_cv_path_SED" >&6; } 4505 SED="$ac_cv_path_SED" 4506 rm -f conftest.sed 4507 4508test -z "$SED" && SED=sed 4509Xsed="$SED -e 1s/^X//" 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4522$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4523if ${ac_cv_path_GREP+:} false; then : 4524 $as_echo_n "(cached) " >&6 4525else 4526 if test -z "$GREP"; then 4527 ac_path_GREP_found=false 4528 # Loop through the user's path and test for each of PROGNAME-LIST 4529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4530for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4531do 4532 IFS=$as_save_IFS 4533 test -z "$as_dir" && as_dir=. 4534 for ac_prog in grep ggrep; do 4535 for ac_exec_ext in '' $ac_executable_extensions; do 4536 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4537 as_fn_executable_p "$ac_path_GREP" || continue 4538# Check for GNU ac_path_GREP and select it if it is found. 4539 # Check for GNU $ac_path_GREP 4540case `"$ac_path_GREP" --version 2>&1` in 4541*GNU*) 4542 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4543*) 4544 ac_count=0 4545 $as_echo_n 0123456789 >"conftest.in" 4546 while : 4547 do 4548 cat "conftest.in" "conftest.in" >"conftest.tmp" 4549 mv "conftest.tmp" "conftest.in" 4550 cp "conftest.in" "conftest.nl" 4551 $as_echo 'GREP' >> "conftest.nl" 4552 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4553 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4554 as_fn_arith $ac_count + 1 && ac_count=$as_val 4555 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4556 # Best one so far, save it but keep looking for a better one 4557 ac_cv_path_GREP="$ac_path_GREP" 4558 ac_path_GREP_max=$ac_count 4559 fi 4560 # 10*(2^10) chars as input seems more than enough 4561 test $ac_count -gt 10 && break 4562 done 4563 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4564esac 4565 4566 $ac_path_GREP_found && break 3 4567 done 4568 done 4569 done 4570IFS=$as_save_IFS 4571 if test -z "$ac_cv_path_GREP"; then 4572 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4573 fi 4574else 4575 ac_cv_path_GREP=$GREP 4576fi 4577 4578fi 4579{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4580$as_echo "$ac_cv_path_GREP" >&6; } 4581 GREP="$ac_cv_path_GREP" 4582 4583 4584{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4585$as_echo_n "checking for egrep... " >&6; } 4586if ${ac_cv_path_EGREP+:} false; then : 4587 $as_echo_n "(cached) " >&6 4588else 4589 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4590 then ac_cv_path_EGREP="$GREP -E" 4591 else 4592 if test -z "$EGREP"; then 4593 ac_path_EGREP_found=false 4594 # Loop through the user's path and test for each of PROGNAME-LIST 4595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4596for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4597do 4598 IFS=$as_save_IFS 4599 test -z "$as_dir" && as_dir=. 4600 for ac_prog in egrep; do 4601 for ac_exec_ext in '' $ac_executable_extensions; do 4602 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4603 as_fn_executable_p "$ac_path_EGREP" || continue 4604# Check for GNU ac_path_EGREP and select it if it is found. 4605 # Check for GNU $ac_path_EGREP 4606case `"$ac_path_EGREP" --version 2>&1` in 4607*GNU*) 4608 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4609*) 4610 ac_count=0 4611 $as_echo_n 0123456789 >"conftest.in" 4612 while : 4613 do 4614 cat "conftest.in" "conftest.in" >"conftest.tmp" 4615 mv "conftest.tmp" "conftest.in" 4616 cp "conftest.in" "conftest.nl" 4617 $as_echo 'EGREP' >> "conftest.nl" 4618 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4619 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4620 as_fn_arith $ac_count + 1 && ac_count=$as_val 4621 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4622 # Best one so far, save it but keep looking for a better one 4623 ac_cv_path_EGREP="$ac_path_EGREP" 4624 ac_path_EGREP_max=$ac_count 4625 fi 4626 # 10*(2^10) chars as input seems more than enough 4627 test $ac_count -gt 10 && break 4628 done 4629 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4630esac 4631 4632 $ac_path_EGREP_found && break 3 4633 done 4634 done 4635 done 4636IFS=$as_save_IFS 4637 if test -z "$ac_cv_path_EGREP"; then 4638 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4639 fi 4640else 4641 ac_cv_path_EGREP=$EGREP 4642fi 4643 4644 fi 4645fi 4646{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4647$as_echo "$ac_cv_path_EGREP" >&6; } 4648 EGREP="$ac_cv_path_EGREP" 4649 4650 4651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4652$as_echo_n "checking for fgrep... " >&6; } 4653if ${ac_cv_path_FGREP+:} false; then : 4654 $as_echo_n "(cached) " >&6 4655else 4656 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4657 then ac_cv_path_FGREP="$GREP -F" 4658 else 4659 if test -z "$FGREP"; then 4660 ac_path_FGREP_found=false 4661 # Loop through the user's path and test for each of PROGNAME-LIST 4662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4663for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4664do 4665 IFS=$as_save_IFS 4666 test -z "$as_dir" && as_dir=. 4667 for ac_prog in fgrep; do 4668 for ac_exec_ext in '' $ac_executable_extensions; do 4669 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4670 as_fn_executable_p "$ac_path_FGREP" || continue 4671# Check for GNU ac_path_FGREP and select it if it is found. 4672 # Check for GNU $ac_path_FGREP 4673case `"$ac_path_FGREP" --version 2>&1` in 4674*GNU*) 4675 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4676*) 4677 ac_count=0 4678 $as_echo_n 0123456789 >"conftest.in" 4679 while : 4680 do 4681 cat "conftest.in" "conftest.in" >"conftest.tmp" 4682 mv "conftest.tmp" "conftest.in" 4683 cp "conftest.in" "conftest.nl" 4684 $as_echo 'FGREP' >> "conftest.nl" 4685 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4686 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4687 as_fn_arith $ac_count + 1 && ac_count=$as_val 4688 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4689 # Best one so far, save it but keep looking for a better one 4690 ac_cv_path_FGREP="$ac_path_FGREP" 4691 ac_path_FGREP_max=$ac_count 4692 fi 4693 # 10*(2^10) chars as input seems more than enough 4694 test $ac_count -gt 10 && break 4695 done 4696 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4697esac 4698 4699 $ac_path_FGREP_found && break 3 4700 done 4701 done 4702 done 4703IFS=$as_save_IFS 4704 if test -z "$ac_cv_path_FGREP"; then 4705 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4706 fi 4707else 4708 ac_cv_path_FGREP=$FGREP 4709fi 4710 4711 fi 4712fi 4713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4714$as_echo "$ac_cv_path_FGREP" >&6; } 4715 FGREP="$ac_cv_path_FGREP" 4716 4717 4718test -z "$GREP" && GREP=grep 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738# Check whether --with-gnu-ld was given. 4739if test "${with_gnu_ld+set}" = set; then : 4740 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4741else 4742 with_gnu_ld=no 4743fi 4744 4745ac_prog=ld 4746if test "$GCC" = yes; then 4747 # Check if gcc -print-prog-name=ld gives a path. 4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4749$as_echo_n "checking for ld used by $CC... " >&6; } 4750 case $host in 4751 *-*-mingw*) 4752 # gcc leaves a trailing carriage return which upsets mingw 4753 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4754 *) 4755 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4756 esac 4757 case $ac_prog in 4758 # Accept absolute paths. 4759 [\\/]* | ?:[\\/]*) 4760 re_direlt='/[^/][^/]*/\.\./' 4761 # Canonicalize the pathname of ld 4762 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4763 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4764 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4765 done 4766 test -z "$LD" && LD="$ac_prog" 4767 ;; 4768 "") 4769 # If it fails, then pretend we aren't using GCC. 4770 ac_prog=ld 4771 ;; 4772 *) 4773 # If it is relative, then search for the first ld in PATH. 4774 with_gnu_ld=unknown 4775 ;; 4776 esac 4777elif test "$with_gnu_ld" = yes; then 4778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4779$as_echo_n "checking for GNU ld... " >&6; } 4780else 4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4782$as_echo_n "checking for non-GNU ld... " >&6; } 4783fi 4784if ${lt_cv_path_LD+:} false; then : 4785 $as_echo_n "(cached) " >&6 4786else 4787 if test -z "$LD"; then 4788 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4789 for ac_dir in $PATH; do 4790 IFS="$lt_save_ifs" 4791 test -z "$ac_dir" && ac_dir=. 4792 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4793 lt_cv_path_LD="$ac_dir/$ac_prog" 4794 # Check to see if the program is GNU ld. I'd rather use --version, 4795 # but apparently some variants of GNU ld only accept -v. 4796 # Break only if it was the GNU/non-GNU ld that we prefer. 4797 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4798 *GNU* | *'with BFD'*) 4799 test "$with_gnu_ld" != no && break 4800 ;; 4801 *) 4802 test "$with_gnu_ld" != yes && break 4803 ;; 4804 esac 4805 fi 4806 done 4807 IFS="$lt_save_ifs" 4808else 4809 lt_cv_path_LD="$LD" # Let the user override the test with a path. 4810fi 4811fi 4812 4813LD="$lt_cv_path_LD" 4814if test -n "$LD"; then 4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4816$as_echo "$LD" >&6; } 4817else 4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4819$as_echo "no" >&6; } 4820fi 4821test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4823$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4824if ${lt_cv_prog_gnu_ld+:} false; then : 4825 $as_echo_n "(cached) " >&6 4826else 4827 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4828case `$LD -v 2>&1 </dev/null` in 4829*GNU* | *'with BFD'*) 4830 lt_cv_prog_gnu_ld=yes 4831 ;; 4832*) 4833 lt_cv_prog_gnu_ld=no 4834 ;; 4835esac 4836fi 4837{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4838$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4839with_gnu_ld=$lt_cv_prog_gnu_ld 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4850$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4851if ${lt_cv_path_NM+:} false; then : 4852 $as_echo_n "(cached) " >&6 4853else 4854 if test -n "$NM"; then 4855 # Let the user override the test. 4856 lt_cv_path_NM="$NM" 4857else 4858 lt_nm_to_check="${ac_tool_prefix}nm" 4859 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4860 lt_nm_to_check="$lt_nm_to_check nm" 4861 fi 4862 for lt_tmp_nm in $lt_nm_to_check; do 4863 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4864 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4865 IFS="$lt_save_ifs" 4866 test -z "$ac_dir" && ac_dir=. 4867 tmp_nm="$ac_dir/$lt_tmp_nm" 4868 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 4869 # Check to see if the nm accepts a BSD-compat flag. 4870 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 4871 # nm: unknown option "B" ignored 4872 # Tru64's nm complains that /dev/null is an invalid object file 4873 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 4874 */dev/null* | *'Invalid file or object type'*) 4875 lt_cv_path_NM="$tmp_nm -B" 4876 break 4877 ;; 4878 *) 4879 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4880 */dev/null*) 4881 lt_cv_path_NM="$tmp_nm -p" 4882 break 4883 ;; 4884 *) 4885 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4886 continue # so that we can try to find one that supports BSD flags 4887 ;; 4888 esac 4889 ;; 4890 esac 4891 fi 4892 done 4893 IFS="$lt_save_ifs" 4894 done 4895 : ${lt_cv_path_NM=no} 4896fi 4897fi 4898{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4899$as_echo "$lt_cv_path_NM" >&6; } 4900if test "$lt_cv_path_NM" != "no"; then 4901 NM="$lt_cv_path_NM" 4902else 4903 # Didn't find any BSD compatible name lister, look for dumpbin. 4904 if test -n "$DUMPBIN"; then : 4905 # Let the user override the test. 4906 else 4907 if test -n "$ac_tool_prefix"; then 4908 for ac_prog in dumpbin "link -dump" 4909 do 4910 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4911set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4912{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4913$as_echo_n "checking for $ac_word... " >&6; } 4914if ${ac_cv_prog_DUMPBIN+:} false; then : 4915 $as_echo_n "(cached) " >&6 4916else 4917 if test -n "$DUMPBIN"; then 4918 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4919else 4920as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4921for as_dir in $PATH 4922do 4923 IFS=$as_save_IFS 4924 test -z "$as_dir" && as_dir=. 4925 for ac_exec_ext in '' $ac_executable_extensions; do 4926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4927 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4929 break 2 4930 fi 4931done 4932 done 4933IFS=$as_save_IFS 4934 4935fi 4936fi 4937DUMPBIN=$ac_cv_prog_DUMPBIN 4938if test -n "$DUMPBIN"; then 4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4940$as_echo "$DUMPBIN" >&6; } 4941else 4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4943$as_echo "no" >&6; } 4944fi 4945 4946 4947 test -n "$DUMPBIN" && break 4948 done 4949fi 4950if test -z "$DUMPBIN"; then 4951 ac_ct_DUMPBIN=$DUMPBIN 4952 for ac_prog in dumpbin "link -dump" 4953do 4954 # Extract the first word of "$ac_prog", so it can be a program name with args. 4955set dummy $ac_prog; ac_word=$2 4956{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4957$as_echo_n "checking for $ac_word... " >&6; } 4958if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4959 $as_echo_n "(cached) " >&6 4960else 4961 if test -n "$ac_ct_DUMPBIN"; then 4962 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4963else 4964as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4965for as_dir in $PATH 4966do 4967 IFS=$as_save_IFS 4968 test -z "$as_dir" && as_dir=. 4969 for ac_exec_ext in '' $ac_executable_extensions; do 4970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4971 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4973 break 2 4974 fi 4975done 4976 done 4977IFS=$as_save_IFS 4978 4979fi 4980fi 4981ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4982if test -n "$ac_ct_DUMPBIN"; then 4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4984$as_echo "$ac_ct_DUMPBIN" >&6; } 4985else 4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4987$as_echo "no" >&6; } 4988fi 4989 4990 4991 test -n "$ac_ct_DUMPBIN" && break 4992done 4993 4994 if test "x$ac_ct_DUMPBIN" = x; then 4995 DUMPBIN=":" 4996 else 4997 case $cross_compiling:$ac_tool_warned in 4998yes:) 4999{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5000$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5001ac_tool_warned=yes ;; 5002esac 5003 DUMPBIN=$ac_ct_DUMPBIN 5004 fi 5005fi 5006 5007 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 5008 *COFF*) 5009 DUMPBIN="$DUMPBIN -symbols" 5010 ;; 5011 *) 5012 DUMPBIN=: 5013 ;; 5014 esac 5015 fi 5016 5017 if test "$DUMPBIN" != ":"; then 5018 NM="$DUMPBIN" 5019 fi 5020fi 5021test -z "$NM" && NM=nm 5022 5023 5024 5025 5026 5027 5028{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5029$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5030if ${lt_cv_nm_interface+:} false; then : 5031 $as_echo_n "(cached) " >&6 5032else 5033 lt_cv_nm_interface="BSD nm" 5034 echo "int some_variable = 0;" > conftest.$ac_ext 5035 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5036 (eval "$ac_compile" 2>conftest.err) 5037 cat conftest.err >&5 5038 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5039 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5040 cat conftest.err >&5 5041 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5042 cat conftest.out >&5 5043 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5044 lt_cv_nm_interface="MS dumpbin" 5045 fi 5046 rm -f conftest* 5047fi 5048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5049$as_echo "$lt_cv_nm_interface" >&6; } 5050 5051{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5052$as_echo_n "checking whether ln -s works... " >&6; } 5053LN_S=$as_ln_s 5054if test "$LN_S" = "ln -s"; then 5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5056$as_echo "yes" >&6; } 5057else 5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5059$as_echo "no, using $LN_S" >&6; } 5060fi 5061 5062# find the maximum length of command line arguments 5063{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5064$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5065if ${lt_cv_sys_max_cmd_len+:} false; then : 5066 $as_echo_n "(cached) " >&6 5067else 5068 i=0 5069 teststring="ABCD" 5070 5071 case $build_os in 5072 msdosdjgpp*) 5073 # On DJGPP, this test can blow up pretty badly due to problems in libc 5074 # (any single argument exceeding 2000 bytes causes a buffer overrun 5075 # during glob expansion). Even if it were fixed, the result of this 5076 # check would be larger than it should be. 5077 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5078 ;; 5079 5080 gnu*) 5081 # Under GNU Hurd, this test is not required because there is 5082 # no limit to the length of command line arguments. 5083 # Libtool will interpret -1 as no limit whatsoever 5084 lt_cv_sys_max_cmd_len=-1; 5085 ;; 5086 5087 cygwin* | mingw* | cegcc*) 5088 # On Win9x/ME, this test blows up -- it succeeds, but takes 5089 # about 5 minutes as the teststring grows exponentially. 5090 # Worse, since 9x/ME are not pre-emptively multitasking, 5091 # you end up with a "frozen" computer, even though with patience 5092 # the test eventually succeeds (with a max line length of 256k). 5093 # Instead, let's just punt: use the minimum linelength reported by 5094 # all of the supported platforms: 8192 (on NT/2K/XP). 5095 lt_cv_sys_max_cmd_len=8192; 5096 ;; 5097 5098 mint*) 5099 # On MiNT this can take a long time and run out of memory. 5100 lt_cv_sys_max_cmd_len=8192; 5101 ;; 5102 5103 amigaos*) 5104 # On AmigaOS with pdksh, this test takes hours, literally. 5105 # So we just punt and use a minimum line length of 8192. 5106 lt_cv_sys_max_cmd_len=8192; 5107 ;; 5108 5109 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 5110 # This has been around since 386BSD, at least. Likely further. 5111 if test -x /sbin/sysctl; then 5112 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5113 elif test -x /usr/sbin/sysctl; then 5114 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5115 else 5116 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5117 fi 5118 # And add a safety zone 5119 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5120 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5121 ;; 5122 5123 interix*) 5124 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5125 lt_cv_sys_max_cmd_len=196608 5126 ;; 5127 5128 os2*) 5129 # The test takes a long time on OS/2. 5130 lt_cv_sys_max_cmd_len=8192 5131 ;; 5132 5133 osf*) 5134 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5135 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5136 # nice to cause kernel panics so lets avoid the loop below. 5137 # First set a reasonable default. 5138 lt_cv_sys_max_cmd_len=16384 5139 # 5140 if test -x /sbin/sysconfig; then 5141 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5142 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5143 esac 5144 fi 5145 ;; 5146 sco3.2v5*) 5147 lt_cv_sys_max_cmd_len=102400 5148 ;; 5149 sysv5* | sco5v6* | sysv4.2uw2*) 5150 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5151 if test -n "$kargmax"; then 5152 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5153 else 5154 lt_cv_sys_max_cmd_len=32768 5155 fi 5156 ;; 5157 *) 5158 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5159 if test -n "$lt_cv_sys_max_cmd_len"; then 5160 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5161 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5162 else 5163 # Make teststring a little bigger before we do anything with it. 5164 # a 1K string should be a reasonable start. 5165 for i in 1 2 3 4 5 6 7 8 ; do 5166 teststring=$teststring$teststring 5167 done 5168 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5169 # If test is not a shell built-in, we'll probably end up computing a 5170 # maximum length that is only half of the actual maximum length, but 5171 # we can't tell. 5172 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ 5173 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5174 test $i != 17 # 1/2 MB should be enough 5175 do 5176 i=`expr $i + 1` 5177 teststring=$teststring$teststring 5178 done 5179 # Only check the string length outside the loop. 5180 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5181 teststring= 5182 # Add a significant safety factor because C++ compilers can tack on 5183 # massive amounts of additional arguments before passing them to the 5184 # linker. It appears as though 1/2 is a usable value. 5185 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5186 fi 5187 ;; 5188 esac 5189 5190fi 5191 5192if test -n $lt_cv_sys_max_cmd_len ; then 5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5194$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5195else 5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5197$as_echo "none" >&6; } 5198fi 5199max_cmd_len=$lt_cv_sys_max_cmd_len 5200 5201 5202 5203 5204 5205 5206: ${CP="cp -f"} 5207: ${MV="mv -f"} 5208: ${RM="rm -f"} 5209 5210{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 5211$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 5212# Try some XSI features 5213xsi_shell=no 5214( _lt_dummy="a/b/c" 5215 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 5216 = c,a/b,b/c, \ 5217 && eval 'test $(( 1 + 1 )) -eq 2 \ 5218 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 5219 && xsi_shell=yes 5220{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 5221$as_echo "$xsi_shell" >&6; } 5222 5223 5224{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 5225$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 5226lt_shell_append=no 5227( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 5228 >/dev/null 2>&1 \ 5229 && lt_shell_append=yes 5230{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 5231$as_echo "$lt_shell_append" >&6; } 5232 5233 5234if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5235 lt_unset=unset 5236else 5237 lt_unset=false 5238fi 5239 5240 5241 5242 5243 5244# test EBCDIC or ASCII 5245case `echo X|tr X '\101'` in 5246 A) # ASCII based system 5247 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5248 lt_SP2NL='tr \040 \012' 5249 lt_NL2SP='tr \015\012 \040\040' 5250 ;; 5251 *) # EBCDIC based system 5252 lt_SP2NL='tr \100 \n' 5253 lt_NL2SP='tr \r\n \100\100' 5254 ;; 5255esac 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5266$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5267if ${lt_cv_to_host_file_cmd+:} false; then : 5268 $as_echo_n "(cached) " >&6 5269else 5270 case $host in 5271 *-*-mingw* ) 5272 case $build in 5273 *-*-mingw* ) # actually msys 5274 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5275 ;; 5276 *-*-cygwin* ) 5277 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5278 ;; 5279 * ) # otherwise, assume *nix 5280 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5281 ;; 5282 esac 5283 ;; 5284 *-*-cygwin* ) 5285 case $build in 5286 *-*-mingw* ) # actually msys 5287 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5288 ;; 5289 *-*-cygwin* ) 5290 lt_cv_to_host_file_cmd=func_convert_file_noop 5291 ;; 5292 * ) # otherwise, assume *nix 5293 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5294 ;; 5295 esac 5296 ;; 5297 * ) # unhandled hosts (and "normal" native builds) 5298 lt_cv_to_host_file_cmd=func_convert_file_noop 5299 ;; 5300esac 5301 5302fi 5303 5304to_host_file_cmd=$lt_cv_to_host_file_cmd 5305{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5306$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5307 5308 5309 5310 5311 5312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5313$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5314if ${lt_cv_to_tool_file_cmd+:} false; then : 5315 $as_echo_n "(cached) " >&6 5316else 5317 #assume ordinary cross tools, or native build. 5318lt_cv_to_tool_file_cmd=func_convert_file_noop 5319case $host in 5320 *-*-mingw* ) 5321 case $build in 5322 *-*-mingw* ) # actually msys 5323 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5324 ;; 5325 esac 5326 ;; 5327esac 5328 5329fi 5330 5331to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5332{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5333$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5334 5335 5336 5337 5338 5339{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5340$as_echo_n "checking for $LD option to reload object files... " >&6; } 5341if ${lt_cv_ld_reload_flag+:} false; then : 5342 $as_echo_n "(cached) " >&6 5343else 5344 lt_cv_ld_reload_flag='-r' 5345fi 5346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5347$as_echo "$lt_cv_ld_reload_flag" >&6; } 5348reload_flag=$lt_cv_ld_reload_flag 5349case $reload_flag in 5350"" | " "*) ;; 5351*) reload_flag=" $reload_flag" ;; 5352esac 5353reload_cmds='$LD$reload_flag -o $output$reload_objs' 5354case $host_os in 5355 cygwin* | mingw* | pw32* | cegcc*) 5356 if test "$GCC" != yes; then 5357 reload_cmds=false 5358 fi 5359 ;; 5360 darwin*) 5361 if test "$GCC" = yes; then 5362 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5363 else 5364 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5365 fi 5366 ;; 5367esac 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377if test -n "$ac_tool_prefix"; then 5378 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5379set dummy ${ac_tool_prefix}objdump; ac_word=$2 5380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5381$as_echo_n "checking for $ac_word... " >&6; } 5382if ${ac_cv_prog_OBJDUMP+:} false; then : 5383 $as_echo_n "(cached) " >&6 5384else 5385 if test -n "$OBJDUMP"; then 5386 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5387else 5388as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5389for as_dir in $PATH 5390do 5391 IFS=$as_save_IFS 5392 test -z "$as_dir" && as_dir=. 5393 for ac_exec_ext in '' $ac_executable_extensions; do 5394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5395 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5397 break 2 5398 fi 5399done 5400 done 5401IFS=$as_save_IFS 5402 5403fi 5404fi 5405OBJDUMP=$ac_cv_prog_OBJDUMP 5406if test -n "$OBJDUMP"; then 5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5408$as_echo "$OBJDUMP" >&6; } 5409else 5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5411$as_echo "no" >&6; } 5412fi 5413 5414 5415fi 5416if test -z "$ac_cv_prog_OBJDUMP"; then 5417 ac_ct_OBJDUMP=$OBJDUMP 5418 # Extract the first word of "objdump", so it can be a program name with args. 5419set dummy objdump; ac_word=$2 5420{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5421$as_echo_n "checking for $ac_word... " >&6; } 5422if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5423 $as_echo_n "(cached) " >&6 5424else 5425 if test -n "$ac_ct_OBJDUMP"; then 5426 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5427else 5428as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5429for as_dir in $PATH 5430do 5431 IFS=$as_save_IFS 5432 test -z "$as_dir" && as_dir=. 5433 for ac_exec_ext in '' $ac_executable_extensions; do 5434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5435 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5437 break 2 5438 fi 5439done 5440 done 5441IFS=$as_save_IFS 5442 5443fi 5444fi 5445ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5446if test -n "$ac_ct_OBJDUMP"; then 5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5448$as_echo "$ac_ct_OBJDUMP" >&6; } 5449else 5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5451$as_echo "no" >&6; } 5452fi 5453 5454 if test "x$ac_ct_OBJDUMP" = x; then 5455 OBJDUMP="false" 5456 else 5457 case $cross_compiling:$ac_tool_warned in 5458yes:) 5459{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5460$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5461ac_tool_warned=yes ;; 5462esac 5463 OBJDUMP=$ac_ct_OBJDUMP 5464 fi 5465else 5466 OBJDUMP="$ac_cv_prog_OBJDUMP" 5467fi 5468 5469test -z "$OBJDUMP" && OBJDUMP=objdump 5470 5471 5472 5473 5474 5475 5476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5477$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5478if ${lt_cv_deplibs_check_method+:} false; then : 5479 $as_echo_n "(cached) " >&6 5480else 5481 lt_cv_file_magic_cmd='$MAGIC_CMD' 5482lt_cv_file_magic_test_file= 5483lt_cv_deplibs_check_method='unknown' 5484# Need to set the preceding variable on all platforms that support 5485# interlibrary dependencies. 5486# 'none' -- dependencies not supported. 5487# `unknown' -- same as none, but documents that we really don't know. 5488# 'pass_all' -- all dependencies passed with no checks. 5489# 'test_compile' -- check by making test program. 5490# 'file_magic [[regex]]' -- check by looking for files in library path 5491# which responds to the $file_magic_cmd with a given extended regex. 5492# If you have `file' or equivalent on your system and you're not sure 5493# whether `pass_all' will *always* work, you probably want this one. 5494 5495case $host_os in 5496aix[4-9]*) 5497 lt_cv_deplibs_check_method=pass_all 5498 ;; 5499 5500beos*) 5501 lt_cv_deplibs_check_method=pass_all 5502 ;; 5503 5504bsdi[45]*) 5505 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5506 lt_cv_file_magic_cmd='/usr/bin/file -L' 5507 lt_cv_file_magic_test_file=/shlib/libc.so 5508 ;; 5509 5510cygwin*) 5511 # func_win32_libid is a shell function defined in ltmain.sh 5512 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5513 lt_cv_file_magic_cmd='func_win32_libid' 5514 ;; 5515 5516mingw* | pw32*) 5517 # Base MSYS/MinGW do not provide the 'file' command needed by 5518 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5519 # unless we find 'file', for example because we are cross-compiling. 5520 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 5521 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 5522 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5523 lt_cv_file_magic_cmd='func_win32_libid' 5524 else 5525 # Keep this pattern in sync with the one in func_win32_libid. 5526 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5527 lt_cv_file_magic_cmd='$OBJDUMP -f' 5528 fi 5529 ;; 5530 5531cegcc*) 5532 # use the weaker test based on 'objdump'. See mingw*. 5533 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5534 lt_cv_file_magic_cmd='$OBJDUMP -f' 5535 ;; 5536 5537darwin* | rhapsody*) 5538 lt_cv_deplibs_check_method=pass_all 5539 ;; 5540 5541freebsd* | dragonfly*) 5542 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5543 case $host_cpu in 5544 i*86 ) 5545 # Not sure whether the presence of OpenBSD here was a mistake. 5546 # Let's accept both of them until this is cleared up. 5547 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5548 lt_cv_file_magic_cmd=/usr/bin/file 5549 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5550 ;; 5551 esac 5552 else 5553 lt_cv_deplibs_check_method=pass_all 5554 fi 5555 ;; 5556 5557gnu*) 5558 lt_cv_deplibs_check_method=pass_all 5559 ;; 5560 5561haiku*) 5562 lt_cv_deplibs_check_method=pass_all 5563 ;; 5564 5565hpux10.20* | hpux11*) 5566 lt_cv_file_magic_cmd=/usr/bin/file 5567 case $host_cpu in 5568 ia64*) 5569 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5570 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5571 ;; 5572 hppa*64*) 5573 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]' 5574 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5575 ;; 5576 *) 5577 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5578 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5579 ;; 5580 esac 5581 ;; 5582 5583interix[3-9]*) 5584 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5585 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5586 ;; 5587 5588irix5* | irix6* | nonstopux*) 5589 case $LD in 5590 *-32|*"-32 ") libmagic=32-bit;; 5591 *-n32|*"-n32 ") libmagic=N32;; 5592 *-64|*"-64 ") libmagic=64-bit;; 5593 *) libmagic=never-match;; 5594 esac 5595 lt_cv_deplibs_check_method=pass_all 5596 ;; 5597 5598# This must be glibc/ELF. 5599linux* | k*bsd*-gnu | kopensolaris*-gnu) 5600 lt_cv_deplibs_check_method=pass_all 5601 ;; 5602 5603netbsd*) 5604 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5605 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5606 else 5607 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5608 fi 5609 ;; 5610 5611newos6*) 5612 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5613 lt_cv_file_magic_cmd=/usr/bin/file 5614 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5615 ;; 5616 5617*nto* | *qnx*) 5618 lt_cv_deplibs_check_method=pass_all 5619 ;; 5620 5621openbsd*) 5622 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 5623 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5624 else 5625 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5626 fi 5627 ;; 5628 5629osf3* | osf4* | osf5*) 5630 lt_cv_deplibs_check_method=pass_all 5631 ;; 5632 5633rdos*) 5634 lt_cv_deplibs_check_method=pass_all 5635 ;; 5636 5637solaris*) 5638 lt_cv_deplibs_check_method=pass_all 5639 ;; 5640 5641sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5642 lt_cv_deplibs_check_method=pass_all 5643 ;; 5644 5645sysv4 | sysv4.3*) 5646 case $host_vendor in 5647 motorola) 5648 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]' 5649 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5650 ;; 5651 ncr) 5652 lt_cv_deplibs_check_method=pass_all 5653 ;; 5654 sequent) 5655 lt_cv_file_magic_cmd='/bin/file' 5656 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5657 ;; 5658 sni) 5659 lt_cv_file_magic_cmd='/bin/file' 5660 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5661 lt_cv_file_magic_test_file=/lib/libc.so 5662 ;; 5663 siemens) 5664 lt_cv_deplibs_check_method=pass_all 5665 ;; 5666 pc) 5667 lt_cv_deplibs_check_method=pass_all 5668 ;; 5669 esac 5670 ;; 5671 5672tpf*) 5673 lt_cv_deplibs_check_method=pass_all 5674 ;; 5675esac 5676 5677fi 5678{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5679$as_echo "$lt_cv_deplibs_check_method" >&6; } 5680 5681file_magic_glob= 5682want_nocaseglob=no 5683if test "$build" = "$host"; then 5684 case $host_os in 5685 mingw* | pw32*) 5686 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5687 want_nocaseglob=yes 5688 else 5689 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5690 fi 5691 ;; 5692 esac 5693fi 5694 5695file_magic_cmd=$lt_cv_file_magic_cmd 5696deplibs_check_method=$lt_cv_deplibs_check_method 5697test -z "$deplibs_check_method" && deplibs_check_method=unknown 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720if test -n "$ac_tool_prefix"; then 5721 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5722set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5723{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5724$as_echo_n "checking for $ac_word... " >&6; } 5725if ${ac_cv_prog_DLLTOOL+:} false; then : 5726 $as_echo_n "(cached) " >&6 5727else 5728 if test -n "$DLLTOOL"; then 5729 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5730else 5731as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5732for as_dir in $PATH 5733do 5734 IFS=$as_save_IFS 5735 test -z "$as_dir" && as_dir=. 5736 for ac_exec_ext in '' $ac_executable_extensions; do 5737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5738 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5740 break 2 5741 fi 5742done 5743 done 5744IFS=$as_save_IFS 5745 5746fi 5747fi 5748DLLTOOL=$ac_cv_prog_DLLTOOL 5749if test -n "$DLLTOOL"; then 5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5751$as_echo "$DLLTOOL" >&6; } 5752else 5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5754$as_echo "no" >&6; } 5755fi 5756 5757 5758fi 5759if test -z "$ac_cv_prog_DLLTOOL"; then 5760 ac_ct_DLLTOOL=$DLLTOOL 5761 # Extract the first word of "dlltool", so it can be a program name with args. 5762set dummy dlltool; ac_word=$2 5763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5764$as_echo_n "checking for $ac_word... " >&6; } 5765if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5766 $as_echo_n "(cached) " >&6 5767else 5768 if test -n "$ac_ct_DLLTOOL"; then 5769 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5770else 5771as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5772for as_dir in $PATH 5773do 5774 IFS=$as_save_IFS 5775 test -z "$as_dir" && as_dir=. 5776 for ac_exec_ext in '' $ac_executable_extensions; do 5777 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5778 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5780 break 2 5781 fi 5782done 5783 done 5784IFS=$as_save_IFS 5785 5786fi 5787fi 5788ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5789if test -n "$ac_ct_DLLTOOL"; then 5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5791$as_echo "$ac_ct_DLLTOOL" >&6; } 5792else 5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5794$as_echo "no" >&6; } 5795fi 5796 5797 if test "x$ac_ct_DLLTOOL" = x; then 5798 DLLTOOL="false" 5799 else 5800 case $cross_compiling:$ac_tool_warned in 5801yes:) 5802{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5803$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5804ac_tool_warned=yes ;; 5805esac 5806 DLLTOOL=$ac_ct_DLLTOOL 5807 fi 5808else 5809 DLLTOOL="$ac_cv_prog_DLLTOOL" 5810fi 5811 5812test -z "$DLLTOOL" && DLLTOOL=dlltool 5813 5814 5815 5816 5817 5818 5819 5820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5821$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5822if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5823 $as_echo_n "(cached) " >&6 5824else 5825 lt_cv_sharedlib_from_linklib_cmd='unknown' 5826 5827case $host_os in 5828cygwin* | mingw* | pw32* | cegcc*) 5829 # two different shell functions defined in ltmain.sh 5830 # decide which to use based on capabilities of $DLLTOOL 5831 case `$DLLTOOL --help 2>&1` in 5832 *--identify-strict*) 5833 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5834 ;; 5835 *) 5836 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5837 ;; 5838 esac 5839 ;; 5840*) 5841 # fallback: assume linklib IS sharedlib 5842 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 5843 ;; 5844esac 5845 5846fi 5847{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5848$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5849sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5850test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5851 5852 5853 5854 5855 5856 5857 5858 5859if test -n "$ac_tool_prefix"; then 5860 for ac_prog in ar 5861 do 5862 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5863set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5864{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5865$as_echo_n "checking for $ac_word... " >&6; } 5866if ${ac_cv_prog_AR+:} false; then : 5867 $as_echo_n "(cached) " >&6 5868else 5869 if test -n "$AR"; then 5870 ac_cv_prog_AR="$AR" # Let the user override the test. 5871else 5872as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5873for as_dir in $PATH 5874do 5875 IFS=$as_save_IFS 5876 test -z "$as_dir" && as_dir=. 5877 for ac_exec_ext in '' $ac_executable_extensions; do 5878 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5879 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5881 break 2 5882 fi 5883done 5884 done 5885IFS=$as_save_IFS 5886 5887fi 5888fi 5889AR=$ac_cv_prog_AR 5890if test -n "$AR"; then 5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5892$as_echo "$AR" >&6; } 5893else 5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5895$as_echo "no" >&6; } 5896fi 5897 5898 5899 test -n "$AR" && break 5900 done 5901fi 5902if test -z "$AR"; then 5903 ac_ct_AR=$AR 5904 for ac_prog in ar 5905do 5906 # Extract the first word of "$ac_prog", so it can be a program name with args. 5907set dummy $ac_prog; 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_prog_ac_ct_AR+:} false; then : 5911 $as_echo_n "(cached) " >&6 5912else 5913 if test -n "$ac_ct_AR"; then 5914 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5915else 5916as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5917for as_dir in $PATH 5918do 5919 IFS=$as_save_IFS 5920 test -z "$as_dir" && as_dir=. 5921 for ac_exec_ext in '' $ac_executable_extensions; do 5922 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5923 ac_cv_prog_ac_ct_AR="$ac_prog" 5924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5925 break 2 5926 fi 5927done 5928 done 5929IFS=$as_save_IFS 5930 5931fi 5932fi 5933ac_ct_AR=$ac_cv_prog_ac_ct_AR 5934if test -n "$ac_ct_AR"; then 5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5936$as_echo "$ac_ct_AR" >&6; } 5937else 5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5939$as_echo "no" >&6; } 5940fi 5941 5942 5943 test -n "$ac_ct_AR" && break 5944done 5945 5946 if test "x$ac_ct_AR" = x; then 5947 AR="false" 5948 else 5949 case $cross_compiling:$ac_tool_warned in 5950yes:) 5951{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5952$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5953ac_tool_warned=yes ;; 5954esac 5955 AR=$ac_ct_AR 5956 fi 5957fi 5958 5959: ${AR=ar} 5960: ${AR_FLAGS=cru} 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 5973$as_echo_n "checking for archiver @FILE support... " >&6; } 5974if ${lt_cv_ar_at_file+:} false; then : 5975 $as_echo_n "(cached) " >&6 5976else 5977 lt_cv_ar_at_file=no 5978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5979/* end confdefs.h. */ 5980 5981int 5982main () 5983{ 5984 5985 ; 5986 return 0; 5987} 5988_ACEOF 5989if ac_fn_c_try_compile "$LINENO"; then : 5990 echo conftest.$ac_objext > conftest.lst 5991 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 5992 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5993 (eval $lt_ar_try) 2>&5 5994 ac_status=$? 5995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5996 test $ac_status = 0; } 5997 if test "$ac_status" -eq 0; then 5998 # Ensure the archiver fails upon bogus file names. 5999 rm -f conftest.$ac_objext libconftest.a 6000 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6001 (eval $lt_ar_try) 2>&5 6002 ac_status=$? 6003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6004 test $ac_status = 0; } 6005 if test "$ac_status" -ne 0; then 6006 lt_cv_ar_at_file=@ 6007 fi 6008 fi 6009 rm -f conftest.* libconftest.a 6010 6011fi 6012rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6013 6014fi 6015{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6016$as_echo "$lt_cv_ar_at_file" >&6; } 6017 6018if test "x$lt_cv_ar_at_file" = xno; then 6019 archiver_list_spec= 6020else 6021 archiver_list_spec=$lt_cv_ar_at_file 6022fi 6023 6024 6025 6026 6027 6028 6029 6030if test -n "$ac_tool_prefix"; then 6031 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6032set dummy ${ac_tool_prefix}strip; ac_word=$2 6033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6034$as_echo_n "checking for $ac_word... " >&6; } 6035if ${ac_cv_prog_STRIP+:} false; then : 6036 $as_echo_n "(cached) " >&6 6037else 6038 if test -n "$STRIP"; then 6039 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6040else 6041as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6042for as_dir in $PATH 6043do 6044 IFS=$as_save_IFS 6045 test -z "$as_dir" && as_dir=. 6046 for ac_exec_ext in '' $ac_executable_extensions; do 6047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6048 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6050 break 2 6051 fi 6052done 6053 done 6054IFS=$as_save_IFS 6055 6056fi 6057fi 6058STRIP=$ac_cv_prog_STRIP 6059if test -n "$STRIP"; then 6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6061$as_echo "$STRIP" >&6; } 6062else 6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6064$as_echo "no" >&6; } 6065fi 6066 6067 6068fi 6069if test -z "$ac_cv_prog_STRIP"; then 6070 ac_ct_STRIP=$STRIP 6071 # Extract the first word of "strip", so it can be a program name with args. 6072set dummy strip; ac_word=$2 6073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6074$as_echo_n "checking for $ac_word... " >&6; } 6075if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 6076 $as_echo_n "(cached) " >&6 6077else 6078 if test -n "$ac_ct_STRIP"; then 6079 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6080else 6081as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6082for as_dir in $PATH 6083do 6084 IFS=$as_save_IFS 6085 test -z "$as_dir" && as_dir=. 6086 for ac_exec_ext in '' $ac_executable_extensions; do 6087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6088 ac_cv_prog_ac_ct_STRIP="strip" 6089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6090 break 2 6091 fi 6092done 6093 done 6094IFS=$as_save_IFS 6095 6096fi 6097fi 6098ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6099if test -n "$ac_ct_STRIP"; then 6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6101$as_echo "$ac_ct_STRIP" >&6; } 6102else 6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6104$as_echo "no" >&6; } 6105fi 6106 6107 if test "x$ac_ct_STRIP" = x; then 6108 STRIP=":" 6109 else 6110 case $cross_compiling:$ac_tool_warned in 6111yes:) 6112{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6113$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6114ac_tool_warned=yes ;; 6115esac 6116 STRIP=$ac_ct_STRIP 6117 fi 6118else 6119 STRIP="$ac_cv_prog_STRIP" 6120fi 6121 6122test -z "$STRIP" && STRIP=: 6123 6124 6125 6126 6127 6128 6129if test -n "$ac_tool_prefix"; then 6130 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6131set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6132{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6133$as_echo_n "checking for $ac_word... " >&6; } 6134if ${ac_cv_prog_RANLIB+:} false; then : 6135 $as_echo_n "(cached) " >&6 6136else 6137 if test -n "$RANLIB"; then 6138 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6139else 6140as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6141for as_dir in $PATH 6142do 6143 IFS=$as_save_IFS 6144 test -z "$as_dir" && as_dir=. 6145 for ac_exec_ext in '' $ac_executable_extensions; do 6146 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6147 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6149 break 2 6150 fi 6151done 6152 done 6153IFS=$as_save_IFS 6154 6155fi 6156fi 6157RANLIB=$ac_cv_prog_RANLIB 6158if test -n "$RANLIB"; then 6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6160$as_echo "$RANLIB" >&6; } 6161else 6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6163$as_echo "no" >&6; } 6164fi 6165 6166 6167fi 6168if test -z "$ac_cv_prog_RANLIB"; then 6169 ac_ct_RANLIB=$RANLIB 6170 # Extract the first word of "ranlib", so it can be a program name with args. 6171set dummy ranlib; ac_word=$2 6172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6173$as_echo_n "checking for $ac_word... " >&6; } 6174if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6175 $as_echo_n "(cached) " >&6 6176else 6177 if test -n "$ac_ct_RANLIB"; then 6178 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6179else 6180as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6181for as_dir in $PATH 6182do 6183 IFS=$as_save_IFS 6184 test -z "$as_dir" && as_dir=. 6185 for ac_exec_ext in '' $ac_executable_extensions; do 6186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6187 ac_cv_prog_ac_ct_RANLIB="ranlib" 6188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6189 break 2 6190 fi 6191done 6192 done 6193IFS=$as_save_IFS 6194 6195fi 6196fi 6197ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6198if test -n "$ac_ct_RANLIB"; then 6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6200$as_echo "$ac_ct_RANLIB" >&6; } 6201else 6202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6203$as_echo "no" >&6; } 6204fi 6205 6206 if test "x$ac_ct_RANLIB" = x; then 6207 RANLIB=":" 6208 else 6209 case $cross_compiling:$ac_tool_warned in 6210yes:) 6211{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6212$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6213ac_tool_warned=yes ;; 6214esac 6215 RANLIB=$ac_ct_RANLIB 6216 fi 6217else 6218 RANLIB="$ac_cv_prog_RANLIB" 6219fi 6220 6221test -z "$RANLIB" && RANLIB=: 6222 6223 6224 6225 6226 6227 6228# Determine commands to create old-style static archives. 6229old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6230old_postinstall_cmds='chmod 644 $oldlib' 6231old_postuninstall_cmds= 6232 6233if test -n "$RANLIB"; then 6234 case $host_os in 6235 openbsd*) 6236 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6237 ;; 6238 *) 6239 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6240 ;; 6241 esac 6242 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6243fi 6244 6245case $host_os in 6246 darwin*) 6247 lock_old_archive_extraction=yes ;; 6248 *) 6249 lock_old_archive_extraction=no ;; 6250esac 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290# If no C compiler was specified, use CC. 6291LTCC=${LTCC-"$CC"} 6292 6293# If no C compiler flags were specified, use CFLAGS. 6294LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6295 6296# Allow CC to be a program name with arguments. 6297compiler=$CC 6298 6299 6300# Check for command to grab the raw symbol name followed by C symbol from nm. 6301{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6302$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6303if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6304 $as_echo_n "(cached) " >&6 6305else 6306 6307# These are sane defaults that work on at least a few old systems. 6308# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6309 6310# Character class describing NM global symbol codes. 6311symcode='[BCDEGRST]' 6312 6313# Regexp to match symbols that can be accessed directly from C. 6314sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6315 6316# Define system-specific variables. 6317case $host_os in 6318aix*) 6319 symcode='[BCDT]' 6320 ;; 6321cygwin* | mingw* | pw32* | cegcc*) 6322 symcode='[ABCDGISTW]' 6323 ;; 6324hpux*) 6325 if test "$host_cpu" = ia64; then 6326 symcode='[ABCDEGRST]' 6327 fi 6328 ;; 6329irix* | nonstopux*) 6330 symcode='[BCDEGRST]' 6331 ;; 6332osf*) 6333 symcode='[BCDEGQRST]' 6334 ;; 6335solaris*) 6336 symcode='[BDRT]' 6337 ;; 6338sco3.2v5*) 6339 symcode='[DT]' 6340 ;; 6341sysv4.2uw2*) 6342 symcode='[DT]' 6343 ;; 6344sysv5* | sco5v6* | unixware* | OpenUNIX*) 6345 symcode='[ABDT]' 6346 ;; 6347sysv4) 6348 symcode='[DFNSTU]' 6349 ;; 6350esac 6351 6352# If we're using GNU nm, then use its standard symbol codes. 6353case `$NM -V 2>&1` in 6354*GNU* | *'with BFD'*) 6355 symcode='[ABCDGIRSTW]' ;; 6356esac 6357 6358# Transform an extracted symbol line into a proper C declaration. 6359# Some systems (esp. on ia64) link data and code symbols differently, 6360# so use this general approach. 6361lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6362 6363# Transform an extracted symbol line into symbol name and symbol address 6364lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 6365lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" 6366 6367# Handle CRLF in mingw tool chain 6368opt_cr= 6369case $build_os in 6370mingw*) 6371 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6372 ;; 6373esac 6374 6375# Try without a prefix underscore, then with it. 6376for ac_symprfx in "" "_"; do 6377 6378 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6379 symxfrm="\\1 $ac_symprfx\\2 \\2" 6380 6381 # Write the raw and C identifiers. 6382 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6383 # Fake it for dumpbin and say T for any non-static function 6384 # and D for any global variable. 6385 # Also find C++ and __fastcall symbols from MSVC++, 6386 # which start with @ or ?. 6387 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6388" {last_section=section; section=\$ 3};"\ 6389" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6390" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6391" \$ 0!~/External *\|/{next};"\ 6392" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6393" {if(hide[section]) next};"\ 6394" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 6395" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 6396" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 6397" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 6398" ' prfx=^$ac_symprfx" 6399 else 6400 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6401 fi 6402 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6403 6404 # Check to see that the pipe works correctly. 6405 pipe_works=no 6406 6407 rm -f conftest* 6408 cat > conftest.$ac_ext <<_LT_EOF 6409#ifdef __cplusplus 6410extern "C" { 6411#endif 6412char nm_test_var; 6413void nm_test_func(void); 6414void nm_test_func(void){} 6415#ifdef __cplusplus 6416} 6417#endif 6418int main(){nm_test_var='a';nm_test_func();return(0);} 6419_LT_EOF 6420 6421 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6422 (eval $ac_compile) 2>&5 6423 ac_status=$? 6424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6425 test $ac_status = 0; }; then 6426 # Now try to grab the symbols. 6427 nlist=conftest.nm 6428 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6429 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6430 ac_status=$? 6431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6432 test $ac_status = 0; } && test -s "$nlist"; then 6433 # Try sorting and uniquifying the output. 6434 if sort "$nlist" | uniq > "$nlist"T; then 6435 mv -f "$nlist"T "$nlist" 6436 else 6437 rm -f "$nlist"T 6438 fi 6439 6440 # Make sure that we snagged all the symbols we need. 6441 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6442 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6443 cat <<_LT_EOF > conftest.$ac_ext 6444/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6445#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 6446/* DATA imports from DLLs on WIN32 con't be const, because runtime 6447 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6448# define LT_DLSYM_CONST 6449#elif defined(__osf__) 6450/* This system does not cope well with relocations in const data. */ 6451# define LT_DLSYM_CONST 6452#else 6453# define LT_DLSYM_CONST const 6454#endif 6455 6456#ifdef __cplusplus 6457extern "C" { 6458#endif 6459 6460_LT_EOF 6461 # Now generate the symbol file. 6462 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6463 6464 cat <<_LT_EOF >> conftest.$ac_ext 6465 6466/* The mapping between symbol names and symbols. */ 6467LT_DLSYM_CONST struct { 6468 const char *name; 6469 void *address; 6470} 6471lt__PROGRAM__LTX_preloaded_symbols[] = 6472{ 6473 { "@PROGRAM@", (void *) 0 }, 6474_LT_EOF 6475 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6476 cat <<\_LT_EOF >> conftest.$ac_ext 6477 {0, (void *) 0} 6478}; 6479 6480/* This works around a problem in FreeBSD linker */ 6481#ifdef FREEBSD_WORKAROUND 6482static const void *lt_preloaded_setup() { 6483 return lt__PROGRAM__LTX_preloaded_symbols; 6484} 6485#endif 6486 6487#ifdef __cplusplus 6488} 6489#endif 6490_LT_EOF 6491 # Now try linking the two files. 6492 mv conftest.$ac_objext conftstm.$ac_objext 6493 lt_globsym_save_LIBS=$LIBS 6494 lt_globsym_save_CFLAGS=$CFLAGS 6495 LIBS="conftstm.$ac_objext" 6496 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6497 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6498 (eval $ac_link) 2>&5 6499 ac_status=$? 6500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6501 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 6502 pipe_works=yes 6503 fi 6504 LIBS=$lt_globsym_save_LIBS 6505 CFLAGS=$lt_globsym_save_CFLAGS 6506 else 6507 echo "cannot find nm_test_func in $nlist" >&5 6508 fi 6509 else 6510 echo "cannot find nm_test_var in $nlist" >&5 6511 fi 6512 else 6513 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6514 fi 6515 else 6516 echo "$progname: failed program was:" >&5 6517 cat conftest.$ac_ext >&5 6518 fi 6519 rm -rf conftest* conftst* 6520 6521 # Do not use the global_symbol_pipe unless it works. 6522 if test "$pipe_works" = yes; then 6523 break 6524 else 6525 lt_cv_sys_global_symbol_pipe= 6526 fi 6527done 6528 6529fi 6530 6531if test -z "$lt_cv_sys_global_symbol_pipe"; then 6532 lt_cv_sys_global_symbol_to_cdecl= 6533fi 6534if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6536$as_echo "failed" >&6; } 6537else 6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6539$as_echo "ok" >&6; } 6540fi 6541 6542# Response file support. 6543if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6544 nm_file_list_spec='@' 6545elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6546 nm_file_list_spec='@' 6547fi 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6576$as_echo_n "checking for sysroot... " >&6; } 6577 6578# Check whether --with-sysroot was given. 6579if test "${with_sysroot+set}" = set; then : 6580 withval=$with_sysroot; 6581else 6582 with_sysroot=no 6583fi 6584 6585 6586lt_sysroot= 6587case ${with_sysroot} in #( 6588 yes) 6589 if test "$GCC" = yes; then 6590 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6591 fi 6592 ;; #( 6593 /*) 6594 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6595 ;; #( 6596 no|'') 6597 ;; #( 6598 *) 6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 6600$as_echo "${with_sysroot}" >&6; } 6601 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6602 ;; 6603esac 6604 6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6606$as_echo "${lt_sysroot:-no}" >&6; } 6607 6608 6609 6610 6611 6612# Check whether --enable-libtool-lock was given. 6613if test "${enable_libtool_lock+set}" = set; then : 6614 enableval=$enable_libtool_lock; 6615fi 6616 6617test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 6618 6619# Some flags need to be propagated to the compiler or linker for good 6620# libtool support. 6621case $host in 6622ia64-*-hpux*) 6623 # Find out which ABI we are using. 6624 echo 'int i;' > conftest.$ac_ext 6625 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6626 (eval $ac_compile) 2>&5 6627 ac_status=$? 6628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6629 test $ac_status = 0; }; then 6630 case `/usr/bin/file conftest.$ac_objext` in 6631 *ELF-32*) 6632 HPUX_IA64_MODE="32" 6633 ;; 6634 *ELF-64*) 6635 HPUX_IA64_MODE="64" 6636 ;; 6637 esac 6638 fi 6639 rm -rf conftest* 6640 ;; 6641*-*-irix6*) 6642 # Find out which ABI we are using. 6643 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6644 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6645 (eval $ac_compile) 2>&5 6646 ac_status=$? 6647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6648 test $ac_status = 0; }; then 6649 if test "$lt_cv_prog_gnu_ld" = yes; then 6650 case `/usr/bin/file conftest.$ac_objext` in 6651 *32-bit*) 6652 LD="${LD-ld} -melf32bsmip" 6653 ;; 6654 *N32*) 6655 LD="${LD-ld} -melf32bmipn32" 6656 ;; 6657 *64-bit*) 6658 LD="${LD-ld} -melf64bmip" 6659 ;; 6660 esac 6661 else 6662 case `/usr/bin/file conftest.$ac_objext` in 6663 *32-bit*) 6664 LD="${LD-ld} -32" 6665 ;; 6666 *N32*) 6667 LD="${LD-ld} -n32" 6668 ;; 6669 *64-bit*) 6670 LD="${LD-ld} -64" 6671 ;; 6672 esac 6673 fi 6674 fi 6675 rm -rf conftest* 6676 ;; 6677 6678x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 6679s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6680 # Find out which ABI we are using. 6681 echo 'int i;' > conftest.$ac_ext 6682 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6683 (eval $ac_compile) 2>&5 6684 ac_status=$? 6685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6686 test $ac_status = 0; }; then 6687 case `/usr/bin/file conftest.o` in 6688 *32-bit*) 6689 case $host in 6690 x86_64-*kfreebsd*-gnu) 6691 LD="${LD-ld} -m elf_i386_fbsd" 6692 ;; 6693 x86_64-*linux*) 6694 LD="${LD-ld} -m elf_i386" 6695 ;; 6696 powerpc64le-*linux*) 6697 LD="${LD-ld} -m elf32lppclinux" 6698 ;; 6699 powerpc64-*linux*) 6700 LD="${LD-ld} -m elf32ppclinux" 6701 ;; 6702 s390x-*linux*) 6703 LD="${LD-ld} -m elf_s390" 6704 ;; 6705 sparc64-*linux*) 6706 LD="${LD-ld} -m elf32_sparc" 6707 ;; 6708 esac 6709 ;; 6710 *64-bit*) 6711 case $host in 6712 x86_64-*kfreebsd*-gnu) 6713 LD="${LD-ld} -m elf_x86_64_fbsd" 6714 ;; 6715 x86_64-*linux*) 6716 LD="${LD-ld} -m elf_x86_64" 6717 ;; 6718 powerpcle-*linux*) 6719 LD="${LD-ld} -m elf64lppc" 6720 ;; 6721 powerpc-*linux*) 6722 LD="${LD-ld} -m elf64ppc" 6723 ;; 6724 s390*-*linux*|s390*-*tpf*) 6725 LD="${LD-ld} -m elf64_s390" 6726 ;; 6727 sparc*-*linux*) 6728 LD="${LD-ld} -m elf64_sparc" 6729 ;; 6730 esac 6731 ;; 6732 esac 6733 fi 6734 rm -rf conftest* 6735 ;; 6736 6737*-*-sco3.2v5*) 6738 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6739 SAVE_CFLAGS="$CFLAGS" 6740 CFLAGS="$CFLAGS -belf" 6741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6742$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6743if ${lt_cv_cc_needs_belf+:} false; then : 6744 $as_echo_n "(cached) " >&6 6745else 6746 ac_ext=c 6747ac_cpp='$CPP $CPPFLAGS' 6748ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6749ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6750ac_compiler_gnu=$ac_cv_c_compiler_gnu 6751 6752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6753/* end confdefs.h. */ 6754 6755int 6756main () 6757{ 6758 6759 ; 6760 return 0; 6761} 6762_ACEOF 6763if ac_fn_c_try_link "$LINENO"; then : 6764 lt_cv_cc_needs_belf=yes 6765else 6766 lt_cv_cc_needs_belf=no 6767fi 6768rm -f core conftest.err conftest.$ac_objext \ 6769 conftest$ac_exeext conftest.$ac_ext 6770 ac_ext=c 6771ac_cpp='$CPP $CPPFLAGS' 6772ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6773ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6774ac_compiler_gnu=$ac_cv_c_compiler_gnu 6775 6776fi 6777{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6778$as_echo "$lt_cv_cc_needs_belf" >&6; } 6779 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 6780 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6781 CFLAGS="$SAVE_CFLAGS" 6782 fi 6783 ;; 6784*-*solaris*) 6785 # Find out which ABI we are using. 6786 echo 'int i;' > conftest.$ac_ext 6787 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6788 (eval $ac_compile) 2>&5 6789 ac_status=$? 6790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6791 test $ac_status = 0; }; then 6792 case `/usr/bin/file conftest.o` in 6793 *64-bit*) 6794 case $lt_cv_prog_gnu_ld in 6795 yes*) 6796 case $host in 6797 i?86-*-solaris*) 6798 LD="${LD-ld} -m elf_x86_64" 6799 ;; 6800 sparc*-*-solaris*) 6801 LD="${LD-ld} -m elf64_sparc" 6802 ;; 6803 esac 6804 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 6805 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 6806 LD="${LD-ld}_sol2" 6807 fi 6808 ;; 6809 *) 6810 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6811 LD="${LD-ld} -64" 6812 fi 6813 ;; 6814 esac 6815 ;; 6816 esac 6817 fi 6818 rm -rf conftest* 6819 ;; 6820esac 6821 6822need_locks="$enable_libtool_lock" 6823 6824if test -n "$ac_tool_prefix"; then 6825 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6826set dummy ${ac_tool_prefix}mt; ac_word=$2 6827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6828$as_echo_n "checking for $ac_word... " >&6; } 6829if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6830 $as_echo_n "(cached) " >&6 6831else 6832 if test -n "$MANIFEST_TOOL"; then 6833 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 6834else 6835as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6836for as_dir in $PATH 6837do 6838 IFS=$as_save_IFS 6839 test -z "$as_dir" && as_dir=. 6840 for ac_exec_ext in '' $ac_executable_extensions; do 6841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6842 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 6843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6844 break 2 6845 fi 6846done 6847 done 6848IFS=$as_save_IFS 6849 6850fi 6851fi 6852MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6853if test -n "$MANIFEST_TOOL"; then 6854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 6855$as_echo "$MANIFEST_TOOL" >&6; } 6856else 6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6858$as_echo "no" >&6; } 6859fi 6860 6861 6862fi 6863if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 6864 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 6865 # Extract the first word of "mt", so it can be a program name with args. 6866set dummy mt; ac_word=$2 6867{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6868$as_echo_n "checking for $ac_word... " >&6; } 6869if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 6870 $as_echo_n "(cached) " >&6 6871else 6872 if test -n "$ac_ct_MANIFEST_TOOL"; then 6873 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 6874else 6875as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6876for as_dir in $PATH 6877do 6878 IFS=$as_save_IFS 6879 test -z "$as_dir" && as_dir=. 6880 for ac_exec_ext in '' $ac_executable_extensions; do 6881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6882 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 6883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6884 break 2 6885 fi 6886done 6887 done 6888IFS=$as_save_IFS 6889 6890fi 6891fi 6892ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 6893if test -n "$ac_ct_MANIFEST_TOOL"; then 6894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 6895$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 6896else 6897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6898$as_echo "no" >&6; } 6899fi 6900 6901 if test "x$ac_ct_MANIFEST_TOOL" = x; then 6902 MANIFEST_TOOL=":" 6903 else 6904 case $cross_compiling:$ac_tool_warned in 6905yes:) 6906{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6907$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6908ac_tool_warned=yes ;; 6909esac 6910 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 6911 fi 6912else 6913 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 6914fi 6915 6916test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 6917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 6918$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 6919if ${lt_cv_path_mainfest_tool+:} false; then : 6920 $as_echo_n "(cached) " >&6 6921else 6922 lt_cv_path_mainfest_tool=no 6923 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 6924 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 6925 cat conftest.err >&5 6926 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 6927 lt_cv_path_mainfest_tool=yes 6928 fi 6929 rm -f conftest* 6930fi 6931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 6932$as_echo "$lt_cv_path_mainfest_tool" >&6; } 6933if test "x$lt_cv_path_mainfest_tool" != xyes; then 6934 MANIFEST_TOOL=: 6935fi 6936 6937 6938 6939 6940 6941 6942 case $host_os in 6943 rhapsody* | darwin*) 6944 if test -n "$ac_tool_prefix"; then 6945 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6946set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6948$as_echo_n "checking for $ac_word... " >&6; } 6949if ${ac_cv_prog_DSYMUTIL+:} false; then : 6950 $as_echo_n "(cached) " >&6 6951else 6952 if test -n "$DSYMUTIL"; then 6953 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6954else 6955as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6956for as_dir in $PATH 6957do 6958 IFS=$as_save_IFS 6959 test -z "$as_dir" && as_dir=. 6960 for ac_exec_ext in '' $ac_executable_extensions; do 6961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6962 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6964 break 2 6965 fi 6966done 6967 done 6968IFS=$as_save_IFS 6969 6970fi 6971fi 6972DSYMUTIL=$ac_cv_prog_DSYMUTIL 6973if test -n "$DSYMUTIL"; then 6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6975$as_echo "$DSYMUTIL" >&6; } 6976else 6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6978$as_echo "no" >&6; } 6979fi 6980 6981 6982fi 6983if test -z "$ac_cv_prog_DSYMUTIL"; then 6984 ac_ct_DSYMUTIL=$DSYMUTIL 6985 # Extract the first word of "dsymutil", so it can be a program name with args. 6986set dummy dsymutil; ac_word=$2 6987{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6988$as_echo_n "checking for $ac_word... " >&6; } 6989if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 6990 $as_echo_n "(cached) " >&6 6991else 6992 if test -n "$ac_ct_DSYMUTIL"; then 6993 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6994else 6995as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6996for as_dir in $PATH 6997do 6998 IFS=$as_save_IFS 6999 test -z "$as_dir" && as_dir=. 7000 for ac_exec_ext in '' $ac_executable_extensions; do 7001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7002 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7004 break 2 7005 fi 7006done 7007 done 7008IFS=$as_save_IFS 7009 7010fi 7011fi 7012ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7013if test -n "$ac_ct_DSYMUTIL"; then 7014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7015$as_echo "$ac_ct_DSYMUTIL" >&6; } 7016else 7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7018$as_echo "no" >&6; } 7019fi 7020 7021 if test "x$ac_ct_DSYMUTIL" = x; then 7022 DSYMUTIL=":" 7023 else 7024 case $cross_compiling:$ac_tool_warned in 7025yes:) 7026{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7027$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7028ac_tool_warned=yes ;; 7029esac 7030 DSYMUTIL=$ac_ct_DSYMUTIL 7031 fi 7032else 7033 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7034fi 7035 7036 if test -n "$ac_tool_prefix"; then 7037 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7038set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7040$as_echo_n "checking for $ac_word... " >&6; } 7041if ${ac_cv_prog_NMEDIT+:} false; then : 7042 $as_echo_n "(cached) " >&6 7043else 7044 if test -n "$NMEDIT"; then 7045 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7046else 7047as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7048for as_dir in $PATH 7049do 7050 IFS=$as_save_IFS 7051 test -z "$as_dir" && as_dir=. 7052 for ac_exec_ext in '' $ac_executable_extensions; do 7053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7054 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7056 break 2 7057 fi 7058done 7059 done 7060IFS=$as_save_IFS 7061 7062fi 7063fi 7064NMEDIT=$ac_cv_prog_NMEDIT 7065if test -n "$NMEDIT"; then 7066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7067$as_echo "$NMEDIT" >&6; } 7068else 7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7070$as_echo "no" >&6; } 7071fi 7072 7073 7074fi 7075if test -z "$ac_cv_prog_NMEDIT"; then 7076 ac_ct_NMEDIT=$NMEDIT 7077 # Extract the first word of "nmedit", so it can be a program name with args. 7078set dummy nmedit; ac_word=$2 7079{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7080$as_echo_n "checking for $ac_word... " >&6; } 7081if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7082 $as_echo_n "(cached) " >&6 7083else 7084 if test -n "$ac_ct_NMEDIT"; then 7085 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7086else 7087as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7088for as_dir in $PATH 7089do 7090 IFS=$as_save_IFS 7091 test -z "$as_dir" && as_dir=. 7092 for ac_exec_ext in '' $ac_executable_extensions; do 7093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7094 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7096 break 2 7097 fi 7098done 7099 done 7100IFS=$as_save_IFS 7101 7102fi 7103fi 7104ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7105if test -n "$ac_ct_NMEDIT"; then 7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7107$as_echo "$ac_ct_NMEDIT" >&6; } 7108else 7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7110$as_echo "no" >&6; } 7111fi 7112 7113 if test "x$ac_ct_NMEDIT" = x; then 7114 NMEDIT=":" 7115 else 7116 case $cross_compiling:$ac_tool_warned in 7117yes:) 7118{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7119$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7120ac_tool_warned=yes ;; 7121esac 7122 NMEDIT=$ac_ct_NMEDIT 7123 fi 7124else 7125 NMEDIT="$ac_cv_prog_NMEDIT" 7126fi 7127 7128 if test -n "$ac_tool_prefix"; then 7129 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7130set dummy ${ac_tool_prefix}lipo; ac_word=$2 7131{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7132$as_echo_n "checking for $ac_word... " >&6; } 7133if ${ac_cv_prog_LIPO+:} false; then : 7134 $as_echo_n "(cached) " >&6 7135else 7136 if test -n "$LIPO"; then 7137 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7138else 7139as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7140for as_dir in $PATH 7141do 7142 IFS=$as_save_IFS 7143 test -z "$as_dir" && as_dir=. 7144 for ac_exec_ext in '' $ac_executable_extensions; do 7145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7146 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7148 break 2 7149 fi 7150done 7151 done 7152IFS=$as_save_IFS 7153 7154fi 7155fi 7156LIPO=$ac_cv_prog_LIPO 7157if test -n "$LIPO"; then 7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7159$as_echo "$LIPO" >&6; } 7160else 7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7162$as_echo "no" >&6; } 7163fi 7164 7165 7166fi 7167if test -z "$ac_cv_prog_LIPO"; then 7168 ac_ct_LIPO=$LIPO 7169 # Extract the first word of "lipo", so it can be a program name with args. 7170set dummy lipo; ac_word=$2 7171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7172$as_echo_n "checking for $ac_word... " >&6; } 7173if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7174 $as_echo_n "(cached) " >&6 7175else 7176 if test -n "$ac_ct_LIPO"; then 7177 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7178else 7179as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7180for as_dir in $PATH 7181do 7182 IFS=$as_save_IFS 7183 test -z "$as_dir" && as_dir=. 7184 for ac_exec_ext in '' $ac_executable_extensions; do 7185 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7186 ac_cv_prog_ac_ct_LIPO="lipo" 7187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7188 break 2 7189 fi 7190done 7191 done 7192IFS=$as_save_IFS 7193 7194fi 7195fi 7196ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7197if test -n "$ac_ct_LIPO"; then 7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7199$as_echo "$ac_ct_LIPO" >&6; } 7200else 7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7202$as_echo "no" >&6; } 7203fi 7204 7205 if test "x$ac_ct_LIPO" = x; then 7206 LIPO=":" 7207 else 7208 case $cross_compiling:$ac_tool_warned in 7209yes:) 7210{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7211$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7212ac_tool_warned=yes ;; 7213esac 7214 LIPO=$ac_ct_LIPO 7215 fi 7216else 7217 LIPO="$ac_cv_prog_LIPO" 7218fi 7219 7220 if test -n "$ac_tool_prefix"; then 7221 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7222set dummy ${ac_tool_prefix}otool; ac_word=$2 7223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7224$as_echo_n "checking for $ac_word... " >&6; } 7225if ${ac_cv_prog_OTOOL+:} false; then : 7226 $as_echo_n "(cached) " >&6 7227else 7228 if test -n "$OTOOL"; then 7229 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7230else 7231as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7232for as_dir in $PATH 7233do 7234 IFS=$as_save_IFS 7235 test -z "$as_dir" && as_dir=. 7236 for ac_exec_ext in '' $ac_executable_extensions; do 7237 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7238 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7240 break 2 7241 fi 7242done 7243 done 7244IFS=$as_save_IFS 7245 7246fi 7247fi 7248OTOOL=$ac_cv_prog_OTOOL 7249if test -n "$OTOOL"; then 7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7251$as_echo "$OTOOL" >&6; } 7252else 7253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7254$as_echo "no" >&6; } 7255fi 7256 7257 7258fi 7259if test -z "$ac_cv_prog_OTOOL"; then 7260 ac_ct_OTOOL=$OTOOL 7261 # Extract the first word of "otool", so it can be a program name with args. 7262set dummy otool; ac_word=$2 7263{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7264$as_echo_n "checking for $ac_word... " >&6; } 7265if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7266 $as_echo_n "(cached) " >&6 7267else 7268 if test -n "$ac_ct_OTOOL"; then 7269 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7270else 7271as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7272for as_dir in $PATH 7273do 7274 IFS=$as_save_IFS 7275 test -z "$as_dir" && as_dir=. 7276 for ac_exec_ext in '' $ac_executable_extensions; do 7277 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7278 ac_cv_prog_ac_ct_OTOOL="otool" 7279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7280 break 2 7281 fi 7282done 7283 done 7284IFS=$as_save_IFS 7285 7286fi 7287fi 7288ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7289if test -n "$ac_ct_OTOOL"; then 7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7291$as_echo "$ac_ct_OTOOL" >&6; } 7292else 7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7294$as_echo "no" >&6; } 7295fi 7296 7297 if test "x$ac_ct_OTOOL" = x; then 7298 OTOOL=":" 7299 else 7300 case $cross_compiling:$ac_tool_warned in 7301yes:) 7302{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7303$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7304ac_tool_warned=yes ;; 7305esac 7306 OTOOL=$ac_ct_OTOOL 7307 fi 7308else 7309 OTOOL="$ac_cv_prog_OTOOL" 7310fi 7311 7312 if test -n "$ac_tool_prefix"; then 7313 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7314set dummy ${ac_tool_prefix}otool64; ac_word=$2 7315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7316$as_echo_n "checking for $ac_word... " >&6; } 7317if ${ac_cv_prog_OTOOL64+:} false; then : 7318 $as_echo_n "(cached) " >&6 7319else 7320 if test -n "$OTOOL64"; then 7321 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7322else 7323as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7324for as_dir in $PATH 7325do 7326 IFS=$as_save_IFS 7327 test -z "$as_dir" && as_dir=. 7328 for ac_exec_ext in '' $ac_executable_extensions; do 7329 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7330 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7332 break 2 7333 fi 7334done 7335 done 7336IFS=$as_save_IFS 7337 7338fi 7339fi 7340OTOOL64=$ac_cv_prog_OTOOL64 7341if test -n "$OTOOL64"; then 7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7343$as_echo "$OTOOL64" >&6; } 7344else 7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7346$as_echo "no" >&6; } 7347fi 7348 7349 7350fi 7351if test -z "$ac_cv_prog_OTOOL64"; then 7352 ac_ct_OTOOL64=$OTOOL64 7353 # Extract the first word of "otool64", so it can be a program name with args. 7354set dummy otool64; ac_word=$2 7355{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7356$as_echo_n "checking for $ac_word... " >&6; } 7357if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7358 $as_echo_n "(cached) " >&6 7359else 7360 if test -n "$ac_ct_OTOOL64"; then 7361 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7362else 7363as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7364for as_dir in $PATH 7365do 7366 IFS=$as_save_IFS 7367 test -z "$as_dir" && as_dir=. 7368 for ac_exec_ext in '' $ac_executable_extensions; do 7369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7370 ac_cv_prog_ac_ct_OTOOL64="otool64" 7371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7372 break 2 7373 fi 7374done 7375 done 7376IFS=$as_save_IFS 7377 7378fi 7379fi 7380ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7381if test -n "$ac_ct_OTOOL64"; then 7382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7383$as_echo "$ac_ct_OTOOL64" >&6; } 7384else 7385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7386$as_echo "no" >&6; } 7387fi 7388 7389 if test "x$ac_ct_OTOOL64" = x; then 7390 OTOOL64=":" 7391 else 7392 case $cross_compiling:$ac_tool_warned in 7393yes:) 7394{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7395$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7396ac_tool_warned=yes ;; 7397esac 7398 OTOOL64=$ac_ct_OTOOL64 7399 fi 7400else 7401 OTOOL64="$ac_cv_prog_OTOOL64" 7402fi 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7431$as_echo_n "checking for -single_module linker flag... " >&6; } 7432if ${lt_cv_apple_cc_single_mod+:} false; then : 7433 $as_echo_n "(cached) " >&6 7434else 7435 lt_cv_apple_cc_single_mod=no 7436 if test -z "${LT_MULTI_MODULE}"; then 7437 # By default we will add the -single_module flag. You can override 7438 # by either setting the environment variable LT_MULTI_MODULE 7439 # non-empty at configure time, or by adding -multi_module to the 7440 # link flags. 7441 rm -rf libconftest.dylib* 7442 echo "int foo(void){return 1;}" > conftest.c 7443 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7444-dynamiclib -Wl,-single_module conftest.c" >&5 7445 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7446 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7447 _lt_result=$? 7448 # If there is a non-empty error log, and "single_module" 7449 # appears in it, assume the flag caused a linker warning 7450 if test -s conftest.err && $GREP single_module conftest.err; then 7451 cat conftest.err >&5 7452 # Otherwise, if the output was created with a 0 exit code from 7453 # the compiler, it worked. 7454 elif test -f libconftest.dylib && test $_lt_result -eq 0; then 7455 lt_cv_apple_cc_single_mod=yes 7456 else 7457 cat conftest.err >&5 7458 fi 7459 rm -rf libconftest.dylib* 7460 rm -f conftest.* 7461 fi 7462fi 7463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7464$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7465 7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7467$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7468if ${lt_cv_ld_exported_symbols_list+:} false; then : 7469 $as_echo_n "(cached) " >&6 7470else 7471 lt_cv_ld_exported_symbols_list=no 7472 save_LDFLAGS=$LDFLAGS 7473 echo "_main" > conftest.sym 7474 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7476/* end confdefs.h. */ 7477 7478int 7479main () 7480{ 7481 7482 ; 7483 return 0; 7484} 7485_ACEOF 7486if ac_fn_c_try_link "$LINENO"; then : 7487 lt_cv_ld_exported_symbols_list=yes 7488else 7489 lt_cv_ld_exported_symbols_list=no 7490fi 7491rm -f core conftest.err conftest.$ac_objext \ 7492 conftest$ac_exeext conftest.$ac_ext 7493 LDFLAGS="$save_LDFLAGS" 7494 7495fi 7496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7497$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7498 7499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7500$as_echo_n "checking for -force_load linker flag... " >&6; } 7501if ${lt_cv_ld_force_load+:} false; then : 7502 $as_echo_n "(cached) " >&6 7503else 7504 lt_cv_ld_force_load=no 7505 cat > conftest.c << _LT_EOF 7506int forced_loaded() { return 2;} 7507_LT_EOF 7508 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7509 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7510 echo "$AR cru libconftest.a conftest.o" >&5 7511 $AR cru libconftest.a conftest.o 2>&5 7512 echo "$RANLIB libconftest.a" >&5 7513 $RANLIB libconftest.a 2>&5 7514 cat > conftest.c << _LT_EOF 7515int main() { return 0;} 7516_LT_EOF 7517 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7518 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7519 _lt_result=$? 7520 if test -s conftest.err && $GREP force_load conftest.err; then 7521 cat conftest.err >&5 7522 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then 7523 lt_cv_ld_force_load=yes 7524 else 7525 cat conftest.err >&5 7526 fi 7527 rm -f conftest.err libconftest.a conftest conftest.c 7528 rm -rf conftest.dSYM 7529 7530fi 7531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7532$as_echo "$lt_cv_ld_force_load" >&6; } 7533 case $host_os in 7534 rhapsody* | darwin1.[012]) 7535 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 7536 darwin1.*) 7537 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7538 darwin*) # darwin 5.x on 7539 # if running on 10.5 or later, the deployment target defaults 7540 # to the OS version, if on x86, and 10.4, the deployment 7541 # target defaults to 10.4. Don't you love it? 7542 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7543 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7544 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7545 10.[012]*) 7546 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7547 10.*) 7548 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7549 esac 7550 ;; 7551 esac 7552 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 7553 _lt_dar_single_mod='$single_module' 7554 fi 7555 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 7556 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 7557 else 7558 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 7559 fi 7560 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 7561 _lt_dsymutil='~$DSYMUTIL $lib || :' 7562 else 7563 _lt_dsymutil= 7564 fi 7565 ;; 7566 esac 7567 7568ac_ext=c 7569ac_cpp='$CPP $CPPFLAGS' 7570ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7571ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7572ac_compiler_gnu=$ac_cv_c_compiler_gnu 7573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7574$as_echo_n "checking how to run the C preprocessor... " >&6; } 7575# On Suns, sometimes $CPP names a directory. 7576if test -n "$CPP" && test -d "$CPP"; then 7577 CPP= 7578fi 7579if test -z "$CPP"; then 7580 if ${ac_cv_prog_CPP+:} false; then : 7581 $as_echo_n "(cached) " >&6 7582else 7583 # Double quotes because CPP needs to be expanded 7584 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7585 do 7586 ac_preproc_ok=false 7587for ac_c_preproc_warn_flag in '' yes 7588do 7589 # Use a header file that comes with gcc, so configuring glibc 7590 # with a fresh cross-compiler works. 7591 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7592 # <limits.h> exists even on freestanding compilers. 7593 # On the NeXT, cc -E runs the code through the compiler's parser, 7594 # not just through cpp. "Syntax error" is here to catch this case. 7595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7596/* end confdefs.h. */ 7597#ifdef __STDC__ 7598# include <limits.h> 7599#else 7600# include <assert.h> 7601#endif 7602 Syntax error 7603_ACEOF 7604if ac_fn_c_try_cpp "$LINENO"; then : 7605 7606else 7607 # Broken: fails on valid input. 7608continue 7609fi 7610rm -f conftest.err conftest.i conftest.$ac_ext 7611 7612 # OK, works on sane cases. Now check whether nonexistent headers 7613 # can be detected and how. 7614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7615/* end confdefs.h. */ 7616#include <ac_nonexistent.h> 7617_ACEOF 7618if ac_fn_c_try_cpp "$LINENO"; then : 7619 # Broken: success on invalid input. 7620continue 7621else 7622 # Passes both tests. 7623ac_preproc_ok=: 7624break 7625fi 7626rm -f conftest.err conftest.i conftest.$ac_ext 7627 7628done 7629# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7630rm -f conftest.i conftest.err conftest.$ac_ext 7631if $ac_preproc_ok; then : 7632 break 7633fi 7634 7635 done 7636 ac_cv_prog_CPP=$CPP 7637 7638fi 7639 CPP=$ac_cv_prog_CPP 7640else 7641 ac_cv_prog_CPP=$CPP 7642fi 7643{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7644$as_echo "$CPP" >&6; } 7645ac_preproc_ok=false 7646for ac_c_preproc_warn_flag in '' yes 7647do 7648 # Use a header file that comes with gcc, so configuring glibc 7649 # with a fresh cross-compiler works. 7650 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7651 # <limits.h> exists even on freestanding compilers. 7652 # On the NeXT, cc -E runs the code through the compiler's parser, 7653 # not just through cpp. "Syntax error" is here to catch this case. 7654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7655/* end confdefs.h. */ 7656#ifdef __STDC__ 7657# include <limits.h> 7658#else 7659# include <assert.h> 7660#endif 7661 Syntax error 7662_ACEOF 7663if ac_fn_c_try_cpp "$LINENO"; then : 7664 7665else 7666 # Broken: fails on valid input. 7667continue 7668fi 7669rm -f conftest.err conftest.i conftest.$ac_ext 7670 7671 # OK, works on sane cases. Now check whether nonexistent headers 7672 # can be detected and how. 7673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7674/* end confdefs.h. */ 7675#include <ac_nonexistent.h> 7676_ACEOF 7677if ac_fn_c_try_cpp "$LINENO"; then : 7678 # Broken: success on invalid input. 7679continue 7680else 7681 # Passes both tests. 7682ac_preproc_ok=: 7683break 7684fi 7685rm -f conftest.err conftest.i conftest.$ac_ext 7686 7687done 7688# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7689rm -f conftest.i conftest.err conftest.$ac_ext 7690if $ac_preproc_ok; then : 7691 7692else 7693 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7694$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7695as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7696See \`config.log' for more details" "$LINENO" 5; } 7697fi 7698 7699ac_ext=c 7700ac_cpp='$CPP $CPPFLAGS' 7701ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7702ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7703ac_compiler_gnu=$ac_cv_c_compiler_gnu 7704 7705 7706{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7707$as_echo_n "checking for ANSI C header files... " >&6; } 7708if ${ac_cv_header_stdc+:} false; then : 7709 $as_echo_n "(cached) " >&6 7710else 7711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7712/* end confdefs.h. */ 7713#include <stdlib.h> 7714#include <stdarg.h> 7715#include <string.h> 7716#include <float.h> 7717 7718int 7719main () 7720{ 7721 7722 ; 7723 return 0; 7724} 7725_ACEOF 7726if ac_fn_c_try_compile "$LINENO"; then : 7727 ac_cv_header_stdc=yes 7728else 7729 ac_cv_header_stdc=no 7730fi 7731rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7732 7733if test $ac_cv_header_stdc = yes; then 7734 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7736/* end confdefs.h. */ 7737#include <string.h> 7738 7739_ACEOF 7740if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7741 $EGREP "memchr" >/dev/null 2>&1; then : 7742 7743else 7744 ac_cv_header_stdc=no 7745fi 7746rm -f conftest* 7747 7748fi 7749 7750if test $ac_cv_header_stdc = yes; then 7751 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7753/* end confdefs.h. */ 7754#include <stdlib.h> 7755 7756_ACEOF 7757if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7758 $EGREP "free" >/dev/null 2>&1; then : 7759 7760else 7761 ac_cv_header_stdc=no 7762fi 7763rm -f conftest* 7764 7765fi 7766 7767if test $ac_cv_header_stdc = yes; then 7768 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7769 if test "$cross_compiling" = yes; then : 7770 : 7771else 7772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7773/* end confdefs.h. */ 7774#include <ctype.h> 7775#include <stdlib.h> 7776#if ((' ' & 0x0FF) == 0x020) 7777# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7778# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7779#else 7780# define ISLOWER(c) \ 7781 (('a' <= (c) && (c) <= 'i') \ 7782 || ('j' <= (c) && (c) <= 'r') \ 7783 || ('s' <= (c) && (c) <= 'z')) 7784# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7785#endif 7786 7787#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7788int 7789main () 7790{ 7791 int i; 7792 for (i = 0; i < 256; i++) 7793 if (XOR (islower (i), ISLOWER (i)) 7794 || toupper (i) != TOUPPER (i)) 7795 return 2; 7796 return 0; 7797} 7798_ACEOF 7799if ac_fn_c_try_run "$LINENO"; then : 7800 7801else 7802 ac_cv_header_stdc=no 7803fi 7804rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7805 conftest.$ac_objext conftest.beam conftest.$ac_ext 7806fi 7807 7808fi 7809fi 7810{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7811$as_echo "$ac_cv_header_stdc" >&6; } 7812if test $ac_cv_header_stdc = yes; then 7813 7814$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7815 7816fi 7817 7818# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7819for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7820 inttypes.h stdint.h unistd.h 7821do : 7822 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7823ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7824" 7825if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7826 cat >>confdefs.h <<_ACEOF 7827#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7828_ACEOF 7829 7830fi 7831 7832done 7833 7834 7835for ac_header in dlfcn.h 7836do : 7837 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7838" 7839if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7840 cat >>confdefs.h <<_ACEOF 7841#define HAVE_DLFCN_H 1 7842_ACEOF 7843 7844fi 7845 7846done 7847 7848 7849 GST_CURRENT=0 7850 GST_REVISION=0 7851 GST_AGE=0 7852 GST_LIBVERSION=0:0:0 7853 7854 7855 7856 7857 7858 GST_LT_LDFLAGS="$GST_LT_LDFLAGS -version-info $GST_LIBVERSION" 7859 if test ! -z "" 7860 then 7861 GST_LT_LDFLAGS="$GST_LT_LDFLAGS -release " 7862 fi 7863 7864 7865 7866 7867 7868 7869 7870# Set options 7871enable_dlopen=yes 7872enable_win32_dll=yes 7873 7874case $host in 7875*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 7876 if test -n "$ac_tool_prefix"; then 7877 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 7878set dummy ${ac_tool_prefix}as; ac_word=$2 7879{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7880$as_echo_n "checking for $ac_word... " >&6; } 7881if ${ac_cv_prog_AS+:} false; then : 7882 $as_echo_n "(cached) " >&6 7883else 7884 if test -n "$AS"; then 7885 ac_cv_prog_AS="$AS" # Let the user override the test. 7886else 7887as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7888for as_dir in $PATH 7889do 7890 IFS=$as_save_IFS 7891 test -z "$as_dir" && as_dir=. 7892 for ac_exec_ext in '' $ac_executable_extensions; do 7893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7894 ac_cv_prog_AS="${ac_tool_prefix}as" 7895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7896 break 2 7897 fi 7898done 7899 done 7900IFS=$as_save_IFS 7901 7902fi 7903fi 7904AS=$ac_cv_prog_AS 7905if test -n "$AS"; then 7906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 7907$as_echo "$AS" >&6; } 7908else 7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7910$as_echo "no" >&6; } 7911fi 7912 7913 7914fi 7915if test -z "$ac_cv_prog_AS"; then 7916 ac_ct_AS=$AS 7917 # Extract the first word of "as", so it can be a program name with args. 7918set dummy as; ac_word=$2 7919{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7920$as_echo_n "checking for $ac_word... " >&6; } 7921if ${ac_cv_prog_ac_ct_AS+:} false; then : 7922 $as_echo_n "(cached) " >&6 7923else 7924 if test -n "$ac_ct_AS"; then 7925 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 7926else 7927as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7928for as_dir in $PATH 7929do 7930 IFS=$as_save_IFS 7931 test -z "$as_dir" && as_dir=. 7932 for ac_exec_ext in '' $ac_executable_extensions; do 7933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7934 ac_cv_prog_ac_ct_AS="as" 7935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7936 break 2 7937 fi 7938done 7939 done 7940IFS=$as_save_IFS 7941 7942fi 7943fi 7944ac_ct_AS=$ac_cv_prog_ac_ct_AS 7945if test -n "$ac_ct_AS"; then 7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 7947$as_echo "$ac_ct_AS" >&6; } 7948else 7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7950$as_echo "no" >&6; } 7951fi 7952 7953 if test "x$ac_ct_AS" = x; then 7954 AS="false" 7955 else 7956 case $cross_compiling:$ac_tool_warned in 7957yes:) 7958{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7959$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7960ac_tool_warned=yes ;; 7961esac 7962 AS=$ac_ct_AS 7963 fi 7964else 7965 AS="$ac_cv_prog_AS" 7966fi 7967 7968 if test -n "$ac_tool_prefix"; then 7969 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 7970set dummy ${ac_tool_prefix}dlltool; ac_word=$2 7971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7972$as_echo_n "checking for $ac_word... " >&6; } 7973if ${ac_cv_prog_DLLTOOL+:} false; then : 7974 $as_echo_n "(cached) " >&6 7975else 7976 if test -n "$DLLTOOL"; then 7977 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 7978else 7979as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7980for as_dir in $PATH 7981do 7982 IFS=$as_save_IFS 7983 test -z "$as_dir" && as_dir=. 7984 for ac_exec_ext in '' $ac_executable_extensions; do 7985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7986 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 7987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7988 break 2 7989 fi 7990done 7991 done 7992IFS=$as_save_IFS 7993 7994fi 7995fi 7996DLLTOOL=$ac_cv_prog_DLLTOOL 7997if test -n "$DLLTOOL"; then 7998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 7999$as_echo "$DLLTOOL" >&6; } 8000else 8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8002$as_echo "no" >&6; } 8003fi 8004 8005 8006fi 8007if test -z "$ac_cv_prog_DLLTOOL"; then 8008 ac_ct_DLLTOOL=$DLLTOOL 8009 # Extract the first word of "dlltool", so it can be a program name with args. 8010set dummy dlltool; ac_word=$2 8011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8012$as_echo_n "checking for $ac_word... " >&6; } 8013if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 8014 $as_echo_n "(cached) " >&6 8015else 8016 if test -n "$ac_ct_DLLTOOL"; then 8017 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 8018else 8019as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8020for as_dir in $PATH 8021do 8022 IFS=$as_save_IFS 8023 test -z "$as_dir" && as_dir=. 8024 for ac_exec_ext in '' $ac_executable_extensions; do 8025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8026 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 8027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8028 break 2 8029 fi 8030done 8031 done 8032IFS=$as_save_IFS 8033 8034fi 8035fi 8036ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 8037if test -n "$ac_ct_DLLTOOL"; then 8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 8039$as_echo "$ac_ct_DLLTOOL" >&6; } 8040else 8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8042$as_echo "no" >&6; } 8043fi 8044 8045 if test "x$ac_ct_DLLTOOL" = x; then 8046 DLLTOOL="false" 8047 else 8048 case $cross_compiling:$ac_tool_warned in 8049yes:) 8050{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8051$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8052ac_tool_warned=yes ;; 8053esac 8054 DLLTOOL=$ac_ct_DLLTOOL 8055 fi 8056else 8057 DLLTOOL="$ac_cv_prog_DLLTOOL" 8058fi 8059 8060 if test -n "$ac_tool_prefix"; then 8061 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 8062set dummy ${ac_tool_prefix}objdump; ac_word=$2 8063{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8064$as_echo_n "checking for $ac_word... " >&6; } 8065if ${ac_cv_prog_OBJDUMP+:} false; then : 8066 $as_echo_n "(cached) " >&6 8067else 8068 if test -n "$OBJDUMP"; then 8069 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 8070else 8071as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8072for as_dir in $PATH 8073do 8074 IFS=$as_save_IFS 8075 test -z "$as_dir" && as_dir=. 8076 for ac_exec_ext in '' $ac_executable_extensions; do 8077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8078 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 8079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8080 break 2 8081 fi 8082done 8083 done 8084IFS=$as_save_IFS 8085 8086fi 8087fi 8088OBJDUMP=$ac_cv_prog_OBJDUMP 8089if test -n "$OBJDUMP"; then 8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 8091$as_echo "$OBJDUMP" >&6; } 8092else 8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8094$as_echo "no" >&6; } 8095fi 8096 8097 8098fi 8099if test -z "$ac_cv_prog_OBJDUMP"; then 8100 ac_ct_OBJDUMP=$OBJDUMP 8101 # Extract the first word of "objdump", so it can be a program name with args. 8102set dummy objdump; ac_word=$2 8103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8104$as_echo_n "checking for $ac_word... " >&6; } 8105if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 8106 $as_echo_n "(cached) " >&6 8107else 8108 if test -n "$ac_ct_OBJDUMP"; then 8109 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 8110else 8111as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8112for as_dir in $PATH 8113do 8114 IFS=$as_save_IFS 8115 test -z "$as_dir" && as_dir=. 8116 for ac_exec_ext in '' $ac_executable_extensions; do 8117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8118 ac_cv_prog_ac_ct_OBJDUMP="objdump" 8119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8120 break 2 8121 fi 8122done 8123 done 8124IFS=$as_save_IFS 8125 8126fi 8127fi 8128ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 8129if test -n "$ac_ct_OBJDUMP"; then 8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 8131$as_echo "$ac_ct_OBJDUMP" >&6; } 8132else 8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8134$as_echo "no" >&6; } 8135fi 8136 8137 if test "x$ac_ct_OBJDUMP" = x; then 8138 OBJDUMP="false" 8139 else 8140 case $cross_compiling:$ac_tool_warned in 8141yes:) 8142{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8143$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8144ac_tool_warned=yes ;; 8145esac 8146 OBJDUMP=$ac_ct_OBJDUMP 8147 fi 8148else 8149 OBJDUMP="$ac_cv_prog_OBJDUMP" 8150fi 8151 8152 ;; 8153esac 8154 8155test -z "$AS" && AS=as 8156 8157 8158 8159 8160 8161test -z "$DLLTOOL" && DLLTOOL=dlltool 8162 8163 8164 8165 8166 8167test -z "$OBJDUMP" && OBJDUMP=objdump 8168 8169 8170 8171 8172# Check whether --enable-static was given. 8173if test "${enable_static+set}" = set; then : 8174 enableval=$enable_static; p=${PACKAGE-default} 8175 case $enableval in 8176 yes) enable_static=yes ;; 8177 no) enable_static=no ;; 8178 *) 8179 enable_static=no 8180 # Look at the argument we got. We use all the common list separators. 8181 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8182 for pkg in $enableval; do 8183 IFS="$lt_save_ifs" 8184 if test "X$pkg" = "X$p"; then 8185 enable_static=yes 8186 fi 8187 done 8188 IFS="$lt_save_ifs" 8189 ;; 8190 esac 8191else 8192 enable_static=no 8193fi 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 # Check whether --enable-shared was given. 8207if test "${enable_shared+set}" = set; then : 8208 enableval=$enable_shared; p=${PACKAGE-default} 8209 case $enableval in 8210 yes) enable_shared=yes ;; 8211 no) enable_shared=no ;; 8212 *) 8213 enable_shared=no 8214 # Look at the argument we got. We use all the common list separators. 8215 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8216 for pkg in $enableval; do 8217 IFS="$lt_save_ifs" 8218 if test "X$pkg" = "X$p"; then 8219 enable_shared=yes 8220 fi 8221 done 8222 IFS="$lt_save_ifs" 8223 ;; 8224 esac 8225else 8226 enable_shared=yes 8227fi 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239# Check whether --with-pic was given. 8240if test "${with_pic+set}" = set; then : 8241 withval=$with_pic; lt_p=${PACKAGE-default} 8242 case $withval in 8243 yes|no) pic_mode=$withval ;; 8244 *) 8245 pic_mode=default 8246 # Look at the argument we got. We use all the common list separators. 8247 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8248 for lt_pkg in $withval; do 8249 IFS="$lt_save_ifs" 8250 if test "X$lt_pkg" = "X$lt_p"; then 8251 pic_mode=yes 8252 fi 8253 done 8254 IFS="$lt_save_ifs" 8255 ;; 8256 esac 8257else 8258 pic_mode=default 8259fi 8260 8261 8262test -z "$pic_mode" && pic_mode=default 8263 8264 8265 8266 8267 8268 8269 8270 # Check whether --enable-fast-install was given. 8271if test "${enable_fast_install+set}" = set; then : 8272 enableval=$enable_fast_install; p=${PACKAGE-default} 8273 case $enableval in 8274 yes) enable_fast_install=yes ;; 8275 no) enable_fast_install=no ;; 8276 *) 8277 enable_fast_install=no 8278 # Look at the argument we got. We use all the common list separators. 8279 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8280 for pkg in $enableval; do 8281 IFS="$lt_save_ifs" 8282 if test "X$pkg" = "X$p"; then 8283 enable_fast_install=yes 8284 fi 8285 done 8286 IFS="$lt_save_ifs" 8287 ;; 8288 esac 8289else 8290 enable_fast_install=yes 8291fi 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303# This can be used to rebuild libtool when needed 8304LIBTOOL_DEPS="$ltmain" 8305 8306# Always use our own libtool. 8307LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338test -z "$LN_S" && LN_S="ln -s" 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353if test -n "${ZSH_VERSION+set}" ; then 8354 setopt NO_GLOB_SUBST 8355fi 8356 8357{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8358$as_echo_n "checking for objdir... " >&6; } 8359if ${lt_cv_objdir+:} false; then : 8360 $as_echo_n "(cached) " >&6 8361else 8362 rm -f .libs 2>/dev/null 8363mkdir .libs 2>/dev/null 8364if test -d .libs; then 8365 lt_cv_objdir=.libs 8366else 8367 # MS-DOS does not allow filenames that begin with a dot. 8368 lt_cv_objdir=_libs 8369fi 8370rmdir .libs 2>/dev/null 8371fi 8372{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8373$as_echo "$lt_cv_objdir" >&6; } 8374objdir=$lt_cv_objdir 8375 8376 8377 8378 8379 8380cat >>confdefs.h <<_ACEOF 8381#define LT_OBJDIR "$lt_cv_objdir/" 8382_ACEOF 8383 8384 8385 8386 8387case $host_os in 8388aix3*) 8389 # AIX sometimes has problems with the GCC collect2 program. For some 8390 # reason, if we set the COLLECT_NAMES environment variable, the problems 8391 # vanish in a puff of smoke. 8392 if test "X${COLLECT_NAMES+set}" != Xset; then 8393 COLLECT_NAMES= 8394 export COLLECT_NAMES 8395 fi 8396 ;; 8397esac 8398 8399# Global variables: 8400ofile=libtool 8401can_build_shared=yes 8402 8403# All known linkers require a `.a' archive for static linking (except MSVC, 8404# which needs '.lib'). 8405libext=a 8406 8407with_gnu_ld="$lt_cv_prog_gnu_ld" 8408 8409old_CC="$CC" 8410old_CFLAGS="$CFLAGS" 8411 8412# Set sane defaults for various variables 8413test -z "$CC" && CC=cc 8414test -z "$LTCC" && LTCC=$CC 8415test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8416test -z "$LD" && LD=ld 8417test -z "$ac_objext" && ac_objext=o 8418 8419for cc_temp in $compiler""; do 8420 case $cc_temp in 8421 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 8422 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8423 \-*) ;; 8424 *) break;; 8425 esac 8426done 8427cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 8428 8429 8430# Only perform the check for file, if the check method requires it 8431test -z "$MAGIC_CMD" && MAGIC_CMD=file 8432case $deplibs_check_method in 8433file_magic*) 8434 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8436$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8437if ${lt_cv_path_MAGIC_CMD+:} false; then : 8438 $as_echo_n "(cached) " >&6 8439else 8440 case $MAGIC_CMD in 8441[\\/*] | ?:[\\/]*) 8442 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8443 ;; 8444*) 8445 lt_save_MAGIC_CMD="$MAGIC_CMD" 8446 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8447 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8448 for ac_dir in $ac_dummy; do 8449 IFS="$lt_save_ifs" 8450 test -z "$ac_dir" && ac_dir=. 8451 if test -f $ac_dir/${ac_tool_prefix}file; then 8452 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 8453 if test -n "$file_magic_test_file"; then 8454 case $deplibs_check_method in 8455 "file_magic "*) 8456 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8457 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8458 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8459 $EGREP "$file_magic_regex" > /dev/null; then 8460 : 8461 else 8462 cat <<_LT_EOF 1>&2 8463 8464*** Warning: the command libtool uses to detect shared libraries, 8465*** $file_magic_cmd, produces output that libtool cannot recognize. 8466*** The result is that libtool may fail to recognize shared libraries 8467*** as such. This will affect the creation of libtool libraries that 8468*** depend on shared libraries, but programs linked with such libtool 8469*** libraries will work regardless of this problem. Nevertheless, you 8470*** may want to report the problem to your system manager and/or to 8471*** bug-libtool@gnu.org 8472 8473_LT_EOF 8474 fi ;; 8475 esac 8476 fi 8477 break 8478 fi 8479 done 8480 IFS="$lt_save_ifs" 8481 MAGIC_CMD="$lt_save_MAGIC_CMD" 8482 ;; 8483esac 8484fi 8485 8486MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8487if test -n "$MAGIC_CMD"; then 8488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8489$as_echo "$MAGIC_CMD" >&6; } 8490else 8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8492$as_echo "no" >&6; } 8493fi 8494 8495 8496 8497 8498 8499if test -z "$lt_cv_path_MAGIC_CMD"; then 8500 if test -n "$ac_tool_prefix"; then 8501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8502$as_echo_n "checking for file... " >&6; } 8503if ${lt_cv_path_MAGIC_CMD+:} false; then : 8504 $as_echo_n "(cached) " >&6 8505else 8506 case $MAGIC_CMD in 8507[\\/*] | ?:[\\/]*) 8508 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8509 ;; 8510*) 8511 lt_save_MAGIC_CMD="$MAGIC_CMD" 8512 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8513 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8514 for ac_dir in $ac_dummy; do 8515 IFS="$lt_save_ifs" 8516 test -z "$ac_dir" && ac_dir=. 8517 if test -f $ac_dir/file; then 8518 lt_cv_path_MAGIC_CMD="$ac_dir/file" 8519 if test -n "$file_magic_test_file"; then 8520 case $deplibs_check_method in 8521 "file_magic "*) 8522 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8523 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8524 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8525 $EGREP "$file_magic_regex" > /dev/null; then 8526 : 8527 else 8528 cat <<_LT_EOF 1>&2 8529 8530*** Warning: the command libtool uses to detect shared libraries, 8531*** $file_magic_cmd, produces output that libtool cannot recognize. 8532*** The result is that libtool may fail to recognize shared libraries 8533*** as such. This will affect the creation of libtool libraries that 8534*** depend on shared libraries, but programs linked with such libtool 8535*** libraries will work regardless of this problem. Nevertheless, you 8536*** may want to report the problem to your system manager and/or to 8537*** bug-libtool@gnu.org 8538 8539_LT_EOF 8540 fi ;; 8541 esac 8542 fi 8543 break 8544 fi 8545 done 8546 IFS="$lt_save_ifs" 8547 MAGIC_CMD="$lt_save_MAGIC_CMD" 8548 ;; 8549esac 8550fi 8551 8552MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8553if test -n "$MAGIC_CMD"; then 8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8555$as_echo "$MAGIC_CMD" >&6; } 8556else 8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8558$as_echo "no" >&6; } 8559fi 8560 8561 8562 else 8563 MAGIC_CMD=: 8564 fi 8565fi 8566 8567 fi 8568 ;; 8569esac 8570 8571# Use C for the default configuration in the libtool script 8572 8573lt_save_CC="$CC" 8574ac_ext=c 8575ac_cpp='$CPP $CPPFLAGS' 8576ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8577ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8578ac_compiler_gnu=$ac_cv_c_compiler_gnu 8579 8580 8581# Source file extension for C test sources. 8582ac_ext=c 8583 8584# Object file extension for compiled C test sources. 8585objext=o 8586objext=$objext 8587 8588# Code to be used in simple compile tests 8589lt_simple_compile_test_code="int some_variable = 0;" 8590 8591# Code to be used in simple link tests 8592lt_simple_link_test_code='int main(){return(0);}' 8593 8594 8595 8596 8597 8598 8599 8600# If no C compiler was specified, use CC. 8601LTCC=${LTCC-"$CC"} 8602 8603# If no C compiler flags were specified, use CFLAGS. 8604LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8605 8606# Allow CC to be a program name with arguments. 8607compiler=$CC 8608 8609# Save the default compiler, since it gets overwritten when the other 8610# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8611compiler_DEFAULT=$CC 8612 8613# save warnings/boilerplate of simple test code 8614ac_outfile=conftest.$ac_objext 8615echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8616eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8617_lt_compiler_boilerplate=`cat conftest.err` 8618$RM conftest* 8619 8620ac_outfile=conftest.$ac_objext 8621echo "$lt_simple_link_test_code" >conftest.$ac_ext 8622eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8623_lt_linker_boilerplate=`cat conftest.err` 8624$RM -r conftest* 8625 8626 8627## CAVEAT EMPTOR: 8628## There is no encapsulation within the following macros, do not change 8629## the running order or otherwise move them around unless you know exactly 8630## what you are doing... 8631if test -n "$compiler"; then 8632 8633lt_prog_compiler_no_builtin_flag= 8634 8635if test "$GCC" = yes; then 8636 case $cc_basename in 8637 nvcc*) 8638 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8639 *) 8640 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8641 esac 8642 8643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8644$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8645if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8646 $as_echo_n "(cached) " >&6 8647else 8648 lt_cv_prog_compiler_rtti_exceptions=no 8649 ac_outfile=conftest.$ac_objext 8650 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8651 lt_compiler_flag="-fno-rtti -fno-exceptions" 8652 # Insert the option either (1) after the last *FLAGS variable, or 8653 # (2) before a word containing "conftest.", or (3) at the end. 8654 # Note that $ac_compile itself does not contain backslashes and begins 8655 # with a dollar sign (not a hyphen), so the echo should work correctly. 8656 # The option is referenced via a variable to avoid confusing sed. 8657 lt_compile=`echo "$ac_compile" | $SED \ 8658 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8659 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8660 -e 's:$: $lt_compiler_flag:'` 8661 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8662 (eval "$lt_compile" 2>conftest.err) 8663 ac_status=$? 8664 cat conftest.err >&5 8665 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8666 if (exit $ac_status) && test -s "$ac_outfile"; then 8667 # The compiler can only warn and ignore the option if not recognized 8668 # So say no if there are warnings other than the usual output. 8669 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8670 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8671 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8672 lt_cv_prog_compiler_rtti_exceptions=yes 8673 fi 8674 fi 8675 $RM conftest* 8676 8677fi 8678{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8679$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8680 8681if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 8682 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8683else 8684 : 8685fi 8686 8687fi 8688 8689 8690 8691 8692 8693 8694 lt_prog_compiler_wl= 8695lt_prog_compiler_pic= 8696lt_prog_compiler_static= 8697 8698 8699 if test "$GCC" = yes; then 8700 lt_prog_compiler_wl='-Wl,' 8701 lt_prog_compiler_static='-static' 8702 8703 case $host_os in 8704 aix*) 8705 # All AIX code is PIC. 8706 if test "$host_cpu" = ia64; then 8707 # AIX 5 now supports IA64 processor 8708 lt_prog_compiler_static='-Bstatic' 8709 fi 8710 ;; 8711 8712 amigaos*) 8713 case $host_cpu in 8714 powerpc) 8715 # see comment about AmigaOS4 .so support 8716 lt_prog_compiler_pic='-fPIC' 8717 ;; 8718 m68k) 8719 # FIXME: we need at least 68020 code to build shared libraries, but 8720 # adding the `-m68020' flag to GCC prevents building anything better, 8721 # like `-m68040'. 8722 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8723 ;; 8724 esac 8725 ;; 8726 8727 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8728 # PIC is the default for these OSes. 8729 ;; 8730 8731 mingw* | cygwin* | pw32* | os2* | cegcc*) 8732 # This hack is so that the source file can tell whether it is being 8733 # built for inclusion in a dll (and should export symbols for example). 8734 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8735 # (--disable-auto-import) libraries 8736 lt_prog_compiler_pic='-DDLL_EXPORT' 8737 ;; 8738 8739 darwin* | rhapsody*) 8740 # PIC is the default on this platform 8741 # Common symbols not allowed in MH_DYLIB files 8742 lt_prog_compiler_pic='-fno-common' 8743 ;; 8744 8745 haiku*) 8746 # PIC is the default for Haiku. 8747 # The "-static" flag exists, but is broken. 8748 lt_prog_compiler_static= 8749 ;; 8750 8751 hpux*) 8752 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8753 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8754 # sets the default TLS model and affects inlining. 8755 case $host_cpu in 8756 hppa*64*) 8757 # +Z the default 8758 ;; 8759 *) 8760 lt_prog_compiler_pic='-fPIC' 8761 ;; 8762 esac 8763 ;; 8764 8765 interix[3-9]*) 8766 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8767 # Instead, we relocate shared libraries at runtime. 8768 ;; 8769 8770 msdosdjgpp*) 8771 # Just because we use GCC doesn't mean we suddenly get shared libraries 8772 # on systems that don't support them. 8773 lt_prog_compiler_can_build_shared=no 8774 enable_shared=no 8775 ;; 8776 8777 *nto* | *qnx*) 8778 # QNX uses GNU C++, but need to define -shared option too, otherwise 8779 # it will coredump. 8780 lt_prog_compiler_pic='-fPIC -shared' 8781 ;; 8782 8783 sysv4*MP*) 8784 if test -d /usr/nec; then 8785 lt_prog_compiler_pic=-Kconform_pic 8786 fi 8787 ;; 8788 8789 *) 8790 lt_prog_compiler_pic='-fPIC' 8791 ;; 8792 esac 8793 8794 case $cc_basename in 8795 nvcc*) # Cuda Compiler Driver 2.2 8796 lt_prog_compiler_wl='-Xlinker ' 8797 if test -n "$lt_prog_compiler_pic"; then 8798 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8799 fi 8800 ;; 8801 esac 8802 else 8803 # PORTME Check for flag to pass linker flags through the system compiler. 8804 case $host_os in 8805 aix*) 8806 lt_prog_compiler_wl='-Wl,' 8807 if test "$host_cpu" = ia64; then 8808 # AIX 5 now supports IA64 processor 8809 lt_prog_compiler_static='-Bstatic' 8810 else 8811 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8812 fi 8813 ;; 8814 8815 mingw* | cygwin* | pw32* | os2* | cegcc*) 8816 # This hack is so that the source file can tell whether it is being 8817 # built for inclusion in a dll (and should export symbols for example). 8818 lt_prog_compiler_pic='-DDLL_EXPORT' 8819 ;; 8820 8821 hpux9* | hpux10* | hpux11*) 8822 lt_prog_compiler_wl='-Wl,' 8823 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8824 # not for PA HP-UX. 8825 case $host_cpu in 8826 hppa*64*|ia64*) 8827 # +Z the default 8828 ;; 8829 *) 8830 lt_prog_compiler_pic='+Z' 8831 ;; 8832 esac 8833 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8834 lt_prog_compiler_static='${wl}-a ${wl}archive' 8835 ;; 8836 8837 irix5* | irix6* | nonstopux*) 8838 lt_prog_compiler_wl='-Wl,' 8839 # PIC (with -KPIC) is the default. 8840 lt_prog_compiler_static='-non_shared' 8841 ;; 8842 8843 linux* | k*bsd*-gnu | kopensolaris*-gnu) 8844 case $cc_basename in 8845 # old Intel for x86_64 which still supported -KPIC. 8846 ecc*) 8847 lt_prog_compiler_wl='-Wl,' 8848 lt_prog_compiler_pic='-KPIC' 8849 lt_prog_compiler_static='-static' 8850 ;; 8851 # icc used to be incompatible with GCC. 8852 # ICC 10 doesn't accept -KPIC any more. 8853 icc* | ifort*) 8854 lt_prog_compiler_wl='-Wl,' 8855 lt_prog_compiler_pic='-fPIC' 8856 lt_prog_compiler_static='-static' 8857 ;; 8858 # Lahey Fortran 8.1. 8859 lf95*) 8860 lt_prog_compiler_wl='-Wl,' 8861 lt_prog_compiler_pic='--shared' 8862 lt_prog_compiler_static='--static' 8863 ;; 8864 nagfor*) 8865 # NAG Fortran compiler 8866 lt_prog_compiler_wl='-Wl,-Wl,,' 8867 lt_prog_compiler_pic='-PIC' 8868 lt_prog_compiler_static='-Bstatic' 8869 ;; 8870 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8871 # Portland Group compilers (*not* the Pentium gcc compiler, 8872 # which looks to be a dead project) 8873 lt_prog_compiler_wl='-Wl,' 8874 lt_prog_compiler_pic='-fpic' 8875 lt_prog_compiler_static='-Bstatic' 8876 ;; 8877 ccc*) 8878 lt_prog_compiler_wl='-Wl,' 8879 # All Alpha code is PIC. 8880 lt_prog_compiler_static='-non_shared' 8881 ;; 8882 xl* | bgxl* | bgf* | mpixl*) 8883 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8884 lt_prog_compiler_wl='-Wl,' 8885 lt_prog_compiler_pic='-qpic' 8886 lt_prog_compiler_static='-qstaticlink' 8887 ;; 8888 *) 8889 case `$CC -V 2>&1 | sed 5q` in 8890 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8891 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8892 lt_prog_compiler_pic='-KPIC' 8893 lt_prog_compiler_static='-Bstatic' 8894 lt_prog_compiler_wl='' 8895 ;; 8896 *Sun\ F* | *Sun*Fortran*) 8897 lt_prog_compiler_pic='-KPIC' 8898 lt_prog_compiler_static='-Bstatic' 8899 lt_prog_compiler_wl='-Qoption ld ' 8900 ;; 8901 *Sun\ C*) 8902 # Sun C 5.9 8903 lt_prog_compiler_pic='-KPIC' 8904 lt_prog_compiler_static='-Bstatic' 8905 lt_prog_compiler_wl='-Wl,' 8906 ;; 8907 *Intel*\ [CF]*Compiler*) 8908 lt_prog_compiler_wl='-Wl,' 8909 lt_prog_compiler_pic='-fPIC' 8910 lt_prog_compiler_static='-static' 8911 ;; 8912 *Portland\ Group*) 8913 lt_prog_compiler_wl='-Wl,' 8914 lt_prog_compiler_pic='-fpic' 8915 lt_prog_compiler_static='-Bstatic' 8916 ;; 8917 esac 8918 ;; 8919 esac 8920 ;; 8921 8922 newsos6) 8923 lt_prog_compiler_pic='-KPIC' 8924 lt_prog_compiler_static='-Bstatic' 8925 ;; 8926 8927 *nto* | *qnx*) 8928 # QNX uses GNU C++, but need to define -shared option too, otherwise 8929 # it will coredump. 8930 lt_prog_compiler_pic='-fPIC -shared' 8931 ;; 8932 8933 osf3* | osf4* | osf5*) 8934 lt_prog_compiler_wl='-Wl,' 8935 # All OSF/1 code is PIC. 8936 lt_prog_compiler_static='-non_shared' 8937 ;; 8938 8939 rdos*) 8940 lt_prog_compiler_static='-non_shared' 8941 ;; 8942 8943 solaris*) 8944 lt_prog_compiler_pic='-KPIC' 8945 lt_prog_compiler_static='-Bstatic' 8946 case $cc_basename in 8947 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8948 lt_prog_compiler_wl='-Qoption ld ';; 8949 *) 8950 lt_prog_compiler_wl='-Wl,';; 8951 esac 8952 ;; 8953 8954 sunos4*) 8955 lt_prog_compiler_wl='-Qoption ld ' 8956 lt_prog_compiler_pic='-PIC' 8957 lt_prog_compiler_static='-Bstatic' 8958 ;; 8959 8960 sysv4 | sysv4.2uw2* | sysv4.3*) 8961 lt_prog_compiler_wl='-Wl,' 8962 lt_prog_compiler_pic='-KPIC' 8963 lt_prog_compiler_static='-Bstatic' 8964 ;; 8965 8966 sysv4*MP*) 8967 if test -d /usr/nec ;then 8968 lt_prog_compiler_pic='-Kconform_pic' 8969 lt_prog_compiler_static='-Bstatic' 8970 fi 8971 ;; 8972 8973 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8974 lt_prog_compiler_wl='-Wl,' 8975 lt_prog_compiler_pic='-KPIC' 8976 lt_prog_compiler_static='-Bstatic' 8977 ;; 8978 8979 unicos*) 8980 lt_prog_compiler_wl='-Wl,' 8981 lt_prog_compiler_can_build_shared=no 8982 ;; 8983 8984 uts4*) 8985 lt_prog_compiler_pic='-pic' 8986 lt_prog_compiler_static='-Bstatic' 8987 ;; 8988 8989 *) 8990 lt_prog_compiler_can_build_shared=no 8991 ;; 8992 esac 8993 fi 8994 8995case $host_os in 8996 # For platforms which do not support PIC, -DPIC is meaningless: 8997 *djgpp*) 8998 lt_prog_compiler_pic= 8999 ;; 9000 *) 9001 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 9002 ;; 9003esac 9004 9005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 9006$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 9007if ${lt_cv_prog_compiler_pic+:} false; then : 9008 $as_echo_n "(cached) " >&6 9009else 9010 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 9011fi 9012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 9013$as_echo "$lt_cv_prog_compiler_pic" >&6; } 9014lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 9015 9016# 9017# Check to make sure the PIC flag actually works. 9018# 9019if test -n "$lt_prog_compiler_pic"; then 9020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 9021$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 9022if ${lt_cv_prog_compiler_pic_works+:} false; then : 9023 $as_echo_n "(cached) " >&6 9024else 9025 lt_cv_prog_compiler_pic_works=no 9026 ac_outfile=conftest.$ac_objext 9027 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9028 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 9029 # Insert the option either (1) after the last *FLAGS variable, or 9030 # (2) before a word containing "conftest.", or (3) at the end. 9031 # Note that $ac_compile itself does not contain backslashes and begins 9032 # with a dollar sign (not a hyphen), so the echo should work correctly. 9033 # The option is referenced via a variable to avoid confusing sed. 9034 lt_compile=`echo "$ac_compile" | $SED \ 9035 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9036 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9037 -e 's:$: $lt_compiler_flag:'` 9038 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9039 (eval "$lt_compile" 2>conftest.err) 9040 ac_status=$? 9041 cat conftest.err >&5 9042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9043 if (exit $ac_status) && test -s "$ac_outfile"; then 9044 # The compiler can only warn and ignore the option if not recognized 9045 # So say no if there are warnings other than the usual output. 9046 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9047 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9048 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9049 lt_cv_prog_compiler_pic_works=yes 9050 fi 9051 fi 9052 $RM conftest* 9053 9054fi 9055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 9056$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 9057 9058if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 9059 case $lt_prog_compiler_pic in 9060 "" | " "*) ;; 9061 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 9062 esac 9063else 9064 lt_prog_compiler_pic= 9065 lt_prog_compiler_can_build_shared=no 9066fi 9067 9068fi 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080# 9081# Check to make sure the static flag actually works. 9082# 9083wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9085$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9086if ${lt_cv_prog_compiler_static_works+:} false; then : 9087 $as_echo_n "(cached) " >&6 9088else 9089 lt_cv_prog_compiler_static_works=no 9090 save_LDFLAGS="$LDFLAGS" 9091 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9092 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9093 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9094 # The linker can only warn and ignore the option if not recognized 9095 # So say no if there are warnings 9096 if test -s conftest.err; then 9097 # Append any errors to the config.log. 9098 cat conftest.err 1>&5 9099 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9100 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9101 if diff conftest.exp conftest.er2 >/dev/null; then 9102 lt_cv_prog_compiler_static_works=yes 9103 fi 9104 else 9105 lt_cv_prog_compiler_static_works=yes 9106 fi 9107 fi 9108 $RM -r conftest* 9109 LDFLAGS="$save_LDFLAGS" 9110 9111fi 9112{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 9113$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 9114 9115if test x"$lt_cv_prog_compiler_static_works" = xyes; then 9116 : 9117else 9118 lt_prog_compiler_static= 9119fi 9120 9121 9122 9123 9124 9125 9126 9127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9128$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9129if ${lt_cv_prog_compiler_c_o+:} false; then : 9130 $as_echo_n "(cached) " >&6 9131else 9132 lt_cv_prog_compiler_c_o=no 9133 $RM -r conftest 2>/dev/null 9134 mkdir conftest 9135 cd conftest 9136 mkdir out 9137 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9138 9139 lt_compiler_flag="-o out/conftest2.$ac_objext" 9140 # Insert the option either (1) after the last *FLAGS variable, or 9141 # (2) before a word containing "conftest.", or (3) at the end. 9142 # Note that $ac_compile itself does not contain backslashes and begins 9143 # with a dollar sign (not a hyphen), so the echo should work correctly. 9144 lt_compile=`echo "$ac_compile" | $SED \ 9145 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9146 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9147 -e 's:$: $lt_compiler_flag:'` 9148 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9149 (eval "$lt_compile" 2>out/conftest.err) 9150 ac_status=$? 9151 cat out/conftest.err >&5 9152 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9153 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9154 then 9155 # The compiler can only warn and ignore the option if not recognized 9156 # So say no if there are warnings 9157 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9158 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9159 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9160 lt_cv_prog_compiler_c_o=yes 9161 fi 9162 fi 9163 chmod u+w . 2>&5 9164 $RM conftest* 9165 # SGI C++ compiler will create directory out/ii_files/ for 9166 # template instantiation 9167 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9168 $RM out/* && rmdir out 9169 cd .. 9170 $RM -r conftest 9171 $RM conftest* 9172 9173fi 9174{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9175$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9176 9177 9178 9179 9180 9181 9182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9183$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9184if ${lt_cv_prog_compiler_c_o+:} false; then : 9185 $as_echo_n "(cached) " >&6 9186else 9187 lt_cv_prog_compiler_c_o=no 9188 $RM -r conftest 2>/dev/null 9189 mkdir conftest 9190 cd conftest 9191 mkdir out 9192 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9193 9194 lt_compiler_flag="-o out/conftest2.$ac_objext" 9195 # Insert the option either (1) after the last *FLAGS variable, or 9196 # (2) before a word containing "conftest.", or (3) at the end. 9197 # Note that $ac_compile itself does not contain backslashes and begins 9198 # with a dollar sign (not a hyphen), so the echo should work correctly. 9199 lt_compile=`echo "$ac_compile" | $SED \ 9200 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9201 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9202 -e 's:$: $lt_compiler_flag:'` 9203 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9204 (eval "$lt_compile" 2>out/conftest.err) 9205 ac_status=$? 9206 cat out/conftest.err >&5 9207 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9208 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9209 then 9210 # The compiler can only warn and ignore the option if not recognized 9211 # So say no if there are warnings 9212 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9213 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9214 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9215 lt_cv_prog_compiler_c_o=yes 9216 fi 9217 fi 9218 chmod u+w . 2>&5 9219 $RM conftest* 9220 # SGI C++ compiler will create directory out/ii_files/ for 9221 # template instantiation 9222 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9223 $RM out/* && rmdir out 9224 cd .. 9225 $RM -r conftest 9226 $RM conftest* 9227 9228fi 9229{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9230$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9231 9232 9233 9234 9235hard_links="nottested" 9236if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 9237 # do not overwrite the value of need_locks provided by the user 9238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9239$as_echo_n "checking if we can lock with hard links... " >&6; } 9240 hard_links=yes 9241 $RM conftest* 9242 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9243 touch conftest.a 9244 ln conftest.a conftest.b 2>&5 || hard_links=no 9245 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9247$as_echo "$hard_links" >&6; } 9248 if test "$hard_links" = no; then 9249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 9250$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 9251 need_locks=warn 9252 fi 9253else 9254 need_locks=no 9255fi 9256 9257 9258 9259 9260 9261 9262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9263$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9264 9265 runpath_var= 9266 allow_undefined_flag= 9267 always_export_symbols=no 9268 archive_cmds= 9269 archive_expsym_cmds= 9270 compiler_needs_object=no 9271 enable_shared_with_static_runtimes=no 9272 export_dynamic_flag_spec= 9273 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9274 hardcode_automatic=no 9275 hardcode_direct=no 9276 hardcode_direct_absolute=no 9277 hardcode_libdir_flag_spec= 9278 hardcode_libdir_separator= 9279 hardcode_minus_L=no 9280 hardcode_shlibpath_var=unsupported 9281 inherit_rpath=no 9282 link_all_deplibs=unknown 9283 module_cmds= 9284 module_expsym_cmds= 9285 old_archive_from_new_cmds= 9286 old_archive_from_expsyms_cmds= 9287 thread_safe_flag_spec= 9288 whole_archive_flag_spec= 9289 # include_expsyms should be a list of space-separated symbols to be *always* 9290 # included in the symbol list 9291 include_expsyms= 9292 # exclude_expsyms can be an extended regexp of symbols to exclude 9293 # it will be wrapped by ` (' and `)$', so one must not match beginning or 9294 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 9295 # as well as any symbol that contains `d'. 9296 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9297 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9298 # platforms (ab)use it in PIC code, but their linkers get confused if 9299 # the symbol is explicitly referenced. Since portable code cannot 9300 # rely on this symbol name, it's probably fine to never include it in 9301 # preloaded symbol tables. 9302 # Exclude shared library initialization/finalization symbols. 9303 extract_expsyms_cmds= 9304 9305 case $host_os in 9306 cygwin* | mingw* | pw32* | cegcc*) 9307 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9308 # When not using gcc, we currently assume that we are using 9309 # Microsoft Visual C++. 9310 if test "$GCC" != yes; then 9311 with_gnu_ld=no 9312 fi 9313 ;; 9314 interix*) 9315 # we just hope/assume this is gcc and not c89 (= MSVC++) 9316 with_gnu_ld=yes 9317 ;; 9318 openbsd*) 9319 with_gnu_ld=no 9320 ;; 9321 esac 9322 9323 ld_shlibs=yes 9324 9325 # On some targets, GNU ld is compatible enough with the native linker 9326 # that we're better off using the native interface for both. 9327 lt_use_gnu_ld_interface=no 9328 if test "$with_gnu_ld" = yes; then 9329 case $host_os in 9330 aix*) 9331 # The AIX port of GNU ld has always aspired to compatibility 9332 # with the native linker. However, as the warning in the GNU ld 9333 # block says, versions before 2.19.5* couldn't really create working 9334 # shared libraries, regardless of the interface used. 9335 case `$LD -v 2>&1` in 9336 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9337 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9338 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9339 *) 9340 lt_use_gnu_ld_interface=yes 9341 ;; 9342 esac 9343 ;; 9344 *) 9345 lt_use_gnu_ld_interface=yes 9346 ;; 9347 esac 9348 fi 9349 9350 if test "$lt_use_gnu_ld_interface" = yes; then 9351 # If archive_cmds runs LD, not CC, wlarc should be empty 9352 wlarc='${wl}' 9353 9354 # Set some defaults for GNU ld with shared library support. These 9355 # are reset later if shared libraries are not supported. Putting them 9356 # here allows them to be overridden if necessary. 9357 runpath_var=LD_RUN_PATH 9358 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9359 export_dynamic_flag_spec='${wl}--export-dynamic' 9360 # ancient GNU ld didn't support --whole-archive et. al. 9361 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9362 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 9363 else 9364 whole_archive_flag_spec= 9365 fi 9366 supports_anon_versioning=no 9367 case `$LD -v 2>&1` in 9368 *GNU\ gold*) supports_anon_versioning=yes ;; 9369 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9370 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9371 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9372 *\ 2.11.*) ;; # other 2.11 versions 9373 *) supports_anon_versioning=yes ;; 9374 esac 9375 9376 # See if GNU ld supports shared libraries. 9377 case $host_os in 9378 aix[3-9]*) 9379 # On AIX/PPC, the GNU linker is very broken 9380 if test "$host_cpu" != ia64; then 9381 ld_shlibs=no 9382 cat <<_LT_EOF 1>&2 9383 9384*** Warning: the GNU linker, at least up to release 2.19, is reported 9385*** to be unable to reliably create shared libraries on AIX. 9386*** Therefore, libtool is disabling shared libraries support. If you 9387*** really care for shared libraries, you may want to install binutils 9388*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9389*** You will then need to restart the configuration process. 9390 9391_LT_EOF 9392 fi 9393 ;; 9394 9395 amigaos*) 9396 case $host_cpu in 9397 powerpc) 9398 # see comment about AmigaOS4 .so support 9399 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9400 archive_expsym_cmds='' 9401 ;; 9402 m68k) 9403 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)' 9404 hardcode_libdir_flag_spec='-L$libdir' 9405 hardcode_minus_L=yes 9406 ;; 9407 esac 9408 ;; 9409 9410 beos*) 9411 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9412 allow_undefined_flag=unsupported 9413 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9414 # support --undefined. This deserves some investigation. FIXME 9415 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9416 else 9417 ld_shlibs=no 9418 fi 9419 ;; 9420 9421 cygwin* | mingw* | pw32* | cegcc*) 9422 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9423 # as there is no search path for DLLs. 9424 hardcode_libdir_flag_spec='-L$libdir' 9425 export_dynamic_flag_spec='${wl}--export-all-symbols' 9426 allow_undefined_flag=unsupported 9427 always_export_symbols=no 9428 enable_shared_with_static_runtimes=yes 9429 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' 9430 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9431 9432 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9433 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9434 # If the export-symbols file already is a .def file (1st line 9435 # is EXPORTS), use it as is; otherwise, prepend... 9436 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9437 cp $export_symbols $output_objdir/$soname.def; 9438 else 9439 echo EXPORTS > $output_objdir/$soname.def; 9440 cat $export_symbols >> $output_objdir/$soname.def; 9441 fi~ 9442 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9443 else 9444 ld_shlibs=no 9445 fi 9446 ;; 9447 9448 haiku*) 9449 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9450 link_all_deplibs=yes 9451 ;; 9452 9453 interix[3-9]*) 9454 hardcode_direct=no 9455 hardcode_shlibpath_var=no 9456 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9457 export_dynamic_flag_spec='${wl}-E' 9458 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9459 # Instead, shared libraries are loaded at an image base (0x10000000 by 9460 # default) and relocated if they conflict, which is a slow very memory 9461 # consuming and fragmenting process. To avoid this, we pick a random, 9462 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9463 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9464 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9465 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' 9466 ;; 9467 9468 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9469 tmp_diet=no 9470 if test "$host_os" = linux-dietlibc; then 9471 case $cc_basename in 9472 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9473 esac 9474 fi 9475 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9476 && test "$tmp_diet" = no 9477 then 9478 tmp_addflag=' $pic_flag' 9479 tmp_sharedflag='-shared' 9480 case $cc_basename,$host_cpu in 9481 pgcc*) # Portland Group C compiler 9482 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' 9483 tmp_addflag=' $pic_flag' 9484 ;; 9485 pgf77* | pgf90* | pgf95* | pgfortran*) 9486 # Portland Group f77 and f90 compilers 9487 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' 9488 tmp_addflag=' $pic_flag -Mnomain' ;; 9489 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9490 tmp_addflag=' -i_dynamic' ;; 9491 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9492 tmp_addflag=' -i_dynamic -nofor_main' ;; 9493 ifc* | ifort*) # Intel Fortran compiler 9494 tmp_addflag=' -nofor_main' ;; 9495 lf95*) # Lahey Fortran 8.1 9496 whole_archive_flag_spec= 9497 tmp_sharedflag='--shared' ;; 9498 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9499 tmp_sharedflag='-qmkshrobj' 9500 tmp_addflag= ;; 9501 nvcc*) # Cuda Compiler Driver 2.2 9502 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' 9503 compiler_needs_object=yes 9504 ;; 9505 esac 9506 case `$CC -V 2>&1 | sed 5q` in 9507 *Sun\ C*) # Sun C 5.9 9508 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' 9509 compiler_needs_object=yes 9510 tmp_sharedflag='-G' ;; 9511 *Sun\ F*) # Sun Fortran 8.3 9512 tmp_sharedflag='-G' ;; 9513 esac 9514 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9515 9516 if test "x$supports_anon_versioning" = xyes; then 9517 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9518 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9519 echo "local: *; };" >> $output_objdir/$libname.ver~ 9520 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 9521 fi 9522 9523 case $cc_basename in 9524 xlf* | bgf* | bgxlf* | mpixlf*) 9525 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9526 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9527 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9528 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9529 if test "x$supports_anon_versioning" = xyes; then 9530 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9531 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9532 echo "local: *; };" >> $output_objdir/$libname.ver~ 9533 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9534 fi 9535 ;; 9536 esac 9537 else 9538 ld_shlibs=no 9539 fi 9540 ;; 9541 9542 netbsd*) 9543 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9544 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9545 wlarc= 9546 else 9547 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9548 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9549 fi 9550 ;; 9551 9552 solaris*) 9553 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9554 ld_shlibs=no 9555 cat <<_LT_EOF 1>&2 9556 9557*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9558*** create shared libraries on Solaris systems. Therefore, libtool 9559*** is disabling shared libraries support. We urge you to upgrade GNU 9560*** binutils to release 2.9.1 or newer. Another option is to modify 9561*** your PATH or compiler configuration so that the native linker is 9562*** used, and then restart. 9563 9564_LT_EOF 9565 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9566 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9567 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9568 else 9569 ld_shlibs=no 9570 fi 9571 ;; 9572 9573 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9574 case `$LD -v 2>&1` in 9575 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9576 ld_shlibs=no 9577 cat <<_LT_EOF 1>&2 9578 9579*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 9580*** reliably create shared libraries on SCO systems. Therefore, libtool 9581*** is disabling shared libraries support. We urge you to upgrade GNU 9582*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9583*** your PATH or compiler configuration so that the native linker is 9584*** used, and then restart. 9585 9586_LT_EOF 9587 ;; 9588 *) 9589 # For security reasons, it is highly recommended that you always 9590 # use absolute paths for naming shared libraries, and exclude the 9591 # DT_RUNPATH tag from executables and libraries. But doing so 9592 # requires that you compile everything twice, which is a pain. 9593 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9594 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9595 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9596 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9597 else 9598 ld_shlibs=no 9599 fi 9600 ;; 9601 esac 9602 ;; 9603 9604 sunos4*) 9605 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9606 wlarc= 9607 hardcode_direct=yes 9608 hardcode_shlibpath_var=no 9609 ;; 9610 9611 *) 9612 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9613 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9614 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9615 else 9616 ld_shlibs=no 9617 fi 9618 ;; 9619 esac 9620 9621 if test "$ld_shlibs" = no; then 9622 runpath_var= 9623 hardcode_libdir_flag_spec= 9624 export_dynamic_flag_spec= 9625 whole_archive_flag_spec= 9626 fi 9627 else 9628 # PORTME fill in a description of your system's linker (not GNU ld) 9629 case $host_os in 9630 aix3*) 9631 allow_undefined_flag=unsupported 9632 always_export_symbols=yes 9633 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' 9634 # Note: this linker hardcodes the directories in LIBPATH if there 9635 # are no directories specified by -L. 9636 hardcode_minus_L=yes 9637 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 9638 # Neither direct hardcoding nor static linking is supported with a 9639 # broken collect2. 9640 hardcode_direct=unsupported 9641 fi 9642 ;; 9643 9644 aix[4-9]*) 9645 if test "$host_cpu" = ia64; then 9646 # On IA64, the linker does run time linking by default, so we don't 9647 # have to do anything special. 9648 aix_use_runtimelinking=no 9649 exp_sym_flag='-Bexport' 9650 no_entry_flag="" 9651 else 9652 # If we're using GNU nm, then we don't want the "-C" option. 9653 # -C means demangle to AIX nm, but means don't demangle with GNU nm 9654 # Also, AIX nm treats weak defined symbols like other global 9655 # defined symbols, whereas GNU nm marks them as "W". 9656 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9657 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 9658 else 9659 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 9660 fi 9661 aix_use_runtimelinking=no 9662 9663 # Test if we are trying to use run time linking or normal 9664 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9665 # need to do runtime linking. 9666 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9667 for ld_flag in $LDFLAGS; do 9668 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 9669 aix_use_runtimelinking=yes 9670 break 9671 fi 9672 done 9673 ;; 9674 esac 9675 9676 exp_sym_flag='-bexport' 9677 no_entry_flag='-bnoentry' 9678 fi 9679 9680 # When large executables or shared objects are built, AIX ld can 9681 # have problems creating the table of contents. If linking a library 9682 # or program results in "error TOC overflow" add -mminimal-toc to 9683 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9684 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9685 9686 archive_cmds='' 9687 hardcode_direct=yes 9688 hardcode_direct_absolute=yes 9689 hardcode_libdir_separator=':' 9690 link_all_deplibs=yes 9691 file_list_spec='${wl}-f,' 9692 9693 if test "$GCC" = yes; then 9694 case $host_os in aix4.[012]|aix4.[012].*) 9695 # We only want to do this on AIX 4.2 and lower, the check 9696 # below for broken collect2 doesn't work under 4.3+ 9697 collect2name=`${CC} -print-prog-name=collect2` 9698 if test -f "$collect2name" && 9699 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9700 then 9701 # We have reworked collect2 9702 : 9703 else 9704 # We have old collect2 9705 hardcode_direct=unsupported 9706 # It fails to find uninstalled libraries when the uninstalled 9707 # path is not listed in the libpath. Setting hardcode_minus_L 9708 # to unsupported forces relinking 9709 hardcode_minus_L=yes 9710 hardcode_libdir_flag_spec='-L$libdir' 9711 hardcode_libdir_separator= 9712 fi 9713 ;; 9714 esac 9715 shared_flag='-shared' 9716 if test "$aix_use_runtimelinking" = yes; then 9717 shared_flag="$shared_flag "'${wl}-G' 9718 fi 9719 else 9720 # not using gcc 9721 if test "$host_cpu" = ia64; then 9722 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9723 # chokes on -Wl,-G. The following line is correct: 9724 shared_flag='-G' 9725 else 9726 if test "$aix_use_runtimelinking" = yes; then 9727 shared_flag='${wl}-G' 9728 else 9729 shared_flag='${wl}-bM:SRE' 9730 fi 9731 fi 9732 fi 9733 9734 export_dynamic_flag_spec='${wl}-bexpall' 9735 # It seems that -bexpall does not export symbols beginning with 9736 # underscore (_), so it is better to generate a list of symbols to export. 9737 always_export_symbols=yes 9738 if test "$aix_use_runtimelinking" = yes; then 9739 # Warning - without using the other runtime loading flags (-brtl), 9740 # -berok will link without error, but may produce a broken library. 9741 allow_undefined_flag='-berok' 9742 # Determine the default libpath from the value encoded in an 9743 # empty executable. 9744 if test "${lt_cv_aix_libpath+set}" = set; then 9745 aix_libpath=$lt_cv_aix_libpath 9746else 9747 if ${lt_cv_aix_libpath_+:} false; then : 9748 $as_echo_n "(cached) " >&6 9749else 9750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9751/* end confdefs.h. */ 9752 9753int 9754main () 9755{ 9756 9757 ; 9758 return 0; 9759} 9760_ACEOF 9761if ac_fn_c_try_link "$LINENO"; then : 9762 9763 lt_aix_libpath_sed=' 9764 /Import File Strings/,/^$/ { 9765 /^0/ { 9766 s/^0 *\([^ ]*\) *$/\1/ 9767 p 9768 } 9769 }' 9770 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9771 # Check for a 64-bit object if we didn't find anything. 9772 if test -z "$lt_cv_aix_libpath_"; then 9773 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9774 fi 9775fi 9776rm -f core conftest.err conftest.$ac_objext \ 9777 conftest$ac_exeext conftest.$ac_ext 9778 if test -z "$lt_cv_aix_libpath_"; then 9779 lt_cv_aix_libpath_="/usr/lib:/lib" 9780 fi 9781 9782fi 9783 9784 aix_libpath=$lt_cv_aix_libpath_ 9785fi 9786 9787 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9788 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 9789 else 9790 if test "$host_cpu" = ia64; then 9791 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 9792 allow_undefined_flag="-z nodefs" 9793 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" 9794 else 9795 # Determine the default libpath from the value encoded in an 9796 # empty executable. 9797 if test "${lt_cv_aix_libpath+set}" = set; then 9798 aix_libpath=$lt_cv_aix_libpath 9799else 9800 if ${lt_cv_aix_libpath_+:} false; then : 9801 $as_echo_n "(cached) " >&6 9802else 9803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9804/* end confdefs.h. */ 9805 9806int 9807main () 9808{ 9809 9810 ; 9811 return 0; 9812} 9813_ACEOF 9814if ac_fn_c_try_link "$LINENO"; then : 9815 9816 lt_aix_libpath_sed=' 9817 /Import File Strings/,/^$/ { 9818 /^0/ { 9819 s/^0 *\([^ ]*\) *$/\1/ 9820 p 9821 } 9822 }' 9823 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9824 # Check for a 64-bit object if we didn't find anything. 9825 if test -z "$lt_cv_aix_libpath_"; then 9826 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9827 fi 9828fi 9829rm -f core conftest.err conftest.$ac_objext \ 9830 conftest$ac_exeext conftest.$ac_ext 9831 if test -z "$lt_cv_aix_libpath_"; then 9832 lt_cv_aix_libpath_="/usr/lib:/lib" 9833 fi 9834 9835fi 9836 9837 aix_libpath=$lt_cv_aix_libpath_ 9838fi 9839 9840 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9841 # Warning - without using the other run time loading flags, 9842 # -berok will link without error, but may produce a broken library. 9843 no_undefined_flag=' ${wl}-bernotok' 9844 allow_undefined_flag=' ${wl}-berok' 9845 if test "$with_gnu_ld" = yes; then 9846 # We only use this code for GNU lds that support --whole-archive. 9847 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 9848 else 9849 # Exported symbols can be pulled into shared objects from archives 9850 whole_archive_flag_spec='$convenience' 9851 fi 9852 archive_cmds_need_lc=yes 9853 # This is similar to how AIX traditionally builds its shared libraries. 9854 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 9855 fi 9856 fi 9857 ;; 9858 9859 amigaos*) 9860 case $host_cpu in 9861 powerpc) 9862 # see comment about AmigaOS4 .so support 9863 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9864 archive_expsym_cmds='' 9865 ;; 9866 m68k) 9867 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)' 9868 hardcode_libdir_flag_spec='-L$libdir' 9869 hardcode_minus_L=yes 9870 ;; 9871 esac 9872 ;; 9873 9874 bsdi[45]*) 9875 export_dynamic_flag_spec=-rdynamic 9876 ;; 9877 9878 cygwin* | mingw* | pw32* | cegcc*) 9879 # When not using gcc, we currently assume that we are using 9880 # Microsoft Visual C++. 9881 # hardcode_libdir_flag_spec is actually meaningless, as there is 9882 # no search path for DLLs. 9883 case $cc_basename in 9884 cl*) 9885 # Native MSVC 9886 hardcode_libdir_flag_spec=' ' 9887 allow_undefined_flag=unsupported 9888 always_export_symbols=yes 9889 file_list_spec='@' 9890 # Tell ltmain to make .lib files, not .a files. 9891 libext=lib 9892 # Tell ltmain to make .dll files, not .so files. 9893 shrext_cmds=".dll" 9894 # FIXME: Setting linknames here is a bad hack. 9895 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 9896 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9897 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 9898 else 9899 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 9900 fi~ 9901 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9902 linknames=' 9903 # The linker will not automatically build a static lib if we build a DLL. 9904 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9905 enable_shared_with_static_runtimes=yes 9906 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 9907 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9908 # Don't use ranlib 9909 old_postinstall_cmds='chmod 644 $oldlib' 9910 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9911 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9912 case $lt_outputfile in 9913 *.exe|*.EXE) ;; 9914 *) 9915 lt_outputfile="$lt_outputfile.exe" 9916 lt_tool_outputfile="$lt_tool_outputfile.exe" 9917 ;; 9918 esac~ 9919 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 9920 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9921 $RM "$lt_outputfile.manifest"; 9922 fi' 9923 ;; 9924 *) 9925 # Assume MSVC wrapper 9926 hardcode_libdir_flag_spec=' ' 9927 allow_undefined_flag=unsupported 9928 # Tell ltmain to make .lib files, not .a files. 9929 libext=lib 9930 # Tell ltmain to make .dll files, not .so files. 9931 shrext_cmds=".dll" 9932 # FIXME: Setting linknames here is a bad hack. 9933 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9934 # The linker will automatically build a .lib file if we build a DLL. 9935 old_archive_from_new_cmds='true' 9936 # FIXME: Should let the user specify the lib program. 9937 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9938 enable_shared_with_static_runtimes=yes 9939 ;; 9940 esac 9941 ;; 9942 9943 darwin* | rhapsody*) 9944 9945 9946 archive_cmds_need_lc=no 9947 hardcode_direct=no 9948 hardcode_automatic=yes 9949 hardcode_shlibpath_var=unsupported 9950 if test "$lt_cv_ld_force_load" = "yes"; then 9951 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\"`' 9952 9953 else 9954 whole_archive_flag_spec='' 9955 fi 9956 link_all_deplibs=yes 9957 allow_undefined_flag="$_lt_dar_allow_undefined" 9958 case $cc_basename in 9959 ifort*) _lt_dar_can_shared=yes ;; 9960 *) _lt_dar_can_shared=$GCC ;; 9961 esac 9962 if test "$_lt_dar_can_shared" = "yes"; then 9963 output_verbose_link_cmd=func_echo_all 9964 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 9965 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 9966 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}" 9967 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}" 9968 9969 else 9970 ld_shlibs=no 9971 fi 9972 9973 ;; 9974 9975 dgux*) 9976 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9977 hardcode_libdir_flag_spec='-L$libdir' 9978 hardcode_shlibpath_var=no 9979 ;; 9980 9981 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9982 # support. Future versions do this automatically, but an explicit c++rt0.o 9983 # does not break anything, and helps significantly (at the cost of a little 9984 # extra space). 9985 freebsd2.2*) 9986 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9987 hardcode_libdir_flag_spec='-R$libdir' 9988 hardcode_direct=yes 9989 hardcode_shlibpath_var=no 9990 ;; 9991 9992 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9993 freebsd2.*) 9994 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9995 hardcode_direct=yes 9996 hardcode_minus_L=yes 9997 hardcode_shlibpath_var=no 9998 ;; 9999 10000 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10001 freebsd* | dragonfly*) 10002 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10003 hardcode_libdir_flag_spec='-R$libdir' 10004 hardcode_direct=yes 10005 hardcode_shlibpath_var=no 10006 ;; 10007 10008 hpux9*) 10009 if test "$GCC" = yes; then 10010 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 10011 else 10012 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 10013 fi 10014 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10015 hardcode_libdir_separator=: 10016 hardcode_direct=yes 10017 10018 # hardcode_minus_L: Not really in the search PATH, 10019 # but as the default location of the library. 10020 hardcode_minus_L=yes 10021 export_dynamic_flag_spec='${wl}-E' 10022 ;; 10023 10024 hpux10*) 10025 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 10026 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10027 else 10028 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10029 fi 10030 if test "$with_gnu_ld" = no; then 10031 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10032 hardcode_libdir_separator=: 10033 hardcode_direct=yes 10034 hardcode_direct_absolute=yes 10035 export_dynamic_flag_spec='${wl}-E' 10036 # hardcode_minus_L: Not really in the search PATH, 10037 # but as the default location of the library. 10038 hardcode_minus_L=yes 10039 fi 10040 ;; 10041 10042 hpux11*) 10043 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 10044 case $host_cpu in 10045 hppa*64*) 10046 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10047 ;; 10048 ia64*) 10049 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10050 ;; 10051 *) 10052 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10053 ;; 10054 esac 10055 else 10056 case $host_cpu in 10057 hppa*64*) 10058 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10059 ;; 10060 ia64*) 10061 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10062 ;; 10063 *) 10064 10065 # Older versions of the 11.00 compiler do not understand -b yet 10066 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 10067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 10068$as_echo_n "checking if $CC understands -b... " >&6; } 10069if ${lt_cv_prog_compiler__b+:} false; then : 10070 $as_echo_n "(cached) " >&6 10071else 10072 lt_cv_prog_compiler__b=no 10073 save_LDFLAGS="$LDFLAGS" 10074 LDFLAGS="$LDFLAGS -b" 10075 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10076 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10077 # The linker can only warn and ignore the option if not recognized 10078 # So say no if there are warnings 10079 if test -s conftest.err; then 10080 # Append any errors to the config.log. 10081 cat conftest.err 1>&5 10082 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10083 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10084 if diff conftest.exp conftest.er2 >/dev/null; then 10085 lt_cv_prog_compiler__b=yes 10086 fi 10087 else 10088 lt_cv_prog_compiler__b=yes 10089 fi 10090 fi 10091 $RM -r conftest* 10092 LDFLAGS="$save_LDFLAGS" 10093 10094fi 10095{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 10096$as_echo "$lt_cv_prog_compiler__b" >&6; } 10097 10098if test x"$lt_cv_prog_compiler__b" = xyes; then 10099 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10100else 10101 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10102fi 10103 10104 ;; 10105 esac 10106 fi 10107 if test "$with_gnu_ld" = no; then 10108 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10109 hardcode_libdir_separator=: 10110 10111 case $host_cpu in 10112 hppa*64*|ia64*) 10113 hardcode_direct=no 10114 hardcode_shlibpath_var=no 10115 ;; 10116 *) 10117 hardcode_direct=yes 10118 hardcode_direct_absolute=yes 10119 export_dynamic_flag_spec='${wl}-E' 10120 10121 # hardcode_minus_L: Not really in the search PATH, 10122 # but as the default location of the library. 10123 hardcode_minus_L=yes 10124 ;; 10125 esac 10126 fi 10127 ;; 10128 10129 irix5* | irix6* | nonstopux*) 10130 if test "$GCC" = yes; then 10131 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' 10132 # Try to use the -exported_symbol ld option, if it does not 10133 # work, assume that -exports_file does not work either and 10134 # implicitly export all symbols. 10135 # This should be the same for all languages, so no per-tag cache variable. 10136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 10137$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 10138if ${lt_cv_irix_exported_symbol+:} false; then : 10139 $as_echo_n "(cached) " >&6 10140else 10141 save_LDFLAGS="$LDFLAGS" 10142 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 10143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10144/* end confdefs.h. */ 10145int foo (void) { return 0; } 10146_ACEOF 10147if ac_fn_c_try_link "$LINENO"; then : 10148 lt_cv_irix_exported_symbol=yes 10149else 10150 lt_cv_irix_exported_symbol=no 10151fi 10152rm -f core conftest.err conftest.$ac_objext \ 10153 conftest$ac_exeext conftest.$ac_ext 10154 LDFLAGS="$save_LDFLAGS" 10155fi 10156{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10157$as_echo "$lt_cv_irix_exported_symbol" >&6; } 10158 if test "$lt_cv_irix_exported_symbol" = yes; then 10159 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' 10160 fi 10161 else 10162 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' 10163 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' 10164 fi 10165 archive_cmds_need_lc='no' 10166 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10167 hardcode_libdir_separator=: 10168 inherit_rpath=yes 10169 link_all_deplibs=yes 10170 ;; 10171 10172 netbsd*) 10173 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10174 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10175 else 10176 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10177 fi 10178 hardcode_libdir_flag_spec='-R$libdir' 10179 hardcode_direct=yes 10180 hardcode_shlibpath_var=no 10181 ;; 10182 10183 newsos6) 10184 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10185 hardcode_direct=yes 10186 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10187 hardcode_libdir_separator=: 10188 hardcode_shlibpath_var=no 10189 ;; 10190 10191 *nto* | *qnx*) 10192 ;; 10193 10194 openbsd*) 10195 if test -f /usr/libexec/ld.so; then 10196 hardcode_direct=yes 10197 hardcode_shlibpath_var=no 10198 hardcode_direct_absolute=yes 10199 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10200 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10201 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 10202 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10203 export_dynamic_flag_spec='${wl}-E' 10204 else 10205 case $host_os in 10206 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 10207 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10208 hardcode_libdir_flag_spec='-R$libdir' 10209 ;; 10210 *) 10211 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10212 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10213 ;; 10214 esac 10215 fi 10216 else 10217 ld_shlibs=no 10218 fi 10219 ;; 10220 10221 os2*) 10222 hardcode_libdir_flag_spec='-L$libdir' 10223 hardcode_minus_L=yes 10224 allow_undefined_flag=unsupported 10225 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' 10226 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 10227 ;; 10228 10229 osf3*) 10230 if test "$GCC" = yes; then 10231 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10232 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' 10233 else 10234 allow_undefined_flag=' -expect_unresolved \*' 10235 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' 10236 fi 10237 archive_cmds_need_lc='no' 10238 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10239 hardcode_libdir_separator=: 10240 ;; 10241 10242 osf4* | osf5*) # as osf3* with the addition of -msym flag 10243 if test "$GCC" = yes; then 10244 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10245 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' 10246 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10247 else 10248 allow_undefined_flag=' -expect_unresolved \*' 10249 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' 10250 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~ 10251 $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' 10252 10253 # Both c and cxx compiler support -rpath directly 10254 hardcode_libdir_flag_spec='-rpath $libdir' 10255 fi 10256 archive_cmds_need_lc='no' 10257 hardcode_libdir_separator=: 10258 ;; 10259 10260 solaris*) 10261 no_undefined_flag=' -z defs' 10262 if test "$GCC" = yes; then 10263 wlarc='${wl}' 10264 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10265 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10266 $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' 10267 else 10268 case `$CC -V 2>&1` in 10269 *"Compilers 5.0"*) 10270 wlarc='' 10271 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 10272 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10273 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10274 ;; 10275 *) 10276 wlarc='${wl}' 10277 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10278 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10279 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10280 ;; 10281 esac 10282 fi 10283 hardcode_libdir_flag_spec='-R$libdir' 10284 hardcode_shlibpath_var=no 10285 case $host_os in 10286 solaris2.[0-5] | solaris2.[0-5].*) ;; 10287 *) 10288 # The compiler driver will combine and reorder linker options, 10289 # but understands `-z linker_flag'. GCC discards it without `$wl', 10290 # but is careful enough not to reorder. 10291 # Supported since Solaris 2.6 (maybe 2.5.1?) 10292 if test "$GCC" = yes; then 10293 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 10294 else 10295 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10296 fi 10297 ;; 10298 esac 10299 link_all_deplibs=yes 10300 ;; 10301 10302 sunos4*) 10303 if test "x$host_vendor" = xsequent; then 10304 # Use $CC to link under sequent, because it throws in some extra .o 10305 # files that make .init and .fini sections work. 10306 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10307 else 10308 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10309 fi 10310 hardcode_libdir_flag_spec='-L$libdir' 10311 hardcode_direct=yes 10312 hardcode_minus_L=yes 10313 hardcode_shlibpath_var=no 10314 ;; 10315 10316 sysv4) 10317 case $host_vendor in 10318 sni) 10319 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10320 hardcode_direct=yes # is this really true??? 10321 ;; 10322 siemens) 10323 ## LD is ld it makes a PLAMLIB 10324 ## CC just makes a GrossModule. 10325 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10326 reload_cmds='$CC -r -o $output$reload_objs' 10327 hardcode_direct=no 10328 ;; 10329 motorola) 10330 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10331 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10332 ;; 10333 esac 10334 runpath_var='LD_RUN_PATH' 10335 hardcode_shlibpath_var=no 10336 ;; 10337 10338 sysv4.3*) 10339 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10340 hardcode_shlibpath_var=no 10341 export_dynamic_flag_spec='-Bexport' 10342 ;; 10343 10344 sysv4*MP*) 10345 if test -d /usr/nec; then 10346 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10347 hardcode_shlibpath_var=no 10348 runpath_var=LD_RUN_PATH 10349 hardcode_runpath_var=yes 10350 ld_shlibs=yes 10351 fi 10352 ;; 10353 10354 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10355 no_undefined_flag='${wl}-z,text' 10356 archive_cmds_need_lc=no 10357 hardcode_shlibpath_var=no 10358 runpath_var='LD_RUN_PATH' 10359 10360 if test "$GCC" = yes; then 10361 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10362 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10363 else 10364 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10365 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10366 fi 10367 ;; 10368 10369 sysv5* | sco3.2v5* | sco5v6*) 10370 # Note: We can NOT use -z defs as we might desire, because we do not 10371 # link with -lc, and that would cause any symbols used from libc to 10372 # always be unresolved, which means just about no library would 10373 # ever link correctly. If we're not using GNU ld we use -z text 10374 # though, which does catch some bad symbols but isn't as heavy-handed 10375 # as -z defs. 10376 no_undefined_flag='${wl}-z,text' 10377 allow_undefined_flag='${wl}-z,nodefs' 10378 archive_cmds_need_lc=no 10379 hardcode_shlibpath_var=no 10380 hardcode_libdir_flag_spec='${wl}-R,$libdir' 10381 hardcode_libdir_separator=':' 10382 link_all_deplibs=yes 10383 export_dynamic_flag_spec='${wl}-Bexport' 10384 runpath_var='LD_RUN_PATH' 10385 10386 if test "$GCC" = yes; then 10387 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10388 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10389 else 10390 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10391 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10392 fi 10393 ;; 10394 10395 uts4*) 10396 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10397 hardcode_libdir_flag_spec='-L$libdir' 10398 hardcode_shlibpath_var=no 10399 ;; 10400 10401 *) 10402 ld_shlibs=no 10403 ;; 10404 esac 10405 10406 if test x$host_vendor = xsni; then 10407 case $host in 10408 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10409 export_dynamic_flag_spec='${wl}-Blargedynsym' 10410 ;; 10411 esac 10412 fi 10413 fi 10414 10415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10416$as_echo "$ld_shlibs" >&6; } 10417test "$ld_shlibs" = no && can_build_shared=no 10418 10419with_gnu_ld=$with_gnu_ld 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435# 10436# Do we need to explicitly link libc? 10437# 10438case "x$archive_cmds_need_lc" in 10439x|xyes) 10440 # Assume -lc should be added 10441 archive_cmds_need_lc=yes 10442 10443 if test "$enable_shared" = yes && test "$GCC" = yes; then 10444 case $archive_cmds in 10445 *'~'*) 10446 # FIXME: we may have to deal with multi-command sequences. 10447 ;; 10448 '$CC '*) 10449 # Test whether the compiler implicitly links with -lc since on some 10450 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10451 # to ld, don't add -lc before -lgcc. 10452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10453$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10454if ${lt_cv_archive_cmds_need_lc+:} false; then : 10455 $as_echo_n "(cached) " >&6 10456else 10457 $RM conftest* 10458 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10459 10460 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10461 (eval $ac_compile) 2>&5 10462 ac_status=$? 10463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10464 test $ac_status = 0; } 2>conftest.err; then 10465 soname=conftest 10466 lib=conftest 10467 libobjs=conftest.$ac_objext 10468 deplibs= 10469 wl=$lt_prog_compiler_wl 10470 pic_flag=$lt_prog_compiler_pic 10471 compiler_flags=-v 10472 linker_flags=-v 10473 verstring= 10474 output_objdir=. 10475 libname=conftest 10476 lt_save_allow_undefined_flag=$allow_undefined_flag 10477 allow_undefined_flag= 10478 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10479 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10480 ac_status=$? 10481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10482 test $ac_status = 0; } 10483 then 10484 lt_cv_archive_cmds_need_lc=no 10485 else 10486 lt_cv_archive_cmds_need_lc=yes 10487 fi 10488 allow_undefined_flag=$lt_save_allow_undefined_flag 10489 else 10490 cat conftest.err 1>&5 10491 fi 10492 $RM conftest* 10493 10494fi 10495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10496$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10497 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10498 ;; 10499 esac 10500 fi 10501 ;; 10502esac 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10656$as_echo_n "checking dynamic linker characteristics... " >&6; } 10657 10658if test "$GCC" = yes; then 10659 case $host_os in 10660 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 10661 *) lt_awk_arg="/^libraries:/" ;; 10662 esac 10663 case $host_os in 10664 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 10665 *) lt_sed_strip_eq="s,=/,/,g" ;; 10666 esac 10667 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10668 case $lt_search_path_spec in 10669 *\;*) 10670 # if the path contains ";" then we assume it to be the separator 10671 # otherwise default to the standard path separator (i.e. ":") - it is 10672 # assumed that no part of a normal pathname contains ";" but that should 10673 # okay in the real world where ";" in dirpaths is itself problematic. 10674 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10675 ;; 10676 *) 10677 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10678 ;; 10679 esac 10680 # Ok, now we have the path, separated by spaces, we can step through it 10681 # and add multilib dir if necessary. 10682 lt_tmp_lt_search_path_spec= 10683 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10684 for lt_sys_path in $lt_search_path_spec; do 10685 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 10686 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 10687 else 10688 test -d "$lt_sys_path" && \ 10689 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10690 fi 10691 done 10692 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10693BEGIN {RS=" "; FS="/|\n";} { 10694 lt_foo=""; 10695 lt_count=0; 10696 for (lt_i = NF; lt_i > 0; lt_i--) { 10697 if ($lt_i != "" && $lt_i != ".") { 10698 if ($lt_i == "..") { 10699 lt_count++; 10700 } else { 10701 if (lt_count == 0) { 10702 lt_foo="/" $lt_i lt_foo; 10703 } else { 10704 lt_count--; 10705 } 10706 } 10707 } 10708 } 10709 if (lt_foo != "") { lt_freq[lt_foo]++; } 10710 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10711}'` 10712 # AWK program above erroneously prepends '/' to C:/dos/paths 10713 # for these hosts. 10714 case $host_os in 10715 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10716 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 10717 esac 10718 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10719else 10720 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10721fi 10722library_names_spec= 10723libname_spec='lib$name' 10724soname_spec= 10725shrext_cmds=".so" 10726postinstall_cmds= 10727postuninstall_cmds= 10728finish_cmds= 10729finish_eval= 10730shlibpath_var= 10731shlibpath_overrides_runpath=unknown 10732version_type=none 10733dynamic_linker="$host_os ld.so" 10734sys_lib_dlsearch_path_spec="/lib /usr/lib" 10735need_lib_prefix=unknown 10736hardcode_into_libs=no 10737 10738# when you set need_version to no, make sure it does not cause -set_version 10739# flags to be left without arguments 10740need_version=unknown 10741 10742case $host_os in 10743aix3*) 10744 version_type=linux # correct to gnu/linux during the next big refactor 10745 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 10746 shlibpath_var=LIBPATH 10747 10748 # AIX 3 has no versioning support, so we append a major version to the name. 10749 soname_spec='${libname}${release}${shared_ext}$major' 10750 ;; 10751 10752aix[4-9]*) 10753 version_type=linux # correct to gnu/linux during the next big refactor 10754 need_lib_prefix=no 10755 need_version=no 10756 hardcode_into_libs=yes 10757 if test "$host_cpu" = ia64; then 10758 # AIX 5 supports IA64 10759 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 10760 shlibpath_var=LD_LIBRARY_PATH 10761 else 10762 # With GCC up to 2.95.x, collect2 would create an import file 10763 # for dependence libraries. The import file would start with 10764 # the line `#! .'. This would cause the generated library to 10765 # depend on `.', always an invalid library. This was fixed in 10766 # development snapshots of GCC prior to 3.0. 10767 case $host_os in 10768 aix4 | aix4.[01] | aix4.[01].*) 10769 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10770 echo ' yes ' 10771 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 10772 : 10773 else 10774 can_build_shared=no 10775 fi 10776 ;; 10777 esac 10778 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 10779 # soname into executable. Probably we can add versioning support to 10780 # collect2, so additional links can be useful in future. 10781 if test "$aix_use_runtimelinking" = yes; then 10782 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10783 # instead of lib<name>.a to let people know that these are not 10784 # typical AIX shared libraries. 10785 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10786 else 10787 # We preserve .a as extension for shared libraries through AIX4.2 10788 # and later when we are not doing run time linking. 10789 library_names_spec='${libname}${release}.a $libname.a' 10790 soname_spec='${libname}${release}${shared_ext}$major' 10791 fi 10792 shlibpath_var=LIBPATH 10793 fi 10794 ;; 10795 10796amigaos*) 10797 case $host_cpu in 10798 powerpc) 10799 # Since July 2007 AmigaOS4 officially supports .so libraries. 10800 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10801 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10802 ;; 10803 m68k) 10804 library_names_spec='$libname.ixlibrary $libname.a' 10805 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10806 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 10807 ;; 10808 esac 10809 ;; 10810 10811beos*) 10812 library_names_spec='${libname}${shared_ext}' 10813 dynamic_linker="$host_os ld.so" 10814 shlibpath_var=LIBRARY_PATH 10815 ;; 10816 10817bsdi[45]*) 10818 version_type=linux # correct to gnu/linux during the next big refactor 10819 need_version=no 10820 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10821 soname_spec='${libname}${release}${shared_ext}$major' 10822 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10823 shlibpath_var=LD_LIBRARY_PATH 10824 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10825 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10826 # the default ld.so.conf also contains /usr/contrib/lib and 10827 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10828 # libtool to hard-code these into programs 10829 ;; 10830 10831cygwin* | mingw* | pw32* | cegcc*) 10832 version_type=windows 10833 shrext_cmds=".dll" 10834 need_version=no 10835 need_lib_prefix=no 10836 10837 case $GCC,$cc_basename in 10838 yes,*) 10839 # gcc 10840 library_names_spec='$libname.dll.a' 10841 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10842 postinstall_cmds='base_file=`basename \${file}`~ 10843 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10844 dldir=$destdir/`dirname \$dlpath`~ 10845 test -d \$dldir || mkdir -p \$dldir~ 10846 $install_prog $dir/$dlname \$dldir/$dlname~ 10847 chmod a+x \$dldir/$dlname~ 10848 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10849 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10850 fi' 10851 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10852 dlpath=$dir/\$dldll~ 10853 $RM \$dlpath' 10854 shlibpath_overrides_runpath=yes 10855 10856 case $host_os in 10857 cygwin*) 10858 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10859 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10860 10861 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10862 ;; 10863 mingw* | cegcc*) 10864 # MinGW DLLs use traditional 'lib' prefix 10865 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10866 ;; 10867 pw32*) 10868 # pw32 DLLs use 'pw' prefix rather than 'lib' 10869 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10870 ;; 10871 esac 10872 dynamic_linker='Win32 ld.exe' 10873 ;; 10874 10875 *,cl*) 10876 # Native MSVC 10877 libname_spec='$name' 10878 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10879 library_names_spec='${libname}.dll.lib' 10880 10881 case $build_os in 10882 mingw*) 10883 sys_lib_search_path_spec= 10884 lt_save_ifs=$IFS 10885 IFS=';' 10886 for lt_path in $LIB 10887 do 10888 IFS=$lt_save_ifs 10889 # Let DOS variable expansion print the short 8.3 style file name. 10890 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10891 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10892 done 10893 IFS=$lt_save_ifs 10894 # Convert to MSYS style. 10895 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10896 ;; 10897 cygwin*) 10898 # Convert to unix form, then to dos form, then back to unix form 10899 # but this time dos style (no spaces!) so that the unix form looks 10900 # like /cygdrive/c/PROGRA~1:/cygdr... 10901 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10902 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10903 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10904 ;; 10905 *) 10906 sys_lib_search_path_spec="$LIB" 10907 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10908 # It is most probably a Windows format PATH. 10909 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10910 else 10911 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10912 fi 10913 # FIXME: find the short name or the path components, as spaces are 10914 # common. (e.g. "Program Files" -> "PROGRA~1") 10915 ;; 10916 esac 10917 10918 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10919 postinstall_cmds='base_file=`basename \${file}`~ 10920 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10921 dldir=$destdir/`dirname \$dlpath`~ 10922 test -d \$dldir || mkdir -p \$dldir~ 10923 $install_prog $dir/$dlname \$dldir/$dlname' 10924 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10925 dlpath=$dir/\$dldll~ 10926 $RM \$dlpath' 10927 shlibpath_overrides_runpath=yes 10928 dynamic_linker='Win32 link.exe' 10929 ;; 10930 10931 *) 10932 # Assume MSVC wrapper 10933 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 10934 dynamic_linker='Win32 ld.exe' 10935 ;; 10936 esac 10937 # FIXME: first we should search . and the directory the executable is in 10938 shlibpath_var=PATH 10939 ;; 10940 10941darwin* | rhapsody*) 10942 dynamic_linker="$host_os dyld" 10943 version_type=darwin 10944 need_lib_prefix=no 10945 need_version=no 10946 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 10947 soname_spec='${libname}${release}${major}$shared_ext' 10948 shlibpath_overrides_runpath=yes 10949 shlibpath_var=DYLD_LIBRARY_PATH 10950 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10951 10952 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10953 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10954 ;; 10955 10956dgux*) 10957 version_type=linux # correct to gnu/linux during the next big refactor 10958 need_lib_prefix=no 10959 need_version=no 10960 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 10961 soname_spec='${libname}${release}${shared_ext}$major' 10962 shlibpath_var=LD_LIBRARY_PATH 10963 ;; 10964 10965freebsd* | dragonfly*) 10966 # DragonFly does not have aout. When/if they implement a new 10967 # versioning mechanism, adjust this. 10968 if test -x /usr/bin/objformat; then 10969 objformat=`/usr/bin/objformat` 10970 else 10971 case $host_os in 10972 freebsd[23].*) objformat=aout ;; 10973 *) objformat=elf ;; 10974 esac 10975 fi 10976 version_type=freebsd-$objformat 10977 case $version_type in 10978 freebsd-elf*) 10979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10980 need_version=no 10981 need_lib_prefix=no 10982 ;; 10983 freebsd-*) 10984 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 10985 need_version=yes 10986 ;; 10987 esac 10988 shlibpath_var=LD_LIBRARY_PATH 10989 case $host_os in 10990 freebsd2.*) 10991 shlibpath_overrides_runpath=yes 10992 ;; 10993 freebsd3.[01]* | freebsdelf3.[01]*) 10994 shlibpath_overrides_runpath=yes 10995 hardcode_into_libs=yes 10996 ;; 10997 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10998 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10999 shlibpath_overrides_runpath=no 11000 hardcode_into_libs=yes 11001 ;; 11002 *) # from 4.6 on, and DragonFly 11003 shlibpath_overrides_runpath=yes 11004 hardcode_into_libs=yes 11005 ;; 11006 esac 11007 ;; 11008 11009gnu*) 11010 version_type=linux # correct to gnu/linux during the next big refactor 11011 need_lib_prefix=no 11012 need_version=no 11013 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 11014 soname_spec='${libname}${release}${shared_ext}$major' 11015 shlibpath_var=LD_LIBRARY_PATH 11016 shlibpath_overrides_runpath=no 11017 hardcode_into_libs=yes 11018 ;; 11019 11020haiku*) 11021 version_type=linux # correct to gnu/linux during the next big refactor 11022 need_lib_prefix=no 11023 need_version=no 11024 dynamic_linker="$host_os runtime_loader" 11025 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 11026 soname_spec='${libname}${release}${shared_ext}$major' 11027 shlibpath_var=LIBRARY_PATH 11028 shlibpath_overrides_runpath=yes 11029 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 11030 hardcode_into_libs=yes 11031 ;; 11032 11033hpux9* | hpux10* | hpux11*) 11034 # Give a soname corresponding to the major version so that dld.sl refuses to 11035 # link against other versions. 11036 version_type=sunos 11037 need_lib_prefix=no 11038 need_version=no 11039 case $host_cpu in 11040 ia64*) 11041 shrext_cmds='.so' 11042 hardcode_into_libs=yes 11043 dynamic_linker="$host_os dld.so" 11044 shlibpath_var=LD_LIBRARY_PATH 11045 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11046 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11047 soname_spec='${libname}${release}${shared_ext}$major' 11048 if test "X$HPUX_IA64_MODE" = X32; then 11049 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11050 else 11051 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11052 fi 11053 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11054 ;; 11055 hppa*64*) 11056 shrext_cmds='.sl' 11057 hardcode_into_libs=yes 11058 dynamic_linker="$host_os dld.sl" 11059 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11060 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11061 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11062 soname_spec='${libname}${release}${shared_ext}$major' 11063 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11064 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11065 ;; 11066 *) 11067 shrext_cmds='.sl' 11068 dynamic_linker="$host_os dld.sl" 11069 shlibpath_var=SHLIB_PATH 11070 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11072 soname_spec='${libname}${release}${shared_ext}$major' 11073 ;; 11074 esac 11075 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 11076 postinstall_cmds='chmod 555 $lib' 11077 # or fails outright, so override atomically: 11078 install_override_mode=555 11079 ;; 11080 11081interix[3-9]*) 11082 version_type=linux # correct to gnu/linux during the next big refactor 11083 need_lib_prefix=no 11084 need_version=no 11085 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11086 soname_spec='${libname}${release}${shared_ext}$major' 11087 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11088 shlibpath_var=LD_LIBRARY_PATH 11089 shlibpath_overrides_runpath=no 11090 hardcode_into_libs=yes 11091 ;; 11092 11093irix5* | irix6* | nonstopux*) 11094 case $host_os in 11095 nonstopux*) version_type=nonstopux ;; 11096 *) 11097 if test "$lt_cv_prog_gnu_ld" = yes; then 11098 version_type=linux # correct to gnu/linux during the next big refactor 11099 else 11100 version_type=irix 11101 fi ;; 11102 esac 11103 need_lib_prefix=no 11104 need_version=no 11105 soname_spec='${libname}${release}${shared_ext}$major' 11106 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 11107 case $host_os in 11108 irix5* | nonstopux*) 11109 libsuff= shlibsuff= 11110 ;; 11111 *) 11112 case $LD in # libtool.m4 will add one of these switches to LD 11113 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11114 libsuff= shlibsuff= libmagic=32-bit;; 11115 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11116 libsuff=32 shlibsuff=N32 libmagic=N32;; 11117 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11118 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11119 *) libsuff= shlibsuff= libmagic=never-match;; 11120 esac 11121 ;; 11122 esac 11123 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11124 shlibpath_overrides_runpath=no 11125 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 11126 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 11127 hardcode_into_libs=yes 11128 ;; 11129 11130# No shared lib support for Linux oldld, aout, or coff. 11131linux*oldld* | linux*aout* | linux*coff*) 11132 dynamic_linker=no 11133 ;; 11134 11135# This must be glibc/ELF. 11136linux* | k*bsd*-gnu | kopensolaris*-gnu) 11137 version_type=linux # correct to gnu/linux during the next big refactor 11138 need_lib_prefix=no 11139 need_version=no 11140 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11141 soname_spec='${libname}${release}${shared_ext}$major' 11142 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11143 shlibpath_var=LD_LIBRARY_PATH 11144 shlibpath_overrides_runpath=no 11145 11146 # Some binutils ld are patched to set DT_RUNPATH 11147 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 11148 $as_echo_n "(cached) " >&6 11149else 11150 lt_cv_shlibpath_overrides_runpath=no 11151 save_LDFLAGS=$LDFLAGS 11152 save_libdir=$libdir 11153 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11154 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11156/* end confdefs.h. */ 11157 11158int 11159main () 11160{ 11161 11162 ; 11163 return 0; 11164} 11165_ACEOF 11166if ac_fn_c_try_link "$LINENO"; then : 11167 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11168 lt_cv_shlibpath_overrides_runpath=yes 11169fi 11170fi 11171rm -f core conftest.err conftest.$ac_objext \ 11172 conftest$ac_exeext conftest.$ac_ext 11173 LDFLAGS=$save_LDFLAGS 11174 libdir=$save_libdir 11175 11176fi 11177 11178 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11179 11180 # This implies no fast_install, which is unacceptable. 11181 # Some rework will be needed to allow for fast_install 11182 # before this can be enabled. 11183 hardcode_into_libs=yes 11184 11185 # Add ABI-specific directories to the system library path. 11186 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 11187 11188 # Append ld.so.conf contents to the search path 11189 if test -f /etc/ld.so.conf; then 11190 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' ' '` 11191 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 11192 11193 fi 11194 11195 # We used to test for /lib/ld.so.1 and disable shared libraries on 11196 # powerpc, because MkLinux only supported shared libraries with the 11197 # GNU dynamic linker. Since this was broken with cross compilers, 11198 # most powerpc-linux boxes support dynamic linking these days and 11199 # people can always --disable-shared, the test was removed, and we 11200 # assume the GNU/Linux dynamic linker is in use. 11201 dynamic_linker='GNU/Linux ld.so' 11202 ;; 11203 11204netbsd*) 11205 version_type=sunos 11206 need_lib_prefix=no 11207 need_version=no 11208 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11209 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11210 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11211 dynamic_linker='NetBSD (a.out) ld.so' 11212 else 11213 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11214 soname_spec='${libname}${release}${shared_ext}$major' 11215 dynamic_linker='NetBSD ld.elf_so' 11216 fi 11217 shlibpath_var=LD_LIBRARY_PATH 11218 shlibpath_overrides_runpath=yes 11219 hardcode_into_libs=yes 11220 ;; 11221 11222newsos6) 11223 version_type=linux # correct to gnu/linux during the next big refactor 11224 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11225 shlibpath_var=LD_LIBRARY_PATH 11226 shlibpath_overrides_runpath=yes 11227 ;; 11228 11229*nto* | *qnx*) 11230 version_type=qnx 11231 need_lib_prefix=no 11232 need_version=no 11233 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11234 soname_spec='${libname}${release}${shared_ext}$major' 11235 shlibpath_var=LD_LIBRARY_PATH 11236 shlibpath_overrides_runpath=no 11237 hardcode_into_libs=yes 11238 dynamic_linker='ldqnx.so' 11239 ;; 11240 11241openbsd*) 11242 version_type=sunos 11243 sys_lib_dlsearch_path_spec="/usr/lib" 11244 need_lib_prefix=no 11245 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 11246 case $host_os in 11247 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 11248 *) need_version=no ;; 11249 esac 11250 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11251 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11252 shlibpath_var=LD_LIBRARY_PATH 11253 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 11254 case $host_os in 11255 openbsd2.[89] | openbsd2.[89].*) 11256 shlibpath_overrides_runpath=no 11257 ;; 11258 *) 11259 shlibpath_overrides_runpath=yes 11260 ;; 11261 esac 11262 else 11263 shlibpath_overrides_runpath=yes 11264 fi 11265 ;; 11266 11267os2*) 11268 libname_spec='$name' 11269 shrext_cmds=".dll" 11270 need_lib_prefix=no 11271 library_names_spec='$libname${shared_ext} $libname.a' 11272 dynamic_linker='OS/2 ld.exe' 11273 shlibpath_var=LIBPATH 11274 ;; 11275 11276osf3* | osf4* | osf5*) 11277 version_type=osf 11278 need_lib_prefix=no 11279 need_version=no 11280 soname_spec='${libname}${release}${shared_ext}$major' 11281 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11282 shlibpath_var=LD_LIBRARY_PATH 11283 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11284 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 11285 ;; 11286 11287rdos*) 11288 dynamic_linker=no 11289 ;; 11290 11291solaris*) 11292 version_type=linux # correct to gnu/linux during the next big refactor 11293 need_lib_prefix=no 11294 need_version=no 11295 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11296 soname_spec='${libname}${release}${shared_ext}$major' 11297 shlibpath_var=LD_LIBRARY_PATH 11298 shlibpath_overrides_runpath=yes 11299 hardcode_into_libs=yes 11300 # ldd complains unless libraries are executable 11301 postinstall_cmds='chmod +x $lib' 11302 ;; 11303 11304sunos4*) 11305 version_type=sunos 11306 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11307 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11308 shlibpath_var=LD_LIBRARY_PATH 11309 shlibpath_overrides_runpath=yes 11310 if test "$with_gnu_ld" = yes; then 11311 need_lib_prefix=no 11312 fi 11313 need_version=yes 11314 ;; 11315 11316sysv4 | sysv4.3*) 11317 version_type=linux # correct to gnu/linux during the next big refactor 11318 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11319 soname_spec='${libname}${release}${shared_ext}$major' 11320 shlibpath_var=LD_LIBRARY_PATH 11321 case $host_vendor in 11322 sni) 11323 shlibpath_overrides_runpath=no 11324 need_lib_prefix=no 11325 runpath_var=LD_RUN_PATH 11326 ;; 11327 siemens) 11328 need_lib_prefix=no 11329 ;; 11330 motorola) 11331 need_lib_prefix=no 11332 need_version=no 11333 shlibpath_overrides_runpath=no 11334 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11335 ;; 11336 esac 11337 ;; 11338 11339sysv4*MP*) 11340 if test -d /usr/nec ;then 11341 version_type=linux # correct to gnu/linux during the next big refactor 11342 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 11343 soname_spec='$libname${shared_ext}.$major' 11344 shlibpath_var=LD_LIBRARY_PATH 11345 fi 11346 ;; 11347 11348sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11349 version_type=freebsd-elf 11350 need_lib_prefix=no 11351 need_version=no 11352 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 11353 soname_spec='${libname}${release}${shared_ext}$major' 11354 shlibpath_var=LD_LIBRARY_PATH 11355 shlibpath_overrides_runpath=yes 11356 hardcode_into_libs=yes 11357 if test "$with_gnu_ld" = yes; then 11358 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11359 else 11360 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11361 case $host_os in 11362 sco3.2v5*) 11363 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11364 ;; 11365 esac 11366 fi 11367 sys_lib_dlsearch_path_spec='/usr/lib' 11368 ;; 11369 11370tpf*) 11371 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11372 version_type=linux # correct to gnu/linux during the next big refactor 11373 need_lib_prefix=no 11374 need_version=no 11375 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11376 shlibpath_var=LD_LIBRARY_PATH 11377 shlibpath_overrides_runpath=no 11378 hardcode_into_libs=yes 11379 ;; 11380 11381uts4*) 11382 version_type=linux # correct to gnu/linux during the next big refactor 11383 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11384 soname_spec='${libname}${release}${shared_ext}$major' 11385 shlibpath_var=LD_LIBRARY_PATH 11386 ;; 11387 11388*) 11389 dynamic_linker=no 11390 ;; 11391esac 11392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11393$as_echo "$dynamic_linker" >&6; } 11394test "$dynamic_linker" = no && can_build_shared=no 11395 11396variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11397if test "$GCC" = yes; then 11398 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11399fi 11400 11401if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 11402 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 11403fi 11404if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 11405 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 11406fi 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11500$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11501hardcode_action= 11502if test -n "$hardcode_libdir_flag_spec" || 11503 test -n "$runpath_var" || 11504 test "X$hardcode_automatic" = "Xyes" ; then 11505 11506 # We can hardcode non-existent directories. 11507 if test "$hardcode_direct" != no && 11508 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11509 # have to relink, otherwise we might link with an installed library 11510 # when we should be linking with a yet-to-be-installed one 11511 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 11512 test "$hardcode_minus_L" != no; then 11513 # Linking always hardcodes the temporary library directory. 11514 hardcode_action=relink 11515 else 11516 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11517 hardcode_action=immediate 11518 fi 11519else 11520 # We cannot hardcode anything, or else we can only hardcode existing 11521 # directories. 11522 hardcode_action=unsupported 11523fi 11524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11525$as_echo "$hardcode_action" >&6; } 11526 11527if test "$hardcode_action" = relink || 11528 test "$inherit_rpath" = yes; then 11529 # Fast installation is not supported 11530 enable_fast_install=no 11531elif test "$shlibpath_overrides_runpath" = yes || 11532 test "$enable_shared" = no; then 11533 # Fast installation is not necessary 11534 enable_fast_install=needless 11535fi 11536 11537 11538 11539 11540 11541 11542 if test "x$enable_dlopen" != xyes; then 11543 enable_dlopen=unknown 11544 enable_dlopen_self=unknown 11545 enable_dlopen_self_static=unknown 11546else 11547 lt_cv_dlopen=no 11548 lt_cv_dlopen_libs= 11549 11550 case $host_os in 11551 beos*) 11552 lt_cv_dlopen="load_add_on" 11553 lt_cv_dlopen_libs= 11554 lt_cv_dlopen_self=yes 11555 ;; 11556 11557 mingw* | pw32* | cegcc*) 11558 lt_cv_dlopen="LoadLibrary" 11559 lt_cv_dlopen_libs= 11560 ;; 11561 11562 cygwin*) 11563 lt_cv_dlopen="dlopen" 11564 lt_cv_dlopen_libs= 11565 ;; 11566 11567 darwin*) 11568 # if libdl is installed we need to link against it 11569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11570$as_echo_n "checking for dlopen in -ldl... " >&6; } 11571if ${ac_cv_lib_dl_dlopen+:} false; then : 11572 $as_echo_n "(cached) " >&6 11573else 11574 ac_check_lib_save_LIBS=$LIBS 11575LIBS="-ldl $LIBS" 11576cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11577/* end confdefs.h. */ 11578 11579/* Override any GCC internal prototype to avoid an error. 11580 Use char because int might match the return type of a GCC 11581 builtin and then its argument prototype would still apply. */ 11582#ifdef __cplusplus 11583extern "C" 11584#endif 11585char dlopen (); 11586int 11587main () 11588{ 11589return dlopen (); 11590 ; 11591 return 0; 11592} 11593_ACEOF 11594if ac_fn_c_try_link "$LINENO"; then : 11595 ac_cv_lib_dl_dlopen=yes 11596else 11597 ac_cv_lib_dl_dlopen=no 11598fi 11599rm -f core conftest.err conftest.$ac_objext \ 11600 conftest$ac_exeext conftest.$ac_ext 11601LIBS=$ac_check_lib_save_LIBS 11602fi 11603{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11604$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11605if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11606 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11607else 11608 11609 lt_cv_dlopen="dyld" 11610 lt_cv_dlopen_libs= 11611 lt_cv_dlopen_self=yes 11612 11613fi 11614 11615 ;; 11616 11617 *) 11618 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11619if test "x$ac_cv_func_shl_load" = xyes; then : 11620 lt_cv_dlopen="shl_load" 11621else 11622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11623$as_echo_n "checking for shl_load in -ldld... " >&6; } 11624if ${ac_cv_lib_dld_shl_load+:} false; then : 11625 $as_echo_n "(cached) " >&6 11626else 11627 ac_check_lib_save_LIBS=$LIBS 11628LIBS="-ldld $LIBS" 11629cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11630/* end confdefs.h. */ 11631 11632/* Override any GCC internal prototype to avoid an error. 11633 Use char because int might match the return type of a GCC 11634 builtin and then its argument prototype would still apply. */ 11635#ifdef __cplusplus 11636extern "C" 11637#endif 11638char shl_load (); 11639int 11640main () 11641{ 11642return shl_load (); 11643 ; 11644 return 0; 11645} 11646_ACEOF 11647if ac_fn_c_try_link "$LINENO"; then : 11648 ac_cv_lib_dld_shl_load=yes 11649else 11650 ac_cv_lib_dld_shl_load=no 11651fi 11652rm -f core conftest.err conftest.$ac_objext \ 11653 conftest$ac_exeext conftest.$ac_ext 11654LIBS=$ac_check_lib_save_LIBS 11655fi 11656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11657$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11658if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11659 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 11660else 11661 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11662if test "x$ac_cv_func_dlopen" = xyes; then : 11663 lt_cv_dlopen="dlopen" 11664else 11665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11666$as_echo_n "checking for dlopen in -ldl... " >&6; } 11667if ${ac_cv_lib_dl_dlopen+:} false; then : 11668 $as_echo_n "(cached) " >&6 11669else 11670 ac_check_lib_save_LIBS=$LIBS 11671LIBS="-ldl $LIBS" 11672cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11673/* end confdefs.h. */ 11674 11675/* Override any GCC internal prototype to avoid an error. 11676 Use char because int might match the return type of a GCC 11677 builtin and then its argument prototype would still apply. */ 11678#ifdef __cplusplus 11679extern "C" 11680#endif 11681char dlopen (); 11682int 11683main () 11684{ 11685return dlopen (); 11686 ; 11687 return 0; 11688} 11689_ACEOF 11690if ac_fn_c_try_link "$LINENO"; then : 11691 ac_cv_lib_dl_dlopen=yes 11692else 11693 ac_cv_lib_dl_dlopen=no 11694fi 11695rm -f core conftest.err conftest.$ac_objext \ 11696 conftest$ac_exeext conftest.$ac_ext 11697LIBS=$ac_check_lib_save_LIBS 11698fi 11699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11700$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11701if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11702 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11703else 11704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11705$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11706if ${ac_cv_lib_svld_dlopen+:} false; then : 11707 $as_echo_n "(cached) " >&6 11708else 11709 ac_check_lib_save_LIBS=$LIBS 11710LIBS="-lsvld $LIBS" 11711cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11712/* end confdefs.h. */ 11713 11714/* Override any GCC internal prototype to avoid an error. 11715 Use char because int might match the return type of a GCC 11716 builtin and then its argument prototype would still apply. */ 11717#ifdef __cplusplus 11718extern "C" 11719#endif 11720char dlopen (); 11721int 11722main () 11723{ 11724return dlopen (); 11725 ; 11726 return 0; 11727} 11728_ACEOF 11729if ac_fn_c_try_link "$LINENO"; then : 11730 ac_cv_lib_svld_dlopen=yes 11731else 11732 ac_cv_lib_svld_dlopen=no 11733fi 11734rm -f core conftest.err conftest.$ac_objext \ 11735 conftest$ac_exeext conftest.$ac_ext 11736LIBS=$ac_check_lib_save_LIBS 11737fi 11738{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11739$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11740if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11741 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 11742else 11743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11744$as_echo_n "checking for dld_link in -ldld... " >&6; } 11745if ${ac_cv_lib_dld_dld_link+:} false; then : 11746 $as_echo_n "(cached) " >&6 11747else 11748 ac_check_lib_save_LIBS=$LIBS 11749LIBS="-ldld $LIBS" 11750cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11751/* end confdefs.h. */ 11752 11753/* Override any GCC internal prototype to avoid an error. 11754 Use char because int might match the return type of a GCC 11755 builtin and then its argument prototype would still apply. */ 11756#ifdef __cplusplus 11757extern "C" 11758#endif 11759char dld_link (); 11760int 11761main () 11762{ 11763return dld_link (); 11764 ; 11765 return 0; 11766} 11767_ACEOF 11768if ac_fn_c_try_link "$LINENO"; then : 11769 ac_cv_lib_dld_dld_link=yes 11770else 11771 ac_cv_lib_dld_dld_link=no 11772fi 11773rm -f core conftest.err conftest.$ac_objext \ 11774 conftest$ac_exeext conftest.$ac_ext 11775LIBS=$ac_check_lib_save_LIBS 11776fi 11777{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11778$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11779if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11780 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 11781fi 11782 11783 11784fi 11785 11786 11787fi 11788 11789 11790fi 11791 11792 11793fi 11794 11795 11796fi 11797 11798 ;; 11799 esac 11800 11801 if test "x$lt_cv_dlopen" != xno; then 11802 enable_dlopen=yes 11803 else 11804 enable_dlopen=no 11805 fi 11806 11807 case $lt_cv_dlopen in 11808 dlopen) 11809 save_CPPFLAGS="$CPPFLAGS" 11810 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11811 11812 save_LDFLAGS="$LDFLAGS" 11813 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11814 11815 save_LIBS="$LIBS" 11816 LIBS="$lt_cv_dlopen_libs $LIBS" 11817 11818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11819$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11820if ${lt_cv_dlopen_self+:} false; then : 11821 $as_echo_n "(cached) " >&6 11822else 11823 if test "$cross_compiling" = yes; then : 11824 lt_cv_dlopen_self=cross 11825else 11826 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11827 lt_status=$lt_dlunknown 11828 cat > conftest.$ac_ext <<_LT_EOF 11829#line $LINENO "configure" 11830#include "confdefs.h" 11831 11832#if HAVE_DLFCN_H 11833#include <dlfcn.h> 11834#endif 11835 11836#include <stdio.h> 11837 11838#ifdef RTLD_GLOBAL 11839# define LT_DLGLOBAL RTLD_GLOBAL 11840#else 11841# ifdef DL_GLOBAL 11842# define LT_DLGLOBAL DL_GLOBAL 11843# else 11844# define LT_DLGLOBAL 0 11845# endif 11846#endif 11847 11848/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11849 find out it does not work in some platform. */ 11850#ifndef LT_DLLAZY_OR_NOW 11851# ifdef RTLD_LAZY 11852# define LT_DLLAZY_OR_NOW RTLD_LAZY 11853# else 11854# ifdef DL_LAZY 11855# define LT_DLLAZY_OR_NOW DL_LAZY 11856# else 11857# ifdef RTLD_NOW 11858# define LT_DLLAZY_OR_NOW RTLD_NOW 11859# else 11860# ifdef DL_NOW 11861# define LT_DLLAZY_OR_NOW DL_NOW 11862# else 11863# define LT_DLLAZY_OR_NOW 0 11864# endif 11865# endif 11866# endif 11867# endif 11868#endif 11869 11870/* When -fvisbility=hidden is used, assume the code has been annotated 11871 correspondingly for the symbols needed. */ 11872#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11873int fnord () __attribute__((visibility("default"))); 11874#endif 11875 11876int fnord () { return 42; } 11877int main () 11878{ 11879 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11880 int status = $lt_dlunknown; 11881 11882 if (self) 11883 { 11884 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11885 else 11886 { 11887 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11888 else puts (dlerror ()); 11889 } 11890 /* dlclose (self); */ 11891 } 11892 else 11893 puts (dlerror ()); 11894 11895 return status; 11896} 11897_LT_EOF 11898 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11899 (eval $ac_link) 2>&5 11900 ac_status=$? 11901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11902 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11903 (./conftest; exit; ) >&5 2>/dev/null 11904 lt_status=$? 11905 case x$lt_status in 11906 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11907 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11908 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11909 esac 11910 else : 11911 # compilation failed 11912 lt_cv_dlopen_self=no 11913 fi 11914fi 11915rm -fr conftest* 11916 11917 11918fi 11919{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11920$as_echo "$lt_cv_dlopen_self" >&6; } 11921 11922 if test "x$lt_cv_dlopen_self" = xyes; then 11923 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11925$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11926if ${lt_cv_dlopen_self_static+:} false; then : 11927 $as_echo_n "(cached) " >&6 11928else 11929 if test "$cross_compiling" = yes; then : 11930 lt_cv_dlopen_self_static=cross 11931else 11932 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11933 lt_status=$lt_dlunknown 11934 cat > conftest.$ac_ext <<_LT_EOF 11935#line $LINENO "configure" 11936#include "confdefs.h" 11937 11938#if HAVE_DLFCN_H 11939#include <dlfcn.h> 11940#endif 11941 11942#include <stdio.h> 11943 11944#ifdef RTLD_GLOBAL 11945# define LT_DLGLOBAL RTLD_GLOBAL 11946#else 11947# ifdef DL_GLOBAL 11948# define LT_DLGLOBAL DL_GLOBAL 11949# else 11950# define LT_DLGLOBAL 0 11951# endif 11952#endif 11953 11954/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11955 find out it does not work in some platform. */ 11956#ifndef LT_DLLAZY_OR_NOW 11957# ifdef RTLD_LAZY 11958# define LT_DLLAZY_OR_NOW RTLD_LAZY 11959# else 11960# ifdef DL_LAZY 11961# define LT_DLLAZY_OR_NOW DL_LAZY 11962# else 11963# ifdef RTLD_NOW 11964# define LT_DLLAZY_OR_NOW RTLD_NOW 11965# else 11966# ifdef DL_NOW 11967# define LT_DLLAZY_OR_NOW DL_NOW 11968# else 11969# define LT_DLLAZY_OR_NOW 0 11970# endif 11971# endif 11972# endif 11973# endif 11974#endif 11975 11976/* When -fvisbility=hidden is used, assume the code has been annotated 11977 correspondingly for the symbols needed. */ 11978#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11979int fnord () __attribute__((visibility("default"))); 11980#endif 11981 11982int fnord () { return 42; } 11983int main () 11984{ 11985 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11986 int status = $lt_dlunknown; 11987 11988 if (self) 11989 { 11990 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11991 else 11992 { 11993 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11994 else puts (dlerror ()); 11995 } 11996 /* dlclose (self); */ 11997 } 11998 else 11999 puts (dlerror ()); 12000 12001 return status; 12002} 12003_LT_EOF 12004 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12005 (eval $ac_link) 2>&5 12006 ac_status=$? 12007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12008 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 12009 (./conftest; exit; ) >&5 2>/dev/null 12010 lt_status=$? 12011 case x$lt_status in 12012 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12013 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12014 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12015 esac 12016 else : 12017 # compilation failed 12018 lt_cv_dlopen_self_static=no 12019 fi 12020fi 12021rm -fr conftest* 12022 12023 12024fi 12025{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12026$as_echo "$lt_cv_dlopen_self_static" >&6; } 12027 fi 12028 12029 CPPFLAGS="$save_CPPFLAGS" 12030 LDFLAGS="$save_LDFLAGS" 12031 LIBS="$save_LIBS" 12032 ;; 12033 esac 12034 12035 case $lt_cv_dlopen_self in 12036 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12037 *) enable_dlopen_self=unknown ;; 12038 esac 12039 12040 case $lt_cv_dlopen_self_static in 12041 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12042 *) enable_dlopen_self_static=unknown ;; 12043 esac 12044fi 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 12058 12059 12060 12061 12062striplib= 12063old_striplib= 12064{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12065$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12066if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12067 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12068 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12070$as_echo "yes" >&6; } 12071else 12072# FIXME - insert some real tests, host_os isn't really good enough 12073 case $host_os in 12074 darwin*) 12075 if test -n "$STRIP" ; then 12076 striplib="$STRIP -x" 12077 old_striplib="$STRIP -S" 12078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12079$as_echo "yes" >&6; } 12080 else 12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12082$as_echo "no" >&6; } 12083 fi 12084 ;; 12085 *) 12086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12087$as_echo "no" >&6; } 12088 ;; 12089 esac 12090fi 12091 12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 12102 12103 # Report which library types will actually be built 12104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12105$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12107$as_echo "$can_build_shared" >&6; } 12108 12109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12110$as_echo_n "checking whether to build shared libraries... " >&6; } 12111 test "$can_build_shared" = "no" && enable_shared=no 12112 12113 # On AIX, shared libraries and static libraries use the same namespace, and 12114 # are all built from PIC. 12115 case $host_os in 12116 aix3*) 12117 test "$enable_shared" = yes && enable_static=no 12118 if test -n "$RANLIB"; then 12119 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12120 postinstall_cmds='$RANLIB $lib' 12121 fi 12122 ;; 12123 12124 aix[4-9]*) 12125 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 12126 test "$enable_shared" = yes && enable_static=no 12127 fi 12128 ;; 12129 esac 12130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12131$as_echo "$enable_shared" >&6; } 12132 12133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12134$as_echo_n "checking whether to build static libraries... " >&6; } 12135 # Make sure either enable_shared or enable_static is yes. 12136 test "$enable_shared" = yes || enable_static=yes 12137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12138$as_echo "$enable_static" >&6; } 12139 12140 12141 12142 12143fi 12144ac_ext=c 12145ac_cpp='$CPP $CPPFLAGS' 12146ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12147ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12148ac_compiler_gnu=$ac_cv_c_compiler_gnu 12149 12150CC="$lt_save_CC" 12151 12152 12153 12154 12155 12156 12157 12158 12159 12160 12161 12162 12163 12164 12165 12166 ac_config_commands="$ac_config_commands libtool" 12167 12168 12169 12170 12171# Only expand once: 12172 12173 12174 12175 12176GST_REQ=1.4.0 12177GSTPB_REQ=1.4.0 12178 12179 12180 12181 12182# Check whether --with-autoconf was given. 12183if test "${with_autoconf+set}" = set; then : 12184 withval=$with_autoconf; 12185 unset AUTOCONF 12186 12187AUTOCONF=${AUTOCONF-"${am_missing_run}${withval}"} 12188 12189 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOCONF as autoconf" >&5 12190$as_echo "$as_me: Using $AUTOCONF as autoconf" >&6;} 12191 12192fi 12193 12194 12195 12196# Check whether --with-autoheader was given. 12197if test "${with_autoheader+set}" = set; then : 12198 withval=$with_autoheader; 12199 unset AUTOHEADER 12200 12201AUTOHEADER=${AUTOHEADER-"${am_missing_run}${withval}"} 12202 12203 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOHEADER as autoheader" >&5 12204$as_echo "$as_me: Using $AUTOHEADER as autoheader" >&6;} 12205 12206fi 12207 12208 12209 12210# Check whether --with-automake was given. 12211if test "${with_automake+set}" = set; then : 12212 withval=$with_automake; 12213 unset AUTOMAKE 12214 12215AUTOMAKE=${AUTOMAKE-"${am_missing_run}${withval}"} 12216 12217 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOMAKE as automake" >&5 12218$as_echo "$as_me: Using $AUTOMAKE as automake" >&6;} 12219 12220fi 12221 12222 12223 12224# Check whether --with-aclocal was given. 12225if test "${with_aclocal+set}" = set; then : 12226 withval=$with_aclocal; 12227 unset ACLOCAL 12228 12229ACLOCAL=${ACLOCAL-"${am_missing_run}${withval}"} 12230 12231 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $ACLOCAL as aclocal" >&5 12232$as_echo "$as_me: Using $ACLOCAL as aclocal" >&6;} 12233 12234fi 12235 12236 12237 12238ACLOCAL_AMFLAGS="-I m4 -I common/m4" 12239 12240 12241 12242 12243 # Check whether --enable-debug was given. 12244if test "${enable_debug+set}" = set; then : 12245 enableval=$enable_debug; 12246 case "${enableval}" in 12247 yes) USE_DEBUG=yes ;; 12248 no) USE_DEBUG=no ;; 12249 *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;; 12250 esac 12251 12252else 12253 USE_DEBUG=yes 12254fi 12255 12256 12257 12258if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 12259 if test -n "$ac_tool_prefix"; then 12260 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 12261set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 12262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12263$as_echo_n "checking for $ac_word... " >&6; } 12264if ${ac_cv_path_PKG_CONFIG+:} false; then : 12265 $as_echo_n "(cached) " >&6 12266else 12267 case $PKG_CONFIG in 12268 [\\/]* | ?:[\\/]*) 12269 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 12270 ;; 12271 *) 12272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12273for as_dir in $PATH 12274do 12275 IFS=$as_save_IFS 12276 test -z "$as_dir" && as_dir=. 12277 for ac_exec_ext in '' $ac_executable_extensions; do 12278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12279 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12281 break 2 12282 fi 12283done 12284 done 12285IFS=$as_save_IFS 12286 12287 ;; 12288esac 12289fi 12290PKG_CONFIG=$ac_cv_path_PKG_CONFIG 12291if test -n "$PKG_CONFIG"; then 12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 12293$as_echo "$PKG_CONFIG" >&6; } 12294else 12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12296$as_echo "no" >&6; } 12297fi 12298 12299 12300fi 12301if test -z "$ac_cv_path_PKG_CONFIG"; then 12302 ac_pt_PKG_CONFIG=$PKG_CONFIG 12303 # Extract the first word of "pkg-config", so it can be a program name with args. 12304set dummy pkg-config; ac_word=$2 12305{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12306$as_echo_n "checking for $ac_word... " >&6; } 12307if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 12308 $as_echo_n "(cached) " >&6 12309else 12310 case $ac_pt_PKG_CONFIG in 12311 [\\/]* | ?:[\\/]*) 12312 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 12313 ;; 12314 *) 12315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12316for as_dir in $PATH 12317do 12318 IFS=$as_save_IFS 12319 test -z "$as_dir" && as_dir=. 12320 for ac_exec_ext in '' $ac_executable_extensions; do 12321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12322 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12324 break 2 12325 fi 12326done 12327 done 12328IFS=$as_save_IFS 12329 12330 ;; 12331esac 12332fi 12333ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 12334if test -n "$ac_pt_PKG_CONFIG"; then 12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 12336$as_echo "$ac_pt_PKG_CONFIG" >&6; } 12337else 12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12339$as_echo "no" >&6; } 12340fi 12341 12342 if test "x$ac_pt_PKG_CONFIG" = x; then 12343 PKG_CONFIG="" 12344 else 12345 case $cross_compiling:$ac_tool_warned in 12346yes:) 12347{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12348$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12349ac_tool_warned=yes ;; 12350esac 12351 PKG_CONFIG=$ac_pt_PKG_CONFIG 12352 fi 12353else 12354 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 12355fi 12356 12357fi 12358if test -n "$PKG_CONFIG"; then 12359 _pkg_min_version=0.9.0 12360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 12361$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 12362 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12364$as_echo "yes" >&6; } 12365 else 12366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12367$as_echo "no" >&6; } 12368 PKG_CONFIG="" 12369 fi 12370 12371fi 12372 12373 # Check whether --enable-valgrind was given. 12374if test "${enable_valgrind+set}" = set; then : 12375 enableval=$enable_valgrind; 12376 case "${enableval}" in 12377 yes) USE_VALGRIND="$USE_DEBUG" ;; 12378 no) USE_VALGRIND=no ;; 12379 *) as_fn_error $? "bad value ${enableval} for --enable-valgrind" "$LINENO" 5 ;; 12380 esac 12381 12382else 12383 USE_VALGRIND="$USE_DEBUG" 12384fi 12385 VALGRIND_REQ="3.0" 12386 if test "x$USE_VALGRIND" = xyes; then 12387 12388pkg_failed=no 12389{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5 12390$as_echo_n "checking for VALGRIND... " >&6; } 12391 12392if test -n "$PKG_CONFIG"; then 12393 if test -n "$VALGRIND_CFLAGS"; then 12394 pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS" 12395 else 12396 if test -n "$PKG_CONFIG" && \ 12397 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5 12398 ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5 12399 ac_status=$? 12400 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12401 test $ac_status = 0; }; then 12402 pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= $VALGRIND_REQ" 2>/dev/null` 12403else 12404 pkg_failed=yes 12405fi 12406 fi 12407else 12408 pkg_failed=untried 12409fi 12410if test -n "$PKG_CONFIG"; then 12411 if test -n "$VALGRIND_LIBS"; then 12412 pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS" 12413 else 12414 if test -n "$PKG_CONFIG" && \ 12415 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5 12416 ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5 12417 ac_status=$? 12418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12419 test $ac_status = 0; }; then 12420 pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= $VALGRIND_REQ" 2>/dev/null` 12421else 12422 pkg_failed=yes 12423fi 12424 fi 12425else 12426 pkg_failed=untried 12427fi 12428 12429 12430 12431if test $pkg_failed = yes; then 12432 12433if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 12434 _pkg_short_errors_supported=yes 12435else 12436 _pkg_short_errors_supported=no 12437fi 12438 if test $_pkg_short_errors_supported = yes; then 12439 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"` 12440 else 12441 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"` 12442 fi 12443 # Put the nasty error message in config.log where it belongs 12444 echo "$VALGRIND_PKG_ERRORS" >&5 12445 12446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12447$as_echo "no" >&6; } 12448 USE_VALGRIND="no" 12449elif test $pkg_failed = untried; then 12450 USE_VALGRIND="no" 12451else 12452 VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS 12453 VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS 12454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12455$as_echo "yes" >&6; } 12456 USE_VALGRIND="yes" 12457fi 12458 fi 12459 if test "x$USE_VALGRIND" = xyes; then 12460 12461$as_echo "#define HAVE_VALGRIND 1" >>confdefs.h 12462 12463 { $as_echo "$as_me:${as_lineno-$LINENO}: Using extra code paths for valgrind" >&5 12464$as_echo "$as_me: Using extra code paths for valgrind" >&6;} 12465 fi 12466 12467 12468 # Check whether --enable-gcov was given. 12469if test "${enable_gcov+set}" = set; then : 12470 enableval=$enable_gcov; enable_gcov=$enableval 12471else 12472 enable_gcov=no 12473fi 12474 12475 if test x$enable_gcov = xyes ; then 12476 if test "x$GCC" != "xyes" 12477 then 12478 as_fn_error $? "gcov only works if gcc is used" "$LINENO" 5 12479 fi 12480 12481 12482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-fprofile-arcs\"" >&5 12483$as_echo_n "checking to see if compiler understands \"-fprofile-arcs\"... " >&6; } 12484 12485 save_CFLAGS="$CFLAGS" 12486 CFLAGS="$CFLAGS "-fprofile-arcs"" 12487 12488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12489/* end confdefs.h. */ 12490 12491int 12492main () 12493{ 12494 12495 ; 12496 return 0; 12497} 12498_ACEOF 12499if ac_fn_c_try_compile "$LINENO"; then : 12500 flag_ok=yes 12501else 12502 flag_ok=no 12503fi 12504rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12505 CFLAGS="$save_CFLAGS" 12506 12507 if test "X$flag_ok" = Xyes ; then 12508 GCOV_CFLAGS="$GCOV_CFLAGS -fprofile-arcs" 12509 true 12510 else 12511 true 12512 true 12513 fi 12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 12515$as_echo "$flag_ok" >&6; } 12516 12517 12518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-ftest-coverage\"" >&5 12519$as_echo_n "checking to see if compiler understands \"-ftest-coverage\"... " >&6; } 12520 12521 save_CFLAGS="$CFLAGS" 12522 CFLAGS="$CFLAGS "-ftest-coverage"" 12523 12524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12525/* end confdefs.h. */ 12526 12527int 12528main () 12529{ 12530 12531 ; 12532 return 0; 12533} 12534_ACEOF 12535if ac_fn_c_try_compile "$LINENO"; then : 12536 flag_ok=yes 12537else 12538 flag_ok=no 12539fi 12540rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12541 CFLAGS="$save_CFLAGS" 12542 12543 if test "X$flag_ok" = Xyes ; then 12544 GCOV_CFLAGS="$GCOV_CFLAGS -ftest-coverage" 12545 true 12546 else 12547 true 12548 true 12549 fi 12550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 12551$as_echo "$flag_ok" >&6; } 12552 12553 GCOV_CFLAGS=`echo "$GCOV_CFLAGS" | sed -e 's/-O[0-9]*//g'` 12554 GCOV_LIBS=-lgcov 12555 12556 12557 GCOV=`echo $CC | sed s/gcc/gcov/g` 12558 12559 12560 GST_GCOV_ENABLED=yes 12561 12562cat >>confdefs.h <<_ACEOF 12563#define GST_GCOV_ENABLED 1 12564_ACEOF 12565 12566 if test "x$GST_GCOV_ENABLED" = "xyes" 12567 then 12568 CFLAGS="$CFLAGS -O0" 12569 12570 CXXFLAGS="$CXXFLAGS -O0" 12571 12572 FFLAGS="$FFLAGS -O0" 12573 12574 CCASFLAGS="$CCASFLAGS -O0" 12575 12576 { $as_echo "$as_me:${as_lineno-$LINENO}: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&5 12577$as_echo "$as_me: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&6;} 12578 fi 12579 fi 12580 if test x$enable_gcov = xyes; then 12581 GST_GCOV_ENABLED_TRUE= 12582 GST_GCOV_ENABLED_FALSE='#' 12583else 12584 GST_GCOV_ENABLED_TRUE='#' 12585 GST_GCOV_ENABLED_FALSE= 12586fi 12587 12588 12589 12590 12591 12592# Check whether --with-pkg-config-path was given. 12593if test "${with_pkg_config_path+set}" = set; then : 12594 withval=$with_pkg_config_path; 12595 export PKG_CONFIG_PATH=${withval} 12596 { $as_echo "$as_me:${as_lineno-$LINENO}: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&5 12597$as_echo "$as_me: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&6;} 12598 12599fi 12600 12601 12602 12603 12604# Check whether --with-package-name was given. 12605if test "${with_package_name+set}" = set; then : 12606 withval=$with_package_name; 12607 case "${withval}" in 12608 yes) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;; 12609 no) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;; 12610 *) GST_PACKAGE_NAME="${withval}" ;; 12611 esac 12612 12613else 12614 12615 P= 12616 if test "x$P" = "x" 12617 then 12618 P=$PACKAGE_NAME 12619 fi 12620 12621 if test "x$PACKAGE_VERSION_NANO" = "x0" 12622 then 12623 GST_PACKAGE_NAME="$P source release" 12624 else 12625 if test "x$PACKAGE_VERSION_NANO" = "x1" 12626 then 12627 GST_PACKAGE_NAME="$P git" 12628 else 12629 GST_PACKAGE_NAME="$P prerelease" 12630 fi 12631 fi 12632 12633 12634fi 12635 12636 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_NAME as package name" >&5 12637$as_echo "$as_me: Using $GST_PACKAGE_NAME as package name" >&6;} 12638 12639cat >>confdefs.h <<_ACEOF 12640#define GST_PACKAGE_NAME "$GST_PACKAGE_NAME" 12641_ACEOF 12642 12643 12644 12645 12646 12647# Check whether --with-package-origin was given. 12648if test "${with_package_origin+set}" = set; then : 12649 withval=$with_package_origin; 12650 case "${withval}" in 12651 yes) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;; 12652 no) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;; 12653 *) GST_PACKAGE_ORIGIN="${withval}" ;; 12654 esac 12655 12656else 12657 GST_PACKAGE_ORIGIN="Unknown package origin" 12658fi 12659 12660 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_ORIGIN as package origin" >&5 12661$as_echo "$as_me: Using $GST_PACKAGE_ORIGIN as package origin" >&6;} 12662 12663cat >>confdefs.h <<_ACEOF 12664#define GST_PACKAGE_ORIGIN "$GST_PACKAGE_ORIGIN" 12665_ACEOF 12666 12667 12668 12669 12670 12671 12672 12673ac_ext=c 12674ac_cpp='$CPP $CPPFLAGS' 12675ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12676ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12677ac_compiler_gnu=$ac_cv_c_compiler_gnu 12678if test -n "$ac_tool_prefix"; then 12679 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 12680set dummy ${ac_tool_prefix}gcc; ac_word=$2 12681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12682$as_echo_n "checking for $ac_word... " >&6; } 12683if ${ac_cv_prog_CC+:} false; then : 12684 $as_echo_n "(cached) " >&6 12685else 12686 if test -n "$CC"; then 12687 ac_cv_prog_CC="$CC" # Let the user override the test. 12688else 12689as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12690for as_dir in $PATH 12691do 12692 IFS=$as_save_IFS 12693 test -z "$as_dir" && as_dir=. 12694 for ac_exec_ext in '' $ac_executable_extensions; do 12695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12696 ac_cv_prog_CC="${ac_tool_prefix}gcc" 12697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12698 break 2 12699 fi 12700done 12701 done 12702IFS=$as_save_IFS 12703 12704fi 12705fi 12706CC=$ac_cv_prog_CC 12707if test -n "$CC"; then 12708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 12709$as_echo "$CC" >&6; } 12710else 12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12712$as_echo "no" >&6; } 12713fi 12714 12715 12716fi 12717if test -z "$ac_cv_prog_CC"; then 12718 ac_ct_CC=$CC 12719 # Extract the first word of "gcc", so it can be a program name with args. 12720set dummy gcc; ac_word=$2 12721{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12722$as_echo_n "checking for $ac_word... " >&6; } 12723if ${ac_cv_prog_ac_ct_CC+:} false; then : 12724 $as_echo_n "(cached) " >&6 12725else 12726 if test -n "$ac_ct_CC"; then 12727 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 12728else 12729as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12730for as_dir in $PATH 12731do 12732 IFS=$as_save_IFS 12733 test -z "$as_dir" && as_dir=. 12734 for ac_exec_ext in '' $ac_executable_extensions; do 12735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12736 ac_cv_prog_ac_ct_CC="gcc" 12737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12738 break 2 12739 fi 12740done 12741 done 12742IFS=$as_save_IFS 12743 12744fi 12745fi 12746ac_ct_CC=$ac_cv_prog_ac_ct_CC 12747if test -n "$ac_ct_CC"; then 12748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 12749$as_echo "$ac_ct_CC" >&6; } 12750else 12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12752$as_echo "no" >&6; } 12753fi 12754 12755 if test "x$ac_ct_CC" = x; then 12756 CC="" 12757 else 12758 case $cross_compiling:$ac_tool_warned in 12759yes:) 12760{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12761$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12762ac_tool_warned=yes ;; 12763esac 12764 CC=$ac_ct_CC 12765 fi 12766else 12767 CC="$ac_cv_prog_CC" 12768fi 12769 12770if test -z "$CC"; then 12771 if test -n "$ac_tool_prefix"; then 12772 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 12773set dummy ${ac_tool_prefix}cc; ac_word=$2 12774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12775$as_echo_n "checking for $ac_word... " >&6; } 12776if ${ac_cv_prog_CC+:} false; then : 12777 $as_echo_n "(cached) " >&6 12778else 12779 if test -n "$CC"; then 12780 ac_cv_prog_CC="$CC" # Let the user override the test. 12781else 12782as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12783for as_dir in $PATH 12784do 12785 IFS=$as_save_IFS 12786 test -z "$as_dir" && as_dir=. 12787 for ac_exec_ext in '' $ac_executable_extensions; do 12788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12789 ac_cv_prog_CC="${ac_tool_prefix}cc" 12790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12791 break 2 12792 fi 12793done 12794 done 12795IFS=$as_save_IFS 12796 12797fi 12798fi 12799CC=$ac_cv_prog_CC 12800if test -n "$CC"; then 12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 12802$as_echo "$CC" >&6; } 12803else 12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12805$as_echo "no" >&6; } 12806fi 12807 12808 12809 fi 12810fi 12811if test -z "$CC"; then 12812 # Extract the first word of "cc", so it can be a program name with args. 12813set dummy cc; ac_word=$2 12814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12815$as_echo_n "checking for $ac_word... " >&6; } 12816if ${ac_cv_prog_CC+:} false; then : 12817 $as_echo_n "(cached) " >&6 12818else 12819 if test -n "$CC"; then 12820 ac_cv_prog_CC="$CC" # Let the user override the test. 12821else 12822 ac_prog_rejected=no 12823as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12824for as_dir in $PATH 12825do 12826 IFS=$as_save_IFS 12827 test -z "$as_dir" && as_dir=. 12828 for ac_exec_ext in '' $ac_executable_extensions; do 12829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12830 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 12831 ac_prog_rejected=yes 12832 continue 12833 fi 12834 ac_cv_prog_CC="cc" 12835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12836 break 2 12837 fi 12838done 12839 done 12840IFS=$as_save_IFS 12841 12842if test $ac_prog_rejected = yes; then 12843 # We found a bogon in the path, so make sure we never use it. 12844 set dummy $ac_cv_prog_CC 12845 shift 12846 if test $# != 0; then 12847 # We chose a different compiler from the bogus one. 12848 # However, it has the same basename, so the bogon will be chosen 12849 # first if we set CC to just the basename; use the full file name. 12850 shift 12851 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 12852 fi 12853fi 12854fi 12855fi 12856CC=$ac_cv_prog_CC 12857if test -n "$CC"; then 12858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 12859$as_echo "$CC" >&6; } 12860else 12861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12862$as_echo "no" >&6; } 12863fi 12864 12865 12866fi 12867if test -z "$CC"; then 12868 if test -n "$ac_tool_prefix"; then 12869 for ac_prog in cl.exe 12870 do 12871 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 12872set dummy $ac_tool_prefix$ac_prog; ac_word=$2 12873{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12874$as_echo_n "checking for $ac_word... " >&6; } 12875if ${ac_cv_prog_CC+:} false; then : 12876 $as_echo_n "(cached) " >&6 12877else 12878 if test -n "$CC"; then 12879 ac_cv_prog_CC="$CC" # Let the user override the test. 12880else 12881as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12882for as_dir in $PATH 12883do 12884 IFS=$as_save_IFS 12885 test -z "$as_dir" && as_dir=. 12886 for ac_exec_ext in '' $ac_executable_extensions; do 12887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12888 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 12889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12890 break 2 12891 fi 12892done 12893 done 12894IFS=$as_save_IFS 12895 12896fi 12897fi 12898CC=$ac_cv_prog_CC 12899if test -n "$CC"; then 12900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 12901$as_echo "$CC" >&6; } 12902else 12903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12904$as_echo "no" >&6; } 12905fi 12906 12907 12908 test -n "$CC" && break 12909 done 12910fi 12911if test -z "$CC"; then 12912 ac_ct_CC=$CC 12913 for ac_prog in cl.exe 12914do 12915 # Extract the first word of "$ac_prog", so it can be a program name with args. 12916set dummy $ac_prog; ac_word=$2 12917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12918$as_echo_n "checking for $ac_word... " >&6; } 12919if ${ac_cv_prog_ac_ct_CC+:} false; then : 12920 $as_echo_n "(cached) " >&6 12921else 12922 if test -n "$ac_ct_CC"; then 12923 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 12924else 12925as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12926for as_dir in $PATH 12927do 12928 IFS=$as_save_IFS 12929 test -z "$as_dir" && as_dir=. 12930 for ac_exec_ext in '' $ac_executable_extensions; do 12931 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12932 ac_cv_prog_ac_ct_CC="$ac_prog" 12933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12934 break 2 12935 fi 12936done 12937 done 12938IFS=$as_save_IFS 12939 12940fi 12941fi 12942ac_ct_CC=$ac_cv_prog_ac_ct_CC 12943if test -n "$ac_ct_CC"; then 12944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 12945$as_echo "$ac_ct_CC" >&6; } 12946else 12947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12948$as_echo "no" >&6; } 12949fi 12950 12951 12952 test -n "$ac_ct_CC" && break 12953done 12954 12955 if test "x$ac_ct_CC" = x; then 12956 CC="" 12957 else 12958 case $cross_compiling:$ac_tool_warned in 12959yes:) 12960{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12961$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12962ac_tool_warned=yes ;; 12963esac 12964 CC=$ac_ct_CC 12965 fi 12966fi 12967 12968fi 12969 12970 12971test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12972$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12973as_fn_error $? "no acceptable C compiler found in \$PATH 12974See \`config.log' for more details" "$LINENO" 5; } 12975 12976# Provide some information about the compiler. 12977$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 12978set X $ac_compile 12979ac_compiler=$2 12980for ac_option in --version -v -V -qversion; do 12981 { { ac_try="$ac_compiler $ac_option >&5" 12982case "(($ac_try" in 12983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12984 *) ac_try_echo=$ac_try;; 12985esac 12986eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 12987$as_echo "$ac_try_echo"; } >&5 12988 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 12989 ac_status=$? 12990 if test -s conftest.err; then 12991 sed '10a\ 12992... rest of stderr output deleted ... 12993 10q' conftest.err >conftest.er1 12994 cat conftest.er1 >&5 12995 fi 12996 rm -f conftest.er1 conftest.err 12997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12998 test $ac_status = 0; } 12999done 13000 13001{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 13002$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 13003if ${ac_cv_c_compiler_gnu+:} false; then : 13004 $as_echo_n "(cached) " >&6 13005else 13006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13007/* end confdefs.h. */ 13008 13009int 13010main () 13011{ 13012#ifndef __GNUC__ 13013 choke me 13014#endif 13015 13016 ; 13017 return 0; 13018} 13019_ACEOF 13020if ac_fn_c_try_compile "$LINENO"; then : 13021 ac_compiler_gnu=yes 13022else 13023 ac_compiler_gnu=no 13024fi 13025rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13026ac_cv_c_compiler_gnu=$ac_compiler_gnu 13027 13028fi 13029{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 13030$as_echo "$ac_cv_c_compiler_gnu" >&6; } 13031if test $ac_compiler_gnu = yes; then 13032 GCC=yes 13033else 13034 GCC= 13035fi 13036ac_test_CFLAGS=${CFLAGS+set} 13037ac_save_CFLAGS=$CFLAGS 13038{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 13039$as_echo_n "checking whether $CC accepts -g... " >&6; } 13040if ${ac_cv_prog_cc_g+:} false; then : 13041 $as_echo_n "(cached) " >&6 13042else 13043 ac_save_c_werror_flag=$ac_c_werror_flag 13044 ac_c_werror_flag=yes 13045 ac_cv_prog_cc_g=no 13046 CFLAGS="-g" 13047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13048/* end confdefs.h. */ 13049 13050int 13051main () 13052{ 13053 13054 ; 13055 return 0; 13056} 13057_ACEOF 13058if ac_fn_c_try_compile "$LINENO"; then : 13059 ac_cv_prog_cc_g=yes 13060else 13061 CFLAGS="" 13062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13063/* end confdefs.h. */ 13064 13065int 13066main () 13067{ 13068 13069 ; 13070 return 0; 13071} 13072_ACEOF 13073if ac_fn_c_try_compile "$LINENO"; then : 13074 13075else 13076 ac_c_werror_flag=$ac_save_c_werror_flag 13077 CFLAGS="-g" 13078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13079/* end confdefs.h. */ 13080 13081int 13082main () 13083{ 13084 13085 ; 13086 return 0; 13087} 13088_ACEOF 13089if ac_fn_c_try_compile "$LINENO"; then : 13090 ac_cv_prog_cc_g=yes 13091fi 13092rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13093fi 13094rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13095fi 13096rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13097 ac_c_werror_flag=$ac_save_c_werror_flag 13098fi 13099{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 13100$as_echo "$ac_cv_prog_cc_g" >&6; } 13101if test "$ac_test_CFLAGS" = set; then 13102 CFLAGS=$ac_save_CFLAGS 13103elif test $ac_cv_prog_cc_g = yes; then 13104 if test "$GCC" = yes; then 13105 CFLAGS="-g -O2" 13106 else 13107 CFLAGS="-g" 13108 fi 13109else 13110 if test "$GCC" = yes; then 13111 CFLAGS="-O2" 13112 else 13113 CFLAGS= 13114 fi 13115fi 13116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 13117$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 13118if ${ac_cv_prog_cc_c89+:} false; then : 13119 $as_echo_n "(cached) " >&6 13120else 13121 ac_cv_prog_cc_c89=no 13122ac_save_CC=$CC 13123cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13124/* end confdefs.h. */ 13125#include <stdarg.h> 13126#include <stdio.h> 13127struct stat; 13128/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 13129struct buf { int x; }; 13130FILE * (*rcsopen) (struct buf *, struct stat *, int); 13131static char *e (p, i) 13132 char **p; 13133 int i; 13134{ 13135 return p[i]; 13136} 13137static char *f (char * (*g) (char **, int), char **p, ...) 13138{ 13139 char *s; 13140 va_list v; 13141 va_start (v,p); 13142 s = g (p, va_arg (v,int)); 13143 va_end (v); 13144 return s; 13145} 13146 13147/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 13148 function prototypes and stuff, but not '\xHH' hex character constants. 13149 These don't provoke an error unfortunately, instead are silently treated 13150 as 'x'. The following induces an error, until -std is added to get 13151 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 13152 array size at least. It's necessary to write '\x00'==0 to get something 13153 that's true only with -std. */ 13154int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 13155 13156/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 13157 inside strings and character constants. */ 13158#define FOO(x) 'x' 13159int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 13160 13161int test (int i, double x); 13162struct s1 {int (*f) (int a);}; 13163struct s2 {int (*f) (double a);}; 13164int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 13165int argc; 13166char **argv; 13167int 13168main () 13169{ 13170return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 13171 ; 13172 return 0; 13173} 13174_ACEOF 13175for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 13176 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 13177do 13178 CC="$ac_save_CC $ac_arg" 13179 if ac_fn_c_try_compile "$LINENO"; then : 13180 ac_cv_prog_cc_c89=$ac_arg 13181fi 13182rm -f core conftest.err conftest.$ac_objext 13183 test "x$ac_cv_prog_cc_c89" != "xno" && break 13184done 13185rm -f conftest.$ac_ext 13186CC=$ac_save_CC 13187 13188fi 13189# AC_CACHE_VAL 13190case "x$ac_cv_prog_cc_c89" in 13191 x) 13192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 13193$as_echo "none needed" >&6; } ;; 13194 xno) 13195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 13196$as_echo "unsupported" >&6; } ;; 13197 *) 13198 CC="$CC $ac_cv_prog_cc_c89" 13199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 13200$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 13201esac 13202if test "x$ac_cv_prog_cc_c89" != xno; then : 13203 13204fi 13205 13206ac_ext=c 13207ac_cpp='$CPP $CPPFLAGS' 13208ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13209ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13210ac_compiler_gnu=$ac_cv_c_compiler_gnu 13211 13212ac_ext=c 13213ac_cpp='$CPP $CPPFLAGS' 13214ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13215ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13216ac_compiler_gnu=$ac_cv_c_compiler_gnu 13217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 13218$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 13219if ${am_cv_prog_cc_c_o+:} false; then : 13220 $as_echo_n "(cached) " >&6 13221else 13222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13223/* end confdefs.h. */ 13224 13225int 13226main () 13227{ 13228 13229 ; 13230 return 0; 13231} 13232_ACEOF 13233 # Make sure it works both with $CC and with simple cc. 13234 # Following AC_PROG_CC_C_O, we do the test twice because some 13235 # compilers refuse to overwrite an existing .o file with -o, 13236 # though they will create one. 13237 am_cv_prog_cc_c_o=yes 13238 for am_i in 1 2; do 13239 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 13240 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 13241 ac_status=$? 13242 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13243 (exit $ac_status); } \ 13244 && test -f conftest2.$ac_objext; then 13245 : OK 13246 else 13247 am_cv_prog_cc_c_o=no 13248 break 13249 fi 13250 done 13251 rm -f core conftest* 13252 unset am_i 13253fi 13254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 13255$as_echo "$am_cv_prog_cc_c_o" >&6; } 13256if test "$am_cv_prog_cc_c_o" != yes; then 13257 # Losing compiler, so override with the script. 13258 # FIXME: It is wrong to rewrite CC. 13259 # But if we don't then we get into trouble of one sort or another. 13260 # A longer-term fix would be to have automake use am__CC in this case, 13261 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 13262 CC="$am_aux_dir/compile $CC" 13263fi 13264ac_ext=c 13265ac_cpp='$CPP $CPPFLAGS' 13266ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13267ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13268ac_compiler_gnu=$ac_cv_c_compiler_gnu 13269 13270 13271depcc="$CC" am_compiler_list= 13272 13273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 13274$as_echo_n "checking dependency style of $depcc... " >&6; } 13275if ${am_cv_CC_dependencies_compiler_type+:} false; then : 13276 $as_echo_n "(cached) " >&6 13277else 13278 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 13279 # We make a subdir and do the tests there. Otherwise we can end up 13280 # making bogus files that we don't know about and never remove. For 13281 # instance it was reported that on HP-UX the gcc test will end up 13282 # making a dummy file named 'D' -- because '-MD' means "put the output 13283 # in D". 13284 rm -rf conftest.dir 13285 mkdir conftest.dir 13286 # Copy depcomp to subdir because otherwise we won't find it if we're 13287 # using a relative directory. 13288 cp "$am_depcomp" conftest.dir 13289 cd conftest.dir 13290 # We will build objects and dependencies in a subdirectory because 13291 # it helps to detect inapplicable dependency modes. For instance 13292 # both Tru64's cc and ICC support -MD to output dependencies as a 13293 # side effect of compilation, but ICC will put the dependencies in 13294 # the current directory while Tru64 will put them in the object 13295 # directory. 13296 mkdir sub 13297 13298 am_cv_CC_dependencies_compiler_type=none 13299 if test "$am_compiler_list" = ""; then 13300 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 13301 fi 13302 am__universal=false 13303 case " $depcc " in #( 13304 *\ -arch\ *\ -arch\ *) am__universal=true ;; 13305 esac 13306 13307 for depmode in $am_compiler_list; do 13308 # Setup a source with many dependencies, because some compilers 13309 # like to wrap large dependency lists on column 80 (with \), and 13310 # we should not choose a depcomp mode which is confused by this. 13311 # 13312 # We need to recreate these files for each test, as the compiler may 13313 # overwrite some of them when testing with obscure command lines. 13314 # This happens at least with the AIX C compiler. 13315 : > sub/conftest.c 13316 for i in 1 2 3 4 5 6; do 13317 echo '#include "conftst'$i'.h"' >> sub/conftest.c 13318 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 13319 # Solaris 10 /bin/sh. 13320 echo '/* dummy */' > sub/conftst$i.h 13321 done 13322 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 13323 13324 # We check with '-c' and '-o' for the sake of the "dashmstdout" 13325 # mode. It turns out that the SunPro C++ compiler does not properly 13326 # handle '-M -o', and we need to detect this. Also, some Intel 13327 # versions had trouble with output in subdirs. 13328 am__obj=sub/conftest.${OBJEXT-o} 13329 am__minus_obj="-o $am__obj" 13330 case $depmode in 13331 gcc) 13332 # This depmode causes a compiler race in universal mode. 13333 test "$am__universal" = false || continue 13334 ;; 13335 nosideeffect) 13336 # After this tag, mechanisms are not by side-effect, so they'll 13337 # only be used when explicitly requested. 13338 if test "x$enable_dependency_tracking" = xyes; then 13339 continue 13340 else 13341 break 13342 fi 13343 ;; 13344 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 13345 # This compiler won't grok '-c -o', but also, the minuso test has 13346 # not run yet. These depmodes are late enough in the game, and 13347 # so weak that their functioning should not be impacted. 13348 am__obj=conftest.${OBJEXT-o} 13349 am__minus_obj= 13350 ;; 13351 none) break ;; 13352 esac 13353 if depmode=$depmode \ 13354 source=sub/conftest.c object=$am__obj \ 13355 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 13356 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 13357 >/dev/null 2>conftest.err && 13358 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 13359 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 13360 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 13361 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 13362 # icc doesn't choke on unknown options, it will just issue warnings 13363 # or remarks (even with -Werror). So we grep stderr for any message 13364 # that says an option was ignored or not supported. 13365 # When given -MP, icc 7.0 and 7.1 complain thusly: 13366 # icc: Command line warning: ignoring option '-M'; no argument required 13367 # The diagnosis changed in icc 8.0: 13368 # icc: Command line remark: option '-MP' not supported 13369 if (grep 'ignoring option' conftest.err || 13370 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 13371 am_cv_CC_dependencies_compiler_type=$depmode 13372 break 13373 fi 13374 fi 13375 done 13376 13377 cd .. 13378 rm -rf conftest.dir 13379else 13380 am_cv_CC_dependencies_compiler_type=none 13381fi 13382 13383fi 13384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 13385$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 13386CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 13387 13388 if 13389 test "x$enable_dependency_tracking" != xno \ 13390 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 13391 am__fastdepCC_TRUE= 13392 am__fastdepCC_FALSE='#' 13393else 13394 am__fastdepCC_TRUE='#' 13395 am__fastdepCC_FALSE= 13396fi 13397 13398 13399 case $ac_cv_prog_cc_stdc in #( 13400 no) : 13401 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #( 13402 *) : 13403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 13404$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 13405if ${ac_cv_prog_cc_c99+:} false; then : 13406 $as_echo_n "(cached) " >&6 13407else 13408 ac_cv_prog_cc_c99=no 13409ac_save_CC=$CC 13410cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13411/* end confdefs.h. */ 13412#include <stdarg.h> 13413#include <stdbool.h> 13414#include <stdlib.h> 13415#include <wchar.h> 13416#include <stdio.h> 13417 13418// Check varargs macros. These examples are taken from C99 6.10.3.5. 13419#define debug(...) fprintf (stderr, __VA_ARGS__) 13420#define showlist(...) puts (#__VA_ARGS__) 13421#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 13422static void 13423test_varargs_macros (void) 13424{ 13425 int x = 1234; 13426 int y = 5678; 13427 debug ("Flag"); 13428 debug ("X = %d\n", x); 13429 showlist (The first, second, and third items.); 13430 report (x>y, "x is %d but y is %d", x, y); 13431} 13432 13433// Check long long types. 13434#define BIG64 18446744073709551615ull 13435#define BIG32 4294967295ul 13436#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 13437#if !BIG_OK 13438 your preprocessor is broken; 13439#endif 13440#if BIG_OK 13441#else 13442 your preprocessor is broken; 13443#endif 13444static long long int bignum = -9223372036854775807LL; 13445static unsigned long long int ubignum = BIG64; 13446 13447struct incomplete_array 13448{ 13449 int datasize; 13450 double data[]; 13451}; 13452 13453struct named_init { 13454 int number; 13455 const wchar_t *name; 13456 double average; 13457}; 13458 13459typedef const char *ccp; 13460 13461static inline int 13462test_restrict (ccp restrict text) 13463{ 13464 // See if C++-style comments work. 13465 // Iterate through items via the restricted pointer. 13466 // Also check for declarations in for loops. 13467 for (unsigned int i = 0; *(text+i) != '\0'; ++i) 13468 continue; 13469 return 0; 13470} 13471 13472// Check varargs and va_copy. 13473static void 13474test_varargs (const char *format, ...) 13475{ 13476 va_list args; 13477 va_start (args, format); 13478 va_list args_copy; 13479 va_copy (args_copy, args); 13480 13481 const char *str; 13482 int number; 13483 float fnumber; 13484 13485 while (*format) 13486 { 13487 switch (*format++) 13488 { 13489 case 's': // string 13490 str = va_arg (args_copy, const char *); 13491 break; 13492 case 'd': // int 13493 number = va_arg (args_copy, int); 13494 break; 13495 case 'f': // float 13496 fnumber = va_arg (args_copy, double); 13497 break; 13498 default: 13499 break; 13500 } 13501 } 13502 va_end (args_copy); 13503 va_end (args); 13504} 13505 13506int 13507main () 13508{ 13509 13510 // Check bool. 13511 _Bool success = false; 13512 13513 // Check restrict. 13514 if (test_restrict ("String literal") == 0) 13515 success = true; 13516 char *restrict newvar = "Another string"; 13517 13518 // Check varargs. 13519 test_varargs ("s, d' f .", "string", 65, 34.234); 13520 test_varargs_macros (); 13521 13522 // Check flexible array members. 13523 struct incomplete_array *ia = 13524 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 13525 ia->datasize = 10; 13526 for (int i = 0; i < ia->datasize; ++i) 13527 ia->data[i] = i * 1.234; 13528 13529 // Check named initializers. 13530 struct named_init ni = { 13531 .number = 34, 13532 .name = L"Test wide string", 13533 .average = 543.34343, 13534 }; 13535 13536 ni.number = 58; 13537 13538 int dynamic_array[ni.number]; 13539 dynamic_array[ni.number - 1] = 543; 13540 13541 // work around unused variable warnings 13542 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 13543 || dynamic_array[ni.number - 1] != 543); 13544 13545 ; 13546 return 0; 13547} 13548_ACEOF 13549for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 13550do 13551 CC="$ac_save_CC $ac_arg" 13552 if ac_fn_c_try_compile "$LINENO"; then : 13553 ac_cv_prog_cc_c99=$ac_arg 13554fi 13555rm -f core conftest.err conftest.$ac_objext 13556 test "x$ac_cv_prog_cc_c99" != "xno" && break 13557done 13558rm -f conftest.$ac_ext 13559CC=$ac_save_CC 13560 13561fi 13562# AC_CACHE_VAL 13563case "x$ac_cv_prog_cc_c99" in 13564 x) 13565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 13566$as_echo "none needed" >&6; } ;; 13567 xno) 13568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 13569$as_echo "unsupported" >&6; } ;; 13570 *) 13571 CC="$CC $ac_cv_prog_cc_c99" 13572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 13573$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 13574esac 13575if test "x$ac_cv_prog_cc_c99" != xno; then : 13576 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 13577else 13578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 13579$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 13580if ${ac_cv_prog_cc_c89+:} false; then : 13581 $as_echo_n "(cached) " >&6 13582else 13583 ac_cv_prog_cc_c89=no 13584ac_save_CC=$CC 13585cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13586/* end confdefs.h. */ 13587#include <stdarg.h> 13588#include <stdio.h> 13589struct stat; 13590/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 13591struct buf { int x; }; 13592FILE * (*rcsopen) (struct buf *, struct stat *, int); 13593static char *e (p, i) 13594 char **p; 13595 int i; 13596{ 13597 return p[i]; 13598} 13599static char *f (char * (*g) (char **, int), char **p, ...) 13600{ 13601 char *s; 13602 va_list v; 13603 va_start (v,p); 13604 s = g (p, va_arg (v,int)); 13605 va_end (v); 13606 return s; 13607} 13608 13609/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 13610 function prototypes and stuff, but not '\xHH' hex character constants. 13611 These don't provoke an error unfortunately, instead are silently treated 13612 as 'x'. The following induces an error, until -std is added to get 13613 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 13614 array size at least. It's necessary to write '\x00'==0 to get something 13615 that's true only with -std. */ 13616int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 13617 13618/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 13619 inside strings and character constants. */ 13620#define FOO(x) 'x' 13621int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 13622 13623int test (int i, double x); 13624struct s1 {int (*f) (int a);}; 13625struct s2 {int (*f) (double a);}; 13626int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 13627int argc; 13628char **argv; 13629int 13630main () 13631{ 13632return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 13633 ; 13634 return 0; 13635} 13636_ACEOF 13637for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 13638 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 13639do 13640 CC="$ac_save_CC $ac_arg" 13641 if ac_fn_c_try_compile "$LINENO"; then : 13642 ac_cv_prog_cc_c89=$ac_arg 13643fi 13644rm -f core conftest.err conftest.$ac_objext 13645 test "x$ac_cv_prog_cc_c89" != "xno" && break 13646done 13647rm -f conftest.$ac_ext 13648CC=$ac_save_CC 13649 13650fi 13651# AC_CACHE_VAL 13652case "x$ac_cv_prog_cc_c89" in 13653 x) 13654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 13655$as_echo "none needed" >&6; } ;; 13656 xno) 13657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 13658$as_echo "unsupported" >&6; } ;; 13659 *) 13660 CC="$CC $ac_cv_prog_cc_c89" 13661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 13662$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 13663esac 13664if test "x$ac_cv_prog_cc_c89" != xno; then : 13665 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 13666else 13667 ac_cv_prog_cc_stdc=no 13668fi 13669 13670fi 13671 ;; 13672esac 13673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5 13674$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; } 13675 if ${ac_cv_prog_cc_stdc+:} false; then : 13676 $as_echo_n "(cached) " >&6 13677fi 13678 13679 case $ac_cv_prog_cc_stdc in #( 13680 no) : 13681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 13682$as_echo "unsupported" >&6; } ;; #( 13683 '') : 13684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 13685$as_echo "none needed" >&6; } ;; #( 13686 *) : 13687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5 13688$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;; 13689esac 13690 13691 13692 13693 13694# Extract the first word of "valgrind", so it can be a program name with args. 13695set dummy valgrind; ac_word=$2 13696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13697$as_echo_n "checking for $ac_word... " >&6; } 13698if ${ac_cv_path_VALGRIND_PATH+:} false; then : 13699 $as_echo_n "(cached) " >&6 13700else 13701 case $VALGRIND_PATH in 13702 [\\/]* | ?:[\\/]*) 13703 ac_cv_path_VALGRIND_PATH="$VALGRIND_PATH" # Let the user override the test with a path. 13704 ;; 13705 *) 13706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13707for as_dir in $PATH 13708do 13709 IFS=$as_save_IFS 13710 test -z "$as_dir" && as_dir=. 13711 for ac_exec_ext in '' $ac_executable_extensions; do 13712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13713 ac_cv_path_VALGRIND_PATH="$as_dir/$ac_word$ac_exec_ext" 13714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13715 break 2 13716 fi 13717done 13718 done 13719IFS=$as_save_IFS 13720 13721 test -z "$ac_cv_path_VALGRIND_PATH" && ac_cv_path_VALGRIND_PATH="no" 13722 ;; 13723esac 13724fi 13725VALGRIND_PATH=$ac_cv_path_VALGRIND_PATH 13726if test -n "$VALGRIND_PATH"; then 13727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND_PATH" >&5 13728$as_echo "$VALGRIND_PATH" >&6; } 13729else 13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13731$as_echo "no" >&6; } 13732fi 13733 13734 13735 if test ! "x$VALGRIND_PATH" = "xno"; then 13736 HAVE_VALGRIND_TRUE= 13737 HAVE_VALGRIND_FALSE='#' 13738else 13739 HAVE_VALGRIND_TRUE='#' 13740 HAVE_VALGRIND_FALSE= 13741fi 13742 13743 13744 13745 if test "x$PACKAGE_TARNAME" = "x" 13746 then 13747 as_fn_error $? "Internal error - PACKAGE_TARNAME not set" "$LINENO" 5 13748 fi 13749 docdir="\$(datadir)/doc/$PACKAGE_TARNAME-$GST_API_VERSION" 13750 13751 # Check whether --enable-docbook was given. 13752if test "${enable_docbook+set}" = set; then : 13753 enableval=$enable_docbook; 13754else 13755 enable_docbook=no 13756fi 13757 13758 13759 have_docbook=no 13760 13761 if test x$enable_docbook = xyes; then 13762 13763 # Extract the first word of "docbook2ps", so it can be a program name with args. 13764set dummy docbook2ps; ac_word=$2 13765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13766$as_echo_n "checking for $ac_word... " >&6; } 13767if ${ac_cv_prog_HAVE_DOCBOOK2PS+:} false; then : 13768 $as_echo_n "(cached) " >&6 13769else 13770 if test -n "$HAVE_DOCBOOK2PS"; then 13771 ac_cv_prog_HAVE_DOCBOOK2PS="$HAVE_DOCBOOK2PS" # Let the user override the test. 13772else 13773as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13774for as_dir in $PATH 13775do 13776 IFS=$as_save_IFS 13777 test -z "$as_dir" && as_dir=. 13778 for ac_exec_ext in '' $ac_executable_extensions; do 13779 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13780 ac_cv_prog_HAVE_DOCBOOK2PS="yes" 13781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13782 break 2 13783 fi 13784done 13785 done 13786IFS=$as_save_IFS 13787 13788 test -z "$ac_cv_prog_HAVE_DOCBOOK2PS" && ac_cv_prog_HAVE_DOCBOOK2PS="no" 13789fi 13790fi 13791HAVE_DOCBOOK2PS=$ac_cv_prog_HAVE_DOCBOOK2PS 13792if test -n "$HAVE_DOCBOOK2PS"; then 13793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DOCBOOK2PS" >&5 13794$as_echo "$HAVE_DOCBOOK2PS" >&6; } 13795else 13796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13797$as_echo "no" >&6; } 13798fi 13799 13800 13801 # Extract the first word of "xsltproc", so it can be a program name with args. 13802set dummy xsltproc; ac_word=$2 13803{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13804$as_echo_n "checking for $ac_word... " >&6; } 13805if ${ac_cv_prog_HAVE_XSLTPROC+:} false; then : 13806 $as_echo_n "(cached) " >&6 13807else 13808 if test -n "$HAVE_XSLTPROC"; then 13809 ac_cv_prog_HAVE_XSLTPROC="$HAVE_XSLTPROC" # Let the user override the test. 13810else 13811as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13812for as_dir in $PATH 13813do 13814 IFS=$as_save_IFS 13815 test -z "$as_dir" && as_dir=. 13816 for ac_exec_ext in '' $ac_executable_extensions; do 13817 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13818 ac_cv_prog_HAVE_XSLTPROC="yes" 13819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13820 break 2 13821 fi 13822done 13823 done 13824IFS=$as_save_IFS 13825 13826 test -z "$ac_cv_prog_HAVE_XSLTPROC" && ac_cv_prog_HAVE_XSLTPROC="no" 13827fi 13828fi 13829HAVE_XSLTPROC=$ac_cv_prog_HAVE_XSLTPROC 13830if test -n "$HAVE_XSLTPROC"; then 13831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XSLTPROC" >&5 13832$as_echo "$HAVE_XSLTPROC" >&6; } 13833else 13834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13835$as_echo "no" >&6; } 13836fi 13837 13838 13839 # Extract the first word of "jadetex", so it can be a program name with args. 13840set dummy jadetex; ac_word=$2 13841{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13842$as_echo_n "checking for $ac_word... " >&6; } 13843if ${ac_cv_prog_HAVE_JADETEX+:} false; then : 13844 $as_echo_n "(cached) " >&6 13845else 13846 if test -n "$HAVE_JADETEX"; then 13847 ac_cv_prog_HAVE_JADETEX="$HAVE_JADETEX" # Let the user override the test. 13848else 13849as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13850for as_dir in $PATH 13851do 13852 IFS=$as_save_IFS 13853 test -z "$as_dir" && as_dir=. 13854 for ac_exec_ext in '' $ac_executable_extensions; do 13855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13856 ac_cv_prog_HAVE_JADETEX="yes" 13857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13858 break 2 13859 fi 13860done 13861 done 13862IFS=$as_save_IFS 13863 13864 test -z "$ac_cv_prog_HAVE_JADETEX" && ac_cv_prog_HAVE_JADETEX="no" 13865fi 13866fi 13867HAVE_JADETEX=$ac_cv_prog_HAVE_JADETEX 13868if test -n "$HAVE_JADETEX"; then 13869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_JADETEX" >&5 13870$as_echo "$HAVE_JADETEX" >&6; } 13871else 13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13873$as_echo "no" >&6; } 13874fi 13875 13876 13877 # Extract the first word of "ps2pdf", so it can be a program name with args. 13878set dummy ps2pdf; ac_word=$2 13879{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13880$as_echo_n "checking for $ac_word... " >&6; } 13881if ${ac_cv_prog_HAVE_PS2PDF+:} false; then : 13882 $as_echo_n "(cached) " >&6 13883else 13884 if test -n "$HAVE_PS2PDF"; then 13885 ac_cv_prog_HAVE_PS2PDF="$HAVE_PS2PDF" # Let the user override the test. 13886else 13887as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13888for as_dir in $PATH 13889do 13890 IFS=$as_save_IFS 13891 test -z "$as_dir" && as_dir=. 13892 for ac_exec_ext in '' $ac_executable_extensions; do 13893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13894 ac_cv_prog_HAVE_PS2PDF="yes" 13895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13896 break 2 13897 fi 13898done 13899 done 13900IFS=$as_save_IFS 13901 13902 test -z "$ac_cv_prog_HAVE_PS2PDF" && ac_cv_prog_HAVE_PS2PDF="no" 13903fi 13904fi 13905HAVE_PS2PDF=$ac_cv_prog_HAVE_PS2PDF 13906if test -n "$HAVE_PS2PDF"; then 13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PS2PDF" >&5 13908$as_echo "$HAVE_PS2PDF" >&6; } 13909else 13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13911$as_echo "no" >&6; } 13912fi 13913 13914 13915 13916 13917 XSLTPROC_FLAGS=--nonet 13918 DOCBOOK_ROOT= 13919 TYPE_LC=xml 13920 TYPE_UC=XML 13921 DOCBOOK_VERSION=4.1.2 13922 13923 if test -n "$XML_CATALOG_FILES"; then 13924 oldIFS=$IFS 13925 IFS=' ' 13926 for xml_catalog_file in $XML_CATALOG_FILES; do 13927 if test -f $xml_catalog_file; then 13928 XML_CATALOG=$xml_catalog_file 13929 CAT_ENTRY_START='<!--' 13930 CAT_ENTRY_END='-->' 13931 break 13932 fi 13933 done 13934 IFS=$oldIFS 13935 elif test ! -f /etc/xml/catalog; then 13936 for i in /usr/share/sgml/docbook/stylesheet/xsl/nwalsh /usr/share/sgml/docbook/xsl-stylesheets/ /usr/local/share/xsl/docbook ; 13937 do 13938 if test -d "$i"; then 13939 DOCBOOK_ROOT=$i 13940 fi 13941 done 13942 else 13943 XML_CATALOG=/etc/xml/catalog 13944 CAT_ENTRY_START='<!--' 13945 CAT_ENTRY_END='-->' 13946 fi 13947 13948 # Extract the first word of "xsltproc", so it can be a program name with args. 13949set dummy xsltproc; ac_word=$2 13950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13951$as_echo_n "checking for $ac_word... " >&6; } 13952if ${ac_cv_prog_XSLTPROC+:} false; then : 13953 $as_echo_n "(cached) " >&6 13954else 13955 if test -n "$XSLTPROC"; then 13956 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test. 13957else 13958as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13959for as_dir in $PATH 13960do 13961 IFS=$as_save_IFS 13962 test -z "$as_dir" && as_dir=. 13963 for ac_exec_ext in '' $ac_executable_extensions; do 13964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13965 ac_cv_prog_XSLTPROC="xsltproc" 13966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13967 break 2 13968 fi 13969done 13970 done 13971IFS=$as_save_IFS 13972 13973fi 13974fi 13975XSLTPROC=$ac_cv_prog_XSLTPROC 13976if test -n "$XSLTPROC"; then 13977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5 13978$as_echo "$XSLTPROC" >&6; } 13979else 13980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13981$as_echo "no" >&6; } 13982fi 13983 13984 13985 XSLTPROC_WORKS=no 13986 if test -n "$XSLTPROC"; then 13987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether xsltproc docbook processing works" >&5 13988$as_echo_n "checking whether xsltproc docbook processing works... " >&6; } 13989 13990 if test -n "$XML_CATALOG"; then 13991 DB_FILE="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl" 13992 else 13993 DB_FILE="$DOCBOOK_ROOT/xhtml/docbook.xsl" 13994 fi 13995 $XSLTPROC $XSLTPROC_FLAGS $DB_FILE >/dev/null 2>&1 << END 13996<?xml version="1.0" encoding='ISO-8859-1'?> 13997<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook $TYPE_UC V$DOCBOOK_VERSION//EN" "http://www.oasis-open.org/docbook/$TYPE_LC/$DOCBOOK_VERSION/docbookx.dtd"> 13998<book id="test"> 13999</book> 14000END 14001 if test "$?" = 0; then 14002 XSLTPROC_WORKS=yes 14003 fi 14004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC_WORKS" >&5 14005$as_echo "$XSLTPROC_WORKS" >&6; } 14006 fi 14007 14008 if test "x$XSLTPROC_WORKS" = "xyes"; then 14009 have_docbook=yes 14010 else 14011 have_docbook=no 14012 fi 14013 14014 14015 14016 14017 14018 14019 14020 14021 # Extract the first word of "dvips", so it can be a program name with args. 14022set dummy dvips; ac_word=$2 14023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14024$as_echo_n "checking for $ac_word... " >&6; } 14025if ${ac_cv_prog_HAVE_DVIPS+:} false; then : 14026 $as_echo_n "(cached) " >&6 14027else 14028 if test -n "$HAVE_DVIPS"; then 14029 ac_cv_prog_HAVE_DVIPS="$HAVE_DVIPS" # Let the user override the test. 14030else 14031as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14032for as_dir in $PATH 14033do 14034 IFS=$as_save_IFS 14035 test -z "$as_dir" && as_dir=. 14036 for ac_exec_ext in '' $ac_executable_extensions; do 14037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14038 ac_cv_prog_HAVE_DVIPS="yes" 14039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14040 break 2 14041 fi 14042done 14043 done 14044IFS=$as_save_IFS 14045 14046 test -z "$ac_cv_prog_HAVE_DVIPS" && ac_cv_prog_HAVE_DVIPS="no" 14047fi 14048fi 14049HAVE_DVIPS=$ac_cv_prog_HAVE_DVIPS 14050if test -n "$HAVE_DVIPS"; then 14051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DVIPS" >&5 14052$as_echo "$HAVE_DVIPS" >&6; } 14053else 14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14055$as_echo "no" >&6; } 14056fi 14057 14058 14059 # Extract the first word of "xmllint", so it can be a program name with args. 14060set dummy xmllint; ac_word=$2 14061{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14062$as_echo_n "checking for $ac_word... " >&6; } 14063if ${ac_cv_prog_HAVE_XMLLINT+:} false; then : 14064 $as_echo_n "(cached) " >&6 14065else 14066 if test -n "$HAVE_XMLLINT"; then 14067 ac_cv_prog_HAVE_XMLLINT="$HAVE_XMLLINT" # Let the user override the test. 14068else 14069as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14070for as_dir in $PATH 14071do 14072 IFS=$as_save_IFS 14073 test -z "$as_dir" && as_dir=. 14074 for ac_exec_ext in '' $ac_executable_extensions; do 14075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14076 ac_cv_prog_HAVE_XMLLINT="yes" 14077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14078 break 2 14079 fi 14080done 14081 done 14082IFS=$as_save_IFS 14083 14084 test -z "$ac_cv_prog_HAVE_XMLLINT" && ac_cv_prog_HAVE_XMLLINT="no" 14085fi 14086fi 14087HAVE_XMLLINT=$ac_cv_prog_HAVE_XMLLINT 14088if test -n "$HAVE_XMLLINT"; then 14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XMLLINT" >&5 14090$as_echo "$HAVE_XMLLINT" >&6; } 14091else 14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14093$as_echo "no" >&6; } 14094fi 14095 14096 14097 14098 # Extract the first word of "pngtopnm", so it can be a program name with args. 14099set dummy pngtopnm; ac_word=$2 14100{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14101$as_echo_n "checking for $ac_word... " >&6; } 14102if ${ac_cv_prog_HAVE_PNGTOPNM+:} false; then : 14103 $as_echo_n "(cached) " >&6 14104else 14105 if test -n "$HAVE_PNGTOPNM"; then 14106 ac_cv_prog_HAVE_PNGTOPNM="$HAVE_PNGTOPNM" # Let the user override the test. 14107else 14108as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14109for as_dir in $PATH 14110do 14111 IFS=$as_save_IFS 14112 test -z "$as_dir" && as_dir=. 14113 for ac_exec_ext in '' $ac_executable_extensions; do 14114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14115 ac_cv_prog_HAVE_PNGTOPNM="yes" 14116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14117 break 2 14118 fi 14119done 14120 done 14121IFS=$as_save_IFS 14122 14123 test -z "$ac_cv_prog_HAVE_PNGTOPNM" && ac_cv_prog_HAVE_PNGTOPNM="no" 14124fi 14125fi 14126HAVE_PNGTOPNM=$ac_cv_prog_HAVE_PNGTOPNM 14127if test -n "$HAVE_PNGTOPNM"; then 14128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PNGTOPNM" >&5 14129$as_echo "$HAVE_PNGTOPNM" >&6; } 14130else 14131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14132$as_echo "no" >&6; } 14133fi 14134 14135 14136 # Extract the first word of "pnmtops", so it can be a program name with args. 14137set dummy pnmtops; ac_word=$2 14138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14139$as_echo_n "checking for $ac_word... " >&6; } 14140if ${ac_cv_prog_HAVE_PNMTOPS+:} false; then : 14141 $as_echo_n "(cached) " >&6 14142else 14143 if test -n "$HAVE_PNMTOPS"; then 14144 ac_cv_prog_HAVE_PNMTOPS="$HAVE_PNMTOPS" # Let the user override the test. 14145else 14146as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14147for as_dir in $PATH 14148do 14149 IFS=$as_save_IFS 14150 test -z "$as_dir" && as_dir=. 14151 for ac_exec_ext in '' $ac_executable_extensions; do 14152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14153 ac_cv_prog_HAVE_PNMTOPS="yes" 14154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14155 break 2 14156 fi 14157done 14158 done 14159IFS=$as_save_IFS 14160 14161 test -z "$ac_cv_prog_HAVE_PNMTOPS" && ac_cv_prog_HAVE_PNMTOPS="no" 14162fi 14163fi 14164HAVE_PNMTOPS=$ac_cv_prog_HAVE_PNMTOPS 14165if test -n "$HAVE_PNMTOPS"; then 14166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PNMTOPS" >&5 14167$as_echo "$HAVE_PNMTOPS" >&6; } 14168else 14169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14170$as_echo "no" >&6; } 14171fi 14172 14173 14174 # Extract the first word of "epstopdf", so it can be a program name with args. 14175set dummy epstopdf; ac_word=$2 14176{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14177$as_echo_n "checking for $ac_word... " >&6; } 14178if ${ac_cv_prog_HAVE_EPSTOPDF+:} false; then : 14179 $as_echo_n "(cached) " >&6 14180else 14181 if test -n "$HAVE_EPSTOPDF"; then 14182 ac_cv_prog_HAVE_EPSTOPDF="$HAVE_EPSTOPDF" # Let the user override the test. 14183else 14184as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14185for as_dir in $PATH 14186do 14187 IFS=$as_save_IFS 14188 test -z "$as_dir" && as_dir=. 14189 for ac_exec_ext in '' $ac_executable_extensions; do 14190 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14191 ac_cv_prog_HAVE_EPSTOPDF="yes" 14192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14193 break 2 14194 fi 14195done 14196 done 14197IFS=$as_save_IFS 14198 14199 test -z "$ac_cv_prog_HAVE_EPSTOPDF" && ac_cv_prog_HAVE_EPSTOPDF="no" 14200fi 14201fi 14202HAVE_EPSTOPDF=$ac_cv_prog_HAVE_EPSTOPDF 14203if test -n "$HAVE_EPSTOPDF"; then 14204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_EPSTOPDF" >&5 14205$as_echo "$HAVE_EPSTOPDF" >&6; } 14206else 14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14208$as_echo "no" >&6; } 14209fi 14210 14211 14212 14213 if test "x$HAVE_XSLTPROC" = "xyes" && \ 14214 test "x$enable_docbook" = "xyes" && \ 14215 test "x$HAVE_XMLLINT" = "xyes"; then 14216 DOC_HTML=yes 14217 { $as_echo "$as_me:${as_lineno-$LINENO}: Will output HTML documentation" >&5 14218$as_echo "$as_me: Will output HTML documentation" >&6;} 14219 else 14220 DOC_HTML=no 14221 { $as_echo "$as_me:${as_lineno-$LINENO}: Will not output HTML documentation" >&5 14222$as_echo "$as_me: Will not output HTML documentation" >&6;} 14223 fi 14224 14225 if test "x$HAVE_DOCBOOK2PS" = "xyes" && \ 14226 test "x$enable_docbook" = "xyes" && \ 14227 test "x$HAVE_XMLLINT" = "xyes" && \ 14228 test "x$HAVE_JADETEX" = "xyes" && \ 14229 test "x$HAVE_DVIPS" = "xyes" && \ 14230 test "x$HAVE_PNGTOPNM" = "xyes" && \ 14231 test "x$HAVE_PNMTOPS" = "xyes"; then 14232 DOC_PS=yes 14233 { $as_echo "$as_me:${as_lineno-$LINENO}: Will output PS documentation" >&5 14234$as_echo "$as_me: Will output PS documentation" >&6;} 14235 else 14236 DOC_PS=no 14237 { $as_echo "$as_me:${as_lineno-$LINENO}: Will not output PS documentation" >&5 14238$as_echo "$as_me: Will not output PS documentation" >&6;} 14239 fi 14240 14241 if test "x$DOC_PS" = "xyes" && \ 14242 test "x$enable_docbook" = "xyes" && \ 14243 test "x$HAVE_XMLLINT" = "xyes" && \ 14244 test "x$HAVE_PS2PDF" = "xyes"; then 14245 DOC_PDF=yes 14246 { $as_echo "$as_me:${as_lineno-$LINENO}: Will output PDF documentation" >&5 14247$as_echo "$as_me: Will output PDF documentation" >&6;} 14248 else 14249 DOC_PDF=no 14250 { $as_echo "$as_me:${as_lineno-$LINENO}: Will not output PDF documentation" >&5 14251$as_echo "$as_me: Will not output PDF documentation" >&6;} 14252 fi 14253 14254 if test "x$have_docbook" != "xyes"; then 14255 enable_docbook=no 14256 fi 14257 fi 14258 14259 if test "x$have_docbook" = "xyes"; then 14260 { $as_echo "$as_me:${as_lineno-$LINENO}: Installing documentation in $docdir" >&5 14261$as_echo "$as_me: Installing documentation in $docdir" >&6;} 14262 14263 fi 14264 14265 if test x$enable_docbook = xyes; then 14266 ENABLE_DOCBOOK_TRUE= 14267 ENABLE_DOCBOOK_FALSE='#' 14268else 14269 ENABLE_DOCBOOK_TRUE='#' 14270 ENABLE_DOCBOOK_FALSE= 14271fi 14272 14273 if test x$DOC_HTML = xyes; then 14274 DOC_HTML_TRUE= 14275 DOC_HTML_FALSE='#' 14276else 14277 DOC_HTML_TRUE='#' 14278 DOC_HTML_FALSE= 14279fi 14280 14281 if test x$DOC_PDF = xyes; then 14282 DOC_PDF_TRUE= 14283 DOC_PDF_FALSE='#' 14284else 14285 DOC_PDF_TRUE='#' 14286 DOC_PDF_FALSE= 14287fi 14288 14289 if test x$DOC_PS = xyes; then 14290 DOC_PS_TRUE= 14291 DOC_PS_FALSE='#' 14292else 14293 DOC_PS_TRUE='#' 14294 DOC_PS_FALSE= 14295fi 14296 14297 14298 14299 14300 14301 # Extract the first word of "gtkdoc-check", so it can be a program name with args. 14302set dummy gtkdoc-check; ac_word=$2 14303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14304$as_echo_n "checking for $ac_word... " >&6; } 14305if ${ac_cv_path_GTKDOC_CHECK+:} false; then : 14306 $as_echo_n "(cached) " >&6 14307else 14308 case $GTKDOC_CHECK in 14309 [\\/]* | ?:[\\/]*) 14310 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path. 14311 ;; 14312 *) 14313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14314for as_dir in $PATH 14315do 14316 IFS=$as_save_IFS 14317 test -z "$as_dir" && as_dir=. 14318 for ac_exec_ext in '' $ac_executable_extensions; do 14319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14320 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext" 14321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14322 break 2 14323 fi 14324done 14325 done 14326IFS=$as_save_IFS 14327 14328 ;; 14329esac 14330fi 14331GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK 14332if test -n "$GTKDOC_CHECK"; then 14333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5 14334$as_echo "$GTKDOC_CHECK" >&6; } 14335else 14336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14337$as_echo "no" >&6; } 14338fi 14339 14340 14341 for ac_prog in gtkdoc-rebase 14342do 14343 # Extract the first word of "$ac_prog", so it can be a program name with args. 14344set dummy $ac_prog; ac_word=$2 14345{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14346$as_echo_n "checking for $ac_word... " >&6; } 14347if ${ac_cv_path_GTKDOC_REBASE+:} false; then : 14348 $as_echo_n "(cached) " >&6 14349else 14350 case $GTKDOC_REBASE in 14351 [\\/]* | ?:[\\/]*) 14352 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path. 14353 ;; 14354 *) 14355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14356for as_dir in $PATH 14357do 14358 IFS=$as_save_IFS 14359 test -z "$as_dir" && as_dir=. 14360 for ac_exec_ext in '' $ac_executable_extensions; do 14361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14362 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext" 14363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14364 break 2 14365 fi 14366done 14367 done 14368IFS=$as_save_IFS 14369 14370 ;; 14371esac 14372fi 14373GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE 14374if test -n "$GTKDOC_REBASE"; then 14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5 14376$as_echo "$GTKDOC_REBASE" >&6; } 14377else 14378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14379$as_echo "no" >&6; } 14380fi 14381 14382 14383 test -n "$GTKDOC_REBASE" && break 14384done 14385test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true" 14386 14387 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args. 14388set dummy gtkdoc-mkpdf; ac_word=$2 14389{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14390$as_echo_n "checking for $ac_word... " >&6; } 14391if ${ac_cv_path_GTKDOC_MKPDF+:} false; then : 14392 $as_echo_n "(cached) " >&6 14393else 14394 case $GTKDOC_MKPDF in 14395 [\\/]* | ?:[\\/]*) 14396 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path. 14397 ;; 14398 *) 14399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14400for as_dir in $PATH 14401do 14402 IFS=$as_save_IFS 14403 test -z "$as_dir" && as_dir=. 14404 for ac_exec_ext in '' $ac_executable_extensions; do 14405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14406 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext" 14407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14408 break 2 14409 fi 14410done 14411 done 14412IFS=$as_save_IFS 14413 14414 ;; 14415esac 14416fi 14417GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF 14418if test -n "$GTKDOC_MKPDF"; then 14419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5 14420$as_echo "$GTKDOC_MKPDF" >&6; } 14421else 14422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14423$as_echo "no" >&6; } 14424fi 14425 14426 14427 14428 14429# Check whether --with-html-dir was given. 14430if test "${with_html_dir+set}" = set; then : 14431 withval=$with_html_dir; 14432else 14433 with_html_dir='${datadir}/gtk-doc/html' 14434fi 14435 14436 HTML_DIR="$with_html_dir" 14437 14438 14439 # Check whether --enable-gtk-doc was given. 14440if test "${enable_gtk_doc+set}" = set; then : 14441 enableval=$enable_gtk_doc; 14442else 14443 enable_gtk_doc=no 14444fi 14445 14446 14447 if test x$enable_gtk_doc = xyes; then 14448 if test -n "$PKG_CONFIG" && \ 14449 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.3\""; } >&5 14450 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.3") 2>&5 14451 ac_status=$? 14452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14453 test $ac_status = 0; }; then 14454 : 14455else 14456 as_fn_error $? "You need to have gtk-doc >= 1.3 installed to build $PACKAGE_NAME" "$LINENO" 5 14457fi 14458 if test "x$PACKAGE_NAME" != "xglib"; then 14459 14460pkg_failed=no 14461{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5 14462$as_echo_n "checking for GTKDOC_DEPS... " >&6; } 14463 14464if test -n "$PKG_CONFIG"; then 14465 if test -n "$GTKDOC_DEPS_CFLAGS"; then 14466 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS" 14467 else 14468 if test -n "$PKG_CONFIG" && \ 14469 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5 14470 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5 14471 ac_status=$? 14472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14473 test $ac_status = 0; }; then 14474 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null` 14475else 14476 pkg_failed=yes 14477fi 14478 fi 14479else 14480 pkg_failed=untried 14481fi 14482if test -n "$PKG_CONFIG"; then 14483 if test -n "$GTKDOC_DEPS_LIBS"; then 14484 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS" 14485 else 14486 if test -n "$PKG_CONFIG" && \ 14487 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5 14488 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5 14489 ac_status=$? 14490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14491 test $ac_status = 0; }; then 14492 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null` 14493else 14494 pkg_failed=yes 14495fi 14496 fi 14497else 14498 pkg_failed=untried 14499fi 14500 14501 14502 14503if test $pkg_failed = yes; then 14504 14505if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14506 _pkg_short_errors_supported=yes 14507else 14508 _pkg_short_errors_supported=no 14509fi 14510 if test $_pkg_short_errors_supported = yes; then 14511 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0"` 14512 else 14513 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0"` 14514 fi 14515 # Put the nasty error message in config.log where it belongs 14516 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5 14517 14518 as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met: 14519 14520$GTKDOC_DEPS_PKG_ERRORS 14521 14522Consider adjusting the PKG_CONFIG_PATH environment variable if you 14523installed software in a non-standard prefix. 14524 14525Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS 14526and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config. 14527See the pkg-config man page for more details. 14528" "$LINENO" 5 14529elif test $pkg_failed = untried; then 14530 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14531$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14532as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 14533is in your PATH or set the PKG_CONFIG environment variable to the full 14534path to pkg-config. 14535 14536Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS 14537and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config. 14538See the pkg-config man page for more details. 14539 14540To get pkg-config, see <http://pkg-config.freedesktop.org/>. 14541See \`config.log' for more details" "$LINENO" 5; } 14542else 14543 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS 14544 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS 14545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14546$as_echo "yes" >&6; } 14547 : 14548fi 14549 fi 14550 if test -z "$SED"; then 14551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 14552$as_echo_n "checking for a sed that does not truncate output... " >&6; } 14553if ${ac_cv_path_SED+:} false; then : 14554 $as_echo_n "(cached) " >&6 14555else 14556 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 14557 for ac_i in 1 2 3 4 5 6 7; do 14558 ac_script="$ac_script$as_nl$ac_script" 14559 done 14560 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 14561 { ac_script=; unset ac_script;} 14562 if test -z "$SED"; then 14563 ac_path_SED_found=false 14564 # Loop through the user's path and test for each of PROGNAME-LIST 14565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14566for as_dir in $PATH 14567do 14568 IFS=$as_save_IFS 14569 test -z "$as_dir" && as_dir=. 14570 for ac_prog in sed gsed; do 14571 for ac_exec_ext in '' $ac_executable_extensions; do 14572 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 14573 as_fn_executable_p "$ac_path_SED" || continue 14574# Check for GNU ac_path_SED and select it if it is found. 14575 # Check for GNU $ac_path_SED 14576case `"$ac_path_SED" --version 2>&1` in 14577*GNU*) 14578 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 14579*) 14580 ac_count=0 14581 $as_echo_n 0123456789 >"conftest.in" 14582 while : 14583 do 14584 cat "conftest.in" "conftest.in" >"conftest.tmp" 14585 mv "conftest.tmp" "conftest.in" 14586 cp "conftest.in" "conftest.nl" 14587 $as_echo '' >> "conftest.nl" 14588 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 14589 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 14590 as_fn_arith $ac_count + 1 && ac_count=$as_val 14591 if test $ac_count -gt ${ac_path_SED_max-0}; then 14592 # Best one so far, save it but keep looking for a better one 14593 ac_cv_path_SED="$ac_path_SED" 14594 ac_path_SED_max=$ac_count 14595 fi 14596 # 10*(2^10) chars as input seems more than enough 14597 test $ac_count -gt 10 && break 14598 done 14599 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 14600esac 14601 14602 $ac_path_SED_found && break 3 14603 done 14604 done 14605 done 14606IFS=$as_save_IFS 14607 if test -z "$ac_cv_path_SED"; then 14608 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 14609 fi 14610else 14611 ac_cv_path_SED=$SED 14612fi 14613 14614fi 14615{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 14616$as_echo "$ac_cv_path_SED" >&6; } 14617 SED="$ac_cv_path_SED" 14618 rm -f conftest.sed 14619 14620 fi 14621 fi 14622 14623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5 14624$as_echo_n "checking whether to build gtk-doc documentation... " >&6; } 14625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5 14626$as_echo "$enable_gtk_doc" >&6; } 14627 14628 # Check whether --enable-gtk-doc-html was given. 14629if test "${enable_gtk_doc_html+set}" = set; then : 14630 enableval=$enable_gtk_doc_html; 14631else 14632 enable_gtk_doc_html=yes 14633fi 14634 14635 # Check whether --enable-gtk-doc-pdf was given. 14636if test "${enable_gtk_doc_pdf+set}" = set; then : 14637 enableval=$enable_gtk_doc_pdf; 14638else 14639 enable_gtk_doc_pdf=no 14640fi 14641 14642 14643 if test -z "$GTKDOC_MKPDF"; then 14644 enable_gtk_doc_pdf=no 14645 fi 14646 14647 14648 if test x$enable_gtk_doc = xyes; then 14649 ENABLE_GTK_DOC_TRUE= 14650 ENABLE_GTK_DOC_FALSE='#' 14651else 14652 ENABLE_GTK_DOC_TRUE='#' 14653 ENABLE_GTK_DOC_FALSE= 14654fi 14655 14656 if test x$enable_gtk_doc_html = xyes; then 14657 GTK_DOC_BUILD_HTML_TRUE= 14658 GTK_DOC_BUILD_HTML_FALSE='#' 14659else 14660 GTK_DOC_BUILD_HTML_TRUE='#' 14661 GTK_DOC_BUILD_HTML_FALSE= 14662fi 14663 14664 if test x$enable_gtk_doc_pdf = xyes; then 14665 GTK_DOC_BUILD_PDF_TRUE= 14666 GTK_DOC_BUILD_PDF_FALSE='#' 14667else 14668 GTK_DOC_BUILD_PDF_TRUE='#' 14669 GTK_DOC_BUILD_PDF_FALSE= 14670fi 14671 14672 if test -n "$LIBTOOL"; then 14673 GTK_DOC_USE_LIBTOOL_TRUE= 14674 GTK_DOC_USE_LIBTOOL_FALSE='#' 14675else 14676 GTK_DOC_USE_LIBTOOL_TRUE='#' 14677 GTK_DOC_USE_LIBTOOL_FALSE= 14678fi 14679 14680 14681 14682 14683 PYTHON_CANDIDATES="python python2.2 python2.1 python2.0 python2 \ 14684 python1.6 python1.5" 14685 14686 { $as_echo "$as_me:${as_lineno-$LINENO}: Looking for Python version >= 2.1" >&5 14687$as_echo "$as_me: Looking for Python version >= 2.1" >&6;} 14688 prog=" 14689import sys, string 14690minver = '2.1' 14691# split string by '.' and convert to numeric 14692minver_info = map(string.atoi, string.split(minver, '.')) 14693# we can now do comparisons on the two lists: 14694if sys.version_info >= tuple(minver_info): 14695 sys.exit(0) 14696else: 14697 sys.exit(1)" 14698 14699 python_good=false 14700 for python_candidate in $PYTHON_CANDIDATES; do 14701 unset PYTHON 14702 # Extract the first word of "$python_candidate", so it can be a program name with args. 14703set dummy $python_candidate; ac_word=$2 14704{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14705$as_echo_n "checking for $ac_word... " >&6; } 14706if ${ac_cv_path_PYTHON+:} false; then : 14707 $as_echo_n "(cached) " >&6 14708else 14709 case $PYTHON in 14710 [\\/]* | ?:[\\/]*) 14711 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. 14712 ;; 14713 *) 14714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14715for as_dir in $PATH 14716do 14717 IFS=$as_save_IFS 14718 test -z "$as_dir" && as_dir=. 14719 for ac_exec_ext in '' $ac_executable_extensions; do 14720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14721 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 14722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14723 break 2 14724 fi 14725done 14726 done 14727IFS=$as_save_IFS 14728 14729 ;; 14730esac 14731fi 14732PYTHON=$ac_cv_path_PYTHON 14733if test -n "$PYTHON"; then 14734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 14735$as_echo "$PYTHON" >&6; } 14736else 14737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14738$as_echo "no" >&6; } 14739fi 14740 14741 1> /dev/null 2> /dev/null 14742 14743 if test "x$PYTHON" = "x"; then continue; fi 14744 14745 if $PYTHON -c "$prog" 1>&5 2>&5; then 14746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"$PYTHON\":" >&5 14747$as_echo_n "checking \"$PYTHON\":... " >&6; } 14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5 14749$as_echo "okay" >&6; } 14750 python_good=true 14751 break; 14752 else 14753 unset ac_cv_path_PYTHON 14754 fi 14755 done 14756 14757 14758 if test "$python_good" != "true"; then 14759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No suitable version of python found" >&5 14760$as_echo "$as_me: WARNING: No suitable version of python found" >&2;} 14761 PYTHON= 14762 else 14763 14764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking local Python configuration" >&5 14765$as_echo_n "checking local Python configuration... " >&6; } 14766 14767 14768 14769 PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[:3]"` 14770 14771 14772 14773 14774 PYTHON_PREFIX='${prefix}' 14775 14776 14777 PYTHON_EXEC_PREFIX='${exec_prefix}' 14778 14779 14780 14781 PYTHON_PLATFORM=`$PYTHON -c "import sys; print sys.platform"` 14782 14783 14784 14785 14786 14787 pythondir=$PYTHON_PREFIX"/lib/python"$PYTHON_VERSION/site-packages 14788 14789 14790 14791 pkgpythondir=\${pythondir}/$PACKAGE 14792 14793 14794 14795 pyexecdir=$PYTHON_EXEC_PREFIX"/lib/python"$PYTHON_VERSION/site-packages 14796 14797 14798 14799 pkgpyexecdir=\${pyexecdir}/$PACKAGE 14800 14801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: looks good" >&5 14802$as_echo "looks good" >&6; } 14803 14804 fi 14805 14806 14807 14808 14809 14810 14811 14812 14813 14814 14815 14816 14817 GLIB_REQ=2.32 14818 if test "x$GLIB_REQ" = "x" 14819 then 14820 as_fn_error $? "Please specify a required version for GLib 2.0" "$LINENO" 5 14821 fi 14822 14823 14824 14825 which="glib-2.0 >= $GLIB_REQ gobject-2.0 gmodule-no-export-2.0" 14826 required="no" 14827 14828 14829pkg_failed=no 14830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5 14831$as_echo_n "checking for GLIB... " >&6; } 14832 14833if test -n "$PKG_CONFIG"; then 14834 if test -n "$GLIB_CFLAGS"; then 14835 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" 14836 else 14837 if test -n "$PKG_CONFIG" && \ 14838 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5 14839 ($PKG_CONFIG --exists --print-errors "$which") 2>&5 14840 ac_status=$? 14841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14842 test $ac_status = 0; }; then 14843 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null` 14844else 14845 pkg_failed=yes 14846fi 14847 fi 14848else 14849 pkg_failed=untried 14850fi 14851if test -n "$PKG_CONFIG"; then 14852 if test -n "$GLIB_LIBS"; then 14853 pkg_cv_GLIB_LIBS="$GLIB_LIBS" 14854 else 14855 if test -n "$PKG_CONFIG" && \ 14856 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5 14857 ($PKG_CONFIG --exists --print-errors "$which") 2>&5 14858 ac_status=$? 14859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14860 test $ac_status = 0; }; then 14861 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null` 14862else 14863 pkg_failed=yes 14864fi 14865 fi 14866else 14867 pkg_failed=untried 14868fi 14869 14870 14871 14872if test $pkg_failed = yes; then 14873 14874if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14875 _pkg_short_errors_supported=yes 14876else 14877 _pkg_short_errors_supported=no 14878fi 14879 if test $_pkg_short_errors_supported = yes; then 14880 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"` 14881 else 14882 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"` 14883 fi 14884 # Put the nasty error message in config.log where it belongs 14885 echo "$GLIB_PKG_ERRORS" >&5 14886 14887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14888$as_echo "no" >&6; } 14889 14890 HAVE_GLIB="no" 14891 if test "x$required" = "xyes"; then 14892 as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5 14893 else 14894 { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5 14895$as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;} 14896 fi 14897 14898elif test $pkg_failed = untried; then 14899 14900 HAVE_GLIB="no" 14901 if test "x$required" = "xyes"; then 14902 as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5 14903 else 14904 { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5 14905$as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;} 14906 fi 14907 14908else 14909 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS 14910 GLIB_LIBS=$pkg_cv_GLIB_LIBS 14911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14912$as_echo "yes" >&6; } 14913 14914 HAVE_GLIB="yes" 14915 14916fi 14917 14918 14919 14920 if test "x$HAVE_GLIB" = "xno"; then 14921 as_fn_error $? "This package requires GLib >= $GLIB_REQ to compile." "$LINENO" 5 14922 fi 14923 14924 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_THREADS_MANDATORY" 14925 14926 if test "x`expr $PACKAGE_VERSION_MINOR % 2`" = "x1" -a "x`expr $PACKAGE_VERSION_MICRO '<' 90`" = "x1"; then 14927 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_DEPRECATED" 14928 fi 14929 14930 # Check whether --enable-gobject-cast-checks was given. 14931if test "${enable_gobject_cast_checks+set}" = set; then : 14932 enableval=$enable_gobject_cast_checks; enable_gobject_cast_checks=$enableval 14933else 14934 enable_gobject_cast_checks=auto 14935fi 14936 14937 14938 if test "x$enable_gobject_cast_checks" = "xauto"; then 14939 if test "x`expr $PACKAGE_VERSION_MINOR % 2`" = "x1" -a "x`expr $PACKAGE_VERSION_MICRO '<' 90`" = "x1"; then 14940 enable_gobject_cast_checks=yes 14941 else 14942 enable_gobject_cast_checks=no 14943 fi 14944 fi 14945 14946 if test "x$enable_gobject_cast_checks" = "xno"; then 14947 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_CAST_CHECKS" 14948 fi 14949 14950 # Check whether --enable-glib-asserts was given. 14951if test "${enable_glib_asserts+set}" = set; then : 14952 enableval=$enable_glib_asserts; enable_glib_assertions=$enableval 14953else 14954 enable_glib_assertions=auto 14955fi 14956 14957 14958 if test "x$enable_glib_assertions" = "xauto"; then 14959 if test "x`expr $PACKAGE_VERSION_MINOR % 2`" = "x1" -a "x`expr $PACKAGE_VERSION_MICRO '<' 90`" = "x1"; then 14960 enable_glib_assertions=yes 14961 else 14962 enable_glib_assertions=no 14963 fi 14964 fi 14965 14966 if test "x$enable_glib_assertions" = "xno"; then 14967 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_ASSERT" 14968 fi 14969 14970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-genmarshal" >&5 14971$as_echo_n "checking for glib-genmarshal... " >&6; } 14972 if test "x$GLIB_GENMARSHAL" != "x"; then 14973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL (from environment)" >&5 14974$as_echo "$GLIB_GENMARSHAL (from environment)" >&6; } 14975 else 14976 GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0` 14977 if $GLIB_GENMARSHAL --version 2>/dev/null >/dev/null; then 14978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL (from pkg-config path)" >&5 14979$as_echo "$GLIB_GENMARSHAL (from pkg-config path)" >&6; } 14980 else 14981 # Extract the first word of "glib-genmarshal", so it can be a program name with args. 14982set dummy glib-genmarshal; ac_word=$2 14983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14984$as_echo_n "checking for $ac_word... " >&6; } 14985if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then : 14986 $as_echo_n "(cached) " >&6 14987else 14988 case $GLIB_GENMARSHAL in 14989 [\\/]* | ?:[\\/]*) 14990 ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path. 14991 ;; 14992 *) 14993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14994for as_dir in $PATH 14995do 14996 IFS=$as_save_IFS 14997 test -z "$as_dir" && as_dir=. 14998 for ac_exec_ext in '' $ac_executable_extensions; do 14999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15000 ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext" 15001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15002 break 2 15003 fi 15004done 15005 done 15006IFS=$as_save_IFS 15007 15008 test -z "$ac_cv_path_GLIB_GENMARSHAL" && ac_cv_path_GLIB_GENMARSHAL="glib-genmarshal" 15009 ;; 15010esac 15011fi 15012GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL 15013if test -n "$GLIB_GENMARSHAL"; then 15014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5 15015$as_echo "$GLIB_GENMARSHAL" >&6; } 15016else 15017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15018$as_echo "no" >&6; } 15019fi 15020 15021 15022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5 15023$as_echo "$GLIB_GENMARSHAL" >&6; } 15024 fi 15025 fi 15026 if ! $GLIB_GENMARSHAL --version 2>/dev/null >/dev/null; then 15027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $GLIB_GENMARSHAL does not seem to work!" >&5 15028$as_echo "$as_me: WARNING: $GLIB_GENMARSHAL does not seem to work!" >&2;} 15029 fi 15030 15031 15032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-mkenums" >&5 15033$as_echo_n "checking for glib-mkenums... " >&6; } 15034 if test "x$GLIB_MKENUMS" != "x"; then 15035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS (from environment)" >&5 15036$as_echo "$GLIB_MKENUMS (from environment)" >&6; } 15037 else 15038 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0` 15039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5 15040$as_echo "$GLIB_MKENUMS" >&6; } 15041 fi 15042 if ! $GLIB_MKENUMS --version 2>/dev/null >/dev/null; then 15043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $GLIB_MKENUMS does not seem to work!" >&5 15044$as_echo "$as_me: WARNING: $GLIB_MKENUMS does not seem to work!" >&2;} 15045 fi 15046 15047 15048 15049 15050 15051pkg_failed=no 15052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5 15053$as_echo_n "checking for GIO... " >&6; } 15054 15055if test -n "$PKG_CONFIG"; then 15056 if test -n "$GIO_CFLAGS"; then 15057 pkg_cv_GIO_CFLAGS="$GIO_CFLAGS" 15058 else 15059 if test -n "$PKG_CONFIG" && \ 15060 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= \$GLIB_REQ\""; } >&5 15061 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= $GLIB_REQ") 2>&5 15062 ac_status=$? 15063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15064 test $ac_status = 0; }; then 15065 pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= $GLIB_REQ" 2>/dev/null` 15066else 15067 pkg_failed=yes 15068fi 15069 fi 15070else 15071 pkg_failed=untried 15072fi 15073if test -n "$PKG_CONFIG"; then 15074 if test -n "$GIO_LIBS"; then 15075 pkg_cv_GIO_LIBS="$GIO_LIBS" 15076 else 15077 if test -n "$PKG_CONFIG" && \ 15078 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= \$GLIB_REQ\""; } >&5 15079 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= $GLIB_REQ") 2>&5 15080 ac_status=$? 15081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15082 test $ac_status = 0; }; then 15083 pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= $GLIB_REQ" 2>/dev/null` 15084else 15085 pkg_failed=yes 15086fi 15087 fi 15088else 15089 pkg_failed=untried 15090fi 15091 15092 15093 15094if test $pkg_failed = yes; then 15095 15096if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15097 _pkg_short_errors_supported=yes 15098else 15099 _pkg_short_errors_supported=no 15100fi 15101 if test $_pkg_short_errors_supported = yes; then 15102 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gio-2.0 >= $GLIB_REQ"` 15103 else 15104 GIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gio-2.0 >= $GLIB_REQ"` 15105 fi 15106 # Put the nasty error message in config.log where it belongs 15107 echo "$GIO_PKG_ERRORS" >&5 15108 15109 as_fn_error $? "Package requirements (gio-2.0 >= $GLIB_REQ) were not met: 15110 15111$GIO_PKG_ERRORS 15112 15113Consider adjusting the PKG_CONFIG_PATH environment variable if you 15114installed software in a non-standard prefix. 15115 15116Alternatively, you may set the environment variables GIO_CFLAGS 15117and GIO_LIBS to avoid the need to call pkg-config. 15118See the pkg-config man page for more details. 15119" "$LINENO" 5 15120elif test $pkg_failed = untried; then 15121 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15122$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15123as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 15124is in your PATH or set the PKG_CONFIG environment variable to the full 15125path to pkg-config. 15126 15127Alternatively, you may set the environment variables GIO_CFLAGS 15128and GIO_LIBS to avoid the need to call pkg-config. 15129See the pkg-config man page for more details. 15130 15131To get pkg-config, see <http://pkg-config.freedesktop.org/>. 15132See \`config.log' for more details" "$LINENO" 5; } 15133else 15134 GIO_CFLAGS=$pkg_cv_GIO_CFLAGS 15135 GIO_LIBS=$pkg_cv_GIO_LIBS 15136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15137$as_echo "yes" >&6; } 15138 : 15139fi 15140 if test "x$HAVE_GIO" = "xno"; then 15141 as_fn_error $? "This package requires GIO >= $GLIB_REQ to compile." "$LINENO" 5 15142 fi 15143 15144 GIO_MODULE_DIR="`$PKG_CONFIG --variable=giomoduledir gio-2.0`" 15145 15146cat >>confdefs.h <<_ACEOF 15147#define GIO_MODULE_DIR "$GIO_MODULE_DIR" 15148_ACEOF 15149 15150 GIO_LIBDIR="`$PKG_CONFIG --variable=libdir gio-2.0`" 15151 15152cat >>confdefs.h <<_ACEOF 15153#define GIO_LIBDIR "$GIO_LIBDIR" 15154_ACEOF 15155 15156 15157 15158 15159 15160 15161 15162 15163 module=gstreamer-$GST_API_VERSION 15164 minver=$GST_REQ 15165 name="GStreamer" 15166 required=yes 15167 15168pkg_failed=no 15169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5 15170$as_echo_n "checking for GST... " >&6; } 15171 15172if test -n "$PKG_CONFIG"; then 15173 if test -n "$GST_CFLAGS"; then 15174 pkg_cv_GST_CFLAGS="$GST_CFLAGS" 15175 else 15176 if test -n "$PKG_CONFIG" && \ 15177 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 15178 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 15179 ac_status=$? 15180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15181 test $ac_status = 0; }; then 15182 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null` 15183else 15184 pkg_failed=yes 15185fi 15186 fi 15187else 15188 pkg_failed=untried 15189fi 15190if test -n "$PKG_CONFIG"; then 15191 if test -n "$GST_LIBS"; then 15192 pkg_cv_GST_LIBS="$GST_LIBS" 15193 else 15194 if test -n "$PKG_CONFIG" && \ 15195 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 15196 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 15197 ac_status=$? 15198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15199 test $ac_status = 0; }; then 15200 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null` 15201else 15202 pkg_failed=yes 15203fi 15204 fi 15205else 15206 pkg_failed=untried 15207fi 15208 15209 15210 15211if test $pkg_failed = yes; then 15212 15213if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15214 _pkg_short_errors_supported=yes 15215else 15216 _pkg_short_errors_supported=no 15217fi 15218 if test $_pkg_short_errors_supported = yes; then 15219 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"` 15220 else 15221 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"` 15222 fi 15223 # Put the nasty error message in config.log where it belongs 15224 echo "$GST_PKG_ERRORS" >&5 15225 15226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15227$as_echo "no" >&6; } 15228 15229 HAVE_GST="no" 15230 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5 15231$as_echo "$as_me: $GST_PKG_ERRORS" >&6;} 15232 if test "x$required" = "xyes"; then 15233 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5 15234 else 15235 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 15236$as_echo "$as_me: no $module >= $minver ($name) found" >&6;} 15237 fi 15238 15239elif test $pkg_failed = untried; then 15240 15241 HAVE_GST="no" 15242 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5 15243$as_echo "$as_me: $GST_PKG_ERRORS" >&6;} 15244 if test "x$required" = "xyes"; then 15245 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5 15246 else 15247 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 15248$as_echo "$as_me: no $module >= $minver ($name) found" >&6;} 15249 fi 15250 15251else 15252 GST_CFLAGS=$pkg_cv_GST_CFLAGS 15253 GST_LIBS=$pkg_cv_GST_LIBS 15254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15255$as_echo "yes" >&6; } 15256 15257 HAVE_GST="yes" 15258 15259fi 15260 15261 15262 if test -z $GST_TOOLS_DIR; then 15263 GST_TOOLS_DIR=`$PKG_CONFIG --variable=toolsdir gstreamer-$GST_API_VERSION` 15264 if test -z $GST_TOOLS_DIR; then 15265 as_fn_error $? "no tools dir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5 15266 fi 15267 fi 15268 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer tools in $GST_TOOLS_DIR" >&5 15269$as_echo "$as_me: using GStreamer tools in $GST_TOOLS_DIR" >&6;} 15270 15271 15272 if test -z $GST_PLUGINS_DIR; then 15273 GST_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-$GST_API_VERSION` 15274 if test -z $GST_PLUGINS_DIR; then 15275 as_fn_error $? "no pluginsdir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5 15276 fi 15277 fi 15278 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&5 15279$as_echo "$as_me: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&6;} 15280 15281 15282 15283 15284 module=gstreamer-base-$GST_API_VERSION 15285 minver=$GST_REQ 15286 name="GStreamer Base Libraries" 15287 required=yes 15288 15289pkg_failed=no 15290{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_BASE" >&5 15291$as_echo_n "checking for GST_BASE... " >&6; } 15292 15293if test -n "$PKG_CONFIG"; then 15294 if test -n "$GST_BASE_CFLAGS"; then 15295 pkg_cv_GST_BASE_CFLAGS="$GST_BASE_CFLAGS" 15296 else 15297 if test -n "$PKG_CONFIG" && \ 15298 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 15299 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 15300 ac_status=$? 15301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15302 test $ac_status = 0; }; then 15303 pkg_cv_GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null` 15304else 15305 pkg_failed=yes 15306fi 15307 fi 15308else 15309 pkg_failed=untried 15310fi 15311if test -n "$PKG_CONFIG"; then 15312 if test -n "$GST_BASE_LIBS"; then 15313 pkg_cv_GST_BASE_LIBS="$GST_BASE_LIBS" 15314 else 15315 if test -n "$PKG_CONFIG" && \ 15316 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 15317 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 15318 ac_status=$? 15319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15320 test $ac_status = 0; }; then 15321 pkg_cv_GST_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null` 15322else 15323 pkg_failed=yes 15324fi 15325 fi 15326else 15327 pkg_failed=untried 15328fi 15329 15330 15331 15332if test $pkg_failed = yes; then 15333 15334if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15335 _pkg_short_errors_supported=yes 15336else 15337 _pkg_short_errors_supported=no 15338fi 15339 if test $_pkg_short_errors_supported = yes; then 15340 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"` 15341 else 15342 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"` 15343 fi 15344 # Put the nasty error message in config.log where it belongs 15345 echo "$GST_BASE_PKG_ERRORS" >&5 15346 15347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15348$as_echo "no" >&6; } 15349 15350 HAVE_GST_BASE="no" 15351 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5 15352$as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;} 15353 if test "x$required" = "xyes"; then 15354 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5 15355 else 15356 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 15357$as_echo "$as_me: no $module >= $minver ($name) found" >&6;} 15358 fi 15359 15360elif test $pkg_failed = untried; then 15361 15362 HAVE_GST_BASE="no" 15363 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5 15364$as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;} 15365 if test "x$required" = "xyes"; then 15366 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5 15367 else 15368 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 15369$as_echo "$as_me: no $module >= $minver ($name) found" >&6;} 15370 fi 15371 15372else 15373 GST_BASE_CFLAGS=$pkg_cv_GST_BASE_CFLAGS 15374 GST_BASE_LIBS=$pkg_cv_GST_BASE_LIBS 15375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15376$as_echo "yes" >&6; } 15377 15378 HAVE_GST_BASE="yes" 15379 15380fi 15381 15382 15383 15384 15385 15386 15387 module=gstreamer-plugins-base-$GST_API_VERSION 15388 minver=$GSTPB_REQ 15389 name="GStreamer Base Plugins" 15390 required=yes 15391 15392pkg_failed=no 15393{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PLUGINS_BASE" >&5 15394$as_echo_n "checking for GST_PLUGINS_BASE... " >&6; } 15395 15396if test -n "$PKG_CONFIG"; then 15397 if test -n "$GST_PLUGINS_BASE_CFLAGS"; then 15398 pkg_cv_GST_PLUGINS_BASE_CFLAGS="$GST_PLUGINS_BASE_CFLAGS" 15399 else 15400 if test -n "$PKG_CONFIG" && \ 15401 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 15402 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 15403 ac_status=$? 15404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15405 test $ac_status = 0; }; then 15406 pkg_cv_GST_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null` 15407else 15408 pkg_failed=yes 15409fi 15410 fi 15411else 15412 pkg_failed=untried 15413fi 15414if test -n "$PKG_CONFIG"; then 15415 if test -n "$GST_PLUGINS_BASE_LIBS"; then 15416 pkg_cv_GST_PLUGINS_BASE_LIBS="$GST_PLUGINS_BASE_LIBS" 15417 else 15418 if test -n "$PKG_CONFIG" && \ 15419 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 15420 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 15421 ac_status=$? 15422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15423 test $ac_status = 0; }; then 15424 pkg_cv_GST_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null` 15425else 15426 pkg_failed=yes 15427fi 15428 fi 15429else 15430 pkg_failed=untried 15431fi 15432 15433 15434 15435if test $pkg_failed = yes; then 15436 15437if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15438 _pkg_short_errors_supported=yes 15439else 15440 _pkg_short_errors_supported=no 15441fi 15442 if test $_pkg_short_errors_supported = yes; then 15443 GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"` 15444 else 15445 GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"` 15446 fi 15447 # Put the nasty error message in config.log where it belongs 15448 echo "$GST_PLUGINS_BASE_PKG_ERRORS" >&5 15449 15450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15451$as_echo "no" >&6; } 15452 15453 HAVE_GST_PLUGINS_BASE="no" 15454 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BASE_PKG_ERRORS" >&5 15455$as_echo "$as_me: $GST_PLUGINS_BASE_PKG_ERRORS" >&6;} 15456 if test "x$required" = "xyes"; then 15457 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5 15458 else 15459 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 15460$as_echo "$as_me: no $module >= $minver ($name) found" >&6;} 15461 fi 15462 15463elif test $pkg_failed = untried; then 15464 15465 HAVE_GST_PLUGINS_BASE="no" 15466 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BASE_PKG_ERRORS" >&5 15467$as_echo "$as_me: $GST_PLUGINS_BASE_PKG_ERRORS" >&6;} 15468 if test "x$required" = "xyes"; then 15469 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5 15470 else 15471 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 15472$as_echo "$as_me: no $module >= $minver ($name) found" >&6;} 15473 fi 15474 15475else 15476 GST_PLUGINS_BASE_CFLAGS=$pkg_cv_GST_PLUGINS_BASE_CFLAGS 15477 GST_PLUGINS_BASE_LIBS=$pkg_cv_GST_PLUGINS_BASE_LIBS 15478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15479$as_echo "yes" >&6; } 15480 15481 HAVE_GST_PLUGINS_BASE="yes" 15482 15483fi 15484 15485 15486 15487 if test "x$HAVE_GST_PLUGINS_BASE" = "xyes"; then 15488 if test -z $GSTPB_PLUGINS_DIR; then 15489 GSTPB_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-plugins-base-$GST_API_VERSION` 15490 if test -z $GSTPB_PLUGINS_DIR; then 15491 as_fn_error $? "no pluginsdir set in GStreamer Base Plugins pkg-config file" "$LINENO" 5 15492 fi 15493 fi 15494 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&5 15495$as_echo "$as_me: using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&6;} 15496 GST_PLUGINS_BASE_DIR="$GSTPB_PLUGINS_DIR/gst:$GSTPB_PLUGINS_DIR/sys:$GSTPB_PLUGINS_DIR/ext" 15497 15498 15499 fi 15500 15501 15502 15503 15504 module=gstreamer-plugins-good-$GST_API_VERSION 15505 minver=1.2.0 15506 name="GStreamer Good Plugins" 15507 required=no 15508 15509pkg_failed=no 15510{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PLUGINS_GOOD" >&5 15511$as_echo_n "checking for GST_PLUGINS_GOOD... " >&6; } 15512 15513if test -n "$PKG_CONFIG"; then 15514 if test -n "$GST_PLUGINS_GOOD_CFLAGS"; then 15515 pkg_cv_GST_PLUGINS_GOOD_CFLAGS="$GST_PLUGINS_GOOD_CFLAGS" 15516 else 15517 if test -n "$PKG_CONFIG" && \ 15518 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 15519 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 15520 ac_status=$? 15521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15522 test $ac_status = 0; }; then 15523 pkg_cv_GST_PLUGINS_GOOD_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null` 15524else 15525 pkg_failed=yes 15526fi 15527 fi 15528else 15529 pkg_failed=untried 15530fi 15531if test -n "$PKG_CONFIG"; then 15532 if test -n "$GST_PLUGINS_GOOD_LIBS"; then 15533 pkg_cv_GST_PLUGINS_GOOD_LIBS="$GST_PLUGINS_GOOD_LIBS" 15534 else 15535 if test -n "$PKG_CONFIG" && \ 15536 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 15537 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 15538 ac_status=$? 15539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15540 test $ac_status = 0; }; then 15541 pkg_cv_GST_PLUGINS_GOOD_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null` 15542else 15543 pkg_failed=yes 15544fi 15545 fi 15546else 15547 pkg_failed=untried 15548fi 15549 15550 15551 15552if test $pkg_failed = yes; then 15553 15554if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15555 _pkg_short_errors_supported=yes 15556else 15557 _pkg_short_errors_supported=no 15558fi 15559 if test $_pkg_short_errors_supported = yes; then 15560 GST_PLUGINS_GOOD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"` 15561 else 15562 GST_PLUGINS_GOOD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"` 15563 fi 15564 # Put the nasty error message in config.log where it belongs 15565 echo "$GST_PLUGINS_GOOD_PKG_ERRORS" >&5 15566 15567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15568$as_echo "no" >&6; } 15569 15570 HAVE_GST_PLUGINS_GOOD="no" 15571 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_GOOD_PKG_ERRORS" >&5 15572$as_echo "$as_me: $GST_PLUGINS_GOOD_PKG_ERRORS" >&6;} 15573 if test "x$required" = "xyes"; then 15574 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5 15575 else 15576 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 15577$as_echo "$as_me: no $module >= $minver ($name) found" >&6;} 15578 fi 15579 15580elif test $pkg_failed = untried; then 15581 15582 HAVE_GST_PLUGINS_GOOD="no" 15583 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_GOOD_PKG_ERRORS" >&5 15584$as_echo "$as_me: $GST_PLUGINS_GOOD_PKG_ERRORS" >&6;} 15585 if test "x$required" = "xyes"; then 15586 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5 15587 else 15588 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 15589$as_echo "$as_me: no $module >= $minver ($name) found" >&6;} 15590 fi 15591 15592else 15593 GST_PLUGINS_GOOD_CFLAGS=$pkg_cv_GST_PLUGINS_GOOD_CFLAGS 15594 GST_PLUGINS_GOOD_LIBS=$pkg_cv_GST_PLUGINS_GOOD_LIBS 15595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15596$as_echo "yes" >&6; } 15597 15598 HAVE_GST_PLUGINS_GOOD="yes" 15599 15600fi 15601 15602 15603 15604 if test "x$HAVE_GST_PLUGINS_GOOD" = "xyes"; then 15605 if test -z $GST_PLUGINS_GOOD_DIR; then 15606 GST_PLUGINS_GOOD_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-plugins-good-$GST_API_VERSION` 15607 if test -z $GST_PLUGINS_GOOD_DIR; then 15608 as_fn_error $? "no pluginsdir set in GStreamer Good Plugins pkg-config file" "$LINENO" 5 15609 fi 15610 fi 15611 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer Good Plugins in $GST_PLUGINS_GOOD_DIR" >&5 15612$as_echo "$as_me: using GStreamer Good Plugins in $GST_PLUGINS_GOOD_DIR" >&6;} 15613 GST_PLUGINS_GOOD_DIR="$GST_PLUGINS_GOOD_DIR/gst:$GST_PLUGINS_GOOD_DIR/sys:$GST_PLUGINS_GOOD_DIR/ext" 15614 15615 fi 15616 15617 15618GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`" 15619GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_API_VERSION`" 15620GSTPB_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-plugins-base-$GST_API_VERSION`" 15621 15622 15623 15624 15625 15626 15627 module=gstreamer-check-$GST_API_VERSION 15628 minver=$GST_REQ 15629 name="GStreamer Check unittest Library" 15630 required=no 15631 15632pkg_failed=no 15633{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CHECK" >&5 15634$as_echo_n "checking for GST_CHECK... " >&6; } 15635 15636if test -n "$PKG_CONFIG"; then 15637 if test -n "$GST_CHECK_CFLAGS"; then 15638 pkg_cv_GST_CHECK_CFLAGS="$GST_CHECK_CFLAGS" 15639 else 15640 if test -n "$PKG_CONFIG" && \ 15641 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 15642 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 15643 ac_status=$? 15644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15645 test $ac_status = 0; }; then 15646 pkg_cv_GST_CHECK_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null` 15647else 15648 pkg_failed=yes 15649fi 15650 fi 15651else 15652 pkg_failed=untried 15653fi 15654if test -n "$PKG_CONFIG"; then 15655 if test -n "$GST_CHECK_LIBS"; then 15656 pkg_cv_GST_CHECK_LIBS="$GST_CHECK_LIBS" 15657 else 15658 if test -n "$PKG_CONFIG" && \ 15659 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 15660 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 15661 ac_status=$? 15662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15663 test $ac_status = 0; }; then 15664 pkg_cv_GST_CHECK_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null` 15665else 15666 pkg_failed=yes 15667fi 15668 fi 15669else 15670 pkg_failed=untried 15671fi 15672 15673 15674 15675if test $pkg_failed = yes; then 15676 15677if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15678 _pkg_short_errors_supported=yes 15679else 15680 _pkg_short_errors_supported=no 15681fi 15682 if test $_pkg_short_errors_supported = yes; then 15683 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"` 15684 else 15685 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"` 15686 fi 15687 # Put the nasty error message in config.log where it belongs 15688 echo "$GST_CHECK_PKG_ERRORS" >&5 15689 15690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15691$as_echo "no" >&6; } 15692 15693 HAVE_GST_CHECK="no" 15694 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5 15695$as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;} 15696 if test "x$required" = "xyes"; then 15697 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5 15698 else 15699 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 15700$as_echo "$as_me: no $module >= $minver ($name) found" >&6;} 15701 fi 15702 15703elif test $pkg_failed = untried; then 15704 15705 HAVE_GST_CHECK="no" 15706 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5 15707$as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;} 15708 if test "x$required" = "xyes"; then 15709 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5 15710 else 15711 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 15712$as_echo "$as_me: no $module >= $minver ($name) found" >&6;} 15713 fi 15714 15715else 15716 GST_CHECK_CFLAGS=$pkg_cv_GST_CHECK_CFLAGS 15717 GST_CHECK_LIBS=$pkg_cv_GST_CHECK_LIBS 15718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15719$as_echo "yes" >&6; } 15720 15721 HAVE_GST_CHECK="yes" 15722 15723fi 15724 15725 15726 15727 if test "x$HAVE_GST_CHECK" = "xyes"; then 15728 HAVE_CHECK_TRUE= 15729 HAVE_CHECK_FALSE='#' 15730else 15731 HAVE_CHECK_TRUE='#' 15732 HAVE_CHECK_FALSE= 15733fi 15734 15735 15736 15737GST_LICENSE="LGPL" 15738 15739cat >>confdefs.h <<_ACEOF 15740#define GST_LICENSE "$GST_LICENSE" 15741_ACEOF 15742 15743 15744 15745 15746 15747 EXP_VAR=PLUGINDIR 15748 FROM_VAR=${libdir}/gstreamer-$GST_API_VERSION 15749 15750 prefix_save=$prefix 15751 exec_prefix_save=$exec_prefix 15752 15753 if test "x$prefix" = "xNONE"; then 15754 prefix="$ac_default_prefix" 15755 fi 15756 if test "x$exec_prefix" = "xNONE"; then 15757 exec_prefix=$prefix 15758 fi 15759 15760 full_var="$FROM_VAR" 15761 while true; do 15762 new_full_var="`eval echo $full_var`" 15763 if test "x$new_full_var" = "x$full_var"; then break; fi 15764 full_var=$new_full_var 15765 done 15766 15767 full_var=$new_full_var 15768 PLUGINDIR="$full_var" 15769 15770 15771 prefix=$prefix_save 15772 exec_prefix=$exec_prefix_save 15773 15774 15775cat >>confdefs.h <<_ACEOF 15776#define PLUGINDIR "$PLUGINDIR" 15777_ACEOF 15778 15779 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $PLUGINDIR as the plugin install location" >&5 15780$as_echo "$as_me: Using $PLUGINDIR as the plugin install location" >&6;} 15781 15782 plugindir="\$(libdir)/gstreamer-$GST_API_VERSION" 15783 15784 15785 15786{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static plugins or not" >&5 15787$as_echo_n "checking whether to build static plugins or not... " >&6; } 15788# Check whether --enable-static-plugins was given. 15789if test "${enable_static_plugins+set}" = set; then : 15790 enableval=$enable_static_plugins; case $enableval in #( 15791 no) : 15792 ;; #( 15793 yes) : 15794 ;; #( 15795 *) : 15796 as_fn_error $? "bad value \"$enableval\" for --enable-static-plugins" "$LINENO" 5 ;; 15797esac 15798else 15799 enable_static_plugins=no 15800fi 15801 15802{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static_plugins" >&5 15803$as_echo "$enable_static_plugins" >&6; } 15804if test "x$enable_static_plugins" = xyes; then 15805 15806$as_echo "#define GST_PLUGIN_BUILD_STATIC 1" >>confdefs.h 15807 15808 GST_PLUGIN_LIBTOOLFLAGS="" 15809else 15810 GST_PLUGIN_LIBTOOLFLAGS="--tag=disable-static" 15811fi 15812 15813 if test "x$enable_static_plugins" = "xyes"; then 15814 GST_PLUGIN_BUILD_STATIC_TRUE= 15815 GST_PLUGIN_BUILD_STATIC_FALSE='#' 15816else 15817 GST_PLUGIN_BUILD_STATIC_TRUE='#' 15818 GST_PLUGIN_BUILD_STATIC_FALSE= 15819fi 15820 15821 15822 15823 15824 15825 15826 WARNING_CFLAGS="" 15827 ERROR_CFLAGS="" 15828 15829 15830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wall" >&5 15831$as_echo_n "checking to see if compiler understands -Wall... " >&6; } 15832 15833 save_CFLAGS="$CFLAGS" 15834 CFLAGS="$CFLAGS -Wall" 15835 15836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15837/* end confdefs.h. */ 15838 15839int 15840main () 15841{ 15842 15843 ; 15844 return 0; 15845} 15846_ACEOF 15847if ac_fn_c_try_compile "$LINENO"; then : 15848 flag_ok=yes 15849else 15850 flag_ok=no 15851fi 15852rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15853 CFLAGS="$save_CFLAGS" 15854 15855 if test "X$flag_ok" = Xyes ; then 15856 WARNING_CFLAGS="$WARNING_CFLAGS -Wall" 15857 true 15858 else 15859 15860 true 15861 fi 15862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 15863$as_echo "$flag_ok" >&6; } 15864 15865 15866 15867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wdeclaration-after-statement" >&5 15868$as_echo_n "checking to see if compiler understands -Wdeclaration-after-statement... " >&6; } 15869 15870 save_CFLAGS="$CFLAGS" 15871 CFLAGS="$CFLAGS -Wdeclaration-after-statement" 15872 15873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15874/* end confdefs.h. */ 15875 15876int 15877main () 15878{ 15879 15880 ; 15881 return 0; 15882} 15883_ACEOF 15884if ac_fn_c_try_compile "$LINENO"; then : 15885 flag_ok=yes 15886else 15887 flag_ok=no 15888fi 15889rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15890 CFLAGS="$save_CFLAGS" 15891 15892 if test "X$flag_ok" = Xyes ; then 15893 WARNING_CFLAGS="$WARNING_CFLAGS -Wdeclaration-after-statement" 15894 true 15895 else 15896 15897 true 15898 fi 15899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 15900$as_echo "$flag_ok" >&6; } 15901 15902 15903 15904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wvla" >&5 15905$as_echo_n "checking to see if compiler understands -Wvla... " >&6; } 15906 15907 save_CFLAGS="$CFLAGS" 15908 CFLAGS="$CFLAGS -Wvla" 15909 15910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15911/* end confdefs.h. */ 15912 15913int 15914main () 15915{ 15916 15917 ; 15918 return 0; 15919} 15920_ACEOF 15921if ac_fn_c_try_compile "$LINENO"; then : 15922 flag_ok=yes 15923else 15924 flag_ok=no 15925fi 15926rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15927 CFLAGS="$save_CFLAGS" 15928 15929 if test "X$flag_ok" = Xyes ; then 15930 WARNING_CFLAGS="$WARNING_CFLAGS -Wvla" 15931 true 15932 else 15933 15934 true 15935 fi 15936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 15937$as_echo "$flag_ok" >&6; } 15938 15939 15940 15941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wpointer-arith" >&5 15942$as_echo_n "checking to see if compiler understands -Wpointer-arith... " >&6; } 15943 15944 save_CFLAGS="$CFLAGS" 15945 CFLAGS="$CFLAGS -Wpointer-arith" 15946 15947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15948/* end confdefs.h. */ 15949 15950int 15951main () 15952{ 15953 15954 ; 15955 return 0; 15956} 15957_ACEOF 15958if ac_fn_c_try_compile "$LINENO"; then : 15959 flag_ok=yes 15960else 15961 flag_ok=no 15962fi 15963rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15964 CFLAGS="$save_CFLAGS" 15965 15966 if test "X$flag_ok" = Xyes ; then 15967 WARNING_CFLAGS="$WARNING_CFLAGS -Wpointer-arith" 15968 true 15969 else 15970 15971 true 15972 fi 15973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 15974$as_echo "$flag_ok" >&6; } 15975 15976 15977 if test "x$GST_GIT" != "xno" 15978 then 15979 15980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Werror" >&5 15981$as_echo_n "checking to see if compiler understands -Werror... " >&6; } 15982 15983 save_CFLAGS="$CFLAGS" 15984 CFLAGS="$CFLAGS -Werror" 15985 15986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15987/* end confdefs.h. */ 15988 15989int 15990main () 15991{ 15992 15993 ; 15994 return 0; 15995} 15996_ACEOF 15997if ac_fn_c_try_compile "$LINENO"; then : 15998 flag_ok=yes 15999else 16000 flag_ok=no 16001fi 16002rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16003 CFLAGS="$save_CFLAGS" 16004 16005 if test "X$flag_ok" = Xyes ; then 16006 ERROR_CFLAGS="$ERROR_CFLAGS -Werror" 16007 true 16008 else 16009 16010 true 16011 fi 16012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 16013$as_echo "$flag_ok" >&6; } 16014 16015 16016 if test "x$ERROR_CFLAGS" = "x" 16017 then 16018 16019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all" >&5 16020$as_echo_n "checking to see if compiler understands -errwarn=%all... " >&6; } 16021 16022 save_CFLAGS="$CFLAGS" 16023 CFLAGS="$CFLAGS -errwarn=%all" 16024 16025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16026/* end confdefs.h. */ 16027 16028int 16029main () 16030{ 16031 16032 ; 16033 return 0; 16034} 16035_ACEOF 16036if ac_fn_c_try_compile "$LINENO"; then : 16037 flag_ok=yes 16038else 16039 flag_ok=no 16040fi 16041rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16042 CFLAGS="$save_CFLAGS" 16043 16044 if test "X$flag_ok" = Xyes ; then 16045 16046 ERROR_CFLAGS="-errwarn=%all" 16047 for f in 'no%E_EMPTY_DECLARATION' \ 16048 'no%E_STATEMENT_NOT_REACHED' \ 16049 'no%E_ARGUEMENT_MISMATCH' \ 16050 'no%E_MACRO_REDEFINED' \ 16051 'no%E_LOOP_NOT_ENTERED_AT_TOP' 16052 do 16053 16054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all,$f" >&5 16055$as_echo_n "checking to see if compiler understands -errwarn=%all,$f... " >&6; } 16056 16057 save_CFLAGS="$CFLAGS" 16058 CFLAGS="$CFLAGS -errwarn=%all,$f" 16059 16060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16061/* end confdefs.h. */ 16062 16063int 16064main () 16065{ 16066 16067 ; 16068 return 0; 16069} 16070_ACEOF 16071if ac_fn_c_try_compile "$LINENO"; then : 16072 flag_ok=yes 16073else 16074 flag_ok=no 16075fi 16076rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16077 CFLAGS="$save_CFLAGS" 16078 16079 if test "X$flag_ok" = Xyes ; then 16080 16081 ERROR_CFLAGS="$ERROR_CFLAGS,$f" 16082 16083 true 16084 else 16085 16086 true 16087 fi 16088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 16089$as_echo "$flag_ok" >&6; } 16090 16091 done 16092 16093 true 16094 else 16095 16096 true 16097 fi 16098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 16099$as_echo "$flag_ok" >&6; } 16100 16101 fi 16102 fi 16103 16104 if test "x-Wmissing-declarations -Wmissing-prototypes 16105 -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral 16106 -Wformat-security -Wold-style-definition -Winit-self 16107 -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar 16108 -Wnested-externs" != "x" 16109 then 16110 UNSUPPORTED="" 16111 list="-Wmissing-declarations -Wmissing-prototypes 16112 -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral 16113 -Wformat-security -Wold-style-definition -Winit-self 16114 -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar 16115 -Wnested-externs" 16116 for each in $list 16117 do 16118 16119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands $each" >&5 16120$as_echo_n "checking to see if compiler understands $each... " >&6; } 16121 16122 save_CFLAGS="$CFLAGS" 16123 CFLAGS="$CFLAGS $each" 16124 16125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16126/* end confdefs.h. */ 16127 16128int 16129main () 16130{ 16131 16132 ; 16133 return 0; 16134} 16135_ACEOF 16136if ac_fn_c_try_compile "$LINENO"; then : 16137 flag_ok=yes 16138else 16139 flag_ok=no 16140fi 16141rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16142 CFLAGS="$save_CFLAGS" 16143 16144 if test "X$flag_ok" = Xyes ; then 16145 WARNING_CFLAGS="$WARNING_CFLAGS $each" 16146 true 16147 else 16148 UNSUPPORTED="$UNSUPPORTED $each" 16149 true 16150 fi 16151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 16152$as_echo "$flag_ok" >&6; } 16153 16154 done 16155 if test "X$UNSUPPORTED" != X ; then 16156 { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5 16157$as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;} 16158 fi 16159 fi 16160 16161 16162 16163 { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CFLAGS to $WARNING_CFLAGS" >&5 16164$as_echo "$as_me: set WARNING_CFLAGS to $WARNING_CFLAGS" >&6;} 16165 { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CFLAGS to $ERROR_CFLAGS" >&5 16166$as_echo "$as_me: set ERROR_CFLAGS to $ERROR_CFLAGS" >&6;} 16167 16168 16169 16170 if test "x$GST_GIT" = "xyes"; then 16171 GST_LEVEL_DEFAULT=GST_LEVEL_ERROR 16172 else 16173 GST_LEVEL_DEFAULT=GST_LEVEL_NONE 16174 fi 16175 16176cat >>confdefs.h <<_ACEOF 16177#define GST_LEVEL_DEFAULT $GST_LEVEL_DEFAULT 16178_ACEOF 16179 16180 16181 16182 16183 16184 DEFAULT_AUDIOSINK="autoaudiosink" 16185 DEFAULT_VIDEOSINK="autovideosink" 16186 DEFAULT_AUDIOSRC="alsasrc" 16187 DEFAULT_VIDEOSRC="v4l2src" 16188 DEFAULT_VISUALIZER="goom" 16189 case "$host" in 16190 *-sun-* | *pc-solaris* ) 16191 DEFAULT_AUDIOSRC="sunaudiosrc" 16192 ;; 16193 *-darwin* ) 16194 DEFAULT_AUDIOSRC="osxaudiosrc" 16195 ;; 16196 esac 16197 16198 16199# Check whether --with-default-audiosink was given. 16200if test "${with_default_audiosink+set}" = set; then : 16201 withval=$with_default_audiosink; 16202 case "${withval}" in 16203 yes) as_fn_error $? "bad value ${withval} for --with-default-audiosink" "$LINENO" 5 ;; 16204 no) as_fn_error $? "bad value ${withval} for --with-default-audiosink" "$LINENO" 5 ;; 16205 *) DEFAULT_AUDIOSINK="${withval}" ;; 16206 esac 16207 16208else 16209 16210 DEFAULT_AUDIOSINK="$DEFAULT_AUDIOSINK" 16211 16212fi 16213 16214 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_AUDIOSINK as default audio sink" >&5 16215$as_echo "$as_me: Using $DEFAULT_AUDIOSINK as default audio sink" >&6;} 16216 16217 16218cat >>confdefs.h <<_ACEOF 16219#define DEFAULT_AUDIOSINK "$DEFAULT_AUDIOSINK" 16220_ACEOF 16221 16222 16223 16224# Check whether --with-default-audiosrc was given. 16225if test "${with_default_audiosrc+set}" = set; then : 16226 withval=$with_default_audiosrc; 16227 case "${withval}" in 16228 yes) as_fn_error $? "bad value ${withval} for --with-default-audiosrc" "$LINENO" 5 ;; 16229 no) as_fn_error $? "bad value ${withval} for --with-default-audiosrc" "$LINENO" 5 ;; 16230 *) DEFAULT_AUDIOSRC="${withval}" ;; 16231 esac 16232 16233else 16234 16235 DEFAULT_AUDIOSRC="$DEFAULT_AUDIOSRC" 16236 16237fi 16238 16239 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_AUDIOSRC as default audio source" >&5 16240$as_echo "$as_me: Using $DEFAULT_AUDIOSRC as default audio source" >&6;} 16241 16242 16243cat >>confdefs.h <<_ACEOF 16244#define DEFAULT_AUDIOSRC "$DEFAULT_AUDIOSRC" 16245_ACEOF 16246 16247 16248 16249# Check whether --with-default-videosink was given. 16250if test "${with_default_videosink+set}" = set; then : 16251 withval=$with_default_videosink; 16252 case "${withval}" in 16253 yes) as_fn_error $? "bad value ${withval} for --with-default-videosink" "$LINENO" 5 ;; 16254 no) as_fn_error $? "bad value ${withval} for --with-default-videosink" "$LINENO" 5 ;; 16255 *) DEFAULT_VIDEOSINK="${withval}" ;; 16256 esac 16257 16258else 16259 16260 DEFAULT_VIDEOSINK="$DEFAULT_VIDEOSINK" 16261 16262fi 16263 16264 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VIDEOSINK as default video sink" >&5 16265$as_echo "$as_me: Using $DEFAULT_VIDEOSINK as default video sink" >&6;} 16266 16267 16268cat >>confdefs.h <<_ACEOF 16269#define DEFAULT_VIDEOSINK "$DEFAULT_VIDEOSINK" 16270_ACEOF 16271 16272 16273 16274# Check whether --with-default-videosrc was given. 16275if test "${with_default_videosrc+set}" = set; then : 16276 withval=$with_default_videosrc; 16277 case "${withval}" in 16278 yes) as_fn_error $? "bad value ${withval} for --with-default-videosrc" "$LINENO" 5 ;; 16279 no) as_fn_error $? "bad value ${withval} for --with-default-videosrc" "$LINENO" 5 ;; 16280 *) DEFAULT_VIDEOSRC="${withval}" ;; 16281 esac 16282 16283else 16284 16285 DEFAULT_VIDEOSRC="$DEFAULT_VIDEOSRC" 16286 16287fi 16288 16289 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VIDEOSRC as default video source" >&5 16290$as_echo "$as_me: Using $DEFAULT_VIDEOSRC as default video source" >&6;} 16291 16292 16293cat >>confdefs.h <<_ACEOF 16294#define DEFAULT_VIDEOSRC "$DEFAULT_VIDEOSRC" 16295_ACEOF 16296 16297 16298 16299# Check whether --with-default-visualizer was given. 16300if test "${with_default_visualizer+set}" = set; then : 16301 withval=$with_default_visualizer; 16302 case "${withval}" in 16303 yes) as_fn_error $? "bad value ${withval} for --with-default-visualizer" "$LINENO" 5 ;; 16304 no) as_fn_error $? "bad value ${withval} for --with-default-visualizer" "$LINENO" 5 ;; 16305 *) DEFAULT_VISUALIZER="${withval}" ;; 16306 esac 16307 16308else 16309 16310 DEFAULT_VISUALIZER="$DEFAULT_VISUALIZER" 16311 16312fi 16313 16314 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VISUALIZER as default visualizer" >&5 16315$as_echo "$as_me: Using $DEFAULT_VISUALIZER as default visualizer" >&6;} 16316 16317 16318cat >>confdefs.h <<_ACEOF 16319#define DEFAULT_VISUALIZER "$DEFAULT_VISUALIZER" 16320_ACEOF 16321 16322 16323 16324 16325 16326if test "x$USE_DEBUG" = xyes; then 16327 PROFILE_CFLAGS="-g" 16328fi 16329 16330 16331if test "x$GST_GIT" = "xyes"; then 16332 DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED" 16333else 16334 DEPRECATED_CFLAGS="" 16335fi 16336 16337 16338GST_OPTION_CFLAGS="\$(WARNING_CFLAGS) \$(ERROR_CFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)" 16339 16340 16341GST_CFLAGS="$GST_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_CFLAGS) -DGST_USE_UNSTABLE_API" 16342 16343 16344 16345GST_ALL_LDFLAGS="-no-undefined" 16346 16347 16348GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^_*gst_plugin_.*' $GST_ALL_LDFLAGS" 16349 16350 16351 16352ac_config_files="$ac_config_files Makefile common/Makefile common/m4/Makefile docs/Makefile docs/libs/Makefile docs/version.entities m4/Makefile tests/Makefile tests/check/Makefile gnl/Makefile gnonlin.spec" 16353 16354cat >confcache <<\_ACEOF 16355# This file is a shell script that caches the results of configure 16356# tests run on this system so they can be shared between configure 16357# scripts and configure runs, see configure's option --config-cache. 16358# It is not useful on other systems. If it contains results you don't 16359# want to keep, you may remove or edit it. 16360# 16361# config.status only pays attention to the cache file if you give it 16362# the --recheck option to rerun configure. 16363# 16364# `ac_cv_env_foo' variables (set or unset) will be overridden when 16365# loading this file, other *unset* `ac_cv_foo' will be assigned the 16366# following values. 16367 16368_ACEOF 16369 16370# The following way of writing the cache mishandles newlines in values, 16371# but we know of no workaround that is simple, portable, and efficient. 16372# So, we kill variables containing newlines. 16373# Ultrix sh set writes to stderr and can't be redirected directly, 16374# and sets the high bit in the cache file unless we assign to the vars. 16375( 16376 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 16377 eval ac_val=\$$ac_var 16378 case $ac_val in #( 16379 *${as_nl}*) 16380 case $ac_var in #( 16381 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 16382$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 16383 esac 16384 case $ac_var in #( 16385 _ | IFS | as_nl) ;; #( 16386 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 16387 *) { eval $ac_var=; unset $ac_var;} ;; 16388 esac ;; 16389 esac 16390 done 16391 16392 (set) 2>&1 | 16393 case $as_nl`(ac_space=' '; set) 2>&1` in #( 16394 *${as_nl}ac_space=\ *) 16395 # `set' does not quote correctly, so add quotes: double-quote 16396 # substitution turns \\\\ into \\, and sed turns \\ into \. 16397 sed -n \ 16398 "s/'/'\\\\''/g; 16399 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 16400 ;; #( 16401 *) 16402 # `set' quotes correctly as required by POSIX, so do not add quotes. 16403 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 16404 ;; 16405 esac | 16406 sort 16407) | 16408 sed ' 16409 /^ac_cv_env_/b end 16410 t clear 16411 :clear 16412 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 16413 t end 16414 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 16415 :end' >>confcache 16416if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 16417 if test -w "$cache_file"; then 16418 if test "x$cache_file" != "x/dev/null"; then 16419 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 16420$as_echo "$as_me: updating cache $cache_file" >&6;} 16421 if test ! -f "$cache_file" || test -h "$cache_file"; then 16422 cat confcache >"$cache_file" 16423 else 16424 case $cache_file in #( 16425 */* | ?:*) 16426 mv -f confcache "$cache_file"$$ && 16427 mv -f "$cache_file"$$ "$cache_file" ;; #( 16428 *) 16429 mv -f confcache "$cache_file" ;; 16430 esac 16431 fi 16432 fi 16433 else 16434 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 16435$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 16436 fi 16437fi 16438rm -f confcache 16439 16440test "x$prefix" = xNONE && prefix=$ac_default_prefix 16441# Let make expand exec_prefix. 16442test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 16443 16444DEFS=-DHAVE_CONFIG_H 16445 16446ac_libobjs= 16447ac_ltlibobjs= 16448U= 16449for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 16450 # 1. Remove the extension, and $U if already installed. 16451 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 16452 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 16453 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 16454 # will be set to the directory where LIBOBJS objects are built. 16455 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 16456 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 16457done 16458LIBOBJS=$ac_libobjs 16459 16460LTLIBOBJS=$ac_ltlibobjs 16461 16462 16463{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 16464$as_echo_n "checking that generated files are newer than configure... " >&6; } 16465 if test -n "$am_sleep_pid"; then 16466 # Hide warnings about reused PIDs. 16467 wait $am_sleep_pid 2>/dev/null 16468 fi 16469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 16470$as_echo "done" >&6; } 16471 if test -n "$EXEEXT"; then 16472 am__EXEEXT_TRUE= 16473 am__EXEEXT_FALSE='#' 16474else 16475 am__EXEEXT_TRUE='#' 16476 am__EXEEXT_FALSE= 16477fi 16478 16479if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 16480 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 16481Usually this means the macro was only invoked conditionally." "$LINENO" 5 16482fi 16483if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 16484 as_fn_error $? "conditional \"AMDEP\" was never defined. 16485Usually this means the macro was only invoked conditionally." "$LINENO" 5 16486fi 16487if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 16488 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 16489Usually this means the macro was only invoked conditionally." "$LINENO" 5 16490fi 16491if test -z "${GST_GCOV_ENABLED_TRUE}" && test -z "${GST_GCOV_ENABLED_FALSE}"; then 16492 as_fn_error $? "conditional \"GST_GCOV_ENABLED\" was never defined. 16493Usually this means the macro was only invoked conditionally." "$LINENO" 5 16494fi 16495if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 16496 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 16497Usually this means the macro was only invoked conditionally." "$LINENO" 5 16498fi 16499if test -z "${HAVE_VALGRIND_TRUE}" && test -z "${HAVE_VALGRIND_FALSE}"; then 16500 as_fn_error $? "conditional \"HAVE_VALGRIND\" was never defined. 16501Usually this means the macro was only invoked conditionally." "$LINENO" 5 16502fi 16503if test -z "${ENABLE_DOCBOOK_TRUE}" && test -z "${ENABLE_DOCBOOK_FALSE}"; then 16504 as_fn_error $? "conditional \"ENABLE_DOCBOOK\" was never defined. 16505Usually this means the macro was only invoked conditionally." "$LINENO" 5 16506fi 16507if test -z "${DOC_HTML_TRUE}" && test -z "${DOC_HTML_FALSE}"; then 16508 as_fn_error $? "conditional \"DOC_HTML\" was never defined. 16509Usually this means the macro was only invoked conditionally." "$LINENO" 5 16510fi 16511if test -z "${DOC_PDF_TRUE}" && test -z "${DOC_PDF_FALSE}"; then 16512 as_fn_error $? "conditional \"DOC_PDF\" was never defined. 16513Usually this means the macro was only invoked conditionally." "$LINENO" 5 16514fi 16515if test -z "${DOC_PS_TRUE}" && test -z "${DOC_PS_FALSE}"; then 16516 as_fn_error $? "conditional \"DOC_PS\" was never defined. 16517Usually this means the macro was only invoked conditionally." "$LINENO" 5 16518fi 16519if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then 16520 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined. 16521Usually this means the macro was only invoked conditionally." "$LINENO" 5 16522fi 16523if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then 16524 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined. 16525Usually this means the macro was only invoked conditionally." "$LINENO" 5 16526fi 16527if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then 16528 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined. 16529Usually this means the macro was only invoked conditionally." "$LINENO" 5 16530fi 16531if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then 16532 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined. 16533Usually this means the macro was only invoked conditionally." "$LINENO" 5 16534fi 16535if test -z "${HAVE_CHECK_TRUE}" && test -z "${HAVE_CHECK_FALSE}"; then 16536 as_fn_error $? "conditional \"HAVE_CHECK\" was never defined. 16537Usually this means the macro was only invoked conditionally." "$LINENO" 5 16538fi 16539if test -z "${GST_PLUGIN_BUILD_STATIC_TRUE}" && test -z "${GST_PLUGIN_BUILD_STATIC_FALSE}"; then 16540 as_fn_error $? "conditional \"GST_PLUGIN_BUILD_STATIC\" was never defined. 16541Usually this means the macro was only invoked conditionally." "$LINENO" 5 16542fi 16543 16544: "${CONFIG_STATUS=./config.status}" 16545ac_write_fail=0 16546ac_clean_files_save=$ac_clean_files 16547ac_clean_files="$ac_clean_files $CONFIG_STATUS" 16548{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 16549$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 16550as_write_fail=0 16551cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 16552#! $SHELL 16553# Generated by $as_me. 16554# Run this file to recreate the current configuration. 16555# Compiler output produced by configure, useful for debugging 16556# configure, is in config.log if it exists. 16557 16558debug=false 16559ac_cs_recheck=false 16560ac_cs_silent=false 16561 16562SHELL=\${CONFIG_SHELL-$SHELL} 16563export SHELL 16564_ASEOF 16565cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 16566## -------------------- ## 16567## M4sh Initialization. ## 16568## -------------------- ## 16569 16570# Be more Bourne compatible 16571DUALCASE=1; export DUALCASE # for MKS sh 16572if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 16573 emulate sh 16574 NULLCMD=: 16575 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 16576 # is contrary to our usage. Disable this feature. 16577 alias -g '${1+"$@"}'='"$@"' 16578 setopt NO_GLOB_SUBST 16579else 16580 case `(set -o) 2>/dev/null` in #( 16581 *posix*) : 16582 set -o posix ;; #( 16583 *) : 16584 ;; 16585esac 16586fi 16587 16588 16589as_nl=' 16590' 16591export as_nl 16592# Printing a long string crashes Solaris 7 /usr/bin/printf. 16593as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 16594as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 16595as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 16596# Prefer a ksh shell builtin over an external printf program on Solaris, 16597# but without wasting forks for bash or zsh. 16598if test -z "$BASH_VERSION$ZSH_VERSION" \ 16599 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 16600 as_echo='print -r --' 16601 as_echo_n='print -rn --' 16602elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 16603 as_echo='printf %s\n' 16604 as_echo_n='printf %s' 16605else 16606 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 16607 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 16608 as_echo_n='/usr/ucb/echo -n' 16609 else 16610 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 16611 as_echo_n_body='eval 16612 arg=$1; 16613 case $arg in #( 16614 *"$as_nl"*) 16615 expr "X$arg" : "X\\(.*\\)$as_nl"; 16616 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 16617 esac; 16618 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 16619 ' 16620 export as_echo_n_body 16621 as_echo_n='sh -c $as_echo_n_body as_echo' 16622 fi 16623 export as_echo_body 16624 as_echo='sh -c $as_echo_body as_echo' 16625fi 16626 16627# The user is always right. 16628if test "${PATH_SEPARATOR+set}" != set; then 16629 PATH_SEPARATOR=: 16630 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 16631 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 16632 PATH_SEPARATOR=';' 16633 } 16634fi 16635 16636 16637# IFS 16638# We need space, tab and new line, in precisely that order. Quoting is 16639# there to prevent editors from complaining about space-tab. 16640# (If _AS_PATH_WALK were called with IFS unset, it would disable word 16641# splitting by setting IFS to empty value.) 16642IFS=" "" $as_nl" 16643 16644# Find who we are. Look in the path if we contain no directory separator. 16645as_myself= 16646case $0 in #(( 16647 *[\\/]* ) as_myself=$0 ;; 16648 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16649for as_dir in $PATH 16650do 16651 IFS=$as_save_IFS 16652 test -z "$as_dir" && as_dir=. 16653 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 16654 done 16655IFS=$as_save_IFS 16656 16657 ;; 16658esac 16659# We did not find ourselves, most probably we were run as `sh COMMAND' 16660# in which case we are not to be found in the path. 16661if test "x$as_myself" = x; then 16662 as_myself=$0 16663fi 16664if test ! -f "$as_myself"; then 16665 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 16666 exit 1 16667fi 16668 16669# Unset variables that we do not need and which cause bugs (e.g. in 16670# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 16671# suppresses any "Segmentation fault" message there. '((' could 16672# trigger a bug in pdksh 5.2.14. 16673for as_var in BASH_ENV ENV MAIL MAILPATH 16674do eval test x\${$as_var+set} = xset \ 16675 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 16676done 16677PS1='$ ' 16678PS2='> ' 16679PS4='+ ' 16680 16681# NLS nuisances. 16682LC_ALL=C 16683export LC_ALL 16684LANGUAGE=C 16685export LANGUAGE 16686 16687# CDPATH. 16688(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 16689 16690 16691# as_fn_error STATUS ERROR [LINENO LOG_FD] 16692# ---------------------------------------- 16693# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 16694# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 16695# script with STATUS, using 1 if that was 0. 16696as_fn_error () 16697{ 16698 as_status=$1; test $as_status -eq 0 && as_status=1 16699 if test "$4"; then 16700 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 16701 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 16702 fi 16703 $as_echo "$as_me: error: $2" >&2 16704 as_fn_exit $as_status 16705} # as_fn_error 16706 16707 16708# as_fn_set_status STATUS 16709# ----------------------- 16710# Set $? to STATUS, without forking. 16711as_fn_set_status () 16712{ 16713 return $1 16714} # as_fn_set_status 16715 16716# as_fn_exit STATUS 16717# ----------------- 16718# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 16719as_fn_exit () 16720{ 16721 set +e 16722 as_fn_set_status $1 16723 exit $1 16724} # as_fn_exit 16725 16726# as_fn_unset VAR 16727# --------------- 16728# Portably unset VAR. 16729as_fn_unset () 16730{ 16731 { eval $1=; unset $1;} 16732} 16733as_unset=as_fn_unset 16734# as_fn_append VAR VALUE 16735# ---------------------- 16736# Append the text in VALUE to the end of the definition contained in VAR. Take 16737# advantage of any shell optimizations that allow amortized linear growth over 16738# repeated appends, instead of the typical quadratic growth present in naive 16739# implementations. 16740if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 16741 eval 'as_fn_append () 16742 { 16743 eval $1+=\$2 16744 }' 16745else 16746 as_fn_append () 16747 { 16748 eval $1=\$$1\$2 16749 } 16750fi # as_fn_append 16751 16752# as_fn_arith ARG... 16753# ------------------ 16754# Perform arithmetic evaluation on the ARGs, and store the result in the 16755# global $as_val. Take advantage of shells that can avoid forks. The arguments 16756# must be portable across $(()) and expr. 16757if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 16758 eval 'as_fn_arith () 16759 { 16760 as_val=$(( $* )) 16761 }' 16762else 16763 as_fn_arith () 16764 { 16765 as_val=`expr "$@" || test $? -eq 1` 16766 } 16767fi # as_fn_arith 16768 16769 16770if expr a : '\(a\)' >/dev/null 2>&1 && 16771 test "X`expr 00001 : '.*\(...\)'`" = X001; then 16772 as_expr=expr 16773else 16774 as_expr=false 16775fi 16776 16777if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 16778 as_basename=basename 16779else 16780 as_basename=false 16781fi 16782 16783if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 16784 as_dirname=dirname 16785else 16786 as_dirname=false 16787fi 16788 16789as_me=`$as_basename -- "$0" || 16790$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 16791 X"$0" : 'X\(//\)$' \| \ 16792 X"$0" : 'X\(/\)' \| . 2>/dev/null || 16793$as_echo X/"$0" | 16794 sed '/^.*\/\([^/][^/]*\)\/*$/{ 16795 s//\1/ 16796 q 16797 } 16798 /^X\/\(\/\/\)$/{ 16799 s//\1/ 16800 q 16801 } 16802 /^X\/\(\/\).*/{ 16803 s//\1/ 16804 q 16805 } 16806 s/.*/./; q'` 16807 16808# Avoid depending upon Character Ranges. 16809as_cr_letters='abcdefghijklmnopqrstuvwxyz' 16810as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 16811as_cr_Letters=$as_cr_letters$as_cr_LETTERS 16812as_cr_digits='0123456789' 16813as_cr_alnum=$as_cr_Letters$as_cr_digits 16814 16815ECHO_C= ECHO_N= ECHO_T= 16816case `echo -n x` in #((((( 16817-n*) 16818 case `echo 'xy\c'` in 16819 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 16820 xy) ECHO_C='\c';; 16821 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 16822 ECHO_T=' ';; 16823 esac;; 16824*) 16825 ECHO_N='-n';; 16826esac 16827 16828rm -f conf$$ conf$$.exe conf$$.file 16829if test -d conf$$.dir; then 16830 rm -f conf$$.dir/conf$$.file 16831else 16832 rm -f conf$$.dir 16833 mkdir conf$$.dir 2>/dev/null 16834fi 16835if (echo >conf$$.file) 2>/dev/null; then 16836 if ln -s conf$$.file conf$$ 2>/dev/null; then 16837 as_ln_s='ln -s' 16838 # ... but there are two gotchas: 16839 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 16840 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 16841 # In both cases, we have to default to `cp -pR'. 16842 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 16843 as_ln_s='cp -pR' 16844 elif ln conf$$.file conf$$ 2>/dev/null; then 16845 as_ln_s=ln 16846 else 16847 as_ln_s='cp -pR' 16848 fi 16849else 16850 as_ln_s='cp -pR' 16851fi 16852rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 16853rmdir conf$$.dir 2>/dev/null 16854 16855 16856# as_fn_mkdir_p 16857# ------------- 16858# Create "$as_dir" as a directory, including parents if necessary. 16859as_fn_mkdir_p () 16860{ 16861 16862 case $as_dir in #( 16863 -*) as_dir=./$as_dir;; 16864 esac 16865 test -d "$as_dir" || eval $as_mkdir_p || { 16866 as_dirs= 16867 while :; do 16868 case $as_dir in #( 16869 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 16870 *) as_qdir=$as_dir;; 16871 esac 16872 as_dirs="'$as_qdir' $as_dirs" 16873 as_dir=`$as_dirname -- "$as_dir" || 16874$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16875 X"$as_dir" : 'X\(//\)[^/]' \| \ 16876 X"$as_dir" : 'X\(//\)$' \| \ 16877 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 16878$as_echo X"$as_dir" | 16879 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16880 s//\1/ 16881 q 16882 } 16883 /^X\(\/\/\)[^/].*/{ 16884 s//\1/ 16885 q 16886 } 16887 /^X\(\/\/\)$/{ 16888 s//\1/ 16889 q 16890 } 16891 /^X\(\/\).*/{ 16892 s//\1/ 16893 q 16894 } 16895 s/.*/./; q'` 16896 test -d "$as_dir" && break 16897 done 16898 test -z "$as_dirs" || eval "mkdir $as_dirs" 16899 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 16900 16901 16902} # as_fn_mkdir_p 16903if mkdir -p . 2>/dev/null; then 16904 as_mkdir_p='mkdir -p "$as_dir"' 16905else 16906 test -d ./-p && rmdir ./-p 16907 as_mkdir_p=false 16908fi 16909 16910 16911# as_fn_executable_p FILE 16912# ----------------------- 16913# Test if FILE is an executable regular file. 16914as_fn_executable_p () 16915{ 16916 test -f "$1" && test -x "$1" 16917} # as_fn_executable_p 16918as_test_x='test -x' 16919as_executable_p=as_fn_executable_p 16920 16921# Sed expression to map a string onto a valid CPP name. 16922as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 16923 16924# Sed expression to map a string onto a valid variable name. 16925as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 16926 16927 16928exec 6>&1 16929## ----------------------------------- ## 16930## Main body of $CONFIG_STATUS script. ## 16931## ----------------------------------- ## 16932_ASEOF 16933test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 16934 16935cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16936# Save the log message, to keep $0 and so on meaningful, and to 16937# report actual input values of CONFIG_FILES etc. instead of their 16938# values after options handling. 16939ac_log=" 16940This file was extended by GNonLin $as_me 1.4.0, which was 16941generated by GNU Autoconf 2.69. Invocation command line was 16942 16943 CONFIG_FILES = $CONFIG_FILES 16944 CONFIG_HEADERS = $CONFIG_HEADERS 16945 CONFIG_LINKS = $CONFIG_LINKS 16946 CONFIG_COMMANDS = $CONFIG_COMMANDS 16947 $ $0 $@ 16948 16949on `(hostname || uname -n) 2>/dev/null | sed 1q` 16950" 16951 16952_ACEOF 16953 16954case $ac_config_files in *" 16955"*) set x $ac_config_files; shift; ac_config_files=$*;; 16956esac 16957 16958case $ac_config_headers in *" 16959"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 16960esac 16961 16962 16963cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16964# Files that config.status was made for. 16965config_files="$ac_config_files" 16966config_headers="$ac_config_headers" 16967config_commands="$ac_config_commands" 16968 16969_ACEOF 16970 16971cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16972ac_cs_usage="\ 16973\`$as_me' instantiates files and other configuration actions 16974from templates according to the current configuration. Unless the files 16975and actions are specified as TAGs, all are instantiated by default. 16976 16977Usage: $0 [OPTION]... [TAG]... 16978 16979 -h, --help print this help, then exit 16980 -V, --version print version number and configuration settings, then exit 16981 --config print configuration, then exit 16982 -q, --quiet, --silent 16983 do not print progress messages 16984 -d, --debug don't remove temporary files 16985 --recheck update $as_me by reconfiguring in the same conditions 16986 --file=FILE[:TEMPLATE] 16987 instantiate the configuration file FILE 16988 --header=FILE[:TEMPLATE] 16989 instantiate the configuration header FILE 16990 16991Configuration files: 16992$config_files 16993 16994Configuration headers: 16995$config_headers 16996 16997Configuration commands: 16998$config_commands 16999 17000Report bugs to <http://gnonlin.sourceforge.net/>." 17001 17002_ACEOF 17003cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17004ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 17005ac_cs_version="\\ 17006GNonLin config.status 1.4.0 17007configured by $0, generated by GNU Autoconf 2.69, 17008 with options \\"\$ac_cs_config\\" 17009 17010Copyright (C) 2012 Free Software Foundation, Inc. 17011This config.status script is free software; the Free Software Foundation 17012gives unlimited permission to copy, distribute and modify it." 17013 17014ac_pwd='$ac_pwd' 17015srcdir='$srcdir' 17016INSTALL='$INSTALL' 17017MKDIR_P='$MKDIR_P' 17018AWK='$AWK' 17019test -n "\$AWK" || AWK=awk 17020_ACEOF 17021 17022cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17023# The default lists apply if the user does not specify any file. 17024ac_need_defaults=: 17025while test $# != 0 17026do 17027 case $1 in 17028 --*=?*) 17029 ac_option=`expr "X$1" : 'X\([^=]*\)='` 17030 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 17031 ac_shift=: 17032 ;; 17033 --*=) 17034 ac_option=`expr "X$1" : 'X\([^=]*\)='` 17035 ac_optarg= 17036 ac_shift=: 17037 ;; 17038 *) 17039 ac_option=$1 17040 ac_optarg=$2 17041 ac_shift=shift 17042 ;; 17043 esac 17044 17045 case $ac_option in 17046 # Handling of the options. 17047 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 17048 ac_cs_recheck=: ;; 17049 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 17050 $as_echo "$ac_cs_version"; exit ;; 17051 --config | --confi | --conf | --con | --co | --c ) 17052 $as_echo "$ac_cs_config"; exit ;; 17053 --debug | --debu | --deb | --de | --d | -d ) 17054 debug=: ;; 17055 --file | --fil | --fi | --f ) 17056 $ac_shift 17057 case $ac_optarg in 17058 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 17059 '') as_fn_error $? "missing file argument" ;; 17060 esac 17061 as_fn_append CONFIG_FILES " '$ac_optarg'" 17062 ac_need_defaults=false;; 17063 --header | --heade | --head | --hea ) 17064 $ac_shift 17065 case $ac_optarg in 17066 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 17067 esac 17068 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 17069 ac_need_defaults=false;; 17070 --he | --h) 17071 # Conflict between --help and --header 17072 as_fn_error $? "ambiguous option: \`$1' 17073Try \`$0 --help' for more information.";; 17074 --help | --hel | -h ) 17075 $as_echo "$ac_cs_usage"; exit ;; 17076 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 17077 | -silent | --silent | --silen | --sile | --sil | --si | --s) 17078 ac_cs_silent=: ;; 17079 17080 # This is an error. 17081 -*) as_fn_error $? "unrecognized option: \`$1' 17082Try \`$0 --help' for more information." ;; 17083 17084 *) as_fn_append ac_config_targets " $1" 17085 ac_need_defaults=false ;; 17086 17087 esac 17088 shift 17089done 17090 17091ac_configure_extra_args= 17092 17093if $ac_cs_silent; then 17094 exec 6>/dev/null 17095 ac_configure_extra_args="$ac_configure_extra_args --silent" 17096fi 17097 17098_ACEOF 17099cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17100if \$ac_cs_recheck; then 17101 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 17102 shift 17103 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 17104 CONFIG_SHELL='$SHELL' 17105 export CONFIG_SHELL 17106 exec "\$@" 17107fi 17108 17109_ACEOF 17110cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17111exec 5>>config.log 17112{ 17113 echo 17114 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 17115## Running $as_me. ## 17116_ASBOX 17117 $as_echo "$ac_log" 17118} >&5 17119 17120_ACEOF 17121cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17122# 17123# INIT-COMMANDS 17124# 17125AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 17126 17127 17128# The HP-UX ksh and POSIX shell print the target directory to stdout 17129# if CDPATH is set. 17130(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 17131 17132sed_quote_subst='$sed_quote_subst' 17133double_quote_subst='$double_quote_subst' 17134delay_variable_subst='$delay_variable_subst' 17135macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 17136macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 17137AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 17138DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 17139OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 17140enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 17141enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 17142pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 17143enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 17144SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 17145ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 17146PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 17147host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 17148host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 17149host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 17150build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 17151build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 17152build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 17153SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 17154Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 17155GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 17156EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 17157FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 17158LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 17159NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 17160LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 17161max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 17162ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 17163exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 17164lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 17165lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 17166lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 17167lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 17168lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 17169reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 17170reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 17171deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 17172file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 17173file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 17174want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 17175sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 17176AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 17177AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 17178archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 17179STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 17180RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 17181old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 17182old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 17183old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 17184lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 17185CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 17186CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 17187compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 17188GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 17189lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 17190lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 17191lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 17192lt_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"`' 17193nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 17194lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 17195objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 17196MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 17197lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 17198lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 17199lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 17200lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 17201lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 17202need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 17203MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 17204DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 17205NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 17206LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 17207OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 17208OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 17209libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 17210shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 17211extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 17212archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 17213enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 17214export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 17215whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 17216compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 17217old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 17218old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 17219archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 17220archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 17221module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 17222module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 17223with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 17224allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 17225no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 17226hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 17227hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 17228hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 17229hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 17230hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 17231hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 17232hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 17233inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 17234link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 17235always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 17236export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 17237exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 17238include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 17239prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 17240postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 17241file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 17242variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 17243need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 17244need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 17245version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 17246runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 17247shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 17248shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 17249libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 17250library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 17251soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 17252install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 17253postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 17254postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 17255finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 17256finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 17257hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 17258sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 17259sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 17260hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 17261enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 17262enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 17263enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 17264old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 17265striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 17266 17267LTCC='$LTCC' 17268LTCFLAGS='$LTCFLAGS' 17269compiler='$compiler_DEFAULT' 17270 17271# A function that is used when there is no print builtin or printf. 17272func_fallback_echo () 17273{ 17274 eval 'cat <<_LTECHO_EOF 17275\$1 17276_LTECHO_EOF' 17277} 17278 17279# Quote evaled strings. 17280for var in AS \ 17281DLLTOOL \ 17282OBJDUMP \ 17283SHELL \ 17284ECHO \ 17285PATH_SEPARATOR \ 17286SED \ 17287GREP \ 17288EGREP \ 17289FGREP \ 17290LD \ 17291NM \ 17292LN_S \ 17293lt_SP2NL \ 17294lt_NL2SP \ 17295reload_flag \ 17296deplibs_check_method \ 17297file_magic_cmd \ 17298file_magic_glob \ 17299want_nocaseglob \ 17300sharedlib_from_linklib_cmd \ 17301AR \ 17302AR_FLAGS \ 17303archiver_list_spec \ 17304STRIP \ 17305RANLIB \ 17306CC \ 17307CFLAGS \ 17308compiler \ 17309lt_cv_sys_global_symbol_pipe \ 17310lt_cv_sys_global_symbol_to_cdecl \ 17311lt_cv_sys_global_symbol_to_c_name_address \ 17312lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 17313nm_file_list_spec \ 17314lt_prog_compiler_no_builtin_flag \ 17315lt_prog_compiler_pic \ 17316lt_prog_compiler_wl \ 17317lt_prog_compiler_static \ 17318lt_cv_prog_compiler_c_o \ 17319need_locks \ 17320MANIFEST_TOOL \ 17321DSYMUTIL \ 17322NMEDIT \ 17323LIPO \ 17324OTOOL \ 17325OTOOL64 \ 17326shrext_cmds \ 17327export_dynamic_flag_spec \ 17328whole_archive_flag_spec \ 17329compiler_needs_object \ 17330with_gnu_ld \ 17331allow_undefined_flag \ 17332no_undefined_flag \ 17333hardcode_libdir_flag_spec \ 17334hardcode_libdir_separator \ 17335exclude_expsyms \ 17336include_expsyms \ 17337file_list_spec \ 17338variables_saved_for_relink \ 17339libname_spec \ 17340library_names_spec \ 17341soname_spec \ 17342install_override_mode \ 17343finish_eval \ 17344old_striplib \ 17345striplib; do 17346 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 17347 *[\\\\\\\`\\"\\\$]*) 17348 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 17349 ;; 17350 *) 17351 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 17352 ;; 17353 esac 17354done 17355 17356# Double-quote double-evaled strings. 17357for var in reload_cmds \ 17358old_postinstall_cmds \ 17359old_postuninstall_cmds \ 17360old_archive_cmds \ 17361extract_expsyms_cmds \ 17362old_archive_from_new_cmds \ 17363old_archive_from_expsyms_cmds \ 17364archive_cmds \ 17365archive_expsym_cmds \ 17366module_cmds \ 17367module_expsym_cmds \ 17368export_symbols_cmds \ 17369prelink_cmds \ 17370postlink_cmds \ 17371postinstall_cmds \ 17372postuninstall_cmds \ 17373finish_cmds \ 17374sys_lib_search_path_spec \ 17375sys_lib_dlsearch_path_spec; do 17376 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 17377 *[\\\\\\\`\\"\\\$]*) 17378 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 17379 ;; 17380 *) 17381 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 17382 ;; 17383 esac 17384done 17385 17386ac_aux_dir='$ac_aux_dir' 17387xsi_shell='$xsi_shell' 17388lt_shell_append='$lt_shell_append' 17389 17390# See if we are running on zsh, and set the options which allow our 17391# commands through without removal of \ escapes INIT. 17392if test -n "\${ZSH_VERSION+set}" ; then 17393 setopt NO_GLOB_SUBST 17394fi 17395 17396 17397 PACKAGE='$PACKAGE' 17398 VERSION='$VERSION' 17399 TIMESTAMP='$TIMESTAMP' 17400 RM='$RM' 17401 ofile='$ofile' 17402 17403 17404 17405 17406_ACEOF 17407 17408cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17409 17410# Handling of arguments. 17411for ac_config_target in $ac_config_targets 17412do 17413 case $ac_config_target in 17414 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 17415 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 17416 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 17417 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 17418 "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;; 17419 "common/m4/Makefile") CONFIG_FILES="$CONFIG_FILES common/m4/Makefile" ;; 17420 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; 17421 "docs/libs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libs/Makefile" ;; 17422 "docs/version.entities") CONFIG_FILES="$CONFIG_FILES docs/version.entities" ;; 17423 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; 17424 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 17425 "tests/check/Makefile") CONFIG_FILES="$CONFIG_FILES tests/check/Makefile" ;; 17426 "gnl/Makefile") CONFIG_FILES="$CONFIG_FILES gnl/Makefile" ;; 17427 "gnonlin.spec") CONFIG_FILES="$CONFIG_FILES gnonlin.spec" ;; 17428 17429 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 17430 esac 17431done 17432 17433 17434# If the user did not use the arguments to specify the items to instantiate, 17435# then the envvar interface is used. Set only those that are not. 17436# We use the long form for the default assignment because of an extremely 17437# bizarre bug on SunOS 4.1.3. 17438if $ac_need_defaults; then 17439 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 17440 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 17441 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 17442fi 17443 17444# Have a temporary directory for convenience. Make it in the build tree 17445# simply because there is no reason against having it here, and in addition, 17446# creating and moving files from /tmp can sometimes cause problems. 17447# Hook for its removal unless debugging. 17448# Note that there is a small window in which the directory will not be cleaned: 17449# after its creation but before its name has been assigned to `$tmp'. 17450$debug || 17451{ 17452 tmp= ac_tmp= 17453 trap 'exit_status=$? 17454 : "${ac_tmp:=$tmp}" 17455 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 17456' 0 17457 trap 'as_fn_exit 1' 1 2 13 15 17458} 17459# Create a (secure) tmp directory for tmp files. 17460 17461{ 17462 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 17463 test -d "$tmp" 17464} || 17465{ 17466 tmp=./conf$$-$RANDOM 17467 (umask 077 && mkdir "$tmp") 17468} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 17469ac_tmp=$tmp 17470 17471# Set up the scripts for CONFIG_FILES section. 17472# No need to generate them if there are no CONFIG_FILES. 17473# This happens for instance with `./config.status config.h'. 17474if test -n "$CONFIG_FILES"; then 17475 17476 17477ac_cr=`echo X | tr X '\015'` 17478# On cygwin, bash can eat \r inside `` if the user requested igncr. 17479# But we know of no other shell where ac_cr would be empty at this 17480# point, so we can use a bashism as a fallback. 17481if test "x$ac_cr" = x; then 17482 eval ac_cr=\$\'\\r\' 17483fi 17484ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 17485if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 17486 ac_cs_awk_cr='\\r' 17487else 17488 ac_cs_awk_cr=$ac_cr 17489fi 17490 17491echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 17492_ACEOF 17493 17494 17495{ 17496 echo "cat >conf$$subs.awk <<_ACEOF" && 17497 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 17498 echo "_ACEOF" 17499} >conf$$subs.sh || 17500 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17501ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 17502ac_delim='%!_!# ' 17503for ac_last_try in false false false false false :; do 17504 . ./conf$$subs.sh || 17505 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17506 17507 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 17508 if test $ac_delim_n = $ac_delim_num; then 17509 break 17510 elif $ac_last_try; then 17511 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17512 else 17513 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 17514 fi 17515done 17516rm -f conf$$subs.sh 17517 17518cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17519cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 17520_ACEOF 17521sed -n ' 17522h 17523s/^/S["/; s/!.*/"]=/ 17524p 17525g 17526s/^[^!]*!// 17527:repl 17528t repl 17529s/'"$ac_delim"'$// 17530t delim 17531:nl 17532h 17533s/\(.\{148\}\)..*/\1/ 17534t more1 17535s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 17536p 17537n 17538b repl 17539:more1 17540s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 17541p 17542g 17543s/.\{148\}// 17544t nl 17545:delim 17546h 17547s/\(.\{148\}\)..*/\1/ 17548t more2 17549s/["\\]/\\&/g; s/^/"/; s/$/"/ 17550p 17551b 17552:more2 17553s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 17554p 17555g 17556s/.\{148\}// 17557t delim 17558' <conf$$subs.awk | sed ' 17559/^[^""]/{ 17560 N 17561 s/\n// 17562} 17563' >>$CONFIG_STATUS || ac_write_fail=1 17564rm -f conf$$subs.awk 17565cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17566_ACAWK 17567cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 17568 for (key in S) S_is_set[key] = 1 17569 FS = "" 17570 17571} 17572{ 17573 line = $ 0 17574 nfields = split(line, field, "@") 17575 substed = 0 17576 len = length(field[1]) 17577 for (i = 2; i < nfields; i++) { 17578 key = field[i] 17579 keylen = length(key) 17580 if (S_is_set[key]) { 17581 value = S[key] 17582 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 17583 len += length(value) + length(field[++i]) 17584 substed = 1 17585 } else 17586 len += 1 + keylen 17587 } 17588 17589 print line 17590} 17591 17592_ACAWK 17593_ACEOF 17594cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17595if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 17596 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 17597else 17598 cat 17599fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 17600 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 17601_ACEOF 17602 17603# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 17604# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 17605# trailing colons and then remove the whole line if VPATH becomes empty 17606# (actually we leave an empty line to preserve line numbers). 17607if test "x$srcdir" = x.; then 17608 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 17609h 17610s/// 17611s/^/:/ 17612s/[ ]*$/:/ 17613s/:\$(srcdir):/:/g 17614s/:\${srcdir}:/:/g 17615s/:@srcdir@:/:/g 17616s/^:*// 17617s/:*$// 17618x 17619s/\(=[ ]*\).*/\1/ 17620G 17621s/\n// 17622s/^[^=]*=[ ]*$// 17623}' 17624fi 17625 17626cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17627fi # test -n "$CONFIG_FILES" 17628 17629# Set up the scripts for CONFIG_HEADERS section. 17630# No need to generate them if there are no CONFIG_HEADERS. 17631# This happens for instance with `./config.status Makefile'. 17632if test -n "$CONFIG_HEADERS"; then 17633cat >"$ac_tmp/defines.awk" <<\_ACAWK || 17634BEGIN { 17635_ACEOF 17636 17637# Transform confdefs.h into an awk script `defines.awk', embedded as 17638# here-document in config.status, that substitutes the proper values into 17639# config.h.in to produce config.h. 17640 17641# Create a delimiter string that does not exist in confdefs.h, to ease 17642# handling of long lines. 17643ac_delim='%!_!# ' 17644for ac_last_try in false false :; do 17645 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 17646 if test -z "$ac_tt"; then 17647 break 17648 elif $ac_last_try; then 17649 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 17650 else 17651 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 17652 fi 17653done 17654 17655# For the awk script, D is an array of macro values keyed by name, 17656# likewise P contains macro parameters if any. Preserve backslash 17657# newline sequences. 17658 17659ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 17660sed -n ' 17661s/.\{148\}/&'"$ac_delim"'/g 17662t rset 17663:rset 17664s/^[ ]*#[ ]*define[ ][ ]*/ / 17665t def 17666d 17667:def 17668s/\\$// 17669t bsnl 17670s/["\\]/\\&/g 17671s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 17672D["\1"]=" \3"/p 17673s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 17674d 17675:bsnl 17676s/["\\]/\\&/g 17677s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 17678D["\1"]=" \3\\\\\\n"\\/p 17679t cont 17680s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 17681t cont 17682d 17683:cont 17684n 17685s/.\{148\}/&'"$ac_delim"'/g 17686t clear 17687:clear 17688s/\\$// 17689t bsnlc 17690s/["\\]/\\&/g; s/^/"/; s/$/"/p 17691d 17692:bsnlc 17693s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 17694b cont 17695' <confdefs.h | sed ' 17696s/'"$ac_delim"'/"\\\ 17697"/g' >>$CONFIG_STATUS || ac_write_fail=1 17698 17699cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17700 for (key in D) D_is_set[key] = 1 17701 FS = "" 17702} 17703/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 17704 line = \$ 0 17705 split(line, arg, " ") 17706 if (arg[1] == "#") { 17707 defundef = arg[2] 17708 mac1 = arg[3] 17709 } else { 17710 defundef = substr(arg[1], 2) 17711 mac1 = arg[2] 17712 } 17713 split(mac1, mac2, "(") #) 17714 macro = mac2[1] 17715 prefix = substr(line, 1, index(line, defundef) - 1) 17716 if (D_is_set[macro]) { 17717 # Preserve the white space surrounding the "#". 17718 print prefix "define", macro P[macro] D[macro] 17719 next 17720 } else { 17721 # Replace #undef with comments. This is necessary, for example, 17722 # in the case of _POSIX_SOURCE, which is predefined and required 17723 # on some systems where configure will not decide to define it. 17724 if (defundef == "undef") { 17725 print "/*", prefix defundef, macro, "*/" 17726 next 17727 } 17728 } 17729} 17730{ print } 17731_ACAWK 17732_ACEOF 17733cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17734 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 17735fi # test -n "$CONFIG_HEADERS" 17736 17737 17738eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 17739shift 17740for ac_tag 17741do 17742 case $ac_tag in 17743 :[FHLC]) ac_mode=$ac_tag; continue;; 17744 esac 17745 case $ac_mode$ac_tag in 17746 :[FHL]*:*);; 17747 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 17748 :[FH]-) ac_tag=-:-;; 17749 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 17750 esac 17751 ac_save_IFS=$IFS 17752 IFS=: 17753 set x $ac_tag 17754 IFS=$ac_save_IFS 17755 shift 17756 ac_file=$1 17757 shift 17758 17759 case $ac_mode in 17760 :L) ac_source=$1;; 17761 :[FH]) 17762 ac_file_inputs= 17763 for ac_f 17764 do 17765 case $ac_f in 17766 -) ac_f="$ac_tmp/stdin";; 17767 *) # Look for the file first in the build tree, then in the source tree 17768 # (if the path is not absolute). The absolute path cannot be DOS-style, 17769 # because $ac_f cannot contain `:'. 17770 test -f "$ac_f" || 17771 case $ac_f in 17772 [\\/$]*) false;; 17773 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 17774 esac || 17775 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 17776 esac 17777 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 17778 as_fn_append ac_file_inputs " '$ac_f'" 17779 done 17780 17781 # Let's still pretend it is `configure' which instantiates (i.e., don't 17782 # use $as_me), people would be surprised to read: 17783 # /* config.h. Generated by config.status. */ 17784 configure_input='Generated from '` 17785 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 17786 `' by configure.' 17787 if test x"$ac_file" != x-; then 17788 configure_input="$ac_file. $configure_input" 17789 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 17790$as_echo "$as_me: creating $ac_file" >&6;} 17791 fi 17792 # Neutralize special characters interpreted by sed in replacement strings. 17793 case $configure_input in #( 17794 *\&* | *\|* | *\\* ) 17795 ac_sed_conf_input=`$as_echo "$configure_input" | 17796 sed 's/[\\\\&|]/\\\\&/g'`;; #( 17797 *) ac_sed_conf_input=$configure_input;; 17798 esac 17799 17800 case $ac_tag in 17801 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 17802 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 17803 esac 17804 ;; 17805 esac 17806 17807 ac_dir=`$as_dirname -- "$ac_file" || 17808$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17809 X"$ac_file" : 'X\(//\)[^/]' \| \ 17810 X"$ac_file" : 'X\(//\)$' \| \ 17811 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 17812$as_echo X"$ac_file" | 17813 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17814 s//\1/ 17815 q 17816 } 17817 /^X\(\/\/\)[^/].*/{ 17818 s//\1/ 17819 q 17820 } 17821 /^X\(\/\/\)$/{ 17822 s//\1/ 17823 q 17824 } 17825 /^X\(\/\).*/{ 17826 s//\1/ 17827 q 17828 } 17829 s/.*/./; q'` 17830 as_dir="$ac_dir"; as_fn_mkdir_p 17831 ac_builddir=. 17832 17833case "$ac_dir" in 17834.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 17835*) 17836 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 17837 # A ".." for each directory in $ac_dir_suffix. 17838 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 17839 case $ac_top_builddir_sub in 17840 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 17841 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 17842 esac ;; 17843esac 17844ac_abs_top_builddir=$ac_pwd 17845ac_abs_builddir=$ac_pwd$ac_dir_suffix 17846# for backward compatibility: 17847ac_top_builddir=$ac_top_build_prefix 17848 17849case $srcdir in 17850 .) # We are building in place. 17851 ac_srcdir=. 17852 ac_top_srcdir=$ac_top_builddir_sub 17853 ac_abs_top_srcdir=$ac_pwd ;; 17854 [\\/]* | ?:[\\/]* ) # Absolute name. 17855 ac_srcdir=$srcdir$ac_dir_suffix; 17856 ac_top_srcdir=$srcdir 17857 ac_abs_top_srcdir=$srcdir ;; 17858 *) # Relative name. 17859 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 17860 ac_top_srcdir=$ac_top_build_prefix$srcdir 17861 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 17862esac 17863ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 17864 17865 17866 case $ac_mode in 17867 :F) 17868 # 17869 # CONFIG_FILE 17870 # 17871 17872 case $INSTALL in 17873 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 17874 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 17875 esac 17876 ac_MKDIR_P=$MKDIR_P 17877 case $MKDIR_P in 17878 [\\/$]* | ?:[\\/]* ) ;; 17879 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 17880 esac 17881_ACEOF 17882 17883cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17884# If the template does not know about datarootdir, expand it. 17885# FIXME: This hack should be removed a few years after 2.60. 17886ac_datarootdir_hack=; ac_datarootdir_seen= 17887ac_sed_dataroot=' 17888/datarootdir/ { 17889 p 17890 q 17891} 17892/@datadir@/p 17893/@docdir@/p 17894/@infodir@/p 17895/@localedir@/p 17896/@mandir@/p' 17897case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 17898*datarootdir*) ac_datarootdir_seen=yes;; 17899*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 17900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 17901$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 17902_ACEOF 17903cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17904 ac_datarootdir_hack=' 17905 s&@datadir@&$datadir&g 17906 s&@docdir@&$docdir&g 17907 s&@infodir@&$infodir&g 17908 s&@localedir@&$localedir&g 17909 s&@mandir@&$mandir&g 17910 s&\\\${datarootdir}&$datarootdir&g' ;; 17911esac 17912_ACEOF 17913 17914# Neutralize VPATH when `$srcdir' = `.'. 17915# Shell code in configure.ac might set extrasub. 17916# FIXME: do we really want to maintain this feature? 17917cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17918ac_sed_extra="$ac_vpsub 17919$extrasub 17920_ACEOF 17921cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17922:t 17923/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 17924s|@configure_input@|$ac_sed_conf_input|;t t 17925s&@top_builddir@&$ac_top_builddir_sub&;t t 17926s&@top_build_prefix@&$ac_top_build_prefix&;t t 17927s&@srcdir@&$ac_srcdir&;t t 17928s&@abs_srcdir@&$ac_abs_srcdir&;t t 17929s&@top_srcdir@&$ac_top_srcdir&;t t 17930s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 17931s&@builddir@&$ac_builddir&;t t 17932s&@abs_builddir@&$ac_abs_builddir&;t t 17933s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 17934s&@INSTALL@&$ac_INSTALL&;t t 17935s&@MKDIR_P@&$ac_MKDIR_P&;t t 17936$ac_datarootdir_hack 17937" 17938eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 17939 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17940 17941test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 17942 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 17943 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 17944 "$ac_tmp/out"`; test -z "$ac_out"; } && 17945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 17946which seems to be undefined. Please make sure it is defined" >&5 17947$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 17948which seems to be undefined. Please make sure it is defined" >&2;} 17949 17950 rm -f "$ac_tmp/stdin" 17951 case $ac_file in 17952 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 17953 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 17954 esac \ 17955 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17956 ;; 17957 :H) 17958 # 17959 # CONFIG_HEADER 17960 # 17961 if test x"$ac_file" != x-; then 17962 { 17963 $as_echo "/* $configure_input */" \ 17964 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 17965 } >"$ac_tmp/config.h" \ 17966 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17967 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 17968 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 17969$as_echo "$as_me: $ac_file is unchanged" >&6;} 17970 else 17971 rm -f "$ac_file" 17972 mv "$ac_tmp/config.h" "$ac_file" \ 17973 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17974 fi 17975 else 17976 $as_echo "/* $configure_input */" \ 17977 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 17978 || as_fn_error $? "could not create -" "$LINENO" 5 17979 fi 17980# Compute "$ac_file"'s index in $config_headers. 17981_am_arg="$ac_file" 17982_am_stamp_count=1 17983for _am_header in $config_headers :; do 17984 case $_am_header in 17985 $_am_arg | $_am_arg:* ) 17986 break ;; 17987 * ) 17988 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 17989 esac 17990done 17991echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 17992$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17993 X"$_am_arg" : 'X\(//\)[^/]' \| \ 17994 X"$_am_arg" : 'X\(//\)$' \| \ 17995 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 17996$as_echo X"$_am_arg" | 17997 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17998 s//\1/ 17999 q 18000 } 18001 /^X\(\/\/\)[^/].*/{ 18002 s//\1/ 18003 q 18004 } 18005 /^X\(\/\/\)$/{ 18006 s//\1/ 18007 q 18008 } 18009 /^X\(\/\).*/{ 18010 s//\1/ 18011 q 18012 } 18013 s/.*/./; q'`/stamp-h$_am_stamp_count 18014 ;; 18015 18016 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 18017$as_echo "$as_me: executing $ac_file commands" >&6;} 18018 ;; 18019 esac 18020 18021 18022 case $ac_file$ac_mode in 18023 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 18024 # Older Autoconf quotes --file arguments for eval, but not when files 18025 # are listed without --file. Let's play safe and only enable the eval 18026 # if we detect the quoting. 18027 case $CONFIG_FILES in 18028 *\'*) eval set x "$CONFIG_FILES" ;; 18029 *) set x $CONFIG_FILES ;; 18030 esac 18031 shift 18032 for mf 18033 do 18034 # Strip MF so we end up with the name of the file. 18035 mf=`echo "$mf" | sed -e 's/:.*$//'` 18036 # Check whether this is an Automake generated Makefile or not. 18037 # We used to match only the files named 'Makefile.in', but 18038 # some people rename them; so instead we look at the file content. 18039 # Grep'ing the first line is not enough: some people post-process 18040 # each Makefile.in and add a new line on top of each file to say so. 18041 # Grep'ing the whole file is not good either: AIX grep has a line 18042 # limit of 2048, but all sed's we know have understand at least 4000. 18043 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 18044 dirpart=`$as_dirname -- "$mf" || 18045$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18046 X"$mf" : 'X\(//\)[^/]' \| \ 18047 X"$mf" : 'X\(//\)$' \| \ 18048 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 18049$as_echo X"$mf" | 18050 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18051 s//\1/ 18052 q 18053 } 18054 /^X\(\/\/\)[^/].*/{ 18055 s//\1/ 18056 q 18057 } 18058 /^X\(\/\/\)$/{ 18059 s//\1/ 18060 q 18061 } 18062 /^X\(\/\).*/{ 18063 s//\1/ 18064 q 18065 } 18066 s/.*/./; q'` 18067 else 18068 continue 18069 fi 18070 # Extract the definition of DEPDIR, am__include, and am__quote 18071 # from the Makefile without running 'make'. 18072 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 18073 test -z "$DEPDIR" && continue 18074 am__include=`sed -n 's/^am__include = //p' < "$mf"` 18075 test -z "$am__include" && continue 18076 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 18077 # Find all dependency output files, they are included files with 18078 # $(DEPDIR) in their names. We invoke sed twice because it is the 18079 # simplest approach to changing $(DEPDIR) to its actual value in the 18080 # expansion. 18081 for file in `sed -n " 18082 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 18083 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 18084 # Make sure the directory exists. 18085 test -f "$dirpart/$file" && continue 18086 fdir=`$as_dirname -- "$file" || 18087$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18088 X"$file" : 'X\(//\)[^/]' \| \ 18089 X"$file" : 'X\(//\)$' \| \ 18090 X"$file" : 'X\(/\)' \| . 2>/dev/null || 18091$as_echo X"$file" | 18092 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18093 s//\1/ 18094 q 18095 } 18096 /^X\(\/\/\)[^/].*/{ 18097 s//\1/ 18098 q 18099 } 18100 /^X\(\/\/\)$/{ 18101 s//\1/ 18102 q 18103 } 18104 /^X\(\/\).*/{ 18105 s//\1/ 18106 q 18107 } 18108 s/.*/./; q'` 18109 as_dir=$dirpart/$fdir; as_fn_mkdir_p 18110 # echo "creating $dirpart/$file" 18111 echo '# dummy' > "$dirpart/$file" 18112 done 18113 done 18114} 18115 ;; 18116 "libtool":C) 18117 18118 # See if we are running on zsh, and set the options which allow our 18119 # commands through without removal of \ escapes. 18120 if test -n "${ZSH_VERSION+set}" ; then 18121 setopt NO_GLOB_SUBST 18122 fi 18123 18124 cfgfile="${ofile}T" 18125 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 18126 $RM "$cfgfile" 18127 18128 cat <<_LT_EOF >> "$cfgfile" 18129#! $SHELL 18130 18131# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 18132# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 18133# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 18134# NOTE: Changes made to this file will be lost: look at ltmain.sh. 18135# 18136# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 18137# 2006, 2007, 2008, 2009, 2010, 2011 Free Software 18138# Foundation, Inc. 18139# Written by Gordon Matzigkeit, 1996 18140# 18141# This file is part of GNU Libtool. 18142# 18143# GNU Libtool is free software; you can redistribute it and/or 18144# modify it under the terms of the GNU General Public License as 18145# published by the Free Software Foundation; either version 2 of 18146# the License, or (at your option) any later version. 18147# 18148# As a special exception to the GNU General Public License, 18149# if you distribute this file as part of a program or library that 18150# is built using GNU Libtool, you may include this file under the 18151# same distribution terms that you use for the rest of that program. 18152# 18153# GNU Libtool is distributed in the hope that it will be useful, 18154# but WITHOUT ANY WARRANTY; without even the implied warranty of 18155# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18156# GNU General Public License for more details. 18157# 18158# You should have received a copy of the GNU General Public License 18159# along with GNU Libtool; see the file COPYING. If not, a copy 18160# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 18161# obtained by writing to the Free Software Foundation, Inc., 18162# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 18163 18164 18165# The names of the tagged configurations supported by this script. 18166available_tags="" 18167 18168# ### BEGIN LIBTOOL CONFIG 18169 18170# Which release of libtool.m4 was used? 18171macro_version=$macro_version 18172macro_revision=$macro_revision 18173 18174# Assembler program. 18175AS=$lt_AS 18176 18177# DLL creation program. 18178DLLTOOL=$lt_DLLTOOL 18179 18180# Object dumper program. 18181OBJDUMP=$lt_OBJDUMP 18182 18183# Whether or not to build static libraries. 18184build_old_libs=$enable_static 18185 18186# Whether or not to build shared libraries. 18187build_libtool_libs=$enable_shared 18188 18189# What type of objects to build. 18190pic_mode=$pic_mode 18191 18192# Whether or not to optimize for fast installation. 18193fast_install=$enable_fast_install 18194 18195# Shell to use when invoking shell scripts. 18196SHELL=$lt_SHELL 18197 18198# An echo program that protects backslashes. 18199ECHO=$lt_ECHO 18200 18201# The PATH separator for the build system. 18202PATH_SEPARATOR=$lt_PATH_SEPARATOR 18203 18204# The host system. 18205host_alias=$host_alias 18206host=$host 18207host_os=$host_os 18208 18209# The build system. 18210build_alias=$build_alias 18211build=$build 18212build_os=$build_os 18213 18214# A sed program that does not truncate output. 18215SED=$lt_SED 18216 18217# Sed that helps us avoid accidentally triggering echo(1) options like -n. 18218Xsed="\$SED -e 1s/^X//" 18219 18220# A grep program that handles long lines. 18221GREP=$lt_GREP 18222 18223# An ERE matcher. 18224EGREP=$lt_EGREP 18225 18226# A literal string matcher. 18227FGREP=$lt_FGREP 18228 18229# A BSD- or MS-compatible name lister. 18230NM=$lt_NM 18231 18232# Whether we need soft or hard links. 18233LN_S=$lt_LN_S 18234 18235# What is the maximum length of a command? 18236max_cmd_len=$max_cmd_len 18237 18238# Object file suffix (normally "o"). 18239objext=$ac_objext 18240 18241# Executable file suffix (normally ""). 18242exeext=$exeext 18243 18244# whether the shell understands "unset". 18245lt_unset=$lt_unset 18246 18247# turn spaces into newlines. 18248SP2NL=$lt_lt_SP2NL 18249 18250# turn newlines into spaces. 18251NL2SP=$lt_lt_NL2SP 18252 18253# convert \$build file names to \$host format. 18254to_host_file_cmd=$lt_cv_to_host_file_cmd 18255 18256# convert \$build files to toolchain format. 18257to_tool_file_cmd=$lt_cv_to_tool_file_cmd 18258 18259# Method to check whether dependent libraries are shared objects. 18260deplibs_check_method=$lt_deplibs_check_method 18261 18262# Command to use when deplibs_check_method = "file_magic". 18263file_magic_cmd=$lt_file_magic_cmd 18264 18265# How to find potential files when deplibs_check_method = "file_magic". 18266file_magic_glob=$lt_file_magic_glob 18267 18268# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 18269want_nocaseglob=$lt_want_nocaseglob 18270 18271# Command to associate shared and link libraries. 18272sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 18273 18274# The archiver. 18275AR=$lt_AR 18276 18277# Flags to create an archive. 18278AR_FLAGS=$lt_AR_FLAGS 18279 18280# How to feed a file listing to the archiver. 18281archiver_list_spec=$lt_archiver_list_spec 18282 18283# A symbol stripping program. 18284STRIP=$lt_STRIP 18285 18286# Commands used to install an old-style archive. 18287RANLIB=$lt_RANLIB 18288old_postinstall_cmds=$lt_old_postinstall_cmds 18289old_postuninstall_cmds=$lt_old_postuninstall_cmds 18290 18291# Whether to use a lock for old archive extraction. 18292lock_old_archive_extraction=$lock_old_archive_extraction 18293 18294# A C compiler. 18295LTCC=$lt_CC 18296 18297# LTCC compiler flags. 18298LTCFLAGS=$lt_CFLAGS 18299 18300# Take the output of nm and produce a listing of raw symbols and C names. 18301global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 18302 18303# Transform the output of nm in a proper C declaration. 18304global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 18305 18306# Transform the output of nm in a C name address pair. 18307global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 18308 18309# Transform the output of nm in a C name address pair when lib prefix is needed. 18310global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 18311 18312# Specify filename containing input files for \$NM. 18313nm_file_list_spec=$lt_nm_file_list_spec 18314 18315# The root where to search for dependent libraries,and in which our libraries should be installed. 18316lt_sysroot=$lt_sysroot 18317 18318# The name of the directory that contains temporary libtool files. 18319objdir=$objdir 18320 18321# Used to examine libraries when file_magic_cmd begins with "file". 18322MAGIC_CMD=$MAGIC_CMD 18323 18324# Must we lock files when doing compilation? 18325need_locks=$lt_need_locks 18326 18327# Manifest tool. 18328MANIFEST_TOOL=$lt_MANIFEST_TOOL 18329 18330# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 18331DSYMUTIL=$lt_DSYMUTIL 18332 18333# Tool to change global to local symbols on Mac OS X. 18334NMEDIT=$lt_NMEDIT 18335 18336# Tool to manipulate fat objects and archives on Mac OS X. 18337LIPO=$lt_LIPO 18338 18339# ldd/readelf like tool for Mach-O binaries on Mac OS X. 18340OTOOL=$lt_OTOOL 18341 18342# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 18343OTOOL64=$lt_OTOOL64 18344 18345# Old archive suffix (normally "a"). 18346libext=$libext 18347 18348# Shared library suffix (normally ".so"). 18349shrext_cmds=$lt_shrext_cmds 18350 18351# The commands to extract the exported symbol list from a shared archive. 18352extract_expsyms_cmds=$lt_extract_expsyms_cmds 18353 18354# Variables whose values should be saved in libtool wrapper scripts and 18355# restored at link time. 18356variables_saved_for_relink=$lt_variables_saved_for_relink 18357 18358# Do we need the "lib" prefix for modules? 18359need_lib_prefix=$need_lib_prefix 18360 18361# Do we need a version for libraries? 18362need_version=$need_version 18363 18364# Library versioning type. 18365version_type=$version_type 18366 18367# Shared library runtime path variable. 18368runpath_var=$runpath_var 18369 18370# Shared library path variable. 18371shlibpath_var=$shlibpath_var 18372 18373# Is shlibpath searched before the hard-coded library search path? 18374shlibpath_overrides_runpath=$shlibpath_overrides_runpath 18375 18376# Format of library name prefix. 18377libname_spec=$lt_libname_spec 18378 18379# List of archive names. First name is the real one, the rest are links. 18380# The last name is the one that the linker finds with -lNAME 18381library_names_spec=$lt_library_names_spec 18382 18383# The coded name of the library, if different from the real name. 18384soname_spec=$lt_soname_spec 18385 18386# Permission mode override for installation of shared libraries. 18387install_override_mode=$lt_install_override_mode 18388 18389# Command to use after installation of a shared archive. 18390postinstall_cmds=$lt_postinstall_cmds 18391 18392# Command to use after uninstallation of a shared archive. 18393postuninstall_cmds=$lt_postuninstall_cmds 18394 18395# Commands used to finish a libtool library installation in a directory. 18396finish_cmds=$lt_finish_cmds 18397 18398# As "finish_cmds", except a single script fragment to be evaled but 18399# not shown. 18400finish_eval=$lt_finish_eval 18401 18402# Whether we should hardcode library paths into libraries. 18403hardcode_into_libs=$hardcode_into_libs 18404 18405# Compile-time system search path for libraries. 18406sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 18407 18408# Run-time system search path for libraries. 18409sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 18410 18411# Whether dlopen is supported. 18412dlopen_support=$enable_dlopen 18413 18414# Whether dlopen of programs is supported. 18415dlopen_self=$enable_dlopen_self 18416 18417# Whether dlopen of statically linked programs is supported. 18418dlopen_self_static=$enable_dlopen_self_static 18419 18420# Commands to strip libraries. 18421old_striplib=$lt_old_striplib 18422striplib=$lt_striplib 18423 18424 18425# The linker used to build libraries. 18426LD=$lt_LD 18427 18428# How to create reloadable object files. 18429reload_flag=$lt_reload_flag 18430reload_cmds=$lt_reload_cmds 18431 18432# Commands used to build an old-style archive. 18433old_archive_cmds=$lt_old_archive_cmds 18434 18435# A language specific compiler. 18436CC=$lt_compiler 18437 18438# Is the compiler the GNU compiler? 18439with_gcc=$GCC 18440 18441# Compiler flag to turn off builtin functions. 18442no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 18443 18444# Additional compiler flags for building library objects. 18445pic_flag=$lt_lt_prog_compiler_pic 18446 18447# How to pass a linker flag through the compiler. 18448wl=$lt_lt_prog_compiler_wl 18449 18450# Compiler flag to prevent dynamic linking. 18451link_static_flag=$lt_lt_prog_compiler_static 18452 18453# Does compiler simultaneously support -c and -o options? 18454compiler_c_o=$lt_lt_cv_prog_compiler_c_o 18455 18456# Whether or not to add -lc for building shared libraries. 18457build_libtool_need_lc=$archive_cmds_need_lc 18458 18459# Whether or not to disallow shared libs when runtime libs are static. 18460allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 18461 18462# Compiler flag to allow reflexive dlopens. 18463export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 18464 18465# Compiler flag to generate shared objects directly from archives. 18466whole_archive_flag_spec=$lt_whole_archive_flag_spec 18467 18468# Whether the compiler copes with passing no objects directly. 18469compiler_needs_object=$lt_compiler_needs_object 18470 18471# Create an old-style archive from a shared archive. 18472old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 18473 18474# Create a temporary old-style archive to link instead of a shared archive. 18475old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 18476 18477# Commands used to build a shared archive. 18478archive_cmds=$lt_archive_cmds 18479archive_expsym_cmds=$lt_archive_expsym_cmds 18480 18481# Commands used to build a loadable module if different from building 18482# a shared archive. 18483module_cmds=$lt_module_cmds 18484module_expsym_cmds=$lt_module_expsym_cmds 18485 18486# Whether we are building with GNU ld or not. 18487with_gnu_ld=$lt_with_gnu_ld 18488 18489# Flag that allows shared libraries with undefined symbols to be built. 18490allow_undefined_flag=$lt_allow_undefined_flag 18491 18492# Flag that enforces no undefined symbols. 18493no_undefined_flag=$lt_no_undefined_flag 18494 18495# Flag to hardcode \$libdir into a binary during linking. 18496# This must work even if \$libdir does not exist 18497hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 18498 18499# Whether we need a single "-rpath" flag with a separated argument. 18500hardcode_libdir_separator=$lt_hardcode_libdir_separator 18501 18502# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 18503# DIR into the resulting binary. 18504hardcode_direct=$hardcode_direct 18505 18506# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 18507# DIR into the resulting binary and the resulting library dependency is 18508# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 18509# library is relocated. 18510hardcode_direct_absolute=$hardcode_direct_absolute 18511 18512# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 18513# into the resulting binary. 18514hardcode_minus_L=$hardcode_minus_L 18515 18516# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 18517# into the resulting binary. 18518hardcode_shlibpath_var=$hardcode_shlibpath_var 18519 18520# Set to "yes" if building a shared library automatically hardcodes DIR 18521# into the library and all subsequent libraries and executables linked 18522# against it. 18523hardcode_automatic=$hardcode_automatic 18524 18525# Set to yes if linker adds runtime paths of dependent libraries 18526# to runtime path list. 18527inherit_rpath=$inherit_rpath 18528 18529# Whether libtool must link a program against all its dependency libraries. 18530link_all_deplibs=$link_all_deplibs 18531 18532# Set to "yes" if exported symbols are required. 18533always_export_symbols=$always_export_symbols 18534 18535# The commands to list exported symbols. 18536export_symbols_cmds=$lt_export_symbols_cmds 18537 18538# Symbols that should not be listed in the preloaded symbols. 18539exclude_expsyms=$lt_exclude_expsyms 18540 18541# Symbols that must always be exported. 18542include_expsyms=$lt_include_expsyms 18543 18544# Commands necessary for linking programs (against libraries) with templates. 18545prelink_cmds=$lt_prelink_cmds 18546 18547# Commands necessary for finishing linking programs. 18548postlink_cmds=$lt_postlink_cmds 18549 18550# Specify filename containing input files. 18551file_list_spec=$lt_file_list_spec 18552 18553# How to hardcode a shared library path into an executable. 18554hardcode_action=$hardcode_action 18555 18556# ### END LIBTOOL CONFIG 18557 18558_LT_EOF 18559 18560 case $host_os in 18561 aix3*) 18562 cat <<\_LT_EOF >> "$cfgfile" 18563# AIX sometimes has problems with the GCC collect2 program. For some 18564# reason, if we set the COLLECT_NAMES environment variable, the problems 18565# vanish in a puff of smoke. 18566if test "X${COLLECT_NAMES+set}" != Xset; then 18567 COLLECT_NAMES= 18568 export COLLECT_NAMES 18569fi 18570_LT_EOF 18571 ;; 18572 esac 18573 18574 18575ltmain="$ac_aux_dir/ltmain.sh" 18576 18577 18578 # We use sed instead of cat because bash on DJGPP gets confused if 18579 # if finds mixed CR/LF and LF-only lines. Since sed operates in 18580 # text mode, it properly converts lines to CR/LF. This bash problem 18581 # is reportedly fixed, but why not run on old versions too? 18582 sed '$q' "$ltmain" >> "$cfgfile" \ 18583 || (rm -f "$cfgfile"; exit 1) 18584 18585 if test x"$xsi_shell" = xyes; then 18586 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 18587func_dirname ()\ 18588{\ 18589\ case ${1} in\ 18590\ */*) func_dirname_result="${1%/*}${2}" ;;\ 18591\ * ) func_dirname_result="${3}" ;;\ 18592\ esac\ 18593} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 18594 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18595 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18596test 0 -eq $? || _lt_function_replace_fail=: 18597 18598 18599 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 18600func_basename ()\ 18601{\ 18602\ func_basename_result="${1##*/}"\ 18603} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 18604 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18605 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18606test 0 -eq $? || _lt_function_replace_fail=: 18607 18608 18609 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 18610func_dirname_and_basename ()\ 18611{\ 18612\ case ${1} in\ 18613\ */*) func_dirname_result="${1%/*}${2}" ;;\ 18614\ * ) func_dirname_result="${3}" ;;\ 18615\ esac\ 18616\ func_basename_result="${1##*/}"\ 18617} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 18618 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18619 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18620test 0 -eq $? || _lt_function_replace_fail=: 18621 18622 18623 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 18624func_stripname ()\ 18625{\ 18626\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 18627\ # positional parameters, so assign one to ordinary parameter first.\ 18628\ func_stripname_result=${3}\ 18629\ func_stripname_result=${func_stripname_result#"${1}"}\ 18630\ func_stripname_result=${func_stripname_result%"${2}"}\ 18631} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 18632 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18633 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18634test 0 -eq $? || _lt_function_replace_fail=: 18635 18636 18637 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 18638func_split_long_opt ()\ 18639{\ 18640\ func_split_long_opt_name=${1%%=*}\ 18641\ func_split_long_opt_arg=${1#*=}\ 18642} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 18643 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18644 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18645test 0 -eq $? || _lt_function_replace_fail=: 18646 18647 18648 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 18649func_split_short_opt ()\ 18650{\ 18651\ func_split_short_opt_arg=${1#??}\ 18652\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 18653} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 18654 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18655 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18656test 0 -eq $? || _lt_function_replace_fail=: 18657 18658 18659 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 18660func_lo2o ()\ 18661{\ 18662\ case ${1} in\ 18663\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 18664\ *) func_lo2o_result=${1} ;;\ 18665\ esac\ 18666} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 18667 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18668 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18669test 0 -eq $? || _lt_function_replace_fail=: 18670 18671 18672 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 18673func_xform ()\ 18674{\ 18675 func_xform_result=${1%.*}.lo\ 18676} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 18677 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18678 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18679test 0 -eq $? || _lt_function_replace_fail=: 18680 18681 18682 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 18683func_arith ()\ 18684{\ 18685 func_arith_result=$(( $* ))\ 18686} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 18687 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18688 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18689test 0 -eq $? || _lt_function_replace_fail=: 18690 18691 18692 sed -e '/^func_len ()$/,/^} # func_len /c\ 18693func_len ()\ 18694{\ 18695 func_len_result=${#1}\ 18696} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 18697 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18698 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18699test 0 -eq $? || _lt_function_replace_fail=: 18700 18701fi 18702 18703if test x"$lt_shell_append" = xyes; then 18704 sed -e '/^func_append ()$/,/^} # func_append /c\ 18705func_append ()\ 18706{\ 18707 eval "${1}+=\\${2}"\ 18708} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 18709 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18710 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18711test 0 -eq $? || _lt_function_replace_fail=: 18712 18713 18714 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 18715func_append_quoted ()\ 18716{\ 18717\ func_quote_for_eval "${2}"\ 18718\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 18719} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 18720 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18721 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18722test 0 -eq $? || _lt_function_replace_fail=: 18723 18724 18725 # Save a `func_append' function call where possible by direct use of '+=' 18726 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 18727 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18728 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18729 test 0 -eq $? || _lt_function_replace_fail=: 18730else 18731 # Save a `func_append' function call even when '+=' is not available 18732 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 18733 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18734 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18735 test 0 -eq $? || _lt_function_replace_fail=: 18736fi 18737 18738if test x"$_lt_function_replace_fail" = x":"; then 18739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 18740$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 18741fi 18742 18743 18744 mv -f "$cfgfile" "$ofile" || 18745 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 18746 chmod +x "$ofile" 18747 18748 ;; 18749 18750 esac 18751done # for ac_tag 18752 18753 18754as_fn_exit 0 18755_ACEOF 18756ac_clean_files=$ac_clean_files_save 18757 18758test $ac_write_fail = 0 || 18759 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 18760 18761 18762# configure is writing to config.log, and then calls config.status. 18763# config.status does its own redirection, appending to config.log. 18764# Unfortunately, on DOS this fails, as config.log is still kept open 18765# by configure, so config.status won't be able to write to it; its 18766# output is simply discarded. So we exec the FD to /dev/null, 18767# effectively closing config.log, so it can be properly (re)opened and 18768# appended to by config.status. When coming back to configure, we 18769# need to make the FD available again. 18770if test "$no_create" != yes; then 18771 ac_cs_success=: 18772 ac_config_status_args= 18773 test "$silent" = yes && 18774 ac_config_status_args="$ac_config_status_args --quiet" 18775 exec 5>/dev/null 18776 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 18777 exec 5>>config.log 18778 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 18779 # would make configure fail if this is the last instruction. 18780 $ac_cs_success || as_fn_exit 1 18781fi 18782if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 18783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 18784$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 18785fi 18786 18787 18788echo "GNonLin configured. Type 'make' to build." 18789